diff --git a/.dockerignore b/.dockerignore index d8857edf91..6b8710a711 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,8 +1 @@ -.bingo -!.bingo/*.mod -!.bingo/Variables.mk .git -**/bin -**/node_modules -**/tmp -docs diff --git a/Dockerfile.minimal b/Dockerfile.minimal new file mode 100644 index 0000000000..4c1862336a --- /dev/null +++ b/Dockerfile.minimal @@ -0,0 +1,37 @@ +# Minimal test: identical to official 7.1.0, only "kosmos" edition +FROM quay.io/opencloudeu/nodejs-ci:24 AS generate +COPY ./ /opencloud/ +WORKDIR /opencloud +RUN mkdir -p services/web/assets/core && \ + curl --fail -sL -o- https://github.com/opencloud-eu/web/releases/download/v7.1.0/web.tar.gz | tar xzf - -C services/web/assets/core/ +RUN git init && \ + for mod in services/activitylog services/graph services/idp services/notifications services/settings services/userlog; do \ + echo "=== $mod ===" && make -C $mod node-generate-prod || true; \ + done + +FROM docker.io/golang:1.26-alpine AS build +RUN apk add bash make git curl gcc musl-dev libc-dev binutils-gold inotify-tools vips-dev +COPY --from=generate /opencloud /opencloud +WORKDIR /opencloud +RUN cd opencloud && \ + EDITION=rolling make go-generate build ENABLE_VIPS=true + +FROM docker.io/amd64/alpine:3.21 +RUN apk add --no-cache attr bash ca-certificates curl inotify-tools libc6-compat mailcap tree vips patch && \ + echo 'hosts: files dns' >| /etc/nsswitch.conf +RUN addgroup -g 1000 -S opencloud-group && \ + adduser -S --ingroup opencloud-group --uid 1000 opencloud-user --home /var/lib/opencloud +RUN mkdir -p /var/lib/opencloud && \ + mkdir -p /var/lib/opencloud/web/assets/apps && \ + chown -R opencloud-user:opencloud-group /var/lib/opencloud && \ + chmod -R 751 /var/lib/opencloud && \ + mkdir -p /etc/opencloud && \ + chown -R opencloud-user:opencloud-group /etc/opencloud && \ + chmod -R 751 /etc/opencloud +VOLUME [ "/var/lib/opencloud", "/etc/opencloud" ] +WORKDIR /var/lib/opencloud +USER 1000 +EXPOSE 9200/tcp +ENTRYPOINT ["/usr/bin/opencloud"] +CMD ["server"] +COPY --from=build /opencloud/opencloud/bin/opencloud /usr/bin/opencloud diff --git a/Dockerfile.test b/Dockerfile.test new file mode 100644 index 0000000000..045cb2cda4 --- /dev/null +++ b/Dockerfile.test @@ -0,0 +1,56 @@ +# Stage 1: Node — generate IDP + embed custom web assets +FROM quay.io/opencloudeu/nodejs-ci:24 AS generate +COPY ./ /opencloud/ +WORKDIR /opencloud +COPY web-dist/ services/web/assets/core/ +RUN git init && \ + for mod in services/activitylog services/graph services/idp services/notifications services/settings services/userlog; do \ + echo "=== $mod ===" && make -C $mod node-generate-prod || true; \ + done + +# Stage 2: Go — build binary with custom reva (web assets get embedded) +FROM docker.io/golang:1.26-alpine AS build +RUN apk add bash make git curl gcc musl-dev libc-dev binutils-gold inotify-tools vips-dev +COPY --from=generate /opencloud /opencloud +COPY reva-src /data/source/gitapps/reva +COPY go-cs3apis-src /data/source/gitapps/cs3org/go-cs3apis +COPY warmup-robustness.patch /tmp/warmup-robustness.patch +RUN cd /data/source/gitapps/reva && git init && git add -A && git apply /tmp/warmup-robustness.patch +WORKDIR /opencloud +RUN echo 'replace github.com/opencloud-eu/reva/v2 => /data/source/gitapps/reva' >> go.mod && \ + echo 'replace github.com/cs3org/go-cs3apis => /data/source/gitapps/cs3org/go-cs3apis' >> go.mod && \ + go mod tidy && \ + go mod vendor && \ + cd opencloud && \ + EDITION=kosmos make go-generate release-linux-docker-amd64 ENABLE_VIPS=true DIST=/dist + +# Stage 3: Runtime +FROM docker.io/amd64/alpine:3.23 + +RUN apk add --no-cache attr bash ca-certificates curl imagemagick \ + inotify-tools libc6-compat mailcap tree vips \ + vips-magick patch && \ + echo 'hosts: files dns' >| /etc/nsswitch.conf + +RUN addgroup -g 1000 -S opencloud-group && \ + adduser -S --ingroup opencloud-group --uid 1000 opencloud-user --home /var/lib/opencloud + +RUN mkdir -p /var/lib/opencloud && \ + mkdir -p /var/lib/opencloud/web/assets/apps && \ + chown -R opencloud-user:opencloud-group /var/lib/opencloud && \ + chmod -R 751 /var/lib/opencloud && \ + mkdir -p /etc/opencloud && \ + chown -R opencloud-user:opencloud-group /etc/opencloud && \ + chmod -R 751 /etc/opencloud + +VOLUME [ "/var/lib/opencloud", "/etc/opencloud" ] +WORKDIR /var/lib/opencloud + +USER 1000 + +EXPOSE 9200/tcp + +ENTRYPOINT ["/usr/bin/opencloud"] +CMD ["server"] + +COPY --from=build /dist/binaries/opencloud-linux-amd64 /usr/bin/opencloud diff --git a/TASK_architecture.md b/TASK_architecture.md new file mode 100644 index 0000000000..1046b7930c --- /dev/null +++ b/TASK_architecture.md @@ -0,0 +1,60 @@ +# Architektur-Analyse: CS3, Reva, OpenCloud, ownCloud + +## Die Abhängigkeitskette + +``` +cs3org/cs3apis (CERN) ← Proto-Spec, 24 Permission-Felder + Immutable + ↓ (protoc generiert) +cs3org/go-cs3apis (CERN) ← Go-Bindings (regeneriert nach jedem Merge) + ↓ (go.mod import) +opencloud-eu/reva ← Fork von cs3org/reva, HAT decomposedfs + ↓ (vendor) +opencloud-eu/opencloud ← Backend (Go) + ↓ (API) +opencloud-eu/web ← Frontend (Vue.js/TypeScript) +``` + +## ownCloud vs. OpenCloud — harter Fork seit Januar 2025 + +Getrennte Teams, keine Code-Synchronisation. Unsere Arbeit geht ausschließlich in OpenCloud. + +## Upstream-PRs + +| PR | Repo | Status | +|----|------|--------| +| [#272](https://github.com/cs3org/cs3apis/pull/272) | cs3org/cs3apis | **MERGED** (4. Jun 2026) | +| [#5628](https://github.com/cs3org/reva/pull/5628) | cs3org/reva | Open (ACL-Encoding) | +| [#674](https://github.com/opencloud-eu/reva/pull/674) | opencloud-eu/reva | **Eingereicht** (go-cs3apis Update) | +| [#2841](https://github.com/opencloud-eu/opencloud/pull/2841) | opencloud-eu/opencloud | Open (EditorLitePlus) | + +## Implementierungs-Branches + +| Repo | Branch | Zweck | Wartet auf | +|------|--------|-------|------------| +| flash7777/reva | `chore/update-go-cs3apis` | PR #674: Housekeeping | Review | +| flash7777/reva | `feature/immutable-decomposedfs` | Feature: Immutable + Container-Perms | #674 Merge | +| flash7777/opencloud | `feature/immutable-and-container-permissions` | Graph API Actions | Reva Feature-PR | +| flash7777/opencloud | `feature/editor-light-role` | PR #2841: EditorLitePlus | Review | +| flash7777/web | `feature/immutable-ui` | Frontend Icons + Resource-Modell | Unabhängig | + +## Release-Strategie + +``` +cs3org/cs3apis#272 MERGED ✓ + ↓ +cs3org/go-cs3apis regeneriert ✓ (c3fdb0aa5e9e) + ↓ +PR 1: opencloud-eu/reva#674 — go-cs3apis Update + Stubs (eingereicht) + ↓ +PR 2: opencloud-eu/reva — Immutable + Container-Permissions (nach #674) + ↓ +PR 3: opencloud-eu/opencloud — Graph API Actions (nach Reva Release) + ↓ +PR 4: opencloud-eu/web — Frontend (unabhängig) +``` + +## GitHub Fork-Situation + +- `flash7777/reva` ist Fork von cs3org/reva (selbes Fork-Netzwerk wie opencloud-eu/reva → PRs möglich) +- `flash7777/reva-eu` ist eigenständiges Repo (keine PRs gegen opencloud-eu möglich) +- Token mit workflow Scope: `/data/source/gitapps/TOKEN_WF` diff --git a/TASK_deploy_kosmos.md b/TASK_deploy_kosmos.md new file mode 100644 index 0000000000..51ef4d9165 --- /dev/null +++ b/TASK_deploy_kosmos.md @@ -0,0 +1,269 @@ +# Kosmos Image: Deploy-Dokumentation + +## Ziel + +Custom OpenCloud-Image ("kosmos") basierend auf **v7.1.0 Tag** mit Immutable/Container-Permissions Feature. + +## Status: DEPLOYED auf cloud.brandis.eu + +Login ✅, Spaces ✅, Immutable-Permissions aktiv ✅ + +## Architektur + +``` +OpenCloud v7.1.0 (Tag) + + "kosmos" Edition (version.go) + + Labels-API Fix (follow.go: provider → labels Import) + + Reva v7.1.0-Pin (0e975e5456eb) + + go-cs3apis Update (cs3apis#272) + + Immutable Feature (DeleteContainer, MoveContainer, SetImmutable*) + + Web v7.1.0 + + Warmup-Patch (Issue #547, nur im Dockerfile) +``` + +Storage-Driver: **posix** (Wrapper um decomposedfs, Default seit 6.x) + +## Kritischer Build-Hinweis + +**`make release-linux-docker-amd64`** verwenden, NICHT `make build`! + +`make build` setzt keine `DOCKER_LDFLAGS` → falsche Pfadauflösung: +- `BaseDataPathType=homedir` statt `path` +- `BaseConfigPathType=homedir` statt `path` +- → Override-Config `/etc/opencloud/` wird ignoriert +- → Spaces, mount_id, Passwörter aus falscher Config + +Die `DOCKER_LDFLAGS` setzen: +``` +-X "pkg/config/defaults.BaseDataPathType=path" +-X "pkg/config/defaults.BaseDataPathValue=/var/lib/opencloud" +-X "pkg/config/defaults.BaseConfigPathType=path" +-X "pkg/config/defaults.BaseConfigPathValue=/etc/opencloud" +``` + +## Build + +### Voraussetzungen + +- Podman +- Branches: `build/kosmos-v7.1.0` in opencloud + reva + +### Befehle + +```bash +cd /data/source/gitapps/opencloud +git checkout build/kosmos-v7.1.0 + +cd /data/source/gitapps/reva +git checkout build/kosmos-v7.1.0 + +cd /data/source/gitapps/opencloud +rm -rf reva-src && cp -a /data/source/gitapps/reva reva-src +podman build -f Dockerfile.test -t opencloud-immutable:test . + +podman tag opencloud-immutable:test docker.io/flash7777pods/opencloud-kosmos:latest +podman push docker.io/flash7777pods/opencloud-kosmos:latest +``` + +### Dockerfile.test (3-Stage Build) + +1. **Node Stage**: IDP-Assets generieren + Web v7.1.0 Assets herunterladen +2. **Go Stage**: Reva-Replace + `go mod vendor` + Warmup-Patch (`git apply`) + `make release-linux-docker-amd64` +3. **Runtime Stage**: Alpine 3.23 (identisch zum offiziellen Image) + +## Upgrade-Pfad: 5.1.0 → Kosmos (v7.1.0-basiert) + +### Voraussetzungen + +- `yq` installiert: `curl -sL https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -o /usr/local/bin/yq && chmod +x /usr/local/bin/yq` +- Backup existiert +- **NIEMALS** `sed` oder `python yaml.dump` auf Config-Dateien! Immer `yq`! + +### Schritt 1: sharing service_account hinzufügen + +```bash +SA_ID=$(yq ".proxy.service_account.service_account_id" /data/config/opencloud.yaml) +SA_SEC=$(yq ".proxy.service_account.service_account_secret" /data/config/opencloud.yaml) + +for cfg in /data/config/opencloud.yaml /data/data/.opencloud/config/opencloud.yaml; do + yq -i ".sharing.service_account.service_account_id = \"$SA_ID\"" "$cfg" + yq -i ".sharing.service_account.service_account_secret = \"$SA_SEC\"" "$cfg" +done +``` + +### Schritt 2: banned-password-list.txt kopieren + +```bash +cp /data/config/banned-password-list.txt /data/data/.opencloud/config/banned-password-list.txt +# Falls nicht vorhanden: +touch /data/data/.opencloud/config/banned-password-list.txt +``` + +### Schritt 3: NATS SSE-Consumer aufräumen (optional) + +```bash +podman stop opencloud_full-opencloud-1 +rm -rf /data/data/.opencloud/nats/jetstream/'$G'/streams/main-queue/obs/sse-* +# NUR sse-* löschen! Reguläre Consumer behalten! +``` + +### Schritt 4: Warmup-ENVs in compose + +In `opencloud.yml` unter `environment:`: + +```yaml +STORAGE_USERS_POSIX_WARMUP_IGNORE_PERM_ERRORS: "true" +STORAGE_USERS_POSIX_WARMUP_RESPECT_OCIGNORE: "true" +STORAGE_USERS_POSIX_SCAN_FS: "true" +``` + +### Schritt 5: Deploy + +```bash +podman pull docker.io/flash7777pods/opencloud-kosmos:latest +podman tag docker.io/flash7777pods/opencloud-kosmos:latest opencloud-patched:latest + +# .env +OC_DOCKER_IMAGE=opencloud-patched +OC_DOCKER_TAG= + +podman compose up -d opencloud +``` + +### Rollback + +```bash +OC_DOCKER_IMAGE=opencloudeu/opencloud-rolling +OC_DOCKER_TAG=5.1.0 +podman compose up -d opencloud +``` + +## Bekannte Probleme + +### Dual-Config (Override vs Data) + +OpenCloud liest aus zwei YAML-Dateien: +- `/etc/opencloud/opencloud.yaml` (Override, von `/data/config/`) +- `/var/lib/opencloud/.opencloud/config/opencloud.yaml` (Data, von `/data/data/`) + +v7.1.0 bevorzugt konsistent die Override-Config. Wenn beide verschiedene Secrets haben (durch nachträgliches `opencloud init`), müssen sie synchronisiert werden. + +**Config-Dateien NUR mit `yq` editieren** — `sed` und `python yaml.dump` zerstören Sonderzeichen in Passwörtern! + +### btrfs read-only Snapshots (Issue #547) + +Warmup-Patch im Dockerfile umgeht das Problem: Walk-Errors werden geskippt, .ocignore respektiert, setDirty non-fatal. Betrifft auch offizielles 7.1.0. + +### main HEAD Breaking Changes (NICHT verwenden!) + +| Problem | Auswirkung | +|---------|------------| +| Config-Merge-Logik geändert | Services lesen Secrets aus verschiedenen Configs | +| IDM LDAPS→LDAP | Port 9235→9236, alte BoltDB-Passwörter inkompatibel | +| warmupSpaceRootCache fatal | Service startet nicht bei NATS-Problemen | + +## Neue Permissions (CS3 API) + +Aktiv auf Reva-Ebene, UI-Integration folgt: + +| Permission | Rollen | Zweck | +|-----------|--------|-------| +| DeleteContainer | Editor, SpaceEditor, Manager, Coowner | Ordner löschen (getrennt von Datei-Delete) | +| MoveContainer | Editor, SpaceEditor, Manager, Coowner | Ordner verschieben | +| SetImmutableFile | Manager, Coowner | Dateien einfrieren (irreversibel) | +| SetImmutableContainer | Manager, Coowner | Ordner schützen (reversibel) | + +## Immutable State UI + +Datenfluss: Reva xattr → `GetImmutableState()` → `oc:immutable` WebDAV Property → `resource.immutableState` + +### Quick Actions (Hover-Buttons in der Dateiliste) + +| Typ | State | Icon | Aktion | +|-----|-------|------|--------| +| Datei | normal | leaf (Blatt) | Klick → Freeze (mit Bestätigungsdialog, irreversibel!) | +| Datei | frozen | snowflake (Schneeflocke) | deaktiviert — permanent eingefroren | +| Datei | protected | shield-fill (volles Schild) | deaktiviert — Parent-Ordner geschützt | +| Ordner | normal | shield-line (leeres Schild) | Klick → Protect | +| Ordner | protected | shield-fill (volles Schild) | Klick → Unprotect | + +### Indicators (Badges neben dem Dateinamen) + +| State | Icon | Bedeutung | +|-------|------|-----------| +| frozen | snowflake | Datei ist permanent eingefroren | +| protected | shield-fill | Ordner/Datei ist geschützt | + +### Reva GetImmutableState Logik + +| Situation | State | +|-----------|-------| +| Datei mit `user.oc.immutable=1` | `frozen` | +| Ordner mit `user.oc.immutable=1` | `protected` | +| Kind eines immutable Ordners | `protected` | +| Normal | nicht gesetzt | + +ServiceAccount und Owner haben automatisch alle neuen Permissions. + +## Branches + +| Repo | Branch | Basis | Inhalt | +|------|--------|-------|--------| +| opencloud | `build/kosmos-v7.1.0` | Tag v7.1.0 | + kosmos Edition + Labels-Fix | +| reva | `build/kosmos-v7.1.0` | `0e975e5456eb` | + go-cs3apis + Immutable | +| reva | `feature/immutable-decomposedfs` | main HEAD | PR #676 | +| reva | `fix/warmup-non-fatal` | main HEAD | PR #678 | + +## PRs + +- **opencloud-eu/reva#676**: Immutable + Container-Perms (wartet auf Review, Tests + follow.go Hinweis ergänzt) +- **opencloud-eu/reva#678**: warmupSpaceRootCache non-fatal (separater Fix für main) +- **cs3org/cs3apis#272**: MERGED + +## Implementierungsstand + +### Fertig & getestet + +| Schicht | Feature | Status | +|---------|---------|--------| +| CS3 API | ResourcePermissions + Immutable Felder | ✅ cs3apis#272 MERGED | +| CS3 API | Gateway SetImmutable/UnsetImmutable | ⏳ cs3apis#275 (wartet auf Review) | +| Reva | Immutable xattr + Permission Checks | ✅ reva#676 (wartet auf Review) | +| Reva | warmupSpaceRootCache non-fatal | ✅ reva#678 | +| OpenCloud | Permission Actions (conversion.go) | ✅ kompiliert, Tests PASS | +| OpenCloud | Labels-Fix (follow.go) | ✅ kompiliert | +| OpenCloud | Metadata-Endpunkt (GET /metadata) | ✅ deployed, getestet mit oy.* Daten | +| OpenCloud | Freeze/Protect/Unprotect Endpunkte | ⏳ wartet auf cs3apis#275 | +| Web | MetadataPanel Sidebar-Tab | ✅ TypeScript kompiliert | +| Web | Immutable State via WebDAV PROPFIND | ✅ `oc:immutable` → `resource.immutableState` | +| Web | Quick Action Icons (leaf/snowflake/shield) | ✅ TypeScript kompiliert | +| Web | Indicator Badges (frozen/protected) | ✅ TypeScript kompiliert | + +### Branches + +| Repo | Branch | Tag | Inhalt | +|------|--------|-----|--------| +| opencloud | `build/kosmos-v7.1.0` | `working_immutable` | Deploy: Metadata + Permissions + Labels + Warmup | +| opencloud | `feature/immutable-graph-api` | - | PR-Vorbereitung: Graph API Actions + Endpunkte | +| reva | `build/kosmos-v7.1.0` | `working_immutable` | Deploy: go-cs3apis + Immutable Feature | +| reva | `feature/immutable-decomposedfs` | - | PR #676 | +| reva | `fix/warmup-non-fatal` | - | PR #678 | +| web | `feature/metadata-panel` | `working_metadata` | MetadataPanel + Immutable UI | +| cs3apis | `feat/gateway-immutable-rpc` | - | PR #275 | + +### PRs + +| PR | Repo | Status | +|----|------|--------| +| cs3apis#272 | cs3org/cs3apis | ✅ MERGED | +| cs3apis#275 | cs3org/cs3apis | ⏳ wartet auf Review | +| reva#676 | opencloud-eu/reva | ⏳ wartet auf Review | +| reva#678 | opencloud-eu/reva | ⏳ wartet auf Review | + +### Nächste Schritte + +1. cs3apis#275 + reva#676 Reviews abwarten +2. OpenCloud PR einreichen (nach Merges): go-cs3apis Bump + Graph API + freeze/protect Endpunkte +3. Web PR einreichen: MetadataPanel + Immutable UI +4. Web neu bauen und ins kosmos Image einbetten +5. Bleve-Fix als PR bei opencloud-eu/opencloud diff --git a/TASK_editonly.md b/TASK_editonly.md new file mode 100644 index 0000000000..1c96299308 --- /dev/null +++ b/TASK_editonly.md @@ -0,0 +1,41 @@ +# TASK: Granulare Container-Permissions (delete_container / move_container) + +> Upstream: [cs3org/cs3apis#272](https://github.com/cs3org/cs3apis/pull/272) — **MERGED** +> Reva Update: [opencloud-eu/reva#674](https://github.com/opencloud-eu/reva/pull/674) — eingereicht +> Feature-Branch: `flash7777/reva` branch `feature/immutable-decomposedfs` + +## Status + +- CS3 Proto: **MERGED** — Felder 21 (delete_container) + 22 (move_container) sind Standard +- go-cs3apis: **Regeneriert** — Felder verfügbar +- Reva go-cs3apis Update: **PR #674 eingereicht** — Housekeeping, wartet auf Review +- Feature-Implementierung: **Fertig im Branch** — wartet auf #674 Merge, dann rebase + PR + +## Was implementiert ist + +### decomposedfs Handler-Checks +- Delete: `DeleteContainer` Check für Verzeichnisse +- Move: `MoveContainer` Check für Verzeichnisse + +### Rollen +- Editor/SpaceEditor/SpaceEditorWithoutVersions: `DeleteContainer: true`, `MoveContainer: true` +- Coowner/Manager: `DeleteContainer: true`, `MoveContainer: true` +- Viewer/EditorLite/EditorLitePlus: kein DeleteContainer/MoveContainer + +### ACL-Encoding +- `+dc`/`!dc` (DeleteContainer), `+mc`/`!mc` (MoveContainer) +- Substring-Collision-Fix: `!dc` enthält `!d` +- 8 Tests für Encoding/Decoding + +### WebDAV +- `oc:permissions`: `D`/`NV` entfernt wenn immutable + +### Graph API (opencloud) +- Neue Actions: `driveItem/container/delete`, `driveItem/container/move` +- Bidirektionales Mapping in conversion.go + +## Nächste Schritte + +1. PR #674 mergen lassen +2. Feature-Branch rebasen +3. Feature-PR bei opencloud-eu/reva einreichen diff --git a/TASK_frozen.md b/TASK_frozen.md new file mode 100644 index 0000000000..6d516b85d7 --- /dev/null +++ b/TASK_frozen.md @@ -0,0 +1,89 @@ +# TASK: Immutable-Attribut (freeze / protect) + +> Upstream: [cs3org/cs3apis#272](https://github.com/cs3org/cs3apis/pull/272) — **MERGED** +> Konzept: [immutable-overview.md](/data/source/gitapps/immutable-overview.md) +> Feature-Branch: `flash7777/reva` branch `feature/immutable-decomposedfs` + +## Status + +- CS3 Proto: **MERGED** — Feld 20 (immutable), Felder 23+24 (set_immutable_file/container), RPCs +- go-cs3apis: **Regeneriert** — alle Felder + RPCs verfügbar +- Reva go-cs3apis Update: **PR #674 eingereicht** — Housekeeping, wartet auf Review +- Feature-Implementierung: **Fertig im Branch** — wartet auf #674 Merge +- GRPC-Handler: SetImmutable/UnsetImmutable in storageprovider + gateway implementiert + +## Konzept + +Ein Attribut pro Objekt (`user.oc.immutable`). Wirkung hängt vom Typ ab: + +### Datei — freeze +- Inhalt fixiert, kein Overwrite +- Kein Löschen, Umbenennen, Verschieben +- **Irreversibel** + +### Verzeichnis — protect +- Keine Einträge hinzufügen, entfernen oder modifizieren +- Kein Löschen, Umbenennen, Verschieben des Verzeichnisses +- **Reversibel** durch Manager/Admin +- Propagiert **NICHT** zu Kindern + +### Self vs. Parent → Effektiver State +| State | Bedeutung | Icon | +|-------|-----------|------| +| **Frozen** | Self-immutable | Shield filled | +| **Protected** | Parent-immutable | Shield outline | +| **None** | Weder self noch parent | — | + +### Lock vs. Protected vs. Frozen +| | Lock | Protected | Frozen | +|---|---|---|---| +| Zweck | Kollaboratives Editing | Strukturschutz | Inhaltsschutz | +| Dauer | Temporär | Bis Manager aufhebt | **Permanent** (Files) | +| Reversibel | Ja | Ja | **Nein** (Files) | + +## Was implementiert ist + +### Reva decomposedfs +- xattr: `user.oc.immutable` +- `ImmutableState` Enum: None (0), Protected (1), Frozen (2) +- Node: `IsImmutable()`, `GetImmutableState()`, `FreezeFile()`, `ProtectContainer()`, `UnprotectContainer()` +- Storage-Interface: `SetImmutable()`, `UnsetImmutable()` mit Permission-Checks +- Handler-Checks: Delete, Move, CreateDir, Upload — alle abgesichert +- Stat(): `ResourceInfo.Immutable` + Opaque `immutable-state` +- GRPC: SetImmutable/UnsetImmutable in storageprovider + gateway +- `OwnerPermissions()` + `AddPermissions()`: neue Felder +- ACL: `+if`/`+ic` Encoding für SetImmutableFile/SetImmutableContainer +- Legacy-Treiber: Stubs + +### WebDAV (ocdav) +- `oc:immutable`: neues Property (frozen/protected/absent) +- `oc:permissions`: D/NV entfernt wenn effektiv immutable +- Allprops + Named Property unterstützt + +### Graph API (opencloud) +- Neue Actions: `driveItem/immutable/file/set`, `driveItem/immutable/container/set` +- Mapping in conversion.go + +### Web Frontend +- `Resource.immutableState`: `'frozen' | 'protected' | undefined` +- `canBeDeleted()` / `canRename()`: return false wenn immutable +- FileDetails Sidebar: Shield-Icon (filled=frozen, outline=protected) + +### Permissions +- `set_immutable_file` (Feld 23): Dateien einfrieren (irreversibel) +- `set_immutable_container` (Feld 24): Verzeichnisse protecten (reversibel) +- Nur Coowner + Manager haben diese Permissions + +### Tests +- 6 Node-Tests (IsImmutable, GetImmutableState, Freeze, Protect, Unprotect, Parent-Regel) +- 7 Handler-Tests (Delete/Move/CreateDir/Upload frozen/protected, SetImmutable Permissions) +- 8 Grants-ACL-Tests (Encoding/Decoding + Substring-Collision) +- 2 pre-existierende Failures (UpdateGrant/DenyGrant ACL-Round-Trip — vorbestehender Bug) + +## Nächste Schritte + +1. PR #674 mergen lassen (go-cs3apis Update) +2. Feature-Branch auf #674 rebasen +3. Feature-PR bei opencloud-eu/reva einreichen +4. Graph API PR bei opencloud-eu/opencloud einreichen +5. Web Frontend PR bei opencloud-eu/web einreichen diff --git a/TASK_metadata_api.md b/TASK_metadata_api.md new file mode 100644 index 0000000000..e50bd45c84 --- /dev/null +++ b/TASK_metadata_api.md @@ -0,0 +1,72 @@ +# Custom Metadata API (oy.* / Aktenplan) + +## Ziel + +Aktenplan-Metadaten (`user.oc.md.oy.*`) über Graph API und WebDAV abrufbar machen, zur Nutzung im Web UI. + +## Ist-Zustand + +- xattrs auf Disk: `user.oc.md.oy.subject`, `user.oc.md.oy.created`, etc. ✅ +- Reva `node.AsResourceInfo()`: liest `user.oc.md.*` → `ArbitraryMetadata` map ✅ +- CS3 gRPC `Stat()`: liefert `ArbitraryMetadata` ✅ +- WebDAV PROPFIND: nur registrierte Namespaces (oc:, d:, libre.graph:), custom 404 ❌ +- Graph API DriveItem: nur Audio/Photo/Image/Location Facetten, kein generisches Custom-Properties ❌ +- Web Frontend: zeigt nur bekannte Facetten ❌ + +## Offene Fragen + +1. Filtert Reva die `oy.*` Keys aus dem ResourceInfo? + - `node.AsResourceInfo()` liest alle `user.oc.md.*` → sollte drin sein + - Aber: werden sie bei `ListContainer`/`Stat` durchgereicht oder rausgefiltert? + - Prüfen: `arbitrary_metadata_keys` Parameter — muss `*` oder `oy.*` enthalten + +2. WebDAV PROPFIND Fallback-Handler (propfind.go:1729-1738): + - Existiert für unbekannte Namespaces + - Warum 404? Namespace-Registrierung nötig? Oder Request-Format falsch? + +3. Eigene Abfrage `resourceMeta` sinnvoll? + - Statt alles in ResourceInfo zu packen, separate RPC für Metadaten + - Vorteil: keine Verschmutzung der Standard-Responses + - Nachteil: extra Round-Trip + +## Ansätze + +### A) WebDAV erweitern + +In Reva propfind.go einen neuen Property-Namespace registrieren: +``` +Namespace: "http://openyard.eu/ns" +Prefix: "oy" +``` + +Dann: ``, ``, etc. in PROPFIND Responses. + +### B) Graph API erweitern + +In libre-graph-api-go: `CustomProperties map[string]string` auf DriveItem. +OpenCloud Graph Service: `ArbitraryMetadata` → `CustomProperties` mappen. + +### C) Beides (empfohlen) + +WebDAV für Desktop-Clients, Graph API für Web UI. + +## Beispiel-Metadaten (Aktenplan) + +``` +oy.subject = "2015-11-25 Hochdruckreiniger" +oy.created = "2016-02-17T12:35:00" +oy.creatorId = "{95760e8e-...}" +oy.creatorName = "Kögler, Kristin" +oy.fullPath = "99 Archikart DMS|Facility Management|..." +oy.lastUpdated = "2016-02-17T12:35:00" +oy.version = "1" +oy.status = "1" +oy.configName = "Migration" +``` + +## Abhängigkeiten + +- Unabhängig von Immutable-Feature +- libre-graph-api-go PR für DriveItem.CustomProperties +- Reva propfind.go für WebDAV Namespace +- Web Frontend Metadaten-Panel diff --git a/TASK_roles_config.md b/TASK_roles_config.md new file mode 100644 index 0000000000..5bcd3d6d06 --- /dev/null +++ b/TASK_roles_config.md @@ -0,0 +1,34 @@ +# TASK: EditorLitePlus Rolle + Rollen-Strategie + +## Status + +- **EditorLitePlus**: PR [opencloud-eu/opencloud#2841](https://github.com/opencloud-eu/opencloud/pull/2841) — offen, unabhängig von Upstream +- **Container-Permissions + Immutable**: Fertig im Branch, wartet auf reva#674 Merge + +## EditorLitePlus — sofort verfügbar + +Neue Sharing-Rolle: Bearbeiten ohne Löschen. Nutzt nur bestehende CS3 Permissions. + +| Rolle | Download | Upload | Edit | Create | Delete | Move | +|-------|----------|--------|------|--------|--------|------| +| Viewer | x | - | - | - | - | - | +| EditorLite | x | x | - | x | - | x | +| **EditorLitePlus** | **x** | **x** | **x** | **x** | **-** | **x** | +| Editor | x | x | x | x | x | x | + +Explizit ausgeschlossen: `Delete`, `PurgeRecycle`, `ListRecycle`, `RestoreRecycleItem`. + +## Rollen nach Container-Permissions (nach reva#674 + Feature-PR) + +| Rolle | Delete (Files) | DeleteContainer | MoveContainer | SetImmutableFile | SetImmutableContainer | +|-------|:-:|:-:|:-:|:-:|:-:| +| Viewer | - | - | - | - | - | +| EditorLite | - | - | - | - | - | +| EditorLitePlus | - | - | - | - | - | +| Editor | x | **x** | **x** | - | - | +| Manager | x | **x** | **x** | **x** | **x** | + +## Nächste Schritte + +1. EditorLitePlus (#2841): Review abwarten — unabhängig +2. Container-Permissions: nach reva Feature-PR Merge → opencloud vendor bumpen diff --git a/TASK_treeview.md b/TASK_treeview.md new file mode 100644 index 0000000000..9ea3d013ef --- /dev/null +++ b/TASK_treeview.md @@ -0,0 +1,107 @@ +# Feature: Treeview Ansichtsmodus + +## Ziel + +Vierter Ansichtsmodus für die Dateiliste: hierarchischer Baum mit Collapse/Expand, Lazy-Loading der Kinder-Ebenen. + +## Motivation + +- Aktenplan-Strukturen haben tiefe Hierarchien (5-10 Ebenen) +- Protected/Shielded Status auf einen Blick über mehrere Ebenen sichtbar +- Windows-Explorer Vertrautheit für Ex-Windows-Nutzer +- Schnelle Navigation ohne ständiges Verzeichniswechseln + +## Konzept + +### Ansicht + +``` +▼ 📁 99 Archikart DMS 🛡 protected + ▼ 📁 Friedhofsverwaltung 🛡 shielded + ▶ 📁 Mail 🛡 shielded + ▶ 📁 Verträge 🛡 shielded + ▼ 📁 Grabstellen 🛡 shielded + 📄 Register.xlsx ❄️ frozen + 📄 Plan_2024.pdf 🍃 normal + ▶ 📁 Liegenschaften 🛡 shielded + ▶ 📁 Ordnungswidrigkeiten 🛡 shielded +▶ 📁 Aufgaben2 +▶ 📁 Bibliothek +``` + +### Verhalten + +- **Collapse/Expand**: Klick auf ▶/▼ Toggle +- **Lazy Loading**: Kinder werden erst beim Expand geladen (PROPFIND Depth:1) +- **Expand All / Collapse All**: Toolbar-Buttons +- **Selektion**: Klick auf Name → Detail-Panel, Doppelklick → Navigieren (wie bisher) +- **Context Menu**: Rechtsklick → gleiche Actions wie in anderen Views +- **Quick Actions**: Hover-Buttons (Protect/Freeze) an jeder Zeile +- **Immutable Icons**: Shield/Snowflake/Leaf direkt in der Baumzeile +- **Einrückung**: Pro Ebene ~20px Indent + +### Performance + +- **On-Demand**: Nur die sichtbare Ebene laden, Kinder erst bei Expand +- **Virtualisierung**: Bei großen Listen (>1000 sichtbare Nodes) Virtual Scrolling +- **Cache**: Einmal geladene Ebenen im Store behalten bis Navigation wechselt +- **Debounce**: Schnelles Expand/Collapse ohne Request-Flood + +## Technische Umsetzung + +### 1. Neuer View-Modus + +In `packages/web-pkg/src/components/FilesList/`: +- `ResourceTree.vue` — Hauptkomponente +- `ResourceTreeNode.vue` — Einzelner Baum-Knoten (rekursiv) +- `useResourceTree.ts` — Composable für Expand-State + Lazy-Loading + +### 2. View-Mode Integration + +In `packages/web-app-files/`: +- `extensionPoints.ts`: neuer View-Mode `resource-tree` +- View-Selector (Toolbar): viertes Icon (Baum-Symbol) +- URL-Parameter: `view-mode=resource-tree` + +### 3. Datenmodell + +```typescript +interface TreeNode { + resource: Resource + expanded: boolean + loading: boolean + children: TreeNode[] // leer bis geladen + depth: number +} +``` + +### 4. API-Nutzung + +- **PROPFIND Depth:1** pro expandiertem Ordner (wie ListFolder) +- Gleiche WebDAV-Properties wie in der normalen Liste (inkl. oc:immutable) +- Kein neuer Backend-Endpunkt nötig + +### 5. Icons + +Remix Icons verfügbar: +- `arrow-right-s-line` → Collapsed (▶) +- `arrow-down-s-line` → Expanded (▼) +- `folder-line` / `folder-open-line` → Ordner +- `folder-shield-line` → Protected Ordner (Bonus) +- `file-line` → Datei + +## Abhängigkeiten + +- Unabhängig von Immutable-Feature (nutzt es aber gut) +- Unabhängig von Metadata-Panel +- Braucht keine Backend-Änderungen + +## Aufwand + +- Frontend: ~3-5 Tage +- Keine Backend-Änderungen +- Keine Proto/API-Änderungen + +## Priorität + +Nach Immutable-Feature stabil. Eigenständiges Feature-Projekt. diff --git a/gateway-setimmutable.sh b/gateway-setimmutable.sh new file mode 100755 index 0000000000..6379eb7225 --- /dev/null +++ b/gateway-setimmutable.sh @@ -0,0 +1,34 @@ +#!/bin/sh +# Add SetImmutable/UnsetImmutable to gateway client as separate Go file +TARGET="vendor/github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1" + +cat > "$TARGET/gateway_immutable_ext.go" << 'GOEOF' +package gatewayv1beta1 + +import ( + "context" + + v1beta11 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" + "google.golang.org/grpc" +) + +func (c *gatewayAPIClient) SetImmutable(ctx context.Context, in *v1beta11.SetImmutableRequest, opts ...grpc.CallOption) (*v1beta11.SetImmutableResponse, error) { + out := new(v1beta11.SetImmutableResponse) + err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/SetImmutable", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *gatewayAPIClient) UnsetImmutable(ctx context.Context, in *v1beta11.UnsetImmutableRequest, opts ...grpc.CallOption) (*v1beta11.UnsetImmutableResponse, error) { + out := new(v1beta11.UnsetImmutableResponse) + err := c.cc.Invoke(ctx, "/cs3.gateway.v1beta1.GatewayAPI/UnsetImmutable", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} +GOEOF + +echo "Gateway client extended with SetImmutable/UnsetImmutable" diff --git a/go-cs3apis-src b/go-cs3apis-src new file mode 160000 index 0000000000..a6f318a813 --- /dev/null +++ b/go-cs3apis-src @@ -0,0 +1 @@ +Subproject commit a6f318a813b63500bf1f20be1965c2a286131b0b diff --git a/pkg/version/version.go b/pkg/version/version.go index a2efba7ee4..04217e0d1c 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -22,6 +22,8 @@ const ( EditionStable = "stable" // EditionLTS indicates the lts release build channel was used to build the binary. EditionLTS = "lts" + // EditionKosmos indicates a custom build with immutable/container-permissions features. + EditionKosmos = "kosmos" ) var ( @@ -57,7 +59,7 @@ func init() { //nolint:gochecknoinits } func initEdition() error { - regularEditions := []string{EditionDev, EditionRolling, EditionStable} + regularEditions := []string{EditionDev, EditionRolling, EditionStable, EditionKosmos} versionedEditions := []string{EditionLTS} if !slices.ContainsFunc(slices.Concat(regularEditions, versionedEditions), func(s string) bool { isRegularEdition := slices.Contains(regularEditions, Edition) diff --git a/reva-src b/reva-src new file mode 160000 index 0000000000..8c6a669059 --- /dev/null +++ b/reva-src @@ -0,0 +1 @@ +Subproject commit 8c6a669059aad0b3b6fc7d6d79856931b8126c99 diff --git a/services/graph/pkg/service/v0/api_drives_drive_item_immutable.go b/services/graph/pkg/service/v0/api_drives_drive_item_immutable.go new file mode 100644 index 0000000000..e5c4ce30b2 --- /dev/null +++ b/services/graph/pkg/service/v0/api_drives_drive_item_immutable.go @@ -0,0 +1,147 @@ +package svc + +import ( + "net/http" + + rpc "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" + provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" + "github.com/opencloud-eu/opencloud/services/graph/pkg/errorcode" +) + +func (g Graph) FreezeItem(w http.ResponseWriter, r *http.Request) { + ctx := r.Context() + itemID, err := parseIDParam(r, "itemID") + if err != nil { + errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "invalid itemID") + return + } + gatewayClient, err := g.gatewaySelector.Next() + if err != nil { + errorcode.ServiceNotAvailable.Render(w, r, http.StatusServiceUnavailable, "gateway not available") + return + } + ref := &provider.Reference{ResourceId: &itemID} + statRes, err := gatewayClient.Stat(ctx, &provider.StatRequest{Ref: ref}) + if err != nil { + g.logger.Error().Err(err).Msg("freeze: stat error") + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, "could not stat resource: "+err.Error()) + return + } + if statRes.GetStatus().GetCode() != rpc.Code_CODE_OK { + g.logger.Error().Str("msg", statRes.GetStatus().GetMessage()).Msg("freeze: stat non-OK") + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, "stat: "+statRes.GetStatus().GetMessage()) + return + } + if statRes.GetInfo().GetType() == provider.ResourceType_RESOURCE_TYPE_CONTAINER { + errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "cannot freeze a directory, use protect instead") + return + } + res, err := gatewayClient.SetImmutable(ctx, &provider.SetImmutableRequest{Ref: ref}) + if err != nil { + g.logger.Error().Err(err).Msg("freeze: SetImmutable error") + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, "could not freeze item: "+err.Error()) + return + } + switch res.GetStatus().GetCode() { + case rpc.Code_CODE_OK: + w.WriteHeader(http.StatusNoContent) + case rpc.Code_CODE_NOT_FOUND: + errorcode.ItemNotFound.Render(w, r, http.StatusNotFound, "resource not found") + case rpc.Code_CODE_PERMISSION_DENIED: + errorcode.AccessDenied.Render(w, r, http.StatusForbidden, "permission denied") + default: + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, res.GetStatus().GetMessage()) + } +} + +func (g Graph) ProtectItem(w http.ResponseWriter, r *http.Request) { + ctx := r.Context() + itemID, err := parseIDParam(r, "itemID") + if err != nil { + errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "invalid itemID") + return + } + gatewayClient, err := g.gatewaySelector.Next() + if err != nil { + errorcode.ServiceNotAvailable.Render(w, r, http.StatusServiceUnavailable, "gateway not available") + return + } + ref := &provider.Reference{ResourceId: &itemID} + statRes, err := gatewayClient.Stat(ctx, &provider.StatRequest{Ref: ref}) + if err != nil { + g.logger.Error().Err(err).Msg("protect: stat error") + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, "could not stat resource: "+err.Error()) + return + } + if statRes.GetStatus().GetCode() != rpc.Code_CODE_OK { + g.logger.Error().Str("msg", statRes.GetStatus().GetMessage()).Msg("protect: stat non-OK") + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, "stat: "+statRes.GetStatus().GetMessage()) + return + } + if statRes.GetInfo().GetType() != provider.ResourceType_RESOURCE_TYPE_CONTAINER { + errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "only directories can be protected") + return + } + res, err := gatewayClient.SetImmutable(ctx, &provider.SetImmutableRequest{Ref: ref}) + if err != nil { + g.logger.Error().Err(err).Msg("protect: SetImmutable error") + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, "could not protect item: "+err.Error()) + return + } + switch res.GetStatus().GetCode() { + case rpc.Code_CODE_OK: + w.WriteHeader(http.StatusNoContent) + case rpc.Code_CODE_NOT_FOUND: + errorcode.ItemNotFound.Render(w, r, http.StatusNotFound, "resource not found") + case rpc.Code_CODE_PERMISSION_DENIED: + errorcode.AccessDenied.Render(w, r, http.StatusForbidden, "permission denied") + default: + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, res.GetStatus().GetMessage()) + } +} + +func (g Graph) UnprotectItem(w http.ResponseWriter, r *http.Request) { + ctx := r.Context() + itemID, err := parseIDParam(r, "itemID") + if err != nil { + errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "invalid itemID") + return + } + gatewayClient, err := g.gatewaySelector.Next() + if err != nil { + errorcode.ServiceNotAvailable.Render(w, r, http.StatusServiceUnavailable, "gateway not available") + return + } + ref := &provider.Reference{ResourceId: &itemID} + statRes, err := gatewayClient.Stat(ctx, &provider.StatRequest{Ref: ref}) + if err != nil { + g.logger.Error().Err(err).Msg("unprotect: stat error") + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, "could not stat resource: "+err.Error()) + return + } + if statRes.GetStatus().GetCode() != rpc.Code_CODE_OK { + g.logger.Error().Str("msg", statRes.GetStatus().GetMessage()).Msg("unprotect: stat non-OK") + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, "stat: "+statRes.GetStatus().GetMessage()) + return + } + if statRes.GetInfo().GetType() != provider.ResourceType_RESOURCE_TYPE_CONTAINER { + errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "only directories can be unprotected") + return + } + res, err := gatewayClient.UnsetImmutable(ctx, &provider.UnsetImmutableRequest{Ref: ref}) + if err != nil { + g.logger.Error().Err(err).Msg("unprotect: UnsetImmutable error") + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, "could not unprotect item: "+err.Error()) + return + } + switch res.GetStatus().GetCode() { + case rpc.Code_CODE_OK: + w.WriteHeader(http.StatusNoContent) + case rpc.Code_CODE_NOT_FOUND: + errorcode.ItemNotFound.Render(w, r, http.StatusNotFound, "resource not found") + case rpc.Code_CODE_PERMISSION_DENIED: + errorcode.AccessDenied.Render(w, r, http.StatusForbidden, "permission denied") + default: + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, res.GetStatus().GetMessage()) + } +} diff --git a/services/graph/pkg/service/v0/api_drives_drive_item_metadata.go b/services/graph/pkg/service/v0/api_drives_drive_item_metadata.go new file mode 100644 index 0000000000..4400434a29 --- /dev/null +++ b/services/graph/pkg/service/v0/api_drives_drive_item_metadata.go @@ -0,0 +1,131 @@ +package svc + +import ( + "encoding/json" + "io" + "net/http" + + rpc "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" + provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" + "github.com/opencloud-eu/opencloud/services/graph/pkg/errorcode" +) + +// GetItemMetadata returns all custom metadata (user.oc.md.*) for a drive item +// as a JSON object. Read-only endpoint. +// +// GET /drives/{driveID}/items/{itemID}/metadata +// +// Response: { "oy.subject": "...", "oy.created": "...", ... } +func (g Graph) GetItemMetadata(w http.ResponseWriter, r *http.Request) { + ctx := r.Context() + itemID, err := parseIDParam(r, "itemID") + if err != nil { + g.logger.Debug().Err(err).Msg("could not parse itemID") + errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "invalid itemID") + return + } + + gatewayClient, err := g.gatewaySelector.Next() + if err != nil { + errorcode.ServiceNotAvailable.Render(w, r, http.StatusServiceUnavailable, "gateway not available") + return + } + + ref := &provider.Reference{ResourceId: &itemID} + + statRes, err := gatewayClient.Stat(ctx, &provider.StatRequest{ + Ref: ref, + ArbitraryMetadataKeys: []string{"*"}, + }) + if err != nil { + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, "could not stat resource") + return + } + switch statRes.GetStatus().GetCode() { + case rpc.Code_CODE_OK: + // continue + case rpc.Code_CODE_NOT_FOUND: + errorcode.ItemNotFound.Render(w, r, http.StatusNotFound, "resource not found") + return + case rpc.Code_CODE_PERMISSION_DENIED: + errorcode.AccessDenied.Render(w, r, http.StatusForbidden, "permission denied") + return + default: + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, statRes.GetStatus().GetMessage()) + return + } + + metadata := make(map[string]string) + if am := statRes.GetInfo().GetArbitraryMetadata(); am != nil { + for k, v := range am.GetMetadata() { + metadata[k] = v + } + } + + w.Header().Set("Content-Type", "application/json") + if err := json.NewEncoder(w).Encode(metadata); err != nil { + g.logger.Error().Err(err).Msg("could not encode metadata") + } +} + +// SetItemMetadata sets custom metadata (user.oc.md.*) on a drive item. +// Accepts a JSON object with key-value pairs to set. +// +// PUT /drives/{driveID}/items/{itemID}/metadata +// +// Request body: { "note": "some text", ... } +func (g Graph) SetItemMetadata(w http.ResponseWriter, r *http.Request) { + ctx := r.Context() + itemID, err := parseIDParam(r, "itemID") + if err != nil { + errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "invalid itemID") + return + } + + body, err := io.ReadAll(r.Body) + if err != nil { + errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "could not read request body") + return + } + defer r.Body.Close() + + var metadata map[string]string + if err := json.Unmarshal(body, &metadata); err != nil { + errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "invalid JSON body") + return + } + + if len(metadata) == 0 { + w.WriteHeader(http.StatusNoContent) + return + } + + gatewayClient, err := g.gatewaySelector.Next() + if err != nil { + errorcode.ServiceNotAvailable.Render(w, r, http.StatusServiceUnavailable, "gateway not available") + return + } + + ref := &provider.Reference{ResourceId: &itemID} + res, err := gatewayClient.SetArbitraryMetadata(ctx, &provider.SetArbitraryMetadataRequest{ + Ref: ref, + ArbitraryMetadata: &provider.ArbitraryMetadata{ + Metadata: metadata, + }, + }) + if err != nil { + g.logger.Error().Err(err).Msg("metadata: SetArbitraryMetadata error") + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, "could not set metadata") + return + } + switch res.GetStatus().GetCode() { + case rpc.Code_CODE_OK: + w.WriteHeader(http.StatusNoContent) + case rpc.Code_CODE_NOT_FOUND: + errorcode.ItemNotFound.Render(w, r, http.StatusNotFound, "resource not found") + case rpc.Code_CODE_PERMISSION_DENIED: + errorcode.AccessDenied.Render(w, r, http.StatusForbidden, "permission denied") + default: + errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, res.GetStatus().GetMessage()) + } +} diff --git a/services/graph/pkg/service/v0/follow.go b/services/graph/pkg/service/v0/follow.go index 7a255451a1..31a4930283 100644 --- a/services/graph/pkg/service/v0/follow.go +++ b/services/graph/pkg/service/v0/follow.go @@ -3,6 +3,7 @@ package svc import ( "net/http" + labels "github.com/cs3org/go-cs3apis/cs3/labels/v1beta1" rpc "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1" provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1" "github.com/go-chi/render" @@ -61,7 +62,7 @@ func (g Graph) FollowDriveItem(w http.ResponseWriter, r *http.Request) { return } - req := &provider.AddLabelRequest{ + req := &labels.AddLabelRequest{ Ref: ref, UserId: u.Id, Label: _favoriteLabel, @@ -130,7 +131,7 @@ func (g Graph) UnfollowDriveItem(w http.ResponseWriter, r *http.Request) { return } - req := &provider.RemoveLabelRequest{ + req := &labels.RemoveLabelRequest{ Ref: ref, UserId: u.Id, Label: _favoriteLabel, diff --git a/services/graph/pkg/service/v0/service.go b/services/graph/pkg/service/v0/service.go index ecce7f69e1..98c248216b 100644 --- a/services/graph/pkg/service/v0/service.go +++ b/services/graph/pkg/service/v0/service.go @@ -284,6 +284,11 @@ func NewService(opts ...Option) (Graph, error) { //nolint:maintidx r.Delete("/", drivesDriveItemApi.DeleteDriveItem) r.Post("/invite", driveItemPermissionsApi.Invite) r.Post("/createLink", driveItemPermissionsApi.CreateLink) + r.Get("/metadata", svc.GetItemMetadata) + r.Put("/metadata", svc.SetItemMetadata) + r.Post("/freeze", svc.FreezeItem) + r.Post("/protect", svc.ProtectItem) + r.Delete("/protect", svc.UnprotectItem) r.Route("/permissions", func(r chi.Router) { r.Get("/", driveItemPermissionsApi.ListPermissions) r.Route("/{permissionID}", func(r chi.Router) { diff --git a/services/graph/pkg/unifiedrole/conversion.go b/services/graph/pkg/unifiedrole/conversion.go index 457cb5db0f..2752a14586 100644 --- a/services/graph/pkg/unifiedrole/conversion.go +++ b/services/graph/pkg/unifiedrole/conversion.go @@ -53,6 +53,14 @@ func PermissionsToCS3ResourcePermissions(unifiedRolePermissions []*libregraph.Un p.UpdateGrant = true case DriveItemPermissionsDeny: p.DenyGrant = true + case DriveItemContainerDelete: + p.DeleteContainer = true + case DriveItemContainerUpdate: + p.MoveContainer = true + case DriveItemImmutableFileSet: + p.SetImmutableFile = true + case DriveItemImmutableFolderSet: + p.SetImmutableContainer = true } } } @@ -141,6 +149,22 @@ func CS3ResourcePermissionsToLibregraphActions(p *provider.ResourcePermissions) actions = append(actions, DriveItemPermissionsDeny) } + if p.GetDeleteContainer() { + actions = append(actions, DriveItemContainerDelete) + } + + if p.GetMoveContainer() { + actions = append(actions, DriveItemContainerUpdate) + } + + if p.GetSetImmutableFile() { + actions = append(actions, DriveItemImmutableFileSet) + } + + if p.GetSetImmutableContainer() { + actions = append(actions, DriveItemImmutableFolderSet) + } + return actions } diff --git a/services/graph/pkg/unifiedrole/roles.go b/services/graph/pkg/unifiedrole/roles.go index 5b866e70ef..8702dfb94b 100644 --- a/services/graph/pkg/unifiedrole/roles.go +++ b/services/graph/pkg/unifiedrole/roles.go @@ -86,8 +86,12 @@ const ( DriveItemVersionsUpdate = "libre.graph/driveItem/versions/update" DriveItemDeletedUpdate = "libre.graph/driveItem/deleted/update" DriveItemBasicRead = "libre.graph/driveItem/basic/read" - DriveItemPermissionsUpdate = "libre.graph/driveItem/permissions/update" - DriveItemPermissionsDeny = "libre.graph/driveItem/permissions/deny" + DriveItemPermissionsUpdate = "libre.graph/driveItem/permissions/update" + DriveItemPermissionsDeny = "libre.graph/driveItem/permissions/deny" + DriveItemContainerDelete = "libre.graph/driveItem/container/delete" + DriveItemContainerUpdate = "libre.graph/driveItem/container/update" + DriveItemImmutableFileSet = "libre.graph/driveItem/immutableFile/set" + DriveItemImmutableFolderSet = "libre.graph/driveItem/immutableFolder/set" ) var ( diff --git a/services/search/pkg/bleve/backend.go b/services/search/pkg/bleve/backend.go index 8adcdda09e..013dcc0663 100644 --- a/services/search/pkg/bleve/backend.go +++ b/services/search/pkg/bleve/backend.go @@ -135,7 +135,7 @@ func (b *Backend) Search(_ context.Context, sir *searchService.SearchIndexReques Deleted: getFieldValue[bool](hit.Fields, "Deleted"), Tags: getFieldSliceValue[string](hit.Fields, "Tags"), Favorites: getFieldSliceValue[string](hit.Fields, "Favorites"), - Highlights: getFragmentValue(hit.Fragments, "Content", 0), + Highlights: buildHighlights(hit.Fragments), Audio: getAudioValue[searchMessage.Audio](hit.Fields), Image: getImageValue[searchMessage.Image](hit.Fields), Location: getLocationValue[searchMessage.GeoCoordinates](hit.Fields), diff --git a/services/search/pkg/bleve/bleve.go b/services/search/pkg/bleve/bleve.go index e478c2c148..393db257f2 100644 --- a/services/search/pkg/bleve/bleve.go +++ b/services/search/pkg/bleve/bleve.go @@ -62,6 +62,27 @@ func getFieldSliceValue[T any](m map[string]any, key string) (out []T) { return } +// buildHighlights combines Content and Metadata highlights into a single string. +// Content highlights are shown first, followed by metadata field matches. +func buildHighlights(fragments bleveSearch.FieldFragmentMap) string { + var parts []string + + // Content highlight (traditional full-text match) + if contentFrags, ok := fragments["Content"]; ok && len(contentFrags) > 0 { + parts = append(parts, contentFrags[0]) + } + + // Metadata highlights (e.g. Metadata.oy.fileReference, Metadata.oy.subject, ...) + for field, frags := range fragments { + if strings.HasPrefix(field, "Metadata.") && len(frags) > 0 { + key := strings.TrimPrefix(field, "Metadata.") + parts = append(parts, key+": "+frags[0]) + } + } + + return strings.Join(parts, " · ") +} + func getFragmentValue(m bleveSearch.FieldFragmentMap, key string, idx int) string { val, ok := m[key] if !ok { @@ -178,6 +199,19 @@ func getFieldName(structField reflect.StructField) string { } func matchToResource(match *bleveSearch.DocumentMatch) *search.Resource { + // Extract Metadata.* fields from the flat bleve field map + metadata := make(map[string]string) + for k, v := range match.Fields { + if strings.HasPrefix(k, "Metadata.") { + if s, ok := v.(string); ok { + metadata[strings.TrimPrefix(k, "Metadata.")] = s + } + } + } + if len(metadata) == 0 { + metadata = nil + } + return &search.Resource{ ID: getFieldValue[string](match.Fields, "ID"), RootID: getFieldValue[string](match.Fields, "RootID"), @@ -194,6 +228,7 @@ func matchToResource(match *bleveSearch.DocumentMatch) *search.Resource { Content: getFieldValue[string](match.Fields, "Content"), Tags: getFieldSliceValue[string](match.Fields, "Tags"), Favorites: getFieldSliceValue[string](match.Fields, "Favorites"), + Metadata: metadata, Audio: getAudioValue[libregraph.Audio](match.Fields), Image: getImageValue[libregraph.Image](match.Fields), Location: getLocationValue[libregraph.GeoCoordinates](match.Fields), diff --git a/services/search/pkg/bleve/index.go b/services/search/pkg/bleve/index.go index f11bd61402..c4b093a2ae 100644 --- a/services/search/pkg/bleve/index.go +++ b/services/search/pkg/bleve/index.go @@ -49,11 +49,17 @@ func NewMapping() (mapping.IndexMapping, error) { fulltextFieldMapping.Analyzer = "fulltext" fulltextFieldMapping.IncludeInAll = false + // Metadata sub-document: each key is a searchable text field + metadataMapping := bleve.NewDocumentMapping() + metadataMapping.Dynamic = true + metadataMapping.DefaultAnalyzer = "lowercaseKeyword" + docMapping := bleve.NewDocumentMapping() docMapping.AddFieldMappingsAt("Name", nameMapping) docMapping.AddFieldMappingsAt("Tags", lowercaseMapping) docMapping.AddFieldMappingsAt("Favorites", lowercaseMapping) docMapping.AddFieldMappingsAt("Content", fulltextFieldMapping) + docMapping.AddSubDocumentMapping("Metadata", metadataMapping) indexMapping := bleve.NewIndexMapping() indexMapping.DefaultAnalyzer = keyword.Name diff --git a/services/search/pkg/content/basic.go b/services/search/pkg/content/basic.go index 1499258c98..6133f8a6a9 100644 --- a/services/search/pkg/content/basic.go +++ b/services/search/pkg/content/basic.go @@ -33,6 +33,16 @@ func (b Basic) Extract(_ context.Context, ri *storageProvider.ResourceInfo) (Doc if t, ok := m["tags"]; ok { doc.Tags = tags.New(t).AsSlice() } + // Index all arbitrary metadata (user.oc.md.* xattrs) + md := make(map[string]string) + for k, v := range m { + if k != "tags" && v != "" { + md[k] = v + } + } + if len(md) > 0 { + doc.Metadata = md + } } if m := ri.Opaque.GetMap(); m != nil && m["favorites"] != nil { diff --git a/services/search/pkg/content/content.go b/services/search/pkg/content/content.go index e185351678..b8388f8eb5 100644 --- a/services/search/pkg/content/content.go +++ b/services/search/pkg/content/content.go @@ -22,6 +22,7 @@ type Document struct { MimeType string Tags []string Favorites []string + Metadata map[string]string `json:"metadata,omitempty"` Audio *libregraph.Audio `json:"audio,omitempty"` Image *libregraph.Image `json:"image,omitempty"` Location *libregraph.GeoCoordinates `json:"location,omitempty"` diff --git a/services/search/pkg/opensearch/internal/convert/opensearch.go b/services/search/pkg/opensearch/internal/convert/opensearch.go index c4d8212dcd..575bc45935 100644 --- a/services/search/pkg/opensearch/internal/convert/opensearch.go +++ b/services/search/pkg/opensearch/internal/convert/opensearch.go @@ -61,12 +61,17 @@ func OpenSearchHitToMatch(hit opensearchgoAPI.SearchHit) (*searchMessage.Match, Deleted: resource.Deleted, Tags: resource.Tags, Highlights: func() string { - contentHighlights, ok := hit.Highlight["Content"] - if !ok { - return "" + var parts []string + if contentHighlights, ok := hit.Highlight["Content"]; ok { + parts = append(parts, strings.Join(contentHighlights, "; ")) } - - return strings.Join(contentHighlights[:], "; ") + for field, frags := range hit.Highlight { + if strings.HasPrefix(field, "Metadata.") && len(frags) > 0 { + key := strings.TrimPrefix(field, "Metadata.") + parts = append(parts, key+": "+strings.Join(frags, "; ")) + } + } + return strings.Join(parts, " · ") }(), Audio: func() *searchMessage.Audio { if !strings.HasPrefix(resource.MimeType, "audio/") { diff --git a/services/settings/pkg/store/defaults/defaults.go b/services/settings/pkg/store/defaults/defaults.go index cc7a9bacee..25048a1031 100644 --- a/services/settings/pkg/store/defaults/defaults.go +++ b/services/settings/pkg/store/defaults/defaults.go @@ -16,6 +16,8 @@ const ( BundleUUIDRoleUserLight = "38071a68-456a-4553-846a-fa67bf5596cc" // BundleUUIDRoleGuest represents the guest role. BundleUUIDRoleGuest = "38071a68-456a-4553-846a-fa67bf5596cc" + // BundleUUIDRoleManager represents the manager role (user + immutable management). + BundleUUIDRoleManager = "a8e05e42-c135-4d1e-b9c8-3f76e12a0c5e" // BundleUUIDProfile represents the user profile. BundleUUIDProfile = "2a506de7-99bd-4f0d-994e-c38e72c28fd9" // BundleUUIDServiceAccount represents the service account role. @@ -53,6 +55,7 @@ const ( func GenerateBundlesDefaultRoles() []*settingsmsg.Bundle { return []*settingsmsg.Bundle{ generateBundleAdminRole(), + generateBundleManagerRole(), generateBundleUserRole(), generateBundleUserLightRole(), generateBundleProfileRequest(), @@ -144,6 +147,44 @@ func generateBundleAdminRole() *settingsmsg.Bundle { SpaceAbilityPermission(All), WebOfficeManagementPermssion(All), WriteFavoritesPermission(Own), + ManageImmutablePermission(All), + }, + } +} + +func generateBundleManagerRole() *settingsmsg.Bundle { + return &settingsmsg.Bundle{ + Id: BundleUUIDRoleManager, + Name: "manager", + Type: settingsmsg.Bundle_TYPE_ROLE, + Extension: "opencloud-roles", + DisplayName: "Manager", + Resource: &settingsmsg.Resource{ + Type: settingsmsg.Resource_TYPE_SYSTEM, + }, + Settings: []*settingsmsg.Setting{ + // Same as User + AutoAcceptSharesPermission(Own), + CreatePublicLinkPermission(All), + CreateSharePermission(All), + CreateSpacesPermission(Own), + DisableEmailNotificationsPermission(Own), + ProfileEmailSendingIntervalPermission(Own), + ProfileEventShareCreatedPermission(Own), + ProfileEventShareRemovedPermission(Own), + ProfileEventShareExpiredPermission(Own), + ProfileEventSpaceSharedPermission(Own), + ProfileEventSpaceUnsharedPermission(Own), + ProfileEventSpaceMembershipExpiredPermission(Own), + ProfileEventSpaceDisabledPermission(Own), + ProfileEventSpaceDeletedPermission(Own), + ProfileEventPostprocessingStepFinishedPermission(Own), + LanguageManagementPermission(Own), + ListFavoritesPermission(Own), + SelfManagementPermission(Own), + WriteFavoritesPermission(Own), + // Manager-specific: protect/unprotect/freeze on any space + ManageImmutablePermission(All), }, } } @@ -184,6 +225,7 @@ func generateBundleSpaceAdminRole() *settingsmsg.Bundle { SetProjectSpaceQuotaPermission(All), SpaceAbilityPermission(All), WriteFavoritesPermission(Own), + ManageImmutablePermission(All), }, } } diff --git a/services/settings/pkg/store/defaults/permissions.go b/services/settings/pkg/store/defaults/permissions.go index fb661fd20d..76149d63a6 100644 --- a/services/settings/pkg/store/defaults/permissions.go +++ b/services/settings/pkg/store/defaults/permissions.go @@ -622,6 +622,25 @@ func WriteFavoritesPermission(c settingsmsg.Permission_Constraint) *settingsmsg. } } +// ManageImmutablePermission is the permission to protect/unprotect folders and freeze files across all spaces. +func ManageImmutablePermission(c settingsmsg.Permission_Constraint) *settingsmsg.Setting { + return &settingsmsg.Setting{ + Id: "4a12c0a1-6b3c-4e8d-9f2a-7d5e8b3c1a0f", + Name: "Drives.ManageImmutable", + DisplayName: "Manage Immutable Resources", + Description: "This permission allows protecting/unprotecting folders and freezing files on any space.", + Resource: &settingsmsg.Resource{ + Type: settingsmsg.Resource_TYPE_SYSTEM, + }, + Value: &settingsmsg.Setting_PermissionValue{ + PermissionValue: &settingsmsg.Permission{ + Operation: settingsmsg.Permission_OPERATION_READWRITE, + Constraint: c, + }, + }, + } +} + // WebOfficManagementPermssion is the permission to mark/unmark files as favorites func WebOfficeManagementPermssion(c settingsmsg.Permission_Constraint) *settingsmsg.Setting { return &settingsmsg.Setting{ diff --git a/warmup-robustness.patch b/warmup-robustness.patch new file mode 100644 index 0000000000..1fe0f8ac5f --- /dev/null +++ b/warmup-robustness.patch @@ -0,0 +1,77 @@ +diff --git a/pkg/storage/fs/posix/tree/assimilation.go b/pkg/storage/fs/posix/tree/assimilation.go +index 0a9971a1..c88acd41 100644 +--- a/pkg/storage/fs/posix/tree/assimilation.go ++++ b/pkg/storage/fs/posix/tree/assimilation.go +@@ -833,7 +833,11 @@ func (t *Tree) WarmupIDCache(root string, assimilate, onlyDirty bool) error { + sizes := make(map[string]int64) + err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error { + if err != nil { +- return err ++ t.log.Warn().Err(err).Str("path", path).Msg("error accessing path during warmup, skipping") ++ if info != nil && info.IsDir() { ++ return filepath.SkipDir ++ } ++ return nil + } + + // skip irrelevant files +@@ -848,6 +852,29 @@ func (t *Tree) WarmupIDCache(root string, assimilate, onlyDirty bool) error { + return nil // ignore the root paths + } + ++ // skip directories containing .ocignore with "*" ++ if info.IsDir() { ++ ignoreFile := filepath.Join(path, ".ocignore") ++ if data, err := os.ReadFile(ignoreFile); err == nil { ++ content := strings.TrimSpace(string(data)) ++ if content == "*" { ++ // cache this directory's own ID before skipping children, ++ // so directory listings don't trigger on-demand assimilation ++ nodeSpaceID, id, _, _, identErr := t.lookup.MetadataBackend().IdentifyPath(context.Background(), path) ++ if identErr == nil && len(id) > 0 { ++ if len(nodeSpaceID) > 0 { ++ spaceID = nodeSpaceID ++ } ++ if spaceID != "" { ++ _ = t.lookup.CacheID(context.Background(), spaceID, id, path) ++ } ++ } ++ t.log.Info().Str("path", path).Msg("skipping directory due to .ocignore") ++ return filepath.SkipDir ++ } ++ } ++ } ++ + if !info.IsDir() && !info.Mode().IsRegular() { + t.log.Trace().Str("path", path).Msg("skipping non-regular file") + return nil +@@ -936,7 +963,9 @@ func (t *Tree) WarmupIDCache(root string, assimilate, onlyDirty bool) error { + } + + if info.IsDir() { +- return t.setDirty(path, false) ++ if err := t.setDirty(path, false); err != nil { ++ t.log.Warn().Err(err).Str("path", path).Msg("could not set dirty flag on directory, skipping") ++ } + } + return nil + }) +diff --git a/pkg/storage/fs/posix/tree/tree.go b/pkg/storage/fs/posix/tree/tree.go +index eb8dca8c..9a36fad0 100644 +--- a/pkg/storage/fs/posix/tree/tree.go ++++ b/pkg/storage/fs/posix/tree/tree.go +@@ -458,6 +458,14 @@ func (t *Tree) ListFolder(ctx context.Context, n *node.Node) ([]*node.Node, erro + _ = f.Close() + }() + ++ // skip listing children of directories with .ocignore containing "*" ++ ignoreFile := filepath.Join(dir, ".ocignore") ++ if data, err := os.ReadFile(ignoreFile); err == nil { ++ if strings.TrimSpace(string(data)) == "*" { ++ return []*node.Node{}, nil ++ } ++ } ++ + _, subspan = tracer.Start(ctx, "f.Readdirnames") + names, err := f.Readdirnames(0) + subspan.End() diff --git a/web-dist/assets/OpenCloud500-Regular-BPNLKVt8.woff2 b/web-dist/assets/OpenCloud500-Regular-BPNLKVt8.woff2 new file mode 100644 index 0000000000..219abd872f Binary files /dev/null and b/web-dist/assets/OpenCloud500-Regular-BPNLKVt8.woff2 differ diff --git a/web-dist/assets/OpenCloud750-Bold-BS-NzWHW.woff2 b/web-dist/assets/OpenCloud750-Bold-BS-NzWHW.woff2 new file mode 100644 index 0000000000..1bc7076851 Binary files /dev/null and b/web-dist/assets/OpenCloud750-Bold-BS-NzWHW.woff2 differ diff --git a/web-dist/assets/inter-CWi-zmRD.woff2 b/web-dist/assets/inter-CWi-zmRD.woff2 new file mode 100644 index 0000000000..22a12b04e1 Binary files /dev/null and b/web-dist/assets/inter-CWi-zmRD.woff2 differ diff --git a/web-dist/assets/style-B5Go8oJh.css b/web-dist/assets/style-B5Go8oJh.css new file mode 100644 index 0000000000..8fe768f054 --- /dev/null +++ b/web-dist/assets/style-B5Go8oJh.css @@ -0,0 +1 @@ +@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-border-style:solid;--tw-mask-linear:linear-gradient(#fff, #fff);--tw-mask-radial:linear-gradient(#fff, #fff);--tw-mask-conic:linear-gradient(#fff, #fff);--tw-mask-linear-position:0deg;--tw-mask-linear-from-position:0%;--tw-mask-linear-to-position:100%;--tw-mask-linear-from-color:black;--tw-mask-linear-to-color:transparent;--tw-leading:initial;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction: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-outline-style:solid;--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;--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-content:""}}}@layer theme{:root,:host{--font-sans:var(--oc-font-family);--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-200:oklch(88.5% .062 18.334);--color-red-600:oklch(57.7% .245 27.325);--color-red-900:oklch(39.6% .141 25.723);--color-yellow-200:oklch(94.5% .129 101.54);--color-green-200:oklch(92.5% .084 155.995);--color-green-800:oklch(44.8% .119 151.328);--color-green-900:oklch(39.3% .095 152.535);--color-sky-600:oklch(58.8% .158 241.966);--color-gray-100:oklch(96.7% .003 264.542);--color-black:#000;--color-white:#fff;--spacing:4px;--container-3xs:16rem;--container-2xs:18rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-5xl:64rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-3xl:1.5rem;--radius-4xl:2rem;--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--z-index-modal:9999;--color-role-chrome:var(--oc-role-chrome);--color-role-error:var(--oc-role-error);--color-role-on-chrome:var(--oc-role-on-chrome);--color-role-on-error:var(--oc-role-on-error);--color-role-on-primary:var(--oc-role-on-primary);--color-role-on-secondary:var(--oc-role-on-secondary);--color-role-on-secondary-container:var(--oc-role-on-secondary-container);--color-role-on-surface:var(--oc-role-on-surface);--color-role-on-surface-variant:var(--oc-role-on-surface-variant);--color-role-on-tertiary:var(--oc-role-on-tertiary);--color-role-outline:var(--oc-role-outline);--color-role-outline-variant:var(--oc-role-outline-variant);--color-role-primary:var(--oc-role-primary);--color-role-secondary:var(--oc-role-secondary);--color-role-secondary-container:var(--oc-role-secondary-container);--color-role-shadow:var(--oc-role-shadow);--color-role-surface:var(--oc-role-surface);--color-role-surface-container:var(--oc-role-surface-container);--color-role-surface-container-high:var(--oc-role-surface-container-high);--color-role-surface-container-highest:var(--oc-role-surface-container-highest);--color-role-surface-container-low:var(--oc-role-surface-container-low);--color-role-surface-variant:var(--oc-role-surface-variant);--color-role-tertiary:var(--oc-role-tertiary);--animate-shake:shake .6s cubic-bezier(.46, .27, .59, .97) both;--animate-shimmer:shimmer 2s infinite;--animate-loading-bar:loading-bar 1.4s infinite;--animate-fade-in:fade-in .3s}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\@container{container-type:inline-size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.\!static{position:static!important}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-x-0{inset-inline:calc(var(--spacing) * 0)}.inset-x-2{inset-inline:calc(var(--spacing) * 2)}.inset-x-\[20px\]{inset-inline:20px}.inset-y-3{inset-block:calc(var(--spacing) * 3)}.start{inset-inline-start:var(--spacing)}.start\!{inset-inline-start:var(--spacing)!important}.end{inset-inline-end:var(--spacing)}.top-0{top:calc(var(--spacing) * 0)}.top-2{top:calc(var(--spacing) * 2)}.top-\[-2px\]{top:-2px}.top-\[-6px\]{top:-6px}.top-\[-100px\]{top:-100px}.top-\[-9999px\]{top:-9999px}.top-\[1\.8rem\]{top:1.8rem}.top-\[3px\]{top:3px}.top-\[6px\]{top:6px}.top-\[50\%\]{top:50%}.right-0{right:calc(var(--spacing) * 0)}.right-2{right:calc(var(--spacing) * 2)}.right-\[-2\.2rem\]{right:-2.2rem}.right-\[-3px\]{right:-3px}.right-\[-6px\]{right:-6px}.right-\[-8px\]{right:-8px}.right-\[-9px\]{right:-9px}.right-\[-40px\]{right:-40px}.right-\[20px\]{right:20px}.-bottom-full{bottom:-100%}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-\[-3px\]{bottom:-3px}.bottom-\[-6px\]{bottom:-6px}.bottom-\[-40px\]{bottom:-40px}.bottom-\[20px\]{bottom:20px}.left-0{left:calc(var(--spacing) * 0)}.left-2{left:calc(var(--spacing) * 2)}.left-\[-9999px\]{left:-9999px}.left-\[-99999px\]{left:-99999px}.left-\[3px\]{left:3px}.left-\[6px\]{left:6px}.left-\[50\%\]{left:50%}.isolate{isolation:isolate}.-z-10{z-index:-10}.-z-20{z-index:-20}.z-0{z-index:0}.z-1{z-index:1}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-60{z-index:60}.z-90{z-index:90}.z-100{z-index:100}.z-990{z-index:990}.z-1000{z-index:1000}.z-1040{z-index:1040}.z-\[calc\(var\(--z-index-modal\)\+1\)\]{z-index:calc(var(--z-index-modal) + 1)}.z-\[calc\(var\(--z-index-modal\)\+2\)\]{z-index:calc(var(--z-index-modal) + 2)}.z-\[calc\(var\(--z-index-modal\)-1\)\]{z-index:calc(var(--z-index-modal) - 1)}.z-\[var\(--z-index-modal\)\]{z-index:var(--z-index-modal)}.col-1{grid-column:1}.col-2{grid-column:2}.col-3{grid-column:3}.col-\[1\/4\]{grid-column:1/4}.col-start-1{grid-column-start:1}.col-start-2{grid-column-start:2}.col-start-3{grid-column-start:3}.row-2{grid-row:2}.float-left{float:left}.float-right{float:right}.container{width:100%}@media(min-width:580px){.container{max-width:580px}}@media(min-width:640px){.container{max-width:640px}}@media(min-width:960px){.container{max-width:960px}}@media(min-width:1200px){.container{max-width:1200px}}@media(min-width:1600px){.container{max-width:1600px}}@media(min-width:96rem){.container{max-width:96rem}}.container\!{width:100%!important}@media(min-width:580px){.container\!{max-width:580px!important}}@media(min-width:640px){.container\!{max-width:640px!important}}@media(min-width:960px){.container\!{max-width:960px!important}}@media(min-width:1200px){.container\!{max-width:1200px!important}}@media(min-width:1600px){.container\!{max-width:1600px!important}}@media(min-width:96rem){.container\!{max-width:96rem!important}}.m-0{margin:calc(var(--spacing) * 0)}.m-0\.5{margin:calc(var(--spacing) * .5)}.m-1{margin:calc(var(--spacing) * 1)}.m-2{margin:calc(var(--spacing) * 2)}.m-4{margin:calc(var(--spacing) * 4)}.m-6{margin:calc(var(--spacing) * 6)}.m-12{margin:calc(var(--spacing) * 12)}.m-24{margin:calc(var(--spacing) * 24)}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.mx-0{margin-inline:calc(var(--spacing) * 0)}.mx-1{margin-inline:calc(var(--spacing) * 1)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-6{margin-inline:calc(var(--spacing) * 6)}.mx-auto{margin-inline:auto}.my-0{margin-block:calc(var(--spacing) * 0)}.my-1{margin-block:calc(var(--spacing) * 1)}.my-2{margin-block:calc(var(--spacing) * 2)}.my-4{margin-block:calc(var(--spacing) * 4)}.my-5{margin-block:calc(var(--spacing) * 5)}.my-6{margin-block:calc(var(--spacing) * 6)}.-mt-1{margin-top:calc(var(--spacing) * -1)}.mt-0{margin-top:calc(var(--spacing) * 0)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-12{margin-top:calc(var(--spacing) * 12)}.mt-24{margin-top:calc(var(--spacing) * 24)}.mt-auto{margin-top:auto}.mr-1{margin-right:calc(var(--spacing) * 1)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-4{margin-right:calc(var(--spacing) * 4)}.mr-6{margin-right:calc(var(--spacing) * 6)}.mr-\[34px\]{margin-right:34px}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-0{margin-bottom:calc(var(--spacing) * 0)}.mb-0\.5{margin-bottom:calc(var(--spacing) * .5)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-12{margin-bottom:calc(var(--spacing) * 12)}.-ml-0\.5{margin-left:calc(var(--spacing) * -.5)}.ml-0{margin-left:calc(var(--spacing) * 0)}.ml-0\.5{margin-left:calc(var(--spacing) * .5)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-4{margin-left:calc(var(--spacing) * 4)}.ml-5{margin-left:calc(var(--spacing) * 5)}.ml-\[30px\]{margin-left:30px}.ml-auto{margin-left:auto}.box-content{box-sizing:content-box}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!flex{display:flex!important}.\!grid{display:grid!important}.\!table{display:table!important}.\[display\:inherit\]{display:inherit}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline\!{display:inline!important}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.aspect-3\/2{aspect-ratio:3/2}.aspect-\[16\/9\]{aspect-ratio:16/9}.aspect-video{aspect-ratio:var(--aspect-video)}.size-0{width:calc(var(--spacing) * 0);height:calc(var(--spacing) * 0)}.size-1{width:calc(var(--spacing) * 1);height:calc(var(--spacing) * 1)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-16{width:calc(var(--spacing) * 16);height:calc(var(--spacing) * 16)}.size-22{width:calc(var(--spacing) * 22);height:calc(var(--spacing) * 22)}.size-42{width:calc(var(--spacing) * 42);height:calc(var(--spacing) * 42)}.size-\[7rem\]{width:7rem;height:7rem}.size-full{width:100%;height:100%}.\!h-9{height:calc(var(--spacing) * 9)!important}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:calc(var(--spacing) * 1)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-4{height:calc(var(--spacing) * 4)}.h-4\.5{height:calc(var(--spacing) * 4.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-10\.5{height:calc(var(--spacing) * 10.5)}.h-12{height:calc(var(--spacing) * 12)}.h-13{height:calc(var(--spacing) * 13)}.h-25{height:calc(var(--spacing) * 25)}.h-30{height:calc(var(--spacing) * 30)}.h-\[32px\]{height:32px}.h-\[40vh\]{height:40vh}.h-\[75vh\]{height:75vh}.h-\[150px\]{height:150px}.h-\[230px\]{height:230px}.h-\[280px\]{height:280px}.h-\[300px\]{height:300px}.h-\[450px\]{height:450px}.h-auto{height:auto}.h-dvh{height:100dvh}.h-full{height:100%}.h-screen{height:100vh}.max-h-0{max-height:calc(var(--spacing) * 0)}.max-h-15{max-height:calc(var(--spacing) * 15)}.max-h-40{max-height:calc(var(--spacing) * 40)}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-\[26px\]{max-height:26px}.max-h-\[50vh\]{max-height:50vh}.max-h-\[66vh\]{max-height:66vh}.max-h-\[75vh\]{max-height:75vh}.max-h-\[80vh\]{max-height:80vh}.max-h-\[90vh\]{max-height:90vh}.max-h-\[280px\]{max-height:280px}.max-h-\[350px\]{max-height:350px}.max-h-\[400px\]{max-height:400px}.max-h-\[calc\(50vh-100px\)\]{max-height:calc(50vh - 100px)}.max-h-dvh{max-height:100dvh}.max-h-full{max-height:100%}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-3{min-height:calc(var(--spacing) * 3)}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-4\.5{min-height:calc(var(--spacing) * 4.5)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-10\.5{min-height:calc(var(--spacing) * 10.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-\[42px\]{min-height:42px}.min-h-\[60px\]{min-height:60px}.min-h-\[80px\]{min-height:80px}.min-h-\[200px\]{min-height:200px}.min-h-\[225px\]{min-height:225px}.min-h-\[235px\]{min-height:235px}.min-h-\[300px\]{min-height:300px}.min-h-full{min-height:100%}.\!w-9{width:calc(var(--spacing) * 9)!important}.w-0{width:calc(var(--spacing) * 0)}.w-1\/5{width:20%}.w-3xs{width:var(--container-3xs)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-\[10rem\]{width:10rem}.w-\[12px\]{width:12px}.w-\[22px\]{width:22px}.w-\[25\%\]{width:25%}.w-\[50\%\]{width:50%}.w-\[58px\]{width:58px}.w-\[93vw\]{width:93vw}.w-\[95vw\]{width:95vw}.w-\[360px\]{width:360px}.w-\[calc\(100\%-360px\)\]{width:calc(100% - 360px)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-lg{width:var(--container-lg)}.w-md{width:var(--container-md)}.w-px{width:1px}.w-sm{width:var(--container-sm)}.w-xs{width:var(--container-xs)}.max-w-0{max-width:calc(var(--spacing) * 0)}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xs{max-width:var(--container-3xs)}.max-w-5xl{max-width:var(--container-5xl)}.max-w-20{max-width:calc(var(--spacing) * 20)}.max-w-40{max-width:calc(var(--spacing) * 40)}.max-w-48{max-width:calc(var(--spacing) * 48)}.max-w-50{max-width:calc(var(--spacing) * 50)}.max-w-\[50\%\]{max-width:50%}.max-w-\[80vw\]{max-width:80vw}.max-w-\[230px\]{max-width:230px}.max-w-fit{max-width:fit-content}.max-w-full{max-width:100%}.max-w-lg{max-width:var(--container-lg)}.max-w-xl{max-width:var(--container-xl)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-2{min-width:calc(var(--spacing) * 2)}.min-w-3xs{min-width:var(--container-3xs)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-38{min-width:calc(var(--spacing) * 38)}.min-w-\[120px\]{min-width:120px}.min-w-\[230px\]{min-width:230px}.min-w-\[360px\]{min-width:360px}.min-w-xs{min-width:var(--container-xs)}.flex-1{flex:1}.flex-auto{flex:auto}.flex-shrink,.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.grow-0{flex-grow:0}.grow-1{flex-grow:1}.grow-2{flex-grow:2}.basis-auto{flex-basis:auto}.border-collapse{border-collapse:collapse}.-translate-y-16{--tw-translate-y:calc(var(--spacing) * -16);translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-y-\[-1\]{--tw-scale-y:-1;scale:var(--tw-scale-x) var(--tw-scale-y)}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.transform-\[rotate\(45deg\)\]{transform:rotate(45deg)}.transform-\[scale\(0\)\]{transform:scale(0)}.transform-\[scale\(1\)\]{transform:scale(1)}.transform-\[translateX\(-1px\)\]{transform:translate(-1px)}.transform-\[translateX\(-50\%\)\]{transform:translate(-50%)}.transform-\[translateX\(0\)\]{transform:translate(0)}.transform-\[translateX\(100\%\)\]{transform:translate(100%)}.transform-\[translateY\(-50\%\)\]{transform:translateY(-50%)}.animate-shake{animation:var(--animate-shake)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize\!{resize:both!important}.resize-none{resize:none}.appearance-none{appearance:none}.grid-flow-col{grid-auto-flow:column}.\!grid-cols-\[auto_1fr_auto\]{grid-template-columns:auto 1fr auto!important}.\[grid-template-columns\:repeat\(auto-fill\,minmax\(300px\,1fr\)\)\]{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.grid-cols-\[auto_1fr_auto\]{grid-template-columns:auto 1fr auto}.grid-cols-\[auto_9fr_1fr\]{grid-template-columns:auto 9fr 1fr}.grid-cols-\[auto_minmax\(0\,1fr\)\]{grid-template-columns:auto minmax(0,1fr)}.\[grid-template-rows\:0fr\]{grid-template-rows:0fr}.\[grid-template-rows\:1fr\]{grid-template-rows:1fr}.grid-rows-\[52px_auto\]{grid-template-rows:52px auto}.grid-rows-\[auto_1fr_auto\]{grid-template-rows:auto 1fr auto}.grid-rows-\[auto_auto_1fr\]{grid-template-rows:auto auto 1fr}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.flex-wrap-reverse{flex-wrap:wrap-reverse}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-evenly{justify-content:space-evenly}.justify-start{justify-content:flex-start}.gap-0{gap:calc(var(--spacing) * 0)}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-7{gap:calc(var(--spacing) * 7)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overflow-y-hidden{overflow-y:hidden}.\!rounded-sm{border-radius:var(--radius-sm)!important}.rounded{border-radius:.25rem}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-4xl{border-radius:var(--radius-4xl)}.rounded-\[50\%\]{border-radius:50%}.rounded-\[500px\]{border-radius:500px}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-t-sm{border-top-left-radius:var(--radius-sm);border-top-right-radius:var(--radius-sm)}.rounded-t-xl{border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-l-xl{border-top-left-radius:var(--radius-xl);border-bottom-left-radius:var(--radius-xl)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-b-sm{border-bottom-right-radius:var(--radius-sm);border-bottom-left-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-role-error{border-color:var(--color-role-error)}.border-role-on-chrome{border-color:var(--color-role-on-chrome)}.border-role-outline{border-color:var(--color-role-outline)}.border-role-outline-variant{border-color:var(--color-role-outline-variant)}.border-role-primary{border-color:var(--color-role-primary)}.border-role-secondary{border-color:var(--color-role-secondary)}.border-role-surface-container-highest{border-color:var(--color-role-surface-container-highest)}.border-role-tertiary{border-color:var(--color-role-tertiary)}.border-b-role-outline-variant{border-bottom-color:var(--color-role-outline-variant)}.\!bg-green-200{background-color:var(--color-green-200)!important}.\!bg-red-200{background-color:var(--color-red-200)!important}.\!bg-role-secondary-container{background-color:var(--color-role-secondary-container)!important}.bg-black\/40{background-color:#0006}@supports (color:color-mix(in lab,red,red)){.bg-black\/40{background-color:color-mix(in oklab,var(--color-black) 40%,transparent)}}.bg-gray-100{background-color:var(--color-gray-100)}.bg-red-600{background-color:var(--color-red-600)}.bg-role-chrome{background-color:var(--color-role-chrome)}.bg-role-error{background-color:var(--color-role-error)}.bg-role-on-secondary-container{background-color:var(--color-role-on-secondary-container)}.bg-role-primary,.bg-role-primary\/50{background-color:var(--color-role-primary)}@supports (color:color-mix(in lab,red,red)){.bg-role-primary\/50{background-color:color-mix(in oklab,var(--color-role-primary) 50%,transparent)}}.bg-role-secondary{background-color:var(--color-role-secondary)}.bg-role-secondary-container{background-color:var(--color-role-secondary-container)}.bg-role-shadow{background-color:var(--color-role-shadow)}.bg-role-surface{background-color:var(--color-role-surface)}.bg-role-surface-container{background-color:var(--color-role-surface-container)}.bg-role-surface-container-high{background-color:var(--color-role-surface-container-high)}.bg-role-surface-container-highest{background-color:var(--color-role-surface-container-highest)}.bg-role-surface-variant{background-color:var(--color-role-surface-variant)}.bg-role-tertiary{background-color:var(--color-role-tertiary)}.bg-sky-600\/20{background-color:#0084cc33}@supports (color:color-mix(in lab,red,red)){.bg-sky-600\/20{background-color:color-mix(in oklab,var(--color-sky-600) 20%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\/80{background-color:#fffc}@supports (color:color-mix(in lab,red,red)){.bg-white\/80{background-color:color-mix(in oklab,var(--color-white) 80%,transparent)}}.mask-linear-\[180deg\,black\,80\%\,transparent\]{-webkit-mask-image:var(--tw-mask-linear),var(--tw-mask-radial),var(--tw-mask-conic);mask-image:var(--tw-mask-linear),var(--tw-mask-radial),var(--tw-mask-conic);--tw-mask-linear:linear-gradient(var(--tw-mask-linear-stops,var(--tw-mask-linear-position)));--tw-mask-linear-position:180deg,black,80%,transparent;-webkit-mask-composite:source-in;mask-composite:intersect}.bg-contain{background-size:contain}.bg-size-\[18px\]{background-size:18px}.bg-center{background-position:50%}.bg-no-repeat{background-repeat:no-repeat}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing) * 0)}.p-1{padding:calc(var(--spacing) * 1)}.p-1\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.p-12{padding:calc(var(--spacing) * 12)}.p-24{padding:calc(var(--spacing) * 24)}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-7{padding-inline:calc(var(--spacing) * 7)}.\!py-\[1px\]{padding-block:1px!important}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-\[1px\]{padding-block:1px}.pt-0{padding-top:calc(var(--spacing) * 0)}.pt-1{padding-top:calc(var(--spacing) * 1)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-12{padding-top:calc(var(--spacing) * 12)}.pr-0{padding-right:calc(var(--spacing) * 0)}.pr-1{padding-right:calc(var(--spacing) * 1)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-7{padding-right:calc(var(--spacing) * 7)}.pr-12{padding-right:calc(var(--spacing) * 12)}.pr-24{padding-right:calc(var(--spacing) * 24)}.pb-0{padding-bottom:calc(var(--spacing) * 0)}.pb-1{padding-bottom:calc(var(--spacing) * 1)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pl-0{padding-left:calc(var(--spacing) * 0)}.pl-1{padding-left:calc(var(--spacing) * 1)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-6{padding-left:calc(var(--spacing) * 6)}.pl-8{padding-left:calc(var(--spacing) * 8)}.pl-12{padding-left:calc(var(--spacing) * 12)}.pl-24{padding-left:calc(var(--spacing) * 24)}.text-center{text-align:center}.text-end{text-align:end}.text-justify{text-align:justify}.text-left{text-align:left}.text-right{text-align:right}.align-baseline{vertical-align:baseline}.align-bottom{vertical-align:bottom}.align-middle{vertical-align:middle}.align-sub{vertical-align:sub}.align-text-bottom{vertical-align:text-bottom}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-2{--tw-leading:calc(var(--spacing) * 2);line-height:calc(var(--spacing) * 2)}.leading-4{--tw-leading:calc(var(--spacing) * 4);line-height:calc(var(--spacing) * 4)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-7{--tw-leading:calc(var(--spacing) * 7);line-height:calc(var(--spacing) * 7)}.leading-\[1\.2\]{--tw-leading:1.2;line-height:1.2}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-wrap{text-wrap:wrap}.break-normal{overflow-wrap:normal;word-break:normal}.wrap-anywhere{overflow-wrap:anywhere}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.break-keep{word-break:keep-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.\!text-green-800{color:var(--color-green-800)!important}.\!text-green-900{color:var(--color-green-900)!important}.\!text-red-900{color:var(--color-red-900)!important}.text-role-error{color:var(--color-role-error)}.text-role-on-chrome{color:var(--color-role-on-chrome)}.text-role-on-error{color:var(--color-role-on-error)}.text-role-on-primary{color:var(--color-role-on-primary)}.text-role-on-secondary{color:var(--color-role-on-secondary)}.text-role-on-surface{color:var(--color-role-on-surface)}.text-role-on-surface-variant{color:var(--color-role-on-surface-variant)}.text-role-on-tertiary{color:var(--color-role-on-tertiary)}.text-role-primary{color:var(--color-role-primary)}.text-role-secondary{color:var(--color-role-secondary)}.text-role-tertiary{color:var(--color-role-tertiary)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.italic\!{font-style:italic!important}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.line-through{text-decoration-line:line-through}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.underline\!{text-decoration-line:underline!important}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-20{opacity:.2}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.opacity-100{opacity:1}.shadow-md\/20{--tw-shadow-alpha:20%;--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,oklab(0% 0 0/.2)), 0 2px 4px -2px var(--tw-shadow-color,oklab(0% 0 0/.2));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm\/10{--tw-shadow-alpha:10%;--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,oklab(0% 0 0/.1)), 0 1px 2px -1px var(--tw-shadow-color,oklab(0% 0 0/.1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-4{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-ring-1{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-0{outline-style:var(--tw-outline-style);outline-width:0}.outline-1{outline-style:var(--tw-outline-style);outline-width:1px}.outline-2{outline-style:var(--tw-outline-style);outline-width:2px}.outline-offset-\[-1px\]{outline-offset:-1px}.outline-role-outline{outline-color:var(--color-role-outline)}.outline-role-outline-variant{outline-color:var(--color-role-outline-variant)}.outline-role-secondary{outline-color:var(--color-role-secondary)}.outline-role-surface-container-highest{outline-color:var(--color-role-surface-container-highest)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.brightness-72{--tw-brightness:brightness(72%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.brightness-82{--tw-brightness:brightness(82%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a)) drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.grayscale-60{--tw-grayscale:grayscale(60%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.sepia{--tw-sepia:sepia(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background\]{transition-property:background;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[border\]{transition-property:border;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[gap\]{transition-property:gap;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[right\]{transition-property:right;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[visibility\]{transition-property:visibility;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-none{transition-property:none}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-250{--tw-duration:.25s;transition-duration:.25s}.duration-350{--tw-duration:.35s;transition-duration:.35s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-\[0\.4s\,0s\]{--tw-duration:.4s,0s;transition-duration:.4s,0s}.ease-\[cubic-bezier\(0\.34\,0\.11\,0\,1\.12\)\]{--tw-ease:cubic-bezier(.34,.11,0,1.12);transition-timing-function:cubic-bezier(.34,.11,0,1.12)}.ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-all{-webkit-user-select:all;user-select:all}.select-none{-webkit-user-select:none;user-select:none}.not-disabled\:cursor-pointer:not(:disabled){cursor:pointer}.not-\[\.oc-filter-chip-toggle_\.oc-filter-chip-clear\]\:ml-\[1px\]:not(:is(.oc-filter-chip-toggle .oc-filter-chip-clear)){margin-left:1px}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:block:before{content:var(--tw-content);display:block}.before\:size-3:before{content:var(--tw-content);width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.before\:rounded-\[50\%\]:before{content:var(--tw-content);border-radius:50%}.before\:content-\[\'\'\]:before{--tw-content:"";content:var(--tw-content)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:relative:after{content:var(--tw-content);position:relative}.after\:inset-0:after{content:var(--tw-content);inset:calc(var(--spacing) * 0)}.after\:top-0:after{content:var(--tw-content);top:calc(var(--spacing) * 0)}.after\:left-0:after{content:var(--tw-content);left:calc(var(--spacing) * 0)}.after\:block:after{content:var(--tw-content);display:block}.after\:size-full:after{content:var(--tw-content);width:100%;height:100%}.after\:h-full:after{content:var(--tw-content);height:100%}.after\:w-0:after{content:var(--tw-content);width:calc(var(--spacing) * 0)}.after\:transform-\[translateX\(-100\%\)\]:after{content:var(--tw-content);transform:translate(-100%)}.after\:animate-loading-bar:after{content:var(--tw-content);animation:var(--animate-loading-bar)}.after\:animate-shimmer:after{content:var(--tw-content);animation:var(--animate-shimmer)}.after\:rounded-full:after{content:var(--tw-content);border-radius:3.40282e38px}.after\:border:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:1px}.after\:border-current:after{content:var(--tw-content);border-color:currentColor}.after\:border-b-transparent:after{content:var(--tw-content);border-bottom-color:#0000}.after\:bg-role-secondary:after{content:var(--tw-content);background-color:var(--color-role-secondary)}.after\:bg-transparent:after{content:var(--tw-content);background-color:#0000}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:mt-0:first-child{margin-top:calc(var(--spacing) * 0)}.first\:rounded-l-md:first-child{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.first\:rounded-l-sm:first-child{border-top-left-radius:var(--radius-sm);border-bottom-left-radius:var(--radius-sm)}.first\:text-base:first-child{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.last\:mb-0:last-child{margin-bottom:calc(var(--spacing) * 0)}.last\:rounded-r-md:last-child{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.last\:rounded-r-sm:last-child{border-top-right-radius:var(--radius-sm);border-bottom-right-radius:var(--radius-sm)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.checked\:bg-role-secondary-container:checked{background-color:var(--color-role-secondary-container)}.checked\:bg-white:checked,.indeterminate\:bg-white:indeterminate{background-color:var(--color-white)}@media(hover:hover){.hover\:bg-role-secondary:hover{background-color:var(--color-role-secondary)}.hover\:bg-role-surface-container:hover{background-color:var(--color-role-surface-container)}.hover\:bg-role-surface-container-highest:hover{background-color:var(--color-role-surface-container-highest)}.hover\:bg-role-surface-variant:hover{background-color:var(--color-role-surface-variant)}.hover\:bg-transparent:hover{background-color:#0000}.hover\:p-2:hover{padding:calc(var(--spacing) * 2)}.hover\:text-role-on-primary:hover{color:var(--color-role-on-primary)}.hover\:text-role-on-secondary:hover{color:var(--color-role-on-secondary)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:outline-offset-0:hover{outline-offset:0px}}.focus\:top-0:focus{top:calc(var(--spacing) * 0)}.focus\:z-90:focus{z-index:90}.focus\:border:focus{border-style:var(--tw-border-style);border-width:1px}.focus\:border-0:focus{border-style:var(--tw-border-style);border-width:0}.focus\:border-dashed:focus{--tw-border-style:dashed;border-style:dashed}.focus\:border-role-outline:focus{border-color:var(--color-role-outline)}.focus\:border-white:focus{border-color:var(--color-white)}.focus\:bg-role-surface-container-highest:focus{background-color:var(--color-role-surface-container-highest)}.focus\:bg-none:focus{background-image:none}.focus\:text-role-error:focus{color:var(--color-role-error)}.focus\:shadow-none:focus{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:outline-0:focus{outline-style:var(--tw-outline-style);outline-width:0}.focus\:outline-2:focus{outline-style:var(--tw-outline-style);outline-width:2px}.focus\:outline-offset-0:focus{outline-offset:0px}.focus\:outline-role-outline:focus{outline-color:var(--color-role-outline)}.focus-visible\:shadow-none:focus-visible{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\:outline-0:focus-visible{outline-style:var(--tw-outline-style);outline-width:0}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-role-surface-container-low:disabled{background-color:var(--color-role-surface-container-low)}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-60:disabled{opacity:.6}.aria-\[sort\]\:cursor-pointer[aria-sort]{cursor:pointer}@media(prefers-reduced-motion:no-preference){.motion-safe\:animate-fade-in{animation:var(--animate-fade-in)}}@media(prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media(min-width:580px){.xs\:w-xs{width:var(--container-xs)}}@media(min-width:640px){.sm\:visible{visibility:visible}.sm\:relative{position:relative}.sm\:left-auto{left:auto}.sm\:z-auto{z-index:auto}.sm\:col-2{grid-column:2}.sm\:row-1{grid-row:1}.sm\:m-0{margin:calc(var(--spacing) * 0)}.sm\:mx-0{margin-inline:calc(var(--spacing) * 0)}.sm\:block{display:block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:h-13{height:calc(var(--spacing) * 13)}.sm\:w-2xs{width:var(--container-2xs)}.sm\:w-fit{width:fit-content}.sm\:w-md{width:var(--container-md)}.sm\:w-sm{width:var(--container-sm)}.sm\:min-w-xs{min-width:var(--container-xs)}.sm\:\[grid-template-columns\:repeat\(auto-fit\,minmax\(min\(335px\,100\%\)\,335px\)\)\]{grid-template-columns:repeat(auto-fit,minmax(min(335px,100%),335px))}.sm\:flex-wrap{flex-wrap:wrap}.sm\:justify-center{justify-content:center}.sm\:gap-5{gap:calc(var(--spacing) * 5)}.sm\:gap-10{gap:calc(var(--spacing) * 10)}.sm\:bg-transparent{background-color:#0000}.sm\:first\:pt-0:first-child{padding-top:calc(var(--spacing) * 0)}.sm\:last\:pb-0:last-child{padding-bottom:calc(var(--spacing) * 0)}}@media(min-width:960px){.md\:pointer-events-none{pointer-events:none}.md\:visible{visibility:visible}.md\:fixed{position:fixed}.md\:inset-0{inset:calc(var(--spacing) * 0)}.md\:top-auto{top:auto}.md\:right-8{right:calc(var(--spacing) * 8)}.md\:bottom-2{bottom:calc(var(--spacing) * 2)}.md\:left-auto{left:auto}.md\:ml-\[230px\]{margin-left:230px}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:inline-flex{display:inline-flex}.md\:table-cell{display:table-cell}.md\:table-row{display:table-row}.md\:h-\[800px\]{height:800px}.md\:max-h-\[360px\]{max-height:360px}.md\:w-1\/4{width:25%}.md\:w-2\/4{width:50%}.md\:w-\[30\%\]{width:30%}.md\:w-\[40\%\]{width:40%}.md\:w-\[720px\]{width:720px}.md\:w-auto{width:auto}.md\:w-lg{width:var(--container-lg)}.md\:w-md{width:var(--container-md)}.md\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:items-center{align-items:center}.md\:justify-end{justify-content:flex-end}.md\:justify-normal{justify-content:normal}.md\:rounded-xl{border-radius:var(--radius-xl)}.md\:border{border-style:var(--tw-border-style);border-width:1px}.md\:border-r-2{border-right-style:var(--tw-border-style);border-right-width:2px}.md\:border-role-outline-variant{border-color:var(--color-role-outline-variant)}.md\:px-0{padding-inline:calc(var(--spacing) * 0)}.md\:py-0{padding-block:calc(var(--spacing) * 0)}.md\:pt-0{padding-top:calc(var(--spacing) * 0)}.md\:pb-0{padding-bottom:calc(var(--spacing) * 0)}}@media(min-width:1200px){.lg\:mb-2{margin-bottom:calc(var(--spacing) * 2)}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:w-3\/4{width:75%}.lg\:w-full{width:100%}.lg\:w-lg{width:var(--container-lg)}.lg\:grid-cols-\[repeat\(auto-fill\,minmax\(280px\,1fr\)\)\]{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media(min-width:1600px){.xl\:flex{display:flex}.xl\:w-1\/2{width:50%}.xl\:w-2xl{width:var(--container-2xl)}.xl\:items-center{align-items:center}}.\[\&_\*\]\:pointer-events-none *{pointer-events:none}.\[\&_\.action-menu-item\]\:gap-1 .action-menu-item{gap:calc(var(--spacing) * 1)}.\[\&_\.action-menu-item\]\:p-2 .action-menu-item{padding:calc(var(--spacing) * 2)}.\[\&_\.cm-content\]\:\!font-\(family-name\:--oc-font-family\) .cm-content{font-family:var(--oc-font-family)!important}.\[\&_\.cropper-crop-box\]\:\!rounded-\[50\%\] .cropper-crop-box{border-radius:50%!important}.\[\&_\.cropper-crop-box\]\:\!outline-1 .cropper-crop-box{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.\[\&_\.cropper-crop-box\]\:\!outline-role-outline .cropper-crop-box{outline-color:var(--color-role-outline)!important}.\[\&_\.cropper-line\]\:\!bg-role-outline .cropper-line,.\[\&_\.cropper-point\]\:\!bg-role-outline .cropper-point{background-color:var(--color-role-outline)!important}.\[\&_\.cropper-view-box\]\:\!rounded-\[50\%\] .cropper-view-box{border-radius:50%!important}.\[\&_\.mark-highlight\]\:font-semibold .mark-highlight{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.\[\&_\.md-editor-preview\]\:\!font-\(family-name\:--oc-font-family\) .md-editor-preview{font-family:var(--oc-font-family)!important}.\[\&_\.oc-drop\]\:w-3xs .oc-drop{width:var(--container-3xs)}.\[\&_\.oc-drop\]\:w-45 .oc-drop{width:calc(var(--spacing) * 45)}.\[\&_\.oc-files-context-action-label\]\:hidden .oc-files-context-action-label{display:none}.\[\&_\.oc-filter-chip-button\]\:pr-0 .oc-filter-chip-button{padding-right:calc(var(--spacing) * 0)}.\[\&_\.oc-filter-chip-label\]\:text-sm .oc-filter-chip-label{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.\[\&_\.oc-resource-details\]\:pl-1 .oc-resource-details{padding-left:calc(var(--spacing) * 1)}.\[\&_\.oc-resource-name\]\:max-w-60 .oc-resource-name{max-width:calc(var(--spacing) * 60)}@media(min-width:580px){.xs\:\[\&_\.oc-resource-name\]\:max-w-full .oc-resource-name{max-width:100%}}@media(min-width:640px){.sm\:\[\&_\.oc-resource-name\]\:max-w-20 .oc-resource-name{max-width:calc(var(--spacing) * 20)}}@media(min-width:960px){.md\:\[\&_\.oc-resource-name\]\:max-w-60 .oc-resource-name{max-width:calc(var(--spacing) * 60)}}.\[\&_\.oc-text-input-message\]\:justify-center .oc-text-input-message{justify-content:center}.\[\&_\.parent-folder\]\:text-role-on-chrome .parent-folder{color:var(--color-role-on-chrome)}.\[\&_\.tile-default-image_svg\]\:opacity-80 .tile-default-image svg{opacity:.8}.\[\&_\.tile-default-image_svg\]\:grayscale .tile-default-image svg{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.\[\&_\.tile-preview\]\:opacity-80 .tile-preview{opacity:.8}.\[\&_\.tile-preview\]\:grayscale .tile-preview{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.\[\&_\.vs\\\\_\\\\_actions\]\:\!hidden .vs__actions{display:none!important}.\[\&_\.vs\\\\_\\\\_actions\]\:\!flex-nowrap .vs__actions{flex-wrap:nowrap!important}.\[\&_\.vs\\\\_\\\\_dropdown-menu\]\:\!min-w-25 .vs__dropdown-menu{min-width:calc(var(--spacing) * 25)!important}.\[\&_\.vs\\_\\_actions\]\:\!hidden .vs__actions{display:none!important}.\[\&_\.vs\\_\\_actions\]\:\!flex-nowrap .vs__actions{flex-wrap:nowrap!important}.\[\&_\.vs\\_\\_dropdown-menu\]\:\!min-w-25 .vs__dropdown-menu{min-width:calc(var(--spacing) * 25)!important}.\[\&_button\]\:items-center button{align-items:center}.\[\&_dd\]\:col-start-2 dd{grid-column-start:2}.\[\&_dl\]\:grid dl{display:grid}.\[\&_dl\]\:grid-cols-\[max-content_auto\] dl{grid-template-columns:max-content auto}.\[\&_dl\]\:gap-x-4 dl{column-gap:calc(var(--spacing) * 4)}.\[\&_dl\]\:gap-y-1 dl{row-gap:calc(var(--spacing) * 1)}.\[\&_dt\]\:col-start-1 dt{grid-column-start:1}.\[\&_input\]\:w-auto input{width:auto}.\[\&_input\]\:not-\[\.oc-checkbox-checked\]\:bg-role-surface-container input:not(.oc-checkbox-checked){background-color:var(--color-role-surface-container)}@media(min-width:960px){.md\:\[\&_input\]\:w-sm input{width:var(--container-sm)}}.\[\&_label\]\:text-sm label{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.\[\&_li\]\:px-0 li{padding-inline:calc(var(--spacing) * 0)}.\[\&_mark\]\:bg-yellow-200 mark{background-color:var(--color-yellow-200)}.\[\&_mark\]\:font-semibold mark{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.\[\&_span\]\:break-all span{word-break:break-all}.\[\&_span\]\:text-role-on-chrome span{color:var(--color-role-on-chrome)}.\[\&_svg\]\:block svg{display:block}.\[\&_svg\]\:h-5\.5\! svg{height:calc(var(--spacing) * 5.5)!important}.\[\&_svg\]\:h-\[70\%\] svg{height:70%}.\[\&_svg\]\:\!fill-role-on-chrome svg{fill:var(--color-role-on-chrome)!important}.\[\&_svg\]\:transition-colors svg{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.\[\&_svg\]\:duration-200 svg{--tw-duration:.2s;transition-duration:.2s}.\[\&_svg\]\:ease-in-out svg{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}@media(hover:hover){.\[\&_svg\]\:hover\:\!fill-role-on-secondary svg:hover{fill:var(--color-role-on-secondary)!important}}@media(min-width:640px){.sm\:\[\&_svg\]\:h-full svg{height:100%}}.\[\&\.active\]\:bottom-0.active{bottom:calc(var(--spacing) * 0)}.\[\&\.collapsed\]\:max-h-\[150px\].collapsed{max-height:150px}.\[\&\.collapsed\]\:max-h-\[300px\].collapsed{max-height:300px}.\[\&\.collapsed\]\:overflow-hidden.collapsed{overflow:hidden}.\[\&\.disabled\]\:pointer-events-none.disabled{pointer-events:none}.\[\&\.disabled\]\:opacity-70.disabled{opacity:.7}.\[\&\.disabled\]\:grayscale-60.disabled{--tw-grayscale:grayscale(60%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.\[\&\.item-accentuated\]\:bg-role-secondary-container.item-accentuated{background-color:var(--color-role-secondary-container)}.\[\&\.oc-drop\]\:overflow-visible.oc-drop{overflow:visible}.\[\&\:hover\:not\(\:disabled\)_svg\]\:\!fill-role-chrome:hover:not(:disabled) svg{fill:var(--color-role-chrome)!important}.\[\&\>\*\]\:flex>*{display:flex}.\[\&\>\*\]\:flex-1>*{flex:1}.\[\&\>\*\]\:justify-between>*{justify-content:space-between}.\[\&\>\*\]\:transition-transform>*{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.\[\&\>\*\]\:duration-200>*{--tw-duration:.2s;transition-duration:.2s}.\[\&\>\*\]\:ease-out>*{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.\[\&\>\*\]\:not-first\:-ml-3>:not(:first-child){margin-left:calc(var(--spacing) * -3)}@media(hover:hover){.\[\&\>\*\]\:hover\:\!z-1000>:hover{z-index:1000!important}.\[\&\>\*\]\:hover\:transform-\[scale\(1\.1\)\]>:hover{transform:scale(1.1)}}.\[\&\>a\]\:text-role-on-surface>a{color:var(--color-role-on-surface)}}:host,:root{--oc-color-icon-archive:#fbbe54;--oc-color-icon-audio:#700460;--oc-color-icon-code:#171c1f;--oc-color-icon-document:#3b44a6;--oc-color-icon-drawio:#ff6f00;--oc-color-icon-epub:#f4bb44;--oc-color-icon-file:#171c1f;--oc-color-icon-folder:#4d7eaf;--oc-color-icon-form:#66a6a3;--oc-color-icon-graphic:#ebc94a;--oc-color-icon-ifc:#d043ec;--oc-color-icon-image:#ee6b3b;--oc-color-icon-jupyter:#f37726;--oc-color-icon-markdown:#4b6489;--oc-color-icon-medical:#0984db;--oc-color-icon-notes:#f4bb44;--oc-color-icon-pdf:#ec0d47;--oc-color-icon-presentation:#ee6b3b;--oc-color-icon-root:#00bbdb;--oc-color-icon-spreadsheet:#15c286;--oc-color-icon-text:#171c1f;--oc-color-icon-video:#045459;--oc-font-family:OpenCloud, Inter, sans-serif;--oc-role-background:#fff;--oc-role-chrome:#20434f;--oc-role-error:#ba1a1a;--oc-role-error-container:#ffdad6;--oc-role-inverse-on-surface:#eff1f2;--oc-role-inverse-primary:#5cd5fb;--oc-role-inverse-surface:#2e3132;--oc-role-on-background:#191c1d;--oc-role-on-chrome:#fff;--oc-role-on-error:#fff;--oc-role-on-error-container:#410002;--oc-role-on-primary:#fff;--oc-role-on-primary-container:#001f28;--oc-role-on-primary-fixed:#001f28;--oc-role-on-secondary:#fff;--oc-role-on-secondary-container:#071e26;--oc-role-on-secondary-fixed:#071e26;--oc-role-on-surface:#191c1d;--oc-role-on-surface-variant:#40484c;--oc-role-on-tertiary:#fff;--oc-role-on-tertiary-container:#171937;--oc-role-on-tertiary-fixed:#171937;--oc-role-outline:#70787c;--oc-role-outline-variant:#bfc8cc;--oc-role-primary:#00677f;--oc-role-primary-container:#b7eaff;--oc-role-primary-fixed:#b7eaff;--oc-role-scrim:#000;--oc-role-secondary:#20434f;--oc-role-secondary-container:#cfe6f1;--oc-role-secondary-fixed:#cfe6f1;--oc-role-shadow:#000;--oc-role-surface:#fff;--oc-role-surface-bright:#f8f9fb;--oc-role-surface-container:#f6f8fa;--oc-role-surface-container-high:#f2f4f5;--oc-role-surface-container-highest:#eceef0;--oc-role-surface-container-low:#fbfcfe;--oc-role-surface-container-lowest:#fff;--oc-role-surface-dim:#d8dadc;--oc-role-surface-tint:#715289;--oc-role-surface-variant:#dbe4e8;--oc-role-tertiary:#5a5c7e;--oc-role-tertiary-container:#e0e0ff;--oc-role-tertiary-fixed:#e0e0ff}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-mask-linear{syntax:"*";inherits:false;initial-value:linear-gradient(#fff,#fff)}@property --tw-mask-radial{syntax:"*";inherits:false;initial-value:linear-gradient(#fff,#fff)}@property --tw-mask-conic{syntax:"*";inherits:false;initial-value:linear-gradient(#fff,#fff)}@property --tw-mask-linear-position{syntax:"*";inherits:false;initial-value:0deg}@property --tw-mask-linear-from-position{syntax:"*";inherits:false;initial-value:0%}@property --tw-mask-linear-to-position{syntax:"*";inherits:false;initial-value:100%}@property --tw-mask-linear-from-color{syntax:"*";inherits:false;initial-value:black}@property --tw-mask-linear-to-color{syntax:"*";inherits:false;initial-value:transparent}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shake{10%,20%,50%,60%{transform:translate(-1px)}30%,40%,70%,80%{transform:translate(1px)}}@keyframes shimmer{to{transform:translate(100%)}}@keyframes loading-bar{0%{width:0;left:0}50%{width:66%;left:0}to{width:10%;left:100%}}@keyframes fade-in{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@layer components{.oc-bottom-drawer[data-v-df74be93]{z-index:100}}@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-outline-style:solid}}}@layer components{.oc-button:not(.oc-button-raw,.oc-button-raw-inverse){padding-inline:calc(var(--spacing,4px) * 2.5);padding-block:calc(var(--spacing,4px) * 1.5)}.oc-button{border-radius:var(--radius-sm,.25rem);align-items:center;display:inline-flex}.oc-button-group{border-radius:var(--radius-sm,.25rem);outline-style:var(--tw-outline-style);outline-offset:-1px;outline-width:1px;outline-color:var(--color-role-secondary,var(--oc-role-secondary));flex-flow:wrap;display:inline-flex}.oc-button-group .oc-button{outline-style:var(--tw-outline-style);border-radius:0;outline-width:0}.oc-button-group .oc-button:first-child{border-top-left-radius:var(--radius-sm,.25rem);border-bottom-left-radius:var(--radius-sm,.25rem)}.oc-button-group .oc-button:last-child{border-top-right-radius:var(--radius-sm,.25rem);border-bottom-right-radius:var(--radius-sm,.25rem)}}@layer components{.oc-button-primary-raw,.oc-button-primary-raw-inverse{background-color:transparent;color:var(--oc-role-primary)}.oc-button-primary-raw .oc-icon>svg,.oc-button-primary-raw-inverse .oc-icon>svg{fill:var(--oc-role-primary)}.oc-button-primary-raw:focus:not([disabled]):not(button),.oc-button-primary-raw:hover:not([disabled]):not(button),.oc-button-primary-raw-inverse:focus:not([disabled]):not(button),.oc-button-primary-raw-inverse:hover:not([disabled]):not(button){background-color:transparent}.oc-button-primary-raw:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-primary-raw:hover:not([disabled]):not(.active):not(.no-hover),.oc-button-primary-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-primary-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover){background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)}.oc-button-primary-raw:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-primary-raw:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-primary-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-primary-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-primary-raw-inverse{color:var(--oc-role-on-primary)}.oc-button-primary-raw-inverse .oc-icon>svg{fill:var(--oc-role-on-primary)}.oc-button-primary-filled{background-color:var(--oc-role-primary);color:var(--oc-role-on-primary)!important}.oc-button-primary-filled .oc-icon>svg{fill:var(--oc-role-on-primary)}.oc-button-primary-outline{outline:1px solid var(--oc-role-primary);outline-offset:-1px;background-color:transparent;color:var(--oc-role-primary)}.oc-button-primary-outline .oc-icon>svg{fill:var(--oc-role-primary)}.oc-button-primary-container-raw,.oc-button-primary-container-raw-inverse{background-color:transparent;color:var(--oc-role-primary-container)}.oc-button-primary-container-raw .oc-icon>svg,.oc-button-primary-container-raw-inverse .oc-icon>svg{fill:var(--oc-role-primary-container)}.oc-button-primary-container-raw:focus:not([disabled]):not(button),.oc-button-primary-container-raw:hover:not([disabled]):not(button),.oc-button-primary-container-raw-inverse:focus:not([disabled]):not(button),.oc-button-primary-container-raw-inverse:hover:not([disabled]):not(button){background-color:transparent}.oc-button-primary-container-raw:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-primary-container-raw:hover:not([disabled]):not(.active):not(.no-hover),.oc-button-primary-container-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-primary-container-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover){background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)}.oc-button-primary-container-raw:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-primary-container-raw:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-primary-container-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-primary-container-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-primary-container-raw-inverse{color:var(--oc-role-on-primary-container)}.oc-button-primary-container-raw-inverse .oc-icon>svg{fill:var(--oc-role-on-primary-container)}.oc-button-primary-container-filled{background-color:var(--oc-role-primary-container);color:var(--oc-role-on-primary-container)!important}.oc-button-primary-container-filled .oc-icon>svg{fill:var(--oc-role-on-primary-container)}.oc-button-primary-container-outline{outline:1px solid var(--oc-role-primary-container);outline-offset:-1px;background-color:transparent;color:var(--oc-role-primary-container)}.oc-button-primary-container-outline .oc-icon>svg{fill:var(--oc-role-primary-container)}.oc-button-primary-fixed-raw,.oc-button-primary-fixed-raw-inverse{background-color:transparent;color:var(--oc-role-primary-fixed)}.oc-button-primary-fixed-raw .oc-icon>svg,.oc-button-primary-fixed-raw-inverse .oc-icon>svg{fill:var(--oc-role-primary-fixed)}.oc-button-primary-fixed-raw:focus:not([disabled]):not(button),.oc-button-primary-fixed-raw:hover:not([disabled]):not(button),.oc-button-primary-fixed-raw-inverse:focus:not([disabled]):not(button),.oc-button-primary-fixed-raw-inverse:hover:not([disabled]):not(button){background-color:transparent}.oc-button-primary-fixed-raw:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-primary-fixed-raw:hover:not([disabled]):not(.active):not(.no-hover),.oc-button-primary-fixed-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-primary-fixed-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover){background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)}.oc-button-primary-fixed-raw:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-primary-fixed-raw:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-primary-fixed-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-primary-fixed-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-primary-fixed-raw-inverse{color:var(--oc-role-on-primary-fixed)}.oc-button-primary-fixed-raw-inverse .oc-icon>svg{fill:var(--oc-role-on-primary-fixed)}.oc-button-primary-fixed-filled{background-color:var(--oc-role-primary-fixed);color:var(--oc-role-on-primary-fixed)!important}.oc-button-primary-fixed-filled .oc-icon>svg{fill:var(--oc-role-on-primary-fixed)}.oc-button-primary-fixed-outline{outline:1px solid var(--oc-role-primary-fixed);outline-offset:-1px;background-color:transparent;color:var(--oc-role-primary-fixed)}.oc-button-primary-fixed-outline .oc-icon>svg{fill:var(--oc-role-primary-fixed)}.oc-button-secondary-raw,.oc-button-secondary-raw-inverse{background-color:transparent;color:var(--oc-role-secondary)}.oc-button-secondary-raw .oc-icon>svg,.oc-button-secondary-raw-inverse .oc-icon>svg{fill:var(--oc-role-secondary)}.oc-button-secondary-raw:focus:not([disabled]):not(button),.oc-button-secondary-raw:hover:not([disabled]):not(button),.oc-button-secondary-raw-inverse:focus:not([disabled]):not(button),.oc-button-secondary-raw-inverse:hover:not([disabled]):not(button){background-color:transparent}.oc-button-secondary-raw:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-secondary-raw:hover:not([disabled]):not(.active):not(.no-hover),.oc-button-secondary-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-secondary-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover){background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)}.oc-button-secondary-raw:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-secondary-raw:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-secondary-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-secondary-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-secondary-raw-inverse{color:var(--oc-role-on-secondary)}.oc-button-secondary-raw-inverse .oc-icon>svg{fill:var(--oc-role-on-secondary)}.oc-button-secondary-filled{background-color:var(--oc-role-secondary);color:var(--oc-role-on-secondary)!important}.oc-button-secondary-filled .oc-icon>svg{fill:var(--oc-role-on-secondary)}.oc-button-secondary-outline{outline:1px solid var(--oc-role-secondary);outline-offset:-1px;background-color:transparent;color:var(--oc-role-secondary)}.oc-button-secondary-outline .oc-icon>svg{fill:var(--oc-role-secondary)}.oc-button-secondary-container-raw,.oc-button-secondary-container-raw-inverse{background-color:transparent;color:var(--oc-role-secondary-container)}.oc-button-secondary-container-raw .oc-icon>svg,.oc-button-secondary-container-raw-inverse .oc-icon>svg{fill:var(--oc-role-secondary-container)}.oc-button-secondary-container-raw:focus:not([disabled]):not(button),.oc-button-secondary-container-raw:hover:not([disabled]):not(button),.oc-button-secondary-container-raw-inverse:focus:not([disabled]):not(button),.oc-button-secondary-container-raw-inverse:hover:not([disabled]):not(button){background-color:transparent}.oc-button-secondary-container-raw:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-secondary-container-raw:hover:not([disabled]):not(.active):not(.no-hover),.oc-button-secondary-container-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-secondary-container-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover){background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)}.oc-button-secondary-container-raw:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-secondary-container-raw:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-secondary-container-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-secondary-container-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-secondary-container-raw-inverse{color:var(--oc-role-on-secondary-container)}.oc-button-secondary-container-raw-inverse .oc-icon>svg{fill:var(--oc-role-on-secondary-container)}.oc-button-secondary-container-filled{background-color:var(--oc-role-secondary-container);color:var(--oc-role-on-secondary-container)!important}.oc-button-secondary-container-filled .oc-icon>svg{fill:var(--oc-role-on-secondary-container)}.oc-button-secondary-container-outline{outline:1px solid var(--oc-role-secondary-container);outline-offset:-1px;background-color:transparent;color:var(--oc-role-secondary-container)}.oc-button-secondary-container-outline .oc-icon>svg{fill:var(--oc-role-secondary-container)}.oc-button-secondary-fixed-raw,.oc-button-secondary-fixed-raw-inverse{background-color:transparent;color:var(--oc-role-secondary-fixed)}.oc-button-secondary-fixed-raw .oc-icon>svg,.oc-button-secondary-fixed-raw-inverse .oc-icon>svg{fill:var(--oc-role-secondary-fixed)}.oc-button-secondary-fixed-raw:focus:not([disabled]):not(button),.oc-button-secondary-fixed-raw:hover:not([disabled]):not(button),.oc-button-secondary-fixed-raw-inverse:focus:not([disabled]):not(button),.oc-button-secondary-fixed-raw-inverse:hover:not([disabled]):not(button){background-color:transparent}.oc-button-secondary-fixed-raw:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-secondary-fixed-raw:hover:not([disabled]):not(.active):not(.no-hover),.oc-button-secondary-fixed-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-secondary-fixed-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover){background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)}.oc-button-secondary-fixed-raw:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-secondary-fixed-raw:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-secondary-fixed-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-secondary-fixed-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-secondary-fixed-raw-inverse{color:var(--oc-role-on-secondary-fixed)}.oc-button-secondary-fixed-raw-inverse .oc-icon>svg{fill:var(--oc-role-on-secondary-fixed)}.oc-button-secondary-fixed-filled{background-color:var(--oc-role-secondary-fixed);color:var(--oc-role-on-secondary-fixed)!important}.oc-button-secondary-fixed-filled .oc-icon>svg{fill:var(--oc-role-on-secondary-fixed)}.oc-button-secondary-fixed-outline{outline:1px solid var(--oc-role-secondary-fixed);outline-offset:-1px;background-color:transparent;color:var(--oc-role-secondary-fixed)}.oc-button-secondary-fixed-outline .oc-icon>svg{fill:var(--oc-role-secondary-fixed)}.oc-button-tertiary-raw,.oc-button-tertiary-raw-inverse{background-color:transparent;color:var(--oc-role-tertiary)}.oc-button-tertiary-raw .oc-icon>svg,.oc-button-tertiary-raw-inverse .oc-icon>svg{fill:var(--oc-role-tertiary)}.oc-button-tertiary-raw:focus:not([disabled]):not(button),.oc-button-tertiary-raw:hover:not([disabled]):not(button),.oc-button-tertiary-raw-inverse:focus:not([disabled]):not(button),.oc-button-tertiary-raw-inverse:hover:not([disabled]):not(button){background-color:transparent}.oc-button-tertiary-raw:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-tertiary-raw:hover:not([disabled]):not(.active):not(.no-hover),.oc-button-tertiary-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-tertiary-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover){background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)}.oc-button-tertiary-raw:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-tertiary-raw:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-tertiary-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-tertiary-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-tertiary-raw-inverse{color:var(--oc-role-on-tertiary)}.oc-button-tertiary-raw-inverse .oc-icon>svg{fill:var(--oc-role-on-tertiary)}.oc-button-tertiary-filled{background-color:var(--oc-role-tertiary);color:var(--oc-role-on-tertiary)!important}.oc-button-tertiary-filled .oc-icon>svg{fill:var(--oc-role-on-tertiary)}.oc-button-tertiary-outline{outline:1px solid var(--oc-role-tertiary);outline-offset:-1px;background-color:transparent;color:var(--oc-role-tertiary)}.oc-button-tertiary-outline .oc-icon>svg{fill:var(--oc-role-tertiary)}.oc-button-tertiary-container-raw,.oc-button-tertiary-container-raw-inverse{background-color:transparent;color:var(--oc-role-tertiary-container)}.oc-button-tertiary-container-raw .oc-icon>svg,.oc-button-tertiary-container-raw-inverse .oc-icon>svg{fill:var(--oc-role-tertiary-container)}.oc-button-tertiary-container-raw:focus:not([disabled]):not(button),.oc-button-tertiary-container-raw:hover:not([disabled]):not(button),.oc-button-tertiary-container-raw-inverse:focus:not([disabled]):not(button),.oc-button-tertiary-container-raw-inverse:hover:not([disabled]):not(button){background-color:transparent}.oc-button-tertiary-container-raw:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-tertiary-container-raw:hover:not([disabled]):not(.active):not(.no-hover),.oc-button-tertiary-container-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-tertiary-container-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover){background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)}.oc-button-tertiary-container-raw:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-tertiary-container-raw:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-tertiary-container-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-tertiary-container-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-tertiary-container-raw-inverse{color:var(--oc-role-on-tertiary-container)}.oc-button-tertiary-container-raw-inverse .oc-icon>svg{fill:var(--oc-role-on-tertiary-container)}.oc-button-tertiary-container-filled{background-color:var(--oc-role-tertiary-container);color:var(--oc-role-on-tertiary-container)!important}.oc-button-tertiary-container-filled .oc-icon>svg{fill:var(--oc-role-on-tertiary-container)}.oc-button-tertiary-container-outline{outline:1px solid var(--oc-role-tertiary-container);outline-offset:-1px;background-color:transparent;color:var(--oc-role-tertiary-container)}.oc-button-tertiary-container-outline .oc-icon>svg{fill:var(--oc-role-tertiary-container)}.oc-button-tertiary-fixed-raw,.oc-button-tertiary-fixed-raw-inverse{background-color:transparent;color:var(--oc-role-tertiary-fixed)}.oc-button-tertiary-fixed-raw .oc-icon>svg,.oc-button-tertiary-fixed-raw-inverse .oc-icon>svg{fill:var(--oc-role-tertiary-fixed)}.oc-button-tertiary-fixed-raw:focus:not([disabled]):not(button),.oc-button-tertiary-fixed-raw:hover:not([disabled]):not(button),.oc-button-tertiary-fixed-raw-inverse:focus:not([disabled]):not(button),.oc-button-tertiary-fixed-raw-inverse:hover:not([disabled]):not(button){background-color:transparent}.oc-button-tertiary-fixed-raw:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-tertiary-fixed-raw:hover:not([disabled]):not(.active):not(.no-hover),.oc-button-tertiary-fixed-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-tertiary-fixed-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover){background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)}.oc-button-tertiary-fixed-raw:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-tertiary-fixed-raw:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-tertiary-fixed-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-tertiary-fixed-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-tertiary-fixed-raw-inverse{color:var(--oc-role-on-tertiary-fixed)}.oc-button-tertiary-fixed-raw-inverse .oc-icon>svg{fill:var(--oc-role-on-tertiary-fixed)}.oc-button-tertiary-fixed-filled{background-color:var(--oc-role-tertiary-fixed);color:var(--oc-role-on-tertiary-fixed)!important}.oc-button-tertiary-fixed-filled .oc-icon>svg{fill:var(--oc-role-on-tertiary-fixed)}.oc-button-tertiary-fixed-outline{outline:1px solid var(--oc-role-tertiary-fixed);outline-offset:-1px;background-color:transparent;color:var(--oc-role-tertiary-fixed)}.oc-button-tertiary-fixed-outline .oc-icon>svg{fill:var(--oc-role-tertiary-fixed)}.oc-button-surface-raw,.oc-button-surface-raw-inverse{background-color:transparent;color:var(--oc-role-surface)}.oc-button-surface-raw .oc-icon>svg,.oc-button-surface-raw-inverse .oc-icon>svg{fill:var(--oc-role-surface)}.oc-button-surface-raw:focus:not([disabled]):not(button),.oc-button-surface-raw:hover:not([disabled]):not(button),.oc-button-surface-raw-inverse:focus:not([disabled]):not(button),.oc-button-surface-raw-inverse:hover:not([disabled]):not(button){background-color:transparent}.oc-button-surface-raw:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-surface-raw:hover:not([disabled]):not(.active):not(.no-hover),.oc-button-surface-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-surface-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover){background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)}.oc-button-surface-raw:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-surface-raw:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-surface-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-surface-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-surface-raw-inverse{color:var(--oc-role-on-surface)}.oc-button-surface-raw-inverse .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-surface-filled{background-color:var(--oc-role-surface);color:var(--oc-role-on-surface)!important}.oc-button-surface-filled .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-surface-outline{outline:1px solid var(--oc-role-surface);outline-offset:-1px;background-color:transparent;color:var(--oc-role-surface)}.oc-button-surface-outline .oc-icon>svg{fill:var(--oc-role-surface)}.oc-button-surface-container-raw,.oc-button-surface-container-raw-inverse{background-color:transparent;color:var(--oc-role-surface-container)}.oc-button-surface-container-raw .oc-icon>svg,.oc-button-surface-container-raw-inverse .oc-icon>svg{fill:var(--oc-role-surface-container)}.oc-button-surface-container-raw:focus:not([disabled]):not(button),.oc-button-surface-container-raw:hover:not([disabled]):not(button),.oc-button-surface-container-raw-inverse:focus:not([disabled]):not(button),.oc-button-surface-container-raw-inverse:hover:not([disabled]):not(button){background-color:transparent}.oc-button-surface-container-raw:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-surface-container-raw:hover:not([disabled]):not(.active):not(.no-hover),.oc-button-surface-container-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-surface-container-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover){background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)}.oc-button-surface-container-raw:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-surface-container-raw:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-surface-container-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-surface-container-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-surface-container-raw-inverse{color:var(--oc-role-on-surface)}.oc-button-surface-container-raw-inverse .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-surface-container-filled{background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)!important}.oc-button-surface-container-filled .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-surface-container-outline{outline:1px solid var(--oc-role-surface-container);outline-offset:-1px;background-color:transparent;color:var(--oc-role-surface-container)}.oc-button-surface-container-outline .oc-icon>svg{fill:var(--oc-role-surface-container)}.oc-button-chrome-raw,.oc-button-chrome-raw-inverse{background-color:transparent;color:var(--oc-role-chrome)}.oc-button-chrome-raw .oc-icon>svg,.oc-button-chrome-raw-inverse .oc-icon>svg{fill:var(--oc-role-chrome)}.oc-button-chrome-raw:focus:not([disabled]):not(button),.oc-button-chrome-raw:hover:not([disabled]):not(button),.oc-button-chrome-raw-inverse:focus:not([disabled]):not(button),.oc-button-chrome-raw-inverse:hover:not([disabled]):not(button){background-color:transparent}.oc-button-chrome-raw:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-chrome-raw:hover:not([disabled]):not(.active):not(.no-hover),.oc-button-chrome-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover),.oc-button-chrome-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover){background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)}.oc-button-chrome-raw:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-chrome-raw:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-chrome-raw-inverse:focus:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg,.oc-button-chrome-raw-inverse:hover:not([disabled]):not(.active):not(.no-hover) .oc-icon>svg{fill:var(--oc-role-on-surface)}.oc-button-chrome-raw-inverse{color:var(--oc-role-on-chrome)}.oc-button-chrome-raw-inverse .oc-icon>svg{fill:var(--oc-role-on-chrome)}.oc-button-chrome-filled{background-color:var(--oc-role-chrome);color:var(--oc-role-on-chrome)!important}.oc-button-chrome-filled .oc-icon>svg{fill:var(--oc-role-on-chrome)}.oc-button-chrome-outline{outline:1px solid var(--oc-role-chrome);outline-offset:-1px;background-color:transparent;color:var(--oc-role-chrome)}.oc-button-chrome-outline .oc-icon>svg{fill:var(--oc-role-chrome)}.oc-button:hover:not(.no-hover,.oc-button-raw-inverse,.oc-button-raw,.active,.selected,[disabled]){filter:brightness(85%)}.oc-button-outline:hover:not(.no-hover,[disabled]){background-color:var(--oc-role-surface-container);filter:none!important}}.quick-action-button:hover,.raw-hover-surface:hover{background-color:var(--oc-role-surface)!important}@layer components{.oc-card{border-radius:var(--radius-md,.375rem);background-color:var(--color-role-surface,var(--oc-role-surface));color:var(--color-role-on-surface,var(--oc-role-on-surface));position:relative}.oc-card-header{padding:calc(var(--spacing,4px) * 4);padding-bottom:calc(var(--spacing,4px) * 0);flex-direction:column;align-items:center;display:flex;position:relative}.oc-card-body{padding:calc(var(--spacing,4px) * 4);display:flow-root}.oc-card-footer{padding:calc(var(--spacing,4px) * 4);padding-top:calc(var(--spacing,4px) * 0);font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));flex-direction:column;align-items:center;display:flex}.oc-card-body>:last-child,.oc-card-header>:last-child,.oc-card-footer>:last-child{margin-bottom:calc(var(--spacing,4px) * 0)}}@layer components{.oc-mobile-drop .oc-card-body ul:not(:last-child){margin-bottom:calc(var(--spacing,4px) * 2)}}@layer utilities{.oc-mobile-drop ul{border-radius:var(--radius-lg,.5rem);background-color:var(--color-role-surface,var(--oc-role-surface));padding:calc(var(--spacing,4px) * 2)}}@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-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-outline-style:solid}}}@layer components{.oc-drop{width:var(--container-xs,20rem);z-index:1000;position:absolute;top:-9999px;left:-9999px;overflow-y:auto}.oc-drop-enter-active{transition:opacity .25s}.oc-drop-enter-from,.oc-drop-leave-to{opacity:0}.oc-mobile-drop li a,.oc-mobile-drop li button,.oc-drop li a,.oc-drop li button{width:100%;padding:calc(var(--spacing,4px) * 2)}.oc-mobile-drop li,.oc-drop li{margin-bottom:calc(var(--spacing,4px) * 1)}.oc-mobile-drop li:first-child,.oc-drop li:first-child{margin-top:calc(var(--spacing,4px) * 0)}.oc-mobile-drop li:last-child,.oc-drop li:last-child{margin-bottom:calc(var(--spacing,4px) * 0)}}.oc-drop:focus-visible{--tw-shadow-alpha:20%;--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,oklab(0% 0 0/.2)), 0 2px 4px -2px var(--tw-shadow-color,oklab(0% 0 0/.2));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline-style:var(--tw-outline-style);outline-width:0}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-5ca75fc6],[data-v-5ca75fc6]:before,[data-v-5ca75fc6]:after,[data-v-5ca75fc6]::backdrop{--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-duration:initial}}}@layer components{.oc-breadcrumb-item-dragover[data-v-5ca75fc6]{border-radius:var(--radius-xs,.125rem);background-color:var(--color-role-secondary-container,var(--oc-role-secondary-container));--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--color-role-secondary-container,var(--oc-role-secondary-container));transition-property:border;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.1s;transition-duration:.1s}}.oc-checkbox-checked[data-v-8d6b4a3c],.oc-checkbox[data-v-8d6b4a3c] :checked{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23000%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%0A%3C%2Fsvg%3E%0A)}.oc-checkbox[data-v-8d6b4a3c]:indeterminate{background-image:url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22%23000%22%20x%3D%223%22%20y%3D%228%22%20width%3D%2210%22%20height%3D%221%22%20%2F%3E%0A%3C%2Fsvg%3E)}.oc-checkbox[data-v-8d6b4a3c]:disabled:checked{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22var(--oc-role-on-surface-variant)%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")}.oc-checkbox[data-v-8d6b4a3c]:disabled:indeterminate{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22var(--oc-role-on-surface-variant)%22%20x%3D%223%22%20y%3D%228%22%20width%3D%2210%22%20height%3D%221%22%20%2F%3E%0A%3C%2Fsvg%3E")}@layer components{.oc-date-picker input::-webkit-calendar-picker-indicator{cursor:pointer}.oc-date-picker-dark input{color-scheme:dark}.oc-date-picker-dark input::-webkit-calendar-picker-indicator{filter:invert(0)}}@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-font-weight:initial}}}@layer components{.details-list dt,.details-list dd{margin-bottom:calc(var(--spacing,4px) * 2);align-items:center;display:flex}:is(.details-list dt,.details-list dd):last-of-type{margin-bottom:calc(var(--spacing,4px) * 0)}.details-list dd{margin-left:calc(var(--spacing,4px) * 4);--tw-font-weight:var(--font-weight-normal,400);font-weight:var(--font-weight-normal,400)}.details-list dt{--tw-font-weight:var(--font-weight-semibold,600);font-weight:var(--font-weight-semibold,600);white-space:nowrap}}@layer components{.oc-dropzone[data-v-84a2b30a]{padding:calc(var(--spacing,4px) * 4);text-align:center;font-size:var(--text-2xl,1.5rem);line-height:var(--tw-leading,var(--text-2xl--line-height,calc(2 / 1.5)))}}@layer components{.oc-filter-chip-button{outline-color:var(--color-role-outline-variant)}}@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-content:"";--tw-border-style:solid}}}@layer components{ul.oc-list,ul.oc-list.oc-timeline{margin:calc(var(--spacing,4px) * 0);padding:calc(var(--spacing,4px) * 0)}ul.oc-list.oc-timeline{position:relative}ul.oc-list.oc-timeline:before{content:var(--tw-content);inset:calc(var(--spacing,4px) * 0);position:absolute}ul.oc-list-divider>:nth-child(n+2){margin-top:calc(var(--spacing,4px) * 2);border-top-style:var(--tw-border-style);padding-top:calc(var(--spacing,4px) * 2);border-top-width:1px}ul.oc-list.oc-timeline li{width:100%;padding-block:calc(var(--spacing,4px) * 2);padding-right:calc(var(--spacing,4px) * 7);padding-left:calc(var(--spacing,4px) * 8);flex-direction:column;display:flex;position:relative}ul.oc-list.oc-timeline li:before{content:var(--tw-content);border-radius:50%;position:absolute;top:50%;left:-4px}ul.oc-list.oc-timeline:before,ul.oc-list.oc-timeline li:before{background-color:var(--color-role-outline-variant,var(--oc-role-outline-variant))}ul.oc-list.oc-timeline:before{content:"";width:1.5px}ul.oc-list.oc-timeline li:before{width:calc(var(--spacing,4px) * 2.5);height:calc(var(--spacing,4px) * 2.5);content:"";transform:translateY(-50%)}ul.oc-list-raw a:hover{color:inherit}.oc-list li:before{z-index:1}}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-d07b1697],[data-v-d07b1697]:before,[data-v-d07b1697]:after,[data-v-d07b1697]::backdrop{--tw-content:""}}}@layer components{.oc-loader[data-v-d07b1697]{margin-block:calc(var(--spacing,4px) * 5);vertical-align:baseline;position:relative}.oc-loader[data-v-d07b1697]:after{content:var(--tw-content);position:absolute}}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@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-border-style:solid;--tw-leading:initial;--tw-outline-style:solid}}}@layer components{.oc-input{appearance:none;border-radius:var(--radius-sm,.25rem);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-role-outline-variant,var(--oc-role-outline-variant));background-color:var(--color-role-surface,var(--oc-role-surface));width:100%;max-width:100%;padding:calc(var(--spacing,4px) * 1.5);vertical-align:middle;--tw-leading:calc(var(--spacing,4px) * 4);line-height:calc(var(--spacing,4px) * 4);color:var(--color-role-on-surface,var(--oc-role-on-surface));outline-style:var(--tw-outline-style);outline-width:0;display:inline-block;overflow:visible}.oc-input:focus{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-role-outline-variant,var(--oc-role-outline-variant));outline-style:var(--tw-outline-style);outline-width:1px;outline-color:var(--color-role-outline,var(--oc-role-outline))}.oc-input:disabled{cursor:not-allowed;background-color:var(--color-role-surface-container,var(--oc-role-surface-container))}.oc-input::placeholder{color:var(--color-role-on-surface-variant,var(--oc-role-on-surface-variant))}}@property --tw-leading{syntax:"*";inherits:false}@layer components{.oc-notification-message[data-v-130bdbc7]{margin-top:calc(var(--spacing,4px) * 2);padding:calc(var(--spacing,4px) * 4)}}:root{--vs-colors--lightest: rgba(60, 60, 60, .26);--vs-colors--light: rgba(60, 60, 60, .5);--vs-colors--dark: #333;--vs-colors--darkest: rgba(0, 0, 0, .15);--vs-search-input-color: inherit;--vs-search-input-placeholder-color: inherit;--vs-font-size: 1rem;--vs-line-height: 1.4;--vs-state-disabled-bg: rgb(248, 248, 248);--vs-state-disabled-color: var(--vs-colors--light);--vs-state-disabled-controls-color: var(--vs-colors--light);--vs-state-disabled-cursor: not-allowed;--vs-border-color: var(--vs-colors--lightest);--vs-border-width: 1px;--vs-border-style: solid;--vs-border-radius: 4px;--vs-actions-padding: 4px 6px 0 3px;--vs-controls-color: var(--vs-colors--light);--vs-controls-size: 1;--vs-controls--deselect-text-shadow: 0 1px 0 #fff;--vs-selected-bg: #f0f0f0;--vs-selected-color: var(--vs-colors--dark);--vs-selected-border-color: var(--vs-border-color);--vs-selected-border-style: var(--vs-border-style);--vs-selected-border-width: var(--vs-border-width);--vs-dropdown-bg: #fff;--vs-dropdown-color: inherit;--vs-dropdown-z-index: 1000;--vs-dropdown-min-width: 160px;--vs-dropdown-max-height: 350px;--vs-dropdown-box-shadow: 0px 3px 6px 0px var(--vs-colors--darkest);--vs-dropdown-option-bg: #000;--vs-dropdown-option-color: var(--vs-dropdown-color);--vs-dropdown-option-padding: 3px 20px;--vs-dropdown-option--active-bg: #5897fb;--vs-dropdown-option--active-color: #fff;--vs-dropdown-option--deselect-bg: #fb5858;--vs-dropdown-option--deselect-color: #fff;--vs-transition-timing-function: cubic-bezier(1, -.115, .975, .855);--vs-transition-duration: .15s}.v-select{position:relative;font-family:inherit}.v-select,.v-select *{box-sizing:border-box}:root{--vs-transition-timing-function: cubic-bezier(1, .5, .8, 1);--vs-transition-duration: .15s}@-webkit-keyframes vSelectSpinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes vSelectSpinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vs__fade-enter-active,.vs__fade-leave-active{pointer-events:none;transition:opacity var(--vs-transition-duration) var(--vs-transition-timing-function)}.vs__fade-enter,.vs__fade-leave-to{opacity:0}:root{--vs-disabled-bg: var(--vs-state-disabled-bg);--vs-disabled-color: var(--vs-state-disabled-color);--vs-disabled-cursor: var(--vs-state-disabled-cursor)}.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__clear,.vs--disabled .vs__search,.vs--disabled .vs__selected,.vs--disabled .vs__open-indicator{cursor:var(--vs-disabled-cursor);background-color:var(--vs-disabled-bg)}.v-select[dir=rtl] .vs__actions{padding:0 3px 0 6px}.v-select[dir=rtl] .vs__clear{margin-left:6px;margin-right:0}.v-select[dir=rtl] .vs__deselect{margin-left:0;margin-right:2px}.v-select[dir=rtl] .vs__dropdown-menu{text-align:right}.vs__dropdown-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;padding:0 0 4px;background:none;border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-radius:var(--vs-border-radius);white-space:normal}.vs__selected-options{display:flex;flex-basis:100%;flex-grow:1;flex-wrap:wrap;padding:0 2px;position:relative}.vs__actions{display:flex;align-items:center;padding:var(--vs-actions-padding)}.vs--searchable .vs__dropdown-toggle{cursor:text}.vs--unsearchable .vs__dropdown-toggle{cursor:pointer}.vs--open .vs__dropdown-toggle{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.vs__open-indicator{fill:var(--vs-controls-color);transform:scale(var(--vs-controls-size));transition:transform var(--vs-transition-duration) var(--vs-transition-timing-function);transition-timing-function:var(--vs-transition-timing-function)}.vs--open .vs__open-indicator{transform:rotate(180deg) scale(var(--vs-controls-size))}.vs--loading .vs__open-indicator{opacity:0}.vs__clear{fill:var(--vs-controls-color);padding:0;border:0;background-color:transparent;cursor:pointer;margin-right:8px}.vs__dropdown-menu{display:block;box-sizing:border-box;position:absolute;top:calc(100% - var(--vs-border-width));left:0;z-index:var(--vs-dropdown-z-index);padding:5px 0;margin:0;width:100%;max-height:var(--vs-dropdown-max-height);min-width:var(--vs-dropdown-min-width);overflow-y:auto;box-shadow:var(--vs-dropdown-box-shadow);border:var(--vs-border-width) var(--vs-border-style) var(--vs-border-color);border-top-style:none;border-radius:0 0 var(--vs-border-radius) var(--vs-border-radius);text-align:left;list-style:none;background:var(--vs-dropdown-bg);color:var(--vs-dropdown-color)}.vs__no-options{text-align:center}.vs__dropdown-option{line-height:1.42857143;display:block;padding:var(--vs-dropdown-option-padding);clear:both;color:var(--vs-dropdown-option-color);white-space:nowrap;cursor:pointer}.vs__dropdown-option--highlight{background:var(--vs-dropdown-option--active-bg);color:var(--vs-dropdown-option--active-color)}.vs__dropdown-option--deselect{background:var(--vs-dropdown-option--deselect-bg);color:var(--vs-dropdown-option--deselect-color)}.vs__dropdown-option--disabled{background:var(--vs-state-disabled-bg);color:var(--vs-state-disabled-color);cursor:var(--vs-state-disabled-cursor)}.vs__selected{display:flex;align-items:center;background-color:var(--vs-selected-bg);border:var(--vs-selected-border-width) var(--vs-selected-border-style) var(--vs-selected-border-color);border-radius:var(--vs-border-radius);color:var(--vs-selected-color);line-height:var(--vs-line-height);margin:4px 2px 0;padding:0 .25em;z-index:0}.vs__deselect{display:inline-flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin-left:4px;padding:0;border:0;cursor:pointer;background:none;fill:var(--vs-controls-color);text-shadow:var(--vs-controls--deselect-text-shadow)}.vs--single .vs__selected{background-color:transparent;border-color:transparent}.vs--single.vs--open .vs__selected,.vs--single.vs--loading .vs__selected{position:absolute;opacity:.4}.vs--single.vs--searching .vs__selected{display:none}.vs__search::-webkit-search-cancel-button{display:none}.vs__search::-webkit-search-decoration,.vs__search::-webkit-search-results-button,.vs__search::-webkit-search-results-decoration,.vs__search::-ms-clear{display:none}.vs__search,.vs__search:focus{color:var(--vs-search-input-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;line-height:var(--vs-line-height);font-size:var(--vs-font-size);border:1px solid transparent;border-left:none;outline:none;margin:4px 0 0;padding:0 7px;background:none;box-shadow:none;width:0;max-width:100%;flex-grow:1;z-index:1}.vs__search::-moz-placeholder{color:var(--vs-search-input-placeholder-color)}.vs__search::placeholder{color:var(--vs-search-input-placeholder-color)}.vs--unsearchable .vs__search{opacity:1}.vs--unsearchable:not(.vs--disabled) .vs__search{cursor:pointer}.vs--single.vs--searching:not(.vs--open):not(.vs--loading) .vs__search{opacity:.2}.vs__spinner{align-self:center;opacity:0;font-size:5px;text-indent:-9999em;overflow:hidden;border-top:.9em solid rgba(100,100,100,.1);border-right:.9em solid rgba(100,100,100,.1);border-bottom:.9em solid rgba(100,100,100,.1);border-left:.9em solid rgba(60,60,60,.45);transform:translateZ(0) scale(var(--vs-controls--spinner-size, var(--vs-controls-size)));-webkit-animation:vSelectSpinner 1.1s infinite linear;animation:vSelectSpinner 1.1s infinite linear;transition:opacity .1s}.vs__spinner,.vs__spinner:after{border-radius:50%;width:5em;height:5em;transform:scale(var(--vs-controls--spinner-size, var(--vs-controls-size)))}.vs--loading .vs__spinner{opacity:1}@layer components{.oc-select[data-v-058f467e]{color:var(--color-role-on-surface,var(--oc-role-on-surface));text-transform:none;padding-block:1px}}.vs--disabled{cursor:not-allowed}.vs--disabled .vs__clear,.vs--disabled .vs__dropdown-toggle,.vs--disabled .vs__open-indicator,.vs--disabled .vs__search,.vs--disabled .vs__selected{background-color:var(--oc-role-surface-container)!important;color:var(--oc-role-on-surface)!important;pointer-events:none}.vs--disabled .vs__actions{opacity:.3}.oc-select-no-border .vs__dropdown-toggle{border:none!important;outline:none!important;background-color:transparent!important}.oc-select-position-fixed .vs__dropdown-menu{position:fixed;overflow-y:auto}.oc-select .vs__search{color:var(--oc-role-on-surface)}.oc-select .vs__search::placeholder{color:var(--oc-role-on-surface-variant)}.oc-select .vs__dropdown-toggle,.oc-select .vs__dropdown-menu{min-height:36px;-webkit-appearance:none;color:var(--oc-role-on-surface);border-radius:var(--radius-sm);border:1px solid var(--oc-role-outline-variant);box-sizing:border-box;line-height:inherit;max-width:100%;outline:none;padding:4px;transition-duration:.2s;transition-timing-function:ease-in-out;transition-property:color,background-color;width:100%;background-color:var(--oc-role-surface);margin-top:-1px}.oc-select .vs__selected-readonly{background-color:var(--oc-role-surface-container-low)!important}.oc-select .vs__search,.oc-select .vs__search:focus{padding:0 5px}.oc-select .vs__clear,.oc-select .vs__open-indicator,.oc-select .vs__deselect{fill:var(--oc-role-on-surface)}.oc-select .vs__dropdown-option,.oc-select .vs__no-options{color:var(--oc-role-on-surface);white-space:normal;padding:6px .6rem;border-radius:var(--radius-sm)}.oc-select .vs__dropdown-option--highlight,.oc-select .vs__dropdown-option--selected,.oc-select .vs__no-options--highlight,.oc-select .vs__no-options--selected{background-color:var(--oc-role-surface-container);color:var(--oc-role-on-surface)}.oc-select .vs__dropdown-option--selected,.oc-select .vs__no-options--selected{background-color:var(--oc-role-secondary-container)}.oc-select .vs__actions{flex-flow:row wrap;justify-content:center;gap:var(--spacing);cursor:pointer;padding:0 4px}.oc-select .vs__actions svg{overflow:visible}.oc-select .vs__clear svg{max-width:var(--spacing)}.oc-select .vs__selected-options{flex:auto;padding:0}.oc-select .vs__selected-options>*{padding:0 2px;margin:2px 2px 2px 1px;color:var(--oc-role-on-surface)}.oc-select .vs__selected-options>*:not(input){padding-left:3px;background-color:var(--oc-role-surface-container);fill:var(--oc-role-on-surface)}.oc-select.vs--multiple .vs__selected-options>*:not(input){color:var(--oc-role-on-surface);background-color:var(--oc-role-surface-container)}.oc-select:focus-within .vs__dropdown-menu,.oc-select:focus-within .vs__dropdown-toggle{border:1px solid var(--oc-role-outline-variant);outline:1px solid var(--oc-role-outline)}.vs--single.vs--open .vs__selected{opacity:.8!important}.vs--single .vs__selected-options>*:not(input){background-color:transparent!important}.oc-progress-indeterminate-first[data-v-c998a15f]{animation-duration:2s;animation-name:indeterminate-first-c998a15f;animation-iteration-count:infinite}.oc-progress-indeterminate-second[data-v-c998a15f]{animation-duration:2s;animation-delay:.5s;animation-name:indeterminate-second-c998a15f;animation-iteration-count:infinite}@keyframes indeterminate-first-c998a15f{0%{left:-10%;width:10%}to{left:120%;width:100%}}@keyframes indeterminate-second-c998a15f{0%{left:-100%;width:80%}to{left:110%;width:10%}}@layer components{.oc-progress-pie[data-v-c6406643]{margin:calc(var(--spacing,4px) * 4)}}.oc-progress-pie[data-v-c6406643]{height:64px;width:64px}.oc-progress-pie[data-v-c6406643]:after{border:6.4px solid var(--oc-role-surface-container);border-radius:50%}.oc-progress-pie-container[data-v-c6406643]{clip:rect(0,64px,64px,32px)}.oc-progress-pie-container[data-v-c6406643]:before,.oc-progress-pie-container[data-v-c6406643]:after{border:6.4px solid var(--oc-role-secondary);border-color:var(--oc-role-secondary);border-radius:50%;clip:rect(0,32px,64px,0)}.oc-progress-pie[data-fill="0"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(0)}.oc-progress-pie[data-fill="0"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="1"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(3.6deg)}.oc-progress-pie[data-fill="1"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="2"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(7.2deg)}.oc-progress-pie[data-fill="2"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="3"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(10.8deg)}.oc-progress-pie[data-fill="3"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="4"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(14.4deg)}.oc-progress-pie[data-fill="4"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="5"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(18deg)}.oc-progress-pie[data-fill="5"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="6"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(21.6deg)}.oc-progress-pie[data-fill="6"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="7"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(25.2deg)}.oc-progress-pie[data-fill="7"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="8"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(28.8deg)}.oc-progress-pie[data-fill="8"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="9"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(32.4deg)}.oc-progress-pie[data-fill="9"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="10"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(36deg)}.oc-progress-pie[data-fill="10"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="11"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(39.6deg)}.oc-progress-pie[data-fill="11"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="12"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(43.2deg)}.oc-progress-pie[data-fill="12"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="13"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(46.8deg)}.oc-progress-pie[data-fill="13"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="14"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(50.4deg)}.oc-progress-pie[data-fill="14"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="15"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(54deg)}.oc-progress-pie[data-fill="15"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="16"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(57.6deg)}.oc-progress-pie[data-fill="16"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="17"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(61.2deg)}.oc-progress-pie[data-fill="17"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="18"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(64.8deg)}.oc-progress-pie[data-fill="18"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="19"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(68.4deg)}.oc-progress-pie[data-fill="19"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="20"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(72deg)}.oc-progress-pie[data-fill="20"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="21"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(75.6deg)}.oc-progress-pie[data-fill="21"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="22"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(79.2deg)}.oc-progress-pie[data-fill="22"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="23"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(82.8deg)}.oc-progress-pie[data-fill="23"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="24"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(86.4deg)}.oc-progress-pie[data-fill="24"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="25"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(90deg)}.oc-progress-pie[data-fill="25"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="26"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(93.6deg)}.oc-progress-pie[data-fill="26"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="27"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(97.2deg)}.oc-progress-pie[data-fill="27"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="28"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(100.8deg)}.oc-progress-pie[data-fill="28"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="29"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(104.4deg)}.oc-progress-pie[data-fill="29"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="30"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(108deg)}.oc-progress-pie[data-fill="30"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="31"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(111.6deg)}.oc-progress-pie[data-fill="31"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="32"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(115.2deg)}.oc-progress-pie[data-fill="32"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="33"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(118.8deg)}.oc-progress-pie[data-fill="33"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="34"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(122.4deg)}.oc-progress-pie[data-fill="34"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="35"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(126deg)}.oc-progress-pie[data-fill="35"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="36"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(129.6deg)}.oc-progress-pie[data-fill="36"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="37"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(133.2deg)}.oc-progress-pie[data-fill="37"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="38"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(136.8deg)}.oc-progress-pie[data-fill="38"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="39"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(140.4deg)}.oc-progress-pie[data-fill="39"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="40"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(144deg)}.oc-progress-pie[data-fill="40"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="41"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(147.6deg)}.oc-progress-pie[data-fill="41"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="42"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(151.2deg)}.oc-progress-pie[data-fill="42"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="43"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(154.8deg)}.oc-progress-pie[data-fill="43"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="44"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(158.4deg)}.oc-progress-pie[data-fill="44"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="45"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(162deg)}.oc-progress-pie[data-fill="45"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="46"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(165.6deg)}.oc-progress-pie[data-fill="46"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="47"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(169.2deg)}.oc-progress-pie[data-fill="47"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="48"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(172.8deg)}.oc-progress-pie[data-fill="48"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="49"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(176.4deg)}.oc-progress-pie[data-fill="49"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="50"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(180deg)}.oc-progress-pie[data-fill="50"] .oc-progress-pie-container[data-v-c6406643]:after{display:none}.oc-progress-pie[data-fill="51"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(183.6deg)}.oc-progress-pie[data-fill="51"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="51"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="52"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(187.2deg)}.oc-progress-pie[data-fill="52"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="52"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="53"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(190.8deg)}.oc-progress-pie[data-fill="53"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="53"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="54"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(194.4deg)}.oc-progress-pie[data-fill="54"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="54"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="55"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(198deg)}.oc-progress-pie[data-fill="55"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="55"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="56"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(201.6deg)}.oc-progress-pie[data-fill="56"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="56"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="57"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(205.2deg)}.oc-progress-pie[data-fill="57"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="57"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="58"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(208.8deg)}.oc-progress-pie[data-fill="58"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="58"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="59"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(212.4deg)}.oc-progress-pie[data-fill="59"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="59"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="60"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(216deg)}.oc-progress-pie[data-fill="60"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="60"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="61"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(219.6deg)}.oc-progress-pie[data-fill="61"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="61"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="62"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(223.2deg)}.oc-progress-pie[data-fill="62"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="62"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="63"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(226.8deg)}.oc-progress-pie[data-fill="63"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="63"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="64"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(230.4deg)}.oc-progress-pie[data-fill="64"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="64"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="65"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(234deg)}.oc-progress-pie[data-fill="65"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="65"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="66"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(237.6deg)}.oc-progress-pie[data-fill="66"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="66"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="67"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(241.2deg)}.oc-progress-pie[data-fill="67"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="67"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="68"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(244.8deg)}.oc-progress-pie[data-fill="68"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="68"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="69"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(248.4deg)}.oc-progress-pie[data-fill="69"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="69"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="70"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(252deg)}.oc-progress-pie[data-fill="70"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="70"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="71"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(255.6deg)}.oc-progress-pie[data-fill="71"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="71"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="72"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(259.2deg)}.oc-progress-pie[data-fill="72"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="72"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="73"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(262.8deg)}.oc-progress-pie[data-fill="73"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="73"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="74"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(266.4deg)}.oc-progress-pie[data-fill="74"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="74"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="75"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(270deg)}.oc-progress-pie[data-fill="75"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="75"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="76"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(273.6deg)}.oc-progress-pie[data-fill="76"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="76"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="77"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(277.2deg)}.oc-progress-pie[data-fill="77"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="77"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="78"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(280.8deg)}.oc-progress-pie[data-fill="78"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="78"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="79"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(284.4deg)}.oc-progress-pie[data-fill="79"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="79"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="80"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(288deg)}.oc-progress-pie[data-fill="80"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="80"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="81"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(291.6deg)}.oc-progress-pie[data-fill="81"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="81"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="82"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(295.2deg)}.oc-progress-pie[data-fill="82"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="82"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="83"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(298.8deg)}.oc-progress-pie[data-fill="83"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="83"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="84"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(302.4deg)}.oc-progress-pie[data-fill="84"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="84"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="85"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(306deg)}.oc-progress-pie[data-fill="85"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="85"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="86"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(309.6deg)}.oc-progress-pie[data-fill="86"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="86"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="87"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(313.2deg)}.oc-progress-pie[data-fill="87"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="87"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="88"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(316.8deg)}.oc-progress-pie[data-fill="88"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="88"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="89"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(320.4deg)}.oc-progress-pie[data-fill="89"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="89"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="90"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(324deg)}.oc-progress-pie[data-fill="90"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="90"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="91"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(327.6deg)}.oc-progress-pie[data-fill="91"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="91"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="92"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(331.2deg)}.oc-progress-pie[data-fill="92"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="92"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="93"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(334.8deg)}.oc-progress-pie[data-fill="93"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="93"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="94"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(338.4deg)}.oc-progress-pie[data-fill="94"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="94"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="95"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(342deg)}.oc-progress-pie[data-fill="95"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="95"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="96"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(345.6deg)}.oc-progress-pie[data-fill="96"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="96"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="97"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(349.2deg)}.oc-progress-pie[data-fill="97"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="97"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="98"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(352.8deg)}.oc-progress-pie[data-fill="98"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="98"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="99"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(356.4deg)}.oc-progress-pie[data-fill="99"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="99"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}.oc-progress-pie[data-fill="100"] .oc-progress-pie-container[data-v-c6406643]:before{transform:rotate(360deg)}.oc-progress-pie[data-fill="100"] .oc-progress-pie-container[data-v-c6406643]{clip:rect(auto,auto,auto,auto)}.oc-progress-pie[data-fill="100"] .oc-progress-pie-container[data-v-c6406643]:after{transform:rotate(180deg)}@layer components{.oc-radio[data-v-1ae8da5c]{vertical-align:middle}}@layer components{.oc-recipient[data-v-f607d6db]{gap:calc(var(--spacing,4px) * 1);width:auto;padding:calc(var(--spacing,4px) * 1)}}@layer components{.oc-switch-btn[data-v-16aefefb]:before{background-color:var(--color-role-on-secondary-container,var(--oc-role-on-secondary-container));content:"";border-radius:50%;position:absolute;top:2px;left:1px}.oc-switch-btn[aria-checked=false][data-v-16aefefb]{background-color:var(--color-role-surface-container,var(--oc-role-surface-container));left:2px}.oc-switch-btn[aria-checked=true][data-v-16aefefb]{background-color:var(--color-role-secondary-container,var(--oc-role-secondary-container));left:1px}.oc-switch-btn[aria-checked=false][data-v-16aefefb]:before{transform:translate(0)}.oc-switch-btn[aria-checked=true][data-v-16aefefb]:before{transform:translate(calc(100% + 2px))}}@layer components{.oc-table-cell[data-v-cabfacb2]{padding-inline:calc(var(--spacing,4px) * 2);position:relative}}@layer components{.shimmer[data-v-3235da0a]:after{background-image:linear-gradient(90deg,#fff0 0,#fff3 20%,#ffffff80 60%,#fff0)}}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-ddb462db],[data-v-ddb462db]:before,[data-v-ddb462db]:after,[data-v-ddb462db]::backdrop{--tw-font-weight:initial}}}@layer components{.oc-th[data-v-ddb462db]{--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-0e8279aa],[data-v-0e8279aa]:before,[data-v-0e8279aa]:after,[data-v-0e8279aa]::backdrop{--tw-duration:initial;--tw-ease:initial}}}@layer components{.oc-table[data-v-0e8279aa]{width:100%}.oc-table-hover tr[data-v-0e8279aa]{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;--tw-ease:var(--ease-in-out,cubic-bezier(.4, 0, .2, 1));transition-duration:.2s;transition-timing-function:var(--ease-in-out,cubic-bezier(.4, 0, .2, 1))}.item-accentuated[data-v-0e8279aa],.oc-table-highlighted[data-v-0e8279aa],.oc-table .highlightedDropTarget[data-v-0e8279aa]{background-color:var(--color-role-secondary-container,var(--oc-role-secondary-container))}.oc-table-sticky[data-v-0e8279aa]{position:relative}.oc-table-sticky .oc-table-header-cell[data-v-0e8279aa]{z-index:10;background-color:var(--color-role-surface,var(--oc-role-surface));position:sticky}.oc-table-hover tr[data-v-0e8279aa]:not(.oc-table-footer-row,.oc-table-header-row,.oc-table-highlighted):hover,.oc-button-sort .oc-icon[data-v-0e8279aa]:hover{background-color:var(--color-role-surface-container,var(--oc-role-surface-container))}}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){[data-v-026fc594],[data-v-026fc594]:before,[data-v-026fc594]:after,[data-v-026fc594]::backdrop{--tw-duration:initial;--tw-ease:initial;--tw-border-style:solid}}}@layer components{.oc-table-simple[data-v-026fc594]{width:100%}.oc-table-simple-hover tr[data-v-026fc594]{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration,var(--default-transition-duration,.15s));--tw-duration:.2s;--tw-ease:var(--ease-in-out,cubic-bezier(.4, 0, .2, 1));transition-duration:.2s;transition-timing-function:var(--ease-in-out,cubic-bezier(.4, 0, .2, 1))}.oc-table-simple-hover tr[data-v-026fc594]:hover{background-color:var(--color-role-secondary-container,var(--oc-role-secondary-container))}.oc-table-simple tr+tr[data-v-026fc594]{border-top-style:var(--tw-border-style);border-top-width:1px}}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@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-border-style:solid;--tw-outline-style:solid}}}@layer components{.oc-textarea{margin:calc(var(--spacing,4px) * 0);border-radius:var(--radius-sm,.25rem);border-style:var(--tw-border-style);border-width:1px;border-bottom-color:var(--color-role-outline-variant,var(--oc-role-outline-variant));background-color:var(--color-role-surface,var(--oc-role-surface));width:100%;max-width:100%;padding-inline:calc(var(--spacing,4px) * 2);padding-block:calc(var(--spacing,4px) * 1);vertical-align:top;opacity:.7;overflow:auto}.oc-textarea:focus{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-role-outline-variant,var(--oc-role-outline-variant));outline-style:var(--tw-outline-style);outline-width:1px;outline-color:var(--color-role-outline,var(--oc-role-outline))}.oc-textarea::placeholder{color:var(--color-role-on-surface-variant,var(--oc-role-on-surface-variant))}}@layer components{.oc-resource-link[data-v-668ce1c3]{display:inline-flex}}@layer utilities{.file-picker-modal{max-width:80vw;overflow:hidden}.file-picker-modal .oc-modal-title{display:none}.file-picker-modal .oc-modal-body{padding:calc(var(--spacing,4px) * 0)}.file-picker-modal .oc-modal-body-message{margin:calc(var(--spacing,4px) * 0);height:60vh}}@layer utilities{.oc-modal.save-as-modal{max-width:80vw;overflow:hidden}.oc-modal.save-as-modal .oc-modal-title{display:none}.oc-modal.save-as-modal .oc-modal-body{padding:calc(var(--spacing,4px) * 0)}.oc-modal.save-as-modal .oc-modal-body-message{margin:calc(var(--spacing,4px) * 0);height:60vh}}.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-wrap-box,.cropper-canvas,.cropper-drag-box,.cropper-crop-box,.cropper-modal{inset:0;position:absolute}.cropper-wrap-box,.cropper-canvas{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:#3399ffbf;overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:calc(100% / 3);left:0;top:calc(100% / 3);width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:calc(100% / 3);top:0;width:calc(100% / 3)}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:before,.cropper-center:after{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media(min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media(min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media(min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}.oc-range[data-v-89baecaf]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--oc-role-on-surface);border-radius:50%;cursor:pointer;height:1rem;width:1rem}.oc-range[data-v-89baecaf]::-moz-range-thumb{background:var(--oc-role-on-surface);border-radius:50%;cursor:pointer;height:1rem;width:1rem}@layer components{.sidebar-panel[data-v-c0e78b4b]{visibility:hidden;transition:transform .4s,visibility .4s;transform:translate(100%)}.sidebar-panel.is-root-panel[data-v-c0e78b4b]{right:100px}}@layer utilities{.sidebar-panel.is-active-root-panel[data-v-c0e78b4b]{right:calc(var(--spacing,4px) * 0)}.sidebar-panel.is-active-root-panel[data-v-c0e78b4b],.sidebar-panel.is-active-sub-panel[data-v-c0e78b4b],.sidebar-panel.is-root-panel[data-v-c0e78b4b]{transform:translate(0)}.sidebar-panel.is-active-root-panel[data-v-c0e78b4b],.sidebar-panel.is-active-sub-panel[data-v-c0e78b4b]{visibility:unset}.sidebar-panel.is-root-panel[data-v-c0e78b4b]{visibility:visible}}@layer utilities{.spaces-table .oc-table-header-cell-mdate,.spaces-table .oc-table-data-cell-mdate{display:none}@media(min-width:960px){.spaces-table .oc-table-header-cell-mdate,.spaces-table .oc-table-data-cell-mdate{display:table-cell}}.spaces-table .oc-table-header-cell-manager,.spaces-table .oc-table-data-cell-manager,.spaces-table .oc-table-header-cell-remainingQuota,.spaces-table .oc-table-data-cell-remainingQuota,.spaces-table .oc-table-header-cell-members,.spaces-table .oc-table-data-cell-members,.spaces-table .oc-table-header-cell-status,.spaces-table .oc-table-data-cell-status{display:none}@media(min-width:1200px){.spaces-table .oc-table-header-cell-manager,.spaces-table .oc-table-data-cell-manager,.spaces-table .oc-table-header-cell-remainingQuota,.spaces-table .oc-table-data-cell-remainingQuota,.spaces-table .oc-table-header-cell-members,.spaces-table .oc-table-data-cell-members,.spaces-table .oc-table-header-cell-status,.spaces-table .oc-table-data-cell-status{display:table-cell}}.spaces-table .oc-table-header-cell-totalQuota,.spaces-table .oc-table-data-cell-totalQuota,.spaces-table .oc-table-header-cell-usedQuota,.spaces-table .oc-table-data-cell-usedQuota{display:none}@media(min-width:1600px){.spaces-table .oc-table-header-cell-totalQuota,.spaces-table .oc-table-data-cell-totalQuota,.spaces-table .oc-table-header-cell-usedQuota,.spaces-table .oc-table-data-cell-usedQuota{display:table-cell}}.spaces-table-squashed .oc-table-header-cell-status,.spaces-table-squashed .oc-table-data-cell-status,.spaces-table-squashed .oc-table-header-cell-manager,.spaces-table-squashed .oc-table-data-cell-manager,.spaces-table-squashed .oc-table-header-cell-totalQuota,.spaces-table-squashed .oc-table-data-cell-totalQuota,.spaces-table-squashed .oc-table-header-cell-usedQuota,.spaces-table-squashed .oc-table-data-cell-usedQuota,.spaces-table-squashed .oc-table-header-cell-members,.spaces-table-squashed .oc-table-data-cell-members{display:none}@media(min-width:1200px){.spaces-table-squashed .oc-table-header-cell-status,.spaces-table-squashed .oc-table-data-cell-status,.spaces-table-squashed .oc-table-header-cell-manager,.spaces-table-squashed .oc-table-data-cell-manager,.spaces-table-squashed .oc-table-header-cell-totalQuota,.spaces-table-squashed .oc-table-data-cell-totalQuota,.spaces-table-squashed .oc-table-header-cell-usedQuota,.spaces-table-squashed .oc-table-data-cell-usedQuota,.spaces-table-squashed .oc-table-header-cell-members,.spaces-table-squashed .oc-table-data-cell-members{display:table-cell}}.spaces-table-squashed .oc-table-header-cell-mdate,.spaces-table-squashed .oc-table-data-cell-mdate,.spaces-table-squashed .oc-table-header-cell-remainingQuota,.spaces-table-squashed .oc-table-data-cell-remainingQuota{display:none}@media(min-width:1600px){.spaces-table-squashed .oc-table-header-cell-mdate,.spaces-table-squashed .oc-table-data-cell-mdate,.spaces-table-squashed .oc-table-header-cell-remainingQuota,.spaces-table-squashed .oc-table-data-cell-remainingQuota{display:table-cell}}.files-table .oc-table-header-cell-size,.files-table .oc-table-data-cell-size,.files-table .oc-table-header-cell-sharedWith,.files-table .oc-table-data-cell-sharedWith,.files-table .oc-table-header-cell-sharedBy,.files-table .oc-table-data-cell-sharedBy,.files-table .oc-table-header-cell-status,.files-table .oc-table-data-cell-status{display:none}@media(min-width:640px){.files-table .oc-table-header-cell-size,.files-table .oc-table-data-cell-size,.files-table .oc-table-header-cell-sharedWith,.files-table .oc-table-data-cell-sharedWith,.files-table .oc-table-header-cell-sharedBy,.files-table .oc-table-data-cell-sharedBy,.files-table .oc-table-header-cell-status,.files-table .oc-table-data-cell-status{display:table-cell}}.files-table .oc-table-header-cell-mdate,.files-table .oc-table-data-cell-mdate,.files-table .oc-table-header-cell-sdate,.files-table .oc-table-data-cell-sdate,.files-table .oc-table-header-cell-ddate,.files-table .oc-table-data-cell-ddate{display:none}@media(min-width:960px){.files-table .oc-table-header-cell-mdate,.files-table .oc-table-data-cell-mdate,.files-table .oc-table-header-cell-sdate,.files-table .oc-table-data-cell-sdate,.files-table .oc-table-header-cell-ddate,.files-table .oc-table-data-cell-ddate{display:table-cell}}.files-table .oc-table-header-cell-tags,.files-table .oc-table-data-cell-tags,.files-table .oc-table-header-cell-indicators,.files-table .oc-table-data-cell-indicators{display:none}@media(min-width:1200px){.files-table .oc-table-header-cell-tags,.files-table .oc-table-data-cell-tags,.files-table .oc-table-header-cell-indicators,.files-table .oc-table-data-cell-indicators{display:table-cell}}.files-table .oc-table-header-cell-sharedBy,.files-table .oc-table-data-cell-sharedBy,.files-table .oc-table-header-cell-tags,.files-table .oc-table-data-cell-tags,.files-table .oc-table-header-cell-indicators,.files-table .oc-table-data-cell-indicators{display:none}@media(min-width:1200px){.files-table .oc-table-header-cell-sharedBy,.files-table .oc-table-data-cell-sharedBy,.files-table .oc-table-header-cell-tags,.files-table .oc-table-data-cell-tags,.files-table .oc-table-header-cell-indicators,.files-table .oc-table-data-cell-indicators{display:table-cell}}.files-table-squashed .oc-table-header-cell-size,.files-table-squashed .oc-table-data-cell-size,.files-table-squashed .oc-table-header-cell-sharedWith,.files-table-squashed .oc-table-data-cell-sharedWith,.files-table-squashed .oc-table-header-cell-sharedBy,.files-table-squashed .oc-table-data-cell-sharedBy,.files-table-squashed .oc-table-header-cell-status,.files-table-squashed .oc-table-data-cell-status{display:none}@media(min-width:960px){.files-table-squashed .oc-table-header-cell-size,.files-table-squashed .oc-table-data-cell-size,.files-table-squashed .oc-table-header-cell-sharedWith,.files-table-squashed .oc-table-data-cell-sharedWith,.files-table-squashed .oc-table-header-cell-sharedBy,.files-table-squashed .oc-table-data-cell-sharedBy,.files-table-squashed .oc-table-header-cell-status,.files-table-squashed .oc-table-data-cell-status{display:table-cell}}.files-table-squashed .oc-table-header-cell-mdate,.files-table-squashed .oc-table-data-cell-mdate,.files-table-squashed .oc-table-header-cell-sdate,.files-table-squashed .oc-table-data-cell-sdate,.files-table-squashed .oc-table-header-cell-ddate,.files-table-squashed .oc-table-data-cell-ddate{display:none}@media(min-width:1200px){.files-table-squashed .oc-table-header-cell-mdate,.files-table-squashed .oc-table-data-cell-mdate,.files-table-squashed .oc-table-header-cell-sdate,.files-table-squashed .oc-table-data-cell-sdate,.files-table-squashed .oc-table-header-cell-ddate,.files-table-squashed .oc-table-data-cell-ddate{display:table-cell}}.files-table-squashed .oc-table-header-cell-sharedBy,.files-table-squashed .oc-table-data-cell-sharedBy,.files-table-squashed .oc-table-header-cell-tags,.files-table-squashed .oc-table-data-cell-tags,.files-table-squashed .oc-table-header-cell-indicators,.files-table-squashed .oc-table-data-cell-indicators{display:none}@media(min-width:1600px){.files-table-squashed .oc-table-header-cell-sharedBy,.files-table-squashed .oc-table-data-cell-sharedBy,.files-table-squashed .oc-table-header-cell-tags,.files-table-squashed .oc-table-data-cell-tags,.files-table-squashed .oc-table-header-cell-indicators,.files-table-squashed .oc-table-data-cell-indicators{display:table-cell}}@media(min-width:640px){#files-shared-with-me-view .files-table .oc-table-header-cell-sharedBy,#files-shared-with-me-view .files-table .oc-table-data-cell-sharedBy,#files-shared-with-me-view .files-table .oc-table-header-cell-syncEnabled,#files-shared-with-me-view .files-table .oc-table-data-cell-syncEnabled{display:table-cell}}#files-shared-with-me-view .files-table .oc-table-header-cell-sharedWith,#files-shared-with-me-view .files-table .oc-table-data-cell-sharedWith,#files-shared-with-me-view .files-table .oc-table-header-cell-syncEnabled,#files-shared-with-me-view .files-table .oc-table-data-cell-syncEnabled{display:none}@media(min-width:1200px){#files-shared-with-me-view .files-table .oc-table-header-cell-sharedWith,#files-shared-with-me-view .files-table .oc-table-data-cell-sharedWith,#files-shared-with-me-view .files-table .oc-table-header-cell-syncEnabled,#files-shared-with-me-view .files-table .oc-table-data-cell-syncEnabled{display:table-cell}}.resource-table-resource-wrapper-limit-max-width{max-width:calc(100% - 4 * var(--spacing))}.oc-table.condensed>tbody>tr{height:calc(var(--spacing,4px) * 8)}}@layer utilities{.oc-tile-card-preview:hover img{border-radius:var(--radius-sm,.25rem)}}.oc-tile-card-lazy-shimmer:after{background-image:linear-gradient(90deg,#4c5f7900 0,#4c5f7933 20%,#4c5f7980 60%,#4c5f7900)}@layer components{.oc-tiles[data-v-6e98839f]{grid-template-columns:repeat(auto-fit,minmax(var(--oc-size-tiles-actual),1fr))}}@layer utilities{.date-filter-range-panel[data-v-3242f5d1]{transition:transform .4s,visibility .4s}}@layer components{.item-inline-filter{outline-color:var(--color-role-outline-variant)}}#oc-loading-indicator .oc-progress-indeterminate-first{animation-duration:4s}#oc-loading-indicator .oc-progress-indeterminate-second{animation-duration:4s;animation-delay:1s}@layer components{.no-content-message[data-v-a1dde729]{height:65vh}}@layer utilities{#oc-topbar:has(>:last-child:nth-child(4)) .topbar-center[data-v-172df222]{display:none}#oc-topbar .oc-logo-image[data-v-172df222]{image-rendering:auto;image-rendering:crisp-edges;image-rendering:pixelated;image-rendering:-webkit-optimize-contrast}}@layer components{.oc-sidebar-nav-item-link.active{outline-color:var(--oc-role-surface-container-highest)}.oc-sidebar-nav-item-link:not(.active){color:var(--oc-role-on-surface-variant)}}@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-border-style:solid}}}@layer utilities{.account-table td{padding-block:calc(var(--spacing,4px) * 2);display:block}@media(min-width:960px){.account-table td{padding-block:calc(var(--spacing,4px) * 0);display:table-cell}}.account-table td>.checkbox-cell-wrapper{min-height:calc(var(--spacing,4px) * 10.5);width:100%;padding-block:calc(var(--spacing,4px) * 2)}@media(min-width:960px){.account-table td>.checkbox-cell-wrapper{width:auto;min-height:auto;padding-block:calc(var(--spacing,4px) * 0);justify-content:flex-end;align-items:center;display:flex}}.account-table tr{border-top-style:var(--tw-border-style);border-top-width:0;border-bottom-style:var(--tw-border-style);height:100%;padding-bottom:calc(var(--spacing,4px) * 1);border-bottom-width:1px;display:block}@media(min-width:960px){.account-table tr{height:calc(var(--spacing,4px) * 10.5);padding-bottom:calc(var(--spacing,4px) * 0);display:table-row}}.account-table tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}}@layer utilities{.app-token-table td[data-v-1869de39]:first-of-type,.app-token-table td[data-v-1869de39]:nth-of-type(4){width:30%}.app-token-table td[data-v-1869de39]:nth-of-type(2),.app-token-table td[data-v-1869de39]:nth-of-type(3){width:20%}}@layer utilities{.users-table .oc-table-header-cell-actions,.users-table .oc-table-data-cell-actions{white-space:nowrap}.users-table .oc-table-header-cell-role,.users-table .oc-table-data-cell-role,.users-table .oc-table-header-cell-accountEnabled,.users-table .oc-table-data-cell-accountEnabled,.users-table .oc-table-header-cell-mail,.users-table .oc-table-data-cell-mail{display:none}@media(min-width:1200px){.users-table .oc-table-header-cell-role,.users-table .oc-table-data-cell-role,.users-table .oc-table-header-cell-accountEnabled,.users-table .oc-table-data-cell-accountEnabled,.users-table .oc-table-header-cell-mail,.users-table .oc-table-data-cell-mail{display:table-cell}}.users-table .oc-table-header-cell-displayName,.users-table .oc-table-data-cell-displayName{display:none}@media(min-width:960px){.users-table .oc-table-header-cell-displayName,.users-table .oc-table-data-cell-displayName{display:table-cell}}.users-table-squashed .oc-table-header-cell-role,.users-table-squashed .oc-table-data-cell-role,.users-table-squashed .oc-table-header-cell-accountEnabled,.users-table-squashed .oc-table-data-cell-accountEnabled{display:none}@media(min-width:96rem){.users-table-squashed .oc-table-header-cell-role,.users-table-squashed .oc-table-data-cell-role,.users-table-squashed .oc-table-header-cell-accountEnabled,.users-table-squashed .oc-table-data-cell-accountEnabled{display:table-cell}}.users-table-squashed .oc-table-header-cell-displayName,.users-table-squashed .oc-table-data-cell-displayName{display:none}@media(min-width:1600px){.users-table-squashed .oc-table-header-cell-displayName,.users-table-squashed .oc-table-data-cell-displayName{display:table-cell}}.users-table-squashed .oc-table-header-cell-mail,.users-table-squashed .oc-table-data-cell-mail{display:none}@media(min-width:1200px){.users-table-squashed .oc-table-header-cell-mail,.users-table-squashed .oc-table-data-cell-mail{display:table-cell}}}@layer utilities{.settings-spaces-table .oc-table-header-cell-actions,.settings-spaces-table .oc-table-data-cell-actions{white-space:nowrap}.oc-table-header-cell-status,.oc-table-data-cell-status,.oc-table-header-cell-members,.oc-table-data-cell-members,.oc-table-header-cell-mdate,.oc-table-data-cell-mdate{display:none}@media(min-width:960px){.oc-table-header-cell-status,.oc-table-data-cell-status,.oc-table-header-cell-members,.oc-table-data-cell-members,.oc-table-header-cell-mdate,.oc-table-data-cell-mdate{display:table-cell}}.settings-spaces-table .oc-table-header-cell-manager,.settings-spaces-table .oc-table-data-cell-manager,.settings-spaces-table .oc-table-header-cell-totalQuota,.settings-spaces-table .oc-table-data-cell-totalQuota,.settings-spaces-table .oc-table-header-cell-usedQuota,.settings-spaces-table .oc-table-data-cell-usedQuota,.settings-spaces-table .oc-table-header-cell-remainingQuota,.settings-spaces-table .oc-table-data-cell-remainingQuota{display:none}@media(min-width:1200px){.settings-spaces-table .oc-table-header-cell-manager,.settings-spaces-table .oc-table-data-cell-manager,.settings-spaces-table .oc-table-header-cell-totalQuota,.settings-spaces-table .oc-table-data-cell-totalQuota,.settings-spaces-table .oc-table-header-cell-usedQuota,.settings-spaces-table .oc-table-data-cell-usedQuota,.settings-spaces-table .oc-table-header-cell-remainingQuota,.settings-spaces-table .oc-table-data-cell-remainingQuota{display:table-cell}}.settings-spaces-table-squashed .oc-table-header-cell-manager,.settings-spaces-table-squashed .oc-table-data-cell-manager,.settings-spaces-table-squashed .oc-table-header-cell-status,.settings-spaces-table-squashed .oc-table-data-cell-status,.settings-spaces-table-squashed .oc-table-header-cell-members,.settings-spaces-table-squashed .oc-table-data-cell-members,.settings-spaces-table-squashed .oc-table-header-cell-totalQuota,.settings-spaces-table-squashed .oc-table-data-cell-totalQuota,.settings-spaces-table-squashed .oc-table-header-cell-usedQuota,.settings-spaces-table-squashed .oc-table-data-cell-usedQuota,.settings-spaces-table-squashed .oc-table-header-cell-remainingQuota,.settings-spaces-table-squashed .oc-table-data-cell-remainingQuota,.settings-spaces-table-squashed .oc-table-header-cell-mdate,.settings-spaces-table-squashed .oc-table-data-cell-mdate{display:none}@media(min-width:1600px){.settings-spaces-table-squashed .oc-table-header-cell-remainingQuota,.settings-spaces-table-squashed .oc-table-data-cell-remainingQuota,.settings-spaces-table-squashed .oc-table-header-cell-status,.settings-spaces-table-squashed .oc-table-data-cell-status,.settings-spaces-table-squashed .oc-table-header-cell-members,.settings-spaces-table-squashed .oc-table-data-cell-members,.settings-spaces-table-squashed .oc-table-header-cell-mdate,.settings-spaces-table-squashed .oc-table-data-cell-mdate{display:table-cell}}}@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-border-style:solid;--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-outline-style:solid}}}@layer utilities{.space-members-filter input:focus{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-role-outline,var(--oc-role-outline));--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--color-role-outline,var(--oc-role-outline));outline-style:var(--tw-outline-style);outline-width:0}.space-members-filter-container{transition:max-height .25s ease-in-out,margin-bottom .25s ease-in-out,visibility .25s ease-in-out}.space-members-filter-container-expanded{transition:max-height .25s ease-in-out,margin-bottom .25s ease-in-out,visibility}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@layer utilities{#create-or-upload-drop .oc-icon svg{height:calc(var(--spacing,4px) * 5.5)}}.mail-spam-indicator[data-v-0b3c81bf]{background-color:#fff0d7!important;border-color:#fff0d7!important;color:#996102!important}.mail-body-editor{display:flex!important;flex-direction:column!important;gap:8px!important;height:100%!important;min-height:0!important;position:relative!important}.mail-body-editor-editor-wrapper{border-radius:8px!important;border:none!important;background-color:var(--oc-color-role-surface-container)!important;padding:12px 0 72px!important;cursor:text!important;flex:1 1 auto!important;min-height:0!important;display:flex!important;overflow-y:auto!important}.mail-body-editor-editor-wrapper:focus,.mail-body-editor-editor-wrapper:focus-within{outline:none!important;box-shadow:none!important;border:none!important}.mail-body-editor-editor,.mail-body-editor .ProseMirror{flex:1 1 auto!important;min-height:128px!important;width:100%!important;box-sizing:border-box!important;outline:none!important;border:none!important;margin:0!important;padding:0!important;font-size:15px!important;line-height:1.6!important}.mail-body-editor .ProseMirror a{color:var(--oc-color-role-primary)!important;text-decoration:underline!important;cursor:pointer!important}.mail-body-editor .ProseMirror:focus,.mail-body-editor .ProseMirror:focus-visible{outline:none!important;box-shadow:none!important}.mail-body-editor .ProseMirror p{margin:0 0 8px!important}.mail-body-editor .ProseMirror ul{list-style-type:disc!important;padding-left:20px!important;margin:4px 0 8px!important}.mail-body-editor .ProseMirror ol{list-style-type:decimal!important;padding-left:20px!important;margin:4px 0 8px!important}.mail-body-editor .ProseMirror li{margin:2px 0!important}.mail-body-editor .ProseMirror strong{font-weight:600!important}.mail-body-editor .ProseMirror em{font-style:italic!important}.mail-body-editor .ProseMirror u{text-decoration:underline!important}.mail-body-editor .ProseMirror blockquote{border-left:2px solid var(--oc-color-role-outline-variant, #94a3b8)!important;padding-left:12px!important;margin:4px 0 8px!important;font-style:italic!important;opacity:.9!important}.mail-body-editor .ProseMirror pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important;font-size:14px!important;padding:8px 12px!important;border-radius:6px!important;background:#94a3b81f!important;overflow-x:auto!important}.mail-body-editor .ProseMirror code{font-family:inherit!important;font-size:.875em!important;padding:2px 4px!important;border-radius:4px!important;background:#94a3b82e!important}.mail-body-editor-toolbar-shell{display:flex!important;justify-content:center!important;position:sticky!important;bottom:12px!important;z-index:10!important;margin-top:-60px!important;pointer-events:none!important}.mail-body-editor-toolbar{pointer-events:auto!important;display:inline-flex!important;align-items:center!important;gap:12px!important;padding:9px 14px!important;border-radius:9999px!important;background-color:var(--oc-color-role-surface, #ffffff)!important;border:1px solid var(--oc-color-role-outline-variant, #e5e7eb)!important;box-shadow:0 4px 10px #0f172a14!important}.mail-body-editor-toolbar-group{display:inline-flex!important;align-items:stretch!important;border-radius:8px!important;overflow:hidden!important;background-color:var(--oc-color-role-surface-variant, #f3f4f6)!important}.mail-body-editor-toolbar-btn{min-width:42px!important;height:35px!important;padding:0 11px!important;border-radius:0!important;border:none!important;background-color:transparent!important;color:var(--oc-color-role-on-surface, #111827)!important;font-size:14px!important;font-weight:500!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;-webkit-user-select:none!important;user-select:none!important}.mail-body-editor-toolbar-icon{font-size:17px!important}.mail-body-editor-toolbar-btn:hover{background-color:var(--oc-color-role-surface, #ffffff)!important}.mail-body-editor-toolbar-btn--active{background-color:var(--oc-color-role-surface, #ffffff)!important;font-weight:600!important}.mail-body-editor-link-modal{max-width:420px}.mail-compose-modal{width:90vw;max-width:90vw;height:90vh;display:flex;flex-direction:column}.mail-compose-modal .oc-modal-body,.mail-compose-modal .oc-modal-body-message{flex:1;display:flex;flex-direction:column;overflow:hidden}.invitation-acceptance-content[data-v-bf342533]{min-height:200px}@media(max-width:960px){#wayf .grid[data-v-7b32f88b]{grid-template-columns:1fr!important}}@media(max-height:600px){#wayf .min-h-\[200px\][data-v-7b32f88b]{min-height:120px}#wayf .max-h-\[280px\][data-v-7b32f88b]{max-height:200px}#wayf .h-\[280px\][data-v-7b32f88b]{height:200px}#wayf .min-h-\[220px\][data-v-7b32f88b]{min-height:200px}#wayf .max-h-\[330px\][data-v-7b32f88b]{max-height:250px}}@layer utilities{#files-global-search #files-global-search-bar input,#files-global-search #files-global-search-bar input:not(:placeholder-shown){z-index:var(--z-index-modal)}@media(min-width:640px){#files-global-search #files-global-search-bar input,#files-global-search #files-global-search-bar input:not(:placeholder-shown){z-index:auto}}#files-global-search-options{max-height:calc(100vh - 60px)}#files-global-search .oc-search-input{background-color:var(--color-role-surface,var(--oc-role-surface));transition-property:none;display:inline}@media(min-width:640px){#files-global-search .oc-search-input{display:block}}#files-global-search-options .preview-component button,#files-global-search-options .preview-component a{gap:calc(var(--spacing,4px) * 0);width:auto;padding:calc(var(--spacing,4px) * 0)}}.md-editor .md-editor-preview{--md-theme-color: var(--md-color);--md-theme-color-reverse: #eee;--md-theme-color-hover: #eee;--md-theme-color-hover-inset: #ddd;--md-theme-link-color: #2d8cf0;--md-theme-link-hover-color: #73d13d;--md-theme-border-color: #e6e6e6;--md-theme-border-color-reverse: #bebebe;--md-theme-border-color-inset: #d6d6d6;--md-theme-bg-color: #fff;--md-theme-bg-color-inset: #ececec;--md-theme-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #fff;--md-theme-code-active-color: #61aeee;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor-dark .md-editor-preview{--md-theme-color: var(--md-color);--md-theme-color-reverse: #222;--md-theme-color-hover: #191919;--md-theme-color-hover-inset: #444;--md-theme-link-color: #2d8cf0;--md-theme-link-hover-color: #73d13d;--md-theme-border-color: #2d2d2d;--md-theme-border-color-reverse: #e6e6e6;--md-theme-border-color-inset: #5a5a5a;--md-theme-bg-color: #000;--md-theme-bg-color-inset: #111;--md-theme-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #3a3a3a;--md-theme-code-active-color: #e6c07b;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor .md-editor-admonition-note{--md-admonition-color: #212121;--md-admonition-bg-color: #FFFFFF;--md-admonition-border-color: rgb(166.2, 166.2, 166.2)}.md-editor .md-editor-admonition-tip{--md-admonition-color: #616161;--md-admonition-bg-color: #F5F5F5;--md-admonition-border-color: rgb(185.8, 185.8, 185.8)}.md-editor .md-editor-admonition-info{--md-admonition-color: #424242;--md-admonition-bg-color: #F0F0F0;--md-admonition-border-color: rgb(170.4, 170.4, 170.4)}.md-editor .md-editor-admonition-quote{--md-admonition-color: #455a64;--md-admonition-bg-color: #eceff1;--md-admonition-border-color: rgb(169.2, 179.4, 184.6)}.md-editor .md-editor-admonition-abstract{--md-admonition-color: #0288d1;--md-admonition-bg-color: #e1f5fe;--md-admonition-border-color: rgb(135.8, 201.4, 236)}.md-editor .md-editor-admonition-attention{--md-admonition-color: #1e88e5;--md-admonition-bg-color: #e3f2fd;--md-admonition-border-color: rgb(148.2, 199.6, 243.4)}.md-editor .md-editor-admonition-example{--md-admonition-color: #5e35b1;--md-admonition-bg-color: #ede7f6;--md-admonition-border-color: rgb(179.8, 159.8, 218.4)}.md-editor .md-editor-admonition-hint{--md-admonition-color: #00897B;--md-admonition-bg-color: #E0F2F1;--md-admonition-border-color: rgb(134.4, 200, 193.8)}.md-editor .md-editor-admonition-success{--md-admonition-color: #388e3c;--md-admonition-bg-color: #e8f5e9;--md-admonition-border-color: rgb(161.6, 203.8, 163.8)}.md-editor .md-editor-admonition-question{--md-admonition-color: #f9a825;--md-admonition-bg-color: #fffde7;--md-admonition-border-color: rgb(252.6, 219, 153.4)}.md-editor .md-editor-admonition-caution{--md-admonition-color: #fb8c00;--md-admonition-bg-color: #fff8e1;--md-admonition-border-color: rgb(253.4, 204.8, 135)}.md-editor .md-editor-admonition-warning{--md-admonition-color: #f57c00;--md-admonition-bg-color: #fff3e0;--md-admonition-border-color: rgb(251, 195.4, 134.4)}.md-editor .md-editor-admonition-danger{--md-admonition-color: #d84315;--md-admonition-bg-color: #ffebee;--md-admonition-border-color: rgb(239.4, 167.8, 151.2)}.md-editor .md-editor-admonition-failure{--md-admonition-color: #d32f2f;--md-admonition-bg-color: #fee2e6;--md-admonition-border-color: rgb(236.8, 154.4, 156.8)}.md-editor .md-editor-admonition-bug{--md-admonition-color: #c31a1a;--md-admonition-bg-color: #fddadd;--md-admonition-border-color: rgb(229.8, 141.2, 143)}.md-editor .md-editor-admonition-error{--md-admonition-color: #b71c1c;--md-admonition-bg-color: #fdd2d6;--md-admonition-border-color: rgb(225, 137.2, 139.6)}.md-editor-dark .md-editor-admonition-note{--md-admonition-color: #E0E0E0;--md-admonition-bg-color: #1E1E1E;--md-admonition-border-color: rgb(107.6, 107.6, 107.6)}.md-editor-dark .md-editor-admonition-tip{--md-admonition-color: #B0B0B0;--md-admonition-bg-color: #262626;--md-admonition-border-color: rgb(93.2, 93.2, 93.2)}.md-editor-dark .md-editor-admonition-info{--md-admonition-color: #B3B3B3;--md-admonition-bg-color: #2B2B2B;--md-admonition-border-color: rgb(97.4, 97.4, 97.4)}.md-editor-dark .md-editor-admonition-quote{--md-admonition-color: #b0bec5;--md-admonition-bg-color: #263238;--md-admonition-border-color: rgb(93.2, 106, 112.4)}.md-editor-dark .md-editor-admonition-abstract{--md-admonition-color: #81d4fa;--md-admonition-bg-color: #012f45;--md-admonition-border-color: rgb(52.2, 113, 141.4)}.md-editor-dark .md-editor-admonition-attention{--md-admonition-color: #64b5f6;--md-admonition-bg-color: #102a4c;--md-admonition-border-color: rgb(49.6, 97.6, 144)}.md-editor-dark .md-editor-admonition-example{--md-admonition-color: #9575cd;--md-admonition-bg-color: #271b52;--md-admonition-border-color: rgb(83, 63, 131.2)}.md-editor-dark .md-editor-admonition-hint{--md-admonition-color: #4DB6AC;--md-admonition-bg-color: #003D3A;--md-admonition-border-color: rgb(30.8, 109.4, 103.6)}.md-editor-dark .md-editor-admonition-success{--md-admonition-color: #81c784;--md-admonition-bg-color: #1b5e20;--md-admonition-border-color: rgb(67.8, 136, 72)}.md-editor-dark .md-editor-admonition-question{--md-admonition-color: #ffd54f;--md-admonition-bg-color: #3e2f00;--md-admonition-border-color: rgb(139.2, 113.4, 31.6)}.md-editor-dark .md-editor-admonition-caution{--md-admonition-color: #ffcc80;--md-admonition-bg-color: #3e2600;--md-admonition-border-color: rgb(139.2, 104.4, 51.2)}.md-editor-dark .md-editor-admonition-warning{--md-admonition-color: #ffb74d;--md-admonition-bg-color: #3d2600;--md-admonition-border-color: rgb(138.6, 96, 30.8)}.md-editor-dark .md-editor-admonition-danger{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0000;--md-admonition-border-color: rgb(131.6, 61.6, 61.6)}.md-editor-dark .md-editor-admonition-failure{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0900;--md-admonition-border-color: rgb(131.6, 67, 61.6)}.md-editor-dark .md-editor-admonition-bug{--md-admonition-color: #e68381;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(120.8, 52.4, 51.6)}.md-editor-dark .md-editor-admonition-error{--md-admonition-color: #ef5350;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(124.4, 33.2, 32)}.md-editor-preview .md-editor-admonition{background-color:var(--md-admonition-bg-color);border:1px solid var(--md-admonition-border-color);border-radius:var(--md-theme-radius-m);color:var(--md-admonition-color);display:flow-root;font-size:14px;font-weight:400;margin:1rem 0;padding:1em 1em .5em;page-break-inside:avoid}.md-editor-preview .md-editor-admonition-title{margin:0;padding:0;position:relative;font-weight:700}.md-editor-preview .md-editor-admonition p{margin:.5em 0;padding:0}.md-editor-preview .md-editor-admonition p:first-of-type{margin-block-start:0}.md-editor-preview .md-editor-admonition+p:empty,.md-editor-preview .md-editor-admonition+p:empty+p:empty{display:none}.md-editor-preview .md-editor-mermaid{overflow:hidden;line-height:normal}.md-editor-preview .md-editor-mermaid p{line-height:normal}.md-editor-preview .md-editor-mermaid:not([data-processed]){white-space:pre}.md-editor-preview [class=md-editor-mermaid][data-grab]{cursor:grab}.md-editor-preview [class=md-editor-mermaid][data-grab]:active{cursor:grabbing}.md-editor-preview [class=md-editor-mermaid][data-processed]{position:relative;display:flex;justify-content:center;align-items:center}.md-editor-preview [class=md-editor-mermaid][data-processed] svg{transform-origin:top left}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action{position:absolute;inset-block-start:10px;inset-inline-end:10px;z-index:1;opacity:0;transition:opacity .3s;cursor:pointer;display:flex;gap:8px}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action svg{padding:6px;border-radius:4px;background-color:var(--md-bk-color-outstand)}.md-editor-preview [class=md-editor-mermaid][data-processed]:hover .md-editor-mermaid-action{opacity:1}.md-editor-katex-block{text-align:center;margin:20px}.md-editor-katex-inline,.md-editor-katex-block{display:none;direction:ltr}.md-editor-katex-inline[data-processed]{display:initial}.md-editor-katex-block[data-processed]{display:block}.md-editor .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, .1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-dark .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, .1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-preview code{direction:ltr;color:var(--md-theme-code-inline-color);background-color:var(--md-theme-code-inline-bg-color);border-radius:var(--md-theme-code-inline-radius);padding:2px 4px;line-height:22px}.md-editor-preview .md-editor-code{color:var(--md-theme-code-block-color);font-size:12px;line-height:1;margin:20px 0;position:relative}.md-editor-preview .md-editor-code input[type=radio],.md-editor-preview .md-editor-code input[type=radio]+pre,.md-editor-preview .md-editor-code input[type=radio]+span.md-editor-code-lang{display:none}.md-editor-preview .md-editor-code input:checked+pre,.md-editor-preview .md-editor-code input:checked+span.md-editor-code-lang{display:block}.md-editor-preview .md-editor-code input:checked+label{border-block-end:1px solid;color:var(--md-theme-code-active-color)}.md-editor-preview .md-editor-code .md-editor-code-head{display:grid;grid-template:"1fr 1fr";justify-content:space-between;height:32px;width:100%;font-size:12px;background-color:var(--md-theme-code-before-bg-color);margin-block-end:0;border-start-start-radius:var(--md-theme-code-block-radius);border-start-end-radius:var(--md-theme-code-block-radius);-webkit-tap-highlight-color:rgba(0,0,0,0);list-style:none;position:sticky;top:0;z-index:10000}.md-editor-preview .md-editor-code .md-editor-code-head::-webkit-details-marker{display:none}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag{margin-inline-start:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span{display:inline-block;width:10px;height:10px;border-radius:50%;margin-block-start:11px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(1){background-color:#ec6a5e}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(2){background-color:#f4bf4f}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(3){background-color:#61c554}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span+span{margin-inline-start:4px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label{box-sizing:border-box;white-space:nowrap;-webkit-user-select:none;user-select:none;background-color:var(--md-theme-code-block-bg-color);margin-block-start:8px;padding:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li{line-height:1;list-style:none;display:inline-block;position:relative;vertical-align:super;margin:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li label{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-block;font-size:14px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li+li{margin-inline-start:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action{display:flex;align-items:center}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action>*{margin-inline-end:10px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-lang{line-height:32px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon){cursor:pointer;line-height:32px;position:initial}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon) .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]{cursor:pointer;line-height:1;position:relative}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon] .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:max-content;text-align:center;padding:4px;border-radius:var(--md-theme-radius-s);box-shadow:0 0 2px #0003;inset-inline-start:-10px;inset-block-start:50%;transform:translate(-100%,-50%)}[dir=rtl] .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:before{transform:translate(100%,-50%)}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-inline-end-width:0;border-inline-start-color:currentColor;inset-inline-start:-10px;inset-block-start:50%;transform:translateY(-50%);filter:drop-shadow(4px 0 2px rgba(0,0,0,.2))}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:after{visibility:hidden;transition:.3s}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover:before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover:after{visibility:visible}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips{margin-inline-end:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{width:16px;height:16px;font-size:16px;display:inline-block;vertical-align:sub;transition:transform .1s;transform:rotate(0)}[dir=rtl] .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,[dir=rtl] .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{transform:rotate(180deg)}.md-editor-preview .md-editor-code pre{position:relative;margin:0}.md-editor-preview .md-editor-code pre code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:var(--md-theme-code-block-color);background-color:var(--md-theme-code-before-bg-color);display:block;line-height:1.6;overflow:auto;padding:1em;position:relative;border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:var(--md-theme-code-block-radius);border-end-end-radius:var(--md-theme-code-block-radius)}.md-editor-preview .md-editor-code pre code .md-editor-code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom;color:var(--md-theme-code-block-color)}.md-editor-preview details.md-editor-code .md-editor-code-head{cursor:pointer}.md-editor-preview details.md-editor-code:not(open) .md-editor-code-head{border-end-start-radius:var(--md-theme-code-block-radius);border-end-end-radius:var(--md-theme-code-block-radius)}.md-editor-preview details.md-editor-code[open] .md-editor-code-head{border-end-start-radius:0;border-end-end-radius:0}.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{transform:rotate(-90deg)}[dir=rtl] .md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,[dir=rtl] .md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{transform:rotate(270deg)}.md-editor-scrn span[rn-wrapper]{position:absolute;pointer-events:none;font-size:100%;inset-block-start:1em;inset-inline-start:0;width:3em;letter-spacing:-1px;-webkit-user-select:none;user-select:none;counter-reset:linenumber}.md-editor-scrn span[rn-wrapper]>span{display:block;pointer-events:none;counter-increment:linenumber}.md-editor-scrn span[rn-wrapper]>span:before{color:#999;display:block;padding-inline-end:.5em;text-align:right;content:counter(linenumber)}.md-editor-scrn pre code{padding-inline-start:3.5em!important}.md-editor-preview figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.md-editor-preview figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-block-start:5px}.md-editor .md-editor-preview{--md-theme-heading-color: var(--md-theme-color);--md-theme-heading-border: none;--md-theme-heading-1-color: var(--md-theme-heading-color);--md-theme-heading-1-border: var(--md-theme-heading-border);--md-theme-heading-2-color: var(--md-theme-heading-color);--md-theme-heading-2-border: var(--md-theme-heading-border);--md-theme-heading-3-color: var(--md-theme-heading-color);--md-theme-heading-3-border: var(--md-theme-heading-border);--md-theme-heading-4-color: var(--md-theme-heading-color);--md-theme-heading-4-border: var(--md-theme-heading-border);--md-theme-heading-5-color: var(--md-theme-heading-color);--md-theme-heading-5-border: var(--md-theme-heading-border);--md-theme-heading-6-color: var(--md-theme-heading-color);--md-theme-heading-6-border: var(--md-theme-heading-border)}.md-editor-preview h1,.md-editor-preview h2,.md-editor-preview h3,.md-editor-preview h4,.md-editor-preview h5,.md-editor-preview h6{position:relative;word-break:break-all;margin:1.4em 0 .8em;font-weight:700}.md-editor-preview h1 a,.md-editor-preview h2 a,.md-editor-preview h3 a,.md-editor-preview h4 a,.md-editor-preview h5 a,.md-editor-preview h6 a,.md-editor-preview h1 a:hover,.md-editor-preview h2 a:hover,.md-editor-preview h3 a:hover,.md-editor-preview h4 a:hover,.md-editor-preview h5 a:hover,.md-editor-preview h6 a:hover{color:inherit}.md-editor-preview h1{color:var(--md-theme-heading-1-color);border-block-end:var(--md-theme-heading-1-border)}.md-editor-preview h2{color:var(--md-theme-heading-2-color);border-block-end:var(--md-theme-heading-2-border)}.md-editor-preview h3{color:var(--md-theme-heading-3-color);border-block-end:var(--md-theme-heading-3-border)}.md-editor-preview h4{color:var(--md-theme-heading-4-color);border-block-end:var(--md-theme-heading-4-border)}.md-editor-preview h5{color:var(--md-theme-heading-5-color);border-block-end:var(--md-theme-heading-5-border)}.md-editor-preview h6{color:var(--md-theme-heading-6-color);border-block-end:var(--md-theme-heading-6-border)}.md-editor-preview h1{font-size:2em}.md-editor-preview h2{font-size:1.5em}.md-editor-preview h3{font-size:1.25em}.md-editor-preview h4{font-size:1em}.md-editor-preview h5{font-size:.875em}.md-editor-preview h6{font-size:.85em}.md-editor-preview hr{height:1px;margin:10px 0;border:none;border-block-start:1px solid var(--md-theme-border-color)}.md-editor-preview a{color:var(--md-theme-link-color);text-decoration:none;transition:color .1s}.md-editor-preview a:hover{color:var(--md-theme-link-hover-color)}.md-editor-preview a:empty:before{content:attr(href)}.md-editor-preview ol,.md-editor-preview ul{padding-inline-start:2em}.md-editor-preview ol .task-list-item,.md-editor-preview ul .task-list-item{list-style-type:none}.md-editor-preview ol .task-list-item input,.md-editor-preview ul .task-list-item input{margin-inline-start:-1.5em;margin-inline-end:.1em}.md-editor-preview img{max-width:100%}.md-editor-preview p:empty{display:none}.md-editor .md-editor-preview{--md-theme-quote-color: var(--md-theme-color);--md-theme-quote-border: none;--md-theme-quote-bg-color: inherit}.md-editor-preview blockquote{padding:0 1em;color:var(--md-theme-quote-color);border-inline-start:var(--md-theme-quote-border);background-color:var(--md-theme-quote-bg-color)}.md-editor .md-editor-preview{--md-theme-table-stripe-color: #fafafa;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-dark .md-editor-preview{--md-theme-table-stripe-color: #0c0c0c;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-preview table tr{background-color:var(--md-theme-table-tr-bg-color)}.md-editor-preview table tr th,.md-editor-preview table tr td{border:1px solid var(--md-theme-table-td-border-color)}.md-editor-preview table tr:nth-child(2n){background-color:var(--md-theme-table-stripe-color)}.md-editor-preview{color:var(--md-theme-color)}.md-editor-preview ::-webkit-scrollbar{width:6px;height:6px}.md-editor-preview ::-webkit-scrollbar-button:vertical{display:none}.md-editor-preview ::-webkit-scrollbar-corner,.md-editor-preview ::-webkit-scrollbar-track,.md-editor-preview ::-webkit-scrollbar-thumb{border-radius:2px}.md-editor .md-editor-preview ::-webkit-scrollbar-corner,.md-editor .md-editor-preview ::-webkit-scrollbar-track{background-color:#e2e2e2}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb{background-color:#0000004d}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-corner,.md-editor-dark .md-editor-preview ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-editor div.default-theme{--md-theme-code-copy-tips-color: #141414}.md-editor-dark div.default-theme{--md-theme-code-copy-tips-color: inherit}div.default-theme img{margin:0 auto;box-sizing:border-box}div.default-theme a{display:inline-flex;line-height:1;border-block-end:none}div.default-theme a:hover{border-block-end:1px solid}div.default-theme a[target=_blank]{align-items:center}div.default-theme a[target=_blank]:after{content:"";display:inline-block;width:16px;height:16px;margin-inline-start:2px;background-color:currentColor;-webkit-mask-image:url('data:image/svg+xml;utf8,');mask-image:url('data:image/svg+xml;utf8,');-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}div.default-theme ol,div.default-theme ul{margin:.6em 0}div.default-theme ol li,div.default-theme ul li{line-height:1.6;margin:.5em 0}div.default-theme p{line-height:1.6;margin:.5rem 0}.md-editor div.default-theme{--md-theme-quote-border: 5px solid #35b378;--md-theme-quote-bg-color: var(--md-theme-bg-color-inset)}div.default-theme blockquote{margin:20px 0;padding:0 1.2em;line-height:2em;display:flow-root}.md-editor default-theme{--md-theme-table-stripe-color: #fafafa}.md-editor-dark default-theme{--md-theme-table-stripe-color: #0c0c0c}div.default-theme table{overflow:auto;border-spacing:0;border-collapse:collapse;margin-block-end:1em;margin-block-start:1em}div.default-theme table tr th,div.default-theme table tr td{word-wrap:break-word;padding:8px 14px}div.default-theme table tbody tr:hover{background-color:var(--md-theme-color-hover)}div.default-theme blockquote table{line-height:initial}div.default-theme blockquote table tr th,div.default-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.default-theme blockquote table tbody tr:nth-child(n){background-color:inherit}div.default-theme blockquote table tbody tr:hover{background-color:var(--md-theme-color-hover-inset)}.md-editor div.vuepress-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #f8f8f8;--md-theme-code-block-color: #747384;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}.md-editor-dark div.vuepress-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}div.vuepress-theme code{padding:3px 5px;margin:0 2px}div.vuepress-theme .md-editor-code pre{font-size:.875em;margin:0 0 1em}div.vuepress-theme .md-editor-code pre code{white-space:pre;padding:22px 1em;margin:0}div.vuepress-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.vuepress-theme{--md-theme-heading-color: #273849;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}.md-editor-dark div.vuepress-theme{--md-theme-heading-color: #999;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}div.vuepress-theme h1,div.vuepress-theme h2,div.vuepress-theme h3,div.vuepress-theme h4,div.vuepress-theme h5,div.vuepress-theme h6{font-weight:600;line-height:1.45;position:relative;margin-block-start:1em}div.vuepress-theme h1{font-size:2.2em;margin:1em 0}div.vuepress-theme h2{font-size:1.65em;padding-block-end:.3em}div.vuepress-theme h3{line-height:1.35em}.md-editor div.vuepress-theme{--md-theme-link-color: #42b983}div.vuepress-theme a{font-weight:600}div.vuepress-theme ul,div.vuepress-theme ol{position:relative;line-height:1.4em;margin:1.2em 0;z-index:1}div.vuepress-theme ul li,div.vuepress-theme ol li{margin:1.2em 0}div.vuepress-theme p{word-spacing:.05em;line-height:1.6em;margin:1.2em 0;position:relative}.md-editor div.vuepress-theme{--md-theme-quote-border: 4px solid #42b983}div.vuepress-theme blockquote{margin:2em 0;padding-inline-start:20px}div.vuepress-theme blockquote p{margin-inline-start:0;margin-block-start:1.2em;margin-block-end:0;padding:0}.md-editor div.vuepress-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.vuepress-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.vuepress-theme table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}div.vuepress-theme table tr th,div.vuepress-theme table tr td{padding:.6em 1em}.md-editor div.vuepress-theme{--md-theme-color: #304455}.md-editor-dark div.vuepress-theme{--md-theme-color: #999}div.vuepress-theme{font-size:16px;color:var(--md-theme-color)}div.vuepress-theme em{color:#4f5959;padding:0 6px 0 4px}.md-editor div.github-theme{--md-theme-code-inline-color: inherit;--md-theme-code-inline-bg-color: #eff1f2;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: inherit;--md-theme-code-block-bg-color: #f6f8fa;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}.md-editor-dark div.github-theme{--md-theme-code-inline-color: #c9d1d9;--md-theme-code-inline-bg-color: #2d3339;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #161b22;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}div.github-theme code{padding:.2em .4em;margin:0}div.github-theme pre code{padding:22px 1em;margin-block-end:0;word-break:normal;letter-spacing:1px}.md-editor div.github-theme{--md-theme-heading-color: inherit;--md-theme-heading-6-color: #2d3339;--md-theme-heading-1-border: 1px solid #d9dee4;--md-theme-heading-2-border: 1px solid #d9dee4}.md-editor-dark div.github-theme{--md-theme-heading-color: #c9d1d9;--md-theme-heading-6-color: #768390;--md-theme-heading-1-border: 1px solid #373e47;--md-theme-heading-2-border: 1px solid #373e47}div.github-theme h1,div.github-theme h2,div.github-theme h3,div.github-theme h4,div.github-theme h5,div.github-theme h6{margin-block-start:24px;margin-block-end:16px;font-weight:600;line-height:1.25}div.github-theme h1{padding-block-end:.3em;font-size:2em}div.github-theme h2{padding-block-end:.3em;font-size:1.5em}div.github-theme h3{font-size:1.25em}div.github-theme h4{font-size:1em}div.github-theme h5{font-size:.875em}div.github-theme h6{font-size:.85em}.md-editor div.github-theme{--md-theme-heading-bg-color: #fff}.md-editor-dark div.github-theme{--md-theme-heading-bg-color: #22272e}div.github-theme img{background-color:var(--md-theme-heading-bg-color)}.md-editor div.github-theme{--md-theme-link-color: #539bf5;--md-theme-link-hover-color: #539bf5}div.github-theme a:hover{text-decoration:underline}div.github-theme ol li+li,div.github-theme ul li+li{margin-block-start:.25em}.md-editor div.github-theme{--md-theme-quote-color: #57606a;--md-theme-quote-border: .25em solid #d0d7de}.md-editor-dark div.github-theme{--md-theme-quote-color: #8b949e;--md-theme-quote-border: .25em solid #444c56}div.github-theme blockquote{margin:0;padding:0 1em}.md-editor div.github-theme{--md-theme-table-stripe-color: #f7f8fa;--md-theme-table-tr-bg-color: #fff;--md-theme-table-td-border-color: #d0d7de}.md-editor-dark div.github-theme{--md-theme-table-stripe-color: #161b22;--md-theme-table-tr-bg-color: transparent;--md-theme-table-td-border-color: #30363d}div.github-theme table{display:block;max-width:100%;overflow:auto;border-spacing:0;border-collapse:collapse}div.github-theme table tr th,div.github-theme table tr td{padding:6px 13px}.md-editor div.github-theme{--md-theme-color: #222}.md-editor-dark div.github-theme{--md-theme-color: #c9d1d9}div.github-theme{line-height:1.5;color:var(--md-theme-color)}div.github-theme p,div.github-theme blockquote,div.github-theme ul,div.github-theme ol,div.github-theme dl,div.github-theme table,div.github-theme pre,div.github-theme details{margin-block-start:0;margin-block-end:16px}.md-editor div.cyanosis-theme,.md-editor-dark div.cyanosis-theme{--md-theme-code-inline-color: var(--md-theme-code-color);--md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);--md-theme-code-block-color: var(--md-theme-base-color);--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.cyanosis-theme code{padding:.065em .4em;font-family:Menlo,Monaco,Consolas,Courier New,monospace;overflow-x:auto}div.cyanosis-theme code::selection{background-color:var(--md-theme-slct-codebg-color)}div.cyanosis-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace}div.cyanosis-theme .md-editor-code pre code{padding:11px 12px 22px;margin:0;word-break:normal;line-height:1.75}div.cyanosis-theme .md-editor-code pre code span[rn-wrapper]{top:11px}.md-editor div.cyanosis-theme{--md-theme-heading-color: var(--md-theme-title-color)}div.cyanosis-theme h1{padding-block-end:4px;margin-block-start:36px;margin-block-end:10px;font-size:30px;line-height:1.5;transition:color .35s}div.cyanosis-theme h2{position:relative;padding-inline-start:10px;padding-inline-end:10px;padding-block-end:10px;margin-block-start:36px;margin-block-end:10px;font-size:24px;line-height:1.5;border-block-end:1px solid var(--md-theme-border-color-2);transition:color .35s}div.cyanosis-theme h2:before{content:"「";position:absolute;inset-block-start:-6px;inset-inline-start:-14px}div.cyanosis-theme h2:after{content:"」";position:relative;inset-block-start:6px;inset-inline-end:auto}div.cyanosis-theme h3{position:relative;padding-block-end:0;margin-block-start:30px;margin-block-end:10px;font-size:20px;line-height:1.5;padding-inline-start:6px;transition:color .35s}div.cyanosis-theme h3:before{content:"»";padding-inline-end:6px;color:var(--md-theme-strong-color)}div.cyanosis-theme h4{padding-block-end:0;margin-block-start:24px;margin-block-end:10px;font-size:16px;line-height:1.5;padding-inline-start:6px;transition:color .35s}div.cyanosis-theme h5{padding-block-end:0;margin-block-start:18px;margin-block-end:10px;font-size:14px;line-height:1.5;padding-inline-start:6px;transition:color .35s}div.cyanosis-theme h6{padding-block-end:0;margin-block-start:12px;margin-block-end:10px;font-size:12px;line-height:1.5;padding-inline-start:6px;transition:color .35s}div.cyanosis-theme h1::selection,div.cyanosis-theme h2::selection,div.cyanosis-theme h3::selection,div.cyanosis-theme h4::selection,div.cyanosis-theme h5::selection,div.cyanosis-theme h6::selection{color:var(--md-theme-slct-title-color);background-color:var(--md-theme-slct-titlebg-color)}@media(max-width:720px){div.cyanosis-theme h1{font-size:24px}div.cyanosis-theme h2{font-size:20px}div.cyanosis-theme h3{font-size:18px}}.md-editor div.cyanosis-theme{--md-theme-link-color: var(--md-theme-link-color);--md-theme-link-hover-color: var(--md-theme-linkh-color)}div.cyanosis-theme a{position:relative;display:inline-block;text-decoration:none;border-block-end:1px solid var(--md-theme-border-color)}div.cyanosis-theme a:hover{border-block-end-color:var(--md-theme-linkh-color)}div.cyanosis-theme a:active{color:var(--md-theme-linkh-color)}div.cyanosis-theme a:after{position:absolute;content:"";inset-block-start:100%;inset-inline-start:0;width:100%;opacity:0;border-block-end:1px solid var(--md-theme-border-color);transition:top .3s,opacity .3s;transform:translateZ(0)}div.cyanosis-theme a:hover:after{top:0;opacity:1;border-block-end-color:var(--md-theme-linkh-color)}div.cyanosis-theme ol,div.cyanosis-theme ul{margin:0}div.cyanosis-theme ol li,div.cyanosis-theme ul li{margin-block-end:0;list-style:inherit}div.cyanosis-theme ol li .task-list-item,div.cyanosis-theme ul li .task-list-item{list-style:none}div.cyanosis-theme ol li .task-list-item ul,div.cyanosis-theme ol li .task-list-item ol,div.cyanosis-theme ul li .task-list-item ul,div.cyanosis-theme ul li .task-list-item ol{margin-block-start:0}div.cyanosis-theme ol ul,div.cyanosis-theme ol ol,div.cyanosis-theme ul ul,div.cyanosis-theme ul ol{margin-block-start:4px}div.cyanosis-theme ol li{padding-inline-start:6px}div.cyanosis-theme ol li::selection,div.cyanosis-theme ul li::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}div.cyanosis-theme .task-list-item-checkbox{position:relative}div.cyanosis-theme .contains-task-list input[type=checkbox]:before{content:"";position:absolute;inset-block-start:0;inset-inline-start:0;inset-inline-end:0;inset-block-end:0;width:inherit;height:inherit;background:#f0f8ff;border:1px solid #add6ff;border-radius:var(--md-theme-radius-s);box-sizing:border-box;z-index:1}div.cyanosis-theme .contains-task-list input[type=checkbox][checked]:after{content:"✓";position:absolute;inset-block-start:-12px;inset-inline-start:0;inset-inline-end:0;inset-block-end:0;width:0;height:0;color:#f55;font-size:20px;font-weight:700;z-index:2}div.cyanosis-theme p{line-height:inherit;margin-block-start:16px;margin-block-end:16px}div.cyanosis-theme p::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-quote-color: var(--md-theme-blockquote-color);--md-theme-quote-border: 4px solid var(--md-theme-strong-color);--md-theme-quote-bg-color: var(--md-theme-blockquote-bg-color)}div.cyanosis-theme blockquote{padding:1px 20px;margin:22px 0;transition:color .35s}div.cyanosis-theme blockquote:after{display:block;content:""}div.cyanosis-theme blockquote>p{margin:10px 0}div.cyanosis-theme blockquote>b,div.cyanosis-theme blockquote>strong{color:var(--md-theme-strong-color)}div.cyanosis-theme table{display:inline-block!important;width:auto;max-width:100%;overflow:auto;border:1px solid var(--md-theme-table-border-color);border-spacing:0;border-collapse:collapse}div.cyanosis-theme table thead{color:#000;text-align:left;background:#f6f6f6}div.cyanosis-theme table tr:nth-child(2n){background-color:var(--md-theme-table-tr-nc-color)}div.cyanosis-theme table tr:hover{background-color:var(--md-theme-table-trh-color)}div.cyanosis-theme table th,div.cyanosis-theme table td{padding:12px 8px;line-height:24px;border:1px solid var(--md-theme-table-border-color)}div.cyanosis-theme table th{color:var(--md-theme-table-tht-color);background-color:var(--md-theme-table-th-color)}div.cyanosis-theme table td{min-width:120px}div.cyanosis-theme table thead th::selection{background-color:#0000}div.cyanosis-theme table tbody td::selection{background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-base-color:#353535;--md-theme-title-color:#005bb7;--md-theme-strong-color:#2196f3;--md-theme-em-color:#4fc3f7;--md-theme-del-color:#ccc;--md-theme-link-color:#3da8f5;--md-theme-linkh-color:#007fff;--md-theme-border-color:#bedcff;--md-theme-border-color-2:#ececec;--md-theme-bg-color:#fff;--md-theme-blockquote-color:#8c8c8c;--md-theme-blockquote-bg-color:#f0fdff;--md-theme-code-color:#c2185b;--md-theme-code-bg-color:#fff4f4;--md-theme-code-block-bg-color:#f8f8f8;--md-theme-table-border-color:#c3e0fd;--md-theme-table-th-color:#dff0ff;--md-theme-table-tht-color:#005bb7;--md-theme-table-tr-nc-color:#f7fbff;--md-theme-table-trh-color:#e0edf7;--md-theme-slct-title-color:#005bb7;--md-theme-slct-titlebg-color:rgba(175,207,247,.25);--md-theme-slct-text-color:#c80000;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#e8ebec;--md-theme-slct-codebg-color:#ffeaeb;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}.md-editor-dark div.cyanosis-theme{--md-theme-base-color:#cacaca;--md-theme-title-color:#ddd;--md-theme-strong-color:#fe9900;--md-theme-em-color:#ffd28e;--md-theme-del-color:#ccc;--md-theme-link-color:#ffb648;--md-theme-linkh-color:#fe9900;--md-theme-border-color:#ffe3ba;--md-theme-border-color-2:#ffcb7b;--md-theme-bg-color:#2f2f2f;--md-theme-blockquote-color:#c7c7c7;--md-theme-blockquote-bg-color:rgba(255,199,116,.1);--md-theme-code-color:#000;--md-theme-code-bg-color:#ffcb7b;--md-theme-code-block-bg-color:rgba(30,25,18,.5);--md-theme-table-border-color:#fe9900;--md-theme-table-th-color:#ffb648;--md-theme-table-tht-color:#000;--md-theme-table-tr-nc-color:#6d5736;--md-theme-table-trh-color:#947443;--md-theme-slct-title-color:#000;--md-theme-slct-titlebg-color:#fe9900;--md-theme-slct-text-color:#00c888;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#000;--md-theme-slct-codebg-color:#ffcb7b;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}div.cyanosis-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:var(--md-theme-base-color);transition:color .35s}div.cyanosis-theme hr{position:relative;width:98%;height:1px;margin-block-start:32px;margin-block-end:32px;background-image:linear-gradient(90deg,var(--md-theme-link-color),rgba(255,0,0,.3),rgba(37,163,65,.3),rgba(255,0,0,.3),var(--md-theme-link-color));border-width:0;overflow:visible}div.cyanosis-theme b,div.cyanosis-theme strong{color:var(--md-theme-strong-color)}div.cyanosis-theme i,div.cyanosis-theme em{color:var(--md-theme-em-color)}div.cyanosis-theme del{color:var(--md-theme-del-color)}div.cyanosis-theme details>summary{outline:none;color:var(--md-theme-title-color);font-size:20px;font-weight:bolder;border-block-end:1px solid var(--md-theme-border-color);cursor:pointer}div.cyanosis-theme details>p{padding:10px 20px;margin:10px 0 0;color:#666;background-color:var(--md-theme-blockquote-bg-color);border:2px dashed var(--md-theme-strong-color)}div.cyanosis-theme a::selection,div.cyanosis-theme b::selection,div.cyanosis-theme strong::selection,div.cyanosis-theme i::selection,div.cyanosis-theme em::selection{background-color:var(--md-theme-slct-elbg-color)}div.cyanosis-theme del::selection{color:var(--md-theme-slct-del-color);background-color:var(--md-theme-slct-elbg-color)}.md-editor div.mk-cute-theme,.md-editor-dark div.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 10px}div.mk-cute-theme code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;overflow-x:auto;padding:.14em .46em;margin:0 4px}div.mk-cute-theme .md-editor-code pre code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;padding:22px;margin:0;word-break:normal;line-height:1.75}div.mk-cute-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.mk-cute-theme{--md-theme-heading-color: #36ace1}div.mk-cute-theme h1:before,div.mk-cute-theme h2:before,div.mk-cute-theme h3:before,div.mk-cute-theme h4:before,div.mk-cute-theme h5:before,div.mk-cute-theme h6:before{content:"";display:block;position:absolute;inset-inline-start:0;inset-block-start:0;inset-block-end:0;margin:auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAF8UlEQVRIS71Wa2wUVRT+7r0zu9t2t/RBaSioPCpYbIUfaEIQUogSAwZDAlUSGwgg/CBATExMCJH1D2hIfOEjFEUEhViCgBgIUCH44OkjPAMGBVqhpUCfW3Zn5z7MuQOE0hYxMdxJdmd25s53vnO+851leMCLPWA8/CfA2TsvL8n7q+nTFfNLG+4VqInHOeJLDQMzdz/3r4DGGDb9lxu+aPcE7U61JHDMDePcuv0O21ShugOefqDdtBie3Dk6K/O+Ab+qOjJiz7Ahv6c8hbDDwRiQlgYGDOcaWyEcjg8On+j71IpJndjGt9XO+jM7+pkywNvbazIfercieSdoJ4bE5sWjyZqMpDdeaQNXMNC34ME3LV8B56+1w3AOgk+EXe/Ub6uiLB6XdH/G/mYjeBCcFwnt3zQqWt4t4NjjnhzQ1CGkBhwOCMFAB71U0qsYgRlwBtQ1tiEJAy44OBdQUmFK3aWS06NLT+ukZAQoKCCjsfbDmk6p78RwX3ncWffmIj8U4kh6GpEwh+9rGy23LDU4GBrrm9DsuDYIGMAYIC/EUNQ7Cq1hn+WM2TI8f+jEyCmvjfn1FssuojHx6tDkyZOaCzr8TNpASzDAk8amlRIrEylcSGsYrcGIstIYWhgDDIM2BiGH3ywFkGAC1U9n38bpVqWGdk6r4HMWrZZaG1D5KLn0qYyBEAKnG1otAxLR8L7Z9nfP13CJHQ/ST4vK8sVHe8JsU0U6uO5hlexo8PI7vNDQomwoBRAwpSmtgJAAztS3QLsOsmBQlBtFJMQhlbbPUBBUR7o2hqHVddLbRsfCPQJ+u3TPw8uGl1yklAlHIJZKo3//XEhlLCtifPFyM7xwCI/lZ8IKTTBbS7pPLIggZZsSQ+zXbT4UYSsnet3UMM5HPT5LGbrDGYQroClyT2Jwnyj9aN949e8mDCwuRFoqKxRHUJ21BSDRELuQYGhvbMVV32Dp2RuxcfHSRBfAYTsbU9nJdFj5EiLkglHkRInC1xoxKbH9hQJIaTDvxxTCUddWl4wg0dCCtqSPDmoVx4Eitpxh64ZtsT6b5ie6pPRkfF90TllxOzEwmipMKRRgHODGgCuJkqIcvDdC2BZ5Y+tlHHMzkAKghbAxcQqQDiKrFBxhqg5MHTivS1tQ+sdsvaQl5Yd6yfdRXNQLsQwXnq/AQFLXEIIjzBSuNaaR0SuEtkQKl9IKjAsbJaWfzo1USDsM6zceDJfeVGgnhhN2N7YOyo5kJz1pa2AbgfrO1gRwXW6vSRQNtddR+EhvKGmseskgTtY2Q7kucYWWgToPHzyUyXry0iXfnBtfl5f/PaWPvPNW/zkOAQegJHltFE5dSaCskHqPVEnqpMAMEgkPtR1pKxyh/N0/vTToubtH1G3RmLjhM8ubKXfWB2mRa9ySOaWS2uT8lTZ0cI6I52Ngv7zAbW9mQVm1cpytu441P38XeXTlQu+e46nyh+bjLkMZRU0MCYTCJWZSG1y7cBWNURpxBlxqFBfEwGnGGhaYPSNwhpSv4DK+/vPynBk9MqRIiOWs8a2WJTm9a+cgh6SaMIMz9W1WjYHHMtv0wSmZdWB9gdsya/rcYVg7JoffCdqlD6ceTpiY59tM0PhJp5WNvra+BQkejCMyBarr8KKYDcZi8sDaCDKYFIGRk+FnSVXzyTO9JxBwF8DLc1dlLn65ooNEYN0fBsu21fTvL6PXnhxXlnLIqqhYYBian4lQ2Lk9ogiALsimiLC1QYfhlV1Hnxh7JfcMqxrpd7U2GFa5t9nOd7Kr+kg4uWvnCpromlJeXlq3Os3ZLOlrZBmNQf1ybVqpxhbA7mRIOCy1+esDOWhIyDv/+3Q7LRbsqH+rKRJ+nba+/+WW7II1s9vvVBuNr7KNF1WUM1bSt5f1Vq01jUVkKfnx8uoti3Or5rbd9782M61azJz/rFywYU/OyKqK1p5G2MS1Z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 0s infinite}div.mk-cute-theme h1{position:relative;font-size:30px;padding:12px 38px;margin:30px 0}div.mk-cute-theme h1:before{width:30px;height:30px;background-size:30px 30px}div.mk-cute-theme h2{position:relative;font-size:24px;padding:12px 36px;margin:28px 0}div.mk-cute-theme h2:before{width:28px;height:28px;background-size:28px 28px}div.mk-cute-theme h3{position:relative;font-size:18px;padding:4px 32px;margin:26px 0}div.mk-cute-theme h3:before{width:24px;height:24px;background-size:24px 24px}div.mk-cute-theme h4{position:relative;padding:4px 28px;font-size:16px;margin:22px 0}div.mk-cute-theme h4:before{width:20px;height:20px;background-size:20px 20px}div.mk-cute-theme h5{position:relative;padding:4px 26px;font-size:15px;margin:20px 0}div.mk-cute-theme h5:before{width:18px;height:18px;background-size:18px 18px}div.mk-cute-theme h6{position:relative;padding:4px 22px;font-size:14px;margin:16px 0}div.mk-cute-theme h6:before{width:16px;height:16px;background-size:16px 16px}@media(max-width:720px){div.mk-cute-theme h1{font-size:24px}div.mk-cute-theme h2{font-size:20px}div.mk-cute-theme h3{font-size:18px}}.md-editor div.mk-cute-theme{--md-theme-link-color: #409eff;--md-theme-link-hover-color: #007bff}div.mk-cute-theme a{display:inline-block;border-block-end:1px solid #409eff}div.mk-cute-theme a:hover,div.mk-cute-theme a:active{border-block-end:1px solid #007bff}div.mk-cute-theme ol li,div.mk-cute-theme ul li{margin-block-end:0;list-style:inherit}div.mk-cute-theme ol li .task-list-item,div.mk-cute-theme ul li .task-list-item{list-style:none}div.mk-cute-theme ol li .task-list-item ul,div.mk-cute-theme ol li .task-list-item ol,div.mk-cute-theme ul li .task-list-item ul,div.mk-cute-theme ul li .task-list-item ol{margin-block-start:0}div.mk-cute-theme ol ul,div.mk-cute-theme ol ol,div.mk-cute-theme ul ul,div.mk-cute-theme ul ol{margin-block-start:3px}div.mk-cute-theme ol li{padding-inline-start:6px}div.mk-cute-theme p{line-height:inherit;margin-block-start:22px;margin-block-end:22px}.md-editor div.mk-cute-theme{--md-theme-quote-color: #fff;--md-theme-quote-border: 4px solid #409eff;--md-theme-quote-bg-color: rgba(54, 172, 225, .75)}.md-editor-dark div.mk-cute-theme{--md-theme-quote-color: inherit;--md-theme-quote-border: 4px solid #265d97;--md-theme-quote-bg-color: rgba(18, 80, 108, .75)}div.mk-cute-theme blockquote{position:relative;padding:8px 26px;margin:16px 0;border-radius:var(--md-theme-radius-m)}div.mk-cute-theme blockquote:before{content:"❝";inset-block-start:10px;inset-inline-start:8px;color:#409eff;font-size:20px;line-height:1;font-weight:700;position:absolute;opacity:.7}div.mk-cute-theme blockquote:after{content:"❞";font-size:20px;position:absolute;inset-inline-end:8px;inset-block-end:0;color:#409eff;opacity:.7}div.mk-cute-theme blockquote>p,div.mk-cute-theme blockquote ul li,div.mk-cute-theme blockquote ol li{color:var(--md-theme-quote-color)}.md-editor div.mk-cute-theme{--md-theme-table-color: #000;--md-theme-table-border-color: #f6f6f6;--md-theme-table-thead-bg-color: #f6f6f6;--md-theme-table-stripe-color: #fcfcfc}.md-editor-dark div.mk-cute-theme{--md-theme-table-color: inherit;--md-theme-table-border-color: #1c1c1c;--md-theme-table-thead-bg-color: rgba(28, 28, 28, .631372549);--md-theme-table-stripe-color: rgba(28, 28, 28, .631372549)}div.mk-cute-theme table{display:inline-block;width:auto;max-width:100%;overflow:auto;border:solid 1px var(--md-theme-table-border-color)}div.mk-cute-theme table thead{background-color:var(--md-theme-table-thead-bg-color);color:var(--md-theme-table-color);text-align:left}div.mk-cute-theme table tr th,div.mk-cute-theme table tr td{padding:12px 7px;line-height:24px;border:none}div.mk-cute-theme table tr td{min-width:120px}div.mk-cute-theme blockquote table tbody{color:var(--md-theme-color)}div.mk-cute-theme blockquote table tr{background-color:var(--md-theme-table-stripe-color)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.md-editor div.mk-cute-theme{--md-theme-color: #36ace1;background-image:linear-gradient(90deg,#323a4240 3%,#0000 3%),linear-gradient(360deg,#323a4240 3%,#0000 3%)}.md-editor-dark div.mk-cute-theme{background-image:linear-gradient(90deg,#d9eafb40 3%,#0000 3%),linear-gradient(360deg,#d9eafb40 3%,#0000 3%);--md-theme-bg-color-scrollbar-thumb: #4d4d4d}div.mk-cute-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;background-size:20px 20px;background-position:center center}div.mk-cute-theme hr{position:relative;width:98%;height:1px;border:none;margin-block-start:32px;margin-block-end:32px;background-image:linear-gradient(to right,#36ace1,#dff0fe,#36ace1);overflow:visible}div.mk-cute-theme del{color:#36ace1}.md-editor div.smart-blue-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #fff5f5;--md-theme-code-block-color: #333;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}.md-editor-dark div.smart-blue-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.smart-blue-theme code{overflow-x:auto;padding:.065em .4em}div.smart-blue-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace}div.smart-blue-theme .md-editor-code pre code{padding:22px 12px;margin:0;word-break:normal}div.smart-blue-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.smart-blue-theme{--md-theme-heading-color: #135ce0}div.smart-blue-theme h1,div.smart-blue-theme h2,div.smart-blue-theme h3,div.smart-blue-theme h4,div.smart-blue-theme h5,div.smart-blue-theme h6{padding:30px 0;margin:0}div.smart-blue-theme h1 a,div.smart-blue-theme h2 a,div.smart-blue-theme h3 a,div.smart-blue-theme h4 a,div.smart-blue-theme h5 a,div.smart-blue-theme h6 a{border:none}div.smart-blue-theme h1{position:relative;text-align:center;font-size:22px;margin:50px 0}div.smart-blue-theme h2{position:relative;font-size:20px;border-inline-start:4px solid;padding:0 0 0 10px;margin:30px 0}div.smart-blue-theme h3{font-size:16px}div.smart-blue-theme img{margin:0 auto}.md-editor div.smart-blue-theme{--md-theme-link-color: #036aca}.md-editor-dark div.smart-blue-theme{--md-theme-link-color: #2d7dc7}div.smart-blue-theme a{font-weight:400}div.smart-blue-theme ul,div.smart-blue-theme ol{margin-block-start:1em}div.smart-blue-theme li{line-height:2;margin-block-end:0;list-style:inherit}div.smart-blue-theme p{line-height:2;font-weight:400}div.smart-blue-theme *+p{margin-block-start:16px}.md-editor div.smart-blue-theme{--md-theme-quote-color: #666;--md-theme-quote-bg-color: #fff9f9;--md-theme-quote-border-color: #b2aec5}.md-editor-dark div.smart-blue-theme{--md-theme-quote-color: #999;--md-theme-quote-bg-color: #2a2a2a;--md-theme-quote-border-color: #0063bb}div.smart-blue-theme blockquote{background-color:var(--md-theme-quote-bg-color);margin:2em 0;padding:2px 20px;border-inline-start:4px solid var(--md-theme-quote-border-color)}div.smart-blue-theme blockquote p{color:var(--md-theme-quote-color);line-height:2}.md-editor div.smart-blue-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.smart-blue-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.smart-blue-theme table{border-collapse:collapse;margin:1rem 0;overflow-x:auto}div.smart-blue-theme table tr th,div.smart-blue-theme table tr td{padding:.6em 1em}div.smart-blue-theme blockquote table{line-height:initial}div.smart-blue-theme blockquote table tr th,div.smart-blue-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.smart-blue-theme blockquote table tbody tr:nth-child(n){background-color:inherit}.md-editor div.smart-blue-theme{--md-theme-color: #595959}.md-editor div.smart-blue-theme{background-image:linear-gradient(90deg,#3c0a1e0a 3%,#0000 3%),linear-gradient(360deg,#3c0a1e0a 3%,#0000 3%)}.md-editor-dark div.smart-blue-theme{--md-theme-color: #999}.md-editor-dark div.smart-blue-theme{background-image:linear-gradient(90deg,#cfcfcf0a 3%,#fff0 3%),linear-gradient(360deg,#cfcfcf0a 3%,#fff0 3%)}div.smart-blue-theme{color:var(--md-theme-color);font-family:-apple-system,system-ui,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;background-size:20px 20px;background-position:center center}div.smart-blue-theme strong,div.smart-blue-theme em strong{color:#036aca}div.smart-blue-theme hr{border-block-start:1px solid #135ce0}.md-editor-checkbox{cursor:pointer;width:12px;height:12px;border:1px solid var(--md-border-color);background-color:var(--md-bk-color-outstand);border-radius:2px;line-height:1;text-align:center}.md-editor-checkbox:after{content:"";font-weight:700}.md-editor-checkbox-checked:after{content:"✓"}.md-editor-divider{position:relative;display:inline-block;width:1px;inset-block-start:.1em;height:.9em;margin-block:0;margin-inline:8px;background-color:var(--md-border-color)}.md-editor-dropdown{overflow:hidden;box-sizing:border-box;position:absolute;transition:all .3s;opacity:1;z-index:20000;background-color:var(--md-bk-color)}.md-editor-dropdown-hidden{opacity:0;visibility:hidden}.md-editor-dropdown-overlay{margin-block-start:6px}.md-editor-modal-mask{position:fixed;inset-block-start:0;inset-inline-end:0;inset-block-end:0;inset-inline-start:0;z-index:20000;height:100%;background-color:var(--md-modal-mask)}.md-editor-modal{display:block;background-color:var(--md-bk-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;border-radius:3px;border:1px solid var(--md-border-color);position:fixed;z-index:20001;box-shadow:var(--md-modal-shadow)}.md-editor-modal-header{cursor:grab;display:flex;justify-content:space-between;padding-block:10px;padding-inline:24px;color:var(--md-color);font-weight:600;font-size:16px;line-height:22px;word-wrap:break-word;-webkit-user-select:none;user-select:none;border-block-end:1px solid var(--md-border-color);position:relative}.md-editor-modal-body{padding-block:20px;padding-inline:20px;font-size:14px;word-wrap:break-word;height:calc(100% - 43px);box-sizing:border-box}.md-editor-modal .md-editor-modal-func{position:absolute;inset-block-start:10px;inset-inline-end:10px}.md-editor-modal .md-editor-modal-func .md-editor-modal-adjust,.md-editor-modal .md-editor-modal-func .md-editor-modal-close{cursor:pointer;width:24px;height:24px;line-height:24px;text-align:center;display:inline-block}.md-editor-modal .md-editor-modal-func .md-editor-modal-adjust{padding-inline-end:10px}.animation{animation-duration:.15s;animation-fill-mode:forwards}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoom-in{animation-name:zoomIn;animation-duration:.15s;animation-fill-mode:forwards}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.zoom-out{animation-name:zoomOut;animation-duration:.15s;animation-fill-mode:forwards}.md-editor-custom-scrollbar{position:relative;overflow:hidden;height:100%}.md-editor-custom-scrollbar__track{position:absolute;inset-block-start:0;inset-inline-end:0;width:6px;height:100%;background:var(--md-scrollbar-bg-color)}.md-editor-custom-scrollbar__thumb{position:absolute;width:6px;background:var(--md-scrollbar-thumb-color);border-radius:4px;cursor:pointer;transition:background .2s}.md-editor-custom-scrollbar__thumb:hover{background:var(--md-scrollbar-thumb-hover-color)}.md-editor-content{direction:ltr;position:relative;display:flex;flex:1;height:0;flex-shrink:0}.md-editor-content-wrapper{display:flex;flex:1;width:0;position:relative}.md-editor-resize-operate{position:absolute;width:2px;height:100%;background-color:var(--md-bk-color);z-index:1;cursor:col-resize}.md-editor-input-wrapper{height:100%;box-sizing:border-box}.md-editor-preview-wrapper{position:relative;height:100%;box-sizing:border-box;overflow:auto;scrollbar-width:none}[dir=rtl] .md-editor-preview-wrapper{direction:rtl}.md-editor-preview-wrapper::-webkit-scrollbar{display:none}.md-editor-html{font-size:16px;word-break:break-all}.md-editor-catalog-editor{position:relative;overflow-x:hidden;overflow-y:auto;height:100%;background-color:var(--md-bk-color);border-inline-start:1px solid var(--md-border-color);width:200px;box-sizing:border-box;margin-block:0;margin-inline:0;padding-block:5px;padding-inline:10px;font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";scrollbar-width:none}.md-editor-catalog-editor::-webkit-scrollbar{display:none}.md-editor-catalog-fixed{position:absolute;inset-block-start:0;inset-inline-end:0;z-index:10002}.md-editor-catalog-flat{position:initial;flex-shrink:0}.md-editor-footer{height:24px;flex-shrink:0;font-size:12px;color:var(--md-color);border-block-start:1px solid var(--md-border-color);display:flex;justify-content:space-between}.md-editor-footer-item{display:inline-flex;align-items:center;height:100%;padding-block:0;padding-inline:10px}.md-editor-footer-item+.md-editor-footer-item{padding-inline-start:0}.md-editor-footer-label{padding-inline-end:5px;line-height:1}.md-editor-clip{position:relative;display:flex;height:calc(100% - 52px)}.md-editor-clip-main,.md-editor-clip-preview{width:50%;height:100%;border:1px solid var(--md-border-color)}.md-editor-clip-main{margin-inline-end:1em}.md-editor-clip-main .md-editor-clip-cropper{position:relative;width:100%;height:100%}.md-editor-clip-main .md-editor-clip-cropper .md-editor-clip-delete{position:absolute;inset-block-start:0;inset-inline-end:0;font-size:0;background-color:var(--md-bk-color-outstand);border-bottom-left-radius:4px;color:var(--md-color);cursor:pointer}.md-editor-clip-main .md-editor-clip-upload{display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:pointer}.md-editor-clip-main .md-editor-clip-upload .md-editor-icon,.md-editor-clip-main .md-editor-clip-upload .md-editor-iconfont{width:auto;height:40px;font-size:40px}.md-editor-clip-preview-target{width:100%;height:100%;overflow:hidden}.md-editor-form-item{margin-block-end:20px;text-align:center}.md-editor-form-item:last-of-type{margin-block-end:0}.md-editor-label{font-size:14px;color:var(--md-color);width:80px;text-align:center;display:inline-block}.md-editor-input{border-radius:4px;padding-block:4px;padding-inline:11px;color:var(--md-color);font-size:14px;line-height:1.5715;background-color:var(--md-bk-color);background-image:none;border:1px solid var(--md-border-color);transition:all .2s}.md-editor-input:focus,.md-editor-input:hover{border-color:var(--md-border-hover-color);outline:0}.md-editor-input:focus{border-color:var(--md-border-active-color)}.md-editor-btn{font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid var(--md-border-color);white-space:nowrap;-webkit-user-select:none;user-select:none;height:32px;padding-block:0;padding-inline:15px;font-size:14px;border-radius:4px;transition:all .2s linear;color:var(--md-color);background-color:var(--md-bk-color);border-color:var(--md-border-color);margin-inline-start:10px}.md-editor-btn:first-of-type{margin-inline-start:0}.md-editor-btn:hover{color:var(--md-hover-color);background-color:var(--md-bk-color);border-color:var(--md-border-hover-color)}.md-editor-btn-row{width:100%}@media(max-width:688px){.md-editor-modal-clip .md-editor-modal{max-width:calc(100% - 20px);max-height:calc(100% - 20px);margin-block:10px;margin-inline:10px;inset-inline-start:0!important}.md-editor-modal-clip .md-editor-clip{flex-direction:column}.md-editor-modal-clip .md-editor-clip-main,.md-editor-modal-clip .md-editor-clip-preview{width:100%;height:0;flex:1}.md-editor-modal-clip .md-editor-clip-main{margin-block-end:1em}}.md-editor-menu{margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;border-radius:3px;border:1px solid var(--md-border-color);background-color:inherit}.md-editor-menu-item{list-style:none;font-size:12px;color:var(--md-color);padding-block:4px;padding-inline:10px;cursor:pointer;line-height:16px}.md-editor-menu-item:first-of-type{padding-block-start:8px}.md-editor-menu-item:last-of-type{padding-block-end:8px}.md-editor-menu-item:hover{background-color:var(--md-bk-hover-color)}.md-editor-table-shape{padding-block:4px;padding-inline:4px;border-radius:3px;border:1px solid var(--md-border-color);display:flex;flex-direction:column}.md-editor-table-shape-row{display:flex}.md-editor-table-shape-col{padding-block:2px;padding-inline:2px;cursor:pointer}.md-editor-table-shape-col-default{width:16px;height:16px;background-color:#e0e0e0;border-radius:3px;transition:all .2s}.md-editor-table-shape-col-include{background-color:#aaa}.md-editor-toolbar-wrapper{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;flex-shrink:0;padding-block:4px;padding-inline:4px;border-block-end:1px solid var(--md-border-color)}.md-editor-toolbar-wrapper::-webkit-scrollbar{height:0!important}.md-editor-toolbar{display:flex;justify-content:space-between;align-items:center;box-sizing:content-box}.md-editor-toolbar-item{color:var(--md-color);display:flex;flex-direction:column;align-items:center;margin-block:0;margin-inline:2px;padding-block:0;padding-inline:2px;transition:all .3s;border-radius:3px;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none;text-align:center;border:none;background-color:transparent}.md-editor-toolbar-item-name{font-size:12px;word-break:keep-all;white-space:nowrap}.md-editor-toolbar-item:not([disabled]):hover{background-color:var(--md-bk-color-outstand)}.md-editor-toolbar-active{background-color:var(--md-bk-color-outstand)}.md-editor-toolbar-left,.md-editor-toolbar-right{padding-block:1px;padding-inline:0;display:flex;align-items:center}.md-editor .md-editor-stn .md-editor-toolbar-item{padding-block:0;padding-inline:6px}.md-editor-dark .md-editor-table-shape-col-default{background-color:#222}.md-editor-dark .md-editor-table-shape-col-include{background-color:#555}.md-editor-floating-toolbar{padding-block:4px;padding-inline:4px;display:flex;align-items:center}.md-editor-floating-toolbar-container{opacity:0;transition:opacity .12s ease-out;transition-delay:20ms;will-change:opacity}.md-editor-floating-toolbar-container[data-state=visible]{opacity:1}.md-editor-floating-toolbar-container .cm-tooltip-arrow{transition:opacity .12s ease-out;opacity:0}.md-editor-floating-toolbar-container[data-state=visible] .cm-tooltip-arrow{opacity:1}.md-editor .cm-editor{direction:ltr;font-size:14px;height:100%}.md-editor .cm-editor.cm-focused{outline:none}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete{border-radius:3px}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete>ul{border-radius:3px;min-width:fit-content;max-width:fit-content}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete>ul li{background-color:var(--md-bk-color);color:var(--md-color);padding-block:4px;padding-inline:10px;line-height:16px}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete>ul li .cm-completionIcon{width:auto}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete>ul li[aria-selected]{background-color:var(--md-bk-hover-color)}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete .cm-completionInfo{margin-block-start:-2px;margin-inline-start:3px;padding-block:4px;padding-inline:9px;border-radius:3px;overflow:hidden;background-color:var(--md-bk-hover-color);color:var(--md-color)}.md-editor .cm-scroller{scrollbar-width:none}.md-editor .cm-scroller::-webkit-scrollbar{display:none}.md-editor .cm-scroller .cm-content[contenteditable=true]{margin-block:10px;margin-inline:10px;min-height:calc(100% - 20px)}.md-editor .cm-scroller .cm-gutters+.cm-content[contenteditable=true]{margin-block:0;margin-inline:0;min-height:100%}.md-editor .cm-scroller .cm-line{line-height:inherit}.md-editor .ͼ1 .cm-scroller{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;line-height:20px}.md-editor .cm-search .cm-textfield{border-radius:4px;padding-block:4px;padding-inline:11px;color:var(--md-color);font-size:10px;background-image:none;border:1px solid var(--md-border-color);transition:all .2s}.md-editor .cm-search .cm-textfield:focus,.md-editor .cm-search .cm-textfield:hover{border-color:var(--md-border-hover-color);outline:0}.md-editor .cm-search .cm-textfield:focus{border-color:var(--md-border-active-color)}.md-editor .cm-search .cm-button{font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid var(--md-border-color);white-space:nowrap;-webkit-user-select:none;user-select:none;height:20px;padding-block:0;padding-inline:15px;font-size:10px;border-radius:4px;transition:all .2s linear;color:var(--md-color);background-color:inherit;background-image:none;border-color:var(--md-border-color)}.md-editor .cm-search .cm-button:first-of-type{margin-inline-start:0}.md-editor .cm-search .cm-button:hover{color:var(--md-hover-color);background-color:inherit;border-color:var(--md-border-hover-color)}.md-editor .cm-search input[type=checkbox]{vertical-align:sub}.md-editor .cm-search input[type=checkbox]:after{display:block;content:"";font-weight:700;cursor:pointer;width:12px;height:12px;border:1px solid var(--md-border-color);background-color:var(--md-bk-color-outstand);border-radius:2px;line-height:1;text-align:center}.md-editor .cm-search input[type=checkbox]:checked:after{content:"✓";color:var(--md-color)}.md-editor .cm-search button[name=close]{color:inherit;cursor:pointer;inset-block-end:6px}[dir=rtl] .md-editor-catalog{direction:rtl}.md-editor-catalog-indicator{height:18px;width:4px;background-color:#73d13d;position:absolute;border-radius:4px;transition:top .3s}.md-editor-catalog>.md-editor-catalog-link{padding-block:5px;padding-inline:8px}.md-editor-catalog-link{padding-block:5px;padding-inline-start:1em;display:flex;flex-direction:column}.md-editor-catalog-link span{display:inline-block;width:100%;position:relative;overflow:hidden;color:var(--md-color);white-space:nowrap;text-overflow:ellipsis;transition:color .3s;cursor:pointer;line-height:18px}.md-editor-catalog-link span:hover{color:#73d13d}.md-editor-catalog-wrapper>.md-editor-catalog-link{padding-block-start:5px;padding-block-end:5px}.md-editor-catalog-wrapper>.md-editor-catalog-link:first-of-type{padding-block-start:10px}.md-editor-catalog-wrapper>.md-editor-catalog-link:last-of-type{padding-block-end:0}.md-editor-catalog-active>span{color:#73d13d}.md-editor-catalog-dark{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #333;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px #00000066;--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-active-color: #3a3a3a}.md-editor{--md-color: #3f4a54;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f2f2f2;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px #00000019;--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: #0000004d;--md-scrollbar-thumb-hover-color: #00000059;--md-scrollbar-thumb-active-color: #00000061;color:var(--md-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable,Segoe UI,system-ui,ui-sans-serif,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";width:100%;height:500px;position:relative;box-sizing:border-box;border:1px solid var(--md-border-color);display:flex;flex-direction:column;overflow:hidden;background-color:var(--md-bk-color)}.md-editor .md-editor-fullscreen{position:fixed!important;inset-block-start:0;inset-inline-end:0;inset-block-end:0;inset-inline-start:0;width:auto!important;height:auto!important;z-index:10000}svg.md-editor-icon{width:16px;height:16px;padding-block:4px;padding-inline:4px;fill:none;overflow:hidden;display:block;box-sizing:content-box}.md-editor .lucide-list-icon,.md-editor .lucide-list-ordered-icon,.md-editor .lucide-list-todo-icon{width:18px;height:18px;padding-block:3px;padding-inline:3px}.md-editor-preview{font-size:16px;word-break:break-all;display:flow-root;padding-block:10px;padding-inline:20px}.md-editor-modal-container{--md-color: #3f4a54;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f2f2f2;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px #00000019;--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: #0000004d;--md-scrollbar-thumb-hover-color: #00000059;--md-scrollbar-thumb-active-color: #00000061;color:var(--md-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable,Segoe UI,system-ui,ui-sans-serif,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.md-editor-modal-container .lucide-xicon{width:20px;height:20px;padding-block:2px;padding-inline:2px}.md-editor-previewOnly{border:none;height:auto;overflow:visible}.md-editor-previewOnly .md-editor-content{height:100%}.md-editor-previewOnly .md-editor-preview{padding-block:0;padding-inline:0}.md-editor-previewOnly .md-editor-preview-wrapper{overflow:visible}.md-editor-dark,.md-editor-modal-container[data-theme=dark]{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #333;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px #00000066;--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-active-color: #3a3a3a}.medium-zoom-overlay,.medium-zoom-image--opened{z-index:100001}.md-editor-fullscreen{position:fixed!important;inset-block-start:0;inset-inline-end:0;inset-block-end:0;inset-inline-start:0;width:auto!important;height:auto!important;z-index:10000}.md-editor-disabled{cursor:not-allowed!important;opacity:.6}@layer utilities{.md-editor-preview>*{word-break:keep-all}.md-editor-preview>ol,.md-editor-preview>ul{list-style-type:auto!important}.md-editor-code-flag{display:none}.md-editor-code-head{justify-content:flex-end!important}}#text-editor-component .md-editor-preview-wrapper,#text-editor-component .md-editor-resize-operate{background-color:var(--oc-role-surface-container)}#text-editor-component.no-line-numbers .cm-gutters{display:none!important}#text-editor-preview-component{background-color:transparent}#text-editor-component-preview>:first-child,#text-editor-preview-component-preview>:first-child{margin-top:0!important}.md-editor{height:100%}@font-face{font-family:OpenCloud;src:url(./OpenCloud500-Regular-BPNLKVt8.woff2) format("woff2");font-weight:400;font-style:normal}@font-face{font-family:OpenCloud;src:url(./OpenCloud750-Bold-BS-NzWHW.woff2) format("woff2");font-weight:700;font-style:normal}@font-face{font-family:Inter;src:url(./inter-CWi-zmRD.woff2) format("woff2");font-weight:100 900;font-style:oblique 0deg 12deg}@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-font-weight:initial}}}@layer theme{html{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)))}body{overflow:hidden}}@layer base{h1{margin-block:calc(var(--spacing,4px) * 4);font-size:var(--text-3xl,1.875rem);line-height:var(--tw-leading,var(--text-3xl--line-height, 1.2 ));--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700)}h2{margin-block:calc(var(--spacing,4px) * 4);font-size:var(--text-2xl,1.5rem);line-height:var(--tw-leading,var(--text-2xl--line-height,calc(2 / 1.5)));--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700)}h3{margin-block:calc(var(--spacing,4px) * 4);font-size:var(--text-xl,1.25rem);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)));--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700)}h4{margin-block:calc(var(--spacing,4px) * 4);font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700)}h5{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));--tw-font-weight:var(--font-weight-bold,700);margin-block:calc(var(--spacing,4px) * 4);font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1 / .75)));font-weight:var(--font-weight-bold,700)}p{margin-block:calc(var(--spacing,4px) * 2)}ol,ul{margin-block:calc(var(--spacing,4px) * 2);padding-left:calc(var(--spacing,4px) * 5)}a{color:var(--color-role-secondary,var(--oc-role-secondary))}body,h1,h2,h3,h4,h5,h6,p,dialog,a:hover{color:var(--color-role-on-surface,var(--oc-role-on-surface))}*,:after,:before,::backdrop{border-color:var(--oc-role-surface-container-highest)}::file-selector-button{border-color:var(--oc-role-surface-container-highest)}}@layer components{.sidebar-actions-panel li a,.sidebar-actions-panel li button{margin-bottom:calc(var(--spacing,4px) * 1);padding:calc(var(--spacing,4px) * 2)}[role=tooltip]{top:calc(var(--spacing,4px) * 0);left:calc(var(--spacing,4px) * 0);z-index:10000;max-width:var(--container-xs,20rem);padding-inline:calc(var(--spacing,4px) * 2);padding-block:calc(var(--spacing,4px) * 1);word-break:break-all;background-color:var(--oc-role-inverse-surface);color:var(--oc-role-inverse-on-surface);border-radius:.25rem;font-size:.875rem;line-height:1.25rem;position:absolute}[role=tooltip] .arrow{width:calc(var(--spacing,4px) * 2);height:calc(var(--spacing,4px) * 2);background-color:inherit;position:absolute;transform:rotate(45deg)}}@layer utilities{:focus-visible:not(input[type=text]):not(input[type=textarea]):not(input[type=search]):not(input[type=password]):not(input[type=email]):not(input[type=date]):not([type=number]):not(textarea):not(.oc-search-input):not(.cm-content){outline:2px var(--oc-role-on-secondary) solid;outline-offset:0;box-shadow:0 0 0 4px var(--oc-role-secondary)}.oc-resource-details a:focus-visible,.oc-resource-details button:focus-visible{box-shadow:inset 0 0 0 2px var(--oc-role-secondary)!important}}@property --tw-font-weight{syntax:"*";inherits:false} diff --git a/web-dist/assets/style-B5Go8oJh.css.gz b/web-dist/assets/style-B5Go8oJh.css.gz new file mode 100644 index 0000000000..25edbbe3be Binary files /dev/null and b/web-dist/assets/style-B5Go8oJh.css.gz differ diff --git a/web-dist/assets/worker-BBQqm_-D.js b/web-dist/assets/worker-BBQqm_-D.js new file mode 100644 index 0000000000..0db9be17dd --- /dev/null +++ b/web-dist/assets/worker-BBQqm_-D.js @@ -0,0 +1 @@ +(function(){"use strict";let e;const s=()=>{clearTimeout(e),e=void 0};self.onmessage=r=>{const{topic:i,expiry:o,expiryThreshold:n}=JSON.parse(r.data);if(i==="reset"){s();return}let t=o-n;t<=0&&(t=1),s(),e=setTimeout(()=>{postMessage(!0)},t*1e3)}})(); diff --git a/web-dist/assets/worker-BBQqm_-D.js.gz b/web-dist/assets/worker-BBQqm_-D.js.gz new file mode 100644 index 0000000000..ddc9f0e5b7 Binary files /dev/null and b/web-dist/assets/worker-BBQqm_-D.js.gz differ diff --git a/web-dist/assets/worker-BRWaI2hx.js b/web-dist/assets/worker-BRWaI2hx.js new file mode 100644 index 0000000000..365ff68b73 --- /dev/null +++ b/web-dist/assets/worker-BRWaI2hx.js @@ -0,0 +1,21 @@ +(function(){"use strict";function Kn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var $r={exports:{}},Jn;function ua(){return Jn||(Jn=1,(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(l,c,u){this.fn=l,this.context=c,this.once=u||!1}function s(l,c,u,h,d){if(typeof u!="function")throw new TypeError("The listener must be a function");var y=new i(u,h||l,d),g=r?r+c:c;return l._events[g]?l._events[g].fn?l._events[g]=[l._events[g],y]:l._events[g].push(y):(l._events[g]=y,l._eventsCount++),l}function o(l,c){--l._eventsCount===0?l._events=new n:delete l._events[c]}function a(){this._events=new n,this._eventsCount=0}a.prototype.eventNames=function(){var c=[],u,h;if(this._eventsCount===0)return c;for(h in u=this._events)e.call(u,h)&&c.push(r?h.slice(1):h);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(u)):c},a.prototype.listeners=function(c){var u=r?r+c:c,h=this._events[u];if(!h)return[];if(h.fn)return[h.fn];for(var d=0,y=h.length,g=new Array(y);dt.reason??new DOMException("This operation was aborted.","AbortError");function fa(t,e){const{milliseconds:r,fallback:n,message:i,customTimers:s={setTimeout,clearTimeout},signal:o}=e;let a,l;const u=new Promise((h,d)=>{if(typeof r!="number"||Math.sign(r)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${r}\``);if(o?.aborted){d(Yn(o));return}if(o&&(l=()=>{d(Yn(o))},o.addEventListener("abort",l,{once:!0})),t.then(h,d),r===Number.POSITIVE_INFINITY)return;const y=new Ur;a=s.setTimeout.call(void 0,()=>{if(n){try{h(n())}catch(g){d(g)}return}typeof t.cancel=="function"&&t.cancel(),i===!1?h():i instanceof Error?d(i):(y.message=i??`Promise timed out after ${r} milliseconds`,d(y))},r)}).finally(()=>{u.clear(),l&&o&&o.removeEventListener("abort",l)});return u.clear=()=>{s.clearTimeout.call(void 0,a),a=void 0},u}function ha(t,e,r){let n=0,i=t.length;for(;i>0;){const s=Math.trunc(i/2);let o=n+s;r(t[o],e)<=0?(n=++o,i-=s+1):i=s}return n}class pa{#e=[];enqueue(e,r){const{priority:n=0,id:i}=r??{},s={priority:n,id:i,run:e};if(this.size===0||this.#e[this.size-1].priority>=n){this.#e.push(s);return}const o=ha(this.#e,s,(a,l)=>l.priority-a.priority);this.#e.splice(o,0,s)}setPriority(e,r){const n=this.#e.findIndex(s=>s.id===e);if(n===-1)throw new ReferenceError(`No promise function with the id "${e}" exists in the queue.`);const[i]=this.#e.splice(n,1);this.enqueue(i.run,{priority:r,id:e})}dequeue(){return this.#e.shift()?.run}filter(e){return this.#e.filter(r=>r.priority===e.priority).map(r=>r.run)}get size(){return this.#e.length}}class da extends ca{#e;#r;#s=0;#t;#n=!1;#p=!1;#l;#g=0;#f=0;#c;#d;#h;#o=[];#a=0;#i;#S;#u=0;#w;#m;#F=1n;#x=new Map;timeout;constructor(e){if(super(),e={carryoverIntervalCount:!1,intervalCap:Number.POSITIVE_INFINITY,interval:0,concurrency:Number.POSITIVE_INFINITY,autoStart:!0,queueClass:pa,strict:!1,...e},!(typeof e.intervalCap=="number"&&e.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${e.intervalCap?.toString()??""}\` (${typeof e.intervalCap})`);if(e.interval===void 0||!(Number.isFinite(e.interval)&&e.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${e.interval?.toString()??""}\` (${typeof e.interval})`);if(e.strict&&e.interval===0)throw new TypeError("The `strict` option requires a non-zero `interval`");if(e.strict&&e.intervalCap===Number.POSITIVE_INFINITY)throw new TypeError("The `strict` option requires a finite `intervalCap`");if(this.#e=e.carryoverIntervalCount??e.carryoverConcurrencyCount??!1,this.#r=e.intervalCap===Number.POSITIVE_INFINITY||e.interval===0,this.#t=e.intervalCap,this.#l=e.interval,this.#h=e.strict,this.#i=new e.queueClass,this.#S=e.queueClass,this.concurrency=e.concurrency,e.timeout!==void 0&&!(Number.isFinite(e.timeout)&&e.timeout>0))throw new TypeError(`Expected \`timeout\` to be a positive finite number, got \`${e.timeout}\` (${typeof e.timeout})`);this.timeout=e.timeout,this.#m=e.autoStart===!1,this.#M()}#E(e){for(;this.#a=this.#l)this.#a++;else break}(this.#a>100&&this.#a>this.#o.length/2||this.#a===this.#o.length)&&(this.#o=this.#o.slice(this.#a),this.#a=0)}#L(e){this.#h?this.#o.push(e):this.#s++}#_(){this.#h?this.#o.length>this.#a&&this.#o.pop():this.#s>0&&this.#s--}#v(){return this.#o.length-this.#a}get#$(){return this.#r?!0:this.#h?this.#v()=this.#t){const n=this.#o[this.#a],i=this.#l-(e-n);return this.#T(i),!0}return!1}if(this.#c===void 0){const r=this.#g-e;if(r<0){if(this.#f>0){const n=e-this.#f;if(n{this.#B()},e))}#N(){this.#c&&(clearInterval(this.#c),this.#c=void 0)}#I(){this.#d&&(clearTimeout(this.#d),this.#d=void 0)}#A(){if(this.#i.size===0){if(this.#N(),this.emit("empty"),this.#u===0){if(this.#I(),this.#h&&this.#a>0){const r=Date.now();this.#E(r)}this.emit("idle")}return!1}let e=!1;if(!this.#m){const r=Date.now(),n=!this.#j(r);if(this.#$&&this.#U){const i=this.#i.dequeue();this.#r||(this.#L(r),this.#b()),this.emit("active"),i(),n&&this.#O(),e=!0}}return e}#O(){this.#r||this.#c!==void 0||this.#h||(this.#c=setInterval(()=>{this.#C()},this.#l),this.#g=Date.now()+this.#l)}#C(){this.#h||(this.#s===0&&this.#u===0&&this.#c&&this.#N(),this.#s=this.#e?this.#u:0),this.#P(),this.#b()}#P(){for(;this.#A(););}get concurrency(){return this.#w}set concurrency(e){if(!(typeof e=="number"&&e>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this.#w=e,this.#P()}setPriority(e,r){if(typeof r!="number"||!Number.isFinite(r))throw new TypeError(`Expected \`priority\` to be a finite number, got \`${r}\` (${typeof r})`);this.#i.setPriority(e,r)}async add(e,r={}){return r={timeout:this.timeout,...r,id:r.id??(this.#F++).toString()},new Promise((n,i)=>{const s=Symbol(`task-${r.id}`);this.#i.enqueue(async()=>{this.#u++,this.#x.set(s,{id:r.id,priority:r.priority??0,startTime:Date.now(),timeout:r.timeout});let o;try{try{r.signal?.throwIfAborted()}catch(c){throw this.#V(),this.#x.delete(s),c}this.#f=Date.now();let a=e({signal:r.signal});if(r.timeout&&(a=fa(Promise.resolve(a),{milliseconds:r.timeout,message:`Task timed out after ${r.timeout}ms (queue has ${this.#u} running, ${this.#i.size} waiting)`})),r.signal){const{signal:c}=r;a=Promise.race([a,new Promise((u,h)=>{o=()=>{h(c.reason)},c.addEventListener("abort",o,{once:!0})})])}const l=await a;n(l),this.emit("completed",l)}catch(a){i(a),this.emit("error",a)}finally{o&&r.signal?.removeEventListener("abort",o),this.#x.delete(s),queueMicrotask(()=>{this.#k()})}},r),this.emit("add"),this.#A()})}async addAll(e,r){return Promise.all(e.map(async n=>this.add(n,r)))}start(){return this.#m?(this.#m=!1,this.#P(),this):this}pause(){this.#m=!0}clear(){this.#i=new this.#S,this.#N(),this.#R(),this.emit("empty"),this.#u===0&&(this.#I(),this.emit("idle")),this.emit("next")}async onEmpty(){this.#i.size!==0&&await this.#y("empty")}async onSizeLessThan(e){this.#i.sizethis.#i.size{const n=i=>{this.off("error",n),r(i)};this.on("error",n)})}async#y(e,r){return new Promise(n=>{const i=()=>{r&&!r()||(this.off(e,i),n())};this.on(e,i)})}get size(){return this.#i.size}sizeBy(e){return this.#i.filter(e).length}get pending(){return this.#u}get isPaused(){return this.#m}#M(){this.#r||(this.on("add",()=>{this.#i.size>0&&this.#b()}),this.on("next",()=>{this.#b()}))}#b(){this.#r||this.#p||(this.#p=!0,queueMicrotask(()=>{this.#p=!1,this.#R()}))}#V(){this.#r||(this.#_(),this.#b())}#R(){const e=this.#n;if(this.#r||this.#i.size===0){e&&(this.#n=!1,this.emit("rateLimitCleared"));return}let r;if(this.#h){const i=Date.now();this.#E(i),r=this.#v()}else r=this.#s;const n=r>=this.#t;n!==e&&(this.#n=n,this.emit(n?"rateLimit":"rateLimitCleared"))}get isRateLimited(){return this.#n}get isSaturated(){return this.#u===this.#w&&this.#i.size>0||this.isRateLimited&&this.#i.size>0}get runningTasks(){return[...this.#x.values()].map(e=>({...e}))}}const Fe=globalThis||void 0||self;function ga(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Xn={exports:{}},Z=Xn.exports={},$e,Ue;function kr(){throw new Error("setTimeout has not been defined")}function Br(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?$e=setTimeout:$e=kr}catch{$e=kr}try{typeof clearTimeout=="function"?Ue=clearTimeout:Ue=Br}catch{Ue=Br}})();function Zn(t){if($e===setTimeout)return setTimeout(t,0);if(($e===kr||!$e)&&setTimeout)return $e=setTimeout,setTimeout(t,0);try{return $e(t,0)}catch{try{return $e.call(null,t,0)}catch{return $e.call(this,t,0)}}}function ma(t){if(Ue===clearTimeout)return clearTimeout(t);if((Ue===Br||!Ue)&&clearTimeout)return Ue=clearTimeout,clearTimeout(t);try{return Ue(t)}catch{try{return Ue.call(null,t)}catch{return Ue.call(this,t)}}}var Me=[],pt=!1,et,Qt=-1;function ya(){!pt||!et||(pt=!1,et.length?Me=et.concat(Me):Qt=-1,Me.length&&Qn())}function Qn(){if(!pt){var t=Zn(ya);pt=!0;for(var e=Me.length;e;){for(et=Me,Me=[];++Qt1)for(var r=1;re=>{const r=wa.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Le=t=>(t=t.toLowerCase(),e=>tr(e)===t),rr=t=>e=>typeof e===t,{isArray:dt}=Array,gt=rr("undefined");function Ot(t){return t!==null&&!gt(t)&&t.constructor!==null&&!gt(t.constructor)&&xe(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const ni=Le("ArrayBuffer");function xa(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&ni(t.buffer),e}const Ea=rr("string"),xe=rr("function"),ii=rr("number"),Ct=t=>t!==null&&typeof t=="object",va=t=>t===!0||t===!1,nr=t=>{if(tr(t)!=="object")return!1;const e=jr(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(ri in t)&&!(er in t)},Ta=t=>{if(!Ct(t)||Ot(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},Na=Le("Date"),Aa=Le("File"),Pa=t=>!!(t&&typeof t.uri<"u"),Sa=t=>t&&typeof t.getParts<"u",Ia=Le("Blob"),Oa=Le("FileList"),Ca=t=>Ct(t)&&xe(t.pipe);function Ra(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Fe<"u"?Fe:{}}const si=Ra(),oi=typeof si.FormData<"u"?si.FormData:void 0,Fa=t=>{let e;return t&&(oi&&t instanceof oi||xe(t.append)&&((e=tr(t))==="formdata"||e==="object"&&xe(t.toString)&&t.toString()==="[object FormData]"))},La=Le("URLSearchParams"),[_a,$a,Ua,ka]=["ReadableStream","Request","Response","Headers"].map(Le),Ba=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rt(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,i;if(typeof t!="object"&&(t=[t]),dt(t))for(n=0,i=t.length;n0;)if(i=r[n],e===i.toLowerCase())return i;return null}const rt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Fe,ui=t=>!gt(t)&&t!==rt;function Mr(){const{caseless:t,skipUndefined:e}=ui(this)&&this||{},r={},n=(i,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const o=t&&ai(r,s)||s;nr(r[o])&&nr(i)?r[o]=Mr(r[o],i):nr(i)?r[o]=Mr({},i):dt(i)?r[o]=i.slice():(!e||!gt(i))&&(r[o]=i)};for(let i=0,s=arguments.length;i(Rt(e,(i,s)=>{r&&xe(i)?Object.defineProperty(t,s,{value:ti(i,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,s,{value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),t),Ma=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Va=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),Object.defineProperty(t.prototype,"constructor",{value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},Da=(t,e,r,n)=>{let i,s,o;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),s=i.length;s-- >0;)o=i[s],(!n||n(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=r!==!1&&jr(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},Ha=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},za=t=>{if(!t)return null;if(dt(t))return t;let e=t.length;if(!ii(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},qa=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&jr(Uint8Array)),Wa=(t,e)=>{const n=(t&&t[er]).call(t);let i;for(;(i=n.next())&&!i.done;){const s=i.value;e.call(t,s[0],s[1])}},Ga=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},Ka=Le("HTMLFormElement"),Ja=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),li=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Ya=Le("RegExp"),ci=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};Rt(r,(i,s)=>{let o;(o=e(i,s,t))!==!1&&(n[s]=o||i)}),Object.defineProperties(t,n)},Xa=t=>{ci(t,(e,r)=>{if(xe(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(xe(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Za=(t,e)=>{const r={},n=i=>{i.forEach(s=>{r[s]=!0})};return dt(t)?n(t):n(String(t).split(e)),r},Qa=()=>{},eu=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function tu(t){return!!(t&&xe(t.append)&&t[ri]==="FormData"&&t[er])}const ru=t=>{const e=new Array(10),r=(n,i)=>{if(Ct(n)){if(e.indexOf(n)>=0)return;if(Ot(n))return n;if(!("toJSON"in n)){e[i]=n;const s=dt(n)?[]:{};return Rt(n,(o,a)=>{const l=r(o,i+1);!gt(l)&&(s[a]=l)}),e[i]=void 0,s}}return n};return r(t,0)},nu=Le("AsyncFunction"),iu=t=>t&&(Ct(t)||xe(t))&&xe(t.then)&&xe(t.catch),fi=((t,e)=>t?setImmediate:e?((r,n)=>(rt.addEventListener("message",({source:i,data:s})=>{i===rt&&s===r&&n.length&&n.shift()()},!1),i=>{n.push(i),rt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",xe(rt.postMessage)),su=typeof queueMicrotask<"u"?queueMicrotask.bind(rt):typeof tt<"u"&&tt.nextTick||fi;var P={isArray:dt,isArrayBuffer:ni,isBuffer:Ot,isFormData:Fa,isArrayBufferView:xa,isString:Ea,isNumber:ii,isBoolean:va,isObject:Ct,isPlainObject:nr,isEmptyObject:Ta,isReadableStream:_a,isRequest:$a,isResponse:Ua,isHeaders:ka,isUndefined:gt,isDate:Na,isFile:Aa,isReactNativeBlob:Pa,isReactNative:Sa,isBlob:Ia,isRegExp:Ya,isFunction:xe,isStream:Ca,isURLSearchParams:La,isTypedArray:qa,isFileList:Oa,forEach:Rt,merge:Mr,extend:ja,trim:Ba,stripBOM:Ma,inherits:Va,toFlatObject:Da,kindOf:tr,kindOfTest:Le,endsWith:Ha,toArray:za,forEachEntry:Wa,matchAll:Ga,isHTMLForm:Ka,hasOwnProperty:li,hasOwnProp:li,reduceDescriptors:ci,freezeMethods:Xa,toObjectSet:Za,toCamelCase:Ja,noop:Qa,toFiniteNumber:eu,findKey:ai,global:rt,isContextDefined:ui,isSpecCompliantForm:tu,toJSONObject:ru,isAsyncFn:nu,isThenable:iu,setImmediate:fi,asap:su,isIterable:t=>t!=null&&xe(t[er])},hi={},ir={};ir.byteLength=uu,ir.toByteArray=cu,ir.fromByteArray=pu;for(var ke=[],Ie=[],ou=typeof Uint8Array<"u"?Uint8Array:Array,Vr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mt=0,au=Vr.length;mt0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function uu(t){var e=pi(t),r=e[0],n=e[1];return(r+n)*3/4-n}function lu(t,e,r){return(e+r)*3/4-r}function cu(t){var e,r=pi(t),n=r[0],i=r[1],s=new ou(lu(t,n,i)),o=0,a=i>0?n-4:n,l;for(l=0;l>16&255,s[o++]=e>>8&255,s[o++]=e&255;return i===2&&(e=Ie[t.charCodeAt(l)]<<2|Ie[t.charCodeAt(l+1)]>>4,s[o++]=e&255),i===1&&(e=Ie[t.charCodeAt(l)]<<10|Ie[t.charCodeAt(l+1)]<<4|Ie[t.charCodeAt(l+2)]>>2,s[o++]=e>>8&255,s[o++]=e&255),s}function fu(t){return ke[t>>18&63]+ke[t>>12&63]+ke[t>>6&63]+ke[t&63]}function hu(t,e,r){for(var n,i=[],s=e;sa?a:o+s));return n===1?(e=t[r-1],i.push(ke[e>>2]+ke[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(ke[e>>10]+ke[e>>4&63]+ke[e<<2&63]+"=")),i.join("")}var Dr={};Dr.read=function(t,e,r,n,i){var s,o,a=i*8-n-1,l=(1<>1,u=-7,h=r?i-1:0,d=r?-1:1,y=t[e+h];for(h+=d,s=y&(1<<-u)-1,y>>=-u,u+=a;u>0;s=s*256+t[e+h],h+=d,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=n;u>0;o=o*256+t[e+h],h+=d,u-=8);if(s===0)s=1-c;else{if(s===l)return o?NaN:(y?-1:1)*(1/0);o=o+Math.pow(2,n),s=s-c}return(y?-1:1)*o*Math.pow(2,s-n)},Dr.write=function(t,e,r,n,i,s){var o,a,l,c=s*8-i-1,u=(1<>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=n?0:s-1,g=n?1:-1,m=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=u):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+h>=1?e+=d/l:e+=d*Math.pow(2,1-h),e*l>=2&&(o++,l/=2),o+h>=u?(a=0,o=u):o+h>=1?(a=(e*l-1)*Math.pow(2,i),o=o+h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),o=0));i>=8;t[r+y]=a&255,y+=g,a/=256,i-=8);for(o=o<0;t[r+y]=o&255,y+=g,o/=256,c-=8);t[r+y-g]|=m*128};(function(t){const e=ir,r=Dr,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=I,t.INSPECT_MAX_BYTES=50;const i=2147483647;t.kMaxLength=i;const{Uint8Array:s,ArrayBuffer:o,SharedArrayBuffer:a}=globalThis;u.TYPED_ARRAY_SUPPORT=l(),!u.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function l(){try{const w=new s(1),f={foo:function(){return 42}};return Object.setPrototypeOf(f,s.prototype),Object.setPrototypeOf(w,f),w.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function c(w){if(w>i)throw new RangeError('The value "'+w+'" is invalid for option "size"');const f=new s(w);return Object.setPrototypeOf(f,u.prototype),f}function u(w,f,p){if(typeof w=="number"){if(typeof f=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(w)}return h(w,f,p)}u.poolSize=8192;function h(w,f,p){if(typeof w=="string")return m(w,f);if(o.isView(w))return T(w);if(w==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w);if(je(w,o)||w&&je(w.buffer,o)||typeof a<"u"&&(je(w,a)||w&&je(w.buffer,a)))return E(w,f,p);if(typeof w=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const x=w.valueOf&&w.valueOf();if(x!=null&&x!==w)return u.from(x,f,p);const N=v(w);if(N)return N;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof w[Symbol.toPrimitive]=="function")return u.from(w[Symbol.toPrimitive]("string"),f,p);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w)}u.from=function(w,f,p){return h(w,f,p)},Object.setPrototypeOf(u.prototype,s.prototype),Object.setPrototypeOf(u,s);function d(w){if(typeof w!="number")throw new TypeError('"size" argument must be of type number');if(w<0)throw new RangeError('The value "'+w+'" is invalid for option "size"')}function y(w,f,p){return d(w),w<=0?c(w):f!==void 0?typeof p=="string"?c(w).fill(f,p):c(w).fill(f):c(w)}u.alloc=function(w,f,p){return y(w,f,p)};function g(w){return d(w),c(w<0?0:A(w)|0)}u.allocUnsafe=function(w){return g(w)},u.allocUnsafeSlow=function(w){return g(w)};function m(w,f){if((typeof f!="string"||f==="")&&(f="utf8"),!u.isEncoding(f))throw new TypeError("Unknown encoding: "+f);const p=F(w,f)|0;let x=c(p);const N=x.write(w,f);return N!==p&&(x=x.slice(0,N)),x}function b(w){const f=w.length<0?0:A(w.length)|0,p=c(f);for(let x=0;x=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return w|0}function I(w){return+w!=w&&(w=0),u.alloc(+w)}u.isBuffer=function(f){return f!=null&&f._isBuffer===!0&&f!==u.prototype},u.compare=function(f,p){if(je(f,s)&&(f=u.from(f,f.offset,f.byteLength)),je(p,s)&&(p=u.from(p,p.offset,p.byteLength)),!u.isBuffer(f)||!u.isBuffer(p))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(f===p)return 0;let x=f.length,N=p.length;for(let S=0,O=Math.min(x,N);SN.length?(u.isBuffer(O)||(O=u.from(O)),O.copy(N,S)):s.prototype.set.call(N,O,S);else if(u.isBuffer(O))O.copy(N,S);else throw new TypeError('"list" argument must be an Array of Buffers');S+=O.length}return N};function F(w,f){if(u.isBuffer(w))return w.length;if(o.isView(w)||je(w,o))return w.byteLength;if(typeof w!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof w);const p=w.length,x=arguments.length>2&&arguments[2]===!0;if(!x&&p===0)return 0;let N=!1;for(;;)switch(f){case"ascii":case"latin1":case"binary":return p;case"utf8":case"utf-8":return Wn(w).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p*2;case"hex":return p>>>1;case"base64":return sa(w).length;default:if(N)return x?-1:Wn(w).length;f=(""+f).toLowerCase(),N=!0}}u.byteLength=F;function L(w,f,p){let x=!1;if((f===void 0||f<0)&&(f=0),f>this.length||((p===void 0||p>this.length)&&(p=this.length),p<=0)||(p>>>=0,f>>>=0,p<=f))return"";for(w||(w="utf8");;)switch(w){case"hex":return ce(this,f,p);case"utf8":case"utf-8":return ae(this,f,p);case"ascii":return Xe(this,f,p);case"latin1":case"binary":return re(this,f,p);case"base64":return J(this,f,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ze(this,f,p);default:if(x)throw new TypeError("Unknown encoding: "+w);w=(w+"").toLowerCase(),x=!0}}u.prototype._isBuffer=!0;function $(w,f,p){const x=w[f];w[f]=w[p],w[p]=x}u.prototype.swap16=function(){const f=this.length;if(f%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let p=0;pp&&(f+=" ... "),""},n&&(u.prototype[n]=u.prototype.inspect),u.prototype.compare=function(f,p,x,N,S){if(je(f,s)&&(f=u.from(f,f.offset,f.byteLength)),!u.isBuffer(f))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof f);if(p===void 0&&(p=0),x===void 0&&(x=f?f.length:0),N===void 0&&(N=0),S===void 0&&(S=this.length),p<0||x>f.length||N<0||S>this.length)throw new RangeError("out of range index");if(N>=S&&p>=x)return 0;if(N>=S)return-1;if(p>=x)return 1;if(p>>>=0,x>>>=0,N>>>=0,S>>>=0,this===f)return 0;let O=S-N,k=x-p;const Y=Math.min(O,k),q=this.slice(N,S),X=f.slice(p,x);for(let V=0;V2147483647?p=2147483647:p<-2147483648&&(p=-2147483648),p=+p,Gn(p)&&(p=N?0:w.length-1),p<0&&(p=w.length+p),p>=w.length){if(N)return-1;p=w.length-1}else if(p<0)if(N)p=0;else return-1;if(typeof f=="string"&&(f=u.from(f,x)),u.isBuffer(f))return f.length===0?-1:j(w,f,p,x,N);if(typeof f=="number")return f=f&255,typeof s.prototype.indexOf=="function"?N?s.prototype.indexOf.call(w,f,p):s.prototype.lastIndexOf.call(w,f,p):j(w,[f],p,x,N);throw new TypeError("val must be string, number or Buffer")}function j(w,f,p,x,N){let S=1,O=w.length,k=f.length;if(x!==void 0&&(x=String(x).toLowerCase(),x==="ucs2"||x==="ucs-2"||x==="utf16le"||x==="utf-16le")){if(w.length<2||f.length<2)return-1;S=2,O/=2,k/=2,p/=2}function Y(X,V){return S===1?X[V]:X.readUInt16BE(V*S)}let q;if(N){let X=-1;for(q=p;qO&&(p=O-k),q=p;q>=0;q--){let X=!0;for(let V=0;VN&&(x=N)):x=N;const S=f.length;x>S/2&&(x=S/2);let O;for(O=0;O>>0,isFinite(x)?(x=x>>>0,N===void 0&&(N="utf8")):(N=x,x=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const S=this.length-p;if((x===void 0||x>S)&&(x=S),f.length>0&&(x<0||p<0)||p>this.length)throw new RangeError("Attempt to write outside buffer bounds");N||(N="utf8");let O=!1;for(;;)switch(N){case"hex":return de(this,f,p,x);case"utf8":case"utf-8":return oe(this,f,p,x);case"ascii":case"latin1":case"binary":return R(this,f,p,x);case"base64":return le(this,f,p,x);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Se(this,f,p,x);default:if(O)throw new TypeError("Unknown encoding: "+N);N=(""+N).toLowerCase(),O=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function J(w,f,p){return f===0&&p===w.length?e.fromByteArray(w):e.fromByteArray(w.slice(f,p))}function ae(w,f,p){p=Math.min(w.length,p);const x=[];let N=f;for(;N239?4:S>223?3:S>191?2:1;if(N+k<=p){let Y,q,X,V;switch(k){case 1:S<128&&(O=S);break;case 2:Y=w[N+1],(Y&192)===128&&(V=(S&31)<<6|Y&63,V>127&&(O=V));break;case 3:Y=w[N+1],q=w[N+2],(Y&192)===128&&(q&192)===128&&(V=(S&15)<<12|(Y&63)<<6|q&63,V>2047&&(V<55296||V>57343)&&(O=V));break;case 4:Y=w[N+1],q=w[N+2],X=w[N+3],(Y&192)===128&&(q&192)===128&&(X&192)===128&&(V=(S&15)<<18|(Y&63)<<12|(q&63)<<6|X&63,V>65535&&V<1114112&&(O=V))}}O===null?(O=65533,k=1):O>65535&&(O-=65536,x.push(O>>>10&1023|55296),O=56320|O&1023),x.push(O),N+=k}return Be(x)}const K=4096;function Be(w){const f=w.length;if(f<=K)return String.fromCharCode.apply(String,w);let p="",x=0;for(;xx)&&(p=x);let N="";for(let S=f;Sx&&(f=x),p<0?(p+=x,p<0&&(p=0)):p>x&&(p=x),pp)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(f,p,x){f=f>>>0,p=p>>>0,x||D(f,p,this.length);let N=this[f],S=1,O=0;for(;++O>>0,p=p>>>0,x||D(f,p,this.length);let N=this[f+--p],S=1;for(;p>0&&(S*=256);)N+=this[f+--p]*S;return N},u.prototype.readUint8=u.prototype.readUInt8=function(f,p){return f=f>>>0,p||D(f,1,this.length),this[f]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(f,p){return f=f>>>0,p||D(f,2,this.length),this[f]|this[f+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(f,p){return f=f>>>0,p||D(f,2,this.length),this[f]<<8|this[f+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(f,p){return f=f>>>0,p||D(f,4,this.length),(this[f]|this[f+1]<<8|this[f+2]<<16)+this[f+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(f,p){return f=f>>>0,p||D(f,4,this.length),this[f]*16777216+(this[f+1]<<16|this[f+2]<<8|this[f+3])},u.prototype.readBigUInt64LE=Qe(function(f){f=f>>>0,It(f,"offset");const p=this[f],x=this[f+7];(p===void 0||x===void 0)&&Zt(f,this.length-8);const N=p+this[++f]*2**8+this[++f]*2**16+this[++f]*2**24,S=this[++f]+this[++f]*2**8+this[++f]*2**16+x*2**24;return BigInt(N)+(BigInt(S)<>>0,It(f,"offset");const p=this[f],x=this[f+7];(p===void 0||x===void 0)&&Zt(f,this.length-8);const N=p*2**24+this[++f]*2**16+this[++f]*2**8+this[++f],S=this[++f]*2**24+this[++f]*2**16+this[++f]*2**8+x;return(BigInt(N)<>>0,p=p>>>0,x||D(f,p,this.length);let N=this[f],S=1,O=0;for(;++O=S&&(N-=Math.pow(2,8*p)),N},u.prototype.readIntBE=function(f,p,x){f=f>>>0,p=p>>>0,x||D(f,p,this.length);let N=p,S=1,O=this[f+--N];for(;N>0&&(S*=256);)O+=this[f+--N]*S;return S*=128,O>=S&&(O-=Math.pow(2,8*p)),O},u.prototype.readInt8=function(f,p){return f=f>>>0,p||D(f,1,this.length),this[f]&128?(255-this[f]+1)*-1:this[f]},u.prototype.readInt16LE=function(f,p){f=f>>>0,p||D(f,2,this.length);const x=this[f]|this[f+1]<<8;return x&32768?x|4294901760:x},u.prototype.readInt16BE=function(f,p){f=f>>>0,p||D(f,2,this.length);const x=this[f+1]|this[f]<<8;return x&32768?x|4294901760:x},u.prototype.readInt32LE=function(f,p){return f=f>>>0,p||D(f,4,this.length),this[f]|this[f+1]<<8|this[f+2]<<16|this[f+3]<<24},u.prototype.readInt32BE=function(f,p){return f=f>>>0,p||D(f,4,this.length),this[f]<<24|this[f+1]<<16|this[f+2]<<8|this[f+3]},u.prototype.readBigInt64LE=Qe(function(f){f=f>>>0,It(f,"offset");const p=this[f],x=this[f+7];(p===void 0||x===void 0)&&Zt(f,this.length-8);const N=this[f+4]+this[f+5]*2**8+this[f+6]*2**16+(x<<24);return(BigInt(N)<>>0,It(f,"offset");const p=this[f],x=this[f+7];(p===void 0||x===void 0)&&Zt(f,this.length-8);const N=(p<<24)+this[++f]*2**16+this[++f]*2**8+this[++f];return(BigInt(N)<>>0,p||D(f,4,this.length),r.read(this,f,!0,23,4)},u.prototype.readFloatBE=function(f,p){return f=f>>>0,p||D(f,4,this.length),r.read(this,f,!1,23,4)},u.prototype.readDoubleLE=function(f,p){return f=f>>>0,p||D(f,8,this.length),r.read(this,f,!0,52,8)},u.prototype.readDoubleBE=function(f,p){return f=f>>>0,p||D(f,8,this.length),r.read(this,f,!1,52,8)};function z(w,f,p,x,N,S){if(!u.isBuffer(w))throw new TypeError('"buffer" argument must be a Buffer instance');if(f>N||fw.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(f,p,x,N){if(f=+f,p=p>>>0,x=x>>>0,!N){const k=Math.pow(2,8*x)-1;z(this,f,p,x,k,0)}let S=1,O=0;for(this[p]=f&255;++O>>0,x=x>>>0,!N){const k=Math.pow(2,8*x)-1;z(this,f,p,x,k,0)}let S=x-1,O=1;for(this[p+S]=f&255;--S>=0&&(O*=256);)this[p+S]=f/O&255;return p+x},u.prototype.writeUint8=u.prototype.writeUInt8=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,1,255,0),this[p]=f&255,p+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,2,65535,0),this[p]=f&255,this[p+1]=f>>>8,p+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,2,65535,0),this[p]=f>>>8,this[p+1]=f&255,p+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,4,4294967295,0),this[p+3]=f>>>24,this[p+2]=f>>>16,this[p+1]=f>>>8,this[p]=f&255,p+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,4,4294967295,0),this[p]=f>>>24,this[p+1]=f>>>16,this[p+2]=f>>>8,this[p+3]=f&255,p+4};function Lr(w,f,p,x,N){ia(f,x,N,w,p,7);let S=Number(f&BigInt(4294967295));w[p++]=S,S=S>>8,w[p++]=S,S=S>>8,w[p++]=S,S=S>>8,w[p++]=S;let O=Number(f>>BigInt(32)&BigInt(4294967295));return w[p++]=O,O=O>>8,w[p++]=O,O=O>>8,w[p++]=O,O=O>>8,w[p++]=O,p}function Qo(w,f,p,x,N){ia(f,x,N,w,p,7);let S=Number(f&BigInt(4294967295));w[p+7]=S,S=S>>8,w[p+6]=S,S=S>>8,w[p+5]=S,S=S>>8,w[p+4]=S;let O=Number(f>>BigInt(32)&BigInt(4294967295));return w[p+3]=O,O=O>>8,w[p+2]=O,O=O>>8,w[p+1]=O,O=O>>8,w[p]=O,p+8}u.prototype.writeBigUInt64LE=Qe(function(f,p=0){return Lr(this,f,p,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=Qe(function(f,p=0){return Qo(this,f,p,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(f,p,x,N){if(f=+f,p=p>>>0,!N){const Y=Math.pow(2,8*x-1);z(this,f,p,x,Y-1,-Y)}let S=0,O=1,k=0;for(this[p]=f&255;++S>0)-k&255;return p+x},u.prototype.writeIntBE=function(f,p,x,N){if(f=+f,p=p>>>0,!N){const Y=Math.pow(2,8*x-1);z(this,f,p,x,Y-1,-Y)}let S=x-1,O=1,k=0;for(this[p+S]=f&255;--S>=0&&(O*=256);)f<0&&k===0&&this[p+S+1]!==0&&(k=1),this[p+S]=(f/O>>0)-k&255;return p+x},u.prototype.writeInt8=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,1,127,-128),f<0&&(f=255+f+1),this[p]=f&255,p+1},u.prototype.writeInt16LE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,2,32767,-32768),this[p]=f&255,this[p+1]=f>>>8,p+2},u.prototype.writeInt16BE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,2,32767,-32768),this[p]=f>>>8,this[p+1]=f&255,p+2},u.prototype.writeInt32LE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,4,2147483647,-2147483648),this[p]=f&255,this[p+1]=f>>>8,this[p+2]=f>>>16,this[p+3]=f>>>24,p+4},u.prototype.writeInt32BE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,4,2147483647,-2147483648),f<0&&(f=4294967295+f+1),this[p]=f>>>24,this[p+1]=f>>>16,this[p+2]=f>>>8,this[p+3]=f&255,p+4},u.prototype.writeBigInt64LE=Qe(function(f,p=0){return Lr(this,f,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=Qe(function(f,p=0){return Qo(this,f,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ea(w,f,p,x,N,S){if(p+x>w.length)throw new RangeError("Index out of range");if(p<0)throw new RangeError("Index out of range")}function ta(w,f,p,x,N){return f=+f,p=p>>>0,N||ea(w,f,p,4),r.write(w,f,p,x,23,4),p+4}u.prototype.writeFloatLE=function(f,p,x){return ta(this,f,p,!0,x)},u.prototype.writeFloatBE=function(f,p,x){return ta(this,f,p,!1,x)};function ra(w,f,p,x,N){return f=+f,p=p>>>0,N||ea(w,f,p,8),r.write(w,f,p,x,52,8),p+8}u.prototype.writeDoubleLE=function(f,p,x){return ra(this,f,p,!0,x)},u.prototype.writeDoubleBE=function(f,p,x){return ra(this,f,p,!1,x)},u.prototype.copy=function(f,p,x,N){if(!u.isBuffer(f))throw new TypeError("argument should be a Buffer");if(x||(x=0),!N&&N!==0&&(N=this.length),p>=f.length&&(p=f.length),p||(p=0),N>0&&N=this.length)throw new RangeError("Index out of range");if(N<0)throw new RangeError("sourceEnd out of bounds");N>this.length&&(N=this.length),f.length-p>>0,x=x===void 0?this.length:x>>>0,f||(f=0);let S;if(typeof f=="number")for(S=p;S2**32?N=na(String(p)):typeof p=="bigint"&&(N=String(p),(p>BigInt(2)**BigInt(32)||p<-(BigInt(2)**BigInt(32)))&&(N=na(N)),N+="n"),x+=` It must be ${f}. Received ${N}`,x},RangeError);function na(w){let f="",p=w.length;const x=w[0]==="-"?1:0;for(;p>=x+4;p-=3)f=`_${w.slice(p-3,p)}${f}`;return`${w.slice(0,p)}${f}`}function o0(w,f,p){It(f,"offset"),(w[f]===void 0||w[f+p]===void 0)&&Zt(f,w.length-(p+1))}function ia(w,f,p,x,N,S){if(w>p||w= 0${O} and < 2${O} ** ${(S+1)*8}${O}`:k=`>= -(2${O} ** ${(S+1)*8-1}${O}) and < 2 ** ${(S+1)*8-1}${O}`,new St.ERR_OUT_OF_RANGE("value",k,w)}o0(x,N,S)}function It(w,f){if(typeof w!="number")throw new St.ERR_INVALID_ARG_TYPE(f,"number",w)}function Zt(w,f,p){throw Math.floor(w)!==w?(It(w,p),new St.ERR_OUT_OF_RANGE("offset","an integer",w)):f<0?new St.ERR_BUFFER_OUT_OF_BOUNDS:new St.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${f}`,w)}const a0=/[^+/0-9A-Za-z-_]/g;function u0(w){if(w=w.split("=")[0],w=w.trim().replace(a0,""),w.length<2)return"";for(;w.length%4!==0;)w=w+"=";return w}function Wn(w,f){f=f||1/0;let p;const x=w.length;let N=null;const S=[];for(let O=0;O55295&&p<57344){if(!N){if(p>56319){(f-=3)>-1&&S.push(239,191,189);continue}else if(O+1===x){(f-=3)>-1&&S.push(239,191,189);continue}N=p;continue}if(p<56320){(f-=3)>-1&&S.push(239,191,189),N=p;continue}p=(N-55296<<10|p-56320)+65536}else N&&(f-=3)>-1&&S.push(239,191,189);if(N=null,p<128){if((f-=1)<0)break;S.push(p)}else if(p<2048){if((f-=2)<0)break;S.push(p>>6|192,p&63|128)}else if(p<65536){if((f-=3)<0)break;S.push(p>>12|224,p>>6&63|128,p&63|128)}else if(p<1114112){if((f-=4)<0)break;S.push(p>>18|240,p>>12&63|128,p>>6&63|128,p&63|128)}else throw new Error("Invalid code point")}return S}function l0(w){const f=[];for(let p=0;p>8,N=p%256,S.push(N),S.push(x);return S}function sa(w){return e.toByteArray(u0(w))}function _r(w,f,p,x){let N;for(N=0;N=f.length||N>=w.length);++N)f[N+p]=w[N];return N}function je(w,f){return w instanceof f||w!=null&&w.constructor!=null&&w.constructor.name!=null&&w.constructor.name===f.name}function Gn(w){return w!==w}const f0=(function(){const w="0123456789abcdef",f=new Array(256);for(let p=0;p<16;++p){const x=p*16;for(let N=0;N<16;++N)f[x+N]=w[p]+w[N]}return f})();function Qe(w){return typeof BigInt>"u"?h0:w}function h0(){throw new Error("BigInt not supported")}})(hi);const di=hi.Buffer;let U=class oa extends Error{static from(e,r,n,i,s,o){const a=new oa(e.message,r||e.code,n,i,s);return a.cause=e,a.name=e.name,e.status!=null&&a.status==null&&(a.status=e.status),o&&Object.assign(a,o),a}constructor(e,r,n,i,s){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s,this.status=s.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.status}}};U.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",U.ERR_BAD_OPTION="ERR_BAD_OPTION",U.ECONNABORTED="ECONNABORTED",U.ETIMEDOUT="ETIMEDOUT",U.ERR_NETWORK="ERR_NETWORK",U.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",U.ERR_DEPRECATED="ERR_DEPRECATED",U.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",U.ERR_BAD_REQUEST="ERR_BAD_REQUEST",U.ERR_CANCELED="ERR_CANCELED",U.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",U.ERR_INVALID_URL="ERR_INVALID_URL";var du=null;function Hr(t){return P.isPlainObject(t)||P.isArray(t)}function gi(t){return P.endsWith(t,"[]")?t.slice(0,-2):t}function zr(t,e,r){return t?t.concat(e).map(function(i,s){return i=gi(i),!r&&s?"["+i+"]":i}).join(r?".":""):e}function gu(t){return P.isArray(t)&&!t.some(Hr)}const mu=P.toFlatObject(P,{},null,function(e){return/^is[A-Z]/.test(e)});function sr(t,e,r){if(!P.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=P.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,b){return!P.isUndefined(b[m])});const n=r.metaTokens,i=r.visitor||u,s=r.dots,o=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&P.isSpecCompliantForm(e);if(!P.isFunction(i))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(P.isDate(g))return g.toISOString();if(P.isBoolean(g))return g.toString();if(!l&&P.isBlob(g))throw new U("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(g)||P.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):di.from(g):g}function u(g,m,b){let T=g;if(P.isReactNative(e)&&P.isReactNativeBlob(g))return e.append(zr(b,m,s),c(g)),!1;if(g&&!b&&typeof g=="object"){if(P.endsWith(m,"{}"))m=n?m:m.slice(0,-2),g=JSON.stringify(g);else if(P.isArray(g)&&gu(g)||(P.isFileList(g)||P.endsWith(m,"[]"))&&(T=P.toArray(g)))return m=gi(m),T.forEach(function(v,A){!(P.isUndefined(v)||v===null)&&e.append(o===!0?zr([m],A,s):o===null?m:m+"[]",c(v))}),!1}return Hr(g)?!0:(e.append(zr(b,m,s),c(g)),!1)}const h=[],d=Object.assign(mu,{defaultVisitor:u,convertValue:c,isVisitable:Hr});function y(g,m){if(!P.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+m.join("."));h.push(g),P.forEach(g,function(T,E){(!(P.isUndefined(T)||T===null)&&i.call(e,T,P.isString(E)?E.trim():E,m,d))===!0&&y(T,m?m.concat(E):[E])}),h.pop()}}if(!P.isObject(t))throw new TypeError("data must be an object");return y(t),e}function mi(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function qr(t,e){this._pairs=[],t&&sr(t,this,e)}const yi=qr.prototype;yi.append=function(e,r){this._pairs.push([e,r])},yi.toString=function(e){const r=e?function(n){return e.call(this,n,mi)}:mi;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function yu(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function bi(t,e,r){if(!e)return t;const n=r&&r.encode||yu,i=P.isFunction(r)?{serialize:r}:r,s=i&&i.serialize;let o;if(s?o=s(e,i):o=P.isURLSearchParams(e)?e.toString():new qr(e,i).toString(n),o){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class wi{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){P.forEach(this.handlers,function(n){n!==null&&e(n)})}}var Wr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},bu=typeof URLSearchParams<"u"?URLSearchParams:qr,wu=typeof FormData<"u"?FormData:null,xu=typeof Blob<"u"?Blob:null,Eu={isBrowser:!0,classes:{URLSearchParams:bu,FormData:wu,Blob:xu},protocols:["http","https","file","blob","url","data"]};const Gr=typeof window<"u"&&typeof document<"u",Kr=typeof navigator=="object"&&navigator||void 0,vu=Gr&&(!Kr||["ReactNative","NativeScript","NS"].indexOf(Kr.product)<0),Tu=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Nu=Gr&&window.location.href||"http://localhost";var Au=Object.freeze({__proto__:null,hasBrowserEnv:Gr,hasStandardBrowserEnv:vu,hasStandardBrowserWebWorkerEnv:Tu,navigator:Kr,origin:Nu}),fe={...Au,...Eu};function Pu(t,e){return sr(t,new fe.classes.URLSearchParams,{visitor:function(r,n,i,s){return fe.isNode&&P.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...e})}function Su(t){return P.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Iu(t){const e={},r=Object.keys(t);let n;const i=r.length;let s;for(n=0;n=r.length;return o=!o&&P.isArray(i)?i.length:o,l?(P.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a):((!i[o]||!P.isObject(i[o]))&&(i[o]=[]),e(r,n,i[o],s)&&P.isArray(i[o])&&(i[o]=Iu(i[o])),!a)}if(P.isFormData(t)&&P.isFunction(t.entries)){const r={};return P.forEachEntry(t,(n,i)=>{e(Su(n),i,r,0)}),r}return null}function Ou(t,e,r){if(P.isString(t))try{return(e||JSON.parse)(t),P.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const Ft={transitional:Wr,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,s=P.isObject(e);if(s&&P.isHTMLForm(e)&&(e=new FormData(e)),P.isFormData(e))return i?JSON.stringify(xi(e)):e;if(P.isArrayBuffer(e)||P.isBuffer(e)||P.isStream(e)||P.isFile(e)||P.isBlob(e)||P.isReadableStream(e))return e;if(P.isArrayBufferView(e))return e.buffer;if(P.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Pu(e,this.formSerializer).toString();if((a=P.isFileList(e))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return sr(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return s||i?(r.setContentType("application/json",!1),Ou(e)):e}],transformResponse:[function(e){const r=this.transitional||Ft.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(P.isResponse(e)||P.isReadableStream(e))return e;if(e&&P.isString(e)&&(n&&!this.responseType||i)){const o=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(e,this.parseReviver)}catch(a){if(o)throw a.name==="SyntaxError"?U.from(a,U.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fe.classes.FormData,Blob:fe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch"],t=>{Ft.headers[t]={}});const Cu=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var Ru=t=>{const e={};let r,n,i;return t&&t.split(` +`).forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||e[r]&&Cu[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e};const Ei=Symbol("internals");function Lt(t){return t&&String(t).trim().toLowerCase()}function or(t){return t===!1||t==null?t:P.isArray(t)?t.map(or):String(t)}function Fu(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const Lu=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Jr(t,e,r,n,i){if(P.isFunction(n))return n.call(this,e,r);if(i&&(e=r),!!P.isString(e)){if(P.isString(n))return e.indexOf(n)!==-1;if(P.isRegExp(n))return n.test(e)}}function _u(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function $u(t,e){const r=P.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(i,s,o){return this[n].call(this,e,i,s,o)},configurable:!0})})}let Ee=class{constructor(e){e&&this.set(e)}set(e,r,n){const i=this;function s(a,l,c){const u=Lt(l);if(!u)throw new Error("header name must be a non-empty string");const h=P.findKey(i,u);(!h||i[h]===void 0||c===!0||c===void 0&&i[h]!==!1)&&(i[h||l]=or(a))}const o=(a,l)=>P.forEach(a,(c,u)=>s(c,u,l));if(P.isPlainObject(e)||e instanceof this.constructor)o(e,r);else if(P.isString(e)&&(e=e.trim())&&!Lu(e))o(Ru(e),r);else if(P.isObject(e)&&P.isIterable(e)){let a={},l,c;for(const u of e){if(!P.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?P.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}o(a,r)}else e!=null&&s(r,e,n);return this}get(e,r){if(e=Lt(e),e){const n=P.findKey(this,e);if(n){const i=this[n];if(!r)return i;if(r===!0)return Fu(i);if(P.isFunction(r))return r.call(this,i,n);if(P.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=Lt(e),e){const n=P.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||Jr(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let i=!1;function s(o){if(o=Lt(o),o){const a=P.findKey(n,o);a&&(!r||Jr(n,n[a],a,r))&&(delete n[a],i=!0)}}return P.isArray(e)?e.forEach(s):s(e),i}clear(e){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const s=r[n];(!e||Jr(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const r=this,n={};return P.forEach(this,(i,s)=>{const o=P.findKey(n,s);if(o){r[o]=or(i),delete r[s];return}const a=e?_u(s):String(s).trim();a!==s&&delete r[s],r[a]=or(i),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return P.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=e&&P.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(i=>n.set(i)),n}static accessor(e){const n=(this[Ei]=this[Ei]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=Lt(o);n[a]||($u(i,o),n[a]=!0)}return P.isArray(e)?e.forEach(s):s(e),this}};Ee.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),P.reduceDescriptors(Ee.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}}),P.freezeMethods(Ee);function Yr(t,e){const r=this||Ft,n=e||r,i=Ee.from(n.headers);let s=n.data;return P.forEach(t,function(a){s=a.call(r,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function vi(t){return!!(t&&t.__CANCEL__)}let _t=class extends U{constructor(e,r,n){super(e??"canceled",U.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}};function Ti(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new U("Request failed with status code "+r.status,[U.ERR_BAD_REQUEST,U.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Uu(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function ku(t,e){t=t||10;const r=new Array(t),n=new Array(t);let i=0,s=0,o;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=n[s];o||(o=c),r[i]=l,n[i]=c;let h=s,d=0;for(;h!==i;)d+=r[h++],h=h%t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),c-o{r=u,i=null,s&&(clearTimeout(s),s=null),t(...c)};return[(...c)=>{const u=Date.now(),h=u-r;h>=n?o(c,u):(i=c,s||(s=setTimeout(()=>{s=null,o(i)},n-h)))},()=>i&&o(i)]}const ar=(t,e,r=3)=>{let n=0;const i=ku(50,250);return Bu(s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,l=o-n,c=i(l),u=o<=a;n=o;const h={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-o)/c:void 0,event:s,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(h)},r)},Ni=(t,e)=>{const r=t!=null;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},Ai=t=>(...e)=>P.asap(()=>t(...e));var ju=fe.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,fe.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(fe.origin),fe.navigator&&/(msie|trident)/i.test(fe.navigator.userAgent)):()=>!0,Mu=fe.hasStandardBrowserEnv?{write(t,e,r,n,i,s,o){if(typeof document>"u")return;const a=[`${t}=${encodeURIComponent(e)}`];P.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),P.isString(n)&&a.push(`path=${n}`),P.isString(i)&&a.push(`domain=${i}`),s===!0&&a.push("secure"),P.isString(o)&&a.push(`SameSite=${o}`),document.cookie=a.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Vu(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Du(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Pi(t,e,r){let n=!Vu(e);return t&&(n||r==!1)?Du(t,e):e}const Si=t=>t instanceof Ee?{...t}:t;function nt(t,e){e=e||{};const r={};function n(c,u,h,d){return P.isPlainObject(c)&&P.isPlainObject(u)?P.merge.call({caseless:d},c,u):P.isPlainObject(u)?P.merge({},u):P.isArray(u)?u.slice():u}function i(c,u,h,d){if(P.isUndefined(u)){if(!P.isUndefined(c))return n(void 0,c,h,d)}else return n(c,u,h,d)}function s(c,u){if(!P.isUndefined(u))return n(void 0,u)}function o(c,u){if(P.isUndefined(u)){if(!P.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function a(c,u,h){if(h in e)return n(c,u);if(h in t)return n(void 0,c)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(c,u,h)=>i(Si(c),Si(u),h,!0)};return P.forEach(Object.keys({...t,...e}),function(u){if(u==="__proto__"||u==="constructor"||u==="prototype")return;const h=P.hasOwnProp(l,u)?l[u]:i,d=h(t[u],e[u],u);P.isUndefined(d)&&h!==a||(r[u]=d)}),r}var Ii=t=>{const e=nt({},t);let{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:s,headers:o,auth:a}=e;if(e.headers=o=Ee.from(o),e.url=bi(Pi(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),P.isFormData(r)){if(fe.hasStandardBrowserEnv||fe.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(P.isFunction(r.getHeaders)){const l=r.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([u,h])=>{c.includes(u.toLowerCase())&&o.set(u,h)})}}if(fe.hasStandardBrowserEnv&&(n&&P.isFunction(n)&&(n=n(e)),n||n!==!1&&ju(e.url))){const l=i&&s&&Mu.read(s);l&&o.set(i,l)}return e},Hu=typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(r,n){const i=Ii(t);let s=i.data;const o=Ee.from(i.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=i,u,h,d,y,g;function m(){y&&y(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(i.method.toUpperCase(),i.url,!0),b.timeout=i.timeout;function T(){if(!b)return;const v=Ee.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),I={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:v,config:t,request:b};Ti(function(L){r(L),m()},function(L){n(L),m()},I),b=null}"onloadend"in b?b.onloadend=T:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(T)},b.onabort=function(){b&&(n(new U("Request aborted",U.ECONNABORTED,t,b)),b=null)},b.onerror=function(A){const I=A&&A.message?A.message:"Network Error",F=new U(I,U.ERR_NETWORK,t,b);F.event=A||null,n(F),b=null},b.ontimeout=function(){let A=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const I=i.transitional||Wr;i.timeoutErrorMessage&&(A=i.timeoutErrorMessage),n(new U(A,I.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,t,b)),b=null},s===void 0&&o.setContentType(null),"setRequestHeader"in b&&P.forEach(o.toJSON(),function(A,I){b.setRequestHeader(I,A)}),P.isUndefined(i.withCredentials)||(b.withCredentials=!!i.withCredentials),a&&a!=="json"&&(b.responseType=i.responseType),c&&([d,g]=ar(c,!0),b.addEventListener("progress",d)),l&&b.upload&&([h,y]=ar(l),b.upload.addEventListener("progress",h),b.upload.addEventListener("loadend",y)),(i.cancelToken||i.signal)&&(u=v=>{b&&(n(!v||v.type?new _t(null,t,b):v),b.abort(),b=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const E=Uu(i.url);if(E&&fe.protocols.indexOf(E)===-1){n(new U("Unsupported protocol "+E+":",U.ERR_BAD_REQUEST,t));return}b.send(s||null)})};const zu=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let n=new AbortController,i;const s=function(c){if(!i){i=!0,a();const u=c instanceof Error?c:this.reason;n.abort(u instanceof U?u:new _t(u instanceof Error?u.message:u))}};let o=e&&setTimeout(()=>{o=null,s(new U(`timeout of ${e}ms exceeded`,U.ETIMEDOUT))},e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),t=null)};t.forEach(c=>c.addEventListener("abort",s));const{signal:l}=n;return l.unsubscribe=()=>P.asap(a),l}},qu=function*(t,e){let r=t.byteLength;if(r{const i=Wu(t,e);let s=0,o,a=l=>{o||(o=!0,n&&n(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await i.next();if(c){a(),l.close();return}let h=u.byteLength;if(r){let d=s+=h;r(d)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),i.return()}},{highWaterMark:2})},Ci=64*1024,{isFunction:ur}=P,Ku=(({Request:t,Response:e})=>({Request:t,Response:e}))(P.global),{ReadableStream:Ri,TextEncoder:Fi}=P.global,Li=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Ju=t=>{t=P.merge.call({skipUndefined:!0},Ku,t);const{fetch:e,Request:r,Response:n}=t,i=e?ur(e):typeof fetch=="function",s=ur(r),o=ur(n);if(!i)return!1;const a=i&&ur(Ri),l=i&&(typeof Fi=="function"?(g=>m=>g.encode(m))(new Fi):async g=>new Uint8Array(await new r(g).arrayBuffer())),c=s&&a&&Li(()=>{let g=!1;const m=new r(fe.origin,{body:new Ri,method:"POST",get duplex(){return g=!0,"half"}}).headers.has("Content-Type");return g&&!m}),u=o&&a&&Li(()=>P.isReadableStream(new n("").body)),h={stream:u&&(g=>g.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!h[g]&&(h[g]=(m,b)=>{let T=m&&m[g];if(T)return T.call(m);throw new U(`Response type '${g}' is not supported`,U.ERR_NOT_SUPPORT,b)})});const d=async g=>{if(g==null)return 0;if(P.isBlob(g))return g.size;if(P.isSpecCompliantForm(g))return(await new r(fe.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(P.isArrayBufferView(g)||P.isArrayBuffer(g))return g.byteLength;if(P.isURLSearchParams(g)&&(g=g+""),P.isString(g))return(await l(g)).byteLength},y=async(g,m)=>{const b=P.toFiniteNumber(g.getContentLength());return b??d(m)};return async g=>{let{url:m,method:b,data:T,signal:E,cancelToken:v,timeout:A,onDownloadProgress:I,onUploadProgress:F,responseType:L,headers:$,withCredentials:_="same-origin",fetchOptions:j}=Ii(g),de=e||fetch;L=L?(L+"").toLowerCase():"text";let oe=zu([E,v&&v.toAbortSignal()],A),R=null;const le=oe&&oe.unsubscribe&&(()=>{oe.unsubscribe()});let Se;try{if(F&&c&&b!=="get"&&b!=="head"&&(Se=await y($,T))!==0){let re=new r(m,{method:"POST",body:T,duplex:"half"}),ce;if(P.isFormData(T)&&(ce=re.headers.get("content-type"))&&$.setContentType(ce),re.body){const[Ze,D]=Ni(Se,ar(Ai(F)));T=Oi(re.body,Ci,Ze,D)}}P.isString(_)||(_=_?"include":"omit");const J=s&&"credentials"in r.prototype,ae={...j,signal:oe,method:b.toUpperCase(),headers:$.normalize().toJSON(),body:T,duplex:"half",credentials:J?_:void 0};R=s&&new r(m,ae);let K=await(s?de(R,j):de(m,ae));const Be=u&&(L==="stream"||L==="response");if(u&&(I||Be&&le)){const re={};["status","statusText","headers"].forEach(z=>{re[z]=K[z]});const ce=P.toFiniteNumber(K.headers.get("content-length")),[Ze,D]=I&&Ni(ce,ar(Ai(I),!0))||[];K=new n(Oi(K.body,Ci,Ze,()=>{D&&D(),le&&le()}),re)}L=L||"text";let Xe=await h[P.findKey(h,L)||"text"](K,g);return!Be&&le&&le(),await new Promise((re,ce)=>{Ti(re,ce,{data:Xe,headers:Ee.from(K.headers),status:K.status,statusText:K.statusText,config:g,request:R})})}catch(J){throw le&&le(),J&&J.name==="TypeError"&&/Load failed|fetch/i.test(J.message)?Object.assign(new U("Network Error",U.ERR_NETWORK,g,R,J&&J.response),{cause:J.cause||J}):U.from(J,J&&J.code,g,R,J&&J.response)}}},Yu=new Map,_i=t=>{let e=t&&t.env||{};const{fetch:r,Request:n,Response:i}=e,s=[n,i,r];let o=s.length,a=o,l,c,u=Yu;for(;a--;)l=s[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:Ju(e)),u=c;return c};_i();const Xr={http:du,xhr:Hu,fetch:{get:_i}};P.forEach(Xr,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const $i=t=>`- ${t}`,Xu=t=>P.isFunction(t)||t===null||t===!1;function Zu(t,e){t=P.isArray(t)?t:[t];const{length:r}=t;let n,i;const s={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=r?o.length>1?`since : +`+o.map($i).join(` +`):" "+$i(o[0]):"as no adapter specified";throw new U("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i}var Ui={getAdapter:Zu,adapters:Xr};function Zr(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new _t(null,t)}function ki(t){return Zr(t),t.headers=Ee.from(t.headers),t.data=Yr.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Ui.getAdapter(t.adapter||Ft.adapter,t)(t).then(function(n){return Zr(t),n.data=Yr.call(t,t.transformResponse,n),n.headers=Ee.from(n.headers),n},function(n){return vi(n)||(Zr(t),n&&n.response&&(n.response.data=Yr.call(t,t.transformResponse,n.response),n.response.headers=Ee.from(n.response.headers))),Promise.reject(n)})}const Bi="1.13.6",lr={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{lr[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const ji={};lr.transitional=function(e,r,n){function i(s,o){return"[Axios v"+Bi+"] Transitional option '"+s+"'"+o+(n?". "+n:"")}return(s,o,a)=>{if(e===!1)throw new U(i(o," has been removed"+(r?" in "+r:"")),U.ERR_DEPRECATED);return r&&!ji[o]&&(ji[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,o,a):!0}},lr.spelling=function(e){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function Qu(t,e,r){if(typeof t!="object")throw new U("options must be an object",U.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let i=n.length;for(;i-- >0;){const s=n[i],o=e[s];if(o){const a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new U("option "+s+" must be "+l,U.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new U("Unknown option "+s,U.ERR_BAD_OPTION)}}var cr={assertOptions:Qu,validators:lr};const Oe=cr.validators;let it=class{constructor(e){this.defaults=e||{},this.interceptors={request:new wi,response:new wi}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+=` +`+s):n.stack=s}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=nt(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:s}=r;n!==void 0&&cr.assertOptions(n,{silentJSONParsing:Oe.transitional(Oe.boolean),forcedJSONParsing:Oe.transitional(Oe.boolean),clarifyTimeoutError:Oe.transitional(Oe.boolean),legacyInterceptorReqResOrdering:Oe.transitional(Oe.boolean)},!1),i!=null&&(P.isFunction(i)?r.paramsSerializer={serialize:i}:cr.assertOptions(i,{encode:Oe.function,serialize:Oe.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),cr.assertOptions(r,{baseUrl:Oe.spelling("baseURL"),withXsrfToken:Oe.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=s&&P.merge(s.common,s[r.method]);s&&P.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),r.headers=Ee.concat(o,s);const a=[];let l=!0;this.interceptors.request.forEach(function(m){if(typeof m.runWhen=="function"&&m.runWhen(r)===!1)return;l=l&&m.synchronous;const b=r.transitional||Wr;b&&b.legacyInterceptorReqResOrdering?a.unshift(m.fulfilled,m.rejected):a.push(m.fulfilled,m.rejected)});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,h=0,d;if(!l){const g=[ki.bind(this),void 0];for(g.unshift(...a),g.push(...c),d=g.length,u=Promise.resolve(r);h{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](i);n._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{n.subscribe(a),s=a}).then(i);return o.cancel=function(){n.unsubscribe(s)},o},e(function(s,o,a){n.reason||(n.reason=new _t(s,o,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=n=>{e.abort(n)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new aa(function(i){e=i}),cancel:e}}};function tl(t){return function(r){return t.apply(null,r)}}function rl(t){return P.isObject(t)&&t.isAxiosError===!0}const Qr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Qr).forEach(([t,e])=>{Qr[e]=t});function Mi(t){const e=new it(t),r=ti(it.prototype.request,e);return P.extend(r,it.prototype,e,{allOwnKeys:!0}),P.extend(r,e,null,{allOwnKeys:!0}),r.create=function(i){return Mi(nt(t,i))},r}const Q=Mi(Ft);Q.Axios=it,Q.CanceledError=_t,Q.CancelToken=el,Q.isCancel=vi,Q.VERSION=Bi,Q.toFormData=sr,Q.AxiosError=U,Q.Cancel=Q.CanceledError,Q.all=function(e){return Promise.all(e)},Q.spread=tl,Q.isAxiosError=rl,Q.mergeConfig=nt,Q.AxiosHeaders=Ee,Q.formToJSON=t=>xi(P.isHTMLForm(t)?new FormData(t):t),Q.getAdapter=Ui.getAdapter,Q.HttpStatusCode=Qr,Q.default=Q;const{Axios:g0,AxiosError:m0,CanceledError:y0,isCancel:b0,CancelToken:w0,VERSION:x0,all:E0,Cancel:v0,isAxiosError:T0,spread:N0,toFormData:A0,AxiosHeaders:P0,HttpStatusCode:S0,formToJSON:I0,getAdapter:O0,mergeConfig:C0}=Q,fr=t=>encodeURIComponent(t).split("%2F").join("/"),nl=/^(\w+:\/\/[^/?]+)?(.*?)$/,il=t=>t.filter(e=>typeof e=="string"||typeof e=="number").map(e=>`${e}`).filter(e=>e),sl=t=>{const e=t.join("/"),[,r="",n=""]=e.match(nl)||[];return{prefix:r,pathname:{parts:n.split("/").filter(i=>i!==""),hasLeading:/^\/+/.test(n),hasTrailing:/\/+$/.test(n)}}},ol=(t,e)=>{const{prefix:r,pathname:n}=t,{parts:i,hasLeading:s,hasTrailing:o}=n,{leadingSlash:a,trailingSlash:l}=e,c=a===!0||a==="keep"&&s,u=l===!0||l==="keep"&&o;let h=r;return i.length>0&&((h||c)&&(h+="/"),h+=i.join("/")),u&&(h+="/"),!h&&c&&(h+="/"),h},B=(...t)=>{const e=t[t.length-1];let r;e&&typeof e=="object"&&(r=e,t=t.slice(0,-1)),r={leadingSlash:!0,trailingSlash:!1,...r},t=il(t);const n=sl(t);return ol(n,r)};class Vi extends Error{response;statusCode;constructor(e,r,n=null){super(e),this.response=r,this.statusCode=n}}class al extends Vi{errorCode;constructor(e,r,n,i=null){super(e,n,i),this.errorCode=r}}function ul(t,e=""){return`/public-files/${t}/${e}`.split("/").filter(Boolean).join("/")}function ll(t,e=""){return`/ocm/${t}/${e}`.split("/").filter(Boolean).join("/")}var en,Di;function cl(){if(Di)return en;Di=1;function t(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}function e(i,s){for(var o="",a=0,l=-1,c=0,u,h=0;h<=i.length;++h){if(h2){var d=o.lastIndexOf("/");if(d!==o.length-1){d===-1?(o="",a=0):(o=o.slice(0,d),a=o.length-1-o.lastIndexOf("/")),l=h,c=0;continue}}else if(o.length===2||o.length===1){o="",a=0,l=h,c=0;continue}}s&&(o.length>0?o+="/..":o="..",a=2)}else o.length>0?o+="/"+i.slice(l+1,h):o=i.slice(l+1,h),a=h-l-1;l=h,c=0}else u===46&&c!==-1?++c:c=-1}return o}function r(i,s){var o=s.dir||s.root,a=s.base||(s.name||"")+(s.ext||"");return o?o===s.root?o+a:o+i+a:a}var n={resolve:function(){for(var s="",o=!1,a,l=arguments.length-1;l>=-1&&!o;l--){var c;l>=0?c=arguments[l]:(a===void 0&&(a=tt.cwd()),c=a),t(c),c.length!==0&&(s=c+"/"+s,o=c.charCodeAt(0)===47)}return s=e(s,!o),o?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(t(s),s.length===0)return".";var o=s.charCodeAt(0)===47,a=s.charCodeAt(s.length-1)===47;return s=e(s,!o),s.length===0&&!o&&(s="."),s.length>0&&a&&(s+="/"),o?"/"+s:s},isAbsolute:function(s){return t(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,o=0;o0&&(s===void 0?s=a:s+="/"+a)}return s===void 0?".":n.normalize(s)},relative:function(s,o){if(t(s),t(o),s===o||(s=n.resolve(s),o=n.resolve(o),s===o))return"";for(var a=1;ay){if(o.charCodeAt(u+m)===47)return o.slice(u+m+1);if(m===0)return o.slice(u+m)}else c>y&&(s.charCodeAt(a+m)===47?g=m:m===0&&(g=0));break}var b=s.charCodeAt(a+m),T=o.charCodeAt(u+m);if(b!==T)break;b===47&&(g=m)}var E="";for(m=a+g+1;m<=l;++m)(m===l||s.charCodeAt(m)===47)&&(E.length===0?E+="..":E+="/..");return E.length>0?E+o.slice(u+g):(u+=g,o.charCodeAt(u)===47&&++u,o.slice(u))},_makeLong:function(s){return s},dirname:function(s){if(t(s),s.length===0)return".";for(var o=s.charCodeAt(0),a=o===47,l=-1,c=!0,u=s.length-1;u>=1;--u)if(o=s.charCodeAt(u),o===47){if(!c){l=u;break}}else c=!1;return l===-1?a?"/":".":a&&l===1?"//":s.slice(0,l)},basename:function(s,o){if(o!==void 0&&typeof o!="string")throw new TypeError('"ext" argument must be a string');t(s);var a=0,l=-1,c=!0,u;if(o!==void 0&&o.length>0&&o.length<=s.length){if(o.length===s.length&&o===s)return"";var h=o.length-1,d=-1;for(u=s.length-1;u>=0;--u){var y=s.charCodeAt(u);if(y===47){if(!c){a=u+1;break}}else d===-1&&(c=!1,d=u+1),h>=0&&(y===o.charCodeAt(h)?--h===-1&&(l=u):(h=-1,l=d))}return a===l?l=d:l===-1&&(l=s.length),s.slice(a,l)}else{for(u=s.length-1;u>=0;--u)if(s.charCodeAt(u)===47){if(!c){a=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":s.slice(a,l)}},extname:function(s){t(s);for(var o=-1,a=0,l=-1,c=!0,u=0,h=s.length-1;h>=0;--h){var d=s.charCodeAt(h);if(d===47){if(!c){a=h+1;break}continue}l===-1&&(c=!1,l=h+1),d===46?o===-1?o=h:u!==1&&(u=1):o!==-1&&(u=-1)}return o===-1||l===-1||u===0||u===1&&o===l-1&&o===a+1?"":s.slice(o,l)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return r("/",s)},parse:function(s){t(s);var o={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return o;var a=s.charCodeAt(0),l=a===47,c;l?(o.root="/",c=1):c=0;for(var u=-1,h=0,d=-1,y=!0,g=s.length-1,m=0;g>=c;--g){if(a=s.charCodeAt(g),a===47){if(!y){h=g+1;break}continue}d===-1&&(y=!1,d=g+1),a===46?u===-1?u=g:m!==1&&(m=1):u!==-1&&(m=-1)}return u===-1||d===-1||m===0||m===1&&u===d-1&&u===h+1?d!==-1&&(h===0&&l?o.base=o.name=s.slice(1,d):o.base=o.name=s.slice(h,d)):(h===0&&l?(o.name=s.slice(1,u),o.base=s.slice(1,d)):(o.name=s.slice(h,u),o.base=s.slice(h,d)),o.ext=s.slice(u,d)),h>0?o.dir=s.slice(0,h-1):l&&(o.dir="/"),o},sep:"/",delimiter:":",win32:null,posix:null};return n.posix=n,en=n,en}var Hi=cl(),zi=Kn(Hi);class _e{static Shared="S";static Shareable="R";static Mounted="M";static Deletable="D";static Renameable="N";static Moveable="V";static Updateable="NV";static FileUpdateable="W";static FolderCreateable="CK";static Deny="Z";static SecureView="X"}var De=(t=>(t.copy="COPY",t.delete="DELETE",t.lock="LOCK",t.mkcol="MKCOL",t.move="MOVE",t.propfind="PROPFIND",t.proppatch="PROPPATCH",t.put="PUT",t.report="REPORT",t.unlock="UNLOCK",t))(De||{});const hr=t=>({value:t,type:null}),fl=t=>hr(t),M=t=>hr(t),pr=t=>hr(t),hl=t=>hr(t),pl={Permissions:M("permissions"),IsFavorite:pr("favorite"),FileId:M("fileid"),FileParent:M("file-parent"),Name:M("name"),OwnerId:M("owner-id"),OwnerDisplayName:M("owner-display-name"),PrivateLink:M("privatelink"),ContentLength:pr("getcontentlength"),ContentSize:pr("size"),LastModifiedDate:M("getlastmodified"),Tags:fl("tags"),Audio:{value:"audio",type:null},Location:{value:"location",type:null},Image:{value:"image",type:null},Photo:{value:"photo",type:null},Immutable:M("immutable"),ETag:M("getetag"),MimeType:M("getcontenttype"),ResourceType:hl("resourcetype"),LockDiscovery:{value:"lockdiscovery",type:null},LockOwner:M("owner"),LockTime:M("locktime"),ActiveLock:{value:"activelock",type:null},DownloadURL:M("downloadURL"),Highlights:M("highlights"),MetaPathForUser:M("meta-path-for-user"),RemoteItemId:M("remote-item-id"),HasPreview:pr("has-preview"),ShareId:M("shareid"),ShareRoot:M("shareroot"),ShareTypes:{value:"share-types",type:null},SharePermissions:M("share-permissions"),TrashbinOriginalFilename:M("trashbin-original-filename"),TrashbinOriginalLocation:M("trashbin-original-location"),TrashbinDeletedDate:M("trashbin-delete-datetime"),PublicLinkItemType:M("public-link-item-type"),PublicLinkPermission:M("public-link-permission"),PublicLinkExpiration:M("public-link-expiration"),PublicLinkShareDate:M("public-link-share-datetime"),PublicLinkShareOwner:M("public-link-share-owner")},C=Object.fromEntries(Object.entries(pl).map(([t,e])=>[t,e.value]));class st{static Default=[C.Permissions,C.IsFavorite,C.FileId,C.FileParent,C.Name,C.LockDiscovery,C.ActiveLock,C.OwnerId,C.OwnerDisplayName,C.RemoteItemId,C.ShareRoot,C.ShareTypes,C.PrivateLink,C.ContentLength,C.ContentSize,C.LastModifiedDate,C.ETag,C.MimeType,C.ResourceType,C.Tags,C.Immutable,C.Audio,C.Location,C.Image,C.Photo,C.HasPreview];static PublicLink=st.Default.concat([C.PublicLinkItemType,C.PublicLinkPermission,C.PublicLinkExpiration,C.PublicLinkShareDate,C.PublicLinkShareOwner]);static Trashbin=[C.ContentLength,C.ResourceType,C.TrashbinOriginalLocation,C.TrashbinOriginalFilename,C.TrashbinDeletedDate,C.Permissions,C.FileParent];static DavNamespace=[C.ContentLength,C.LastModifiedDate,C.ETag,C.MimeType,C.ResourceType,C.LockDiscovery,C.ActiveLock]}var dl=typeof Fe=="object"&&Fe&&Fe.Object===Object&&Fe,gl=typeof self=="object"&&self&&self.Object===Object&&self,tn=dl||gl||Function("return this")(),yt=tn.Symbol,qi=Object.prototype,ml=qi.hasOwnProperty,yl=qi.toString,$t=yt?yt.toStringTag:void 0;function bl(t){var e=ml.call(t,$t),r=t[$t];try{t[$t]=void 0;var n=!0}catch{}var i=yl.call(t);return n&&(e?t[$t]=r:delete t[$t]),i}var wl=Object.prototype,xl=wl.toString;function El(t){return xl.call(t)}var vl="[object Null]",Tl="[object Undefined]",Wi=yt?yt.toStringTag:void 0;function Gi(t){return t==null?t===void 0?Tl:vl:Wi&&Wi in Object(t)?bl(t):El(t)}function Nl(t){return t!=null&&typeof t=="object"}var Al="[object Symbol]";function rn(t){return typeof t=="symbol"||Nl(t)&&Gi(t)==Al}function Pl(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r-1}function hc(t,e){var r=this.__data__,n=dr(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function bt(t){var e=-1,r=t==null?0:t.length;for(this.clear();++ei?0:i+e),r=r>i?i:r,r<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var s=Array(i);++n=n?t:Cc(t,e,r)}var Fc="\\ud800-\\udfff",Lc="\\u0300-\\u036f",_c="\\ufe20-\\ufe2f",$c="\\u20d0-\\u20ff",Uc=Lc+_c+$c,kc="\\ufe0e\\ufe0f",Bc="\\u200d",jc=RegExp("["+Bc+Fc+Uc+kc+"]");function es(t){return jc.test(t)}function Mc(t){return t.split("")}var ts="\\ud800-\\udfff",Vc="\\u0300-\\u036f",Dc="\\ufe20-\\ufe2f",Hc="\\u20d0-\\u20ff",zc=Vc+Dc+Hc,qc="\\ufe0e\\ufe0f",Wc="["+ts+"]",an="["+zc+"]",un="\\ud83c[\\udffb-\\udfff]",Gc="(?:"+an+"|"+un+")",rs="[^"+ts+"]",ns="(?:\\ud83c[\\udde6-\\uddff]){2}",is="[\\ud800-\\udbff][\\udc00-\\udfff]",Kc="\\u200d",ss=Gc+"?",os="["+qc+"]?",Jc="(?:"+Kc+"(?:"+[rs,ns,is].join("|")+")"+os+ss+")*",Yc=os+ss+Jc,Xc="(?:"+[rs+an+"?",an,ns,is,Wc].join("|")+")",Zc=RegExp(un+"(?="+un+")|"+Xc+Yc,"g");function Qc(t){return t.match(Zc)||[]}function ef(t){return es(t)?Qc(t):Mc(t)}function tf(t){return function(e){e=kt(e);var r=es(e)?ef(e):void 0,n=r?r[0]:e.charAt(0),i=r?Rc(r,1).join(""):e.slice(1);return n[t]()+i}}var rf=tf("toUpperCase");function nf(t){return rf(kt(t).toLowerCase())}function sf(t,e,r,n){for(var i=-1,s=t==null?0:t.length;++it.replace(/[^A-Za-z0-9\-_]/g,""),Ns=(t,e)=>!t||typeof t!="string"?"":t.indexOf("!")>=0?t.split("!")[e]:"",Yf=t=>Ns(t,0),As=t=>Ns(t,1),Ps=t=>{const r=t.name.split(".");if(r.length>2)for(let n=0;n{if(!t)return t;const e={};return Object.keys(t).forEach(r=>{e[Kf(r)]=t[r]}),e};function xt(t,e=[]){const r=t.props[C.Name]?.toString()||Hi.basename(t.filename),n=t.props[C.FileId],i=t.type==="directory";let s;t.filename.startsWith("/files")||t.filename.startsWith("/space")?s=t.filename.split("/").slice(3).join("/"):s=t.filename,s.startsWith("/")||(s=`/${s}`);const o=Ps({...t,name:r}),a=t.props[C.LockDiscovery];let l,c,u;a&&(l=a[C.ActiveLock],c=l[C.LockOwner],u=l[C.LockTime]);let h=[];t.props[C.ShareTypes]&&(h=t.props[C.ShareTypes]["share-type"],Array.isArray(h)||(h=[h]));const d={};for(const g of e||[]){const m=g.split(":").pop();t.props[m]&&(d[g]=t.props[m])}const y={id:n,fileId:n,storageId:Yf(n),parentFolderId:t.props[C.FileParent],mimeType:t.props[C.MimeType],name:r,extension:o,path:s,webDavPath:t.filename,type:i?"folder":t.type,isFolder:i,locked:!!l,lockOwner:c,lockTime:u,immutableState:t.props[C.Immutable]||void 0,processing:t.processing||!1,mdate:t.props[C.LastModifiedDate],size:i?t.props[C.ContentSize]?.toString()||"0":t.props[C.ContentLength]?.toString()||"0",permissions:t.props[C.Permissions]||"",starred:t.props[C.IsFavorite]!==0,etag:t.props[C.ETag],shareTypes:h,privateLink:t.props[C.PrivateLink],downloadURL:t.props[C.DownloadURL],remoteItemId:t.props[C.RemoteItemId],remoteItemPath:t.props[C.ShareRoot],owner:{id:t.props[C.OwnerId],displayName:t.props[C.OwnerDisplayName]},tags:(t.props[C.Tags]||"").toString().split(",").filter(Boolean),audio:mr(t.props[C.Audio]),location:mr(t.props[C.Location]),image:mr(t.props[C.Image]),photo:mr(t.props[C.Photo]),extraProps:d,hasPreview:()=>t.props[C.HasPreview]===1,canUpload:function(){return this.permissions.indexOf(_e.FolderCreateable)>=0},canDownload:function(){return this.permissions.indexOf(_e.SecureView)===-1},canBeDeleted:function(){return this.permissions.indexOf(_e.Deletable)>=0},canRename:function(){return this.permissions.indexOf(_e.Renameable)>=0},canShare:function({ability:g}){return g.can("create-all","Share")&&this.permissions.indexOf(_e.Shareable)>=0},canCreate:function(){return this.permissions.indexOf(_e.FolderCreateable)>=0},canEditTags:function(){return this.permissions.indexOf(_e.Updateable)>=0||this.permissions.indexOf(_e.FileUpdateable)>=0||this.permissions.indexOf(_e.FolderCreateable)>=0},isMounted:function(){return this.permissions.indexOf(_e.Mounted)>=0},isReceivedShare:function(){return this.permissions.indexOf(_e.Shared)>=0},isShareRoot(){return t.props[C.ShareRoot]?t.filename.split("/").length===3:!1},getDomSelector:()=>ln(n)};return Object.defineProperty(y,"nodeId",{get(){return As(this.id)}}),y}function Xf(t){const e=t.type==="directory",r=t.props[C.TrashbinOriginalFilename]?.toString(),n=Ps({name:r,type:t.type}),i=zi.basename(t.filename);return{type:e?"folder":t.type,isFolder:e,ddate:t.props[C.TrashbinDeletedDate],name:zi.basename(r),extension:n,path:B(t.props[C.TrashbinOriginalLocation],{leadingSlash:!0}),id:i,parentFolderId:t.props[C.FileParent],webDavPath:"",canUpload:()=>!1,canDownload:()=>!1,canBeDeleted:()=>!0,canBeRestored:function(){return!0},canRename:()=>!1,canShare:()=>!1,canCreate:()=>!1,isMounted:()=>!1,isReceivedShare:()=>!1,hasPreview:()=>!1,isShareRoot:()=>!1,getDomSelector:()=>ln(i)}}var Ae=(t=>(t.createUpload="libre.graph/driveItem/upload/create",t.createPermissions="libre.graph/driveItem/permissions/create",t.createChildren="libre.graph/driveItem/children/create",t.readBasic="libre.graph/driveItem/basic/read",t.readPath="libre.graph/driveItem/path/read",t.readQuota="libre.graph/driveItem/quota/read",t.readContent="libre.graph/driveItem/content/read",t.readChildren="libre.graph/driveItem/children/read",t.readDeleted="libre.graph/driveItem/deleted/read",t.readPermissions="libre.graph/driveItem/permissions/read",t.readVersions="libre.graph/driveItem/versions/read",t.updatePath="libre.graph/driveItem/path/update",t.updateDeleted="libre.graph/driveItem/deleted/update",t.updatePermissions="libre.graph/driveItem/permissions/update",t.updateVersions="libre.graph/driveItem/versions/update",t.deleteStandard="libre.graph/driveItem/standard/delete",t.deleteDeleted="libre.graph/driveItem/deleted/delete",t.deletePermissions="libre.graph/driveItem/permissions/delete",t))(Ae||{});const cn=t=>t?.driveType==="personal",fn=t=>t?.driveType==="public";function Zf(t,e){return B("spaces",t,e,{leadingSlash:!0})}function hn(t,e=""){return B("spaces","trash-bin",t,e,{leadingSlash:!0})}function Qf(t){const e=t.publicLinkPassword,r=t.props?.[C.FileId],n=t.props?.[C.PublicLinkItemType],i=t.props?.[C.PublicLinkPermission],s=t.props?.[C.PublicLinkExpiration],o=t.props?.[C.PublicLinkShareDate],a=t.props?.[C.PublicLinkShareOwner],l=t.publicLinkType;let c,u;return l==="ocm"?(c=`ocm/${t.id}`,u=ll(t.id)):(c=`public/${t.id}`,u=ul(t.id)),Object.assign(eh({...t,driveType:"public",driveAlias:c,webDavPath:u}),{...r&&{fileId:r},...e&&{publicLinkPassword:e},...n&&{publicLinkItemType:n},...i&&{publicLinkPermission:parseInt(i)},...s&&{publicLinkExpiration:s},...o&&{publicLinkShareDate:o},...a&&{publicLinkShareOwner:a},publicLinkType:l})}function eh(t){let e,r;t.special&&(e=t.special.find(c=>c.specialFolder.name==="image"),r=t.special.find(c=>c.specialFolder.name==="readme"),e&&(e.webDavUrl=decodeURI(e.webDavUrl)),r&&(r.webDavUrl=decodeURI(r.webDavUrl)));const n=t.root?.deleted?.state==="trashed",i=B(t.webDavPath||Zf(t.id),{leadingSlash:!0}),s=B(t.serverUrl,"remote.php/dav",i),o=B(t.webDavTrashPath||hn(t.id),{leadingSlash:!0}),a=B(t.serverUrl,"remote.php/dav",o),l={id:t.id,fileId:t.id,storageId:t.id,mimeType:"",name:t.name,description:t.description,extension:"",path:"/",webDavPath:i,webDavTrashPath:o,driveAlias:t.driveAlias,driveType:t.driveType,type:"space",isFolder:!0,mdate:t.lastModifiedDateTime,size:t.quota?.used||0,tags:[],permissions:"",starred:!1,etag:"",shareTypes:[],privateLink:t.webUrl,downloadURL:"",owner:t.owner?.user,disabled:n,root:t.root,spaceQuota:t.quota,spaceImageData:e,spaceReadmeData:r,hasTrashedItems:t["@libre.graph.hasTrashedItems"]||!1,graphPermissions:void 0,canUpload:function({user:c}={}){return cn(this)&&this.isOwner(c)?!0:this.graphPermissions?.includes(Ae.createUpload)},canDownload:function(){return!0},canBeDeleted:function({ability:c}={}){return this.disabled?c?.can("delete-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions):!1},canRename:function({ability:c}={}){return c?.can("update-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions)},canEditDescription:function({ability:c}={}){return c?.can("update-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions)},canRestore:function({ability:c}={}){return this.disabled?c?.can("update-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions):!1},canDisable:function({ability:c}={}){return this.disabled?!1:c?.can("delete-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions)},canShare:function(){return this.graphPermissions?.includes(Ae.createPermissions)},canEditImage:function(){return this.disabled?!1:this.graphPermissions?.includes(Ae.deletePermissions)},canEditReadme:function(){return this.disabled?!1:this.graphPermissions?.includes(Ae.deletePermissions)},canRestoreFromTrashbin:function(){return this.graphPermissions?.includes(Ae.updateDeleted)},canDeleteFromTrashBin:function({user:c}={}){return cn(this)&&this.isOwner(c)?!0:this.graphPermissions?.includes(Ae.deletePermissions)},canListVersions:function({user:c}={}){return cn(this)&&this.isOwner(c)?!0:this.graphPermissions?.includes(Ae.readVersions)},canCreate:function(){return!0},canEditTags:function(){return!1},isMounted:function(){return!0},isReceivedShare:function(){return!1},isShareRoot:function(){return["share","mountpoint","public"].includes(t.driveType)},getDomSelector:()=>ln(t.id),getDriveAliasAndItem({path:c}){return B(this.driveAlias,c,{leadingSlash:!1})},getWebDavUrl({path:c}){return B(s,c)},getWebDavTrashUrl({path:c}){return B(a,c)},isOwner(c){return c?.id===this.owner?.id}};return Object.defineProperty(l,"nodeId",{get(){return As(this.id)}}),l}const th=(t,e)=>{const r=new URL(t);r.pathname=[...r.pathname.split("/"),"cloud","capabilities"].filter(Boolean).join("/"),r.searchParams.append("format","json");const n=r.href;return{async getCapabilities(){const i=await e.get(n);return Oc(i,"data.ocs.data",{capabilities:null,version:null})}}};function rh(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Bt(t,e=""){if(!Number.isSafeInteger(t)||t<0){const r=e&&`"${e}" `;throw new Error(`${r}expected integer >= 0, got ${t}`)}}function jt(t,e,r=""){const n=rh(t),i=t?.length,s=e!==void 0;if(!n||s&&i!==e){const o=r&&`"${r}" `,a=s?` of length ${e}`:"",l=n?`length=${i}`:`type=${typeof t}`;throw new Error(o+"expected Uint8Array"+a+", got "+l)}return t}function Ss(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash must wrapped by utils.createHasher");Bt(t.outputLen),Bt(t.blockLen)}function yr(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function nh(t,e){jt(t,void 0,"digestInto() output");const r=e.outputLen;if(t.length='+r)}function Mt(...t){for(let e=0;et(s).update(i).digest(),n=t(void 0);return r.outputLen=n.outputLen,r.blockLen=n.blockLen,r.create=i=>t(i),Object.assign(r,e),Object.freeze(r)}const ah=t=>({oid:Uint8Array.from([6,9,96,134,72,1,101,3,4,2,t])});class Os{oHash;iHash;blockLen;outputLen;finished=!1;destroyed=!1;constructor(e,r){if(Ss(e),jt(r,void 0,"key"),this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const n=this.blockLen,i=new Uint8Array(n);i.set(r.length>n?e.create().update(r).digest():r);for(let s=0;snew Os(t,e).update(r).digest();Cs.create=(t,e)=>new Os(t,e);function uh(t,e,r,n){Ss(t);const i=sh({dkLen:32,asyncTick:10},n),{c:s,dkLen:o,asyncTick:a}=i;if(Bt(s,"c"),Bt(o,"dkLen"),Bt(a,"asyncTick"),s<1)throw new Error("iterations (c) must be >= 1");const l=Is(e,"password"),c=Is(r,"salt"),u=new Uint8Array(o),h=Cs.create(t,l),d=h._cloneInto().update(c);return{c:s,dkLen:o,asyncTick:a,DK:u,PRF:h,PRFSalt:d}}function lh(t,e,r,n,i){return t.destroy(),e.destroy(),n&&n.destroy(),Mt(i),r}function ch(t,e,r,n){const{c:i,dkLen:s,DK:o,PRF:a,PRFSalt:l}=uh(t,e,r,n);let c;const u=new Uint8Array(4),h=br(u),d=new Uint8Array(a.outputLen);for(let y=1,g=0;gi-o&&(this.process(n,0),o=0);for(let h=o;hu.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h>Rs&wr)}:{h:Number(t>>Rs&wr)|0,l:Number(t&wr)|0}}function ph(t,e=!1){const r=t.length;let n=new Uint32Array(r),i=new Uint32Array(r);for(let s=0;st>>>r,Ls=(t,e,r)=>t<<32-r|e>>>r,Et=(t,e,r)=>t>>>r|e<<32-r,vt=(t,e,r)=>t<<32-r|e>>>r,xr=(t,e,r)=>t<<64-r|e>>>r-32,Er=(t,e,r)=>t>>>r-32|e<<64-r;function He(t,e,r,n){const i=(e>>>0)+(n>>>0);return{h:t+r+(i/2**32|0)|0,l:i|0}}const dh=(t,e,r)=>(t>>>0)+(e>>>0)+(r>>>0),gh=(t,e,r,n)=>e+r+n+(t/2**32|0)|0,mh=(t,e,r,n)=>(t>>>0)+(e>>>0)+(r>>>0)+(n>>>0),yh=(t,e,r,n,i)=>e+r+n+i+(t/2**32|0)|0,bh=(t,e,r,n,i)=>(t>>>0)+(e>>>0)+(r>>>0)+(n>>>0)+(i>>>0),wh=(t,e,r,n,i,s)=>e+r+n+i+s+(t/2**32|0)|0,_s=ph(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),xh=_s[0],Eh=_s[1],We=new Uint32Array(80),Ge=new Uint32Array(80);class vh extends fh{constructor(e){super(128,e,16,!1)}get(){const{Ah:e,Al:r,Bh:n,Bl:i,Ch:s,Cl:o,Dh:a,Dl:l,Eh:c,El:u,Fh:h,Fl:d,Gh:y,Gl:g,Hh:m,Hl:b}=this;return[e,r,n,i,s,o,a,l,c,u,h,d,y,g,m,b]}set(e,r,n,i,s,o,a,l,c,u,h,d,y,g,m,b){this.Ah=e|0,this.Al=r|0,this.Bh=n|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=l|0,this.Eh=c|0,this.El=u|0,this.Fh=h|0,this.Fl=d|0,this.Gh=y|0,this.Gl=g|0,this.Hh=m|0,this.Hl=b|0}process(e,r){for(let v=0;v<16;v++,r+=4)We[v]=e.getUint32(r),Ge[v]=e.getUint32(r+=4);for(let v=16;v<80;v++){const A=We[v-15]|0,I=Ge[v-15]|0,F=Et(A,I,1)^Et(A,I,8)^Fs(A,I,7),L=vt(A,I,1)^vt(A,I,8)^Ls(A,I,7),$=We[v-2]|0,_=Ge[v-2]|0,j=Et($,_,19)^xr($,_,61)^Fs($,_,6),de=vt($,_,19)^Er($,_,61)^Ls($,_,6),oe=mh(L,de,Ge[v-7],Ge[v-16]),R=yh(oe,F,j,We[v-7],We[v-16]);We[v]=R|0,Ge[v]=oe|0}let{Ah:n,Al:i,Bh:s,Bl:o,Ch:a,Cl:l,Dh:c,Dl:u,Eh:h,El:d,Fh:y,Fl:g,Gh:m,Gl:b,Hh:T,Hl:E}=this;for(let v=0;v<80;v++){const A=Et(h,d,14)^Et(h,d,18)^xr(h,d,41),I=vt(h,d,14)^vt(h,d,18)^Er(h,d,41),F=h&y^~h&m,L=d&g^~d&b,$=bh(E,I,L,Eh[v],Ge[v]),_=wh($,T,A,F,xh[v],We[v]),j=$|0,de=Et(n,i,28)^xr(n,i,34)^xr(n,i,39),oe=vt(n,i,28)^Er(n,i,34)^Er(n,i,39),R=n&s^n&a^s&a,le=i&o^i&l^o&l;T=m|0,E=b|0,m=y|0,b=g|0,y=h|0,g=d|0,{h,l:d}=He(c|0,u|0,_|0,j|0),c=a|0,u=l|0,a=s|0,l=o|0,s=n|0,o=i|0;const Se=dh(j,oe,le);n=gh(Se,_,de,R),i=Se|0}({h:n,l:i}=He(this.Ah|0,this.Al|0,n|0,i|0)),{h:s,l:o}=He(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l}=He(this.Ch|0,this.Cl|0,a|0,l|0),{h:c,l:u}=He(this.Dh|0,this.Dl|0,c|0,u|0),{h,l:d}=He(this.Eh|0,this.El|0,h|0,d|0),{h:y,l:g}=He(this.Fh|0,this.Fl|0,y|0,g|0),{h:m,l:b}=He(this.Gh|0,this.Gl|0,m|0,b|0),{h:T,l:E}=He(this.Hh|0,this.Hl|0,T|0,E|0),this.set(n,i,s,o,a,l,c,u,h,d,y,g,m,b,T,E)}roundClean(){Mt(We,Ge)}destroy(){Mt(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class Th extends vh{Ah=he[0]|0;Al=he[1]|0;Bh=he[2]|0;Bl=he[3]|0;Ch=he[4]|0;Cl=he[5]|0;Dh=he[6]|0;Dl=he[7]|0;Eh=he[8]|0;El=he[9]|0;Fh=he[10]|0;Fl=he[11]|0;Gh=he[12]|0;Gl=he[13]|0;Hh=he[14]|0;Hl=he[15]|0;constructor(){super(64)}}const Nh=oh(()=>new Th,ah(3)),Ah=(t,e,r,n)=>di.from(ch(Nh,t,e,{c:r,dkLen:n})),$s=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ph=$s+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Sh="["+$s+"]["+Ph+"]*",Ih=new RegExp("^"+Sh+"$");function Us(t,e){const r=[];let n=e.exec(t);for(;n;){const i=[];i.startIndex=e.lastIndex-n[0].length;const s=n.length;for(let o=0;o"u")};function Oh(t){return typeof t<"u"}const pn=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],ks=["__proto__","constructor","prototype"],Ch={allowBooleanAttributes:!1,unpairedTags:[]};function Rh(t,e){e=Object.assign({},Ch,e);const r=[];let n=!1,i=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let s=0;s"&&t[s]!==" "&&t[s]!==" "&&t[s]!==` +`&&t[s]!=="\r";s++)l+=t[s];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),s--),!jh(l)){let h;return l.trim().length===0?h="Invalid space after '<'.":h="Tag '"+l+"' is an invalid name.",ee("InvalidTag",h,ge(t,s))}const c=_h(t,s);if(c===!1)return ee("InvalidAttr","Attributes for '"+l+"' have open quote.",ge(t,s));let u=c.value;if(s=c.index,u[u.length-1]==="/"){const h=s-u.length;u=u.substring(0,u.length-1);const d=Vs(u,e);if(d===!0)n=!0;else return ee(d.err.code,d.err.msg,ge(t,h+d.err.line))}else if(a)if(c.tagClosed){if(u.trim().length>0)return ee("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",ge(t,o));if(r.length===0)return ee("InvalidTag","Closing tag '"+l+"' has not been opened.",ge(t,o));{const h=r.pop();if(l!==h.tagName){let d=ge(t,h.tagStartPos);return ee("InvalidTag","Expected closing tag '"+h.tagName+"' (opened in line "+d.line+", col "+d.col+") instead of closing tag '"+l+"'.",ge(t,o))}r.length==0&&(i=!0)}}else return ee("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",ge(t,s));else{const h=Vs(u,e);if(h!==!0)return ee(h.err.code,h.err.msg,ge(t,s-u.length+h.err.line));if(i===!0)return ee("InvalidXml","Multiple possible root nodes found.",ge(t,s));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:o}),n=!0}for(s++;s0)return ee("InvalidXml","Invalid '"+JSON.stringify(r.map(s=>s.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return ee("InvalidXml","Start tag expected.",1);return!0}function Bs(t){return t===" "||t===" "||t===` +`||t==="\r"}function js(t,e){const r=e;for(;e5&&n==="xml")return ee("InvalidXml","XML declaration allowed only at the start of the document.",ge(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}function Ms(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e"){e+=2;break}}return e}const Fh='"',Lh="'";function _h(t,e){let r="",n="",i=!1;for(;e"&&n===""){i=!0;break}r+=t[e]}return n!==""?!1:{value:r,index:e,tagClosed:i}}const $h=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Vs(t,e){const r=Us(t,$h),n={};for(let i=0;ipn.includes(t)?"__"+t:t,Mh={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,r){return t},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Ds};function Vh(t,e){if(typeof t!="string")return;const r=t.toLowerCase();if(pn.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(ks.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}function Hs(t){return typeof t=="boolean"?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,maxEntityCount:100,allowedTags:null,tagFilter:null}:typeof t=="object"&&t!==null?{enabled:t.enabled!==!1,maxEntitySize:t.maxEntitySize??1e4,maxExpansionDepth:t.maxExpansionDepth??10,maxTotalExpansions:t.maxTotalExpansions??1e3,maxExpandedLength:t.maxExpandedLength??1e5,maxEntityCount:t.maxEntityCount??100,allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null}:Hs(!0)}const Dh=function(t){const e=Object.assign({},Mh,t),r=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(const{value:n,name:i}of r)n&&Vh(n,i);return e.onDangerousProperty===null&&(e.onDangerousProperty=Ds),e.processEntities=Hs(e.processEntities),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(n=>typeof n=="string"&&n.startsWith("*.")?".."+n.substring(2):n)),e};let Tr;typeof Symbol!="function"?Tr="@@xmlMetadata":Tr=Symbol("XML Node Metadata");class Ke{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,r){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:r})}addChild(e,r){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),r!==void 0&&(this.child[this.child.length-1][Tr]={startIndex:r})}static getMetaDataSymbol(){return Tr}}class Hh{constructor(e){this.suppressValidationErr=!e,this.options=e}readDocType(e,r){const n=Object.create(null);let i=0;if(e[r+3]==="O"&&e[r+4]==="C"&&e[r+5]==="T"&&e[r+6]==="Y"&&e[r+7]==="P"&&e[r+8]==="E"){r=r+9;let s=1,o=!1,a=!1,l="";for(;r=this.options.maxEntityCount)throw new Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);const h=c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");n[c]={regx:RegExp(`&${h};`,"g"),val:u},i++}}else if(o&&ut(e,"!ELEMENT",r)){r+=8;const{index:c}=this.readElementExp(e,r+1);r=c}else if(o&&ut(e,"!ATTLIST",r))r+=8;else if(o&&ut(e,"!NOTATION",r)){r+=9;const{index:c}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=c}else if(ut(e,"!--",r))a=!0;else throw new Error("Invalid DOCTYPE");s++,l=""}else if(e[r]===">"){if(a?e[r-1]==="-"&&e[r-2]==="-"&&(a=!1,s--):s--,s===0)break}else e[r]==="["?o=!0:l+=e[r];if(s!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:n,i:r}}readEntityExp(e,r){r=ve(e,r);let n="";for(;rthis.options.maxEntitySize)throw new Error(`Entity "${n}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[n,i,r]}readNotationExp(e,r){r=ve(e,r);let n="";for(;r{for(;e1||s.length===1&&!a))return t;{const l=Number(r),c=String(l);if(l===0)return l;if(c.search(/[eE]/)!==-1)return e.eNotation?l:t;if(r.indexOf(".")!==-1)return c==="0"||c===o||c===`${i}${o}`?l:t;let u=s?o:r;return s?u===c||i+u===c?l:t:u===c||u===i+c?l:t}}else return t}}else return Zh(t,Number(r),e)}const Kh=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Jh(t,e,r){if(!r.eNotation)return t;const n=e.match(Kh);if(n){let i=n[1]||"";const s=n[3].indexOf("e")===-1?"E":"e",o=n[2],a=i?t[o.length+1]===s:t[o.length]===s;return o.length>1&&a?t:o.length===1&&(n[3].startsWith(`.${s}`)||n[3][0]===s)?Number(e):r.leadingZeros&&!a?(e=(n[1]||"")+n[3],Number(e)):t}else return t}function Yh(t){return t&&t.indexOf(".")!==-1&&(t=t.replace(/0+$/,""),t==="."?t="0":t[0]==="."?t="0"+t:t[t.length-1]==="."&&(t=t.substring(0,t.length-1))),t}function Xh(t,e){if(parseInt)return parseInt(t,e);if(Number.parseInt)return Number.parseInt(t,e);if(window&&window.parseInt)return window.parseInt(t,e);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}function Zh(t,e,r){const n=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return n?"Infinity":"-Infinity";default:return t}}function Qh(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(const r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}class Tt{constructor(e,r={}){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this._hasDeepWildcard=this.segments.some(n=>n.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(n=>n.attrName!==void 0),this._hasPositionSelector=this.segments.some(n=>n.position!==void 0)}_parse(e){const r=[];let n=0,i="";for(;n0){const u=this.path[this.path.length-1];u.values=void 0}const i=this.path.length;this.siblingStacks[i]||(this.siblingStacks[i]=new Map);const s=this.siblingStacks[i],o=n?`${n}:${e}`:e,a=s.get(o)||0;let l=0;for(const u of s.values())l+=u;s.set(o,a+1);const c={tag:e,position:l,counter:a};n!=null&&(c.namespace=n),r!=null&&(c.values=r),this.path.push(c)}pop(){if(this.path.length===0)return;const e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){const r=this.path[this.path.length-1];e!=null&&(r.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){return this.path.length===0?void 0:this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;const r=this.path[this.path.length-1];return r.values!==void 0&&e in r.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,r=!0){const n=e||this.separator;return this.path.map(i=>r&&i.namespace?`${i.namespace}:${i.tag}`:i.tag).join(n)}toArray(){return this.path.map(e=>e.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(e){const r=e.segments;return r.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(r):this._matchSimple(r)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let r=0;r=0&&r>=0;){const i=e[n];if(i.type==="deep-wildcard"){if(n--,n<0)return!0;const s=e[n];let o=!1;for(let a=r;a>=0;a--){const l=a===this.path.length-1;if(this._matchSegment(s,this.path[a],l)){r=a-1,n--,o=!0;break}}if(!o)return!1}else{const s=r===this.path.length-1;if(!this._matchSegment(i,this.path[r],s))return!1;r--,n--}}return n<0}_matchSegment(e,r,n){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace)return!1;if(e.attrName!==void 0){if(!n||!r.values||!(e.attrName in r.values))return!1;if(e.attrValue!==void 0){const i=r.values[e.attrName];if(String(i)!==String(e.attrValue))return!1}}if(e.position!==void 0){if(!n)return!1;const i=r.counter??0;if(e.position==="first"&&i!==0)return!1;if(e.position==="odd"&&i%2!==1)return!1;if(e.position==="even"&&i%2!==0)return!1;if(e.position==="nth"&&i!==e.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>new Map(e))}}restore(e){this.path=e.path.map(r=>({...r})),this.siblingStacks=e.siblingStacks.map(r=>new Map(r))}}function ep(t,e){if(!t)return{};const r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};const n={};for(const i in r)if(i.startsWith(e.attributeNamePrefix)){const s=i.substring(e.attributeNamePrefix.length);n[s]=r[i]}else n[i]=r[i];return n}function tp(t){if(!t||typeof t!="string")return;const e=t.indexOf(":");if(e!==-1&&e>0){const r=t.substring(0,e);if(r!=="xmlns")return r}}class rp{constructor(e){if(this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(r,n)=>zs(n,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(r,n)=>zs(n,16,"&#x")}},this.addExternalEntities=np,this.parseXml=up,this.parseTextData=ip,this.resolveNameSpace=sp,this.buildAttributesMap=ap,this.isItStopNode=hp,this.replaceEntitiesValue=cp,this.readStopNodeData=dp,this.saveTextToParentTag=fp,this.addChild=lp,this.ignoreAttributesFn=Qh(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new dn,this.isCurrentNodeStopNode=!1,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodeExpressions=[];for(let r=0;r0)){o||(t=this.replaceEntitiesValue(t,e,r));const a=this.options.jPath?r.toString():r,l=this.options.tagValueProcessor(e,t,a,i,s);return l==null?t:typeof l!=typeof t||l!==t?l:this.options.trimValues?mn(t,this.options.parseTagValue,this.options.numberParseOptions):t.trim()===t?mn(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function sp(t){if(this.options.removeNSPrefix){const e=t.split(":"),r=t.charAt(0)==="/"?"/":"";if(e[0]==="xmlns")return"";e.length===2&&(t=r+e[1])}return t}const op=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function ap(t,e,r){if(this.options.ignoreAttributes!==!0&&typeof t=="string"){const n=Us(t,op),i=n.length,s={},o={};for(let a=0;a0&&typeof e=="object"&&e.updateCurrent&&e.updateCurrent(o);for(let a=0;a",s,"Closing Tag is not closed.");let l=t.substring(s+2,a).trim();if(this.options.removeNSPrefix){const u=l.indexOf(":");u!==-1&&(l=l.substr(u+1))}l=yn(this.options.transformTagName,l,"",this.options).tagName,r&&(n=this.saveTextToParentTag(n,r,this.matcher));const c=this.matcher.getCurrentTag();if(l&&this.options.unpairedTags.indexOf(l)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);c&&this.options.unpairedTags.indexOf(c)!==-1&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",s=a}else if(t[s+1]==="?"){let a=gn(t,s,!1,"?>");if(!a)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,r,this.matcher),!(this.options.ignoreDeclaration&&a.tagName==="?xml"||this.options.ignorePiTags)){const l=new Ke(a.tagName);l.add(this.options.textNodeName,""),a.tagName!==a.tagExp&&a.attrExpPresent&&(l[":@"]=this.buildAttributesMap(a.tagExp,this.matcher,a.tagName)),this.addChild(r,l,this.matcher,s)}s=a.closeIndex+1}else if(t.substr(s+1,3)==="!--"){const a=lt(t,"-->",s+4,"Comment is not closed.");if(this.options.commentPropName){const l=t.substring(s+4,a-2);n=this.saveTextToParentTag(n,r,this.matcher),r.add(this.options.commentPropName,[{[this.options.textNodeName]:l}])}s=a}else if(t.substr(s+1,2)==="!D"){const a=i.readDocType(t,s);this.docTypeEntities=a.entities,s=a.i}else if(t.substr(s+1,2)==="!["){const a=lt(t,"]]>",s,"CDATA is not closed.")-2,l=t.substring(s+9,a);n=this.saveTextToParentTag(n,r,this.matcher);let c=this.parseTextData(l,r.tagname,this.matcher,!0,!1,!0,!0);c==null&&(c=""),this.options.cdataPropName?r.add(this.options.cdataPropName,[{[this.options.textNodeName]:l}]):r.add(this.options.textNodeName,c),s=a+2}else{let a=gn(t,s,this.options.removeNSPrefix);if(!a){const E=t.substring(Math.max(0,s-50),Math.min(t.length,s+50));throw new Error(`readTagExp returned undefined at position ${s}. Context: "${E}"`)}let l=a.tagName;const c=a.rawTagName;let u=a.tagExp,h=a.attrExpPresent,d=a.closeIndex;if({tagName:l,tagExp:u}=yn(this.options.transformTagName,l,u,this.options),this.options.strictReservedNames&&(l===this.options.commentPropName||l===this.options.cdataPropName))throw new Error(`Invalid tag name: ${l}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.matcher,!1));const y=r;y&&this.options.unpairedTags.indexOf(y.tagname)!==-1&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let g=!1;u.length>0&&u.lastIndexOf("/")===u.length-1&&(g=!0,l[l.length-1]==="/"?(l=l.substr(0,l.length-1),u=l):u=u.substr(0,u.length-1),h=l!==u);let m=null,b;b=tp(c),l!==e.tagname&&this.matcher.push(l,{},b),l!==u&&h&&(m=this.buildAttributesMap(u,this.matcher,l),m&&ep(m,this.options)),l!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));const T=s;if(this.isCurrentNodeStopNode){let E="";if(g)s=a.closeIndex;else if(this.options.unpairedTags.indexOf(l)!==-1)s=a.closeIndex;else{const A=this.readStopNodeData(t,c,d+1);if(!A)throw new Error(`Unexpected end of ${c}`);s=A.i,E=A.tagContent}const v=new Ke(l);m&&(v[":@"]=m),v.add(this.options.textNodeName,E),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,v,this.matcher,T)}else{if(g){({tagName:l,tagExp:u}=yn(this.options.transformTagName,l,u,this.options));const E=new Ke(l);m&&(E[":@"]=m),this.addChild(r,E,this.matcher,T),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(this.options.unpairedTags.indexOf(l)!==-1){const E=new Ke(l);m&&(E[":@"]=m),this.addChild(r,E,this.matcher,T),this.matcher.pop(),this.isCurrentNodeStopNode=!1,s=a.closeIndex;continue}else{const E=new Ke(l);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),m&&(E[":@"]=m),this.addChild(r,E,this.matcher,T),r=E}n="",s=d}}else n+=t[s];return e.child};function lp(t,e,r,n){this.options.captureMetaData||(n=void 0);const i=this.options.jPath?r.toString():r,s=this.options.updateTag(e.tagname,i,e[":@"]);s===!1||(typeof s=="string"&&(e.tagname=s),t.addChild(e,n))}function cp(t,e,r){const n=this.options.processEntities;if(!n||!n.enabled)return t;if(n.allowedTags){const i=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(e):n.allowedTags(e,i)))return t}if(n.tagFilter){const i=this.options.jPath?r.toString():r;if(!n.tagFilter(e,i))return t}for(const i of Object.keys(this.docTypeEntities)){const s=this.docTypeEntities[i],o=t.match(s.regx);if(o){if(this.entityExpansionCount+=o.length,n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions)throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`);const a=t.length;if(t=t.replace(s.regx,s.val),n.maxExpandedLength&&(this.currentExpandedLength+=t.length-a,this.currentExpandedLength>n.maxExpandedLength))throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${n.maxExpandedLength}`)}}for(const i of Object.keys(this.lastEntities)){const s=this.lastEntities[i],o=t.match(s.regex);if(o&&(this.entityExpansionCount+=o.length,n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions))throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`);t=t.replace(s.regex,s.val)}if(t.indexOf("&")===-1)return t;if(this.options.htmlEntities)for(const i of Object.keys(this.htmlEntities)){const s=this.htmlEntities[i],o=t.match(s.regex);if(o&&(this.entityExpansionCount+=o.length,n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions))throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`);t=t.replace(s.regex,s.val)}return t=t.replace(this.ampEntity.regex,this.ampEntity.val),t}function fp(t,e,r,n){return t&&(n===void 0&&(n=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,n),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}function hp(t,e){if(!t||t.length===0)return!1;for(let r=0;r",r,`${e} is not closed`);if(t.substring(r+2,s).trim()===e&&(i--,i===0))return{tagContent:t.substring(n,r),i:s};r=s}else if(t[r+1]==="?")r=lt(t,"?>",r+1,"StopNode is not closed.");else if(t.substr(r+1,3)==="!--")r=lt(t,"-->",r+3,"StopNode is not closed.");else if(t.substr(r+1,2)==="![")r=lt(t,"]]>",r,"StopNode is not closed.")-2;else{const s=gn(t,r,">");s&&((s&&s.tagName)===e&&s.tagExp[s.tagExp.length-1]!=="/"&&i++,r=s.closeIndex)}}function mn(t,e,r){if(e&&typeof t=="string"){const n=t.trim();return n==="true"?!0:n==="false"?!1:Gh(t,r)}else return Oh(t)?t:""}function zs(t,e,r){const n=Number.parseInt(t,e);return n>=0&&n<=1114111?String.fromCodePoint(n):r+t+";"}function yn(t,e,r,n){if(t){const i=t(e);r===e&&(r=i),e=i}return e=qs(e,n),{tagName:e,tagExp:r}}function qs(t,e){if(ks.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return pn.includes(t)?e.onDangerousProperty(t):t}const bn=Ke.getMetaDataSymbol();function gp(t,e){if(!t||typeof t!="object")return{};if(!e)return t;const r={};for(const n in t)if(n.startsWith(e)){const i=n.substring(e.length);r[i]=t[n]}else r[n]=t[n];return r}function mp(t,e,r){return Ws(t,e,r)}function Ws(t,e,r){let n;const i={};for(let s=0;s0&&(i[e.textNodeName]=n):n!==void 0&&(i[e.textNodeName]=n),i}function yp(t){const e=Object.keys(t);for(let r=0;r0&&(r=xp);const n=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let s=0;se.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let a=t.toString();return a=wn(a,e),a}return""}for(let a=0;a`,o=!1,n.pop();continue}else if(c===e.commentPropName){s+=r+``,o=!0,n.pop();continue}else if(c[0]==="?"){const b=Xs(l[":@"],e,h),T=c==="?xml"?"":r;let E=l[c][0][e.textNodeName];E=E.length!==0?" "+E:"",s+=T+`<${c}${E}${b}?>`,o=!0,n.pop();continue}let d=r;d!==""&&(d+=e.indentBy);const y=Xs(l[":@"],e,h),g=r+`<${c}${y}`;let m;h?m=Js(l[c],e):m=Ks(l[c],e,d,n,i),e.unpairedTags.indexOf(c)!==-1?e.suppressUnpairedNode?s+=g+">":s+=g+"/>":(!m||m.length===0)&&e.suppressEmptyNode?s+=g+"/>":m&&m.endsWith(">")?s+=g+`>${m}${r}`:(s+=g+">",m&&r!==""&&(m.includes("/>")||m.includes("`),o=!0,n.pop()}return s}function vp(t,e){if(!t||e.ignoreAttributes)return null;const r={};let n=!1;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;const s=i.startsWith(e.attributeNamePrefix)?i.substr(e.attributeNamePrefix.length):i;r[s]=t[i],n=!0}return n?r:null}function Js(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let n=0;n`:r+=`<${s}${o}>${a}`}}}return r}function Tp(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=t[n];i===!0&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${i}"`}return r}function Ys(t){const e=Object.keys(t);for(let r=0;r0&&e.processEntities)for(let r=0;r{for(const r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}const Pp={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0};function Pe(t){if(this.options=Object.assign({},Pp,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e=="string"&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e +`,this.newLine=` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}Pe.prototype.build=function(t){if(this.options.preserveOrder)return Ep(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});const e=new dn;return this.j2x(t,0,e).val}},Pe.prototype.j2x=function(t,e,r){let n="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");const s=this.options.jPath?r.toString():r,o=this.checkStopNode(r);for(let a in t)if(Object.prototype.hasOwnProperty.call(t,a))if(typeof t[a]>"u")this.isAttribute(a)&&(i+="");else if(t[a]===null)this.isAttribute(a)||a===this.options.cdataPropName?i+="":a[0]==="?"?i+=this.indentate(e)+"<"+a+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+a+"/"+this.tagEndChar;else if(t[a]instanceof Date)i+=this.buildTextValNode(t[a],a,"",e,r);else if(typeof t[a]!="object"){const l=this.isAttribute(a);if(l&&!this.ignoreAttributesFn(l,s))n+=this.buildAttrPairStr(l,""+t[a],o);else if(!l)if(a===this.options.textNodeName){let c=this.options.tagValueProcessor(a,""+t[a]);i+=this.replaceEntitiesValue(c)}else{r.push(a);const c=this.checkStopNode(r);if(r.pop(),c){const u=""+t[a];u===""?i+=this.indentate(e)+"<"+a+this.closeTag(a)+this.tagEndChar:i+=this.indentate(e)+"<"+a+">"+u+""u"))if(d===null)a[0]==="?"?i+=this.indentate(e)+"<"+a+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+a+"/"+this.tagEndChar;else if(typeof d=="object")if(this.options.oneListGroup){r.push(a);const y=this.j2x(d,e+1,r);r.pop(),c+=y.val,this.options.attributesGroupName&&d.hasOwnProperty(this.options.attributesGroupName)&&(u+=y.attrStr)}else c+=this.processTextOrObjNode(d,a,e,r);else if(this.options.oneListGroup){let y=this.options.tagValueProcessor(a,d);y=this.replaceEntitiesValue(y),c+=y}else{r.push(a);const y=this.checkStopNode(r);if(r.pop(),y){const g=""+d;g===""?c+=this.indentate(e)+"<"+a+this.closeTag(a)+this.tagEndChar:c+=this.indentate(e)+"<"+a+">"+g+"${i}`;else if(typeof i=="object"&&i!==null){const s=this.buildRawContent(i),o=this.buildAttributesForStopNode(i);s===""?e+=`<${r}${o}/>`:e+=`<${r}${o}>${s}`}}else if(typeof n=="object"&&n!==null){const i=this.buildRawContent(n),s=this.buildAttributesForStopNode(n);i===""?e+=`<${r}${s}/>`:e+=`<${r}${s}>${i}`}else e+=`<${r}>${n}`}return e},Pe.prototype.buildAttributesForStopNode=function(t){if(!t||typeof t!="object")return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){const r=t[this.options.attributesGroupName];for(let n in r){if(!Object.prototype.hasOwnProperty.call(r,n))continue;const i=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n,s=r[n];s===!0&&this.options.suppressBooleanAttributes?e+=" "+i:e+=" "+i+'="'+s+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;const n=this.isAttribute(r);if(n){const i=t[r];i===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+i+'"'}}return e},Pe.prototype.buildObjectNode=function(t,e,r,n){if(t==="")return e[0]==="?"?this.indentate(n)+"<"+e+r+"?"+this.tagEndChar:this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar;{let i=""+t+i:this.options.commentPropName!==!1&&e===this.options.commentPropName&&s.length===0?this.indentate(n)+``+this.newLine:this.indentate(n)+"<"+e+r+s+this.tagEndChar+t+this.indentate(n)+i}},Pe.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`>`+this.newLine;if(this.options.commentPropName!==!1&&e===this.options.commentPropName)return this.indentate(n)+``+this.newLine;if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let s=this.options.tagValueProcessor(e,t);return s=this.replaceEntitiesValue(s),s===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+s+"0&&this.options.processEntities)for(let e=0;e{const r=new URL(t);r.pathname=[...r.pathname.split("/"),"ocs","v1.php"].filter(Boolean).join("/");const n=r.href,i=th(n,e),s=new Cp({baseURI:t,axiosClient:e});return{getCapabilities:()=>i.getCapabilities(),signUrl:(o,a)=>s.signUrl(o,a)}},ze=(t,{fileId:e,path:r,name:n})=>{if(r!==void 0)return B(t.webDavPath,r);if(e!==void 0){if(fn(t))throw new Error("public spaces need a path provided");return B("spaces",e,n||"")}return t.webDavPath},Fp=(t,e)=>({copyFiles(r,{path:n,fileId:i},s,{path:o,parentFolderId:a,name:l},{overwrite:c,...u}={}){const h=ze(r,{fileId:i,path:n}),d=ze(s,{fileId:a,path:o,name:l});return t.copy(h,d,{overwrite:c||!1,...u})}}),Lp=(t,e,r)=>({async createFolder(n,{path:i,parentFolderId:s,folderName:o,fetchFolder:a=!0,...l}){const c=ze(n,{fileId:s,path:i,name:o});if(await t.mkcol(c),a)return e.getFileInfo(n,{path:i},l)}}),_p=(t,{axiosClient:e})=>({async getFileContents(r,{fileId:n,path:i},{responseType:s="text",noCache:o=!0,headers:a,...l}={}){try{const c=ze(r,{fileId:n,path:i}),u=await e.get(t.getFileUrl(c),{responseType:s,headers:{...o&&{"Cache-Control":"no-cache"},...a||{}},...l});return{response:u,body:u.data,headers:{ETag:u.headers.etag,"OC-ETag":u.headers["oc-etag"],"OC-FileId":u.headers["oc-fileid"]}}}catch(c){const{message:u,response:h}=c;throw new Vi(u,h,h.status)}}}),$p=(t,e)=>({async getFileInfo(r,n,i){return(await t.listFiles(r,n,{depth:0,...i})).resource}}),Up=(t,e,r,{axiosClient:n,baseUrl:i})=>({async getFileUrl(s,o,{disposition:a="attachment",version:l=null,username:c="",...u}){if(a==="inline"){const d=await e.getFileContents(s,o,{responseType:"blob",...u});return URL.createObjectURL(d.body)}if(l){if(!c)throw new Error("username is required for URL signing");const d=t.getFileUrl(B("meta",o.fileId,"v",l));return await Rp(i,n).signUrl(d,c)}if(o.downloadURL)return o.downloadURL;const{downloadURL:h}=await r.getFileInfo(s,o,{davProperties:[C.DownloadURL]});return h},revokeUrl:s=>{s&&s.startsWith("blob:")&&URL.revokeObjectURL(s)}}),kp=(t,e)=>({getPublicFileUrl(r,n){return t.getFileUrl(B("public-files",n))}}),Bp=(t,e,r)=>({async listFiles(n,{path:i,fileId:s}={},{depth:o=1,davProperties:a,isTrash:l=!1,...c}={}){let u;if(fn(n)){u=await t.propfind(B(n.webDavPath,i),{depth:o,properties:a||st.PublicLink,...c}),u.forEach(g=>{g.filename=g.filename.split("/").slice(1).join("/")}),u.length===1&&(u[0].filename=B(n.id,i,{leadingSlash:!0})),u.forEach(g=>{g.filename=g.filename.split("/").slice(2).join("/")});const d=n.driveAlias.startsWith("ocm/")?"ocm":"public-link";if((!i||i==="/")&&o>0&&d==="ocm"&&u[0].props[C.PublicLinkItemType]==="file"&&(u=[{basename:n.fileId,type:"directory",filename:"",props:{}},...u]),!i){const[g,...m]=u;return{resource:Qf({...g,id:n.id,driveAlias:n.driveAlias,webDavPath:n.webDavPath,publicLinkType:d}),children:m.map(b=>xt(b,t.extraProps))}}const y=u.map(g=>xt(g,t.extraProps));return{resource:y[0],children:y.slice(1)}}const h=async()=>{const d=await e.getPathForFileId(s);return this.listFiles(n,{path:d},{depth:o,davProperties:a})};try{let d="";if(l?d=hn(n.id):d=ze(n,{fileId:s,path:i}),u=await t.propfind(d,{depth:o,properties:a||st.Default,...c}),l)return{resource:xt(u[0],t.extraProps),children:u.slice(1).map(Xf)};const y=u.map(m=>xt(m,t.extraProps)),g=s===n.id;return s&&!g&&y[0].fileId&&s!==y[0].fileId?h():{resource:y[0],children:y.slice(1)}}catch(d){if(d.statusCode===404&&s)return h();throw d}}}),jp=(t,e)=>({moveFiles(r,{path:n,fileId:i},s,{path:o,parentFolderId:a,name:l},{overwrite:c,...u}={}){const h=ze(r,{fileId:i,path:n}),d=ze(s,{fileId:a,path:o,name:l});return t.move(h,d,{overwrite:c||!1,...u})}}),Mp=(t,e,r)=>({async putFileContents(n,{fileName:i,path:s,parentFolderId:o,content:a="",previousEntityTag:l="",overwrite:c,onUploadProgress:u=null,...h}){const d=ze(n,{fileId:o,name:i,path:s}),{result:y}=await t.put(d,a,{previousEntityTag:l,overwrite:c,onUploadProgress:u,...h});return e.getFileInfo(n,{fileId:y.headers.get("Oc-Fileid"),path:s})}}),Vp=(t,e)=>({deleteFile(r,{path:n,...i}){return t.delete(B(r.webDavPath,n),i)}}),Dp=(t,e)=>({restoreFile(r,{id:n},{path:i},{overwrite:s,...o}={}){if(fn(r))return;const a=B(r.webDavPath,i);return t.move(B(r.webDavTrashPath,n),a,{overwrite:s,...o})}}),Hp=(t,e)=>({restoreFileVersion(r,{parentFolderId:n,name:i,path:s},o,a={}){const l=ze(r,{path:s,fileId:n,name:i}),c=B("meta",n,"v",o,{leadingSlash:!0}),u=B("files",l,{leadingSlash:!0});return t.copy(c,u,a)}}),zp=(t,e)=>({clearTrashBin(r,{id:n,...i}={}){let s=hn(r.id);return n&&(s=B(s,n)),t.delete(s,i)}}),qp=(t,e)=>({async search(r,{davProperties:n=st.Default,searchLimit:i,...s}){const o="/spaces/",{range:a,results:l}=await t.report(o,{pattern:r,limit:i,properties:n,...s});return{resources:l.map(c=>({...xt(c,t.extraProps),highlights:c.props[C.Highlights]||""})),totalResults:a?parseInt(a?.split("/")[1]):null}}}),Wp=(t,e)=>({async getPathForFileId(r,n={}){return(await t.propfind(B("meta",r,{leadingSlash:!0}),{properties:[C.MetaPathForUser],...n}))[0].props[C.MetaPathForUser]}});var xn={};var Gp={2:t=>{function e(i,s,o){i instanceof RegExp&&(i=r(i,o)),s instanceof RegExp&&(s=r(s,o));var a=n(i,s,o);return a&&{start:a[0],end:a[1],pre:o.slice(0,a[0]),body:o.slice(a[0]+i.length,a[1]),post:o.slice(a[1]+s.length)}}function r(i,s){var o=s.match(i);return o?o[0]:null}function n(i,s,o){var a,l,c,u,h,d=o.indexOf(i),y=o.indexOf(s,d+1),g=d;if(d>=0&&y>0){for(a=[],c=o.length;g>=0&&!h;)g==d?(a.push(g),d=o.indexOf(i,g+1)):a.length==1?h=[a.pop(),y]:((l=a.pop())=0?d:y;a.length&&(h=[c,u])}return h}t.exports=e,e.range=n},47:(t,e,r)=>{var n=r(410),i=function(c){return typeof c=="string"};function s(c,u){for(var h=[],d=0;d=-1&&!u;h--){var d=h>=0?arguments[h]:tt.cwd();if(!i(d))throw new TypeError("Arguments to path.resolve must be strings");d&&(c=d+"/"+c,u=d.charAt(0)==="/")}return(u?"/":"")+(c=s(c.split("/"),!u).join("/"))||"."},a.normalize=function(c){var u=a.isAbsolute(c),h=c.substr(-1)==="/";return(c=s(c.split("/"),!u).join("/"))||u||(c="."),c&&h&&(c+="/"),(u?"/":"")+c},a.isAbsolute=function(c){return c.charAt(0)==="/"},a.join=function(){for(var c="",u=0;u=0&&E[A]==="";A--);return v>A?[]:E.slice(v,A+1)}c=a.resolve(c).substr(1),u=a.resolve(u).substr(1);for(var d=h(c.split("/")),y=h(u.split("/")),g=Math.min(d.length,y.length),m=g,b=0;b>18&63)+a.charAt(g>>12&63)+a.charAt(g>>6&63)+a.charAt(63&g);return m==2?(h=u.charCodeAt(T)<<8,d=u.charCodeAt(++T),b+=a.charAt((g=h+d)>>10)+a.charAt(g>>4&63)+a.charAt(g<<2&63)+"="):m==1&&(g=u.charCodeAt(T),b+=a.charAt(g>>2)+a.charAt(g<<4&63)+"=="),b},decode:function(u){var h=(u=String(u).replace(l,"")).length;h%4==0&&(h=(u=u.replace(/==?$/,"")).length),(h%4==1||/[^+a-zA-Z0-9/]/.test(u))&&o("Invalid character: the string to be decoded is not correctly encoded.");for(var d,y,g=0,m="",b=-1;++b>(-2*g&6)));return m},version:"1.0.0"};(n=function(){return c}.call(e,r,e,t))===void 0||(t.exports=n)})()},135:t=>{function e(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}t.exports=function(r){return r!=null&&(e(r)||(function(n){return typeof n.readFloatLE=="function"&&typeof n.slice=="function"&&e(n.slice(0,0))})(r)||!!r._isBuffer)}},172:(t,e)=>{e.d=function(r){if(!r)return 0;for(var n=(r=r.toString()).length,i=r.length;i--;){var s=r.charCodeAt(i);56320<=s&&s<=57343&&i--,127{var n=r(2);t.exports=function(T){return T?(T.substr(0,2)==="{}"&&(T="\\{\\}"+T.substr(2)),b((function(E){return E.split("\\\\").join(i).split("\\{").join(s).split("\\}").join(o).split("\\,").join(a).split("\\.").join(l)})(T),!0).map(u)):[]};var i="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",o="\0CLOSE"+Math.random()+"\0",a="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function c(T){return parseInt(T,10)==T?parseInt(T,10):T.charCodeAt(0)}function u(T){return T.split(i).join("\\").split(s).join("{").split(o).join("}").split(a).join(",").split(l).join(".")}function h(T){if(!T)return[""];var E=[],v=n("{","}",T);if(!v)return T.split(",");var A=v.pre,I=v.body,F=v.post,L=A.split(",");L[L.length-1]+="{"+I+"}";var $=h(F);return F.length&&(L[L.length-1]+=$.shift(),L.push.apply(L,$)),E.push.apply(E,L),E}function d(T){return"{"+T+"}"}function y(T){return/^-?0\d/.test(T)}function g(T,E){return T<=E}function m(T,E){return T>=E}function b(T,E){var v=[],A=n("{","}",T);if(!A)return[T];var I=A.pre,F=A.post.length?b(A.post,!1):[""];if(/\$$/.test(A.pre))for(var L=0;L=0;if(!R&&!le)return A.post.match(/,(?!,).*\}/)?b(T=A.pre+"{"+A.body+o+A.post):[T];if(R)_=A.body.split(/\.\./);else if((_=h(A.body)).length===1&&(_=b(_[0],!1).map(d)).length===1)return F.map((function(Lr){return A.pre+_[0]+Lr}));if(R){var Se=c(_[0]),J=c(_[1]),ae=Math.max(_[0].length,_[1].length),K=_.length==3?Math.abs(c(_[2])):1,Be=g;J0){var D=new Array(Ze+1).join("0");ce=re<0?"-"+D+ce.slice(1):D+ce}}j.push(ce)}}else{j=[];for(var z=0;z<_.length;z++)j.push.apply(j,b(_[z],!1))}for(z=0;z{var e,r;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(n,i){return n<>>32-i},rotr:function(n,i){return n<<32-i|n>>>i},endian:function(n){if(n.constructor==Number)return 16711935&r.rotl(n,8)|4278255360&r.rotl(n,24);for(var i=0;i0;n--)i.push(Math.floor(256*Math.random()));return i},bytesToWords:function(n){for(var i=[],s=0,o=0;s>>5]|=n[s]<<24-o%32;return i},wordsToBytes:function(n){for(var i=[],s=0;s<32*n.length;s+=8)i.push(n[s>>>5]>>>24-s%32&255);return i},bytesToHex:function(n){for(var i=[],s=0;s>>4).toString(16)),i.push((15&n[s]).toString(16));return i.join("")},hexToBytes:function(n){for(var i=[],s=0;s>>6*(3-a)&63)):i.push("=");return i.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],s=0,o=0;s>>6-2*o);return i}},t.exports=r},345:()=>{},388:()=>{},410:()=>{},526:t=>{var e={utf8:{stringToBytes:function(r){return e.bin.stringToBytes(unescape(encodeURIComponent(r)))},bytesToString:function(r){return decodeURIComponent(escape(e.bin.bytesToString(r)))}},bin:{stringToBytes:function(r){for(var n=[],i=0;i{(function(){var n=r(298),i=r(526).utf8,s=r(135),o=r(526).bin,a=function(l,c){l.constructor==String?l=c&&c.encoding==="binary"?o.stringToBytes(l):i.stringToBytes(l):s(l)?l=Array.prototype.slice.call(l,0):Array.isArray(l)||l.constructor===Uint8Array||(l=l.toString());for(var u=n.bytesToWords(l),h=8*l.length,d=1732584193,y=-271733879,g=-1732584194,m=271733878,b=0;b>>24)|4278255360&(u[b]<<24|u[b]>>>8);u[h>>>5]|=128<>>9<<4)]=h;var T=a._ff,E=a._gg,v=a._hh,A=a._ii;for(b=0;b>>0,y=y+F>>>0,g=g+L>>>0,m=m+$>>>0}return n.endian([d,y,g,m])};a._ff=function(l,c,u,h,d,y,g){var m=l+(c&u|~c&h)+(d>>>0)+g;return(m<>>32-y)+c},a._gg=function(l,c,u,h,d,y,g){var m=l+(c&h|u&~h)+(d>>>0)+g;return(m<>>32-y)+c},a._hh=function(l,c,u,h,d,y,g){var m=l+(c^u^h)+(d>>>0)+g;return(m<>>32-y)+c},a._ii=function(l,c,u,h,d,y,g){var m=l+(u^(c|~h))+(d>>>0)+g;return(m<>>32-y)+c},a._blocksize=16,a._digestsize=16,t.exports=function(l,c){if(l==null)throw new Error("Illegal argument "+l);var u=n.wordsToBytes(a(l,c));return c&&c.asBytes?u:c&&c.asString?o.bytesToString(u):n.bytesToHex(u)}})()},647:(t,e)=>{var r=Object.prototype.hasOwnProperty;function n(s){try{return decodeURIComponent(s.replace(/\+/g," "))}catch{return null}}function i(s){try{return encodeURIComponent(s)}catch{return null}}e.stringify=function(s,o){o=o||"";var a,l,c=[];for(l in typeof o!="string"&&(o="?"),s)if(r.call(s,l)){if((a=s[l])||a!=null&&!isNaN(a)||(a=""),l=i(l),a=i(a),l===null||a===null)continue;c.push(l+"="+a)}return c.length?o+c.join("&"):""},e.parse=function(s){for(var o,a=/([^=?#&]+)=?([^&]*)/g,l={};o=a.exec(s);){var c=n(o[1]),u=n(o[2]);c===null||u===null||c in l||(l[c]=u)}return l}},670:t=>{t.exports=function(e,r){if(r=r.split(":")[0],!(e=+e))return!1;switch(r){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0}},737:(t,e,r)=>{var n=r(670),i=r(647),s=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,o=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,u=/^[a-zA-Z]:/;function h(E){return(E||"").toString().replace(s,"")}var d=[["#","hash"],["?","query"],function(E,v){return m(v.protocol)?E.replace(/\\/g,"/"):E},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],y={hash:1,query:1};function g(E){var v,A=(typeof window<"u"?window:typeof Fe<"u"?Fe:typeof self<"u"?self:{}).location||{},I={},F=typeof(E=E||A);if(E.protocol==="blob:")I=new T(unescape(E.pathname),{});else if(F==="string")for(v in I=new T(E,{}),y)delete I[v];else if(F==="object"){for(v in E)v in y||(I[v]=E[v]);I.slashes===void 0&&(I.slashes=a.test(E.href))}return I}function m(E){return E==="file:"||E==="ftp:"||E==="http:"||E==="https:"||E==="ws:"||E==="wss:"}function b(E,v){E=(E=h(E)).replace(o,""),v=v||{};var A,I=c.exec(E),F=I[1]?I[1].toLowerCase():"",L=!!I[2],$=!!I[3],_=0;return L?$?(A=I[2]+I[3]+I[4],_=I[2].length+I[3].length):(A=I[2]+I[4],_=I[2].length):$?(A=I[3]+I[4],_=I[3].length):A=I[4],F==="file:"?_>=2&&(A=A.slice(2)):m(F)?A=I[4]:F?L&&(A=A.slice(2)):_>=2&&m(v.protocol)&&(A=I[4]),{protocol:F,slashes:L||m(F),slashesCount:_,rest:A}}function T(E,v,A){if(E=(E=h(E)).replace(o,""),!(this instanceof T))return new T(E,v,A);var I,F,L,$,_,j,de=d.slice(),oe=typeof v,R=this,le=0;for(oe!=="object"&&oe!=="string"&&(A=v,v=null),A&&typeof A!="function"&&(A=i.parse),I=!(F=b(E||"",v=g(v))).protocol&&!F.slashes,R.slashes=F.slashes||I&&v.slashes,R.protocol=F.protocol||v.protocol||"",E=F.rest,(F.protocol==="file:"&&(F.slashesCount!==2||u.test(E))||!F.slashes&&(F.protocol||F.slashesCount<2||!m(R.protocol)))&&(de[3]=[/(.*)/,"pathname"]);le{},805:()=>{},829:t=>{function e(c){return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},e(c)}function r(c){var u=typeof Map=="function"?new Map:void 0;return r=function(h){if(h===null||(d=h,Function.toString.call(d).indexOf("[native code]")===-1))return h;var d;if(typeof h!="function")throw new TypeError("Super expression must either be null or a function");if(u!==void 0){if(u.has(h))return u.get(h);u.set(h,y)}function y(){return n(h,arguments,s(this).constructor)}return y.prototype=Object.create(h.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),i(y,h)},r(c)}function n(c,u,h){return n=(function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch{return!1}})()?Reflect.construct:function(d,y,g){var m=[null];m.push.apply(m,y);var b=new(Function.bind.apply(d,m));return g&&i(b,g.prototype),b},n.apply(null,arguments)}function i(c,u){return i=Object.setPrototypeOf||function(h,d){return h.__proto__=d,h},i(c,u)}function s(c){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)},s(c)}var o=(function(c){function u(h){var d;return(function(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")})(this,u),(d=(function(y,g){return!g||e(g)!=="object"&&typeof g!="function"?(function(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m})(y):g})(this,s(u).call(this,h))).name="ObjectPrototypeMutationError",d}return(function(h,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(d&&d.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),d&&i(h,d)})(u,c),u})(r(Error));function a(c,u){for(var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},d=u.split("."),y=d.length,g=function(T){var E=d[T];if(!c)return{v:void 0};if(E==="+"){if(Array.isArray(c))return{v:c.map((function(A,I){var F=d.slice(T+1);return F.length>0?a(A,F.join("."),h):h(c,I,d,T)}))};var v=d.slice(0,T).join(".");throw new Error("Object at wildcard (".concat(v,") is not an array"))}c=h(c,E,d,T)},m=0;m2&&arguments[2]!==void 0?arguments[2]:{};if(e(c)!="object"||c===null||u===void 0)return!1;if(typeof u=="number")return u in c;try{var d=!1;return a(c,u,(function(y,g,m,b){if(!l(m,b))return y&&y[g];d=h.own?y.hasOwnProperty(g):g in y})),d}catch{return!1}},hasOwn:function(c,u,h){return this.has(c,u,h||{own:!0})},isIn:function(c,u,h){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e(c)!="object"||c===null||u===void 0)return!1;try{var y=!1,g=!1;return a(c,u,(function(m,b,T,E){return y=y||m===h||!!m&&m[b]===h,g=l(T,E)&&e(m)==="object"&&b in m,m&&m[b]})),d.validPath?y&&g:y}catch{return!1}},ObjectPrototypeMutationError:o}}},Zs={};function H(t){var e=Zs[t];if(e!==void 0)return e.exports;var r=Zs[t]={id:t,loaded:!1,exports:{}};return Gp[t].call(r.exports,r,r.exports,H),r.loaded=!0,r.exports}H.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return H.d(e,{a:e}),e},H.d=(t,e)=>{for(var r in e)H.o(e,r)&&!H.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},H.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),H.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var Kp=H(737),Jp=H.n(Kp);function En(t){if(!vn(t))throw new Error("Parameter was not an error")}function vn(t){return!!t&&typeof t=="object"&&(e=t,Object.prototype.toString.call(e)==="[object Error]")||t instanceof Error;var e}class me extends Error{constructor(e,r){const n=[...arguments],{options:i,shortMessage:s}=(function(a){let l,c="";if(a.length===0)l={};else if(vn(a[0]))l={cause:a[0]},c=a.slice(1).join(" ")||"";else if(a[0]&&typeof a[0]=="object")l=Object.assign({},a[0]),c=a.slice(1).join(" ")||"";else{if(typeof a[0]!="string")throw new Error("Invalid arguments passed to Layerr");l={},c=c=a.join(" ")||""}return{options:l,shortMessage:c}})(n);let o=s;if(i.cause&&(o=`${o}: ${i.cause.message}`),super(o),this.message=o,i.name&&typeof i.name=="string"?this.name=i.name:this.name="Layerr",i.cause&&Object.defineProperty(this,"_cause",{value:i.cause}),Object.defineProperty(this,"_info",{value:{}}),i.info&&typeof i.info=="object"&&Object.assign(this._info,i.info),Error.captureStackTrace){const a=i.constructorOpt||this.constructor;Error.captureStackTrace(this,a)}}static cause(e){return En(e),e._cause&&vn(e._cause)?e._cause:null}static fullStack(e){En(e);const r=me.cause(e);return r?`${e.stack} +caused by: ${me.fullStack(r)}`:e.stack??""}static info(e){En(e);const r={},n=me.cause(e);return n&&Object.assign(r,me.info(n)),e._info&&Object.assign(r,e._info),r}toString(){let e=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e=`${e}: ${this.message}`),e}}var Yp=H(47),Nr=H.n(Yp);const Qs="__PATH_SEPARATOR_POSIX__",eo="__PATH_SEPARATOR_WINDOWS__";function W(t){try{const e=t.replace(/\//g,Qs).replace(/\\\\/g,eo);return encodeURIComponent(e).split(eo).join("\\\\").split(Qs).join("/")}catch(e){throw new me(e,"Failed encoding path")}}function to(t){return t.startsWith("/")?t:"/"+t}function Ht(t){let e=t;return e[0]!=="/"&&(e="/"+e),/^.+\/$/.test(e)&&(e=e.substr(0,e.length-1)),e}function Xp(t){let e=new(Jp())(t).pathname;return e.length<=0&&(e="/"),Ht(e)}function G(){for(var t=arguments.length,e=new Array(t),r=0;r1){var s=n.shift();n[0]=s+n[0]}n[0].match(/^file:\/\/\//)?n[0]=n[0].replace(/^([^/:]+):\/*/,"$1:///"):n[0]=n[0].replace(/^([^/:]+):\/*/,"$1://");for(var o=0;o0&&(a=a.replace(/^[\/]+/,"")),a=o0?"?":"")+c.join("&")})(typeof arguments[0]=="object"?arguments[0]:[].slice.call(arguments))})(e.reduce(((n,i,s)=>((s===0||i!=="/"||i==="/"&&n[n.length-1]!=="/")&&n.push(i),n)),[]))}var Zp=H(542),zt=H.n(Zp);function ro(t,e){const r=t.url.replace("//",""),n=r.indexOf("/")==-1?"/":r.slice(r.indexOf("/")),i=t.method?t.method.toUpperCase():"GET",s=!!/(^|,)\s*auth\s*($|,)/.test(e.qop)&&"auth",o=`00000000${e.nc}`.slice(-8),a=(function(d,y,g,m,b,T,E){const v=E||zt()(`${y}:${g}:${m}`);return d&&d.toLowerCase()==="md5-sess"?zt()(`${v}:${b}:${T}`):v})(e.algorithm,e.username,e.realm,e.password,e.nonce,e.cnonce,e.ha1),l=zt()(`${i}:${n}`),c=s?zt()(`${a}:${e.nonce}:${o}:${e.cnonce}:${s}:${l}`):zt()(`${a}:${e.nonce}:${l}`),u={username:e.username,realm:e.realm,nonce:e.nonce,uri:n,qop:s,response:c,nc:o,cnonce:e.cnonce,algorithm:e.algorithm,opaque:e.opaque},h=[];for(const d in u)u[d]&&(d==="qop"||d==="nc"||d==="algorithm"?h.push(`${d}=${u[d]}`):h.push(`${d}="${u[d]}"`));return`Digest ${h.join(", ")}`}function no(t){return(t.headers&&t.headers.get("www-authenticate")||"").split(/\s/)[0].toLowerCase()==="digest"}var Qp=H(101),io=H.n(Qp);function so(t){return io().decode(t)}function oo(t,e){var r;return`Basic ${r=`${t}:${e}`,io().encode(r)}`}const ao=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:typeof window<"u"?window:globalThis,ed=ao.fetch.bind(ao);let Te=(function(t){return t.Auto="auto",t.Digest="digest",t.None="none",t.Password="password",t.Token="token",t})({}),Je=(function(t){return t.DataTypeNoLength="data-type-no-length",t.InvalidAuthType="invalid-auth-type",t.InvalidOutputFormat="invalid-output-format",t.LinkUnsupportedAuthType="link-unsupported-auth",t.InvalidUpdateRange="invalid-update-range",t.NotSupported="not-supported",t})({});function uo(t,e,r,n,i){switch(t.authType){case Te.Auto:e&&r&&(t.headers.Authorization=oo(e,r));break;case Te.Digest:t.digest=(function(o,a,l){return{username:o,password:a,ha1:l,nc:0,algorithm:"md5",hasDigestAuth:!1}})(e,r,i);break;case Te.None:break;case Te.Password:t.headers.Authorization=oo(e,r);break;case Te.Token:t.headers.Authorization=`${(s=n).token_type} ${s.access_token}`;break;default:throw new me({info:{code:Je.InvalidAuthType}},`Invalid auth type: ${t.authType}`)}var s}H(345),H(800);const lo="@@HOTPATCHER",td=()=>{};function Tn(t){return{original:t,methods:[t],final:!1}}class rd{constructor(){this._configuration={registry:{},getEmptyAction:"null"},this.__type__=lo}get configuration(){return this._configuration}get getEmptyAction(){return this.configuration.getEmptyAction}set getEmptyAction(e){this.configuration.getEmptyAction=e}control(e){let r=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(!e||e.__type__!==lo)throw new Error("Failed taking control of target HotPatcher instance: Invalid type or object");return Object.keys(e.configuration.registry).forEach((n=>{this.configuration.registry.hasOwnProperty(n)?r&&(this.configuration.registry[n]=Object.assign({},e.configuration.registry[n])):this.configuration.registry[n]=Object.assign({},e.configuration.registry[n])})),e._configuration=this.configuration,this}execute(e){const r=this.get(e)||td;for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s0;)c=[i.shift().apply(u,c)];return c[0]}})(...r.methods)}isPatched(e){return!!this.configuration.registry[e]}patch(e,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{chain:i=!1}=n;if(this.configuration.registry[e]&&this.configuration.registry[e].final)throw new Error(`Failed patching '${e}': Method marked as being final`);if(typeof r!="function")throw new Error(`Failed patching '${e}': Provided method is not a function`);if(i)this.configuration.registry[e]?this.configuration.registry[e].methods.push(r):this.configuration.registry[e]=Tn(r);else if(this.isPatched(e)){const{original:s}=this.configuration.registry[e];this.configuration.registry[e]=Object.assign(Tn(r),{original:s})}else this.configuration.registry[e]=Tn(r);return this}patchInline(e,r){this.isPatched(e)||this.patch(e,r);for(var n=arguments.length,i=new Array(n>2?n-2:0),s=2;s1?r-1:0),i=1;i{this.patch(e,s,{chain:!0})})),this}restore(e){if(!this.isPatched(e))throw new Error(`Failed restoring method: No method present for key: ${e}`);if(typeof this.configuration.registry[e].original!="function")throw new Error(`Failed restoring method: Original method not found or of invalid type for key: ${e}`);return this.configuration.registry[e].methods=[this.configuration.registry[e].original],this}setFinal(e){if(!this.configuration.registry.hasOwnProperty(e))throw new Error(`Failed marking '${e}' as final: No method found for key`);return this.configuration.registry[e].final=!0,this}}let Nn=null;function nd(){return Nn||(Nn=new rd),Nn}function Ar(t){return(function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let r=e;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r})(t)?Object.assign({},t):Object.setPrototypeOf(Object.assign({},t),Object.getPrototypeOf(t))}function co(){for(var t=arguments.length,e=new Array(t),r=0;r0;){const s=i.shift();n=n?fo(n,s):Ar(s)}return n}function fo(t,e){const r=Ar(t);return Object.keys(e).forEach((n=>{r.hasOwnProperty(n)?Array.isArray(e[n])?r[n]=Array.isArray(r[n])?[...r[n],...e[n]]:[...e[n]]:typeof e[n]=="object"&&e[n]?r[n]=typeof r[n]=="object"&&r[n]?fo(r[n],e[n]):Ar(e[n]):r[n]=e[n]:r[n]=e[n]})),r}function id(t){const e={};for(const r of t.keys())e[r]=t.get(r);return e}function An(){for(var t=arguments.length,e=new Array(t),r=0;r(Object.keys(s).forEach((o=>{const a=o.toLowerCase();n.hasOwnProperty(a)?i[n[a]]=s[o]:(n[a]=o,i[o]=s[o])})),i)),{})}H(805);const sd=typeof ArrayBuffer=="function",{toString:od}=Object.prototype;function ho(t){return sd&&(t instanceof ArrayBuffer||od.call(t)==="[object ArrayBuffer]")}function po(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Pn(t){return function(){for(var e=[],r=0;re.patchInline("fetch",ed,r.url,(function(n){let i={};const s={method:n.method};if(n.headers&&(i=An(i,n.headers)),n.data!==void 0){const[o,a]=(function(l){if(typeof l=="string")return[l,{}];if(po(l))return[l,{}];if(ho(l))return[l,{}];if(l&&typeof l=="object")return[JSON.stringify(l),{"content-type":"application/json"}];throw new Error("Unable to convert request body: Unexpected body type: "+typeof l)})(n.data);s.body=o,i=An(i,a)}return n.signal&&(s.signal=n.signal),n.withCredentials&&(s.credentials="include"),s.headers=i,s})(r))),t)}var ud=H(285);const Sr=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},ld={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},qt=t=>t.replace(/[[\]\\-]/g,"\\$&"),mo=t=>t.join(""),cd=(t,e)=>{const r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");const n=[],i=[];let s=r+1,o=!1,a=!1,l=!1,c=!1,u=r,h="";e:for(;sh?n.push(qt(h)+"-"+qt(m)):m===h&&n.push(qt(m)),h="",s++):t.startsWith("-]",s+1)?(n.push(qt(m+"-")),s+=2):t.startsWith("-",s+1)?(h=m,s+=2):(n.push(qt(m)),s++)}else l=!0,s++}else c=!0,s++}if(u1&&arguments[1]!==void 0?arguments[1]:{};return e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")},fd=new Set(["!","?","+","*","@"]),yo=t=>fd.has(t),In="(?!\\.)",hd=new Set(["[","."]),pd=new Set(["..","."]),dd=new Set("().*{}+?[]^$\\!"),On="[^/]",bo=On+"*?",wo=On+"+?";class ye{type;#e;#r;#s=!1;#t=[];#n;#p;#l;#g=!1;#f;#c;#d=!1;constructor(e,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.type=e,e&&(this.#r=!0),this.#n=r,this.#e=this.#n?this.#n.#e:this,this.#f=this.#e===this?n:this.#e.#f,this.#l=this.#e===this?[]:this.#e.#l,e!=="!"||this.#e.#g||this.#l.push(this),this.#p=this.#n?this.#n.#t.length:0}get hasMagic(){if(this.#r!==void 0)return this.#r;for(const e of this.#t)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#r=!0;return this.#r}toString(){return this.#c!==void 0?this.#c:this.type?this.#c=this.type+"("+this.#t.map((e=>String(e))).join("|")+")":this.#c=this.#t.map((e=>String(e))).join("")}#h(){if(this!==this.#e)throw new Error("should only call on root");if(this.#g)return this;let e;for(this.toString(),this.#g=!0;e=this.#l.pop();){if(e.type!=="!")continue;let r=e,n=r.#n;for(;n;){for(let i=r.#p+1;!n.type&&itypeof r=="string"?r:r.toJSON())):[this.type,...this.#t.map((r=>r.toJSON()))];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#g&&this.#n?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#n?.isStart())return!1;if(this.#p===0)return!0;const e=this.#n;for(let r=0;r1&&arguments[1]!==void 0?arguments[1]:{};const n=new ye(null,void 0,r);return ye.#o(e,n,0,r),n}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();const e=this.toString(),[r,n,i,s]=this.toRegExpSource();if(!(i||this.#r||this.#f.nocase&&!this.#f.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return n;const o=(this.#f.nocase?"i":"")+(s?"u":"");return Object.assign(new RegExp(`^${r}$`,o),{_src:r,_glob:e})}get options(){return this.#f}toRegExpSource(e){const r=e??!!this.#f.dot;if(this.#e===this&&this.#h(),!this.type){const l=this.isStart()&&this.isEnd(),c=this.#t.map((d=>{const[y,g,m,b]=typeof d=="string"?ye.#i(d,this.#r,l):d.toRegExpSource(e);return this.#r=this.#r||m,this.#s=this.#s||b,y})).join("");let u="";if(this.isStart()&&typeof this.#t[0]=="string"&&(this.#t.length!==1||!pd.has(this.#t[0]))){const d=hd,y=r&&d.has(c.charAt(0))||c.startsWith("\\.")&&d.has(c.charAt(2))||c.startsWith("\\.\\.")&&d.has(c.charAt(4)),g=!r&&!e&&d.has(c.charAt(0));u=y?"(?!(?:^|/)\\.\\.?(?:$|/))":g?In:""}let h="";return this.isEnd()&&this.#e.#g&&this.#n?.type==="!"&&(h="(?:$|\\/)"),[u+c+h,Wt(c),this.#r=!!this.#r,this.#s]}const n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:";let s=this.#a(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){const l=this.toString();return this.#t=[l],this.type=null,this.#r=void 0,[l,Wt(this.toString()),!1,!1]}let o=!n||e||r?"":this.#a(!0);o===s&&(o=""),o&&(s=`(?:${s})(?:${o})*?`);let a="";return a=this.type==="!"&&this.#d?(this.isStart()&&!r?In:"")+wo:i+s+(this.type==="!"?"))"+(!this.isStart()||r||e?"":In)+bo+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&o?")":this.type==="*"&&o?")?":`)${this.type}`),[a,Wt(s),this.#r=!!this.#r,this.#s]}#a(e){return this.#t.map((r=>{if(typeof r=="string")throw new Error("string type in extglob ast??");const[n,i,s,o]=r.toRegExpSource(e);return this.#s=this.#s||o,n})).filter((r=>!(this.isStart()&&this.isEnd()&&!r))).join("|")}static#i(e,r){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],i=!1,s="",o=!1;for(let a=0;a2&&arguments[2]!==void 0?arguments[2]:{};return Sr(e),!(!r.nocomment&&e.charAt(0)==="#")&&new Ir(e,r).match(t)},gd=/^\*+([^+@!?\*\[\(]*)$/,md=t=>e=>!e.startsWith(".")&&e.endsWith(t),yd=t=>e=>e.endsWith(t),bd=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),wd=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),xd=/^\*+\.\*+$/,Ed=t=>!t.startsWith(".")&&t.includes("."),vd=t=>t!=="."&&t!==".."&&t.includes("."),Td=/^\.\*+$/,Nd=t=>t!=="."&&t!==".."&&t.startsWith("."),Ad=/^\*+$/,Pd=t=>t.length!==0&&!t.startsWith("."),Sd=t=>t.length!==0&&t!=="."&&t!=="..",Id=/^\?+([^+@!?\*\[\(]*)?$/,Od=t=>{let[e,r=""]=t;const n=xo([e]);return r?(r=r.toLowerCase(),i=>n(i)&&i.toLowerCase().endsWith(r)):n},Cd=t=>{let[e,r=""]=t;const n=Eo([e]);return r?(r=r.toLowerCase(),i=>n(i)&&i.toLowerCase().endsWith(r)):n},Rd=t=>{let[e,r=""]=t;const n=Eo([e]);return r?i=>n(i)&&i.endsWith(r):n},Fd=t=>{let[e,r=""]=t;const n=xo([e]);return r?i=>n(i)&&i.endsWith(r):n},xo=t=>{let[e]=t;const r=e.length;return n=>n.length===r&&!n.startsWith(".")},Eo=t=>{let[e]=t;const r=e.length;return n=>n.length===r&&n!=="."&&n!==".."},vo=typeof tt=="object"&&tt?typeof xn=="object"&&xn&&xn.__MINIMATCH_TESTING_PLATFORM__||tt.platform:"posix";pe.sep=vo==="win32"?"\\":"/";const Ce=Symbol("globstar **");pe.GLOBSTAR=Ce,pe.filter=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r=>pe(r,t,e)};const Re=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.assign({},t,e)};pe.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return pe;const e=pe;return Object.assign((function(r,n){return e(r,n,Re(t,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))}),{Minimatch:class extends e.Minimatch{constructor(r){super(r,Re(t,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}))}static defaults(r){return e.defaults(Re(t,r)).Minimatch}},AST:class extends e.AST{constructor(r,n){super(r,n,Re(t,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))}static fromGlob(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.AST.fromGlob(r,Re(t,n))}},unescape:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.unescape(r,Re(t,n))},escape:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.escape(r,Re(t,n))},filter:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.filter(r,Re(t,n))},defaults:r=>e.defaults(Re(t,r)),makeRe:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.makeRe(r,Re(t,n))},braceExpand:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.braceExpand(r,Re(t,n))},match:function(r,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return e.match(r,n,Re(t,i))},sep:e.sep,GLOBSTAR:Ce})};const To=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Sr(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:ud(t)};pe.braceExpand=To,pe.makeRe=function(t){return new Ir(t,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).makeRe()},pe.match=function(t,e){const r=new Ir(e,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{});return t=t.filter((n=>r.match(n))),r.options.nonull&&!t.length&&t.push(e),t};const No=/[?*]|[+@!]\(.*?\)|\[|\]/;class Ir{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Sr(e),r=r||{},this.options=r,this.pattern=e,this.platform=r.platform||vo,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const e of this.set)for(const r of e)if(typeof r!="string")return!0;return!1}debug(){}make(){const e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#")return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=function(){return console.error(...arguments)}),this.debug(this.pattern,this.globSet);const n=this.globSet.map((s=>this.slashSplit(s)));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map(((s,o,a)=>{if(this.isWindows&&this.windowsNoMagicRoot){const l=!(s[0]!==""||s[1]!==""||s[2]!=="?"&&No.test(s[2])||No.test(s[3])),c=/^[a-z]:/i.test(s[0]);if(l)return[...s.slice(0,4),...s.slice(4).map((u=>this.parse(u)))];if(c)return[s[0],...s.slice(1).map((u=>this.parse(u)))]}return s.map((l=>this.parse(l)))}));if(this.debug(this.pattern,i),this.set=i.filter((s=>s.indexOf(!1)===-1)),this.isWindows)for(let s=0;s=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):e=r>=1?this.levelOneOptimize(e):this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map((r=>{let n=-1;for(;(n=r.indexOf("**",n+1))!==-1;){let i=n;for(;r[i+1]==="**";)i++;i!==n&&r.splice(n,i-n)}return r}))}levelOneOptimize(e){return e.map((r=>(r=r.reduce(((n,i)=>{const s=n[n.length-1];return i==="**"&&s==="**"?n:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(n.pop(),n):(n.push(i),n)}),[])).length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let i=1;ii&&n.splice(i+1,o-i);let a=n[i+1];const l=n[i+2],c=n[i+3];if(a!==".."||!l||l==="."||l===".."||!c||c==="."||c==="..")continue;r=!0,n.splice(i,1);const u=n.slice(0);u[i]="**",e.push(u),i--}if(!this.preserveMultipleSlashes){for(let o=1;or.length))}partsMatch(e,r){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],i=0,s=0,o=[],a="";for(;i2&&arguments[2]!==void 0&&arguments[2];const i=this.options;if(this.isWindows){const m=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),b=!m&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),T=typeof r[0]=="string"&&/^[a-z]:$/i.test(r[0]),E=b?3:m?0:void 0,v=!T&&r[0]===""&&r[1]===""&&r[2]==="?"&&typeof r[3]=="string"&&/^[a-z]:$/i.test(r[3])?3:T?0:void 0;if(typeof E=="number"&&typeof v=="number"){const[A,I]=[e[E],r[v]];A.toLowerCase()===I.toLowerCase()&&(r[v]=A,v>E?r=r.slice(v):E>v&&(e=e.slice(E)))}}const{optimizationLevel:s=1}=this.options;s>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:r}),this.debug("matchOne",e.length,r.length);for(var o=0,a=0,l=e.length,c=r.length;o>> no match, partial?`,e,d,r,y),d!==l))}let m;if(typeof u=="string"?(m=h===u,this.debug("string match",u,h,m)):(m=u.test(h),this.debug("pattern match",u,h,m)),!m)return!1}if(o===l&&a===c)return!0;if(o===l)return n;if(a===c)return o===l-1&&e[o]==="";throw new Error("wtf?")}braceExpand(){return To(this.pattern,this.options)}parse(e){Sr(e);const r=this.options;if(e==="**")return Ce;if(e==="")return"";let n,i=null;(n=e.match(Ad))?i=r.dot?Sd:Pd:(n=e.match(gd))?i=(r.nocase?r.dot?wd:bd:r.dot?yd:md)(n[1]):(n=e.match(Id))?i=(r.nocase?r.dot?Cd:Od:r.dot?Rd:Fd)(n):(n=e.match(xd))?i=r.dot?vd:Ed:(n=e.match(Td))&&(i=Nd);const s=ye.fromGlob(e,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;const e=this.set;if(!e.length)return this.regexp=!1,this.regexp;const r=this.options,n=r.noglobstar?"[^/]*?":r.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=new Set(r.nocase?["i"]:[]);let s=e.map((l=>{const c=l.map((u=>{if(u instanceof RegExp)for(const h of u.flags.split(""))i.add(h);return typeof u=="string"?u.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):u===Ce?Ce:u._src}));return c.forEach(((u,h)=>{const d=c[h+1],y=c[h-1];u===Ce&&y!==Ce&&(y===void 0?d!==void 0&&d!==Ce?c[h+1]="(?:\\/|"+n+"\\/)?"+d:c[h]=n:d===void 0?c[h-1]=y+"(?:\\/|"+n+")?":d!==Ce&&(c[h-1]=y+"(?:\\/|\\/"+n+"\\/)"+d,c[h+1]=Ce))})),c.filter((u=>u!==Ce)).join("/")})).join("|");const[o,a]=e.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.partial;if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;const n=this.options;this.isWindows&&(e=e.split("\\").join("/"));const i=this.slashSplit(e);this.debug(this.pattern,"split",i);const s=this.set;this.debug(this.pattern,"set",s);let o=i[i.length-1];if(!o)for(let a=i.length-2;!o&&a>=0;a--)o=i[a];for(let a=0;a1&&arguments[1]!==void 0?arguments[1]:""}Invalid response: ${t.status} ${t.statusText}`);return e.status=t.status,e.response=t,e}function se(t,e){const{status:r}=e;if(r===401&&t.digest)return e;if(r>=400)throw Cn(e);return e}function Nt(t,e){return arguments.length>2&&arguments[2]!==void 0&&arguments[2]?{data:e,headers:t.headers?id(t.headers):{},status:t.status,statusText:t.statusText}:e}pe.AST=ye,pe.Minimatch=Ir,pe.escape=function(t){let{windowsPathsNoEscape:e=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&")},pe.unescape=Wt;const Ld=(Ao=function(t,e,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=ie({url:G(t.remoteURL,W(e)),method:"COPY",headers:{Destination:G(t.remoteURL,W(r)),Overwrite:n.overwrite===!1?"F":"T",Depth:n.shallow?"0":"infinity"}},t,n);return o=function(a){se(t,a)},(s=ne(i,t))&&s.then||(s=Promise.resolve(s)),o?s.then(o):s;var s,o},function(){for(var t=[],e=0;e!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,r){return t},captureMetaData:!1},Po=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",$d=new RegExp("^["+Po+"]["+Po+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function So(t,e){const r=[];let n=e.exec(t);for(;n;){const i=[];i.startIndex=e.lastIndex-n[0].length;const s=n.length;for(let o=0;o0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),r!==void 0&&(this.child[this.child.length-1][Rn]={startIndex:r})}static getMetaDataSymbol(){return Rn}}class Ud{constructor(e){this.suppressValidationErr=!e}readDocType(e,r){const n={};if(e[r+3]!=="O"||e[r+4]!=="C"||e[r+5]!=="T"||e[r+6]!=="Y"||e[r+7]!=="P"||e[r+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{r+=9;let i=1,s=!1,o=!1,a="";for(;r"){if(o?e[r-1]==="-"&&e[r-2]==="-"&&(o=!1,i--):i--,i===0)break}else e[r]==="["?s=!0:a+=e[r];else{if(s&&ft(e,"!ENTITY",r)){let l,c;r+=7,[l,c,r]=this.readEntityExp(e,r+1,this.suppressValidationErr),c.indexOf("&")===-1&&(n[l]={regx:RegExp(`&${l};`,"g"),val:c})}else if(s&&ft(e,"!ELEMENT",r)){r+=8;const{index:l}=this.readElementExp(e,r+1);r=l}else if(s&&ft(e,"!ATTLIST",r))r+=8;else if(s&&ft(e,"!NOTATION",r)){r+=9;const{index:l}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=l}else{if(!ft(e,"!--",r))throw new Error("Invalid DOCTYPE");o=!0}i++,a=""}if(i!==0)throw new Error("Unclosed DOCTYPE")}return{entities:n,i:r}}readEntityExp(e,r){r=Ne(e,r);let n="";for(;r{for(;e{for(const r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}class Vd{constructor(e){if(this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(r,n)=>Co(n,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(r,n)=>Co(n,16,"&#x")}},this.addExternalEntities=Dd,this.parseXml=Gd,this.parseTextData=Hd,this.resolveNameSpace=zd,this.buildAttributesMap=Wd,this.isItStopNode=Xd,this.replaceEntitiesValue=Jd,this.readStopNodeData=Zd,this.saveTextToParentTag=Yd,this.addChild=Kd,this.ignoreAttributesFn=Io(this.options.ignoreAttributes),this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodesExact=new Set,this.stopNodesWildcard=new Set;for(let r=0;r0)){o||(t=this.replaceEntitiesValue(t));const a=this.options.tagValueProcessor(e,t,r,i,s);return a==null?t:typeof a!=typeof t||a!==t?a:this.options.trimValues||t.trim()===t?Oo(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function zd(t){if(this.options.removeNSPrefix){const e=t.split(":"),r=t.charAt(0)==="/"?"/":"";if(e[0]==="xmlns")return"";e.length===2&&(t=r+e[1])}return t}const qd=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Wd(t,e){if(this.options.ignoreAttributes!==!0&&typeof t=="string"){const r=So(t,qd),n=r.length,i={};for(let s=0;s",o,"Closing Tag is not closed.");let l=t.substring(o+2,a).trim();if(this.options.removeNSPrefix){const h=l.indexOf(":");h!==-1&&(l=l.substr(h+1))}this.options.transformTagName&&(l=this.options.transformTagName(l)),r&&(n=this.saveTextToParentTag(n,r,i));const c=i.substring(i.lastIndexOf(".")+1);if(l&&this.options.unpairedTags.indexOf(l)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let u=0;c&&this.options.unpairedTags.indexOf(c)!==-1?(u=i.lastIndexOf(".",i.lastIndexOf(".")-1),this.tagsNodeStack.pop()):u=i.lastIndexOf("."),i=i.substring(0,u),r=this.tagsNodeStack.pop(),n="",o=a}else if(t[o+1]==="?"){let a=Fn(t,o,!1,"?>");if(!a)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,r,i),!(this.options.ignoreDeclaration&&a.tagName==="?xml"||this.options.ignorePiTags)){const l=new ct(a.tagName);l.add(this.options.textNodeName,""),a.tagName!==a.tagExp&&a.attrExpPresent&&(l[":@"]=this.buildAttributesMap(a.tagExp,i)),this.addChild(r,l,i,o)}o=a.closeIndex+1}else if(t.substr(o+1,3)==="!--"){const a=ht(t,"-->",o+4,"Comment is not closed.");if(this.options.commentPropName){const l=t.substring(o+4,a-2);n=this.saveTextToParentTag(n,r,i),r.add(this.options.commentPropName,[{[this.options.textNodeName]:l}])}o=a}else if(t.substr(o+1,2)==="!D"){const a=s.readDocType(t,o);this.docTypeEntities=a.entities,o=a.i}else if(t.substr(o+1,2)==="!["){const a=ht(t,"]]>",o,"CDATA is not closed.")-2,l=t.substring(o+9,a);n=this.saveTextToParentTag(n,r,i);let c=this.parseTextData(l,r.tagname,i,!0,!1,!0,!0);c==null&&(c=""),this.options.cdataPropName?r.add(this.options.cdataPropName,[{[this.options.textNodeName]:l}]):r.add(this.options.textNodeName,c),o=a+2}else{let a=Fn(t,o,this.options.removeNSPrefix),l=a.tagName;const c=a.rawTagName;let u=a.tagExp,h=a.attrExpPresent,d=a.closeIndex;if(this.options.transformTagName){const m=this.options.transformTagName(l);u===l&&(u=m),l=m}r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,i,!1));const y=r;y&&this.options.unpairedTags.indexOf(y.tagname)!==-1&&(r=this.tagsNodeStack.pop(),i=i.substring(0,i.lastIndexOf("."))),l!==e.tagname&&(i+=i?"."+l:l);const g=o;if(this.isItStopNode(this.stopNodesExact,this.stopNodesWildcard,i,l)){let m="";if(u.length>0&&u.lastIndexOf("/")===u.length-1)l[l.length-1]==="/"?(l=l.substr(0,l.length-1),i=i.substr(0,i.length-1),u=l):u=u.substr(0,u.length-1),o=a.closeIndex;else if(this.options.unpairedTags.indexOf(l)!==-1)o=a.closeIndex;else{const T=this.readStopNodeData(t,c,d+1);if(!T)throw new Error(`Unexpected end of ${c}`);o=T.i,m=T.tagContent}const b=new ct(l);l!==u&&h&&(b[":@"]=this.buildAttributesMap(u,i)),m&&(m=this.parseTextData(m,l,i,!0,h,!0,!0)),i=i.substr(0,i.lastIndexOf(".")),b.add(this.options.textNodeName,m),this.addChild(r,b,i,g)}else{if(u.length>0&&u.lastIndexOf("/")===u.length-1){if(l[l.length-1]==="/"?(l=l.substr(0,l.length-1),i=i.substr(0,i.length-1),u=l):u=u.substr(0,u.length-1),this.options.transformTagName){const b=this.options.transformTagName(l);u===l&&(u=b),l=b}const m=new ct(l);l!==u&&h&&(m[":@"]=this.buildAttributesMap(u,i)),this.addChild(r,m,i,g),i=i.substr(0,i.lastIndexOf("."))}else{const m=new ct(l);this.tagsNodeStack.push(r),l!==u&&h&&(m[":@"]=this.buildAttributesMap(u,i)),this.addChild(r,m,i,g),r=m}n="",o=d}}else n+=t[o];return e.child};function Kd(t,e,r,n){this.options.captureMetaData||(n=void 0);const i=this.options.updateTag(e.tagname,r,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,n))}const Jd=function(t){if(this.options.processEntities){for(let e in this.docTypeEntities){const r=this.docTypeEntities[e];t=t.replace(r.regx,r.val)}for(let e in this.lastEntities){const r=this.lastEntities[e];t=t.replace(r.regex,r.val)}if(this.options.htmlEntities)for(let e in this.htmlEntities){const r=this.htmlEntities[e];t=t.replace(r.regex,r.val)}t=t.replace(this.ampEntity.regex,this.ampEntity.val)}return t};function Yd(t,e,r,n){return t&&(n===void 0&&(n=e.child.length===0),(t=this.parseTextData(t,e.tagname,r,!1,!!e[":@"]&&Object.keys(e[":@"]).length!==0,n))!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}function Xd(t,e,r,n){return!(!e||!e.has(n))||!(!t||!t.has(r))}function ht(t,e,r,n){const i=t.indexOf(e,r);if(i===-1)throw new Error(n);return i+e.length-1}function Fn(t,e,r){const n=(function(u,h){let d,y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:">",g="";for(let m=h;m3&&arguments[3]!==void 0?arguments[3]:">");if(!n)return;let i=n.data;const s=n.index,o=i.search(/\s/);let a=i,l=!0;o!==-1&&(a=i.substring(0,o),i=i.substring(o+1).trimStart());const c=a;if(r){const u=a.indexOf(":");u!==-1&&(a=a.substr(u+1),l=a!==n.data.substr(u+1))}return{tagName:a,tagExp:i,closeIndex:s,attrExpPresent:l,rawTagName:c}}function Zd(t,e,r){const n=r;let i=1;for(;r",r,`${e} is not closed`);if(t.substring(r+2,s).trim()===e&&(i--,i===0))return{tagContent:t.substring(n,r),i:s};r=s}else if(t[r+1]==="?")r=ht(t,"?>",r+1,"StopNode is not closed.");else if(t.substr(r+1,3)==="!--")r=ht(t,"-->",r+3,"StopNode is not closed.");else if(t.substr(r+1,2)==="![")r=ht(t,"]]>",r,"StopNode is not closed.")-2;else{const s=Fn(t,r,">");s&&((s&&s.tagName)===e&&s.tagExp[s.tagExp.length-1]!=="/"&&i++,r=s.closeIndex)}}function Oo(t,e,r){if(e&&typeof t=="string"){const n=t.trim();return n==="true"||n!=="false"&&(function(i){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(s=Object.assign({},jd,s),!i||typeof i!="string")return i;let o=i.trim();if(s.skipLike!==void 0&&s.skipLike.test(o))return i;if(i==="0")return 0;if(s.hex&&kd.test(o))return(function(l){if(parseInt)return parseInt(l,16);if(Number.parseInt)return Number.parseInt(l,16);if(window&&window.parseInt)return window.parseInt(l,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")})(o);if(o.includes("e")||o.includes("E"))return(function(l,c,u){if(!u.eNotation)return l;const h=c.match(Md);if(h){let d=h[1]||"";const y=h[3].indexOf("e")===-1?"E":"e",g=h[2],m=d?l[g.length+1]===y:l[g.length]===y;return g.length>1&&m?l:g.length!==1||!h[3].startsWith(`.${y}`)&&h[3][0]!==y?u.leadingZeros&&!m?(c=(h[1]||"")+h[3],Number(c)):l:Number(c)}return l})(i,o,s);{const l=Bd.exec(o);if(l){const c=l[1]||"",u=l[2];let h=((a=l[3])&&a.indexOf(".")!==-1&&((a=a.replace(/0+$/,""))==="."?a="0":a[0]==="."?a="0"+a:a[a.length-1]==="."&&(a=a.substring(0,a.length-1))),a);const d=c?i[u.length+1]===".":i[u.length]===".";if(!s.leadingZeros&&(u.length>1||u.length===1&&!d))return i;{const y=Number(o),g=String(y);if(y===0)return y;if(g.search(/[eE]/)!==-1)return s.eNotation?y:i;if(o.indexOf(".")!==-1)return g==="0"||g===h||g===`${c}${h}`?y:i;let m=u?h:o;return u?m===g||c+m===g?y:i:m===g||m===c+g?y:i}}return i}var a})(t,r)}return t!==void 0?t:""}function Co(t,e,r){const n=Number.parseInt(t,e);return n>=0&&n<=1114111?String.fromCodePoint(n):r+t+";"}const Ln=ct.getMetaDataSymbol();function Qd(t,e){return Ro(t,e)}function Ro(t,e,r){let n;const i={};for(let s=0;s0&&(i[e.textNodeName]=n):n!==void 0&&(i[e.textNodeName]=n),i}function eg(t){const e=Object.keys(t);for(let r=0;r5&&n==="xml")return te("InvalidXml","XML declaration allowed only at the start of the document.",be(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}}return e}function _o(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e"){e+=2;break}}return e}function ig(t,e){let r="",n="",i=!1;for(;e"&&n===""){i=!0;break}r+=t[e]}return n===""&&{value:r,index:e,tagClosed:i}}const sg=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function $o(t,e){const r=So(t,sg),n={};for(let i=0;i"&&o[h]!==" "&&o[h]!==" "&&o[h]!==` +`&&o[h]!=="\r";h++)g+=o[h];if(g=g.trim(),g[g.length-1]==="/"&&(g=g.substring(0,g.length-1),h--),!Or(g)){let T;return T=g.trim().length===0?"Invalid space after '<'.":"Tag '"+g+"' is an invalid name.",te("InvalidTag",T,be(o,h))}const m=ig(o,h);if(m===!1)return te("InvalidAttr","Attributes for '"+g+"' have open quote.",be(o,h));let b=m.value;if(h=m.index,b[b.length-1]==="/"){const T=h-b.length;b=b.substring(0,b.length-1);const E=$o(b,a);if(E!==!0)return te(E.err.code,E.err.msg,be(o,T+E.err.line));c=!0}else if(y){if(!m.tagClosed)return te("InvalidTag","Closing tag '"+g+"' doesn't have proper closing.",be(o,h));if(b.trim().length>0)return te("InvalidTag","Closing tag '"+g+"' can't have attributes or invalid starting.",be(o,d));if(l.length===0)return te("InvalidTag","Closing tag '"+g+"' has not been opened.",be(o,d));{const T=l.pop();if(g!==T.tagName){let E=be(o,T.tagStartPos);return te("InvalidTag","Expected closing tag '"+T.tagName+"' (opened in line "+E.line+", col "+E.col+") instead of closing tag '"+g+"'.",be(o,d))}l.length==0&&(u=!0)}}else{const T=$o(b,a);if(T!==!0)return te(T.err.code,T.err.msg,be(o,h-b.length+T.err.line));if(u===!0)return te("InvalidXml","Multiple possible root nodes found.",be(o,h));a.unpairedTags.indexOf(g)!==-1||l.push({tagName:g,tagStartPos:d}),c=!0}for(h++;h0)||te("InvalidXml","Invalid '"+JSON.stringify(l.map((h=>h.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):te("InvalidXml","Start tag expected.",1)})(e,r);if(s!==!0)throw Error(`${s.err.msg}:${s.err.line}:${s.err.col}`)}const n=new Vd(this.options);n.addExternalEntities(this.externalEntities);const i=n.parseXml(e);return this.options.preserveOrder||i===void 0?i:Qd(i,this.options)}addEntity(e,r){if(r.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(e.indexOf("&")!==-1||e.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if(r==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=r}static getMetaDataSymbol(){return ct.getMetaDataSymbol()}}var ug=H(829),qe=H.n(ug),At=(function(t){return t.Array="array",t.Object="object",t.Original="original",t})(At||{});function ko(t,e){if(!t.endsWith("propstat.prop.displayname"))return e}function Cr(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:At.Original;const n=qe().get(t,e);return r==="array"&&Array.isArray(n)===!1?[n]:r==="object"&&Array.isArray(n)?n[0]:n}function Jt(t,e){return e=e??{attributeNamePrefix:"@",attributeParsers:[],tagParsers:[ko]},new Promise((r=>{r((function(n){const{multistatus:i}=n;if(i==="")return{multistatus:{response:[]}};if(!i)throw new Error("Invalid response: No root multistatus found");const s={multistatus:Array.isArray(i)?i[0]:i};return qe().set(s,"multistatus.response",Cr(s,"multistatus.response",At.Array)),qe().set(s,"multistatus.response",qe().get(s,"multistatus.response").map((o=>(function(a){const l=Object.assign({},a);return l.status?qe().set(l,"status",Cr(l,"status",At.Object)):(qe().set(l,"propstat",Cr(l,"propstat",At.Object)),qe().set(l,"propstat.prop",Cr(l,"propstat.prop",At.Object))),l})(o)))),s})((function(n){let{attributeNamePrefix:i,attributeParsers:s,tagParsers:o}=n;return new Uo({allowBooleanAttributes:!0,attributeNamePrefix:i,textNodeName:"text",ignoreAttributes:!1,removeNSPrefix:!0,numberParseOptions:{hex:!0,leadingZeros:!1},attributeValueProcessor(a,l,c){for(const u of s)try{const h=u(c,l);if(h!==l)return h}catch{}return l},tagValueProcessor(a,l,c){for(const u of o)try{const h=u(c,l);if(h!==l)return h}catch{}return l}})})(e).parse(t)))}))}function Rr(t,e){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const{getlastmodified:n=null,getcontentlength:i="0",resourcetype:s=null,getcontenttype:o=null,getetag:a=null}=t,l=s&&typeof s=="object"&&s.collection!==void 0?"directory":"file",c={filename:e,basename:Nr().basename(e),lastmod:n,size:parseInt(i,10),type:l,etag:typeof a=="string"?a.replace(/"/g,""):null};return l==="file"&&(c.mime=o&&typeof o=="string"?o.split(";")[0]:""),r&&(t.displayname!==void 0&&(t.displayname=String(t.displayname)),c.props=t),c}function lg(t,e){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],n=null;try{t.multistatus.response[0].propstat&&(n=t.multistatus.response[0])}catch{}if(!n)throw new Error("Failed getting item stat: bad response");const{propstat:{prop:i,status:s}}=n,[o,a,l]=s.split(" ",3),c=parseInt(a,10);if(c>=400){const u=new Error(`Invalid response: ${c} ${l}`);throw u.status=c,u}return Rr(i,Ht(e),r)}function cg(t){switch(String(t)){case"-3":return"unlimited";case"-2":case"-1":return"unknown";default:return parseInt(String(t),10)}}function _n(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const $n=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const{details:n=!1}=r,i=ie({url:G(t.remoteURL,W(e)),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,r);return _n(ne(i,t),(function(s){return se(t,s),_n(s.text(),(function(o){return _n(Jt(o,t.parsing),(function(a){const l=lg(a,e,n);return Nt(s,l,n)}))}))}))}));function Bo(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const fg=jo((function(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=(function(s){if(!s||s==="/")return[];let o=s;const a=[];do a.push(o),o=Nr().dirname(o);while(o&&o!=="/");return a})(Ht(e));n.sort(((s,o)=>s.length>o.length?1:o.length>s.length?-1:0));let i=!1;return(function(s,o,a){if(typeof s[Vo]=="function"){let m=function(b){try{for(;!(l=h.next()).done;)if((b=o(l.value))&&b.then){if(!Do(b))return void b.then(m,u||(u=we.bind(null,c=new Pt,2)));b=b.v}c?we(c,1,b):c=b}catch(T){we(c||(c=new Pt),2,T)}};var l,c,u,h=s[Vo]();if(m(),h.return){var d=function(b){try{l.done||h.return()}catch{}return b};if(c&&c.then)return c.then(d,(function(b){throw d(b)}));d()}return c}if(!("length"in s))throw new TypeError("Object is not iterable");for(var y=[],g=0;g2&&arguments[2]!==void 0?arguments[2]:{};if(r.recursive===!0)return fg(t,e,r);const n=ie({url:G(t.remoteURL,(i=W(e),i.endsWith("/")?i:i+"/")),method:"MKCOL"},t,r);var i;return Bo(ne(n,t),(function(s){se(t,s)}))}));var pg=H(388),Ho=H.n(pg);const dg=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n={};if(typeof r.range=="object"&&typeof r.range.start=="number"){let a=`bytes=${r.range.start}-`;typeof r.range.end=="number"&&(a=`${a}${r.range.end}`),n.Range=a}const i=ie({url:G(t.remoteURL,W(e)),method:"GET",headers:n},t,r);return o=function(a){if(se(t,a),n.Range&&a.status!==206){const l=new Error(`Invalid response code for partial request: ${a.status}`);throw l.status=a.status,l}return r.callback&&setTimeout((()=>{r.callback(a)}),0),a.body},(s=ne(i,t))&&s.then||(s=Promise.resolve(s)),o?s.then(o):s;var s,o})),gg=()=>{},mg=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e)),method:"DELETE"},t,r);return s=function(o){se(t,o)},(i=ne(n,t))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s})),bg=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};return(function(n,i){try{var s=(o=$n(t,e,r),a=function(){return!0},l?a?a(o):o:(o&&o.then||(o=Promise.resolve(o)),a?o.then(a):o))}catch(c){return i(c)}var o,a,l;return s&&s.then?s.then(void 0,i):s})(0,(function(n){if(n.status===404)return!1;throw n}))}));function kn(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const wg=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e),"/"),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:r.deep?"infinity":"1"}},t,r);return kn(ne(n,t),(function(i){return se(t,i),kn(i.text(),(function(s){if(!s)throw new Error("Failed parsing directory contents: Empty response");return kn(Jt(s,t.parsing),(function(o){const a=to(e);let l=(function(c,u,h){let d=arguments.length>3&&arguments[3]!==void 0&&arguments[3],y=arguments.length>4&&arguments[4]!==void 0&&arguments[4];const g=Nr().join(u,"/"),{multistatus:{response:m}}=c,b=m.map((T=>{const E=(function(A){try{return A.replace(/^https?:\/\/[^\/]+/,"")}catch(I){throw new me(I,"Failed normalising HREF")}})(T.href),{propstat:{prop:v}}=T;return Rr(v,g==="/"?decodeURIComponent(Ht(E)):Ht(Nr().relative(decodeURIComponent(g),decodeURIComponent(E))),d)}));return y?b:b.filter((T=>T.basename&&(T.type==="file"||T.filename!==h.replace(/\/$/,""))))})(o,to(t.remoteBasePath||t.remotePath),a,r.details,r.includeSelf);return r.glob&&(l=(function(c,u){return c.filter((h=>pe(h.filename,u,{matchBase:!0})))})(l,r.glob)),Nt(i,l,r.details)}))}))}))}));function Bn(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e)),method:"GET",headers:{Accept:"text/plain"},transformResponse:[Tg]},t,r);return Fr(ne(n,t),(function(i){return se(t,i),Fr(i.text(),(function(s){return Nt(i,s,r.details)}))}))}));function Fr(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Eg=Bn((function(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e)),method:"GET"},t,r);return Fr(ne(n,t),(function(i){let s;return se(t,i),(function(o,a){var l=o();return l&&l.then?l.then(a):a()})((function(){return Fr(i.arrayBuffer(),(function(o){s=o}))}),(function(){return Nt(i,s,r.details)}))}))})),vg=Bn((function(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{format:n="binary"}=r;if(n!=="binary"&&n!=="text")throw new me({info:{code:Je.InvalidOutputFormat}},`Invalid output format: ${n}`);return n==="text"?xg(t,e,r):Eg(t,e,r)})),Tg=t=>t;function Ng(t,e){let r="";return e.format&&e.indentBy.length>0&&(r=` +`),zo(t,e,"",r)}function zo(t,e,r,n){let i="",s=!1;for(let o=0;o`,s=!1;continue}if(l===e.commentPropName){i+=n+``,s=!0;continue}if(l[0]==="?"){const y=qo(a[":@"],e),g=l==="?xml"?"":n;let m=a[l][0][e.textNodeName];m=m.length!==0?" "+m:"",i+=g+`<${l}${m}${y}?>`,s=!0;continue}let u=n;u!==""&&(u+=e.indentBy);const h=n+`<${l}${qo(a[":@"],e)}`,d=zo(a[l],e,c,u);e.unpairedTags.indexOf(l)!==-1?e.suppressUnpairedNode?i+=h+">":i+=h+"/>":d&&d.length!==0||!e.suppressEmptyNode?d&&d.endsWith(">")?i+=h+`>${d}${n}`:(i+=h+">",d&&n!==""&&(d.includes("/>")||d.includes("`):i+=h+"/>",s=!0}return i}function Ag(t){const e=Object.keys(t);for(let r=0;r0&&e.processEntities)for(let r=0;r","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Ye(t){this.options=Object.assign({},Sg,t),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=Io(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Cg),this.processTextOrObjNode=Ig,this.options.format?(this.indentate=Og,this.tagEndChar=`> +`,this.newLine=` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function Ig(t,e,r,n){const i=this.j2x(t,r+1,n.concat(e));return t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,i.attrStr,r):this.buildObjectNode(i.val,e,i.attrStr,r)}function Og(t){return this.options.indentBy.repeat(t)}function Cg(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}function Rg(t){return new Ye({attributeNamePrefix:"@_",format:!0,ignoreAttributes:!1,suppressEmptyNode:!0}).build(Go({lockinfo:{"@_xmlns:d":"DAV:",lockscope:{exclusive:{}},locktype:{write:{}},owner:{href:t}}},"d"))}function Go(t,e){const r={...t};for(const n in r)r.hasOwnProperty(n)&&(r[n]&&typeof r[n]=="object"&&n.indexOf(":")===-1?(r[`${e}:${n}`]=Go(r[n],e),delete r[n]):/^@_/.test(n)===!1&&(r[`${e}:${n}`]=r[n],delete r[n]));return r}function jn(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}function Ko(t){return function(){for(var e=[],r=0;r1&&(t={[this.options.arrayNodeName]:t}),this.j2x(t,0,[]).val)},Ye.prototype.j2x=function(t,e,r){let n="",i="";const s=r.join(".");for(let o in t)if(Object.prototype.hasOwnProperty.call(t,o))if(t[o]===void 0)this.isAttribute(o)&&(i+="");else if(t[o]===null)this.isAttribute(o)||o===this.options.cdataPropName?i+="":o[0]==="?"?i+=this.indentate(e)+"<"+o+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+o+"/"+this.tagEndChar;else if(t[o]instanceof Date)i+=this.buildTextValNode(t[o],o,"",e);else if(typeof t[o]!="object"){const a=this.isAttribute(o);if(a&&!this.ignoreAttributesFn(a,s))n+=this.buildAttrPairStr(a,""+t[o]);else if(!a)if(o===this.options.textNodeName){let l=this.options.tagValueProcessor(o,""+t[o]);i+=this.replaceEntitiesValue(l)}else i+=this.buildTextValNode(t[o],o,"",e)}else if(Array.isArray(t[o])){const a=t[o].length;let l="",c="";for(let u=0;u`+this.newLine:this.indentate(n)+"<"+e+r+s+this.tagEndChar+t+this.indentate(n)+i:this.indentate(n)+"<"+e+r+s+">"+t+i}},Ye.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(this.options.commentPropName!==!1&&e===this.options.commentPropName)return this.indentate(n)+``+this.newLine;if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),i===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+i+"0&&this.options.processEntities)for(let e=0;e3&&arguments[3]!==void 0?arguments[3]:{};const i=ie({url:G(t.remoteURL,W(e)),method:"UNLOCK",headers:{"Lock-Token":r}},t,n);return jn(ne(i,t),(function(s){if(se(t,s),s.status!==204&&s.status!==200)throw Cn(s)}))})),Lg=Ko((function(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{refreshToken:n,timeout:i=_g}=r,s={Accept:"text/plain,application/xml",Timeout:i};n&&(s.If=n);const o=ie({url:G(t.remoteURL,W(e)),method:"LOCK",headers:s,data:Rg(t.contactHref)},t,r);return jn(ne(o,t),(function(a){return se(t,a),jn(a.text(),(function(l){const c=(d=l,new Uo({removeNSPrefix:!0,parseAttributeValue:!0,parseTagValue:!0}).parse(d)),u=qe().get(c,"prop.lockdiscovery.activelock.locktoken.href"),h=qe().get(c,"prop.lockdiscovery.activelock.timeout");var d;if(!u)throw Cn(a,"No lock token received: ");return{token:u,serverTimeout:h}}))}))})),_g="Infinite, Second-4100000000";function Mn(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const $g=(function(t){return function(){for(var e=[],r=0;r1&&arguments[1]!==void 0?arguments[1]:{};const r=e.path||"/",n=ie({url:G(t.remoteURL,r),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,e);return Mn(ne(n,t),(function(i){return se(t,i),Mn(i.text(),(function(s){return Mn(Jt(s,t.parsing),(function(o){const a=(function(l){try{const[c]=l.multistatus.response,{propstat:{prop:{"quota-used-bytes":u,"quota-available-bytes":h}}}=c;return u!==void 0&&h!==void 0?{used:parseInt(String(u),10),available:cg(h)}:null}catch{}return null})(o);return Nt(i,a,e.details)}))}))}))}));function Vn(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Ug=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const{details:n=!1}=r,i=ie({url:G(t.remoteURL,W(e)),method:"SEARCH",headers:{Accept:"text/plain,application/xml","Content-Type":t.headers["Content-Type"]||"application/xml; charset=utf-8"}},t,r);return Vn(ne(i,t),(function(s){return se(t,s),Vn(s.text(),(function(o){return Vn(Jt(o,t.parsing),(function(a){const l=(function(c,u,h){const d={truncated:!1,results:[]};return d.truncated=c.multistatus.response.some((y=>(y.status||y.propstat?.status).split(" ",3)?.[1]==="507"&&y.href.replace(/\/$/,"").endsWith(W(u).replace(/\/$/,"")))),c.multistatus.response.forEach((y=>{if(y.propstat===void 0)return;const g=y.href.split("/").map(decodeURIComponent).join("/");d.results.push(Rr(y.propstat.prop,g,h))})),d})(a,e,n);return Nt(s,l,n)}))}))}))})),kg=(function(t){return function(){for(var e=[],r=0;r3&&arguments[3]!==void 0?arguments[3]:{};const i=ie({url:G(t.remoteURL,W(e)),method:"MOVE",headers:{Destination:G(t.remoteURL,W(r)),Overwrite:n.overwrite===!1?"F":"T"}},t,n);return o=function(a){se(t,a)},(s=ne(i,t))&&s.then||(s=Promise.resolve(s)),o?s.then(o):s;var s,o}));var Bg=H(172);function jg(t){if(ho(t))return t.byteLength;if(po(t))return t.length;if(typeof t=="string")return(0,Bg.d)(t);throw new me({info:{code:Je.DataTypeNoLength}},"Cannot calculate data length: Invalid type")}const Mg=(function(t){return function(){for(var e=[],r=0;r3&&arguments[3]!==void 0?arguments[3]:{};const{contentLength:i=!0,overwrite:s=!0}=n,o={"Content-Type":"application/octet-stream"};i===!1||(o["Content-Length"]=typeof i=="number"?`${i}`:`${jg(r)}`),s||(o["If-None-Match"]="*");const a=ie({url:G(t.remoteURL,W(e)),method:"PUT",headers:o,data:r},t,n);return c=function(u){try{se(t,u)}catch(h){const d=h;if(d.status!==412||s)throw d;return!1}return!0},(l=ne(a,t))&&l.then||(l=Promise.resolve(l)),c?l.then(c):l;var l,c})),Jo=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e)),method:"OPTIONS"},t,r);return s=function(o){try{se(t,o)}catch(a){throw a}return{compliance:(o.headers.get("DAV")??"").split(",").map((a=>a.trim())),server:o.headers.get("Server")??""}},(i=ne(n,t))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s}));function Yt(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Vg=Dn((function(t,e,r,n,i){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(r>n||r<0)throw new me({info:{code:Je.InvalidUpdateRange}},`Invalid update range ${r} for partial update`);const o={"Content-Type":"application/octet-stream","Content-Length":""+(n-r+1),"Content-Range":`bytes ${r}-${n}/*`},a=ie({url:G(t.remoteURL,W(e)),method:"PUT",headers:o,data:i},t,s);return Yt(ne(a,t),(function(l){se(t,l)}))}));function Yo(t,e){var r=t();return r&&r.then?r.then(e):e(r)}const Dg=Dn((function(t,e,r,n,i){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(r>n||r<0)throw new me({info:{code:Je.InvalidUpdateRange}},`Invalid update range ${r} for partial update`);const o={"Content-Type":"application/x-sabredav-partialupdate","Content-Length":""+(n-r+1),"X-Update-Range":`bytes=${r}-${n}`},a=ie({url:G(t.remoteURL,W(e)),method:"PATCH",headers:o,data:i},t,s);return Yt(ne(a,t),(function(l){se(t,l)}))}));function Dn(t){return function(){for(var e=[],r=0;r5&&arguments[5]!==void 0?arguments[5]:{};return Yt(Jo(t,e,s),(function(o){let a=!1;return Yo((function(){if(o.compliance.includes("sabredav-partialupdate"))return Yt(Dg(t,e,r,n,i,s),(function(l){return a=!0,l}))}),(function(l){let c=!1;return a?l:Yo((function(){if(o.server.includes("Apache")&&o.compliance.includes(""))return Yt(Vg(t,e,r,n,i,s),(function(u){return c=!0,u}))}),(function(u){if(c)return u;throw new me({info:{code:Je.NotSupported}},"Not supported")}))}))}))})),zg="https://github.com/perry-mitchell/webdav-client/blob/master/LOCK_CONTACT.md";function qg(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{authType:r=null,remoteBasePath:n,contactHref:i=zg,ha1:s,headers:o={},httpAgent:a,httpsAgent:l,password:c,token:u,username:h,withCredentials:d}=e;let y=r;y||(y=h||c?Te.Password:Te.None);const g={authType:y,remoteBasePath:n,contactHref:i,ha1:s,headers:Object.assign({},o),httpAgent:a,httpsAgent:l,password:c,parsing:{attributeNamePrefix:e.attributeNamePrefix??"@",attributeParsers:[],tagParsers:[ko]},remotePath:Xp(t),remoteURL:t,token:u,username:h,withCredentials:d};return uo(g,h,c,u,s),{copyFile:(m,b,T)=>Ld(g,m,b,T),createDirectory:(m,b)=>Un(g,m,b),createReadStream:(m,b)=>(function(T,E){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const A=new(Ho()).PassThrough;return dg(T,E,v).then((I=>{I.pipe(A)})).catch((I=>{A.emit("error",I)})),A})(g,m,b),createWriteStream:(m,b,T)=>(function(E,v){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:gg;const F=new(Ho()).PassThrough,L={};A.overwrite===!1&&(L["If-None-Match"]="*");const $=ie({url:G(E.remoteURL,W(v)),method:"PUT",headers:L,data:F,maxRedirects:0},E,A);return ne($,E).then((_=>se(E,_))).then((_=>{setTimeout((()=>{I(_)}),0)})).catch((_=>{F.emit("error",_)})),F})(g,m,b,T),customRequest:(m,b)=>mg(g,m,b),deleteFile:(m,b)=>yg(g,m,b),exists:(m,b)=>bg(g,m,b),getDirectoryContents:(m,b)=>wg(g,m,b),getFileContents:(m,b)=>vg(g,m,b),getFileDownloadLink:m=>(function(b,T){let E=G(b.remoteURL,W(T));const v=/^https:/i.test(E)?"https":"http";switch(b.authType){case Te.None:break;case Te.Password:{const A=so(b.headers.Authorization.replace(/^Basic /i,"").trim());E=E.replace(/^https?:\/\//,`${v}://${A}@`);break}default:throw new me({info:{code:Je.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${b.authType}`)}return E})(g,m),getFileUploadLink:m=>(function(b,T){let E=`${G(b.remoteURL,W(T))}?Content-Type=application/octet-stream`;const v=/^https:/i.test(E)?"https":"http";switch(b.authType){case Te.None:break;case Te.Password:{const A=so(b.headers.Authorization.replace(/^Basic /i,"").trim());E=E.replace(/^https?:\/\//,`${v}://${A}@`);break}default:throw new me({info:{code:Je.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${b.authType}`)}return E})(g,m),getHeaders:()=>Object.assign({},g.headers),getQuota:m=>$g(g,m),lock:(m,b)=>Lg(g,m,b),moveFile:(m,b,T)=>kg(g,m,b,T),putFileContents:(m,b,T)=>Mg(g,m,b,T),partialUpdateFileContents:(m,b,T,E,v)=>Hg(g,m,b,T,E,v),getDAVCompliance:m=>Jo(g,m),search:(m,b)=>Ug(g,m,b),setHeaders:m=>{g.headers=Object.assign({},m)},stat:(m,b)=>$n(g,m,b),unlock:(m,b,T)=>Fg(g,m,b,T),registerAttributeParser:m=>{g.parsing.attributeParsers.push(m)},registerTagParser:m=>{g.parsing.tagParsers.push(m)}}}const ue=[];for(let t=0;t<256;++t)ue.push((t+256).toString(16).slice(1));function Wg(t,e=0){return(ue[t[e+0]]+ue[t[e+1]]+ue[t[e+2]]+ue[t[e+3]]+"-"+ue[t[e+4]]+ue[t[e+5]]+"-"+ue[t[e+6]]+ue[t[e+7]]+"-"+ue[t[e+8]]+ue[t[e+9]]+"-"+ue[t[e+10]]+ue[t[e+11]]+ue[t[e+12]]+ue[t[e+13]]+ue[t[e+14]]+ue[t[e+15]]).toLowerCase()}let Hn;const Gg=new Uint8Array(16);function Kg(){if(!Hn){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Hn=crypto.getRandomValues.bind(crypto)}return Hn(Gg)}var Xo={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Jg(t,e,r){t=t||{};const n=t.random??t.rng?.()??Kg();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,Wg(n)}function Yg(t,e,r){return Xo.randomUUID&&!t?Xo.randomUUID():Jg(t)}const zn=(t,e)=>Object.fromEntries(Object.entries(t).map(([r,n])=>e.includes(r)?[r,n||""]:[st.DavNamespace.includes(r)?`d:${r}`:`oc:${r}`,n||""])),Zo=(t=[],{pattern:e,filterRules:r,limit:n=0,extraProps:i=[]})=>{let s="d:propfind";e&&(s="oc:search-files"),r&&(s="oc:filter-files");const o=t.reduce((u,h)=>Object.assign(u,{[h]:null}),{}),a=zn(o,i),l={[s]:{"d:prop":a,"@@xmlns:d":"DAV:","@@xmlns:oc":"http://owncloud.org/ns",...e&&{"oc:search":{"oc:pattern":e,"oc:limit":n}},...r&&{"oc:filter-rules":zn(r,[])}}};return new Pe({format:!0,ignoreAttributes:!1,attributeNamePrefix:"@@",suppressEmptyNode:!0}).build(l)},Xg=t=>{const e={"d:propertyupdate":{"d:set":{"d:prop":zn(t,[])},"@@xmlns:d":"DAV:","@@xmlns:oc":"http://owncloud.org/ns"}};return new Pe({format:!0,ignoreAttributes:!1,attributeNamePrefix:"@@",suppressEmptyNode:!0}).build(e)},Zg=t=>{const e={},r=t.get("tus-version");return r?(e.version=r.split(","),t.get("tus-extension")&&(e.extension=t.get("tus-extension").split(",")),t.get("tus-resumable")&&(e.resumable=t.get("tus-resumable")),t.get("tus-max-size")&&(e.maxSize=parseInt(t.get("tus-max-size"),10)),e):null},Qg=async t=>{const e=n=>{const i=decodeURIComponent(n);return n?.startsWith("/remote.php/dav/")?B(i.replace("/remote.php/dav/",""),{leadingSlash:!0,trailingSlash:!1}):i};return(await Jt(t)).multistatus.response.map(({href:n,propstat:i})=>{const s={...Rr(i.prop,e(n),!0),processing:i.status==="HTTP/1.1 425 TOO EARLY"};return s.props.name&&(s.props.name=s.props.name.toString()),s})},e0=t=>{const e=new Gs,r={message:"Unknown error",errorCode:void 0};try{const n=e.parse(t);if(!n["d:error"])return r;if(n["d:error"]["s:message"]){const i=n["d:error"]["s:message"];typeof i=="string"&&(r.message=i)}if(n["d:error"]["s:errorcode"]){const i=n["d:error"]["s:errorcode"];typeof i=="string"&&(r.errorCode=i)}}catch{return r}return r};class t0{client;davPath;headers;extraProps;constructor({baseUrl:e,headers:r}){this.davPath=B(e,"remote.php/dav"),this.client=qg(this.davPath,{}),this.headers=r,this.extraProps=[]}mkcol(e,r={}){return this.request(e,{method:De.mkcol,...r})}async propfind(e,{depth:r=1,properties:n=[],headers:i={},...s}={}){const o={...i,Depth:r.toString()},{body:a,result:l}=await this.request(e,{method:De.propfind,data:Zo(n,{extraProps:this.extraProps}),headers:o,...s});return a?.length&&(a[0].tusSupport=Zg(l.headers)),a}async report(e,{pattern:r="",filterRules:n=null,limit:i=30,properties:s,...o}={}){const{body:a,result:l}=await this.request(e,{method:De.report,data:Zo(s,{pattern:r,filterRules:n,limit:i,extraProps:this.extraProps}),...o});return{results:a,range:l.headers.get("content-range")}}copy(e,r,{overwrite:n=!1,headers:i={},...s}={}){const o=B(this.davPath,fr(r));return this.request(e,{method:De.copy,headers:{...i,Destination:o,overwrite:n?"T":"F"},...s})}move(e,r,{overwrite:n=!1,headers:i={},...s}={}){const o=B(this.davPath,fr(r));return this.request(e,{method:De.move,headers:{...i,Destination:o,overwrite:n?"T":"F"},...s})}put(e,r,{headers:n={},onUploadProgress:i,previousEntityTag:s,overwrite:o,...a}={}){const l={...n};return s?l["If-Match"]=s:o||(l["If-None-Match"]="*"),this.request(e,{method:De.put,data:r,headers:l,onUploadProgress:i,...a})}delete(e,r={}){return this.request(e,{method:De.delete,...r})}propPatch(e,r,n={}){const i=Xg(r);return this.request(e,{method:De.proppatch,data:i,...n})}getFileUrl(e){return B(this.davPath,fr(e))}buildHeaders(e={}){return{"Content-Type":"application/xml; charset=utf-8","X-Requested-With":"XMLHttpRequest","X-Request-ID":Yg(),...this.headers&&{...this.headers()},...e}}async request(e,r){const n=B(this.davPath,fr(e),{leadingSlash:!0}),i={...r,url:n,headers:this.buildHeaders(r.headers||{})};try{const s=await this.client.customRequest("",i);let o;if(s.status===207){const a=await s.text();o=await Qg(a)}return{body:o,status:s.status,result:s}}catch(s){const{response:o}=s,a=await o.text(),l=e0(a);throw new al(l.message,l.errorCode,o,o.status)}}}const r0=(t,e)=>({async listFileVersions(r,n={}){const[i,...s]=await t.propfind(B("meta",r,"v",{leadingSlash:!0}),n);return s.map(o=>xt(o,t.extraProps))}}),n0=(t,e)=>({setFavorite(r,{path:n},i,s={}){const o={[C.IsFavorite]:i?"true":"false"};return t.propPatch(B(r.webDavPath,n),o,s)}}),i0=(t,e)=>({listFavoriteFiles({davProperties:r=st.Default,username:n="",...i}={}){return t.report(B("files",n),{properties:r,filterRules:{favorite:1},...i})}}),s0=(t,e)=>{const r=Q.create();e&&r.interceptors.request.use(R=>(Object.assign(R.headers,e()),R));const n={axiosClient:r,baseUrl:t},i=new t0({baseUrl:t,headers:e}),s=R=>{i.extraProps.push(R)},o=Wp(i),{getPathForFileId:a}=o,l=Bp(i,o),{listFiles:c}=l,u=$p(l),{getFileInfo:h}=u,{createFolder:d}=Lp(i,u),y=_p(i,n),{getFileContents:g}=y,{putFileContents:m}=Mp(i,u),{getFileUrl:b,revokeUrl:T}=Up(i,y,u,n),{getPublicFileUrl:E}=kp(i),{copyFiles:v}=Fp(i),{moveFiles:A}=jp(i),{deleteFile:I}=Vp(i),{restoreFile:F}=Dp(i),{listFileVersions:L}=r0(i),{restoreFileVersion:$}=Hp(i),{clearTrashBin:_}=zp(i),{search:j}=qp(i),{listFavoriteFiles:de}=i0(i),{setFavorite:oe}=n0(i);return{copyFiles:v,createFolder:d,deleteFile:I,restoreFile:F,restoreFileVersion:$,getFileContents:g,getFileInfo:h,getFileUrl:b,getPublicFileUrl:E,getPathForFileId:a,listFiles:c,listFileVersions:L,moveFiles:A,putFileContents:m,revokeUrl:T,clearTrashBin:_,search:j,listFavoriteFiles:de,setFavorite:oe,registerExtraProp:s}};let Xt;self.onmessage=async t=>{const{topic:e,data:r}=JSON.parse(t.data);if(e==="tokenUpdate"&&Xt){Xt.Authorization?.toString().startsWith("Bearer")&&(Xt.Authorization=r.accessToken);return}const{baseUrl:n,headers:i,space:s,resources:o,concurrentRequests:a}=r;Xt=i;const l=s0(n,()=>Xt),c=[],u=[],h=new da({concurrency:a}),d=g=>e==="fileListDelete"?l.deleteFile(s,{path:g.path}):l.clearTrashBin(s,{id:g.id}),y=o.map(g=>h.add(async()=>{try{const{status:m}=await d(g);if(m===204){c.push(g);return}if(m===423){const{status:b}=await d(g);if(b===204){c.push(g);return}}}catch(m){console.error(m),u.push({resource:g,message:m.message,statusCode:m.statusCode,xReqId:m.response.headers?.get("x-request-id")})}}));await Promise.allSettled(y),postMessage(JSON.stringify({successful:c,failed:u}))}})(); diff --git a/web-dist/assets/worker-BRWaI2hx.js.gz b/web-dist/assets/worker-BRWaI2hx.js.gz new file mode 100644 index 0000000000..0ebd83f298 Binary files /dev/null and b/web-dist/assets/worker-BRWaI2hx.js.gz differ diff --git a/web-dist/assets/worker-CLot5EGZ.js b/web-dist/assets/worker-CLot5EGZ.js new file mode 100644 index 0000000000..684d39d3f3 --- /dev/null +++ b/web-dist/assets/worker-CLot5EGZ.js @@ -0,0 +1,21 @@ +(function(){"use strict";function Jn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var $r={exports:{}},Yn;function ua(){return Yn||(Yn=1,(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(l,c,u){this.fn=l,this.context=c,this.once=u||!1}function s(l,c,u,h,d){if(typeof u!="function")throw new TypeError("The listener must be a function");var y=new i(u,h||l,d),g=r?r+c:c;return l._events[g]?l._events[g].fn?l._events[g]=[l._events[g],y]:l._events[g].push(y):(l._events[g]=y,l._eventsCount++),l}function o(l,c){--l._eventsCount===0?l._events=new n:delete l._events[c]}function a(){this._events=new n,this._eventsCount=0}a.prototype.eventNames=function(){var c=[],u,h;if(this._eventsCount===0)return c;for(h in u=this._events)e.call(u,h)&&c.push(r?h.slice(1):h);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(u)):c},a.prototype.listeners=function(c){var u=r?r+c:c,h=this._events[u];if(!h)return[];if(h.fn)return[h.fn];for(var d=0,y=h.length,g=new Array(y);dt.reason??new DOMException("This operation was aborted.","AbortError");function fa(t,e){const{milliseconds:r,fallback:n,message:i,customTimers:s={setTimeout,clearTimeout},signal:o}=e;let a,l;const u=new Promise((h,d)=>{if(typeof r!="number"||Math.sign(r)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${r}\``);if(o?.aborted){d(Xn(o));return}if(o&&(l=()=>{d(Xn(o))},o.addEventListener("abort",l,{once:!0})),t.then(h,d),r===Number.POSITIVE_INFINITY)return;const y=new Ur;a=s.setTimeout.call(void 0,()=>{if(n){try{h(n())}catch(g){d(g)}return}typeof t.cancel=="function"&&t.cancel(),i===!1?h():i instanceof Error?d(i):(y.message=i??`Promise timed out after ${r} milliseconds`,d(y))},r)}).finally(()=>{u.clear(),l&&o&&o.removeEventListener("abort",l)});return u.clear=()=>{s.clearTimeout.call(void 0,a),a=void 0},u}function ha(t,e,r){let n=0,i=t.length;for(;i>0;){const s=Math.trunc(i/2);let o=n+s;r(t[o],e)<=0?(n=++o,i-=s+1):i=s}return n}class pa{#e=[];enqueue(e,r){const{priority:n=0,id:i}=r??{},s={priority:n,id:i,run:e};if(this.size===0||this.#e[this.size-1].priority>=n){this.#e.push(s);return}const o=ha(this.#e,s,(a,l)=>l.priority-a.priority);this.#e.splice(o,0,s)}setPriority(e,r){const n=this.#e.findIndex(s=>s.id===e);if(n===-1)throw new ReferenceError(`No promise function with the id "${e}" exists in the queue.`);const[i]=this.#e.splice(n,1);this.enqueue(i.run,{priority:r,id:e})}dequeue(){return this.#e.shift()?.run}filter(e){return this.#e.filter(r=>r.priority===e.priority).map(r=>r.run)}get size(){return this.#e.length}}class da extends ca{#e;#r;#s=0;#t;#n=!1;#p=!1;#l;#g=0;#f=0;#c;#d;#h;#o=[];#a=0;#i;#S;#u=0;#w;#m;#F=1n;#x=new Map;timeout;constructor(e){if(super(),e={carryoverIntervalCount:!1,intervalCap:Number.POSITIVE_INFINITY,interval:0,concurrency:Number.POSITIVE_INFINITY,autoStart:!0,queueClass:pa,strict:!1,...e},!(typeof e.intervalCap=="number"&&e.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${e.intervalCap?.toString()??""}\` (${typeof e.intervalCap})`);if(e.interval===void 0||!(Number.isFinite(e.interval)&&e.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${e.interval?.toString()??""}\` (${typeof e.interval})`);if(e.strict&&e.interval===0)throw new TypeError("The `strict` option requires a non-zero `interval`");if(e.strict&&e.intervalCap===Number.POSITIVE_INFINITY)throw new TypeError("The `strict` option requires a finite `intervalCap`");if(this.#e=e.carryoverIntervalCount??e.carryoverConcurrencyCount??!1,this.#r=e.intervalCap===Number.POSITIVE_INFINITY||e.interval===0,this.#t=e.intervalCap,this.#l=e.interval,this.#h=e.strict,this.#i=new e.queueClass,this.#S=e.queueClass,this.concurrency=e.concurrency,e.timeout!==void 0&&!(Number.isFinite(e.timeout)&&e.timeout>0))throw new TypeError(`Expected \`timeout\` to be a positive finite number, got \`${e.timeout}\` (${typeof e.timeout})`);this.timeout=e.timeout,this.#m=e.autoStart===!1,this.#M()}#E(e){for(;this.#a=this.#l)this.#a++;else break}(this.#a>100&&this.#a>this.#o.length/2||this.#a===this.#o.length)&&(this.#o=this.#o.slice(this.#a),this.#a=0)}#L(e){this.#h?this.#o.push(e):this.#s++}#_(){this.#h?this.#o.length>this.#a&&this.#o.pop():this.#s>0&&this.#s--}#v(){return this.#o.length-this.#a}get#$(){return this.#r?!0:this.#h?this.#v()=this.#t){const n=this.#o[this.#a],i=this.#l-(e-n);return this.#T(i),!0}return!1}if(this.#c===void 0){const r=this.#g-e;if(r<0){if(this.#f>0){const n=e-this.#f;if(n{this.#B()},e))}#N(){this.#c&&(clearInterval(this.#c),this.#c=void 0)}#I(){this.#d&&(clearTimeout(this.#d),this.#d=void 0)}#A(){if(this.#i.size===0){if(this.#N(),this.emit("empty"),this.#u===0){if(this.#I(),this.#h&&this.#a>0){const r=Date.now();this.#E(r)}this.emit("idle")}return!1}let e=!1;if(!this.#m){const r=Date.now(),n=!this.#j(r);if(this.#$&&this.#U){const i=this.#i.dequeue();this.#r||(this.#L(r),this.#b()),this.emit("active"),i(),n&&this.#O(),e=!0}}return e}#O(){this.#r||this.#c!==void 0||this.#h||(this.#c=setInterval(()=>{this.#C()},this.#l),this.#g=Date.now()+this.#l)}#C(){this.#h||(this.#s===0&&this.#u===0&&this.#c&&this.#N(),this.#s=this.#e?this.#u:0),this.#P(),this.#b()}#P(){for(;this.#A(););}get concurrency(){return this.#w}set concurrency(e){if(!(typeof e=="number"&&e>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this.#w=e,this.#P()}setPriority(e,r){if(typeof r!="number"||!Number.isFinite(r))throw new TypeError(`Expected \`priority\` to be a finite number, got \`${r}\` (${typeof r})`);this.#i.setPriority(e,r)}async add(e,r={}){return r={timeout:this.timeout,...r,id:r.id??(this.#F++).toString()},new Promise((n,i)=>{const s=Symbol(`task-${r.id}`);this.#i.enqueue(async()=>{this.#u++,this.#x.set(s,{id:r.id,priority:r.priority??0,startTime:Date.now(),timeout:r.timeout});let o;try{try{r.signal?.throwIfAborted()}catch(c){throw this.#V(),this.#x.delete(s),c}this.#f=Date.now();let a=e({signal:r.signal});if(r.timeout&&(a=fa(Promise.resolve(a),{milliseconds:r.timeout,message:`Task timed out after ${r.timeout}ms (queue has ${this.#u} running, ${this.#i.size} waiting)`})),r.signal){const{signal:c}=r;a=Promise.race([a,new Promise((u,h)=>{o=()=>{h(c.reason)},c.addEventListener("abort",o,{once:!0})})])}const l=await a;n(l),this.emit("completed",l)}catch(a){i(a),this.emit("error",a)}finally{o&&r.signal?.removeEventListener("abort",o),this.#x.delete(s),queueMicrotask(()=>{this.#k()})}},r),this.emit("add"),this.#A()})}async addAll(e,r){return Promise.all(e.map(async n=>this.add(n,r)))}start(){return this.#m?(this.#m=!1,this.#P(),this):this}pause(){this.#m=!0}clear(){this.#i=new this.#S,this.#N(),this.#R(),this.emit("empty"),this.#u===0&&(this.#I(),this.emit("idle")),this.emit("next")}async onEmpty(){this.#i.size!==0&&await this.#y("empty")}async onSizeLessThan(e){this.#i.sizethis.#i.size{const n=i=>{this.off("error",n),r(i)};this.on("error",n)})}async#y(e,r){return new Promise(n=>{const i=()=>{r&&!r()||(this.off(e,i),n())};this.on(e,i)})}get size(){return this.#i.size}sizeBy(e){return this.#i.filter(e).length}get pending(){return this.#u}get isPaused(){return this.#m}#M(){this.#r||(this.on("add",()=>{this.#i.size>0&&this.#b()}),this.on("next",()=>{this.#b()}))}#b(){this.#r||this.#p||(this.#p=!0,queueMicrotask(()=>{this.#p=!1,this.#R()}))}#V(){this.#r||(this.#_(),this.#b())}#R(){const e=this.#n;if(this.#r||this.#i.size===0){e&&(this.#n=!1,this.emit("rateLimitCleared"));return}let r;if(this.#h){const i=Date.now();this.#E(i),r=this.#v()}else r=this.#s;const n=r>=this.#t;n!==e&&(this.#n=n,this.emit(n?"rateLimit":"rateLimitCleared"))}get isRateLimited(){return this.#n}get isSaturated(){return this.#u===this.#w&&this.#i.size>0||this.isRateLimited&&this.#i.size>0}get runningTasks(){return[...this.#x.values()].map(e=>({...e}))}}function ga(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Zn={exports:{}},Z=Zn.exports={},$e,Ue;function kr(){throw new Error("setTimeout has not been defined")}function Br(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?$e=setTimeout:$e=kr}catch{$e=kr}try{typeof clearTimeout=="function"?Ue=clearTimeout:Ue=Br}catch{Ue=Br}})();function Qn(t){if($e===setTimeout)return setTimeout(t,0);if(($e===kr||!$e)&&setTimeout)return $e=setTimeout,setTimeout(t,0);try{return $e(t,0)}catch{try{return $e.call(null,t,0)}catch{return $e.call(this,t,0)}}}function ma(t){if(Ue===clearTimeout)return clearTimeout(t);if((Ue===Br||!Ue)&&clearTimeout)return Ue=clearTimeout,clearTimeout(t);try{return Ue(t)}catch{try{return Ue.call(null,t)}catch{return Ue.call(this,t)}}}var Me=[],pt=!1,et,Qt=-1;function ya(){!pt||!et||(pt=!1,et.length?Me=et.concat(Me):Qt=-1,Me.length&&ei())}function ei(){if(!pt){var t=Qn(ya);pt=!0;for(var e=Me.length;e;){for(et=Me,Me=[];++Qt1)for(var r=1;r2){var d=o.lastIndexOf("/");if(d!==o.length-1){d===-1?(o="",a=0):(o=o.slice(0,d),a=o.length-1-o.lastIndexOf("/")),l=h,c=0;continue}}else if(o.length===2||o.length===1){o="",a=0,l=h,c=0;continue}}s&&(o.length>0?o+="/..":o="..",a=2)}else o.length>0?o+="/"+i.slice(l+1,h):o=i.slice(l+1,h),a=h-l-1;l=h,c=0}else u===46&&c!==-1?++c:c=-1}return o}function r(i,s){var o=s.dir||s.root,a=s.base||(s.name||"")+(s.ext||"");return o?o===s.root?o+a:o+i+a:a}var n={resolve:function(){for(var s="",o=!1,a,l=arguments.length-1;l>=-1&&!o;l--){var c;l>=0?c=arguments[l]:(a===void 0&&(a=tt.cwd()),c=a),t(c),c.length!==0&&(s=c+"/"+s,o=c.charCodeAt(0)===47)}return s=e(s,!o),o?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(t(s),s.length===0)return".";var o=s.charCodeAt(0)===47,a=s.charCodeAt(s.length-1)===47;return s=e(s,!o),s.length===0&&!o&&(s="."),s.length>0&&a&&(s+="/"),o?"/"+s:s},isAbsolute:function(s){return t(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,o=0;o0&&(s===void 0?s=a:s+="/"+a)}return s===void 0?".":n.normalize(s)},relative:function(s,o){if(t(s),t(o),s===o||(s=n.resolve(s),o=n.resolve(o),s===o))return"";for(var a=1;ay){if(o.charCodeAt(u+m)===47)return o.slice(u+m+1);if(m===0)return o.slice(u+m)}else c>y&&(s.charCodeAt(a+m)===47?g=m:m===0&&(g=0));break}var b=s.charCodeAt(a+m),T=o.charCodeAt(u+m);if(b!==T)break;b===47&&(g=m)}var E="";for(m=a+g+1;m<=l;++m)(m===l||s.charCodeAt(m)===47)&&(E.length===0?E+="..":E+="/..");return E.length>0?E+o.slice(u+g):(u+=g,o.charCodeAt(u)===47&&++u,o.slice(u))},_makeLong:function(s){return s},dirname:function(s){if(t(s),s.length===0)return".";for(var o=s.charCodeAt(0),a=o===47,l=-1,c=!0,u=s.length-1;u>=1;--u)if(o=s.charCodeAt(u),o===47){if(!c){l=u;break}}else c=!1;return l===-1?a?"/":".":a&&l===1?"//":s.slice(0,l)},basename:function(s,o){if(o!==void 0&&typeof o!="string")throw new TypeError('"ext" argument must be a string');t(s);var a=0,l=-1,c=!0,u;if(o!==void 0&&o.length>0&&o.length<=s.length){if(o.length===s.length&&o===s)return"";var h=o.length-1,d=-1;for(u=s.length-1;u>=0;--u){var y=s.charCodeAt(u);if(y===47){if(!c){a=u+1;break}}else d===-1&&(c=!1,d=u+1),h>=0&&(y===o.charCodeAt(h)?--h===-1&&(l=u):(h=-1,l=d))}return a===l?l=d:l===-1&&(l=s.length),s.slice(a,l)}else{for(u=s.length-1;u>=0;--u)if(s.charCodeAt(u)===47){if(!c){a=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":s.slice(a,l)}},extname:function(s){t(s);for(var o=-1,a=0,l=-1,c=!0,u=0,h=s.length-1;h>=0;--h){var d=s.charCodeAt(h);if(d===47){if(!c){a=h+1;break}continue}l===-1&&(c=!1,l=h+1),d===46?o===-1?o=h:u!==1&&(u=1):o!==-1&&(u=-1)}return o===-1||l===-1||u===0||u===1&&o===l-1&&o===a+1?"":s.slice(o,l)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return r("/",s)},parse:function(s){t(s);var o={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return o;var a=s.charCodeAt(0),l=a===47,c;l?(o.root="/",c=1):c=0;for(var u=-1,h=0,d=-1,y=!0,g=s.length-1,m=0;g>=c;--g){if(a=s.charCodeAt(g),a===47){if(!y){h=g+1;break}continue}d===-1&&(y=!1,d=g+1),a===46?u===-1?u=g:m!==1&&(m=1):u!==-1&&(m=-1)}return u===-1||d===-1||m===0||m===1&&u===d-1&&u===h+1?d!==-1&&(h===0&&l?o.base=o.name=s.slice(1,d):o.base=o.name=s.slice(h,d)):(h===0&&l?(o.name=s.slice(1,u),o.base=s.slice(1,d)):(o.name=s.slice(h,u),o.base=s.slice(h,d)),o.ext=s.slice(u,d)),h>0?o.dir=s.slice(0,h-1):l&&(o.dir="/"),o},sep:"/",delimiter:":",win32:null,posix:null};return n.posix=n,jr=n,jr}var Mr=wa(),ni=Jn(Mr);const Fe=globalThis||void 0||self;function ii(t,e){return function(){return t.apply(e,arguments)}}const{toString:xa}=Object.prototype,{getPrototypeOf:Vr}=Object,{iterator:er,toStringTag:si}=Symbol,tr=(t=>e=>{const r=xa.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Le=t=>(t=t.toLowerCase(),e=>tr(e)===t),rr=t=>e=>typeof e===t,{isArray:dt}=Array,gt=rr("undefined");function Ot(t){return t!==null&&!gt(t)&&t.constructor!==null&&!gt(t.constructor)&&xe(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const oi=Le("ArrayBuffer");function Ea(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&oi(t.buffer),e}const va=rr("string"),xe=rr("function"),ai=rr("number"),Ct=t=>t!==null&&typeof t=="object",Ta=t=>t===!0||t===!1,nr=t=>{if(tr(t)!=="object")return!1;const e=Vr(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(si in t)&&!(er in t)},Na=t=>{if(!Ct(t)||Ot(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},Aa=Le("Date"),Pa=Le("File"),Sa=t=>!!(t&&typeof t.uri<"u"),Ia=t=>t&&typeof t.getParts<"u",Oa=Le("Blob"),Ca=Le("FileList"),Ra=t=>Ct(t)&&xe(t.pipe);function Fa(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Fe<"u"?Fe:{}}const ui=Fa(),li=typeof ui.FormData<"u"?ui.FormData:void 0,La=t=>{let e;return t&&(li&&t instanceof li||xe(t.append)&&((e=tr(t))==="formdata"||e==="object"&&xe(t.toString)&&t.toString()==="[object FormData]"))},_a=Le("URLSearchParams"),[$a,Ua,ka,Ba]=["ReadableStream","Request","Response","Headers"].map(Le),ja=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rt(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,i;if(typeof t!="object"&&(t=[t]),dt(t))for(n=0,i=t.length;n0;)if(i=r[n],e===i.toLowerCase())return i;return null}const rt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Fe,fi=t=>!gt(t)&&t!==rt;function Dr(){const{caseless:t,skipUndefined:e}=fi(this)&&this||{},r={},n=(i,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const o=t&&ci(r,s)||s;nr(r[o])&&nr(i)?r[o]=Dr(r[o],i):nr(i)?r[o]=Dr({},i):dt(i)?r[o]=i.slice():(!e||!gt(i))&&(r[o]=i)};for(let i=0,s=arguments.length;i(Rt(e,(i,s)=>{r&&xe(i)?Object.defineProperty(t,s,{value:ii(i,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,s,{value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),t),Va=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Da=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),Object.defineProperty(t.prototype,"constructor",{value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},Ha=(t,e,r,n)=>{let i,s,o;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),s=i.length;s-- >0;)o=i[s],(!n||n(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=r!==!1&&Vr(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},za=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},qa=t=>{if(!t)return null;if(dt(t))return t;let e=t.length;if(!ai(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Wa=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Vr(Uint8Array)),Ga=(t,e)=>{const n=(t&&t[er]).call(t);let i;for(;(i=n.next())&&!i.done;){const s=i.value;e.call(t,s[0],s[1])}},Ka=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},Ja=Le("HTMLFormElement"),Ya=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),hi=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Xa=Le("RegExp"),pi=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};Rt(r,(i,s)=>{let o;(o=e(i,s,t))!==!1&&(n[s]=o||i)}),Object.defineProperties(t,n)},Za=t=>{pi(t,(e,r)=>{if(xe(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(xe(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Qa=(t,e)=>{const r={},n=i=>{i.forEach(s=>{r[s]=!0})};return dt(t)?n(t):n(String(t).split(e)),r},eu=()=>{},tu=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function ru(t){return!!(t&&xe(t.append)&&t[si]==="FormData"&&t[er])}const nu=t=>{const e=new Array(10),r=(n,i)=>{if(Ct(n)){if(e.indexOf(n)>=0)return;if(Ot(n))return n;if(!("toJSON"in n)){e[i]=n;const s=dt(n)?[]:{};return Rt(n,(o,a)=>{const l=r(o,i+1);!gt(l)&&(s[a]=l)}),e[i]=void 0,s}}return n};return r(t,0)},iu=Le("AsyncFunction"),su=t=>t&&(Ct(t)||xe(t))&&xe(t.then)&&xe(t.catch),di=((t,e)=>t?setImmediate:e?((r,n)=>(rt.addEventListener("message",({source:i,data:s})=>{i===rt&&s===r&&n.length&&n.shift()()},!1),i=>{n.push(i),rt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",xe(rt.postMessage)),ou=typeof queueMicrotask<"u"?queueMicrotask.bind(rt):typeof tt<"u"&&tt.nextTick||di;var P={isArray:dt,isArrayBuffer:oi,isBuffer:Ot,isFormData:La,isArrayBufferView:Ea,isString:va,isNumber:ai,isBoolean:Ta,isObject:Ct,isPlainObject:nr,isEmptyObject:Na,isReadableStream:$a,isRequest:Ua,isResponse:ka,isHeaders:Ba,isUndefined:gt,isDate:Aa,isFile:Pa,isReactNativeBlob:Sa,isReactNative:Ia,isBlob:Oa,isRegExp:Xa,isFunction:xe,isStream:Ra,isURLSearchParams:_a,isTypedArray:Wa,isFileList:Ca,forEach:Rt,merge:Dr,extend:Ma,trim:ja,stripBOM:Va,inherits:Da,toFlatObject:Ha,kindOf:tr,kindOfTest:Le,endsWith:za,toArray:qa,forEachEntry:Ga,matchAll:Ka,isHTMLForm:Ja,hasOwnProperty:hi,hasOwnProp:hi,reduceDescriptors:pi,freezeMethods:Za,toObjectSet:Qa,toCamelCase:Ya,noop:eu,toFiniteNumber:tu,findKey:ci,global:rt,isContextDefined:fi,isSpecCompliantForm:ru,toJSONObject:nu,isAsyncFn:iu,isThenable:su,setImmediate:di,asap:ou,isIterable:t=>t!=null&&xe(t[er])},gi={},ir={};ir.byteLength=lu,ir.toByteArray=fu,ir.fromByteArray=du;for(var ke=[],Ie=[],au=typeof Uint8Array<"u"?Uint8Array:Array,Hr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mt=0,uu=Hr.length;mt0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function lu(t){var e=mi(t),r=e[0],n=e[1];return(r+n)*3/4-n}function cu(t,e,r){return(e+r)*3/4-r}function fu(t){var e,r=mi(t),n=r[0],i=r[1],s=new au(cu(t,n,i)),o=0,a=i>0?n-4:n,l;for(l=0;l>16&255,s[o++]=e>>8&255,s[o++]=e&255;return i===2&&(e=Ie[t.charCodeAt(l)]<<2|Ie[t.charCodeAt(l+1)]>>4,s[o++]=e&255),i===1&&(e=Ie[t.charCodeAt(l)]<<10|Ie[t.charCodeAt(l+1)]<<4|Ie[t.charCodeAt(l+2)]>>2,s[o++]=e>>8&255,s[o++]=e&255),s}function hu(t){return ke[t>>18&63]+ke[t>>12&63]+ke[t>>6&63]+ke[t&63]}function pu(t,e,r){for(var n,i=[],s=e;sa?a:o+s));return n===1?(e=t[r-1],i.push(ke[e>>2]+ke[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(ke[e>>10]+ke[e>>4&63]+ke[e<<2&63]+"=")),i.join("")}var zr={};zr.read=function(t,e,r,n,i){var s,o,a=i*8-n-1,l=(1<>1,u=-7,h=r?i-1:0,d=r?-1:1,y=t[e+h];for(h+=d,s=y&(1<<-u)-1,y>>=-u,u+=a;u>0;s=s*256+t[e+h],h+=d,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=n;u>0;o=o*256+t[e+h],h+=d,u-=8);if(s===0)s=1-c;else{if(s===l)return o?NaN:(y?-1:1)*(1/0);o=o+Math.pow(2,n),s=s-c}return(y?-1:1)*o*Math.pow(2,s-n)},zr.write=function(t,e,r,n,i,s){var o,a,l,c=s*8-i-1,u=(1<>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=n?0:s-1,g=n?1:-1,m=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=u):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+h>=1?e+=d/l:e+=d*Math.pow(2,1-h),e*l>=2&&(o++,l/=2),o+h>=u?(a=0,o=u):o+h>=1?(a=(e*l-1)*Math.pow(2,i),o=o+h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),o=0));i>=8;t[r+y]=a&255,y+=g,a/=256,i-=8);for(o=o<0;t[r+y]=o&255,y+=g,o/=256,c-=8);t[r+y-g]|=m*128};(function(t){const e=ir,r=zr,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=I,t.INSPECT_MAX_BYTES=50;const i=2147483647;t.kMaxLength=i;const{Uint8Array:s,ArrayBuffer:o,SharedArrayBuffer:a}=globalThis;u.TYPED_ARRAY_SUPPORT=l(),!u.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function l(){try{const w=new s(1),f={foo:function(){return 42}};return Object.setPrototypeOf(f,s.prototype),Object.setPrototypeOf(w,f),w.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function c(w){if(w>i)throw new RangeError('The value "'+w+'" is invalid for option "size"');const f=new s(w);return Object.setPrototypeOf(f,u.prototype),f}function u(w,f,p){if(typeof w=="number"){if(typeof f=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(w)}return h(w,f,p)}u.poolSize=8192;function h(w,f,p){if(typeof w=="string")return m(w,f);if(o.isView(w))return T(w);if(w==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w);if(je(w,o)||w&&je(w.buffer,o)||typeof a<"u"&&(je(w,a)||w&&je(w.buffer,a)))return E(w,f,p);if(typeof w=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const x=w.valueOf&&w.valueOf();if(x!=null&&x!==w)return u.from(x,f,p);const N=v(w);if(N)return N;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof w[Symbol.toPrimitive]=="function")return u.from(w[Symbol.toPrimitive]("string"),f,p);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w)}u.from=function(w,f,p){return h(w,f,p)},Object.setPrototypeOf(u.prototype,s.prototype),Object.setPrototypeOf(u,s);function d(w){if(typeof w!="number")throw new TypeError('"size" argument must be of type number');if(w<0)throw new RangeError('The value "'+w+'" is invalid for option "size"')}function y(w,f,p){return d(w),w<=0?c(w):f!==void 0?typeof p=="string"?c(w).fill(f,p):c(w).fill(f):c(w)}u.alloc=function(w,f,p){return y(w,f,p)};function g(w){return d(w),c(w<0?0:A(w)|0)}u.allocUnsafe=function(w){return g(w)},u.allocUnsafeSlow=function(w){return g(w)};function m(w,f){if((typeof f!="string"||f==="")&&(f="utf8"),!u.isEncoding(f))throw new TypeError("Unknown encoding: "+f);const p=F(w,f)|0;let x=c(p);const N=x.write(w,f);return N!==p&&(x=x.slice(0,N)),x}function b(w){const f=w.length<0?0:A(w.length)|0,p=c(f);for(let x=0;x=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return w|0}function I(w){return+w!=w&&(w=0),u.alloc(+w)}u.isBuffer=function(f){return f!=null&&f._isBuffer===!0&&f!==u.prototype},u.compare=function(f,p){if(je(f,s)&&(f=u.from(f,f.offset,f.byteLength)),je(p,s)&&(p=u.from(p,p.offset,p.byteLength)),!u.isBuffer(f)||!u.isBuffer(p))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(f===p)return 0;let x=f.length,N=p.length;for(let S=0,O=Math.min(x,N);SN.length?(u.isBuffer(O)||(O=u.from(O)),O.copy(N,S)):s.prototype.set.call(N,O,S);else if(u.isBuffer(O))O.copy(N,S);else throw new TypeError('"list" argument must be an Array of Buffers');S+=O.length}return N};function F(w,f){if(u.isBuffer(w))return w.length;if(o.isView(w)||je(w,o))return w.byteLength;if(typeof w!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof w);const p=w.length,x=arguments.length>2&&arguments[2]===!0;if(!x&&p===0)return 0;let N=!1;for(;;)switch(f){case"ascii":case"latin1":case"binary":return p;case"utf8":case"utf-8":return Gn(w).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p*2;case"hex":return p>>>1;case"base64":return sa(w).length;default:if(N)return x?-1:Gn(w).length;f=(""+f).toLowerCase(),N=!0}}u.byteLength=F;function L(w,f,p){let x=!1;if((f===void 0||f<0)&&(f=0),f>this.length||((p===void 0||p>this.length)&&(p=this.length),p<=0)||(p>>>=0,f>>>=0,p<=f))return"";for(w||(w="utf8");;)switch(w){case"hex":return ce(this,f,p);case"utf8":case"utf-8":return ae(this,f,p);case"ascii":return Xe(this,f,p);case"latin1":case"binary":return re(this,f,p);case"base64":return J(this,f,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ze(this,f,p);default:if(x)throw new TypeError("Unknown encoding: "+w);w=(w+"").toLowerCase(),x=!0}}u.prototype._isBuffer=!0;function $(w,f,p){const x=w[f];w[f]=w[p],w[p]=x}u.prototype.swap16=function(){const f=this.length;if(f%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let p=0;pp&&(f+=" ... "),""},n&&(u.prototype[n]=u.prototype.inspect),u.prototype.compare=function(f,p,x,N,S){if(je(f,s)&&(f=u.from(f,f.offset,f.byteLength)),!u.isBuffer(f))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof f);if(p===void 0&&(p=0),x===void 0&&(x=f?f.length:0),N===void 0&&(N=0),S===void 0&&(S=this.length),p<0||x>f.length||N<0||S>this.length)throw new RangeError("out of range index");if(N>=S&&p>=x)return 0;if(N>=S)return-1;if(p>=x)return 1;if(p>>>=0,x>>>=0,N>>>=0,S>>>=0,this===f)return 0;let O=S-N,k=x-p;const Y=Math.min(O,k),q=this.slice(N,S),X=f.slice(p,x);for(let V=0;V2147483647?p=2147483647:p<-2147483648&&(p=-2147483648),p=+p,Kn(p)&&(p=N?0:w.length-1),p<0&&(p=w.length+p),p>=w.length){if(N)return-1;p=w.length-1}else if(p<0)if(N)p=0;else return-1;if(typeof f=="string"&&(f=u.from(f,x)),u.isBuffer(f))return f.length===0?-1:j(w,f,p,x,N);if(typeof f=="number")return f=f&255,typeof s.prototype.indexOf=="function"?N?s.prototype.indexOf.call(w,f,p):s.prototype.lastIndexOf.call(w,f,p):j(w,[f],p,x,N);throw new TypeError("val must be string, number or Buffer")}function j(w,f,p,x,N){let S=1,O=w.length,k=f.length;if(x!==void 0&&(x=String(x).toLowerCase(),x==="ucs2"||x==="ucs-2"||x==="utf16le"||x==="utf-16le")){if(w.length<2||f.length<2)return-1;S=2,O/=2,k/=2,p/=2}function Y(X,V){return S===1?X[V]:X.readUInt16BE(V*S)}let q;if(N){let X=-1;for(q=p;qO&&(p=O-k),q=p;q>=0;q--){let X=!0;for(let V=0;VN&&(x=N)):x=N;const S=f.length;x>S/2&&(x=S/2);let O;for(O=0;O>>0,isFinite(x)?(x=x>>>0,N===void 0&&(N="utf8")):(N=x,x=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const S=this.length-p;if((x===void 0||x>S)&&(x=S),f.length>0&&(x<0||p<0)||p>this.length)throw new RangeError("Attempt to write outside buffer bounds");N||(N="utf8");let O=!1;for(;;)switch(N){case"hex":return de(this,f,p,x);case"utf8":case"utf-8":return oe(this,f,p,x);case"ascii":case"latin1":case"binary":return R(this,f,p,x);case"base64":return le(this,f,p,x);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Se(this,f,p,x);default:if(O)throw new TypeError("Unknown encoding: "+N);N=(""+N).toLowerCase(),O=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function J(w,f,p){return f===0&&p===w.length?e.fromByteArray(w):e.fromByteArray(w.slice(f,p))}function ae(w,f,p){p=Math.min(w.length,p);const x=[];let N=f;for(;N239?4:S>223?3:S>191?2:1;if(N+k<=p){let Y,q,X,V;switch(k){case 1:S<128&&(O=S);break;case 2:Y=w[N+1],(Y&192)===128&&(V=(S&31)<<6|Y&63,V>127&&(O=V));break;case 3:Y=w[N+1],q=w[N+2],(Y&192)===128&&(q&192)===128&&(V=(S&15)<<12|(Y&63)<<6|q&63,V>2047&&(V<55296||V>57343)&&(O=V));break;case 4:Y=w[N+1],q=w[N+2],X=w[N+3],(Y&192)===128&&(q&192)===128&&(X&192)===128&&(V=(S&15)<<18|(Y&63)<<12|(q&63)<<6|X&63,V>65535&&V<1114112&&(O=V))}}O===null?(O=65533,k=1):O>65535&&(O-=65536,x.push(O>>>10&1023|55296),O=56320|O&1023),x.push(O),N+=k}return Be(x)}const K=4096;function Be(w){const f=w.length;if(f<=K)return String.fromCharCode.apply(String,w);let p="",x=0;for(;xx)&&(p=x);let N="";for(let S=f;Sx&&(f=x),p<0?(p+=x,p<0&&(p=0)):p>x&&(p=x),pp)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(f,p,x){f=f>>>0,p=p>>>0,x||D(f,p,this.length);let N=this[f],S=1,O=0;for(;++O>>0,p=p>>>0,x||D(f,p,this.length);let N=this[f+--p],S=1;for(;p>0&&(S*=256);)N+=this[f+--p]*S;return N},u.prototype.readUint8=u.prototype.readUInt8=function(f,p){return f=f>>>0,p||D(f,1,this.length),this[f]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(f,p){return f=f>>>0,p||D(f,2,this.length),this[f]|this[f+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(f,p){return f=f>>>0,p||D(f,2,this.length),this[f]<<8|this[f+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(f,p){return f=f>>>0,p||D(f,4,this.length),(this[f]|this[f+1]<<8|this[f+2]<<16)+this[f+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(f,p){return f=f>>>0,p||D(f,4,this.length),this[f]*16777216+(this[f+1]<<16|this[f+2]<<8|this[f+3])},u.prototype.readBigUInt64LE=Qe(function(f){f=f>>>0,It(f,"offset");const p=this[f],x=this[f+7];(p===void 0||x===void 0)&&Zt(f,this.length-8);const N=p+this[++f]*2**8+this[++f]*2**16+this[++f]*2**24,S=this[++f]+this[++f]*2**8+this[++f]*2**16+x*2**24;return BigInt(N)+(BigInt(S)<>>0,It(f,"offset");const p=this[f],x=this[f+7];(p===void 0||x===void 0)&&Zt(f,this.length-8);const N=p*2**24+this[++f]*2**16+this[++f]*2**8+this[++f],S=this[++f]*2**24+this[++f]*2**16+this[++f]*2**8+x;return(BigInt(N)<>>0,p=p>>>0,x||D(f,p,this.length);let N=this[f],S=1,O=0;for(;++O=S&&(N-=Math.pow(2,8*p)),N},u.prototype.readIntBE=function(f,p,x){f=f>>>0,p=p>>>0,x||D(f,p,this.length);let N=p,S=1,O=this[f+--N];for(;N>0&&(S*=256);)O+=this[f+--N]*S;return S*=128,O>=S&&(O-=Math.pow(2,8*p)),O},u.prototype.readInt8=function(f,p){return f=f>>>0,p||D(f,1,this.length),this[f]&128?(255-this[f]+1)*-1:this[f]},u.prototype.readInt16LE=function(f,p){f=f>>>0,p||D(f,2,this.length);const x=this[f]|this[f+1]<<8;return x&32768?x|4294901760:x},u.prototype.readInt16BE=function(f,p){f=f>>>0,p||D(f,2,this.length);const x=this[f+1]|this[f]<<8;return x&32768?x|4294901760:x},u.prototype.readInt32LE=function(f,p){return f=f>>>0,p||D(f,4,this.length),this[f]|this[f+1]<<8|this[f+2]<<16|this[f+3]<<24},u.prototype.readInt32BE=function(f,p){return f=f>>>0,p||D(f,4,this.length),this[f]<<24|this[f+1]<<16|this[f+2]<<8|this[f+3]},u.prototype.readBigInt64LE=Qe(function(f){f=f>>>0,It(f,"offset");const p=this[f],x=this[f+7];(p===void 0||x===void 0)&&Zt(f,this.length-8);const N=this[f+4]+this[f+5]*2**8+this[f+6]*2**16+(x<<24);return(BigInt(N)<>>0,It(f,"offset");const p=this[f],x=this[f+7];(p===void 0||x===void 0)&&Zt(f,this.length-8);const N=(p<<24)+this[++f]*2**16+this[++f]*2**8+this[++f];return(BigInt(N)<>>0,p||D(f,4,this.length),r.read(this,f,!0,23,4)},u.prototype.readFloatBE=function(f,p){return f=f>>>0,p||D(f,4,this.length),r.read(this,f,!1,23,4)},u.prototype.readDoubleLE=function(f,p){return f=f>>>0,p||D(f,8,this.length),r.read(this,f,!0,52,8)},u.prototype.readDoubleBE=function(f,p){return f=f>>>0,p||D(f,8,this.length),r.read(this,f,!1,52,8)};function z(w,f,p,x,N,S){if(!u.isBuffer(w))throw new TypeError('"buffer" argument must be a Buffer instance');if(f>N||fw.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(f,p,x,N){if(f=+f,p=p>>>0,x=x>>>0,!N){const k=Math.pow(2,8*x)-1;z(this,f,p,x,k,0)}let S=1,O=0;for(this[p]=f&255;++O>>0,x=x>>>0,!N){const k=Math.pow(2,8*x)-1;z(this,f,p,x,k,0)}let S=x-1,O=1;for(this[p+S]=f&255;--S>=0&&(O*=256);)this[p+S]=f/O&255;return p+x},u.prototype.writeUint8=u.prototype.writeUInt8=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,1,255,0),this[p]=f&255,p+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,2,65535,0),this[p]=f&255,this[p+1]=f>>>8,p+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,2,65535,0),this[p]=f>>>8,this[p+1]=f&255,p+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,4,4294967295,0),this[p+3]=f>>>24,this[p+2]=f>>>16,this[p+1]=f>>>8,this[p]=f&255,p+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,4,4294967295,0),this[p]=f>>>24,this[p+1]=f>>>16,this[p+2]=f>>>8,this[p+3]=f&255,p+4};function Lr(w,f,p,x,N){ia(f,x,N,w,p,7);let S=Number(f&BigInt(4294967295));w[p++]=S,S=S>>8,w[p++]=S,S=S>>8,w[p++]=S,S=S>>8,w[p++]=S;let O=Number(f>>BigInt(32)&BigInt(4294967295));return w[p++]=O,O=O>>8,w[p++]=O,O=O>>8,w[p++]=O,O=O>>8,w[p++]=O,p}function Qo(w,f,p,x,N){ia(f,x,N,w,p,7);let S=Number(f&BigInt(4294967295));w[p+7]=S,S=S>>8,w[p+6]=S,S=S>>8,w[p+5]=S,S=S>>8,w[p+4]=S;let O=Number(f>>BigInt(32)&BigInt(4294967295));return w[p+3]=O,O=O>>8,w[p+2]=O,O=O>>8,w[p+1]=O,O=O>>8,w[p]=O,p+8}u.prototype.writeBigUInt64LE=Qe(function(f,p=0){return Lr(this,f,p,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=Qe(function(f,p=0){return Qo(this,f,p,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(f,p,x,N){if(f=+f,p=p>>>0,!N){const Y=Math.pow(2,8*x-1);z(this,f,p,x,Y-1,-Y)}let S=0,O=1,k=0;for(this[p]=f&255;++S>0)-k&255;return p+x},u.prototype.writeIntBE=function(f,p,x,N){if(f=+f,p=p>>>0,!N){const Y=Math.pow(2,8*x-1);z(this,f,p,x,Y-1,-Y)}let S=x-1,O=1,k=0;for(this[p+S]=f&255;--S>=0&&(O*=256);)f<0&&k===0&&this[p+S+1]!==0&&(k=1),this[p+S]=(f/O>>0)-k&255;return p+x},u.prototype.writeInt8=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,1,127,-128),f<0&&(f=255+f+1),this[p]=f&255,p+1},u.prototype.writeInt16LE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,2,32767,-32768),this[p]=f&255,this[p+1]=f>>>8,p+2},u.prototype.writeInt16BE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,2,32767,-32768),this[p]=f>>>8,this[p+1]=f&255,p+2},u.prototype.writeInt32LE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,4,2147483647,-2147483648),this[p]=f&255,this[p+1]=f>>>8,this[p+2]=f>>>16,this[p+3]=f>>>24,p+4},u.prototype.writeInt32BE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,4,2147483647,-2147483648),f<0&&(f=4294967295+f+1),this[p]=f>>>24,this[p+1]=f>>>16,this[p+2]=f>>>8,this[p+3]=f&255,p+4},u.prototype.writeBigInt64LE=Qe(function(f,p=0){return Lr(this,f,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=Qe(function(f,p=0){return Qo(this,f,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ea(w,f,p,x,N,S){if(p+x>w.length)throw new RangeError("Index out of range");if(p<0)throw new RangeError("Index out of range")}function ta(w,f,p,x,N){return f=+f,p=p>>>0,N||ea(w,f,p,4),r.write(w,f,p,x,23,4),p+4}u.prototype.writeFloatLE=function(f,p,x){return ta(this,f,p,!0,x)},u.prototype.writeFloatBE=function(f,p,x){return ta(this,f,p,!1,x)};function ra(w,f,p,x,N){return f=+f,p=p>>>0,N||ea(w,f,p,8),r.write(w,f,p,x,52,8),p+8}u.prototype.writeDoubleLE=function(f,p,x){return ra(this,f,p,!0,x)},u.prototype.writeDoubleBE=function(f,p,x){return ra(this,f,p,!1,x)},u.prototype.copy=function(f,p,x,N){if(!u.isBuffer(f))throw new TypeError("argument should be a Buffer");if(x||(x=0),!N&&N!==0&&(N=this.length),p>=f.length&&(p=f.length),p||(p=0),N>0&&N=this.length)throw new RangeError("Index out of range");if(N<0)throw new RangeError("sourceEnd out of bounds");N>this.length&&(N=this.length),f.length-p>>0,x=x===void 0?this.length:x>>>0,f||(f=0);let S;if(typeof f=="number")for(S=p;S2**32?N=na(String(p)):typeof p=="bigint"&&(N=String(p),(p>BigInt(2)**BigInt(32)||p<-(BigInt(2)**BigInt(32)))&&(N=na(N)),N+="n"),x+=` It must be ${f}. Received ${N}`,x},RangeError);function na(w){let f="",p=w.length;const x=w[0]==="-"?1:0;for(;p>=x+4;p-=3)f=`_${w.slice(p-3,p)}${f}`;return`${w.slice(0,p)}${f}`}function a0(w,f,p){It(f,"offset"),(w[f]===void 0||w[f+p]===void 0)&&Zt(f,w.length-(p+1))}function ia(w,f,p,x,N,S){if(w>p||w= 0${O} and < 2${O} ** ${(S+1)*8}${O}`:k=`>= -(2${O} ** ${(S+1)*8-1}${O}) and < 2 ** ${(S+1)*8-1}${O}`,new St.ERR_OUT_OF_RANGE("value",k,w)}a0(x,N,S)}function It(w,f){if(typeof w!="number")throw new St.ERR_INVALID_ARG_TYPE(f,"number",w)}function Zt(w,f,p){throw Math.floor(w)!==w?(It(w,p),new St.ERR_OUT_OF_RANGE("offset","an integer",w)):f<0?new St.ERR_BUFFER_OUT_OF_BOUNDS:new St.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${f}`,w)}const u0=/[^+/0-9A-Za-z-_]/g;function l0(w){if(w=w.split("=")[0],w=w.trim().replace(u0,""),w.length<2)return"";for(;w.length%4!==0;)w=w+"=";return w}function Gn(w,f){f=f||1/0;let p;const x=w.length;let N=null;const S=[];for(let O=0;O55295&&p<57344){if(!N){if(p>56319){(f-=3)>-1&&S.push(239,191,189);continue}else if(O+1===x){(f-=3)>-1&&S.push(239,191,189);continue}N=p;continue}if(p<56320){(f-=3)>-1&&S.push(239,191,189),N=p;continue}p=(N-55296<<10|p-56320)+65536}else N&&(f-=3)>-1&&S.push(239,191,189);if(N=null,p<128){if((f-=1)<0)break;S.push(p)}else if(p<2048){if((f-=2)<0)break;S.push(p>>6|192,p&63|128)}else if(p<65536){if((f-=3)<0)break;S.push(p>>12|224,p>>6&63|128,p&63|128)}else if(p<1114112){if((f-=4)<0)break;S.push(p>>18|240,p>>12&63|128,p>>6&63|128,p&63|128)}else throw new Error("Invalid code point")}return S}function c0(w){const f=[];for(let p=0;p>8,N=p%256,S.push(N),S.push(x);return S}function sa(w){return e.toByteArray(l0(w))}function _r(w,f,p,x){let N;for(N=0;N=f.length||N>=w.length);++N)f[N+p]=w[N];return N}function je(w,f){return w instanceof f||w!=null&&w.constructor!=null&&w.constructor.name!=null&&w.constructor.name===f.name}function Kn(w){return w!==w}const h0=(function(){const w="0123456789abcdef",f=new Array(256);for(let p=0;p<16;++p){const x=p*16;for(let N=0;N<16;++N)f[x+N]=w[p]+w[N]}return f})();function Qe(w){return typeof BigInt>"u"?p0:w}function p0(){throw new Error("BigInt not supported")}})(gi);const yi=gi.Buffer;let U=class oa extends Error{static from(e,r,n,i,s,o){const a=new oa(e.message,r||e.code,n,i,s);return a.cause=e,a.name=e.name,e.status!=null&&a.status==null&&(a.status=e.status),o&&Object.assign(a,o),a}constructor(e,r,n,i,s){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s,this.status=s.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.status}}};U.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",U.ERR_BAD_OPTION="ERR_BAD_OPTION",U.ECONNABORTED="ECONNABORTED",U.ETIMEDOUT="ETIMEDOUT",U.ERR_NETWORK="ERR_NETWORK",U.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",U.ERR_DEPRECATED="ERR_DEPRECATED",U.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",U.ERR_BAD_REQUEST="ERR_BAD_REQUEST",U.ERR_CANCELED="ERR_CANCELED",U.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",U.ERR_INVALID_URL="ERR_INVALID_URL";var gu=null;function qr(t){return P.isPlainObject(t)||P.isArray(t)}function bi(t){return P.endsWith(t,"[]")?t.slice(0,-2):t}function Wr(t,e,r){return t?t.concat(e).map(function(i,s){return i=bi(i),!r&&s?"["+i+"]":i}).join(r?".":""):e}function mu(t){return P.isArray(t)&&!t.some(qr)}const yu=P.toFlatObject(P,{},null,function(e){return/^is[A-Z]/.test(e)});function sr(t,e,r){if(!P.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=P.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,b){return!P.isUndefined(b[m])});const n=r.metaTokens,i=r.visitor||u,s=r.dots,o=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&P.isSpecCompliantForm(e);if(!P.isFunction(i))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(P.isDate(g))return g.toISOString();if(P.isBoolean(g))return g.toString();if(!l&&P.isBlob(g))throw new U("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(g)||P.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):yi.from(g):g}function u(g,m,b){let T=g;if(P.isReactNative(e)&&P.isReactNativeBlob(g))return e.append(Wr(b,m,s),c(g)),!1;if(g&&!b&&typeof g=="object"){if(P.endsWith(m,"{}"))m=n?m:m.slice(0,-2),g=JSON.stringify(g);else if(P.isArray(g)&&mu(g)||(P.isFileList(g)||P.endsWith(m,"[]"))&&(T=P.toArray(g)))return m=bi(m),T.forEach(function(v,A){!(P.isUndefined(v)||v===null)&&e.append(o===!0?Wr([m],A,s):o===null?m:m+"[]",c(v))}),!1}return qr(g)?!0:(e.append(Wr(b,m,s),c(g)),!1)}const h=[],d=Object.assign(yu,{defaultVisitor:u,convertValue:c,isVisitable:qr});function y(g,m){if(!P.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+m.join("."));h.push(g),P.forEach(g,function(T,E){(!(P.isUndefined(T)||T===null)&&i.call(e,T,P.isString(E)?E.trim():E,m,d))===!0&&y(T,m?m.concat(E):[E])}),h.pop()}}if(!P.isObject(t))throw new TypeError("data must be an object");return y(t),e}function wi(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Gr(t,e){this._pairs=[],t&&sr(t,this,e)}const xi=Gr.prototype;xi.append=function(e,r){this._pairs.push([e,r])},xi.toString=function(e){const r=e?function(n){return e.call(this,n,wi)}:wi;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function bu(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ei(t,e,r){if(!e)return t;const n=r&&r.encode||bu,i=P.isFunction(r)?{serialize:r}:r,s=i&&i.serialize;let o;if(s?o=s(e,i):o=P.isURLSearchParams(e)?e.toString():new Gr(e,i).toString(n),o){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class vi{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){P.forEach(this.handlers,function(n){n!==null&&e(n)})}}var Kr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},wu=typeof URLSearchParams<"u"?URLSearchParams:Gr,xu=typeof FormData<"u"?FormData:null,Eu=typeof Blob<"u"?Blob:null,vu={isBrowser:!0,classes:{URLSearchParams:wu,FormData:xu,Blob:Eu},protocols:["http","https","file","blob","url","data"]};const Jr=typeof window<"u"&&typeof document<"u",Yr=typeof navigator=="object"&&navigator||void 0,Tu=Jr&&(!Yr||["ReactNative","NativeScript","NS"].indexOf(Yr.product)<0),Nu=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Au=Jr&&window.location.href||"http://localhost";var Pu=Object.freeze({__proto__:null,hasBrowserEnv:Jr,hasStandardBrowserEnv:Tu,hasStandardBrowserWebWorkerEnv:Nu,navigator:Yr,origin:Au}),fe={...Pu,...vu};function Su(t,e){return sr(t,new fe.classes.URLSearchParams,{visitor:function(r,n,i,s){return fe.isNode&&P.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...e})}function Iu(t){return P.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Ou(t){const e={},r=Object.keys(t);let n;const i=r.length;let s;for(n=0;n=r.length;return o=!o&&P.isArray(i)?i.length:o,l?(P.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a):((!i[o]||!P.isObject(i[o]))&&(i[o]=[]),e(r,n,i[o],s)&&P.isArray(i[o])&&(i[o]=Ou(i[o])),!a)}if(P.isFormData(t)&&P.isFunction(t.entries)){const r={};return P.forEachEntry(t,(n,i)=>{e(Iu(n),i,r,0)}),r}return null}function Cu(t,e,r){if(P.isString(t))try{return(e||JSON.parse)(t),P.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const Ft={transitional:Kr,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,s=P.isObject(e);if(s&&P.isHTMLForm(e)&&(e=new FormData(e)),P.isFormData(e))return i?JSON.stringify(Ti(e)):e;if(P.isArrayBuffer(e)||P.isBuffer(e)||P.isStream(e)||P.isFile(e)||P.isBlob(e)||P.isReadableStream(e))return e;if(P.isArrayBufferView(e))return e.buffer;if(P.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Su(e,this.formSerializer).toString();if((a=P.isFileList(e))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return sr(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return s||i?(r.setContentType("application/json",!1),Cu(e)):e}],transformResponse:[function(e){const r=this.transitional||Ft.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(P.isResponse(e)||P.isReadableStream(e))return e;if(e&&P.isString(e)&&(n&&!this.responseType||i)){const o=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(e,this.parseReviver)}catch(a){if(o)throw a.name==="SyntaxError"?U.from(a,U.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fe.classes.FormData,Blob:fe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch"],t=>{Ft.headers[t]={}});const Ru=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var Fu=t=>{const e={};let r,n,i;return t&&t.split(` +`).forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||e[r]&&Ru[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e};const Ni=Symbol("internals");function Lt(t){return t&&String(t).trim().toLowerCase()}function or(t){return t===!1||t==null?t:P.isArray(t)?t.map(or):String(t)}function Lu(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const _u=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Xr(t,e,r,n,i){if(P.isFunction(n))return n.call(this,e,r);if(i&&(e=r),!!P.isString(e)){if(P.isString(n))return e.indexOf(n)!==-1;if(P.isRegExp(n))return n.test(e)}}function $u(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function Uu(t,e){const r=P.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(i,s,o){return this[n].call(this,e,i,s,o)},configurable:!0})})}let Ee=class{constructor(e){e&&this.set(e)}set(e,r,n){const i=this;function s(a,l,c){const u=Lt(l);if(!u)throw new Error("header name must be a non-empty string");const h=P.findKey(i,u);(!h||i[h]===void 0||c===!0||c===void 0&&i[h]!==!1)&&(i[h||l]=or(a))}const o=(a,l)=>P.forEach(a,(c,u)=>s(c,u,l));if(P.isPlainObject(e)||e instanceof this.constructor)o(e,r);else if(P.isString(e)&&(e=e.trim())&&!_u(e))o(Fu(e),r);else if(P.isObject(e)&&P.isIterable(e)){let a={},l,c;for(const u of e){if(!P.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?P.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}o(a,r)}else e!=null&&s(r,e,n);return this}get(e,r){if(e=Lt(e),e){const n=P.findKey(this,e);if(n){const i=this[n];if(!r)return i;if(r===!0)return Lu(i);if(P.isFunction(r))return r.call(this,i,n);if(P.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=Lt(e),e){const n=P.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||Xr(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let i=!1;function s(o){if(o=Lt(o),o){const a=P.findKey(n,o);a&&(!r||Xr(n,n[a],a,r))&&(delete n[a],i=!0)}}return P.isArray(e)?e.forEach(s):s(e),i}clear(e){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const s=r[n];(!e||Xr(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const r=this,n={};return P.forEach(this,(i,s)=>{const o=P.findKey(n,s);if(o){r[o]=or(i),delete r[s];return}const a=e?$u(s):String(s).trim();a!==s&&delete r[s],r[a]=or(i),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return P.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=e&&P.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(i=>n.set(i)),n}static accessor(e){const n=(this[Ni]=this[Ni]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=Lt(o);n[a]||(Uu(i,o),n[a]=!0)}return P.isArray(e)?e.forEach(s):s(e),this}};Ee.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),P.reduceDescriptors(Ee.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}}),P.freezeMethods(Ee);function Zr(t,e){const r=this||Ft,n=e||r,i=Ee.from(n.headers);let s=n.data;return P.forEach(t,function(a){s=a.call(r,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function Ai(t){return!!(t&&t.__CANCEL__)}let _t=class extends U{constructor(e,r,n){super(e??"canceled",U.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}};function Pi(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new U("Request failed with status code "+r.status,[U.ERR_BAD_REQUEST,U.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function ku(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Bu(t,e){t=t||10;const r=new Array(t),n=new Array(t);let i=0,s=0,o;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=n[s];o||(o=c),r[i]=l,n[i]=c;let h=s,d=0;for(;h!==i;)d+=r[h++],h=h%t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),c-o{r=u,i=null,s&&(clearTimeout(s),s=null),t(...c)};return[(...c)=>{const u=Date.now(),h=u-r;h>=n?o(c,u):(i=c,s||(s=setTimeout(()=>{s=null,o(i)},n-h)))},()=>i&&o(i)]}const ar=(t,e,r=3)=>{let n=0;const i=Bu(50,250);return ju(s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,l=o-n,c=i(l),u=o<=a;n=o;const h={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-o)/c:void 0,event:s,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(h)},r)},Si=(t,e)=>{const r=t!=null;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},Ii=t=>(...e)=>P.asap(()=>t(...e));var Mu=fe.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,fe.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(fe.origin),fe.navigator&&/(msie|trident)/i.test(fe.navigator.userAgent)):()=>!0,Vu=fe.hasStandardBrowserEnv?{write(t,e,r,n,i,s,o){if(typeof document>"u")return;const a=[`${t}=${encodeURIComponent(e)}`];P.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),P.isString(n)&&a.push(`path=${n}`),P.isString(i)&&a.push(`domain=${i}`),s===!0&&a.push("secure"),P.isString(o)&&a.push(`SameSite=${o}`),document.cookie=a.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Du(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Hu(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Oi(t,e,r){let n=!Du(e);return t&&(n||r==!1)?Hu(t,e):e}const Ci=t=>t instanceof Ee?{...t}:t;function nt(t,e){e=e||{};const r={};function n(c,u,h,d){return P.isPlainObject(c)&&P.isPlainObject(u)?P.merge.call({caseless:d},c,u):P.isPlainObject(u)?P.merge({},u):P.isArray(u)?u.slice():u}function i(c,u,h,d){if(P.isUndefined(u)){if(!P.isUndefined(c))return n(void 0,c,h,d)}else return n(c,u,h,d)}function s(c,u){if(!P.isUndefined(u))return n(void 0,u)}function o(c,u){if(P.isUndefined(u)){if(!P.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function a(c,u,h){if(h in e)return n(c,u);if(h in t)return n(void 0,c)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(c,u,h)=>i(Ci(c),Ci(u),h,!0)};return P.forEach(Object.keys({...t,...e}),function(u){if(u==="__proto__"||u==="constructor"||u==="prototype")return;const h=P.hasOwnProp(l,u)?l[u]:i,d=h(t[u],e[u],u);P.isUndefined(d)&&h!==a||(r[u]=d)}),r}var Ri=t=>{const e=nt({},t);let{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:s,headers:o,auth:a}=e;if(e.headers=o=Ee.from(o),e.url=Ei(Oi(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),P.isFormData(r)){if(fe.hasStandardBrowserEnv||fe.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(P.isFunction(r.getHeaders)){const l=r.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([u,h])=>{c.includes(u.toLowerCase())&&o.set(u,h)})}}if(fe.hasStandardBrowserEnv&&(n&&P.isFunction(n)&&(n=n(e)),n||n!==!1&&Mu(e.url))){const l=i&&s&&Vu.read(s);l&&o.set(i,l)}return e},zu=typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(r,n){const i=Ri(t);let s=i.data;const o=Ee.from(i.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=i,u,h,d,y,g;function m(){y&&y(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(i.method.toUpperCase(),i.url,!0),b.timeout=i.timeout;function T(){if(!b)return;const v=Ee.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),I={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:v,config:t,request:b};Pi(function(L){r(L),m()},function(L){n(L),m()},I),b=null}"onloadend"in b?b.onloadend=T:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(T)},b.onabort=function(){b&&(n(new U("Request aborted",U.ECONNABORTED,t,b)),b=null)},b.onerror=function(A){const I=A&&A.message?A.message:"Network Error",F=new U(I,U.ERR_NETWORK,t,b);F.event=A||null,n(F),b=null},b.ontimeout=function(){let A=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const I=i.transitional||Kr;i.timeoutErrorMessage&&(A=i.timeoutErrorMessage),n(new U(A,I.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,t,b)),b=null},s===void 0&&o.setContentType(null),"setRequestHeader"in b&&P.forEach(o.toJSON(),function(A,I){b.setRequestHeader(I,A)}),P.isUndefined(i.withCredentials)||(b.withCredentials=!!i.withCredentials),a&&a!=="json"&&(b.responseType=i.responseType),c&&([d,g]=ar(c,!0),b.addEventListener("progress",d)),l&&b.upload&&([h,y]=ar(l),b.upload.addEventListener("progress",h),b.upload.addEventListener("loadend",y)),(i.cancelToken||i.signal)&&(u=v=>{b&&(n(!v||v.type?new _t(null,t,b):v),b.abort(),b=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const E=ku(i.url);if(E&&fe.protocols.indexOf(E)===-1){n(new U("Unsupported protocol "+E+":",U.ERR_BAD_REQUEST,t));return}b.send(s||null)})};const qu=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let n=new AbortController,i;const s=function(c){if(!i){i=!0,a();const u=c instanceof Error?c:this.reason;n.abort(u instanceof U?u:new _t(u instanceof Error?u.message:u))}};let o=e&&setTimeout(()=>{o=null,s(new U(`timeout of ${e}ms exceeded`,U.ETIMEDOUT))},e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),t=null)};t.forEach(c=>c.addEventListener("abort",s));const{signal:l}=n;return l.unsubscribe=()=>P.asap(a),l}},Wu=function*(t,e){let r=t.byteLength;if(r{const i=Gu(t,e);let s=0,o,a=l=>{o||(o=!0,n&&n(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await i.next();if(c){a(),l.close();return}let h=u.byteLength;if(r){let d=s+=h;r(d)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),i.return()}},{highWaterMark:2})},Li=64*1024,{isFunction:ur}=P,Ju=(({Request:t,Response:e})=>({Request:t,Response:e}))(P.global),{ReadableStream:_i,TextEncoder:$i}=P.global,Ui=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Yu=t=>{t=P.merge.call({skipUndefined:!0},Ju,t);const{fetch:e,Request:r,Response:n}=t,i=e?ur(e):typeof fetch=="function",s=ur(r),o=ur(n);if(!i)return!1;const a=i&&ur(_i),l=i&&(typeof $i=="function"?(g=>m=>g.encode(m))(new $i):async g=>new Uint8Array(await new r(g).arrayBuffer())),c=s&&a&&Ui(()=>{let g=!1;const m=new r(fe.origin,{body:new _i,method:"POST",get duplex(){return g=!0,"half"}}).headers.has("Content-Type");return g&&!m}),u=o&&a&&Ui(()=>P.isReadableStream(new n("").body)),h={stream:u&&(g=>g.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!h[g]&&(h[g]=(m,b)=>{let T=m&&m[g];if(T)return T.call(m);throw new U(`Response type '${g}' is not supported`,U.ERR_NOT_SUPPORT,b)})});const d=async g=>{if(g==null)return 0;if(P.isBlob(g))return g.size;if(P.isSpecCompliantForm(g))return(await new r(fe.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(P.isArrayBufferView(g)||P.isArrayBuffer(g))return g.byteLength;if(P.isURLSearchParams(g)&&(g=g+""),P.isString(g))return(await l(g)).byteLength},y=async(g,m)=>{const b=P.toFiniteNumber(g.getContentLength());return b??d(m)};return async g=>{let{url:m,method:b,data:T,signal:E,cancelToken:v,timeout:A,onDownloadProgress:I,onUploadProgress:F,responseType:L,headers:$,withCredentials:_="same-origin",fetchOptions:j}=Ri(g),de=e||fetch;L=L?(L+"").toLowerCase():"text";let oe=qu([E,v&&v.toAbortSignal()],A),R=null;const le=oe&&oe.unsubscribe&&(()=>{oe.unsubscribe()});let Se;try{if(F&&c&&b!=="get"&&b!=="head"&&(Se=await y($,T))!==0){let re=new r(m,{method:"POST",body:T,duplex:"half"}),ce;if(P.isFormData(T)&&(ce=re.headers.get("content-type"))&&$.setContentType(ce),re.body){const[Ze,D]=Si(Se,ar(Ii(F)));T=Fi(re.body,Li,Ze,D)}}P.isString(_)||(_=_?"include":"omit");const J=s&&"credentials"in r.prototype,ae={...j,signal:oe,method:b.toUpperCase(),headers:$.normalize().toJSON(),body:T,duplex:"half",credentials:J?_:void 0};R=s&&new r(m,ae);let K=await(s?de(R,j):de(m,ae));const Be=u&&(L==="stream"||L==="response");if(u&&(I||Be&&le)){const re={};["status","statusText","headers"].forEach(z=>{re[z]=K[z]});const ce=P.toFiniteNumber(K.headers.get("content-length")),[Ze,D]=I&&Si(ce,ar(Ii(I),!0))||[];K=new n(Fi(K.body,Li,Ze,()=>{D&&D(),le&&le()}),re)}L=L||"text";let Xe=await h[P.findKey(h,L)||"text"](K,g);return!Be&&le&&le(),await new Promise((re,ce)=>{Pi(re,ce,{data:Xe,headers:Ee.from(K.headers),status:K.status,statusText:K.statusText,config:g,request:R})})}catch(J){throw le&&le(),J&&J.name==="TypeError"&&/Load failed|fetch/i.test(J.message)?Object.assign(new U("Network Error",U.ERR_NETWORK,g,R,J&&J.response),{cause:J.cause||J}):U.from(J,J&&J.code,g,R,J&&J.response)}}},Xu=new Map,ki=t=>{let e=t&&t.env||{};const{fetch:r,Request:n,Response:i}=e,s=[n,i,r];let o=s.length,a=o,l,c,u=Xu;for(;a--;)l=s[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:Yu(e)),u=c;return c};ki();const Qr={http:gu,xhr:zu,fetch:{get:ki}};P.forEach(Qr,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Bi=t=>`- ${t}`,Zu=t=>P.isFunction(t)||t===null||t===!1;function Qu(t,e){t=P.isArray(t)?t:[t];const{length:r}=t;let n,i;const s={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=r?o.length>1?`since : +`+o.map(Bi).join(` +`):" "+Bi(o[0]):"as no adapter specified";throw new U("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i}var ji={getAdapter:Qu,adapters:Qr};function en(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new _t(null,t)}function Mi(t){return en(t),t.headers=Ee.from(t.headers),t.data=Zr.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),ji.getAdapter(t.adapter||Ft.adapter,t)(t).then(function(n){return en(t),n.data=Zr.call(t,t.transformResponse,n),n.headers=Ee.from(n.headers),n},function(n){return Ai(n)||(en(t),n&&n.response&&(n.response.data=Zr.call(t,t.transformResponse,n.response),n.response.headers=Ee.from(n.response.headers))),Promise.reject(n)})}const Vi="1.13.6",lr={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{lr[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const Di={};lr.transitional=function(e,r,n){function i(s,o){return"[Axios v"+Vi+"] Transitional option '"+s+"'"+o+(n?". "+n:"")}return(s,o,a)=>{if(e===!1)throw new U(i(o," has been removed"+(r?" in "+r:"")),U.ERR_DEPRECATED);return r&&!Di[o]&&(Di[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,o,a):!0}},lr.spelling=function(e){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function el(t,e,r){if(typeof t!="object")throw new U("options must be an object",U.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let i=n.length;for(;i-- >0;){const s=n[i],o=e[s];if(o){const a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new U("option "+s+" must be "+l,U.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new U("Unknown option "+s,U.ERR_BAD_OPTION)}}var cr={assertOptions:el,validators:lr};const Oe=cr.validators;let it=class{constructor(e){this.defaults=e||{},this.interceptors={request:new vi,response:new vi}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+=` +`+s):n.stack=s}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=nt(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:s}=r;n!==void 0&&cr.assertOptions(n,{silentJSONParsing:Oe.transitional(Oe.boolean),forcedJSONParsing:Oe.transitional(Oe.boolean),clarifyTimeoutError:Oe.transitional(Oe.boolean),legacyInterceptorReqResOrdering:Oe.transitional(Oe.boolean)},!1),i!=null&&(P.isFunction(i)?r.paramsSerializer={serialize:i}:cr.assertOptions(i,{encode:Oe.function,serialize:Oe.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),cr.assertOptions(r,{baseUrl:Oe.spelling("baseURL"),withXsrfToken:Oe.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=s&&P.merge(s.common,s[r.method]);s&&P.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),r.headers=Ee.concat(o,s);const a=[];let l=!0;this.interceptors.request.forEach(function(m){if(typeof m.runWhen=="function"&&m.runWhen(r)===!1)return;l=l&&m.synchronous;const b=r.transitional||Kr;b&&b.legacyInterceptorReqResOrdering?a.unshift(m.fulfilled,m.rejected):a.push(m.fulfilled,m.rejected)});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,h=0,d;if(!l){const g=[Mi.bind(this),void 0];for(g.unshift(...a),g.push(...c),d=g.length,u=Promise.resolve(r);h{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](i);n._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{n.subscribe(a),s=a}).then(i);return o.cancel=function(){n.unsubscribe(s)},o},e(function(s,o,a){n.reason||(n.reason=new _t(s,o,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=n=>{e.abort(n)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new aa(function(i){e=i}),cancel:e}}};function rl(t){return function(r){return t.apply(null,r)}}function nl(t){return P.isObject(t)&&t.isAxiosError===!0}const tn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(tn).forEach(([t,e])=>{tn[e]=t});function Hi(t){const e=new it(t),r=ii(it.prototype.request,e);return P.extend(r,it.prototype,e,{allOwnKeys:!0}),P.extend(r,e,null,{allOwnKeys:!0}),r.create=function(i){return Hi(nt(t,i))},r}const Q=Hi(Ft);Q.Axios=it,Q.CanceledError=_t,Q.CancelToken=tl,Q.isCancel=Ai,Q.VERSION=Vi,Q.toFormData=sr,Q.AxiosError=U,Q.Cancel=Q.CanceledError,Q.all=function(e){return Promise.all(e)},Q.spread=rl,Q.isAxiosError=nl,Q.mergeConfig=nt,Q.AxiosHeaders=Ee,Q.formToJSON=t=>Ti(P.isHTMLForm(t)?new FormData(t):t),Q.getAdapter=ji.getAdapter,Q.HttpStatusCode=tn,Q.default=Q;const{Axios:m0,AxiosError:y0,CanceledError:b0,isCancel:w0,CancelToken:x0,VERSION:E0,all:v0,Cancel:T0,isAxiosError:N0,spread:A0,toFormData:P0,AxiosHeaders:S0,HttpStatusCode:I0,formToJSON:O0,getAdapter:C0,mergeConfig:R0}=Q,fr=t=>encodeURIComponent(t).split("%2F").join("/"),il=/^(\w+:\/\/[^/?]+)?(.*?)$/,sl=t=>t.filter(e=>typeof e=="string"||typeof e=="number").map(e=>`${e}`).filter(e=>e),ol=t=>{const e=t.join("/"),[,r="",n=""]=e.match(il)||[];return{prefix:r,pathname:{parts:n.split("/").filter(i=>i!==""),hasLeading:/^\/+/.test(n),hasTrailing:/\/+$/.test(n)}}},al=(t,e)=>{const{prefix:r,pathname:n}=t,{parts:i,hasLeading:s,hasTrailing:o}=n,{leadingSlash:a,trailingSlash:l}=e,c=a===!0||a==="keep"&&s,u=l===!0||l==="keep"&&o;let h=r;return i.length>0&&((h||c)&&(h+="/"),h+=i.join("/")),u&&(h+="/"),!h&&c&&(h+="/"),h},B=(...t)=>{const e=t[t.length-1];let r;e&&typeof e=="object"&&(r=e,t=t.slice(0,-1)),r={leadingSlash:!0,trailingSlash:!1,...r},t=sl(t);const n=ol(t);return al(n,r)};class zi extends Error{response;statusCode;constructor(e,r,n=null){super(e),this.response=r,this.statusCode=n}}class ul extends zi{errorCode;constructor(e,r,n,i=null){super(e,n,i),this.errorCode=r}}function ll(t,e=""){return`/public-files/${t}/${e}`.split("/").filter(Boolean).join("/")}function cl(t,e=""){return`/ocm/${t}/${e}`.split("/").filter(Boolean).join("/")}class _e{static Shared="S";static Shareable="R";static Mounted="M";static Deletable="D";static Renameable="N";static Moveable="V";static Updateable="NV";static FileUpdateable="W";static FolderCreateable="CK";static Deny="Z";static SecureView="X"}var De=(t=>(t.copy="COPY",t.delete="DELETE",t.lock="LOCK",t.mkcol="MKCOL",t.move="MOVE",t.propfind="PROPFIND",t.proppatch="PROPPATCH",t.put="PUT",t.report="REPORT",t.unlock="UNLOCK",t))(De||{});const hr=t=>({value:t,type:null}),fl=t=>hr(t),M=t=>hr(t),pr=t=>hr(t),hl=t=>hr(t),pl={Permissions:M("permissions"),IsFavorite:pr("favorite"),FileId:M("fileid"),FileParent:M("file-parent"),Name:M("name"),OwnerId:M("owner-id"),OwnerDisplayName:M("owner-display-name"),PrivateLink:M("privatelink"),ContentLength:pr("getcontentlength"),ContentSize:pr("size"),LastModifiedDate:M("getlastmodified"),Tags:fl("tags"),Audio:{value:"audio",type:null},Location:{value:"location",type:null},Image:{value:"image",type:null},Photo:{value:"photo",type:null},Immutable:M("immutable"),ETag:M("getetag"),MimeType:M("getcontenttype"),ResourceType:hl("resourcetype"),LockDiscovery:{value:"lockdiscovery",type:null},LockOwner:M("owner"),LockTime:M("locktime"),ActiveLock:{value:"activelock",type:null},DownloadURL:M("downloadURL"),Highlights:M("highlights"),MetaPathForUser:M("meta-path-for-user"),RemoteItemId:M("remote-item-id"),HasPreview:pr("has-preview"),ShareId:M("shareid"),ShareRoot:M("shareroot"),ShareTypes:{value:"share-types",type:null},SharePermissions:M("share-permissions"),TrashbinOriginalFilename:M("trashbin-original-filename"),TrashbinOriginalLocation:M("trashbin-original-location"),TrashbinDeletedDate:M("trashbin-delete-datetime"),PublicLinkItemType:M("public-link-item-type"),PublicLinkPermission:M("public-link-permission"),PublicLinkExpiration:M("public-link-expiration"),PublicLinkShareDate:M("public-link-share-datetime"),PublicLinkShareOwner:M("public-link-share-owner")},C=Object.fromEntries(Object.entries(pl).map(([t,e])=>[t,e.value]));class st{static Default=[C.Permissions,C.IsFavorite,C.FileId,C.FileParent,C.Name,C.LockDiscovery,C.ActiveLock,C.OwnerId,C.OwnerDisplayName,C.RemoteItemId,C.ShareRoot,C.ShareTypes,C.PrivateLink,C.ContentLength,C.ContentSize,C.LastModifiedDate,C.ETag,C.MimeType,C.ResourceType,C.Tags,C.Immutable,C.Audio,C.Location,C.Image,C.Photo,C.HasPreview];static PublicLink=st.Default.concat([C.PublicLinkItemType,C.PublicLinkPermission,C.PublicLinkExpiration,C.PublicLinkShareDate,C.PublicLinkShareOwner]);static Trashbin=[C.ContentLength,C.ResourceType,C.TrashbinOriginalLocation,C.TrashbinOriginalFilename,C.TrashbinDeletedDate,C.Permissions,C.FileParent];static DavNamespace=[C.ContentLength,C.LastModifiedDate,C.ETag,C.MimeType,C.ResourceType,C.LockDiscovery,C.ActiveLock]}var dl=typeof Fe=="object"&&Fe&&Fe.Object===Object&&Fe,gl=typeof self=="object"&&self&&self.Object===Object&&self,rn=dl||gl||Function("return this")(),yt=rn.Symbol,qi=Object.prototype,ml=qi.hasOwnProperty,yl=qi.toString,$t=yt?yt.toStringTag:void 0;function bl(t){var e=ml.call(t,$t),r=t[$t];try{t[$t]=void 0;var n=!0}catch{}var i=yl.call(t);return n&&(e?t[$t]=r:delete t[$t]),i}var wl=Object.prototype,xl=wl.toString;function El(t){return xl.call(t)}var vl="[object Null]",Tl="[object Undefined]",Wi=yt?yt.toStringTag:void 0;function Gi(t){return t==null?t===void 0?Tl:vl:Wi&&Wi in Object(t)?bl(t):El(t)}function Nl(t){return t!=null&&typeof t=="object"}var Al="[object Symbol]";function nn(t){return typeof t=="symbol"||Nl(t)&&Gi(t)==Al}function Pl(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r-1}function hc(t,e){var r=this.__data__,n=dr(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function bt(t){var e=-1,r=t==null?0:t.length;for(this.clear();++ei?0:i+e),r=r>i?i:r,r<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var s=Array(i);++n=n?t:Cc(t,e,r)}var Fc="\\ud800-\\udfff",Lc="\\u0300-\\u036f",_c="\\ufe20-\\ufe2f",$c="\\u20d0-\\u20ff",Uc=Lc+_c+$c,kc="\\ufe0e\\ufe0f",Bc="\\u200d",jc=RegExp("["+Bc+Fc+Uc+kc+"]");function es(t){return jc.test(t)}function Mc(t){return t.split("")}var ts="\\ud800-\\udfff",Vc="\\u0300-\\u036f",Dc="\\ufe20-\\ufe2f",Hc="\\u20d0-\\u20ff",zc=Vc+Dc+Hc,qc="\\ufe0e\\ufe0f",Wc="["+ts+"]",un="["+zc+"]",ln="\\ud83c[\\udffb-\\udfff]",Gc="(?:"+un+"|"+ln+")",rs="[^"+ts+"]",ns="(?:\\ud83c[\\udde6-\\uddff]){2}",is="[\\ud800-\\udbff][\\udc00-\\udfff]",Kc="\\u200d",ss=Gc+"?",os="["+qc+"]?",Jc="(?:"+Kc+"(?:"+[rs,ns,is].join("|")+")"+os+ss+")*",Yc=os+ss+Jc,Xc="(?:"+[rs+un+"?",un,ns,is,Wc].join("|")+")",Zc=RegExp(ln+"(?="+ln+")|"+Xc+Yc,"g");function Qc(t){return t.match(Zc)||[]}function ef(t){return es(t)?Qc(t):Mc(t)}function tf(t){return function(e){e=kt(e);var r=es(e)?ef(e):void 0,n=r?r[0]:e.charAt(0),i=r?Rc(r,1).join(""):e.slice(1);return n[t]()+i}}var rf=tf("toUpperCase");function nf(t){return rf(kt(t).toLowerCase())}function sf(t,e,r,n){for(var i=-1,s=t==null?0:t.length;++it.replace(/[^A-Za-z0-9\-_]/g,""),Ns=(t,e)=>!t||typeof t!="string"?"":t.indexOf("!")>=0?t.split("!")[e]:"",Yf=t=>Ns(t,0),As=t=>Ns(t,1),Ps=t=>{const r=t.name.split(".");if(r.length>2)for(let n=0;n{if(!t)return t;const e={};return Object.keys(t).forEach(r=>{e[Kf(r)]=t[r]}),e};function xt(t,e=[]){const r=t.props[C.Name]?.toString()||Mr.basename(t.filename),n=t.props[C.FileId],i=t.type==="directory";let s;t.filename.startsWith("/files")||t.filename.startsWith("/space")?s=t.filename.split("/").slice(3).join("/"):s=t.filename,s.startsWith("/")||(s=`/${s}`);const o=Ps({...t,name:r}),a=t.props[C.LockDiscovery];let l,c,u;a&&(l=a[C.ActiveLock],c=l[C.LockOwner],u=l[C.LockTime]);let h=[];t.props[C.ShareTypes]&&(h=t.props[C.ShareTypes]["share-type"],Array.isArray(h)||(h=[h]));const d={};for(const g of e||[]){const m=g.split(":").pop();t.props[m]&&(d[g]=t.props[m])}const y={id:n,fileId:n,storageId:Yf(n),parentFolderId:t.props[C.FileParent],mimeType:t.props[C.MimeType],name:r,extension:o,path:s,webDavPath:t.filename,type:i?"folder":t.type,isFolder:i,locked:!!l,lockOwner:c,lockTime:u,immutableState:t.props[C.Immutable]||void 0,processing:t.processing||!1,mdate:t.props[C.LastModifiedDate],size:i?t.props[C.ContentSize]?.toString()||"0":t.props[C.ContentLength]?.toString()||"0",permissions:t.props[C.Permissions]||"",starred:t.props[C.IsFavorite]!==0,etag:t.props[C.ETag],shareTypes:h,privateLink:t.props[C.PrivateLink],downloadURL:t.props[C.DownloadURL],remoteItemId:t.props[C.RemoteItemId],remoteItemPath:t.props[C.ShareRoot],owner:{id:t.props[C.OwnerId],displayName:t.props[C.OwnerDisplayName]},tags:(t.props[C.Tags]||"").toString().split(",").filter(Boolean),audio:mr(t.props[C.Audio]),location:mr(t.props[C.Location]),image:mr(t.props[C.Image]),photo:mr(t.props[C.Photo]),extraProps:d,hasPreview:()=>t.props[C.HasPreview]===1,canUpload:function(){return this.permissions.indexOf(_e.FolderCreateable)>=0},canDownload:function(){return this.permissions.indexOf(_e.SecureView)===-1},canBeDeleted:function(){return this.permissions.indexOf(_e.Deletable)>=0},canRename:function(){return this.permissions.indexOf(_e.Renameable)>=0},canShare:function({ability:g}){return g.can("create-all","Share")&&this.permissions.indexOf(_e.Shareable)>=0},canCreate:function(){return this.permissions.indexOf(_e.FolderCreateable)>=0},canEditTags:function(){return this.permissions.indexOf(_e.Updateable)>=0||this.permissions.indexOf(_e.FileUpdateable)>=0||this.permissions.indexOf(_e.FolderCreateable)>=0},isMounted:function(){return this.permissions.indexOf(_e.Mounted)>=0},isReceivedShare:function(){return this.permissions.indexOf(_e.Shared)>=0},isShareRoot(){return t.props[C.ShareRoot]?t.filename.split("/").length===3:!1},getDomSelector:()=>cn(n)};return Object.defineProperty(y,"nodeId",{get(){return As(this.id)}}),y}function Xf(t){const e=t.type==="directory",r=t.props[C.TrashbinOriginalFilename]?.toString(),n=Ps({name:r,type:t.type}),i=ni.basename(t.filename);return{type:e?"folder":t.type,isFolder:e,ddate:t.props[C.TrashbinDeletedDate],name:ni.basename(r),extension:n,path:B(t.props[C.TrashbinOriginalLocation],{leadingSlash:!0}),id:i,parentFolderId:t.props[C.FileParent],webDavPath:"",canUpload:()=>!1,canDownload:()=>!1,canBeDeleted:()=>!0,canBeRestored:function(){return!0},canRename:()=>!1,canShare:()=>!1,canCreate:()=>!1,isMounted:()=>!1,isReceivedShare:()=>!1,hasPreview:()=>!1,isShareRoot:()=>!1,getDomSelector:()=>cn(i)}}var Ae=(t=>(t.createUpload="libre.graph/driveItem/upload/create",t.createPermissions="libre.graph/driveItem/permissions/create",t.createChildren="libre.graph/driveItem/children/create",t.readBasic="libre.graph/driveItem/basic/read",t.readPath="libre.graph/driveItem/path/read",t.readQuota="libre.graph/driveItem/quota/read",t.readContent="libre.graph/driveItem/content/read",t.readChildren="libre.graph/driveItem/children/read",t.readDeleted="libre.graph/driveItem/deleted/read",t.readPermissions="libre.graph/driveItem/permissions/read",t.readVersions="libre.graph/driveItem/versions/read",t.updatePath="libre.graph/driveItem/path/update",t.updateDeleted="libre.graph/driveItem/deleted/update",t.updatePermissions="libre.graph/driveItem/permissions/update",t.updateVersions="libre.graph/driveItem/versions/update",t.deleteStandard="libre.graph/driveItem/standard/delete",t.deleteDeleted="libre.graph/driveItem/deleted/delete",t.deletePermissions="libre.graph/driveItem/permissions/delete",t))(Ae||{});const fn=t=>t?.driveType==="personal",hn=t=>t?.driveType==="public";function Zf(t,e){return B("spaces",t,e,{leadingSlash:!0})}function pn(t,e=""){return B("spaces","trash-bin",t,e,{leadingSlash:!0})}function Qf(t){const e=t.publicLinkPassword,r=t.props?.[C.FileId],n=t.props?.[C.PublicLinkItemType],i=t.props?.[C.PublicLinkPermission],s=t.props?.[C.PublicLinkExpiration],o=t.props?.[C.PublicLinkShareDate],a=t.props?.[C.PublicLinkShareOwner],l=t.publicLinkType;let c,u;return l==="ocm"?(c=`ocm/${t.id}`,u=cl(t.id)):(c=`public/${t.id}`,u=ll(t.id)),Object.assign(eh({...t,driveType:"public",driveAlias:c,webDavPath:u}),{...r&&{fileId:r},...e&&{publicLinkPassword:e},...n&&{publicLinkItemType:n},...i&&{publicLinkPermission:parseInt(i)},...s&&{publicLinkExpiration:s},...o&&{publicLinkShareDate:o},...a&&{publicLinkShareOwner:a},publicLinkType:l})}function eh(t){let e,r;t.special&&(e=t.special.find(c=>c.specialFolder.name==="image"),r=t.special.find(c=>c.specialFolder.name==="readme"),e&&(e.webDavUrl=decodeURI(e.webDavUrl)),r&&(r.webDavUrl=decodeURI(r.webDavUrl)));const n=t.root?.deleted?.state==="trashed",i=B(t.webDavPath||Zf(t.id),{leadingSlash:!0}),s=B(t.serverUrl,"remote.php/dav",i),o=B(t.webDavTrashPath||pn(t.id),{leadingSlash:!0}),a=B(t.serverUrl,"remote.php/dav",o),l={id:t.id,fileId:t.id,storageId:t.id,mimeType:"",name:t.name,description:t.description,extension:"",path:"/",webDavPath:i,webDavTrashPath:o,driveAlias:t.driveAlias,driveType:t.driveType,type:"space",isFolder:!0,mdate:t.lastModifiedDateTime,size:t.quota?.used||0,tags:[],permissions:"",starred:!1,etag:"",shareTypes:[],privateLink:t.webUrl,downloadURL:"",owner:t.owner?.user,disabled:n,root:t.root,spaceQuota:t.quota,spaceImageData:e,spaceReadmeData:r,hasTrashedItems:t["@libre.graph.hasTrashedItems"]||!1,graphPermissions:void 0,canUpload:function({user:c}={}){return fn(this)&&this.isOwner(c)?!0:this.graphPermissions?.includes(Ae.createUpload)},canDownload:function(){return!0},canBeDeleted:function({ability:c}={}){return this.disabled?c?.can("delete-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions):!1},canRename:function({ability:c}={}){return c?.can("update-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions)},canEditDescription:function({ability:c}={}){return c?.can("update-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions)},canRestore:function({ability:c}={}){return this.disabled?c?.can("update-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions):!1},canDisable:function({ability:c}={}){return this.disabled?!1:c?.can("delete-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions)},canShare:function(){return this.graphPermissions?.includes(Ae.createPermissions)},canEditImage:function(){return this.disabled?!1:this.graphPermissions?.includes(Ae.deletePermissions)},canEditReadme:function(){return this.disabled?!1:this.graphPermissions?.includes(Ae.deletePermissions)},canRestoreFromTrashbin:function(){return this.graphPermissions?.includes(Ae.updateDeleted)},canDeleteFromTrashBin:function({user:c}={}){return fn(this)&&this.isOwner(c)?!0:this.graphPermissions?.includes(Ae.deletePermissions)},canListVersions:function({user:c}={}){return fn(this)&&this.isOwner(c)?!0:this.graphPermissions?.includes(Ae.readVersions)},canCreate:function(){return!0},canEditTags:function(){return!1},isMounted:function(){return!0},isReceivedShare:function(){return!1},isShareRoot:function(){return["share","mountpoint","public"].includes(t.driveType)},getDomSelector:()=>cn(t.id),getDriveAliasAndItem({path:c}){return B(this.driveAlias,c,{leadingSlash:!1})},getWebDavUrl({path:c}){return B(s,c)},getWebDavTrashUrl({path:c}){return B(a,c)},isOwner(c){return c?.id===this.owner?.id}};return Object.defineProperty(l,"nodeId",{get(){return As(this.id)}}),l}const th=(t,e)=>{const r=new URL(t);r.pathname=[...r.pathname.split("/"),"cloud","capabilities"].filter(Boolean).join("/"),r.searchParams.append("format","json");const n=r.href;return{async getCapabilities(){const i=await e.get(n);return Oc(i,"data.ocs.data",{capabilities:null,version:null})}}};function rh(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Bt(t,e=""){if(!Number.isSafeInteger(t)||t<0){const r=e&&`"${e}" `;throw new Error(`${r}expected integer >= 0, got ${t}`)}}function jt(t,e,r=""){const n=rh(t),i=t?.length,s=e!==void 0;if(!n||s&&i!==e){const o=r&&`"${r}" `,a=s?` of length ${e}`:"",l=n?`length=${i}`:`type=${typeof t}`;throw new Error(o+"expected Uint8Array"+a+", got "+l)}return t}function Ss(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash must wrapped by utils.createHasher");Bt(t.outputLen),Bt(t.blockLen)}function yr(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function nh(t,e){jt(t,void 0,"digestInto() output");const r=e.outputLen;if(t.length='+r)}function Mt(...t){for(let e=0;et(s).update(i).digest(),n=t(void 0);return r.outputLen=n.outputLen,r.blockLen=n.blockLen,r.create=i=>t(i),Object.assign(r,e),Object.freeze(r)}const ah=t=>({oid:Uint8Array.from([6,9,96,134,72,1,101,3,4,2,t])});class Os{oHash;iHash;blockLen;outputLen;finished=!1;destroyed=!1;constructor(e,r){if(Ss(e),jt(r,void 0,"key"),this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const n=this.blockLen,i=new Uint8Array(n);i.set(r.length>n?e.create().update(r).digest():r);for(let s=0;snew Os(t,e).update(r).digest();Cs.create=(t,e)=>new Os(t,e);function uh(t,e,r,n){Ss(t);const i=sh({dkLen:32,asyncTick:10},n),{c:s,dkLen:o,asyncTick:a}=i;if(Bt(s,"c"),Bt(o,"dkLen"),Bt(a,"asyncTick"),s<1)throw new Error("iterations (c) must be >= 1");const l=Is(e,"password"),c=Is(r,"salt"),u=new Uint8Array(o),h=Cs.create(t,l),d=h._cloneInto().update(c);return{c:s,dkLen:o,asyncTick:a,DK:u,PRF:h,PRFSalt:d}}function lh(t,e,r,n,i){return t.destroy(),e.destroy(),n&&n.destroy(),Mt(i),r}function ch(t,e,r,n){const{c:i,dkLen:s,DK:o,PRF:a,PRFSalt:l}=uh(t,e,r,n);let c;const u=new Uint8Array(4),h=br(u),d=new Uint8Array(a.outputLen);for(let y=1,g=0;gi-o&&(this.process(n,0),o=0);for(let h=o;hu.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h>Rs&wr)}:{h:Number(t>>Rs&wr)|0,l:Number(t&wr)|0}}function ph(t,e=!1){const r=t.length;let n=new Uint32Array(r),i=new Uint32Array(r);for(let s=0;st>>>r,Ls=(t,e,r)=>t<<32-r|e>>>r,Et=(t,e,r)=>t>>>r|e<<32-r,vt=(t,e,r)=>t<<32-r|e>>>r,xr=(t,e,r)=>t<<64-r|e>>>r-32,Er=(t,e,r)=>t>>>r-32|e<<64-r;function He(t,e,r,n){const i=(e>>>0)+(n>>>0);return{h:t+r+(i/2**32|0)|0,l:i|0}}const dh=(t,e,r)=>(t>>>0)+(e>>>0)+(r>>>0),gh=(t,e,r,n)=>e+r+n+(t/2**32|0)|0,mh=(t,e,r,n)=>(t>>>0)+(e>>>0)+(r>>>0)+(n>>>0),yh=(t,e,r,n,i)=>e+r+n+i+(t/2**32|0)|0,bh=(t,e,r,n,i)=>(t>>>0)+(e>>>0)+(r>>>0)+(n>>>0)+(i>>>0),wh=(t,e,r,n,i,s)=>e+r+n+i+s+(t/2**32|0)|0,_s=ph(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),xh=_s[0],Eh=_s[1],We=new Uint32Array(80),Ge=new Uint32Array(80);class vh extends fh{constructor(e){super(128,e,16,!1)}get(){const{Ah:e,Al:r,Bh:n,Bl:i,Ch:s,Cl:o,Dh:a,Dl:l,Eh:c,El:u,Fh:h,Fl:d,Gh:y,Gl:g,Hh:m,Hl:b}=this;return[e,r,n,i,s,o,a,l,c,u,h,d,y,g,m,b]}set(e,r,n,i,s,o,a,l,c,u,h,d,y,g,m,b){this.Ah=e|0,this.Al=r|0,this.Bh=n|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=l|0,this.Eh=c|0,this.El=u|0,this.Fh=h|0,this.Fl=d|0,this.Gh=y|0,this.Gl=g|0,this.Hh=m|0,this.Hl=b|0}process(e,r){for(let v=0;v<16;v++,r+=4)We[v]=e.getUint32(r),Ge[v]=e.getUint32(r+=4);for(let v=16;v<80;v++){const A=We[v-15]|0,I=Ge[v-15]|0,F=Et(A,I,1)^Et(A,I,8)^Fs(A,I,7),L=vt(A,I,1)^vt(A,I,8)^Ls(A,I,7),$=We[v-2]|0,_=Ge[v-2]|0,j=Et($,_,19)^xr($,_,61)^Fs($,_,6),de=vt($,_,19)^Er($,_,61)^Ls($,_,6),oe=mh(L,de,Ge[v-7],Ge[v-16]),R=yh(oe,F,j,We[v-7],We[v-16]);We[v]=R|0,Ge[v]=oe|0}let{Ah:n,Al:i,Bh:s,Bl:o,Ch:a,Cl:l,Dh:c,Dl:u,Eh:h,El:d,Fh:y,Fl:g,Gh:m,Gl:b,Hh:T,Hl:E}=this;for(let v=0;v<80;v++){const A=Et(h,d,14)^Et(h,d,18)^xr(h,d,41),I=vt(h,d,14)^vt(h,d,18)^Er(h,d,41),F=h&y^~h&m,L=d&g^~d&b,$=bh(E,I,L,Eh[v],Ge[v]),_=wh($,T,A,F,xh[v],We[v]),j=$|0,de=Et(n,i,28)^xr(n,i,34)^xr(n,i,39),oe=vt(n,i,28)^Er(n,i,34)^Er(n,i,39),R=n&s^n&a^s&a,le=i&o^i&l^o&l;T=m|0,E=b|0,m=y|0,b=g|0,y=h|0,g=d|0,{h,l:d}=He(c|0,u|0,_|0,j|0),c=a|0,u=l|0,a=s|0,l=o|0,s=n|0,o=i|0;const Se=dh(j,oe,le);n=gh(Se,_,de,R),i=Se|0}({h:n,l:i}=He(this.Ah|0,this.Al|0,n|0,i|0)),{h:s,l:o}=He(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l}=He(this.Ch|0,this.Cl|0,a|0,l|0),{h:c,l:u}=He(this.Dh|0,this.Dl|0,c|0,u|0),{h,l:d}=He(this.Eh|0,this.El|0,h|0,d|0),{h:y,l:g}=He(this.Fh|0,this.Fl|0,y|0,g|0),{h:m,l:b}=He(this.Gh|0,this.Gl|0,m|0,b|0),{h:T,l:E}=He(this.Hh|0,this.Hl|0,T|0,E|0),this.set(n,i,s,o,a,l,c,u,h,d,y,g,m,b,T,E)}roundClean(){Mt(We,Ge)}destroy(){Mt(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class Th extends vh{Ah=he[0]|0;Al=he[1]|0;Bh=he[2]|0;Bl=he[3]|0;Ch=he[4]|0;Cl=he[5]|0;Dh=he[6]|0;Dl=he[7]|0;Eh=he[8]|0;El=he[9]|0;Fh=he[10]|0;Fl=he[11]|0;Gh=he[12]|0;Gl=he[13]|0;Hh=he[14]|0;Hl=he[15]|0;constructor(){super(64)}}const Nh=oh(()=>new Th,ah(3)),Ah=(t,e,r,n)=>yi.from(ch(Nh,t,e,{c:r,dkLen:n})),$s=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ph=$s+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Sh="["+$s+"]["+Ph+"]*",Ih=new RegExp("^"+Sh+"$");function Us(t,e){const r=[];let n=e.exec(t);for(;n;){const i=[];i.startIndex=e.lastIndex-n[0].length;const s=n.length;for(let o=0;o"u")};function Oh(t){return typeof t<"u"}const dn=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],ks=["__proto__","constructor","prototype"],Ch={allowBooleanAttributes:!1,unpairedTags:[]};function Rh(t,e){e=Object.assign({},Ch,e);const r=[];let n=!1,i=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let s=0;s"&&t[s]!==" "&&t[s]!==" "&&t[s]!==` +`&&t[s]!=="\r";s++)l+=t[s];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),s--),!jh(l)){let h;return l.trim().length===0?h="Invalid space after '<'.":h="Tag '"+l+"' is an invalid name.",ee("InvalidTag",h,ge(t,s))}const c=_h(t,s);if(c===!1)return ee("InvalidAttr","Attributes for '"+l+"' have open quote.",ge(t,s));let u=c.value;if(s=c.index,u[u.length-1]==="/"){const h=s-u.length;u=u.substring(0,u.length-1);const d=Vs(u,e);if(d===!0)n=!0;else return ee(d.err.code,d.err.msg,ge(t,h+d.err.line))}else if(a)if(c.tagClosed){if(u.trim().length>0)return ee("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",ge(t,o));if(r.length===0)return ee("InvalidTag","Closing tag '"+l+"' has not been opened.",ge(t,o));{const h=r.pop();if(l!==h.tagName){let d=ge(t,h.tagStartPos);return ee("InvalidTag","Expected closing tag '"+h.tagName+"' (opened in line "+d.line+", col "+d.col+") instead of closing tag '"+l+"'.",ge(t,o))}r.length==0&&(i=!0)}}else return ee("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",ge(t,s));else{const h=Vs(u,e);if(h!==!0)return ee(h.err.code,h.err.msg,ge(t,s-u.length+h.err.line));if(i===!0)return ee("InvalidXml","Multiple possible root nodes found.",ge(t,s));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:o}),n=!0}for(s++;s0)return ee("InvalidXml","Invalid '"+JSON.stringify(r.map(s=>s.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return ee("InvalidXml","Start tag expected.",1);return!0}function Bs(t){return t===" "||t===" "||t===` +`||t==="\r"}function js(t,e){const r=e;for(;e5&&n==="xml")return ee("InvalidXml","XML declaration allowed only at the start of the document.",ge(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}function Ms(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e"){e+=2;break}}return e}const Fh='"',Lh="'";function _h(t,e){let r="",n="",i=!1;for(;e"&&n===""){i=!0;break}r+=t[e]}return n!==""?!1:{value:r,index:e,tagClosed:i}}const $h=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Vs(t,e){const r=Us(t,$h),n={};for(let i=0;idn.includes(t)?"__"+t:t,Mh={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,r){return t},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Ds};function Vh(t,e){if(typeof t!="string")return;const r=t.toLowerCase();if(dn.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(ks.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}function Hs(t){return typeof t=="boolean"?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,maxEntityCount:100,allowedTags:null,tagFilter:null}:typeof t=="object"&&t!==null?{enabled:t.enabled!==!1,maxEntitySize:t.maxEntitySize??1e4,maxExpansionDepth:t.maxExpansionDepth??10,maxTotalExpansions:t.maxTotalExpansions??1e3,maxExpandedLength:t.maxExpandedLength??1e5,maxEntityCount:t.maxEntityCount??100,allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null}:Hs(!0)}const Dh=function(t){const e=Object.assign({},Mh,t),r=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(const{value:n,name:i}of r)n&&Vh(n,i);return e.onDangerousProperty===null&&(e.onDangerousProperty=Ds),e.processEntities=Hs(e.processEntities),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(n=>typeof n=="string"&&n.startsWith("*.")?".."+n.substring(2):n)),e};let Tr;typeof Symbol!="function"?Tr="@@xmlMetadata":Tr=Symbol("XML Node Metadata");class Ke{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,r){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:r})}addChild(e,r){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),r!==void 0&&(this.child[this.child.length-1][Tr]={startIndex:r})}static getMetaDataSymbol(){return Tr}}class Hh{constructor(e){this.suppressValidationErr=!e,this.options=e}readDocType(e,r){const n=Object.create(null);let i=0;if(e[r+3]==="O"&&e[r+4]==="C"&&e[r+5]==="T"&&e[r+6]==="Y"&&e[r+7]==="P"&&e[r+8]==="E"){r=r+9;let s=1,o=!1,a=!1,l="";for(;r=this.options.maxEntityCount)throw new Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);const h=c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");n[c]={regx:RegExp(`&${h};`,"g"),val:u},i++}}else if(o&&ut(e,"!ELEMENT",r)){r+=8;const{index:c}=this.readElementExp(e,r+1);r=c}else if(o&&ut(e,"!ATTLIST",r))r+=8;else if(o&&ut(e,"!NOTATION",r)){r+=9;const{index:c}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=c}else if(ut(e,"!--",r))a=!0;else throw new Error("Invalid DOCTYPE");s++,l=""}else if(e[r]===">"){if(a?e[r-1]==="-"&&e[r-2]==="-"&&(a=!1,s--):s--,s===0)break}else e[r]==="["?o=!0:l+=e[r];if(s!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:n,i:r}}readEntityExp(e,r){r=ve(e,r);let n="";for(;rthis.options.maxEntitySize)throw new Error(`Entity "${n}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[n,i,r]}readNotationExp(e,r){r=ve(e,r);let n="";for(;r{for(;e1||s.length===1&&!a))return t;{const l=Number(r),c=String(l);if(l===0)return l;if(c.search(/[eE]/)!==-1)return e.eNotation?l:t;if(r.indexOf(".")!==-1)return c==="0"||c===o||c===`${i}${o}`?l:t;let u=s?o:r;return s?u===c||i+u===c?l:t:u===c||u===i+c?l:t}}else return t}}else return Zh(t,Number(r),e)}const Kh=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Jh(t,e,r){if(!r.eNotation)return t;const n=e.match(Kh);if(n){let i=n[1]||"";const s=n[3].indexOf("e")===-1?"E":"e",o=n[2],a=i?t[o.length+1]===s:t[o.length]===s;return o.length>1&&a?t:o.length===1&&(n[3].startsWith(`.${s}`)||n[3][0]===s)?Number(e):r.leadingZeros&&!a?(e=(n[1]||"")+n[3],Number(e)):t}else return t}function Yh(t){return t&&t.indexOf(".")!==-1&&(t=t.replace(/0+$/,""),t==="."?t="0":t[0]==="."?t="0"+t:t[t.length-1]==="."&&(t=t.substring(0,t.length-1))),t}function Xh(t,e){if(parseInt)return parseInt(t,e);if(Number.parseInt)return Number.parseInt(t,e);if(window&&window.parseInt)return window.parseInt(t,e);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}function Zh(t,e,r){const n=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return n?"Infinity":"-Infinity";default:return t}}function Qh(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(const r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}class Tt{constructor(e,r={}){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this._hasDeepWildcard=this.segments.some(n=>n.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(n=>n.attrName!==void 0),this._hasPositionSelector=this.segments.some(n=>n.position!==void 0)}_parse(e){const r=[];let n=0,i="";for(;n0){const u=this.path[this.path.length-1];u.values=void 0}const i=this.path.length;this.siblingStacks[i]||(this.siblingStacks[i]=new Map);const s=this.siblingStacks[i],o=n?`${n}:${e}`:e,a=s.get(o)||0;let l=0;for(const u of s.values())l+=u;s.set(o,a+1);const c={tag:e,position:l,counter:a};n!=null&&(c.namespace=n),r!=null&&(c.values=r),this.path.push(c)}pop(){if(this.path.length===0)return;const e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){const r=this.path[this.path.length-1];e!=null&&(r.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){return this.path.length===0?void 0:this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;const r=this.path[this.path.length-1];return r.values!==void 0&&e in r.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,r=!0){const n=e||this.separator;return this.path.map(i=>r&&i.namespace?`${i.namespace}:${i.tag}`:i.tag).join(n)}toArray(){return this.path.map(e=>e.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(e){const r=e.segments;return r.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(r):this._matchSimple(r)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let r=0;r=0&&r>=0;){const i=e[n];if(i.type==="deep-wildcard"){if(n--,n<0)return!0;const s=e[n];let o=!1;for(let a=r;a>=0;a--){const l=a===this.path.length-1;if(this._matchSegment(s,this.path[a],l)){r=a-1,n--,o=!0;break}}if(!o)return!1}else{const s=r===this.path.length-1;if(!this._matchSegment(i,this.path[r],s))return!1;r--,n--}}return n<0}_matchSegment(e,r,n){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace)return!1;if(e.attrName!==void 0){if(!n||!r.values||!(e.attrName in r.values))return!1;if(e.attrValue!==void 0){const i=r.values[e.attrName];if(String(i)!==String(e.attrValue))return!1}}if(e.position!==void 0){if(!n)return!1;const i=r.counter??0;if(e.position==="first"&&i!==0)return!1;if(e.position==="odd"&&i%2!==1)return!1;if(e.position==="even"&&i%2!==0)return!1;if(e.position==="nth"&&i!==e.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>new Map(e))}}restore(e){this.path=e.path.map(r=>({...r})),this.siblingStacks=e.siblingStacks.map(r=>new Map(r))}}function ep(t,e){if(!t)return{};const r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};const n={};for(const i in r)if(i.startsWith(e.attributeNamePrefix)){const s=i.substring(e.attributeNamePrefix.length);n[s]=r[i]}else n[i]=r[i];return n}function tp(t){if(!t||typeof t!="string")return;const e=t.indexOf(":");if(e!==-1&&e>0){const r=t.substring(0,e);if(r!=="xmlns")return r}}class rp{constructor(e){if(this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(r,n)=>zs(n,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(r,n)=>zs(n,16,"&#x")}},this.addExternalEntities=np,this.parseXml=up,this.parseTextData=ip,this.resolveNameSpace=sp,this.buildAttributesMap=ap,this.isItStopNode=hp,this.replaceEntitiesValue=cp,this.readStopNodeData=dp,this.saveTextToParentTag=fp,this.addChild=lp,this.ignoreAttributesFn=Qh(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new gn,this.isCurrentNodeStopNode=!1,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodeExpressions=[];for(let r=0;r0)){o||(t=this.replaceEntitiesValue(t,e,r));const a=this.options.jPath?r.toString():r,l=this.options.tagValueProcessor(e,t,a,i,s);return l==null?t:typeof l!=typeof t||l!==t?l:this.options.trimValues?yn(t,this.options.parseTagValue,this.options.numberParseOptions):t.trim()===t?yn(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function sp(t){if(this.options.removeNSPrefix){const e=t.split(":"),r=t.charAt(0)==="/"?"/":"";if(e[0]==="xmlns")return"";e.length===2&&(t=r+e[1])}return t}const op=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function ap(t,e,r){if(this.options.ignoreAttributes!==!0&&typeof t=="string"){const n=Us(t,op),i=n.length,s={},o={};for(let a=0;a0&&typeof e=="object"&&e.updateCurrent&&e.updateCurrent(o);for(let a=0;a",s,"Closing Tag is not closed.");let l=t.substring(s+2,a).trim();if(this.options.removeNSPrefix){const u=l.indexOf(":");u!==-1&&(l=l.substr(u+1))}l=bn(this.options.transformTagName,l,"",this.options).tagName,r&&(n=this.saveTextToParentTag(n,r,this.matcher));const c=this.matcher.getCurrentTag();if(l&&this.options.unpairedTags.indexOf(l)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);c&&this.options.unpairedTags.indexOf(c)!==-1&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",s=a}else if(t[s+1]==="?"){let a=mn(t,s,!1,"?>");if(!a)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,r,this.matcher),!(this.options.ignoreDeclaration&&a.tagName==="?xml"||this.options.ignorePiTags)){const l=new Ke(a.tagName);l.add(this.options.textNodeName,""),a.tagName!==a.tagExp&&a.attrExpPresent&&(l[":@"]=this.buildAttributesMap(a.tagExp,this.matcher,a.tagName)),this.addChild(r,l,this.matcher,s)}s=a.closeIndex+1}else if(t.substr(s+1,3)==="!--"){const a=lt(t,"-->",s+4,"Comment is not closed.");if(this.options.commentPropName){const l=t.substring(s+4,a-2);n=this.saveTextToParentTag(n,r,this.matcher),r.add(this.options.commentPropName,[{[this.options.textNodeName]:l}])}s=a}else if(t.substr(s+1,2)==="!D"){const a=i.readDocType(t,s);this.docTypeEntities=a.entities,s=a.i}else if(t.substr(s+1,2)==="!["){const a=lt(t,"]]>",s,"CDATA is not closed.")-2,l=t.substring(s+9,a);n=this.saveTextToParentTag(n,r,this.matcher);let c=this.parseTextData(l,r.tagname,this.matcher,!0,!1,!0,!0);c==null&&(c=""),this.options.cdataPropName?r.add(this.options.cdataPropName,[{[this.options.textNodeName]:l}]):r.add(this.options.textNodeName,c),s=a+2}else{let a=mn(t,s,this.options.removeNSPrefix);if(!a){const E=t.substring(Math.max(0,s-50),Math.min(t.length,s+50));throw new Error(`readTagExp returned undefined at position ${s}. Context: "${E}"`)}let l=a.tagName;const c=a.rawTagName;let u=a.tagExp,h=a.attrExpPresent,d=a.closeIndex;if({tagName:l,tagExp:u}=bn(this.options.transformTagName,l,u,this.options),this.options.strictReservedNames&&(l===this.options.commentPropName||l===this.options.cdataPropName))throw new Error(`Invalid tag name: ${l}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.matcher,!1));const y=r;y&&this.options.unpairedTags.indexOf(y.tagname)!==-1&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let g=!1;u.length>0&&u.lastIndexOf("/")===u.length-1&&(g=!0,l[l.length-1]==="/"?(l=l.substr(0,l.length-1),u=l):u=u.substr(0,u.length-1),h=l!==u);let m=null,b;b=tp(c),l!==e.tagname&&this.matcher.push(l,{},b),l!==u&&h&&(m=this.buildAttributesMap(u,this.matcher,l),m&&ep(m,this.options)),l!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));const T=s;if(this.isCurrentNodeStopNode){let E="";if(g)s=a.closeIndex;else if(this.options.unpairedTags.indexOf(l)!==-1)s=a.closeIndex;else{const A=this.readStopNodeData(t,c,d+1);if(!A)throw new Error(`Unexpected end of ${c}`);s=A.i,E=A.tagContent}const v=new Ke(l);m&&(v[":@"]=m),v.add(this.options.textNodeName,E),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,v,this.matcher,T)}else{if(g){({tagName:l,tagExp:u}=bn(this.options.transformTagName,l,u,this.options));const E=new Ke(l);m&&(E[":@"]=m),this.addChild(r,E,this.matcher,T),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(this.options.unpairedTags.indexOf(l)!==-1){const E=new Ke(l);m&&(E[":@"]=m),this.addChild(r,E,this.matcher,T),this.matcher.pop(),this.isCurrentNodeStopNode=!1,s=a.closeIndex;continue}else{const E=new Ke(l);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),m&&(E[":@"]=m),this.addChild(r,E,this.matcher,T),r=E}n="",s=d}}else n+=t[s];return e.child};function lp(t,e,r,n){this.options.captureMetaData||(n=void 0);const i=this.options.jPath?r.toString():r,s=this.options.updateTag(e.tagname,i,e[":@"]);s===!1||(typeof s=="string"&&(e.tagname=s),t.addChild(e,n))}function cp(t,e,r){const n=this.options.processEntities;if(!n||!n.enabled)return t;if(n.allowedTags){const i=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(e):n.allowedTags(e,i)))return t}if(n.tagFilter){const i=this.options.jPath?r.toString():r;if(!n.tagFilter(e,i))return t}for(const i of Object.keys(this.docTypeEntities)){const s=this.docTypeEntities[i],o=t.match(s.regx);if(o){if(this.entityExpansionCount+=o.length,n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions)throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`);const a=t.length;if(t=t.replace(s.regx,s.val),n.maxExpandedLength&&(this.currentExpandedLength+=t.length-a,this.currentExpandedLength>n.maxExpandedLength))throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${n.maxExpandedLength}`)}}for(const i of Object.keys(this.lastEntities)){const s=this.lastEntities[i],o=t.match(s.regex);if(o&&(this.entityExpansionCount+=o.length,n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions))throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`);t=t.replace(s.regex,s.val)}if(t.indexOf("&")===-1)return t;if(this.options.htmlEntities)for(const i of Object.keys(this.htmlEntities)){const s=this.htmlEntities[i],o=t.match(s.regex);if(o&&(this.entityExpansionCount+=o.length,n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions))throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`);t=t.replace(s.regex,s.val)}return t=t.replace(this.ampEntity.regex,this.ampEntity.val),t}function fp(t,e,r,n){return t&&(n===void 0&&(n=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,n),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}function hp(t,e){if(!t||t.length===0)return!1;for(let r=0;r",r,`${e} is not closed`);if(t.substring(r+2,s).trim()===e&&(i--,i===0))return{tagContent:t.substring(n,r),i:s};r=s}else if(t[r+1]==="?")r=lt(t,"?>",r+1,"StopNode is not closed.");else if(t.substr(r+1,3)==="!--")r=lt(t,"-->",r+3,"StopNode is not closed.");else if(t.substr(r+1,2)==="![")r=lt(t,"]]>",r,"StopNode is not closed.")-2;else{const s=mn(t,r,">");s&&((s&&s.tagName)===e&&s.tagExp[s.tagExp.length-1]!=="/"&&i++,r=s.closeIndex)}}function yn(t,e,r){if(e&&typeof t=="string"){const n=t.trim();return n==="true"?!0:n==="false"?!1:Gh(t,r)}else return Oh(t)?t:""}function zs(t,e,r){const n=Number.parseInt(t,e);return n>=0&&n<=1114111?String.fromCodePoint(n):r+t+";"}function bn(t,e,r,n){if(t){const i=t(e);r===e&&(r=i),e=i}return e=qs(e,n),{tagName:e,tagExp:r}}function qs(t,e){if(ks.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return dn.includes(t)?e.onDangerousProperty(t):t}const wn=Ke.getMetaDataSymbol();function gp(t,e){if(!t||typeof t!="object")return{};if(!e)return t;const r={};for(const n in t)if(n.startsWith(e)){const i=n.substring(e.length);r[i]=t[n]}else r[n]=t[n];return r}function mp(t,e,r){return Ws(t,e,r)}function Ws(t,e,r){let n;const i={};for(let s=0;s0&&(i[e.textNodeName]=n):n!==void 0&&(i[e.textNodeName]=n),i}function yp(t){const e=Object.keys(t);for(let r=0;r0&&(r=xp);const n=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let s=0;se.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let a=t.toString();return a=xn(a,e),a}return""}for(let a=0;a`,o=!1,n.pop();continue}else if(c===e.commentPropName){s+=r+``,o=!0,n.pop();continue}else if(c[0]==="?"){const b=Xs(l[":@"],e,h),T=c==="?xml"?"":r;let E=l[c][0][e.textNodeName];E=E.length!==0?" "+E:"",s+=T+`<${c}${E}${b}?>`,o=!0,n.pop();continue}let d=r;d!==""&&(d+=e.indentBy);const y=Xs(l[":@"],e,h),g=r+`<${c}${y}`;let m;h?m=Js(l[c],e):m=Ks(l[c],e,d,n,i),e.unpairedTags.indexOf(c)!==-1?e.suppressUnpairedNode?s+=g+">":s+=g+"/>":(!m||m.length===0)&&e.suppressEmptyNode?s+=g+"/>":m&&m.endsWith(">")?s+=g+`>${m}${r}`:(s+=g+">",m&&r!==""&&(m.includes("/>")||m.includes("`),o=!0,n.pop()}return s}function vp(t,e){if(!t||e.ignoreAttributes)return null;const r={};let n=!1;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;const s=i.startsWith(e.attributeNamePrefix)?i.substr(e.attributeNamePrefix.length):i;r[s]=t[i],n=!0}return n?r:null}function Js(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let n=0;n`:r+=`<${s}${o}>${a}`}}}return r}function Tp(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=t[n];i===!0&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${i}"`}return r}function Ys(t){const e=Object.keys(t);for(let r=0;r0&&e.processEntities)for(let r=0;r{for(const r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}const Pp={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0};function Pe(t){if(this.options=Object.assign({},Pp,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e=="string"&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e +`,this.newLine=` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}Pe.prototype.build=function(t){if(this.options.preserveOrder)return Ep(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});const e=new gn;return this.j2x(t,0,e).val}},Pe.prototype.j2x=function(t,e,r){let n="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");const s=this.options.jPath?r.toString():r,o=this.checkStopNode(r);for(let a in t)if(Object.prototype.hasOwnProperty.call(t,a))if(typeof t[a]>"u")this.isAttribute(a)&&(i+="");else if(t[a]===null)this.isAttribute(a)||a===this.options.cdataPropName?i+="":a[0]==="?"?i+=this.indentate(e)+"<"+a+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+a+"/"+this.tagEndChar;else if(t[a]instanceof Date)i+=this.buildTextValNode(t[a],a,"",e,r);else if(typeof t[a]!="object"){const l=this.isAttribute(a);if(l&&!this.ignoreAttributesFn(l,s))n+=this.buildAttrPairStr(l,""+t[a],o);else if(!l)if(a===this.options.textNodeName){let c=this.options.tagValueProcessor(a,""+t[a]);i+=this.replaceEntitiesValue(c)}else{r.push(a);const c=this.checkStopNode(r);if(r.pop(),c){const u=""+t[a];u===""?i+=this.indentate(e)+"<"+a+this.closeTag(a)+this.tagEndChar:i+=this.indentate(e)+"<"+a+">"+u+""u"))if(d===null)a[0]==="?"?i+=this.indentate(e)+"<"+a+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+a+"/"+this.tagEndChar;else if(typeof d=="object")if(this.options.oneListGroup){r.push(a);const y=this.j2x(d,e+1,r);r.pop(),c+=y.val,this.options.attributesGroupName&&d.hasOwnProperty(this.options.attributesGroupName)&&(u+=y.attrStr)}else c+=this.processTextOrObjNode(d,a,e,r);else if(this.options.oneListGroup){let y=this.options.tagValueProcessor(a,d);y=this.replaceEntitiesValue(y),c+=y}else{r.push(a);const y=this.checkStopNode(r);if(r.pop(),y){const g=""+d;g===""?c+=this.indentate(e)+"<"+a+this.closeTag(a)+this.tagEndChar:c+=this.indentate(e)+"<"+a+">"+g+"${i}`;else if(typeof i=="object"&&i!==null){const s=this.buildRawContent(i),o=this.buildAttributesForStopNode(i);s===""?e+=`<${r}${o}/>`:e+=`<${r}${o}>${s}`}}else if(typeof n=="object"&&n!==null){const i=this.buildRawContent(n),s=this.buildAttributesForStopNode(n);i===""?e+=`<${r}${s}/>`:e+=`<${r}${s}>${i}`}else e+=`<${r}>${n}`}return e},Pe.prototype.buildAttributesForStopNode=function(t){if(!t||typeof t!="object")return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){const r=t[this.options.attributesGroupName];for(let n in r){if(!Object.prototype.hasOwnProperty.call(r,n))continue;const i=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n,s=r[n];s===!0&&this.options.suppressBooleanAttributes?e+=" "+i:e+=" "+i+'="'+s+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;const n=this.isAttribute(r);if(n){const i=t[r];i===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+i+'"'}}return e},Pe.prototype.buildObjectNode=function(t,e,r,n){if(t==="")return e[0]==="?"?this.indentate(n)+"<"+e+r+"?"+this.tagEndChar:this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar;{let i=""+t+i:this.options.commentPropName!==!1&&e===this.options.commentPropName&&s.length===0?this.indentate(n)+``+this.newLine:this.indentate(n)+"<"+e+r+s+this.tagEndChar+t+this.indentate(n)+i}},Pe.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`>`+this.newLine;if(this.options.commentPropName!==!1&&e===this.options.commentPropName)return this.indentate(n)+``+this.newLine;if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let s=this.options.tagValueProcessor(e,t);return s=this.replaceEntitiesValue(s),s===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+s+"0&&this.options.processEntities)for(let e=0;e{const r=new URL(t);r.pathname=[...r.pathname.split("/"),"ocs","v1.php"].filter(Boolean).join("/");const n=r.href,i=th(n,e),s=new Cp({baseURI:t,axiosClient:e});return{getCapabilities:()=>i.getCapabilities(),signUrl:(o,a)=>s.signUrl(o,a)}},ze=(t,{fileId:e,path:r,name:n})=>{if(r!==void 0)return B(t.webDavPath,r);if(e!==void 0){if(hn(t))throw new Error("public spaces need a path provided");return B("spaces",e,n||"")}return t.webDavPath},Fp=(t,e)=>({copyFiles(r,{path:n,fileId:i},s,{path:o,parentFolderId:a,name:l},{overwrite:c,...u}={}){const h=ze(r,{fileId:i,path:n}),d=ze(s,{fileId:a,path:o,name:l});return t.copy(h,d,{overwrite:c||!1,...u})}}),Lp=(t,e,r)=>({async createFolder(n,{path:i,parentFolderId:s,folderName:o,fetchFolder:a=!0,...l}){const c=ze(n,{fileId:s,path:i,name:o});if(await t.mkcol(c),a)return e.getFileInfo(n,{path:i},l)}}),_p=(t,{axiosClient:e})=>({async getFileContents(r,{fileId:n,path:i},{responseType:s="text",noCache:o=!0,headers:a,...l}={}){try{const c=ze(r,{fileId:n,path:i}),u=await e.get(t.getFileUrl(c),{responseType:s,headers:{...o&&{"Cache-Control":"no-cache"},...a||{}},...l});return{response:u,body:u.data,headers:{ETag:u.headers.etag,"OC-ETag":u.headers["oc-etag"],"OC-FileId":u.headers["oc-fileid"]}}}catch(c){const{message:u,response:h}=c;throw new zi(u,h,h.status)}}}),$p=(t,e)=>({async getFileInfo(r,n,i){return(await t.listFiles(r,n,{depth:0,...i})).resource}}),Up=(t,e,r,{axiosClient:n,baseUrl:i})=>({async getFileUrl(s,o,{disposition:a="attachment",version:l=null,username:c="",...u}){if(a==="inline"){const d=await e.getFileContents(s,o,{responseType:"blob",...u});return URL.createObjectURL(d.body)}if(l){if(!c)throw new Error("username is required for URL signing");const d=t.getFileUrl(B("meta",o.fileId,"v",l));return await Rp(i,n).signUrl(d,c)}if(o.downloadURL)return o.downloadURL;const{downloadURL:h}=await r.getFileInfo(s,o,{davProperties:[C.DownloadURL]});return h},revokeUrl:s=>{s&&s.startsWith("blob:")&&URL.revokeObjectURL(s)}}),kp=(t,e)=>({getPublicFileUrl(r,n){return t.getFileUrl(B("public-files",n))}}),Bp=(t,e,r)=>({async listFiles(n,{path:i,fileId:s}={},{depth:o=1,davProperties:a,isTrash:l=!1,...c}={}){let u;if(hn(n)){u=await t.propfind(B(n.webDavPath,i),{depth:o,properties:a||st.PublicLink,...c}),u.forEach(g=>{g.filename=g.filename.split("/").slice(1).join("/")}),u.length===1&&(u[0].filename=B(n.id,i,{leadingSlash:!0})),u.forEach(g=>{g.filename=g.filename.split("/").slice(2).join("/")});const d=n.driveAlias.startsWith("ocm/")?"ocm":"public-link";if((!i||i==="/")&&o>0&&d==="ocm"&&u[0].props[C.PublicLinkItemType]==="file"&&(u=[{basename:n.fileId,type:"directory",filename:"",props:{}},...u]),!i){const[g,...m]=u;return{resource:Qf({...g,id:n.id,driveAlias:n.driveAlias,webDavPath:n.webDavPath,publicLinkType:d}),children:m.map(b=>xt(b,t.extraProps))}}const y=u.map(g=>xt(g,t.extraProps));return{resource:y[0],children:y.slice(1)}}const h=async()=>{const d=await e.getPathForFileId(s);return this.listFiles(n,{path:d},{depth:o,davProperties:a})};try{let d="";if(l?d=pn(n.id):d=ze(n,{fileId:s,path:i}),u=await t.propfind(d,{depth:o,properties:a||st.Default,...c}),l)return{resource:xt(u[0],t.extraProps),children:u.slice(1).map(Xf)};const y=u.map(m=>xt(m,t.extraProps)),g=s===n.id;return s&&!g&&y[0].fileId&&s!==y[0].fileId?h():{resource:y[0],children:y.slice(1)}}catch(d){if(d.statusCode===404&&s)return h();throw d}}}),jp=(t,e)=>({moveFiles(r,{path:n,fileId:i},s,{path:o,parentFolderId:a,name:l},{overwrite:c,...u}={}){const h=ze(r,{fileId:i,path:n}),d=ze(s,{fileId:a,path:o,name:l});return t.move(h,d,{overwrite:c||!1,...u})}}),Mp=(t,e,r)=>({async putFileContents(n,{fileName:i,path:s,parentFolderId:o,content:a="",previousEntityTag:l="",overwrite:c,onUploadProgress:u=null,...h}){const d=ze(n,{fileId:o,name:i,path:s}),{result:y}=await t.put(d,a,{previousEntityTag:l,overwrite:c,onUploadProgress:u,...h});return e.getFileInfo(n,{fileId:y.headers.get("Oc-Fileid"),path:s})}}),Vp=(t,e)=>({deleteFile(r,{path:n,...i}){return t.delete(B(r.webDavPath,n),i)}}),Dp=(t,e)=>({restoreFile(r,{id:n},{path:i},{overwrite:s,...o}={}){if(hn(r))return;const a=B(r.webDavPath,i);return t.move(B(r.webDavTrashPath,n),a,{overwrite:s,...o})}}),Hp=(t,e)=>({restoreFileVersion(r,{parentFolderId:n,name:i,path:s},o,a={}){const l=ze(r,{path:s,fileId:n,name:i}),c=B("meta",n,"v",o,{leadingSlash:!0}),u=B("files",l,{leadingSlash:!0});return t.copy(c,u,a)}}),zp=(t,e)=>({clearTrashBin(r,{id:n,...i}={}){let s=pn(r.id);return n&&(s=B(s,n)),t.delete(s,i)}}),qp=(t,e)=>({async search(r,{davProperties:n=st.Default,searchLimit:i,...s}){const o="/spaces/",{range:a,results:l}=await t.report(o,{pattern:r,limit:i,properties:n,...s});return{resources:l.map(c=>({...xt(c,t.extraProps),highlights:c.props[C.Highlights]||""})),totalResults:a?parseInt(a?.split("/")[1]):null}}}),Wp=(t,e)=>({async getPathForFileId(r,n={}){return(await t.propfind(B("meta",r,{leadingSlash:!0}),{properties:[C.MetaPathForUser],...n}))[0].props[C.MetaPathForUser]}});var En={};var Gp={2:t=>{function e(i,s,o){i instanceof RegExp&&(i=r(i,o)),s instanceof RegExp&&(s=r(s,o));var a=n(i,s,o);return a&&{start:a[0],end:a[1],pre:o.slice(0,a[0]),body:o.slice(a[0]+i.length,a[1]),post:o.slice(a[1]+s.length)}}function r(i,s){var o=s.match(i);return o?o[0]:null}function n(i,s,o){var a,l,c,u,h,d=o.indexOf(i),y=o.indexOf(s,d+1),g=d;if(d>=0&&y>0){for(a=[],c=o.length;g>=0&&!h;)g==d?(a.push(g),d=o.indexOf(i,g+1)):a.length==1?h=[a.pop(),y]:((l=a.pop())=0?d:y;a.length&&(h=[c,u])}return h}t.exports=e,e.range=n},47:(t,e,r)=>{var n=r(410),i=function(c){return typeof c=="string"};function s(c,u){for(var h=[],d=0;d=-1&&!u;h--){var d=h>=0?arguments[h]:tt.cwd();if(!i(d))throw new TypeError("Arguments to path.resolve must be strings");d&&(c=d+"/"+c,u=d.charAt(0)==="/")}return(u?"/":"")+(c=s(c.split("/"),!u).join("/"))||"."},a.normalize=function(c){var u=a.isAbsolute(c),h=c.substr(-1)==="/";return(c=s(c.split("/"),!u).join("/"))||u||(c="."),c&&h&&(c+="/"),(u?"/":"")+c},a.isAbsolute=function(c){return c.charAt(0)==="/"},a.join=function(){for(var c="",u=0;u=0&&E[A]==="";A--);return v>A?[]:E.slice(v,A+1)}c=a.resolve(c).substr(1),u=a.resolve(u).substr(1);for(var d=h(c.split("/")),y=h(u.split("/")),g=Math.min(d.length,y.length),m=g,b=0;b>18&63)+a.charAt(g>>12&63)+a.charAt(g>>6&63)+a.charAt(63&g);return m==2?(h=u.charCodeAt(T)<<8,d=u.charCodeAt(++T),b+=a.charAt((g=h+d)>>10)+a.charAt(g>>4&63)+a.charAt(g<<2&63)+"="):m==1&&(g=u.charCodeAt(T),b+=a.charAt(g>>2)+a.charAt(g<<4&63)+"=="),b},decode:function(u){var h=(u=String(u).replace(l,"")).length;h%4==0&&(h=(u=u.replace(/==?$/,"")).length),(h%4==1||/[^+a-zA-Z0-9/]/.test(u))&&o("Invalid character: the string to be decoded is not correctly encoded.");for(var d,y,g=0,m="",b=-1;++b>(-2*g&6)));return m},version:"1.0.0"};(n=function(){return c}.call(e,r,e,t))===void 0||(t.exports=n)})()},135:t=>{function e(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}t.exports=function(r){return r!=null&&(e(r)||(function(n){return typeof n.readFloatLE=="function"&&typeof n.slice=="function"&&e(n.slice(0,0))})(r)||!!r._isBuffer)}},172:(t,e)=>{e.d=function(r){if(!r)return 0;for(var n=(r=r.toString()).length,i=r.length;i--;){var s=r.charCodeAt(i);56320<=s&&s<=57343&&i--,127{var n=r(2);t.exports=function(T){return T?(T.substr(0,2)==="{}"&&(T="\\{\\}"+T.substr(2)),b((function(E){return E.split("\\\\").join(i).split("\\{").join(s).split("\\}").join(o).split("\\,").join(a).split("\\.").join(l)})(T),!0).map(u)):[]};var i="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",o="\0CLOSE"+Math.random()+"\0",a="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function c(T){return parseInt(T,10)==T?parseInt(T,10):T.charCodeAt(0)}function u(T){return T.split(i).join("\\").split(s).join("{").split(o).join("}").split(a).join(",").split(l).join(".")}function h(T){if(!T)return[""];var E=[],v=n("{","}",T);if(!v)return T.split(",");var A=v.pre,I=v.body,F=v.post,L=A.split(",");L[L.length-1]+="{"+I+"}";var $=h(F);return F.length&&(L[L.length-1]+=$.shift(),L.push.apply(L,$)),E.push.apply(E,L),E}function d(T){return"{"+T+"}"}function y(T){return/^-?0\d/.test(T)}function g(T,E){return T<=E}function m(T,E){return T>=E}function b(T,E){var v=[],A=n("{","}",T);if(!A)return[T];var I=A.pre,F=A.post.length?b(A.post,!1):[""];if(/\$$/.test(A.pre))for(var L=0;L=0;if(!R&&!le)return A.post.match(/,(?!,).*\}/)?b(T=A.pre+"{"+A.body+o+A.post):[T];if(R)_=A.body.split(/\.\./);else if((_=h(A.body)).length===1&&(_=b(_[0],!1).map(d)).length===1)return F.map((function(Lr){return A.pre+_[0]+Lr}));if(R){var Se=c(_[0]),J=c(_[1]),ae=Math.max(_[0].length,_[1].length),K=_.length==3?Math.abs(c(_[2])):1,Be=g;J0){var D=new Array(Ze+1).join("0");ce=re<0?"-"+D+ce.slice(1):D+ce}}j.push(ce)}}else{j=[];for(var z=0;z<_.length;z++)j.push.apply(j,b(_[z],!1))}for(z=0;z{var e,r;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(n,i){return n<>>32-i},rotr:function(n,i){return n<<32-i|n>>>i},endian:function(n){if(n.constructor==Number)return 16711935&r.rotl(n,8)|4278255360&r.rotl(n,24);for(var i=0;i0;n--)i.push(Math.floor(256*Math.random()));return i},bytesToWords:function(n){for(var i=[],s=0,o=0;s>>5]|=n[s]<<24-o%32;return i},wordsToBytes:function(n){for(var i=[],s=0;s<32*n.length;s+=8)i.push(n[s>>>5]>>>24-s%32&255);return i},bytesToHex:function(n){for(var i=[],s=0;s>>4).toString(16)),i.push((15&n[s]).toString(16));return i.join("")},hexToBytes:function(n){for(var i=[],s=0;s>>6*(3-a)&63)):i.push("=");return i.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],s=0,o=0;s>>6-2*o);return i}},t.exports=r},345:()=>{},388:()=>{},410:()=>{},526:t=>{var e={utf8:{stringToBytes:function(r){return e.bin.stringToBytes(unescape(encodeURIComponent(r)))},bytesToString:function(r){return decodeURIComponent(escape(e.bin.bytesToString(r)))}},bin:{stringToBytes:function(r){for(var n=[],i=0;i{(function(){var n=r(298),i=r(526).utf8,s=r(135),o=r(526).bin,a=function(l,c){l.constructor==String?l=c&&c.encoding==="binary"?o.stringToBytes(l):i.stringToBytes(l):s(l)?l=Array.prototype.slice.call(l,0):Array.isArray(l)||l.constructor===Uint8Array||(l=l.toString());for(var u=n.bytesToWords(l),h=8*l.length,d=1732584193,y=-271733879,g=-1732584194,m=271733878,b=0;b>>24)|4278255360&(u[b]<<24|u[b]>>>8);u[h>>>5]|=128<>>9<<4)]=h;var T=a._ff,E=a._gg,v=a._hh,A=a._ii;for(b=0;b>>0,y=y+F>>>0,g=g+L>>>0,m=m+$>>>0}return n.endian([d,y,g,m])};a._ff=function(l,c,u,h,d,y,g){var m=l+(c&u|~c&h)+(d>>>0)+g;return(m<>>32-y)+c},a._gg=function(l,c,u,h,d,y,g){var m=l+(c&h|u&~h)+(d>>>0)+g;return(m<>>32-y)+c},a._hh=function(l,c,u,h,d,y,g){var m=l+(c^u^h)+(d>>>0)+g;return(m<>>32-y)+c},a._ii=function(l,c,u,h,d,y,g){var m=l+(u^(c|~h))+(d>>>0)+g;return(m<>>32-y)+c},a._blocksize=16,a._digestsize=16,t.exports=function(l,c){if(l==null)throw new Error("Illegal argument "+l);var u=n.wordsToBytes(a(l,c));return c&&c.asBytes?u:c&&c.asString?o.bytesToString(u):n.bytesToHex(u)}})()},647:(t,e)=>{var r=Object.prototype.hasOwnProperty;function n(s){try{return decodeURIComponent(s.replace(/\+/g," "))}catch{return null}}function i(s){try{return encodeURIComponent(s)}catch{return null}}e.stringify=function(s,o){o=o||"";var a,l,c=[];for(l in typeof o!="string"&&(o="?"),s)if(r.call(s,l)){if((a=s[l])||a!=null&&!isNaN(a)||(a=""),l=i(l),a=i(a),l===null||a===null)continue;c.push(l+"="+a)}return c.length?o+c.join("&"):""},e.parse=function(s){for(var o,a=/([^=?#&]+)=?([^&]*)/g,l={};o=a.exec(s);){var c=n(o[1]),u=n(o[2]);c===null||u===null||c in l||(l[c]=u)}return l}},670:t=>{t.exports=function(e,r){if(r=r.split(":")[0],!(e=+e))return!1;switch(r){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0}},737:(t,e,r)=>{var n=r(670),i=r(647),s=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,o=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,u=/^[a-zA-Z]:/;function h(E){return(E||"").toString().replace(s,"")}var d=[["#","hash"],["?","query"],function(E,v){return m(v.protocol)?E.replace(/\\/g,"/"):E},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],y={hash:1,query:1};function g(E){var v,A=(typeof window<"u"?window:typeof Fe<"u"?Fe:typeof self<"u"?self:{}).location||{},I={},F=typeof(E=E||A);if(E.protocol==="blob:")I=new T(unescape(E.pathname),{});else if(F==="string")for(v in I=new T(E,{}),y)delete I[v];else if(F==="object"){for(v in E)v in y||(I[v]=E[v]);I.slashes===void 0&&(I.slashes=a.test(E.href))}return I}function m(E){return E==="file:"||E==="ftp:"||E==="http:"||E==="https:"||E==="ws:"||E==="wss:"}function b(E,v){E=(E=h(E)).replace(o,""),v=v||{};var A,I=c.exec(E),F=I[1]?I[1].toLowerCase():"",L=!!I[2],$=!!I[3],_=0;return L?$?(A=I[2]+I[3]+I[4],_=I[2].length+I[3].length):(A=I[2]+I[4],_=I[2].length):$?(A=I[3]+I[4],_=I[3].length):A=I[4],F==="file:"?_>=2&&(A=A.slice(2)):m(F)?A=I[4]:F?L&&(A=A.slice(2)):_>=2&&m(v.protocol)&&(A=I[4]),{protocol:F,slashes:L||m(F),slashesCount:_,rest:A}}function T(E,v,A){if(E=(E=h(E)).replace(o,""),!(this instanceof T))return new T(E,v,A);var I,F,L,$,_,j,de=d.slice(),oe=typeof v,R=this,le=0;for(oe!=="object"&&oe!=="string"&&(A=v,v=null),A&&typeof A!="function"&&(A=i.parse),I=!(F=b(E||"",v=g(v))).protocol&&!F.slashes,R.slashes=F.slashes||I&&v.slashes,R.protocol=F.protocol||v.protocol||"",E=F.rest,(F.protocol==="file:"&&(F.slashesCount!==2||u.test(E))||!F.slashes&&(F.protocol||F.slashesCount<2||!m(R.protocol)))&&(de[3]=[/(.*)/,"pathname"]);le{},805:()=>{},829:t=>{function e(c){return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},e(c)}function r(c){var u=typeof Map=="function"?new Map:void 0;return r=function(h){if(h===null||(d=h,Function.toString.call(d).indexOf("[native code]")===-1))return h;var d;if(typeof h!="function")throw new TypeError("Super expression must either be null or a function");if(u!==void 0){if(u.has(h))return u.get(h);u.set(h,y)}function y(){return n(h,arguments,s(this).constructor)}return y.prototype=Object.create(h.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),i(y,h)},r(c)}function n(c,u,h){return n=(function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch{return!1}})()?Reflect.construct:function(d,y,g){var m=[null];m.push.apply(m,y);var b=new(Function.bind.apply(d,m));return g&&i(b,g.prototype),b},n.apply(null,arguments)}function i(c,u){return i=Object.setPrototypeOf||function(h,d){return h.__proto__=d,h},i(c,u)}function s(c){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)},s(c)}var o=(function(c){function u(h){var d;return(function(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")})(this,u),(d=(function(y,g){return!g||e(g)!=="object"&&typeof g!="function"?(function(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m})(y):g})(this,s(u).call(this,h))).name="ObjectPrototypeMutationError",d}return(function(h,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(d&&d.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),d&&i(h,d)})(u,c),u})(r(Error));function a(c,u){for(var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},d=u.split("."),y=d.length,g=function(T){var E=d[T];if(!c)return{v:void 0};if(E==="+"){if(Array.isArray(c))return{v:c.map((function(A,I){var F=d.slice(T+1);return F.length>0?a(A,F.join("."),h):h(c,I,d,T)}))};var v=d.slice(0,T).join(".");throw new Error("Object at wildcard (".concat(v,") is not an array"))}c=h(c,E,d,T)},m=0;m2&&arguments[2]!==void 0?arguments[2]:{};if(e(c)!="object"||c===null||u===void 0)return!1;if(typeof u=="number")return u in c;try{var d=!1;return a(c,u,(function(y,g,m,b){if(!l(m,b))return y&&y[g];d=h.own?y.hasOwnProperty(g):g in y})),d}catch{return!1}},hasOwn:function(c,u,h){return this.has(c,u,h||{own:!0})},isIn:function(c,u,h){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e(c)!="object"||c===null||u===void 0)return!1;try{var y=!1,g=!1;return a(c,u,(function(m,b,T,E){return y=y||m===h||!!m&&m[b]===h,g=l(T,E)&&e(m)==="object"&&b in m,m&&m[b]})),d.validPath?y&&g:y}catch{return!1}},ObjectPrototypeMutationError:o}}},Zs={};function H(t){var e=Zs[t];if(e!==void 0)return e.exports;var r=Zs[t]={id:t,loaded:!1,exports:{}};return Gp[t].call(r.exports,r,r.exports,H),r.loaded=!0,r.exports}H.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return H.d(e,{a:e}),e},H.d=(t,e)=>{for(var r in e)H.o(e,r)&&!H.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},H.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),H.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var Kp=H(737),Jp=H.n(Kp);function vn(t){if(!Tn(t))throw new Error("Parameter was not an error")}function Tn(t){return!!t&&typeof t=="object"&&(e=t,Object.prototype.toString.call(e)==="[object Error]")||t instanceof Error;var e}class me extends Error{constructor(e,r){const n=[...arguments],{options:i,shortMessage:s}=(function(a){let l,c="";if(a.length===0)l={};else if(Tn(a[0]))l={cause:a[0]},c=a.slice(1).join(" ")||"";else if(a[0]&&typeof a[0]=="object")l=Object.assign({},a[0]),c=a.slice(1).join(" ")||"";else{if(typeof a[0]!="string")throw new Error("Invalid arguments passed to Layerr");l={},c=c=a.join(" ")||""}return{options:l,shortMessage:c}})(n);let o=s;if(i.cause&&(o=`${o}: ${i.cause.message}`),super(o),this.message=o,i.name&&typeof i.name=="string"?this.name=i.name:this.name="Layerr",i.cause&&Object.defineProperty(this,"_cause",{value:i.cause}),Object.defineProperty(this,"_info",{value:{}}),i.info&&typeof i.info=="object"&&Object.assign(this._info,i.info),Error.captureStackTrace){const a=i.constructorOpt||this.constructor;Error.captureStackTrace(this,a)}}static cause(e){return vn(e),e._cause&&Tn(e._cause)?e._cause:null}static fullStack(e){vn(e);const r=me.cause(e);return r?`${e.stack} +caused by: ${me.fullStack(r)}`:e.stack??""}static info(e){vn(e);const r={},n=me.cause(e);return n&&Object.assign(r,me.info(n)),e._info&&Object.assign(r,e._info),r}toString(){let e=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e=`${e}: ${this.message}`),e}}var Yp=H(47),Nr=H.n(Yp);const Qs="__PATH_SEPARATOR_POSIX__",eo="__PATH_SEPARATOR_WINDOWS__";function W(t){try{const e=t.replace(/\//g,Qs).replace(/\\\\/g,eo);return encodeURIComponent(e).split(eo).join("\\\\").split(Qs).join("/")}catch(e){throw new me(e,"Failed encoding path")}}function to(t){return t.startsWith("/")?t:"/"+t}function Ht(t){let e=t;return e[0]!=="/"&&(e="/"+e),/^.+\/$/.test(e)&&(e=e.substr(0,e.length-1)),e}function Xp(t){let e=new(Jp())(t).pathname;return e.length<=0&&(e="/"),Ht(e)}function G(){for(var t=arguments.length,e=new Array(t),r=0;r1){var s=n.shift();n[0]=s+n[0]}n[0].match(/^file:\/\/\//)?n[0]=n[0].replace(/^([^/:]+):\/*/,"$1:///"):n[0]=n[0].replace(/^([^/:]+):\/*/,"$1://");for(var o=0;o0&&(a=a.replace(/^[\/]+/,"")),a=o0?"?":"")+c.join("&")})(typeof arguments[0]=="object"?arguments[0]:[].slice.call(arguments))})(e.reduce(((n,i,s)=>((s===0||i!=="/"||i==="/"&&n[n.length-1]!=="/")&&n.push(i),n)),[]))}var Zp=H(542),zt=H.n(Zp);function ro(t,e){const r=t.url.replace("//",""),n=r.indexOf("/")==-1?"/":r.slice(r.indexOf("/")),i=t.method?t.method.toUpperCase():"GET",s=!!/(^|,)\s*auth\s*($|,)/.test(e.qop)&&"auth",o=`00000000${e.nc}`.slice(-8),a=(function(d,y,g,m,b,T,E){const v=E||zt()(`${y}:${g}:${m}`);return d&&d.toLowerCase()==="md5-sess"?zt()(`${v}:${b}:${T}`):v})(e.algorithm,e.username,e.realm,e.password,e.nonce,e.cnonce,e.ha1),l=zt()(`${i}:${n}`),c=s?zt()(`${a}:${e.nonce}:${o}:${e.cnonce}:${s}:${l}`):zt()(`${a}:${e.nonce}:${l}`),u={username:e.username,realm:e.realm,nonce:e.nonce,uri:n,qop:s,response:c,nc:o,cnonce:e.cnonce,algorithm:e.algorithm,opaque:e.opaque},h=[];for(const d in u)u[d]&&(d==="qop"||d==="nc"||d==="algorithm"?h.push(`${d}=${u[d]}`):h.push(`${d}="${u[d]}"`));return`Digest ${h.join(", ")}`}function no(t){return(t.headers&&t.headers.get("www-authenticate")||"").split(/\s/)[0].toLowerCase()==="digest"}var Qp=H(101),io=H.n(Qp);function so(t){return io().decode(t)}function oo(t,e){var r;return`Basic ${r=`${t}:${e}`,io().encode(r)}`}const ao=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:typeof window<"u"?window:globalThis,ed=ao.fetch.bind(ao);let Te=(function(t){return t.Auto="auto",t.Digest="digest",t.None="none",t.Password="password",t.Token="token",t})({}),Je=(function(t){return t.DataTypeNoLength="data-type-no-length",t.InvalidAuthType="invalid-auth-type",t.InvalidOutputFormat="invalid-output-format",t.LinkUnsupportedAuthType="link-unsupported-auth",t.InvalidUpdateRange="invalid-update-range",t.NotSupported="not-supported",t})({});function uo(t,e,r,n,i){switch(t.authType){case Te.Auto:e&&r&&(t.headers.Authorization=oo(e,r));break;case Te.Digest:t.digest=(function(o,a,l){return{username:o,password:a,ha1:l,nc:0,algorithm:"md5",hasDigestAuth:!1}})(e,r,i);break;case Te.None:break;case Te.Password:t.headers.Authorization=oo(e,r);break;case Te.Token:t.headers.Authorization=`${(s=n).token_type} ${s.access_token}`;break;default:throw new me({info:{code:Je.InvalidAuthType}},`Invalid auth type: ${t.authType}`)}var s}H(345),H(800);const lo="@@HOTPATCHER",td=()=>{};function Nn(t){return{original:t,methods:[t],final:!1}}class rd{constructor(){this._configuration={registry:{},getEmptyAction:"null"},this.__type__=lo}get configuration(){return this._configuration}get getEmptyAction(){return this.configuration.getEmptyAction}set getEmptyAction(e){this.configuration.getEmptyAction=e}control(e){let r=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(!e||e.__type__!==lo)throw new Error("Failed taking control of target HotPatcher instance: Invalid type or object");return Object.keys(e.configuration.registry).forEach((n=>{this.configuration.registry.hasOwnProperty(n)?r&&(this.configuration.registry[n]=Object.assign({},e.configuration.registry[n])):this.configuration.registry[n]=Object.assign({},e.configuration.registry[n])})),e._configuration=this.configuration,this}execute(e){const r=this.get(e)||td;for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s0;)c=[i.shift().apply(u,c)];return c[0]}})(...r.methods)}isPatched(e){return!!this.configuration.registry[e]}patch(e,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{chain:i=!1}=n;if(this.configuration.registry[e]&&this.configuration.registry[e].final)throw new Error(`Failed patching '${e}': Method marked as being final`);if(typeof r!="function")throw new Error(`Failed patching '${e}': Provided method is not a function`);if(i)this.configuration.registry[e]?this.configuration.registry[e].methods.push(r):this.configuration.registry[e]=Nn(r);else if(this.isPatched(e)){const{original:s}=this.configuration.registry[e];this.configuration.registry[e]=Object.assign(Nn(r),{original:s})}else this.configuration.registry[e]=Nn(r);return this}patchInline(e,r){this.isPatched(e)||this.patch(e,r);for(var n=arguments.length,i=new Array(n>2?n-2:0),s=2;s1?r-1:0),i=1;i{this.patch(e,s,{chain:!0})})),this}restore(e){if(!this.isPatched(e))throw new Error(`Failed restoring method: No method present for key: ${e}`);if(typeof this.configuration.registry[e].original!="function")throw new Error(`Failed restoring method: Original method not found or of invalid type for key: ${e}`);return this.configuration.registry[e].methods=[this.configuration.registry[e].original],this}setFinal(e){if(!this.configuration.registry.hasOwnProperty(e))throw new Error(`Failed marking '${e}' as final: No method found for key`);return this.configuration.registry[e].final=!0,this}}let An=null;function nd(){return An||(An=new rd),An}function Ar(t){return(function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let r=e;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r})(t)?Object.assign({},t):Object.setPrototypeOf(Object.assign({},t),Object.getPrototypeOf(t))}function co(){for(var t=arguments.length,e=new Array(t),r=0;r0;){const s=i.shift();n=n?fo(n,s):Ar(s)}return n}function fo(t,e){const r=Ar(t);return Object.keys(e).forEach((n=>{r.hasOwnProperty(n)?Array.isArray(e[n])?r[n]=Array.isArray(r[n])?[...r[n],...e[n]]:[...e[n]]:typeof e[n]=="object"&&e[n]?r[n]=typeof r[n]=="object"&&r[n]?fo(r[n],e[n]):Ar(e[n]):r[n]=e[n]:r[n]=e[n]})),r}function id(t){const e={};for(const r of t.keys())e[r]=t.get(r);return e}function Pn(){for(var t=arguments.length,e=new Array(t),r=0;r(Object.keys(s).forEach((o=>{const a=o.toLowerCase();n.hasOwnProperty(a)?i[n[a]]=s[o]:(n[a]=o,i[o]=s[o])})),i)),{})}H(805);const sd=typeof ArrayBuffer=="function",{toString:od}=Object.prototype;function ho(t){return sd&&(t instanceof ArrayBuffer||od.call(t)==="[object ArrayBuffer]")}function po(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Sn(t){return function(){for(var e=[],r=0;re.patchInline("fetch",ed,r.url,(function(n){let i={};const s={method:n.method};if(n.headers&&(i=Pn(i,n.headers)),n.data!==void 0){const[o,a]=(function(l){if(typeof l=="string")return[l,{}];if(po(l))return[l,{}];if(ho(l))return[l,{}];if(l&&typeof l=="object")return[JSON.stringify(l),{"content-type":"application/json"}];throw new Error("Unable to convert request body: Unexpected body type: "+typeof l)})(n.data);s.body=o,i=Pn(i,a)}return n.signal&&(s.signal=n.signal),n.withCredentials&&(s.credentials="include"),s.headers=i,s})(r))),t)}var ud=H(285);const Sr=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},ld={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},qt=t=>t.replace(/[[\]\\-]/g,"\\$&"),mo=t=>t.join(""),cd=(t,e)=>{const r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");const n=[],i=[];let s=r+1,o=!1,a=!1,l=!1,c=!1,u=r,h="";e:for(;sh?n.push(qt(h)+"-"+qt(m)):m===h&&n.push(qt(m)),h="",s++):t.startsWith("-]",s+1)?(n.push(qt(m+"-")),s+=2):t.startsWith("-",s+1)?(h=m,s+=2):(n.push(qt(m)),s++)}else l=!0,s++}else c=!0,s++}if(u1&&arguments[1]!==void 0?arguments[1]:{};return e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")},fd=new Set(["!","?","+","*","@"]),yo=t=>fd.has(t),On="(?!\\.)",hd=new Set(["[","."]),pd=new Set(["..","."]),dd=new Set("().*{}+?[]^$\\!"),Cn="[^/]",bo=Cn+"*?",wo=Cn+"+?";class ye{type;#e;#r;#s=!1;#t=[];#n;#p;#l;#g=!1;#f;#c;#d=!1;constructor(e,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.type=e,e&&(this.#r=!0),this.#n=r,this.#e=this.#n?this.#n.#e:this,this.#f=this.#e===this?n:this.#e.#f,this.#l=this.#e===this?[]:this.#e.#l,e!=="!"||this.#e.#g||this.#l.push(this),this.#p=this.#n?this.#n.#t.length:0}get hasMagic(){if(this.#r!==void 0)return this.#r;for(const e of this.#t)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#r=!0;return this.#r}toString(){return this.#c!==void 0?this.#c:this.type?this.#c=this.type+"("+this.#t.map((e=>String(e))).join("|")+")":this.#c=this.#t.map((e=>String(e))).join("")}#h(){if(this!==this.#e)throw new Error("should only call on root");if(this.#g)return this;let e;for(this.toString(),this.#g=!0;e=this.#l.pop();){if(e.type!=="!")continue;let r=e,n=r.#n;for(;n;){for(let i=r.#p+1;!n.type&&itypeof r=="string"?r:r.toJSON())):[this.type,...this.#t.map((r=>r.toJSON()))];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#g&&this.#n?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#n?.isStart())return!1;if(this.#p===0)return!0;const e=this.#n;for(let r=0;r1&&arguments[1]!==void 0?arguments[1]:{};const n=new ye(null,void 0,r);return ye.#o(e,n,0,r),n}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();const e=this.toString(),[r,n,i,s]=this.toRegExpSource();if(!(i||this.#r||this.#f.nocase&&!this.#f.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return n;const o=(this.#f.nocase?"i":"")+(s?"u":"");return Object.assign(new RegExp(`^${r}$`,o),{_src:r,_glob:e})}get options(){return this.#f}toRegExpSource(e){const r=e??!!this.#f.dot;if(this.#e===this&&this.#h(),!this.type){const l=this.isStart()&&this.isEnd(),c=this.#t.map((d=>{const[y,g,m,b]=typeof d=="string"?ye.#i(d,this.#r,l):d.toRegExpSource(e);return this.#r=this.#r||m,this.#s=this.#s||b,y})).join("");let u="";if(this.isStart()&&typeof this.#t[0]=="string"&&(this.#t.length!==1||!pd.has(this.#t[0]))){const d=hd,y=r&&d.has(c.charAt(0))||c.startsWith("\\.")&&d.has(c.charAt(2))||c.startsWith("\\.\\.")&&d.has(c.charAt(4)),g=!r&&!e&&d.has(c.charAt(0));u=y?"(?!(?:^|/)\\.\\.?(?:$|/))":g?On:""}let h="";return this.isEnd()&&this.#e.#g&&this.#n?.type==="!"&&(h="(?:$|\\/)"),[u+c+h,Wt(c),this.#r=!!this.#r,this.#s]}const n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:";let s=this.#a(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){const l=this.toString();return this.#t=[l],this.type=null,this.#r=void 0,[l,Wt(this.toString()),!1,!1]}let o=!n||e||r?"":this.#a(!0);o===s&&(o=""),o&&(s=`(?:${s})(?:${o})*?`);let a="";return a=this.type==="!"&&this.#d?(this.isStart()&&!r?On:"")+wo:i+s+(this.type==="!"?"))"+(!this.isStart()||r||e?"":On)+bo+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&o?")":this.type==="*"&&o?")?":`)${this.type}`),[a,Wt(s),this.#r=!!this.#r,this.#s]}#a(e){return this.#t.map((r=>{if(typeof r=="string")throw new Error("string type in extglob ast??");const[n,i,s,o]=r.toRegExpSource(e);return this.#s=this.#s||o,n})).filter((r=>!(this.isStart()&&this.isEnd()&&!r))).join("|")}static#i(e,r){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],i=!1,s="",o=!1;for(let a=0;a2&&arguments[2]!==void 0?arguments[2]:{};return Sr(e),!(!r.nocomment&&e.charAt(0)==="#")&&new Ir(e,r).match(t)},gd=/^\*+([^+@!?\*\[\(]*)$/,md=t=>e=>!e.startsWith(".")&&e.endsWith(t),yd=t=>e=>e.endsWith(t),bd=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),wd=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),xd=/^\*+\.\*+$/,Ed=t=>!t.startsWith(".")&&t.includes("."),vd=t=>t!=="."&&t!==".."&&t.includes("."),Td=/^\.\*+$/,Nd=t=>t!=="."&&t!==".."&&t.startsWith("."),Ad=/^\*+$/,Pd=t=>t.length!==0&&!t.startsWith("."),Sd=t=>t.length!==0&&t!=="."&&t!=="..",Id=/^\?+([^+@!?\*\[\(]*)?$/,Od=t=>{let[e,r=""]=t;const n=xo([e]);return r?(r=r.toLowerCase(),i=>n(i)&&i.toLowerCase().endsWith(r)):n},Cd=t=>{let[e,r=""]=t;const n=Eo([e]);return r?(r=r.toLowerCase(),i=>n(i)&&i.toLowerCase().endsWith(r)):n},Rd=t=>{let[e,r=""]=t;const n=Eo([e]);return r?i=>n(i)&&i.endsWith(r):n},Fd=t=>{let[e,r=""]=t;const n=xo([e]);return r?i=>n(i)&&i.endsWith(r):n},xo=t=>{let[e]=t;const r=e.length;return n=>n.length===r&&!n.startsWith(".")},Eo=t=>{let[e]=t;const r=e.length;return n=>n.length===r&&n!=="."&&n!==".."},vo=typeof tt=="object"&&tt?typeof En=="object"&&En&&En.__MINIMATCH_TESTING_PLATFORM__||tt.platform:"posix";pe.sep=vo==="win32"?"\\":"/";const Ce=Symbol("globstar **");pe.GLOBSTAR=Ce,pe.filter=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r=>pe(r,t,e)};const Re=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.assign({},t,e)};pe.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return pe;const e=pe;return Object.assign((function(r,n){return e(r,n,Re(t,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))}),{Minimatch:class extends e.Minimatch{constructor(r){super(r,Re(t,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}))}static defaults(r){return e.defaults(Re(t,r)).Minimatch}},AST:class extends e.AST{constructor(r,n){super(r,n,Re(t,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))}static fromGlob(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.AST.fromGlob(r,Re(t,n))}},unescape:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.unescape(r,Re(t,n))},escape:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.escape(r,Re(t,n))},filter:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.filter(r,Re(t,n))},defaults:r=>e.defaults(Re(t,r)),makeRe:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.makeRe(r,Re(t,n))},braceExpand:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.braceExpand(r,Re(t,n))},match:function(r,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return e.match(r,n,Re(t,i))},sep:e.sep,GLOBSTAR:Ce})};const To=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Sr(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:ud(t)};pe.braceExpand=To,pe.makeRe=function(t){return new Ir(t,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).makeRe()},pe.match=function(t,e){const r=new Ir(e,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{});return t=t.filter((n=>r.match(n))),r.options.nonull&&!t.length&&t.push(e),t};const No=/[?*]|[+@!]\(.*?\)|\[|\]/;class Ir{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Sr(e),r=r||{},this.options=r,this.pattern=e,this.platform=r.platform||vo,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const e of this.set)for(const r of e)if(typeof r!="string")return!0;return!1}debug(){}make(){const e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#")return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=function(){return console.error(...arguments)}),this.debug(this.pattern,this.globSet);const n=this.globSet.map((s=>this.slashSplit(s)));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map(((s,o,a)=>{if(this.isWindows&&this.windowsNoMagicRoot){const l=!(s[0]!==""||s[1]!==""||s[2]!=="?"&&No.test(s[2])||No.test(s[3])),c=/^[a-z]:/i.test(s[0]);if(l)return[...s.slice(0,4),...s.slice(4).map((u=>this.parse(u)))];if(c)return[s[0],...s.slice(1).map((u=>this.parse(u)))]}return s.map((l=>this.parse(l)))}));if(this.debug(this.pattern,i),this.set=i.filter((s=>s.indexOf(!1)===-1)),this.isWindows)for(let s=0;s=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):e=r>=1?this.levelOneOptimize(e):this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map((r=>{let n=-1;for(;(n=r.indexOf("**",n+1))!==-1;){let i=n;for(;r[i+1]==="**";)i++;i!==n&&r.splice(n,i-n)}return r}))}levelOneOptimize(e){return e.map((r=>(r=r.reduce(((n,i)=>{const s=n[n.length-1];return i==="**"&&s==="**"?n:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(n.pop(),n):(n.push(i),n)}),[])).length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let i=1;ii&&n.splice(i+1,o-i);let a=n[i+1];const l=n[i+2],c=n[i+3];if(a!==".."||!l||l==="."||l===".."||!c||c==="."||c==="..")continue;r=!0,n.splice(i,1);const u=n.slice(0);u[i]="**",e.push(u),i--}if(!this.preserveMultipleSlashes){for(let o=1;or.length))}partsMatch(e,r){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],i=0,s=0,o=[],a="";for(;i2&&arguments[2]!==void 0&&arguments[2];const i=this.options;if(this.isWindows){const m=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),b=!m&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),T=typeof r[0]=="string"&&/^[a-z]:$/i.test(r[0]),E=b?3:m?0:void 0,v=!T&&r[0]===""&&r[1]===""&&r[2]==="?"&&typeof r[3]=="string"&&/^[a-z]:$/i.test(r[3])?3:T?0:void 0;if(typeof E=="number"&&typeof v=="number"){const[A,I]=[e[E],r[v]];A.toLowerCase()===I.toLowerCase()&&(r[v]=A,v>E?r=r.slice(v):E>v&&(e=e.slice(E)))}}const{optimizationLevel:s=1}=this.options;s>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:r}),this.debug("matchOne",e.length,r.length);for(var o=0,a=0,l=e.length,c=r.length;o>> no match, partial?`,e,d,r,y),d!==l))}let m;if(typeof u=="string"?(m=h===u,this.debug("string match",u,h,m)):(m=u.test(h),this.debug("pattern match",u,h,m)),!m)return!1}if(o===l&&a===c)return!0;if(o===l)return n;if(a===c)return o===l-1&&e[o]==="";throw new Error("wtf?")}braceExpand(){return To(this.pattern,this.options)}parse(e){Sr(e);const r=this.options;if(e==="**")return Ce;if(e==="")return"";let n,i=null;(n=e.match(Ad))?i=r.dot?Sd:Pd:(n=e.match(gd))?i=(r.nocase?r.dot?wd:bd:r.dot?yd:md)(n[1]):(n=e.match(Id))?i=(r.nocase?r.dot?Cd:Od:r.dot?Rd:Fd)(n):(n=e.match(xd))?i=r.dot?vd:Ed:(n=e.match(Td))&&(i=Nd);const s=ye.fromGlob(e,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;const e=this.set;if(!e.length)return this.regexp=!1,this.regexp;const r=this.options,n=r.noglobstar?"[^/]*?":r.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=new Set(r.nocase?["i"]:[]);let s=e.map((l=>{const c=l.map((u=>{if(u instanceof RegExp)for(const h of u.flags.split(""))i.add(h);return typeof u=="string"?u.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):u===Ce?Ce:u._src}));return c.forEach(((u,h)=>{const d=c[h+1],y=c[h-1];u===Ce&&y!==Ce&&(y===void 0?d!==void 0&&d!==Ce?c[h+1]="(?:\\/|"+n+"\\/)?"+d:c[h]=n:d===void 0?c[h-1]=y+"(?:\\/|"+n+")?":d!==Ce&&(c[h-1]=y+"(?:\\/|\\/"+n+"\\/)"+d,c[h+1]=Ce))})),c.filter((u=>u!==Ce)).join("/")})).join("|");const[o,a]=e.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.partial;if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;const n=this.options;this.isWindows&&(e=e.split("\\").join("/"));const i=this.slashSplit(e);this.debug(this.pattern,"split",i);const s=this.set;this.debug(this.pattern,"set",s);let o=i[i.length-1];if(!o)for(let a=i.length-2;!o&&a>=0;a--)o=i[a];for(let a=0;a1&&arguments[1]!==void 0?arguments[1]:""}Invalid response: ${t.status} ${t.statusText}`);return e.status=t.status,e.response=t,e}function se(t,e){const{status:r}=e;if(r===401&&t.digest)return e;if(r>=400)throw Rn(e);return e}function Nt(t,e){return arguments.length>2&&arguments[2]!==void 0&&arguments[2]?{data:e,headers:t.headers?id(t.headers):{},status:t.status,statusText:t.statusText}:e}pe.AST=ye,pe.Minimatch=Ir,pe.escape=function(t){let{windowsPathsNoEscape:e=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&")},pe.unescape=Wt;const Ld=(Ao=function(t,e,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=ie({url:G(t.remoteURL,W(e)),method:"COPY",headers:{Destination:G(t.remoteURL,W(r)),Overwrite:n.overwrite===!1?"F":"T",Depth:n.shallow?"0":"infinity"}},t,n);return o=function(a){se(t,a)},(s=ne(i,t))&&s.then||(s=Promise.resolve(s)),o?s.then(o):s;var s,o},function(){for(var t=[],e=0;e!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,r){return t},captureMetaData:!1},Po=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",$d=new RegExp("^["+Po+"]["+Po+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function So(t,e){const r=[];let n=e.exec(t);for(;n;){const i=[];i.startIndex=e.lastIndex-n[0].length;const s=n.length;for(let o=0;o0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),r!==void 0&&(this.child[this.child.length-1][Fn]={startIndex:r})}static getMetaDataSymbol(){return Fn}}class Ud{constructor(e){this.suppressValidationErr=!e}readDocType(e,r){const n={};if(e[r+3]!=="O"||e[r+4]!=="C"||e[r+5]!=="T"||e[r+6]!=="Y"||e[r+7]!=="P"||e[r+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{r+=9;let i=1,s=!1,o=!1,a="";for(;r"){if(o?e[r-1]==="-"&&e[r-2]==="-"&&(o=!1,i--):i--,i===0)break}else e[r]==="["?s=!0:a+=e[r];else{if(s&&ft(e,"!ENTITY",r)){let l,c;r+=7,[l,c,r]=this.readEntityExp(e,r+1,this.suppressValidationErr),c.indexOf("&")===-1&&(n[l]={regx:RegExp(`&${l};`,"g"),val:c})}else if(s&&ft(e,"!ELEMENT",r)){r+=8;const{index:l}=this.readElementExp(e,r+1);r=l}else if(s&&ft(e,"!ATTLIST",r))r+=8;else if(s&&ft(e,"!NOTATION",r)){r+=9;const{index:l}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=l}else{if(!ft(e,"!--",r))throw new Error("Invalid DOCTYPE");o=!0}i++,a=""}if(i!==0)throw new Error("Unclosed DOCTYPE")}return{entities:n,i:r}}readEntityExp(e,r){r=Ne(e,r);let n="";for(;r{for(;e{for(const r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}class Vd{constructor(e){if(this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(r,n)=>Co(n,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(r,n)=>Co(n,16,"&#x")}},this.addExternalEntities=Dd,this.parseXml=Gd,this.parseTextData=Hd,this.resolveNameSpace=zd,this.buildAttributesMap=Wd,this.isItStopNode=Xd,this.replaceEntitiesValue=Jd,this.readStopNodeData=Zd,this.saveTextToParentTag=Yd,this.addChild=Kd,this.ignoreAttributesFn=Io(this.options.ignoreAttributes),this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodesExact=new Set,this.stopNodesWildcard=new Set;for(let r=0;r0)){o||(t=this.replaceEntitiesValue(t));const a=this.options.tagValueProcessor(e,t,r,i,s);return a==null?t:typeof a!=typeof t||a!==t?a:this.options.trimValues||t.trim()===t?Oo(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function zd(t){if(this.options.removeNSPrefix){const e=t.split(":"),r=t.charAt(0)==="/"?"/":"";if(e[0]==="xmlns")return"";e.length===2&&(t=r+e[1])}return t}const qd=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Wd(t,e){if(this.options.ignoreAttributes!==!0&&typeof t=="string"){const r=So(t,qd),n=r.length,i={};for(let s=0;s",o,"Closing Tag is not closed.");let l=t.substring(o+2,a).trim();if(this.options.removeNSPrefix){const h=l.indexOf(":");h!==-1&&(l=l.substr(h+1))}this.options.transformTagName&&(l=this.options.transformTagName(l)),r&&(n=this.saveTextToParentTag(n,r,i));const c=i.substring(i.lastIndexOf(".")+1);if(l&&this.options.unpairedTags.indexOf(l)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let u=0;c&&this.options.unpairedTags.indexOf(c)!==-1?(u=i.lastIndexOf(".",i.lastIndexOf(".")-1),this.tagsNodeStack.pop()):u=i.lastIndexOf("."),i=i.substring(0,u),r=this.tagsNodeStack.pop(),n="",o=a}else if(t[o+1]==="?"){let a=Ln(t,o,!1,"?>");if(!a)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,r,i),!(this.options.ignoreDeclaration&&a.tagName==="?xml"||this.options.ignorePiTags)){const l=new ct(a.tagName);l.add(this.options.textNodeName,""),a.tagName!==a.tagExp&&a.attrExpPresent&&(l[":@"]=this.buildAttributesMap(a.tagExp,i)),this.addChild(r,l,i,o)}o=a.closeIndex+1}else if(t.substr(o+1,3)==="!--"){const a=ht(t,"-->",o+4,"Comment is not closed.");if(this.options.commentPropName){const l=t.substring(o+4,a-2);n=this.saveTextToParentTag(n,r,i),r.add(this.options.commentPropName,[{[this.options.textNodeName]:l}])}o=a}else if(t.substr(o+1,2)==="!D"){const a=s.readDocType(t,o);this.docTypeEntities=a.entities,o=a.i}else if(t.substr(o+1,2)==="!["){const a=ht(t,"]]>",o,"CDATA is not closed.")-2,l=t.substring(o+9,a);n=this.saveTextToParentTag(n,r,i);let c=this.parseTextData(l,r.tagname,i,!0,!1,!0,!0);c==null&&(c=""),this.options.cdataPropName?r.add(this.options.cdataPropName,[{[this.options.textNodeName]:l}]):r.add(this.options.textNodeName,c),o=a+2}else{let a=Ln(t,o,this.options.removeNSPrefix),l=a.tagName;const c=a.rawTagName;let u=a.tagExp,h=a.attrExpPresent,d=a.closeIndex;if(this.options.transformTagName){const m=this.options.transformTagName(l);u===l&&(u=m),l=m}r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,i,!1));const y=r;y&&this.options.unpairedTags.indexOf(y.tagname)!==-1&&(r=this.tagsNodeStack.pop(),i=i.substring(0,i.lastIndexOf("."))),l!==e.tagname&&(i+=i?"."+l:l);const g=o;if(this.isItStopNode(this.stopNodesExact,this.stopNodesWildcard,i,l)){let m="";if(u.length>0&&u.lastIndexOf("/")===u.length-1)l[l.length-1]==="/"?(l=l.substr(0,l.length-1),i=i.substr(0,i.length-1),u=l):u=u.substr(0,u.length-1),o=a.closeIndex;else if(this.options.unpairedTags.indexOf(l)!==-1)o=a.closeIndex;else{const T=this.readStopNodeData(t,c,d+1);if(!T)throw new Error(`Unexpected end of ${c}`);o=T.i,m=T.tagContent}const b=new ct(l);l!==u&&h&&(b[":@"]=this.buildAttributesMap(u,i)),m&&(m=this.parseTextData(m,l,i,!0,h,!0,!0)),i=i.substr(0,i.lastIndexOf(".")),b.add(this.options.textNodeName,m),this.addChild(r,b,i,g)}else{if(u.length>0&&u.lastIndexOf("/")===u.length-1){if(l[l.length-1]==="/"?(l=l.substr(0,l.length-1),i=i.substr(0,i.length-1),u=l):u=u.substr(0,u.length-1),this.options.transformTagName){const b=this.options.transformTagName(l);u===l&&(u=b),l=b}const m=new ct(l);l!==u&&h&&(m[":@"]=this.buildAttributesMap(u,i)),this.addChild(r,m,i,g),i=i.substr(0,i.lastIndexOf("."))}else{const m=new ct(l);this.tagsNodeStack.push(r),l!==u&&h&&(m[":@"]=this.buildAttributesMap(u,i)),this.addChild(r,m,i,g),r=m}n="",o=d}}else n+=t[o];return e.child};function Kd(t,e,r,n){this.options.captureMetaData||(n=void 0);const i=this.options.updateTag(e.tagname,r,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,n))}const Jd=function(t){if(this.options.processEntities){for(let e in this.docTypeEntities){const r=this.docTypeEntities[e];t=t.replace(r.regx,r.val)}for(let e in this.lastEntities){const r=this.lastEntities[e];t=t.replace(r.regex,r.val)}if(this.options.htmlEntities)for(let e in this.htmlEntities){const r=this.htmlEntities[e];t=t.replace(r.regex,r.val)}t=t.replace(this.ampEntity.regex,this.ampEntity.val)}return t};function Yd(t,e,r,n){return t&&(n===void 0&&(n=e.child.length===0),(t=this.parseTextData(t,e.tagname,r,!1,!!e[":@"]&&Object.keys(e[":@"]).length!==0,n))!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}function Xd(t,e,r,n){return!(!e||!e.has(n))||!(!t||!t.has(r))}function ht(t,e,r,n){const i=t.indexOf(e,r);if(i===-1)throw new Error(n);return i+e.length-1}function Ln(t,e,r){const n=(function(u,h){let d,y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:">",g="";for(let m=h;m3&&arguments[3]!==void 0?arguments[3]:">");if(!n)return;let i=n.data;const s=n.index,o=i.search(/\s/);let a=i,l=!0;o!==-1&&(a=i.substring(0,o),i=i.substring(o+1).trimStart());const c=a;if(r){const u=a.indexOf(":");u!==-1&&(a=a.substr(u+1),l=a!==n.data.substr(u+1))}return{tagName:a,tagExp:i,closeIndex:s,attrExpPresent:l,rawTagName:c}}function Zd(t,e,r){const n=r;let i=1;for(;r",r,`${e} is not closed`);if(t.substring(r+2,s).trim()===e&&(i--,i===0))return{tagContent:t.substring(n,r),i:s};r=s}else if(t[r+1]==="?")r=ht(t,"?>",r+1,"StopNode is not closed.");else if(t.substr(r+1,3)==="!--")r=ht(t,"-->",r+3,"StopNode is not closed.");else if(t.substr(r+1,2)==="![")r=ht(t,"]]>",r,"StopNode is not closed.")-2;else{const s=Ln(t,r,">");s&&((s&&s.tagName)===e&&s.tagExp[s.tagExp.length-1]!=="/"&&i++,r=s.closeIndex)}}function Oo(t,e,r){if(e&&typeof t=="string"){const n=t.trim();return n==="true"||n!=="false"&&(function(i){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(s=Object.assign({},jd,s),!i||typeof i!="string")return i;let o=i.trim();if(s.skipLike!==void 0&&s.skipLike.test(o))return i;if(i==="0")return 0;if(s.hex&&kd.test(o))return(function(l){if(parseInt)return parseInt(l,16);if(Number.parseInt)return Number.parseInt(l,16);if(window&&window.parseInt)return window.parseInt(l,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")})(o);if(o.includes("e")||o.includes("E"))return(function(l,c,u){if(!u.eNotation)return l;const h=c.match(Md);if(h){let d=h[1]||"";const y=h[3].indexOf("e")===-1?"E":"e",g=h[2],m=d?l[g.length+1]===y:l[g.length]===y;return g.length>1&&m?l:g.length!==1||!h[3].startsWith(`.${y}`)&&h[3][0]!==y?u.leadingZeros&&!m?(c=(h[1]||"")+h[3],Number(c)):l:Number(c)}return l})(i,o,s);{const l=Bd.exec(o);if(l){const c=l[1]||"",u=l[2];let h=((a=l[3])&&a.indexOf(".")!==-1&&((a=a.replace(/0+$/,""))==="."?a="0":a[0]==="."?a="0"+a:a[a.length-1]==="."&&(a=a.substring(0,a.length-1))),a);const d=c?i[u.length+1]===".":i[u.length]===".";if(!s.leadingZeros&&(u.length>1||u.length===1&&!d))return i;{const y=Number(o),g=String(y);if(y===0)return y;if(g.search(/[eE]/)!==-1)return s.eNotation?y:i;if(o.indexOf(".")!==-1)return g==="0"||g===h||g===`${c}${h}`?y:i;let m=u?h:o;return u?m===g||c+m===g?y:i:m===g||m===c+g?y:i}}return i}var a})(t,r)}return t!==void 0?t:""}function Co(t,e,r){const n=Number.parseInt(t,e);return n>=0&&n<=1114111?String.fromCodePoint(n):r+t+";"}const _n=ct.getMetaDataSymbol();function Qd(t,e){return Ro(t,e)}function Ro(t,e,r){let n;const i={};for(let s=0;s0&&(i[e.textNodeName]=n):n!==void 0&&(i[e.textNodeName]=n),i}function eg(t){const e=Object.keys(t);for(let r=0;r5&&n==="xml")return te("InvalidXml","XML declaration allowed only at the start of the document.",be(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}}return e}function _o(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e"){e+=2;break}}return e}function ig(t,e){let r="",n="",i=!1;for(;e"&&n===""){i=!0;break}r+=t[e]}return n===""&&{value:r,index:e,tagClosed:i}}const sg=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function $o(t,e){const r=So(t,sg),n={};for(let i=0;i"&&o[h]!==" "&&o[h]!==" "&&o[h]!==` +`&&o[h]!=="\r";h++)g+=o[h];if(g=g.trim(),g[g.length-1]==="/"&&(g=g.substring(0,g.length-1),h--),!Or(g)){let T;return T=g.trim().length===0?"Invalid space after '<'.":"Tag '"+g+"' is an invalid name.",te("InvalidTag",T,be(o,h))}const m=ig(o,h);if(m===!1)return te("InvalidAttr","Attributes for '"+g+"' have open quote.",be(o,h));let b=m.value;if(h=m.index,b[b.length-1]==="/"){const T=h-b.length;b=b.substring(0,b.length-1);const E=$o(b,a);if(E!==!0)return te(E.err.code,E.err.msg,be(o,T+E.err.line));c=!0}else if(y){if(!m.tagClosed)return te("InvalidTag","Closing tag '"+g+"' doesn't have proper closing.",be(o,h));if(b.trim().length>0)return te("InvalidTag","Closing tag '"+g+"' can't have attributes or invalid starting.",be(o,d));if(l.length===0)return te("InvalidTag","Closing tag '"+g+"' has not been opened.",be(o,d));{const T=l.pop();if(g!==T.tagName){let E=be(o,T.tagStartPos);return te("InvalidTag","Expected closing tag '"+T.tagName+"' (opened in line "+E.line+", col "+E.col+") instead of closing tag '"+g+"'.",be(o,d))}l.length==0&&(u=!0)}}else{const T=$o(b,a);if(T!==!0)return te(T.err.code,T.err.msg,be(o,h-b.length+T.err.line));if(u===!0)return te("InvalidXml","Multiple possible root nodes found.",be(o,h));a.unpairedTags.indexOf(g)!==-1||l.push({tagName:g,tagStartPos:d}),c=!0}for(h++;h0)||te("InvalidXml","Invalid '"+JSON.stringify(l.map((h=>h.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):te("InvalidXml","Start tag expected.",1)})(e,r);if(s!==!0)throw Error(`${s.err.msg}:${s.err.line}:${s.err.col}`)}const n=new Vd(this.options);n.addExternalEntities(this.externalEntities);const i=n.parseXml(e);return this.options.preserveOrder||i===void 0?i:Qd(i,this.options)}addEntity(e,r){if(r.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(e.indexOf("&")!==-1||e.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if(r==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=r}static getMetaDataSymbol(){return ct.getMetaDataSymbol()}}var ug=H(829),qe=H.n(ug),At=(function(t){return t.Array="array",t.Object="object",t.Original="original",t})(At||{});function ko(t,e){if(!t.endsWith("propstat.prop.displayname"))return e}function Cr(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:At.Original;const n=qe().get(t,e);return r==="array"&&Array.isArray(n)===!1?[n]:r==="object"&&Array.isArray(n)?n[0]:n}function Jt(t,e){return e=e??{attributeNamePrefix:"@",attributeParsers:[],tagParsers:[ko]},new Promise((r=>{r((function(n){const{multistatus:i}=n;if(i==="")return{multistatus:{response:[]}};if(!i)throw new Error("Invalid response: No root multistatus found");const s={multistatus:Array.isArray(i)?i[0]:i};return qe().set(s,"multistatus.response",Cr(s,"multistatus.response",At.Array)),qe().set(s,"multistatus.response",qe().get(s,"multistatus.response").map((o=>(function(a){const l=Object.assign({},a);return l.status?qe().set(l,"status",Cr(l,"status",At.Object)):(qe().set(l,"propstat",Cr(l,"propstat",At.Object)),qe().set(l,"propstat.prop",Cr(l,"propstat.prop",At.Object))),l})(o)))),s})((function(n){let{attributeNamePrefix:i,attributeParsers:s,tagParsers:o}=n;return new Uo({allowBooleanAttributes:!0,attributeNamePrefix:i,textNodeName:"text",ignoreAttributes:!1,removeNSPrefix:!0,numberParseOptions:{hex:!0,leadingZeros:!1},attributeValueProcessor(a,l,c){for(const u of s)try{const h=u(c,l);if(h!==l)return h}catch{}return l},tagValueProcessor(a,l,c){for(const u of o)try{const h=u(c,l);if(h!==l)return h}catch{}return l}})})(e).parse(t)))}))}function Rr(t,e){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const{getlastmodified:n=null,getcontentlength:i="0",resourcetype:s=null,getcontenttype:o=null,getetag:a=null}=t,l=s&&typeof s=="object"&&s.collection!==void 0?"directory":"file",c={filename:e,basename:Nr().basename(e),lastmod:n,size:parseInt(i,10),type:l,etag:typeof a=="string"?a.replace(/"/g,""):null};return l==="file"&&(c.mime=o&&typeof o=="string"?o.split(";")[0]:""),r&&(t.displayname!==void 0&&(t.displayname=String(t.displayname)),c.props=t),c}function lg(t,e){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],n=null;try{t.multistatus.response[0].propstat&&(n=t.multistatus.response[0])}catch{}if(!n)throw new Error("Failed getting item stat: bad response");const{propstat:{prop:i,status:s}}=n,[o,a,l]=s.split(" ",3),c=parseInt(a,10);if(c>=400){const u=new Error(`Invalid response: ${c} ${l}`);throw u.status=c,u}return Rr(i,Ht(e),r)}function cg(t){switch(String(t)){case"-3":return"unlimited";case"-2":case"-1":return"unknown";default:return parseInt(String(t),10)}}function $n(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Un=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const{details:n=!1}=r,i=ie({url:G(t.remoteURL,W(e)),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,r);return $n(ne(i,t),(function(s){return se(t,s),$n(s.text(),(function(o){return $n(Jt(o,t.parsing),(function(a){const l=lg(a,e,n);return Nt(s,l,n)}))}))}))}));function Bo(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const fg=jo((function(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=(function(s){if(!s||s==="/")return[];let o=s;const a=[];do a.push(o),o=Nr().dirname(o);while(o&&o!=="/");return a})(Ht(e));n.sort(((s,o)=>s.length>o.length?1:o.length>s.length?-1:0));let i=!1;return(function(s,o,a){if(typeof s[Vo]=="function"){let m=function(b){try{for(;!(l=h.next()).done;)if((b=o(l.value))&&b.then){if(!Do(b))return void b.then(m,u||(u=we.bind(null,c=new Pt,2)));b=b.v}c?we(c,1,b):c=b}catch(T){we(c||(c=new Pt),2,T)}};var l,c,u,h=s[Vo]();if(m(),h.return){var d=function(b){try{l.done||h.return()}catch{}return b};if(c&&c.then)return c.then(d,(function(b){throw d(b)}));d()}return c}if(!("length"in s))throw new TypeError("Object is not iterable");for(var y=[],g=0;g2&&arguments[2]!==void 0?arguments[2]:{};if(r.recursive===!0)return fg(t,e,r);const n=ie({url:G(t.remoteURL,(i=W(e),i.endsWith("/")?i:i+"/")),method:"MKCOL"},t,r);var i;return Bo(ne(n,t),(function(s){se(t,s)}))}));var pg=H(388),Ho=H.n(pg);const dg=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n={};if(typeof r.range=="object"&&typeof r.range.start=="number"){let a=`bytes=${r.range.start}-`;typeof r.range.end=="number"&&(a=`${a}${r.range.end}`),n.Range=a}const i=ie({url:G(t.remoteURL,W(e)),method:"GET",headers:n},t,r);return o=function(a){if(se(t,a),n.Range&&a.status!==206){const l=new Error(`Invalid response code for partial request: ${a.status}`);throw l.status=a.status,l}return r.callback&&setTimeout((()=>{r.callback(a)}),0),a.body},(s=ne(i,t))&&s.then||(s=Promise.resolve(s)),o?s.then(o):s;var s,o})),gg=()=>{},mg=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e)),method:"DELETE"},t,r);return s=function(o){se(t,o)},(i=ne(n,t))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s})),bg=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};return(function(n,i){try{var s=(o=Un(t,e,r),a=function(){return!0},l?a?a(o):o:(o&&o.then||(o=Promise.resolve(o)),a?o.then(a):o))}catch(c){return i(c)}var o,a,l;return s&&s.then?s.then(void 0,i):s})(0,(function(n){if(n.status===404)return!1;throw n}))}));function Bn(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const wg=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e),"/"),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:r.deep?"infinity":"1"}},t,r);return Bn(ne(n,t),(function(i){return se(t,i),Bn(i.text(),(function(s){if(!s)throw new Error("Failed parsing directory contents: Empty response");return Bn(Jt(s,t.parsing),(function(o){const a=to(e);let l=(function(c,u,h){let d=arguments.length>3&&arguments[3]!==void 0&&arguments[3],y=arguments.length>4&&arguments[4]!==void 0&&arguments[4];const g=Nr().join(u,"/"),{multistatus:{response:m}}=c,b=m.map((T=>{const E=(function(A){try{return A.replace(/^https?:\/\/[^\/]+/,"")}catch(I){throw new me(I,"Failed normalising HREF")}})(T.href),{propstat:{prop:v}}=T;return Rr(v,g==="/"?decodeURIComponent(Ht(E)):Ht(Nr().relative(decodeURIComponent(g),decodeURIComponent(E))),d)}));return y?b:b.filter((T=>T.basename&&(T.type==="file"||T.filename!==h.replace(/\/$/,""))))})(o,to(t.remoteBasePath||t.remotePath),a,r.details,r.includeSelf);return r.glob&&(l=(function(c,u){return c.filter((h=>pe(h.filename,u,{matchBase:!0})))})(l,r.glob)),Nt(i,l,r.details)}))}))}))}));function jn(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e)),method:"GET",headers:{Accept:"text/plain"},transformResponse:[Tg]},t,r);return Fr(ne(n,t),(function(i){return se(t,i),Fr(i.text(),(function(s){return Nt(i,s,r.details)}))}))}));function Fr(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Eg=jn((function(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e)),method:"GET"},t,r);return Fr(ne(n,t),(function(i){let s;return se(t,i),(function(o,a){var l=o();return l&&l.then?l.then(a):a()})((function(){return Fr(i.arrayBuffer(),(function(o){s=o}))}),(function(){return Nt(i,s,r.details)}))}))})),vg=jn((function(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{format:n="binary"}=r;if(n!=="binary"&&n!=="text")throw new me({info:{code:Je.InvalidOutputFormat}},`Invalid output format: ${n}`);return n==="text"?xg(t,e,r):Eg(t,e,r)})),Tg=t=>t;function Ng(t,e){let r="";return e.format&&e.indentBy.length>0&&(r=` +`),zo(t,e,"",r)}function zo(t,e,r,n){let i="",s=!1;for(let o=0;o`,s=!1;continue}if(l===e.commentPropName){i+=n+``,s=!0;continue}if(l[0]==="?"){const y=qo(a[":@"],e),g=l==="?xml"?"":n;let m=a[l][0][e.textNodeName];m=m.length!==0?" "+m:"",i+=g+`<${l}${m}${y}?>`,s=!0;continue}let u=n;u!==""&&(u+=e.indentBy);const h=n+`<${l}${qo(a[":@"],e)}`,d=zo(a[l],e,c,u);e.unpairedTags.indexOf(l)!==-1?e.suppressUnpairedNode?i+=h+">":i+=h+"/>":d&&d.length!==0||!e.suppressEmptyNode?d&&d.endsWith(">")?i+=h+`>${d}${n}`:(i+=h+">",d&&n!==""&&(d.includes("/>")||d.includes("`):i+=h+"/>",s=!0}return i}function Ag(t){const e=Object.keys(t);for(let r=0;r0&&e.processEntities)for(let r=0;r","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Ye(t){this.options=Object.assign({},Sg,t),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=Io(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Cg),this.processTextOrObjNode=Ig,this.options.format?(this.indentate=Og,this.tagEndChar=`> +`,this.newLine=` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function Ig(t,e,r,n){const i=this.j2x(t,r+1,n.concat(e));return t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,i.attrStr,r):this.buildObjectNode(i.val,e,i.attrStr,r)}function Og(t){return this.options.indentBy.repeat(t)}function Cg(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}function Rg(t){return new Ye({attributeNamePrefix:"@_",format:!0,ignoreAttributes:!1,suppressEmptyNode:!0}).build(Go({lockinfo:{"@_xmlns:d":"DAV:",lockscope:{exclusive:{}},locktype:{write:{}},owner:{href:t}}},"d"))}function Go(t,e){const r={...t};for(const n in r)r.hasOwnProperty(n)&&(r[n]&&typeof r[n]=="object"&&n.indexOf(":")===-1?(r[`${e}:${n}`]=Go(r[n],e),delete r[n]):/^@_/.test(n)===!1&&(r[`${e}:${n}`]=r[n],delete r[n]));return r}function Mn(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}function Ko(t){return function(){for(var e=[],r=0;r1&&(t={[this.options.arrayNodeName]:t}),this.j2x(t,0,[]).val)},Ye.prototype.j2x=function(t,e,r){let n="",i="";const s=r.join(".");for(let o in t)if(Object.prototype.hasOwnProperty.call(t,o))if(t[o]===void 0)this.isAttribute(o)&&(i+="");else if(t[o]===null)this.isAttribute(o)||o===this.options.cdataPropName?i+="":o[0]==="?"?i+=this.indentate(e)+"<"+o+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+o+"/"+this.tagEndChar;else if(t[o]instanceof Date)i+=this.buildTextValNode(t[o],o,"",e);else if(typeof t[o]!="object"){const a=this.isAttribute(o);if(a&&!this.ignoreAttributesFn(a,s))n+=this.buildAttrPairStr(a,""+t[o]);else if(!a)if(o===this.options.textNodeName){let l=this.options.tagValueProcessor(o,""+t[o]);i+=this.replaceEntitiesValue(l)}else i+=this.buildTextValNode(t[o],o,"",e)}else if(Array.isArray(t[o])){const a=t[o].length;let l="",c="";for(let u=0;u`+this.newLine:this.indentate(n)+"<"+e+r+s+this.tagEndChar+t+this.indentate(n)+i:this.indentate(n)+"<"+e+r+s+">"+t+i}},Ye.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(this.options.commentPropName!==!1&&e===this.options.commentPropName)return this.indentate(n)+``+this.newLine;if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),i===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+i+"0&&this.options.processEntities)for(let e=0;e3&&arguments[3]!==void 0?arguments[3]:{};const i=ie({url:G(t.remoteURL,W(e)),method:"UNLOCK",headers:{"Lock-Token":r}},t,n);return Mn(ne(i,t),(function(s){if(se(t,s),s.status!==204&&s.status!==200)throw Rn(s)}))})),Lg=Ko((function(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{refreshToken:n,timeout:i=_g}=r,s={Accept:"text/plain,application/xml",Timeout:i};n&&(s.If=n);const o=ie({url:G(t.remoteURL,W(e)),method:"LOCK",headers:s,data:Rg(t.contactHref)},t,r);return Mn(ne(o,t),(function(a){return se(t,a),Mn(a.text(),(function(l){const c=(d=l,new Uo({removeNSPrefix:!0,parseAttributeValue:!0,parseTagValue:!0}).parse(d)),u=qe().get(c,"prop.lockdiscovery.activelock.locktoken.href"),h=qe().get(c,"prop.lockdiscovery.activelock.timeout");var d;if(!u)throw Rn(a,"No lock token received: ");return{token:u,serverTimeout:h}}))}))})),_g="Infinite, Second-4100000000";function Vn(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const $g=(function(t){return function(){for(var e=[],r=0;r1&&arguments[1]!==void 0?arguments[1]:{};const r=e.path||"/",n=ie({url:G(t.remoteURL,r),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,e);return Vn(ne(n,t),(function(i){return se(t,i),Vn(i.text(),(function(s){return Vn(Jt(s,t.parsing),(function(o){const a=(function(l){try{const[c]=l.multistatus.response,{propstat:{prop:{"quota-used-bytes":u,"quota-available-bytes":h}}}=c;return u!==void 0&&h!==void 0?{used:parseInt(String(u),10),available:cg(h)}:null}catch{}return null})(o);return Nt(i,a,e.details)}))}))}))}));function Dn(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Ug=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const{details:n=!1}=r,i=ie({url:G(t.remoteURL,W(e)),method:"SEARCH",headers:{Accept:"text/plain,application/xml","Content-Type":t.headers["Content-Type"]||"application/xml; charset=utf-8"}},t,r);return Dn(ne(i,t),(function(s){return se(t,s),Dn(s.text(),(function(o){return Dn(Jt(o,t.parsing),(function(a){const l=(function(c,u,h){const d={truncated:!1,results:[]};return d.truncated=c.multistatus.response.some((y=>(y.status||y.propstat?.status).split(" ",3)?.[1]==="507"&&y.href.replace(/\/$/,"").endsWith(W(u).replace(/\/$/,"")))),c.multistatus.response.forEach((y=>{if(y.propstat===void 0)return;const g=y.href.split("/").map(decodeURIComponent).join("/");d.results.push(Rr(y.propstat.prop,g,h))})),d})(a,e,n);return Nt(s,l,n)}))}))}))})),kg=(function(t){return function(){for(var e=[],r=0;r3&&arguments[3]!==void 0?arguments[3]:{};const i=ie({url:G(t.remoteURL,W(e)),method:"MOVE",headers:{Destination:G(t.remoteURL,W(r)),Overwrite:n.overwrite===!1?"F":"T"}},t,n);return o=function(a){se(t,a)},(s=ne(i,t))&&s.then||(s=Promise.resolve(s)),o?s.then(o):s;var s,o}));var Bg=H(172);function jg(t){if(ho(t))return t.byteLength;if(po(t))return t.length;if(typeof t=="string")return(0,Bg.d)(t);throw new me({info:{code:Je.DataTypeNoLength}},"Cannot calculate data length: Invalid type")}const Mg=(function(t){return function(){for(var e=[],r=0;r3&&arguments[3]!==void 0?arguments[3]:{};const{contentLength:i=!0,overwrite:s=!0}=n,o={"Content-Type":"application/octet-stream"};i===!1||(o["Content-Length"]=typeof i=="number"?`${i}`:`${jg(r)}`),s||(o["If-None-Match"]="*");const a=ie({url:G(t.remoteURL,W(e)),method:"PUT",headers:o,data:r},t,n);return c=function(u){try{se(t,u)}catch(h){const d=h;if(d.status!==412||s)throw d;return!1}return!0},(l=ne(a,t))&&l.then||(l=Promise.resolve(l)),c?l.then(c):l;var l,c})),Jo=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e)),method:"OPTIONS"},t,r);return s=function(o){try{se(t,o)}catch(a){throw a}return{compliance:(o.headers.get("DAV")??"").split(",").map((a=>a.trim())),server:o.headers.get("Server")??""}},(i=ne(n,t))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s}));function Yt(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Vg=Hn((function(t,e,r,n,i){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(r>n||r<0)throw new me({info:{code:Je.InvalidUpdateRange}},`Invalid update range ${r} for partial update`);const o={"Content-Type":"application/octet-stream","Content-Length":""+(n-r+1),"Content-Range":`bytes ${r}-${n}/*`},a=ie({url:G(t.remoteURL,W(e)),method:"PUT",headers:o,data:i},t,s);return Yt(ne(a,t),(function(l){se(t,l)}))}));function Yo(t,e){var r=t();return r&&r.then?r.then(e):e(r)}const Dg=Hn((function(t,e,r,n,i){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(r>n||r<0)throw new me({info:{code:Je.InvalidUpdateRange}},`Invalid update range ${r} for partial update`);const o={"Content-Type":"application/x-sabredav-partialupdate","Content-Length":""+(n-r+1),"X-Update-Range":`bytes=${r}-${n}`},a=ie({url:G(t.remoteURL,W(e)),method:"PATCH",headers:o,data:i},t,s);return Yt(ne(a,t),(function(l){se(t,l)}))}));function Hn(t){return function(){for(var e=[],r=0;r5&&arguments[5]!==void 0?arguments[5]:{};return Yt(Jo(t,e,s),(function(o){let a=!1;return Yo((function(){if(o.compliance.includes("sabredav-partialupdate"))return Yt(Dg(t,e,r,n,i,s),(function(l){return a=!0,l}))}),(function(l){let c=!1;return a?l:Yo((function(){if(o.server.includes("Apache")&&o.compliance.includes(""))return Yt(Vg(t,e,r,n,i,s),(function(u){return c=!0,u}))}),(function(u){if(c)return u;throw new me({info:{code:Je.NotSupported}},"Not supported")}))}))}))})),zg="https://github.com/perry-mitchell/webdav-client/blob/master/LOCK_CONTACT.md";function qg(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{authType:r=null,remoteBasePath:n,contactHref:i=zg,ha1:s,headers:o={},httpAgent:a,httpsAgent:l,password:c,token:u,username:h,withCredentials:d}=e;let y=r;y||(y=h||c?Te.Password:Te.None);const g={authType:y,remoteBasePath:n,contactHref:i,ha1:s,headers:Object.assign({},o),httpAgent:a,httpsAgent:l,password:c,parsing:{attributeNamePrefix:e.attributeNamePrefix??"@",attributeParsers:[],tagParsers:[ko]},remotePath:Xp(t),remoteURL:t,token:u,username:h,withCredentials:d};return uo(g,h,c,u,s),{copyFile:(m,b,T)=>Ld(g,m,b,T),createDirectory:(m,b)=>kn(g,m,b),createReadStream:(m,b)=>(function(T,E){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const A=new(Ho()).PassThrough;return dg(T,E,v).then((I=>{I.pipe(A)})).catch((I=>{A.emit("error",I)})),A})(g,m,b),createWriteStream:(m,b,T)=>(function(E,v){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:gg;const F=new(Ho()).PassThrough,L={};A.overwrite===!1&&(L["If-None-Match"]="*");const $=ie({url:G(E.remoteURL,W(v)),method:"PUT",headers:L,data:F,maxRedirects:0},E,A);return ne($,E).then((_=>se(E,_))).then((_=>{setTimeout((()=>{I(_)}),0)})).catch((_=>{F.emit("error",_)})),F})(g,m,b,T),customRequest:(m,b)=>mg(g,m,b),deleteFile:(m,b)=>yg(g,m,b),exists:(m,b)=>bg(g,m,b),getDirectoryContents:(m,b)=>wg(g,m,b),getFileContents:(m,b)=>vg(g,m,b),getFileDownloadLink:m=>(function(b,T){let E=G(b.remoteURL,W(T));const v=/^https:/i.test(E)?"https":"http";switch(b.authType){case Te.None:break;case Te.Password:{const A=so(b.headers.Authorization.replace(/^Basic /i,"").trim());E=E.replace(/^https?:\/\//,`${v}://${A}@`);break}default:throw new me({info:{code:Je.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${b.authType}`)}return E})(g,m),getFileUploadLink:m=>(function(b,T){let E=`${G(b.remoteURL,W(T))}?Content-Type=application/octet-stream`;const v=/^https:/i.test(E)?"https":"http";switch(b.authType){case Te.None:break;case Te.Password:{const A=so(b.headers.Authorization.replace(/^Basic /i,"").trim());E=E.replace(/^https?:\/\//,`${v}://${A}@`);break}default:throw new me({info:{code:Je.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${b.authType}`)}return E})(g,m),getHeaders:()=>Object.assign({},g.headers),getQuota:m=>$g(g,m),lock:(m,b)=>Lg(g,m,b),moveFile:(m,b,T)=>kg(g,m,b,T),putFileContents:(m,b,T)=>Mg(g,m,b,T),partialUpdateFileContents:(m,b,T,E,v)=>Hg(g,m,b,T,E,v),getDAVCompliance:m=>Jo(g,m),search:(m,b)=>Ug(g,m,b),setHeaders:m=>{g.headers=Object.assign({},m)},stat:(m,b)=>Un(g,m,b),unlock:(m,b,T)=>Fg(g,m,b,T),registerAttributeParser:m=>{g.parsing.attributeParsers.push(m)},registerTagParser:m=>{g.parsing.tagParsers.push(m)}}}const ue=[];for(let t=0;t<256;++t)ue.push((t+256).toString(16).slice(1));function Wg(t,e=0){return(ue[t[e+0]]+ue[t[e+1]]+ue[t[e+2]]+ue[t[e+3]]+"-"+ue[t[e+4]]+ue[t[e+5]]+"-"+ue[t[e+6]]+ue[t[e+7]]+"-"+ue[t[e+8]]+ue[t[e+9]]+"-"+ue[t[e+10]]+ue[t[e+11]]+ue[t[e+12]]+ue[t[e+13]]+ue[t[e+14]]+ue[t[e+15]]).toLowerCase()}let zn;const Gg=new Uint8Array(16);function Kg(){if(!zn){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");zn=crypto.getRandomValues.bind(crypto)}return zn(Gg)}var Xo={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Jg(t,e,r){t=t||{};const n=t.random??t.rng?.()??Kg();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,Wg(n)}function Yg(t,e,r){return Xo.randomUUID&&!t?Xo.randomUUID():Jg(t)}const qn=(t,e)=>Object.fromEntries(Object.entries(t).map(([r,n])=>e.includes(r)?[r,n||""]:[st.DavNamespace.includes(r)?`d:${r}`:`oc:${r}`,n||""])),Zo=(t=[],{pattern:e,filterRules:r,limit:n=0,extraProps:i=[]})=>{let s="d:propfind";e&&(s="oc:search-files"),r&&(s="oc:filter-files");const o=t.reduce((u,h)=>Object.assign(u,{[h]:null}),{}),a=qn(o,i),l={[s]:{"d:prop":a,"@@xmlns:d":"DAV:","@@xmlns:oc":"http://owncloud.org/ns",...e&&{"oc:search":{"oc:pattern":e,"oc:limit":n}},...r&&{"oc:filter-rules":qn(r,[])}}};return new Pe({format:!0,ignoreAttributes:!1,attributeNamePrefix:"@@",suppressEmptyNode:!0}).build(l)},Xg=t=>{const e={"d:propertyupdate":{"d:set":{"d:prop":qn(t,[])},"@@xmlns:d":"DAV:","@@xmlns:oc":"http://owncloud.org/ns"}};return new Pe({format:!0,ignoreAttributes:!1,attributeNamePrefix:"@@",suppressEmptyNode:!0}).build(e)},Zg=t=>{const e={},r=t.get("tus-version");return r?(e.version=r.split(","),t.get("tus-extension")&&(e.extension=t.get("tus-extension").split(",")),t.get("tus-resumable")&&(e.resumable=t.get("tus-resumable")),t.get("tus-max-size")&&(e.maxSize=parseInt(t.get("tus-max-size"),10)),e):null},Qg=async t=>{const e=n=>{const i=decodeURIComponent(n);return n?.startsWith("/remote.php/dav/")?B(i.replace("/remote.php/dav/",""),{leadingSlash:!0,trailingSlash:!1}):i};return(await Jt(t)).multistatus.response.map(({href:n,propstat:i})=>{const s={...Rr(i.prop,e(n),!0),processing:i.status==="HTTP/1.1 425 TOO EARLY"};return s.props.name&&(s.props.name=s.props.name.toString()),s})},e0=t=>{const e=new Gs,r={message:"Unknown error",errorCode:void 0};try{const n=e.parse(t);if(!n["d:error"])return r;if(n["d:error"]["s:message"]){const i=n["d:error"]["s:message"];typeof i=="string"&&(r.message=i)}if(n["d:error"]["s:errorcode"]){const i=n["d:error"]["s:errorcode"];typeof i=="string"&&(r.errorCode=i)}}catch{return r}return r};class t0{client;davPath;headers;extraProps;constructor({baseUrl:e,headers:r}){this.davPath=B(e,"remote.php/dav"),this.client=qg(this.davPath,{}),this.headers=r,this.extraProps=[]}mkcol(e,r={}){return this.request(e,{method:De.mkcol,...r})}async propfind(e,{depth:r=1,properties:n=[],headers:i={},...s}={}){const o={...i,Depth:r.toString()},{body:a,result:l}=await this.request(e,{method:De.propfind,data:Zo(n,{extraProps:this.extraProps}),headers:o,...s});return a?.length&&(a[0].tusSupport=Zg(l.headers)),a}async report(e,{pattern:r="",filterRules:n=null,limit:i=30,properties:s,...o}={}){const{body:a,result:l}=await this.request(e,{method:De.report,data:Zo(s,{pattern:r,filterRules:n,limit:i,extraProps:this.extraProps}),...o});return{results:a,range:l.headers.get("content-range")}}copy(e,r,{overwrite:n=!1,headers:i={},...s}={}){const o=B(this.davPath,fr(r));return this.request(e,{method:De.copy,headers:{...i,Destination:o,overwrite:n?"T":"F"},...s})}move(e,r,{overwrite:n=!1,headers:i={},...s}={}){const o=B(this.davPath,fr(r));return this.request(e,{method:De.move,headers:{...i,Destination:o,overwrite:n?"T":"F"},...s})}put(e,r,{headers:n={},onUploadProgress:i,previousEntityTag:s,overwrite:o,...a}={}){const l={...n};return s?l["If-Match"]=s:o||(l["If-None-Match"]="*"),this.request(e,{method:De.put,data:r,headers:l,onUploadProgress:i,...a})}delete(e,r={}){return this.request(e,{method:De.delete,...r})}propPatch(e,r,n={}){const i=Xg(r);return this.request(e,{method:De.proppatch,data:i,...n})}getFileUrl(e){return B(this.davPath,fr(e))}buildHeaders(e={}){return{"Content-Type":"application/xml; charset=utf-8","X-Requested-With":"XMLHttpRequest","X-Request-ID":Yg(),...this.headers&&{...this.headers()},...e}}async request(e,r){const n=B(this.davPath,fr(e),{leadingSlash:!0}),i={...r,url:n,headers:this.buildHeaders(r.headers||{})};try{const s=await this.client.customRequest("",i);let o;if(s.status===207){const a=await s.text();o=await Qg(a)}return{body:o,status:s.status,result:s}}catch(s){const{response:o}=s,a=await o.text(),l=e0(a);throw new ul(l.message,l.errorCode,o,o.status)}}}const r0=(t,e)=>({async listFileVersions(r,n={}){const[i,...s]=await t.propfind(B("meta",r,"v",{leadingSlash:!0}),n);return s.map(o=>xt(o,t.extraProps))}}),n0=(t,e)=>({setFavorite(r,{path:n},i,s={}){const o={[C.IsFavorite]:i?"true":"false"};return t.propPatch(B(r.webDavPath,n),o,s)}}),i0=(t,e)=>({listFavoriteFiles({davProperties:r=st.Default,username:n="",...i}={}){return t.report(B("files",n),{properties:r,filterRules:{favorite:1},...i})}}),s0=(t,e)=>{const r=Q.create();e&&r.interceptors.request.use(R=>(Object.assign(R.headers,e()),R));const n={axiosClient:r,baseUrl:t},i=new t0({baseUrl:t,headers:e}),s=R=>{i.extraProps.push(R)},o=Wp(i),{getPathForFileId:a}=o,l=Bp(i,o),{listFiles:c}=l,u=$p(l),{getFileInfo:h}=u,{createFolder:d}=Lp(i,u),y=_p(i,n),{getFileContents:g}=y,{putFileContents:m}=Mp(i,u),{getFileUrl:b,revokeUrl:T}=Up(i,y,u,n),{getPublicFileUrl:E}=kp(i),{copyFiles:v}=Fp(i),{moveFiles:A}=jp(i),{deleteFile:I}=Vp(i),{restoreFile:F}=Dp(i),{listFileVersions:L}=r0(i),{restoreFileVersion:$}=Hp(i),{clearTrashBin:_}=zp(i),{search:j}=qp(i),{listFavoriteFiles:de}=i0(i),{setFavorite:oe}=n0(i);return{copyFiles:v,createFolder:d,deleteFile:I,restoreFile:F,restoreFileVersion:$,getFileContents:g,getFileInfo:h,getFileUrl:b,getPublicFileUrl:E,getPathForFileId:a,listFiles:c,listFileVersions:L,moveFiles:A,putFileContents:m,revokeUrl:T,clearTrashBin:_,search:j,listFavoriteFiles:de,setFavorite:oe,registerExtraProp:s}};let Xt;const o0=async({client:t,space:e,path:r,existingPaths:n})=>{const i=r.split("/").filter(Boolean);let s="";for(const o of i){const a=B(s,o);if(n.includes(a)){s=B(s,o);continue}try{await t.createFolder(e,{path:a})}catch{}n.push(a),s=a}return{existingPaths:n}};self.onmessage=async t=>{const{topic:e,data:r}=JSON.parse(t.data);if(e==="tokenUpdate"&&Xt){Xt.Authorization?.toString().startsWith("Bearer")&&(Xt.Authorization=r.accessToken);return}const{baseUrl:n,headers:i,space:s,resources:o,missingFolderPaths:a}=r;Xt=i;const l=s0(n,()=>Xt),c=[],u=[],h=new da({concurrency:4});let d=[];const y=o.map(g=>h.add(async()=>{const m=Mr.dirname(g.path);if(a.includes(m)){const{existingPaths:b}=await o0({client:l,space:s,path:m,existingPaths:d});d=b}try{await l.restoreFile(s,g,g,{overwrite:!0}),c.push(g)}catch(b){console.error(b),u.push({resource:g,message:b.message,statusCode:b.statusCode,xReqId:b.response.headers?.get("x-request-id")})}}));await Promise.allSettled(y),postMessage(JSON.stringify({successful:c,failed:u}))}})(); diff --git a/web-dist/assets/worker-CLot5EGZ.js.gz b/web-dist/assets/worker-CLot5EGZ.js.gz new file mode 100644 index 0000000000..5d9ffcee4c Binary files /dev/null and b/web-dist/assets/worker-CLot5EGZ.js.gz differ diff --git a/web-dist/assets/worker-DYINxooC.js b/web-dist/assets/worker-DYINxooC.js new file mode 100644 index 0000000000..17bb139197 --- /dev/null +++ b/web-dist/assets/worker-DYINxooC.js @@ -0,0 +1,21 @@ +(function(){"use strict";function Yn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ur={exports:{}},Jn;function la(){return Jn||(Jn=1,(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(l,c,u){this.fn=l,this.context=c,this.once=u||!1}function s(l,c,u,h,d){if(typeof u!="function")throw new TypeError("The listener must be a function");var y=new i(u,h||l,d),g=r?r+c:c;return l._events[g]?l._events[g].fn?l._events[g]=[l._events[g],y]:l._events[g].push(y):(l._events[g]=y,l._eventsCount++),l}function o(l,c){--l._eventsCount===0?l._events=new n:delete l._events[c]}function a(){this._events=new n,this._eventsCount=0}a.prototype.eventNames=function(){var c=[],u,h;if(this._eventsCount===0)return c;for(h in u=this._events)e.call(u,h)&&c.push(r?h.slice(1):h);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(u)):c},a.prototype.listeners=function(c){var u=r?r+c:c,h=this._events[u];if(!h)return[];if(h.fn)return[h.fn];for(var d=0,y=h.length,g=new Array(y);dt.reason??new DOMException("This operation was aborted.","AbortError");function ha(t,e){const{milliseconds:r,fallback:n,message:i,customTimers:s={setTimeout,clearTimeout},signal:o}=e;let a,l;const u=new Promise((h,d)=>{if(typeof r!="number"||Math.sign(r)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${r}\``);if(o?.aborted){d(Xn(o));return}if(o&&(l=()=>{d(Xn(o))},o.addEventListener("abort",l,{once:!0})),t.then(h,d),r===Number.POSITIVE_INFINITY)return;const y=new kr;a=s.setTimeout.call(void 0,()=>{if(n){try{h(n())}catch(g){d(g)}return}typeof t.cancel=="function"&&t.cancel(),i===!1?h():i instanceof Error?d(i):(y.message=i??`Promise timed out after ${r} milliseconds`,d(y))},r)}).finally(()=>{u.clear(),l&&o&&o.removeEventListener("abort",l)});return u.clear=()=>{s.clearTimeout.call(void 0,a),a=void 0},u}function pa(t,e,r){let n=0,i=t.length;for(;i>0;){const s=Math.trunc(i/2);let o=n+s;r(t[o],e)<=0?(n=++o,i-=s+1):i=s}return n}class da{#e=[];enqueue(e,r){const{priority:n=0,id:i}=r??{},s={priority:n,id:i,run:e};if(this.size===0||this.#e[this.size-1].priority>=n){this.#e.push(s);return}const o=pa(this.#e,s,(a,l)=>l.priority-a.priority);this.#e.splice(o,0,s)}setPriority(e,r){const n=this.#e.findIndex(s=>s.id===e);if(n===-1)throw new ReferenceError(`No promise function with the id "${e}" exists in the queue.`);const[i]=this.#e.splice(n,1);this.enqueue(i.run,{priority:r,id:e})}dequeue(){return this.#e.shift()?.run}filter(e){return this.#e.filter(r=>r.priority===e.priority).map(r=>r.run)}get size(){return this.#e.length}}class ga extends fa{#e;#r;#s=0;#t;#n=!1;#p=!1;#l;#g=0;#f=0;#c;#d;#h;#o=[];#a=0;#i;#S;#u=0;#w;#m;#F=1n;#x=new Map;timeout;constructor(e){if(super(),e={carryoverIntervalCount:!1,intervalCap:Number.POSITIVE_INFINITY,interval:0,concurrency:Number.POSITIVE_INFINITY,autoStart:!0,queueClass:da,strict:!1,...e},!(typeof e.intervalCap=="number"&&e.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${e.intervalCap?.toString()??""}\` (${typeof e.intervalCap})`);if(e.interval===void 0||!(Number.isFinite(e.interval)&&e.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${e.interval?.toString()??""}\` (${typeof e.interval})`);if(e.strict&&e.interval===0)throw new TypeError("The `strict` option requires a non-zero `interval`");if(e.strict&&e.intervalCap===Number.POSITIVE_INFINITY)throw new TypeError("The `strict` option requires a finite `intervalCap`");if(this.#e=e.carryoverIntervalCount??e.carryoverConcurrencyCount??!1,this.#r=e.intervalCap===Number.POSITIVE_INFINITY||e.interval===0,this.#t=e.intervalCap,this.#l=e.interval,this.#h=e.strict,this.#i=new e.queueClass,this.#S=e.queueClass,this.concurrency=e.concurrency,e.timeout!==void 0&&!(Number.isFinite(e.timeout)&&e.timeout>0))throw new TypeError(`Expected \`timeout\` to be a positive finite number, got \`${e.timeout}\` (${typeof e.timeout})`);this.timeout=e.timeout,this.#m=e.autoStart===!1,this.#M()}#E(e){for(;this.#a=this.#l)this.#a++;else break}(this.#a>100&&this.#a>this.#o.length/2||this.#a===this.#o.length)&&(this.#o=this.#o.slice(this.#a),this.#a=0)}#L(e){this.#h?this.#o.push(e):this.#s++}#_(){this.#h?this.#o.length>this.#a&&this.#o.pop():this.#s>0&&this.#s--}#v(){return this.#o.length-this.#a}get#$(){return this.#r?!0:this.#h?this.#v()=this.#t){const n=this.#o[this.#a],i=this.#l-(e-n);return this.#T(i),!0}return!1}if(this.#c===void 0){const r=this.#g-e;if(r<0){if(this.#f>0){const n=e-this.#f;if(n{this.#B()},e))}#N(){this.#c&&(clearInterval(this.#c),this.#c=void 0)}#I(){this.#d&&(clearTimeout(this.#d),this.#d=void 0)}#A(){if(this.#i.size===0){if(this.#N(),this.emit("empty"),this.#u===0){if(this.#I(),this.#h&&this.#a>0){const r=Date.now();this.#E(r)}this.emit("idle")}return!1}let e=!1;if(!this.#m){const r=Date.now(),n=!this.#j(r);if(this.#$&&this.#U){const i=this.#i.dequeue();this.#r||(this.#L(r),this.#b()),this.emit("active"),i(),n&&this.#O(),e=!0}}return e}#O(){this.#r||this.#c!==void 0||this.#h||(this.#c=setInterval(()=>{this.#C()},this.#l),this.#g=Date.now()+this.#l)}#C(){this.#h||(this.#s===0&&this.#u===0&&this.#c&&this.#N(),this.#s=this.#e?this.#u:0),this.#P(),this.#b()}#P(){for(;this.#A(););}get concurrency(){return this.#w}set concurrency(e){if(!(typeof e=="number"&&e>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this.#w=e,this.#P()}setPriority(e,r){if(typeof r!="number"||!Number.isFinite(r))throw new TypeError(`Expected \`priority\` to be a finite number, got \`${r}\` (${typeof r})`);this.#i.setPriority(e,r)}async add(e,r={}){return r={timeout:this.timeout,...r,id:r.id??(this.#F++).toString()},new Promise((n,i)=>{const s=Symbol(`task-${r.id}`);this.#i.enqueue(async()=>{this.#u++,this.#x.set(s,{id:r.id,priority:r.priority??0,startTime:Date.now(),timeout:r.timeout});let o;try{try{r.signal?.throwIfAborted()}catch(c){throw this.#V(),this.#x.delete(s),c}this.#f=Date.now();let a=e({signal:r.signal});if(r.timeout&&(a=ha(Promise.resolve(a),{milliseconds:r.timeout,message:`Task timed out after ${r.timeout}ms (queue has ${this.#u} running, ${this.#i.size} waiting)`})),r.signal){const{signal:c}=r;a=Promise.race([a,new Promise((u,h)=>{o=()=>{h(c.reason)},c.addEventListener("abort",o,{once:!0})})])}const l=await a;n(l),this.emit("completed",l)}catch(a){i(a),this.emit("error",a)}finally{o&&r.signal?.removeEventListener("abort",o),this.#x.delete(s),queueMicrotask(()=>{this.#k()})}},r),this.emit("add"),this.#A()})}async addAll(e,r){return Promise.all(e.map(async n=>this.add(n,r)))}start(){return this.#m?(this.#m=!1,this.#P(),this):this}pause(){this.#m=!0}clear(){this.#i=new this.#S,this.#N(),this.#R(),this.emit("empty"),this.#u===0&&(this.#I(),this.emit("idle")),this.emit("next")}async onEmpty(){this.#i.size!==0&&await this.#y("empty")}async onSizeLessThan(e){this.#i.sizethis.#i.size{const n=i=>{this.off("error",n),r(i)};this.on("error",n)})}async#y(e,r){return new Promise(n=>{const i=()=>{r&&!r()||(this.off(e,i),n())};this.on(e,i)})}get size(){return this.#i.size}sizeBy(e){return this.#i.filter(e).length}get pending(){return this.#u}get isPaused(){return this.#m}#M(){this.#r||(this.on("add",()=>{this.#i.size>0&&this.#b()}),this.on("next",()=>{this.#b()}))}#b(){this.#r||this.#p||(this.#p=!0,queueMicrotask(()=>{this.#p=!1,this.#R()}))}#V(){this.#r||(this.#_(),this.#b())}#R(){const e=this.#n;if(this.#r||this.#i.size===0){e&&(this.#n=!1,this.emit("rateLimitCleared"));return}let r;if(this.#h){const i=Date.now();this.#E(i),r=this.#v()}else r=this.#s;const n=r>=this.#t;n!==e&&(this.#n=n,this.emit(n?"rateLimit":"rateLimitCleared"))}get isRateLimited(){return this.#n}get isSaturated(){return this.#u===this.#w&&this.#i.size>0||this.isRateLimited&&this.#i.size>0}get runningTasks(){return[...this.#x.values()].map(e=>({...e}))}}function ma(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Zn={exports:{}},Z=Zn.exports={},$e,Ue;function Br(){throw new Error("setTimeout has not been defined")}function jr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?$e=setTimeout:$e=Br}catch{$e=Br}try{typeof clearTimeout=="function"?Ue=clearTimeout:Ue=jr}catch{Ue=jr}})();function Qn(t){if($e===setTimeout)return setTimeout(t,0);if(($e===Br||!$e)&&setTimeout)return $e=setTimeout,setTimeout(t,0);try{return $e(t,0)}catch{try{return $e.call(null,t,0)}catch{return $e.call(this,t,0)}}}function ya(t){if(Ue===clearTimeout)return clearTimeout(t);if((Ue===jr||!Ue)&&clearTimeout)return Ue=clearTimeout,clearTimeout(t);try{return Ue(t)}catch{try{return Ue.call(null,t)}catch{return Ue.call(this,t)}}}var Me=[],pt=!1,et,Qt=-1;function ba(){!pt||!et||(pt=!1,et.length?Me=et.concat(Me):Qt=-1,Me.length&&ei())}function ei(){if(!pt){var t=Qn(ba);pt=!0;for(var e=Me.length;e;){for(et=Me,Me=[];++Qt1)for(var r=1;r2){var d=o.lastIndexOf("/");if(d!==o.length-1){d===-1?(o="",a=0):(o=o.slice(0,d),a=o.length-1-o.lastIndexOf("/")),l=h,c=0;continue}}else if(o.length===2||o.length===1){o="",a=0,l=h,c=0;continue}}s&&(o.length>0?o+="/..":o="..",a=2)}else o.length>0?o+="/"+i.slice(l+1,h):o=i.slice(l+1,h),a=h-l-1;l=h,c=0}else u===46&&c!==-1?++c:c=-1}return o}function r(i,s){var o=s.dir||s.root,a=s.base||(s.name||"")+(s.ext||"");return o?o===s.root?o+a:o+i+a:a}var n={resolve:function(){for(var s="",o=!1,a,l=arguments.length-1;l>=-1&&!o;l--){var c;l>=0?c=arguments[l]:(a===void 0&&(a=tt.cwd()),c=a),t(c),c.length!==0&&(s=c+"/"+s,o=c.charCodeAt(0)===47)}return s=e(s,!o),o?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(t(s),s.length===0)return".";var o=s.charCodeAt(0)===47,a=s.charCodeAt(s.length-1)===47;return s=e(s,!o),s.length===0&&!o&&(s="."),s.length>0&&a&&(s+="/"),o?"/"+s:s},isAbsolute:function(s){return t(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,o=0;o0&&(s===void 0?s=a:s+="/"+a)}return s===void 0?".":n.normalize(s)},relative:function(s,o){if(t(s),t(o),s===o||(s=n.resolve(s),o=n.resolve(o),s===o))return"";for(var a=1;ay){if(o.charCodeAt(u+m)===47)return o.slice(u+m+1);if(m===0)return o.slice(u+m)}else c>y&&(s.charCodeAt(a+m)===47?g=m:m===0&&(g=0));break}var b=s.charCodeAt(a+m),T=o.charCodeAt(u+m);if(b!==T)break;b===47&&(g=m)}var E="";for(m=a+g+1;m<=l;++m)(m===l||s.charCodeAt(m)===47)&&(E.length===0?E+="..":E+="/..");return E.length>0?E+o.slice(u+g):(u+=g,o.charCodeAt(u)===47&&++u,o.slice(u))},_makeLong:function(s){return s},dirname:function(s){if(t(s),s.length===0)return".";for(var o=s.charCodeAt(0),a=o===47,l=-1,c=!0,u=s.length-1;u>=1;--u)if(o=s.charCodeAt(u),o===47){if(!c){l=u;break}}else c=!1;return l===-1?a?"/":".":a&&l===1?"//":s.slice(0,l)},basename:function(s,o){if(o!==void 0&&typeof o!="string")throw new TypeError('"ext" argument must be a string');t(s);var a=0,l=-1,c=!0,u;if(o!==void 0&&o.length>0&&o.length<=s.length){if(o.length===s.length&&o===s)return"";var h=o.length-1,d=-1;for(u=s.length-1;u>=0;--u){var y=s.charCodeAt(u);if(y===47){if(!c){a=u+1;break}}else d===-1&&(c=!1,d=u+1),h>=0&&(y===o.charCodeAt(h)?--h===-1&&(l=u):(h=-1,l=d))}return a===l?l=d:l===-1&&(l=s.length),s.slice(a,l)}else{for(u=s.length-1;u>=0;--u)if(s.charCodeAt(u)===47){if(!c){a=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":s.slice(a,l)}},extname:function(s){t(s);for(var o=-1,a=0,l=-1,c=!0,u=0,h=s.length-1;h>=0;--h){var d=s.charCodeAt(h);if(d===47){if(!c){a=h+1;break}continue}l===-1&&(c=!1,l=h+1),d===46?o===-1?o=h:u!==1&&(u=1):o!==-1&&(u=-1)}return o===-1||l===-1||u===0||u===1&&o===l-1&&o===a+1?"":s.slice(o,l)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return r("/",s)},parse:function(s){t(s);var o={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return o;var a=s.charCodeAt(0),l=a===47,c;l?(o.root="/",c=1):c=0;for(var u=-1,h=0,d=-1,y=!0,g=s.length-1,m=0;g>=c;--g){if(a=s.charCodeAt(g),a===47){if(!y){h=g+1;break}continue}d===-1&&(y=!1,d=g+1),a===46?u===-1?u=g:m!==1&&(m=1):u!==-1&&(m=-1)}return u===-1||d===-1||m===0||m===1&&u===d-1&&u===h+1?d!==-1&&(h===0&&l?o.base=o.name=s.slice(1,d):o.base=o.name=s.slice(h,d)):(h===0&&l?(o.name=s.slice(1,u),o.base=s.slice(1,d)):(o.name=s.slice(h,u),o.base=s.slice(h,d)),o.ext=s.slice(u,d)),h>0?o.dir=s.slice(0,h-1):l&&(o.dir="/"),o},sep:"/",delimiter:":",win32:null,posix:null};return n.posix=n,Mr=n,Mr}var er=xa(),ni=Yn(er);const Fe=globalThis||void 0||self;function ii(t,e){return function(){return t.apply(e,arguments)}}const{toString:Ea}=Object.prototype,{getPrototypeOf:Vr}=Object,{iterator:tr,toStringTag:si}=Symbol,rr=(t=>e=>{const r=Ea.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Le=t=>(t=t.toLowerCase(),e=>rr(e)===t),nr=t=>e=>typeof e===t,{isArray:dt}=Array,gt=nr("undefined");function Ot(t){return t!==null&&!gt(t)&&t.constructor!==null&&!gt(t.constructor)&&xe(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const oi=Le("ArrayBuffer");function va(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&oi(t.buffer),e}const Ta=nr("string"),xe=nr("function"),ai=nr("number"),Ct=t=>t!==null&&typeof t=="object",Na=t=>t===!0||t===!1,ir=t=>{if(rr(t)!=="object")return!1;const e=Vr(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(si in t)&&!(tr in t)},Aa=t=>{if(!Ct(t)||Ot(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},Pa=Le("Date"),Sa=Le("File"),Ia=t=>!!(t&&typeof t.uri<"u"),Oa=t=>t&&typeof t.getParts<"u",Ca=Le("Blob"),Ra=Le("FileList"),Fa=t=>Ct(t)&&xe(t.pipe);function La(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof Fe<"u"?Fe:{}}const ui=La(),li=typeof ui.FormData<"u"?ui.FormData:void 0,_a=t=>{let e;return t&&(li&&t instanceof li||xe(t.append)&&((e=rr(t))==="formdata"||e==="object"&&xe(t.toString)&&t.toString()==="[object FormData]"))},$a=Le("URLSearchParams"),[Ua,ka,Ba,ja]=["ReadableStream","Request","Response","Headers"].map(Le),Ma=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rt(t,e,{allOwnKeys:r=!1}={}){if(t===null||typeof t>"u")return;let n,i;if(typeof t!="object"&&(t=[t]),dt(t))for(n=0,i=t.length;n0;)if(i=r[n],e===i.toLowerCase())return i;return null}const rt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Fe,fi=t=>!gt(t)&&t!==rt;function Dr(){const{caseless:t,skipUndefined:e}=fi(this)&&this||{},r={},n=(i,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const o=t&&ci(r,s)||s;ir(r[o])&&ir(i)?r[o]=Dr(r[o],i):ir(i)?r[o]=Dr({},i):dt(i)?r[o]=i.slice():(!e||!gt(i))&&(r[o]=i)};for(let i=0,s=arguments.length;i(Rt(e,(i,s)=>{r&&xe(i)?Object.defineProperty(t,s,{value:ii(i,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,s,{value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),t),Da=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Ha=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),Object.defineProperty(t.prototype,"constructor",{value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},za=(t,e,r,n)=>{let i,s,o;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),s=i.length;s-- >0;)o=i[s],(!n||n(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=r!==!1&&Vr(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},qa=(t,e,r)=>{t=String(t),(r===void 0||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return n!==-1&&n===r},Wa=t=>{if(!t)return null;if(dt(t))return t;let e=t.length;if(!ai(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},Ga=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Vr(Uint8Array)),Ka=(t,e)=>{const n=(t&&t[tr]).call(t);let i;for(;(i=n.next())&&!i.done;){const s=i.value;e.call(t,s[0],s[1])}},Ya=(t,e)=>{let r;const n=[];for(;(r=t.exec(e))!==null;)n.push(r);return n},Ja=Le("HTMLFormElement"),Xa=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),hi=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Za=Le("RegExp"),pi=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};Rt(r,(i,s)=>{let o;(o=e(i,s,t))!==!1&&(n[s]=o||i)}),Object.defineProperties(t,n)},Qa=t=>{pi(t,(e,r)=>{if(xe(t)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=t[r];if(xe(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},eu=(t,e)=>{const r={},n=i=>{i.forEach(s=>{r[s]=!0})};return dt(t)?n(t):n(String(t).split(e)),r},tu=()=>{},ru=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function nu(t){return!!(t&&xe(t.append)&&t[si]==="FormData"&&t[tr])}const iu=t=>{const e=new Array(10),r=(n,i)=>{if(Ct(n)){if(e.indexOf(n)>=0)return;if(Ot(n))return n;if(!("toJSON"in n)){e[i]=n;const s=dt(n)?[]:{};return Rt(n,(o,a)=>{const l=r(o,i+1);!gt(l)&&(s[a]=l)}),e[i]=void 0,s}}return n};return r(t,0)},su=Le("AsyncFunction"),ou=t=>t&&(Ct(t)||xe(t))&&xe(t.then)&&xe(t.catch),di=((t,e)=>t?setImmediate:e?((r,n)=>(rt.addEventListener("message",({source:i,data:s})=>{i===rt&&s===r&&n.length&&n.shift()()},!1),i=>{n.push(i),rt.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",xe(rt.postMessage)),au=typeof queueMicrotask<"u"?queueMicrotask.bind(rt):typeof tt<"u"&&tt.nextTick||di;var P={isArray:dt,isArrayBuffer:oi,isBuffer:Ot,isFormData:_a,isArrayBufferView:va,isString:Ta,isNumber:ai,isBoolean:Na,isObject:Ct,isPlainObject:ir,isEmptyObject:Aa,isReadableStream:Ua,isRequest:ka,isResponse:Ba,isHeaders:ja,isUndefined:gt,isDate:Pa,isFile:Sa,isReactNativeBlob:Ia,isReactNative:Oa,isBlob:Ca,isRegExp:Za,isFunction:xe,isStream:Fa,isURLSearchParams:$a,isTypedArray:Ga,isFileList:Ra,forEach:Rt,merge:Dr,extend:Va,trim:Ma,stripBOM:Da,inherits:Ha,toFlatObject:za,kindOf:rr,kindOfTest:Le,endsWith:qa,toArray:Wa,forEachEntry:Ka,matchAll:Ya,isHTMLForm:Ja,hasOwnProperty:hi,hasOwnProp:hi,reduceDescriptors:pi,freezeMethods:Qa,toObjectSet:eu,toCamelCase:Xa,noop:tu,toFiniteNumber:ru,findKey:ci,global:rt,isContextDefined:fi,isSpecCompliantForm:nu,toJSONObject:iu,isAsyncFn:su,isThenable:ou,setImmediate:di,asap:au,isIterable:t=>t!=null&&xe(t[tr])},gi={},sr={};sr.byteLength=cu,sr.toByteArray=hu,sr.fromByteArray=gu;for(var ke=[],Ie=[],uu=typeof Uint8Array<"u"?Uint8Array:Array,Hr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mt=0,lu=Hr.length;mt0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function cu(t){var e=mi(t),r=e[0],n=e[1];return(r+n)*3/4-n}function fu(t,e,r){return(e+r)*3/4-r}function hu(t){var e,r=mi(t),n=r[0],i=r[1],s=new uu(fu(t,n,i)),o=0,a=i>0?n-4:n,l;for(l=0;l>16&255,s[o++]=e>>8&255,s[o++]=e&255;return i===2&&(e=Ie[t.charCodeAt(l)]<<2|Ie[t.charCodeAt(l+1)]>>4,s[o++]=e&255),i===1&&(e=Ie[t.charCodeAt(l)]<<10|Ie[t.charCodeAt(l+1)]<<4|Ie[t.charCodeAt(l+2)]>>2,s[o++]=e>>8&255,s[o++]=e&255),s}function pu(t){return ke[t>>18&63]+ke[t>>12&63]+ke[t>>6&63]+ke[t&63]}function du(t,e,r){for(var n,i=[],s=e;sa?a:o+s));return n===1?(e=t[r-1],i.push(ke[e>>2]+ke[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(ke[e>>10]+ke[e>>4&63]+ke[e<<2&63]+"=")),i.join("")}var zr={};zr.read=function(t,e,r,n,i){var s,o,a=i*8-n-1,l=(1<>1,u=-7,h=r?i-1:0,d=r?-1:1,y=t[e+h];for(h+=d,s=y&(1<<-u)-1,y>>=-u,u+=a;u>0;s=s*256+t[e+h],h+=d,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=n;u>0;o=o*256+t[e+h],h+=d,u-=8);if(s===0)s=1-c;else{if(s===l)return o?NaN:(y?-1:1)*(1/0);o=o+Math.pow(2,n),s=s-c}return(y?-1:1)*o*Math.pow(2,s-n)},zr.write=function(t,e,r,n,i,s){var o,a,l,c=s*8-i-1,u=(1<>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=n?0:s-1,g=n?1:-1,m=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=u):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+h>=1?e+=d/l:e+=d*Math.pow(2,1-h),e*l>=2&&(o++,l/=2),o+h>=u?(a=0,o=u):o+h>=1?(a=(e*l-1)*Math.pow(2,i),o=o+h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),o=0));i>=8;t[r+y]=a&255,y+=g,a/=256,i-=8);for(o=o<0;t[r+y]=o&255,y+=g,o/=256,c-=8);t[r+y-g]|=m*128};(function(t){const e=sr,r=zr,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=I,t.INSPECT_MAX_BYTES=50;const i=2147483647;t.kMaxLength=i;const{Uint8Array:s,ArrayBuffer:o,SharedArrayBuffer:a}=globalThis;u.TYPED_ARRAY_SUPPORT=l(),!u.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function l(){try{const w=new s(1),f={foo:function(){return 42}};return Object.setPrototypeOf(f,s.prototype),Object.setPrototypeOf(w,f),w.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function c(w){if(w>i)throw new RangeError('The value "'+w+'" is invalid for option "size"');const f=new s(w);return Object.setPrototypeOf(f,u.prototype),f}function u(w,f,p){if(typeof w=="number"){if(typeof f=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(w)}return h(w,f,p)}u.poolSize=8192;function h(w,f,p){if(typeof w=="string")return m(w,f);if(o.isView(w))return T(w);if(w==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w);if(je(w,o)||w&&je(w.buffer,o)||typeof a<"u"&&(je(w,a)||w&&je(w.buffer,a)))return E(w,f,p);if(typeof w=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const x=w.valueOf&&w.valueOf();if(x!=null&&x!==w)return u.from(x,f,p);const N=v(w);if(N)return N;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof w[Symbol.toPrimitive]=="function")return u.from(w[Symbol.toPrimitive]("string"),f,p);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w)}u.from=function(w,f,p){return h(w,f,p)},Object.setPrototypeOf(u.prototype,s.prototype),Object.setPrototypeOf(u,s);function d(w){if(typeof w!="number")throw new TypeError('"size" argument must be of type number');if(w<0)throw new RangeError('The value "'+w+'" is invalid for option "size"')}function y(w,f,p){return d(w),w<=0?c(w):f!==void 0?typeof p=="string"?c(w).fill(f,p):c(w).fill(f):c(w)}u.alloc=function(w,f,p){return y(w,f,p)};function g(w){return d(w),c(w<0?0:A(w)|0)}u.allocUnsafe=function(w){return g(w)},u.allocUnsafeSlow=function(w){return g(w)};function m(w,f){if((typeof f!="string"||f==="")&&(f="utf8"),!u.isEncoding(f))throw new TypeError("Unknown encoding: "+f);const p=F(w,f)|0;let x=c(p);const N=x.write(w,f);return N!==p&&(x=x.slice(0,N)),x}function b(w){const f=w.length<0?0:A(w.length)|0,p=c(f);for(let x=0;x=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return w|0}function I(w){return+w!=w&&(w=0),u.alloc(+w)}u.isBuffer=function(f){return f!=null&&f._isBuffer===!0&&f!==u.prototype},u.compare=function(f,p){if(je(f,s)&&(f=u.from(f,f.offset,f.byteLength)),je(p,s)&&(p=u.from(p,p.offset,p.byteLength)),!u.isBuffer(f)||!u.isBuffer(p))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(f===p)return 0;let x=f.length,N=p.length;for(let S=0,O=Math.min(x,N);SN.length?(u.isBuffer(O)||(O=u.from(O)),O.copy(N,S)):s.prototype.set.call(N,O,S);else if(u.isBuffer(O))O.copy(N,S);else throw new TypeError('"list" argument must be an Array of Buffers');S+=O.length}return N};function F(w,f){if(u.isBuffer(w))return w.length;if(o.isView(w)||je(w,o))return w.byteLength;if(typeof w!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof w);const p=w.length,x=arguments.length>2&&arguments[2]===!0;if(!x&&p===0)return 0;let N=!1;for(;;)switch(f){case"ascii":case"latin1":case"binary":return p;case"utf8":case"utf-8":return Gn(w).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p*2;case"hex":return p>>>1;case"base64":return oa(w).length;default:if(N)return x?-1:Gn(w).length;f=(""+f).toLowerCase(),N=!0}}u.byteLength=F;function L(w,f,p){let x=!1;if((f===void 0||f<0)&&(f=0),f>this.length||((p===void 0||p>this.length)&&(p=this.length),p<=0)||(p>>>=0,f>>>=0,p<=f))return"";for(w||(w="utf8");;)switch(w){case"hex":return ce(this,f,p);case"utf8":case"utf-8":return ae(this,f,p);case"ascii":return Xe(this,f,p);case"latin1":case"binary":return re(this,f,p);case"base64":return Y(this,f,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ze(this,f,p);default:if(x)throw new TypeError("Unknown encoding: "+w);w=(w+"").toLowerCase(),x=!0}}u.prototype._isBuffer=!0;function $(w,f,p){const x=w[f];w[f]=w[p],w[p]=x}u.prototype.swap16=function(){const f=this.length;if(f%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let p=0;pp&&(f+=" ... "),""},n&&(u.prototype[n]=u.prototype.inspect),u.prototype.compare=function(f,p,x,N,S){if(je(f,s)&&(f=u.from(f,f.offset,f.byteLength)),!u.isBuffer(f))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof f);if(p===void 0&&(p=0),x===void 0&&(x=f?f.length:0),N===void 0&&(N=0),S===void 0&&(S=this.length),p<0||x>f.length||N<0||S>this.length)throw new RangeError("out of range index");if(N>=S&&p>=x)return 0;if(N>=S)return-1;if(p>=x)return 1;if(p>>>=0,x>>>=0,N>>>=0,S>>>=0,this===f)return 0;let O=S-N,k=x-p;const J=Math.min(O,k),q=this.slice(N,S),X=f.slice(p,x);for(let V=0;V2147483647?p=2147483647:p<-2147483648&&(p=-2147483648),p=+p,Kn(p)&&(p=N?0:w.length-1),p<0&&(p=w.length+p),p>=w.length){if(N)return-1;p=w.length-1}else if(p<0)if(N)p=0;else return-1;if(typeof f=="string"&&(f=u.from(f,x)),u.isBuffer(f))return f.length===0?-1:j(w,f,p,x,N);if(typeof f=="number")return f=f&255,typeof s.prototype.indexOf=="function"?N?s.prototype.indexOf.call(w,f,p):s.prototype.lastIndexOf.call(w,f,p):j(w,[f],p,x,N);throw new TypeError("val must be string, number or Buffer")}function j(w,f,p,x,N){let S=1,O=w.length,k=f.length;if(x!==void 0&&(x=String(x).toLowerCase(),x==="ucs2"||x==="ucs-2"||x==="utf16le"||x==="utf-16le")){if(w.length<2||f.length<2)return-1;S=2,O/=2,k/=2,p/=2}function J(X,V){return S===1?X[V]:X.readUInt16BE(V*S)}let q;if(N){let X=-1;for(q=p;qO&&(p=O-k),q=p;q>=0;q--){let X=!0;for(let V=0;VN&&(x=N)):x=N;const S=f.length;x>S/2&&(x=S/2);let O;for(O=0;O>>0,isFinite(x)?(x=x>>>0,N===void 0&&(N="utf8")):(N=x,x=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const S=this.length-p;if((x===void 0||x>S)&&(x=S),f.length>0&&(x<0||p<0)||p>this.length)throw new RangeError("Attempt to write outside buffer bounds");N||(N="utf8");let O=!1;for(;;)switch(N){case"hex":return de(this,f,p,x);case"utf8":case"utf-8":return oe(this,f,p,x);case"ascii":case"latin1":case"binary":return R(this,f,p,x);case"base64":return le(this,f,p,x);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Se(this,f,p,x);default:if(O)throw new TypeError("Unknown encoding: "+N);N=(""+N).toLowerCase(),O=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Y(w,f,p){return f===0&&p===w.length?e.fromByteArray(w):e.fromByteArray(w.slice(f,p))}function ae(w,f,p){p=Math.min(w.length,p);const x=[];let N=f;for(;N239?4:S>223?3:S>191?2:1;if(N+k<=p){let J,q,X,V;switch(k){case 1:S<128&&(O=S);break;case 2:J=w[N+1],(J&192)===128&&(V=(S&31)<<6|J&63,V>127&&(O=V));break;case 3:J=w[N+1],q=w[N+2],(J&192)===128&&(q&192)===128&&(V=(S&15)<<12|(J&63)<<6|q&63,V>2047&&(V<55296||V>57343)&&(O=V));break;case 4:J=w[N+1],q=w[N+2],X=w[N+3],(J&192)===128&&(q&192)===128&&(X&192)===128&&(V=(S&15)<<18|(J&63)<<12|(q&63)<<6|X&63,V>65535&&V<1114112&&(O=V))}}O===null?(O=65533,k=1):O>65535&&(O-=65536,x.push(O>>>10&1023|55296),O=56320|O&1023),x.push(O),N+=k}return Be(x)}const K=4096;function Be(w){const f=w.length;if(f<=K)return String.fromCharCode.apply(String,w);let p="",x=0;for(;xx)&&(p=x);let N="";for(let S=f;Sx&&(f=x),p<0?(p+=x,p<0&&(p=0)):p>x&&(p=x),pp)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(f,p,x){f=f>>>0,p=p>>>0,x||D(f,p,this.length);let N=this[f],S=1,O=0;for(;++O>>0,p=p>>>0,x||D(f,p,this.length);let N=this[f+--p],S=1;for(;p>0&&(S*=256);)N+=this[f+--p]*S;return N},u.prototype.readUint8=u.prototype.readUInt8=function(f,p){return f=f>>>0,p||D(f,1,this.length),this[f]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(f,p){return f=f>>>0,p||D(f,2,this.length),this[f]|this[f+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(f,p){return f=f>>>0,p||D(f,2,this.length),this[f]<<8|this[f+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(f,p){return f=f>>>0,p||D(f,4,this.length),(this[f]|this[f+1]<<8|this[f+2]<<16)+this[f+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(f,p){return f=f>>>0,p||D(f,4,this.length),this[f]*16777216+(this[f+1]<<16|this[f+2]<<8|this[f+3])},u.prototype.readBigUInt64LE=Qe(function(f){f=f>>>0,It(f,"offset");const p=this[f],x=this[f+7];(p===void 0||x===void 0)&&Zt(f,this.length-8);const N=p+this[++f]*2**8+this[++f]*2**16+this[++f]*2**24,S=this[++f]+this[++f]*2**8+this[++f]*2**16+x*2**24;return BigInt(N)+(BigInt(S)<>>0,It(f,"offset");const p=this[f],x=this[f+7];(p===void 0||x===void 0)&&Zt(f,this.length-8);const N=p*2**24+this[++f]*2**16+this[++f]*2**8+this[++f],S=this[++f]*2**24+this[++f]*2**16+this[++f]*2**8+x;return(BigInt(N)<>>0,p=p>>>0,x||D(f,p,this.length);let N=this[f],S=1,O=0;for(;++O=S&&(N-=Math.pow(2,8*p)),N},u.prototype.readIntBE=function(f,p,x){f=f>>>0,p=p>>>0,x||D(f,p,this.length);let N=p,S=1,O=this[f+--N];for(;N>0&&(S*=256);)O+=this[f+--N]*S;return S*=128,O>=S&&(O-=Math.pow(2,8*p)),O},u.prototype.readInt8=function(f,p){return f=f>>>0,p||D(f,1,this.length),this[f]&128?(255-this[f]+1)*-1:this[f]},u.prototype.readInt16LE=function(f,p){f=f>>>0,p||D(f,2,this.length);const x=this[f]|this[f+1]<<8;return x&32768?x|4294901760:x},u.prototype.readInt16BE=function(f,p){f=f>>>0,p||D(f,2,this.length);const x=this[f+1]|this[f]<<8;return x&32768?x|4294901760:x},u.prototype.readInt32LE=function(f,p){return f=f>>>0,p||D(f,4,this.length),this[f]|this[f+1]<<8|this[f+2]<<16|this[f+3]<<24},u.prototype.readInt32BE=function(f,p){return f=f>>>0,p||D(f,4,this.length),this[f]<<24|this[f+1]<<16|this[f+2]<<8|this[f+3]},u.prototype.readBigInt64LE=Qe(function(f){f=f>>>0,It(f,"offset");const p=this[f],x=this[f+7];(p===void 0||x===void 0)&&Zt(f,this.length-8);const N=this[f+4]+this[f+5]*2**8+this[f+6]*2**16+(x<<24);return(BigInt(N)<>>0,It(f,"offset");const p=this[f],x=this[f+7];(p===void 0||x===void 0)&&Zt(f,this.length-8);const N=(p<<24)+this[++f]*2**16+this[++f]*2**8+this[++f];return(BigInt(N)<>>0,p||D(f,4,this.length),r.read(this,f,!0,23,4)},u.prototype.readFloatBE=function(f,p){return f=f>>>0,p||D(f,4,this.length),r.read(this,f,!1,23,4)},u.prototype.readDoubleLE=function(f,p){return f=f>>>0,p||D(f,8,this.length),r.read(this,f,!0,52,8)},u.prototype.readDoubleBE=function(f,p){return f=f>>>0,p||D(f,8,this.length),r.read(this,f,!1,52,8)};function z(w,f,p,x,N,S){if(!u.isBuffer(w))throw new TypeError('"buffer" argument must be a Buffer instance');if(f>N||fw.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(f,p,x,N){if(f=+f,p=p>>>0,x=x>>>0,!N){const k=Math.pow(2,8*x)-1;z(this,f,p,x,k,0)}let S=1,O=0;for(this[p]=f&255;++O>>0,x=x>>>0,!N){const k=Math.pow(2,8*x)-1;z(this,f,p,x,k,0)}let S=x-1,O=1;for(this[p+S]=f&255;--S>=0&&(O*=256);)this[p+S]=f/O&255;return p+x},u.prototype.writeUint8=u.prototype.writeUInt8=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,1,255,0),this[p]=f&255,p+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,2,65535,0),this[p]=f&255,this[p+1]=f>>>8,p+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,2,65535,0),this[p]=f>>>8,this[p+1]=f&255,p+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,4,4294967295,0),this[p+3]=f>>>24,this[p+2]=f>>>16,this[p+1]=f>>>8,this[p]=f&255,p+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,4,4294967295,0),this[p]=f>>>24,this[p+1]=f>>>16,this[p+2]=f>>>8,this[p+3]=f&255,p+4};function _r(w,f,p,x,N){sa(f,x,N,w,p,7);let S=Number(f&BigInt(4294967295));w[p++]=S,S=S>>8,w[p++]=S,S=S>>8,w[p++]=S,S=S>>8,w[p++]=S;let O=Number(f>>BigInt(32)&BigInt(4294967295));return w[p++]=O,O=O>>8,w[p++]=O,O=O>>8,w[p++]=O,O=O>>8,w[p++]=O,p}function ea(w,f,p,x,N){sa(f,x,N,w,p,7);let S=Number(f&BigInt(4294967295));w[p+7]=S,S=S>>8,w[p+6]=S,S=S>>8,w[p+5]=S,S=S>>8,w[p+4]=S;let O=Number(f>>BigInt(32)&BigInt(4294967295));return w[p+3]=O,O=O>>8,w[p+2]=O,O=O>>8,w[p+1]=O,O=O>>8,w[p]=O,p+8}u.prototype.writeBigUInt64LE=Qe(function(f,p=0){return _r(this,f,p,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=Qe(function(f,p=0){return ea(this,f,p,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(f,p,x,N){if(f=+f,p=p>>>0,!N){const J=Math.pow(2,8*x-1);z(this,f,p,x,J-1,-J)}let S=0,O=1,k=0;for(this[p]=f&255;++S>0)-k&255;return p+x},u.prototype.writeIntBE=function(f,p,x,N){if(f=+f,p=p>>>0,!N){const J=Math.pow(2,8*x-1);z(this,f,p,x,J-1,-J)}let S=x-1,O=1,k=0;for(this[p+S]=f&255;--S>=0&&(O*=256);)f<0&&k===0&&this[p+S+1]!==0&&(k=1),this[p+S]=(f/O>>0)-k&255;return p+x},u.prototype.writeInt8=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,1,127,-128),f<0&&(f=255+f+1),this[p]=f&255,p+1},u.prototype.writeInt16LE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,2,32767,-32768),this[p]=f&255,this[p+1]=f>>>8,p+2},u.prototype.writeInt16BE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,2,32767,-32768),this[p]=f>>>8,this[p+1]=f&255,p+2},u.prototype.writeInt32LE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,4,2147483647,-2147483648),this[p]=f&255,this[p+1]=f>>>8,this[p+2]=f>>>16,this[p+3]=f>>>24,p+4},u.prototype.writeInt32BE=function(f,p,x){return f=+f,p=p>>>0,x||z(this,f,p,4,2147483647,-2147483648),f<0&&(f=4294967295+f+1),this[p]=f>>>24,this[p+1]=f>>>16,this[p+2]=f>>>8,this[p+3]=f&255,p+4},u.prototype.writeBigInt64LE=Qe(function(f,p=0){return _r(this,f,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=Qe(function(f,p=0){return ea(this,f,p,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ta(w,f,p,x,N,S){if(p+x>w.length)throw new RangeError("Index out of range");if(p<0)throw new RangeError("Index out of range")}function ra(w,f,p,x,N){return f=+f,p=p>>>0,N||ta(w,f,p,4),r.write(w,f,p,x,23,4),p+4}u.prototype.writeFloatLE=function(f,p,x){return ra(this,f,p,!0,x)},u.prototype.writeFloatBE=function(f,p,x){return ra(this,f,p,!1,x)};function na(w,f,p,x,N){return f=+f,p=p>>>0,N||ta(w,f,p,8),r.write(w,f,p,x,52,8),p+8}u.prototype.writeDoubleLE=function(f,p,x){return na(this,f,p,!0,x)},u.prototype.writeDoubleBE=function(f,p,x){return na(this,f,p,!1,x)},u.prototype.copy=function(f,p,x,N){if(!u.isBuffer(f))throw new TypeError("argument should be a Buffer");if(x||(x=0),!N&&N!==0&&(N=this.length),p>=f.length&&(p=f.length),p||(p=0),N>0&&N=this.length)throw new RangeError("Index out of range");if(N<0)throw new RangeError("sourceEnd out of bounds");N>this.length&&(N=this.length),f.length-p>>0,x=x===void 0?this.length:x>>>0,f||(f=0);let S;if(typeof f=="number")for(S=p;S2**32?N=ia(String(p)):typeof p=="bigint"&&(N=String(p),(p>BigInt(2)**BigInt(32)||p<-(BigInt(2)**BigInt(32)))&&(N=ia(N)),N+="n"),x+=` It must be ${f}. Received ${N}`,x},RangeError);function ia(w){let f="",p=w.length;const x=w[0]==="-"?1:0;for(;p>=x+4;p-=3)f=`_${w.slice(p-3,p)}${f}`;return`${w.slice(0,p)}${f}`}function a0(w,f,p){It(f,"offset"),(w[f]===void 0||w[f+p]===void 0)&&Zt(f,w.length-(p+1))}function sa(w,f,p,x,N,S){if(w>p||w= 0${O} and < 2${O} ** ${(S+1)*8}${O}`:k=`>= -(2${O} ** ${(S+1)*8-1}${O}) and < 2 ** ${(S+1)*8-1}${O}`,new St.ERR_OUT_OF_RANGE("value",k,w)}a0(x,N,S)}function It(w,f){if(typeof w!="number")throw new St.ERR_INVALID_ARG_TYPE(f,"number",w)}function Zt(w,f,p){throw Math.floor(w)!==w?(It(w,p),new St.ERR_OUT_OF_RANGE("offset","an integer",w)):f<0?new St.ERR_BUFFER_OUT_OF_BOUNDS:new St.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${f}`,w)}const u0=/[^+/0-9A-Za-z-_]/g;function l0(w){if(w=w.split("=")[0],w=w.trim().replace(u0,""),w.length<2)return"";for(;w.length%4!==0;)w=w+"=";return w}function Gn(w,f){f=f||1/0;let p;const x=w.length;let N=null;const S=[];for(let O=0;O55295&&p<57344){if(!N){if(p>56319){(f-=3)>-1&&S.push(239,191,189);continue}else if(O+1===x){(f-=3)>-1&&S.push(239,191,189);continue}N=p;continue}if(p<56320){(f-=3)>-1&&S.push(239,191,189),N=p;continue}p=(N-55296<<10|p-56320)+65536}else N&&(f-=3)>-1&&S.push(239,191,189);if(N=null,p<128){if((f-=1)<0)break;S.push(p)}else if(p<2048){if((f-=2)<0)break;S.push(p>>6|192,p&63|128)}else if(p<65536){if((f-=3)<0)break;S.push(p>>12|224,p>>6&63|128,p&63|128)}else if(p<1114112){if((f-=4)<0)break;S.push(p>>18|240,p>>12&63|128,p>>6&63|128,p&63|128)}else throw new Error("Invalid code point")}return S}function c0(w){const f=[];for(let p=0;p>8,N=p%256,S.push(N),S.push(x);return S}function oa(w){return e.toByteArray(l0(w))}function $r(w,f,p,x){let N;for(N=0;N=f.length||N>=w.length);++N)f[N+p]=w[N];return N}function je(w,f){return w instanceof f||w!=null&&w.constructor!=null&&w.constructor.name!=null&&w.constructor.name===f.name}function Kn(w){return w!==w}const h0=(function(){const w="0123456789abcdef",f=new Array(256);for(let p=0;p<16;++p){const x=p*16;for(let N=0;N<16;++N)f[x+N]=w[p]+w[N]}return f})();function Qe(w){return typeof BigInt>"u"?p0:w}function p0(){throw new Error("BigInt not supported")}})(gi);const yi=gi.Buffer;let U=class aa extends Error{static from(e,r,n,i,s,o){const a=new aa(e.message,r||e.code,n,i,s);return a.cause=e,a.name=e.name,e.status!=null&&a.status==null&&(a.status=e.status),o&&Object.assign(a,o),a}constructor(e,r,n,i,s){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s,this.status=s.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.status}}};U.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",U.ERR_BAD_OPTION="ERR_BAD_OPTION",U.ECONNABORTED="ECONNABORTED",U.ETIMEDOUT="ETIMEDOUT",U.ERR_NETWORK="ERR_NETWORK",U.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",U.ERR_DEPRECATED="ERR_DEPRECATED",U.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",U.ERR_BAD_REQUEST="ERR_BAD_REQUEST",U.ERR_CANCELED="ERR_CANCELED",U.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",U.ERR_INVALID_URL="ERR_INVALID_URL";var mu=null;function qr(t){return P.isPlainObject(t)||P.isArray(t)}function bi(t){return P.endsWith(t,"[]")?t.slice(0,-2):t}function Wr(t,e,r){return t?t.concat(e).map(function(i,s){return i=bi(i),!r&&s?"["+i+"]":i}).join(r?".":""):e}function yu(t){return P.isArray(t)&&!t.some(qr)}const bu=P.toFlatObject(P,{},null,function(e){return/^is[A-Z]/.test(e)});function or(t,e,r){if(!P.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=P.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,b){return!P.isUndefined(b[m])});const n=r.metaTokens,i=r.visitor||u,s=r.dots,o=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&P.isSpecCompliantForm(e);if(!P.isFunction(i))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(P.isDate(g))return g.toISOString();if(P.isBoolean(g))return g.toString();if(!l&&P.isBlob(g))throw new U("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(g)||P.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):yi.from(g):g}function u(g,m,b){let T=g;if(P.isReactNative(e)&&P.isReactNativeBlob(g))return e.append(Wr(b,m,s),c(g)),!1;if(g&&!b&&typeof g=="object"){if(P.endsWith(m,"{}"))m=n?m:m.slice(0,-2),g=JSON.stringify(g);else if(P.isArray(g)&&yu(g)||(P.isFileList(g)||P.endsWith(m,"[]"))&&(T=P.toArray(g)))return m=bi(m),T.forEach(function(v,A){!(P.isUndefined(v)||v===null)&&e.append(o===!0?Wr([m],A,s):o===null?m:m+"[]",c(v))}),!1}return qr(g)?!0:(e.append(Wr(b,m,s),c(g)),!1)}const h=[],d=Object.assign(bu,{defaultVisitor:u,convertValue:c,isVisitable:qr});function y(g,m){if(!P.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+m.join("."));h.push(g),P.forEach(g,function(T,E){(!(P.isUndefined(T)||T===null)&&i.call(e,T,P.isString(E)?E.trim():E,m,d))===!0&&y(T,m?m.concat(E):[E])}),h.pop()}}if(!P.isObject(t))throw new TypeError("data must be an object");return y(t),e}function wi(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function Gr(t,e){this._pairs=[],t&&or(t,this,e)}const xi=Gr.prototype;xi.append=function(e,r){this._pairs.push([e,r])},xi.toString=function(e){const r=e?function(n){return e.call(this,n,wi)}:wi;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function wu(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ei(t,e,r){if(!e)return t;const n=r&&r.encode||wu,i=P.isFunction(r)?{serialize:r}:r,s=i&&i.serialize;let o;if(s?o=s(e,i):o=P.isURLSearchParams(e)?e.toString():new Gr(e,i).toString(n),o){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class vi{constructor(){this.handlers=[]}use(e,r,n){return this.handlers.push({fulfilled:e,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){P.forEach(this.handlers,function(n){n!==null&&e(n)})}}var Kr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},xu=typeof URLSearchParams<"u"?URLSearchParams:Gr,Eu=typeof FormData<"u"?FormData:null,vu=typeof Blob<"u"?Blob:null,Tu={isBrowser:!0,classes:{URLSearchParams:xu,FormData:Eu,Blob:vu},protocols:["http","https","file","blob","url","data"]};const Yr=typeof window<"u"&&typeof document<"u",Jr=typeof navigator=="object"&&navigator||void 0,Nu=Yr&&(!Jr||["ReactNative","NativeScript","NS"].indexOf(Jr.product)<0),Au=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Pu=Yr&&window.location.href||"http://localhost";var Su=Object.freeze({__proto__:null,hasBrowserEnv:Yr,hasStandardBrowserEnv:Nu,hasStandardBrowserWebWorkerEnv:Au,navigator:Jr,origin:Pu}),fe={...Su,...Tu};function Iu(t,e){return or(t,new fe.classes.URLSearchParams,{visitor:function(r,n,i,s){return fe.isNode&&P.isBuffer(r)?(this.append(n,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...e})}function Ou(t){return P.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Cu(t){const e={},r=Object.keys(t);let n;const i=r.length;let s;for(n=0;n=r.length;return o=!o&&P.isArray(i)?i.length:o,l?(P.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a):((!i[o]||!P.isObject(i[o]))&&(i[o]=[]),e(r,n,i[o],s)&&P.isArray(i[o])&&(i[o]=Cu(i[o])),!a)}if(P.isFormData(t)&&P.isFunction(t.entries)){const r={};return P.forEachEntry(t,(n,i)=>{e(Ou(n),i,r,0)}),r}return null}function Ru(t,e,r){if(P.isString(t))try{return(e||JSON.parse)(t),P.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}const Ft={transitional:Kr,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,s=P.isObject(e);if(s&&P.isHTMLForm(e)&&(e=new FormData(e)),P.isFormData(e))return i?JSON.stringify(Ti(e)):e;if(P.isArrayBuffer(e)||P.isBuffer(e)||P.isStream(e)||P.isFile(e)||P.isBlob(e)||P.isReadableStream(e))return e;if(P.isArrayBufferView(e))return e.buffer;if(P.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Iu(e,this.formSerializer).toString();if((a=P.isFileList(e))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return or(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return s||i?(r.setContentType("application/json",!1),Ru(e)):e}],transformResponse:[function(e){const r=this.transitional||Ft.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(P.isResponse(e)||P.isReadableStream(e))return e;if(e&&P.isString(e)&&(n&&!this.responseType||i)){const o=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(e,this.parseReviver)}catch(a){if(o)throw a.name==="SyntaxError"?U.from(a,U.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fe.classes.FormData,Blob:fe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch"],t=>{Ft.headers[t]={}});const Fu=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var Lu=t=>{const e={};let r,n,i;return t&&t.split(` +`).forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||e[r]&&Fu[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)}),e};const Ni=Symbol("internals");function Lt(t){return t&&String(t).trim().toLowerCase()}function ar(t){return t===!1||t==null?t:P.isArray(t)?t.map(ar):String(t)}function _u(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}const $u=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Xr(t,e,r,n,i){if(P.isFunction(n))return n.call(this,e,r);if(i&&(e=r),!!P.isString(e)){if(P.isString(n))return e.indexOf(n)!==-1;if(P.isRegExp(n))return n.test(e)}}function Uu(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function ku(t,e){const r=P.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(i,s,o){return this[n].call(this,e,i,s,o)},configurable:!0})})}let Ee=class{constructor(e){e&&this.set(e)}set(e,r,n){const i=this;function s(a,l,c){const u=Lt(l);if(!u)throw new Error("header name must be a non-empty string");const h=P.findKey(i,u);(!h||i[h]===void 0||c===!0||c===void 0&&i[h]!==!1)&&(i[h||l]=ar(a))}const o=(a,l)=>P.forEach(a,(c,u)=>s(c,u,l));if(P.isPlainObject(e)||e instanceof this.constructor)o(e,r);else if(P.isString(e)&&(e=e.trim())&&!$u(e))o(Lu(e),r);else if(P.isObject(e)&&P.isIterable(e)){let a={},l,c;for(const u of e){if(!P.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?P.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}o(a,r)}else e!=null&&s(r,e,n);return this}get(e,r){if(e=Lt(e),e){const n=P.findKey(this,e);if(n){const i=this[n];if(!r)return i;if(r===!0)return _u(i);if(P.isFunction(r))return r.call(this,i,n);if(P.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=Lt(e),e){const n=P.findKey(this,e);return!!(n&&this[n]!==void 0&&(!r||Xr(this,this[n],n,r)))}return!1}delete(e,r){const n=this;let i=!1;function s(o){if(o=Lt(o),o){const a=P.findKey(n,o);a&&(!r||Xr(n,n[a],a,r))&&(delete n[a],i=!0)}}return P.isArray(e)?e.forEach(s):s(e),i}clear(e){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const s=r[n];(!e||Xr(this,this[s],s,e,!0))&&(delete this[s],i=!0)}return i}normalize(e){const r=this,n={};return P.forEach(this,(i,s)=>{const o=P.findKey(n,s);if(o){r[o]=ar(i),delete r[s];return}const a=e?Uu(s):String(s).trim();a!==s&&delete r[s],r[a]=ar(i),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return P.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=e&&P.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(i=>n.set(i)),n}static accessor(e){const n=(this[Ni]=this[Ni]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=Lt(o);n[a]||(ku(i,o),n[a]=!0)}return P.isArray(e)?e.forEach(s):s(e),this}};Ee.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),P.reduceDescriptors(Ee.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}}),P.freezeMethods(Ee);function Zr(t,e){const r=this||Ft,n=e||r,i=Ee.from(n.headers);let s=n.data;return P.forEach(t,function(a){s=a.call(r,s,i.normalize(),e?e.status:void 0)}),i.normalize(),s}function Ai(t){return!!(t&&t.__CANCEL__)}let _t=class extends U{constructor(e,r,n){super(e??"canceled",U.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}};function Pi(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new U("Request failed with status code "+r.status,[U.ERR_BAD_REQUEST,U.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Bu(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function ju(t,e){t=t||10;const r=new Array(t),n=new Array(t);let i=0,s=0,o;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=n[s];o||(o=c),r[i]=l,n[i]=c;let h=s,d=0;for(;h!==i;)d+=r[h++],h=h%t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),c-o{r=u,i=null,s&&(clearTimeout(s),s=null),t(...c)};return[(...c)=>{const u=Date.now(),h=u-r;h>=n?o(c,u):(i=c,s||(s=setTimeout(()=>{s=null,o(i)},n-h)))},()=>i&&o(i)]}const ur=(t,e,r=3)=>{let n=0;const i=ju(50,250);return Mu(s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,l=o-n,c=i(l),u=o<=a;n=o;const h={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-o)/c:void 0,event:s,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(h)},r)},Si=(t,e)=>{const r=t!=null;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},Ii=t=>(...e)=>P.asap(()=>t(...e));var Vu=fe.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,fe.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(fe.origin),fe.navigator&&/(msie|trident)/i.test(fe.navigator.userAgent)):()=>!0,Du=fe.hasStandardBrowserEnv?{write(t,e,r,n,i,s,o){if(typeof document>"u")return;const a=[`${t}=${encodeURIComponent(e)}`];P.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),P.isString(n)&&a.push(`path=${n}`),P.isString(i)&&a.push(`domain=${i}`),s===!0&&a.push("secure"),P.isString(o)&&a.push(`SameSite=${o}`),document.cookie=a.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Hu(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function zu(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Oi(t,e,r){let n=!Hu(e);return t&&(n||r==!1)?zu(t,e):e}const Ci=t=>t instanceof Ee?{...t}:t;function nt(t,e){e=e||{};const r={};function n(c,u,h,d){return P.isPlainObject(c)&&P.isPlainObject(u)?P.merge.call({caseless:d},c,u):P.isPlainObject(u)?P.merge({},u):P.isArray(u)?u.slice():u}function i(c,u,h,d){if(P.isUndefined(u)){if(!P.isUndefined(c))return n(void 0,c,h,d)}else return n(c,u,h,d)}function s(c,u){if(!P.isUndefined(u))return n(void 0,u)}function o(c,u){if(P.isUndefined(u)){if(!P.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function a(c,u,h){if(h in e)return n(c,u);if(h in t)return n(void 0,c)}const l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(c,u,h)=>i(Ci(c),Ci(u),h,!0)};return P.forEach(Object.keys({...t,...e}),function(u){if(u==="__proto__"||u==="constructor"||u==="prototype")return;const h=P.hasOwnProp(l,u)?l[u]:i,d=h(t[u],e[u],u);P.isUndefined(d)&&h!==a||(r[u]=d)}),r}var Ri=t=>{const e=nt({},t);let{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:s,headers:o,auth:a}=e;if(e.headers=o=Ee.from(o),e.url=Ei(Oi(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),P.isFormData(r)){if(fe.hasStandardBrowserEnv||fe.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(P.isFunction(r.getHeaders)){const l=r.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([u,h])=>{c.includes(u.toLowerCase())&&o.set(u,h)})}}if(fe.hasStandardBrowserEnv&&(n&&P.isFunction(n)&&(n=n(e)),n||n!==!1&&Vu(e.url))){const l=i&&s&&Du.read(s);l&&o.set(i,l)}return e},qu=typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(r,n){const i=Ri(t);let s=i.data;const o=Ee.from(i.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=i,u,h,d,y,g;function m(){y&&y(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(i.method.toUpperCase(),i.url,!0),b.timeout=i.timeout;function T(){if(!b)return;const v=Ee.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),I={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:v,config:t,request:b};Pi(function(L){r(L),m()},function(L){n(L),m()},I),b=null}"onloadend"in b?b.onloadend=T:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(T)},b.onabort=function(){b&&(n(new U("Request aborted",U.ECONNABORTED,t,b)),b=null)},b.onerror=function(A){const I=A&&A.message?A.message:"Network Error",F=new U(I,U.ERR_NETWORK,t,b);F.event=A||null,n(F),b=null},b.ontimeout=function(){let A=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const I=i.transitional||Kr;i.timeoutErrorMessage&&(A=i.timeoutErrorMessage),n(new U(A,I.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,t,b)),b=null},s===void 0&&o.setContentType(null),"setRequestHeader"in b&&P.forEach(o.toJSON(),function(A,I){b.setRequestHeader(I,A)}),P.isUndefined(i.withCredentials)||(b.withCredentials=!!i.withCredentials),a&&a!=="json"&&(b.responseType=i.responseType),c&&([d,g]=ur(c,!0),b.addEventListener("progress",d)),l&&b.upload&&([h,y]=ur(l),b.upload.addEventListener("progress",h),b.upload.addEventListener("loadend",y)),(i.cancelToken||i.signal)&&(u=v=>{b&&(n(!v||v.type?new _t(null,t,b):v),b.abort(),b=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const E=Bu(i.url);if(E&&fe.protocols.indexOf(E)===-1){n(new U("Unsupported protocol "+E+":",U.ERR_BAD_REQUEST,t));return}b.send(s||null)})};const Wu=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let n=new AbortController,i;const s=function(c){if(!i){i=!0,a();const u=c instanceof Error?c:this.reason;n.abort(u instanceof U?u:new _t(u instanceof Error?u.message:u))}};let o=e&&setTimeout(()=>{o=null,s(new U(`timeout of ${e}ms exceeded`,U.ETIMEDOUT))},e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),t=null)};t.forEach(c=>c.addEventListener("abort",s));const{signal:l}=n;return l.unsubscribe=()=>P.asap(a),l}},Gu=function*(t,e){let r=t.byteLength;if(r{const i=Ku(t,e);let s=0,o,a=l=>{o||(o=!0,n&&n(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await i.next();if(c){a(),l.close();return}let h=u.byteLength;if(r){let d=s+=h;r(d)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),i.return()}},{highWaterMark:2})},Li=64*1024,{isFunction:lr}=P,Ju=(({Request:t,Response:e})=>({Request:t,Response:e}))(P.global),{ReadableStream:_i,TextEncoder:$i}=P.global,Ui=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Xu=t=>{t=P.merge.call({skipUndefined:!0},Ju,t);const{fetch:e,Request:r,Response:n}=t,i=e?lr(e):typeof fetch=="function",s=lr(r),o=lr(n);if(!i)return!1;const a=i&&lr(_i),l=i&&(typeof $i=="function"?(g=>m=>g.encode(m))(new $i):async g=>new Uint8Array(await new r(g).arrayBuffer())),c=s&&a&&Ui(()=>{let g=!1;const m=new r(fe.origin,{body:new _i,method:"POST",get duplex(){return g=!0,"half"}}).headers.has("Content-Type");return g&&!m}),u=o&&a&&Ui(()=>P.isReadableStream(new n("").body)),h={stream:u&&(g=>g.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!h[g]&&(h[g]=(m,b)=>{let T=m&&m[g];if(T)return T.call(m);throw new U(`Response type '${g}' is not supported`,U.ERR_NOT_SUPPORT,b)})});const d=async g=>{if(g==null)return 0;if(P.isBlob(g))return g.size;if(P.isSpecCompliantForm(g))return(await new r(fe.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(P.isArrayBufferView(g)||P.isArrayBuffer(g))return g.byteLength;if(P.isURLSearchParams(g)&&(g=g+""),P.isString(g))return(await l(g)).byteLength},y=async(g,m)=>{const b=P.toFiniteNumber(g.getContentLength());return b??d(m)};return async g=>{let{url:m,method:b,data:T,signal:E,cancelToken:v,timeout:A,onDownloadProgress:I,onUploadProgress:F,responseType:L,headers:$,withCredentials:_="same-origin",fetchOptions:j}=Ri(g),de=e||fetch;L=L?(L+"").toLowerCase():"text";let oe=Wu([E,v&&v.toAbortSignal()],A),R=null;const le=oe&&oe.unsubscribe&&(()=>{oe.unsubscribe()});let Se;try{if(F&&c&&b!=="get"&&b!=="head"&&(Se=await y($,T))!==0){let re=new r(m,{method:"POST",body:T,duplex:"half"}),ce;if(P.isFormData(T)&&(ce=re.headers.get("content-type"))&&$.setContentType(ce),re.body){const[Ze,D]=Si(Se,ur(Ii(F)));T=Fi(re.body,Li,Ze,D)}}P.isString(_)||(_=_?"include":"omit");const Y=s&&"credentials"in r.prototype,ae={...j,signal:oe,method:b.toUpperCase(),headers:$.normalize().toJSON(),body:T,duplex:"half",credentials:Y?_:void 0};R=s&&new r(m,ae);let K=await(s?de(R,j):de(m,ae));const Be=u&&(L==="stream"||L==="response");if(u&&(I||Be&&le)){const re={};["status","statusText","headers"].forEach(z=>{re[z]=K[z]});const ce=P.toFiniteNumber(K.headers.get("content-length")),[Ze,D]=I&&Si(ce,ur(Ii(I),!0))||[];K=new n(Fi(K.body,Li,Ze,()=>{D&&D(),le&&le()}),re)}L=L||"text";let Xe=await h[P.findKey(h,L)||"text"](K,g);return!Be&&le&&le(),await new Promise((re,ce)=>{Pi(re,ce,{data:Xe,headers:Ee.from(K.headers),status:K.status,statusText:K.statusText,config:g,request:R})})}catch(Y){throw le&&le(),Y&&Y.name==="TypeError"&&/Load failed|fetch/i.test(Y.message)?Object.assign(new U("Network Error",U.ERR_NETWORK,g,R,Y&&Y.response),{cause:Y.cause||Y}):U.from(Y,Y&&Y.code,g,R,Y&&Y.response)}}},Zu=new Map,ki=t=>{let e=t&&t.env||{};const{fetch:r,Request:n,Response:i}=e,s=[n,i,r];let o=s.length,a=o,l,c,u=Zu;for(;a--;)l=s[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:Xu(e)),u=c;return c};ki();const Qr={http:mu,xhr:qu,fetch:{get:ki}};P.forEach(Qr,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Bi=t=>`- ${t}`,Qu=t=>P.isFunction(t)||t===null||t===!1;function el(t,e){t=P.isArray(t)?t:[t];const{length:r}=t;let n,i;const s={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=r?o.length>1?`since : +`+o.map(Bi).join(` +`):" "+Bi(o[0]):"as no adapter specified";throw new U("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i}var ji={getAdapter:el,adapters:Qr};function en(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new _t(null,t)}function Mi(t){return en(t),t.headers=Ee.from(t.headers),t.data=Zr.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),ji.getAdapter(t.adapter||Ft.adapter,t)(t).then(function(n){return en(t),n.data=Zr.call(t,t.transformResponse,n),n.headers=Ee.from(n.headers),n},function(n){return Ai(n)||(en(t),n&&n.response&&(n.response.data=Zr.call(t,t.transformResponse,n.response),n.response.headers=Ee.from(n.response.headers))),Promise.reject(n)})}const Vi="1.13.6",cr={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{cr[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const Di={};cr.transitional=function(e,r,n){function i(s,o){return"[Axios v"+Vi+"] Transitional option '"+s+"'"+o+(n?". "+n:"")}return(s,o,a)=>{if(e===!1)throw new U(i(o," has been removed"+(r?" in "+r:"")),U.ERR_DEPRECATED);return r&&!Di[o]&&(Di[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,o,a):!0}},cr.spelling=function(e){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function tl(t,e,r){if(typeof t!="object")throw new U("options must be an object",U.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let i=n.length;for(;i-- >0;){const s=n[i],o=e[s];if(o){const a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new U("option "+s+" must be "+l,U.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new U("Unknown option "+s,U.ERR_BAD_OPTION)}}var fr={assertOptions:tl,validators:cr};const Oe=fr.validators;let it=class{constructor(e){this.defaults=e||{},this.interceptors={request:new vi,response:new vi}}async request(e,r){try{return await this._request(e,r)}catch(n){if(n instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{n.stack?s&&!String(n.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(n.stack+=` +`+s):n.stack=s}catch{}}throw n}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=nt(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:s}=r;n!==void 0&&fr.assertOptions(n,{silentJSONParsing:Oe.transitional(Oe.boolean),forcedJSONParsing:Oe.transitional(Oe.boolean),clarifyTimeoutError:Oe.transitional(Oe.boolean),legacyInterceptorReqResOrdering:Oe.transitional(Oe.boolean)},!1),i!=null&&(P.isFunction(i)?r.paramsSerializer={serialize:i}:fr.assertOptions(i,{encode:Oe.function,serialize:Oe.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),fr.assertOptions(r,{baseUrl:Oe.spelling("baseURL"),withXsrfToken:Oe.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=s&&P.merge(s.common,s[r.method]);s&&P.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),r.headers=Ee.concat(o,s);const a=[];let l=!0;this.interceptors.request.forEach(function(m){if(typeof m.runWhen=="function"&&m.runWhen(r)===!1)return;l=l&&m.synchronous;const b=r.transitional||Kr;b&&b.legacyInterceptorReqResOrdering?a.unshift(m.fulfilled,m.rejected):a.push(m.fulfilled,m.rejected)});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,h=0,d;if(!l){const g=[Mi.bind(this),void 0];for(g.unshift(...a),g.push(...c),d=g.length,u=Promise.resolve(r);h{if(!n._listeners)return;let s=n._listeners.length;for(;s-- >0;)n._listeners[s](i);n._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{n.subscribe(a),s=a}).then(i);return o.cancel=function(){n.unsubscribe(s)},o},e(function(s,o,a){n.reason||(n.reason=new _t(s,o,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const e=new AbortController,r=n=>{e.abort(n)};return this.subscribe(r),e.signal.unsubscribe=()=>this.unsubscribe(r),e.signal}static source(){let e;return{token:new ua(function(i){e=i}),cancel:e}}};function nl(t){return function(r){return t.apply(null,r)}}function il(t){return P.isObject(t)&&t.isAxiosError===!0}const tn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(tn).forEach(([t,e])=>{tn[e]=t});function Hi(t){const e=new it(t),r=ii(it.prototype.request,e);return P.extend(r,it.prototype,e,{allOwnKeys:!0}),P.extend(r,e,null,{allOwnKeys:!0}),r.create=function(i){return Hi(nt(t,i))},r}const Q=Hi(Ft);Q.Axios=it,Q.CanceledError=_t,Q.CancelToken=rl,Q.isCancel=Ai,Q.VERSION=Vi,Q.toFormData=or,Q.AxiosError=U,Q.Cancel=Q.CanceledError,Q.all=function(e){return Promise.all(e)},Q.spread=nl,Q.isAxiosError=il,Q.mergeConfig=nt,Q.AxiosHeaders=Ee,Q.formToJSON=t=>Ti(P.isHTMLForm(t)?new FormData(t):t),Q.getAdapter=ji.getAdapter,Q.HttpStatusCode=tn,Q.default=Q;const{Axios:m0,AxiosError:y0,CanceledError:b0,isCancel:w0,CancelToken:x0,VERSION:E0,all:v0,Cancel:T0,isAxiosError:N0,spread:A0,toFormData:P0,AxiosHeaders:S0,HttpStatusCode:I0,formToJSON:O0,getAdapter:C0,mergeConfig:R0}=Q,hr=t=>encodeURIComponent(t).split("%2F").join("/"),sl=/^(\w+:\/\/[^/?]+)?(.*?)$/,ol=t=>t.filter(e=>typeof e=="string"||typeof e=="number").map(e=>`${e}`).filter(e=>e),al=t=>{const e=t.join("/"),[,r="",n=""]=e.match(sl)||[];return{prefix:r,pathname:{parts:n.split("/").filter(i=>i!==""),hasLeading:/^\/+/.test(n),hasTrailing:/\/+$/.test(n)}}},ul=(t,e)=>{const{prefix:r,pathname:n}=t,{parts:i,hasLeading:s,hasTrailing:o}=n,{leadingSlash:a,trailingSlash:l}=e,c=a===!0||a==="keep"&&s,u=l===!0||l==="keep"&&o;let h=r;return i.length>0&&((h||c)&&(h+="/"),h+=i.join("/")),u&&(h+="/"),!h&&c&&(h+="/"),h},B=(...t)=>{const e=t[t.length-1];let r;e&&typeof e=="object"&&(r=e,t=t.slice(0,-1)),r={leadingSlash:!0,trailingSlash:!1,...r},t=ol(t);const n=al(t);return ul(n,r)};class zi extends Error{response;statusCode;constructor(e,r,n=null){super(e),this.response=r,this.statusCode=n}}class ll extends zi{errorCode;constructor(e,r,n,i=null){super(e,n,i),this.errorCode=r}}function cl(t,e=""){return`/public-files/${t}/${e}`.split("/").filter(Boolean).join("/")}function fl(t,e=""){return`/ocm/${t}/${e}`.split("/").filter(Boolean).join("/")}class _e{static Shared="S";static Shareable="R";static Mounted="M";static Deletable="D";static Renameable="N";static Moveable="V";static Updateable="NV";static FileUpdateable="W";static FolderCreateable="CK";static Deny="Z";static SecureView="X"}var De=(t=>(t.copy="COPY",t.delete="DELETE",t.lock="LOCK",t.mkcol="MKCOL",t.move="MOVE",t.propfind="PROPFIND",t.proppatch="PROPPATCH",t.put="PUT",t.report="REPORT",t.unlock="UNLOCK",t))(De||{});const pr=t=>({value:t,type:null}),hl=t=>pr(t),M=t=>pr(t),dr=t=>pr(t),pl=t=>pr(t),dl={Permissions:M("permissions"),IsFavorite:dr("favorite"),FileId:M("fileid"),FileParent:M("file-parent"),Name:M("name"),OwnerId:M("owner-id"),OwnerDisplayName:M("owner-display-name"),PrivateLink:M("privatelink"),ContentLength:dr("getcontentlength"),ContentSize:dr("size"),LastModifiedDate:M("getlastmodified"),Tags:hl("tags"),Audio:{value:"audio",type:null},Location:{value:"location",type:null},Image:{value:"image",type:null},Photo:{value:"photo",type:null},Immutable:M("immutable"),ETag:M("getetag"),MimeType:M("getcontenttype"),ResourceType:pl("resourcetype"),LockDiscovery:{value:"lockdiscovery",type:null},LockOwner:M("owner"),LockTime:M("locktime"),ActiveLock:{value:"activelock",type:null},DownloadURL:M("downloadURL"),Highlights:M("highlights"),MetaPathForUser:M("meta-path-for-user"),RemoteItemId:M("remote-item-id"),HasPreview:dr("has-preview"),ShareId:M("shareid"),ShareRoot:M("shareroot"),ShareTypes:{value:"share-types",type:null},SharePermissions:M("share-permissions"),TrashbinOriginalFilename:M("trashbin-original-filename"),TrashbinOriginalLocation:M("trashbin-original-location"),TrashbinDeletedDate:M("trashbin-delete-datetime"),PublicLinkItemType:M("public-link-item-type"),PublicLinkPermission:M("public-link-permission"),PublicLinkExpiration:M("public-link-expiration"),PublicLinkShareDate:M("public-link-share-datetime"),PublicLinkShareOwner:M("public-link-share-owner")},C=Object.fromEntries(Object.entries(dl).map(([t,e])=>[t,e.value]));class st{static Default=[C.Permissions,C.IsFavorite,C.FileId,C.FileParent,C.Name,C.LockDiscovery,C.ActiveLock,C.OwnerId,C.OwnerDisplayName,C.RemoteItemId,C.ShareRoot,C.ShareTypes,C.PrivateLink,C.ContentLength,C.ContentSize,C.LastModifiedDate,C.ETag,C.MimeType,C.ResourceType,C.Tags,C.Immutable,C.Audio,C.Location,C.Image,C.Photo,C.HasPreview];static PublicLink=st.Default.concat([C.PublicLinkItemType,C.PublicLinkPermission,C.PublicLinkExpiration,C.PublicLinkShareDate,C.PublicLinkShareOwner]);static Trashbin=[C.ContentLength,C.ResourceType,C.TrashbinOriginalLocation,C.TrashbinOriginalFilename,C.TrashbinDeletedDate,C.Permissions,C.FileParent];static DavNamespace=[C.ContentLength,C.LastModifiedDate,C.ETag,C.MimeType,C.ResourceType,C.LockDiscovery,C.ActiveLock]}var gl=typeof Fe=="object"&&Fe&&Fe.Object===Object&&Fe,ml=typeof self=="object"&&self&&self.Object===Object&&self,rn=gl||ml||Function("return this")(),yt=rn.Symbol,qi=Object.prototype,yl=qi.hasOwnProperty,bl=qi.toString,$t=yt?yt.toStringTag:void 0;function wl(t){var e=yl.call(t,$t),r=t[$t];try{t[$t]=void 0;var n=!0}catch{}var i=bl.call(t);return n&&(e?t[$t]=r:delete t[$t]),i}var xl=Object.prototype,El=xl.toString;function vl(t){return El.call(t)}var Tl="[object Null]",Nl="[object Undefined]",Wi=yt?yt.toStringTag:void 0;function Gi(t){return t==null?t===void 0?Nl:Tl:Wi&&Wi in Object(t)?wl(t):vl(t)}function Al(t){return t!=null&&typeof t=="object"}var Pl="[object Symbol]";function nn(t){return typeof t=="symbol"||Al(t)&&Gi(t)==Pl}function Sl(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r-1}function pc(t,e){var r=this.__data__,n=gr(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function bt(t){var e=-1,r=t==null?0:t.length;for(this.clear();++ei?0:i+e),r=r>i?i:r,r<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var s=Array(i);++n=n?t:Rc(t,e,r)}var Lc="\\ud800-\\udfff",_c="\\u0300-\\u036f",$c="\\ufe20-\\ufe2f",Uc="\\u20d0-\\u20ff",kc=_c+$c+Uc,Bc="\\ufe0e\\ufe0f",jc="\\u200d",Mc=RegExp("["+jc+Lc+kc+Bc+"]");function es(t){return Mc.test(t)}function Vc(t){return t.split("")}var ts="\\ud800-\\udfff",Dc="\\u0300-\\u036f",Hc="\\ufe20-\\ufe2f",zc="\\u20d0-\\u20ff",qc=Dc+Hc+zc,Wc="\\ufe0e\\ufe0f",Gc="["+ts+"]",un="["+qc+"]",ln="\\ud83c[\\udffb-\\udfff]",Kc="(?:"+un+"|"+ln+")",rs="[^"+ts+"]",ns="(?:\\ud83c[\\udde6-\\uddff]){2}",is="[\\ud800-\\udbff][\\udc00-\\udfff]",Yc="\\u200d",ss=Kc+"?",os="["+Wc+"]?",Jc="(?:"+Yc+"(?:"+[rs,ns,is].join("|")+")"+os+ss+")*",Xc=os+ss+Jc,Zc="(?:"+[rs+un+"?",un,ns,is,Gc].join("|")+")",Qc=RegExp(ln+"(?="+ln+")|"+Zc+Xc,"g");function ef(t){return t.match(Qc)||[]}function tf(t){return es(t)?ef(t):Vc(t)}function rf(t){return function(e){e=kt(e);var r=es(e)?tf(e):void 0,n=r?r[0]:e.charAt(0),i=r?Fc(r,1).join(""):e.slice(1);return n[t]()+i}}var nf=rf("toUpperCase");function sf(t){return nf(kt(t).toLowerCase())}function of(t,e,r,n){for(var i=-1,s=t==null?0:t.length;++it.replace(/[^A-Za-z0-9\-_]/g,""),Ns=(t,e)=>!t||typeof t!="string"?"":t.indexOf("!")>=0?t.split("!")[e]:"",Xf=t=>Ns(t,0),As=t=>Ns(t,1),Ps=t=>{const r=t.name.split(".");if(r.length>2)for(let n=0;n{if(!t)return t;const e={};return Object.keys(t).forEach(r=>{e[Yf(r)]=t[r]}),e};function xt(t,e=[]){const r=t.props[C.Name]?.toString()||er.basename(t.filename),n=t.props[C.FileId],i=t.type==="directory";let s;t.filename.startsWith("/files")||t.filename.startsWith("/space")?s=t.filename.split("/").slice(3).join("/"):s=t.filename,s.startsWith("/")||(s=`/${s}`);const o=Ps({...t,name:r}),a=t.props[C.LockDiscovery];let l,c,u;a&&(l=a[C.ActiveLock],c=l[C.LockOwner],u=l[C.LockTime]);let h=[];t.props[C.ShareTypes]&&(h=t.props[C.ShareTypes]["share-type"],Array.isArray(h)||(h=[h]));const d={};for(const g of e||[]){const m=g.split(":").pop();t.props[m]&&(d[g]=t.props[m])}const y={id:n,fileId:n,storageId:Xf(n),parentFolderId:t.props[C.FileParent],mimeType:t.props[C.MimeType],name:r,extension:o,path:s,webDavPath:t.filename,type:i?"folder":t.type,isFolder:i,locked:!!l,lockOwner:c,lockTime:u,immutableState:t.props[C.Immutable]||void 0,processing:t.processing||!1,mdate:t.props[C.LastModifiedDate],size:i?t.props[C.ContentSize]?.toString()||"0":t.props[C.ContentLength]?.toString()||"0",permissions:t.props[C.Permissions]||"",starred:t.props[C.IsFavorite]!==0,etag:t.props[C.ETag],shareTypes:h,privateLink:t.props[C.PrivateLink],downloadURL:t.props[C.DownloadURL],remoteItemId:t.props[C.RemoteItemId],remoteItemPath:t.props[C.ShareRoot],owner:{id:t.props[C.OwnerId],displayName:t.props[C.OwnerDisplayName]},tags:(t.props[C.Tags]||"").toString().split(",").filter(Boolean),audio:yr(t.props[C.Audio]),location:yr(t.props[C.Location]),image:yr(t.props[C.Image]),photo:yr(t.props[C.Photo]),extraProps:d,hasPreview:()=>t.props[C.HasPreview]===1,canUpload:function(){return this.permissions.indexOf(_e.FolderCreateable)>=0},canDownload:function(){return this.permissions.indexOf(_e.SecureView)===-1},canBeDeleted:function(){return this.permissions.indexOf(_e.Deletable)>=0},canRename:function(){return this.permissions.indexOf(_e.Renameable)>=0},canShare:function({ability:g}){return g.can("create-all","Share")&&this.permissions.indexOf(_e.Shareable)>=0},canCreate:function(){return this.permissions.indexOf(_e.FolderCreateable)>=0},canEditTags:function(){return this.permissions.indexOf(_e.Updateable)>=0||this.permissions.indexOf(_e.FileUpdateable)>=0||this.permissions.indexOf(_e.FolderCreateable)>=0},isMounted:function(){return this.permissions.indexOf(_e.Mounted)>=0},isReceivedShare:function(){return this.permissions.indexOf(_e.Shared)>=0},isShareRoot(){return t.props[C.ShareRoot]?t.filename.split("/").length===3:!1},getDomSelector:()=>cn(n)};return Object.defineProperty(y,"nodeId",{get(){return As(this.id)}}),y}function Zf(t){const e=t.type==="directory",r=t.props[C.TrashbinOriginalFilename]?.toString(),n=Ps({name:r,type:t.type}),i=ni.basename(t.filename);return{type:e?"folder":t.type,isFolder:e,ddate:t.props[C.TrashbinDeletedDate],name:ni.basename(r),extension:n,path:B(t.props[C.TrashbinOriginalLocation],{leadingSlash:!0}),id:i,parentFolderId:t.props[C.FileParent],webDavPath:"",canUpload:()=>!1,canDownload:()=>!1,canBeDeleted:()=>!0,canBeRestored:function(){return!0},canRename:()=>!1,canShare:()=>!1,canCreate:()=>!1,isMounted:()=>!1,isReceivedShare:()=>!1,hasPreview:()=>!1,isShareRoot:()=>!1,getDomSelector:()=>cn(i)}}var Ae=(t=>(t.createUpload="libre.graph/driveItem/upload/create",t.createPermissions="libre.graph/driveItem/permissions/create",t.createChildren="libre.graph/driveItem/children/create",t.readBasic="libre.graph/driveItem/basic/read",t.readPath="libre.graph/driveItem/path/read",t.readQuota="libre.graph/driveItem/quota/read",t.readContent="libre.graph/driveItem/content/read",t.readChildren="libre.graph/driveItem/children/read",t.readDeleted="libre.graph/driveItem/deleted/read",t.readPermissions="libre.graph/driveItem/permissions/read",t.readVersions="libre.graph/driveItem/versions/read",t.updatePath="libre.graph/driveItem/path/update",t.updateDeleted="libre.graph/driveItem/deleted/update",t.updatePermissions="libre.graph/driveItem/permissions/update",t.updateVersions="libre.graph/driveItem/versions/update",t.deleteStandard="libre.graph/driveItem/standard/delete",t.deleteDeleted="libre.graph/driveItem/deleted/delete",t.deletePermissions="libre.graph/driveItem/permissions/delete",t))(Ae||{});const fn=t=>t?.driveType==="personal",hn=t=>t?.driveType==="public";function Qf(t,e){return B("spaces",t,e,{leadingSlash:!0})}function pn(t,e=""){return B("spaces","trash-bin",t,e,{leadingSlash:!0})}function eh(t){const e=t.publicLinkPassword,r=t.props?.[C.FileId],n=t.props?.[C.PublicLinkItemType],i=t.props?.[C.PublicLinkPermission],s=t.props?.[C.PublicLinkExpiration],o=t.props?.[C.PublicLinkShareDate],a=t.props?.[C.PublicLinkShareOwner],l=t.publicLinkType;let c,u;return l==="ocm"?(c=`ocm/${t.id}`,u=fl(t.id)):(c=`public/${t.id}`,u=cl(t.id)),Object.assign(th({...t,driveType:"public",driveAlias:c,webDavPath:u}),{...r&&{fileId:r},...e&&{publicLinkPassword:e},...n&&{publicLinkItemType:n},...i&&{publicLinkPermission:parseInt(i)},...s&&{publicLinkExpiration:s},...o&&{publicLinkShareDate:o},...a&&{publicLinkShareOwner:a},publicLinkType:l})}function th(t){let e,r;t.special&&(e=t.special.find(c=>c.specialFolder.name==="image"),r=t.special.find(c=>c.specialFolder.name==="readme"),e&&(e.webDavUrl=decodeURI(e.webDavUrl)),r&&(r.webDavUrl=decodeURI(r.webDavUrl)));const n=t.root?.deleted?.state==="trashed",i=B(t.webDavPath||Qf(t.id),{leadingSlash:!0}),s=B(t.serverUrl,"remote.php/dav",i),o=B(t.webDavTrashPath||pn(t.id),{leadingSlash:!0}),a=B(t.serverUrl,"remote.php/dav",o),l={id:t.id,fileId:t.id,storageId:t.id,mimeType:"",name:t.name,description:t.description,extension:"",path:"/",webDavPath:i,webDavTrashPath:o,driveAlias:t.driveAlias,driveType:t.driveType,type:"space",isFolder:!0,mdate:t.lastModifiedDateTime,size:t.quota?.used||0,tags:[],permissions:"",starred:!1,etag:"",shareTypes:[],privateLink:t.webUrl,downloadURL:"",owner:t.owner?.user,disabled:n,root:t.root,spaceQuota:t.quota,spaceImageData:e,spaceReadmeData:r,hasTrashedItems:t["@libre.graph.hasTrashedItems"]||!1,graphPermissions:void 0,canUpload:function({user:c}={}){return fn(this)&&this.isOwner(c)?!0:this.graphPermissions?.includes(Ae.createUpload)},canDownload:function(){return!0},canBeDeleted:function({ability:c}={}){return this.disabled?c?.can("delete-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions):!1},canRename:function({ability:c}={}){return c?.can("update-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions)},canEditDescription:function({ability:c}={}){return c?.can("update-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions)},canRestore:function({ability:c}={}){return this.disabled?c?.can("update-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions):!1},canDisable:function({ability:c}={}){return this.disabled?!1:c?.can("delete-all","Drive")?!0:this.graphPermissions?.includes(Ae.deletePermissions)},canShare:function(){return this.graphPermissions?.includes(Ae.createPermissions)},canEditImage:function(){return this.disabled?!1:this.graphPermissions?.includes(Ae.deletePermissions)},canEditReadme:function(){return this.disabled?!1:this.graphPermissions?.includes(Ae.deletePermissions)},canRestoreFromTrashbin:function(){return this.graphPermissions?.includes(Ae.updateDeleted)},canDeleteFromTrashBin:function({user:c}={}){return fn(this)&&this.isOwner(c)?!0:this.graphPermissions?.includes(Ae.deletePermissions)},canListVersions:function({user:c}={}){return fn(this)&&this.isOwner(c)?!0:this.graphPermissions?.includes(Ae.readVersions)},canCreate:function(){return!0},canEditTags:function(){return!1},isMounted:function(){return!0},isReceivedShare:function(){return!1},isShareRoot:function(){return["share","mountpoint","public"].includes(t.driveType)},getDomSelector:()=>cn(t.id),getDriveAliasAndItem({path:c}){return B(this.driveAlias,c,{leadingSlash:!1})},getWebDavUrl({path:c}){return B(s,c)},getWebDavTrashUrl({path:c}){return B(a,c)},isOwner(c){return c?.id===this.owner?.id}};return Object.defineProperty(l,"nodeId",{get(){return As(this.id)}}),l}const rh=(t,e)=>{const r=new URL(t);r.pathname=[...r.pathname.split("/"),"cloud","capabilities"].filter(Boolean).join("/"),r.searchParams.append("format","json");const n=r.href;return{async getCapabilities(){const i=await e.get(n);return Cc(i,"data.ocs.data",{capabilities:null,version:null})}}};function nh(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Bt(t,e=""){if(!Number.isSafeInteger(t)||t<0){const r=e&&`"${e}" `;throw new Error(`${r}expected integer >= 0, got ${t}`)}}function jt(t,e,r=""){const n=nh(t),i=t?.length,s=e!==void 0;if(!n||s&&i!==e){const o=r&&`"${r}" `,a=s?` of length ${e}`:"",l=n?`length=${i}`:`type=${typeof t}`;throw new Error(o+"expected Uint8Array"+a+", got "+l)}return t}function Ss(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash must wrapped by utils.createHasher");Bt(t.outputLen),Bt(t.blockLen)}function br(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function ih(t,e){jt(t,void 0,"digestInto() output");const r=e.outputLen;if(t.length='+r)}function Mt(...t){for(let e=0;et(s).update(i).digest(),n=t(void 0);return r.outputLen=n.outputLen,r.blockLen=n.blockLen,r.create=i=>t(i),Object.assign(r,e),Object.freeze(r)}const uh=t=>({oid:Uint8Array.from([6,9,96,134,72,1,101,3,4,2,t])});class Os{oHash;iHash;blockLen;outputLen;finished=!1;destroyed=!1;constructor(e,r){if(Ss(e),jt(r,void 0,"key"),this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const n=this.blockLen,i=new Uint8Array(n);i.set(r.length>n?e.create().update(r).digest():r);for(let s=0;snew Os(t,e).update(r).digest();Cs.create=(t,e)=>new Os(t,e);function lh(t,e,r,n){Ss(t);const i=oh({dkLen:32,asyncTick:10},n),{c:s,dkLen:o,asyncTick:a}=i;if(Bt(s,"c"),Bt(o,"dkLen"),Bt(a,"asyncTick"),s<1)throw new Error("iterations (c) must be >= 1");const l=Is(e,"password"),c=Is(r,"salt"),u=new Uint8Array(o),h=Cs.create(t,l),d=h._cloneInto().update(c);return{c:s,dkLen:o,asyncTick:a,DK:u,PRF:h,PRFSalt:d}}function ch(t,e,r,n,i){return t.destroy(),e.destroy(),n&&n.destroy(),Mt(i),r}function fh(t,e,r,n){const{c:i,dkLen:s,DK:o,PRF:a,PRFSalt:l}=lh(t,e,r,n);let c;const u=new Uint8Array(4),h=wr(u),d=new Uint8Array(a.outputLen);for(let y=1,g=0;gi-o&&(this.process(n,0),o=0);for(let h=o;hu.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h>Rs&xr)}:{h:Number(t>>Rs&xr)|0,l:Number(t&xr)|0}}function dh(t,e=!1){const r=t.length;let n=new Uint32Array(r),i=new Uint32Array(r);for(let s=0;st>>>r,Ls=(t,e,r)=>t<<32-r|e>>>r,Et=(t,e,r)=>t>>>r|e<<32-r,vt=(t,e,r)=>t<<32-r|e>>>r,Er=(t,e,r)=>t<<64-r|e>>>r-32,vr=(t,e,r)=>t>>>r-32|e<<64-r;function He(t,e,r,n){const i=(e>>>0)+(n>>>0);return{h:t+r+(i/2**32|0)|0,l:i|0}}const gh=(t,e,r)=>(t>>>0)+(e>>>0)+(r>>>0),mh=(t,e,r,n)=>e+r+n+(t/2**32|0)|0,yh=(t,e,r,n)=>(t>>>0)+(e>>>0)+(r>>>0)+(n>>>0),bh=(t,e,r,n,i)=>e+r+n+i+(t/2**32|0)|0,wh=(t,e,r,n,i)=>(t>>>0)+(e>>>0)+(r>>>0)+(n>>>0)+(i>>>0),xh=(t,e,r,n,i,s)=>e+r+n+i+s+(t/2**32|0)|0,_s=dh(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),Eh=_s[0],vh=_s[1],We=new Uint32Array(80),Ge=new Uint32Array(80);class Th extends hh{constructor(e){super(128,e,16,!1)}get(){const{Ah:e,Al:r,Bh:n,Bl:i,Ch:s,Cl:o,Dh:a,Dl:l,Eh:c,El:u,Fh:h,Fl:d,Gh:y,Gl:g,Hh:m,Hl:b}=this;return[e,r,n,i,s,o,a,l,c,u,h,d,y,g,m,b]}set(e,r,n,i,s,o,a,l,c,u,h,d,y,g,m,b){this.Ah=e|0,this.Al=r|0,this.Bh=n|0,this.Bl=i|0,this.Ch=s|0,this.Cl=o|0,this.Dh=a|0,this.Dl=l|0,this.Eh=c|0,this.El=u|0,this.Fh=h|0,this.Fl=d|0,this.Gh=y|0,this.Gl=g|0,this.Hh=m|0,this.Hl=b|0}process(e,r){for(let v=0;v<16;v++,r+=4)We[v]=e.getUint32(r),Ge[v]=e.getUint32(r+=4);for(let v=16;v<80;v++){const A=We[v-15]|0,I=Ge[v-15]|0,F=Et(A,I,1)^Et(A,I,8)^Fs(A,I,7),L=vt(A,I,1)^vt(A,I,8)^Ls(A,I,7),$=We[v-2]|0,_=Ge[v-2]|0,j=Et($,_,19)^Er($,_,61)^Fs($,_,6),de=vt($,_,19)^vr($,_,61)^Ls($,_,6),oe=yh(L,de,Ge[v-7],Ge[v-16]),R=bh(oe,F,j,We[v-7],We[v-16]);We[v]=R|0,Ge[v]=oe|0}let{Ah:n,Al:i,Bh:s,Bl:o,Ch:a,Cl:l,Dh:c,Dl:u,Eh:h,El:d,Fh:y,Fl:g,Gh:m,Gl:b,Hh:T,Hl:E}=this;for(let v=0;v<80;v++){const A=Et(h,d,14)^Et(h,d,18)^Er(h,d,41),I=vt(h,d,14)^vt(h,d,18)^vr(h,d,41),F=h&y^~h&m,L=d&g^~d&b,$=wh(E,I,L,vh[v],Ge[v]),_=xh($,T,A,F,Eh[v],We[v]),j=$|0,de=Et(n,i,28)^Er(n,i,34)^Er(n,i,39),oe=vt(n,i,28)^vr(n,i,34)^vr(n,i,39),R=n&s^n&a^s&a,le=i&o^i&l^o&l;T=m|0,E=b|0,m=y|0,b=g|0,y=h|0,g=d|0,{h,l:d}=He(c|0,u|0,_|0,j|0),c=a|0,u=l|0,a=s|0,l=o|0,s=n|0,o=i|0;const Se=gh(j,oe,le);n=mh(Se,_,de,R),i=Se|0}({h:n,l:i}=He(this.Ah|0,this.Al|0,n|0,i|0)),{h:s,l:o}=He(this.Bh|0,this.Bl|0,s|0,o|0),{h:a,l}=He(this.Ch|0,this.Cl|0,a|0,l|0),{h:c,l:u}=He(this.Dh|0,this.Dl|0,c|0,u|0),{h,l:d}=He(this.Eh|0,this.El|0,h|0,d|0),{h:y,l:g}=He(this.Fh|0,this.Fl|0,y|0,g|0),{h:m,l:b}=He(this.Gh|0,this.Gl|0,m|0,b|0),{h:T,l:E}=He(this.Hh|0,this.Hl|0,T|0,E|0),this.set(n,i,s,o,a,l,c,u,h,d,y,g,m,b,T,E)}roundClean(){Mt(We,Ge)}destroy(){Mt(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class Nh extends Th{Ah=he[0]|0;Al=he[1]|0;Bh=he[2]|0;Bl=he[3]|0;Ch=he[4]|0;Cl=he[5]|0;Dh=he[6]|0;Dl=he[7]|0;Eh=he[8]|0;El=he[9]|0;Fh=he[10]|0;Fl=he[11]|0;Gh=he[12]|0;Gl=he[13]|0;Hh=he[14]|0;Hl=he[15]|0;constructor(){super(64)}}const Ah=ah(()=>new Nh,uh(3)),Ph=(t,e,r,n)=>yi.from(fh(Ah,t,e,{c:r,dkLen:n})),$s=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Sh=$s+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ih="["+$s+"]["+Sh+"]*",Oh=new RegExp("^"+Ih+"$");function Us(t,e){const r=[];let n=e.exec(t);for(;n;){const i=[];i.startIndex=e.lastIndex-n[0].length;const s=n.length;for(let o=0;o"u")};function Ch(t){return typeof t<"u"}const dn=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],ks=["__proto__","constructor","prototype"],Rh={allowBooleanAttributes:!1,unpairedTags:[]};function Fh(t,e){e=Object.assign({},Rh,e);const r=[];let n=!1,i=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let s=0;s"&&t[s]!==" "&&t[s]!==" "&&t[s]!==` +`&&t[s]!=="\r";s++)l+=t[s];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),s--),!Mh(l)){let h;return l.trim().length===0?h="Invalid space after '<'.":h="Tag '"+l+"' is an invalid name.",ee("InvalidTag",h,ge(t,s))}const c=$h(t,s);if(c===!1)return ee("InvalidAttr","Attributes for '"+l+"' have open quote.",ge(t,s));let u=c.value;if(s=c.index,u[u.length-1]==="/"){const h=s-u.length;u=u.substring(0,u.length-1);const d=Vs(u,e);if(d===!0)n=!0;else return ee(d.err.code,d.err.msg,ge(t,h+d.err.line))}else if(a)if(c.tagClosed){if(u.trim().length>0)return ee("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",ge(t,o));if(r.length===0)return ee("InvalidTag","Closing tag '"+l+"' has not been opened.",ge(t,o));{const h=r.pop();if(l!==h.tagName){let d=ge(t,h.tagStartPos);return ee("InvalidTag","Expected closing tag '"+h.tagName+"' (opened in line "+d.line+", col "+d.col+") instead of closing tag '"+l+"'.",ge(t,o))}r.length==0&&(i=!0)}}else return ee("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",ge(t,s));else{const h=Vs(u,e);if(h!==!0)return ee(h.err.code,h.err.msg,ge(t,s-u.length+h.err.line));if(i===!0)return ee("InvalidXml","Multiple possible root nodes found.",ge(t,s));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:o}),n=!0}for(s++;s0)return ee("InvalidXml","Invalid '"+JSON.stringify(r.map(s=>s.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return ee("InvalidXml","Start tag expected.",1);return!0}function Bs(t){return t===" "||t===" "||t===` +`||t==="\r"}function js(t,e){const r=e;for(;e5&&n==="xml")return ee("InvalidXml","XML declaration allowed only at the start of the document.",ge(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}function Ms(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e"){e+=2;break}}return e}const Lh='"',_h="'";function $h(t,e){let r="",n="",i=!1;for(;e"&&n===""){i=!0;break}r+=t[e]}return n!==""?!1:{value:r,index:e,tagClosed:i}}const Uh=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Vs(t,e){const r=Us(t,Uh),n={};for(let i=0;idn.includes(t)?"__"+t:t,Vh={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,r){return t},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Ds};function Dh(t,e){if(typeof t!="string")return;const r=t.toLowerCase();if(dn.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(ks.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}function Hs(t){return typeof t=="boolean"?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,maxEntityCount:100,allowedTags:null,tagFilter:null}:typeof t=="object"&&t!==null?{enabled:t.enabled!==!1,maxEntitySize:t.maxEntitySize??1e4,maxExpansionDepth:t.maxExpansionDepth??10,maxTotalExpansions:t.maxTotalExpansions??1e3,maxExpandedLength:t.maxExpandedLength??1e5,maxEntityCount:t.maxEntityCount??100,allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null}:Hs(!0)}const Hh=function(t){const e=Object.assign({},Vh,t),r=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(const{value:n,name:i}of r)n&&Dh(n,i);return e.onDangerousProperty===null&&(e.onDangerousProperty=Ds),e.processEntities=Hs(e.processEntities),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(n=>typeof n=="string"&&n.startsWith("*.")?".."+n.substring(2):n)),e};let Nr;typeof Symbol!="function"?Nr="@@xmlMetadata":Nr=Symbol("XML Node Metadata");class Ke{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,r){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:r})}addChild(e,r){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),r!==void 0&&(this.child[this.child.length-1][Nr]={startIndex:r})}static getMetaDataSymbol(){return Nr}}class zh{constructor(e){this.suppressValidationErr=!e,this.options=e}readDocType(e,r){const n=Object.create(null);let i=0;if(e[r+3]==="O"&&e[r+4]==="C"&&e[r+5]==="T"&&e[r+6]==="Y"&&e[r+7]==="P"&&e[r+8]==="E"){r=r+9;let s=1,o=!1,a=!1,l="";for(;r=this.options.maxEntityCount)throw new Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);const h=c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");n[c]={regx:RegExp(`&${h};`,"g"),val:u},i++}}else if(o&&ut(e,"!ELEMENT",r)){r+=8;const{index:c}=this.readElementExp(e,r+1);r=c}else if(o&&ut(e,"!ATTLIST",r))r+=8;else if(o&&ut(e,"!NOTATION",r)){r+=9;const{index:c}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=c}else if(ut(e,"!--",r))a=!0;else throw new Error("Invalid DOCTYPE");s++,l=""}else if(e[r]===">"){if(a?e[r-1]==="-"&&e[r-2]==="-"&&(a=!1,s--):s--,s===0)break}else e[r]==="["?o=!0:l+=e[r];if(s!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:n,i:r}}readEntityExp(e,r){r=ve(e,r);let n="";for(;rthis.options.maxEntitySize)throw new Error(`Entity "${n}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[n,i,r]}readNotationExp(e,r){r=ve(e,r);let n="";for(;r{for(;e1||s.length===1&&!a))return t;{const l=Number(r),c=String(l);if(l===0)return l;if(c.search(/[eE]/)!==-1)return e.eNotation?l:t;if(r.indexOf(".")!==-1)return c==="0"||c===o||c===`${i}${o}`?l:t;let u=s?o:r;return s?u===c||i+u===c?l:t:u===c||u===i+c?l:t}}else return t}}else return Qh(t,Number(r),e)}const Yh=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Jh(t,e,r){if(!r.eNotation)return t;const n=e.match(Yh);if(n){let i=n[1]||"";const s=n[3].indexOf("e")===-1?"E":"e",o=n[2],a=i?t[o.length+1]===s:t[o.length]===s;return o.length>1&&a?t:o.length===1&&(n[3].startsWith(`.${s}`)||n[3][0]===s)?Number(e):r.leadingZeros&&!a?(e=(n[1]||"")+n[3],Number(e)):t}else return t}function Xh(t){return t&&t.indexOf(".")!==-1&&(t=t.replace(/0+$/,""),t==="."?t="0":t[0]==="."?t="0"+t:t[t.length-1]==="."&&(t=t.substring(0,t.length-1))),t}function Zh(t,e){if(parseInt)return parseInt(t,e);if(Number.parseInt)return Number.parseInt(t,e);if(window&&window.parseInt)return window.parseInt(t,e);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}function Qh(t,e,r){const n=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return n?"Infinity":"-Infinity";default:return t}}function ep(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(const r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}class Tt{constructor(e,r={}){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this._hasDeepWildcard=this.segments.some(n=>n.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(n=>n.attrName!==void 0),this._hasPositionSelector=this.segments.some(n=>n.position!==void 0)}_parse(e){const r=[];let n=0,i="";for(;n0){const u=this.path[this.path.length-1];u.values=void 0}const i=this.path.length;this.siblingStacks[i]||(this.siblingStacks[i]=new Map);const s=this.siblingStacks[i],o=n?`${n}:${e}`:e,a=s.get(o)||0;let l=0;for(const u of s.values())l+=u;s.set(o,a+1);const c={tag:e,position:l,counter:a};n!=null&&(c.namespace=n),r!=null&&(c.values=r),this.path.push(c)}pop(){if(this.path.length===0)return;const e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){const r=this.path[this.path.length-1];e!=null&&(r.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){return this.path.length===0?void 0:this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;const r=this.path[this.path.length-1];return r.values!==void 0&&e in r.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,r=!0){const n=e||this.separator;return this.path.map(i=>r&&i.namespace?`${i.namespace}:${i.tag}`:i.tag).join(n)}toArray(){return this.path.map(e=>e.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(e){const r=e.segments;return r.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(r):this._matchSimple(r)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let r=0;r=0&&r>=0;){const i=e[n];if(i.type==="deep-wildcard"){if(n--,n<0)return!0;const s=e[n];let o=!1;for(let a=r;a>=0;a--){const l=a===this.path.length-1;if(this._matchSegment(s,this.path[a],l)){r=a-1,n--,o=!0;break}}if(!o)return!1}else{const s=r===this.path.length-1;if(!this._matchSegment(i,this.path[r],s))return!1;r--,n--}}return n<0}_matchSegment(e,r,n){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace)return!1;if(e.attrName!==void 0){if(!n||!r.values||!(e.attrName in r.values))return!1;if(e.attrValue!==void 0){const i=r.values[e.attrName];if(String(i)!==String(e.attrValue))return!1}}if(e.position!==void 0){if(!n)return!1;const i=r.counter??0;if(e.position==="first"&&i!==0)return!1;if(e.position==="odd"&&i%2!==1)return!1;if(e.position==="even"&&i%2!==0)return!1;if(e.position==="nth"&&i!==e.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>new Map(e))}}restore(e){this.path=e.path.map(r=>({...r})),this.siblingStacks=e.siblingStacks.map(r=>new Map(r))}}function tp(t,e){if(!t)return{};const r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};const n={};for(const i in r)if(i.startsWith(e.attributeNamePrefix)){const s=i.substring(e.attributeNamePrefix.length);n[s]=r[i]}else n[i]=r[i];return n}function rp(t){if(!t||typeof t!="string")return;const e=t.indexOf(":");if(e!==-1&&e>0){const r=t.substring(0,e);if(r!=="xmlns")return r}}class np{constructor(e){if(this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(r,n)=>zs(n,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(r,n)=>zs(n,16,"&#x")}},this.addExternalEntities=ip,this.parseXml=lp,this.parseTextData=sp,this.resolveNameSpace=op,this.buildAttributesMap=up,this.isItStopNode=pp,this.replaceEntitiesValue=fp,this.readStopNodeData=gp,this.saveTextToParentTag=hp,this.addChild=cp,this.ignoreAttributesFn=ep(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new gn,this.isCurrentNodeStopNode=!1,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodeExpressions=[];for(let r=0;r0)){o||(t=this.replaceEntitiesValue(t,e,r));const a=this.options.jPath?r.toString():r,l=this.options.tagValueProcessor(e,t,a,i,s);return l==null?t:typeof l!=typeof t||l!==t?l:this.options.trimValues?yn(t,this.options.parseTagValue,this.options.numberParseOptions):t.trim()===t?yn(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function op(t){if(this.options.removeNSPrefix){const e=t.split(":"),r=t.charAt(0)==="/"?"/":"";if(e[0]==="xmlns")return"";e.length===2&&(t=r+e[1])}return t}const ap=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function up(t,e,r){if(this.options.ignoreAttributes!==!0&&typeof t=="string"){const n=Us(t,ap),i=n.length,s={},o={};for(let a=0;a0&&typeof e=="object"&&e.updateCurrent&&e.updateCurrent(o);for(let a=0;a",s,"Closing Tag is not closed.");let l=t.substring(s+2,a).trim();if(this.options.removeNSPrefix){const u=l.indexOf(":");u!==-1&&(l=l.substr(u+1))}l=bn(this.options.transformTagName,l,"",this.options).tagName,r&&(n=this.saveTextToParentTag(n,r,this.matcher));const c=this.matcher.getCurrentTag();if(l&&this.options.unpairedTags.indexOf(l)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);c&&this.options.unpairedTags.indexOf(c)!==-1&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",s=a}else if(t[s+1]==="?"){let a=mn(t,s,!1,"?>");if(!a)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,r,this.matcher),!(this.options.ignoreDeclaration&&a.tagName==="?xml"||this.options.ignorePiTags)){const l=new Ke(a.tagName);l.add(this.options.textNodeName,""),a.tagName!==a.tagExp&&a.attrExpPresent&&(l[":@"]=this.buildAttributesMap(a.tagExp,this.matcher,a.tagName)),this.addChild(r,l,this.matcher,s)}s=a.closeIndex+1}else if(t.substr(s+1,3)==="!--"){const a=lt(t,"-->",s+4,"Comment is not closed.");if(this.options.commentPropName){const l=t.substring(s+4,a-2);n=this.saveTextToParentTag(n,r,this.matcher),r.add(this.options.commentPropName,[{[this.options.textNodeName]:l}])}s=a}else if(t.substr(s+1,2)==="!D"){const a=i.readDocType(t,s);this.docTypeEntities=a.entities,s=a.i}else if(t.substr(s+1,2)==="!["){const a=lt(t,"]]>",s,"CDATA is not closed.")-2,l=t.substring(s+9,a);n=this.saveTextToParentTag(n,r,this.matcher);let c=this.parseTextData(l,r.tagname,this.matcher,!0,!1,!0,!0);c==null&&(c=""),this.options.cdataPropName?r.add(this.options.cdataPropName,[{[this.options.textNodeName]:l}]):r.add(this.options.textNodeName,c),s=a+2}else{let a=mn(t,s,this.options.removeNSPrefix);if(!a){const E=t.substring(Math.max(0,s-50),Math.min(t.length,s+50));throw new Error(`readTagExp returned undefined at position ${s}. Context: "${E}"`)}let l=a.tagName;const c=a.rawTagName;let u=a.tagExp,h=a.attrExpPresent,d=a.closeIndex;if({tagName:l,tagExp:u}=bn(this.options.transformTagName,l,u,this.options),this.options.strictReservedNames&&(l===this.options.commentPropName||l===this.options.cdataPropName))throw new Error(`Invalid tag name: ${l}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.matcher,!1));const y=r;y&&this.options.unpairedTags.indexOf(y.tagname)!==-1&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let g=!1;u.length>0&&u.lastIndexOf("/")===u.length-1&&(g=!0,l[l.length-1]==="/"?(l=l.substr(0,l.length-1),u=l):u=u.substr(0,u.length-1),h=l!==u);let m=null,b;b=rp(c),l!==e.tagname&&this.matcher.push(l,{},b),l!==u&&h&&(m=this.buildAttributesMap(u,this.matcher,l),m&&tp(m,this.options)),l!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));const T=s;if(this.isCurrentNodeStopNode){let E="";if(g)s=a.closeIndex;else if(this.options.unpairedTags.indexOf(l)!==-1)s=a.closeIndex;else{const A=this.readStopNodeData(t,c,d+1);if(!A)throw new Error(`Unexpected end of ${c}`);s=A.i,E=A.tagContent}const v=new Ke(l);m&&(v[":@"]=m),v.add(this.options.textNodeName,E),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,v,this.matcher,T)}else{if(g){({tagName:l,tagExp:u}=bn(this.options.transformTagName,l,u,this.options));const E=new Ke(l);m&&(E[":@"]=m),this.addChild(r,E,this.matcher,T),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(this.options.unpairedTags.indexOf(l)!==-1){const E=new Ke(l);m&&(E[":@"]=m),this.addChild(r,E,this.matcher,T),this.matcher.pop(),this.isCurrentNodeStopNode=!1,s=a.closeIndex;continue}else{const E=new Ke(l);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),m&&(E[":@"]=m),this.addChild(r,E,this.matcher,T),r=E}n="",s=d}}else n+=t[s];return e.child};function cp(t,e,r,n){this.options.captureMetaData||(n=void 0);const i=this.options.jPath?r.toString():r,s=this.options.updateTag(e.tagname,i,e[":@"]);s===!1||(typeof s=="string"&&(e.tagname=s),t.addChild(e,n))}function fp(t,e,r){const n=this.options.processEntities;if(!n||!n.enabled)return t;if(n.allowedTags){const i=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(e):n.allowedTags(e,i)))return t}if(n.tagFilter){const i=this.options.jPath?r.toString():r;if(!n.tagFilter(e,i))return t}for(const i of Object.keys(this.docTypeEntities)){const s=this.docTypeEntities[i],o=t.match(s.regx);if(o){if(this.entityExpansionCount+=o.length,n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions)throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`);const a=t.length;if(t=t.replace(s.regx,s.val),n.maxExpandedLength&&(this.currentExpandedLength+=t.length-a,this.currentExpandedLength>n.maxExpandedLength))throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${n.maxExpandedLength}`)}}for(const i of Object.keys(this.lastEntities)){const s=this.lastEntities[i],o=t.match(s.regex);if(o&&(this.entityExpansionCount+=o.length,n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions))throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`);t=t.replace(s.regex,s.val)}if(t.indexOf("&")===-1)return t;if(this.options.htmlEntities)for(const i of Object.keys(this.htmlEntities)){const s=this.htmlEntities[i],o=t.match(s.regex);if(o&&(this.entityExpansionCount+=o.length,n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions))throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`);t=t.replace(s.regex,s.val)}return t=t.replace(this.ampEntity.regex,this.ampEntity.val),t}function hp(t,e,r,n){return t&&(n===void 0&&(n=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,n),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}function pp(t,e){if(!t||t.length===0)return!1;for(let r=0;r",r,`${e} is not closed`);if(t.substring(r+2,s).trim()===e&&(i--,i===0))return{tagContent:t.substring(n,r),i:s};r=s}else if(t[r+1]==="?")r=lt(t,"?>",r+1,"StopNode is not closed.");else if(t.substr(r+1,3)==="!--")r=lt(t,"-->",r+3,"StopNode is not closed.");else if(t.substr(r+1,2)==="![")r=lt(t,"]]>",r,"StopNode is not closed.")-2;else{const s=mn(t,r,">");s&&((s&&s.tagName)===e&&s.tagExp[s.tagExp.length-1]!=="/"&&i++,r=s.closeIndex)}}function yn(t,e,r){if(e&&typeof t=="string"){const n=t.trim();return n==="true"?!0:n==="false"?!1:Kh(t,r)}else return Ch(t)?t:""}function zs(t,e,r){const n=Number.parseInt(t,e);return n>=0&&n<=1114111?String.fromCodePoint(n):r+t+";"}function bn(t,e,r,n){if(t){const i=t(e);r===e&&(r=i),e=i}return e=qs(e,n),{tagName:e,tagExp:r}}function qs(t,e){if(ks.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return dn.includes(t)?e.onDangerousProperty(t):t}const wn=Ke.getMetaDataSymbol();function mp(t,e){if(!t||typeof t!="object")return{};if(!e)return t;const r={};for(const n in t)if(n.startsWith(e)){const i=n.substring(e.length);r[i]=t[n]}else r[n]=t[n];return r}function yp(t,e,r){return Ws(t,e,r)}function Ws(t,e,r){let n;const i={};for(let s=0;s0&&(i[e.textNodeName]=n):n!==void 0&&(i[e.textNodeName]=n),i}function bp(t){const e=Object.keys(t);for(let r=0;r0&&(r=Ep);const n=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let s=0;se.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let a=t.toString();return a=xn(a,e),a}return""}for(let a=0;a`,o=!1,n.pop();continue}else if(c===e.commentPropName){s+=r+``,o=!0,n.pop();continue}else if(c[0]==="?"){const b=Xs(l[":@"],e,h),T=c==="?xml"?"":r;let E=l[c][0][e.textNodeName];E=E.length!==0?" "+E:"",s+=T+`<${c}${E}${b}?>`,o=!0,n.pop();continue}let d=r;d!==""&&(d+=e.indentBy);const y=Xs(l[":@"],e,h),g=r+`<${c}${y}`;let m;h?m=Ys(l[c],e):m=Ks(l[c],e,d,n,i),e.unpairedTags.indexOf(c)!==-1?e.suppressUnpairedNode?s+=g+">":s+=g+"/>":(!m||m.length===0)&&e.suppressEmptyNode?s+=g+"/>":m&&m.endsWith(">")?s+=g+`>${m}${r}`:(s+=g+">",m&&r!==""&&(m.includes("/>")||m.includes("`),o=!0,n.pop()}return s}function Tp(t,e){if(!t||e.ignoreAttributes)return null;const r={};let n=!1;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;const s=i.startsWith(e.attributeNamePrefix)?i.substr(e.attributeNamePrefix.length):i;r[s]=t[i],n=!0}return n?r:null}function Ys(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let n=0;n`:r+=`<${s}${o}>${a}`}}}return r}function Np(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=t[n];i===!0&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${i}"`}return r}function Js(t){const e=Object.keys(t);for(let r=0;r0&&e.processEntities)for(let r=0;r{for(const r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}const Sp={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0};function Pe(t){if(this.options=Object.assign({},Sp,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e=="string"&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e +`,this.newLine=` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}Pe.prototype.build=function(t){if(this.options.preserveOrder)return vp(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});const e=new gn;return this.j2x(t,0,e).val}},Pe.prototype.j2x=function(t,e,r){let n="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");const s=this.options.jPath?r.toString():r,o=this.checkStopNode(r);for(let a in t)if(Object.prototype.hasOwnProperty.call(t,a))if(typeof t[a]>"u")this.isAttribute(a)&&(i+="");else if(t[a]===null)this.isAttribute(a)||a===this.options.cdataPropName?i+="":a[0]==="?"?i+=this.indentate(e)+"<"+a+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+a+"/"+this.tagEndChar;else if(t[a]instanceof Date)i+=this.buildTextValNode(t[a],a,"",e,r);else if(typeof t[a]!="object"){const l=this.isAttribute(a);if(l&&!this.ignoreAttributesFn(l,s))n+=this.buildAttrPairStr(l,""+t[a],o);else if(!l)if(a===this.options.textNodeName){let c=this.options.tagValueProcessor(a,""+t[a]);i+=this.replaceEntitiesValue(c)}else{r.push(a);const c=this.checkStopNode(r);if(r.pop(),c){const u=""+t[a];u===""?i+=this.indentate(e)+"<"+a+this.closeTag(a)+this.tagEndChar:i+=this.indentate(e)+"<"+a+">"+u+""u"))if(d===null)a[0]==="?"?i+=this.indentate(e)+"<"+a+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+a+"/"+this.tagEndChar;else if(typeof d=="object")if(this.options.oneListGroup){r.push(a);const y=this.j2x(d,e+1,r);r.pop(),c+=y.val,this.options.attributesGroupName&&d.hasOwnProperty(this.options.attributesGroupName)&&(u+=y.attrStr)}else c+=this.processTextOrObjNode(d,a,e,r);else if(this.options.oneListGroup){let y=this.options.tagValueProcessor(a,d);y=this.replaceEntitiesValue(y),c+=y}else{r.push(a);const y=this.checkStopNode(r);if(r.pop(),y){const g=""+d;g===""?c+=this.indentate(e)+"<"+a+this.closeTag(a)+this.tagEndChar:c+=this.indentate(e)+"<"+a+">"+g+"${i}`;else if(typeof i=="object"&&i!==null){const s=this.buildRawContent(i),o=this.buildAttributesForStopNode(i);s===""?e+=`<${r}${o}/>`:e+=`<${r}${o}>${s}`}}else if(typeof n=="object"&&n!==null){const i=this.buildRawContent(n),s=this.buildAttributesForStopNode(n);i===""?e+=`<${r}${s}/>`:e+=`<${r}${s}>${i}`}else e+=`<${r}>${n}`}return e},Pe.prototype.buildAttributesForStopNode=function(t){if(!t||typeof t!="object")return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){const r=t[this.options.attributesGroupName];for(let n in r){if(!Object.prototype.hasOwnProperty.call(r,n))continue;const i=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n,s=r[n];s===!0&&this.options.suppressBooleanAttributes?e+=" "+i:e+=" "+i+'="'+s+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;const n=this.isAttribute(r);if(n){const i=t[r];i===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+i+'"'}}return e},Pe.prototype.buildObjectNode=function(t,e,r,n){if(t==="")return e[0]==="?"?this.indentate(n)+"<"+e+r+"?"+this.tagEndChar:this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar;{let i=""+t+i:this.options.commentPropName!==!1&&e===this.options.commentPropName&&s.length===0?this.indentate(n)+``+this.newLine:this.indentate(n)+"<"+e+r+s+this.tagEndChar+t+this.indentate(n)+i}},Pe.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`>`+this.newLine;if(this.options.commentPropName!==!1&&e===this.options.commentPropName)return this.indentate(n)+``+this.newLine;if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let s=this.options.tagValueProcessor(e,t);return s=this.replaceEntitiesValue(s),s===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+s+"0&&this.options.processEntities)for(let e=0;e{const r=new URL(t);r.pathname=[...r.pathname.split("/"),"ocs","v1.php"].filter(Boolean).join("/");const n=r.href,i=rh(n,e),s=new Rp({baseURI:t,axiosClient:e});return{getCapabilities:()=>i.getCapabilities(),signUrl:(o,a)=>s.signUrl(o,a)}},ze=(t,{fileId:e,path:r,name:n})=>{if(r!==void 0)return B(t.webDavPath,r);if(e!==void 0){if(hn(t))throw new Error("public spaces need a path provided");return B("spaces",e,n||"")}return t.webDavPath},Lp=(t,e)=>({copyFiles(r,{path:n,fileId:i},s,{path:o,parentFolderId:a,name:l},{overwrite:c,...u}={}){const h=ze(r,{fileId:i,path:n}),d=ze(s,{fileId:a,path:o,name:l});return t.copy(h,d,{overwrite:c||!1,...u})}}),_p=(t,e,r)=>({async createFolder(n,{path:i,parentFolderId:s,folderName:o,fetchFolder:a=!0,...l}){const c=ze(n,{fileId:s,path:i,name:o});if(await t.mkcol(c),a)return e.getFileInfo(n,{path:i},l)}}),$p=(t,{axiosClient:e})=>({async getFileContents(r,{fileId:n,path:i},{responseType:s="text",noCache:o=!0,headers:a,...l}={}){try{const c=ze(r,{fileId:n,path:i}),u=await e.get(t.getFileUrl(c),{responseType:s,headers:{...o&&{"Cache-Control":"no-cache"},...a||{}},...l});return{response:u,body:u.data,headers:{ETag:u.headers.etag,"OC-ETag":u.headers["oc-etag"],"OC-FileId":u.headers["oc-fileid"]}}}catch(c){const{message:u,response:h}=c;throw new zi(u,h,h.status)}}}),Up=(t,e)=>({async getFileInfo(r,n,i){return(await t.listFiles(r,n,{depth:0,...i})).resource}}),kp=(t,e,r,{axiosClient:n,baseUrl:i})=>({async getFileUrl(s,o,{disposition:a="attachment",version:l=null,username:c="",...u}){if(a==="inline"){const d=await e.getFileContents(s,o,{responseType:"blob",...u});return URL.createObjectURL(d.body)}if(l){if(!c)throw new Error("username is required for URL signing");const d=t.getFileUrl(B("meta",o.fileId,"v",l));return await Fp(i,n).signUrl(d,c)}if(o.downloadURL)return o.downloadURL;const{downloadURL:h}=await r.getFileInfo(s,o,{davProperties:[C.DownloadURL]});return h},revokeUrl:s=>{s&&s.startsWith("blob:")&&URL.revokeObjectURL(s)}}),Bp=(t,e)=>({getPublicFileUrl(r,n){return t.getFileUrl(B("public-files",n))}}),jp=(t,e,r)=>({async listFiles(n,{path:i,fileId:s}={},{depth:o=1,davProperties:a,isTrash:l=!1,...c}={}){let u;if(hn(n)){u=await t.propfind(B(n.webDavPath,i),{depth:o,properties:a||st.PublicLink,...c}),u.forEach(g=>{g.filename=g.filename.split("/").slice(1).join("/")}),u.length===1&&(u[0].filename=B(n.id,i,{leadingSlash:!0})),u.forEach(g=>{g.filename=g.filename.split("/").slice(2).join("/")});const d=n.driveAlias.startsWith("ocm/")?"ocm":"public-link";if((!i||i==="/")&&o>0&&d==="ocm"&&u[0].props[C.PublicLinkItemType]==="file"&&(u=[{basename:n.fileId,type:"directory",filename:"",props:{}},...u]),!i){const[g,...m]=u;return{resource:eh({...g,id:n.id,driveAlias:n.driveAlias,webDavPath:n.webDavPath,publicLinkType:d}),children:m.map(b=>xt(b,t.extraProps))}}const y=u.map(g=>xt(g,t.extraProps));return{resource:y[0],children:y.slice(1)}}const h=async()=>{const d=await e.getPathForFileId(s);return this.listFiles(n,{path:d},{depth:o,davProperties:a})};try{let d="";if(l?d=pn(n.id):d=ze(n,{fileId:s,path:i}),u=await t.propfind(d,{depth:o,properties:a||st.Default,...c}),l)return{resource:xt(u[0],t.extraProps),children:u.slice(1).map(Zf)};const y=u.map(m=>xt(m,t.extraProps)),g=s===n.id;return s&&!g&&y[0].fileId&&s!==y[0].fileId?h():{resource:y[0],children:y.slice(1)}}catch(d){if(d.statusCode===404&&s)return h();throw d}}}),Mp=(t,e)=>({moveFiles(r,{path:n,fileId:i},s,{path:o,parentFolderId:a,name:l},{overwrite:c,...u}={}){const h=ze(r,{fileId:i,path:n}),d=ze(s,{fileId:a,path:o,name:l});return t.move(h,d,{overwrite:c||!1,...u})}}),Vp=(t,e,r)=>({async putFileContents(n,{fileName:i,path:s,parentFolderId:o,content:a="",previousEntityTag:l="",overwrite:c,onUploadProgress:u=null,...h}){const d=ze(n,{fileId:o,name:i,path:s}),{result:y}=await t.put(d,a,{previousEntityTag:l,overwrite:c,onUploadProgress:u,...h});return e.getFileInfo(n,{fileId:y.headers.get("Oc-Fileid"),path:s})}}),Dp=(t,e)=>({deleteFile(r,{path:n,...i}){return t.delete(B(r.webDavPath,n),i)}}),Hp=(t,e)=>({restoreFile(r,{id:n},{path:i},{overwrite:s,...o}={}){if(hn(r))return;const a=B(r.webDavPath,i);return t.move(B(r.webDavTrashPath,n),a,{overwrite:s,...o})}}),zp=(t,e)=>({restoreFileVersion(r,{parentFolderId:n,name:i,path:s},o,a={}){const l=ze(r,{path:s,fileId:n,name:i}),c=B("meta",n,"v",o,{leadingSlash:!0}),u=B("files",l,{leadingSlash:!0});return t.copy(c,u,a)}}),qp=(t,e)=>({clearTrashBin(r,{id:n,...i}={}){let s=pn(r.id);return n&&(s=B(s,n)),t.delete(s,i)}}),Wp=(t,e)=>({async search(r,{davProperties:n=st.Default,searchLimit:i,...s}){const o="/spaces/",{range:a,results:l}=await t.report(o,{pattern:r,limit:i,properties:n,...s});return{resources:l.map(c=>({...xt(c,t.extraProps),highlights:c.props[C.Highlights]||""})),totalResults:a?parseInt(a?.split("/")[1]):null}}}),Gp=(t,e)=>({async getPathForFileId(r,n={}){return(await t.propfind(B("meta",r,{leadingSlash:!0}),{properties:[C.MetaPathForUser],...n}))[0].props[C.MetaPathForUser]}});var En={};var Kp={2:t=>{function e(i,s,o){i instanceof RegExp&&(i=r(i,o)),s instanceof RegExp&&(s=r(s,o));var a=n(i,s,o);return a&&{start:a[0],end:a[1],pre:o.slice(0,a[0]),body:o.slice(a[0]+i.length,a[1]),post:o.slice(a[1]+s.length)}}function r(i,s){var o=s.match(i);return o?o[0]:null}function n(i,s,o){var a,l,c,u,h,d=o.indexOf(i),y=o.indexOf(s,d+1),g=d;if(d>=0&&y>0){for(a=[],c=o.length;g>=0&&!h;)g==d?(a.push(g),d=o.indexOf(i,g+1)):a.length==1?h=[a.pop(),y]:((l=a.pop())=0?d:y;a.length&&(h=[c,u])}return h}t.exports=e,e.range=n},47:(t,e,r)=>{var n=r(410),i=function(c){return typeof c=="string"};function s(c,u){for(var h=[],d=0;d=-1&&!u;h--){var d=h>=0?arguments[h]:tt.cwd();if(!i(d))throw new TypeError("Arguments to path.resolve must be strings");d&&(c=d+"/"+c,u=d.charAt(0)==="/")}return(u?"/":"")+(c=s(c.split("/"),!u).join("/"))||"."},a.normalize=function(c){var u=a.isAbsolute(c),h=c.substr(-1)==="/";return(c=s(c.split("/"),!u).join("/"))||u||(c="."),c&&h&&(c+="/"),(u?"/":"")+c},a.isAbsolute=function(c){return c.charAt(0)==="/"},a.join=function(){for(var c="",u=0;u=0&&E[A]==="";A--);return v>A?[]:E.slice(v,A+1)}c=a.resolve(c).substr(1),u=a.resolve(u).substr(1);for(var d=h(c.split("/")),y=h(u.split("/")),g=Math.min(d.length,y.length),m=g,b=0;b>18&63)+a.charAt(g>>12&63)+a.charAt(g>>6&63)+a.charAt(63&g);return m==2?(h=u.charCodeAt(T)<<8,d=u.charCodeAt(++T),b+=a.charAt((g=h+d)>>10)+a.charAt(g>>4&63)+a.charAt(g<<2&63)+"="):m==1&&(g=u.charCodeAt(T),b+=a.charAt(g>>2)+a.charAt(g<<4&63)+"=="),b},decode:function(u){var h=(u=String(u).replace(l,"")).length;h%4==0&&(h=(u=u.replace(/==?$/,"")).length),(h%4==1||/[^+a-zA-Z0-9/]/.test(u))&&o("Invalid character: the string to be decoded is not correctly encoded.");for(var d,y,g=0,m="",b=-1;++b>(-2*g&6)));return m},version:"1.0.0"};(n=function(){return c}.call(e,r,e,t))===void 0||(t.exports=n)})()},135:t=>{function e(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}t.exports=function(r){return r!=null&&(e(r)||(function(n){return typeof n.readFloatLE=="function"&&typeof n.slice=="function"&&e(n.slice(0,0))})(r)||!!r._isBuffer)}},172:(t,e)=>{e.d=function(r){if(!r)return 0;for(var n=(r=r.toString()).length,i=r.length;i--;){var s=r.charCodeAt(i);56320<=s&&s<=57343&&i--,127{var n=r(2);t.exports=function(T){return T?(T.substr(0,2)==="{}"&&(T="\\{\\}"+T.substr(2)),b((function(E){return E.split("\\\\").join(i).split("\\{").join(s).split("\\}").join(o).split("\\,").join(a).split("\\.").join(l)})(T),!0).map(u)):[]};var i="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",o="\0CLOSE"+Math.random()+"\0",a="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function c(T){return parseInt(T,10)==T?parseInt(T,10):T.charCodeAt(0)}function u(T){return T.split(i).join("\\").split(s).join("{").split(o).join("}").split(a).join(",").split(l).join(".")}function h(T){if(!T)return[""];var E=[],v=n("{","}",T);if(!v)return T.split(",");var A=v.pre,I=v.body,F=v.post,L=A.split(",");L[L.length-1]+="{"+I+"}";var $=h(F);return F.length&&(L[L.length-1]+=$.shift(),L.push.apply(L,$)),E.push.apply(E,L),E}function d(T){return"{"+T+"}"}function y(T){return/^-?0\d/.test(T)}function g(T,E){return T<=E}function m(T,E){return T>=E}function b(T,E){var v=[],A=n("{","}",T);if(!A)return[T];var I=A.pre,F=A.post.length?b(A.post,!1):[""];if(/\$$/.test(A.pre))for(var L=0;L=0;if(!R&&!le)return A.post.match(/,(?!,).*\}/)?b(T=A.pre+"{"+A.body+o+A.post):[T];if(R)_=A.body.split(/\.\./);else if((_=h(A.body)).length===1&&(_=b(_[0],!1).map(d)).length===1)return F.map((function(_r){return A.pre+_[0]+_r}));if(R){var Se=c(_[0]),Y=c(_[1]),ae=Math.max(_[0].length,_[1].length),K=_.length==3?Math.abs(c(_[2])):1,Be=g;Y0){var D=new Array(Ze+1).join("0");ce=re<0?"-"+D+ce.slice(1):D+ce}}j.push(ce)}}else{j=[];for(var z=0;z<_.length;z++)j.push.apply(j,b(_[z],!1))}for(z=0;z{var e,r;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(n,i){return n<>>32-i},rotr:function(n,i){return n<<32-i|n>>>i},endian:function(n){if(n.constructor==Number)return 16711935&r.rotl(n,8)|4278255360&r.rotl(n,24);for(var i=0;i0;n--)i.push(Math.floor(256*Math.random()));return i},bytesToWords:function(n){for(var i=[],s=0,o=0;s>>5]|=n[s]<<24-o%32;return i},wordsToBytes:function(n){for(var i=[],s=0;s<32*n.length;s+=8)i.push(n[s>>>5]>>>24-s%32&255);return i},bytesToHex:function(n){for(var i=[],s=0;s>>4).toString(16)),i.push((15&n[s]).toString(16));return i.join("")},hexToBytes:function(n){for(var i=[],s=0;s>>6*(3-a)&63)):i.push("=");return i.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],s=0,o=0;s>>6-2*o);return i}},t.exports=r},345:()=>{},388:()=>{},410:()=>{},526:t=>{var e={utf8:{stringToBytes:function(r){return e.bin.stringToBytes(unescape(encodeURIComponent(r)))},bytesToString:function(r){return decodeURIComponent(escape(e.bin.bytesToString(r)))}},bin:{stringToBytes:function(r){for(var n=[],i=0;i{(function(){var n=r(298),i=r(526).utf8,s=r(135),o=r(526).bin,a=function(l,c){l.constructor==String?l=c&&c.encoding==="binary"?o.stringToBytes(l):i.stringToBytes(l):s(l)?l=Array.prototype.slice.call(l,0):Array.isArray(l)||l.constructor===Uint8Array||(l=l.toString());for(var u=n.bytesToWords(l),h=8*l.length,d=1732584193,y=-271733879,g=-1732584194,m=271733878,b=0;b>>24)|4278255360&(u[b]<<24|u[b]>>>8);u[h>>>5]|=128<>>9<<4)]=h;var T=a._ff,E=a._gg,v=a._hh,A=a._ii;for(b=0;b>>0,y=y+F>>>0,g=g+L>>>0,m=m+$>>>0}return n.endian([d,y,g,m])};a._ff=function(l,c,u,h,d,y,g){var m=l+(c&u|~c&h)+(d>>>0)+g;return(m<>>32-y)+c},a._gg=function(l,c,u,h,d,y,g){var m=l+(c&h|u&~h)+(d>>>0)+g;return(m<>>32-y)+c},a._hh=function(l,c,u,h,d,y,g){var m=l+(c^u^h)+(d>>>0)+g;return(m<>>32-y)+c},a._ii=function(l,c,u,h,d,y,g){var m=l+(u^(c|~h))+(d>>>0)+g;return(m<>>32-y)+c},a._blocksize=16,a._digestsize=16,t.exports=function(l,c){if(l==null)throw new Error("Illegal argument "+l);var u=n.wordsToBytes(a(l,c));return c&&c.asBytes?u:c&&c.asString?o.bytesToString(u):n.bytesToHex(u)}})()},647:(t,e)=>{var r=Object.prototype.hasOwnProperty;function n(s){try{return decodeURIComponent(s.replace(/\+/g," "))}catch{return null}}function i(s){try{return encodeURIComponent(s)}catch{return null}}e.stringify=function(s,o){o=o||"";var a,l,c=[];for(l in typeof o!="string"&&(o="?"),s)if(r.call(s,l)){if((a=s[l])||a!=null&&!isNaN(a)||(a=""),l=i(l),a=i(a),l===null||a===null)continue;c.push(l+"="+a)}return c.length?o+c.join("&"):""},e.parse=function(s){for(var o,a=/([^=?#&]+)=?([^&]*)/g,l={};o=a.exec(s);){var c=n(o[1]),u=n(o[2]);c===null||u===null||c in l||(l[c]=u)}return l}},670:t=>{t.exports=function(e,r){if(r=r.split(":")[0],!(e=+e))return!1;switch(r){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0}},737:(t,e,r)=>{var n=r(670),i=r(647),s=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,o=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,u=/^[a-zA-Z]:/;function h(E){return(E||"").toString().replace(s,"")}var d=[["#","hash"],["?","query"],function(E,v){return m(v.protocol)?E.replace(/\\/g,"/"):E},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],y={hash:1,query:1};function g(E){var v,A=(typeof window<"u"?window:typeof Fe<"u"?Fe:typeof self<"u"?self:{}).location||{},I={},F=typeof(E=E||A);if(E.protocol==="blob:")I=new T(unescape(E.pathname),{});else if(F==="string")for(v in I=new T(E,{}),y)delete I[v];else if(F==="object"){for(v in E)v in y||(I[v]=E[v]);I.slashes===void 0&&(I.slashes=a.test(E.href))}return I}function m(E){return E==="file:"||E==="ftp:"||E==="http:"||E==="https:"||E==="ws:"||E==="wss:"}function b(E,v){E=(E=h(E)).replace(o,""),v=v||{};var A,I=c.exec(E),F=I[1]?I[1].toLowerCase():"",L=!!I[2],$=!!I[3],_=0;return L?$?(A=I[2]+I[3]+I[4],_=I[2].length+I[3].length):(A=I[2]+I[4],_=I[2].length):$?(A=I[3]+I[4],_=I[3].length):A=I[4],F==="file:"?_>=2&&(A=A.slice(2)):m(F)?A=I[4]:F?L&&(A=A.slice(2)):_>=2&&m(v.protocol)&&(A=I[4]),{protocol:F,slashes:L||m(F),slashesCount:_,rest:A}}function T(E,v,A){if(E=(E=h(E)).replace(o,""),!(this instanceof T))return new T(E,v,A);var I,F,L,$,_,j,de=d.slice(),oe=typeof v,R=this,le=0;for(oe!=="object"&&oe!=="string"&&(A=v,v=null),A&&typeof A!="function"&&(A=i.parse),I=!(F=b(E||"",v=g(v))).protocol&&!F.slashes,R.slashes=F.slashes||I&&v.slashes,R.protocol=F.protocol||v.protocol||"",E=F.rest,(F.protocol==="file:"&&(F.slashesCount!==2||u.test(E))||!F.slashes&&(F.protocol||F.slashesCount<2||!m(R.protocol)))&&(de[3]=[/(.*)/,"pathname"]);le{},805:()=>{},829:t=>{function e(c){return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},e(c)}function r(c){var u=typeof Map=="function"?new Map:void 0;return r=function(h){if(h===null||(d=h,Function.toString.call(d).indexOf("[native code]")===-1))return h;var d;if(typeof h!="function")throw new TypeError("Super expression must either be null or a function");if(u!==void 0){if(u.has(h))return u.get(h);u.set(h,y)}function y(){return n(h,arguments,s(this).constructor)}return y.prototype=Object.create(h.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),i(y,h)},r(c)}function n(c,u,h){return n=(function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch{return!1}})()?Reflect.construct:function(d,y,g){var m=[null];m.push.apply(m,y);var b=new(Function.bind.apply(d,m));return g&&i(b,g.prototype),b},n.apply(null,arguments)}function i(c,u){return i=Object.setPrototypeOf||function(h,d){return h.__proto__=d,h},i(c,u)}function s(c){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)},s(c)}var o=(function(c){function u(h){var d;return(function(y,g){if(!(y instanceof g))throw new TypeError("Cannot call a class as a function")})(this,u),(d=(function(y,g){return!g||e(g)!=="object"&&typeof g!="function"?(function(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m})(y):g})(this,s(u).call(this,h))).name="ObjectPrototypeMutationError",d}return(function(h,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");h.prototype=Object.create(d&&d.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),d&&i(h,d)})(u,c),u})(r(Error));function a(c,u){for(var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},d=u.split("."),y=d.length,g=function(T){var E=d[T];if(!c)return{v:void 0};if(E==="+"){if(Array.isArray(c))return{v:c.map((function(A,I){var F=d.slice(T+1);return F.length>0?a(A,F.join("."),h):h(c,I,d,T)}))};var v=d.slice(0,T).join(".");throw new Error("Object at wildcard (".concat(v,") is not an array"))}c=h(c,E,d,T)},m=0;m2&&arguments[2]!==void 0?arguments[2]:{};if(e(c)!="object"||c===null||u===void 0)return!1;if(typeof u=="number")return u in c;try{var d=!1;return a(c,u,(function(y,g,m,b){if(!l(m,b))return y&&y[g];d=h.own?y.hasOwnProperty(g):g in y})),d}catch{return!1}},hasOwn:function(c,u,h){return this.has(c,u,h||{own:!0})},isIn:function(c,u,h){var d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e(c)!="object"||c===null||u===void 0)return!1;try{var y=!1,g=!1;return a(c,u,(function(m,b,T,E){return y=y||m===h||!!m&&m[b]===h,g=l(T,E)&&e(m)==="object"&&b in m,m&&m[b]})),d.validPath?y&&g:y}catch{return!1}},ObjectPrototypeMutationError:o}}},Zs={};function H(t){var e=Zs[t];if(e!==void 0)return e.exports;var r=Zs[t]={id:t,loaded:!1,exports:{}};return Kp[t].call(r.exports,r,r.exports,H),r.loaded=!0,r.exports}H.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return H.d(e,{a:e}),e},H.d=(t,e)=>{for(var r in e)H.o(e,r)&&!H.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},H.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),H.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var Yp=H(737),Jp=H.n(Yp);function vn(t){if(!Tn(t))throw new Error("Parameter was not an error")}function Tn(t){return!!t&&typeof t=="object"&&(e=t,Object.prototype.toString.call(e)==="[object Error]")||t instanceof Error;var e}class me extends Error{constructor(e,r){const n=[...arguments],{options:i,shortMessage:s}=(function(a){let l,c="";if(a.length===0)l={};else if(Tn(a[0]))l={cause:a[0]},c=a.slice(1).join(" ")||"";else if(a[0]&&typeof a[0]=="object")l=Object.assign({},a[0]),c=a.slice(1).join(" ")||"";else{if(typeof a[0]!="string")throw new Error("Invalid arguments passed to Layerr");l={},c=c=a.join(" ")||""}return{options:l,shortMessage:c}})(n);let o=s;if(i.cause&&(o=`${o}: ${i.cause.message}`),super(o),this.message=o,i.name&&typeof i.name=="string"?this.name=i.name:this.name="Layerr",i.cause&&Object.defineProperty(this,"_cause",{value:i.cause}),Object.defineProperty(this,"_info",{value:{}}),i.info&&typeof i.info=="object"&&Object.assign(this._info,i.info),Error.captureStackTrace){const a=i.constructorOpt||this.constructor;Error.captureStackTrace(this,a)}}static cause(e){return vn(e),e._cause&&Tn(e._cause)?e._cause:null}static fullStack(e){vn(e);const r=me.cause(e);return r?`${e.stack} +caused by: ${me.fullStack(r)}`:e.stack??""}static info(e){vn(e);const r={},n=me.cause(e);return n&&Object.assign(r,me.info(n)),e._info&&Object.assign(r,e._info),r}toString(){let e=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e=`${e}: ${this.message}`),e}}var Xp=H(47),Ar=H.n(Xp);const Qs="__PATH_SEPARATOR_POSIX__",eo="__PATH_SEPARATOR_WINDOWS__";function W(t){try{const e=t.replace(/\//g,Qs).replace(/\\\\/g,eo);return encodeURIComponent(e).split(eo).join("\\\\").split(Qs).join("/")}catch(e){throw new me(e,"Failed encoding path")}}function to(t){return t.startsWith("/")?t:"/"+t}function Ht(t){let e=t;return e[0]!=="/"&&(e="/"+e),/^.+\/$/.test(e)&&(e=e.substr(0,e.length-1)),e}function Zp(t){let e=new(Jp())(t).pathname;return e.length<=0&&(e="/"),Ht(e)}function G(){for(var t=arguments.length,e=new Array(t),r=0;r1){var s=n.shift();n[0]=s+n[0]}n[0].match(/^file:\/\/\//)?n[0]=n[0].replace(/^([^/:]+):\/*/,"$1:///"):n[0]=n[0].replace(/^([^/:]+):\/*/,"$1://");for(var o=0;o0&&(a=a.replace(/^[\/]+/,"")),a=o0?"?":"")+c.join("&")})(typeof arguments[0]=="object"?arguments[0]:[].slice.call(arguments))})(e.reduce(((n,i,s)=>((s===0||i!=="/"||i==="/"&&n[n.length-1]!=="/")&&n.push(i),n)),[]))}var Qp=H(542),zt=H.n(Qp);function ro(t,e){const r=t.url.replace("//",""),n=r.indexOf("/")==-1?"/":r.slice(r.indexOf("/")),i=t.method?t.method.toUpperCase():"GET",s=!!/(^|,)\s*auth\s*($|,)/.test(e.qop)&&"auth",o=`00000000${e.nc}`.slice(-8),a=(function(d,y,g,m,b,T,E){const v=E||zt()(`${y}:${g}:${m}`);return d&&d.toLowerCase()==="md5-sess"?zt()(`${v}:${b}:${T}`):v})(e.algorithm,e.username,e.realm,e.password,e.nonce,e.cnonce,e.ha1),l=zt()(`${i}:${n}`),c=s?zt()(`${a}:${e.nonce}:${o}:${e.cnonce}:${s}:${l}`):zt()(`${a}:${e.nonce}:${l}`),u={username:e.username,realm:e.realm,nonce:e.nonce,uri:n,qop:s,response:c,nc:o,cnonce:e.cnonce,algorithm:e.algorithm,opaque:e.opaque},h=[];for(const d in u)u[d]&&(d==="qop"||d==="nc"||d==="algorithm"?h.push(`${d}=${u[d]}`):h.push(`${d}="${u[d]}"`));return`Digest ${h.join(", ")}`}function no(t){return(t.headers&&t.headers.get("www-authenticate")||"").split(/\s/)[0].toLowerCase()==="digest"}var ed=H(101),io=H.n(ed);function so(t){return io().decode(t)}function oo(t,e){var r;return`Basic ${r=`${t}:${e}`,io().encode(r)}`}const ao=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:typeof window<"u"?window:globalThis,td=ao.fetch.bind(ao);let Te=(function(t){return t.Auto="auto",t.Digest="digest",t.None="none",t.Password="password",t.Token="token",t})({}),Ye=(function(t){return t.DataTypeNoLength="data-type-no-length",t.InvalidAuthType="invalid-auth-type",t.InvalidOutputFormat="invalid-output-format",t.LinkUnsupportedAuthType="link-unsupported-auth",t.InvalidUpdateRange="invalid-update-range",t.NotSupported="not-supported",t})({});function uo(t,e,r,n,i){switch(t.authType){case Te.Auto:e&&r&&(t.headers.Authorization=oo(e,r));break;case Te.Digest:t.digest=(function(o,a,l){return{username:o,password:a,ha1:l,nc:0,algorithm:"md5",hasDigestAuth:!1}})(e,r,i);break;case Te.None:break;case Te.Password:t.headers.Authorization=oo(e,r);break;case Te.Token:t.headers.Authorization=`${(s=n).token_type} ${s.access_token}`;break;default:throw new me({info:{code:Ye.InvalidAuthType}},`Invalid auth type: ${t.authType}`)}var s}H(345),H(800);const lo="@@HOTPATCHER",rd=()=>{};function Nn(t){return{original:t,methods:[t],final:!1}}class nd{constructor(){this._configuration={registry:{},getEmptyAction:"null"},this.__type__=lo}get configuration(){return this._configuration}get getEmptyAction(){return this.configuration.getEmptyAction}set getEmptyAction(e){this.configuration.getEmptyAction=e}control(e){let r=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(!e||e.__type__!==lo)throw new Error("Failed taking control of target HotPatcher instance: Invalid type or object");return Object.keys(e.configuration.registry).forEach((n=>{this.configuration.registry.hasOwnProperty(n)?r&&(this.configuration.registry[n]=Object.assign({},e.configuration.registry[n])):this.configuration.registry[n]=Object.assign({},e.configuration.registry[n])})),e._configuration=this.configuration,this}execute(e){const r=this.get(e)||rd;for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s0;)c=[i.shift().apply(u,c)];return c[0]}})(...r.methods)}isPatched(e){return!!this.configuration.registry[e]}patch(e,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{chain:i=!1}=n;if(this.configuration.registry[e]&&this.configuration.registry[e].final)throw new Error(`Failed patching '${e}': Method marked as being final`);if(typeof r!="function")throw new Error(`Failed patching '${e}': Provided method is not a function`);if(i)this.configuration.registry[e]?this.configuration.registry[e].methods.push(r):this.configuration.registry[e]=Nn(r);else if(this.isPatched(e)){const{original:s}=this.configuration.registry[e];this.configuration.registry[e]=Object.assign(Nn(r),{original:s})}else this.configuration.registry[e]=Nn(r);return this}patchInline(e,r){this.isPatched(e)||this.patch(e,r);for(var n=arguments.length,i=new Array(n>2?n-2:0),s=2;s1?r-1:0),i=1;i{this.patch(e,s,{chain:!0})})),this}restore(e){if(!this.isPatched(e))throw new Error(`Failed restoring method: No method present for key: ${e}`);if(typeof this.configuration.registry[e].original!="function")throw new Error(`Failed restoring method: Original method not found or of invalid type for key: ${e}`);return this.configuration.registry[e].methods=[this.configuration.registry[e].original],this}setFinal(e){if(!this.configuration.registry.hasOwnProperty(e))throw new Error(`Failed marking '${e}' as final: No method found for key`);return this.configuration.registry[e].final=!0,this}}let An=null;function id(){return An||(An=new nd),An}function Pr(t){return(function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let r=e;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r})(t)?Object.assign({},t):Object.setPrototypeOf(Object.assign({},t),Object.getPrototypeOf(t))}function co(){for(var t=arguments.length,e=new Array(t),r=0;r0;){const s=i.shift();n=n?fo(n,s):Pr(s)}return n}function fo(t,e){const r=Pr(t);return Object.keys(e).forEach((n=>{r.hasOwnProperty(n)?Array.isArray(e[n])?r[n]=Array.isArray(r[n])?[...r[n],...e[n]]:[...e[n]]:typeof e[n]=="object"&&e[n]?r[n]=typeof r[n]=="object"&&r[n]?fo(r[n],e[n]):Pr(e[n]):r[n]=e[n]:r[n]=e[n]})),r}function sd(t){const e={};for(const r of t.keys())e[r]=t.get(r);return e}function Pn(){for(var t=arguments.length,e=new Array(t),r=0;r(Object.keys(s).forEach((o=>{const a=o.toLowerCase();n.hasOwnProperty(a)?i[n[a]]=s[o]:(n[a]=o,i[o]=s[o])})),i)),{})}H(805);const od=typeof ArrayBuffer=="function",{toString:ad}=Object.prototype;function ho(t){return od&&(t instanceof ArrayBuffer||ad.call(t)==="[object ArrayBuffer]")}function po(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Sn(t){return function(){for(var e=[],r=0;re.patchInline("fetch",td,r.url,(function(n){let i={};const s={method:n.method};if(n.headers&&(i=Pn(i,n.headers)),n.data!==void 0){const[o,a]=(function(l){if(typeof l=="string")return[l,{}];if(po(l))return[l,{}];if(ho(l))return[l,{}];if(l&&typeof l=="object")return[JSON.stringify(l),{"content-type":"application/json"}];throw new Error("Unable to convert request body: Unexpected body type: "+typeof l)})(n.data);s.body=o,i=Pn(i,a)}return n.signal&&(s.signal=n.signal),n.withCredentials&&(s.credentials="include"),s.headers=i,s})(r))),t)}var ld=H(285);const Ir=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},cd={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},qt=t=>t.replace(/[[\]\\-]/g,"\\$&"),mo=t=>t.join(""),fd=(t,e)=>{const r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");const n=[],i=[];let s=r+1,o=!1,a=!1,l=!1,c=!1,u=r,h="";e:for(;sh?n.push(qt(h)+"-"+qt(m)):m===h&&n.push(qt(m)),h="",s++):t.startsWith("-]",s+1)?(n.push(qt(m+"-")),s+=2):t.startsWith("-",s+1)?(h=m,s+=2):(n.push(qt(m)),s++)}else l=!0,s++}else c=!0,s++}if(u1&&arguments[1]!==void 0?arguments[1]:{};return e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")},hd=new Set(["!","?","+","*","@"]),yo=t=>hd.has(t),On="(?!\\.)",pd=new Set(["[","."]),dd=new Set(["..","."]),gd=new Set("().*{}+?[]^$\\!"),Cn="[^/]",bo=Cn+"*?",wo=Cn+"+?";class ye{type;#e;#r;#s=!1;#t=[];#n;#p;#l;#g=!1;#f;#c;#d=!1;constructor(e,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.type=e,e&&(this.#r=!0),this.#n=r,this.#e=this.#n?this.#n.#e:this,this.#f=this.#e===this?n:this.#e.#f,this.#l=this.#e===this?[]:this.#e.#l,e!=="!"||this.#e.#g||this.#l.push(this),this.#p=this.#n?this.#n.#t.length:0}get hasMagic(){if(this.#r!==void 0)return this.#r;for(const e of this.#t)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#r=!0;return this.#r}toString(){return this.#c!==void 0?this.#c:this.type?this.#c=this.type+"("+this.#t.map((e=>String(e))).join("|")+")":this.#c=this.#t.map((e=>String(e))).join("")}#h(){if(this!==this.#e)throw new Error("should only call on root");if(this.#g)return this;let e;for(this.toString(),this.#g=!0;e=this.#l.pop();){if(e.type!=="!")continue;let r=e,n=r.#n;for(;n;){for(let i=r.#p+1;!n.type&&itypeof r=="string"?r:r.toJSON())):[this.type,...this.#t.map((r=>r.toJSON()))];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#g&&this.#n?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#n?.isStart())return!1;if(this.#p===0)return!0;const e=this.#n;for(let r=0;r1&&arguments[1]!==void 0?arguments[1]:{};const n=new ye(null,void 0,r);return ye.#o(e,n,0,r),n}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();const e=this.toString(),[r,n,i,s]=this.toRegExpSource();if(!(i||this.#r||this.#f.nocase&&!this.#f.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return n;const o=(this.#f.nocase?"i":"")+(s?"u":"");return Object.assign(new RegExp(`^${r}$`,o),{_src:r,_glob:e})}get options(){return this.#f}toRegExpSource(e){const r=e??!!this.#f.dot;if(this.#e===this&&this.#h(),!this.type){const l=this.isStart()&&this.isEnd(),c=this.#t.map((d=>{const[y,g,m,b]=typeof d=="string"?ye.#i(d,this.#r,l):d.toRegExpSource(e);return this.#r=this.#r||m,this.#s=this.#s||b,y})).join("");let u="";if(this.isStart()&&typeof this.#t[0]=="string"&&(this.#t.length!==1||!dd.has(this.#t[0]))){const d=pd,y=r&&d.has(c.charAt(0))||c.startsWith("\\.")&&d.has(c.charAt(2))||c.startsWith("\\.\\.")&&d.has(c.charAt(4)),g=!r&&!e&&d.has(c.charAt(0));u=y?"(?!(?:^|/)\\.\\.?(?:$|/))":g?On:""}let h="";return this.isEnd()&&this.#e.#g&&this.#n?.type==="!"&&(h="(?:$|\\/)"),[u+c+h,Wt(c),this.#r=!!this.#r,this.#s]}const n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:";let s=this.#a(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){const l=this.toString();return this.#t=[l],this.type=null,this.#r=void 0,[l,Wt(this.toString()),!1,!1]}let o=!n||e||r?"":this.#a(!0);o===s&&(o=""),o&&(s=`(?:${s})(?:${o})*?`);let a="";return a=this.type==="!"&&this.#d?(this.isStart()&&!r?On:"")+wo:i+s+(this.type==="!"?"))"+(!this.isStart()||r||e?"":On)+bo+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&o?")":this.type==="*"&&o?")?":`)${this.type}`),[a,Wt(s),this.#r=!!this.#r,this.#s]}#a(e){return this.#t.map((r=>{if(typeof r=="string")throw new Error("string type in extglob ast??");const[n,i,s,o]=r.toRegExpSource(e);return this.#s=this.#s||o,n})).filter((r=>!(this.isStart()&&this.isEnd()&&!r))).join("|")}static#i(e,r){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],i=!1,s="",o=!1;for(let a=0;a2&&arguments[2]!==void 0?arguments[2]:{};return Ir(e),!(!r.nocomment&&e.charAt(0)==="#")&&new Or(e,r).match(t)},md=/^\*+([^+@!?\*\[\(]*)$/,yd=t=>e=>!e.startsWith(".")&&e.endsWith(t),bd=t=>e=>e.endsWith(t),wd=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),xd=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),Ed=/^\*+\.\*+$/,vd=t=>!t.startsWith(".")&&t.includes("."),Td=t=>t!=="."&&t!==".."&&t.includes("."),Nd=/^\.\*+$/,Ad=t=>t!=="."&&t!==".."&&t.startsWith("."),Pd=/^\*+$/,Sd=t=>t.length!==0&&!t.startsWith("."),Id=t=>t.length!==0&&t!=="."&&t!=="..",Od=/^\?+([^+@!?\*\[\(]*)?$/,Cd=t=>{let[e,r=""]=t;const n=xo([e]);return r?(r=r.toLowerCase(),i=>n(i)&&i.toLowerCase().endsWith(r)):n},Rd=t=>{let[e,r=""]=t;const n=Eo([e]);return r?(r=r.toLowerCase(),i=>n(i)&&i.toLowerCase().endsWith(r)):n},Fd=t=>{let[e,r=""]=t;const n=Eo([e]);return r?i=>n(i)&&i.endsWith(r):n},Ld=t=>{let[e,r=""]=t;const n=xo([e]);return r?i=>n(i)&&i.endsWith(r):n},xo=t=>{let[e]=t;const r=e.length;return n=>n.length===r&&!n.startsWith(".")},Eo=t=>{let[e]=t;const r=e.length;return n=>n.length===r&&n!=="."&&n!==".."},vo=typeof tt=="object"&&tt?typeof En=="object"&&En&&En.__MINIMATCH_TESTING_PLATFORM__||tt.platform:"posix";pe.sep=vo==="win32"?"\\":"/";const Ce=Symbol("globstar **");pe.GLOBSTAR=Ce,pe.filter=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r=>pe(r,t,e)};const Re=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.assign({},t,e)};pe.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return pe;const e=pe;return Object.assign((function(r,n){return e(r,n,Re(t,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))}),{Minimatch:class extends e.Minimatch{constructor(r){super(r,Re(t,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}))}static defaults(r){return e.defaults(Re(t,r)).Minimatch}},AST:class extends e.AST{constructor(r,n){super(r,n,Re(t,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))}static fromGlob(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.AST.fromGlob(r,Re(t,n))}},unescape:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.unescape(r,Re(t,n))},escape:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.escape(r,Re(t,n))},filter:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.filter(r,Re(t,n))},defaults:r=>e.defaults(Re(t,r)),makeRe:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.makeRe(r,Re(t,n))},braceExpand:function(r){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.braceExpand(r,Re(t,n))},match:function(r,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return e.match(r,n,Re(t,i))},sep:e.sep,GLOBSTAR:Ce})};const To=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ir(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:ld(t)};pe.braceExpand=To,pe.makeRe=function(t){return new Or(t,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).makeRe()},pe.match=function(t,e){const r=new Or(e,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{});return t=t.filter((n=>r.match(n))),r.options.nonull&&!t.length&&t.push(e),t};const No=/[?*]|[+@!]\(.*?\)|\[|\]/;class Or{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ir(e),r=r||{},this.options=r,this.pattern=e,this.platform=r.platform||vo,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const e of this.set)for(const r of e)if(typeof r!="string")return!0;return!1}debug(){}make(){const e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#")return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=function(){return console.error(...arguments)}),this.debug(this.pattern,this.globSet);const n=this.globSet.map((s=>this.slashSplit(s)));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map(((s,o,a)=>{if(this.isWindows&&this.windowsNoMagicRoot){const l=!(s[0]!==""||s[1]!==""||s[2]!=="?"&&No.test(s[2])||No.test(s[3])),c=/^[a-z]:/i.test(s[0]);if(l)return[...s.slice(0,4),...s.slice(4).map((u=>this.parse(u)))];if(c)return[s[0],...s.slice(1).map((u=>this.parse(u)))]}return s.map((l=>this.parse(l)))}));if(this.debug(this.pattern,i),this.set=i.filter((s=>s.indexOf(!1)===-1)),this.isWindows)for(let s=0;s=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):e=r>=1?this.levelOneOptimize(e):this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map((r=>{let n=-1;for(;(n=r.indexOf("**",n+1))!==-1;){let i=n;for(;r[i+1]==="**";)i++;i!==n&&r.splice(n,i-n)}return r}))}levelOneOptimize(e){return e.map((r=>(r=r.reduce(((n,i)=>{const s=n[n.length-1];return i==="**"&&s==="**"?n:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(n.pop(),n):(n.push(i),n)}),[])).length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let i=1;ii&&n.splice(i+1,o-i);let a=n[i+1];const l=n[i+2],c=n[i+3];if(a!==".."||!l||l==="."||l===".."||!c||c==="."||c==="..")continue;r=!0,n.splice(i,1);const u=n.slice(0);u[i]="**",e.push(u),i--}if(!this.preserveMultipleSlashes){for(let o=1;or.length))}partsMatch(e,r){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],i=0,s=0,o=[],a="";for(;i2&&arguments[2]!==void 0&&arguments[2];const i=this.options;if(this.isWindows){const m=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),b=!m&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),T=typeof r[0]=="string"&&/^[a-z]:$/i.test(r[0]),E=b?3:m?0:void 0,v=!T&&r[0]===""&&r[1]===""&&r[2]==="?"&&typeof r[3]=="string"&&/^[a-z]:$/i.test(r[3])?3:T?0:void 0;if(typeof E=="number"&&typeof v=="number"){const[A,I]=[e[E],r[v]];A.toLowerCase()===I.toLowerCase()&&(r[v]=A,v>E?r=r.slice(v):E>v&&(e=e.slice(E)))}}const{optimizationLevel:s=1}=this.options;s>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:r}),this.debug("matchOne",e.length,r.length);for(var o=0,a=0,l=e.length,c=r.length;o>> no match, partial?`,e,d,r,y),d!==l))}let m;if(typeof u=="string"?(m=h===u,this.debug("string match",u,h,m)):(m=u.test(h),this.debug("pattern match",u,h,m)),!m)return!1}if(o===l&&a===c)return!0;if(o===l)return n;if(a===c)return o===l-1&&e[o]==="";throw new Error("wtf?")}braceExpand(){return To(this.pattern,this.options)}parse(e){Ir(e);const r=this.options;if(e==="**")return Ce;if(e==="")return"";let n,i=null;(n=e.match(Pd))?i=r.dot?Id:Sd:(n=e.match(md))?i=(r.nocase?r.dot?xd:wd:r.dot?bd:yd)(n[1]):(n=e.match(Od))?i=(r.nocase?r.dot?Rd:Cd:r.dot?Fd:Ld)(n):(n=e.match(Ed))?i=r.dot?Td:vd:(n=e.match(Nd))&&(i=Ad);const s=ye.fromGlob(e,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;const e=this.set;if(!e.length)return this.regexp=!1,this.regexp;const r=this.options,n=r.noglobstar?"[^/]*?":r.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=new Set(r.nocase?["i"]:[]);let s=e.map((l=>{const c=l.map((u=>{if(u instanceof RegExp)for(const h of u.flags.split(""))i.add(h);return typeof u=="string"?u.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):u===Ce?Ce:u._src}));return c.forEach(((u,h)=>{const d=c[h+1],y=c[h-1];u===Ce&&y!==Ce&&(y===void 0?d!==void 0&&d!==Ce?c[h+1]="(?:\\/|"+n+"\\/)?"+d:c[h]=n:d===void 0?c[h-1]=y+"(?:\\/|"+n+")?":d!==Ce&&(c[h-1]=y+"(?:\\/|\\/"+n+"\\/)"+d,c[h+1]=Ce))})),c.filter((u=>u!==Ce)).join("/")})).join("|");const[o,a]=e.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.partial;if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;const n=this.options;this.isWindows&&(e=e.split("\\").join("/"));const i=this.slashSplit(e);this.debug(this.pattern,"split",i);const s=this.set;this.debug(this.pattern,"set",s);let o=i[i.length-1];if(!o)for(let a=i.length-2;!o&&a>=0;a--)o=i[a];for(let a=0;a1&&arguments[1]!==void 0?arguments[1]:""}Invalid response: ${t.status} ${t.statusText}`);return e.status=t.status,e.response=t,e}function se(t,e){const{status:r}=e;if(r===401&&t.digest)return e;if(r>=400)throw Rn(e);return e}function Nt(t,e){return arguments.length>2&&arguments[2]!==void 0&&arguments[2]?{data:e,headers:t.headers?sd(t.headers):{},status:t.status,statusText:t.statusText}:e}pe.AST=ye,pe.Minimatch=Or,pe.escape=function(t){let{windowsPathsNoEscape:e=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&")},pe.unescape=Wt;const _d=(Ao=function(t,e,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=ie({url:G(t.remoteURL,W(e)),method:"COPY",headers:{Destination:G(t.remoteURL,W(r)),Overwrite:n.overwrite===!1?"F":"T",Depth:n.shallow?"0":"infinity"}},t,n);return o=function(a){se(t,a)},(s=ne(i,t))&&s.then||(s=Promise.resolve(s)),o?s.then(o):s;var s,o},function(){for(var t=[],e=0;e!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,r){return t},captureMetaData:!1},Po=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ud=new RegExp("^["+Po+"]["+Po+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function So(t,e){const r=[];let n=e.exec(t);for(;n;){const i=[];i.startIndex=e.lastIndex-n[0].length;const s=n.length;for(let o=0;o0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),r!==void 0&&(this.child[this.child.length-1][Fn]={startIndex:r})}static getMetaDataSymbol(){return Fn}}class kd{constructor(e){this.suppressValidationErr=!e}readDocType(e,r){const n={};if(e[r+3]!=="O"||e[r+4]!=="C"||e[r+5]!=="T"||e[r+6]!=="Y"||e[r+7]!=="P"||e[r+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{r+=9;let i=1,s=!1,o=!1,a="";for(;r"){if(o?e[r-1]==="-"&&e[r-2]==="-"&&(o=!1,i--):i--,i===0)break}else e[r]==="["?s=!0:a+=e[r];else{if(s&&ft(e,"!ENTITY",r)){let l,c;r+=7,[l,c,r]=this.readEntityExp(e,r+1,this.suppressValidationErr),c.indexOf("&")===-1&&(n[l]={regx:RegExp(`&${l};`,"g"),val:c})}else if(s&&ft(e,"!ELEMENT",r)){r+=8;const{index:l}=this.readElementExp(e,r+1);r=l}else if(s&&ft(e,"!ATTLIST",r))r+=8;else if(s&&ft(e,"!NOTATION",r)){r+=9;const{index:l}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=l}else{if(!ft(e,"!--",r))throw new Error("Invalid DOCTYPE");o=!0}i++,a=""}if(i!==0)throw new Error("Unclosed DOCTYPE")}return{entities:n,i:r}}readEntityExp(e,r){r=Ne(e,r);let n="";for(;r{for(;e{for(const r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}class Dd{constructor(e){if(this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(r,n)=>Co(n,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(r,n)=>Co(n,16,"&#x")}},this.addExternalEntities=Hd,this.parseXml=Kd,this.parseTextData=zd,this.resolveNameSpace=qd,this.buildAttributesMap=Gd,this.isItStopNode=Zd,this.replaceEntitiesValue=Jd,this.readStopNodeData=Qd,this.saveTextToParentTag=Xd,this.addChild=Yd,this.ignoreAttributesFn=Io(this.options.ignoreAttributes),this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodesExact=new Set,this.stopNodesWildcard=new Set;for(let r=0;r0)){o||(t=this.replaceEntitiesValue(t));const a=this.options.tagValueProcessor(e,t,r,i,s);return a==null?t:typeof a!=typeof t||a!==t?a:this.options.trimValues||t.trim()===t?Oo(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function qd(t){if(this.options.removeNSPrefix){const e=t.split(":"),r=t.charAt(0)==="/"?"/":"";if(e[0]==="xmlns")return"";e.length===2&&(t=r+e[1])}return t}const Wd=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Gd(t,e){if(this.options.ignoreAttributes!==!0&&typeof t=="string"){const r=So(t,Wd),n=r.length,i={};for(let s=0;s",o,"Closing Tag is not closed.");let l=t.substring(o+2,a).trim();if(this.options.removeNSPrefix){const h=l.indexOf(":");h!==-1&&(l=l.substr(h+1))}this.options.transformTagName&&(l=this.options.transformTagName(l)),r&&(n=this.saveTextToParentTag(n,r,i));const c=i.substring(i.lastIndexOf(".")+1);if(l&&this.options.unpairedTags.indexOf(l)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let u=0;c&&this.options.unpairedTags.indexOf(c)!==-1?(u=i.lastIndexOf(".",i.lastIndexOf(".")-1),this.tagsNodeStack.pop()):u=i.lastIndexOf("."),i=i.substring(0,u),r=this.tagsNodeStack.pop(),n="",o=a}else if(t[o+1]==="?"){let a=Ln(t,o,!1,"?>");if(!a)throw new Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,r,i),!(this.options.ignoreDeclaration&&a.tagName==="?xml"||this.options.ignorePiTags)){const l=new ct(a.tagName);l.add(this.options.textNodeName,""),a.tagName!==a.tagExp&&a.attrExpPresent&&(l[":@"]=this.buildAttributesMap(a.tagExp,i)),this.addChild(r,l,i,o)}o=a.closeIndex+1}else if(t.substr(o+1,3)==="!--"){const a=ht(t,"-->",o+4,"Comment is not closed.");if(this.options.commentPropName){const l=t.substring(o+4,a-2);n=this.saveTextToParentTag(n,r,i),r.add(this.options.commentPropName,[{[this.options.textNodeName]:l}])}o=a}else if(t.substr(o+1,2)==="!D"){const a=s.readDocType(t,o);this.docTypeEntities=a.entities,o=a.i}else if(t.substr(o+1,2)==="!["){const a=ht(t,"]]>",o,"CDATA is not closed.")-2,l=t.substring(o+9,a);n=this.saveTextToParentTag(n,r,i);let c=this.parseTextData(l,r.tagname,i,!0,!1,!0,!0);c==null&&(c=""),this.options.cdataPropName?r.add(this.options.cdataPropName,[{[this.options.textNodeName]:l}]):r.add(this.options.textNodeName,c),o=a+2}else{let a=Ln(t,o,this.options.removeNSPrefix),l=a.tagName;const c=a.rawTagName;let u=a.tagExp,h=a.attrExpPresent,d=a.closeIndex;if(this.options.transformTagName){const m=this.options.transformTagName(l);u===l&&(u=m),l=m}r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,i,!1));const y=r;y&&this.options.unpairedTags.indexOf(y.tagname)!==-1&&(r=this.tagsNodeStack.pop(),i=i.substring(0,i.lastIndexOf("."))),l!==e.tagname&&(i+=i?"."+l:l);const g=o;if(this.isItStopNode(this.stopNodesExact,this.stopNodesWildcard,i,l)){let m="";if(u.length>0&&u.lastIndexOf("/")===u.length-1)l[l.length-1]==="/"?(l=l.substr(0,l.length-1),i=i.substr(0,i.length-1),u=l):u=u.substr(0,u.length-1),o=a.closeIndex;else if(this.options.unpairedTags.indexOf(l)!==-1)o=a.closeIndex;else{const T=this.readStopNodeData(t,c,d+1);if(!T)throw new Error(`Unexpected end of ${c}`);o=T.i,m=T.tagContent}const b=new ct(l);l!==u&&h&&(b[":@"]=this.buildAttributesMap(u,i)),m&&(m=this.parseTextData(m,l,i,!0,h,!0,!0)),i=i.substr(0,i.lastIndexOf(".")),b.add(this.options.textNodeName,m),this.addChild(r,b,i,g)}else{if(u.length>0&&u.lastIndexOf("/")===u.length-1){if(l[l.length-1]==="/"?(l=l.substr(0,l.length-1),i=i.substr(0,i.length-1),u=l):u=u.substr(0,u.length-1),this.options.transformTagName){const b=this.options.transformTagName(l);u===l&&(u=b),l=b}const m=new ct(l);l!==u&&h&&(m[":@"]=this.buildAttributesMap(u,i)),this.addChild(r,m,i,g),i=i.substr(0,i.lastIndexOf("."))}else{const m=new ct(l);this.tagsNodeStack.push(r),l!==u&&h&&(m[":@"]=this.buildAttributesMap(u,i)),this.addChild(r,m,i,g),r=m}n="",o=d}}else n+=t[o];return e.child};function Yd(t,e,r,n){this.options.captureMetaData||(n=void 0);const i=this.options.updateTag(e.tagname,r,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,n))}const Jd=function(t){if(this.options.processEntities){for(let e in this.docTypeEntities){const r=this.docTypeEntities[e];t=t.replace(r.regx,r.val)}for(let e in this.lastEntities){const r=this.lastEntities[e];t=t.replace(r.regex,r.val)}if(this.options.htmlEntities)for(let e in this.htmlEntities){const r=this.htmlEntities[e];t=t.replace(r.regex,r.val)}t=t.replace(this.ampEntity.regex,this.ampEntity.val)}return t};function Xd(t,e,r,n){return t&&(n===void 0&&(n=e.child.length===0),(t=this.parseTextData(t,e.tagname,r,!1,!!e[":@"]&&Object.keys(e[":@"]).length!==0,n))!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}function Zd(t,e,r,n){return!(!e||!e.has(n))||!(!t||!t.has(r))}function ht(t,e,r,n){const i=t.indexOf(e,r);if(i===-1)throw new Error(n);return i+e.length-1}function Ln(t,e,r){const n=(function(u,h){let d,y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:">",g="";for(let m=h;m3&&arguments[3]!==void 0?arguments[3]:">");if(!n)return;let i=n.data;const s=n.index,o=i.search(/\s/);let a=i,l=!0;o!==-1&&(a=i.substring(0,o),i=i.substring(o+1).trimStart());const c=a;if(r){const u=a.indexOf(":");u!==-1&&(a=a.substr(u+1),l=a!==n.data.substr(u+1))}return{tagName:a,tagExp:i,closeIndex:s,attrExpPresent:l,rawTagName:c}}function Qd(t,e,r){const n=r;let i=1;for(;r",r,`${e} is not closed`);if(t.substring(r+2,s).trim()===e&&(i--,i===0))return{tagContent:t.substring(n,r),i:s};r=s}else if(t[r+1]==="?")r=ht(t,"?>",r+1,"StopNode is not closed.");else if(t.substr(r+1,3)==="!--")r=ht(t,"-->",r+3,"StopNode is not closed.");else if(t.substr(r+1,2)==="![")r=ht(t,"]]>",r,"StopNode is not closed.")-2;else{const s=Ln(t,r,">");s&&((s&&s.tagName)===e&&s.tagExp[s.tagExp.length-1]!=="/"&&i++,r=s.closeIndex)}}function Oo(t,e,r){if(e&&typeof t=="string"){const n=t.trim();return n==="true"||n!=="false"&&(function(i){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(s=Object.assign({},Md,s),!i||typeof i!="string")return i;let o=i.trim();if(s.skipLike!==void 0&&s.skipLike.test(o))return i;if(i==="0")return 0;if(s.hex&&Bd.test(o))return(function(l){if(parseInt)return parseInt(l,16);if(Number.parseInt)return Number.parseInt(l,16);if(window&&window.parseInt)return window.parseInt(l,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")})(o);if(o.includes("e")||o.includes("E"))return(function(l,c,u){if(!u.eNotation)return l;const h=c.match(Vd);if(h){let d=h[1]||"";const y=h[3].indexOf("e")===-1?"E":"e",g=h[2],m=d?l[g.length+1]===y:l[g.length]===y;return g.length>1&&m?l:g.length!==1||!h[3].startsWith(`.${y}`)&&h[3][0]!==y?u.leadingZeros&&!m?(c=(h[1]||"")+h[3],Number(c)):l:Number(c)}return l})(i,o,s);{const l=jd.exec(o);if(l){const c=l[1]||"",u=l[2];let h=((a=l[3])&&a.indexOf(".")!==-1&&((a=a.replace(/0+$/,""))==="."?a="0":a[0]==="."?a="0"+a:a[a.length-1]==="."&&(a=a.substring(0,a.length-1))),a);const d=c?i[u.length+1]===".":i[u.length]===".";if(!s.leadingZeros&&(u.length>1||u.length===1&&!d))return i;{const y=Number(o),g=String(y);if(y===0)return y;if(g.search(/[eE]/)!==-1)return s.eNotation?y:i;if(o.indexOf(".")!==-1)return g==="0"||g===h||g===`${c}${h}`?y:i;let m=u?h:o;return u?m===g||c+m===g?y:i:m===g||m===c+g?y:i}}return i}var a})(t,r)}return t!==void 0?t:""}function Co(t,e,r){const n=Number.parseInt(t,e);return n>=0&&n<=1114111?String.fromCodePoint(n):r+t+";"}const _n=ct.getMetaDataSymbol();function eg(t,e){return Ro(t,e)}function Ro(t,e,r){let n;const i={};for(let s=0;s0&&(i[e.textNodeName]=n):n!==void 0&&(i[e.textNodeName]=n),i}function tg(t){const e=Object.keys(t);for(let r=0;r5&&n==="xml")return te("InvalidXml","XML declaration allowed only at the start of the document.",be(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}}return e}function _o(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e"){e+=2;break}}return e}function sg(t,e){let r="",n="",i=!1;for(;e"&&n===""){i=!0;break}r+=t[e]}return n===""&&{value:r,index:e,tagClosed:i}}const og=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function $o(t,e){const r=So(t,og),n={};for(let i=0;i"&&o[h]!==" "&&o[h]!==" "&&o[h]!==` +`&&o[h]!=="\r";h++)g+=o[h];if(g=g.trim(),g[g.length-1]==="/"&&(g=g.substring(0,g.length-1),h--),!Cr(g)){let T;return T=g.trim().length===0?"Invalid space after '<'.":"Tag '"+g+"' is an invalid name.",te("InvalidTag",T,be(o,h))}const m=sg(o,h);if(m===!1)return te("InvalidAttr","Attributes for '"+g+"' have open quote.",be(o,h));let b=m.value;if(h=m.index,b[b.length-1]==="/"){const T=h-b.length;b=b.substring(0,b.length-1);const E=$o(b,a);if(E!==!0)return te(E.err.code,E.err.msg,be(o,T+E.err.line));c=!0}else if(y){if(!m.tagClosed)return te("InvalidTag","Closing tag '"+g+"' doesn't have proper closing.",be(o,h));if(b.trim().length>0)return te("InvalidTag","Closing tag '"+g+"' can't have attributes or invalid starting.",be(o,d));if(l.length===0)return te("InvalidTag","Closing tag '"+g+"' has not been opened.",be(o,d));{const T=l.pop();if(g!==T.tagName){let E=be(o,T.tagStartPos);return te("InvalidTag","Expected closing tag '"+T.tagName+"' (opened in line "+E.line+", col "+E.col+") instead of closing tag '"+g+"'.",be(o,d))}l.length==0&&(u=!0)}}else{const T=$o(b,a);if(T!==!0)return te(T.err.code,T.err.msg,be(o,h-b.length+T.err.line));if(u===!0)return te("InvalidXml","Multiple possible root nodes found.",be(o,h));a.unpairedTags.indexOf(g)!==-1||l.push({tagName:g,tagStartPos:d}),c=!0}for(h++;h0)||te("InvalidXml","Invalid '"+JSON.stringify(l.map((h=>h.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):te("InvalidXml","Start tag expected.",1)})(e,r);if(s!==!0)throw Error(`${s.err.msg}:${s.err.line}:${s.err.col}`)}const n=new Dd(this.options);n.addExternalEntities(this.externalEntities);const i=n.parseXml(e);return this.options.preserveOrder||i===void 0?i:eg(i,this.options)}addEntity(e,r){if(r.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(e.indexOf("&")!==-1||e.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if(r==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=r}static getMetaDataSymbol(){return ct.getMetaDataSymbol()}}var lg=H(829),qe=H.n(lg),At=(function(t){return t.Array="array",t.Object="object",t.Original="original",t})(At||{});function ko(t,e){if(!t.endsWith("propstat.prop.displayname"))return e}function Rr(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:At.Original;const n=qe().get(t,e);return r==="array"&&Array.isArray(n)===!1?[n]:r==="object"&&Array.isArray(n)?n[0]:n}function Yt(t,e){return e=e??{attributeNamePrefix:"@",attributeParsers:[],tagParsers:[ko]},new Promise((r=>{r((function(n){const{multistatus:i}=n;if(i==="")return{multistatus:{response:[]}};if(!i)throw new Error("Invalid response: No root multistatus found");const s={multistatus:Array.isArray(i)?i[0]:i};return qe().set(s,"multistatus.response",Rr(s,"multistatus.response",At.Array)),qe().set(s,"multistatus.response",qe().get(s,"multistatus.response").map((o=>(function(a){const l=Object.assign({},a);return l.status?qe().set(l,"status",Rr(l,"status",At.Object)):(qe().set(l,"propstat",Rr(l,"propstat",At.Object)),qe().set(l,"propstat.prop",Rr(l,"propstat.prop",At.Object))),l})(o)))),s})((function(n){let{attributeNamePrefix:i,attributeParsers:s,tagParsers:o}=n;return new Uo({allowBooleanAttributes:!0,attributeNamePrefix:i,textNodeName:"text",ignoreAttributes:!1,removeNSPrefix:!0,numberParseOptions:{hex:!0,leadingZeros:!1},attributeValueProcessor(a,l,c){for(const u of s)try{const h=u(c,l);if(h!==l)return h}catch{}return l},tagValueProcessor(a,l,c){for(const u of o)try{const h=u(c,l);if(h!==l)return h}catch{}return l}})})(e).parse(t)))}))}function Fr(t,e){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const{getlastmodified:n=null,getcontentlength:i="0",resourcetype:s=null,getcontenttype:o=null,getetag:a=null}=t,l=s&&typeof s=="object"&&s.collection!==void 0?"directory":"file",c={filename:e,basename:Ar().basename(e),lastmod:n,size:parseInt(i,10),type:l,etag:typeof a=="string"?a.replace(/"/g,""):null};return l==="file"&&(c.mime=o&&typeof o=="string"?o.split(";")[0]:""),r&&(t.displayname!==void 0&&(t.displayname=String(t.displayname)),c.props=t),c}function cg(t,e){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],n=null;try{t.multistatus.response[0].propstat&&(n=t.multistatus.response[0])}catch{}if(!n)throw new Error("Failed getting item stat: bad response");const{propstat:{prop:i,status:s}}=n,[o,a,l]=s.split(" ",3),c=parseInt(a,10);if(c>=400){const u=new Error(`Invalid response: ${c} ${l}`);throw u.status=c,u}return Fr(i,Ht(e),r)}function fg(t){switch(String(t)){case"-3":return"unlimited";case"-2":case"-1":return"unknown";default:return parseInt(String(t),10)}}function $n(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Un=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const{details:n=!1}=r,i=ie({url:G(t.remoteURL,W(e)),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,r);return $n(ne(i,t),(function(s){return se(t,s),$n(s.text(),(function(o){return $n(Yt(o,t.parsing),(function(a){const l=cg(a,e,n);return Nt(s,l,n)}))}))}))}));function Bo(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const hg=jo((function(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=(function(s){if(!s||s==="/")return[];let o=s;const a=[];do a.push(o),o=Ar().dirname(o);while(o&&o!=="/");return a})(Ht(e));n.sort(((s,o)=>s.length>o.length?1:o.length>s.length?-1:0));let i=!1;return(function(s,o,a){if(typeof s[Vo]=="function"){let m=function(b){try{for(;!(l=h.next()).done;)if((b=o(l.value))&&b.then){if(!Do(b))return void b.then(m,u||(u=we.bind(null,c=new Pt,2)));b=b.v}c?we(c,1,b):c=b}catch(T){we(c||(c=new Pt),2,T)}};var l,c,u,h=s[Vo]();if(m(),h.return){var d=function(b){try{l.done||h.return()}catch{}return b};if(c&&c.then)return c.then(d,(function(b){throw d(b)}));d()}return c}if(!("length"in s))throw new TypeError("Object is not iterable");for(var y=[],g=0;g2&&arguments[2]!==void 0?arguments[2]:{};if(r.recursive===!0)return hg(t,e,r);const n=ie({url:G(t.remoteURL,(i=W(e),i.endsWith("/")?i:i+"/")),method:"MKCOL"},t,r);var i;return Bo(ne(n,t),(function(s){se(t,s)}))}));var dg=H(388),Ho=H.n(dg);const gg=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n={};if(typeof r.range=="object"&&typeof r.range.start=="number"){let a=`bytes=${r.range.start}-`;typeof r.range.end=="number"&&(a=`${a}${r.range.end}`),n.Range=a}const i=ie({url:G(t.remoteURL,W(e)),method:"GET",headers:n},t,r);return o=function(a){if(se(t,a),n.Range&&a.status!==206){const l=new Error(`Invalid response code for partial request: ${a.status}`);throw l.status=a.status,l}return r.callback&&setTimeout((()=>{r.callback(a)}),0),a.body},(s=ne(i,t))&&s.then||(s=Promise.resolve(s)),o?s.then(o):s;var s,o})),mg=()=>{},yg=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e)),method:"DELETE"},t,r);return s=function(o){se(t,o)},(i=ne(n,t))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s})),wg=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};return(function(n,i){try{var s=(o=Un(t,e,r),a=function(){return!0},l?a?a(o):o:(o&&o.then||(o=Promise.resolve(o)),a?o.then(a):o))}catch(c){return i(c)}var o,a,l;return s&&s.then?s.then(void 0,i):s})(0,(function(n){if(n.status===404)return!1;throw n}))}));function Bn(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const xg=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e),"/"),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:r.deep?"infinity":"1"}},t,r);return Bn(ne(n,t),(function(i){return se(t,i),Bn(i.text(),(function(s){if(!s)throw new Error("Failed parsing directory contents: Empty response");return Bn(Yt(s,t.parsing),(function(o){const a=to(e);let l=(function(c,u,h){let d=arguments.length>3&&arguments[3]!==void 0&&arguments[3],y=arguments.length>4&&arguments[4]!==void 0&&arguments[4];const g=Ar().join(u,"/"),{multistatus:{response:m}}=c,b=m.map((T=>{const E=(function(A){try{return A.replace(/^https?:\/\/[^\/]+/,"")}catch(I){throw new me(I,"Failed normalising HREF")}})(T.href),{propstat:{prop:v}}=T;return Fr(v,g==="/"?decodeURIComponent(Ht(E)):Ht(Ar().relative(decodeURIComponent(g),decodeURIComponent(E))),d)}));return y?b:b.filter((T=>T.basename&&(T.type==="file"||T.filename!==h.replace(/\/$/,""))))})(o,to(t.remoteBasePath||t.remotePath),a,r.details,r.includeSelf);return r.glob&&(l=(function(c,u){return c.filter((h=>pe(h.filename,u,{matchBase:!0})))})(l,r.glob)),Nt(i,l,r.details)}))}))}))}));function jn(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e)),method:"GET",headers:{Accept:"text/plain"},transformResponse:[Ng]},t,r);return Lr(ne(n,t),(function(i){return se(t,i),Lr(i.text(),(function(s){return Nt(i,s,r.details)}))}))}));function Lr(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const vg=jn((function(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e)),method:"GET"},t,r);return Lr(ne(n,t),(function(i){let s;return se(t,i),(function(o,a){var l=o();return l&&l.then?l.then(a):a()})((function(){return Lr(i.arrayBuffer(),(function(o){s=o}))}),(function(){return Nt(i,s,r.details)}))}))})),Tg=jn((function(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{format:n="binary"}=r;if(n!=="binary"&&n!=="text")throw new me({info:{code:Ye.InvalidOutputFormat}},`Invalid output format: ${n}`);return n==="text"?Eg(t,e,r):vg(t,e,r)})),Ng=t=>t;function Ag(t,e){let r="";return e.format&&e.indentBy.length>0&&(r=` +`),zo(t,e,"",r)}function zo(t,e,r,n){let i="",s=!1;for(let o=0;o`,s=!1;continue}if(l===e.commentPropName){i+=n+``,s=!0;continue}if(l[0]==="?"){const y=qo(a[":@"],e),g=l==="?xml"?"":n;let m=a[l][0][e.textNodeName];m=m.length!==0?" "+m:"",i+=g+`<${l}${m}${y}?>`,s=!0;continue}let u=n;u!==""&&(u+=e.indentBy);const h=n+`<${l}${qo(a[":@"],e)}`,d=zo(a[l],e,c,u);e.unpairedTags.indexOf(l)!==-1?e.suppressUnpairedNode?i+=h+">":i+=h+"/>":d&&d.length!==0||!e.suppressEmptyNode?d&&d.endsWith(">")?i+=h+`>${d}${n}`:(i+=h+">",d&&n!==""&&(d.includes("/>")||d.includes("`):i+=h+"/>",s=!0}return i}function Pg(t){const e=Object.keys(t);for(let r=0;r0&&e.processEntities)for(let r=0;r","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Je(t){this.options=Object.assign({},Ig,t),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=Io(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Rg),this.processTextOrObjNode=Og,this.options.format?(this.indentate=Cg,this.tagEndChar=`> +`,this.newLine=` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function Og(t,e,r,n){const i=this.j2x(t,r+1,n.concat(e));return t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,i.attrStr,r):this.buildObjectNode(i.val,e,i.attrStr,r)}function Cg(t){return this.options.indentBy.repeat(t)}function Rg(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}function Fg(t){return new Je({attributeNamePrefix:"@_",format:!0,ignoreAttributes:!1,suppressEmptyNode:!0}).build(Go({lockinfo:{"@_xmlns:d":"DAV:",lockscope:{exclusive:{}},locktype:{write:{}},owner:{href:t}}},"d"))}function Go(t,e){const r={...t};for(const n in r)r.hasOwnProperty(n)&&(r[n]&&typeof r[n]=="object"&&n.indexOf(":")===-1?(r[`${e}:${n}`]=Go(r[n],e),delete r[n]):/^@_/.test(n)===!1&&(r[`${e}:${n}`]=r[n],delete r[n]));return r}function Mn(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}function Ko(t){return function(){for(var e=[],r=0;r1&&(t={[this.options.arrayNodeName]:t}),this.j2x(t,0,[]).val)},Je.prototype.j2x=function(t,e,r){let n="",i="";const s=r.join(".");for(let o in t)if(Object.prototype.hasOwnProperty.call(t,o))if(t[o]===void 0)this.isAttribute(o)&&(i+="");else if(t[o]===null)this.isAttribute(o)||o===this.options.cdataPropName?i+="":o[0]==="?"?i+=this.indentate(e)+"<"+o+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+o+"/"+this.tagEndChar;else if(t[o]instanceof Date)i+=this.buildTextValNode(t[o],o,"",e);else if(typeof t[o]!="object"){const a=this.isAttribute(o);if(a&&!this.ignoreAttributesFn(a,s))n+=this.buildAttrPairStr(a,""+t[o]);else if(!a)if(o===this.options.textNodeName){let l=this.options.tagValueProcessor(o,""+t[o]);i+=this.replaceEntitiesValue(l)}else i+=this.buildTextValNode(t[o],o,"",e)}else if(Array.isArray(t[o])){const a=t[o].length;let l="",c="";for(let u=0;u`+this.newLine:this.indentate(n)+"<"+e+r+s+this.tagEndChar+t+this.indentate(n)+i:this.indentate(n)+"<"+e+r+s+">"+t+i}},Je.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(this.options.commentPropName!==!1&&e===this.options.commentPropName)return this.indentate(n)+``+this.newLine;if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),i===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+i+"0&&this.options.processEntities)for(let e=0;e3&&arguments[3]!==void 0?arguments[3]:{};const i=ie({url:G(t.remoteURL,W(e)),method:"UNLOCK",headers:{"Lock-Token":r}},t,n);return Mn(ne(i,t),(function(s){if(se(t,s),s.status!==204&&s.status!==200)throw Rn(s)}))})),_g=Ko((function(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{refreshToken:n,timeout:i=$g}=r,s={Accept:"text/plain,application/xml",Timeout:i};n&&(s.If=n);const o=ie({url:G(t.remoteURL,W(e)),method:"LOCK",headers:s,data:Fg(t.contactHref)},t,r);return Mn(ne(o,t),(function(a){return se(t,a),Mn(a.text(),(function(l){const c=(d=l,new Uo({removeNSPrefix:!0,parseAttributeValue:!0,parseTagValue:!0}).parse(d)),u=qe().get(c,"prop.lockdiscovery.activelock.locktoken.href"),h=qe().get(c,"prop.lockdiscovery.activelock.timeout");var d;if(!u)throw Rn(a,"No lock token received: ");return{token:u,serverTimeout:h}}))}))})),$g="Infinite, Second-4100000000";function Vn(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Ug=(function(t){return function(){for(var e=[],r=0;r1&&arguments[1]!==void 0?arguments[1]:{};const r=e.path||"/",n=ie({url:G(t.remoteURL,r),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},t,e);return Vn(ne(n,t),(function(i){return se(t,i),Vn(i.text(),(function(s){return Vn(Yt(s,t.parsing),(function(o){const a=(function(l){try{const[c]=l.multistatus.response,{propstat:{prop:{"quota-used-bytes":u,"quota-available-bytes":h}}}=c;return u!==void 0&&h!==void 0?{used:parseInt(String(u),10),available:fg(h)}:null}catch{}return null})(o);return Nt(i,a,e.details)}))}))}))}));function Dn(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const kg=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const{details:n=!1}=r,i=ie({url:G(t.remoteURL,W(e)),method:"SEARCH",headers:{Accept:"text/plain,application/xml","Content-Type":t.headers["Content-Type"]||"application/xml; charset=utf-8"}},t,r);return Dn(ne(i,t),(function(s){return se(t,s),Dn(s.text(),(function(o){return Dn(Yt(o,t.parsing),(function(a){const l=(function(c,u,h){const d={truncated:!1,results:[]};return d.truncated=c.multistatus.response.some((y=>(y.status||y.propstat?.status).split(" ",3)?.[1]==="507"&&y.href.replace(/\/$/,"").endsWith(W(u).replace(/\/$/,"")))),c.multistatus.response.forEach((y=>{if(y.propstat===void 0)return;const g=y.href.split("/").map(decodeURIComponent).join("/");d.results.push(Fr(y.propstat.prop,g,h))})),d})(a,e,n);return Nt(s,l,n)}))}))}))})),Bg=(function(t){return function(){for(var e=[],r=0;r3&&arguments[3]!==void 0?arguments[3]:{};const i=ie({url:G(t.remoteURL,W(e)),method:"MOVE",headers:{Destination:G(t.remoteURL,W(r)),Overwrite:n.overwrite===!1?"F":"T"}},t,n);return o=function(a){se(t,a)},(s=ne(i,t))&&s.then||(s=Promise.resolve(s)),o?s.then(o):s;var s,o}));var jg=H(172);function Mg(t){if(ho(t))return t.byteLength;if(po(t))return t.length;if(typeof t=="string")return(0,jg.d)(t);throw new me({info:{code:Ye.DataTypeNoLength}},"Cannot calculate data length: Invalid type")}const Vg=(function(t){return function(){for(var e=[],r=0;r3&&arguments[3]!==void 0?arguments[3]:{};const{contentLength:i=!0,overwrite:s=!0}=n,o={"Content-Type":"application/octet-stream"};i===!1||(o["Content-Length"]=typeof i=="number"?`${i}`:`${Mg(r)}`),s||(o["If-None-Match"]="*");const a=ie({url:G(t.remoteURL,W(e)),method:"PUT",headers:o,data:r},t,n);return c=function(u){try{se(t,u)}catch(h){const d=h;if(d.status!==412||s)throw d;return!1}return!0},(l=ne(a,t))&&l.then||(l=Promise.resolve(l)),c?l.then(c):l;var l,c})),Yo=(function(t){return function(){for(var e=[],r=0;r2&&arguments[2]!==void 0?arguments[2]:{};const n=ie({url:G(t.remoteURL,W(e)),method:"OPTIONS"},t,r);return s=function(o){try{se(t,o)}catch(a){throw a}return{compliance:(o.headers.get("DAV")??"").split(",").map((a=>a.trim())),server:o.headers.get("Server")??""}},(i=ne(n,t))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s}));function Jt(t,e,r){return r?e?e(t):t:(t&&t.then||(t=Promise.resolve(t)),e?t.then(e):t)}const Dg=Hn((function(t,e,r,n,i){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(r>n||r<0)throw new me({info:{code:Ye.InvalidUpdateRange}},`Invalid update range ${r} for partial update`);const o={"Content-Type":"application/octet-stream","Content-Length":""+(n-r+1),"Content-Range":`bytes ${r}-${n}/*`},a=ie({url:G(t.remoteURL,W(e)),method:"PUT",headers:o,data:i},t,s);return Jt(ne(a,t),(function(l){se(t,l)}))}));function Jo(t,e){var r=t();return r&&r.then?r.then(e):e(r)}const Hg=Hn((function(t,e,r,n,i){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(r>n||r<0)throw new me({info:{code:Ye.InvalidUpdateRange}},`Invalid update range ${r} for partial update`);const o={"Content-Type":"application/x-sabredav-partialupdate","Content-Length":""+(n-r+1),"X-Update-Range":`bytes=${r}-${n}`},a=ie({url:G(t.remoteURL,W(e)),method:"PATCH",headers:o,data:i},t,s);return Jt(ne(a,t),(function(l){se(t,l)}))}));function Hn(t){return function(){for(var e=[],r=0;r5&&arguments[5]!==void 0?arguments[5]:{};return Jt(Yo(t,e,s),(function(o){let a=!1;return Jo((function(){if(o.compliance.includes("sabredav-partialupdate"))return Jt(Hg(t,e,r,n,i,s),(function(l){return a=!0,l}))}),(function(l){let c=!1;return a?l:Jo((function(){if(o.server.includes("Apache")&&o.compliance.includes(""))return Jt(Dg(t,e,r,n,i,s),(function(u){return c=!0,u}))}),(function(u){if(c)return u;throw new me({info:{code:Ye.NotSupported}},"Not supported")}))}))}))})),qg="https://github.com/perry-mitchell/webdav-client/blob/master/LOCK_CONTACT.md";function Wg(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{authType:r=null,remoteBasePath:n,contactHref:i=qg,ha1:s,headers:o={},httpAgent:a,httpsAgent:l,password:c,token:u,username:h,withCredentials:d}=e;let y=r;y||(y=h||c?Te.Password:Te.None);const g={authType:y,remoteBasePath:n,contactHref:i,ha1:s,headers:Object.assign({},o),httpAgent:a,httpsAgent:l,password:c,parsing:{attributeNamePrefix:e.attributeNamePrefix??"@",attributeParsers:[],tagParsers:[ko]},remotePath:Zp(t),remoteURL:t,token:u,username:h,withCredentials:d};return uo(g,h,c,u,s),{copyFile:(m,b,T)=>_d(g,m,b,T),createDirectory:(m,b)=>kn(g,m,b),createReadStream:(m,b)=>(function(T,E){let v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const A=new(Ho()).PassThrough;return gg(T,E,v).then((I=>{I.pipe(A)})).catch((I=>{A.emit("error",I)})),A})(g,m,b),createWriteStream:(m,b,T)=>(function(E,v){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:mg;const F=new(Ho()).PassThrough,L={};A.overwrite===!1&&(L["If-None-Match"]="*");const $=ie({url:G(E.remoteURL,W(v)),method:"PUT",headers:L,data:F,maxRedirects:0},E,A);return ne($,E).then((_=>se(E,_))).then((_=>{setTimeout((()=>{I(_)}),0)})).catch((_=>{F.emit("error",_)})),F})(g,m,b,T),customRequest:(m,b)=>yg(g,m,b),deleteFile:(m,b)=>bg(g,m,b),exists:(m,b)=>wg(g,m,b),getDirectoryContents:(m,b)=>xg(g,m,b),getFileContents:(m,b)=>Tg(g,m,b),getFileDownloadLink:m=>(function(b,T){let E=G(b.remoteURL,W(T));const v=/^https:/i.test(E)?"https":"http";switch(b.authType){case Te.None:break;case Te.Password:{const A=so(b.headers.Authorization.replace(/^Basic /i,"").trim());E=E.replace(/^https?:\/\//,`${v}://${A}@`);break}default:throw new me({info:{code:Ye.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${b.authType}`)}return E})(g,m),getFileUploadLink:m=>(function(b,T){let E=`${G(b.remoteURL,W(T))}?Content-Type=application/octet-stream`;const v=/^https:/i.test(E)?"https":"http";switch(b.authType){case Te.None:break;case Te.Password:{const A=so(b.headers.Authorization.replace(/^Basic /i,"").trim());E=E.replace(/^https?:\/\//,`${v}://${A}@`);break}default:throw new me({info:{code:Ye.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${b.authType}`)}return E})(g,m),getHeaders:()=>Object.assign({},g.headers),getQuota:m=>Ug(g,m),lock:(m,b)=>_g(g,m,b),moveFile:(m,b,T)=>Bg(g,m,b,T),putFileContents:(m,b,T)=>Vg(g,m,b,T),partialUpdateFileContents:(m,b,T,E,v)=>zg(g,m,b,T,E,v),getDAVCompliance:m=>Yo(g,m),search:(m,b)=>kg(g,m,b),setHeaders:m=>{g.headers=Object.assign({},m)},stat:(m,b)=>Un(g,m,b),unlock:(m,b,T)=>Lg(g,m,b,T),registerAttributeParser:m=>{g.parsing.attributeParsers.push(m)},registerTagParser:m=>{g.parsing.tagParsers.push(m)}}}const ue=[];for(let t=0;t<256;++t)ue.push((t+256).toString(16).slice(1));function Gg(t,e=0){return(ue[t[e+0]]+ue[t[e+1]]+ue[t[e+2]]+ue[t[e+3]]+"-"+ue[t[e+4]]+ue[t[e+5]]+"-"+ue[t[e+6]]+ue[t[e+7]]+"-"+ue[t[e+8]]+ue[t[e+9]]+"-"+ue[t[e+10]]+ue[t[e+11]]+ue[t[e+12]]+ue[t[e+13]]+ue[t[e+14]]+ue[t[e+15]]).toLowerCase()}let zn;const Kg=new Uint8Array(16);function Yg(){if(!zn){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");zn=crypto.getRandomValues.bind(crypto)}return zn(Kg)}var Xo={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Jg(t,e,r){t=t||{};const n=t.random??t.rng?.()??Yg();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,Gg(n)}function Xg(t,e,r){return Xo.randomUUID&&!t?Xo.randomUUID():Jg(t)}const qn=(t,e)=>Object.fromEntries(Object.entries(t).map(([r,n])=>e.includes(r)?[r,n||""]:[st.DavNamespace.includes(r)?`d:${r}`:`oc:${r}`,n||""])),Zo=(t=[],{pattern:e,filterRules:r,limit:n=0,extraProps:i=[]})=>{let s="d:propfind";e&&(s="oc:search-files"),r&&(s="oc:filter-files");const o=t.reduce((u,h)=>Object.assign(u,{[h]:null}),{}),a=qn(o,i),l={[s]:{"d:prop":a,"@@xmlns:d":"DAV:","@@xmlns:oc":"http://owncloud.org/ns",...e&&{"oc:search":{"oc:pattern":e,"oc:limit":n}},...r&&{"oc:filter-rules":qn(r,[])}}};return new Pe({format:!0,ignoreAttributes:!1,attributeNamePrefix:"@@",suppressEmptyNode:!0}).build(l)},Zg=t=>{const e={"d:propertyupdate":{"d:set":{"d:prop":qn(t,[])},"@@xmlns:d":"DAV:","@@xmlns:oc":"http://owncloud.org/ns"}};return new Pe({format:!0,ignoreAttributes:!1,attributeNamePrefix:"@@",suppressEmptyNode:!0}).build(e)},Qg=t=>{const e={},r=t.get("tus-version");return r?(e.version=r.split(","),t.get("tus-extension")&&(e.extension=t.get("tus-extension").split(",")),t.get("tus-resumable")&&(e.resumable=t.get("tus-resumable")),t.get("tus-max-size")&&(e.maxSize=parseInt(t.get("tus-max-size"),10)),e):null},e0=async t=>{const e=n=>{const i=decodeURIComponent(n);return n?.startsWith("/remote.php/dav/")?B(i.replace("/remote.php/dav/",""),{leadingSlash:!0,trailingSlash:!1}):i};return(await Yt(t)).multistatus.response.map(({href:n,propstat:i})=>{const s={...Fr(i.prop,e(n),!0),processing:i.status==="HTTP/1.1 425 TOO EARLY"};return s.props.name&&(s.props.name=s.props.name.toString()),s})},t0=t=>{const e=new Gs,r={message:"Unknown error",errorCode:void 0};try{const n=e.parse(t);if(!n["d:error"])return r;if(n["d:error"]["s:message"]){const i=n["d:error"]["s:message"];typeof i=="string"&&(r.message=i)}if(n["d:error"]["s:errorcode"]){const i=n["d:error"]["s:errorcode"];typeof i=="string"&&(r.errorCode=i)}}catch{return r}return r};class r0{client;davPath;headers;extraProps;constructor({baseUrl:e,headers:r}){this.davPath=B(e,"remote.php/dav"),this.client=Wg(this.davPath,{}),this.headers=r,this.extraProps=[]}mkcol(e,r={}){return this.request(e,{method:De.mkcol,...r})}async propfind(e,{depth:r=1,properties:n=[],headers:i={},...s}={}){const o={...i,Depth:r.toString()},{body:a,result:l}=await this.request(e,{method:De.propfind,data:Zo(n,{extraProps:this.extraProps}),headers:o,...s});return a?.length&&(a[0].tusSupport=Qg(l.headers)),a}async report(e,{pattern:r="",filterRules:n=null,limit:i=30,properties:s,...o}={}){const{body:a,result:l}=await this.request(e,{method:De.report,data:Zo(s,{pattern:r,filterRules:n,limit:i,extraProps:this.extraProps}),...o});return{results:a,range:l.headers.get("content-range")}}copy(e,r,{overwrite:n=!1,headers:i={},...s}={}){const o=B(this.davPath,hr(r));return this.request(e,{method:De.copy,headers:{...i,Destination:o,overwrite:n?"T":"F"},...s})}move(e,r,{overwrite:n=!1,headers:i={},...s}={}){const o=B(this.davPath,hr(r));return this.request(e,{method:De.move,headers:{...i,Destination:o,overwrite:n?"T":"F"},...s})}put(e,r,{headers:n={},onUploadProgress:i,previousEntityTag:s,overwrite:o,...a}={}){const l={...n};return s?l["If-Match"]=s:o||(l["If-None-Match"]="*"),this.request(e,{method:De.put,data:r,headers:l,onUploadProgress:i,...a})}delete(e,r={}){return this.request(e,{method:De.delete,...r})}propPatch(e,r,n={}){const i=Zg(r);return this.request(e,{method:De.proppatch,data:i,...n})}getFileUrl(e){return B(this.davPath,hr(e))}buildHeaders(e={}){return{"Content-Type":"application/xml; charset=utf-8","X-Requested-With":"XMLHttpRequest","X-Request-ID":Xg(),...this.headers&&{...this.headers()},...e}}async request(e,r){const n=B(this.davPath,hr(e),{leadingSlash:!0}),i={...r,url:n,headers:this.buildHeaders(r.headers||{})};try{const s=await this.client.customRequest("",i);let o;if(s.status===207){const a=await s.text();o=await e0(a)}return{body:o,status:s.status,result:s}}catch(s){const{response:o}=s,a=await o.text(),l=t0(a);throw new ll(l.message,l.errorCode,o,o.status)}}}const n0=(t,e)=>({async listFileVersions(r,n={}){const[i,...s]=await t.propfind(B("meta",r,"v",{leadingSlash:!0}),n);return s.map(o=>xt(o,t.extraProps))}}),i0=(t,e)=>({setFavorite(r,{path:n},i,s={}){const o={[C.IsFavorite]:i?"true":"false"};return t.propPatch(B(r.webDavPath,n),o,s)}}),s0=(t,e)=>({listFavoriteFiles({davProperties:r=st.Default,username:n="",...i}={}){return t.report(B("files",n),{properties:r,filterRules:{favorite:1},...i})}}),o0=(t,e)=>{const r=Q.create();e&&r.interceptors.request.use(R=>(Object.assign(R.headers,e()),R));const n={axiosClient:r,baseUrl:t},i=new r0({baseUrl:t,headers:e}),s=R=>{i.extraProps.push(R)},o=Gp(i),{getPathForFileId:a}=o,l=jp(i,o),{listFiles:c}=l,u=Up(l),{getFileInfo:h}=u,{createFolder:d}=_p(i,u),y=$p(i,n),{getFileContents:g}=y,{putFileContents:m}=Vp(i,u),{getFileUrl:b,revokeUrl:T}=kp(i,y,u,n),{getPublicFileUrl:E}=Bp(i),{copyFiles:v}=Lp(i),{moveFiles:A}=Mp(i),{deleteFile:I}=Dp(i),{restoreFile:F}=Hp(i),{listFileVersions:L}=n0(i),{restoreFileVersion:$}=zp(i),{clearTrashBin:_}=qp(i),{search:j}=Wp(i),{listFavoriteFiles:de}=s0(i),{setFavorite:oe}=i0(i);return{copyFiles:v,createFolder:d,deleteFile:I,restoreFile:F,restoreFileVersion:$,getFileContents:g,getFileInfo:h,getFileUrl:b,getPublicFileUrl:E,getPathForFileId:a,listFiles:c,listFileVersions:L,moveFiles:A,putFileContents:m,revokeUrl:T,clearTrashBin:_,search:j,listFavoriteFiles:de,setFavorite:oe,registerExtraProp:s}};var Qo=(t=>(t[t.COPY=0]="COPY",t[t.MOVE=1]="MOVE",t))(Qo||{});let Xt;self.onmessage=async t=>{const{topic:e,data:r}=JSON.parse(t.data);if(e==="tokenUpdate"&&Xt){Xt.Authorization?.toString().startsWith("Bearer")&&(Xt.Authorization=r.accessToken);return}const{baseUrl:n,headers:i,transferData:s}=r;Xt=i;const o=o0(n,()=>Xt),a=[],l=[],c=new ga({concurrency:4}),u=y=>o.copyFiles(y.sourceSpace,y.resource,y.targetSpace,{path:y.path},{overwrite:y.overwrite}),h=y=>o.moveFiles(y.sourceSpace,y.resource,y.targetSpace,{path:y.path},{overwrite:y.overwrite}),d=s.map(y=>c.add(async()=>{const g=y.resource;try{y.transferType===Qo.COPY?(await u(y),g.id=void 0,g.fileId=void 0):await h(y),g.path=er.join(y.targetFolder.path,g.name),g.webDavPath=er.join(y.targetFolder.webDavPath,g.name),a.push(g)}catch(m){console.error(m),l.push({resourceName:g.name,message:m.message,statusCode:m.statusCode,xReqId:m.response.headers?.get("x-request-id")})}}));await Promise.allSettled(d),postMessage(JSON.stringify({successful:a,failed:l}))}})(); diff --git a/web-dist/assets/worker-DYINxooC.js.gz b/web-dist/assets/worker-DYINxooC.js.gz new file mode 100644 index 0000000000..aa78a8c80f Binary files /dev/null and b/web-dist/assets/worker-DYINxooC.js.gz differ diff --git a/web-dist/icons/24-hours-fill.svg b/web-dist/icons/24-hours-fill.svg new file mode 100644 index 0000000000..2ec44d0df1 --- /dev/null +++ b/web-dist/icons/24-hours-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/24-hours-line.svg b/web-dist/icons/24-hours-line.svg new file mode 100644 index 0000000000..69723cc792 --- /dev/null +++ b/web-dist/icons/24-hours-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/4k-fill.svg b/web-dist/icons/4k-fill.svg new file mode 100644 index 0000000000..3d06bfbafe --- /dev/null +++ b/web-dist/icons/4k-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/4k-line.svg b/web-dist/icons/4k-line.svg new file mode 100644 index 0000000000..701e734131 --- /dev/null +++ b/web-dist/icons/4k-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/a-b.svg b/web-dist/icons/a-b.svg new file mode 100644 index 0000000000..c98c83ade1 --- /dev/null +++ b/web-dist/icons/a-b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/accessibility-fill.svg b/web-dist/icons/accessibility-fill.svg new file mode 100644 index 0000000000..e45c7f12ce --- /dev/null +++ b/web-dist/icons/accessibility-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/accessibility-line.svg b/web-dist/icons/accessibility-line.svg new file mode 100644 index 0000000000..f7df22f820 --- /dev/null +++ b/web-dist/icons/accessibility-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/account-box-2-fill.svg b/web-dist/icons/account-box-2-fill.svg new file mode 100644 index 0000000000..c2c5a7354b --- /dev/null +++ b/web-dist/icons/account-box-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/account-box-2-line.svg b/web-dist/icons/account-box-2-line.svg new file mode 100644 index 0000000000..bb144965aa --- /dev/null +++ b/web-dist/icons/account-box-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/account-box-fill.svg b/web-dist/icons/account-box-fill.svg new file mode 100644 index 0000000000..c1d8f2705f --- /dev/null +++ b/web-dist/icons/account-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/account-box-line.svg b/web-dist/icons/account-box-line.svg new file mode 100644 index 0000000000..2f85a2010c --- /dev/null +++ b/web-dist/icons/account-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/account-circle-2-fill.svg b/web-dist/icons/account-circle-2-fill.svg new file mode 100644 index 0000000000..fad8ce6843 --- /dev/null +++ b/web-dist/icons/account-circle-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/account-circle-2-line.svg b/web-dist/icons/account-circle-2-line.svg new file mode 100644 index 0000000000..c37c70644e --- /dev/null +++ b/web-dist/icons/account-circle-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/account-circle-fill.svg b/web-dist/icons/account-circle-fill.svg new file mode 100644 index 0000000000..0fc92d4e9e --- /dev/null +++ b/web-dist/icons/account-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/account-circle-line.svg b/web-dist/icons/account-circle-line.svg new file mode 100644 index 0000000000..b96c221f6b --- /dev/null +++ b/web-dist/icons/account-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/account-pin-box-fill.svg b/web-dist/icons/account-pin-box-fill.svg new file mode 100644 index 0000000000..edf62641ce --- /dev/null +++ b/web-dist/icons/account-pin-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/account-pin-box-line.svg b/web-dist/icons/account-pin-box-line.svg new file mode 100644 index 0000000000..2c3e60a80f --- /dev/null +++ b/web-dist/icons/account-pin-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/account-pin-circle-fill.svg b/web-dist/icons/account-pin-circle-fill.svg new file mode 100644 index 0000000000..e3e1a6229b --- /dev/null +++ b/web-dist/icons/account-pin-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/account-pin-circle-line.svg b/web-dist/icons/account-pin-circle-line.svg new file mode 100644 index 0000000000..4f96948eef --- /dev/null +++ b/web-dist/icons/account-pin-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/add-box-fill.svg b/web-dist/icons/add-box-fill.svg new file mode 100644 index 0000000000..fea7c2db23 --- /dev/null +++ b/web-dist/icons/add-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/add-box-line.svg b/web-dist/icons/add-box-line.svg new file mode 100644 index 0000000000..c991f2bca9 --- /dev/null +++ b/web-dist/icons/add-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/add-circle-fill.svg b/web-dist/icons/add-circle-fill.svg new file mode 100644 index 0000000000..d8d16c2e80 --- /dev/null +++ b/web-dist/icons/add-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/add-circle-line.svg b/web-dist/icons/add-circle-line.svg new file mode 100644 index 0000000000..6c38b72ae3 --- /dev/null +++ b/web-dist/icons/add-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/add-fill.svg b/web-dist/icons/add-fill.svg new file mode 100644 index 0000000000..15eb956f21 --- /dev/null +++ b/web-dist/icons/add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/add-large-fill.svg b/web-dist/icons/add-large-fill.svg new file mode 100644 index 0000000000..9d6989bb1d --- /dev/null +++ b/web-dist/icons/add-large-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/add-large-line.svg b/web-dist/icons/add-large-line.svg new file mode 100644 index 0000000000..234bb93fc1 --- /dev/null +++ b/web-dist/icons/add-large-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/add-line.svg b/web-dist/icons/add-line.svg new file mode 100644 index 0000000000..15eb956f21 --- /dev/null +++ b/web-dist/icons/add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/admin-fill.svg b/web-dist/icons/admin-fill.svg new file mode 100644 index 0000000000..879cf2ba88 --- /dev/null +++ b/web-dist/icons/admin-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/admin-line.svg b/web-dist/icons/admin-line.svg new file mode 100644 index 0000000000..765be56d50 --- /dev/null +++ b/web-dist/icons/admin-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/advertisement-fill.svg b/web-dist/icons/advertisement-fill.svg new file mode 100644 index 0000000000..0d799bd9cf --- /dev/null +++ b/web-dist/icons/advertisement-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/advertisement-line.svg b/web-dist/icons/advertisement-line.svg new file mode 100644 index 0000000000..8acd74f5e9 --- /dev/null +++ b/web-dist/icons/advertisement-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/aed-electrodes-fill.svg b/web-dist/icons/aed-electrodes-fill.svg new file mode 100644 index 0000000000..04a170e709 --- /dev/null +++ b/web-dist/icons/aed-electrodes-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/aed-electrodes-line.svg b/web-dist/icons/aed-electrodes-line.svg new file mode 100644 index 0000000000..1f719410b6 --- /dev/null +++ b/web-dist/icons/aed-electrodes-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/aed-fill.svg b/web-dist/icons/aed-fill.svg new file mode 100644 index 0000000000..5029acc403 --- /dev/null +++ b/web-dist/icons/aed-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/aed-line.svg b/web-dist/icons/aed-line.svg new file mode 100644 index 0000000000..a7bab2a690 --- /dev/null +++ b/web-dist/icons/aed-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ai-generate-2.svg b/web-dist/icons/ai-generate-2.svg new file mode 100644 index 0000000000..06232c34af --- /dev/null +++ b/web-dist/icons/ai-generate-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ai-generate-text.svg b/web-dist/icons/ai-generate-text.svg new file mode 100644 index 0000000000..52df2eed99 --- /dev/null +++ b/web-dist/icons/ai-generate-text.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ai-generate.svg b/web-dist/icons/ai-generate.svg new file mode 100644 index 0000000000..ad44f33ddd --- /dev/null +++ b/web-dist/icons/ai-generate.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/airplay-fill.svg b/web-dist/icons/airplay-fill.svg new file mode 100644 index 0000000000..0349c6ddc7 --- /dev/null +++ b/web-dist/icons/airplay-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/airplay-line.svg b/web-dist/icons/airplay-line.svg new file mode 100644 index 0000000000..0f0f74226b --- /dev/null +++ b/web-dist/icons/airplay-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alarm-add-fill.svg b/web-dist/icons/alarm-add-fill.svg new file mode 100644 index 0000000000..394e0441c3 --- /dev/null +++ b/web-dist/icons/alarm-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alarm-add-line.svg b/web-dist/icons/alarm-add-line.svg new file mode 100644 index 0000000000..f945c77eef --- /dev/null +++ b/web-dist/icons/alarm-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alarm-fill.svg b/web-dist/icons/alarm-fill.svg new file mode 100644 index 0000000000..9d656e15c2 --- /dev/null +++ b/web-dist/icons/alarm-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alarm-line.svg b/web-dist/icons/alarm-line.svg new file mode 100644 index 0000000000..e59af393d8 --- /dev/null +++ b/web-dist/icons/alarm-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alarm-snooze-fill.svg b/web-dist/icons/alarm-snooze-fill.svg new file mode 100644 index 0000000000..65a5122bd5 --- /dev/null +++ b/web-dist/icons/alarm-snooze-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alarm-snooze-line.svg b/web-dist/icons/alarm-snooze-line.svg new file mode 100644 index 0000000000..86b4c5ed20 --- /dev/null +++ b/web-dist/icons/alarm-snooze-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alarm-warning-fill.svg b/web-dist/icons/alarm-warning-fill.svg new file mode 100644 index 0000000000..f0bd9d7f61 --- /dev/null +++ b/web-dist/icons/alarm-warning-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alarm-warning-line.svg b/web-dist/icons/alarm-warning-line.svg new file mode 100644 index 0000000000..f54d349c77 --- /dev/null +++ b/web-dist/icons/alarm-warning-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/album-fill.svg b/web-dist/icons/album-fill.svg new file mode 100644 index 0000000000..c0690af614 --- /dev/null +++ b/web-dist/icons/album-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/album-line.svg b/web-dist/icons/album-line.svg new file mode 100644 index 0000000000..343603b606 --- /dev/null +++ b/web-dist/icons/album-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alert-fill.svg b/web-dist/icons/alert-fill.svg new file mode 100644 index 0000000000..c9b11d8f20 --- /dev/null +++ b/web-dist/icons/alert-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alert-line.svg b/web-dist/icons/alert-line.svg new file mode 100644 index 0000000000..a476591143 --- /dev/null +++ b/web-dist/icons/alert-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alibaba-cloud-fill.svg b/web-dist/icons/alibaba-cloud-fill.svg new file mode 100644 index 0000000000..0365782e44 --- /dev/null +++ b/web-dist/icons/alibaba-cloud-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alibaba-cloud-line.svg b/web-dist/icons/alibaba-cloud-line.svg new file mode 100644 index 0000000000..1a273433ae --- /dev/null +++ b/web-dist/icons/alibaba-cloud-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/aliens-fill.svg b/web-dist/icons/aliens-fill.svg new file mode 100644 index 0000000000..6c45440349 --- /dev/null +++ b/web-dist/icons/aliens-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/aliens-line.svg b/web-dist/icons/aliens-line.svg new file mode 100644 index 0000000000..78e713cbd0 --- /dev/null +++ b/web-dist/icons/aliens-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-bottom.svg b/web-dist/icons/align-bottom.svg new file mode 100644 index 0000000000..d926eb7f10 --- /dev/null +++ b/web-dist/icons/align-bottom.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-center.svg b/web-dist/icons/align-center.svg new file mode 100644 index 0000000000..59f3157066 --- /dev/null +++ b/web-dist/icons/align-center.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-item-bottom-fill.svg b/web-dist/icons/align-item-bottom-fill.svg new file mode 100644 index 0000000000..4fc13b7374 --- /dev/null +++ b/web-dist/icons/align-item-bottom-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-item-bottom-line.svg b/web-dist/icons/align-item-bottom-line.svg new file mode 100644 index 0000000000..6f9a7d3b16 --- /dev/null +++ b/web-dist/icons/align-item-bottom-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-item-horizontal-center-fill.svg b/web-dist/icons/align-item-horizontal-center-fill.svg new file mode 100644 index 0000000000..4ee53f0c8e --- /dev/null +++ b/web-dist/icons/align-item-horizontal-center-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-item-horizontal-center-line.svg b/web-dist/icons/align-item-horizontal-center-line.svg new file mode 100644 index 0000000000..42019219e3 --- /dev/null +++ b/web-dist/icons/align-item-horizontal-center-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-item-left-fill.svg b/web-dist/icons/align-item-left-fill.svg new file mode 100644 index 0000000000..48731721bb --- /dev/null +++ b/web-dist/icons/align-item-left-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-item-left-line.svg b/web-dist/icons/align-item-left-line.svg new file mode 100644 index 0000000000..98172d2a7d --- /dev/null +++ b/web-dist/icons/align-item-left-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-item-right-fill.svg b/web-dist/icons/align-item-right-fill.svg new file mode 100644 index 0000000000..b9828b3567 --- /dev/null +++ b/web-dist/icons/align-item-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-item-right-line.svg b/web-dist/icons/align-item-right-line.svg new file mode 100644 index 0000000000..94a34b9d24 --- /dev/null +++ b/web-dist/icons/align-item-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-item-top-fill.svg b/web-dist/icons/align-item-top-fill.svg new file mode 100644 index 0000000000..947b17dccb --- /dev/null +++ b/web-dist/icons/align-item-top-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-item-top-line.svg b/web-dist/icons/align-item-top-line.svg new file mode 100644 index 0000000000..51872b52fd --- /dev/null +++ b/web-dist/icons/align-item-top-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-item-vertical-center-fill.svg b/web-dist/icons/align-item-vertical-center-fill.svg new file mode 100644 index 0000000000..c13c71413e --- /dev/null +++ b/web-dist/icons/align-item-vertical-center-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-item-vertical-center-line.svg b/web-dist/icons/align-item-vertical-center-line.svg new file mode 100644 index 0000000000..5bcc8e843d --- /dev/null +++ b/web-dist/icons/align-item-vertical-center-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-justify.svg b/web-dist/icons/align-justify.svg new file mode 100644 index 0000000000..497ceac69f --- /dev/null +++ b/web-dist/icons/align-justify.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-left.svg b/web-dist/icons/align-left.svg new file mode 100644 index 0000000000..b184d7a057 --- /dev/null +++ b/web-dist/icons/align-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-right.svg b/web-dist/icons/align-right.svg new file mode 100644 index 0000000000..71b1828732 --- /dev/null +++ b/web-dist/icons/align-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-top.svg b/web-dist/icons/align-top.svg new file mode 100644 index 0000000000..361e842554 --- /dev/null +++ b/web-dist/icons/align-top.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/align-vertically.svg b/web-dist/icons/align-vertically.svg new file mode 100644 index 0000000000..70389a6394 --- /dev/null +++ b/web-dist/icons/align-vertically.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alipay-fill.svg b/web-dist/icons/alipay-fill.svg new file mode 100644 index 0000000000..7c2d7a958b --- /dev/null +++ b/web-dist/icons/alipay-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/alipay-line.svg b/web-dist/icons/alipay-line.svg new file mode 100644 index 0000000000..3c2bc6221e --- /dev/null +++ b/web-dist/icons/alipay-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/amazon-fill.svg b/web-dist/icons/amazon-fill.svg new file mode 100644 index 0000000000..fff21a6bfe --- /dev/null +++ b/web-dist/icons/amazon-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/amazon-line.svg b/web-dist/icons/amazon-line.svg new file mode 100644 index 0000000000..f021ca58fc --- /dev/null +++ b/web-dist/icons/amazon-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/anchor-fill.svg b/web-dist/icons/anchor-fill.svg new file mode 100644 index 0000000000..2d20f0192b --- /dev/null +++ b/web-dist/icons/anchor-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/anchor-line.svg b/web-dist/icons/anchor-line.svg new file mode 100644 index 0000000000..10d9a6d9d2 --- /dev/null +++ b/web-dist/icons/anchor-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ancient-gate-fill.svg b/web-dist/icons/ancient-gate-fill.svg new file mode 100644 index 0000000000..358e36ed62 --- /dev/null +++ b/web-dist/icons/ancient-gate-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ancient-gate-line.svg b/web-dist/icons/ancient-gate-line.svg new file mode 100644 index 0000000000..a0ef675656 --- /dev/null +++ b/web-dist/icons/ancient-gate-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ancient-pavilion-fill.svg b/web-dist/icons/ancient-pavilion-fill.svg new file mode 100644 index 0000000000..18c0f1bd7a --- /dev/null +++ b/web-dist/icons/ancient-pavilion-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ancient-pavilion-line.svg b/web-dist/icons/ancient-pavilion-line.svg new file mode 100644 index 0000000000..ef7e6b8818 --- /dev/null +++ b/web-dist/icons/ancient-pavilion-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/android-fill.svg b/web-dist/icons/android-fill.svg new file mode 100644 index 0000000000..cbe0dcda4b --- /dev/null +++ b/web-dist/icons/android-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/android-line.svg b/web-dist/icons/android-line.svg new file mode 100644 index 0000000000..d222d9f545 --- /dev/null +++ b/web-dist/icons/android-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/angularjs-fill.svg b/web-dist/icons/angularjs-fill.svg new file mode 100644 index 0000000000..4f12ab29e3 --- /dev/null +++ b/web-dist/icons/angularjs-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/angularjs-line.svg b/web-dist/icons/angularjs-line.svg new file mode 100644 index 0000000000..00f2b64a99 --- /dev/null +++ b/web-dist/icons/angularjs-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/anthropic-fill.svg b/web-dist/icons/anthropic-fill.svg new file mode 100644 index 0000000000..fc27aa712b --- /dev/null +++ b/web-dist/icons/anthropic-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/anthropic-line.svg b/web-dist/icons/anthropic-line.svg new file mode 100644 index 0000000000..0235928119 --- /dev/null +++ b/web-dist/icons/anthropic-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/anticlockwise-2-fill.svg b/web-dist/icons/anticlockwise-2-fill.svg new file mode 100644 index 0000000000..3b754ad285 --- /dev/null +++ b/web-dist/icons/anticlockwise-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/anticlockwise-2-line.svg b/web-dist/icons/anticlockwise-2-line.svg new file mode 100644 index 0000000000..902ab3b2f1 --- /dev/null +++ b/web-dist/icons/anticlockwise-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/anticlockwise-fill.svg b/web-dist/icons/anticlockwise-fill.svg new file mode 100644 index 0000000000..a7daa5b4fa --- /dev/null +++ b/web-dist/icons/anticlockwise-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/anticlockwise-line.svg b/web-dist/icons/anticlockwise-line.svg new file mode 100644 index 0000000000..b040fd1d0e --- /dev/null +++ b/web-dist/icons/anticlockwise-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/app-store-fill.svg b/web-dist/icons/app-store-fill.svg new file mode 100644 index 0000000000..21401577c8 --- /dev/null +++ b/web-dist/icons/app-store-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/app-store-line.svg b/web-dist/icons/app-store-line.svg new file mode 100644 index 0000000000..f6ebad26ea --- /dev/null +++ b/web-dist/icons/app-store-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/apple-fill.svg b/web-dist/icons/apple-fill.svg new file mode 100644 index 0000000000..538f2273ad --- /dev/null +++ b/web-dist/icons/apple-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/apple-line.svg b/web-dist/icons/apple-line.svg new file mode 100644 index 0000000000..f2ecb5897e --- /dev/null +++ b/web-dist/icons/apple-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/apps-2-add-fill.svg b/web-dist/icons/apps-2-add-fill.svg new file mode 100644 index 0000000000..89b019d8d0 --- /dev/null +++ b/web-dist/icons/apps-2-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/apps-2-add-line.svg b/web-dist/icons/apps-2-add-line.svg new file mode 100644 index 0000000000..2712485591 --- /dev/null +++ b/web-dist/icons/apps-2-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/apps-2-ai-fill.svg b/web-dist/icons/apps-2-ai-fill.svg new file mode 100644 index 0000000000..0d14e9ac59 --- /dev/null +++ b/web-dist/icons/apps-2-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/apps-2-ai-line.svg b/web-dist/icons/apps-2-ai-line.svg new file mode 100644 index 0000000000..8120843ded --- /dev/null +++ b/web-dist/icons/apps-2-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/apps-2-fill.svg b/web-dist/icons/apps-2-fill.svg new file mode 100644 index 0000000000..21e598f627 --- /dev/null +++ b/web-dist/icons/apps-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/apps-2-line.svg b/web-dist/icons/apps-2-line.svg new file mode 100644 index 0000000000..532ed139b6 --- /dev/null +++ b/web-dist/icons/apps-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/apps-fill.svg b/web-dist/icons/apps-fill.svg new file mode 100644 index 0000000000..0b474794a5 --- /dev/null +++ b/web-dist/icons/apps-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/apps-line.svg b/web-dist/icons/apps-line.svg new file mode 100644 index 0000000000..958073345e --- /dev/null +++ b/web-dist/icons/apps-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/archive-2-fill.svg b/web-dist/icons/archive-2-fill.svg new file mode 100644 index 0000000000..486440ff0c --- /dev/null +++ b/web-dist/icons/archive-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/archive-2-line.svg b/web-dist/icons/archive-2-line.svg new file mode 100644 index 0000000000..ebe76baee4 --- /dev/null +++ b/web-dist/icons/archive-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/archive-drawer-fill.svg b/web-dist/icons/archive-drawer-fill.svg new file mode 100644 index 0000000000..6bc2ce1c48 --- /dev/null +++ b/web-dist/icons/archive-drawer-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/archive-drawer-line.svg b/web-dist/icons/archive-drawer-line.svg new file mode 100644 index 0000000000..5fed4b759e --- /dev/null +++ b/web-dist/icons/archive-drawer-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/archive-fill.svg b/web-dist/icons/archive-fill.svg new file mode 100644 index 0000000000..4da7833312 --- /dev/null +++ b/web-dist/icons/archive-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/archive-line.svg b/web-dist/icons/archive-line.svg new file mode 100644 index 0000000000..b0ffa571fb --- /dev/null +++ b/web-dist/icons/archive-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/archive-stack-fill.svg b/web-dist/icons/archive-stack-fill.svg new file mode 100644 index 0000000000..99e9bb4e14 --- /dev/null +++ b/web-dist/icons/archive-stack-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/archive-stack-line.svg b/web-dist/icons/archive-stack-line.svg new file mode 100644 index 0000000000..f3c21ecd06 --- /dev/null +++ b/web-dist/icons/archive-stack-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/armchair-fill.svg b/web-dist/icons/armchair-fill.svg new file mode 100644 index 0000000000..7c691f66ac --- /dev/null +++ b/web-dist/icons/armchair-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/armchair-line.svg b/web-dist/icons/armchair-line.svg new file mode 100644 index 0000000000..750b5a1ae6 --- /dev/null +++ b/web-dist/icons/armchair-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-box-fill.svg b/web-dist/icons/arrow-down-box-fill.svg new file mode 100644 index 0000000000..c35478490d --- /dev/null +++ b/web-dist/icons/arrow-down-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-box-line.svg b/web-dist/icons/arrow-down-box-line.svg new file mode 100644 index 0000000000..c3c4882699 --- /dev/null +++ b/web-dist/icons/arrow-down-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-circle-fill 2.svg b/web-dist/icons/arrow-down-circle-fill 2.svg new file mode 100644 index 0000000000..430b27c81e --- /dev/null +++ b/web-dist/icons/arrow-down-circle-fill 2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-circle-fill.svg b/web-dist/icons/arrow-down-circle-fill.svg new file mode 100644 index 0000000000..430b27c81e --- /dev/null +++ b/web-dist/icons/arrow-down-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-circle-line.svg b/web-dist/icons/arrow-down-circle-line.svg new file mode 100644 index 0000000000..e3094d3b37 --- /dev/null +++ b/web-dist/icons/arrow-down-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-double-fill.svg b/web-dist/icons/arrow-down-double-fill.svg new file mode 100644 index 0000000000..60d3e0767b --- /dev/null +++ b/web-dist/icons/arrow-down-double-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-double-line.svg b/web-dist/icons/arrow-down-double-line.svg new file mode 100644 index 0000000000..60d3e0767b --- /dev/null +++ b/web-dist/icons/arrow-down-double-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-fill.svg b/web-dist/icons/arrow-down-fill.svg new file mode 100644 index 0000000000..99a484fbe7 --- /dev/null +++ b/web-dist/icons/arrow-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-line.svg b/web-dist/icons/arrow-down-line.svg new file mode 100644 index 0000000000..324672061a --- /dev/null +++ b/web-dist/icons/arrow-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-long-fill.svg b/web-dist/icons/arrow-down-long-fill.svg new file mode 100644 index 0000000000..7ea407a445 --- /dev/null +++ b/web-dist/icons/arrow-down-long-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-long-line.svg b/web-dist/icons/arrow-down-long-line.svg new file mode 100644 index 0000000000..98ebc90637 --- /dev/null +++ b/web-dist/icons/arrow-down-long-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-s-fill.svg b/web-dist/icons/arrow-down-s-fill.svg new file mode 100644 index 0000000000..779a9144d1 --- /dev/null +++ b/web-dist/icons/arrow-down-s-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-s-line.svg b/web-dist/icons/arrow-down-s-line.svg new file mode 100644 index 0000000000..e1bc908a99 --- /dev/null +++ b/web-dist/icons/arrow-down-s-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-wide-fill.svg b/web-dist/icons/arrow-down-wide-fill.svg new file mode 100644 index 0000000000..8037159624 --- /dev/null +++ b/web-dist/icons/arrow-down-wide-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-down-wide-line.svg b/web-dist/icons/arrow-down-wide-line.svg new file mode 100644 index 0000000000..8037159624 --- /dev/null +++ b/web-dist/icons/arrow-down-wide-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-drop-down-fill.svg b/web-dist/icons/arrow-drop-down-fill.svg new file mode 100644 index 0000000000..bd9c14001b --- /dev/null +++ b/web-dist/icons/arrow-drop-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-drop-down-line.svg b/web-dist/icons/arrow-drop-down-line.svg new file mode 100644 index 0000000000..02a5785be5 --- /dev/null +++ b/web-dist/icons/arrow-drop-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-drop-left-fill.svg b/web-dist/icons/arrow-drop-left-fill.svg new file mode 100644 index 0000000000..941ec5bde2 --- /dev/null +++ b/web-dist/icons/arrow-drop-left-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-drop-left-line.svg b/web-dist/icons/arrow-drop-left-line.svg new file mode 100644 index 0000000000..37a177693c --- /dev/null +++ b/web-dist/icons/arrow-drop-left-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-drop-right-fill.svg b/web-dist/icons/arrow-drop-right-fill.svg new file mode 100644 index 0000000000..b8ca63bedd --- /dev/null +++ b/web-dist/icons/arrow-drop-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-drop-right-line.svg b/web-dist/icons/arrow-drop-right-line.svg new file mode 100644 index 0000000000..6841f572d4 --- /dev/null +++ b/web-dist/icons/arrow-drop-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-drop-up-fill.svg b/web-dist/icons/arrow-drop-up-fill.svg new file mode 100644 index 0000000000..adbdecf773 --- /dev/null +++ b/web-dist/icons/arrow-drop-up-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-drop-up-line.svg b/web-dist/icons/arrow-drop-up-line.svg new file mode 100644 index 0000000000..eb8dc1aac4 --- /dev/null +++ b/web-dist/icons/arrow-drop-up-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-go-back-fill.svg b/web-dist/icons/arrow-go-back-fill.svg new file mode 100644 index 0000000000..9c140c3dc3 --- /dev/null +++ b/web-dist/icons/arrow-go-back-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-go-back-line.svg b/web-dist/icons/arrow-go-back-line.svg new file mode 100644 index 0000000000..c72e0ecf29 --- /dev/null +++ b/web-dist/icons/arrow-go-back-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-go-forward-fill.svg b/web-dist/icons/arrow-go-forward-fill.svg new file mode 100644 index 0000000000..4f7a23d53c --- /dev/null +++ b/web-dist/icons/arrow-go-forward-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-go-forward-line.svg b/web-dist/icons/arrow-go-forward-line.svg new file mode 100644 index 0000000000..abf1431694 --- /dev/null +++ b/web-dist/icons/arrow-go-forward-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-box-fill.svg b/web-dist/icons/arrow-left-box-fill.svg new file mode 100644 index 0000000000..0d69d3f436 --- /dev/null +++ b/web-dist/icons/arrow-left-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-box-line.svg b/web-dist/icons/arrow-left-box-line.svg new file mode 100644 index 0000000000..bb88b96e47 --- /dev/null +++ b/web-dist/icons/arrow-left-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-circle-fill.svg b/web-dist/icons/arrow-left-circle-fill.svg new file mode 100644 index 0000000000..cd67b93069 --- /dev/null +++ b/web-dist/icons/arrow-left-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-circle-line.svg b/web-dist/icons/arrow-left-circle-line.svg new file mode 100644 index 0000000000..f833bd975e --- /dev/null +++ b/web-dist/icons/arrow-left-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-double-fill.svg b/web-dist/icons/arrow-left-double-fill.svg new file mode 100644 index 0000000000..d2b489d5d9 --- /dev/null +++ b/web-dist/icons/arrow-left-double-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-double-line.svg b/web-dist/icons/arrow-left-double-line.svg new file mode 100644 index 0000000000..d2b489d5d9 --- /dev/null +++ b/web-dist/icons/arrow-left-double-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-down-box-fill.svg b/web-dist/icons/arrow-left-down-box-fill.svg new file mode 100644 index 0000000000..60d068aa37 --- /dev/null +++ b/web-dist/icons/arrow-left-down-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-down-box-line.svg b/web-dist/icons/arrow-left-down-box-line.svg new file mode 100644 index 0000000000..939b918471 --- /dev/null +++ b/web-dist/icons/arrow-left-down-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-down-fill.svg b/web-dist/icons/arrow-left-down-fill.svg new file mode 100644 index 0000000000..5b6e55503d --- /dev/null +++ b/web-dist/icons/arrow-left-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-down-line.svg b/web-dist/icons/arrow-left-down-line.svg new file mode 100644 index 0000000000..a8edeee7be --- /dev/null +++ b/web-dist/icons/arrow-left-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-down-long-fill.svg b/web-dist/icons/arrow-left-down-long-fill.svg new file mode 100644 index 0000000000..51a3b7e167 --- /dev/null +++ b/web-dist/icons/arrow-left-down-long-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-down-long-line.svg b/web-dist/icons/arrow-left-down-long-line.svg new file mode 100644 index 0000000000..f5fe2491ce --- /dev/null +++ b/web-dist/icons/arrow-left-down-long-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-fill.svg b/web-dist/icons/arrow-left-fill.svg new file mode 100644 index 0000000000..74d99cdfc9 --- /dev/null +++ b/web-dist/icons/arrow-left-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-line.svg b/web-dist/icons/arrow-left-line.svg new file mode 100644 index 0000000000..81cf0eb5a6 --- /dev/null +++ b/web-dist/icons/arrow-left-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-long-fill.svg b/web-dist/icons/arrow-left-long-fill.svg new file mode 100644 index 0000000000..fa7f8cf7a0 --- /dev/null +++ b/web-dist/icons/arrow-left-long-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-long-line.svg b/web-dist/icons/arrow-left-long-line.svg new file mode 100644 index 0000000000..185c2e4574 --- /dev/null +++ b/web-dist/icons/arrow-left-long-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-right-fill.svg b/web-dist/icons/arrow-left-right-fill.svg new file mode 100644 index 0000000000..276ec9da1b --- /dev/null +++ b/web-dist/icons/arrow-left-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-right-line.svg b/web-dist/icons/arrow-left-right-line.svg new file mode 100644 index 0000000000..8d4e2b53d3 --- /dev/null +++ b/web-dist/icons/arrow-left-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-s-fill.svg b/web-dist/icons/arrow-left-s-fill.svg new file mode 100644 index 0000000000..3546dce8b9 --- /dev/null +++ b/web-dist/icons/arrow-left-s-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-s-line.svg b/web-dist/icons/arrow-left-s-line.svg new file mode 100644 index 0000000000..7f92ade5ea --- /dev/null +++ b/web-dist/icons/arrow-left-s-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-up-box-fill.svg b/web-dist/icons/arrow-left-up-box-fill.svg new file mode 100644 index 0000000000..9c213bd29b --- /dev/null +++ b/web-dist/icons/arrow-left-up-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-up-box-line.svg b/web-dist/icons/arrow-left-up-box-line.svg new file mode 100644 index 0000000000..f514b04dae --- /dev/null +++ b/web-dist/icons/arrow-left-up-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-up-fill.svg b/web-dist/icons/arrow-left-up-fill.svg new file mode 100644 index 0000000000..94c021fbcd --- /dev/null +++ b/web-dist/icons/arrow-left-up-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-up-line.svg b/web-dist/icons/arrow-left-up-line.svg new file mode 100644 index 0000000000..cb514c0e7d --- /dev/null +++ b/web-dist/icons/arrow-left-up-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-up-long-fill.svg b/web-dist/icons/arrow-left-up-long-fill.svg new file mode 100644 index 0000000000..91f24dc6bf --- /dev/null +++ b/web-dist/icons/arrow-left-up-long-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-up-long-line.svg b/web-dist/icons/arrow-left-up-long-line.svg new file mode 100644 index 0000000000..8523f61681 --- /dev/null +++ b/web-dist/icons/arrow-left-up-long-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-wide-fill.svg b/web-dist/icons/arrow-left-wide-fill.svg new file mode 100644 index 0000000000..fd63e92e6a --- /dev/null +++ b/web-dist/icons/arrow-left-wide-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-left-wide-line.svg b/web-dist/icons/arrow-left-wide-line.svg new file mode 100644 index 0000000000..fd63e92e6a --- /dev/null +++ b/web-dist/icons/arrow-left-wide-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-box-fill.svg b/web-dist/icons/arrow-right-box-fill.svg new file mode 100644 index 0000000000..1ea22a404f --- /dev/null +++ b/web-dist/icons/arrow-right-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-box-line.svg b/web-dist/icons/arrow-right-box-line.svg new file mode 100644 index 0000000000..04ab615d73 --- /dev/null +++ b/web-dist/icons/arrow-right-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-circle-fill.svg b/web-dist/icons/arrow-right-circle-fill.svg new file mode 100644 index 0000000000..efca72805d --- /dev/null +++ b/web-dist/icons/arrow-right-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-circle-line.svg b/web-dist/icons/arrow-right-circle-line.svg new file mode 100644 index 0000000000..13076a664f --- /dev/null +++ b/web-dist/icons/arrow-right-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-double-fill.svg b/web-dist/icons/arrow-right-double-fill.svg new file mode 100644 index 0000000000..73bf28fca5 --- /dev/null +++ b/web-dist/icons/arrow-right-double-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-double-line.svg b/web-dist/icons/arrow-right-double-line.svg new file mode 100644 index 0000000000..73bf28fca5 --- /dev/null +++ b/web-dist/icons/arrow-right-double-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-down-box-fill.svg b/web-dist/icons/arrow-right-down-box-fill.svg new file mode 100644 index 0000000000..bfe769f374 --- /dev/null +++ b/web-dist/icons/arrow-right-down-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-down-box-line.svg b/web-dist/icons/arrow-right-down-box-line.svg new file mode 100644 index 0000000000..bd9c4626cb --- /dev/null +++ b/web-dist/icons/arrow-right-down-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-down-fill.svg b/web-dist/icons/arrow-right-down-fill.svg new file mode 100644 index 0000000000..997a098b02 --- /dev/null +++ b/web-dist/icons/arrow-right-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-down-line.svg b/web-dist/icons/arrow-right-down-line.svg new file mode 100644 index 0000000000..070ada50fb --- /dev/null +++ b/web-dist/icons/arrow-right-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-down-long-fill.svg b/web-dist/icons/arrow-right-down-long-fill.svg new file mode 100644 index 0000000000..f9d9a8171a --- /dev/null +++ b/web-dist/icons/arrow-right-down-long-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-down-long-line.svg b/web-dist/icons/arrow-right-down-long-line.svg new file mode 100644 index 0000000000..cc27f538df --- /dev/null +++ b/web-dist/icons/arrow-right-down-long-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-fill.svg b/web-dist/icons/arrow-right-fill.svg new file mode 100644 index 0000000000..4f132fdff3 --- /dev/null +++ b/web-dist/icons/arrow-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-line.svg b/web-dist/icons/arrow-right-line.svg new file mode 100644 index 0000000000..d859f2d4e4 --- /dev/null +++ b/web-dist/icons/arrow-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-long-fill.svg b/web-dist/icons/arrow-right-long-fill.svg new file mode 100644 index 0000000000..c991bf9336 --- /dev/null +++ b/web-dist/icons/arrow-right-long-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-long-line.svg b/web-dist/icons/arrow-right-long-line.svg new file mode 100644 index 0000000000..8f40c7814a --- /dev/null +++ b/web-dist/icons/arrow-right-long-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-s-fill.svg b/web-dist/icons/arrow-right-s-fill.svg new file mode 100644 index 0000000000..ff911f1da6 --- /dev/null +++ b/web-dist/icons/arrow-right-s-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-s-line.svg b/web-dist/icons/arrow-right-s-line.svg new file mode 100644 index 0000000000..94f2d248d7 --- /dev/null +++ b/web-dist/icons/arrow-right-s-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-up-box-fill.svg b/web-dist/icons/arrow-right-up-box-fill.svg new file mode 100644 index 0000000000..760b4dd249 --- /dev/null +++ b/web-dist/icons/arrow-right-up-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-up-box-line.svg b/web-dist/icons/arrow-right-up-box-line.svg new file mode 100644 index 0000000000..69b11582ab --- /dev/null +++ b/web-dist/icons/arrow-right-up-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-up-fill.svg b/web-dist/icons/arrow-right-up-fill.svg new file mode 100644 index 0000000000..281fbfa705 --- /dev/null +++ b/web-dist/icons/arrow-right-up-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-up-line.svg b/web-dist/icons/arrow-right-up-line.svg new file mode 100644 index 0000000000..8dd0ff71f5 --- /dev/null +++ b/web-dist/icons/arrow-right-up-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-up-long-fill.svg b/web-dist/icons/arrow-right-up-long-fill.svg new file mode 100644 index 0000000000..d1786c3fa5 --- /dev/null +++ b/web-dist/icons/arrow-right-up-long-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-up-long-line.svg b/web-dist/icons/arrow-right-up-long-line.svg new file mode 100644 index 0000000000..1a5da6f4b5 --- /dev/null +++ b/web-dist/icons/arrow-right-up-long-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-wide-fill.svg b/web-dist/icons/arrow-right-wide-fill.svg new file mode 100644 index 0000000000..dc7662e214 --- /dev/null +++ b/web-dist/icons/arrow-right-wide-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-right-wide-line.svg b/web-dist/icons/arrow-right-wide-line.svg new file mode 100644 index 0000000000..dc7662e214 --- /dev/null +++ b/web-dist/icons/arrow-right-wide-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-turn-back-fill.svg b/web-dist/icons/arrow-turn-back-fill.svg new file mode 100644 index 0000000000..865b06fa9c --- /dev/null +++ b/web-dist/icons/arrow-turn-back-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-turn-back-line.svg b/web-dist/icons/arrow-turn-back-line.svg new file mode 100644 index 0000000000..b1a5c0849c --- /dev/null +++ b/web-dist/icons/arrow-turn-back-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-turn-forward-fill.svg b/web-dist/icons/arrow-turn-forward-fill.svg new file mode 100644 index 0000000000..7a64b994c4 --- /dev/null +++ b/web-dist/icons/arrow-turn-forward-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-turn-forward-line.svg b/web-dist/icons/arrow-turn-forward-line.svg new file mode 100644 index 0000000000..9d6a819043 --- /dev/null +++ b/web-dist/icons/arrow-turn-forward-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-box-fill.svg b/web-dist/icons/arrow-up-box-fill.svg new file mode 100644 index 0000000000..c5ec4b95a8 --- /dev/null +++ b/web-dist/icons/arrow-up-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-box-line.svg b/web-dist/icons/arrow-up-box-line.svg new file mode 100644 index 0000000000..64d7667da4 --- /dev/null +++ b/web-dist/icons/arrow-up-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-circle-fill.svg b/web-dist/icons/arrow-up-circle-fill.svg new file mode 100644 index 0000000000..e94e186db1 --- /dev/null +++ b/web-dist/icons/arrow-up-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-circle-line.svg b/web-dist/icons/arrow-up-circle-line.svg new file mode 100644 index 0000000000..48d0cc8043 --- /dev/null +++ b/web-dist/icons/arrow-up-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-double-fill.svg b/web-dist/icons/arrow-up-double-fill.svg new file mode 100644 index 0000000000..80d479ca53 --- /dev/null +++ b/web-dist/icons/arrow-up-double-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-double-line.svg b/web-dist/icons/arrow-up-double-line.svg new file mode 100644 index 0000000000..80d479ca53 --- /dev/null +++ b/web-dist/icons/arrow-up-double-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-down-fill.svg b/web-dist/icons/arrow-up-down-fill.svg new file mode 100644 index 0000000000..056b694e38 --- /dev/null +++ b/web-dist/icons/arrow-up-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-down-line.svg b/web-dist/icons/arrow-up-down-line.svg new file mode 100644 index 0000000000..b19e10034d --- /dev/null +++ b/web-dist/icons/arrow-up-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-fill.svg b/web-dist/icons/arrow-up-fill.svg new file mode 100644 index 0000000000..49aad957b7 --- /dev/null +++ b/web-dist/icons/arrow-up-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-line.svg b/web-dist/icons/arrow-up-line.svg new file mode 100644 index 0000000000..241454c999 --- /dev/null +++ b/web-dist/icons/arrow-up-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-long-fill.svg b/web-dist/icons/arrow-up-long-fill.svg new file mode 100644 index 0000000000..6d0b936ed0 --- /dev/null +++ b/web-dist/icons/arrow-up-long-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-long-line.svg b/web-dist/icons/arrow-up-long-line.svg new file mode 100644 index 0000000000..e3fc12b68e --- /dev/null +++ b/web-dist/icons/arrow-up-long-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-s-fill.svg b/web-dist/icons/arrow-up-s-fill.svg new file mode 100644 index 0000000000..434bc0dffb --- /dev/null +++ b/web-dist/icons/arrow-up-s-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-s-line.svg b/web-dist/icons/arrow-up-s-line.svg new file mode 100644 index 0000000000..3a424dff0e --- /dev/null +++ b/web-dist/icons/arrow-up-s-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-wide-fill.svg b/web-dist/icons/arrow-up-wide-fill.svg new file mode 100644 index 0000000000..b273a2bd27 --- /dev/null +++ b/web-dist/icons/arrow-up-wide-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/arrow-up-wide-line.svg b/web-dist/icons/arrow-up-wide-line.svg new file mode 100644 index 0000000000..b273a2bd27 --- /dev/null +++ b/web-dist/icons/arrow-up-wide-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/artboard-2-fill.svg b/web-dist/icons/artboard-2-fill.svg new file mode 100644 index 0000000000..8a332cca8f --- /dev/null +++ b/web-dist/icons/artboard-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/artboard-2-line.svg b/web-dist/icons/artboard-2-line.svg new file mode 100644 index 0000000000..d25cd24b69 --- /dev/null +++ b/web-dist/icons/artboard-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/artboard-fill.svg b/web-dist/icons/artboard-fill.svg new file mode 100644 index 0000000000..bb7d94f30d --- /dev/null +++ b/web-dist/icons/artboard-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/artboard-line.svg b/web-dist/icons/artboard-line.svg new file mode 100644 index 0000000000..ee1189d7da --- /dev/null +++ b/web-dist/icons/artboard-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/article-fill.svg b/web-dist/icons/article-fill.svg new file mode 100644 index 0000000000..0942c798b2 --- /dev/null +++ b/web-dist/icons/article-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/article-line.svg b/web-dist/icons/article-line.svg new file mode 100644 index 0000000000..4b814c7bd7 --- /dev/null +++ b/web-dist/icons/article-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/aspect-ratio-fill.svg b/web-dist/icons/aspect-ratio-fill.svg new file mode 100644 index 0000000000..f0ae015c61 --- /dev/null +++ b/web-dist/icons/aspect-ratio-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/aspect-ratio-line.svg b/web-dist/icons/aspect-ratio-line.svg new file mode 100644 index 0000000000..b499df94c6 --- /dev/null +++ b/web-dist/icons/aspect-ratio-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/asterisk.svg b/web-dist/icons/asterisk.svg new file mode 100644 index 0000000000..77417cd59e --- /dev/null +++ b/web-dist/icons/asterisk.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/at-fill.svg b/web-dist/icons/at-fill.svg new file mode 100644 index 0000000000..e7eda85045 --- /dev/null +++ b/web-dist/icons/at-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/at-line.svg b/web-dist/icons/at-line.svg new file mode 100644 index 0000000000..6cd84a0596 --- /dev/null +++ b/web-dist/icons/at-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/attachment-2.svg b/web-dist/icons/attachment-2.svg new file mode 100644 index 0000000000..232775cdd0 --- /dev/null +++ b/web-dist/icons/attachment-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/attachment-fill.svg b/web-dist/icons/attachment-fill.svg new file mode 100644 index 0000000000..a0e04c4570 --- /dev/null +++ b/web-dist/icons/attachment-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/attachment-line.svg b/web-dist/icons/attachment-line.svg new file mode 100644 index 0000000000..c4a7c4263e --- /dev/null +++ b/web-dist/icons/attachment-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/auction-fill.svg b/web-dist/icons/auction-fill.svg new file mode 100644 index 0000000000..3efd1b60c4 --- /dev/null +++ b/web-dist/icons/auction-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/auction-line.svg b/web-dist/icons/auction-line.svg new file mode 100644 index 0000000000..10dab3a293 --- /dev/null +++ b/web-dist/icons/auction-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/award-fill.svg b/web-dist/icons/award-fill.svg new file mode 100644 index 0000000000..f90530d1ec --- /dev/null +++ b/web-dist/icons/award-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/award-line.svg b/web-dist/icons/award-line.svg new file mode 100644 index 0000000000..5f383b3564 --- /dev/null +++ b/web-dist/icons/award-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/baidu-fill.svg b/web-dist/icons/baidu-fill.svg new file mode 100644 index 0000000000..237391b096 --- /dev/null +++ b/web-dist/icons/baidu-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/baidu-line.svg b/web-dist/icons/baidu-line.svg new file mode 100644 index 0000000000..ac7fd38531 --- /dev/null +++ b/web-dist/icons/baidu-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ball-pen-fill.svg b/web-dist/icons/ball-pen-fill.svg new file mode 100644 index 0000000000..f014340287 --- /dev/null +++ b/web-dist/icons/ball-pen-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ball-pen-line.svg b/web-dist/icons/ball-pen-line.svg new file mode 100644 index 0000000000..9e6e861d2d --- /dev/null +++ b/web-dist/icons/ball-pen-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bank-card-2-fill.svg b/web-dist/icons/bank-card-2-fill.svg new file mode 100644 index 0000000000..465b37478c --- /dev/null +++ b/web-dist/icons/bank-card-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bank-card-2-line.svg b/web-dist/icons/bank-card-2-line.svg new file mode 100644 index 0000000000..3f8399ae5f --- /dev/null +++ b/web-dist/icons/bank-card-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bank-card-fill.svg b/web-dist/icons/bank-card-fill.svg new file mode 100644 index 0000000000..5837d144d2 --- /dev/null +++ b/web-dist/icons/bank-card-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bank-card-line.svg b/web-dist/icons/bank-card-line.svg new file mode 100644 index 0000000000..5d460a1db1 --- /dev/null +++ b/web-dist/icons/bank-card-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bank-fill.svg b/web-dist/icons/bank-fill.svg new file mode 100644 index 0000000000..9884e1046d --- /dev/null +++ b/web-dist/icons/bank-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bank-line.svg b/web-dist/icons/bank-line.svg new file mode 100644 index 0000000000..111fb84943 --- /dev/null +++ b/web-dist/icons/bank-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bar-chart-2-fill.svg b/web-dist/icons/bar-chart-2-fill.svg new file mode 100644 index 0000000000..d49c75b8b0 --- /dev/null +++ b/web-dist/icons/bar-chart-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bar-chart-2-line.svg b/web-dist/icons/bar-chart-2-line.svg new file mode 100644 index 0000000000..ab2552fcf4 --- /dev/null +++ b/web-dist/icons/bar-chart-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bar-chart-box-ai-fill.svg b/web-dist/icons/bar-chart-box-ai-fill.svg new file mode 100644 index 0000000000..343ea056c8 --- /dev/null +++ b/web-dist/icons/bar-chart-box-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bar-chart-box-ai-line.svg b/web-dist/icons/bar-chart-box-ai-line.svg new file mode 100644 index 0000000000..1b4b132986 --- /dev/null +++ b/web-dist/icons/bar-chart-box-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bar-chart-box-fill.svg b/web-dist/icons/bar-chart-box-fill.svg new file mode 100644 index 0000000000..274834b2f7 --- /dev/null +++ b/web-dist/icons/bar-chart-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bar-chart-box-line.svg b/web-dist/icons/bar-chart-box-line.svg new file mode 100644 index 0000000000..f454002c00 --- /dev/null +++ b/web-dist/icons/bar-chart-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bar-chart-fill.svg b/web-dist/icons/bar-chart-fill.svg new file mode 100644 index 0000000000..f70774d918 --- /dev/null +++ b/web-dist/icons/bar-chart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bar-chart-grouped-fill.svg b/web-dist/icons/bar-chart-grouped-fill.svg new file mode 100644 index 0000000000..3a4a940bbf --- /dev/null +++ b/web-dist/icons/bar-chart-grouped-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bar-chart-grouped-line.svg b/web-dist/icons/bar-chart-grouped-line.svg new file mode 100644 index 0000000000..3a4a940bbf --- /dev/null +++ b/web-dist/icons/bar-chart-grouped-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bar-chart-horizontal-fill.svg b/web-dist/icons/bar-chart-horizontal-fill.svg new file mode 100644 index 0000000000..f2bb87708c --- /dev/null +++ b/web-dist/icons/bar-chart-horizontal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bar-chart-horizontal-line.svg b/web-dist/icons/bar-chart-horizontal-line.svg new file mode 100644 index 0000000000..ea027619e5 --- /dev/null +++ b/web-dist/icons/bar-chart-horizontal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bar-chart-line.svg b/web-dist/icons/bar-chart-line.svg new file mode 100644 index 0000000000..42281d8d46 --- /dev/null +++ b/web-dist/icons/bar-chart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/barcode-box-fill.svg b/web-dist/icons/barcode-box-fill.svg new file mode 100644 index 0000000000..249ca7c4f8 --- /dev/null +++ b/web-dist/icons/barcode-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/barcode-box-line.svg b/web-dist/icons/barcode-box-line.svg new file mode 100644 index 0000000000..edd08dbe49 --- /dev/null +++ b/web-dist/icons/barcode-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/barcode-fill.svg b/web-dist/icons/barcode-fill.svg new file mode 100644 index 0000000000..46143dedbc --- /dev/null +++ b/web-dist/icons/barcode-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/barcode-line.svg b/web-dist/icons/barcode-line.svg new file mode 100644 index 0000000000..b0f3c90344 --- /dev/null +++ b/web-dist/icons/barcode-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bard-fill.svg b/web-dist/icons/bard-fill.svg new file mode 100644 index 0000000000..e19714fa70 --- /dev/null +++ b/web-dist/icons/bard-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bard-line.svg b/web-dist/icons/bard-line.svg new file mode 100644 index 0000000000..7e50d65882 --- /dev/null +++ b/web-dist/icons/bard-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/barricade-fill.svg b/web-dist/icons/barricade-fill.svg new file mode 100644 index 0000000000..ef57515cef --- /dev/null +++ b/web-dist/icons/barricade-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/barricade-line.svg b/web-dist/icons/barricade-line.svg new file mode 100644 index 0000000000..6282c97e38 --- /dev/null +++ b/web-dist/icons/barricade-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/base-station-fill.svg b/web-dist/icons/base-station-fill.svg new file mode 100644 index 0000000000..26ea43b291 --- /dev/null +++ b/web-dist/icons/base-station-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/base-station-line.svg b/web-dist/icons/base-station-line.svg new file mode 100644 index 0000000000..e17cfe5d83 --- /dev/null +++ b/web-dist/icons/base-station-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/basketball-fill.svg b/web-dist/icons/basketball-fill.svg new file mode 100644 index 0000000000..bcd165753d --- /dev/null +++ b/web-dist/icons/basketball-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/basketball-line.svg b/web-dist/icons/basketball-line.svg new file mode 100644 index 0000000000..5941847bff --- /dev/null +++ b/web-dist/icons/basketball-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-2-charge-fill.svg b/web-dist/icons/battery-2-charge-fill.svg new file mode 100644 index 0000000000..758ef19e11 --- /dev/null +++ b/web-dist/icons/battery-2-charge-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-2-charge-line.svg b/web-dist/icons/battery-2-charge-line.svg new file mode 100644 index 0000000000..2b92bf7f7d --- /dev/null +++ b/web-dist/icons/battery-2-charge-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-2-fill.svg b/web-dist/icons/battery-2-fill.svg new file mode 100644 index 0000000000..eddd41f61f --- /dev/null +++ b/web-dist/icons/battery-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-2-line.svg b/web-dist/icons/battery-2-line.svg new file mode 100644 index 0000000000..e98415ade1 --- /dev/null +++ b/web-dist/icons/battery-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-charge-fill.svg b/web-dist/icons/battery-charge-fill.svg new file mode 100644 index 0000000000..8f7b8f99cb --- /dev/null +++ b/web-dist/icons/battery-charge-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-charge-line.svg b/web-dist/icons/battery-charge-line.svg new file mode 100644 index 0000000000..06d1b41f33 --- /dev/null +++ b/web-dist/icons/battery-charge-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-fill.svg b/web-dist/icons/battery-fill.svg new file mode 100644 index 0000000000..b687f2142e --- /dev/null +++ b/web-dist/icons/battery-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-line.svg b/web-dist/icons/battery-line.svg new file mode 100644 index 0000000000..d83ac0b669 --- /dev/null +++ b/web-dist/icons/battery-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-low-fill 2.svg b/web-dist/icons/battery-low-fill 2.svg new file mode 100644 index 0000000000..70095ddb23 --- /dev/null +++ b/web-dist/icons/battery-low-fill 2.svg @@ -0,0 +1 @@ + diff --git a/web-dist/icons/battery-low-fill.svg b/web-dist/icons/battery-low-fill.svg new file mode 100644 index 0000000000..2e6f9365b0 --- /dev/null +++ b/web-dist/icons/battery-low-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-low-line.svg b/web-dist/icons/battery-low-line.svg new file mode 100644 index 0000000000..963008b205 --- /dev/null +++ b/web-dist/icons/battery-low-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-saver-fill.svg b/web-dist/icons/battery-saver-fill.svg new file mode 100644 index 0000000000..9734e32f70 --- /dev/null +++ b/web-dist/icons/battery-saver-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-saver-line.svg b/web-dist/icons/battery-saver-line.svg new file mode 100644 index 0000000000..568c49219e --- /dev/null +++ b/web-dist/icons/battery-saver-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-share-fill.svg b/web-dist/icons/battery-share-fill.svg new file mode 100644 index 0000000000..9edc13082e --- /dev/null +++ b/web-dist/icons/battery-share-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/battery-share-line.svg b/web-dist/icons/battery-share-line.svg new file mode 100644 index 0000000000..cd541de032 --- /dev/null +++ b/web-dist/icons/battery-share-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bear-smile-fill.svg b/web-dist/icons/bear-smile-fill.svg new file mode 100644 index 0000000000..791fa289ee --- /dev/null +++ b/web-dist/icons/bear-smile-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bear-smile-line.svg b/web-dist/icons/bear-smile-line.svg new file mode 100644 index 0000000000..08ff17ee79 --- /dev/null +++ b/web-dist/icons/bear-smile-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/beer-fill.svg b/web-dist/icons/beer-fill.svg new file mode 100644 index 0000000000..e1dcc17624 --- /dev/null +++ b/web-dist/icons/beer-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/beer-line.svg b/web-dist/icons/beer-line.svg new file mode 100644 index 0000000000..e4b3ab10d6 --- /dev/null +++ b/web-dist/icons/beer-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/behance-fill.svg b/web-dist/icons/behance-fill.svg new file mode 100644 index 0000000000..fe7262b02b --- /dev/null +++ b/web-dist/icons/behance-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/behance-line.svg b/web-dist/icons/behance-line.svg new file mode 100644 index 0000000000..27b8c27b46 --- /dev/null +++ b/web-dist/icons/behance-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bell-fill.svg b/web-dist/icons/bell-fill.svg new file mode 100644 index 0000000000..5b022f23c6 --- /dev/null +++ b/web-dist/icons/bell-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bell-line.svg b/web-dist/icons/bell-line.svg new file mode 100644 index 0000000000..eadf6f6813 --- /dev/null +++ b/web-dist/icons/bell-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bike-fill.svg b/web-dist/icons/bike-fill.svg new file mode 100644 index 0000000000..d25b39358d --- /dev/null +++ b/web-dist/icons/bike-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bike-line.svg b/web-dist/icons/bike-line.svg new file mode 100644 index 0000000000..ead1af2f37 --- /dev/null +++ b/web-dist/icons/bike-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bilibili-fill.svg b/web-dist/icons/bilibili-fill.svg new file mode 100644 index 0000000000..686f28fcd3 --- /dev/null +++ b/web-dist/icons/bilibili-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bilibili-line.svg b/web-dist/icons/bilibili-line.svg new file mode 100644 index 0000000000..c66c27ae0e --- /dev/null +++ b/web-dist/icons/bilibili-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bill-fill.svg b/web-dist/icons/bill-fill.svg new file mode 100644 index 0000000000..c84f013c36 --- /dev/null +++ b/web-dist/icons/bill-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bill-line.svg b/web-dist/icons/bill-line.svg new file mode 100644 index 0000000000..93c4be7c9c --- /dev/null +++ b/web-dist/icons/bill-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/billiards-fill.svg b/web-dist/icons/billiards-fill.svg new file mode 100644 index 0000000000..e494b7f680 --- /dev/null +++ b/web-dist/icons/billiards-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/billiards-line.svg b/web-dist/icons/billiards-line.svg new file mode 100644 index 0000000000..6716e407f9 --- /dev/null +++ b/web-dist/icons/billiards-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bit-coin-fill.svg b/web-dist/icons/bit-coin-fill.svg new file mode 100644 index 0000000000..6c17053005 --- /dev/null +++ b/web-dist/icons/bit-coin-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bit-coin-line.svg b/web-dist/icons/bit-coin-line.svg new file mode 100644 index 0000000000..86e2a866c9 --- /dev/null +++ b/web-dist/icons/bit-coin-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/blaze-fill.svg b/web-dist/icons/blaze-fill.svg new file mode 100644 index 0000000000..dd4bbdac11 --- /dev/null +++ b/web-dist/icons/blaze-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/blaze-line.svg b/web-dist/icons/blaze-line.svg new file mode 100644 index 0000000000..7c15281645 --- /dev/null +++ b/web-dist/icons/blaze-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/blender-fill.svg b/web-dist/icons/blender-fill.svg new file mode 100644 index 0000000000..5185cafb4b --- /dev/null +++ b/web-dist/icons/blender-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/blender-line.svg b/web-dist/icons/blender-line.svg new file mode 100644 index 0000000000..56990edb03 --- /dev/null +++ b/web-dist/icons/blender-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/blogger-fill.svg b/web-dist/icons/blogger-fill.svg new file mode 100644 index 0000000000..0350b16820 --- /dev/null +++ b/web-dist/icons/blogger-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/blogger-line.svg b/web-dist/icons/blogger-line.svg new file mode 100644 index 0000000000..ea37afd661 --- /dev/null +++ b/web-dist/icons/blogger-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bluesky-fill.svg b/web-dist/icons/bluesky-fill.svg new file mode 100644 index 0000000000..2b3b3f5396 --- /dev/null +++ b/web-dist/icons/bluesky-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bluesky-line.svg b/web-dist/icons/bluesky-line.svg new file mode 100644 index 0000000000..c58f332780 --- /dev/null +++ b/web-dist/icons/bluesky-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bluetooth-connect-fill.svg b/web-dist/icons/bluetooth-connect-fill.svg new file mode 100644 index 0000000000..59f039c4ac --- /dev/null +++ b/web-dist/icons/bluetooth-connect-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bluetooth-connect-line.svg b/web-dist/icons/bluetooth-connect-line.svg new file mode 100644 index 0000000000..59f039c4ac --- /dev/null +++ b/web-dist/icons/bluetooth-connect-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bluetooth-fill.svg b/web-dist/icons/bluetooth-fill.svg new file mode 100644 index 0000000000..5f203a561f --- /dev/null +++ b/web-dist/icons/bluetooth-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bluetooth-line.svg b/web-dist/icons/bluetooth-line.svg new file mode 100644 index 0000000000..5f203a561f --- /dev/null +++ b/web-dist/icons/bluetooth-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/blur-off-fill.svg b/web-dist/icons/blur-off-fill.svg new file mode 100644 index 0000000000..9999731070 --- /dev/null +++ b/web-dist/icons/blur-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/blur-off-line.svg b/web-dist/icons/blur-off-line.svg new file mode 100644 index 0000000000..067a7ba79b --- /dev/null +++ b/web-dist/icons/blur-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bnb-fill.svg b/web-dist/icons/bnb-fill.svg new file mode 100644 index 0000000000..b076996bb0 --- /dev/null +++ b/web-dist/icons/bnb-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bnb-line.svg b/web-dist/icons/bnb-line.svg new file mode 100644 index 0000000000..76bd2055f5 --- /dev/null +++ b/web-dist/icons/bnb-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/body-scan-fill.svg b/web-dist/icons/body-scan-fill.svg new file mode 100644 index 0000000000..b71c7c9bf6 --- /dev/null +++ b/web-dist/icons/body-scan-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/body-scan-line.svg b/web-dist/icons/body-scan-line.svg new file mode 100644 index 0000000000..e4f2147482 --- /dev/null +++ b/web-dist/icons/body-scan-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bold.svg b/web-dist/icons/bold.svg new file mode 100644 index 0000000000..37c08a3e7b --- /dev/null +++ b/web-dist/icons/bold.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-2-fill.svg b/web-dist/icons/book-2-fill.svg new file mode 100644 index 0000000000..ad2bf9fd43 --- /dev/null +++ b/web-dist/icons/book-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-2-line.svg b/web-dist/icons/book-2-line.svg new file mode 100644 index 0000000000..eeb2376da3 --- /dev/null +++ b/web-dist/icons/book-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-3-fill.svg b/web-dist/icons/book-3-fill.svg new file mode 100644 index 0000000000..03334a29d4 --- /dev/null +++ b/web-dist/icons/book-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-3-line.svg b/web-dist/icons/book-3-line.svg new file mode 100644 index 0000000000..40f07fc6c7 --- /dev/null +++ b/web-dist/icons/book-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-fill.svg b/web-dist/icons/book-fill.svg new file mode 100644 index 0000000000..1bac914cb7 --- /dev/null +++ b/web-dist/icons/book-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-line.svg b/web-dist/icons/book-line.svg new file mode 100644 index 0000000000..1392e66e1d --- /dev/null +++ b/web-dist/icons/book-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-mark-fill.svg b/web-dist/icons/book-mark-fill.svg new file mode 100644 index 0000000000..bca6dc394d --- /dev/null +++ b/web-dist/icons/book-mark-fill.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web-dist/icons/book-mark-line.svg b/web-dist/icons/book-mark-line.svg new file mode 100644 index 0000000000..0d66e6d92f --- /dev/null +++ b/web-dist/icons/book-mark-line.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web-dist/icons/book-marked-fill.svg b/web-dist/icons/book-marked-fill.svg new file mode 100644 index 0000000000..be71bd5cd7 --- /dev/null +++ b/web-dist/icons/book-marked-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-marked-line.svg b/web-dist/icons/book-marked-line.svg new file mode 100644 index 0000000000..6f92d40a86 --- /dev/null +++ b/web-dist/icons/book-marked-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-open-fill.svg b/web-dist/icons/book-open-fill.svg new file mode 100644 index 0000000000..6b79618cf3 --- /dev/null +++ b/web-dist/icons/book-open-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-open-line.svg b/web-dist/icons/book-open-line.svg new file mode 100644 index 0000000000..5e07c2b174 --- /dev/null +++ b/web-dist/icons/book-open-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-read-fill.svg b/web-dist/icons/book-read-fill.svg new file mode 100644 index 0000000000..d320a13e33 --- /dev/null +++ b/web-dist/icons/book-read-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-read-line.svg b/web-dist/icons/book-read-line.svg new file mode 100644 index 0000000000..52f447cd8f --- /dev/null +++ b/web-dist/icons/book-read-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-shelf-fill.svg b/web-dist/icons/book-shelf-fill.svg new file mode 100644 index 0000000000..76f96664b7 --- /dev/null +++ b/web-dist/icons/book-shelf-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/book-shelf-line.svg b/web-dist/icons/book-shelf-line.svg new file mode 100644 index 0000000000..485baadd53 --- /dev/null +++ b/web-dist/icons/book-shelf-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/booklet-fill.svg b/web-dist/icons/booklet-fill.svg new file mode 100644 index 0000000000..d8c4bcd6fd --- /dev/null +++ b/web-dist/icons/booklet-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/booklet-line.svg b/web-dist/icons/booklet-line.svg new file mode 100644 index 0000000000..9491b18ed5 --- /dev/null +++ b/web-dist/icons/booklet-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bookmark-2-fill.svg b/web-dist/icons/bookmark-2-fill.svg new file mode 100644 index 0000000000..2208f8885d --- /dev/null +++ b/web-dist/icons/bookmark-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bookmark-2-line.svg b/web-dist/icons/bookmark-2-line.svg new file mode 100644 index 0000000000..26a7baddf9 --- /dev/null +++ b/web-dist/icons/bookmark-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bookmark-3-fill.svg b/web-dist/icons/bookmark-3-fill.svg new file mode 100644 index 0000000000..eb6ce4c2d9 --- /dev/null +++ b/web-dist/icons/bookmark-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bookmark-3-line.svg b/web-dist/icons/bookmark-3-line.svg new file mode 100644 index 0000000000..aaccb6deb5 --- /dev/null +++ b/web-dist/icons/bookmark-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bookmark-fill.svg b/web-dist/icons/bookmark-fill.svg new file mode 100644 index 0000000000..d5f7db0d82 --- /dev/null +++ b/web-dist/icons/bookmark-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bookmark-line.svg b/web-dist/icons/bookmark-line.svg new file mode 100644 index 0000000000..b179be0ecd --- /dev/null +++ b/web-dist/icons/bookmark-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bootstrap-fill.svg b/web-dist/icons/bootstrap-fill.svg new file mode 100644 index 0000000000..f2c2150fb8 --- /dev/null +++ b/web-dist/icons/bootstrap-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bootstrap-line.svg b/web-dist/icons/bootstrap-line.svg new file mode 100644 index 0000000000..35293b36ba --- /dev/null +++ b/web-dist/icons/bootstrap-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bowl-fill.svg b/web-dist/icons/bowl-fill.svg new file mode 100644 index 0000000000..0bf7d320d7 --- /dev/null +++ b/web-dist/icons/bowl-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bowl-line.svg b/web-dist/icons/bowl-line.svg new file mode 100644 index 0000000000..a3b3ceb49c --- /dev/null +++ b/web-dist/icons/bowl-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/box-1-fill.svg b/web-dist/icons/box-1-fill.svg new file mode 100644 index 0000000000..836e816e94 --- /dev/null +++ b/web-dist/icons/box-1-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/box-1-line.svg b/web-dist/icons/box-1-line.svg new file mode 100644 index 0000000000..acbdaffe7c --- /dev/null +++ b/web-dist/icons/box-1-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/box-2-fill.svg b/web-dist/icons/box-2-fill.svg new file mode 100644 index 0000000000..96d7898ba5 --- /dev/null +++ b/web-dist/icons/box-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/box-2-line.svg b/web-dist/icons/box-2-line.svg new file mode 100644 index 0000000000..513847e81e --- /dev/null +++ b/web-dist/icons/box-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/box-3-fill.svg b/web-dist/icons/box-3-fill.svg new file mode 100644 index 0000000000..3b1ae97a07 --- /dev/null +++ b/web-dist/icons/box-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/box-3-line.svg b/web-dist/icons/box-3-line.svg new file mode 100644 index 0000000000..c018d7cb87 --- /dev/null +++ b/web-dist/icons/box-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/boxing-fill.svg b/web-dist/icons/boxing-fill.svg new file mode 100644 index 0000000000..3397134158 --- /dev/null +++ b/web-dist/icons/boxing-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/boxing-line.svg b/web-dist/icons/boxing-line.svg new file mode 100644 index 0000000000..21ea3bbe0b --- /dev/null +++ b/web-dist/icons/boxing-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/braces-fill.svg b/web-dist/icons/braces-fill.svg new file mode 100644 index 0000000000..1cefc00158 --- /dev/null +++ b/web-dist/icons/braces-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/braces-line.svg b/web-dist/icons/braces-line.svg new file mode 100644 index 0000000000..1cefc00158 --- /dev/null +++ b/web-dist/icons/braces-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brackets-fill.svg b/web-dist/icons/brackets-fill.svg new file mode 100644 index 0000000000..7154f851aa --- /dev/null +++ b/web-dist/icons/brackets-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brackets-line.svg b/web-dist/icons/brackets-line.svg new file mode 100644 index 0000000000..7154f851aa --- /dev/null +++ b/web-dist/icons/brackets-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brain-2-fill.svg b/web-dist/icons/brain-2-fill.svg new file mode 100644 index 0000000000..e8318dac48 --- /dev/null +++ b/web-dist/icons/brain-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brain-2-line.svg b/web-dist/icons/brain-2-line.svg new file mode 100644 index 0000000000..07599aed13 --- /dev/null +++ b/web-dist/icons/brain-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brain-fill.svg b/web-dist/icons/brain-fill.svg new file mode 100644 index 0000000000..ab9b6f15de --- /dev/null +++ b/web-dist/icons/brain-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brain-line.svg b/web-dist/icons/brain-line.svg new file mode 100644 index 0000000000..3e48cf6284 --- /dev/null +++ b/web-dist/icons/brain-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bread-fill.svg b/web-dist/icons/bread-fill.svg new file mode 100644 index 0000000000..b6892d4687 --- /dev/null +++ b/web-dist/icons/bread-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bread-line.svg b/web-dist/icons/bread-line.svg new file mode 100644 index 0000000000..3e9cf06218 --- /dev/null +++ b/web-dist/icons/bread-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/briefcase-2-fill.svg b/web-dist/icons/briefcase-2-fill.svg new file mode 100644 index 0000000000..75267b33ad --- /dev/null +++ b/web-dist/icons/briefcase-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/briefcase-2-line.svg b/web-dist/icons/briefcase-2-line.svg new file mode 100644 index 0000000000..50c09da7e9 --- /dev/null +++ b/web-dist/icons/briefcase-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/briefcase-3-fill.svg b/web-dist/icons/briefcase-3-fill.svg new file mode 100644 index 0000000000..991820cc81 --- /dev/null +++ b/web-dist/icons/briefcase-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/briefcase-3-line.svg b/web-dist/icons/briefcase-3-line.svg new file mode 100644 index 0000000000..1704dcd66d --- /dev/null +++ b/web-dist/icons/briefcase-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/briefcase-4-fill.svg b/web-dist/icons/briefcase-4-fill.svg new file mode 100644 index 0000000000..ac6917f57b --- /dev/null +++ b/web-dist/icons/briefcase-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/briefcase-4-line.svg b/web-dist/icons/briefcase-4-line.svg new file mode 100644 index 0000000000..f837a70cf2 --- /dev/null +++ b/web-dist/icons/briefcase-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/briefcase-5-fill.svg b/web-dist/icons/briefcase-5-fill.svg new file mode 100644 index 0000000000..4b6844eb81 --- /dev/null +++ b/web-dist/icons/briefcase-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/briefcase-5-line.svg b/web-dist/icons/briefcase-5-line.svg new file mode 100644 index 0000000000..06b9a34f81 --- /dev/null +++ b/web-dist/icons/briefcase-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/briefcase-fill.svg b/web-dist/icons/briefcase-fill.svg new file mode 100644 index 0000000000..1c24961779 --- /dev/null +++ b/web-dist/icons/briefcase-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/briefcase-line.svg b/web-dist/icons/briefcase-line.svg new file mode 100644 index 0000000000..4f915d2a63 --- /dev/null +++ b/web-dist/icons/briefcase-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bring-forward.svg b/web-dist/icons/bring-forward.svg new file mode 100644 index 0000000000..e0d2b358cb --- /dev/null +++ b/web-dist/icons/bring-forward.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bring-to-front.svg b/web-dist/icons/bring-to-front.svg new file mode 100644 index 0000000000..d61b0c65bc --- /dev/null +++ b/web-dist/icons/bring-to-front.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/broadcast-fill.svg b/web-dist/icons/broadcast-fill.svg new file mode 100644 index 0000000000..94f8f4b980 --- /dev/null +++ b/web-dist/icons/broadcast-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/broadcast-line.svg b/web-dist/icons/broadcast-line.svg new file mode 100644 index 0000000000..a555ebb610 --- /dev/null +++ b/web-dist/icons/broadcast-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brush-2-fill.svg b/web-dist/icons/brush-2-fill.svg new file mode 100644 index 0000000000..4ebde029d4 --- /dev/null +++ b/web-dist/icons/brush-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brush-2-line.svg b/web-dist/icons/brush-2-line.svg new file mode 100644 index 0000000000..5321bfa62f --- /dev/null +++ b/web-dist/icons/brush-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brush-3-fill.svg b/web-dist/icons/brush-3-fill.svg new file mode 100644 index 0000000000..4b6132c56f --- /dev/null +++ b/web-dist/icons/brush-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brush-3-line.svg b/web-dist/icons/brush-3-line.svg new file mode 100644 index 0000000000..b6ed794289 --- /dev/null +++ b/web-dist/icons/brush-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brush-4-fill.svg b/web-dist/icons/brush-4-fill.svg new file mode 100644 index 0000000000..c60b635a49 --- /dev/null +++ b/web-dist/icons/brush-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brush-4-line.svg b/web-dist/icons/brush-4-line.svg new file mode 100644 index 0000000000..ff3427f96c --- /dev/null +++ b/web-dist/icons/brush-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brush-ai-fill.svg b/web-dist/icons/brush-ai-fill.svg new file mode 100644 index 0000000000..a5d0321e9e --- /dev/null +++ b/web-dist/icons/brush-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brush-ai-line.svg b/web-dist/icons/brush-ai-line.svg new file mode 100644 index 0000000000..d39e9e9048 --- /dev/null +++ b/web-dist/icons/brush-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brush-fill.svg b/web-dist/icons/brush-fill.svg new file mode 100644 index 0000000000..313c1b1d7f --- /dev/null +++ b/web-dist/icons/brush-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/brush-line.svg b/web-dist/icons/brush-line.svg new file mode 100644 index 0000000000..eb8462193f --- /dev/null +++ b/web-dist/icons/brush-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/btc-fill.svg b/web-dist/icons/btc-fill.svg new file mode 100644 index 0000000000..263be19790 --- /dev/null +++ b/web-dist/icons/btc-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/btc-line.svg b/web-dist/icons/btc-line.svg new file mode 100644 index 0000000000..0aa82499cd --- /dev/null +++ b/web-dist/icons/btc-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bubble-chart-fill.svg b/web-dist/icons/bubble-chart-fill.svg new file mode 100644 index 0000000000..78b04ed19b --- /dev/null +++ b/web-dist/icons/bubble-chart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bubble-chart-line.svg b/web-dist/icons/bubble-chart-line.svg new file mode 100644 index 0000000000..589d2eb38e --- /dev/null +++ b/web-dist/icons/bubble-chart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bug-2-fill.svg b/web-dist/icons/bug-2-fill.svg new file mode 100644 index 0000000000..87b46bb40a --- /dev/null +++ b/web-dist/icons/bug-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bug-2-line.svg b/web-dist/icons/bug-2-line.svg new file mode 100644 index 0000000000..dc65be604a --- /dev/null +++ b/web-dist/icons/bug-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bug-fill.svg b/web-dist/icons/bug-fill.svg new file mode 100644 index 0000000000..b2ccae48a9 --- /dev/null +++ b/web-dist/icons/bug-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bug-line.svg b/web-dist/icons/bug-line.svg new file mode 100644 index 0000000000..7154b6a5d3 --- /dev/null +++ b/web-dist/icons/bug-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/building-2-fill.svg b/web-dist/icons/building-2-fill.svg new file mode 100644 index 0000000000..794a9ac5df --- /dev/null +++ b/web-dist/icons/building-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/building-2-line.svg b/web-dist/icons/building-2-line.svg new file mode 100644 index 0000000000..7cc62c4f0d --- /dev/null +++ b/web-dist/icons/building-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/building-3-fill.svg b/web-dist/icons/building-3-fill.svg new file mode 100644 index 0000000000..d2d2292786 --- /dev/null +++ b/web-dist/icons/building-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/building-3-line.svg b/web-dist/icons/building-3-line.svg new file mode 100644 index 0000000000..65b4d045dc --- /dev/null +++ b/web-dist/icons/building-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/building-4-fill.svg b/web-dist/icons/building-4-fill.svg new file mode 100644 index 0000000000..e1b4056d43 --- /dev/null +++ b/web-dist/icons/building-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/building-4-line.svg b/web-dist/icons/building-4-line.svg new file mode 100644 index 0000000000..39c4568177 --- /dev/null +++ b/web-dist/icons/building-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/building-fill.svg b/web-dist/icons/building-fill.svg new file mode 100644 index 0000000000..319aa0721c --- /dev/null +++ b/web-dist/icons/building-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/building-line.svg b/web-dist/icons/building-line.svg new file mode 100644 index 0000000000..60a235b860 --- /dev/null +++ b/web-dist/icons/building-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bus-2-fill.svg b/web-dist/icons/bus-2-fill.svg new file mode 100644 index 0000000000..2344d94aed --- /dev/null +++ b/web-dist/icons/bus-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bus-2-line.svg b/web-dist/icons/bus-2-line.svg new file mode 100644 index 0000000000..8621cb09b7 --- /dev/null +++ b/web-dist/icons/bus-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bus-fill.svg b/web-dist/icons/bus-fill.svg new file mode 100644 index 0000000000..9947731697 --- /dev/null +++ b/web-dist/icons/bus-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bus-line.svg b/web-dist/icons/bus-line.svg new file mode 100644 index 0000000000..0f19f65f9e --- /dev/null +++ b/web-dist/icons/bus-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bus-wifi-fill.svg b/web-dist/icons/bus-wifi-fill.svg new file mode 100644 index 0000000000..11d943dcec --- /dev/null +++ b/web-dist/icons/bus-wifi-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/bus-wifi-line.svg b/web-dist/icons/bus-wifi-line.svg new file mode 100644 index 0000000000..19c7e23d84 --- /dev/null +++ b/web-dist/icons/bus-wifi-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cactus-fill.svg b/web-dist/icons/cactus-fill.svg new file mode 100644 index 0000000000..c038e377b0 --- /dev/null +++ b/web-dist/icons/cactus-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cactus-line.svg b/web-dist/icons/cactus-line.svg new file mode 100644 index 0000000000..5fa184f500 --- /dev/null +++ b/web-dist/icons/cactus-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cake-2-fill.svg b/web-dist/icons/cake-2-fill.svg new file mode 100644 index 0000000000..a3fe6daa68 --- /dev/null +++ b/web-dist/icons/cake-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cake-2-line.svg b/web-dist/icons/cake-2-line.svg new file mode 100644 index 0000000000..40718ae469 --- /dev/null +++ b/web-dist/icons/cake-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cake-3-fill.svg b/web-dist/icons/cake-3-fill.svg new file mode 100644 index 0000000000..0ff3ce0384 --- /dev/null +++ b/web-dist/icons/cake-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cake-3-line.svg b/web-dist/icons/cake-3-line.svg new file mode 100644 index 0000000000..dbde51c0dc --- /dev/null +++ b/web-dist/icons/cake-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cake-fill.svg b/web-dist/icons/cake-fill.svg new file mode 100644 index 0000000000..1a809e1827 --- /dev/null +++ b/web-dist/icons/cake-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cake-line.svg b/web-dist/icons/cake-line.svg new file mode 100644 index 0000000000..441f9db11b --- /dev/null +++ b/web-dist/icons/cake-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calculator-fill.svg b/web-dist/icons/calculator-fill.svg new file mode 100644 index 0000000000..99b1f1a5cf --- /dev/null +++ b/web-dist/icons/calculator-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calculator-line.svg b/web-dist/icons/calculator-line.svg new file mode 100644 index 0000000000..2acb25cd5c --- /dev/null +++ b/web-dist/icons/calculator-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-2-fill.svg b/web-dist/icons/calendar-2-fill.svg new file mode 100644 index 0000000000..8bdacccef1 --- /dev/null +++ b/web-dist/icons/calendar-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-2-line.svg b/web-dist/icons/calendar-2-line.svg new file mode 100644 index 0000000000..d07670f71d --- /dev/null +++ b/web-dist/icons/calendar-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-check-fill.svg b/web-dist/icons/calendar-check-fill.svg new file mode 100644 index 0000000000..298c8b004b --- /dev/null +++ b/web-dist/icons/calendar-check-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-check-line.svg b/web-dist/icons/calendar-check-line.svg new file mode 100644 index 0000000000..3771575490 --- /dev/null +++ b/web-dist/icons/calendar-check-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-close-fill.svg b/web-dist/icons/calendar-close-fill.svg new file mode 100644 index 0000000000..6ba03b7eda --- /dev/null +++ b/web-dist/icons/calendar-close-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-close-line.svg b/web-dist/icons/calendar-close-line.svg new file mode 100644 index 0000000000..3f20244cb0 --- /dev/null +++ b/web-dist/icons/calendar-close-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-event-fill.svg b/web-dist/icons/calendar-event-fill.svg new file mode 100644 index 0000000000..5d4ad1a005 --- /dev/null +++ b/web-dist/icons/calendar-event-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-event-line.svg b/web-dist/icons/calendar-event-line.svg new file mode 100644 index 0000000000..2684006ad0 --- /dev/null +++ b/web-dist/icons/calendar-event-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-fill.svg b/web-dist/icons/calendar-fill.svg new file mode 100644 index 0000000000..9800f5c11a --- /dev/null +++ b/web-dist/icons/calendar-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-line.svg b/web-dist/icons/calendar-line.svg new file mode 100644 index 0000000000..930d804066 --- /dev/null +++ b/web-dist/icons/calendar-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-schedule-fill.svg b/web-dist/icons/calendar-schedule-fill.svg new file mode 100644 index 0000000000..592da2a197 --- /dev/null +++ b/web-dist/icons/calendar-schedule-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-schedule-line.svg b/web-dist/icons/calendar-schedule-line.svg new file mode 100644 index 0000000000..24743dd680 --- /dev/null +++ b/web-dist/icons/calendar-schedule-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-todo-fill.svg b/web-dist/icons/calendar-todo-fill.svg new file mode 100644 index 0000000000..a82517b688 --- /dev/null +++ b/web-dist/icons/calendar-todo-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-todo-line.svg b/web-dist/icons/calendar-todo-line.svg new file mode 100644 index 0000000000..5f5f30b060 --- /dev/null +++ b/web-dist/icons/calendar-todo-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/calendar-view.svg b/web-dist/icons/calendar-view.svg new file mode 100644 index 0000000000..9e9b020415 --- /dev/null +++ b/web-dist/icons/calendar-view.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-2-fill.svg b/web-dist/icons/camera-2-fill.svg new file mode 100644 index 0000000000..a80bb1c0f5 --- /dev/null +++ b/web-dist/icons/camera-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-2-line.svg b/web-dist/icons/camera-2-line.svg new file mode 100644 index 0000000000..50c85fa012 --- /dev/null +++ b/web-dist/icons/camera-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-3-fill.svg b/web-dist/icons/camera-3-fill.svg new file mode 100644 index 0000000000..a6edfa711e --- /dev/null +++ b/web-dist/icons/camera-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-3-line.svg b/web-dist/icons/camera-3-line.svg new file mode 100644 index 0000000000..39948cfe90 --- /dev/null +++ b/web-dist/icons/camera-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-ai-fill.svg b/web-dist/icons/camera-ai-fill.svg new file mode 100644 index 0000000000..c75b1adc5f --- /dev/null +++ b/web-dist/icons/camera-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-ai-line.svg b/web-dist/icons/camera-ai-line.svg new file mode 100644 index 0000000000..a178c9d40d --- /dev/null +++ b/web-dist/icons/camera-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-fill.svg b/web-dist/icons/camera-fill.svg new file mode 100644 index 0000000000..0c6afaaed8 --- /dev/null +++ b/web-dist/icons/camera-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-lens-ai-fill.svg b/web-dist/icons/camera-lens-ai-fill.svg new file mode 100644 index 0000000000..6851e8348b --- /dev/null +++ b/web-dist/icons/camera-lens-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-lens-ai-line.svg b/web-dist/icons/camera-lens-ai-line.svg new file mode 100644 index 0000000000..91e18f3b00 --- /dev/null +++ b/web-dist/icons/camera-lens-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-lens-fill.svg b/web-dist/icons/camera-lens-fill.svg new file mode 100644 index 0000000000..84ce2cba01 --- /dev/null +++ b/web-dist/icons/camera-lens-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-lens-line.svg b/web-dist/icons/camera-lens-line.svg new file mode 100644 index 0000000000..f5435a1924 --- /dev/null +++ b/web-dist/icons/camera-lens-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-line.svg b/web-dist/icons/camera-line.svg new file mode 100644 index 0000000000..1c4882dc5e --- /dev/null +++ b/web-dist/icons/camera-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-off-fill.svg b/web-dist/icons/camera-off-fill.svg new file mode 100644 index 0000000000..45eca4a489 --- /dev/null +++ b/web-dist/icons/camera-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-off-line.svg b/web-dist/icons/camera-off-line.svg new file mode 100644 index 0000000000..b6734dec5f --- /dev/null +++ b/web-dist/icons/camera-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-switch-fill.svg b/web-dist/icons/camera-switch-fill.svg new file mode 100644 index 0000000000..42f8460a7d --- /dev/null +++ b/web-dist/icons/camera-switch-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/camera-switch-line.svg b/web-dist/icons/camera-switch-line.svg new file mode 100644 index 0000000000..2d32a5aaeb --- /dev/null +++ b/web-dist/icons/camera-switch-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/candle-fill.svg b/web-dist/icons/candle-fill.svg new file mode 100644 index 0000000000..33a39f0ce5 --- /dev/null +++ b/web-dist/icons/candle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/candle-line.svg b/web-dist/icons/candle-line.svg new file mode 100644 index 0000000000..0563f3900c --- /dev/null +++ b/web-dist/icons/candle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/capsule-fill.svg b/web-dist/icons/capsule-fill.svg new file mode 100644 index 0000000000..9c35027fab --- /dev/null +++ b/web-dist/icons/capsule-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/capsule-line.svg b/web-dist/icons/capsule-line.svg new file mode 100644 index 0000000000..c8e01ad976 --- /dev/null +++ b/web-dist/icons/capsule-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/car-fill.svg b/web-dist/icons/car-fill.svg new file mode 100644 index 0000000000..acf58388bf --- /dev/null +++ b/web-dist/icons/car-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/car-line.svg b/web-dist/icons/car-line.svg new file mode 100644 index 0000000000..a0be5ec729 --- /dev/null +++ b/web-dist/icons/car-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/car-washing-fill.svg b/web-dist/icons/car-washing-fill.svg new file mode 100644 index 0000000000..2ab0490eae --- /dev/null +++ b/web-dist/icons/car-washing-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/car-washing-line.svg b/web-dist/icons/car-washing-line.svg new file mode 100644 index 0000000000..09a7de28f2 --- /dev/null +++ b/web-dist/icons/car-washing-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/caravan-fill.svg b/web-dist/icons/caravan-fill.svg new file mode 100644 index 0000000000..213e8eff25 --- /dev/null +++ b/web-dist/icons/caravan-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/caravan-line.svg b/web-dist/icons/caravan-line.svg new file mode 100644 index 0000000000..2bd9c8fb6f --- /dev/null +++ b/web-dist/icons/caravan-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/carousel-view.svg b/web-dist/icons/carousel-view.svg new file mode 100644 index 0000000000..17df8b8262 --- /dev/null +++ b/web-dist/icons/carousel-view.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cash-fill.svg b/web-dist/icons/cash-fill.svg new file mode 100644 index 0000000000..981bbd0312 --- /dev/null +++ b/web-dist/icons/cash-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cash-line.svg b/web-dist/icons/cash-line.svg new file mode 100644 index 0000000000..757eec1186 --- /dev/null +++ b/web-dist/icons/cash-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cast-fill.svg b/web-dist/icons/cast-fill.svg new file mode 100644 index 0000000000..23d446a3f1 --- /dev/null +++ b/web-dist/icons/cast-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cast-line.svg b/web-dist/icons/cast-line.svg new file mode 100644 index 0000000000..c091eed7d4 --- /dev/null +++ b/web-dist/icons/cast-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cellphone-fill.svg b/web-dist/icons/cellphone-fill.svg new file mode 100644 index 0000000000..561f566454 --- /dev/null +++ b/web-dist/icons/cellphone-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cellphone-line.svg b/web-dist/icons/cellphone-line.svg new file mode 100644 index 0000000000..bff1f4148b --- /dev/null +++ b/web-dist/icons/cellphone-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/celsius-fill.svg b/web-dist/icons/celsius-fill.svg new file mode 100644 index 0000000000..930fb489e4 --- /dev/null +++ b/web-dist/icons/celsius-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/celsius-line.svg b/web-dist/icons/celsius-line.svg new file mode 100644 index 0000000000..930fb489e4 --- /dev/null +++ b/web-dist/icons/celsius-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/centos-fill.svg b/web-dist/icons/centos-fill.svg new file mode 100644 index 0000000000..b3842c1c1c --- /dev/null +++ b/web-dist/icons/centos-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/centos-line.svg b/web-dist/icons/centos-line.svg new file mode 100644 index 0000000000..20763ed0d2 --- /dev/null +++ b/web-dist/icons/centos-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/character-recognition-fill.svg b/web-dist/icons/character-recognition-fill.svg new file mode 100644 index 0000000000..cd8b2d18df --- /dev/null +++ b/web-dist/icons/character-recognition-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/character-recognition-line.svg b/web-dist/icons/character-recognition-line.svg new file mode 100644 index 0000000000..31ad56a774 --- /dev/null +++ b/web-dist/icons/character-recognition-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/charging-pile-2-fill.svg b/web-dist/icons/charging-pile-2-fill.svg new file mode 100644 index 0000000000..95f80bc768 --- /dev/null +++ b/web-dist/icons/charging-pile-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/charging-pile-2-line.svg b/web-dist/icons/charging-pile-2-line.svg new file mode 100644 index 0000000000..8913532778 --- /dev/null +++ b/web-dist/icons/charging-pile-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/charging-pile-fill.svg b/web-dist/icons/charging-pile-fill.svg new file mode 100644 index 0000000000..d3527e90da --- /dev/null +++ b/web-dist/icons/charging-pile-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/charging-pile-line.svg b/web-dist/icons/charging-pile-line.svg new file mode 100644 index 0000000000..7c324b3053 --- /dev/null +++ b/web-dist/icons/charging-pile-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-1-fill 2.svg b/web-dist/icons/chat-1-fill 2.svg new file mode 100644 index 0000000000..334ec900c4 --- /dev/null +++ b/web-dist/icons/chat-1-fill 2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-1-fill.svg b/web-dist/icons/chat-1-fill.svg new file mode 100644 index 0000000000..334ec900c4 --- /dev/null +++ b/web-dist/icons/chat-1-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-1-line.svg b/web-dist/icons/chat-1-line.svg new file mode 100644 index 0000000000..d62fdd3ac2 --- /dev/null +++ b/web-dist/icons/chat-1-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-2-fill.svg b/web-dist/icons/chat-2-fill.svg new file mode 100644 index 0000000000..10005b1564 --- /dev/null +++ b/web-dist/icons/chat-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-2-line.svg b/web-dist/icons/chat-2-line.svg new file mode 100644 index 0000000000..98e935ace8 --- /dev/null +++ b/web-dist/icons/chat-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-3-fill.svg b/web-dist/icons/chat-3-fill.svg new file mode 100644 index 0000000000..1b8332ae58 --- /dev/null +++ b/web-dist/icons/chat-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-3-line.svg b/web-dist/icons/chat-3-line.svg new file mode 100644 index 0000000000..6f85c19da8 --- /dev/null +++ b/web-dist/icons/chat-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-4-fill.svg b/web-dist/icons/chat-4-fill.svg new file mode 100644 index 0000000000..d1e80409bc --- /dev/null +++ b/web-dist/icons/chat-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-4-line.svg b/web-dist/icons/chat-4-line.svg new file mode 100644 index 0000000000..ef30746a55 --- /dev/null +++ b/web-dist/icons/chat-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-ai-fill.svg b/web-dist/icons/chat-ai-fill.svg new file mode 100644 index 0000000000..ff0a5180be --- /dev/null +++ b/web-dist/icons/chat-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-ai-line.svg b/web-dist/icons/chat-ai-line.svg new file mode 100644 index 0000000000..224451e5d6 --- /dev/null +++ b/web-dist/icons/chat-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-check-fill.svg b/web-dist/icons/chat-check-fill.svg new file mode 100644 index 0000000000..9d74e6d07f --- /dev/null +++ b/web-dist/icons/chat-check-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-check-line.svg b/web-dist/icons/chat-check-line.svg new file mode 100644 index 0000000000..65cad395c9 --- /dev/null +++ b/web-dist/icons/chat-check-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-delete-fill.svg b/web-dist/icons/chat-delete-fill.svg new file mode 100644 index 0000000000..27bbe2a393 --- /dev/null +++ b/web-dist/icons/chat-delete-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-delete-line.svg b/web-dist/icons/chat-delete-line.svg new file mode 100644 index 0000000000..28a6b36d80 --- /dev/null +++ b/web-dist/icons/chat-delete-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-download-fill.svg b/web-dist/icons/chat-download-fill.svg new file mode 100644 index 0000000000..e484a8e6c5 --- /dev/null +++ b/web-dist/icons/chat-download-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-download-line.svg b/web-dist/icons/chat-download-line.svg new file mode 100644 index 0000000000..b22de6e20f --- /dev/null +++ b/web-dist/icons/chat-download-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-follow-up-fill.svg b/web-dist/icons/chat-follow-up-fill.svg new file mode 100644 index 0000000000..45a111c0b0 --- /dev/null +++ b/web-dist/icons/chat-follow-up-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-follow-up-line.svg b/web-dist/icons/chat-follow-up-line.svg new file mode 100644 index 0000000000..1499919b8e --- /dev/null +++ b/web-dist/icons/chat-follow-up-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-forward-fill.svg b/web-dist/icons/chat-forward-fill.svg new file mode 100644 index 0000000000..bd124e65c2 --- /dev/null +++ b/web-dist/icons/chat-forward-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-forward-line.svg b/web-dist/icons/chat-forward-line.svg new file mode 100644 index 0000000000..4148f9ae89 --- /dev/null +++ b/web-dist/icons/chat-forward-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-heart-fill.svg b/web-dist/icons/chat-heart-fill.svg new file mode 100644 index 0000000000..1f0fe198f4 --- /dev/null +++ b/web-dist/icons/chat-heart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-heart-line.svg b/web-dist/icons/chat-heart-line.svg new file mode 100644 index 0000000000..7d788c36b6 --- /dev/null +++ b/web-dist/icons/chat-heart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-history-fill.svg b/web-dist/icons/chat-history-fill.svg new file mode 100644 index 0000000000..b2aaa3a8bc --- /dev/null +++ b/web-dist/icons/chat-history-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-history-line.svg b/web-dist/icons/chat-history-line.svg new file mode 100644 index 0000000000..14c1e004f3 --- /dev/null +++ b/web-dist/icons/chat-history-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-new-fill.svg b/web-dist/icons/chat-new-fill.svg new file mode 100644 index 0000000000..6de10953dc --- /dev/null +++ b/web-dist/icons/chat-new-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-new-line.svg b/web-dist/icons/chat-new-line.svg new file mode 100644 index 0000000000..2c04582599 --- /dev/null +++ b/web-dist/icons/chat-new-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-off-fill.svg b/web-dist/icons/chat-off-fill.svg new file mode 100644 index 0000000000..c888a3d95a --- /dev/null +++ b/web-dist/icons/chat-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-off-line.svg b/web-dist/icons/chat-off-line.svg new file mode 100644 index 0000000000..a5838656c2 --- /dev/null +++ b/web-dist/icons/chat-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-poll-fill.svg b/web-dist/icons/chat-poll-fill.svg new file mode 100644 index 0000000000..6f85937a8e --- /dev/null +++ b/web-dist/icons/chat-poll-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-poll-line.svg b/web-dist/icons/chat-poll-line.svg new file mode 100644 index 0000000000..4f60ff85c8 --- /dev/null +++ b/web-dist/icons/chat-poll-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-private-fill.svg b/web-dist/icons/chat-private-fill.svg new file mode 100644 index 0000000000..712630e637 --- /dev/null +++ b/web-dist/icons/chat-private-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-private-line.svg b/web-dist/icons/chat-private-line.svg new file mode 100644 index 0000000000..b56eec88ac --- /dev/null +++ b/web-dist/icons/chat-private-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-quote-fill.svg b/web-dist/icons/chat-quote-fill.svg new file mode 100644 index 0000000000..864313fc09 --- /dev/null +++ b/web-dist/icons/chat-quote-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-quote-line.svg b/web-dist/icons/chat-quote-line.svg new file mode 100644 index 0000000000..df6aa582c6 --- /dev/null +++ b/web-dist/icons/chat-quote-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-search-fill.svg b/web-dist/icons/chat-search-fill.svg new file mode 100644 index 0000000000..1f13133967 --- /dev/null +++ b/web-dist/icons/chat-search-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-search-line.svg b/web-dist/icons/chat-search-line.svg new file mode 100644 index 0000000000..51ca58b50a --- /dev/null +++ b/web-dist/icons/chat-search-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-settings-fill.svg b/web-dist/icons/chat-settings-fill.svg new file mode 100644 index 0000000000..19ed61a898 --- /dev/null +++ b/web-dist/icons/chat-settings-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-settings-line.svg b/web-dist/icons/chat-settings-line.svg new file mode 100644 index 0000000000..acbfe591f3 --- /dev/null +++ b/web-dist/icons/chat-settings-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-smile-2-fill.svg b/web-dist/icons/chat-smile-2-fill.svg new file mode 100644 index 0000000000..bce92fd3a6 --- /dev/null +++ b/web-dist/icons/chat-smile-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-smile-2-line.svg b/web-dist/icons/chat-smile-2-line.svg new file mode 100644 index 0000000000..4229737b81 --- /dev/null +++ b/web-dist/icons/chat-smile-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-smile-3-fill.svg b/web-dist/icons/chat-smile-3-fill.svg new file mode 100644 index 0000000000..8dc4d20539 --- /dev/null +++ b/web-dist/icons/chat-smile-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-smile-3-line.svg b/web-dist/icons/chat-smile-3-line.svg new file mode 100644 index 0000000000..f3afc00b7d --- /dev/null +++ b/web-dist/icons/chat-smile-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-smile-ai-fill.svg b/web-dist/icons/chat-smile-ai-fill.svg new file mode 100644 index 0000000000..cee022cc62 --- /dev/null +++ b/web-dist/icons/chat-smile-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-smile-ai-line.svg b/web-dist/icons/chat-smile-ai-line.svg new file mode 100644 index 0000000000..0826c646d6 --- /dev/null +++ b/web-dist/icons/chat-smile-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-smile-fill.svg b/web-dist/icons/chat-smile-fill.svg new file mode 100644 index 0000000000..6b41d888c6 --- /dev/null +++ b/web-dist/icons/chat-smile-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-smile-line.svg b/web-dist/icons/chat-smile-line.svg new file mode 100644 index 0000000000..4bd335280a --- /dev/null +++ b/web-dist/icons/chat-smile-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-thread-fill.svg b/web-dist/icons/chat-thread-fill.svg new file mode 100644 index 0000000000..b3bc4b83ac --- /dev/null +++ b/web-dist/icons/chat-thread-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-thread-line.svg b/web-dist/icons/chat-thread-line.svg new file mode 100644 index 0000000000..496655943b --- /dev/null +++ b/web-dist/icons/chat-thread-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-unread-fill.svg b/web-dist/icons/chat-unread-fill.svg new file mode 100644 index 0000000000..4103ae8de7 --- /dev/null +++ b/web-dist/icons/chat-unread-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-unread-line.svg b/web-dist/icons/chat-unread-line.svg new file mode 100644 index 0000000000..564c5e04bf --- /dev/null +++ b/web-dist/icons/chat-unread-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-upload-fill.svg b/web-dist/icons/chat-upload-fill.svg new file mode 100644 index 0000000000..76703edb01 --- /dev/null +++ b/web-dist/icons/chat-upload-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-upload-line.svg b/web-dist/icons/chat-upload-line.svg new file mode 100644 index 0000000000..3605c2293f --- /dev/null +++ b/web-dist/icons/chat-upload-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-voice-ai-fill.svg b/web-dist/icons/chat-voice-ai-fill.svg new file mode 100644 index 0000000000..bd2c87851f --- /dev/null +++ b/web-dist/icons/chat-voice-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-voice-ai-line.svg b/web-dist/icons/chat-voice-ai-line.svg new file mode 100644 index 0000000000..275840c558 --- /dev/null +++ b/web-dist/icons/chat-voice-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-voice-fill.svg b/web-dist/icons/chat-voice-fill.svg new file mode 100644 index 0000000000..58cebd7bff --- /dev/null +++ b/web-dist/icons/chat-voice-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chat-voice-line.svg b/web-dist/icons/chat-voice-line.svg new file mode 100644 index 0000000000..2afc2ef0b5 --- /dev/null +++ b/web-dist/icons/chat-voice-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/check-double-fill.svg b/web-dist/icons/check-double-fill.svg new file mode 100644 index 0000000000..2893446591 --- /dev/null +++ b/web-dist/icons/check-double-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/check-double-line.svg b/web-dist/icons/check-double-line.svg new file mode 100644 index 0000000000..2893446591 --- /dev/null +++ b/web-dist/icons/check-double-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/check-fill.svg b/web-dist/icons/check-fill.svg new file mode 100644 index 0000000000..c0272c00c6 --- /dev/null +++ b/web-dist/icons/check-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/check-line.svg b/web-dist/icons/check-line.svg new file mode 100644 index 0000000000..c0272c00c6 --- /dev/null +++ b/web-dist/icons/check-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-blank-circle-fill.svg b/web-dist/icons/checkbox-blank-circle-fill.svg new file mode 100644 index 0000000000..0caf615a85 --- /dev/null +++ b/web-dist/icons/checkbox-blank-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-blank-circle-line.svg b/web-dist/icons/checkbox-blank-circle-line.svg new file mode 100644 index 0000000000..4a3094ed63 --- /dev/null +++ b/web-dist/icons/checkbox-blank-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-blank-fill.svg b/web-dist/icons/checkbox-blank-fill.svg new file mode 100644 index 0000000000..64640e9d67 --- /dev/null +++ b/web-dist/icons/checkbox-blank-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-blank-line.svg b/web-dist/icons/checkbox-blank-line.svg new file mode 100644 index 0000000000..b5a326536b --- /dev/null +++ b/web-dist/icons/checkbox-blank-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-circle-fill.svg b/web-dist/icons/checkbox-circle-fill.svg new file mode 100644 index 0000000000..6f584019e4 --- /dev/null +++ b/web-dist/icons/checkbox-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-circle-line.svg b/web-dist/icons/checkbox-circle-line.svg new file mode 100644 index 0000000000..eaffe5e247 --- /dev/null +++ b/web-dist/icons/checkbox-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-fill.svg b/web-dist/icons/checkbox-fill.svg new file mode 100644 index 0000000000..784348a077 --- /dev/null +++ b/web-dist/icons/checkbox-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-indeterminate-fill.svg b/web-dist/icons/checkbox-indeterminate-fill.svg new file mode 100644 index 0000000000..a8582a679c --- /dev/null +++ b/web-dist/icons/checkbox-indeterminate-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-indeterminate-line.svg b/web-dist/icons/checkbox-indeterminate-line.svg new file mode 100644 index 0000000000..fd20b4c7aa --- /dev/null +++ b/web-dist/icons/checkbox-indeterminate-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-line.svg b/web-dist/icons/checkbox-line.svg new file mode 100644 index 0000000000..84a178c2da --- /dev/null +++ b/web-dist/icons/checkbox-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-multiple-blank-fill.svg b/web-dist/icons/checkbox-multiple-blank-fill.svg new file mode 100644 index 0000000000..b3e7079982 --- /dev/null +++ b/web-dist/icons/checkbox-multiple-blank-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-multiple-blank-line.svg b/web-dist/icons/checkbox-multiple-blank-line.svg new file mode 100644 index 0000000000..17ec81400f --- /dev/null +++ b/web-dist/icons/checkbox-multiple-blank-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-multiple-fill.svg b/web-dist/icons/checkbox-multiple-fill.svg new file mode 100644 index 0000000000..82da2b915d --- /dev/null +++ b/web-dist/icons/checkbox-multiple-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/checkbox-multiple-line.svg b/web-dist/icons/checkbox-multiple-line.svg new file mode 100644 index 0000000000..194ebc40f2 --- /dev/null +++ b/web-dist/icons/checkbox-multiple-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chess-fill.svg b/web-dist/icons/chess-fill.svg new file mode 100644 index 0000000000..4c39ff59e1 --- /dev/null +++ b/web-dist/icons/chess-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chess-line.svg b/web-dist/icons/chess-line.svg new file mode 100644 index 0000000000..b9e0015f8f --- /dev/null +++ b/web-dist/icons/chess-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/china-railway-fill.svg b/web-dist/icons/china-railway-fill.svg new file mode 100644 index 0000000000..3979dbe1dc --- /dev/null +++ b/web-dist/icons/china-railway-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/china-railway-line.svg b/web-dist/icons/china-railway-line.svg new file mode 100644 index 0000000000..c86de71bea --- /dev/null +++ b/web-dist/icons/china-railway-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chrome-fill.svg b/web-dist/icons/chrome-fill.svg new file mode 100644 index 0000000000..485c06220e --- /dev/null +++ b/web-dist/icons/chrome-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/chrome-line.svg b/web-dist/icons/chrome-line.svg new file mode 100644 index 0000000000..8ff3eae878 --- /dev/null +++ b/web-dist/icons/chrome-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/circle-fill.svg b/web-dist/icons/circle-fill.svg new file mode 100644 index 0000000000..0caf615a85 --- /dev/null +++ b/web-dist/icons/circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/circle-line.svg b/web-dist/icons/circle-line.svg new file mode 100644 index 0000000000..4a3094ed63 --- /dev/null +++ b/web-dist/icons/circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/clapperboard-ai-fill.svg b/web-dist/icons/clapperboard-ai-fill.svg new file mode 100644 index 0000000000..29a5c89eea --- /dev/null +++ b/web-dist/icons/clapperboard-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/clapperboard-ai-line.svg b/web-dist/icons/clapperboard-ai-line.svg new file mode 100644 index 0000000000..a7ab75aeb5 --- /dev/null +++ b/web-dist/icons/clapperboard-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/clapperboard-fill.svg b/web-dist/icons/clapperboard-fill.svg new file mode 100644 index 0000000000..bc1d4bf269 --- /dev/null +++ b/web-dist/icons/clapperboard-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/clapperboard-line.svg b/web-dist/icons/clapperboard-line.svg new file mode 100644 index 0000000000..b1f171bed5 --- /dev/null +++ b/web-dist/icons/clapperboard-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/claude-fill.svg b/web-dist/icons/claude-fill.svg new file mode 100644 index 0000000000..f699875fc0 --- /dev/null +++ b/web-dist/icons/claude-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/claude-line.svg b/web-dist/icons/claude-line.svg new file mode 100644 index 0000000000..e3f457ffa7 --- /dev/null +++ b/web-dist/icons/claude-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/clipboard-fill.svg b/web-dist/icons/clipboard-fill.svg new file mode 100644 index 0000000000..0ed5d8c73d --- /dev/null +++ b/web-dist/icons/clipboard-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/clipboard-line.svg b/web-dist/icons/clipboard-line.svg new file mode 100644 index 0000000000..2119c259ec --- /dev/null +++ b/web-dist/icons/clipboard-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/clockwise-2-fill.svg b/web-dist/icons/clockwise-2-fill.svg new file mode 100644 index 0000000000..d1a2d29236 --- /dev/null +++ b/web-dist/icons/clockwise-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/clockwise-2-line.svg b/web-dist/icons/clockwise-2-line.svg new file mode 100644 index 0000000000..3256cba63b --- /dev/null +++ b/web-dist/icons/clockwise-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/clockwise-fill.svg b/web-dist/icons/clockwise-fill.svg new file mode 100644 index 0000000000..b5df53fbfc --- /dev/null +++ b/web-dist/icons/clockwise-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/clockwise-line.svg b/web-dist/icons/clockwise-line.svg new file mode 100644 index 0000000000..62102ad0b4 --- /dev/null +++ b/web-dist/icons/clockwise-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/close-circle-fill.svg b/web-dist/icons/close-circle-fill.svg new file mode 100644 index 0000000000..66ea65c967 --- /dev/null +++ b/web-dist/icons/close-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/close-circle-line.svg b/web-dist/icons/close-circle-line.svg new file mode 100644 index 0000000000..2230aa0e27 --- /dev/null +++ b/web-dist/icons/close-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/close-fill.svg b/web-dist/icons/close-fill.svg new file mode 100644 index 0000000000..4ee8e56f28 --- /dev/null +++ b/web-dist/icons/close-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/close-large-fill.svg b/web-dist/icons/close-large-fill.svg new file mode 100644 index 0000000000..2e891d0883 --- /dev/null +++ b/web-dist/icons/close-large-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/close-large-line.svg b/web-dist/icons/close-large-line.svg new file mode 100644 index 0000000000..2e891d0883 --- /dev/null +++ b/web-dist/icons/close-large-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/close-line.svg b/web-dist/icons/close-line.svg new file mode 100644 index 0000000000..4ee8e56f28 --- /dev/null +++ b/web-dist/icons/close-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/closed-captioning-ai-fill.svg b/web-dist/icons/closed-captioning-ai-fill.svg new file mode 100644 index 0000000000..7ca60921fe --- /dev/null +++ b/web-dist/icons/closed-captioning-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/closed-captioning-ai-line.svg b/web-dist/icons/closed-captioning-ai-line.svg new file mode 100644 index 0000000000..ae47eb6c04 --- /dev/null +++ b/web-dist/icons/closed-captioning-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/closed-captioning-fill.svg b/web-dist/icons/closed-captioning-fill.svg new file mode 100644 index 0000000000..48d6694828 --- /dev/null +++ b/web-dist/icons/closed-captioning-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/closed-captioning-line.svg b/web-dist/icons/closed-captioning-line.svg new file mode 100644 index 0000000000..394d279c7b --- /dev/null +++ b/web-dist/icons/closed-captioning-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cloud-fill.svg b/web-dist/icons/cloud-fill.svg new file mode 100644 index 0000000000..94c4c46df7 --- /dev/null +++ b/web-dist/icons/cloud-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cloud-line.svg b/web-dist/icons/cloud-line.svg new file mode 100644 index 0000000000..51afdb3874 --- /dev/null +++ b/web-dist/icons/cloud-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cloud-off-fill.svg b/web-dist/icons/cloud-off-fill.svg new file mode 100644 index 0000000000..5708a5392c --- /dev/null +++ b/web-dist/icons/cloud-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cloud-off-line.svg b/web-dist/icons/cloud-off-line.svg new file mode 100644 index 0000000000..f67944a603 --- /dev/null +++ b/web-dist/icons/cloud-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cloud-windy-fill.svg b/web-dist/icons/cloud-windy-fill.svg new file mode 100644 index 0000000000..baecf90446 --- /dev/null +++ b/web-dist/icons/cloud-windy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cloud-windy-line.svg b/web-dist/icons/cloud-windy-line.svg new file mode 100644 index 0000000000..9f355fe566 --- /dev/null +++ b/web-dist/icons/cloud-windy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cloudy-2-fill.svg b/web-dist/icons/cloudy-2-fill.svg new file mode 100644 index 0000000000..e9f96a9e17 --- /dev/null +++ b/web-dist/icons/cloudy-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cloudy-2-line.svg b/web-dist/icons/cloudy-2-line.svg new file mode 100644 index 0000000000..8d02928694 --- /dev/null +++ b/web-dist/icons/cloudy-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cloudy-fill.svg b/web-dist/icons/cloudy-fill.svg new file mode 100644 index 0000000000..447abaa511 --- /dev/null +++ b/web-dist/icons/cloudy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cloudy-line.svg b/web-dist/icons/cloudy-line.svg new file mode 100644 index 0000000000..df6853977e --- /dev/null +++ b/web-dist/icons/cloudy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/code-ai-fill.svg b/web-dist/icons/code-ai-fill.svg new file mode 100644 index 0000000000..613628dd00 --- /dev/null +++ b/web-dist/icons/code-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/code-ai-line.svg b/web-dist/icons/code-ai-line.svg new file mode 100644 index 0000000000..613628dd00 --- /dev/null +++ b/web-dist/icons/code-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/code-block.svg b/web-dist/icons/code-block.svg new file mode 100644 index 0000000000..f8b6019485 --- /dev/null +++ b/web-dist/icons/code-block.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/code-box-fill.svg b/web-dist/icons/code-box-fill.svg new file mode 100644 index 0000000000..c82a81b9ae --- /dev/null +++ b/web-dist/icons/code-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/code-box-line.svg b/web-dist/icons/code-box-line.svg new file mode 100644 index 0000000000..5153e1f4b7 --- /dev/null +++ b/web-dist/icons/code-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/code-fill.svg b/web-dist/icons/code-fill.svg new file mode 100644 index 0000000000..b4f6309887 --- /dev/null +++ b/web-dist/icons/code-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/code-line.svg b/web-dist/icons/code-line.svg new file mode 100644 index 0000000000..b4f6309887 --- /dev/null +++ b/web-dist/icons/code-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/code-s-fill.svg b/web-dist/icons/code-s-fill.svg new file mode 100644 index 0000000000..910aaaeaa9 --- /dev/null +++ b/web-dist/icons/code-s-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/code-s-line.svg b/web-dist/icons/code-s-line.svg new file mode 100644 index 0000000000..910aaaeaa9 --- /dev/null +++ b/web-dist/icons/code-s-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/code-s-slash-fill.svg b/web-dist/icons/code-s-slash-fill.svg new file mode 100644 index 0000000000..c385d37464 --- /dev/null +++ b/web-dist/icons/code-s-slash-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/code-s-slash-line.svg b/web-dist/icons/code-s-slash-line.svg new file mode 100644 index 0000000000..c385d37464 --- /dev/null +++ b/web-dist/icons/code-s-slash-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/code-view.svg b/web-dist/icons/code-view.svg new file mode 100644 index 0000000000..82dd97b1f5 --- /dev/null +++ b/web-dist/icons/code-view.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/codepen-fill.svg b/web-dist/icons/codepen-fill.svg new file mode 100644 index 0000000000..826bccf270 --- /dev/null +++ b/web-dist/icons/codepen-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/codepen-line.svg b/web-dist/icons/codepen-line.svg new file mode 100644 index 0000000000..c3d4288b06 --- /dev/null +++ b/web-dist/icons/codepen-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coin-fill.svg b/web-dist/icons/coin-fill.svg new file mode 100644 index 0000000000..ac9d61a29f --- /dev/null +++ b/web-dist/icons/coin-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coin-line.svg b/web-dist/icons/coin-line.svg new file mode 100644 index 0000000000..5e4f1e0fc0 --- /dev/null +++ b/web-dist/icons/coin-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coins-fill.svg b/web-dist/icons/coins-fill.svg new file mode 100644 index 0000000000..fd0a93bc4f --- /dev/null +++ b/web-dist/icons/coins-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coins-line.svg b/web-dist/icons/coins-line.svg new file mode 100644 index 0000000000..45ed051d74 --- /dev/null +++ b/web-dist/icons/coins-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/collage-fill.svg b/web-dist/icons/collage-fill.svg new file mode 100644 index 0000000000..c67ac866d5 --- /dev/null +++ b/web-dist/icons/collage-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/collage-line.svg b/web-dist/icons/collage-line.svg new file mode 100644 index 0000000000..706089c9d4 --- /dev/null +++ b/web-dist/icons/collage-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/collapse-diagonal-2-fill.svg b/web-dist/icons/collapse-diagonal-2-fill.svg new file mode 100644 index 0000000000..bc81f08a7f --- /dev/null +++ b/web-dist/icons/collapse-diagonal-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/collapse-diagonal-2-line.svg b/web-dist/icons/collapse-diagonal-2-line.svg new file mode 100644 index 0000000000..be3c64793b --- /dev/null +++ b/web-dist/icons/collapse-diagonal-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/collapse-diagonal-fill.svg b/web-dist/icons/collapse-diagonal-fill.svg new file mode 100644 index 0000000000..5fbfdb87f4 --- /dev/null +++ b/web-dist/icons/collapse-diagonal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/collapse-diagonal-line.svg b/web-dist/icons/collapse-diagonal-line.svg new file mode 100644 index 0000000000..39a1e07c1c --- /dev/null +++ b/web-dist/icons/collapse-diagonal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/collapse-horizontal-fill.svg b/web-dist/icons/collapse-horizontal-fill.svg new file mode 100644 index 0000000000..35ec4a983c --- /dev/null +++ b/web-dist/icons/collapse-horizontal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/collapse-horizontal-line.svg b/web-dist/icons/collapse-horizontal-line.svg new file mode 100644 index 0000000000..cccd9ee797 --- /dev/null +++ b/web-dist/icons/collapse-horizontal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/collapse-vertical-fill.svg b/web-dist/icons/collapse-vertical-fill.svg new file mode 100644 index 0000000000..f12199a5ec --- /dev/null +++ b/web-dist/icons/collapse-vertical-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/collapse-vertical-line.svg b/web-dist/icons/collapse-vertical-line.svg new file mode 100644 index 0000000000..0ea29f8dfe --- /dev/null +++ b/web-dist/icons/collapse-vertical-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/color-filter-ai-fill.svg b/web-dist/icons/color-filter-ai-fill.svg new file mode 100644 index 0000000000..b0669fa30f --- /dev/null +++ b/web-dist/icons/color-filter-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/color-filter-ai-line.svg b/web-dist/icons/color-filter-ai-line.svg new file mode 100644 index 0000000000..43273fc998 --- /dev/null +++ b/web-dist/icons/color-filter-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/color-filter-fill.svg b/web-dist/icons/color-filter-fill.svg new file mode 100644 index 0000000000..018c6720e8 --- /dev/null +++ b/web-dist/icons/color-filter-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/color-filter-line.svg b/web-dist/icons/color-filter-line.svg new file mode 100644 index 0000000000..3aa5c154da --- /dev/null +++ b/web-dist/icons/color-filter-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/command-fill.svg b/web-dist/icons/command-fill.svg new file mode 100644 index 0000000000..f5c7292ed6 --- /dev/null +++ b/web-dist/icons/command-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/command-line.svg b/web-dist/icons/command-line.svg new file mode 100644 index 0000000000..f5c7292ed6 --- /dev/null +++ b/web-dist/icons/command-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/community-fill.svg b/web-dist/icons/community-fill.svg new file mode 100644 index 0000000000..588cdb7a7a --- /dev/null +++ b/web-dist/icons/community-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/community-line.svg b/web-dist/icons/community-line.svg new file mode 100644 index 0000000000..bd49e09382 --- /dev/null +++ b/web-dist/icons/community-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compass-2-fill.svg b/web-dist/icons/compass-2-fill.svg new file mode 100644 index 0000000000..e4ee4b2f17 --- /dev/null +++ b/web-dist/icons/compass-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compass-2-line.svg b/web-dist/icons/compass-2-line.svg new file mode 100644 index 0000000000..400b247adf --- /dev/null +++ b/web-dist/icons/compass-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compass-3-fill.svg b/web-dist/icons/compass-3-fill.svg new file mode 100644 index 0000000000..0a9c69afb7 --- /dev/null +++ b/web-dist/icons/compass-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compass-3-line.svg b/web-dist/icons/compass-3-line.svg new file mode 100644 index 0000000000..fcae9f3795 --- /dev/null +++ b/web-dist/icons/compass-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compass-4-fill.svg b/web-dist/icons/compass-4-fill.svg new file mode 100644 index 0000000000..6bfede6db4 --- /dev/null +++ b/web-dist/icons/compass-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compass-4-line.svg b/web-dist/icons/compass-4-line.svg new file mode 100644 index 0000000000..08c7694d40 --- /dev/null +++ b/web-dist/icons/compass-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compass-discover-fill.svg b/web-dist/icons/compass-discover-fill.svg new file mode 100644 index 0000000000..55a53ac121 --- /dev/null +++ b/web-dist/icons/compass-discover-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compass-discover-line.svg b/web-dist/icons/compass-discover-line.svg new file mode 100644 index 0000000000..8ba1349aad --- /dev/null +++ b/web-dist/icons/compass-discover-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compass-fill.svg b/web-dist/icons/compass-fill.svg new file mode 100644 index 0000000000..5da3cfe7f7 --- /dev/null +++ b/web-dist/icons/compass-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compass-line.svg b/web-dist/icons/compass-line.svg new file mode 100644 index 0000000000..1b6e34a8e3 --- /dev/null +++ b/web-dist/icons/compass-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compasses-2-fill.svg b/web-dist/icons/compasses-2-fill.svg new file mode 100644 index 0000000000..2b98f6226f --- /dev/null +++ b/web-dist/icons/compasses-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compasses-2-line.svg b/web-dist/icons/compasses-2-line.svg new file mode 100644 index 0000000000..c553290aa7 --- /dev/null +++ b/web-dist/icons/compasses-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compasses-fill.svg b/web-dist/icons/compasses-fill.svg new file mode 100644 index 0000000000..4d80aec739 --- /dev/null +++ b/web-dist/icons/compasses-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/compasses-line.svg b/web-dist/icons/compasses-line.svg new file mode 100644 index 0000000000..f9dbf9df6f --- /dev/null +++ b/web-dist/icons/compasses-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/computer-fill.svg b/web-dist/icons/computer-fill.svg new file mode 100644 index 0000000000..c33a9be63b --- /dev/null +++ b/web-dist/icons/computer-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/computer-line.svg b/web-dist/icons/computer-line.svg new file mode 100644 index 0000000000..1cca673079 --- /dev/null +++ b/web-dist/icons/computer-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contacts-book-2-fill.svg b/web-dist/icons/contacts-book-2-fill.svg new file mode 100644 index 0000000000..0d823da6d6 --- /dev/null +++ b/web-dist/icons/contacts-book-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contacts-book-2-line.svg b/web-dist/icons/contacts-book-2-line.svg new file mode 100644 index 0000000000..d015ed6de8 --- /dev/null +++ b/web-dist/icons/contacts-book-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contacts-book-3-fill.svg b/web-dist/icons/contacts-book-3-fill.svg new file mode 100644 index 0000000000..6476702de0 --- /dev/null +++ b/web-dist/icons/contacts-book-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contacts-book-3-line.svg b/web-dist/icons/contacts-book-3-line.svg new file mode 100644 index 0000000000..43d32a026f --- /dev/null +++ b/web-dist/icons/contacts-book-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contacts-book-fill.svg b/web-dist/icons/contacts-book-fill.svg new file mode 100644 index 0000000000..6d94ec1695 --- /dev/null +++ b/web-dist/icons/contacts-book-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contacts-book-line.svg b/web-dist/icons/contacts-book-line.svg new file mode 100644 index 0000000000..c6b117eb97 --- /dev/null +++ b/web-dist/icons/contacts-book-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contacts-book-upload-fill.svg b/web-dist/icons/contacts-book-upload-fill.svg new file mode 100644 index 0000000000..dcea1598aa --- /dev/null +++ b/web-dist/icons/contacts-book-upload-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contacts-book-upload-line.svg b/web-dist/icons/contacts-book-upload-line.svg new file mode 100644 index 0000000000..f78faf5b49 --- /dev/null +++ b/web-dist/icons/contacts-book-upload-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contacts-fill.svg b/web-dist/icons/contacts-fill.svg new file mode 100644 index 0000000000..f9548c8aa3 --- /dev/null +++ b/web-dist/icons/contacts-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contacts-line.svg b/web-dist/icons/contacts-line.svg new file mode 100644 index 0000000000..75a00ce512 --- /dev/null +++ b/web-dist/icons/contacts-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contract-fill.svg b/web-dist/icons/contract-fill.svg new file mode 100644 index 0000000000..ffb4ae3e4c --- /dev/null +++ b/web-dist/icons/contract-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contract-left-fill.svg b/web-dist/icons/contract-left-fill.svg new file mode 100644 index 0000000000..919b130ded --- /dev/null +++ b/web-dist/icons/contract-left-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contract-left-line.svg b/web-dist/icons/contract-left-line.svg new file mode 100644 index 0000000000..652f216400 --- /dev/null +++ b/web-dist/icons/contract-left-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contract-left-right-fill.svg b/web-dist/icons/contract-left-right-fill.svg new file mode 100644 index 0000000000..ff4ee90188 --- /dev/null +++ b/web-dist/icons/contract-left-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contract-left-right-line.svg b/web-dist/icons/contract-left-right-line.svg new file mode 100644 index 0000000000..7dec2fb571 --- /dev/null +++ b/web-dist/icons/contract-left-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contract-line.svg b/web-dist/icons/contract-line.svg new file mode 100644 index 0000000000..27041ba0bb --- /dev/null +++ b/web-dist/icons/contract-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contract-right-fill.svg b/web-dist/icons/contract-right-fill.svg new file mode 100644 index 0000000000..ebc1791afb --- /dev/null +++ b/web-dist/icons/contract-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contract-right-line.svg b/web-dist/icons/contract-right-line.svg new file mode 100644 index 0000000000..de42fe7e5f --- /dev/null +++ b/web-dist/icons/contract-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contract-up-down-fill.svg b/web-dist/icons/contract-up-down-fill.svg new file mode 100644 index 0000000000..d59092f56b --- /dev/null +++ b/web-dist/icons/contract-up-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contract-up-down-line.svg b/web-dist/icons/contract-up-down-line.svg new file mode 100644 index 0000000000..64e9979b42 --- /dev/null +++ b/web-dist/icons/contract-up-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contrast-2-fill.svg b/web-dist/icons/contrast-2-fill.svg new file mode 100644 index 0000000000..4b282a09b5 --- /dev/null +++ b/web-dist/icons/contrast-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contrast-2-line.svg b/web-dist/icons/contrast-2-line.svg new file mode 100644 index 0000000000..a463acfc12 --- /dev/null +++ b/web-dist/icons/contrast-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contrast-drop-2-fill.svg b/web-dist/icons/contrast-drop-2-fill.svg new file mode 100644 index 0000000000..77111b7eb1 --- /dev/null +++ b/web-dist/icons/contrast-drop-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contrast-drop-2-line.svg b/web-dist/icons/contrast-drop-2-line.svg new file mode 100644 index 0000000000..9af269cd9a --- /dev/null +++ b/web-dist/icons/contrast-drop-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contrast-drop-fill.svg b/web-dist/icons/contrast-drop-fill.svg new file mode 100644 index 0000000000..d1d5f8b9c8 --- /dev/null +++ b/web-dist/icons/contrast-drop-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contrast-drop-line.svg b/web-dist/icons/contrast-drop-line.svg new file mode 100644 index 0000000000..c787614948 --- /dev/null +++ b/web-dist/icons/contrast-drop-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contrast-fill.svg b/web-dist/icons/contrast-fill.svg new file mode 100644 index 0000000000..770ccf59b8 --- /dev/null +++ b/web-dist/icons/contrast-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/contrast-line.svg b/web-dist/icons/contrast-line.svg new file mode 100644 index 0000000000..6864408c79 --- /dev/null +++ b/web-dist/icons/contrast-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/copilot-fill.svg b/web-dist/icons/copilot-fill.svg new file mode 100644 index 0000000000..f5d3b1a316 --- /dev/null +++ b/web-dist/icons/copilot-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/copilot-line.svg b/web-dist/icons/copilot-line.svg new file mode 100644 index 0000000000..89bb70f735 --- /dev/null +++ b/web-dist/icons/copilot-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/copper-coin-fill.svg b/web-dist/icons/copper-coin-fill.svg new file mode 100644 index 0000000000..9b88f63792 --- /dev/null +++ b/web-dist/icons/copper-coin-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/copper-coin-line.svg b/web-dist/icons/copper-coin-line.svg new file mode 100644 index 0000000000..bd3301f10c --- /dev/null +++ b/web-dist/icons/copper-coin-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/copper-diamond-fill.svg b/web-dist/icons/copper-diamond-fill.svg new file mode 100644 index 0000000000..6bbb17644a --- /dev/null +++ b/web-dist/icons/copper-diamond-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/copper-diamond-line.svg b/web-dist/icons/copper-diamond-line.svg new file mode 100644 index 0000000000..880081bffe --- /dev/null +++ b/web-dist/icons/copper-diamond-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/copyleft-fill.svg b/web-dist/icons/copyleft-fill.svg new file mode 100644 index 0000000000..ef48ef54a8 --- /dev/null +++ b/web-dist/icons/copyleft-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/copyleft-line.svg b/web-dist/icons/copyleft-line.svg new file mode 100644 index 0000000000..78b018a2c1 --- /dev/null +++ b/web-dist/icons/copyleft-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/copyright-fill.svg b/web-dist/icons/copyright-fill.svg new file mode 100644 index 0000000000..0f700938a0 --- /dev/null +++ b/web-dist/icons/copyright-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/copyright-line.svg b/web-dist/icons/copyright-line.svg new file mode 100644 index 0000000000..41ccefd09e --- /dev/null +++ b/web-dist/icons/copyright-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coreos-fill.svg b/web-dist/icons/coreos-fill.svg new file mode 100644 index 0000000000..94b4a0d9cc --- /dev/null +++ b/web-dist/icons/coreos-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coreos-line.svg b/web-dist/icons/coreos-line.svg new file mode 100644 index 0000000000..c39d6efdd8 --- /dev/null +++ b/web-dist/icons/coreos-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-down-left-fill.svg b/web-dist/icons/corner-down-left-fill.svg new file mode 100644 index 0000000000..66bd6b6d08 --- /dev/null +++ b/web-dist/icons/corner-down-left-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-down-left-line.svg b/web-dist/icons/corner-down-left-line.svg new file mode 100644 index 0000000000..4694b75cc2 --- /dev/null +++ b/web-dist/icons/corner-down-left-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-down-right-fill.svg b/web-dist/icons/corner-down-right-fill.svg new file mode 100644 index 0000000000..8e75ad7a44 --- /dev/null +++ b/web-dist/icons/corner-down-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-down-right-line.svg b/web-dist/icons/corner-down-right-line.svg new file mode 100644 index 0000000000..0bcb4feac1 --- /dev/null +++ b/web-dist/icons/corner-down-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-left-down-fill.svg b/web-dist/icons/corner-left-down-fill.svg new file mode 100644 index 0000000000..c12cae9dbc --- /dev/null +++ b/web-dist/icons/corner-left-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-left-down-line.svg b/web-dist/icons/corner-left-down-line.svg new file mode 100644 index 0000000000..cbd875030b --- /dev/null +++ b/web-dist/icons/corner-left-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-left-up-fill.svg b/web-dist/icons/corner-left-up-fill.svg new file mode 100644 index 0000000000..512caeaf4a --- /dev/null +++ b/web-dist/icons/corner-left-up-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-left-up-line.svg b/web-dist/icons/corner-left-up-line.svg new file mode 100644 index 0000000000..7520a95da6 --- /dev/null +++ b/web-dist/icons/corner-left-up-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-right-down-fill.svg b/web-dist/icons/corner-right-down-fill.svg new file mode 100644 index 0000000000..6df1368934 --- /dev/null +++ b/web-dist/icons/corner-right-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-right-down-line.svg b/web-dist/icons/corner-right-down-line.svg new file mode 100644 index 0000000000..07f7aa6a55 --- /dev/null +++ b/web-dist/icons/corner-right-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-right-up-fill.svg b/web-dist/icons/corner-right-up-fill.svg new file mode 100644 index 0000000000..5b47c2fdfd --- /dev/null +++ b/web-dist/icons/corner-right-up-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-right-up-line.svg b/web-dist/icons/corner-right-up-line.svg new file mode 100644 index 0000000000..78cb49ecac --- /dev/null +++ b/web-dist/icons/corner-right-up-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-up-left-double-fill.svg b/web-dist/icons/corner-up-left-double-fill.svg new file mode 100644 index 0000000000..b0d2b20c22 --- /dev/null +++ b/web-dist/icons/corner-up-left-double-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-up-left-double-line.svg b/web-dist/icons/corner-up-left-double-line.svg new file mode 100644 index 0000000000..186d78de03 --- /dev/null +++ b/web-dist/icons/corner-up-left-double-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-up-left-fill.svg b/web-dist/icons/corner-up-left-fill.svg new file mode 100644 index 0000000000..27cd101750 --- /dev/null +++ b/web-dist/icons/corner-up-left-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-up-left-line.svg b/web-dist/icons/corner-up-left-line.svg new file mode 100644 index 0000000000..a29b7c63af --- /dev/null +++ b/web-dist/icons/corner-up-left-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-up-right-double-fill.svg b/web-dist/icons/corner-up-right-double-fill.svg new file mode 100644 index 0000000000..8bdc8b05d9 --- /dev/null +++ b/web-dist/icons/corner-up-right-double-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-up-right-double-line.svg b/web-dist/icons/corner-up-right-double-line.svg new file mode 100644 index 0000000000..806e058ede --- /dev/null +++ b/web-dist/icons/corner-up-right-double-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-up-right-fill.svg b/web-dist/icons/corner-up-right-fill.svg new file mode 100644 index 0000000000..c2b1ae8589 --- /dev/null +++ b/web-dist/icons/corner-up-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/corner-up-right-line.svg b/web-dist/icons/corner-up-right-line.svg new file mode 100644 index 0000000000..06b39d09fd --- /dev/null +++ b/web-dist/icons/corner-up-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coupon-2-fill.svg b/web-dist/icons/coupon-2-fill.svg new file mode 100644 index 0000000000..7eb39a05c3 --- /dev/null +++ b/web-dist/icons/coupon-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coupon-2-line.svg b/web-dist/icons/coupon-2-line.svg new file mode 100644 index 0000000000..9d61962d05 --- /dev/null +++ b/web-dist/icons/coupon-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coupon-3-fill.svg b/web-dist/icons/coupon-3-fill.svg new file mode 100644 index 0000000000..37a049792c --- /dev/null +++ b/web-dist/icons/coupon-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coupon-3-line.svg b/web-dist/icons/coupon-3-line.svg new file mode 100644 index 0000000000..23de213c2a --- /dev/null +++ b/web-dist/icons/coupon-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coupon-4-fill.svg b/web-dist/icons/coupon-4-fill.svg new file mode 100644 index 0000000000..8fdf1c70ae --- /dev/null +++ b/web-dist/icons/coupon-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coupon-4-line.svg b/web-dist/icons/coupon-4-line.svg new file mode 100644 index 0000000000..2e2642c077 --- /dev/null +++ b/web-dist/icons/coupon-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coupon-5-fill.svg b/web-dist/icons/coupon-5-fill.svg new file mode 100644 index 0000000000..ba7627edea --- /dev/null +++ b/web-dist/icons/coupon-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coupon-5-line.svg b/web-dist/icons/coupon-5-line.svg new file mode 100644 index 0000000000..d751532bad --- /dev/null +++ b/web-dist/icons/coupon-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coupon-fill.svg b/web-dist/icons/coupon-fill.svg new file mode 100644 index 0000000000..7e4fb3dbce --- /dev/null +++ b/web-dist/icons/coupon-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/coupon-line.svg b/web-dist/icons/coupon-line.svg new file mode 100644 index 0000000000..3ba01b4c7f --- /dev/null +++ b/web-dist/icons/coupon-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cpu-fill.svg b/web-dist/icons/cpu-fill.svg new file mode 100644 index 0000000000..6016fc676b --- /dev/null +++ b/web-dist/icons/cpu-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cpu-line.svg b/web-dist/icons/cpu-line.svg new file mode 100644 index 0000000000..a69c58caa4 --- /dev/null +++ b/web-dist/icons/cpu-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/creative-commons-by-fill.svg b/web-dist/icons/creative-commons-by-fill.svg new file mode 100644 index 0000000000..0726df455d --- /dev/null +++ b/web-dist/icons/creative-commons-by-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/creative-commons-by-line.svg b/web-dist/icons/creative-commons-by-line.svg new file mode 100644 index 0000000000..409f7c885a --- /dev/null +++ b/web-dist/icons/creative-commons-by-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/creative-commons-fill.svg b/web-dist/icons/creative-commons-fill.svg new file mode 100644 index 0000000000..edc1116281 --- /dev/null +++ b/web-dist/icons/creative-commons-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/creative-commons-line.svg b/web-dist/icons/creative-commons-line.svg new file mode 100644 index 0000000000..f41be4a6ec --- /dev/null +++ b/web-dist/icons/creative-commons-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/creative-commons-nc-fill.svg b/web-dist/icons/creative-commons-nc-fill.svg new file mode 100644 index 0000000000..a36de7dc27 --- /dev/null +++ b/web-dist/icons/creative-commons-nc-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/creative-commons-nc-line.svg b/web-dist/icons/creative-commons-nc-line.svg new file mode 100644 index 0000000000..2378965d06 --- /dev/null +++ b/web-dist/icons/creative-commons-nc-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/creative-commons-nd-fill.svg b/web-dist/icons/creative-commons-nd-fill.svg new file mode 100644 index 0000000000..730144906c --- /dev/null +++ b/web-dist/icons/creative-commons-nd-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/creative-commons-nd-line.svg b/web-dist/icons/creative-commons-nd-line.svg new file mode 100644 index 0000000000..b21e355339 --- /dev/null +++ b/web-dist/icons/creative-commons-nd-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/creative-commons-sa-fill.svg b/web-dist/icons/creative-commons-sa-fill.svg new file mode 100644 index 0000000000..70de42b081 --- /dev/null +++ b/web-dist/icons/creative-commons-sa-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/creative-commons-sa-line.svg b/web-dist/icons/creative-commons-sa-line.svg new file mode 100644 index 0000000000..f2d42f4a2c --- /dev/null +++ b/web-dist/icons/creative-commons-sa-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/creative-commons-zero-fill.svg b/web-dist/icons/creative-commons-zero-fill.svg new file mode 100644 index 0000000000..6a7c654f09 --- /dev/null +++ b/web-dist/icons/creative-commons-zero-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/creative-commons-zero-line.svg b/web-dist/icons/creative-commons-zero-line.svg new file mode 100644 index 0000000000..22e0cbf915 --- /dev/null +++ b/web-dist/icons/creative-commons-zero-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/criminal-fill.svg b/web-dist/icons/criminal-fill.svg new file mode 100644 index 0000000000..f9057ee542 --- /dev/null +++ b/web-dist/icons/criminal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/criminal-line.svg b/web-dist/icons/criminal-line.svg new file mode 100644 index 0000000000..14c975b5c5 --- /dev/null +++ b/web-dist/icons/criminal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/crop-2-fill.svg b/web-dist/icons/crop-2-fill.svg new file mode 100644 index 0000000000..c2a9b718a7 --- /dev/null +++ b/web-dist/icons/crop-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/crop-2-line.svg b/web-dist/icons/crop-2-line.svg new file mode 100644 index 0000000000..743fd50193 --- /dev/null +++ b/web-dist/icons/crop-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/crop-fill.svg b/web-dist/icons/crop-fill.svg new file mode 100644 index 0000000000..1872fb560b --- /dev/null +++ b/web-dist/icons/crop-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/crop-line.svg b/web-dist/icons/crop-line.svg new file mode 100644 index 0000000000..46f12de124 --- /dev/null +++ b/web-dist/icons/crop-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cross-fill.svg b/web-dist/icons/cross-fill.svg new file mode 100644 index 0000000000..d2db1ba586 --- /dev/null +++ b/web-dist/icons/cross-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cross-line.svg b/web-dist/icons/cross-line.svg new file mode 100644 index 0000000000..088a18522e --- /dev/null +++ b/web-dist/icons/cross-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/crosshair-2-fill.svg b/web-dist/icons/crosshair-2-fill.svg new file mode 100644 index 0000000000..e8c5e08bdb --- /dev/null +++ b/web-dist/icons/crosshair-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/crosshair-2-line.svg b/web-dist/icons/crosshair-2-line.svg new file mode 100644 index 0000000000..82f65caa4b --- /dev/null +++ b/web-dist/icons/crosshair-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/crosshair-fill.svg b/web-dist/icons/crosshair-fill.svg new file mode 100644 index 0000000000..d48551a480 --- /dev/null +++ b/web-dist/icons/crosshair-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/crosshair-line.svg b/web-dist/icons/crosshair-line.svg new file mode 100644 index 0000000000..8ca9f01418 --- /dev/null +++ b/web-dist/icons/crosshair-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/css3-fill.svg b/web-dist/icons/css3-fill.svg new file mode 100644 index 0000000000..205265aea7 --- /dev/null +++ b/web-dist/icons/css3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/css3-line.svg b/web-dist/icons/css3-line.svg new file mode 100644 index 0000000000..1a02f36fbe --- /dev/null +++ b/web-dist/icons/css3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cup-fill.svg b/web-dist/icons/cup-fill.svg new file mode 100644 index 0000000000..8cf7c9bfa7 --- /dev/null +++ b/web-dist/icons/cup-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cup-line.svg b/web-dist/icons/cup-line.svg new file mode 100644 index 0000000000..5734bc50d0 --- /dev/null +++ b/web-dist/icons/cup-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/currency-fill.svg b/web-dist/icons/currency-fill.svg new file mode 100644 index 0000000000..e61e222951 --- /dev/null +++ b/web-dist/icons/currency-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/currency-line.svg b/web-dist/icons/currency-line.svg new file mode 100644 index 0000000000..bdfa0839f6 --- /dev/null +++ b/web-dist/icons/currency-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cursor-fill.svg b/web-dist/icons/cursor-fill.svg new file mode 100644 index 0000000000..614816850d --- /dev/null +++ b/web-dist/icons/cursor-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/cursor-line.svg b/web-dist/icons/cursor-line.svg new file mode 100644 index 0000000000..4dddb5a33b --- /dev/null +++ b/web-dist/icons/cursor-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/custom-size.svg b/web-dist/icons/custom-size.svg new file mode 100644 index 0000000000..7c8d630e89 --- /dev/null +++ b/web-dist/icons/custom-size.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/customer-service-2-fill.svg b/web-dist/icons/customer-service-2-fill.svg new file mode 100644 index 0000000000..68dde51655 --- /dev/null +++ b/web-dist/icons/customer-service-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/customer-service-2-line.svg b/web-dist/icons/customer-service-2-line.svg new file mode 100644 index 0000000000..bafcdfa691 --- /dev/null +++ b/web-dist/icons/customer-service-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/customer-service-fill.svg b/web-dist/icons/customer-service-fill.svg new file mode 100644 index 0000000000..d7fb431d10 --- /dev/null +++ b/web-dist/icons/customer-service-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/customer-service-line.svg b/web-dist/icons/customer-service-line.svg new file mode 100644 index 0000000000..20685c9a5f --- /dev/null +++ b/web-dist/icons/customer-service-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dashboard-2-fill.svg b/web-dist/icons/dashboard-2-fill.svg new file mode 100644 index 0000000000..33f36215cd --- /dev/null +++ b/web-dist/icons/dashboard-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dashboard-2-line.svg b/web-dist/icons/dashboard-2-line.svg new file mode 100644 index 0000000000..d660b234fc --- /dev/null +++ b/web-dist/icons/dashboard-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dashboard-3-fill.svg b/web-dist/icons/dashboard-3-fill.svg new file mode 100644 index 0000000000..755742fb14 --- /dev/null +++ b/web-dist/icons/dashboard-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dashboard-3-line.svg b/web-dist/icons/dashboard-3-line.svg new file mode 100644 index 0000000000..f7f214e6de --- /dev/null +++ b/web-dist/icons/dashboard-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dashboard-fill.svg b/web-dist/icons/dashboard-fill.svg new file mode 100644 index 0000000000..6c1117c841 --- /dev/null +++ b/web-dist/icons/dashboard-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dashboard-horizontal-fill.svg b/web-dist/icons/dashboard-horizontal-fill.svg new file mode 100644 index 0000000000..ae5d1b991e --- /dev/null +++ b/web-dist/icons/dashboard-horizontal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dashboard-horizontal-line.svg b/web-dist/icons/dashboard-horizontal-line.svg new file mode 100644 index 0000000000..70c79c8f04 --- /dev/null +++ b/web-dist/icons/dashboard-horizontal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dashboard-line.svg b/web-dist/icons/dashboard-line.svg new file mode 100644 index 0000000000..ad64197d8b --- /dev/null +++ b/web-dist/icons/dashboard-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/database-2-fill.svg b/web-dist/icons/database-2-fill.svg new file mode 100644 index 0000000000..c69b4f0562 --- /dev/null +++ b/web-dist/icons/database-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/database-2-line.svg b/web-dist/icons/database-2-line.svg new file mode 100644 index 0000000000..1a74e8f2cf --- /dev/null +++ b/web-dist/icons/database-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/database-fill.svg b/web-dist/icons/database-fill.svg new file mode 100644 index 0000000000..a7fd42ce0a --- /dev/null +++ b/web-dist/icons/database-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/database-line.svg b/web-dist/icons/database-line.svg new file mode 100644 index 0000000000..6f3b6c62b5 --- /dev/null +++ b/web-dist/icons/database-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-back-2-fill.svg b/web-dist/icons/delete-back-2-fill.svg new file mode 100644 index 0000000000..32e48b834a --- /dev/null +++ b/web-dist/icons/delete-back-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-back-2-line.svg b/web-dist/icons/delete-back-2-line.svg new file mode 100644 index 0000000000..5320fe06c1 --- /dev/null +++ b/web-dist/icons/delete-back-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-back-fill.svg b/web-dist/icons/delete-back-fill.svg new file mode 100644 index 0000000000..2c01a8408c --- /dev/null +++ b/web-dist/icons/delete-back-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-back-line.svg b/web-dist/icons/delete-back-line.svg new file mode 100644 index 0000000000..500f5f13f2 --- /dev/null +++ b/web-dist/icons/delete-back-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-2-fill.svg b/web-dist/icons/delete-bin-2-fill.svg new file mode 100644 index 0000000000..bb2c5789e1 --- /dev/null +++ b/web-dist/icons/delete-bin-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-2-line.svg b/web-dist/icons/delete-bin-2-line.svg new file mode 100644 index 0000000000..f69c2d03ae --- /dev/null +++ b/web-dist/icons/delete-bin-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-3-fill.svg b/web-dist/icons/delete-bin-3-fill.svg new file mode 100644 index 0000000000..0554ad00ae --- /dev/null +++ b/web-dist/icons/delete-bin-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-3-line.svg b/web-dist/icons/delete-bin-3-line.svg new file mode 100644 index 0000000000..480482b275 --- /dev/null +++ b/web-dist/icons/delete-bin-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-4-fill.svg b/web-dist/icons/delete-bin-4-fill.svg new file mode 100644 index 0000000000..31aa4752c8 --- /dev/null +++ b/web-dist/icons/delete-bin-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-4-line.svg b/web-dist/icons/delete-bin-4-line.svg new file mode 100644 index 0000000000..c9b9f59ed8 --- /dev/null +++ b/web-dist/icons/delete-bin-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-5-fill.svg b/web-dist/icons/delete-bin-5-fill.svg new file mode 100644 index 0000000000..02e7510d48 --- /dev/null +++ b/web-dist/icons/delete-bin-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-5-line.svg b/web-dist/icons/delete-bin-5-line.svg new file mode 100644 index 0000000000..9fd689360e --- /dev/null +++ b/web-dist/icons/delete-bin-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-6-fill.svg b/web-dist/icons/delete-bin-6-fill.svg new file mode 100644 index 0000000000..d6122540f0 --- /dev/null +++ b/web-dist/icons/delete-bin-6-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-6-line.svg b/web-dist/icons/delete-bin-6-line.svg new file mode 100644 index 0000000000..4ce2747aa8 --- /dev/null +++ b/web-dist/icons/delete-bin-6-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-7-fill.svg b/web-dist/icons/delete-bin-7-fill.svg new file mode 100644 index 0000000000..8a8c3df2ef --- /dev/null +++ b/web-dist/icons/delete-bin-7-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-7-line.svg b/web-dist/icons/delete-bin-7-line.svg new file mode 100644 index 0000000000..f180fe256d --- /dev/null +++ b/web-dist/icons/delete-bin-7-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-fill.svg b/web-dist/icons/delete-bin-fill.svg new file mode 100644 index 0000000000..47bd18a3f8 --- /dev/null +++ b/web-dist/icons/delete-bin-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-bin-line.svg b/web-dist/icons/delete-bin-line.svg new file mode 100644 index 0000000000..e074d3a09f --- /dev/null +++ b/web-dist/icons/delete-bin-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-column.svg b/web-dist/icons/delete-column.svg new file mode 100644 index 0000000000..6e42ef5b15 --- /dev/null +++ b/web-dist/icons/delete-column.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/delete-row.svg b/web-dist/icons/delete-row.svg new file mode 100644 index 0000000000..2cab90571b --- /dev/null +++ b/web-dist/icons/delete-row.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/device-fill.svg b/web-dist/icons/device-fill.svg new file mode 100644 index 0000000000..05fa93ece8 --- /dev/null +++ b/web-dist/icons/device-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/device-line.svg b/web-dist/icons/device-line.svg new file mode 100644 index 0000000000..61eed2f524 --- /dev/null +++ b/web-dist/icons/device-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/device-recover-fill.svg b/web-dist/icons/device-recover-fill.svg new file mode 100644 index 0000000000..be3983a4e3 --- /dev/null +++ b/web-dist/icons/device-recover-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/device-recover-line.svg b/web-dist/icons/device-recover-line.svg new file mode 100644 index 0000000000..0e7246bd6d --- /dev/null +++ b/web-dist/icons/device-recover-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/diamond-fill.svg b/web-dist/icons/diamond-fill.svg new file mode 100644 index 0000000000..5cf7f01ef3 --- /dev/null +++ b/web-dist/icons/diamond-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/diamond-line.svg b/web-dist/icons/diamond-line.svg new file mode 100644 index 0000000000..7dda5ad287 --- /dev/null +++ b/web-dist/icons/diamond-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/diamond-ring-fill.svg b/web-dist/icons/diamond-ring-fill.svg new file mode 100644 index 0000000000..356540c624 --- /dev/null +++ b/web-dist/icons/diamond-ring-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/diamond-ring-line.svg b/web-dist/icons/diamond-ring-line.svg new file mode 100644 index 0000000000..0bdbbd0045 --- /dev/null +++ b/web-dist/icons/diamond-ring-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-1-fill.svg b/web-dist/icons/dice-1-fill.svg new file mode 100644 index 0000000000..669f23eb15 --- /dev/null +++ b/web-dist/icons/dice-1-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-1-line.svg b/web-dist/icons/dice-1-line.svg new file mode 100644 index 0000000000..1a0632e18e --- /dev/null +++ b/web-dist/icons/dice-1-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-2-fill.svg b/web-dist/icons/dice-2-fill.svg new file mode 100644 index 0000000000..69f11c9f2e --- /dev/null +++ b/web-dist/icons/dice-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-2-line.svg b/web-dist/icons/dice-2-line.svg new file mode 100644 index 0000000000..cf65bb4183 --- /dev/null +++ b/web-dist/icons/dice-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-3-fill.svg b/web-dist/icons/dice-3-fill.svg new file mode 100644 index 0000000000..08cc55999b --- /dev/null +++ b/web-dist/icons/dice-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-3-line.svg b/web-dist/icons/dice-3-line.svg new file mode 100644 index 0000000000..f4043e3d28 --- /dev/null +++ b/web-dist/icons/dice-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-4-fill.svg b/web-dist/icons/dice-4-fill.svg new file mode 100644 index 0000000000..05b8303558 --- /dev/null +++ b/web-dist/icons/dice-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-4-line.svg b/web-dist/icons/dice-4-line.svg new file mode 100644 index 0000000000..d1abce58db --- /dev/null +++ b/web-dist/icons/dice-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-5-fill.svg b/web-dist/icons/dice-5-fill.svg new file mode 100644 index 0000000000..da2734fbf9 --- /dev/null +++ b/web-dist/icons/dice-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-5-line.svg b/web-dist/icons/dice-5-line.svg new file mode 100644 index 0000000000..b2e7ecff75 --- /dev/null +++ b/web-dist/icons/dice-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-6-fill.svg b/web-dist/icons/dice-6-fill.svg new file mode 100644 index 0000000000..5ca86793aa --- /dev/null +++ b/web-dist/icons/dice-6-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-6-line.svg b/web-dist/icons/dice-6-line.svg new file mode 100644 index 0000000000..52fae3f688 --- /dev/null +++ b/web-dist/icons/dice-6-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-fill.svg b/web-dist/icons/dice-fill.svg new file mode 100644 index 0000000000..ca8266de11 --- /dev/null +++ b/web-dist/icons/dice-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dice-line.svg b/web-dist/icons/dice-line.svg new file mode 100644 index 0000000000..8f85ed51c2 --- /dev/null +++ b/web-dist/icons/dice-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dingding-fill.svg b/web-dist/icons/dingding-fill.svg new file mode 100644 index 0000000000..dd2941f08a --- /dev/null +++ b/web-dist/icons/dingding-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dingding-line.svg b/web-dist/icons/dingding-line.svg new file mode 100644 index 0000000000..03abe7b28d --- /dev/null +++ b/web-dist/icons/dingding-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/direction-fill.svg b/web-dist/icons/direction-fill.svg new file mode 100644 index 0000000000..3906fd1871 --- /dev/null +++ b/web-dist/icons/direction-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/direction-line.svg b/web-dist/icons/direction-line.svg new file mode 100644 index 0000000000..b11d087418 --- /dev/null +++ b/web-dist/icons/direction-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/disc-fill.svg b/web-dist/icons/disc-fill.svg new file mode 100644 index 0000000000..c2a2a0748f --- /dev/null +++ b/web-dist/icons/disc-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/disc-line.svg b/web-dist/icons/disc-line.svg new file mode 100644 index 0000000000..53d64d0a7a --- /dev/null +++ b/web-dist/icons/disc-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/discord-fill.svg b/web-dist/icons/discord-fill.svg new file mode 100644 index 0000000000..0145ebdad5 --- /dev/null +++ b/web-dist/icons/discord-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/discord-line.svg b/web-dist/icons/discord-line.svg new file mode 100644 index 0000000000..e33ee896d7 --- /dev/null +++ b/web-dist/icons/discord-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/discount-percent-fill.svg b/web-dist/icons/discount-percent-fill.svg new file mode 100644 index 0000000000..7750c9f819 --- /dev/null +++ b/web-dist/icons/discount-percent-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/discount-percent-line.svg b/web-dist/icons/discount-percent-line.svg new file mode 100644 index 0000000000..71e6615c4f --- /dev/null +++ b/web-dist/icons/discount-percent-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/discuss-fill.svg b/web-dist/icons/discuss-fill.svg new file mode 100644 index 0000000000..10097a7a73 --- /dev/null +++ b/web-dist/icons/discuss-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/discuss-line.svg b/web-dist/icons/discuss-line.svg new file mode 100644 index 0000000000..87dd5fe64b --- /dev/null +++ b/web-dist/icons/discuss-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dislike-fill.svg b/web-dist/icons/dislike-fill.svg new file mode 100644 index 0000000000..3c3a29f593 --- /dev/null +++ b/web-dist/icons/dislike-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dislike-line.svg b/web-dist/icons/dislike-line.svg new file mode 100644 index 0000000000..2e667b39cb --- /dev/null +++ b/web-dist/icons/dislike-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/disqus-fill.svg b/web-dist/icons/disqus-fill.svg new file mode 100644 index 0000000000..d546e728e3 --- /dev/null +++ b/web-dist/icons/disqus-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/disqus-line.svg b/web-dist/icons/disqus-line.svg new file mode 100644 index 0000000000..720edd1aa4 --- /dev/null +++ b/web-dist/icons/disqus-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/divide-fill.svg b/web-dist/icons/divide-fill.svg new file mode 100644 index 0000000000..309517538a --- /dev/null +++ b/web-dist/icons/divide-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/divide-line.svg b/web-dist/icons/divide-line.svg new file mode 100644 index 0000000000..309517538a --- /dev/null +++ b/web-dist/icons/divide-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dna-fill.svg b/web-dist/icons/dna-fill.svg new file mode 100644 index 0000000000..69cfa9fe47 --- /dev/null +++ b/web-dist/icons/dna-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dna-line.svg b/web-dist/icons/dna-line.svg new file mode 100644 index 0000000000..79c298dbae --- /dev/null +++ b/web-dist/icons/dna-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/donut-chart-fill.svg b/web-dist/icons/donut-chart-fill.svg new file mode 100644 index 0000000000..876ab92601 --- /dev/null +++ b/web-dist/icons/donut-chart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/donut-chart-line.svg b/web-dist/icons/donut-chart-line.svg new file mode 100644 index 0000000000..2998d62f85 --- /dev/null +++ b/web-dist/icons/donut-chart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/door-closed-fill.svg b/web-dist/icons/door-closed-fill.svg new file mode 100644 index 0000000000..108b1c98ca --- /dev/null +++ b/web-dist/icons/door-closed-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/door-closed-line.svg b/web-dist/icons/door-closed-line.svg new file mode 100644 index 0000000000..d0f9f6fc64 --- /dev/null +++ b/web-dist/icons/door-closed-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/door-fill.svg b/web-dist/icons/door-fill.svg new file mode 100644 index 0000000000..4f5b2fee5e --- /dev/null +++ b/web-dist/icons/door-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/door-line.svg b/web-dist/icons/door-line.svg new file mode 100644 index 0000000000..2eafa7576a --- /dev/null +++ b/web-dist/icons/door-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/door-lock-box-fill.svg b/web-dist/icons/door-lock-box-fill.svg new file mode 100644 index 0000000000..24e43f1897 --- /dev/null +++ b/web-dist/icons/door-lock-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/door-lock-box-line.svg b/web-dist/icons/door-lock-box-line.svg new file mode 100644 index 0000000000..e495ac68cc --- /dev/null +++ b/web-dist/icons/door-lock-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/door-lock-fill.svg b/web-dist/icons/door-lock-fill.svg new file mode 100644 index 0000000000..6ad3e87771 --- /dev/null +++ b/web-dist/icons/door-lock-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/door-lock-line.svg b/web-dist/icons/door-lock-line.svg new file mode 100644 index 0000000000..bf4b6e592a --- /dev/null +++ b/web-dist/icons/door-lock-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/door-open-fill.svg b/web-dist/icons/door-open-fill.svg new file mode 100644 index 0000000000..324935ba8e --- /dev/null +++ b/web-dist/icons/door-open-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/door-open-line.svg b/web-dist/icons/door-open-line.svg new file mode 100644 index 0000000000..092b031f47 --- /dev/null +++ b/web-dist/icons/door-open-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dossier-fill.svg b/web-dist/icons/dossier-fill.svg new file mode 100644 index 0000000000..b43fac5493 --- /dev/null +++ b/web-dist/icons/dossier-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dossier-line.svg b/web-dist/icons/dossier-line.svg new file mode 100644 index 0000000000..13ba72dadc --- /dev/null +++ b/web-dist/icons/dossier-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/douban-fill.svg b/web-dist/icons/douban-fill.svg new file mode 100644 index 0000000000..0fbd14f695 --- /dev/null +++ b/web-dist/icons/douban-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/douban-line.svg b/web-dist/icons/douban-line.svg new file mode 100644 index 0000000000..41bac2a02a --- /dev/null +++ b/web-dist/icons/douban-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/double-quotes-l.svg b/web-dist/icons/double-quotes-l.svg new file mode 100644 index 0000000000..255b999d12 --- /dev/null +++ b/web-dist/icons/double-quotes-l.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/double-quotes-r.svg b/web-dist/icons/double-quotes-r.svg new file mode 100644 index 0000000000..9e482dcfb0 --- /dev/null +++ b/web-dist/icons/double-quotes-r.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/download-2-fill.svg b/web-dist/icons/download-2-fill.svg new file mode 100644 index 0000000000..b2a3b4b2e2 --- /dev/null +++ b/web-dist/icons/download-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/download-2-line.svg b/web-dist/icons/download-2-line.svg new file mode 100644 index 0000000000..63462906b3 --- /dev/null +++ b/web-dist/icons/download-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/download-cloud-2-fill.svg b/web-dist/icons/download-cloud-2-fill.svg new file mode 100644 index 0000000000..a20cc982a2 --- /dev/null +++ b/web-dist/icons/download-cloud-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/download-cloud-2-line.svg b/web-dist/icons/download-cloud-2-line.svg new file mode 100644 index 0000000000..02c2d7ea03 --- /dev/null +++ b/web-dist/icons/download-cloud-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/download-cloud-fill.svg b/web-dist/icons/download-cloud-fill.svg new file mode 100644 index 0000000000..bd2516d2be --- /dev/null +++ b/web-dist/icons/download-cloud-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/download-cloud-line.svg b/web-dist/icons/download-cloud-line.svg new file mode 100644 index 0000000000..b059a4cb02 --- /dev/null +++ b/web-dist/icons/download-cloud-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/download-fill.svg b/web-dist/icons/download-fill.svg new file mode 100644 index 0000000000..c0a2a40498 --- /dev/null +++ b/web-dist/icons/download-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/download-line.svg b/web-dist/icons/download-line.svg new file mode 100644 index 0000000000..881622c9bc --- /dev/null +++ b/web-dist/icons/download-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/draft-fill.svg b/web-dist/icons/draft-fill.svg new file mode 100644 index 0000000000..60a039e848 --- /dev/null +++ b/web-dist/icons/draft-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/draft-line.svg b/web-dist/icons/draft-line.svg new file mode 100644 index 0000000000..a0bddee9be --- /dev/null +++ b/web-dist/icons/draft-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drag-drop-fill.svg b/web-dist/icons/drag-drop-fill.svg new file mode 100644 index 0000000000..bd6fe193bb --- /dev/null +++ b/web-dist/icons/drag-drop-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drag-drop-line.svg b/web-dist/icons/drag-drop-line.svg new file mode 100644 index 0000000000..47f26675f5 --- /dev/null +++ b/web-dist/icons/drag-drop-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drag-move-2-fill.svg b/web-dist/icons/drag-move-2-fill.svg new file mode 100644 index 0000000000..bf5e06d54a --- /dev/null +++ b/web-dist/icons/drag-move-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drag-move-2-line.svg b/web-dist/icons/drag-move-2-line.svg new file mode 100644 index 0000000000..c0692479ca --- /dev/null +++ b/web-dist/icons/drag-move-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drag-move-fill.svg b/web-dist/icons/drag-move-fill.svg new file mode 100644 index 0000000000..3cec96375c --- /dev/null +++ b/web-dist/icons/drag-move-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drag-move-line.svg b/web-dist/icons/drag-move-line.svg new file mode 100644 index 0000000000..2b715c9056 --- /dev/null +++ b/web-dist/icons/drag-move-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/draggable.svg b/web-dist/icons/draggable.svg new file mode 100644 index 0000000000..6c6e8f0e41 --- /dev/null +++ b/web-dist/icons/draggable.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dribbble-fill.svg b/web-dist/icons/dribbble-fill.svg new file mode 100644 index 0000000000..46a5721355 --- /dev/null +++ b/web-dist/icons/dribbble-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dribbble-line.svg b/web-dist/icons/dribbble-line.svg new file mode 100644 index 0000000000..f6a4e2ee5c --- /dev/null +++ b/web-dist/icons/dribbble-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drinks-2-fill.svg b/web-dist/icons/drinks-2-fill.svg new file mode 100644 index 0000000000..782f684dad --- /dev/null +++ b/web-dist/icons/drinks-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drinks-2-line.svg b/web-dist/icons/drinks-2-line.svg new file mode 100644 index 0000000000..dc828b91cc --- /dev/null +++ b/web-dist/icons/drinks-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drinks-fill.svg b/web-dist/icons/drinks-fill.svg new file mode 100644 index 0000000000..bf8695ba07 --- /dev/null +++ b/web-dist/icons/drinks-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drinks-line.svg b/web-dist/icons/drinks-line.svg new file mode 100644 index 0000000000..2476c53d68 --- /dev/null +++ b/web-dist/icons/drinks-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drive-fill.svg b/web-dist/icons/drive-fill.svg new file mode 100644 index 0000000000..19b168973e --- /dev/null +++ b/web-dist/icons/drive-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drive-line.svg b/web-dist/icons/drive-line.svg new file mode 100644 index 0000000000..12f3b2f6cf --- /dev/null +++ b/web-dist/icons/drive-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drizzle-fill.svg b/web-dist/icons/drizzle-fill.svg new file mode 100644 index 0000000000..3619e1aaad --- /dev/null +++ b/web-dist/icons/drizzle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drizzle-line.svg b/web-dist/icons/drizzle-line.svg new file mode 100644 index 0000000000..4efbc771a2 --- /dev/null +++ b/web-dist/icons/drizzle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drop-fill.svg b/web-dist/icons/drop-fill.svg new file mode 100644 index 0000000000..427c257804 --- /dev/null +++ b/web-dist/icons/drop-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/drop-line.svg b/web-dist/icons/drop-line.svg new file mode 100644 index 0000000000..cb87989387 --- /dev/null +++ b/web-dist/icons/drop-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dropbox-fill.svg b/web-dist/icons/dropbox-fill.svg new file mode 100644 index 0000000000..85927e020e --- /dev/null +++ b/web-dist/icons/dropbox-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dropbox-line.svg b/web-dist/icons/dropbox-line.svg new file mode 100644 index 0000000000..8039a92132 --- /dev/null +++ b/web-dist/icons/dropbox-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dropdown-list.svg b/web-dist/icons/dropdown-list.svg new file mode 100644 index 0000000000..8045c3f92c --- /dev/null +++ b/web-dist/icons/dropdown-list.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dropper-fill.svg b/web-dist/icons/dropper-fill.svg new file mode 100644 index 0000000000..33212ea641 --- /dev/null +++ b/web-dist/icons/dropper-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dropper-line.svg b/web-dist/icons/dropper-line.svg new file mode 100644 index 0000000000..ada5e2384b --- /dev/null +++ b/web-dist/icons/dropper-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dual-sim-1-fill.svg b/web-dist/icons/dual-sim-1-fill.svg new file mode 100644 index 0000000000..65c76b576f --- /dev/null +++ b/web-dist/icons/dual-sim-1-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dual-sim-1-line.svg b/web-dist/icons/dual-sim-1-line.svg new file mode 100644 index 0000000000..bb72093596 --- /dev/null +++ b/web-dist/icons/dual-sim-1-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dual-sim-2-fill.svg b/web-dist/icons/dual-sim-2-fill.svg new file mode 100644 index 0000000000..80108b7d33 --- /dev/null +++ b/web-dist/icons/dual-sim-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dual-sim-2-line.svg b/web-dist/icons/dual-sim-2-line.svg new file mode 100644 index 0000000000..154283b41d --- /dev/null +++ b/web-dist/icons/dual-sim-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dv-fill.svg b/web-dist/icons/dv-fill.svg new file mode 100644 index 0000000000..6698217030 --- /dev/null +++ b/web-dist/icons/dv-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dv-line.svg b/web-dist/icons/dv-line.svg new file mode 100644 index 0000000000..3d0d82f1c1 --- /dev/null +++ b/web-dist/icons/dv-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dvd-ai-fill.svg b/web-dist/icons/dvd-ai-fill.svg new file mode 100644 index 0000000000..b962b1ad06 --- /dev/null +++ b/web-dist/icons/dvd-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dvd-ai-line.svg b/web-dist/icons/dvd-ai-line.svg new file mode 100644 index 0000000000..243f6d4a5a --- /dev/null +++ b/web-dist/icons/dvd-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dvd-fill.svg b/web-dist/icons/dvd-fill.svg new file mode 100644 index 0000000000..c09833f023 --- /dev/null +++ b/web-dist/icons/dvd-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/dvd-line.svg b/web-dist/icons/dvd-line.svg new file mode 100644 index 0000000000..7c751e6b00 --- /dev/null +++ b/web-dist/icons/dvd-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/e-bike-2-fill.svg b/web-dist/icons/e-bike-2-fill.svg new file mode 100644 index 0000000000..42c6f43623 --- /dev/null +++ b/web-dist/icons/e-bike-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/e-bike-2-line.svg b/web-dist/icons/e-bike-2-line.svg new file mode 100644 index 0000000000..2e120fc223 --- /dev/null +++ b/web-dist/icons/e-bike-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/e-bike-fill.svg b/web-dist/icons/e-bike-fill.svg new file mode 100644 index 0000000000..398cf43785 --- /dev/null +++ b/web-dist/icons/e-bike-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/e-bike-line.svg b/web-dist/icons/e-bike-line.svg new file mode 100644 index 0000000000..07d88db8c6 --- /dev/null +++ b/web-dist/icons/e-bike-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/earth-fill.svg b/web-dist/icons/earth-fill.svg new file mode 100644 index 0000000000..2dd325ed62 --- /dev/null +++ b/web-dist/icons/earth-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/earth-line.svg b/web-dist/icons/earth-line.svg new file mode 100644 index 0000000000..21d4a49d5f --- /dev/null +++ b/web-dist/icons/earth-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/earthquake-fill.svg b/web-dist/icons/earthquake-fill.svg new file mode 100644 index 0000000000..6aeb335d01 --- /dev/null +++ b/web-dist/icons/earthquake-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/earthquake-line.svg b/web-dist/icons/earthquake-line.svg new file mode 100644 index 0000000000..307cb20e30 --- /dev/null +++ b/web-dist/icons/earthquake-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/edge-fill.svg b/web-dist/icons/edge-fill.svg new file mode 100644 index 0000000000..1489ea7e12 --- /dev/null +++ b/web-dist/icons/edge-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/edge-line.svg b/web-dist/icons/edge-line.svg new file mode 100644 index 0000000000..1c1290de19 --- /dev/null +++ b/web-dist/icons/edge-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/edge-new-fill.svg b/web-dist/icons/edge-new-fill.svg new file mode 100644 index 0000000000..aba13a5fab --- /dev/null +++ b/web-dist/icons/edge-new-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/edge-new-line.svg b/web-dist/icons/edge-new-line.svg new file mode 100644 index 0000000000..799e021b72 --- /dev/null +++ b/web-dist/icons/edge-new-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/edit-2-fill.svg b/web-dist/icons/edit-2-fill.svg new file mode 100644 index 0000000000..90f6be68da --- /dev/null +++ b/web-dist/icons/edit-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/edit-2-line.svg b/web-dist/icons/edit-2-line.svg new file mode 100644 index 0000000000..045af1eba2 --- /dev/null +++ b/web-dist/icons/edit-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/edit-box-fill.svg b/web-dist/icons/edit-box-fill.svg new file mode 100644 index 0000000000..dcebb38efe --- /dev/null +++ b/web-dist/icons/edit-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/edit-box-line.svg b/web-dist/icons/edit-box-line.svg new file mode 100644 index 0000000000..21bf1d68ee --- /dev/null +++ b/web-dist/icons/edit-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/edit-circle-fill.svg b/web-dist/icons/edit-circle-fill.svg new file mode 100644 index 0000000000..07fc3b8162 --- /dev/null +++ b/web-dist/icons/edit-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/edit-circle-line.svg b/web-dist/icons/edit-circle-line.svg new file mode 100644 index 0000000000..2970b4c818 --- /dev/null +++ b/web-dist/icons/edit-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/edit-fill.svg b/web-dist/icons/edit-fill.svg new file mode 100644 index 0000000000..85aafbd156 --- /dev/null +++ b/web-dist/icons/edit-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/edit-line.svg b/web-dist/icons/edit-line.svg new file mode 100644 index 0000000000..e28e9fe019 --- /dev/null +++ b/web-dist/icons/edit-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eject-fill.svg b/web-dist/icons/eject-fill.svg new file mode 100644 index 0000000000..c629996f7d --- /dev/null +++ b/web-dist/icons/eject-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eject-line.svg b/web-dist/icons/eject-line.svg new file mode 100644 index 0000000000..8b19d3dbc2 --- /dev/null +++ b/web-dist/icons/eject-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emoji-sticker-fill.svg b/web-dist/icons/emoji-sticker-fill.svg new file mode 100644 index 0000000000..6433a68137 --- /dev/null +++ b/web-dist/icons/emoji-sticker-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emoji-sticker-line.svg b/web-dist/icons/emoji-sticker-line.svg new file mode 100644 index 0000000000..bcbb127925 --- /dev/null +++ b/web-dist/icons/emoji-sticker-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-2-fill.svg b/web-dist/icons/emotion-2-fill.svg new file mode 100644 index 0000000000..ef9fb0518c --- /dev/null +++ b/web-dist/icons/emotion-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-2-line.svg b/web-dist/icons/emotion-2-line.svg new file mode 100644 index 0000000000..0aab981c63 --- /dev/null +++ b/web-dist/icons/emotion-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-fill.svg b/web-dist/icons/emotion-fill.svg new file mode 100644 index 0000000000..e786307a61 --- /dev/null +++ b/web-dist/icons/emotion-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-happy-fill.svg b/web-dist/icons/emotion-happy-fill.svg new file mode 100644 index 0000000000..f8109b2e9b --- /dev/null +++ b/web-dist/icons/emotion-happy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-happy-line.svg b/web-dist/icons/emotion-happy-line.svg new file mode 100644 index 0000000000..25abaeae08 --- /dev/null +++ b/web-dist/icons/emotion-happy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-laugh-fill.svg b/web-dist/icons/emotion-laugh-fill.svg new file mode 100644 index 0000000000..13e61b8886 --- /dev/null +++ b/web-dist/icons/emotion-laugh-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-laugh-line.svg b/web-dist/icons/emotion-laugh-line.svg new file mode 100644 index 0000000000..2c821690de --- /dev/null +++ b/web-dist/icons/emotion-laugh-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-line.svg b/web-dist/icons/emotion-line.svg new file mode 100644 index 0000000000..c8eac5493b --- /dev/null +++ b/web-dist/icons/emotion-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-normal-fill.svg b/web-dist/icons/emotion-normal-fill.svg new file mode 100644 index 0000000000..ad554d6eed --- /dev/null +++ b/web-dist/icons/emotion-normal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-normal-line.svg b/web-dist/icons/emotion-normal-line.svg new file mode 100644 index 0000000000..f9d9b2235a --- /dev/null +++ b/web-dist/icons/emotion-normal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-sad-fill.svg b/web-dist/icons/emotion-sad-fill.svg new file mode 100644 index 0000000000..861abf6451 --- /dev/null +++ b/web-dist/icons/emotion-sad-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-sad-line.svg b/web-dist/icons/emotion-sad-line.svg new file mode 100644 index 0000000000..2e0cf98e46 --- /dev/null +++ b/web-dist/icons/emotion-sad-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-unhappy-fill.svg b/web-dist/icons/emotion-unhappy-fill.svg new file mode 100644 index 0000000000..ae705b6638 --- /dev/null +++ b/web-dist/icons/emotion-unhappy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emotion-unhappy-line.svg b/web-dist/icons/emotion-unhappy-line.svg new file mode 100644 index 0000000000..20ad467d3f --- /dev/null +++ b/web-dist/icons/emotion-unhappy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/empathize-fill.svg b/web-dist/icons/empathize-fill.svg new file mode 100644 index 0000000000..a506bfba2b --- /dev/null +++ b/web-dist/icons/empathize-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/empathize-line.svg b/web-dist/icons/empathize-line.svg new file mode 100644 index 0000000000..31ca39ee8c --- /dev/null +++ b/web-dist/icons/empathize-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emphasis-cn.svg b/web-dist/icons/emphasis-cn.svg new file mode 100644 index 0000000000..e0ab4a2cda --- /dev/null +++ b/web-dist/icons/emphasis-cn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/emphasis.svg b/web-dist/icons/emphasis.svg new file mode 100644 index 0000000000..1f3bde66cf --- /dev/null +++ b/web-dist/icons/emphasis.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/english-input.svg b/web-dist/icons/english-input.svg new file mode 100644 index 0000000000..97c65fda2a --- /dev/null +++ b/web-dist/icons/english-input.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/equal-fill.svg b/web-dist/icons/equal-fill.svg new file mode 100644 index 0000000000..9ef3e32174 --- /dev/null +++ b/web-dist/icons/equal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/equal-line.svg b/web-dist/icons/equal-line.svg new file mode 100644 index 0000000000..9ef3e32174 --- /dev/null +++ b/web-dist/icons/equal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/equalizer-2-fill.svg b/web-dist/icons/equalizer-2-fill.svg new file mode 100644 index 0000000000..d35a8ae9bf --- /dev/null +++ b/web-dist/icons/equalizer-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/equalizer-2-line.svg b/web-dist/icons/equalizer-2-line.svg new file mode 100644 index 0000000000..58ba4131e8 --- /dev/null +++ b/web-dist/icons/equalizer-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/equalizer-3-fill.svg b/web-dist/icons/equalizer-3-fill.svg new file mode 100644 index 0000000000..80ed8949ca --- /dev/null +++ b/web-dist/icons/equalizer-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/equalizer-3-line.svg b/web-dist/icons/equalizer-3-line.svg new file mode 100644 index 0000000000..c041f23aca --- /dev/null +++ b/web-dist/icons/equalizer-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/equalizer-fill.svg b/web-dist/icons/equalizer-fill.svg new file mode 100644 index 0000000000..f81503bf28 --- /dev/null +++ b/web-dist/icons/equalizer-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/equalizer-line.svg b/web-dist/icons/equalizer-line.svg new file mode 100644 index 0000000000..de5d127c24 --- /dev/null +++ b/web-dist/icons/equalizer-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eraser-fill.svg b/web-dist/icons/eraser-fill.svg new file mode 100644 index 0000000000..70fcc433c0 --- /dev/null +++ b/web-dist/icons/eraser-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eraser-line.svg b/web-dist/icons/eraser-line.svg new file mode 100644 index 0000000000..e575c09ae6 --- /dev/null +++ b/web-dist/icons/eraser-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/error-warning-fill.svg b/web-dist/icons/error-warning-fill.svg new file mode 100644 index 0000000000..2c40ec300d --- /dev/null +++ b/web-dist/icons/error-warning-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/error-warning-line.svg b/web-dist/icons/error-warning-line.svg new file mode 100644 index 0000000000..192c8d4482 --- /dev/null +++ b/web-dist/icons/error-warning-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eth-fill.svg b/web-dist/icons/eth-fill.svg new file mode 100644 index 0000000000..faaaa01eb9 --- /dev/null +++ b/web-dist/icons/eth-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eth-line.svg b/web-dist/icons/eth-line.svg new file mode 100644 index 0000000000..086488e1e6 --- /dev/null +++ b/web-dist/icons/eth-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/evernote-fill.svg b/web-dist/icons/evernote-fill.svg new file mode 100644 index 0000000000..19ec899500 --- /dev/null +++ b/web-dist/icons/evernote-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/evernote-line.svg b/web-dist/icons/evernote-line.svg new file mode 100644 index 0000000000..b20ce36ba0 --- /dev/null +++ b/web-dist/icons/evernote-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/exchange-2-fill.svg b/web-dist/icons/exchange-2-fill.svg new file mode 100644 index 0000000000..e1fa2bb433 --- /dev/null +++ b/web-dist/icons/exchange-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/exchange-2-line.svg b/web-dist/icons/exchange-2-line.svg new file mode 100644 index 0000000000..74519e7cf3 --- /dev/null +++ b/web-dist/icons/exchange-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/exchange-box-fill.svg b/web-dist/icons/exchange-box-fill.svg new file mode 100644 index 0000000000..c44ab00222 --- /dev/null +++ b/web-dist/icons/exchange-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/exchange-box-line.svg b/web-dist/icons/exchange-box-line.svg new file mode 100644 index 0000000000..063df73928 --- /dev/null +++ b/web-dist/icons/exchange-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/exchange-cny-fill.svg b/web-dist/icons/exchange-cny-fill.svg new file mode 100644 index 0000000000..25f93617b7 --- /dev/null +++ b/web-dist/icons/exchange-cny-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/exchange-cny-line.svg b/web-dist/icons/exchange-cny-line.svg new file mode 100644 index 0000000000..66f7b9f7d4 --- /dev/null +++ b/web-dist/icons/exchange-cny-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/exchange-dollar-fill.svg b/web-dist/icons/exchange-dollar-fill.svg new file mode 100644 index 0000000000..c2613d8a33 --- /dev/null +++ b/web-dist/icons/exchange-dollar-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/exchange-dollar-line.svg b/web-dist/icons/exchange-dollar-line.svg new file mode 100644 index 0000000000..26d3a2801d --- /dev/null +++ b/web-dist/icons/exchange-dollar-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/exchange-fill.svg b/web-dist/icons/exchange-fill.svg new file mode 100644 index 0000000000..6d80f1c4a5 --- /dev/null +++ b/web-dist/icons/exchange-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/exchange-funds-fill.svg b/web-dist/icons/exchange-funds-fill.svg new file mode 100644 index 0000000000..d0107e328e --- /dev/null +++ b/web-dist/icons/exchange-funds-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/exchange-funds-line.svg b/web-dist/icons/exchange-funds-line.svg new file mode 100644 index 0000000000..9dee5ef428 --- /dev/null +++ b/web-dist/icons/exchange-funds-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/exchange-line.svg b/web-dist/icons/exchange-line.svg new file mode 100644 index 0000000000..e68a83bee8 --- /dev/null +++ b/web-dist/icons/exchange-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-diagonal-2-fill.svg b/web-dist/icons/expand-diagonal-2-fill.svg new file mode 100644 index 0000000000..fcb41bbab6 --- /dev/null +++ b/web-dist/icons/expand-diagonal-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-diagonal-2-line.svg b/web-dist/icons/expand-diagonal-2-line.svg new file mode 100644 index 0000000000..6583215a8a --- /dev/null +++ b/web-dist/icons/expand-diagonal-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-diagonal-fill.svg b/web-dist/icons/expand-diagonal-fill.svg new file mode 100644 index 0000000000..0f8e597def --- /dev/null +++ b/web-dist/icons/expand-diagonal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-diagonal-line.svg b/web-dist/icons/expand-diagonal-line.svg new file mode 100644 index 0000000000..32054b5d55 --- /dev/null +++ b/web-dist/icons/expand-diagonal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-diagonal-s-2-fill.svg b/web-dist/icons/expand-diagonal-s-2-fill.svg new file mode 100644 index 0000000000..8788f93410 --- /dev/null +++ b/web-dist/icons/expand-diagonal-s-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-diagonal-s-2-line.svg b/web-dist/icons/expand-diagonal-s-2-line.svg new file mode 100644 index 0000000000..368da86107 --- /dev/null +++ b/web-dist/icons/expand-diagonal-s-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-diagonal-s-fill.svg b/web-dist/icons/expand-diagonal-s-fill.svg new file mode 100644 index 0000000000..eca6101efa --- /dev/null +++ b/web-dist/icons/expand-diagonal-s-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-diagonal-s-line.svg b/web-dist/icons/expand-diagonal-s-line.svg new file mode 100644 index 0000000000..c06feaff3a --- /dev/null +++ b/web-dist/icons/expand-diagonal-s-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-height-fill.svg b/web-dist/icons/expand-height-fill.svg new file mode 100644 index 0000000000..a6a2445e6c --- /dev/null +++ b/web-dist/icons/expand-height-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-height-line.svg b/web-dist/icons/expand-height-line.svg new file mode 100644 index 0000000000..1c95087b96 --- /dev/null +++ b/web-dist/icons/expand-height-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-horizontal-fill.svg b/web-dist/icons/expand-horizontal-fill.svg new file mode 100644 index 0000000000..e4e9986cba --- /dev/null +++ b/web-dist/icons/expand-horizontal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-horizontal-line.svg b/web-dist/icons/expand-horizontal-line.svg new file mode 100644 index 0000000000..e1f60a982b --- /dev/null +++ b/web-dist/icons/expand-horizontal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-horizontal-s-fill.svg b/web-dist/icons/expand-horizontal-s-fill.svg new file mode 100644 index 0000000000..491a2be238 --- /dev/null +++ b/web-dist/icons/expand-horizontal-s-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-horizontal-s-line.svg b/web-dist/icons/expand-horizontal-s-line.svg new file mode 100644 index 0000000000..b717eb4f75 --- /dev/null +++ b/web-dist/icons/expand-horizontal-s-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-left-fill.svg b/web-dist/icons/expand-left-fill.svg new file mode 100644 index 0000000000..1db5a1cf50 --- /dev/null +++ b/web-dist/icons/expand-left-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-left-line.svg b/web-dist/icons/expand-left-line.svg new file mode 100644 index 0000000000..6ed412b270 --- /dev/null +++ b/web-dist/icons/expand-left-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-left-right-fill.svg b/web-dist/icons/expand-left-right-fill.svg new file mode 100644 index 0000000000..f481be6993 --- /dev/null +++ b/web-dist/icons/expand-left-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-left-right-line.svg b/web-dist/icons/expand-left-right-line.svg new file mode 100644 index 0000000000..17e79c3d21 --- /dev/null +++ b/web-dist/icons/expand-left-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-right-fill.svg b/web-dist/icons/expand-right-fill.svg new file mode 100644 index 0000000000..87004762a5 --- /dev/null +++ b/web-dist/icons/expand-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-right-line.svg b/web-dist/icons/expand-right-line.svg new file mode 100644 index 0000000000..fbb928d940 --- /dev/null +++ b/web-dist/icons/expand-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-up-down-fill.svg b/web-dist/icons/expand-up-down-fill.svg new file mode 100644 index 0000000000..eaa02476ff --- /dev/null +++ b/web-dist/icons/expand-up-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-up-down-line.svg b/web-dist/icons/expand-up-down-line.svg new file mode 100644 index 0000000000..879deb1997 --- /dev/null +++ b/web-dist/icons/expand-up-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-vertical-fill.svg b/web-dist/icons/expand-vertical-fill.svg new file mode 100644 index 0000000000..3ff760820a --- /dev/null +++ b/web-dist/icons/expand-vertical-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-vertical-line.svg b/web-dist/icons/expand-vertical-line.svg new file mode 100644 index 0000000000..5897a0d46a --- /dev/null +++ b/web-dist/icons/expand-vertical-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-vertical-s-fill.svg b/web-dist/icons/expand-vertical-s-fill.svg new file mode 100644 index 0000000000..b44418d0f1 --- /dev/null +++ b/web-dist/icons/expand-vertical-s-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-vertical-s-line.svg b/web-dist/icons/expand-vertical-s-line.svg new file mode 100644 index 0000000000..44042b32fc --- /dev/null +++ b/web-dist/icons/expand-vertical-s-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-width-fill.svg b/web-dist/icons/expand-width-fill.svg new file mode 100644 index 0000000000..8e94af06fb --- /dev/null +++ b/web-dist/icons/expand-width-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/expand-width-line.svg b/web-dist/icons/expand-width-line.svg new file mode 100644 index 0000000000..7bdb87b1bc --- /dev/null +++ b/web-dist/icons/expand-width-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/export-fill.svg b/web-dist/icons/export-fill.svg new file mode 100644 index 0000000000..676770eeed --- /dev/null +++ b/web-dist/icons/export-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/export-line.svg b/web-dist/icons/export-line.svg new file mode 100644 index 0000000000..08139f6535 --- /dev/null +++ b/web-dist/icons/export-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/external-link-fill.svg b/web-dist/icons/external-link-fill.svg new file mode 100644 index 0000000000..34a2e2e408 --- /dev/null +++ b/web-dist/icons/external-link-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/external-link-line.svg b/web-dist/icons/external-link-line.svg new file mode 100644 index 0000000000..20c991f2d5 --- /dev/null +++ b/web-dist/icons/external-link-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eye-2-fill.svg b/web-dist/icons/eye-2-fill.svg new file mode 100644 index 0000000000..6293114e6a --- /dev/null +++ b/web-dist/icons/eye-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eye-2-line.svg b/web-dist/icons/eye-2-line.svg new file mode 100644 index 0000000000..3fa8678adc --- /dev/null +++ b/web-dist/icons/eye-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eye-close-fill.svg b/web-dist/icons/eye-close-fill.svg new file mode 100644 index 0000000000..7cf5cae42c --- /dev/null +++ b/web-dist/icons/eye-close-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eye-close-line.svg b/web-dist/icons/eye-close-line.svg new file mode 100644 index 0000000000..eae7790535 --- /dev/null +++ b/web-dist/icons/eye-close-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eye-fill.svg b/web-dist/icons/eye-fill.svg new file mode 100644 index 0000000000..51a2cc1d24 --- /dev/null +++ b/web-dist/icons/eye-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eye-line.svg b/web-dist/icons/eye-line.svg new file mode 100644 index 0000000000..0100f615f5 --- /dev/null +++ b/web-dist/icons/eye-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eye-off-fill.svg b/web-dist/icons/eye-off-fill.svg new file mode 100644 index 0000000000..40c9707aa5 --- /dev/null +++ b/web-dist/icons/eye-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/eye-off-line.svg b/web-dist/icons/eye-off-line.svg new file mode 100644 index 0000000000..0b53e64d53 --- /dev/null +++ b/web-dist/icons/eye-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/facebook-box-fill.svg b/web-dist/icons/facebook-box-fill.svg new file mode 100644 index 0000000000..b178612898 --- /dev/null +++ b/web-dist/icons/facebook-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/facebook-box-line.svg b/web-dist/icons/facebook-box-line.svg new file mode 100644 index 0000000000..265527116c --- /dev/null +++ b/web-dist/icons/facebook-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/facebook-circle-fill.svg b/web-dist/icons/facebook-circle-fill.svg new file mode 100644 index 0000000000..528a23b3d5 --- /dev/null +++ b/web-dist/icons/facebook-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/facebook-circle-line.svg b/web-dist/icons/facebook-circle-line.svg new file mode 100644 index 0000000000..1b50725a0b --- /dev/null +++ b/web-dist/icons/facebook-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/facebook-fill.svg b/web-dist/icons/facebook-fill.svg new file mode 100644 index 0000000000..58c23e66c4 --- /dev/null +++ b/web-dist/icons/facebook-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/facebook-line.svg b/web-dist/icons/facebook-line.svg new file mode 100644 index 0000000000..fc57f002a9 --- /dev/null +++ b/web-dist/icons/facebook-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fahrenheit-fill.svg b/web-dist/icons/fahrenheit-fill.svg new file mode 100644 index 0000000000..ab9c47e0fb --- /dev/null +++ b/web-dist/icons/fahrenheit-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fahrenheit-line.svg b/web-dist/icons/fahrenheit-line.svg new file mode 100644 index 0000000000..ab9c47e0fb --- /dev/null +++ b/web-dist/icons/fahrenheit-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fediverse-fill.svg b/web-dist/icons/fediverse-fill.svg new file mode 100644 index 0000000000..7e38585f2c --- /dev/null +++ b/web-dist/icons/fediverse-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fediverse-line.svg b/web-dist/icons/fediverse-line.svg new file mode 100644 index 0000000000..6ea6e6af14 --- /dev/null +++ b/web-dist/icons/fediverse-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/feedback-fill.svg b/web-dist/icons/feedback-fill.svg new file mode 100644 index 0000000000..e01f0b1087 --- /dev/null +++ b/web-dist/icons/feedback-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/feedback-line.svg b/web-dist/icons/feedback-line.svg new file mode 100644 index 0000000000..5c38e3f7cd --- /dev/null +++ b/web-dist/icons/feedback-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/figma-fill.svg b/web-dist/icons/figma-fill.svg new file mode 100644 index 0000000000..d686b62f97 --- /dev/null +++ b/web-dist/icons/figma-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/figma-line.svg b/web-dist/icons/figma-line.svg new file mode 100644 index 0000000000..13cab93623 --- /dev/null +++ b/web-dist/icons/figma-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-2-fill.svg b/web-dist/icons/file-2-fill.svg new file mode 100644 index 0000000000..a5ef2488dc --- /dev/null +++ b/web-dist/icons/file-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-2-line 2.svg b/web-dist/icons/file-2-line 2.svg new file mode 100644 index 0000000000..c3030233d3 --- /dev/null +++ b/web-dist/icons/file-2-line 2.svg @@ -0,0 +1 @@ + diff --git a/web-dist/icons/file-2-line.svg b/web-dist/icons/file-2-line.svg new file mode 100644 index 0000000000..8e63849ff4 --- /dev/null +++ b/web-dist/icons/file-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-3-fill.svg b/web-dist/icons/file-3-fill.svg new file mode 100644 index 0000000000..3a5e56f8e2 --- /dev/null +++ b/web-dist/icons/file-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-3-line.svg b/web-dist/icons/file-3-line.svg new file mode 100644 index 0000000000..6a7a42bf36 --- /dev/null +++ b/web-dist/icons/file-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-4-fill.svg b/web-dist/icons/file-4-fill.svg new file mode 100644 index 0000000000..ebcec25576 --- /dev/null +++ b/web-dist/icons/file-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-4-line.svg b/web-dist/icons/file-4-line.svg new file mode 100644 index 0000000000..7717e6b667 --- /dev/null +++ b/web-dist/icons/file-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-add-fill.svg b/web-dist/icons/file-add-fill.svg new file mode 100644 index 0000000000..399d06a5e4 --- /dev/null +++ b/web-dist/icons/file-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-add-line.svg b/web-dist/icons/file-add-line.svg new file mode 100644 index 0000000000..c29225eed9 --- /dev/null +++ b/web-dist/icons/file-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-chart-2-fill.svg b/web-dist/icons/file-chart-2-fill.svg new file mode 100644 index 0000000000..dc487240e5 --- /dev/null +++ b/web-dist/icons/file-chart-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-chart-2-line.svg b/web-dist/icons/file-chart-2-line.svg new file mode 100644 index 0000000000..a2ba634993 --- /dev/null +++ b/web-dist/icons/file-chart-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-chart-fill.svg b/web-dist/icons/file-chart-fill.svg new file mode 100644 index 0000000000..e6ee39f721 --- /dev/null +++ b/web-dist/icons/file-chart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-chart-line.svg b/web-dist/icons/file-chart-line.svg new file mode 100644 index 0000000000..a69d923067 --- /dev/null +++ b/web-dist/icons/file-chart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-check-fill.svg b/web-dist/icons/file-check-fill.svg new file mode 100644 index 0000000000..5f1cd46207 --- /dev/null +++ b/web-dist/icons/file-check-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-check-line.svg b/web-dist/icons/file-check-line.svg new file mode 100644 index 0000000000..7949f2e3c0 --- /dev/null +++ b/web-dist/icons/file-check-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-close-fill.svg b/web-dist/icons/file-close-fill.svg new file mode 100644 index 0000000000..922c402d4e --- /dev/null +++ b/web-dist/icons/file-close-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-close-line.svg b/web-dist/icons/file-close-line.svg new file mode 100644 index 0000000000..1f4c023b32 --- /dev/null +++ b/web-dist/icons/file-close-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-cloud-fill.svg b/web-dist/icons/file-cloud-fill.svg new file mode 100644 index 0000000000..b88dcd0629 --- /dev/null +++ b/web-dist/icons/file-cloud-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-cloud-line.svg b/web-dist/icons/file-cloud-line.svg new file mode 100644 index 0000000000..9edd3f6616 --- /dev/null +++ b/web-dist/icons/file-cloud-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-code-fill.svg b/web-dist/icons/file-code-fill.svg new file mode 100644 index 0000000000..dfcf535f71 --- /dev/null +++ b/web-dist/icons/file-code-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-code-line.svg b/web-dist/icons/file-code-line.svg new file mode 100644 index 0000000000..90c5a8abbe --- /dev/null +++ b/web-dist/icons/file-code-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-copy-2-fill.svg b/web-dist/icons/file-copy-2-fill.svg new file mode 100644 index 0000000000..4d1416e08e --- /dev/null +++ b/web-dist/icons/file-copy-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-copy-2-line.svg b/web-dist/icons/file-copy-2-line.svg new file mode 100644 index 0000000000..f70edf7e75 --- /dev/null +++ b/web-dist/icons/file-copy-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-copy-fill.svg b/web-dist/icons/file-copy-fill.svg new file mode 100644 index 0000000000..817d217742 --- /dev/null +++ b/web-dist/icons/file-copy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-copy-line.svg b/web-dist/icons/file-copy-line.svg new file mode 100644 index 0000000000..84dfcd93e0 --- /dev/null +++ b/web-dist/icons/file-copy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-damage-fill.svg b/web-dist/icons/file-damage-fill.svg new file mode 100644 index 0000000000..9f8b560bdd --- /dev/null +++ b/web-dist/icons/file-damage-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-damage-line.svg b/web-dist/icons/file-damage-line.svg new file mode 100644 index 0000000000..5a2b6ae354 --- /dev/null +++ b/web-dist/icons/file-damage-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-download-fill.svg b/web-dist/icons/file-download-fill.svg new file mode 100644 index 0000000000..b1f75feda8 --- /dev/null +++ b/web-dist/icons/file-download-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-download-line.svg b/web-dist/icons/file-download-line.svg new file mode 100644 index 0000000000..184df53851 --- /dev/null +++ b/web-dist/icons/file-download-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-edit-fill.svg b/web-dist/icons/file-edit-fill.svg new file mode 100644 index 0000000000..8b648bc341 --- /dev/null +++ b/web-dist/icons/file-edit-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-edit-line.svg b/web-dist/icons/file-edit-line.svg new file mode 100644 index 0000000000..ff0ba68fab --- /dev/null +++ b/web-dist/icons/file-edit-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-excel-2-fill.svg b/web-dist/icons/file-excel-2-fill.svg new file mode 100644 index 0000000000..a67e9a4beb --- /dev/null +++ b/web-dist/icons/file-excel-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-excel-2-line.svg b/web-dist/icons/file-excel-2-line.svg new file mode 100644 index 0000000000..a4b11d4777 --- /dev/null +++ b/web-dist/icons/file-excel-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-excel-fill.svg b/web-dist/icons/file-excel-fill.svg new file mode 100644 index 0000000000..faa4c08825 --- /dev/null +++ b/web-dist/icons/file-excel-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-excel-line.svg b/web-dist/icons/file-excel-line.svg new file mode 100644 index 0000000000..af7d81f1fe --- /dev/null +++ b/web-dist/icons/file-excel-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-fill.svg b/web-dist/icons/file-fill.svg new file mode 100644 index 0000000000..7306f5b1aa --- /dev/null +++ b/web-dist/icons/file-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-forbid-fill.svg b/web-dist/icons/file-forbid-fill.svg new file mode 100644 index 0000000000..93dd23120d --- /dev/null +++ b/web-dist/icons/file-forbid-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-forbid-line.svg b/web-dist/icons/file-forbid-line.svg new file mode 100644 index 0000000000..2dc17cb1cc --- /dev/null +++ b/web-dist/icons/file-forbid-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-gif-fill.svg b/web-dist/icons/file-gif-fill.svg new file mode 100644 index 0000000000..cc4ff3583e --- /dev/null +++ b/web-dist/icons/file-gif-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-gif-line.svg b/web-dist/icons/file-gif-line.svg new file mode 100644 index 0000000000..b5e3c8871d --- /dev/null +++ b/web-dist/icons/file-gif-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-history-fill.svg b/web-dist/icons/file-history-fill.svg new file mode 100644 index 0000000000..3290fcf460 --- /dev/null +++ b/web-dist/icons/file-history-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-history-line.svg b/web-dist/icons/file-history-line.svg new file mode 100644 index 0000000000..1a6de43e0e --- /dev/null +++ b/web-dist/icons/file-history-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-hwp-fill.svg b/web-dist/icons/file-hwp-fill.svg new file mode 100644 index 0000000000..520a743cb9 --- /dev/null +++ b/web-dist/icons/file-hwp-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-hwp-line.svg b/web-dist/icons/file-hwp-line.svg new file mode 100644 index 0000000000..65ae2b4609 --- /dev/null +++ b/web-dist/icons/file-hwp-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-image-fill.svg b/web-dist/icons/file-image-fill.svg new file mode 100644 index 0000000000..5fd3c4c389 --- /dev/null +++ b/web-dist/icons/file-image-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-image-line.svg b/web-dist/icons/file-image-line.svg new file mode 100644 index 0000000000..787803b79f --- /dev/null +++ b/web-dist/icons/file-image-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-info-fill.svg b/web-dist/icons/file-info-fill.svg new file mode 100644 index 0000000000..5fc6eb00f4 --- /dev/null +++ b/web-dist/icons/file-info-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-info-line.svg b/web-dist/icons/file-info-line.svg new file mode 100644 index 0000000000..57aea236a8 --- /dev/null +++ b/web-dist/icons/file-info-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-line.svg b/web-dist/icons/file-line.svg new file mode 100644 index 0000000000..7ed925eaef --- /dev/null +++ b/web-dist/icons/file-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-list-2-fill.svg b/web-dist/icons/file-list-2-fill.svg new file mode 100644 index 0000000000..0cfb3593dc --- /dev/null +++ b/web-dist/icons/file-list-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-list-2-line.svg b/web-dist/icons/file-list-2-line.svg new file mode 100644 index 0000000000..fc238ad71c --- /dev/null +++ b/web-dist/icons/file-list-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-list-3-fill.svg b/web-dist/icons/file-list-3-fill.svg new file mode 100644 index 0000000000..bd09c29255 --- /dev/null +++ b/web-dist/icons/file-list-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-list-3-line.svg b/web-dist/icons/file-list-3-line.svg new file mode 100644 index 0000000000..f9bee51275 --- /dev/null +++ b/web-dist/icons/file-list-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-list-fill.svg b/web-dist/icons/file-list-fill.svg new file mode 100644 index 0000000000..86d580b44a --- /dev/null +++ b/web-dist/icons/file-list-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-list-line.svg b/web-dist/icons/file-list-line.svg new file mode 100644 index 0000000000..671afb4b6c --- /dev/null +++ b/web-dist/icons/file-list-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-lock-fill.svg b/web-dist/icons/file-lock-fill.svg new file mode 100644 index 0000000000..f9f6b6467d --- /dev/null +++ b/web-dist/icons/file-lock-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-lock-line.svg b/web-dist/icons/file-lock-line.svg new file mode 100644 index 0000000000..5461dba593 --- /dev/null +++ b/web-dist/icons/file-lock-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-mark-fill.svg b/web-dist/icons/file-mark-fill.svg new file mode 100644 index 0000000000..aa1c338ab3 --- /dev/null +++ b/web-dist/icons/file-mark-fill.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web-dist/icons/file-mark-line.svg b/web-dist/icons/file-mark-line.svg new file mode 100644 index 0000000000..0dca4e0417 --- /dev/null +++ b/web-dist/icons/file-mark-line.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web-dist/icons/file-marked-fill.svg b/web-dist/icons/file-marked-fill.svg new file mode 100644 index 0000000000..78a45bf026 --- /dev/null +++ b/web-dist/icons/file-marked-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-marked-line.svg b/web-dist/icons/file-marked-line.svg new file mode 100644 index 0000000000..70311c3b24 --- /dev/null +++ b/web-dist/icons/file-marked-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-music-fill.svg b/web-dist/icons/file-music-fill.svg new file mode 100644 index 0000000000..a52c295588 --- /dev/null +++ b/web-dist/icons/file-music-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-music-line.svg b/web-dist/icons/file-music-line.svg new file mode 100644 index 0000000000..b45033a19b --- /dev/null +++ b/web-dist/icons/file-music-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-paper-2-fill.svg b/web-dist/icons/file-paper-2-fill.svg new file mode 100644 index 0000000000..6f18dfb8aa --- /dev/null +++ b/web-dist/icons/file-paper-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-paper-2-line.svg b/web-dist/icons/file-paper-2-line.svg new file mode 100644 index 0000000000..98fcb84c10 --- /dev/null +++ b/web-dist/icons/file-paper-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-paper-fill.svg b/web-dist/icons/file-paper-fill.svg new file mode 100644 index 0000000000..ff2a08cf14 --- /dev/null +++ b/web-dist/icons/file-paper-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-paper-line.svg b/web-dist/icons/file-paper-line.svg new file mode 100644 index 0000000000..5595395f3a --- /dev/null +++ b/web-dist/icons/file-paper-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-pdf-2-fill.svg b/web-dist/icons/file-pdf-2-fill.svg new file mode 100644 index 0000000000..3df38ea4dc --- /dev/null +++ b/web-dist/icons/file-pdf-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-pdf-2-line.svg b/web-dist/icons/file-pdf-2-line.svg new file mode 100644 index 0000000000..207bea283d --- /dev/null +++ b/web-dist/icons/file-pdf-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-pdf-fill.svg b/web-dist/icons/file-pdf-fill.svg new file mode 100644 index 0000000000..e1e754031a --- /dev/null +++ b/web-dist/icons/file-pdf-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-pdf-line.svg b/web-dist/icons/file-pdf-line.svg new file mode 100644 index 0000000000..6da1b6010e --- /dev/null +++ b/web-dist/icons/file-pdf-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-ppt-2-fill.svg b/web-dist/icons/file-ppt-2-fill.svg new file mode 100644 index 0000000000..88358f7867 --- /dev/null +++ b/web-dist/icons/file-ppt-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-ppt-2-line.svg b/web-dist/icons/file-ppt-2-line.svg new file mode 100644 index 0000000000..5c2ff29c3d --- /dev/null +++ b/web-dist/icons/file-ppt-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-ppt-fill.svg b/web-dist/icons/file-ppt-fill.svg new file mode 100644 index 0000000000..e948183052 --- /dev/null +++ b/web-dist/icons/file-ppt-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-ppt-line.svg b/web-dist/icons/file-ppt-line.svg new file mode 100644 index 0000000000..2e590140f9 --- /dev/null +++ b/web-dist/icons/file-ppt-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-reduce-fill.svg b/web-dist/icons/file-reduce-fill.svg new file mode 100644 index 0000000000..6228588850 --- /dev/null +++ b/web-dist/icons/file-reduce-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-reduce-line.svg b/web-dist/icons/file-reduce-line.svg new file mode 100644 index 0000000000..7556ac49c7 --- /dev/null +++ b/web-dist/icons/file-reduce-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-search-fill.svg b/web-dist/icons/file-search-fill.svg new file mode 100644 index 0000000000..d77acb8d13 --- /dev/null +++ b/web-dist/icons/file-search-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-search-line.svg b/web-dist/icons/file-search-line.svg new file mode 100644 index 0000000000..714b6e1cfb --- /dev/null +++ b/web-dist/icons/file-search-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-settings-fill.svg b/web-dist/icons/file-settings-fill.svg new file mode 100644 index 0000000000..bcdcac85ee --- /dev/null +++ b/web-dist/icons/file-settings-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-settings-line.svg b/web-dist/icons/file-settings-line.svg new file mode 100644 index 0000000000..99a482fdeb --- /dev/null +++ b/web-dist/icons/file-settings-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-shield-2-fill.svg b/web-dist/icons/file-shield-2-fill.svg new file mode 100644 index 0000000000..8a9a409549 --- /dev/null +++ b/web-dist/icons/file-shield-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-shield-2-line.svg b/web-dist/icons/file-shield-2-line.svg new file mode 100644 index 0000000000..1ca85d7d51 --- /dev/null +++ b/web-dist/icons/file-shield-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-shield-fill.svg b/web-dist/icons/file-shield-fill.svg new file mode 100644 index 0000000000..56cf767e98 --- /dev/null +++ b/web-dist/icons/file-shield-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-shield-line.svg b/web-dist/icons/file-shield-line.svg new file mode 100644 index 0000000000..22a41ef92d --- /dev/null +++ b/web-dist/icons/file-shield-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-shred-fill.svg b/web-dist/icons/file-shred-fill.svg new file mode 100644 index 0000000000..8504ce18b4 --- /dev/null +++ b/web-dist/icons/file-shred-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-shred-line.svg b/web-dist/icons/file-shred-line.svg new file mode 100644 index 0000000000..25d5c3ec67 --- /dev/null +++ b/web-dist/icons/file-shred-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-text-fill.svg b/web-dist/icons/file-text-fill.svg new file mode 100644 index 0000000000..7a9458c0f8 --- /dev/null +++ b/web-dist/icons/file-text-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-text-line.svg b/web-dist/icons/file-text-line.svg new file mode 100644 index 0000000000..3a38cd3c28 --- /dev/null +++ b/web-dist/icons/file-text-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-transfer-fill.svg b/web-dist/icons/file-transfer-fill.svg new file mode 100644 index 0000000000..acfc2d0d68 --- /dev/null +++ b/web-dist/icons/file-transfer-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-transfer-line.svg b/web-dist/icons/file-transfer-line.svg new file mode 100644 index 0000000000..140f2f9383 --- /dev/null +++ b/web-dist/icons/file-transfer-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-unknow-fill.svg b/web-dist/icons/file-unknow-fill.svg new file mode 100644 index 0000000000..8cc5d09084 --- /dev/null +++ b/web-dist/icons/file-unknow-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-unknow-line.svg b/web-dist/icons/file-unknow-line.svg new file mode 100644 index 0000000000..3811f9587e --- /dev/null +++ b/web-dist/icons/file-unknow-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-upload-fill.svg b/web-dist/icons/file-upload-fill.svg new file mode 100644 index 0000000000..1b300ebf09 --- /dev/null +++ b/web-dist/icons/file-upload-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-upload-line.svg b/web-dist/icons/file-upload-line.svg new file mode 100644 index 0000000000..85e1822495 --- /dev/null +++ b/web-dist/icons/file-upload-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-user-fill.svg b/web-dist/icons/file-user-fill.svg new file mode 100644 index 0000000000..ab09638adc --- /dev/null +++ b/web-dist/icons/file-user-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-user-line.svg b/web-dist/icons/file-user-line.svg new file mode 100644 index 0000000000..f7c4e8c8ac --- /dev/null +++ b/web-dist/icons/file-user-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-video-fill.svg b/web-dist/icons/file-video-fill.svg new file mode 100644 index 0000000000..203c8e26a7 --- /dev/null +++ b/web-dist/icons/file-video-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-video-line.svg b/web-dist/icons/file-video-line.svg new file mode 100644 index 0000000000..0182e19a82 --- /dev/null +++ b/web-dist/icons/file-video-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-warning-fill.svg b/web-dist/icons/file-warning-fill.svg new file mode 100644 index 0000000000..e9e222519a --- /dev/null +++ b/web-dist/icons/file-warning-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-warning-line.svg b/web-dist/icons/file-warning-line.svg new file mode 100644 index 0000000000..0580cae880 --- /dev/null +++ b/web-dist/icons/file-warning-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-word-2-fill.svg b/web-dist/icons/file-word-2-fill.svg new file mode 100644 index 0000000000..5685b543ab --- /dev/null +++ b/web-dist/icons/file-word-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-word-2-line.svg b/web-dist/icons/file-word-2-line.svg new file mode 100644 index 0000000000..3df66337de --- /dev/null +++ b/web-dist/icons/file-word-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-word-fill.svg b/web-dist/icons/file-word-fill.svg new file mode 100644 index 0000000000..6be689bb94 --- /dev/null +++ b/web-dist/icons/file-word-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-word-line.svg b/web-dist/icons/file-word-line.svg new file mode 100644 index 0000000000..99ec61fd60 --- /dev/null +++ b/web-dist/icons/file-word-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-zip-fill.svg b/web-dist/icons/file-zip-fill.svg new file mode 100644 index 0000000000..3c0295c4f1 --- /dev/null +++ b/web-dist/icons/file-zip-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/file-zip-line.svg b/web-dist/icons/file-zip-line.svg new file mode 100644 index 0000000000..186a37f26b --- /dev/null +++ b/web-dist/icons/file-zip-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/film-ai-fill.svg b/web-dist/icons/film-ai-fill.svg new file mode 100644 index 0000000000..1efdb57b25 --- /dev/null +++ b/web-dist/icons/film-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/film-ai-line.svg b/web-dist/icons/film-ai-line.svg new file mode 100644 index 0000000000..f28c12d05a --- /dev/null +++ b/web-dist/icons/film-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/film-fill.svg b/web-dist/icons/film-fill.svg new file mode 100644 index 0000000000..546a1c2cd7 --- /dev/null +++ b/web-dist/icons/film-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/film-line.svg b/web-dist/icons/film-line.svg new file mode 100644 index 0000000000..d3f2755c5e --- /dev/null +++ b/web-dist/icons/film-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/filter-2-fill.svg b/web-dist/icons/filter-2-fill.svg new file mode 100644 index 0000000000..5ac2c84eaa --- /dev/null +++ b/web-dist/icons/filter-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/filter-2-line.svg b/web-dist/icons/filter-2-line.svg new file mode 100644 index 0000000000..233e094b53 --- /dev/null +++ b/web-dist/icons/filter-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/filter-3-fill.svg b/web-dist/icons/filter-3-fill.svg new file mode 100644 index 0000000000..f41f38359b --- /dev/null +++ b/web-dist/icons/filter-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/filter-3-line.svg b/web-dist/icons/filter-3-line.svg new file mode 100644 index 0000000000..f41f38359b --- /dev/null +++ b/web-dist/icons/filter-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/filter-fill.svg b/web-dist/icons/filter-fill.svg new file mode 100644 index 0000000000..13e58bafda --- /dev/null +++ b/web-dist/icons/filter-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/filter-line.svg b/web-dist/icons/filter-line.svg new file mode 100644 index 0000000000..e36fb093ef --- /dev/null +++ b/web-dist/icons/filter-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/filter-off-fill.svg b/web-dist/icons/filter-off-fill.svg new file mode 100644 index 0000000000..598fdd0f3d --- /dev/null +++ b/web-dist/icons/filter-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/filter-off-line.svg b/web-dist/icons/filter-off-line.svg new file mode 100644 index 0000000000..c7dcfad930 --- /dev/null +++ b/web-dist/icons/filter-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/find-replace-fill.svg b/web-dist/icons/find-replace-fill.svg new file mode 100644 index 0000000000..7ccc9ab3ef --- /dev/null +++ b/web-dist/icons/find-replace-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/find-replace-line.svg b/web-dist/icons/find-replace-line.svg new file mode 100644 index 0000000000..a4ed044320 --- /dev/null +++ b/web-dist/icons/find-replace-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/finder-fill.svg b/web-dist/icons/finder-fill.svg new file mode 100644 index 0000000000..e67e3a327c --- /dev/null +++ b/web-dist/icons/finder-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/finder-line.svg b/web-dist/icons/finder-line.svg new file mode 100644 index 0000000000..86bea15055 --- /dev/null +++ b/web-dist/icons/finder-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fingerprint-2-fill.svg b/web-dist/icons/fingerprint-2-fill.svg new file mode 100644 index 0000000000..4e8c5dba57 --- /dev/null +++ b/web-dist/icons/fingerprint-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fingerprint-2-line.svg b/web-dist/icons/fingerprint-2-line.svg new file mode 100644 index 0000000000..31d564e686 --- /dev/null +++ b/web-dist/icons/fingerprint-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fingerprint-fill.svg b/web-dist/icons/fingerprint-fill.svg new file mode 100644 index 0000000000..5b7d7fe635 --- /dev/null +++ b/web-dist/icons/fingerprint-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fingerprint-line.svg b/web-dist/icons/fingerprint-line.svg new file mode 100644 index 0000000000..5b7d7fe635 --- /dev/null +++ b/web-dist/icons/fingerprint-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fire-fill.svg b/web-dist/icons/fire-fill.svg new file mode 100644 index 0000000000..af70058d36 --- /dev/null +++ b/web-dist/icons/fire-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fire-line.svg b/web-dist/icons/fire-line.svg new file mode 100644 index 0000000000..e87ac31be4 --- /dev/null +++ b/web-dist/icons/fire-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/firebase-fill.svg b/web-dist/icons/firebase-fill.svg new file mode 100644 index 0000000000..e42e0b201b --- /dev/null +++ b/web-dist/icons/firebase-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/firebase-line.svg b/web-dist/icons/firebase-line.svg new file mode 100644 index 0000000000..0d86e01203 --- /dev/null +++ b/web-dist/icons/firebase-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/firefox-browser-fill.svg b/web-dist/icons/firefox-browser-fill.svg new file mode 100644 index 0000000000..1194c0f7c1 --- /dev/null +++ b/web-dist/icons/firefox-browser-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/firefox-browser-line.svg b/web-dist/icons/firefox-browser-line.svg new file mode 100644 index 0000000000..b94e2c3b08 --- /dev/null +++ b/web-dist/icons/firefox-browser-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/firefox-fill.svg b/web-dist/icons/firefox-fill.svg new file mode 100644 index 0000000000..c17d0bb1b6 --- /dev/null +++ b/web-dist/icons/firefox-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/firefox-line.svg b/web-dist/icons/firefox-line.svg new file mode 100644 index 0000000000..c310c3420a --- /dev/null +++ b/web-dist/icons/firefox-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/first-aid-kit-fill.svg b/web-dist/icons/first-aid-kit-fill.svg new file mode 100644 index 0000000000..79b945bc6c --- /dev/null +++ b/web-dist/icons/first-aid-kit-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/first-aid-kit-line.svg b/web-dist/icons/first-aid-kit-line.svg new file mode 100644 index 0000000000..53a08b6de8 --- /dev/null +++ b/web-dist/icons/first-aid-kit-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flag-2-fill.svg b/web-dist/icons/flag-2-fill.svg new file mode 100644 index 0000000000..b78d36f857 --- /dev/null +++ b/web-dist/icons/flag-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flag-2-line.svg b/web-dist/icons/flag-2-line.svg new file mode 100644 index 0000000000..6b51be9179 --- /dev/null +++ b/web-dist/icons/flag-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flag-fill.svg b/web-dist/icons/flag-fill.svg new file mode 100644 index 0000000000..99fcea28e8 --- /dev/null +++ b/web-dist/icons/flag-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flag-line.svg b/web-dist/icons/flag-line.svg new file mode 100644 index 0000000000..03111ff654 --- /dev/null +++ b/web-dist/icons/flag-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flag-off-fill.svg b/web-dist/icons/flag-off-fill.svg new file mode 100644 index 0000000000..f8b11ea316 --- /dev/null +++ b/web-dist/icons/flag-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flag-off-line.svg b/web-dist/icons/flag-off-line.svg new file mode 100644 index 0000000000..5bfc2d9208 --- /dev/null +++ b/web-dist/icons/flag-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flashlight-fill.svg b/web-dist/icons/flashlight-fill.svg new file mode 100644 index 0000000000..084c2f3c27 --- /dev/null +++ b/web-dist/icons/flashlight-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flashlight-line.svg b/web-dist/icons/flashlight-line.svg new file mode 100644 index 0000000000..3672208aa2 --- /dev/null +++ b/web-dist/icons/flashlight-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flask-fill.svg b/web-dist/icons/flask-fill.svg new file mode 100644 index 0000000000..e3866604d4 --- /dev/null +++ b/web-dist/icons/flask-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flask-line.svg b/web-dist/icons/flask-line.svg new file mode 100644 index 0000000000..76954e978b --- /dev/null +++ b/web-dist/icons/flask-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flickr-fill.svg b/web-dist/icons/flickr-fill.svg new file mode 100644 index 0000000000..b1dad6db91 --- /dev/null +++ b/web-dist/icons/flickr-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flickr-line.svg b/web-dist/icons/flickr-line.svg new file mode 100644 index 0000000000..fec7e76798 --- /dev/null +++ b/web-dist/icons/flickr-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flight-land-fill.svg b/web-dist/icons/flight-land-fill.svg new file mode 100644 index 0000000000..cc9e25e427 --- /dev/null +++ b/web-dist/icons/flight-land-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flight-land-line.svg b/web-dist/icons/flight-land-line.svg new file mode 100644 index 0000000000..cc9e25e427 --- /dev/null +++ b/web-dist/icons/flight-land-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flight-takeoff-fill.svg b/web-dist/icons/flight-takeoff-fill.svg new file mode 100644 index 0000000000..7fcb4ce1ba --- /dev/null +++ b/web-dist/icons/flight-takeoff-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flight-takeoff-line.svg b/web-dist/icons/flight-takeoff-line.svg new file mode 100644 index 0000000000..7fcb4ce1ba --- /dev/null +++ b/web-dist/icons/flight-takeoff-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flip-horizontal-2-fill.svg b/web-dist/icons/flip-horizontal-2-fill.svg new file mode 100644 index 0000000000..06a0ebe71e --- /dev/null +++ b/web-dist/icons/flip-horizontal-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flip-horizontal-2-line.svg b/web-dist/icons/flip-horizontal-2-line.svg new file mode 100644 index 0000000000..e48ca94cd1 --- /dev/null +++ b/web-dist/icons/flip-horizontal-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flip-horizontal-fill.svg b/web-dist/icons/flip-horizontal-fill.svg new file mode 100644 index 0000000000..f5bd390c95 --- /dev/null +++ b/web-dist/icons/flip-horizontal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flip-horizontal-line.svg b/web-dist/icons/flip-horizontal-line.svg new file mode 100644 index 0000000000..4a0dea90c1 --- /dev/null +++ b/web-dist/icons/flip-horizontal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flip-vertical-2-fill.svg b/web-dist/icons/flip-vertical-2-fill.svg new file mode 100644 index 0000000000..43eaaede8f --- /dev/null +++ b/web-dist/icons/flip-vertical-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flip-vertical-2-line.svg b/web-dist/icons/flip-vertical-2-line.svg new file mode 100644 index 0000000000..c6f2e23d20 --- /dev/null +++ b/web-dist/icons/flip-vertical-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flip-vertical-fill.svg b/web-dist/icons/flip-vertical-fill.svg new file mode 100644 index 0000000000..51414161da --- /dev/null +++ b/web-dist/icons/flip-vertical-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flip-vertical-line.svg b/web-dist/icons/flip-vertical-line.svg new file mode 100644 index 0000000000..b5ca54ecd2 --- /dev/null +++ b/web-dist/icons/flip-vertical-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flood-fill.svg b/web-dist/icons/flood-fill.svg new file mode 100644 index 0000000000..f922ebd43c --- /dev/null +++ b/web-dist/icons/flood-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flood-line.svg b/web-dist/icons/flood-line.svg new file mode 100644 index 0000000000..5cf7c71378 --- /dev/null +++ b/web-dist/icons/flood-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flow-chart.svg b/web-dist/icons/flow-chart.svg new file mode 100644 index 0000000000..625a634009 --- /dev/null +++ b/web-dist/icons/flow-chart.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flower-fill.svg b/web-dist/icons/flower-fill.svg new file mode 100644 index 0000000000..9d52674bb5 --- /dev/null +++ b/web-dist/icons/flower-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flower-line.svg b/web-dist/icons/flower-line.svg new file mode 100644 index 0000000000..8f41a4b1f2 --- /dev/null +++ b/web-dist/icons/flower-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flutter-fill.svg b/web-dist/icons/flutter-fill.svg new file mode 100644 index 0000000000..885239138f --- /dev/null +++ b/web-dist/icons/flutter-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/flutter-line.svg b/web-dist/icons/flutter-line.svg new file mode 100644 index 0000000000..f72e27ac02 --- /dev/null +++ b/web-dist/icons/flutter-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/focus-2-fill.svg b/web-dist/icons/focus-2-fill.svg new file mode 100644 index 0000000000..65c7b76147 --- /dev/null +++ b/web-dist/icons/focus-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/focus-2-line.svg b/web-dist/icons/focus-2-line.svg new file mode 100644 index 0000000000..eb4db25803 --- /dev/null +++ b/web-dist/icons/focus-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/focus-3-fill.svg b/web-dist/icons/focus-3-fill.svg new file mode 100644 index 0000000000..a3e2c7ee64 --- /dev/null +++ b/web-dist/icons/focus-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/focus-3-line.svg b/web-dist/icons/focus-3-line.svg new file mode 100644 index 0000000000..23855bb19b --- /dev/null +++ b/web-dist/icons/focus-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/focus-fill.svg b/web-dist/icons/focus-fill.svg new file mode 100644 index 0000000000..7e1051bcb9 --- /dev/null +++ b/web-dist/icons/focus-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/focus-line.svg b/web-dist/icons/focus-line.svg new file mode 100644 index 0000000000..3a799c993c --- /dev/null +++ b/web-dist/icons/focus-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/focus-mode.svg b/web-dist/icons/focus-mode.svg new file mode 100644 index 0000000000..687ea6cc3c --- /dev/null +++ b/web-dist/icons/focus-mode.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/foggy-fill.svg b/web-dist/icons/foggy-fill.svg new file mode 100644 index 0000000000..5374badd48 --- /dev/null +++ b/web-dist/icons/foggy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/foggy-line.svg b/web-dist/icons/foggy-line.svg new file mode 100644 index 0000000000..53bb4e907f --- /dev/null +++ b/web-dist/icons/foggy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-2-fill.svg b/web-dist/icons/folder-2-fill.svg new file mode 100644 index 0000000000..2f98574afe --- /dev/null +++ b/web-dist/icons/folder-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-2-line.svg b/web-dist/icons/folder-2-line.svg new file mode 100644 index 0000000000..0c9430b135 --- /dev/null +++ b/web-dist/icons/folder-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-3-fill.svg b/web-dist/icons/folder-3-fill.svg new file mode 100644 index 0000000000..6d5fb584fc --- /dev/null +++ b/web-dist/icons/folder-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-3-line.svg b/web-dist/icons/folder-3-line.svg new file mode 100644 index 0000000000..a15b590b2a --- /dev/null +++ b/web-dist/icons/folder-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-4-fill.svg b/web-dist/icons/folder-4-fill.svg new file mode 100644 index 0000000000..683c10b278 --- /dev/null +++ b/web-dist/icons/folder-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-4-line.svg b/web-dist/icons/folder-4-line.svg new file mode 100644 index 0000000000..55983021b4 --- /dev/null +++ b/web-dist/icons/folder-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-5-fill.svg b/web-dist/icons/folder-5-fill.svg new file mode 100644 index 0000000000..d701f7e1ac --- /dev/null +++ b/web-dist/icons/folder-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-5-line.svg b/web-dist/icons/folder-5-line.svg new file mode 100644 index 0000000000..698e2b8732 --- /dev/null +++ b/web-dist/icons/folder-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-6-fill.svg b/web-dist/icons/folder-6-fill.svg new file mode 100644 index 0000000000..2f99658d01 --- /dev/null +++ b/web-dist/icons/folder-6-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-6-line.svg b/web-dist/icons/folder-6-line.svg new file mode 100644 index 0000000000..3c4990af59 --- /dev/null +++ b/web-dist/icons/folder-6-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-add-fill.svg b/web-dist/icons/folder-add-fill.svg new file mode 100644 index 0000000000..e329732792 --- /dev/null +++ b/web-dist/icons/folder-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-add-line.svg b/web-dist/icons/folder-add-line.svg new file mode 100644 index 0000000000..cebc8e0a5b --- /dev/null +++ b/web-dist/icons/folder-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-chart-2-fill.svg b/web-dist/icons/folder-chart-2-fill.svg new file mode 100644 index 0000000000..146ca8a09d --- /dev/null +++ b/web-dist/icons/folder-chart-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-chart-2-line.svg b/web-dist/icons/folder-chart-2-line.svg new file mode 100644 index 0000000000..c587753eb4 --- /dev/null +++ b/web-dist/icons/folder-chart-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-chart-fill.svg b/web-dist/icons/folder-chart-fill.svg new file mode 100644 index 0000000000..0bf8a1a8db --- /dev/null +++ b/web-dist/icons/folder-chart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-chart-line.svg b/web-dist/icons/folder-chart-line.svg new file mode 100644 index 0000000000..35a140dbb9 --- /dev/null +++ b/web-dist/icons/folder-chart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-check-fill.svg b/web-dist/icons/folder-check-fill.svg new file mode 100644 index 0000000000..c5d9a4565b --- /dev/null +++ b/web-dist/icons/folder-check-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-check-line.svg b/web-dist/icons/folder-check-line.svg new file mode 100644 index 0000000000..2f49112787 --- /dev/null +++ b/web-dist/icons/folder-check-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-close-fill.svg b/web-dist/icons/folder-close-fill.svg new file mode 100644 index 0000000000..06f9526a5e --- /dev/null +++ b/web-dist/icons/folder-close-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-close-line.svg b/web-dist/icons/folder-close-line.svg new file mode 100644 index 0000000000..202630ac16 --- /dev/null +++ b/web-dist/icons/folder-close-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-cloud-fill.svg b/web-dist/icons/folder-cloud-fill.svg new file mode 100644 index 0000000000..507b1fa7cd --- /dev/null +++ b/web-dist/icons/folder-cloud-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-cloud-line.svg b/web-dist/icons/folder-cloud-line.svg new file mode 100644 index 0000000000..4f6721cb59 --- /dev/null +++ b/web-dist/icons/folder-cloud-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-download-fill.svg b/web-dist/icons/folder-download-fill.svg new file mode 100644 index 0000000000..f46fe73fcb --- /dev/null +++ b/web-dist/icons/folder-download-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-download-line.svg b/web-dist/icons/folder-download-line.svg new file mode 100644 index 0000000000..4889e20b44 --- /dev/null +++ b/web-dist/icons/folder-download-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-fill.svg b/web-dist/icons/folder-fill.svg new file mode 100644 index 0000000000..5cd08feee5 --- /dev/null +++ b/web-dist/icons/folder-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-forbid-fill.svg b/web-dist/icons/folder-forbid-fill.svg new file mode 100644 index 0000000000..a405df8fc6 --- /dev/null +++ b/web-dist/icons/folder-forbid-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-forbid-line.svg b/web-dist/icons/folder-forbid-line.svg new file mode 100644 index 0000000000..a50196922a --- /dev/null +++ b/web-dist/icons/folder-forbid-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-history-fill.svg b/web-dist/icons/folder-history-fill.svg new file mode 100644 index 0000000000..dd0d7305a2 --- /dev/null +++ b/web-dist/icons/folder-history-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-history-line.svg b/web-dist/icons/folder-history-line.svg new file mode 100644 index 0000000000..d1ca133d55 --- /dev/null +++ b/web-dist/icons/folder-history-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-image-fill.svg b/web-dist/icons/folder-image-fill.svg new file mode 100644 index 0000000000..532f9442b9 --- /dev/null +++ b/web-dist/icons/folder-image-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-image-line.svg b/web-dist/icons/folder-image-line.svg new file mode 100644 index 0000000000..0f6393e5ee --- /dev/null +++ b/web-dist/icons/folder-image-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-info-fill.svg b/web-dist/icons/folder-info-fill.svg new file mode 100644 index 0000000000..4ab5ee3c9e --- /dev/null +++ b/web-dist/icons/folder-info-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-info-line.svg b/web-dist/icons/folder-info-line.svg new file mode 100644 index 0000000000..76f7dc8b9f --- /dev/null +++ b/web-dist/icons/folder-info-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-keyhole-fill.svg b/web-dist/icons/folder-keyhole-fill.svg new file mode 100644 index 0000000000..6cfa1ad22b --- /dev/null +++ b/web-dist/icons/folder-keyhole-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-keyhole-line.svg b/web-dist/icons/folder-keyhole-line.svg new file mode 100644 index 0000000000..c4d7d82cfd --- /dev/null +++ b/web-dist/icons/folder-keyhole-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-line.svg b/web-dist/icons/folder-line.svg new file mode 100644 index 0000000000..55c4342472 --- /dev/null +++ b/web-dist/icons/folder-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-lock-fill.svg b/web-dist/icons/folder-lock-fill.svg new file mode 100644 index 0000000000..29a16fdef3 --- /dev/null +++ b/web-dist/icons/folder-lock-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-lock-line.svg b/web-dist/icons/folder-lock-line.svg new file mode 100644 index 0000000000..6feb7b4960 --- /dev/null +++ b/web-dist/icons/folder-lock-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-music-fill.svg b/web-dist/icons/folder-music-fill.svg new file mode 100644 index 0000000000..907dfd51a4 --- /dev/null +++ b/web-dist/icons/folder-music-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-music-line.svg b/web-dist/icons/folder-music-line.svg new file mode 100644 index 0000000000..7efb911be6 --- /dev/null +++ b/web-dist/icons/folder-music-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-open-fill.svg b/web-dist/icons/folder-open-fill.svg new file mode 100644 index 0000000000..9a864d4a16 --- /dev/null +++ b/web-dist/icons/folder-open-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-open-line.svg b/web-dist/icons/folder-open-line.svg new file mode 100644 index 0000000000..f950fa2963 --- /dev/null +++ b/web-dist/icons/folder-open-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-received-fill.svg b/web-dist/icons/folder-received-fill.svg new file mode 100644 index 0000000000..46b562f97d --- /dev/null +++ b/web-dist/icons/folder-received-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-received-line.svg b/web-dist/icons/folder-received-line.svg new file mode 100644 index 0000000000..b0821b70e9 --- /dev/null +++ b/web-dist/icons/folder-received-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-reduce-fill.svg b/web-dist/icons/folder-reduce-fill.svg new file mode 100644 index 0000000000..99a6e44cef --- /dev/null +++ b/web-dist/icons/folder-reduce-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-reduce-line.svg b/web-dist/icons/folder-reduce-line.svg new file mode 100644 index 0000000000..f9eaccbe47 --- /dev/null +++ b/web-dist/icons/folder-reduce-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-settings-fill.svg b/web-dist/icons/folder-settings-fill.svg new file mode 100644 index 0000000000..46539c183b --- /dev/null +++ b/web-dist/icons/folder-settings-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-settings-line.svg b/web-dist/icons/folder-settings-line.svg new file mode 100644 index 0000000000..ccd32d0efe --- /dev/null +++ b/web-dist/icons/folder-settings-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-shared-fill.svg b/web-dist/icons/folder-shared-fill.svg new file mode 100644 index 0000000000..6fef76a897 --- /dev/null +++ b/web-dist/icons/folder-shared-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-shared-line.svg b/web-dist/icons/folder-shared-line.svg new file mode 100644 index 0000000000..5913324a04 --- /dev/null +++ b/web-dist/icons/folder-shared-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-shield-2-fill.svg b/web-dist/icons/folder-shield-2-fill.svg new file mode 100644 index 0000000000..52ea1326ed --- /dev/null +++ b/web-dist/icons/folder-shield-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-shield-2-line.svg b/web-dist/icons/folder-shield-2-line.svg new file mode 100644 index 0000000000..e576bdf050 --- /dev/null +++ b/web-dist/icons/folder-shield-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-shield-fill.svg b/web-dist/icons/folder-shield-fill.svg new file mode 100644 index 0000000000..52a55ee6e2 --- /dev/null +++ b/web-dist/icons/folder-shield-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-shield-line.svg b/web-dist/icons/folder-shield-line.svg new file mode 100644 index 0000000000..7804934b57 --- /dev/null +++ b/web-dist/icons/folder-shield-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-transfer-fill.svg b/web-dist/icons/folder-transfer-fill.svg new file mode 100644 index 0000000000..cde92142db --- /dev/null +++ b/web-dist/icons/folder-transfer-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-transfer-line.svg b/web-dist/icons/folder-transfer-line.svg new file mode 100644 index 0000000000..7a8cba299a --- /dev/null +++ b/web-dist/icons/folder-transfer-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-unknow-fill.svg b/web-dist/icons/folder-unknow-fill.svg new file mode 100644 index 0000000000..0c7d68009c --- /dev/null +++ b/web-dist/icons/folder-unknow-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-unknow-line.svg b/web-dist/icons/folder-unknow-line.svg new file mode 100644 index 0000000000..dc1fd5fd8e --- /dev/null +++ b/web-dist/icons/folder-unknow-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-upload-fill.svg b/web-dist/icons/folder-upload-fill.svg new file mode 100644 index 0000000000..d95e6ca748 --- /dev/null +++ b/web-dist/icons/folder-upload-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-upload-line.svg b/web-dist/icons/folder-upload-line.svg new file mode 100644 index 0000000000..742968dcde --- /dev/null +++ b/web-dist/icons/folder-upload-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-user-fill.svg b/web-dist/icons/folder-user-fill.svg new file mode 100644 index 0000000000..5e2bd78dda --- /dev/null +++ b/web-dist/icons/folder-user-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-user-line.svg b/web-dist/icons/folder-user-line.svg new file mode 100644 index 0000000000..22a1cca4e1 --- /dev/null +++ b/web-dist/icons/folder-user-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-video-fill.svg b/web-dist/icons/folder-video-fill.svg new file mode 100644 index 0000000000..f20eb4b0dd --- /dev/null +++ b/web-dist/icons/folder-video-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-video-line.svg b/web-dist/icons/folder-video-line.svg new file mode 100644 index 0000000000..d809dc18cc --- /dev/null +++ b/web-dist/icons/folder-video-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-warning-fill.svg b/web-dist/icons/folder-warning-fill.svg new file mode 100644 index 0000000000..72f8de2f98 --- /dev/null +++ b/web-dist/icons/folder-warning-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-warning-line.svg b/web-dist/icons/folder-warning-line.svg new file mode 100644 index 0000000000..a14ad7b21a --- /dev/null +++ b/web-dist/icons/folder-warning-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-zip-fill.svg b/web-dist/icons/folder-zip-fill.svg new file mode 100644 index 0000000000..cb9330e696 --- /dev/null +++ b/web-dist/icons/folder-zip-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folder-zip-line.svg b/web-dist/icons/folder-zip-line.svg new file mode 100644 index 0000000000..79787ed0f7 --- /dev/null +++ b/web-dist/icons/folder-zip-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folders-fill.svg b/web-dist/icons/folders-fill.svg new file mode 100644 index 0000000000..0a1584a479 --- /dev/null +++ b/web-dist/icons/folders-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/folders-line.svg b/web-dist/icons/folders-line.svg new file mode 100644 index 0000000000..53b17f2721 --- /dev/null +++ b/web-dist/icons/folders-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/font-color.svg b/web-dist/icons/font-color.svg new file mode 100644 index 0000000000..03a46c256c --- /dev/null +++ b/web-dist/icons/font-color.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/font-family.svg b/web-dist/icons/font-family.svg new file mode 100644 index 0000000000..5f9fae6720 --- /dev/null +++ b/web-dist/icons/font-family.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/font-mono.svg b/web-dist/icons/font-mono.svg new file mode 100644 index 0000000000..c5c901ea56 --- /dev/null +++ b/web-dist/icons/font-mono.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/font-sans-serif.svg b/web-dist/icons/font-sans-serif.svg new file mode 100644 index 0000000000..fce32fe62f --- /dev/null +++ b/web-dist/icons/font-sans-serif.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/font-sans.svg b/web-dist/icons/font-sans.svg new file mode 100644 index 0000000000..42927c5e33 --- /dev/null +++ b/web-dist/icons/font-sans.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/font-size-2.svg b/web-dist/icons/font-size-2.svg new file mode 100644 index 0000000000..bfe951a555 --- /dev/null +++ b/web-dist/icons/font-size-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/font-size-ai.svg b/web-dist/icons/font-size-ai.svg new file mode 100644 index 0000000000..e6b258b009 --- /dev/null +++ b/web-dist/icons/font-size-ai.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/font-size.svg b/web-dist/icons/font-size.svg new file mode 100644 index 0000000000..17d60fcb62 --- /dev/null +++ b/web-dist/icons/font-size.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/football-fill.svg b/web-dist/icons/football-fill.svg new file mode 100644 index 0000000000..ab5bb05905 --- /dev/null +++ b/web-dist/icons/football-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/football-line.svg b/web-dist/icons/football-line.svg new file mode 100644 index 0000000000..68b2d60777 --- /dev/null +++ b/web-dist/icons/football-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/footprint-fill.svg b/web-dist/icons/footprint-fill.svg new file mode 100644 index 0000000000..b05388b47b --- /dev/null +++ b/web-dist/icons/footprint-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/footprint-line.svg b/web-dist/icons/footprint-line.svg new file mode 100644 index 0000000000..4710e9ab02 --- /dev/null +++ b/web-dist/icons/footprint-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forbid-2-fill.svg b/web-dist/icons/forbid-2-fill.svg new file mode 100644 index 0000000000..2f402cd589 --- /dev/null +++ b/web-dist/icons/forbid-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forbid-2-line.svg b/web-dist/icons/forbid-2-line.svg new file mode 100644 index 0000000000..3f2485a100 --- /dev/null +++ b/web-dist/icons/forbid-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forbid-fill.svg b/web-dist/icons/forbid-fill.svg new file mode 100644 index 0000000000..eae37710b0 --- /dev/null +++ b/web-dist/icons/forbid-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forbid-line.svg b/web-dist/icons/forbid-line.svg new file mode 100644 index 0000000000..85cd2f2035 --- /dev/null +++ b/web-dist/icons/forbid-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/format-clear.svg b/web-dist/icons/format-clear.svg new file mode 100644 index 0000000000..471037cdff --- /dev/null +++ b/web-dist/icons/format-clear.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/formula.svg b/web-dist/icons/formula.svg new file mode 100644 index 0000000000..0f62173e58 --- /dev/null +++ b/web-dist/icons/formula.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forward-10-fill.svg b/web-dist/icons/forward-10-fill.svg new file mode 100644 index 0000000000..94d78de8c0 --- /dev/null +++ b/web-dist/icons/forward-10-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forward-10-line.svg b/web-dist/icons/forward-10-line.svg new file mode 100644 index 0000000000..1411b51e2d --- /dev/null +++ b/web-dist/icons/forward-10-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forward-15-fill.svg b/web-dist/icons/forward-15-fill.svg new file mode 100644 index 0000000000..da2f19673b --- /dev/null +++ b/web-dist/icons/forward-15-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forward-15-line.svg b/web-dist/icons/forward-15-line.svg new file mode 100644 index 0000000000..609a37dc3d --- /dev/null +++ b/web-dist/icons/forward-15-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forward-30-fill.svg b/web-dist/icons/forward-30-fill.svg new file mode 100644 index 0000000000..8eeeb57041 --- /dev/null +++ b/web-dist/icons/forward-30-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forward-30-line.svg b/web-dist/icons/forward-30-line.svg new file mode 100644 index 0000000000..cd8316e053 --- /dev/null +++ b/web-dist/icons/forward-30-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forward-5-fill.svg b/web-dist/icons/forward-5-fill.svg new file mode 100644 index 0000000000..f2bf9ec9b7 --- /dev/null +++ b/web-dist/icons/forward-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forward-5-line.svg b/web-dist/icons/forward-5-line.svg new file mode 100644 index 0000000000..75675a177c --- /dev/null +++ b/web-dist/icons/forward-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forward-end-fill.svg b/web-dist/icons/forward-end-fill.svg new file mode 100644 index 0000000000..9f4c2b8f5e --- /dev/null +++ b/web-dist/icons/forward-end-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forward-end-line.svg b/web-dist/icons/forward-end-line.svg new file mode 100644 index 0000000000..38f70ef596 --- /dev/null +++ b/web-dist/icons/forward-end-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forward-end-mini-fill.svg b/web-dist/icons/forward-end-mini-fill.svg new file mode 100644 index 0000000000..74958f9d23 --- /dev/null +++ b/web-dist/icons/forward-end-mini-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/forward-end-mini-line.svg b/web-dist/icons/forward-end-mini-line.svg new file mode 100644 index 0000000000..d2d9d46164 --- /dev/null +++ b/web-dist/icons/forward-end-mini-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fridge-fill.svg b/web-dist/icons/fridge-fill.svg new file mode 100644 index 0000000000..456ff7bd31 --- /dev/null +++ b/web-dist/icons/fridge-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fridge-line.svg b/web-dist/icons/fridge-line.svg new file mode 100644 index 0000000000..0023ee3578 --- /dev/null +++ b/web-dist/icons/fridge-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/friendica-fill.svg b/web-dist/icons/friendica-fill.svg new file mode 100644 index 0000000000..b139290887 --- /dev/null +++ b/web-dist/icons/friendica-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/friendica-line.svg b/web-dist/icons/friendica-line.svg new file mode 100644 index 0000000000..c417fd3340 --- /dev/null +++ b/web-dist/icons/friendica-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fullscreen-exit-fill.svg b/web-dist/icons/fullscreen-exit-fill.svg new file mode 100644 index 0000000000..7e9cb7492b --- /dev/null +++ b/web-dist/icons/fullscreen-exit-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fullscreen-exit-line.svg b/web-dist/icons/fullscreen-exit-line.svg new file mode 100644 index 0000000000..7e9cb7492b --- /dev/null +++ b/web-dist/icons/fullscreen-exit-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fullscreen-fill.svg b/web-dist/icons/fullscreen-fill.svg new file mode 100644 index 0000000000..640b2302da --- /dev/null +++ b/web-dist/icons/fullscreen-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/fullscreen-line.svg b/web-dist/icons/fullscreen-line.svg new file mode 100644 index 0000000000..6f84e6f8d0 --- /dev/null +++ b/web-dist/icons/fullscreen-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/function-add-fill.svg b/web-dist/icons/function-add-fill.svg new file mode 100644 index 0000000000..b42b929f34 --- /dev/null +++ b/web-dist/icons/function-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/function-add-line.svg b/web-dist/icons/function-add-line.svg new file mode 100644 index 0000000000..b70b2bcf12 --- /dev/null +++ b/web-dist/icons/function-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/function-fill.svg b/web-dist/icons/function-fill.svg new file mode 100644 index 0000000000..ea1c5c961e --- /dev/null +++ b/web-dist/icons/function-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/function-line.svg b/web-dist/icons/function-line.svg new file mode 100644 index 0000000000..9557ca05d4 --- /dev/null +++ b/web-dist/icons/function-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/functions.svg b/web-dist/icons/functions.svg new file mode 100644 index 0000000000..94f9574626 --- /dev/null +++ b/web-dist/icons/functions.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/funds-box-fill.svg b/web-dist/icons/funds-box-fill.svg new file mode 100644 index 0000000000..b640779969 --- /dev/null +++ b/web-dist/icons/funds-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/funds-box-line.svg b/web-dist/icons/funds-box-line.svg new file mode 100644 index 0000000000..c2c6b763bc --- /dev/null +++ b/web-dist/icons/funds-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/funds-fill.svg b/web-dist/icons/funds-fill.svg new file mode 100644 index 0000000000..6943b64abd --- /dev/null +++ b/web-dist/icons/funds-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/funds-line.svg b/web-dist/icons/funds-line.svg new file mode 100644 index 0000000000..383089987e --- /dev/null +++ b/web-dist/icons/funds-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gallery-fill.svg b/web-dist/icons/gallery-fill.svg new file mode 100644 index 0000000000..df51849f23 --- /dev/null +++ b/web-dist/icons/gallery-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gallery-line.svg b/web-dist/icons/gallery-line.svg new file mode 100644 index 0000000000..034eccee23 --- /dev/null +++ b/web-dist/icons/gallery-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gallery-upload-fill.svg b/web-dist/icons/gallery-upload-fill.svg new file mode 100644 index 0000000000..93d17e1fe0 --- /dev/null +++ b/web-dist/icons/gallery-upload-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gallery-upload-line.svg b/web-dist/icons/gallery-upload-line.svg new file mode 100644 index 0000000000..e919ae5c65 --- /dev/null +++ b/web-dist/icons/gallery-upload-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gallery-view-2.svg b/web-dist/icons/gallery-view-2.svg new file mode 100644 index 0000000000..d9d43971f4 --- /dev/null +++ b/web-dist/icons/gallery-view-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gallery-view.svg b/web-dist/icons/gallery-view.svg new file mode 100644 index 0000000000..a57fcaeb74 --- /dev/null +++ b/web-dist/icons/gallery-view.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/game-fill.svg b/web-dist/icons/game-fill.svg new file mode 100644 index 0000000000..3f10afaaa9 --- /dev/null +++ b/web-dist/icons/game-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/game-line.svg b/web-dist/icons/game-line.svg new file mode 100644 index 0000000000..3102ea1870 --- /dev/null +++ b/web-dist/icons/game-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gamepad-fill.svg b/web-dist/icons/gamepad-fill.svg new file mode 100644 index 0000000000..ab3cab935f --- /dev/null +++ b/web-dist/icons/gamepad-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gamepad-line.svg b/web-dist/icons/gamepad-line.svg new file mode 100644 index 0000000000..2e436fd67f --- /dev/null +++ b/web-dist/icons/gamepad-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gas-station-fill.svg b/web-dist/icons/gas-station-fill.svg new file mode 100644 index 0000000000..4ccaebbb90 --- /dev/null +++ b/web-dist/icons/gas-station-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gas-station-line.svg b/web-dist/icons/gas-station-line.svg new file mode 100644 index 0000000000..13d5e8151b --- /dev/null +++ b/web-dist/icons/gas-station-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gatsby-fill.svg b/web-dist/icons/gatsby-fill.svg new file mode 100644 index 0000000000..a9a5bd7acb --- /dev/null +++ b/web-dist/icons/gatsby-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gatsby-line.svg b/web-dist/icons/gatsby-line.svg new file mode 100644 index 0000000000..ce142265bd --- /dev/null +++ b/web-dist/icons/gatsby-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gemini-fill.svg b/web-dist/icons/gemini-fill.svg new file mode 100644 index 0000000000..3f758a1107 --- /dev/null +++ b/web-dist/icons/gemini-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gemini-line.svg b/web-dist/icons/gemini-line.svg new file mode 100644 index 0000000000..d1925da047 --- /dev/null +++ b/web-dist/icons/gemini-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/genderless-fill.svg b/web-dist/icons/genderless-fill.svg new file mode 100644 index 0000000000..536573a880 --- /dev/null +++ b/web-dist/icons/genderless-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/genderless-line.svg b/web-dist/icons/genderless-line.svg new file mode 100644 index 0000000000..c470c583a6 --- /dev/null +++ b/web-dist/icons/genderless-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ghost-2-fill.svg b/web-dist/icons/ghost-2-fill.svg new file mode 100644 index 0000000000..6d81929897 --- /dev/null +++ b/web-dist/icons/ghost-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ghost-2-line.svg b/web-dist/icons/ghost-2-line.svg new file mode 100644 index 0000000000..262c2e9274 --- /dev/null +++ b/web-dist/icons/ghost-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ghost-fill.svg b/web-dist/icons/ghost-fill.svg new file mode 100644 index 0000000000..5824a713fc --- /dev/null +++ b/web-dist/icons/ghost-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ghost-line.svg b/web-dist/icons/ghost-line.svg new file mode 100644 index 0000000000..9bd10e7ec4 --- /dev/null +++ b/web-dist/icons/ghost-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ghost-smile-fill.svg b/web-dist/icons/ghost-smile-fill.svg new file mode 100644 index 0000000000..7622ceb2ba --- /dev/null +++ b/web-dist/icons/ghost-smile-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ghost-smile-line.svg b/web-dist/icons/ghost-smile-line.svg new file mode 100644 index 0000000000..74618d5f3b --- /dev/null +++ b/web-dist/icons/ghost-smile-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gift-2-fill.svg b/web-dist/icons/gift-2-fill.svg new file mode 100644 index 0000000000..e78d4346c5 --- /dev/null +++ b/web-dist/icons/gift-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gift-2-line.svg b/web-dist/icons/gift-2-line.svg new file mode 100644 index 0000000000..d17b349537 --- /dev/null +++ b/web-dist/icons/gift-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gift-fill.svg b/web-dist/icons/gift-fill.svg new file mode 100644 index 0000000000..2b4171e3a3 --- /dev/null +++ b/web-dist/icons/gift-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gift-line.svg b/web-dist/icons/gift-line.svg new file mode 100644 index 0000000000..e0e19151d5 --- /dev/null +++ b/web-dist/icons/gift-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-branch-fill.svg b/web-dist/icons/git-branch-fill.svg new file mode 100644 index 0000000000..e4fe792649 --- /dev/null +++ b/web-dist/icons/git-branch-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-branch-line.svg b/web-dist/icons/git-branch-line.svg new file mode 100644 index 0000000000..8d1f01fed3 --- /dev/null +++ b/web-dist/icons/git-branch-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-close-pull-request-fill.svg b/web-dist/icons/git-close-pull-request-fill.svg new file mode 100644 index 0000000000..117a64c4f0 --- /dev/null +++ b/web-dist/icons/git-close-pull-request-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-close-pull-request-line.svg b/web-dist/icons/git-close-pull-request-line.svg new file mode 100644 index 0000000000..cfe59a1962 --- /dev/null +++ b/web-dist/icons/git-close-pull-request-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-commit-fill.svg b/web-dist/icons/git-commit-fill.svg new file mode 100644 index 0000000000..9f89bceb4b --- /dev/null +++ b/web-dist/icons/git-commit-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-commit-line.svg b/web-dist/icons/git-commit-line.svg new file mode 100644 index 0000000000..9561ab76d6 --- /dev/null +++ b/web-dist/icons/git-commit-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-fork-fill.svg b/web-dist/icons/git-fork-fill.svg new file mode 100644 index 0000000000..4c4a7aeba8 --- /dev/null +++ b/web-dist/icons/git-fork-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-fork-line.svg b/web-dist/icons/git-fork-line.svg new file mode 100644 index 0000000000..f3265bea16 --- /dev/null +++ b/web-dist/icons/git-fork-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-merge-fill.svg b/web-dist/icons/git-merge-fill.svg new file mode 100644 index 0000000000..d4030ff28c --- /dev/null +++ b/web-dist/icons/git-merge-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-merge-line.svg b/web-dist/icons/git-merge-line.svg new file mode 100644 index 0000000000..3028fb21c3 --- /dev/null +++ b/web-dist/icons/git-merge-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-pr-draft-fill.svg b/web-dist/icons/git-pr-draft-fill.svg new file mode 100644 index 0000000000..6844b57354 --- /dev/null +++ b/web-dist/icons/git-pr-draft-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-pr-draft-line.svg b/web-dist/icons/git-pr-draft-line.svg new file mode 100644 index 0000000000..8b183324b6 --- /dev/null +++ b/web-dist/icons/git-pr-draft-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-pull-request-fill.svg b/web-dist/icons/git-pull-request-fill.svg new file mode 100644 index 0000000000..81ce798e18 --- /dev/null +++ b/web-dist/icons/git-pull-request-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-pull-request-line.svg b/web-dist/icons/git-pull-request-line.svg new file mode 100644 index 0000000000..dc91dc9993 --- /dev/null +++ b/web-dist/icons/git-pull-request-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-repository-commits-fill.svg b/web-dist/icons/git-repository-commits-fill.svg new file mode 100644 index 0000000000..ed704d2b04 --- /dev/null +++ b/web-dist/icons/git-repository-commits-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-repository-commits-line.svg b/web-dist/icons/git-repository-commits-line.svg new file mode 100644 index 0000000000..cc1f21019e --- /dev/null +++ b/web-dist/icons/git-repository-commits-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-repository-fill.svg b/web-dist/icons/git-repository-fill.svg new file mode 100644 index 0000000000..d92dc3c606 --- /dev/null +++ b/web-dist/icons/git-repository-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-repository-line.svg b/web-dist/icons/git-repository-line.svg new file mode 100644 index 0000000000..6500269588 --- /dev/null +++ b/web-dist/icons/git-repository-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-repository-private-fill.svg b/web-dist/icons/git-repository-private-fill.svg new file mode 100644 index 0000000000..e6037955e6 --- /dev/null +++ b/web-dist/icons/git-repository-private-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/git-repository-private-line.svg b/web-dist/icons/git-repository-private-line.svg new file mode 100644 index 0000000000..0121cf71ac --- /dev/null +++ b/web-dist/icons/git-repository-private-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/github-fill.svg b/web-dist/icons/github-fill.svg new file mode 100644 index 0000000000..019beafa8a --- /dev/null +++ b/web-dist/icons/github-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/github-line.svg b/web-dist/icons/github-line.svg new file mode 100644 index 0000000000..f5587c71e2 --- /dev/null +++ b/web-dist/icons/github-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gitlab-fill.svg b/web-dist/icons/gitlab-fill.svg new file mode 100644 index 0000000000..c2a1627f08 --- /dev/null +++ b/web-dist/icons/gitlab-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gitlab-line.svg b/web-dist/icons/gitlab-line.svg new file mode 100644 index 0000000000..fc99d7b100 --- /dev/null +++ b/web-dist/icons/gitlab-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/glasses-2-fill.svg b/web-dist/icons/glasses-2-fill.svg new file mode 100644 index 0000000000..7beb57ecc7 --- /dev/null +++ b/web-dist/icons/glasses-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/glasses-2-line.svg b/web-dist/icons/glasses-2-line.svg new file mode 100644 index 0000000000..a83b35293c --- /dev/null +++ b/web-dist/icons/glasses-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/glasses-fill.svg b/web-dist/icons/glasses-fill.svg new file mode 100644 index 0000000000..e418cad3cb --- /dev/null +++ b/web-dist/icons/glasses-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/glasses-line.svg b/web-dist/icons/glasses-line.svg new file mode 100644 index 0000000000..9534ea4392 --- /dev/null +++ b/web-dist/icons/glasses-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/global-fill.svg b/web-dist/icons/global-fill.svg new file mode 100644 index 0000000000..5a28889c9d --- /dev/null +++ b/web-dist/icons/global-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/global-line.svg b/web-dist/icons/global-line.svg new file mode 100644 index 0000000000..e2147e9372 --- /dev/null +++ b/web-dist/icons/global-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/globe-fill.svg b/web-dist/icons/globe-fill.svg new file mode 100644 index 0000000000..7b372de836 --- /dev/null +++ b/web-dist/icons/globe-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/globe-line.svg b/web-dist/icons/globe-line.svg new file mode 100644 index 0000000000..0efecb2f6b --- /dev/null +++ b/web-dist/icons/globe-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/goblet-2-fill.svg b/web-dist/icons/goblet-2-fill.svg new file mode 100644 index 0000000000..f1342bee0b --- /dev/null +++ b/web-dist/icons/goblet-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/goblet-2-line.svg b/web-dist/icons/goblet-2-line.svg new file mode 100644 index 0000000000..c5306d0fd1 --- /dev/null +++ b/web-dist/icons/goblet-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/goblet-fill.svg b/web-dist/icons/goblet-fill.svg new file mode 100644 index 0000000000..0ec9ab6c06 --- /dev/null +++ b/web-dist/icons/goblet-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/goblet-line.svg b/web-dist/icons/goblet-line.svg new file mode 100644 index 0000000000..09e06db42b --- /dev/null +++ b/web-dist/icons/goblet-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/goggles-fill.svg b/web-dist/icons/goggles-fill.svg new file mode 100644 index 0000000000..f4e21e9da9 --- /dev/null +++ b/web-dist/icons/goggles-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/goggles-line.svg b/web-dist/icons/goggles-line.svg new file mode 100644 index 0000000000..6f35fd5cdf --- /dev/null +++ b/web-dist/icons/goggles-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/golf-ball-fill.svg b/web-dist/icons/golf-ball-fill.svg new file mode 100644 index 0000000000..d075568dea --- /dev/null +++ b/web-dist/icons/golf-ball-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/golf-ball-line.svg b/web-dist/icons/golf-ball-line.svg new file mode 100644 index 0000000000..451793eebb --- /dev/null +++ b/web-dist/icons/golf-ball-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/google-fill.svg b/web-dist/icons/google-fill.svg new file mode 100644 index 0000000000..54b050de30 --- /dev/null +++ b/web-dist/icons/google-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/google-line.svg b/web-dist/icons/google-line.svg new file mode 100644 index 0000000000..36302fb5ef --- /dev/null +++ b/web-dist/icons/google-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/google-play-fill.svg b/web-dist/icons/google-play-fill.svg new file mode 100644 index 0000000000..615fbda248 --- /dev/null +++ b/web-dist/icons/google-play-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/google-play-line.svg b/web-dist/icons/google-play-line.svg new file mode 100644 index 0000000000..9472fb6468 --- /dev/null +++ b/web-dist/icons/google-play-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/government-fill.svg b/web-dist/icons/government-fill.svg new file mode 100644 index 0000000000..ae3300a072 --- /dev/null +++ b/web-dist/icons/government-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/government-line.svg b/web-dist/icons/government-line.svg new file mode 100644 index 0000000000..ae5149c043 --- /dev/null +++ b/web-dist/icons/government-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gps-fill.svg b/web-dist/icons/gps-fill.svg new file mode 100644 index 0000000000..b452b58636 --- /dev/null +++ b/web-dist/icons/gps-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gps-line.svg b/web-dist/icons/gps-line.svg new file mode 100644 index 0000000000..a1cd7ca46f --- /dev/null +++ b/web-dist/icons/gps-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gradienter-fill.svg b/web-dist/icons/gradienter-fill.svg new file mode 100644 index 0000000000..45c28dce1f --- /dev/null +++ b/web-dist/icons/gradienter-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/gradienter-line.svg b/web-dist/icons/gradienter-line.svg new file mode 100644 index 0000000000..e4074486f7 --- /dev/null +++ b/web-dist/icons/gradienter-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/graduation-cap-fill.svg b/web-dist/icons/graduation-cap-fill.svg new file mode 100644 index 0000000000..cfcaab17a7 --- /dev/null +++ b/web-dist/icons/graduation-cap-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/graduation-cap-line.svg b/web-dist/icons/graduation-cap-line.svg new file mode 100644 index 0000000000..008076d94f --- /dev/null +++ b/web-dist/icons/graduation-cap-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/grid-fill.svg b/web-dist/icons/grid-fill.svg new file mode 100644 index 0000000000..3bf1cdebe3 --- /dev/null +++ b/web-dist/icons/grid-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/grid-line.svg b/web-dist/icons/grid-line.svg new file mode 100644 index 0000000000..d7de8ceebd --- /dev/null +++ b/web-dist/icons/grid-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/group-2-fill.svg b/web-dist/icons/group-2-fill.svg new file mode 100644 index 0000000000..d10c8a7cb3 --- /dev/null +++ b/web-dist/icons/group-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/group-2-line.svg b/web-dist/icons/group-2-line.svg new file mode 100644 index 0000000000..e1ee43d168 --- /dev/null +++ b/web-dist/icons/group-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/group-3-fill.svg b/web-dist/icons/group-3-fill.svg new file mode 100644 index 0000000000..981d5170cb --- /dev/null +++ b/web-dist/icons/group-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/group-3-line.svg b/web-dist/icons/group-3-line.svg new file mode 100644 index 0000000000..84440de518 --- /dev/null +++ b/web-dist/icons/group-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/group-fill.svg b/web-dist/icons/group-fill.svg new file mode 100644 index 0000000000..05283008bb --- /dev/null +++ b/web-dist/icons/group-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/group-line.svg b/web-dist/icons/group-line.svg new file mode 100644 index 0000000000..6788283b96 --- /dev/null +++ b/web-dist/icons/group-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/guide-fill.svg b/web-dist/icons/guide-fill.svg new file mode 100644 index 0000000000..8a3d1aa579 --- /dev/null +++ b/web-dist/icons/guide-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/guide-line.svg b/web-dist/icons/guide-line.svg new file mode 100644 index 0000000000..e62ce6b10a --- /dev/null +++ b/web-dist/icons/guide-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/h-1.svg b/web-dist/icons/h-1.svg new file mode 100644 index 0000000000..add78928f9 --- /dev/null +++ b/web-dist/icons/h-1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/h-2.svg b/web-dist/icons/h-2.svg new file mode 100644 index 0000000000..60a5000a5e --- /dev/null +++ b/web-dist/icons/h-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/h-3.svg b/web-dist/icons/h-3.svg new file mode 100644 index 0000000000..4d91db3b18 --- /dev/null +++ b/web-dist/icons/h-3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/h-4.svg b/web-dist/icons/h-4.svg new file mode 100644 index 0000000000..8d84132b1c --- /dev/null +++ b/web-dist/icons/h-4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/h-5.svg b/web-dist/icons/h-5.svg new file mode 100644 index 0000000000..ff6657560b --- /dev/null +++ b/web-dist/icons/h-5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/h-6.svg b/web-dist/icons/h-6.svg new file mode 100644 index 0000000000..40689a5ca0 --- /dev/null +++ b/web-dist/icons/h-6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hail-fill.svg b/web-dist/icons/hail-fill.svg new file mode 100644 index 0000000000..57dce291b5 --- /dev/null +++ b/web-dist/icons/hail-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hail-line.svg b/web-dist/icons/hail-line.svg new file mode 100644 index 0000000000..48c66825b2 --- /dev/null +++ b/web-dist/icons/hail-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hammer-fill.svg b/web-dist/icons/hammer-fill.svg new file mode 100644 index 0000000000..a9f82dab8c --- /dev/null +++ b/web-dist/icons/hammer-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hammer-line.svg b/web-dist/icons/hammer-line.svg new file mode 100644 index 0000000000..f85ee88116 --- /dev/null +++ b/web-dist/icons/hammer-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hand-coin-fill.svg b/web-dist/icons/hand-coin-fill.svg new file mode 100644 index 0000000000..284d41b1a8 --- /dev/null +++ b/web-dist/icons/hand-coin-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hand-coin-line.svg b/web-dist/icons/hand-coin-line.svg new file mode 100644 index 0000000000..b1bab7e226 --- /dev/null +++ b/web-dist/icons/hand-coin-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hand-heart-fill.svg b/web-dist/icons/hand-heart-fill.svg new file mode 100644 index 0000000000..43d374f69f --- /dev/null +++ b/web-dist/icons/hand-heart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hand-heart-line.svg b/web-dist/icons/hand-heart-line.svg new file mode 100644 index 0000000000..2a7a31f2d8 --- /dev/null +++ b/web-dist/icons/hand-heart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hand-sanitizer-fill.svg b/web-dist/icons/hand-sanitizer-fill.svg new file mode 100644 index 0000000000..bb3da71547 --- /dev/null +++ b/web-dist/icons/hand-sanitizer-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hand-sanitizer-line.svg b/web-dist/icons/hand-sanitizer-line.svg new file mode 100644 index 0000000000..b149e4ab6f --- /dev/null +++ b/web-dist/icons/hand-sanitizer-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hand.svg b/web-dist/icons/hand.svg new file mode 100644 index 0000000000..d31141fffb --- /dev/null +++ b/web-dist/icons/hand.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/handbag-fill.svg b/web-dist/icons/handbag-fill.svg new file mode 100644 index 0000000000..4ad3ddc5b4 --- /dev/null +++ b/web-dist/icons/handbag-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/handbag-line.svg b/web-dist/icons/handbag-line.svg new file mode 100644 index 0000000000..076b424240 --- /dev/null +++ b/web-dist/icons/handbag-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hard-drive-2-fill 2.svg b/web-dist/icons/hard-drive-2-fill 2.svg new file mode 100644 index 0000000000..6ae3ae1742 --- /dev/null +++ b/web-dist/icons/hard-drive-2-fill 2.svg @@ -0,0 +1 @@ + diff --git a/web-dist/icons/hard-drive-2-fill.svg b/web-dist/icons/hard-drive-2-fill.svg new file mode 100644 index 0000000000..e635128d21 --- /dev/null +++ b/web-dist/icons/hard-drive-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hard-drive-2-line.svg b/web-dist/icons/hard-drive-2-line.svg new file mode 100644 index 0000000000..d0d0cecb2a --- /dev/null +++ b/web-dist/icons/hard-drive-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hard-drive-3-fill.svg b/web-dist/icons/hard-drive-3-fill.svg new file mode 100644 index 0000000000..2d7194ea0e --- /dev/null +++ b/web-dist/icons/hard-drive-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hard-drive-3-line.svg b/web-dist/icons/hard-drive-3-line.svg new file mode 100644 index 0000000000..e88dd6882f --- /dev/null +++ b/web-dist/icons/hard-drive-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hard-drive-fill.svg b/web-dist/icons/hard-drive-fill.svg new file mode 100644 index 0000000000..b9d2c084f4 --- /dev/null +++ b/web-dist/icons/hard-drive-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hard-drive-line.svg b/web-dist/icons/hard-drive-line.svg new file mode 100644 index 0000000000..91ae0aefff --- /dev/null +++ b/web-dist/icons/hard-drive-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hashtag.svg b/web-dist/icons/hashtag.svg new file mode 100644 index 0000000000..4563263088 --- /dev/null +++ b/web-dist/icons/hashtag.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/haze-2-fill.svg b/web-dist/icons/haze-2-fill.svg new file mode 100644 index 0000000000..625b0950e3 --- /dev/null +++ b/web-dist/icons/haze-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/haze-2-line.svg b/web-dist/icons/haze-2-line.svg new file mode 100644 index 0000000000..c2387b41d5 --- /dev/null +++ b/web-dist/icons/haze-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/haze-fill.svg b/web-dist/icons/haze-fill.svg new file mode 100644 index 0000000000..a5b5f1ed46 --- /dev/null +++ b/web-dist/icons/haze-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/haze-line.svg b/web-dist/icons/haze-line.svg new file mode 100644 index 0000000000..1be68a09a8 --- /dev/null +++ b/web-dist/icons/haze-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hd-fill.svg b/web-dist/icons/hd-fill.svg new file mode 100644 index 0000000000..69f7192a00 --- /dev/null +++ b/web-dist/icons/hd-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hd-line.svg b/web-dist/icons/hd-line.svg new file mode 100644 index 0000000000..a4c7b9aa7f --- /dev/null +++ b/web-dist/icons/hd-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heading 2.svg b/web-dist/icons/heading 2.svg new file mode 100644 index 0000000000..378d126b70 --- /dev/null +++ b/web-dist/icons/heading 2.svg @@ -0,0 +1 @@ + diff --git a/web-dist/icons/heading.svg b/web-dist/icons/heading.svg new file mode 100644 index 0000000000..157b5ae3f8 --- /dev/null +++ b/web-dist/icons/heading.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/headphone-fill.svg b/web-dist/icons/headphone-fill.svg new file mode 100644 index 0000000000..3e7df13f5c --- /dev/null +++ b/web-dist/icons/headphone-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/headphone-line.svg b/web-dist/icons/headphone-line.svg new file mode 100644 index 0000000000..faa5425648 --- /dev/null +++ b/web-dist/icons/headphone-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/health-book-fill.svg b/web-dist/icons/health-book-fill.svg new file mode 100644 index 0000000000..0840a67339 --- /dev/null +++ b/web-dist/icons/health-book-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/health-book-line.svg b/web-dist/icons/health-book-line.svg new file mode 100644 index 0000000000..95ab660711 --- /dev/null +++ b/web-dist/icons/health-book-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heart-2-fill.svg b/web-dist/icons/heart-2-fill.svg new file mode 100644 index 0000000000..910c33bb82 --- /dev/null +++ b/web-dist/icons/heart-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heart-2-line.svg b/web-dist/icons/heart-2-line.svg new file mode 100644 index 0000000000..126b5569fe --- /dev/null +++ b/web-dist/icons/heart-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heart-3-fill.svg b/web-dist/icons/heart-3-fill.svg new file mode 100644 index 0000000000..3a6b918c76 --- /dev/null +++ b/web-dist/icons/heart-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heart-3-line.svg b/web-dist/icons/heart-3-line.svg new file mode 100644 index 0000000000..e2f0204a35 --- /dev/null +++ b/web-dist/icons/heart-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heart-add-2-fill.svg b/web-dist/icons/heart-add-2-fill.svg new file mode 100644 index 0000000000..512b461c2e --- /dev/null +++ b/web-dist/icons/heart-add-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heart-add-2-line.svg b/web-dist/icons/heart-add-2-line.svg new file mode 100644 index 0000000000..c19271b14b --- /dev/null +++ b/web-dist/icons/heart-add-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heart-add-fill.svg b/web-dist/icons/heart-add-fill.svg new file mode 100644 index 0000000000..3a85601a11 --- /dev/null +++ b/web-dist/icons/heart-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heart-add-line.svg b/web-dist/icons/heart-add-line.svg new file mode 100644 index 0000000000..105597c72e --- /dev/null +++ b/web-dist/icons/heart-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heart-fill.svg b/web-dist/icons/heart-fill.svg new file mode 100644 index 0000000000..28526ca2aa --- /dev/null +++ b/web-dist/icons/heart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heart-line.svg b/web-dist/icons/heart-line.svg new file mode 100644 index 0000000000..43be9022b4 --- /dev/null +++ b/web-dist/icons/heart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heart-pulse-fill.svg b/web-dist/icons/heart-pulse-fill.svg new file mode 100644 index 0000000000..08720fdc34 --- /dev/null +++ b/web-dist/icons/heart-pulse-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heart-pulse-line.svg b/web-dist/icons/heart-pulse-line.svg new file mode 100644 index 0000000000..08eee6a07a --- /dev/null +++ b/web-dist/icons/heart-pulse-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hearts-fill.svg b/web-dist/icons/hearts-fill.svg new file mode 100644 index 0000000000..1c53709b8b --- /dev/null +++ b/web-dist/icons/hearts-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hearts-line.svg b/web-dist/icons/hearts-line.svg new file mode 100644 index 0000000000..67defdf356 --- /dev/null +++ b/web-dist/icons/hearts-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heavy-showers-fill.svg b/web-dist/icons/heavy-showers-fill.svg new file mode 100644 index 0000000000..0441b2413d --- /dev/null +++ b/web-dist/icons/heavy-showers-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/heavy-showers-line.svg b/web-dist/icons/heavy-showers-line.svg new file mode 100644 index 0000000000..b54efc6626 --- /dev/null +++ b/web-dist/icons/heavy-showers-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hexagon-fill.svg b/web-dist/icons/hexagon-fill.svg new file mode 100644 index 0000000000..912db94e3e --- /dev/null +++ b/web-dist/icons/hexagon-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hexagon-line.svg b/web-dist/icons/hexagon-line.svg new file mode 100644 index 0000000000..89004afa72 --- /dev/null +++ b/web-dist/icons/hexagon-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/history-fill.svg b/web-dist/icons/history-fill.svg new file mode 100644 index 0000000000..19f5200d0d --- /dev/null +++ b/web-dist/icons/history-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/history-line.svg b/web-dist/icons/history-line.svg new file mode 100644 index 0000000000..aa17cc975c --- /dev/null +++ b/web-dist/icons/history-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-2-fill.svg b/web-dist/icons/home-2-fill.svg new file mode 100644 index 0000000000..f3ef7f4dce --- /dev/null +++ b/web-dist/icons/home-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-2-line.svg b/web-dist/icons/home-2-line.svg new file mode 100644 index 0000000000..fcf0fedc26 --- /dev/null +++ b/web-dist/icons/home-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-3-fill.svg b/web-dist/icons/home-3-fill.svg new file mode 100644 index 0000000000..193e60f99f --- /dev/null +++ b/web-dist/icons/home-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-3-line.svg b/web-dist/icons/home-3-line.svg new file mode 100644 index 0000000000..9e521c1e1f --- /dev/null +++ b/web-dist/icons/home-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-4-fill.svg b/web-dist/icons/home-4-fill.svg new file mode 100644 index 0000000000..6fa0dfe651 --- /dev/null +++ b/web-dist/icons/home-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-4-line.svg b/web-dist/icons/home-4-line.svg new file mode 100644 index 0000000000..a2d92a462a --- /dev/null +++ b/web-dist/icons/home-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-5-fill.svg b/web-dist/icons/home-5-fill.svg new file mode 100644 index 0000000000..c519df5a00 --- /dev/null +++ b/web-dist/icons/home-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-5-line.svg b/web-dist/icons/home-5-line.svg new file mode 100644 index 0000000000..60b126ac3e --- /dev/null +++ b/web-dist/icons/home-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-6-fill.svg b/web-dist/icons/home-6-fill.svg new file mode 100644 index 0000000000..ae3b28b180 --- /dev/null +++ b/web-dist/icons/home-6-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-6-line.svg b/web-dist/icons/home-6-line.svg new file mode 100644 index 0000000000..400c069986 --- /dev/null +++ b/web-dist/icons/home-6-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-7-fill.svg b/web-dist/icons/home-7-fill.svg new file mode 100644 index 0000000000..9bdb4a896e --- /dev/null +++ b/web-dist/icons/home-7-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-7-line.svg b/web-dist/icons/home-7-line.svg new file mode 100644 index 0000000000..07053d9bd6 --- /dev/null +++ b/web-dist/icons/home-7-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-8-fill.svg b/web-dist/icons/home-8-fill.svg new file mode 100644 index 0000000000..a3499cba78 --- /dev/null +++ b/web-dist/icons/home-8-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-8-line.svg b/web-dist/icons/home-8-line.svg new file mode 100644 index 0000000000..63b3d5352d --- /dev/null +++ b/web-dist/icons/home-8-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-9-fill.svg b/web-dist/icons/home-9-fill.svg new file mode 100644 index 0000000000..c862102912 --- /dev/null +++ b/web-dist/icons/home-9-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-9-line.svg b/web-dist/icons/home-9-line.svg new file mode 100644 index 0000000000..82901eb607 --- /dev/null +++ b/web-dist/icons/home-9-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-fill.svg b/web-dist/icons/home-fill.svg new file mode 100644 index 0000000000..27e7794dc9 --- /dev/null +++ b/web-dist/icons/home-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-gear-fill.svg b/web-dist/icons/home-gear-fill.svg new file mode 100644 index 0000000000..821e740a02 --- /dev/null +++ b/web-dist/icons/home-gear-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-gear-line.svg b/web-dist/icons/home-gear-line.svg new file mode 100644 index 0000000000..5fa15c4c4c --- /dev/null +++ b/web-dist/icons/home-gear-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-heart-fill.svg b/web-dist/icons/home-heart-fill.svg new file mode 100644 index 0000000000..37c66038ce --- /dev/null +++ b/web-dist/icons/home-heart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-heart-line.svg b/web-dist/icons/home-heart-line.svg new file mode 100644 index 0000000000..12774ee2b5 --- /dev/null +++ b/web-dist/icons/home-heart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-line.svg b/web-dist/icons/home-line.svg new file mode 100644 index 0000000000..62b69e77ab --- /dev/null +++ b/web-dist/icons/home-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-office-fill.svg b/web-dist/icons/home-office-fill.svg new file mode 100644 index 0000000000..bb4b9cebd0 --- /dev/null +++ b/web-dist/icons/home-office-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-office-line.svg b/web-dist/icons/home-office-line.svg new file mode 100644 index 0000000000..88390b931f --- /dev/null +++ b/web-dist/icons/home-office-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-smile-2-fill.svg b/web-dist/icons/home-smile-2-fill.svg new file mode 100644 index 0000000000..3939357d51 --- /dev/null +++ b/web-dist/icons/home-smile-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-smile-2-line.svg b/web-dist/icons/home-smile-2-line.svg new file mode 100644 index 0000000000..233f3e5025 --- /dev/null +++ b/web-dist/icons/home-smile-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-smile-fill.svg b/web-dist/icons/home-smile-fill.svg new file mode 100644 index 0000000000..644cac42de --- /dev/null +++ b/web-dist/icons/home-smile-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-smile-line.svg b/web-dist/icons/home-smile-line.svg new file mode 100644 index 0000000000..7c224572dc --- /dev/null +++ b/web-dist/icons/home-smile-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-wifi-fill.svg b/web-dist/icons/home-wifi-fill.svg new file mode 100644 index 0000000000..f9744ae9ce --- /dev/null +++ b/web-dist/icons/home-wifi-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/home-wifi-line.svg b/web-dist/icons/home-wifi-line.svg new file mode 100644 index 0000000000..b412644d80 --- /dev/null +++ b/web-dist/icons/home-wifi-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/honor-of-kings-fill.svg b/web-dist/icons/honor-of-kings-fill.svg new file mode 100644 index 0000000000..c11eb51f00 --- /dev/null +++ b/web-dist/icons/honor-of-kings-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/honor-of-kings-line.svg b/web-dist/icons/honor-of-kings-line.svg new file mode 100644 index 0000000000..52f750b612 --- /dev/null +++ b/web-dist/icons/honor-of-kings-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/honour-fill.svg b/web-dist/icons/honour-fill.svg new file mode 100644 index 0000000000..721049681f --- /dev/null +++ b/web-dist/icons/honour-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/honour-line.svg b/web-dist/icons/honour-line.svg new file mode 100644 index 0000000000..8887d3852b --- /dev/null +++ b/web-dist/icons/honour-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hospital-fill.svg b/web-dist/icons/hospital-fill.svg new file mode 100644 index 0000000000..b4ee884b77 --- /dev/null +++ b/web-dist/icons/hospital-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hospital-line.svg b/web-dist/icons/hospital-line.svg new file mode 100644 index 0000000000..ce789adbb2 --- /dev/null +++ b/web-dist/icons/hospital-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hotel-bed-fill.svg b/web-dist/icons/hotel-bed-fill.svg new file mode 100644 index 0000000000..873bd7befe --- /dev/null +++ b/web-dist/icons/hotel-bed-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hotel-bed-line.svg b/web-dist/icons/hotel-bed-line.svg new file mode 100644 index 0000000000..f62a399d72 --- /dev/null +++ b/web-dist/icons/hotel-bed-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hotel-fill.svg b/web-dist/icons/hotel-fill.svg new file mode 100644 index 0000000000..58c0601226 --- /dev/null +++ b/web-dist/icons/hotel-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hotel-line.svg b/web-dist/icons/hotel-line.svg new file mode 100644 index 0000000000..ff1b3b9a0d --- /dev/null +++ b/web-dist/icons/hotel-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hotspot-fill.svg b/web-dist/icons/hotspot-fill.svg new file mode 100644 index 0000000000..a150c46c5b --- /dev/null +++ b/web-dist/icons/hotspot-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hotspot-line.svg b/web-dist/icons/hotspot-line.svg new file mode 100644 index 0000000000..2d0684e01b --- /dev/null +++ b/web-dist/icons/hotspot-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hourglass-2-fill.svg b/web-dist/icons/hourglass-2-fill.svg new file mode 100644 index 0000000000..6e7a4910b8 --- /dev/null +++ b/web-dist/icons/hourglass-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hourglass-2-line.svg b/web-dist/icons/hourglass-2-line.svg new file mode 100644 index 0000000000..3e8665accd --- /dev/null +++ b/web-dist/icons/hourglass-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hourglass-fill.svg b/web-dist/icons/hourglass-fill.svg new file mode 100644 index 0000000000..dc4a4f294d --- /dev/null +++ b/web-dist/icons/hourglass-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hourglass-line.svg b/web-dist/icons/hourglass-line.svg new file mode 100644 index 0000000000..27d48769d1 --- /dev/null +++ b/web-dist/icons/hourglass-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hq-fill.svg b/web-dist/icons/hq-fill.svg new file mode 100644 index 0000000000..2562e85a82 --- /dev/null +++ b/web-dist/icons/hq-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/hq-line.svg b/web-dist/icons/hq-line.svg new file mode 100644 index 0000000000..c7742553d6 --- /dev/null +++ b/web-dist/icons/hq-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/html5-fill.svg b/web-dist/icons/html5-fill.svg new file mode 100644 index 0000000000..af6a5d73ab --- /dev/null +++ b/web-dist/icons/html5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/html5-line.svg b/web-dist/icons/html5-line.svg new file mode 100644 index 0000000000..8fa64e45c7 --- /dev/null +++ b/web-dist/icons/html5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/id-card-fill.svg b/web-dist/icons/id-card-fill.svg new file mode 100644 index 0000000000..34d9c99183 --- /dev/null +++ b/web-dist/icons/id-card-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/id-card-line.svg b/web-dist/icons/id-card-line.svg new file mode 100644 index 0000000000..a82d7245d6 --- /dev/null +++ b/web-dist/icons/id-card-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ie-fill.svg b/web-dist/icons/ie-fill.svg new file mode 100644 index 0000000000..e6c598265f --- /dev/null +++ b/web-dist/icons/ie-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ie-line.svg b/web-dist/icons/ie-line.svg new file mode 100644 index 0000000000..a8b9c42098 --- /dev/null +++ b/web-dist/icons/ie-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-2-fill.svg b/web-dist/icons/image-2-fill.svg new file mode 100644 index 0000000000..18df6bc0db --- /dev/null +++ b/web-dist/icons/image-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-2-line.svg b/web-dist/icons/image-2-line.svg new file mode 100644 index 0000000000..090b41c784 --- /dev/null +++ b/web-dist/icons/image-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-add-fill.svg b/web-dist/icons/image-add-fill.svg new file mode 100644 index 0000000000..9f08e8bc84 --- /dev/null +++ b/web-dist/icons/image-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-add-line.svg b/web-dist/icons/image-add-line.svg new file mode 100644 index 0000000000..60d0b727fa --- /dev/null +++ b/web-dist/icons/image-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-ai-fill.svg b/web-dist/icons/image-ai-fill.svg new file mode 100644 index 0000000000..37fefadea2 --- /dev/null +++ b/web-dist/icons/image-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-ai-line.svg b/web-dist/icons/image-ai-line.svg new file mode 100644 index 0000000000..643cfea84f --- /dev/null +++ b/web-dist/icons/image-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-circle-ai-fill.svg b/web-dist/icons/image-circle-ai-fill.svg new file mode 100644 index 0000000000..400c008936 --- /dev/null +++ b/web-dist/icons/image-circle-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-circle-ai-line.svg b/web-dist/icons/image-circle-ai-line.svg new file mode 100644 index 0000000000..5c04ccfcc5 --- /dev/null +++ b/web-dist/icons/image-circle-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-circle-fill.svg b/web-dist/icons/image-circle-fill.svg new file mode 100644 index 0000000000..0e98145e69 --- /dev/null +++ b/web-dist/icons/image-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-circle-line.svg b/web-dist/icons/image-circle-line.svg new file mode 100644 index 0000000000..ac0a3f1712 --- /dev/null +++ b/web-dist/icons/image-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-edit-fill.svg b/web-dist/icons/image-edit-fill.svg new file mode 100644 index 0000000000..91e2ecd4af --- /dev/null +++ b/web-dist/icons/image-edit-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-edit-line.svg b/web-dist/icons/image-edit-line.svg new file mode 100644 index 0000000000..d35cd6f0f8 --- /dev/null +++ b/web-dist/icons/image-edit-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-fill.svg b/web-dist/icons/image-fill.svg new file mode 100644 index 0000000000..e22e974ae3 --- /dev/null +++ b/web-dist/icons/image-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/image-line.svg b/web-dist/icons/image-line.svg new file mode 100644 index 0000000000..fded5b8f0a --- /dev/null +++ b/web-dist/icons/image-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/import-fill.svg b/web-dist/icons/import-fill.svg new file mode 100644 index 0000000000..6248087992 --- /dev/null +++ b/web-dist/icons/import-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/import-line.svg b/web-dist/icons/import-line.svg new file mode 100644 index 0000000000..7f6156884b --- /dev/null +++ b/web-dist/icons/import-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/inbox-2-fill.svg b/web-dist/icons/inbox-2-fill.svg new file mode 100644 index 0000000000..bd37d096b1 --- /dev/null +++ b/web-dist/icons/inbox-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/inbox-2-line.svg b/web-dist/icons/inbox-2-line.svg new file mode 100644 index 0000000000..a66c485c63 --- /dev/null +++ b/web-dist/icons/inbox-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/inbox-archive-fill.svg b/web-dist/icons/inbox-archive-fill.svg new file mode 100644 index 0000000000..471cc7adf9 --- /dev/null +++ b/web-dist/icons/inbox-archive-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/inbox-archive-line.svg b/web-dist/icons/inbox-archive-line.svg new file mode 100644 index 0000000000..6a3b708c9c --- /dev/null +++ b/web-dist/icons/inbox-archive-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/inbox-fill.svg b/web-dist/icons/inbox-fill.svg new file mode 100644 index 0000000000..03451a8533 --- /dev/null +++ b/web-dist/icons/inbox-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/inbox-line.svg b/web-dist/icons/inbox-line.svg new file mode 100644 index 0000000000..456b5221d7 --- /dev/null +++ b/web-dist/icons/inbox-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/inbox-unarchive-fill.svg b/web-dist/icons/inbox-unarchive-fill.svg new file mode 100644 index 0000000000..4f9adb3b86 --- /dev/null +++ b/web-dist/icons/inbox-unarchive-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/inbox-unarchive-line.svg b/web-dist/icons/inbox-unarchive-line.svg new file mode 100644 index 0000000000..bc7ab3e02c --- /dev/null +++ b/web-dist/icons/inbox-unarchive-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/increase-decrease-fill.svg b/web-dist/icons/increase-decrease-fill.svg new file mode 100644 index 0000000000..74dce6337c --- /dev/null +++ b/web-dist/icons/increase-decrease-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/increase-decrease-line.svg b/web-dist/icons/increase-decrease-line.svg new file mode 100644 index 0000000000..2d34200c6a --- /dev/null +++ b/web-dist/icons/increase-decrease-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/indent-decrease.svg b/web-dist/icons/indent-decrease.svg new file mode 100644 index 0000000000..ab8999eb89 --- /dev/null +++ b/web-dist/icons/indent-decrease.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/indent-increase.svg b/web-dist/icons/indent-increase.svg new file mode 100644 index 0000000000..72adf9dc17 --- /dev/null +++ b/web-dist/icons/indent-increase.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/indeterminate-circle-fill.svg b/web-dist/icons/indeterminate-circle-fill.svg new file mode 100644 index 0000000000..aaab2151c4 --- /dev/null +++ b/web-dist/icons/indeterminate-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/indeterminate-circle-line.svg b/web-dist/icons/indeterminate-circle-line.svg new file mode 100644 index 0000000000..8ecbbed9d1 --- /dev/null +++ b/web-dist/icons/indeterminate-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/infinity-fill.svg b/web-dist/icons/infinity-fill.svg new file mode 100644 index 0000000000..f6e9012ef0 --- /dev/null +++ b/web-dist/icons/infinity-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/infinity-line.svg b/web-dist/icons/infinity-line.svg new file mode 100644 index 0000000000..54a6cd06d3 --- /dev/null +++ b/web-dist/icons/infinity-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/info-card-fill.svg b/web-dist/icons/info-card-fill.svg new file mode 100644 index 0000000000..de249dc24a --- /dev/null +++ b/web-dist/icons/info-card-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/info-card-line.svg b/web-dist/icons/info-card-line.svg new file mode 100644 index 0000000000..db0b7ee53e --- /dev/null +++ b/web-dist/icons/info-card-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/info-i.svg b/web-dist/icons/info-i.svg new file mode 100644 index 0000000000..ff67ea8afa --- /dev/null +++ b/web-dist/icons/info-i.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/information-2-fill.svg b/web-dist/icons/information-2-fill.svg new file mode 100644 index 0000000000..d60379b3e3 --- /dev/null +++ b/web-dist/icons/information-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/information-2-line.svg b/web-dist/icons/information-2-line.svg new file mode 100644 index 0000000000..a6790b3ba7 --- /dev/null +++ b/web-dist/icons/information-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/information-fill.svg b/web-dist/icons/information-fill.svg new file mode 100644 index 0000000000..edbf7a42e6 --- /dev/null +++ b/web-dist/icons/information-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/information-line.svg b/web-dist/icons/information-line.svg new file mode 100644 index 0000000000..8c02c9309e --- /dev/null +++ b/web-dist/icons/information-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/information-off-fill.svg b/web-dist/icons/information-off-fill.svg new file mode 100644 index 0000000000..b0c6b098b7 --- /dev/null +++ b/web-dist/icons/information-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/information-off-line.svg b/web-dist/icons/information-off-line.svg new file mode 100644 index 0000000000..6e79a8db97 --- /dev/null +++ b/web-dist/icons/information-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/infrared-thermometer-fill.svg b/web-dist/icons/infrared-thermometer-fill.svg new file mode 100644 index 0000000000..37f5e7265b --- /dev/null +++ b/web-dist/icons/infrared-thermometer-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/infrared-thermometer-line.svg b/web-dist/icons/infrared-thermometer-line.svg new file mode 100644 index 0000000000..66c17e17d8 --- /dev/null +++ b/web-dist/icons/infrared-thermometer-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ink-bottle-fill.svg b/web-dist/icons/ink-bottle-fill.svg new file mode 100644 index 0000000000..6332997e78 --- /dev/null +++ b/web-dist/icons/ink-bottle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ink-bottle-line.svg b/web-dist/icons/ink-bottle-line.svg new file mode 100644 index 0000000000..0c7f37e5d9 --- /dev/null +++ b/web-dist/icons/ink-bottle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/input-cursor-move.svg b/web-dist/icons/input-cursor-move.svg new file mode 100644 index 0000000000..8068d35c42 --- /dev/null +++ b/web-dist/icons/input-cursor-move.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/input-field.svg b/web-dist/icons/input-field.svg new file mode 100644 index 0000000000..4ee9576c0d --- /dev/null +++ b/web-dist/icons/input-field.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/input-method-fill.svg b/web-dist/icons/input-method-fill.svg new file mode 100644 index 0000000000..340aa1af0c --- /dev/null +++ b/web-dist/icons/input-method-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/input-method-line.svg b/web-dist/icons/input-method-line.svg new file mode 100644 index 0000000000..e63a7c9916 --- /dev/null +++ b/web-dist/icons/input-method-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/insert-column-left.svg b/web-dist/icons/insert-column-left.svg new file mode 100644 index 0000000000..d7580106fa --- /dev/null +++ b/web-dist/icons/insert-column-left.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/insert-column-right.svg b/web-dist/icons/insert-column-right.svg new file mode 100644 index 0000000000..326a11d74e --- /dev/null +++ b/web-dist/icons/insert-column-right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/insert-row-bottom.svg b/web-dist/icons/insert-row-bottom.svg new file mode 100644 index 0000000000..58aa47b363 --- /dev/null +++ b/web-dist/icons/insert-row-bottom.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/insert-row-top.svg b/web-dist/icons/insert-row-top.svg new file mode 100644 index 0000000000..9c6599c810 --- /dev/null +++ b/web-dist/icons/insert-row-top.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/instagram-fill.svg b/web-dist/icons/instagram-fill.svg new file mode 100644 index 0000000000..976ab873d8 --- /dev/null +++ b/web-dist/icons/instagram-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/instagram-line.svg b/web-dist/icons/instagram-line.svg new file mode 100644 index 0000000000..f6cf9f88e2 --- /dev/null +++ b/web-dist/icons/instagram-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/install-fill.svg b/web-dist/icons/install-fill.svg new file mode 100644 index 0000000000..08dbb2b234 --- /dev/null +++ b/web-dist/icons/install-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/install-line.svg b/web-dist/icons/install-line.svg new file mode 100644 index 0000000000..7a1c48025f --- /dev/null +++ b/web-dist/icons/install-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/instance-fill.svg b/web-dist/icons/instance-fill.svg new file mode 100644 index 0000000000..0f3731b4bf --- /dev/null +++ b/web-dist/icons/instance-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/instance-line.svg b/web-dist/icons/instance-line.svg new file mode 100644 index 0000000000..a66829821c --- /dev/null +++ b/web-dist/icons/instance-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/invision-fill.svg b/web-dist/icons/invision-fill.svg new file mode 100644 index 0000000000..70f4a19c5e --- /dev/null +++ b/web-dist/icons/invision-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/invision-line.svg b/web-dist/icons/invision-line.svg new file mode 100644 index 0000000000..375904d060 --- /dev/null +++ b/web-dist/icons/invision-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/italic.svg b/web-dist/icons/italic.svg new file mode 100644 index 0000000000..438fadf234 --- /dev/null +++ b/web-dist/icons/italic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/java-fill.svg b/web-dist/icons/java-fill.svg new file mode 100644 index 0000000000..22ec97ca40 --- /dev/null +++ b/web-dist/icons/java-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/java-line.svg b/web-dist/icons/java-line.svg new file mode 100644 index 0000000000..030ca53e01 --- /dev/null +++ b/web-dist/icons/java-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/javascript-fill.svg b/web-dist/icons/javascript-fill.svg new file mode 100644 index 0000000000..bd18215755 --- /dev/null +++ b/web-dist/icons/javascript-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/javascript-line.svg b/web-dist/icons/javascript-line.svg new file mode 100644 index 0000000000..6cb7d22e5d --- /dev/null +++ b/web-dist/icons/javascript-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/jewelry-fill.svg b/web-dist/icons/jewelry-fill.svg new file mode 100644 index 0000000000..8ded6f6fac --- /dev/null +++ b/web-dist/icons/jewelry-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/jewelry-line.svg b/web-dist/icons/jewelry-line.svg new file mode 100644 index 0000000000..0b3973ed45 --- /dev/null +++ b/web-dist/icons/jewelry-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/kakao-talk-fill.svg b/web-dist/icons/kakao-talk-fill.svg new file mode 100644 index 0000000000..8f81ff86f7 --- /dev/null +++ b/web-dist/icons/kakao-talk-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/kakao-talk-line.svg b/web-dist/icons/kakao-talk-line.svg new file mode 100644 index 0000000000..2377a62905 --- /dev/null +++ b/web-dist/icons/kakao-talk-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/kanban-view-2.svg b/web-dist/icons/kanban-view-2.svg new file mode 100644 index 0000000000..38ca686dce --- /dev/null +++ b/web-dist/icons/kanban-view-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/kanban-view.svg b/web-dist/icons/kanban-view.svg new file mode 100644 index 0000000000..8b4d1c71b1 --- /dev/null +++ b/web-dist/icons/kanban-view.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/key-2-fill.svg b/web-dist/icons/key-2-fill.svg new file mode 100644 index 0000000000..fdd331d8bc --- /dev/null +++ b/web-dist/icons/key-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/key-2-line.svg b/web-dist/icons/key-2-line.svg new file mode 100644 index 0000000000..ac2ef177a4 --- /dev/null +++ b/web-dist/icons/key-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/key-fill.svg b/web-dist/icons/key-fill.svg new file mode 100644 index 0000000000..b5214af54c --- /dev/null +++ b/web-dist/icons/key-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/key-line.svg b/web-dist/icons/key-line.svg new file mode 100644 index 0000000000..c481a5a75e --- /dev/null +++ b/web-dist/icons/key-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/keyboard-box-fill.svg b/web-dist/icons/keyboard-box-fill.svg new file mode 100644 index 0000000000..765cb466ea --- /dev/null +++ b/web-dist/icons/keyboard-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/keyboard-box-line.svg b/web-dist/icons/keyboard-box-line.svg new file mode 100644 index 0000000000..eebbd0bcf4 --- /dev/null +++ b/web-dist/icons/keyboard-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/keyboard-fill.svg b/web-dist/icons/keyboard-fill.svg new file mode 100644 index 0000000000..7d1606c8e5 --- /dev/null +++ b/web-dist/icons/keyboard-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/keyboard-line.svg b/web-dist/icons/keyboard-line.svg new file mode 100644 index 0000000000..7d1606c8e5 --- /dev/null +++ b/web-dist/icons/keyboard-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/keynote-fill.svg b/web-dist/icons/keynote-fill.svg new file mode 100644 index 0000000000..5d362fcba1 --- /dev/null +++ b/web-dist/icons/keynote-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/keynote-line.svg b/web-dist/icons/keynote-line.svg new file mode 100644 index 0000000000..cc44498bac --- /dev/null +++ b/web-dist/icons/keynote-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/kick-fill.svg b/web-dist/icons/kick-fill.svg new file mode 100644 index 0000000000..0223399ff2 --- /dev/null +++ b/web-dist/icons/kick-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/kick-line.svg b/web-dist/icons/kick-line.svg new file mode 100644 index 0000000000..539d1b4136 --- /dev/null +++ b/web-dist/icons/kick-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/knife-blood-fill.svg b/web-dist/icons/knife-blood-fill.svg new file mode 100644 index 0000000000..f79d670bd8 --- /dev/null +++ b/web-dist/icons/knife-blood-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/knife-blood-line.svg b/web-dist/icons/knife-blood-line.svg new file mode 100644 index 0000000000..0d7fbde7ca --- /dev/null +++ b/web-dist/icons/knife-blood-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/knife-fill.svg b/web-dist/icons/knife-fill.svg new file mode 100644 index 0000000000..d73b629ecb --- /dev/null +++ b/web-dist/icons/knife-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/knife-line.svg b/web-dist/icons/knife-line.svg new file mode 100644 index 0000000000..8716f42c65 --- /dev/null +++ b/web-dist/icons/knife-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/landscape-ai-fill.svg b/web-dist/icons/landscape-ai-fill.svg new file mode 100644 index 0000000000..18dc067ef9 --- /dev/null +++ b/web-dist/icons/landscape-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/landscape-ai-line.svg b/web-dist/icons/landscape-ai-line.svg new file mode 100644 index 0000000000..3ec508c41d --- /dev/null +++ b/web-dist/icons/landscape-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/landscape-fill.svg b/web-dist/icons/landscape-fill.svg new file mode 100644 index 0000000000..d1afa75d47 --- /dev/null +++ b/web-dist/icons/landscape-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/landscape-line.svg b/web-dist/icons/landscape-line.svg new file mode 100644 index 0000000000..683795e903 --- /dev/null +++ b/web-dist/icons/landscape-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-2-fill.svg b/web-dist/icons/layout-2-fill.svg new file mode 100644 index 0000000000..afedda7329 --- /dev/null +++ b/web-dist/icons/layout-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-2-line.svg b/web-dist/icons/layout-2-line.svg new file mode 100644 index 0000000000..c01e320caf --- /dev/null +++ b/web-dist/icons/layout-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-3-fill.svg b/web-dist/icons/layout-3-fill.svg new file mode 100644 index 0000000000..0bddd8797a --- /dev/null +++ b/web-dist/icons/layout-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-3-line.svg b/web-dist/icons/layout-3-line.svg new file mode 100644 index 0000000000..aa3107bd7e --- /dev/null +++ b/web-dist/icons/layout-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-4-fill.svg b/web-dist/icons/layout-4-fill.svg new file mode 100644 index 0000000000..b3cb74f079 --- /dev/null +++ b/web-dist/icons/layout-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-4-line.svg b/web-dist/icons/layout-4-line.svg new file mode 100644 index 0000000000..48ae12261e --- /dev/null +++ b/web-dist/icons/layout-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-5-fill.svg b/web-dist/icons/layout-5-fill.svg new file mode 100644 index 0000000000..a65994e5cd --- /dev/null +++ b/web-dist/icons/layout-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-5-line.svg b/web-dist/icons/layout-5-line.svg new file mode 100644 index 0000000000..bad705d4e3 --- /dev/null +++ b/web-dist/icons/layout-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-6-fill.svg b/web-dist/icons/layout-6-fill.svg new file mode 100644 index 0000000000..bec8ff83dc --- /dev/null +++ b/web-dist/icons/layout-6-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-6-line.svg b/web-dist/icons/layout-6-line.svg new file mode 100644 index 0000000000..00fae66a52 --- /dev/null +++ b/web-dist/icons/layout-6-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-bottom-2-fill.svg b/web-dist/icons/layout-bottom-2-fill.svg new file mode 100644 index 0000000000..a072555833 --- /dev/null +++ b/web-dist/icons/layout-bottom-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-bottom-2-line.svg b/web-dist/icons/layout-bottom-2-line.svg new file mode 100644 index 0000000000..917aee0358 --- /dev/null +++ b/web-dist/icons/layout-bottom-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-bottom-fill.svg b/web-dist/icons/layout-bottom-fill.svg new file mode 100644 index 0000000000..f792af4451 --- /dev/null +++ b/web-dist/icons/layout-bottom-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-bottom-line.svg b/web-dist/icons/layout-bottom-line.svg new file mode 100644 index 0000000000..d70a7527c5 --- /dev/null +++ b/web-dist/icons/layout-bottom-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-column-fill.svg b/web-dist/icons/layout-column-fill.svg new file mode 100644 index 0000000000..fe86de1b75 --- /dev/null +++ b/web-dist/icons/layout-column-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-column-line.svg b/web-dist/icons/layout-column-line.svg new file mode 100644 index 0000000000..b70d731fd0 --- /dev/null +++ b/web-dist/icons/layout-column-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-fill.svg b/web-dist/icons/layout-fill.svg new file mode 100644 index 0000000000..a890bd046c --- /dev/null +++ b/web-dist/icons/layout-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-grid-2-fill.svg b/web-dist/icons/layout-grid-2-fill.svg new file mode 100644 index 0000000000..162dcacc32 --- /dev/null +++ b/web-dist/icons/layout-grid-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-grid-2-line.svg b/web-dist/icons/layout-grid-2-line.svg new file mode 100644 index 0000000000..ac75881642 --- /dev/null +++ b/web-dist/icons/layout-grid-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-grid-fill.svg b/web-dist/icons/layout-grid-fill.svg new file mode 100644 index 0000000000..acc8dcea7f --- /dev/null +++ b/web-dist/icons/layout-grid-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-grid-line.svg b/web-dist/icons/layout-grid-line.svg new file mode 100644 index 0000000000..1f7df0fa75 --- /dev/null +++ b/web-dist/icons/layout-grid-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-horizontal-fill.svg b/web-dist/icons/layout-horizontal-fill.svg new file mode 100644 index 0000000000..7def54d976 --- /dev/null +++ b/web-dist/icons/layout-horizontal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-horizontal-line.svg b/web-dist/icons/layout-horizontal-line.svg new file mode 100644 index 0000000000..5ae1e9a9ad --- /dev/null +++ b/web-dist/icons/layout-horizontal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-left-2-fill.svg b/web-dist/icons/layout-left-2-fill.svg new file mode 100644 index 0000000000..7718dce711 --- /dev/null +++ b/web-dist/icons/layout-left-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-left-2-line.svg b/web-dist/icons/layout-left-2-line.svg new file mode 100644 index 0000000000..728216ae73 --- /dev/null +++ b/web-dist/icons/layout-left-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-left-fill.svg b/web-dist/icons/layout-left-fill.svg new file mode 100644 index 0000000000..7b0b2a881e --- /dev/null +++ b/web-dist/icons/layout-left-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-left-line.svg b/web-dist/icons/layout-left-line.svg new file mode 100644 index 0000000000..3dac79e39c --- /dev/null +++ b/web-dist/icons/layout-left-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-line.svg b/web-dist/icons/layout-line.svg new file mode 100644 index 0000000000..0a276a1fa3 --- /dev/null +++ b/web-dist/icons/layout-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-masonry-fill.svg b/web-dist/icons/layout-masonry-fill.svg new file mode 100644 index 0000000000..c34f298832 --- /dev/null +++ b/web-dist/icons/layout-masonry-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-masonry-line.svg b/web-dist/icons/layout-masonry-line.svg new file mode 100644 index 0000000000..3b47bcf754 --- /dev/null +++ b/web-dist/icons/layout-masonry-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-right-2-fill.svg b/web-dist/icons/layout-right-2-fill.svg new file mode 100644 index 0000000000..ee588272f7 --- /dev/null +++ b/web-dist/icons/layout-right-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-right-2-line.svg b/web-dist/icons/layout-right-2-line.svg new file mode 100644 index 0000000000..d86c129fb5 --- /dev/null +++ b/web-dist/icons/layout-right-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-right-fill.svg b/web-dist/icons/layout-right-fill.svg new file mode 100644 index 0000000000..283af649fe --- /dev/null +++ b/web-dist/icons/layout-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-right-line.svg b/web-dist/icons/layout-right-line.svg new file mode 100644 index 0000000000..d37f5e7059 --- /dev/null +++ b/web-dist/icons/layout-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-row-fill.svg b/web-dist/icons/layout-row-fill.svg new file mode 100644 index 0000000000..8a581822e4 --- /dev/null +++ b/web-dist/icons/layout-row-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-row-line.svg b/web-dist/icons/layout-row-line.svg new file mode 100644 index 0000000000..05c79a365e --- /dev/null +++ b/web-dist/icons/layout-row-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-top-2-fill.svg b/web-dist/icons/layout-top-2-fill.svg new file mode 100644 index 0000000000..8eefa3a1b9 --- /dev/null +++ b/web-dist/icons/layout-top-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-top-2-line.svg b/web-dist/icons/layout-top-2-line.svg new file mode 100644 index 0000000000..b4ba703ec8 --- /dev/null +++ b/web-dist/icons/layout-top-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-top-fill.svg b/web-dist/icons/layout-top-fill.svg new file mode 100644 index 0000000000..673d97d4f2 --- /dev/null +++ b/web-dist/icons/layout-top-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-top-line.svg b/web-dist/icons/layout-top-line.svg new file mode 100644 index 0000000000..2e3ef2f175 --- /dev/null +++ b/web-dist/icons/layout-top-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-vertical-fill.svg b/web-dist/icons/layout-vertical-fill.svg new file mode 100644 index 0000000000..8b9daabc68 --- /dev/null +++ b/web-dist/icons/layout-vertical-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/layout-vertical-line.svg b/web-dist/icons/layout-vertical-line.svg new file mode 100644 index 0000000000..17ab99dd0b --- /dev/null +++ b/web-dist/icons/layout-vertical-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/leaf-fill.svg b/web-dist/icons/leaf-fill.svg new file mode 100644 index 0000000000..5b03fb4f5a --- /dev/null +++ b/web-dist/icons/leaf-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/leaf-line.svg b/web-dist/icons/leaf-line.svg new file mode 100644 index 0000000000..efb3f089f4 --- /dev/null +++ b/web-dist/icons/leaf-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/letter-spacing-2.svg b/web-dist/icons/letter-spacing-2.svg new file mode 100644 index 0000000000..78071d825d --- /dev/null +++ b/web-dist/icons/letter-spacing-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lifebuoy-fill.svg b/web-dist/icons/lifebuoy-fill.svg new file mode 100644 index 0000000000..b6b5b2bdd0 --- /dev/null +++ b/web-dist/icons/lifebuoy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lifebuoy-line.svg b/web-dist/icons/lifebuoy-line.svg new file mode 100644 index 0000000000..9dbdbcd30e --- /dev/null +++ b/web-dist/icons/lifebuoy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lightbulb-fill.svg b/web-dist/icons/lightbulb-fill.svg new file mode 100644 index 0000000000..1b6a76cd53 --- /dev/null +++ b/web-dist/icons/lightbulb-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lightbulb-flash-fill.svg b/web-dist/icons/lightbulb-flash-fill.svg new file mode 100644 index 0000000000..0dd8d2f320 --- /dev/null +++ b/web-dist/icons/lightbulb-flash-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lightbulb-flash-line.svg b/web-dist/icons/lightbulb-flash-line.svg new file mode 100644 index 0000000000..712661b084 --- /dev/null +++ b/web-dist/icons/lightbulb-flash-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lightbulb-line.svg b/web-dist/icons/lightbulb-line.svg new file mode 100644 index 0000000000..29a298a708 --- /dev/null +++ b/web-dist/icons/lightbulb-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/line-chart-fill.svg b/web-dist/icons/line-chart-fill.svg new file mode 100644 index 0000000000..05b962b99a --- /dev/null +++ b/web-dist/icons/line-chart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/line-chart-line.svg b/web-dist/icons/line-chart-line.svg new file mode 100644 index 0000000000..43bb3fe4f4 --- /dev/null +++ b/web-dist/icons/line-chart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/line-fill.svg b/web-dist/icons/line-fill.svg new file mode 100644 index 0000000000..f6d7acfee2 --- /dev/null +++ b/web-dist/icons/line-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/line-height-2.svg b/web-dist/icons/line-height-2.svg new file mode 100644 index 0000000000..c54792e4a9 --- /dev/null +++ b/web-dist/icons/line-height-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/line-height.svg b/web-dist/icons/line-height.svg new file mode 100644 index 0000000000..f0a4d785b5 --- /dev/null +++ b/web-dist/icons/line-height.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/line-line.svg b/web-dist/icons/line-line.svg new file mode 100644 index 0000000000..be75702322 --- /dev/null +++ b/web-dist/icons/line-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/link-fill.svg b/web-dist/icons/link-fill.svg new file mode 100644 index 0000000000..860c578d66 --- /dev/null +++ b/web-dist/icons/link-fill.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web-dist/icons/link-line.svg b/web-dist/icons/link-line.svg new file mode 100644 index 0000000000..860c578d66 --- /dev/null +++ b/web-dist/icons/link-line.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web-dist/icons/link-m-fill.svg b/web-dist/icons/link-m-fill.svg new file mode 100644 index 0000000000..f476dbc4c6 --- /dev/null +++ b/web-dist/icons/link-m-fill.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web-dist/icons/link-m-line.svg b/web-dist/icons/link-m-line.svg new file mode 100644 index 0000000000..f476dbc4c6 --- /dev/null +++ b/web-dist/icons/link-m-line.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web-dist/icons/link-m.svg b/web-dist/icons/link-m.svg new file mode 100644 index 0000000000..dd55f037a1 --- /dev/null +++ b/web-dist/icons/link-m.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/link-unlink-m.svg b/web-dist/icons/link-unlink-m.svg new file mode 100644 index 0000000000..49ff0d7640 --- /dev/null +++ b/web-dist/icons/link-unlink-m.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/link-unlink.svg b/web-dist/icons/link-unlink.svg new file mode 100644 index 0000000000..8e2df4512c --- /dev/null +++ b/web-dist/icons/link-unlink.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/link.svg b/web-dist/icons/link.svg new file mode 100644 index 0000000000..16f65ce1a9 --- /dev/null +++ b/web-dist/icons/link.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/linkedin-box-fill.svg b/web-dist/icons/linkedin-box-fill.svg new file mode 100644 index 0000000000..f468cb5aa1 --- /dev/null +++ b/web-dist/icons/linkedin-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/linkedin-box-line.svg b/web-dist/icons/linkedin-box-line.svg new file mode 100644 index 0000000000..090646525c --- /dev/null +++ b/web-dist/icons/linkedin-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/linkedin-fill.svg b/web-dist/icons/linkedin-fill.svg new file mode 100644 index 0000000000..0d50d98d8f --- /dev/null +++ b/web-dist/icons/linkedin-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/linkedin-line.svg b/web-dist/icons/linkedin-line.svg new file mode 100644 index 0000000000..8716f960a1 --- /dev/null +++ b/web-dist/icons/linkedin-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/links-fill.svg b/web-dist/icons/links-fill.svg new file mode 100644 index 0000000000..68bc811e85 --- /dev/null +++ b/web-dist/icons/links-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/links-line.svg b/web-dist/icons/links-line.svg new file mode 100644 index 0000000000..68bc811e85 --- /dev/null +++ b/web-dist/icons/links-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/list-check-2.svg b/web-dist/icons/list-check-2.svg new file mode 100644 index 0000000000..2f34946dac --- /dev/null +++ b/web-dist/icons/list-check-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/list-check-3.svg b/web-dist/icons/list-check-3.svg new file mode 100644 index 0000000000..48ed09bbbb --- /dev/null +++ b/web-dist/icons/list-check-3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/list-check.svg b/web-dist/icons/list-check.svg new file mode 100644 index 0000000000..e1ed50f1b5 --- /dev/null +++ b/web-dist/icons/list-check.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/list-indefinite.svg b/web-dist/icons/list-indefinite.svg new file mode 100644 index 0000000000..027b7aedb7 --- /dev/null +++ b/web-dist/icons/list-indefinite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/list-ordered-2.svg b/web-dist/icons/list-ordered-2.svg new file mode 100644 index 0000000000..de75f37d4a --- /dev/null +++ b/web-dist/icons/list-ordered-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/list-ordered.svg b/web-dist/icons/list-ordered.svg new file mode 100644 index 0000000000..cffd044f97 --- /dev/null +++ b/web-dist/icons/list-ordered.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/list-radio.svg b/web-dist/icons/list-radio.svg new file mode 100644 index 0000000000..82b6965aff --- /dev/null +++ b/web-dist/icons/list-radio.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/list-settings-fill.svg b/web-dist/icons/list-settings-fill.svg new file mode 100644 index 0000000000..3bb79d1b60 --- /dev/null +++ b/web-dist/icons/list-settings-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/list-settings-line.svg b/web-dist/icons/list-settings-line.svg new file mode 100644 index 0000000000..2de6e8b5e6 --- /dev/null +++ b/web-dist/icons/list-settings-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/list-unordered.svg b/web-dist/icons/list-unordered.svg new file mode 100644 index 0000000000..3762d86f16 --- /dev/null +++ b/web-dist/icons/list-unordered.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/list-view.svg b/web-dist/icons/list-view.svg new file mode 100644 index 0000000000..9cbbd4825e --- /dev/null +++ b/web-dist/icons/list-view.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/live-fill.svg b/web-dist/icons/live-fill.svg new file mode 100644 index 0000000000..68069651d4 --- /dev/null +++ b/web-dist/icons/live-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/live-line.svg b/web-dist/icons/live-line.svg new file mode 100644 index 0000000000..4d92effe8c --- /dev/null +++ b/web-dist/icons/live-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loader-2-fill.svg b/web-dist/icons/loader-2-fill.svg new file mode 100644 index 0000000000..f009d0ffb2 --- /dev/null +++ b/web-dist/icons/loader-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loader-2-line.svg b/web-dist/icons/loader-2-line.svg new file mode 100644 index 0000000000..f009d0ffb2 --- /dev/null +++ b/web-dist/icons/loader-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loader-3-fill.svg b/web-dist/icons/loader-3-fill.svg new file mode 100644 index 0000000000..e7276a5884 --- /dev/null +++ b/web-dist/icons/loader-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loader-3-line.svg b/web-dist/icons/loader-3-line.svg new file mode 100644 index 0000000000..e7276a5884 --- /dev/null +++ b/web-dist/icons/loader-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loader-4-fill.svg b/web-dist/icons/loader-4-fill.svg new file mode 100644 index 0000000000..712d0a842b --- /dev/null +++ b/web-dist/icons/loader-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loader-4-line.svg b/web-dist/icons/loader-4-line.svg new file mode 100644 index 0000000000..712d0a842b --- /dev/null +++ b/web-dist/icons/loader-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loader-5-fill.svg b/web-dist/icons/loader-5-fill.svg new file mode 100644 index 0000000000..4362db55cb --- /dev/null +++ b/web-dist/icons/loader-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loader-5-line.svg b/web-dist/icons/loader-5-line.svg new file mode 100644 index 0000000000..4362db55cb --- /dev/null +++ b/web-dist/icons/loader-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loader-fill.svg b/web-dist/icons/loader-fill.svg new file mode 100644 index 0000000000..2dbd761695 --- /dev/null +++ b/web-dist/icons/loader-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loader-line.svg b/web-dist/icons/loader-line.svg new file mode 100644 index 0000000000..2dbd761695 --- /dev/null +++ b/web-dist/icons/loader-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lock-2-fill.svg b/web-dist/icons/lock-2-fill.svg new file mode 100644 index 0000000000..fc1be15eea --- /dev/null +++ b/web-dist/icons/lock-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lock-2-line.svg b/web-dist/icons/lock-2-line.svg new file mode 100644 index 0000000000..3399e62e36 --- /dev/null +++ b/web-dist/icons/lock-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lock-fill.svg b/web-dist/icons/lock-fill.svg new file mode 100644 index 0000000000..0130c9e753 --- /dev/null +++ b/web-dist/icons/lock-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lock-line.svg b/web-dist/icons/lock-line.svg new file mode 100644 index 0000000000..2503e56e7d --- /dev/null +++ b/web-dist/icons/lock-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lock-password-fill.svg b/web-dist/icons/lock-password-fill.svg new file mode 100644 index 0000000000..b3c27978a0 --- /dev/null +++ b/web-dist/icons/lock-password-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lock-password-line.svg b/web-dist/icons/lock-password-line.svg new file mode 100644 index 0000000000..1e7c33aae4 --- /dev/null +++ b/web-dist/icons/lock-password-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lock-star-fill.svg b/web-dist/icons/lock-star-fill.svg new file mode 100644 index 0000000000..49594c2233 --- /dev/null +++ b/web-dist/icons/lock-star-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lock-star-line.svg b/web-dist/icons/lock-star-line.svg new file mode 100644 index 0000000000..4746c1e4bb --- /dev/null +++ b/web-dist/icons/lock-star-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lock-unlock-fill.svg b/web-dist/icons/lock-unlock-fill.svg new file mode 100644 index 0000000000..8e1f4e8a02 --- /dev/null +++ b/web-dist/icons/lock-unlock-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lock-unlock-line.svg b/web-dist/icons/lock-unlock-line.svg new file mode 100644 index 0000000000..f08dfa757e --- /dev/null +++ b/web-dist/icons/lock-unlock-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/login-box-fill.svg b/web-dist/icons/login-box-fill.svg new file mode 100644 index 0000000000..94bdbfcf02 --- /dev/null +++ b/web-dist/icons/login-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/login-box-line.svg b/web-dist/icons/login-box-line.svg new file mode 100644 index 0000000000..ecb6475842 --- /dev/null +++ b/web-dist/icons/login-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/login-circle-fill.svg b/web-dist/icons/login-circle-fill.svg new file mode 100644 index 0000000000..6e626e41cb --- /dev/null +++ b/web-dist/icons/login-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/login-circle-line.svg b/web-dist/icons/login-circle-line.svg new file mode 100644 index 0000000000..91bb6fb410 --- /dev/null +++ b/web-dist/icons/login-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/logout-box-fill.svg b/web-dist/icons/logout-box-fill.svg new file mode 100644 index 0000000000..efa0f131a2 --- /dev/null +++ b/web-dist/icons/logout-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/logout-box-line.svg b/web-dist/icons/logout-box-line.svg new file mode 100644 index 0000000000..b6906e2d57 --- /dev/null +++ b/web-dist/icons/logout-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/logout-box-r-fill.svg b/web-dist/icons/logout-box-r-fill.svg new file mode 100644 index 0000000000..de12746d9f --- /dev/null +++ b/web-dist/icons/logout-box-r-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/logout-box-r-line.svg b/web-dist/icons/logout-box-r-line.svg new file mode 100644 index 0000000000..3f24de583b --- /dev/null +++ b/web-dist/icons/logout-box-r-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/logout-circle-fill.svg b/web-dist/icons/logout-circle-fill.svg new file mode 100644 index 0000000000..2b09f0e94b --- /dev/null +++ b/web-dist/icons/logout-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/logout-circle-line.svg b/web-dist/icons/logout-circle-line.svg new file mode 100644 index 0000000000..c39fe22410 --- /dev/null +++ b/web-dist/icons/logout-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/logout-circle-r-fill.svg b/web-dist/icons/logout-circle-r-fill.svg new file mode 100644 index 0000000000..74d9491739 --- /dev/null +++ b/web-dist/icons/logout-circle-r-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/logout-circle-r-line.svg b/web-dist/icons/logout-circle-r-line.svg new file mode 100644 index 0000000000..50f797faf7 --- /dev/null +++ b/web-dist/icons/logout-circle-r-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loop-left-fill.svg b/web-dist/icons/loop-left-fill.svg new file mode 100644 index 0000000000..4dab5abf82 --- /dev/null +++ b/web-dist/icons/loop-left-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loop-left-line.svg b/web-dist/icons/loop-left-line.svg new file mode 100644 index 0000000000..e6d1837475 --- /dev/null +++ b/web-dist/icons/loop-left-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loop-right-fill.svg b/web-dist/icons/loop-right-fill.svg new file mode 100644 index 0000000000..95abaff646 --- /dev/null +++ b/web-dist/icons/loop-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/loop-right-line.svg b/web-dist/icons/loop-right-line.svg new file mode 100644 index 0000000000..281d802a96 --- /dev/null +++ b/web-dist/icons/loop-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/luggage-cart-fill.svg b/web-dist/icons/luggage-cart-fill.svg new file mode 100644 index 0000000000..cd198bde7b --- /dev/null +++ b/web-dist/icons/luggage-cart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/luggage-cart-line.svg b/web-dist/icons/luggage-cart-line.svg new file mode 100644 index 0000000000..2bc1fc49cd --- /dev/null +++ b/web-dist/icons/luggage-cart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/luggage-deposit-fill.svg b/web-dist/icons/luggage-deposit-fill.svg new file mode 100644 index 0000000000..e95e2dca7f --- /dev/null +++ b/web-dist/icons/luggage-deposit-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/luggage-deposit-line.svg b/web-dist/icons/luggage-deposit-line.svg new file mode 100644 index 0000000000..0bf8721121 --- /dev/null +++ b/web-dist/icons/luggage-deposit-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lungs-fill.svg b/web-dist/icons/lungs-fill.svg new file mode 100644 index 0000000000..fe97b4f509 --- /dev/null +++ b/web-dist/icons/lungs-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/lungs-line.svg b/web-dist/icons/lungs-line.svg new file mode 100644 index 0000000000..aecf51649f --- /dev/null +++ b/web-dist/icons/lungs-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mac-fill.svg b/web-dist/icons/mac-fill.svg new file mode 100644 index 0000000000..739baef06b --- /dev/null +++ b/web-dist/icons/mac-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mac-line.svg b/web-dist/icons/mac-line.svg new file mode 100644 index 0000000000..44e173604c --- /dev/null +++ b/web-dist/icons/mac-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/macbook-fill.svg b/web-dist/icons/macbook-fill.svg new file mode 100644 index 0000000000..6a0c84b846 --- /dev/null +++ b/web-dist/icons/macbook-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/macbook-line.svg b/web-dist/icons/macbook-line.svg new file mode 100644 index 0000000000..8bea69dd0f --- /dev/null +++ b/web-dist/icons/macbook-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/magic-fill.svg b/web-dist/icons/magic-fill.svg new file mode 100644 index 0000000000..a9e67ad947 --- /dev/null +++ b/web-dist/icons/magic-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/magic-line.svg b/web-dist/icons/magic-line.svg new file mode 100644 index 0000000000..efe751dc3d --- /dev/null +++ b/web-dist/icons/magic-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-add-fill.svg b/web-dist/icons/mail-add-fill.svg new file mode 100644 index 0000000000..70863b22fd --- /dev/null +++ b/web-dist/icons/mail-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-add-line.svg b/web-dist/icons/mail-add-line.svg new file mode 100644 index 0000000000..ba53f97456 --- /dev/null +++ b/web-dist/icons/mail-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-ai-fill.svg b/web-dist/icons/mail-ai-fill.svg new file mode 100644 index 0000000000..fe974e84d9 --- /dev/null +++ b/web-dist/icons/mail-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-ai-line.svg b/web-dist/icons/mail-ai-line.svg new file mode 100644 index 0000000000..8295e7bada --- /dev/null +++ b/web-dist/icons/mail-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-check-fill.svg b/web-dist/icons/mail-check-fill.svg new file mode 100644 index 0000000000..06529fdbcb --- /dev/null +++ b/web-dist/icons/mail-check-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-check-line.svg b/web-dist/icons/mail-check-line.svg new file mode 100644 index 0000000000..69b8675c99 --- /dev/null +++ b/web-dist/icons/mail-check-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-close-fill.svg b/web-dist/icons/mail-close-fill.svg new file mode 100644 index 0000000000..f2ff3c300a --- /dev/null +++ b/web-dist/icons/mail-close-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-close-line.svg b/web-dist/icons/mail-close-line.svg new file mode 100644 index 0000000000..0ac3e4ff38 --- /dev/null +++ b/web-dist/icons/mail-close-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-download-fill.svg b/web-dist/icons/mail-download-fill.svg new file mode 100644 index 0000000000..9d321d00fd --- /dev/null +++ b/web-dist/icons/mail-download-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-download-line.svg b/web-dist/icons/mail-download-line.svg new file mode 100644 index 0000000000..59291742c6 --- /dev/null +++ b/web-dist/icons/mail-download-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-fill.svg b/web-dist/icons/mail-fill.svg new file mode 100644 index 0000000000..2f06b92b23 --- /dev/null +++ b/web-dist/icons/mail-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-forbid-fill.svg b/web-dist/icons/mail-forbid-fill.svg new file mode 100644 index 0000000000..eb15bee799 --- /dev/null +++ b/web-dist/icons/mail-forbid-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-forbid-line.svg b/web-dist/icons/mail-forbid-line.svg new file mode 100644 index 0000000000..e4633a5402 --- /dev/null +++ b/web-dist/icons/mail-forbid-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-line.svg b/web-dist/icons/mail-line.svg new file mode 100644 index 0000000000..7a83911171 --- /dev/null +++ b/web-dist/icons/mail-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-lock-fill.svg b/web-dist/icons/mail-lock-fill.svg new file mode 100644 index 0000000000..1400a6b075 --- /dev/null +++ b/web-dist/icons/mail-lock-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-lock-line.svg b/web-dist/icons/mail-lock-line.svg new file mode 100644 index 0000000000..6d8042a62c --- /dev/null +++ b/web-dist/icons/mail-lock-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-open-fill.svg b/web-dist/icons/mail-open-fill.svg new file mode 100644 index 0000000000..bab5f94084 --- /dev/null +++ b/web-dist/icons/mail-open-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-open-line.svg b/web-dist/icons/mail-open-line.svg new file mode 100644 index 0000000000..e6850cb4af --- /dev/null +++ b/web-dist/icons/mail-open-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-send-fill.svg b/web-dist/icons/mail-send-fill.svg new file mode 100644 index 0000000000..53bff99352 --- /dev/null +++ b/web-dist/icons/mail-send-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-send-line.svg b/web-dist/icons/mail-send-line.svg new file mode 100644 index 0000000000..0a8f1226f3 --- /dev/null +++ b/web-dist/icons/mail-send-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-settings-fill.svg b/web-dist/icons/mail-settings-fill.svg new file mode 100644 index 0000000000..37e1c5045c --- /dev/null +++ b/web-dist/icons/mail-settings-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-settings-line.svg b/web-dist/icons/mail-settings-line.svg new file mode 100644 index 0000000000..d7b91a5ba2 --- /dev/null +++ b/web-dist/icons/mail-settings-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-star-fill.svg b/web-dist/icons/mail-star-fill.svg new file mode 100644 index 0000000000..a6f30ec2da --- /dev/null +++ b/web-dist/icons/mail-star-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-star-line.svg b/web-dist/icons/mail-star-line.svg new file mode 100644 index 0000000000..ee3a9fa557 --- /dev/null +++ b/web-dist/icons/mail-star-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-unread-fill.svg b/web-dist/icons/mail-unread-fill.svg new file mode 100644 index 0000000000..b944dec3e9 --- /dev/null +++ b/web-dist/icons/mail-unread-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-unread-line.svg b/web-dist/icons/mail-unread-line.svg new file mode 100644 index 0000000000..ec06911159 --- /dev/null +++ b/web-dist/icons/mail-unread-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-volume-fill.svg b/web-dist/icons/mail-volume-fill.svg new file mode 100644 index 0000000000..16ce1f09b4 --- /dev/null +++ b/web-dist/icons/mail-volume-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mail-volume-line.svg b/web-dist/icons/mail-volume-line.svg new file mode 100644 index 0000000000..0703c577e9 --- /dev/null +++ b/web-dist/icons/mail-volume-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-2-fill.svg b/web-dist/icons/map-2-fill.svg new file mode 100644 index 0000000000..a8909f6f36 --- /dev/null +++ b/web-dist/icons/map-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-2-line.svg b/web-dist/icons/map-2-line.svg new file mode 100644 index 0000000000..508c6580ac --- /dev/null +++ b/web-dist/icons/map-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-fill.svg b/web-dist/icons/map-fill.svg new file mode 100644 index 0000000000..f5365a5633 --- /dev/null +++ b/web-dist/icons/map-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-line.svg b/web-dist/icons/map-line.svg new file mode 100644 index 0000000000..c9f6224202 --- /dev/null +++ b/web-dist/icons/map-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-2-fill.svg b/web-dist/icons/map-pin-2-fill.svg new file mode 100644 index 0000000000..8983c9c6d7 --- /dev/null +++ b/web-dist/icons/map-pin-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-2-line.svg b/web-dist/icons/map-pin-2-line.svg new file mode 100644 index 0000000000..926d559046 --- /dev/null +++ b/web-dist/icons/map-pin-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-3-fill.svg b/web-dist/icons/map-pin-3-fill.svg new file mode 100644 index 0000000000..be1f2e745c --- /dev/null +++ b/web-dist/icons/map-pin-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-3-line.svg b/web-dist/icons/map-pin-3-line.svg new file mode 100644 index 0000000000..c75baede18 --- /dev/null +++ b/web-dist/icons/map-pin-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-4-fill.svg b/web-dist/icons/map-pin-4-fill.svg new file mode 100644 index 0000000000..9a191b9d32 --- /dev/null +++ b/web-dist/icons/map-pin-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-4-line.svg b/web-dist/icons/map-pin-4-line.svg new file mode 100644 index 0000000000..2cab7e382d --- /dev/null +++ b/web-dist/icons/map-pin-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-5-fill.svg b/web-dist/icons/map-pin-5-fill.svg new file mode 100644 index 0000000000..8be4565857 --- /dev/null +++ b/web-dist/icons/map-pin-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-5-line.svg b/web-dist/icons/map-pin-5-line.svg new file mode 100644 index 0000000000..34ade1edf7 --- /dev/null +++ b/web-dist/icons/map-pin-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-add-fill.svg b/web-dist/icons/map-pin-add-fill.svg new file mode 100644 index 0000000000..1fb8ddb230 --- /dev/null +++ b/web-dist/icons/map-pin-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-add-line.svg b/web-dist/icons/map-pin-add-line.svg new file mode 100644 index 0000000000..15fa708f65 --- /dev/null +++ b/web-dist/icons/map-pin-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-fill.svg b/web-dist/icons/map-pin-fill.svg new file mode 100644 index 0000000000..cccb2cba25 --- /dev/null +++ b/web-dist/icons/map-pin-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-line.svg b/web-dist/icons/map-pin-line.svg new file mode 100644 index 0000000000..28c7188e62 --- /dev/null +++ b/web-dist/icons/map-pin-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-range-fill.svg b/web-dist/icons/map-pin-range-fill.svg new file mode 100644 index 0000000000..38263e2706 --- /dev/null +++ b/web-dist/icons/map-pin-range-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-range-line.svg b/web-dist/icons/map-pin-range-line.svg new file mode 100644 index 0000000000..61f6bf7597 --- /dev/null +++ b/web-dist/icons/map-pin-range-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-time-fill.svg b/web-dist/icons/map-pin-time-fill.svg new file mode 100644 index 0000000000..dc4f70879a --- /dev/null +++ b/web-dist/icons/map-pin-time-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-time-line.svg b/web-dist/icons/map-pin-time-line.svg new file mode 100644 index 0000000000..351dd75739 --- /dev/null +++ b/web-dist/icons/map-pin-time-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-user-fill.svg b/web-dist/icons/map-pin-user-fill.svg new file mode 100644 index 0000000000..187c01a150 --- /dev/null +++ b/web-dist/icons/map-pin-user-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/map-pin-user-line.svg b/web-dist/icons/map-pin-user-line.svg new file mode 100644 index 0000000000..84c3d7a135 --- /dev/null +++ b/web-dist/icons/map-pin-user-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mark-pen-fill.svg b/web-dist/icons/mark-pen-fill.svg new file mode 100644 index 0000000000..1f01ea5103 --- /dev/null +++ b/web-dist/icons/mark-pen-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mark-pen-line.svg b/web-dist/icons/mark-pen-line.svg new file mode 100644 index 0000000000..b86e298c0e --- /dev/null +++ b/web-dist/icons/mark-pen-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/markdown-fill.svg b/web-dist/icons/markdown-fill.svg new file mode 100644 index 0000000000..51ff1133b3 --- /dev/null +++ b/web-dist/icons/markdown-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/markdown-line.svg b/web-dist/icons/markdown-line.svg new file mode 100644 index 0000000000..5eab2a8359 --- /dev/null +++ b/web-dist/icons/markdown-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/markup-fill.svg b/web-dist/icons/markup-fill.svg new file mode 100644 index 0000000000..802a455ddb --- /dev/null +++ b/web-dist/icons/markup-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/markup-line.svg b/web-dist/icons/markup-line.svg new file mode 100644 index 0000000000..2e590c78a9 --- /dev/null +++ b/web-dist/icons/markup-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mastercard-fill.svg b/web-dist/icons/mastercard-fill.svg new file mode 100644 index 0000000000..24e7b15175 --- /dev/null +++ b/web-dist/icons/mastercard-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mastercard-line.svg b/web-dist/icons/mastercard-line.svg new file mode 100644 index 0000000000..07ba1375fd --- /dev/null +++ b/web-dist/icons/mastercard-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mastodon-fill.svg b/web-dist/icons/mastodon-fill.svg new file mode 100644 index 0000000000..706355ef38 --- /dev/null +++ b/web-dist/icons/mastodon-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mastodon-line.svg b/web-dist/icons/mastodon-line.svg new file mode 100644 index 0000000000..2900b177ce --- /dev/null +++ b/web-dist/icons/mastodon-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/medal-2-fill.svg b/web-dist/icons/medal-2-fill.svg new file mode 100644 index 0000000000..c01ad24f4c --- /dev/null +++ b/web-dist/icons/medal-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/medal-2-line.svg b/web-dist/icons/medal-2-line.svg new file mode 100644 index 0000000000..972c2fd3f1 --- /dev/null +++ b/web-dist/icons/medal-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/medal-fill.svg b/web-dist/icons/medal-fill.svg new file mode 100644 index 0000000000..93b04eedc7 --- /dev/null +++ b/web-dist/icons/medal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/medal-line.svg b/web-dist/icons/medal-line.svg new file mode 100644 index 0000000000..326fa87306 --- /dev/null +++ b/web-dist/icons/medal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/medicine-bottle-fill.svg b/web-dist/icons/medicine-bottle-fill.svg new file mode 100644 index 0000000000..e7c6474f83 --- /dev/null +++ b/web-dist/icons/medicine-bottle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/medicine-bottle-line.svg b/web-dist/icons/medicine-bottle-line.svg new file mode 100644 index 0000000000..b08a428d72 --- /dev/null +++ b/web-dist/icons/medicine-bottle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/medium-fill.svg b/web-dist/icons/medium-fill.svg new file mode 100644 index 0000000000..4c327d64bd --- /dev/null +++ b/web-dist/icons/medium-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/medium-line.svg b/web-dist/icons/medium-line.svg new file mode 100644 index 0000000000..264d2f499d --- /dev/null +++ b/web-dist/icons/medium-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/megaphone-fill.svg b/web-dist/icons/megaphone-fill.svg new file mode 100644 index 0000000000..64e9f4c11f --- /dev/null +++ b/web-dist/icons/megaphone-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/megaphone-line.svg b/web-dist/icons/megaphone-line.svg new file mode 100644 index 0000000000..04c2c728f8 --- /dev/null +++ b/web-dist/icons/megaphone-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/memories-fill.svg b/web-dist/icons/memories-fill.svg new file mode 100644 index 0000000000..2767a159a3 --- /dev/null +++ b/web-dist/icons/memories-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/memories-line.svg b/web-dist/icons/memories-line.svg new file mode 100644 index 0000000000..e13db5415a --- /dev/null +++ b/web-dist/icons/memories-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/men-fill.svg b/web-dist/icons/men-fill.svg new file mode 100644 index 0000000000..6d1504550d --- /dev/null +++ b/web-dist/icons/men-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/men-line.svg b/web-dist/icons/men-line.svg new file mode 100644 index 0000000000..20068d01e3 --- /dev/null +++ b/web-dist/icons/men-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mental-health-fill.svg b/web-dist/icons/mental-health-fill.svg new file mode 100644 index 0000000000..8d256da3b8 --- /dev/null +++ b/web-dist/icons/mental-health-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mental-health-line.svg b/web-dist/icons/mental-health-line.svg new file mode 100644 index 0000000000..817288a564 --- /dev/null +++ b/web-dist/icons/mental-health-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-2-fill.svg b/web-dist/icons/menu-2-fill.svg new file mode 100644 index 0000000000..060fbd7c0f --- /dev/null +++ b/web-dist/icons/menu-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-2-line.svg b/web-dist/icons/menu-2-line.svg new file mode 100644 index 0000000000..060fbd7c0f --- /dev/null +++ b/web-dist/icons/menu-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-3-fill.svg b/web-dist/icons/menu-3-fill.svg new file mode 100644 index 0000000000..011c71a93c --- /dev/null +++ b/web-dist/icons/menu-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-3-line.svg b/web-dist/icons/menu-3-line.svg new file mode 100644 index 0000000000..011c71a93c --- /dev/null +++ b/web-dist/icons/menu-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-4-fill.svg b/web-dist/icons/menu-4-fill.svg new file mode 100644 index 0000000000..fa5e08e3e5 --- /dev/null +++ b/web-dist/icons/menu-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-4-line.svg b/web-dist/icons/menu-4-line.svg new file mode 100644 index 0000000000..fa5e08e3e5 --- /dev/null +++ b/web-dist/icons/menu-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-5-fill.svg b/web-dist/icons/menu-5-fill.svg new file mode 100644 index 0000000000..f0682645a3 --- /dev/null +++ b/web-dist/icons/menu-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-5-line.svg b/web-dist/icons/menu-5-line.svg new file mode 100644 index 0000000000..f0682645a3 --- /dev/null +++ b/web-dist/icons/menu-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-add-fill.svg b/web-dist/icons/menu-add-fill.svg new file mode 100644 index 0000000000..133a6337b2 --- /dev/null +++ b/web-dist/icons/menu-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-add-line.svg b/web-dist/icons/menu-add-line.svg new file mode 100644 index 0000000000..133a6337b2 --- /dev/null +++ b/web-dist/icons/menu-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-fill.svg b/web-dist/icons/menu-fill.svg new file mode 100644 index 0000000000..771d875946 --- /dev/null +++ b/web-dist/icons/menu-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-fold-2-fill.svg b/web-dist/icons/menu-fold-2-fill.svg new file mode 100644 index 0000000000..dccba128c1 --- /dev/null +++ b/web-dist/icons/menu-fold-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-fold-2-line.svg b/web-dist/icons/menu-fold-2-line.svg new file mode 100644 index 0000000000..25b6857f0a --- /dev/null +++ b/web-dist/icons/menu-fold-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-fold-3-fill.svg b/web-dist/icons/menu-fold-3-fill.svg new file mode 100644 index 0000000000..5137e4d88a --- /dev/null +++ b/web-dist/icons/menu-fold-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-fold-3-line 2.svg b/web-dist/icons/menu-fold-3-line 2.svg new file mode 100644 index 0000000000..2d45943a5b --- /dev/null +++ b/web-dist/icons/menu-fold-3-line 2.svg @@ -0,0 +1 @@ + diff --git a/web-dist/icons/menu-fold-3-line.svg b/web-dist/icons/menu-fold-3-line.svg new file mode 100644 index 0000000000..1c551f3ea5 --- /dev/null +++ b/web-dist/icons/menu-fold-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-fold-4-fill.svg b/web-dist/icons/menu-fold-4-fill.svg new file mode 100644 index 0000000000..df6254e2c6 --- /dev/null +++ b/web-dist/icons/menu-fold-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-fold-4-line.svg b/web-dist/icons/menu-fold-4-line.svg new file mode 100644 index 0000000000..2a4718e0e8 --- /dev/null +++ b/web-dist/icons/menu-fold-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-fold-fill.svg b/web-dist/icons/menu-fold-fill.svg new file mode 100644 index 0000000000..c9890fda42 --- /dev/null +++ b/web-dist/icons/menu-fold-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-fold-line.svg b/web-dist/icons/menu-fold-line.svg new file mode 100644 index 0000000000..f3a6e74968 --- /dev/null +++ b/web-dist/icons/menu-fold-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-line-condensed.svg b/web-dist/icons/menu-line-condensed.svg new file mode 100644 index 0000000000..b58809824e --- /dev/null +++ b/web-dist/icons/menu-line-condensed.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web-dist/icons/menu-line.svg b/web-dist/icons/menu-line.svg new file mode 100644 index 0000000000..771d875946 --- /dev/null +++ b/web-dist/icons/menu-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-search-fill.svg b/web-dist/icons/menu-search-fill.svg new file mode 100644 index 0000000000..c938b0639e --- /dev/null +++ b/web-dist/icons/menu-search-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-search-line.svg b/web-dist/icons/menu-search-line.svg new file mode 100644 index 0000000000..45470c742b --- /dev/null +++ b/web-dist/icons/menu-search-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-unfold-2-fill.svg b/web-dist/icons/menu-unfold-2-fill.svg new file mode 100644 index 0000000000..76b33487b6 --- /dev/null +++ b/web-dist/icons/menu-unfold-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-unfold-2-line.svg b/web-dist/icons/menu-unfold-2-line.svg new file mode 100644 index 0000000000..0f555eb767 --- /dev/null +++ b/web-dist/icons/menu-unfold-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-unfold-3-fill.svg b/web-dist/icons/menu-unfold-3-fill.svg new file mode 100644 index 0000000000..7c882453e0 --- /dev/null +++ b/web-dist/icons/menu-unfold-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-unfold-3-line 2.svg b/web-dist/icons/menu-unfold-3-line 2.svg new file mode 100644 index 0000000000..f37a851296 --- /dev/null +++ b/web-dist/icons/menu-unfold-3-line 2.svg @@ -0,0 +1 @@ + diff --git a/web-dist/icons/menu-unfold-3-line.svg b/web-dist/icons/menu-unfold-3-line.svg new file mode 100644 index 0000000000..a223280d93 --- /dev/null +++ b/web-dist/icons/menu-unfold-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-unfold-4-fill.svg b/web-dist/icons/menu-unfold-4-fill.svg new file mode 100644 index 0000000000..3d28776823 --- /dev/null +++ b/web-dist/icons/menu-unfold-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-unfold-4-line 2.svg b/web-dist/icons/menu-unfold-4-line 2.svg new file mode 100644 index 0000000000..a4f81c0053 --- /dev/null +++ b/web-dist/icons/menu-unfold-4-line 2.svg @@ -0,0 +1 @@ + diff --git a/web-dist/icons/menu-unfold-4-line.svg b/web-dist/icons/menu-unfold-4-line.svg new file mode 100644 index 0000000000..a51e2b5599 --- /dev/null +++ b/web-dist/icons/menu-unfold-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-unfold-fill.svg b/web-dist/icons/menu-unfold-fill.svg new file mode 100644 index 0000000000..1c0b6bbb30 --- /dev/null +++ b/web-dist/icons/menu-unfold-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/menu-unfold-line.svg b/web-dist/icons/menu-unfold-line.svg new file mode 100644 index 0000000000..d2c7531659 --- /dev/null +++ b/web-dist/icons/menu-unfold-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/merge-cells-horizontal.svg b/web-dist/icons/merge-cells-horizontal.svg new file mode 100644 index 0000000000..b8db05c038 --- /dev/null +++ b/web-dist/icons/merge-cells-horizontal.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/merge-cells-vertical.svg b/web-dist/icons/merge-cells-vertical.svg new file mode 100644 index 0000000000..fcb8a39ce6 --- /dev/null +++ b/web-dist/icons/merge-cells-vertical.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/message-2-fill.svg b/web-dist/icons/message-2-fill.svg new file mode 100644 index 0000000000..44a21d043c --- /dev/null +++ b/web-dist/icons/message-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/message-2-line.svg b/web-dist/icons/message-2-line.svg new file mode 100644 index 0000000000..aad63b801e --- /dev/null +++ b/web-dist/icons/message-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/message-3-fill.svg b/web-dist/icons/message-3-fill.svg new file mode 100644 index 0000000000..38a1b5461e --- /dev/null +++ b/web-dist/icons/message-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/message-3-line.svg b/web-dist/icons/message-3-line.svg new file mode 100644 index 0000000000..4b0249f091 --- /dev/null +++ b/web-dist/icons/message-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/message-fill.svg b/web-dist/icons/message-fill.svg new file mode 100644 index 0000000000..622a665902 --- /dev/null +++ b/web-dist/icons/message-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/message-line.svg b/web-dist/icons/message-line.svg new file mode 100644 index 0000000000..035e2b89f6 --- /dev/null +++ b/web-dist/icons/message-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/messenger-fill.svg b/web-dist/icons/messenger-fill.svg new file mode 100644 index 0000000000..8aa4502a5a --- /dev/null +++ b/web-dist/icons/messenger-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/messenger-line.svg b/web-dist/icons/messenger-line.svg new file mode 100644 index 0000000000..3f761b2ec8 --- /dev/null +++ b/web-dist/icons/messenger-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/meta-fill.svg b/web-dist/icons/meta-fill.svg new file mode 100644 index 0000000000..87f36f1918 --- /dev/null +++ b/web-dist/icons/meta-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/meta-line.svg b/web-dist/icons/meta-line.svg new file mode 100644 index 0000000000..fefded03a0 --- /dev/null +++ b/web-dist/icons/meta-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/meteor-fill.svg b/web-dist/icons/meteor-fill.svg new file mode 100644 index 0000000000..808d28754b --- /dev/null +++ b/web-dist/icons/meteor-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/meteor-line.svg b/web-dist/icons/meteor-line.svg new file mode 100644 index 0000000000..b21241c41c --- /dev/null +++ b/web-dist/icons/meteor-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mic-2-ai-fill.svg b/web-dist/icons/mic-2-ai-fill.svg new file mode 100644 index 0000000000..928fbe52eb --- /dev/null +++ b/web-dist/icons/mic-2-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mic-2-ai-line.svg b/web-dist/icons/mic-2-ai-line.svg new file mode 100644 index 0000000000..2f85039566 --- /dev/null +++ b/web-dist/icons/mic-2-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mic-2-fill.svg b/web-dist/icons/mic-2-fill.svg new file mode 100644 index 0000000000..d17da5661c --- /dev/null +++ b/web-dist/icons/mic-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mic-2-line.svg b/web-dist/icons/mic-2-line.svg new file mode 100644 index 0000000000..4a9ae44cde --- /dev/null +++ b/web-dist/icons/mic-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mic-ai-fill.svg b/web-dist/icons/mic-ai-fill.svg new file mode 100644 index 0000000000..fd8797736e --- /dev/null +++ b/web-dist/icons/mic-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mic-ai-line.svg b/web-dist/icons/mic-ai-line.svg new file mode 100644 index 0000000000..9ff2c6678f --- /dev/null +++ b/web-dist/icons/mic-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mic-fill.svg b/web-dist/icons/mic-fill.svg new file mode 100644 index 0000000000..28ffad6e7c --- /dev/null +++ b/web-dist/icons/mic-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mic-line.svg b/web-dist/icons/mic-line.svg new file mode 100644 index 0000000000..d44b3ba7e2 --- /dev/null +++ b/web-dist/icons/mic-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mic-off-fill.svg b/web-dist/icons/mic-off-fill.svg new file mode 100644 index 0000000000..50d1b28234 --- /dev/null +++ b/web-dist/icons/mic-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mic-off-line.svg b/web-dist/icons/mic-off-line.svg new file mode 100644 index 0000000000..4666903269 --- /dev/null +++ b/web-dist/icons/mic-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mickey-fill.svg b/web-dist/icons/mickey-fill.svg new file mode 100644 index 0000000000..50ea9e5cd5 --- /dev/null +++ b/web-dist/icons/mickey-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mickey-line.svg b/web-dist/icons/mickey-line.svg new file mode 100644 index 0000000000..2c324040c3 --- /dev/null +++ b/web-dist/icons/mickey-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/microscope-fill.svg b/web-dist/icons/microscope-fill.svg new file mode 100644 index 0000000000..9100a0686d --- /dev/null +++ b/web-dist/icons/microscope-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/microscope-line.svg b/web-dist/icons/microscope-line.svg new file mode 100644 index 0000000000..f00f9089e4 --- /dev/null +++ b/web-dist/icons/microscope-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/microsoft-fill.svg b/web-dist/icons/microsoft-fill.svg new file mode 100644 index 0000000000..4ef10a6056 --- /dev/null +++ b/web-dist/icons/microsoft-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/microsoft-line.svg b/web-dist/icons/microsoft-line.svg new file mode 100644 index 0000000000..fa72ced2c7 --- /dev/null +++ b/web-dist/icons/microsoft-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/microsoft-loop-fill.svg b/web-dist/icons/microsoft-loop-fill.svg new file mode 100644 index 0000000000..979b428dee --- /dev/null +++ b/web-dist/icons/microsoft-loop-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/microsoft-loop-line.svg b/web-dist/icons/microsoft-loop-line.svg new file mode 100644 index 0000000000..0b1d60419d --- /dev/null +++ b/web-dist/icons/microsoft-loop-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mind-map.svg b/web-dist/icons/mind-map.svg new file mode 100644 index 0000000000..edad52c1c8 --- /dev/null +++ b/web-dist/icons/mind-map.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mini-program-fill.svg b/web-dist/icons/mini-program-fill.svg new file mode 100644 index 0000000000..887d317dd8 --- /dev/null +++ b/web-dist/icons/mini-program-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mini-program-line.svg b/web-dist/icons/mini-program-line.svg new file mode 100644 index 0000000000..e23ba27362 --- /dev/null +++ b/web-dist/icons/mini-program-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mist-fill.svg b/web-dist/icons/mist-fill.svg new file mode 100644 index 0000000000..2adffc7578 --- /dev/null +++ b/web-dist/icons/mist-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mist-line.svg b/web-dist/icons/mist-line.svg new file mode 100644 index 0000000000..31335e41a7 --- /dev/null +++ b/web-dist/icons/mist-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mixtral-fill.svg b/web-dist/icons/mixtral-fill.svg new file mode 100644 index 0000000000..fcf3987ca3 --- /dev/null +++ b/web-dist/icons/mixtral-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mixtral-line.svg b/web-dist/icons/mixtral-line.svg new file mode 100644 index 0000000000..3e62914fed --- /dev/null +++ b/web-dist/icons/mixtral-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mobile-download-fill.svg b/web-dist/icons/mobile-download-fill.svg new file mode 100644 index 0000000000..f5bca3cd33 --- /dev/null +++ b/web-dist/icons/mobile-download-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mobile-download-line.svg b/web-dist/icons/mobile-download-line.svg new file mode 100644 index 0000000000..c992aa6b4b --- /dev/null +++ b/web-dist/icons/mobile-download-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-cny-box-fill.svg b/web-dist/icons/money-cny-box-fill.svg new file mode 100644 index 0000000000..d7202d8a83 --- /dev/null +++ b/web-dist/icons/money-cny-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-cny-box-line.svg b/web-dist/icons/money-cny-box-line.svg new file mode 100644 index 0000000000..f2ae384e75 --- /dev/null +++ b/web-dist/icons/money-cny-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-cny-circle-fill.svg b/web-dist/icons/money-cny-circle-fill.svg new file mode 100644 index 0000000000..65d9fcd2b1 --- /dev/null +++ b/web-dist/icons/money-cny-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-cny-circle-line.svg b/web-dist/icons/money-cny-circle-line.svg new file mode 100644 index 0000000000..f8171c1082 --- /dev/null +++ b/web-dist/icons/money-cny-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-dollar-box-fill.svg b/web-dist/icons/money-dollar-box-fill.svg new file mode 100644 index 0000000000..6d08feb2d2 --- /dev/null +++ b/web-dist/icons/money-dollar-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-dollar-box-line.svg b/web-dist/icons/money-dollar-box-line.svg new file mode 100644 index 0000000000..e1fa89f748 --- /dev/null +++ b/web-dist/icons/money-dollar-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-dollar-circle-fill.svg b/web-dist/icons/money-dollar-circle-fill.svg new file mode 100644 index 0000000000..340f41c10b --- /dev/null +++ b/web-dist/icons/money-dollar-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-dollar-circle-line.svg b/web-dist/icons/money-dollar-circle-line.svg new file mode 100644 index 0000000000..f9c2210da0 --- /dev/null +++ b/web-dist/icons/money-dollar-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-euro-box-fill.svg b/web-dist/icons/money-euro-box-fill.svg new file mode 100644 index 0000000000..15618983e0 --- /dev/null +++ b/web-dist/icons/money-euro-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-euro-box-line.svg b/web-dist/icons/money-euro-box-line.svg new file mode 100644 index 0000000000..d901032c1a --- /dev/null +++ b/web-dist/icons/money-euro-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-euro-circle-fill.svg b/web-dist/icons/money-euro-circle-fill.svg new file mode 100644 index 0000000000..02a25c0adf --- /dev/null +++ b/web-dist/icons/money-euro-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-euro-circle-line.svg b/web-dist/icons/money-euro-circle-line.svg new file mode 100644 index 0000000000..98f9df018a --- /dev/null +++ b/web-dist/icons/money-euro-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-pound-box-fill.svg b/web-dist/icons/money-pound-box-fill.svg new file mode 100644 index 0000000000..9e771c7636 --- /dev/null +++ b/web-dist/icons/money-pound-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-pound-box-line.svg b/web-dist/icons/money-pound-box-line.svg new file mode 100644 index 0000000000..ca39aeb78b --- /dev/null +++ b/web-dist/icons/money-pound-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-pound-circle-fill.svg b/web-dist/icons/money-pound-circle-fill.svg new file mode 100644 index 0000000000..b6ef3a006a --- /dev/null +++ b/web-dist/icons/money-pound-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-pound-circle-line.svg b/web-dist/icons/money-pound-circle-line.svg new file mode 100644 index 0000000000..310fb4cfa6 --- /dev/null +++ b/web-dist/icons/money-pound-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-rupee-circle-fill.svg b/web-dist/icons/money-rupee-circle-fill.svg new file mode 100644 index 0000000000..692027c225 --- /dev/null +++ b/web-dist/icons/money-rupee-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/money-rupee-circle-line.svg b/web-dist/icons/money-rupee-circle-line.svg new file mode 100644 index 0000000000..2bfc0f4e45 --- /dev/null +++ b/web-dist/icons/money-rupee-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/moon-clear-fill.svg b/web-dist/icons/moon-clear-fill.svg new file mode 100644 index 0000000000..65433c31dd --- /dev/null +++ b/web-dist/icons/moon-clear-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/moon-clear-line.svg b/web-dist/icons/moon-clear-line.svg new file mode 100644 index 0000000000..219e96cf1f --- /dev/null +++ b/web-dist/icons/moon-clear-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/moon-cloudy-fill.svg b/web-dist/icons/moon-cloudy-fill.svg new file mode 100644 index 0000000000..04e830ca51 --- /dev/null +++ b/web-dist/icons/moon-cloudy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/moon-cloudy-line.svg b/web-dist/icons/moon-cloudy-line.svg new file mode 100644 index 0000000000..9e3fb44dfe --- /dev/null +++ b/web-dist/icons/moon-cloudy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/moon-fill.svg b/web-dist/icons/moon-fill.svg new file mode 100644 index 0000000000..43ec7ca947 --- /dev/null +++ b/web-dist/icons/moon-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/moon-foggy-fill.svg b/web-dist/icons/moon-foggy-fill.svg new file mode 100644 index 0000000000..b70f37b1d0 --- /dev/null +++ b/web-dist/icons/moon-foggy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/moon-foggy-line.svg b/web-dist/icons/moon-foggy-line.svg new file mode 100644 index 0000000000..327325d419 --- /dev/null +++ b/web-dist/icons/moon-foggy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/moon-line.svg b/web-dist/icons/moon-line.svg new file mode 100644 index 0000000000..aa64d7fa77 --- /dev/null +++ b/web-dist/icons/moon-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/more-2-fill.svg b/web-dist/icons/more-2-fill.svg new file mode 100644 index 0000000000..f371b010b5 --- /dev/null +++ b/web-dist/icons/more-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/more-2-line.svg b/web-dist/icons/more-2-line.svg new file mode 100644 index 0000000000..c48b99dccf --- /dev/null +++ b/web-dist/icons/more-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/more-fill.svg b/web-dist/icons/more-fill.svg new file mode 100644 index 0000000000..ffe4f4847a --- /dev/null +++ b/web-dist/icons/more-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/more-line.svg b/web-dist/icons/more-line.svg new file mode 100644 index 0000000000..52c69ea012 --- /dev/null +++ b/web-dist/icons/more-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/motorbike-fill.svg b/web-dist/icons/motorbike-fill.svg new file mode 100644 index 0000000000..66dfddcb3d --- /dev/null +++ b/web-dist/icons/motorbike-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/motorbike-line.svg b/web-dist/icons/motorbike-line.svg new file mode 100644 index 0000000000..69f6100b60 --- /dev/null +++ b/web-dist/icons/motorbike-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mouse-fill.svg b/web-dist/icons/mouse-fill.svg new file mode 100644 index 0000000000..8ac8af29e1 --- /dev/null +++ b/web-dist/icons/mouse-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mouse-line.svg b/web-dist/icons/mouse-line.svg new file mode 100644 index 0000000000..c028f795bf --- /dev/null +++ b/web-dist/icons/mouse-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/movie-2-ai-fill.svg b/web-dist/icons/movie-2-ai-fill.svg new file mode 100644 index 0000000000..b67632b011 --- /dev/null +++ b/web-dist/icons/movie-2-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/movie-2-ai-line.svg b/web-dist/icons/movie-2-ai-line.svg new file mode 100644 index 0000000000..17999cdb36 --- /dev/null +++ b/web-dist/icons/movie-2-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/movie-2-fill.svg b/web-dist/icons/movie-2-fill.svg new file mode 100644 index 0000000000..efb1b7bfbe --- /dev/null +++ b/web-dist/icons/movie-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/movie-2-line.svg b/web-dist/icons/movie-2-line.svg new file mode 100644 index 0000000000..3f83291e97 --- /dev/null +++ b/web-dist/icons/movie-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/movie-ai-fill.svg b/web-dist/icons/movie-ai-fill.svg new file mode 100644 index 0000000000..23555f425c --- /dev/null +++ b/web-dist/icons/movie-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/movie-ai-line.svg b/web-dist/icons/movie-ai-line.svg new file mode 100644 index 0000000000..ec34b90016 --- /dev/null +++ b/web-dist/icons/movie-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/movie-fill.svg b/web-dist/icons/movie-fill.svg new file mode 100644 index 0000000000..b054beaeaa --- /dev/null +++ b/web-dist/icons/movie-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/movie-line.svg b/web-dist/icons/movie-line.svg new file mode 100644 index 0000000000..b035a8a4a1 --- /dev/null +++ b/web-dist/icons/movie-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/multi-image-fill.svg b/web-dist/icons/multi-image-fill.svg new file mode 100644 index 0000000000..f050a59050 --- /dev/null +++ b/web-dist/icons/multi-image-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/multi-image-line.svg b/web-dist/icons/multi-image-line.svg new file mode 100644 index 0000000000..7c059e5030 --- /dev/null +++ b/web-dist/icons/multi-image-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/music-2-fill.svg b/web-dist/icons/music-2-fill.svg new file mode 100644 index 0000000000..fa9102463a --- /dev/null +++ b/web-dist/icons/music-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/music-2-line.svg b/web-dist/icons/music-2-line.svg new file mode 100644 index 0000000000..cbb3683371 --- /dev/null +++ b/web-dist/icons/music-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/music-ai-fill.svg b/web-dist/icons/music-ai-fill.svg new file mode 100644 index 0000000000..bfc284ecd7 --- /dev/null +++ b/web-dist/icons/music-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/music-ai-line.svg b/web-dist/icons/music-ai-line.svg new file mode 100644 index 0000000000..0d92fb3708 --- /dev/null +++ b/web-dist/icons/music-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/music-fill.svg b/web-dist/icons/music-fill.svg new file mode 100644 index 0000000000..5442f79ea9 --- /dev/null +++ b/web-dist/icons/music-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/music-line.svg b/web-dist/icons/music-line.svg new file mode 100644 index 0000000000..3b7774ffc3 --- /dev/null +++ b/web-dist/icons/music-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mv-ai-fill.svg b/web-dist/icons/mv-ai-fill.svg new file mode 100644 index 0000000000..04cd023409 --- /dev/null +++ b/web-dist/icons/mv-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mv-ai-line.svg b/web-dist/icons/mv-ai-line.svg new file mode 100644 index 0000000000..5f0681349a --- /dev/null +++ b/web-dist/icons/mv-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mv-fill.svg b/web-dist/icons/mv-fill.svg new file mode 100644 index 0000000000..b041dc2bc3 --- /dev/null +++ b/web-dist/icons/mv-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/mv-line.svg b/web-dist/icons/mv-line.svg new file mode 100644 index 0000000000..cfc562f4ef --- /dev/null +++ b/web-dist/icons/mv-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/navigation-fill.svg b/web-dist/icons/navigation-fill.svg new file mode 100644 index 0000000000..1b42013d96 --- /dev/null +++ b/web-dist/icons/navigation-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/navigation-line.svg b/web-dist/icons/navigation-line.svg new file mode 100644 index 0000000000..a76e489a70 --- /dev/null +++ b/web-dist/icons/navigation-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/netease-cloud-music-fill.svg b/web-dist/icons/netease-cloud-music-fill.svg new file mode 100644 index 0000000000..32d677a222 --- /dev/null +++ b/web-dist/icons/netease-cloud-music-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/netease-cloud-music-line.svg b/web-dist/icons/netease-cloud-music-line.svg new file mode 100644 index 0000000000..0396cfbae0 --- /dev/null +++ b/web-dist/icons/netease-cloud-music-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/netflix-fill.svg b/web-dist/icons/netflix-fill.svg new file mode 100644 index 0000000000..23256a0b49 --- /dev/null +++ b/web-dist/icons/netflix-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/netflix-line.svg b/web-dist/icons/netflix-line.svg new file mode 100644 index 0000000000..7891730b59 --- /dev/null +++ b/web-dist/icons/netflix-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/news-fill.svg b/web-dist/icons/news-fill.svg new file mode 100644 index 0000000000..2e5e799100 --- /dev/null +++ b/web-dist/icons/news-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/news-line.svg b/web-dist/icons/news-line.svg new file mode 100644 index 0000000000..8508f0a598 --- /dev/null +++ b/web-dist/icons/news-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/newspaper-fill.svg b/web-dist/icons/newspaper-fill.svg new file mode 100644 index 0000000000..1a04cc8505 --- /dev/null +++ b/web-dist/icons/newspaper-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/newspaper-line.svg b/web-dist/icons/newspaper-line.svg new file mode 100644 index 0000000000..a471d63696 --- /dev/null +++ b/web-dist/icons/newspaper-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/nextjs-fill.svg b/web-dist/icons/nextjs-fill.svg new file mode 100644 index 0000000000..65689bc1bc --- /dev/null +++ b/web-dist/icons/nextjs-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/nextjs-line.svg b/web-dist/icons/nextjs-line.svg new file mode 100644 index 0000000000..0d8df51ee0 --- /dev/null +++ b/web-dist/icons/nextjs-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/nft-fill.svg b/web-dist/icons/nft-fill.svg new file mode 100644 index 0000000000..9ea0cefeb8 --- /dev/null +++ b/web-dist/icons/nft-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/nft-line.svg b/web-dist/icons/nft-line.svg new file mode 100644 index 0000000000..e05cb17e98 --- /dev/null +++ b/web-dist/icons/nft-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/no-credit-card-fill.svg b/web-dist/icons/no-credit-card-fill.svg new file mode 100644 index 0000000000..4ca418978f --- /dev/null +++ b/web-dist/icons/no-credit-card-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/no-credit-card-line.svg b/web-dist/icons/no-credit-card-line.svg new file mode 100644 index 0000000000..89186a4e51 --- /dev/null +++ b/web-dist/icons/no-credit-card-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/node-tree.svg b/web-dist/icons/node-tree.svg new file mode 100644 index 0000000000..8f61a722c4 --- /dev/null +++ b/web-dist/icons/node-tree.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/nodejs-fill.svg b/web-dist/icons/nodejs-fill.svg new file mode 100644 index 0000000000..9a91f6365f --- /dev/null +++ b/web-dist/icons/nodejs-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/nodejs-line.svg b/web-dist/icons/nodejs-line.svg new file mode 100644 index 0000000000..6c78fc902d --- /dev/null +++ b/web-dist/icons/nodejs-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-2-fill.svg b/web-dist/icons/notification-2-fill.svg new file mode 100644 index 0000000000..07fdfa4b05 --- /dev/null +++ b/web-dist/icons/notification-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-2-line.svg b/web-dist/icons/notification-2-line.svg new file mode 100644 index 0000000000..f9303b9d71 --- /dev/null +++ b/web-dist/icons/notification-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-3-fill.svg b/web-dist/icons/notification-3-fill.svg new file mode 100644 index 0000000000..bb28b96105 --- /dev/null +++ b/web-dist/icons/notification-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-3-line.svg b/web-dist/icons/notification-3-line.svg new file mode 100644 index 0000000000..c4d91a3445 --- /dev/null +++ b/web-dist/icons/notification-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-4-fill.svg b/web-dist/icons/notification-4-fill.svg new file mode 100644 index 0000000000..b319dc9c14 --- /dev/null +++ b/web-dist/icons/notification-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-4-line.svg b/web-dist/icons/notification-4-line.svg new file mode 100644 index 0000000000..49230e373f --- /dev/null +++ b/web-dist/icons/notification-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-badge-fill.svg b/web-dist/icons/notification-badge-fill.svg new file mode 100644 index 0000000000..238e23c915 --- /dev/null +++ b/web-dist/icons/notification-badge-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-badge-line.svg b/web-dist/icons/notification-badge-line.svg new file mode 100644 index 0000000000..2ebe688031 --- /dev/null +++ b/web-dist/icons/notification-badge-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-fill.svg b/web-dist/icons/notification-fill.svg new file mode 100644 index 0000000000..b68f171cd8 --- /dev/null +++ b/web-dist/icons/notification-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-line.svg b/web-dist/icons/notification-line.svg new file mode 100644 index 0000000000..eb2255b580 --- /dev/null +++ b/web-dist/icons/notification-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-off-fill.svg b/web-dist/icons/notification-off-fill.svg new file mode 100644 index 0000000000..519dd84ccc --- /dev/null +++ b/web-dist/icons/notification-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-off-line.svg b/web-dist/icons/notification-off-line.svg new file mode 100644 index 0000000000..d021ebdf57 --- /dev/null +++ b/web-dist/icons/notification-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-snooze-fill.svg b/web-dist/icons/notification-snooze-fill.svg new file mode 100644 index 0000000000..1ca5cb7958 --- /dev/null +++ b/web-dist/icons/notification-snooze-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notification-snooze-line.svg b/web-dist/icons/notification-snooze-line.svg new file mode 100644 index 0000000000..e61a9f0d08 --- /dev/null +++ b/web-dist/icons/notification-snooze-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notion-fill.svg b/web-dist/icons/notion-fill.svg new file mode 100644 index 0000000000..ed19117fa7 --- /dev/null +++ b/web-dist/icons/notion-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/notion-line.svg b/web-dist/icons/notion-line.svg new file mode 100644 index 0000000000..480e6f7432 --- /dev/null +++ b/web-dist/icons/notion-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/npmjs-fill.svg b/web-dist/icons/npmjs-fill.svg new file mode 100644 index 0000000000..7520001e64 --- /dev/null +++ b/web-dist/icons/npmjs-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/npmjs-line.svg b/web-dist/icons/npmjs-line.svg new file mode 100644 index 0000000000..7fe557c5c7 --- /dev/null +++ b/web-dist/icons/npmjs-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/number-0.svg b/web-dist/icons/number-0.svg new file mode 100644 index 0000000000..dcf0a11d39 --- /dev/null +++ b/web-dist/icons/number-0.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/number-1.svg b/web-dist/icons/number-1.svg new file mode 100644 index 0000000000..c939dbebbf --- /dev/null +++ b/web-dist/icons/number-1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/number-2.svg b/web-dist/icons/number-2.svg new file mode 100644 index 0000000000..2d11abae4b --- /dev/null +++ b/web-dist/icons/number-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/number-3.svg b/web-dist/icons/number-3.svg new file mode 100644 index 0000000000..58864e1ee6 --- /dev/null +++ b/web-dist/icons/number-3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/number-4.svg b/web-dist/icons/number-4.svg new file mode 100644 index 0000000000..fa48677b6a --- /dev/null +++ b/web-dist/icons/number-4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/number-5.svg b/web-dist/icons/number-5.svg new file mode 100644 index 0000000000..e636965918 --- /dev/null +++ b/web-dist/icons/number-5.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/number-6.svg b/web-dist/icons/number-6.svg new file mode 100644 index 0000000000..bc98657a14 --- /dev/null +++ b/web-dist/icons/number-6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/number-7.svg b/web-dist/icons/number-7.svg new file mode 100644 index 0000000000..5c4986388c --- /dev/null +++ b/web-dist/icons/number-7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/number-8.svg b/web-dist/icons/number-8.svg new file mode 100644 index 0000000000..176ca16ee4 --- /dev/null +++ b/web-dist/icons/number-8.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/number-9.svg b/web-dist/icons/number-9.svg new file mode 100644 index 0000000000..55436d2005 --- /dev/null +++ b/web-dist/icons/number-9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/numbers-fill.svg b/web-dist/icons/numbers-fill.svg new file mode 100644 index 0000000000..c42c1c0c3e --- /dev/null +++ b/web-dist/icons/numbers-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/numbers-line.svg b/web-dist/icons/numbers-line.svg new file mode 100644 index 0000000000..a60ea0f9c8 --- /dev/null +++ b/web-dist/icons/numbers-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/nurse-fill.svg b/web-dist/icons/nurse-fill.svg new file mode 100644 index 0000000000..4143f3fb0a --- /dev/null +++ b/web-dist/icons/nurse-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/nurse-line.svg b/web-dist/icons/nurse-line.svg new file mode 100644 index 0000000000..3c7419bc85 --- /dev/null +++ b/web-dist/icons/nurse-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/octagon-fill.svg b/web-dist/icons/octagon-fill.svg new file mode 100644 index 0000000000..e1260044f6 --- /dev/null +++ b/web-dist/icons/octagon-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/octagon-line.svg b/web-dist/icons/octagon-line.svg new file mode 100644 index 0000000000..8516024fdc --- /dev/null +++ b/web-dist/icons/octagon-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/oil-fill.svg b/web-dist/icons/oil-fill.svg new file mode 100644 index 0000000000..f0230e4238 --- /dev/null +++ b/web-dist/icons/oil-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/oil-line.svg b/web-dist/icons/oil-line.svg new file mode 100644 index 0000000000..acfb267d27 --- /dev/null +++ b/web-dist/icons/oil-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/omega.svg b/web-dist/icons/omega.svg new file mode 100644 index 0000000000..2126393445 --- /dev/null +++ b/web-dist/icons/omega.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/open-arm-fill.svg b/web-dist/icons/open-arm-fill.svg new file mode 100644 index 0000000000..d2cc609cf3 --- /dev/null +++ b/web-dist/icons/open-arm-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/open-arm-line.svg b/web-dist/icons/open-arm-line.svg new file mode 100644 index 0000000000..ad8099080a --- /dev/null +++ b/web-dist/icons/open-arm-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/open-source-fill.svg b/web-dist/icons/open-source-fill.svg new file mode 100644 index 0000000000..d39a39585c --- /dev/null +++ b/web-dist/icons/open-source-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/open-source-line.svg b/web-dist/icons/open-source-line.svg new file mode 100644 index 0000000000..626a02cdc6 --- /dev/null +++ b/web-dist/icons/open-source-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/openai-fill.svg b/web-dist/icons/openai-fill.svg new file mode 100644 index 0000000000..384e411ca0 --- /dev/null +++ b/web-dist/icons/openai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/openai-line.svg b/web-dist/icons/openai-line.svg new file mode 100644 index 0000000000..19d36326a0 --- /dev/null +++ b/web-dist/icons/openai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/openbase-fill.svg b/web-dist/icons/openbase-fill.svg new file mode 100644 index 0000000000..2658bd039e --- /dev/null +++ b/web-dist/icons/openbase-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/openbase-line.svg b/web-dist/icons/openbase-line.svg new file mode 100644 index 0000000000..38455b0c84 --- /dev/null +++ b/web-dist/icons/openbase-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/opera-fill.svg b/web-dist/icons/opera-fill.svg new file mode 100644 index 0000000000..e37e9f0b90 --- /dev/null +++ b/web-dist/icons/opera-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/opera-line.svg b/web-dist/icons/opera-line.svg new file mode 100644 index 0000000000..ba6bf181b2 --- /dev/null +++ b/web-dist/icons/opera-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/order-play-fill.svg b/web-dist/icons/order-play-fill.svg new file mode 100644 index 0000000000..6933e83563 --- /dev/null +++ b/web-dist/icons/order-play-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/order-play-line.svg b/web-dist/icons/order-play-line.svg new file mode 100644 index 0000000000..6933e83563 --- /dev/null +++ b/web-dist/icons/order-play-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/organization-chart.svg b/web-dist/icons/organization-chart.svg new file mode 100644 index 0000000000..c5bb71f044 --- /dev/null +++ b/web-dist/icons/organization-chart.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/outlet-2-fill.svg b/web-dist/icons/outlet-2-fill.svg new file mode 100644 index 0000000000..9a056e041b --- /dev/null +++ b/web-dist/icons/outlet-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/outlet-2-line.svg b/web-dist/icons/outlet-2-line.svg new file mode 100644 index 0000000000..35e550a114 --- /dev/null +++ b/web-dist/icons/outlet-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/outlet-fill.svg b/web-dist/icons/outlet-fill.svg new file mode 100644 index 0000000000..229d5e1a46 --- /dev/null +++ b/web-dist/icons/outlet-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/outlet-line.svg b/web-dist/icons/outlet-line.svg new file mode 100644 index 0000000000..987a23e1a3 --- /dev/null +++ b/web-dist/icons/outlet-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/overline.svg b/web-dist/icons/overline.svg new file mode 100644 index 0000000000..a2f3c79d31 --- /dev/null +++ b/web-dist/icons/overline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/p2p-fill.svg b/web-dist/icons/p2p-fill.svg new file mode 100644 index 0000000000..44682ad70b --- /dev/null +++ b/web-dist/icons/p2p-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/p2p-line.svg b/web-dist/icons/p2p-line.svg new file mode 100644 index 0000000000..bb4990cd4b --- /dev/null +++ b/web-dist/icons/p2p-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/page-separator.svg b/web-dist/icons/page-separator.svg new file mode 100644 index 0000000000..adcd67a110 --- /dev/null +++ b/web-dist/icons/page-separator.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pages-fill.svg b/web-dist/icons/pages-fill.svg new file mode 100644 index 0000000000..97cbdcf89d --- /dev/null +++ b/web-dist/icons/pages-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pages-line.svg b/web-dist/icons/pages-line.svg new file mode 100644 index 0000000000..2a44e18587 --- /dev/null +++ b/web-dist/icons/pages-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/paint-brush-fill.svg b/web-dist/icons/paint-brush-fill.svg new file mode 100644 index 0000000000..af420a470a --- /dev/null +++ b/web-dist/icons/paint-brush-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/paint-brush-line.svg b/web-dist/icons/paint-brush-line.svg new file mode 100644 index 0000000000..209f5314b7 --- /dev/null +++ b/web-dist/icons/paint-brush-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/paint-fill.svg b/web-dist/icons/paint-fill.svg new file mode 100644 index 0000000000..a0655ac84f --- /dev/null +++ b/web-dist/icons/paint-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/paint-line.svg b/web-dist/icons/paint-line.svg new file mode 100644 index 0000000000..426de638ab --- /dev/null +++ b/web-dist/icons/paint-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/palette-fill.svg b/web-dist/icons/palette-fill.svg new file mode 100644 index 0000000000..c364438882 --- /dev/null +++ b/web-dist/icons/palette-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/palette-line.svg b/web-dist/icons/palette-line.svg new file mode 100644 index 0000000000..119e1a45d5 --- /dev/null +++ b/web-dist/icons/palette-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pantone-fill.svg b/web-dist/icons/pantone-fill.svg new file mode 100644 index 0000000000..5d5709ffc3 --- /dev/null +++ b/web-dist/icons/pantone-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pantone-line.svg b/web-dist/icons/pantone-line.svg new file mode 100644 index 0000000000..a32c2b29cc --- /dev/null +++ b/web-dist/icons/pantone-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/paragraph.svg b/web-dist/icons/paragraph.svg new file mode 100644 index 0000000000..7f223765aa --- /dev/null +++ b/web-dist/icons/paragraph.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/parent-fill.svg b/web-dist/icons/parent-fill.svg new file mode 100644 index 0000000000..f8c2e9d4b9 --- /dev/null +++ b/web-dist/icons/parent-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/parent-line.svg b/web-dist/icons/parent-line.svg new file mode 100644 index 0000000000..c8c2e106e0 --- /dev/null +++ b/web-dist/icons/parent-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/parentheses-fill.svg b/web-dist/icons/parentheses-fill.svg new file mode 100644 index 0000000000..bc9bc05c91 --- /dev/null +++ b/web-dist/icons/parentheses-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/parentheses-line.svg b/web-dist/icons/parentheses-line.svg new file mode 100644 index 0000000000..bc9bc05c91 --- /dev/null +++ b/web-dist/icons/parentheses-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/parking-box-fill.svg b/web-dist/icons/parking-box-fill.svg new file mode 100644 index 0000000000..eb45430f04 --- /dev/null +++ b/web-dist/icons/parking-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/parking-box-line.svg b/web-dist/icons/parking-box-line.svg new file mode 100644 index 0000000000..de48c8cfa1 --- /dev/null +++ b/web-dist/icons/parking-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/parking-fill.svg b/web-dist/icons/parking-fill.svg new file mode 100644 index 0000000000..79034c5240 --- /dev/null +++ b/web-dist/icons/parking-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/parking-line.svg b/web-dist/icons/parking-line.svg new file mode 100644 index 0000000000..90f6feeae3 --- /dev/null +++ b/web-dist/icons/parking-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pass-expired-fill.svg b/web-dist/icons/pass-expired-fill.svg new file mode 100644 index 0000000000..838268bb95 --- /dev/null +++ b/web-dist/icons/pass-expired-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pass-expired-line.svg b/web-dist/icons/pass-expired-line.svg new file mode 100644 index 0000000000..7684e52e84 --- /dev/null +++ b/web-dist/icons/pass-expired-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pass-pending-fill.svg b/web-dist/icons/pass-pending-fill.svg new file mode 100644 index 0000000000..cd74ef4dd9 --- /dev/null +++ b/web-dist/icons/pass-pending-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pass-pending-line.svg b/web-dist/icons/pass-pending-line.svg new file mode 100644 index 0000000000..dac3dc9ee2 --- /dev/null +++ b/web-dist/icons/pass-pending-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pass-valid-fill.svg b/web-dist/icons/pass-valid-fill.svg new file mode 100644 index 0000000000..d5fbb293d2 --- /dev/null +++ b/web-dist/icons/pass-valid-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pass-valid-line.svg b/web-dist/icons/pass-valid-line.svg new file mode 100644 index 0000000000..0a388b370a --- /dev/null +++ b/web-dist/icons/pass-valid-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/passport-fill.svg b/web-dist/icons/passport-fill.svg new file mode 100644 index 0000000000..c84fbdb90f --- /dev/null +++ b/web-dist/icons/passport-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/passport-line.svg b/web-dist/icons/passport-line.svg new file mode 100644 index 0000000000..6fc167853b --- /dev/null +++ b/web-dist/icons/passport-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/patreon-fill.svg b/web-dist/icons/patreon-fill.svg new file mode 100644 index 0000000000..121938871f --- /dev/null +++ b/web-dist/icons/patreon-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/patreon-line.svg b/web-dist/icons/patreon-line.svg new file mode 100644 index 0000000000..9ab2f14880 --- /dev/null +++ b/web-dist/icons/patreon-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pause-circle-fill.svg b/web-dist/icons/pause-circle-fill.svg new file mode 100644 index 0000000000..27d0762d27 --- /dev/null +++ b/web-dist/icons/pause-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pause-circle-line.svg b/web-dist/icons/pause-circle-line.svg new file mode 100644 index 0000000000..102faab58b --- /dev/null +++ b/web-dist/icons/pause-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pause-fill.svg b/web-dist/icons/pause-fill.svg new file mode 100644 index 0000000000..3ac2f4748c --- /dev/null +++ b/web-dist/icons/pause-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pause-large-fill.svg b/web-dist/icons/pause-large-fill.svg new file mode 100644 index 0000000000..80f44be317 --- /dev/null +++ b/web-dist/icons/pause-large-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pause-large-line.svg b/web-dist/icons/pause-large-line.svg new file mode 100644 index 0000000000..80f44be317 --- /dev/null +++ b/web-dist/icons/pause-large-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pause-line.svg b/web-dist/icons/pause-line.svg new file mode 100644 index 0000000000..3ac2f4748c --- /dev/null +++ b/web-dist/icons/pause-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pause-mini-fill.svg b/web-dist/icons/pause-mini-fill.svg new file mode 100644 index 0000000000..8446798318 --- /dev/null +++ b/web-dist/icons/pause-mini-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pause-mini-line.svg b/web-dist/icons/pause-mini-line.svg new file mode 100644 index 0000000000..8446798318 --- /dev/null +++ b/web-dist/icons/pause-mini-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/paypal-fill.svg b/web-dist/icons/paypal-fill.svg new file mode 100644 index 0000000000..642d3b24dd --- /dev/null +++ b/web-dist/icons/paypal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/paypal-line.svg b/web-dist/icons/paypal-line.svg new file mode 100644 index 0000000000..d7aef27bac --- /dev/null +++ b/web-dist/icons/paypal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pen-nib-fill.svg b/web-dist/icons/pen-nib-fill.svg new file mode 100644 index 0000000000..6fe57ad212 --- /dev/null +++ b/web-dist/icons/pen-nib-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pen-nib-line.svg b/web-dist/icons/pen-nib-line.svg new file mode 100644 index 0000000000..e272263a1e --- /dev/null +++ b/web-dist/icons/pen-nib-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pencil-fill.svg b/web-dist/icons/pencil-fill.svg new file mode 100644 index 0000000000..d23a3f4997 --- /dev/null +++ b/web-dist/icons/pencil-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pencil-line.svg b/web-dist/icons/pencil-line.svg new file mode 100644 index 0000000000..379a5f4634 --- /dev/null +++ b/web-dist/icons/pencil-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pencil-ruler-2-fill.svg b/web-dist/icons/pencil-ruler-2-fill.svg new file mode 100644 index 0000000000..05cf8be02e --- /dev/null +++ b/web-dist/icons/pencil-ruler-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pencil-ruler-2-line.svg b/web-dist/icons/pencil-ruler-2-line.svg new file mode 100644 index 0000000000..6fae430ae0 --- /dev/null +++ b/web-dist/icons/pencil-ruler-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pencil-ruler-fill.svg b/web-dist/icons/pencil-ruler-fill.svg new file mode 100644 index 0000000000..f87a479039 --- /dev/null +++ b/web-dist/icons/pencil-ruler-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pencil-ruler-line.svg b/web-dist/icons/pencil-ruler-line.svg new file mode 100644 index 0000000000..b01ba53994 --- /dev/null +++ b/web-dist/icons/pencil-ruler-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pentagon-fill.svg b/web-dist/icons/pentagon-fill.svg new file mode 100644 index 0000000000..ba753f3f25 --- /dev/null +++ b/web-dist/icons/pentagon-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pentagon-line.svg b/web-dist/icons/pentagon-line.svg new file mode 100644 index 0000000000..4734a6ec2c --- /dev/null +++ b/web-dist/icons/pentagon-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/percent-fill.svg b/web-dist/icons/percent-fill.svg new file mode 100644 index 0000000000..42101b43b8 --- /dev/null +++ b/web-dist/icons/percent-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/percent-line.svg b/web-dist/icons/percent-line.svg new file mode 100644 index 0000000000..08a96c60b6 --- /dev/null +++ b/web-dist/icons/percent-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/perplexity-fill.svg b/web-dist/icons/perplexity-fill.svg new file mode 100644 index 0000000000..cd0582d795 --- /dev/null +++ b/web-dist/icons/perplexity-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/perplexity-line.svg b/web-dist/icons/perplexity-line.svg new file mode 100644 index 0000000000..2660940e33 --- /dev/null +++ b/web-dist/icons/perplexity-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/phone-camera-fill.svg b/web-dist/icons/phone-camera-fill.svg new file mode 100644 index 0000000000..b4384ba2e1 --- /dev/null +++ b/web-dist/icons/phone-camera-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/phone-camera-line.svg b/web-dist/icons/phone-camera-line.svg new file mode 100644 index 0000000000..7f527a86a6 --- /dev/null +++ b/web-dist/icons/phone-camera-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/phone-fill.svg b/web-dist/icons/phone-fill.svg new file mode 100644 index 0000000000..bafb5d0ec9 --- /dev/null +++ b/web-dist/icons/phone-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/phone-find-fill.svg b/web-dist/icons/phone-find-fill.svg new file mode 100644 index 0000000000..6de93d4976 --- /dev/null +++ b/web-dist/icons/phone-find-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/phone-find-line.svg b/web-dist/icons/phone-find-line.svg new file mode 100644 index 0000000000..9dfed0c34b --- /dev/null +++ b/web-dist/icons/phone-find-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/phone-line.svg b/web-dist/icons/phone-line.svg new file mode 100644 index 0000000000..5301d304e9 --- /dev/null +++ b/web-dist/icons/phone-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/phone-lock-fill.svg b/web-dist/icons/phone-lock-fill.svg new file mode 100644 index 0000000000..117c192f60 --- /dev/null +++ b/web-dist/icons/phone-lock-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/phone-lock-line.svg b/web-dist/icons/phone-lock-line.svg new file mode 100644 index 0000000000..525a17a3b7 --- /dev/null +++ b/web-dist/icons/phone-lock-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/php-fill.svg b/web-dist/icons/php-fill.svg new file mode 100644 index 0000000000..c87bd4e4fc --- /dev/null +++ b/web-dist/icons/php-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/php-line.svg b/web-dist/icons/php-line.svg new file mode 100644 index 0000000000..ef40e72300 --- /dev/null +++ b/web-dist/icons/php-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/picture-in-picture-2-fill.svg b/web-dist/icons/picture-in-picture-2-fill.svg new file mode 100644 index 0000000000..9a02b28e82 --- /dev/null +++ b/web-dist/icons/picture-in-picture-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/picture-in-picture-2-line.svg b/web-dist/icons/picture-in-picture-2-line.svg new file mode 100644 index 0000000000..d2f8b3fde2 --- /dev/null +++ b/web-dist/icons/picture-in-picture-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/picture-in-picture-exit-fill.svg b/web-dist/icons/picture-in-picture-exit-fill.svg new file mode 100644 index 0000000000..91c447815f --- /dev/null +++ b/web-dist/icons/picture-in-picture-exit-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/picture-in-picture-exit-line.svg b/web-dist/icons/picture-in-picture-exit-line.svg new file mode 100644 index 0000000000..b437185509 --- /dev/null +++ b/web-dist/icons/picture-in-picture-exit-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/picture-in-picture-fill.svg b/web-dist/icons/picture-in-picture-fill.svg new file mode 100644 index 0000000000..40e6eab3a6 --- /dev/null +++ b/web-dist/icons/picture-in-picture-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/picture-in-picture-line.svg b/web-dist/icons/picture-in-picture-line.svg new file mode 100644 index 0000000000..f55fa10d6a --- /dev/null +++ b/web-dist/icons/picture-in-picture-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pie-chart-2-fill.svg b/web-dist/icons/pie-chart-2-fill.svg new file mode 100644 index 0000000000..3029fc46e8 --- /dev/null +++ b/web-dist/icons/pie-chart-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pie-chart-2-line.svg b/web-dist/icons/pie-chart-2-line.svg new file mode 100644 index 0000000000..6eb096d2f3 --- /dev/null +++ b/web-dist/icons/pie-chart-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pie-chart-box-fill.svg b/web-dist/icons/pie-chart-box-fill.svg new file mode 100644 index 0000000000..f40702a205 --- /dev/null +++ b/web-dist/icons/pie-chart-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pie-chart-box-line.svg b/web-dist/icons/pie-chart-box-line.svg new file mode 100644 index 0000000000..613926c759 --- /dev/null +++ b/web-dist/icons/pie-chart-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pie-chart-fill.svg b/web-dist/icons/pie-chart-fill.svg new file mode 100644 index 0000000000..99914acde7 --- /dev/null +++ b/web-dist/icons/pie-chart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pie-chart-line.svg b/web-dist/icons/pie-chart-line.svg new file mode 100644 index 0000000000..05f745d3d6 --- /dev/null +++ b/web-dist/icons/pie-chart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pin-distance-fill.svg b/web-dist/icons/pin-distance-fill.svg new file mode 100644 index 0000000000..5edde06112 --- /dev/null +++ b/web-dist/icons/pin-distance-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pin-distance-line.svg b/web-dist/icons/pin-distance-line.svg new file mode 100644 index 0000000000..c4103ef9f3 --- /dev/null +++ b/web-dist/icons/pin-distance-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ping-pong-fill.svg b/web-dist/icons/ping-pong-fill.svg new file mode 100644 index 0000000000..a433060bc8 --- /dev/null +++ b/web-dist/icons/ping-pong-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ping-pong-line.svg b/web-dist/icons/ping-pong-line.svg new file mode 100644 index 0000000000..25b0f2ab00 --- /dev/null +++ b/web-dist/icons/ping-pong-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pinterest-fill.svg b/web-dist/icons/pinterest-fill.svg new file mode 100644 index 0000000000..0aef3fc92e --- /dev/null +++ b/web-dist/icons/pinterest-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pinterest-line.svg b/web-dist/icons/pinterest-line.svg new file mode 100644 index 0000000000..9b243cf4ea --- /dev/null +++ b/web-dist/icons/pinterest-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pinyin-input.svg b/web-dist/icons/pinyin-input.svg new file mode 100644 index 0000000000..86264c587b --- /dev/null +++ b/web-dist/icons/pinyin-input.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pix-fill.svg b/web-dist/icons/pix-fill.svg new file mode 100644 index 0000000000..09f7308442 --- /dev/null +++ b/web-dist/icons/pix-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pix-line.svg b/web-dist/icons/pix-line.svg new file mode 100644 index 0000000000..e631be847a --- /dev/null +++ b/web-dist/icons/pix-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pixelfed-fill.svg b/web-dist/icons/pixelfed-fill.svg new file mode 100644 index 0000000000..26a68624ee --- /dev/null +++ b/web-dist/icons/pixelfed-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pixelfed-line.svg b/web-dist/icons/pixelfed-line.svg new file mode 100644 index 0000000000..7beeb51870 --- /dev/null +++ b/web-dist/icons/pixelfed-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/plane-fill.svg b/web-dist/icons/plane-fill.svg new file mode 100644 index 0000000000..25c45c040a --- /dev/null +++ b/web-dist/icons/plane-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/plane-line.svg b/web-dist/icons/plane-line.svg new file mode 100644 index 0000000000..25c45c040a --- /dev/null +++ b/web-dist/icons/plane-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/planet-fill.svg b/web-dist/icons/planet-fill.svg new file mode 100644 index 0000000000..d6c000867a --- /dev/null +++ b/web-dist/icons/planet-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/planet-line.svg b/web-dist/icons/planet-line.svg new file mode 100644 index 0000000000..175dc4750e --- /dev/null +++ b/web-dist/icons/planet-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/plant-fill.svg b/web-dist/icons/plant-fill.svg new file mode 100644 index 0000000000..c8fcd3ab23 --- /dev/null +++ b/web-dist/icons/plant-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/plant-line.svg b/web-dist/icons/plant-line.svg new file mode 100644 index 0000000000..4cdf7c55d6 --- /dev/null +++ b/web-dist/icons/plant-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-circle-fill.svg b/web-dist/icons/play-circle-fill.svg new file mode 100644 index 0000000000..83900432bf --- /dev/null +++ b/web-dist/icons/play-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-circle-line.svg b/web-dist/icons/play-circle-line.svg new file mode 100644 index 0000000000..867bb681fb --- /dev/null +++ b/web-dist/icons/play-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-fill.svg b/web-dist/icons/play-fill.svg new file mode 100644 index 0000000000..e43aa26ba6 --- /dev/null +++ b/web-dist/icons/play-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-large-fill.svg b/web-dist/icons/play-large-fill.svg new file mode 100644 index 0000000000..85c30aedfa --- /dev/null +++ b/web-dist/icons/play-large-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-large-line.svg b/web-dist/icons/play-large-line.svg new file mode 100644 index 0000000000..c423dbb57a --- /dev/null +++ b/web-dist/icons/play-large-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-line.svg b/web-dist/icons/play-line.svg new file mode 100644 index 0000000000..4b95321c02 --- /dev/null +++ b/web-dist/icons/play-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-list-2-fill.svg b/web-dist/icons/play-list-2-fill.svg new file mode 100644 index 0000000000..7e931a7e44 --- /dev/null +++ b/web-dist/icons/play-list-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-list-2-line.svg b/web-dist/icons/play-list-2-line.svg new file mode 100644 index 0000000000..86ae37c87c --- /dev/null +++ b/web-dist/icons/play-list-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-list-add-fill.svg b/web-dist/icons/play-list-add-fill.svg new file mode 100644 index 0000000000..39d5cc9e05 --- /dev/null +++ b/web-dist/icons/play-list-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-list-add-line.svg b/web-dist/icons/play-list-add-line.svg new file mode 100644 index 0000000000..39d5cc9e05 --- /dev/null +++ b/web-dist/icons/play-list-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-list-fill.svg b/web-dist/icons/play-list-fill.svg new file mode 100644 index 0000000000..91a2e04dc4 --- /dev/null +++ b/web-dist/icons/play-list-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-list-line.svg b/web-dist/icons/play-list-line.svg new file mode 100644 index 0000000000..c2479dc9fd --- /dev/null +++ b/web-dist/icons/play-list-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-mini-fill.svg b/web-dist/icons/play-mini-fill.svg new file mode 100644 index 0000000000..040c787ccd --- /dev/null +++ b/web-dist/icons/play-mini-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-mini-line.svg b/web-dist/icons/play-mini-line.svg new file mode 100644 index 0000000000..19b1e21ae8 --- /dev/null +++ b/web-dist/icons/play-mini-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-reverse-fill.svg b/web-dist/icons/play-reverse-fill.svg new file mode 100644 index 0000000000..21afd464e5 --- /dev/null +++ b/web-dist/icons/play-reverse-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-reverse-large-fill.svg b/web-dist/icons/play-reverse-large-fill.svg new file mode 100644 index 0000000000..95d4dd2b60 --- /dev/null +++ b/web-dist/icons/play-reverse-large-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-reverse-large-line.svg b/web-dist/icons/play-reverse-large-line.svg new file mode 100644 index 0000000000..0cb6d29a88 --- /dev/null +++ b/web-dist/icons/play-reverse-large-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-reverse-line.svg b/web-dist/icons/play-reverse-line.svg new file mode 100644 index 0000000000..efd9560e2a --- /dev/null +++ b/web-dist/icons/play-reverse-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-reverse-mini-fill.svg b/web-dist/icons/play-reverse-mini-fill.svg new file mode 100644 index 0000000000..174ccdf14f --- /dev/null +++ b/web-dist/icons/play-reverse-mini-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/play-reverse-mini-line.svg b/web-dist/icons/play-reverse-mini-line.svg new file mode 100644 index 0000000000..0e8f9a4883 --- /dev/null +++ b/web-dist/icons/play-reverse-mini-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/playstation-fill.svg b/web-dist/icons/playstation-fill.svg new file mode 100644 index 0000000000..bab1c52bca --- /dev/null +++ b/web-dist/icons/playstation-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/playstation-line.svg b/web-dist/icons/playstation-line.svg new file mode 100644 index 0000000000..bab1c52bca --- /dev/null +++ b/web-dist/icons/playstation-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/plug-2-fill.svg b/web-dist/icons/plug-2-fill.svg new file mode 100644 index 0000000000..809cc3939f --- /dev/null +++ b/web-dist/icons/plug-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/plug-2-line.svg b/web-dist/icons/plug-2-line.svg new file mode 100644 index 0000000000..a7a83e5c7a --- /dev/null +++ b/web-dist/icons/plug-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/plug-fill.svg b/web-dist/icons/plug-fill.svg new file mode 100644 index 0000000000..2f0cb2c636 --- /dev/null +++ b/web-dist/icons/plug-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/plug-line.svg b/web-dist/icons/plug-line.svg new file mode 100644 index 0000000000..47eb633423 --- /dev/null +++ b/web-dist/icons/plug-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/poker-clubs-fill.svg b/web-dist/icons/poker-clubs-fill.svg new file mode 100644 index 0000000000..dc45edd754 --- /dev/null +++ b/web-dist/icons/poker-clubs-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/poker-clubs-line.svg b/web-dist/icons/poker-clubs-line.svg new file mode 100644 index 0000000000..cc4a914c37 --- /dev/null +++ b/web-dist/icons/poker-clubs-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/poker-diamonds-fill.svg b/web-dist/icons/poker-diamonds-fill.svg new file mode 100644 index 0000000000..77fffbb869 --- /dev/null +++ b/web-dist/icons/poker-diamonds-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/poker-diamonds-line.svg b/web-dist/icons/poker-diamonds-line.svg new file mode 100644 index 0000000000..f7e3de4c4a --- /dev/null +++ b/web-dist/icons/poker-diamonds-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/poker-hearts-fill.svg b/web-dist/icons/poker-hearts-fill.svg new file mode 100644 index 0000000000..19bffc2833 --- /dev/null +++ b/web-dist/icons/poker-hearts-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/poker-hearts-line.svg b/web-dist/icons/poker-hearts-line.svg new file mode 100644 index 0000000000..f85023fc68 --- /dev/null +++ b/web-dist/icons/poker-hearts-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/poker-spades-fill.svg b/web-dist/icons/poker-spades-fill.svg new file mode 100644 index 0000000000..8727d4acfc --- /dev/null +++ b/web-dist/icons/poker-spades-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/poker-spades-line.svg b/web-dist/icons/poker-spades-line.svg new file mode 100644 index 0000000000..972c9c2d6c --- /dev/null +++ b/web-dist/icons/poker-spades-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/polaroid-2-fill.svg b/web-dist/icons/polaroid-2-fill.svg new file mode 100644 index 0000000000..d5b144ab7e --- /dev/null +++ b/web-dist/icons/polaroid-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/polaroid-2-line.svg b/web-dist/icons/polaroid-2-line.svg new file mode 100644 index 0000000000..230128e7b8 --- /dev/null +++ b/web-dist/icons/polaroid-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/polaroid-fill.svg b/web-dist/icons/polaroid-fill.svg new file mode 100644 index 0000000000..be1b31ee83 --- /dev/null +++ b/web-dist/icons/polaroid-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/polaroid-line.svg b/web-dist/icons/polaroid-line.svg new file mode 100644 index 0000000000..329bc7b57e --- /dev/null +++ b/web-dist/icons/polaroid-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/police-badge-fill.svg b/web-dist/icons/police-badge-fill.svg new file mode 100644 index 0000000000..c8f2416f53 --- /dev/null +++ b/web-dist/icons/police-badge-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/police-badge-line.svg b/web-dist/icons/police-badge-line.svg new file mode 100644 index 0000000000..076e446d30 --- /dev/null +++ b/web-dist/icons/police-badge-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/police-car-fill.svg b/web-dist/icons/police-car-fill.svg new file mode 100644 index 0000000000..c8cf2dcd90 --- /dev/null +++ b/web-dist/icons/police-car-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/police-car-line.svg b/web-dist/icons/police-car-line.svg new file mode 100644 index 0000000000..f6cb1ea567 --- /dev/null +++ b/web-dist/icons/police-car-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/presentation-fill.svg b/web-dist/icons/presentation-fill.svg new file mode 100644 index 0000000000..9663222ba5 --- /dev/null +++ b/web-dist/icons/presentation-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/presentation-line.svg b/web-dist/icons/presentation-line.svg new file mode 100644 index 0000000000..f89fa806da --- /dev/null +++ b/web-dist/icons/presentation-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/price-tag-2-fill.svg b/web-dist/icons/price-tag-2-fill.svg new file mode 100644 index 0000000000..265876391e --- /dev/null +++ b/web-dist/icons/price-tag-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/price-tag-2-line.svg b/web-dist/icons/price-tag-2-line.svg new file mode 100644 index 0000000000..dcf67aab68 --- /dev/null +++ b/web-dist/icons/price-tag-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/price-tag-3-fill.svg b/web-dist/icons/price-tag-3-fill.svg new file mode 100644 index 0000000000..a31e90bd10 --- /dev/null +++ b/web-dist/icons/price-tag-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/price-tag-3-line.svg b/web-dist/icons/price-tag-3-line.svg new file mode 100644 index 0000000000..eac92161cf --- /dev/null +++ b/web-dist/icons/price-tag-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/price-tag-fill.svg b/web-dist/icons/price-tag-fill.svg new file mode 100644 index 0000000000..bc6c9774a4 --- /dev/null +++ b/web-dist/icons/price-tag-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/price-tag-line.svg b/web-dist/icons/price-tag-line.svg new file mode 100644 index 0000000000..a5aa24359a --- /dev/null +++ b/web-dist/icons/price-tag-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/printer-cloud-fill.svg b/web-dist/icons/printer-cloud-fill.svg new file mode 100644 index 0000000000..0538d7846b --- /dev/null +++ b/web-dist/icons/printer-cloud-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/printer-cloud-line.svg b/web-dist/icons/printer-cloud-line.svg new file mode 100644 index 0000000000..e4ae907f17 --- /dev/null +++ b/web-dist/icons/printer-cloud-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/printer-fill.svg b/web-dist/icons/printer-fill.svg new file mode 100644 index 0000000000..437e5fd7ee --- /dev/null +++ b/web-dist/icons/printer-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/printer-line.svg b/web-dist/icons/printer-line.svg new file mode 100644 index 0000000000..875e5a6072 --- /dev/null +++ b/web-dist/icons/printer-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/product-hunt-fill.svg b/web-dist/icons/product-hunt-fill.svg new file mode 100644 index 0000000000..6d4d1b1294 --- /dev/null +++ b/web-dist/icons/product-hunt-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/product-hunt-line.svg b/web-dist/icons/product-hunt-line.svg new file mode 100644 index 0000000000..b68fa8ddf6 --- /dev/null +++ b/web-dist/icons/product-hunt-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/profile-fill.svg b/web-dist/icons/profile-fill.svg new file mode 100644 index 0000000000..ee48e94f45 --- /dev/null +++ b/web-dist/icons/profile-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/profile-line.svg b/web-dist/icons/profile-line.svg new file mode 100644 index 0000000000..227cfdd620 --- /dev/null +++ b/web-dist/icons/profile-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-1-fill.svg b/web-dist/icons/progress-1-fill.svg new file mode 100644 index 0000000000..ae2cfd68ed --- /dev/null +++ b/web-dist/icons/progress-1-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-1-line.svg b/web-dist/icons/progress-1-line.svg new file mode 100644 index 0000000000..5948e26e67 --- /dev/null +++ b/web-dist/icons/progress-1-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-2-fill.svg b/web-dist/icons/progress-2-fill.svg new file mode 100644 index 0000000000..288a504582 --- /dev/null +++ b/web-dist/icons/progress-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-2-line.svg b/web-dist/icons/progress-2-line.svg new file mode 100644 index 0000000000..526f7dea83 --- /dev/null +++ b/web-dist/icons/progress-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-3-fill.svg b/web-dist/icons/progress-3-fill.svg new file mode 100644 index 0000000000..7821fe5bf4 --- /dev/null +++ b/web-dist/icons/progress-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-3-line.svg b/web-dist/icons/progress-3-line.svg new file mode 100644 index 0000000000..1dba352e44 --- /dev/null +++ b/web-dist/icons/progress-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-4-fill.svg b/web-dist/icons/progress-4-fill.svg new file mode 100644 index 0000000000..3b22d7ba69 --- /dev/null +++ b/web-dist/icons/progress-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-4-line.svg b/web-dist/icons/progress-4-line.svg new file mode 100644 index 0000000000..42881b27ac --- /dev/null +++ b/web-dist/icons/progress-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-5-fill.svg b/web-dist/icons/progress-5-fill.svg new file mode 100644 index 0000000000..ed55045de3 --- /dev/null +++ b/web-dist/icons/progress-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-5-line.svg b/web-dist/icons/progress-5-line.svg new file mode 100644 index 0000000000..97cc525e40 --- /dev/null +++ b/web-dist/icons/progress-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-6-fill.svg b/web-dist/icons/progress-6-fill.svg new file mode 100644 index 0000000000..f5556edcab --- /dev/null +++ b/web-dist/icons/progress-6-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-6-line.svg b/web-dist/icons/progress-6-line.svg new file mode 100644 index 0000000000..9b4534cfbd --- /dev/null +++ b/web-dist/icons/progress-6-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-7-fill.svg b/web-dist/icons/progress-7-fill.svg new file mode 100644 index 0000000000..4143181f93 --- /dev/null +++ b/web-dist/icons/progress-7-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-7-line.svg b/web-dist/icons/progress-7-line.svg new file mode 100644 index 0000000000..ca29b892f0 --- /dev/null +++ b/web-dist/icons/progress-7-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-8-fill.svg b/web-dist/icons/progress-8-fill.svg new file mode 100644 index 0000000000..252a168584 --- /dev/null +++ b/web-dist/icons/progress-8-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/progress-8-line.svg b/web-dist/icons/progress-8-line.svg new file mode 100644 index 0000000000..5853495f97 --- /dev/null +++ b/web-dist/icons/progress-8-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/prohibited-2-fill.svg b/web-dist/icons/prohibited-2-fill.svg new file mode 100644 index 0000000000..fbd02f5d44 --- /dev/null +++ b/web-dist/icons/prohibited-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/prohibited-2-line.svg b/web-dist/icons/prohibited-2-line.svg new file mode 100644 index 0000000000..2b79dc3c0d --- /dev/null +++ b/web-dist/icons/prohibited-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/prohibited-fill.svg b/web-dist/icons/prohibited-fill.svg new file mode 100644 index 0000000000..56ec305666 --- /dev/null +++ b/web-dist/icons/prohibited-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/prohibited-line.svg b/web-dist/icons/prohibited-line.svg new file mode 100644 index 0000000000..acc7e24cb4 --- /dev/null +++ b/web-dist/icons/prohibited-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/projector-2-fill.svg b/web-dist/icons/projector-2-fill.svg new file mode 100644 index 0000000000..62c5fd642e --- /dev/null +++ b/web-dist/icons/projector-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/projector-2-line.svg b/web-dist/icons/projector-2-line.svg new file mode 100644 index 0000000000..c3ea67e56d --- /dev/null +++ b/web-dist/icons/projector-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/projector-fill.svg b/web-dist/icons/projector-fill.svg new file mode 100644 index 0000000000..6abe6a185a --- /dev/null +++ b/web-dist/icons/projector-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/projector-line.svg b/web-dist/icons/projector-line.svg new file mode 100644 index 0000000000..6da1ac9bcd --- /dev/null +++ b/web-dist/icons/projector-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/psychotherapy-fill.svg b/web-dist/icons/psychotherapy-fill.svg new file mode 100644 index 0000000000..024004de12 --- /dev/null +++ b/web-dist/icons/psychotherapy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/psychotherapy-line.svg b/web-dist/icons/psychotherapy-line.svg new file mode 100644 index 0000000000..98ebf0c7c9 --- /dev/null +++ b/web-dist/icons/psychotherapy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pulse-ai-fill.svg b/web-dist/icons/pulse-ai-fill.svg new file mode 100644 index 0000000000..30546fef8a --- /dev/null +++ b/web-dist/icons/pulse-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pulse-ai-line.svg b/web-dist/icons/pulse-ai-line.svg new file mode 100644 index 0000000000..30546fef8a --- /dev/null +++ b/web-dist/icons/pulse-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pulse-fill.svg b/web-dist/icons/pulse-fill.svg new file mode 100644 index 0000000000..a064af1d55 --- /dev/null +++ b/web-dist/icons/pulse-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pulse-line.svg b/web-dist/icons/pulse-line.svg new file mode 100644 index 0000000000..a064af1d55 --- /dev/null +++ b/web-dist/icons/pulse-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pushpin-2-fill.svg b/web-dist/icons/pushpin-2-fill.svg new file mode 100644 index 0000000000..1aeb7d6397 --- /dev/null +++ b/web-dist/icons/pushpin-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pushpin-2-line.svg b/web-dist/icons/pushpin-2-line.svg new file mode 100644 index 0000000000..13ed2d70d4 --- /dev/null +++ b/web-dist/icons/pushpin-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pushpin-fill.svg b/web-dist/icons/pushpin-fill.svg new file mode 100644 index 0000000000..97271bd1a0 --- /dev/null +++ b/web-dist/icons/pushpin-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/pushpin-line.svg b/web-dist/icons/pushpin-line.svg new file mode 100644 index 0000000000..a435c1b933 --- /dev/null +++ b/web-dist/icons/pushpin-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/puzzle-2-fill.svg b/web-dist/icons/puzzle-2-fill.svg new file mode 100644 index 0000000000..97ef5b4714 --- /dev/null +++ b/web-dist/icons/puzzle-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/puzzle-2-line.svg b/web-dist/icons/puzzle-2-line.svg new file mode 100644 index 0000000000..c79715642c --- /dev/null +++ b/web-dist/icons/puzzle-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/puzzle-fill.svg b/web-dist/icons/puzzle-fill.svg new file mode 100644 index 0000000000..86f4e68cf5 --- /dev/null +++ b/web-dist/icons/puzzle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/puzzle-line.svg b/web-dist/icons/puzzle-line.svg new file mode 100644 index 0000000000..edbc7ea4ad --- /dev/null +++ b/web-dist/icons/puzzle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/qq-fill.svg b/web-dist/icons/qq-fill.svg new file mode 100644 index 0000000000..fd7dcc38ee --- /dev/null +++ b/web-dist/icons/qq-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/qq-line.svg b/web-dist/icons/qq-line.svg new file mode 100644 index 0000000000..d7994f16d3 --- /dev/null +++ b/web-dist/icons/qq-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/qr-code-fill.svg b/web-dist/icons/qr-code-fill.svg new file mode 100644 index 0000000000..6f129f2005 --- /dev/null +++ b/web-dist/icons/qr-code-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/qr-code-line.svg b/web-dist/icons/qr-code-line.svg new file mode 100644 index 0000000000..5dc57f0208 --- /dev/null +++ b/web-dist/icons/qr-code-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/qr-scan-2-fill.svg b/web-dist/icons/qr-scan-2-fill.svg new file mode 100644 index 0000000000..d134102af1 --- /dev/null +++ b/web-dist/icons/qr-scan-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/qr-scan-2-line.svg b/web-dist/icons/qr-scan-2-line.svg new file mode 100644 index 0000000000..dc33e66120 --- /dev/null +++ b/web-dist/icons/qr-scan-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/qr-scan-fill.svg b/web-dist/icons/qr-scan-fill.svg new file mode 100644 index 0000000000..3582f50fd5 --- /dev/null +++ b/web-dist/icons/qr-scan-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/qr-scan-line.svg b/web-dist/icons/qr-scan-line.svg new file mode 100644 index 0000000000..268896a463 --- /dev/null +++ b/web-dist/icons/qr-scan-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/question-answer-fill.svg b/web-dist/icons/question-answer-fill.svg new file mode 100644 index 0000000000..585d643dce --- /dev/null +++ b/web-dist/icons/question-answer-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/question-answer-line.svg b/web-dist/icons/question-answer-line.svg new file mode 100644 index 0000000000..27e4e22e9b --- /dev/null +++ b/web-dist/icons/question-answer-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/question-fill.svg b/web-dist/icons/question-fill.svg new file mode 100644 index 0000000000..3324223f95 --- /dev/null +++ b/web-dist/icons/question-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/question-line.svg b/web-dist/icons/question-line.svg new file mode 100644 index 0000000000..38e1d9ed57 --- /dev/null +++ b/web-dist/icons/question-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/question-mark.svg b/web-dist/icons/question-mark.svg new file mode 100644 index 0000000000..ded28e2d04 --- /dev/null +++ b/web-dist/icons/question-mark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/questionnaire-fill.svg b/web-dist/icons/questionnaire-fill.svg new file mode 100644 index 0000000000..a217a431f6 --- /dev/null +++ b/web-dist/icons/questionnaire-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/questionnaire-line.svg b/web-dist/icons/questionnaire-line.svg new file mode 100644 index 0000000000..414dc71708 --- /dev/null +++ b/web-dist/icons/questionnaire-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/quill-pen-ai-fill.svg b/web-dist/icons/quill-pen-ai-fill.svg new file mode 100644 index 0000000000..b0fe7db79d --- /dev/null +++ b/web-dist/icons/quill-pen-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/quill-pen-ai-line.svg b/web-dist/icons/quill-pen-ai-line.svg new file mode 100644 index 0000000000..8213088e2e --- /dev/null +++ b/web-dist/icons/quill-pen-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/quill-pen-fill.svg b/web-dist/icons/quill-pen-fill.svg new file mode 100644 index 0000000000..e68b4bf0a3 --- /dev/null +++ b/web-dist/icons/quill-pen-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/quill-pen-line.svg b/web-dist/icons/quill-pen-line.svg new file mode 100644 index 0000000000..07bf7e1e67 --- /dev/null +++ b/web-dist/icons/quill-pen-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/quote-text.svg b/web-dist/icons/quote-text.svg new file mode 100644 index 0000000000..364b16ffb3 --- /dev/null +++ b/web-dist/icons/quote-text.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/radar-fill.svg b/web-dist/icons/radar-fill.svg new file mode 100644 index 0000000000..cbe83df452 --- /dev/null +++ b/web-dist/icons/radar-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/radar-line.svg b/web-dist/icons/radar-line.svg new file mode 100644 index 0000000000..332dc8e267 --- /dev/null +++ b/web-dist/icons/radar-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/radio-2-fill.svg b/web-dist/icons/radio-2-fill.svg new file mode 100644 index 0000000000..9ec221728d --- /dev/null +++ b/web-dist/icons/radio-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/radio-2-line.svg b/web-dist/icons/radio-2-line.svg new file mode 100644 index 0000000000..f4c112701c --- /dev/null +++ b/web-dist/icons/radio-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/radio-button-fill.svg b/web-dist/icons/radio-button-fill.svg new file mode 100644 index 0000000000..b04c5b1c2e --- /dev/null +++ b/web-dist/icons/radio-button-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/radio-button-line.svg b/web-dist/icons/radio-button-line.svg new file mode 100644 index 0000000000..211641b04c --- /dev/null +++ b/web-dist/icons/radio-button-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/radio-fill.svg b/web-dist/icons/radio-fill.svg new file mode 100644 index 0000000000..bbce95f5ad --- /dev/null +++ b/web-dist/icons/radio-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/radio-line.svg b/web-dist/icons/radio-line.svg new file mode 100644 index 0000000000..b790f4b5df --- /dev/null +++ b/web-dist/icons/radio-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rainbow-fill.svg b/web-dist/icons/rainbow-fill.svg new file mode 100644 index 0000000000..e593ca7207 --- /dev/null +++ b/web-dist/icons/rainbow-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rainbow-line.svg b/web-dist/icons/rainbow-line.svg new file mode 100644 index 0000000000..500afb3e8a --- /dev/null +++ b/web-dist/icons/rainbow-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rainy-fill.svg b/web-dist/icons/rainy-fill.svg new file mode 100644 index 0000000000..888dc92cd2 --- /dev/null +++ b/web-dist/icons/rainy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rainy-line.svg b/web-dist/icons/rainy-line.svg new file mode 100644 index 0000000000..6f5eac41f9 --- /dev/null +++ b/web-dist/icons/rainy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ram-2-fill.svg b/web-dist/icons/ram-2-fill.svg new file mode 100644 index 0000000000..6aec6f9ffe --- /dev/null +++ b/web-dist/icons/ram-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ram-2-line.svg b/web-dist/icons/ram-2-line.svg new file mode 100644 index 0000000000..3ec96733e8 --- /dev/null +++ b/web-dist/icons/ram-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ram-fill.svg b/web-dist/icons/ram-fill.svg new file mode 100644 index 0000000000..0766307ace --- /dev/null +++ b/web-dist/icons/ram-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ram-line.svg b/web-dist/icons/ram-line.svg new file mode 100644 index 0000000000..11a73d9b79 --- /dev/null +++ b/web-dist/icons/ram-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reactjs-fill.svg b/web-dist/icons/reactjs-fill.svg new file mode 100644 index 0000000000..56be539864 --- /dev/null +++ b/web-dist/icons/reactjs-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reactjs-line.svg b/web-dist/icons/reactjs-line.svg new file mode 100644 index 0000000000..d89ff43a21 --- /dev/null +++ b/web-dist/icons/reactjs-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/receipt-fill.svg b/web-dist/icons/receipt-fill.svg new file mode 100644 index 0000000000..a81d826b80 --- /dev/null +++ b/web-dist/icons/receipt-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/receipt-line.svg b/web-dist/icons/receipt-line.svg new file mode 100644 index 0000000000..f7580ea787 --- /dev/null +++ b/web-dist/icons/receipt-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/record-circle-fill.svg b/web-dist/icons/record-circle-fill.svg new file mode 100644 index 0000000000..7eafebc46e --- /dev/null +++ b/web-dist/icons/record-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/record-circle-line.svg b/web-dist/icons/record-circle-line.svg new file mode 100644 index 0000000000..02ee4ded51 --- /dev/null +++ b/web-dist/icons/record-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/record-mail-fill.svg b/web-dist/icons/record-mail-fill.svg new file mode 100644 index 0000000000..3bb0ac5444 --- /dev/null +++ b/web-dist/icons/record-mail-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/record-mail-line.svg b/web-dist/icons/record-mail-line.svg new file mode 100644 index 0000000000..eb02398db5 --- /dev/null +++ b/web-dist/icons/record-mail-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rectangle-fill.svg b/web-dist/icons/rectangle-fill.svg new file mode 100644 index 0000000000..613eee92d8 --- /dev/null +++ b/web-dist/icons/rectangle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rectangle-line.svg b/web-dist/icons/rectangle-line.svg new file mode 100644 index 0000000000..6bf0a7b09a --- /dev/null +++ b/web-dist/icons/rectangle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/recycle-fill.svg b/web-dist/icons/recycle-fill.svg new file mode 100644 index 0000000000..23ffb601d4 --- /dev/null +++ b/web-dist/icons/recycle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/recycle-line.svg b/web-dist/icons/recycle-line.svg new file mode 100644 index 0000000000..1bd703d3e5 --- /dev/null +++ b/web-dist/icons/recycle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/red-packet-fill.svg b/web-dist/icons/red-packet-fill.svg new file mode 100644 index 0000000000..6d7b45f1a0 --- /dev/null +++ b/web-dist/icons/red-packet-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/red-packet-line.svg b/web-dist/icons/red-packet-line.svg new file mode 100644 index 0000000000..cb22a9103f --- /dev/null +++ b/web-dist/icons/red-packet-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reddit-fill.svg b/web-dist/icons/reddit-fill.svg new file mode 100644 index 0000000000..ea32a01c1b --- /dev/null +++ b/web-dist/icons/reddit-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reddit-line.svg b/web-dist/icons/reddit-line.svg new file mode 100644 index 0000000000..5ffd570ece --- /dev/null +++ b/web-dist/icons/reddit-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/refresh-fill.svg b/web-dist/icons/refresh-fill.svg new file mode 100644 index 0000000000..efb8014703 --- /dev/null +++ b/web-dist/icons/refresh-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/refresh-line.svg b/web-dist/icons/refresh-line.svg new file mode 100644 index 0000000000..7d0eda2ab4 --- /dev/null +++ b/web-dist/icons/refresh-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/refund-2-fill.svg b/web-dist/icons/refund-2-fill.svg new file mode 100644 index 0000000000..64658c456b --- /dev/null +++ b/web-dist/icons/refund-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/refund-2-line.svg b/web-dist/icons/refund-2-line.svg new file mode 100644 index 0000000000..6be733dd6a --- /dev/null +++ b/web-dist/icons/refund-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/refund-fill.svg b/web-dist/icons/refund-fill.svg new file mode 100644 index 0000000000..0366b48688 --- /dev/null +++ b/web-dist/icons/refund-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/refund-line.svg b/web-dist/icons/refund-line.svg new file mode 100644 index 0000000000..f3f1325eff --- /dev/null +++ b/web-dist/icons/refund-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/registered-fill.svg b/web-dist/icons/registered-fill.svg new file mode 100644 index 0000000000..4a379d9cff --- /dev/null +++ b/web-dist/icons/registered-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/registered-line.svg b/web-dist/icons/registered-line.svg new file mode 100644 index 0000000000..cc99cfa1b2 --- /dev/null +++ b/web-dist/icons/registered-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/remix-run-fill.svg b/web-dist/icons/remix-run-fill.svg new file mode 100644 index 0000000000..c0d3690c10 --- /dev/null +++ b/web-dist/icons/remix-run-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/remix-run-line.svg b/web-dist/icons/remix-run-line.svg new file mode 100644 index 0000000000..aa21b8d014 --- /dev/null +++ b/web-dist/icons/remix-run-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/remixicon-fill.svg b/web-dist/icons/remixicon-fill.svg new file mode 100644 index 0000000000..437f3f649f --- /dev/null +++ b/web-dist/icons/remixicon-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/remixicon-line.svg b/web-dist/icons/remixicon-line.svg new file mode 100644 index 0000000000..3e66912096 --- /dev/null +++ b/web-dist/icons/remixicon-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/remote-control-2-fill.svg b/web-dist/icons/remote-control-2-fill.svg new file mode 100644 index 0000000000..d6a124ecc1 --- /dev/null +++ b/web-dist/icons/remote-control-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/remote-control-2-line.svg b/web-dist/icons/remote-control-2-line.svg new file mode 100644 index 0000000000..8d48093b55 --- /dev/null +++ b/web-dist/icons/remote-control-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/remote-control-fill.svg b/web-dist/icons/remote-control-fill.svg new file mode 100644 index 0000000000..78b0d2ab4e --- /dev/null +++ b/web-dist/icons/remote-control-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/remote-control-line.svg b/web-dist/icons/remote-control-line.svg new file mode 100644 index 0000000000..eaca7f60bd --- /dev/null +++ b/web-dist/icons/remote-control-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/repeat-2-fill.svg b/web-dist/icons/repeat-2-fill.svg new file mode 100644 index 0000000000..f7745be371 --- /dev/null +++ b/web-dist/icons/repeat-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/repeat-2-line.svg b/web-dist/icons/repeat-2-line.svg new file mode 100644 index 0000000000..75951ebb09 --- /dev/null +++ b/web-dist/icons/repeat-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/repeat-fill.svg b/web-dist/icons/repeat-fill.svg new file mode 100644 index 0000000000..f58be14993 --- /dev/null +++ b/web-dist/icons/repeat-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/repeat-line.svg b/web-dist/icons/repeat-line.svg new file mode 100644 index 0000000000..f58be14993 --- /dev/null +++ b/web-dist/icons/repeat-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/repeat-one-fill.svg b/web-dist/icons/repeat-one-fill.svg new file mode 100644 index 0000000000..76b5108312 --- /dev/null +++ b/web-dist/icons/repeat-one-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/repeat-one-line.svg b/web-dist/icons/repeat-one-line.svg new file mode 100644 index 0000000000..dd7a4afc1a --- /dev/null +++ b/web-dist/icons/repeat-one-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/replay-10-fill.svg b/web-dist/icons/replay-10-fill.svg new file mode 100644 index 0000000000..c4dbda546a --- /dev/null +++ b/web-dist/icons/replay-10-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/replay-10-line.svg b/web-dist/icons/replay-10-line.svg new file mode 100644 index 0000000000..3b596844de --- /dev/null +++ b/web-dist/icons/replay-10-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/replay-15-fill.svg b/web-dist/icons/replay-15-fill.svg new file mode 100644 index 0000000000..d0c90d2cf0 --- /dev/null +++ b/web-dist/icons/replay-15-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/replay-15-line.svg b/web-dist/icons/replay-15-line.svg new file mode 100644 index 0000000000..90c74f41c7 --- /dev/null +++ b/web-dist/icons/replay-15-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/replay-30-fill.svg b/web-dist/icons/replay-30-fill.svg new file mode 100644 index 0000000000..a6daee7196 --- /dev/null +++ b/web-dist/icons/replay-30-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/replay-30-line.svg b/web-dist/icons/replay-30-line.svg new file mode 100644 index 0000000000..b5adcdf618 --- /dev/null +++ b/web-dist/icons/replay-30-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/replay-5-fill.svg b/web-dist/icons/replay-5-fill.svg new file mode 100644 index 0000000000..1f8a6d2d05 --- /dev/null +++ b/web-dist/icons/replay-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/replay-5-line.svg b/web-dist/icons/replay-5-line.svg new file mode 100644 index 0000000000..0ca24835e3 --- /dev/null +++ b/web-dist/icons/replay-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reply-all-fill.svg b/web-dist/icons/reply-all-fill.svg new file mode 100644 index 0000000000..3c3d8eb432 --- /dev/null +++ b/web-dist/icons/reply-all-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reply-all-line.svg b/web-dist/icons/reply-all-line.svg new file mode 100644 index 0000000000..52494e55a2 --- /dev/null +++ b/web-dist/icons/reply-all-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reply-fill.svg b/web-dist/icons/reply-fill.svg new file mode 100644 index 0000000000..5cb34bd8a2 --- /dev/null +++ b/web-dist/icons/reply-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reply-line.svg b/web-dist/icons/reply-line.svg new file mode 100644 index 0000000000..2161b151cb --- /dev/null +++ b/web-dist/icons/reply-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reserved-fill.svg b/web-dist/icons/reserved-fill.svg new file mode 100644 index 0000000000..29d1ccee7a --- /dev/null +++ b/web-dist/icons/reserved-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reserved-line.svg b/web-dist/icons/reserved-line.svg new file mode 100644 index 0000000000..fc08f28c64 --- /dev/null +++ b/web-dist/icons/reserved-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reset-left-fill.svg b/web-dist/icons/reset-left-fill.svg new file mode 100644 index 0000000000..189130fa0f --- /dev/null +++ b/web-dist/icons/reset-left-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reset-left-line.svg b/web-dist/icons/reset-left-line.svg new file mode 100644 index 0000000000..fd58168fc3 --- /dev/null +++ b/web-dist/icons/reset-left-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reset-right-fill.svg b/web-dist/icons/reset-right-fill.svg new file mode 100644 index 0000000000..f5b0dc42d7 --- /dev/null +++ b/web-dist/icons/reset-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/reset-right-line.svg b/web-dist/icons/reset-right-line.svg new file mode 100644 index 0000000000..d586a6d9b2 --- /dev/null +++ b/web-dist/icons/reset-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/resource-type-archive-fill.svg b/web-dist/icons/resource-type-archive-fill.svg new file mode 100644 index 0000000000..292e22dd81 --- /dev/null +++ b/web-dist/icons/resource-type-archive-fill.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web-dist/icons/resource-type-audio-fill.svg b/web-dist/icons/resource-type-audio-fill.svg new file mode 100644 index 0000000000..7fe53064df --- /dev/null +++ b/web-dist/icons/resource-type-audio-fill.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web-dist/icons/resource-type-board-fill.svg b/web-dist/icons/resource-type-board-fill.svg new file mode 100644 index 0000000000..ec376f4bba --- /dev/null +++ b/web-dist/icons/resource-type-board-fill.svg @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/web-dist/icons/resource-type-book-fill.svg b/web-dist/icons/resource-type-book-fill.svg new file mode 100644 index 0000000000..4b5e37df1a --- /dev/null +++ b/web-dist/icons/resource-type-book-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/resource-type-code-fill.svg b/web-dist/icons/resource-type-code-fill.svg new file mode 100644 index 0000000000..127a0d8303 --- /dev/null +++ b/web-dist/icons/resource-type-code-fill.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web-dist/icons/resource-type-document-fill.svg b/web-dist/icons/resource-type-document-fill.svg new file mode 100644 index 0000000000..054cd11d14 --- /dev/null +++ b/web-dist/icons/resource-type-document-fill.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web-dist/icons/resource-type-drawio-fill.svg b/web-dist/icons/resource-type-drawio-fill.svg new file mode 100644 index 0000000000..70dc149b07 --- /dev/null +++ b/web-dist/icons/resource-type-drawio-fill.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web-dist/icons/resource-type-file-fill.svg b/web-dist/icons/resource-type-file-fill.svg new file mode 100644 index 0000000000..64d71ea54b --- /dev/null +++ b/web-dist/icons/resource-type-file-fill.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web-dist/icons/resource-type-folder-fill.svg b/web-dist/icons/resource-type-folder-fill.svg new file mode 100644 index 0000000000..96b6fdff94 --- /dev/null +++ b/web-dist/icons/resource-type-folder-fill.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web-dist/icons/resource-type-form-fill.svg b/web-dist/icons/resource-type-form-fill.svg new file mode 100644 index 0000000000..f29685c1c0 --- /dev/null +++ b/web-dist/icons/resource-type-form-fill.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/web-dist/icons/resource-type-graphic-fill.svg b/web-dist/icons/resource-type-graphic-fill.svg new file mode 100644 index 0000000000..5956933316 --- /dev/null +++ b/web-dist/icons/resource-type-graphic-fill.svg @@ -0,0 +1,4 @@ + + + + diff --git a/web-dist/icons/resource-type-ifc-fill.svg b/web-dist/icons/resource-type-ifc-fill.svg new file mode 100644 index 0000000000..e9bb0330f2 --- /dev/null +++ b/web-dist/icons/resource-type-ifc-fill.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/web-dist/icons/resource-type-image-fill.svg b/web-dist/icons/resource-type-image-fill.svg new file mode 100644 index 0000000000..3d1fd0c5b0 --- /dev/null +++ b/web-dist/icons/resource-type-image-fill.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web-dist/icons/resource-type-jupyter-fill.svg b/web-dist/icons/resource-type-jupyter-fill.svg new file mode 100644 index 0000000000..de6cddaab6 --- /dev/null +++ b/web-dist/icons/resource-type-jupyter-fill.svg @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/web-dist/icons/resource-type-markdown-fill.svg b/web-dist/icons/resource-type-markdown-fill.svg new file mode 100644 index 0000000000..b4fcf0dddb --- /dev/null +++ b/web-dist/icons/resource-type-markdown-fill.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/web-dist/icons/resource-type-medical-fill.svg b/web-dist/icons/resource-type-medical-fill.svg new file mode 100644 index 0000000000..6fc4ce4763 --- /dev/null +++ b/web-dist/icons/resource-type-medical-fill.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web-dist/icons/resource-type-pdf-fill.svg b/web-dist/icons/resource-type-pdf-fill.svg new file mode 100644 index 0000000000..995620c76c --- /dev/null +++ b/web-dist/icons/resource-type-pdf-fill.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web-dist/icons/resource-type-presentation-fill.svg b/web-dist/icons/resource-type-presentation-fill.svg new file mode 100644 index 0000000000..0d13966573 --- /dev/null +++ b/web-dist/icons/resource-type-presentation-fill.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/web-dist/icons/resource-type-root-fill.svg b/web-dist/icons/resource-type-root-fill.svg new file mode 100644 index 0000000000..61b9c41cc8 --- /dev/null +++ b/web-dist/icons/resource-type-root-fill.svg @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/web-dist/icons/resource-type-spreadsheet-fill.svg b/web-dist/icons/resource-type-spreadsheet-fill.svg new file mode 100644 index 0000000000..19dd8de110 --- /dev/null +++ b/web-dist/icons/resource-type-spreadsheet-fill.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/web-dist/icons/resource-type-sticky-note-fill.svg b/web-dist/icons/resource-type-sticky-note-fill.svg new file mode 100644 index 0000000000..f7417e1430 --- /dev/null +++ b/web-dist/icons/resource-type-sticky-note-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/resource-type-text-fill.svg b/web-dist/icons/resource-type-text-fill.svg new file mode 100644 index 0000000000..e36061a3bc --- /dev/null +++ b/web-dist/icons/resource-type-text-fill.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web-dist/icons/resource-type-url-fill.svg b/web-dist/icons/resource-type-url-fill.svg new file mode 100644 index 0000000000..2efc62595c --- /dev/null +++ b/web-dist/icons/resource-type-url-fill.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web-dist/icons/resource-type-video-fill.svg b/web-dist/icons/resource-type-video-fill.svg new file mode 100644 index 0000000000..b1926d6f0e --- /dev/null +++ b/web-dist/icons/resource-type-video-fill.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web-dist/icons/rest-time-fill.svg b/web-dist/icons/rest-time-fill.svg new file mode 100644 index 0000000000..8db0dfa7bb --- /dev/null +++ b/web-dist/icons/rest-time-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rest-time-line.svg b/web-dist/icons/rest-time-line.svg new file mode 100644 index 0000000000..af813864d5 --- /dev/null +++ b/web-dist/icons/rest-time-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/restart-fill.svg b/web-dist/icons/restart-fill.svg new file mode 100644 index 0000000000..3d52aab3d9 --- /dev/null +++ b/web-dist/icons/restart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/restart-line.svg b/web-dist/icons/restart-line.svg new file mode 100644 index 0000000000..fa023357d4 --- /dev/null +++ b/web-dist/icons/restart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/restaurant-2-fill.svg b/web-dist/icons/restaurant-2-fill.svg new file mode 100644 index 0000000000..e85c0b5451 --- /dev/null +++ b/web-dist/icons/restaurant-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/restaurant-2-line.svg b/web-dist/icons/restaurant-2-line.svg new file mode 100644 index 0000000000..8bb7d58f2d --- /dev/null +++ b/web-dist/icons/restaurant-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/restaurant-fill.svg b/web-dist/icons/restaurant-fill.svg new file mode 100644 index 0000000000..c6219b5331 --- /dev/null +++ b/web-dist/icons/restaurant-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/restaurant-line.svg b/web-dist/icons/restaurant-line.svg new file mode 100644 index 0000000000..7516a44e0f --- /dev/null +++ b/web-dist/icons/restaurant-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rewind-fill.svg b/web-dist/icons/rewind-fill.svg new file mode 100644 index 0000000000..dba9f89fe2 --- /dev/null +++ b/web-dist/icons/rewind-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rewind-line.svg b/web-dist/icons/rewind-line.svg new file mode 100644 index 0000000000..879c0cc5e1 --- /dev/null +++ b/web-dist/icons/rewind-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rewind-mini-fill.svg b/web-dist/icons/rewind-mini-fill.svg new file mode 100644 index 0000000000..c021414d02 --- /dev/null +++ b/web-dist/icons/rewind-mini-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rewind-mini-line.svg b/web-dist/icons/rewind-mini-line.svg new file mode 100644 index 0000000000..4d2b88678f --- /dev/null +++ b/web-dist/icons/rewind-mini-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rewind-start-fill.svg b/web-dist/icons/rewind-start-fill.svg new file mode 100644 index 0000000000..a36180bfb3 --- /dev/null +++ b/web-dist/icons/rewind-start-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rewind-start-line.svg b/web-dist/icons/rewind-start-line.svg new file mode 100644 index 0000000000..9c78d3dc30 --- /dev/null +++ b/web-dist/icons/rewind-start-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rewind-start-mini-fill.svg b/web-dist/icons/rewind-start-mini-fill.svg new file mode 100644 index 0000000000..0737045104 --- /dev/null +++ b/web-dist/icons/rewind-start-mini-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rewind-start-mini-line.svg b/web-dist/icons/rewind-start-mini-line.svg new file mode 100644 index 0000000000..290d628adc --- /dev/null +++ b/web-dist/icons/rewind-start-mini-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rfid-fill.svg b/web-dist/icons/rfid-fill.svg new file mode 100644 index 0000000000..9f017d7d10 --- /dev/null +++ b/web-dist/icons/rfid-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rfid-line.svg b/web-dist/icons/rfid-line.svg new file mode 100644 index 0000000000..9f017d7d10 --- /dev/null +++ b/web-dist/icons/rfid-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rhythm-fill.svg b/web-dist/icons/rhythm-fill.svg new file mode 100644 index 0000000000..0bc8c4e9bb --- /dev/null +++ b/web-dist/icons/rhythm-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rhythm-line.svg b/web-dist/icons/rhythm-line.svg new file mode 100644 index 0000000000..0bc8c4e9bb --- /dev/null +++ b/web-dist/icons/rhythm-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/riding-fill.svg b/web-dist/icons/riding-fill.svg new file mode 100644 index 0000000000..b999f841e6 --- /dev/null +++ b/web-dist/icons/riding-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/riding-line.svg b/web-dist/icons/riding-line.svg new file mode 100644 index 0000000000..02546d419e --- /dev/null +++ b/web-dist/icons/riding-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/road-map-fill.svg b/web-dist/icons/road-map-fill.svg new file mode 100644 index 0000000000..93a48f9f45 --- /dev/null +++ b/web-dist/icons/road-map-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/road-map-line.svg b/web-dist/icons/road-map-line.svg new file mode 100644 index 0000000000..8973fbf33e --- /dev/null +++ b/web-dist/icons/road-map-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/roadster-fill.svg b/web-dist/icons/roadster-fill.svg new file mode 100644 index 0000000000..514c4c8c18 --- /dev/null +++ b/web-dist/icons/roadster-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/roadster-line.svg b/web-dist/icons/roadster-line.svg new file mode 100644 index 0000000000..c02e6b0636 --- /dev/null +++ b/web-dist/icons/roadster-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/robot-2-fill.svg b/web-dist/icons/robot-2-fill.svg new file mode 100644 index 0000000000..98965a2e1b --- /dev/null +++ b/web-dist/icons/robot-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/robot-2-line.svg b/web-dist/icons/robot-2-line.svg new file mode 100644 index 0000000000..b19c35b948 --- /dev/null +++ b/web-dist/icons/robot-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/robot-3-fill.svg b/web-dist/icons/robot-3-fill.svg new file mode 100644 index 0000000000..1bb15bcd4f --- /dev/null +++ b/web-dist/icons/robot-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/robot-3-line.svg b/web-dist/icons/robot-3-line.svg new file mode 100644 index 0000000000..1e6d64023e --- /dev/null +++ b/web-dist/icons/robot-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/robot-fill.svg b/web-dist/icons/robot-fill.svg new file mode 100644 index 0000000000..782fdd9487 --- /dev/null +++ b/web-dist/icons/robot-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/robot-line.svg b/web-dist/icons/robot-line.svg new file mode 100644 index 0000000000..9d3b6e0a3c --- /dev/null +++ b/web-dist/icons/robot-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rocket-2-fill.svg b/web-dist/icons/rocket-2-fill.svg new file mode 100644 index 0000000000..2f354ec685 --- /dev/null +++ b/web-dist/icons/rocket-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rocket-2-line.svg b/web-dist/icons/rocket-2-line.svg new file mode 100644 index 0000000000..624d06fb51 --- /dev/null +++ b/web-dist/icons/rocket-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rocket-fill.svg b/web-dist/icons/rocket-fill.svg new file mode 100644 index 0000000000..4645f684ad --- /dev/null +++ b/web-dist/icons/rocket-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rocket-line.svg b/web-dist/icons/rocket-line.svg new file mode 100644 index 0000000000..0f520f1819 --- /dev/null +++ b/web-dist/icons/rocket-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rotate-lock-fill.svg b/web-dist/icons/rotate-lock-fill.svg new file mode 100644 index 0000000000..6a2409b569 --- /dev/null +++ b/web-dist/icons/rotate-lock-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rotate-lock-line.svg b/web-dist/icons/rotate-lock-line.svg new file mode 100644 index 0000000000..26eae8880e --- /dev/null +++ b/web-dist/icons/rotate-lock-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rounded-corner.svg b/web-dist/icons/rounded-corner.svg new file mode 100644 index 0000000000..5d881acad7 --- /dev/null +++ b/web-dist/icons/rounded-corner.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/route-fill.svg b/web-dist/icons/route-fill.svg new file mode 100644 index 0000000000..bc8e51a210 --- /dev/null +++ b/web-dist/icons/route-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/route-line.svg b/web-dist/icons/route-line.svg new file mode 100644 index 0000000000..c74e6a635c --- /dev/null +++ b/web-dist/icons/route-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/router-fill.svg b/web-dist/icons/router-fill.svg new file mode 100644 index 0000000000..2fbcdcec12 --- /dev/null +++ b/web-dist/icons/router-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/router-line.svg b/web-dist/icons/router-line.svg new file mode 100644 index 0000000000..07724f8a4e --- /dev/null +++ b/web-dist/icons/router-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rss-fill.svg b/web-dist/icons/rss-fill.svg new file mode 100644 index 0000000000..dcc6230242 --- /dev/null +++ b/web-dist/icons/rss-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/rss-line.svg b/web-dist/icons/rss-line.svg new file mode 100644 index 0000000000..0b4cf590b7 --- /dev/null +++ b/web-dist/icons/rss-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ruler-2-fill.svg b/web-dist/icons/ruler-2-fill.svg new file mode 100644 index 0000000000..7a2e4cc74a --- /dev/null +++ b/web-dist/icons/ruler-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ruler-2-line.svg b/web-dist/icons/ruler-2-line.svg new file mode 100644 index 0000000000..9b77f448b6 --- /dev/null +++ b/web-dist/icons/ruler-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ruler-fill.svg b/web-dist/icons/ruler-fill.svg new file mode 100644 index 0000000000..6841762182 --- /dev/null +++ b/web-dist/icons/ruler-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ruler-line.svg b/web-dist/icons/ruler-line.svg new file mode 100644 index 0000000000..8b089c1bc0 --- /dev/null +++ b/web-dist/icons/ruler-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/run-fill.svg b/web-dist/icons/run-fill.svg new file mode 100644 index 0000000000..906d6f66fa --- /dev/null +++ b/web-dist/icons/run-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/run-line.svg b/web-dist/icons/run-line.svg new file mode 100644 index 0000000000..722a5b2d3b --- /dev/null +++ b/web-dist/icons/run-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/safari-fill.svg b/web-dist/icons/safari-fill.svg new file mode 100644 index 0000000000..17043052a4 --- /dev/null +++ b/web-dist/icons/safari-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/safari-line.svg b/web-dist/icons/safari-line.svg new file mode 100644 index 0000000000..99f9f237d9 --- /dev/null +++ b/web-dist/icons/safari-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/safe-2-fill.svg b/web-dist/icons/safe-2-fill.svg new file mode 100644 index 0000000000..52238a5643 --- /dev/null +++ b/web-dist/icons/safe-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/safe-2-line.svg b/web-dist/icons/safe-2-line.svg new file mode 100644 index 0000000000..540a9feded --- /dev/null +++ b/web-dist/icons/safe-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/safe-3-fill.svg b/web-dist/icons/safe-3-fill.svg new file mode 100644 index 0000000000..cddda77dd7 --- /dev/null +++ b/web-dist/icons/safe-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/safe-3-line.svg b/web-dist/icons/safe-3-line.svg new file mode 100644 index 0000000000..a47ce8c736 --- /dev/null +++ b/web-dist/icons/safe-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/safe-fill.svg b/web-dist/icons/safe-fill.svg new file mode 100644 index 0000000000..3b9b8745ca --- /dev/null +++ b/web-dist/icons/safe-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/safe-line.svg b/web-dist/icons/safe-line.svg new file mode 100644 index 0000000000..539aa0f64e --- /dev/null +++ b/web-dist/icons/safe-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sailboat-fill.svg b/web-dist/icons/sailboat-fill.svg new file mode 100644 index 0000000000..dcc9ca8188 --- /dev/null +++ b/web-dist/icons/sailboat-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sailboat-line.svg b/web-dist/icons/sailboat-line.svg new file mode 100644 index 0000000000..466306188d --- /dev/null +++ b/web-dist/icons/sailboat-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/save-2-fill.svg b/web-dist/icons/save-2-fill.svg new file mode 100644 index 0000000000..07e6adf194 --- /dev/null +++ b/web-dist/icons/save-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/save-2-line.svg b/web-dist/icons/save-2-line.svg new file mode 100644 index 0000000000..dfdbd35306 --- /dev/null +++ b/web-dist/icons/save-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/save-3-fill.svg b/web-dist/icons/save-3-fill.svg new file mode 100644 index 0000000000..54276e049c --- /dev/null +++ b/web-dist/icons/save-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/save-3-line.svg b/web-dist/icons/save-3-line.svg new file mode 100644 index 0000000000..1121e208f7 --- /dev/null +++ b/web-dist/icons/save-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/save-fill.svg b/web-dist/icons/save-fill.svg new file mode 100644 index 0000000000..705ee6222b --- /dev/null +++ b/web-dist/icons/save-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/save-line.svg b/web-dist/icons/save-line.svg new file mode 100644 index 0000000000..10e473ada1 --- /dev/null +++ b/web-dist/icons/save-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scales-2-fill.svg b/web-dist/icons/scales-2-fill.svg new file mode 100644 index 0000000000..c5f5862066 --- /dev/null +++ b/web-dist/icons/scales-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scales-2-line.svg b/web-dist/icons/scales-2-line.svg new file mode 100644 index 0000000000..7ad95254bc --- /dev/null +++ b/web-dist/icons/scales-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scales-3-fill.svg b/web-dist/icons/scales-3-fill.svg new file mode 100644 index 0000000000..e6b52cc67a --- /dev/null +++ b/web-dist/icons/scales-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scales-3-line.svg b/web-dist/icons/scales-3-line.svg new file mode 100644 index 0000000000..4f8e8e1fd8 --- /dev/null +++ b/web-dist/icons/scales-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scales-fill.svg b/web-dist/icons/scales-fill.svg new file mode 100644 index 0000000000..a76d095dfe --- /dev/null +++ b/web-dist/icons/scales-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scales-line.svg b/web-dist/icons/scales-line.svg new file mode 100644 index 0000000000..d7516b6507 --- /dev/null +++ b/web-dist/icons/scales-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scan-2-fill.svg b/web-dist/icons/scan-2-fill.svg new file mode 100644 index 0000000000..750ea8f0db --- /dev/null +++ b/web-dist/icons/scan-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scan-2-line.svg b/web-dist/icons/scan-2-line.svg new file mode 100644 index 0000000000..2491fdfde0 --- /dev/null +++ b/web-dist/icons/scan-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scan-fill.svg b/web-dist/icons/scan-fill.svg new file mode 100644 index 0000000000..344fec07dc --- /dev/null +++ b/web-dist/icons/scan-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scan-line.svg b/web-dist/icons/scan-line.svg new file mode 100644 index 0000000000..d00ae96d72 --- /dev/null +++ b/web-dist/icons/scan-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/school-fill.svg b/web-dist/icons/school-fill.svg new file mode 100644 index 0000000000..8e8237547a --- /dev/null +++ b/web-dist/icons/school-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/school-line.svg b/web-dist/icons/school-line.svg new file mode 100644 index 0000000000..965e381b1d --- /dev/null +++ b/web-dist/icons/school-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scissors-2-fill.svg b/web-dist/icons/scissors-2-fill.svg new file mode 100644 index 0000000000..b7863e09fc --- /dev/null +++ b/web-dist/icons/scissors-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scissors-2-line.svg b/web-dist/icons/scissors-2-line.svg new file mode 100644 index 0000000000..caf6512682 --- /dev/null +++ b/web-dist/icons/scissors-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scissors-cut-fill.svg b/web-dist/icons/scissors-cut-fill.svg new file mode 100644 index 0000000000..0689eceebf --- /dev/null +++ b/web-dist/icons/scissors-cut-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scissors-cut-line.svg b/web-dist/icons/scissors-cut-line.svg new file mode 100644 index 0000000000..444aef60a4 --- /dev/null +++ b/web-dist/icons/scissors-cut-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scissors-fill.svg b/web-dist/icons/scissors-fill.svg new file mode 100644 index 0000000000..1f63753c2f --- /dev/null +++ b/web-dist/icons/scissors-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scissors-line.svg b/web-dist/icons/scissors-line.svg new file mode 100644 index 0000000000..e0094a37fc --- /dev/null +++ b/web-dist/icons/scissors-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/screenshot-2-fill.svg b/web-dist/icons/screenshot-2-fill.svg new file mode 100644 index 0000000000..d15fa2cc89 --- /dev/null +++ b/web-dist/icons/screenshot-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/screenshot-2-line.svg b/web-dist/icons/screenshot-2-line.svg new file mode 100644 index 0000000000..a552ecb034 --- /dev/null +++ b/web-dist/icons/screenshot-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/screenshot-fill.svg b/web-dist/icons/screenshot-fill.svg new file mode 100644 index 0000000000..1ab77dfb83 --- /dev/null +++ b/web-dist/icons/screenshot-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/screenshot-line.svg b/web-dist/icons/screenshot-line.svg new file mode 100644 index 0000000000..36de5728ad --- /dev/null +++ b/web-dist/icons/screenshot-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scroll-to-bottom-fill.svg b/web-dist/icons/scroll-to-bottom-fill.svg new file mode 100644 index 0000000000..3e2bffb525 --- /dev/null +++ b/web-dist/icons/scroll-to-bottom-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/scroll-to-bottom-line.svg b/web-dist/icons/scroll-to-bottom-line.svg new file mode 100644 index 0000000000..d391170069 --- /dev/null +++ b/web-dist/icons/scroll-to-bottom-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sd-card-fill.svg b/web-dist/icons/sd-card-fill.svg new file mode 100644 index 0000000000..acccbe8127 --- /dev/null +++ b/web-dist/icons/sd-card-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sd-card-line.svg b/web-dist/icons/sd-card-line.svg new file mode 100644 index 0000000000..ebfd8aa86f --- /dev/null +++ b/web-dist/icons/sd-card-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sd-card-mini-fill.svg b/web-dist/icons/sd-card-mini-fill.svg new file mode 100644 index 0000000000..7ebd649318 --- /dev/null +++ b/web-dist/icons/sd-card-mini-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sd-card-mini-line.svg b/web-dist/icons/sd-card-mini-line.svg new file mode 100644 index 0000000000..0e068c5005 --- /dev/null +++ b/web-dist/icons/sd-card-mini-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/search-2-fill.svg b/web-dist/icons/search-2-fill.svg new file mode 100644 index 0000000000..0a56cdbc6f --- /dev/null +++ b/web-dist/icons/search-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/search-2-line.svg b/web-dist/icons/search-2-line.svg new file mode 100644 index 0000000000..32438e4c43 --- /dev/null +++ b/web-dist/icons/search-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/search-eye-fill.svg b/web-dist/icons/search-eye-fill.svg new file mode 100644 index 0000000000..2b007338cd --- /dev/null +++ b/web-dist/icons/search-eye-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/search-eye-line.svg b/web-dist/icons/search-eye-line.svg new file mode 100644 index 0000000000..995d146564 --- /dev/null +++ b/web-dist/icons/search-eye-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/search-fill.svg b/web-dist/icons/search-fill.svg new file mode 100644 index 0000000000..46a455e503 --- /dev/null +++ b/web-dist/icons/search-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/search-line.svg b/web-dist/icons/search-line.svg new file mode 100644 index 0000000000..42730968df --- /dev/null +++ b/web-dist/icons/search-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/secure-payment-fill.svg b/web-dist/icons/secure-payment-fill.svg new file mode 100644 index 0000000000..fabfec7828 --- /dev/null +++ b/web-dist/icons/secure-payment-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/secure-payment-line.svg b/web-dist/icons/secure-payment-line.svg new file mode 100644 index 0000000000..b46a7a5ec6 --- /dev/null +++ b/web-dist/icons/secure-payment-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/seedling-fill.svg b/web-dist/icons/seedling-fill.svg new file mode 100644 index 0000000000..6450e4e871 --- /dev/null +++ b/web-dist/icons/seedling-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/seedling-line.svg b/web-dist/icons/seedling-line.svg new file mode 100644 index 0000000000..a65ddcd874 --- /dev/null +++ b/web-dist/icons/seedling-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/send-backward.svg b/web-dist/icons/send-backward.svg new file mode 100644 index 0000000000..1b6a000390 --- /dev/null +++ b/web-dist/icons/send-backward.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/send-plane-2-fill.svg b/web-dist/icons/send-plane-2-fill.svg new file mode 100644 index 0000000000..e36d9e1ea8 --- /dev/null +++ b/web-dist/icons/send-plane-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/send-plane-2-line.svg b/web-dist/icons/send-plane-2-line.svg new file mode 100644 index 0000000000..26c7906ed4 --- /dev/null +++ b/web-dist/icons/send-plane-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/send-plane-fill.svg b/web-dist/icons/send-plane-fill.svg new file mode 100644 index 0000000000..7a3559df72 --- /dev/null +++ b/web-dist/icons/send-plane-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/send-plane-line.svg b/web-dist/icons/send-plane-line.svg new file mode 100644 index 0000000000..6f3731cbe0 --- /dev/null +++ b/web-dist/icons/send-plane-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/send-to-back.svg b/web-dist/icons/send-to-back.svg new file mode 100644 index 0000000000..7e56745969 --- /dev/null +++ b/web-dist/icons/send-to-back.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sensor-fill.svg b/web-dist/icons/sensor-fill.svg new file mode 100644 index 0000000000..4d09f13f5c --- /dev/null +++ b/web-dist/icons/sensor-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sensor-line.svg b/web-dist/icons/sensor-line.svg new file mode 100644 index 0000000000..caefbdaacd --- /dev/null +++ b/web-dist/icons/sensor-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/seo-fill.svg b/web-dist/icons/seo-fill.svg new file mode 100644 index 0000000000..6349519fed --- /dev/null +++ b/web-dist/icons/seo-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/seo-line.svg b/web-dist/icons/seo-line.svg new file mode 100644 index 0000000000..c6c1e927f0 --- /dev/null +++ b/web-dist/icons/seo-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/separator.svg b/web-dist/icons/separator.svg new file mode 100644 index 0000000000..36513355df --- /dev/null +++ b/web-dist/icons/separator.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/server-fill.svg b/web-dist/icons/server-fill.svg new file mode 100644 index 0000000000..fa24a52c47 --- /dev/null +++ b/web-dist/icons/server-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/server-line.svg b/web-dist/icons/server-line.svg new file mode 100644 index 0000000000..2611547cab --- /dev/null +++ b/web-dist/icons/server-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/service-bell-fill.svg b/web-dist/icons/service-bell-fill.svg new file mode 100644 index 0000000000..8a23971df1 --- /dev/null +++ b/web-dist/icons/service-bell-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/service-bell-line.svg b/web-dist/icons/service-bell-line.svg new file mode 100644 index 0000000000..82f7dea0d8 --- /dev/null +++ b/web-dist/icons/service-bell-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/service-fill.svg b/web-dist/icons/service-fill.svg new file mode 100644 index 0000000000..f3200d1e1d --- /dev/null +++ b/web-dist/icons/service-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/service-line.svg b/web-dist/icons/service-line.svg new file mode 100644 index 0000000000..3618cf8115 --- /dev/null +++ b/web-dist/icons/service-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/settings-2-fill.svg b/web-dist/icons/settings-2-fill.svg new file mode 100644 index 0000000000..db2cb69e15 --- /dev/null +++ b/web-dist/icons/settings-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/settings-2-line.svg b/web-dist/icons/settings-2-line.svg new file mode 100644 index 0000000000..c696413a3c --- /dev/null +++ b/web-dist/icons/settings-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/settings-3-fill.svg b/web-dist/icons/settings-3-fill.svg new file mode 100644 index 0000000000..4e73c078ab --- /dev/null +++ b/web-dist/icons/settings-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/settings-3-line.svg b/web-dist/icons/settings-3-line.svg new file mode 100644 index 0000000000..5b0c9fef29 --- /dev/null +++ b/web-dist/icons/settings-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/settings-4-fill.svg b/web-dist/icons/settings-4-fill.svg new file mode 100644 index 0000000000..4f910a9b00 --- /dev/null +++ b/web-dist/icons/settings-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/settings-4-line.svg b/web-dist/icons/settings-4-line.svg new file mode 100644 index 0000000000..2c582a3609 --- /dev/null +++ b/web-dist/icons/settings-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/settings-5-fill.svg b/web-dist/icons/settings-5-fill.svg new file mode 100644 index 0000000000..46e9e49a70 --- /dev/null +++ b/web-dist/icons/settings-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/settings-5-line.svg b/web-dist/icons/settings-5-line.svg new file mode 100644 index 0000000000..1a8bf2862f --- /dev/null +++ b/web-dist/icons/settings-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/settings-6-fill.svg b/web-dist/icons/settings-6-fill.svg new file mode 100644 index 0000000000..6bfa791ef1 --- /dev/null +++ b/web-dist/icons/settings-6-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/settings-6-line.svg b/web-dist/icons/settings-6-line.svg new file mode 100644 index 0000000000..9d499d2cc2 --- /dev/null +++ b/web-dist/icons/settings-6-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/settings-fill.svg b/web-dist/icons/settings-fill.svg new file mode 100644 index 0000000000..538b03a5f5 --- /dev/null +++ b/web-dist/icons/settings-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/settings-line.svg b/web-dist/icons/settings-line.svg new file mode 100644 index 0000000000..7703c6393a --- /dev/null +++ b/web-dist/icons/settings-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shadow-fill.svg b/web-dist/icons/shadow-fill.svg new file mode 100644 index 0000000000..945bd18f64 --- /dev/null +++ b/web-dist/icons/shadow-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shadow-line.svg b/web-dist/icons/shadow-line.svg new file mode 100644 index 0000000000..4550305e8e --- /dev/null +++ b/web-dist/icons/shadow-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shake-hands-fill.svg b/web-dist/icons/shake-hands-fill.svg new file mode 100644 index 0000000000..dd99b3748b --- /dev/null +++ b/web-dist/icons/shake-hands-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shake-hands-line.svg b/web-dist/icons/shake-hands-line.svg new file mode 100644 index 0000000000..96a85f30cd --- /dev/null +++ b/web-dist/icons/shake-hands-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shape-2-fill.svg b/web-dist/icons/shape-2-fill.svg new file mode 100644 index 0000000000..7dbaa601f2 --- /dev/null +++ b/web-dist/icons/shape-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shape-2-line.svg b/web-dist/icons/shape-2-line.svg new file mode 100644 index 0000000000..c2ccd0a7b8 --- /dev/null +++ b/web-dist/icons/shape-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shape-fill.svg b/web-dist/icons/shape-fill.svg new file mode 100644 index 0000000000..43a73ceec2 --- /dev/null +++ b/web-dist/icons/shape-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shape-line.svg b/web-dist/icons/shape-line.svg new file mode 100644 index 0000000000..804f4cbfdb --- /dev/null +++ b/web-dist/icons/shape-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shapes-fill.svg b/web-dist/icons/shapes-fill.svg new file mode 100644 index 0000000000..edfebec7a0 --- /dev/null +++ b/web-dist/icons/shapes-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shapes-line.svg b/web-dist/icons/shapes-line.svg new file mode 100644 index 0000000000..727652c879 --- /dev/null +++ b/web-dist/icons/shapes-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-2-fill.svg b/web-dist/icons/share-2-fill.svg new file mode 100644 index 0000000000..686d62a872 --- /dev/null +++ b/web-dist/icons/share-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-2-line.svg b/web-dist/icons/share-2-line.svg new file mode 100644 index 0000000000..7b26225ed7 --- /dev/null +++ b/web-dist/icons/share-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-box-fill.svg b/web-dist/icons/share-box-fill.svg new file mode 100644 index 0000000000..f0d0bf82bf --- /dev/null +++ b/web-dist/icons/share-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-box-line.svg b/web-dist/icons/share-box-line.svg new file mode 100644 index 0000000000..85d7d31eaf --- /dev/null +++ b/web-dist/icons/share-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-circle-fill.svg b/web-dist/icons/share-circle-fill.svg new file mode 100644 index 0000000000..3923cafe85 --- /dev/null +++ b/web-dist/icons/share-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-circle-line.svg b/web-dist/icons/share-circle-line.svg new file mode 100644 index 0000000000..0b7f50fb62 --- /dev/null +++ b/web-dist/icons/share-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-fill.svg b/web-dist/icons/share-fill.svg new file mode 100644 index 0000000000..312cdb12e2 --- /dev/null +++ b/web-dist/icons/share-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-forward-2-fill.svg b/web-dist/icons/share-forward-2-fill.svg new file mode 100644 index 0000000000..4a042a0fd3 --- /dev/null +++ b/web-dist/icons/share-forward-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-forward-2-line.svg b/web-dist/icons/share-forward-2-line.svg new file mode 100644 index 0000000000..3db50488e4 --- /dev/null +++ b/web-dist/icons/share-forward-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-forward-box-fill.svg b/web-dist/icons/share-forward-box-fill.svg new file mode 100644 index 0000000000..af045c7b64 --- /dev/null +++ b/web-dist/icons/share-forward-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-forward-box-line.svg b/web-dist/icons/share-forward-box-line.svg new file mode 100644 index 0000000000..a2e37bb7a2 --- /dev/null +++ b/web-dist/icons/share-forward-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-forward-fill.svg b/web-dist/icons/share-forward-fill.svg new file mode 100644 index 0000000000..fe530a7833 --- /dev/null +++ b/web-dist/icons/share-forward-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-forward-line.svg b/web-dist/icons/share-forward-line.svg new file mode 100644 index 0000000000..8d9bc894cf --- /dev/null +++ b/web-dist/icons/share-forward-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/share-line.svg b/web-dist/icons/share-line.svg new file mode 100644 index 0000000000..c6b0fbdb45 --- /dev/null +++ b/web-dist/icons/share-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-check-fill.svg b/web-dist/icons/shield-check-fill.svg new file mode 100644 index 0000000000..97be921451 --- /dev/null +++ b/web-dist/icons/shield-check-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-check-line.svg b/web-dist/icons/shield-check-line.svg new file mode 100644 index 0000000000..acd85cf94c --- /dev/null +++ b/web-dist/icons/shield-check-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-cross-fill.svg b/web-dist/icons/shield-cross-fill.svg new file mode 100644 index 0000000000..87a1d2f867 --- /dev/null +++ b/web-dist/icons/shield-cross-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-cross-line.svg b/web-dist/icons/shield-cross-line.svg new file mode 100644 index 0000000000..27801de2b7 --- /dev/null +++ b/web-dist/icons/shield-cross-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-fill.svg b/web-dist/icons/shield-fill.svg new file mode 100644 index 0000000000..b426773d7d --- /dev/null +++ b/web-dist/icons/shield-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-flash-fill.svg b/web-dist/icons/shield-flash-fill.svg new file mode 100644 index 0000000000..f64ed6e6bf --- /dev/null +++ b/web-dist/icons/shield-flash-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-flash-line.svg b/web-dist/icons/shield-flash-line.svg new file mode 100644 index 0000000000..254ec0a93e --- /dev/null +++ b/web-dist/icons/shield-flash-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-keyhole-fill.svg b/web-dist/icons/shield-keyhole-fill.svg new file mode 100644 index 0000000000..45b98051ec --- /dev/null +++ b/web-dist/icons/shield-keyhole-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-keyhole-line.svg b/web-dist/icons/shield-keyhole-line.svg new file mode 100644 index 0000000000..0827c2b9f8 --- /dev/null +++ b/web-dist/icons/shield-keyhole-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-line.svg b/web-dist/icons/shield-line.svg new file mode 100644 index 0000000000..dcc59cbe50 --- /dev/null +++ b/web-dist/icons/shield-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-star-fill.svg b/web-dist/icons/shield-star-fill.svg new file mode 100644 index 0000000000..497fa6bf68 --- /dev/null +++ b/web-dist/icons/shield-star-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-star-line.svg b/web-dist/icons/shield-star-line.svg new file mode 100644 index 0000000000..2a2e9164d2 --- /dev/null +++ b/web-dist/icons/shield-star-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-user-fill.svg b/web-dist/icons/shield-user-fill.svg new file mode 100644 index 0000000000..63532fbfd4 --- /dev/null +++ b/web-dist/icons/shield-user-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shield-user-line.svg b/web-dist/icons/shield-user-line.svg new file mode 100644 index 0000000000..280ac3b2f6 --- /dev/null +++ b/web-dist/icons/shield-user-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shining-2-fill.svg b/web-dist/icons/shining-2-fill.svg new file mode 100644 index 0000000000..f107123914 --- /dev/null +++ b/web-dist/icons/shining-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shining-2-line.svg b/web-dist/icons/shining-2-line.svg new file mode 100644 index 0000000000..8ee23b0ec0 --- /dev/null +++ b/web-dist/icons/shining-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shining-fill.svg b/web-dist/icons/shining-fill.svg new file mode 100644 index 0000000000..5fa9f8724a --- /dev/null +++ b/web-dist/icons/shining-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shining-line.svg b/web-dist/icons/shining-line.svg new file mode 100644 index 0000000000..9e61c654b5 --- /dev/null +++ b/web-dist/icons/shining-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ship-2-fill.svg b/web-dist/icons/ship-2-fill.svg new file mode 100644 index 0000000000..df3d4f0ba4 --- /dev/null +++ b/web-dist/icons/ship-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ship-2-line.svg b/web-dist/icons/ship-2-line.svg new file mode 100644 index 0000000000..f50647a753 --- /dev/null +++ b/web-dist/icons/ship-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ship-fill.svg b/web-dist/icons/ship-fill.svg new file mode 100644 index 0000000000..64114bff5a --- /dev/null +++ b/web-dist/icons/ship-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ship-line.svg b/web-dist/icons/ship-line.svg new file mode 100644 index 0000000000..dcddeeceb0 --- /dev/null +++ b/web-dist/icons/ship-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shirt-fill.svg b/web-dist/icons/shirt-fill.svg new file mode 100644 index 0000000000..7d0fbaf8ed --- /dev/null +++ b/web-dist/icons/shirt-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shirt-line.svg b/web-dist/icons/shirt-line.svg new file mode 100644 index 0000000000..68359f2446 --- /dev/null +++ b/web-dist/icons/shirt-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-bag-2-fill.svg b/web-dist/icons/shopping-bag-2-fill.svg new file mode 100644 index 0000000000..1d718cdb8d --- /dev/null +++ b/web-dist/icons/shopping-bag-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-bag-2-line.svg b/web-dist/icons/shopping-bag-2-line.svg new file mode 100644 index 0000000000..a1ee65cd2b --- /dev/null +++ b/web-dist/icons/shopping-bag-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-bag-3-fill.svg b/web-dist/icons/shopping-bag-3-fill.svg new file mode 100644 index 0000000000..10ad5cdb47 --- /dev/null +++ b/web-dist/icons/shopping-bag-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-bag-3-line.svg b/web-dist/icons/shopping-bag-3-line.svg new file mode 100644 index 0000000000..39d63cfc46 --- /dev/null +++ b/web-dist/icons/shopping-bag-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-bag-4-fill.svg b/web-dist/icons/shopping-bag-4-fill.svg new file mode 100644 index 0000000000..6605461a02 --- /dev/null +++ b/web-dist/icons/shopping-bag-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-bag-4-line.svg b/web-dist/icons/shopping-bag-4-line.svg new file mode 100644 index 0000000000..f7b2854af9 --- /dev/null +++ b/web-dist/icons/shopping-bag-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-bag-fill.svg b/web-dist/icons/shopping-bag-fill.svg new file mode 100644 index 0000000000..c72ca81c95 --- /dev/null +++ b/web-dist/icons/shopping-bag-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-bag-line.svg b/web-dist/icons/shopping-bag-line.svg new file mode 100644 index 0000000000..ed2f116090 --- /dev/null +++ b/web-dist/icons/shopping-bag-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-basket-2-fill.svg b/web-dist/icons/shopping-basket-2-fill.svg new file mode 100644 index 0000000000..52a726d2f0 --- /dev/null +++ b/web-dist/icons/shopping-basket-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-basket-2-line.svg b/web-dist/icons/shopping-basket-2-line.svg new file mode 100644 index 0000000000..5b1bcfc3be --- /dev/null +++ b/web-dist/icons/shopping-basket-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-basket-fill.svg b/web-dist/icons/shopping-basket-fill.svg new file mode 100644 index 0000000000..4d53a94f9d --- /dev/null +++ b/web-dist/icons/shopping-basket-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-basket-line.svg b/web-dist/icons/shopping-basket-line.svg new file mode 100644 index 0000000000..02b1f659fd --- /dev/null +++ b/web-dist/icons/shopping-basket-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-cart-2-fill.svg b/web-dist/icons/shopping-cart-2-fill.svg new file mode 100644 index 0000000000..4dbcf4ba01 --- /dev/null +++ b/web-dist/icons/shopping-cart-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-cart-2-line.svg b/web-dist/icons/shopping-cart-2-line.svg new file mode 100644 index 0000000000..08aabaa99f --- /dev/null +++ b/web-dist/icons/shopping-cart-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-cart-fill.svg b/web-dist/icons/shopping-cart-fill.svg new file mode 100644 index 0000000000..fbd9f544f9 --- /dev/null +++ b/web-dist/icons/shopping-cart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shopping-cart-line.svg b/web-dist/icons/shopping-cart-line.svg new file mode 100644 index 0000000000..b3f1dce193 --- /dev/null +++ b/web-dist/icons/shopping-cart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/showers-fill.svg b/web-dist/icons/showers-fill.svg new file mode 100644 index 0000000000..3ead55ca37 --- /dev/null +++ b/web-dist/icons/showers-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/showers-line.svg b/web-dist/icons/showers-line.svg new file mode 100644 index 0000000000..3c4675b480 --- /dev/null +++ b/web-dist/icons/showers-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shuffle-fill.svg b/web-dist/icons/shuffle-fill.svg new file mode 100644 index 0000000000..62702fcc00 --- /dev/null +++ b/web-dist/icons/shuffle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shuffle-line.svg b/web-dist/icons/shuffle-line.svg new file mode 100644 index 0000000000..62702fcc00 --- /dev/null +++ b/web-dist/icons/shuffle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shut-down-fill.svg b/web-dist/icons/shut-down-fill.svg new file mode 100644 index 0000000000..110d81d3c4 --- /dev/null +++ b/web-dist/icons/shut-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/shut-down-line.svg b/web-dist/icons/shut-down-line.svg new file mode 100644 index 0000000000..4a9b82fe59 --- /dev/null +++ b/web-dist/icons/shut-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/side-bar-fill.svg b/web-dist/icons/side-bar-fill.svg new file mode 100644 index 0000000000..0a0b2ffc49 --- /dev/null +++ b/web-dist/icons/side-bar-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/side-bar-line.svg b/web-dist/icons/side-bar-line.svg new file mode 100644 index 0000000000..927ae12350 --- /dev/null +++ b/web-dist/icons/side-bar-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/side-bar-right-fill.svg b/web-dist/icons/side-bar-right-fill.svg new file mode 100644 index 0000000000..799ea16998 --- /dev/null +++ b/web-dist/icons/side-bar-right-fill.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web-dist/icons/side-bar-right-line.svg b/web-dist/icons/side-bar-right-line.svg new file mode 100644 index 0000000000..5b10d86912 --- /dev/null +++ b/web-dist/icons/side-bar-right-line.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/web-dist/icons/sidebar-fold-fill.svg b/web-dist/icons/sidebar-fold-fill.svg new file mode 100644 index 0000000000..cb7cf77524 --- /dev/null +++ b/web-dist/icons/sidebar-fold-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sidebar-fold-line.svg b/web-dist/icons/sidebar-fold-line.svg new file mode 100644 index 0000000000..5b4d482577 --- /dev/null +++ b/web-dist/icons/sidebar-fold-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sidebar-unfold-fill.svg b/web-dist/icons/sidebar-unfold-fill.svg new file mode 100644 index 0000000000..0cf42cef78 --- /dev/null +++ b/web-dist/icons/sidebar-unfold-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sidebar-unfold-line.svg b/web-dist/icons/sidebar-unfold-line.svg new file mode 100644 index 0000000000..8b1a717ef0 --- /dev/null +++ b/web-dist/icons/sidebar-unfold-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-tower-fill.svg b/web-dist/icons/signal-tower-fill.svg new file mode 100644 index 0000000000..26a4498fa8 --- /dev/null +++ b/web-dist/icons/signal-tower-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-tower-line.svg b/web-dist/icons/signal-tower-line.svg new file mode 100644 index 0000000000..ace7ec232b --- /dev/null +++ b/web-dist/icons/signal-tower-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-wifi-1-fill.svg b/web-dist/icons/signal-wifi-1-fill.svg new file mode 100644 index 0000000000..9cf0d9815d --- /dev/null +++ b/web-dist/icons/signal-wifi-1-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-wifi-1-line.svg b/web-dist/icons/signal-wifi-1-line.svg new file mode 100644 index 0000000000..8e4472e25c --- /dev/null +++ b/web-dist/icons/signal-wifi-1-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-wifi-2-fill.svg b/web-dist/icons/signal-wifi-2-fill.svg new file mode 100644 index 0000000000..1e3f2f49be --- /dev/null +++ b/web-dist/icons/signal-wifi-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-wifi-2-line.svg b/web-dist/icons/signal-wifi-2-line.svg new file mode 100644 index 0000000000..211e78a286 --- /dev/null +++ b/web-dist/icons/signal-wifi-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-wifi-3-fill.svg b/web-dist/icons/signal-wifi-3-fill.svg new file mode 100644 index 0000000000..a69698e0dd --- /dev/null +++ b/web-dist/icons/signal-wifi-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-wifi-3-line.svg b/web-dist/icons/signal-wifi-3-line.svg new file mode 100644 index 0000000000..c874a72ecd --- /dev/null +++ b/web-dist/icons/signal-wifi-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-wifi-error-fill.svg b/web-dist/icons/signal-wifi-error-fill.svg new file mode 100644 index 0000000000..b1b07e57df --- /dev/null +++ b/web-dist/icons/signal-wifi-error-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-wifi-error-line.svg b/web-dist/icons/signal-wifi-error-line.svg new file mode 100644 index 0000000000..82b6ba9fab --- /dev/null +++ b/web-dist/icons/signal-wifi-error-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-wifi-fill.svg b/web-dist/icons/signal-wifi-fill.svg new file mode 100644 index 0000000000..7c2cd6974d --- /dev/null +++ b/web-dist/icons/signal-wifi-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-wifi-line.svg b/web-dist/icons/signal-wifi-line.svg new file mode 100644 index 0000000000..f8ff99a6b6 --- /dev/null +++ b/web-dist/icons/signal-wifi-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-wifi-off-fill.svg b/web-dist/icons/signal-wifi-off-fill.svg new file mode 100644 index 0000000000..aa7c12711e --- /dev/null +++ b/web-dist/icons/signal-wifi-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signal-wifi-off-line.svg b/web-dist/icons/signal-wifi-off-line.svg new file mode 100644 index 0000000000..45cf4934cf --- /dev/null +++ b/web-dist/icons/signal-wifi-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signpost-fill.svg b/web-dist/icons/signpost-fill.svg new file mode 100644 index 0000000000..aa35436009 --- /dev/null +++ b/web-dist/icons/signpost-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/signpost-line.svg b/web-dist/icons/signpost-line.svg new file mode 100644 index 0000000000..ce825eae58 --- /dev/null +++ b/web-dist/icons/signpost-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sim-card-2-fill.svg b/web-dist/icons/sim-card-2-fill.svg new file mode 100644 index 0000000000..4c74ce96d8 --- /dev/null +++ b/web-dist/icons/sim-card-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sim-card-2-line.svg b/web-dist/icons/sim-card-2-line.svg new file mode 100644 index 0000000000..7a4ae24ca5 --- /dev/null +++ b/web-dist/icons/sim-card-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sim-card-fill.svg b/web-dist/icons/sim-card-fill.svg new file mode 100644 index 0000000000..a390f94928 --- /dev/null +++ b/web-dist/icons/sim-card-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sim-card-line.svg b/web-dist/icons/sim-card-line.svg new file mode 100644 index 0000000000..e7dfc04e2c --- /dev/null +++ b/web-dist/icons/sim-card-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/single-quotes-l.svg b/web-dist/icons/single-quotes-l.svg new file mode 100644 index 0000000000..f647fdf3bb --- /dev/null +++ b/web-dist/icons/single-quotes-l.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/single-quotes-r.svg b/web-dist/icons/single-quotes-r.svg new file mode 100644 index 0000000000..327f67c8e3 --- /dev/null +++ b/web-dist/icons/single-quotes-r.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sip-fill.svg b/web-dist/icons/sip-fill.svg new file mode 100644 index 0000000000..9aa73a6853 --- /dev/null +++ b/web-dist/icons/sip-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sip-line.svg b/web-dist/icons/sip-line.svg new file mode 100644 index 0000000000..73c98d87a7 --- /dev/null +++ b/web-dist/icons/sip-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sketching.svg b/web-dist/icons/sketching.svg new file mode 100644 index 0000000000..6f87cb6148 --- /dev/null +++ b/web-dist/icons/sketching.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-back-fill.svg b/web-dist/icons/skip-back-fill.svg new file mode 100644 index 0000000000..12532a4786 --- /dev/null +++ b/web-dist/icons/skip-back-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-back-line.svg b/web-dist/icons/skip-back-line.svg new file mode 100644 index 0000000000..f71b31612b --- /dev/null +++ b/web-dist/icons/skip-back-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-back-mini-fill.svg b/web-dist/icons/skip-back-mini-fill.svg new file mode 100644 index 0000000000..57380f6c91 --- /dev/null +++ b/web-dist/icons/skip-back-mini-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-back-mini-line.svg b/web-dist/icons/skip-back-mini-line.svg new file mode 100644 index 0000000000..930d9572e6 --- /dev/null +++ b/web-dist/icons/skip-back-mini-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-down-fill.svg b/web-dist/icons/skip-down-fill.svg new file mode 100644 index 0000000000..ac8ec83916 --- /dev/null +++ b/web-dist/icons/skip-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-down-line.svg b/web-dist/icons/skip-down-line.svg new file mode 100644 index 0000000000..18f4d15ceb --- /dev/null +++ b/web-dist/icons/skip-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-forward-fill.svg b/web-dist/icons/skip-forward-fill.svg new file mode 100644 index 0000000000..715a5a5188 --- /dev/null +++ b/web-dist/icons/skip-forward-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-forward-line.svg b/web-dist/icons/skip-forward-line.svg new file mode 100644 index 0000000000..09de946b28 --- /dev/null +++ b/web-dist/icons/skip-forward-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-forward-mini-fill.svg b/web-dist/icons/skip-forward-mini-fill.svg new file mode 100644 index 0000000000..c11fe52b9b --- /dev/null +++ b/web-dist/icons/skip-forward-mini-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-forward-mini-line.svg b/web-dist/icons/skip-forward-mini-line.svg new file mode 100644 index 0000000000..146e97a2c1 --- /dev/null +++ b/web-dist/icons/skip-forward-mini-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-left-fill.svg b/web-dist/icons/skip-left-fill.svg new file mode 100644 index 0000000000..fa9e18d00e --- /dev/null +++ b/web-dist/icons/skip-left-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-left-line.svg b/web-dist/icons/skip-left-line.svg new file mode 100644 index 0000000000..101f51e226 --- /dev/null +++ b/web-dist/icons/skip-left-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-right-fill.svg b/web-dist/icons/skip-right-fill.svg new file mode 100644 index 0000000000..01ecb89a05 --- /dev/null +++ b/web-dist/icons/skip-right-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-right-line.svg b/web-dist/icons/skip-right-line.svg new file mode 100644 index 0000000000..52ad3f2957 --- /dev/null +++ b/web-dist/icons/skip-right-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-up-fill.svg b/web-dist/icons/skip-up-fill.svg new file mode 100644 index 0000000000..32673d79e4 --- /dev/null +++ b/web-dist/icons/skip-up-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skip-up-line.svg b/web-dist/icons/skip-up-line.svg new file mode 100644 index 0000000000..e37b2992ad --- /dev/null +++ b/web-dist/icons/skip-up-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skull-2-fill.svg b/web-dist/icons/skull-2-fill.svg new file mode 100644 index 0000000000..12fcac2455 --- /dev/null +++ b/web-dist/icons/skull-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skull-2-line.svg b/web-dist/icons/skull-2-line.svg new file mode 100644 index 0000000000..87a7dc2ca3 --- /dev/null +++ b/web-dist/icons/skull-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skull-fill.svg b/web-dist/icons/skull-fill.svg new file mode 100644 index 0000000000..1ca0400de3 --- /dev/null +++ b/web-dist/icons/skull-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skull-line.svg b/web-dist/icons/skull-line.svg new file mode 100644 index 0000000000..a2984a7dd4 --- /dev/null +++ b/web-dist/icons/skull-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skype-fill.svg b/web-dist/icons/skype-fill.svg new file mode 100644 index 0000000000..715a7883e9 --- /dev/null +++ b/web-dist/icons/skype-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/skype-line.svg b/web-dist/icons/skype-line.svg new file mode 100644 index 0000000000..cff04fe525 --- /dev/null +++ b/web-dist/icons/skype-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slack-fill.svg b/web-dist/icons/slack-fill.svg new file mode 100644 index 0000000000..84c97e4aca --- /dev/null +++ b/web-dist/icons/slack-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slack-line.svg b/web-dist/icons/slack-line.svg new file mode 100644 index 0000000000..677db193c6 --- /dev/null +++ b/web-dist/icons/slack-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slash-commands-2.svg b/web-dist/icons/slash-commands-2.svg new file mode 100644 index 0000000000..22d873f2ca --- /dev/null +++ b/web-dist/icons/slash-commands-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slash-commands.svg b/web-dist/icons/slash-commands.svg new file mode 100644 index 0000000000..3a31ddc8a4 --- /dev/null +++ b/web-dist/icons/slash-commands.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slice-fill.svg b/web-dist/icons/slice-fill.svg new file mode 100644 index 0000000000..6fce226f77 --- /dev/null +++ b/web-dist/icons/slice-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slice-line.svg b/web-dist/icons/slice-line.svg new file mode 100644 index 0000000000..57f4d5766b --- /dev/null +++ b/web-dist/icons/slice-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slideshow-2-fill.svg b/web-dist/icons/slideshow-2-fill.svg new file mode 100644 index 0000000000..14811ae74b --- /dev/null +++ b/web-dist/icons/slideshow-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slideshow-2-line.svg b/web-dist/icons/slideshow-2-line.svg new file mode 100644 index 0000000000..d03c5a4d31 --- /dev/null +++ b/web-dist/icons/slideshow-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slideshow-3-fill.svg b/web-dist/icons/slideshow-3-fill.svg new file mode 100644 index 0000000000..af3269f7f8 --- /dev/null +++ b/web-dist/icons/slideshow-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slideshow-3-line.svg b/web-dist/icons/slideshow-3-line.svg new file mode 100644 index 0000000000..f14666998c --- /dev/null +++ b/web-dist/icons/slideshow-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slideshow-4-fill.svg b/web-dist/icons/slideshow-4-fill.svg new file mode 100644 index 0000000000..9d38025178 --- /dev/null +++ b/web-dist/icons/slideshow-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slideshow-4-line.svg b/web-dist/icons/slideshow-4-line.svg new file mode 100644 index 0000000000..22ede733c6 --- /dev/null +++ b/web-dist/icons/slideshow-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slideshow-fill.svg b/web-dist/icons/slideshow-fill.svg new file mode 100644 index 0000000000..0264026865 --- /dev/null +++ b/web-dist/icons/slideshow-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slideshow-line.svg b/web-dist/icons/slideshow-line.svg new file mode 100644 index 0000000000..38552fb3bf --- /dev/null +++ b/web-dist/icons/slideshow-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slideshow-view.svg b/web-dist/icons/slideshow-view.svg new file mode 100644 index 0000000000..330f6b4ccb --- /dev/null +++ b/web-dist/icons/slideshow-view.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slow-down-fill.svg b/web-dist/icons/slow-down-fill.svg new file mode 100644 index 0000000000..de8f1f45a2 --- /dev/null +++ b/web-dist/icons/slow-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/slow-down-line.svg b/web-dist/icons/slow-down-line.svg new file mode 100644 index 0000000000..70e09726b9 --- /dev/null +++ b/web-dist/icons/slow-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/smartphone-fill.svg b/web-dist/icons/smartphone-fill.svg new file mode 100644 index 0000000000..2ab9bd098d --- /dev/null +++ b/web-dist/icons/smartphone-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/smartphone-line.svg b/web-dist/icons/smartphone-line.svg new file mode 100644 index 0000000000..9f420aac6d --- /dev/null +++ b/web-dist/icons/smartphone-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/snapchat-fill.svg b/web-dist/icons/snapchat-fill.svg new file mode 100644 index 0000000000..0d0bc8d8c5 --- /dev/null +++ b/web-dist/icons/snapchat-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/snapchat-line.svg b/web-dist/icons/snapchat-line.svg new file mode 100644 index 0000000000..b2839656a7 --- /dev/null +++ b/web-dist/icons/snapchat-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/snowflake-fill.svg b/web-dist/icons/snowflake-fill.svg new file mode 100644 index 0000000000..82c2728b3c --- /dev/null +++ b/web-dist/icons/snowflake-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/snowflake-line.svg b/web-dist/icons/snowflake-line.svg new file mode 100644 index 0000000000..82c2728b3c --- /dev/null +++ b/web-dist/icons/snowflake-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/snowy-fill.svg b/web-dist/icons/snowy-fill.svg new file mode 100644 index 0000000000..008cea488f --- /dev/null +++ b/web-dist/icons/snowy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/snowy-line.svg b/web-dist/icons/snowy-line.svg new file mode 100644 index 0000000000..df36eb7907 --- /dev/null +++ b/web-dist/icons/snowy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sofa-fill.svg b/web-dist/icons/sofa-fill.svg new file mode 100644 index 0000000000..6525e6041d --- /dev/null +++ b/web-dist/icons/sofa-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sofa-line.svg b/web-dist/icons/sofa-line.svg new file mode 100644 index 0000000000..4e24a19a38 --- /dev/null +++ b/web-dist/icons/sofa-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sort-alphabet-asc.svg b/web-dist/icons/sort-alphabet-asc.svg new file mode 100644 index 0000000000..c831d0783f --- /dev/null +++ b/web-dist/icons/sort-alphabet-asc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sort-alphabet-desc.svg b/web-dist/icons/sort-alphabet-desc.svg new file mode 100644 index 0000000000..9d8728078e --- /dev/null +++ b/web-dist/icons/sort-alphabet-desc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sort-asc.svg b/web-dist/icons/sort-asc.svg new file mode 100644 index 0000000000..b61579736b --- /dev/null +++ b/web-dist/icons/sort-asc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sort-desc.svg b/web-dist/icons/sort-desc.svg new file mode 100644 index 0000000000..95bdec9a0f --- /dev/null +++ b/web-dist/icons/sort-desc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sort-number-asc.svg b/web-dist/icons/sort-number-asc.svg new file mode 100644 index 0000000000..1e51ef161f --- /dev/null +++ b/web-dist/icons/sort-number-asc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sort-number-desc.svg b/web-dist/icons/sort-number-desc.svg new file mode 100644 index 0000000000..53639a17df --- /dev/null +++ b/web-dist/icons/sort-number-desc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sound-module-fill.svg b/web-dist/icons/sound-module-fill.svg new file mode 100644 index 0000000000..d45316ec36 --- /dev/null +++ b/web-dist/icons/sound-module-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sound-module-line.svg b/web-dist/icons/sound-module-line.svg new file mode 100644 index 0000000000..f64cd1161b --- /dev/null +++ b/web-dist/icons/sound-module-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/soundcloud-fill.svg b/web-dist/icons/soundcloud-fill.svg new file mode 100644 index 0000000000..0c0786f2ca --- /dev/null +++ b/web-dist/icons/soundcloud-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/soundcloud-line.svg b/web-dist/icons/soundcloud-line.svg new file mode 100644 index 0000000000..3ac7189fff --- /dev/null +++ b/web-dist/icons/soundcloud-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/space-ship-fill.svg b/web-dist/icons/space-ship-fill.svg new file mode 100644 index 0000000000..209e2f4d51 --- /dev/null +++ b/web-dist/icons/space-ship-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/space-ship-line.svg b/web-dist/icons/space-ship-line.svg new file mode 100644 index 0000000000..5beb7351ed --- /dev/null +++ b/web-dist/icons/space-ship-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/space.svg b/web-dist/icons/space.svg new file mode 100644 index 0000000000..5b676c626d --- /dev/null +++ b/web-dist/icons/space.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/spam-2-fill.svg b/web-dist/icons/spam-2-fill.svg new file mode 100644 index 0000000000..b581b969e2 --- /dev/null +++ b/web-dist/icons/spam-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/spam-2-line.svg b/web-dist/icons/spam-2-line.svg new file mode 100644 index 0000000000..a19ff62f6f --- /dev/null +++ b/web-dist/icons/spam-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/spam-3-fill.svg b/web-dist/icons/spam-3-fill.svg new file mode 100644 index 0000000000..4b3dc277e2 --- /dev/null +++ b/web-dist/icons/spam-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/spam-3-line.svg b/web-dist/icons/spam-3-line.svg new file mode 100644 index 0000000000..cd09c2e720 --- /dev/null +++ b/web-dist/icons/spam-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/spam-fill.svg b/web-dist/icons/spam-fill.svg new file mode 100644 index 0000000000..dc4de4ea8e --- /dev/null +++ b/web-dist/icons/spam-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/spam-line.svg b/web-dist/icons/spam-line.svg new file mode 100644 index 0000000000..3b1af76220 --- /dev/null +++ b/web-dist/icons/spam-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sparkling-2-fill.svg b/web-dist/icons/sparkling-2-fill.svg new file mode 100644 index 0000000000..5356f89ba2 --- /dev/null +++ b/web-dist/icons/sparkling-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sparkling-2-line.svg b/web-dist/icons/sparkling-2-line.svg new file mode 100644 index 0000000000..abd8c9e130 --- /dev/null +++ b/web-dist/icons/sparkling-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sparkling-fill.svg b/web-dist/icons/sparkling-fill.svg new file mode 100644 index 0000000000..f89a55f5b6 --- /dev/null +++ b/web-dist/icons/sparkling-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sparkling-line.svg b/web-dist/icons/sparkling-line.svg new file mode 100644 index 0000000000..bf5ffe9fea --- /dev/null +++ b/web-dist/icons/sparkling-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speak-ai-fill.svg b/web-dist/icons/speak-ai-fill.svg new file mode 100644 index 0000000000..bbd5bfc36d --- /dev/null +++ b/web-dist/icons/speak-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speak-ai-line.svg b/web-dist/icons/speak-ai-line.svg new file mode 100644 index 0000000000..0e7df0c33d --- /dev/null +++ b/web-dist/icons/speak-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speak-fill.svg b/web-dist/icons/speak-fill.svg new file mode 100644 index 0000000000..3e845025b3 --- /dev/null +++ b/web-dist/icons/speak-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speak-line.svg b/web-dist/icons/speak-line.svg new file mode 100644 index 0000000000..f88967899e --- /dev/null +++ b/web-dist/icons/speak-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speaker-2-fill.svg b/web-dist/icons/speaker-2-fill.svg new file mode 100644 index 0000000000..7bf744d2cf --- /dev/null +++ b/web-dist/icons/speaker-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speaker-2-line.svg b/web-dist/icons/speaker-2-line.svg new file mode 100644 index 0000000000..8775456d51 --- /dev/null +++ b/web-dist/icons/speaker-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speaker-3-fill.svg b/web-dist/icons/speaker-3-fill.svg new file mode 100644 index 0000000000..5260c500b8 --- /dev/null +++ b/web-dist/icons/speaker-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speaker-3-line.svg b/web-dist/icons/speaker-3-line.svg new file mode 100644 index 0000000000..1c97fbb059 --- /dev/null +++ b/web-dist/icons/speaker-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speaker-fill.svg b/web-dist/icons/speaker-fill.svg new file mode 100644 index 0000000000..af22fa70de --- /dev/null +++ b/web-dist/icons/speaker-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speaker-line.svg b/web-dist/icons/speaker-line.svg new file mode 100644 index 0000000000..c41cd16882 --- /dev/null +++ b/web-dist/icons/speaker-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/spectrum-fill.svg b/web-dist/icons/spectrum-fill.svg new file mode 100644 index 0000000000..da7e2949ba --- /dev/null +++ b/web-dist/icons/spectrum-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/spectrum-line.svg b/web-dist/icons/spectrum-line.svg new file mode 100644 index 0000000000..fd1cb0f702 --- /dev/null +++ b/web-dist/icons/spectrum-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speed-fill.svg b/web-dist/icons/speed-fill.svg new file mode 100644 index 0000000000..f03ddcac52 --- /dev/null +++ b/web-dist/icons/speed-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speed-line.svg b/web-dist/icons/speed-line.svg new file mode 100644 index 0000000000..990bcce1f0 --- /dev/null +++ b/web-dist/icons/speed-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speed-mini-fill.svg b/web-dist/icons/speed-mini-fill.svg new file mode 100644 index 0000000000..09a61136ae --- /dev/null +++ b/web-dist/icons/speed-mini-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speed-mini-line.svg b/web-dist/icons/speed-mini-line.svg new file mode 100644 index 0000000000..d26134d992 --- /dev/null +++ b/web-dist/icons/speed-mini-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speed-up-fill.svg b/web-dist/icons/speed-up-fill.svg new file mode 100644 index 0000000000..47cda0365b --- /dev/null +++ b/web-dist/icons/speed-up-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/speed-up-line.svg b/web-dist/icons/speed-up-line.svg new file mode 100644 index 0000000000..c112524179 --- /dev/null +++ b/web-dist/icons/speed-up-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/split-cells-horizontal.svg b/web-dist/icons/split-cells-horizontal.svg new file mode 100644 index 0000000000..d03dd9cc13 --- /dev/null +++ b/web-dist/icons/split-cells-horizontal.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/split-cells-vertical.svg b/web-dist/icons/split-cells-vertical.svg new file mode 100644 index 0000000000..5284263ea8 --- /dev/null +++ b/web-dist/icons/split-cells-vertical.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/spotify-fill.svg b/web-dist/icons/spotify-fill.svg new file mode 100644 index 0000000000..9e00a04812 --- /dev/null +++ b/web-dist/icons/spotify-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/spotify-line.svg b/web-dist/icons/spotify-line.svg new file mode 100644 index 0000000000..fb286aeedd --- /dev/null +++ b/web-dist/icons/spotify-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/spy-fill.svg b/web-dist/icons/spy-fill.svg new file mode 100644 index 0000000000..1e91106e58 --- /dev/null +++ b/web-dist/icons/spy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/spy-line.svg b/web-dist/icons/spy-line.svg new file mode 100644 index 0000000000..e9911dd42e --- /dev/null +++ b/web-dist/icons/spy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/square-fill.svg b/web-dist/icons/square-fill.svg new file mode 100644 index 0000000000..64640e9d67 --- /dev/null +++ b/web-dist/icons/square-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/square-line.svg b/web-dist/icons/square-line.svg new file mode 100644 index 0000000000..b5a326536b --- /dev/null +++ b/web-dist/icons/square-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/square-root.svg b/web-dist/icons/square-root.svg new file mode 100644 index 0000000000..66d7d36079 --- /dev/null +++ b/web-dist/icons/square-root.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stack-fill.svg b/web-dist/icons/stack-fill.svg new file mode 100644 index 0000000000..c9c8e9b1a8 --- /dev/null +++ b/web-dist/icons/stack-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stack-line.svg b/web-dist/icons/stack-line.svg new file mode 100644 index 0000000000..da2b98c24d --- /dev/null +++ b/web-dist/icons/stack-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stack-overflow-fill.svg b/web-dist/icons/stack-overflow-fill.svg new file mode 100644 index 0000000000..0463f429af --- /dev/null +++ b/web-dist/icons/stack-overflow-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stack-overflow-line.svg b/web-dist/icons/stack-overflow-line.svg new file mode 100644 index 0000000000..3e5c2aa7b2 --- /dev/null +++ b/web-dist/icons/stack-overflow-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stacked-view.svg b/web-dist/icons/stacked-view.svg new file mode 100644 index 0000000000..1d7ca4c0c4 --- /dev/null +++ b/web-dist/icons/stacked-view.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stackshare-fill.svg b/web-dist/icons/stackshare-fill.svg new file mode 100644 index 0000000000..1804aedc8b --- /dev/null +++ b/web-dist/icons/stackshare-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stackshare-line.svg b/web-dist/icons/stackshare-line.svg new file mode 100644 index 0000000000..8eb4eb8d4b --- /dev/null +++ b/web-dist/icons/stackshare-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stairs-fill.svg b/web-dist/icons/stairs-fill.svg new file mode 100644 index 0000000000..8087db07a0 --- /dev/null +++ b/web-dist/icons/stairs-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stairs-line.svg b/web-dist/icons/stairs-line.svg new file mode 100644 index 0000000000..01dbcb9b02 --- /dev/null +++ b/web-dist/icons/stairs-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/star-fill.svg b/web-dist/icons/star-fill.svg new file mode 100644 index 0000000000..e177475c52 --- /dev/null +++ b/web-dist/icons/star-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/star-half-fill.svg b/web-dist/icons/star-half-fill.svg new file mode 100644 index 0000000000..bfdf5df90e --- /dev/null +++ b/web-dist/icons/star-half-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/star-half-line.svg b/web-dist/icons/star-half-line.svg new file mode 100644 index 0000000000..bfdf5df90e --- /dev/null +++ b/web-dist/icons/star-half-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/star-half-s-fill.svg b/web-dist/icons/star-half-s-fill.svg new file mode 100644 index 0000000000..f6424ae378 --- /dev/null +++ b/web-dist/icons/star-half-s-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/star-half-s-line.svg b/web-dist/icons/star-half-s-line.svg new file mode 100644 index 0000000000..f6424ae378 --- /dev/null +++ b/web-dist/icons/star-half-s-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/star-line.svg b/web-dist/icons/star-line.svg new file mode 100644 index 0000000000..8879428589 --- /dev/null +++ b/web-dist/icons/star-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/star-off-fill.svg b/web-dist/icons/star-off-fill.svg new file mode 100644 index 0000000000..4437f95df3 --- /dev/null +++ b/web-dist/icons/star-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/star-off-line.svg b/web-dist/icons/star-off-line.svg new file mode 100644 index 0000000000..3f682ff8b7 --- /dev/null +++ b/web-dist/icons/star-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/star-s-fill.svg b/web-dist/icons/star-s-fill.svg new file mode 100644 index 0000000000..d8348c3da8 --- /dev/null +++ b/web-dist/icons/star-s-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/star-s-line.svg b/web-dist/icons/star-s-line.svg new file mode 100644 index 0000000000..dec968e851 --- /dev/null +++ b/web-dist/icons/star-s-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/star-smile-fill.svg b/web-dist/icons/star-smile-fill.svg new file mode 100644 index 0000000000..41b0badf47 --- /dev/null +++ b/web-dist/icons/star-smile-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/star-smile-line.svg b/web-dist/icons/star-smile-line.svg new file mode 100644 index 0000000000..4b8834fa30 --- /dev/null +++ b/web-dist/icons/star-smile-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/steam-fill.svg b/web-dist/icons/steam-fill.svg new file mode 100644 index 0000000000..174bfab93f --- /dev/null +++ b/web-dist/icons/steam-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/steam-line.svg b/web-dist/icons/steam-line.svg new file mode 100644 index 0000000000..ddb7adf46d --- /dev/null +++ b/web-dist/icons/steam-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/steering-2-fill.svg b/web-dist/icons/steering-2-fill.svg new file mode 100644 index 0000000000..80f08fc4fe --- /dev/null +++ b/web-dist/icons/steering-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/steering-2-line.svg b/web-dist/icons/steering-2-line.svg new file mode 100644 index 0000000000..34887f89cf --- /dev/null +++ b/web-dist/icons/steering-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/steering-fill.svg b/web-dist/icons/steering-fill.svg new file mode 100644 index 0000000000..6f48bc500f --- /dev/null +++ b/web-dist/icons/steering-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/steering-line.svg b/web-dist/icons/steering-line.svg new file mode 100644 index 0000000000..bf912a337b --- /dev/null +++ b/web-dist/icons/steering-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stethoscope-fill.svg b/web-dist/icons/stethoscope-fill.svg new file mode 100644 index 0000000000..b11bd8f88e --- /dev/null +++ b/web-dist/icons/stethoscope-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stethoscope-line.svg b/web-dist/icons/stethoscope-line.svg new file mode 100644 index 0000000000..9871d3815e --- /dev/null +++ b/web-dist/icons/stethoscope-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sticky-note-2-fill 2.svg b/web-dist/icons/sticky-note-2-fill 2.svg new file mode 100644 index 0000000000..ca8df6ae2e --- /dev/null +++ b/web-dist/icons/sticky-note-2-fill 2.svg @@ -0,0 +1 @@ + diff --git a/web-dist/icons/sticky-note-2-fill.svg b/web-dist/icons/sticky-note-2-fill.svg new file mode 100644 index 0000000000..e463f2d060 --- /dev/null +++ b/web-dist/icons/sticky-note-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sticky-note-2-line.svg b/web-dist/icons/sticky-note-2-line.svg new file mode 100644 index 0000000000..1c21090724 --- /dev/null +++ b/web-dist/icons/sticky-note-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sticky-note-add-fill.svg b/web-dist/icons/sticky-note-add-fill.svg new file mode 100644 index 0000000000..b2ead37dd1 --- /dev/null +++ b/web-dist/icons/sticky-note-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sticky-note-add-line.svg b/web-dist/icons/sticky-note-add-line.svg new file mode 100644 index 0000000000..13371128e0 --- /dev/null +++ b/web-dist/icons/sticky-note-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sticky-note-fill.svg b/web-dist/icons/sticky-note-fill.svg new file mode 100644 index 0000000000..88c5b67523 --- /dev/null +++ b/web-dist/icons/sticky-note-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sticky-note-line.svg b/web-dist/icons/sticky-note-line.svg new file mode 100644 index 0000000000..d9b6d02cc6 --- /dev/null +++ b/web-dist/icons/sticky-note-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stock-fill.svg b/web-dist/icons/stock-fill.svg new file mode 100644 index 0000000000..e91793a3db --- /dev/null +++ b/web-dist/icons/stock-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stock-line.svg b/web-dist/icons/stock-line.svg new file mode 100644 index 0000000000..183bd6bbb3 --- /dev/null +++ b/web-dist/icons/stock-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stop-circle-fill.svg b/web-dist/icons/stop-circle-fill.svg new file mode 100644 index 0000000000..5543513e11 --- /dev/null +++ b/web-dist/icons/stop-circle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stop-circle-line.svg b/web-dist/icons/stop-circle-line.svg new file mode 100644 index 0000000000..bba5b20da6 --- /dev/null +++ b/web-dist/icons/stop-circle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stop-fill.svg b/web-dist/icons/stop-fill.svg new file mode 100644 index 0000000000..39b5d039f3 --- /dev/null +++ b/web-dist/icons/stop-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stop-large-fill.svg b/web-dist/icons/stop-large-fill.svg new file mode 100644 index 0000000000..53d2462cb9 --- /dev/null +++ b/web-dist/icons/stop-large-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stop-large-line.svg b/web-dist/icons/stop-large-line.svg new file mode 100644 index 0000000000..a0462d9565 --- /dev/null +++ b/web-dist/icons/stop-large-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stop-line.svg b/web-dist/icons/stop-line.svg new file mode 100644 index 0000000000..5023ca27d9 --- /dev/null +++ b/web-dist/icons/stop-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stop-mini-fill.svg b/web-dist/icons/stop-mini-fill.svg new file mode 100644 index 0000000000..501ec4929c --- /dev/null +++ b/web-dist/icons/stop-mini-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/stop-mini-line.svg b/web-dist/icons/stop-mini-line.svg new file mode 100644 index 0000000000..5ac8356343 --- /dev/null +++ b/web-dist/icons/stop-mini-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/store-2-fill.svg b/web-dist/icons/store-2-fill.svg new file mode 100644 index 0000000000..a6dc183d07 --- /dev/null +++ b/web-dist/icons/store-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/store-2-line.svg b/web-dist/icons/store-2-line.svg new file mode 100644 index 0000000000..347c444383 --- /dev/null +++ b/web-dist/icons/store-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/store-3-fill.svg b/web-dist/icons/store-3-fill.svg new file mode 100644 index 0000000000..07029b1803 --- /dev/null +++ b/web-dist/icons/store-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/store-3-line.svg b/web-dist/icons/store-3-line.svg new file mode 100644 index 0000000000..59e008ee07 --- /dev/null +++ b/web-dist/icons/store-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/store-fill.svg b/web-dist/icons/store-fill.svg new file mode 100644 index 0000000000..c27483388e --- /dev/null +++ b/web-dist/icons/store-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/store-line.svg b/web-dist/icons/store-line.svg new file mode 100644 index 0000000000..5322da4ba4 --- /dev/null +++ b/web-dist/icons/store-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/strikethrough-2.svg b/web-dist/icons/strikethrough-2.svg new file mode 100644 index 0000000000..c9b04d73ff --- /dev/null +++ b/web-dist/icons/strikethrough-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/strikethrough.svg b/web-dist/icons/strikethrough.svg new file mode 100644 index 0000000000..5671c33c16 --- /dev/null +++ b/web-dist/icons/strikethrough.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/subscript-2.svg b/web-dist/icons/subscript-2.svg new file mode 100644 index 0000000000..2aaba129c1 --- /dev/null +++ b/web-dist/icons/subscript-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/subscript.svg b/web-dist/icons/subscript.svg new file mode 100644 index 0000000000..230a035f6e --- /dev/null +++ b/web-dist/icons/subscript.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/subtract-fill.svg b/web-dist/icons/subtract-fill.svg new file mode 100644 index 0000000000..6c06a1161c --- /dev/null +++ b/web-dist/icons/subtract-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/subtract-line.svg b/web-dist/icons/subtract-line.svg new file mode 100644 index 0000000000..fcc1e942fc --- /dev/null +++ b/web-dist/icons/subtract-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/subway-fill.svg b/web-dist/icons/subway-fill.svg new file mode 100644 index 0000000000..812471992a --- /dev/null +++ b/web-dist/icons/subway-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/subway-line.svg b/web-dist/icons/subway-line.svg new file mode 100644 index 0000000000..e57a89bfe7 --- /dev/null +++ b/web-dist/icons/subway-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/subway-wifi-fill.svg b/web-dist/icons/subway-wifi-fill.svg new file mode 100644 index 0000000000..75ab4c04ce --- /dev/null +++ b/web-dist/icons/subway-wifi-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/subway-wifi-line.svg b/web-dist/icons/subway-wifi-line.svg new file mode 100644 index 0000000000..3a1b258547 --- /dev/null +++ b/web-dist/icons/subway-wifi-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/suitcase-2-fill.svg b/web-dist/icons/suitcase-2-fill.svg new file mode 100644 index 0000000000..b1305cb921 --- /dev/null +++ b/web-dist/icons/suitcase-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/suitcase-2-line.svg b/web-dist/icons/suitcase-2-line.svg new file mode 100644 index 0000000000..d9af56d31e --- /dev/null +++ b/web-dist/icons/suitcase-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/suitcase-3-fill.svg b/web-dist/icons/suitcase-3-fill.svg new file mode 100644 index 0000000000..5dc0538f13 --- /dev/null +++ b/web-dist/icons/suitcase-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/suitcase-3-line.svg b/web-dist/icons/suitcase-3-line.svg new file mode 100644 index 0000000000..e45895f001 --- /dev/null +++ b/web-dist/icons/suitcase-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/suitcase-fill.svg b/web-dist/icons/suitcase-fill.svg new file mode 100644 index 0000000000..d8bd1a4a17 --- /dev/null +++ b/web-dist/icons/suitcase-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/suitcase-line.svg b/web-dist/icons/suitcase-line.svg new file mode 100644 index 0000000000..02f7a8bfb4 --- /dev/null +++ b/web-dist/icons/suitcase-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sun-cloudy-fill.svg b/web-dist/icons/sun-cloudy-fill.svg new file mode 100644 index 0000000000..490461cdf7 --- /dev/null +++ b/web-dist/icons/sun-cloudy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sun-cloudy-line.svg b/web-dist/icons/sun-cloudy-line.svg new file mode 100644 index 0000000000..e59e0ca0ff --- /dev/null +++ b/web-dist/icons/sun-cloudy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sun-fill.svg b/web-dist/icons/sun-fill.svg new file mode 100644 index 0000000000..0e423963b5 --- /dev/null +++ b/web-dist/icons/sun-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sun-foggy-fill.svg b/web-dist/icons/sun-foggy-fill.svg new file mode 100644 index 0000000000..ff734dfcdc --- /dev/null +++ b/web-dist/icons/sun-foggy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sun-foggy-line.svg b/web-dist/icons/sun-foggy-line.svg new file mode 100644 index 0000000000..ca23dc7231 --- /dev/null +++ b/web-dist/icons/sun-foggy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sun-line.svg b/web-dist/icons/sun-line.svg new file mode 100644 index 0000000000..1242b0aab4 --- /dev/null +++ b/web-dist/icons/sun-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/supabase-fill.svg b/web-dist/icons/supabase-fill.svg new file mode 100644 index 0000000000..bf7ddb12c1 --- /dev/null +++ b/web-dist/icons/supabase-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/supabase-line.svg b/web-dist/icons/supabase-line.svg new file mode 100644 index 0000000000..5fd77bcd1c --- /dev/null +++ b/web-dist/icons/supabase-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/superscript-2.svg b/web-dist/icons/superscript-2.svg new file mode 100644 index 0000000000..68f9e3fcbf --- /dev/null +++ b/web-dist/icons/superscript-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/superscript.svg b/web-dist/icons/superscript.svg new file mode 100644 index 0000000000..3bc0f9ca27 --- /dev/null +++ b/web-dist/icons/superscript.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/surgical-mask-fill.svg b/web-dist/icons/surgical-mask-fill.svg new file mode 100644 index 0000000000..08774eb5c7 --- /dev/null +++ b/web-dist/icons/surgical-mask-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/surgical-mask-line.svg b/web-dist/icons/surgical-mask-line.svg new file mode 100644 index 0000000000..b7a9f62a0f --- /dev/null +++ b/web-dist/icons/surgical-mask-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/surround-sound-fill.svg b/web-dist/icons/surround-sound-fill.svg new file mode 100644 index 0000000000..ba10fbc0e1 --- /dev/null +++ b/web-dist/icons/surround-sound-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/surround-sound-line.svg b/web-dist/icons/surround-sound-line.svg new file mode 100644 index 0000000000..4f32eccf5a --- /dev/null +++ b/web-dist/icons/surround-sound-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/survey-fill.svg b/web-dist/icons/survey-fill.svg new file mode 100644 index 0000000000..f9a8f368df --- /dev/null +++ b/web-dist/icons/survey-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/survey-line.svg b/web-dist/icons/survey-line.svg new file mode 100644 index 0000000000..9e8de02b47 --- /dev/null +++ b/web-dist/icons/survey-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/svelte-fill.svg b/web-dist/icons/svelte-fill.svg new file mode 100644 index 0000000000..6e98a0911b --- /dev/null +++ b/web-dist/icons/svelte-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/svelte-line.svg b/web-dist/icons/svelte-line.svg new file mode 100644 index 0000000000..d9e509b76f --- /dev/null +++ b/web-dist/icons/svelte-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/swap-2-fill.svg b/web-dist/icons/swap-2-fill.svg new file mode 100644 index 0000000000..27663a5318 --- /dev/null +++ b/web-dist/icons/swap-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/swap-2-line.svg b/web-dist/icons/swap-2-line.svg new file mode 100644 index 0000000000..96f3d887fa --- /dev/null +++ b/web-dist/icons/swap-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/swap-3-fill.svg b/web-dist/icons/swap-3-fill.svg new file mode 100644 index 0000000000..be7c2475dd --- /dev/null +++ b/web-dist/icons/swap-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/swap-3-line.svg b/web-dist/icons/swap-3-line.svg new file mode 100644 index 0000000000..862098c3d4 --- /dev/null +++ b/web-dist/icons/swap-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/swap-box-fill.svg b/web-dist/icons/swap-box-fill.svg new file mode 100644 index 0000000000..f59a46ba80 --- /dev/null +++ b/web-dist/icons/swap-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/swap-box-line.svg b/web-dist/icons/swap-box-line.svg new file mode 100644 index 0000000000..d1fd435fec --- /dev/null +++ b/web-dist/icons/swap-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/swap-fill.svg b/web-dist/icons/swap-fill.svg new file mode 100644 index 0000000000..03263617f0 --- /dev/null +++ b/web-dist/icons/swap-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/swap-line.svg b/web-dist/icons/swap-line.svg new file mode 100644 index 0000000000..156a795938 --- /dev/null +++ b/web-dist/icons/swap-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/switch-fill.svg b/web-dist/icons/switch-fill.svg new file mode 100644 index 0000000000..755aa7a3b6 --- /dev/null +++ b/web-dist/icons/switch-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/switch-line.svg b/web-dist/icons/switch-line.svg new file mode 100644 index 0000000000..28e9efbc1e --- /dev/null +++ b/web-dist/icons/switch-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sword-fill.svg b/web-dist/icons/sword-fill.svg new file mode 100644 index 0000000000..363616e10b --- /dev/null +++ b/web-dist/icons/sword-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/sword-line.svg b/web-dist/icons/sword-line.svg new file mode 100644 index 0000000000..0fd1b129da --- /dev/null +++ b/web-dist/icons/sword-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/syringe-fill.svg b/web-dist/icons/syringe-fill.svg new file mode 100644 index 0000000000..94b13f8076 --- /dev/null +++ b/web-dist/icons/syringe-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/syringe-line.svg b/web-dist/icons/syringe-line.svg new file mode 100644 index 0000000000..c431975aab --- /dev/null +++ b/web-dist/icons/syringe-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/t-box-fill.svg b/web-dist/icons/t-box-fill.svg new file mode 100644 index 0000000000..7782d84e89 --- /dev/null +++ b/web-dist/icons/t-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/t-box-line.svg b/web-dist/icons/t-box-line.svg new file mode 100644 index 0000000000..93282dd196 --- /dev/null +++ b/web-dist/icons/t-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/t-shirt-2-fill.svg b/web-dist/icons/t-shirt-2-fill.svg new file mode 100644 index 0000000000..a5bfc88067 --- /dev/null +++ b/web-dist/icons/t-shirt-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/t-shirt-2-line.svg b/web-dist/icons/t-shirt-2-line.svg new file mode 100644 index 0000000000..16c06af0dc --- /dev/null +++ b/web-dist/icons/t-shirt-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/t-shirt-air-fill.svg b/web-dist/icons/t-shirt-air-fill.svg new file mode 100644 index 0000000000..43725ad4ec --- /dev/null +++ b/web-dist/icons/t-shirt-air-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/t-shirt-air-line.svg b/web-dist/icons/t-shirt-air-line.svg new file mode 100644 index 0000000000..ef544b7474 --- /dev/null +++ b/web-dist/icons/t-shirt-air-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/t-shirt-fill.svg b/web-dist/icons/t-shirt-fill.svg new file mode 100644 index 0000000000..4af0a14610 --- /dev/null +++ b/web-dist/icons/t-shirt-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/t-shirt-line.svg b/web-dist/icons/t-shirt-line.svg new file mode 100644 index 0000000000..b11a818f7f --- /dev/null +++ b/web-dist/icons/t-shirt-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/table-2.svg b/web-dist/icons/table-2.svg new file mode 100644 index 0000000000..a893fde359 --- /dev/null +++ b/web-dist/icons/table-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/table-3.svg b/web-dist/icons/table-3.svg new file mode 100644 index 0000000000..3caab81797 --- /dev/null +++ b/web-dist/icons/table-3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/table-alt-fill.svg b/web-dist/icons/table-alt-fill.svg new file mode 100644 index 0000000000..9b93d40de9 --- /dev/null +++ b/web-dist/icons/table-alt-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/table-alt-line.svg b/web-dist/icons/table-alt-line.svg new file mode 100644 index 0000000000..84af9b8133 --- /dev/null +++ b/web-dist/icons/table-alt-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/table-fill.svg b/web-dist/icons/table-fill.svg new file mode 100644 index 0000000000..8a7ffdb485 --- /dev/null +++ b/web-dist/icons/table-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/table-line.svg b/web-dist/icons/table-line.svg new file mode 100644 index 0000000000..6f296971ee --- /dev/null +++ b/web-dist/icons/table-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/table-view.svg b/web-dist/icons/table-view.svg new file mode 100644 index 0000000000..194ed8e078 --- /dev/null +++ b/web-dist/icons/table-view.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tablet-fill.svg b/web-dist/icons/tablet-fill.svg new file mode 100644 index 0000000000..e6e1797c30 --- /dev/null +++ b/web-dist/icons/tablet-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tablet-line.svg b/web-dist/icons/tablet-line.svg new file mode 100644 index 0000000000..f6a002c471 --- /dev/null +++ b/web-dist/icons/tablet-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tailwind-css-fill.svg b/web-dist/icons/tailwind-css-fill.svg new file mode 100644 index 0000000000..3d2ad9ecb4 --- /dev/null +++ b/web-dist/icons/tailwind-css-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tailwind-css-line.svg b/web-dist/icons/tailwind-css-line.svg new file mode 100644 index 0000000000..ee12623462 --- /dev/null +++ b/web-dist/icons/tailwind-css-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/takeaway-fill.svg b/web-dist/icons/takeaway-fill.svg new file mode 100644 index 0000000000..663bbd3658 --- /dev/null +++ b/web-dist/icons/takeaway-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/takeaway-line.svg b/web-dist/icons/takeaway-line.svg new file mode 100644 index 0000000000..41acd49e92 --- /dev/null +++ b/web-dist/icons/takeaway-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/taobao-fill.svg b/web-dist/icons/taobao-fill.svg new file mode 100644 index 0000000000..47de56cc2a --- /dev/null +++ b/web-dist/icons/taobao-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/taobao-line.svg b/web-dist/icons/taobao-line.svg new file mode 100644 index 0000000000..1bd6c29a3c --- /dev/null +++ b/web-dist/icons/taobao-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tape-fill.svg b/web-dist/icons/tape-fill.svg new file mode 100644 index 0000000000..1a54936b57 --- /dev/null +++ b/web-dist/icons/tape-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tape-line.svg b/web-dist/icons/tape-line.svg new file mode 100644 index 0000000000..db3f0059f8 --- /dev/null +++ b/web-dist/icons/tape-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/task-fill.svg b/web-dist/icons/task-fill.svg new file mode 100644 index 0000000000..d3aff4d9ef --- /dev/null +++ b/web-dist/icons/task-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/task-line.svg b/web-dist/icons/task-line.svg new file mode 100644 index 0000000000..4f25ec649e --- /dev/null +++ b/web-dist/icons/task-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/taxi-fill.svg b/web-dist/icons/taxi-fill.svg new file mode 100644 index 0000000000..d34e20f673 --- /dev/null +++ b/web-dist/icons/taxi-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/taxi-line.svg b/web-dist/icons/taxi-line.svg new file mode 100644 index 0000000000..af4bd999b3 --- /dev/null +++ b/web-dist/icons/taxi-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/taxi-wifi-fill.svg b/web-dist/icons/taxi-wifi-fill.svg new file mode 100644 index 0000000000..0cfc1667b1 --- /dev/null +++ b/web-dist/icons/taxi-wifi-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/taxi-wifi-line.svg b/web-dist/icons/taxi-wifi-line.svg new file mode 100644 index 0000000000..bc3214d825 --- /dev/null +++ b/web-dist/icons/taxi-wifi-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/team-fill.svg b/web-dist/icons/team-fill.svg new file mode 100644 index 0000000000..7e84954578 --- /dev/null +++ b/web-dist/icons/team-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/team-line.svg b/web-dist/icons/team-line.svg new file mode 100644 index 0000000000..04cec688d3 --- /dev/null +++ b/web-dist/icons/team-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/telegram-2-fill.svg b/web-dist/icons/telegram-2-fill.svg new file mode 100644 index 0000000000..0df6bfd87a --- /dev/null +++ b/web-dist/icons/telegram-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/telegram-2-line.svg b/web-dist/icons/telegram-2-line.svg new file mode 100644 index 0000000000..b102cd6f8b --- /dev/null +++ b/web-dist/icons/telegram-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/telegram-fill.svg b/web-dist/icons/telegram-fill.svg new file mode 100644 index 0000000000..ef041adaac --- /dev/null +++ b/web-dist/icons/telegram-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/telegram-line.svg b/web-dist/icons/telegram-line.svg new file mode 100644 index 0000000000..30ed0ae908 --- /dev/null +++ b/web-dist/icons/telegram-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/temp-cold-fill.svg b/web-dist/icons/temp-cold-fill.svg new file mode 100644 index 0000000000..545ee392e2 --- /dev/null +++ b/web-dist/icons/temp-cold-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/temp-cold-line.svg b/web-dist/icons/temp-cold-line.svg new file mode 100644 index 0000000000..2becba9cdc --- /dev/null +++ b/web-dist/icons/temp-cold-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/temp-hot-fill.svg b/web-dist/icons/temp-hot-fill.svg new file mode 100644 index 0000000000..ddd69a637e --- /dev/null +++ b/web-dist/icons/temp-hot-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/temp-hot-line.svg b/web-dist/icons/temp-hot-line.svg new file mode 100644 index 0000000000..5c56a9b071 --- /dev/null +++ b/web-dist/icons/temp-hot-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tent-fill.svg b/web-dist/icons/tent-fill.svg new file mode 100644 index 0000000000..1e3c317ad1 --- /dev/null +++ b/web-dist/icons/tent-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tent-line.svg b/web-dist/icons/tent-line.svg new file mode 100644 index 0000000000..44c745f6cb --- /dev/null +++ b/web-dist/icons/tent-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/terminal-box-fill.svg b/web-dist/icons/terminal-box-fill.svg new file mode 100644 index 0000000000..73eb04c714 --- /dev/null +++ b/web-dist/icons/terminal-box-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/terminal-box-line.svg b/web-dist/icons/terminal-box-line.svg new file mode 100644 index 0000000000..d818b081ca --- /dev/null +++ b/web-dist/icons/terminal-box-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/terminal-fill.svg b/web-dist/icons/terminal-fill.svg new file mode 100644 index 0000000000..b5068a8c65 --- /dev/null +++ b/web-dist/icons/terminal-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/terminal-line.svg b/web-dist/icons/terminal-line.svg new file mode 100644 index 0000000000..b5068a8c65 --- /dev/null +++ b/web-dist/icons/terminal-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/terminal-window-fill.svg b/web-dist/icons/terminal-window-fill.svg new file mode 100644 index 0000000000..87707930e2 --- /dev/null +++ b/web-dist/icons/terminal-window-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/terminal-window-line.svg b/web-dist/icons/terminal-window-line.svg new file mode 100644 index 0000000000..c7067efc56 --- /dev/null +++ b/web-dist/icons/terminal-window-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/test-tube-fill.svg b/web-dist/icons/test-tube-fill.svg new file mode 100644 index 0000000000..3c913c3557 --- /dev/null +++ b/web-dist/icons/test-tube-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/test-tube-line.svg b/web-dist/icons/test-tube-line.svg new file mode 100644 index 0000000000..f8b32f6734 --- /dev/null +++ b/web-dist/icons/test-tube-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/text-block.svg b/web-dist/icons/text-block.svg new file mode 100644 index 0000000000..5899e19d34 --- /dev/null +++ b/web-dist/icons/text-block.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/text-direction-l.svg b/web-dist/icons/text-direction-l.svg new file mode 100644 index 0000000000..aaaa3c2869 --- /dev/null +++ b/web-dist/icons/text-direction-l.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/text-direction-r.svg b/web-dist/icons/text-direction-r.svg new file mode 100644 index 0000000000..7a60e13107 --- /dev/null +++ b/web-dist/icons/text-direction-r.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/text-snippet.svg b/web-dist/icons/text-snippet.svg new file mode 100644 index 0000000000..b6767cbd63 --- /dev/null +++ b/web-dist/icons/text-snippet.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/text-spacing.svg b/web-dist/icons/text-spacing.svg new file mode 100644 index 0000000000..724833772a --- /dev/null +++ b/web-dist/icons/text-spacing.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/text-wrap.svg b/web-dist/icons/text-wrap.svg new file mode 100644 index 0000000000..620970866a --- /dev/null +++ b/web-dist/icons/text-wrap.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/text.svg b/web-dist/icons/text.svg new file mode 100644 index 0000000000..657853f047 --- /dev/null +++ b/web-dist/icons/text.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/thermometer-fill.svg b/web-dist/icons/thermometer-fill.svg new file mode 100644 index 0000000000..71b5796409 --- /dev/null +++ b/web-dist/icons/thermometer-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/thermometer-line.svg b/web-dist/icons/thermometer-line.svg new file mode 100644 index 0000000000..e7c5e5cab6 --- /dev/null +++ b/web-dist/icons/thermometer-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/threads-fill.svg b/web-dist/icons/threads-fill.svg new file mode 100644 index 0000000000..7a81c165e6 --- /dev/null +++ b/web-dist/icons/threads-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/threads-line.svg b/web-dist/icons/threads-line.svg new file mode 100644 index 0000000000..7eda4f5556 --- /dev/null +++ b/web-dist/icons/threads-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/thumb-down-fill.svg b/web-dist/icons/thumb-down-fill.svg new file mode 100644 index 0000000000..98b3fe1b16 --- /dev/null +++ b/web-dist/icons/thumb-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/thumb-down-line.svg b/web-dist/icons/thumb-down-line.svg new file mode 100644 index 0000000000..f067dfdf80 --- /dev/null +++ b/web-dist/icons/thumb-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/thumb-up-fill.svg b/web-dist/icons/thumb-up-fill.svg new file mode 100644 index 0000000000..ca3ffff757 --- /dev/null +++ b/web-dist/icons/thumb-up-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/thumb-up-line.svg b/web-dist/icons/thumb-up-line.svg new file mode 100644 index 0000000000..a46d747713 --- /dev/null +++ b/web-dist/icons/thumb-up-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/thunderstorms-fill.svg b/web-dist/icons/thunderstorms-fill.svg new file mode 100644 index 0000000000..f8cc1254ee --- /dev/null +++ b/web-dist/icons/thunderstorms-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/thunderstorms-line.svg b/web-dist/icons/thunderstorms-line.svg new file mode 100644 index 0000000000..e14b5ff5c7 --- /dev/null +++ b/web-dist/icons/thunderstorms-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ticket-2-fill.svg b/web-dist/icons/ticket-2-fill.svg new file mode 100644 index 0000000000..4a7b16862f --- /dev/null +++ b/web-dist/icons/ticket-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ticket-2-line.svg b/web-dist/icons/ticket-2-line.svg new file mode 100644 index 0000000000..0ea72c944c --- /dev/null +++ b/web-dist/icons/ticket-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ticket-fill.svg b/web-dist/icons/ticket-fill.svg new file mode 100644 index 0000000000..9a105f3cc0 --- /dev/null +++ b/web-dist/icons/ticket-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ticket-line.svg b/web-dist/icons/ticket-line.svg new file mode 100644 index 0000000000..62bbf873f1 --- /dev/null +++ b/web-dist/icons/ticket-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tiktok-fill.svg b/web-dist/icons/tiktok-fill.svg new file mode 100644 index 0000000000..d9f3a69dd8 --- /dev/null +++ b/web-dist/icons/tiktok-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tiktok-line.svg b/web-dist/icons/tiktok-line.svg new file mode 100644 index 0000000000..322243c12a --- /dev/null +++ b/web-dist/icons/tiktok-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/time-fill.svg b/web-dist/icons/time-fill.svg new file mode 100644 index 0000000000..6de76ac721 --- /dev/null +++ b/web-dist/icons/time-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/time-line.svg b/web-dist/icons/time-line.svg new file mode 100644 index 0000000000..a4205d902c --- /dev/null +++ b/web-dist/icons/time-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/time-zone-fill.svg b/web-dist/icons/time-zone-fill.svg new file mode 100644 index 0000000000..f8d7b9fda3 --- /dev/null +++ b/web-dist/icons/time-zone-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/time-zone-line.svg b/web-dist/icons/time-zone-line.svg new file mode 100644 index 0000000000..73a77b9502 --- /dev/null +++ b/web-dist/icons/time-zone-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/timeline-view.svg b/web-dist/icons/timeline-view.svg new file mode 100644 index 0000000000..9f404a9a95 --- /dev/null +++ b/web-dist/icons/timeline-view.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/timer-2-fill.svg b/web-dist/icons/timer-2-fill.svg new file mode 100644 index 0000000000..b2387262c2 --- /dev/null +++ b/web-dist/icons/timer-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/timer-2-line.svg b/web-dist/icons/timer-2-line.svg new file mode 100644 index 0000000000..2f8bfd5059 --- /dev/null +++ b/web-dist/icons/timer-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/timer-fill.svg b/web-dist/icons/timer-fill.svg new file mode 100644 index 0000000000..820d6775de --- /dev/null +++ b/web-dist/icons/timer-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/timer-flash-fill.svg b/web-dist/icons/timer-flash-fill.svg new file mode 100644 index 0000000000..ae439fd3b4 --- /dev/null +++ b/web-dist/icons/timer-flash-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/timer-flash-line.svg b/web-dist/icons/timer-flash-line.svg new file mode 100644 index 0000000000..64cadadf9b --- /dev/null +++ b/web-dist/icons/timer-flash-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/timer-line.svg b/web-dist/icons/timer-line.svg new file mode 100644 index 0000000000..9bf5cf50e4 --- /dev/null +++ b/web-dist/icons/timer-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/todo-fill.svg b/web-dist/icons/todo-fill.svg new file mode 100644 index 0000000000..804ce38f89 --- /dev/null +++ b/web-dist/icons/todo-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/todo-line.svg b/web-dist/icons/todo-line.svg new file mode 100644 index 0000000000..2f42c12df1 --- /dev/null +++ b/web-dist/icons/todo-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/toggle-fill.svg b/web-dist/icons/toggle-fill.svg new file mode 100644 index 0000000000..076538df92 --- /dev/null +++ b/web-dist/icons/toggle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/toggle-line.svg b/web-dist/icons/toggle-line.svg new file mode 100644 index 0000000000..ea9f3d23ca --- /dev/null +++ b/web-dist/icons/toggle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/token-swap-fill.svg b/web-dist/icons/token-swap-fill.svg new file mode 100644 index 0000000000..6ec8992322 --- /dev/null +++ b/web-dist/icons/token-swap-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/token-swap-line.svg b/web-dist/icons/token-swap-line.svg new file mode 100644 index 0000000000..673cd03d3e --- /dev/null +++ b/web-dist/icons/token-swap-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tools-fill.svg b/web-dist/icons/tools-fill.svg new file mode 100644 index 0000000000..cca0ba292f --- /dev/null +++ b/web-dist/icons/tools-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tools-line.svg b/web-dist/icons/tools-line.svg new file mode 100644 index 0000000000..1fe39b6afa --- /dev/null +++ b/web-dist/icons/tools-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tooth-fill.svg b/web-dist/icons/tooth-fill.svg new file mode 100644 index 0000000000..f160996daa --- /dev/null +++ b/web-dist/icons/tooth-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tooth-line.svg b/web-dist/icons/tooth-line.svg new file mode 100644 index 0000000000..86de6efec7 --- /dev/null +++ b/web-dist/icons/tooth-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tornado-fill.svg b/web-dist/icons/tornado-fill.svg new file mode 100644 index 0000000000..77cef4a634 --- /dev/null +++ b/web-dist/icons/tornado-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tornado-line.svg b/web-dist/icons/tornado-line.svg new file mode 100644 index 0000000000..77cef4a634 --- /dev/null +++ b/web-dist/icons/tornado-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/trademark-fill.svg b/web-dist/icons/trademark-fill.svg new file mode 100644 index 0000000000..be48944b05 --- /dev/null +++ b/web-dist/icons/trademark-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/trademark-line.svg b/web-dist/icons/trademark-line.svg new file mode 100644 index 0000000000..be48944b05 --- /dev/null +++ b/web-dist/icons/trademark-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/traffic-light-fill.svg b/web-dist/icons/traffic-light-fill.svg new file mode 100644 index 0000000000..edcc921e56 --- /dev/null +++ b/web-dist/icons/traffic-light-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/traffic-light-line.svg b/web-dist/icons/traffic-light-line.svg new file mode 100644 index 0000000000..edcc921e56 --- /dev/null +++ b/web-dist/icons/traffic-light-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/train-fill.svg b/web-dist/icons/train-fill.svg new file mode 100644 index 0000000000..85e3d5511e --- /dev/null +++ b/web-dist/icons/train-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/train-line.svg b/web-dist/icons/train-line.svg new file mode 100644 index 0000000000..f336448c97 --- /dev/null +++ b/web-dist/icons/train-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/train-wifi-fill.svg b/web-dist/icons/train-wifi-fill.svg new file mode 100644 index 0000000000..6882daccd7 --- /dev/null +++ b/web-dist/icons/train-wifi-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/train-wifi-line.svg b/web-dist/icons/train-wifi-line.svg new file mode 100644 index 0000000000..4ae5fb2ddf --- /dev/null +++ b/web-dist/icons/train-wifi-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/translate-2.svg b/web-dist/icons/translate-2.svg new file mode 100644 index 0000000000..6a10332bcc --- /dev/null +++ b/web-dist/icons/translate-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/translate-ai-2.svg b/web-dist/icons/translate-ai-2.svg new file mode 100644 index 0000000000..039b27e5b5 --- /dev/null +++ b/web-dist/icons/translate-ai-2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/translate-ai.svg b/web-dist/icons/translate-ai.svg new file mode 100644 index 0000000000..1a32e50371 --- /dev/null +++ b/web-dist/icons/translate-ai.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/translate.svg b/web-dist/icons/translate.svg new file mode 100644 index 0000000000..57b619bdb1 --- /dev/null +++ b/web-dist/icons/translate.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/travesti-fill.svg b/web-dist/icons/travesti-fill.svg new file mode 100644 index 0000000000..365955b0dc --- /dev/null +++ b/web-dist/icons/travesti-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/travesti-line.svg b/web-dist/icons/travesti-line.svg new file mode 100644 index 0000000000..552abc11cb --- /dev/null +++ b/web-dist/icons/travesti-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/treasure-map-fill.svg b/web-dist/icons/treasure-map-fill.svg new file mode 100644 index 0000000000..579e9da1d6 --- /dev/null +++ b/web-dist/icons/treasure-map-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/treasure-map-line.svg b/web-dist/icons/treasure-map-line.svg new file mode 100644 index 0000000000..4c2e42c7a6 --- /dev/null +++ b/web-dist/icons/treasure-map-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tree-fill.svg b/web-dist/icons/tree-fill.svg new file mode 100644 index 0000000000..a5a22b8540 --- /dev/null +++ b/web-dist/icons/tree-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tree-line.svg b/web-dist/icons/tree-line.svg new file mode 100644 index 0000000000..e1f6765aad --- /dev/null +++ b/web-dist/icons/tree-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/trello-fill.svg b/web-dist/icons/trello-fill.svg new file mode 100644 index 0000000000..bb405dfe1b --- /dev/null +++ b/web-dist/icons/trello-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/trello-line.svg b/web-dist/icons/trello-line.svg new file mode 100644 index 0000000000..3c464274c6 --- /dev/null +++ b/web-dist/icons/trello-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/triangle-fill.svg b/web-dist/icons/triangle-fill.svg new file mode 100644 index 0000000000..94e8267f01 --- /dev/null +++ b/web-dist/icons/triangle-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/triangle-line.svg b/web-dist/icons/triangle-line.svg new file mode 100644 index 0000000000..d4c8a0abe3 --- /dev/null +++ b/web-dist/icons/triangle-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/triangular-flag-fill.svg b/web-dist/icons/triangular-flag-fill.svg new file mode 100644 index 0000000000..38daaf555e --- /dev/null +++ b/web-dist/icons/triangular-flag-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/triangular-flag-line.svg b/web-dist/icons/triangular-flag-line.svg new file mode 100644 index 0000000000..591cdd3a89 --- /dev/null +++ b/web-dist/icons/triangular-flag-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/trophy-fill.svg b/web-dist/icons/trophy-fill.svg new file mode 100644 index 0000000000..955d8e75bf --- /dev/null +++ b/web-dist/icons/trophy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/trophy-line.svg b/web-dist/icons/trophy-line.svg new file mode 100644 index 0000000000..ec4c773a89 --- /dev/null +++ b/web-dist/icons/trophy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/truck-fill.svg b/web-dist/icons/truck-fill.svg new file mode 100644 index 0000000000..56bcebc71c --- /dev/null +++ b/web-dist/icons/truck-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/truck-line.svg b/web-dist/icons/truck-line.svg new file mode 100644 index 0000000000..3fce345936 --- /dev/null +++ b/web-dist/icons/truck-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tumblr-fill.svg b/web-dist/icons/tumblr-fill.svg new file mode 100644 index 0000000000..328bcc3ffa --- /dev/null +++ b/web-dist/icons/tumblr-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tumblr-line.svg b/web-dist/icons/tumblr-line.svg new file mode 100644 index 0000000000..f1df946e76 --- /dev/null +++ b/web-dist/icons/tumblr-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tv-2-fill.svg b/web-dist/icons/tv-2-fill.svg new file mode 100644 index 0000000000..c6fb77a2dd --- /dev/null +++ b/web-dist/icons/tv-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tv-2-line.svg b/web-dist/icons/tv-2-line.svg new file mode 100644 index 0000000000..0f205a6db9 --- /dev/null +++ b/web-dist/icons/tv-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tv-fill.svg b/web-dist/icons/tv-fill.svg new file mode 100644 index 0000000000..f470b4269a --- /dev/null +++ b/web-dist/icons/tv-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/tv-line.svg b/web-dist/icons/tv-line.svg new file mode 100644 index 0000000000..80a9051957 --- /dev/null +++ b/web-dist/icons/tv-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/twitch-fill.svg b/web-dist/icons/twitch-fill.svg new file mode 100644 index 0000000000..1bfa1dab5a --- /dev/null +++ b/web-dist/icons/twitch-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/twitch-line.svg b/web-dist/icons/twitch-line.svg new file mode 100644 index 0000000000..c41abded60 --- /dev/null +++ b/web-dist/icons/twitch-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/twitter-fill.svg b/web-dist/icons/twitter-fill.svg new file mode 100644 index 0000000000..5b5ec9cec8 --- /dev/null +++ b/web-dist/icons/twitter-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/twitter-line.svg b/web-dist/icons/twitter-line.svg new file mode 100644 index 0000000000..80edc1be0f --- /dev/null +++ b/web-dist/icons/twitter-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/twitter-x-fill.svg b/web-dist/icons/twitter-x-fill.svg new file mode 100644 index 0000000000..1879f1c121 --- /dev/null +++ b/web-dist/icons/twitter-x-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/twitter-x-line.svg b/web-dist/icons/twitter-x-line.svg new file mode 100644 index 0000000000..65ffe96dfa --- /dev/null +++ b/web-dist/icons/twitter-x-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/typhoon-fill.svg b/web-dist/icons/typhoon-fill.svg new file mode 100644 index 0000000000..7eb17f3c7a --- /dev/null +++ b/web-dist/icons/typhoon-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/typhoon-line.svg b/web-dist/icons/typhoon-line.svg new file mode 100644 index 0000000000..4c4651c622 --- /dev/null +++ b/web-dist/icons/typhoon-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/u-disk-fill.svg b/web-dist/icons/u-disk-fill.svg new file mode 100644 index 0000000000..eea008e50c --- /dev/null +++ b/web-dist/icons/u-disk-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/u-disk-line.svg b/web-dist/icons/u-disk-line.svg new file mode 100644 index 0000000000..eb7871d096 --- /dev/null +++ b/web-dist/icons/u-disk-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ubuntu-fill.svg b/web-dist/icons/ubuntu-fill.svg new file mode 100644 index 0000000000..e946c5e802 --- /dev/null +++ b/web-dist/icons/ubuntu-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/ubuntu-line.svg b/web-dist/icons/ubuntu-line.svg new file mode 100644 index 0000000000..15c3eccdd3 --- /dev/null +++ b/web-dist/icons/ubuntu-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/umbrella-fill.svg b/web-dist/icons/umbrella-fill.svg new file mode 100644 index 0000000000..befa8afd18 --- /dev/null +++ b/web-dist/icons/umbrella-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/umbrella-line.svg b/web-dist/icons/umbrella-line.svg new file mode 100644 index 0000000000..8af4495ba4 --- /dev/null +++ b/web-dist/icons/umbrella-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/underline.svg b/web-dist/icons/underline.svg new file mode 100644 index 0000000000..6efcd8add3 --- /dev/null +++ b/web-dist/icons/underline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/uninstall-fill.svg b/web-dist/icons/uninstall-fill.svg new file mode 100644 index 0000000000..e52e25b64e --- /dev/null +++ b/web-dist/icons/uninstall-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/uninstall-line.svg b/web-dist/icons/uninstall-line.svg new file mode 100644 index 0000000000..1e1b94d833 --- /dev/null +++ b/web-dist/icons/uninstall-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/unpin-fill.svg b/web-dist/icons/unpin-fill.svg new file mode 100644 index 0000000000..1763a4002a --- /dev/null +++ b/web-dist/icons/unpin-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/unpin-line.svg b/web-dist/icons/unpin-line.svg new file mode 100644 index 0000000000..ef9788f51d --- /dev/null +++ b/web-dist/icons/unpin-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/unsplash-fill.svg b/web-dist/icons/unsplash-fill.svg new file mode 100644 index 0000000000..befc1d8398 --- /dev/null +++ b/web-dist/icons/unsplash-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/unsplash-line.svg b/web-dist/icons/unsplash-line.svg new file mode 100644 index 0000000000..04dba323f3 --- /dev/null +++ b/web-dist/icons/unsplash-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/upload-2-fill.svg b/web-dist/icons/upload-2-fill.svg new file mode 100644 index 0000000000..836a8c6425 --- /dev/null +++ b/web-dist/icons/upload-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/upload-2-line.svg b/web-dist/icons/upload-2-line.svg new file mode 100644 index 0000000000..e21934a0f4 --- /dev/null +++ b/web-dist/icons/upload-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/upload-cloud-2-fill.svg b/web-dist/icons/upload-cloud-2-fill.svg new file mode 100644 index 0000000000..045c52b959 --- /dev/null +++ b/web-dist/icons/upload-cloud-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/upload-cloud-2-line.svg b/web-dist/icons/upload-cloud-2-line.svg new file mode 100644 index 0000000000..f02f63d1c0 --- /dev/null +++ b/web-dist/icons/upload-cloud-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/upload-cloud-fill.svg b/web-dist/icons/upload-cloud-fill.svg new file mode 100644 index 0000000000..1d880c0a40 --- /dev/null +++ b/web-dist/icons/upload-cloud-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/upload-cloud-line.svg b/web-dist/icons/upload-cloud-line.svg new file mode 100644 index 0000000000..4801510203 --- /dev/null +++ b/web-dist/icons/upload-cloud-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/upload-fill.svg b/web-dist/icons/upload-fill.svg new file mode 100644 index 0000000000..373947df3e --- /dev/null +++ b/web-dist/icons/upload-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/upload-line.svg b/web-dist/icons/upload-line.svg new file mode 100644 index 0000000000..7b4656a0b7 --- /dev/null +++ b/web-dist/icons/upload-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/usb-fill.svg b/web-dist/icons/usb-fill.svg new file mode 100644 index 0000000000..a02d60103f --- /dev/null +++ b/web-dist/icons/usb-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/usb-line.svg b/web-dist/icons/usb-line.svg new file mode 100644 index 0000000000..d4f4e4dfd9 --- /dev/null +++ b/web-dist/icons/usb-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-2-fill.svg b/web-dist/icons/user-2-fill.svg new file mode 100644 index 0000000000..d279ee9fcd --- /dev/null +++ b/web-dist/icons/user-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-2-line.svg b/web-dist/icons/user-2-line.svg new file mode 100644 index 0000000000..206c259ca6 --- /dev/null +++ b/web-dist/icons/user-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-3-fill.svg b/web-dist/icons/user-3-fill.svg new file mode 100644 index 0000000000..1b478b05ca --- /dev/null +++ b/web-dist/icons/user-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-3-line.svg b/web-dist/icons/user-3-line.svg new file mode 100644 index 0000000000..2169f6fb28 --- /dev/null +++ b/web-dist/icons/user-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-4-fill.svg b/web-dist/icons/user-4-fill.svg new file mode 100644 index 0000000000..da4f9bf047 --- /dev/null +++ b/web-dist/icons/user-4-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-4-line.svg b/web-dist/icons/user-4-line.svg new file mode 100644 index 0000000000..bfe34a333b --- /dev/null +++ b/web-dist/icons/user-4-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-5-fill.svg b/web-dist/icons/user-5-fill.svg new file mode 100644 index 0000000000..b9e9ceba4c --- /dev/null +++ b/web-dist/icons/user-5-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-5-line.svg b/web-dist/icons/user-5-line.svg new file mode 100644 index 0000000000..446e4f82ed --- /dev/null +++ b/web-dist/icons/user-5-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-6-fill.svg b/web-dist/icons/user-6-fill.svg new file mode 100644 index 0000000000..08ba812c67 --- /dev/null +++ b/web-dist/icons/user-6-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-6-line.svg b/web-dist/icons/user-6-line.svg new file mode 100644 index 0000000000..a4ff00e32e --- /dev/null +++ b/web-dist/icons/user-6-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-add-fill.svg b/web-dist/icons/user-add-fill.svg new file mode 100644 index 0000000000..c16a28b476 --- /dev/null +++ b/web-dist/icons/user-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-add-line.svg b/web-dist/icons/user-add-line.svg new file mode 100644 index 0000000000..a8f3626bc6 --- /dev/null +++ b/web-dist/icons/user-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-community-fill.svg b/web-dist/icons/user-community-fill.svg new file mode 100644 index 0000000000..a64d62fbf2 --- /dev/null +++ b/web-dist/icons/user-community-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-community-line.svg b/web-dist/icons/user-community-line.svg new file mode 100644 index 0000000000..ea66741bda --- /dev/null +++ b/web-dist/icons/user-community-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-fill.svg b/web-dist/icons/user-fill.svg new file mode 100644 index 0000000000..732cc18eca --- /dev/null +++ b/web-dist/icons/user-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-follow-fill.svg b/web-dist/icons/user-follow-fill.svg new file mode 100644 index 0000000000..ff09aec562 --- /dev/null +++ b/web-dist/icons/user-follow-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-follow-line.svg b/web-dist/icons/user-follow-line.svg new file mode 100644 index 0000000000..0da7c6840b --- /dev/null +++ b/web-dist/icons/user-follow-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-forbid-fill.svg b/web-dist/icons/user-forbid-fill.svg new file mode 100644 index 0000000000..aeea579a8c --- /dev/null +++ b/web-dist/icons/user-forbid-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-forbid-line.svg b/web-dist/icons/user-forbid-line.svg new file mode 100644 index 0000000000..e3f2ae4560 --- /dev/null +++ b/web-dist/icons/user-forbid-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-heart-fill.svg b/web-dist/icons/user-heart-fill.svg new file mode 100644 index 0000000000..3645491f0e --- /dev/null +++ b/web-dist/icons/user-heart-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-heart-line.svg b/web-dist/icons/user-heart-line.svg new file mode 100644 index 0000000000..63c68f469e --- /dev/null +++ b/web-dist/icons/user-heart-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-line.svg b/web-dist/icons/user-line.svg new file mode 100644 index 0000000000..c4292eb2bd --- /dev/null +++ b/web-dist/icons/user-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-location-fill.svg b/web-dist/icons/user-location-fill.svg new file mode 100644 index 0000000000..df530be253 --- /dev/null +++ b/web-dist/icons/user-location-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-location-line.svg b/web-dist/icons/user-location-line.svg new file mode 100644 index 0000000000..061a70a759 --- /dev/null +++ b/web-dist/icons/user-location-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-minus-fill.svg b/web-dist/icons/user-minus-fill.svg new file mode 100644 index 0000000000..5367efed8b --- /dev/null +++ b/web-dist/icons/user-minus-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-minus-line.svg b/web-dist/icons/user-minus-line.svg new file mode 100644 index 0000000000..d2225637f5 --- /dev/null +++ b/web-dist/icons/user-minus-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-received-2-fill.svg b/web-dist/icons/user-received-2-fill.svg new file mode 100644 index 0000000000..32a74dde4f --- /dev/null +++ b/web-dist/icons/user-received-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-received-2-line.svg b/web-dist/icons/user-received-2-line.svg new file mode 100644 index 0000000000..e2ba75baed --- /dev/null +++ b/web-dist/icons/user-received-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-received-fill.svg b/web-dist/icons/user-received-fill.svg new file mode 100644 index 0000000000..4c85ebfcd4 --- /dev/null +++ b/web-dist/icons/user-received-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-received-line.svg b/web-dist/icons/user-received-line.svg new file mode 100644 index 0000000000..af160c8b29 --- /dev/null +++ b/web-dist/icons/user-received-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-search-fill.svg b/web-dist/icons/user-search-fill.svg new file mode 100644 index 0000000000..1526500e26 --- /dev/null +++ b/web-dist/icons/user-search-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-search-line.svg b/web-dist/icons/user-search-line.svg new file mode 100644 index 0000000000..362a34c6cf --- /dev/null +++ b/web-dist/icons/user-search-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-settings-fill.svg b/web-dist/icons/user-settings-fill.svg new file mode 100644 index 0000000000..3fd326fa47 --- /dev/null +++ b/web-dist/icons/user-settings-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-settings-line.svg b/web-dist/icons/user-settings-line.svg new file mode 100644 index 0000000000..041fea0709 --- /dev/null +++ b/web-dist/icons/user-settings-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-shared-2-fill.svg b/web-dist/icons/user-shared-2-fill.svg new file mode 100644 index 0000000000..54fedf19a4 --- /dev/null +++ b/web-dist/icons/user-shared-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-shared-2-line.svg b/web-dist/icons/user-shared-2-line.svg new file mode 100644 index 0000000000..3da5879acc --- /dev/null +++ b/web-dist/icons/user-shared-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-shared-fill.svg b/web-dist/icons/user-shared-fill.svg new file mode 100644 index 0000000000..e7d740acd3 --- /dev/null +++ b/web-dist/icons/user-shared-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-shared-line.svg b/web-dist/icons/user-shared-line.svg new file mode 100644 index 0000000000..0bb39c69cc --- /dev/null +++ b/web-dist/icons/user-shared-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-smile-fill.svg b/web-dist/icons/user-smile-fill.svg new file mode 100644 index 0000000000..549466b02a --- /dev/null +++ b/web-dist/icons/user-smile-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-smile-line.svg b/web-dist/icons/user-smile-line.svg new file mode 100644 index 0000000000..9e99f5e679 --- /dev/null +++ b/web-dist/icons/user-smile-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-star-fill.svg b/web-dist/icons/user-star-fill.svg new file mode 100644 index 0000000000..199898ccad --- /dev/null +++ b/web-dist/icons/user-star-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-star-line.svg b/web-dist/icons/user-star-line.svg new file mode 100644 index 0000000000..a76c169544 --- /dev/null +++ b/web-dist/icons/user-star-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-unfollow-fill.svg b/web-dist/icons/user-unfollow-fill.svg new file mode 100644 index 0000000000..3c2a3a1a7c --- /dev/null +++ b/web-dist/icons/user-unfollow-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-unfollow-line.svg b/web-dist/icons/user-unfollow-line.svg new file mode 100644 index 0000000000..deacb37e70 --- /dev/null +++ b/web-dist/icons/user-unfollow-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-voice-fill.svg b/web-dist/icons/user-voice-fill.svg new file mode 100644 index 0000000000..8333c6ca24 --- /dev/null +++ b/web-dist/icons/user-voice-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/user-voice-line.svg b/web-dist/icons/user-voice-line.svg new file mode 100644 index 0000000000..29c7a0d931 --- /dev/null +++ b/web-dist/icons/user-voice-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vercel-fill.svg b/web-dist/icons/vercel-fill.svg new file mode 100644 index 0000000000..848b4324d8 --- /dev/null +++ b/web-dist/icons/vercel-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vercel-line.svg b/web-dist/icons/vercel-line.svg new file mode 100644 index 0000000000..2d8c6e3b2a --- /dev/null +++ b/web-dist/icons/vercel-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/verified-badge-fill.svg b/web-dist/icons/verified-badge-fill.svg new file mode 100644 index 0000000000..03b437cc49 --- /dev/null +++ b/web-dist/icons/verified-badge-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/verified-badge-line.svg b/web-dist/icons/verified-badge-line.svg new file mode 100644 index 0000000000..08979cf4a1 --- /dev/null +++ b/web-dist/icons/verified-badge-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-add-fill.svg b/web-dist/icons/video-add-fill.svg new file mode 100644 index 0000000000..7c6101a5c8 --- /dev/null +++ b/web-dist/icons/video-add-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-add-line.svg b/web-dist/icons/video-add-line.svg new file mode 100644 index 0000000000..00fb1fbc37 --- /dev/null +++ b/web-dist/icons/video-add-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-ai-fill.svg b/web-dist/icons/video-ai-fill.svg new file mode 100644 index 0000000000..6b55b914d5 --- /dev/null +++ b/web-dist/icons/video-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-ai-line.svg b/web-dist/icons/video-ai-line.svg new file mode 100644 index 0000000000..7ca98a6d13 --- /dev/null +++ b/web-dist/icons/video-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-chat-fill.svg b/web-dist/icons/video-chat-fill.svg new file mode 100644 index 0000000000..5d23864899 --- /dev/null +++ b/web-dist/icons/video-chat-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-chat-line.svg b/web-dist/icons/video-chat-line.svg new file mode 100644 index 0000000000..94cf788b61 --- /dev/null +++ b/web-dist/icons/video-chat-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-download-fill.svg b/web-dist/icons/video-download-fill.svg new file mode 100644 index 0000000000..77b58efdad --- /dev/null +++ b/web-dist/icons/video-download-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-download-line.svg b/web-dist/icons/video-download-line.svg new file mode 100644 index 0000000000..7d64e9b0b4 --- /dev/null +++ b/web-dist/icons/video-download-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-fill.svg b/web-dist/icons/video-fill.svg new file mode 100644 index 0000000000..882a1444b1 --- /dev/null +++ b/web-dist/icons/video-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-line.svg b/web-dist/icons/video-line.svg new file mode 100644 index 0000000000..49c3549a7b --- /dev/null +++ b/web-dist/icons/video-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-off-fill.svg b/web-dist/icons/video-off-fill.svg new file mode 100644 index 0000000000..93514eda3c --- /dev/null +++ b/web-dist/icons/video-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-off-line.svg b/web-dist/icons/video-off-line.svg new file mode 100644 index 0000000000..36c718741d --- /dev/null +++ b/web-dist/icons/video-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-on-ai-fill.svg b/web-dist/icons/video-on-ai-fill.svg new file mode 100644 index 0000000000..4f83309162 --- /dev/null +++ b/web-dist/icons/video-on-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-on-ai-line.svg b/web-dist/icons/video-on-ai-line.svg new file mode 100644 index 0000000000..a56067dadc --- /dev/null +++ b/web-dist/icons/video-on-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-on-fill.svg b/web-dist/icons/video-on-fill.svg new file mode 100644 index 0000000000..631f6065e3 --- /dev/null +++ b/web-dist/icons/video-on-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-on-line.svg b/web-dist/icons/video-on-line.svg new file mode 100644 index 0000000000..cec745d019 --- /dev/null +++ b/web-dist/icons/video-on-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-upload-fill.svg b/web-dist/icons/video-upload-fill.svg new file mode 100644 index 0000000000..0b232a3112 --- /dev/null +++ b/web-dist/icons/video-upload-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/video-upload-line.svg b/web-dist/icons/video-upload-line.svg new file mode 100644 index 0000000000..b10e120a4c --- /dev/null +++ b/web-dist/icons/video-upload-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vidicon-2-fill.svg b/web-dist/icons/vidicon-2-fill.svg new file mode 100644 index 0000000000..9b9967278b --- /dev/null +++ b/web-dist/icons/vidicon-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vidicon-2-line.svg b/web-dist/icons/vidicon-2-line.svg new file mode 100644 index 0000000000..386a5728f0 --- /dev/null +++ b/web-dist/icons/vidicon-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vidicon-fill.svg b/web-dist/icons/vidicon-fill.svg new file mode 100644 index 0000000000..bb9c7eb8bf --- /dev/null +++ b/web-dist/icons/vidicon-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vidicon-line.svg b/web-dist/icons/vidicon-line.svg new file mode 100644 index 0000000000..5bef54bf86 --- /dev/null +++ b/web-dist/icons/vidicon-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vimeo-fill.svg b/web-dist/icons/vimeo-fill.svg new file mode 100644 index 0000000000..41a0d9cbb3 --- /dev/null +++ b/web-dist/icons/vimeo-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vimeo-line.svg b/web-dist/icons/vimeo-line.svg new file mode 100644 index 0000000000..b9c93827bf --- /dev/null +++ b/web-dist/icons/vimeo-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vip-crown-2-fill.svg b/web-dist/icons/vip-crown-2-fill.svg new file mode 100644 index 0000000000..22dbbdb846 --- /dev/null +++ b/web-dist/icons/vip-crown-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vip-crown-2-line.svg b/web-dist/icons/vip-crown-2-line.svg new file mode 100644 index 0000000000..2f62c57320 --- /dev/null +++ b/web-dist/icons/vip-crown-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vip-crown-fill.svg b/web-dist/icons/vip-crown-fill.svg new file mode 100644 index 0000000000..f16af65297 --- /dev/null +++ b/web-dist/icons/vip-crown-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vip-crown-line.svg b/web-dist/icons/vip-crown-line.svg new file mode 100644 index 0000000000..946d895fab --- /dev/null +++ b/web-dist/icons/vip-crown-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vip-diamond-fill.svg b/web-dist/icons/vip-diamond-fill.svg new file mode 100644 index 0000000000..b7c998e50b --- /dev/null +++ b/web-dist/icons/vip-diamond-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vip-diamond-line.svg b/web-dist/icons/vip-diamond-line.svg new file mode 100644 index 0000000000..fe2987be92 --- /dev/null +++ b/web-dist/icons/vip-diamond-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vip-fill.svg b/web-dist/icons/vip-fill.svg new file mode 100644 index 0000000000..5652af17ee --- /dev/null +++ b/web-dist/icons/vip-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vip-line.svg b/web-dist/icons/vip-line.svg new file mode 100644 index 0000000000..67101d6476 --- /dev/null +++ b/web-dist/icons/vip-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/virus-fill.svg b/web-dist/icons/virus-fill.svg new file mode 100644 index 0000000000..e656ff3616 --- /dev/null +++ b/web-dist/icons/virus-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/virus-line.svg b/web-dist/icons/virus-line.svg new file mode 100644 index 0000000000..8802aa501d --- /dev/null +++ b/web-dist/icons/virus-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/visa-fill.svg b/web-dist/icons/visa-fill.svg new file mode 100644 index 0000000000..a5968d7fba --- /dev/null +++ b/web-dist/icons/visa-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/visa-line.svg b/web-dist/icons/visa-line.svg new file mode 100644 index 0000000000..9764ce491d --- /dev/null +++ b/web-dist/icons/visa-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vk-fill.svg b/web-dist/icons/vk-fill.svg new file mode 100644 index 0000000000..5180500ba8 --- /dev/null +++ b/web-dist/icons/vk-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vk-line.svg b/web-dist/icons/vk-line.svg new file mode 100644 index 0000000000..cafcd7859a --- /dev/null +++ b/web-dist/icons/vk-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/voice-ai-fill.svg b/web-dist/icons/voice-ai-fill.svg new file mode 100644 index 0000000000..8d4fcac83d --- /dev/null +++ b/web-dist/icons/voice-ai-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/voice-ai-line.svg b/web-dist/icons/voice-ai-line.svg new file mode 100644 index 0000000000..8d4fcac83d --- /dev/null +++ b/web-dist/icons/voice-ai-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/voice-recognition-fill.svg b/web-dist/icons/voice-recognition-fill.svg new file mode 100644 index 0000000000..6daf4483df --- /dev/null +++ b/web-dist/icons/voice-recognition-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/voice-recognition-line.svg b/web-dist/icons/voice-recognition-line.svg new file mode 100644 index 0000000000..3d78645cca --- /dev/null +++ b/web-dist/icons/voice-recognition-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/voiceprint-fill.svg b/web-dist/icons/voiceprint-fill.svg new file mode 100644 index 0000000000..cb40a93b1f --- /dev/null +++ b/web-dist/icons/voiceprint-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/voiceprint-line.svg b/web-dist/icons/voiceprint-line.svg new file mode 100644 index 0000000000..cb40a93b1f --- /dev/null +++ b/web-dist/icons/voiceprint-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/volume-down-fill.svg b/web-dist/icons/volume-down-fill.svg new file mode 100644 index 0000000000..0f5ee10cef --- /dev/null +++ b/web-dist/icons/volume-down-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/volume-down-line.svg b/web-dist/icons/volume-down-line.svg new file mode 100644 index 0000000000..5c495eaabf --- /dev/null +++ b/web-dist/icons/volume-down-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/volume-mute-fill.svg b/web-dist/icons/volume-mute-fill.svg new file mode 100644 index 0000000000..5b53f7f8af --- /dev/null +++ b/web-dist/icons/volume-mute-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/volume-mute-line.svg b/web-dist/icons/volume-mute-line.svg new file mode 100644 index 0000000000..61718751a9 --- /dev/null +++ b/web-dist/icons/volume-mute-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/volume-off-vibrate-fill.svg b/web-dist/icons/volume-off-vibrate-fill.svg new file mode 100644 index 0000000000..7f02addc37 --- /dev/null +++ b/web-dist/icons/volume-off-vibrate-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/volume-off-vibrate-line.svg b/web-dist/icons/volume-off-vibrate-line.svg new file mode 100644 index 0000000000..0931d2a593 --- /dev/null +++ b/web-dist/icons/volume-off-vibrate-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/volume-up-fill.svg b/web-dist/icons/volume-up-fill.svg new file mode 100644 index 0000000000..108957fa06 --- /dev/null +++ b/web-dist/icons/volume-up-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/volume-up-line.svg b/web-dist/icons/volume-up-line.svg new file mode 100644 index 0000000000..82a8a38d35 --- /dev/null +++ b/web-dist/icons/volume-up-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/volume-vibrate-fill.svg b/web-dist/icons/volume-vibrate-fill.svg new file mode 100644 index 0000000000..213f2e5d16 --- /dev/null +++ b/web-dist/icons/volume-vibrate-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/volume-vibrate-line.svg b/web-dist/icons/volume-vibrate-line.svg new file mode 100644 index 0000000000..ddc410fee7 --- /dev/null +++ b/web-dist/icons/volume-vibrate-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vuejs-fill.svg b/web-dist/icons/vuejs-fill.svg new file mode 100644 index 0000000000..faf87add8f --- /dev/null +++ b/web-dist/icons/vuejs-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/vuejs-line.svg b/web-dist/icons/vuejs-line.svg new file mode 100644 index 0000000000..a79280adc5 --- /dev/null +++ b/web-dist/icons/vuejs-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/walk-fill.svg b/web-dist/icons/walk-fill.svg new file mode 100644 index 0000000000..7ee33aa013 --- /dev/null +++ b/web-dist/icons/walk-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/walk-line.svg b/web-dist/icons/walk-line.svg new file mode 100644 index 0000000000..7ee33aa013 --- /dev/null +++ b/web-dist/icons/walk-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wallet-2-fill.svg b/web-dist/icons/wallet-2-fill.svg new file mode 100644 index 0000000000..dc99745192 --- /dev/null +++ b/web-dist/icons/wallet-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wallet-2-line.svg b/web-dist/icons/wallet-2-line.svg new file mode 100644 index 0000000000..25d41ad67b --- /dev/null +++ b/web-dist/icons/wallet-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wallet-3-fill.svg b/web-dist/icons/wallet-3-fill.svg new file mode 100644 index 0000000000..7be042ad84 --- /dev/null +++ b/web-dist/icons/wallet-3-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wallet-3-line.svg b/web-dist/icons/wallet-3-line.svg new file mode 100644 index 0000000000..053cf7ca6f --- /dev/null +++ b/web-dist/icons/wallet-3-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wallet-fill.svg b/web-dist/icons/wallet-fill.svg new file mode 100644 index 0000000000..79c2d22906 --- /dev/null +++ b/web-dist/icons/wallet-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wallet-line.svg b/web-dist/icons/wallet-line.svg new file mode 100644 index 0000000000..c6c9906b89 --- /dev/null +++ b/web-dist/icons/wallet-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/water-flash-fill.svg b/web-dist/icons/water-flash-fill.svg new file mode 100644 index 0000000000..a41ce30cc5 --- /dev/null +++ b/web-dist/icons/water-flash-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/water-flash-line.svg b/web-dist/icons/water-flash-line.svg new file mode 100644 index 0000000000..2c6fa94260 --- /dev/null +++ b/web-dist/icons/water-flash-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/water-percent-fill.svg b/web-dist/icons/water-percent-fill.svg new file mode 100644 index 0000000000..569cf0c02e --- /dev/null +++ b/web-dist/icons/water-percent-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/water-percent-line.svg b/web-dist/icons/water-percent-line.svg new file mode 100644 index 0000000000..6c5ab16860 --- /dev/null +++ b/web-dist/icons/water-percent-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/webcam-fill.svg b/web-dist/icons/webcam-fill.svg new file mode 100644 index 0000000000..37028ccf48 --- /dev/null +++ b/web-dist/icons/webcam-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/webcam-line.svg b/web-dist/icons/webcam-line.svg new file mode 100644 index 0000000000..8c66aef51c --- /dev/null +++ b/web-dist/icons/webcam-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/webhook-fill.svg b/web-dist/icons/webhook-fill.svg new file mode 100644 index 0000000000..f095685347 --- /dev/null +++ b/web-dist/icons/webhook-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/webhook-line.svg b/web-dist/icons/webhook-line.svg new file mode 100644 index 0000000000..925735cab4 --- /dev/null +++ b/web-dist/icons/webhook-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wechat-2-fill.svg b/web-dist/icons/wechat-2-fill.svg new file mode 100644 index 0000000000..2d2247e49c --- /dev/null +++ b/web-dist/icons/wechat-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wechat-2-line.svg b/web-dist/icons/wechat-2-line.svg new file mode 100644 index 0000000000..cb265298b6 --- /dev/null +++ b/web-dist/icons/wechat-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wechat-channels-fill.svg b/web-dist/icons/wechat-channels-fill.svg new file mode 100644 index 0000000000..7cea909da4 --- /dev/null +++ b/web-dist/icons/wechat-channels-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wechat-channels-line.svg b/web-dist/icons/wechat-channels-line.svg new file mode 100644 index 0000000000..b482537910 --- /dev/null +++ b/web-dist/icons/wechat-channels-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wechat-fill.svg b/web-dist/icons/wechat-fill.svg new file mode 100644 index 0000000000..d42f2bf62c --- /dev/null +++ b/web-dist/icons/wechat-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wechat-line.svg b/web-dist/icons/wechat-line.svg new file mode 100644 index 0000000000..572628cc7f --- /dev/null +++ b/web-dist/icons/wechat-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wechat-pay-fill.svg b/web-dist/icons/wechat-pay-fill.svg new file mode 100644 index 0000000000..7396e64035 --- /dev/null +++ b/web-dist/icons/wechat-pay-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wechat-pay-line.svg b/web-dist/icons/wechat-pay-line.svg new file mode 100644 index 0000000000..56bc13e830 --- /dev/null +++ b/web-dist/icons/wechat-pay-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/weibo-fill.svg b/web-dist/icons/weibo-fill.svg new file mode 100644 index 0000000000..1fb8922bad --- /dev/null +++ b/web-dist/icons/weibo-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/weibo-line.svg b/web-dist/icons/weibo-line.svg new file mode 100644 index 0000000000..b35da18b3f --- /dev/null +++ b/web-dist/icons/weibo-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/weight-fill.svg b/web-dist/icons/weight-fill.svg new file mode 100644 index 0000000000..e7dbb5ed5c --- /dev/null +++ b/web-dist/icons/weight-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/weight-line.svg b/web-dist/icons/weight-line.svg new file mode 100644 index 0000000000..e1a5ee24f3 --- /dev/null +++ b/web-dist/icons/weight-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/whatsapp-fill.svg b/web-dist/icons/whatsapp-fill.svg new file mode 100644 index 0000000000..e1c8d7029b --- /dev/null +++ b/web-dist/icons/whatsapp-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/whatsapp-line.svg b/web-dist/icons/whatsapp-line.svg new file mode 100644 index 0000000000..f52899f357 --- /dev/null +++ b/web-dist/icons/whatsapp-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wheelchair-fill.svg b/web-dist/icons/wheelchair-fill.svg new file mode 100644 index 0000000000..9a623e53f2 --- /dev/null +++ b/web-dist/icons/wheelchair-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wheelchair-line.svg b/web-dist/icons/wheelchair-line.svg new file mode 100644 index 0000000000..780025d672 --- /dev/null +++ b/web-dist/icons/wheelchair-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wifi-fill.svg b/web-dist/icons/wifi-fill.svg new file mode 100644 index 0000000000..fdcab6cdf0 --- /dev/null +++ b/web-dist/icons/wifi-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wifi-line.svg b/web-dist/icons/wifi-line.svg new file mode 100644 index 0000000000..693949cbb2 --- /dev/null +++ b/web-dist/icons/wifi-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wifi-off-fill.svg b/web-dist/icons/wifi-off-fill.svg new file mode 100644 index 0000000000..e572f6dff8 --- /dev/null +++ b/web-dist/icons/wifi-off-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wifi-off-line.svg b/web-dist/icons/wifi-off-line.svg new file mode 100644 index 0000000000..a5232e59cb --- /dev/null +++ b/web-dist/icons/wifi-off-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/window-2-fill.svg b/web-dist/icons/window-2-fill.svg new file mode 100644 index 0000000000..1655a9d5f7 --- /dev/null +++ b/web-dist/icons/window-2-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/window-2-line.svg b/web-dist/icons/window-2-line.svg new file mode 100644 index 0000000000..293778f5a2 --- /dev/null +++ b/web-dist/icons/window-2-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/window-fill.svg b/web-dist/icons/window-fill.svg new file mode 100644 index 0000000000..e1ae07c529 --- /dev/null +++ b/web-dist/icons/window-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/window-line.svg b/web-dist/icons/window-line.svg new file mode 100644 index 0000000000..5c23ad8452 --- /dev/null +++ b/web-dist/icons/window-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/windows-fill.svg b/web-dist/icons/windows-fill.svg new file mode 100644 index 0000000000..1ad457359e --- /dev/null +++ b/web-dist/icons/windows-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/windows-line.svg b/web-dist/icons/windows-line.svg new file mode 100644 index 0000000000..3aafe8b390 --- /dev/null +++ b/web-dist/icons/windows-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/windy-fill.svg b/web-dist/icons/windy-fill.svg new file mode 100644 index 0000000000..acd1edd212 --- /dev/null +++ b/web-dist/icons/windy-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/windy-line.svg b/web-dist/icons/windy-line.svg new file mode 100644 index 0000000000..acd1edd212 --- /dev/null +++ b/web-dist/icons/windy-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wireless-charging-fill.svg b/web-dist/icons/wireless-charging-fill.svg new file mode 100644 index 0000000000..24a264dd2e --- /dev/null +++ b/web-dist/icons/wireless-charging-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wireless-charging-line.svg b/web-dist/icons/wireless-charging-line.svg new file mode 100644 index 0000000000..5d4b2a8173 --- /dev/null +++ b/web-dist/icons/wireless-charging-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/women-fill.svg b/web-dist/icons/women-fill.svg new file mode 100644 index 0000000000..ce4cbff5bc --- /dev/null +++ b/web-dist/icons/women-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/women-line.svg b/web-dist/icons/women-line.svg new file mode 100644 index 0000000000..54b8d5db01 --- /dev/null +++ b/web-dist/icons/women-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wordpress-fill.svg b/web-dist/icons/wordpress-fill.svg new file mode 100644 index 0000000000..34a26368b6 --- /dev/null +++ b/web-dist/icons/wordpress-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wordpress-line.svg b/web-dist/icons/wordpress-line.svg new file mode 100644 index 0000000000..5a54192b3d --- /dev/null +++ b/web-dist/icons/wordpress-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/wubi-input.svg b/web-dist/icons/wubi-input.svg new file mode 100644 index 0000000000..d7ec265b8b --- /dev/null +++ b/web-dist/icons/wubi-input.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/xbox-fill.svg b/web-dist/icons/xbox-fill.svg new file mode 100644 index 0000000000..460f46b5e6 --- /dev/null +++ b/web-dist/icons/xbox-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/xbox-line.svg b/web-dist/icons/xbox-line.svg new file mode 100644 index 0000000000..f3bc77164c --- /dev/null +++ b/web-dist/icons/xbox-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/xing-fill.svg b/web-dist/icons/xing-fill.svg new file mode 100644 index 0000000000..cbdd1b362a --- /dev/null +++ b/web-dist/icons/xing-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/xing-line.svg b/web-dist/icons/xing-line.svg new file mode 100644 index 0000000000..a12d0da017 --- /dev/null +++ b/web-dist/icons/xing-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/xrp-fill.svg b/web-dist/icons/xrp-fill.svg new file mode 100644 index 0000000000..c3bd3ee63c --- /dev/null +++ b/web-dist/icons/xrp-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/xrp-line.svg b/web-dist/icons/xrp-line.svg new file mode 100644 index 0000000000..c3bd3ee63c --- /dev/null +++ b/web-dist/icons/xrp-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/xtz-fill.svg b/web-dist/icons/xtz-fill.svg new file mode 100644 index 0000000000..c248ff2a6c --- /dev/null +++ b/web-dist/icons/xtz-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/xtz-line.svg b/web-dist/icons/xtz-line.svg new file mode 100644 index 0000000000..9e49a43f51 --- /dev/null +++ b/web-dist/icons/xtz-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/youtube-fill.svg b/web-dist/icons/youtube-fill.svg new file mode 100644 index 0000000000..fbc1907894 --- /dev/null +++ b/web-dist/icons/youtube-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/youtube-line.svg b/web-dist/icons/youtube-line.svg new file mode 100644 index 0000000000..7b5598f32b --- /dev/null +++ b/web-dist/icons/youtube-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/yuque-fill.svg b/web-dist/icons/yuque-fill.svg new file mode 100644 index 0000000000..f0e8ab9594 --- /dev/null +++ b/web-dist/icons/yuque-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/yuque-line.svg b/web-dist/icons/yuque-line.svg new file mode 100644 index 0000000000..8fb4b5d0cb --- /dev/null +++ b/web-dist/icons/yuque-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/zcool-fill.svg b/web-dist/icons/zcool-fill.svg new file mode 100644 index 0000000000..80f954d27e --- /dev/null +++ b/web-dist/icons/zcool-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/zcool-line.svg b/web-dist/icons/zcool-line.svg new file mode 100644 index 0000000000..4f0a26b809 --- /dev/null +++ b/web-dist/icons/zcool-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/zhihu-fill.svg b/web-dist/icons/zhihu-fill.svg new file mode 100644 index 0000000000..a5220d7db9 --- /dev/null +++ b/web-dist/icons/zhihu-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/zhihu-line.svg b/web-dist/icons/zhihu-line.svg new file mode 100644 index 0000000000..df1e6b6d61 --- /dev/null +++ b/web-dist/icons/zhihu-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/zoom-in-fill.svg b/web-dist/icons/zoom-in-fill.svg new file mode 100644 index 0000000000..6a196954ec --- /dev/null +++ b/web-dist/icons/zoom-in-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/zoom-in-line.svg b/web-dist/icons/zoom-in-line.svg new file mode 100644 index 0000000000..11a76f1c65 --- /dev/null +++ b/web-dist/icons/zoom-in-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/zoom-out-fill.svg b/web-dist/icons/zoom-out-fill.svg new file mode 100644 index 0000000000..06fbb2f8e2 --- /dev/null +++ b/web-dist/icons/zoom-out-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/zoom-out-line.svg b/web-dist/icons/zoom-out-line.svg new file mode 100644 index 0000000000..8dc66c2d6e --- /dev/null +++ b/web-dist/icons/zoom-out-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/zzz-fill.svg b/web-dist/icons/zzz-fill.svg new file mode 100644 index 0000000000..a79c7734ba --- /dev/null +++ b/web-dist/icons/zzz-fill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/icons/zzz-line.svg b/web-dist/icons/zzz-line.svg new file mode 100644 index 0000000000..a79c7734ba --- /dev/null +++ b/web-dist/icons/zzz-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web-dist/images/default-space-icon.png b/web-dist/images/default-space-icon.png new file mode 100644 index 0000000000..5e1c8e8bb0 Binary files /dev/null and b/web-dist/images/default-space-icon.png differ diff --git a/web-dist/images/empty-states/404.svg b/web-dist/images/empty-states/404.svg new file mode 100644 index 0000000000..81c4ed81ec --- /dev/null +++ b/web-dist/images/empty-states/404.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/web-dist/images/empty-states/empty-appointments.svg b/web-dist/images/empty-states/empty-appointments.svg new file mode 100644 index 0000000000..14b62286bd --- /dev/null +++ b/web-dist/images/empty-states/empty-appointments.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/web-dist/images/empty-states/empty-contacts.svg b/web-dist/images/empty-states/empty-contacts.svg new file mode 100644 index 0000000000..12081be40a --- /dev/null +++ b/web-dist/images/empty-states/empty-contacts.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/web-dist/images/empty-states/empty-folder.svg b/web-dist/images/empty-states/empty-folder.svg new file mode 100644 index 0000000000..88965fac03 --- /dev/null +++ b/web-dist/images/empty-states/empty-folder.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/web-dist/images/empty-states/empty-groups.svg b/web-dist/images/empty-states/empty-groups.svg new file mode 100644 index 0000000000..43ff1694bb --- /dev/null +++ b/web-dist/images/empty-states/empty-groups.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/web-dist/images/empty-states/empty-search-results.svg b/web-dist/images/empty-states/empty-search-results.svg new file mode 100644 index 0000000000..a6e3411c34 --- /dev/null +++ b/web-dist/images/empty-states/empty-search-results.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/web-dist/images/empty-states/empty-shared-via-link.svg b/web-dist/images/empty-states/empty-shared-via-link.svg new file mode 100644 index 0000000000..2c2b4529b0 --- /dev/null +++ b/web-dist/images/empty-states/empty-shared-via-link.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/web-dist/images/empty-states/empty-shared-with-me.svg b/web-dist/images/empty-states/empty-shared-with-me.svg new file mode 100644 index 0000000000..8a2f6062fe --- /dev/null +++ b/web-dist/images/empty-states/empty-shared-with-me.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/web-dist/images/empty-states/empty-shared-with-others.svg b/web-dist/images/empty-states/empty-shared-with-others.svg new file mode 100644 index 0000000000..8e10e15cb0 --- /dev/null +++ b/web-dist/images/empty-states/empty-shared-with-others.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web-dist/images/empty-states/empty-spaces.svg b/web-dist/images/empty-states/empty-spaces.svg new file mode 100644 index 0000000000..dd7c489829 --- /dev/null +++ b/web-dist/images/empty-states/empty-spaces.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/web-dist/images/empty-states/empty-trash.svg b/web-dist/images/empty-states/empty-trash.svg new file mode 100644 index 0000000000..47e79a8b19 --- /dev/null +++ b/web-dist/images/empty-states/empty-trash.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/web-dist/images/empty-states/empty-users.svg b/web-dist/images/empty-states/empty-users.svg new file mode 100644 index 0000000000..9f149b9935 --- /dev/null +++ b/web-dist/images/empty-states/empty-users.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/web-dist/images/icon-lilac.svg b/web-dist/images/icon-lilac.svg new file mode 100644 index 0000000000..b69c87ae81 --- /dev/null +++ b/web-dist/images/icon-lilac.svg @@ -0,0 +1,10 @@ + + + + + \ No newline at end of file diff --git a/web-dist/img/favicon.svg b/web-dist/img/favicon.svg new file mode 100644 index 0000000000..08f2fecc5d --- /dev/null +++ b/web-dist/img/favicon.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/web-dist/img/opencloud-icon.png b/web-dist/img/opencloud-icon.png new file mode 100644 index 0000000000..c59afacc48 Binary files /dev/null and b/web-dist/img/opencloud-icon.png differ diff --git a/web-dist/index.html b/web-dist/index.html new file mode 100644 index 0000000000..86eb523751 --- /dev/null +++ b/web-dist/index.html @@ -0,0 +1,224 @@ + + + + + + + + + + + OpenCloud + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + + +

Your browser is not supported

+
+
+ +
+ + +
+
+
+
+
+ + + + diff --git a/web-dist/index.html.gz b/web-dist/index.html.gz new file mode 100644 index 0000000000..7c496ad6f8 Binary files /dev/null and b/web-dist/index.html.gz differ diff --git a/web-dist/js/chunks/ActionMenuItem-5Eo133Qt.mjs b/web-dist/js/chunks/ActionMenuItem-5Eo133Qt.mjs new file mode 100644 index 0000000000..436140354c --- /dev/null +++ b/web-dist/js/chunks/ActionMenuItem-5Eo133Qt.mjs @@ -0,0 +1 @@ +import{M as g,da as w,co as I,q as s,bk as c,aZ as l,a_ as C,bL as b,aL as n,u as r,s as a,bJ as T,t as u,H as h,v,bb as y,ar as z,bd as j}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{_ as q}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";const B=g({name:"ActionMenuItem",props:{action:{type:Object,required:!0},actionOptions:{type:Object,required:!0},size:{type:String,required:!1,default:"medium"},appearance:{type:String,default:"raw"},shortcutHint:{type:Boolean,default:!0,required:!1},showTooltip:{type:Boolean,default:!1,required:!1},buttonClasses:{type:Array,default:()=>[]}},setup(t){const e=w(),{options:d}=I(e),o=s(()=>Object.hasOwn(t.action,"route")?"router-link":Object.hasOwn(t.action,"href")?"a":(Object.hasOwn(t.action,"handler")||console.warn("ActionMenuItem: No handler, route or href callback found in action",t.action),"button")),p=s(()=>({...{appearance:t.action.appearance||t.appearance,...t.action.isDisabled&&{disabled:t.action.isDisabled(t.actionOptions)},...t.action.id&&{id:t.action.id}},...c(o)==="router-link"&&{to:t.action.route(t.actionOptions)},...c(o)==="a"&&{href:t.action.href(t.actionOptions)},...["router-link","a"].includes(c(o))&&{target:d.value.cernFeatures?"_blank":"_self"}})),f=s(()=>typeof t.action.icon=="function"?t.action.icon(t.actionOptions):t.action.icon);return{componentType:o,componentProps:p,actionIcon:f}},computed:{hasExternalImageIcon(){return this.actionIcon&&/^https?:\/\//i.test(this.actionIcon)},componentListeners(){if(typeof this.action.handler!="function")return{};const t=()=>this.action.handler({...this.actionOptions});return this.action.keepOpen?{click:e=>{e.stopPropagation(),t()}}:{click:t}}}}),L={key:3,class:"oc-files-context-action-label flex flex-col","data-testid":"action-label"},P=["textContent"],A=["textContent"];function D(t,e,d,o,p,f){const i=l("oc-image"),O=l("oc-icon"),k=l("oc-button"),m=C("oc-tooltip");return b((n(),r("li",null,[b((n(),a(k,z({type:t.componentType},t.componentProps,{class:[t.action.class,"action-menu-item","align-middle","w-full",...t.buttonClasses],"aria-label":t.componentProps.disabled?t.action.disabledTooltip?.(t.actionOptions)??t.action.label(t.actionOptions):t.action.label(t.actionOptions),"data-testid":"action-handler",size:t.size,"justify-content":"left"},j(t.componentListeners)),{default:T(()=>[t.action.img?(n(),a(i,{key:0,"data-testid":"action-img",src:t.action.img,alt:"",class:"oc-icon oc-icon-m w-[22px]"},null,8,["src"])):t.hasExternalImageIcon?(n(),a(i,{key:1,"data-testid":"action-img",src:t.actionIcon,alt:"",class:"oc-icon oc-icon-m w-[22px]"},null,8,["src"])):t.actionIcon?(n(),a(O,{key:2,"data-testid":"action-icon",name:t.actionIcon,"fill-type":t.action.iconFillType||"line",size:t.size},null,8,["name","fill-type","size"])):u("",!0),e[0]||(e[0]=h()),t.action.hideLabel?u("",!0):(n(),r("span",L,[v("span",{class:"text-left",textContent:y(t.action.label(t.actionOptions))},null,8,P)])),e[1]||(e[1]=h()),t.action.shortcut&&t.shortcutHint?(n(),r("span",{key:4,class:"text-sm flex-row-reverse",textContent:y(t.action.shortcut)},null,8,A)):u("",!0)]),_:1},16,["type","class","aria-label","size"])),[[m,t.showTooltip||t.action.hideLabel?t.action.label(t.actionOptions):""]])])),[[m,t.componentProps.disabled?t.action.disabledTooltip?.(t.actionOptions):""]])}const M=q(B,[["render",D]]);export{M as A}; diff --git a/web-dist/js/chunks/ActionMenuItem-5Eo133Qt.mjs.gz b/web-dist/js/chunks/ActionMenuItem-5Eo133Qt.mjs.gz new file mode 100644 index 0000000000..3196ab04cf Binary files /dev/null and b/web-dist/js/chunks/ActionMenuItem-5Eo133Qt.mjs.gz differ diff --git a/web-dist/js/chunks/App-CYbSvL2a.mjs b/web-dist/js/chunks/App-CYbSvL2a.mjs new file mode 100644 index 0000000000..4dc08af73e --- /dev/null +++ b/web-dist/js/chunks/App-CYbSvL2a.mjs @@ -0,0 +1,6 @@ +import{ch as si,ci as Bt,bU as wt,dD as Zn,dj as xr,M as Gn,dc as Dr,aU as Ot,bk as Ue,cq as Yn,bE as Ar,q as Cr,as as Xn,aZ as ui,a_ as Kn,aL as Wt,u as Ri,I as _t,bJ as zt,F as $n,aX as Jn,au as Sr,bL as li,v as Lt,bb as Tr,H as Ct,s as Ii}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{x as Qn,K as hi}from"./SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import{t as es,r as ts}from"./throttle-5Uz_Dt2R.mjs";import{_ as is}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";import"./useRoute-BGFNOdqM.mjs";import"./index-lRhEXmMs.mjs";import"./OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import"./vue-router-CmC7u3Bn.mjs";import"./resources-CL0nvFAd.mjs";import"./user-C7xYeMZ3.mjs";import"./_Set-DyVdKz_x.mjs";import"./useClientService-BP8mjZl2.mjs";import"./useLoadingService-CLoheuuI.mjs";import"./eventBus-B07Yv2pA.mjs";import"./v4-EwEgHOG0.mjs";import"./messages-bd5_8QAH.mjs";import"./ActionMenuItem-5Eo133Qt.mjs";var fi={exports:{}},Oi={exports:{}},Li,kr;function gn(){if(kr)return Li;kr=1;var D=void 0;return Li=function(e){return e!==D&&e!==null},Li}var Bi,Nr;function rs(){if(Nr)return Bi;Nr=1;var D=gn(),e={object:!0,function:!0,undefined:!0};return Bi=function(t){return D(t)?hasOwnProperty.call(e,typeof t):!1},Bi}var Fi,Rr;function ns(){if(Rr)return Fi;Rr=1;var D=rs();return Fi=function(e){if(!D(e))return!1;try{return e.constructor?e.constructor.prototype===e:!1}catch{return!1}},Fi}var Pi,Ir;function ss(){if(Ir)return Pi;Ir=1;var D=ns();return Pi=function(e){if(typeof e!="function"||!hasOwnProperty.call(e,"length"))return!1;try{if(typeof e.length!="number"||typeof e.call!="function"||typeof e.apply!="function")return!1}catch{return!1}return!D(e)},Pi}var zi,Or;function as(){if(Or)return zi;Or=1;var D=ss(),e=/^\s*class[\s{/}]/,t=Function.prototype.toString;return zi=function(i){return!(!D(i)||e.test(t.call(i)))},zi}var Mi,Lr;function os(){return Lr||(Lr=1,Mi=function(){var D=Object.assign,e;return typeof D!="function"?!1:(e={foo:"raz"},D(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}),Mi}var Ui,Br;function us(){return Br||(Br=1,Ui=function(){try{return Object.keys("primitive"),!0}catch{return!1}}),Ui}var qi,Fr;function ls(){return Fr||(Fr=1,qi=function(){}),qi}var Wi,Pr;function cr(){if(Pr)return Wi;Pr=1;var D=ls()();return Wi=function(e){return e!==D&&e!==null},Wi}var ji,zr;function hs(){if(zr)return ji;zr=1;var D=cr(),e=Object.keys;return ji=function(t){return e(D(t)?Object(t):t)},ji}var Hi,Mr;function fs(){return Mr||(Mr=1,Hi=us()()?Object.keys:hs()),Hi}var Vi,Ur;function cs(){if(Ur)return Vi;Ur=1;var D=cr();return Vi=function(e){if(!D(e))throw new TypeError("Cannot use null or undefined");return e},Vi}var Zi,qr;function ds(){if(qr)return Zi;qr=1;var D=fs(),e=cs(),t=Math.max;return Zi=function(i,r){var n,s,a=t(arguments.length,2),l;for(i=Object(e(i)),l=function(d){try{i[d]=r[d]}catch(p){n||(n=p)}},s=1;s-1},Ki}var $i,Zr;function ys(){return Zr||(Zr=1,$i=gs()()?String.prototype.contains:ms()),$i}var Gr;function bs(){if(Gr)return Oi.exports;Gr=1;var D=gn(),e=as(),t=ps(),i=vs(),r=ys(),n=Oi.exports=function(s,a){var l,d,p,f,w;return arguments.length<2||typeof s!="string"?(f=a,a=s,s=null):f=arguments[2],D(s)?(l=r.call(s,"c"),d=r.call(s,"e"),p=r.call(s,"w")):(l=p=!0,d=!1),w={value:a,configurable:l,enumerable:d,writable:p},f?t(i(f),w):w};return n.gs=function(s,a,l){var d,p,f,w;return typeof s!="string"?(f=l,l=a,a=s,s=null):f=arguments[3],D(a)?e(a)?D(l)?e(l)||(f=l,l=void 0):l=void 0:(f=a,a=l=void 0):a=void 0,D(s)?(d=r.call(s,"c"),p=r.call(s,"e")):(d=!0,p=!1),w={get:a,set:l,configurable:d,enumerable:p},f?t(i(f),w):w},Oi.exports}var Ji,Yr;function ws(){return Yr||(Yr=1,Ji=function(D){if(typeof D!="function")throw new TypeError(D+" is not a function");return D}),Ji}var Xr;function _s(){return Xr||(Xr=1,(function(D,e){var t=bs(),i=ws(),r=Function.prototype.apply,n=Function.prototype.call,s=Object.create,a=Object.defineProperty,l=Object.defineProperties,d=Object.prototype.hasOwnProperty,p={configurable:!0,enumerable:!1,writable:!0},f,w,m,L,x,h,v;f=function(g,C){var O;return i(C),d.call(this,"__ee__")?O=this.__ee__:(O=p.value=s(null),a(this,"__ee__",p),p.value=null),O[g]?typeof O[g]=="object"?O[g].push(C):O[g]=[O[g],C]:O[g]=C,this},w=function(g,C){var O,y;return i(C),y=this,f.call(this,g,O=function(){m.call(y,g,O),r.call(C,this,arguments)}),O.__eeOnceListener__=C,this},m=function(g,C){var O,y,T,N;if(i(C),!d.call(this,"__ee__"))return this;if(O=this.__ee__,!O[g])return this;if(y=O[g],typeof y=="object")for(N=0;T=y[N];++N)(T===C||T.__eeOnceListener__===C)&&(y.length===2?O[g]=y[N?0:1]:y.splice(N,1));else(y===C||y.__eeOnceListener__===C)&&delete O[g];return this},L=function(g){var C,O,y,T,N;if(d.call(this,"__ee__")&&(T=this.__ee__[g],!!T))if(typeof T=="object"){for(O=arguments.length,N=new Array(O-1),C=1;C=0&&c=0){for(var u=o.length-1;z0},lookupPrefix:function(c){for(var o=this;o;){var _=o._nsMap;if(_){for(var z in _)if(Object.prototype.hasOwnProperty.call(_,z)&&_[z]===c)return z}o=o.nodeType==w?o.ownerDocument:o.parentNode}return null},lookupNamespaceURI:function(c){for(var o=this;o;){var _=o._nsMap;if(_&&c in _&&Object.prototype.hasOwnProperty.call(_,c))return _[c];o=o.nodeType==w?o.ownerDocument:o.parentNode}return null},isDefaultNamespace:function(c){var o=this.lookupPrefix(c);return o==null}};function de(c){return c=="<"&&"<"||c==">"&&">"||c=="&"&&"&"||c=='"'&&"""||"&#"+c.charCodeAt()+";"}l(p,ne),l(p,ne.prototype);function De(c,o){if(o(c))return!0;if(c=c.firstChild)do if(De(c,o))return!0;while(c=c.nextSibling)}function ge(){this.ownerDocument=this}function Te(c,o,_){c&&c._inc++;var z=_.namespaceURI;z===t.XMLNS&&(o._nsMap[_.prefix?_.localName:""]=_.value)}function He(c,o,_,z){c&&c._inc++;var u=_.namespaceURI;u===t.XMLNS&&delete o._nsMap[_.prefix?_.localName:""]}function Pe(c,o,_){if(c&&c._inc){c._inc++;var z=o.childNodes;if(_)z[z.length++]=_;else{for(var u=o.firstChild,M=0;u;)z[M++]=u,u=u.nextSibling;z.length=M,delete z[z.length]}}}function ve(c,o){var _=o.previousSibling,z=o.nextSibling;return _?_.nextSibling=z:c.firstChild=z,z?z.previousSibling=_:c.lastChild=_,o.parentNode=null,o.previousSibling=null,o.nextSibling=null,Pe(c.ownerDocument,c),o}function Fe(c){return c&&(c.nodeType===ne.DOCUMENT_NODE||c.nodeType===ne.DOCUMENT_FRAGMENT_NODE||c.nodeType===ne.ELEMENT_NODE)}function qe(c){return c&&(ke(c)||Ae(c)||Ee(c)||c.nodeType===ne.DOCUMENT_FRAGMENT_NODE||c.nodeType===ne.COMMENT_NODE||c.nodeType===ne.PROCESSING_INSTRUCTION_NODE)}function Ee(c){return c&&c.nodeType===ne.DOCUMENT_TYPE_NODE}function ke(c){return c&&c.nodeType===ne.ELEMENT_NODE}function Ae(c){return c&&c.nodeType===ne.TEXT_NODE}function Re(c,o){var _=c.childNodes||[];if(e(_,ke)||Ee(o))return!1;var z=e(_,Ee);return!(o&&z&&_.indexOf(z)>_.indexOf(o))}function We(c,o){var _=c.childNodes||[];function z(M){return ke(M)&&M!==o}if(e(_,z))return!1;var u=e(_,Ee);return!(o&&u&&_.indexOf(u)>_.indexOf(o))}function Le(c,o,_){if(!Fe(c))throw new j(k,"Unexpected parent node type "+c.nodeType);if(_&&_.parentNode!==c)throw new j(I,"child not in parent");if(!qe(o)||Ee(o)&&c.nodeType!==ne.DOCUMENT_NODE)throw new j(k,"Unexpected node type "+o.nodeType+" for parent node type "+c.nodeType)}function Ne(c,o,_){var z=c.childNodes||[],u=o.childNodes||[];if(o.nodeType===ne.DOCUMENT_FRAGMENT_NODE){var M=u.filter(ke);if(M.length>1||e(u,Ae))throw new j(k,"More than one element or text in fragment");if(M.length===1&&!Re(c,_))throw new j(k,"Element in fragment can not be inserted before doctype")}if(ke(o)&&!Re(c,_))throw new j(k,"Only one element can be added and only after doctype");if(Ee(o)){if(e(z,Ee))throw new j(k,"Only one doctype is allowed");var H=e(z,ke);if(_&&z.indexOf(H)1||e(u,Ae))throw new j(k,"More than one element or text in fragment");if(M.length===1&&!We(c,_))throw new j(k,"Element in fragment can not be inserted before doctype")}if(ke(o)&&!We(c,_))throw new j(k,"Only one element can be added and only after doctype");if(Ee(o)){if(e(z,function(B){return Ee(B)&&B!==_}))throw new j(k,"Only one doctype is allowed");var H=e(z,ke);if(_&&z.indexOf(H)0&&De(_.documentElement,function(u){if(u!==_&&u.nodeType===f){var M=u.getAttribute("class");if(M){var H=c===M;if(!H){var b=s(M);H=o.every(a(b))}H&&z.push(u)}}}),z})},createElement:function(c){var o=new be;o.ownerDocument=this,o.nodeName=c,o.tagName=c,o.localName=c,o.childNodes=new G;var _=o.attributes=new ce;return _._ownerElement=o,o},createDocumentFragment:function(){var c=new ft;return c.ownerDocument=this,c.childNodes=new G,c},createTextNode:function(c){var o=new rt;return o.ownerDocument=this,o.appendData(c),o},createComment:function(c){var o=new dt;return o.ownerDocument=this,o.appendData(c),o},createCDATASection:function(c){var o=new ut;return o.ownerDocument=this,o.appendData(c),o},createProcessingInstruction:function(c,o){var _=new lt;return _.ownerDocument=this,_.tagName=_.nodeName=_.target=c,_.nodeValue=_.data=o,_},createAttribute:function(c){var o=new _e;return o.ownerDocument=this,o.name=c,o.nodeName=c,o.localName=c,o.specified=!0,o},createEntityReference:function(c){var o=new st;return o.ownerDocument=this,o.nodeName=c,o},createElementNS:function(c,o){var _=new be,z=o.split(":"),u=_.attributes=new ce;return _.childNodes=new G,_.ownerDocument=this,_.nodeName=o,_.tagName=o,_.namespaceURI=c,z.length==2?(_.prefix=z[0],_.localName=z[1]):_.localName=o,u._ownerElement=_,_},createAttributeNS:function(c,o){var _=new _e,z=o.split(":");return _.ownerDocument=this,_.nodeName=o,_.name=o,_.namespaceURI=c,_.specified=!0,z.length==2?(_.prefix=z[0],_.localName=z[1]):_.localName=o,_}},d(ge,ne);function be(){this._nsMap={}}be.prototype={nodeType:f,hasAttribute:function(c){return this.getAttributeNode(c)!=null},getAttribute:function(c){var o=this.getAttributeNode(c);return o&&o.value||""},getAttributeNode:function(c){return this.attributes.getNamedItem(c)},setAttribute:function(c,o){var _=this.ownerDocument.createAttribute(c);_.value=_.nodeValue=""+o,this.setAttributeNode(_)},removeAttribute:function(c){var o=this.getAttributeNode(c);o&&this.removeAttributeNode(o)},appendChild:function(c){return c.nodeType===y?this.insertBefore(c,null):$e(this,c)},setAttributeNode:function(c){return this.attributes.setNamedItem(c)},setAttributeNodeNS:function(c){return this.attributes.setNamedItemNS(c)},removeAttributeNode:function(c){return this.attributes.removeNamedItem(c.nodeName)},removeAttributeNS:function(c,o){var _=this.getAttributeNodeNS(c,o);_&&this.removeAttributeNode(_)},hasAttributeNS:function(c,o){return this.getAttributeNodeNS(c,o)!=null},getAttributeNS:function(c,o){var _=this.getAttributeNodeNS(c,o);return _&&_.value||""},setAttributeNS:function(c,o,_){var z=this.ownerDocument.createAttributeNS(c,o);z.value=z.nodeValue=""+_,this.setAttributeNode(z)},getAttributeNodeNS:function(c,o){return this.attributes.getNamedItemNS(c,o)},getElementsByTagName:function(c){return new re(this,function(o){var _=[];return De(o,function(z){z!==o&&z.nodeType==f&&(c==="*"||z.tagName==c)&&_.push(z)}),_})},getElementsByTagNameNS:function(c,o){return new re(this,function(_){var z=[];return De(_,function(u){u!==_&&u.nodeType===f&&(c==="*"||u.namespaceURI===c)&&(o==="*"||u.localName==o)&&z.push(u)}),z})}},ge.prototype.getElementsByTagName=be.prototype.getElementsByTagName,ge.prototype.getElementsByTagNameNS=be.prototype.getElementsByTagNameNS,d(be,ne);function _e(){}_e.prototype.nodeType=w,d(_e,ne);function me(){}me.prototype={data:"",substringData:function(c,o){return this.data.substring(c,c+o)},appendData:function(c){c=this.data+c,this.nodeValue=this.data=c,this.length=c.length},insertData:function(c,o){this.replaceData(c,0,o)},appendChild:function(c){throw new Error(R[k])},deleteData:function(c,o){this.replaceData(c,o,"")},replaceData:function(c,o,_){var z=this.data.substring(0,c),u=this.data.substring(c+o);_=z+_+u,this.nodeValue=this.data=_,this.length=_.length}},d(me,ne);function rt(){}rt.prototype={nodeName:"#text",nodeType:m,splitText:function(c){var o=this.data,_=o.substring(c);o=o.substring(0,c),this.data=this.nodeValue=o,this.length=o.length;var z=this.ownerDocument.createTextNode(_);return this.parentNode&&this.parentNode.insertBefore(z,this.nextSibling),z}},d(rt,me);function dt(){}dt.prototype={nodeName:"#comment",nodeType:g},d(dt,me);function ut(){}ut.prototype={nodeName:"#cdata-section",nodeType:L},d(ut,me);function tt(){}tt.prototype.nodeType=O,d(tt,ne);function pt(){}pt.prototype.nodeType=T,d(pt,ne);function ht(){}ht.prototype.nodeType=h,d(ht,ne);function st(){}st.prototype.nodeType=x,d(st,ne);function ft(){}ft.prototype.nodeName="#document-fragment",ft.prototype.nodeType=y,d(ft,ne);function lt(){}lt.prototype.nodeType=v,d(lt,ne);function Ge(){}Ge.prototype.serializeToString=function(c,o,_){return at.call(c,o,_)},ne.prototype.toString=at;function at(c,o){var _=[],z=this.nodeType==9&&this.documentElement||this,u=z.prefix,M=z.namespaceURI;if(M&&u==null){var u=z.lookupPrefix(M);if(u==null)var H=[{namespace:M,prefix:null}]}return X(this,_,c,o,H),_.join("")}function yt(c,o,_){var z=c.prefix||"",u=c.namespaceURI;if(!u||z==="xml"&&u===t.XML||u===t.XMLNS)return!1;for(var M=_.length;M--;){var H=_[M];if(H.prefix===z)return H.namespace!==u}return!0}function A(c,o,_){c.push(" ",o,'="',_.replace(/[<&"]/g,de),'"')}function X(c,o,_,z,u){if(u||(u=[]),z)if(c=z(c),c){if(typeof c=="string"){o.push(c);return}}else return;switch(c.nodeType){case f:var M=c.attributes,H=M.length,Ce=c.firstChild,b=c.tagName;_=t.isHTML(c.namespaceURI)||_;var B=b;if(!_&&!c.prefix&&c.namespaceURI){for(var V,fe=0;fe=0;ae--){var ue=u[ae];if(ue.prefix===""&&ue.namespace===c.namespaceURI){V=ue.namespace;break}}if(V!==c.namespaceURI)for(var ae=u.length-1;ae>=0;ae--){var ue=u[ae];if(ue.namespace===c.namespaceURI){ue.prefix&&(B=ue.prefix+":"+b);break}}}o.push("<",B);for(var we=0;we"),_&&/^script$/i.test(b))for(;Ce;)Ce.data?o.push(Ce.data):X(Ce,o,_,z,u.slice()),Ce=Ce.nextSibling;else for(;Ce;)X(Ce,o,_,z,u.slice()),Ce=Ce.nextSibling;o.push("")}else o.push("/>");return;case C:case y:for(var Ce=c.firstChild;Ce;)X(Ce,o,_,z,u.slice()),Ce=Ce.nextSibling;return;case w:return A(o,c.name,c.value);case m:return o.push(c.data.replace(/[<&]/g,de).replace(/]]>/g,"]]>"));case L:return o.push("");case g:return o.push("");case O:var Je=c.publicId,Ze=c.systemId;if(o.push("");else if(Ze&&Ze!=".")o.push(" SYSTEM ",Ze,">");else{var kt=c.internalSubset;kt&&o.push(" [",kt,"]"),o.push(">")}return;case v:return o.push("");case x:return o.push("&",c.nodeName,";");default:o.push("??",c.nodeName)}}function J(c,o,_){var z;switch(o.nodeType){case f:z=o.cloneNode(!1),z.ownerDocument=c;case y:break;case w:_=!0;break}if(z||(z=o.cloneNode(!1)),z.ownerDocument=c,z.parentNode=null,_)for(var u=o.firstChild;u;)z.appendChild(J(c,u,_)),u=u.nextSibling;return z}function he(c,o,_){var z=new o.constructor;for(var u in o)if(Object.prototype.hasOwnProperty.call(o,u)){var M=o[u];typeof M!="object"&&M!=z[u]&&(z[u]=M)}switch(o.childNodes&&(z.childNodes=new G),z.ownerDocument=c,z.nodeType){case f:var H=o.attributes,b=z.attributes=new ce,B=H.length;b._ownerElement=z;for(var V=0;V",lt:"<",quot:'"'}),D.HTML_ENTITIES=e({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` +`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),D.entityMap=D.HTML_ENTITIES})(Qi)),Qi}var ci={},Qr;function Ds(){if(Qr)return ci;Qr=1;var D=Di().NAMESPACE,e=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,t=new RegExp("[\\-\\.0-9"+e.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),i=new RegExp("^"+e.source+t.source+"*(?::"+e.source+t.source+"*)?$"),r=0,n=1,s=2,a=3,l=4,d=5,p=6,f=7;function w(k,I){this.message=k,this.locator=I,Error.captureStackTrace&&Error.captureStackTrace(this,w)}w.prototype=new Error,w.prototype.name=w.name;function m(){}m.prototype={parse:function(k,I,Z){var j=this.domBuilder;j.startDocument(),O(I,I={}),L(k,I,Z,j,this.errorHandler),j.endDocument()}};function L(k,I,Z,j,G){function re(be){if(be>65535){be-=65536;var _e=55296+(be>>10),me=56320+(be&1023);return String.fromCharCode(_e,me)}else return String.fromCharCode(be)}function te(be){var _e=be.slice(1,-1);return _e in Z?Z[_e]:_e.charAt(0)==="#"?re(parseInt(_e.substr(1).replace("x","0x"))):(G.error("entity not found:"+be),be)}function ce(be){if(be>ge){var _e=k.substring(ge,be).replace(/&#?\w+;/g,te);ne&&Q(ge),j.characters(_e,0,be-ge),ge=be}}function Q(be,_e){for(;be>=oe&&(_e=ye.exec(k));)K=_e.index,oe=K+_e[0].length,ne.lineNumber++;ne.columnNumber=be-K+1}for(var K=0,oe=0,ye=/.*(?:\r\n?|\n)|.*$/g,ne=j.locator,de=[{currentNSMap:I}],De={},ge=0;;){try{var Te=k.indexOf("<",ge);if(Te<0){if(!k.substr(ge).match(/^\s*$/)){var He=j.doc,Pe=He.createTextNode(k.substr(ge));He.appendChild(Pe),j.currentElement=Pe}return}switch(Te>ge&&ce(Te),k.charAt(Te+1)){case"/":var Le=k.indexOf(">",Te+3),ve=k.substring(Te+2,Le).replace(/[ \t\n\r]+$/g,""),Fe=de.pop();Le<0?(ve=k.substring(Te+2).replace(/[\s<].*/,""),G.error("end tag name: "+ve+" is not complete:"+Fe.tagName),Le=Te+1+ve.length):ve.match(/\sge?ge=Le:ce(Math.max(Te,ge)+1)}}function x(k,I){return I.lineNumber=k.lineNumber,I.columnNumber=k.columnNumber,I}function h(k,I,Z,j,G,re){function te(ne,de,De){Z.attributeNames.hasOwnProperty(ne)&&re.fatalError("Attribute "+ne+" redefined"),Z.addValue(ne,de,De)}for(var ce,Q,K=++I,oe=r;;){var ye=k.charAt(K);switch(ye){case"=":if(oe===n)ce=k.slice(I,K),oe=a;else if(oe===s)oe=a;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(oe===a||oe===n)if(oe===n&&(re.warning('attribute value must after "="'),ce=k.slice(I,K)),I=K+1,K=k.indexOf(ye,I),K>0)Q=k.slice(I,K).replace(/&#?\w+;/g,G),te(ce,Q,I-1),oe=d;else throw new Error("attribute value no end '"+ye+"' match");else if(oe==l)Q=k.slice(I,K).replace(/&#?\w+;/g,G),te(ce,Q,I),re.warning('attribute "'+ce+'" missed start quot('+ye+")!!"),I=K+1,oe=d;else throw new Error('attribute value must after "="');break;case"/":switch(oe){case r:Z.setTagName(k.slice(I,K));case d:case p:case f:oe=f,Z.closed=!0;case l:case n:break;case s:Z.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return re.error("unexpected end of input"),oe==r&&Z.setTagName(k.slice(I,K)),K;case">":switch(oe){case r:Z.setTagName(k.slice(I,K));case d:case p:case f:break;case l:case n:Q=k.slice(I,K),Q.slice(-1)==="/"&&(Z.closed=!0,Q=Q.slice(0,-1));case s:oe===s&&(Q=ce),oe==l?(re.warning('attribute "'+Q+'" missed quot(")!'),te(ce,Q.replace(/&#?\w+;/g,G),I)):((!D.isHTML(j[""])||!Q.match(/^(?:disabled|checked|selected)$/i))&&re.warning('attribute "'+Q+'" missed value!! "'+Q+'" instead!!'),te(Q,Q,I));break;case a:throw new Error("attribute value missed!!")}return K;case"€":ye=" ";default:if(ye<=" ")switch(oe){case r:Z.setTagName(k.slice(I,K)),oe=p;break;case n:ce=k.slice(I,K),oe=s;break;case l:var Q=k.slice(I,K).replace(/&#?\w+;/g,G);re.warning('attribute "'+Q+'" missed quot(")!!'),te(ce,Q,I);case d:oe=p;break}else switch(oe){case s:Z.tagName,(!D.isHTML(j[""])||!ce.match(/^(?:disabled|checked|selected)$/i))&&re.warning('attribute "'+ce+'" missed value!! "'+ce+'" instead2!!'),te(ce,ce,I),I=K,oe=n;break;case d:re.warning('attribute space is required"'+ce+'"!!');case p:oe=n,I=K;break;case a:oe=l,I=K;break;case f:throw new Error("elements closed character '/' and '>' must be connected to")}}K++}}function v(k,I,Z){for(var j=k.tagName,G=null,ye=k.length;ye--;){var re=k[ye],te=re.qName,ce=re.value,ne=te.indexOf(":");if(ne>0)var Q=re.prefix=te.slice(0,ne),K=te.slice(ne+1),oe=Q==="xmlns"&&K;else K=te,Q=null,oe=te==="xmlns"&&"";re.localName=K,oe!==!1&&(G==null&&(G={},O(Z,Z={})),Z[oe]=G[oe]=ce,re.uri=D.XMLNS,I.startPrefixMapping(oe,ce))}for(var ye=k.length;ye--;){re=k[ye];var Q=re.prefix;Q&&(Q==="xml"&&(re.uri=D.XML),Q!=="xmlns"&&(re.uri=Z[Q||""]))}var ne=j.indexOf(":");ne>0?(Q=k.prefix=j.slice(0,ne),K=k.localName=j.slice(ne+1)):(Q=null,K=k.localName=j);var de=k.uri=Z[Q||""];if(I.startElement(de,K,j,k),k.closed){if(I.endElement(de,K,j),G)for(Q in G)Object.prototype.hasOwnProperty.call(G,Q)&&I.endPrefixMapping(Q)}else return k.currentNSMap=Z,k.localNSMap=G,!0}function g(k,I,Z,j,G){if(/^(?:script|textarea)$/i.test(Z)){var re=k.indexOf("",I),te=k.substring(I+1,re);if(/[&<]/.test(te))return/^script$/i.test(Z)?(G.characters(te,0,te.length),re):(te=te.replace(/&#?\w+;/g,j),G.characters(te,0,te.length),re)}return I+1}function C(k,I,Z,j){var G=j[Z];return G==null&&(G=k.lastIndexOf(""),G",I+4);return re>I?(Z.comment(k,I+4,re-I-4),re+3):(j.error("Unclosed comment"),-1)}else return-1;default:if(k.substr(I+3,6)=="CDATA["){var re=k.indexOf("]]>",I+9);return Z.startCDATA(),Z.characters(k,I+9,re-I-9),Z.endCDATA(),re+3}var te=R(k,I),ce=te.length;if(ce>1&&/!doctype/i.test(te[0][0])){var Q=te[1][0],K=!1,oe=!1;ce>3&&(/^public$/i.test(te[2][0])?(K=te[3][0],oe=ce>4&&te[4][0]):/^system$/i.test(te[2][0])&&(oe=te[3][0]));var ye=te[ce-1];return Z.startDTD(Q,K,oe),Z.endDTD(),ye.index+ye[0].length}}return-1}function T(k,I,Z){var j=k.indexOf("?>",I);if(j){var G=k.substring(I,j).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return G?(G[0].length,Z.processingInstruction(G[1],G[2]),j+2):-1}return-1}function N(){this.attributeNames={}}N.prototype={setTagName:function(k){if(!i.test(k))throw new Error("invalid tagName:"+k);this.tagName=k},addValue:function(k,I,Z){if(!i.test(k))throw new Error("invalid attribute:"+k);this.attributeNames[k]=this.length,this[this.length++]={qName:k,value:I,offset:Z}},length:0,getLocalName:function(k){return this[k].localName},getLocator:function(k){return this[k].locator},getQName:function(k){return this[k].qName},getURI:function(k){return this[k].uri},getValue:function(k){return this[k].value}};function R(k,I){var Z,j=[],G=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(G.lastIndex=I,G.exec(k);Z=G.exec(k);)if(j.push(Z),Z[1])return j}return ci.XMLReader=m,ci.ParseError=w,ci}var en;function As(){if(en)return Ht;en=1;var D=Di(),e=mn(),t=xs(),i=Ds(),r=e.DOMImplementation,n=D.NAMESPACE,s=i.ParseError,a=i.XMLReader;function l(x){this.options=x||{locator:{}}}l.prototype.parseFromString=function(x,h){var v=this.options,g=new a,C=v.domBuilder||new p,O=v.errorHandler,y=v.locator,T=v.xmlns||{},N=/\/x?html?$/.test(h),R=N?t.HTML_ENTITIES:t.XML_ENTITIES;return y&&C.setDocumentLocator(y),g.errorHandler=d(O,C,y),g.domBuilder=v.domBuilder||C,N&&(T[""]=n.HTML),T.xml=T.xml||n.XML,x&&typeof x=="string"?g.parse(x,T,R):g.errorHandler.error("invalid doc source"),C.doc};function d(x,h,v){if(!x){if(h instanceof p)return h;x=h}var g={},C=x instanceof Function;v=v||{};function O(y){var T=x[y];!T&&C&&(T=x.length==2?function(N){x(y,N)}:x),g[y]=T&&function(N){T("[xmldom "+y+"] "+N+w(v))}||function(){}}return O("warning"),O("error"),O("fatalError"),g}function p(){this.cdata=!1}function f(x,h){h.lineNumber=x.lineNumber,h.columnNumber=x.columnNumber}p.prototype={startDocument:function(){this.doc=new r().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(x,h,v,g){var C=this.doc,O=C.createElementNS(x,v||h),y=g.length;L(this,O),this.currentElement=O,this.locator&&f(this.locator,O);for(var T=0;T=h+v||h?new java.lang.String(x,h,v)+"":x}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(x){p.prototype[x]=function(){return null}});function L(x,h){x.currentElement?x.currentElement.appendChild(h):x.doc.appendChild(h)}return Ht.__DOMHandler=p,Ht.DOMParser=l,Ht.DOMImplementation=e.DOMImplementation,Ht.XMLSerializer=e.XMLSerializer,Ht}var tn;function Cs(){if(tn)return ei;tn=1;var D=mn();return ei.DOMImplementation=D.DOMImplementation,ei.XMLSerializer=D.XMLSerializer,ei.DOMParser=As().DOMParser,ei}var yn=Cs();const dr=typeof window<"u"?window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame:!1,Ss=1,Ts=3,bn=typeof URL<"u"?URL:typeof window<"u"?window.URL||window.webkitURL||window.mozURL:void 0;function Ai(){var D=new Date().getTime(),e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var i=(D+Math.random()*16)%16|0;return D=Math.floor(D/16),(t=="x"?i:i&7|8).toString(16)});return e}function ks(){return Math.max(document.documentElement.clientHeight,document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight)}function wn(D){return!!(D&&D.nodeType==1)}function Ke(D){return!isNaN(parseFloat(D))&&isFinite(D)}function _n(D){let e=parseFloat(D);return Ke(D)===!1?!1:typeof D=="string"&&D.indexOf(".")>-1?!0:Math.floor(e)!==e}function Gt(D){var e=["Webkit","webkit","Moz","O","ms"],t=["-webkit-","-webkit-","-moz-","-o-","-ms-"],i=D.toLowerCase(),r=e.length;if(typeof document>"u"||typeof document.body.style[i]<"u")return D;for(var n=0;np)return 1;if(d=0?a:a+1:l===0?a:l===-1?$t(D,e,t,a,s):$t(D,e,t,n,a))}function gi(D,e,t,i,r){var n=i||0,s=r||e.length,a=parseInt(n+(s-n)/2),l;return t||(t=function(d,p){if(d>p)return 1;if(d-1}function Dn(D,e){return new Blob([D],{type:e})}function bi(D,e){var t,i=Dn(D,e);return t=bn.createObjectURL(i),t}function An(D){return bn.revokeObjectURL(D)}function ur(D,e){var t,i;if(typeof D=="string")return t=btoa(D),i="data:"+e+";base64,"+t,i}function Cn(D){return Object.prototype.toString.call(D).slice(8,-1)}function St(D,e,t){var i,r;return typeof DOMParser>"u"||t?r=yn.DOMParser:r=DOMParser,D.charCodeAt(0)===65279&&(D=D.slice(1)),i=new r().parseFromString(D,e),i}function je(D,e){var t;if(!D)throw new Error("No Element Provided");if(typeof D.querySelector<"u")return D.querySelector(e);if(t=D.getElementsByTagName(e),t.length)return t[0]}function Rt(D,e){return typeof D.querySelector<"u"?D.querySelectorAll(e):D.getElementsByTagName(e)}function Yt(D,e,t){var i,r;if(typeof D.querySelector<"u"){e+="[";for(var n in t)e+=n+"~='"+t[n]+"'";return e+="]",D.querySelector(e)}else if(i=D.getElementsByTagName(e),r=Array.prototype.slice.call(i,0).filter(function(s){for(var a in t)if(s.getAttribute(a)===t[a])return!0;return!1}),r)return r[0]}function wi(D,e){var t=D.ownerDocument||D;typeof t.createTreeWalker<"u"?Sn(D,e,NodeFilter.SHOW_TEXT):vr(D,function(i){i&&i.nodeType===3&&e(i)})}function Sn(D,e,t){var i=document.createTreeWalker(D,t,null,!1);let r;for(;r=i.nextNode();)e(r)}function vr(D,e){if(e(D))return!0;if(D=D.firstChild,D)do{if(vr(D,e))return!0;D=D.nextSibling}while(D)}function Tn(D){return new Promise(function(e,t){var i=new FileReader;i.readAsDataURL(D),i.onloadend=function(){e(i.result)}})}function Ie(){this.resolve=null,this.reject=null,this.id=Ai(),this.promise=new Promise((D,e)=>{this.resolve=D,this.reject=e}),Object.freeze(this)}function _i(D,e,t){var i;if(typeof D.querySelector<"u"&&(i=D.querySelector(`${e}[*|type="${t}"]`)),!i||i.length===0){i=Rt(D,e);for(var r=0;r2){for(var w=a.length-1,m=w;m>=0&&a.charCodeAt(m)!==47;--m);if(m!==w){m===-1?a="":a=a.slice(0,m),l=f,d=0;continue}}else if(a.length===2||a.length===1){a="",l=f,d=0;continue}}s&&(a.length>0?a+="/..":a="..")}else a.length>0?a+="/"+n.slice(l+1,f):a=n.slice(l+1,f);l=f,d=0}else p===46&&d!==-1?++d:d=-1}return a}function i(n,s){var a=s.dir||s.root,l=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+l:a+n+l:l}var r={resolve:function(){for(var s="",a=!1,l,d=arguments.length-1;d>=-1&&!a;d--){var p;d>=0?p=arguments[d]:(l===void 0&&(l=D.cwd()),p=l),e(p),p.length!==0&&(s=p+"/"+s,a=p.charCodeAt(0)===47)}return s=t(s,!a),a?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var a=s.charCodeAt(0)===47,l=s.charCodeAt(s.length-1)===47;return s=t(s,!a),s.length===0&&!a&&(s="."),s.length>0&&l&&(s+="/"),a?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,a=0;a0&&(s===void 0?s=l:s+="/"+l)}return s===void 0?".":r.normalize(s)},relative:function(s,a){if(e(s),e(a),s===a||(s=r.resolve(s),a=r.resolve(a),s===a))return"";for(var l=1;lL){if(a.charCodeAt(f+h)===47)return a.slice(f+h+1);if(h===0)return a.slice(f+h)}else p>L&&(s.charCodeAt(l+h)===47?x=h:h===0&&(x=0));break}var v=s.charCodeAt(l+h),g=a.charCodeAt(f+h);if(v!==g)break;v===47&&(x=h)}var C="";for(h=l+x+1;h<=d;++h)(h===d||s.charCodeAt(h)===47)&&(C.length===0?C+="..":C+="/..");return C.length>0?C+a.slice(f+x):(f+=x,a.charCodeAt(f)===47&&++f,a.slice(f))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var a=s.charCodeAt(0),l=a===47,d=-1,p=!0,f=s.length-1;f>=1;--f)if(a=s.charCodeAt(f),a===47){if(!p){d=f;break}}else p=!1;return d===-1?l?"/":".":l&&d===1?"//":s.slice(0,d)},basename:function(s,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(s);var l=0,d=-1,p=!0,f;if(a!==void 0&&a.length>0&&a.length<=s.length){if(a.length===s.length&&a===s)return"";var w=a.length-1,m=-1;for(f=s.length-1;f>=0;--f){var L=s.charCodeAt(f);if(L===47){if(!p){l=f+1;break}}else m===-1&&(p=!1,m=f+1),w>=0&&(L===a.charCodeAt(w)?--w===-1&&(d=f):(w=-1,d=m))}return l===d?d=m:d===-1&&(d=s.length),s.slice(l,d)}else{for(f=s.length-1;f>=0;--f)if(s.charCodeAt(f)===47){if(!p){l=f+1;break}}else d===-1&&(p=!1,d=f+1);return d===-1?"":s.slice(l,d)}},extname:function(s){e(s);for(var a=-1,l=0,d=-1,p=!0,f=0,w=s.length-1;w>=0;--w){var m=s.charCodeAt(w);if(m===47){if(!p){l=w+1;break}continue}d===-1&&(p=!1,d=w+1),m===46?a===-1?a=w:f!==1&&(f=1):a!==-1&&(f=-1)}return a===-1||d===-1||f===0||f===1&&a===d-1&&a===l+1?"":s.slice(a,d)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('Parameter "pathObject" must be an object, not '+typeof s);return i("/",s)},parse:function(s){e(s);var a={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return a;var l=s.charCodeAt(0),d=l===47,p;d?(a.root="/",p=1):p=0;for(var f=-1,w=0,m=-1,L=!0,x=s.length-1,h=0;x>=p;--x){if(l=s.charCodeAt(x),l===47){if(!L){w=x+1;break}continue}m===-1&&(L=!1,m=x+1),l===46?f===-1?f=x:h!==1&&(h=1):f!==-1&&(h=-1)}return f===-1||m===-1||h===0||h===1&&f===m-1&&f===w+1?m!==-1&&(w===0&&d?a.base=a.name=s.slice(1,m):a.base=a.name=s.slice(w,m)):(w===0&&d?(a.name=s.slice(1,f),a.base=s.slice(1,m)):(a.name=s.slice(w,f),a.base=s.slice(w,m)),a.ext=s.slice(f,m)),w>0?a.dir=s.slice(0,w-1):d&&(a.dir="/"),a},sep:"/",delimiter:":",posix:null};return er=r,er}var Bs=Ls();const Ft=si(Bs);class It{constructor(e){var t,i;t=e.indexOf("://"),t>-1&&(e=new URL(e).pathname),i=this.parse(e),this.path=e,this.isDirectory(e)?this.directory=e:this.directory=i.dir+"/",this.filename=i.base,this.extension=i.ext.slice(1)}parse(e){return Ft.parse(e)}isAbsolute(e){return Ft.isAbsolute(e||this.path)}isDirectory(e){return e.charAt(e.length-1)==="/"}resolve(e){return Ft.resolve(this.directory,e)}relative(e){var t=e&&e.indexOf("://")>-1;return t?e:Ft.relative(this.directory,e)}splitPath(e){return this.splitPathRe.exec(e).slice(1)}toString(){return this.path}}class Dt{constructor(e,t){var i=e.indexOf("://")>-1,r=e,n;if(this.Url=void 0,this.href=e,this.protocol="",this.origin="",this.hash="",this.hash="",this.search="",this.base=t,!i&&t!==!1&&typeof t!="string"&&window&&window.location&&(this.base=window.location.href),i||this.base)try{this.base?this.Url=new URL(e,this.base):this.Url=new URL(e),this.href=this.Url.href,this.protocol=this.Url.protocol,this.origin=this.Url.origin,this.hash=this.Url.hash,this.search=this.Url.search,r=this.Url.pathname+(this.Url.search?this.Url.search:"")}catch{this.Url=void 0,this.base&&(n=new It(this.base),r=n.resolve(r))}this.Path=new It(r),this.directory=this.Path.directory,this.filename=this.Path.filename,this.extension=this.Path.extension}path(){return this.Path}resolve(e){var t=e.indexOf("://")>-1,i;return t?e:(i=Ft.resolve(this.directory,e),this.origin+i)}relative(e){return Ft.relative(e,this.directory)}toString(){return this.href}}const Vt=1,mt=3,Fs=9;class Oe{constructor(e,t,i){var r;if(this.str="",this.base={},this.spinePos=0,this.range=!1,this.path={},this.start=null,this.end=null,!(this instanceof Oe))return new Oe(e,t,i);if(typeof t=="string"?this.base=this.parseComponent(t):typeof t=="object"&&t.steps&&(this.base=t),r=this.checkType(e),r==="string")return this.str=e,ot(this,this.parse(e));if(r==="range")return ot(this,this.fromRange(e,this.base,i));if(r==="node")return ot(this,this.fromNode(e,this.base,i));if(r==="EpubCFI"&&e.path)return e;if(e)throw new TypeError("not a valid argument for EpubCFI");return this}checkType(e){return this.isCfiString(e)?"string":e&&typeof e=="object"&&(Cn(e)==="Range"||typeof e.startContainer<"u")?"range":e&&typeof e=="object"&&typeof e.nodeType<"u"?"node":e&&typeof e=="object"&&e instanceof Oe?"EpubCFI":!1}parse(e){var t={spinePos:-1,range:!1,base:{},path:{},start:null,end:null},i,r,n;return typeof e!="string"?{spinePos:-1}:(e.indexOf("epubcfi(")===0&&e[e.length-1]===")"&&(e=e.slice(8,e.length-1)),i=this.getChapterComponent(e),i?(t.base=this.parseComponent(i),r=this.getPathComponent(e),t.path=this.parseComponent(r),n=this.getRange(e),n&&(t.range=!0,t.start=this.parseComponent(n[0]),t.end=this.parseComponent(n[1])),t.spinePos=t.base.steps[1].index,t):{spinePos:-1})}parseComponent(e){var t={steps:[],terminal:{offset:null,assertion:null}},i=e.split(":"),r=i[0].split("/"),n;return i.length>1&&(n=i[1],t.terminal=this.parseTerminal(n)),r[0]===""&&r.shift(),t.steps=r.map(function(s){return this.parseStep(s)}.bind(this)),t}parseStep(e){var t,i,r,n,s;if(n=e.match(/\[(.*)\]/),n&&n[1]&&(s=n[1]),i=parseInt(e),!isNaN(i))return i%2===0?(t="element",r=i/2-1):(t="text",r=(i-1)/2),{type:t,index:r,id:s||null}}parseTerminal(e){var t,i,r=e.match(/\[(.*)\]/);return r&&r[1]?(t=parseInt(e.split("[")[0]),i=r[1]):t=parseInt(e),Ke(t)||(t=null),{offset:t,assertion:i}}getChapterComponent(e){var t=e.split("!");return t[0]}getPathComponent(e){var t=e.split("!");if(t[1])return t[1].split(",")[0]}getRange(e){var t=e.split(",");return t.length===3?[t[1],t[2]]:!1}getCharecterOffsetComponent(e){var t=e.split(":");return t[1]||""}joinSteps(e){return e?e.map(function(t){var i="";return t.type==="element"&&(i+=(t.index+1)*2),t.type==="text"&&(i+=1+2*t.index),t.id&&(i+="["+t.id+"]"),i}).join("/"):""}segmentString(e){var t="/";return t+=this.joinSteps(e.steps),e.terminal&&e.terminal.offset!=null&&(t+=":"+e.terminal.offset),e.terminal&&e.terminal.assertion!=null&&(t+="["+e.terminal.assertion+"]"),t}toString(){var e="epubcfi(";return e+=this.segmentString(this.base),e+="!",e+=this.segmentString(this.path),this.range&&this.start&&(e+=",",e+=this.segmentString(this.start)),this.range&&this.end&&(e+=",",e+=this.segmentString(this.end)),e+=")",e}compare(e,t){var i,r,n,s;if(typeof e=="string"&&(e=new Oe(e)),typeof t=="string"&&(t=new Oe(t)),e.spinePos>t.spinePos)return 1;if(e.spinePosr[a].index)return 1;if(i[a].indexs.offset?1:n.offset=0&&(r.terminal.offset=t,r.steps[r.steps.length-1].type!="text"&&r.steps.push({type:"text",index:0})),r}equalStep(e,t){return!e||!t?!1:e.index===t.index&&e.id===t.id&&e.type===t.type}fromRange(e,t,i){var r={range:!1,base:{},path:{},start:null,end:null},n=e.startContainer,s=e.endContainer,a=e.startOffset,l=e.endOffset,d=!1;if(i&&(d=n.ownerDocument.querySelector("."+i)!=null),typeof t=="string"?(r.base=this.parseComponent(t),r.spinePos=r.base.steps[1].index):typeof t=="object"&&(r.base=t),e.collapsed)d&&(a=this.patchOffset(n,a,i)),r.path=this.pathTo(n,a,i);else{r.range=!0,d&&(a=this.patchOffset(n,a,i)),r.start=this.pathTo(n,a,i),d&&(l=this.patchOffset(s,l,i)),r.end=this.pathTo(s,l,i),r.path={steps:[],terminal:null};var p=r.start.steps.length,f;for(f=0;f0&&l===mt&&d===mt?r[s]=n:t===l&&(n=n+1,r[s]=n),d=l;return r}position(e){var t,i;return e.nodeType===Vt?(t=e.parentNode.children,t||(t=lr(e.parentNode)),i=Array.prototype.indexOf.call(t,e)):(t=this.textNodes(e.parentNode),i=t.indexOf(e)),i}filteredPosition(e,t){var i,r,n;return e.nodeType===Vt?(i=e.parentNode.children,n=this.normalizedMap(i,Vt,t)):(i=e.parentNode.childNodes,e.parentNode.classList.contains(t)&&(e=e.parentNode,i=e.parentNode.childNodes),n=this.normalizedMap(i,mt,t)),r=Array.prototype.indexOf.call(i,e),n[r]}stepsToXpath(e){var t=[".","*"];return e.forEach(function(i){var r=i.index+1;i.id?t.push("*[position()="+r+" and @id='"+i.id+"']"):i.type==="text"?t.push("text()["+r+"]"):t.push("*["+r+"]")}),t.join("/")}stepsToQuerySelector(e){var t=["html"];return e.forEach(function(i){var r=i.index+1;i.id?t.push("#"+i.id):i.type==="text"||t.push("*:nth-child("+r+")")}),t.join(">")}textNodes(e,t){return Array.prototype.slice.call(e.childNodes).filter(function(i){return i.nodeType===mt?!0:!!(t&&i.classList.contains(t))})}walkToNode(e,t,i){var r=t||document,n=r.documentElement,s,a,l=e.length,d;for(d=0;dd)t=t-d;else{l.nodeType===Vt?n=l.childNodes[0]:n=l;break}}return{container:n,offset:t}}toRange(e,t){var i=e||document,r,n,s,a,l,d=this,p,f,w=t?i.querySelector("."+t)!=null:!1,m;if(typeof i.createRange<"u"?r=i.createRange():r=new kn,d.range?(n=d.start,p=d.path.steps.concat(n.steps),a=this.findNode(p,i,w?t:null),s=d.end,f=d.path.steps.concat(s.steps),l=this.findNode(f,i,w?t:null)):(n=d.path,p=d.path.steps,a=this.findNode(d.path.steps,i,w?t:null)),a)try{n.terminal.offset!=null?r.setStart(a,n.terminal.offset):r.setStart(a,0)}catch{m=this.fixMiss(p,n.terminal.offset,i,w?t:null),r.setStart(m.container,m.offset)}else return console.log("No startContainer found for",this.toString()),null;if(l)try{s.terminal.offset!=null?r.setEnd(l,s.terminal.offset):r.setEnd(l,0)}catch{m=this.fixMiss(f,d.end.terminal.offset,i,w?t:null),r.setEnd(m.container,m.offset)}return r}isCfiString(e){return typeof e=="string"&&e.indexOf("epubcfi(")===0&&e[e.length-1]===")"}generateChapterComponent(e,t,i){var r=parseInt(t),n=(e+1)*2,s="/"+n+"/";return s+=(r+1)*2,i&&(s+="["+i+"]"),s}collapse(e){this.range&&(this.range=!1,e?(this.path.steps=this.path.steps.concat(this.start.steps),this.path.terminal=this.start.terminal):(this.path.steps=this.path.steps.concat(this.end.steps),this.path.terminal=this.end.terminal))}}class At{constructor(e){this.context=e||this,this.hooks=[]}register(){for(var e=0;e-1;D&&(i=je(D,"head"),t=je(i,"base"),t||(t=D.createElement("base"),i.insertBefore(t,i.firstChild)),!n&&window&&window.location&&(r=window.location.origin+r),t.setAttribute("href",r))}function Ps(D,e){var t,i,r=e.canonical;D&&(t=je(D,"head"),i=je(t,"link[rel='canonical']"),i?i.setAttribute("href",r):(i=D.createElement("link"),i.setAttribute("rel","canonical"),i.setAttribute("href",r),t.appendChild(i)))}function zs(D,e){var t,i,r=e.idref;D&&(t=je(D,"head"),i=je(t,"link[property='dc.identifier']"),i?i.setAttribute("content",r):(i=D.createElement("meta"),i.setAttribute("name","dc.identifier"),i.setAttribute("content",r),t.appendChild(i)))}function Ms(D,e){var t=D.querySelectorAll("a[href]");if(t.length)for(var i=je(D.ownerDocument,"base"),r=i?i.getAttribute("href"):void 0,n=function(a){var l=a.getAttribute("href");if(l.indexOf("mailto:")!==0){var d=l.indexOf("://")>-1;if(d)a.setAttribute("target","_blank");else{var p;try{p=new Dt(l,r)}catch{}a.onclick=function(){return p&&p.hash?e(p.Path.path+p.hash):e(p?p.Path.path:l),!1}}}}.bind(this),s=0;s=0,a;typeof XMLSerializer>"u"||s?a=yn.DOMParser:a=XMLSerializer;var l=new a;return this.output=l.serializeToString(r),this.output}.bind(this)).then(function(){return this.hooks.serialize.trigger(this.output,this)}.bind(this)).then(function(){t.resolve(this.output)}.bind(this)).catch(function(r){t.reject(r)}),i}find(e){var t=this,i=[],r=e.toLowerCase(),n=function(s){for(var a=s.textContent.toLowerCase(),l=t.document.createRange(),d,p,f=-1,w,m=150;p!=-1;)p=a.indexOf(r,f+1),p!=-1&&(l=t.document.createRange(),l.setStart(s,p),l.setEnd(s,p+r.length),d=t.cfiFromRange(l),s.textContent.length"u")return this.find(e);let i=[];const r=150,n=this,s=e.toLowerCase(),a=function(f){const L=f.reduce((x,h)=>x+h.textContent,"").toLowerCase().indexOf(s);if(L!=-1){const h=L+s.length;let v=0,g=0;if(Lk+I.textContent.length,0);T.setEnd(y,N>h?h:h-N),C=n.cfiFromRange(T);let R=f.slice(0,v+1).reduce((k,I)=>k+I.textContent,"");R.length>r&&(R=R.substring(L-r/2,L+r/2),R="..."+R+"..."),i.push({cfi:C,excerpt:R})}}},l=document.createTreeWalker(n.document,NodeFilter.SHOW_TEXT,null,!1);let d,p=[];for(;d=l.nextNode();)p.push(d),p.length==t&&(a(p.slice(0,t)),p=p.slice(1,t));return p.length>0&&a(p),i}reconcileLayoutSettings(e){var t={layout:e.layout,spread:e.spread,orientation:e.orientation};return this.properties.forEach(function(i){var r=i.replace("rendition:",""),n=r.indexOf("-"),s,a;n!=-1&&(s=r.slice(0,n),a=r.slice(n+1),t[s]=a)}),t}cfiFromRange(e){return new Oe(e,this.cfiBase).toString()}cfiFromElement(e){return new Oe(e,this.cfiBase).toString()}unload(){this.document=void 0,this.contents=void 0,this.output=void 0}destroy(){this.unload(),this.hooks.serialize.clear(),this.hooks.content.clear(),this.hooks=void 0,this.idref=void 0,this.linear=void 0,this.properties=void 0,this.index=void 0,this.href=void 0,this.url=void 0,this.next=void 0,this.prev=void 0,this.cfiBase=void 0}}class qs{constructor(){this.spineItems=[],this.spineByHref={},this.spineById={},this.hooks={},this.hooks.serialize=new At,this.hooks.content=new At,this.hooks.content.register(Nn),this.hooks.content.register(Ps),this.hooks.content.register(zs),this.epubcfi=new Oe,this.loaded=!1,this.items=void 0,this.manifest=void 0,this.spineNodeIndex=void 0,this.baseUrl=void 0,this.length=void 0}unpack(e,t,i){this.items=e.spine,this.manifest=e.manifest,this.spineNodeIndex=e.spineNodeIndex,this.baseUrl=e.baseUrl||e.basePath||"",this.length=this.items.length,this.items.forEach((r,n)=>{var s=this.manifest[r.idref],a;r.index=n,r.cfiBase=this.epubcfi.generateChapterComponent(this.spineNodeIndex,r.index,r.id),r.href&&(r.url=t(r.href,!0),r.canonical=i(r.href)),s&&(r.href=s.href,r.url=t(r.href,!0),r.canonical=i(r.href),s.properties.length&&r.properties.push.apply(r.properties,s.properties)),r.linear==="yes"?(r.prev=function(){let l=r.index;for(;l>0;){let d=this.get(l-1);if(d&&d.linear)return d;l-=1}}.bind(this),r.next=function(){let l=r.index;for(;l"u")for(;t-1)return delete this.spineByHref[e.href],delete this.spineById[e.idref],this.spineItems.splice(t,1)}each(){return this.spineItems.forEach.apply(this.spineItems,arguments)}first(){let e=0;do{let t=this.get(e);if(t&&t.linear)return t;e+=1}while(e=0)}destroy(){this.each(e=>e.destroy()),this.spineItems=void 0,this.spineByHref=void 0,this.spineById=void 0,this.hooks.serialize.clear(),this.hooks.content.clear(),this.hooks=void 0,this.epubcfi=void 0,this.loaded=!1,this.items=void 0,this.manifest=void 0,this.spineNodeIndex=void 0,this.baseUrl=void 0,this.length=void 0}}class gr{constructor(e){this._q=[],this.context=e,this.tick=dr,this.running=!1,this.paused=!1}enqueue(){var e,t,i,r=[].shift.call(arguments),n=arguments;if(!r)throw new Error("No Task Provided");return typeof r=="function"?(e=new Ie,t=e.promise,i={task:r,args:n,deferred:e,promise:t}):i={promise:r},this._q.push(i),this.paused==!1&&!this.running&&this.run(),i.promise}dequeue(){var e,t,i;if(this._q.length&&!this.paused){if(e=this._q.shift(),t=e.task,t)return i=t.apply(this.context,e.args),i&&typeof i.then=="function"?i.then(function(){e.deferred.resolve.apply(this.context,arguments)}.bind(this),function(){e.deferred.reject.apply(this.context,arguments)}.bind(this)):(e.deferred.resolve.apply(this.context,i),e.promise);if(e.promise)return e.promise}else return e=new Ie,e.deferred.resolve(),e.promise}dump(){for(;this._q.length;)this.dequeue()}run(){return this.running||(this.running=!0,this.defered=new Ie),this.tick.call(window,()=>{this._q.length?this.dequeue().then(function(){this.run()}.bind(this)):(this.defered.resolve(),this.running=void 0)}),this.paused==!0&&(this.paused=!1),this.defered.promise}flush(){if(this.running)return this.running;if(this._q.length)return this.running=this.dequeue().then(function(){return this.running=void 0,this.flush()}.bind(this)),this.running}clear(){this._q=[]}length(){return this._q.length}pause(){this.paused=!0}stop(){this._q=[],this.running=!1,this.paused=!0}}const Ci="0.3",vi=["keydown","keyup","keypressed","mouseup","mousedown","mousemove","click","touchend","touchstart","touchmove"],le={BOOK:{OPEN_FAILED:"openFailed"},CONTENTS:{EXPAND:"expand",RESIZE:"resize",SELECTED:"selected",SELECTED_RANGE:"selectedRange",LINK_CLICKED:"linkClicked"},LOCATIONS:{CHANGED:"changed"},MANAGERS:{RESIZE:"resize",RESIZED:"resized",ORIENTATION_CHANGE:"orientationchange",ADDED:"added",SCROLL:"scroll",SCROLLED:"scrolled",REMOVED:"removed"},VIEWS:{AXIS:"axis",WRITING_MODE:"writingMode",LOAD_ERROR:"loaderror",RENDERED:"rendered",RESIZED:"resized",DISPLAYED:"displayed",SHOWN:"shown",HIDDEN:"hidden",MARK_CLICKED:"markClicked"},RENDITION:{STARTED:"started",ATTACHED:"attached",DISPLAYED:"displayed",DISPLAY_ERROR:"displayerror",RENDERED:"rendered",REMOVED:"removed",RESIZED:"resized",ORIENTATION_CHANGE:"orientationchange",LOCATION_CHANGED:"locationChanged",RELOCATED:"relocated",MARK_CLICKED:"markClicked",SELECTED:"selected",LAYOUT:"layout"},LAYOUT:{UPDATED:"updated"},ANNOTATION:{ATTACH:"attach",DETACH:"detach"}};class Rn{constructor(e,t,i){this.spine=e,this.request=t,this.pause=i||100,this.q=new gr(this),this.epubcfi=new Oe,this._locations=[],this._locationsWords=[],this.total=0,this.break=150,this._current=0,this._wordCounter=0,this.currentLocation="",this._currentCfi="",this.processingTimeout=void 0}generate(e){return e&&(this.break=e),this.q.pause(),this.spine.each(function(t){t.linear&&this.q.enqueue(this.process.bind(this),t)}.bind(this)),this.q.run().then(function(){return this.total=this._locations.length-1,this._currentCfi&&(this.currentLocation=this._currentCfi),this._locations}.bind(this))}createRange(){return{startContainer:void 0,startOffset:void 0,endContainer:void 0,endOffset:void 0}}process(e){return e.load(this.request).then(function(t){var i=new Ie,r=this.parse(t,e.cfiBase);return this._locations=this._locations.concat(r),e.unload(),this.processingTimeout=setTimeout(()=>i.resolve(r),this.pause),i.promise}.bind(this))}parse(e,t,i){var r=[],n,s=e.ownerDocument,a=je(s,"body"),l=0,d,p=i||this.break,f=function(w){var m=w.length,L,x=0;if(w.textContent.trim().length===0)return!1;for(l==0&&(n=this.createRange(),n.startContainer=w,n.startOffset=0),L=p-l,L>m&&(l+=m,x=m);x=m)l+=m-x,x=m;else{x+=L,n.endContainer=w,n.endOffset=x;let h=new Oe(n,t).toString();r.push(h),l=0}d=w};if(wi(a,f.bind(this)),n&&n.startContainer&&d){n.endContainer=d,n.endOffset=d.length;let w=new Oe(n,t).toString();r.push(w),l=0}return r}generateFromWords(e,t,i){var r=e?new Oe(e):void 0;return this.q.pause(),this._locationsWords=[],this._wordCounter=0,this.spine.each(function(n){n.linear&&(r?n.index>=r.spinePos&&this.q.enqueue(this.processWords.bind(this),n,t,r,i):this.q.enqueue(this.processWords.bind(this),n,t,r,i))}.bind(this)),this.q.run().then(function(){return this._currentCfi&&(this.currentLocation=this._currentCfi),this._locationsWords}.bind(this))}processWords(e,t,i,r){return r&&this._locationsWords.length>=r?Promise.resolve():e.load(this.request).then(function(n){var s=new Ie,a=this.parseWords(n,e,t,i),l=r-this._locationsWords.length;return this._locationsWords=this._locationsWords.concat(a.length>=r?a.slice(0,l):a),e.unload(),this.processingTimeout=setTimeout(()=>s.resolve(a),this.pause),s.promise}.bind(this))}countWords(e){return e=e.replace(/(^\s*)|(\s*$)/gi,""),e=e.replace(/[ ]{2,}/gi," "),e=e.replace(/\n /,` +`),e.split(" ").length}parseWords(e,t,i,r){var n=t.cfiBase,s=[],a=e.ownerDocument,l=je(a,"body"),d=i,p=r?r.spinePos!==t.index:!0,f;r&&t.index===r.spinePos&&(f=r.findNode(r.range?r.path.steps.concat(r.start.steps):r.path.steps,e.ownerDocument));var w=function(m){if(!p)if(m===f)p=!0;else return!1;if(m.textContent.length<10&&m.textContent.trim().length===0)return!1;var L=this.countWords(m.textContent),x,h=0;if(L===0)return!1;for(x=d-this._wordCounter,x>L&&(this._wordCounter+=L,h=L);h=L)this._wordCounter+=L-h,h=L;else{h+=x;let v=new Oe(m,n);s.push({cfi:v.toString(),wordCount:this._wordCounter}),this._wordCounter=0}};return wi(l,w.bind(this)),s}locationFromCfi(e){let t;return Oe.prototype.isCfiString(e)&&(e=new Oe(e)),this._locations.length===0?-1:(t=$t(e,this._locations,this.epubcfi.compare),t>this.total?this.total:t)}percentageFromCfi(e){if(this._locations.length===0)return null;var t=this.locationFromCfi(e);return this.percentageFromLocation(t)}percentageFromLocation(e){return!e||!this.total?0:e/this.total}cfiFromLocation(e){var t=-1;return typeof e!="number"&&(e=parseInt(e)),e>=0&&e1&&console.warn("Normalize cfiFromPercentage value to between 0 - 1"),e>=1){let i=new Oe(this._locations[this.total]);return i.collapse(),i.toString()}return t=Math.ceil(this.total*e),this.cfiFromLocation(t)}load(e){return typeof e=="string"?this._locations=JSON.parse(e):this._locations=e,this.total=this._locations.length-1,this._locations}save(){return JSON.stringify(this._locations)}getCurrent(){return this._current}setCurrent(e){var t;if(typeof e=="string")this._currentCfi=e;else if(typeof e=="number")this._current=e;else return;this._locations.length!==0&&(typeof e=="string"?(t=this.locationFromCfi(e),this._current=t):t=e,this.emit(le.LOCATIONS.CHANGED,{percentage:this.percentageFromLocation(t)}))}get currentLocation(){return this._current}set currentLocation(e){this.setCurrent(e)}length(){return this._locations.length}destroy(){this.spine=void 0,this.request=void 0,this.pause=void 0,this.q.stop(),this.q=void 0,this.epubcfi=void 0,this._locations=void 0,this.total=void 0,this.break=void 0,this._current=void 0,this.currentLocation=void 0,this._currentCfi=void 0,clearTimeout(this.processingTimeout)}}Tt(Rn.prototype);class Ws{constructor(e){this.packagePath="",this.directory="",this.encoding="",e&&this.parse(e)}parse(e){var t;if(!e)throw new Error("Container File Not Found");if(t=je(e,"rootfile"),!t)throw new Error("No RootFile Found");this.packagePath=t.getAttribute("full-path"),this.directory=Ft.dirname(this.packagePath),this.encoding=e.xmlEncoding}destroy(){this.packagePath=void 0,this.directory=void 0,this.encoding=void 0}}class sn{constructor(e){this.manifest={},this.navPath="",this.ncxPath="",this.coverPath="",this.spineNodeIndex=0,this.spine=[],this.metadata={},e&&this.parse(e)}parse(e){var t,i,r;if(!e)throw new Error("Package File Not Found");if(t=je(e,"metadata"),!t)throw new Error("No Metadata Found");if(i=je(e,"manifest"),!i)throw new Error("No Manifest Found");if(r=je(e,"spine"),!r)throw new Error("No Spine Found");return this.manifest=this.parseManifest(i),this.navPath=this.findNavPath(i),this.ncxPath=this.findNcxPath(i,r),this.coverPath=this.findCoverPath(e),this.spineNodeIndex=xn(r),this.spine=this.parseSpine(r,this.manifest),this.uniqueIdentifier=this.findUniqueIdentifier(e),this.metadata=this.parseMetadata(t),this.metadata.direction=r.getAttribute("page-progression-direction"),{metadata:this.metadata,spine:this.spine,manifest:this.manifest,navPath:this.navPath,ncxPath:this.ncxPath,coverPath:this.coverPath,spineNodeIndex:this.spineNodeIndex}}parseMetadata(e){var t={};return t.title=this.getElementText(e,"title"),t.creator=this.getElementText(e,"creator"),t.description=this.getElementText(e,"description"),t.pubdate=this.getElementText(e,"date"),t.publisher=this.getElementText(e,"publisher"),t.identifier=this.getElementText(e,"identifier"),t.language=this.getElementText(e,"language"),t.rights=this.getElementText(e,"rights"),t.modified_date=this.getPropertyText(e,"dcterms:modified"),t.layout=this.getPropertyText(e,"rendition:layout"),t.orientation=this.getPropertyText(e,"rendition:orientation"),t.flow=this.getPropertyText(e,"rendition:flow"),t.viewport=this.getPropertyText(e,"rendition:viewport"),t.media_active_class=this.getPropertyText(e,"media:active-class"),t.spread=this.getPropertyText(e,"rendition:spread"),t}parseManifest(e){var t={},i=Rt(e,"item"),r=Array.prototype.slice.call(i);return r.forEach(function(n){var s=n.getAttribute("id"),a=n.getAttribute("href")||"",l=n.getAttribute("media-type")||"",d=n.getAttribute("media-overlay")||"",p=n.getAttribute("properties")||"";t[s]={href:a,type:l,overlay:d,properties:p.length?p.split(" "):[]}}),t}parseSpine(e,t){var i=[],r=Rt(e,"itemref"),n=Array.prototype.slice.call(r);return n.forEach(function(s,a){var l=s.getAttribute("idref"),d=s.getAttribute("properties")||"",p=d.length?d.split(" "):[],f={id:s.getAttribute("id"),idref:l,linear:s.getAttribute("linear")||"yes",properties:p,index:a};i.push(f)}),i}findUniqueIdentifier(e){var t=e.documentElement.getAttribute("unique-identifier");if(!t)return"";var i=e.getElementById(t);return i&&i.localName==="identifier"&&i.namespaceURI==="http://purl.org/dc/elements/1.1/"&&i.childNodes.length>0?i.childNodes[0].nodeValue.trim():""}findNavPath(e){var t=Yt(e,"item",{properties:"nav"});return t?t.getAttribute("href"):!1}findNcxPath(e,t){var i=Yt(e,"item",{"media-type":"application/x-dtbncx+xml"}),r;return i||(r=t.getAttribute("toc"),r&&(i=e.querySelector(`#${r}`))),i?i.getAttribute("href"):!1}findCoverPath(e){var t=je(e,"package");t.getAttribute("version");var i=Yt(e,"item",{properties:"cover-image"});if(i)return i.getAttribute("href");var r=Yt(e,"meta",{name:"cover"});if(r){var n=r.getAttribute("content"),s=e.getElementById(n);return s?s.getAttribute("href"):""}else return!1}getElementText(e,t){var i=e.getElementsByTagNameNS("http://purl.org/dc/elements/1.1/",t),r;return!i||i.length===0?"":(r=i[0],r.childNodes.length?r.childNodes[0].nodeValue:"")}getPropertyText(e,t){var i=Yt(e,"meta",{property:t});return i&&i.childNodes.length?i.childNodes[0].nodeValue:""}load(e){this.metadata=e.metadata;let t=e.readingOrder||e.spine;return this.spine=t.map((i,r)=>(i.index=r,i.linear=i.linear||"yes",i)),e.resources.forEach((i,r)=>{this.manifest[r]=i,i.rel&&i.rel[0]==="cover"&&(this.coverPath=i.href)}),this.spineNodeIndex=0,this.toc=e.toc.map((i,r)=>(i.label=i.title,i)),{metadata:this.metadata,spine:this.spine,manifest:this.manifest,navPath:this.navPath,ncxPath:this.ncxPath,coverPath:this.coverPath,spineNodeIndex:this.spineNodeIndex,toc:this.toc}}destroy(){this.manifest=void 0,this.navPath=void 0,this.ncxPath=void 0,this.coverPath=void 0,this.spineNodeIndex=void 0,this.spine=void 0,this.metadata=void 0}}class tr{constructor(e){this.toc=[],this.tocByHref={},this.tocById={},this.landmarks=[],this.landmarksByType={},this.length=0,e&&this.parse(e)}parse(e){let t=e.nodeType,i,r;t&&(i=je(e,"html"),r=je(e,"ncx")),t?i?(this.toc=this.parseNav(e),this.landmarks=this.parseLandmarks(e)):r&&(this.toc=this.parseNcx(e)):this.toc=this.load(e),this.length=0,this.unpack(this.toc)}unpack(e){for(var t,i=0;i(t.label=t.title,t.subitems=t.children?this.load(t.children):[],t))}forEach(e){return this.toc.forEach(e)}}var ti={application:{ecmascript:["es","ecma"],javascript:"js",ogg:"ogx",pdf:"pdf",postscript:["ps","ai","eps","epsi","epsf","eps2","eps3"],"rdf+xml":"rdf",smil:["smi","smil"],"xhtml+xml":["xhtml","xht"],xml:["xml","xsl","xsd","opf","ncx"],zip:"zip","x-httpd-eruby":"rhtml","x-latex":"latex","x-maker":["frm","maker","frame","fm","fb","book","fbdoc"],"x-object":"o","x-shockwave-flash":["swf","swfl"],"x-silverlight":"scr","epub+zip":"epub","font-tdpfr":"pfr","inkml+xml":["ink","inkml"],json:"json","jsonml+json":"jsonml","mathml+xml":"mathml","metalink+xml":"metalink",mp4:"mp4s","omdoc+xml":"omdoc",oxps:"oxps","vnd.amazon.ebook":"azw",widget:"wgt","x-dtbook+xml":"dtb","x-dtbresource+xml":"res","x-font-bdf":"bdf","x-font-ghostscript":"gsf","x-font-linux-psf":"psf","x-font-otf":"otf","x-font-pcf":"pcf","x-font-snf":"snf","x-font-ttf":["ttf","ttc"],"x-font-type1":["pfa","pfb","pfm","afm"],"x-font-woff":"woff","x-mobipocket-ebook":["prc","mobi"],"x-mspublisher":"pub","x-nzb":"nzb","x-tgif":"obj","xaml+xml":"xaml","xml-dtd":"dtd","xproc+xml":"xpl","xslt+xml":"xslt","internet-property-stream":"acx","x-compress":"z","x-compressed":"tgz","x-gzip":"gz"},audio:{flac:"flac",midi:["mid","midi","kar","rmi"],mpeg:["mpga","mpega","mp2","mp3","m4a","mp2a","m2a","m3a"],mpegurl:"m3u",ogg:["oga","ogg","spx"],"x-aiff":["aif","aiff","aifc"],"x-ms-wma":"wma","x-wav":"wav",adpcm:"adp",mp4:"mp4a",webm:"weba","x-aac":"aac","x-caf":"caf","x-matroska":"mka","x-pn-realaudio-plugin":"rmp",xm:"xm",mid:["mid","rmi"]},image:{gif:"gif",ief:"ief",jpeg:["jpeg","jpg","jpe"],pcx:"pcx",png:"png","svg+xml":["svg","svgz"],tiff:["tiff","tif"],"x-icon":"ico",bmp:"bmp",webp:"webp","x-pict":["pic","pct"],"x-tga":"tga","cis-cod":"cod"},text:{"cache-manifest":["manifest","appcache"],css:"css",csv:"csv",html:["html","htm","shtml","stm"],mathml:"mml",plain:["txt","text","brf","conf","def","list","log","in","bas"],richtext:"rtx","tab-separated-values":"tsv","x-bibtex":"bib"},video:{mpeg:["mpeg","mpg","mpe","m1v","m2v","mp2","mpa","mpv2"],mp4:["mp4","mp4v","mpg4"],quicktime:["qt","mov"],ogg:"ogv","vnd.mpegurl":["mxu","m4u"],"x-flv":"flv","x-la-asf":["lsf","lsx"],"x-mng":"mng","x-ms-asf":["asf","asx","asr"],"x-ms-wm":"wm","x-ms-wmv":"wmv","x-ms-wmx":"wmx","x-ms-wvx":"wvx","x-msvideo":"avi","x-sgi-movie":"movie","x-matroska":["mpv","mkv","mk3d","mks"],"3gpp2":"3g2",h261:"h261",h263:"h263",h264:"h264",jpeg:"jpgv",jpm:["jpm","jpgm"],mj2:["mj2","mjp2"],"vnd.ms-playready.media.pyv":"pyv","vnd.uvvu.mp4":["uvu","uvvu"],"vnd.vivo":"viv",webm:"webm","x-f4v":"f4v","x-m4v":"m4v","x-ms-vob":"vob","x-smv":"smv"}},js=(function(){var D,e,t,i,r={};for(D in ti)if(ti.hasOwnProperty(D)){for(e in ti[D])if(ti[D].hasOwnProperty(e))if(t=ti[D][e],typeof t=="string")r[t]=D+"/"+e;else for(i=0;iTn(r)).then(r=>ur(r,i)):this.settings.request(e,"blob").then(r=>bi(r,i))}replacements(){if(this.settings.replacements==="none")return new Promise(function(t){t(this.urls)}.bind(this));var e=this.urls.map(t=>{var i=this.settings.resolver(t);return this.createUrl(i).catch(r=>(console.error(r),null))});return Promise.all(e).then(t=>(this.replacementUrls=t.filter(i=>typeof i=="string"),t))}replaceCss(e,t){var i=[];return e=e||this.settings.archive,t=t||this.settings.resolver,this.cssUrls.forEach(function(r){var n=this.createCssFile(r,e,t).then(function(s){var a=this.urls.indexOf(r);a>-1&&(this.replacementUrls[a]=s)}.bind(this));i.push(n)}.bind(this)),Promise.all(i)}createCssFile(e){var t;if(Ft.isAbsolute(e))return new Promise(function(s){s()});var i=this.settings.resolver(e),r;this.settings.archive?r=this.settings.archive.getText(i):r=this.settings.request(i,"text");var n=this.urls.map(s=>{var a=this.settings.resolver(s),l=new It(i).relative(a);return l});return r?r.then(s=>(s=nn(s,n,this.replacementUrls),this.settings.replacements==="base64"?t=ur(s,"text/css"):t=bi(s,"text/css"),t),s=>new Promise(function(a){a()})):new Promise(function(s){s()})}relativeTo(e,t){return t=t||this.settings.resolver,this.urls.map(function(i){var r=t(i),n=new It(e).relative(r);return n}.bind(this))}get(e){var t=this.urls.indexOf(e);if(t!==-1)return this.replacementUrls.length?new Promise(function(i,r){i(this.replacementUrls[t])}.bind(this)):this.createUrl(e)}substitute(e,t){var i;return t?i=this.relativeTo(t):i=this.urls,nn(e,i,this.replacementUrls)}destroy(){this.settings=void 0,this.manifest=void 0,this.resources=void 0,this.replacementUrls=void 0,this.html=void 0,this.assets=void 0,this.css=void 0,this.urls=void 0,this.cssUrls=void 0}}class ir{constructor(e){this.pages=[],this.locations=[],this.epubcfi=new Oe,this.firstPage=0,this.lastPage=0,this.totalPages=0,this.toc=void 0,this.ncx=void 0,e&&(this.pageList=this.parse(e)),this.pageList&&this.pageList.length&&this.process(this.pageList)}parse(e){var t=je(e,"html"),i=je(e,"ncx");if(t)return this.parseNav(e);if(i)return this.parseNcx(e)}parseNav(e){var t=_i(e,"nav","page-list"),i=t?Rt(t,"li"):[],r=i.length,n,s=[],a;if(!i||r===0)return s;for(n=0;n1?a[1]:!1,{cfi:d,href:i,packageUrl:l,page:n}):{href:i,page:n}}process(e){e.forEach(function(t){this.pages.push(t.page),t.cfi&&this.locations.push(t.cfi)},this),this.firstPage=parseInt(this.pages[0]),this.lastPage=parseInt(this.pages[this.pages.length-1]),this.totalPages=this.lastPage-this.firstPage}pageFromCfi(e){var t=-1;if(this.locations.length===0)return-1;var i=gi(e,this.locations,this.epubcfi.compare);return i!=-1?t=this.pages[i]:(i=$t(e,this.locations,this.epubcfi.compare),t=i-1>=0?this.pages[i-1]:this.pages[0],t!==void 0||(t=-1)),t}cfiFromPage(e){var t=-1;typeof e!="number"&&(e=parseInt(e));var i=this.pages.indexOf(e);return i!=-1&&(t=this.locations[i]),t}pageFromPercentage(e){var t=Math.round(this.totalPages*e);return t}percentageFromPage(e){var t=(e-this.firstPage)/this.totalPages;return Math.round(t*1e3)/1e3}percentageFromCfi(e){var t=this.pageFromCfi(e),i=this.percentageFromPage(t);return i}destroy(){this.pages=void 0,this.locations=void 0,this.epubcfi=void 0,this.pageList=void 0,this.toc=void 0,this.ncx=void 0}}class In{constructor(e){this.settings=e,this.name=e.layout||"reflowable",this._spread=e.spread!=="none",this._minSpreadWidth=e.minSpreadWidth||800,this._evenSpreads=e.evenSpreads||!1,e.flow==="scrolled"||e.flow==="scrolled-continuous"||e.flow==="scrolled-doc"?this._flow="scrolled":this._flow="paginated",this.width=0,this.height=0,this.spreadWidth=0,this.delta=0,this.columnWidth=0,this.gap=0,this.divisor=1,this.props={name:this.name,spread:this._spread,flow:this._flow,width:0,height:0,spreadWidth:0,delta:0,columnWidth:0,gap:0,divisor:1}}flow(e){return typeof e<"u"&&(e==="scrolled"||e==="scrolled-continuous"||e==="scrolled-doc"?this._flow="scrolled":this._flow="paginated",this.update({flow:this._flow})),this._flow}spread(e,t){return e&&(this._spread=e!=="none",this.update({spread:this._spread})),t>=0&&(this._minSpreadWidth=t),this._spread}calculate(e,t,i){var r=1,n=i||0,s=e,a=t,l=Math.floor(s/12),d,p,f,w;this._spread&&s>=this._minSpreadWidth?r=2:r=1,this.name==="reflowable"&&this._flow==="paginated"&&!(i>=0)&&(n=l%2===0?l:l-1),this.name==="pre-paginated"&&(n=0),r>1?(d=s/r-n,f=d+n):(d=s,f=s),this.name==="pre-paginated"&&r>1&&(s=d),p=d*r+n,w=s,this.width=s,this.height=a,this.spreadWidth=p,this.pageWidth=f,this.delta=w,this.columnWidth=d,this.gap=n,this.divisor=r,this.update({width:s,height:a,spreadWidth:p,pageWidth:f,delta:w,columnWidth:d,gap:n,divisor:r})}format(e,t,i){var r;return this.name==="pre-paginated"?r=e.fit(this.columnWidth,this.height,t):this._flow==="paginated"?r=e.columns(this.width,this.height,this.columnWidth,this.gap,this.settings.direction):i&&i==="horizontal"?r=e.size(null,this.height):r=e.size(this.width,null),r}count(e,t){let i,r;return this.name==="pre-paginated"?(i=1,r=1):this._flow==="paginated"?(t=t||this.delta,i=Math.ceil(e/t),r=i*this.divisor):(t=t||this.height,i=Math.ceil(e/t),r=i),{spreads:i,pages:r}}update(e){if(Object.keys(e).forEach(t=>{this.props[t]===e[t]&&delete e[t]}),Object.keys(e).length>0){let t=ot(this.props,e);this.emit(le.LAYOUT.UPDATED,t,e)}}}Tt(In.prototype);class Gs{constructor(e){this.rendition=e,this._themes={default:{rules:{},url:"",serialized:""}},this._overrides={},this._current="default",this._injected=[],this.rendition.hooks.content.register(this.inject.bind(this)),this.rendition.hooks.content.register(this.overrides.bind(this))}register(){if(arguments.length!==0){if(arguments.length===1&&typeof arguments[0]=="object")return this.registerThemes(arguments[0]);if(arguments.length===1&&typeof arguments[0]=="string")return this.default(arguments[0]);if(arguments.length===2&&typeof arguments[1]=="string")return this.registerUrl(arguments[0],arguments[1]);if(arguments.length===2&&typeof arguments[1]=="object")return this.registerRules(arguments[0],arguments[1])}}default(e){if(e){if(typeof e=="string")return this.registerUrl("default",e);if(typeof e=="object")return this.registerRules("default",e)}}registerThemes(e){for(var t in e)e.hasOwnProperty(t)&&(typeof e[t]=="string"?this.registerUrl(t,e[t]):this.registerRules(t,e[t]))}registerCss(e,t){this._themes[e]={serialized:t},(this._injected[e]||e=="default")&&this.update(e)}registerUrl(e,t){var i=new Dt(t);this._themes[e]={url:i.toString()},(this._injected[e]||e=="default")&&this.update(e)}registerRules(e,t){this._themes[e]={rules:t},(this._injected[e]||e=="default")&&this.update(e)}select(e){var t=this._current,i;this._current=e,this.update(e),i=this.rendition.getContents(),i.forEach(r=>{r.removeClass(t),r.addClass(e)})}update(e){var t=this.rendition.getContents();t.forEach(i=>{this.add(e,i)})}inject(e){var t=[],i=this._themes,r;for(var n in i)i.hasOwnProperty(n)&&(n===this._current||n==="default")&&(r=i[n],(r.rules&&Object.keys(r.rules).length>0||r.url&&t.indexOf(r.url)===-1)&&this.add(n,e),this._injected.push(n));this._current!="default"&&e.addClass(this._current)}add(e,t){var i=this._themes[e];!i||!t||(i.url?t.addStylesheet(i.url):i.serialized?(t.addStylesheetCss(i.serialized,e),i.injected=!0):i.rules&&(t.addStylesheetRules(i.rules,e),i.injected=!0))}override(e,t,i){var r=this.rendition.getContents();this._overrides[e]={value:t,priority:i===!0},r.forEach(n=>{n.css(e,this._overrides[e].value,this._overrides[e].priority)})}removeOverride(e){var t=this.rendition.getContents();delete this._overrides[e],t.forEach(i=>{i.css(e)})}overrides(e){var t=this._overrides;for(var i in t)t.hasOwnProperty(i)&&e.css(i,t[i].value,t[i].priority)}fontSize(e){this.override("font-size",e)}font(e){this.override("font-family",e,!0)}destroy(){this.rendition=void 0,this._themes=void 0,this._overrides=void 0,this._current=void 0,this._injected=void 0}}class Ei{constructor(e,t,i,r=!1){this.layout=e,this.horizontal=i==="horizontal",this.direction=t||"ltr",this._dev=r}section(e){var t=this.findRanges(e),i=this.rangeListToCfiList(e.section.cfiBase,t);return i}page(e,t,i,r){var n=e&&e.document?e.document.body:!1,s;if(n){if(s=this.rangePairToCfiPair(t,{start:this.findStart(n,i,r),end:this.findEnd(n,i,r)}),this._dev===!0){let a=e.document,l=new Oe(s.start).toRange(a),d=new Oe(s.end).toRange(a),p=a.defaultView.getSelection(),f=a.createRange();p.removeAllRanges(),f.setStart(l.startContainer,l.startOffset),f.setEnd(d.endContainer,d.endOffset),p.addRange(f)}return s}}walk(e,t){if(!(e&&e.nodeType===Node.TEXT_NODE)){var i={acceptNode:function(l){return l.data.trim().length>0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}},r=i.acceptNode;r.acceptNode=i.acceptNode;for(var n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,r,!1),s,a;(s=n.nextNode())&&(a=t(s),!a););return a}}findRanges(e){for(var t=[],i=e.contents.scrollWidth(),r=Math.ceil(i/this.layout.spreadWidth),n=r*this.layout.divisor,s=this.layout.columnWidth,a=this.layout.gap,l,d,p=0;p{var d,p,f,w,m;if(m=or(l),this.horizontal&&this.direction==="ltr"){if(d=this.horizontal?m.left:m.top,p=this.horizontal?m.right:m.bottom,d>=t&&d<=i)return l;if(p>t)return l;a=l,r.push(l)}else if(this.horizontal&&this.direction==="rtl"){if(d=m.left,p=m.right,p<=i&&p>=t)return l;if(d=t&&f<=i)return l;if(w>t)return l;a=l,r.push(l)}}),s)return this.findTextStartRange(s,t,i);return this.findTextStartRange(a,t,i)}findEnd(e,t,i){for(var r=[e],n,s=e,a;r.length;)if(n=r.shift(),a=this.walk(n,l=>{var d,p,f,w,m;if(m=or(l),this.horizontal&&this.direction==="ltr"){if(d=Math.round(m.left),p=Math.round(m.right),d>i&&s)return s;if(p>i)return l;s=l,r.push(l)}else if(this.horizontal&&this.direction==="rtl"){if(d=Math.round(this.horizontal?m.left:m.top),p=Math.round(this.horizontal?m.right:m.bottom),pi&&s)return s;if(w>i)return l;s=l,r.push(l)}}),a)return this.findTextEndRange(a,t,i);return this.findTextEndRange(s,t,i)}findTextStartRange(e,t,i){for(var r=this.splitTextNodeIntoRanges(e),n,s,a,l,d,p=0;p=t)return n}else if(this.horizontal&&this.direction==="rtl"){if(d=s.right,d<=i)return n}else if(l=s.top,l>=t)return n;return r[0]}findTextEndRange(e,t,i){for(var r=this.splitTextNodeIntoRanges(e),n,s,a,l,d,p,f,w=0;wi&&n)return n;if(d>i)return s}else if(this.horizontal&&this.direction==="rtl"){if(l=a.left,d=a.right,di&&n)return n;if(f>i)return s}n=s}return r[r.length-1]}splitTextNodeIntoRanges(e,t){var i=[],r=e.textContent||"",n=r.trim(),s,a=e.ownerDocument,l=t||" ",d=n.indexOf(l);if(d===-1||e.nodeType!=Node.TEXT_NODE)return s=a.createRange(),s.selectNodeContents(e),[s];for(s=a.createRange(),s.setStart(e,0),s.setEnd(e,d),i.push(s),s=!1;d!=-1;)d=n.indexOf(l,d+1),d>0&&(s&&(s.setEnd(e,d),i.push(s)),s=a.createRange(),s.setStart(e,d+1));return s&&(s.setEnd(e,n.length),i.push(s)),i}rangePairToCfiPair(e,t){var i=t.start,r=t.end;i.collapse(!0),r.collapse(!1);let n=new Oe(i,e).toString(),s=new Oe(r,e).toString();return{start:n,end:s}}rangeListToCfiList(e,t){for(var i=[],r,n=0;n"u"?(this.resizeListeners(),this.visibilityListeners()):this.resizeObservers(),this.linksHandler()}removeListeners(){this.removeEventListeners(),this.removeSelectionListeners(),this.observer&&this.observer.disconnect(),clearTimeout(this.expanding)}resizeCheck(){let e=this.textWidth(),t=this.textHeight();(e!=this._size.width||t!=this._size.height)&&(this._size={width:e,height:t},this.onResize&&this.onResize(this._size),this.emit(le.CONTENTS.RESIZE,this._size))}resizeListeners(){clearTimeout(this.expanding),requestAnimationFrame(this.resizeCheck.bind(this)),this.expanding=setTimeout(this.resizeListeners.bind(this),350)}visibilityListeners(){document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&this.active===!1?(this.active=!0,this.resizeListeners()):(this.active=!1,clearTimeout(this.expanding))})}transitionListeners(){let e=this.content;e.style.transitionProperty="font, font-size, font-size-adjust, font-stretch, font-variation-settings, font-weight, width, height",e.style.transitionDuration="0.001ms",e.style.transitionTimingFunction="linear",e.style.transitionDelay="0",this._resizeCheck=this.resizeCheck.bind(this),this.document.addEventListener("transitionend",this._resizeCheck)}mediaQueryListeners(){for(var e=this.document.styleSheets,t=function(a){a.matches&&!this._expanding&&setTimeout(this.expand.bind(this),1)}.bind(this),i=0;i{requestAnimationFrame(this.resizeCheck.bind(this))}),this.observer.observe(this.document.documentElement)}mutationObservers(){this.observer=new MutationObserver(t=>{this.resizeCheck()});let e={attributes:!0,childList:!0,characterData:!0,subtree:!0};this.observer.observe(this.document,e)}imageLoadListeners(){for(var e=this.document.querySelectorAll("img"),t,i=0;i0?(a.setStart(s,n.startOffset-2),a.setEnd(s,n.startOffset),i=a.getBoundingClientRect()):i=s.parentNode.getBoundingClientRect()}catch(l){console.error(l,l.stack)}}else i=n.getBoundingClientRect()}}else if(typeof e=="string"&&e.indexOf("#")>-1){let n=e.substring(e.indexOf("#")+1),s=this.document.getElementById(n);if(s)if(an){let a=new Range;a.selectNode(s),i=a.getBoundingClientRect()}else i=s.getBoundingClientRect()}return i&&(r.left=i.left,r.top=i.top),r}addStylesheet(e){return new Promise(function(t,i){var r,n=!1;if(!this.document){t(!1);return}if(r=this.document.querySelector("link[href='"+e+"']"),r){t(!0);return}r=this.document.createElement("link"),r.type="text/css",r.rel="stylesheet",r.href=e,r.onload=r.onreadystatechange=function(){!n&&(!this.readyState||this.readyState=="complete")&&(n=!0,setTimeout(()=>{t(!0)},1))},this.document.head.appendChild(r)}.bind(this))}_getStylesheetNode(e){var t;return e="epubjs-inserted-css-"+(e||""),this.document?(t=this.document.getElementById(e),t||(t=this.document.createElement("style"),t.id=e,this.document.head.appendChild(t)),t):!1}addStylesheetCss(e,t){if(!this.document||!e)return!1;var i;return i=this._getStylesheetNode(t),i.innerHTML=e,!0}addStylesheetRules(e,t){var i;if(!(!this.document||!e||e.length===0))if(i=this._getStylesheetNode(t).sheet,Object.prototype.toString.call(e)==="[object Array]")for(var r=0,n=e.length;r{const L=e[m];if(Array.isArray(L))L.forEach(x=>{const v=Object.keys(x).map(g=>`${g}:${x[g]}`).join(";");i.insertRule(`${m}{${v}}`,i.cssRules.length)});else{const h=Object.keys(L).map(v=>`${v}:${L[v]}`).join(";");i.insertRule(`${m}{${h}}`,i.cssRules.length)}})}addScript(e){return new Promise(function(t,i){var r,n=!1;if(!this.document){t(!1);return}r=this.document.createElement("script"),r.type="text/javascript",r.async=!0,r.src=e,r.onload=r.onreadystatechange=function(){!n&&(!this.readyState||this.readyState=="complete")&&(n=!0,setTimeout(function(){t(!0)},1))},this.document.head.appendChild(r)}.bind(this))}addClass(e){var t;this.document&&(t=this.content||this.document.body,t&&t.classList.add(e))}removeClass(e){var t;this.document&&(t=this.content||this.document.body,t&&t.classList.remove(e))}addEventListeners(){this.document&&(this._triggerEvent=this.triggerEvent.bind(this),vi.forEach(function(e){this.document.addEventListener(e,this._triggerEvent,{passive:!0})},this))}removeEventListeners(){this.document&&(vi.forEach(function(e){this.document.removeEventListener(e,this._triggerEvent,{passive:!0})},this),this._triggerEvent=void 0)}triggerEvent(e){this.emit(e.type,e)}addSelectionListeners(){this.document&&(this._onSelectionChange=this.onSelectionChange.bind(this),this.document.addEventListener("selectionchange",this._onSelectionChange,{passive:!0}))}removeSelectionListeners(){this.document&&(this.document.removeEventListener("selectionchange",this._onSelectionChange,{passive:!0}),this._onSelectionChange=void 0)}onSelectionChange(e){this.selectionEndTimeout&&clearTimeout(this.selectionEndTimeout),this.selectionEndTimeout=setTimeout(function(){var t=this.window.getSelection();this.triggerSelectedEvent(t)}.bind(this),250)}triggerSelectedEvent(e){var t,i;e&&e.rangeCount>0&&(t=e.getRangeAt(0),t.collapsed||(i=new Oe(t,this.cfiBase).toString(),this.emit(le.CONTENTS.SELECTED,i),this.emit(le.CONTENTS.SELECTED_RANGE,t)))}range(e,t){var i=new Oe(e);return i.toRange(this.document,t)}cfiFromRange(e,t){return new Oe(e,this.cfiBase,t).toString()}cfiFromNode(e,t){return new Oe(e,this.cfiBase,t).toString()}map(e){var t=new Ei(e);return t.section()}size(e,t){var i={scale:1,scalable:"no"};this.layoutStyle("scrolling"),e>=0&&(this.width(e),i.width=e,this.css("padding","0 "+e/12+"px")),t>=0&&(this.height(t),i.height=t),this.css("margin","0"),this.css("box-sizing","border-box"),this.viewport(i)}columns(e,t,i,r,n){let s=Gt("column-axis"),a=Gt("column-gap"),l=Gt("column-width"),d=Gt("column-fill"),f=this.writingMode().indexOf("vertical")===0?"vertical":"horizontal";this.layoutStyle("paginated"),n==="rtl"&&f==="horizontal"&&this.direction(n),this.width(e),this.height(t),this.viewport({width:e,height:t,scale:1,scalable:"no"}),this.css("overflow-y","hidden"),this.css("margin","0",!0),f==="vertical"?(this.css("padding-top",r/2+"px",!0),this.css("padding-bottom",r/2+"px",!0),this.css("padding-left","20px"),this.css("padding-right","20px"),this.css(s,"vertical")):(this.css("padding-top","20px"),this.css("padding-bottom","20px"),this.css("padding-left",r/2+"px",!0),this.css("padding-right",r/2+"px",!0),this.css(s,"horizontal")),this.css("box-sizing","border-box"),this.css("max-width","inherit"),this.css(d,"auto"),this.css(a,r+"px"),this.css(l,i+"px"),this.css("-webkit-line-box-contain","block glyphs replaced")}scaler(e,t,i){var r="scale("+e+")",n="";this.css("transform-origin","top left"),(t>=0||i>=0)&&(n=" translate("+(t||0)+"px, "+(i||0)+"px )"),this.css("transform",r+n)}fit(e,t,i){var r=this.viewport(),n=parseInt(r.width),s=parseInt(r.height),a=e/n,l=t/s,d=a{this.emit(le.CONTENTS.LINK_CLICKED,e)})}writingMode(e){let t=Gt("writing-mode");return e&&this.documentElement&&(this.documentElement.style[t]=e),this.window.getComputedStyle(this.documentElement)[t]||""}layoutStyle(e){return e&&(this._layoutStyle=e,navigator.epubReadingSystem.layoutStyle=this._layoutStyle),this._layoutStyle||"paginated"}epubReadingSystem(e,t){return navigator.epubReadingSystem={name:e,version:t,layoutStyle:this.layoutStyle(),hasFeature:function(i){switch(i){case"dom-manipulation":return!0;case"layout-changes":return!0;case"touch-events":return!0;case"mouse-events":return!0;case"keyboard-events":return!0;case"spine-scripting":return!1;default:return!1}}},navigator.epubReadingSystem}destroy(){this.removeListeners()}}Tt(mr.prototype);class Ks{constructor(e){this.rendition=e,this.highlights=[],this.underlines=[],this.marks=[],this._annotations={},this._annotationsBySectionIndex={},this.rendition.hooks.render.register(this.inject.bind(this)),this.rendition.hooks.unloaded.register(this.clear.bind(this))}add(e,t,i,r,n,s){let a=encodeURI(t+e),d=new Oe(t).spinePos,p=new Ln({type:e,cfiRange:t,data:i,sectionIndex:d,cb:r,className:n,styles:s});return this._annotations[a]=p,d in this._annotationsBySectionIndex?this._annotationsBySectionIndex[d].push(a):this._annotationsBySectionIndex[d]=[a],this.rendition.views().forEach(w=>{p.sectionIndex===w.index&&p.attach(w)}),p}remove(e,t){let i=encodeURI(e+t);if(i in this._annotations){let r=this._annotations[i];if(t&&r.type!==t)return;this.rendition.views().forEach(s=>{this._removeFromAnnotationBySectionIndex(r.sectionIndex,i),r.sectionIndex===s.index&&r.detach(s)}),delete this._annotations[i]}}_removeFromAnnotationBySectionIndex(e,t){this._annotationsBySectionIndex[e]=this._annotationsAt(e).filter(i=>i!==t)}_annotationsAt(e){return this._annotationsBySectionIndex[e]}highlight(e,t,i,r,n){return this.add("highlight",e,t,i,r,n)}underline(e,t,i,r,n){return this.add("underline",e,t,i,r,n)}mark(e,t,i){return this.add("mark",e,t,i)}each(){return this._annotations.forEach.apply(this._annotations,arguments)}inject(e){let t=e.index;t in this._annotationsBySectionIndex&&this._annotationsBySectionIndex[t].forEach(r=>{this._annotations[r].attach(e)})}clear(e){let t=e.index;t in this._annotationsBySectionIndex&&this._annotationsBySectionIndex[t].forEach(r=>{this._annotations[r].detach(e)})}show(){}hide(){}}class Ln{constructor({type:e,cfiRange:t,data:i,sectionIndex:r,cb:n,className:s,styles:a}){this.type=e,this.cfiRange=t,this.data=i,this.sectionIndex=r,this.mark=void 0,this.cb=n,this.className=s,this.styles=a}update(e){this.data=e}attach(e){let{cfiRange:t,data:i,type:r,mark:n,cb:s,className:a,styles:l}=this,d;return r==="highlight"?d=e.highlight(t,i,s,a,l):r==="underline"?d=e.underline(t,i,s,a,l):r==="mark"&&(d=e.mark(t,i,s)),this.mark=d,this.emit(le.ANNOTATION.ATTACH,d),d}detach(e){let{cfiRange:t,type:i}=this,r;return e&&(i==="highlight"?r=e.unhighlight(t):i==="underline"?r=e.ununderline(t):i==="mark"&&(r=e.unmark(t))),this.mark=void 0,this.emit(le.ANNOTATION.DETACH,r),r}text(){}}Tt(Ln.prototype);var Et={},ii={},on;function $s(){if(on)return ii;on=1,Object.defineProperty(ii,"__esModule",{value:!0}),ii.createElement=D;function D(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}return ii.default={createElement:D},ii}var Zt={},un;function Js(){if(un)return Zt;un=1,Object.defineProperty(Zt,"__esModule",{value:!0}),Zt.proxyMouse=D,Zt.clone=e,Zt.default={proxyMouse:D};function D(i,r){function n(d){for(var p=r.length-1;p>=0;p--){var f=r[p],w=d.clientX,m=d.clientY;if(d.touches&&d.touches.length&&(w=d.touches[0].clientX,m=d.touches[0].clientY),!!t(f,i,w,m)){f.dispatchEvent(e(d));break}}}if(i.nodeName==="iframe"||i.nodeName==="IFRAME")try{this.target=i.contentDocument}catch{this.target=i}else this.target=i;for(var s=["mouseup","mousedown","click","touchstart"],a=0;ax&&C>L}var d=i.getBoundingClientRect();if(!l(d,n,s))return!1;for(var p=i.getClientRects(),f=0,w=p.length;f1&&arguments[1]!==void 0?arguments[1]:document.body;d(this,x),this.target=h,this.element=i.default.createElement("svg"),this.marks=[],this.element.style.position="absolute",this.element.setAttribute("pointer-events","none"),n.default.proxyMouse(this.target,this.marks),this.container=v,this.container.appendChild(this.element),this.render()}return e(x,[{key:"addMark",value:function(v){var g=i.default.createElement("g");return this.element.appendChild(g),v.bind(g,this.container),this.marks.push(v),v.render(),v}},{key:"removeMark",value:function(v){var g=this.marks.indexOf(v);if(g!==-1){var C=v.unbind();this.element.removeChild(C),this.marks.splice(g,1)}}},{key:"render",value:function(){m(this.element,w(this.target,this.container));var v=!0,g=!1,C=void 0;try{for(var O=this.marks[Symbol.iterator](),y;!(v=(y=O.next()).done);v=!0){var T=y.value;T.render()}}catch(N){g=!0,C=N}finally{try{!v&&O.return&&O.return()}finally{if(g)throw C}}}}]),x})();var p=Et.Mark=(function(){function x(){d(this,x),this.element=null}return e(x,[{key:"bind",value:function(v,g){this.element=v,this.container=g}},{key:"unbind",value:function(){var v=this.element;return this.element=null,v}},{key:"render",value:function(){}},{key:"dispatchEvent",value:function(v){this.element&&this.element.dispatchEvent(v)}},{key:"getBoundingClientRect",value:function(){return this.element.getBoundingClientRect()}},{key:"getClientRects",value:function(){for(var v=[],g=this.element.firstChild;g;)v.push(g.getBoundingClientRect()),g=g.nextSibling;return v}},{key:"filteredRanges",value:function(){var v=Array.from(this.range.getClientRects());return v.filter(function(g){for(var C=0;C=x.left&&h.top>=x.top&&h.bottom<=x.bottom}return Et}var di=Qs();class Bn{constructor(e,t){this.settings=ot({ignoreClass:"",axis:void 0,direction:void 0,width:0,height:0,layout:void 0,globalLayoutProperties:{},method:void 0,forceRight:!1,allowScriptedContent:!1,allowPopups:!1},t||{}),this.id="epubjs-view-"+Ai(),this.section=e,this.index=e.index,this.element=this.container(this.settings.axis),this.added=!1,this.displayed=!1,this.rendered=!1,this.fixedWidth=0,this.fixedHeight=0,this.epubcfi=new Oe,this.layout=this.settings.layout,this.pane=void 0,this.highlights={},this.underlines={},this.marks={}}container(e){var t=document.createElement("div");return t.classList.add("epub-view"),t.style.height="0px",t.style.width="0px",t.style.overflow="hidden",t.style.position="relative",t.style.display="block",e&&e=="horizontal"?t.style.flex="none":t.style.flex="initial",t}create(){return this.iframe?this.iframe:(this.element||(this.element=this.createContainer()),this.iframe=document.createElement("iframe"),this.iframe.id=this.id,this.iframe.scrolling="no",this.iframe.style.overflow="hidden",this.iframe.seamless="seamless",this.iframe.style.border="none",this.iframe.sandbox="allow-same-origin",this.settings.allowScriptedContent&&(this.iframe.sandbox+=" allow-scripts"),this.settings.allowPopups&&(this.iframe.sandbox+=" allow-popups"),this.iframe.setAttribute("enable-annotation","true"),this.resizing=!0,this.element.style.visibility="hidden",this.iframe.style.visibility="hidden",this.iframe.style.width="0",this.iframe.style.height="0",this._width=0,this._height=0,this.element.setAttribute("ref",this.index),this.added=!0,this.elementBounds=pi(this.element),"srcdoc"in this.iframe?this.supportsSrcdoc=!0:this.supportsSrcdoc=!1,this.settings.method||(this.settings.method=this.supportsSrcdoc?"srcdoc":"write"),this.iframe)}render(e,t){return this.create(),this.size(),this.sectionRender||(this.sectionRender=this.section.render(e)),this.sectionRender.then(function(i){return this.load(i)}.bind(this)).then(function(){let i=this.contents.writingMode(),r;return this.settings.flow==="scrolled"?r=i.indexOf("vertical")===0?"horizontal":"vertical":r=i.indexOf("vertical")===0?"vertical":"horizontal",i.indexOf("vertical")===0&&this.settings.flow==="paginated"&&(this.layout.delta=this.layout.height),this.setAxis(r),this.emit(le.VIEWS.AXIS,r),this.setWritingMode(i),this.emit(le.VIEWS.WRITING_MODE,i),this.layout.format(this.contents,this.section,this.axis),this.addListeners(),new Promise((n,s)=>{this.expand(),this.settings.forceRight&&(this.element.style.marginLeft=this.width()+"px"),n()})}.bind(this),function(i){return this.emit(le.VIEWS.LOAD_ERROR,i),new Promise((r,n)=>{n(i)})}.bind(this)).then(function(){this.emit(le.VIEWS.RENDERED,this.section)}.bind(this))}reset(){this.iframe&&(this.iframe.style.width="0",this.iframe.style.height="0",this._width=0,this._height=0,this._textWidth=void 0,this._contentWidth=void 0,this._textHeight=void 0,this._contentHeight=void 0),this._needsReframe=!0}size(e,t){var i=e||this.settings.width,r=t||this.settings.height;this.layout.name==="pre-paginated"?this.lock("both",i,r):this.settings.axis==="horizontal"?this.lock("height",i,r):this.lock("width",i,r),this.settings.width=i,this.settings.height=r}lock(e,t,i){var r=mi(this.element),n;this.iframe?n=mi(this.iframe):n={width:0,height:0},e=="width"&&Ke(t)&&(this.lockedWidth=t-r.width-n.width),e=="height"&&Ke(i)&&(this.lockedHeight=i-r.height-n.height),e==="both"&&Ke(t)&&Ke(i)&&(this.lockedWidth=t-r.width-n.width,this.lockedHeight=i-r.height-n.height),this.displayed&&this.iframe&&this.expand()}expand(e){var t=this.lockedWidth,i=this.lockedHeight,r;!this.iframe||this._expanding||(this._expanding=!0,this.layout.name==="pre-paginated"?(t=this.layout.columnWidth,i=this.layout.height):this.settings.axis==="horizontal"?(t=this.contents.textWidth(),t%this.layout.pageWidth>0&&(t=Math.ceil(t/this.layout.pageWidth)*this.layout.pageWidth),this.settings.forceEvenPages&&(r=t/this.layout.pageWidth,this.layout.divisor>1&&this.layout.name==="reflowable"&&r%2>0&&(t+=this.layout.pageWidth))):this.settings.axis==="vertical"&&(i=this.contents.textHeight(),this.settings.flow==="paginated"&&i%this.layout.height>0&&(i=Math.ceil(i/this.layout.height)*this.layout.height)),(this._needsReframe||t!=this._width||i!=this._height)&&this.reframe(t,i),this._expanding=!1)}reframe(e,t){var i;Ke(e)&&(this.element.style.width=e+"px",this.iframe.style.width=e+"px",this._width=e),Ke(t)&&(this.element.style.height=t+"px",this.iframe.style.height=t+"px",this._height=t);let r=this.prevBounds?e-this.prevBounds.width:e,n=this.prevBounds?t-this.prevBounds.height:t;i={width:e,height:t,widthDelta:r,heightDelta:n},this.pane&&this.pane.render(),requestAnimationFrame(()=>{let s;for(let a in this.marks)this.marks.hasOwnProperty(a)&&(s=this.marks[a],this.placeMark(s.element,s.range))}),this.onResize(this,i),this.emit(le.VIEWS.RESIZED,i),this.prevBounds=i,this.elementBounds=pi(this.element)}load(e){var t=new Ie,i=t.promise;if(!this.iframe)return t.reject(new Error("No Iframe Available")),i;if(this.iframe.onload=function(n){this.onLoad(n,t)}.bind(this),this.settings.method==="blobUrl")this.blobUrl=bi(e,"application/xhtml+xml"),this.iframe.src=this.blobUrl,this.element.appendChild(this.iframe);else if(this.settings.method==="srcdoc")this.iframe.srcdoc=e,this.element.appendChild(this.iframe);else{if(this.element.appendChild(this.iframe),this.document=this.iframe.contentDocument,!this.document)return t.reject(new Error("No Document Available")),i;if(this.iframe.contentDocument.open(),window.MSApp&&MSApp.execUnsafeLocalFunction){var r=this;MSApp.execUnsafeLocalFunction(function(){r.iframe.contentDocument.write(e)})}else this.iframe.contentDocument.write(e);this.iframe.contentDocument.close()}return i}onLoad(e,t){this.window=this.iframe.contentWindow,this.document=this.iframe.contentDocument,this.contents=new mr(this.document,this.document.body,this.section.cfiBase,this.section.index),this.rendering=!1;var i=this.document.querySelector("link[rel='canonical']");i?i.setAttribute("href",this.section.canonical):(i=this.document.createElement("link"),i.setAttribute("rel","canonical"),i.setAttribute("href",this.section.canonical),this.document.querySelector("head").appendChild(i)),this.contents.on(le.CONTENTS.EXPAND,()=>{this.displayed&&this.iframe&&(this.expand(),this.contents&&this.layout.format(this.contents))}),this.contents.on(le.CONTENTS.RESIZE,r=>{this.displayed&&this.iframe&&(this.expand(),this.contents&&this.layout.format(this.contents))}),t.resolve(this.contents)}setLayout(e){this.layout=e,this.contents&&(this.layout.format(this.contents),this.expand())}setAxis(e){this.settings.axis=e,e=="horizontal"?this.element.style.flex="none":this.element.style.flex="initial",this.size()}setWritingMode(e){this.writingMode=e}addListeners(){}removeListeners(e){}display(e){var t=new Ie;return this.displayed?t.resolve(this):this.render(e).then(function(){this.emit(le.VIEWS.DISPLAYED,this),this.onDisplayed(this),this.displayed=!0,t.resolve(this)}.bind(this),function(i){t.reject(i,this)}),t.promise}show(){this.element.style.visibility="visible",this.iframe&&(this.iframe.style.visibility="visible",this.iframe.style.transform="translateZ(0)",this.iframe.offsetWidth,this.iframe.style.transform=null),this.emit(le.VIEWS.SHOWN,this)}hide(){this.element.style.visibility="hidden",this.iframe.style.visibility="hidden",this.stopExpanding=!0,this.emit(le.VIEWS.HIDDEN,this)}offset(){return{top:this.element.offsetTop,left:this.element.offsetLeft}}width(){return this._width}height(){return this._height}position(){return this.element.getBoundingClientRect()}locationOf(e){this.iframe.getBoundingClientRect();var t=this.contents.locationOf(e,this.settings.ignoreClass);return{left:t.left,top:t.top}}onDisplayed(e){}onResize(e,t){}bounds(e){return(e||!this.elementBounds)&&(this.elementBounds=pi(this.element)),this.elementBounds}highlight(e,t={},i,r="epubjs-hl",n={}){if(!this.contents)return;const s=Object.assign({fill:"yellow","fill-opacity":"0.3","mix-blend-mode":"multiply"},n);let a=this.contents.range(e),l=()=>{this.emit(le.VIEWS.MARK_CLICKED,e,t)};t.epubcfi=e,this.pane||(this.pane=new di.Pane(this.iframe,this.element));let d=new di.Highlight(a,r,t,s),p=this.pane.addMark(d);return this.highlights[e]={mark:p,element:p.element,listeners:[l,i]},p.element.setAttribute("ref",r),p.element.addEventListener("click",l),p.element.addEventListener("touchstart",l),i&&(p.element.addEventListener("click",i),p.element.addEventListener("touchstart",i)),p}underline(e,t={},i,r="epubjs-ul",n={}){if(!this.contents)return;const s=Object.assign({stroke:"black","stroke-opacity":"0.3","mix-blend-mode":"multiply"},n);let a=this.contents.range(e),l=()=>{this.emit(le.VIEWS.MARK_CLICKED,e,t)};t.epubcfi=e,this.pane||(this.pane=new di.Pane(this.iframe,this.element));let d=new di.Underline(a,r,t,s),p=this.pane.addMark(d);return this.underlines[e]={mark:p,element:p.element,listeners:[l,i]},p.element.setAttribute("ref",r),p.element.addEventListener("click",l),p.element.addEventListener("touchstart",l),i&&(p.element.addEventListener("click",i),p.element.addEventListener("touchstart",i)),p}mark(e,t={},i){if(!this.contents)return;if(e in this.marks)return this.marks[e];let r=this.contents.range(e);if(!r)return;let n=r.commonAncestorContainer,s=n.nodeType===1?n:n.parentNode,a=d=>{this.emit(le.VIEWS.MARK_CLICKED,e,t)};r.collapsed&&n.nodeType===1?(r=new Range,r.selectNodeContents(n)):r.collapsed&&(r=new Range,r.selectNodeContents(s));let l=this.document.createElement("a");return l.setAttribute("ref","epubjs-mk"),l.style.position="absolute",l.dataset.epubcfi=e,t&&Object.keys(t).forEach(d=>{l.dataset[d]=t[d]}),i&&(l.addEventListener("click",i),l.addEventListener("touchstart",i)),l.addEventListener("click",a),l.addEventListener("touchstart",a),this.placeMark(l,r),this.element.appendChild(l),this.marks[e]={element:l,range:r,listeners:[a,i]},s}placeMark(e,t){let i,r,n;if(this.layout.name==="pre-paginated"||this.settings.axis!=="horizontal"){let a=t.getBoundingClientRect();i=a.top,r=a.right}else{let a=t.getClientRects(),l;for(var s=0;s!=a.length;s++)l=a[s],(!n||l.left{i&&(t.element.removeEventListener("click",i),t.element.removeEventListener("touchstart",i))}),delete this.highlights[e])}ununderline(e){let t;e in this.underlines&&(t=this.underlines[e],this.pane.removeMark(t.mark),t.listeners.forEach(i=>{i&&(t.element.removeEventListener("click",i),t.element.removeEventListener("touchstart",i))}),delete this.underlines[e])}unmark(e){let t;e in this.marks&&(t=this.marks[e],this.element.removeChild(t.element),t.listeners.forEach(i=>{i&&(t.element.removeEventListener("click",i),t.element.removeEventListener("touchstart",i))}),delete this.marks[e])}destroy(){for(let e in this.highlights)this.unhighlight(e);for(let e in this.underlines)this.ununderline(e);for(let e in this.marks)this.unmark(e);this.blobUrl&&An(this.blobUrl),this.displayed&&(this.displayed=!1,this.removeListeners(),this.contents.destroy(),this.stopExpanding=!0,this.element.removeChild(this.iframe),this.pane&&(this.pane.element.remove(),this.pane=void 0),this.iframe=void 0,this.contents=void 0,this._textWidth=null,this._textHeight=null,this._width=null,this._height=null)}}Tt(Bn.prototype);function ea(){var D="reverse",e=ta();return document.body.appendChild(e),e.scrollLeft>0?D="default":typeof Element<"u"&&Element.prototype.scrollIntoView?(e.children[0].children[1].scrollIntoView(),e.scrollLeft<0&&(D="negative")):(e.scrollLeft=1,e.scrollLeft===0&&(D="negative")),document.body.removeChild(e),D}function ta(){var D=document.createElement("div");D.dir="rtl",D.style.position="fixed",D.style.width="1px",D.style.height="1px",D.style.top="0px",D.style.left="0px",D.style.overflow="hidden";var e=document.createElement("div");e.style.width="2px";var t=document.createElement("span");t.style.width="1px",t.style.display="inline-block";var i=document.createElement("span");return i.style.width="1px",i.style.display="inline-block",e.appendChild(t),e.appendChild(i),D.appendChild(e),D}class ia{constructor(e){this.settings=e||{},this.id="epubjs-container-"+Ai(),this.container=this.create(this.settings),this.settings.hidden&&(this.wrapper=this.wrap(this.container))}create(e){let t=e.height,i=e.width,r=e.overflow||!1,n=e.axis||"vertical",s=e.direction;ot(this.settings,e),e.height&&Ke(e.height)&&(t=e.height+"px"),e.width&&Ke(e.width)&&(i=e.width+"px");let a=document.createElement("div");return a.id=this.id,a.classList.add("epub-container"),a.style.wordSpacing="0",a.style.lineHeight="0",a.style.verticalAlign="top",a.style.position="relative",n==="horizontal"&&(a.style.display="flex",a.style.flexDirection="row",a.style.flexWrap="nowrap"),i&&(a.style.width=i),t&&(a.style.height=t),r&&(r==="scroll"&&n==="vertical"?(a.style["overflow-y"]=r,a.style["overflow-x"]="hidden"):r==="scroll"&&n==="horizontal"?(a.style["overflow-y"]="hidden",a.style["overflow-x"]=r):a.style.overflow=r),s&&(a.dir=s,a.style.direction=s),s&&this.settings.fullsize&&(document.body.style.direction=s),a}wrap(e){var t=document.createElement("div");return t.style.visibility="hidden",t.style.overflow="hidden",t.style.width="0",t.style.height="0",t.appendChild(e),t}getElement(e){var t;if(wn(e)?t=e:typeof e=="string"&&(t=document.getElementById(e)),!t)throw new Error("Not an Element");return t}attachTo(e){var t=this.getElement(e),i;if(t)return this.settings.hidden?i=this.wrapper:i=this.container,t.appendChild(i),this.element=t,t}getContainer(){return this.container}onResize(e){(!Ke(this.settings.width)||!Ke(this.settings.height))&&(this.resizeFunc=es(e,50),window.addEventListener("resize",this.resizeFunc,!1))}onOrientationChange(e){this.orientationChangeFunc=e,window.addEventListener("orientationchange",this.orientationChangeFunc,!1)}size(e,t){var i;let r=e||this.settings.width,n=t||this.settings.height;e===null?(i=this.element.getBoundingClientRect(),i.width&&(e=Math.floor(i.width),this.container.style.width=e+"px")):Ke(e)?this.container.style.width=e+"px":this.container.style.width=e,t===null?(i=i||this.element.getBoundingClientRect(),i.height&&(t=i.height,this.container.style.height=t+"px")):Ke(t)?this.container.style.height=t+"px":this.container.style.height=t,Ke(e)||(e=this.container.clientWidth),Ke(t)||(t=this.container.clientHeight),this.containerStyles=window.getComputedStyle(this.container),this.containerPadding={left:parseFloat(this.containerStyles["padding-left"])||0,right:parseFloat(this.containerStyles["padding-right"])||0,top:parseFloat(this.containerStyles["padding-top"])||0,bottom:parseFloat(this.containerStyles["padding-bottom"])||0};let s=yi(),a=window.getComputedStyle(document.body),l={left:parseFloat(a["padding-left"])||0,right:parseFloat(a["padding-right"])||0,top:parseFloat(a["padding-top"])||0,bottom:parseFloat(a["padding-bottom"])||0};return r||(e=s.width-l.left-l.right),(this.settings.fullsize&&!n||!n)&&(t=s.height-l.top-l.bottom),{width:e-this.containerPadding.left-this.containerPadding.right,height:t-this.containerPadding.top-this.containerPadding.bottom}}bounds(){let e;return this.container.style.overflow!=="visible"&&(e=this.container&&this.container.getBoundingClientRect()),!e||!e.width||!e.height?yi():e}getSheet(){var e=document.createElement("style");return e.appendChild(document.createTextNode("")),document.head.appendChild(e),e.sheet}addStyleRules(e,t){var i="#"+this.id+" ",r="";this.sheet||(this.sheet=this.getSheet()),t.forEach(function(n){for(var s in n)n.hasOwnProperty(s)&&(r+=s+":"+n[s]+";")}),this.sheet.insertRule(i+e+" {"+r+"}",0)}axis(e){e==="horizontal"?(this.container.style.display="flex",this.container.style.flexDirection="row",this.container.style.flexWrap="nowrap"):this.container.style.display="block",this.settings.axis=e}direction(e){this.container&&(this.container.dir=e,this.container.style.direction=e),this.settings.fullsize&&(document.body.style.direction=e),this.settings.dir=e}overflow(e){this.container&&(e==="scroll"&&this.settings.axis==="vertical"?(this.container.style["overflow-y"]=e,this.container.style["overflow-x"]="hidden"):e==="scroll"&&this.settings.axis==="horizontal"?(this.container.style["overflow-y"]="hidden",this.container.style["overflow-x"]=e):this.container.style.overflow=e),this.settings.overflow=e}destroy(){this.element&&(this.settings.hidden?this.wrapper:this.container,this.element.contains(this.container)&&this.element.removeChild(this.container),window.removeEventListener("resize",this.resizeFunc),window.removeEventListener("orientationChange",this.orientationChangeFunc))}}class ra{constructor(e){this.container=e,this._views=[],this.length=0,this.hidden=!1}all(){return this._views}first(){return this._views[0]}last(){return this._views[this._views.length-1]}indexOf(e){return this._views.indexOf(e)}slice(){return this._views.slice.apply(this._views,arguments)}get(e){return this._views[e]}append(e){return this._views.push(e),this.container&&this.container.appendChild(e.element),this.length++,e}prepend(e){return this._views.unshift(e),this.container&&this.container.insertBefore(e.element,this.container.firstChild),this.length++,e}insert(e,t){return this._views.splice(t,0,e),this.container&&(t-1&&this._views.splice(t,1),this.destroy(e),this.length--}destroy(e){e.displayed&&e.destroy(),this.container&&this.container.removeChild(e.element),e=null}forEach(){return this._views.forEach.apply(this._views,arguments)}clear(){var e,t=this.length;if(this.length){for(var i=0;i"u"&&i&&(i.toLowerCase()=="body"||i.toLowerCase()=="html")&&(this.settings.fullsize=!0),this.settings.fullsize&&(this.settings.overflow="visible",this.overflow=this.settings.overflow),this.settings.size=t,this.settings.rtlScrollType=ea(),this.stage=new ia({width:t.width,height:t.height,overflow:this.overflow,hidden:this.settings.hidden,axis:this.settings.axis,fullsize:this.settings.fullsize,direction:this.settings.direction}),this.stage.attachTo(e),this.container=this.stage.getContainer(),this.views=new ra(this.container),this._bounds=this.bounds(),this._stageSize=this.stage.size(),this.viewSettings.width=this._stageSize.width,this.viewSettings.height=this._stageSize.height,this.stage.onResize(this.onResized.bind(this)),this.stage.onOrientationChange(this.onOrientationChange.bind(this)),this.addEventListeners(),this.layout&&this.updateLayout(),this.rendered=!0}addEventListeners(){var e;window.addEventListener("unload",function(t){this.destroy()}.bind(this)),this.settings.fullsize?e=window:e=this.container,this._onScroll=this.onScroll.bind(this),e.addEventListener("scroll",this._onScroll)}removeEventListeners(){var e;this.settings.fullsize?e=window:e=this.container,e.removeEventListener("scroll",this._onScroll),this._onScroll=void 0}destroy(){clearTimeout(this.orientationTimeout),clearTimeout(this.resizeTimeout),clearTimeout(this.afterScrolled),this.clear(),this.removeEventListeners(),this.stage.destroy(),this.rendered=!1}onOrientationChange(e){let{orientation:t}=window;this.optsSettings.resizeOnOrientationChange&&this.resize(),clearTimeout(this.orientationTimeout),this.orientationTimeout=setTimeout(function(){this.orientationTimeout=void 0,this.optsSettings.resizeOnOrientationChange&&this.resize(),this.emit(le.MANAGERS.ORIENTATION_CHANGE,t)}.bind(this),500)}onResized(e){this.resize()}resize(e,t,i){let r=this.stage.size(e,t);if(this.winBounds=yi(),this.orientationTimeout&&this.winBounds.width===this.winBounds.height){this._stageSize=void 0;return}this._stageSize&&this._stageSize.width===r.width&&this._stageSize.height===r.height||(this._stageSize=r,this._bounds=this.bounds(),this.clear(),this.viewSettings.width=this._stageSize.width,this.viewSettings.height=this._stageSize.height,this.updateLayout(),this.emit(le.MANAGERS.RESIZED,{width:this._stageSize.width,height:this._stageSize.height},i))}createView(e,t){return new this.View(e,ot(this.viewSettings,{forceRight:t}))}handleNextPrePaginated(e,t,i){let r;if(this.layout.name==="pre-paginated"&&this.layout.divisor>1){if(e||t.index===0)return;if(r=t.next(),r&&!r.properties.includes("page-spread-left"))return i.call(this,r)}}display(e,t){var i=new Ie,r=i.promise;(t===e.href||Ke(t))&&(t=void 0);var n=this.views.find(e);if(n&&e&&this.layout.name!=="pre-paginated"){let a=n.offset();if(this.settings.direction==="ltr")this.scrollTo(a.left,a.top,!0);else{let l=n.width();this.scrollTo(a.left+l,a.top,!0)}if(t){let l=n.locationOf(t),d=n.width();this.moveTo(l,d)}return i.resolve(),r}this.clear();let s=!1;return this.layout.name==="pre-paginated"&&this.layout.divisor===2&&e.properties.includes("page-spread-right")&&(s=!0),this.add(e,s).then(function(a){if(t){let l=a.locationOf(t),d=a.width();this.moveTo(l,d)}}.bind(this),a=>{i.reject(a)}).then(function(){return this.handleNextPrePaginated(s,e,this.add)}.bind(this)).then(function(){this.views.show(),i.resolve()}.bind(this)),r}afterDisplayed(e){this.emit(le.MANAGERS.ADDED,e)}afterResized(e){this.emit(le.MANAGERS.RESIZE,e.section)}moveTo(e,t){var i=0,r=0;this.isPaginated?(i=Math.floor(e.left/this.layout.delta)*this.layout.delta,i+this.layout.delta>this.container.scrollWidth&&(i=this.container.scrollWidth-this.layout.delta),r=Math.floor(e.top/this.layout.delta)*this.layout.delta,r+this.layout.delta>this.container.scrollHeight&&(r=this.container.scrollHeight-this.layout.delta)):r=e.top,this.settings.direction==="rtl"&&(i=i+this.layout.delta,i=i-t),this.scrollTo(i,r,!0)}add(e,t){var i=this.createView(e,t);return this.views.append(i),i.onDisplayed=this.afterDisplayed.bind(this),i.onResize=this.afterResized.bind(this),i.on(le.VIEWS.AXIS,r=>{this.updateAxis(r)}),i.on(le.VIEWS.WRITING_MODE,r=>{this.updateWritingMode(r)}),i.display(this.request)}append(e,t){var i=this.createView(e,t);return this.views.append(i),i.onDisplayed=this.afterDisplayed.bind(this),i.onResize=this.afterResized.bind(this),i.on(le.VIEWS.AXIS,r=>{this.updateAxis(r)}),i.on(le.VIEWS.WRITING_MODE,r=>{this.updateWritingMode(r)}),i.display(this.request)}prepend(e,t){var i=this.createView(e,t);return i.on(le.VIEWS.RESIZED,r=>{this.counter(r)}),this.views.prepend(i),i.onDisplayed=this.afterDisplayed.bind(this),i.onResize=this.afterResized.bind(this),i.on(le.VIEWS.AXIS,r=>{this.updateAxis(r)}),i.on(le.VIEWS.WRITING_MODE,r=>{this.updateWritingMode(r)}),i.display(this.request)}counter(e){this.settings.axis==="vertical"?this.scrollBy(0,e.heightDelta,!0):this.scrollBy(e.widthDelta,0,!0)}next(){var e,t;let i=this.settings.direction;if(this.views.length&&(this.isPaginated&&this.settings.axis==="horizontal"&&(!i||i==="ltr")?(this.scrollLeft=this.container.scrollLeft,t=this.container.scrollLeft+this.container.offsetWidth+this.layout.delta,t<=this.container.scrollWidth?this.scrollBy(this.layout.delta,0,!0):e=this.views.last().section.next()):this.isPaginated&&this.settings.axis==="horizontal"&&i==="rtl"?(this.scrollLeft=this.container.scrollLeft,this.settings.rtlScrollType==="default"?(t=this.container.scrollLeft,t>0?this.scrollBy(this.layout.delta,0,!0):e=this.views.last().section.next()):(t=this.container.scrollLeft+this.layout.delta*-1,t>this.container.scrollWidth*-1?this.scrollBy(this.layout.delta,0,!0):e=this.views.last().section.next())):this.isPaginated&&this.settings.axis==="vertical"?(this.scrollTop=this.container.scrollTop,this.container.scrollTop+this.container.offsetHeightn).then(function(){!this.isPaginated&&this.settings.axis==="horizontal"&&this.settings.direction==="rtl"&&this.settings.rtlScrollType==="default"&&this.scrollTo(this.container.scrollWidth,0,!0),this.views.show()}.bind(this))}}prev(){var e,t;let i=this.settings.direction;if(this.views.length&&(this.isPaginated&&this.settings.axis==="horizontal"&&(!i||i==="ltr")?(this.scrollLeft=this.container.scrollLeft,t=this.container.scrollLeft,t>0?this.scrollBy(-this.layout.delta,0,!0):e=this.views.first().section.prev()):this.isPaginated&&this.settings.axis==="horizontal"&&i==="rtl"?(this.scrollLeft=this.container.scrollLeft,this.settings.rtlScrollType==="default"?(t=this.container.scrollLeft+this.container.offsetWidth,t0?this.scrollBy(0,-this.layout.height,!0):e=this.views.first().section.prev()):e=this.views.first().section.prev(),e)){this.clear(),this.updateLayout();let r=!1;return this.layout.name==="pre-paginated"&&this.layout.divisor===2&&typeof e.prev()!="object"&&(r=!0),this.prepend(e,r).then(function(){var n;if(this.layout.name==="pre-paginated"&&this.layout.divisor>1&&(n=e.prev(),n))return this.prepend(n)}.bind(this),n=>n).then(function(){this.isPaginated&&this.settings.axis==="horizontal"&&(this.settings.direction==="rtl"?this.settings.rtlScrollType==="default"?this.scrollTo(0,0,!0):this.scrollTo(this.container.scrollWidth*-1+this.layout.delta,0,!0):this.scrollTo(this.container.scrollWidth-this.layout.delta,0,!0)),this.views.show()}.bind(this))}}current(){var e=this.visible();return e.length?e[e.length-1]:null}clear(){this.views&&(this.views.hide(),this.scrollTo(0,0,!0),this.views.clear())}currentLocation(){return this.updateLayout(),this.isPaginated&&this.settings.axis==="horizontal"?this.location=this.paginatedLocation():this.location=this.scrolledLocation(),this.location}scrolledLocation(){let e=this.visible(),t=this.container.getBoundingClientRect(),i=t.height{let{index:p,href:f}=d.section,w=d.position(),m=d.width(),L=d.height(),x,h,v,g;n?(x=s+t.top-w.top+a,h=x+i-a,g=this.layout.count(L,i).pages,v=i):(x=s+t.left-w.left+a,h=x+r-a,g=this.layout.count(m,r).pages,v=r);let C=Math.ceil(x/v),O=[],y=Math.ceil(h/v);if(this.settings.direction==="rtl"&&!n){let R=C;C=g-y,y=g-R}O=[];for(var T=C;T<=y;T++){let R=T+1;O.push(R)}let N=this.mapping.page(d.contents,d.section.cfiBase,x,h);return{index:p,href:f,pages:O,totalPages:g,mapping:N}})}paginatedLocation(){let e=this.visible(),t=this.container.getBoundingClientRect(),i=0,r=0;return this.settings.fullsize&&(i=window.scrollX),e.map(s=>{let{index:a,href:l}=s.section,d,p=s.position(),f=s.width(),w,m,L;this.settings.direction==="rtl"?(d=t.right-i,L=Math.min(Math.abs(d-p.left),this.layout.width)-r,m=p.width-(p.right-d)-r,w=m-L):(d=t.left+i,L=Math.min(p.right-d,this.layout.width)-r,w=d-p.left+r,m=w+L),r+=L;let x=this.mapping.page(s.contents,s.section.cfiBase,w,m),h=this.layout.count(f).pages,v=Math.floor(w/this.layout.pageWidth),g=[],C=Math.floor(m/this.layout.pageWidth);if(v<0&&(v=0,C=C+1),this.settings.direction==="rtl"){let y=v;v=h-C,C=h-y}for(var O=v+1;O<=C;O++){let y=O;g.push(y)}return{index:a,href:l,pages:g,totalPages:h,mapping:x}})}isVisible(e,t,i,r){var n=e.position(),s=r||this.bounds();return this.settings.axis==="horizontal"&&n.right>s.left-t&&n.lefts.top-t&&n.top0&&this.layout.name==="pre-paginated"&&this.display(this.views.first().section)}updateLayout(){this.stage&&(this._stageSize=this.stage.size(),this.isPaginated?(this.layout.calculate(this._stageSize.width,this._stageSize.height,this.settings.gap),this.settings.offset=this.layout.delta/this.layout.divisor):this.layout.calculate(this._stageSize.width,this._stageSize.height),this.viewSettings.width=this.layout.width,this.viewSettings.height=this.layout.height,this.setLayout(this.layout))}setLayout(e){this.viewSettings.layout=e,this.mapping=new Ei(e.props,this.settings.direction,this.settings.axis),this.views&&this.views.forEach(function(t){t&&t.setLayout(e)})}updateWritingMode(e){this.writingMode=e}updateAxis(e,t){!t&&e===this.settings.axis||(this.settings.axis=e,this.stage&&this.stage.axis(e),this.viewSettings.axis=e,this.mapping&&(this.mapping=new Ei(this.layout.props,this.settings.direction,this.settings.axis)),this.layout&&(e==="vertical"?this.layout.spread("none"):this.layout.spread(this.layout.settings.spread)))}updateFlow(e,t="auto"){let i=e==="paginated"||e==="auto";this.isPaginated=i,e==="scrolled-doc"||e==="scrolled-continuous"||e==="scrolled"?this.updateAxis("vertical"):this.updateAxis("horizontal"),this.viewSettings.flow=e,this.settings.overflow?this.overflow=this.settings.overflow:this.overflow=i?"hidden":t,this.stage&&this.stage.overflow(this.overflow),this.updateLayout()}getContents(){var e=[];return this.views&&this.views.forEach(function(t){const i=t&&t.contents;i&&e.push(i)}),e}direction(e="ltr"){this.settings.direction=e,this.stage&&this.stage.direction(e),this.viewSettings.direction=e,this.updateLayout()}isRendered(){return this.rendered}}Tt(xi.prototype);const na={easeInCubic:function(D){return Math.pow(D,3)}};class fr{constructor(e,t){this.settings=ot({duration:80,minVelocity:.2,minDistance:10,easing:na.easeInCubic},t||{}),this.supportsTouch=this.supportsTouch(),this.supportsTouch&&this.setup(e)}setup(e){this.manager=e,this.layout=this.manager.layout,this.fullsize=this.manager.settings.fullsize,this.fullsize?(this.element=this.manager.stage.element,this.scroller=window,this.disableScroll()):(this.element=this.manager.stage.container,this.scroller=this.element,this.element.style.WebkitOverflowScrolling="touch"),this.manager.settings.offset=this.layout.width,this.manager.settings.afterScrolledTimeout=this.settings.duration*2,this.isVertical=this.manager.settings.axis==="vertical",!(!this.manager.isPaginated||this.isVertical)&&(this.touchCanceler=!1,this.resizeCanceler=!1,this.snapping=!1,this.scrollLeft,this.scrollTop,this.startTouchX=void 0,this.startTouchY=void 0,this.startTime=void 0,this.endTouchX=void 0,this.endTouchY=void 0,this.endTime=void 0,this.addListeners())}supportsTouch(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}disableScroll(){this.element.style.overflow="hidden"}enableScroll(){this.element.style.overflow=""}addListeners(){this._onResize=this.onResize.bind(this),window.addEventListener("resize",this._onResize),this._onScroll=this.onScroll.bind(this),this.scroller.addEventListener("scroll",this._onScroll),this._onTouchStart=this.onTouchStart.bind(this),this.scroller.addEventListener("touchstart",this._onTouchStart,{passive:!0}),this.on("touchstart",this._onTouchStart),this._onTouchMove=this.onTouchMove.bind(this),this.scroller.addEventListener("touchmove",this._onTouchMove,{passive:!0}),this.on("touchmove",this._onTouchMove),this._onTouchEnd=this.onTouchEnd.bind(this),this.scroller.addEventListener("touchend",this._onTouchEnd,{passive:!0}),this.on("touchend",this._onTouchEnd),this._afterDisplayed=this.afterDisplayed.bind(this),this.manager.on(le.MANAGERS.ADDED,this._afterDisplayed)}removeListeners(){window.removeEventListener("resize",this._onResize),this._onResize=void 0,this.scroller.removeEventListener("scroll",this._onScroll),this._onScroll=void 0,this.scroller.removeEventListener("touchstart",this._onTouchStart,{passive:!0}),this.off("touchstart",this._onTouchStart),this._onTouchStart=void 0,this.scroller.removeEventListener("touchmove",this._onTouchMove,{passive:!0}),this.off("touchmove",this._onTouchMove),this._onTouchMove=void 0,this.scroller.removeEventListener("touchend",this._onTouchEnd,{passive:!0}),this.off("touchend",this._onTouchEnd),this._onTouchEnd=void 0,this.manager.off(le.MANAGERS.ADDED,this._afterDisplayed),this._afterDisplayed=void 0}afterDisplayed(e){let t=e.contents;["touchstart","touchmove","touchend"].forEach(i=>{t.on(i,r=>this.triggerViewEvent(r,t))})}triggerViewEvent(e,t){this.emit(e.type,e,t)}onScroll(e){this.scrollLeft=this.fullsize?window.scrollX:this.scroller.scrollLeft,this.scrollTop=this.fullsize?window.scrollY:this.scroller.scrollTop}onResize(e){this.resizeCanceler=!0}onTouchStart(e){let{screenX:t,screenY:i}=e.touches[0];this.fullsize&&this.enableScroll(),this.touchCanceler=!0,this.startTouchX||(this.startTouchX=t,this.startTouchY=i,this.startTime=this.now()),this.endTouchX=t,this.endTouchY=i,this.endTime=this.now()}onTouchMove(e){let{screenX:t,screenY:i}=e.touches[0],r=Math.abs(i-this.endTouchY);this.touchCanceler=!0,!this.fullsize&&r<10&&(this.element.scrollLeft-=t-this.endTouchX),this.endTouchX=t,this.endTouchY=i,this.endTime=this.now()}onTouchEnd(e){this.fullsize&&this.disableScroll(),this.touchCanceler=!1;let t=this.wasSwiped();t!==0?this.snap(t):this.snap(),this.startTouchX=void 0,this.startTouchY=void 0,this.startTime=void 0,this.endTouchX=void 0,this.endTouchY=void 0,this.endTime=void 0}wasSwiped(){let e=this.layout.pageWidth*this.layout.divisor,t=this.endTouchX-this.startTouchX,i=Math.abs(t),r=this.endTime-this.startTime,n=t/r,s=this.settings.minVelocity;if(i<=this.settings.minDistance||i>=e)return 0;if(n>s)return-1;if(n<-s)return 1}needsSnap(){let e=this.scrollLeft,t=this.layout.pageWidth*this.layout.divisor;return e%t!==0}snap(e=0){let t=this.scrollLeft,i=this.layout.pageWidth*this.layout.divisor,r=Math.round(t/i)*i;return e&&(r+=e*i),this.smoothScrollTo(r)}smoothScrollTo(e){const t=new Ie,i=this.scrollLeft,r=this.now(),n=this.settings.duration,s=this.settings.easing;this.snapping=!0;function a(){const l=this.now(),d=Math.min(1,(l-r)/n);if(s(d),this.touchCanceler||this.resizeCanceler){this.resizeCanceler=!1,this.snapping=!1,t.resolve();return}d<1?(window.requestAnimationFrame(a.bind(this)),this.scrollTo(i+(e-i)*d,0)):(this.scrollTo(e,0),this.snapping=!1,t.resolve())}return a.call(this),t.promise}scrollTo(e=0,t=0){this.fullsize?window.scroll(e,t):(this.scroller.scrollLeft=e,this.scroller.scrollTop=t)}now(){return"now"in window.performance?performance.now():new Date().getTime()}destroy(){this.scroller&&(this.fullsize&&this.enableScroll(),this.removeListeners(),this.scroller=void 0)}}Tt(fr.prototype);var sa=ts();const aa=si(sa);class oa extends xi{constructor(e){super(e),this.name="continuous",this.settings=ot(this.settings||{},{infinite:!0,overflow:void 0,axis:void 0,writingMode:void 0,flow:"scrolled",offset:500,offsetDelta:250,width:void 0,height:void 0,snap:!1,afterScrolledTimeout:10,allowScriptedContent:!1,allowPopups:!1}),ot(this.settings,e.settings||{}),e.settings.gap!="undefined"&&e.settings.gap===0&&(this.settings.gap=e.settings.gap),this.viewSettings={ignoreClass:this.settings.ignoreClass,axis:this.settings.axis,flow:this.settings.flow,layout:this.layout,width:0,height:0,forceEvenPages:!1,allowScriptedContent:this.settings.allowScriptedContent,allowPopups:this.settings.allowPopups},this.scrollTop=0,this.scrollLeft=0}display(e,t){return xi.prototype.display.call(this,e,t).then(function(){return this.fill()}.bind(this))}fill(e){var t=e||new Ie;return this.q.enqueue(()=>this.check()).then(i=>{i?this.fill(t):t.resolve()}),t.promise}moveTo(e){var t=0,i=0;this.isPaginated?(t=Math.floor(e.left/this.layout.delta)*this.layout.delta,t+this.settings.offsetDelta):(i=e.top,e.top+this.settings.offsetDelta),(t>0||i>0)&&this.scrollBy(t,i,!0)}afterResized(e){this.emit(le.MANAGERS.RESIZE,e.section)}removeShownListeners(e){e.onDisplayed=function(){}}add(e){var t=this.createView(e);return this.views.append(t),t.on(le.VIEWS.RESIZED,i=>{t.expanded=!0}),t.on(le.VIEWS.AXIS,i=>{this.updateAxis(i)}),t.on(le.VIEWS.WRITING_MODE,i=>{this.updateWritingMode(i)}),t.onDisplayed=this.afterDisplayed.bind(this),t.onResize=this.afterResized.bind(this),t.display(this.request)}append(e){var t=this.createView(e);return t.on(le.VIEWS.RESIZED,i=>{t.expanded=!0}),t.on(le.VIEWS.AXIS,i=>{this.updateAxis(i)}),t.on(le.VIEWS.WRITING_MODE,i=>{this.updateWritingMode(i)}),this.views.append(t),t.onDisplayed=this.afterDisplayed.bind(this),t}prepend(e){var t=this.createView(e);return t.on(le.VIEWS.RESIZED,i=>{this.counter(i),t.expanded=!0}),t.on(le.VIEWS.AXIS,i=>{this.updateAxis(i)}),t.on(le.VIEWS.WRITING_MODE,i=>{this.updateWritingMode(i)}),this.views.prepend(t),t.onDisplayed=this.afterDisplayed.bind(this),t}counter(e){this.settings.axis==="vertical"?this.scrollBy(0,e.heightDelta,!0):this.scrollBy(e.widthDelta,0,!0)}update(e){for(var t=this.bounds(),i=this.views.all(),r=i.length,n=typeof e<"u"?e:this.settings.offset||0,s,a,l=new Ie,d=[],p=0;p{a.hide()});d.push(f)}else this.q.enqueue(a.destroy.bind(a)),clearTimeout(this.trimTimeout),this.trimTimeout=setTimeout(function(){this.q.enqueue(this.trim.bind(this))}.bind(this),250);return d.length?Promise.all(d).catch(f=>{l.reject(f)}):(l.resolve(),l.promise)}check(e,t){var i=new Ie,r=[],n=this.settings.axis==="horizontal",s=this.settings.offset||0;e&&n&&(s=e),t&&!n&&(s=t);var a=this._bounds;let l=n?this.scrollLeft:this.scrollTop,d=n?Math.floor(a.width):a.height,p=n?this.container.scrollWidth:this.container.scrollHeight,f=this.writingMode&&this.writingMode.indexOf("vertical")===0?"vertical":"horizontal",w=this.settings.rtlScrollType,m=this.settings.direction==="rtl";this.settings.fullsize?(n&&m&&w==="negative"||!n&&m&&w==="default")&&(l=l*-1):(m&&w==="default"&&f==="horizontal"&&(l=p-d-l),m&&w==="negative"&&f==="horizontal"&&(l=l*-1));let L=()=>{let C=this.views.first(),O=C&&C.section.prev();O&&r.push(this.prepend(O))},x=()=>{let C=this.views.last(),O=C&&C.section.next();O&&r.push(this.append(O))},h=l+d+s,v=l-s;h>=p&&x(),v<0&&L();let g=r.map(C=>C.display(this.request));return r.length?Promise.all(g).then(()=>this.check()).then(()=>this.update(s),C=>C):(this.q.enqueue(function(){this.update()}.bind(this)),i.resolve(!1),i.promise)}trim(){for(var e=new Ie,t=this.views.displayed(),i=t[0],r=t[t.length-1],n=this.views.indexOf(i),s=this.views.indexOf(r),a=this.views.slice(0,n),l=this.views.slice(s+1),d=0;d{t.resolve(r),this.displaying=void 0,this.emit(le.RENDITION.DISPLAYED,r),this.reportLocation()},n=>{this.emit(le.RENDITION.DISPLAY_ERROR,n)}),i):(t.reject(new Error("No Section Found")),i)}}afterDisplayed(e){e.on(le.VIEWS.MARK_CLICKED,(t,i)=>this.triggerMarkEvent(t,i,e.contents)),this.hooks.render.trigger(e,this).then(()=>{e.contents?this.hooks.content.trigger(e.contents,this).then(()=>{this.emit(le.RENDITION.RENDERED,e.section,e)}):this.emit(le.RENDITION.RENDERED,e.section,e)})}afterRemoved(e){this.hooks.unloaded.trigger(e,this).then(()=>{this.emit(le.RENDITION.REMOVED,e.section,e)})}onResized(e,t){this.emit(le.RENDITION.RESIZED,{width:e.width,height:e.height},t),this.location&&this.location.start&&this.display(t||this.location.start.cfi)}onOrientationChange(e){this.emit(le.RENDITION.ORIENTATION_CHANGE,e)}moveTo(e){this.manager.moveTo(e)}resize(e,t,i){e&&(this.settings.width=e),t&&(this.settings.height=t),this.manager.resize(e,t,i)}clear(){this.manager.clear()}next(){return this.q.enqueue(this.manager.next.bind(this.manager)).then(this.reportLocation.bind(this))}prev(){return this.q.enqueue(this.manager.prev.bind(this.manager)).then(this.reportLocation.bind(this))}determineLayoutProperties(e){var t,i=this.settings.layout||e.layout||"reflowable",r=this.settings.spread||e.spread||"auto",n=this.settings.orientation||e.orientation||"auto",s=this.settings.flow||e.flow||"auto",a=e.viewport||"",l=this.settings.minSpreadWidth||e.minSpreadWidth||800,d=this.settings.direction||e.direction||"ltr";return(this.settings.width===0||this.settings.width>0)&&(this.settings.height===0||this.settings.height>0),t={layout:i,spread:r,orientation:n,flow:s,viewport:a,minSpreadWidth:l,direction:d},t}flow(e){var t=e;(e==="scrolled"||e==="scrolled-doc"||e==="scrolled-continuous")&&(t="scrolled"),(e==="auto"||e==="paginated")&&(t="paginated"),this.settings.flow=e,this._layout&&this._layout.flow(t),this.manager&&this._layout&&this.manager.applyLayout(this._layout),this.manager&&this.manager.updateFlow(t),this.manager&&this.manager.isRendered()&&this.location&&(this.manager.clear(),this.display(this.location.start.cfi))}layout(e){return e&&(this._layout=new In(e),this._layout.spread(e.spread,this.settings.minSpreadWidth),this._layout.on(le.LAYOUT.UPDATED,(t,i)=>{this.emit(le.RENDITION.LAYOUT,t,i)})),this.manager&&this._layout&&this.manager.applyLayout(this._layout),this._layout}spread(e,t){this.settings.spread=e,t&&(this.settings.minSpreadWidth=t),this._layout&&this._layout.spread(e,t),this.manager&&this.manager.isRendered()&&this.manager.updateLayout()}direction(e){this.settings.direction=e||"ltr",this.manager&&this.manager.direction(this.settings.direction),this.manager&&this.manager.isRendered()&&this.location&&(this.manager.clear(),this.display(this.location.start.cfi))}reportLocation(){return this.q.enqueue(function(){requestAnimationFrame(function(){var i=this.manager.currentLocation();if(i&&i.then&&typeof i.then=="function")i.then(function(r){let n=this.located(r);!n||!n.start||!n.end||(this.location=n,this.emit(le.RENDITION.LOCATION_CHANGED,{index:this.location.start.index,href:this.location.start.href,start:this.location.start.cfi,end:this.location.end.cfi,percentage:this.location.start.percentage}),this.emit(le.RENDITION.RELOCATED,this.location))}.bind(this));else if(i){let r=this.located(i);if(!r||!r.start||!r.end)return;this.location=r,this.emit(le.RENDITION.LOCATION_CHANGED,{index:this.location.start.index,href:this.location.start.href,start:this.location.start.cfi,end:this.location.end.cfi,percentage:this.location.start.percentage}),this.emit(le.RENDITION.RELOCATED,this.location)}}.bind(this))}.bind(this))}currentLocation(){var e=this.manager.currentLocation();if(e&&e.then&&typeof e.then=="function")e.then(function(t){return this.located(t)}.bind(this));else if(e)return this.located(e)}located(e){if(!e.length)return{};let t=e[0],i=e[e.length-1],r={start:{index:t.index,href:t.href,cfi:t.mapping.start,displayed:{page:t.pages[0]||1,total:t.totalPages}},end:{index:i.index,href:i.href,cfi:i.mapping.end,displayed:{page:i.pages[i.pages.length-1]||1,total:i.totalPages}}},n=this.book.locations.locationFromCfi(t.mapping.start),s=this.book.locations.locationFromCfi(i.mapping.end);n!=null&&(r.start.location=n,r.start.percentage=this.book.locations.percentageFromLocation(n)),s!=null&&(r.end.location=s,r.end.percentage=this.book.locations.percentageFromLocation(s));let a=this.book.pageList.pageFromCfi(t.mapping.start),l=this.book.pageList.pageFromCfi(i.mapping.end);return a!=-1&&(r.start.page=a),l!=-1&&(r.end.page=l),i.index===this.book.spine.last().index&&r.end.displayed.page>=r.end.displayed.total&&(r.atEnd=!0),t.index===this.book.spine.first().index&&r.start.displayed.page===1&&(r.atStart=!0),r}destroy(){this.manager&&this.manager.destroy(),this.book=void 0}passEvents(e){vi.forEach(t=>{e.on(t,i=>this.triggerViewEvent(i,e))}),e.on(le.CONTENTS.SELECTED,t=>this.triggerSelectedEvent(t,e))}triggerViewEvent(e,t){this.emit(e.type,e,t)}triggerSelectedEvent(e,t){this.emit(le.RENDITION.SELECTED,e,t)}triggerMarkEvent(e,t,i){this.emit(le.RENDITION.MARK_CLICKED,e,t,i)}getRange(e,t){var i=new Oe(e),r=this.manager.visible().filter(function(n){if(i.spinePos===n.index)return!0});if(r.length)return r[0].contents.range(i,t)}adjustImages(e){if(this._layout.name==="pre-paginated")return new Promise(function(n){n()});let t=e.window.getComputedStyle(e.content,null),i=(e.content.offsetHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)))*.95,r=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight);return e.addStylesheetRules({img:{"max-width":(this._layout.columnWidth?this._layout.columnWidth-r+"px":"100%")+"!important","max-height":i+"px!important","object-fit":"contain","page-break-inside":"avoid","break-inside":"avoid","box-sizing":"border-box"},svg:{"max-width":(this._layout.columnWidth?this._layout.columnWidth-r+"px":"100%")+"!important","max-height":i+"px!important","page-break-inside":"avoid","break-inside":"avoid"}}),new Promise(function(n,s){setTimeout(function(){n()},1)})}getContents(){return this.manager?this.manager.getContents():[]}views(){return(this.manager?this.manager.views:void 0)||[]}handleLinks(e){e&&e.on(le.CONTENTS.LINK_CLICKED,t=>{let i=this.book.path.relative(t);this.display(i)})}injectStylesheet(e,t){let i=e.createElement("link");i.setAttribute("type","text/css"),i.setAttribute("rel","stylesheet"),i.setAttribute("href",this.settings.stylesheet),e.getElementsByTagName("head")[0].appendChild(i)}injectScript(e,t){let i=e.createElement("script");i.setAttribute("type","text/javascript"),i.setAttribute("src",this.settings.script),i.textContent=" ",e.getElementsByTagName("head")[0].appendChild(i)}injectIdentifier(e,t){let i=this.book.packaging.metadata.identifier,r=e.createElement("meta");r.setAttribute("name","dc.relation.ispartof"),i&&r.setAttribute("content",i),e.getElementsByTagName("head")[0].appendChild(r)}}Tt(yr.prototype);function Pt(D){throw new Error('Could not dynamically require "'+D+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var rr={exports:{}},hn;function ua(){return hn||(hn=1,(function(D,e){(function(t){D.exports=t()})(function(){return(function t(i,r,n){function s(d,p){if(!r[d]){if(!i[d]){var f=typeof Pt=="function"&&Pt;if(!p&&f)return f(d,!0);if(a)return a(d,!0);var w=new Error("Cannot find module '"+d+"'");throw w.code="MODULE_NOT_FOUND",w}var m=r[d]={exports:{}};i[d][0].call(m.exports,function(L){var x=i[d][1][L];return s(x||L)},m,m.exports,t,i,r,n)}return r[d].exports}for(var a=typeof Pt=="function"&&Pt,l=0;l>2,L=(p&3)<<4|f>>4,x=C>1?(f&15)<<2|w>>6:64,h=C>2?w&63:64,d.push(a.charAt(m)+a.charAt(L)+a.charAt(x)+a.charAt(h));return d.join("")},r.decode=function(l){var d,p,f,w,m,L,x,h=0,v=0,g="data:";if(l.substr(0,g.length)===g)throw new Error("Invalid base64 input, it looks like a data url.");l=l.replace(/[^A-Za-z0-9+/=]/g,"");var C=l.length*3/4;if(l.charAt(l.length-1)===a.charAt(64)&&C--,l.charAt(l.length-2)===a.charAt(64)&&C--,C%1!==0)throw new Error("Invalid base64 input, bad content length.");var O;for(s.uint8array?O=new Uint8Array(C|0):O=new Array(C|0);h>4,p=(m&15)<<4|L>>2,f=(L&3)<<6|x,O[v++]=d,L!==64&&(O[v++]=p),x!==64&&(O[v++]=f);return O}},{"./support":30,"./utils":32}],2:[function(t,i,r){var n=t("./external"),s=t("./stream/DataWorker"),a=t("./stream/Crc32Probe"),l=t("./stream/DataLengthProbe");function d(p,f,w,m,L){this.compressedSize=p,this.uncompressedSize=f,this.crc32=w,this.compression=m,this.compressedContent=L}d.prototype={getContentWorker:function(){var p=new s(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),f=this;return p.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),p},getCompressedWorker:function(){return new s(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},d.createWorkerFrom=function(p,f,w){return p.pipe(new a).pipe(new l("uncompressedSize")).pipe(f.compressWorker(w)).pipe(new l("compressedSize")).withStreamInfo("compression",f)},i.exports=d},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,i,r){var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,i,r){var n=t("./utils");function s(){for(var p,f=[],w=0;w<256;w++){p=w;for(var m=0;m<8;m++)p=p&1?3988292384^p>>>1:p>>>1;f[w]=p}return f}var a=s();function l(p,f,w,m){var L=a,x=m+w;p=p^-1;for(var h=m;h>>8^L[(p^f[h])&255];return p^-1}function d(p,f,w,m){var L=a,x=m+w;p=p^-1;for(var h=m;h>>8^L[(p^f.charCodeAt(h))&255];return p^-1}i.exports=function(f,w){if(typeof f>"u"||!f.length)return 0;var m=n.getTypeOf(f)!=="string";return m?l(w|0,f,f.length,0):d(w|0,f,f.length,0)}},{"./utils":32}],5:[function(t,i,r){r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,i,r){var n=null;typeof Promise<"u"?n=Promise:n=t("lie"),i.exports={Promise:n}},{lie:37}],7:[function(t,i,r){var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=t("pako"),a=t("./utils"),l=t("./stream/GenericWorker"),d=n?"uint8array":"array";r.magic="\b\0";function p(f,w){l.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=w,this.meta={}}a.inherits(p,l),p.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(d,f.data),!1)},p.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},p.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},p.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var f=this;this._pako.onData=function(w){f.push({data:w,meta:f.meta})}},r.compressWorker=function(f){return new p("Deflate",f)},r.uncompressWorker=function(){return new p("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,i,r){var n=t("../utils"),s=t("../stream/GenericWorker"),a=t("../utf8"),l=t("../crc32"),d=t("../signature"),p=function(v,g){var C="",O;for(O=0;O>>8;return C},f=function(v,g){var C=v;return v||(C=g?16893:33204),(C&65535)<<16},w=function(v){return(v||0)&63},m=function(v,g,C,O,y,T){var N=v.file,R=v.compression,k=T!==a.utf8encode,I=n.transformTo("string",T(N.name)),Z=n.transformTo("string",a.utf8encode(N.name)),j=N.comment,G=n.transformTo("string",T(j)),re=n.transformTo("string",a.utf8encode(j)),te=Z.length!==N.name.length,ce=re.length!==j.length,Q,K,oe="",ye="",ne="",de=N.dir,De=N.date,ge={crc32:0,compressedSize:0,uncompressedSize:0};(!g||C)&&(ge.crc32=v.crc32,ge.compressedSize=v.compressedSize,ge.uncompressedSize=v.uncompressedSize);var Te=0;g&&(Te|=8),!k&&(te||ce)&&(Te|=2048);var He=0,Pe=0;de&&(He|=16),y==="UNIX"?(Pe=798,He|=f(N.unixPermissions,de)):(Pe=20,He|=w(N.dosPermissions)),Q=De.getUTCHours(),Q=Q<<6,Q=Q|De.getUTCMinutes(),Q=Q<<5,Q=Q|De.getUTCSeconds()/2,K=De.getUTCFullYear()-1980,K=K<<4,K=K|De.getUTCMonth()+1,K=K<<5,K=K|De.getUTCDate(),te&&(ye=p(1,1)+p(l(I),4)+Z,oe+="up"+p(ye.length,2)+ye),ce&&(ne=p(1,1)+p(l(G),4)+re,oe+="uc"+p(ne.length,2)+ne);var ve="";ve+=` +\0`,ve+=p(Te,2),ve+=R.magic,ve+=p(Q,2),ve+=p(K,2),ve+=p(ge.crc32,4),ve+=p(ge.compressedSize,4),ve+=p(ge.uncompressedSize,4),ve+=p(I.length,2),ve+=p(oe.length,2);var Fe=d.LOCAL_FILE_HEADER+ve+I+oe,qe=d.CENTRAL_FILE_HEADER+p(Pe,2)+ve+p(G.length,2)+"\0\0\0\0"+p(He,4)+p(O,4)+I+oe+G;return{fileRecord:Fe,dirRecord:qe}},L=function(v,g,C,O,y){var T="",N=n.transformTo("string",y(O));return T=d.CENTRAL_DIRECTORY_END+"\0\0\0\0"+p(v,2)+p(v,2)+p(g,4)+p(C,4)+p(N.length,2)+N,T},x=function(v){var g="";return g=d.DATA_DESCRIPTOR+p(v.crc32,4)+p(v.compressedSize,4)+p(v.uncompressedSize,4),g};function h(v,g,C,O){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=g,this.zipPlatform=C,this.encodeFileName=O,this.streamFiles=v,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(h,s),h.prototype.push=function(v){var g=v.meta.percent||0,C=this.entriesCount,O=this._sources.length;this.accumulate?this.contentBuffer.push(v):(this.bytesWritten+=v.data.length,s.prototype.push.call(this,{data:v.data,meta:{currentFile:this.currentFile,percent:C?(g+100*(C-O-1))/C:100}}))},h.prototype.openedSource=function(v){this.currentSourceOffset=this.bytesWritten,this.currentFile=v.file.name;var g=this.streamFiles&&!v.file.dir;if(g){var C=m(v,g,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:C.fileRecord,meta:{percent:0}})}else this.accumulate=!0},h.prototype.closedSource=function(v){this.accumulate=!1;var g=this.streamFiles&&!v.file.dir,C=m(v,g,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(C.dirRecord),g)this.push({data:x(v),meta:{percent:100}});else for(this.push({data:C.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},h.prototype.flush=function(){for(var v=this.bytesWritten,g=0;g"u")&&(I.binary=!Z);var j=T instanceof p&&T.uncompressedSize===0;(j||I.dir||!T||T.length===0)&&(I.base64=!1,I.binary=!0,T="",I.compression="STORE",R="string");var G=null;T instanceof p||T instanceof a?G=T:m.isNode&&m.isStream(T)?G=new L(y,T):G=s.prepareContent(y,T,I.binary,I.optimizedBinaryString,I.base64);var re=new f(y,G,I);this.files[y]=re},h=function(y){y.slice(-1)==="/"&&(y=y.substring(0,y.length-1));var T=y.lastIndexOf("/");return T>0?y.substring(0,T):""},v=function(y){return y.slice(-1)!=="/"&&(y+="/"),y},g=function(y,T){return T=typeof T<"u"?T:d.createFolders,y=v(y),this.files[y]||x.call(this,y,null,{dir:!0,createFolders:T}),this.files[y]};function C(y){return Object.prototype.toString.call(y)==="[object RegExp]"}var O={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(y){var T,N,R;for(T in this.files)R=this.files[T],N=T.slice(this.root.length,T.length),N&&T.slice(0,this.root.length)===this.root&&y(N,R)},filter:function(y){var T=[];return this.forEach(function(N,R){y(N,R)&&T.push(R)}),T},file:function(y,T,N){if(arguments.length===1)if(C(y)){var R=y;return this.filter(function(I,Z){return!Z.dir&&R.test(I)})}else{var k=this.files[this.root+y];return k&&!k.dir?k:null}else y=this.root+y,x.call(this,y,T,N);return this},folder:function(y){if(!y)return this;if(C(y))return this.filter(function(k,I){return I.dir&&y.test(k)});var T=this.root+y,N=g.call(this,T),R=this.clone();return R.root=N.name,R},remove:function(y){y=this.root+y;var T=this.files[y];if(T||(y.slice(-1)!=="/"&&(y+="/"),T=this.files[y]),T&&!T.dir)delete this.files[y];else for(var N=this.filter(function(k,I){return I.name.slice(0,y.length)===y}),R=0;R=0;--m)if(this.data[m]===d&&this.data[m+1]===p&&this.data[m+2]===f&&this.data[m+3]===w)return m-this.zero;return-1},a.prototype.readAndCheckSignature=function(l){var d=l.charCodeAt(0),p=l.charCodeAt(1),f=l.charCodeAt(2),w=l.charCodeAt(3),m=this.readData(4);return d===m[0]&&p===m[1]&&f===m[2]&&w===m[3]},a.prototype.readData=function(l){if(this.checkOffset(l),l===0)return[];var d=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,d},i.exports=a},{"../utils":32,"./DataReader":18}],18:[function(t,i,r){var n=t("../utils");function s(a){this.data=a,this.length=a.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(a){this.checkIndex(this.index+a)},checkIndex:function(a){if(this.length=this.index;d--)l=(l<<8)+this.byteAt(d);return this.index+=a,l},readString:function(a){return n.transformTo("string",this.readData(a))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var a=this.readInt(4);return new Date(Date.UTC((a>>25&127)+1980,(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,(a&31)<<1))}},i.exports=s},{"../utils":32}],19:[function(t,i,r){var n=t("./Uint8ArrayReader"),s=t("../utils");function a(l){n.call(this,l)}s.inherits(a,n),a.prototype.readData=function(l){this.checkOffset(l);var d=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,d},i.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,i,r){var n=t("./DataReader"),s=t("../utils");function a(l){n.call(this,l)}s.inherits(a,n),a.prototype.byteAt=function(l){return this.data.charCodeAt(this.zero+l)},a.prototype.lastIndexOfSignature=function(l){return this.data.lastIndexOf(l)-this.zero},a.prototype.readAndCheckSignature=function(l){var d=this.readData(4);return l===d},a.prototype.readData=function(l){this.checkOffset(l);var d=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,d},i.exports=a},{"../utils":32,"./DataReader":18}],21:[function(t,i,r){var n=t("./ArrayReader"),s=t("../utils");function a(l){n.call(this,l)}s.inherits(a,n),a.prototype.readData=function(l){if(this.checkOffset(l),l===0)return new Uint8Array(0);var d=this.data.subarray(this.zero+this.index,this.zero+this.index+l);return this.index+=l,d},i.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(t,i,r){var n=t("../utils"),s=t("../support"),a=t("./ArrayReader"),l=t("./StringReader"),d=t("./NodeBufferReader"),p=t("./Uint8ArrayReader");i.exports=function(f){var w=n.getTypeOf(f);return n.checkSupport(w),w==="string"&&!s.uint8array?new l(f):w==="nodebuffer"?new d(f):s.uint8array?new p(n.transformTo("uint8array",f)):new a(n.transformTo("array",f))}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,i,r){r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(t,i,r){var n=t("./GenericWorker"),s=t("../utils");function a(l){n.call(this,"ConvertWorker to "+l),this.destType=l}s.inherits(a,n),a.prototype.processChunk=function(l){this.push({data:s.transformTo(this.destType,l.data),meta:l.meta})},i.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(t,i,r){var n=t("./GenericWorker"),s=t("../crc32"),a=t("../utils");function l(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}a.inherits(l,n),l.prototype.processChunk=function(d){this.streamInfo.crc32=s(d.data,this.streamInfo.crc32||0),this.push(d)},i.exports=l},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,i,r){var n=t("../utils"),s=t("./GenericWorker");function a(l){s.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}n.inherits(a,s),a.prototype.processChunk=function(l){if(l){var d=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=d+l.data.length}s.prototype.processChunk.call(this,l)},i.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(t,i,r){var n=t("../utils"),s=t("./GenericWorker"),a=16*1024;function l(d){s.call(this,"DataWorker");var p=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,d.then(function(f){p.dataIsReady=!0,p.data=f,p.max=f&&f.length||0,p.type=n.getTypeOf(f),p.isPaused||p._tickAndRepeat()},function(f){p.error(f)})}n.inherits(l,s),l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},l.prototype.resume=function(){return s.prototype.resume.call(this)?(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0):!1},l.prototype._tickAndRepeat=function(){this._tickScheduled=!1,!(this.isPaused||this.isFinished)&&(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},l.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var d=a,p=null,f=Math.min(this.max,this.index+d);if(this.index>=this.max)return this.end();switch(this.type){case"string":p=this.data.substring(this.index,f);break;case"uint8array":p=this.data.subarray(this.index,f);break;case"array":case"nodebuffer":p=this.data.slice(this.index,f);break}return this.index=f,this.push({data:p,meta:{percent:this.max?this.index/this.max*100:0}})},i.exports=l},{"../utils":32,"./GenericWorker":28}],28:[function(t,i,r){function n(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return this.isFinished?!1:(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,a){return this._listeners[s].push(a),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,a){if(this._listeners[s])for(var l=0;l "+s:s}},i.exports=n},{}],29:[function(t,i,r){var n=t("../utils"),s=t("./ConvertWorker"),a=t("./GenericWorker"),l=t("../base64"),d=t("../support"),p=t("../external"),f=null;if(d.nodestream)try{f=t("../nodejs/NodejsStreamOutputAdapter")}catch{}function w(h,v,g){switch(h){case"blob":return n.newBlob(n.transformTo("arraybuffer",v),g);case"base64":return l.encode(v);default:return n.transformTo(h,v)}}function m(h,v){var g,C=0,O=null,y=0;for(g=0;g"u")r.blob=!1;else{var n=new ArrayBuffer(0);try{r.blob=new Blob([n],{type:"application/zip"}).size===0}catch{try{var s=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,a=new s;a.append(n),r.blob=a.getBlob("application/zip").size===0}catch{r.blob=!1}}}try{r.nodestream=!!t("readable-stream").Readable}catch{r.nodestream=!1}},{"readable-stream":16}],31:[function(t,i,r){for(var n=t("./utils"),s=t("./support"),a=t("./nodejsUtils"),l=t("./stream/GenericWorker"),d=new Array(256),p=0;p<256;p++)d[p]=p>=252?6:p>=248?5:p>=240?4:p>=224?3:p>=192?2:1;d[254]=d[254]=1;var f=function(h){var v,g,C,O,y,T=h.length,N=0;for(O=0;O>>6,v[y++]=128|g&63):g<65536?(v[y++]=224|g>>>12,v[y++]=128|g>>>6&63,v[y++]=128|g&63):(v[y++]=240|g>>>18,v[y++]=128|g>>>12&63,v[y++]=128|g>>>6&63,v[y++]=128|g&63);return v},w=function(h,v){var g;for(v=v||h.length,v>h.length&&(v=h.length),g=v-1;g>=0&&(h[g]&192)===128;)g--;return g<0||g===0?v:g+d[h[g]]>v?g:v},m=function(h){var v,g,C,O,y=h.length,T=new Array(y*2);for(g=0,v=0;v4){T[g++]=65533,v+=O-1;continue}for(C&=O===2?31:O===3?15:7;O>1&&v1){T[g++]=65533;continue}C<65536?T[g++]=C:(C-=65536,T[g++]=55296|C>>10&1023,T[g++]=56320|C&1023)}return T.length!==g&&(T.subarray?T=T.subarray(0,g):T.length=g),n.applyFromCharCode(T)};r.utf8encode=function(v){return s.nodebuffer?a.newBufferFrom(v,"utf-8"):f(v)},r.utf8decode=function(v){return s.nodebuffer?n.transformTo("nodebuffer",v).toString("utf-8"):(v=n.transformTo(s.uint8array?"uint8array":"array",v),m(v))};function L(){l.call(this,"utf-8 decode"),this.leftOver=null}n.inherits(L,l),L.prototype.processChunk=function(h){var v=n.transformTo(s.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var g=v;v=new Uint8Array(g.length+this.leftOver.length),v.set(this.leftOver,0),v.set(g,this.leftOver.length)}else v=this.leftOver.concat(v);this.leftOver=null}var C=w(v),O=v;C!==v.length&&(s.uint8array?(O=v.subarray(0,C),this.leftOver=v.subarray(C,v.length)):(O=v.slice(0,C),this.leftOver=v.slice(C,v.length))),this.push({data:r.utf8decode(O),meta:h.meta})},L.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=L;function x(){l.call(this,"utf-8 encode")}n.inherits(x,l),x.prototype.processChunk=function(h){this.push({data:r.utf8encode(h.data),meta:h.meta})},r.Utf8EncodeWorker=x},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,i,r){var n=t("./support"),s=t("./base64"),a=t("./nodejsUtils"),l=t("./external");t("setimmediate");function d(h){var v=null;return n.uint8array?v=new Uint8Array(h.length):v=new Array(h.length),f(h,v)}r.newBlob=function(h,v){r.checkSupport("blob");try{return new Blob([h],{type:v})}catch{try{var g=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,C=new g;return C.append(h),C.getBlob(v)}catch{throw new Error("Bug : can't construct the Blob.")}}};function p(h){return h}function f(h,v){for(var g=0;g1;)try{return w.stringifyByChunk(h,g,v)}catch{v=Math.floor(v/2)}return w.stringifyByChar(h)}r.applyFromCharCode=m;function L(h,v){for(var g=0;g"u"&&(h[g]=arguments[v][g]);return h},r.prepareContent=function(h,v,g,C,O){var y=l.Promise.resolve(v).then(function(T){var N=n.blob&&(T instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(T))!==-1);return N&&typeof FileReader<"u"?new l.Promise(function(R,k){var I=new FileReader;I.onload=function(Z){R(Z.target.result)},I.onerror=function(Z){k(Z.target.error)},I.readAsArrayBuffer(T)}):T});return y.then(function(T){var N=r.getTypeOf(T);return N?(N==="arraybuffer"?T=r.transformTo("uint8array",T):N==="string"&&(O?T=s.decode(T):g&&C!==!0&&(T=d(T))),T):l.Promise.reject(new Error("Can't read the data of '"+h+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,i,r){var n=t("./reader/readerFor"),s=t("./utils"),a=t("./signature"),l=t("./zipEntry"),d=t("./support");function p(f){this.files=[],this.loadOptions=f}p.prototype={checkSignature:function(f){if(!this.reader.readAndCheckSignature(f)){this.reader.index-=4;var w=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(w)+", expected "+s.pretty(f)+")")}},isSignature:function(f,w){var m=this.reader.index;this.reader.setIndex(f);var L=this.reader.readString(4),x=L===w;return this.reader.setIndex(m),x},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var f=this.reader.readData(this.zipCommentLength),w=d.uint8array?"uint8array":"array",m=s.transformTo(w,f);this.zipComment=this.loadOptions.decodeFileName(m)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var f=this.zip64EndOfCentralSize-44,w=0,m,L,x;w1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var f,w;for(f=0;f0)this.isSignature(m,a.CENTRAL_FILE_HEADER)||(this.reader.zero=x);else if(x<0)throw new Error("Corrupted zip: missing "+Math.abs(x)+" bytes.")},prepareReader:function(f){this.reader=n(f)},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},i.exports=p},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,i,r){var n=t("./reader/readerFor"),s=t("./utils"),a=t("./compressedObject"),l=t("./crc32"),d=t("./utf8"),p=t("./compressions"),f=t("./support"),w=0,m=3,L=function(h){for(var v in p)if(Object.prototype.hasOwnProperty.call(p,v)&&p[v].magic===h)return p[v];return null};function x(h,v){this.options=h,this.loadOptions=v}x.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function(h){var v,g;if(h.skip(22),this.fileNameLength=h.readInt(2),g=h.readInt(2),this.fileName=h.readData(this.fileNameLength),h.skip(g),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(v=L(this.compressionMethod),v===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,v,h.readData(this.compressedSize))},readCentralPart:function(h){this.versionMadeBy=h.readInt(2),h.skip(2),this.bitFlag=h.readInt(2),this.compressionMethod=h.readString(2),this.date=h.readDate(),this.crc32=h.readInt(4),this.compressedSize=h.readInt(4),this.uncompressedSize=h.readInt(4);var v=h.readInt(2);if(this.extraFieldsLength=h.readInt(2),this.fileCommentLength=h.readInt(2),this.diskNumberStart=h.readInt(2),this.internalFileAttributes=h.readInt(2),this.externalFileAttributes=h.readInt(4),this.localHeaderOffset=h.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");h.skip(v),this.readExtraFields(h),this.parseZIP64ExtraField(h),this.fileComment=h.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var h=this.versionMadeBy>>8;this.dir=!!(this.externalFileAttributes&16),h===w&&(this.dosPermissions=this.externalFileAttributes&63),h===m&&(this.unixPermissions=this.externalFileAttributes>>16&65535),!this.dir&&this.fileNameStr.slice(-1)==="/"&&(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=n(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var v=h.index+this.extraFieldsLength,g,C,O;for(this.extraFields||(this.extraFields={});h.index+40?R.windowBits=-R.windowBits:R.gzip&&R.windowBits>0&&R.windowBits<16&&(R.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var k=n.deflateInit2(this.strm,R.level,R.method,R.windowBits,R.memLevel,R.strategy);if(k!==m)throw new Error(l[k]);if(R.header&&n.deflateSetHeader(this.strm,R.header),R.dictionary){var I;if(typeof R.dictionary=="string"?I=a.string2buf(R.dictionary):p.call(R.dictionary)==="[object ArrayBuffer]"?I=new Uint8Array(R.dictionary):I=R.dictionary,k=n.deflateSetDictionary(this.strm,I),k!==m)throw new Error(l[k]);this._dict_set=!0}}C.prototype.push=function(N,R){var k=this.strm,I=this.options.chunkSize,Z,j;if(this.ended)return!1;j=R===~~R?R:R===!0?w:f,typeof N=="string"?k.input=a.string2buf(N):p.call(N)==="[object ArrayBuffer]"?k.input=new Uint8Array(N):k.input=N,k.next_in=0,k.avail_in=k.input.length;do{if(k.avail_out===0&&(k.output=new s.Buf8(I),k.next_out=0,k.avail_out=I),Z=n.deflate(k,j),Z!==L&&Z!==m)return this.onEnd(Z),this.ended=!0,!1;(k.avail_out===0||k.avail_in===0&&(j===w||j===x))&&(this.options.to==="string"?this.onData(a.buf2binstring(s.shrinkBuf(k.output,k.next_out))):this.onData(s.shrinkBuf(k.output,k.next_out)))}while((k.avail_in>0||k.avail_out===0)&&Z!==L);return j===w?(Z=n.deflateEnd(this.strm),this.onEnd(Z),this.ended=!0,Z===m):(j===x&&(this.onEnd(m),k.avail_out=0),!0)},C.prototype.onData=function(N){this.chunks.push(N)},C.prototype.onEnd=function(N){N===m&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=N,this.msg=this.strm.msg};function O(N,R){var k=new C(R);if(k.push(N,!0),k.err)throw k.msg||l[k.err];return k.result}function y(N,R){return R=R||{},R.raw=!0,O(N,R)}function T(N,R){return R=R||{},R.gzip=!0,O(N,R)}r.Deflate=C,r.deflate=O,r.deflateRaw=y,r.gzip=T},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,i,r){var n=t("./zlib/inflate"),s=t("./utils/common"),a=t("./utils/strings"),l=t("./zlib/constants"),d=t("./zlib/messages"),p=t("./zlib/zstream"),f=t("./zlib/gzheader"),w=Object.prototype.toString;function m(h){if(!(this instanceof m))return new m(h);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},h||{});var v=this.options;v.raw&&v.windowBits>=0&&v.windowBits<16&&(v.windowBits=-v.windowBits,v.windowBits===0&&(v.windowBits=-15)),v.windowBits>=0&&v.windowBits<16&&!(h&&h.windowBits)&&(v.windowBits+=32),v.windowBits>15&&v.windowBits<48&&(v.windowBits&15)===0&&(v.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new p,this.strm.avail_out=0;var g=n.inflateInit2(this.strm,v.windowBits);if(g!==l.Z_OK)throw new Error(d[g]);this.header=new f,n.inflateGetHeader(this.strm,this.header)}m.prototype.push=function(h,v){var g=this.strm,C=this.options.chunkSize,O=this.options.dictionary,y,T,N,R,k,I,Z=!1;if(this.ended)return!1;T=v===~~v?v:v===!0?l.Z_FINISH:l.Z_NO_FLUSH,typeof h=="string"?g.input=a.binstring2buf(h):w.call(h)==="[object ArrayBuffer]"?g.input=new Uint8Array(h):g.input=h,g.next_in=0,g.avail_in=g.input.length;do{if(g.avail_out===0&&(g.output=new s.Buf8(C),g.next_out=0,g.avail_out=C),y=n.inflate(g,l.Z_NO_FLUSH),y===l.Z_NEED_DICT&&O&&(typeof O=="string"?I=a.string2buf(O):w.call(O)==="[object ArrayBuffer]"?I=new Uint8Array(O):I=O,y=n.inflateSetDictionary(this.strm,I)),y===l.Z_BUF_ERROR&&Z===!0&&(y=l.Z_OK,Z=!1),y!==l.Z_STREAM_END&&y!==l.Z_OK)return this.onEnd(y),this.ended=!0,!1;g.next_out&&(g.avail_out===0||y===l.Z_STREAM_END||g.avail_in===0&&(T===l.Z_FINISH||T===l.Z_SYNC_FLUSH))&&(this.options.to==="string"?(N=a.utf8border(g.output,g.next_out),R=g.next_out-N,k=a.buf2string(g.output,N),g.next_out=R,g.avail_out=C-R,R&&s.arraySet(g.output,g.output,N,R,0),this.onData(k)):this.onData(s.shrinkBuf(g.output,g.next_out))),g.avail_in===0&&g.avail_out===0&&(Z=!0)}while((g.avail_in>0||g.avail_out===0)&&y!==l.Z_STREAM_END);return y===l.Z_STREAM_END&&(T=l.Z_FINISH),T===l.Z_FINISH?(y=n.inflateEnd(this.strm),this.onEnd(y),this.ended=!0,y===l.Z_OK):(T===l.Z_SYNC_FLUSH&&(this.onEnd(l.Z_OK),g.avail_out=0),!0)},m.prototype.onData=function(h){this.chunks.push(h)},m.prototype.onEnd=function(h){h===l.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=h,this.msg=this.strm.msg};function L(h,v){var g=new m(v);if(g.push(h,!0),g.err)throw g.msg||d[g.err];return g.result}function x(h,v){return v=v||{},v.raw=!0,L(h,v)}r.Inflate=m,r.inflate=L,r.inflateRaw=x,r.ungzip=L},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,i,r){var n=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";r.assign=function(l){for(var d=Array.prototype.slice.call(arguments,1);d.length;){var p=d.shift();if(p){if(typeof p!="object")throw new TypeError(p+"must be non-object");for(var f in p)p.hasOwnProperty(f)&&(l[f]=p[f])}}return l},r.shrinkBuf=function(l,d){return l.length===d?l:l.subarray?l.subarray(0,d):(l.length=d,l)};var s={arraySet:function(l,d,p,f,w){if(d.subarray&&l.subarray){l.set(d.subarray(p,p+f),w);return}for(var m=0;m=252?6:d>=248?5:d>=240?4:d>=224?3:d>=192?2:1;l[254]=l[254]=1,r.string2buf=function(f){var w,m,L,x,h,v=f.length,g=0;for(x=0;x>>6,w[h++]=128|m&63):m<65536?(w[h++]=224|m>>>12,w[h++]=128|m>>>6&63,w[h++]=128|m&63):(w[h++]=240|m>>>18,w[h++]=128|m>>>12&63,w[h++]=128|m>>>6&63,w[h++]=128|m&63);return w};function p(f,w){if(w<65537&&(f.subarray&&a||!f.subarray&&s))return String.fromCharCode.apply(null,n.shrinkBuf(f,w));for(var m="",L=0;L4){g[L++]=65533,m+=h-1;continue}for(x&=h===2?31:h===3?15:7;h>1&&m1){g[L++]=65533;continue}x<65536?g[L++]=x:(x-=65536,g[L++]=55296|x>>10&1023,g[L++]=56320|x&1023)}return p(g,L)},r.utf8border=function(f,w){var m;for(w=w||f.length,w>f.length&&(w=f.length),m=w-1;m>=0&&(f[m]&192)===128;)m--;return m<0||m===0?w:m+l[f[m]]>w?m:w}},{"./common":41}],43:[function(t,i,r){function n(s,a,l,d){for(var p=s&65535|0,f=s>>>16&65535|0,w=0;l!==0;){w=l>2e3?2e3:l,l-=w;do p=p+a[d++]|0,f=f+p|0;while(--w);p%=65521,f%=65521}return p|f<<16|0}i.exports=n},{}],44:[function(t,i,r){i.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,i,r){function n(){for(var l,d=[],p=0;p<256;p++){l=p;for(var f=0;f<8;f++)l=l&1?3988292384^l>>>1:l>>>1;d[p]=l}return d}var s=n();function a(l,d,p,f){var w=s,m=f+p;l^=-1;for(var L=f;L>>8^w[(l^d[L])&255];return l^-1}i.exports=a},{}],46:[function(t,i,r){var n=t("../utils/common"),s=t("./trees"),a=t("./adler32"),l=t("./crc32"),d=t("./messages"),p=0,f=1,w=3,m=4,L=5,x=0,h=1,v=-2,g=-3,C=-5,O=-1,y=1,T=2,N=3,R=4,k=0,I=2,Z=8,j=9,G=15,re=8,te=29,ce=256,Q=ce+1+te,K=30,oe=19,ye=2*Q+1,ne=15,de=3,De=258,ge=De+de+1,Te=32,He=42,Pe=69,ve=73,Fe=91,qe=103,Ee=113,ke=666,Ae=1,Re=2,We=3,Le=4,Ne=3;function Ve(u,M){return u.msg=d[M],M}function et(u){return(u<<1)-(u>4?9:0)}function $e(u){for(var M=u.length;--M>=0;)u[M]=0}function be(u){var M=u.state,H=M.pending;H>u.avail_out&&(H=u.avail_out),H!==0&&(n.arraySet(u.output,M.pending_buf,M.pending_out,H,u.next_out),u.next_out+=H,M.pending_out+=H,u.total_out+=H,u.avail_out-=H,M.pending-=H,M.pending===0&&(M.pending_out=0))}function _e(u,M){s._tr_flush_block(u,u.block_start>=0?u.block_start:-1,u.strstart-u.block_start,M),u.block_start=u.strstart,be(u.strm)}function me(u,M){u.pending_buf[u.pending++]=M}function rt(u,M){u.pending_buf[u.pending++]=M>>>8&255,u.pending_buf[u.pending++]=M&255}function dt(u,M,H,b){var B=u.avail_in;return B>b&&(B=b),B===0?0:(u.avail_in-=B,n.arraySet(M,u.input,u.next_in,B,H),u.state.wrap===1?u.adler=a(u.adler,M,B,H):u.state.wrap===2&&(u.adler=l(u.adler,M,B,H)),u.next_in+=B,u.total_in+=B,B)}function ut(u,M){var H=u.max_chain_length,b=u.strstart,B,V,fe=u.prev_length,ae=u.nice_match,ue=u.strstart>u.w_size-ge?u.strstart-(u.w_size-ge):0,we=u.window,Ye=u.w_mask,Be=u.prev,xe=u.strstart+De,Ce=we[b+fe-1],Je=we[b+fe];u.prev_length>=u.good_match&&(H>>=2),ae>u.lookahead&&(ae=u.lookahead);do if(B=M,!(we[B+fe]!==Je||we[B+fe-1]!==Ce||we[B]!==we[b]||we[++B]!==we[b+1])){b+=2,B++;do;while(we[++b]===we[++B]&&we[++b]===we[++B]&&we[++b]===we[++B]&&we[++b]===we[++B]&&we[++b]===we[++B]&&we[++b]===we[++B]&&we[++b]===we[++B]&&we[++b]===we[++B]&&bfe){if(u.match_start=M,fe=V,V>=ae)break;Ce=we[b+fe-1],Je=we[b+fe]}}while((M=Be[M&Ye])>ue&&--H!==0);return fe<=u.lookahead?fe:u.lookahead}function tt(u){var M=u.w_size,H,b,B,V,fe;do{if(V=u.window_size-u.lookahead-u.strstart,u.strstart>=M+(M-ge)){n.arraySet(u.window,u.window,M,M,0),u.match_start-=M,u.strstart-=M,u.block_start-=M,b=u.hash_size,H=b;do B=u.head[--H],u.head[H]=B>=M?B-M:0;while(--b);b=M,H=b;do B=u.prev[--H],u.prev[H]=B>=M?B-M:0;while(--b);V+=M}if(u.strm.avail_in===0)break;if(b=dt(u.strm,u.window,u.strstart+u.lookahead,V),u.lookahead+=b,u.lookahead+u.insert>=de)for(fe=u.strstart-u.insert,u.ins_h=u.window[fe],u.ins_h=(u.ins_h<u.pending_buf_size-5&&(H=u.pending_buf_size-5);;){if(u.lookahead<=1){if(tt(u),u.lookahead===0&&M===p)return Ae;if(u.lookahead===0)break}u.strstart+=u.lookahead,u.lookahead=0;var b=u.block_start+H;if((u.strstart===0||u.strstart>=b)&&(u.lookahead=u.strstart-b,u.strstart=b,_e(u,!1),u.strm.avail_out===0)||u.strstart-u.block_start>=u.w_size-ge&&(_e(u,!1),u.strm.avail_out===0))return Ae}return u.insert=0,M===m?(_e(u,!0),u.strm.avail_out===0?We:Le):(u.strstart>u.block_start&&(_e(u,!1),u.strm.avail_out===0),Ae)}function ht(u,M){for(var H,b;;){if(u.lookahead=de&&(u.ins_h=(u.ins_h<=de)if(b=s._tr_tally(u,u.strstart-u.match_start,u.match_length-de),u.lookahead-=u.match_length,u.match_length<=u.max_lazy_match&&u.lookahead>=de){u.match_length--;do u.strstart++,u.ins_h=(u.ins_h<=de&&(u.ins_h=(u.ins_h<4096)&&(u.match_length=de-1)),u.prev_length>=de&&u.match_length<=u.prev_length){B=u.strstart+u.lookahead-de,b=s._tr_tally(u,u.strstart-1-u.prev_match,u.prev_length-de),u.lookahead-=u.prev_length-1,u.prev_length-=2;do++u.strstart<=B&&(u.ins_h=(u.ins_h<=de&&u.strstart>0&&(B=u.strstart-1,b=fe[B],b===fe[++B]&&b===fe[++B]&&b===fe[++B])){V=u.strstart+De;do;while(b===fe[++B]&&b===fe[++B]&&b===fe[++B]&&b===fe[++B]&&b===fe[++B]&&b===fe[++B]&&b===fe[++B]&&b===fe[++B]&&Bu.lookahead&&(u.match_length=u.lookahead)}if(u.match_length>=de?(H=s._tr_tally(u,1,u.match_length-de),u.lookahead-=u.match_length,u.strstart+=u.match_length,u.match_length=0):(H=s._tr_tally(u,0,u.window[u.strstart]),u.lookahead--,u.strstart++),H&&(_e(u,!1),u.strm.avail_out===0))return Ae}return u.insert=0,M===m?(_e(u,!0),u.strm.avail_out===0?We:Le):u.last_lit&&(_e(u,!1),u.strm.avail_out===0)?Ae:Re}function lt(u,M){for(var H;;){if(u.lookahead===0&&(tt(u),u.lookahead===0)){if(M===p)return Ae;break}if(u.match_length=0,H=s._tr_tally(u,0,u.window[u.strstart]),u.lookahead--,u.strstart++,H&&(_e(u,!1),u.strm.avail_out===0))return Ae}return u.insert=0,M===m?(_e(u,!0),u.strm.avail_out===0?We:Le):u.last_lit&&(_e(u,!1),u.strm.avail_out===0)?Ae:Re}function Ge(u,M,H,b,B){this.good_length=u,this.max_lazy=M,this.nice_length=H,this.max_chain=b,this.func=B}var at;at=[new Ge(0,0,0,0,pt),new Ge(4,4,8,4,ht),new Ge(4,5,16,8,ht),new Ge(4,6,32,32,ht),new Ge(4,4,16,16,st),new Ge(8,16,32,32,st),new Ge(8,16,128,128,st),new Ge(8,32,128,256,st),new Ge(32,128,258,1024,st),new Ge(32,258,258,4096,st)];function yt(u){u.window_size=2*u.w_size,$e(u.head),u.max_lazy_match=at[u.level].max_lazy,u.good_match=at[u.level].good_length,u.nice_match=at[u.level].nice_length,u.max_chain_length=at[u.level].max_chain,u.strstart=0,u.block_start=0,u.lookahead=0,u.insert=0,u.match_length=u.prev_length=de-1,u.match_available=0,u.ins_h=0}function A(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Z,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new n.Buf16(ye*2),this.dyn_dtree=new n.Buf16((2*K+1)*2),this.bl_tree=new n.Buf16((2*oe+1)*2),$e(this.dyn_ltree),$e(this.dyn_dtree),$e(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new n.Buf16(ne+1),this.heap=new n.Buf16(2*Q+1),$e(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new n.Buf16(2*Q+1),$e(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function X(u){var M;return!u||!u.state?Ve(u,v):(u.total_in=u.total_out=0,u.data_type=I,M=u.state,M.pending=0,M.pending_out=0,M.wrap<0&&(M.wrap=-M.wrap),M.status=M.wrap?He:Ee,u.adler=M.wrap===2?0:1,M.last_flush=p,s._tr_init(M),x)}function J(u){var M=X(u);return M===x&&yt(u.state),M}function he(u,M){return!u||!u.state||u.state.wrap!==2?v:(u.state.gzhead=M,x)}function P(u,M,H,b,B,V){if(!u)return v;var fe=1;if(M===O&&(M=6),b<0?(fe=0,b=-b):b>15&&(fe=2,b-=16),B<1||B>j||H!==Z||b<8||b>15||M<0||M>9||V<0||V>R)return Ve(u,v);b===8&&(b=9);var ae=new A;return u.state=ae,ae.strm=u,ae.wrap=fe,ae.gzhead=null,ae.w_bits=b,ae.w_size=1<L||M<0)return u?Ve(u,v):v;if(b=u.state,!u.output||!u.input&&u.avail_in!==0||b.status===ke&&M!==m)return Ve(u,u.avail_out===0?C:v);if(b.strm=u,H=b.last_flush,b.last_flush=M,b.status===He)if(b.wrap===2)u.adler=0,me(b,31),me(b,139),me(b,8),b.gzhead?(me(b,(b.gzhead.text?1:0)+(b.gzhead.hcrc?2:0)+(b.gzhead.extra?4:0)+(b.gzhead.name?8:0)+(b.gzhead.comment?16:0)),me(b,b.gzhead.time&255),me(b,b.gzhead.time>>8&255),me(b,b.gzhead.time>>16&255),me(b,b.gzhead.time>>24&255),me(b,b.level===9?2:b.strategy>=T||b.level<2?4:0),me(b,b.gzhead.os&255),b.gzhead.extra&&b.gzhead.extra.length&&(me(b,b.gzhead.extra.length&255),me(b,b.gzhead.extra.length>>8&255)),b.gzhead.hcrc&&(u.adler=l(u.adler,b.pending_buf,b.pending,0)),b.gzindex=0,b.status=Pe):(me(b,0),me(b,0),me(b,0),me(b,0),me(b,0),me(b,b.level===9?2:b.strategy>=T||b.level<2?4:0),me(b,Ne),b.status=Ee);else{var fe=Z+(b.w_bits-8<<4)<<8,ae=-1;b.strategy>=T||b.level<2?ae=0:b.level<6?ae=1:b.level===6?ae=2:ae=3,fe|=ae<<6,b.strstart!==0&&(fe|=Te),fe+=31-fe%31,b.status=Ee,rt(b,fe),b.strstart!==0&&(rt(b,u.adler>>>16),rt(b,u.adler&65535)),u.adler=1}if(b.status===Pe)if(b.gzhead.extra){for(B=b.pending;b.gzindex<(b.gzhead.extra.length&65535)&&!(b.pending===b.pending_buf_size&&(b.gzhead.hcrc&&b.pending>B&&(u.adler=l(u.adler,b.pending_buf,b.pending-B,B)),be(u),B=b.pending,b.pending===b.pending_buf_size));)me(b,b.gzhead.extra[b.gzindex]&255),b.gzindex++;b.gzhead.hcrc&&b.pending>B&&(u.adler=l(u.adler,b.pending_buf,b.pending-B,B)),b.gzindex===b.gzhead.extra.length&&(b.gzindex=0,b.status=ve)}else b.status=ve;if(b.status===ve)if(b.gzhead.name){B=b.pending;do{if(b.pending===b.pending_buf_size&&(b.gzhead.hcrc&&b.pending>B&&(u.adler=l(u.adler,b.pending_buf,b.pending-B,B)),be(u),B=b.pending,b.pending===b.pending_buf_size)){V=1;break}b.gzindexB&&(u.adler=l(u.adler,b.pending_buf,b.pending-B,B)),V===0&&(b.gzindex=0,b.status=Fe)}else b.status=Fe;if(b.status===Fe)if(b.gzhead.comment){B=b.pending;do{if(b.pending===b.pending_buf_size&&(b.gzhead.hcrc&&b.pending>B&&(u.adler=l(u.adler,b.pending_buf,b.pending-B,B)),be(u),B=b.pending,b.pending===b.pending_buf_size)){V=1;break}b.gzindexB&&(u.adler=l(u.adler,b.pending_buf,b.pending-B,B)),V===0&&(b.status=qe)}else b.status=qe;if(b.status===qe&&(b.gzhead.hcrc?(b.pending+2>b.pending_buf_size&&be(u),b.pending+2<=b.pending_buf_size&&(me(b,u.adler&255),me(b,u.adler>>8&255),u.adler=0,b.status=Ee)):b.status=Ee),b.pending!==0){if(be(u),u.avail_out===0)return b.last_flush=-1,x}else if(u.avail_in===0&&et(M)<=et(H)&&M!==m)return Ve(u,C);if(b.status===ke&&u.avail_in!==0)return Ve(u,C);if(u.avail_in!==0||b.lookahead!==0||M!==p&&b.status!==ke){var ue=b.strategy===T?lt(b,M):b.strategy===N?ft(b,M):at[b.level].func(b,M);if((ue===We||ue===Le)&&(b.status=ke),ue===Ae||ue===We)return u.avail_out===0&&(b.last_flush=-1),x;if(ue===Re&&(M===f?s._tr_align(b):M!==L&&(s._tr_stored_block(b,0,0,!1),M===w&&($e(b.head),b.lookahead===0&&(b.strstart=0,b.block_start=0,b.insert=0))),be(u),u.avail_out===0))return b.last_flush=-1,x}return M!==m?x:b.wrap<=0?h:(b.wrap===2?(me(b,u.adler&255),me(b,u.adler>>8&255),me(b,u.adler>>16&255),me(b,u.adler>>24&255),me(b,u.total_in&255),me(b,u.total_in>>8&255),me(b,u.total_in>>16&255),me(b,u.total_in>>24&255)):(rt(b,u.adler>>>16),rt(b,u.adler&65535)),be(u),b.wrap>0&&(b.wrap=-b.wrap),b.pending!==0?x:h)}function _(u){var M;return!u||!u.state?v:(M=u.state.status,M!==He&&M!==Pe&&M!==ve&&M!==Fe&&M!==qe&&M!==Ee&&M!==ke?Ve(u,v):(u.state=null,M===Ee?Ve(u,g):x))}function z(u,M){var H=M.length,b,B,V,fe,ae,ue,we,Ye;if(!u||!u.state||(b=u.state,fe=b.wrap,fe===2||fe===1&&b.status!==He||b.lookahead))return v;for(fe===1&&(u.adler=a(u.adler,M,H,0)),b.wrap=0,H>=b.w_size&&(fe===0&&($e(b.head),b.strstart=0,b.block_start=0,b.insert=0),Ye=new n.Buf8(b.w_size),n.arraySet(Ye,M,H-b.w_size,b.w_size,0),M=Ye,H=b.w_size),ae=u.avail_in,ue=u.next_in,we=u.input,u.avail_in=H,u.next_in=0,u.input=M,tt(b);b.lookahead>=de;){B=b.strstart,V=b.lookahead-(de-1);do b.ins_h=(b.ins_h<>>24,y>>>=j,T-=j,j=Z>>>16&255,j===0)K[m++]=Z&65535;else if(j&16){G=Z&65535,j&=15,j&&(T>>=j,T-=j),T<15&&(y+=Q[f++]<>>24,y>>>=j,T-=j,j=Z>>>16&255,j&16){if(re=Z&65535,j&=15,Th){l.msg="invalid distance too far back",p.mode=n;break e}if(y>>>=j,T-=j,j=m-L,re>j){if(j=re-j,j>g&&p.sane){l.msg="invalid distance too far back",p.mode=n;break e}if(te=0,ce=O,C===0){if(te+=v-j,j2;)K[m++]=ce[te++],K[m++]=ce[te++],K[m++]=ce[te++],G-=3;G&&(K[m++]=ce[te++],G>1&&(K[m++]=ce[te++]))}else{te=m-re;do K[m++]=K[te++],K[m++]=K[te++],K[m++]=K[te++],G-=3;while(G>2);G&&(K[m++]=K[te++],G>1&&(K[m++]=K[te++]))}}else if((j&64)===0){Z=R[(Z&65535)+(y&(1<>3,f-=G,T-=G<<3,y&=(1<>>24&255)+(P>>>8&65280)+((P&65280)<<8)+((P&255)<<24)}function dt(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ut(P){var c;return!P||!P.state?C:(c=P.state,P.total_in=P.total_out=c.total=0,P.msg="",c.wrap&&(P.adler=c.wrap&1),c.mode=R,c.last=0,c.havedict=0,c.dmax=32768,c.head=null,c.hold=0,c.bits=0,c.lencode=c.lendyn=new n.Buf32($e),c.distcode=c.distdyn=new n.Buf32(be),c.sane=1,c.back=-1,h)}function tt(P){var c;return!P||!P.state?C:(c=P.state,c.wsize=0,c.whave=0,c.wnext=0,ut(P))}function pt(P,c){var o,_;return!P||!P.state||(_=P.state,c<0?(o=0,c=-c):(o=(c>>4)+1,c<48&&(c&=15)),c&&(c<8||c>15))?C:(_.window!==null&&_.wbits!==c&&(_.window=null),_.wrap=o,_.wbits=c,tt(P))}function ht(P,c){var o,_;return P?(_=new dt,P.state=_,_.window=null,o=pt(P,c),o!==h&&(P.state=null),o):C}function st(P){return ht(P,me)}var ft=!0,lt,Ge;function at(P){if(ft){var c;for(lt=new n.Buf32(512),Ge=new n.Buf32(32),c=0;c<144;)P.lens[c++]=8;for(;c<256;)P.lens[c++]=9;for(;c<280;)P.lens[c++]=7;for(;c<288;)P.lens[c++]=8;for(d(f,P.lens,0,288,lt,0,P.work,{bits:9}),c=0;c<32;)P.lens[c++]=5;d(w,P.lens,0,32,Ge,0,P.work,{bits:5}),ft=!1}P.lencode=lt,P.lenbits=9,P.distcode=Ge,P.distbits=5}function yt(P,c,o,_){var z,u=P.state;return u.window===null&&(u.wsize=1<=u.wsize?(n.arraySet(u.window,c,o-u.wsize,u.wsize,0),u.wnext=0,u.whave=u.wsize):(z=u.wsize-u.wnext,z>_&&(z=_),n.arraySet(u.window,c,o-_,z,u.wnext),_-=z,_?(n.arraySet(u.window,c,o-_,_,0),u.wnext=_,u.whave=u.wsize):(u.wnext+=z,u.wnext===u.wsize&&(u.wnext=0),u.whave>>8&255,o.check=a(o.check,nt,2,0),B=0,V=0,o.mode=k;break}if(o.flags=0,o.head&&(o.head.done=!1),!(o.wrap&1)||(((B&255)<<8)+(B>>8))%31){P.msg="incorrect header check",o.mode=Ne;break}if((B&15)!==N){P.msg="unknown compression method",o.mode=Ne;break}if(B>>>=4,V-=4,Xe=(B&15)+8,o.wbits===0)o.wbits=Xe;else if(Xe>o.wbits){P.msg="invalid window size",o.mode=Ne;break}o.dmax=1<>8&1),o.flags&512&&(nt[0]=B&255,nt[1]=B>>>8&255,o.check=a(o.check,nt,2,0)),B=0,V=0,o.mode=I;case I:for(;V<32;){if(H===0)break e;H--,B+=_[u++]<>>8&255,nt[2]=B>>>16&255,nt[3]=B>>>24&255,o.check=a(o.check,nt,4,0)),B=0,V=0,o.mode=Z;case Z:for(;V<16;){if(H===0)break e;H--,B+=_[u++]<>8),o.flags&512&&(nt[0]=B&255,nt[1]=B>>>8&255,o.check=a(o.check,nt,2,0)),B=0,V=0,o.mode=j;case j:if(o.flags&1024){for(;V<16;){if(H===0)break e;H--,B+=_[u++]<>>8&255,o.check=a(o.check,nt,2,0)),B=0,V=0}else o.head&&(o.head.extra=null);o.mode=G;case G:if(o.flags&1024&&(ue=o.length,ue>H&&(ue=H),ue&&(o.head&&(Xe=o.head.extra_len-o.length,o.head.extra||(o.head.extra=new Array(o.head.extra_len)),n.arraySet(o.head.extra,_,u,ue,Xe)),o.flags&512&&(o.check=a(o.check,_,ue,u)),H-=ue,u+=ue,o.length-=ue),o.length))break e;o.length=0,o.mode=re;case re:if(o.flags&2048){if(H===0)break e;ue=0;do Xe=_[u+ue++],o.head&&Xe&&o.length<65536&&(o.head.name+=String.fromCharCode(Xe));while(Xe&&ue>9&1,o.head.done=!0),P.adler=o.check=0,o.mode=oe;break;case Q:for(;V<32;){if(H===0)break e;H--,B+=_[u++]<>>=V&7,V-=V&7,o.mode=Re;break}for(;V<3;){if(H===0)break e;H--,B+=_[u++]<>>=1,V-=1,B&3){case 0:o.mode=ne;break;case 1:if(at(o),o.mode=Pe,c===x){B>>>=2,V-=2;break e}break;case 2:o.mode=ge;break;case 3:P.msg="invalid block type",o.mode=Ne}B>>>=2,V-=2;break;case ne:for(B>>>=V&7,V-=V&7;V<32;){if(H===0)break e;H--,B+=_[u++]<>>16^65535)){P.msg="invalid stored block lengths",o.mode=Ne;break}if(o.length=B&65535,B=0,V=0,o.mode=de,c===x)break e;case de:o.mode=De;case De:if(ue=o.length,ue){if(ue>H&&(ue=H),ue>b&&(ue=b),ue===0)break e;n.arraySet(z,_,u,ue,M),H-=ue,u+=ue,b-=ue,M+=ue,o.length-=ue;break}o.mode=oe;break;case ge:for(;V<14;){if(H===0)break e;H--,B+=_[u++]<>>=5,V-=5,o.ndist=(B&31)+1,B>>>=5,V-=5,o.ncode=(B&15)+4,B>>>=4,V-=4,o.nlen>286||o.ndist>30){P.msg="too many length or distance symbols",o.mode=Ne;break}o.have=0,o.mode=Te;case Te:for(;o.have>>=3,V-=3}for(;o.have<19;)o.lens[ai[o.have++]]=0;if(o.lencode=o.lendyn,o.lenbits=7,bt={bits:o.lenbits},ct=d(p,o.lens,0,19,o.lencode,0,o.work,bt),o.lenbits=bt.bits,ct){P.msg="invalid code lengths set",o.mode=Ne;break}o.have=0,o.mode=He;case He:for(;o.have>>24,Ce=Be>>>16&255,Je=Be&65535,!(xe<=V);){if(H===0)break e;H--,B+=_[u++]<>>=xe,V-=xe,o.lens[o.have++]=Je;else{if(Je===16){for(vt=xe+2;V>>=xe,V-=xe,o.have===0){P.msg="invalid bit length repeat",o.mode=Ne;break}Xe=o.lens[o.have-1],ue=3+(B&3),B>>>=2,V-=2}else if(Je===17){for(vt=xe+3;V>>=xe,V-=xe,Xe=0,ue=3+(B&7),B>>>=3,V-=3}else{for(vt=xe+7;V>>=xe,V-=xe,Xe=0,ue=11+(B&127),B>>>=7,V-=7}if(o.have+ue>o.nlen+o.ndist){P.msg="invalid bit length repeat",o.mode=Ne;break}for(;ue--;)o.lens[o.have++]=Xe}}if(o.mode===Ne)break;if(o.lens[256]===0){P.msg="invalid code -- missing end-of-block",o.mode=Ne;break}if(o.lenbits=9,bt={bits:o.lenbits},ct=d(f,o.lens,0,o.nlen,o.lencode,0,o.work,bt),o.lenbits=bt.bits,ct){P.msg="invalid literal/lengths set",o.mode=Ne;break}if(o.distbits=6,o.distcode=o.distdyn,bt={bits:o.distbits},ct=d(w,o.lens,o.nlen,o.ndist,o.distcode,0,o.work,bt),o.distbits=bt.bits,ct){P.msg="invalid distances set",o.mode=Ne;break}if(o.mode=Pe,c===x)break e;case Pe:o.mode=ve;case ve:if(H>=6&&b>=258){P.next_out=M,P.avail_out=b,P.next_in=u,P.avail_in=H,o.hold=B,o.bits=V,l(P,ae),M=P.next_out,z=P.output,b=P.avail_out,u=P.next_in,_=P.input,H=P.avail_in,B=o.hold,V=o.bits,o.mode===oe&&(o.back=-1);break}for(o.back=0;Be=o.lencode[B&(1<>>24,Ce=Be>>>16&255,Je=Be&65535,!(xe<=V);){if(H===0)break e;H--,B+=_[u++]<>Ze)],xe=Be>>>24,Ce=Be>>>16&255,Je=Be&65535,!(Ze+xe<=V);){if(H===0)break e;H--,B+=_[u++]<>>=Ze,V-=Ze,o.back+=Ze}if(B>>>=xe,V-=xe,o.back+=xe,o.length=Je,Ce===0){o.mode=Ae;break}if(Ce&32){o.back=-1,o.mode=oe;break}if(Ce&64){P.msg="invalid literal/length code",o.mode=Ne;break}o.extra=Ce&15,o.mode=Fe;case Fe:if(o.extra){for(vt=o.extra;V>>=o.extra,V-=o.extra,o.back+=o.extra}o.was=o.length,o.mode=qe;case qe:for(;Be=o.distcode[B&(1<>>24,Ce=Be>>>16&255,Je=Be&65535,!(xe<=V);){if(H===0)break e;H--,B+=_[u++]<>Ze)],xe=Be>>>24,Ce=Be>>>16&255,Je=Be&65535,!(Ze+xe<=V);){if(H===0)break e;H--,B+=_[u++]<>>=Ze,V-=Ze,o.back+=Ze}if(B>>>=xe,V-=xe,o.back+=xe,Ce&64){P.msg="invalid distance code",o.mode=Ne;break}o.offset=Je,o.extra=Ce&15,o.mode=Ee;case Ee:if(o.extra){for(vt=o.extra;V>>=o.extra,V-=o.extra,o.back+=o.extra}if(o.offset>o.dmax){P.msg="invalid distance too far back",o.mode=Ne;break}o.mode=ke;case ke:if(b===0)break e;if(ue=ae-b,o.offset>ue){if(ue=o.offset-ue,ue>o.whave&&o.sane){P.msg="invalid distance too far back",o.mode=Ne;break}ue>o.wnext?(ue-=o.wnext,we=o.wsize-ue):we=o.wnext-ue,ue>o.length&&(ue=o.length),Ye=o.window}else Ye=z,we=M-o.offset,ue=o.length;ue>b&&(ue=b),b-=ue,o.length-=ue;do z[M++]=Ye[we++];while(--ue);o.length===0&&(o.mode=ve);break;case Ae:if(b===0)break e;z[M++]=o.length,b--,o.mode=ve;break;case Re:if(o.wrap){for(;V<32;){if(H===0)break e;H--,B|=_[u++]<=1&&ve[G]===0;G--);if(re>G&&(re=G),G===0)return y[T++]=1<<24|64<<16|0,y[T++]=1<<24|64<<16|0,R.bits=1,0;for(j=1;j0&&(v===d||G!==1))return-1;for(Fe[1]=0,I=1;Ia||v===f&&K>l)return 1;for(;;){ke=I-ce,N[Z]Pe?(Ae=qe[Ee+N[Z]],Re=Te[He+N[Z]]):(Ae=96,Re=0),ye=1<>ce)+ne]=ke<<24|Ae<<16|Re|0;while(ne!==0);for(ye=1<>=1;if(ye!==0?(oe&=ye-1,oe+=ye):oe=0,Z++,--ve[I]===0){if(I===G)break;I=g[C+N[Z]]}if(I>re&&(oe&De)!==de){for(ce===0&&(ce=re),ge+=j,te=I-ce,Q=1<a||v===f&&K>l)return 1;de=oe&De,y[de]=re<<24|te<<16|ge-T|0}}return oe!==0&&(y[ge+oe]=I-ce<<24|64<<16|0),R.bits=re,0}},{"../utils/common":41}],51:[function(t,i,r){i.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,i,r){var n=t("../utils/common"),s=4,a=0,l=1,d=2;function p(A){for(var X=A.length;--X>=0;)A[X]=0}var f=0,w=1,m=2,L=3,x=258,h=29,v=256,g=v+1+h,C=30,O=19,y=2*g+1,T=15,N=16,R=7,k=256,I=16,Z=17,j=18,G=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],re=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],te=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ce=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Q=512,K=new Array((g+2)*2);p(K);var oe=new Array(C*2);p(oe);var ye=new Array(Q);p(ye);var ne=new Array(x-L+1);p(ne);var de=new Array(h);p(de);var De=new Array(C);p(De);function ge(A,X,J,he,P){this.static_tree=A,this.extra_bits=X,this.extra_base=J,this.elems=he,this.max_length=P,this.has_stree=A&&A.length}var Te,He,Pe;function ve(A,X){this.dyn_tree=A,this.max_code=0,this.stat_desc=X}function Fe(A){return A<256?ye[A]:ye[256+(A>>>7)]}function qe(A,X){A.pending_buf[A.pending++]=X&255,A.pending_buf[A.pending++]=X>>>8&255}function Ee(A,X,J){A.bi_valid>N-J?(A.bi_buf|=X<>N-A.bi_valid,A.bi_valid+=J-N):(A.bi_buf|=X<>>=1,J<<=1;while(--X>0);return J>>>1}function Re(A){A.bi_valid===16?(qe(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):A.bi_valid>=8&&(A.pending_buf[A.pending++]=A.bi_buf&255,A.bi_buf>>=8,A.bi_valid-=8)}function We(A,X){var J=X.dyn_tree,he=X.max_code,P=X.stat_desc.static_tree,c=X.stat_desc.has_stree,o=X.stat_desc.extra_bits,_=X.stat_desc.extra_base,z=X.stat_desc.max_length,u,M,H,b,B,V,fe=0;for(b=0;b<=T;b++)A.bl_count[b]=0;for(J[A.heap[A.heap_max]*2+1]=0,u=A.heap_max+1;uz&&(b=z,fe++),J[M*2+1]=b,!(M>he)&&(A.bl_count[b]++,B=0,M>=_&&(B=o[M-_]),V=J[M*2],A.opt_len+=V*(b+B),c&&(A.static_len+=V*(P[M*2+1]+B)));if(fe!==0){do{for(b=z-1;A.bl_count[b]===0;)b--;A.bl_count[b]--,A.bl_count[b+1]+=2,A.bl_count[z]--,fe-=2}while(fe>0);for(b=z;b!==0;b--)for(M=A.bl_count[b];M!==0;)H=A.heap[--u],!(H>he)&&(J[H*2+1]!==b&&(A.opt_len+=(b-J[H*2+1])*J[H*2],J[H*2+1]=b),M--)}}function Le(A,X,J){var he=new Array(T+1),P=0,c,o;for(c=1;c<=T;c++)he[c]=P=P+J[c-1]<<1;for(o=0;o<=X;o++){var _=A[o*2+1];_!==0&&(A[o*2]=Ae(he[_]++,_))}}function Ne(){var A,X,J,he,P,c=new Array(T+1);for(J=0,he=0;he>=7;he8?qe(A,A.bi_buf):A.bi_valid>0&&(A.pending_buf[A.pending++]=A.bi_buf),A.bi_buf=0,A.bi_valid=0}function $e(A,X,J,he){et(A),qe(A,J),qe(A,~J),n.arraySet(A.pending_buf,A.window,X,J,A.pending),A.pending+=J}function be(A,X,J,he){var P=X*2,c=J*2;return A[P]>1;o>=1;o--)_e(A,J,o);u=c;do o=A.heap[1],A.heap[1]=A.heap[A.heap_len--],_e(A,J,1),_=A.heap[1],A.heap[--A.heap_max]=o,A.heap[--A.heap_max]=_,J[u*2]=J[o*2]+J[_*2],A.depth[u]=(A.depth[o]>=A.depth[_]?A.depth[o]:A.depth[_])+1,J[o*2+1]=J[_*2+1]=u,A.heap[1]=u++,_e(A,J,1);while(A.heap_len>=2);A.heap[--A.heap_max]=A.heap[1],We(A,X),Le(J,z,A.bl_count)}function dt(A,X,J){var he,P=-1,c,o=X[1],_=0,z=7,u=4;for(o===0&&(z=138,u=3),X[(J+1)*2+1]=65535,he=0;he<=J;he++)c=o,o=X[(he+1)*2+1],!(++_=3&&A.bl_tree[ce[X]*2+1]===0;X--);return A.opt_len+=3*(X+1)+5+5+4,X}function pt(A,X,J,he){var P;for(Ee(A,X-257,5),Ee(A,J-1,5),Ee(A,he-4,4),P=0;P>>=1)if(X&1&&A.dyn_ltree[J*2]!==0)return a;if(A.dyn_ltree[18]!==0||A.dyn_ltree[20]!==0||A.dyn_ltree[26]!==0)return l;for(J=32;J0?(A.strm.data_type===d&&(A.strm.data_type=ht(A)),rt(A,A.l_desc),rt(A,A.d_desc),o=tt(A),P=A.opt_len+3+7>>>3,c=A.static_len+3+7>>>3,c<=P&&(P=c)):P=c=J+5,J+4<=P&&X!==-1?lt(A,X,J,he):A.strategy===s||c===P?(Ee(A,(w<<1)+(he?1:0),3),me(A,K,oe)):(Ee(A,(m<<1)+(he?1:0),3),pt(A,A.l_desc.max_code+1,A.d_desc.max_code+1,o+1),me(A,A.dyn_ltree,A.dyn_dtree)),Ve(A),he&&et(A)}function yt(A,X,J){return A.pending_buf[A.d_buf+A.last_lit*2]=X>>>8&255,A.pending_buf[A.d_buf+A.last_lit*2+1]=X&255,A.pending_buf[A.l_buf+A.last_lit]=J&255,A.last_lit++,X===0?A.dyn_ltree[J*2]++:(A.matches++,X--,A.dyn_ltree[(ne[J]+v+1)*2]++,A.dyn_dtree[Fe(X)*2]++),A.last_lit===A.lit_bufsize-1}r._tr_init=ft,r._tr_stored_block=lt,r._tr_flush_block=at,r._tr_tally=yt,r._tr_align=Ge},{"../utils/common":41}],53:[function(t,i,r){function n(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}i.exports=n},{}],54:[function(t,i,r){(function(n){(function(s,a){if(s.setImmediate)return;var l=1,d={},p=!1,f=s.document,w;function m(R){typeof R!="function"&&(R=new Function(""+R));for(var k=new Array(arguments.length-1),I=0;I"u"?typeof n>"u"?this:n:self)}).call(this,typeof Bt<"u"?Bt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(rr)),rr.exports}var la=ua();const ha=si(la);class fa{constructor(){this.zip=void 0,this.urlCache={},this.checkRequirements()}checkRequirements(){try{this.zip=new ha}catch{throw new Error("JSZip lib not loaded")}}open(e,t){return this.zip.loadAsync(e,{base64:t})}openUrl(e,t){return ni(e,"binary").then(function(i){return this.zip.loadAsync(i,{base64:t})}.bind(this))}request(e,t){var i=new Ie,r,n=new It(e);return t||(t=n.extension),t=="blob"?r=this.getBlob(e):r=this.getText(e),r?r.then(function(s){let a=this.handleResponse(s,t);i.resolve(a)}.bind(this)):i.reject({message:"File not found in the epub: "+e,stack:new Error().stack}),i.promise}handleResponse(e,t){var i;return t=="json"?i=JSON.parse(e):ri(t)?i=St(e,"text/xml"):t=="xhtml"?i=St(e,"application/xhtml+xml"):t=="html"||t=="htm"?i=St(e,"text/html"):i=e,i}getBlob(e,t){var i=window.decodeURIComponent(e.substr(1)),r=this.zip.file(i);if(r)return t=t||Kt.lookup(r.name),r.async("uint8array").then(function(n){return new Blob([n],{type:t})})}getText(e,t){var i=window.decodeURIComponent(e.substr(1)),r=this.zip.file(i);if(r)return r.async("string").then(function(n){return n})}getBase64(e,t){var i=window.decodeURIComponent(e.substr(1)),r=this.zip.file(i);if(r)return t=t||Kt.lookup(r.name),r.async("base64").then(function(n){return"data:"+t+";base64,"+n})}createUrl(e,t){var i=new Ie,r=window.URL||window.webkitURL||window.mozURL,n,s,a=t&&t.base64;return e in this.urlCache?(i.resolve(this.urlCache[e]),i.promise):(a?(s=this.getBase64(e),s&&s.then(function(l){this.urlCache[e]=l,i.resolve(l)}.bind(this))):(s=this.getBlob(e),s&&s.then(function(l){n=r.createObjectURL(l),this.urlCache[e]=n,i.resolve(n)}.bind(this))),s||i.reject({message:"File not found in the epub: "+e,stack:new Error().stack}),i.promise)}revokeUrl(e){var t=window.URL||window.webkitURL||window.mozURL,i=this.urlCache[e];i&&t.revokeObjectURL(i)}destroy(){var e=window.URL||window.webkitURL||window.mozURL;for(let t in this.urlCache)e.revokeObjectURL(t);this.zip=void 0,this.urlCache={}}}var nr={exports:{}};var fn;function ca(){return fn||(fn=1,(function(D,e){(function(t){D.exports=t()})(function(){return(function t(i,r,n){function s(d,p){if(!r[d]){if(!i[d]){var f=typeof Pt=="function"&&Pt;if(!p&&f)return f(d,!0);if(a)return a(d,!0);var w=new Error("Cannot find module '"+d+"'");throw w.code="MODULE_NOT_FOUND",w}var m=r[d]={exports:{}};i[d][0].call(m.exports,function(L){var x=i[d][1][L];return s(x||L)},m,m.exports,t,i,r,n)}return r[d].exports}for(var a=typeof Pt=="function"&&Pt,l=0;l"u"&&t(3);var f=Promise;function w(E,F){F&&E.then(function(S){F(null,S)},function(S){F(S)})}function m(E,F,S){typeof F=="function"&&E.then(F),typeof S=="function"&&E.catch(S)}function L(E){return typeof E!="string"&&(console.warn(E+" used as a key, but it is not a string."),E=String(E)),E}function x(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var h="local-forage-detect-blob-support",v=void 0,g={},C=Object.prototype.toString,O="readonly",y="readwrite";function T(E){for(var F=E.length,S=new ArrayBuffer(F),q=new Uint8Array(S),W=0;W=43)}}).catch(function(){return!1})}function R(E){return typeof v=="boolean"?f.resolve(v):N(E).then(function(F){return v=F,v})}function k(E){var F=g[E.name],S={};S.promise=new f(function(q,W){S.resolve=q,S.reject=W}),F.deferredOperations.push(S),F.dbReady?F.dbReady=F.dbReady.then(function(){return S.promise}):F.dbReady=S.promise}function I(E){var F=g[E.name],S=F.deferredOperations.pop();if(S)return S.resolve(),S.promise}function Z(E,F){var S=g[E.name],q=S.deferredOperations.pop();if(q)return q.reject(F),q.promise}function j(E,F){return new f(function(S,q){if(g[E.name]=g[E.name]||de(),E.db)if(F)k(E),E.db.close();else return S(E.db);var W=[E.name];F&&W.push(E.version);var U=l.open.apply(l,W);F&&(U.onupgradeneeded=function(Y){var $=U.result;try{$.createObjectStore(E.storeName),Y.oldVersion<=1&&$.createObjectStore(h)}catch(ee){if(ee.name==="ConstraintError")console.warn('The database "'+E.name+'" has been upgraded from version '+Y.oldVersion+" to version "+Y.newVersion+', but the storage "'+E.storeName+'" already exists.');else throw ee}}),U.onerror=function(Y){Y.preventDefault(),q(U.error)},U.onsuccess=function(){var Y=U.result;Y.onversionchange=function($){$.target.close()},S(Y),I(E)}})}function G(E){return j(E,!1)}function re(E){return j(E,!0)}function te(E,F){if(!E.db)return!0;var S=!E.db.objectStoreNames.contains(E.storeName),q=E.versionE.db.version;if(q&&(E.version!==F&&console.warn('The database "'+E.name+`" can't be downgraded from version `+E.db.version+" to version "+E.version+"."),E.version=E.db.version),W||S){if(S){var U=E.db.version+1;U>E.version&&(E.version=U)}return!0}return!1}function ce(E){return new f(function(F,S){var q=new FileReader;q.onerror=S,q.onloadend=function(W){var U=btoa(W.target.result||"");F({__local_forage_encoded_blob:!0,data:U,type:E.type})},q.readAsBinaryString(E)})}function Q(E){var F=T(atob(E.data));return p([F],{type:E.type})}function K(E){return E&&E.__local_forage_encoded_blob}function oe(E){var F=this,S=F._initReady().then(function(){var q=g[F._dbInfo.name];if(q&&q.dbReady)return q.dbReady});return m(S,E,E),S}function ye(E){k(E);for(var F=g[E.name],S=F.forages,q=0;q0&&(!E.db||U.name==="InvalidStateError"||U.name==="NotFoundError"))return f.resolve().then(function(){if(!E.db||U.name==="NotFoundError"&&!E.db.objectStoreNames.contains(E.storeName)&&E.version<=E.db.version)return E.db&&(E.version=E.db.version+1),re(E)}).then(function(){return ye(E).then(function(){ne(E,F,S,q-1)})}).catch(S);S(U)}}function de(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function De(E){var F=this,S={db:null};if(E)for(var q in E)S[q]=E[q];var W=g[S.name];W||(W=de(),g[S.name]=W),W.forages.push(F),F._initReady||(F._initReady=F.ready,F.ready=oe);var U=[];function Y(){return f.resolve()}for(var $=0;$>4,se[W++]=(Y&15)<<4|$>>2,se[W++]=($&3)<<6|ee&63;return ie}function at(E){var F=new Uint8Array(E),S="",q;for(q=0;q>2],S+=We[(F[q]&3)<<4|F[q+1]>>4],S+=We[(F[q+1]&15)<<2|F[q+2]>>6],S+=We[F[q+2]&63];return F.length%3===2?S=S.substring(0,S.length-1)+"=":F.length%3===1&&(S=S.substring(0,S.length-2)+"=="),S}function yt(E,F){var S="";if(E&&(S=lt.call(E)),E&&(S==="[object ArrayBuffer]"||E.buffer&<.call(E.buffer)==="[object ArrayBuffer]")){var q,W=Ve;E instanceof ArrayBuffer?(q=E,W+=$e):(q=E.buffer,S==="[object Int8Array]"?W+=_e:S==="[object Uint8Array]"?W+=me:S==="[object Uint8ClampedArray]"?W+=rt:S==="[object Int16Array]"?W+=dt:S==="[object Uint16Array]"?W+=tt:S==="[object Int32Array]"?W+=ut:S==="[object Uint32Array]"?W+=pt:S==="[object Float32Array]"?W+=ht:S==="[object Float64Array]"?W+=st:F(new Error("Failed to get type for BinaryArray"))),F(W+at(q))}else if(S==="[object Blob]"){var U=new FileReader;U.onload=function(){var Y=Le+E.type+"~"+at(this.result);F(Ve+be+Y)},U.readAsArrayBuffer(E)}else try{F(JSON.stringify(E))}catch(Y){console.error("Couldn't convert value into a JSON string: ",E),F(null,Y)}}function A(E){if(E.substring(0,et)!==Ve)return JSON.parse(E);var F=E.substring(ft),S=E.substring(et,ft),q;if(S===be&&Ne.test(F)){var W=F.match(Ne);q=W[1],F=F.substring(W[0].length)}var U=Ge(F);switch(S){case $e:return U;case be:return p([U],{type:q});case _e:return new Int8Array(U);case me:return new Uint8Array(U);case rt:return new Uint8ClampedArray(U);case dt:return new Int16Array(U);case tt:return new Uint16Array(U);case ut:return new Int32Array(U);case pt:return new Uint32Array(U);case ht:return new Float32Array(U);case st:return new Float64Array(U);default:throw new Error("Unkown type: "+S)}}var X={serialize:yt,deserialize:A,stringToBuffer:Ge,bufferToString:at};function J(E,F,S,q){E.executeSql("CREATE TABLE IF NOT EXISTS "+F.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],S,q)}function he(E){var F=this,S={db:null};if(E)for(var q in E)S[q]=typeof E[q]!="string"?E[q].toString():E[q];var W=new f(function(U,Y){try{S.db=openDatabase(S.name,String(S.version),S.description,S.size)}catch($){return Y($)}S.db.transaction(function($){J($,S,function(){F._dbInfo=S,U()},function(ee,ie){Y(ie)})},Y)});return S.serializer=X,W}function P(E,F,S,q,W,U){E.executeSql(S,q,W,function(Y,$){$.code===$.SYNTAX_ERR?Y.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[F.storeName],function(ee,ie){ie.rows.length?U(ee,$):J(ee,F,function(){ee.executeSql(S,q,W,U)},U)},U):U(Y,$)},U)}function c(E,F){var S=this;E=L(E);var q=new f(function(W,U){S.ready().then(function(){var Y=S._dbInfo;Y.db.transaction(function($){P($,Y,"SELECT * FROM "+Y.storeName+" WHERE key = ? LIMIT 1",[E],function(ee,ie){var se=ie.rows.length?ie.rows.item(0).value:null;se&&(se=Y.serializer.deserialize(se)),W(se)},function(ee,ie){U(ie)})})}).catch(U)});return w(q,F),q}function o(E,F){var S=this,q=new f(function(W,U){S.ready().then(function(){var Y=S._dbInfo;Y.db.transaction(function($){P($,Y,"SELECT * FROM "+Y.storeName,[],function(ee,ie){for(var se=ie.rows,pe=se.length,Se=0;Se0){Y(_.apply(W,[E,ee,S,q-1]));return}$(Se)}})})}).catch($)});return w(U,S),U}function z(E,F,S){return _.apply(this,[E,F,S,1])}function u(E,F){var S=this;E=L(E);var q=new f(function(W,U){S.ready().then(function(){var Y=S._dbInfo;Y.db.transaction(function($){P($,Y,"DELETE FROM "+Y.storeName+" WHERE key = ?",[E],function(){W()},function(ee,ie){U(ie)})})}).catch(U)});return w(q,F),q}function M(E){var F=this,S=new f(function(q,W){F.ready().then(function(){var U=F._dbInfo;U.db.transaction(function(Y){P(Y,U,"DELETE FROM "+U.storeName,[],function(){q()},function($,ee){W(ee)})})}).catch(W)});return w(S,E),S}function H(E){var F=this,S=new f(function(q,W){F.ready().then(function(){var U=F._dbInfo;U.db.transaction(function(Y){P(Y,U,"SELECT COUNT(key) as c FROM "+U.storeName,[],function($,ee){var ie=ee.rows.item(0).c;q(ie)},function($,ee){W(ee)})})}).catch(W)});return w(S,E),S}function b(E,F){var S=this,q=new f(function(W,U){S.ready().then(function(){var Y=S._dbInfo;Y.db.transaction(function($){P($,Y,"SELECT key FROM "+Y.storeName+" WHERE id = ? LIMIT 1",[E+1],function(ee,ie){var se=ie.rows.length?ie.rows.item(0).key:null;W(se)},function(ee,ie){U(ie)})})}).catch(U)});return w(q,F),q}function B(E){var F=this,S=new f(function(q,W){F.ready().then(function(){var U=F._dbInfo;U.db.transaction(function(Y){P(Y,U,"SELECT key FROM "+U.storeName,[],function($,ee){for(var ie=[],se=0;se '__WebKitDatabaseInfoTable__'",[],function(W,U){for(var Y=[],$=0;$0}function xe(E){var F=this,S={};if(E)for(var q in E)S[q]=E[q];return S.keyPrefix=we(E,F._defaultConfig),Be()?(F._dbInfo=S,S.serializer=X,f.resolve()):f.reject()}function Ce(E){var F=this,S=F.ready().then(function(){for(var q=F._dbInfo.keyPrefix,W=localStorage.length-1;W>=0;W--){var U=localStorage.key(W);U.indexOf(q)===0&&localStorage.removeItem(U)}});return w(S,E),S}function Je(E,F){var S=this;E=L(E);var q=S.ready().then(function(){var W=S._dbInfo,U=localStorage.getItem(W.keyPrefix+E);return U&&(U=W.serializer.deserialize(U)),U});return w(q,F),q}function Ze(E,F){var S=this,q=S.ready().then(function(){for(var W=S._dbInfo,U=W.keyPrefix,Y=U.length,$=localStorage.length,ee=1,ie=0;ie<$;ie++){var se=localStorage.key(ie);if(se.indexOf(U)===0){var pe=localStorage.getItem(se);if(pe&&(pe=W.serializer.deserialize(pe)),pe=E(pe,se.substring(Y),ee++),pe!==void 0)return pe}}});return w(q,F),q}function kt(E,F){var S=this,q=S.ready().then(function(){var W=S._dbInfo,U;try{U=localStorage.key(E)}catch{U=null}return U&&(U=U.substring(W.keyPrefix.length)),U});return w(q,F),q}function Ut(E){var F=this,S=F.ready().then(function(){for(var q=F._dbInfo,W=localStorage.length,U=[],Y=0;Y=0;Y--){var $=localStorage.key(Y);$.indexOf(U)===0&&localStorage.removeItem($)}}):W=f.reject("Invalid arguments"),w(W,F),W}var vt={_driver:"localStorageWrapper",_initStorage:xe,_support:ue(),iterate:Ze,getItem:Je,setItem:nt,removeItem:ct,clear:Ce,length:Xe,key:kt,keys:Ut,dropInstance:bt},ai=function(F,S){return F===S||typeof F=="number"&&typeof S=="number"&&isNaN(F)&&isNaN(S)},Pn=function(F,S){for(var q=F.length,W=0;W"u"?"undefined":n(S))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var q in S){if(q==="storeName"&&(S[q]=S[q].replace(/\W/g,"_")),q==="version"&&typeof S[q]!="number")return new Error("Database version must be a number.");this._config[q]=S[q]}return"driver"in S&&S.driver?this.setDriver(this._config.driver):!0}else return typeof S=="string"?this._config[S]:this._config},E.prototype.defineDriver=function(S,q,W){var U=new f(function(Y,$){try{var ee=S._driver,ie=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!S._driver){$(ie);return}for(var se=Si.concat("_initStorage"),pe=0,Se=se.length;pe"u"&&(e=cn),this.storage=e.createInstance({name:this.name})}catch{throw new Error("localForage lib not loaded")}}addListeners(){this._status=this.status.bind(this),window.addEventListener("online",this._status),window.addEventListener("offline",this._status)}removeListeners(){window.removeEventListener("online",this._status),window.removeEventListener("offline",this._status),this._status=void 0}status(e){let t=navigator.onLine;this.online=t,t?this.emit("online",this):this.emit("offline",this)}add(e,t){let i=e.resources.map(r=>{let{href:n}=r,s=this.resolver(n),a=window.encodeURIComponent(s);return this.storage.getItem(a).then(l=>!l||t?this.requester(s,"binary").then(d=>this.storage.setItem(a,d)):l)});return Promise.all(i)}put(e,t,i){let r=window.encodeURIComponent(e);return this.storage.getItem(r).then(n=>n||this.requester(e,"binary",t,i).then(s=>this.storage.setItem(r,s)))}request(e,t,i,r){return this.online?this.requester(e,t,i,r).then(n=>(this.put(e),n)):this.retrieve(e,t)}retrieve(e,t){new Ie;var i,r=new It(e);return t||(t=r.extension),t=="blob"?i=this.getBlob(e):i=this.getText(e),i.then(n=>{var s=new Ie,a;return n?(a=this.handleResponse(n,t),s.resolve(a)):s.reject({message:"File not found in storage: "+e,stack:new Error().stack}),s.promise})}handleResponse(e,t){var i;return t=="json"?i=JSON.parse(e):ri(t)?i=St(e,"text/xml"):t=="xhtml"?i=St(e,"application/xhtml+xml"):t=="html"||t=="htm"?i=St(e,"text/html"):i=e,i}getBlob(e,t){let i=window.encodeURIComponent(e);return this.storage.getItem(i).then(function(r){if(r)return t=t||Kt.lookup(e),new Blob([r],{type:t})})}getText(e,t){let i=window.encodeURIComponent(e);return t=t||Kt.lookup(e),this.storage.getItem(i).then(function(r){var n=new Ie,s=new FileReader,a;if(r)return a=new Blob([r],{type:t}),s.addEventListener("loadend",()=>{n.resolve(s.result)}),s.readAsText(a,t),n.promise})}getBase64(e,t){let i=window.encodeURIComponent(e);return t=t||Kt.lookup(e),this.storage.getItem(i).then(r=>{var n=new Ie,s=new FileReader,a;if(r)return a=new Blob([r],{type:t}),s.addEventListener("loadend",()=>{n.resolve(s.result)}),s.readAsDataURL(a,t),n.promise})}createUrl(e,t){var i=new Ie,r=window.URL||window.webkitURL||window.mozURL,n,s,a=t&&t.base64;return e in this.urlCache?(i.resolve(this.urlCache[e]),i.promise):(a?(s=this.getBase64(e),s&&s.then(function(l){this.urlCache[e]=l,i.resolve(l)}.bind(this))):(s=this.getBlob(e),s&&s.then(function(l){n=r.createObjectURL(l),this.urlCache[e]=n,i.resolve(n)}.bind(this))),s||i.reject({message:"File not found in storage: "+e,stack:new Error().stack}),i.promise)}revokeUrl(e){var t=window.URL||window.webkitURL||window.mozURL,i=this.urlCache[e];i&&t.revokeObjectURL(i)}destroy(){var e=window.URL||window.webkitURL||window.mozURL;for(let t in this.urlCache)e.revokeObjectURL(t);this.urlCache={},this.removeListeners()}}Tt(Fn.prototype);class sr{constructor(e){this.interactive="",this.fixedLayout="",this.openToSpread="",this.orientationLock="",e&&this.parse(e)}parse(e){if(!e)return this;const t=je(e,"display_options");return t?(Rt(t,"option").forEach(r=>{let n="";switch(r.childNodes.length&&(n=r.childNodes[0].nodeValue),r.attributes.name.value){case"interactive":this.interactive=n;break;case"fixed-layout":this.fixedLayout=n;break;case"open-to-spread":this.openToSpread=n;break;case"orientation-lock":this.orientationLock=n;break}}),this):this}destroy(){this.interactive=void 0,this.fixedLayout=void 0,this.openToSpread=void 0,this.orientationLock=void 0}}const dn="META-INF/container.xml",pa="META-INF/com.apple.ibooks.display-options.xml",xt={BINARY:"binary",BASE64:"base64",EPUB:"epub",OPF:"opf",MANIFEST:"json",DIRECTORY:"directory"};class br{constructor(e,t){typeof t>"u"&&typeof e!="string"&&!(e instanceof Blob)&&!(e instanceof ArrayBuffer)&&(t=e,e=void 0),this.settings=ot(this.settings||{},{requestMethod:void 0,requestCredentials:void 0,requestHeaders:void 0,encoding:void 0,replacements:void 0,canonical:void 0,openAs:void 0,store:void 0}),ot(this.settings,t),this.opening=new Ie,this.opened=this.opening.promise,this.isOpen=!1,this.loading={manifest:new Ie,spine:new Ie,metadata:new Ie,cover:new Ie,navigation:new Ie,pageList:new Ie,resources:new Ie,displayOptions:new Ie},this.loaded={manifest:this.loading.manifest.promise,spine:this.loading.spine.promise,metadata:this.loading.metadata.promise,cover:this.loading.cover.promise,navigation:this.loading.navigation.promise,pageList:this.loading.pageList.promise,resources:this.loading.resources.promise,displayOptions:this.loading.displayOptions.promise},this.ready=Promise.all([this.loaded.manifest,this.loaded.spine,this.loaded.metadata,this.loaded.cover,this.loaded.navigation,this.loaded.resources,this.loaded.displayOptions]),this.isRendered=!1,this.request=this.settings.requestMethod||ni,this.spine=new qs,this.locations=new Rn(this.spine,this.load.bind(this)),this.navigation=void 0,this.pageList=void 0,this.url=void 0,this.path=void 0,this.archived=!1,this.archive=void 0,this.storage=void 0,this.resources=void 0,this.rendition=void 0,this.container=void 0,this.packaging=void 0,this.displayOptions=void 0,this.settings.store&&this.store(this.settings.store),e&&this.open(e,this.settings.openAs).catch(i=>{var r=new Error("Cannot load book at "+e);this.emit(le.BOOK.OPEN_FAILED,r)})}open(e,t){var i,r=t||this.determineType(e);return r===xt.BINARY?(this.archived=!0,this.url=new Dt("/",""),i=this.openEpub(e)):r===xt.BASE64?(this.archived=!0,this.url=new Dt("/",""),i=this.openEpub(e,r)):r===xt.EPUB?(this.archived=!0,this.url=new Dt("/",""),i=this.request(e,"binary",this.settings.requestCredentials,this.settings.requestHeaders).then(this.openEpub.bind(this))):r==xt.OPF?(this.url=new Dt(e),i=this.openPackaging(this.url.Path.toString())):r==xt.MANIFEST?(this.url=new Dt(e),i=this.openManifest(this.url.Path.toString())):(this.url=new Dt(e),i=this.openContainer(dn).then(this.openPackaging.bind(this))),i}openEpub(e,t){return this.unarchive(e,t||this.settings.encoding).then(()=>this.openContainer(dn)).then(i=>this.openPackaging(i))}openContainer(e){return this.load(e).then(t=>(this.container=new Ws(t),this.resolve(this.container.packagePath)))}openPackaging(e){return this.path=new It(e),this.load(e).then(t=>(this.packaging=new sn(t),this.unpack(this.packaging)))}openManifest(e){return this.path=new It(e),this.load(e).then(t=>(this.packaging=new sn,this.packaging.load(t),this.unpack(this.packaging)))}load(e){var t=this.resolve(e);return this.archived?this.archive.request(t):this.request(t,null,this.settings.requestCredentials,this.settings.requestHeaders)}resolve(e,t){if(e){var i=e,r=e.indexOf("://")>-1;return r?e:(this.path&&(i=this.path.resolve(e)),t!=!1&&this.url&&(i=this.url.resolve(i)),i)}}canonical(e){var t=e;return e?(this.settings.canonical?t=this.settings.canonical(e):t=this.resolve(e,!0),t):""}determineType(e){var t,i,r;if(this.settings.encoding==="base64")return xt.BASE64;if(typeof e!="string")return xt.BINARY;if(t=new Dt(e),i=t.path(),r=i.extension,r&&(r=r.replace(/\?.*$/,"")),!r)return xt.DIRECTORY;if(r==="epub")return xt.EPUB;if(r==="opf")return xt.OPF;if(r==="json")return xt.MANIFEST}unpack(e){this.package=e,this.packaging.metadata.layout===""?this.load(this.url.resolve(pa)).then(t=>{this.displayOptions=new sr(t),this.loading.displayOptions.resolve(this.displayOptions)}).catch(t=>{this.displayOptions=new sr,this.loading.displayOptions.resolve(this.displayOptions)}):(this.displayOptions=new sr,this.loading.displayOptions.resolve(this.displayOptions)),this.spine.unpack(this.packaging,this.resolve.bind(this),this.canonical.bind(this)),this.resources=new Zs(this.packaging.manifest,{archive:this.archive,resolver:this.resolve.bind(this),request:this.request.bind(this),replacements:this.settings.replacements||(this.archived?"blobUrl":"base64")}),this.loadNavigation(this.packaging).then(()=>{this.loading.navigation.resolve(this.navigation)}),this.packaging.coverPath&&(this.cover=this.resolve(this.packaging.coverPath)),this.loading.manifest.resolve(this.packaging.manifest),this.loading.metadata.resolve(this.packaging.metadata),this.loading.spine.resolve(this.spine),this.loading.cover.resolve(this.cover),this.loading.resources.resolve(this.resources),this.loading.pageList.resolve(this.pageList),this.isOpen=!0,this.archived||this.settings.replacements&&this.settings.replacements!="none"?this.replacements().then(()=>{this.loaded.displayOptions.then(()=>{this.opening.resolve(this)})}).catch(t=>{console.error(t)}):this.loaded.displayOptions.then(()=>{this.opening.resolve(this)})}loadNavigation(e){let t=e.navPath||e.ncxPath,i=e.toc;return i?new Promise((r,n)=>{this.navigation=new tr(i),e.pageList&&(this.pageList=new ir(e.pageList)),r(this.navigation)}):t?this.load(t,"xml").then(r=>(this.navigation=new tr(r),this.pageList=new ir(r),this.navigation)):new Promise((r,n)=>{this.navigation=new tr,this.pageList=new ir,r(this.navigation)})}section(e){return this.spine.get(e)}renderTo(e,t){return this.rendition=new yr(this,t),this.rendition.attachTo(e),this.rendition}setRequestCredentials(e){this.settings.requestCredentials=e}setRequestHeaders(e){this.settings.requestHeaders=e}unarchive(e,t){return this.archive=new fa,this.archive.open(e,t)}store(e){let t=this.settings.replacements&&this.settings.replacements!=="none",i=this.url,r=this.settings.requestMethod||ni.bind(this);return this.storage=new Fn(e,r,this.resolve.bind(this)),this.request=this.storage.request.bind(this.storage),this.opened.then(()=>{this.archived&&(this.storage.requester=this.archive.request.bind(this.archive));let n=(s,a)=>{a.output=this.resources.substitute(s,a.url)};this.resources.settings.replacements=t||"blobUrl",this.resources.replacements().then(()=>this.resources.replaceCss()),this.storage.on("offline",()=>{this.url=new Dt("/",""),this.spine.hooks.serialize.register(n)}),this.storage.on("online",()=>{this.url=i,this.spine.hooks.serialize.deregister(n)})}),this.storage}coverUrl(){return this.loaded.cover.then(()=>this.cover?this.archived?this.archive.createUrl(this.cover):this.cover:null)}replacements(){return this.spine.hooks.serialize.register((e,t)=>{t.output=this.resources.substitute(e,t.url)}),this.resources.replacements().then(()=>this.resources.replaceCss())}getRange(e){var t=new Oe(e),i=this.spine.get(t.spinePos),r=this.load.bind(this);return i?i.load(r).then(function(n){var s=t.toRange(i.document);return s}):new Promise((n,s)=>{s("CFI could not be found")})}key(e){var t=e||this.packaging.metadata.identifier||this.url.filename;return`epubjs:${Ci}:${t}`}destroy(){this.opened=void 0,this.loading=void 0,this.loaded=void 0,this.ready=void 0,this.isOpen=!1,this.isRendered=!1,this.spine&&this.spine.destroy(),this.locations&&this.locations.destroy(),this.pageList&&this.pageList.destroy(),this.archive&&this.archive.destroy(),this.resources&&this.resources.destroy(),this.container&&this.container.destroy(),this.packaging&&this.packaging.destroy(),this.rendition&&this.rendition.destroy(),this.displayOptions&&this.displayOptions.destroy(),this.spine=void 0,this.locations=void 0,this.pageList=void 0,this.archive=void 0,this.resources=void 0,this.container=void 0,this.packaging=void 0,this.rendition=void 0,this.navigation=void 0,this.url=void 0,this.path=void 0,this.archived=!1}}Tt(br.prototype);function Mt(D,e){return new br(D,e)}Mt.VERSION=Ci;typeof xr<"u"&&(xr.EPUBJS_VERSION=Ci);Mt.Book=br;Mt.Rendition=yr;Mt.Contents=mr;Mt.CFI=Oe;Mt.utils=Os;const va={html:{"-webkit-filter":"invert(1) hue-rotate(180deg)",filter:"invert(1) hue-rotate(180deg)"},img:{"-webkit-filter":"invert(1) hue-rotate(180deg)",filter:"invert(1) hue-rotate(180deg)"}},ga={html:{background:"white"}},pn=150,vn=50,ar=10,ma=Gn({name:"EpubReader",props:{applicationConfig:{type:Object,required:!0},currentContent:{type:String,required:!0},isReadOnly:{type:Boolean,required:!1},resource:{type:Object,required:!0}},emits:["close"],setup(D){const e=Qn(),t=Ot(),i=Ot([]),r=Ot(),n=Ot(!1),s=Ot(!1),a=Dr("oc_epubReader",{}),l=Ot(Ue(a).fontSizePercentage||100),d=Yn(),p=Ot(),f=Ot(),w=()=>{Ue(f).prev()},m=()=>{Ue(f).next()},L=O=>{Ue(f).display(O.href)},x=()=>{l.value=Math.min(Ue(l)+ar,pn)},h=()=>{l.value=100},v=()=>{l.value=Math.max(Ue(l)-ar,vn)},g=Cr(()=>Ue(l)>=pn),C=Cr(()=>Ue(l)<=vn);return e.bindKeyAction({primary:hi.ArrowLeft},()=>w()),e.bindKeyAction({primary:hi.ArrowRight},()=>m()),Ar(()=>D.currentContent,async()=>{await Xn(),Ue(p)&&Ue(p).destroy();const O=Dr(`oc_epubReader_resource_${D.resource.id}`,{});p.value=Mt(D.currentContent),Ue(p).loaded.navigation.then(({toc:y})=>{i.value=y,r.value=y?.[0]}),f.value=Ue(p).renderTo(Ue(t),{flow:"paginated",width:650,height:"90%"}),Ue(f).themes.register("dark",va),Ue(f).themes.register("light",ga),Ue(f).themes.select(d.currentTheme.isDark?"dark":"light"),Ue(f).themes.fontSize(`${Ue(l)}%`),Ue(f).display(Ue(O)?.currentLocation?.start?.cfi),Ue(f).on("keydown",y=>{y.key===hi.ArrowLeft&&w(),y.key===hi.ArrowRight&&m()}),Ue(f).on("relocated",()=>{const y=Ue(f).currentLocation();O.value={currentLocation:y},n.value=y.atStart===!0,s.value=y.atEnd===!0;const T=y.start.cfi,N=Ue(p).spine.get(T),R=Ue(p).navigation.get(N.href);R&&(r.value=R)})},{immediate:!0}),Ar(l,()=>{Ue(f).themes.fontSize(`${Ue(l)}%`),a.value={...Ue(a),fontSizePercentage:Ue(l)}}),{bookContainer:t,navigateLeft:w,navigateLeftDisabled:n,navigateRight:m,navigateRightDisabled:s,currentChapter:r,chapters:i,showChapter:L,resetFontSize:h,increaseFontSize:x,decreaseFontSize:v,increaseFontSizeDisabled:g,decreaseFontSizeDisabled:C,currentFontSizePercentage:l,FONT_SIZE_PERCENTAGE_STEP:ar,rendition:f,book:p}}}),ya={class:"epub-reader flex"},ba=["textContent"],wa={class:"size-full"},_a={class:"flex items-center m-2"},Ea={class:"epub-reader-controls-font-size flex flex-nowrap oc-button-group"},xa={class:"flex justify-center size-full"},Da={class:"flex items-center mx-6"},Aa={id:"reader",ref:"bookContainer",class:"flex justify-center"},Ca={class:"flex items-center mx-6"};function Sa(D,e,t,i,r,n){const s=ui("oc-button"),a=ui("oc-list"),l=ui("oc-icon"),d=ui("oc-select"),p=Kn("oc-tooltip");return Wt(),Ri("div",ya,[_t(a,{class:"bg-role-surface-container pl-2 hidden lg:block border-r w-xs overflow-y-auto"},{default:zt(()=>[(Wt(!0),Ri($n,null,Jn(D.chapters,f=>(Wt(),Ri("li",{key:f.id,class:Sr(["epub-reader-chapters-list-item py-2 border-b last:border-b-0",{active:D.currentChapter.id===f.id}])},[_t(s,{class:Sr(["max-w-full",{"font-semibold":D.currentChapter.id===f.id}]),appearance:"raw","no-hover":"",onClick:w=>D.showChapter(f)},{default:zt(()=>[li(Lt("span",{class:"truncate mr-2",textContent:Tr(f.label)},null,8,ba),[[p,f.label]])]),_:2},1032,["class","onClick"])],2))),128))]),_:1}),e[9]||(e[9]=Ct()),Lt("div",wa,[Lt("div",_a,[Lt("div",Ea,[li((Wt(),Ii(s,{"aria-label":D.$gettext("Decrease font size"),class:"epub-reader-controls-font-size-decrease",disabled:D.decreaseFontSizeDisabled,"gap-size":"none",onClick:D.decreaseFontSize},{default:zt(()=>[_t(l,{name:"font-family","fill-type":"none",size:"small"}),e[1]||(e[1]=Ct()),_t(l,{name:"subtract",size:"xsmall"})]),_:1},8,["aria-label","disabled","onClick"])),[[p,`${D.currentFontSizePercentage-D.FONT_SIZE_PERCENTAGE_STEP}%`]]),e[3]||(e[3]=Ct()),li((Wt(),Ii(s,{class:"epub-reader-controls-font-size-reset w-[58px]",onClick:D.resetFontSize},{default:zt(()=>[Ct(Tr(`${D.currentFontSizePercentage}%`),1)]),_:1},8,["onClick"])),[[p,D.$gettext("Reset font size")]]),e[4]||(e[4]=Ct()),li((Wt(),Ii(s,{"aria-label":D.$gettext("Increase font size"),class:"epub-reader-controls-font-size-increase",disabled:D.increaseFontSizeDisabled,"gap-size":"none",onClick:D.increaseFontSize},{default:zt(()=>[_t(l,{name:"font-family","fill-type":"none",size:"small"}),e[2]||(e[2]=Ct()),_t(l,{name:"add",size:"xsmall"})]),_:1},8,["aria-label","disabled","onClick"])),[[p,`${D.currentFontSizePercentage+D.FONT_SIZE_PERCENTAGE_STEP}%`]])]),e[5]||(e[5]=Ct()),_t(d,{modelValue:D.currentChapter,"onUpdate:modelValue":[e[0]||(e[0]=f=>D.currentChapter=f),D.showChapter],class:"epub-reader-controls-chapters-select w-full px-2 block lg:hidden",label:D.$gettext("Chapter"),"label-hidden":!0,options:D.chapters,searchable:!1},null,8,["modelValue","label","options","onUpdate:modelValue"])]),e[8]||(e[8]=Ct()),Lt("div",xa,[Lt("div",Da,[_t(s,{class:"epub-reader-navigate-left","aria-label":D.$gettext("Navigate to previous page"),disabled:D.navigateLeftDisabled,appearance:"raw",onClick:D.navigateLeft},{default:zt(()=>[_t(l,{name:"arrow-left-s","fill-type":"line",size:"xlarge"})]),_:1},8,["aria-label","disabled","onClick"])]),e[6]||(e[6]=Ct()),Lt("div",Aa,null,512),e[7]||(e[7]=Ct()),Lt("div",Ca,[_t(s,{class:"epub-reader-navigate-right","aria-label":D.$gettext("Navigate to next page"),disabled:D.navigateRightDisabled,appearance:"raw",onClick:D.navigateRight},{default:zt(()=>[_t(l,{name:"arrow-right-s","fill-type":"line",size:"xlarge"})]),_:1},8,["aria-label","disabled","onClick"])])])])])}const Za=is(ma,[["render",Sa]]);export{Za as default}; diff --git a/web-dist/js/chunks/App-CYbSvL2a.mjs.gz b/web-dist/js/chunks/App-CYbSvL2a.mjs.gz new file mode 100644 index 0000000000..00db8bb8a0 Binary files /dev/null and b/web-dist/js/chunks/App-CYbSvL2a.mjs.gz differ diff --git a/web-dist/js/chunks/App-zfAz8YxY.mjs b/web-dist/js/chunks/App-zfAz8YxY.mjs new file mode 100644 index 0000000000..c0f33bdd2b --- /dev/null +++ b/web-dist/js/chunks/App-zfAz8YxY.mjs @@ -0,0 +1 @@ +import{c as H}from"./OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import{M as h,cm as I,aD as N,bk as D,aU as S,q as x,aZ as l,a_ as E,aL as a,u as f,v as r,I as g,H as p,bb as y,s as $,t as T,bL as O,bJ as C,F as A,aX as w,co as q,cr as z,bE as B,c7 as b,c8 as M}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{f as V}from"./index-lRhEXmMs.mjs";import{bC as W}from"./resources-CL0nvFAd.mjs";import{u as F}from"./useClientService-BP8mjZl2.mjs";import{A as j}from"./AppLoadingSpinner-D4wmhWZf.mjs";import{_ as P}from"./ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs";import{N as Q}from"./NoContentMessage-CtsU0h69.mjs";import{D as _}from"./locale-tv0ZmyWq.mjs";import{e as G,f as R}from"./datetime-CpSA3f1i.mjs";import{a as J}from"./ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs";import{_ as k}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";import"./user-C7xYeMZ3.mjs";import"./fuse-Dh4lEyaB.mjs";import"./omit-CjJULzjP.mjs";import"./_getTag-rbyw32wi.mjs";import"./_Set-DyVdKz_x.mjs";import"./useRoute-BGFNOdqM.mjs";import"./debounce-Bg6HwA-m.mjs";import"./toNumber-BQH-f3hb.mjs";import"./icon-BPAP2zgX.mjs";const K=h({name:"ActivityList",components:{ResourceListItem:J},props:{activity:{type:Object,required:!0}},setup(t){const e=F(),{current:d}=I(),m=S(),s=S(!1),n=x(()=>{const i=_.fromISO(t.activity.times.recordedTime);return i>_.now().minus({hour:1})?G(i,d):R(i,d)});return N(async()=>{try{m.value=await e.webdav.getFileInfo(D(t.activity.template.variables?.space),{fileId:t.activity.template.variables?.resource?.id})}catch{s.value=!0}}),{recordedDateTime:n,resource:m,resourceNotAccessible:s}}}),U={class:"flex items-center activity-item [&>*]:flex-1"},X={class:"flex items-center text-left"},Y=["textContent"],Z={class:"truncate text-left"},tt={key:1,class:"text-role-on-surface-variant flex items-center p-1"},et=["textContent"],it={class:"text-right"},ot=["textContent"];function st(t,e,d,m,s,n){const i=l("oc-avatar"),u=l("resource-list-item"),v=l("oc-icon"),o=E("oc-tooltip");return a(),f("div",U,[r("div",X,[g(i,{width:36,"user-name":t.activity.template.variables?.user?.displayName},null,8,["user-name"]),e[0]||(e[0]=p()),r("span",{class:"ml-2",textContent:y(t.activity.template.variables?.user?.displayName)},null,8,Y)]),e[3]||(e[3]=p()),e[4]||(e[4]=r("div",{class:"text-left"},"activity unknown",-1)),e[5]||(e[5]=p()),r("div",Z,[t.resource?(a(),$(u,{key:0,resource:t.resource,"is-resource-clickable":!1},null,8,["resource"])):T("",!0),e[2]||(e[2]=p()),t.resourceNotAccessible?O((a(),f("div",tt,[g(v,{name:"eye-off"}),e[1]||(e[1]=p()),r("span",{class:"ml-2",textContent:y(t.activity.template.variables?.resource?.name)},null,8,et)])),[[o,t.$gettext("The resource is unavailable, it may have been deleted.")]]):T("",!0)]),e[6]||(e[6]=p()),r("div",it,[r("span",{textContent:y(t.recordedDateTime)},null,8,ot)])])}const nt=k(K,[["render",st]]),at=h({name:"ActivityList",components:{ActivityItem:nt},props:{activities:{type:Array,required:!0}},setup(t){const{current:e}=I();return{activitiesDateCategorized:x(()=>t.activities.reduce((s,n)=>{const i=_.fromISO(n.times.recordedTime).toISODate();return s[i]||(s[i]=[]),s[i].push(n),s},{})),getDateHeadline:s=>{const n=_.fromISO(s);return n.hasSame(_.now(),"day")||n.hasSame(_.now().minus({day:1}),"day")?n.toRelativeCalendar({locale:e}):R(n,e,_.DATE_MED_WITH_WEEKDAY)}}}}),rt=["textContent"];function ct(t,e,d,m,s,n){const i=l("ActivityItem"),u=l("oc-list");return a(),$(u,{class:"activity-list max-w-5xl"},{default:C(()=>[(a(!0),f(A,null,w(t.activitiesDateCategorized,(v,o)=>(a(),f("li",{key:o,class:"mb-6"},[r("h2",{class:"font-semibold text-role-on-surface-variant activity-list-date text-base capitalize",textContent:y(t.getDateHeadline(o))},null,8,rt),e[0]||(e[0]=p()),g(u,{class:"ml-2 mt-2 timeline"},{default:C(()=>[(a(!0),f(A,null,w(v,c=>(a(),f("li",{key:c.id},[g(i,{activity:c},null,8,["activity"])]))),128))]),_:2},1024)]))),128))]),_:1})}const lt=k(at,[["render",ct]]),mt=h({name:"App",components:{ActivityList:lt,NoContentMessage:Q,ItemFilter:P,AppLoadingSpinner:j},setup(){const t=W(),{spaces:e}=q(t),d=F(),m=S([]),s=z("q_location"),n=x(()=>[...D(e)].filter(o=>!o.disabled&&(M(o)||b(o))).sort((o,c)=>b(o)===b(c)?o.name.localeCompare(c.name):b(o)?-1:1)),i=V(function*(o){const c=["sort:desc","limit:100"];D(s)&&c.push(`itemid:${D(s)}`),m.value=yield*H(d.graphAuthenticated.activities.listActivities(c.join(" AND "),{signal:o}))}),u=x(()=>i.isRunning||!i.last),v=o=>b(o)?"folder":"layout-grid";return N(()=>{i.perform()}),B(s,()=>{i.perform()}),{activities:m,filterableSpaces:n,getLocationFilterIcon:v,isLoading:u}}}),ut=["textContent"],pt={class:"w-full mb-4"},dt=["textContent"],ft=["textContent"];function vt(t,e,d,m,s,n){const i=l("oc-icon"),u=l("item-filter"),v=l("app-loading-spinner"),o=l("no-content-message"),c=l("ActivityList");return a(),f(A,null,[r("h1",{class:"text-lg",textContent:y(t.$gettext("Activities"))},null,8,ut),e[1]||(e[1]=p()),r("div",pt,[g(u,{ref:"mediaTypeFilter","allow-multiple":!1,"filter-label":t.$gettext("Location"),"filterable-attributes":["name"],"option-filter-label":t.$gettext("Filter location"),"show-option-filter":!0,items:t.filterableSpaces,"close-on-click":!0,class:"mr-2","display-name-attribute":"name","filter-name":"location"},{image:C(({item:L})=>[g(i,{name:t.getLocationFilterIcon(L)},null,8,["name"])]),item:C(({item:L})=>[r("div",{textContent:y(L.name)},null,8,dt)]),_:1},8,["filter-label","option-filter-label","items"])]),e[2]||(e[2]=p()),t.isLoading?(a(),$(v,{key:0})):(a(),f(A,{key:1},[t.activities.length?(a(),$(c,{key:1,activities:t.activities},null,8,["activities"])):(a(),$(o,{key:0,icon:"pulse"},{message:C(()=>[r("span",{textContent:y(t.$gettext("No activities found"))},null,8,ft)]),_:1}))],64))],64)}const Ot=k(mt,[["render",vt]]);export{Ot as default}; diff --git a/web-dist/js/chunks/App-zfAz8YxY.mjs.gz b/web-dist/js/chunks/App-zfAz8YxY.mjs.gz new file mode 100644 index 0000000000..f75a3828a2 Binary files /dev/null and b/web-dist/js/chunks/App-zfAz8YxY.mjs.gz differ diff --git a/web-dist/js/chunks/AppContextualHelper-B46rHh2S.mjs b/web-dist/js/chunks/AppContextualHelper-B46rHh2S.mjs new file mode 100644 index 0000000000..8c7353b43f --- /dev/null +++ b/web-dist/js/chunks/AppContextualHelper-B46rHh2S.mjs @@ -0,0 +1 @@ +import{M as $,aZ as u,aL as o,u as l,F as k,aX as v,s as b,bJ as f,v as d,bb as x,cm as j,q as g,aU as z,bk as i,au as A,t as I,H as w,I as c}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{_ as h}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";import{A as q}from"./ActionMenuItem-5Eo133Qt.mjs";import{t as V}from"./download-Bmys4VUp.mjs";const B=$({name:"AppTags",props:{app:{type:Object,required:!0,default:()=>{}}},emits:["click"],setup(e,{emit:t}){return{emitClick:s=>{t("click",s)}}}}),O={class:"flex gap-1"},P={class:"mark-element"};function D(e,t,a,s,m,_){const p=u("oc-tag");return o(),l("div",O,[(o(!0),l(k,null,v(e.app.tags,n=>(o(),b(p,{key:`app-tag-${e.app.id}-${n}`,"data-testid":"tag-button",size:"small",class:"whitespace-nowrap cursor-pointer",type:"button",onClick:r=>e.emitClick(n)},{default:f(()=>[d("span",P,x(n),1)]),_:2},1032,["onClick"]))),128))])}const Q=h(B,[["render",D]]),N=()=>{const{$gettext:e}=j();return{downloadAppAction:{name:"download-app",icon:"download",label:()=>e("Download"),handler:a=>{const s=a.version||a.app.mostRecentVersion,m=s.filename||s.url.split("/").pop();V(s.url,m)},isVisible:()=>!0,appearance:"outline"}}},T=$({name:"AppActions",components:{ActionMenuItem:q},props:{app:{type:Object,required:!0,default:()=>{}},version:{type:Object,required:!1,default:null}},setup(){const{downloadAppAction:e}=N();return{actions:g(()=>[e])}}});function F(e,t,a,s,m,_){const p=u("action-menu-item"),n=u("oc-list");return o(),b(n,{class:"app-actions flex justify-start gap-3"},{default:f(()=>[(o(!0),l(k,null,v(e.actions,r=>(o(),b(p,{key:`app-action-${r.name}`,size:"small",action:r,"action-options":{app:e.app,version:e.version},"button-classes":["raw-hover-surface"]},null,8,["action","action-options"]))),128))]),_:1})}const Y=h(T,[["render",F]]),G=$({name:"AppImageGallery",props:{app:{type:Object,required:!0,default:()=>{}},showPagination:{type:Boolean,required:!1,default:!1}},setup(e){const t=g(()=>[e.app.coverImage,...e.app.screenshots]),a=z(0),s=g(()=>i(t)[i(a)]),m=g(()=>e.showPagination&&i(t).length>1),_=()=>{a.value=(i(a)+1)%i(t).length},p=()=>{a.value=(i(a)-1+i(t).length)%i(t).length},n=C=>{a.value=C},r=g(()=>{switch(e.app.badge?.color){case"primary":return["bg-role-primary","text-role-on-primary"];case"danger":return["bg-role-error","text-role-on-error"];default:return["bg-role-primary","text-role-on-primary"]}});return{currentImage:s,currentImageIndex:a,images:t,hasPagination:m,ribbonColorClasses:r,nextImage:_,previousImage:p,setImageIndex:n}}}),H={class:"relative"},L={class:"app-image w-full"},M={key:1,class:"fallback-icon bg-white flex items-center justify-center w-full aspect-3/2"},S={key:1,class:"app-image-navigation bg-white/80 flex justify-center items-center flex-row m-0 py-2 w-full absolute bottom-0"};function E(e,t,a,s,m,_){const p=u("oc-image"),n=u("oc-icon"),r=u("oc-button");return o(),l("div",H,[e.app.badge?(o(),l("div",{key:0,class:A(["app-image-ribbon z-10 text-right size-[7rem] overflow-hidden absolute top-0 right-0",[`app-image-ribbon-${e.app.badge.color}`]])},[d("span",{class:A(["text-xs font-bold text-center leading-6 w-[10rem] block absolute top-[1.8rem] right-[-2.2rem] transform-[rotate(45deg)]",e.ribbonColorClasses])},x(e.app.badge.label),3)],2)):I("",!0),t[2]||(t[2]=w()),d("div",L,[e.currentImage?.url?(o(),b(p,{key:0,src:e.currentImage?.url,class:"w-full max-w-full object-cover aspect-3/2"},null,8,["src"])):(o(),l("div",M,[c(n,{name:"computer",size:"xxlarge"})]))]),t[3]||(t[3]=w()),e.hasPagination?(o(),l("ul",S,[d("li",null,[c(r,{"data-testid":"prev-image",class:"p-1",appearance:"raw",onClick:e.previousImage},{default:f(()=>[c(n,{name:"arrow-left-s"})]),_:1},8,["onClick"])]),t[0]||(t[0]=w()),(o(!0),l(k,null,v(e.images,(C,y)=>(o(),l("li",{key:`gallery-page-${y}`},[c(r,{"data-testid":"set-image",class:"p-2",appearance:"raw",onClick:U=>e.setImageIndex(y)},{default:f(()=>[c(n,{name:"circle",size:"small","fill-type":y===e.currentImageIndex?"fill":"line"},null,8,["fill-type"])]),_:2},1032,["onClick"])]))),128)),t[1]||(t[1]=w()),d("li",null,[c(r,{"data-testid":"next-image",class:"p-1",appearance:"raw",onClick:e.nextImage},{default:f(()=>[c(n,{name:"arrow-right-s"})]),_:1},8,["onClick"])])])):I("",!0)])}const ee=h(G,[["render",E]]),J={};function R(e,t){const a=u("oc-contextual-helper");return o(),b(a,{title:e.$gettext("How to install?"),text:e.$gettext("The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud."),"read-more-link":"https://docs.opencloud.eu/docs/admin/configuration/web-applications"},null,8,["title","text"])}const te=h(J,[["render",R]]);export{Q as A,Y as a,ee as b,te as c}; diff --git a/web-dist/js/chunks/AppContextualHelper-B46rHh2S.mjs.gz b/web-dist/js/chunks/AppContextualHelper-B46rHh2S.mjs.gz new file mode 100644 index 0000000000..2eac781482 Binary files /dev/null and b/web-dist/js/chunks/AppContextualHelper-B46rHh2S.mjs.gz differ diff --git a/web-dist/js/chunks/AppDetails-Cr29PlvG.mjs b/web-dist/js/chunks/AppDetails-Cr29PlvG.mjs new file mode 100644 index 0000000000..ae09e8cb02 --- /dev/null +++ b/web-dist/js/chunks/AppDetails-Cr29PlvG.mjs @@ -0,0 +1,3 @@ +import{A}from"./index-DiD_jyrz.mjs";import{M as b,q as g,aZ as r,aL as n,u,F as R,aX as V,v as l,s as v,t as f,H as s,bb as p,cm as q,bJ as $,I as d,cl as D,bk as C}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u as L}from"./useRouteParam-C9SJn9Mp.mjs";import{T as N}from"./index-Dc0lA-4d.mjs";import{u as U}from"./apps-D4m0BIDd.mjs";import{i as y}from"./isEmpty-BPG2bWXw.mjs";import{_ as h}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";import{a as j,A as E,b as H,c as S}from"./AppContextualHelper-B46rHh2S.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./types-BoCZvwvE.mjs";import"./useAbility-DLkgdurK.mjs";import"./user-C7xYeMZ3.mjs";import"./_getTag-rbyw32wi.mjs";import"./_Set-DyVdKz_x.mjs";import"./ActionMenuItem-5Eo133Qt.mjs";import"./download-Bmys4VUp.mjs";const z=b({name:"AppResources",props:{app:{type:Object,required:!0,default:()=>{}}},setup(t){return{resources:g(()=>(t.app.resources||[]).filter(o=>{if(y(o.url)||y(o.label))return!1;try{new URL(o.url)}catch{return!1}return!0}))}}}),F={class:"mb-0 p-0"},G=["href"],J={"data-testid":"resource-label"};function M(t,e,o,c,a,k){const i=r("oc-icon");return n(),u("ul",F,[(n(!0),u(R,null,V(t.resources,m=>(n(),u("li",{key:m.label},[l("a",{href:m.url,"data-testid":"resource-link",target:"_blank",class:"inline-flex items-center"},[m.icon?(n(),v(i,{key:0,"data-testid":"resource-icon",name:m.icon,size:"medium",class:"mr-1"},null,8,["name"])):f("",!0),e[0]||(e[0]=s()),l("span",J,p(m.label),1)],8,G)]))),128))])}const X=h(z,[["render",M]]),Z=b({name:"AppVersions",components:{AppActions:j},props:{app:{type:Object,required:!0,default:()=>{}}},setup(t){const{$gettext:e}=q(),o=g(()=>(t.app.versions||[]).filter(a=>{if(y(a.version)||y(a.url))return!1;try{new URL(a.url)}catch{return!1}return!0}).map(a=>({...a,minOpenCloud:a.minOpenCloud?`v${a.minOpenCloud}`:"-",id:a.version}))),c=g(()=>[{name:"version",type:"slot",width:"expand",wrap:"truncate",title:e("App Version")},{name:"minOpenCloud",type:"raw",width:"shrink",wrap:"nowrap",title:e("OpenCloud Version")},{name:"actions",type:"slot",alignH:"right",width:"shrink",wrap:"nowrap",title:""}]);return{data:o,fields:c}}});function K(t,e,o,c,a,k){const i=r("oc-tag"),m=r("app-actions"),w=r("oc-table");return n(),v(w,{class:"w-full",data:t.data,fields:t.fields,"padding-x":"remove"},{version:$(({item:_})=>[s(` + v`+p(_.version)+" ",1),_.version===t.app.mostRecentVersion.version?(n(),v(i,{key:0,size:"small",class:"ml-2"},{default:$(()=>[s(p(t.$gettext("most recent")),1)]),_:1})):f("",!0)]),actions:$(({item:_})=>[d(m,{app:t.app,version:_},null,8,["app","version"])]),_:1},8,["data","fields"])}const Q=h(Z,[["render",K]]),W=b({props:{app:{type:Object,required:!0,default:()=>{}}},setup(t){return{authors:g(()=>(t.app.authors||[]).filter(o=>{if(y(o.name))return!1;if(!y(o.url))try{new URL(o.url)}catch{return!1}return!0}))}}}),Y={class:"mb-0 p-0"},ee=["href"],te={key:1,"data-testid":"author-label"};function se(t,e,o,c,a,k){return n(),u("ul",Y,[(n(!0),u(R,null,V(t.authors,i=>(n(),u("li",{key:i.name,class:"app-author-item"},[i.url?(n(),u("a",{key:0,href:i.url,"data-testid":"author-link",target:"_blank"},p(i.name),9,ee)):(n(),u("span",te,p(i.name),1))]))),128))])}const ne=h(W,[["render",se]]),oe=b({components:{AppContextualHelper:S,AppImageGallery:H,AppAuthors:ne,AppResources:X,AppTags:E,AppVersions:Q,TextEditor:N},setup(){const t=L("appId"),e=g(()=>decodeURIComponent(C(t))),o=U(),c=D();return{app:g(()=>o.getById(C(e))),APPID:A,onTagClicked:i=>{c.push({name:`${A}-list`,query:{filter:i}})}}}}),re=["textContent"],pe={class:"app-content bg-role-surface-container flex flex-col"},ae={class:"flex items-center"},ie={class:"my-2 truncate app-details-title"},le={class:"ml-2 text-role-on-surface-variant text-sm mt-2"},ue={class:"my-0"},de={key:0},me={key:1},ce={key:2},fe={key:3},_e={key:4};function $e(t,e,o,c,a,k){const i=r("oc-icon"),m=r("router-link"),w=r("app-image-gallery"),_=r("text-editor"),x=r("app-tags"),I=r("app-authors"),O=r("app-resources"),T=r("app-contextual-helper"),B=r("app-versions"),P=r("oc-card");return n(),v(P,{class:"app-details mx-auto bg-role-surface-container border max-w-2xl shadow-none","header-class":"p-0 items-start"},{header:$(()=>[d(m,{to:{name:`${t.APPID}-list`},class:"flex flex-row items-center app-details-back p-1"},{default:$(()=>[d(i,{name:"arrow-left-s","fill-type":"line"}),e[0]||(e[0]=s()),l("span",{textContent:p(t.$gettext("Back to list"))},null,8,re)]),_:1},8,["to"]),e[1]||(e[1]=s()),d(w,{app:t.app,"show-pagination":!0,class:"w-full"},null,8,["app"])]),default:$(()=>[e[14]||(e[14]=s()),l("div",pe,[l("div",ae,[l("h2",ie,p(t.app.name),1),e[2]||(e[2]=s()),l("span",le,` + v`+p(t.app.mostRecentVersion.version),1)]),e[8]||(e[8]=s()),l("p",ue,p(t.app.subtitle),1),e[9]||(e[9]=s()),t.app.description?(n(),u("div",de,[l("h3",null,p(t.$gettext("Details")),1),e[3]||(e[3]=s()),d(_,{class:"my-2","is-read-only":!0,"markdown-mode":!0,"current-content":t.app.description},null,8,["current-content"])])):f("",!0),e[10]||(e[10]=s()),t.app.tags?(n(),u("div",me,[l("h3",null,p(t.$gettext("Tags")),1),e[4]||(e[4]=s()),d(x,{app:t.app,onClick:t.onTagClicked},null,8,["app","onClick"])])):f("",!0),e[11]||(e[11]=s()),t.app.authors?(n(),u("div",ce,[l("h3",null,p(t.$gettext("Author")),1),e[5]||(e[5]=s()),d(I,{app:t.app},null,8,["app"])])):f("",!0),e[12]||(e[12]=s()),t.app.resources?(n(),u("div",fe,[l("h3",null,p(t.$gettext("Resources")),1),e[6]||(e[6]=s()),d(O,{app:t.app},null,8,["app"])])):f("",!0),e[13]||(e[13]=s()),t.app.versions?(n(),u("div",_e,[l("h3",null,[s(p(t.$gettext("Releases"))+" ",1),d(T)]),e[7]||(e[7]=s()),d(B,{app:t.app},null,8,["app"])])):f("",!0)])]),_:1})}const Pe=h(oe,[["render",$e]]);export{Pe as default}; diff --git a/web-dist/js/chunks/AppDetails-Cr29PlvG.mjs.gz b/web-dist/js/chunks/AppDetails-Cr29PlvG.mjs.gz new file mode 100644 index 0000000000..df39e1e22d Binary files /dev/null and b/web-dist/js/chunks/AppDetails-Cr29PlvG.mjs.gz differ diff --git a/web-dist/js/chunks/AppList-BHv8wwAD.mjs b/web-dist/js/chunks/AppList-BHv8wwAD.mjs new file mode 100644 index 0000000000..89e4ed594d --- /dev/null +++ b/web-dist/js/chunks/AppList-BHv8wwAD.mjs @@ -0,0 +1,2 @@ +import{M as v,aZ as s,aL as u,s as A,bJ as d,H as a,v as n,I as l,bb as h,co as C,cl as S,cr as x,aD as w,as as F,dC as N,bE as P,q as $,aU as R,cs as V,bk as c,u as b,F as D,aX as U}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{F as q,d as B}from"./fuse-Dh4lEyaB.mjs";import{u as E}from"./apps-D4m0BIDd.mjs";import{A as L}from"./index-DiD_jyrz.mjs";import{A as M,a as j,b as H,c as O}from"./AppContextualHelper-B46rHh2S.mjs";import{_ as T}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";import{N as Q}from"./NoContentMessage-CtsU0h69.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./types-BoCZvwvE.mjs";import"./useAbility-DLkgdurK.mjs";import"./user-C7xYeMZ3.mjs";import"./ActionMenuItem-5Eo133Qt.mjs";import"./download-Bmys4VUp.mjs";const G=v({name:"AppTile",components:{AppImageGallery:H,AppActions:j,AppTags:M},props:{app:{type:Object,required:!0,default:()=>{}}},emits:["search"],setup(e,{emit:t}){return{emitSearchTerm:f=>{t("search",f)},APPID:L}}}),J={class:"app-tile-body flex flex-col justify-between h-full"},X={class:"app-tile-content"},Z={class:"flex items-center"},z={class:"my-2 truncate mark-element app-tile-title"},K={class:"ml-2 text-role-on-surface-variant text-sm mt-1"},W={class:"my-2 mark-element"};function Y(e,t,k,f,p,y){const _=s("app-image-gallery"),i=s("router-link"),g=s("app-tags"),r=s("app-actions"),o=s("oc-card");return u(),A(o,{tag:"li",class:"app-tile bg-role-surface-container flex flex-col border overflow-hidden shadow-none","header-class":"p-0"},{header:d(()=>[l(i,{to:{name:`${e.APPID}-details`,params:{appId:encodeURIComponent(e.app.id)}}},{default:d(()=>[l(_,{app:e.app},null,8,["app"])]),_:1},8,["to"])]),default:d(()=>[t[4]||(t[4]=a()),n("div",J,[n("div",X,[n("div",Z,[n("h3",z,[l(i,{to:{name:`${e.APPID}-details`,params:{appId:encodeURIComponent(e.app.id)}}},{default:d(()=>[a(h(e.app.name),1)]),_:1},8,["to"])]),t[0]||(t[0]=a()),n("span",K,` + v`+h(e.app.mostRecentVersion.version),1)]),t[1]||(t[1]=a()),n("p",W,h(e.app.subtitle),1)]),t[2]||(t[2]=a()),l(g,{app:e.app,onClick:e.emitSearchTerm},null,8,["app","onClick"]),t[3]||(t[3]=a()),l(r,{app:e.app,class:"mt-4"},null,8,["app"])])]),_:1})}const ee=T(G,[["render",Y]]),te=v({name:"AppList",components:{AppContextualHelper:O,AppTile:ee,NoContentMessage:Q},setup(){const e=E(),{apps:t}=C(e),k=S(),f=x("filter",""),p=$(()=>V(c(f))),y=R(""),_=o=>k.replace({query:{...o&&{filter:o.trim()}}}),i=(o,m)=>(m||"").trim()?new q(o,{...B,keys:["name","subtitle","tags"]}).search(m).map(I=>I.item):o,g=$(()=>i(c(t),c(p)));let r;return w(async()=>{await F(),r=new N(".mark-element")}),P([p,r],()=>{y.value=c(p),r?.unmark(),c(p)&&r?.mark(c(p),{element:"span",className:"mark-highlight"})}),{filteredApps:g,filterTerm:p,setFilterTerm:_,filterTermInput:y}}}),se={class:"mt-0 text-lg app-list-headline"},oe={class:"flex items-center mb-4"},ae=["textContent"];function ne(e,t,k,f,p,y){const _=s("app-contextual-helper"),i=s("oc-text-input"),g=s("no-content-message"),r=s("app-tile"),o=s("oc-list");return u(),b("div",null,[n("h1",se,[a(h(e.$gettext("App Store"))+" ",1),l(_)]),t[0]||(t[0]=a()),n("div",oe,[l(i,{id:"apps-filter","model-value":e.filterTermInput,label:e.$gettext("Search"),"clear-button-enabled":!0,autocomplete:"off","onUpdate:modelValue":e.setFilterTerm},null,8,["model-value","label","onUpdate:modelValue"])]),t[1]||(t[1]=a()),e.filteredApps.length?(u(),A(o,{key:1,class:"grid [grid-template-columns:repeat(auto-fill,minmax(300px,1fr))] gap-4"},{default:d(()=>[(u(!0),b(D,null,U(e.filteredApps,m=>(u(),A(r,{key:`app-${m.repository.name}-${m.id}`,app:m,onSearch:e.setFilterTerm},null,8,["app","onSearch"]))),128))]),_:1})):(u(),A(g,{key:0,icon:"store"},{message:d(()=>[n("span",{textContent:h(e.$gettext("No apps found matching your search"))},null,8,ae)]),_:1}))])}const Ae=T(te,[["render",ne]]);export{Ae as default}; diff --git a/web-dist/js/chunks/AppList-BHv8wwAD.mjs.gz b/web-dist/js/chunks/AppList-BHv8wwAD.mjs.gz new file mode 100644 index 0000000000..ebc5b3bc92 Binary files /dev/null and b/web-dist/js/chunks/AppList-BHv8wwAD.mjs.gz differ diff --git a/web-dist/js/chunks/AppLoadingSpinner-D4wmhWZf.mjs b/web-dist/js/chunks/AppLoadingSpinner-D4wmhWZf.mjs new file mode 100644 index 0000000000..f900497283 --- /dev/null +++ b/web-dist/js/chunks/AppLoadingSpinner-D4wmhWZf.mjs @@ -0,0 +1 @@ +import{M as n,aL as o,u as s,I as a,aZ as r}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{_ as t}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";const i=n({name:"AppLoadingSpinner"}),p={class:"flex items-center justify-center size-full"};function c(_,d,l,m,f,u){const e=r("oc-spinner");return o(),s("div",p,[a(e,{id:"app-loading-spinner",size:"large","aria-hidden":!0,"aria-label":""})])}const $=t(i,[["render",c]]);export{$ as A}; diff --git a/web-dist/js/chunks/AppLoadingSpinner-D4wmhWZf.mjs.gz b/web-dist/js/chunks/AppLoadingSpinner-D4wmhWZf.mjs.gz new file mode 100644 index 0000000000..d38a4aa83d Binary files /dev/null and b/web-dist/js/chunks/AppLoadingSpinner-D4wmhWZf.mjs.gz differ diff --git a/web-dist/js/chunks/AppWrapperRoute-BFHFMQoF.mjs b/web-dist/js/chunks/AppWrapperRoute-BFHFMQoF.mjs new file mode 100644 index 0000000000..99b16454d0 --- /dev/null +++ b/web-dist/js/chunks/AppWrapperRoute-BFHFMQoF.mjs @@ -0,0 +1 @@ +import{M as z,cl as Ae,cq as He,aD as Ce,az as xe,aU as $,bk as e,aZ as _,aL as x,u as O,s as H,t as W,H as C,bL as fe,bB as Qe,v as E,cm as ie,d8 as Ge,co as Ye,c9 as J,q as u,bW as re,bQ as Je,c1 as Lt,c6 as Pt,da as Ze,a_ as Mt,F as Xe,bJ as Z,I as P,bO as Dt,bV as Et,bb as K,bE as Ne,cr as Ot,aY as Tt,ar as Bt,bM as Ut,c0 as Ve,c8 as qt,c7 as Nt,cU as _e,cs as Vt,a5 as ze}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{a as _t,D as zt}from"./locale-tv0ZmyWq.mjs";import{f as me}from"./index-lRhEXmMs.mjs";import{r as jt,u as Wt,t as Kt,m as Ht,c as Qt}from"./vue-router-CmC7u3Bn.mjs";import{C as je,x as Gt,K as Yt,M as Jt,v as Zt,n as Xt}from"./SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import{bC as et,b9 as eo,bA as tt,bB as to}from"./resources-CL0nvFAd.mjs";import{a as ot,V as Fe,W as Ie,v as nt,k as oo,a1 as no,x as so,F as ao,O as ro,P as io,z as co,d as lo,H as se}from"./FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs";import{a as uo}from"./ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs";import{_ as ce}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";import{c as We}from"./OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import{a as po,d as mo}from"./useAppDefaults-BUVwG3-M.mjs";import{u as Re}from"./useClientService-BP8mjZl2.mjs";import{u as X,f as Ke}from"./modals-DsP9TGnr.mjs";import{u as st}from"./messages-bd5_8QAH.mjs";import{a as fo}from"./extensionRegistry-3T3I8mha.mjs";import{u as vo}from"./useRoute-BGFNOdqM.mjs";import{u as ho}from"./useRouteParam-C9SJn9Mp.mjs";import{u as go}from"./useLoadingService-CLoheuuI.mjs";import{A as at}from"./AppLoadingSpinner-D4wmhWZf.mjs";import{t as bo}from"./toNumber-BQH-f3hb.mjs";const yo=z({name:"FilePickerModal",components:{AppLoadingSpinner:at},props:{modal:{type:Object,required:!0},allowedFileTypes:{type:Array,required:!0},parentFolderLink:{type:Object,required:!0},callbackFn:{type:Function,required:!0}},setup(t){const o=$(),c=$(!0),A=Ae(),{removeModal:m}=X(),h=He(),r=A.resolve(t.parentFolderLink),l=h.currentTheme.name,a=new URL(r.href,window.location.origin);a.searchParams.append("hide-logo","true"),a.searchParams.append("embed","true"),a.searchParams.append("embed-target","file"),a.searchParams.append("embed-delegate-authentication","false"),a.searchParams.append("embed-file-types",t.allowedFileTypes.join(","));const g=()=>{c.value=!1,e(o).contentWindow.focus()},S=({data:y})=>{if(y.name!=="opencloud-embed:file-pick")return;const{resource:w,locationQuery:f}=y.data;t.callbackFn({resource:w,locationQuery:f}),m(t.modal.id)},b=({data:y})=>{y.name==="opencloud-embed:cancel"&&m(t.modal.id)};return Ce(()=>{window.addEventListener("message",S),window.addEventListener("message",b)}),xe(()=>{window.removeEventListener("message",S),window.removeEventListener("message",b)}),{isLoading:c,onLoad:g,iframeTitle:l,iframeSrc:a.href,iframeRef:o,onFilePick:S}}}),wo={class:"h-full",tabindex:"0"},So=["title","src"];function Ao(t,o,c,A,m,h){const r=_("app-loading-spinner");return x(),O("div",wo,[t.isLoading?(x(),H(r,{key:0})):W("",!0),o[1]||(o[1]=C()),fe(E("iframe",{ref:"iframeRef",class:"size-full",title:t.iframeTitle,src:t.iframeSrc,tabindex:"0",onLoad:o[0]||(o[0]=(...l)=>t.onLoad&&t.onLoad(...l))},null,40,So),[[Qe,!t.isLoading]])])}const Co=ce(yo,[["render",Ao]]),xo=({appId:t})=>{const{$gettext:o}=ie(),c=ot(),{dispatchModal:A}=X(),m=Ge(),{apps:h}=Ye(m),r=Ae(),{getParentFolderLink:l}=Fe(),{getMatchingSpace:a}=Ie(),{getEditorRouteOpts:g}=nt(),S=({resources:w})=>{const f=e(h)[t],v=l(w[0]),d=f.extensions.map(I=>I.extension?I.extension:I.mimeType);A({elementClass:"file-picker-modal",title:o("Open file in %{app}",{app:f.name}),customComponent:Co,hideActions:!0,customComponentAttrs:()=>({allowedFileTypes:d,parentFolderLink:v,callbackFn:y}),focusTrapInitial:!1})},b=u(()=>[{name:"open-with-app",icon:"folder-open",handler:S,label:()=>o("Open"),isVisible:()=>!e(c),class:"oc-files-actions-open-with-app-trigger"}]),y=({resource:w,locationQuery:f})=>{const v=a(w),d=J(v)?v.id:void 0,I=g(e(r.currentRoute).name,v,w,d);I.query={...I.query,...f};const U=r.resolve(I),q=new URL(U.href,window.location.origin);window.open(q.href,"_blank")};return{actions:b,onFilePicked:y}},Fo=z({name:"SaveAsModal",components:{AppLoadingSpinner:at},props:{modal:{type:Object,required:!0},parentFolderLink:{type:Object,required:!0},originalResource:{type:Object,required:!0},content:{type:String,required:!0}},setup(t){const o=$(),c=$(!0),A=He(),{$gettext:m}=ie(),h=Ae(),r=Re(),{removeModal:l}=X(),{showMessage:a,showErrorMessage:g}=st(),{getMatchingSpace:S}=Ie(),{getEditorRouteOpts:b}=nt(),y=h.resolve(t.parentFolderLink),w=A.currentTheme.name,f=new URL(y.href,window.location.origin);f.searchParams.append("hide-logo","true"),f.searchParams.append("embed","true"),f.searchParams.append("embed-target","location"),f.searchParams.append("embed-choose-file-name","true"),f.searchParams.append("embed-delegate-authentication","false"),f.searchParams.append("embed-choose-file-name-suggestion",t.originalResource.name);const v=()=>{c.value=!1,e(o).contentWindow.focus()},d=async({data:k})=>{if(k.name!=="opencloud-embed:select")return;const{resources:R,fileName:M,locationQuery:N}=k.data,B=R[0],V=S(B);try{const L=await I({destinationFolder:B,fileName:M,space:V});a({title:m("»%{fileName}« was saved successfully",{fileName:L.name})}),U({resource:L,space:V,locationQuery:N})}catch(L){console.error(L),g({title:m("Unable to save »%{fileName}«",{fileName:M}),errors:[L]}),console.error(L)}l(t.modal.id)},I=async({destinationFolder:k,fileName:R,space:M})=>{const{children:N}=await r.webdav.listFiles(M,{fileId:k.fileId},{davProperties:[re.Name]});return N.find(V=>V.name===R)&&(R=oo(R,t.originalResource.extension,N)),r.webdav.putFileContents(M,{fileName:R,parentFolderId:k.id,content:t.content,path:Je(k.path,R)})},U=({locationQuery:k,resource:R,space:M})=>{const N=J(M)?M.id:void 0,B=b(e(h.currentRoute).name,M,R,N);B.query={...B.query,...k};const V=h.resolve(B),L=new URL(V.href,window.location.origin);window.open(L.href,"_blank")},q=({data:k})=>{k.name==="opencloud-embed:cancel"&&l(t.modal.id)};return Ce(()=>{window.addEventListener("message",d),window.addEventListener("message",q)}),xe(()=>{window.removeEventListener("message",d),window.removeEventListener("message",q)}),{isLoading:c,onLoad:v,iframeTitle:w,iframeSrc:f.href,iframeRef:o,onLocationPick:d}}}),Io={class:"h-full",tabindex:"0"},Ro=["title","src"];function ko(t,o,c,A,m,h){const r=_("app-loading-spinner");return x(),O("div",Io,[t.isLoading?(x(),H(r,{key:0})):W("",!0),o[1]||(o[1]=C()),fe(E("iframe",{ref:"iframeRef",class:"size-full",title:t.iframeTitle,src:t.iframeSrc,tabindex:"0",onLoad:o[0]||(o[0]=(...l)=>t.onLoad&&t.onLoad(...l))},null,40,Ro),[[Qe,!t.isLoading]])])}const $o=ce(Fo,[["render",ko]]),Lo=({content:t})=>{const{$gettext:o}=ie(),c=ot(),{dispatchModal:A}=X(),{getParentFolderLink:m}=Fe(),h=({resources:l})=>{const a=m(l[0]);A({elementClass:"save-as-modal",title:o("Save as"),customComponent:$o,hideActions:!0,customComponentAttrs:()=>({content:e(t),parentFolderLink:a,originalResource:l[0]}),focusTrapInitial:!1})};return{actions:u(()=>[{name:"save-as",icon:"save-2",handler:h,label:()=>o("Save as"),isVisible:({resources:l})=>!e(c)||l.length!==1,class:"oc-files-actions-save-as-trigger"}])}},Po=()=>{const t=Re(),o=et(),c=u(()=>o.spaces),A=a=>e(c).find(g=>a.toString().startsWith(g.id.toString())),m=a=>e(c).find(g=>Pt(g)&&g.root?.remoteItem?.id===a),h=(a,g)=>{const S=[re.FileId,re.FileParent,re.Name,re.ResourceType],b=eo({id:a,name:""});return t.webdav.getFileInfo(b,{fileId:a},{davProperties:S,signal:g})},r=me(function*(a,g){let S,b,y=A(g);if(y)return S=yield t.webdav.getPathForFileId(g,{signal:a}),b=yield t.webdav.getFileInfo(y,{path:S},{signal:a}),{space:y,resource:b,path:S};yield o.loadMountPoints({graphClient:t.graphAuthenticated,signal:a});let w=m(g);b=yield h(g,a);const f=w?[]:[e(b).name];let v=e(b);for(;!w;)v=yield h(v.parentFolderId,a),w=m(v.id),w||f.unshift(v.name);return y=o.getSpace(w.root?.remoteItem?.id)||o.createShareSpace({driveAliasPrefix:b.storageId?.startsWith(Lt)?"ocm-share":"share",id:w.root?.remoteItem?.id,shareName:w.name}),S=Je(...f),{space:y,resource:b,path:S}}).restartable();return{getResourceContext:a=>r.perform(a)}},Mo={class:"oc-app-top-bar self-center flex col-[1/4] row-2 sm:col-2 sm:row-1 [&_.parent-folder]:text-role-on-chrome"},Do={class:"pl-4 pr-1 my-2 mx-auto sm:m-0 inline-flex items-center justify-between bg-role-chrome border border-role-on-chrome rounded-lg h-10 gap-4 w-full sm:w-fit"},Eo={class:"open-file-bar flex"},Oo={class:"flex"},To={key:1,class:"flex items-center","data-testid":"autosave-indicator"},Bo=z({__name:"AppTopBar",props:{dropDownMenuSections:{default:()=>[]},dropDownActionOptions:{default:()=>({space:null,resources:[]})},mainActions:{default:()=>[]},hasAutoSave:{type:Boolean,default:!0},isEditor:{type:Boolean,default:!1},resource:{default:null},isReadOnly:{type:Boolean,default:!0}},emits:["close"],setup(t){const{$gettext:o,current:c}=ie(),A=tt(),m=Ze(),{getMatchingSpace:h}=Ie(),{getParentFolderName:r,getPathPrefix:l,getParentFolderLinkIconAdditionalAttributes:a}=Fe(),g=u(()=>A.areFileExtensionsShown),S=u(()=>o("Show context menu")),b=u(()=>t.isEditor&&t.hasAutoSave&&m.options.editor.autosaveEnabled),y=u(()=>{const v=_t.fromObject({seconds:m.options.editor.autosaveInterval},{locale:c});return o("Autosave (every %{ duration })",{duration:v.toHuman()})}),w=u(()=>h(t.resource)),f=u(()=>!Et(e(w)));return(v,d)=>{const I=_("oc-icon"),U=_("oc-button"),q=_("oc-drop"),k=Mt("oc-tooltip");return x(),O("div",Mo,[E("div",Do,[E("div",Eo,[t.resource?(x(),H(uo,{key:0,id:"app-top-bar-resource",class:"[&_.oc-resource-name]:max-w-60 xs:[&_.oc-resource-name]:max-w-full sm:[&_.oc-resource-name]:max-w-20 md:[&_.oc-resource-name]:max-w-60 [&_svg]:!fill-role-on-chrome [&_span]:text-role-on-chrome","is-thumbnail-displayed":!1,"is-extension-displayed":g.value,"path-prefix":e(l)(t.resource),resource:t.resource,"parent-folder-name":e(r)(t.resource),"parent-folder-link-icon-additional-attributes":e(a)(t.resource),"is-path-displayed":f.value,"is-resource-clickable":!1},null,8,["is-extension-displayed","path-prefix","resource","parent-folder-name","parent-folder-link-icon-additional-attributes","is-path-displayed"])):W("",!0)]),d[6]||(d[6]=C()),E("div",Oo,[t.dropDownMenuSections.length?(x(),O(Xe,{key:0},[fe((x(),H(U,{id:"oc-openfile-contextmenu-trigger","aria-label":S.value,appearance:"raw-inverse","color-role":"chrome",class:"p-1"},{default:Z(()=>[P(I,{name:"more-2"})]),_:1},8,["aria-label"])),[[k,S.value]]),d[2]||(d[2]=C()),P(q,{"drop-id":"oc-openfile-contextmenu",mode:"click","padding-size":"small",toggle:"#oc-openfile-contextmenu-trigger","close-on-click":"",title:t.resource.name,onClick:d[0]||(d[0]=Dt(()=>{},["stop","prevent"]))},{default:Z(()=>[P(je,{"menu-sections":t.dropDownMenuSections,"action-options":t.dropDownActionOptions},null,8,["menu-sections","action-options"])]),_:1},8,["title"])],64)):W("",!0),d[3]||(d[3]=C()),b.value&&!t.isReadOnly?(x(),O("span",To,[fe(P(I,{"accessible-label":y.value,name:"refresh",color:"white",class:"ox-p-xs mx-1"},null,8,["accessible-label"]),[[k,y.value]])])):W("",!0),d[4]||(d[4]=C()),t.mainActions.length&&t.resource?(x(),H(je,{key:2,"menu-sections":[{name:"main-actions",items:t.mainActions.filter(R=>R.isVisible()).map(R=>({...R,class:"p-1 text-role-on-chrome [&_svg]:!fill-role-on-chrome [&:hover:not(:disabled)_svg]:!fill-role-chrome",hideLabel:!0}))}],"action-options":{resources:[t.resource]},appearance:"raw-inverse","color-role":"chrome"},null,8,["menu-sections","action-options"])):W("",!0),d[5]||(d[5]=C()),P(U,{id:"app-top-bar-close",appearance:"raw-inverse","color-role":"chrome",class:"p-1","aria-label":e(o)("Close"),onClick:d[1]||(d[1]=R=>v.$emit("close"))},{default:Z(()=>[P(I,{name:"close"})]),_:1},8,["aria-label"])])])])}}}),Uo=z({name:"ErrorScreen",props:{message:{default:"",type:String,required:!1}}}),qo={class:"text-center flex justify-center items-center h-full"},No={key:0,class:"text-xl"};function Vo(t,o,c,A,m,h){const r=_("oc-icon");return x(),O("div",qo,[P(r,{size:"xxlarge",name:"error-warning","fill-type":"line"}),o[0]||(o[0]=C()),t.message?(x(),O("p",No,K(t.message),1)):W("",!0)])}const _o=ce(Uo,[["render",Vo]]),zo=z({name:"LoadingScreen"}),jo={class:"text-center flex justify-center items-center h-full"},Wo=["textContent"];function Ko(t,o,c,A,m,h){const r=_("oc-spinner");return x(),O("div",jo,[P(r,{size:"xlarge"}),o[0]||(o[0]=C()),E("p",{class:"sr-only",textContent:K(t.$gettext("Loading app"))},null,8,Wo)])}const Ho=ce(zo,[["render",Ko]]),Qo=z({name:"UnsavedChangesModal",props:{modal:{type:Object,required:!0},closeCallback:{type:Function,required:!0}},emits:["cancel","confirm"],setup(t){const{removeModal:o}=X();return{onClose:()=>{o(t.modal.id),t.closeCallback()}}}}),Go=["textContent"],Yo={class:"flex justify-end items-center mt-4"},Jo={class:"oc-modal-body-actions-grid"};function Zo(t,o,c,A,m,h){const r=_("oc-button");return x(),O(Xe,null,[E("span",{class:"inline-block mb-4",textContent:K(t.$gettext("Your changes were not saved. Do you want to save them?"))},null,8,Go),o[4]||(o[4]=C()),o[5]||(o[5]=E("div",{class:"my-4"},null,-1)),o[6]||(o[6]=C()),E("div",Yo,[E("div",Jo,[P(r,{class:"oc-modal-body-actions-cancel ml-2",onClick:o[0]||(o[0]=l=>t.$emit("cancel"))},{default:Z(()=>[C(K(t.$gettext("Cancel")),1)]),_:1}),o[2]||(o[2]=C()),P(r,{class:"oc-modal-body-actions-secondary ml-2",onClick:t.onClose},{default:Z(()=>[C(K(t.$gettext("Don't Save")),1)]),_:1},8,["onClick"]),o[3]||(o[3]=C()),P(r,{class:"oc-modal-body-actions-confirm ml-2",appearance:"filled",onClick:o[1]||(o[1]=l=>t.$emit("confirm"))},{default:Z(()=>[C(K(t.$gettext("Save")),1)]),_:1})])])],64)}const Xo=ce(Qo,[["render",Zo]]),en=["id"],tn=["textContent"],on={key:2,class:"flex size-full"},ae="app.app-wrapper.app-top-bar",nn=z({__name:"AppWrapper",props:{applicationId:{},urlForResourceOptions:{default:null},fileContentOptions:{default:null},wrappedComponent:{default:null},importResourceWithExtension:{type:Function,default:()=>null},disableAutoSave:{type:Boolean,default:!1}},setup(t){const{$gettext:o,current:c}=ie(),A=Ge(),{showMessage:m,showErrorMessage:h}=st(),r=jt(),l=vo(),a=Re(),g=go(),{getResourceContext:S}=Po(),{selectedResources:b}=no(),{dispatchModal:y}=X(),w=et(),f=Ze(),v=tt(),d=to(),I=Zt(),{isMobile:U}=Ht(),q=Wt(),{isSideBarOpen:k}=Ye(q),{actions:R}=xo({appId:t.applicationId}),{actions:M}=so(),{actions:N}=ao(),{actions:B}=ro(),{actions:V}=io(),{actions:L}=co(),ke=u(()=>!!t.wrappedComponent.emits?.includes("update:resource")),i=$(),F=$(),ve=$(""),he=$(""),le=$(!e(ke)),ee=$(),ue=$(!1),ge=$(),Q=$();let $e="",be=null;const{registerExtensions:rt,unregisterExtensions:de}=fo(),it=u(()=>e(le)||e(ee)||!e(i)?[]:[{id:ae,type:"customComponent",extensionPointIds:["app.runtime.header.left"],content:Bo,componentProps:()=>({resource:e(i),isReadOnly:e(ue),isEditor:e(te),hasAutoSave:!t.disableAutoSave,mainActions:e(kt),dropDownMenuSections:e(Rt),dropDownActionOptions:e(ne),onClose:()=>{G()}})}]);rt(it);const{actions:ct}=Lo({content:Q}),te=u(()=>!!t.wrappedComponent.emits?.includes("update:currentContent")),ye=n=>!!Object.keys(t.wrappedComponent.props).includes(n),j=u(()=>e(Q)!==e(ge)),we=n=>{n.preventDefault()};Ne(j,n=>{n?window.addEventListener("beforeunload",we):window.removeEventListener("beforeunload",we)});const{applicationConfig:lt,closeApp:G,currentFileContext:D,getFileContents:ut,getFileInfo:dt,getUrlForResource:Le,putFileContents:pt,replaceInvalidFileRoute:mt,revokeUrl:Pe,activeFiles:ft,loadFolderForFileContext:vt,isFolderLoading:ht}=po({applicationId:t.applicationId}),{applicationMeta:Me}=mo({applicationId:t.applicationId,appsStore:A}),pe=u(()=>e(Me).meta?.fileSizeLimit),gt=u(()=>{const{name:n}=e(Me);return o("%{appName} for %{fileName}",{appName:o(n),fileName:e(e(D).fileName)})}),bt=ho("driveAliasAndItem"),yt=Ot("fileId"),wt=u(()=>Vt(e(yt))),St=async()=>{const n=e(wt),{space:s,path:p}=await S(n),T=s.getDriveAliasAndItem({path:p});return Nt(s)?r.push({params:{...e(l).params,driveAliasAndItem:T},query:{...e(l).query,fileId:n,contextRouteName:"files-spaces-generic",contextRouteParams:{driveAliasAndItem:_e.dirname(T)}}}):r.push({params:{...e(l).params,driveAliasAndItem:T},query:{...e(l).query,fileId:n,contextRouteName:p==="/"?"files-shares-with-me":"files-spaces-generic",...J(s)&&{shareId:s.id},contextRouteParams:{driveAliasAndItem:_e.dirname(T)},contextRouteQuery:{...J(s)&&{shareId:s.id}}}})},At=me(function*(n){try{e(bt)||(yield St()),F.value=e(e(D).space);const s=yield dt(e(D),{signal:n});if(i.value=s,J(e(F))&&(e(i).remoteItemId=e(F).id,e(i).id===e(i).remoteItemId)){const p=yield*We(Xt({graphClient:a.graphAuthenticated,spacesStore:w,space:e(F)}));p&&(i.value={...s,...Qt({graphRoles:d.graphRoles,driveItem:p,serverUrl:f.serverUrl}),tags:s.tags})}v.initResourceList({currentFolder:null,resources:[e(i)]}),b.value=[e(i)]}catch(s){console.error(s),ee.value=s,le.value=!1}}).restartable(),De=me(function*(n){try{const s=t.importResourceWithExtension(e(i));if(s){const p=zt.local().toFormat("yyyyMMddHHmmss"),T=`${e(i).name}_${p}.${s}`;if(!(yield a.webdav.copyFiles(e(F),e(i),e(F),{path:T},{signal:n})))throw new Error(o("Importing failed"));i.value={path:T}}if(mt(D,e(i)))return;if(ue.value=![Ve.Updateable,Ve.FileUpdateable].some(p=>(e(i).permissions||"").indexOf(p)>-1),e(ye("currentContent"))){const p=yield*We(ut(D,{...t.fileContentOptions,signal:n}));ge.value=Q.value=p.body,ve.value=p.headers["OC-ETag"]}e(ye("url"))&&(he.value=yield Le(e(F),e(i),{...t.urlForResourceOptions,signal:n}))}catch(s){console.error(s),ee.value=s}finally{le.value=!1}}).restartable();Ne(D,async()=>{e(ke)?F.value=e(e(D).space):(await At.perform(),e(pe)&&bo(e(i).size)>e(pe)?y({title:o("File exceeds %{threshold}",{threshold:Ke(e(pe),c)}),message:o("%{resource} exceeds the recommended size of %{threshold} for editing, and may cause performance issues.",{resource:e(i).name,threshold:Ke(e(pe),c)}),confirmText:o("Continue"),onCancel:()=>{G()},onConfirm:()=>{De.perform()}}):De.perform())},{immediate:!0});const oe=n=>{console.error(n),h({title:o("An error occurred"),desc:n.message,errors:[n]})},Ee=()=>{m({title:o("File autosaved")})},Ct=me(function*(){const n=e(Q);try{const s=yield pt(D,{content:n,previousEntityTag:e(ve)});ge.value=n,ve.value=s.etag,v.upsertResource(s)}catch(s){switch(s.statusCode){case 401:case 403:oe(new se(o("You're not authorized to save this file"),s.response));break;case 409:case 412:oe(new se(o("This file was updated outside this window. Please copy your changes or save the file under a new name (»Save As...«)."),s.response));break;case 507:const p=w.spaces.find(T=>T.id===e(i).storageId&&qt(T));if(p){oe(new se(o('Insufficient quota on "%{spaceName}" to save this file',{spaceName:p.name}),s.response));break}oe(new se(o("Insufficient quota for saving this file"),s.response));break;default:oe(new se("",s.response))}}}).drop(),Y=async()=>{await Ct.perform()};let Se=null;Ce(()=>{if($e=I.subscribe("runtime.resource.deleted",It),v.ancestorMetaData?.["/"]&&e(F)&&v.ancestorMetaData["/"].spaceId!==e(F).id&&v.setAncestorMetaData({}),!e(te))return;const n=f.options.editor;n.autosaveEnabled&&!t.disableAutoSave&&(Se=setInterval(async()=>{j.value&&(await Y(),Ee())},(n.autosaveInterval||120)*1e3))}),xe(()=>{I.unsubscribe("runtime.resource.deleted",$e),de([ae]),g.isLoading||window.removeEventListener("beforeunload",we),e(ye("url"))&&Pe(he.value),e(te)&&(clearInterval(Se),Se=null)});const{bindKeyAction:xt}=Gt({skipDisabledKeyBindingsCheck:!0});xt({modifier:Jt.Ctrl,primary:Yt.S},()=>{e(j)&&Y()});const Oe=u(()=>[{name:"save-file",disabledTooltip:()=>"",isVisible:()=>e(te)&&!e(ue),isDisabled:()=>!e(j),icon:"save",id:"app-save-action",label:()=>o("Save"),handler:Y}]),ne=u(()=>({space:e(F),resources:[e(i)]})),Ft=async(n,s)=>{e(j)&&(await Y(),Ee()),s(n)},It=n=>{if(n.find(p=>p.id===e(i).id)){if(be)return be();G()}},Te=u(()=>[...e(R),...e(Oe),...e(ct).map(n=>({...n,isVisible:s=>te.value&&n.isVisible(s)}))].filter(n=>n.isVisible(e(ne)))),Be=u(()=>[...e(V),...e(M)].filter(n=>n.isVisible(e(ne)))),Ue=u(()=>[...e(N).map(n=>({...n,handler:s=>Ft(s,n.handler)})),...e(L)].filter(n=>n.isVisible(e(ne)))),qe=u(()=>[...e(B)].filter(n=>n.isVisible(e(ne)))),Rt=u(()=>{const n=[];return e(Te).length&&n.push({name:"context",items:e(Te)}),e(Be).length&&n.push({name:"share",items:e(Be)}),e(Ue).length&&n.push({name:"actions",items:e(Ue)}),e(qe).length&&n.push({name:"sidebar",items:e(qe)}),n}),kt=u(()=>[...e(Oe)]);Kt((n,s,p)=>{e(j)?y({title:o("Unsaved changes"),customComponent:Xo,focusTrapInitial:".oc-modal-body-actions-confirm",hideActions:!0,hideCancelButton:!0,customComponentAttrs:()=>({closeCallback:()=>{de([ae]),p()}}),async onConfirm(){de([ae]),await Y(),p()}}):(de([ae]),p())});const $t=u(()=>({url:e(he),space:e(e(D).space),resource:e(i),activeFiles:e(ft),isDirty:e(j),isReadOnly:e(ue),applicationConfig:e(lt),currentFileContext:e(D),currentContent:e(Q),isFolderLoading:e(ht),"onUpdate:resource":n=>{F.value=e(e(D).space),i.value={...n,...J(e(F))&&{remoteItemId:e(F).id}},b.value=[e(i)]},"onUpdate:currentContent":n=>{Q.value=n},"onRegister:onDeleteResourceCallback":n=>{be=n},"onDelete:resource":()=>{e(L)[0].isVisible({space:e(F),resources:[e(i)]})&&e(L)[0].handler({space:e(F),resources:[e(i)]})},onSave:Y,onClose:G,loadFolderForFileContext:vt,revokeUrl:Pe,getUrlForResource:Le}));return(n,s)=>(x(),O("main",{id:t.applicationId,class:"app-wrapper h-full border-0",onKeydown:s[0]||(s[0]=Ut((...p)=>e(G)&&e(G)(...p),["esc"]))},[E("h1",{class:"sr-only",textContent:K(gt.value)},null,8,tn),s[2]||(s[2]=C()),le.value?(x(),H(Ho,{key:0})):ee.value?(x(),H(_o,{key:1,message:ee.value.message},null,8,["message"])):(x(),O("div",on,[Tt(n.$slots,"default",Bt({class:["app-wrapper-content size-full",{"w-[calc(100%-360px)]":e(k)&&!e(U)}]},$t.value)),s[1]||(s[1]=C()),P(lo,{space:F.value},null,8,["space"])]))],40,en))}});function Fn(t,o){return z({render(){return ze(nn,{wrappedComponent:t,...o},{default:c=>ze(t,c)})}})}export{Fn as A,Co as F,$o as S,Xo as U,Bo as _,nn as a,Lo as b,Po as c,xo as u}; diff --git a/web-dist/js/chunks/AppWrapperRoute-BFHFMQoF.mjs.gz b/web-dist/js/chunks/AppWrapperRoute-BFHFMQoF.mjs.gz new file mode 100644 index 0000000000..32199d063f Binary files /dev/null and b/web-dist/js/chunks/AppWrapperRoute-BFHFMQoF.mjs.gz differ diff --git a/web-dist/js/chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs b/web-dist/js/chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs new file mode 100644 index 0000000000..6e9bb8f8a5 --- /dev/null +++ b/web-dist/js/chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs @@ -0,0 +1 @@ +import{M as Ve,aL as se,u as Be,v as re,bb as ye,H as oe,F as dt,cm as E,aU as ee,q as v,bk as n,aZ as Qe,s as le,t as Ce,I as De,bJ as Ae,cU as U,cj as ft,ee as qt,da as Z,c8 as N,c6 as Ge,c5 as jt,c1 as zt,d8 as ht,cl as j,co as ie,c9 as ae,d4 as _t,ef as Ht,cn as fe,cZ as _,cX as ve,cW as H,dx as Ut,bV as Ne,c7 as qe,d9 as he,ca as mt,cY as Q,cQ as pt,de as Kt,cd as Qt,cM as we,cP as Gt,cS as gt,cR as je,eg as Je,bQ as Jt,cr as Xe,cs as Ze,af as Ye,bE as et,ar as Xt,aO as Se,aT as $e}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u as bt,a as St}from"./extensionRegistry-3T3I8mha.mjs";import{f as ke,k as Zt,l as Yt,u as ze,j as es,i as tt,h as st}from"./vue-router-CmC7u3Bn.mjs";import{bn as yt,bo as ts,bm as vt,bC as Re,bq as ss,bA as z,bw as de,bv as ns,bp as os,bf as nt,bB as rs,ae as as}from"./resources-CL0nvFAd.mjs";import{u as Oe}from"./useAbility-DLkgdurK.mjs";import{a as is,q as cs,w as wt,P as Ie,v as Ft,x as ls,M as us,K as ds,l as fs,p as Fe,k as ot,j as hs}from"./SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import{u as K}from"./messages-bd5_8QAH.mjs";import{u as ce,f as ms}from"./modals-DsP9TGnr.mjs";import{u as G}from"./useClientService-BP8mjZl2.mjs";import{aK as me}from"./user-C7xYeMZ3.mjs";import{u as Pe}from"./useLoadingService-CLoheuuI.mjs";import{u as ps}from"./useWindowOpen-BMCzbqTR.mjs";import{e as rt}from"./eventBus-B07Yv2pA.mjs";import{t as gs}from"./download-Bmys4VUp.mjs";import{u as bs}from"./useRoute-BGFNOdqM.mjs";import{v as Ct}from"./v4-EwEgHOG0.mjs";import{_ as At}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";import{u as Ss}from"./useRouteParam-C9SJn9Mp.mjs";import{_ as ys,b as vs}from"./ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs";import{c as at}from"./OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import{f as it}from"./index-lRhEXmMs.mjs";class kt extends Error{response;statusCode;constructor(t,s,o=null){super(t),this.response=s,this.statusCode=o}}class On extends kt{errorCode;constructor(t,s,o,i=null){super(t,o,i),this.errorCode=s}}const Rt=({message:e,statusCode:t,xReqId:s})=>{const o=new Response(void 0,{headers:{"x-request-id":s},status:t});return new kt(e,o,t)};function ws(e){return e==null}function Fs(e){if(e===void 0)throw new Error('cloneStateObject: cannot clone "undefined"');return JSON.parse(JSON.stringify(e))}const Ee=(e,t)=>!e||!t?!1:e.id===t.id,Cs=Ve({name:"SpaceMoveInfoModal",props:{modal:{type:Object,required:!0}}}),As=["textContent"],ks=["textContent"];function Rs(e,t,s,o,i,u){return se(),Be(dt,null,[re("p",{class:"mt-0",textContent:ye(e.$gettext("Moving files from one space to another is not possible. Do you want to copy instead?"))},null,8,As),t[0]||(t[0]=oe()),re("p",{class:"mb-0",textContent:ye(e.$gettext("Note: Links and shares of the original file are not copied."))},null,8,ks)],64)}const Is=At(Cs,[["render",Rs]]),Ps=Ve({name:"ResourceConflictModal",props:{modal:{type:Object,required:!0},resource:{type:Object,required:!0},conflictCount:{type:Number,required:!0},callbackFn:{type:Function,required:!0},suggestMerge:{type:Boolean,default:!0},separateSkipHandling:{type:Boolean,default:!1},confirmSecondaryTextOverwrite:{type:String,default:null}},setup(e){const{removeModal:t}=ce(),{$gettext:s}=E(),o=ee(!1),i=v(()=>e.conflictCount<2?"":e.separateSkipHandling?e.resource.isFolder?s("Apply to all %{count} folders",{count:e.conflictCount.toString()}):s("Apply to all %{count} files",{count:e.conflictCount.toString()}):s("Apply to all %{count} conflicts",{count:e.conflictCount.toString()})),u=v(()=>e.resource.isFolder?s("Folder with name »%{name}« already exists.",{name:e.resource.name}):s("File with name »%{name}« already exists.",{name:e.resource.name})),c=v(()=>e.confirmSecondaryTextOverwrite||s("Replace"));return{message:u,checkboxValue:o,checkboxLabel:i,confirmSecondaryText:c,onConfirm:()=>{t(e.modal.id),e.callbackFn({strategy:ue.KEEP_BOTH,doForAllConflicts:n(o)})},onConfirmSecondary:()=>{t(e.modal.id);const h=e.suggestMerge?ue.MERGE:ue.REPLACE;e.callbackFn({strategy:h,doForAllConflicts:n(o)})},onCancel:()=>{t(e.modal.id),e.callbackFn({strategy:ue.SKIP,doForAllConflicts:n(o)})}}}}),xs=["textContent"],Ls={class:"my-4"},Ts={class:"flex justify-end items-center mt-4"},Ms={class:"oc-modal-body-actions-grid"};function $s(e,t,s,o,i,u){const c=Qe("oc-checkbox"),a=Qe("oc-button");return se(),Be(dt,null,[re("span",{class:"inline-block mb-4",textContent:ye(e.message)},null,8,xs),t[3]||(t[3]=oe()),re("div",Ls,[e.conflictCount>1?(se(),le(c,{key:0,modelValue:e.checkboxValue,"onUpdate:modelValue":t[0]||(t[0]=p=>e.checkboxValue=p),size:"medium",label:e.checkboxLabel,"aria-label":e.checkboxLabel},null,8,["modelValue","label","aria-label"])):Ce("",!0)]),t[4]||(t[4]=oe()),re("div",Ts,[re("div",Ms,[De(a,{class:"oc-modal-body-actions-cancel ml-2",onClick:e.onCancel},{default:Ae(()=>[oe(ye(e.$gettext("Skip")),1)]),_:1},8,["onClick"]),t[1]||(t[1]=oe()),De(a,{class:"oc-modal-body-actions-secondary ml-2",onClick:e.onConfirmSecondary},{default:Ae(()=>[oe(ye(e.confirmSecondaryText),1)]),_:1},8,["onClick"]),t[2]||(t[2]=oe()),De(a,{class:"oc-modal-body-actions-confirm ml-2",appearance:"filled",onClick:e.onConfirm},{default:Ae(()=>[oe(ye(e.$gettext("Keep both")),1)]),_:1},8,["onClick"])])])],64)}const Ds=At(Ps,[["render",$s]]);class Es{constructor(t,s){this.$gettext=t,this.$ngettext=s}async resolveAllConflicts(t,s,o){const i=[];for(const d of t){const h=U.join(s.path,d.name);o.some(l=>l.path===h)&&i.push({resource:d,strategy:null})}let u=0,c=!1,a=null;const p=[];for(const d of i){if(c){d.strategy=a,p.push(d);continue}const h=i.length-u,r=await this.resolveFileExists(d.resource,h);d.strategy=r.strategy,p.push(d),u+=1,r.doForAllConflicts&&(c=!0,a=r.strategy)}return p}resolveFileExists(t,s,o=!1,i=!1){const{dispatchModal:u}=ce();return new Promise(c=>{u({title:t.isFolder?this.$gettext("Folder already exists"):this.$gettext("File already exists"),hideActions:!0,hideCancelButton:!0,customComponent:Ds,customComponentAttrs:()=>({resource:t,conflictCount:s,suggestMerge:o,separateSkipHandling:i,callbackFn:a=>{c(a)}})})})}resolveDoCopyInsteadOfMoveForSpaces(){const{dispatchModal:t}=ce();return new Promise(s=>{t({title:this.$gettext("Copy here?"),customComponent:Is,confirmText:this.$gettext("Copy here"),onCancel:()=>{s(!1)},onConfirm:()=>Promise.resolve(s(!0))})})}}const It=(e,t,s,o=1)=>{let i;return t?i=`${yt({name:e,extension:t})} (${o}).${t}`:i=`${e} (${o})`,s.some(c=>c.name===i)?It(e,t,s,o+1):i},Wn=(e,t,s,o)=>e.id===s.id&&U.dirname(t.path)===o.path;var ue=(e=>(e[e.SKIP=0]="SKIP",e[e.REPLACE=1]="REPLACE",e[e.KEEP_BOTH=2]="KEEP_BOTH",e[e.MERGE=3]="MERGE",e))(ue||{}),Vs=(e=>(e[e.COPY=0]="COPY",e[e.MOVE=1]="MOVE",e))(Vs||{});const Os=({resourcesStore:e,parentFolderId:t})=>{const s=e.currentFolder;if(!s||!s.id)return!1;if(ts(s.id)){if(s.id!==t)return!1}else{const o=s.id.split("$")[1];if(`${s.id}!${o}`!==t)return!1}return!0};function ct(e,t,s){return t.name=U.basename(s),t.path=s,t.webDavPath=U.join(e.webDavPath,s),t.extension=vt(t),t}class lt{static Cut="cut";static Copy="copy"}const _e=()=>window.navigator.platform.match("Mac"),Pt=ft("clipboard",()=>{const{$gettext:e}=E(),{showMessage:t}=K(),s=ee(),o=ee([]);return{action:s,resources:o,copyResources:a=>{a[0]?.canDownload()&&(s.value=lt.Copy,o.value=a,t({title:e("Copied to clipboard!"),status:"success"}))},cutResources:a=>{a[0]?.canDownload()&&(s.value=lt.Cut,o.value=a,t({title:e("Cut to clipboard!"),status:"success"}))},clearClipboard:()=>{s.value=void 0,o.value=[]}}}),xt=ft("webWorkers",()=>{const e=ee([]);return{createWorker:(u,{needsTokenRenewal:c=!1}={})=>{const a=Ct(),p=qt(u,{type:"module",name:a}),d={id:a,needsTokenRenewal:c,...p};return n(e).push(d),d},terminateWorker:u=>{const c=n(e).find(a=>u===a.id);c&&(c.terminate(),e.value=n(e).filter(a=>u!==a.id))},terminateAllWorkers:()=>{n(e).forEach(({terminate:u})=>{u()}),e.value=[]},updateAccessTokens:u=>{n(e).filter(({needsTokenRenewal:c})=>c).forEach(({post:c})=>{c(JSON.stringify({topic:"tokenUpdate",data:{accessToken:`Bearer ${u}`}}))})}}}),pe=e=>{const t=me(),s=Re(),o=Z(),i=v(()=>s.spaces),u=Ss("driveAliasAndItem"),c=r=>n(e?.space)||n(i).find(l=>l.id===r),a=r=>{let l=r.storageId;(n(u)?.startsWith("public/")||n(u)?.startsWith("ocm/"))&&(l=n(u).split("/")[1]);const f=c(l);if(f&&!Ge(f))return f;const C=Zt(r)&&r.shareTypes.includes(jt.remote.value)||r?.id?.toString().startsWith(zt)?"ocm-share":"share";let S;return r.remoteItemPath?S=U.basename(r.remoteItemPath):n(u)?.startsWith("share/")||n(u)?.startsWith("ocm-share/")?S=n(u).split("/")[1]:S=r.name,s.getSpace(r.remoteItemId)||s.createShareSpace({driveAliasPrefix:C,id:r.remoteItemId,shareName:S})},p=r=>n(i).filter(l=>Ge(l)&&ss(l.root.remoteItem.rootId)===r.id);return{getInternalSpace:c,getMatchingSpace:a,isPersonalSpaceRoot:r=>r?.storageId&&r?.storageId===s.personalSpace?.storageId&&r?.path==="/"&&!ke(r),isResourceAccessible:({space:r,path:l})=>{if(!o.options.routing.fullShareOwnerPaths)return!0;const f=n(i).some(S=>N(S)&&S.id===r.id);return r.isOwner(t.user)||f||p(r).some(S=>l.startsWith(S.root.remoteItem.path))}}},Lt=()=>{const e=bt(),t=G(),s=E();return{headers:v(()=>{const i=new is({accessToken:e.accessToken,publicLinkToken:e.publicLinkToken,publicLinkPassword:e.publicLinkPassword});return{"Accept-Language":s.current,"Initiator-ID":t.initiatorId,"X-Request-ID":Ct(),...i.getHeaders()}})}};function Ws(e){return new Worker(""+new URL("../../assets/worker-BRWaI2hx.js",import.meta.url).href,{name:e?.name})}const Bs=({concurrentRequests:e=4}={})=>{const t=Z(),s=Pe(),{headers:o}=Lt(),{createWorker:i,terminateWorker:u}=xt(),c=({topic:p,space:d,resources:h},r)=>{const l=i(Ws,{needsTokenRenewal:!0});let f;n(l.worker).onmessage=C=>{u(l.id),f?.(!0);const{successful:S,failed:w}=JSON.parse(C.data),m=w.map(({resource:A,...b})=>({resource:A,error:Rt(b)}));r({successful:S,failed:m})},s.addTask(()=>new Promise(C=>{f=C})),l.post(a({topic:p,space:d,resources:h}))},a=({topic:p,space:d,resources:h})=>JSON.stringify({topic:p,data:{space:d,resources:h,concurrentRequests:e,baseUrl:t.serverUrl,headers:{...n(o),"X-Request-ID":void 0}}});return{startWorker:c}};function Ns(e){return new Worker(""+new URL("../../assets/worker-CLot5EGZ.js",import.meta.url).href,{name:e?.name})}const qs=()=>{const e=Z(),t=Pe(),{headers:s}=Lt(),{createWorker:o,terminateWorker:i}=xt(),u=({space:a,resources:p,missingFolderPaths:d},h)=>{const r=o(Ns,{needsTokenRenewal:!0});let l;n(r.worker).onmessage=f=>{i(r.id),l?.(!0);const{successful:C,failed:S}=JSON.parse(f.data),w=S.map(({resource:m,...A})=>({resource:m,error:Rt(A)}));h({successful:C,failed:w})},t.addTask(()=>new Promise(f=>{l=f})),r.post(c({space:a,resources:p,missingFolderPaths:d}))},c=({space:a,resources:p,missingFolderPaths:d})=>JSON.stringify({topic:"startProcess",data:{space:a,resources:p,missingFolderPaths:d,baseUrl:e.serverUrl,headers:{...n(s),"X-Request-ID":void 0}}});return{startWorker:u}},Bn=()=>{const e=ht(),t=j(),s=Et(),{isEnabled:o}=Yt(),{requestExtensions:i}=St(),u=We(),{openUrl:c}=ps(),a=Z(),{options:p}=ie(a),{actions:d}=Qs(),{actions:h}=nn(),{actions:r}=js(),{actions:l}=_s(),{actions:f}=Hs(),{actions:C}=Ks(),{actions:S}=$t(),{actions:w}=rn(),{actions:m}=Gs(),{actions:A}=Xs(),{actions:b}=Zs(),{actions:P}=en(),{actions:L}=Dt(),{actions:k}=zs(),{actions:R}=an(),M=v(()=>[...n(C),...n(S),...n(l),...n(A),...n(r),...n(P),...n(k),...n(L),...n(d),...n(h),...n(f),...n(m),...n(R)]),q=v(()=>(i({id:"global.files.context-actions",extensionType:"action"})||[]).map(g=>g.action).filter(g=>ws(g.category)||g.category==="context"||g.category==="actions")),Y=v(()=>n(o)?[]:e.fileExtensions.map(g=>{const y=e.apps[g.app];return{name:`editor-${g.app}`,label:()=>g.label?typeof g.label=="function"?g.label():g.label:y.name,icon:g.icon||y.icon,...y.iconFillType&&{iconFillType:y.iconFillType},img:y.img,route:({space:I,resources:D})=>x({appFileExtension:g,space:I,resource:D[0]}),handler:I=>te(g,I.space,I.resources[0]),isVisible:({resources:I})=>!n(u)||I.length!==1||!I[0].canDownload()&&!g.secureView||!n(s)&&fe(t,"files-trash-generic")?!1:I[0].extension&&g.extension?I[0].extension.toLowerCase()===g.extension.toLowerCase():I[0].mimeType&&g.mimeType?I[0].mimeType.toLowerCase()===g.mimeType.toLowerCase()||I[0].mimeType.split("/")[0].toLowerCase()===g.mimeType.toLowerCase():!1,hasPriority:g.hasPriority,class:`oc-files-actions-${Ht(y.name).toLowerCase()}-trigger`}}).sort((g,y)=>y.hasPriority!==g.hasPriority&&y.hasPriority?1:0)),x=({appFileExtension:g,space:y,resource:I})=>{const D=ae(y)?y.id:void 0;let V=g.routeName;if(V&&!t.hasRoute(V))return console.warn(`App "${g.app}" specifies routeName "${V}" but no such route exists.`),null;if(V=V||g.app,!V||!t.hasRoute(V))return null;const F=O(V,y,I,D);return t.resolve(F)},O=(g,y,I,D,V)=>({name:g,params:{driveAliasAndItem:y?.getDriveAliasAndItem(I)},query:{...D&&{shareId:D},...I.fileId&&n(p).routing.idBased&&{fileId:I.fileId},...V&&{templateId:V},..._t(n(t.currentRoute))}}),te=(g,y,I)=>{const D=ae(y)?y.id:void 0,V=g.routeName||g.app,F=O(V,y,I,D);if(n(p).cernFeatures){const T=t.resolve(F).href,J=`${g.routeName}-${I.path}`;c(T,J,!0);return}t.push(F)},ne=g=>{const y=$(g);y&&y.handler({...g})},$=g=>{const y=B(g);if(y.length)return y[0].name===n(S)[0].name?n(w)[0]:y[0]},B=g=>{const y=V=>V.isVisible(g),I=[...n(q),...n(Y),...n(b)].filter(y).sort((V,F)=>Number(F.hasPriority)-Number(V.hasPriority)),D=g.omitSystemActions?[]:n(M).filter(y);return[...I,...D]};return{getDefaultAction:$,getAllOpenWithActions:B,getEditorRouteOpts:O,openEditor:te,triggerDefaultAction:ne}},js=()=>{const e=Z(),t=j(),{copyResources:s}=Pt(),o=E(),{$gettext:i}=o,u=z(),{currentFolder:c}=ie(u),a=v(()=>_e()?i("⌘ + C"):i("Ctrl + C")),p=({resources:h})=>{H(t,"files-common-search")&&(h=h.filter(r=>!N(r))),s(h)};return{actions:v(()=>[{name:"copy",icon:"file-copy-2",handler:p,shortcut:n(a),label:()=>i("Copy"),isVisible:({resources:h})=>{if(!_(t,"files-spaces-generic")&&!ve(t,"files-public-link")&&!H(t,"files-common-favorites")&&!H(t,"files-common-search")||_(t,"files-spaces-projects")||h.length===0)return!1;if(ve(t,"files-public-link"))return n(c)?.canCreate();if(H(t,"files-common-search")&&h.every(r=>N(r)))return!1;if(n(e.options.runningOnEos)){const r=h[0].path?.split("/").filter(Boolean)||[];if(_(t,"files-spaces-generic")&&r.length<5)return!1}return!!n(h)[0].canDownload()},class:"oc-files-actions-copy-trigger"}])}};function Tt(){return{interceptModifierClick:(t,s)=>{if(!t||!s)return!1;const o=t.shiftKey,i=t.ctrlKey||t.metaKey;return!o&&!i?!1:(t.stopPropagation?.(),t.stopImmediatePropagation?.(),o&&rt.publish("app.files.list.clicked.shift",{resource:s,skipTargetSelection:!1}),i&&rt.publish("app.files.list.clicked.meta",s),!0)}}}const Nn=()=>{const{showMessage:e,showErrorMessage:t}=K(),{$gettext:s}=E(),{copy:o}=Ut(),{interceptModifierClick:i}=Tt(),u=async a=>{try{await o(a),e({title:s("The link has been copied to your clipboard.")})}catch(p){t({title:s("Copy link failed"),errors:[p]})}};return{actions:v(()=>[{name:"copy-permanent-link",icon:"link",label:()=>s("Copy permanent link"),handler:a=>{const{resources:p,event:d}=a,h=p[0];if(!(d&&i(d,h)))return u(h.privateLink)},isVisible:({space:a,resources:p})=>!(p.length!==1||Ne(a)||de(p[0])),class:"oc-files-actions-copy-permanent-link-trigger"}])}},zs=()=>{const{showMessage:e,showErrorMessage:t}=K(),{can:s}=Oe(),{$gettext:o,$ngettext:i}=E(),{createSpace:u}=cs(),c=G(),a=j(),p=v(()=>s("create-all","Drive")),{dispatchModal:d}=ce(),h=Z(),r=Re(),l=z(),{isSpaceNameValid:f}=wt(),C=async({spaceName:m,resources:A,space:b})=>{const{webdav:P}=c,L=new Ie({concurrency:h.options.concurrentRequests.resourceBatchActions}),k=[];try{const R=await u(m);r.upsertSpace(R),A.length===1&&A[0].isFolder&&(A=(await P.listFiles(b,{path:A[0].path})).children);for(const M of A)k.push(L.add(()=>P.copyFiles(b,M,R,{path:M.name})));await Promise.all(k),l.resetSelection(),e({title:o("Space was created successfully")})}catch(R){console.error(R);const M=R.statusCode===425?o("Some files could not be copied"):o("Creating space failed…");t({title:M,errors:[R]})}},S=({resources:m,space:A})=>{d({title:i("Create Space from »%{resourceName}«","Create Space from selection",m.length,{resourceName:m[0].name}),message:i("Create Space with the content of »%{resourceName}«.","Create Space with the selected files.",m.length,{resourceName:m[0].name}),contextualHelperLabel:o("The marked elements will be copied."),contextualHelperData:{title:o("Restrictions"),text:o("Shares, versions and tags will not be copied.")},confirmText:o("Create"),hasInput:!0,inputLabel:o("Space name"),inputRequiredMark:!0,onInput:(b,P)=>{const{isValid:L,error:k}=f(b);P(L?null:k)},onConfirm:b=>C({spaceName:b,space:A,resources:m})})};return{actions:v(()=>[{name:"create-space-from-resource",icon:"function",handler:S,label:()=>o("Create Space from selection"),isVisible:({resources:m,space:A})=>!(!m.length||!n(p)||!_(a,"files-spaces-generic")||!qe(A)),class:"oc-files-actions-create-space-from-resource-trigger"}])}},_s=()=>{const e=me(),t=he(),{displayDialog:s,filesList_delete:o}=cn(),{$gettext:i}=E();return{actions:v(()=>[{name:"delete",icon:"delete-bin-5",label:()=>i("Delete"),handler:({resources:c})=>{o(c)},isVisible:({resources:c})=>c.length?c.every(a=>a.canBeDeleted()&&!mt(a)&&!ke(a)&&!de(a)&&!a.isShareRoot()):!1,isDisabled:({resources:c})=>c.length===1&&c[0].locked,disabledTooltip:()=>i("File can't be deleted because it is currently locked."),class:"oc-files-actions-delete-trigger"},{name:"delete-permanent",icon:"delete-bin-5",label:()=>i("Delete"),handler:({space:c,resources:a})=>{s(c,a)},isVisible:({space:c,resources:a})=>!a.length||!t.filesPermanentDeletion||N(c)&&!c.canDeleteFromTrashBin({user:e.user})?!1:a.every(de),class:"oc-files-actions-delete-permanent-trigger"}])}},Hs=()=>{const{showMessage:e,showErrorMessage:t}=K(),s=j(),{$gettext:o,$ngettext:i}=E(),u=G(),c=Pe(),a=Z(),{updateResourceField:p}=z(),d=async({resources:r})=>{const l=[],f=[],C=new Ie({concurrency:a.options.concurrentRequests.resourceBatchActions});if(r.forEach(S=>{f.push(C.add(async()=>{try{const{graphAuthenticated:w}=u;await w.driveItems.deleteDriveItem(S.driveId,S.id),p({id:S.id,field:"syncEnabled",value:!1})}catch(w){console.error(w),l.push(w)}}))}),await Promise.all(f),l.length===0){_(s,"files-spaces-generic")&&(e({title:i("Sync for the selected share was disabled successfully","Sync for the selected shares was disabled successfully",r.length)}),s.push(pt("files-shares-with-me")));return}t({title:i("Failed to disable sync for the the selected share","Failed to disable sync for the selected shares",r.length),errors:l})};return{actions:v(()=>[{name:"disable-sync",icon:"spam-3",handler:r=>c.addTask(()=>d(r)),label:()=>o("Disable sync"),isVisible:({space:r,resources:l})=>!Q(s,"files-shares-with-me")&&!_(s,"files-spaces-generic")||l.length===0||_(s,"files-spaces-generic")&&(r?.driveType!=="share"||l.length>1||l[0].path!=="/")?!1:l.some(f=>f.syncEnabled),class:"oc-files-actions-disable-sync-trigger"}])}},Us=()=>Kt("$archiverService"),Ks=()=>{const{showErrorMessage:e}=K(),t=j(),s=Us(),{$ngettext:o,$gettext:i,current:u}=E(),c=bt(),a=We(),p=({space:r,resources:l})=>(l.length>1&&(l=l.filter(f=>f.canDownload()&&!N(f))),s.triggerDownload({fileIds:l.map(f=>f.fileId),...r&&Ne(r)&&{publicToken:r.id,publicLinkPassword:c.publicLinkPassword}}).catch(f=>{console.error(f),e({title:o("Failed to download the selected folder.","Failed to download the selected files.",l.length),errors:[f]})})),d=r=>{const l=n(s.capability);return l?r.reduce((C,S)=>C+parseInt(`${S.size}`),0)>parseInt(l.max_size):void 0};return{actions:v(()=>[{name:"download-archive",icon:"inbox-archive",handler:r=>{p(r)},label:()=>i("Download"),disabledTooltip:({resources:r})=>d(r)?i("The selection exceeds the allowed archive size (max. %{maxSize})",{maxSize:ms(n(s.capability).max_size,u)}):"",isDisabled:({resources:r})=>d(r),isVisible:({resources:r})=>n(a)&&!_(t,"files-spaces-generic")&&!ve(t,"files-public-link")&&!H(t,"files-common-favorites")&&!H(t,"files-common-search")&&!Q(t,"files-shares-with-me")&&!Q(t,"files-shares-with-others")&&!Q(t,"files-shares-via-link")&&!H(t,"files-common-search")||!n(s.available)||r.length===0||r.length===1&&!r[0].isFolder||r.length>1&&r.every(f=>N(f))||N(r[0])&&r[0].disabled?!1:!r.some(f=>!f.canDownload()),class:"oc-files-actions-download-archive-trigger"}])}},Mt=e=>{const{showErrorMessage:t}=K(),{getMatchingSpace:s}=pe(),o=e?.clientService||G(),{$gettext:i}=E(),u=me();return{downloadFile:async(a=null,p,d=null)=>{try{a||(a=s(p));const h=await o.webdav.getFileUrl(a,p,{version:d,username:u.user?.onPremisesSamAccountName});gs(h,p.name)}catch(h){console.error(h),t({title:i("Download failed"),desc:i("File could not be located"),errors:[h]})}}}},$t=()=>{const e=j(),{$gettext:t}=E(),s=We(),o=Et(),{downloadFile:i}=Mt(),u=({space:a,resources:p})=>{i(a,p[0])};return{actions:v(()=>[{name:"download-file",icon:"file-download",handler:u,label:()=>t("Download"),isVisible:({resources:a})=>n(s)&&!n(o)&&!_(e,"files-spaces-generic")&&!ve(e,"files-public-link")&&!H(e,"files-common-favorites")&&!H(e,"files-common-search")&&!Q(e,"files-shares-with-me")&&!Q(e,"files-shares-with-others")&&!Q(e,"files-shares-via-link")||a.length!==1||a[0].isFolder?!1:a[0].canDownload(),class:"oc-files-actions-download-file-trigger"}])}},Qs=()=>{const{showMessage:e,showErrorMessage:t}=K(),s=j(),{$gettext:o,$ngettext:i}=E(),u=G(),c=Pe(),a=Z(),p=z(),{updateResourceField:d}=p,h=async({resources:l})=>{const f=[],C=[],S=new Ie({concurrency:a.options.concurrentRequests.resourceBatchActions});if(l.forEach(w=>{C.push(S.add(async()=>{try{const{graphAuthenticated:m}=u;await m.driveItems.createDriveItem(w.driveId,{name:w.name,remoteItem:{id:w.fileId}}),d({id:w.id,field:"syncEnabled",value:!0})}catch(m){console.error(m),f.push(m)}}))}),await Promise.all(C),f.length===0){p.resetSelection(),_(s,"files-spaces-generic")&&e({title:i("Sync for the selected share was enabled successfully","Sync for the selected shares was enabled successfully",l.length)});return}t({title:i("Failed to enable sync for the the selected share","Failed to enable sync for the selected shares",l.length),errors:f})};return{actions:v(()=>[{name:"enable-sync",icon:"check",handler:l=>c.addTask(()=>h(l)),label:()=>o("Enable sync"),isVisible:({space:l,resources:f})=>!Q(s,"files-shares-with-me")&&!_(s,"files-spaces-generic")||f.length===0||_(s,"files-spaces-generic")&&(n(l)?.driveType!=="share"||f.length>1||f[0].path!=="/")?!1:f.some(C=>!C.syncEnabled),class:"oc-files-actions-enable-sync-trigger"}])}},Gs=()=>{const{showErrorMessage:e}=K(),t=he(),s=j(),{$gettext:o}=E(),i=G(),u=We(),c=Oe(),a=z(),p=Ft(),d=async({space:r,resources:l})=>{try{const f=!l[0].starred;await i.webdav.setFavorite(r,l[0],f),a.updateResourceField({id:l[0].id,field:"starred",value:f}),f||p.publish("app.files.list.removeFromFavorites",l[0].id)}catch(f){const C=o('Failed to change favorite state of "%{file}"',{file:l[0].name});e({title:C,errors:[f]})}};return{actions:v(()=>[{name:"favorite",icon:"star",handler:d,label:({resources:r})=>r[0].starred?o("Remove from favorites"):o("Add to favorites"),isVisible:({resources:r})=>n(u)&&!_(s,"files-spaces-generic")&&!H(s,"files-common-favorites")||r.length!==1?!1:t.filesFavorites&&c.can("create","Favorite"),class:"oc-files-actions-favorite-trigger"}])}};function Js(e,t){const s=e.isReceivedShare()||e.isMounted(),o=t===""&&s;return e.canBeDeleted()&&!o}const Xs=()=>{const e=j(),{cutResources:t}=Pt(),s=E(),{$gettext:o}=s,i=z(),{currentFolder:u}=ie(i),c=v(()=>_e()?o("⌘ + X"):o("Ctrl + X")),a=({resources:d})=>{t(d)};return{actions:v(()=>[{name:"cut",icon:"scissors",handler:a,shortcut:n(c),label:()=>o("Cut"),isVisible:({resources:d})=>!_(e,"files-spaces-generic")&&!ve(e,"files-public-link")&&!H(e,"files-common-favorites")||d.length===0||!n(u)||d.length===1&&d[0].locked?!1:!d.some(r=>Js(r,n(u).path)===!1),class:"oc-files-actions-move-trigger"}])}},Zs=()=>{const e=j(),{$gettext:t}=E(),s=z(),{currentFolder:o}=ie(s),i=v(()=>ve(e,"files-public-link")?Gt("files-public-link"):fe(e,"files-trash-overview")?gt("files-trash-generic"):je("files-spaces-generic"));return{actions:v(()=>[{name:"navigate",icon:"folder-open",label:()=>t("Navigate"),isVisible:({resources:c})=>c.length!==1||n(o)!==null&&Ee(c[0],n(o))||de(c[0])?!1:c[0].isFolder||c[0].type==="space",route:({space:c,resources:a})=>Qt({},n(i),we(c,{path:a[0].path,fileId:a[0].fileId})),class:"oc-files-actions-navigate-trigger"}])}},Ys=(e={})=>{const t=j(),{getMatchingSpace:s}=pe(e);return{createFolderLink:i=>{const{path:u,fileId:c,resource:a}=i,p=n(e.space)||s(a);return p?fe(t,"files-trash-overview")?gt("files-trash-generic",we(p)):je("files-spaces-generic",we(p,{path:u,fileId:c})):{}}}},qn=(e={})=>{const t=he(),{$gettext:s}=E(),{getInternalSpace:o,getMatchingSpace:i,isResourceAccessible:u}=pe(),{createFolderLink:c}=Ys(e);return{getPathPrefix:l=>{const f=n(e.space)||i(l);return N(f)?Je.join(s("Spaces"),f.name):ae(f)?Je.join(s("Shares"),f.name):f.name},getFolderLink:l=>c({path:l.path,fileId:l.fileId,resource:l}),getParentFolderLink:l=>{const f=n(e.space)||i(l),C=u({space:f,path:U.dirname(l.path)});return l.remoteItemId&&l.path==="/"||!C?pt("files-shares-with-me"):N(l)?je("files-spaces-projects"):c({path:U.dirname(l.path),...l.parentFolderId&&{fileId:l.parentFolderId},resource:l})},getParentFolderName:l=>{const f=n(e.space)||i(l),C=u({space:f,path:U.dirname(l.path)});if(ns(l)||l.id===f.id&&ae(f)||!C)return s("Shared with me");const w=os(l);if(w)return w;if(ae(f))return f.name;if(t.spacesProjects){if(N(l))return s("Spaces");if(f?.driveType==="project")return f.name}return s("Personal")},getParentFolderLinkIconAdditionalAttributes:l=>N(l)||N(o(l.storageId)||{})&&l.path.split("/").length===2?{name:"layout-grid","fill-type":"fill"}:{}}},en=()=>{const{showErrorMessage:e}=K(),t=he(),s=j(),{$gettext:o}=E(),i=G(),u=Z(),{dispatchModal:c}=ce(),a=me(),p=Oe(),d=z(),{setCurrentFolder:h,upsertResource:r}=d,{isFileNameValid:l}=wt(),f=async(w,m,A)=>{let b=d.currentFolder;try{const P=U.join(U.dirname(m.path),A);await i.webdav.moveFiles(w,m,w,{path:P});const L=Ee(m,b);if(ae(w)&&m.isReceivedShare()){if(w.rename(A),L)return b={...b},b.name=A,h(b),s.push(we(w,{path:"",fileId:m.fileId}));const R={...m};R.name=A,r(R);return}if(L)return b={...b},ct(w,b,P),h(b),s.push(we(w,{path:P,fileId:m.fileId}));const k={...m};ct(w,k,P),r(k)}catch(P){console.error(P);let L=o('Failed to rename "%{file}" to »%{newName}«',{file:m.name,newName:A});P.statusCode===423&&(L=o("Failed to rename »%{file}« to »%{newName}« - the file is locked",{file:m.name,newName:A})),e({title:L,errors:[P]})}},C=async({space:w,resources:m})=>{const A=d.currentFolder;let b;if(Ee(m[0],A)){const O=U.dirname(A.path);b=(await i.webdav.listFiles(w,{path:O})).children}const P=d.areFileExtensionsShown,L=async O=>{P||(O=`${O}.${m[0].extension}`),await f(w,m[0],O)},k=(O,te)=>{P||(O=`${O}.${m[0].extension}`);const{isValid:ne,error:$}=l(m[0],O,b);te(ne?null:$)},R=yt(m[0]),M=!m[0].isFolder&&!P?R:m[0].name,q=m[0].isFolder?o("Rename folder »%{name}«",{name:M}):o("Rename file »%{name}«",{name:M}),Y=!m[0].isFolder&&!P?R:m[0].name,x=m[0].isFolder||!P?null:[0,R.length];c({title:q,confirmText:o("Rename"),hasInput:!0,inputValue:Y,inputSelectionRange:x,inputLabel:m[0].isFolder?o("Folder name"):o("File name"),inputRequiredMark:!0,onConfirm:L,onInput:k})};return{actions:v(()=>[{name:"rename",icon:"pencil",label:()=>o("Rename"),handler:C,isVisible:({resources:w})=>fe(s,"files-trash-generic")||Q(s,"files-shares-with-me")&&!t.sharingCanRename||w.length!==1||(u.options.routing.fullShareOwnerPaths?w.some(b=>b.remoteItemPath&&b.path):w.some(b=>b.remoteItemId&&b.path==="/"))||w.length===1&&w[0].locked?!1:!w.some(b=>!b.canRename({user:a.user,ability:p})||b.processing),class:"oc-files-actions-rename-trigger"}]),renameResource:f}},Dt=({showSuccessMessage:e=!0,onRestoreComplete:t}={})=>{const{showMessage:s,showErrorMessage:o}=K(),i=me(),u=j(),{$gettext:c,$ngettext:a}=E(),p=G(),d=Re(),h=z(),{startWorker:r}=qs(),l=async(m,A)=>{const b={},P=[],L=[],k=[];for(const R of A){const M=U.dirname(R.path);let q=[];if(M in b)q=b[M];else{try{q=(await p.webdav.listFiles(m,{path:M})).children}catch{k.push(M)}b[M]=q}q.some(x=>x.name===R.name)||L.filter(x=>x.id!==R.id).some(x=>x.path===R.path)?P.push(R):L.push(R)}return{existingResourcesByPath:b,conflicts:P,resolvedResources:L,missingFolderPaths:k.filter(R=>!b[R]?.length)}},f=async m=>{let A=0;const b=[],P=m.length;let L=!1,k;for(const R of m){const M=R.type==="folder";if(L){b.push({resource:R,strategy:k});continue}const q=P-A,x=await new Es(c,a).resolveFileExists({name:R.name,isFolder:M},q,!1);A++,x.doForAllConflicts&&(L=!0,k=x.strategy),b.push({resource:R,strategy:x.strategy})}return b},C=(m,A,b)=>{const P=n(u.currentRoute);r({space:m,resources:A,missingFolderPaths:b},async({successful:L,failed:k})=>{if(L.length){let R;L.length===1?R=c("%{resource} was restored successfully",{resource:L[0].name}):R=c("%{resourceCount} files restored successfully",{resourceCount:L.length.toString()}),e&&s({title:R}),P.name===n(u.currentRoute).name&&P.query?.fileId===n(u.currentRoute).query?.fileId&&(h.removeResources(L),h.resetSelection());const q=await p.graphAuthenticated.drives.getDrive(m.id);d.updateSpaceField({id:q.id,field:"spaceQuota",value:q.spaceQuota}),t?.({space:m,resources:L})}if(k.length){let R;k.length===1?R=c('Failed to restore "%{resource}"',{resource:k[0].resource.name}):R=c("Failed to restore %{resourceCount} files",{resourceCount:k.length.toString()}),o({title:R,errors:k.map(({error:M})=>M)})}})},S=async({space:m,resources:A})=>{const b=A.sort((x,O)=>x.path.length-O.path.length),{existingResourcesByPath:P,conflicts:L,resolvedResources:k,missingFolderPaths:R}=await l(m,b),M=await f(L),q=M.filter(x=>x.strategy===ue.REPLACE).map(x=>x.resource);k.push(...q);const Y=M.filter(x=>x.strategy===ue.KEEP_BOTH).map(x=>x.resource);for(let x of Y){x={...x};const O=U.dirname(x.path),te=P[O]||[],ne=vt(x),$=It(x.name,ne,[...te,...M.map(B=>B.resource),...k]);x.name=$,x.path=Jt(O,$),k.push(x)}return C(m,k,R)};return{actions:v(()=>[{name:"restore",icon:"arrow-go-back",label:()=>c("Restore"),handler:S,isVisible:({space:m,resources:A})=>!fe(u,"files-trash-generic")||!A.every(b=>de(b)&&b.canBeRestored())||N(m)&&!m.canRestoreFromTrashbin({user:i.user})?!1:A.length>0,class:"oc-files-actions-restore-trigger"}]),restoreResources:C,collectConflicts:l}},jn=()=>{const e=j(),t=z(),{openSideBar:s}=ze(),{$gettext:o}=E();return{actions:v(()=>[{name:"show-details",icon:"information",class:"oc-files-actions-show-details-trigger",label:()=>o("Details"),isVisible:({resources:u})=>fe(e,"files-trash-generic")?!1:u.length>0,handler({resources:u}){t.setSelection(u.map(({id:c})=>c)),s()}}])}},tn=()=>{const e=he(),{isPersonalSpaceRoot:t}=pe();return{canListShares:({space:o,resource:i})=>!e.sharingApiEnabled||Ne(o)||t(i)||de(i)?!1:ke(i)?i.sharePermissions.includes(nt.readPermissions):ae(o)?o.graphPermissions?.includes(nt.readPermissions):!0}},sn=()=>{const e=he(),t=Oe(),s=me();return{canShare:({space:i,resource:u})=>!e.sharingApiEnabled||ae(i)||N(i)&&!i.canShare({user:s.user})?!1:u.canShare({ability:t,user:s.user})}},zn=()=>{const e=j(),{$gettext:t}=E(),{canShare:s}=sn(),{openSideBarPanel:o}=ze(),{interceptModifierClick:i}=Tt(),u=({resources:a,event:p})=>{const d=a[0];p&&i(p,d)||o("sharing")};return{actions:v(()=>[{name:"show-shares",icon:"user-add",label:()=>t("Share"),handler:u,isVisible:({space:a,resources:p})=>fe(e,"files-trash-generic")||p.length!==1?!1:s({space:a,resource:p[0]}),class:"oc-files-actions-show-shares-trigger"}])}},nn=()=>{const{showMessage:e,showErrorMessage:t}=K(),s=j(),{$gettext:o}=E(),i=G(),u=Pe(),c=Z(),{updateResourceField:a,resetSelection:p}=z(),d=async({resources:r})=>{const l=[],f=[],C=new Ie({concurrency:c.options.concurrentRequests.resourceBatchActions}),S=!r[0].hidden;if(r.forEach(w=>{f.push(C.add(async()=>{try{await i.graphAuthenticated.driveItems.updateDriveItem(w.driveId,w.id,{"@UI.Hidden":S}),a({id:w.id,field:"hidden",value:S})}catch(m){console.error(m),l.push(m)}}))}),await Promise.all(f),l.length===0){p(),e({title:o(S?"The share was hidden successfully":"The share was unhidden successfully")});return}t({title:o(S?"Failed to hide the share":"Failed to unhide the share"),errors:l})};return{actions:v(()=>[{name:"toggle-hide-share",icon:"eye-off",handler:r=>u.addTask(()=>d(r)),label:({resources:r})=>r[0].hidden?o("Unhide"):o("Hide"),isVisible:({resources:r})=>r.length===0?!1:Q(s,"files-shares-with-me"),class:"oc-files-actions-hide-share-trigger"}])}},on=()=>{const{$gettext:e}=E(),{showErrorMessage:t}=K(),{webdav:s}=G(),o=he(),i=z(),{currentFolder:u}=ie(i),{actions:c}=Dt({showSuccessMessage:!1,onRestoreComplete:async({space:r,resources:l})=>{if(Os({resourcesStore:i,parentFolderId:l[0].parentFolderId})){const{children:f}=await s.listFiles(r,{path:n(u).path});i.upsertResources(f.filter(({id:C})=>l.some(S=>S.id===a(C))))}}}),a=r=>r.includes("!")?r.split("!")[1]:r,p=async({space:r,resources:l,callback:f})=>{const C=l.map(S=>({...S,id:a(S.id)}));try{await n(c)[0].handler({space:r,resources:C}),f()}catch(S){console.error(S),t({title:e("Failed to restore files"),errors:[S]})}},d=v(()=>_e()?e("⌘ + Z"):e("Ctrl + Z"));return{actions:v(()=>[{name:"undoDelete",icon:"arrow-go-back",shortcut:n(d),isVisible:({space:r})=>o.davTrashbin?N(r)||qe(r):!1,label:()=>e("Undo"),handler:p}])}},rn=()=>{const{$gettext:e}=E(),{actions:t}=$t(),{downloadFile:s}=Mt(),{dispatchModal:o}=ce(),i=({space:c,resources:a})=>{o({title:e("No preview available for »%{name}«",{name:a[0].name}),confirmText:e("Download"),message:e("There is no preview available for this file. Do you want to download it instead?"),onConfirm:()=>{s(c,a[0])}})};return{actions:v(()=>[{name:"fallback-to-download",icon:"file-download",handler:i,label:()=>e("Download"),isVisible:c=>n(t)[0].isVisible(c),class:"oc-files-actions-fallback-to-download-trigger"}])}},an=()=>{const{$gettext:e}=E(),t=G(),{showMessage:s,showErrorMessage:o}=K(),{dispatchModal:i}=ce(),u=z(),c=(d,h)=>{if(h)return h;const r=u.resources.find(l=>l.id===d.parentFolderId);if(r?.immutableState==="protected"||r?.immutableState==="shielded")return"shielded"},a=async(d,h,r,l="POST",f=void 0)=>{const C=t.httpAuthenticated,S=r==="freeze"?"freeze":"protect";try{if((await C.request({method:l,url:`/graph/v1beta1/drives/${d}/items/${h.id}/${S}`})).status===204){u.updateResourceField({id:h.id,field:"immutableState",value:c(h,f)});const m=e(r==="freeze"?"File has been frozen.":l==="POST"?"Folder has been protected.":"Folder protection has been removed.");s({title:m})}}catch(w){o({title:e("Operation failed"),errors:[w]})}};return{actions:v(()=>[{name:"freeze-file",icon:"leaf",label:()=>e("Freeze file"),handler:({space:d,resources:h})=>{const r=h[0];i({title:e("Freeze file permanently?"),confirmText:e("Freeze"),message:e("Freezing a file is irreversible. The file content cannot be changed or deleted afterwards. Are you sure?"),onConfirm:()=>{a(d.id,r,"freeze","POST","frozen")}})},isVisible:({resources:d})=>{if(d.length!==1)return!1;const h=d[0];return h.type==="file"&&!h.immutableState},class:"oc-files-actions-freeze-trigger"},{name:"frozen-file",icon:"snowflake",label:()=>e("File is frozen"),handler:()=>{},isVisible:({resources:d})=>{if(d.length!==1)return!1;const h=d[0];return h.type==="file"&&h.immutableState==="frozen"},isDisabled:()=>!0,disabledTooltip:()=>e("This file is permanently frozen and cannot be modified."),class:"oc-files-actions-frozen-indicator"},{name:"shielded-file",icon:"shield",label:()=>e("File is in a protected folder"),handler:()=>{},isVisible:({resources:d})=>{if(d.length!==1)return!1;const h=d[0];return h.type==="file"&&h.immutableState==="shielded"},isDisabled:()=>!0,disabledTooltip:()=>e("This file is in a protected folder and cannot be modified."),class:"oc-files-actions-shielded-file-indicator"},{name:"protect-folder",icon:"shield",label:d=>d?.resources?.length>1?e("Protect %{count} folders",{count:String(d.resources.length)}):e("Protect folder"),handler:({space:d,resources:h})=>{for(const r of h)a(d.id,r,"protect","POST","protected")},isVisible:({resources:d})=>d.length?d.every(h=>h.type==="folder"&&(!h.immutableState||h.immutableState==="shielded")):!1,class:"oc-files-actions-protect-trigger"},{name:"unprotect-folder",icon:"shield",label:d=>d?.resources?.length>1?e("Unprotect %{count} folders",{count:String(d.resources.length)}):e("Remove protection"),handler:({space:d,resources:h})=>{for(const r of h)a(d.id,r,"protect","DELETE")},isVisible:({resources:d})=>d.length?d.every(h=>h.type==="folder"&&h.immutableState==="protected"):!1,class:"oc-files-actions-unprotect-trigger"}])}},cn=()=>{const e=Z(),{showMessage:t,showErrorMessage:s,removeMessage:o}=K(),i=j(),u=E(),{getMatchingSpace:c}=pe(),{$gettext:a,$ngettext:p}=u,d=G(),{dispatchModal:h}=ce(),r=Re(),l=Ft(),{bindKeyAction:f,removeKeyAction:C}=ls(),{startWorker:S}=Bs({concurrentRequests:e.options.concurrentRequests.resourceBatchActions}),{actions:w}=on(),m=z(),{currentFolder:A}=ie(m),b=ee([]),P=Xe("page","1"),L=v(()=>parseInt(Ze(n(P)))),k=Xe("items-per-page","1"),R=v(()=>parseInt(Ze(n(k)))),M=v(()=>Fs(n(b))),q=({space:$,filesToDelete:B,deletedFiles:g})=>{const y=g.length===1&&B.length===1?a('"%{item}" was moved to trash bin',{item:g[0].name}):p("%{itemCount} item was moved to trash bin","%{itemCount} items were moved to trash bin",g.length,{itemCount:g.length.toString()}),I=7,D=n(w)[0],V=D.isVisible({space:$,resources:g});let F;const T=t({title:y,timeout:I,actions:[D],actionOptions:{space:$,resources:g,callback:()=>{o(T),F&&C(F)}}});V&&(F=f({primary:ds.Z,modifier:us.Ctrl},()=>(C(F),D.handler({space:$,resources:g,callback:()=>{o(T)}}))),setTimeout(()=>C(F),I*1e3))},Y=v(()=>{const $=n(M),B=$[0].type==="folder";let g=null;return $.length===1?(B?g=a("Permanently delete folder »%{name}«",{name:$[0].name}):g=a("Permanently delete file »%{name}«",{name:$[0].name}),g):p("Permanently delete selected resource?","Permanently delete %{amount} selected resources?",$.length,{amount:$.length.toString()})}),x=v(()=>{const $=n(M),B=$[0].type==="folder";return $.length===1?a(B?"Are you sure you want to delete this folder? All its content will be permanently removed. This action cannot be undone.":"Are you sure you want to delete this file? All its content will be permanently removed. This action cannot be undone."):a("Are you sure you want to delete all selected resources? All their content will be permanently removed. This action cannot be undone.")}),O=$=>{const B=n(i.currentRoute);S({topic:"trashBinDelete",space:$,resources:n(M)},({successful:g,failed:y})=>{if(g.length){const I=g.length===1&&n(M).length===1?a('"%{item}" was deleted successfully',{item:g[0].name}):p("%{itemCount} item was deleted successfully","%{itemCount} items were deleted successfully",g.length,{itemCount:g.length.toString()});t({title:I})}y.forEach(({resource:I})=>{const D=a('Failed to delete "%{item}"',{item:I.name});s({title:D,errors:[new Error]})}),B.name===n(i.currentRoute).name&&B.query?.fileId===n(i.currentRoute).query?.fileId&&(m.removeResources(g),m.resetSelection())})};return{displayDialog:($,B)=>{b.value=[...B],h({title:n(Y),message:n(x),confirmText:a("Delete"),onConfirm:()=>O($)})},filesList_delete:$=>{b.value=[...$],m.addResourcesIntoDeleteQueue(n(b).map(({id:y})=>y)),n(b).forEach(({id:y})=>m.removeSelection(y));const B=n($).reduce((y,I)=>{if(I.storageId in y)return y[I.storageId].resources.push(I),y;const D=c(I);return D.id in y||(y[D.id]={space:D,resources:[]}),y[D.id].resources.push(I),y},{}),g=n(A)?.id;return Object.values(B).map(({space:y,resources:I})=>{S({topic:"fileListDelete",space:y,resources:I},async({successful:D,failed:V})=>{if(D.length&&(q({space:y,filesToDelete:I,deletedFiles:D}),l.publish("runtime.resource.deleted",D)),m.removeResourcesFromDeleteQueue(V.map(({resource:F})=>F.id)),m.removeResourcesFromDeleteQueue(D.map(({id:F})=>F)),V.forEach(({error:F,resource:T})=>{let J=a('Failed to delete "%{resource}"',{resource:T.name});F.statusCode===423&&(J=a('Failed to delete "%{resource}" - the file is locked',{resource:T.name})),s({title:J,errors:[F]})}),g===n(A)?.id){m.removeResources(D);const F=m.activeResources.length,T=Math.ceil(n(F)/n(R));n(L)>1&&n(L)>T&&(P.value=T.toString())}if(_(i,"files-spaces-generic")&&!["public","share"].includes(y?.driveType)){const T=await d.graphAuthenticated.drives.getDrive(n($)[0].storageId);r.updateSpaceField({id:T.id,field:"spaceQuota",value:T.spaceQuota})}if(n(b).length&&Ee(n(b)[0],n(A)))return i.push(we(y,{path:U.dirname(n(b)[0].path),fileId:n(b)[0].parentFolderId}))})})}}},ln=e=>e==="files",We=()=>{const e=bs();return v(()=>ln(fs(n(e))))},Et=()=>v(()=>!!document.getElementById("files-global-search-options")),un=()=>{const e=me();return{canListVersions:({space:s,resource:o})=>o.type==="folder"||mt(o)||de(o)?!1:s?.canListVersions({user:e.user})}},dn=()=>{const{getMatchingSpace:e}=pe(),t=z(),s=v({get(){return t.selectedResources},set(c){t.setSelection(c.map(({id:a})=>a))}}),o=v({get(){return t.selectedIds},set(c){t.setSelection(c)}}),i=c=>n(o).includes(c.id),u=v(()=>{if(n(s).length!==1)return null;const c=n(s)[0];return e(c)});return{selectedResources:s,selectedResourcesIds:o,isResourceInSelection:i,selectedResourceSpace:u}},fn={class:"flex justify-between p-2"},hn={class:"flex items-center"},mn={"data-testid":"files-info-name",class:"font-semibold m-0 text-base break-all"},ut=Ve({__name:"FileInfo",props:{isSubPanelActive:{type:Boolean,default:!0}},setup(e){const t=z(),{isPersonalSpaceRoot:s}=pe(),o=Ye("resource"),i=Ye("space"),u=v(()=>t.areFileExtensionsShown),c=v(()=>s(n(o))?n(i).name:n(o).name);return(a,p)=>(se(),Be("div",fn,[re("div",hn,[e.isSubPanelActive?(se(),le(ys,{key:0,resource:n(o),size:"large",class:"mr-2 relative"},null,8,["resource"])):Ce("",!0),p[0]||(p[0]=oe()),re("div",null,[re("h3",mn,[De(vs,{name:c.value,extension:n(o).extension,type:n(o).type,"full-path":n(o).webDavPath,"is-extension-displayed":u.value,"is-path-displayed":!1,"truncate-name":!1,class:"[&_span]:break-all"},null,8,["name","extension","type","full-path","is-extension-displayed"])])])])]))}}),_n=Ve({__name:"FileSideBar",props:{space:{default:()=>{}}},setup(e){const t=j(),s=G(),o=St(),i=Re(),u=rs(),c=Z(),a=ht(),{canListShares:p}=tn(),{canListVersions:d}=un(),h=z(),{currentFolder:r}=ie(h),l=ze(),{isSideBarOpen:f,sideBarActivePanel:C}=ie(l),S=ee(),w=ee([]),m=ee([]),A=ee([]),{selectedResources:b}=dn(),P=ee(!1),L=v(()=>n(P)),k=v(()=>n(b).length===0?{root:e.space,parent:null,items:n(r)?.id?[n(r)]:[]}:{root:e.space,parent:n(r),items:n(b)}),R=Fe(Q,"files-shares-with-me"),M=Fe(Q,"files-shares-with-others"),q=Fe(Q,"files-shares-via-link"),Y=_(t,"files-spaces-projects"),x=Fe(H,"files-common-favorites"),O=Fe(H,"files-common-search"),te=v(()=>n(k).items?.length===1&&!N(n(k).items[0])),ne=v(()=>n(k).items?.length===1&&N(n(k).items[0])),$=v(()=>n(R)||n(M)||n(q)),B=v(()=>n($)||n(O)||n(x)),g=v(()=>o.requestExtensions({id:"global.files.sidebar",extensionType:"sidebarPanel"}).map(F=>F.panel)),y=it(function*(F,T){w.value=yield s.webdav.listFileVersions(T.id,{signal:F})}),I=it(function*(F,T){u.setLoading(!0),u.removeOrphanedShares();const{collaboratorShares:J,linkShares:xe}=u,ge=s.graphAuthenticated.permissions;let be=e.space?.id;if(ae(e.space)){const W=yield i.getMountPointForSpace({graphClient:s.graphAuthenticated,space:e.space,signal:F});W&&(be=W.root.remoteItem.rootId)}const{shares:He,allowedRoles:Vt}=yield*at(ge.listPermissions(be,T.fileId,u.graphRoles,{},{signal:F})),Le=He.filter(tt),Te=He.filter(st),Ue=Object.values(u.graphRoles);if(m.value=Vt?.map(W=>({...W,icon:Ue.find(X=>X.id===W.id)?.icon}))||[],a.isAppEnabled("open-cloud-mesh")){const{allowedRoles:W}=yield*at(ge.listPermissions(be,T.fileId,u.graphRoles,{filter:`@libre.graph.permissions.roles.allowedValues/rolePermissions/any(p:contains(p/condition, '@Subject.UserType=="Federated"'))`,select:[as.LibreGraphPermissionsRolesAllowedValues]},{signal:F}));A.value=W?.map(X=>({...X,icon:Ue.find(Me=>Me.id===X.id)?.icon}))||[]}!n(B)&&!n(Y)&&(J.forEach(W=>{Le.some(X=>X.id===W.id)||Le.push({...W,indirect:!0})}),xe.forEach(W=>{Te.some(X=>X.id===W.id)||Te.push({...W,indirect:!0})})),H(t,"files-common-search")&&(yield h.loadAncestorMetaData({folder:n(T),space:e.space,client:s.webdav,signal:F}));const Ot=[...J,...xe].map(({resourceId:W})=>W),Ke=Object.values(h.ancestorMetaData).filter(({id:W,path:X})=>W===T.id||Ot.includes(W)||ke(T)?!1:qe(e.space)?X!=="/":!0).map(({id:W})=>W);n(B)&&N(e.space)&&!N(T)&&Ke.push(e.space.id);const Wt=new Ie({concurrency:c.options.concurrentRequests.shares.list}),Bt=[...new Set(Ke)].map(W=>Wt.add(()=>s.graphAuthenticated.permissions.listPermissions(be,W,u.graphRoles,{},{signal:F}).then(X=>{const Me=X.shares.map(Nt=>({...Nt,indirect:!0}));Le.push(...Me.filter(tt)),Te.push(...Me.filter(st))})));yield Promise.allSettled(Bt),u.setCollaboratorShares(Le),u.setLinkShares(Te),u.setLoading(!1)}).restartable(),D=ee();et(()=>[...n(k).items,f],async(F,T)=>{if(n(k).items?.length!==1)return;if(!n(f)){D.value=void 0,w.value=[];return}const J=F?.[0],xe=T?.[0];if(J?.id===xe?.id&&J?.mdate===n(D))return;const ge=n(k).items[0];if(D.value=ge.mdate,y.isRunning&&y.cancelAll(),!!d({space:e.space,resource:ge}))try{await y.perform(ge)}catch(be){console.error(be)}},{immediate:!0,deep:!0});const V=v(()=>n(k).items.map(F=>F.id));return et(()=>[V,f],async()=>{if(!n(f)||!n(k).items?.length){u.pruneShares(),S.value=null;return}if(n(k).items?.length!==1)return;const F=n(k).items[0];if(P.value=!0,N(F)&&await i.loadGraphPermissions({ids:[F.id],graphClient:s.graphAuthenticated}),p({space:e.space,resource:F}))try{I.isRunning&&I.cancelAll(),I.perform(F)}catch(T){console.error(T)}if(!es(F)&&!ke(F)){S.value=F,P.value=!1;return}try{const T=await s.webdav.getFileInfo(e.space,{path:F.path}),J={...T,...F,tags:T.tags};S.value=J}catch(T){S.value=F,console.error(T)}P.value=!1},{deep:!0,immediate:!0}),Se("resource",$e(S)),Se("versions",$e(w)),Se("space",v(()=>e.space)),Se("availableInternalShareRoles",$e(m)),Se("availableExternalShareRoles",$e(A)),Se("versionsLoading",v(()=>y.isRunning)),(F,T)=>n(f)?(se(),le(hs,Xt({key:0,ref:"sidebar",class:"files-side-bar z-30","available-panels":g.value,"panel-context":k.value,loading:L.value},F.$attrs,{"data-custom-key-bindings-disabled":"true"}),{rootHeader:Ae(()=>[te.value?(se(),le(ut,{key:0,class:"px-2 pt-2","is-sub-panel-active":!1})):ne.value?(se(),le(ot,{key:1})):Ce("",!0)]),subHeader:Ae(()=>[te.value?(se(),le(ut,{key:0,class:"px-2 pt-2","is-sub-panel-active":!0})):ne.value?(se(),le(ot,{key:1})):Ce("",!0)]),_:1},16,["available-panels","panel-context","loading"])):Ce("",!0)}});export{Ys as $,cn as A,Hs as B,lt as C,On as D,Ks as E,$t as F,Qs as G,kt as H,Gs as I,an as J,Xs as K,Zs as L,en as M,Dt as N,jn as O,zn as P,nn as Q,ue as R,Is as S,Vs as T,on as U,qn as V,pe as W,Tt as X,Et as Y,Lt as Z,ut as _,We as a,qs as a0,dn as a1,ws as a2,Es as b,Rt as c,_n as d,Ds as e,Fs as f,_e as g,Wn as h,Os as i,Ee as j,It as k,Us as l,tn as m,un as n,sn as o,Pt as p,Bs as q,ct as r,Mt as s,rn as t,xt as u,Bn as v,js as w,Nn as x,zs as y,_s as z}; diff --git a/web-dist/js/chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs.gz b/web-dist/js/chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs.gz new file mode 100644 index 0000000000..bc74697f60 Binary files /dev/null and b/web-dist/js/chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs.gz differ diff --git a/web-dist/js/chunks/ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs b/web-dist/js/chunks/ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs new file mode 100644 index 0000000000..2a50cb7ceb --- /dev/null +++ b/web-dist/js/chunks/ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs @@ -0,0 +1 @@ +import{M as U,bl as ae,bE as j,as as J,aL as f,s as $,aU as S,a5 as ce,a$ as se,au as T,bJ as N,I as O,bk as s,aw as fe,q as I,bu as K,cm as me,aZ as G,a_ as ve,u as L,v as B,bL as Q,bx as ge,ar as ne,H as h,t as k,F as W,aX as oe,bb as X,T as be,bp as ye,aY as _,bd as we,cl as pe,cr as xe,aD as he,bO as ke,cs as Ce,dC as Ie}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{F as $e,d as Me}from"./fuse-Dh4lEyaB.mjs";import{o as Pe}from"./omit-CjJULzjP.mjs";import{u as Le}from"./useRoute-BGFNOdqM.mjs";import{u as re,_ as Y}from"./OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import{d as Be}from"./debounce-Bg6HwA-m.mjs";let ie="";const tt=e=>{ie=e},Fe=()=>ie,H={};function Se(e){return e.getIsPending!==void 0}function ze(e){if(Se(e))return e;let g=!0,m=e.then(r=>(g=!1,r),r=>{throw g=!1,r});return m.getIsPending=function(){return g},m}function Te(e){let g={};const m=e.attributes;if(!m)return g;for(let r=m.length-1;r>=0;r--)g[m[r].name]=m[r].value;return g}function Re(e){return Object.keys(e).reduce((g,m)=>(e[m]!==!1&&e[m]!==null&&e[m]!==void 0&&(g[m]=e[m]),g),{})}function Ve(e,g){const{class:m,style:r,...x}=Te(e),{class:u,style:d,...i}=Re(g);return{class:[m,u],style:[r,d],...x,...i}}const te=U({inheritAttrs:!1,__name:"InlineSvg",props:{src:{},title:{default:void 0},transformSource:{type:Function,default:e=>e},keepDuringLoading:{type:Boolean,default:!0},uniqueIds:{type:[Boolean,String],default:!1},uniqueIdsBase:{default:""}},emits:["loaded","unloaded","error"],setup(e,{expose:g,emit:m}){const r=e,x=m,u=ae(),d=S(),i=S(),y=S(),C=Math.random().toString(36).substring(2);g({svgElSource:d,request:y}),j(()=>r.src,a=>{A(a)}),A(r.src);function R(a){if(a=a.cloneNode(!0),r.uniqueIds){const w=typeof r.uniqueIds=="string"?r.uniqueIds:C;a=q(a,w,r.uniqueIdsBase)}return a=r.transformSource(a),r.title&&z(a,r.title),a.innerHTML}function A(a){H[a]||(H[a]=M(a)),d.value&&H[a].getIsPending()&&!r.keepDuringLoading&&(d.value=null,x("unloaded")),H[a].then(w=>{d.value=w,J(()=>{x("loaded",i.value)})}).catch(w=>{d.value&&(d.value=void 0,x("unloaded")),delete H[a],x("error",w)})}function M(a){return ze(new Promise((w,c)=>{const t=new XMLHttpRequest;t.open("GET",a,!0),y.value=t,t.onload=()=>{if(t.status>=200&&t.status<400)try{let p=new DOMParser().parseFromString(t.responseText,"text/xml").getElementsByTagName("svg")[0];p?w(p):c(new Error('Loaded file is not valid SVG"'))}catch(p){c(p)}else c(new Error("Error loading SVG"))},t.onerror=c,t.send()}))}const V=()=>d.value?ce("svg",{...Ve(d.value,u),innerHTML:R(d.value),ref:i}):null;function z(a,w){const c=a.getElementsByTagName("title");if(c.length)c[0].textContent=w;else{const t=document.createElementNS("http://www.w3.org/2000/svg","title");t.textContent=w,a.insertBefore(t,a.firstChild)}}function q(a,w,c=""){const t=["id","href","xlink:href","xlink:role","xlink:arcrole"],p=["href","xlink:href"],F=(v,n)=>p.includes(v)&&(n?!n.includes("#"):!1);return[...a.children].forEach(v=>{var n;if((n=v.attributes)!=null&&n.length){const l=Object.values(v.attributes).map(o=>{const b=/url\((.*?)\)/.exec(o.value);return b!=null&&b[1]&&(o.value=o.value.replace(b[0],`url(${c}${b[1]}_${w})`)),o});t.forEach(o=>{const b=l.find(E=>E.name===o);b&&!F(o,b.value)&&(b.value=`${b.value}_${w}`)})}return v.children.length?q(v,w,c):v}),a}return(a,w)=>(f(),$(V))}}),D=U({__name:"OcIcon",props:{accessibleLabel:{default:""},color:{default:""},fillType:{default:"fill"},name:{default:"info"},size:{default:"medium"},type:{default:"span"}},emits:["loaded"],setup(e,{emit:g}){te.name="inline-svg";const m=g,r=I(()=>re("oc-icon-title-")),x=I(()=>{const i=`${Fe()}icons/`,y=e.fillType.toLowerCase();return y==="none"?`${i}${e.name}.svg`:`${i}${e.name}-${y}.svg`}),u=I(()=>({"size-3":e.size==="xsmall","size-4":e.size==="small","size-5":e.size==="medium","size-8":e.size==="large","size-12":e.size==="xlarge","size-22":e.size==="xxlarge","size-42":e.size==="xxxlarge"})),d=i=>{if(e.accessibleLabel!==""){const y=document.createElement("title");y.setAttribute("id",r.value),y.appendChild(document.createTextNode(e.accessibleLabel)),i.insertBefore(y,i.firstChild)}return i};return(i,y)=>(f(),$(se(e.type),{class:T(["oc-icon","box-content","inline-block","align-baseline","[&_svg]:block",u.value,{"bg-transparent min-h-0":e.type==="button"}])},{default:N(()=>[O(s(te),{src:x.value,"transform-source":d,"aria-hidden":e.accessibleLabel===""?"true":null,"aria-labelledby":e.accessibleLabel===""?null:r.value,focusable:e.accessibleLabel===""?"false":null,style:fe(e.color!==""?{fill:e.color}:{}),class:T(u.value),onLoaded:y[0]||(y[0]=C=>m("loaded"))},null,8,["src","aria-hidden","aria-labelledby","focusable","style","class"])]),_:1},8,["class"]))}}),Oe=["type","disabled"],Ae={class:"flex flex-row flex-wrap text-sm pt-2 gap-x-2"},qe=["textContent"],le="file-copy",Ee=U({__name:"OcTextInputPassword",props:{disabled:{type:Boolean,default:!1},generatePasswordMethod:{type:Function},hasError:{type:Boolean,default:!1},passwordPolicy:{},teleportId:{default:""},value:{default:""}},emits:["passwordChallengeCompleted","passwordChallengeFailed","passwordGenerated"],setup(e,{expose:g,emit:m}){const r=m,x=K("passwordInput"),{$gettext:u}=me(),d=S(e.value),i=S(!1),y=S(le),C=S(!1),R=I(()=>!!Object.keys(e.passwordPolicy?.rules||{}).length),A=I(()=>e.passwordPolicy?.missing(s(d))),M=c=>{const t={};for(let p=0;p{navigator.clipboard.writeText(s(d)),y.value="check",setTimeout(()=>y.value=le,1500)},z=()=>{const c=e.generatePasswordMethod();d.value=c,r("passwordGenerated",d.value)};return g({focus:()=>{s(x).focus()},select:()=>{s(x).select()},setSelectionRange:(c,t)=>{s(x).setSelectionRange(c,t)}}),j(d,c=>{if(Object.keys(e.passwordPolicy).length){if(!e.passwordPolicy.check(c))return r("passwordChallengeFailed");r("passwordChallengeCompleted")}}),(c,t)=>{const p=G("oc-contextual-helper"),F=ve("oc-tooltip");return f(),L(W,null,[B("div",{class:T(["oc-text-input-password-wrapper flex flex-row border rounded-sm border-role-outline-variant",{"oc-text-input-password-wrapper-danger text-role-error focus:text-role-error border-role-error":e.hasError,"outline outline-role-outline":C.value}])},[Q(B("input",ne(c.$attrs,{ref_key:"passwordInput",ref:x,"onUpdate:modelValue":t[0]||(t[0]=v=>d.value=v),class:"grow-2 border-0 focus:border-0 focus:outline-0",type:i.value?"text":"password",disabled:e.disabled,onFocus:t[1]||(t[1]=v=>C.value=!0),onBlur:t[2]||(t[2]=v=>C.value=!1)}),null,16,Oe),[[ge,d.value]]),t[4]||(t[4]=h()),d.value&&!e.disabled?Q((f(),$(Y,{key:0,"aria-label":i.value?s(u)("Hide password"):s(u)("Show password"),class:"oc-text-input-show-password-toggle px-2",appearance:"raw",size:"small",onClick:t[3]||(t[3]=v=>i.value=!i.value)},{default:N(()=>[O(D,{size:"small",name:i.value?"eye-off":"eye"},null,8,["name"])]),_:1},8,["aria-label"])),[[F,i.value?s(u)("Hide password"):s(u)("Show password")]]):k("",!0),t[5]||(t[5]=h()),d.value&&!e.disabled?Q((f(),$(Y,{key:1,"aria-label":s(u)("Copy password"),class:"oc-text-input-copy-password-button px-2",appearance:"raw",size:"small",onClick:V},{default:N(()=>[O(D,{size:"small",name:y.value},null,8,["name"])]),_:1},8,["aria-label"])),[[F,s(u)("Copy password")]]):k("",!0),t[6]||(t[6]=h()),e.generatePasswordMethod&&!e.disabled?Q((f(),$(Y,{key:2,"aria-label":s(u)("Generate password"),class:"oc-text-input-generate-password-button px-2",appearance:"raw",size:"small",onClick:z},{default:N(()=>[O(D,{size:"small",name:"refresh","fill-type":"line"})]),_:1},8,["aria-label"])),[[F,s(u)("Generate password")]]):k("",!0)],2),t[9]||(t[9]=h()),R.value?(f(),$(be,{key:0,defer:"",to:`#${e.teleportId}`},[B("div",Ae,[(f(!0),L(W,null,oe(A.value.rules,(v,n)=>(f(),L("div",{key:n,class:"flex items-center oc-text-input-password-policy-rule"},[O(D,{size:"small",class:"mr-1",name:v.verified?"checkbox-circle":"close-circle",color:v.verified?"var(--oc-role-on-surface)":"var(--oc-role-error)"},null,8,["name","color"]),t[7]||(t[7]=h()),B("span",{class:T([{"oc-text-input-danger":!v.verified}]),textContent:X(M(v))},null,10,qe),t[8]||(t[8]=h()),v.helperMessage?(f(),$(p,{key:0,text:v.helperMessage,title:s(u)("Password policy")},null,8,["text","title"])):k("",!0)]))),128))])],8,["to"])):k("",!0)],64)}}}),Ne=["for"],De={key:0,class:"text-role-error","aria-hidden":"true"},Ge=["id","textContent"],je=["id","textContent"],He=["id"],Ue=U({inheritAttrs:!1,__name:"OcTextInput",props:{id:{default:()=>re("oc-textinput-")},type:{default:"text"},modelValue:{default:""},selectionRange:{},clearButtonEnabled:{type:Boolean,default:!1},clearButtonAccessibleLabel:{default:""},defaultValue:{},disabled:{type:Boolean,default:!1},label:{},inlineLabel:{type:Boolean,default:!1},errorMessage:{},errorMessageDebouncedTime:{default:500},fixMessageLine:{type:Boolean,default:!1},descriptionMessage:{},readOnly:{type:Boolean,default:!1},requiredMark:{type:Boolean,default:!1},passwordPolicy:{default:()=>({})},generatePasswordMethod:{type:Function},hasBorder:{type:Boolean,default:!0}},emits:["change","update:modelValue","focus","passwordChallengeCompleted","passwordChallengeFailed"],setup(e,{expose:g,emit:m}){const r=m,x=ye(),u=S(!1),d=I(()=>!!e.descriptionMessage),i=I(()=>e.fixMessageLine||s(u)||s(d)),y=I(()=>s(u).toString()),C=I(()=>`${e.id}-message`),R=I(()=>e.type==="password"?{passwordGenerated:p}:{}),A=ae(),M=I(()=>{const l={};(s(u)||s(d))&&(l["aria-describedby"]=C.value),e.defaultValue&&(l.placeholder=e.defaultValue),e.type==="password"&&(l["password-policy"]=e.passwordPolicy,l["generate-password-method"]=e.generatePasswordMethod,l["has-error"]=s(u));const{change:o,input:b,focus:E,class:ee,...Z}=A;return{...Z,...l}}),V=I(()=>!e.disabled&&e.clearButtonEnabled&&!!e.modelValue),z=I(()=>e.clearButtonAccessibleLabel||"Clear input"),q=I(()=>e.type==="password"?Ee:"input"),a=K("inputRef"),w=()=>{s(a).focus()};g({focus:w});function c(){w(),p(""),t(null)}const t=l=>{r("change",l)},p=l=>{r("update:modelValue",l)},F=async l=>{await J(),s(a).select(),v(),r("focus",l.value)},v=()=>{e.selectionRange&&e.selectionRange.length>1&&s(a).setSelectionRange(e.selectionRange[0],e.selectionRange[1])};j([()=>e.selectionRange,a],async()=>{s(a)&&(await J(),v())},{immediate:!0});const n=Be(()=>{u.value=!!e.errorMessage},e.errorMessageDebouncedTime);return j(()=>e.modelValue,()=>{n()}),j(()=>e.errorMessage,()=>{e.errorMessage?n():(u.value=!1,n.cancel?.())}),(l,o)=>(f(),L("div",{class:T([{"flex items-center":e.inlineLabel},l.$attrs.class])},[_(l.$slots,"label",{},()=>[B("label",{class:T(["inline-block",{"mr-2":e.inlineLabel,"mb-0.5":!e.inlineLabel}]),for:e.id},[h(X(e.label)+" ",1),e.requiredMark?(f(),L("span",De,"*")):k("",!0)],10,Ne)]),o[8]||(o[8]=h()),B("div",{class:T(["relative",{"grow-1":e.inlineLabel}])},[e.readOnly?(f(),$(D,{key:0,name:"lock",size:"small",class:"mt-2 ml-2 absolute"})):k("",!0),o[5]||(o[5]=h()),(f(),$(se(q.value),ne({id:e.id},M.value,{ref_key:"inputRef",ref:a,"aria-invalid":y.value,class:["oc-text-input oc-input h-9",{"oc-text-input-danger border-role-error":!!u.value,"pl-6":!!e.readOnly,"pr-6":V.value,"border-none outline-none bg-transparent":!e.hasBorder}],type:e.type,value:e.modelValue,disabled:e.disabled||e.readOnly,"teleport-id":s(x)},we(R.value),{onChange:o[0]||(o[0]=b=>t(b.target.value)),onInput:o[1]||(o[1]=b=>p(b.target.value)),onPasswordChallengeCompleted:o[2]||(o[2]=b=>l.$emit("passwordChallengeCompleted")),onPasswordChallengeFailed:o[3]||(o[3]=b=>l.$emit("passwordChallengeFailed")),onFocus:o[4]||(o[4]=b=>F(b.target))}),null,16,["id","aria-invalid","class","type","value","disabled","teleport-id"])),o[6]||(o[6]=h()),V.value?(f(),$(Y,{key:1,"aria-label":z.value,class:"pr-2 absolute top-[50%] transform-[translateY(-50%)] right-0 oc-text-input-btn-clear",appearance:"raw","no-hover":"",onClick:c},{default:N(()=>[O(D,{name:"close",size:"small"})]),_:1},8,["aria-label"])):k("",!0)],2),o[9]||(o[9]=h()),i.value?(f(),L("div",{key:0,class:T(["oc-text-input-message flex align-center text-sm mt-1 min-h-4.5",{"oc-text-input-description text-role-on-surface-variant relative":d.value,"oc-text-input-danger text-role-error focus:text-role-error border-role-error":u.value}])},[u.value?(f(),L(W,{key:0},[u.value?(f(),$(D,{key:0,name:"error-warning",size:"small","fill-type":"line","aria-hidden":"true",class:"mr-1"})):k("",!0),o[7]||(o[7]=h()),u.value?(f(),L("span",{key:1,id:C.value,class:"oc-text-input-danger text-role-error focus:text-role-error border-role-error",textContent:X(e.errorMessage)},null,8,Ge)):k("",!0)],64)):d.value?(f(),L("span",{key:1,id:C.value,class:"oc-text-input-description text-role-on-surface-variant flex items-center relative",textContent:X(e.descriptionMessage)},null,8,je)):k("",!0)],2)):k("",!0),o[10]||(o[10]=h()),B("div",{id:s(x)},null,8,He)],2))}}),Qe={class:"flex items-center truncate"},Xe={class:"truncate"},Ye={class:"flex"},lt=U({__name:"ItemFilter",props:{filterLabel:{},filterName:{},items:{},optionFilterLabel:{default:""},showOptionFilter:{type:Boolean,default:!1},allowMultiple:{type:Boolean,default:!1},idAttribute:{default:"id"},displayNameAttribute:{default:"name"},filterableAttributes:{default:()=>[]},closeOnClick:{type:Boolean,default:!1}},emits:["selectionChange"],setup(e,{expose:g,emit:m}){const r=m,x=pe(),u=Le(),d=K("filterInputRef"),i=S([]),y=S(e.items),C=K("itemFilterListRef"),R=`q_${e.filterName}`,A=xe(R),M=n=>n[e.idAttribute],V=()=>x.push({query:{...Pe(s(u).query,[R]),...!!s(i).length&&{[R]:s(i).reduce((n,l)=>(n+=`${M(l)}+`,n),"").slice(0,-1)}}}),z=n=>!!s(i).find(l=>M(l)===M(n)),q=async n=>{z(n)?i.value=s(i).filter(l=>M(l)!==M(n)):(e.allowMultiple||(i.value=[]),i.value.push(n)),await V(),r("selectionChange",s(i))},a=S(),w=(n,l)=>{if(!(l||"").trim())return n;const b=new $e(n,{...Me,keys:e.filterableAttributes}).search(l).map(E=>E.item);return n.filter(E=>b.includes(E))},c=()=>{i.value=[],r("selectionChange",s(i)),V()},t=n=>{y.value=n},p=async()=>{t(e.items),await J(),s(d)?.focus()};let F;j(a,()=>{t(w(e.items,s(a))),s(C)&&(F=new Ie(s(C)),F.unmark(),F.mark(s(a),{element:"span",className:"mark-highlight"}))});const v=()=>{const n=Ce(s(A));if(n){const l=n.split("+");i.value=e.items.filter(o=>l.includes(M(o)))}};return g({setSelectedItemsBasedOnQuery:v}),he(()=>{v()}),(n,l)=>{const o=G("oc-checkbox"),b=G("oc-icon"),E=G("oc-button"),ee=G("oc-list"),Z=G("oc-filter-chip");return f(),L("div",{class:T(["item-filter flex",`item-filter-${e.filterName}`])},[O(Z,{"filter-label":e.filterLabel,"selected-item-names":i.value.map(P=>P[e.displayNameAttribute]),"close-on-click":e.closeOnClick,onClearFilter:c,onShowDrop:p},{default:N(()=>[e.showOptionFilter&&e.filterableAttributes.length?(f(),$(s(Ue),{key:0,ref_key:"filterInputRef",ref:d,modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=P=>a.value=P),class:"item-filter-input mb-4 mt-2",autocomplete:"off",label:e.optionFilterLabel===""?n.$gettext("Filter list"):e.optionFilterLabel},null,8,["modelValue","label"])):k("",!0),l[5]||(l[5]=h()),B("div",{ref_key:"itemFilterListRef",ref:C},[O(ee,{class:"item-filter-list"},{default:N(()=>[(f(!0),L(W,null,oe(y.value,(P,ue)=>(f(),L("li",{key:ue,class:"my-1"},[O(E,{class:T(["item-filter-list-item flex items-center w-full",{"item-filter-list-item-active":!e.allowMultiple&&z(P),"justify-start":e.allowMultiple,"justify-between":!e.allowMultiple}]),"justify-content":"space-between",appearance:"raw","data-test-value":P[e.displayNameAttribute],onClick:de=>q(P)},{default:N(()=>[B("div",Qe,[e.allowMultiple?(f(),$(o,{key:0,size:"large",class:"mr-2",label:n.$gettext("Toggle selection"),"model-value":z(P),"label-hidden":!0,"onUpdate:modelValue":de=>q(P),onClick:l[1]||(l[1]=ke(()=>{},["stop"]))},null,8,["label","model-value","onUpdate:modelValue"])):k("",!0),l[2]||(l[2]=h()),B("div",null,[_(n.$slots,"image",{item:P})]),l[3]||(l[3]=h()),B("div",Xe,[_(n.$slots,"item",{item:P})])]),l[4]||(l[4]=h()),B("div",Ye,[!e.allowMultiple&&z(P)?(f(),$(b,{key:0,name:"check"})):k("",!0)])]),_:2},1032,["class","data-test-value","onClick"])]))),128))]),_:3})],512)]),_:3},8,["filter-label","selected-item-names","close-on-click"])],2)}}});export{lt as _,Ue as a,D as b,tt as s}; diff --git a/web-dist/js/chunks/ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs.gz b/web-dist/js/chunks/ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs.gz new file mode 100644 index 0000000000..176dea6198 Binary files /dev/null and b/web-dist/js/chunks/ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs.gz differ diff --git a/web-dist/js/chunks/ItemFilterToggle-B0cxdVaA.mjs b/web-dist/js/chunks/ItemFilterToggle-B0cxdVaA.mjs new file mode 100644 index 0000000000..f6a087addd --- /dev/null +++ b/web-dist/js/chunks/ItemFilterToggle-B0cxdVaA.mjs @@ -0,0 +1,3 @@ +import{dM as Js,dN as Xs,cU as Be,bk as t,cR as ot,cM as ss,aU as _,bE as Ve,az as At,cP as ns,cS as Ft,cQ as nt,cO as It,dO as Ys,bQ as Et,cs as Mt,dP as Gs,dQ as Zs,dR as _s,dS as en,dT as tn,da as os,M as oe,aL as h,u as I,au as le,cm as ee,aZ as q,a_ as rt,F as ie,aX as Se,s as K,bJ as T,v as M,bb as J,t as X,H as A,bL as Pe,I as P,aY as Y,a$ as as,J as sn,q as v,ar as Oe,bO as ke,dB as st,dx as nn,d9 as lt,cq as Pt,co as me,aD as We,aS as on,c8 as fe,d8 as is,c9 as Lt,as as Ge,bu as ct,ca as Ot,cl as Ae,dC as an,cX as bt,dU as rs,bM as ht,cZ as wt,cW as yt,cY as xt,cp as rn,c7 as Bt,de as ln,c5 as ve,cn as Rt,d4 as Xt,bU as cn,bf as dn,cx as at,af as un,bt as pn,bl as mn,A as ls,T as cs,dV as fn,dh as hn,cr as ds}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{D as gn}from"./locale-tv0ZmyWq.mjs";import{q as us,r as ps,c as bn,V as yn,B as wn,v as ms,C as vn,D as kn,F as Sn,H as Cn,G as $n,a as fs,_ as Yt}from"./Pagination-w-FgvznP.mjs";import{u as ze,f as xn}from"./modals-DsP9TGnr.mjs";import{aQ as we,bB as zt,bD as Dn,bA as ge,bn as Rn,bC as Ke,bw as Tn,br as An,bl as Fn}from"./resources-CL0nvFAd.mjs";import{l as dt,u as ut,f as Gt,k as gt}from"./vue-router-CmC7u3Bn.mjs";import{u as he}from"./useClientService-BP8mjZl2.mjs";import{_ as He,u as In}from"./OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import{u as vt}from"./useAbility-DLkgdurK.mjs";import{v as it}from"./v4-EwEgHOG0.mjs";import{_ as be}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";import{u as Ce}from"./messages-bd5_8QAH.mjs";import{u as _e}from"./useLoadingService-CLoheuuI.mjs";import{aK as Ne}from"./user-C7xYeMZ3.mjs";import{b as En,T as je,H as Vt,R as Dt,k as Ze,h as Mn,Z as Pn,u as Ln,c as On,v as qe,W as pt,V as kt,a as Bn,Y as zn,p as hs,g as Vn,C as gs,X as St,G as bs,Q as ys,w as ws,x as Nn,B as vs,z as ks,E as Ss,F as Cs,I as Un,K as $s,M as xs,N as Ds,O as jn,y as Hn,P as qn,a2 as Zt}from"./FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs";import{x as Wn,K as Ye,w as Rs,I as Kn,y as Qn,q as Nt,P as Jn,p as Tt,v as Ut,C as Xn,B as Yn}from"./SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import{u as Gn}from"./useScrollTo--zshzNky.mjs";import{f as Zn}from"./index-lRhEXmMs.mjs";import{V as _n,d as eo}from"./useSort-BaUnnp4q.mjs";import{a as jt,_ as Ts,R as to}from"./ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs";import{u as so,g as no}from"./useLoadPreview-Cv2y5hqA.mjs";import{d as As}from"./debounce-Bg6HwA-m.mjs";import{e as Ht}from"./eventBus-B07Yv2pA.mjs";import{o as qt,l as oo}from"./omit-CjJULzjP.mjs";import{u as Fs,a as Is}from"./extensionRegistry-3T3I8mha.mjs";import{u as ao}from"./useRouteMeta-C9xjNr4h.mjs";import{c as io,i as ro}from"./datetime-CpSA3f1i.mjs";import{b as _t}from"./ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs";import{u as Es}from"./useRoute-BGFNOdqM.mjs";var lo={"&":"&","<":"<",">":">",'"':""","'":"'"},co=Js(lo),Ms=/[&<>"']/g,uo=RegExp(Ms.source);function Lr(e){return e=Xs(e),e&&uo.test(e)?e.replace(Ms,co):e}class po extends En{constructor(s,o,a,n,r,c,u,d){super(u,d),this.sourceSpace=s,this.resourcesToMove=o,this.targetSpace=a,this.targetFolder=n,this.currentFolder=r,this.clientService=c}hasRecursion(){return this.sourceSpace.id!==this.targetSpace.id?!1:this.resourcesToMove.some(s=>this.targetFolder.path===s.path)}showRecursionErrorMessage(){const s=this.resourcesToMove.length,o=this.$ngettext("You can't paste the selected file at this location because you can't paste an item into itself.","You can't paste the selected files at this location because you can't paste an item into itself.",s);Ce().showErrorMessage({title:o})}showResultMessage(s,o,a){if(s.length===0){const u=o.length;if(u===0)return;const d=a===je.COPY?this.$ngettext("%{count} item was copied successfully","%{count} items were copied successfully",u,{count:u.toString()}):this.$ngettext("%{count} item was moved successfully","%{count} items were moved successfully",u,{count:u.toString()});Ce().showMessage({title:d,status:"success"});return}let n=a===je.COPY?this.$gettext("Failed to copy %{count} resources",{count:s.length.toString()}):this.$gettext("Failed to move %{count} resources",{count:s.length.toString()});s.length===1&&(n=a===je.COPY?this.$gettext("Failed to copy »%{name}«",{name:s[0]?.resourceName}):this.$gettext("Failed to move »%{name}«",{name:s[0]?.resourceName}));let r="";s.some(({error:u})=>u instanceof Vt&&u.statusCode===507)&&(r=this.$gettext("Insufficient quota")),Ce().showErrorMessage({title:n,...r&&{desc:r},errors:s.map(({error:u})=>u)})}async getTransferData(s){if(this.hasRecursion())return this.showRecursionErrorMessage(),[];if(this.sourceSpace.id!==this.targetSpace.id&&s===je.MOVE){if(!await this.resolveDoCopyInsteadOfMoveForSpaces())return[];s=je.COPY}const o=(await this.clientService.webdav.listFiles(this.targetSpace,this.targetFolder)).children,a=await this.resolveAllConflicts(this.resourcesToMove,this.targetFolder,o),n=[];for(const r of this.resourcesToMove){const c={...r},{id:u,name:d,extension:i}=c,p=a.some(g=>g.resource.id===u);let f=d,l=!1;if(p){const g=a.find(w=>w.resource.id===u)?.strategy;if(g===Dt.SKIP)continue;if(g===Dt.REPLACE){if(this.isOverwritingParentFolder(c,this.targetFolder,o)){const w=new Error;this.showResultMessage([{error:w,resourceName:d}],[],s);continue}l=!0}g===Dt.KEEP_BOTH&&(f=Ze(d,i,o),c.name=f)}Mn(this.sourceSpace,c,this.targetSpace,this.targetFolder)&&l||n.push({resource:c,sourceSpace:this.sourceSpace,targetSpace:this.targetSpace,targetFolder:this.targetFolder,path:Be.join(this.targetFolder.path,f),overwrite:l,transferType:s})}return n}isOverwritingParentFolder(s,o,a){if(s.type!=="folder")return!1;const n=t(this.currentFolder)?.path;if(!n||o.path===n)return!1;const r=Be.basename(s.path),c=Be.join(o.path,r);return n.split("/").lengthu.path===c)}}const Or=({sharedAncestor:e,matchingSpace:s})=>s?ot("files-spaces-generic",ss(s,{path:e.path,fileId:e.id})):{},mo="thead-clicked",fo="highlight",ho="rowMounted",go="contextmenuClicked",Ps="itemDropped",Br="itemDroppedBreadcrumb",bo="itemDragged";function yo(e,s,o){const a=[];return e.forEach(n=>typeof n!="string"?a.push(n):s[Symbol.split](n).forEach((r,c,u)=>{r!==""&&a.push(r),c{throw new Error(`missing string: ${e}`)};class vo{locale;constructor(s,{onMissingKey:o=wo}={}){this.locale={strings:{},pluralize(a){return a===1?0:1}},Array.isArray(s)?s.forEach(this.#t,this):this.#t(s),this.#e=o}#e;#t(s){if(!s?.strings)return;const o=this.locale;Object.assign(this.locale,{strings:{...o.strings,...s.strings},pluralize:s.pluralize||o.pluralize})}translate(s,o){return this.translateArray(s,o).join("")}translateArray(s,o){let a=this.locale.strings[s];if(a==null&&(this.#e(s),a=s),typeof a=="object"){if(o&&typeof o.smart_count<"u"){const r=this.locale.pluralize(o.smart_count);return es(a[r],o)}throw new Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}if(typeof a!="string")throw new Error("string was not a string");return es(a,o)}}class zr{uppy;opts;id;defaultLocale;i18n;i18nArray;type;VERSION;constructor(s,o){this.uppy=s,this.opts=o??{}}getPluginState(){const{plugins:s}=this.uppy.getState();return s?.[this.id]||{}}setPluginState(s){const{plugins:o}=this.uppy.getState();this.uppy.setState({plugins:{...o,[this.id]:{...o[this.id],...s}}})}setOptions(s){this.opts={...this.opts,...s},this.setPluginState(void 0),this.i18nInit()}i18nInit(){const s=new vo([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=s.translate.bind(s),this.i18nArray=s.translateArray.bind(s),this.setPluginState(void 0)}addTarget(s){throw new Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}update(s){}afterUpdate(){}}const Vr=e=>({name:Be.basename(e),type:"directory",relativePath:e}),Nr=(e,s)=>s.map(o=>({source:e,name:o.name,type:o.type,data:o,meta:{relativePath:o.relativePath||null}})),ko=e=>new Promise((s,o)=>{const a=new FileReader;a.onloadend=()=>s(a.result),a.onerror=n=>o(n),a.readAsArrayBuffer(e)}),So=e=>new Promise(s=>e.toBlob(s)),Ls=({target:e,mode:s="show",rootMargin:o="100px",onVisibleCallback:a})=>{if(!(window&&"IntersectionObserver"in window))return{isVisible:_(!0)};const r=_(!1),c=new IntersectionObserver(u=>{const d=u.at(-1).isIntersecting;r.value=d,t(r)&&a&&a(),s!=="showHide"&&r.value&&c.unobserve(e.value)},{rootMargin:o});return Ve(e,()=>{c.observe(e.value)}),At(()=>c.disconnect()),{isVisible:r}},Co=e=>({meta:{...e.meta,authContext:"anonymous"},path:e.path,redirect:s=>{const o=e.redirect(s);return console.warn(`route "${e.path}" is deprecated, use "${String(o.path)||String(o.name)}" instead.`),o}}),$o=()=>[{path:"/list",redirect:e=>ot("files-spaces-generic",{...e,params:{...e.params,driveAliasAndItem:"personal/home"}})},{path:"/list/all/:item(.*)",redirect:e=>ot("files-spaces-generic",{...e,params:{...e.params,driveAliasAndItem:Et("personal/home",Mt(e.params.item),{leadingSlash:!1})}})},{path:"/list/favorites",redirect:e=>It("files-common-favorites",e)},{path:"/list/shared-with-me",redirect:e=>nt("files-shares-with-me",e)},{path:"/list/shared-with-others",redirect:e=>nt("files-shares-with-others",e)},{path:"/list/shared-via-link",redirect:e=>nt("files-shares-via-link",e)},{path:"/trash-bin",redirect:e=>Ft("files-trash-generic",e)},{path:"/public/list/:item(.*)",redirect:e=>ns("files-public-link",e)},{path:"/private-link/:fileId",redirect:e=>({name:"resolvePrivateLink",params:{fileId:e.params.fileId}})},{path:"/public-link/:token",redirect:e=>({name:"resolvePublicLink",params:{token:e.params.token}})}].map(Co),Ur=(e,...s)=>{const[o,...a]=s.map(n=>{const r={"files-personal":ot("files-spaces-generic").name,"files-favorites":It("files-common-favorites").name,"files-shared-with-others":nt("files-shares-with-others").name,"files-shared-with-me":nt("files-shares-with-me").name,"files-trashbin ":Ft("files-trash-generic").name,"files-public-list":ns("files-public-link").name}[n.name.toString()];return r&&console.warn(`route name "${name}" is deprecated, use "${r.toString()}" instead.`),{...n,...!!r&&{name:r}}});return Ys(e,o,...a)},xo={name:"root",path:"/",redirect:e=>ot("files-spaces-generic",e)},jr=e=>[xo,...Gs(e),...Zs(e),..._s(e),...en(e),...tn(e),...$o()],Wt=()=>{const e=he();return{getDefaultMetaFolder:async o=>{const{children:a}=await e.webdav.listFiles(o);return a.find(({name:n})=>n===".space")}}};function Do(e){return new Worker(""+new URL("../../assets/worker-DYINxooC.js",import.meta.url).href,{name:e?.name})}const Ro=()=>{const e=os(),s=_e(),{headers:o}=Pn(),{createWorker:a,terminateWorker:n}=Ln(),r=(u,d)=>{const i=a(Do,{needsTokenRenewal:!0});let p;t(i.worker).onmessage=f=>{n(i.id),p?.(!0);const{successful:l,failed:g}=JSON.parse(f.data),w=g.map(({resourceName:m,...D})=>({resourceName:m,error:On(D)}));d({successful:l,failed:w})},s.addTask(()=>new Promise(f=>{p=f})),i.post(c(u))},c=u=>JSON.stringify({topic:"startProcess",data:{transferData:u,baseUrl:e.serverUrl,headers:{...t(o),"X-Request-ID":void 0}}});return{startWorker:r}},To=()=>{const e=Wn(),s=10,o=.1;return{setCropperInstance:n=>{e.bindKeyAction({primary:Ye.ArrowRight},()=>t(n)?.move(-s,0)),e.bindKeyAction({primary:Ye.ArrowLeft},()=>t(n)?.move(s,0)),e.bindKeyAction({primary:Ye.ArrowDown},()=>t(n)?.move(0,-s)),e.bindKeyAction({primary:Ye.ArrowUp},()=>t(n)?.move(0,s)),e.bindKeyAction({primary:Ye.Plus},()=>t(n)?.zoom(o)),e.bindKeyAction({primary:Ye.Minus},()=>t(n)?.zoom(-o))}}},Ao=["aria-label","aria-live","aria-hidden","role"],Fo=oe({__name:"OcSpinner",props:{ariaLabel:{default:()=>{}},size:{default:"medium"}},setup(e){return(s,o)=>(h(),I("span",{class:le(["oc-spinner inline-block after:block after:bg-transparent after:border after:border-current after:rounded-full after:size-full relative after:relative animate-spin after:content-[''] after:border-b-transparent",{"size-2":e.size==="xsmall","size-4":e.size==="small","size-5":e.size==="medium","size-8":e.size==="large","size-10":e.size==="xlarge","size-12":e.size==="xxlarge","size-16":e.size==="xxxlarge"}]),"aria-label":e.ariaLabel||void 0,"aria-live":e.ariaLabel?"polite":void 0,"aria-hidden":e.ariaLabel?void 0:"true",tabindex:"-1",role:e.ariaLabel?"img":void 0},null,10,Ao))}}),Io={class:"oc-status-indicators flex items-center gap-0.5"},Eo=["textContent"],Mo=["id","textContent"],Po=oe({__name:"OcStatusIndicators",props:{resource:{},indicators:{},disableHandler:{type:Boolean,default:!1}},setup(e){const{$gettext:s}=ee(),o=_({}),a=r=>Object.hasOwn(r,"handler"),n=r=>r.accessibleDescription?(t(o)[r.id]||(t(o)[r.id]=In("oc-indicator-description-")),t(o)[r.id]):null;return(r,c)=>{const u=q("oc-tag"),d=rt("oc-tooltip");return h(),I("div",Io,[(h(!0),I(ie,null,Se(e.indicators,(i,p)=>(h(),I(ie,null,[i.kind==="tag"?(h(),K(u,{id:i.id,key:i.id,class:le([i.class,"border-0 !rounded-sm"]),"aria-describedby":n(i),appearance:"filled",size:"small","data-testid":i.id,"data-test-indicator-type":i.type,"data-test-indicator-resource-name":e.resource.name,"data-test-indicator-resource-path":e.resource.path},{default:T(()=>[M("span",{textContent:J(i.label)},null,8,Eo)]),_:2},1032,["id","class","aria-describedby","data-testid","data-test-indicator-type","data-test-indicator-resource-name","data-test-indicator-resource-path"])):X("",!0),c[0]||(c[0]=A()),i.kind==="icon"?(h(),I(ie,{key:1},[a(i)&&!e.disableHandler?Pe((h(),K(He,{id:i.id,key:`${i.id}-handler`,class:le(["oc-status-indicators-indicator",{"ml-1":p>0}]),"aria-label":t(s)(i.label),"aria-describedby":n(i),appearance:"raw","data-testid":i.id,"data-test-indicator-type":i.type,"data-test-indicator-resource-name":e.resource.name,"data-test-indicator-resource-path":e.resource.path,"no-hover":"",onClick:f=>i.handler?.(e.resource,f)},{default:T(()=>[P(_t,{name:i.icon,size:"small","fill-type":i.fillType},null,8,["name","fill-type"])]),_:2},1032,["id","class","aria-label","aria-describedby","data-testid","data-test-indicator-type","data-test-indicator-resource-name","data-test-indicator-resource-path","onClick"])),[[d,t(s)(i.label)]]):Pe((h(),K(_t,{id:i.id,key:i.id,tabindex:"-1",size:"small",class:le(["oc-status-indicators-indicator",{"ml-1":p>0}]),name:i.icon,"fill-type":i.fillType,"accessible-label":t(s)(i.label),"aria-describedby":n(i),"data-testid":i.id,"data-test-indicator-type":i.type},null,8,["id","class","name","fill-type","accessible-label","aria-describedby","data-testid","data-test-indicator-type"])),[[d,t(s)(i.label)]])],64)):X("",!0),c[1]||(c[1]=A()),n(i)?(h(),I("p",{id:n(i),key:n(i),class:"sr-only",textContent:J(t(s)(i.accessibleDescription))},null,8,Mo)):X("",!0)],64))),256))])}}}),Lo={class:"oc-thead border-b"},Oo=oe({name:"OcTableHead",__name:"OcTableHead",setup(e){return(s,o)=>(h(),I("thead",Lo,[Y(s.$slots,"default")]))}}),Bo=oe({name:"OcTableBody",__name:"OcTableBody",setup(e){return(s,o)=>(h(),I("tbody",null,[Y(s.$slots,"default")]))}}),zo=oe({__name:"OcTableCell",props:{alignH:{default:"left"},alignV:{default:"middle"},type:{default:"td"},width:{default:"auto"},wrap:{}},emits:["click"],setup(e,{emit:s}){const o=s;return(a,n)=>(h(),K(as(e.type),{class:le(["oc-table-cell",{"break-all":e.wrap==="break","whitespace-nowrap":e.wrap==="nowrap","overflow-visible max-w-0":e.wrap==="truncate","text-left":e.alignH==="left","text-right":e.alignH==="right","text-center":e.alignH==="center","align-top":e.alignV==="top","align-middle":e.alignV==="middle","align-bottom":e.alignV==="bottom","w-px":e.width==="shrink","min-w-38":e.width==="expand"}]),onClick:n[0]||(n[0]=r=>o("click",r))},{default:T(()=>[Y(a.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),Os=be(zo,[["__scopeId","data-v-cabfacb2"]]),Bs=oe({__name:"OcTableTd",props:{alignH:{default:"left"},alignV:{default:"middle"},width:{default:"auto"},wrap:{}},setup(e){return(s,o)=>(h(),K(Os,{type:"td","align-h":e.alignH,"align-v":e.alignV,width:e.width,wrap:e.wrap,class:"oc-td"},{default:T(()=>[Y(s.$slots,"default")]),_:3},8,["align-h","align-v","width","wrap"]))}}),Vo=oe({__name:"OcTableTr",props:{lazy:{}},emits:["contextmenu","click","dragstart","drop","dragenter","dragleave","dragover","mouseleave","itemVisible"],setup(e,{emit:s}){const o=s,a=sn((u,d)=>{let i;return{get(){return u(),i},set(p){i=p,d()}}}),n=v(()=>e.lazy?e.lazy.colspan:1),{isVisible:r}=e.lazy?Ls({...e.lazy,target:a,onVisibleCallback:()=>o("itemVisible")}):{isVisible:_(!0)},c=v(()=>!t(r));return e.lazy||o("itemVisible"),(u,d)=>(h(),I("tr",{ref_key:"observerTarget",ref:a,onClick:d[0]||(d[0]=i=>u.$emit("click",i)),onContextmenu:d[1]||(d[1]=i=>u.$emit("contextmenu",i)),onDragstart:d[2]||(d[2]=i=>u.$emit("dragstart",i)),onDrop:d[3]||(d[3]=i=>u.$emit("drop",i)),onDragenter:d[4]||(d[4]=i=>u.$emit("dragenter",i)),onDragleave:d[5]||(d[5]=i=>u.$emit("dragleave",i)),onDragover:d[6]||(d[6]=i=>u.$emit("dragover",i)),onMouseleave:d[7]||(d[7]=i=>u.$emit("mouseleave",i))},[c.value?(h(),K(Bs,{key:0,colspan:n.value},{default:T(()=>[...d[8]||(d[8]=[M("span",{class:"shimmer inline-block bg-role-shadow overflow-hidden absolute inset-x-2 inset-y-3 after:absolute after:inset-0 after:transform-[translateX(-100%)] opacity-10 after:animate-shimmer"},null,-1)])]),_:1},8,["colspan"])):Y(u.$slots,"default",{key:1},void 0,!0)],544))}}),ts=be(Vo,[["__scopeId","data-v-3235da0a"]]),No=oe({__name:"OcTableTh",props:{alignH:{default:"left"},alignV:{default:"middle"},width:{default:"auto"},wrap:{}},emits:["click"],setup(e){return(s,o)=>(h(),K(Os,{type:"th","align-h":e.alignH,"align-v":e.alignV,width:e.width,wrap:e.wrap,class:"oc-th aria-[sort]:cursor-pointer",onClick:o[0]||(o[0]=a=>s.$emit("click",a))},{default:T(()=>[Y(s.$slots,"default",{},void 0,!0)]),_:3},8,["align-h","align-v","width","wrap"]))}}),Uo=be(No,[["__scopeId","data-v-ddb462db"]]),jo={key:0,class:"oc-table-thead-content inline-table align-middle"},Ho=["textContent"],qo={key:1},Wo={key:0,class:"oc-table-thead-content inline-table align-middle"},Ko=["textContent"],Qo={key:1,class:"oc-table-footer border-t"},Jo={class:"oc-table-footer-row h-10.5"},Xo=["colspan"],Yo=oe({__name:"OcTable",props:{data:{},fields:{},disabled:{default:()=>[]},dragDrop:{type:Boolean,default:!1},hasHeader:{type:Boolean,default:!0},headerPosition:{default:0},highlighted:{},hover:{type:Boolean,default:!1},idKey:{default:"id"},itemDomSelector:{type:Function},lazy:{type:Boolean,default:!1},paddingX:{default:"small"},sortBy:{},sortDir:{},sticky:{type:Boolean,default:!1}},emits:["itemDropped","itemDragged","theadClicked","highlight","rowMounted","contextmenuClicked","sort","dropRowStyling","itemVisible"],setup(e,{emit:s}){const o=s,a={EVENT_THEAD_CLICKED:mo,EVENT_TROW_CLICKED:fo,EVENT_TROW_MOUNTED:ho,EVENT_TROW_CONTEXTMENU:go},{$gettext:n}=ee(),r=b=>e.itemDomSelector?e.itemDomSelector(b):b[e.idKey],c=v(()=>{const b=["oc-table"];return e.hover&&b.push("oc-table-hover"),e.sticky&&b.push("oc-table-sticky"),b}),u=v(()=>e.fields.length),d=b=>{b.preventDefault()},i=(b,C)=>{o(bo,[b,C])},p=(b,C)=>{o(Ps,[b,C])},f=(b,C,O)=>{o("dropRowStyling",b,C,O)},l=b=>b.type==="slot",g=b=>["callback","function"].indexOf(b.type)>=0,w=b=>Object.prototype.hasOwnProperty.call(b,"title")?b.title:b.name,m=()=>({class:c.value}),D=b=>{switch(e.paddingX){case"remove":return b==="right"?"pr-0":"pl-0";case"xsmall":return b==="right"?"pr-1":"pl-1";case"small":return b==="right"?"pr-2":"pl-2";case"medium":return b==="right"?"pr-4":"pl-4";case"large":return b==="right"?"pr-6":"pl-6";case"xlarge":return b==="right"?"pr-12":"pl-12";case"xxlarge":return b==="right"?"pr-24":"pl-24"}},F=(b,C)=>{const O=y(b);return O.class=`oc-table-header-cell oc-table-header-cell-${b.name}`,Object.prototype.hasOwnProperty.call(b,"thClass")&&(O.class+=` ${b.thClass}`),e.sticky&&(O.style=`top: ${e.headerPosition}px;`,O.class+=" z-10"),C===0&&(O.class+=` ${D("left")} `),C===e.fields.length-1&&(O.class+=` ${D("right")}`),L(O,b),O},R=(b,C)=>({...e.lazy&&{lazy:{colspan:u.value}},class:["oc-tbody-tr",`oc-tbody-tr-${r(b)||C}`,k(b)?"oc-table-highlighted":void 0,...V(b)?["oc-table-disabled","opacity-70","pointer-events-none","grayscale-60"]:[]].filter(Boolean)}),S=(b,C,O)=>{const E=y(b);return E.class=`oc-table-data-cell oc-table-data-cell-${b.name}`,Object.prototype.hasOwnProperty.call(b,"tdClass")&&(E.class+=` ${b.tdClass}`),Object.prototype.hasOwnProperty.call(b,"wrap")&&(E.wrap=b.wrap),C===0&&(E.class+=` ${D("left")} `),C===e.fields.length-1&&(E.class+=` ${D("right")}`),Object.prototype.hasOwnProperty.call(b,"accessibleLabelCallback")&&(E["aria-label"]=b.accessibleLabelCallback(O)),E},y=b=>({...b?.alignH&&{alignH:b.alignH},...b?.alignV&&{alignV:b.alignV},...b?.width&&{width:b.width},class:void 0,wrap:void 0,style:void 0}),k=b=>e.highlighted?Array.isArray(e.highlighted)?e.highlighted.indexOf(b[e.idKey])>-1:e.highlighted===b[e.idKey]:!1,V=b=>e.disabled.length?e.disabled.indexOf(b[e.idKey])>-1:!1,se=(b,C,O)=>{const E=[O[e.idKey],C+1].filter(Boolean);return l(b)?[...E,b.name].join("-"):g(b)?[...E,b.callback(O[b.name])].join("-"):[...E,O[b.name]].join("-")},U=b=>n("Sort by %{ name }",{name:b}),L=(b,C)=>{if(!Q(C))return;let O="none";e.sortBy===C.name&&(O=e.sortDir===st.Asc?"ascending":"descending"),b["aria-sort"]=O},Q=({sortable:b})=>!!b,ce=b=>{if(!Q(b))return;let C=e.sortDir;e.sortBy===b.name&&e.sortDir!==void 0&&(C=e.sortDir===st.Desc?st.Asc:st.Desc),(e.sortBy!==b.name||e.sortDir===void 0)&&(C=b.sortDir||st.Desc),o("sort",{sortBy:b.name,sortDir:C})};return(b,C)=>{const O=q("oc-icon");return h(),I("table",Oe(m(),{class:"has-item-context-menu"}),[e.hasHeader?(h(),K(Oo,{key:0},{default:T(()=>[P(ts,{class:"oc-table-header-row h-10.5"},{default:T(()=>[(h(!0),I(ie,null,Se(e.fields,(E,de)=>(h(),K(Uo,Oe({key:`oc-thead-${E.name}`},{ref_for:!0},F(E,de)),{default:T(()=>[E.sortable?(h(),K(He,{key:0,"aria-label":U(E.name),appearance:"raw","justify-content":"left",class:"oc-button-sort w-full hover:underline","gap-size":"small","no-hover":"",onClick:x=>ce(E)},{default:T(()=>[E.headerType==="slot"?(h(),I("span",jo,[Y(b.$slots,E.name+"Header",{},void 0,!0)])):(h(),I("span",{key:1,class:"oc-table-thead-content inline-table align-middle header-text",textContent:J(w(E))},null,8,Ho)),C[1]||(C[1]=A()),P(O,{name:e.sortDir==="asc"?"arrow-down":"arrow-up","fill-type":"line",class:le([{"sr-only":e.sortBy!==E.name},"p-1 rounded-sm"]),size:"small"},null,8,["name","class"])]),_:2},1032,["aria-label","onClick"])):(h(),I("div",qo,[E.headerType==="slot"?(h(),I("span",Wo,[Y(b.$slots,E.name+"Header",{},void 0,!0)])):(h(),I("span",{key:1,class:"oc-table-thead-content inline-table align-middle header-text",textContent:J(w(E))},null,8,Ko))]))]),_:2},1040))),128))]),_:3})]),_:3})):X("",!0),C[2]||(C[2]=A()),P(Bo,{class:"has-item-context-menu"},{default:T(()=>[(h(!0),I(ie,null,Se(e.data,(E,de)=>(h(),K(ts,Oe({key:`oc-tbody-tr-${r(E)||de}`,ref_for:!0,ref:`row-${de}`},{ref_for:!0},R(E,de),{"data-item-id":E[e.idKey],draggable:e.dragDrop,class:"border-t h-10.5",onClick:x=>b.$emit(a.EVENT_TROW_CLICKED,[E,x]),onContextmenu:x=>b.$emit(a.EVENT_TROW_CONTEXTMENU,b.$refs[`row-${de}`][0],x,E),onVnodeMounted:x=>b.$emit(a.EVENT_TROW_MOUNTED,E,b.$refs[`row-${de}`][0]),onDragstart:x=>i(E,x),onDrop:x=>p(E,x),onDragenter:ke(x=>f(E,!1,x),["prevent"]),onDragleave:ke(x=>f(E,!0,x),["prevent"]),onDragover:C[0]||(C[0]=x=>d(x)),onItemVisible:x=>b.$emit("itemVisible",E)}),{default:T(()=>[(h(!0),I(ie,null,Se(e.fields,(x,pe)=>(h(),K(Bs,Oe({key:"oc-tbody-td-"+se(x,pe,E)},{ref_for:!0},S(x,pe,E)),{default:T(()=>[l(x)?Y(b.$slots,x.name,{key:0,item:E},void 0,!0):g(x)?(h(),I(ie,{key:1},[A(J(x.callback(E[x.name])),1)],64)):(h(),I(ie,{key:2},[A(J(E[x.name]),1)],64))]),_:2},1040))),128))]),_:2},1040,["data-item-id","draggable","onClick","onContextmenu","onVnodeMounted","onDragstart","onDrop","onDragenter","onDragleave","onItemVisible"]))),128))]),_:3}),C[3]||(C[3]=A()),b.$slots.footer?(h(),I("tfoot",Qo,[M("tr",Jo,[M("td",{colspan:u.value,class:"oc-table-footer-cell p-1 text-sm text-role-on-surface-variant"},[Y(b.$slots,"footer",{},void 0,!0)],8,Xo)])])):X("",!0)],16)}}}),Go=be(Yo,[["__scopeId","data-v-0e8279aa"]]),zs=()=>{const{$gettext:e,$ngettext:s}=ee(),{showMessage:o,showErrorMessage:a}=Ce(),{copy:n}=nn(),r=({result:u,password:d})=>{const i=u.filter(us);let p="";if(i.length){let l=e("Link has been created successfully");if(u.length===1)try{p=d?e("%{link} Password:%{password}",{link:i[0].value.webUrl,password:d}):i[0].value.webUrl,l=e("The link has been copied to your clipboard.")}catch(g){console.warn("Unable to copy link to clipboard",g)}o({title:s(l,"Links have been created successfully.",i.length)})}const f=u.filter(ps);return f.length&&a({errors:f.map(({reason:l})=>l),title:s("Failed to create link","Failed to create links",f.length)}),p};return{copyLink:async({createLinkHandler:u,password:d})=>{if(navigator.clipboard.write)await new Promise((i,p)=>{const f=new ClipboardItem({"text/plain":u().then(l=>{const g=r({result:l,password:d}),w=new Blob([g],{type:"text/plain"});return i(),w}).catch(l=>{throw p(),l})});navigator.clipboard.write([f])});else{const i=await u(),p=r({result:i,password:d});p&&n(p)}}}},Kt=()=>{const{$gettext:e}=ee(),s=lt(),o=vt(),a=v(()=>o.can("create-all","PublicLink")),n=v(()=>we.View),r=i=>i===we.View?s.sharingPublicPasswordEnforcedFor.read_only:i===we.Upload?s.sharingPublicPasswordEnforcedFor.upload_only:i===we.CreateOnly?s.sharingPublicPasswordEnforcedFor.read_write:i===we.Edit?s.sharingPublicPasswordEnforcedFor.read_write_delete:!1,c=({isFolder:i})=>t(a)?i?[we.View,we.Edit,we.CreateOnly]:[we.View,we.Edit]:[],u=[{id:we.View,displayName:e("Can view"),description:e("View, download"),icon:"eye"},{id:we.Upload,displayName:e("Can upload"),description:e("View, upload, download"),icon:"upload"},{id:we.Edit,displayName:e("Can edit"),description:e("View, upload, edit, download, delete"),icon:"pencil"},{id:we.CreateOnly,displayName:e("Secret File Drop"),description:e("Upload only, existing content is not revealed"),icon:"inbox-unarchive"}];return{defaultLinkType:n,isPasswordEnforcedForLinkType:r,getAvailableLinkTypes:c,linkShareRoles:u,getLinkRoleByType:i=>u.find(({id:p})=>p===i)}},Zo=oe({name:"LinkRoleDropdown",props:{modelValue:{type:Object,required:!0},availableLinkTypeOptions:{type:Array,required:!0}},emits:["update:modelValue"],setup(e,{emit:s}){const{$gettext:o}=ee(),{getLinkRoleByType:a}=Kt(),n=d=>e.modelValue===d,r=d=>{s("update:modelValue",d)},c=v(()=>o(a(e.modelValue)?.displayName)),u=it();return{isSelectedType:n,updateSelectedType:r,currentLinkRoleLabel:c,dropUuid:u,getLinkRoleByType:a}}}),_o=["textContent"],ea=["textContent"],ta={class:"flex items-center"},sa={class:"text-left"},na=["textContent"],oa={class:"text-sm leading-4"},aa={class:"flex"};function ia(e,s,o,a,n,r){const c=q("oc-icon"),u=q("oc-button"),d=q("oc-list"),i=q("oc-drop"),p=rt("oc-tooltip");return h(),I(ie,null,[e.availableLinkTypeOptions.length>1?(h(),K(u,{key:0,id:`link-role-dropdown-toggle-${e.dropUuid}`,appearance:"raw","gap-size":"none","no-hover":"",class:"text-left link-role-dropdown-toggle"},{default:T(()=>[M("span",{class:"link-current-role",textContent:J(e.currentLinkRoleLabel||e.$gettext("Select a role"))},null,8,_o),s[0]||(s[0]=A()),P(c,{name:"arrow-down-s"})]),_:1},8,["id"])):Pe((h(),I("span",{key:1,class:"link-current-role mr-4",textContent:J(e.currentLinkRoleLabel)},null,8,ea)),[[p,e.getLinkRoleByType(e.modelValue)?.description]]),s[4]||(s[4]=A()),e.availableLinkTypeOptions.length>1?(h(),K(i,{key:2,class:"link-role-dropdown w-md",title:e.$gettext("Role"),"drop-id":`link-role-dropdown-${e.dropUuid}`,toggle:`#link-role-dropdown-toggle-${e.dropUuid}`,"padding-size":"small",mode:"click","close-on-click":""},{default:T(()=>[P(d,{class:"role-dropdown-list"},{default:T(()=>[(h(!0),I(ie,null,Se(e.availableLinkTypeOptions,(f,l)=>(h(),I("li",{key:`role-dropdown-${l}`},[P(u,{id:`files-role-${e.getLinkRoleByType(f).id}`,class:le([{selected:e.isSelectedType(f)},"p-2"]),appearance:e.isSelectedType(f)?"filled":"raw-inverse","color-role":e.isSelectedType(f)?"secondaryContainer":"surface","justify-content":"space-between",onClick:g=>e.updateSelectedType(f)},{default:T(()=>[M("span",ta,[P(c,{name:e.getLinkRoleByType(f).icon,class:"pl-2 pr-4"},null,8,["name"]),s[2]||(s[2]=A()),M("span",sa,[M("span",{class:"role-dropdown-list-option-label font-semibold block w-full leading-4",textContent:J(e.$gettext(e.getLinkRoleByType(f).displayName))},null,8,na),s[1]||(s[1]=A()),M("span",oa,J(e.$gettext(e.getLinkRoleByType(f).description)),1)])]),s[3]||(s[3]=A()),M("span",aa,[e.isSelectedType(f)?(h(),K(c,{key:0,name:"check"})):X("",!0)])]),_:2},1032,["id","class","appearance","color-role","onClick"])]))),128))]),_:1})]),_:1},8,["title","drop-id","toggle"])):X("",!0)],64)}const ra=be(Zo,[["render",ia]]),la={class:"flex justify-between pb-2"},ca={key:0,class:"flex items-center"},da={key:1,class:"flex items-center"},ua={class:"flex flex-col"},pa=["textContent"],ma=["textContent"],fa=["textContent"],ha={class:"mb-4 ml-[30px]"},ga={key:1,class:"text-sm text-role-on-surface-variant"},ba=["textContent"],ya=["textContent"],wa={class:"flex justify-end items-center mt-2"},va={class:"sr-only"},ka=oe({__name:"CreateLinkModal",props:{modal:{},resources:{},space:{default:()=>{}}},emits:["cancel","confirm"],setup(e,{expose:s}){const o=he(),a=ee(),{$gettext:n}=a,{removeModal:r}=ze(),{copyLink:c}=zs(),u=Ga(),{isEnabled:d,postMessage:i}=dt(),{defaultLinkType:p,getAvailableLinkTypes:f,getLinkRoleByType:l,isPasswordEnforcedForLinkType:g}=Kt(),{addLink:w}=zt(),m=Pt(),{currentTheme:D}=me(m),F=_(!1),R=_(!1),S=v(()=>e.resources.every(({isFolder:te})=>te)),y=v(()=>t(d)?n("Share link(s)"):n("Copy link")),k=v(()=>t(d)?n("Share link(s) and password(s)"):n("Copy link and password")),V=_(it()),se=_({}),U=_(),L=on({value:"",error:void 0}),Q=_(t(p)),ce=v(()=>n(l(t(Q)).description)),b=v(()=>n(l(t(Q)).displayName)),C=v(()=>l(t(Q)).icon),O=v(()=>f({isFolder:t(S)})),E=v(()=>g(t(Q))),de=u.getPolicy({enforcePassword:t(E)}),x=()=>{F.value=!0},pe=({date:te,error:H})=>{U.value=te,R.value=H},Fe=()=>Promise.allSettled(e.resources.map(te=>w({clientService:o,space:e.space,resource:te,options:{type:t(Q),"@libre.graph.quickLink":!1,password:t(L).value,expirationDateTime:t(U)?.toISO(),displayName:n("Unnamed link")}}))),ye=v(()=>de.check(t(L).value)),Ie=v(()=>!t(ye)||t(R)),De=async()=>{const te=await Fe(),H=[],j=te.filter(ps);return j.length&&j.map(({reason:G})=>G).forEach(G=>{if(console.error(G),G.response?.status===400){const B=G.response.data.error;B.message=Dn(B.message),H.push(B)}}),H.length?(L.error=n(H[0].message),Promise.reject()):te};s({onConfirm:async(te={})=>{if(t(d)){const j=(await De()).filter(us);j.length&&(i("opencloud-embed:share",j.map(({value:G})=>G.webUrl)),i("opencloud-embed:share-links",j.map(({value:G})=>({url:G.webUrl,...te.copyPassword&&{password:t(L).value}})))),r(e.modal.id);return}await c({createLinkHandler:De,password:te.copyPassword?t(L).value:void 0}),r(e.modal.id)}});const re=te=>{L.value=te,L.error=void 0},$e=te=>{Q.value=te},Re=()=>u.generatePassword();return We(()=>{const te=t(se)[t(Q)];te&&te.$el.focus(),t(E)&&(L.value=u.generatePassword())}),(te,H)=>{const j=q("oc-icon"),G=q("oc-text-input"),B=q("oc-datepicker"),Z=q("oc-list"),xe=q("oc-drop");return h(),I(ie,null,[M("div",la,[F.value?(h(),I("div",ca,[P(j,{class:"mr-2",name:C.value,"fill-type":"line"},null,8,["name"]),H[3]||(H[3]=A()),P(ra,{"model-value":Q.value,"available-link-type-options":O.value,"onUpdate:modelValue":$e},null,8,["model-value","available-link-type-options"])])):(h(),I("div",da,[P(j,{class:"mr-2",name:C.value,"fill-type":"line"},null,8,["name"]),H[5]||(H[5]=A()),M("div",ua,[M("span",{class:"font-semibold",textContent:J(b.value)},null,8,pa),H[4]||(H[4]=A()),M("span",{class:"text-sm",textContent:J(ce.value)},null,8,ma)])])),H[7]||(H[7]=A()),F.value?X("",!0):(h(),K(t(He),{key:2,class:"link-modal-advanced-mode-button","gap-size":"xsmall",appearance:"raw","no-hover":"",onClick:H[0]||(H[0]=Le=>x())},{default:T(()=>[P(j,{name:"settings-3",size:"small","fill-type":"fill"}),H[6]||(H[6]=A()),M("span",{textContent:J(t(n)("Options"))},null,8,fa)]),_:1}))]),H[13]||(H[13]=A()),M("div",ha,[F.value?(h(),K(G,{key:V.value,"model-value":L.value,type:"password","password-policy":t(de),"generate-password-method":Re,"error-message":L.error,label:t(n)("Password"),"required-mark":E.value,class:"link-modal-password-input","onUpdate:modelValue":re},null,8,["model-value","password-policy","error-message","label","required-mark"])):L.value?(h(),I("div",ga,[M("span",{textContent:J(t(n)("Password:"))},null,8,ba),H[8]||(H[8]=A()),M("span",{textContent:J(L.value)},null,8,ya)])):X("",!0),H[9]||(H[9]=A()),F.value?(h(),K(B,{key:2,class:"mt-2","min-date":t(gn).now(),label:t(n)("Expiry date"),"is-dark":t(D).isDark,onDateChanged:pe},null,8,["min-date","label","is-dark"])):X("",!0)]),H[14]||(H[14]=A()),M("div",wa,[M("div",{class:le(["ml-2",{"oc-button-group":L.value}])},[P(t(He),{class:"link-modal-confirm oc-modal-body-actions-confirm",appearance:"filled",disabled:Ie.value,onClick:H[1]||(H[1]=Le=>te.$emit("confirm"))},{default:T(()=>[A(J(y.value),1)]),_:1},8,["disabled"]),H[11]||(H[11]=A()),L.value?(h(),K(t(He),{key:0,class:"link-modal-confirm oc-modal-body-actions-confirm-secondary-trigger p-1",appearance:"filled",disabled:Ie.value,"aria-label":t(n)("More options")},{default:T(()=>[P(j,{size:"small",name:"arrow-down-s"}),H[10]||(H[10]=A()),M("span",va,J(t(n)("More options")),1)]),_:1},8,["disabled","aria-label"])):X("",!0),H[12]||(H[12]=A()),L.value?(h(),K(xe,{key:1,"drop-id":"oc-modal-body-actions-confirm-secondary-drop",toggle:".oc-modal-body-actions-confirm-secondary-trigger",mode:"click","padding-size":"small",title:t(n)("More options"),"close-on-click":""},{default:T(()=>[P(Z,null,{default:T(()=>[M("li",null,[P(t(He),{class:"oc-modal-body-actions-confirm-password",appearance:"raw","justify-content":"left",onClick:H[2]||(H[2]=Le=>te.$emit("confirm",{copyPassword:!0}))},{default:T(()=>[A(J(k.value),1)]),_:1})])]),_:1})]),_:1},8,["title"])):X("",!0)],2)])],64)}}}),Hr=({enforceModal:e=!1}={})=>{const s=he(),o=Ne(),{$gettext:a,$ngettext:n}=ee(),r=lt(),c=vt(),u=_e(),{defaultLinkType:d}=Kt(),{addLink:i}=zt(),{dispatchModal:p}=ze(),{copyLink:f}=zs(),l=({space:m,resources:D})=>{const F=r.sharingPublicPasswordEnforcedFor.read_only===!0;if(e||F){p({title:n("Copy link for »%{resourceName}«","Copy links for the selected items",D.length,{resourceName:D[0].name}),customComponent:ka,customComponentAttrs:()=>({space:m,resources:D}),hideActions:!0});return}const R=D.map(y=>i({clientService:s,space:m,resource:y,options:{"@libre.graph.quickLink":!1,displayName:a("Unnamed link"),type:t(d)}}));f({createLinkHandler:()=>u.addTask(()=>Promise.allSettled(R))})},g=({resources:m})=>{if(!m.length)return!1;for(const D of m)if(!D.canShare({user:o.user,ability:c})||fe(D)&&D.disabled)return!1;return!0};return{actions:v(()=>[{name:"create-links",icon:"link",handler:l,label:()=>a("Create links"),isVisible:g,class:"oc-files-actions-create-links"}])}},qr=({space:e}={})=>{const{showMessage:s,showErrorMessage:o}=Ce(),a=Ne(),{$gettext:n}=ee(),{dispatchModal:r}=ze(),c=is(),{isEnabled:u}=dt(),{openEditor:d}=qe(),i=he(),p=ge(),{resources:f,currentFolder:l,areFileExtensionsShown:g}=me(p),{isFileNameValid:w}=Rs(),m=v(()=>c.fileExtensions.filter(({newFileMenu:S})=>!!S)),D=(S,y)=>(p.upsertResource(S),d(y,t(e),S)),F=(S,y,k)=>{let V=n("New file")+`.${y}`;t(f).some(U=>U.name===V)&&(V=Ze(V,y,t(f))),g.value||(V=Rn({name:V,extension:y}));const se=g.value?[0,V.length-(y.length+1)]:null;r({title:n("Create a new file"),confirmText:n("Create"),hasInput:!0,inputValue:V,inputLabel:n("File name"),inputRequiredMark:!0,inputSelectionRange:se,onConfirm:async U=>{g.value||(U=`${U}.${y}`);try{let L;if(k.createFileHandler)L=await k.createFileHandler({fileName:U,space:t(e),currentFolder:t(l)});else if(k.type==="folder"){const Q=Be.join(t(l).path,U);L=await i.webdav.createFolder(t(e),{path:Q})}else{const Q=Be.join(t(l).path,U);L=await i.webdav.putFileContents(t(e),{path:Q})}return p.upsertResource(L),s({title:n("»%{fileName}« was created successfully",{fileName:L.name})}),t(u)?void 0:D(L,k)}catch(L){console.error(L),o({title:n("Failed to create file"),errors:[L]})}},onInput:(U,L)=>{const Q=g.value?U:`${U}.${y}`,ce={path:Be.join(t(l).path,Q),name:Q,extension:y},{isValid:b,error:C}=w(ce,Q);L(b?null:C)}})};return{actions:v(()=>{const S=[],y={};for(const k of t(m)||[])k.hasPriority?y[k.extension]=k:y[k.extension]=y[k.extension]||k;for(const[,k]of Object.entries(y))S.push({name:"create-new-file",icon:"add",handler:V=>F(V,k.extension,k),label:()=>n(k.newFileMenu.menuTitle()),isVisible:()=>t(l)?.canUpload({user:a.user}),class:"oc-files-actions-create-new-file",ext:k.extension,isExternal:k.app?.startsWith("external-")});return S}),openFile:D}},Wr=({space:e}={})=>{const{showMessage:s,showErrorMessage:o}=Ce(),{dispatchModal:a}=ze(),{$gettext:n}=ee(),{scrollToResource:r}=Gn(),c=ge(),{resources:u,currentFolder:d}=me(c),i=he(),{isFileNameValid:p}=Rs(),f=async w=>{w=w.trimEnd();try{const m=Be.join(t(d).path,w),D=await i.webdav.createFolder(t(e),{path:m});Lt(t(e))&&(D.remoteItemId=t(e).id),c.upsertResource(D),s({title:n("»%{folderName}« was created successfully",{folderName:w})}),await Ge(),r(D.id,{forceScroll:!0,topbarElement:"files-app-bar"})}catch(m){console.error(m),o({title:n("Failed to create folder"),errors:[m]})}},l=()=>{let w=n("New folder");t(u).some(m=>m.name===w)&&(w=Ze(w,"",t(u))),a({title:n("Create a new folder"),confirmText:n("Create"),hasInput:!0,inputValue:w,inputLabel:n("Folder name"),inputRequiredMark:!0,onConfirm:f,onInput:(m,D)=>{const F={path:Be.join(t(d).path,m),name:m,isFolder:!0},{isValid:R,error:S}=p(F,m,t(u));return D(R?null:S)}})};return{actions:v(()=>[{name:"create-folder",icon:"folder",handler:l,label:()=>n("New Folder"),isVisible:()=>t(d)?.canCreate(),class:"oc-files-actions-create-new-folder"}]),addNewFolder:f}},Sa=oe({__name:"ResourcePreview",props:{searchResult:{default:()=>({data:{}})},isClickable:{type:Boolean,default:!0},term:{default:""}},setup(e){const s=new _n,{triggerDefaultAction:o}=qe(),{getMatchingSpace:a}=pt(),{getDefaultAction:n}=qe(),{loadPreview:r}=so(),c=ct("resourceListItem"),{getPathPrefix:u,getParentFolderName:d,getParentFolderLink:i,getParentFolderLinkIconAdditionalAttributes:p,getFolderLink:f}=kt(),l=ge(),g=_(),w=v(()=>l.areFileExtensionsShown),m=v(()=>({...e.searchResult.data,...t(g)&&{thumbnail:t(g)}})),D=v(()=>a(t(m))),F=v(()=>{const U=t(m);return Ot(U)&&U.disabled===!0}),R=()=>{o({space:t(D),resources:[t(m)]})},S=v(()=>e.isClickable?{parentFolderLink:i(t(m)),onClick:R}:{isResourceClickable:!1}),y=v(()=>{if(t(m).isFolder)return f(t(m));const U=n({resources:[t(m)],space:t(D)});if(!U?.route)return null;const L=U.route({space:t(D),resources:[t(m)]});return L.query={...L.query,contextRouteQuery:{...L.query?.contextRouteQuery||{},term:e.term}},L}),k=u(t(m)),V=d(t(m)),se=p(t(m));return We(()=>{t(F)&&t(c).parentElement.classList.add("disabled");const U=async()=>{const Q=await r({space:t(D),resource:t(m),dimensions:Kn.Thumbnail,cancelRunning:!0,updateStore:!1});Q&&(g.value=Q)},L=As(({unobserve:Q})=>{Q(),U()},250);s.observe(t(c).$el,{onEnter:L,onExit:L.cancel})}),At(()=>{s.disconnect()}),(U,L)=>(h(),K(jt,Oe({ref_key:"resourceListItem",ref:c,resource:m.value,"path-prefix":t(k),"is-path-displayed":!0,link:y.value,"is-extension-displayed":w.value,"parent-folder-link-icon-additional-attributes":t(se),"parent-folder-name":t(V),"is-thumbnail-displayed":!!g.value},S.value),null,16,["resource","path-prefix","link","is-extension-displayed","parent-folder-link-icon-additional-attributes","parent-folder-name","is-thumbnail-displayed"]))}}),Ca=7,$a=200,xa=oe({name:"CreateShortcutModal",components:{ResourcePreview:Sa},props:{modal:{type:Object,required:!0},space:{type:Object,required:!0}},emits:["update:confirmDisabled"],setup(e,{emit:s,expose:o}){const a=he(),{$gettext:n}=ee(),{showMessage:r,showErrorMessage:c}=Ce(),u=Ae(),{search:d}=Qn(),{getPathPrefix:i,getParentFolderName:p,getParentFolderLink:f,getParentFolderLinkIconAdditionalAttributes:l,getFolderLink:g}=kt(),w=ge(),{resources:m,currentFolder:D}=me(w),F=ct("dropRef"),R=_(""),S=_(""),y=_(null),k=_(null),V=_(!1);let se;const U=j=>{const G=j.trim();return E(G)?G:`https://${G}`},L=v(()=>U(t(R))),Q=v(()=>!!t(m).find(j=>j.name===`${t(S)}.url`)),ce=v(()=>t(Q)||!t(S)||!t(R));Ve(ce,()=>{s("update:confirmDisabled",t(ce))},{immediate:!0});const b=v(()=>t(Q)?n("»%{name}« already exists",{name:`${t(S)}.url`}):/[/]/.test(t(S))?n('Shortcut name cannot contain "/"'):""),C=Zn(function*(j,G){y.value=null,G=`name:"*${G}*" NOT name:"*.url"`;try{y.value=yield d(G,Ca)}catch{}}),O=As(()=>{C.perform(t(R))},$a),E=j=>["http://","https://"].some(B=>B.startsWith(j)||j.startsWith(B)),de=()=>{y.value=null,R.value=t(L);try{let j=new URL(t(L)).host;t(m).some(G=>G.name===`${j}.url`)&&(j=Ze(`${j}.url`,"url",t(m)).slice(0,-4)),S.value=j}catch{}},x=j=>{y.value=null;const G=new URL(window.location.href);let B=j.data.name;R.value=`${G.origin}/f/${j.id}`,t(m).some(Z=>Z.name===`${B}.url`)&&(B=Ze(`${B}.url`,"url",t(m)).slice(0,-4)),S.value=B},pe=j=>t(k)===j,Fe=(j=!1)=>{const G=Array.from(document.querySelectorAll("li.selectable-item"));let B=t(k)!==null?t(k):j?G.length:-1;const Z=j?-1:1;do if(B+=Z,B<0||B>G.length-1)return null;while(G[B].classList.contains("disabled"));return B},ye=()=>{k.value=Fe(!0)},Ie=()=>{k.value=Fe(!1)},De=j=>{t(V)&&(j.stopPropagation(),t(F).hide())},Ee=j=>{t(V)&&(j.stopPropagation(),t(k)!==null&&(t(k)===0?de():x(t(y)?.values?.[t(k)-1]),t(F).hide()))},re=()=>{V.value=!1,k.value=null},$e=()=>{V.value=!0,k.value=0},Re=()=>{R.value.trim().length&&t(F).show({noFocus:!0})},te=async()=>{if(await Ge(),S.value=R.value.trim(),!R.value.trim().length){t(F).hide();return}t(F).show({noFocus:!0}),bt(u,"files-public-link")||O()},H=async()=>{try{const G=`[InternetShortcut] +URL=${rs.sanitize(U(t(R)),{USE_PROFILES:{html:!0}})}`,B=Et(t(D).path,`${t(S)}.url`),Z=await a.webdav.putFileContents(e.space,{path:B,content:G});w.upsertResource(Z),r({title:n("Shortcut was created successfully")})}catch(j){console.error(j),c({title:n("Failed to create shortcut"),errors:[j]})}};return We(async()=>{await Ge(),se=new an(t(F)?.$refs?.drop)}),Ve(y,async()=>{await Ge(),!(!t(V)||!se)&&(se.unmark(),se.mark(t(R),{element:"span",className:"mark-highlight",exclude:[".selectable-item-url *",".create-shortcut-modal-search-separator *"]}))},{deep:!0}),Ve(k,()=>{if(!t(V)||typeof t(F)?.$el?.scrollTo!="function")return;const j=t(F).$el.querySelectorAll(".selectable-item");j[t(k)]&&t(F).$el.scrollTo(0,t(k)===null?0:j[t(k)].getBoundingClientRect().y-j[t(k)].getBoundingClientRect().height)}),o({onConfirm:H}),{inputUrl:R,inputFilename:S,dropRef:F,dropItemUrl:L,searchResult:y,confirmButtonDisabled:ce,inputFileNameErrorMessage:b,searchTask:C,dropItemUrlClicked:de,dropItemResourceClicked:x,getPathPrefix:i,getFolderLink:g,getParentFolderLink:f,getParentFolderName:p,getParentFolderLinkIconAdditionalAttributes:l,onKeyEnterDrop:Ee,onKeyDownDrop:Ie,onKeyUpDrop:ye,onKeyEscDrop:De,onHideDrop:re,onShowDrop:$e,onInputUrlInput:te,onClickUrlInput:Re,isDropItemActive:pe,onConfirm:H}}}),Da={class:"flex items-center mb-1"},Ra={for:"create-shortcut-modal-url-input"},Ta=["textContent"],Aa={key:0,class:"p-1 flex justify-center"},Fa={class:"create-shortcut-modal-search-separator text-role-on-surface-variant text-sm pl-1"},Ia=["textContent"],Ea={key:0,class:"flex w-full mt-4"},Ma={class:"flex items-center mb-1"},Pa={for:"create-shortcut-modal-filename-input"};function La(e,s,o,a,n,r){const c=q("oc-contextual-helper"),u=q("oc-text-input"),d=q("oc-icon"),i=q("oc-button"),p=q("oc-spinner"),f=q("resource-preview"),l=q("oc-list"),g=q("oc-drop");return h(),I(ie,null,[P(u,{id:"create-shortcut-modal-url-input",modelValue:e.inputUrl,"onUpdate:modelValue":[s[0]||(s[0]=w=>e.inputUrl=w),e.onInputUrlInput],placeholder:"example.org",label:e.$gettext("Webpage or file"),onKeydown:[ht(e.onKeyUpDrop,["up"]),ht(e.onKeyDownDrop,["down"]),ht(e.onKeyEscDrop,["esc"]),ht(e.onKeyEnterDrop,["enter"])],onClick:e.onClickUrlInput},{label:T(()=>[M("div",Da,[M("label",Ra,[A(J(e.$gettext("Webpage or file"))+" ",1),s[2]||(s[2]=M("span",{class:"text-role-error","aria-hidden":"true"},"*",-1))]),s[3]||(s[3]=A()),P(c,{text:e.$gettext("Enter the target URL of a webpage or the name of a file. Users will be directed to this webpage or file."),title:e.$gettext("Webpage or file"),class:"ml-1"},null,8,["text","title"])])]),_:1},8,["modelValue","label","onKeydown","onUpdate:modelValue","onClick"]),s[10]||(s[10]=A()),P(g,{ref:"dropRef",toggle:"#create-shortcut-modal-url-input",class:"w-lg","padding-size":"remove","drop-id":"create-shortcut-modal-contextmenu",mode:"manual",position:"bottom-start","close-on-click":"","enforce-drop-on-mobile":"","is-menu":!1,onHideDrop:e.onHideDrop,onShowDrop:e.onShowDrop},{default:T(()=>[P(l,null,{default:T(()=>[M("li",{class:le(["selectable-item selectable-item-url",{active:e.isDropItemActive(0)}])},[P(i,{class:"w-full",appearance:"raw","justify-content":"left",onClick:e.dropItemUrlClicked},{default:T(()=>[P(d,{name:"external-link"}),s[4]||(s[4]=A()),M("span",{textContent:J(e.dropItemUrl)},null,8,Ta)]),_:1},8,["onClick"])],2),s[6]||(s[6]=A()),e.searchTask.isRunning?(h(),I("li",Aa,[P(p)])):X("",!0),s[7]||(s[7]=A()),e.searchResult?.values?.length?(h(),I(ie,{key:1},[M("li",Fa,[M("span",{textContent:J(e.$gettext("Link to a file"))},null,8,Ia)]),s[5]||(s[5]=A()),(h(!0),I(ie,null,Se(e.searchResult.values,(w,m)=>(h(),I("li",{key:m,class:le(["selectable-item",{active:e.isDropItemActive(m+1)}])},[P(i,{class:"w-full",appearance:"raw","justify-content":"left",onClick:D=>e.dropItemResourceClicked(w)},{default:T(()=>[P(f,{"search-result":w,"is-clickable":!1},null,8,["search-result"])]),_:2},1032,["onClick"])],2))),128))],64)):X("",!0)]),_:1})]),_:1},8,["onHideDrop","onShowDrop"]),s[11]||(s[11]=A()),e.inputFilename?(h(),I("div",Ea,[P(u,{id:"create-shortcut-modal-filename-input",modelValue:e.inputFilename,"onUpdate:modelValue":s[1]||(s[1]=w=>e.inputFilename=w),label:e.$gettext("Shortcut name"),class:"w-full","error-message":e.inputFileNameErrorMessage,"fix-message-line":!0},{label:T(()=>[M("div",Ma,[M("label",Pa,[A(J(e.$gettext("Shortcut name"))+" ",1),s[8]||(s[8]=M("span",{class:"text-role-error","aria-hidden":"true"},"*",-1))]),s[9]||(s[9]=A()),P(c,{text:e.$gettext("Shortcut name as it will appear in the file list."),title:e.$gettext("Shortcut name"),class:"ml-1"},null,8,["text","title"])])]),_:1},8,["modelValue","label","error-message"])])):X("",!0)],64)}const Oa=be(xa,[["render",La]]),Kr=({space:e})=>{const{dispatchModal:s}=ze(),{$gettext:o}=ee(),a=ge(),{currentFolder:n}=me(a);return{actions:v(()=>[{name:"create-shortcut",icon:"external-link",handler:()=>{s({title:o("Create a Shortcut"),confirmText:o("Create"),customComponent:Oa,customComponentAttrs:()=>({space:t(e)})})},label:()=>o("New Shortcut"),isVisible:()=>t(n)?.canCreate(),class:"oc-files-actions-create-new-shortcut"}])}},Qr=()=>{const{showMessage:e,showErrorMessage:s}=Ce(),o=Ne(),a=lt(),{$gettext:n}=ee(),r=he(),{dispatchModal:c}=ze(),u=ge(),d=Ke(),i=_e(),p=async({space:g})=>{try{await r.webdav.clearTrashBin(g),e({title:n("All deleted files were removed")}),u.resetSelection(),d.updateSpaceField({id:g.id,field:"hasTrashedItems",value:!1}),u.resources.some(Tn)&&u.clearResources()}catch(w){console.error(w),s({title:n("Failed to empty trash bin"),errors:[w]})}},f=({resources:g})=>{c({title:n("Empty trash bin for »%{name}«",{name:g[0].name}),confirmText:n("Delete"),message:n("Are you sure you want to permanently delete the items in »%{name}«? You can’t undo this action.",{name:g[0].name}),hasInput:!1,onConfirm:()=>i.addTask(()=>p({space:g[0]}))})};return{actions:v(()=>[{name:"empty-trash-bin",icon:({resources:g})=>g[0]?.hasTrashedItems?"delete-bin-2":"delete-bin-7",label:()=>n("Empty trash bin"),handler:f,isVisible:({resources:g})=>g.length!==1||!a.filesPermanentDeletion||!Ot(g[0])?!1:g[0].canDeleteFromTrashBin({user:o.user}),isDisabled:({resources:g})=>!g[0].hasTrashedItems,class:"oc-files-actions-empty-trash-bin-trigger"}]),emptyTrashBin:p}},Ba=()=>{const{$gettext:e}=ee(),{getDefaultAction:s}=qe();return{actions:v(()=>[{name:"open",icon:"eye",label:()=>e("Open"),handler:a=>{const n=s({...a,omitSystemActions:!0});!n||!Object.hasOwn(n,"handler")||n.handler(a)},route:a=>{const n=s({...a,omitSystemActions:!0});if(!(!n||!Object.hasOwn(n,"route")))return n.route(a)},isVisible:a=>{const n=s({...a,omitSystemActions:!0});return n?n.isVisible(a):!1},class:"oc-files-actions-default-editor-trigger"}])}},Jr=()=>{const{showErrorMessage:e}=Ce(),s=Ae(),{$gettext:o}=ee(),a=Bn(),n=zn(),r=he(),c=i=>{const p=/URL=(.+)/,f=i.match(p);if(f&&f[1])return f[1];throw new Error("unable to extract url")},u=async({resources:i,space:p})=>{try{const f=new URL(window.location.href),l=(await r.webdav.getFileContents(p,i[0])).body;let g=c(l);if(g=g.match(/^http[s]?:\/\//)?g:`https://${g}`,g=rs.sanitize(g,{USE_PROFILES:{html:!0}}),g.startsWith(f.origin)){window.location.href=g;return}window.open(g)}catch(f){console.error(f),e({title:o("Failed to open shortcut"),errors:[f]})}};return{actions:v(()=>[{name:"open-shortcut",icon:"external-link",category:"context",handler:u,label:()=>o("Open shortcut"),isVisible:({resources:i})=>t(a)&&!t(n)&&!wt(s,"files-spaces-generic")&&!bt(s,"files-public-link")&&!yt(s,"files-common-favorites")&&!yt(s,"files-common-search")&&!xt(s,"files-shares-with-me")&&!xt(s,"files-shares-with-others")&&!xt(s,"files-shares-via-link")||i.length!==1||i[0].extension!=="url"?!1:i[0].canDownload(),class:"oc-files-actions-open-short-cut-trigger"}]),extractUrl:c}},za=()=>{const e=Ae(),s=he(),{getMatchingSpace:o}=pt(),{$gettext:a,$ngettext:n}=ee(),r=hs(),{startWorker:c}=Ro(),u=ge(),{currentFolder:d}=me(u),i=v(()=>Vn()?a("⌘ + V"):a("Ctrl + V")),p=v(()=>r.action===gs.Cut?je.MOVE:je.COPY),f=async({targetSpace:w,sourceSpace:m,resources:D})=>{const F=new po(m,D,w,t(d),d,s,a,n),R=await F.getTransferData(t(p));if(!R.length)return;const S=t(d)?.id;c(R,async({successful:y,failed:k})=>{if(F.showResultMessage(k,y,t(p)),!y.length||t(d)&&S!==t(d).id)return;const V=[],se=[];for(const U of y)V.push((async()=>{const L=await s.webdav.getFileInfo(w,U);se.push(L)})());await Promise.allSettled(V),Lt(w)&&se.forEach(U=>{U.remoteItemId=w.id}),u.upsertResources(se)})},l=async({space:w})=>{const m=r.resources.reduce((F,R)=>{if(R.storageId in F)return F[R.storageId].resources.push(R),F;const S=o(R);return S.id in F||(F[S.id]={space:S,resources:[]}),F[S.id].resources.push(R),F},{}),D=Object.values(m).map(({space:F,resources:R})=>f({targetSpace:w,sourceSpace:F,resources:R}));await Promise.all(D),r.clearClipboard()};return{actions:v(()=>[{name:"paste",icon:"clipboard",handler:l,label:()=>a("Paste"),shortcut:t(i),isVisible:({resources:w})=>r.resources.length===0||!wt(e,"files-spaces-generic")&&!bt(e,"files-public-link")&&!yt(e,"files-common-favorites")||w.length===0?!1:bt(e,"files-public-link")&&t(d)?t(d)?.canCreate():!0,class:"oc-files-actions-copy-trigger"}])}},Va={class:le(["[&_.cropper-crop-box]:!outline-1","[&_.cropper-crop-box]:!outline-role-outline","[&_.cropper-line]:!bg-role-outline","[&_.cropper-point]:!bg-role-outline"])},Na={key:0,class:"max-h-[400px]"},Ua=["src"],ja={class:"text-sm text-role-on-surface-variant flex items-center mt-1"},Ha=["textContent"],qa=oe({__name:"SpaceImageModal",props:{modal:{},space:{},file:{}},setup(e,{expose:s}){const{showMessage:o,showErrorMessage:a}=Ce(),{$gettext:n}=ee(),r=he(),c=Ke(),{createDefaultMetaFolder:u}=Nt(),{getDefaultMetaFolder:d}=Wt(),{setCropperInstance:i}=To(),p=_(null),f=ct("imageRef"),l=_(null);s({onConfirm:async()=>{const D=t(p)?.getCroppedCanvas({imageSmoothingQuality:"high"}),F=await w(D);await m(F)}});const w=async D=>(await new Promise(R=>D.toBlob(R,"image/png"))).arrayBuffer(),m=async D=>{const F=r.graphAuthenticated;c.addToImagesLoading(e.space.id);let R=await d(e.space);R||(R=await u(e.space));const S={"Content-Type":"application/offset+octet-stream"};try{const{fileId:y,processing:k}=await r.webdav.putFileContents(e.space,{parentFolderId:R.id,fileName:"image.png",content:D,headers:S,overwrite:!0}),V=await F.drives.updateDrive(e.space.id,{name:e.space.name,special:[{specialFolder:{name:"image"},id:y}]});k||c.removeFromImagesLoading(e.space.id),c.updateSpaceField({id:e.space.id,field:"spaceImageData",value:V.spaceImageData}),o({title:n("Space image was set successfully")}),Ht.publish("app.files.spaces.uploaded-image",V)}catch(y){if(console.error(y),c.removeFromImagesLoading(e.space.id),y instanceof Vt&&y.statusCode===507){a({title:n("Failed to set space image"),desc:n("Not enough quota to set the space image"),errors:[y]});return}a({title:n("Failed to set space image"),errors:[y]})}};return We(async()=>{try{l.value=URL.createObjectURL(e.file),t(p)&&t(p)?.destroy(),await Ge(),p.value=new rn(t(f),{aspectRatio:16/9,viewMode:1,dragMode:"move",autoCropArea:.8,responsive:!0,background:!1}),i(p)}catch(D){a({title:n("Failed to load space image"),errors:[D]})}}),(D,F)=>{const R=q("oc-icon");return h(),I("div",Va,[l.value?(h(),I("div",Na,[M("img",{ref_key:"imageRef",ref:f,src:l.value},null,8,Ua),F[1]||(F[1]=A()),M("div",ja,[P(R,{class:"mr-1",name:"information",size:"small","fill-type":"line"}),F[0]||(F[0]=A()),M("span",{textContent:J(t(n)("Zoom via %{ zoomKeys }, pan via %{ panKeys }",{zoomKeys:t(n)("+-"),panKeys:t(n)("↑↓←→")}))},null,8,Ha)])])):X("",!0)])}}}),Wa=()=>{const e=Ne(),s=Ae(),{$gettext:o}=ee(),a=he(),n=_e(),{dispatchModal:r}=ze(),c=async({space:d,resources:i})=>{const{getFileContents:p}=a.webdav,f=await p(d,i[0],{responseType:"blob"}),l=new File([f.body],i[0].name);r({title:o("Crop your Space image"),confirmText:o("Confirm"),customComponent:qa,customComponentAttrs:()=>({file:l,space:d})})};return{actions:v(()=>[{name:"set-space-image",icon:"image-edit",handler:d=>n.addTask(()=>c(d)),label:()=>o("Set as space image"),isVisible:({space:d,resources:i})=>i.length!==1||!i[0].hasPreview?.()||!i[0].mimeType?.includes("image/")||!wt(s,"files-spaces-generic")||!d||!fe(d)?!1:d.canEditImage({user:e.user}),class:"oc-files-actions-set-space-image-trigger"}])}},Ka=()=>{const e=os(),s=Ke(),o=zt(),{showMessage:a,showErrorMessage:n}=Ce(),r=Ae(),{$gettext:c}=ee(),u=vt(),d=he(),i=_e(),{upsertResource:p}=ge(),f=wt(r,"files-spaces-projects"),l=async m=>{const D=s.spaces.filter(fe),F=Ze(m.name,"",D);try{let R=await d.graphAuthenticated.drives.createDrive({name:F,description:m.description,quota:{total:m.spaceQuota.total}});const S=await d.webdav.listFiles(m);if(S.children.length){const y=new Jn({concurrency:e.options.concurrentRequests.resourceBatchActions}),k=[];for(const V of S.children)k.push(y.add(()=>d.webdav.copyFiles(m,V,R,{path:V.name})));await Promise.all(k)}if(m.spaceReadmeData||m.spaceImageData){const y={special:[]};if(m.spaceReadmeData){const k=await d.webdav.getFileInfo(R,{path:`.space/${m.spaceReadmeData.name}`});y.special.push({specialFolder:{name:"readme"},id:k.id})}if(m.spaceImageData){const k=await d.webdav.getFileInfo(R,{path:`.space/${m.spaceImageData.name}`});y.special.push({specialFolder:{name:"image"},id:k.id})}R=await d.graphAuthenticated.drives.updateDrive(R.id,y,o.graphRoles)}s.upsertSpace(R),f&&p(R),a({title:c("Space »%{space}« was duplicated successfully",{space:m.name})})}catch(R){console.error(R),n({title:c("Failed to duplicate space »%{space}«",{space:m.name}),errors:[R]})}},g=async({resources:m})=>{for(const D of m)D.disabled||!fe(D)||await l(D)};return{actions:v(()=>[{name:"duplicate",icon:"folders",label:()=>c("Duplicate"),handler:m=>i.addTask(()=>g(m)),isVisible:({resources:m})=>!m?.length||m.every(D=>D.disabled)||m.every(D=>!fe(D))?!1:u.can("create-all","Drive"),class:"oc-files-actions-duplicate-trigger"}]),duplicateSpace:l}};function Qa(){const{triggerDefaultAction:e}=qe();return{openWithDefaultApp:({space:o,resource:a})=>{if(!a||a.isFolder)return;e({...{resources:[a],space:o},omitSystemActions:!0})}}}const Xr=()=>{const e=he(),{openWithDefaultApp:s}=Qa(),{createDefaultMetaFolder:o}=Nt(),a=Ne(),n=Ke(),{$gettext:r}=ee(),{getDefaultMetaFolder:c}=Wt(),u=async(p,f)=>{const l=await e.webdav.putFileContents(p,{path:".space/readme.md",parentFolderId:f.id,fileName:"readme.md"}),g=await e.graphAuthenticated.drives.updateDrive(p.id,{name:p.name,special:[{specialFolder:{name:"readme"},id:l.id}]});return n.updateSpaceField({id:p.id,field:"spaceReadmeData",value:g.spaceReadmeData}),l},d=async({resources:p})=>{let f=null,l=await c(p[0]);if(l||(l=await o(p[0]),f=await u(p[0],l)),!f){const g=An(p[0],"readme");g?f=await e.webdav.getFileInfo(p[0],{path:g}):f=await u(p[0],l)}s({space:p[0],resource:f})};return{actions:v(()=>[{name:"editReadmeContent",icon:"article",label:()=>r("Edit description"),handler:d,isVisible:({resources:p})=>p.length!==1?!1:p[0].canEditReadme({user:a.user}),class:"oc-files-actions-edit-readme-content-trigger"}])}},Yr=()=>{const{$gettext:e}=ee(),s=ge(),{openSideBarPanel:o}=ut(),a=({resources:r})=>{s.setSelection(r.map(({id:c})=>c)),o("space-share")};return{actions:v(()=>[{name:"show-members",icon:"group",label:()=>e("Members"),handler:a,isVisible:({resources:r})=>r.length===1&&!r[0].disabled,class:"oc-files-actions-show-details-trigger"}])}},Gr=()=>{const e=Ae(),{$gettext:s}=ee(),o=n=>Ft("files-trash-generic",{...ss(n,{fileId:n.fileId})});return{actions:v(()=>[{name:"navigateToTrash",icon:"delete-bin-5",label:()=>s("Open trash bin"),handler:({resources:n})=>{e.push(o(n[0]))},isVisible:({resources:n})=>!(n.length!==1||!fe(n[0])&&!Bt(n[0])||n[0].disabled),class:"oc-files-actions-navigate-to-trash-trigger"}])}},Ja=oe({name:"EmojiPickerModal",components:{},props:{modal:{type:Object,required:!0}},emits:["confirm"],setup(e,{emit:s}){const o=Pt(),{currentTheme:a}=me(o),n=v(()=>t(a).isDark?"dark":"light");return{onEmojiSelect:c=>{s("confirm",c)},theme:n}}});function Xa(e,s,o,a,n,r){const c=q("oc-emoji-picker");return h(),K(c,{theme:e.theme,onEmojiSelect:e.onEmojiSelect},null,8,["theme","onEmojiSelect"])}const Ya=be(Ja,[["render",Xa]]),Zr=()=>{const e=Ne(),{showMessage:s,showErrorMessage:o}=Ce(),{$gettext:a}=ee(),n=he(),r=_e(),c=Ke(),{createDefaultMetaFolder:u}=Nt(),{dispatchModal:d}=ze(),{getDefaultMetaFolder:i}=Wt(),p=({resources:w})=>{w.length===1&&d({elementClass:"w-auto",title:a("Set icon for »%{space}«",{space:w[0].name}),hideConfirmButton:!0,customComponent:Ya,focusTrapInitial:!1,onConfirm:m=>l(w[0],m)})},f=async w=>{const m=document.createElement("canvas"),D=m.getContext("2d"),F=16/9,R=720,S=R/F;m.width=R,m.height=S;const y=.4*R;D.font=`${y}px sans-serif`,D.textBaseline="middle",D.textAlign="center",D.fillText(w,m.width/2,m.height/2+15);const V=await So(m);return ko(V)},l=async(w,m)=>{const D=n.graphAuthenticated,F=await f(m);let R=await i(w);return R||(R=await u(w)),r.addTask(async()=>{const S={"Content-Type":"application/offset+octet-stream"};try{const{fileId:y}=await n.webdav.putFileContents(w,{parentFolderId:R.id,fileName:"image.png",content:F,headers:S,overwrite:!0}),k=await D.drives.updateDrive(w.id,{name:w.name,special:[{specialFolder:{name:"image"},id:y}]});c.updateSpaceField({id:w.id,field:"spaceImageData",value:k.spaceImageData}),s({title:a("Space icon was set successfully")}),Ht.publish("app.files.spaces.uploaded-image",k)}catch(y){if(console.error(y),y instanceof Vt&&y.statusCode===507){o({title:a("Failed to set space icon"),desc:a("Not enough quota to set the space icon"),errors:[y]});return}o({title:a("Failed to set space icon"),errors:[y]})}})};return{actions:v(()=>[{name:"set-space-icon",icon:"emoji-sticker",handler:p,label:()=>a("Set icon"),isVisible:({resources:w})=>w.length!==1?!1:w[0].canEditImage({user:e.user}),class:"oc-files-actions-set-space-icon-trigger"}]),setIconSpace:l}},_r=()=>{const e=Ne(),{$gettext:s}=ee(),{dispatchModal:o}=ze(),{graphAuthenticated:a,webdav:n}=he(),r=Ke(),{showMessage:c,showErrorMessage:u}=Ce(),{defaultSpaceImageBlobURL:d}=me(r),i=async({space:l})=>{try{await n.deleteFile(l,{path:".space/image.png"}),await a.drives.updateDrive(l.id,{name:l.name,special:[{specialFolder:{name:"image"},id:null}]}),r.updateSpaceField({id:l.id,field:"spaceImageData",value:null}),r.updateSpaceField({id:l.id,field:"thumbnail",value:t(d)}),c({title:s("Space image deleted successfully")})}catch(g){console.error(g),u({title:s("Failed to delete space image"),errors:[g]})}},p=({resources:l})=>{o({title:s("Delete »%{space}« image",{space:l[0].name}),confirmText:s("Delete"),onConfirm:()=>i({space:l[0]}),message:s("Are you sure you want to delete the image of »%{space}«?",{space:l[0].name})})};return{actions:v(()=>[{name:"delete-space-image",icon:"delete-bin",handler:p,label:()=>s("Delete image"),isVisible:({resources:l})=>l.length!==1||!l[0].spaceImageData?!1:l[0].canEditImage({user:e.user}),class:"oc-files-actions-delete-space-image-trigger"}]),deleteSpaceImage:i}},el=()=>{const{isResourceAccessible:e}=pt();return{breadcrumbsFromPath:({route:a,space:n,resourcePath:r,ancestorMetaData:c=_({})})=>{const u=(p="")=>p.split("/").filter(Boolean),d=u(a.path),i=u(r);return i.map((p,f)=>{const l=Et(...i.slice(0,f+1),{leadingSlash:!0}),g=e({space:t(n),path:l});let w;return g&&(w=t(c)[l]),{id:it(),allowContextActions:!0,text:p,...g&&{to:{path:"/"+[...d].splice(0,d.length-i.length+f+1).join("/"),query:{...qt(a.query,"page","fileId"),...w&&{fileId:w.id}}}},isStaticNav:!1}})},concatBreadcrumbs:(...a)=>{const n=a.pop();return[...a,{id:it(),allowContextActions:n.allowContextActions,text:n.text,onClick:()=>Ht.publish("app.files.list.load"),isTruncationPlaceholder:n.isTruncationPlaceholder,isStaticNav:n.isStaticNav}]}}},Ga=()=>ln("$passwordPolicyService"),Za=()=>{const e=is();return{canBeOpenedWithSecureView:o=>e.fileExtensions.filter(({secureView:n})=>n).some(({mimeType:n})=>n===o.mimeType)}},_a=140,ei=84,ti=()=>{const e=_(_a),s=_(ei),o=n=>t(e)+(n-1)*t(s);return{calculateTileSizePixels:o,calculateTileSizeRem:n=>{const r=parseFloat(getComputedStyle(document.documentElement).fontSize);return o(n)/r}}},si=()=>{const{$gettext:e}=ee(),{interceptModifierClick:s}=St(),{openSideBarPanel:o}=ut(),a=ge(),n=Ne(),r=S=>ve.containsAnyValue(ve.authenticated,S??[]),c=S=>ve.containsAnyValue(ve.unauthenticated,S??[]),u=({isDirect:S})=>e(S?"This item is directly shared with others.":"This item is shared with others through one of the parent folders."),d=({isDirect:S})=>e(S?"This item is directly shared via links.":"This item is shared via links through one of the parent folders."),i=({resource:S,isDirect:y})=>({id:`files-sharing-${S.getDomSelector()}`,kind:"icon",accessibleDescription:u({isDirect:y}),label:e("Show invited people"),icon:"group",category:"sharing",type:y?"user-direct":"user-indirect",fillType:"line",handler:(k,V)=>{V&&s(V,k)||o("sharing")}}),p=({resource:S})=>({id:`files-sharing-synced-${S.getDomSelector()}`,kind:"icon",accessibleDescription:e("This item is synced with your devices"),label:e("Synced with your devices"),icon:"loop-right",category:"sharing",type:"resource-synced",fillType:"line"}),f=({resource:S})=>S.shareRoles?.length?{id:`files-sharing-role-${S.getDomSelector()}`,kind:"icon",accessibleDescription:e(S.shareRoles[0].description),label:e(S.shareRoles[0].displayName),icon:S.shareRoles[0].icon,category:"sharing",type:"share-role",fillType:"line"}:{id:`files-sharing-role-${S.getDomSelector()}`,kind:"icon",accessibleDescription:ve.remote.label,label:ve.remote.label,icon:ve.remote.icon,category:"sharing",type:"share-role",fillType:"line"},l=({resource:S,isDirect:y})=>({id:`file-link-${S.getDomSelector()}`,kind:"icon",accessibleDescription:d({isDirect:y}),label:e("Show links"),icon:"link",category:"sharing",type:y?"link-direct":"link-indirect",fillType:"line",handler:()=>o("sharing")}),g=({resource:S})=>({id:`resource-locked-${S.getDomSelector()}`,kind:"icon",accessibleDescription:e("Item locked"),label:e("This item is locked"),icon:"lock",category:"system",type:"resource-locked",fillType:"line"}),w=({resource:S})=>{const y=S.immutableState;y==="frozen"&&S.type==="folder"&&console.error(`BUG: folder "${S.name}" has immutableState "frozen" — folders can only be "protected" or "shielded"`);const k=y==="frozen",V=y==="protected";return{id:`resource-immutable-${S.getDomSelector()}`,kind:"icon",accessibleDescription:e(k?"File is frozen":V?"Item is protected":"Item is in a protected folder"),label:e(k?"This file is frozen":V?"This item is protected":"This item is in a protected folder"),icon:k?"snowflake":"shield",category:"system",type:"resource-immutable",fillType:k?"line":V?"fill":"line"}},m=({resource:S})=>({id:`resource-processing-${S.getDomSelector()}`,kind:"icon",accessibleDescription:e("Item in processing"),label:e("This item is in processing"),icon:"loop-right",category:"system",type:"resource-processing",fillType:"line"}),D=({resource:S})=>({id:`resource-space-enabled-${S.getDomSelector()}`,kind:"tag",accessibleDescription:e("Space is enabled"),label:e("Enabled"),category:"space",type:"resource-space-enabled",class:"!bg-green-200 !text-green-900"}),F=({resource:S})=>({id:`resource-space-disabled-${S.getDomSelector()}`,kind:"tag",accessibleDescription:e("Space is disabled"),label:e("Disabled"),category:"space",type:"resource-space-disabled",class:"!bg-red-200 !text-red-900"});return{getIndicators:({space:S,resource:y})=>{const k=[];if(y.locked&&k.push(g({resource:y})),y.immutableState&&k.push(w({resource:y})),y.processing&&k.push(m({resource:y})),fe(y)&&!y.disabled&&k.push(D({resource:y})),fe(y)&&y.disabled&&k.push(F({resource:y})),Gt(y)&&(y.shareTypes.includes(ve.remote.value)||y.shareRoles?.length)&&k.push(f({resource:y})),Gt(y)&&y.syncEnabled&&k.push(p({resource:y})),fe(S)||Bt(S)&&S.isOwner(n.user)){const U=Object.values(a.ancestorMetaData).flatMap(({shareTypes:ce})=>ce),L=r(y.shareTypes);(L||r(U))&&k.push(i({resource:y,isDirect:L}));const Q=c(y.shareTypes);(Q||c(U))&&k.push(l({resource:y,isDirect:Q}))}return k}}},ni=({isResourceSelected:e,isResourceDisabled:s,emit:o})=>{const a=Ut(),{interceptModifierClick:n}=St(),r=p=>{a.publish("app.files.list.clicked"),o("update:selectedIds",p)},c=Tt(Rt,"files-trash-overview");return{shouldShowContextDrop:p=>t(c)&&fe(p)&&p.disabled?!1:!s(p),showContextMenuOnBtnClick:(p,f,l)=>{p instanceof MouseEvent&&n(p,f)||s(f)||l?.show({event:p})},showContextMenuOnRightClick:(p,f,l)=>{p instanceof MouseEvent&&n(p,f)||(p.preventDefault(),!s(f)&&(e(f)||r([f.id]),l?.show({event:p,useMouseAnchor:!0})))}}},oi=({selectedIds:e,selectedResources:s,emit:o})=>{const a=ge(),n=_(),r=ct("ghostElement"),c=async(l,g)=>{n.value=l,await Ge(),t(r).$el.ariaHidden="true",t(r).$el.style.left="-99999px",t(r).$el.style.top="-99999px",g.dataTransfer.setDragImage(t(r).$el,0,0),g.dataTransfer.dropEffect="move",g.dataTransfer.effectAllowed="move"},u=async(l,g)=>{t(e).includes(l.id)||(a.toggleSelection(l.id),o("update:selectedIds",[...a.selectedIds])),await c(l,g)},d=v(()=>t(s).filter(({id:l})=>l!==t(n)?.id)),i=l=>(l.dataTransfer.types||[]).some(g=>g==="Files"),p=(l,g)=>{i(g)||(n.value=null,f(l,!0,g),o("fileDropped",l.id))},f=(l,g,w)=>{if(i(w)||w.currentTarget?.contains(w.relatedTarget)||t(e).includes(l.id)||l.type!=="folder")return;const m=document.querySelectorAll(`[data-item-id='${l.id}']`)?.[0];if(!m)return;const D="!bg-role-secondary-container";g?m.classList.remove(D):m.classList.add(D)};return{ghostElement:r,dragItem:n,dragSelection:d,dragStart:u,fileDropped:p,setDropStyling:f}},ai=({resources:e,disabledResources:s,selectedIds:o,emit:a})=>{const n=Ut(),{$gettext:r}=ee(),c=f=>{n.publish("app.files.list.clicked"),a("update:selectedIds",f)},u=f=>{switch(f.type){case"folder":return r("Select folder");case"space":return r("Select space");default:return r("Select file")}},d=v(()=>{const f=t(s).length===t(e).length,l=t(o).length===t(e).length-t(s).length;return!f&&l}),i=v(()=>t(d)?r("Clear selection"):r("Select all"));return{getResourceCheckboxLabel:u,areAllResourcesSelected:d,selectAllCheckboxLabel:i,toggleSelectionAll:()=>{if(t(d))return c([]);c(t(e).filter(f=>!t(s).includes(f.id)).map(f=>f.id))}}},Vs=({space:e,resources:s,selectedIds:o,emit:a})=>{const n=ge(),r=Ae(),c=Ut(),{interceptModifierClick:u}=St(),{getMatchingSpace:d}=pt(),{canBeOpenedWithSecureView:i}=Za(),{getDefaultAction:p}=qe(),{isEnabled:f,fileTypes:l,isFilePicker:g,postMessage:w}=dt(),m=hs(),{resources:D,action:F}=me(m),R=v(()=>t(s).filter(C=>t(o).includes(C.id))),S=C=>t(o).includes(C.id),y=C=>n.deleteQueue.includes(C),k=C=>t(f)&&t(l)?.length?!t(l).includes(C.extension)&&!t(l).includes(C.mimeType)&&!C.isFolder:y(C.id)?!0:C.processing===!0,V=v(()=>t(s)?.filter(k)?.map(C=>C.id)||[]);return{selectedResources:R,disabledResources:V,isResourceSelected:S,isResourceInDeleteQueue:y,isResourceDisabled:k,isResourceClickable:(C,O)=>!O||fe(C)&&C.disabled||!C.isFolder&&!C.canDownload()&&!i(C)?!1:!k(C),isResourceCut:C=>t(F)!==gs.Cut?!1:t(D).some(O=>O.id===C.id),fileContainerClicked:({resource:C,event:O})=>{if(k(C))return;if(t(f)&&t(g)&&!C.isFolder)return w("opencloud-embed:file-pick",{resource:JSON.parse(JSON.stringify(C)),locationQuery:JSON.parse(JSON.stringify(Xt(t(r.currentRoute))))});!O.shiftKey&&!O.metaKey&&!O.ctrlKey&&c.publish("app.files.shiftAnchor.reset");const E=O?.target;if(E?.closest("div")?.id==="oc-files-context-menu")return;if(O&&O.metaKey)return c.publish("app.files.list.clicked.meta",C);if(O&&O.shiftKey)return c.publish("app.files.list.clicked.shift",{resource:C,skipTargetSelection:!1});E.getAttribute("type")!=="checkbox"&&(S(C)||(c.publish("app.files.list.clicked"),a("update:selectedIds",[C.id])))},fileNameClicked:({resource:C,event:O})=>{if(!u(O,C)){if(t(f))return t(g)||a("update:selectedIds",[C.id]),t(g)&&!C.isFolder?w("opencloud-embed:file-pick",{resource:JSON.parse(JSON.stringify(C)),locationQuery:JSON.parse(JSON.stringify(Xt(t(r.currentRoute))))}):void 0;a("fileClick",{space:d(C),resources:[C]})}},fileCheckboxClicked:({resource:C,event:O})=>{u(O,C)||(n.toggleSelection(C.id),c.publish("app.files.list.clicked"),a("update:selectedIds",[...n.selectedIds]))},getResourceLink:C=>{let O=t(e);O||(O=d(C));const E=p({resources:[C],space:O});if(E?.route)return E.route({space:O,resources:[C]})},...oi({selectedIds:o,selectedResources:R,emit:a}),...ni({isResourceDisabled:k,isResourceSelected:S,emit:a}),...ai({resources:s,disabledResources:V,selectedIds:o,emit:a})}};function tl(e){const s=lt(),o=Fs(),a=he(),n=ee(),r=v(()=>s.tusMaxChunkSize>0),c=()=>{const i={};return o.publicLinkPassword?i.Authorization="Basic "+cn.from(["public",o.publicLinkPassword].join(":")).toString("base64"):o.accessToken&&!o.publicLinkPassword&&(i.Authorization="Bearer "+o.accessToken),i["X-Request-ID"]=it(),i["Accept-Language"]=n.current,i["Initiator-ID"]=a.initiatorId,i},u=v(()=>{const i={onBeforeRequest:(p,f)=>new Promise(l=>{const g=c();p.setHeader("Authorization",g.Authorization),p.setHeader("X-Request-ID",g["X-Request-ID"]),p.setHeader("Accept-Language",g["Accept-Language"]),p.setHeader("Initiator-ID",g["Initiator-ID"]),f?.isRemote&&p.setHeader("x-oc-mtime",(f?.data?.lastModified/1e3).toFixed(0)),l()}),chunkSize:s.tusMaxChunkSize||1/0,overridePatchMethod:s.tusHttpMethodOverride,uploadDataDuringCreation:s.tusExtension.includes("creation-with-upload")};return i.headers=p=>{if(p.xhrUpload||p?.isRemote)return{"x-oc-mtime":(p?.data?.lastModified/1e3).toFixed(0),...c()}},i}),d=v(()=>({timeout:6e4,endpoint:"",headers:i=>({"x-oc-mtime":(i?.data?.lastModified/1e3).toFixed(0),...c()})}));Ve([u,d],()=>{if(t(r)){e.uppyService.useTus(t(u));return}e.uppyService.useXhr(t(d))},{immediate:!0})}const ii=oe({name:"ContextActions",components:{ContextActionMenu:Xn},props:{actionOptions:{type:Object,required:!0}},setup(e){const{getAllOpenWithActions:s}=qe(),{$gettext:o}=ee(),{actions:a}=Ba(),{actions:n}=bs(),{actions:r}=ys(),{actions:c}=ws(),{actions:u}=Nn(),{actions:d}=vs(),{actions:i}=ks(),{actions:p}=Ss(),{actions:f}=Cs(),{actions:l}=Un(),{actions:g}=$s(),{actions:w}=za(),{actions:m}=xs(),{actions:D}=Ds(),{actions:F}=Wa(),{actions:R}=jn(),{actions:S}=Hn(),{actions:y}=qn(),k=Is(),V=v(()=>k.requestExtensions({id:"global.files.context-actions",extensionType:"action"}).map(x=>x.action)),se=v(()=>k.requestExtensions({id:"global.files.batch-actions",extensionType:"action"}).map(x=>x.action)),U=dn(e,"actionOptions"),L=v(()=>[...t(n),...t(d),...t(p),...t(g),...t(c),...t(i),...t(D),...t(S),...t(se).filter(x=>x.category==="actions"||Zt(x.category))].filter(x=>x.isVisible(t(U)))),Q=v(()=>[...t(R),...t(se).filter(x=>x.category==="sidebar")].filter(x=>x.isVisible(t(U)))),ce=v(()=>t(a).filter(x=>x.isVisible(t(U))).sort((x,pe)=>Number(pe.hasPriority)-Number(x.hasPriority))),b=v(()=>s({...t(U),omitSystemActions:!0}).filter(x=>x.isVisible(t(U))).sort((x,pe)=>Number(pe.hasPriority)-Number(x.hasPriority))),C=v(()=>[...t(y),...t(u),...t(V).filter(x=>x.category==="share")].filter(x=>x.isVisible(t(U)))),O=v(()=>[...t(p),...t(f),...t(i),...t(g),...t(c),...t(w),...t(m),...t(S),...t(D),...t(n),...t(d),...t(r),...t(F),...t(V).filter(x=>x.category==="actions"||Zt(x.category))].filter(x=>x.isVisible(t(U)))),E=v(()=>[...t(l).map(x=>(x.keepOpen=!0,x)),...t(R),...t(V).filter(x=>x.category==="sidebar")].filter(x=>x.isVisible(t(U))));return{menuSections:v(()=>{const x=[];return t(U).resources.length>1?(t(L).length&&x.push({name:"batch-actions",items:[...t(L)]}),x.push({name:"batch-details",items:[...t(Q)]}),x):([...t(ce),...t(b)].length&&x.push({name:"context",items:[...t(ce)],dropItems:[{label:o("Open with..."),name:"open-with",icon:"apps",items:[...t(b)]}]}),t(C).length&&x.push({name:"share",items:t(C)}),t(O).length&&x.push({name:"actions",items:t(O)}),t(E).length&&x.push({name:"sidebar",items:t(E)}),x)})}}});function ri(e,s,o,a,n,r){const c=q("context-action-menu");return h(),K(c,{"menu-sections":e.menuSections,"action-options":e.actionOptions},null,8,["menu-sections","action-options"])}const li=be(ii,[["render",ri]]),ci=oe({name:"AppBar",components:{BatchActions:wn,ContextActions:li,ViewOptions:yn,MobileNav:bn},props:{viewModeDefault:{type:String,required:!1,default:()=>at.defaultModeName},breadcrumbs:{type:Array,default:()=>[]},breadcrumbsContextActionsItems:{type:Array,default:()=>[]},viewModes:{type:Array,default:()=>[]},hasBulkActions:{type:Boolean,default:!1},hasViewOptions:{type:Boolean,default:!0},hasHiddenFiles:{type:Boolean,default:!0},hasFileExtensions:{type:Boolean,default:!0},hasPagination:{type:Boolean,default:!0},showActionsOnSelection:{type:Boolean,default:!1},batchActionsLoading:{type:Boolean,default:!1},space:{type:Object,required:!1,default:null}},setup(e,{emit:s}){const o=Ke(),{$gettext:a}=ee(),{can:n}=vt(),r=Ae(),{requestExtensions:c}=Is(),{isSticky:u}=ms(),d=ut(),{isSideBarOpen:i}=me(d),p=ge(),{selectedResources:f}=me(p),l=v(()=>e.space),{actions:g}=bs(),{actions:w}=ys(),{actions:m}=ws(),{actions:D}=Ka(),{actions:F}=vs(),{actions:R}=ks(),{actions:S}=Ss(),{actions:y}=Cs(),{actions:k}=$s(),{actions:V}=Ds(),{actions:se}=vn(),{actions:U}=kn(),{actions:L}=Sn(),{actions:Q}=Cn(),ce=_(0),b=Tt(yt,"files-common-search"),C=v(()=>Object.hasOwn(pn(),"navigation")&&n("create-all","Share")),O=v(()=>{let re=[...t(w),...t(g),...t(F),...t(S),...t(y),...t(k),...t(m),...t(R),...t(V)];b.value||(re=[...re,...t(D),...t(L),...t(Q),...t(se),...t(U)]);const $e=c({id:"global.files.batch-actions",extensionType:"action"});return $e.length&&(re=[...re,...$e.map(Re=>Re.action)]),re.filter(Re=>Re.isVisible({space:t(l),resources:p.selectedResources}))}),E=v(()=>o.spaces.filter(re=>Bt(re)||fe(re))),de=un("isMobileWidth"),x=Tt(Rt,"files-trash-generic"),pe=v(()=>!t(de)&&e.breadcrumbs.length?!0:t(x)&&t(E).length===1?!1:e.breadcrumbs.length>1),Fe=v(()=>t(x)&&t(E).length===1?e.breadcrumbs.length<=2:e.breadcrumbs.length<=1),ye=v(()=>t(l)&&(fe(t(l))||Lt(t(l)))?3:2),Ie=re=>{s(Ps,re)},De=ao("title"),Ee=v(()=>t(De)?a(t(De)):t(l)?.name||"");return{router:r,hasSharesNavigation:C,batchActions:O,showBreadcrumb:pe,showMobileNav:Fe,breadcrumbMaxWidth:ce,breadcrumbTruncationOffset:ye,fileDroppedBreadcrumb:Ie,pageTitle:Ee,selectedResources:f,isSticky:u,isSideBarOpen:i}},data:function(){return{resizeObserver:new ResizeObserver(this.onResize),limitedScreenSpace:!1}},computed:{showContextActions(){return oo(this.breadcrumbs).allowContextActions},showBatchActions(){return this.hasBulkActions&&(this.selectedResources.length>=1||Rt(this.router,"files-trash-generic"))},selectedResourcesAnnouncement(){return this.selectedResources.length===0?this.$gettext("No items selected."):this.$ngettext("%{ amount } item selected. Actions are available above the table.","%{ amount } items selected. Actions are available above the table.",this.selectedResources.length,{amount:this.selectedResources.length.toString()})}},mounted(){this.resizeObserver.observe(this.$refs.filesAppBar),window.addEventListener("resize",this.onResize)},beforeUnmount(){this.resizeObserver.unobserve(this.$refs.filesAppBar),window.removeEventListener("resize",this.onResize)},methods:{onResize(){const e=document.getElementById("web-content-main")?.getBoundingClientRect().width||0,s=document.getElementById("web-nav-sidebar")?.getBoundingClientRect().width||0,o=document.getElementById("app-sidebar")?.getBoundingClientRect().width||0,a=document.getElementById("files-app-bar-controls-right")?.clientWidth;this.breadcrumbMaxWidth=e-s-o-a,this.limitedScreenSpace=this.isSideBarOpen?window.innerWidth<=1280:window.innerWidth<=1e3}}}),di={class:"files-topbar py-2 w-full"},ui=["textContent"],pi={key:2,id:"files-app-bar-controls-right",class:"flex"},mi={class:"files-app-bar-actions flex items-center justify-end mt-1 min-h-10 gap-2"},fi={class:"flex-1 flex justify-start items-center"},hi={key:1};function gi(e,s,o,a,n,r){const c=q("oc-hidden-announcer"),u=q("context-actions"),d=q("oc-breadcrumb"),i=q("mobile-nav"),p=q("view-options"),f=q("batch-actions"),l=q("oc-spinner");return h(),I("div",{id:"files-app-bar",ref:"filesAppBar",class:le(["px-4 bg-role-surface rounded-t-xl [display:inherit] top-0 z-20",{"files-app-bar-squashed":e.isSideBarOpen,sticky:e.isSticky}])},[M("div",di,[M("h1",{class:"sr-only",textContent:J(e.pageTitle)},null,8,ui),s[3]||(s[3]=A()),P(c,{announcement:e.selectedResourcesAnnouncement,level:"polite"},null,8,["announcement"]),s[4]||(s[4]=A()),M("div",{class:le(["flex items-center files-app-bar-controls min-h-12",{"justify-between":e.breadcrumbs.length||e.hasSharesNavigation,"justify-end":!e.breadcrumbs.length&&!e.hasSharesNavigation}])},[e.showBreadcrumb?(h(),K(d,{key:0,id:"files-breadcrumb","context-menu-padding":"small","show-context-actions":e.showContextActions,items:e.breadcrumbs,"max-width":e.breadcrumbMaxWidth,"truncation-offset":e.breadcrumbTruncationOffset,"mobile-breakpoint":e.isSideBarOpen?"md":"sm",onItemDroppedBreadcrumb:e.fileDroppedBreadcrumb},{contextMenu:T(()=>[P(u,{"action-options":{space:e.space,resources:e.breadcrumbsContextActionsItems.filter(Boolean)}},null,8,["action-options"])]),_:1},8,["show-context-actions","items","max-width","truncation-offset","mobile-breakpoint","onItemDroppedBreadcrumb"])):X("",!0),s[0]||(s[0]=A()),e.showMobileNav?(h(),K(i,{key:1})):X("",!0),s[1]||(s[1]=A()),e.hasViewOptions?(h(),I("div",pi,[P(p,{"view-modes":e.viewModes,"has-hidden-files":e.hasHiddenFiles,"has-file-extensions":e.hasFileExtensions,"has-pagination":e.hasPagination,"per-page-storage-prefix":"files","view-mode-default":e.viewModeDefault},null,8,["view-modes","has-hidden-files","has-file-extensions","has-pagination","view-mode-default"])])):X("",!0)],2),s[5]||(s[5]=A()),e.hasSharesNavigation?Y(e.$slots,"navigation",{key:0}):X("",!0),s[6]||(s[6]=A()),M("div",mi,[M("div",fi,[Y(e.$slots,"actions",{limitedScreenSpace:e.limitedScreenSpace}),s[2]||(s[2]=A()),e.showBatchActions&&!e.batchActionsLoading?(h(),K(f,{key:0,actions:e.batchActions,"action-options":{space:e.space,resources:e.selectedResources},"limited-screen-space":e.limitedScreenSpace},null,8,["actions","action-options","limited-screen-space"])):e.showBatchActions&&e.batchActionsLoading?(h(),I("div",hi,[P(l,{"aria-label":e.$gettext("Loading actions")},null,8,["aria-label"])])):X("",!0)])]),s[7]||(s[7]=A()),Y(e.$slots,"content")])],2)}const sl=be(ci,[["render",gi]]),bi=oe({name:"DatePickerModal",props:{modal:{type:Object,required:!0},currentDate:{type:Object,required:!1,default:null},minDate:{type:Object,required:!1,default:null},isClearable:{type:Boolean,default:!0}},emits:["confirm","cancel"],setup(){const e=Pt(),{currentTheme:s}=me(e),o=_(),a=_(!0);return{confirmDisabled:a,onDateChanged:({date:r,error:c})=>{a.value=c||!r,o.value=r},currentTheme:s,dateTime:o}}}),yi={class:"flex justify-end items-center mt-2"};function wi(e,s,o,a,n,r){const c=q("oc-datepicker"),u=q("oc-button");return h(),I(ie,null,[P(c,{label:e.$gettext("Expiration date"),type:"date","min-date":e.minDate,"current-date":e.currentDate,"is-clearable":e.isClearable,"is-dark":e.currentTheme.isDark,"required-mark":"",onDateChanged:e.onDateChanged},null,8,["label","min-date","current-date","is-clearable","is-dark","onDateChanged"]),s[1]||(s[1]=A()),M("div",yi,[P(u,{disabled:e.confirmDisabled,class:"oc-modal-body-actions-confirm ml-2",appearance:"filled",onClick:s[0]||(s[0]=d=>e.$emit("confirm",e.dateTime))},{default:T(()=>[A(J(e.$gettext("Confirm")),1)]),_:1},8,["disabled"])])],64)}const nl=be(bi,[["render",wi]]),vi=oe({name:"ResourceGhostElement",components:{ResourceIcon:Ts},props:{previewItems:{type:Array,required:!0}},computed:{layerCount(){return Math.min(this.previewItems.length,3)},showSecondLayer(){return this.layerCount>1},showThirdLayer(){return this.layerCount>2},itemCount(){return this.previewItems.length}}}),ki={id:"ghost-element",class:"z-[var(--z-index-modal)] absolute pt-1 pl-4 bg-transparent"},Si={class:"relative rounded-sm bg-role-surface-container-high"},Ci={key:0,class:"-z-10 absolute top-[3px] left-[3px] right-[-3px] bottom-[-3px] rounded-sm bg-role-surface-container-high brightness-82"},$i={key:1,class:"-z-20 absolute top-[6px] left-[6px] right-[-6px] bottom-[-6px] rounded-sm bg-role-surface-container-high brightness-72"},xi={class:"badge absolute top-[-2px] right-[-8px] p-1 text-sm text-center leading-2 bg-red-600 text-white rounded-4xl box-content min-w-2 h-2"};function Di(e,s,o,a,n,r){const c=q("resource-icon");return h(),I("div",ki,[M("div",Si,[P(c,{class:"p-1",resource:e.previewItems[0]},null,8,["resource"]),s[0]||(s[0]=A()),e.showSecondLayer?(h(),I("div",Ci)):X("",!0),s[1]||(s[1]=A()),e.showThirdLayer?(h(),I("div",$i)):X("",!0)]),s[2]||(s[2]=A()),M("span",xi,J(e.itemCount),1)])}const Ns=be(vi,[["render",Di]]),Ri=oe({name:"ResourceSize",props:{size:{type:[String,Number],required:!0}},setup:e=>{const{current:s}=ee();return{formattedSize:v(()=>xn(e.size,s))}}}),Ti=["textContent"];function Ai(e,s,o,a,n,r){return h(),I("span",{textContent:J(e.formattedSize)},null,8,Ti)}const Fi=be(Ri,[["render",Ai]]),Us=oe({__name:"ResourceStatusIndicators",props:{resource:{},space:{default:()=>{}},filter:{type:Function,default:void 0}},setup(e){const s=mn(),{getIndicators:o}=si(),a=v(()=>{const n=o({space:e.space,resource:e.resource});return e.filter?n.filter(e.filter):n});return(n,r)=>a.value.length>0?(h(),K(t(Po),Oe({key:0},t(s),{indicators:a.value,resource:e.resource}),null,16,["indicators","resource"])):X("",!0)}}),Ii={class:"resource-table-select-all flex justify-center items-center"},Ei={class:"truncate"},Mi=["textContent"],Pi=["textContent"],Li=["textContent"],Oi={key:0,class:"flex items-center justify-end flex-row flex-nowrap"},Bi=850,ol=oe({__name:"ResourceTable",props:{resources:{},resourceDomSelector:{type:Function,default:e=>Fn(e.id)},arePathsDisplayed:{type:Boolean,default:!1},selectedIds:{default:()=>[]},hasActions:{type:Boolean,default:!0},showRenameQuickAction:{type:Boolean,default:!0},areResourcesClickable:{type:Boolean,default:!0},headerPosition:{default:0},isSelectable:{type:Boolean,default:!0},dragDrop:{type:Boolean,default:!1},viewMode:{default:()=>at.defaultModeName},hover:{type:Boolean,default:!0},sortBy:{default:()=>{}},fieldsDisplayed:{default:()=>{}},sortDir:{default:()=>{}},space:{default:()=>{}},resourceType:{default:"file"},lazy:{type:Boolean,default:!0}},emits:["fileClick","sort","fileDropped","update:selectedIds","update:modelValue"],setup(e,{emit:s}){const o=s,a=Ae(),n=lt(),{getMatchingSpace:r}=pt(),{interceptModifierClick:c}=St(),{getParentFolderLink:u,getParentFolderLinkIconAdditionalAttributes:d,getParentFolderName:i,getPathPrefix:p}=kt({space:_(e.space)}),{isSticky:f}=ms(),{$gettext:l,$ngettext:g,current:w}=ee(),{isLocationPicker:m,isFilePicker:D}=dt(),{selectedResources:F,disabledResources:R,isResourceSelected:S,fileContainerClicked:y,fileNameClicked:k,fileCheckboxClicked:V,isResourceDisabled:se,isResourceInDeleteQueue:U,isResourceClickable:L,isResourceCut:Q,getResourceLink:ce,dragItem:b,dragSelection:C,dragStart:O,fileDropped:E,setDropStyling:de,shouldShowContextDrop:x,showContextMenuOnRightClick:pe,showContextMenuOnBtnClick:Fe,selectAllCheckboxLabel:ye,getResourceCheckboxLabel:Ie,toggleSelectionAll:De,areAllResourcesSelected:Ee}=Vs({space:v(()=>e.space),resources:v(()=>e.resources),selectedIds:v(()=>e.selectedIds),emit:o}),re=ut(),{isSideBarOpen:$e}=me(re),Re=Fs(),{userContextReady:te}=me(Re),H=ge(),{areFileExtensionsShown:j,latestSelectedId:G}=me(H),{width:B}=fn(),Z=v(()=>n.filesTags&&B.value>=Bi),{actions:xe}=xs(),{actions:Le}=$n(),Ct=v(()=>t(xe)[0].handler),mt=v(()=>t(Le)[0].handler),et=_({}),$t=N=>l("Search for tag %{tag}",{tag:N}),W=v(()=>{if(e.resources.length===0)return[];const N=e.resources[0],z=[];e.isSelectable&&z.push({name:"select",title:"",type:"slot",headerType:"slot",width:"shrink"});const Me=eo(N);return z.push(...[{name:"name",title:l("Name"),type:"slot",width:"expand",wrap:"truncate"},{name:"manager",prop:"members",title:l("Manager"),type:"slot"},{name:"members",title:l("Members"),prop:"members",type:"slot"},{name:"totalQuota",prop:"spaceQuota.total",title:l("Total quota"),type:"slot",sortable:!0},{name:"usedQuota",prop:"spaceQuota.used",title:l("Used quota"),type:"slot",sortable:!0},{name:"remainingQuota",prop:"spaceQuota.remaining",title:l("Remaining quota"),type:"slot",sortable:!0},{name:"indicators",title:l("Status"),type:"slot",alignH:"right",wrap:"nowrap",width:"shrink"},{name:"size",title:l("Size"),type:"slot",alignH:"right",wrap:"nowrap",width:"shrink"},{name:"syncEnabled",title:l("Info"),type:"slot",alignH:"right",wrap:"nowrap",width:"shrink"},{name:"tags",title:l("Tags"),type:"slot",alignH:"right",wrap:"nowrap",width:"shrink"},{name:"sharedBy",title:l("Shared by"),type:"slot",alignH:"right",wrap:"nowrap",width:"shrink"},{name:"sharedWith",title:l("Shared with"),type:"slot",alignH:"right",wrap:"nowrap",width:"shrink"},{name:"mdate",title:l("Modified"),type:"slot",alignH:"right",wrap:"nowrap",width:"shrink",accessibleLabelCallback:ae=>Je(ae.mdate)+" ("+Qe(ae.mdate)+")"},{name:"sdate",title:l("Shared on"),type:"slot",alignH:"right",wrap:"nowrap",width:"shrink",accessibleLabelCallback:ae=>Je(ae.sdate)+" ("+Qe(ae.sdate)+")"},{name:"ddate",title:l("Deleted"),type:"slot",alignH:"right",wrap:"nowrap",width:"shrink",accessibleLabelCallback:ae=>Je(ae.ddate)+" ("+Qe(ae.ddate)+")"}].filter(ae=>{if(ae.name==="tags"&&!t(Z))return!1;if(ae.name==="indicators")return!0;let Te;return ae.prop?Te=no(N,ae.prop)!==void 0:Te=Object.prototype.hasOwnProperty.call(N,ae.name),e.fieldsDisplayed?Te&&e.fieldsDisplayed.includes(ae.name):Te}).map(ae=>{const Te=Me.find(ft=>ft.name===ae.name);return Te&&Object.assign(ae,{sortable:Te.sortable,sortDir:Te.sortDir}),ae})),e.hasActions&&z.push({name:"actions",title:l("Actions"),type:"slot",alignH:"right",wrap:"nowrap",width:"shrink"}),z}),ne=N=>{const z=t(a.currentRoute).query?.term;return It("files-common-search",{query:{provider:"files.sdk",q_tags:N,...z&&{term:z}}})},Qt=N=>t(te)?{to:ne(N)}:{},js=N=>N.id===t(G),Jt=N=>e.showRenameQuickAction?fe(N)?t(Le).filter(z=>z.isVisible({resources:[N]})).length:t(xe).filter(z=>z.isVisible({space:e.space,resources:[N]})).length:!1,Hs=N=>{if(fe(N))return t(mt)({resources:[N]});t(Ct)({space:r(N),resources:[N]})},Qe=N=>io(new Date(N),w),Je=N=>ro(new Date(N),w),qs=N=>{if(!gt(N))return;const z=N.type==="folder"?l("folder"):l("file"),Me=N.sharedWith.filter(({shareType:ae})=>ve.authenticated.includes(ve.getByValue(ae))).length;return Me?g("This %{ resourceType } is shared via %{ shareCount } invite","This %{ resourceType } is shared via %{ shareCount } invites",Me,{resourceType:z,shareCount:Me.toString()}):""},Ws=N=>{if(!gt(N))return"";const z=N.type==="folder"?l("folder"):l("file");return l("This %{ resourceType } is shared by %{ user }",{resourceType:z,user:N.sharedBy.map(({displayName:Me})=>Me).join(", ")})},Ks=N=>gt(N)?N.sharedBy.map(z=>({displayName:z.displayName,name:z.displayName,avatarType:ve.user.key,username:z.id,userId:z.id})):[],Qs=N=>gt(N)?N.sharedWith.filter(({shareType:z})=>ve.authenticated.includes(ve.getByValue(z))).map(z=>({displayName:z.displayName,name:z.displayName,avatarType:ve.getByValue(z.shareType).key,username:z.id,userId:z.id})):[];return(N,z)=>{const Me=q("oc-checkbox"),ae=q("oc-icon"),Te=q("oc-tag"),ft=q("oc-avatars"),tt=rt("oc-tooltip");return h(),I(ie,null,[P(t(Go),Oe(N.$attrs,{id:"files-space-table",class:[{condensed:e.viewMode===t(at).name.condensedTable,"files-table":e.resourceType==="file","files-table-squashed":e.resourceType==="file"&&t($e),"spaces-table":e.resourceType==="space","spaces-table-squashed":e.resourceType==="space"&&t($e)}],data:e.resources,fields:W.value,highlighted:e.selectedIds,disabled:t(R),sticky:t(f),"header-position":e.headerPosition,"drag-drop":e.dragDrop,hover:e.hover,"item-dom-selector":e.resourceDomSelector,selection:t(F),"sort-by":e.sortBy,"sort-dir":e.sortDir,lazy:e.lazy,"padding-x":"medium",onHighlight:z[1]||(z[1]=$=>t(y)({resource:$[0],event:$[1]})),onContextmenuClicked:z[2]||(z[2]=($,ue,Xe)=>t(pe)(ue,Xe,et.value[Xe.id])),onItemDropped:z[3]||(z[3]=$=>t(E)($[0],$[1])),onItemDragged:z[4]||(z[4]=$=>t(O)($[0],$[1])),onDropRowStyling:t(de),onSort:z[5]||(z[5]=$=>N.$emit("sort",$)),"onUpdate:modelValue":z[6]||(z[6]=$=>N.$emit("update:modelValue",$))}),ls({name:T(({item:$})=>[M("div",{class:le(["resource-table-resource-wrapper flex items-center",[{"resource-table-resource-wrapper-limit-max-width":Jt($)}]])},[Y(N.$slots,"image",{resource:$}),z[7]||(z[7]=A()),(h(),K(jt,{key:`${$.path}-${e.resourceDomSelector($)}-${$.thumbnail}`,resource:$,"path-prefix":t(p)($),"is-path-displayed":e.arePathsDisplayed,"parent-folder-name":t(i)($),"is-icon-displayed":!N.$slots.image,"is-extension-displayed":t(j),"is-resource-clickable":t(L)($,e.areResourcesClickable),link:t(ce)($),"parent-folder-link":t(u)($),"parent-folder-link-icon-additional-attributes":t(d)($),class:le({"opacity-60":t(Q)($)}),onClick:ke(ue=>t(k)({resource:$,event:ue}),["stop"])},null,8,["resource","path-prefix","is-path-displayed","parent-folder-name","is-icon-displayed","is-extension-displayed","is-resource-clickable","link","parent-folder-link","parent-folder-link-icon-additional-attributes","class","onClick"])),z[8]||(z[8]=A()),Jt($)?(h(),K(t(He),{key:0,class:"resource-table-edit-name inline-flex raw-hover-surface p-1 ml-1",appearance:"raw","aria-label":t(l)("Rename file »%{name}«",{name:$.name}),title:t(l)("Rename"),onClick:ke(ue=>{t(c)(ue,$)||Hs($)},["stop"])},{default:T(()=>[P(ae,{name:"edit-2","fill-type":"line",size:"small",color:"var(--oc-role-on-surface)"})]),_:1},8,["aria-label","title","onClick"])):X("",!0)],2),z[9]||(z[9]=A()),Y(N.$slots,"additionalResourceContent",{resource:$})]),syncEnabled:T(({item:$})=>[Y(N.$slots,"syncEnabled",{resource:$})]),size:T(({item:$})=>[P(Fi,{size:$.size||Number.NaN},null,8,["size"])]),tags:T(({item:$})=>[(h(!0),I(ie,null,Se($.tags.slice(0,2),ue=>(h(),K(as(t(te)?"router-link":"span"),Oe({key:ue},{ref_for:!0},Qt(ue),{class:"resource-table-tag-wrapper"}),{default:T(()=>[Pe((h(),K(Te,{class:"resource-table-tag ml-1 max-w-20",rounded:!0,size:"small"},{default:T(()=>[P(ae,{name:"price-tag-3",size:"small"}),z[10]||(z[10]=A()),M("span",Ei,J(ue),1)]),_:2},1024)),[[tt,$t(ue)]])]),_:2},1040))),128)),z[11]||(z[11]=A()),$.tags.length>2?(h(),K(Te,{key:0,size:"small",class:"resource-table-tag-more align-text-bottom cursor-pointer",onClick:z[0]||(z[0]=ue=>t(re).openSideBar())},{default:T(()=>[A(` + + `+J($.tags.length-2),1)]),_:2},1024)):X("",!0)]),manager:T(({item:$})=>[Y(N.$slots,"manager",{resource:$})]),members:T(({item:$})=>[Y(N.$slots,"members",{resource:$})]),totalQuota:T(({item:$})=>[Y(N.$slots,"totalQuota",{resource:$})]),usedQuota:T(({item:$})=>[Y(N.$slots,"usedQuota",{resource:$})]),remainingQuota:T(({item:$})=>[Y(N.$slots,"remainingQuota",{resource:$})]),mdate:T(({item:$})=>[Pe(M("span",{tabindex:"0",textContent:J(Je($.mdate))},null,8,Mi),[[tt,Qe($.mdate)]])]),indicators:T(({item:$})=>[P(Us,{space:e.space,resource:$,"disable-handler":t(se)($)},null,8,["space","resource","disable-handler"])]),sdate:T(({item:$})=>[Pe(M("span",{tabindex:"0",textContent:J(Je($.sdate))},null,8,Pi),[[tt,Qe($.sdate)]])]),ddate:T(({item:$})=>[Pe(M("p",{tabindex:"0",class:"m-0",textContent:J(Je($.ddate))},null,8,Li),[[tt,Qe($.ddate)]])]),sharedBy:T(({item:$})=>[P(ft,{class:"flex items-center justify-end flex-row flex-nowrap","is-tooltip-displayed":!0,items:Ks($),"accessible-description":Ws($),"hover-effect":""},{userAvatars:T(({avatars:ue,width:Xe})=>[(h(!0),I(ie,null,Se(ue,Ue=>(h(),K(t(Yt),{key:Ue.userId,"user-id":Ue.userId,"user-name":Ue.displayName,width:Xe},null,8,["user-id","user-name","width"]))),128))]),_:1},8,["items","accessible-description"])]),sharedWith:T(({item:$})=>[P(ft,{class:"flex items-center justify-end flex-row flex-nowrap","data-testid":"resource-table-shared-with",items:Qs($),stacked:!0,"max-displayed":3,"is-tooltip-displayed":!0,"accessible-description":qs($),"hover-effect":""},{userAvatars:T(({avatars:ue,width:Xe})=>[(h(!0),I(ie,null,Se(ue,Ue=>(h(),K(t(Yt),{key:Ue.userId,"user-id":Ue.userId,"user-name":Ue.displayName,width:Xe},null,8,["user-id","user-name","width"]))),128))]),_:1},8,["items","accessible-description"])]),actions:T(({item:$})=>[t(x)($)?(h(),I("div",Oi,[Y(N.$slots,"quickActions",{resource:$}),z[12]||(z[12]=A()),P(fs,{ref:ue=>et.value[$.id]=ue?.drop,title:$.name,item:$,"resource-dom-selector":e.resourceDomSelector,class:"resource-table-btn-action-dropdown",onQuickActionClicked:ue=>t(Fe)(ue,$,et.value[$.id])},{contextMenu:T(()=>[Y(N.$slots,"contextMenu",{resource:$})]),_:2},1032,["title","item","resource-dom-selector","onQuickActionClicked"])])):X("",!0)]),_:2},[!t(m)&&!t(D)?{name:"selectHeader",fn:T(()=>[M("div",Ii,[Pe(P(Me,{id:"resource-table-select-all",size:"large",label:t(ye),disabled:e.resources.length===t(R).length,"label-hidden":!0,"model-value":t(Ee),onClick:ke(t(De),["stop"])},null,8,["label","disabled","model-value","onClick"]),[[tt,t(ye)]])])]),key:"0"}:void 0,!t(m)&&!t(D)?{name:"select",fn:T(({item:$})=>[t(U)($.id)?(h(),K(t(Fo),{key:0,class:"inline-flex ml-1",size:"medium","aria-label":t(l)("File is being processed")},null,8,["aria-label"])):(h(),K(Me,{key:1,id:`resource-table-select-${e.resourceDomSelector($)}`,label:t(Ie)($),"label-hidden":!0,size:"large",disabled:t(se)($),"model-value":t(S)($),outline:js($),"data-test-selection-resource-name":$.name,"data-test-selection-resource-path":$.path,onClick:ke(ue=>t(V)({resource:$,event:ue}),["stop"])},null,8,["id","label","disabled","model-value","outline","data-test-selection-resource-name","data-test-selection-resource-path","onClick"]))]),key:"1"}:void 0,N.$slots.footer?{name:"footer",fn:T(()=>[Y(N.$slots,"footer")]),key:"2"}:void 0]),1040,["class","data","fields","highlighted","disabled","sticky","header-position","drag-drop","hover","item-dom-selector","selection","sort-by","sort-dir","lazy","onDropRowStyling"]),z[31]||(z[31]=A()),t(b)?(h(),K(cs,{key:0,to:"body"},[P(Ns,{ref:"ghostElement","preview-items":[t(b),...t(C)]},null,8,["preview-items"])])):X("",!0)],64)}}}),zi={key:0,class:"oc-tile-card-lazy-shimmer h-30 overflow-hidden relative after:absolute after:inset-0 after:transform-[translateX(-100%)] opacity-20 after:animate-shimmer"},Vi={class:"z-10 absolute top-0 left-0 [&_input]:not-[.oc-checkbox-checked]:bg-role-surface-container"},Ni={key:0,class:"oc-tile-card-loading-spinner z-990 m-2"},Ui=["textContent"],ji=["aria-label"],Hi={class:"flex justify-between items-center"},qi={class:"flex items-center truncate resource-name-wrapper text-role-on-surface overflow-hidden"},Wi={class:"flex items-center"},Ki={key:0,class:"text-left my-0 truncate"},Qi=["textContent"],Ji=oe({__name:"ResourceTile",props:{resource:{},resourceRoute:{},space:{},isResourceSelected:{type:Boolean,default:!1},isResourceClickable:{type:Boolean,default:!0},isResourceDisabled:{type:Boolean,default:!1},isExtensionDisplayed:{type:Boolean,default:!0},isPathDisplayed:{type:Boolean,default:!1},resourceIconSize:{default:"xlarge"},lazy:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1}},emits:["fileNameClicked","contextmenu","itemVisible","tileClicked"],setup(e,{emit:s}){const o=s,{$gettext:a}=ee(),{getParentFolderName:n,getParentFolderLink:r}=kt({space:_(e.space)}),c=ct("observerTarget"),u=v(()=>t(c)?.$el),d=v(()=>e.resource.locked||e.resource.processing),i=v(()=>e.resource.locked?{name:"lock",fillType:"fill"}:e.resource.processing?{name:"loop-right",fillType:"line"}:{}),p=v(()=>e.resource.locked?a("This item is locked"):null),f=v(()=>Ot(e.resource)?e.resource.description:""),{isVisible:l}=e.lazy?Ls({target:u,onVisibleCallback:()=>o("itemVisible")}):{isVisible:_(!0)},g=v(()=>!t(l));return e.lazy||o("itemVisible"),(w,m)=>{const D=q("oc-spinner"),F=q("oc-tag"),R=q("oc-image"),S=q("oc-icon"),y=rt("oc-tooltip");return h(),K(t(Yn),{ref_key:"observerTarget",ref:c,"body-class":"p-0",class:le(["oc-tile-card flex flex-col h-full shadow-none [&.item-accentuated]:bg-role-secondary-container",{"oc-tile-card-selected bg-role-secondary-container outline-2 outline-role-outline":e.isResourceSelected,"bg-role-surface-container hover:bg-role-surface-container-highest outline outline-role-surface-container-highest":!e.isResourceSelected,"oc-tile-card-disabled opacity-70 grayscale-60 pointer-events-none":e.isResourceDisabled,"state-trashed [&_.tile-preview]:opacity-80 [&_.tile-default-image_svg]:opacity-80 [&_.tile-preview]:grayscale [&_.tile-default-image_svg]:grayscale":t(fe)(e.resource)&&e.resource.disabled}]),"data-item-id":e.resource.id,onContextmenu:m[4]||(m[4]=k=>w.$emit("contextmenu",k))},{default:T(()=>[g.value?(h(),I("div",zi)):(h(),I(ie,{key:1},[P(to,{class:"oc-card-media-top flex justify-center items-center m-0 w-full relative aspect-[16/9]",resource:e.resource,link:e.resourceRoute,"is-resource-clickable":e.isResourceClickable,tabindex:"-1",onClick:m[1]||(m[1]=k=>w.$emit("fileNameClicked",k))},{default:T(()=>[M("div",Vi,[e.isLoading?(h(),I("div",Ni,[P(D,{"aria-label":t(a)("File is being processed")},null,8,["aria-label"])])):Y(w.$slots,"selection",{key:1,item:e.resource})]),m[5]||(m[5]=A()),t(fe)(e.resource)&&e.resource.disabled?(h(),K(F,{key:0,class:"z-10 absolute text-role-on-surface",type:"span"},{default:T(()=>[M("span",{textContent:J(t(a)("Disabled"))},null,8,Ui)]),_:1})):X("",!0),m[6]||(m[6]=A()),Pe((h(),I("div",{class:le(["oc-tile-card-preview flex items-center justify-center text-center size-full absolute",{"p-2":e.isResourceSelected,"hover:p-2":!e.isResourceSelected}]),"aria-label":p.value},[Y(w.$slots,"imageField",{item:e.resource},()=>[e.resource.thumbnail?(h(),K(R,{key:0,class:le(["tile-preview rounded-t-sm size-full object-cover aspect-[16/9] pointer-events-none",{"rounded-sm":e.isResourceSelected}]),src:e.resource.thumbnail,"data-test-thumbnail-resource-name":e.resource.name,onClick:m[0]||(m[0]=ke(k=>w.$emit("tileClicked",[e.resource,k]),["stop"]))},null,8,["class","src","data-test-thumbnail-resource-name"])):(h(),K(Ts,{key:1,resource:e.resource,size:e.resourceIconSize,class:"tile-default-image pt-1 relative"},ls({_:2},[d.value?{name:"status",fn:T(()=>[P(S,Oe(i.value,{size:"xsmall"}),null,16)]),key:"0"}:void 0]),1032,["resource","size"]))])],10,ji)),[[y,p.value]])]),_:3},8,["resource","link","is-resource-clickable"]),m[12]||(m[12]=A()),M("div",{class:"p-2",onClick:m[3]||(m[3]=ke(k=>w.$emit("tileClicked",[e.resource,k]),["stop"]))},[M("div",Hi,[M("div",qi,[P(jt,{resource:e.resource,"is-icon-displayed":!1,"is-extension-displayed":e.isExtensionDisplayed,"is-resource-clickable":e.isResourceClickable,"is-path-displayed":e.isPathDisplayed,"parent-folder-name":t(n)(e.resource),"parent-folder-link":t(r)(e.resource),link:e.resourceRoute,onClick:m[2]||(m[2]=ke(k=>w.$emit("fileNameClicked",k),["stop"]))},null,8,["resource","is-extension-displayed","is-resource-clickable","is-path-displayed","parent-folder-name","parent-folder-link","link"])]),m[9]||(m[9]=A()),M("div",Wi,[Y(w.$slots,"indicators",{item:e.resource,class:"resource-indicators"}),m[7]||(m[7]=A()),Y(w.$slots,"actions",{item:e.resource}),m[8]||(m[8]=A()),Y(w.$slots,"contextMenu",{item:e.resource})])]),m[10]||(m[10]=A()),f.value?(h(),I("p",Ki,[M("span",{class:"text-sm",textContent:J(f.value)},null,8,Qi)])):X("",!0),m[11]||(m[11]=A()),Y(w.$slots,"additionalResourceContent",{item:e.resource})])],64))]),_:3},8,["data-item-id","class"])}}}),Xi={id:"tiles-view",class:"px-4 pt-2"},Yi={class:"flex items-center mb-2 pb-2 oc-tiles-controls"},Gi={key:1,class:"oc-tiles-sort"},Zi={key:0,class:"flex"},_i={class:"p-1 text-sm"},er=oe({__name:"ResourceTiles",props:{resources:{default:()=>[]},selectedIds:{default:()=>[]},isSelectable:{type:Boolean,default:!0},space:{},sortFields:{default:()=>[]},sortBy:{},sortDir:{},viewSize:{default:()=>at.tilesSizeDefault},dragDrop:{type:Boolean,default:!1},lazy:{type:Boolean,default:!0},areResourcesClickable:{type:Boolean,default:!0},arePathsDisplayed:{type:Boolean,default:!1}},emits:["fileClick","fileDropped","sort","itemVisible","update:selectedIds"],setup(e,{emit:s}){const o=s,{$gettext:a}=ee(),n=ge(),{areFileExtensionsShown:r}=me(n),{isLocationPicker:c,isFilePicker:u}=dt(),d=hn(),i=v(()=>Math.min(t(d),e.viewSize)),p=ut(),{isSideBarOpen:f}=me(p),{disabledResources:l,isResourceSelected:g,fileContainerClicked:w,fileNameClicked:m,fileCheckboxClicked:D,isResourceDisabled:F,isResourceInDeleteQueue:R,isResourceClickable:S,isResourceCut:y,getResourceLink:k,dragItem:V,dragSelection:se,dragStart:U,fileDropped:L,setDropStyling:Q,shouldShowContextDrop:ce,showContextMenuOnRightClick:b,showContextMenuOnBtnClick:C,selectAllCheckboxLabel:O,getResourceCheckboxLabel:E,toggleSelectionAll:de,areAllResourcesSelected:x}=Vs({space:v(()=>e.space),resources:v(()=>e.resources),selectedIds:v(()=>e.selectedIds),emit:o}),pe=_({}),Fe=window.__E2E__===!0?!1:e.lazy,ye=v(()=>e.sortFields.find(B=>B.name===e.sortBy&&B.sortDir===e.sortDir)||e.sortFields[0]),Ie=B=>{o("sort",{sortBy:B.name,sortDir:t(B.sortDir)})},De=v(()=>{const B={1:"xlarge",2:"xlarge",3:"xxlarge",4:"xxlarge",5:"xxxlarge",6:"xxxlarge"},Z=t(i);return B[Z]??"xxlarge"}),Ee=_(0),re=()=>{const B=document.getElementById("tiles-view"),Z=getComputedStyle(B),xe=parseInt(Z.getPropertyValue("padding-left"),10)|0,Le=parseInt(Z.getPropertyValue("padding-right"),10)|0;Ee.value=B.clientWidth-xe-Le},$e=v(()=>parseFloat(getComputedStyle(document.documentElement).fontSize)),{calculateTileSizePixels:Re}=ti(),te=v(()=>{const B=[...Array(at.tilesSizeMax).keys()].map(Z=>Z+1);return[...new Set(B.map(Z=>{const xe=Re(Z);return xe?Math.round(t(Ee)/(xe+t($e))):0}))]}),H=v(()=>{const B=t(te);return B.length{const B=t(H)?e.resources.length%t(H):0;return B?t(H)-B:0}),G=v(()=>t(Ee)/t(H)-t($e));return Ve(G,B=>{B&&!isNaN(B)&&document.documentElement.style.setProperty("--oc-size-tiles-actual",`${B}px`)},{immediate:!0}),Ve(te,B=>{d.value=Math.max(B.length,1)}),Ve(f,()=>{re()}),We(()=>{window.addEventListener("resize",re),re()}),At(()=>{window.removeEventListener("resize",re)}),(B,Z)=>{const xe=q("oc-checkbox"),Le=q("oc-icon"),Ct=q("oc-button"),mt=q("oc-list"),et=q("oc-filter-chip"),$t=rt("oc-tooltip");return h(),I("div",Xi,[M("div",Yi,[e.isSelectable&&!t(u)?Pe((h(),K(xe,{key:0,id:"tiles-view-select-all",class:"ml-2",size:"large",label:t(O),"label-hidden":!0,disabled:e.resources.length===t(l).length,"model-value":t(x),onClick:ke(t(de),["stop"])},null,8,["label","disabled","model-value","onClick"])),[[$t,t(O)]]):X("",!0),Z[2]||(Z[2]=A()),e.sortFields.length?(h(),I("div",Gi,[P(et,{class:"[&_.oc-filter-chip-label]:text-sm","filter-label":t(a)("Sort by"),"selected-item-names":[ye.value.label],"has-active-state":!1,"close-on-click":"",raw:""},{default:T(()=>[P(mt,null,{default:T(()=>[(h(!0),I(ie,null,Se(e.sortFields,(W,ne)=>(h(),I("li",{key:ne},[P(Ct,{appearance:ye.value===W?"filled":"raw-inverse","color-role":ye.value===W?"secondaryContainer":"surface","no-hover":ye.value===W,"justify-content":"space-between",class:"oc-tiles-sort-filter-chip-item",onClick:Qt=>Ie(W)},{default:T(()=>[M("span",null,J(W.label),1),Z[1]||(Z[1]=A()),W===ye.value?(h(),I("div",Zi,[P(Le,{name:"check"})])):X("",!0)]),_:2},1032,["appearance","color-role","no-hover","onClick"])]))),128))]),_:1})]),_:1},8,["filter-label","selected-item-names"])])):X("",!0)]),Z[9]||(Z[9]=A()),P(mt,{class:"oc-tiles grid justify-start gap-3"},{default:T(()=>[(h(!0),I(ie,null,Se(e.resources,W=>(h(),I("li",{key:W.id,class:"oc-tiles-item has-item-context-menu"},[P(Ji,{resource:W,space:e.space,"resource-route":t(k)(W),"is-resource-selected":t(g)(W),"is-resource-clickable":t(S)(W,e.areResourcesClickable),"is-resource-disabled":t(F)(W),"is-extension-displayed":t(r),"is-path-displayed":e.arePathsDisplayed,"resource-icon-size":De.value,draggable:e.dragDrop,lazy:t(Fe),"is-loading":t(R)(W.id),class:le({"opacity-60":t(y)(W)}),onContextmenu:ne=>t(b)(ne,W,pe.value[W.id]),onFileNameClicked:ke(ne=>t(m)({resource:W,event:ne}),["stop"]),onDragstart:ne=>t(U)(W,ne),onDragenter:ke(ne=>t(Q)(W,!1,ne),["prevent"]),onDragleave:ke(ne=>t(Q)(W,!0,ne),["prevent"]),onDrop:ne=>t(L)(W,ne),onDragover:Z[0]||(Z[0]=ne=>ne.preventDefault()),onItemVisible:ne=>B.$emit("itemVisible",W),onTileClicked:ne=>t(w)({resource:W,event:ne[1]})},{selection:T(()=>[e.isSelectable&&!t(c)&&!t(u)?(h(),K(xe,{key:0,label:t(E)(W),"label-hidden":!0,size:"large",class:"inline-flex p-2.5",disabled:t(F)(W),"model-value":t(g)(W),"data-test-selection-resource-name":W.name,"data-test-selection-resource-path":W.path,onClick:ke(ne=>t(D)({resource:W,event:ne}),["stop","prevent"])},null,8,["label","disabled","model-value","data-test-selection-resource-name","data-test-selection-resource-path","onClick"])):X("",!0)]),imageField:T(()=>[Y(B.$slots,"image",{resource:W},void 0,!0)]),indicators:T(()=>[P(Us,{space:e.space,class:"ml-2",resource:W,filter:ne=>["system","sharing"].includes(ne.category),"disable-handler":t(F)(W)},null,8,["space","resource","filter","disable-handler"])]),actions:T(()=>[Y(B.$slots,"actions",{resource:W},void 0,!0)]),contextMenu:T(()=>[t(ce)(W)?(h(),K(t(fs),{key:0,ref_for:!0,ref:ne=>pe.value[W.id]=ne?.drop,item:W,title:W.name,class:"resource-tiles-btn-action-dropdown",onQuickActionClicked:ne=>t(C)(ne,W,pe.value[W.id])},{contextMenu:T(()=>[Y(B.$slots,"contextMenu",{resource:W},void 0,!0)]),_:2},1032,["item","title","onQuickActionClicked"])):X("",!0)]),additionalResourceContent:T(()=>[Y(B.$slots,"additionalResourceContent",{resource:W},void 0,!0)]),_:2},1032,["resource","space","resource-route","is-resource-selected","is-resource-clickable","is-resource-disabled","is-extension-displayed","is-path-displayed","resource-icon-size","draggable","lazy","is-loading","class","onContextmenu","onFileNameClicked","onDragstart","onDragenter","onDragleave","onDrop","onItemVisible","onTileClicked"])]))),128)),Z[8]||(Z[8]=A()),(h(!0),I(ie,null,Se(j.value,W=>(h(),I("li",{key:`ghost-tile-${W}`,class:"list-item","aria-hidden":!0}))),128))]),_:3}),Z[10]||(Z[10]=A()),t(V)?(h(),K(cs,{key:0,to:"body"},[P(Ns,{ref:"ghostElement","preview-items":[t(V),...t(se)]},null,8,["preview-items"])])):X("",!0),Z[11]||(Z[11]=A()),M("div",_i,[Y(B.$slots,"footer",{},void 0,!0)])])}}}),al=be(er,[["__scopeId","data-v-6e98839f"]]),tr=oe({name:"ItemFilterInline",props:{filterName:{type:String,required:!0},filterOptions:{type:Array,required:!0}},emits:["toggleFilter"],setup:function(e,{emit:s}){const o=Ae(),a=Es(),n=_(e.filterOptions[0].name),r=`q_${e.filterName}`,c=ds(r),u=i=>o.push({query:{...qt(t(a).query,[r]),[r]:i}}),d=async i=>{n.value=i.name,await u(i.name),s("toggleFilter",i)};return We(()=>{const i=Mt(t(c));i&&e.filterOptions.some(({name:p})=>p===i)&&(n.value=i,s("toggleFilter",e.filterOptions.find(({name:p})=>p===i)))}),{queryParam:r,activeOption:n,toggleFilter:d}}}),sr=["textContent"];function nr(e,s,o,a,n,r){const c=q("oc-button");return h(),I("div",null,[M("div",{class:le(["item-inline-filter inline-flex outline outline-offset-[-1px] rounded-md",`item-inline-filter-${e.filterName}`])},[(h(!0),I(ie,null,Se(e.filterOptions,(u,d)=>(h(),K(c,{id:u.name,key:d,class:le(["item-inline-filter-option py-1 px-2 first:rounded-l-md last:rounded-r-md h-[32px]",{"item-inline-filter-option-selected":e.activeOption===u.name}]),appearance:e.activeOption===u.name?"filled":"raw-inverse","color-role":e.activeOption===u.name?"secondaryContainer":"surface","no-hover":e.activeOption===u.name,onClick:i=>e.toggleFilter(u)},{default:T(()=>[M("span",{class:"truncate item-inline-filter-option-label",textContent:J(u.label)},null,8,sr)]),_:2},1032,["id","class","appearance","color-role","no-hover","onClick"]))),128))],2)])}const il=be(tr,[["render",nr]]),or=oe({name:"ItemFilterToggle",props:{filterLabel:{type:String,required:!0},filterName:{type:String,required:!0}},emits:["toggleFilter"],setup:function(e,{emit:s}){const o=Ae(),a=Es(),n=_(!1),r=`q_${e.filterName}`,c=ds(r),u=()=>o.push({query:{...qt(t(a).query,[r]),...t(n)&&{[r]:"true"}}}),d=async()=>{n.value=!t(n),await u(),s("toggleFilter",t(n))};return We(()=>{Mt(t(c))==="true"&&(n.value=!0)}),{queryParam:r,filterActive:n,toggleFilter:d}}});function ar(e,s,o,a,n,r){const c=q("oc-filter-chip");return h(),I("div",{class:le(["item-filter flex",`item-filter-${e.filterName}`])},[P(c,{"is-toggle":!0,"filter-label":e.filterLabel,"is-toggle-active":e.filterActive,onToggleFilter:e.toggleFilter,onClearFilter:e.toggleFilter},null,8,["filter-label","is-toggle-active","onToggleFilter","onClearFilter"])],2)}const rl=be(or,[["render",ar]]);export{Yr as $,sl as A,zr as B,li as C,nl as D,Ya as E,Ba as F,za as G,Wa as H,il as I,Kt as J,Qa as K,ra as L,Ga as M,Ro as N,si as O,ni as P,oi as Q,Ns as R,Vs as S,vo as T,ai as U,_r as V,Ka as W,Xr as X,Gr as Y,Zr as Z,ka as _,Nr as a,Wt as a0,ti as a1,tl as a2,Lr as a3,Br as a4,Fo as a5,Po as a6,Go as a7,Bo as a8,Oo as a9,Bs as aa,Uo as ab,ts as ac,Oa as b,Vr as c,rl as d,Sa as e,Fi as f,ol as g,Ji as h,al as i,po as j,qa as k,ko as l,jr as m,So as n,Or as o,Ur as p,el as q,Za as r,zs as s,Hr as t,To as u,qr as v,Wr as w,Kr as x,Qr as y,Jr as z}; diff --git a/web-dist/js/chunks/ItemFilterToggle-B0cxdVaA.mjs.gz b/web-dist/js/chunks/ItemFilterToggle-B0cxdVaA.mjs.gz new file mode 100644 index 0000000000..81ed127ec1 Binary files /dev/null and b/web-dist/js/chunks/ItemFilterToggle-B0cxdVaA.mjs.gz differ diff --git a/web-dist/js/chunks/LayoutContainer-6u4kq55b.mjs b/web-dist/js/chunks/LayoutContainer-6u4kq55b.mjs new file mode 100644 index 0000000000..75759f2282 --- /dev/null +++ b/web-dist/js/chunks/LayoutContainer-6u4kq55b.mjs @@ -0,0 +1 @@ +import{M as o,aZ as t,aL as n,u as a,I as r}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{_ as s}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";const c=o({name:"LayoutContainer"}),i={id:"activities",class:"p-4 overflow-auto"};function _(p,m,u,f,d,l){const e=t("router-view");return n(),a("main",i,[r(e)])}const $=s(c,[["render",_]]);export{$ as default}; diff --git a/web-dist/js/chunks/LayoutContainer-6u4kq55b.mjs.gz b/web-dist/js/chunks/LayoutContainer-6u4kq55b.mjs.gz new file mode 100644 index 0000000000..8d58842f2d Binary files /dev/null and b/web-dist/js/chunks/LayoutContainer-6u4kq55b.mjs.gz differ diff --git a/web-dist/js/chunks/LayoutContainer-D1JvK1WF.mjs b/web-dist/js/chunks/LayoutContainer-D1JvK1WF.mjs new file mode 100644 index 0000000000..4a505be54c --- /dev/null +++ b/web-dist/js/chunks/LayoutContainer-D1JvK1WF.mjs @@ -0,0 +1 @@ +import{u as c}from"./apps-D4m0BIDd.mjs";import{M as m,aD as u,aU as d,aZ as r,aL as t,u as _,s as p}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{A as l}from"./AppLoadingSpinner-D4wmhWZf.mjs";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";import"./index-DiD_jyrz.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./types-BoCZvwvE.mjs";import"./useAbility-DLkgdurK.mjs";import"./user-C7xYeMZ3.mjs";const y=m({name:"LayoutContainer",components:{AppLoadingSpinner:l},setup(){const o=c(),e=d(!0),a=o.loadApps();return u(async()=>{try{await a}catch(n){console.error(n)}finally{e.value=!1}}),{areAppsLoading:e}}}),L={id:"app-store",class:"p-4 overflow-auto"};function g(o,e,a,n,v,A){const s=r("app-loading-spinner"),i=r("router-view");return t(),_("main",L,[o.areAppsLoading?(t(),p(s,{key:0})):(t(),p(i,{key:1,"data-testid":"app-store-router-view"}))])}const D=f(y,[["render",g]]);export{D as default}; diff --git a/web-dist/js/chunks/LayoutContainer-D1JvK1WF.mjs.gz b/web-dist/js/chunks/LayoutContainer-D1JvK1WF.mjs.gz new file mode 100644 index 0000000000..0af39220db Binary files /dev/null and b/web-dist/js/chunks/LayoutContainer-D1JvK1WF.mjs.gz differ diff --git a/web-dist/js/chunks/List-D6xFt6lb.mjs b/web-dist/js/chunks/List-D6xFt6lb.mjs new file mode 100644 index 0000000000..6a153c2bb0 --- /dev/null +++ b/web-dist/js/chunks/List-D6xFt6lb.mjs @@ -0,0 +1 @@ +import{q as i,M as d,cr as h,aU as l,bk as c,cs as m,aL as v,s as f,a$ as y}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{a as g}from"./extensionRegistry-3T3I8mha.mjs";import{_ as R}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";const u={id:"app.search.provider",extensionType:"search",multiple:!0},k=()=>i(()=>[u]),S=()=>{const e=g();return i(()=>e.requestExtensions(u).map(({searchProvider:s})=>s))},x=d({setup(){const e=S(),s=h("provider"),a=i(()=>{const{listSearch:n}=c(e).find(o=>o.id===m(c(s)));return n}),r=l(!0),t=l({values:[],totalResults:null});return{listSearch:a,loading:r,searchResult:t,search:async n=>{r.value=!0;try{t.value=await c(a).search(n||"")}catch(o){t.value={values:[],totalResults:null},console.error(o)}r.value=!1}}}});function P(e,s,a,r,t,p){return v(),f(y(e.listSearch.component),{"search-result":e.searchResult,loading:e.loading,onSearch:e.search},null,40,["search-result","loading","onSearch"])}const q=R(x,[["render",P]]);export{q as L,k as e,S as u}; diff --git a/web-dist/js/chunks/List-D6xFt6lb.mjs.gz b/web-dist/js/chunks/List-D6xFt6lb.mjs.gz new file mode 100644 index 0000000000..e59ff0995b Binary files /dev/null and b/web-dist/js/chunks/List-D6xFt6lb.mjs.gz differ diff --git a/web-dist/js/chunks/NoContentMessage-CtsU0h69.mjs b/web-dist/js/chunks/NoContentMessage-CtsU0h69.mjs new file mode 100644 index 0000000000..6f9de0f5c8 --- /dev/null +++ b/web-dist/js/chunks/NoContentMessage-CtsU0h69.mjs @@ -0,0 +1 @@ +import{M as f,u,s as a,t as l,H as s,v as c,aY as i,aZ as r,aL as n}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{_ as g}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";const v={class:"no-content-message flex flex-col justify-center items-center text-center"},x={class:"text-role-on-surface-variant text-xl"},p={class:"text-role-on-surface-variant mt-1"},y=f({__name:"NoContentMessage",props:{icon:{default:""},iconFillType:{default:"fill"},imgSrc:{default:""}},setup(t){return(o,e)=>{const m=r("oc-image"),d=r("oc-icon");return n(),u("div",v,[t.imgSrc?(n(),a(m,{key:0,width:"120",height:"120",class:"mb-4",src:t.imgSrc,alt:o.$gettext("No content image")},null,8,["src","alt"])):l("",!0),e[0]||(e[0]=s()),t.icon?(n(),a(d,{key:1,name:t.icon,type:"div",size:"xxlarge","fill-type":t.iconFillType,class:"mb-4"},null,8,["name","fill-type"])):l("",!0),e[1]||(e[1]=s()),c("div",x,[i(o.$slots,"message",{},void 0,!0)]),e[2]||(e[2]=s()),c("div",p,[i(o.$slots,"callToAction",{},void 0,!0)])])}}}),k=g(y,[["__scopeId","data-v-a1dde729"]]);export{k as N}; diff --git a/web-dist/js/chunks/NoContentMessage-CtsU0h69.mjs.gz b/web-dist/js/chunks/NoContentMessage-CtsU0h69.mjs.gz new file mode 100644 index 0000000000..744116536f Binary files /dev/null and b/web-dist/js/chunks/NoContentMessage-CtsU0h69.mjs.gz differ diff --git a/web-dist/js/chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs b/web-dist/js/chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs new file mode 100644 index 0000000000..c400af1691 --- /dev/null +++ b/web-dist/js/chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs @@ -0,0 +1,67 @@ +function V_(){this.__data__=[],this.size=0}function Aa(e,t){return e===t||e!==e&&t!==t}function Oa(e,t){for(var n=e.length;n--;)if(Aa(e[n][0],t))return n;return-1}var W_=Array.prototype,Z_=W_.splice;function q_(e){var t=this.__data__,n=Oa(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Z_.call(t,n,1),--this.size,!0}function K_(e){var t=this.__data__,n=Oa(t,e);return n<0?void 0:t[n][1]}function G_(e){return Oa(this.__data__,e)>-1}function J_(e,t){var n=this.__data__,r=Oa(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function hr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=o0}function yl(e){return e!=null&&ng(e.length)&&!gl(e)}function rg(e){return qi(e)&&yl(e)}function a0(){return!1}var ig=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ff=ig&&typeof module=="object"&&module&&!module.nodeType&&module,c0=Ff&&Ff.exports===ig,zf=c0?Wi.Buffer:void 0,u0=zf?zf.isBuffer:void 0,sg=u0||a0,l0="[object Object]",f0=Function.prototype,h0=Object.prototype,og=f0.toString,d0=h0.hasOwnProperty,p0=og.call(Object);function g0(e){if(!qi(e)||Qs(e)!=l0)return!1;var t=Qp(e);if(t===null)return!0;var n=d0.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&og.call(n)==p0}var m0="[object Arguments]",v0="[object Array]",y0="[object Boolean]",_0="[object Date]",b0="[object Error]",w0="[object Function]",x0="[object Map]",S0="[object Number]",E0="[object Object]",T0="[object RegExp]",A0="[object Set]",O0="[object String]",C0="[object WeakMap]",k0="[object ArrayBuffer]",P0="[object DataView]",I0="[object Float32Array]",N0="[object Float64Array]",R0="[object Int8Array]",$0="[object Int16Array]",M0="[object Int32Array]",D0="[object Uint8Array]",L0="[object Uint8ClampedArray]",j0="[object Uint16Array]",U0="[object Uint32Array]",He={};He[I0]=He[N0]=He[R0]=He[$0]=He[M0]=He[D0]=He[L0]=He[j0]=He[U0]=!0;He[m0]=He[v0]=He[k0]=He[y0]=He[P0]=He[_0]=He[b0]=He[w0]=He[x0]=He[S0]=He[E0]=He[T0]=He[A0]=He[O0]=He[C0]=!1;function F0(e){return qi(e)&&ng(e.length)&&!!He[Qs(e)]}function z0(e){return function(t){return e(t)}}var ag=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Cs=ag&&typeof module=="object"&&module&&!module.nodeType&&module,B0=Cs&&Cs.exports===ag,fc=B0&&Gp.process,Bf=(function(){try{var e=Cs&&Cs.require&&Cs.require("util").types;return e||fc&&fc.binding&&fc.binding("util")}catch{}})(),Hf=Bf&&Bf.isTypedArray,cg=Hf?z0(Hf):F0;function fu(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var H0=Object.prototype,V0=H0.hasOwnProperty;function W0(e,t,n){var r=e[t];(!(V0.call(e,t)&&Aa(r,n))||n===void 0&&!(t in e))&&vl(e,t,n)}function Z0(e,t,n,r){var i=!n;n||(n={});for(var s=-1,o=t.length;++s-1&&e%1==0&&e0){if(++t>=uw)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var dw=hw(cw);function dg(e,t){return dw(ow(e,t,hg),e+"")}function pw(e,t,n){if(!ei(n))return!1;var r=typeof t;return(r=="number"?yl(n)&&ug(t,n.length):r=="string"&&t in n)?Aa(n[t],e):!1}function gw(e){return dg(function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(s=e.length>3&&typeof s=="function"?(i--,s):void 0,o&&pw(n[0],n[1],o)&&(s=i<3?void 0:s,i=1),t=Object(t);++rn in t}const Se={},Si=[],fn=()=>{},pg=()=>!1,eo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),bl=e=>e.startsWith("onUpdate:"),Le=Object.assign,wl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},mw=Object.prototype.hasOwnProperty,ke=(e,t)=>mw.call(e,t),se=Array.isArray,Ei=e=>Ki(e)==="[object Map]",ni=e=>Ki(e)==="[object Set]",Wf=e=>Ki(e)==="[object Date]",vw=e=>Ki(e)==="[object RegExp]",pe=e=>typeof e=="function",ze=e=>typeof e=="string",An=e=>typeof e=="symbol",Pe=e=>e!==null&&typeof e=="object",xl=e=>(Pe(e)||pe(e))&&pe(e.then)&&pe(e.catch),gg=Object.prototype.toString,Ki=e=>gg.call(e),yw=e=>Ki(e).slice(8,-1),Pa=e=>Ki(e)==="[object Object]",Ia=e=>ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Vr=ka(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Na=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},_w=/-\w/g,pt=Na(e=>e.replace(_w,t=>t.slice(1).toUpperCase())),bw=/\B([A-Z])/g,Jt=Na(e=>e.replace(bw,"-$1").toLowerCase()),Ra=Na(e=>e.charAt(0).toUpperCase()+e.slice(1)),Do=Na(e=>e?`on${Ra(e)}`:""),xt=(e,t)=>!Object.is(e,t),Ti=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},$a=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ko=e=>{const t=ze(e)?Number(e):NaN;return isNaN(t)?e:t};let Zf;const Ma=()=>Zf||(Zf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof ln<"u"?ln:{}),ww="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",xw=ka(ww);function Da(e){if(se(e)){const t={};for(let n=0;n{if(n){const r=n.split(Ew);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ji(e){let t="";if(ze(e))t=e;else if(se(e))for(let n=0;nor(n,t))}const yg=e=>!!(e&&e.__v_isRef===!0),hu=e=>ze(e)?e:e==null?"":se(e)||Pe(e)&&(e.toString===gg||!pe(e.toString))?yg(e)?hu(e.value):JSON.stringify(e,_g,2):String(e),_g=(e,t)=>yg(t)?_g(e,t.value):Ei(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],s)=>(n[hc(r,s)+" =>"]=i,n),{})}:ni(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>hc(n))}:An(t)?hc(t):Pe(t)&&!se(t)&&!Pa(t)?String(t):t,hc=(e,t="")=>{var n;return An(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Pw(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let Ot;class bg{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ot,!t&&Ot&&(this.index=(Ot.scopes||(Ot.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(Ot=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(Ps){let t=Ps;for(Ps=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ks;){let t=ks;for(ks=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Tg(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ag(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),Tl(r),Iw(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function du(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Og(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Og(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Us)||(e.globalVersion=Us,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!du(e))))return;e.flags|=2;const t=e.dep,n=Fe,r=Sn;Fe=e,Sn=!0;try{Tg(e);const i=e.fn(e._value);(t.version===0||xt(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Fe=n,Sn=r,Ag(e),e.flags&=-3}}function Tl(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Tl(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Iw(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function eD(e,t){e.effect instanceof Go&&(e=e.effect.fn);const n=new Go(e);t&&Le(n,t);try{n.run()}catch(i){throw n.stop(),i}const r=n.run.bind(n);return r.effect=n,r}function tD(e){e.effect.stop()}let Sn=!0;const Cg=[];function ar(){Cg.push(Sn),Sn=!1}function cr(){const e=Cg.pop();Sn=e===void 0?!0:e}function qf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Fe;Fe=void 0;try{t()}finally{Fe=n}}}let Us=0;class Nw{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ua{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Fe||!Sn||Fe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Fe)n=this.activeLink=new Nw(Fe,this),Fe.deps?(n.prevDep=Fe.depsTail,Fe.depsTail.nextDep=n,Fe.depsTail=n):Fe.deps=Fe.depsTail=n,kg(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Fe.depsTail,n.nextDep=void 0,Fe.depsTail.nextDep=n,Fe.depsTail=n,Fe.deps===n&&(Fe.deps=r)}return n}trigger(t){this.version++,Us++,this.notify(t)}notify(t){Sl();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{El()}}}function kg(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)kg(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Jo=new WeakMap,Wr=Symbol(""),pu=Symbol(""),Fs=Symbol("");function Ct(e,t,n){if(Sn&&Fe){let r=Jo.get(e);r||Jo.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new Ua),i.map=r,i.key=n),i.track()}}function er(e,t,n,r,i,s){const o=Jo.get(e);if(!o){Us++;return}const a=u=>{u&&u.trigger()};if(Sl(),t==="clear")o.forEach(a);else{const u=se(e),l=u&&Ia(n);if(u&&n==="length"){const c=Number(r);o.forEach((f,h)=>{(h==="length"||h===Fs||!An(h)&&h>=c)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),l&&a(o.get(Fs)),t){case"add":u?l&&a(o.get("length")):(a(o.get(Wr)),Ei(e)&&a(o.get(pu)));break;case"delete":u||(a(o.get(Wr)),Ei(e)&&a(o.get(pu)));break;case"set":Ei(e)&&a(o.get(Wr));break}}El()}function Rw(e,t){const n=Jo.get(e);return n&&n.get(t)}function ai(e){const t=xe(e);return t===e?t:(Ct(t,"iterate",Fs),nn(e)?t:t.map(On))}function Fa(e){return Ct(e=xe(e),"iterate",Fs),e}function Bn(e,t){return ur(e)?Ui(En(e)?On(t):t):On(t)}const $w={__proto__:null,[Symbol.iterator](){return pc(this,Symbol.iterator,e=>Bn(this,e))},concat(...e){return ai(this).concat(...e.map(t=>se(t)?ai(t):t))},entries(){return pc(this,"entries",e=>(e[1]=Bn(this,e[1]),e))},every(e,t){return Jn(this,"every",e,t,void 0,arguments)},filter(e,t){return Jn(this,"filter",e,t,n=>n.map(r=>Bn(this,r)),arguments)},find(e,t){return Jn(this,"find",e,t,n=>Bn(this,n),arguments)},findIndex(e,t){return Jn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Jn(this,"findLast",e,t,n=>Bn(this,n),arguments)},findLastIndex(e,t){return Jn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Jn(this,"forEach",e,t,void 0,arguments)},includes(...e){return gc(this,"includes",e)},indexOf(...e){return gc(this,"indexOf",e)},join(e){return ai(this).join(e)},lastIndexOf(...e){return gc(this,"lastIndexOf",e)},map(e,t){return Jn(this,"map",e,t,void 0,arguments)},pop(){return rs(this,"pop")},push(...e){return rs(this,"push",e)},reduce(e,...t){return Kf(this,"reduce",e,t)},reduceRight(e,...t){return Kf(this,"reduceRight",e,t)},shift(){return rs(this,"shift")},some(e,t){return Jn(this,"some",e,t,void 0,arguments)},splice(...e){return rs(this,"splice",e)},toReversed(){return ai(this).toReversed()},toSorted(e){return ai(this).toSorted(e)},toSpliced(...e){return ai(this).toSpliced(...e)},unshift(...e){return rs(this,"unshift",e)},values(){return pc(this,"values",e=>Bn(this,e))}};function pc(e,t,n){const r=Fa(e),i=r[t]();return r!==e&&!nn(e)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=n(s.value)),s}),i}const Mw=Array.prototype;function Jn(e,t,n,r,i,s){const o=Fa(e),a=o!==e&&!nn(e),u=o[t];if(u!==Mw[t]){const f=u.apply(e,s);return a?On(f):f}let l=n;o!==e&&(a?l=function(f,h){return n.call(this,Bn(e,f),h,e)}:n.length>2&&(l=function(f,h){return n.call(this,f,h,e)}));const c=u.call(o,l,r);return a&&i?i(c):c}function Kf(e,t,n,r){const i=Fa(e),s=i!==e&&!nn(e);let o=n,a=!1;i!==e&&(s?(a=r.length===0,o=function(l,c,f){return a&&(a=!1,l=Bn(e,l)),n.call(this,l,Bn(e,c),f,e)}):n.length>3&&(o=function(l,c,f){return n.call(this,l,c,f,e)}));const u=i[t](o,...r);return a?Bn(e,u):u}function gc(e,t,n){const r=xe(e);Ct(r,"iterate",Fs);const i=r[t](...n);return(i===-1||i===!1)&&Ha(n[0])?(n[0]=xe(n[0]),r[t](...n)):i}function rs(e,t,n=[]){ar(),Sl();const r=xe(e)[t].apply(e,n);return El(),cr(),r}const Dw=ka("__proto__,__v_isRef,__isVue"),Pg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(An));function Lw(e){An(e)||(e=String(e));const t=xe(this);return Ct(t,"has",e),t.hasOwnProperty(e)}class Ig{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?Lg:Dg:s?Mg:$g).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=se(t);if(!i){let u;if(o&&(u=$w[n]))return u;if(n==="hasOwnProperty")return Lw}const a=Reflect.get(t,n,Ge(t)?t:r);if((An(n)?Pg.has(n):Dw(n))||(i||Ct(t,"get",n),s))return a;if(Ge(a)){const u=o&&Ia(n)?a:a.value;return i&&Pe(u)?Gr(u):u}return Pe(a)?i?Gr(a):to(a):a}}class Ng extends Ig{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];const o=se(t)&&Ia(n);if(!this._isShallow){const l=ur(s);if(!nn(r)&&!ur(r)&&(s=xe(s),r=xe(r)),!o&&Ge(s)&&!Ge(r))return l||(s.value=r),!0}const a=o?Number(n)e,lo=e=>Reflect.getPrototypeOf(e);function Bw(e,t,n){return function(...r){const i=this.__v_raw,s=xe(i),o=Ei(s),a=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,l=i[e](...r),c=n?gu:t?Ui:On;return!t&&Ct(s,"iterate",u?pu:Wr),Le(Object.create(l),{next(){const{value:f,done:h}=l.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}}})}}function fo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Hw(e,t){const n={get(i){const s=this.__v_raw,o=xe(s),a=xe(i);e||(xt(i,a)&&Ct(o,"get",i),Ct(o,"get",a));const{has:u}=lo(o),l=t?gu:e?Ui:On;if(u.call(o,i))return l(s.get(i));if(u.call(o,a))return l(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!e&&Ct(xe(i),"iterate",Wr),i.size},has(i){const s=this.__v_raw,o=xe(s),a=xe(i);return e||(xt(i,a)&&Ct(o,"has",i),Ct(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,u=xe(a),l=t?gu:e?Ui:On;return!e&&Ct(u,"iterate",Wr),a.forEach((c,f)=>i.call(s,l(c),l(f),o))}};return Le(n,e?{add:fo("add"),set:fo("set"),delete:fo("delete"),clear:fo("clear")}:{add(i){const s=xe(this),o=lo(s),a=xe(i),u=!t&&!nn(i)&&!ur(i)?a:i;return o.has.call(s,u)||xt(i,u)&&o.has.call(s,i)||xt(a,u)&&o.has.call(s,a)||(s.add(u),er(s,"add",u,u)),this},set(i,s){!t&&!nn(s)&&!ur(s)&&(s=xe(s));const o=xe(this),{has:a,get:u}=lo(o);let l=a.call(o,i);l||(i=xe(i),l=a.call(o,i));const c=u.call(o,i);return o.set(i,s),l?xt(s,c)&&er(o,"set",i,s):er(o,"add",i,s),this},delete(i){const s=xe(this),{has:o,get:a}=lo(s);let u=o.call(s,i);u||(i=xe(i),u=o.call(s,i)),a&&a.call(s,i);const l=s.delete(i);return u&&er(s,"delete",i,void 0),l},clear(){const i=xe(this),s=i.size!==0,o=i.clear();return s&&er(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Bw(i,e,t)}),n}function za(e,t){const n=Hw(e,t);return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(ke(n,i)&&i in r?n:r,i,s)}const Vw={get:za(!1,!1)},Ww={get:za(!1,!0)},Zw={get:za(!0,!1)},qw={get:za(!0,!0)},$g=new WeakMap,Mg=new WeakMap,Dg=new WeakMap,Lg=new WeakMap;function Kw(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gw(e){return e.__v_skip||!Object.isExtensible(e)?0:Kw(yw(e))}function to(e){return ur(e)?e:Ba(e,!1,jw,Vw,$g)}function Jw(e){return Ba(e,!1,Fw,Ww,Mg)}function Gr(e){return Ba(e,!0,Uw,Zw,Dg)}function Yw(e){return Ba(e,!0,zw,qw,Lg)}function Ba(e,t,n,r,i){if(!Pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=Gw(e);if(s===0)return e;const o=i.get(e);if(o)return o;const a=new Proxy(e,s===2?r:n);return i.set(e,a),a}function En(e){return ur(e)?En(e.__v_raw):!!(e&&e.__v_isReactive)}function ur(e){return!!(e&&e.__v_isReadonly)}function nn(e){return!!(e&&e.__v_isShallow)}function Ha(e){return e?!!e.__v_raw:!1}function xe(e){const t=e&&e.__v_raw;return t?xe(t):e}function Al(e){return!ke(e,"__v_skip")&&Object.isExtensible(e)&&mg(e,"__v_skip",!0),e}const On=e=>Pe(e)?to(e):e,Ui=e=>Pe(e)?Gr(e):e;function Ge(e){return e?e.__v_isRef===!0:!1}function Re(e){return jg(e,!1)}function Yt(e){return jg(e,!0)}function jg(e,t){return Ge(e)?e:new Xw(e,t)}class Xw{constructor(t,n){this.dep=new Ua,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:xe(t),this._value=n?t:On(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||nn(t)||ur(t);t=r?t:xe(t),xt(t,n)&&(this._rawValue=t,this._value=r?t:On(t),this.dep.trigger())}}function nD(e){e.dep&&e.dep.trigger()}function Z(e){return Ge(e)?e.value:e}function Tn(e){return pe(e)?e():Z(e)}const Qw={get:(e,t,n)=>t==="__v_raw"?e:Z(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Ge(i)&&!Ge(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Ug(e){return En(e)?e:new Proxy(e,Qw)}class e1{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ua,{get:r,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Fg(e){return new e1(e)}function t1(e){const t=se(e)?new Array(e.length):{};for(const n in e)t[n]=Bg(e,n);return t}class n1{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=xe(t);let i=!0,s=t;if(!se(t)||!Ia(String(n)))do i=!Ha(s)||nn(s);while(i&&(s=s.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=Z(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ge(this._raw[this._key])){const n=this._object[this._key];if(Ge(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Rw(this._raw,this._key)}}class r1{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function zg(e,t,n){return Ge(e)?e:pe(e)?new r1(e):Pe(e)&&arguments.length>1?Bg(e,t,n):Re(e)}function Bg(e,t,n){return new n1(e,t,n)}class i1{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ua(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Us-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Fe!==this)return Eg(this,!0),!0}get value(){const t=this.dep.track();return Og(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function s1(e,t,n=!1){let r,i;return pe(e)?r=e:(r=e.get,i=e.set),new i1(r,i,n)}const rD={GET:"get",HAS:"has",ITERATE:"iterate"},iD={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},ho={},Yo=new WeakMap;let wr;function sD(){return wr}function o1(e,t=!1,n=wr){if(n){let r=Yo.get(n);r||Yo.set(n,r=[]),r.push(e)}}function a1(e,t,n=Se){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:u}=n,l=x=>i?x:nn(x)||i===!1||i===0?tr(x,1):tr(x);let c,f,h,d,g=!1,p=!1;if(Ge(e)?(f=()=>e.value,g=nn(e)):En(e)?(f=()=>l(e),g=!0):se(e)?(p=!0,g=e.some(x=>En(x)||nn(x)),f=()=>e.map(x=>{if(Ge(x))return x.value;if(En(x))return l(x);if(pe(x))return u?u(x,2):x()})):pe(e)?t?f=u?()=>u(e,2):e:f=()=>{if(h){ar();try{h()}finally{cr()}}const x=wr;wr=c;try{return u?u(e,3,[d]):e(d)}finally{wr=x}}:f=fn,t&&i){const x=f,E=i===!0?1/0:i;f=()=>tr(x(),E)}const y=ja(),w=()=>{c.stop(),y&&y.active&&wl(y.effects,c)};if(s&&t){const x=t;t=(...E)=>{x(...E),w()}}let b=p?new Array(e.length).fill(ho):ho;const _=x=>{if(!(!(c.flags&1)||!c.dirty&&!x))if(t){const E=c.run();if(i||g||(p?E.some((T,P)=>xt(T,b[P])):xt(E,b))){h&&h();const T=wr;wr=c;try{const P=[E,b===ho?void 0:p&&b[0]===ho?[]:b,d];b=E,u?u(t,3,P):t(...P)}finally{wr=T}}}else c.run()};return a&&a(_),c=new Go(f),c.scheduler=o?()=>o(_,!1):_,d=x=>o1(x,!1,c),h=c.onStop=()=>{const x=Yo.get(c);if(x){if(u)u(x,4);else for(const E of x)E();Yo.delete(c)}},t?r?_(!0):b=c.run():o?o(_.bind(null,!0),!0):c.run(),w.pause=c.pause.bind(c),w.resume=c.resume.bind(c),w.stop=w,w}function tr(e,t=1/0,n){if(t<=0||!Pe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ge(e))tr(e.value,t,n);else if(se(e))for(let r=0;r{tr(r,t,n)});else if(Pa(e)){for(const r in e)tr(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&tr(e[r],t,n)}return e}const Hg=[];function c1(e){Hg.push(e)}function u1(){Hg.pop()}function oD(e,t){}const aD={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},l1={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function no(e,t,n,r){try{return r?e(...r):e()}catch(i){Gi(i,t,n)}}function Cn(e,t,n,r){if(pe(e)){const i=no(e,t,n,r);return i&&xl(i)&&i.catch(s=>{Gi(s,t,n)}),i}if(se(e)){const i=[];for(let s=0;s>>1,i=Lt[r],s=zs(i);s=zs(n)?Lt.push(e):Lt.splice(h1(t),0,e),e.flags|=1,Wg()}}function Wg(){Xo||(Xo=Vg.then(Zg))}function Qo(e){se(e)?Ai.push(...e):xr&&e.id===-1?xr.splice(di+1,0,e):e.flags&1||(Ai.push(e),e.flags|=1),Wg()}function Gf(e,t,n=Mn+1){for(;nzs(n)-zs(r));if(Ai.length=0,xr){xr.push(...t);return}for(xr=t,di=0;die.id==null?e.flags&2?-1:1/0:e.id;function Zg(e){try{for(Mn=0;Mnpi.emit(i,...s)),po=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{qg(s,t)}),setTimeout(()=>{pi||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,po=[])},3e3)):po=[]}let Et=null,Va=null;function Bs(e){const t=Et;return Et=e,Va=e&&e.type.__scopeId||null,t}function cD(e){Va=e}function uD(){Va=null}const lD=e=>Cl;function Cl(e,t=Et,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&sa(-1);const s=Bs(t);let o;try{o=e(...i)}finally{Bs(s),r._d&&sa(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function mc(e,t){if(Et===null)return e;const n=so(Et),r=e.dirs||(e.dirs=[]);for(let i=0;i1)return n&&pe(t)?t.call(r&&r.proxy):t}}function Wa(){return!!(Tt()||Zr)}const p1=Symbol.for("v-scx"),g1=()=>ir(p1);function m1(e,t){return ro(e,null,t)}function fD(e,t){return ro(e,null,{flush:"post"})}function v1(e,t){return ro(e,null,{flush:"sync"})}function hn(e,t,n){return ro(e,t,n)}function ro(e,t,n=Se){const{immediate:r,deep:i,flush:s,once:o}=n,a=Le({},n),u=t&&r||!t&&s!=="post";let l;if(Yr){if(s==="sync"){const d=g1();l=d.__watcherHandles||(d.__watcherHandles=[])}else if(!u){const d=()=>{};return d.stop=fn,d.resume=fn,d.pause=fn,d}}const c=St;a.call=(d,g,p)=>Cn(d,c,g,p);let f=!1;s==="post"?a.scheduler=d=>{it(d,c&&c.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(d,g)=>{g?d():Ol(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const h=a1(e,t,a);return Yr&&(l?l.push(h):u&&h()),h}function y1(e,t,n){const r=this.proxy,i=ze(e)?e.includes(".")?Kg(r,e):()=>r[e]:e.bind(r,r);let s;pe(t)?s=t:(s=t.handler,n=t);const o=Xi(this),a=ro(i,s.bind(r),n);return o(),a}function Kg(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;ie.__isTeleport,Is=e=>e&&(e.disabled||e.disabled===""),Jf=e=>e&&(e.defer||e.defer===""),Yf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Xf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,mu=(e,t)=>{const n=e&&e.to;return ze(n)?t?t(n):null:n},Yg={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,s,o,a,u,l){const{mc:c,pc:f,pbc:h,o:{insert:d,querySelector:g,createText:p,createComment:y}}=l,w=Is(t.props);let{shapeFlag:b,children:_,dynamicChildren:x}=t;if(e==null){const E=t.el=p(""),T=t.anchor=p("");d(E,n,r),d(T,n,r);const P=(C,M)=>{b&16&&c(_,C,M,i,s,o,a,u)},R=()=>{const C=t.target=mu(t.props,g),M=vu(C,t,p,d);C&&(o!=="svg"&&Yf(C)?o="svg":o!=="mathml"&&Xf(C)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(C),w||(P(C,M),Lo(t,!1)))};w&&(P(n,T),Lo(t,!0)),Jf(t.props)?(t.el.__isMounted=!1,it(()=>{R(),delete t.el.__isMounted},s)):R()}else{if(Jf(t.props)&&e.el.__isMounted===!1){it(()=>{Yg.process(e,t,n,r,i,s,o,a,u,l)},s);return}t.el=e.el,t.targetStart=e.targetStart;const E=t.anchor=e.anchor,T=t.target=e.target,P=t.targetAnchor=e.targetAnchor,R=Is(e.props),C=R?n:T,M=R?E:P;if(o==="svg"||Yf(T)?o="svg":(o==="mathml"||Xf(T))&&(o="mathml"),x?(h(e.dynamicChildren,x,C,i,s,o,a),Fl(e,t,!0)):u||f(e,t,C,M,i,s,o,a,!1),w)R?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):go(t,n,E,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=mu(t.props,g);W&&go(t,W,null,l,0)}else R&&go(t,T,P,l,1);Lo(t,w)}},remove(e,t,n,{um:r,o:{remove:i}},s){const{shapeFlag:o,children:a,anchor:u,targetStart:l,targetAnchor:c,target:f,props:h}=e;if(f&&(i(l),i(c)),s&&i(u),o&16){const d=s||!Is(h);for(let g=0;g{e.isMounted=!0}),Nl(()=>{e.isUnmounting=!0}),e}const sn=[Function,Array],Qg={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:sn,onEnter:sn,onAfterEnter:sn,onEnterCancelled:sn,onBeforeLeave:sn,onLeave:sn,onAfterLeave:sn,onLeaveCancelled:sn,onBeforeAppear:sn,onAppear:sn,onAfterAppear:sn,onAppearCancelled:sn},em=e=>{const t=e.subTree;return t.component?em(t.component):t},b1={name:"BaseTransition",props:Qg,setup(e,{slots:t}){const n=Tt(),r=Xg();return()=>{const i=t.default&&kl(t.default(),!0);if(!i||!i.length)return;const s=tm(i),o=xe(e),{mode:a}=o;if(r.isLeaving)return vc(s);const u=Qf(s);if(!u)return vc(s);let l=Hs(u,o,r,n,f=>l=f);u.type!==ut&&Ar(u,l);let c=n.subTree&&Qf(n.subTree);if(c&&c.type!==ut&&!xn(c,u)&&em(n).type!==ut){let f=Hs(c,o,r,n);if(Ar(c,f),a==="out-in"&&u.type!==ut)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},vc(s);a==="in-out"&&u.type!==ut?f.delayLeave=(h,d,g)=>{const p=nm(r,c);p[String(c.key)]=c,h[Un]=()=>{d(),h[Un]=void 0,delete l.delayedLeave,c=void 0},l.delayedLeave=()=>{g(),delete l.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function tm(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ut){t=n;break}}return t}const w1=b1;function nm(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Hs(e,t,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:u,onEnter:l,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:d,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:y,onAppear:w,onAfterAppear:b,onAppearCancelled:_}=t,x=String(e.key),E=nm(n,e),T=(C,M)=>{C&&Cn(C,r,9,M)},P=(C,M)=>{const W=M[1];T(C,M),se(C)?C.every(U=>U.length<=1)&&W():C.length<=1&&W()},R={mode:o,persisted:a,beforeEnter(C){let M=u;if(!n.isMounted)if(s)M=y||u;else return;C[Un]&&C[Un](!0);const W=E[x];W&&xn(e,W)&&W.el[Un]&&W.el[Un](),T(M,[C])},enter(C){if(E[x]===e)return;let M=l,W=c,U=f;if(!n.isMounted)if(s)M=w||l,W=b||c,U=_||f;else return;let L=!1;C[is]=re=>{L||(L=!0,re?T(U,[C]):T(W,[C]),R.delayedLeave&&R.delayedLeave(),C[is]=void 0)};const K=C[is].bind(null,!1);M?P(M,[C,K]):K()},leave(C,M){const W=String(e.key);if(C[is]&&C[is](!0),n.isUnmounting)return M();T(h,[C]);let U=!1;C[Un]=K=>{U||(U=!0,M(),K?T(p,[C]):T(g,[C]),C[Un]=void 0,E[W]===e&&delete E[W])};const L=C[Un].bind(null,!1);E[W]=e,d?P(d,[C,L]):L()},clone(C){const M=Hs(C,t,n,r,i);return i&&i(M),M}};return R}function vc(e){if(io(e))return e=lr(e),e.children=null,e}function Qf(e){if(!io(e))return Jg(e.type)&&e.children?tm(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&pe(n.default))return n.default()}}function Ar(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ar(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function kl(e,t=!1,n){let r=[],i=0;for(let s=0;s1)for(let s=0;sn.value,set:s=>n.value=s})}return n}function eh(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ta=new WeakMap;function Oi(e,t,n,r,i=!1){if(se(e)){e.forEach((p,y)=>Oi(p,t&&(se(t)?t[y]:t),n,r,i));return}if(sr(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Oi(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?so(r.component):r.el,o=i?null:s,{i:a,r:u}=e,l=t&&t.r,c=a.refs===Se?a.refs={}:a.refs,f=a.setupState,h=xe(f),d=f===Se?pg:p=>eh(c,p)?!1:ke(h,p),g=(p,y)=>!(y&&eh(c,y));if(l!=null&&l!==u){if(th(t),ze(l))c[l]=null,d(l)&&(f[l]=null);else if(Ge(l)){const p=t;g(l,p.k)&&(l.value=null),p.k&&(c[p.k]=null)}}if(pe(u))no(u,a,12,[o,c]);else{const p=ze(u),y=Ge(u);if(p||y){const w=()=>{if(e.f){const b=p?d(u)?f[u]:c[u]:g()||!e.k?u.value:c[e.k];if(i)se(b)&&wl(b,s);else if(se(b))b.includes(s)||b.push(s);else if(p)c[u]=[s],d(u)&&(f[u]=c[u]);else{const _=[s];g(u,e.k)&&(u.value=_),e.k&&(c[e.k]=_)}}else p?(c[u]=o,d(u)&&(f[u]=o)):y&&(g(u,e.k)&&(u.value=o),e.k&&(c[e.k]=o))};if(o){const b=()=>{w(),ta.delete(e)};b.id=-1,ta.set(e,b),it(b,n)}else th(e),w()}}}function th(e){const t=ta.get(e);t&&(t.flags|=8,ta.delete(e))}let nh=!1;const ci=()=>{nh||(console.error("Hydration completed but contains mismatches."),nh=!0)},x1=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",S1=e=>e.namespaceURI.includes("MathML"),mo=e=>{if(e.nodeType===1){if(x1(e))return"svg";if(S1(e))return"mathml"}},mi=e=>e.nodeType===8;function E1(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:s,parentNode:o,remove:a,insert:u,createComment:l}}=e,c=(_,x)=>{if(!x.hasChildNodes()){n(null,_,x),ea(),x._vnode=_;return}f(x.firstChild,_,null,null,null),ea(),x._vnode=_},f=(_,x,E,T,P,R=!1)=>{R=R||!!x.dynamicChildren;const C=mi(_)&&_.data==="[",M=()=>p(_,x,E,T,P,C),{type:W,ref:U,shapeFlag:L,patchFlag:K}=x;let re=_.nodeType;x.el=_,K===-2&&(R=!1,x.dynamicChildren=null);let q=null;switch(W){case qr:re!==3?x.children===""?(u(x.el=i(""),o(_),_),q=_):q=M():(_.data!==x.children&&(ci(),_.data=x.children),q=s(_));break;case ut:b(_)?(q=s(_),w(x.el=_.content.firstChild,_,E)):re!==8||C?q=M():q=s(_);break;case ki:if(C&&(_=s(_),re=_.nodeType),re===1||re===3){q=_;const Q=!x.children.length;for(let J=0;J{R=R||!!x.dynamicChildren;const{type:C,props:M,patchFlag:W,shapeFlag:U,dirs:L,transition:K}=x,re=C==="input"||C==="option";if(re||W!==-1){L&&jn(x,null,E,"created");let q=!1;if(b(_)){q=xm(null,K)&&E&&E.vnode.props&&E.vnode.props.appear;const J=_.content.firstChild;if(q){const ve=J.getAttribute("class");ve&&(J.$cls=ve),K.beforeEnter(J)}w(J,_,E),x.el=_=J}if(U&16&&!(M&&(M.innerHTML||M.textContent))){let J=d(_.firstChild,x,_,E,T,P,R);for(;J;){vo(_,1)||ci();const ve=J;J=J.nextSibling,a(ve)}}else if(U&8){let J=x.children;J[0]===` +`&&(_.tagName==="PRE"||_.tagName==="TEXTAREA")&&(J=J.slice(1));const{textContent:ve}=_;ve!==J&&ve!==J.replace(/\r\n|\r/g,` +`)&&(vo(_,0)||ci(),_.textContent=x.children)}if(M){if(re||!R||W&48){const J=_.tagName.includes("-");for(const ve in M)(re&&(ve.endsWith("value")||ve==="indeterminate")||eo(ve)&&!Vr(ve)||ve[0]==="."||J&&!Vr(ve))&&r(_,ve,null,M[ve],void 0,E)}else if(M.onClick)r(_,"onClick",null,M.onClick,void 0,E);else if(W&4&&En(M.style))for(const J in M.style)M.style[J]}let Q;(Q=M&&M.onVnodeBeforeMount)&&Wt(Q,E,x),L&&jn(x,null,E,"beforeMount"),((Q=M&&M.onVnodeMounted)||L||q)&&Am(()=>{Q&&Wt(Q,E,x),q&&K.enter(_),L&&jn(x,null,E,"mounted")},T)}return _.nextSibling},d=(_,x,E,T,P,R,C)=>{C=C||!!x.dynamicChildren;const M=x.children,W=M.length;for(let U=0;U{const{slotScopeIds:C}=x;C&&(P=P?P.concat(C):C);const M=o(_),W=d(s(_),x,M,E,T,P,R);return W&&mi(W)&&W.data==="]"?s(x.anchor=W):(ci(),u(x.anchor=l("]"),M,W),W)},p=(_,x,E,T,P,R)=>{if(vo(_.parentElement,1)||ci(),x.el=null,R){const W=y(_);for(;;){const U=s(_);if(U&&U!==W)a(U);else break}}const C=s(_),M=o(_);return a(_),n(null,x,M,C,E,T,mo(M),P),E&&(E.vnode.el=x.el,Ka(E,x.el)),C},y=(_,x="[",E="]")=>{let T=0;for(;_;)if(_=s(_),_&&mi(_)&&(_.data===x&&T++,_.data===E)){if(T===0)return s(_);T--}return _},w=(_,x,E)=>{const T=x.parentNode;T&&T.replaceChild(_,x);let P=E;for(;P;)P.vnode.el===x&&(P.vnode.el=P.subTree.el=_),P=P.parent},b=_=>_.nodeType===1&&_.tagName==="TEMPLATE";return[c,f]}const rh="data-allow-mismatch",T1={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function vo(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(rh);)e=e.parentElement;const n=e&&e.getAttribute(rh);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(T1[t])}}const A1=Ma().requestIdleCallback||(e=>setTimeout(e,1)),O1=Ma().cancelIdleCallback||(e=>clearTimeout(e)),gD=(e=1e4)=>t=>{const n=A1(t,{timeout:e});return()=>O1(n)};function C1(e){const{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:s,innerWidth:o}=window;return(t>0&&t0&&r0&&n0&&i(t,n)=>{const r=new IntersectionObserver(i=>{for(const s of i)if(s.isIntersecting){r.disconnect(),t();break}},e);return n(i=>{if(i instanceof Element){if(C1(i))return t(),r.disconnect(),!1;r.observe(i)}}),()=>r.disconnect()},vD=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},yD=(e=[])=>(t,n)=>{ze(e)&&(e=[e]);let r=!1;const i=o=>{r||(r=!0,s(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},s=()=>{n(o=>{for(const a of e)o.removeEventListener(a,i)})};return n(o=>{for(const a of e)o.addEventListener(a,i,{once:!0})}),s};function k1(e,t){if(mi(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(mi(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const sr=e=>!!e.type.__asyncLoader;function _D(e){pe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:s,timeout:o,suspensible:a=!0,onError:u}=e;let l=null,c,f=0;const h=()=>(f++,l=null,d()),d=()=>{let g;return l||(g=l=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),u)return new Promise((y,w)=>{u(p,()=>y(h()),()=>w(p),f+1)});throw p}).then(p=>g!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return rm({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(g,p,y){let w=!1;(p.bu||(p.bu=[])).push(()=>w=!0);const b=()=>{w||y()},_=s?()=>{const x=s(b,E=>k1(g,E));x&&(p.bum||(p.bum=[])).push(x)}:b;c?_():d().then(()=>!p.isUnmounted&&_())},get __asyncResolved(){return c},setup(){const g=St;if(Pl(g),c)return()=>yo(c,g);const p=_=>{l=null,Gi(_,g,13,!r)};if(a&&g.suspense||Yr)return d().then(_=>()=>yo(_,g)).catch(_=>(p(_),()=>r?Ke(r,{error:_}):null));const y=Re(!1),w=Re(),b=Re(!!i);return i&&setTimeout(()=>{b.value=!1},i),o!=null&&setTimeout(()=>{if(!y.value&&!w.value){const _=new Error(`Async component timed out after ${o}ms.`);p(_),w.value=_}},o),d().then(()=>{y.value=!0,g.parent&&io(g.parent.vnode)&&g.parent.update()}).catch(_=>{p(_),w.value=_}),()=>{if(y.value&&c)return yo(c,g);if(w.value&&r)return Ke(r,{error:w.value});if(n&&!b.value)return yo(n,g)}}})}function yo(e,t){const{ref:n,props:r,children:i,ce:s}=t.vnode,o=Ke(e,r,i);return o.ref=n,o.ce=s,delete t.vnode.ce,o}const io=e=>e.type.__isKeepAlive,P1={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Tt(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const i=new Map,s=new Set;let o=null;const a=n.suspense,{renderer:{p:u,m:l,um:c,o:{createElement:f}}}=r,h=f("div");r.activate=(b,_,x,E,T)=>{const P=b.component;l(b,_,x,0,a),u(P.vnode,b,_,x,P,a,E,b.slotScopeIds,T),it(()=>{P.isDeactivated=!1,P.a&&Ti(P.a);const R=b.props&&b.props.onVnodeMounted;R&&Wt(R,P.parent,b)},a)},r.deactivate=b=>{const _=b.component;ra(_.m),ra(_.a),l(b,h,null,1,a),it(()=>{_.da&&Ti(_.da);const x=b.props&&b.props.onVnodeUnmounted;x&&Wt(x,_.parent,b),_.isDeactivated=!0},a)};function d(b){yc(b),c(b,n,a,!0)}function g(b){i.forEach((_,x)=>{const E=Ou(sr(_)?_.type.__asyncResolved||{}:_.type);E&&!b(E)&&p(x)})}function p(b){const _=i.get(b);_&&(!o||!xn(_,o))?d(_):o&&yc(o),i.delete(b),s.delete(b)}hn(()=>[e.include,e.exclude],([b,_])=>{b&&g(x=>Ss(b,x)),_&&g(x=>!Ss(_,x))},{flush:"post",deep:!0});let y=null;const w=()=>{y!=null&&(ia(n.subTree.type)?it(()=>{i.set(y,_o(n.subTree))},n.subTree.suspense):i.set(y,_o(n.subTree)))};return Yi(w),Il(w),Nl(()=>{i.forEach(b=>{const{subTree:_,suspense:x}=n,E=_o(_);if(b.type===E.type&&b.key===E.key){yc(E);const T=E.component.da;T&&it(T,x);return}d(b)})}),()=>{if(y=null,!t.default)return o=null;const b=t.default(),_=b[0];if(b.length>1)return o=null,b;if(!Or(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return o=null,_;let x=_o(_);if(x.type===ut)return o=null,x;const E=x.type,T=Ou(sr(x)?x.type.__asyncResolved||{}:E),{include:P,exclude:R,max:C}=e;if(P&&(!T||!Ss(P,T))||R&&T&&Ss(R,T))return x.shapeFlag&=-257,o=x,_;const M=x.key==null?E:x.key,W=i.get(M);return x.el&&(x=lr(x),_.shapeFlag&128&&(_.ssContent=x)),y=M,W?(x.el=W.el,x.component=W.component,x.transition&&Ar(x,x.transition),x.shapeFlag|=512,s.delete(M),s.add(M)):(s.add(M),C&&s.size>parseInt(C,10)&&p(s.values().next().value)),x.shapeFlag|=256,o=x,ia(_.type)?_:x}}},bD=P1;function Ss(e,t){return se(e)?e.some(n=>Ss(n,t)):ze(e)?e.split(",").includes(t):vw(e)?(e.lastIndex=0,e.test(t)):!1}function I1(e,t){im(e,"a",t)}function N1(e,t){im(e,"da",t)}function im(e,t,n=St){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Za(t,r,n),n){let i=n.parent;for(;i&&i.parent;)io(i.parent.vnode)&&R1(r,t,n,i),i=i.parent}}function R1(e,t,n,r){const i=Za(t,e,r,!0);Rl(()=>{wl(r[t],i)},n)}function yc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function _o(e){return e.shapeFlag&128?e.ssContent:e}function Za(e,t,n=St,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{ar();const a=Xi(n),u=Cn(t,n,e,o);return a(),cr(),u});return r?i.unshift(s):i.push(s),s}}const dr=e=>(t,n=St)=>{(!Yr||e==="sp")&&Za(e,(...r)=>t(...r),n)},$1=dr("bm"),Yi=dr("m"),sm=dr("bu"),Il=dr("u"),Nl=dr("bum"),Rl=dr("um"),M1=dr("sp"),D1=dr("rtg"),L1=dr("rtc");function j1(e,t=St){Za("ec",e,t)}const $l="components",U1="directives";function wD(e,t){return Ml($l,e,!0,t)||e}const om=Symbol.for("v-ndc");function _c(e){return ze(e)?Ml($l,e,!1)||e:e||om}function F1(e){return Ml(U1,e)}function Ml(e,t,n=!0,r=!1){const i=Et||St;if(i){const s=i.type;if(e===$l){const a=Ou(s,!1);if(a&&(a===t||a===pt(t)||a===Ra(pt(t))))return s}const o=ih(i[e]||s[e],t)||ih(i.appContext[e],t);return!o&&r?s:o}}function ih(e,t){return e&&(e[t]||e[pt(t)]||e[Ra(pt(t))])}function sh(e,t,n,r){let i;const s=n&&n[r],o=se(e);if(o||ze(e)){const a=o&&En(e);let u=!1,l=!1;a&&(u=!nn(e),l=ur(e),e=Fa(e)),i=new Array(e.length);for(let c=0,f=e.length;ct(a,u,void 0,s&&s[u]));else{const a=Object.keys(e);i=new Array(a.length);for(let u=0,l=a.length;u{const s=r.fn(...i);return s&&(s.key=r.key),s}:r.fn)}return e}function vn(e,t,n={},r,i){if(Et.ce||Et.parent&&sr(Et.parent)&&Et.parent.ce){const l=Object.keys(n).length>0;return t!=="default"&&(n.name=t),_t(),Pi(ht,null,[Ke("slot",n,r&&r())],l?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),_t();const o=s&&Dl(s(n)),a=n.key||o&&o.key,u=Pi(ht,{key:(a&&!An(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&e._===1?64:-2);return!i&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),s&&s._c&&(s._d=!0),u}function Dl(e){return e.some(t=>Or(t)?!(t.type===ut||t.type===ht&&!Dl(t.children)):!0)?e:null}function z1(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Do(r)]=e[r];return n}const yu=e=>e?Im(e)?so(e):yu(e.parent):null,Ns=Le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>yu(e.parent),$root:e=>yu(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ll(e),$forceUpdate:e=>e.f||(e.f=()=>{Ol(e.update)}),$nextTick:e=>e.n||(e.n=Ji.bind(e.proxy)),$watch:e=>y1.bind(e)}),bc=(e,t)=>e!==Se&&!e.__isScriptSetup&&ke(e,t),_u={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:u}=e;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(bc(r,t))return o[t]=1,r[t];if(i!==Se&&ke(i,t))return o[t]=2,i[t];if(ke(s,t))return o[t]=3,s[t];if(n!==Se&&ke(n,t))return o[t]=4,n[t];bu&&(o[t]=0)}}const l=Ns[t];let c,f;if(l)return t==="$attrs"&&Ct(e.attrs,"get",""),l(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==Se&&ke(n,t))return o[t]=4,n[t];if(f=u.config.globalProperties,ke(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return bc(i,t)?(i[t]=n,!0):r!==Se&&ke(r,t)?(r[t]=n,!0):ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:s,type:o}},a){let u;return!!(n[a]||e!==Se&&a[0]!=="$"&&ke(e,a)||bc(t,a)||ke(s,a)||ke(r,a)||ke(Ns,a)||ke(i.config.globalProperties,a)||(u=o.__cssModules)&&u[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ke(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},B1=Le({},_u,{get(e,t){if(t!==Symbol.unscopables)return _u.get(e,t,e)},has(e,t){return t[0]!=="_"&&!xw(t)}});function SD(){return null}function ED(){return null}function TD(e){}function AD(e){}function OD(){return null}function CD(){}function kD(e,t){return null}function PD(){return am().slots}function ID(){return am().attrs}function am(e){const t=Tt();return t.setupContext||(t.setupContext=$m(t))}function Vs(e){return se(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function ND(e,t){const n=Vs(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?se(i)||pe(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function RD(e,t){return!e||!t?e||t:se(e)&&se(t)?e.concat(t):Le({},Vs(e),Vs(t))}function $D(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function MD(e){const t=Tt(),n=Yr;let r=e();aa(),n&&Ii(!1);const i=()=>{Xi(t),n&&Ii(!0)},s=()=>{Tt()!==t&&t.scope.off(),aa(),n&&Ii(!1)};return xl(r)&&(r=r.catch(o=>{throw i(),Promise.resolve().then(()=>Promise.resolve().then(s)),o})),[r,()=>{i(),Promise.resolve().then(s)}]}let bu=!0;function H1(e){const t=Ll(e),n=e.proxy,r=e.ctx;bu=!1,t.beforeCreate&&oh(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:a,provide:u,inject:l,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:g,activated:p,deactivated:y,beforeDestroy:w,beforeUnmount:b,destroyed:_,unmounted:x,render:E,renderTracked:T,renderTriggered:P,errorCaptured:R,serverPrefetch:C,expose:M,inheritAttrs:W,components:U,directives:L,filters:K}=t;if(l&&V1(l,r,null),o)for(const Q in o){const J=o[Q];pe(J)&&(r[Q]=J.bind(n))}if(i){const Q=i.call(n,n);Pe(Q)&&(e.data=to(Q))}if(bu=!0,s)for(const Q in s){const J=s[Q],ve=pe(J)?J.bind(n,n):pe(J.get)?J.get.bind(n,n):fn,nt=!pe(J)&&pe(J.set)?J.set.bind(n):fn,ye=ae({get:ve,set:nt});Object.defineProperty(r,Q,{enumerable:!0,configurable:!0,get:()=>ye.value,set:$e=>ye.value=$e})}if(a)for(const Q in a)cm(a[Q],r,n,Q);if(u){const Q=pe(u)?u.call(n):u;Reflect.ownKeys(Q).forEach(J=>{d1(J,Q[J])})}c&&oh(c,e,"c");function q(Q,J){se(J)?J.forEach(ve=>Q(ve.bind(n))):J&&Q(J.bind(n))}if(q($1,f),q(Yi,h),q(sm,d),q(Il,g),q(I1,p),q(N1,y),q(j1,R),q(L1,T),q(D1,P),q(Nl,b),q(Rl,x),q(M1,C),se(M))if(M.length){const Q=e.exposed||(e.exposed={});M.forEach(J=>{Object.defineProperty(Q,J,{get:()=>n[J],set:ve=>n[J]=ve,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===fn&&(e.render=E),W!=null&&(e.inheritAttrs=W),U&&(e.components=U),L&&(e.directives=L),C&&Pl(e)}function V1(e,t,n=fn){se(e)&&(e=wu(e));for(const r in e){const i=e[r];let s;Pe(i)?"default"in i?s=ir(i.from||r,i.default,!0):s=ir(i.from||r):s=ir(i),Ge(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[r]=s}}function oh(e,t,n){Cn(se(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function cm(e,t,n,r){let i=r.includes(".")?Kg(n,r):()=>n[r];if(ze(e)){const s=t[e];pe(s)&&hn(i,s)}else if(pe(e))hn(i,e.bind(n));else if(Pe(e))if(se(e))e.forEach(s=>cm(s,t,n,r));else{const s=pe(e.handler)?e.handler.bind(n):t[e.handler];pe(s)&&hn(i,s,e)}}function Ll(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let u;return a?u=a:!i.length&&!n&&!r?u=t:(u={},i.length&&i.forEach(l=>na(u,l,o,!0)),na(u,t,o)),Pe(t)&&s.set(t,u),u}function na(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&na(e,s,n,!0),i&&i.forEach(o=>na(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=W1[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const W1={data:ah,props:ch,emits:ch,methods:Es,computed:Es,beforeCreate:Rt,created:Rt,beforeMount:Rt,mounted:Rt,beforeUpdate:Rt,updated:Rt,beforeDestroy:Rt,beforeUnmount:Rt,destroyed:Rt,unmounted:Rt,activated:Rt,deactivated:Rt,errorCaptured:Rt,serverPrefetch:Rt,components:Es,directives:Es,watch:q1,provide:ah,inject:Z1};function ah(e,t){return t?e?function(){return Le(pe(e)?e.call(this,this):e,pe(t)?t.call(this,this):t)}:t:e}function Z1(e,t){return Es(wu(e),wu(t))}function wu(e){if(se(e)){const t={};for(let n=0;n{let c,f=Se,h;return v1(()=>{const d=e[i];xt(c,d)&&(c=d,l())}),{get(){return u(),n.get?n.get(c):c},set(d){const g=n.set?n.set(d):d;if(!xt(g,c)&&!(f!==Se&&xt(d,f)))return;const p=r.vnode.props;p&&(t in p||i in p||s in p)&&(`onUpdate:${t}`in p||`onUpdate:${i}`in p||`onUpdate:${s}`in p)||(c=d,l()),r.emit(`update:${t}`,g),xt(d,g)&&xt(d,f)&&!xt(g,h)&&l(),f=d,h=g}}});return a[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?o||Se:a,done:!1}:{done:!0}}}},a}const lm=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${pt(t)}Modifiers`]||e[`${Jt(t)}Modifiers`];function J1(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Se;let i=n;const s=t.startsWith("update:"),o=s&&lm(r,t.slice(7));o&&(o.trim&&(i=n.map(c=>ze(c)?c.trim():c)),o.number&&(i=n.map($a)));let a,u=r[a=Do(t)]||r[a=Do(pt(t))];!u&&s&&(u=r[a=Do(Jt(t))]),u&&Cn(u,e,6,i);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Cn(l,e,6,i)}}const Y1=new WeakMap;function fm(e,t,n=!1){const r=n?Y1:t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!pe(e)){const u=l=>{const c=fm(l,t,!0);c&&(a=!0,Le(o,c))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!a?(Pe(e)&&r.set(e,null),null):(se(s)?s.forEach(u=>o[u]=null):Le(o,s),Pe(e)&&r.set(e,o),o)}function qa(e,t){return!e||!eo(t)?!1:(t=t.slice(2).replace(/Once$/,""),ke(e,t[0].toLowerCase()+t.slice(1))||ke(e,Jt(t))||ke(e,t))}function jo(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:u,render:l,renderCache:c,props:f,data:h,setupState:d,ctx:g,inheritAttrs:p}=e,y=Bs(e);let w,b;try{if(n.shapeFlag&4){const x=i||r,E=x;w=Kt(l.call(E,x,c,f,d,h,g)),b=a}else{const x=t;w=Kt(x.length>1?x(f,{attrs:a,slots:o,emit:u}):x(f,null)),b=t.props?a:Q1(a)}}catch(x){Rs.length=0,Gi(x,e,1),w=Ke(ut)}let _=w;if(b&&p!==!1){const x=Object.keys(b),{shapeFlag:E}=_;x.length&&E&7&&(s&&x.some(bl)&&(b=ex(b,s)),_=lr(_,b,!1,!0))}return n.dirs&&(_=lr(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&Ar(_,n.transition),w=_,Bs(y),w}function X1(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||eo(n))&&((t||(t={}))[n]=e[n]);return t},ex=(e,t)=>{const n={};for(const r in e)(!bl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function tx(e,t,n){const{props:r,children:i,component:s}=e,{props:o,children:a,patchFlag:u}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?uh(r,o,l):!!o;if(u&8){const c=t.dynamicProps;for(let f=0;fObject.create(dm),gm=e=>Object.getPrototypeOf(e)===dm;function nx(e,t,n,r=!1){const i={},s=pm();e.propsDefaults=Object.create(null),mm(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:Jw(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function rx(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=xe(i),[u]=e.propsOptions;let l=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let f=0;f{u=!0;const[h,d]=vm(f,t,!0);Le(o,h),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!u)return Pe(e)&&r.set(e,Si),Si;if(se(s))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",Ul=e=>se(e)?e.map(Kt):[Kt(e)],sx=(e,t,n)=>{if(t._n)return t;const r=Cl((...i)=>Ul(t(...i)),n);return r._c=!1,r},ym=(e,t,n)=>{const r=e._ctx;for(const i in e){if(jl(i))continue;const s=e[i];if(pe(s))t[i]=sx(i,s,r);else if(s!=null){const o=Ul(s);t[i]=()=>o}}},_m=(e,t)=>{const n=Ul(t);e.slots.default=()=>n},bm=(e,t,n)=>{for(const r in t)(n||!jl(r))&&(e[r]=t[r])},ox=(e,t,n)=>{const r=e.slots=pm();if(e.vnode.shapeFlag&32){const i=t._;i?(bm(r,t,n),n&&mg(r,"_",i,!0)):ym(t,r)}else t&&_m(e,t)},ax=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,o=Se;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:bm(i,t,n):(s=!t.$stable,ym(t,i)),o=t}else t&&(_m(e,t),o={default:1});if(s)for(const a in i)!jl(a)&&o[a]==null&&delete i[a]},it=Am;function cx(e){return wm(e)}function ux(e){return wm(e,E1)}function wm(e,t){const n=Ma();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:u,setText:l,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=fn,insertStaticContent:g}=e,p=(O,N,D,H=null,z=null,B=null,ee=void 0,Y=null,X=!!N.dynamicChildren)=>{if(O===N)return;O&&!xn(O,N)&&(H=rn(O),$e(O,z,B,!0),O=null),N.patchFlag===-2&&(X=!1,N.dynamicChildren=null);const{type:V,ref:ue,shapeFlag:te}=N;switch(V){case qr:y(O,N,D,H);break;case ut:w(O,N,D,H);break;case ki:O==null&&b(N,D,H,ee);break;case ht:U(O,N,D,H,z,B,ee,Y,X);break;default:te&1?E(O,N,D,H,z,B,ee,Y,X):te&6?L(O,N,D,H,z,B,ee,Y,X):(te&64||te&128)&&V.process(O,N,D,H,z,B,ee,Y,X,Qt)}ue!=null&&z?Oi(ue,O&&O.ref,B,N||O,!N):ue==null&&O&&O.ref!=null&&Oi(O.ref,null,B,O,!0)},y=(O,N,D,H)=>{if(O==null)r(N.el=a(N.children),D,H);else{const z=N.el=O.el;N.children!==O.children&&l(z,N.children)}},w=(O,N,D,H)=>{O==null?r(N.el=u(N.children||""),D,H):N.el=O.el},b=(O,N,D,H)=>{[O.el,O.anchor]=g(O.children,N,D,H,O.el,O.anchor)},_=({el:O,anchor:N},D,H)=>{let z;for(;O&&O!==N;)z=h(O),r(O,D,H),O=z;r(N,D,H)},x=({el:O,anchor:N})=>{let D;for(;O&&O!==N;)D=h(O),i(O),O=D;i(N)},E=(O,N,D,H,z,B,ee,Y,X)=>{if(N.type==="svg"?ee="svg":N.type==="math"&&(ee="mathml"),O==null)T(N,D,H,z,B,ee,Y,X);else{const V=O.el&&O.el._isVueCE?O.el:null;try{V&&V._beginPatch(),C(O,N,z,B,ee,Y,X)}finally{V&&V._endPatch()}}},T=(O,N,D,H,z,B,ee,Y)=>{let X,V;const{props:ue,shapeFlag:te,transition:ie,dirs:ce}=O;if(X=O.el=o(O.type,B,ue&&ue.is,ue),te&8?c(X,O.children):te&16&&R(O.children,X,null,H,z,wc(O,B),ee,Y),ce&&jn(O,null,H,"created"),P(X,O,O.scopeId,ee,H),ue){for(const _e in ue)_e!=="value"&&!Vr(_e)&&s(X,_e,null,ue[_e],B,H);"value"in ue&&s(X,"value",null,ue.value,B),(V=ue.onVnodeBeforeMount)&&Wt(V,H,O)}ce&&jn(O,null,H,"beforeMount");const ge=xm(z,ie);ge&&ie.beforeEnter(X),r(X,N,D),((V=ue&&ue.onVnodeMounted)||ge||ce)&&it(()=>{V&&Wt(V,H,O),ge&&ie.enter(X),ce&&jn(O,null,H,"mounted")},z)},P=(O,N,D,H,z)=>{if(D&&d(O,D),H)for(let B=0;B{for(let V=X;V{const Y=N.el=O.el;let{patchFlag:X,dynamicChildren:V,dirs:ue}=N;X|=O.patchFlag&16;const te=O.props||Se,ie=N.props||Se;let ce;if(D&&Dr(D,!1),(ce=ie.onVnodeBeforeUpdate)&&Wt(ce,D,N,O),ue&&jn(N,O,D,"beforeUpdate"),D&&Dr(D,!0),(te.innerHTML&&ie.innerHTML==null||te.textContent&&ie.textContent==null)&&c(Y,""),V?M(O.dynamicChildren,V,Y,D,H,wc(N,z),B):ee||J(O,N,Y,null,D,H,wc(N,z),B,!1),X>0){if(X&16)W(Y,te,ie,D,z);else if(X&2&&te.class!==ie.class&&s(Y,"class",null,ie.class,z),X&4&&s(Y,"style",te.style,ie.style,z),X&8){const ge=N.dynamicProps;for(let _e=0;_e{ce&&Wt(ce,D,N,O),ue&&jn(N,O,D,"updated")},H)},M=(O,N,D,H,z,B,ee)=>{for(let Y=0;Y{if(N!==D){if(N!==Se)for(const B in N)!Vr(B)&&!(B in D)&&s(O,B,N[B],null,z,H);for(const B in D){if(Vr(B))continue;const ee=D[B],Y=N[B];ee!==Y&&B!=="value"&&s(O,B,Y,ee,z,H)}"value"in D&&s(O,"value",N.value,D.value,z)}},U=(O,N,D,H,z,B,ee,Y,X)=>{const V=N.el=O?O.el:a(""),ue=N.anchor=O?O.anchor:a("");let{patchFlag:te,dynamicChildren:ie,slotScopeIds:ce}=N;ce&&(Y=Y?Y.concat(ce):ce),O==null?(r(V,D,H),r(ue,D,H),R(N.children||[],D,ue,z,B,ee,Y,X)):te>0&&te&64&&ie&&O.dynamicChildren&&O.dynamicChildren.length===ie.length?(M(O.dynamicChildren,ie,D,z,B,ee,Y),(N.key!=null||z&&N===z.subTree)&&Fl(O,N,!0)):J(O,N,D,ue,z,B,ee,Y,X)},L=(O,N,D,H,z,B,ee,Y,X)=>{N.slotScopeIds=Y,O==null?N.shapeFlag&512?z.ctx.activate(N,D,H,ee,X):K(N,D,H,z,B,ee,X):re(O,N,X)},K=(O,N,D,H,z,B,ee)=>{const Y=O.component=Pm(O,H,z);if(io(O)&&(Y.ctx.renderer=Qt),Nm(Y,!1,ee),Y.asyncDep){if(z&&z.registerDep(Y,q,ee),!O.el){const X=Y.subTree=Ke(ut);w(null,X,N,D),O.placeholder=X.el}}else q(Y,O,N,D,z,B,ee)},re=(O,N,D)=>{const H=N.component=O.component;if(tx(O,N,D))if(H.asyncDep&&!H.asyncResolved){Q(H,N,D);return}else H.next=N,H.update();else N.el=O.el,H.vnode=N},q=(O,N,D,H,z,B,ee)=>{const Y=()=>{if(O.isMounted){let{next:te,bu:ie,u:ce,parent:ge,vnode:_e}=O;{const A=Sm(O);if(A){te&&(te.el=_e.el,Q(O,te,ee)),A.asyncDep.then(()=>{it(()=>{O.isUnmounted||V()},z)});return}}let Te=te,S;Dr(O,!1),te?(te.el=_e.el,Q(O,te,ee)):te=_e,ie&&Ti(ie),(S=te.props&&te.props.onVnodeBeforeUpdate)&&Wt(S,ge,te,_e),Dr(O,!0);const m=jo(O),v=O.subTree;O.subTree=m,p(v,m,f(v.el),rn(v),O,z,B),te.el=m.el,Te===null&&Ka(O,m.el),ce&&it(ce,z),(S=te.props&&te.props.onVnodeUpdated)&&it(()=>Wt(S,ge,te,_e),z)}else{let te;const{el:ie,props:ce}=N,{bm:ge,m:_e,parent:Te,root:S,type:m}=O,v=sr(N);if(Dr(O,!1),ge&&Ti(ge),!v&&(te=ce&&ce.onVnodeBeforeMount)&&Wt(te,Te,N),Dr(O,!0),ie&&kn){const A=()=>{O.subTree=jo(O),kn(ie,O.subTree,O,z,null)};v&&m.__asyncHydrate?m.__asyncHydrate(ie,O,A):A()}else{S.ce&&S.ce._hasShadowRoot()&&S.ce._injectChildStyle(m,O.parent?O.parent.type:void 0);const A=O.subTree=jo(O);p(null,A,D,H,O,z,B),N.el=A.el}if(_e&&it(_e,z),!v&&(te=ce&&ce.onVnodeMounted)){const A=N;it(()=>Wt(te,Te,A),z)}(N.shapeFlag&256||Te&&sr(Te.vnode)&&Te.vnode.shapeFlag&256)&&O.a&&it(O.a,z),O.isMounted=!0,N=D=H=null}};O.scope.on();const X=O.effect=new Go(Y);O.scope.off();const V=O.update=X.run.bind(X),ue=O.job=X.runIfDirty.bind(X);ue.i=O,ue.id=O.uid,X.scheduler=()=>Ol(ue),Dr(O,!0),V()},Q=(O,N,D)=>{N.component=O;const H=O.vnode.props;O.vnode=N,O.next=null,rx(O,N.props,H,D),ax(O,N.children,D),ar(),Gf(O),cr()},J=(O,N,D,H,z,B,ee,Y,X=!1)=>{const V=O&&O.children,ue=O?O.shapeFlag:0,te=N.children,{patchFlag:ie,shapeFlag:ce}=N;if(ie>0){if(ie&128){nt(V,te,D,H,z,B,ee,Y,X);return}else if(ie&256){ve(V,te,D,H,z,B,ee,Y,X);return}}ce&8?(ue&16&&yt(V,z,B),te!==V&&c(D,te)):ue&16?ce&16?nt(V,te,D,H,z,B,ee,Y,X):yt(V,z,B,!0):(ue&8&&c(D,""),ce&16&&R(te,D,H,z,B,ee,Y,X))},ve=(O,N,D,H,z,B,ee,Y,X)=>{O=O||Si,N=N||Si;const V=O.length,ue=N.length,te=Math.min(V,ue);let ie;for(ie=0;ieue?yt(O,z,B,!0,!1,te):R(N,D,H,z,B,ee,Y,X,te)},nt=(O,N,D,H,z,B,ee,Y,X)=>{let V=0;const ue=N.length;let te=O.length-1,ie=ue-1;for(;V<=te&&V<=ie;){const ce=O[V],ge=N[V]=X?Xn(N[V]):Kt(N[V]);if(xn(ce,ge))p(ce,ge,D,null,z,B,ee,Y,X);else break;V++}for(;V<=te&&V<=ie;){const ce=O[te],ge=N[ie]=X?Xn(N[ie]):Kt(N[ie]);if(xn(ce,ge))p(ce,ge,D,null,z,B,ee,Y,X);else break;te--,ie--}if(V>te){if(V<=ie){const ce=ie+1,ge=ceie)for(;V<=te;)$e(O[V],z,B,!0),V++;else{const ce=V,ge=V,_e=new Map;for(V=ge;V<=ie;V++){const j=N[V]=X?Xn(N[V]):Kt(N[V]);j.key!=null&&_e.set(j.key,V)}let Te,S=0;const m=ie-ge+1;let v=!1,A=0;const I=new Array(m);for(V=0;V=m){$e(j,z,B,!0);continue}let he;if(j.key!=null)he=_e.get(j.key);else for(Te=ge;Te<=ie;Te++)if(I[Te-ge]===0&&xn(j,N[Te])){he=Te;break}he===void 0?$e(j,z,B,!0):(I[he-ge]=V+1,he>=A?A=he:v=!0,p(j,N[he],D,null,z,B,ee,Y,X),S++)}const $=v?lx(I):Si;for(Te=$.length-1,V=m-1;V>=0;V--){const j=ge+V,he=N[j],Me=N[j+1],De=j+1{const{el:B,type:ee,transition:Y,children:X,shapeFlag:V}=O;if(V&6){ye(O.component.subTree,N,D,H);return}if(V&128){O.suspense.move(N,D,H);return}if(V&64){ee.move(O,N,D,Qt);return}if(ee===ht){r(B,N,D);for(let te=0;teY.enter(B),z);else{const{leave:te,delayLeave:ie,afterLeave:ce}=Y,ge=()=>{O.ctx.isUnmounted?i(B):r(B,N,D)},_e=()=>{B._isLeaving&&B[Un](!0),te(B,()=>{ge(),ce&&ce()})};ie?ie(B,ge,_e):_e()}else r(B,N,D)},$e=(O,N,D,H=!1,z=!1)=>{const{type:B,props:ee,ref:Y,children:X,dynamicChildren:V,shapeFlag:ue,patchFlag:te,dirs:ie,cacheIndex:ce}=O;if(te===-2&&(z=!1),Y!=null&&(ar(),Oi(Y,null,D,O,!0),cr()),ce!=null&&(N.renderCache[ce]=void 0),ue&256){N.ctx.deactivate(O);return}const ge=ue&1&&ie,_e=!sr(O);let Te;if(_e&&(Te=ee&&ee.onVnodeBeforeUnmount)&&Wt(Te,N,O),ue&6)de(O.component,D,H);else{if(ue&128){O.suspense.unmount(D,H);return}ge&&jn(O,null,N,"beforeUnmount"),ue&64?O.type.remove(O,N,D,Qt,H):V&&!V.hasOnce&&(B!==ht||te>0&&te&64)?yt(V,N,D,!1,!0):(B===ht&&te&384||!z&&ue&16)&&yt(X,N,D),H&&Ie(O)}(_e&&(Te=ee&&ee.onVnodeUnmounted)||ge)&&it(()=>{Te&&Wt(Te,N,O),ge&&jn(O,null,N,"unmounted")},D)},Ie=O=>{const{type:N,el:D,anchor:H,transition:z}=O;if(N===ht){Ne(D,H);return}if(N===ki){x(O);return}const B=()=>{i(D),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(O.shapeFlag&1&&z&&!z.persisted){const{leave:ee,delayLeave:Y}=z,X=()=>ee(D,B);Y?Y(O.el,B,X):X()}else B()},Ne=(O,N)=>{let D;for(;O!==N;)D=h(O),i(O),O=D;i(N)},de=(O,N,D)=>{const{bum:H,scope:z,job:B,subTree:ee,um:Y,m:X,a:V}=O;ra(X),ra(V),H&&Ti(H),z.stop(),B&&(B.flags|=8,$e(ee,O,N,D)),Y&&it(Y,N),it(()=>{O.isUnmounted=!0},N)},yt=(O,N,D,H=!1,z=!1,B=0)=>{for(let ee=B;ee{if(O.shapeFlag&6)return rn(O.component.subTree);if(O.shapeFlag&128)return O.suspense.next();const N=h(O.anchor||O.el),D=N&&N[Gg];return D?h(D):N};let It=!1;const gr=(O,N,D)=>{let H;O==null?N._vnode&&($e(N._vnode,null,null,!0),H=N._vnode.component):p(N._vnode||null,O,N,null,null,null,D),N._vnode=O,It||(It=!0,Gf(H),ea(),It=!1)},Qt={p,um:$e,m:ye,r:Ie,mt:K,mc:R,pc:J,pbc:M,n:rn,o:e};let en,kn;return t&&([en,kn]=t(Qt)),{render:gr,hydrate:en,createApp:G1(gr,en)}}function wc({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Dr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function xm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Fl(e,t,n=!1){const r=e.children,i=t.children;if(se(r)&&se(i))for(let s=0;s>1,e[n[a]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function Sm(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Sm(t)}function ra(e){if(e)for(let t=0;te.__isSuspense;let Su=0;const fx={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,s,o,a,u,l){if(e==null)hx(t,n,r,i,s,o,a,u,l);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}dx(e,t,n,r,i,o,a,u,l)}},hydrate:px,normalize:gx},LD=fx;function Ws(e,t){const n=e.props&&e.props[t];pe(n)&&n()}function hx(e,t,n,r,i,s,o,a,u){const{p:l,o:{createElement:c}}=u,f=c("div"),h=e.suspense=Tm(e,i,r,t,f,n,s,o,a,u);l(null,h.pendingBranch=e.ssContent,f,null,r,h,s,o),h.deps>0?(Ws(e,"onPending"),Ws(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,s,o),Ci(h,e.ssFallback)):h.resolve(!1,!0)}function dx(e,t,n,r,i,s,o,a,{p:u,um:l,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,d=t.ssFallback,{activeBranch:g,pendingBranch:p,isInFallback:y,isHydrating:w}=f;if(p)f.pendingBranch=h,xn(p,h)?(u(p,h,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():y&&(w||(u(g,d,n,r,i,null,s,o,a),Ci(f,d)))):(f.pendingId=Su++,w?(f.isHydrating=!1,f.activeBranch=p):l(p,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),y?(u(null,h,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():(u(g,d,n,r,i,null,s,o,a),Ci(f,d))):g&&xn(g,h)?(u(g,h,n,r,i,f,s,o,a),f.resolve(!0)):(u(null,h,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0&&f.resolve()));else if(g&&xn(g,h))u(g,h,n,r,i,f,s,o,a),Ci(f,h);else if(Ws(t,"onPending"),f.pendingBranch=h,h.shapeFlag&512?f.pendingId=h.component.suspenseId:f.pendingId=Su++,u(null,h,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0)f.resolve();else{const{timeout:b,pendingId:_}=f;b>0?setTimeout(()=>{f.pendingId===_&&f.fallback(d)},b):b===0&&f.fallback(d)}}function Tm(e,t,n,r,i,s,o,a,u,l,c=!1){const{p:f,m:h,um:d,n:g,o:{parentNode:p,remove:y}}=l;let w;const b=mx(e);b&&t&&t.pendingBranch&&(w=t.pendingId,t.deps++);const _=e.props?Ko(e.props.timeout):void 0,x=s,E={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:Su++,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(T=!1,P=!1){const{vnode:R,activeBranch:C,pendingBranch:M,pendingId:W,effects:U,parentComponent:L,container:K,isInFallback:re}=E;let q=!1;E.isHydrating?E.isHydrating=!1:T||(q=C&&M.transition&&M.transition.mode==="out-in",q&&(C.transition.afterLeave=()=>{W===E.pendingId&&(h(M,K,s===x?g(C):s,0),Qo(U),re&&R.ssFallback&&(R.ssFallback.el=null))}),C&&(p(C.el)===K&&(s=g(C)),d(C,L,E,!0),!q&&re&&R.ssFallback&&it(()=>R.ssFallback.el=null,E)),q||h(M,K,s,0)),Ci(E,M),E.pendingBranch=null,E.isInFallback=!1;let Q=E.parent,J=!1;for(;Q;){if(Q.pendingBranch){Q.effects.push(...U),J=!0;break}Q=Q.parent}!J&&!q&&Qo(U),E.effects=[],b&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!P&&t.resolve()),Ws(R,"onResolve")},fallback(T){if(!E.pendingBranch)return;const{vnode:P,activeBranch:R,parentComponent:C,container:M,namespace:W}=E;Ws(P,"onFallback");const U=g(R),L=()=>{E.isInFallback&&(f(null,T,M,U,C,null,W,a,u),Ci(E,T))},K=T.transition&&T.transition.mode==="out-in";K&&(R.transition.afterLeave=L),E.isInFallback=!0,d(R,C,null,!0),K||L()},move(T,P,R){E.activeBranch&&h(E.activeBranch,T,P,R),E.container=T},next(){return E.activeBranch&&g(E.activeBranch)},registerDep(T,P,R){const C=!!E.pendingBranch;C&&E.deps++;const M=T.vnode.el;T.asyncDep.catch(W=>{Gi(W,T,0)}).then(W=>{if(T.isUnmounted||E.isUnmounted||E.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:U}=T;Tu(T,W,!1),M&&(U.el=M);const L=!M&&T.subTree.el;P(T,U,p(M||T.subTree.el),M?null:g(T.subTree),E,o,R),L&&(U.placeholder=null,y(L)),Ka(T,U.el),C&&--E.deps===0&&E.resolve()})},unmount(T,P){E.isUnmounted=!0,E.activeBranch&&d(E.activeBranch,n,T,P),E.pendingBranch&&d(E.pendingBranch,n,T,P)}};return E}function px(e,t,n,r,i,s,o,a,u){const l=t.suspense=Tm(t,r,n,e.parentNode,document.createElement("div"),null,i,s,o,a,!0),c=u(e,l.pendingBranch=t.ssContent,n,l,s,o);return l.deps===0&&l.resolve(!1,!0),c}function gx(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=fh(r?n.default:n),e.ssFallback=r?fh(n.fallback):Ke(ut)}function fh(e){let t;if(pe(e)){const n=Jr&&e._c;n&&(e._d=!1,_t()),e=e(),n&&(e._d=!0,t=kt,Om())}return se(e)&&(e=X1(e)),e=Kt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Am(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):Qo(e)}function Ci(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,Ka(r,i))}function mx(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ht=Symbol.for("v-fgt"),qr=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),ki=Symbol.for("v-stc"),Rs=[];let kt=null;function _t(e=!1){Rs.push(kt=e?null:[])}function Om(){Rs.pop(),kt=Rs[Rs.length-1]||null}let Jr=1;function sa(e,t=!1){Jr+=e,e<0&&kt&&t&&(kt.hasOnce=!0)}function Cm(e){return e.dynamicChildren=Jr>0?kt||Si:null,Om(),Jr>0&&kt&&kt.push(e),e}function wn(e,t,n,r,i,s){return Cm(Hn(e,t,n,r,i,s,!0))}function Pi(e,t,n,r,i){return Cm(Ke(e,t,n,r,i,!0))}function Or(e){return e?e.__v_isVNode===!0:!1}function xn(e,t){return e.type===t.type&&e.key===t.key}function jD(e){}const km=({key:e})=>e??null,Uo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ze(e)||Ge(e)||pe(e)?{i:Et,r:e,k:t,f:!!n}:e:null);function Hn(e,t=null,n=null,r=0,i=null,s=e===ht?0:1,o=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&km(t),ref:t&&Uo(t),scopeId:Va,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Et};return a?(zl(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=ze(n)?8:16),Jr>0&&!o&&kt&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&kt.push(u),u}const Ke=vx;function vx(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===om)&&(e=ut),Or(e)){const a=lr(e,t,!0);return n&&zl(a,n),Jr>0&&!s&&kt&&(a.shapeFlag&6?kt[kt.indexOf(e)]=a:kt.push(a)),a.patchFlag=-2,a}if(xx(e)&&(e=e.__vccOpts),t){t=_n(t);let{class:a,style:u}=t;a&&!ze(a)&&(t.class=ji(a)),Pe(u)&&(Ha(u)&&!se(u)&&(u=Le({},u)),t.style=Da(u))}const o=ze(e)?1:ia(e)?128:Jg(e)?64:Pe(e)?4:pe(e)?2:0;return Hn(e,t,n,r,i,o,s,!0)}function _n(e){return e?Ha(e)||gm(e)?Le({},e):e:null}function lr(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:u}=e,l=t?Eu(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&km(l),ref:t&&t.ref?n&&s?se(s)?s.concat(Uo(t)):[s,Uo(t)]:Uo(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ht?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&lr(e.ssContent),ssFallback:e.ssFallback&&lr(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&Ar(c,u.clone(c)),c}function Zs(e=" ",t=0){return Ke(qr,null,e,t)}function UD(e,t){const n=Ke(ki,null,e);return n.staticCount=t,n}function xc(e="",t=!1){return t?(_t(),Pi(ut,null,e)):Ke(ut,null,e)}function Kt(e){return e==null||typeof e=="boolean"?Ke(ut):se(e)?Ke(ht,null,e.slice()):Or(e)?Xn(e):Ke(qr,null,String(e))}function Xn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:lr(e)}function zl(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(se(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),zl(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!gm(t)?t._ctx=Et:i===3&&Et&&(Et.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else pe(t)?(t={default:t,_ctx:Et},n=32):(t=String(t),r&64?(n=16,t=[Zs(t)]):n=8);e.children=t,e.shapeFlag|=n}function Eu(...e){const t={};for(let n=0;nSt||Et;let oa,Ii;{const e=Ma(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};oa=t("__VUE_INSTANCE_SETTERS__",n=>St=n),Ii=t("__VUE_SSR_SETTERS__",n=>Yr=n)}const Xi=e=>{const t=St;return oa(e),e.scope.on(),()=>{e.scope.off(),oa(t)}},aa=()=>{St&&St.scope.off(),oa(null)};function Im(e){return e.vnode.shapeFlag&4}let Yr=!1;function Nm(e,t=!1,n=!1){t&&Ii(t);const{props:r,children:i}=e.vnode,s=Im(e);nx(e,r,s,t),ox(e,i,n||t);const o=s?bx(e,t):void 0;return t&&Ii(!1),o}function bx(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_u);const{setup:r}=n;if(r){ar();const i=e.setupContext=r.length>1?$m(e):null,s=Xi(e),o=no(r,e,0,[e.props,i]),a=xl(o);if(cr(),s(),(a||e.sp)&&!sr(e)&&Pl(e),a){if(o.then(aa,aa),t)return o.then(u=>{Tu(e,u,t)}).catch(u=>{Gi(u,e,0)});e.asyncDep=o}else Tu(e,o,t)}else Rm(e,t)}function Tu(e,t,n){pe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Pe(t)&&(e.setupState=Ug(t)),Rm(e,n)}let ca,Au;function FD(e){ca=e,Au=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,B1))}}const zD=()=>!ca;function Rm(e,t,n){const r=e.type;if(!e.render){if(!t&&ca&&!r.render){const i=r.template||Ll(e).template;if(i){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:u}=r,l=Le(Le({isCustomElement:s,delimiters:a},o),u);r.render=ca(i,l)}}e.render=r.render||fn,Au&&Au(e)}{const i=Xi(e);ar();try{H1(e)}finally{cr(),i()}}}const wx={get(e,t){return Ct(e,"get",""),e[t]}};function $m(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,wx),slots:e.slots,emit:e.emit,expose:t}}function so(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ug(Al(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ns)return Ns[n](e)},has(t,n){return n in t||n in Ns}})):e.proxy}function Ou(e,t=!0){return pe(e)?e.displayName||e.name:e.name||t&&e.__name}function xx(e){return pe(e)&&"__vccOpts"in e}const ae=(e,t)=>s1(e,t,Yr);function Sx(e,t,n){try{sa(-1);const r=arguments.length;return r===2?Pe(t)&&!se(t)?Or(t)?Ke(e,null,[t]):Ke(e,t):Ke(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Or(n)&&(n=[n]),Ke(e,t,n))}finally{sa(1)}}function BD(){}function HD(e,t,n,r){const i=n[r];if(i&&Ex(i,e))return i;const s=t();return s.memo=e.slice(),s.cacheIndex=r,n[r]=s}function Ex(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&kt&&kt.push(e),!0}const Tx="3.5.30",VD=fn,WD=l1,ZD=pi,qD=qg,Ax={createComponentInstance:Pm,setupComponent:Nm,renderComponentRoot:jo,setCurrentRenderingInstance:Bs,isVNode:Or,normalizeVNode:Kt,getComponentPublicInstance:so,ensureValidVNode:Dl,pushWarningContext:c1,popWarningContext:u1},KD=Ax,GD=null,JD=null,YD=null;let Cu;const hh=typeof window<"u"&&window.trustedTypes;if(hh)try{Cu=hh.createPolicy("vue",{createHTML:e=>e})}catch{}const Mm=Cu?e=>Cu.createHTML(e):e=>e,Ox="http://www.w3.org/2000/svg",Cx="http://www.w3.org/1998/Math/MathML",Yn=typeof document<"u"?document:null,dh=Yn&&Yn.createElement("template"),kx={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?Yn.createElementNS(Ox,e):t==="mathml"?Yn.createElementNS(Cx,e):n?Yn.createElement(e,{is:n}):Yn.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Yn.createTextNode(e),createComment:e=>Yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,s){const o=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{dh.innerHTML=Mm(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=dh.content;if(r==="svg"||r==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},mr="transition",ss="animation",Fi=Symbol("_vtc"),Dm={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Lm=Le({},Qg,Dm),Px=e=>(e.displayName="Transition",e.props=Lm,e),Ix=Px((e,{slots:t})=>Sx(w1,jm(e),t)),Lr=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},ph=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function jm(e){const t={};for(const U in e)U in Dm||(t[U]=e[U]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:u=s,appearActiveClass:l=o,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,g=Nx(i),p=g&&g[0],y=g&&g[1],{onBeforeEnter:w,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:E,onBeforeAppear:T=w,onAppear:P=b,onAppearCancelled:R=_}=t,C=(U,L,K,re)=>{U._enterCancelled=re,yr(U,L?c:a),yr(U,L?l:o),K&&K()},M=(U,L)=>{U._isLeaving=!1,yr(U,f),yr(U,d),yr(U,h),L&&L()},W=U=>(L,K)=>{const re=U?P:b,q=()=>C(L,U,K);Lr(re,[L,q]),gh(()=>{yr(L,U?u:s),In(L,U?c:a),ph(re)||mh(L,r,p,q)})};return Le(t,{onBeforeEnter(U){Lr(w,[U]),In(U,s),In(U,o)},onBeforeAppear(U){Lr(T,[U]),In(U,u),In(U,l)},onEnter:W(!1),onAppear:W(!0),onLeave(U,L){U._isLeaving=!0;const K=()=>M(U,L);In(U,f),U._enterCancelled?(In(U,h),ku(U)):(ku(U),In(U,h)),gh(()=>{U._isLeaving&&(yr(U,f),In(U,d),ph(x)||mh(U,r,y,K))}),Lr(x,[U,K])},onEnterCancelled(U){C(U,!1,void 0,!0),Lr(_,[U])},onAppearCancelled(U){C(U,!0,void 0,!0),Lr(R,[U])},onLeaveCancelled(U){M(U),Lr(E,[U])}})}function Nx(e){if(e==null)return null;if(Pe(e))return[Sc(e.enter),Sc(e.leave)];{const t=Sc(e);return[t,t]}}function Sc(e){return Ko(e)}function In(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Fi]||(e[Fi]=new Set)).add(t)}function yr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Fi];n&&(n.delete(t),n.size||(e[Fi]=void 0))}function gh(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Rx=0;function mh(e,t,n,r){const i=e._endId=++Rx,s=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:a,propCount:u}=Um(e,t);if(!o)return r();const l=o+"end";let c=0;const f=()=>{e.removeEventListener(l,h),s()},h=d=>{d.target===e&&++c>=u&&f()};setTimeout(()=>{c(n[g]||"").split(", "),i=r(`${mr}Delay`),s=r(`${mr}Duration`),o=vh(i,s),a=r(`${ss}Delay`),u=r(`${ss}Duration`),l=vh(a,u);let c=null,f=0,h=0;t===mr?o>0&&(c=mr,f=o,h=s.length):t===ss?l>0&&(c=ss,f=l,h=u.length):(f=Math.max(o,l),c=f>0?o>l?mr:ss:null,h=c?c===mr?s.length:u.length:0);const d=c===mr&&/\b(?:transform|all)(?:,|$)/.test(r(`${mr}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:d}}function vh(e,t){for(;e.lengthyh(n)+yh(e[r])))}function yh(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ku(e){return(e?e.ownerDocument:document).body.offsetHeight}function $x(e,t,n){const r=e[Fi];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ua=Symbol("_vod"),Fm=Symbol("_vsh"),Pu={name:"show",beforeMount(e,{value:t},{transition:n}){e[ua]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):os(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),os(e,!0),r.enter(e)):r.leave(e,()=>{os(e,!1)}):os(e,t))},beforeUnmount(e,{value:t}){os(e,t)}};function os(e,t){e.style.display=t?e[ua]:"none",e[Fm]=!t}function Mx(){Pu.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const zm=Symbol("");function XD(e){const t=Tt();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>la(s,i))},r=()=>{const i=e(t.proxy);t.ce?la(t.ce,i):Iu(t.subTree,i),n(i)};sm(()=>{Qo(r)}),Yi(()=>{hn(r,fn,{flush:"post"});const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),Rl(()=>i.disconnect())})}function Iu(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Iu(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)la(e.el,t);else if(e.type===ht)e.children.forEach(n=>Iu(n,t));else if(e.type===ki){let{el:n,anchor:r}=e;for(;n&&(la(n,t),n!==r);)n=n.nextSibling}}function la(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const i in t){const s=Pw(t[i]);n.setProperty(`--${i}`,s),r+=`--${i}: ${s};`}n[zm]=r}}const Dx=/(?:^|;)\s*display\s*:/;function Lx(e,t,n){const r=e.style,i=ze(n);let s=!1;if(n&&!i){if(t)if(ze(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Fo(r,a,"")}else for(const o in t)n[o]==null&&Fo(r,o,"");for(const o in n)o==="display"&&(s=!0),Fo(r,o,n[o])}else if(i){if(t!==n){const o=r[zm];o&&(n+=";"+o),r.cssText=n,s=Dx.test(n)}}else t&&e.removeAttribute("style");ua in e&&(e[ua]=s?r.display:"",e[Fm]&&(r.display="none"))}const _h=/\s*!important$/;function Fo(e,t,n){if(se(n))n.forEach(r=>Fo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=jx(e,t);_h.test(n)?e.setProperty(Jt(r),n.replace(_h,""),"important"):e[r]=n}}const bh=["Webkit","Moz","ms"],Ec={};function jx(e,t){const n=Ec[t];if(n)return n;let r=pt(t);if(r!=="filter"&&r in e)return Ec[t]=r;r=Ra(r);for(let i=0;iTc||(Bx.then(()=>Tc=0),Tc=Date.now());function Vx(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Cn(Wx(r,n.value),t,5,[r])};return n.value=e,n.attached=Hx(),n}function Wx(e,t){if(se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const Ah=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zx=(e,t,n,r,i,s)=>{const o=i==="svg";t==="class"?$x(e,r,o):t==="style"?Lx(e,n,r):eo(t)?bl(t)||Fx(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qx(e,t,r,o))?(Sh(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xh(e,t,r,o,s,t!=="value")):e._isVueCE&&(Kx(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ze(r)))?Sh(e,pt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),xh(e,t,r,o))};function qx(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ah(t)&&pe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Ah(t)&&ze(n)?!1:t in e}function Kx(e,t){const n=e._def.props;if(!n)return!1;const r=pt(t);return Array.isArray(n)?n.some(i=>pt(i)===r):Object.keys(n).some(i=>pt(i)===r)}const Oh={};function Gx(e,t,n){let r=rm(e,t);Pa(r)&&(r=Le({},r,t));class i extends Bl{constructor(o){super(r,o,n)}}return i.def=r,i}const QD=((e,t)=>Gx(e,t,hS)),Jx=typeof HTMLElement<"u"?HTMLElement:class{};class Bl extends Jx{constructor(t,n={},r=Mh){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&r!==Mh?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Le({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof Bl){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Ji(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:o}=r;let a;if(s&&!se(s))for(const u in s){const l=s[u];(l===Number||l&&l.type===Number)&&(u in this._props&&(this._props[u]=Ko(this._props[u])),(a||(a=Object.create(null)))[pt(u)]=!0)}this._numberProps=a,this._resolveProps(r),this.shadowRoot&&this._applyStyles(o),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>{r.configureApp=this._def.configureApp,t(this._def=r,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)ke(this,r)||Object.defineProperty(this,r,{get:()=>Z(n[r])})}_resolveProps(t){const{props:n}=t,r=se(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i]);for(const i of r.map(pt))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(s){this._setProp(i,s,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):Oh;const i=pt(t);n&&this._numberProps&&this._numberProps[i]&&(r=Ko(r)),this._setProp(i,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!1){if(n!==this._props[t]&&(this._dirty=!0,n===Oh?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),r)){const s=this._ob;s&&(this._processMutations(s.takeRecords()),s.disconnect()),n===!0?this.setAttribute(Jt(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Jt(t),n+""):n||this.removeAttribute(Jt(t)),s&&s.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),fS(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=Ke(this._def,Le(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const i=(s,o)=>{this.dispatchEvent(new CustomEvent(s,Pa(o[0])?Le({detail:o},o[0]):{detail:o}))};r.emit=(s,...o)=>{i(s,o),Jt(s)!==s&&i(Jt(s),o)},this._setParent()}),n}_applyStyles(t,n,r){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const i=this._nonce,s=this.shadowRoot,o=r?this._getStyleAnchor(r)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(s);let a=null;for(let u=t.length-1;u>=0;u--){const l=document.createElement("style");i&&l.setAttribute("nonce",i),l.textContent=t[u],s.insertBefore(l,a||o),a=l,u===0&&(r||this._styleAnchors.set(this._def,l),n&&this._styleAnchors.set(n,l))}}_getStyleAnchor(t){if(!t)return null;const n=this._styleAnchors.get(t);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let n=0;n(delete e.props.mode,e),Qx=Xx({name:"TransitionGroup",props:Le({},Lm,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Tt(),r=Xg();let i,s;return Il(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!rS(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(eS),i.forEach(tS);const a=i.filter(nS);ku(n.vnode.el),a.forEach(u=>{const l=u.el,c=l.style;In(l,o),c.transform=c.webkitTransform=c.transitionDuration="";const f=l[fa]=h=>{h&&h.target!==l||(!h||h.propertyName.endsWith("transform"))&&(l.removeEventListener("transitionend",f),l[fa]=null,yr(l,o))};l.addEventListener("transitionend",f)}),i=[]}),()=>{const o=xe(e),a=jm(o);let u=o.tag||ht;if(i=[],s)for(let l=0;l{a.split(/\s+/).forEach(u=>u&&r.classList.remove(u))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=Um(r);return s.removeChild(r),o}const Cr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return se(t)?n=>Ti(t,n):t};function iS(e){e.target.composing=!0}function kh(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const dn=Symbol("_assign");function Ph(e,t,n){return t&&(e=e.trim()),n&&(e=$a(e)),e}const Nu={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[dn]=Cr(i);const s=r||i.props&&i.props.type==="number";nr(e,t?"change":"input",o=>{o.target.composing||e[dn](Ph(e.value,n,s))}),(n||s)&&nr(e,"change",()=>{e.value=Ph(e.value,n,s)}),t||(nr(e,"compositionstart",iS),nr(e,"compositionend",kh),nr(e,"change",kh))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:s}},o){if(e[dn]=Cr(o),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?$a(e.value):e.value,u=t??"";a!==u&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===u)||(e.value=u))}},Wm={deep:!0,created(e,t,n){e[dn]=Cr(n),nr(e,"change",()=>{const r=e._modelValue,i=zi(e),s=e.checked,o=e[dn];if(se(r)){const a=La(r,i),u=a!==-1;if(s&&!u)o(r.concat(i));else if(!s&&u){const l=[...r];l.splice(a,1),o(l)}}else if(ni(r)){const a=new Set(r);s?a.add(i):a.delete(i),o(a)}else o(qm(e,s))})},mounted:Ih,beforeUpdate(e,t,n){e[dn]=Cr(n),Ih(e,t,n)}};function Ih(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(se(t))i=La(t,r.props.value)>-1;else if(ni(t))i=t.has(r.props.value);else{if(t===n)return;i=or(t,qm(e,!0))}e.checked!==i&&(e.checked=i)}const Zm={created(e,{value:t},n){e.checked=or(t,n.props.value),e[dn]=Cr(n),nr(e,"change",()=>{e[dn](zi(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[dn]=Cr(r),t!==n&&(e.checked=or(t,r.props.value))}},sS={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=ni(t);nr(e,"change",()=>{const s=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?$a(zi(o)):zi(o));e[dn](e.multiple?i?new Set(s):s:s[0]),e._assigning=!0,Ji(()=>{e._assigning=!1})}),e[dn]=Cr(r)},mounted(e,{value:t}){Nh(e,t)},beforeUpdate(e,t,n){e[dn]=Cr(n)},updated(e,{value:t}){e._assigning||Nh(e,t)}};function Nh(e,t){const n=e.multiple,r=se(t);if(!(n&&!r&&!ni(t))){for(let i=0,s=e.options.length;iString(l)===String(a)):o.selected=La(t,a)>-1}else o.selected=t.has(a);else if(or(zi(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function zi(e){return"_value"in e?e._value:e.value}function qm(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const oS={created(e,t,n){bo(e,t,n,null,"created")},mounted(e,t,n){bo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){bo(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){bo(e,t,n,r,"updated")}};function Km(e,t){switch(e){case"SELECT":return sS;case"TEXTAREA":return Nu;default:switch(t){case"checkbox":return Wm;case"radio":return Zm;default:return Nu}}}function bo(e,t,n,r,i){const o=Km(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,r)}function aS(){Nu.getSSRProps=({value:e})=>({value:e}),Zm.getSSRProps=({value:e},t)=>{if(t.props&&or(t.props.value,e))return{checked:!0}},Wm.getSSRProps=({value:e},t)=>{if(se(e)){if(t.props&&La(e,t.props.value)>-1)return{checked:!0}}else if(ni(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},oS.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Km(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const cS=["ctrl","shift","alt","meta"],uS={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>cS.some(n=>e[`${n}Key`]&&!t.includes(n))},Rh=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((i,...s)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(i=>{if(!("key"in i))return;const s=Jt(i.key);if(t.some(o=>o===s||lS[o]===s))return e(i)}))},Gm=Le({patchProp:Zx},kx);let $s,$h=!1;function Jm(){return $s||($s=cx(Gm))}function Ym(){return $s=$h?$s:ux(Gm),$h=!0,$s}const fS=((...e)=>{Jm().render(...e)}),iL=((...e)=>{Ym().hydrate(...e)}),Mh=((...e)=>{const t=Jm().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Qm(r);if(!i)return;const s=t._component;!pe(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Xm(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t}),hS=((...e)=>{const t=Ym().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Qm(r);if(i)return n(i,!0,Xm(i))},t});function Xm(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Qm(e){return ze(e)?document.querySelector(e):e}let Dh=!1;const sL=()=>{Dh||(Dh=!0,aS(),Mx())};var Hl={},Ga={};Ga.byteLength=gS;Ga.toByteArray=vS;Ga.fromByteArray=bS;var Vn=[],un=[],dS=typeof Uint8Array<"u"?Uint8Array:Array,Ac="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var ui=0,pS=Ac.length;ui0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function gS(e){var t=ev(e),n=t[0],r=t[1];return(n+r)*3/4-r}function mS(e,t,n){return(t+n)*3/4-n}function vS(e){var t,n=ev(e),r=n[0],i=n[1],s=new dS(mS(e,r,i)),o=0,a=i>0?r-4:r,u;for(u=0;u>16&255,s[o++]=t>>8&255,s[o++]=t&255;return i===2&&(t=un[e.charCodeAt(u)]<<2|un[e.charCodeAt(u+1)]>>4,s[o++]=t&255),i===1&&(t=un[e.charCodeAt(u)]<<10|un[e.charCodeAt(u+1)]<<4|un[e.charCodeAt(u+2)]>>2,s[o++]=t>>8&255,s[o++]=t&255),s}function yS(e){return Vn[e>>18&63]+Vn[e>>12&63]+Vn[e>>6&63]+Vn[e&63]}function _S(e,t,n){for(var r,i=[],s=t;sa?a:o+s));return r===1?(t=e[n-1],i.push(Vn[t>>2]+Vn[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(Vn[t>>10]+Vn[t>>4&63]+Vn[t<<2&63]+"=")),i.join("")}var Vl={};Vl.read=function(e,t,n,r,i){var s,o,a=i*8-r-1,u=(1<>1,c=-7,f=n?i-1:0,h=n?-1:1,d=e[t+f];for(f+=h,s=d&(1<<-c)-1,d>>=-c,c+=a;c>0;s=s*256+e[t+f],f+=h,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=r;c>0;o=o*256+e[t+f],f+=h,c-=8);if(s===0)s=1-l;else{if(s===u)return o?NaN:(d?-1:1)*(1/0);o=o+Math.pow(2,r),s=s-l}return(d?-1:1)*o*Math.pow(2,s-r)};Vl.write=function(e,t,n,r,i,s){var o,a,u,l=s*8-i-1,c=(1<>1,h=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:s-1,g=r?1:-1,p=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+f>=1?t+=h/u:t+=h*Math.pow(2,1-f),t*u>=2&&(o++,u/=2),o+f>=c?(a=0,o=c):o+f>=1?(a=(t*u-1)*Math.pow(2,i),o=o+f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;e[n+d]=a&255,d+=g,a/=256,i-=8);for(o=o<0;e[n+d]=o&255,d+=g,o/=256,l-=8);e[n+d-g]|=p*128};(function(e){const t=Ga,n=Vl,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=c,e.SlowBuffer=E,e.INSPECT_MAX_BYTES=50;const i=2147483647;e.kMaxLength=i;const{Uint8Array:s,ArrayBuffer:o,SharedArrayBuffer:a}=globalThis;c.TYPED_ARRAY_SUPPORT=u(),!c.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function u(){try{const S=new s(1),m={foo:function(){return 42}};return Object.setPrototypeOf(m,s.prototype),Object.setPrototypeOf(S,m),S.foo()===42}catch{return!1}}Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}});function l(S){if(S>i)throw new RangeError('The value "'+S+'" is invalid for option "size"');const m=new s(S);return Object.setPrototypeOf(m,c.prototype),m}function c(S,m,v){if(typeof S=="number"){if(typeof m=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(S)}return f(S,m,v)}c.poolSize=8192;function f(S,m,v){if(typeof S=="string")return p(S,m);if(o.isView(S))return w(S);if(S==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof S);if(ie(S,o)||S&&ie(S.buffer,o)||typeof a<"u"&&(ie(S,a)||S&&ie(S.buffer,a)))return b(S,m,v);if(typeof S=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const A=S.valueOf&&S.valueOf();if(A!=null&&A!==S)return c.from(A,m,v);const I=_(S);if(I)return I;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof S[Symbol.toPrimitive]=="function")return c.from(S[Symbol.toPrimitive]("string"),m,v);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof S)}c.from=function(S,m,v){return f(S,m,v)},Object.setPrototypeOf(c.prototype,s.prototype),Object.setPrototypeOf(c,s);function h(S){if(typeof S!="number")throw new TypeError('"size" argument must be of type number');if(S<0)throw new RangeError('The value "'+S+'" is invalid for option "size"')}function d(S,m,v){return h(S),S<=0?l(S):m!==void 0?typeof v=="string"?l(S).fill(m,v):l(S).fill(m):l(S)}c.alloc=function(S,m,v){return d(S,m,v)};function g(S){return h(S),l(S<0?0:x(S)|0)}c.allocUnsafe=function(S){return g(S)},c.allocUnsafeSlow=function(S){return g(S)};function p(S,m){if((typeof m!="string"||m==="")&&(m="utf8"),!c.isEncoding(m))throw new TypeError("Unknown encoding: "+m);const v=T(S,m)|0;let A=l(v);const I=A.write(S,m);return I!==v&&(A=A.slice(0,I)),A}function y(S){const m=S.length<0?0:x(S.length)|0,v=l(m);for(let A=0;A=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return S|0}function E(S){return+S!=S&&(S=0),c.alloc(+S)}c.isBuffer=function(m){return m!=null&&m._isBuffer===!0&&m!==c.prototype},c.compare=function(m,v){if(ie(m,s)&&(m=c.from(m,m.offset,m.byteLength)),ie(v,s)&&(v=c.from(v,v.offset,v.byteLength)),!c.isBuffer(m)||!c.isBuffer(v))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(m===v)return 0;let A=m.length,I=v.length;for(let $=0,j=Math.min(A,I);$I.length?(c.isBuffer(j)||(j=c.from(j)),j.copy(I,$)):s.prototype.set.call(I,j,$);else if(c.isBuffer(j))j.copy(I,$);else throw new TypeError('"list" argument must be an Array of Buffers');$+=j.length}return I};function T(S,m){if(c.isBuffer(S))return S.length;if(o.isView(S)||ie(S,o))return S.byteLength;if(typeof S!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof S);const v=S.length,A=arguments.length>2&&arguments[2]===!0;if(!A&&v===0)return 0;let I=!1;for(;;)switch(m){case"ascii":case"latin1":case"binary":return v;case"utf8":case"utf-8":return Y(S).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return v*2;case"hex":return v>>>1;case"base64":return ue(S).length;default:if(I)return A?-1:Y(S).length;m=(""+m).toLowerCase(),I=!0}}c.byteLength=T;function P(S,m,v){let A=!1;if((m===void 0||m<0)&&(m=0),m>this.length||((v===void 0||v>this.length)&&(v=this.length),v<=0)||(v>>>=0,m>>>=0,v<=m))return"";for(S||(S="utf8");;)switch(S){case"hex":return $e(this,m,v);case"utf8":case"utf-8":return Q(this,m,v);case"ascii":return nt(this,m,v);case"latin1":case"binary":return ye(this,m,v);case"base64":return q(this,m,v);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ie(this,m,v);default:if(A)throw new TypeError("Unknown encoding: "+S);S=(S+"").toLowerCase(),A=!0}}c.prototype._isBuffer=!0;function R(S,m,v){const A=S[m];S[m]=S[v],S[v]=A}c.prototype.swap16=function(){const m=this.length;if(m%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let v=0;vv&&(m+=" ... "),""},r&&(c.prototype[r]=c.prototype.inspect),c.prototype.compare=function(m,v,A,I,$){if(ie(m,s)&&(m=c.from(m,m.offset,m.byteLength)),!c.isBuffer(m))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof m);if(v===void 0&&(v=0),A===void 0&&(A=m?m.length:0),I===void 0&&(I=0),$===void 0&&($=this.length),v<0||A>m.length||I<0||$>this.length)throw new RangeError("out of range index");if(I>=$&&v>=A)return 0;if(I>=$)return-1;if(v>=A)return 1;if(v>>>=0,A>>>=0,I>>>=0,$>>>=0,this===m)return 0;let j=$-I,he=A-v;const Me=Math.min(j,he),De=this.slice(I,$),Ue=m.slice(v,A);for(let Ce=0;Ce2147483647?v=2147483647:v<-2147483648&&(v=-2147483648),v=+v,ce(v)&&(v=I?0:S.length-1),v<0&&(v=S.length+v),v>=S.length){if(I)return-1;v=S.length-1}else if(v<0)if(I)v=0;else return-1;if(typeof m=="string"&&(m=c.from(m,A)),c.isBuffer(m))return m.length===0?-1:M(S,m,v,A,I);if(typeof m=="number")return m=m&255,typeof s.prototype.indexOf=="function"?I?s.prototype.indexOf.call(S,m,v):s.prototype.lastIndexOf.call(S,m,v):M(S,[m],v,A,I);throw new TypeError("val must be string, number or Buffer")}function M(S,m,v,A,I){let $=1,j=S.length,he=m.length;if(A!==void 0&&(A=String(A).toLowerCase(),A==="ucs2"||A==="ucs-2"||A==="utf16le"||A==="utf-16le")){if(S.length<2||m.length<2)return-1;$=2,j/=2,he/=2,v/=2}function Me(Ue,Ce){return $===1?Ue[Ce]:Ue.readUInt16BE(Ce*$)}let De;if(I){let Ue=-1;for(De=v;Dej&&(v=j-he),De=v;De>=0;De--){let Ue=!0;for(let Ce=0;CeI&&(A=I)):A=I;const $=m.length;A>$/2&&(A=$/2);let j;for(j=0;j>>0,isFinite(A)?(A=A>>>0,I===void 0&&(I="utf8")):(I=A,A=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const $=this.length-v;if((A===void 0||A>$)&&(A=$),m.length>0&&(A<0||v<0)||v>this.length)throw new RangeError("Attempt to write outside buffer bounds");I||(I="utf8");let j=!1;for(;;)switch(I){case"hex":return W(this,m,v,A);case"utf8":case"utf-8":return U(this,m,v,A);case"ascii":case"latin1":case"binary":return L(this,m,v,A);case"base64":return K(this,m,v,A);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,m,v,A);default:if(j)throw new TypeError("Unknown encoding: "+I);I=(""+I).toLowerCase(),j=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function q(S,m,v){return m===0&&v===S.length?t.fromByteArray(S):t.fromByteArray(S.slice(m,v))}function Q(S,m,v){v=Math.min(S.length,v);const A=[];let I=m;for(;I239?4:$>223?3:$>191?2:1;if(I+he<=v){let Me,De,Ue,Ce;switch(he){case 1:$<128&&(j=$);break;case 2:Me=S[I+1],(Me&192)===128&&(Ce=($&31)<<6|Me&63,Ce>127&&(j=Ce));break;case 3:Me=S[I+1],De=S[I+2],(Me&192)===128&&(De&192)===128&&(Ce=($&15)<<12|(Me&63)<<6|De&63,Ce>2047&&(Ce<55296||Ce>57343)&&(j=Ce));break;case 4:Me=S[I+1],De=S[I+2],Ue=S[I+3],(Me&192)===128&&(De&192)===128&&(Ue&192)===128&&(Ce=($&15)<<18|(Me&63)<<12|(De&63)<<6|Ue&63,Ce>65535&&Ce<1114112&&(j=Ce))}}j===null?(j=65533,he=1):j>65535&&(j-=65536,A.push(j>>>10&1023|55296),j=56320|j&1023),A.push(j),I+=he}return ve(A)}const J=4096;function ve(S){const m=S.length;if(m<=J)return String.fromCharCode.apply(String,S);let v="",A=0;for(;AA)&&(v=A);let I="";for(let $=m;$A&&(m=A),v<0?(v+=A,v<0&&(v=0)):v>A&&(v=A),vv)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUintLE=c.prototype.readUIntLE=function(m,v,A){m=m>>>0,v=v>>>0,A||Ne(m,v,this.length);let I=this[m],$=1,j=0;for(;++j>>0,v=v>>>0,A||Ne(m,v,this.length);let I=this[m+--v],$=1;for(;v>0&&($*=256);)I+=this[m+--v]*$;return I},c.prototype.readUint8=c.prototype.readUInt8=function(m,v){return m=m>>>0,v||Ne(m,1,this.length),this[m]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(m,v){return m=m>>>0,v||Ne(m,2,this.length),this[m]|this[m+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(m,v){return m=m>>>0,v||Ne(m,2,this.length),this[m]<<8|this[m+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(m,v){return m=m>>>0,v||Ne(m,4,this.length),(this[m]|this[m+1]<<8|this[m+2]<<16)+this[m+3]*16777216},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(m,v){return m=m>>>0,v||Ne(m,4,this.length),this[m]*16777216+(this[m+1]<<16|this[m+2]<<8|this[m+3])},c.prototype.readBigUInt64LE=_e(function(m){m=m>>>0,H(m,"offset");const v=this[m],A=this[m+7];(v===void 0||A===void 0)&&z(m,this.length-8);const I=v+this[++m]*2**8+this[++m]*2**16+this[++m]*2**24,$=this[++m]+this[++m]*2**8+this[++m]*2**16+A*2**24;return BigInt(I)+(BigInt($)<>>0,H(m,"offset");const v=this[m],A=this[m+7];(v===void 0||A===void 0)&&z(m,this.length-8);const I=v*2**24+this[++m]*2**16+this[++m]*2**8+this[++m],$=this[++m]*2**24+this[++m]*2**16+this[++m]*2**8+A;return(BigInt(I)<>>0,v=v>>>0,A||Ne(m,v,this.length);let I=this[m],$=1,j=0;for(;++j=$&&(I-=Math.pow(2,8*v)),I},c.prototype.readIntBE=function(m,v,A){m=m>>>0,v=v>>>0,A||Ne(m,v,this.length);let I=v,$=1,j=this[m+--I];for(;I>0&&($*=256);)j+=this[m+--I]*$;return $*=128,j>=$&&(j-=Math.pow(2,8*v)),j},c.prototype.readInt8=function(m,v){return m=m>>>0,v||Ne(m,1,this.length),this[m]&128?(255-this[m]+1)*-1:this[m]},c.prototype.readInt16LE=function(m,v){m=m>>>0,v||Ne(m,2,this.length);const A=this[m]|this[m+1]<<8;return A&32768?A|4294901760:A},c.prototype.readInt16BE=function(m,v){m=m>>>0,v||Ne(m,2,this.length);const A=this[m+1]|this[m]<<8;return A&32768?A|4294901760:A},c.prototype.readInt32LE=function(m,v){return m=m>>>0,v||Ne(m,4,this.length),this[m]|this[m+1]<<8|this[m+2]<<16|this[m+3]<<24},c.prototype.readInt32BE=function(m,v){return m=m>>>0,v||Ne(m,4,this.length),this[m]<<24|this[m+1]<<16|this[m+2]<<8|this[m+3]},c.prototype.readBigInt64LE=_e(function(m){m=m>>>0,H(m,"offset");const v=this[m],A=this[m+7];(v===void 0||A===void 0)&&z(m,this.length-8);const I=this[m+4]+this[m+5]*2**8+this[m+6]*2**16+(A<<24);return(BigInt(I)<>>0,H(m,"offset");const v=this[m],A=this[m+7];(v===void 0||A===void 0)&&z(m,this.length-8);const I=(v<<24)+this[++m]*2**16+this[++m]*2**8+this[++m];return(BigInt(I)<>>0,v||Ne(m,4,this.length),n.read(this,m,!0,23,4)},c.prototype.readFloatBE=function(m,v){return m=m>>>0,v||Ne(m,4,this.length),n.read(this,m,!1,23,4)},c.prototype.readDoubleLE=function(m,v){return m=m>>>0,v||Ne(m,8,this.length),n.read(this,m,!0,52,8)},c.prototype.readDoubleBE=function(m,v){return m=m>>>0,v||Ne(m,8,this.length),n.read(this,m,!1,52,8)};function de(S,m,v,A,I,$){if(!c.isBuffer(S))throw new TypeError('"buffer" argument must be a Buffer instance');if(m>I||m<$)throw new RangeError('"value" argument is out of bounds');if(v+A>S.length)throw new RangeError("Index out of range")}c.prototype.writeUintLE=c.prototype.writeUIntLE=function(m,v,A,I){if(m=+m,v=v>>>0,A=A>>>0,!I){const he=Math.pow(2,8*A)-1;de(this,m,v,A,he,0)}let $=1,j=0;for(this[v]=m&255;++j>>0,A=A>>>0,!I){const he=Math.pow(2,8*A)-1;de(this,m,v,A,he,0)}let $=A-1,j=1;for(this[v+$]=m&255;--$>=0&&(j*=256);)this[v+$]=m/j&255;return v+A},c.prototype.writeUint8=c.prototype.writeUInt8=function(m,v,A){return m=+m,v=v>>>0,A||de(this,m,v,1,255,0),this[v]=m&255,v+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(m,v,A){return m=+m,v=v>>>0,A||de(this,m,v,2,65535,0),this[v]=m&255,this[v+1]=m>>>8,v+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(m,v,A){return m=+m,v=v>>>0,A||de(this,m,v,2,65535,0),this[v]=m>>>8,this[v+1]=m&255,v+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(m,v,A){return m=+m,v=v>>>0,A||de(this,m,v,4,4294967295,0),this[v+3]=m>>>24,this[v+2]=m>>>16,this[v+1]=m>>>8,this[v]=m&255,v+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(m,v,A){return m=+m,v=v>>>0,A||de(this,m,v,4,4294967295,0),this[v]=m>>>24,this[v+1]=m>>>16,this[v+2]=m>>>8,this[v+3]=m&255,v+4};function yt(S,m,v,A,I){D(m,A,I,S,v,7);let $=Number(m&BigInt(4294967295));S[v++]=$,$=$>>8,S[v++]=$,$=$>>8,S[v++]=$,$=$>>8,S[v++]=$;let j=Number(m>>BigInt(32)&BigInt(4294967295));return S[v++]=j,j=j>>8,S[v++]=j,j=j>>8,S[v++]=j,j=j>>8,S[v++]=j,v}function rn(S,m,v,A,I){D(m,A,I,S,v,7);let $=Number(m&BigInt(4294967295));S[v+7]=$,$=$>>8,S[v+6]=$,$=$>>8,S[v+5]=$,$=$>>8,S[v+4]=$;let j=Number(m>>BigInt(32)&BigInt(4294967295));return S[v+3]=j,j=j>>8,S[v+2]=j,j=j>>8,S[v+1]=j,j=j>>8,S[v]=j,v+8}c.prototype.writeBigUInt64LE=_e(function(m,v=0){return yt(this,m,v,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=_e(function(m,v=0){return rn(this,m,v,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(m,v,A,I){if(m=+m,v=v>>>0,!I){const Me=Math.pow(2,8*A-1);de(this,m,v,A,Me-1,-Me)}let $=0,j=1,he=0;for(this[v]=m&255;++$>0)-he&255;return v+A},c.prototype.writeIntBE=function(m,v,A,I){if(m=+m,v=v>>>0,!I){const Me=Math.pow(2,8*A-1);de(this,m,v,A,Me-1,-Me)}let $=A-1,j=1,he=0;for(this[v+$]=m&255;--$>=0&&(j*=256);)m<0&&he===0&&this[v+$+1]!==0&&(he=1),this[v+$]=(m/j>>0)-he&255;return v+A},c.prototype.writeInt8=function(m,v,A){return m=+m,v=v>>>0,A||de(this,m,v,1,127,-128),m<0&&(m=255+m+1),this[v]=m&255,v+1},c.prototype.writeInt16LE=function(m,v,A){return m=+m,v=v>>>0,A||de(this,m,v,2,32767,-32768),this[v]=m&255,this[v+1]=m>>>8,v+2},c.prototype.writeInt16BE=function(m,v,A){return m=+m,v=v>>>0,A||de(this,m,v,2,32767,-32768),this[v]=m>>>8,this[v+1]=m&255,v+2},c.prototype.writeInt32LE=function(m,v,A){return m=+m,v=v>>>0,A||de(this,m,v,4,2147483647,-2147483648),this[v]=m&255,this[v+1]=m>>>8,this[v+2]=m>>>16,this[v+3]=m>>>24,v+4},c.prototype.writeInt32BE=function(m,v,A){return m=+m,v=v>>>0,A||de(this,m,v,4,2147483647,-2147483648),m<0&&(m=4294967295+m+1),this[v]=m>>>24,this[v+1]=m>>>16,this[v+2]=m>>>8,this[v+3]=m&255,v+4},c.prototype.writeBigInt64LE=_e(function(m,v=0){return yt(this,m,v,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=_e(function(m,v=0){return rn(this,m,v,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function It(S,m,v,A,I,$){if(v+A>S.length)throw new RangeError("Index out of range");if(v<0)throw new RangeError("Index out of range")}function gr(S,m,v,A,I){return m=+m,v=v>>>0,I||It(S,m,v,4),n.write(S,m,v,A,23,4),v+4}c.prototype.writeFloatLE=function(m,v,A){return gr(this,m,v,!0,A)},c.prototype.writeFloatBE=function(m,v,A){return gr(this,m,v,!1,A)};function Qt(S,m,v,A,I){return m=+m,v=v>>>0,I||It(S,m,v,8),n.write(S,m,v,A,52,8),v+8}c.prototype.writeDoubleLE=function(m,v,A){return Qt(this,m,v,!0,A)},c.prototype.writeDoubleBE=function(m,v,A){return Qt(this,m,v,!1,A)},c.prototype.copy=function(m,v,A,I){if(!c.isBuffer(m))throw new TypeError("argument should be a Buffer");if(A||(A=0),!I&&I!==0&&(I=this.length),v>=m.length&&(v=m.length),v||(v=0),I>0&&I=this.length)throw new RangeError("Index out of range");if(I<0)throw new RangeError("sourceEnd out of bounds");I>this.length&&(I=this.length),m.length-v>>0,A=A===void 0?this.length:A>>>0,m||(m=0);let $;if(typeof m=="number")for($=v;$2**32?I=O(String(v)):typeof v=="bigint"&&(I=String(v),(v>BigInt(2)**BigInt(32)||v<-(BigInt(2)**BigInt(32)))&&(I=O(I)),I+="n"),A+=` It must be ${m}. Received ${I}`,A},RangeError);function O(S){let m="",v=S.length;const A=S[0]==="-"?1:0;for(;v>=A+4;v-=3)m=`_${S.slice(v-3,v)}${m}`;return`${S.slice(0,v)}${m}`}function N(S,m,v){H(m,"offset"),(S[m]===void 0||S[m+v]===void 0)&&z(m,S.length-(v+1))}function D(S,m,v,A,I,$){if(S>v||S= 0${j} and < 2${j} ** ${($+1)*8}${j}`:he=`>= -(2${j} ** ${($+1)*8-1}${j}) and < 2 ** ${($+1)*8-1}${j}`,new en.ERR_OUT_OF_RANGE("value",he,S)}N(A,I,$)}function H(S,m){if(typeof S!="number")throw new en.ERR_INVALID_ARG_TYPE(m,"number",S)}function z(S,m,v){throw Math.floor(S)!==S?(H(S,v),new en.ERR_OUT_OF_RANGE("offset","an integer",S)):m<0?new en.ERR_BUFFER_OUT_OF_BOUNDS:new en.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${m}`,S)}const B=/[^+/0-9A-Za-z-_]/g;function ee(S){if(S=S.split("=")[0],S=S.trim().replace(B,""),S.length<2)return"";for(;S.length%4!==0;)S=S+"=";return S}function Y(S,m){m=m||1/0;let v;const A=S.length;let I=null;const $=[];for(let j=0;j55295&&v<57344){if(!I){if(v>56319){(m-=3)>-1&&$.push(239,191,189);continue}else if(j+1===A){(m-=3)>-1&&$.push(239,191,189);continue}I=v;continue}if(v<56320){(m-=3)>-1&&$.push(239,191,189),I=v;continue}v=(I-55296<<10|v-56320)+65536}else I&&(m-=3)>-1&&$.push(239,191,189);if(I=null,v<128){if((m-=1)<0)break;$.push(v)}else if(v<2048){if((m-=2)<0)break;$.push(v>>6|192,v&63|128)}else if(v<65536){if((m-=3)<0)break;$.push(v>>12|224,v>>6&63|128,v&63|128)}else if(v<1114112){if((m-=4)<0)break;$.push(v>>18|240,v>>12&63|128,v>>6&63|128,v&63|128)}else throw new Error("Invalid code point")}return $}function X(S){const m=[];for(let v=0;v>8,I=v%256,$.push(I),$.push(A);return $}function ue(S){return t.toByteArray(ee(S))}function te(S,m,v,A){let I;for(I=0;I=m.length||I>=S.length);++I)m[I+v]=S[I];return I}function ie(S,m){return S instanceof m||S!=null&&S.constructor!=null&&S.constructor.name!=null&&S.constructor.name===m.name}function ce(S){return S!==S}const ge=(function(){const S="0123456789abcdef",m=new Array(256);for(let v=0;v<16;++v){const A=v*16;for(let I=0;I<16;++I)m[A+I]=S[v]+S[I]}return m})();function _e(S){return typeof BigInt>"u"?Te:S}function Te(){throw new Error("BigInt not supported")}})(Hl);const wo=Hl.Buffer,aL=Hl.Buffer;let Wl;const oo=e=>Wl=e,wS=()=>Wa()&&ir(Zl)||Wl,Zl=Symbol();function Ru(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ni;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ni||(Ni={}));function xS(){const e=wg(!0),t=e.run(()=>Re({}));let n=[],r=[];const i=Al({install(s){oo(i),i._a=s,s.provide(Zl,i),s.config.globalProperties.$pinia=i,r.forEach(o=>n.push(o)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}function SS(e){e._e.stop(),e._s.clear(),e._p.splice(0),e.state.value={},e._a=null}function ES(e,t){return()=>{}}const tv=()=>{};function Lh(e,t,n,r=tv){e.add(t);const i=()=>{e.delete(t)&&r()};return!n&&ja()&&xg(i),i}function li(e,...t){e.forEach(n=>{n(...t)})}const TS=e=>e(),jh=Symbol(),Oc=Symbol();function $u(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],i=e[n];Ru(i)&&Ru(r)&&e.hasOwnProperty(n)&&!Ge(r)&&!En(r)?e[n]=$u(i,r):e[n]=r}return e}const nv=Symbol();function AS(e){return Object.defineProperty(e,nv,{})}function rv(e){return!Ru(e)||!Object.prototype.hasOwnProperty.call(e,nv)}const{assign:_r}=Object;function OS(e){return!!(Ge(e)&&e.effect)}function CS(e,t,n,r){const{state:i,actions:s,getters:o}=t,a=n.state.value[e];let u;function l(){a||(n.state.value[e]=i?i():{});const c=t1(n.state.value[e]);return _r(c,s,Object.keys(o||{}).reduce((f,h)=>(f[h]=Al(ae(()=>{oo(n);const d=n._s.get(e);return o[h].call(d,d)})),f),{}))}return u=iv(e,l,t,n,r,!0),u}function iv(e,t,n={},r,i,s){let o;const a=_r({actions:{}},n),u={deep:!0};let l,c,f=new Set,h=new Set,d;const g=r.state.value[e];!s&&!g&&(r.state.value[e]={});let p;function y(R){let C;l=c=!1,typeof R=="function"?(R(r.state.value[e]),C={type:Ni.patchFunction,storeId:e,events:d}):($u(r.state.value[e],R),C={type:Ni.patchObject,payload:R,storeId:e,events:d});const M=p=Symbol();Ji().then(()=>{p===M&&(l=!0)}),c=!0,li(f,C,r.state.value[e])}const w=s?function(){const{state:C}=n,M=C?C():{};this.$patch(W=>{_r(W,M)})}:tv;function b(){o.stop(),f.clear(),h.clear(),r._s.delete(e)}const _=(R,C="")=>{if(jh in R)return R[Oc]=C,R;const M=function(){oo(r);const W=Array.from(arguments),U=new Set,L=new Set;function K(Q){U.add(Q)}function re(Q){L.add(Q)}li(h,{args:W,name:M[Oc],store:E,after:K,onError:re});let q;try{q=R.apply(this&&this.$id===e?this:E,W)}catch(Q){throw li(L,Q),Q}return q instanceof Promise?q.then(Q=>(li(U,Q),Q)).catch(Q=>(li(L,Q),Promise.reject(Q))):(li(U,q),q)};return M[jh]=!0,M[Oc]=C,M},x={_p:r,$id:e,$onAction:Lh.bind(null,h),$patch:y,$reset:w,$subscribe(R,C={}){const M=Lh(f,R,C.detached,()=>W()),W=o.run(()=>hn(()=>r.state.value[e],U=>{(C.flush==="sync"?c:l)&&R({storeId:e,type:Ni.direct,events:d},U)},_r({},u,C)));return M},$dispose:b},E=to(x);r._s.set(e,E);const P=(r._a&&r._a.runWithContext||TS)(()=>r._e.run(()=>(o=wg()).run(()=>t({action:_}))));for(const R in P){const C=P[R];if(Ge(C)&&!OS(C)||En(C))s||(g&&rv(C)&&(Ge(C)?C.value=g[R]:$u(C,g[R])),r.state.value[e][R]=C);else if(typeof C=="function"){const M=_(C,R);P[R]=M,a.actions[R]=C}}return _r(E,P),_r(xe(E),P),Object.defineProperty(E,"$state",{get:()=>r.state.value[e],set:R=>{y(C=>{_r(C,R)})}}),r._p.forEach(R=>{_r(E,o.run(()=>R({store:E,app:r._a,pinia:r,options:a})))}),g&&s&&n.hydrate&&n.hydrate(E.$state,g),l=!0,c=!0,E}function ao(e,t,n){let r;const i=typeof t=="function";r=i?n:t;function s(o,a){const u=Wa();return o=o||(u?ir(Zl,null):null),o&&oo(o),o=Wl,o._s.has(e)||(i?iv(e,t,r,o):CS(e,r,o)),o._s.get(e)}return s.$id=e,s}let sv="Store";function kS(e){sv=e}function PS(...e){return e.reduce((t,n)=>(t[n.$id+sv]=function(){return n(this.$pinia)},t),{})}function ov(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(){return e(this.$pinia)[r]},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(){const i=e(this.$pinia),s=t[r];return typeof s=="function"?s.call(this,i):i[s]},n),{})}const IS=ov;function NS(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]=function(...i){return e(this.$pinia)[r](...i)},n),{}):Object.keys(t).reduce((n,r)=>(n[r]=function(...i){return e(this.$pinia)[t[r]](...i)},n),{})}function RS(e,t){return Array.isArray(t)?t.reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[r]},set(i){return e(this.$pinia)[r]=i}},n),{}):Object.keys(t).reduce((n,r)=>(n[r]={get(){return e(this.$pinia)[t[r]]},set(i){return e(this.$pinia)[t[r]]=i}},n),{})}function $S(e){const t=xe(e),n={};for(const r in t){const i=t[r];i.effect?n[r]=ae({get:()=>e[r],set(s){e[r]=s}}):(Ge(i)||En(i))&&(n[r]=zg(e,r))}return n}const cL=Object.freeze(Object.defineProperty({__proto__:null,get MutationType(){return Ni},acceptHMRUpdate:ES,createPinia:xS,defineStore:ao,disposePinia:SS,getActivePinia:wS,mapActions:NS,mapGetters:IS,mapState:ov,mapStores:PS,mapWritableState:RS,setActivePinia:oo,setMapStoreSuffix:kS,shouldHydrate:rv,skipHydrate:AS,storeToRefs:$S},Symbol.toStringTag,{value:"Module"}));function MS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var av={exports:{}},ot=av.exports={},Fn,zn;function Mu(){throw new Error("setTimeout has not been defined")}function Du(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Fn=setTimeout:Fn=Mu}catch{Fn=Mu}try{typeof clearTimeout=="function"?zn=clearTimeout:zn=Du}catch{zn=Du}})();function cv(e){if(Fn===setTimeout)return setTimeout(e,0);if((Fn===Mu||!Fn)&&setTimeout)return Fn=setTimeout,setTimeout(e,0);try{return Fn(e,0)}catch{try{return Fn.call(null,e,0)}catch{return Fn.call(this,e,0)}}}function DS(e){if(zn===clearTimeout)return clearTimeout(e);if((zn===Du||!zn)&&clearTimeout)return zn=clearTimeout,clearTimeout(e);try{return zn(e)}catch{try{return zn.call(null,e)}catch{return zn.call(this,e)}}}var rr=[],Ri=!1,Br,zo=-1;function LS(){!Ri||!Br||(Ri=!1,Br.length?rr=Br.concat(rr):zo=-1,rr.length&&uv())}function uv(){if(!Ri){var e=cv(LS);Ri=!0;for(var t=rr.length;t;){for(Br=rr,rr=[];++zo1)for(var n=1;ne.filter(t=>typeof t=="string"||typeof t=="number").map(t=>`${t}`).filter(t=>t),zS=e=>{const t=e.join("/"),[,n="",r=""]=t.match(US)||[];return{prefix:n,pathname:{parts:r.split("/").filter(i=>i!==""),hasLeading:/^\/+/.test(r),hasTrailing:/\/+$/.test(r)}}},BS=(e,t)=>{const{prefix:n,pathname:r}=e,{parts:i,hasLeading:s,hasTrailing:o}=r,{leadingSlash:a,trailingSlash:u}=t,l=a===!0||a==="keep"&&s,c=u===!0||u==="keep"&&o;let f=n;return i.length>0&&((f||l)&&(f+="/"),f+=i.join("/")),c&&(f+="/"),!f&&l&&(f+="/"),f},Uh=(...e)=>{const t=e[e.length-1];let n;t&&typeof t=="object"&&(n=t,e=e.slice(0,-1)),n={leadingSlash:!0,trailingSlash:!1,...n},e=FS(e);const r=zS(e);return BS(r,n)};var xo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ja(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function HS(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var i=!1;try{i=this instanceof r}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Cc,Fh;function VS(){if(Fh)return Cc;Fh=1;function e(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}function t(i,s){for(var o="",a=0,u=-1,l=0,c,f=0;f<=i.length;++f){if(f2){var h=o.lastIndexOf("/");if(h!==o.length-1){h===-1?(o="",a=0):(o=o.slice(0,h),a=o.length-1-o.lastIndexOf("/")),u=f,l=0;continue}}else if(o.length===2||o.length===1){o="",a=0,u=f,l=0;continue}}s&&(o.length>0?o+="/..":o="..",a=2)}else o.length>0?o+="/"+i.slice(u+1,f):o=i.slice(u+1,f),a=f-u-1;u=f,l=0}else c===46&&l!==-1?++l:l=-1}return o}function n(i,s){var o=s.dir||s.root,a=s.base||(s.name||"")+(s.ext||"");return o?o===s.root?o+a:o+i+a:a}var r={resolve:function(){for(var s="",o=!1,a,u=arguments.length-1;u>=-1&&!o;u--){var l;u>=0?l=arguments[u]:(a===void 0&&(a=Ms.cwd()),l=a),e(l),l.length!==0&&(s=l+"/"+s,o=l.charCodeAt(0)===47)}return s=t(s,!o),o?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var o=s.charCodeAt(0)===47,a=s.charCodeAt(s.length-1)===47;return s=t(s,!o),s.length===0&&!o&&(s="."),s.length>0&&a&&(s+="/"),o?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,o=0;o0&&(s===void 0?s=a:s+="/"+a)}return s===void 0?".":r.normalize(s)},relative:function(s,o){if(e(s),e(o),s===o||(s=r.resolve(s),o=r.resolve(o),s===o))return"";for(var a=1;ad){if(o.charCodeAt(c+p)===47)return o.slice(c+p+1);if(p===0)return o.slice(c+p)}else l>d&&(s.charCodeAt(a+p)===47?g=p:p===0&&(g=0));break}var y=s.charCodeAt(a+p),w=o.charCodeAt(c+p);if(y!==w)break;y===47&&(g=p)}var b="";for(p=a+g+1;p<=u;++p)(p===u||s.charCodeAt(p)===47)&&(b.length===0?b+="..":b+="/..");return b.length>0?b+o.slice(c+g):(c+=g,o.charCodeAt(c)===47&&++c,o.slice(c))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var o=s.charCodeAt(0),a=o===47,u=-1,l=!0,c=s.length-1;c>=1;--c)if(o=s.charCodeAt(c),o===47){if(!l){u=c;break}}else l=!1;return u===-1?a?"/":".":a&&u===1?"//":s.slice(0,u)},basename:function(s,o){if(o!==void 0&&typeof o!="string")throw new TypeError('"ext" argument must be a string');e(s);var a=0,u=-1,l=!0,c;if(o!==void 0&&o.length>0&&o.length<=s.length){if(o.length===s.length&&o===s)return"";var f=o.length-1,h=-1;for(c=s.length-1;c>=0;--c){var d=s.charCodeAt(c);if(d===47){if(!l){a=c+1;break}}else h===-1&&(l=!1,h=c+1),f>=0&&(d===o.charCodeAt(f)?--f===-1&&(u=c):(f=-1,u=h))}return a===u?u=h:u===-1&&(u=s.length),s.slice(a,u)}else{for(c=s.length-1;c>=0;--c)if(s.charCodeAt(c)===47){if(!l){a=c+1;break}}else u===-1&&(l=!1,u=c+1);return u===-1?"":s.slice(a,u)}},extname:function(s){e(s);for(var o=-1,a=0,u=-1,l=!0,c=0,f=s.length-1;f>=0;--f){var h=s.charCodeAt(f);if(h===47){if(!l){a=f+1;break}continue}u===-1&&(l=!1,u=f+1),h===46?o===-1?o=f:c!==1&&(c=1):o!==-1&&(c=-1)}return o===-1||u===-1||c===0||c===1&&o===u-1&&o===a+1?"":s.slice(o,u)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var o={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return o;var a=s.charCodeAt(0),u=a===47,l;u?(o.root="/",l=1):l=0;for(var c=-1,f=0,h=-1,d=!0,g=s.length-1,p=0;g>=l;--g){if(a=s.charCodeAt(g),a===47){if(!d){f=g+1;break}continue}h===-1&&(d=!1,h=g+1),a===46?c===-1?c=g:p!==1&&(p=1):c!==-1&&(p=-1)}return c===-1||h===-1||p===0||p===1&&c===h-1&&c===f+1?h!==-1&&(f===0&&u?o.base=o.name=s.slice(1,h):o.base=o.name=s.slice(f,h)):(f===0&&u?(o.name=s.slice(1,c),o.base=s.slice(1,h)):(o.name=s.slice(f,c),o.base=s.slice(f,h)),o.ext=s.slice(c,h)),f>0?o.dir=s.slice(0,f-1):u&&(o.dir="/"),o},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,Cc=r,Cc}var WS=VS();const uL=Ja(WS);class lL{static Shared="S";static Shareable="R";static Mounted="M";static Deletable="D";static Renameable="N";static Moveable="V";static Updateable="NV";static FileUpdateable="W";static FolderCreateable="CK";static Deny="Z";static SecureView="X"}var ZS=(e=>(e.copy="COPY",e.delete="DELETE",e.lock="LOCK",e.mkcol="MKCOL",e.move="MOVE",e.propfind="PROPFIND",e.proppatch="PROPPATCH",e.put="PUT",e.report="REPORT",e.unlock="UNLOCK",e))(ZS||{});const Ya=e=>({value:e,type:null}),qS=e=>Ya(e),je=e=>Ya(e),So=e=>Ya(e),KS=e=>Ya(e),GS={Permissions:je("permissions"),IsFavorite:So("favorite"),FileId:je("fileid"),FileParent:je("file-parent"),Name:je("name"),OwnerId:je("owner-id"),OwnerDisplayName:je("owner-display-name"),PrivateLink:je("privatelink"),ContentLength:So("getcontentlength"),ContentSize:So("size"),LastModifiedDate:je("getlastmodified"),Tags:qS("tags"),Audio:{value:"audio",type:null},Location:{value:"location",type:null},Image:{value:"image",type:null},Photo:{value:"photo",type:null},Immutable:je("immutable"),ETag:je("getetag"),MimeType:je("getcontenttype"),ResourceType:KS("resourcetype"),LockDiscovery:{value:"lockdiscovery",type:null},LockOwner:je("owner"),LockTime:je("locktime"),ActiveLock:{value:"activelock",type:null},DownloadURL:je("downloadURL"),Highlights:je("highlights"),MetaPathForUser:je("meta-path-for-user"),RemoteItemId:je("remote-item-id"),HasPreview:So("has-preview"),ShareId:je("shareid"),ShareRoot:je("shareroot"),ShareTypes:{value:"share-types",type:null},SharePermissions:je("share-permissions"),TrashbinOriginalFilename:je("trashbin-original-filename"),TrashbinOriginalLocation:je("trashbin-original-location"),TrashbinDeletedDate:je("trashbin-delete-datetime"),PublicLinkItemType:je("public-link-item-type"),PublicLinkPermission:je("public-link-permission"),PublicLinkExpiration:je("public-link-expiration"),PublicLinkShareDate:je("public-link-share-datetime"),PublicLinkShareOwner:je("public-link-share-owner")},me=Object.fromEntries(Object.entries(GS).map(([e,t])=>[e,t.value]));class fv{static Default=[me.Permissions,me.IsFavorite,me.FileId,me.FileParent,me.Name,me.LockDiscovery,me.ActiveLock,me.OwnerId,me.OwnerDisplayName,me.RemoteItemId,me.ShareRoot,me.ShareTypes,me.PrivateLink,me.ContentLength,me.ContentSize,me.LastModifiedDate,me.ETag,me.MimeType,me.ResourceType,me.Tags,me.Immutable,me.Audio,me.Location,me.Image,me.Photo,me.HasPreview];static PublicLink=fv.Default.concat([me.PublicLinkItemType,me.PublicLinkPermission,me.PublicLinkExpiration,me.PublicLinkShareDate,me.PublicLinkShareOwner]);static Trashbin=[me.ContentLength,me.ResourceType,me.TrashbinOriginalLocation,me.TrashbinOriginalFilename,me.TrashbinDeletedDate,me.Permissions,me.FileParent];static DavNamespace=[me.ContentLength,me.LastModifiedDate,me.ETag,me.MimeType,me.ResourceType,me.LockDiscovery,me.ActiveLock]}var JS="[object Symbol]";function YS(e){return typeof e=="symbol"||qi(e)&&Qs(e)==JS}function hv(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n-1}function pv(e){return e==null?"":dv(e)}function rE(e,t,n,r){for(var i=-1,s=e==null?0:e.length;++i=120&&c.length>=120?new ha(o&&c):void 0}c=e[0];var f=-1,h=a[0];e:for(;++fe;class cs{_key;_value;_label;_icon;constructor(t,n,r,i){this._key=t,this._value=n,this._label=r,this._icon=i}get key(){return this._key}get value(){return this._value}get label(){return this._label}get icon(){return this._icon}}class fL{static user=new cs("user",0,as("User"),"user");static group=new cs("group",1,as("Group"),"group");static link=new cs("link",3,as("Link"),"link");static guest=new cs("guest",4,as("Guest"),"global");static remote=new cs("remote",6,as("External"),"earth");static individuals=[this.user,this.guest,this.remote];static collectives=[this.group];static unauthenticated=[this.link];static authenticated=[this.user,this.group,this.guest,this.remote];static all=[this.user,this.group,this.link,this.guest,this.remote];static isIndividual(t){return this.individuals.includes(t)}static isCollective(t){return this.collectives.includes(t)}static isUnauthenticated(t){return this.unauthenticated.includes(t)}static isAuthenticated(t){return this.authenticated.includes(t)}static getByValue(t){return this.all.find(n=>n.value===t)}static getByValues(t){return t.map(n=>this.getByValue(n))}static getByKeys(t){return t.map(n=>this.all.find(r=>r.key===n))}static getValues(t){return t.map(n=>n.value)}static containsAnyValue(t,n){return XE(this.getValues(t),n).length>0}}const hL="a0ca6a90-a365-4782-871e-d44447bbc668",dL="89f37a33-858b-45fa-8890-a1f2b27d90e1",pL=e=>e?.type==="space",gL=e=>e?.driveType==="personal",mL=e=>e?.driveType==="project",nT=e=>e?.driveType==="share",vL=e=>e?.driveType==="mountpoint",yL=e=>e?.driveType==="public";var kc={};var rT={2:e=>{function t(i,s,o){i instanceof RegExp&&(i=n(i,o)),s instanceof RegExp&&(s=n(s,o));var a=r(i,s,o);return a&&{start:a[0],end:a[1],pre:o.slice(0,a[0]),body:o.slice(a[0]+i.length,a[1]),post:o.slice(a[1]+s.length)}}function n(i,s){var o=s.match(i);return o?o[0]:null}function r(i,s,o){var a,u,l,c,f,h=o.indexOf(i),d=o.indexOf(s,h+1),g=h;if(h>=0&&d>0){for(a=[],l=o.length;g>=0&&!f;)g==h?(a.push(g),h=o.indexOf(i,g+1)):a.length==1?f=[a.pop(),d]:((u=a.pop())=0?h:d;a.length&&(f=[l,c])}return f}e.exports=t,t.range=r},47:(e,t,n)=>{var r=n(410),i=function(l){return typeof l=="string"};function s(l,c){for(var f=[],h=0;h=-1&&!c;f--){var h=f>=0?arguments[f]:Ms.cwd();if(!i(h))throw new TypeError("Arguments to path.resolve must be strings");h&&(l=h+"/"+l,c=h.charAt(0)==="/")}return(c?"/":"")+(l=s(l.split("/"),!c).join("/"))||"."},a.normalize=function(l){var c=a.isAbsolute(l),f=l.substr(-1)==="/";return(l=s(l.split("/"),!c).join("/"))||c||(l="."),l&&f&&(l+="/"),(c?"/":"")+l},a.isAbsolute=function(l){return l.charAt(0)==="/"},a.join=function(){for(var l="",c=0;c=0&&b[x]==="";x--);return _>x?[]:b.slice(_,x+1)}l=a.resolve(l).substr(1),c=a.resolve(c).substr(1);for(var h=f(l.split("/")),d=f(c.split("/")),g=Math.min(h.length,d.length),p=g,y=0;y>18&63)+a.charAt(g>>12&63)+a.charAt(g>>6&63)+a.charAt(63&g);return p==2?(f=c.charCodeAt(w)<<8,h=c.charCodeAt(++w),y+=a.charAt((g=f+h)>>10)+a.charAt(g>>4&63)+a.charAt(g<<2&63)+"="):p==1&&(g=c.charCodeAt(w),y+=a.charAt(g>>2)+a.charAt(g<<4&63)+"=="),y},decode:function(c){var f=(c=String(c).replace(u,"")).length;f%4==0&&(f=(c=c.replace(/==?$/,"")).length),(f%4==1||/[^+a-zA-Z0-9/]/.test(c))&&o("Invalid character: the string to be decoded is not correctly encoded.");for(var h,d,g=0,p="",y=-1;++y>(-2*g&6)));return p},version:"1.0.0"};(r=function(){return l}.call(t,n,t,e))===void 0||(e.exports=r)})()},135:e=>{function t(n){return!!n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}e.exports=function(n){return n!=null&&(t(n)||(function(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&t(r.slice(0,0))})(n)||!!n._isBuffer)}},172:(e,t)=>{t.d=function(n){if(!n)return 0;for(var r=(n=n.toString()).length,i=n.length;i--;){var s=n.charCodeAt(i);56320<=s&&s<=57343&&i--,127{var r=n(2);e.exports=function(w){return w?(w.substr(0,2)==="{}"&&(w="\\{\\}"+w.substr(2)),y((function(b){return b.split("\\\\").join(i).split("\\{").join(s).split("\\}").join(o).split("\\,").join(a).split("\\.").join(u)})(w),!0).map(c)):[]};var i="\0SLASH"+Math.random()+"\0",s="\0OPEN"+Math.random()+"\0",o="\0CLOSE"+Math.random()+"\0",a="\0COMMA"+Math.random()+"\0",u="\0PERIOD"+Math.random()+"\0";function l(w){return parseInt(w,10)==w?parseInt(w,10):w.charCodeAt(0)}function c(w){return w.split(i).join("\\").split(s).join("{").split(o).join("}").split(a).join(",").split(u).join(".")}function f(w){if(!w)return[""];var b=[],_=r("{","}",w);if(!_)return w.split(",");var x=_.pre,E=_.body,T=_.post,P=x.split(",");P[P.length-1]+="{"+E+"}";var R=f(T);return T.length&&(P[P.length-1]+=R.shift(),P.push.apply(P,R)),b.push.apply(b,P),b}function h(w){return"{"+w+"}"}function d(w){return/^-?0\d/.test(w)}function g(w,b){return w<=b}function p(w,b){return w>=b}function y(w,b){var _=[],x=r("{","}",w);if(!x)return[w];var E=x.pre,T=x.post.length?y(x.post,!1):[""];if(/\$$/.test(x.pre))for(var P=0;P=0;if(!L&&!K)return x.post.match(/,(?!,).*\}/)?y(w=x.pre+"{"+x.body+o+x.post):[w];if(L)C=x.body.split(/\.\./);else if((C=f(x.body)).length===1&&(C=y(C[0],!1).map(h)).length===1)return T.map((function(yt){return x.pre+C[0]+yt}));if(L){var re=l(C[0]),q=l(C[1]),Q=Math.max(C[0].length,C[1].length),J=C.length==3?Math.abs(l(C[2])):1,ve=g;q0){var Ne=new Array(Ie+1).join("0");$e=ye<0?"-"+Ne+$e.slice(1):Ne+$e}}M.push($e)}}else{M=[];for(var de=0;de{var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(r,i){return r<>>32-i},rotr:function(r,i){return r<<32-i|r>>>i},endian:function(r){if(r.constructor==Number)return 16711935&n.rotl(r,8)|4278255360&n.rotl(r,24);for(var i=0;i0;r--)i.push(Math.floor(256*Math.random()));return i},bytesToWords:function(r){for(var i=[],s=0,o=0;s>>5]|=r[s]<<24-o%32;return i},wordsToBytes:function(r){for(var i=[],s=0;s<32*r.length;s+=8)i.push(r[s>>>5]>>>24-s%32&255);return i},bytesToHex:function(r){for(var i=[],s=0;s>>4).toString(16)),i.push((15&r[s]).toString(16));return i.join("")},hexToBytes:function(r){for(var i=[],s=0;s>>6*(3-a)&63)):i.push("=");return i.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/gi,"");for(var i=[],s=0,o=0;s>>6-2*o);return i}},e.exports=n},345:()=>{},388:()=>{},410:()=>{},526:e=>{var t={utf8:{stringToBytes:function(n){return t.bin.stringToBytes(unescape(encodeURIComponent(n)))},bytesToString:function(n){return decodeURIComponent(escape(t.bin.bytesToString(n)))}},bin:{stringToBytes:function(n){for(var r=[],i=0;i{(function(){var r=n(298),i=n(526).utf8,s=n(135),o=n(526).bin,a=function(u,l){u.constructor==String?u=l&&l.encoding==="binary"?o.stringToBytes(u):i.stringToBytes(u):s(u)?u=Array.prototype.slice.call(u,0):Array.isArray(u)||u.constructor===Uint8Array||(u=u.toString());for(var c=r.bytesToWords(u),f=8*u.length,h=1732584193,d=-271733879,g=-1732584194,p=271733878,y=0;y>>24)|4278255360&(c[y]<<24|c[y]>>>8);c[f>>>5]|=128<>>9<<4)]=f;var w=a._ff,b=a._gg,_=a._hh,x=a._ii;for(y=0;y>>0,d=d+T>>>0,g=g+P>>>0,p=p+R>>>0}return r.endian([h,d,g,p])};a._ff=function(u,l,c,f,h,d,g){var p=u+(l&c|~l&f)+(h>>>0)+g;return(p<>>32-d)+l},a._gg=function(u,l,c,f,h,d,g){var p=u+(l&f|c&~f)+(h>>>0)+g;return(p<>>32-d)+l},a._hh=function(u,l,c,f,h,d,g){var p=u+(l^c^f)+(h>>>0)+g;return(p<>>32-d)+l},a._ii=function(u,l,c,f,h,d,g){var p=u+(c^(l|~f))+(h>>>0)+g;return(p<>>32-d)+l},a._blocksize=16,a._digestsize=16,e.exports=function(u,l){if(u==null)throw new Error("Illegal argument "+u);var c=r.wordsToBytes(a(u,l));return l&&l.asBytes?c:l&&l.asString?o.bytesToString(c):r.bytesToHex(c)}})()},647:(e,t)=>{var n=Object.prototype.hasOwnProperty;function r(s){try{return decodeURIComponent(s.replace(/\+/g," "))}catch{return null}}function i(s){try{return encodeURIComponent(s)}catch{return null}}t.stringify=function(s,o){o=o||"";var a,u,l=[];for(u in typeof o!="string"&&(o="?"),s)if(n.call(s,u)){if((a=s[u])||a!=null&&!isNaN(a)||(a=""),u=i(u),a=i(a),u===null||a===null)continue;l.push(u+"="+a)}return l.length?o+l.join("&"):""},t.parse=function(s){for(var o,a=/([^=?#&]+)=?([^&]*)/g,u={};o=a.exec(s);){var l=r(o[1]),c=r(o[2]);l===null||c===null||l in u||(u[l]=c)}return u}},670:e=>{e.exports=function(t,n){if(n=n.split(":")[0],!(t=+t))return!1;switch(n){case"http":case"ws":return t!==80;case"https":case"wss":return t!==443;case"ftp":return t!==21;case"gopher":return t!==70;case"file":return!1}return t!==0}},737:(e,t,n)=>{var r=n(670),i=n(647),s=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,o=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,u=/:\d+$/,l=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,c=/^[a-zA-Z]:/;function f(b){return(b||"").toString().replace(s,"")}var h=[["#","hash"],["?","query"],function(b,_){return p(_.protocol)?b.replace(/\\/g,"/"):b},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],d={hash:1,query:1};function g(b){var _,x=(typeof window<"u"?window:typeof ln<"u"?ln:typeof self<"u"?self:{}).location||{},E={},T=typeof(b=b||x);if(b.protocol==="blob:")E=new w(unescape(b.pathname),{});else if(T==="string")for(_ in E=new w(b,{}),d)delete E[_];else if(T==="object"){for(_ in b)_ in d||(E[_]=b[_]);E.slashes===void 0&&(E.slashes=a.test(b.href))}return E}function p(b){return b==="file:"||b==="ftp:"||b==="http:"||b==="https:"||b==="ws:"||b==="wss:"}function y(b,_){b=(b=f(b)).replace(o,""),_=_||{};var x,E=l.exec(b),T=E[1]?E[1].toLowerCase():"",P=!!E[2],R=!!E[3],C=0;return P?R?(x=E[2]+E[3]+E[4],C=E[2].length+E[3].length):(x=E[2]+E[4],C=E[2].length):R?(x=E[3]+E[4],C=E[3].length):x=E[4],T==="file:"?C>=2&&(x=x.slice(2)):p(T)?x=E[4]:T?P&&(x=x.slice(2)):C>=2&&p(_.protocol)&&(x=E[4]),{protocol:T,slashes:P||p(T),slashesCount:C,rest:x}}function w(b,_,x){if(b=(b=f(b)).replace(o,""),!(this instanceof w))return new w(b,_,x);var E,T,P,R,C,M,W=h.slice(),U=typeof _,L=this,K=0;for(U!=="object"&&U!=="string"&&(x=_,_=null),x&&typeof x!="function"&&(x=i.parse),E=!(T=y(b||"",_=g(_))).protocol&&!T.slashes,L.slashes=T.slashes||E&&_.slashes,L.protocol=T.protocol||_.protocol||"",b=T.rest,(T.protocol==="file:"&&(T.slashesCount!==2||c.test(b))||!T.slashes&&(T.protocol||T.slashesCount<2||!p(L.protocol)))&&(W[3]=[/(.*)/,"pathname"]);K{},805:()=>{},829:e=>{function t(l){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},t(l)}function n(l){var c=typeof Map=="function"?new Map:void 0;return n=function(f){if(f===null||(h=f,Function.toString.call(h).indexOf("[native code]")===-1))return f;var h;if(typeof f!="function")throw new TypeError("Super expression must either be null or a function");if(c!==void 0){if(c.has(f))return c.get(f);c.set(f,d)}function d(){return r(f,arguments,s(this).constructor)}return d.prototype=Object.create(f.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),i(d,f)},n(l)}function r(l,c,f){return r=(function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch{return!1}})()?Reflect.construct:function(h,d,g){var p=[null];p.push.apply(p,d);var y=new(Function.bind.apply(h,p));return g&&i(y,g.prototype),y},r.apply(null,arguments)}function i(l,c){return i=Object.setPrototypeOf||function(f,h){return f.__proto__=h,f},i(l,c)}function s(l){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(c){return c.__proto__||Object.getPrototypeOf(c)},s(l)}var o=(function(l){function c(f){var h;return(function(d,g){if(!(d instanceof g))throw new TypeError("Cannot call a class as a function")})(this,c),(h=(function(d,g){return!g||t(g)!=="object"&&typeof g!="function"?(function(p){if(p===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p})(d):g})(this,s(c).call(this,f))).name="ObjectPrototypeMutationError",h}return(function(f,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(h&&h.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),h&&i(f,h)})(c,l),c})(n(Error));function a(l,c){for(var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},h=c.split("."),d=h.length,g=function(w){var b=h[w];if(!l)return{v:void 0};if(b==="+"){if(Array.isArray(l))return{v:l.map((function(x,E){var T=h.slice(w+1);return T.length>0?a(x,T.join("."),f):f(l,E,h,w)}))};var _=h.slice(0,w).join(".");throw new Error("Object at wildcard (".concat(_,") is not an array"))}l=f(l,b,h,w)},p=0;p2&&arguments[2]!==void 0?arguments[2]:{};if(t(l)!="object"||l===null||c===void 0)return!1;if(typeof c=="number")return c in l;try{var h=!1;return a(l,c,(function(d,g,p,y){if(!u(p,y))return d&&d[g];h=f.own?d.hasOwnProperty(g):g in d})),h}catch{return!1}},hasOwn:function(l,c,f){return this.has(l,c,f||{own:!0})},isIn:function(l,c,f){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(t(l)!="object"||l===null||c===void 0)return!1;try{var d=!1,g=!1;return a(l,c,(function(p,y,w,b){return d=d||p===f||!!p&&p[y]===f,g=u(w,b)&&t(p)==="object"&&y in p,p&&p[y]})),h.validPath?d&&g:d}catch{return!1}},ObjectPrototypeMutationError:o}}},Kh={};function Ve(e){var t=Kh[e];if(t!==void 0)return t.exports;var n=Kh[e]={id:e,loaded:!1,exports:{}};return rT[e].call(n.exports,n,n.exports,Ve),n.loaded=!0,n.exports}Ve.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return Ve.d(t,{a:t}),t},Ve.d=(e,t)=>{for(var n in t)Ve.o(t,n)&&!Ve.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},Ve.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Ve.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var iT=Ve(737),sT=Ve.n(iT);function Pc(e){if(!Lu(e))throw new Error("Parameter was not an error")}function Lu(e){return!!e&&typeof e=="object"&&(t=e,Object.prototype.toString.call(t)==="[object Error]")||e instanceof Error;var t}class Ft extends Error{constructor(t,n){const r=[...arguments],{options:i,shortMessage:s}=(function(a){let u,l="";if(a.length===0)u={};else if(Lu(a[0]))u={cause:a[0]},l=a.slice(1).join(" ")||"";else if(a[0]&&typeof a[0]=="object")u=Object.assign({},a[0]),l=a.slice(1).join(" ")||"";else{if(typeof a[0]!="string")throw new Error("Invalid arguments passed to Layerr");u={},l=l=a.join(" ")||""}return{options:u,shortMessage:l}})(r);let o=s;if(i.cause&&(o=`${o}: ${i.cause.message}`),super(o),this.message=o,i.name&&typeof i.name=="string"?this.name=i.name:this.name="Layerr",i.cause&&Object.defineProperty(this,"_cause",{value:i.cause}),Object.defineProperty(this,"_info",{value:{}}),i.info&&typeof i.info=="object"&&Object.assign(this._info,i.info),Error.captureStackTrace){const a=i.constructorOpt||this.constructor;Error.captureStackTrace(this,a)}}static cause(t){return Pc(t),t._cause&&Lu(t._cause)?t._cause:null}static fullStack(t){Pc(t);const n=Ft.cause(t);return n?`${t.stack} +caused by: ${Ft.fullStack(n)}`:t.stack??""}static info(t){Pc(t);const n={},r=Ft.cause(t);return r&&Object.assign(n,Ft.info(r)),t._info&&Object.assign(n,t._info),n}toString(){let t=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(t=`${t}: ${this.message}`),t}}var oT=Ve(47),da=Ve.n(oT);const Gh="__PATH_SEPARATOR_POSIX__",Jh="__PATH_SEPARATOR_WINDOWS__";function Qe(e){try{const t=e.replace(/\//g,Gh).replace(/\\\\/g,Jh);return encodeURIComponent(t).split(Jh).join("\\\\").split(Gh).join("/")}catch(t){throw new Ft(t,"Failed encoding path")}}function Yh(e){return e.startsWith("/")?e:"/"+e}function qs(e){let t=e;return t[0]!=="/"&&(t="/"+t),/^.+\/$/.test(t)&&(t=t.substr(0,t.length-1)),t}function aT(e){let t=new(sT())(e).pathname;return t.length<=0&&(t="/"),qs(t)}function et(){for(var e=arguments.length,t=new Array(e),n=0;n1){var s=r.shift();r[0]=s+r[0]}r[0].match(/^file:\/\/\//)?r[0]=r[0].replace(/^([^/:]+):\/*/,"$1:///"):r[0]=r[0].replace(/^([^/:]+):\/*/,"$1://");for(var o=0;o0&&(a=a.replace(/^[\/]+/,"")),a=o0?"?":"")+l.join("&")})(typeof arguments[0]=="object"?arguments[0]:[].slice.call(arguments))})(t.reduce(((r,i,s)=>((s===0||i!=="/"||i==="/"&&r[r.length-1]!=="/")&&r.push(i),r)),[]))}var cT=Ve(542),us=Ve.n(cT);function Xh(e,t){const n=e.url.replace("//",""),r=n.indexOf("/")==-1?"/":n.slice(n.indexOf("/")),i=e.method?e.method.toUpperCase():"GET",s=!!/(^|,)\s*auth\s*($|,)/.test(t.qop)&&"auth",o=`00000000${t.nc}`.slice(-8),a=(function(h,d,g,p,y,w,b){const _=b||us()(`${d}:${g}:${p}`);return h&&h.toLowerCase()==="md5-sess"?us()(`${_}:${y}:${w}`):_})(t.algorithm,t.username,t.realm,t.password,t.nonce,t.cnonce,t.ha1),u=us()(`${i}:${r}`),l=s?us()(`${a}:${t.nonce}:${o}:${t.cnonce}:${s}:${u}`):us()(`${a}:${t.nonce}:${u}`),c={username:t.username,realm:t.realm,nonce:t.nonce,uri:r,qop:s,response:l,nc:o,cnonce:t.cnonce,algorithm:t.algorithm,opaque:t.opaque},f=[];for(const h in c)c[h]&&(h==="qop"||h==="nc"||h==="algorithm"?f.push(`${h}=${c[h]}`):f.push(`${h}="${c[h]}"`));return`Digest ${f.join(", ")}`}function Cv(e){return(e.headers&&e.headers.get("www-authenticate")||"").split(/\s/)[0].toLowerCase()==="digest"}var uT=Ve(101),kv=Ve.n(uT);function Qh(e){return kv().decode(e)}function ed(e,t){var n;return`Basic ${n=`${e}:${t}`,kv().encode(n)}`}const td=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:typeof window<"u"?window:globalThis,lT=td.fetch.bind(td);let Gt=(function(e){return e.Auto="auto",e.Digest="digest",e.None="none",e.Password="password",e.Token="token",e})({}),kr=(function(e){return e.DataTypeNoLength="data-type-no-length",e.InvalidAuthType="invalid-auth-type",e.InvalidOutputFormat="invalid-output-format",e.LinkUnsupportedAuthType="link-unsupported-auth",e.InvalidUpdateRange="invalid-update-range",e.NotSupported="not-supported",e})({});function Pv(e,t,n,r,i){switch(e.authType){case Gt.Auto:t&&n&&(e.headers.Authorization=ed(t,n));break;case Gt.Digest:e.digest=(function(o,a,u){return{username:o,password:a,ha1:u,nc:0,algorithm:"md5",hasDigestAuth:!1}})(t,n,i);break;case Gt.None:break;case Gt.Password:e.headers.Authorization=ed(t,n);break;case Gt.Token:e.headers.Authorization=`${(s=r).token_type} ${s.access_token}`;break;default:throw new Ft({info:{code:kr.InvalidAuthType}},`Invalid auth type: ${e.authType}`)}var s}Ve(345),Ve(800);const nd="@@HOTPATCHER",fT=()=>{};function Ic(e){return{original:e,methods:[e],final:!1}}let hT=class{constructor(){this._configuration={registry:{},getEmptyAction:"null"},this.__type__=nd}get configuration(){return this._configuration}get getEmptyAction(){return this.configuration.getEmptyAction}set getEmptyAction(t){this.configuration.getEmptyAction=t}control(t){let n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];if(!t||t.__type__!==nd)throw new Error("Failed taking control of target HotPatcher instance: Invalid type or object");return Object.keys(t.configuration.registry).forEach((r=>{this.configuration.registry.hasOwnProperty(r)?n&&(this.configuration.registry[r]=Object.assign({},t.configuration.registry[r])):this.configuration.registry[r]=Object.assign({},t.configuration.registry[r])})),t._configuration=this.configuration,this}execute(t){const n=this.get(t)||fT;for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s0;)l=[i.shift().apply(c,l)];return l[0]}})(...n.methods)}isPatched(t){return!!this.configuration.registry[t]}patch(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{chain:i=!1}=r;if(this.configuration.registry[t]&&this.configuration.registry[t].final)throw new Error(`Failed patching '${t}': Method marked as being final`);if(typeof n!="function")throw new Error(`Failed patching '${t}': Provided method is not a function`);if(i)this.configuration.registry[t]?this.configuration.registry[t].methods.push(n):this.configuration.registry[t]=Ic(n);else if(this.isPatched(t)){const{original:s}=this.configuration.registry[t];this.configuration.registry[t]=Object.assign(Ic(n),{original:s})}else this.configuration.registry[t]=Ic(n);return this}patchInline(t,n){this.isPatched(t)||this.patch(t,n);for(var r=arguments.length,i=new Array(r>2?r-2:0),s=2;s1?n-1:0),i=1;i{this.patch(t,s,{chain:!0})})),this}restore(t){if(!this.isPatched(t))throw new Error(`Failed restoring method: No method present for key: ${t}`);if(typeof this.configuration.registry[t].original!="function")throw new Error(`Failed restoring method: Original method not found or of invalid type for key: ${t}`);return this.configuration.registry[t].methods=[this.configuration.registry[t].original],this}setFinal(t){if(!this.configuration.registry.hasOwnProperty(t))throw new Error(`Failed marking '${t}' as final: No method found for key`);return this.configuration.registry[t].final=!0,this}},Nc=null;function dT(){return Nc||(Nc=new hT),Nc}function pa(e){return(function(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!="[object Object]")return!1;if(Object.getPrototypeOf(t)===null)return!0;let n=t;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n})(e)?Object.assign({},e):Object.setPrototypeOf(Object.assign({},e),Object.getPrototypeOf(e))}function rd(){for(var e=arguments.length,t=new Array(e),n=0;n0;){const s=i.shift();r=r?Iv(r,s):pa(s)}return r}function Iv(e,t){const n=pa(e);return Object.keys(t).forEach((r=>{n.hasOwnProperty(r)?Array.isArray(t[r])?n[r]=Array.isArray(n[r])?[...n[r],...t[r]]:[...t[r]]:typeof t[r]=="object"&&t[r]?n[r]=typeof n[r]=="object"&&n[r]?Iv(n[r],t[r]):pa(t[r]):n[r]=t[r]:n[r]=t[r]})),n}function pT(e){const t={};for(const n of e.keys())t[n]=e.get(n);return t}function ju(){for(var e=arguments.length,t=new Array(e),n=0;n(Object.keys(s).forEach((o=>{const a=o.toLowerCase();r.hasOwnProperty(a)?i[r[a]]=s[o]:(r[a]=o,i[o]=s[o])})),i)),{})}Ve(805);const gT=typeof ArrayBuffer=="function",{toString:mT}=Object.prototype;function Nv(e){return gT&&(e instanceof ArrayBuffer||mT.call(e)==="[object ArrayBuffer]")}function Rv(e){return e!=null&&e.constructor!=null&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function ql(e){return function(){for(var t=[],n=0;nt.patchInline("fetch",lT,n.url,(function(r){let i={};const s={method:r.method};if(r.headers&&(i=ju(i,r.headers)),r.data!==void 0){const[o,a]=(function(u){if(typeof u=="string")return[u,{}];if(Rv(u))return[u,{}];if(Nv(u))return[u,{}];if(u&&typeof u=="object")return[JSON.stringify(u),{"content-type":"application/json"}];throw new Error("Unable to convert request body: Unexpected body type: "+typeof u)})(r.data);s.body=o,i=ju(i,a)}return r.signal&&(s.signal=r.signal),r.withCredentials&&(s.credentials="include"),s.headers=i,s})(n))),e)}var yT=Ve(285);const ma=e=>{if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")},_T={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},ls=e=>e.replace(/[[\]\\-]/g,"\\$&"),id=e=>e.join(""),bT=(e,t)=>{const n=t;if(e.charAt(n)!=="[")throw new Error("not in a brace expression");const r=[],i=[];let s=n+1,o=!1,a=!1,u=!1,l=!1,c=n,f="";e:for(;sf?r.push(ls(f)+"-"+ls(p)):p===f&&r.push(ls(p)),f="",s++):e.startsWith("-]",s+1)?(r.push(ls(p+"-")),s+=2):e.startsWith("-",s+1)?(f=p,s+=2):(r.push(ls(p)),s++)}else u=!0,s++}else l=!0,s++}if(c1&&arguments[1]!==void 0?arguments[1]:{};return t?e.replace(/\[([^\/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")},wT=new Set(["!","?","+","*","@"]),sd=e=>wT.has(e),Rc="(?!\\.)",xT=new Set(["[","."]),ST=new Set(["..","."]),ET=new Set("().*{}+?[]^$\\!"),Kl="[^/]",od=Kl+"*?",ad=Kl+"+?";class Dt{type;#n;#r;#s=!1;#e=[];#t;#o;#c;#a=!1;#i;#u;#f=!1;constructor(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.type=t,t&&(this.#r=!0),this.#t=n,this.#n=this.#t?this.#t.#n:this,this.#i=this.#n===this?r:this.#n.#i,this.#c=this.#n===this?[]:this.#n.#c,t!=="!"||this.#n.#a||this.#c.push(this),this.#o=this.#t?this.#t.#e.length:0}get hasMagic(){if(this.#r!==void 0)return this.#r;for(const t of this.#e)if(typeof t!="string"&&(t.type||t.hasMagic))return this.#r=!0;return this.#r}toString(){return this.#u!==void 0?this.#u:this.type?this.#u=this.type+"("+this.#e.map((t=>String(t))).join("|")+")":this.#u=this.#e.map((t=>String(t))).join("")}#d(){if(this!==this.#n)throw new Error("should only call on root");if(this.#a)return this;let t;for(this.toString(),this.#a=!0;t=this.#c.pop();){if(t.type!=="!")continue;let n=t,r=n.#t;for(;r;){for(let i=n.#o+1;!r.type&&itypeof n=="string"?n:n.toJSON())):[this.type,...this.#e.map((n=>n.toJSON()))];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#n||this.#n.#a&&this.#t?.type==="!")&&t.push({}),t}isStart(){if(this.#n===this)return!0;if(!this.#t?.isStart())return!1;if(this.#o===0)return!0;const t=this.#t;for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:{};const r=new Dt(null,void 0,n);return Dt.#l(t,r,0,n),r}toMMPattern(){if(this!==this.#n)return this.#n.toMMPattern();const t=this.toString(),[n,r,i,s]=this.toRegExpSource();if(!(i||this.#r||this.#i.nocase&&!this.#i.nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return r;const o=(this.#i.nocase?"i":"")+(s?"u":"");return Object.assign(new RegExp(`^${n}$`,o),{_src:n,_glob:t})}get options(){return this.#i}toRegExpSource(t){const n=t??!!this.#i.dot;if(this.#n===this&&this.#d(),!this.type){const u=this.isStart()&&this.isEnd(),l=this.#e.map((h=>{const[d,g,p,y]=typeof h=="string"?Dt.#p(h,this.#r,u):h.toRegExpSource(t);return this.#r=this.#r||p,this.#s=this.#s||y,d})).join("");let c="";if(this.isStart()&&typeof this.#e[0]=="string"&&(this.#e.length!==1||!ST.has(this.#e[0]))){const h=xT,d=n&&h.has(l.charAt(0))||l.startsWith("\\.")&&h.has(l.charAt(2))||l.startsWith("\\.\\.")&&h.has(l.charAt(4)),g=!n&&!t&&h.has(l.charAt(0));c=d?"(?!(?:^|/)\\.\\.?(?:$|/))":g?Rc:""}let f="";return this.isEnd()&&this.#n.#a&&this.#t?.type==="!"&&(f="(?:$|\\/)"),[c+l+f,Ts(l),this.#r=!!this.#r,this.#s]}const r=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:";let s=this.#h(n);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){const u=this.toString();return this.#e=[u],this.type=null,this.#r=void 0,[u,Ts(this.toString()),!1,!1]}let o=!r||t||n?"":this.#h(!0);o===s&&(o=""),o&&(s=`(?:${s})(?:${o})*?`);let a="";return a=this.type==="!"&&this.#f?(this.isStart()&&!n?Rc:"")+ad:i+s+(this.type==="!"?"))"+(!this.isStart()||n||t?"":Rc)+od+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&o?")":this.type==="*"&&o?")?":`)${this.type}`),[a,Ts(s),this.#r=!!this.#r,this.#s]}#h(t){return this.#e.map((n=>{if(typeof n=="string")throw new Error("string type in extglob ast??");const[r,i,s,o]=n.toRegExpSource(t);return this.#s=this.#s||o,r})).filter((n=>!(this.isStart()&&this.isEnd()&&!n))).join("|")}static#p(t,n){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],i=!1,s="",o=!1;for(let a=0;a2&&arguments[2]!==void 0?arguments[2]:{};return ma(t),!(!n.nocomment&&t.charAt(0)==="#")&&new va(t,n).match(e)},TT=/^\*+([^+@!?\*\[\(]*)$/,AT=e=>t=>!t.startsWith(".")&&t.endsWith(e),OT=e=>t=>t.endsWith(e),CT=e=>(e=e.toLowerCase(),t=>!t.startsWith(".")&&t.toLowerCase().endsWith(e)),kT=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),PT=/^\*+\.\*+$/,IT=e=>!e.startsWith(".")&&e.includes("."),NT=e=>e!=="."&&e!==".."&&e.includes("."),RT=/^\.\*+$/,$T=e=>e!=="."&&e!==".."&&e.startsWith("."),MT=/^\*+$/,DT=e=>e.length!==0&&!e.startsWith("."),LT=e=>e.length!==0&&e!=="."&&e!=="..",jT=/^\?+([^+@!?\*\[\(]*)?$/,UT=e=>{let[t,n=""]=e;const r=Mv([t]);return n?(n=n.toLowerCase(),i=>r(i)&&i.toLowerCase().endsWith(n)):r},FT=e=>{let[t,n=""]=e;const r=Dv([t]);return n?(n=n.toLowerCase(),i=>r(i)&&i.toLowerCase().endsWith(n)):r},zT=e=>{let[t,n=""]=e;const r=Dv([t]);return n?i=>r(i)&&i.endsWith(n):r},BT=e=>{let[t,n=""]=e;const r=Mv([t]);return n?i=>r(i)&&i.endsWith(n):r},Mv=e=>{let[t]=e;const n=t.length;return r=>r.length===n&&!r.startsWith(".")},Dv=e=>{let[t]=e;const n=t.length;return r=>r.length===n&&r!=="."&&r!==".."},Lv=typeof Ms=="object"&&Ms?typeof kc=="object"&&kc&&kc.__MINIMATCH_TESTING_PLATFORM__||Ms.platform:"posix";Pt.sep=Lv==="win32"?"\\":"/";const cn=Symbol("globstar **");Pt.GLOBSTAR=cn,Pt.filter=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return n=>Pt(n,e,t)};const on=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.assign({},e,t)};Pt.defaults=e=>{if(!e||typeof e!="object"||!Object.keys(e).length)return Pt;const t=Pt;return Object.assign((function(n,r){return t(n,r,on(e,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))}),{Minimatch:class extends t.Minimatch{constructor(n){super(n,on(e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}))}static defaults(n){return t.defaults(on(e,n)).Minimatch}},AST:class extends t.AST{constructor(n,r){super(n,r,on(e,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{}))}static fromGlob(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.AST.fromGlob(n,on(e,r))}},unescape:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.unescape(n,on(e,r))},escape:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.escape(n,on(e,r))},filter:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.filter(n,on(e,r))},defaults:n=>t.defaults(on(e,n)),makeRe:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.makeRe(n,on(e,r))},braceExpand:function(n){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t.braceExpand(n,on(e,r))},match:function(n,r){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return t.match(n,r,on(e,i))},sep:t.sep,GLOBSTAR:cn})};const jv=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ma(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:yT(e)};Pt.braceExpand=jv,Pt.makeRe=function(e){return new va(e,arguments.length>1&&arguments[1]!==void 0?arguments[1]:{}).makeRe()},Pt.match=function(e,t){const n=new va(t,arguments.length>2&&arguments[2]!==void 0?arguments[2]:{});return e=e.filter((r=>n.match(r))),n.options.nonull&&!e.length&&e.push(t),e};const cd=/[?*]|[+@!]\(.*?\)|\[|\]/;class va{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ma(t),n=n||{},this.options=n,this.pattern=t,this.platform=n.platform||Lv,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!n.windowsPathsNoEscape||n.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!n.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!n.nonegate,this.comment=!1,this.empty=!1,this.partial=!!n.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=n.windowsNoMagicRoot!==void 0?n.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const n of t)if(typeof n!="string")return!0;return!1}debug(){}make(){const t=this.pattern,n=this.options;if(!n.nocomment&&t.charAt(0)==="#")return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],n.debug&&(this.debug=function(){return console.error(...arguments)}),this.debug(this.pattern,this.globSet);const r=this.globSet.map((s=>this.slashSplit(s)));this.globParts=this.preprocess(r),this.debug(this.pattern,this.globParts);let i=this.globParts.map(((s,o,a)=>{if(this.isWindows&&this.windowsNoMagicRoot){const u=!(s[0]!==""||s[1]!==""||s[2]!=="?"&&cd.test(s[2])||cd.test(s[3])),l=/^[a-z]:/i.test(s[0]);if(u)return[...s.slice(0,4),...s.slice(4).map((c=>this.parse(c)))];if(l)return[s[0],...s.slice(1).map((c=>this.parse(c)))]}return s.map((u=>this.parse(u)))}));if(this.debug(this.pattern,i),this.set=i.filter((s=>s.indexOf(!1)===-1)),this.isWindows)for(let s=0;s=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=n>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((n=>{let r=-1;for(;(r=n.indexOf("**",r+1))!==-1;){let i=r;for(;n[i+1]==="**";)i++;i!==r&&n.splice(r,i-r)}return n}))}levelOneOptimize(t){return t.map((n=>(n=n.reduce(((r,i)=>{const s=r[r.length-1];return i==="**"&&s==="**"?r:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(r.pop(),r):(r.push(i),r)}),[])).length===0?[""]:n))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let n=!1;do{if(n=!1,!this.preserveMultipleSlashes){for(let i=1;ii&&r.splice(i+1,o-i);let a=r[i+1];const u=r[i+2],l=r[i+3];if(a!==".."||!u||u==="."||u===".."||!l||l==="."||l==="..")continue;n=!0,r.splice(i,1);const c=r.slice(0);c[i]="**",t.push(c),i--}if(!this.preserveMultipleSlashes){for(let o=1;on.length))}partsMatch(t,n){let r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],i=0,s=0,o=[],a="";for(;i2&&arguments[2]!==void 0&&arguments[2];const i=this.options;if(this.isWindows){const p=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),y=!p&&t[0]===""&&t[1]===""&&t[2]==="?"&&/^[a-z]:$/i.test(t[3]),w=typeof n[0]=="string"&&/^[a-z]:$/i.test(n[0]),b=y?3:p?0:void 0,_=!w&&n[0]===""&&n[1]===""&&n[2]==="?"&&typeof n[3]=="string"&&/^[a-z]:$/i.test(n[3])?3:w?0:void 0;if(typeof b=="number"&&typeof _=="number"){const[x,E]=[t[b],n[_]];x.toLowerCase()===E.toLowerCase()&&(n[_]=x,_>b?n=n.slice(_):b>_&&(t=t.slice(b)))}}const{optimizationLevel:s=1}=this.options;s>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:n}),this.debug("matchOne",t.length,n.length);for(var o=0,a=0,u=t.length,l=n.length;o>> no match, partial?`,t,h,n,d),h!==u))}let p;if(typeof c=="string"?(p=f===c,this.debug("string match",c,f,p)):(p=c.test(f),this.debug("pattern match",c,f,p)),!p)return!1}if(o===u&&a===l)return!0;if(o===u)return r;if(a===l)return o===u-1&&t[o]==="";throw new Error("wtf?")}braceExpand(){return jv(this.pattern,this.options)}parse(t){ma(t);const n=this.options;if(t==="**")return cn;if(t==="")return"";let r,i=null;(r=t.match(MT))?i=n.dot?LT:DT:(r=t.match(TT))?i=(n.nocase?n.dot?kT:CT:n.dot?OT:AT)(r[1]):(r=t.match(jT))?i=(n.nocase?n.dot?FT:UT:n.dot?zT:BT)(r):(r=t.match(PT))?i=n.dot?NT:IT:(r=t.match(RT))&&(i=$T);const s=Dt.fromGlob(t,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const n=this.options,r=n.noglobstar?"[^/]*?":n.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=new Set(n.nocase?["i"]:[]);let s=t.map((u=>{const l=u.map((c=>{if(c instanceof RegExp)for(const f of c.flags.split(""))i.add(f);return typeof c=="string"?c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):c===cn?cn:c._src}));return l.forEach(((c,f)=>{const h=l[f+1],d=l[f-1];c===cn&&d!==cn&&(d===void 0?h!==void 0&&h!==cn?l[f+1]="(?:\\/|"+r+"\\/)?"+h:l[f]=r:h===void 0?l[f-1]=d+"(?:\\/|"+r+")?":h!==cn&&(l[f-1]=d+"(?:\\/|\\/"+r+"\\/)"+h,l[f+1]=cn))})),l.filter((c=>c!==cn)).join("/")})).join("|");const[o,a]=t.length>1?["(?:",")"]:["",""];s="^"+o+s+a+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.partial;if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&n)return!0;const r=this.options;this.isWindows&&(t=t.split("\\").join("/"));const i=this.slashSplit(t);this.debug(this.pattern,"split",i);const s=this.set;this.debug(this.pattern,"set",s);let o=i[i.length-1];if(!o)for(let a=i.length-2;!o&&a>=0;a--)o=i[a];for(let a=0;a1&&arguments[1]!==void 0?arguments[1]:""}Invalid response: ${e.status} ${e.statusText}`);return t.status=e.status,t.response=e,t}function vt(e,t){const{status:n}=t;if(n===401&&e.digest)return t;if(n>=400)throw Gl(t);return t}function Qi(e,t){return arguments.length>2&&arguments[2]!==void 0&&arguments[2]?{data:t,headers:e.headers?pT(e.headers):{},status:e.status,statusText:e.statusText}:t}Pt.AST=Dt,Pt.Minimatch=va,Pt.escape=function(e){let{windowsPathsNoEscape:t=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&")},Pt.unescape=Ts;const HT=(ud=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=mt({url:et(e.remoteURL,Qe(t)),method:"COPY",headers:{Destination:et(e.remoteURL,Qe(n)),Overwrite:r.overwrite===!1?"F":"T",Depth:r.shallow?"0":"infinity"}},e,r);return o=function(a){vt(e,a)},(s=gt(i,e))&&s.then||(s=Promise.resolve(s)),o?s.then(o):s;var s,o},function(){for(var e=[],t=0;t!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e},captureMetaData:!1},ld=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",WT=new RegExp("^["+ld+"]["+ld+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function Uv(e,t){const n=[];let r=t.exec(e);for(;r;){const i=[];i.startIndex=t.lastIndex-r[0].length;const s=r.length;for(let o=0;o0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child}),n!==void 0&&(this.child[this.child.length-1][Fu]={startIndex:n})}static getMetaDataSymbol(){return Fu}},ZT=class{constructor(t){this.suppressValidationErr=!t}readDocType(t,n){const r={};if(t[n+3]!=="O"||t[n+4]!=="C"||t[n+5]!=="T"||t[n+6]!=="Y"||t[n+7]!=="P"||t[n+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{n+=9;let i=1,s=!1,o=!1,a="";for(;n"){if(o?t[n-1]==="-"&&t[n-2]==="-"&&(o=!1,i--):i--,i===0)break}else t[n]==="["?s=!0:a+=t[n];else{if(s&&jr(t,"!ENTITY",n)){let u,l;n+=7,[u,l,n]=this.readEntityExp(t,n+1,this.suppressValidationErr),l.indexOf("&")===-1&&(r[u]={regx:RegExp(`&${u};`,"g"),val:l})}else if(s&&jr(t,"!ELEMENT",n)){n+=8;const{index:u}=this.readElementExp(t,n+1);n=u}else if(s&&jr(t,"!ATTLIST",n))n+=8;else if(s&&jr(t,"!NOTATION",n)){n+=9;const{index:u}=this.readNotationExp(t,n+1,this.suppressValidationErr);n=u}else{if(!jr(t,"!--",n))throw new Error("Invalid DOCTYPE");o=!0}i++,a=""}if(i!==0)throw new Error("Unclosed DOCTYPE")}return{entities:r,i:n}}readEntityExp(t,n){n=Vt(t,n);let r="";for(;n{for(;t{for(const n of e)if(typeof n=="string"&&t===n||n instanceof RegExp&&n.test(t))return!0}:()=>!1}let YT=class{constructor(t){if(this.options=t,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(n,r)=>fd(r,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(n,r)=>fd(r,16,"&#x")}},this.addExternalEntities=XT,this.parseXml=rA,this.parseTextData=QT,this.resolveNameSpace=eA,this.buildAttributesMap=nA,this.isItStopNode=aA,this.replaceEntitiesValue=sA,this.readStopNodeData=cA,this.saveTextToParentTag=oA,this.addChild=iA,this.ignoreAttributesFn=Fv(this.options.ignoreAttributes),this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodesExact=new Set,this.stopNodesWildcard=new Set;for(let n=0;n0)){o||(e=this.replaceEntitiesValue(e));const a=this.options.tagValueProcessor(t,e,n,i,s);return a==null?e:typeof a!=typeof e||a!==e?a:this.options.trimValues||e.trim()===e?zv(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function eA(e){if(this.options.removeNSPrefix){const t=e.split(":"),n=e.charAt(0)==="/"?"/":"";if(t[0]==="xmlns")return"";t.length===2&&(e=n+t[1])}return e}const tA=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function nA(e,t){if(this.options.ignoreAttributes!==!0&&typeof e=="string"){const n=Uv(e,tA),r=n.length,i={};for(let s=0;s",o,"Closing Tag is not closed.");let u=e.substring(o+2,a).trim();if(this.options.removeNSPrefix){const f=u.indexOf(":");f!==-1&&(u=u.substr(f+1))}this.options.transformTagName&&(u=this.options.transformTagName(u)),n&&(r=this.saveTextToParentTag(r,n,i));const l=i.substring(i.lastIndexOf(".")+1);if(u&&this.options.unpairedTags.indexOf(u)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let c=0;l&&this.options.unpairedTags.indexOf(l)!==-1?(c=i.lastIndexOf(".",i.lastIndexOf(".")-1),this.tagsNodeStack.pop()):c=i.lastIndexOf("."),i=i.substring(0,c),n=this.tagsNodeStack.pop(),r="",o=a}else if(e[o+1]==="?"){let a=zu(e,o,!1,"?>");if(!a)throw new Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,n,i),!(this.options.ignoreDeclaration&&a.tagName==="?xml"||this.options.ignorePiTags)){const u=new zr(a.tagName);u.add(this.options.textNodeName,""),a.tagName!==a.tagExp&&a.attrExpPresent&&(u[":@"]=this.buildAttributesMap(a.tagExp,i)),this.addChild(n,u,i,o)}o=a.closeIndex+1}else if(e.substr(o+1,3)==="!--"){const a=Hr(e,"-->",o+4,"Comment is not closed.");if(this.options.commentPropName){const u=e.substring(o+4,a-2);r=this.saveTextToParentTag(r,n,i),n.add(this.options.commentPropName,[{[this.options.textNodeName]:u}])}o=a}else if(e.substr(o+1,2)==="!D"){const a=s.readDocType(e,o);this.docTypeEntities=a.entities,o=a.i}else if(e.substr(o+1,2)==="!["){const a=Hr(e,"]]>",o,"CDATA is not closed.")-2,u=e.substring(o+9,a);r=this.saveTextToParentTag(r,n,i);let l=this.parseTextData(u,n.tagname,i,!0,!1,!0,!0);l==null&&(l=""),this.options.cdataPropName?n.add(this.options.cdataPropName,[{[this.options.textNodeName]:u}]):n.add(this.options.textNodeName,l),o=a+2}else{let a=zu(e,o,this.options.removeNSPrefix),u=a.tagName;const l=a.rawTagName;let c=a.tagExp,f=a.attrExpPresent,h=a.closeIndex;if(this.options.transformTagName){const p=this.options.transformTagName(u);c===u&&(c=p),u=p}n&&r&&n.tagname!=="!xml"&&(r=this.saveTextToParentTag(r,n,i,!1));const d=n;d&&this.options.unpairedTags.indexOf(d.tagname)!==-1&&(n=this.tagsNodeStack.pop(),i=i.substring(0,i.lastIndexOf("."))),u!==t.tagname&&(i+=i?"."+u:u);const g=o;if(this.isItStopNode(this.stopNodesExact,this.stopNodesWildcard,i,u)){let p="";if(c.length>0&&c.lastIndexOf("/")===c.length-1)u[u.length-1]==="/"?(u=u.substr(0,u.length-1),i=i.substr(0,i.length-1),c=u):c=c.substr(0,c.length-1),o=a.closeIndex;else if(this.options.unpairedTags.indexOf(u)!==-1)o=a.closeIndex;else{const w=this.readStopNodeData(e,l,h+1);if(!w)throw new Error(`Unexpected end of ${l}`);o=w.i,p=w.tagContent}const y=new zr(u);u!==c&&f&&(y[":@"]=this.buildAttributesMap(c,i)),p&&(p=this.parseTextData(p,u,i,!0,f,!0,!0)),i=i.substr(0,i.lastIndexOf(".")),y.add(this.options.textNodeName,p),this.addChild(n,y,i,g)}else{if(c.length>0&&c.lastIndexOf("/")===c.length-1){if(u[u.length-1]==="/"?(u=u.substr(0,u.length-1),i=i.substr(0,i.length-1),c=u):c=c.substr(0,c.length-1),this.options.transformTagName){const y=this.options.transformTagName(u);c===u&&(c=y),u=y}const p=new zr(u);u!==c&&f&&(p[":@"]=this.buildAttributesMap(c,i)),this.addChild(n,p,i,g),i=i.substr(0,i.lastIndexOf("."))}else{const p=new zr(u);this.tagsNodeStack.push(n),u!==c&&f&&(p[":@"]=this.buildAttributesMap(c,i)),this.addChild(n,p,i,g),n=p}r="",o=h}}else r+=e[o];return t.child};function iA(e,t,n,r){this.options.captureMetaData||(r=void 0);const i=this.options.updateTag(t.tagname,n,t[":@"]);i===!1||(typeof i=="string"&&(t.tagname=i),e.addChild(t,r))}const sA=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const n=this.docTypeEntities[t];e=e.replace(n.regx,n.val)}for(let t in this.lastEntities){const n=this.lastEntities[t];e=e.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const n=this.htmlEntities[t];e=e.replace(n.regex,n.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function oA(e,t,n,r){return e&&(r===void 0&&(r=t.child.length===0),(e=this.parseTextData(e,t.tagname,n,!1,!!t[":@"]&&Object.keys(t[":@"]).length!==0,r))!==void 0&&e!==""&&t.add(this.options.textNodeName,e),e=""),e}function aA(e,t,n,r){return!(!t||!t.has(r))||!(!e||!e.has(n))}function Hr(e,t,n,r){const i=e.indexOf(t,n);if(i===-1)throw new Error(r);return i+t.length-1}function zu(e,t,n){const r=(function(c,f){let h,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:">",g="";for(let p=f;p3&&arguments[3]!==void 0?arguments[3]:">");if(!r)return;let i=r.data;const s=r.index,o=i.search(/\s/);let a=i,u=!0;o!==-1&&(a=i.substring(0,o),i=i.substring(o+1).trimStart());const l=a;if(n){const c=a.indexOf(":");c!==-1&&(a=a.substr(c+1),u=a!==r.data.substr(c+1))}return{tagName:a,tagExp:i,closeIndex:s,attrExpPresent:u,rawTagName:l}}function cA(e,t,n){const r=n;let i=1;for(;n",n,`${t} is not closed`);if(e.substring(n+2,s).trim()===t&&(i--,i===0))return{tagContent:e.substring(r,n),i:s};n=s}else if(e[n+1]==="?")n=Hr(e,"?>",n+1,"StopNode is not closed.");else if(e.substr(n+1,3)==="!--")n=Hr(e,"-->",n+3,"StopNode is not closed.");else if(e.substr(n+1,2)==="![")n=Hr(e,"]]>",n,"StopNode is not closed.")-2;else{const s=zu(e,n,">");s&&((s&&s.tagName)===t&&s.tagExp[s.tagExp.length-1]!=="/"&&i++,n=s.closeIndex)}}function zv(e,t,n){if(t&&typeof e=="string"){const r=e.trim();return r==="true"||r!=="false"&&(function(i){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(s=Object.assign({},GT,s),!i||typeof i!="string")return i;let o=i.trim();if(s.skipLike!==void 0&&s.skipLike.test(o))return i;if(i==="0")return 0;if(s.hex&&qT.test(o))return(function(u){if(parseInt)return parseInt(u,16);if(Number.parseInt)return Number.parseInt(u,16);if(window&&window.parseInt)return window.parseInt(u,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")})(o);if(o.includes("e")||o.includes("E"))return(function(u,l,c){if(!c.eNotation)return u;const f=l.match(JT);if(f){let h=f[1]||"";const d=f[3].indexOf("e")===-1?"E":"e",g=f[2],p=h?u[g.length+1]===d:u[g.length]===d;return g.length>1&&p?u:g.length!==1||!f[3].startsWith(`.${d}`)&&f[3][0]!==d?c.leadingZeros&&!p?(l=(f[1]||"")+f[3],Number(l)):u:Number(l)}return u})(i,o,s);{const u=KT.exec(o);if(u){const l=u[1]||"",c=u[2];let f=((a=u[3])&&a.indexOf(".")!==-1&&((a=a.replace(/0+$/,""))==="."?a="0":a[0]==="."?a="0"+a:a[a.length-1]==="."&&(a=a.substring(0,a.length-1))),a);const h=l?i[c.length+1]===".":i[c.length]===".";if(!s.leadingZeros&&(c.length>1||c.length===1&&!h))return i;{const d=Number(o),g=String(d);if(d===0)return d;if(g.search(/[eE]/)!==-1)return s.eNotation?d:i;if(o.indexOf(".")!==-1)return g==="0"||g===f||g===`${l}${f}`?d:i;let p=c?f:o;return c?p===g||l+p===g?d:i:p===g||p===l+g?d:i}}return i}var a})(e,n)}return e!==void 0?e:""}function fd(e,t,n){const r=Number.parseInt(e,t);return r>=0&&r<=1114111?String.fromCodePoint(r):n+e+";"}const $c=zr.getMetaDataSymbol();function uA(e,t){return Bv(e,t)}function Bv(e,t,n){let r;const i={};for(let s=0;s0&&(i[t.textNodeName]=r):r!==void 0&&(i[t.textNodeName]=r),i}function lA(e){const t=Object.keys(e);for(let n=0;n5&&r==="xml")return rt("InvalidXml","XML declaration allowed only at the start of the document.",$t(e,t));if(e[t]=="?"&&e[t+1]==">"){t++;break}}return t}function pd(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t"){t+=2;break}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let n=1;for(t+=8;t"&&(n--,n===0))break}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t"){t+=2;break}}return t}function pA(e,t){let n="",r="",i=!1;for(;t"&&r===""){i=!0;break}n+=e[t]}return r===""&&{value:n,index:t,tagClosed:i}}const gA=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function gd(e,t){const n=Uv(e,gA),r={};for(let i=0;i"&&o[f]!==" "&&o[f]!==" "&&o[f]!==` +`&&o[f]!=="\r";f++)g+=o[f];if(g=g.trim(),g[g.length-1]==="/"&&(g=g.substring(0,g.length-1),f--),!Xa(g)){let w;return w=g.trim().length===0?"Invalid space after '<'.":"Tag '"+g+"' is an invalid name.",rt("InvalidTag",w,$t(o,f))}const p=pA(o,f);if(p===!1)return rt("InvalidAttr","Attributes for '"+g+"' have open quote.",$t(o,f));let y=p.value;if(f=p.index,y[y.length-1]==="/"){const w=f-y.length;y=y.substring(0,y.length-1);const b=gd(y,a);if(b!==!0)return rt(b.err.code,b.err.msg,$t(o,w+b.err.line));l=!0}else if(d){if(!p.tagClosed)return rt("InvalidTag","Closing tag '"+g+"' doesn't have proper closing.",$t(o,f));if(y.trim().length>0)return rt("InvalidTag","Closing tag '"+g+"' can't have attributes or invalid starting.",$t(o,h));if(u.length===0)return rt("InvalidTag","Closing tag '"+g+"' has not been opened.",$t(o,h));{const w=u.pop();if(g!==w.tagName){let b=$t(o,w.tagStartPos);return rt("InvalidTag","Expected closing tag '"+w.tagName+"' (opened in line "+b.line+", col "+b.col+") instead of closing tag '"+g+"'.",$t(o,h))}u.length==0&&(c=!0)}}else{const w=gd(y,a);if(w!==!0)return rt(w.err.code,w.err.msg,$t(o,f-y.length+w.err.line));if(c===!0)return rt("InvalidXml","Multiple possible root nodes found.",$t(o,f));a.unpairedTags.indexOf(g)!==-1||u.push({tagName:g,tagStartPos:h}),l=!0}for(f++;f0)||rt("InvalidXml","Invalid '"+JSON.stringify(u.map((f=>f.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):rt("InvalidXml","Start tag expected.",1)})(t,n);if(s!==!0)throw Error(`${s.err.msg}:${s.err.line}:${s.err.col}`)}const r=new YT(this.options);r.addExternalEntities(this.externalEntities);const i=r.parseXml(t);return this.options.preserveOrder||i===void 0?i:uA(i,this.options)}addEntity(t,n){if(n.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(t.indexOf("&")!==-1||t.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if(n==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[t]=n}static getMetaDataSymbol(){return zr.getMetaDataSymbol()}}var yA=Ve(829),Qn=Ve.n(yA),vi=(function(e){return e.Array="array",e.Object="object",e.Original="original",e})(vi||{});function Vv(e,t){if(!e.endsWith("propstat.prop.displayname"))return t}function Eo(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:vi.Original;const r=Qn().get(e,t);return n==="array"&&Array.isArray(r)===!1?[r]:n==="object"&&Array.isArray(r)?r[0]:r}function Qa(e,t){return t=t??{attributeNamePrefix:"@",attributeParsers:[],tagParsers:[Vv]},new Promise((n=>{n((function(r){const{multistatus:i}=r;if(i==="")return{multistatus:{response:[]}};if(!i)throw new Error("Invalid response: No root multistatus found");const s={multistatus:Array.isArray(i)?i[0]:i};return Qn().set(s,"multistatus.response",Eo(s,"multistatus.response",vi.Array)),Qn().set(s,"multistatus.response",Qn().get(s,"multistatus.response").map((o=>(function(a){const u=Object.assign({},a);return u.status?Qn().set(u,"status",Eo(u,"status",vi.Object)):(Qn().set(u,"propstat",Eo(u,"propstat",vi.Object)),Qn().set(u,"propstat.prop",Eo(u,"propstat.prop",vi.Object))),u})(o)))),s})((function(r){let{attributeNamePrefix:i,attributeParsers:s,tagParsers:o}=r;return new Hv({allowBooleanAttributes:!0,attributeNamePrefix:i,textNodeName:"text",ignoreAttributes:!1,removeNSPrefix:!0,numberParseOptions:{hex:!0,leadingZeros:!1},attributeValueProcessor(a,u,l){for(const c of s)try{const f=c(l,u);if(f!==u)return f}catch{}return u},tagValueProcessor(a,u,l){for(const c of o)try{const f=c(l,u);if(f!==u)return f}catch{}return u}})})(t).parse(e)))}))}function Jl(e,t){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const{getlastmodified:r=null,getcontentlength:i="0",resourcetype:s=null,getcontenttype:o=null,getetag:a=null}=e,u=s&&typeof s=="object"&&s.collection!==void 0?"directory":"file",l={filename:t,basename:da().basename(t),lastmod:r,size:parseInt(i,10),type:u,etag:typeof a=="string"?a.replace(/"/g,""):null};return u==="file"&&(l.mime=o&&typeof o=="string"?o.split(";")[0]:""),n&&(e.displayname!==void 0&&(e.displayname=String(e.displayname)),l.props=e),l}function _A(e,t){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],r=null;try{e.multistatus.response[0].propstat&&(r=e.multistatus.response[0])}catch{}if(!r)throw new Error("Failed getting item stat: bad response");const{propstat:{prop:i,status:s}}=r,[o,a,u]=s.split(" ",3),l=parseInt(a,10);if(l>=400){const c=new Error(`Invalid response: ${l} ${u}`);throw c.status=l,c}return Jl(i,qs(t),n)}function bA(e){switch(String(e)){case"-3":return"unlimited";case"-2":case"-1":return"unknown";default:return parseInt(String(e),10)}}function Mc(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const Yl=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const{details:r=!1}=n,i=mt({url:et(e.remoteURL,Qe(t)),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},e,n);return Mc(gt(i,e),(function(s){return vt(e,s),Mc(s.text(),(function(o){return Mc(Qa(o,e.parsing),(function(a){const u=_A(a,t,r);return Qi(s,u,r)}))}))}))}));function Wv(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const wA=Zv((function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=(function(s){if(!s||s==="/")return[];let o=s;const a=[];do a.push(o),o=da().dirname(o);while(o&&o!=="/");return a})(qs(t));r.sort(((s,o)=>s.length>o.length?1:o.length>s.length?-1:0));let i=!1;return(function(s,o,a){if(typeof s[vd]=="function"){let p=function(y){try{for(;!(u=f.next()).done;)if((y=o(u.value))&&y.then){if(!yd(y))return void y.then(p,c||(c=jt.bind(null,l=new yi,2)));y=y.v}l?jt(l,1,y):l=y}catch(w){jt(l||(l=new yi),2,w)}};var u,l,c,f=s[vd]();if(p(),f.return){var h=function(y){try{u.done||f.return()}catch{}return y};if(l&&l.then)return l.then(h,(function(y){throw h(y)}));h()}return l}if(!("length"in s))throw new TypeError("Object is not iterable");for(var d=[],g=0;g2&&arguments[2]!==void 0?arguments[2]:{};if(n.recursive===!0)return wA(e,t,n);const r=mt({url:et(e.remoteURL,(i=Qe(t),i.endsWith("/")?i:i+"/")),method:"MKCOL"},e,n);var i;return Wv(gt(r,e),(function(s){vt(e,s)}))}));var SA=Ve(388),_d=Ve.n(SA);const EA=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r={};if(typeof n.range=="object"&&typeof n.range.start=="number"){let a=`bytes=${n.range.start}-`;typeof n.range.end=="number"&&(a=`${a}${n.range.end}`),r.Range=a}const i=mt({url:et(e.remoteURL,Qe(t)),method:"GET",headers:r},e,n);return o=function(a){if(vt(e,a),r.Range&&a.status!==206){const u=new Error(`Invalid response code for partial request: ${a.status}`);throw u.status=a.status,u}return n.callback&&setTimeout((()=>{n.callback(a)}),0),a.body},(s=gt(i,e))&&s.then||(s=Promise.resolve(s)),o?s.then(o):s;var s,o})),TA=()=>{},AA=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r=mt({url:et(e.remoteURL,Qe(t)),method:"DELETE"},e,n);return s=function(o){vt(e,o)},(i=gt(r,e))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s})),CA=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};return(function(r,i){try{var s=(o=Yl(e,t,n),a=function(){return!0},u?a?a(o):o:(o&&o.then||(o=Promise.resolve(o)),a?o.then(a):o))}catch(l){return i(l)}var o,a,u;return s&&s.then?s.then(void 0,i):s})(0,(function(r){if(r.status===404)return!1;throw r}))}));function Dc(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const kA=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r=mt({url:et(e.remoteURL,Qe(t),"/"),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:n.deep?"infinity":"1"}},e,n);return Dc(gt(r,e),(function(i){return vt(e,i),Dc(i.text(),(function(s){if(!s)throw new Error("Failed parsing directory contents: Empty response");return Dc(Qa(s,e.parsing),(function(o){const a=Yh(t);let u=(function(l,c,f){let h=arguments.length>3&&arguments[3]!==void 0&&arguments[3],d=arguments.length>4&&arguments[4]!==void 0&&arguments[4];const g=da().join(c,"/"),{multistatus:{response:p}}=l,y=p.map((w=>{const b=(function(x){try{return x.replace(/^https?:\/\/[^\/]+/,"")}catch(E){throw new Ft(E,"Failed normalising HREF")}})(w.href),{propstat:{prop:_}}=w;return Jl(_,g==="/"?decodeURIComponent(qs(b)):qs(da().relative(decodeURIComponent(g),decodeURIComponent(b))),h)}));return d?y:y.filter((w=>w.basename&&(w.type==="file"||w.filename!==f.replace(/\/$/,""))))})(o,Yh(e.remoteBasePath||e.remotePath),a,n.details,n.includeSelf);return n.glob&&(u=(function(l,c){return l.filter((f=>Pt(f.filename,c,{matchBase:!0})))})(u,n.glob)),Qi(i,u,n.details)}))}))}))}));function Xl(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r=mt({url:et(e.remoteURL,Qe(t)),method:"GET",headers:{Accept:"text/plain"},transformResponse:[RA]},e,n);return ya(gt(r,e),(function(i){return vt(e,i),ya(i.text(),(function(s){return Qi(i,s,n.details)}))}))}));function ya(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const IA=Xl((function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=mt({url:et(e.remoteURL,Qe(t)),method:"GET"},e,n);return ya(gt(r,e),(function(i){let s;return vt(e,i),(function(o,a){var u=o();return u&&u.then?u.then(a):a()})((function(){return ya(i.arrayBuffer(),(function(o){s=o}))}),(function(){return Qi(i,s,n.details)}))}))})),NA=Xl((function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{format:r="binary"}=n;if(r!=="binary"&&r!=="text")throw new Ft({info:{code:kr.InvalidOutputFormat}},`Invalid output format: ${r}`);return r==="text"?PA(e,t,n):IA(e,t,n)})),RA=e=>e;function $A(e,t){let n="";return t.format&&t.indentBy.length>0&&(n=` +`),qv(e,t,"",n)}function qv(e,t,n,r){let i="",s=!1;for(let o=0;o`,s=!1;continue}if(u===t.commentPropName){i+=r+``,s=!0;continue}if(u[0]==="?"){const d=bd(a[":@"],t),g=u==="?xml"?"":r;let p=a[u][0][t.textNodeName];p=p.length!==0?" "+p:"",i+=g+`<${u}${p}${d}?>`,s=!0;continue}let c=r;c!==""&&(c+=t.indentBy);const f=r+`<${u}${bd(a[":@"],t)}`,h=qv(a[u],t,l,c);t.unpairedTags.indexOf(u)!==-1?t.suppressUnpairedNode?i+=f+">":i+=f+"/>":h&&h.length!==0||!t.suppressEmptyNode?h&&h.endsWith(">")?i+=f+`>${h}${r}`:(i+=f+">",h&&r!==""&&(h.includes("/>")||h.includes("`):i+=f+"/>",s=!0}return i}function MA(e){const t=Object.keys(e);for(let n=0;n0&&t.processEntities)for(let n=0;n","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function br(e){this.options=Object.assign({},LA,e),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=Fv(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=FA),this.processTextOrObjNode=jA,this.options.format?(this.indentate=UA,this.tagEndChar=`> +`,this.newLine=` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function jA(e,t,n,r){const i=this.j2x(e,n+1,r.concat(t));return e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextValNode(e[this.options.textNodeName],t,i.attrStr,n):this.buildObjectNode(i.val,t,i.attrStr,n)}function UA(e){return this.options.indentBy.repeat(e)}function FA(e){return!(!e.startsWith(this.options.attributeNamePrefix)||e===this.options.textNodeName)&&e.substr(this.attrPrefixLen)}function zA(e){return new br({attributeNamePrefix:"@_",format:!0,ignoreAttributes:!1,suppressEmptyNode:!0}).build(Gv({lockinfo:{"@_xmlns:d":"DAV:",lockscope:{exclusive:{}},locktype:{write:{}},owner:{href:e}}},"d"))}function Gv(e,t){const n={...e};for(const r in n)n.hasOwnProperty(r)&&(n[r]&&typeof n[r]=="object"&&r.indexOf(":")===-1?(n[`${t}:${r}`]=Gv(n[r],t),delete n[r]):/^@_/.test(r)===!1&&(n[`${t}:${r}`]=n[r],delete n[r]));return n}function Hu(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function Jv(e){return function(){for(var t=[],n=0;n1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0,[]).val)},br.prototype.j2x=function(e,t,n){let r="",i="";const s=n.join(".");for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o))if(e[o]===void 0)this.isAttribute(o)&&(i+="");else if(e[o]===null)this.isAttribute(o)||o===this.options.cdataPropName?i+="":o[0]==="?"?i+=this.indentate(t)+"<"+o+"?"+this.tagEndChar:i+=this.indentate(t)+"<"+o+"/"+this.tagEndChar;else if(e[o]instanceof Date)i+=this.buildTextValNode(e[o],o,"",t);else if(typeof e[o]!="object"){const a=this.isAttribute(o);if(a&&!this.ignoreAttributesFn(a,s))r+=this.buildAttrPairStr(a,""+e[o]);else if(!a)if(o===this.options.textNodeName){let u=this.options.tagValueProcessor(o,""+e[o]);i+=this.replaceEntitiesValue(u)}else i+=this.buildTextValNode(e[o],o,"",t)}else if(Array.isArray(e[o])){const a=e[o].length;let u="",l="";for(let c=0;c`+this.newLine:this.indentate(r)+"<"+t+n+s+this.tagEndChar+e+this.indentate(r)+i:this.indentate(r)+"<"+t+n+s+">"+e+i}},br.prototype.closeTag=function(e){let t="";return this.options.unpairedTags.indexOf(e)!==-1?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(this.options.commentPropName!==!1&&t===this.options.commentPropName)return this.indentate(r)+``+this.newLine;if(t[0]==="?")return this.indentate(r)+"<"+t+n+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(t,e);return i=this.replaceEntitiesValue(i),i===""?this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(r)+"<"+t+n+">"+i+"0&&this.options.processEntities)for(let t=0;t3&&arguments[3]!==void 0?arguments[3]:{};const i=mt({url:et(e.remoteURL,Qe(t)),method:"UNLOCK",headers:{"Lock-Token":n}},e,r);return Hu(gt(i,e),(function(s){if(vt(e,s),s.status!==204&&s.status!==200)throw Gl(s)}))})),HA=Jv((function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{refreshToken:r,timeout:i=VA}=n,s={Accept:"text/plain,application/xml",Timeout:i};r&&(s.If=r);const o=mt({url:et(e.remoteURL,Qe(t)),method:"LOCK",headers:s,data:zA(e.contactHref)},e,n);return Hu(gt(o,e),(function(a){return vt(e,a),Hu(a.text(),(function(u){const l=(h=u,new Hv({removeNSPrefix:!0,parseAttributeValue:!0,parseTagValue:!0}).parse(h)),c=Qn().get(l,"prop.lockdiscovery.activelock.locktoken.href"),f=Qn().get(l,"prop.lockdiscovery.activelock.timeout");var h;if(!c)throw Gl(a,"No lock token received: ");return{token:c,serverTimeout:f}}))}))})),VA="Infinite, Second-4100000000";function Lc(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const WA=(function(e){return function(){for(var t=[],n=0;n1&&arguments[1]!==void 0?arguments[1]:{};const n=t.path||"/",r=mt({url:et(e.remoteURL,n),method:"PROPFIND",headers:{Accept:"text/plain,application/xml",Depth:"0"}},e,t);return Lc(gt(r,e),(function(i){return vt(e,i),Lc(i.text(),(function(s){return Lc(Qa(s,e.parsing),(function(o){const a=(function(u){try{const[l]=u.multistatus.response,{propstat:{prop:{"quota-used-bytes":c,"quota-available-bytes":f}}}=l;return c!==void 0&&f!==void 0?{used:parseInt(String(c),10),available:bA(f)}:null}catch{}return null})(o);return Qi(i,a,t.details)}))}))}))}));function jc(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const ZA=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const{details:r=!1}=n,i=mt({url:et(e.remoteURL,Qe(t)),method:"SEARCH",headers:{Accept:"text/plain,application/xml","Content-Type":e.headers["Content-Type"]||"application/xml; charset=utf-8"}},e,n);return jc(gt(i,e),(function(s){return vt(e,s),jc(s.text(),(function(o){return jc(Qa(o,e.parsing),(function(a){const u=(function(l,c,f){const h={truncated:!1,results:[]};return h.truncated=l.multistatus.response.some((d=>(d.status||d.propstat?.status).split(" ",3)?.[1]==="507"&&d.href.replace(/\/$/,"").endsWith(Qe(c).replace(/\/$/,"")))),l.multistatus.response.forEach((d=>{if(d.propstat===void 0)return;const g=d.href.split("/").map(decodeURIComponent).join("/");h.results.push(Jl(d.propstat.prop,g,f))})),h})(a,t,r);return Qi(s,u,r)}))}))}))})),qA=(function(e){return function(){for(var t=[],n=0;n3&&arguments[3]!==void 0?arguments[3]:{};const i=mt({url:et(e.remoteURL,Qe(t)),method:"MOVE",headers:{Destination:et(e.remoteURL,Qe(n)),Overwrite:r.overwrite===!1?"F":"T"}},e,r);return o=function(a){vt(e,a)},(s=gt(i,e))&&s.then||(s=Promise.resolve(s)),o?s.then(o):s;var s,o}));var KA=Ve(172);function GA(e){if(Nv(e))return e.byteLength;if(Rv(e))return e.length;if(typeof e=="string")return(0,KA.d)(e);throw new Ft({info:{code:kr.DataTypeNoLength}},"Cannot calculate data length: Invalid type")}const JA=(function(e){return function(){for(var t=[],n=0;n3&&arguments[3]!==void 0?arguments[3]:{};const{contentLength:i=!0,overwrite:s=!0}=r,o={"Content-Type":"application/octet-stream"};i===!1||(o["Content-Length"]=typeof i=="number"?`${i}`:`${GA(n)}`),s||(o["If-None-Match"]="*");const a=mt({url:et(e.remoteURL,Qe(t)),method:"PUT",headers:o,data:n},e,r);return l=function(c){try{vt(e,c)}catch(f){const h=f;if(h.status!==412||s)throw h;return!1}return!0},(u=gt(a,e))&&u.then||(u=Promise.resolve(u)),l?u.then(l):u;var u,l})),Yv=(function(e){return function(){for(var t=[],n=0;n2&&arguments[2]!==void 0?arguments[2]:{};const r=mt({url:et(e.remoteURL,Qe(t)),method:"OPTIONS"},e,n);return s=function(o){try{vt(e,o)}catch(a){throw a}return{compliance:(o.headers.get("DAV")??"").split(",").map((a=>a.trim())),server:o.headers.get("Server")??""}},(i=gt(r,e))&&i.then||(i=Promise.resolve(i)),s?i.then(s):i;var i,s}));function Ds(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}const YA=Ql((function(e,t,n,r,i){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(n>r||n<0)throw new Ft({info:{code:kr.InvalidUpdateRange}},`Invalid update range ${n} for partial update`);const o={"Content-Type":"application/octet-stream","Content-Length":""+(r-n+1),"Content-Range":`bytes ${n}-${r}/*`},a=mt({url:et(e.remoteURL,Qe(t)),method:"PUT",headers:o,data:i},e,s);return Ds(gt(a,e),(function(u){vt(e,u)}))}));function wd(e,t){var n=e();return n&&n.then?n.then(t):t(n)}const XA=Ql((function(e,t,n,r,i){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(n>r||n<0)throw new Ft({info:{code:kr.InvalidUpdateRange}},`Invalid update range ${n} for partial update`);const o={"Content-Type":"application/x-sabredav-partialupdate","Content-Length":""+(r-n+1),"X-Update-Range":`bytes=${n}-${r}`},a=mt({url:et(e.remoteURL,Qe(t)),method:"PATCH",headers:o,data:i},e,s);return Ds(gt(a,e),(function(u){vt(e,u)}))}));function Ql(e){return function(){for(var t=[],n=0;n5&&arguments[5]!==void 0?arguments[5]:{};return Ds(Yv(e,t,s),(function(o){let a=!1;return wd((function(){if(o.compliance.includes("sabredav-partialupdate"))return Ds(XA(e,t,n,r,i,s),(function(u){return a=!0,u}))}),(function(u){let l=!1;return a?u:wd((function(){if(o.server.includes("Apache")&&o.compliance.includes(""))return Ds(YA(e,t,n,r,i,s),(function(c){return l=!0,c}))}),(function(c){if(l)return c;throw new Ft({info:{code:kr.NotSupported}},"Not supported")}))}))}))})),eO="https://github.com/perry-mitchell/webdav-client/blob/master/LOCK_CONTACT.md";function SL(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{authType:n=null,remoteBasePath:r,contactHref:i=eO,ha1:s,headers:o={},httpAgent:a,httpsAgent:u,password:l,token:c,username:f,withCredentials:h}=t;let d=n;d||(d=f||l?Gt.Password:Gt.None);const g={authType:d,remoteBasePath:r,contactHref:i,ha1:s,headers:Object.assign({},o),httpAgent:a,httpsAgent:u,password:l,parsing:{attributeNamePrefix:t.attributeNamePrefix??"@",attributeParsers:[],tagParsers:[Vv]},remotePath:aT(e),remoteURL:e,token:c,username:f,withCredentials:h};return Pv(g,f,l,c,s),{copyFile:(p,y,w)=>HT(g,p,y,w),createDirectory:(p,y)=>Bu(g,p,y),createReadStream:(p,y)=>(function(w,b){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const x=new(_d()).PassThrough;return EA(w,b,_).then((E=>{E.pipe(x)})).catch((E=>{x.emit("error",E)})),x})(g,p,y),createWriteStream:(p,y,w)=>(function(b,_){let x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:TA;const T=new(_d()).PassThrough,P={};x.overwrite===!1&&(P["If-None-Match"]="*");const R=mt({url:et(b.remoteURL,Qe(_)),method:"PUT",headers:P,data:T,maxRedirects:0},b,x);return gt(R,b).then((C=>vt(b,C))).then((C=>{setTimeout((()=>{E(C)}),0)})).catch((C=>{T.emit("error",C)})),T})(g,p,y,w),customRequest:(p,y)=>AA(g,p,y),deleteFile:(p,y)=>OA(g,p,y),exists:(p,y)=>CA(g,p,y),getDirectoryContents:(p,y)=>kA(g,p,y),getFileContents:(p,y)=>NA(g,p,y),getFileDownloadLink:p=>(function(y,w){let b=et(y.remoteURL,Qe(w));const _=/^https:/i.test(b)?"https":"http";switch(y.authType){case Gt.None:break;case Gt.Password:{const x=Qh(y.headers.Authorization.replace(/^Basic /i,"").trim());b=b.replace(/^https?:\/\//,`${_}://${x}@`);break}default:throw new Ft({info:{code:kr.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${y.authType}`)}return b})(g,p),getFileUploadLink:p=>(function(y,w){let b=`${et(y.remoteURL,Qe(w))}?Content-Type=application/octet-stream`;const _=/^https:/i.test(b)?"https":"http";switch(y.authType){case Gt.None:break;case Gt.Password:{const x=Qh(y.headers.Authorization.replace(/^Basic /i,"").trim());b=b.replace(/^https?:\/\//,`${_}://${x}@`);break}default:throw new Ft({info:{code:kr.LinkUnsupportedAuthType}},`Unsupported auth type for file link: ${y.authType}`)}return b})(g,p),getHeaders:()=>Object.assign({},g.headers),getQuota:p=>WA(g,p),lock:(p,y)=>HA(g,p,y),moveFile:(p,y,w)=>qA(g,p,y,w),putFileContents:(p,y,w)=>JA(g,p,y,w),partialUpdateFileContents:(p,y,w,b,_)=>QA(g,p,y,w,b,_),getDAVCompliance:p=>Yv(g,p),search:(p,y)=>ZA(g,p,y),setHeaders:p=>{g.headers=Object.assign({},p)},stat:(p,y)=>Yl(g,p,y),unlock:(p,y,w)=>BA(g,p,y,w),registerAttributeParser:p=>{g.parsing.attributeParsers.push(p)},registerTagParser:p=>{g.parsing.tagParsers.push(p)}}}var tO=null;const nO=Object.freeze(Object.defineProperty({__proto__:null,default:tO},Symbol.toStringTag,{value:"Module"})),xd=HS(nO);var Uc,Sd;function rO(){if(Sd)return Uc;Sd=1;function e(n){return n.replace(/^\s+|\s+$/g,"")}var t=function(){this.comments=[],this.extractedComments=[],this.headers={},this.headerOrder=[],this.items=[]};return t.prototype.save=function(n,r){xd.writeFile(n,this.toString(),r)},t.prototype.toString=function(){var n=[];this.comments&&this.comments.forEach(function(o){n.push(("# "+o).trim())}),this.extractedComments&&this.extractedComments.forEach(function(o){n.push(("#. "+o).trim())}),n.push('msgid ""'),n.push('msgstr ""');var r=this,i=[];this.headerOrder.forEach(function(o){o in r.headers&&i.push(o)});var s=Object.keys(this.headers);return s.forEach(function(o){i.indexOf(o)===-1&&i.push(o)}),i.forEach(function(o){n.push('"'+o+": "+r.headers[o]+'\\n"')}),n.push(""),this.items.forEach(function(o){n.push(o.toString()),n.push("")}),n.join(` +`)},t.load=function(n,r){xd.readFile(n,"utf-8",function(i,s){if(i)return r(i);var o=t.parse(s);r(null,o)})},t.parse=function(n){n=n.replace(/\r\n/g,` +`);for(var r=new t,i=n.split(/\n\n/),s=[];i[0]&&(s.length===0||s[s.length-1].indexOf('msgid ""')<0);)i[0].match(/msgid\s+"[^"]/)?s.push('msgid ""'):s.push(i.shift());s=s.join(` +`);var o=i.join(` +`).split(/\n/);r.headers={"Project-Id-Version":"","Report-Msgid-Bugs-To":"","POT-Creation-Date":"","PO-Revision-Date":"","Last-Translator":"",Language:"","Language-Team":"","Content-Type":"","Content-Transfer-Encoding":"","Plural-Forms":""},r.headerOrder=[],s.split(/\n/).reduce(function(E,T){return E.merge&&(T=E.pop().slice(0,-1)+T.slice(1),delete E.merge),/^".*"$/.test(T)&&!/^".*\\n"$/.test(T)&&(E.merge=!0),E.push(T),E},[]).forEach(function(E){if(E.match(/^#\./))r.extractedComments.push(E.replace(/^#\.\s*/,""));else if(E.match(/^#/))r.comments.push(E.replace(/^#\s*/,""));else if(E.match(/^"/)){E=E.trim().replace(/^"/,"").replace(/\\n"$/,"");var T=E.split(/:/),P=T.shift().trim(),R=T.join(":").trim();r.headers[P]=R,r.headerOrder.push(P)}});var a=t.parsePluralForms(r.headers["Plural-Forms"]),u=a.nplurals,l=new t.Item({nplurals:u}),c=null,f=0,h=0,d=0;function g(){l.msgid.length>0&&(h>=d&&(l.obsolete=!0),h=0,d=0,r.items.push(l),l=new t.Item({nplurals:u}))}function p(E){return E=e(E),E=E.replace(/^[^"]*"|"$/g,""),E=E.replace(/\\([abtnvfr'"\\?]|([0-7]{3})|x([0-9a-fA-F]{2}))/g,function(T,P,R,C){if(R)return String.fromCharCode(parseInt(R,8));if(C)return String.fromCharCode(parseInt(C,16));switch(P){case"a":return"\x07";case"b":return"\b";case"t":return" ";case"n":return` +`;case"v":return"\v";case"f":return"\f";case"r":return"\r";default:return P}}),E}for(;o.length>0;){var y=e(o.shift()),w=!1;if(y.match(/^#\~/)&&(y=e(y.substring(2)),w=!0),y.match(/^#:/))g(),l.references.push(e(y.replace(/^#:/,"")));else if(y.match(/^#,/)){g();for(var b=e(y.replace(/^#,/,"")).split(","),_=0;_0&&(d++,c==="msgstr"?l.msgstr[f]+=p(y):c==="msgid"?l.msgid+=p(y):c==="msgid_plural"?l.msgid_plural+=p(y):c==="msgctxt"&&(l.msgctxt+=p(y)));w&&h++}return g(),r},t.parsePluralForms=function(n){var r=(n||"").split(";").reduce(function(i,s){var o=s.trim(),a=o.indexOf("="),u=o.substring(0,a).trim(),l=o.substring(a+1).trim();return i[u]=l,i},{});return{nplurals:r.nplurals,plural:r.plural}},t.Item=function(n){var r=n&&n.nplurals;this.msgid="",this.msgctxt=null,this.references=[],this.msgid_plural=null,this.msgstr=[],this.comments=[],this.extractedComments=[],this.flags={},this.obsolete=!1;var i=Number(r);this.nplurals=isNaN(i)?2:i},t.Item.prototype.toString=function(){var n=[],r=this,i=function(l){return l=l.replace(/[\x07\b\t\v\f\r"\\]/g,function(c){switch(c){case"\x07":return"\\a";case"\b":return"\\b";case" ":return"\\t";case"\v":return"\\v";case"\f":return"\\f";case"\r":return"\\r";default:return"\\"+c}}),l},s=function(l,c,f){var h=[],d=c.split(/\n/),g=typeof f<"u"?"["+f+"]":"";return d.length>1?(h.push(l+g+' ""'),d.forEach(function(p){h.push('"'+i(p)+'"')})):h.push(l+g+' "'+i(c)+'"'),h},o=function(l,c,f){for(var h=s(l,c,f),d=1;d0&&n.push("#, "+a.join(","));var u=this.obsolete?"#~ ":"";return["msgctxt","msgid","msgid_plural","msgstr"].forEach(function(l){var c=r[l];if(c!=null){var f=!1;if(Array.isArray(c)&&(f=c.some(function(p){return p})),Array.isArray(c)&&c.length>1)c.forEach(function(p,y){var w=o(l,p,y);n=n.concat(u+w.join(` +`+u))});else if(r.msgid_plural&&l==="msgstr"&&!f)for(var h=0;h(t,n={},r)=>(!e.silent&&oO.test(t)&&console.warn(`Mustache syntax cannot be used with vue-gettext. Please use "%{}" instead of "{{}}" in: ${t}`),t.replace(Xv,(o,a)=>{const u=a.trim();let l;function c(h,d){const g=d.split(sO).filter(p=>p);for(;g.length;)h=h[g.shift()];return h}function f(h,d,g){try{l=c(h,d)}catch{}if(l==null){if(g)return f(g.ctx,d,g.parent);console.warn(`Cannot evaluate expression: ${d}`),l=d}return l.toString()}return f(n,u,r)}));ef.INTERPOLATION_RE=Xv;ef.INTERPOLATION_PREFIX="%{";var aO=ef,Td={getTranslationIndex:function(e,t){switch(t=Number(t),t=typeof t=="number"&&isNaN(t)?1:t,e.length>2&&e!=="pt_BR"&&(e=e.split("_")[0]),e){case"ay":case"bo":case"cgg":case"dz":case"fa":case"id":case"ja":case"jbo":case"ka":case"kk":case"km":case"ko":case"ky":case"lo":case"ms":case"my":case"sah":case"su":case"th":case"tt":case"ug":case"vi":case"wo":case"zh":return 0;case"is":return t%10!==1||t%100===11?1:0;case"jv":return t!==0?1:0;case"mk":return t===1||t%10===1?0:1;case"ach":case"ak":case"am":case"arn":case"br":case"fil":case"fr":case"gun":case"ln":case"mfe":case"mg":case"mi":case"oc":case"pt_BR":case"tg":case"ti":case"tr":case"uz":case"wa":return t>1?1:0;case"lv":return t%10===1&&t%100!==11?0:t!==0?1:2;case"lt":return t%10===1&&t%100!==11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2;case"be":case"bs":case"hr":case"ru":case"sr":case"uk":return t%10===1&&t%100!==11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2;case"mnk":return t===0?0:t===1?1:2;case"ro":return t===1?0:t===0||t%100>0&&t%100<20?1:2;case"pl":return t===1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2;case"cs":case"sk":return t===1?0:t>=2&&t<=4?1:2;case"csb":return t===1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2;case"sl":return t%100===1?0:t%100===2?1:t%100===3||t%100===4?2:3;case"mt":return t===1?0:t===0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3;case"gd":return t===1||t===11?0:t===2||t===12?1:t>2&&t<20?2:3;case"cy":return t===1?0:t===2?1:t!==8&&t!==11?2:3;case"kw":return t===1?0:t===2?1:t===3?2:3;case"ga":return t===1?0:t===2?1:t>2&&t<7?2:t>6&&t<11?3:4;case"ar":return t===0?0:t===1?1:t===2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5;default:return t!==1?1:0}}},Vu=Symbol("GETTEXT");function Wu(e){return e.replaceAll(/\r?\n/g,` +`)}function Ad(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n],i={};Object.keys(r).forEach(s=>{i[Wu(s)]=r[s]}),t[n]=i}),t}var cO=()=>{const e=ir(Vu,null);if(!e)throw new Error("Failed to inject gettext. Make sure vue3-gettext is set up properly.");return e};function Od(e){if(e==null)throw new Error(`${e} is not defined`)}var uO=e=>({getTranslation:function(t,n=1,r=null,i=null,s,o){s===void 0&&(s=e.current);const a=(w,b)=>b?e.interpolate(w,b):w;if(t=Wu(t),i=i?Wu(i):null,!t)return"";const u=s?e.silent||e.muted.indexOf(s)!==-1:!1;let l="en";e.sourceCodeLanguage&&(l=e.sourceCodeLanguage);const c=i&&Td.getTranslationIndex(l,n)>0?i:t,f=e.translations,h=f[s]||f[s.split("_")[0]];if(!h)return u||console.warn(`No translations found for ${s}`),a(c,o);const d=w=>{let b=Td.getTranslationIndex(s,n);w.length===1&&n===1&&(b=0);const _=w[b];if(!_){if(_==="")return a(c,o);throw new Error(t+" "+b+" "+e.current+" "+n)}return a(_,o)},g=()=>{if(!u){let w=`Untranslated ${s} key found: ${t}`;r&&(w+=` (with context: ${r})`),console.warn(w)}return a(c,o)},p=(w,b=null)=>{if(w instanceof Object){if(Array.isArray(w))return d(w);const x=w[b??""];return p(x)}return b||!w?g():a(w,o)},y=h[t];return p(y,r)},gettext:function(t,n){return this.getTranslation(t,void 0,void 0,void 0,void 0,n)},pgettext:function(t,n,r){return this.getTranslation(n,1,t,void 0,void 0,r)},ngettext:function(t,n,r,i){return this.getTranslation(t,r,null,n,void 0,i)},npgettext:function(t,n,r,i,s){return this.getTranslation(n,i,t,r,void 0,s)}}),lO=uO;function Qv(e,t){const n=[];let r=-1,i="";const s=Object.values(e).flat(),o=s.reduce((f,h)=>h.length>f?h.length:f,0);function a(){return r+=1,t.charAt(r)}function u(f,h,d){if(i.trim()&&(n.push({kind:"Unrecognized",idx:r,value:i}),i=""),d){n.push({kind:f,idx:h,value:d});return}n.push({kind:f,idx:h})}function l(f){let h="",d=f,g=a();function p(){d=g,g=a()}for(;;){if(g===""){console.error("parsing error, string literal is not closed until end of file");break}if(d!=="\\"){if(g==="\\"){p();continue}if(g===f)break}const y=g==="\\";h+=g,p(),y&&(d="\\\\")}return h.replace(/\r\n/g,` +`)}function c(){var f;const h=a();switch(h){case"(":u("ParenLeft",r);break;case",":u("Comma",r);break;case'"':case"'":case"`":const d=(f=n[n.length-1])==null?void 0:f.kind;if(!i.trim()&&(d==="ParenLeft"||d==="Comma")){u("String",r,l(h));break}default:if(h.match(/\s\n\r/))break;const g=t.substring(r,r+o),p=s.filter(y=>g.startsWith(y)).reduce((y,w)=>{var b;return w.length>((b=y?.length)!=null?b:0)?w:y},void 0);if(p){u("Keyword",r,p),r+=p.length-1;break}i+=h;break}}for(;r{const o={...s};return delete o.idx,{...o,lineNumber:e.substring(0,s.idx).split(` +`).length}})}function gO(e,t){const n=new Ed;for(const r of t){const i=new Ed.Item;i.msgid=r.message,i.msgid_plural=r.messagePlural,i.msgctxt=r.context,i.references=[`${e}:${r.lineNumber}`],n.items.push(i)}return n}var Cd={availableLanguages:{en:"English"},defaultLanguage:"en",sourceCodeLanguage:void 0,mutedLanguages:[],silent:!1,translations:{},setGlobalProperties:!0,globalProperties:{language:["$language"],gettext:["$gettext"],pgettext:["$pgettext"],ngettext:["$ngettext"],npgettext:["$npgettext"],interpolate:["$gettextInterpolate"]}};function mO(e={}){Object.keys(e).forEach(o=>{if(Object.keys(Cd).indexOf(o)===-1)throw new Error(`${o} is an invalid option for the translate plugin.`)});const t={...Cd,...e},n=Re(Ad(t.translations)),r=to({available:t.availableLanguages,muted:t.mutedLanguages,silent:t.silent,translations:ae({get:()=>n.value,set:o=>{n.value=Ad(o)}}),current:t.defaultLanguage,sourceCodeLanguage:t.sourceCodeLanguage,install(o){if(o[Vu]=r,o.provide(Vu,r),t.setGlobalProperties){const a=o.config.globalProperties;let u=t.globalProperties.gettext||["$gettext"];u.forEach(l=>{a[l]=r.$gettext}),u=t.globalProperties.pgettext||["$pgettext"],u.forEach(l=>{a[l]=r.$pgettext}),u=t.globalProperties.ngettext||["$ngettext"],u.forEach(l=>{a[l]=r.$ngettext}),u=t.globalProperties.npgettext||["$npgettext"],u.forEach(l=>{a[l]=r.$npgettext}),u=t.globalProperties.language||["$language"],u.forEach(l=>{a[l]=r})}}}),i=lO(r),s=aO(r);return r.$gettext=i.gettext.bind(i),r.$pgettext=i.pgettext.bind(i),r.$ngettext=i.ngettext.bind(i),r.$npgettext=i.npgettext.bind(i),r.interpolate=s.bind(s),r}var vO=e=>e;const EL=Object.freeze(Object.defineProperty({__proto__:null,createGettext:mO,defineGettextConfig:vO,makePO:gO,parseSrc:pO,tokenize:Qv,useGettext:cO},Symbol.toStringTag,{value:"Module"})),kd=(e,...t)=>{const{href:n}=e.resolve(Z(e.currentRoute));return t.map(r=>{const{href:i}=e.resolve({...r});return i==="/"||i==="#/"?!1:n.startsWith(i)}).some(Boolean)},co=(...e)=>(t,...n)=>{if(!n.length)return kd(t,...e);const[r,...i]=n.map(s=>{const o=e.find(a=>a.name===s);if(!o)throw new Error(`unknown comparative '${s}'`);return o});return kd(t,r,...i)};const uo=(e,...t)=>_l({},{name:e},...t.map(n=>({...n.params&&{params:n.params},...n.query&&{query:n.query}}))),ey=(e,t={})=>uo(e,t),ty=ey("files-common-favorites"),ny=ey("files-common-search"),TL=co(ty,ny),AL=e=>[{path:"/search",component:e.App,children:[{name:ny.name,path:"list/:page?",component:e.SearchResults,meta:{authContext:"user",title:"Search results",contextQueryItems:["term","provider","q_tags","q_lastModified","q_titleOnly","q_mediaType","scope","useScope","sort-by","sort-dir"]}}]},{path:"/favorites",component:e.App,children:[{name:ty.name,path:"",component:e.Favorites,meta:{authContext:"user",title:"Favorite files"}}]}],ry=(e,t={})=>uo(e,t),iy=ry("files-spaces-projects"),sy=ry("files-spaces-generic"),OL=co(iy,sy),CL=e=>[{path:"/spaces",component:e.App,children:[{path:"projects",name:iy.name,component:e.Spaces.Projects,meta:{authContext:"user",title:"Spaces"}},{path:":driveAliasAndItem(.*)?",name:sy.name,component:e.Spaces.DriveResolver,meta:{authContext:"user",patchCleanPath:!0,contextQueryItems:["sort-by","sort-dir"]}}]}],ec=(e,t={})=>uo(e,t),yO=ec("files-shares"),Zu=ec("files-shares-with-me"),oy=ec("files-shares-with-others"),ay=ec("files-shares-via-link"),kL=co(Zu,oy,ay),PL=e=>[{name:yO.name,path:"/shares",component:e.App,redirect:Zu,children:[{name:Zu.name,path:"with-me",component:e.Shares.SharedWithMe,meta:{authContext:"user",title:"Files shared with me"}},{name:oy.name,path:"with-others",component:e.Shares.SharedWithOthers,meta:{authContext:"user",title:"Files shared with others"}},{name:ay.name,path:"via-link",component:e.Shares.SharedViaLink,meta:{authContext:"user",title:"Files shared via link"}}]}],cy=(e,t={})=>uo(e,t),uy=cy("files-public-link"),ly=cy("files-public-upload"),IL=co(uy,ly),NL=e=>[{path:"/link",component:e.App,meta:{auth:!1},children:[{name:uy.name,path:":driveAliasAndItem(.*)?",component:e.Spaces.DriveResolver,meta:{authContext:"publicLink",patchCleanPath:!0}}]},{path:"/upload",component:e.App,meta:{auth:!1},children:[{name:ly.name,path:":token?",component:e.FilesDrop,meta:{authContext:"publicLink",title:"Public file upload"}}]}],fy=(e,t={})=>uo(e,t),hy=fy("files-trash-generic"),dy=fy("files-trash-overview"),RL=co(hy,dy),$L=e=>[{path:"/trash",component:e.App,children:[{path:"overview",name:dy.name,component:e.Trash.Overview,meta:{authContext:"user",title:"Trash overview"}},{name:hy.name,path:":driveAliasAndItem(.*)?",component:e.Spaces.DriveResolver,meta:{authContext:"user",patchCleanPath:!0}}]}],_O=e=>ir(e),py=()=>_O("$router"),bO=(e,t={},n)=>{const r=n?.configStore||gy();return{params:{driveAliasAndItem:e.getDriveAliasAndItem({path:t.path||""})},query:{...nT(e)&&{shareId:e.id},...r?.options?.routing?.idBased&&!QE(t.fileId)&&{fileId:`${t.fileId}`}}}},wO=ao("apps",()=>{const e=Re({}),t=Re({}),n=Re([]),r=ae(()=>Object.keys(Z(e))),i=(u,l)=>{u.id&&(u.extensions&&u.extensions.forEach(c=>{s({appId:u.id,data:c})}),Z(e)[u.id]={defaultExtension:u.defaultExtension||"",icon:"check_box_outline_blank",name:u.name||u.id,translations:l,...u})},s=({appId:u,data:l})=>{Z(n).push({...l,app:u,hasPriority:l.hasPriority||Z(t)?.[u]?.priorityExtensions?.includes(l.extension)||!1,secureView:l.secureView||!1})};return{apps:e,externalAppConfig:t,appIds:r,fileExtensions:n,registerApp:i,registerFileExtension:s,loadExternalAppConfig:({appId:u,config:l})=>{t.value={...Z(t),[u]:l}},isAppEnabled:u=>Z(r).includes(u)}}),Pd={cernFeatures:!1,concurrentRequests:{resourceBatchActions:4,shares:{create:4,list:2},sse:4,avatars:4},contextHelpers:!0,contextHelpersReadMore:!0,defaultAppId:"files",disabledExtensions:[],disableFeedbackLink:!1,editor:{autosaveEnabled:!0,autosaveInterval:120},embed:{enabled:!1,target:"resources"},ocm:{openRemotely:!1},routing:{idBased:!0,fullShareOwnerPaths:!1},runningOnEos:!1,tokenStorageLocal:!0,userListRequiresFilter:!1,hideLogo:!1},gy=ao("config",()=>{const e=wO(),t=Re(""),n=Re(""),r=Re({...Pd}),i=Re([]),s=Re([]),o=Re([]),a=Re(),u=Re(),l=Re(),c=Re([]),f=Re([]),h=ae(()=>Uh(Z(t)||window.location.origin,{trailingSlash:!0})),d=ae(()=>Uh(Z(h),"groupware",{trailingSlash:!0})),g=ae(()=>!!Z(a)),p=ae(()=>!!Z(u));return{options:r,oAuth2:a,openIdConnect:u,isOAuth2:g,isOIDC:p,customTranslations:o,apps:i,externalApps:s,sentry:l,theme:n,scripts:c,styles:f,serverUrl:h,groupwareUrl:d,loadConfig:w=>{w.server&&(t.value=w.server?.endsWith("/")?w.server:w.server+"/"),i.value=w.apps||[],o.value=w.customTranslations||[],a.value=w.auth,u.value=w.openIdConnect,l.value=w.sentry,c.value=w.scripts||[],f.value=w.styles||[],n.value=w.theme,w.options&&(r.value=_l({...Pd},w.options),Z(r).ocm.openRemotely=Z(r).cernFeatures,Z(r).routing.idBased=!Z(r).cernFeatures,Z(r).routing.fullShareOwnerPaths=Z(r).cernFeatures),w.external_apps&&(s.value=w.external_apps,w.external_apps.filter(Boolean).forEach(b=>{e.loadExternalAppConfig({appId:b.id,config:b.config})}))}}});function F(e,t,n){function r(a,u){if(a._zod||Object.defineProperty(a,"_zod",{value:{def:u,constr:o,traits:new Set},enumerable:!1}),a._zod.traits.has(e))return;a._zod.traits.add(e),t(a,u);const l=o.prototype,c=Object.keys(l);for(let f=0;fn?.Parent&&a instanceof n.Parent?!0:a?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}class $i extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class my extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}const vy={};function Pr(e){return vy}function yy(e){const t=Object.values(e).filter(r=>typeof r=="number");return Object.entries(e).filter(([r,i])=>t.indexOf(+r)===-1).map(([r,i])=>i)}function qu(e,t){return typeof t=="bigint"?t.toString():t}function tf(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function nf(e){return e==null}function rf(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function xO(e,t){const n=(e.toString().split(".")[1]||"").length,r=t.toString();let i=(r.split(".")[1]||"").length;if(i===0&&/\d?e-\d?/.test(r)){const u=r.match(/\d?e-(\d?)/);u?.[1]&&(i=Number.parseInt(u[1]))}const s=n>i?n:i,o=Number.parseInt(e.toFixed(s).replace(".","")),a=Number.parseInt(t.toFixed(s).replace(".",""));return o%a/10**s}const Id=Symbol("evaluating");function Oe(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==Id)return r===void 0&&(r=Id,r=n()),r},set(i){Object.defineProperty(e,t,{value:i})},configurable:!0})}function ri(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Rr(...e){const t={};for(const n of e){const r=Object.getOwnPropertyDescriptors(n);Object.assign(t,r)}return Object.defineProperties({},t)}function Nd(e){return JSON.stringify(e)}function SO(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const _y="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function _a(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const EO=tf(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function Bi(e){if(_a(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(_a(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function by(e){return Bi(e)?{...e}:Array.isArray(e)?[...e]:e}const TO=new Set(["string","number","symbol"]);function tc(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function $r(e,t,n){const r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function fe(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function AO(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const OO={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function CO(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const s=Rr(e._zod.def,{get shape(){const o={};for(const a in t){if(!(a in n.shape))throw new Error(`Unrecognized key: "${a}"`);t[a]&&(o[a]=n.shape[a])}return ri(this,"shape",o),o},checks:[]});return $r(e,s)}function kO(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const s=Rr(e._zod.def,{get shape(){const o={...e._zod.def.shape};for(const a in t){if(!(a in n.shape))throw new Error(`Unrecognized key: "${a}"`);t[a]&&delete o[a]}return ri(this,"shape",o),o},checks:[]});return $r(e,s)}function PO(e,t){if(!Bi(t))throw new Error("Invalid input to extend: expected a plain object");const n=e._zod.def.checks;if(n&&n.length>0){const s=e._zod.def.shape;for(const o in t)if(Object.getOwnPropertyDescriptor(s,o)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const i=Rr(e._zod.def,{get shape(){const s={...e._zod.def.shape,...t};return ri(this,"shape",s),s}});return $r(e,i)}function IO(e,t){if(!Bi(t))throw new Error("Invalid input to safeExtend: expected a plain object");const n=Rr(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t};return ri(this,"shape",r),r}});return $r(e,n)}function NO(e,t){const n=Rr(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t._zod.def.shape};return ri(this,"shape",r),r},get catchall(){return t._zod.def.catchall},checks:[]});return $r(e,n)}function RO(e,t,n){const i=t._zod.def.checks;if(i&&i.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const o=Rr(t._zod.def,{get shape(){const a=t._zod.def.shape,u={...a};if(n)for(const l in n){if(!(l in a))throw new Error(`Unrecognized key: "${l}"`);n[l]&&(u[l]=e?new e({type:"optional",innerType:a[l]}):a[l])}else for(const l in a)u[l]=e?new e({type:"optional",innerType:a[l]}):a[l];return ri(this,"shape",u),u},checks:[]});return $r(t,o)}function $O(e,t,n){const r=Rr(t._zod.def,{get shape(){const i=t._zod.def.shape,s={...i};if(n)for(const o in n){if(!(o in s))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(s[o]=new e({type:"nonoptional",innerType:i[o]}))}else for(const o in i)s[o]=new e({type:"nonoptional",innerType:i[o]});return ri(this,"shape",s),s}});return $r(t,r)}function _i(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function To(e){return typeof e=="string"?e:e?.message}function Ir(e,t,n){const r={...e,path:e.path??[]};if(!e.message){const i=To(e.inst?._zod.def?.error?.(e))??To(t?.error?.(e))??To(n.customError?.(e))??To(n.localeError?.(e))??"Invalid input";r.message=i}return delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function sf(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Ks(...e){const[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}const wy=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,qu,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},xy=F("$ZodError",wy),Sy=F("$ZodError",wy,{Parent:Error});function MO(e,t=n=>n.message){const n={},r=[];for(const i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function DO(e,t=n=>n.message){const n={_errors:[]},r=i=>{for(const s of i.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(o=>r({issues:o}));else if(s.code==="invalid_key")r({issues:s.issues});else if(s.code==="invalid_element")r({issues:s.issues});else if(s.path.length===0)n._errors.push(t(s));else{let o=n,a=0;for(;a(t,n,r,i)=>{const s=r?Object.assign(r,{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},s);if(o instanceof Promise)throw new $i;if(o.issues.length){const a=new(i?.Err??e)(o.issues.map(u=>Ir(u,s,Pr())));throw _y(a,i?.callee),a}return o.value},af=e=>async(t,n,r,i)=>{const s=r?Object.assign(r,{async:!0}):{async:!0};let o=t._zod.run({value:n,issues:[]},s);if(o instanceof Promise&&(o=await o),o.issues.length){const a=new(i?.Err??e)(o.issues.map(u=>Ir(u,s,Pr())));throw _y(a,i?.callee),a}return o.value},nc=e=>(t,n,r)=>{const i=r?{...r,async:!1}:{async:!1},s=t._zod.run({value:n,issues:[]},i);if(s instanceof Promise)throw new $i;return s.issues.length?{success:!1,error:new(e??xy)(s.issues.map(o=>Ir(o,i,Pr())))}:{success:!0,data:s.value}},LO=nc(Sy),rc=e=>async(t,n,r)=>{const i=r?Object.assign(r,{async:!0}):{async:!0};let s=t._zod.run({value:n,issues:[]},i);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new e(s.issues.map(o=>Ir(o,i,Pr())))}:{success:!0,data:s.value}},jO=rc(Sy),UO=e=>(t,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return of(e)(t,n,i)},FO=e=>(t,n,r)=>of(e)(t,n,r),zO=e=>async(t,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return af(e)(t,n,i)},BO=e=>async(t,n,r)=>af(e)(t,n,r),HO=e=>(t,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return nc(e)(t,n,i)},VO=e=>(t,n,r)=>nc(e)(t,n,r),WO=e=>async(t,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return rc(e)(t,n,i)},ZO=e=>async(t,n,r)=>rc(e)(t,n,r),qO=/^[cC][^\s-]{8,}$/,KO=/^[0-9a-z]+$/,GO=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,JO=/^[0-9a-vA-V]{20}$/,YO=/^[A-Za-z0-9]{27}$/,XO=/^[a-zA-Z0-9_-]{21}$/,QO=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,eC=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Rd=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,tC=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,nC="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function rC(){return new RegExp(nC,"u")}const iC=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,sC=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,oC=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,aC=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,cC=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Ey=/^[A-Za-z0-9_-]*$/,uC=/^\+[1-9]\d{6,14}$/,Ty="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",lC=new RegExp(`^${Ty}$`);function Ay(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function fC(e){return new RegExp(`^${Ay(e)}$`)}function hC(e){const t=Ay({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${t}(?:${n.join("|")})`;return new RegExp(`^${Ty}T(?:${r})$`)}const dC=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},pC=/^-?\d+$/,Oy=/^-?\d+(?:\.\d+)?$/,gC=/^(?:true|false)$/i,mC=/^[^A-Z]*$/,vC=/^[^a-z]*$/,Xt=F("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Cy={number:"number",bigint:"bigint",object:"date"},ky=F("$ZodCheckLessThan",(e,t)=>{Xt.init(e,t);const n=Cy[typeof t.value];e._zod.onattach.push(r=>{const i=r._zod.bag,s=(t.inclusive?i.maximum:i.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value{(t.inclusive?r.value<=t.value:r.value{Xt.init(e,t);const n=Cy[typeof t.value];e._zod.onattach.push(r=>{const i=r._zod.bag,s=(t.inclusive?i.minimum:i.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>s&&(t.inclusive?i.minimum=t.value:i.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),yC=F("$ZodCheckMultipleOf",(e,t)=>{Xt.init(e,t),e._zod.onattach.push(n=>{var r;(r=n._zod.bag).multipleOf??(r.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):xO(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),_C=F("$ZodCheckNumberFormat",(e,t)=>{Xt.init(e,t),t.format=t.format||"float64";const n=t.format?.includes("int"),r=n?"int":"number",[i,s]=OO[t.format];e._zod.onattach.push(o=>{const a=o._zod.bag;a.format=t.format,a.minimum=i,a.maximum=s,n&&(a.pattern=pC)}),e._zod.check=o=>{const a=o.value;if(n){if(!Number.isInteger(a)){o.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:a,inst:e});return}if(!Number.isSafeInteger(a)){a>0?o.issues.push({input:a,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:a,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}as&&o.issues.push({origin:"number",input:a,code:"too_big",maximum:s,inclusive:!0,inst:e,continue:!t.abort})}}),bC=F("$ZodCheckMaxLength",(e,t)=>{var n;Xt.init(e,t),(n=e._zod.def).when??(n.when=r=>{const i=r.value;return!nf(i)&&i.length!==void 0}),e._zod.onattach.push(r=>{const i=r._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum{const i=r.value;if(i.length<=t.maximum)return;const o=sf(i);r.issues.push({origin:o,code:"too_big",maximum:t.maximum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),wC=F("$ZodCheckMinLength",(e,t)=>{var n;Xt.init(e,t),(n=e._zod.def).when??(n.when=r=>{const i=r.value;return!nf(i)&&i.length!==void 0}),e._zod.onattach.push(r=>{const i=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>i&&(r._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{const i=r.value;if(i.length>=t.minimum)return;const o=sf(i);r.issues.push({origin:o,code:"too_small",minimum:t.minimum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),xC=F("$ZodCheckLengthEquals",(e,t)=>{var n;Xt.init(e,t),(n=e._zod.def).when??(n.when=r=>{const i=r.value;return!nf(i)&&i.length!==void 0}),e._zod.onattach.push(r=>{const i=r._zod.bag;i.minimum=t.length,i.maximum=t.length,i.length=t.length}),e._zod.check=r=>{const i=r.value,s=i.length;if(s===t.length)return;const o=sf(i),a=s>t.length;r.issues.push({origin:o,...a?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),ic=F("$ZodCheckStringFormat",(e,t)=>{var n,r;Xt.init(e,t),e._zod.onattach.push(i=>{const s=i._zod.bag;s.format=t.format,t.pattern&&(s.patterns??(s.patterns=new Set),s.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=i=>{t.pattern.lastIndex=0,!t.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:t.format,input:i.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),SC=F("$ZodCheckRegex",(e,t)=>{ic.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),EC=F("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=mC),ic.init(e,t)}),TC=F("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=vC),ic.init(e,t)}),AC=F("$ZodCheckIncludes",(e,t)=>{Xt.init(e,t);const n=tc(t.includes),r=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(i=>{const s=i._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(r)}),e._zod.check=i=>{i.value.includes(t.includes,t.position)||i.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:i.value,inst:e,continue:!t.abort})}}),OC=F("$ZodCheckStartsWith",(e,t)=>{Xt.init(e,t);const n=new RegExp(`^${tc(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(r=>{const i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),CC=F("$ZodCheckEndsWith",(e,t)=>{Xt.init(e,t);const n=new RegExp(`.*${tc(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(r=>{const i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}}),kC=F("$ZodCheckOverwrite",(e,t)=>{Xt.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class PC{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const r=t.split(` +`).filter(o=>o),i=Math.min(...r.map(o=>o.length-o.trimStart().length)),s=r.map(o=>o.slice(i)).map(o=>" ".repeat(this.indent*2)+o);for(const o of s)this.content.push(o)}compile(){const t=Function,n=this?.args,i=[...(this?.content??[""]).map(s=>` ${s}`)];return new t(...n,i.join(` +`))}}const IC={major:4,minor:3,patch:6},Je=F("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=IC;const r=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&r.unshift(e);for(const i of r)for(const s of i._zod.onattach)s(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const i=(o,a,u)=>{let l=_i(o),c;for(const f of a){if(f._zod.def.when){if(!f._zod.def.when(o))continue}else if(l)continue;const h=o.issues.length,d=f._zod.check(o);if(d instanceof Promise&&u?.async===!1)throw new $i;if(c||d instanceof Promise)c=(c??Promise.resolve()).then(async()=>{await d,o.issues.length!==h&&(l||(l=_i(o,h)))});else{if(o.issues.length===h)continue;l||(l=_i(o,h))}}return c?c.then(()=>o):o},s=(o,a,u)=>{if(_i(o))return o.aborted=!0,o;const l=i(a,r,u);if(l instanceof Promise){if(u.async===!1)throw new $i;return l.then(c=>e._zod.parse(c,u))}return e._zod.parse(l,u)};e._zod.run=(o,a)=>{if(a.skipChecks)return e._zod.parse(o,a);if(a.direction==="backward"){const l=e._zod.parse({value:o.value,issues:[]},{...a,skipChecks:!0});return l instanceof Promise?l.then(c=>s(c,o,a)):s(l,o,a)}const u=e._zod.parse(o,a);if(u instanceof Promise){if(a.async===!1)throw new $i;return u.then(l=>i(l,r,a))}return i(u,r,a)}}Oe(e,"~standard",()=>({validate:i=>{try{const s=LO(e,i);return s.success?{value:s.data}:{issues:s.error?.issues}}catch{return jO(e,i).then(o=>o.success?{value:o.data}:{issues:o.error?.issues})}},vendor:"zod",version:1}))}),cf=F("$ZodString",(e,t)=>{Je.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??dC(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),Ye=F("$ZodStringFormat",(e,t)=>{ic.init(e,t),cf.init(e,t)}),NC=F("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=eC),Ye.init(e,t)}),RC=F("$ZodUUID",(e,t)=>{if(t.version){const r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(r===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Rd(r))}else t.pattern??(t.pattern=Rd());Ye.init(e,t)}),$C=F("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=tC),Ye.init(e,t)}),MC=F("$ZodURL",(e,t)=>{Ye.init(e,t),e._zod.check=n=>{try{const r=n.value.trim(),i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),DC=F("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=rC()),Ye.init(e,t)}),LC=F("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=XO),Ye.init(e,t)}),jC=F("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=qO),Ye.init(e,t)}),UC=F("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=KO),Ye.init(e,t)}),FC=F("$ZodULID",(e,t)=>{t.pattern??(t.pattern=GO),Ye.init(e,t)}),zC=F("$ZodXID",(e,t)=>{t.pattern??(t.pattern=JO),Ye.init(e,t)}),BC=F("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=YO),Ye.init(e,t)}),HC=F("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=hC(t)),Ye.init(e,t)}),VC=F("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=lC),Ye.init(e,t)}),WC=F("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=fC(t)),Ye.init(e,t)}),ZC=F("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=QO),Ye.init(e,t)}),qC=F("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=iC),Ye.init(e,t),e._zod.bag.format="ipv4"}),KC=F("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=sC),Ye.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),GC=F("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=oC),Ye.init(e,t)}),JC=F("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=aC),Ye.init(e,t),e._zod.check=n=>{const r=n.value.split("/");try{if(r.length!==2)throw new Error;const[i,s]=r;if(!s)throw new Error;const o=Number(s);if(`${o}`!==s)throw new Error;if(o<0||o>128)throw new Error;new URL(`http://[${i}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function Iy(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const YC=F("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=cC),Ye.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{Iy(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function XC(e){if(!Ey.test(e))return!1;const t=e.replace(/[-_]/g,r=>r==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return Iy(n)}const QC=F("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Ey),Ye.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{XC(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),ek=F("$ZodE164",(e,t)=>{t.pattern??(t.pattern=uC),Ye.init(e,t)});function tk(e,t=null){try{const n=e.split(".");if(n.length!==3)return!1;const[r]=n;if(!r)return!1;const i=JSON.parse(atob(r));return!("typ"in i&&i?.typ!=="JWT"||!i.alg||t&&(!("alg"in i)||i.alg!==t))}catch{return!1}}const nk=F("$ZodJWT",(e,t)=>{Ye.init(e,t),e._zod.check=n=>{tk(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),Ny=F("$ZodNumber",(e,t)=>{Je.init(e,t),e._zod.pattern=e._zod.bag.pattern??Oy,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}const i=n.value;if(typeof i=="number"&&!Number.isNaN(i)&&Number.isFinite(i))return n;const s=typeof i=="number"?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...s?{received:s}:{}}),n}}),rk=F("$ZodNumberFormat",(e,t)=>{_C.init(e,t),Ny.init(e,t)}),ik=F("$ZodBoolean",(e,t)=>{Je.init(e,t),e._zod.pattern=gC,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}const i=n.value;return typeof i=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),n}}),sk=F("$ZodAny",(e,t)=>{Je.init(e,t),e._zod.parse=n=>n}),ok=F("$ZodUnknown",(e,t)=>{Je.init(e,t),e._zod.parse=n=>n}),ak=F("$ZodNever",(e,t)=>{Je.init(e,t),e._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function $d(e,t,n){e.issues.length&&t.issues.push(...bi(n,e.issues)),t.value[n]=e.value}const ck=F("$ZodArray",(e,t)=>{Je.init(e,t),e._zod.parse=(n,r)=>{const i=n.value;if(!Array.isArray(i))return n.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),n;n.value=Array(i.length);const s=[];for(let o=0;o$d(l,n,o))):$d(u,n,o)}return s.length?Promise.all(s).then(()=>n):n}});function ba(e,t,n,r,i){if(e.issues.length){if(i&&!(n in r))return;t.issues.push(...bi(n,e.issues))}e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function Ry(e){const t=Object.keys(e.shape);for(const r of t)if(!e.shape?.[r]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${r}": expected a Zod schema`);const n=AO(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function $y(e,t,n,r,i,s){const o=[],a=i.keySet,u=i.catchall._zod,l=u.def.type,c=u.optout==="optional";for(const f in t){if(a.has(f))continue;if(l==="never"){o.push(f);continue}const h=u.run({value:t[f],issues:[]},r);h instanceof Promise?e.push(h.then(d=>ba(d,n,f,t,c))):ba(h,n,f,t,c)}return o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:s}),e.length?Promise.all(e).then(()=>n):n}const uk=F("$ZodObject",(e,t)=>{if(Je.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const a=t.shape;Object.defineProperty(t,"shape",{get:()=>{const u={...a};return Object.defineProperty(t,"shape",{value:u}),u}})}const r=tf(()=>Ry(t));Oe(e._zod,"propValues",()=>{const a=t.shape,u={};for(const l in a){const c=a[l]._zod;if(c.values){u[l]??(u[l]=new Set);for(const f of c.values)u[l].add(f)}}return u});const i=_a,s=t.catchall;let o;e._zod.parse=(a,u)=>{o??(o=r.value);const l=a.value;if(!i(l))return a.issues.push({expected:"object",code:"invalid_type",input:l,inst:e}),a;a.value={};const c=[],f=o.shape;for(const h of o.keys){const d=f[h],g=d._zod.optout==="optional",p=d._zod.run({value:l[h],issues:[]},u);p instanceof Promise?c.push(p.then(y=>ba(y,a,h,l,g))):ba(p,a,h,l,g)}return s?$y(c,l,a,u,r.value,e):c.length?Promise.all(c).then(()=>a):a}}),lk=F("$ZodObjectJIT",(e,t)=>{uk.init(e,t);const n=e._zod.parse,r=tf(()=>Ry(t)),i=h=>{const d=new PC(["shape","payload","ctx"]),g=r.value,p=_=>{const x=Nd(_);return`shape[${x}]._zod.run({ value: input[${x}], issues: [] }, ctx)`};d.write("const input = payload.value;");const y=Object.create(null);let w=0;for(const _ of g.keys)y[_]=`key_${w++}`;d.write("const newResult = {};");for(const _ of g.keys){const x=y[_],E=Nd(_),P=h[_]?._zod?.optout==="optional";d.write(`const ${x} = ${p(_)};`),P?d.write(` + if (${x}.issues.length) { + if (${E} in input) { + payload.issues = payload.issues.concat(${x}.issues.map(iss => ({ + ...iss, + path: iss.path ? [${E}, ...iss.path] : [${E}] + }))); + } + } + + if (${x}.value === undefined) { + if (${E} in input) { + newResult[${E}] = undefined; + } + } else { + newResult[${E}] = ${x}.value; + } + + `):d.write(` + if (${x}.issues.length) { + payload.issues = payload.issues.concat(${x}.issues.map(iss => ({ + ...iss, + path: iss.path ? [${E}, ...iss.path] : [${E}] + }))); + } + + if (${x}.value === undefined) { + if (${E} in input) { + newResult[${E}] = undefined; + } + } else { + newResult[${E}] = ${x}.value; + } + + `)}d.write("payload.value = newResult;"),d.write("return payload;");const b=d.compile();return(_,x)=>b(h,_,x)};let s;const o=_a,a=!vy.jitless,l=a&&EO.value,c=t.catchall;let f;e._zod.parse=(h,d)=>{f??(f=r.value);const g=h.value;return o(g)?a&&l&&d?.async===!1&&d.jitless!==!0?(s||(s=i(t.shape)),h=s(h,d),c?$y([],g,h,d,f,e):h):n(h,d):(h.issues.push({expected:"object",code:"invalid_type",input:g,inst:e}),h)}});function Md(e,t,n,r){for(const s of e)if(s.issues.length===0)return t.value=s.value,t;const i=e.filter(s=>!_i(s));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(s=>s.issues.map(o=>Ir(o,r,Pr())))}),t)}const fk=F("$ZodUnion",(e,t)=>{Je.init(e,t),Oe(e._zod,"optin",()=>t.options.some(i=>i._zod.optin==="optional")?"optional":void 0),Oe(e._zod,"optout",()=>t.options.some(i=>i._zod.optout==="optional")?"optional":void 0),Oe(e._zod,"values",()=>{if(t.options.every(i=>i._zod.values))return new Set(t.options.flatMap(i=>Array.from(i._zod.values)))}),Oe(e._zod,"pattern",()=>{if(t.options.every(i=>i._zod.pattern)){const i=t.options.map(s=>s._zod.pattern);return new RegExp(`^(${i.map(s=>rf(s.source)).join("|")})$`)}});const n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(i,s)=>{if(n)return r(i,s);let o=!1;const a=[];for(const u of t.options){const l=u._zod.run({value:i.value,issues:[]},s);if(l instanceof Promise)a.push(l),o=!0;else{if(l.issues.length===0)return l;a.push(l)}}return o?Promise.all(a).then(u=>Md(u,i,e,s)):Md(a,i,e,s)}}),hk=F("$ZodIntersection",(e,t)=>{Je.init(e,t),e._zod.parse=(n,r)=>{const i=n.value,s=t.left._zod.run({value:i,issues:[]},r),o=t.right._zod.run({value:i,issues:[]},r);return s instanceof Promise||o instanceof Promise?Promise.all([s,o]).then(([u,l])=>Dd(n,u,l)):Dd(n,s,o)}});function Ku(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Bi(e)&&Bi(t)){const n=Object.keys(t),r=Object.keys(e).filter(s=>n.indexOf(s)!==-1),i={...e,...t};for(const s of r){const o=Ku(e[s],t[s]);if(!o.valid)return{valid:!1,mergeErrorPath:[s,...o.mergeErrorPath]};i[s]=o.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;ra.l&&a.r).map(([a])=>a);if(s.length&&i&&e.issues.push({...i,keys:s}),_i(e))return e;const o=Ku(t.value,n.value);if(!o.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}const dk=F("$ZodRecord",(e,t)=>{Je.init(e,t),e._zod.parse=(n,r)=>{const i=n.value;if(!Bi(i))return n.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),n;const s=[],o=t.keyType._zod.values;if(o){n.value={};const a=new Set;for(const l of o)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){a.add(typeof l=="number"?l.toString():l);const c=t.valueType._zod.run({value:i[l],issues:[]},r);c instanceof Promise?s.push(c.then(f=>{f.issues.length&&n.issues.push(...bi(l,f.issues)),n.value[l]=f.value})):(c.issues.length&&n.issues.push(...bi(l,c.issues)),n.value[l]=c.value)}let u;for(const l in i)a.has(l)||(u=u??[],u.push(l));u&&u.length>0&&n.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:u})}else{n.value={};for(const a of Reflect.ownKeys(i)){if(a==="__proto__")continue;let u=t.keyType._zod.run({value:a,issues:[]},r);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof a=="string"&&Oy.test(a)&&u.issues.length){const f=t.keyType._zod.run({value:Number(a),issues:[]},r);if(f instanceof Promise)throw new Error("Async schemas not supported in object keys currently");f.issues.length===0&&(u=f)}if(u.issues.length){t.mode==="loose"?n.value[a]=i[a]:n.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(f=>Ir(f,r,Pr())),input:a,path:[a],inst:e});continue}const c=t.valueType._zod.run({value:i[a],issues:[]},r);c instanceof Promise?s.push(c.then(f=>{f.issues.length&&n.issues.push(...bi(a,f.issues)),n.value[u.value]=f.value})):(c.issues.length&&n.issues.push(...bi(a,c.issues)),n.value[u.value]=c.value)}}return s.length?Promise.all(s).then(()=>n):n}}),pk=F("$ZodEnum",(e,t)=>{Je.init(e,t);const n=yy(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=new RegExp(`^(${n.filter(i=>TO.has(typeof i)).map(i=>typeof i=="string"?tc(i):i.toString()).join("|")})$`),e._zod.parse=(i,s)=>{const o=i.value;return r.has(o)||i.issues.push({code:"invalid_value",values:n,input:o,inst:e}),i}}),gk=F("$ZodTransform",(e,t)=>{Je.init(e,t),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new my(e.constructor.name);const i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(o=>(n.value=o,n));if(i instanceof Promise)throw new $i;return n.value=i,n}});function Ld(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const My=F("$ZodOptional",(e,t)=>{Je.init(e,t),e._zod.optin="optional",e._zod.optout="optional",Oe(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),Oe(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${rf(n.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(t.innerType._zod.optin==="optional"){const i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>Ld(s,n.value)):Ld(i,n.value)}return n.value===void 0?n:t.innerType._zod.run(n,r)}}),mk=F("$ZodExactOptional",(e,t)=>{My.init(e,t),Oe(e._zod,"values",()=>t.innerType._zod.values),Oe(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,r)=>t.innerType._zod.run(n,r)}),vk=F("$ZodNullable",(e,t)=>{Je.init(e,t),Oe(e._zod,"optin",()=>t.innerType._zod.optin),Oe(e._zod,"optout",()=>t.innerType._zod.optout),Oe(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${rf(n.source)}|null)$`):void 0}),Oe(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,r)=>n.value===null?n:t.innerType._zod.run(n,r)}),yk=F("$ZodDefault",(e,t)=>{Je.init(e,t),e._zod.optin="optional",Oe(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);if(n.value===void 0)return n.value=t.defaultValue,n;const i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>jd(s,t)):jd(i,t)}});function jd(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const _k=F("$ZodPrefault",(e,t)=>{Je.init(e,t),e._zod.optin="optional",Oe(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>(r.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,r))}),bk=F("$ZodNonOptional",(e,t)=>{Je.init(e,t),Oe(e._zod,"values",()=>{const n=t.innerType._zod.values;return n?new Set([...n].filter(r=>r!==void 0)):void 0}),e._zod.parse=(n,r)=>{const i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>Ud(s,e)):Ud(i,e)}});function Ud(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const wk=F("$ZodCatch",(e,t)=>{Je.init(e,t),Oe(e._zod,"optin",()=>t.innerType._zod.optin),Oe(e._zod,"optout",()=>t.innerType._zod.optout),Oe(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>(n.value=s.value,s.issues.length&&(n.value=t.catchValue({...n,error:{issues:s.issues.map(o=>Ir(o,r,Pr()))},input:n.value}),n.issues=[]),n)):(n.value=i.value,i.issues.length&&(n.value=t.catchValue({...n,error:{issues:i.issues.map(s=>Ir(s,r,Pr()))},input:n.value}),n.issues=[]),n)}}),xk=F("$ZodPipe",(e,t)=>{Je.init(e,t),Oe(e._zod,"values",()=>t.in._zod.values),Oe(e._zod,"optin",()=>t.in._zod.optin),Oe(e._zod,"optout",()=>t.out._zod.optout),Oe(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,r)=>{if(r.direction==="backward"){const s=t.out._zod.run(n,r);return s instanceof Promise?s.then(o=>Ao(o,t.in,r)):Ao(s,t.in,r)}const i=t.in._zod.run(n,r);return i instanceof Promise?i.then(s=>Ao(s,t.out,r)):Ao(i,t.out,r)}});function Ao(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}const Sk=F("$ZodReadonly",(e,t)=>{Je.init(e,t),Oe(e._zod,"propValues",()=>t.innerType._zod.propValues),Oe(e._zod,"values",()=>t.innerType._zod.values),Oe(e._zod,"optin",()=>t.innerType?._zod?.optin),Oe(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(Fd):Fd(i)}});function Fd(e){return e.value=Object.freeze(e.value),e}const Ek=F("$ZodLazy",(e,t)=>{Je.init(e,t),Oe(e._zod,"innerType",()=>t.getter()),Oe(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),Oe(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),Oe(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),Oe(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,r)=>e._zod.innerType._zod.run(n,r)}),Tk=F("$ZodCustom",(e,t)=>{Xt.init(e,t),Je.init(e,t),e._zod.parse=(n,r)=>n,e._zod.check=n=>{const r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(s=>zd(s,n,r,e));zd(i,n,r,e)}});function zd(e,t,n,r){if(!e){const i={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(i.params=r._zod.def.params),t.issues.push(Ks(i))}}var Bd;class Ak{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){const r=n[0];return this._map.set(t,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){const n=t._zod.parent;if(n){const r={...this.get(n)??{}};delete r.id;const i={...r,...this._map.get(t)};return Object.keys(i).length?i:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function Ok(){return new Ak}(Bd=globalThis).__zod_globalRegistry??(Bd.__zod_globalRegistry=Ok());const As=globalThis.__zod_globalRegistry;function Ck(e,t){return new e({type:"string",...fe(t)})}function kk(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...fe(t)})}function Hd(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...fe(t)})}function Pk(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...fe(t)})}function Ik(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...fe(t)})}function Nk(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...fe(t)})}function Rk(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...fe(t)})}function $k(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...fe(t)})}function Mk(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...fe(t)})}function Dk(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...fe(t)})}function Lk(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...fe(t)})}function jk(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...fe(t)})}function Uk(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...fe(t)})}function Fk(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...fe(t)})}function zk(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...fe(t)})}function Bk(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...fe(t)})}function Hk(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...fe(t)})}function Vk(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...fe(t)})}function Wk(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...fe(t)})}function Zk(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...fe(t)})}function qk(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...fe(t)})}function Kk(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...fe(t)})}function Gk(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...fe(t)})}function Jk(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...fe(t)})}function Yk(e,t){return new e({type:"string",format:"date",check:"string_format",...fe(t)})}function Xk(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...fe(t)})}function Qk(e,t){return new e({type:"string",format:"duration",check:"string_format",...fe(t)})}function eP(e,t){return new e({type:"number",checks:[],...fe(t)})}function tP(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...fe(t)})}function nP(e,t){return new e({type:"boolean",...fe(t)})}function rP(e){return new e({type:"any"})}function iP(e){return new e({type:"unknown"})}function sP(e,t){return new e({type:"never",...fe(t)})}function Vd(e,t){return new ky({check:"less_than",...fe(t),value:e,inclusive:!1})}function Fc(e,t){return new ky({check:"less_than",...fe(t),value:e,inclusive:!0})}function Wd(e,t){return new Py({check:"greater_than",...fe(t),value:e,inclusive:!1})}function zc(e,t){return new Py({check:"greater_than",...fe(t),value:e,inclusive:!0})}function Zd(e,t){return new yC({check:"multiple_of",...fe(t),value:e})}function Dy(e,t){return new bC({check:"max_length",...fe(t),maximum:e})}function wa(e,t){return new wC({check:"min_length",...fe(t),minimum:e})}function Ly(e,t){return new xC({check:"length_equals",...fe(t),length:e})}function oP(e,t){return new SC({check:"string_format",format:"regex",...fe(t),pattern:e})}function aP(e){return new EC({check:"string_format",format:"lowercase",...fe(e)})}function cP(e){return new TC({check:"string_format",format:"uppercase",...fe(e)})}function uP(e,t){return new AC({check:"string_format",format:"includes",...fe(t),includes:e})}function lP(e,t){return new OC({check:"string_format",format:"starts_with",...fe(t),prefix:e})}function fP(e,t){return new CC({check:"string_format",format:"ends_with",...fe(t),suffix:e})}function es(e){return new kC({check:"overwrite",tx:e})}function hP(e){return es(t=>t.normalize(e))}function dP(){return es(e=>e.trim())}function pP(){return es(e=>e.toLowerCase())}function gP(){return es(e=>e.toUpperCase())}function mP(){return es(e=>SO(e))}function vP(e,t,n){return new e({type:"array",element:t,...fe(n)})}function yP(e,t,n){return new e({type:"custom",check:"custom",fn:t,...fe(n)})}function _P(e){const t=bP(n=>(n.addIssue=r=>{if(typeof r=="string")n.issues.push(Ks(r,n.value,t._zod.def));else{const i=r;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=n.value),i.inst??(i.inst=t),i.continue??(i.continue=!t._zod.def.abort),n.issues.push(Ks(i))}},e(n.value,n)));return t}function bP(e,t){const n=new Xt({check:"custom",...fe(t)});return n._zod.check=e,n}function jy(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??As,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function st(e,t,n={path:[],schemaPath:[]}){var r;const i=e._zod.def,s=t.seen.get(e);if(s)return s.count++,n.schemaPath.includes(e)&&(s.cycle=n.path),s.schema;const o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);const a=e._zod.toJSONSchema?.();if(a)o.schema=a;else{const c={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,c);else{const h=o.schema,d=t.processors[i.type];if(!d)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);d(e,t,h,c)}const f=e._zod.parent;f&&(o.ref||(o.ref=f),st(f,t,c),t.seen.get(f).isParent=!0)}const u=t.metadataRegistry.get(e);return u&&Object.assign(o.schema,u),t.io==="input"&&Mt(e)&&(delete o.schema.examples,delete o.schema.default),t.io==="input"&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function Uy(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=new Map;for(const o of e.seen.entries()){const a=e.metadataRegistry.get(o[0])?.id;if(a){const u=r.get(a);if(u&&u!==o[0])throw new Error(`Duplicate schema id "${a}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(a,o[0])}}const i=o=>{const a=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const f=e.external.registry.get(o[0])?.id,h=e.external.uri??(g=>g);if(f)return{ref:h(f)};const d=o[1].defId??o[1].schema.id??`schema${e.counter++}`;return o[1].defId=d,{defId:d,ref:`${h("__shared")}#/${a}/${d}`}}if(o[1]===n)return{ref:"#"};const l=`#/${a}/`,c=o[1].schema.id??`__schema${e.counter++}`;return{defId:c,ref:l+c}},s=o=>{if(o[1].schema.$ref)return;const a=o[1],{ref:u,defId:l}=i(o);a.def={...a.schema},l&&(a.defId=l);const c=a.schema;for(const f in c)delete c[f];c.$ref=u};if(e.cycles==="throw")for(const o of e.seen.entries()){const a=o[1];if(a.cycle)throw new Error(`Cycle detected: #/${a.cycle?.join("/")}/ + +Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const o of e.seen.entries()){const a=o[1];if(t===o[0]){s(o);continue}if(e.external){const l=e.external.registry.get(o[0])?.id;if(t!==o[0]&&l){s(o);continue}}if(e.metadataRegistry.get(o[0])?.id){s(o);continue}if(a.cycle){s(o);continue}if(a.count>1&&e.reused==="ref"){s(o);continue}}}function Fy(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=o=>{const a=e.seen.get(o);if(a.ref===null)return;const u=a.def??a.schema,l={...u},c=a.ref;if(a.ref=null,c){r(c);const h=e.seen.get(c),d=h.schema;if(d.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(d)):Object.assign(u,d),Object.assign(u,l),o._zod.parent===c)for(const p in u)p==="$ref"||p==="allOf"||p in l||delete u[p];if(d.$ref&&h.def)for(const p in u)p==="$ref"||p==="allOf"||p in h.def&&JSON.stringify(u[p])===JSON.stringify(h.def[p])&&delete u[p]}const f=o._zod.parent;if(f&&f!==c){r(f);const h=e.seen.get(f);if(h?.schema.$ref&&(u.$ref=h.schema.$ref,h.def))for(const d in u)d==="$ref"||d==="allOf"||d in h.def&&JSON.stringify(u[d])===JSON.stringify(h.def[d])&&delete u[d]}e.override({zodSchema:o,jsonSchema:u,path:a.path??[]})};for(const o of[...e.seen.entries()].reverse())r(o[0]);const i={};if(e.target==="draft-2020-12"?i.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?i.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?i.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const o=e.external.registry.get(t)?.id;if(!o)throw new Error("Schema is missing an `id` property");i.$id=e.external.uri(o)}Object.assign(i,n.def??n.schema);const s=e.external?.defs??{};for(const o of e.seen.entries()){const a=o[1];a.def&&a.defId&&(s[a.defId]=a.def)}e.external||Object.keys(s).length>0&&(e.target==="draft-2020-12"?i.$defs=s:i.definitions=s);try{const o=JSON.parse(JSON.stringify(i));return Object.defineProperty(o,"~standard",{value:{...t["~standard"],jsonSchema:{input:xa(t,"input",e.processors),output:xa(t,"output",e.processors)}},enumerable:!1,writable:!1}),o}catch{throw new Error("Error converting schema to JSON.")}}function Mt(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const r=e._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return Mt(r.element,n);if(r.type==="set")return Mt(r.valueType,n);if(r.type==="lazy")return Mt(r.getter(),n);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault")return Mt(r.innerType,n);if(r.type==="intersection")return Mt(r.left,n)||Mt(r.right,n);if(r.type==="record"||r.type==="map")return Mt(r.keyType,n)||Mt(r.valueType,n);if(r.type==="pipe")return Mt(r.in,n)||Mt(r.out,n);if(r.type==="object"){for(const i in r.shape)if(Mt(r.shape[i],n))return!0;return!1}if(r.type==="union"){for(const i of r.options)if(Mt(i,n))return!0;return!1}if(r.type==="tuple"){for(const i of r.items)if(Mt(i,n))return!0;return!!(r.rest&&Mt(r.rest,n))}return!1}const wP=(e,t={})=>n=>{const r=jy({...n,processors:t});return st(e,r),Uy(r,e),Fy(r,e)},xa=(e,t,n={})=>r=>{const{libraryOptions:i,target:s}=r??{},o=jy({...i??{},target:s,io:t,processors:n});return st(e,o),Uy(o,e),Fy(o,e)},xP={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},SP=(e,t,n,r)=>{const i=n;i.type="string";const{minimum:s,maximum:o,format:a,patterns:u,contentEncoding:l}=e._zod.bag;if(typeof s=="number"&&(i.minLength=s),typeof o=="number"&&(i.maxLength=o),a&&(i.format=xP[a]??a,i.format===""&&delete i.format,a==="time"&&delete i.format),l&&(i.contentEncoding=l),u&&u.size>0){const c=[...u];c.length===1?i.pattern=c[0].source:c.length>1&&(i.allOf=[...c.map(f=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},EP=(e,t,n,r)=>{const i=n,{minimum:s,maximum:o,format:a,multipleOf:u,exclusiveMaximum:l,exclusiveMinimum:c}=e._zod.bag;typeof a=="string"&&a.includes("int")?i.type="integer":i.type="number",typeof c=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(i.minimum=c,i.exclusiveMinimum=!0):i.exclusiveMinimum=c),typeof s=="number"&&(i.minimum=s,typeof c=="number"&&t.target!=="draft-04"&&(c>=s?delete i.minimum:delete i.exclusiveMinimum)),typeof l=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l),typeof o=="number"&&(i.maximum=o,typeof l=="number"&&t.target!=="draft-04"&&(l<=o?delete i.maximum:delete i.exclusiveMaximum)),typeof u=="number"&&(i.multipleOf=u)},TP=(e,t,n,r)=>{n.type="boolean"},AP=(e,t,n,r)=>{n.not={}},OP=(e,t,n,r)=>{},CP=(e,t,n,r)=>{},kP=(e,t,n,r)=>{const i=e._zod.def,s=yy(i.entries);s.every(o=>typeof o=="number")&&(n.type="number"),s.every(o=>typeof o=="string")&&(n.type="string"),n.enum=s},PP=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},IP=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},NP=(e,t,n,r)=>{const i=n,s=e._zod.def,{minimum:o,maximum:a}=e._zod.bag;typeof o=="number"&&(i.minItems=o),typeof a=="number"&&(i.maxItems=a),i.type="array",i.items=st(s.element,t,{...r,path:[...r.path,"items"]})},RP=(e,t,n,r)=>{const i=n,s=e._zod.def;i.type="object",i.properties={};const o=s.shape;for(const l in o)i.properties[l]=st(o[l],t,{...r,path:[...r.path,"properties",l]});const a=new Set(Object.keys(o)),u=new Set([...a].filter(l=>{const c=s.shape[l]._zod;return t.io==="input"?c.optin===void 0:c.optout===void 0}));u.size>0&&(i.required=Array.from(u)),s.catchall?._zod.def.type==="never"?i.additionalProperties=!1:s.catchall?s.catchall&&(i.additionalProperties=st(s.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):t.io==="output"&&(i.additionalProperties=!1)},$P=(e,t,n,r)=>{const i=e._zod.def,s=i.inclusive===!1,o=i.options.map((a,u)=>st(a,t,{...r,path:[...r.path,s?"oneOf":"anyOf",u]}));s?n.oneOf=o:n.anyOf=o},MP=(e,t,n,r)=>{const i=e._zod.def,s=st(i.left,t,{...r,path:[...r.path,"allOf",0]}),o=st(i.right,t,{...r,path:[...r.path,"allOf",1]}),a=l=>"allOf"in l&&Object.keys(l).length===1,u=[...a(s)?s.allOf:[s],...a(o)?o.allOf:[o]];n.allOf=u},DP=(e,t,n,r)=>{const i=n,s=e._zod.def;i.type="object";const o=s.keyType,u=o._zod.bag?.patterns;if(s.mode==="loose"&&u&&u.size>0){const c=st(s.valueType,t,{...r,path:[...r.path,"patternProperties","*"]});i.patternProperties={};for(const f of u)i.patternProperties[f.source]=c}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(i.propertyNames=st(s.keyType,t,{...r,path:[...r.path,"propertyNames"]})),i.additionalProperties=st(s.valueType,t,{...r,path:[...r.path,"additionalProperties"]});const l=o._zod.values;if(l){const c=[...l].filter(f=>typeof f=="string"||typeof f=="number");c.length>0&&(i.required=c)}},LP=(e,t,n,r)=>{const i=e._zod.def,s=st(i.innerType,t,r),o=t.seen.get(e);t.target==="openapi-3.0"?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[s,{type:"null"}]},jP=(e,t,n,r)=>{const i=e._zod.def;st(i.innerType,t,r);const s=t.seen.get(e);s.ref=i.innerType},UP=(e,t,n,r)=>{const i=e._zod.def;st(i.innerType,t,r);const s=t.seen.get(e);s.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},FP=(e,t,n,r)=>{const i=e._zod.def;st(i.innerType,t,r);const s=t.seen.get(e);s.ref=i.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},zP=(e,t,n,r)=>{const i=e._zod.def;st(i.innerType,t,r);const s=t.seen.get(e);s.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=o},BP=(e,t,n,r)=>{const i=e._zod.def,s=t.io==="input"?i.in._zod.def.type==="transform"?i.out:i.in:i.out;st(s,t,r);const o=t.seen.get(e);o.ref=s},HP=(e,t,n,r)=>{const i=e._zod.def;st(i.innerType,t,r);const s=t.seen.get(e);s.ref=i.innerType,n.readOnly=!0},zy=(e,t,n,r)=>{const i=e._zod.def;st(i.innerType,t,r);const s=t.seen.get(e);s.ref=i.innerType},VP=(e,t,n,r)=>{const i=e._zod.innerType;st(i,t,r);const s=t.seen.get(e);s.ref=i},WP=F("ZodISODateTime",(e,t)=>{HC.init(e,t),tt.init(e,t)});function ZP(e){return Jk(WP,e)}const qP=F("ZodISODate",(e,t)=>{VC.init(e,t),tt.init(e,t)});function KP(e){return Yk(qP,e)}const GP=F("ZodISOTime",(e,t)=>{WC.init(e,t),tt.init(e,t)});function JP(e){return Xk(GP,e)}const YP=F("ZodISODuration",(e,t)=>{ZC.init(e,t),tt.init(e,t)});function XP(e){return Qk(YP,e)}const QP=(e,t)=>{xy.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>DO(e,n)},flatten:{value:n=>MO(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,qu,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,qu,2)}},isEmpty:{get(){return e.issues.length===0}}})},gn=F("ZodError",QP,{Parent:Error}),eI=of(gn),tI=af(gn),nI=nc(gn),rI=rc(gn),iI=UO(gn),sI=FO(gn),oI=zO(gn),aI=BO(gn),cI=HO(gn),uI=VO(gn),lI=WO(gn),fI=ZO(gn),Xe=F("ZodType",(e,t)=>(Je.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:xa(e,"input"),output:xa(e,"output")}}),e.toJSONSchema=wP(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(Rr(t,{checks:[...t.checks??[],...n.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]}),{parent:!0}),e.with=e.check,e.clone=(n,r)=>$r(e,n,r),e.brand=()=>e,e.register=((n,r)=>(n.add(e,r),e)),e.parse=(n,r)=>eI(e,n,r,{callee:e.parse}),e.safeParse=(n,r)=>nI(e,n,r),e.parseAsync=async(n,r)=>tI(e,n,r,{callee:e.parseAsync}),e.safeParseAsync=async(n,r)=>rI(e,n,r),e.spa=e.safeParseAsync,e.encode=(n,r)=>iI(e,n,r),e.decode=(n,r)=>sI(e,n,r),e.encodeAsync=async(n,r)=>oI(e,n,r),e.decodeAsync=async(n,r)=>aI(e,n,r),e.safeEncode=(n,r)=>cI(e,n,r),e.safeDecode=(n,r)=>uI(e,n,r),e.safeEncodeAsync=async(n,r)=>lI(e,n,r),e.safeDecodeAsync=async(n,r)=>fI(e,n,r),e.refine=(n,r)=>e.check(sN(n,r)),e.superRefine=n=>e.check(oN(n)),e.overwrite=n=>e.check(es(n)),e.optional=()=>Jd(e),e.exactOptional=()=>WI(e),e.nullable=()=>Yd(e),e.nullish=()=>Jd(Yd(e)),e.nonoptional=n=>YI(e,n),e.array=()=>Ut(e),e.or=n=>Vy([e,n]),e.and=n=>FI(e,n),e.transform=n=>Xd(e,HI(n)),e.default=n=>KI(e,n),e.prefault=n=>JI(e,n),e.catch=n=>QI(e,n),e.pipe=n=>Xd(e,n),e.readonly=()=>nN(e),e.describe=n=>{const r=e.clone();return As.add(r,{description:n}),r},Object.defineProperty(e,"description",{get(){return As.get(e)?.description},configurable:!0}),e.meta=(...n)=>{if(n.length===0)return As.get(e);const r=e.clone();return As.add(r,n[0]),r},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=n=>n(e),e)),By=F("_ZodString",(e,t)=>{cf.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(r,i,s)=>SP(e,r,i);const n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...r)=>e.check(oP(...r)),e.includes=(...r)=>e.check(uP(...r)),e.startsWith=(...r)=>e.check(lP(...r)),e.endsWith=(...r)=>e.check(fP(...r)),e.min=(...r)=>e.check(wa(...r)),e.max=(...r)=>e.check(Dy(...r)),e.length=(...r)=>e.check(Ly(...r)),e.nonempty=(...r)=>e.check(wa(1,...r)),e.lowercase=r=>e.check(aP(r)),e.uppercase=r=>e.check(cP(r)),e.trim=()=>e.check(dP()),e.normalize=(...r)=>e.check(hP(...r)),e.toLowerCase=()=>e.check(pP()),e.toUpperCase=()=>e.check(gP()),e.slugify=()=>e.check(mP())}),hI=F("ZodString",(e,t)=>{cf.init(e,t),By.init(e,t),e.email=n=>e.check(kk(dI,n)),e.url=n=>e.check($k(pI,n)),e.jwt=n=>e.check(Gk(kI,n)),e.emoji=n=>e.check(Mk(gI,n)),e.guid=n=>e.check(Hd(qd,n)),e.uuid=n=>e.check(Pk(Oo,n)),e.uuidv4=n=>e.check(Ik(Oo,n)),e.uuidv6=n=>e.check(Nk(Oo,n)),e.uuidv7=n=>e.check(Rk(Oo,n)),e.nanoid=n=>e.check(Dk(mI,n)),e.guid=n=>e.check(Hd(qd,n)),e.cuid=n=>e.check(Lk(vI,n)),e.cuid2=n=>e.check(jk(yI,n)),e.ulid=n=>e.check(Uk(_I,n)),e.base64=n=>e.check(Zk(AI,n)),e.base64url=n=>e.check(qk(OI,n)),e.xid=n=>e.check(Fk(bI,n)),e.ksuid=n=>e.check(zk(wI,n)),e.ipv4=n=>e.check(Bk(xI,n)),e.ipv6=n=>e.check(Hk(SI,n)),e.cidrv4=n=>e.check(Vk(EI,n)),e.cidrv6=n=>e.check(Wk(TI,n)),e.e164=n=>e.check(Kk(CI,n)),e.datetime=n=>e.check(ZP(n)),e.date=n=>e.check(KP(n)),e.time=n=>e.check(JP(n)),e.duration=n=>e.check(XP(n))});function ne(e){return Ck(hI,e)}const tt=F("ZodStringFormat",(e,t)=>{Ye.init(e,t),By.init(e,t)}),dI=F("ZodEmail",(e,t)=>{$C.init(e,t),tt.init(e,t)}),qd=F("ZodGUID",(e,t)=>{NC.init(e,t),tt.init(e,t)}),Oo=F("ZodUUID",(e,t)=>{RC.init(e,t),tt.init(e,t)}),pI=F("ZodURL",(e,t)=>{MC.init(e,t),tt.init(e,t)}),gI=F("ZodEmoji",(e,t)=>{DC.init(e,t),tt.init(e,t)}),mI=F("ZodNanoID",(e,t)=>{LC.init(e,t),tt.init(e,t)}),vI=F("ZodCUID",(e,t)=>{jC.init(e,t),tt.init(e,t)}),yI=F("ZodCUID2",(e,t)=>{UC.init(e,t),tt.init(e,t)}),_I=F("ZodULID",(e,t)=>{FC.init(e,t),tt.init(e,t)}),bI=F("ZodXID",(e,t)=>{zC.init(e,t),tt.init(e,t)}),wI=F("ZodKSUID",(e,t)=>{BC.init(e,t),tt.init(e,t)}),xI=F("ZodIPv4",(e,t)=>{qC.init(e,t),tt.init(e,t)}),SI=F("ZodIPv6",(e,t)=>{KC.init(e,t),tt.init(e,t)}),EI=F("ZodCIDRv4",(e,t)=>{GC.init(e,t),tt.init(e,t)}),TI=F("ZodCIDRv6",(e,t)=>{JC.init(e,t),tt.init(e,t)}),AI=F("ZodBase64",(e,t)=>{YC.init(e,t),tt.init(e,t)}),OI=F("ZodBase64URL",(e,t)=>{QC.init(e,t),tt.init(e,t)}),CI=F("ZodE164",(e,t)=>{ek.init(e,t),tt.init(e,t)}),kI=F("ZodJWT",(e,t)=>{nk.init(e,t),tt.init(e,t)}),Hy=F("ZodNumber",(e,t)=>{Ny.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(r,i,s)=>EP(e,r,i),e.gt=(r,i)=>e.check(Wd(r,i)),e.gte=(r,i)=>e.check(zc(r,i)),e.min=(r,i)=>e.check(zc(r,i)),e.lt=(r,i)=>e.check(Vd(r,i)),e.lte=(r,i)=>e.check(Fc(r,i)),e.max=(r,i)=>e.check(Fc(r,i)),e.int=r=>e.check(Kd(r)),e.safe=r=>e.check(Kd(r)),e.positive=r=>e.check(Wd(0,r)),e.nonnegative=r=>e.check(zc(0,r)),e.negative=r=>e.check(Vd(0,r)),e.nonpositive=r=>e.check(Fc(0,r)),e.multipleOf=(r,i)=>e.check(Zd(r,i)),e.step=(r,i)=>e.check(Zd(r,i)),e.finite=()=>e;const n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function dt(e){return eP(Hy,e)}const PI=F("ZodNumberFormat",(e,t)=>{rk.init(e,t),Hy.init(e,t)});function Kd(e){return tP(PI,e)}const II=F("ZodBoolean",(e,t)=>{ik.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>TP(e,n,r)});function Be(e){return nP(II,e)}const NI=F("ZodAny",(e,t)=>{sk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>OP()});function Gd(){return rP(NI)}const RI=F("ZodUnknown",(e,t)=>{ok.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>CP()});function Gu(){return iP(RI)}const $I=F("ZodNever",(e,t)=>{ak.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>AP(e,n,r)});function MI(e){return sP($I,e)}const DI=F("ZodArray",(e,t)=>{ck.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>NP(e,n,r,i),e.element=t.element,e.min=(n,r)=>e.check(wa(n,r)),e.nonempty=n=>e.check(wa(1,n)),e.max=(n,r)=>e.check(Dy(n,r)),e.length=(n,r)=>e.check(Ly(n,r)),e.unwrap=()=>e.element});function Ut(e,t){return vP(DI,e,t)}const LI=F("ZodObject",(e,t)=>{lk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>RP(e,n,r,i),Oe(e,"shape",()=>t.shape),e.keyof=()=>Wy(Object.keys(e._zod.def.shape)),e.catchall=n=>e.clone({...e._zod.def,catchall:n}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Gu()}),e.loose=()=>e.clone({...e._zod.def,catchall:Gu()}),e.strict=()=>e.clone({...e._zod.def,catchall:MI()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=n=>PO(e,n),e.safeExtend=n=>IO(e,n),e.merge=n=>NO(e,n),e.pick=n=>CO(e,n),e.omit=n=>kO(e,n),e.partial=(...n)=>RO(Zy,e,n[0]),e.required=(...n)=>$O(qy,e,n[0])});function Ae(e,t){const n={type:"object",shape:e??{},...fe(t)};return new LI(n)}const jI=F("ZodUnion",(e,t)=>{fk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>$P(e,n,r,i),e.options=t.options});function Vy(e,t){return new jI({type:"union",options:e,...fe(t)})}const UI=F("ZodIntersection",(e,t)=>{hk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>MP(e,n,r,i)});function FI(e,t){return new UI({type:"intersection",left:e,right:t})}const zI=F("ZodRecord",(e,t)=>{dk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>DP(e,n,r,i),e.keyType=t.keyType,e.valueType=t.valueType});function Hi(e,t,n){return new zI({type:"record",keyType:e,valueType:t,...fe(n)})}const Ju=F("ZodEnum",(e,t)=>{pk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(r,i,s)=>kP(e,r,i),e.enum=t.entries,e.options=Object.values(t.entries);const n=new Set(Object.keys(t.entries));e.extract=(r,i)=>{const s={};for(const o of r)if(n.has(o))s[o]=t.entries[o];else throw new Error(`Key ${o} not found in enum`);return new Ju({...t,checks:[],...fe(i),entries:s})},e.exclude=(r,i)=>{const s={...t.entries};for(const o of r)if(n.has(o))delete s[o];else throw new Error(`Key ${o} not found in enum`);return new Ju({...t,checks:[],...fe(i),entries:s})}});function Wy(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new Ju({type:"enum",entries:n,...fe(t)})}const BI=F("ZodTransform",(e,t)=>{gk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>IP(e,n),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new my(e.constructor.name);n.addIssue=s=>{if(typeof s=="string")n.issues.push(Ks(s,n.value,t));else{const o=s;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=n.value),o.inst??(o.inst=e),n.issues.push(Ks(o))}};const i=t.transform(n.value,n);return i instanceof Promise?i.then(s=>(n.value=s,n)):(n.value=i,n)}});function HI(e){return new BI({type:"transform",transform:e})}const Zy=F("ZodOptional",(e,t)=>{My.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>zy(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});function Jd(e){return new Zy({type:"optional",innerType:e})}const VI=F("ZodExactOptional",(e,t)=>{mk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>zy(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});function WI(e){return new VI({type:"optional",innerType:e})}const ZI=F("ZodNullable",(e,t)=>{vk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>LP(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});function Yd(e){return new ZI({type:"nullable",innerType:e})}const qI=F("ZodDefault",(e,t)=>{yk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>UP(e,n,r,i),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function KI(e,t){return new qI({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():by(t)}})}const GI=F("ZodPrefault",(e,t)=>{_k.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>FP(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});function JI(e,t){return new GI({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():by(t)}})}const qy=F("ZodNonOptional",(e,t)=>{bk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>jP(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});function YI(e,t){return new qy({type:"nonoptional",innerType:e,...fe(t)})}const XI=F("ZodCatch",(e,t)=>{wk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>zP(e,n,r,i),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function QI(e,t){return new XI({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const eN=F("ZodPipe",(e,t)=>{xk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>BP(e,n,r,i),e.in=t.in,e.out=t.out});function Xd(e,t){return new eN({type:"pipe",in:e,out:t})}const tN=F("ZodReadonly",(e,t)=>{Sk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>HP(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});function nN(e){return new tN({type:"readonly",innerType:e})}const rN=F("ZodLazy",(e,t)=>{Ek.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>VP(e,n,r,i),e.unwrap=()=>e._zod.def.getter()});function ML(e){return new rN({type:"lazy",getter:e})}const iN=F("ZodCustom",(e,t)=>{Tk.init(e,t),Xe.init(e,t),e._zod.processJSONSchema=(n,r,i)=>PP(e,n)});function sN(e,t={}){return yP(iN,e,t)}function oN(e){return _P(e)}const aN=Ae({url:ne()}),cN=Ae({apiUrl:ne().optional(),authUrl:ne().optional(),clientId:ne().optional(),clientSecret:ne().optional(),logoutUrl:ne().optional(),metaDataUrl:ne().optional(),url:ne().optional()}),uN=Ae({authority:ne().optional(),client_id:ne().optional(),client_secret:ne().optional(),dynamic:ne().optional(),metadata_url:ne().optional(),post_logout_redirect_uri:ne().optional(),response_type:ne().optional(),scope:ne().optional()}).passthrough(),lN=Hi(Gd(),Gd()),fN=Ae({href:ne().optional()}),hN=Ae({async:Be().optional(),src:ne().optional()}),dN=Ae({cernFeatures:Be().optional(),concurrentRequests:Ae({resourceBatchActions:dt().optional(),sse:dt().optional(),shares:Ae({create:dt().optional(),list:dt().optional()}).optional(),avatars:dt().optional()}).optional(),contextHelpers:Be().optional(),contextHelpersReadMore:Be().optional(),defaultAppId:ne().optional(),disabledExtensions:Ut(ne()).optional(),disableFeedbackLink:Be().optional(),accountEditLink:Ae({href:ne().optional()}).optional(),editor:Ae({autosaveEnabled:Be().optional(),autosaveInterval:dt().optional(),openAsPreview:Vy([Be(),Ut(ne())]).optional()}).optional(),embed:Ae({enabled:Be().optional(),target:ne().optional(),messagesOrigin:ne().optional(),delegateAuthentication:Be().optional(),delegateAuthenticationOrigin:ne().optional(),fileTypes:Ut(ne()).optional(),chooseFileName:Be().optional(),chooseFileNameSuggestion:ne().optional()}).optional(),feedbackLink:Ae({ariaLabel:ne().optional(),description:ne().optional(),href:ne().optional()}).optional(),isRunningOnEos:Be().optional(),loginUrl:ne().optional(),logoutUrl:ne().optional(),ocm:Ae({openRemotely:Be().optional()}).optional(),routing:Ae({fullShareOwnerPaths:Be().optional(),idBased:Be().optional()}).optional(),runningOnEos:Be().optional(),tokenStorageLocal:Be().optional(),upload:Ae({companionUrl:ne().optional()}).optional(),userListRequiresFilter:Be().optional(),hideLogo:Be().optional()}),pN=Ae({id:ne(),path:ne(),config:Hi(ne(),Gu()).optional()}),DL=Ae({server:ne(),theme:ne(),options:dN,apps:Ut(ne()).optional(),external_apps:Ut(pN).optional(),customTranslations:Ut(aN).optional(),auth:cN.optional(),openIdConnect:uN.optional(),sentry:lN.optional(),scripts:Ut(hN).optional(),styles:Ut(fN).optional()}),Qd={core:{"support-sse":!1},dav:{},files:{app_providers:[],favorites:!1,permanent_deletion:!0,tags:!1,privateLinks:!1,tus_support:{extension:"",http_method_override:!1,max_chunk_size:0}},files_sharing:{allow_custom:!0,api_enabled:!0,can_rename:!0,deny_access:!1,public:{alias:!1,can_contribute:!0,can_edit:!1,default_permissions:tT.Read,enabled:!0,password:{enforced_for:{read_only:!1,upload_only:!1,read_write:!1}}}},graph:{"personal-data-export":!1,users:{change_password_self_disabled:!0,create_disabled:!1,delete_disabled:!1,read_only_attributes:[],edit_login_allowed_disabled:!1}},notifications:{"ocs-endpoints":[]},password_policy:{},search:{property:{mediatype:{},mtime:{}}},spaces:{enabled:!1,max_quota:0,projects:!1}},LL=ao("capabilities",()=>{const e=Re(!1),t=Re(Qd),n=yt=>{t.value=_l({...Qd},yt.capabilities),e.value=!0},r=ae(()=>Z(t).core["support-sse"]),i=ae(()=>Z(t).core["support-radicale"]),s=ae(()=>Z(t).graph["personal-data-export"]),o=ae(()=>Z(t).core.status),a=ae(()=>Z(t).dav.reports),u=ae(()=>Z(t).dav.trashbin),l=ae(()=>Z(t).spaces.max_quota),c=ae(()=>Z(t).spaces.projects),f=ae(()=>Z(t).graph.users.create_disabled),h=ae(()=>Z(t).graph.users.delete_disabled),d=ae(()=>Z(t).graph.users.change_password_self_disabled),g=ae(()=>Z(t).graph.users.read_only_attributes),p=ae(()=>Z(t).graph.users.edit_login_allowed_disabled),y=ae(()=>Z(t).files.app_providers),w=ae(()=>Z(t).files.favorites),b=ae(()=>Z(t).files.archivers),_=ae(()=>Z(t).files.privateLinks),x=ae(()=>Z(t).files.permanent_deletion),E=ae(()=>Z(t).files.tags),T=ae(()=>Z(t).files.undelete),P=ae(()=>Z(t).files_sharing.api_enabled),R=ae(()=>Z(t).files_sharing.can_rename),C=ae(()=>Z(t).files_sharing.allow_custom),M=ae(()=>Z(t).files_sharing.public?.enabled),W=ae(()=>Z(t).files_sharing.public?.can_edit),U=ae(()=>Z(t).files_sharing.public?.can_contribute),L=ae(()=>Z(t).files_sharing.public?.alias),K=ae(()=>Z(t).files_sharing.public?.default_permissions),re=ae(()=>Z(t).files_sharing.public?.password.enforced_for),q=ae(()=>Z(t).files_sharing.search_min_length),Q=ae(()=>Z(t).files_sharing.user?.profile_picture),J=ae(()=>Z(t).files.tus_support?.max_chunk_size),ve=ae(()=>Z(t).files.tus_support?.extension),nt=ae(()=>Z(t).files.tus_support?.http_method_override),ye=ae(()=>Z(t).notifications["ocs-endpoints"]),$e=ae(()=>Z(t).password_policy),Ie=ae(()=>Z(t).search.property?.mtime),Ne=ae(()=>Z(t).search.property?.mediatype),de=ae(()=>Z(t).search.property?.content);return{isInitialized:e,capabilities:t,setCapabilities:n,status:o,supportSSE:r,supportRadicale:i,personalDataExport:s,davReports:a,davTrashbin:u,spacesMaxQuota:l,spacesProjects:c,graphUsersCreateDisabled:f,graphUsersDeleteDisabled:h,graphUsersChangeSelfPasswordDisabled:d,graphUsersEditLoginAllowedDisabled:p,graphUsersReadOnlyAttributes:g,filesAppProviders:y,filesFavorites:w,filesArchivers:b,filesPrivateLinks:_,filesPermanentDeletion:x,filesTags:E,filesUndelete:T,sharingApiEnabled:P,sharingCanRename:R,sharingAllowCustom:C,sharingPublicEnabled:M,sharingPublicCanEdit:W,sharingPublicCanContribute:U,sharingPublicAlias:L,sharingPublicDefaultPermissions:K,sharingPublicPasswordEnforcedFor:re,sharingSearchMinLength:q,sharingUserProfilePicture:Q,tusMaxChunkSize:J,tusExtension:ve,tusHttpMethodOverride:nt,notificationsOcsEndpoints:ye,passwordPolicy:$e,searchLastMofifiedDate:Ie,searchMediaType:Ne,searchContent:de}});class gN{value;expires;constructor(t,n){this.value=t,this.expires=n?new Date().getTime()+n:0}get expired(){return this.expires>0&&this.expires[t[0],t[1].value])}keys(){return this.evict(),[...this.map.keys()]}has(t){return this.evict(),this.map.has(t)}values(){return this.evict(),[...this.map.values()].map(t=>t.value)}evict(){if(this.map.forEach((t,n)=>{t.expired&&this.delete(n)}),!!this.capacity)for(const[t]of[...this.map.entries()]){if(this.map.size<=this.capacity)break;this.delete(t)}}}const Co=(e,t)=>{t!==void 0&&document.querySelector(":root").style.setProperty("--oc-"+e,t)};var Nn=(e=>(e.Desc="desc",e.Asc="asc",e))(Nn||{});const vN=[{label:"A-Z",name:"name",sortable:!0,sortDir:Nn.Asc},{label:"Z-A",name:"name",sortable:!0,sortDir:Nn.Desc},{label:"Newest",name:"mdate",sortable:e=>new Date(e).valueOf(),sortDir:Nn.Desc},{label:"Oldest",name:"mdate",sortable:e=>new Date(e).valueOf(),sortDir:Nn.Asc},{label:"Largest",name:"size",sortable:!0,sortDir:Nn.Desc},{label:"Smallest",name:"size",sortable:!0,sortDir:Nn.Asc},{label:"Remaining quota",name:"remainingQuota",prop:"spaceQuota.remaining",sortable:!0,sortDir:Nn.Desc},{label:"Total quota",name:"totalQuota",prop:"spaceQuota.total",sortable:!0,sortDir:Nn.Desc},{label:"Used quota",name:"usedQuota",prop:"spaceQuota.used",sortable:!0,sortDir:Nn.Desc}],jL=e=>e?vN.filter(t=>Object.prototype.hasOwnProperty.call(e,t.name)):[],UL=(e,{$gettext:t})=>e.map(n=>({...n,label:t(n.label)})),yN=Ae({icon:ne(),name:ne(),secure_view:Be().optional().default(!1),target_ext:ne().optional()}),_N=Ae({allow_creation:Be().optional(),app_providers:Ut(yN),default_application:ne().optional(),description:ne().optional(),ext:ne().optional(),mime_type:ne(),name:ne().optional()}),FL=Ae({"mime-types":Ut(_N)}),bN=new mN({ttl:10*1e3,capacity:250});class wN{get filePreview(){return bN}}const zL=new wN,BL=Wy(["fit","resize","fill","thumbnail"]);var ds={exports:{}},ko,ep;function ii(){if(ep)return ko;ep=1;var e={},t=typeof self=="object"&&self.self===self&&self||typeof xo=="object"&&xo.global===xo&&xo||ko||{},n=Array.isArray,r=Object.keys,i=Object.prototype,s=i.toString,o=function(p){return function(y){return y?.[p]}},a=Math.pow(2,53)-1,u=o("length"),l=function(p){var y=u(p);return typeof y=="number"&&y>=0&&y<=a},c=["Arguments","Function","String","Number"];function f(p){e["is"+p]=function(y){return s.call(y)==="[object "+p+"]"}}for(var h=0;h=b)return E;switch(E){case"%s":return String(w[y++]);case"%d":return Number(w[y++]);case"%j":try{return JSON.stringify(w[y++])}catch{return"[Circular]"}default:return E}}),x=w[y];y","\\?","@","\\[","\\\\","\\]","\\^","_","`","{","\\|","}","~"].join("|"),n=new RegExp(t);return Bc={validate:function(r){if(!e.isObject(r))throw new Error("options should be an object");if(!e.isArray(r.expressions)||e.isEmpty(r.expressions))throw new Error("contains expects expressions to be a non-empty array");var i=r.expressions.every(function(s){return e.isFunction(s.explain)&&e.isFunction(s.test)});if(!i)throw new Error("contains expressions are invalid: An explain and a test function should be provided");return!0},explain:function(r){return{message:"Should contain:",code:"shouldContain",items:r.expressions.map(function(i){return i.explain()})}},missing:function(r,i){var s=r.expressions.map(function(a){var u=a.explain();return u.verified=a.test(i),u}),o=s.every(function(a){return a.verified});return{message:"Should contain:",code:"shouldContain",verified:o,items:s}},assert:function(r,i){return i?r.expressions.every(function(s){var o=s.test(i);return o}):!1},charsets:{upperCase:{explain:function(){return{message:"upper case letters (A-Z)",code:"upperCase"}},test:function(r){return/[A-Z]/.test(r)}},lowerCase:{explain:function(){return{message:"lower case letters (a-z)",code:"lowerCase"}},test:function(r){return/[a-z]/.test(r)}},specialCharacters:{explain:function(){return{message:"special characters (e.g. !@#$%^&*)",code:"specialCharacters"}},test:function(r){return n.test(r)}},numbers:{explain:function(){return{message:"numbers (i.e. 0-9)",code:"numbers"}},test:function(r){return/\d/.test(r)}}}},Bc}var Hc,np;function xN(){if(np)return Hc;np=1;function e(t){var n=Error.call(this,t);return n.name="PasswordPolicyError",n}return Hc=e,Hc}var Vc,rp;function SN(){if(rp)return Vc;rp=1;var e=ii();function t(r,i){return!!i&&r.minLength<=i.length}function n(r){return r.minLength===1?{message:"Non-empty password required",code:"nonEmpty"}:{message:"At least %d characters in length",format:[r.minLength],code:"lengthAtLeast"}}return Vc={validate:function(r){if(!e.isObject(r))throw new Error("options should be an object");if(!e.isNumber(r.minLength)||e.isNaN(r.minLength))throw new Error("length expects minLength to be a non-zero number");return!0},explain:n,missing:function(r,i){var s=n(r);return s.verified=!!t(r,i),s},assert:t},Vc}var Wc,ip;function EN(){if(ip)return Wc;ip=1;var e=ii(),t=uf();function n(){return"Contain at least %d of the following %d types of characters:"}return Wc={validate:function(r){if(!e.isObject(r))throw new Error("options should be an object");if(!e.isNumber(r.atLeast)||e.isNaN(r.atLeast)||r.atLeast<1)throw new Error("atLeast should be a valid, non-NaN number, greater than 0");if(!e.isArray(r.expressions)||e.isEmpty(r.expressions))throw new Error("expressions should be an non-empty array");if(r.expressions.length=r.atLeast;return{message:n(),code:"containsAtLeast",format:[r.atLeast,r.expressions.length],items:s,verified:a}},assert:function(r,i){if(!i)return!1;var s=r.expressions.filter(function(o){return o.test(i)});return s.length>=r.atLeast},charsets:t.charsets},Wc}var Zc,sp;function TN(){if(sp)return Zc;sp=1;var e=ii();function t(r,i){if(!i)return!1;var s,o={c:null,count:0};for(s=0;sr.max)return!1;return!0}function n(r,i){var s=new Array(r.max+2).join("a"),o={message:'No more than %d identical characters in a row (e.g., "%s" not allowed)',code:"identicalChars",format:[r.max,s]};return i!==void 0&&(o.verified=i),o}return Zc={validate:function(r){if(!e.isObject(r))throw new Error("options should be an object");if(!e.isNumber(r.max)||e.isNaN(r.max)||r.max<1)throw new Error("max should be a number greater than 1");return!0},explain:n,missing:function(r,i){return n(r,t(r,i))},assert:t},Zc}var qc,op;function AN(){if(op)return qc;op=1;var e=ii(),t={Ascending:1,Descending:-1,None:0},n={LowerCaseA:97,LowerCaseZ:122,Zero:48,Nine:57,UpperCaseA:65,UpperCaseZ:90};function r(a){return!e.isNumber(a)||e.isNaN(a)?!1:a>=n.LowerCaseA&&a<=n.LowerCaseZ||a>=n.UpperCaseA&&a<=n.UpperCaseZ?!0:a>=n.Zero&&a<=n.Nine}function i(a,u){if(!u)return!1;for(var l=u.charCodeAt(0),c=r(l)?1:0,f=t.None,h=1;ha.max)return!1}return!0}function s(a,u){for(var l="",c=0;c26)throw new Error("max should be a number less than or equal to 26");return!0}return qc={validate:o,explain:s,missing:function(a,u){return s(a,i(a,u))},assert:i},qc}var Kc,ap;function ON(){if(ap)return Kc;ap=1;var e=ii();function t(s){return s?typeof wo<"u"&&wo&&wo.byteLength?wo.byteLength(s,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(s).length:new Blob([s]).size:0}function n(s,o){if(!o)return!1;var a=t(o);return a<=s.maxBytes}function r(s,o){var a={message:"Maximum password length exceeded",code:"maxLength",format:[s.maxBytes]};return o!==void 0&&(a.verified=o),a}function i(s){if(!e.isObject(s))throw new Error("options should be an object");if(!e.isNumber(s.maxBytes)||e.isNaN(s.maxBytes)||s.maxBytes<1)throw new Error("maxBytes should be a number greater than 0");return!0}return Kc={validate:i,explain:r,missing:function(s,o){return r(s,n(s,o))},assert:n},Kc}var Gc,cp;function CN(){if(cp)return Gc;cp=1;var e=ii().format,t=xN();function n(o){return typeof o=="string"||o instanceof String}var r={length:SN(),contains:uf(),containsAtLeast:EN(),identicalChars:TN(),sequentialChars:AN(),maxLength:ON()};function i(o,a){if(!o.length)return"";function u(c,f){var h=new Array(f+1).join(" "),d=h+"* ";return c.format?d+=e.apply(null,[c.message].concat(c.format)):d+=c.message,c.items&&(d+=` +`+h+i(c.items,f+1)),d}var l=u(o[0],a);return o=o.slice(1).reduce(function(c,f){return c+=` +`+u(f,a),c},l),o}function s(o,a){this.rules=o,this.ruleset=a||r,this._reduce(function(u,l,c){c.validate(l)})}return s.prototype={},s.prototype._reduce=function(o,a){var u=this;return Object.keys(this.rules).reduce(function(l,c){var f=u.rules[c],h=u.ruleset[c];return o(l,f,h)},a)},s.prototype._applyRules=function(o){return this._reduce(function(a,u,l){return!a||!l?!1:l.assert(u,o)},!0)},s.prototype.missing=function(o){return this._reduce(function(a,u,l){var c=l.missing(u,o);return a.rules.push(c),a.verified=a.verified&&!!c.verified,a},{rules:[],verified:!0})},s.prototype.explain=function(){return this._reduce(function(o,a,u){return o.push(u.explain(a)),o},[])},s.prototype.missingAsMarkdown=function(o){return i(this.missing(o),1)},s.prototype.toString=function(){var o=this.explain();return i(o,0)},s.prototype.check=function(o){return n(o)?this._applyRules(o):!1},s.prototype.assert=function(o){if(!this.check(o))throw new t("Password does not meet password policy")},Gc=s,Gc}var up;function kN(){if(up)return ds.exports;up=1;var e=uf().charsets,t=e.upperCase,n=e.lowerCase,r=e.numbers,i=e.specialCharacters,s=CN(),o=new s({length:{minLength:1}}),a=new s({length:{minLength:6}}),u=new s({length:{minLength:8},contains:{expressions:[n,t,r]}}),l=new s({length:{minLength:8},containsAtLeast:{atLeast:3,expressions:[n,t,r,i]}}),c=new s({length:{minLength:10},containsAtLeast:{atLeast:3,expressions:[n,t,r,i]},identicalChars:{max:2}}),f={none:o,low:a,fair:u,good:l,excellent:c};return ds.exports=function(h){var d=f[h]||f.none;return{check:function(g){return d.check(g)},assert:function(g){return d.assert(g)},missing:function(g){return d.missing(g)},missingAsMarkdown:function(g){return d.missingAsMarkdown(g)},explain:function(){return d.explain()},toString:function(){return d.toString()}}},ds.exports.PasswordPolicy=s,ds.exports.charsets=e,ds.exports}var HL=kN();function Ky(e,t){return ja()?(xg(e,t),!0):!1}const Jc=new WeakMap,PN=(...e)=>{var t;const n=e[0],r=(t=Tt())===null||t===void 0?void 0:t.proxy,i=r??ja();if(i==null&&!Wa())throw new Error("injectLocal must be called in setup");return i&&Jc.has(i)&&n in Jc.get(i)?Jc.get(i)[n]:ir(...e)},lf=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const IN=Object.prototype.toString,NN=e=>IN.call(e)==="[object Object]",RN=()=>{};function $N(...e){if(e.length!==1)return zg(...e);const t=e[0];return typeof t=="function"?Gr(Fg(()=>({get:t,set:RN}))):Re(t)}function MN(e,t){function n(...r){return new Promise((i,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(s)})}return n}const Gy=e=>e();function DN(e=Gy,t={}){const{initialState:n="active"}=t,r=$N(n==="active");function i(){r.value=!1}function s(){r.value=!0}return{isActive:Gr(r),pause:i,resume:s,eventFilter:(...a)=>{r.value&&e(...a)}}}function LN(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function lp(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Yc(e){return Array.isArray(e)?e:[e]}function jN(e){return Tt()}function UN(e,t,n={}){const{eventFilter:r=Gy,...i}=n;return hn(e,MN(r,t),i)}function FN(e,t,n={}){const{eventFilter:r,initialState:i="active",...s}=n,{eventFilter:o,pause:a,resume:u,isActive:l}=DN(r,{initialState:i});return{stop:UN(e,t,{...s,eventFilter:o}),pause:a,resume:u,isActive:l}}function Jy(e,t=!0,n){jN()?Yi(e,n):t?e():Ji(e)}function zN(e,t,n={}){const{immediate:r=!0,immediateCallback:i=!1}=n,s=Yt(!1);let o;function a(){o&&(clearTimeout(o),o=void 0)}function u(){s.value=!1,a()}function l(...c){i&&e(),a(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=void 0,e(...c)},Tn(t))}return r&&(s.value=!0,lf&&l()),Ky(u),{isPending:Yw(s),start:l,stop:u}}function BN(e,t,n){return hn(e,t,{...n,immediate:!0})}const Wn=lf?window:void 0,Yy=lf?window.navigator:void 0;function HN(e){var t;const n=Tn(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Nr(...e){const t=(r,i,s,o)=>(r.addEventListener(i,s,o),()=>r.removeEventListener(i,s,o)),n=ae(()=>{const r=Yc(Tn(e[0])).filter(i=>i!=null);return r.every(i=>typeof i!="string")?r:void 0});return BN(()=>{var r,i;return[(r=(i=n.value)===null||i===void 0?void 0:i.map(s=>HN(s)))!==null&&r!==void 0?r:[Wn].filter(s=>s!=null),Yc(Tn(n.value?e[1]:e[0])),Yc(Z(n.value?e[2]:e[1])),Tn(n.value?e[3]:e[2])]},([r,i,s,o],a,u)=>{if(!r?.length||!i?.length||!s?.length)return;const l=NN(o)?{...o}:o,c=r.flatMap(f=>i.flatMap(h=>s.map(d=>t(f,h,d,l))));u(()=>{c.forEach(f=>f())})},{flush:"post"})}function VN(){const e=Yt(!1),t=Tt();return t&&Yi(()=>{e.value=!0},t),e}function ff(e){const t=VN();return ae(()=>(t.value,!!e()))}function WN(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function VL(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:i=Wn,eventName:s="keydown",passive:o=!1,dedupe:a=!1}=r,u=WN(t);return Nr(i,s,c=>{c.repeat&&Tn(a)||u(c)&&n(c)},o)}const ZN=Symbol("vueuse-ssr-width");function qN(){const e=Wa()?PN(ZN,null):null;return typeof e=="number"?e:void 0}function Xy(e,t={}){const{window:n=Wn,ssrWidth:r=qN()}=t,i=ff(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=Yt(typeof r=="number"),o=Yt(),a=Yt(!1),u=l=>{a.value=l.matches};return m1(()=>{if(s.value){s.value=!i.value,a.value=Tn(e).split(",").some(l=>{const c=l.includes("not all"),f=l.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=l.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let d=!!(f||h);return f&&d&&(d=r>=lp(f[1])),h&&d&&(d=r<=lp(h[1])),c?!d:d});return}i.value&&(o.value=n.matchMedia(Tn(e)),a.value=o.value.matches)}),Nr(o,"change",u,{passive:!0}),ae(()=>a.value)}function fp(e,t={}){const{controls:n=!1,navigator:r=Yy}=t,i=ff(()=>r&&"permissions"in r),s=Yt(),o=typeof e=="string"?{name:e}:e,a=Yt(),u=()=>{var c,f;a.value=(c=(f=s.value)===null||f===void 0?void 0:f.state)!==null&&c!==void 0?c:"prompt"};Nr(s,"change",u,{passive:!0});const l=LN(async()=>{if(i.value){if(!s.value)try{s.value=await r.permissions.query(o)}catch{s.value=void 0}finally{u()}if(n)return xe(s.value)}});return l(),n?{state:a,isSupported:i,query:l}:a}function WL(e={}){const{navigator:t=Yy,read:n=!1,source:r,copiedDuring:i=1500,legacy:s=!1}=e,o=ff(()=>t&&"clipboard"in t),a=fp("clipboard-read"),u=fp("clipboard-write"),l=ae(()=>o.value||s),c=Yt(""),f=Yt(!1),h=zN(()=>f.value=!1,i,{immediate:!1});async function d(){let b=!(o.value&&w(a.value));if(!b)try{c.value=await t.clipboard.readText()}catch{b=!0}b&&(c.value=y())}l.value&&n&&Nr(["copy","cut"],d,{passive:!0});async function g(b=Tn(r)){if(l.value&&b!=null){let _=!(o.value&&w(u.value));if(!_)try{await t.clipboard.writeText(b)}catch{_=!0}_&&p(b),c.value=b,f.value=!0,h.start()}}function p(b){const _=document.createElement("textarea");_.value=b,_.style.position="absolute",_.style.opacity="0",_.setAttribute("readonly",""),document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function y(){var b,_,x;return(b=(_=document)===null||_===void 0||(x=_.getSelection)===null||x===void 0||(x=x.call(_))===null||x===void 0?void 0:x.toString())!==null&&b!==void 0?b:""}function w(b){return b==="granted"||b==="prompt"}return{isSupported:l,text:Gr(c),copied:Gr(f),copy:g}}const Po=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof ln<"u"?ln:typeof self<"u"?self:{},Io="__vueuse_ssr_handlers__",KN=GN();function GN(){return Io in Po||(Po[Io]=Po[Io]||{}),Po[Io]}function JN(e,t){return KN[e]||t}function YN(e){return Xy("(prefers-color-scheme: dark)",e)}function XN(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const QN={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},hp="vueuse-storage";function eR(e,t,n,r={}){var i;const{flush:s="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:u=!0,mergeDefaults:l=!1,shallow:c,window:f=Wn,eventFilter:h,onError:d=K=>{console.error(K)},initOnMounted:g}=r,p=(c?Yt:Re)(typeof t=="function"?t():t),y=ae(()=>Tn(e));if(!n)try{n=JN("getDefaultStorage",()=>Wn?.localStorage)()}catch(K){d(K)}if(!n)return p;const w=Tn(t),b=XN(w),_=(i=r.serializer)!==null&&i!==void 0?i:QN[b],{pause:x,resume:E}=FN(p,K=>M(K),{flush:s,deep:o,eventFilter:h});hn(y,()=>U(),{flush:s});let T=!1;const P=K=>{g&&!T||U(K)},R=K=>{g&&!T||L(K)};f&&a&&(n instanceof Storage?Nr(f,"storage",P,{passive:!0}):Nr(f,hp,R)),g?Jy(()=>{T=!0,U()}):U();function C(K,re){if(f){const q={key:y.value,oldValue:K,newValue:re,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",q):new CustomEvent(hp,{detail:q}))}}function M(K){try{const re=n.getItem(y.value);if(K==null)C(re,null),n.removeItem(y.value);else{const q=_.write(K);re!==q&&(n.setItem(y.value,q),C(re,q))}}catch(re){d(re)}}function W(K){const re=K?K.newValue:n.getItem(y.value);if(re==null)return u&&w!=null&&n.setItem(y.value,_.write(w)),w;if(!K&&l){const q=_.read(re);return typeof l=="function"?l(q,w):b==="object"&&!Array.isArray(q)?{...w,...q}:q}else return typeof re!="string"?re:_.read(re)}function U(K){if(!(K&&K.storageArea!==n)){if(K&&K.key==null){p.value=w;return}if(!(K&&K.key!==y.value)){x();try{const re=_.write(p.value);(K===void 0||K?.newValue!==re)&&(p.value=W(K))}catch(re){d(re)}finally{K?Ji(E):E()}}}}function L(K){U(K.detail)}return p}function tR(e,t,n={}){const{window:r=Wn}=n;return eR(e,t,r?.localStorage,n)}function ZL(e,t,n){const{window:r=Wn}={},i=Re(null),s=Yt(),o=(...u)=>{s.value&&s.value.postMessage(...u)},a=function(){s.value&&s.value.terminate()};return r&&(typeof e=="string"?s.value=new Worker(e,t):typeof e=="function"?s.value=e():s.value=e,s.value.onmessage=u=>{i.value=u.data},Ky(()=>{s.value&&s.value.terminate()})),{data:i,post:o,terminate:a,worker:s}}function qL(e={}){const{window:t=Wn,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:s=!0,type:o="inner"}=e,a=Yt(n),u=Yt(r),l=()=>{if(t)if(o==="outer")a.value=t.outerWidth,u.value=t.outerHeight;else if(o==="visual"&&t.visualViewport){const{width:f,height:h,scale:d}=t.visualViewport;a.value=Math.round(f*d),u.value=Math.round(h*d)}else s?(a.value=t.innerWidth,u.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight)};l(),Jy(l);const c={passive:!0};return Nr("resize",l,c),t&&o==="visual"&&t.visualViewport&&Nr(t.visualViewport,"resize",l,c),i&&hn(Xy("(orientation: portrait)"),()=>l()),{width:a,height:u}}const nR=Ae({maxMailboxDepth:dt(),maxSizeMailboxName:dt(),maxMailboxesPerEmail:dt(),maxSizeAttachmentsPerEmail:dt(),mayCreateTopLevelMailbox:Be(),maxDelayedSend:dt()}),rR=Ae({maxSizeScriptName:dt(),maxSizeScript:dt(),maxNumberScripts:dt(),maxNumberRedirects:dt()}),iR=Ae({mail:nR.optional(),sieve:rR.optional()}),sR=Ae({id:ne(),name:ne(),email:ne().email(),mayDelete:Be()}),oR=Ae({accountId:ne(),name:ne(),isPersonal:Be(),isReadOnly:Be(),capabilities:iR,identities:Ut(sR)}),aR=Ae({maxSizeUpload:dt(),maxConcurrentUpload:dt(),maxSizeRequest:dt(),maxConcurrentRequests:dt()}),cR=Ut(oR),uR=Hi(ne(),ne()),KL=Ae({version:ne(),capabilities:Ut(ne()),limits:aR,accounts:cR,primaryAccounts:uR});var Xc,dp;function lR(){if(dp)return Xc;dp=1;var e=function(b){return t(b)&&!n(b)};function t(w){return!!w&&typeof w=="object"}function n(w){var b=Object.prototype.toString.call(w);return b==="[object RegExp]"||b==="[object Date]"||s(w)}var r=typeof Symbol=="function"&&Symbol.for,i=r?Symbol.for("react.element"):60103;function s(w){return w.$$typeof===i}function o(w){return Array.isArray(w)?[]:{}}function a(w,b){return b.clone!==!1&&b.isMergeableObject(w)?p(o(w),w,b):w}function u(w,b,_){return w.concat(b).map(function(x){return a(x,_)})}function l(w,b){if(!b.customMerge)return p;var _=b.customMerge(w);return typeof _=="function"?_:p}function c(w){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(w).filter(function(b){return Object.propertyIsEnumerable.call(w,b)}):[]}function f(w){return Object.keys(w).concat(c(w))}function h(w,b){try{return b in w}catch{return!1}}function d(w,b){return h(w,b)&&!(Object.hasOwnProperty.call(w,b)&&Object.propertyIsEnumerable.call(w,b))}function g(w,b,_){var x={};return _.isMergeableObject(w)&&f(w).forEach(function(E){x[E]=a(w[E],_)}),f(b).forEach(function(E){d(w,E)||(h(w,E)&&_.isMergeableObject(b[E])?x[E]=l(E,_)(w[E],b[E],_):x[E]=a(b[E],_))}),x}function p(w,b,_){_=_||{},_.arrayMerge=_.arrayMerge||u,_.isMergeableObject=_.isMergeableObject||e,_.cloneUnlessOtherwiseSpecified=a;var x=Array.isArray(b),E=Array.isArray(w),T=x===E;return T?x?_.arrayMerge(w,b,_):g(w,b,_):a(b,_)}p.all=function(b,_){if(!Array.isArray(b))throw new Error("first argument should be an array");return b.reduce(function(x,E){return p(x,E,_)},{})};var y=p;return Xc=y,Xc}var fR=lR();const pp=Ja(fR),Qy=Ae({name:ne().optional(),slogan:ne().optional(),logo:ne().optional(),logoMobile:ne().optional(),urls:Ae({accessDeniedHelp:ne().optional(),imprint:ne().optional(),privacy:ne().optional(),accessibility:ne().optional()}).optional(),shareRoles:Hi(ne(),Ae({iconName:ne()})).optional()}),hR=Ae({roles:Hi(ne(),ne()).optional(),colorPalette:Hi(ne(),ne()).optional(),fontFamily:ne().optional()}),e_=Qy.extend({designTokens:hR.optional(),favicon:ne().optional(),background:ne().optional()}),dR=e_.extend({isDark:Be(),label:ne()}),pR=Ae({defaults:e_,themes:Ut(dR)}),GL=Ae({common:Qy.optional(),clients:Ae({web:pR})}),gR="oc_currentThemeName",mR=e=>{let t=document.querySelector("link[rel~='icon']");t||(t=document.createElement("link"),t.rel="icon",document.head.appendChild(t)),t.href=e},JL=ao("theme",()=>{const e=tR(gR,null),t=YN(),n=Re(),r=Re([]),i=c=>{const f=c.common,h=c.clients.web.defaults,d=pp(f,h);r.value=c.clients.web.themes.map(g=>pp(d,g)),s()},s=()=>{const c=Z(r).find(h=>!h.isDark),f=Z(r).find(h=>h.isDark);u(Z(r).find(h=>h.label===Z(e))||(Z(t)?f:c)||Z(r)[0],!1)},o=()=>{e.value=null,s()},a=ae(()=>e.value===null),u=(c,f=!0)=>{n.value=c,f&&(e.value=Z(n).label);const h=[{name:"roles",prefix:"role"},{name:"colorPalette",prefix:"color"}];Co("font-family",Z(n).designTokens.fontFamily),h.forEach(d=>{for(const g in Z(n).designTokens[d.name])Co(`${d.prefix}-${eT(g)}`,Z(n).designTokens[d.name][g])}),Z(n).designTokens?.roles?.chrome||(Co("role-chrome",Z(n).designTokens?.roles?.surfaceContainer),Co("role-on-chrome",Z(n).designTokens?.roles?.onSurface)),Z(n).favicon&&mR(Z(n).favicon)};return{availableThemes:r,currentTheme:n,initializeThemes:i,setAndApplyTheme:u,setAutoSystemTheme:o,isCurrentThemeAutoSystem:a,getRoleIcon:c=>Z(n).shareRoles[c.id]?.iconName||"user"}}),vR=(e,t=void 0)=>{const n=window.localStorage.getItem(e),r=Re(t);if(n)try{r.value=JSON.parse(n)}catch{r.value=n}return hn(()=>Z(r),(i,s)=>{i!==s&&(i!==void 0?window.localStorage.setItem(e,typeof i=="string"?i:JSON.stringify(i)):window.localStorage.removeItem(e))},{deep:!0}),r},yR=(e={})=>{const t=e.router||py(),n=e.configStore||gy();return{replaceInvalidFileRoute:({space:i,resource:s,path:o,fileId:a})=>{if(!n.options.routing?.idBased||o===s.path&&a===s.fileId)return!1;const u=bO(i,s,{configStore:n});return t.replace(u),!0}}};let gp=Promise.resolve();const _R=(e,t)=>{const n=py();return ae({get(){return Z(n.currentRoute).query[e]||t},set(r){if(Z(n.currentRoute).query[e]===r)return;gp=gp.then(async()=>{try{await n.replace({path:Z(n.currentRoute).path,query:{...Z(n.currentRoute).query,[e]:r}})}catch{}})}})},t_=e=>{const t=_R(e.name),n=vR(bR(e));return hn(()=>Z(t)?{value:Z(t),source:"route"}:Z(n)?{value:Z(n),source:"storage"}:{value:e.defaultValue,source:"default"},r=>{["route","default"].includes(r.source)&&(n.value=r.value===e.defaultValue?void 0:sc(r.value)),["storage","default"].includes(r.source)&&(t.value=r.value)},{immediate:!0}),t},bR=e=>["oc-options",e.storagePrefix,e.name].filter(Boolean).join("_"),n_="contextRouteName",r_="contextRouteParams",i_="contextRouteQuery",YL=e=>{const{params:t,query:n}=e,r={},i=["fileId","shareId","q_share-visibility","page"].concat(e.meta?.contextQueryItems||[]);for(const s of i)r[s]=n[s];return{[n_]:e.name,[r_]:t,[i_]:r}},XL=e=>({routeName:sc(e[n_]),routeParams:e[r_],routeQuery:e[i_]}),sc=e=>Array.isArray(e)?e[0].toString():e?.toString();function QL({router:e,currentFileContext:t}){const n=a=>{const{fileName:u,routeName:l,routeParams:c,routeQuery:f}=Z(a);return Z(l)?e.push({name:Z(l),params:Z(c),query:{...Z(f),scrollTo:Z(u)}}):e.push({path:"/"})},{replaceInvalidFileRoute:r}=yR({router:e}),i=(a,u)=>{const l=Z(a);return r({space:Z(l.space),resource:u,path:Z(l.item),fileId:Z(l.itemId)})},s=Re(!1);return{replaceInvalidFileRoute:i,closeApp:()=>(s.value=!0,n(t)),closed:s}}class Os extends Error{}Os.prototype.name="InvalidTokenError";function wR(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}function xR(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return wR(t)}catch{return atob(t)}}function SR(e,t){if(typeof e!="string")throw new Os("Invalid token specified: must be a string");t||(t={});const n=t.header===!0?0:1,r=e.split(".")[n];if(typeof r!="string")throw new Os(`Invalid token specified: missing part #${n+1}`);let i;try{i=xR(r)}catch(s){throw new Os(`Invalid token specified: invalid base64 for part #${n+1} (${s.message})`)}try{return JSON.parse(i)}catch(s){throw new Os(`Invalid token specified: invalid json for part #${n+1} (${s.message})`)}}var ER={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},Dn,Ln,Sa=(e=>(e[e.NONE=0]="NONE",e[e.ERROR=1]="ERROR",e[e.WARN=2]="WARN",e[e.INFO=3]="INFO",e[e.DEBUG=4]="DEBUG",e))(Sa||{});(e=>{function t(){Dn=3,Ln=ER}e.reset=t;function n(i){if(!(0<=i&&i<=4))throw new Error("Invalid log level");Dn=i}e.setLevel=n;function r(i){Ln=i}e.setLogger=r})(Sa||(Sa={}));var Ee=class Rn{constructor(t){this._name=t}debug(...t){Dn>=4&&Ln.debug(Rn._format(this._name,this._method),...t)}info(...t){Dn>=3&&Ln.info(Rn._format(this._name,this._method),...t)}warn(...t){Dn>=2&&Ln.warn(Rn._format(this._name,this._method),...t)}error(...t){Dn>=1&&Ln.error(Rn._format(this._name,this._method),...t)}throw(t){throw this.error(t),t}create(t){const n=Object.create(this);return n._method=t,n.debug("begin"),n}static createStatic(t,n){const r=new Rn(`${t}.${n}`);return r.debug("begin"),r}static _format(t,n){const r=`[${t}]`;return n?`${r} ${n}:`:r}static debug(t,...n){Dn>=4&&Ln.debug(Rn._format(t),...n)}static info(t,...n){Dn>=3&&Ln.info(Rn._format(t),...n)}static warn(t,...n){Dn>=2&&Ln.warn(Rn._format(t),...n)}static error(t,...n){Dn>=1&&Ln.error(Rn._format(t),...n)}};Sa.reset();var Gs=class{static decode(e){try{return SR(e)}catch(t){throw Ee.error("JwtUtils.decode",t),t}}static async generateSignedJwt(e,t,n){const r=ct.encodeBase64Url(new TextEncoder().encode(JSON.stringify(e))),i=ct.encodeBase64Url(new TextEncoder().encode(JSON.stringify(t))),s=`${r}.${i}`,o=await window.crypto.subtle.sign({name:"ECDSA",hash:{name:"SHA-256"}},n,new TextEncoder().encode(s)),a=ct.encodeBase64Url(new Uint8Array(o));return`${s}.${a}`}static async generateSignedJwtWithHmac(e,t,n){const r=ct.encodeBase64Url(new TextEncoder().encode(JSON.stringify(e))),i=ct.encodeBase64Url(new TextEncoder().encode(JSON.stringify(t))),s=`${r}.${i}`,o=await window.crypto.subtle.sign("HMAC",n,new TextEncoder().encode(s)),a=ct.encodeBase64Url(new Uint8Array(o));return`${s}.${a}`}},TR="10000000-1000-4000-8000-100000000000",Yu=e=>btoa([...new Uint8Array(e)].map(t=>String.fromCharCode(t)).join("")),s_=class bn{static _randomWord(){const t=new Uint32Array(1);return crypto.getRandomValues(t),t[0]}static generateUUIDv4(){return TR.replace(/[018]/g,n=>(+n^bn._randomWord()&15>>+n/4).toString(16)).replace(/-/g,"")}static generateCodeVerifier(){return bn.generateUUIDv4()+bn.generateUUIDv4()+bn.generateUUIDv4()}static async generateCodeChallenge(t){if(!crypto.subtle)throw new Error("Crypto.subtle is available only in secure contexts (HTTPS).");try{const r=new TextEncoder().encode(t),i=await crypto.subtle.digest("SHA-256",r);return Yu(i).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch(n){throw Ee.error("CryptoUtils.generateCodeChallenge",n),n}}static generateBasicAuth(t,n){const i=new TextEncoder().encode([t,n].join(":"));return Yu(i)}static async hash(t,n){const r=new TextEncoder().encode(n),i=await crypto.subtle.digest(t,r);return new Uint8Array(i)}static async customCalculateJwkThumbprint(t){let n;switch(t.kty){case"RSA":n={e:t.e,kty:t.kty,n:t.n};break;case"EC":n={crv:t.crv,kty:t.kty,x:t.x,y:t.y};break;case"OKP":n={crv:t.crv,kty:t.kty,x:t.x};break;case"oct":n={crv:t.k,kty:t.kty};break;default:throw new Error("Unknown jwk type")}const r=await bn.hash("SHA-256",JSON.stringify(n));return bn.encodeBase64Url(r)}static async generateDPoPProof({url:t,accessToken:n,httpMethod:r,keyPair:i,nonce:s}){let o,a;const u={jti:window.crypto.randomUUID(),htm:r??"GET",htu:t,iat:Math.floor(Date.now()/1e3)};n&&(o=await bn.hash("SHA-256",n),a=bn.encodeBase64Url(o),u.ath=a),s&&(u.nonce=s);try{const l=await crypto.subtle.exportKey("jwk",i.publicKey),c={alg:"ES256",typ:"dpop+jwt",jwk:{crv:l.crv,kty:l.kty,x:l.x,y:l.y}};return await Gs.generateSignedJwt(c,u,i.privateKey)}catch(l){throw l instanceof TypeError?new Error(`Error exporting dpop public key: ${l.message}`):l}}static async generateDPoPJkt(t){try{const n=await crypto.subtle.exportKey("jwk",t.publicKey);return await bn.customCalculateJwkThumbprint(n)}catch(n){throw n instanceof TypeError?new Error(`Could not retrieve dpop keys from storage: ${n.message}`):n}}static async generateDPoPKeys(){return await window.crypto.subtle.generateKey({name:"ECDSA",namedCurve:"P-256"},!1,["sign","verify"])}static async generateClientAssertionJwt(t,n,r,i="HS256"){const s=Math.floor(Date.now()/1e3),o={alg:i,typ:"JWT"},a={iss:t,sub:t,aud:r,jti:bn.generateUUIDv4(),exp:s+300,iat:s},l={HS256:"SHA-256",HS384:"SHA-384",HS512:"SHA-512"}[i];if(!l)throw new Error(`Unsupported algorithm: ${i}. Supported algorithms are: HS256, HS384, HS512`);const c=new TextEncoder,f=await crypto.subtle.importKey("raw",c.encode(n),{name:"HMAC",hash:l},!1,["sign"]);return await Gs.generateSignedJwtWithHmac(o,a,f)}};s_.encodeBase64Url=e=>Yu(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");var ct=s_,Sr=class{constructor(t){this._name=t,this._callbacks=[],this._logger=new Ee(`Event('${this._name}')`)}addHandler(t){return this._callbacks.push(t),()=>this.removeHandler(t)}removeHandler(t){const n=this._callbacks.lastIndexOf(t);n>=0&&this._callbacks.splice(n,1)}async raise(...t){this._logger.debug("raise:",...t);for(const n of this._callbacks)await n(...t)}},mp=class{static center({...e}){var t,n,r;return e.width==null&&(e.width=(t=[800,720,600,480].find(i=>i<=window.outerWidth/1.618))!=null?t:360),(n=e.left)!=null||(e.left=Math.max(0,Math.round(window.screenX+(window.outerWidth-e.width)/2))),e.height!=null&&((r=e.top)!=null||(e.top=Math.max(0,Math.round(window.screenY+(window.outerHeight-e.height)/2)))),e}static serialize(e){return Object.entries(e).filter(([,t])=>t!=null).map(([t,n])=>`${t}=${typeof n!="boolean"?n:n?"yes":"no"}`).join(",")}},fr=class Bo extends Sr{constructor(){super(...arguments),this._logger=new Ee(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{const t=this._expiration-Bo.getEpochTime();this._logger.debug("timer completes in",t),this._expiration<=Bo.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(t){const n=this._logger.create("init");t=Math.max(Math.floor(t),1);const r=Bo.getEpochTime()+t;if(this.expiration===r&&this._timerHandle){n.debug("skipping since already initialized for expiration at",this.expiration);return}this.cancel(),n.debug("using duration",t),this._expiration=r;const i=Math.min(t,5);this._timerHandle=setInterval(this._callback,i*1e3)}get expiration(){return this._expiration}cancel(){this._logger.create("cancel"),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}},Xu=class{static readParams(e,t="query"){if(!e)throw new TypeError("Invalid URL");const r=new URL(e,"http://127.0.0.1")[t==="fragment"?"hash":"search"];return new URLSearchParams(r.slice(1))}},Vi=";",Xr=class extends Error{constructor(e,t){var n,r,i;if(super(e.error_description||e.error||""),this.form=t,this.name="ErrorResponse",!e.error)throw Ee.error("ErrorResponse","No error passed"),new Error("No error passed");this.error=e.error,this.error_description=(n=e.error_description)!=null?n:null,this.error_uri=(r=e.error_uri)!=null?r:null,this.state=e.userState,this.session_state=(i=e.session_state)!=null?i:null,this.url_state=e.url_state}},hf=class extends Error{constructor(e){super(e),this.name="ErrorTimeout"}},AR=class{constructor(e){this._logger=new Ee("AccessTokenEvents"),this._expiringTimer=new fr("Access token expiring"),this._expiredTimer=new fr("Access token expired"),this._expiringNotificationTimeInSeconds=e.expiringNotificationTimeInSeconds}async load(e){const t=this._logger.create("load");if(e.access_token&&e.expires_in!==void 0){const n=e.expires_in;if(t.debug("access token present, remaining duration:",n),n>0){let i=n-this._expiringNotificationTimeInSeconds;i<=0&&(i=1),t.debug("registering expiring timer, raising in",i,"seconds"),this._expiringTimer.init(i)}else t.debug("canceling existing expiring timer because we're past expiration."),this._expiringTimer.cancel();const r=n+1;t.debug("registering expired timer, raising in",r,"seconds"),this._expiredTimer.init(r)}else this._expiringTimer.cancel(),this._expiredTimer.cancel()}async unload(){this._logger.debug("unload: canceling existing access token timers"),this._expiringTimer.cancel(),this._expiredTimer.cancel()}addAccessTokenExpiring(e){return this._expiringTimer.addHandler(e)}removeAccessTokenExpiring(e){this._expiringTimer.removeHandler(e)}addAccessTokenExpired(e){return this._expiredTimer.addHandler(e)}removeAccessTokenExpired(e){this._expiredTimer.removeHandler(e)}},OR=class{constructor(e,t,n,r,i){this._callback=e,this._client_id=t,this._intervalInSeconds=r,this._stopOnError=i,this._logger=new Ee("CheckSessionIFrame"),this._timer=null,this._session_state=null,this._message=o=>{o.origin===this._frame_origin&&o.source===this._frame.contentWindow&&(o.data==="error"?(this._logger.error("error message from check session op iframe"),this._stopOnError&&this.stop()):o.data==="changed"?(this._logger.debug("changed message from check session op iframe"),this.stop(),this._callback()):this._logger.debug(o.data+" message from check session op iframe"))};const s=new URL(n);this._frame_origin=s.origin,this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="fixed",this._frame.style.left="-1000px",this._frame.style.top="0",this._frame.width="0",this._frame.height="0",this._frame.src=s.href}load(){return new Promise(e=>{this._frame.onload=()=>{e()},window.document.body.appendChild(this._frame),window.addEventListener("message",this._message,!1)})}start(e){if(this._session_state===e)return;this._logger.create("start"),this.stop(),this._session_state=e;const t=()=>{!this._frame.contentWindow||!this._session_state||this._frame.contentWindow.postMessage(this._client_id+" "+this._session_state,this._frame_origin)};t(),this._timer=setInterval(t,this._intervalInSeconds*1e3)}stop(){this._logger.create("stop"),this._session_state=null,this._timer&&(clearInterval(this._timer),this._timer=null)}},o_=class{constructor(){this._logger=new Ee("InMemoryWebStorage"),this._data={}}clear(){this._logger.create("clear"),this._data={}}getItem(e){return this._logger.create(`getItem('${e}')`),this._data[e]}setItem(e,t){this._logger.create(`setItem('${e}')`),this._data[e]=t}removeItem(e){this._logger.create(`removeItem('${e}')`),delete this._data[e]}get length(){return Object.getOwnPropertyNames(this._data).length}key(e){return Object.getOwnPropertyNames(this._data)[e]}},Qu=class extends Error{constructor(e,t){super(t),this.name="ErrorDPoPNonce",this.nonce=e}},df=class{constructor(e=[],t=null,n={}){this._jwtHandler=t,this._extraHeaders=n,this._logger=new Ee("JsonService"),this._contentTypes=[],this._contentTypes.push(...e,"application/json"),t&&this._contentTypes.push("application/jwt")}async fetchWithTimeout(e,t={}){const{timeoutInSeconds:n,...r}=t;if(!n)return await fetch(e,r);const i=new AbortController,s=setTimeout(()=>i.abort(),n*1e3);try{return await fetch(e,{...t,signal:i.signal})}catch(o){throw o instanceof DOMException&&o.name==="AbortError"?new hf("Network timed out"):o}finally{clearTimeout(s)}}async getJson(e,{token:t,credentials:n,timeoutInSeconds:r}={}){const i=this._logger.create("getJson"),s={Accept:this._contentTypes.join(", ")};t&&(i.debug("token passed, setting Authorization header"),s.Authorization="Bearer "+t),this._appendExtraHeaders(s);let o;try{i.debug("url:",e),o=await this.fetchWithTimeout(e,{method:"GET",headers:s,timeoutInSeconds:r,credentials:n})}catch(l){throw i.error("Network Error"),l}i.debug("HTTP response received, status",o.status);const a=o.headers.get("Content-Type");if(a&&!this._contentTypes.find(l=>a.startsWith(l))&&i.throw(new Error(`Invalid response Content-Type: ${a??"undefined"}, from URL: ${e}`)),o.ok&&this._jwtHandler&&a?.startsWith("application/jwt"))return await this._jwtHandler(await o.text());let u;try{u=await o.json()}catch(l){throw i.error("Error parsing JSON response",l),o.ok?l:new Error(`${o.statusText} (${o.status})`)}if(!o.ok)throw i.error("Error from server:",u),u.error?new Xr(u):new Error(`${o.statusText} (${o.status}): ${JSON.stringify(u)}`);return u}async postForm(e,{body:t,basicAuth:n,timeoutInSeconds:r,initCredentials:i,extraHeaders:s}){const o=this._logger.create("postForm"),a={Accept:this._contentTypes.join(", "),"Content-Type":"application/x-www-form-urlencoded",...s};n!==void 0&&(a.Authorization="Basic "+n),this._appendExtraHeaders(a);let u;try{o.debug("url:",e),u=await this.fetchWithTimeout(e,{method:"POST",headers:a,body:t,timeoutInSeconds:r,credentials:i})}catch(h){throw o.error("Network error"),h}o.debug("HTTP response received, status",u.status);const l=u.headers.get("Content-Type");if(l&&!this._contentTypes.find(h=>l.startsWith(h)))throw new Error(`Invalid response Content-Type: ${l??"undefined"}, from URL: ${e}`);const c=await u.text();let f={};if(c)try{f=JSON.parse(c)}catch(h){throw o.error("Error parsing JSON response",h),u.ok?h:new Error(`${u.statusText} (${u.status})`)}if(!u.ok){if(o.error("Error from server:",f),u.headers.has("dpop-nonce")){const h=u.headers.get("dpop-nonce");throw new Qu(h,`${JSON.stringify(f)}`)}throw f.error?new Xr(f,t):new Error(`${u.statusText} (${u.status}): ${JSON.stringify(f)}`)}return f}_appendExtraHeaders(e){const t=this._logger.create("appendExtraHeaders"),n=Object.keys(this._extraHeaders),r=["accept","content-type"],i=["authorization"];n.length!==0&&n.forEach(s=>{if(r.includes(s.toLocaleLowerCase())){t.warn("Protected header could not be set",s,r);return}if(i.includes(s.toLocaleLowerCase())&&Object.keys(e).includes(s)){t.warn("Header could not be overridden",s,i);return}const o=typeof this._extraHeaders[s]=="function"?this._extraHeaders[s]():this._extraHeaders[s];o&&o!==""&&(e[s]=o)})}},CR=class{constructor(e){this._settings=e,this._logger=new Ee("MetadataService"),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new df(["application/jwk-set+json"],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug("using signingKeys from settings"),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug("using metadata from settings"),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug("using fetchRequestCredentials from settings"),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}async getMetadata(){const e=this._logger.create("getMetadata");if(this._metadata)return e.debug("using cached values"),this._metadata;if(!this._metadataUrl)throw e.throw(new Error("No authority or metadataUrl configured on settings")),null;e.debug("getting metadata from",this._metadataUrl);const t=await this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return e.debug("merging remote JSON with seed metadata"),this._metadata=Object.assign({},t,this._settings.metadataSeed),this._metadata}getIssuer(){return this._getMetadataProperty("issuer")}getAuthorizationEndpoint(){return this._getMetadataProperty("authorization_endpoint")}getUserInfoEndpoint(){return this._getMetadataProperty("userinfo_endpoint")}getTokenEndpoint(e=!0){return this._getMetadataProperty("token_endpoint",e)}getCheckSessionIframe(){return this._getMetadataProperty("check_session_iframe",!0)}getEndSessionEndpoint(){return this._getMetadataProperty("end_session_endpoint",!0)}getRevocationEndpoint(e=!0){return this._getMetadataProperty("revocation_endpoint",e)}getKeysEndpoint(e=!0){return this._getMetadataProperty("jwks_uri",e)}async _getMetadataProperty(e,t=!1){const n=this._logger.create(`_getMetadataProperty('${e}')`),r=await this.getMetadata();if(n.debug("resolved"),r[e]===void 0){if(t===!0){n.warn("Metadata does not contain optional property");return}n.throw(new Error("Metadata does not contain property "+e))}return r[e]}async getSigningKeys(){const e=this._logger.create("getSigningKeys");if(this._signingKeys)return e.debug("returning signingKeys from cache"),this._signingKeys;const t=await this.getKeysEndpoint(!1);e.debug("got jwks_uri",t);const n=await this._jsonService.getJson(t,{timeoutInSeconds:this._settings.requestTimeoutInSeconds});if(e.debug("got key set",n),!Array.isArray(n.keys))throw e.throw(new Error("Missing keys on keyset")),null;return this._signingKeys=n.keys,this._signingKeys}},a_=class{constructor({prefix:e="oidc.",store:t=localStorage}={}){this._logger=new Ee("WebStorageStateStore"),this._store=t,this._prefix=e}async set(e,t){this._logger.create(`set('${e}')`),e=this._prefix+e,await this._store.setItem(e,t)}async get(e){return this._logger.create(`get('${e}')`),e=this._prefix+e,await this._store.getItem(e)}async remove(e){this._logger.create(`remove('${e}')`),e=this._prefix+e;const t=await this._store.getItem(e);return await this._store.removeItem(e),t}async getAllKeys(){this._logger.create("getAllKeys");const e=await this._store.length,t=[];for(let n=0;n{const r=this._logger.create("_getClaimsFromJwt");try{const i=Gs.decode(n);return r.debug("JWT decoding successful"),i}catch(i){throw r.error("Error parsing JWT response"),i}},this._jsonService=new df(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}async getClaims(e){const t=this._logger.create("getClaims");e||this._logger.throw(new Error("No token passed"));const n=await this._metadataService.getUserInfoEndpoint();t.debug("got userinfo url",n);const r=await this._jsonService.getJson(n,{token:e,credentials:this._settings.fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return t.debug("got claims",r),r}},c_=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new Ee("TokenClient"),this._jsonService=new df(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}async exchangeCode({grant_type:e="authorization_code",redirect_uri:t=this._settings.redirect_uri,client_id:n=this._settings.client_id,client_secret:r=this._settings.client_secret,extraHeaders:i,...s}){const o=this._logger.create("exchangeCode");n||o.throw(new Error("A client_id is required")),t||o.throw(new Error("A redirect_uri is required")),s.code||o.throw(new Error("A code is required"));const a=new URLSearchParams({grant_type:e,redirect_uri:t});for(const[f,h]of Object.entries(s))h!=null&&a.set(f,h);if((this._settings.client_authentication==="client_secret_basic"||this._settings.client_authentication==="client_secret_jwt")&&r==null)throw o.throw(new Error("A client_secret is required")),null;let u;const l=await this._metadataService.getTokenEndpoint(!1);switch(this._settings.client_authentication){case"client_secret_basic":u=ct.generateBasicAuth(n,r);break;case"client_secret_post":a.append("client_id",n),r&&a.append("client_secret",r);break;case"client_secret_jwt":{const f=await ct.generateClientAssertionJwt(n,r,l,this._settings.token_endpoint_auth_signing_alg);a.append("client_id",n),a.append("client_assertion_type","urn:ietf:params:oauth:client-assertion-type:jwt-bearer"),a.append("client_assertion",f);break}}o.debug("got token endpoint");const c=await this._jsonService.postForm(l,{body:a,basicAuth:u,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:i});return o.debug("got response"),c}async exchangeCredentials({grant_type:e="password",client_id:t=this._settings.client_id,client_secret:n=this._settings.client_secret,scope:r=this._settings.scope,...i}){const s=this._logger.create("exchangeCredentials");t||s.throw(new Error("A client_id is required"));const o=new URLSearchParams({grant_type:e});this._settings.omitScopeWhenRequesting||o.set("scope",r);for(const[c,f]of Object.entries(i))f!=null&&o.set(c,f);if((this._settings.client_authentication==="client_secret_basic"||this._settings.client_authentication==="client_secret_jwt")&&n==null)throw s.throw(new Error("A client_secret is required")),null;let a;const u=await this._metadataService.getTokenEndpoint(!1);switch(this._settings.client_authentication){case"client_secret_basic":a=ct.generateBasicAuth(t,n);break;case"client_secret_post":o.append("client_id",t),n&&o.append("client_secret",n);break;case"client_secret_jwt":{const c=await ct.generateClientAssertionJwt(t,n,u,this._settings.token_endpoint_auth_signing_alg);o.append("client_id",t),o.append("client_assertion_type","urn:ietf:params:oauth:client-assertion-type:jwt-bearer"),o.append("client_assertion",c);break}}s.debug("got token endpoint");const l=await this._jsonService.postForm(u,{body:o,basicAuth:a,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials});return s.debug("got response"),l}async exchangeRefreshToken({grant_type:e="refresh_token",client_id:t=this._settings.client_id,client_secret:n=this._settings.client_secret,timeoutInSeconds:r,extraHeaders:i,...s}){const o=this._logger.create("exchangeRefreshToken");t||o.throw(new Error("A client_id is required")),s.refresh_token||o.throw(new Error("A refresh_token is required"));const a=new URLSearchParams({grant_type:e});for(const[f,h]of Object.entries(s))Array.isArray(h)?h.forEach(d=>a.append(f,d)):h!=null&&a.set(f,h);if((this._settings.client_authentication==="client_secret_basic"||this._settings.client_authentication==="client_secret_jwt")&&n==null)throw o.throw(new Error("A client_secret is required")),null;let u;const l=await this._metadataService.getTokenEndpoint(!1);switch(this._settings.client_authentication){case"client_secret_basic":u=ct.generateBasicAuth(t,n);break;case"client_secret_post":a.append("client_id",t),n&&a.append("client_secret",n);break;case"client_secret_jwt":{const f=await ct.generateClientAssertionJwt(t,n,l,this._settings.token_endpoint_auth_signing_alg);a.append("client_id",t),a.append("client_assertion_type","urn:ietf:params:oauth:client-assertion-type:jwt-bearer"),a.append("client_assertion",f);break}}o.debug("got token endpoint");const c=await this._jsonService.postForm(l,{body:a,basicAuth:u,timeoutInSeconds:r,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:i});return o.debug("got response"),c}async revoke(e){var t;const n=this._logger.create("revoke");e.token||n.throw(new Error("A token is required"));const r=await this._metadataService.getRevocationEndpoint(!1);n.debug(`got revocation endpoint, revoking ${(t=e.token_type_hint)!=null?t:"default token type"}`);const i=new URLSearchParams;for(const[s,o]of Object.entries(e))o!=null&&i.set(s,o);i.set("client_id",this._settings.client_id),this._settings.client_secret&&i.set("client_secret",this._settings.client_secret),await this._jsonService.postForm(r,{body:i,timeoutInSeconds:this._settings.requestTimeoutInSeconds}),n.debug("got response")}},$R=class{constructor(e,t,n){this._settings=e,this._metadataService=t,this._claimsService=n,this._logger=new Ee("ResponseValidator"),this._userInfoService=new RR(this._settings,this._metadataService),this._tokenClient=new c_(this._settings,this._metadataService)}async validateSigninResponse(e,t,n){const r=this._logger.create("validateSigninResponse");this._processSigninState(e,t),r.debug("state processed"),await this._processCode(e,t,n),r.debug("code processed"),e.isOpenId&&this._validateIdTokenAttributes(e),r.debug("tokens validated"),await this._processClaims(e,t?.skipUserInfo,e.isOpenId),r.debug("claims processed")}async validateCredentialsResponse(e,t){const n=this._logger.create("validateCredentialsResponse"),r=e.isOpenId&&!!e.id_token;r&&this._validateIdTokenAttributes(e),n.debug("tokens validated"),await this._processClaims(e,t,r),n.debug("claims processed")}async validateRefreshResponse(e,t){var n,r;const i=this._logger.create("validateRefreshResponse");e.userState=t.data,(n=e.session_state)!=null||(e.session_state=t.session_state),(r=e.scope)!=null||(e.scope=t.scope),e.isOpenId&&e.id_token&&(this._validateIdTokenAttributes(e,t.id_token),i.debug("ID Token validated")),e.id_token||(e.id_token=t.id_token,e.profile=t.profile);const s=e.isOpenId&&!!e.id_token;await this._processClaims(e,!1,s),i.debug("claims processed")}validateSignoutResponse(e,t){const n=this._logger.create("validateSignoutResponse");if(t.id!==e.state&&n.throw(new Error("State does not match")),n.debug("state validated"),e.userState=t.data,e.error)throw n.warn("Response was error",e.error),new Xr(e)}_processSigninState(e,t){var n;const r=this._logger.create("_processSigninState");if(t.id!==e.state&&r.throw(new Error("State does not match")),t.client_id||r.throw(new Error("No client_id on state")),t.authority||r.throw(new Error("No authority on state")),this._settings.authority!==t.authority&&r.throw(new Error("authority mismatch on settings vs. signin state")),this._settings.client_id&&this._settings.client_id!==t.client_id&&r.throw(new Error("client_id mismatch on settings vs. signin state")),r.debug("state validated"),e.userState=t.data,e.url_state=t.url_state,(n=e.scope)!=null||(e.scope=t.scope),e.error)throw r.warn("Response was error",e.error),new Xr(e);t.code_verifier&&!e.code&&r.throw(new Error("Expected code in response"))}async _processClaims(e,t=!1,n=!0){const r=this._logger.create("_processClaims");if(e.profile=this._claimsService.filterProtocolClaims(e.profile),t||!this._settings.loadUserInfo||!e.access_token){r.debug("not loading user info");return}r.debug("loading user info");const i=await this._userInfoService.getClaims(e.access_token);r.debug("user info claims received from user info endpoint"),n&&i.sub!==e.profile.sub&&r.throw(new Error("subject from UserInfo response does not match subject in ID Token")),e.profile=this._claimsService.mergeClaims(e.profile,this._claimsService.filterProtocolClaims(i)),r.debug("user info claims received, updated profile:",e.profile)}async _processCode(e,t,n){const r=this._logger.create("_processCode");if(e.code){r.debug("Validating code");const i=await this._tokenClient.exchangeCode({client_id:t.client_id,client_secret:t.client_secret,code:e.code,redirect_uri:t.redirect_uri,code_verifier:t.code_verifier,extraHeaders:n,...t.extraTokenParams});Object.assign(e,i)}else r.debug("No code to process")}_validateIdTokenAttributes(e,t){var n;const r=this._logger.create("_validateIdTokenAttributes");r.debug("decoding ID Token JWT");const i=Gs.decode((n=e.id_token)!=null?n:"");if(i.sub||r.throw(new Error("ID Token is missing a subject claim")),t){const s=Gs.decode(t);i.sub!==s.sub&&r.throw(new Error("sub in id_token does not match current sub")),i.auth_time&&i.auth_time!==s.auth_time&&r.throw(new Error("auth_time in id_token does not match original auth_time")),i.azp&&i.azp!==s.azp&&r.throw(new Error("azp in id_token does not match original azp")),!i.azp&&s.azp&&r.throw(new Error("azp not in id_token, but present in original id_token"))}e.profile=i}},Ea=class tl{constructor(t){this.id=t.id||ct.generateUUIDv4(),this.data=t.data,t.created&&t.created>0?this.created=t.created:this.created=fr.getEpochTime(),this.request_type=t.request_type,this.url_state=t.url_state}toStorageString(){return new Ee("State").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state})}static fromStorageString(t){return Ee.createStatic("State","fromStorageString"),Promise.resolve(new tl(JSON.parse(t)))}static async clearStaleState(t,n){const r=Ee.createStatic("State","clearStaleState"),i=fr.getEpochTime()-n,s=await t.getAllKeys();r.debug("got keys",s);for(let o=0;oT.searchParams.append("resource",C));for(const[R,C]of Object.entries({response_mode:u,...x,...p}))C!=null&&T.searchParams.append(R,C.toString());return new f_({url:T.href,state:E})}};l_._logger=new Ee("SigninRequest");var MR=l_,DR="openid",Qc=class{constructor(e){if(this.access_token="",this.token_type="",this.profile={},this.state=e.get("state"),this.session_state=e.get("session_state"),this.state){const t=decodeURIComponent(this.state).split(Vi);this.state=t[0],t.length>1&&(this.url_state=t.slice(1).join(Vi))}this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri"),this.code=e.get("code")}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-fr.getEpochTime()}set expires_in(e){typeof e=="string"&&(e=Number(e)),e!==void 0&&e>=0&&(this.expires_at=Math.floor(e)+fr.getEpochTime())}get isOpenId(){var e;return((e=this.scope)==null?void 0:e.split(" ").includes(DR))||!!this.id_token}},LR=class{constructor({url:e,state_data:t,id_token_hint:n,post_logout_redirect_uri:r,extraQueryParams:i,request_type:s,client_id:o,url_state:a}){if(this._logger=new Ee("SignoutRequest"),!e)throw this._logger.error("ctor: No url passed"),new Error("url");const u=new URL(e);if(n&&u.searchParams.append("id_token_hint",n),o&&u.searchParams.append("client_id",o),r&&(u.searchParams.append("post_logout_redirect_uri",r),t||a)){this.state=new Ea({data:t,request_type:s,url_state:a});let l=this.state.id;a&&(l=`${l}${Vi}${a}`),u.searchParams.append("state",l)}for(const[l,c]of Object.entries({...i}))c!=null&&u.searchParams.append(l,c.toString());this.url=u.href}},jR=class{constructor(e){if(this.state=e.get("state"),this.state){const t=decodeURIComponent(this.state).split(Vi);this.state=t[0],t.length>1&&(this.url_state=t.slice(1).join(Vi))}this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri")}},UR=["nbf","jti","auth_time","nonce","acr","amr","azp","at_hash"],FR=["sub","iss","aud","exp","iat"],zR=class{constructor(e){this._settings=e,this._logger=new Ee("ClaimsService")}filterProtocolClaims(e){const t={...e};if(this._settings.filterProtocolClaims){let n;Array.isArray(this._settings.filterProtocolClaims)?n=this._settings.filterProtocolClaims:n=UR;for(const r of n)FR.includes(r)||delete t[r]}return t}mergeClaims(e,t){const n={...e};for(const[r,i]of Object.entries(t))if(n[r]!==i)if(Array.isArray(n[r])||Array.isArray(i))if(this._settings.mergeClaimsStrategy.array=="replace")n[r]=i;else{const s=Array.isArray(n[r])?n[r]:[n[r]];for(const o of Array.isArray(i)?i:[i])s.includes(o)||s.push(o);n[r]=s}else typeof n[r]=="object"&&typeof i=="object"?n[r]=this.mergeClaims(n[r],i):n[r]=i;return n}},h_=class{constructor(e,t){this.keys=e,this.nonce=t}},BR=class{constructor(e,t){this._logger=new Ee("OidcClient"),this.settings=e instanceof el?e:new el(e),this.metadataService=t??new CR(this.settings),this._claimsService=new zR(this.settings),this._validator=new $R(this.settings,this.metadataService,this._claimsService),this._tokenClient=new c_(this.settings,this.metadataService)}async createSigninRequest({state:e,request:t,request_uri:n,request_type:r,id_token_hint:i,login_hint:s,skipUserInfo:o,nonce:a,url_state:u,response_type:l=this.settings.response_type,scope:c=this.settings.scope,redirect_uri:f=this.settings.redirect_uri,prompt:h=this.settings.prompt,display:d=this.settings.display,max_age:g=this.settings.max_age,ui_locales:p=this.settings.ui_locales,acr_values:y=this.settings.acr_values,resource:w=this.settings.resource,response_mode:b=this.settings.response_mode,extraQueryParams:_=this.settings.extraQueryParams,extraTokenParams:x=this.settings.extraTokenParams,dpopJkt:E,omitScopeWhenRequesting:T=this.settings.omitScopeWhenRequesting}){const P=this._logger.create("createSigninRequest");if(l!=="code")throw new Error("Only the Authorization Code flow (with PKCE) is supported");const R=await this.metadataService.getAuthorizationEndpoint();P.debug("Received authorization endpoint",R);const C=await MR.create({url:R,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:f,response_type:l,scope:c,state_data:e,url_state:u,prompt:h,display:d,max_age:g,ui_locales:p,id_token_hint:i,login_hint:s,acr_values:y,dpopJkt:E,resource:w,request:t,request_uri:n,extraQueryParams:_,extraTokenParams:x,request_type:r,response_mode:b,client_secret:this.settings.client_secret,skipUserInfo:o,nonce:a,disablePKCE:this.settings.disablePKCE,omitScopeWhenRequesting:T});await this.clearStaleState();const M=C.state;return await this.settings.stateStore.set(M.id,M.toStorageString()),C}async readSigninResponseState(e,t=!1){const n=this._logger.create("readSigninResponseState"),r=new Qc(Xu.readParams(e,this.settings.response_mode));if(!r.state)throw n.throw(new Error("No state in response")),null;const i=await this.settings.stateStore[t?"remove":"get"](r.state);if(!i)throw n.throw(new Error("No matching state found in storage")),null;return{state:await u_.fromStorageString(i),response:r}}async processSigninResponse(e,t,n=!0){const r=this._logger.create("processSigninResponse"),{state:i,response:s}=await this.readSigninResponseState(e,n);if(r.debug("received state from storage; validating response"),this.settings.dpop&&this.settings.dpop.store){const o=await this.getDpopProof(this.settings.dpop.store);t={...t,DPoP:o}}try{await this._validator.validateSigninResponse(s,i,t)}catch(o){if(o instanceof Qu&&this.settings.dpop){const a=await this.getDpopProof(this.settings.dpop.store,o.nonce);t.DPoP=a,await this._validator.validateSigninResponse(s,i,t)}else throw o}return s}async getDpopProof(e,t){let n,r;return(await e.getAllKeys()).includes(this.settings.client_id)?(r=await e.get(this.settings.client_id),r.nonce!==t&&t&&(r.nonce=t,await e.set(this.settings.client_id,r))):(n=await ct.generateDPoPKeys(),r=new h_(n,t),await e.set(this.settings.client_id,r)),await ct.generateDPoPProof({url:await this.metadataService.getTokenEndpoint(!1),httpMethod:"POST",keyPair:r.keys,nonce:r.nonce})}async processResourceOwnerPasswordCredentials({username:e,password:t,skipUserInfo:n=!1,extraTokenParams:r={}}){const i=await this._tokenClient.exchangeCredentials({username:e,password:t,...r}),s=new Qc(new URLSearchParams);return Object.assign(s,i),await this._validator.validateCredentialsResponse(s,n),s}async useRefreshToken({state:e,redirect_uri:t,resource:n,timeoutInSeconds:r,extraHeaders:i,extraTokenParams:s}){var o;const a=this._logger.create("useRefreshToken");let u;if(this.settings.refreshTokenAllowedScope===void 0)u=e.scope;else{const f=this.settings.refreshTokenAllowedScope.split(" ");u=(((o=e.scope)==null?void 0:o.split(" "))||[]).filter(d=>f.includes(d)).join(" ")}if(this.settings.dpop&&this.settings.dpop.store){const f=await this.getDpopProof(this.settings.dpop.store);i={...i,DPoP:f}}let l;try{l=await this._tokenClient.exchangeRefreshToken({refresh_token:e.refresh_token,scope:u,redirect_uri:t,resource:n,timeoutInSeconds:r,extraHeaders:i,...s})}catch(f){if(f instanceof Qu&&this.settings.dpop)i.DPoP=await this.getDpopProof(this.settings.dpop.store,f.nonce),l=await this._tokenClient.exchangeRefreshToken({refresh_token:e.refresh_token,scope:u,redirect_uri:t,resource:n,timeoutInSeconds:r,extraHeaders:i,...s});else throw f}const c=new Qc(new URLSearchParams);return Object.assign(c,l),a.debug("validating response",c),await this._validator.validateRefreshResponse(c,{...e,scope:u}),c}async createSignoutRequest({state:e,id_token_hint:t,client_id:n,request_type:r,url_state:i,post_logout_redirect_uri:s=this.settings.post_logout_redirect_uri,extraQueryParams:o=this.settings.extraQueryParams}={}){const a=this._logger.create("createSignoutRequest"),u=await this.metadataService.getEndSessionEndpoint();if(!u)throw a.throw(new Error("No end session endpoint")),null;a.debug("Received end session endpoint",u),!n&&s&&!t&&(n=this.settings.client_id);const l=new LR({url:u,id_token_hint:t,client_id:n,post_logout_redirect_uri:s,state_data:e,extraQueryParams:o,request_type:r,url_state:i});await this.clearStaleState();const c=l.state;return c&&(a.debug("Signout request has state to persist"),await this.settings.stateStore.set(c.id,c.toStorageString())),l}async readSignoutResponseState(e,t=!1){const n=this._logger.create("readSignoutResponseState"),r=new jR(Xu.readParams(e,this.settings.response_mode));if(!r.state){if(n.debug("No state in response"),r.error)throw n.warn("Response was error:",r.error),new Xr(r);return{state:void 0,response:r}}const i=await this.settings.stateStore[t?"remove":"get"](r.state);if(!i)throw n.throw(new Error("No matching state found in storage")),null;return{state:await Ea.fromStorageString(i),response:r}}async processSignoutResponse(e){const t=this._logger.create("processSignoutResponse"),{state:n,response:r}=await this.readSignoutResponseState(e,!0);return n?(t.debug("Received state from storage; validating response"),this._validator.validateSignoutResponse(r,n)):t.debug("No state from storage; skipping response validation"),r}clearStaleState(){return this._logger.create("clearStaleState"),Ea.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}async revokeToken(e,t){return this._logger.create("revokeToken"),await this._tokenClient.revoke({token:e,token_type_hint:t})}},HR=class{constructor(e){this._userManager=e,this._logger=new Ee("SessionMonitor"),this._start=async t=>{const n=t.session_state;if(!n)return;const r=this._logger.create("_start");if(t.profile?(this._sub=t.profile.sub,r.debug("session_state",n,", sub",this._sub)):(this._sub=void 0,r.debug("session_state",n,", anonymous user")),this._checkSessionIFrame){this._checkSessionIFrame.start(n);return}try{const i=await this._userManager.metadataService.getCheckSessionIframe();if(i){r.debug("initializing check session iframe");const s=this._userManager.settings.client_id,o=this._userManager.settings.checkSessionIntervalInSeconds,a=this._userManager.settings.stopCheckSessionOnError,u=new OR(this._callback,s,i,o,a);await u.load(),this._checkSessionIFrame=u,u.start(n)}else r.warn("no check session iframe found in the metadata")}catch(i){r.error("Error from getCheckSessionIframe:",i instanceof Error?i.message:i)}},this._stop=()=>{const t=this._logger.create("_stop");if(this._sub=void 0,this._checkSessionIFrame&&this._checkSessionIFrame.stop(),this._userManager.settings.monitorAnonymousSession){const n=setInterval(async()=>{clearInterval(n);try{const r=await this._userManager.querySessionStatus();if(r){const i={session_state:r.session_state,profile:r.sub?{sub:r.sub}:null};this._start(i)}}catch(r){t.error("error from querySessionStatus",r instanceof Error?r.message:r)}},1e3)}},this._callback=async()=>{const t=this._logger.create("_callback");try{const n=await this._userManager.querySessionStatus();let r=!0;n&&this._checkSessionIFrame?n.sub===this._sub?(r=!1,this._checkSessionIFrame.start(n.session_state),t.debug("same sub still logged in at OP, session state has changed, restarting check session iframe; session_state",n.session_state),await this._userManager.events._raiseUserSessionChanged()):t.debug("different subject signed into OP",n.sub):t.debug("subject no longer signed into OP"),r?this._sub?await this._userManager.events._raiseUserSignedOut():await this._userManager.events._raiseUserSignedIn():t.debug("no change in session detected, no event to raise")}catch(n){this._sub&&(t.debug("Error calling queryCurrentSigninSession; raising signed out event",n),await this._userManager.events._raiseUserSignedOut())}},e||this._logger.throw(new Error("No user manager passed")),this._userManager.events.addUserLoaded(this._start),this._userManager.events.addUserUnloaded(this._stop),this._init().catch(t=>{this._logger.error(t)})}async _init(){this._logger.create("_init");const e=await this._userManager.getUser();if(e)this._start(e);else if(this._userManager.settings.monitorAnonymousSession){const t=await this._userManager.querySessionStatus();if(t){const n={session_state:t.session_state,profile:t.sub?{sub:t.sub}:null};this._start(n)}}}},eu=class d_{constructor(t){var n;this.id_token=t.id_token,this.session_state=(n=t.session_state)!=null?n:null,this.access_token=t.access_token,this.refresh_token=t.refresh_token,this.token_type=t.token_type,this.scope=t.scope,this.profile=t.profile,this.expires_at=t.expires_at,this.state=t.userState,this.url_state=t.url_state}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-fr.getEpochTime()}set expires_in(t){t!==void 0&&(this.expires_at=Math.floor(t)+fr.getEpochTime())}get expired(){const t=this.expires_in;if(t!==void 0)return t<=0}get scopes(){var t,n;return(n=(t=this.scope)==null?void 0:t.split(" "))!=null?n:[]}toStorageString(){return new Ee("User").create("toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})}static fromStorageString(t){return Ee.createStatic("User","fromStorageString"),new d_(JSON.parse(t))}},vp="oidc-client",p_=class{constructor(){this._abort=new Sr("Window navigation aborted"),this._disposeHandlers=new Set,this._window=null}async navigate(e){const t=this._logger.create("navigate");if(!this._window)throw new Error("Attempted to navigate on a disposed window");t.debug("setting URL in window"),this._window.location.replace(e.url);const{url:n,keepOpen:r}=await new Promise((i,s)=>{const o=u=>{var l;const c=u.data,f=(l=e.scriptOrigin)!=null?l:window.location.origin;if(!(u.origin!==f||c?.source!==vp)){try{const h=Xu.readParams(c.url,e.response_mode).get("state");if(h||t.warn("no state found in response url"),u.source!==this._window&&h!==e.state)return}catch{this._dispose(),s(new Error("Invalid response from window"))}i(c)}};window.addEventListener("message",o,!1),this._disposeHandlers.add(()=>window.removeEventListener("message",o,!1));const a=new BroadcastChannel(`oidc-client-popup-${e.state}`);a.addEventListener("message",o,!1),this._disposeHandlers.add(()=>a.close()),this._disposeHandlers.add(this._abort.addHandler(u=>{this._dispose(),s(u)}))});return t.debug("got response from window"),this._dispose(),r||this.close(),{url:n}}_dispose(){this._logger.create("_dispose");for(const e of this._disposeHandlers)e();this._disposeHandlers.clear()}static _notifyParent(e,t,n=!1,r=window.location.origin){const i={source:vp,url:t,keepOpen:n},s=new Ee("_notifyParent");if(e)s.debug("With parent. Using parent.postMessage."),e.postMessage(i,r);else{s.debug("No parent. Using BroadcastChannel.");const o=new URL(t).searchParams.get("state");if(!o)throw new Error("No parent and no state in URL. Can't complete notification.");const a=new BroadcastChannel(`oidc-client-popup-${o}`);a.postMessage(i),a.close()}}},g_={location:!1,toolbar:!1,height:640,closePopupWindowAfterInSeconds:-1},m_="_blank",VR=60,WR=2,v_=10,ZR=class extends el{constructor(e){const{popup_redirect_uri:t=e.redirect_uri,popup_post_logout_redirect_uri:n=e.post_logout_redirect_uri,popupWindowFeatures:r=g_,popupWindowTarget:i=m_,redirectMethod:s="assign",redirectTarget:o="self",iframeNotifyParentOrigin:a=e.iframeNotifyParentOrigin,iframeScriptOrigin:u=e.iframeScriptOrigin,requestTimeoutInSeconds:l,silent_redirect_uri:c=e.redirect_uri,silentRequestTimeoutInSeconds:f,automaticSilentRenew:h=!0,validateSubOnSilentRenew:d=!0,includeIdTokenInSilentRenew:g=!1,monitorSession:p=!1,monitorAnonymousSession:y=!1,checkSessionIntervalInSeconds:w=WR,query_status_response_type:b="code",stopCheckSessionOnError:_=!0,revokeTokenTypes:x=["access_token","refresh_token"],revokeTokensOnSignout:E=!1,includeIdTokenInSilentSignout:T=!1,accessTokenExpiringNotificationTimeInSeconds:P=VR,userStore:R}=e;if(super(e),this.popup_redirect_uri=t,this.popup_post_logout_redirect_uri=n,this.popupWindowFeatures=r,this.popupWindowTarget=i,this.redirectMethod=s,this.redirectTarget=o,this.iframeNotifyParentOrigin=a,this.iframeScriptOrigin=u,this.silent_redirect_uri=c,this.silentRequestTimeoutInSeconds=f||l||v_,this.automaticSilentRenew=h,this.validateSubOnSilentRenew=d,this.includeIdTokenInSilentRenew=g,this.monitorSession=p,this.monitorAnonymousSession=y,this.checkSessionIntervalInSeconds=w,this.stopCheckSessionOnError=_,this.query_status_response_type=b,this.revokeTokenTypes=x,this.revokeTokensOnSignout=E,this.includeIdTokenInSilentSignout=T,this.accessTokenExpiringNotificationTimeInSeconds=P,R)this.userStore=R;else{const C=typeof window<"u"?window.sessionStorage:new o_;this.userStore=new a_({store:C})}}},yp=class y_ extends p_{constructor({silentRequestTimeoutInSeconds:t=v_}){super(),this._logger=new Ee("IFrameWindow"),this._timeoutInSeconds=t,this._frame=y_.createHiddenIframe(),this._window=this._frame.contentWindow}static createHiddenIframe(){const t=window.document.createElement("iframe");return t.style.visibility="hidden",t.style.position="fixed",t.style.left="-1000px",t.style.top="0",t.width="0",t.height="0",window.document.body.appendChild(t),t}async navigate(t){this._logger.debug("navigate: Using timeout of:",this._timeoutInSeconds);const n=setTimeout(()=>{this._abort.raise(new hf("IFrame timed out without a response"))},this._timeoutInSeconds*1e3);return this._disposeHandlers.add(()=>clearTimeout(n)),await super.navigate(t)}close(){var t;this._frame&&(this._frame.parentNode&&(this._frame.addEventListener("load",n=>{var r;const i=n.target;(r=i.parentNode)==null||r.removeChild(i),this._abort.raise(new Error("IFrame removed from DOM"))},!0),(t=this._frame.contentWindow)==null||t.location.replace("about:blank")),this._frame=null),this._window=null}static notifyParent(t,n){return super._notifyParent(window.parent,t,!1,n)}},qR=class{constructor(e){this._settings=e,this._logger=new Ee("IFrameNavigator")}async prepare({silentRequestTimeoutInSeconds:e=this._settings.silentRequestTimeoutInSeconds}){return new yp({silentRequestTimeoutInSeconds:e})}async callback(e){this._logger.create("callback"),yp.notifyParent(e,this._settings.iframeNotifyParentOrigin)}},KR=500,GR=1e3,_p=class extends p_{constructor({popupWindowTarget:e=m_,popupWindowFeatures:t={},popupSignal:n,popupAbortOnClose:r}){super(),this._logger=new Ee("PopupWindow");const i=mp.center({...g_,...t});this._window=window.open(void 0,e,mp.serialize(i)),this.abortOnClose=!!r,n&&n.addEventListener("abort",()=>{var s;this._abort.raise(new Error((s=n.reason)!=null?s:"Popup aborted"))}),t.closePopupWindowAfterInSeconds&&t.closePopupWindowAfterInSeconds>0&&setTimeout(()=>{if(!this._window||typeof this._window.closed!="boolean"||this._window.closed){this._abort.raise(new Error("Popup blocked by user"));return}this.close()},t.closePopupWindowAfterInSeconds*GR)}async navigate(e){var t;(t=this._window)==null||t.focus();const n=setInterval(()=>{(!this._window||this._window.closed)&&(this._logger.debug("Popup closed by user or isolated by redirect"),r(),this._disposeHandlers.delete(r),this.abortOnClose&&this._abort.raise(new Error("Popup closed by user")))},KR),r=()=>clearInterval(n);return this._disposeHandlers.add(r),await super.navigate(e)}close(){this._window&&(this._window.closed||(this._window.close(),this._abort.raise(new Error("Popup closed")))),this._window=null}static notifyOpener(e,t){super._notifyParent(window.opener,e,t),!t&&!window.opener&&window.close()}},JR=class{constructor(e){this._settings=e,this._logger=new Ee("PopupNavigator")}async prepare({popupWindowFeatures:e=this._settings.popupWindowFeatures,popupWindowTarget:t=this._settings.popupWindowTarget,popupSignal:n,popupAbortOnClose:r}){return new _p({popupWindowFeatures:e,popupWindowTarget:t,popupSignal:n,popupAbortOnClose:r})}async callback(e,{keepOpen:t=!1}){this._logger.create("callback"),_p.notifyOpener(e,t)}},YR=class{constructor(e){this._settings=e,this._logger=new Ee("RedirectNavigator")}async prepare({redirectMethod:e=this._settings.redirectMethod,redirectTarget:t=this._settings.redirectTarget}){var n;this._logger.create("prepare");let r=window.self;t==="top"&&(r=(n=window.top)!=null?n:window.self);const i=r.location[e].bind(r.location);let s;return{navigate:async o=>(this._logger.create("navigate"),await new Promise((u,l)=>{s=l,window.addEventListener("pageshow",()=>u(window.location.href)),i(o.url)})),close:()=>{this._logger.create("close"),s?.(new Error("Redirect aborted")),r.stop()}}}async callback(){}},XR=class extends AR{constructor(e){super({expiringNotificationTimeInSeconds:e.accessTokenExpiringNotificationTimeInSeconds}),this._logger=new Ee("UserManagerEvents"),this._userLoaded=new Sr("User loaded"),this._userUnloaded=new Sr("User unloaded"),this._silentRenewError=new Sr("Silent renew error"),this._userSignedIn=new Sr("User signed in"),this._userSignedOut=new Sr("User signed out"),this._userSessionChanged=new Sr("User session changed")}async load(e,t=!0){await super.load(e),t&&await this._userLoaded.raise(e)}async unload(){await super.unload(),await this._userUnloaded.raise()}addUserLoaded(e){return this._userLoaded.addHandler(e)}removeUserLoaded(e){return this._userLoaded.removeHandler(e)}addUserUnloaded(e){return this._userUnloaded.addHandler(e)}removeUserUnloaded(e){return this._userUnloaded.removeHandler(e)}addSilentRenewError(e){return this._silentRenewError.addHandler(e)}removeSilentRenewError(e){return this._silentRenewError.removeHandler(e)}async _raiseSilentRenewError(e){await this._silentRenewError.raise(e)}addUserSignedIn(e){return this._userSignedIn.addHandler(e)}removeUserSignedIn(e){this._userSignedIn.removeHandler(e)}async _raiseUserSignedIn(){await this._userSignedIn.raise()}addUserSignedOut(e){return this._userSignedOut.addHandler(e)}removeUserSignedOut(e){this._userSignedOut.removeHandler(e)}async _raiseUserSignedOut(){await this._userSignedOut.raise()}addUserSessionChanged(e){return this._userSessionChanged.addHandler(e)}removeUserSessionChanged(e){this._userSessionChanged.removeHandler(e)}async _raiseUserSessionChanged(){await this._userSessionChanged.raise()}},QR=class{constructor(e){this._userManager=e,this._logger=new Ee("SilentRenewService"),this._isStarted=!1,this._retryTimer=new fr("Retry Silent Renew"),this._tokenExpiring=async()=>{const t=this._logger.create("_tokenExpiring");try{await this._userManager.signinSilent(),t.debug("silent token renewal successful")}catch(n){if(n instanceof hf){t.warn("ErrorTimeout from signinSilent:",n,"retry in 5s"),this._retryTimer.init(5);return}t.error("Error from signinSilent:",n),await this._userManager.events._raiseSilentRenewError(n)}}}async start(){const e=this._logger.create("start");if(!this._isStarted){this._isStarted=!0,this._userManager.events.addAccessTokenExpiring(this._tokenExpiring),this._retryTimer.addHandler(this._tokenExpiring);try{await this._userManager.getUser()}catch(t){e.error("getUser error",t)}}}stop(){this._isStarted&&(this._retryTimer.cancel(),this._retryTimer.removeHandler(this._tokenExpiring),this._userManager.events.removeAccessTokenExpiring(this._tokenExpiring),this._isStarted=!1)}},e$=class{constructor(e){this.refresh_token=e.refresh_token,this.id_token=e.id_token,this.session_state=e.session_state,this.scope=e.scope,this.profile=e.profile,this.data=e.state}},tj=class{constructor(t,n,r,i){this._logger=new Ee("UserManager"),this.settings=new ZR(t),this._client=new BR(t),this._redirectNavigator=n??new YR(this.settings),this._popupNavigator=r??new JR(this.settings),this._iframeNavigator=i??new qR(this.settings),this._events=new XR(this.settings),this._silentRenewService=new QR(this),this.settings.automaticSilentRenew&&this.startSilentRenew(),this._sessionMonitor=null,this.settings.monitorSession&&(this._sessionMonitor=new HR(this))}get events(){return this._events}get metadataService(){return this._client.metadataService}async getUser(t=!1){const n=this._logger.create("getUser"),r=await this._loadUser();return r?(n.info("user loaded"),await this._events.load(r,t),r):(n.info("user not found in storage"),null)}async removeUser(){const t=this._logger.create("removeUser");await this.storeUser(null),t.info("user removed from storage"),await this._events.unload()}async signinRedirect(t={}){var n;this._logger.create("signinRedirect");const{redirectMethod:r,...i}=t;let s;(n=this.settings.dpop)!=null&&n.bind_authorization_code&&(s=await this.generateDPoPJkt(this.settings.dpop));const o=await this._redirectNavigator.prepare({redirectMethod:r});await this._signinStart({request_type:"si:r",dpopJkt:s,...i},o)}async signinRedirectCallback(t=window.location.href){const n=this._logger.create("signinRedirectCallback"),r=await this._signinEnd(t);return r.profile&&r.profile.sub?n.info("success, signed in subject",r.profile.sub):n.info("no subject"),r}async signinResourceOwnerCredentials({username:t,password:n,skipUserInfo:r=!1}){const i=this._logger.create("signinResourceOwnerCredential"),s=await this._client.processResourceOwnerPasswordCredentials({username:t,password:n,skipUserInfo:r,extraTokenParams:this.settings.extraTokenParams});i.debug("got signin response");const o=await this._buildUser(s);return o.profile&&o.profile.sub?i.info("success, signed in subject",o.profile.sub):i.info("no subject"),o}async signinPopup(t={}){var n;const r=this._logger.create("signinPopup");let i;(n=this.settings.dpop)!=null&&n.bind_authorization_code&&(i=await this.generateDPoPJkt(this.settings.dpop));const{popupWindowFeatures:s,popupWindowTarget:o,popupSignal:a,popupAbortOnClose:u,...l}=t,c=this.settings.popup_redirect_uri;c||r.throw(new Error("No popup_redirect_uri configured"));const f=await this._popupNavigator.prepare({popupWindowFeatures:s,popupWindowTarget:o,popupSignal:a,popupAbortOnClose:u}),h=await this._signin({request_type:"si:p",redirect_uri:c,display:"popup",dpopJkt:i,...l},f);return h&&(h.profile&&h.profile.sub?r.info("success, signed in subject",h.profile.sub):r.info("no subject")),h}async signinPopupCallback(t=window.location.href,n=!1){const r=this._logger.create("signinPopupCallback");await this._popupNavigator.callback(t,{keepOpen:n}),r.info("success")}async signinSilent(t={}){var n,r;const i=this._logger.create("signinSilent"),{silentRequestTimeoutInSeconds:s,...o}=t;let a=await this._loadUser();if(!t.forceIframeAuth&&a?.refresh_token){i.debug("using refresh token");const h=new e$(a);return await this._useRefreshToken({state:h,redirect_uri:o.redirect_uri,resource:o.resource,extraTokenParams:o.extraTokenParams,timeoutInSeconds:s})}let u;(n=this.settings.dpop)!=null&&n.bind_authorization_code&&(u=await this.generateDPoPJkt(this.settings.dpop));const l=this.settings.silent_redirect_uri;l||i.throw(new Error("No silent_redirect_uri configured"));let c;a&&this.settings.validateSubOnSilentRenew&&(i.debug("subject prior to silent renew:",a.profile.sub),c=a.profile.sub);const f=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:s});return a=await this._signin({request_type:"si:s",redirect_uri:l,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?a?.id_token:void 0,dpopJkt:u,...o},f,c),a&&((r=a.profile)!=null&&r.sub?i.info("success, signed in subject",a.profile.sub):i.info("no subject")),a}async _useRefreshToken(t){const n=await this._client.useRefreshToken({timeoutInSeconds:this.settings.silentRequestTimeoutInSeconds,...t}),r=new eu({...t.state,...n});return await this.storeUser(r),await this._events.load(r),r}async signinSilentCallback(t=window.location.href){const n=this._logger.create("signinSilentCallback");await this._iframeNavigator.callback(t),n.info("success")}async signinCallback(t=window.location.href){const{state:n}=await this._client.readSigninResponseState(t);switch(n.request_type){case"si:r":return await this.signinRedirectCallback(t);case"si:p":await this.signinPopupCallback(t);break;case"si:s":await this.signinSilentCallback(t);break;default:throw new Error("invalid response_type in state")}}async signoutCallback(t=window.location.href,n=!1){const{state:r}=await this._client.readSignoutResponseState(t);if(r)switch(r.request_type){case"so:r":return await this.signoutRedirectCallback(t);case"so:p":await this.signoutPopupCallback(t,n);break;case"so:s":await this.signoutSilentCallback(t);break;default:throw new Error("invalid response_type in state")}}async querySessionStatus(t={}){const n=this._logger.create("querySessionStatus"),{silentRequestTimeoutInSeconds:r,...i}=t,s=this.settings.silent_redirect_uri;s||n.throw(new Error("No silent_redirect_uri configured"));const o=await this._loadUser(),a=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r}),u=await this._signinStart({request_type:"si:s",redirect_uri:s,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?o?.id_token:void 0,response_type:this.settings.query_status_response_type,scope:"openid",skipUserInfo:!0,...i},a);try{const l={},c=await this._client.processSigninResponse(u.url,l);return n.debug("got signin response"),c.session_state&&c.profile.sub?(n.info("success for subject",c.profile.sub),{session_state:c.session_state,sub:c.profile.sub}):(n.info("success, user not authenticated"),null)}catch(l){if(this.settings.monitorAnonymousSession&&l instanceof Xr)switch(l.error){case"login_required":case"consent_required":case"interaction_required":case"account_selection_required":return n.info("success for anonymous user"),{session_state:l.session_state}}throw l}}async _signin(t,n,r){const i=await this._signinStart(t,n);return await this._signinEnd(i.url,r)}async _signinStart(t,n){const r=this._logger.create("_signinStart");try{const i=await this._client.createSigninRequest(t);return r.debug("got signin request"),await n.navigate({url:i.url,state:i.state.id,response_mode:i.state.response_mode,scriptOrigin:this.settings.iframeScriptOrigin})}catch(i){throw r.debug("error after preparing navigator, closing navigator window"),n.close(),i}}async _signinEnd(t,n){const r=this._logger.create("_signinEnd"),i={},s=await this._client.processSigninResponse(t,i);return r.debug("got signin response"),await this._buildUser(s,n)}async _buildUser(t,n){const r=this._logger.create("_buildUser"),i=new eu(t);if(n){if(n!==i.profile.sub)throw r.debug("current user does not match user returned from signin. sub from signin:",i.profile.sub),new Xr({...t,error:"login_required"});r.debug("current user matches user returned from signin")}return await this.storeUser(i),r.debug("user stored"),await this._events.load(i),i}async signoutRedirect(t={}){const n=this._logger.create("signoutRedirect"),{redirectMethod:r,...i}=t,s=await this._redirectNavigator.prepare({redirectMethod:r});await this._signoutStart({request_type:"so:r",post_logout_redirect_uri:this.settings.post_logout_redirect_uri,...i},s),n.info("success")}async signoutRedirectCallback(t=window.location.href){const n=this._logger.create("signoutRedirectCallback"),r=await this._signoutEnd(t);return n.info("success"),r}async signoutPopup(t={}){const n=this._logger.create("signoutPopup"),{popupWindowFeatures:r,popupWindowTarget:i,popupSignal:s,...o}=t,a=this.settings.popup_post_logout_redirect_uri,u=await this._popupNavigator.prepare({popupWindowFeatures:r,popupWindowTarget:i,popupSignal:s});await this._signout({request_type:"so:p",post_logout_redirect_uri:a,state:a==null?void 0:{},...o},u),n.info("success")}async signoutPopupCallback(t=window.location.href,n=!1){const r=this._logger.create("signoutPopupCallback");await this._popupNavigator.callback(t,{keepOpen:n}),r.info("success")}async _signout(t,n){const r=await this._signoutStart(t,n);return await this._signoutEnd(r.url)}async _signoutStart(t={},n){var r;const i=this._logger.create("_signoutStart");try{const s=await this._loadUser();i.debug("loaded current user from storage"),this.settings.revokeTokensOnSignout&&await this._revokeInternal(s);const o=t.id_token_hint||s&&s.id_token;o&&(i.debug("setting id_token_hint in signout request"),t.id_token_hint=o),await this.removeUser(),i.debug("user removed, creating signout request");const a=await this._client.createSignoutRequest(t);return i.debug("got signout request"),await n.navigate({url:a.url,state:(r=a.state)==null?void 0:r.id,scriptOrigin:this.settings.iframeScriptOrigin})}catch(s){throw i.debug("error after preparing navigator, closing navigator window"),n.close(),s}}async _signoutEnd(t){const n=this._logger.create("_signoutEnd"),r=await this._client.processSignoutResponse(t);return n.debug("got signout response"),r}async signoutSilent(t={}){var n;const r=this._logger.create("signoutSilent"),{silentRequestTimeoutInSeconds:i,...s}=t,o=this.settings.includeIdTokenInSilentSignout?(n=await this._loadUser())==null?void 0:n.id_token:void 0,a=this.settings.popup_post_logout_redirect_uri,u=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:i});await this._signout({request_type:"so:s",post_logout_redirect_uri:a,id_token_hint:o,...s},u),r.info("success")}async signoutSilentCallback(t=window.location.href){const n=this._logger.create("signoutSilentCallback");await this._iframeNavigator.callback(t),n.info("success")}async revokeTokens(t){const n=await this._loadUser();await this._revokeInternal(n,t)}async _revokeInternal(t,n=this.settings.revokeTokenTypes){const r=this._logger.create("_revokeInternal");if(!t)return;const i=n.filter(s=>typeof t[s]=="string");if(!i.length){r.debug("no need to revoke due to no token(s)");return}for(const s of i)await this._client.revokeToken(t[s],s),r.info(`${s} revoked successfully`),s!=="access_token"&&(t[s]=null);await this.storeUser(t),r.debug("user stored"),await this._events.load(t)}startSilentRenew(){this._logger.create("startSilentRenew"),this._silentRenewService.start()}stopSilentRenew(){this._silentRenewService.stop()}get _userStoreKey(){return`user:${this.settings.authority}:${this.settings.client_id}`}async _loadUser(){const t=this._logger.create("_loadUser"),n=await this.settings.userStore.get(this._userStoreKey);return n?(t.debug("user storageString loaded"),eu.fromStorageString(n)):(t.debug("no user storageString"),null)}async storeUser(t){const n=this._logger.create("storeUser");if(t){n.debug("storing user");const r=t.toStorageString();await this.settings.userStore.set(this._userStoreKey,r)}else this._logger.debug("removing user"),await this.settings.userStore.remove(this._userStoreKey),this.settings.dpop&&await this.settings.dpop.store.remove(this.settings.client_id)}async clearStaleState(){await this._client.clearStaleState()}async dpopProof(t,n,r,i){var s,o;const a=await((o=(s=this.settings.dpop)==null?void 0:s.store)==null?void 0:o.get(this.settings.client_id));if(a)return await ct.generateDPoPProof({url:t,accessToken:n?.access_token,httpMethod:r,keyPair:a.keys,nonce:i})}async generateDPoPJkt(t){let n=await t.store.get(this.settings.client_id);if(!n){const r=await ct.generateDPoPKeys();n=new h_(r),await t.store.set(this.settings.client_id,n)}return await ct.generateDPoPJkt(n.keys)}},t$=Object.defineProperty,n$=Object.defineProperties,r$=Object.getOwnPropertyDescriptors,bp=Object.getOwnPropertySymbols,i$=Object.prototype.hasOwnProperty,s$=Object.prototype.propertyIsEnumerable,wp=(e,t,n)=>t in e?t$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fi=(e,t)=>{for(var n in t||(t={}))i$.call(t,n)&&wp(e,n,t[n]);if(bp)for(var n of bp(t))s$.call(t,n)&&wp(e,n,t[n]);return e},xp=(e,t)=>n$(e,r$(t));const o$={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer(){this.autoscroll&&this.maybeAdjustScroll()},open(e){this.autoscroll&&e&&this.$nextTick(()=>this.maybeAdjustScroll())}},methods:{maybeAdjustScroll(){var e;const t=((e=this.$refs.dropdownMenu)==null?void 0:e.children[this.typeAheadPointer])||!1;if(t){const n=this.getDropdownViewport(),{top:r,bottom:i,height:s}=t.getBoundingClientRect();if(rn.bottom)return this.$refs.dropdownMenu.scrollTop=t.offsetTop-(n.height-s)}},getDropdownViewport(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},a$={data(){return{typeAheadPointer:-1}},watch:{filteredOptions(){for(let e=0;e=0;e--)if(this.selectable(this.filteredOptions[e])){this.typeAheadPointer=e;break}},typeAheadDown(){for(let e=this.typeAheadPointer+1;e{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},u$={},l$={xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"},f$=Hn("path",{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"},null,-1),h$=[f$];function d$(e,t){return _t(),wn("svg",l$,h$)}const p$=pf(u$,[["render",d$]]),g$={},m$={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"},v$=Hn("path",{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"},null,-1),y$=[v$];function _$(e,t){return _t(),wn("svg",m$,y$)}const b$=pf(g$,[["render",_$]]),Sp={Deselect:p$,OpenIndicator:b$},w$={mounted(e,{instance:t}){if(t.appendToBody){const{height:n,top:r,left:i,width:s}=t.$refs.toggle.getBoundingClientRect();let o=window.scrollX||window.pageXOffset,a=window.scrollY||window.pageYOffset;e.unbindPosition=t.calculatePosition(e,t,{width:s+"px",left:o+i+"px",top:a+r+n+"px"}),document.body.appendChild(e)}},unmounted(e,{instance:t}){t.appendToBody&&(e.unbindPosition&&typeof e.unbindPosition=="function"&&e.unbindPosition(),e.parentNode&&e.parentNode.removeChild(e))}};function x$(e){const t={};return Object.keys(e).sort().forEach(n=>{t[n]=e[n]}),JSON.stringify(t)}let S$=0;function E$(){return++S$}const T$={components:fi({},Sp),directives:{appendToBody:w$},mixins:[o$,a$,c$],compatConfig:{MODE:3},emits:["open","close","update:modelValue","search","search:compositionstart","search:compositionend","search:keydown","search:blur","search:focus","search:input","option:created","option:selecting","option:selected","option:deselecting","option:deselected"],props:{modelValue:{},components:{type:Object,default:()=>({})},options:{type:Array,default(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:e=>e},selectable:{type:Function,default:e=>!0},getOptionLabel:{type:Function,default(e){return typeof e=="object"?e.hasOwnProperty(this.label)?e[this.label]:console.warn(`[vue-select warn]: Label key "option.${this.label}" does not exist in options object ${JSON.stringify(e)}. +https://vue-select.org/api/props.html#getoptionlabel`):e}},getOptionKey:{type:Function,default(e){if(typeof e!="object")return e;try{return e.hasOwnProperty("id")?e.id:x$(e)}catch(t){return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option. +https://vue-select.org/api/props.html#getoptionkey`,e,t)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default(e,t,n){return(t||"").toLocaleLowerCase().indexOf(n.toLocaleLowerCase())>-1}},filter:{type:Function,default(e,t){return e.filter(n=>{let r=this.getOptionLabel(n);return typeof r=="number"&&(r=r.toString()),this.filterBy(n,r,t)})}},createOption:{type:Function,default(e){return typeof this.optionList[0]=="object"?{[this.label]:e}:e}},resetOnOptionsChange:{default:!1,validator:e=>["function","boolean"].includes(typeof e)},clearSearchOnBlur:{type:Function,default:function({clearSearchOnSelect:e,multiple:t}){return e&&!t}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:()=>[13]},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:(e,t)=>e},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default(e,t,{width:n,top:r,left:i}){e.style.top=r,e.style.left=i,e.style.width=n}},dropdownShouldOpen:{type:Function,default({noDrop:e,open:t,mutableLoading:n}){return e?!1:t&&!n}},uid:{type:[String,Number],default:()=>E$()}},data(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[],deselectButtons:[]}},computed:{isReducingValues(){return this.$props.reduce!==this.$options.props.reduce.default},isTrackingValues(){return typeof this.modelValue>"u"||this.isReducingValues},selectedValue(){let e=this.modelValue;return this.isTrackingValues&&(e=this.$data._value),e!=null&&e!==""?[].concat(e):[]},optionList(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl(){return this.$slots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope(){const e={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:fi({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":`vs${this.uid}__combobox`,"aria-controls":`vs${this.uid}__listbox`,ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":`vs${this.uid}__option-${this.typeAheadPointer}`}:{}),events:{compositionstart:()=>this.isComposing=!0,compositionend:()=>this.isComposing=!1,keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:t=>this.search=t.target.value}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:e,listFooter:e,header:xp(fi({},e),{deselect:this.deselect}),footer:xp(fi({},e),{deselect:this.deselect})}},childComponents(){return fi(fi({},Sp),this.components)},stateClasses(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching(){return!!this.search},dropdownOpen(){return this.dropdownShouldOpen(this)},searchPlaceholder(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions(){const e=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return e;const t=this.search.length?this.filter(e,this.search,this):e;if(this.taggable&&this.search.length){const n=this.createOption(this.search);this.optionExists(n)||t.unshift(n)}return t},isValueEmpty(){return this.selectedValue.length===0},showClearButton(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options(e,t){const n=()=>typeof this.resetOnOptionsChange=="function"?this.resetOnOptionsChange(e,t,this.selectedValue):this.resetOnOptionsChange;!this.taggable&&n()&&this.clearSelection(),this.modelValue&&this.isTrackingValues&&this.setInternalValueFromOptions(this.modelValue)},modelValue:{immediate:!0,handler(e){this.isTrackingValues&&this.setInternalValueFromOptions(e)}},multiple(){this.clearSelection()},open(e){this.$emit(e?"open":"close")}},created(){this.mutableLoading=this.loading},methods:{setInternalValueFromOptions(e){Array.isArray(e)?this.$data._value=e.map(t=>this.findOptionFromReducedValue(t)):this.$data._value=this.findOptionFromReducedValue(e)},select(e){this.$emit("option:selecting",e),this.isOptionSelected(e)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(e):(this.taggable&&!this.optionExists(e)&&(this.$emit("option:created",e),this.pushTag(e)),this.multiple&&(e=this.selectedValue.concat(e)),this.updateValue(e),this.$emit("option:selected",e)),this.onAfterSelect(e)},deselect(e){this.$emit("option:deselecting",e),this.updateValue(this.selectedValue.filter(t=>!this.optionComparator(t,e))),this.$emit("option:deselected",e)},clearSelection(){this.updateValue(this.multiple?[]:null)},onAfterSelect(e){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue(e){typeof this.modelValue>"u"&&(this.$data._value=e),e!==null&&(Array.isArray(e)?e=e.map(t=>this.reduce(t)):e=this.reduce(e)),this.$emit("update:modelValue",e)},toggleDropdown(e){const t=e.target!==this.searchEl;t&&e.preventDefault();const n=[...this.deselectButtons||[],this.$refs.clearButton];if(this.searchEl===void 0||n.filter(Boolean).some(r=>r.contains(e.target)||r===e.target)){e.preventDefault();return}this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected(e){return this.selectedValue.some(t=>this.optionComparator(t,e))},isOptionDeselectable(e){return this.isOptionSelected(e)&&this.deselectFromDropdown},optionComparator(e,t){return this.getOptionKey(e)===this.getOptionKey(t)},findOptionFromReducedValue(e){const t=r=>JSON.stringify(this.reduce(r))===JSON.stringify(e),n=[...this.options,...this.pushedTags].filter(t);return n.length===1?n[0]:n.find(r=>this.optionComparator(r,this.$data._value))||e},closeSearchOptions(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){let e=null;this.multiple&&(e=[...this.selectedValue.slice(0,this.selectedValue.length-1)]),this.updateValue(e)}},optionExists(e){return this.optionList.some(t=>this.optionComparator(t,e))},normalizeOptionForSlot(e){return typeof e=="object"?e:{[this.label]:e}},pushTag(e){this.pushedTags.push(e)},onEscape(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur(){if(this.mousedown&&!this.searching)this.mousedown=!1;else{const{clearSearchOnSelect:e,multiple:t}=this;this.clearSearchOnBlur({clearSearchOnSelect:e,multiple:t})&&(this.search=""),this.closeSearchOptions();return}if(this.search.length===0&&this.options.length===0){this.closeSearchOptions();return}},onSearchFocus(){this.open=!0,this.$emit("search:focus")},onMousedown(){this.mousedown=!0},onMouseUp(){this.mousedown=!1},onSearchKeyDown(e){const t=i=>(i.preventDefault(),!this.isComposing&&this.typeAheadSelect()),n={8:i=>this.maybeDeleteValue(),9:i=>this.onTab(),27:i=>this.onEscape(),38:i=>(i.preventDefault(),this.typeAheadUp()),40:i=>(i.preventDefault(),this.typeAheadDown())};this.selectOnKeyCodes.forEach(i=>n[i]=t);const r=this.mapKeydown(n,this);if(typeof r[e.keyCode]=="function")return r[e.keyCode](e)}}},A$=["dir"],O$=["id","aria-expanded","aria-owns"],C$={ref:"selectedOptions",class:"vs__selected-options"},k$=["disabled","title","aria-label","onClick"],P$={ref:"actions",class:"vs__actions"},I$=["disabled"],N$={class:"vs__spinner"},R$=["id"],$$=["id","aria-selected","onMouseover","onClick"],M$={key:0,class:"vs__no-options"},D$=Zs(" Sorry, no matching options. "),L$=["id"];function j$(e,t,n,r,i,s){const o=F1("append-to-body");return _t(),wn("div",{dir:n.dir,class:ji(["v-select",s.stateClasses])},[vn(e.$slots,"header",mn(_n(s.scope.header))),Hn("div",{id:`vs${n.uid}__combobox`,ref:"toggle",class:"vs__dropdown-toggle",role:"combobox","aria-expanded":s.dropdownOpen.toString(),"aria-owns":`vs${n.uid}__listbox`,"aria-label":"Search for option",onMousedown:t[1]||(t[1]=a=>s.toggleDropdown(a))},[Hn("div",C$,[(_t(!0),wn(ht,null,sh(s.selectedValue,(a,u)=>vn(e.$slots,"selected-option-container",{option:s.normalizeOptionForSlot(a),deselect:s.deselect,multiple:n.multiple,disabled:n.disabled},()=>[(_t(),wn("span",{key:n.getOptionKey(a),class:"vs__selected"},[vn(e.$slots,"selected-option",mn(_n(s.normalizeOptionForSlot(a))),()=>[Zs(hu(n.getOptionLabel(a)),1)]),n.multiple?(_t(),wn("button",{key:0,ref_for:!0,ref:l=>i.deselectButtons[u]=l,disabled:n.disabled,type:"button",class:"vs__deselect",title:`Deselect ${n.getOptionLabel(a)}`,"aria-label":`Deselect ${n.getOptionLabel(a)}`,onClick:l=>s.deselect(a)},[(_t(),Pi(_c(s.childComponents.Deselect)))],8,k$)):xc("",!0)]))])),256)),vn(e.$slots,"search",mn(_n(s.scope.search)),()=>[Hn("input",Eu({class:"vs__search"},s.scope.search.attributes,z1(s.scope.search.events)),null,16)])],512),Hn("div",P$,[mc(Hn("button",{ref:"clearButton",disabled:n.disabled,type:"button",class:"vs__clear",title:"Clear Selected","aria-label":"Clear Selected",onClick:t[0]||(t[0]=(...a)=>s.clearSelection&&s.clearSelection(...a))},[(_t(),Pi(_c(s.childComponents.Deselect)))],8,I$),[[Pu,s.showClearButton]]),vn(e.$slots,"open-indicator",mn(_n(s.scope.openIndicator)),()=>[n.noDrop?xc("",!0):(_t(),Pi(_c(s.childComponents.OpenIndicator),mn(Eu({key:0},s.scope.openIndicator.attributes)),null,16))]),vn(e.$slots,"spinner",mn(_n(s.scope.spinner)),()=>[mc(Hn("div",N$,"Loading...",512),[[Pu,e.mutableLoading]])])],512)],40,O$),Ke(Ix,{name:n.transition},{default:Cl(()=>[s.dropdownOpen?mc((_t(),wn("ul",{id:`vs${n.uid}__listbox`,ref:"dropdownMenu",key:`vs${n.uid}__listbox`,class:"vs__dropdown-menu",role:"listbox",tabindex:"-1",onMousedown:t[2]||(t[2]=Rh((...a)=>s.onMousedown&&s.onMousedown(...a),["prevent"])),onMouseup:t[3]||(t[3]=(...a)=>s.onMouseUp&&s.onMouseUp(...a))},[vn(e.$slots,"list-header",mn(_n(s.scope.listHeader))),(_t(!0),wn(ht,null,sh(s.filteredOptions,(a,u)=>(_t(),wn("li",{id:`vs${n.uid}__option-${u}`,key:n.getOptionKey(a),role:"option",class:ji(["vs__dropdown-option",{"vs__dropdown-option--deselect":s.isOptionDeselectable(a)&&u===e.typeAheadPointer,"vs__dropdown-option--selected":s.isOptionSelected(a),"vs__dropdown-option--highlight":u===e.typeAheadPointer,"vs__dropdown-option--disabled":!n.selectable(a)}]),"aria-selected":u===e.typeAheadPointer?!0:null,onMouseover:l=>n.selectable(a)?e.typeAheadPointer=u:null,onClick:Rh(l=>n.selectable(a)?s.select(a):null,["prevent","stop"])},[vn(e.$slots,"option",mn(_n(s.normalizeOptionForSlot(a))),()=>[Zs(hu(n.getOptionLabel(a)),1)])],42,$$))),128)),s.filteredOptions.length===0?(_t(),wn("li",M$,[vn(e.$slots,"no-options",mn(_n(s.scope.noOptions)),()=>[D$])])):xc("",!0),vn(e.$slots,"list-footer",mn(_n(s.scope.listFooter)))],40,R$)),[[o]]):(_t(),wn("ul",{key:1,id:`vs${n.uid}__listbox`,role:"listbox",style:{display:"none",visibility:"hidden"}},null,8,L$))]),_:3},8,["name"]),vn(e.$slots,"footer",mn(_n(s.scope.footer)))],10,A$)}const rj=pf(T$,[["render",j$]]);const{entries:__,setPrototypeOf:Ep,isFrozen:U$,getPrototypeOf:F$,getOwnPropertyDescriptor:z$}=Object;let{freeze:zt,seal:pn,create:Ho}=Object,{apply:rl,construct:il}=typeof Reflect<"u"&&Reflect;zt||(zt=function(t){return t});pn||(pn=function(t){return t});rl||(rl=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),s=2;s1?n-1:0),i=1;i1?n-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:Vo;Ep&&Ep(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const s=n(i);s!==i&&(U$(t)||(t[r]=s),i=s)}e[i]=!0}return e}function q$(e){for(let t=0;t/gm),X$=pn(/\$\{[\w\W]*/gm),Q$=pn(/^data-[\-\w.\u00B7-\uFFFF]+$/),eM=pn(/^aria-[\-\w]+$/),b_=pn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),tM=pn(/^(?:\w+script|data):/i),nM=pn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),w_=pn(/^html$/i),rM=pn(/^[a-z][.\w]*(-[.\w]+)+$/i);var Pp=Object.freeze({__proto__:null,ARIA_ATTR:eM,ATTR_WHITESPACE:nM,CUSTOM_ELEMENT:rM,DATA_ATTR:Q$,DOCTYPE_NAME:w_,ERB_EXPR:Y$,IS_ALLOWED_URI:b_,IS_SCRIPT_OR_DATA:tM,MUSTACHE_EXPR:J$,TMPLIT_EXPR:X$});const ys={element:1,text:3,progressingInstruction:7,comment:8,document:9},iM=function(){return typeof window>"u"?null:window},sM=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const s="dompurify"+(r?"#"+r:"");try{return t.createPolicy(s,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},Ip=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function x_(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:iM();const t=le=>x_(le);if(t.version="3.3.3",t.removed=[],!e||!e.document||e.document.nodeType!==ys.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const r=n,i=r.currentScript,{DocumentFragment:s,HTMLTemplateElement:o,Node:a,Element:u,NodeFilter:l,NamedNodeMap:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:h,trustedTypes:d}=e,g=u.prototype,p=vs(g,"cloneNode"),y=vs(g,"remove"),w=vs(g,"nextSibling"),b=vs(g,"childNodes"),_=vs(g,"parentNode");if(typeof o=="function"){const le=n.createElement("template");le.content&&le.content.ownerDocument&&(n=le.content.ownerDocument)}let x,E="";const{implementation:T,createNodeIterator:P,createDocumentFragment:R,getElementsByTagName:C}=n,{importNode:M}=r;let W=Ip();t.isSupported=typeof __=="function"&&typeof _=="function"&&T&&T.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:U,ERB_EXPR:L,TMPLIT_EXPR:K,DATA_ATTR:re,ARIA_ATTR:q,IS_SCRIPT_OR_DATA:Q,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:ve}=Pp;let{IS_ALLOWED_URI:nt}=Pp,ye=null;const $e=be({},[...Ap,...ru,...iu,...su,...Op]);let Ie=null;const Ne=be({},[...Cp,...ou,...kp,...Ro]);let de=Object.seal(Ho(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),yt=null,rn=null;const It=Object.seal(Ho(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let gr=!0,Qt=!0,en=!1,kn=!0,O=!1,N=!0,D=!1,H=!1,z=!1,B=!1,ee=!1,Y=!1,X=!0,V=!1;const ue="user-content-";let te=!0,ie=!1,ce={},ge=null;const _e=be({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Te=null;const S=be({},["audio","video","img","source","image","track"]);let m=null;const v=be({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),A="http://www.w3.org/1998/Math/MathML",I="http://www.w3.org/2000/svg",$="http://www.w3.org/1999/xhtml";let j=$,he=!1,Me=null;const De=be({},[A,I,$],tu);let Ue=be({},["mi","mo","mn","ms","mtext"]),Ce=be({},["annotation-xml"]);const j_=be({},["title","style","font","a","script"]);let ts=null;const U_=["application/xhtml+xml","text/html"],F_="text/html";let ft=null,si=null;const z_=n.createElement("form"),bf=function(k){return k instanceof RegExp||k instanceof Function},ac=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(si&&si===k)){if((!k||typeof k!="object")&&(k={}),k=$n(k),ts=U_.indexOf(k.PARSER_MEDIA_TYPE)===-1?F_:k.PARSER_MEDIA_TYPE,ft=ts==="application/xhtml+xml"?tu:Vo,ye=tn(k,"ALLOWED_TAGS")?be({},k.ALLOWED_TAGS,ft):$e,Ie=tn(k,"ALLOWED_ATTR")?be({},k.ALLOWED_ATTR,ft):Ne,Me=tn(k,"ALLOWED_NAMESPACES")?be({},k.ALLOWED_NAMESPACES,tu):De,m=tn(k,"ADD_URI_SAFE_ATTR")?be($n(v),k.ADD_URI_SAFE_ATTR,ft):v,Te=tn(k,"ADD_DATA_URI_TAGS")?be($n(S),k.ADD_DATA_URI_TAGS,ft):S,ge=tn(k,"FORBID_CONTENTS")?be({},k.FORBID_CONTENTS,ft):_e,yt=tn(k,"FORBID_TAGS")?be({},k.FORBID_TAGS,ft):$n({}),rn=tn(k,"FORBID_ATTR")?be({},k.FORBID_ATTR,ft):$n({}),ce=tn(k,"USE_PROFILES")?k.USE_PROFILES:!1,gr=k.ALLOW_ARIA_ATTR!==!1,Qt=k.ALLOW_DATA_ATTR!==!1,en=k.ALLOW_UNKNOWN_PROTOCOLS||!1,kn=k.ALLOW_SELF_CLOSE_IN_ATTR!==!1,O=k.SAFE_FOR_TEMPLATES||!1,N=k.SAFE_FOR_XML!==!1,D=k.WHOLE_DOCUMENT||!1,B=k.RETURN_DOM||!1,ee=k.RETURN_DOM_FRAGMENT||!1,Y=k.RETURN_TRUSTED_TYPE||!1,z=k.FORCE_BODY||!1,X=k.SANITIZE_DOM!==!1,V=k.SANITIZE_NAMED_PROPS||!1,te=k.KEEP_CONTENT!==!1,ie=k.IN_PLACE||!1,nt=k.ALLOWED_URI_REGEXP||b_,j=k.NAMESPACE||$,Ue=k.MATHML_TEXT_INTEGRATION_POINTS||Ue,Ce=k.HTML_INTEGRATION_POINTS||Ce,de=k.CUSTOM_ELEMENT_HANDLING||{},k.CUSTOM_ELEMENT_HANDLING&&bf(k.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(de.tagNameCheck=k.CUSTOM_ELEMENT_HANDLING.tagNameCheck),k.CUSTOM_ELEMENT_HANDLING&&bf(k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(de.attributeNameCheck=k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),k.CUSTOM_ELEMENT_HANDLING&&typeof k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(de.allowCustomizedBuiltInElements=k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),O&&(Qt=!1),ee&&(B=!0),ce&&(ye=be({},Op),Ie=Ho(null),ce.html===!0&&(be(ye,Ap),be(Ie,Cp)),ce.svg===!0&&(be(ye,ru),be(Ie,ou),be(Ie,Ro)),ce.svgFilters===!0&&(be(ye,iu),be(Ie,ou),be(Ie,Ro)),ce.mathMl===!0&&(be(ye,su),be(Ie,kp),be(Ie,Ro))),tn(k,"ADD_TAGS")||(It.tagCheck=null),tn(k,"ADD_ATTR")||(It.attributeCheck=null),k.ADD_TAGS&&(typeof k.ADD_TAGS=="function"?It.tagCheck=k.ADD_TAGS:(ye===$e&&(ye=$n(ye)),be(ye,k.ADD_TAGS,ft))),k.ADD_ATTR&&(typeof k.ADD_ATTR=="function"?It.attributeCheck=k.ADD_ATTR:(Ie===Ne&&(Ie=$n(Ie)),be(Ie,k.ADD_ATTR,ft))),k.ADD_URI_SAFE_ATTR&&be(m,k.ADD_URI_SAFE_ATTR,ft),k.FORBID_CONTENTS&&(ge===_e&&(ge=$n(ge)),be(ge,k.FORBID_CONTENTS,ft)),k.ADD_FORBID_CONTENTS&&(ge===_e&&(ge=$n(ge)),be(ge,k.ADD_FORBID_CONTENTS,ft)),te&&(ye["#text"]=!0),D&&be(ye,["html","head","body"]),ye.table&&(be(ye,["tbody"]),delete yt.tbody),k.TRUSTED_TYPES_POLICY){if(typeof k.TRUSTED_TYPES_POLICY.createHTML!="function")throw ms('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof k.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ms('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=k.TRUSTED_TYPES_POLICY,E=x.createHTML("")}else x===void 0&&(x=sM(d,i)),x!==null&&typeof E=="string"&&(E=x.createHTML(""));zt&&zt(k),si=k}},wf=be({},[...ru,...iu,...K$]),xf=be({},[...su,...G$]),B_=function(k){let G=_(k);(!G||!G.tagName)&&(G={namespaceURI:j,tagName:"template"});const oe=Vo(k.tagName),We=Vo(G.tagName);return Me[k.namespaceURI]?k.namespaceURI===I?G.namespaceURI===$?oe==="svg":G.namespaceURI===A?oe==="svg"&&(We==="annotation-xml"||Ue[We]):!!wf[oe]:k.namespaceURI===A?G.namespaceURI===$?oe==="math":G.namespaceURI===I?oe==="math"&&Ce[We]:!!xf[oe]:k.namespaceURI===$?G.namespaceURI===I&&!Ce[We]||G.namespaceURI===A&&!Ue[We]?!1:!xf[oe]&&(j_[oe]||!wf[oe]):!!(ts==="application/xhtml+xml"&&Me[k.namespaceURI]):!1},Pn=function(k){ps(t.removed,{element:k});try{_(k).removeChild(k)}catch{y(k)}},Mr=function(k,G){try{ps(t.removed,{attribute:G.getAttributeNode(k),from:G})}catch{ps(t.removed,{attribute:null,from:G})}if(G.removeAttribute(k),k==="is")if(B||ee)try{Pn(G)}catch{}else try{G.setAttribute(k,"")}catch{}},Sf=function(k){let G=null,oe=null;if(z)k=""+k;else{const at=nu(k,/^[\r\n\t ]+/);oe=at&&at[0]}ts==="application/xhtml+xml"&&j===$&&(k=''+k+"");const We=x?x.createHTML(k):k;if(j===$)try{G=new h().parseFromString(We,ts)}catch{}if(!G||!G.documentElement){G=T.createDocument(j,"template",null);try{G.documentElement.innerHTML=he?E:We}catch{}}const At=G.body||G.documentElement;return k&&oe&&At.insertBefore(n.createTextNode(oe),At.childNodes[0]||null),j===$?C.call(G,D?"html":"body")[0]:D?G.documentElement:At},Ef=function(k){return P.call(k.ownerDocument||k,k,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},cc=function(k){return k instanceof f&&(typeof k.nodeName!="string"||typeof k.textContent!="string"||typeof k.removeChild!="function"||!(k.attributes instanceof c)||typeof k.removeAttribute!="function"||typeof k.setAttribute!="function"||typeof k.namespaceURI!="string"||typeof k.insertBefore!="function"||typeof k.hasChildNodes!="function")},Tf=function(k){return typeof a=="function"&&k instanceof a};function Kn(le,k,G){No(le,oe=>{oe.call(t,k,G,si)})}const Af=function(k){let G=null;if(Kn(W.beforeSanitizeElements,k,null),cc(k))return Pn(k),!0;const oe=ft(k.nodeName);if(Kn(W.uponSanitizeElement,k,{tagName:oe,allowedTags:ye}),N&&k.hasChildNodes()&&!Tf(k.firstElementChild)&&Nt(/<[/\w!]/g,k.innerHTML)&&Nt(/<[/\w!]/g,k.textContent)||k.nodeType===ys.progressingInstruction||N&&k.nodeType===ys.comment&&Nt(/<[/\w]/g,k.data))return Pn(k),!0;if(!(It.tagCheck instanceof Function&&It.tagCheck(oe))&&(!ye[oe]||yt[oe])){if(!yt[oe]&&Cf(oe)&&(de.tagNameCheck instanceof RegExp&&Nt(de.tagNameCheck,oe)||de.tagNameCheck instanceof Function&&de.tagNameCheck(oe)))return!1;if(te&&!ge[oe]){const We=_(k)||k.parentNode,At=b(k)||k.childNodes;if(At&&We){const at=At.length;for(let Ht=at-1;Ht>=0;--Ht){const Gn=p(At[Ht],!0);Gn.__removalCount=(k.__removalCount||0)+1,We.insertBefore(Gn,w(k))}}}return Pn(k),!0}return k instanceof u&&!B_(k)||(oe==="noscript"||oe==="noembed"||oe==="noframes")&&Nt(/<\/no(script|embed|frames)/i,k.innerHTML)?(Pn(k),!0):(O&&k.nodeType===ys.text&&(G=k.textContent,No([U,L,K],We=>{G=gs(G,We," ")}),k.textContent!==G&&(ps(t.removed,{element:k.cloneNode()}),k.textContent=G)),Kn(W.afterSanitizeElements,k,null),!1)},Of=function(k,G,oe){if(rn[G]||X&&(G==="id"||G==="name")&&(oe in n||oe in z_))return!1;if(!(Qt&&!rn[G]&&Nt(re,G))){if(!(gr&&Nt(q,G))){if(!(It.attributeCheck instanceof Function&&It.attributeCheck(G,k))){if(!Ie[G]||rn[G]){if(!(Cf(k)&&(de.tagNameCheck instanceof RegExp&&Nt(de.tagNameCheck,k)||de.tagNameCheck instanceof Function&&de.tagNameCheck(k))&&(de.attributeNameCheck instanceof RegExp&&Nt(de.attributeNameCheck,G)||de.attributeNameCheck instanceof Function&&de.attributeNameCheck(G,k))||G==="is"&&de.allowCustomizedBuiltInElements&&(de.tagNameCheck instanceof RegExp&&Nt(de.tagNameCheck,oe)||de.tagNameCheck instanceof Function&&de.tagNameCheck(oe))))return!1}else if(!m[G]){if(!Nt(nt,gs(oe,J,""))){if(!((G==="src"||G==="xlink:href"||G==="href")&&k!=="script"&&V$(oe,"data:")===0&&Te[k])){if(!(en&&!Nt(Q,gs(oe,J,"")))){if(oe)return!1}}}}}}}return!0},Cf=function(k){return k!=="annotation-xml"&&nu(k,ve)},kf=function(k){Kn(W.beforeSanitizeAttributes,k,null);const{attributes:G}=k;if(!G||cc(k))return;const oe={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ie,forceKeepAttr:void 0};let We=G.length;for(;We--;){const At=G[We],{name:at,namespaceURI:Ht,value:Gn}=At,oi=ft(at),uc=Gn;let wt=at==="value"?uc:W$(uc);if(oe.attrName=oi,oe.attrValue=wt,oe.keepAttr=!0,oe.forceKeepAttr=void 0,Kn(W.uponSanitizeAttribute,k,oe),wt=oe.attrValue,V&&(oi==="id"||oi==="name")&&(Mr(at,k),wt=ue+wt),N&&Nt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,wt)){Mr(at,k);continue}if(oi==="attributename"&&nu(wt,"href")){Mr(at,k);continue}if(oe.forceKeepAttr)continue;if(!oe.keepAttr){Mr(at,k);continue}if(!kn&&Nt(/\/>/i,wt)){Mr(at,k);continue}O&&No([U,L,K],If=>{wt=gs(wt,If," ")});const Pf=ft(k.nodeName);if(!Of(Pf,oi,wt)){Mr(at,k);continue}if(x&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!Ht)switch(d.getAttributeType(Pf,oi)){case"TrustedHTML":{wt=x.createHTML(wt);break}case"TrustedScriptURL":{wt=x.createScriptURL(wt);break}}if(wt!==uc)try{Ht?k.setAttributeNS(Ht,at,wt):k.setAttribute(at,wt),cc(k)?Pn(k):Tp(t.removed)}catch{Mr(at,k)}}Kn(W.afterSanitizeAttributes,k,null)},H_=function le(k){let G=null;const oe=Ef(k);for(Kn(W.beforeSanitizeShadowDOM,k,null);G=oe.nextNode();)Kn(W.uponSanitizeShadowNode,G,null),Af(G),kf(G),G.content instanceof s&&le(G.content);Kn(W.afterSanitizeShadowDOM,k,null)};return t.sanitize=function(le){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G=null,oe=null,We=null,At=null;if(he=!le,he&&(le=""),typeof le!="string"&&!Tf(le))if(typeof le.toString=="function"){if(le=le.toString(),typeof le!="string")throw ms("dirty is not a string, aborting")}else throw ms("toString is not a function");if(!t.isSupported)return le;if(H||ac(k),t.removed=[],typeof le=="string"&&(ie=!1),ie){if(le.nodeName){const Gn=ft(le.nodeName);if(!ye[Gn]||yt[Gn])throw ms("root node is forbidden and cannot be sanitized in-place")}}else if(le instanceof a)G=Sf(""),oe=G.ownerDocument.importNode(le,!0),oe.nodeType===ys.element&&oe.nodeName==="BODY"||oe.nodeName==="HTML"?G=oe:G.appendChild(oe);else{if(!B&&!O&&!D&&le.indexOf("<")===-1)return x&&Y?x.createHTML(le):le;if(G=Sf(le),!G)return B?null:Y?E:""}G&&z&&Pn(G.firstChild);const at=Ef(ie?le:G);for(;We=at.nextNode();)Af(We),kf(We),We.content instanceof s&&H_(We.content);if(ie)return le;if(B){if(ee)for(At=R.call(G.ownerDocument);G.firstChild;)At.appendChild(G.firstChild);else At=G;return(Ie.shadowroot||Ie.shadowrootmode)&&(At=M.call(r,At,!0)),At}let Ht=D?G.outerHTML:G.innerHTML;return D&&ye["!doctype"]&&G.ownerDocument&&G.ownerDocument.doctype&&G.ownerDocument.doctype.name&&Nt(w_,G.ownerDocument.doctype.name)&&(Ht=" +`+Ht),O&&No([U,L,K],Gn=>{Ht=gs(Ht,Gn," ")}),x&&Y?x.createHTML(Ht):Ht},t.setConfig=function(){let le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ac(le),H=!0},t.clearConfig=function(){si=null,H=!1},t.isValidAttribute=function(le,k,G){si||ac({});const oe=ft(le),We=ft(k);return Of(oe,We,G)},t.addHook=function(le,k){typeof k=="function"&&ps(W[le],k)},t.removeHook=function(le,k){if(k!==void 0){const G=B$(W[le],k);return G===-1?void 0:H$(W[le],G,1)[0]}return Tp(W[le])},t.removeHooks=function(le){W[le]=[]},t.removeAllHooks=function(){W=Ip()},t}var ij=x_(),Wo={exports:{}};var oM=Wo.exports,Np;function aM(){return Np||(Np=1,(function(e,t){(function(n,r){e.exports=r()})(oM,(function(){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r=function(l,c){if(!(l instanceof c))throw new TypeError("Cannot call a class as a function")},i=(function(){function l(c,f){for(var h=0;h1&&arguments[1]!==void 0?arguments[1]:!0,h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:5e3;r(this,l),this.ctx=c,this.iframes=f,this.exclude=h,this.iframesTimeout=d}return i(l,[{key:"getContexts",value:function(){var f=void 0,h=[];return typeof this.ctx>"u"||!this.ctx?f=[]:NodeList.prototype.isPrototypeOf(this.ctx)?f=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?f=this.ctx:typeof this.ctx=="string"?f=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):f=[this.ctx],f.forEach(function(d){var g=h.filter(function(p){return p.contains(d)}).length>0;h.indexOf(d)===-1&&!g&&h.push(d)}),h}},{key:"getIframeContents",value:function(f,h){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},g=void 0;try{var p=f.contentWindow;if(g=p.document,!p||!g)throw new Error("iframe inaccessible")}catch{d()}g&&h(g)}},{key:"isIframeBlank",value:function(f){var h="about:blank",d=f.getAttribute("src").trim(),g=f.contentWindow.location.href;return g===h&&d!==h&&d}},{key:"observeIframeLoad",value:function(f,h,d){var g=this,p=!1,y=null,w=function b(){if(!p){p=!0,clearTimeout(y);try{g.isIframeBlank(f)||(f.removeEventListener("load",b),g.getIframeContents(f,h,d))}catch{d()}}};f.addEventListener("load",w),y=setTimeout(w,this.iframesTimeout)}},{key:"onIframeReady",value:function(f,h,d){try{f.contentWindow.document.readyState==="complete"?this.isIframeBlank(f)?this.observeIframeLoad(f,h,d):this.getIframeContents(f,h,d):this.observeIframeLoad(f,h,d)}catch{d()}}},{key:"waitForIframes",value:function(f,h){var d=this,g=0;this.forEachIframe(f,function(){return!0},function(p){g++,d.waitForIframes(p.querySelector("html"),function(){--g||h()})},function(p){p||h()})}},{key:"forEachIframe",value:function(f,h,d){var g=this,p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},y=f.querySelectorAll("iframe"),w=y.length,b=0;y=Array.prototype.slice.call(y);var _=function(){--w<=0&&p(b)};w||_(),y.forEach(function(x){l.matches(x,g.exclude)?_():g.onIframeReady(x,function(E){h(x)&&(b++,d(E)),_()},_)})}},{key:"createIterator",value:function(f,h,d){return document.createNodeIterator(f,h,d,!1)}},{key:"createInstanceOnIframe",value:function(f){return new l(f.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(f,h,d){var g=f.compareDocumentPosition(d),p=Node.DOCUMENT_POSITION_PRECEDING;if(g&p)if(h!==null){var y=h.compareDocumentPosition(d),w=Node.DOCUMENT_POSITION_FOLLOWING;if(y&w)return!0}else return!0;return!1}},{key:"getIteratorNode",value:function(f){var h=f.previousNode(),d=void 0;return h===null?d=f.nextNode():d=f.nextNode()&&f.nextNode(),{prevNode:h,node:d}}},{key:"checkIframeFilter",value:function(f,h,d,g){var p=!1,y=!1;return g.forEach(function(w,b){w.val===d&&(p=b,y=w.handled)}),this.compareNodeIframe(f,h,d)?(p===!1&&!y?g.push({val:d,handled:!0}):p!==!1&&!y&&(g[p].handled=!0),!0):(p===!1&&g.push({val:d,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(f,h,d,g){var p=this;f.forEach(function(y){y.handled||p.getIframeContents(y.val,function(w){p.createInstanceOnIframe(w).forEachNode(h,d,g)})})}},{key:"iterateThroughNodes",value:function(f,h,d,g,p){for(var y=this,w=this.createIterator(h,f,g),b=[],_=[],x=void 0,E=void 0,T=function(){var R=y.getIteratorNode(w);return E=R.prevNode,x=R.node,x};T();)this.iframes&&this.forEachIframe(h,function(P){return y.checkIframeFilter(x,E,P,b)},function(P){y.createInstanceOnIframe(P).forEachNode(f,function(R){return _.push(R)},g)}),_.push(x);_.forEach(function(P){d(P)}),this.iframes&&this.handleOpenIframes(b,f,d,g),p()}},{key:"forEachNode",value:function(f,h,d){var g=this,p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},y=this.getContexts(),w=y.length;w||p(),y.forEach(function(b){var _=function(){g.iterateThroughNodes(f,b,h,d,function(){--w<=0&&p()})};g.iframes?g.waitForIframes(b,_):_()})}}],[{key:"matches",value:function(f,h){var d=typeof h=="string"?[h]:h,g=f.matches||f.matchesSelector||f.msMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.webkitMatchesSelector;if(g){var p=!1;return d.every(function(y){return g.call(f,y)?(p=!0,!1):!0}),p}else return!1}}]),l})(),a=(function(){function l(c){r(this,l),this.ctx=c,this.ie=!1;var f=window.navigator.userAgent;(f.indexOf("MSIE")>-1||f.indexOf("Trident")>-1)&&(this.ie=!0)}return i(l,[{key:"log",value:function(f){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"debug",d=this.opt.log;this.opt.debug&&(typeof d>"u"?"undefined":n(d))==="object"&&typeof d[h]=="function"&&d[h]("mark.js: "+f)}},{key:"escapeStr",value:function(f){return f.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(f){return this.opt.wildcards!=="disabled"&&(f=this.setupWildcardsRegExp(f)),f=this.escapeStr(f),Object.keys(this.opt.synonyms).length&&(f=this.createSynonymsRegExp(f)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(f=this.setupIgnoreJoinersRegExp(f)),this.opt.diacritics&&(f=this.createDiacriticsRegExp(f)),f=this.createMergedBlanksRegExp(f),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(f=this.createJoinersRegExp(f)),this.opt.wildcards!=="disabled"&&(f=this.createWildcardsRegExp(f)),f=this.createAccuracyRegExp(f),f}},{key:"createSynonymsRegExp",value:function(f){var h=this.opt.synonyms,d=this.opt.caseSensitive?"":"i",g=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var p in h)if(h.hasOwnProperty(p)){var y=h[p],w=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(p):this.escapeStr(p),b=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(y):this.escapeStr(y);w!==""&&b!==""&&(f=f.replace(new RegExp("("+this.escapeStr(w)+"|"+this.escapeStr(b)+")","gm"+d),g+("("+this.processSynomyms(w)+"|")+(this.processSynomyms(b)+")")+g))}return f}},{key:"processSynomyms",value:function(f){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(f=this.setupIgnoreJoinersRegExp(f)),f}},{key:"setupWildcardsRegExp",value:function(f){return f=f.replace(/(?:\\)*\?/g,function(h){return h.charAt(0)==="\\"?"?":""}),f.replace(/(?:\\)*\*/g,function(h){return h.charAt(0)==="\\"?"*":""})}},{key:"createWildcardsRegExp",value:function(f){var h=this.opt.wildcards==="withSpaces";return f.replace(/\u0001/g,h?"[\\S\\s]?":"\\S?").replace(/\u0002/g,h?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(f){return f.replace(/[^(|)\\]/g,function(h,d,g){var p=g.charAt(d+1);return/[(|)\\]/.test(p)||p===""?h:h+"\0"})}},{key:"createJoinersRegExp",value:function(f){var h=[],d=this.opt.ignorePunctuation;return Array.isArray(d)&&d.length&&h.push(this.escapeStr(d.join(""))),this.opt.ignoreJoiners&&h.push("\\u00ad\\u200b\\u200c\\u200d"),h.length?f.split(/\u0000+/).join("["+h.join("")+"]*"):f}},{key:"createDiacriticsRegExp",value:function(f){var h=this.opt.caseSensitive?"":"i",d=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"],g=[];return f.split("").forEach(function(p){d.every(function(y){if(y.indexOf(p)!==-1){if(g.indexOf(y)>-1)return!1;f=f.replace(new RegExp("["+y+"]","gm"+h),"["+y+"]"),g.push(y)}return!0})}),f}},{key:"createMergedBlanksRegExp",value:function(f){return f.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(f){var h=this,d="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿",g=this.opt.accuracy,p=typeof g=="string"?g:g.value,y=typeof g=="string"?[]:g.limiters,w="";switch(y.forEach(function(b){w+="|"+h.escapeStr(b)}),p){case"partially":default:return"()("+f+")";case"complementary":return w="\\s"+(w||this.escapeStr(d)),"()([^"+w+"]*"+f+"[^"+w+"]*)";case"exactly":return"(^|\\s"+w+")("+f+")(?=$|\\s"+w+")"}}},{key:"getSeparatedKeywords",value:function(f){var h=this,d=[];return f.forEach(function(g){h.opt.separateWordSearch?g.split(" ").forEach(function(p){p.trim()&&d.indexOf(p)===-1&&d.push(p)}):g.trim()&&d.indexOf(g)===-1&&d.push(g)}),{keywords:d.sort(function(g,p){return p.length-g.length}),length:d.length}}},{key:"isNumeric",value:function(f){return Number(parseFloat(f))==f}},{key:"checkRanges",value:function(f){var h=this;if(!Array.isArray(f)||Object.prototype.toString.call(f[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(f),[];var d=[],g=0;return f.sort(function(p,y){return p.start-y.start}).forEach(function(p){var y=h.callNoMatchOnInvalidRanges(p,g),w=y.start,b=y.end,_=y.valid;_&&(p.start=w,p.length=b-w,d.push(p),g=b)}),d}},{key:"callNoMatchOnInvalidRanges",value:function(f,h){var d=void 0,g=void 0,p=!1;return f&&typeof f.start<"u"?(d=parseInt(f.start,10),g=d+parseInt(f.length,10),this.isNumeric(f.start)&&this.isNumeric(f.length)&&g-h>0&&g-d>0?p=!0:(this.log("Ignoring invalid or overlapping range: "+(""+JSON.stringify(f))),this.opt.noMatch(f))):(this.log("Ignoring invalid range: "+JSON.stringify(f)),this.opt.noMatch(f)),{start:d,end:g,valid:p}}},{key:"checkWhitespaceRanges",value:function(f,h,d){var g=void 0,p=!0,y=d.length,w=h-y,b=parseInt(f.start,10)-w;return b=b>y?y:b,g=b+parseInt(f.length,10),g>y&&(g=y,this.log("End range automatically set to the max value of "+y)),b<0||g-b<0||b>y||g>y?(p=!1,this.log("Invalid range: "+JSON.stringify(f)),this.opt.noMatch(f)):d.substring(b,g).replace(/\s+/g,"")===""&&(p=!1,this.log("Skipping whitespace only range: "+JSON.stringify(f)),this.opt.noMatch(f)),{start:b,end:g,valid:p}}},{key:"getTextNodes",value:function(f){var h=this,d="",g=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(p){g.push({start:d.length,end:(d+=p.textContent).length,node:p})},function(p){return h.matchesExclude(p.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){f({value:d,nodes:g})})}},{key:"matchesExclude",value:function(f){return o.matches(f,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(f,h,d){var g=this.opt.element?this.opt.element:"mark",p=f.splitText(h),y=p.splitText(d-h),w=document.createElement(g);return w.setAttribute("data-markjs","true"),this.opt.className&&w.setAttribute("class",this.opt.className),w.textContent=p.textContent,p.parentNode.replaceChild(w,p),y}},{key:"wrapRangeInMappedTextNode",value:function(f,h,d,g,p){var y=this;f.nodes.every(function(w,b){var _=f.nodes[b+1];if(typeof _>"u"||_.start>h){if(!g(w.node))return!1;var x=h-w.start,E=(d>w.end?w.end:d)-w.start,T=f.value.substr(0,w.start),P=f.value.substr(E+w.start);if(w.node=y.wrapRangeInTextNode(w.node,x,E),f.value=T+P,f.nodes.forEach(function(R,C){C>=b&&(f.nodes[C].start>0&&C!==b&&(f.nodes[C].start-=E),f.nodes[C].end-=E)}),d-=E,p(w.node.previousSibling,w.start),d>w.end)h=w.end;else return!1}return!0})}},{key:"wrapMatches",value:function(f,h,d,g,p){var y=this,w=h===0?0:h+1;this.getTextNodes(function(b){b.nodes.forEach(function(_){_=_.node;for(var x=void 0;(x=f.exec(_.textContent))!==null&&x[w]!=="";)if(d(x[w],_)){var E=x.index;if(w!==0)for(var T=1;Te.length)&&(t=e.length);for(var n=0,r=new Array(t);n
',AM=Number.isNaN||qn.isNaN;function we(e){return typeof e=="number"&&!AM(e)}var Zp=function(t){return t>0&&t<1/0};function au(e){return typeof e>"u"}function Qr(e){return sl(e)==="object"&&e!==null}var OM=Object.prototype.hasOwnProperty;function wi(e){if(!Qr(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&OM.call(n,"isPrototypeOf")}catch{return!1}}function Zt(e){return typeof e=="function"}var CM=Array.prototype.slice;function R_(e){return Array.from?Array.from(e):CM.call(e)}function lt(e,t){return e&&Zt(t)&&(Array.isArray(e)||we(e.length)?R_(e).forEach(function(n,r){t.call(e,n,r,e)}):Qr(e)&&Object.keys(e).forEach(function(n){t.call(e,e[n],n,e)})),e}var qe=Object.assign||function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i0&&r.forEach(function(s){Qr(s)&&Object.keys(s).forEach(function(o){t[o]=s[o]})}),t},kM=/\.\d*(?:0|9){12}\d*$/;function Mi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return kM.test(e)?Math.round(e*t)/t:e}var PM=/^width|height|left|top|marginLeft|marginTop$/;function Er(e,t){var n=e.style;lt(t,function(r,i){PM.test(i)&&we(r)&&(r="".concat(r,"px")),n[i]=r})}function IM(e,t){return e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function bt(e,t){if(t){if(we(e.length)){lt(e,function(r){bt(r,t)});return}if(e.classList){e.classList.add(t);return}var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function Zn(e,t){if(t){if(we(e.length)){lt(e,function(n){Zn(n,t)});return}if(e.classList){e.classList.remove(t);return}e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,""))}}function xi(e,t,n){if(t){if(we(e.length)){lt(e,function(r){xi(r,t,n)});return}n?bt(e,t):Zn(e,t)}}var NM=/([a-z\d])([A-Z])/g;function _f(e){return e.replace(NM,"$1-$2").toLowerCase()}function pl(e,t){return Qr(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(_f(t)))}function Ys(e,t,n){Qr(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(_f(t)),n)}function RM(e,t){if(Qr(e[t]))try{delete e[t]}catch{e[t]=void 0}else if(e.dataset)try{delete e.dataset[t]}catch{e.dataset[t]=void 0}else e.removeAttribute("data-".concat(_f(t)))}var $_=/\s\s*/,M_=(function(){var e=!1;if(oc){var t=!1,n=function(){},r=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(s){t=s}});qn.addEventListener("test",n,r),qn.removeEventListener("test",n,r)}return e})();function yn(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=n;t.trim().split($_).forEach(function(s){if(!M_){var o=e.listeners;o&&o[s]&&o[s][n]&&(i=o[s][n],delete o[s][n],Object.keys(o[s]).length===0&&delete o[s],Object.keys(o).length===0&&delete e.listeners)}e.removeEventListener(s,i,r)})}function an(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=n;t.trim().split($_).forEach(function(s){if(r.once&&!M_){var o=e.listeners,a=o===void 0?{}:o;i=function(){delete a[s][n],e.removeEventListener(s,i,r);for(var l=arguments.length,c=new Array(l),f=0;fMath.abs(n)&&(n=h)})}),n}function Mo(e,t){var n=e.pageX,r=e.pageY,i={endX:n,endY:r};return t?i:S_({startX:n,startY:r},i)}function DM(e){var t=0,n=0,r=0;return lt(e,function(i){var s=i.startX,o=i.startY;t+=s,n+=o,r+=1}),t/=r,n/=r,{pageX:t,pageY:n}}function Tr(e){var t=e.aspectRatio,n=e.height,r=e.width,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",s=Zp(r),o=Zp(n);if(s&&o){var a=n*t;i==="contain"&&a>r||i==="cover"&&a90?{width:u,height:a}:{width:a,height:u}}function jM(e,t,n,r){var i=t.aspectRatio,s=t.naturalWidth,o=t.naturalHeight,a=t.rotate,u=a===void 0?0:a,l=t.scaleX,c=l===void 0?1:l,f=t.scaleY,h=f===void 0?1:f,d=n.aspectRatio,g=n.naturalWidth,p=n.naturalHeight,y=r.fillColor,w=y===void 0?"transparent":y,b=r.imageSmoothingEnabled,_=b===void 0?!0:b,x=r.imageSmoothingQuality,E=x===void 0?"low":x,T=r.maxWidth,P=T===void 0?1/0:T,R=r.maxHeight,C=R===void 0?1/0:R,M=r.minWidth,W=M===void 0?0:M,U=r.minHeight,L=U===void 0?0:U,K=document.createElement("canvas"),re=K.getContext("2d"),q=Tr({aspectRatio:d,width:P,height:C}),Q=Tr({aspectRatio:d,width:W,height:L},"cover"),J=Math.min(q.width,Math.max(Q.width,g)),ve=Math.min(q.height,Math.max(Q.height,p)),nt=Tr({aspectRatio:i,width:P,height:C}),ye=Tr({aspectRatio:i,width:W,height:L},"cover"),$e=Math.min(nt.width,Math.max(ye.width,s)),Ie=Math.min(nt.height,Math.max(ye.height,o)),Ne=[-$e/2,-Ie/2,$e,Ie];return K.width=Mi(J),K.height=Mi(ve),re.fillStyle=w,re.fillRect(0,0,J,ve),re.save(),re.translate(J/2,ve/2),re.rotate(u*Math.PI/180),re.scale(c,h),re.imageSmoothingEnabled=_,re.imageSmoothingQuality=E,re.drawImage.apply(re,[e].concat(T_(Ne.map(function(de){return Math.floor(Mi(de))})))),re.restore(),K}var L_=String.fromCharCode;function UM(e,t,n){var r="";n+=t;for(var i=t;i0;)n.push(L_.apply(null,R_(i.subarray(0,r)))),i=i.subarray(r);return"data:".concat(t,";base64,").concat(btoa(n.join("")))}function HM(e){var t=new DataView(e),n;try{var r,i,s;if(t.getUint8(0)===255&&t.getUint8(1)===216)for(var o=t.byteLength,a=2;a+1=8&&(s=l+f)}}}if(s){var h=t.getUint16(s,r),d,g;for(g=0;g=0?s:I_),height:Math.max(r.offsetHeight,o>=0?o:N_)};this.containerData=a,Er(i,{width:a.width,height:a.height}),bt(t,qt),Zn(i,qt)},initCanvas:function(){var t=this.containerData,n=this.imageData,r=this.options.viewMode,i=Math.abs(n.rotate)%180===90,s=i?n.naturalHeight:n.naturalWidth,o=i?n.naturalWidth:n.naturalHeight,a=s/o,u=t.width,l=t.height;t.height*a>t.width?r===3?u=t.height*a:l=t.width/a:r===3?l=t.width/a:u=t.height*a;var c={aspectRatio:a,naturalWidth:s,naturalHeight:o,width:u,height:l};this.canvasData=c,this.limited=r===1||r===2,this.limitCanvas(!0,!0),c.width=Math.min(Math.max(c.width,c.minWidth),c.maxWidth),c.height=Math.min(Math.max(c.height,c.minHeight),c.maxHeight),c.left=(t.width-c.width)/2,c.top=(t.height-c.height)/2,c.oldLeft=c.left,c.oldTop=c.top,this.initialCanvasData=qe({},c)},limitCanvas:function(t,n){var r=this.options,i=this.containerData,s=this.canvasData,o=this.cropBoxData,a=r.viewMode,u=s.aspectRatio,l=this.cropped&&o;if(t){var c=Number(r.minCanvasWidth)||0,f=Number(r.minCanvasHeight)||0;a>1?(c=Math.max(c,i.width),f=Math.max(f,i.height),a===3&&(f*u>c?c=f*u:f=c/u)):a>0&&(c?c=Math.max(c,l?o.width:0):f?f=Math.max(f,l?o.height:0):l&&(c=o.width,f=o.height,f*u>c?c=f*u:f=c/u));var h=Tr({aspectRatio:u,width:c,height:f});c=h.width,f=h.height,s.minWidth=c,s.minHeight=f,s.maxWidth=1/0,s.maxHeight=1/0}if(n)if(a>(l?0:1)){var d=i.width-s.width,g=i.height-s.height;s.minLeft=Math.min(0,d),s.minTop=Math.min(0,g),s.maxLeft=Math.max(0,d),s.maxTop=Math.max(0,g),l&&this.limited&&(s.minLeft=Math.min(o.left,o.left+(o.width-s.width)),s.minTop=Math.min(o.top,o.top+(o.height-s.height)),s.maxLeft=o.left,s.maxTop=o.top,a===2&&(s.width>=i.width&&(s.minLeft=Math.min(0,d),s.maxLeft=Math.max(0,d)),s.height>=i.height&&(s.minTop=Math.min(0,g),s.maxTop=Math.max(0,g))))}else s.minLeft=-s.width,s.minTop=-s.height,s.maxLeft=i.width,s.maxTop=i.height},renderCanvas:function(t,n){var r=this.canvasData,i=this.imageData;if(n){var s=LM({width:i.naturalWidth*Math.abs(i.scaleX||1),height:i.naturalHeight*Math.abs(i.scaleY||1),degree:i.rotate||0}),o=s.width,a=s.height,u=r.width*(o/r.naturalWidth),l=r.height*(a/r.naturalHeight);r.left-=(u-r.width)/2,r.top-=(l-r.height)/2,r.width=u,r.height=l,r.aspectRatio=o/a,r.naturalWidth=o,r.naturalHeight=a,this.limitCanvas(!0,!1)}(r.width>r.maxWidth||r.widthr.maxHeight||r.heightn.width?s.height=s.width/r:s.width=s.height*r),this.cropBoxData=s,this.limitCropBox(!0,!0),s.width=Math.min(Math.max(s.width,s.minWidth),s.maxWidth),s.height=Math.min(Math.max(s.height,s.minHeight),s.maxHeight),s.width=Math.max(s.minWidth,s.width*i),s.height=Math.max(s.minHeight,s.height*i),s.left=n.left+(n.width-s.width)/2,s.top=n.top+(n.height-s.height)/2,s.oldLeft=s.left,s.oldTop=s.top,this.initialCropBoxData=qe({},s)},limitCropBox:function(t,n){var r=this.options,i=this.containerData,s=this.canvasData,o=this.cropBoxData,a=this.limited,u=r.aspectRatio;if(t){var l=Number(r.minCropBoxWidth)||0,c=Number(r.minCropBoxHeight)||0,f=a?Math.min(i.width,s.width,s.width+s.left,i.width-s.left):i.width,h=a?Math.min(i.height,s.height,s.height+s.top,i.height-s.top):i.height;l=Math.min(l,i.width),c=Math.min(c,i.height),u&&(l&&c?c*u>l?c=l/u:l=c*u:l?c=l/u:c&&(l=c*u),h*u>f?h=f/u:f=h*u),o.minWidth=Math.min(l,f),o.minHeight=Math.min(c,h),o.maxWidth=f,o.maxHeight=h}n&&(a?(o.minLeft=Math.max(0,s.left),o.minTop=Math.max(0,s.top),o.maxLeft=Math.min(i.width,s.left+s.width)-o.width,o.maxTop=Math.min(i.height,s.top+s.height)-o.height):(o.minLeft=0,o.minTop=0,o.maxLeft=i.width-o.width,o.maxTop=i.height-o.height))},renderCropBox:function(){var t=this.options,n=this.containerData,r=this.cropBoxData;(r.width>r.maxWidth||r.widthr.maxHeight||r.height=n.width&&r.height>=n.height?O_:vf),Er(this.cropBox,qe({width:r.width,height:r.height},Ls({translateX:r.left,translateY:r.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Di(this.element,ul,this.getData())}},ZM={initPreview:function(){var t=this.element,n=this.crossOrigin,r=this.options.preview,i=n?this.crossOriginUrl:this.url,s=t.alt||"The image to preview",o=document.createElement("img");if(n&&(o.crossOrigin=n),o.src=i,o.alt=s,this.viewBox.appendChild(o),this.viewBoxImage=o,!!r){var a=r;typeof r=="string"?a=t.ownerDocument.querySelectorAll(r):r.querySelector&&(a=[r]),this.previews=a,lt(a,function(u){var l=document.createElement("img");Ys(u,$o,{width:u.offsetWidth,height:u.offsetHeight,html:u.innerHTML}),n&&(l.crossOrigin=n),l.src=i,l.alt=s,l.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',u.innerHTML="",u.appendChild(l)})}},resetPreview:function(){lt(this.previews,function(t){var n=pl(t,$o);Er(t,{width:n.width,height:n.height}),t.innerHTML=n.html,RM(t,$o)})},preview:function(){var t=this.imageData,n=this.canvasData,r=this.cropBoxData,i=r.width,s=r.height,o=t.width,a=t.height,u=r.left-n.left-t.left,l=r.top-n.top-t.top;!this.cropped||this.disabled||(Er(this.viewBoxImage,qe({width:o,height:a},Ls(qe({translateX:-u,translateY:-l},t)))),lt(this.previews,function(c){var f=pl(c,$o),h=f.width,d=f.height,g=h,p=d,y=1;i&&(y=h/i,p=s*y),s&&p>d&&(y=d/s,g=i*y,p=d),Er(c,{width:g,height:p}),Er(c.getElementsByTagName("img")[0],qe({width:o*y,height:a*y},Ls(qe({translateX:-u*y,translateY:-l*y},t))))}))}},qM={bind:function(){var t=this.element,n=this.options,r=this.cropper;Zt(n.cropstart)&&an(t,hl,n.cropstart),Zt(n.cropmove)&&an(t,fl,n.cropmove),Zt(n.cropend)&&an(t,ll,n.cropend),Zt(n.crop)&&an(t,ul,n.crop),Zt(n.zoom)&&an(t,dl,n.zoom),an(r,jp,this.onCropStart=this.cropStart.bind(this)),n.zoomable&&n.zoomOnWheel&&an(r,Hp,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),n.toggleDragModeOnDblclick&&an(r,Lp,this.onDblclick=this.dblclick.bind(this)),an(t.ownerDocument,Up,this.onCropMove=this.cropMove.bind(this)),an(t.ownerDocument,Fp,this.onCropEnd=this.cropEnd.bind(this)),n.responsive&&an(window,Bp,this.onResize=this.resize.bind(this))},unbind:function(){var t=this.element,n=this.options,r=this.cropper;Zt(n.cropstart)&&yn(t,hl,n.cropstart),Zt(n.cropmove)&&yn(t,fl,n.cropmove),Zt(n.cropend)&&yn(t,ll,n.cropend),Zt(n.crop)&&yn(t,ul,n.crop),Zt(n.zoom)&&yn(t,dl,n.zoom),yn(r,jp,this.onCropStart),n.zoomable&&n.zoomOnWheel&&yn(r,Hp,this.onWheel,{passive:!1,capture:!0}),n.toggleDragModeOnDblclick&&yn(r,Lp,this.onDblclick),yn(t.ownerDocument,Up,this.onCropMove),yn(t.ownerDocument,Fp,this.onCropEnd),n.responsive&&yn(window,Bp,this.onResize)}},KM={resize:function(){if(!this.disabled){var t=this.options,n=this.container,r=this.containerData,i=n.offsetWidth/r.width,s=n.offsetHeight/r.height,o=Math.abs(i-1)>Math.abs(s-1)?i:s;if(o!==1){var a,u;t.restore&&(a=this.getCanvasData(),u=this.getCropBoxData()),this.render(),t.restore&&(this.setCanvasData(lt(a,function(l,c){a[c]=l*o})),this.setCropBoxData(lt(u,function(l,c){u[c]=l*o})))}}},dblclick:function(){this.disabled||this.options.dragMode===P_||this.setDragMode(IM(this.dragBox,al)?k_:yf)},wheel:function(t){var n=this,r=Number(this.options.wheelZoomRatio)||.1,i=1;this.disabled||(t.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){n.wheeling=!1},50),t.deltaY?i=t.deltaY>0?1:-1:t.wheelDelta?i=-t.wheelDelta/120:t.detail&&(i=t.detail>0?1:-1),this.zoom(-i*r,t)))},cropStart:function(t){var n=t.buttons,r=t.button;if(!(this.disabled||(t.type==="mousedown"||t.type==="pointerdown"&&t.pointerType==="mouse")&&(we(n)&&n!==1||we(r)&&r!==0||t.ctrlKey))){var i=this.options,s=this.pointers,o;t.changedTouches?lt(t.changedTouches,function(a){s[a.identifier]=Mo(a)}):s[t.pointerId||0]=Mo(t),Object.keys(s).length>1&&i.zoomable&&i.zoomOnTouch?o=C_:o=pl(t.target,Js),wM.test(o)&&Di(this.element,hl,{originalEvent:t,action:o})!==!1&&(t.preventDefault(),this.action=o,this.cropping=!1,o===A_&&(this.cropping=!0,bt(this.dragBox,Ta)))}},cropMove:function(t){var n=this.action;if(!(this.disabled||!n)){var r=this.pointers;t.preventDefault(),Di(this.element,fl,{originalEvent:t,action:n})!==!1&&(t.changedTouches?lt(t.changedTouches,function(i){qe(r[i.identifier]||{},Mo(i,!0))}):qe(r[t.pointerId||0]||{},Mo(t,!0)),this.change(t))}},cropEnd:function(t){if(!this.disabled){var n=this.action,r=this.pointers;t.changedTouches?lt(t.changedTouches,function(i){delete r[i.identifier]}):delete r[t.pointerId||0],n&&(t.preventDefault(),Object.keys(r).length||(this.action=""),this.cropping&&(this.cropping=!1,xi(this.dragBox,Ta,this.cropped&&this.options.modal)),Di(this.element,ll,{originalEvent:t,action:n}))}}},GM={change:function(t){var n=this.options,r=this.canvasData,i=this.containerData,s=this.cropBoxData,o=this.pointers,a=this.action,u=n.aspectRatio,l=s.left,c=s.top,f=s.width,h=s.height,d=l+f,g=c+h,p=0,y=0,w=i.width,b=i.height,_=!0,x;!u&&t.shiftKey&&(u=f&&h?f/h:1),this.limited&&(p=s.minLeft,y=s.minTop,w=p+Math.min(i.width,r.width,r.left+r.width),b=y+Math.min(i.height,r.height,r.top+r.height));var E=o[Object.keys(o)[0]],T={x:E.endX-E.startX,y:E.endY-E.startY},P=function(C){switch(C){case Ur:d+T.x>w&&(T.x=w-d);break;case Fr:l+T.xb&&(T.y=b-g);break}};switch(a){case vf:l+=T.x,c+=T.y;break;case Ur:if(T.x>=0&&(d>=w||u&&(c<=y||g>=b))){_=!1;break}P(Ur),f+=T.x,f<0&&(a=Fr,f=-f,l-=f),u&&(h=f/u,c+=(s.height-h)/2);break;case vr:if(T.y<=0&&(c<=y||u&&(l<=p||d>=w))){_=!1;break}P(vr),h-=T.y,c+=T.y,h<0&&(a=hi,h=-h,c-=h),u&&(f=h*u,l+=(s.width-f)/2);break;case Fr:if(T.x<=0&&(l<=p||u&&(c<=y||g>=b))){_=!1;break}P(Fr),f-=T.x,l+=T.x,f<0&&(a=Ur,f=-f,l-=f),u&&(h=f/u,c+=(s.height-h)/2);break;case hi:if(T.y>=0&&(g>=b||u&&(l<=p||d>=w))){_=!1;break}P(hi),h+=T.y,h<0&&(a=vr,h=-h,c-=h),u&&(f=h*u,l+=(s.width-f)/2);break;case _s:if(u){if(T.y<=0&&(c<=y||d>=w)){_=!1;break}P(vr),h-=T.y,c+=T.y,f=h*u}else P(vr),P(Ur),T.x>=0?dy&&(h-=T.y,c+=T.y):(h-=T.y,c+=T.y);f<0&&h<0?(a=xs,h=-h,f=-f,c-=h,l-=f):f<0?(a=bs,f=-f,l-=f):h<0&&(a=ws,h=-h,c-=h);break;case bs:if(u){if(T.y<=0&&(c<=y||l<=p)){_=!1;break}P(vr),h-=T.y,c+=T.y,f=h*u,l+=s.width-f}else P(vr),P(Fr),T.x<=0?l>p?(f-=T.x,l+=T.x):T.y<=0&&c<=y&&(_=!1):(f-=T.x,l+=T.x),T.y<=0?c>y&&(h-=T.y,c+=T.y):(h-=T.y,c+=T.y);f<0&&h<0?(a=ws,h=-h,f=-f,c-=h,l-=f):f<0?(a=_s,f=-f,l-=f):h<0&&(a=xs,h=-h,c-=h);break;case xs:if(u){if(T.x<=0&&(l<=p||g>=b)){_=!1;break}P(Fr),f-=T.x,l+=T.x,h=f/u}else P(hi),P(Fr),T.x<=0?l>p?(f-=T.x,l+=T.x):T.y>=0&&g>=b&&(_=!1):(f-=T.x,l+=T.x),T.y>=0?g=0&&(d>=w||g>=b)){_=!1;break}P(Ur),f+=T.x,h=f/u}else P(hi),P(Ur),T.x>=0?d=0&&g>=b&&(_=!1):f+=T.x,T.y>=0?g0?a=T.y>0?ws:_s:T.x<0&&(l-=f,a=T.y>0?xs:bs),T.y<0&&(c-=h),this.cropped||(Zn(this.cropBox,qt),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}_&&(s.width=f,s.height=h,s.left=l,s.top=c,this.action=a,this.renderCropBox()),lt(o,function(R){R.startX=R.endX,R.startY=R.endY})}},JM={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&bt(this.dragBox,Ta),Zn(this.cropBox,qt),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=qe({},this.initialImageData),this.canvasData=qe({},this.initialCanvasData),this.cropBoxData=qe({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(qe(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Zn(this.dragBox,Ta),bt(this.cropBox,qt)),this},replace:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&t&&(this.isImg&&(this.element.src=t),n?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,lt(this.previews,function(r){r.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Zn(this.cropper,Mp)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,bt(this.cropper,Mp)),this},destroy:function(){var t=this.element;return t[Ze]?(t[Ze]=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate(),this):this},move:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,r=this.canvasData,i=r.left,s=r.top;return this.moveTo(au(t)?t:i+Number(t),au(n)?n:s+Number(n))},moveTo:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,r=this.canvasData,i=!1;return t=Number(t),n=Number(n),this.ready&&!this.disabled&&this.options.movable&&(we(t)&&(r.left=t,i=!0),we(n)&&(r.top=n,i=!0),i&&this.renderCanvas(!0)),this},zoom:function(t,n){var r=this.canvasData;return t=Number(t),t<0?t=1/(1-t):t=1+t,this.zoomTo(r.width*t/r.naturalWidth,null,n)},zoomTo:function(t,n,r){var i=this.options,s=this.canvasData,o=s.width,a=s.height,u=s.naturalWidth,l=s.naturalHeight;if(t=Number(t),t>=0&&this.ready&&!this.disabled&&i.zoomable){var c=u*t,f=l*t;if(Di(this.element,dl,{ratio:t,oldRatio:o/u,originalEvent:r})===!1)return this;if(r){var h=this.pointers,d=D_(this.cropper),g=h&&Object.keys(h).length?DM(h):{pageX:r.pageX,pageY:r.pageY};s.left-=(c-o)*((g.pageX-d.left-s.left)/o),s.top-=(f-a)*((g.pageY-d.top-s.top)/a)}else wi(n)&&we(n.x)&&we(n.y)?(s.left-=(c-o)*((n.x-s.left)/o),s.top-=(f-a)*((n.y-s.top)/a)):(s.left-=(c-o)/2,s.top-=(f-a)/2);s.width=c,s.height=f,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return t=Number(t),we(t)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var n=this.imageData.scaleY;return this.scale(t,we(n)?n:1)},scaleY:function(t){var n=this.imageData.scaleX;return this.scale(we(n)?n:1,t)},scale:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,r=this.imageData,i=!1;return t=Number(t),n=Number(n),this.ready&&!this.disabled&&this.options.scalable&&(we(t)&&(r.scaleX=t,i=!0),we(n)&&(r.scaleY=n,i=!0),i&&this.renderCanvas(!0,!0)),this},getData:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.options,r=this.imageData,i=this.canvasData,s=this.cropBoxData,o;if(this.ready&&this.cropped){o={x:s.left-i.left,y:s.top-i.top,width:s.width,height:s.height};var a=r.width/r.naturalWidth;if(lt(o,function(c,f){o[f]=c/a}),t){var u=Math.round(o.y+o.height),l=Math.round(o.x+o.width);o.x=Math.round(o.x),o.y=Math.round(o.y),o.width=l-o.x,o.height=u-o.y}}else o={x:0,y:0,width:0,height:0};return n.rotatable&&(o.rotate=r.rotate||0),n.scalable&&(o.scaleX=r.scaleX||1,o.scaleY=r.scaleY||1),o},setData:function(t){var n=this.options,r=this.imageData,i=this.canvasData,s={};if(this.ready&&!this.disabled&&wi(t)){var o=!1;n.rotatable&&we(t.rotate)&&t.rotate!==r.rotate&&(r.rotate=t.rotate,o=!0),n.scalable&&(we(t.scaleX)&&t.scaleX!==r.scaleX&&(r.scaleX=t.scaleX,o=!0),we(t.scaleY)&&t.scaleY!==r.scaleY&&(r.scaleY=t.scaleY,o=!0)),o&&this.renderCanvas(!0,!0);var a=r.width/r.naturalWidth;we(t.x)&&(s.left=t.x*a+i.left),we(t.y)&&(s.top=t.y*a+i.top),we(t.width)&&(s.width=t.width*a),we(t.height)&&(s.height=t.height*a),this.setCropBoxData(s)}return this},getContainerData:function(){return this.ready?qe({},this.containerData):{}},getImageData:function(){return this.sized?qe({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,n={};return this.ready&<(["left","top","width","height","naturalWidth","naturalHeight"],function(r){n[r]=t[r]}),n},setCanvasData:function(t){var n=this.canvasData,r=n.aspectRatio;return this.ready&&!this.disabled&&wi(t)&&(we(t.left)&&(n.left=t.left),we(t.top)&&(n.top=t.top),we(t.width)?(n.width=t.width,n.height=t.width/r):we(t.height)&&(n.height=t.height,n.width=t.height*r),this.renderCanvas(!0)),this},getCropBoxData:function(){var t=this.cropBoxData,n;return this.ready&&this.cropped&&(n={left:t.left,top:t.top,width:t.width,height:t.height}),n||{}},setCropBoxData:function(t){var n=this.cropBoxData,r=this.options.aspectRatio,i,s;return this.ready&&this.cropped&&!this.disabled&&wi(t)&&(we(t.left)&&(n.left=t.left),we(t.top)&&(n.top=t.top),we(t.width)&&t.width!==n.width&&(i=!0,n.width=t.width),we(t.height)&&t.height!==n.height&&(s=!0,n.height=t.height),r&&(i?n.height=n.width/r:s&&(n.width=n.height*r)),this.renderCropBox()),this},getCroppedCanvas:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var n=this.canvasData,r=jM(this.image,this.imageData,n,t);if(!this.cropped)return r;var i=this.getData(t.rounded),s=i.x,o=i.y,a=i.width,u=i.height,l=r.width/Math.floor(n.naturalWidth);l!==1&&(s*=l,o*=l,a*=l,u*=l);var c=a/u,f=Tr({aspectRatio:c,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),h=Tr({aspectRatio:c,width:t.minWidth||0,height:t.minHeight||0},"cover"),d=Tr({aspectRatio:c,width:t.width||(l!==1?r.width:a),height:t.height||(l!==1?r.height:u)}),g=d.width,p=d.height;g=Math.min(f.width,Math.max(h.width,g)),p=Math.min(f.height,Math.max(h.height,p));var y=document.createElement("canvas"),w=y.getContext("2d");y.width=Mi(g),y.height=Mi(p),w.fillStyle=t.fillColor||"transparent",w.fillRect(0,0,g,p);var b=t.imageSmoothingEnabled,_=b===void 0?!0:b,x=t.imageSmoothingQuality;w.imageSmoothingEnabled=_,x&&(w.imageSmoothingQuality=x);var E=r.width,T=r.height,P=s,R=o,C,M,W,U,L,K;P<=-a||P>E?(P=0,C=0,W=0,L=0):P<=0?(W=-P,P=0,C=Math.min(E,a+P),L=C):P<=E&&(W=0,C=Math.min(a,E-P),L=C),C<=0||R<=-u||R>T?(R=0,M=0,U=0,K=0):R<=0?(U=-R,R=0,M=Math.min(T,u+R),K=M):R<=T&&(U=0,M=Math.min(u,T-R),K=M);var re=[P,R,C,M];if(L>0&&K>0){var q=g/a;re.push(W*q,U*q,L*q,K*q)}return w.drawImage.apply(w,[r].concat(T_(re.map(function(Q){return Math.floor(Mi(Q))})))),y},setAspectRatio:function(t){var n=this.options;return!this.disabled&&!au(t)&&(n.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var n=this.options,r=this.dragBox,i=this.face;if(this.ready&&!this.disabled){var s=t===yf,o=n.movable&&t===k_;t=s||o?t:P_,n.dragMode=t,Ys(r,Js,t),xi(r,al,s),xi(r,cl,o),n.cropBoxMovable||(Ys(i,Js,t),xi(i,al,s),xi(i,cl,o))}return this}},YM=qn.Cropper,XM=(function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(lM(this,e),!t||!EM.test(t.tagName))throw new Error("The first argument is required and must be an or element.");this.element=t,this.options=qe({},Wp,wi(n)&&n),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return fM(e,[{key:"init",value:function(){var n=this.element,r=n.tagName.toLowerCase(),i;if(!n[Ze]){if(n[Ze]=this,r==="img"){if(this.isImg=!0,i=n.getAttribute("src")||"",this.originalUrl=i,!i)return;i=n.src}else r==="canvas"&&window.HTMLCanvasElement&&(i=n.toDataURL());this.load(i)}}},{key:"load",value:function(n){var r=this;if(n){this.url=n,this.imageData={};var i=this.element,s=this.options;if(!s.rotatable&&!s.scalable&&(s.checkOrientation=!1),!s.checkOrientation||!window.ArrayBuffer){this.clone();return}if(xM.test(n)){SM.test(n)?this.read(zM(n)):this.clone();return}var o=new XMLHttpRequest,a=this.clone.bind(this);this.reloading=!0,this.xhr=o,o.onabort=a,o.onerror=a,o.ontimeout=a,o.onprogress=function(){o.getResponseHeader("content-type")!==Vp&&o.abort()},o.onload=function(){r.read(o.response)},o.onloadend=function(){r.reloading=!1,r.xhr=null},s.checkCrossOrigin&&qp(n)&&i.crossOrigin&&(n=Kp(n)),o.open("GET",n,!0),o.responseType="arraybuffer",o.withCredentials=i.crossOrigin==="use-credentials",o.send()}}},{key:"read",value:function(n){var r=this.options,i=this.imageData,s=HM(n),o=0,a=1,u=1;if(s>1){this.url=BM(n,Vp);var l=VM(s);o=l.rotate,a=l.scaleX,u=l.scaleY}r.rotatable&&(i.rotate=o),r.scalable&&(i.scaleX=a,i.scaleY=u),this.clone()}},{key:"clone",value:function(){var n=this.element,r=this.url,i=n.crossOrigin,s=r;this.options.checkCrossOrigin&&qp(r)&&(i||(i="anonymous"),s=Kp(r)),this.crossOrigin=i,this.crossOriginUrl=s;var o=document.createElement("img");i&&(o.crossOrigin=i),o.src=s||r,o.alt=n.alt||"The image to crop",this.image=o,o.onload=this.start.bind(this),o.onerror=this.stop.bind(this),bt(o,Dp),n.parentNode.insertBefore(o,n.nextSibling)}},{key:"start",value:function(){var n=this,r=this.image;r.onload=null,r.onerror=null,this.sizing=!0;var i=qn.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(qn.navigator.userAgent),s=function(l,c){qe(n.imageData,{naturalWidth:l,naturalHeight:c,aspectRatio:l/c}),n.initialImageData=qe({},n.imageData),n.sizing=!1,n.sized=!0,n.build()};if(r.naturalWidth&&!i){s(r.naturalWidth,r.naturalHeight);return}var o=document.createElement("img"),a=document.body||document.documentElement;this.sizingImage=o,o.onload=function(){s(o.width,o.height),i||a.removeChild(o)},o.src=r.src,i||(o.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",a.appendChild(o))}},{key:"stop",value:function(){var n=this.image;n.onload=null,n.onerror=null,n.parentNode.removeChild(n),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var n=this.element,r=this.options,i=this.image,s=n.parentNode,o=document.createElement("div");o.innerHTML=TM;var a=o.querySelector(".".concat(Ze,"-container")),u=a.querySelector(".".concat(Ze,"-canvas")),l=a.querySelector(".".concat(Ze,"-drag-box")),c=a.querySelector(".".concat(Ze,"-crop-box")),f=c.querySelector(".".concat(Ze,"-face"));this.container=s,this.cropper=a,this.canvas=u,this.dragBox=l,this.cropBox=c,this.viewBox=a.querySelector(".".concat(Ze,"-view-box")),this.face=f,u.appendChild(i),bt(n,qt),s.insertBefore(a,n.nextSibling),Zn(i,Dp),this.initPreview(),this.bind(),r.initialAspectRatio=Math.max(0,r.initialAspectRatio)||NaN,r.aspectRatio=Math.max(0,r.aspectRatio)||NaN,r.viewMode=Math.max(0,Math.min(3,Math.round(r.viewMode)))||0,bt(c,qt),r.guides||bt(c.getElementsByClassName("".concat(Ze,"-dashed")),qt),r.center||bt(c.getElementsByClassName("".concat(Ze,"-center")),qt),r.background&&bt(a,"".concat(Ze,"-bg")),r.highlight||bt(f,vM),r.cropBoxMovable&&(bt(f,cl),Ys(f,Js,vf)),r.cropBoxResizable||(bt(c.getElementsByClassName("".concat(Ze,"-line")),qt),bt(c.getElementsByClassName("".concat(Ze,"-point")),qt)),this.render(),this.ready=!0,this.setDragMode(r.dragMode),r.autoCrop&&this.crop(),this.setData(r.data),Zt(r.ready)&&an(n,zp,r.ready,{once:!0}),Di(n,zp)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var n=this.cropper.parentNode;n&&n.removeChild(this.cropper),Zn(this.element,qt)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=YM,e}},{key:"setDefaults",value:function(n){qe(Wp,wi(n)&&n)}}])})();qe(XM.prototype,WM,ZM,qM,KM,GM,JM);const Xs={name:{table:"resource-table",condensedTable:"resource-table-condensed",tiles:"resource-tiles"},defaultModeName:"resource-tiles",queryName:"view-mode",tilesSizeDefault:2,tilesSizeMax:6,tilesSizeQueryName:"tiles-size"};function oj(e){if(e)return ae(()=>Z(e));const t=t_({name:Xs.queryName,defaultValue:Xs.defaultModeName});return ae(()=>sc(Z(t)))}function aj(e){if(e)return ae(()=>parseInt(Z(e)));const t=t_({name:Xs.tilesSizeQueryName,defaultValue:Xs.tilesSizeDefault.toString()});return ae(()=>parseInt(sc(Z(t))))}const QM=Re(Xs.tilesSizeMax);function cj(){return QM}export{wg as $,xD as A,w1 as B,ut as C,YD as D,bg as E,ht as F,UD as G,Zs as H,Ke as I,Fg as J,bD as K,_D as L,rm as M,Gx as N,ED as O,TD as P,CD as Q,Go as R,ki as S,hD as T,AD as U,Bl as V,SD as W,QD as X,OD as Y,ZD as Z,eD as _,Qg as a,_c as a$,Tt as a0,ja as a1,sD as a2,kl as a3,_n as a4,Sx as a5,Gi as a6,Wa as a7,iL as a8,gD as a9,sm as aA,N1 as aB,j1 as aC,Yi as aD,L1 as aE,D1 as aF,xg as aG,M1 as aH,Rl as aI,Il as aJ,o1 as aK,_t as aL,Zx as aM,uD as aN,d1 as aO,Ug as aP,cD as aQ,Qo as aR,to as aS,Gr as aT,Re as aU,FD as aV,fS as aW,sh as aX,vn as aY,wD as aZ,F1 as a_,yD as aa,vD as ab,mD as ac,BD as ad,sL as ae,ir as af,Ex as ag,Ha as ah,En as ai,ur as aj,Ge as ak,zD as al,nn as am,Or as an,Al as ao,ND as ap,RD as aq,Eu as ar,Ji as as,kx as at,ji as au,mn as av,Da as aw,I1 as ax,$1 as ay,Nl as az,aD as b,ZS as b$,GD as b0,Hs as b1,sa as b2,qD as b3,Ar as b4,Jw as b5,Yw as b6,Yt as b7,p1 as b8,KD as b9,Nu as bA,Pu as bB,Tx as bC,VD as bD,hn as bE,m1 as bF,fD as bG,v1 as bH,MD as bI,Cl as bJ,kD as bK,mc as bL,rL as bM,HD as bN,Rh as bO,lD as bP,Uh as bQ,qo as bR,qi as bS,Qs as bT,wo as bU,yL as bV,me as bW,fv as bX,Qa as bY,Jl as bZ,SL as b_,tD as ba,hu as bb,Do as bc,z1 as bd,xe as be,zg as bf,t1 as bg,Tn as bh,jD as bi,nD as bj,Z as bk,ID as bl,tL as bm,XD as bn,Yx as bo,dD as bp,DD as bq,g1 as br,eL as bs,PD as bt,pD as bu,Xg as bv,Wm as bw,oS as bx,Zm as by,sS as bz,WD as c,ly as c$,lL as c0,dL as c1,hL as c2,tT as c3,cs as c4,fL as c5,vL as c6,gL as c7,mL as c8,nT as c9,nR as cA,uR as cB,BL as cC,DL as cD,KL as cE,rR as cF,GL as cG,pR as cH,XL as cI,n_ as cJ,r_ as cK,i_ as cL,bO as cM,uo as cN,ey as cO,cy as cP,ec as cQ,ry as cR,fy as cS,jL as cT,WS as cU,co as cV,TL as cW,IL as cX,kL as cY,OL as cZ,uy as c_,pL as ca,FL as cb,g0 as cc,_l as cd,zL as ce,ei as cf,HL as cg,Ja as ch,xo as ci,ao as cj,hf as ck,py as cl,cO as cm,RL as cn,$S as co,XM as cp,JL as cq,_R as cr,sc as cs,iR as ct,oR as cu,cR as cv,mN as cw,Xs as cx,sR as cy,aR as cz,LD as d,cg as d$,ay as d0,Zu as d1,oy as d2,sy as d3,YL as d4,vN as d5,UL as d6,QL as d7,wO as d8,LL as d9,yl as dA,Nn as dB,sj as dC,Ms as dD,Wy as dE,HS as dF,ha as dG,nE as dH,qh as dI,dg as dJ,rg as dK,Nr as dL,iE as dM,pv as dN,kd as dO,AL as dP,PL as dQ,NL as dR,CL as dS,$L as dT,ij as dU,qL as dV,Li as dW,Aa as dX,Lf as dY,sg as dZ,Zi as d_,gy as da,yR as db,vR as dc,t_ as dd,_O as de,oj as df,aj as dg,cj as dh,QE as di,ln as dj,tj as dk,a_ as dl,Sa as dm,eu as dn,Xr as dp,gl as dq,EL as dr,cL as ds,Ae as dt,ne as du,Ut as dv,mO as dw,WL as dx,xS as dy,aL as dz,qr as e,ng as e0,ug as e1,lu as e2,hg as e3,qb as e4,XS as e5,YS as e6,hv as e7,z0 as e8,tR as e9,eg as eA,ml as eB,e0 as eC,vb as eD,Yp as eE,Hi as ea,Be as eb,ML as ec,dt as ed,ZL as ee,eT as ef,uL as eg,VL as eh,rj as ei,Co as ej,X0 as ek,ti as el,dw as em,ow as en,Z0 as eo,lg as ep,Qp as eq,Jb as er,Yb as es,Bf as et,Xb as eu,Gb as ev,n0 as ew,W0 as ex,Wi as ey,WE as ez,rD as f,Ix as g,nL as h,iD as i,oD as j,Cn as k,no as l,pt as m,Ra as n,lr as o,JD as p,ae as q,Mh as r,Pi as s,xc as t,wn as u,Hn as v,ux as w,$D as x,cx as y,hS as z}; diff --git a/web-dist/js/chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs.gz b/web-dist/js/chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs.gz new file mode 100644 index 0000000000..edf244e7d7 Binary files /dev/null and b/web-dist/js/chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs.gz differ diff --git a/web-dist/js/chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs b/web-dist/js/chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs new file mode 100644 index 0000000000..9fa896de4a --- /dev/null +++ b/web-dist/js/chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs @@ -0,0 +1 @@ +import{M as y,aZ as g,aL as l,s,a$ as x,ar as C,bd as h,bk as t,ef as o,bJ as k,t as j,H as w,aY as B,q as i}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";const L=function*(e){return yield e},$=e=>({"gap-0":e==="none","gap-0.5":e==="xsmall","gap-1":e==="small","gap-2":e==="medium","gap-4":e==="large","gap-5":e==="xlarge","gap-6":e==="xxlarge","gap-7":e==="xxxlarge"}),H=e=>({"justify-start":e==="left","justify-center":e==="center","justify-end":e==="right","justify-around":e==="space-around","justify-between":e==="space-between","justify-evenly":e==="space-evenly"}),R=e=>({"p-0":e==="remove","p-1":e==="xsmall","p-2":e==="small","p-4":e==="medium","p-6":e==="large","p-12":e==="xlarge","p-24":e==="xxlarge"});let r=0;const q=(e="")=>(e=e||"",r+=1,e+r),J=y({__name:"OcButton",props:{appearance:{default:"outline"},ariaLabel:{},colorRole:{default:"secondary"},disabled:{type:Boolean,default:!1},gapSize:{default:"medium"},href:{},justifyContent:{default:"center"},showSpinner:{type:Boolean,default:!1},size:{default:"medium"},submit:{default:"button"},target:{},to:{},type:{default:"button"},noHover:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:c}){const u=c,d=i(()=>({...e.href&&{href:e.href},...e.target&&{target:e.target},...e.to&&{to:e.to},...e.type==="button"&&{type:e.submit},...e.type==="button"&&{disabled:e.disabled}})),m=i(()=>({...e.type==="button"&&{click:f}})),f=a=>{u("click",a)};return(a,n)=>{const b=g("oc-spinner");return l(),s(x(e.type),C(d.value,{"aria-label":e.ariaLabel,class:[[`oc-button-${t(o)(e.colorRole)}`,`oc-button-${e.appearance}`,`oc-button-${t(o)(e.colorRole)}-${e.appearance}`,{...t($)(e.gapSize),...t(H)(e.justifyContent),"text-sm min-h-3":e.size==="small","text-base min-h-4":e.size==="medium","text-lg min-h-7":e.size==="large","no-hover":e.noHover}],"oc-button cursor-pointer disabled:opacity-60 disabled:cursor-default"]},h(m.value)),{default:k(()=>[e.showSpinner?(l(),s(b,{key:0,size:"small",class:"spinner"})):j("",!0),n[0]||(n[0]=w()),B(a.$slots,"default")]),_:3},16,["aria-label","class"])}}});export{J as _,$ as a,L as c,R as g,q as u}; diff --git a/web-dist/js/chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs.gz b/web-dist/js/chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs.gz new file mode 100644 index 0000000000..cd7bd89ea7 Binary files /dev/null and b/web-dist/js/chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs.gz differ diff --git a/web-dist/js/chunks/Pagination-w-FgvznP.mjs b/web-dist/js/chunks/Pagination-w-FgvznP.mjs new file mode 100644 index 0000000000..09c2b366c8 --- /dev/null +++ b/web-dist/js/chunks/Pagination-w-FgvznP.mjs @@ -0,0 +1 @@ +import{dG as wt,dI as xt,dW as ze,dX as Ct,dY as Ve,dZ as Ue,d_ as ve,d$ as $t,bR as J,bS as Fe,cf as At,e0 as Pt,e1 as _t,e2 as Dt,e3 as Je,e4 as Mt,dA as et,e5 as Tt,bT as Et,e6 as Be,e7 as Te,e8 as Ft,cj as tt,da as Rt,ao as kt,aU as H,bk as n,e9 as Ot,cm as I,q as g,c8 as xe,cl as ge,aZ as T,aL as S,u as M,I as _,bJ as Q,v as $,bb as R,H as y,t as k,ar as we,bd as Qt,s as q,M as N,d9 as nt,co as ee,bE as Re,F as U,ca as Lt,aD as ke,as as qt,az as It,cr as st,dd as ye,cs as pe,cY as Nt,aX as Ce,au as $e,cx as de,cZ as at,cn as zt,a_ as Oe,bL as Z,ak as Vt,bA as Ut,dh as Bt,bu as Ht,aY as Wt,af as ot,a$ as Gt,cC as jt}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u as te}from"./useClientService-BP8mjZl2.mjs";import{u as oe}from"./useRoute-BGFNOdqM.mjs";import{u as re,a as Kt}from"./useAbility-DLkgdurK.mjs";import{e as me}from"./eventBus-B07Yv2pA.mjs";import{u as ie}from"./messages-bd5_8QAH.mjs";import{u as ne,f as G}from"./modals-DsP9TGnr.mjs";import{bC as se,bA as he,bl as Yt,bB as Xt,bh as Zt,bs as Jt,bt as en}from"./resources-CL0nvFAd.mjs";import{aK as le}from"./user-C7xYeMZ3.mjs";import{_ as ce}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";import{P as tn,w as rt,q as nn,u as sn,p as He,D as an,I as on}from"./SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import{u as rn}from"./useLoadingService-CLoheuuI.mjs";import{v as ln,r as it,n as lt,u as ct,m as cn}from"./vue-router-CmC7u3Bn.mjs";import{t as un}from"./toNumber-BQH-f3hb.mjs";import{A as dn}from"./ActionMenuItem-5Eo133Qt.mjs";import{u as pn,a as ut}from"./extensionRegistry-3T3I8mha.mjs";import{g as We,k as dt,c as fn,t as Qe,i as pt,d as ft}from"./omit-CjJULzjP.mjs";import{g as Ge}from"./_getTag-rbyw32wi.mjs";import{g as mn,u as gn}from"./useLoadPreview-Cv2y5hqA.mjs";import{b as hn}from"./datetime-CpSA3f1i.mjs";var je=1/0,bn=17976931348623157e292;function Sn(e){if(!e)return e===0?e:0;if(e=un(e),e===je||e===-je){var t=e<0?-1:1;return t*bn}return e===e?e:0}function vn(e){var t=Sn(e),s=t%1;return t===t?s?t-s:t:0}function yn(e,t){for(var s=-1,a=e==null?0:e.length;++sl))return!1;var d=r.get(e),h=r.get(t);if(d&&h)return d==t&&h==e;var x=-1,p=!0,u=s&xn?new wt:void 0;for(r.set(e,t),r.set(t,e);++xt||r&&i&&c&&!l&&!d||a&&i&&c||!s&&c||!o)return 1;if(!a&&!r&&!d&&e=l)return c;var d=s[a];return c*(d=="desc"?-1:1)}}return e.index-t.index}function hs(e,t,s){t.length?t=Te(t,function(r){return J(r)?function(i){return ft(i,r.length===1?r[0]:r)}:r}):t=[Je];var a=-1;t=Te(t,Ft(bt));var o=us(e,function(r,i,l){var c=Te(t,function(d){return d(r)});return{criteria:c,index:++a,value:r}});return fs(o,function(r,i){return gs(r,i,s)})}function bs(e,t,s,a){return e==null?[]:(J(t)||(t=t==null?[]:[t]),s=s,J(s)||(s=s==null?[]:[s]),hs(e,t,s))}const St=tt("avatars",()=>{const e=Rt(),t=H({}),s=kt(new tn({concurrency:e.options.concurrentRequests.avatars}));return{avatarMap:t,getAvatar:c=>n(t)[c],addAvatar:(c,d)=>{t.value[c]=d},removeAvatar:c=>{t.value[c]=null},reset:()=>{t.value={}},avatarsQueue:s,pendingAvatarsRequests:new Map}}),to=e=>{const t=document.querySelectorAll(`[data-item-id="${e}"] input[type=checkbox]`)?.[0];t&&t.focus()},Ss=(e="")=>e.split("/").map(encodeURIComponent).join("/");function Ae(e){return e.status==="fulfilled"}function Pe(e){return e.status==="rejected"}const no=()=>"OpenCloud Web UI 6.0.0",vs=({capabilityStore:e})=>{const t=e.status;if(!t||!t.versionstring)return;const s=t.product||"OpenCloud",a=t.productversion||t.versionstring,o=t.edition||"";return`${s} ${a} ${o}`.trim()},ys=tt("extensionPreferences",()=>{const e=Ot("extensionPreferences",{});return{extensionPreferences:e,extractDefaultExtensionIds:(o,r)=>o.multiple?r.map(i=>i.id):o.defaultExtensionId?[o.defaultExtensionId]:[],getExtensionPreference:(o,r)=>{const i=e.value[o];return i||{extensionPointId:o,selectedExtensionIds:r}},setSelectedExtensionIds:(o,r)=>{if(!Object.hasOwn(n(e),o)){e.value[o]={extensionPointId:o,selectedExtensionIds:r};return}e.value[o].selectedExtensionIds=r}}}),so=()=>{const{showMessage:e,showErrorMessage:t}=ie(),s=le(),{$gettext:a,$ngettext:o}=I(),r=re(),i=te(),l=oe(),{dispatchModal:c}=ne(),d=se(),{removeResources:h}=he(),x=f=>f.filter(m=>xe(m)&&m.canBeDeleted({user:s.user,ability:r})),p=async f=>{const m=i.graphAuthenticated,P=f.map(b=>m.drives.deleteDrive(b.id).then(()=>(h([b]),d.removeSpace(b),!0))),E=await Promise.allSettled(P),O=E.filter(Ae);if(O.length){const b=O.length===1&&f.length===1?a("Space »%{space}« was deleted successfully",{space:f[0].name}):o("%{spaceCount} space was deleted successfully","%{spaceCount} spaces were deleted successfully",O.length,{spaceCount:O.length.toString()});e({title:b})}const v=E.filter(Pe);if(v.length){v.forEach(console.error);const b=v.length===1&&f.length===1?a("Failed to delete space »%{space}«",{space:f[0].name}):o("Failed to delete %{spaceCount} space","Failed to delete %{spaceCount} spaces",v.length,{spaceCount:v.length.toString()});t({title:b,errors:v.map(F=>F.reason)})}n(l).name==="admin-settings-spaces"&&me.publish("app.admin-settings.list.load")},u=({resources:f})=>{const m=x(f);if(!m.length)return;const P=o("Are you sure you want to delete the selected space?","Are you sure you want to delete %{count} selected spaces?",m.length,{count:m.length.toString()});c({title:o("Delete Space »%{space}«?","Delete %{spaceCount} Spaces?",m.length,{space:m[0].name,spaceCount:m.length.toString()}),confirmText:a("Delete"),message:P,hasInput:!1,onConfirm:()=>p(m)})};return{actions:g(()=>[{name:"delete",icon:"delete-bin",label:()=>a("Delete"),handler:u,isVisible:({resources:f})=>!!x(f).length,class:"oc-files-actions-delete-trigger"}]),deleteSpaces:p}},ao=()=>{const{showMessage:e,showErrorMessage:t}=ie(),s=le(),{$gettext:a,$ngettext:o}=I(),r=re(),i=te(),l=oe(),c=ge(),{dispatchModal:d}=ne(),h=se(),x=f=>f.filter(m=>xe(m)&&m.canDisable({user:s.user,ability:r})),p=async f=>{const m=n(l),P=i.graphAuthenticated,E=f.map(F=>P.drives.disableDrive(F.id).then(()=>(m.name==="files-spaces-generic"&&c.push({name:"files-spaces-projects"}),m.name==="admin-settings-spaces"&&(F.disabled=!0,F.spaceQuota={total:F.spaceQuota.total}),h.updateSpaceField({id:F.id,field:"disabled",value:!0}),!0))),O=await Promise.allSettled(E),v=O.filter(Ae);if(v.length){const F=v.length===1&&f.length===1?a("Space »%{space}« was disabled successfully",{space:f[0].name}):o("%{spaceCount} space was disabled successfully","%{spaceCount} spaces were disabled successfully",v.length,{spaceCount:v.length.toString()});e({title:F})}const b=O.filter(Pe);if(b.length){b.forEach(console.error);const F=b.length===1&&f.length===1?a("Failed to disable space »%{space}«",{space:f[0].name}):o("Failed to disable %{spaceCount} space","Failed to disable %{spaceCount} spaces",b.length,{spaceCount:b.length.toString()});t({title:F,errors:b.map(V=>V.reason)})}},u=({resources:f})=>{const m=x(f);if(!m.length)return;const P=o("If you disable the selected space, it can no longer be accessed. Only Space managers will still have access. Note: No files will be deleted from the server.","If you disable the %{count} selected spaces, they can no longer be accessed. Only Space managers will still have access. Note: No files will be deleted from the server.",m.length,{count:m.length.toString()}),E=a("Disable");d({title:o("Disable Space »%{space}«?","Disable %{spaceCount} Spaces?",m.length,{space:m[0].name,spaceCount:m.length.toString()}),confirmText:E,message:P,hasInput:!1,onConfirm:()=>p(m)})};return{actions:g(()=>[{name:"disable",icon:"stop-circle",label:()=>a("Disable"),handler:u,isVisible:({resources:f})=>!!x(f).length,class:"oc-files-actions-disable-trigger"}]),disableSpaces:p}},oo=()=>{const{showMessage:e,showErrorMessage:t}=ie(),s=le(),{$gettext:a}=I(),o=re(),r=te(),i=oe(),{dispatchModal:l}=ne(),c=se(),d=(p,u)=>r.graphAuthenticated.drives.updateDrive(p.id,{name:p.name,description:u}).then(()=>{c.updateSpaceField({id:p.id,field:"description",value:u}),n(i).name==="admin-settings-spaces"&&(p.description=u),e({title:a("Space subtitle was changed successfully")})}).catch(f=>{console.error(f),t({title:a("Failed to change space subtitle"),errors:[f]})}),h=({resources:p})=>{p.length===1&&l({title:a("Change subtitle for space")+" "+p[0].name,confirmText:a("Confirm"),hasInput:!0,inputLabel:a("Space subtitle"),inputValue:p[0].description,onConfirm:u=>d(p[0],u)})};return{actions:g(()=>[{name:"editDescription",icon:"h-2",iconFillType:"none",label:()=>a("Edit subtitle"),handler:h,isVisible:({resources:p})=>p.length!==1?!1:p[0].canEditDescription({user:s.user,ability:o}),class:"oc-files-actions-edit-description-trigger"}]),editDescriptionSpace:d}},ws={name:"QuotaSelect",props:{totalQuota:{type:Number,default:0},maxQuota:{type:Number,default:0}},emits:["selectedOptionChange"],setup(){const e=H(void 0),t=H([]);return{selectedOption:e,options:t}},computed:{quotaLimit(){return this.maxQuota||1e15},DEFAULT_OPTIONS(){return[{value:Math.pow(10,9),displayValue:this.getFormattedFileSize(Math.pow(10,9))},{value:2*Math.pow(10,9),displayValue:this.getFormattedFileSize(2*Math.pow(10,9))},{value:5*Math.pow(10,9),displayValue:this.getFormattedFileSize(5*Math.pow(10,9))},{value:10*Math.pow(10,9),displayValue:this.getFormattedFileSize(10*Math.pow(10,9))},{value:50*Math.pow(10,9),displayValue:this.getFormattedFileSize(50*Math.pow(10,9))},{value:100*Math.pow(10,9),displayValue:this.getFormattedFileSize(100*Math.pow(10,9))},{displayValue:this.$gettext("No restriction"),value:0}]}},watch:{totalQuota(){const e=this.options.find(t=>t.value===this.totalQuota);e&&(this.selectedOption=e)}},mounted(){this.setOptions(),this.selectedOption=this.options.find(e=>e.value===this.totalQuota)},methods:{onUpdate(e){this.selectedOption=e,this.$emit("selectedOptionChange",this.selectedOption)},optionSelectable(e){return e.selectable!==!1},isValueValidNumber(e){return ps(e)?e>0:/^[0-9]\d*(([.,])\d+)?$/g.test(e)},createOption(e){if(e=e.replace(",","."),!this.isValueValidNumber(e))return{displayValue:e,value:e,error:this.$gettext("Please enter only numbers"),selectable:!1};const t=parseFloat(e)*Math.pow(10,9);return t>this.quotaLimit?{value:t,displayValue:this.getFormattedFileSize(t),error:this.$gettext("Please enter a value equal to or less than %{ quotaLimit }",{quotaLimit:this.getFormattedFileSize(this.quotaLimit).toString()}),selectable:!1}:{value:t,displayValue:this.getFormattedFileSize(t)}},setOptions(){let e=[...this.DEFAULT_OPTIONS];this.maxQuota&&(e=e.filter(s=>this.totalQuota===0&&s.value===0?(s.selectable=!1,!0):s.value!==0&&s.value<=this.maxQuota)),e.find(s=>s.value===this.totalQuota)||e.push({displayValue:this.getFormattedFileSize(this.totalQuota),value:this.totalQuota,selectable:this.totalQuota<=this.quotaLimit}),e=[...e.filter(s=>s.value).sort((s,a)=>s.value-a.value),...e.filter(s=>!s.value)],this.options=e},getFormattedFileSize(e){const t=G(e,this.$language.current);return this.isValueValidNumber(e)?t:e.toString()}}},xs={class:"quota-select-batch-action-form"},Cs=["textContent"],$s={class:"flex justify-between"},As=["textContent"],Ps={key:0,class:"oc-text-input-danger"};function _s(e,t,s,a,o,r){const i=T("oc-icon"),l=T("oc-select");return S(),M("div",xs,[_(l,we({ref:"select","model-value":a.selectedOption,selectable:r.optionSelectable,taggable:"","push-tags":"",clearable:!1,options:a.options,"create-option":r.createOption,"option-label":"displayValue",label:e.$gettext("Quota")},e.$attrs,{"onUpdate:modelValue":r.onUpdate}),{"selected-option":Q(({displayValue:c})=>[e.$attrs["read-only"]?(S(),q(i,{key:0,name:"lock",class:"mr-1",size:"small"})):k("",!0),t[0]||(t[0]=y()),$("span",{textContent:R(c)},null,8,Cs)]),search:Q(({attributes:c,events:d})=>[$("input",we({class:"vs__search"},c,Qt(d,!0)),null,16)]),option:Q(({displayValue:c,error:d})=>[$("div",$s,[$("span",{textContent:R(c)},null,8,As)]),t[1]||(t[1]=y()),d?(S(),M("div",Ps,R(d),1)):k("",!0)]),_:1},16,["model-value","selectable","options","create-option","label","onUpdate:modelValue"])])}const Ds=ce(ws,[["render",_s]]),Ms={key:0,class:"mt-2"},Ts=["textContent"],Es=N({__name:"QuotaModal",props:{modal:{},spaces:{},warningMessage:{default:""},warningMessageContextualHelperData:{default:()=>{}},resourceType:{default:"space"}},emits:["update:confirmDisabled"],setup(e,{expose:t,emit:s}){const a=s,{showMessage:o,showErrorMessage:r}=ie(),{$gettext:i,$ngettext:l}=I(),c=te(),d=ge(),h=se(),x=nt(),{spacesMaxQuota:p}=ee(x),{updateResourceField:u}=he(),C=H(e.spaces[0]?.spaceQuota?.total||0),f=v=>e.resourceType==="space"?l("Space quota was changed successfully","Quota of %{count} spaces was changed successfully",v,{count:v.toString()}):e.resourceType==="user"?l("User quota was changed successfully","Quota of %{count} users was changed successfully",v,{count:v.toString()}):i("Quota was changed successfully"),m=v=>e.resourceType==="space"?l("Failed to change space quota","Failed to change quota for %{count} spaces",v,{count:v.toString()}):e.resourceType==="user"?l("Failed to change user quota","Failed to change quota for %{count} users",v,{count:v.toString()}):i("Failed to change quota"),P=g(()=>!e.spaces.some(v=>v.spaceQuota.total!==n(C)));Re(P,()=>{a("update:confirmDisabled",n(P))},{immediate:!0});const E=v=>{C.value=v.value};return t({onConfirm:async()=>{const v=c.graphAuthenticated,b=e.spaces.map(async z=>{const j=await v.drives.updateDrive(z.id,{name:z.name,quota:{total:n(C)}});n(d.currentRoute).name==="admin-settings-spaces"&&me.publish("app.admin-settings.spaces.space.quota.updated",{spaceId:z.id,quota:j.spaceQuota}),n(d.currentRoute).name==="admin-settings-users"&&me.publish("app.admin-settings.users.user.quota.updated",{spaceId:z.id,quota:j.spaceQuota}),h.updateSpaceField({id:z.id,field:"spaceQuota",value:j.spaceQuota}),u({id:z.id,field:"spaceQuota",value:j.spaceQuota})}),F=await Promise.allSettled(b),V=F.filter(Ae);V.length&&o({title:f(V.length)});const W=F.filter(Pe);W.length&&(console.error(W),W.forEach(console.error),r({title:m(W.length),errors:W.map(z=>z.reason)}))}}),(v,b)=>{const F=T("oc-contextual-helper");return S(),M(U,null,[_(Ds,{"total-quota":C.value,"max-quota":n(p),"position-fixed":!0,onSelectedOptionChange:E},null,8,["total-quota","max-quota"]),b[1]||(b[1]=y()),e.warningMessage?(S(),M("div",Ms,[$("span",{class:"oc-text-input-warning",textContent:R(e.warningMessage)},null,8,Ts),b[0]||(b[0]=y()),e.warningMessageContextualHelperData?(S(),q(F,we({key:0,class:"pl-1"},e.warningMessageContextualHelperData),null,16)):k("",!0)])):k("",!0)],64)}}}),ro=()=>{const{dispatchModal:e}=ne(),{$gettext:t}=I(),s=re(),a=({resources:i})=>i.length===1?t("Change quota for Space »%{name}«",{name:i[0].name}):t("Change quota for %{count} Spaces",{count:i.length.toString()}),o=({resources:i})=>{e({title:a({resources:i}),customComponent:Es,customComponentAttrs:()=>({spaces:i,resourceType:"space"})})};return{actions:g(()=>[{name:"editQuota",icon:"cloud",label:()=>t("Edit quota"),handler:o,isVisible:({resources:i})=>!i||!i.length||i.some(l=>!xe(l)||Lt(l)&&!l.spaceQuota)?!1:s.can("set-quota-all","Drive"),class:"oc-files-actions-edit-quota-trigger"}])}},io=()=>{const{showMessage:e,showErrorMessage:t}=ie(),s=le(),{$gettext:a}=I(),o=re(),r=te(),i=oe(),{isSpaceNameValid:l}=rt(),{dispatchModal:c}=ne(),d=se(),h=(u,C)=>r.graphAuthenticated.drives.updateDrive(u.id,{name:C}).then(()=>{n(i).name==="admin-settings-spaces"&&(u.name=C),d.updateSpaceField({id:u.id,field:"name",value:C}),e({title:a("Space name was changed successfully")})}).catch(m=>{console.error(m),t({title:a("Failed to rename space"),errors:[m]})}),x=({resources:u})=>{u.length===1&&c({title:a("Rename space »%{name}«",{name:u[0].name}),confirmText:a("Rename"),hasInput:!0,inputLabel:a("Space name"),inputValue:u[0].name,inputRequiredMark:!0,onConfirm:C=>h(u[0],C),onInput:(C,f)=>{const{isValid:m,error:P}=l(C);f(m?null:P)}})};return{actions:g(()=>[{name:"rename",icon:"pencil",label:()=>a("Rename"),handler:x,isVisible:({resources:u})=>u.length!==1?!1:u[0].canRename({user:s.user,ability:o}),class:"oc-files-actions-rename-trigger"}]),renameSpace:h}},lo=()=>{const{showMessage:e,showErrorMessage:t}=ie(),s=le(),{$gettext:a,$ngettext:o}=I(),r=re(),i=te(),l=rn(),c=oe(),{dispatchModal:d}=ne(),h=se(),x=f=>f.filter(m=>xe(m)&&m.canRestore({user:s.user,ability:r})),p=async f=>{const m=i.graphAuthenticated,P=f.map(b=>m.drives.updateDrive(b.id,{name:b.name},{headers:{Restore:"true"}}).then(F=>(n(c).name==="admin-settings-spaces"&&(b.disabled=!1,b.spaceQuota=F.spaceQuota),h.updateSpaceField({id:b.id,field:"disabled",value:!1}),!0))),E=await l.addTask(()=>Promise.allSettled(P));await h.loadGraphPermissions({ids:f.map(b=>b.id),graphClient:m});const O=E.filter(Ae);if(O.length){const b=O.length===1&&f.length===1?a("Space »%{space}« was enabled successfully",{space:f[0].name}):o("%{spaceCount} space was enabled successfully","%{spaceCount} spaces were enabled successfully",O.length,{spaceCount:O.length.toString()});e({title:b})}const v=E.filter(Pe);if(v.length){v.forEach(console.error);const b=v.length===1&&f.length===1?a("Failed to enable space »%{space}«",{space:f[0].name}):o("Failed to enable %{spaceCount} space","Failed to enable %{spaceCount} spaces",v.length,{spaceCount:v.length.toString()});t({title:b,errors:v.map(F=>F.reason)})}},u=({resources:f})=>{const m=x(f);if(!m.length)return;const P=o("If you enable the selected space, it can be accessed again.","If you enable the %{count} selected spaces, they can be accessed again.",m.length,{count:m.length.toString()}),E=a("Enable");d({title:o("Enable Space »%{space}«?","Enable %{spaceCount} Spaces?",m.length,{space:m[0].name,spaceCount:m.length.toString()}),confirmText:E,message:P,hasInput:!1,onConfirm:()=>p(m)})};return{actions:g(()=>[{name:"restore",icon:"play-circle",label:()=>a("Enable"),handler:u,isVisible:({resources:f})=>!!x(f).length,class:"oc-files-actions-restore-trigger"}]),restoreSpaces:p}},co=({onSpaceCreated:e}={})=>{const{dispatchModal:t}=ne(),{$gettext:s}=I(),{can:a}=Kt(),{isSpaceNameValid:o}=rt(),{addNewSpace:r}=nn();return{actions:g(()=>[{name:"create",icon:"add",class:"oc-files-actions-create-space-trigger",label:()=>s("New Space"),isVisible:()=>a("create-all","Drive"),handler:()=>{t({title:s("Create a new space"),confirmText:s("Create"),hasInput:!0,inputLabel:s("Space name"),inputValue:s("New space"),inputRequiredMark:!0,onConfirm:async l=>{const c=await r(l);e?.(c)},onInput:(l,c)=>{const{isValid:d,error:h}=o(l);c(d?null:h)}})}}])}},uo=(e="")=>{const t=H(0),s=async()=>{await qt();const a=document.querySelector(e||"#files-app-bar"),o=a?a.getBoundingClientRect().height:0;t.value!==o&&(t.value=o)};return window.onresize=s,ke(s),{y:t,refresh:s}},po=()=>{const e=H(!0),t=()=>{e.value=window.innerHeight>500};return ke(()=>{t(),window.addEventListener("resize",t)}),It(()=>{window.removeEventListener("resize",t)}),{isSticky:e}},Fs=({extensionRegistry:e,appId:t})=>e.requestExtensions({id:`app.${t}.navItems`,extensionType:"sidebarNav"}).map(({navItem:s})=>s).filter(s=>!Object.hasOwn(s,"isVisible")||s.isVisible()),Rs=()=>{const e=it(),t=lt(),{$gettext:s}=I(),a=pn(),o=sn(),r=ut(),i=g(()=>Fs({extensionRegistry:r,appId:n(o)}));return{navItems:g(()=>{if(!a.userContextReady)return[];const{href:c}=e.resolve(n(t));return bs(n(i).map(d=>{let h=typeof d.isActive!="function"||d.isActive();h&&(h=[d.route,...d.activeFor||[]].filter(Boolean).some(p=>{try{const u=e.resolve(p).href;return c.startsWith(u)}catch(u){return console.error(u),!1}}));const x=typeof d.name=="function"?d.name():d.name;return{...d,name:s(x),active:h}}),["priority","name"])})}};class fe{static perPageDefault="100";static perPageQueryName="items-per-page";static options=["20","50","100","250","500"]}function fo(e){const t=it(),s=lt(),a=ks(e),o=Os(e),r=g(()=>Math.ceil(n(e.items).length/n(o))||1),i=g(()=>{if(!n(o))return n(e.items);const l=(n(a)-1)*n(o),c=l+n(o);return n(e.items).slice(l,c)});return me.subscribe("app.files.navigate.page",({resourceId:l,forceScroll:c,topbarElement:d})=>{const h=cs(n(e.items),x=>x.id===l);if(h>=0){const x=Math.ceil((h+1)/Number(n(o)));t.push({...n(s),query:{...n(s).query,page:x}}).then(()=>{me.publish("app.files.navigate.scrollTo",{resourceId:l,forceScroll:c,topbarElement:d})})}}),{items:i,total:r,page:a,perPage:o}}function ks(e){if(e.page)return g(()=>n(e.page));const t=st("page","1");return g(()=>parseInt(pe(n(t))))}function Os(e){if(e.perPage)return g(()=>n(e.perPage));const t=ye({name:e.perPageQueryName||fe.perPageQueryName,defaultValue:e.perPageDefault||fe.perPageDefault,storagePrefix:e.perPageStoragePrefix});return g(()=>parseInt(pe(n(t))))}const Qs=({showSizeInformation:e=!0}={})=>{const t=he(),{current:s,$gettext:a,$ngettext:o}=I(),r=ge(),{resources:i,totalResourcesCount:l,areHiddenFilesShown:c,currentFolder:d}=ee(t),h=g(()=>{if(!n(d)?.size||n(d)?.size==="0"){const p=n(i).map(u=>u.size?parseInt(u.size.toString()):0).reduce((u,C)=>u+C,0);return G(p,s)}return G(n(d).size,s)});return{resourceContentsText:g(()=>{let p=o("%{ filesCount } file","%{ filesCount } files",n(l).files,{filesCount:n(l).files.toString()});!n(c)&&n(l).hiddenFiles&&(p=o("%{ filesCount } file including %{ filesHiddenCount } hidden","%{ filesCount } files including %{ filesHiddenCount } hidden",n(l).files,{filesCount:n(l).files.toString(),filesHiddenCount:n(l).hiddenFiles.toString()}));let u=o("%{ foldersCount } folder","%{ foldersCount } folders",n(l).folders,{foldersCount:n(l).folders.toString()});!n(c)&&n(l).hiddenFolders&&(u=o("%{ foldersCount } folder including %{ foldersHiddenCount } hidden","%{ foldersCount } folders including %{ foldersHiddenCount } hidden",n(l).folders,{foldersCount:n(l).folders.toString(),foldersHiddenCount:n(l).hiddenFolders.toString()}));const C=o("%{ spacesCount } space","%{ spacesCount } spaces",n(l).spaces,{spacesCount:n(l).spaces.toString()}),f=n(l).files+n(l).folders+n(l).spaces,m=e&&parseFloat(n(h))>0,P=Nt(r,"files-shares-via-link"),E=a(m?"%{ itemsCount } item with %{ itemSize } in total":"%{ itemsCount } item in total"),O=a(m?"%{ itemsCount } items with %{ itemSize } in total":"%{ itemsCount } items in total"),v=P?"(%{ filesStr}, %{ foldersStr}, %{ spacesStr})":"(%{ filesStr}, %{ foldersStr})",b=`${E} ${v}`,F=`${O} ${v}`;return o(b,F,f,{itemsCount:f.toString(),itemSize:n(h),filesStr:p,foldersStr:u,spacesStr:C})})}},Ls=()=>{const e=te(),{addAvatar:t,getAvatar:s,avatarsQueue:a,pendingAvatarsRequests:o}=St(),r=async l=>{try{const c=await e.graphAuthenticated.photos.getUserPhoto(l,{responseType:"blob"});t(l,URL.createObjectURL(c))}catch(c){c.response?.status===404&&t(l,null)}return s(l)};return{enqueueAvatar:l=>{if(s(l)!==void 0||o.has(l))return;const c=a.add(()=>r(l));o.set(l,c),c.finally(()=>o.delete(l))}}},qs=N({name:"BatchActions",components:{ActionMenuItem:dn},props:{actions:{type:Array,required:!0},actionOptions:{type:Object,required:!0},limitedScreenSpace:{type:Boolean,default:!1,required:!1}}});function Is(e,t,s,a,o,r){const i=T("action-menu-item"),l=T("oc-list");return S(),M("div",null,[_(l,{id:"oc-appbar-batch-actions",class:$e(["block xl:flex xl:items-center",{"oc-appbar-batch-actions-squashed [&_.oc-files-context-action-label]:hidden":e.limitedScreenSpace}])},{default:Q(()=>[(S(!0),M(U,null,Ce(e.actions,(c,d)=>(S(),q(i,{key:`action-${d}`,action:c,"action-options":e.actionOptions,appearance:"raw",class:"batch-actions mr-2 float-left [&_.action-menu-item]:p-2 [&_.action-menu-item]:gap-1","shortcut-hint":!1,"show-tooltip":e.limitedScreenSpace},null,8,["action","action-options","show-tooltip"]))),128))]),_:1},8,["class"])])}const mo=ce(qs,[["render",Is]]),Ns={class:"flex items-center"},zs={class:"flex justify-between w-full"},Vs={class:"flex items-center"},Us=["textContent"],Bs={key:0,class:"mt-2 mb-4 last:mb-0 [&>*]:flex [&>*]:justify-between"},Hs={key:1,class:"mt-2 mb-4 last:mb-0 [&>*]:flex [&>*]:justify-between"},Ws={key:2,class:"mt-2 mb-4 last:mb-0 [&>*]:flex [&>*]:justify-between"},Gs={key:3,class:"mt-2 mb-4 last:mb-0 [&>*]:flex [&>*]:justify-between"},js={key:4,class:"mt-2 mb-4 last:mb-0 [&>*]:flex [&>*]:justify-between"},Ks={key:5,class:"mt-2 mb-4 last:mb-0 flex justify-between items-center [&>*]:flex [&>*]:justify-between"},Ys=["textContent"],Xs=["max"],Zs=N({__name:"ViewOptions",props:{perPageStoragePrefix:{},hasHiddenFiles:{type:Boolean,default:!0},hasFileExtensions:{type:Boolean,default:!0},hasPagination:{type:Boolean,default:!0},paginationOptions:{default:()=>fe.options},perPageQueryName:{default:()=>fe.perPageQueryName},perPageDefault:{default:()=>fe.perPageDefault},viewModeDefault:{default:()=>de.defaultModeName},viewModes:{default:()=>[]}},setup(e){const t=ge(),s=oe(),{$gettext:a}=I(),o=ct(),{isSideBarOpen:r}=ee(o),i=he(),{setAreHiddenFilesShown:l,setAreFileExtensionsShown:c,setAreDisabledSpacesShown:d,setAreEmptyTrashesShown:h}=i,{areHiddenFilesShown:x,areFileExtensionsShown:p,areDisabledSpacesShown:u,areEmptyTrashesShown:C}=ee(i),f=H(!1),m=He(at,"files-spaces-projects"),P=He(zt,"files-trash-overview"),E=st("page"),O=g(()=>n(E)?parseInt(pe(n(E))):1),v=ye({name:e.perPageQueryName,defaultValue:e.perPageDefault,storagePrefix:e.perPageStoragePrefix}),b=ye({name:de.queryName,defaultValue:e.viewModeDefault}),F=g(()=>e.viewModes.find(D=>D.name===pe(n(b)))),V=ye({name:de.tilesSizeQueryName,defaultValue:de.tilesSizeDefault.toString()}),W=D=>t.replace({query:{...n(s).query,[e.perPageQueryName]:D.toString(),...n(O)>1&&{page:"1"}}}),z=D=>{b.value=D.name};Re([v,b,V],D=>{f.value=D.some(A=>!A)},{immediate:!0,deep:!0});const j=Bt(),ue=g({get(){return n(x)},set(D){l(D)}}),K=g({get(){return n(p)},set(D){c(D)}}),Y=g({get(){return n(u)},set(D){d(D)}}),B=g({get(){return n(C)},set(D){h(D)}}),_e=D=>{ue.value=D},De=D=>{K.value=D},Me=D=>{Y.value=D},w=D=>{B.value=D};return(D,A)=>{const X=T("oc-icon"),ae=T("oc-button"),qe=T("oc-list"),Ie=T("oc-drop"),be=T("oc-switch"),yt=T("oc-page-size"),Ne=Oe("oc-tooltip");return S(),M("div",Ns,[e.viewModes.length>1?(S(),M(U,{key:0},[Z((S(),q(ae,{id:"viewmode-switch-toggle","aria-label":n(a)("Switch view mode"),appearance:"raw",class:"my-2 mx-1 p-1 align-middle"},{default:Q(()=>[F.value?(S(),q(X,{key:0,name:F.value.icon.name,"fill-type":F.value.icon.fillType},null,8,["name","fill-type"])):k("",!0)]),_:1},8,["aria-label"])),[[Ne,n(a)("Switch view mode")]]),A[7]||(A[7]=y()),_(Ie,{title:n(a)("View mode"),"drop-id":"viewmode-switch-drop",toggle:"#viewmode-switch-toggle",class:"w-auto","padding-size":"small","close-on-click":""},{default:Q(()=>[_(qe,null,{default:Q(()=>[(S(!0),M(U,null,Ce(e.viewModes,L=>(S(),M("li",{key:L.name},[_(ae,{appearance:n(b)===L.name?"filled":"raw","color-role":n(b)===L.name?"secondaryContainer":"secondary",class:$e([L.name]),"justify-content":"left",onClick:ka=>z(L)},{default:Q(()=>[$("div",zs,[$("span",Vs,[_(X,{name:L.icon.name,"fill-type":L.icon.fillType,size:"medium",class:"mr-1"},null,8,["name","fill-type"]),A[5]||(A[5]=y()),$("span",{textContent:R(L.label)},null,8,Us)]),A[6]||(A[6]=y()),n(b)===L.name?(S(),q(X,{key:0,name:"check",size:"medium"})):k("",!0)])]),_:2},1032,["appearance","color-role","class","onClick"])]))),128))]),_:1})]),_:1},8,["title"])],64)):k("",!0),A[14]||(A[14]=y()),Z((S(),q(ae,{id:"files-view-options-btn",key:"files-view-options-btn","data-testid":"files-view-options-btn","aria-label":n(a)("Display customization options of the files list"),appearance:"raw",class:"my-2 mx-1 p-1 align-middle"},{default:Q(()=>[_(X,{name:"settings-3","fill-type":"line"})]),_:1},8,["aria-label"])),[[Ne,n(a)("Display customization options of the files list")]]),A[15]||(A[15]=y()),_(Ie,{title:n(a)("View options"),"drop-id":"files-view-options-drop",toggle:"#files-view-options-btn",mode:"click",class:"w-auto [&.oc-drop]:overflow-visible","padding-size":"medium","is-menu":!1},{default:Q(()=>[_(qe,null,{default:Q(()=>[e.hasHiddenFiles?(S(),M("li",Bs,[_(be,{checked:ue.value,"onUpdate:checked":[A[0]||(A[0]=L=>ue.value=L),_e],"data-testid":"files-switch-hidden-files",label:n(a)("Show hidden files")},null,8,["checked","label"])])):k("",!0),A[9]||(A[9]=y()),e.hasFileExtensions?(S(),M("li",Hs,[_(be,{checked:K.value,"onUpdate:checked":[A[1]||(A[1]=L=>K.value=L),De],"data-testid":"files-switch-files-extensions-files",label:n(a)("Show file extensions")},null,8,["checked","label"])])):k("",!0),A[10]||(A[10]=y()),e.hasPagination?(S(),M("li",Ws,[f.value?k("",!0):(S(),q(yt,{key:0,selected:n(pe)(n(v)),"data-testid":"files-pagination-size",label:n(a)("Items per page"),options:e.paginationOptions,class:"files-pagination-size",onChange:W},null,8,["selected","label","options"]))])):k("",!0),A[11]||(A[11]=y()),n(m)?(S(),M("li",Gs,[_(be,{checked:Y.value,"onUpdate:checked":[A[2]||(A[2]=L=>Y.value=L),Me],"data-testid":"files-switch-projects-show-disabled",label:n(a)("Show disabled Spaces")},null,8,["checked","label"])])):k("",!0),A[12]||(A[12]=y()),n(P)?(S(),M("li",js,[_(be,{checked:B.value,"onUpdate:checked":[A[3]||(A[3]=L=>B.value=L),w],"data-testid":"files-switch-projects-show-disabled",label:n(a)("Show empty trash bins")},null,8,["checked","label"])])):k("",!0),A[13]||(A[13]=y()),n(b)===n(de).name.tiles?(S(),M("li",Ks,[$("label",{for:"tiles-size-slider",textContent:R(n(a)("Tile size"))},null,8,Ys),A[8]||(A[8]=y()),Z($("input",{id:"tiles-size-slider","onUpdate:modelValue":A[4]||(A[4]=L=>Vt(V)?V.value=L:null),type:"range",min:1,max:n(j),class:"oc-range bg-role-surface-container-high rounded-sm outline-0 w-full max-w-[50%] h-1.5 hover:opacity-100 appearance-none","data-testid":"files-tiles-size-slider"},null,8,Xs),[[Ut,n(V)]])])):k("",!0)]),_:1})]),_:1},8,["title"])])}}}),go=ce(Zs,[["__scopeId","data-v-89baecaf"]]),Js={key:0,id:"mobile-nav"},ea=["aria-current"],ta={class:"flex"},na=["textContent"],sa={class:"versions flex flex-col items-center justify-center py-2 mt-4 bg-role-surface-container text-xs text-role-on-surface-variant"},aa=["textContent"],ho=N({__name:"MobileNav",setup(e){const t=nt(),{isMobile:s}=cn(),{navItems:a}=Rs(),o=g(()=>vs({capabilityStore:t})),r=g(()=>n(a).find(i=>i.active)||n(a)[0]);return(i,l)=>{const c=T("oc-icon"),d=T("oc-button"),h=T("oc-list"),x=T("version-check"),p=T("oc-drop");return n(s)?(S(),M("nav",Js,[_(d,{id:"mobile-nav-button",class:"p-1",appearance:"raw","aria-current":"page"},{default:Q(()=>[y(R(r.value.name)+" ",1),_(c,{name:"arrow-drop-down"})]),_:1}),l[3]||(l[3]=y()),_(p,{title:i.$gettext("Navigation"),"drop-id":"mobile-nav-drop",toggle:"#mobile-nav-button",mode:"click","padding-size":"small","close-on-click":""},{default:Q(()=>[_(h,null,{default:Q(()=>[(S(!0),M(U,null,Ce(n(a),(u,C)=>(S(),M("li",{key:C,class:"mobile-nav-item w-full","aria-current":u.active?"page":null},[_(d,{type:"router-link",appearance:u.active?"filled":"raw-inverse","color-role":u.active?"secondaryContainer":"surface","justify-content":"left","no-hover":u.active,to:u.route,class:$e(["block p-2",{"router-link-active":u.active}])},{default:Q(()=>[$("span",ta,[_(c,{name:u.icon},null,8,["name"]),l[0]||(l[0]=y()),$("span",{class:"ml-4 text",textContent:R(u.name)},null,8,na)])]),_:2},1032,["appearance","color-role","no-hover","to","class"])],8,ea))),128))]),_:1}),l[2]||(l[2]=y()),$("div",sa,[$("div",{textContent:R(o.value)},null,8,aa),l[1]||(l[1]=y()),_(x)])]),_:1},8,["title"])])):k("",!0)}}}),bo=N({__name:"ContextMenuQuickAction",props:{item:{},resourceDomSelector:{type:Function,default:e=>Yt(e.id)},title:{default:""}},emits:["quickActionClicked"],setup(e,{expose:t}){const{$gettext:s}=I(),a=Ht("drop");t({drop:a});const o=g(()=>s("Show context menu"));return(r,i)=>{const l=T("oc-icon"),c=T("oc-button"),d=Oe("oc-tooltip");return S(),M(U,null,[Z((S(),q(c,{id:`context-menu-trigger-${e.resourceDomSelector(e.item)}`,"data-test-context-menu-resource-name":e.item.name,"aria-label":o.value,appearance:"raw",class:$e(["quick-action-button ml-1 p-1",r.$attrs.class]),onClick:i[0]||(i[0]=h=>r.$emit("quickActionClicked",h))},{default:Q(()=>[_(l,{name:"more-2"})]),_:1},8,["id","data-test-context-menu-resource-name","aria-label","class"])),[[d,o.value]]),i[1]||(i[1]=y()),_(n(an),{ref_key:"drop",ref:a,"drop-id":`context-menu-drop-${e.resourceDomSelector(e.item)}`,toggle:`#context-menu-trigger-${e.resourceDomSelector(e.item)}`,title:e.title,position:"left-start",mode:"manual","padding-size":"small","close-on-click":""},{default:Q(()=>[Wt(r.$slots,"contextMenu",{item:e.item})]),_:3},8,["drop-id","toggle","title"])],64)}}}),So=N({__name:"UserAvatar",props:{userId:{},userName:{}},setup(e){const t=St(),{avatarMap:s}=ee(t),{enqueueAvatar:a}=Ls(),o=g(()=>n(s)[e.userId]);return ke(()=>{a(e.userId)}),(r,i)=>{const l=T("oc-avatar");return S(),q(l,{"user-name":e.userName,src:o.value,width:36},null,8,["user-name","src"])}}}),oa={class:"space-quota"},ra=["textContent"],ia=N({__name:"SpaceQuota",props:{spaceQuota:{}},setup(e){const{$gettext:t,current:s}=I(),a=g(()=>e.spaceQuota.total?t("%{used} of %{total} used (%{percentage}% used)",{used:n(r),total:n(o),percentage:n(i).toString()}):t("%{used} used (no restriction)",{used:n(r)})),o=g(()=>G(e.spaceQuota.total,s)),r=g(()=>G(e.spaceQuota.used,s)),i=g(()=>parseFloat((e.spaceQuota.used/e.spaceQuota.total*100).toFixed(2))),l=g(()=>e.spaceQuota.state==="normal"?"var(--oc-role-secondary)":"var(--oc-role-error)");return(c,d)=>{const h=T("oc-progress");return S(),M("div",oa,[$("p",{class:"mb-2 mt-0",textContent:R(a.value)},null,8,ra),d[0]||(d[0]=y()),_(h,{value:i.value,max:100,size:"small",color:l.value,"background-color":"var(--oc-role-surface)"},null,8,["value","color"])])}}}),la=N({name:"WebDavDetails",props:{space:{type:Object,required:!0}},setup(e){const t=ot("resource"),s="check",a="file-copy",o=H(a),r=H(a),i=g(()=>Ss(n(t).webDavPath)),l=g(()=>e.space?.getWebDavUrl({path:n(t).path}));return{copyWebDAVPathIcon:o,copyWebDAVPathToClipboard:()=>{navigator.clipboard.writeText(n(i)),o.value=s,setTimeout(()=>o.value=a,1500)},copyWebDAVUrlIcon:r,copyWebDAVUrlToClipboard:()=>{navigator.clipboard.writeText(n(l)),r.value=s,setTimeout(()=>r.value=a,1500)},webDavPath:i,webDavUrl:l}}}),ca={class:"flex"},ua=["textContent"],da={class:"flex"},pa=["textContent"];function fa(e,t,s,a,o,r){const i=T("oc-icon"),l=T("oc-button"),c=Oe("oc-tooltip");return S(),M(U,null,[$("dt",null,R(e.$gettext("WebDAV path")),1),t[2]||(t[2]=y()),$("dd",ca,[Z($("div",{class:"truncate",textContent:R(e.webDavPath)},null,8,ua),[[c,e.webDavPath]]),t[0]||(t[0]=y()),Z((S(),q(l,{class:"ml-2",appearance:"raw",size:"small","aria-label":e.$gettext("Copy WebDAV path to clipboard"),"no-hover":"",onClick:e.copyWebDAVPathToClipboard},{default:Q(()=>[_(i,{name:e.copyWebDAVPathIcon},null,8,["name"])]),_:1},8,["aria-label","onClick"])),[[c,e.$gettext("Copy WebDAV path")]])]),t[3]||(t[3]=y()),$("dt",null,R(e.$gettext("WebDAV URL")),1),t[4]||(t[4]=y()),$("dd",da,[Z($("div",{class:"truncate",textContent:R(e.webDavUrl)},null,8,pa),[[c,e.webDavUrl]]),t[1]||(t[1]=y()),Z((S(),q(l,{class:"ml-2",appearance:"raw",size:"small","aria-label":e.$gettext("Copy WebDAV URL to clipboard"),"no-hover":"",onClick:e.copyWebDAVUrlToClipboard},{default:Q(()=>[_(i,{name:e.copyWebDAVUrlIcon},null,8,["name"])]),_:1},8,["aria-label","onClick"])),[[c,e.$gettext("Copy WebDAV URL")]])])],64)}const ma=ce(la,[["render",fa]]),ga=N({__name:"CustomComponentTarget",props:{extensionPoint:{}},setup(e){const t=e,s=ut(),a=ys(),o=g(()=>s.requestExtensions(t.extensionPoint)),r=a.extractDefaultExtensionIds(t.extensionPoint,n(o)),i=g(()=>{if(t.extensionPoint.multiple||n(o).length<=1)return n(o);const l=a.getExtensionPreference(t.extensionPoint.id,r);return l.selectedExtensionIds.length?[n(o).find(c=>l.selectedExtensionIds.includes(c.id))||n(o)[0]]:[n(o)[0]]});return(l,c)=>(S(!0),M(U,null,Ce(i.value,d=>(S(),q(Gt(d.content),we({key:`custom-component-${d.id}`},{ref_for:!0},d.componentProps?d.componentProps():void 0),null,16))),128))}}),vt={id:"app.files.sidebar.space-details.table",extensionType:"customComponent"},vo=()=>g(()=>[vt]),ha={id:"oc-space-details-sidebar",class:"p-4 bg-role-surface-container rounded-sm"},ba={class:"text-center"},Sa={key:1,class:"relative mb-2"},va=["src"],ya={key:0,class:"flex items-center oc-space-details-sidebar-members mb-2 text-sm gap-2"},wa=["textContent"],xa=["textContent"],Ca=["aria-label"],yo=N({__name:"SpaceDetails",props:{showShareIndicators:{type:Boolean,default:!0}},setup(e){const t=le(),s=he(),{resourceContentsText:a}=Qs({showSizeInformation:!1}),o=ge(),{$gettext:r,$ngettext:i,current:l}=I(),{loadPreview:c}=gn(),{openSideBarPanel:d}=ct(),h=se(),{imagesLoading:x}=ee(h),p=Xt(),u=ot("resource"),C=H(""),{user:f}=ee(t),m=g(()=>h.getSpaceMembers(n(u))),P=g(()=>p.linkShares.length),E=g(()=>s.areWebDavDetailsShown),O=g(()=>!at(o,"files-spaces-projects")),v=g(()=>`${G(n(u).size,l)}, ${n(a)}`);Re(()=>n(u).spaceImageData,async()=>{C.value=await c({space:n(u),resource:n(u).spaceImageData?Zt(n(u)):n(u),dimensions:on.Tile,processor:jt.enum.fit,cancelRunning:!0,updateStore:!1})},{immediate:!0});const b=g(()=>n(m).length?n(m).filter(en).map(({sharedWith:w})=>w.id===n(f)?.id?r("%{displayName} (me)",{displayName:w.displayName}):w.displayName).join(", "):Jt(n(u),p.graphRoles)?.map(({grantedToV2:D})=>D.user?.id===n(f)?.id?r("%{displayName} (me)",{displayName:D.user.displayName}):D.user?.displayName||D.group?.displayName).join(", ")),F=g(()=>hn(n(u).mdate,l)),V=g(()=>n(K)||n(Y)),W=g(()=>n(K)&&!n(Y)?n(_e):!n(K)&&n(Y)?n(De):n(B)===1?i("This space has one member and %{linkShareCount} link.","This space has one member and %{linkShareCount} links.",n(P),{linkShareCount:n(P).toString()}):n(P)===1?r("This space has %{memberShareCount} members and one link.",{memberShareCount:n(B).toString()}):r("This space has %{memberShareCount} members and %{linkShareCount} links.",{memberShareCount:n(B).toString(),linkShareCount:n(P).toString()})),z=g(()=>r("Open share panel")),j=g(()=>r("Open link list in share panel")),ue=g(()=>r("Open member list in share panel")),K=g(()=>n(B)>0),Y=g(()=>n(P)>0),B=g(()=>n(m).length),_e=g(()=>i("This space has %{memberShareCount} member.","This space has %{memberShareCount} members.",n(B),{memberShareCount:n(B).toString()})),De=g(()=>i("%{linkShareCount} link giving access.","%{linkShareCount} links giving access.",n(P),{linkShareCount:n(P).toString()}));return(Me,w)=>{const D=T("oc-spinner"),A=T("oc-icon"),X=T("oc-button");return S(),M("div",ha,[$("div",ba,[n(x).includes(n(u).id)?(S(),q(D,{key:0,"aria-label":n(r)("Space image is loading")},null,8,["aria-label"])):C.value?(S(),M("div",Sa,[$("img",{src:C.value,alt:"",class:"size-full object-cover aspect-[16/9]"},null,8,va)])):(S(),q(A,{key:2,name:"layout-grid",size:"xxlarge",class:"space-default-image px-4 py-4"}))]),w[17]||(w[17]=y()),e.showShareIndicators&&V.value&&!n(u).disabled?(S(),M("div",ya,[K.value?(S(),q(X,{key:0,appearance:"raw","aria-label":ue.value,"no-hover":"",onClick:w[0]||(w[0]=ae=>n(d)("space-share"))},{default:Q(()=>[_(A,{name:"group",size:"small","fill-type":"line"})]),_:1},8,["aria-label"])):k("",!0),w[3]||(w[3]=y()),Y.value?(S(),q(X,{key:1,appearance:"raw","aria-label":j.value,"no-hover":"",onClick:w[1]||(w[1]=ae=>n(d)("space-share"))},{default:Q(()=>[_(A,{name:"link",size:"small","fill-type":"line"})]),_:1},8,["aria-label"])):k("",!0),w[4]||(w[4]=y()),$("p",{textContent:R(W.value)},null,8,wa),w[5]||(w[5]=y()),_(X,{appearance:"raw","aria-label":z.value,size:"small","no-hover":"",onClick:w[2]||(w[2]=ae=>n(d)("space-share"))},{default:Q(()=>[$("span",{class:"text-sm",textContent:R(n(r)("Show"))},null,8,xa)]),_:1},8,["aria-label"])])):k("",!0),w[18]||(w[18]=y()),$("dl",{class:"details-list grid grid-cols-[auto_minmax(0,1fr)] m-0","aria-label":n(r)("Overview of the information about the selected space")},[$("dt",null,R(n(r)("Last activity")),1),w[9]||(w[9]=y()),$("dd",null,R(F.value),1),w[10]||(w[10]=y()),n(u).description?(S(),M(U,{key:0},[$("dt",null,R(n(r)("Subtitle")),1),w[6]||(w[6]=y()),$("dd",null,R(n(u).description),1)],64)):k("",!0),w[11]||(w[11]=y()),$("dt",null,R(n(r)("Manager")),1),w[12]||(w[12]=y()),$("dd",null,R(b.value),1),w[13]||(w[13]=y()),n(u).disabled?k("",!0):(S(),M(U,{key:1},[$("dt",null,R(n(r)("Quota")),1),w[7]||(w[7]=y()),$("dd",null,[_(ia,{"space-quota":n(u).spaceQuota},null,8,["space-quota"])])],64)),w[14]||(w[14]=y()),O.value?(S(),M(U,{key:2},[$("dt",null,R(n(r)("Size")),1),w[8]||(w[8]=y()),$("dd",null,R(v.value),1)],64)):k("",!0),w[15]||(w[15]=y()),E.value?(S(),q(ma,{key:3,space:n(u)},null,8,["space"])):k("",!0),w[16]||(w[16]=y()),_(ga,{"extension-point":n(vt)},null,8,["extension-point"])],8,Ca)])}}}),$a={id:"oc-spaces-details-multiple-sidebar",class:"p-4 bg-role-surface-container rounded-sm"},Aa={class:"text-center mb-6 rounded-sm"},Pa=["textContent"],wo=N({__name:"SpaceDetailsMultiple",props:{selectedSpaces:{}},setup(e){const t=I(),{$gettext:s,$ngettext:a}=t,o=g(()=>{let p=0;return e.selectedSpaces.forEach(u=>{p+=u.spaceQuota.total}),G(p,t.current)}),r=g(()=>{let p=0;return e.selectedSpaces.forEach(u=>{u.disabled||(p+=u.spaceQuota.remaining)}),G(p,t.current)}),i=g(()=>{let p=0;return e.selectedSpaces.forEach(u=>{u.disabled||(p+=u.spaceQuota.used)}),G(p,t.current)}),l=g(()=>e.selectedSpaces.filter(p=>!p.disabled).length),c=g(()=>e.selectedSpaces.filter(p=>p.disabled).length),d=g(()=>s("Overview of the information about the selected spaces")),h=g(()=>a("%{ itemCount } space selected","%{ itemCount } spaces selected",e.selectedSpaces.length,{itemCount:e.selectedSpaces.length.toString()})),x=g(()=>[{term:s("Total quota:"),definition:n(o).toString()},{term:s("Remaining quota:"),definition:n(r).toString()},{term:s("Used quota:"),definition:n(i).toString()},{term:s("Enabled:"),definition:n(l).toString()},{term:s("Disabled:"),definition:n(c).toString()}]);return(p,u)=>{const C=T("oc-icon"),f=T("oc-definition-list");return S(),M("div",$a,[$("div",Aa,[$("div",null,[_(C,{size:"xxlarge",name:"layout-grid"}),u[0]||(u[0]=y()),$("p",{textContent:R(h.value)},null,8,Pa)])]),u[1]||(u[1]=y()),_(f,{"aria-label":d.value,items:x.value,class:"m-0"},null,8,["aria-label","items"])])}}}),_a=N({name:"SpaceNoSelection"}),Da={class:"mt-12"},Ma={class:"flex flex-col items-center space-info text-center"},Ta=["textContent"];function Ea(e,t,s,a,o,r){const i=T("oc-icon");return S(),M("div",Da,[$("div",Ma,[_(i,{name:"layout-grid",size:"xxlarge"}),t[0]||(t[0]=y()),$("p",{textContent:R(e.$gettext("Select a space to view details"))},null,8,Ta)])])}const xo=ce(_a,[["render",Ea]]),Fa=N({props:{pages:{type:Number,required:!0},currentPage:{type:Number,required:!0}},watch:{currentPage:{handler:function(){document.getElementsByClassName("files-view-wrapper")[0]?.scrollTo(0,0)}}}});function Ra(e,t,s,a,o,r){const i=T("oc-pagination");return e.pages>1?(S(),q(i,{key:0,pages:e.pages,"current-page":e.currentPage,"max-displayed":3,"current-route":e.$route,class:"files-pagination flex justify-center my-2"},null,8,["pages","current-page","current-route"])):k("",!0)}const Co=ce(Fa,[["render",Ra]]);export{co as A,mo as B,so as C,ao as D,oo as E,ro as F,io as G,lo as H,bt as I,cs as J,Le as K,bs as L,Co as P,Ds as Q,xo as S,go as V,ma as W,So as _,bo as a,ga as b,ho as c,fe as d,Ss as e,Es as f,yo as g,wo as h,ps as i,ia as j,vo as k,vt as l,to as m,vs as n,Fs as o,no as p,Ae as q,Pe as r,ys as s,uo as t,St as u,po as v,Ls as w,Rs as x,fo as y,Qs as z}; diff --git a/web-dist/js/chunks/Pagination-w-FgvznP.mjs.gz b/web-dist/js/chunks/Pagination-w-FgvznP.mjs.gz new file mode 100644 index 0000000000..756775f45b Binary files /dev/null and b/web-dist/js/chunks/Pagination-w-FgvznP.mjs.gz differ diff --git a/web-dist/js/chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs b/web-dist/js/chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs new file mode 100644 index 0000000000..e19b300b62 --- /dev/null +++ b/web-dist/js/chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs @@ -0,0 +1 @@ +import{M as L,af as O,aZ as R,aL as s,s as m,au as y,q as t,bk as n,c8 as $,c7 as M,da as A,co as q,bJ as p,aY as w,bO as V,a$ as j,u as k,a_ as z,bL as C,v as I,bb as P,t as F,eg as W,cm as G,H as N,I as B,ar as H}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{c as J,r as K}from"./icon-BPAP2zgX.mjs";import{_ as U}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";const Y=L({__name:"ResourceIcon",props:{resource:{},size:{default:"large"}},setup(e){const r={name:"resource-type-folder",color:"var(--oc-color-icon-folder)"},o={name:"resource-type-folder",color:"var(--oc-role-secondary)"},i={name:"layout-grid",color:"var(--oc-role-secondary)"},d={name:"layout-grid",color:"var(--oc-role-secondary)"},a={name:"resource-type-file",color:"var(--oc-role-on-surface)"},v=J(),f=O(K),l=t(()=>n(g)?.name===r.name),h=t(()=>e.resource.type==="space"),c=t(()=>$(e.resource)&&e.resource.disabled===!0),u=t(()=>e.resource.type==="folder"||e.resource.isFolder?r:a),D=t(()=>M(e.resource)),x=t(()=>e.resource.extension?.toLowerCase()),b=t(()=>e.resource.mimeType?.toLowerCase()),g=t(()=>{if(n(D))return o;if(n(c))return d;if(n(h))return i;const T=v[n(x)]||f?.mimeType[n(b)]||f?.extension[n(x)];return{...n(u),...T}});return(T,oe)=>{const E=R("oc-icon");return s(),m(E,{key:`resource-icon-${g.value.name}`,name:g.value.name,color:g.value.color,size:e.size,class:y(["oc-resource-icon","inline-flex","items-center",{"opacity-80 grayscale":c.value,"[&_svg]:h-[70%]":!h.value&&!l.value}])},null,8,["name","color","size","class"])}}}),Z={name:"ResourceLink",props:{link:{type:Object,required:!1,default:null},resource:{type:Object,required:!0},isResourceClickable:{type:Boolean,required:!1,default:!0}},emits:["click"],setup:e=>{const r=A(),{options:o}=q(r);return{linkTarget:t(()=>n(o).cernFeatures&&e.link&&!e.resource.isFolder?"_blank":"_self")}},computed:{isNavigatable(){return this.resource?this.link&&!this.resource.disabled:!1},isClickable(){return this.isResourceClickable&&!this.resource?.disabled}},methods:{emitClick(e){!e||typeof e.stopPropagation!="function"||this.isNavigatable||this.$emit("click",e)}}},Q={key:1};function X(e,r,o,i,d,a){return o.isResourceClickable?(s(),m(j(a.isNavigatable?"router-link":"oc-button"),{key:0,to:a.isNavigatable?o.link:void 0,target:a.isNavigatable?e.linkTarget:void 0,rel:a.isNavigatable&&e.linkTarget==="_blank"?"noopener noreferrer":void 0,appearance:a.isNavigatable?void 0:"raw","gap-size":a.isNavigatable?void 0:"none","justify-content":a.isNavigatable?void 0:"left",type:a.isNavigatable?void 0:"button","no-hover":a.isNavigatable?void 0:!0,draggable:!1,class:"oc-resource-link max-w-full",onDragstart:r[0]||(r[0]=V(()=>{},["prevent","stop"])),onClick:a.emitClick},{default:p(()=>[w(e.$slots,"default",{},void 0,!0)]),_:3},40,["to","target","rel","appearance","gap-size","justify-content","type","no-hover","onClick"])):(s(),k("span",Q,[w(e.$slots,"default",{},void 0,!0)]))}const S=U(Z,[["render",X],["__scopeId","data-v-668ce1c3"]]),_=["data-test-resource-path","data-test-resource-name","data-test-resource-type","title"],ee={key:0,class:"truncate leading-4"},te=["textContent"],ae=["textContent"],ne=["textContent"],re=L({__name:"ResourceName",props:{name:{},type:{},fullPath:{},pathPrefix:{default:""},extension:{default:""},isPathDisplayed:{type:Boolean,default:!1},isExtensionDisplayed:{type:Boolean,default:!0},truncateName:{type:Boolean,default:!0}},setup(e){const r=t(()=>e.extension&&!e.name.startsWith(".")?e.name.slice(0,-e.extension.length-1):e.name),o=t(()=>e.extension&&e.isExtensionDisplayed&&!e.name.startsWith(".")),i=t(()=>e.extension?"."+e.extension:""),d=t(()=>{if(!e.isPathDisplayed)return null;const l=e.fullPath.replace(/^\//,"").split("/");return l.length<2?null:l.length===2?l[0]+"/":`…/${l[l.length-2]}/`}),a=t(()=>!e.isPathDisplayed||n(d)===e.fullPath?null:e.pathPrefix?W.join(e.pathPrefix,e.fullPath):e.fullPath),v=t(()=>{if(!n(a))return e.isExtensionDisplayed?`${n(r)}${n(i)}`:n(r)}),f=t(()=>(n(d)||"")+e.name);return(l,h)=>{const c=z("oc-tooltip");return C((s(),k("span",{class:y(["oc-resource-name flex min-w-0",[{"inline-block":!e.truncateName}]]),"data-test-resource-path":e.fullPath,"data-test-resource-name":f.value,"data-test-resource-type":e.type,title:v.value},[e.truncateName?(s(),k("span",ee,[I("span",{class:"oc-resource-basename whitespace-pre text-role-on-surface",textContent:P(r.value)},null,8,te)])):(s(),k("span",{key:1,class:"oc-resource-basename break-normal text-role-on-surface leading-4",textContent:P(r.value)},null,8,ae)),o.value?(s(),k("span",{key:2,class:"oc-resource-extension whitespace-pre text-role-on-surface leading-4",textContent:P(i.value)},null,8,ne)):F("",!0)],10,_)),[[c,a.value]])}}}),le={class:"flex"},se=["textContent"],de=L({__name:"ResourceListItem",props:{resource:{},pathPrefix:{default:""},link:{default:null},isPathDisplayed:{type:Boolean,default:!1},parentFolderLink:{default:null},parentFolderName:{default:""},parentFolderLinkIconAdditionalAttributes:{default:()=>({})},isExtensionDisplayed:{type:Boolean,default:!0},isThumbnailDisplayed:{type:Boolean,default:!0},isIconDisplayed:{type:Boolean,default:!0},isResourceClickable:{type:Boolean,default:!0}},emits:["click"],setup(e,{emit:r}){const o=r,{$gettext:i}=G(),d=t(()=>e.parentFolderLink?"router-link":"span"),a=t(()=>({"fill-type":"line",name:"folder-2",size:"small",...e.parentFolderLinkIconAdditionalAttributes})),v=t(()=>e.isThumbnailDisplayed&&Object.prototype.hasOwnProperty.call(e.resource,"thumbnail")),f=t(()=>e.resource.thumbnail),l=t(()=>e.resource.locked?i("This item is locked"):null),h=c=>{!c||typeof c.stopPropagation!="function"||o("click",c)};return(c,u)=>{const D=R("oc-image"),x=R("oc-icon"),b=z("oc-tooltip");return s(),k("div",{class:y(["oc-resource inline-flex justify-start items-center max-w-full overflow-visible",{"pointer-events-none":!e.isResourceClickable}])},[e.isIconDisplayed?C((s(),m(S,{key:0,resource:e.resource,link:e.link,"is-resource-clickable":e.isResourceClickable,class:y(["relative",{"hover:underline":e.isResourceClickable}]),"aria-label":e.isResourceClickable?n(i)("Open »%{name}«",{name:e.resource?.name??""}):void 0,onClick:h},{default:p(()=>[v.value?C((s(),m(D,{key:f.value,src:f.value,"data-test-thumbnail-resource-name":e.resource.name,class:"rounded-xs size-8 object-cover max-w-fit","aria-label":l.value,alt:""},null,8,["src","data-test-thumbnail-resource-name","aria-label"])),[[b,l.value]]):C((s(),m(Y,{key:1,"aria-label":l.value,"aria-hidden":"true",resource:e.resource},null,8,["aria-label","resource"])),[[b,l.value]])]),_:1},8,["resource","link","is-resource-clickable","class","aria-label"])),[[b,e.isResourceClickable?l.value:void 0]]):F("",!0),u[2]||(u[2]=N()),I("div",{class:y(["oc-resource-details block truncate",{"pl-2":e.isIconDisplayed}])},[B(S,{resource:e.resource,"is-resource-clickable":e.isResourceClickable,link:e.link,class:y(["hover:outline-offset-0 focus:outline-offset-0",{"hover:underline":e.isResourceClickable}]),onClick:h},{default:p(()=>[(s(),m(re,{key:e.resource.name,name:e.resource.name,"path-prefix":e.pathPrefix,extension:e.resource.extension,type:e.resource.type,"full-path":e.resource.path,"is-path-displayed":e.isPathDisplayed,"is-extension-displayed":e.isExtensionDisplayed},null,8,["name","path-prefix","extension","type","full-path","is-path-displayed","is-extension-displayed"]))]),_:1},8,["resource","is-resource-clickable","link","class"]),u[1]||(u[1]=N()),I("div",le,[e.isPathDisplayed?(s(),m(j(d.value),{key:0,to:e.parentFolderLink,class:y(["parent-folder flex items-center truncate px-0.5 mr-2 -ml-0.5 hover:bg-transparent",{"cursor-pointer":e.parentFolderLink,"cursor-default":!e.parentFolderLink}])},{default:p(()=>[B(x,H(a.value,{class:"mr-1"}),null,16),u[0]||(u[0]=N()),I("span",{class:"text truncate text-sm hover:underline",textContent:P(e.parentFolderName)},null,8,se)]),_:1},8,["to","class"])):F("",!0)])],2)],2)}}});export{S as R,Y as _,de as a,re as b}; diff --git a/web-dist/js/chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs.gz b/web-dist/js/chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs.gz new file mode 100644 index 0000000000..7d66acc50f Binary files /dev/null and b/web-dist/js/chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs.gz differ diff --git a/web-dist/js/chunks/SearchBarFilter-C7qMtMoh.mjs b/web-dist/js/chunks/SearchBarFilter-C7qMtMoh.mjs new file mode 100644 index 0000000000..aea54a805d --- /dev/null +++ b/web-dist/js/chunks/SearchBarFilter-C7qMtMoh.mjs @@ -0,0 +1 @@ +import{u as k}from"./useRoute-BGFNOdqM.mjs";import{q as S,bk as r,M as y,cm as C,cr as w,bE as A,aU as F,aZ as f,aL as i,u as c,I as m,bJ as b,F as V,aX as $,v as B,bb as O,H as x,t as h,bO as N}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{_ as L}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";class s{static allFiles="all-files";static currentFolder="current-folder"}const j=()=>{const e=k();return S(()=>r(e)?.query?.contextRouteName)},R=y({name:"SearchBarFilter",props:{currentFolderAvailable:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:o}){const{$gettext:u}=C(),p=w("useScope"),a=F(),d=F(),v=S(()=>u(a.value?.title)),n=S(()=>[{id:s.currentFolder,title:u("Current folder"),enabled:e.currentFolderAvailable},{id:s.allFiles,title:u("All files"),enabled:!0}]);return A(()=>e.currentFolderAvailable,()=>{if(r(p)){if(r(p).toString()==="true"){a.value=r(n).find(({id:l})=>l===s.currentFolder);return}a.value=r(n).find(({id:l})=>l===s.allFiles);return}if(!e.currentFolderAvailable){a.value=r(n).find(({id:t})=>t===s.allFiles);return}if(r(d)){a.value=r(n).find(({id:t})=>t===r(d).id);return}a.value=r(n).find(({id:t})=>t===s.allFiles)},{immediate:!0}),{currentSelection:a,currentSelectionTitle:v,onOptionSelected:t=>{d.value=t,a.value=t,o("update:modelValue",{value:t})},locationOptions:n}}}),z={key:0},T={key:0,class:"flex"};function q(e,o,u,p,a,d){const v=f("oc-icon"),n=f("oc-button"),_=f("oc-list"),t=f("oc-filter-chip");return i(),c("div",{class:"z-[var(--z-index-modal)] absolute top-[50%] transform-[translateY(-50%)] right-0 ml-4 mb-4 mt-0 mr-[34px] float-right","data-testid":"search-bar-filter",onClick:o[0]||(o[0]=N(()=>{},["stop"]))},[e.currentSelection?(i(),c("div",z,[m(t,{"is-toggle":!1,"is-toggle-active":!1,"filter-label":e.$gettext("Location filter"),"selected-item-names":[e.currentSelectionTitle],class:"oc-search-bar-filter [&_button]:items-center [&_.oc-drop]:w-45","has-active-state":!1,raw:"","close-on-click":""},{default:b(()=>[m(_,null,{default:b(()=>[(i(!0),c(V,null,$(e.locationOptions,(l,g)=>(i(),c("li",{key:g},[m(n,{appearance:l.id===e.currentSelection.id?"filled":"raw-inverse","color-role":l.id===e.currentSelection.id?"secondaryContainer":"surface","no-hover":l.id===e.currentSelection.id,size:"medium",class:"flex items-center w-full py-1 px-2","justify-content":"space-between",disabled:!l.enabled,"data-test-id":l.id,onClick:E=>e.onOptionSelected(l)},{default:b(()=>[B("span",null,O(l.title),1),o[1]||(o[1]=x()),l.id===e.currentSelection.id?(i(),c("div",T,[m(v,{name:"check"})])):h("",!0)]),_:2},1032,["appearance","color-role","no-hover","disabled","data-test-id","onClick"])]))),128))]),_:1})]),_:1},8,["filter-label","selected-item-names"])])):h("",!0)])}const D=L(R,[["render",q]]);export{D as S,s as a,j as u}; diff --git a/web-dist/js/chunks/SearchBarFilter-C7qMtMoh.mjs.gz b/web-dist/js/chunks/SearchBarFilter-C7qMtMoh.mjs.gz new file mode 100644 index 0000000000..492af13ca9 Binary files /dev/null and b/web-dist/js/chunks/SearchBarFilter-C7qMtMoh.mjs.gz differ diff --git a/web-dist/js/chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs b/web-dist/js/chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs new file mode 100644 index 0000000000..e70da335aa --- /dev/null +++ b/web-dist/js/chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs @@ -0,0 +1,3 @@ +import{u as Jt}from"./useRoute-BGFNOdqM.mjs";import{q as j,bk as v,ch as Dn,bU as Pn,cZ as Dt,cX as On,db as Fn,bX as vt,bV as Pt,bW as Ln,c9 as Ot,c7 as In,c8 as pt,cW as Nn,cY as bt,cn as $n,d9 as en,cl as tn,da as gt,cj as Bn,aU as ne,bE as xe,bQ as lt,cq as Mn,co as yt,cr as Ft,aI as wt,cs as Lt,c2 as jn,cm as Ge,dL as Vn,M as oe,aD as St,C as Hn,o as Wn,aL as F,u as H,I as U,bJ as V,v as X,au as ue,aY as J,as as Ee,bt as qn,s as q,a$ as Ve,t as Q,H as W,bb as Te,bu as ct,eh as zn,az as nn,aZ as re,T as xt,bl as rn,g as _n,F as me,aX as we,a_ as Un,bL as Kn,ar as an,af as Yn}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{f as be}from"./index-lRhEXmMs.mjs";import{c as Se,u as He,_ as It,g as Xn}from"./OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import{c as sn,d as on,m as ln,u as Gn}from"./vue-router-CmC7u3Bn.mjs";import{ba as Zn,bC as Be,bA as Ne,bB as Qn,bq as Jn}from"./resources-CL0nvFAd.mjs";import{aK as er}from"./user-C7xYeMZ3.mjs";import{u as Ze}from"./useClientService-BP8mjZl2.mjs";import{a as tr}from"./useLoadingService-CLoheuuI.mjs";import{e as nr}from"./eventBus-B07Yv2pA.mjs";import{u as rr}from"./messages-bd5_8QAH.mjs";import{v as ir}from"./v4-EwEgHOG0.mjs";import{A as cn}from"./ActionMenuItem-5Eo133Qt.mjs";import{_ as Tt}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";const ar=t=>t.path.split("/")[1],Fa=()=>{const t=Jt();return j(()=>ar(v(t)))};var it={exports:{}},Nt;function sr(){return Nt||(Nt=1,(function(t){var e=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function a(c,u,d){this.fn=c,this.context=u,this.once=d||!1}function s(c,u,d,l,f){if(typeof d!="function")throw new TypeError("The listener must be a function");var h=new a(d,l||c,f),p=n?n+u:u;return c._events[p]?c._events[p].fn?c._events[p]=[c._events[p],h]:c._events[p].push(h):(c._events[p]=h,c._eventsCount++),c}function i(c,u){--c._eventsCount===0?c._events=new r:delete c._events[u]}function o(){this._events=new r,this._eventsCount=0}o.prototype.eventNames=function(){var u=[],d,l;if(this._eventsCount===0)return u;for(l in d=this._events)e.call(d,l)&&u.push(n?l.slice(1):l);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(d)):u},o.prototype.listeners=function(u){var d=n?n+u:u,l=this._events[d];if(!l)return[];if(l.fn)return[l.fn];for(var f=0,h=l.length,p=new Array(h);ft.reason??new DOMException("This operation was aborted.","AbortError");function cr(t,e){const{milliseconds:n,fallback:r,message:a,customTimers:s={setTimeout,clearTimeout},signal:i}=e;let o,c;const d=new Promise((l,f)=>{if(typeof n!="number"||Math.sign(n)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(i?.aborted){f($t(i));return}if(i&&(c=()=>{f($t(i))},i.addEventListener("abort",c,{once:!0})),t.then(l,f),n===Number.POSITIVE_INFINITY)return;const h=new kt;o=s.setTimeout.call(void 0,()=>{if(r){try{l(r())}catch(p){f(p)}return}typeof t.cancel=="function"&&t.cancel(),a===!1?l():a instanceof Error?f(a):(h.message=a??`Promise timed out after ${n} milliseconds`,f(h))},n)}).finally(()=>{d.clear(),c&&i&&i.removeEventListener("abort",c)});return d.clear=()=>{s.clearTimeout.call(void 0,o),o=void 0},d}function ur(t,e,n){let r=0,a=t.length;for(;a>0;){const s=Math.trunc(a/2);let i=r+s;n(t[i],e)<=0?(r=++i,a-=s+1):a=s}return r}class dr{#n=[];enqueue(e,n){const{priority:r=0,id:a}=n??{},s={priority:r,id:a,run:e};if(this.size===0||this.#n[this.size-1].priority>=r){this.#n.push(s);return}const i=ur(this.#n,s,(o,c)=>c.priority-o.priority);this.#n.splice(i,0,s)}setPriority(e,n){const r=this.#n.findIndex(s=>s.id===e);if(r===-1)throw new ReferenceError(`No promise function with the id "${e}" exists in the queue.`);const[a]=this.#n.splice(r,1);this.enqueue(a.run,{priority:n,id:e})}dequeue(){return this.#n.shift()?.run}filter(e){return this.#n.filter(n=>n.priority===e.priority).map(n=>n.run)}get size(){return this.#n.length}}class La extends lr{#n;#s;#o=0;#h;#v=!1;#g=!1;#l;#C=0;#y=0;#c;#u;#a;#i=[];#r=0;#e;#E;#t=0;#p;#d;#F=1n;#b=new Map;timeout;constructor(e){if(super(),e={carryoverIntervalCount:!1,intervalCap:Number.POSITIVE_INFINITY,interval:0,concurrency:Number.POSITIVE_INFINITY,autoStart:!0,queueClass:dr,strict:!1,...e},!(typeof e.intervalCap=="number"&&e.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${e.intervalCap?.toString()??""}\` (${typeof e.intervalCap})`);if(e.interval===void 0||!(Number.isFinite(e.interval)&&e.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${e.interval?.toString()??""}\` (${typeof e.interval})`);if(e.strict&&e.interval===0)throw new TypeError("The `strict` option requires a non-zero `interval`");if(e.strict&&e.intervalCap===Number.POSITIVE_INFINITY)throw new TypeError("The `strict` option requires a finite `intervalCap`");if(this.#n=e.carryoverIntervalCount??e.carryoverConcurrencyCount??!1,this.#s=e.intervalCap===Number.POSITIVE_INFINITY||e.interval===0,this.#h=e.intervalCap,this.#l=e.interval,this.#a=e.strict,this.#e=new e.queueClass,this.#E=e.queueClass,this.concurrency=e.concurrency,e.timeout!==void 0&&!(Number.isFinite(e.timeout)&&e.timeout>0))throw new TypeError(`Expected \`timeout\` to be a positive finite number, got \`${e.timeout}\` (${typeof e.timeout})`);this.timeout=e.timeout,this.#d=e.autoStart===!1,this.#V()}#w(e){for(;this.#r=this.#l)this.#r++;else break}(this.#r>100&&this.#r>this.#i.length/2||this.#r===this.#i.length)&&(this.#i=this.#i.slice(this.#r),this.#r=0)}#L(e){this.#a?this.#i.push(e):this.#o++}#I(){this.#a?this.#i.length>this.#r&&this.#i.pop():this.#o>0&&this.#o--}#S(){return this.#i.length-this.#r}get#N(){return this.#s?!0:this.#a?this.#S()=this.#h){const r=this.#i[this.#r],a=this.#l-(e-r);return this.#x(a),!0}return!1}if(this.#c===void 0){const n=this.#C-e;if(n<0){if(this.#y>0){const r=e-this.#y;if(r{this.#M()},e))}#T(){this.#c&&(clearInterval(this.#c),this.#c=void 0)}#R(){this.#u&&(clearTimeout(this.#u),this.#u=void 0)}#k(){if(this.#e.size===0){if(this.#T(),this.emit("empty"),this.#t===0){if(this.#R(),this.#a&&this.#r>0){const n=Date.now();this.#w(n)}this.emit("idle")}return!1}let e=!1;if(!this.#d){const n=Date.now(),r=!this.#j(n);if(this.#N&&this.#$){const a=this.#e.dequeue();this.#s||(this.#L(n),this.#m()),this.emit("active"),a(),r&&this.#D(),e=!0}}return e}#D(){this.#s||this.#c!==void 0||this.#a||(this.#c=setInterval(()=>{this.#P()},this.#l),this.#C=Date.now()+this.#l)}#P(){this.#a||(this.#o===0&&this.#t===0&&this.#c&&this.#T(),this.#o=this.#n?this.#t:0),this.#A(),this.#m()}#A(){for(;this.#k(););}get concurrency(){return this.#p}set concurrency(e){if(!(typeof e=="number"&&e>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this.#p=e,this.#A()}setPriority(e,n){if(typeof n!="number"||!Number.isFinite(n))throw new TypeError(`Expected \`priority\` to be a finite number, got \`${n}\` (${typeof n})`);this.#e.setPriority(e,n)}async add(e,n={}){return n={timeout:this.timeout,...n,id:n.id??(this.#F++).toString()},new Promise((r,a)=>{const s=Symbol(`task-${n.id}`);this.#e.enqueue(async()=>{this.#t++,this.#b.set(s,{id:n.id,priority:n.priority??0,startTime:Date.now(),timeout:n.timeout});let i;try{try{n.signal?.throwIfAborted()}catch(u){throw this.#H(),this.#b.delete(s),u}this.#y=Date.now();let o=e({signal:n.signal});if(n.timeout&&(o=cr(Promise.resolve(o),{milliseconds:n.timeout,message:`Task timed out after ${n.timeout}ms (queue has ${this.#t} running, ${this.#e.size} waiting)`})),n.signal){const{signal:u}=n;o=Promise.race([o,new Promise((d,l)=>{i=()=>{l(u.reason)},u.addEventListener("abort",i,{once:!0})})])}const c=await o;r(c),this.emit("completed",c)}catch(o){a(o),this.emit("error",o)}finally{i&&n.signal?.removeEventListener("abort",i),this.#b.delete(s),queueMicrotask(()=>{this.#B()})}},n),this.emit("add"),this.#k()})}async addAll(e,n){return Promise.all(e.map(async r=>this.add(r,n)))}start(){return this.#d?(this.#d=!1,this.#A(),this):this}pause(){this.#d=!0}clear(){this.#e=new this.#E,this.#T(),this.#O(),this.emit("empty"),this.#t===0&&(this.#R(),this.emit("idle")),this.emit("next")}async onEmpty(){this.#e.size!==0&&await this.#f("empty")}async onSizeLessThan(e){this.#e.sizethis.#e.size{const r=a=>{this.off("error",r),n(a)};this.on("error",r)})}async#f(e,n){return new Promise(r=>{const a=()=>{n&&!n()||(this.off(e,a),r())};this.on(e,a)})}get size(){return this.#e.size}sizeBy(e){return this.#e.filter(e).length}get pending(){return this.#t}get isPaused(){return this.#d}#V(){this.#s||(this.on("add",()=>{this.#e.size>0&&this.#m()}),this.on("next",()=>{this.#m()}))}#m(){this.#s||this.#g||(this.#g=!0,queueMicrotask(()=>{this.#g=!1,this.#O()}))}#H(){this.#s||(this.#I(),this.#m())}#O(){const e=this.#v;if(this.#s||this.#e.size===0){e&&(this.#v=!1,this.emit("rateLimitCleared"));return}let n;if(this.#a){const a=Date.now();this.#w(a),n=this.#S()}else n=this.#o;const r=n>=this.#h;r!==e&&(this.#v=r,this.emit(r?"rateLimit":"rateLimitCleared"))}get isRateLimited(){return this.#v}get isSaturated(){return this.#t===this.#p&&this.#e.size>0||this.isRateLimited&&this.#e.size>0}get runningTasks(){return[...this.#b.values()].map(e=>({...e}))}}const Bt=async({graphClient:t,spacesStore:e,space:n,signal:r})=>{const a=await e.getMountPointForSpace({graphClient:t,space:n,signal:r});if(!a)return null;const{id:s}=a;return t.driveItems.getDriveItem(s.split("!")[0],s)},fr=({sharesStore:t,spacesStore:e,space:n,sharedDriveItem:r})=>{const a=r?.remoteItem?.permissions||[];if(!a.length)return;const s=[];a.forEach(i=>{if(i["@libre.graph.permissions.actions"]){s.push(...i["@libre.graph.permissions.actions"]);return}const o=t.graphRoles[i.roles[0]];if(!o)return;const c=o.rolePermissions.flatMap(u=>u.allowedResourceActions);s.push(...c)}),e.updateSpaceField({id:n.id,field:"graphPermissions",value:[...new Set(s)]})};class Ia{accessToken;publicLinkToken;publicLinkPassword;constructor(e={}){this.accessToken=e.accessToken,this.publicLinkToken=e.publicLinkToken,this.publicLinkPassword=e.publicLinkPassword}getHeaders(){return{...this.publicLinkToken&&{"public-token":this.publicLinkToken},...this.publicLinkPassword&&{Authorization:"Basic "+Pn.from(["public",this.publicLinkPassword].join(":")).toString("base64")},...this.accessToken&&!this.publicLinkPassword&&!this.publicLinkToken&&{Authorization:"Bearer "+this.accessToken}}}}class hr{isEnabled(){return!0}isActive(e){return Dt(e,"files-spaces-projects")?!1:Dt(e,"files-spaces-generic")||On(e,"files-public-link")}getTask(e){const{router:n,clientService:r,resourcesStore:a,authService:s,spacesStore:i,sharesStore:o,configStore:c}=e,{webdav:u,graphAuthenticated:d}=r,{replaceInvalidFileRoute:l}=Fn({router:n});return be(function*(f,h,p,S=null,w=null,C={}){try{a.clearResourceList();const T=vt.Default;Pt(p)&&T.push(Ln.DownloadURL);let{resource:y,children:x}=yield*Se(u.listFiles(p,{path:S,fileId:w},{signal:f,davProperties:T}));y.id&&l({space:p,resource:y,path:S,fileId:w});let P;S==="/"&&(Ot(p)?(P=yield*Se(Bt({graphClient:d,spacesStore:i,space:p,signal:f})),P&&(y=sn({graphRoles:o.graphRoles,driveItem:P,serverUrl:c.serverUrl}))):!In(p)&&!Pt(p)&&(y=p)),yield a.loadAncestorMetaData({folder:y,space:p,client:u,signal:f}),pt(p)&&(yield i.loadGraphPermissions({ids:[p.id],graphClient:d})),Ot(p)&&(x.forEach(D=>D.remoteItemId=p.id),p.graphPermissions===void 0&&(P||(P=yield*Se(Bt({graphClient:d,spacesStore:i,space:p,signal:f}))),fr({sharesStore:o,spacesStore:i,space:p,sharedDriveItem:P}))),a.initResourceList({currentFolder:y,resources:x})}catch(T){if(a.setCurrentFolder(null),console.error(T),T.statusCode===401)return s.handleAuthError(v(n.currentRoute))}}).restartable()}}class mr{isEnabled(){return!0}isActive(e){const n=v(e.currentRoute);return Nn(e,"files-common-favorites")||n?.query?.contextRouteName==="files-common-favorites"}getTask(e){const{resourcesStore:n,clientService:r,userStore:a}=e;return be(function*(s,i){n.clearResourceList(),n.setAncestorMetaData({});let o=yield r.webdav.listFavoriteFiles({username:a.user?.onPremisesSamAccountName,signal:s});o=o.map(Zn),n.initResourceList({currentFolder:null,resources:o})})}}class vr{isEnabled(){return!0}isActive(e){const n=v(e.currentRoute);return bt(e,"files-shares-via-link")||n?.query?.contextRouteName==="files-shares-via-link"}getTask(e){const{userStore:n,spacesStore:r,clientService:a,configStore:s,resourcesStore:i}=e;return be(function*(o,c){i.clearResourceList(),i.setAncestorMetaData({}),s.options.routing.fullShareOwnerPaths&&(yield r.loadMountPoints({graphClient:a.graphAuthenticated,signal:o}));const d=(yield*Se(a.graphAuthenticated.driveItems.listSharedByMe({expand:new Set(["thumbnails"])},{signal:o}))).filter(l=>l.permissions.some(({link:f})=>!!f)).map(l=>on({driveItem:l,user:n.user,serverUrl:s.serverUrl}));i.initResourceList({currentFolder:null,resources:d})})}}class pr{isEnabled(){return!0}isActive(e){const n=v(e.currentRoute);return bt(e,"files-shares-with-me")||n?.query?.contextRouteName==="files-shares-with-me"}getTask(e){const{spacesStore:n,clientService:r,configStore:a,resourcesStore:s,sharesStore:i}=e;return be(function*(o,c){s.clearResourceList(),s.setAncestorMetaData({}),a.options.routing.fullShareOwnerPaths&&(yield n.loadMountPoints({graphClient:r.graphAuthenticated,signal:o}));const d=(yield*Se(r.graphAuthenticated.driveItems.listSharedWithMe({expand:new Set(["thumbnails"])},{signal:o}))).map(l=>sn({driveItem:l,graphRoles:i.graphRoles,serverUrl:a.serverUrl}));s.initResourceList({currentFolder:null,resources:d})})}}class br{isEnabled(){return!0}isActive(e){const n=v(e.currentRoute);return bt(e,"files-shares-with-others")||n?.query?.contextRouteName==="files-shares-with-others"}getTask(e){const{userStore:n,spacesStore:r,clientService:a,configStore:s,resourcesStore:i}=e;return be(function*(o,c){i.clearResourceList(),i.setAncestorMetaData({}),s.options.routing.fullShareOwnerPaths&&(yield r.loadMountPoints({graphClient:a.graphAuthenticated,signal:o}));const d=(yield*Se(a.graphAuthenticated.driveItems.listSharedByMe({expand:new Set(["thumbnails"])},{signal:o}))).filter(l=>l.permissions.some(({link:f})=>!f)).map(l=>on({driveItem:l,user:n.user,serverUrl:s.serverUrl}));i.initResourceList({currentFolder:null,resources:d})})}}class gr{isEnabled(){return!0}isActive(e){return $n(e,"files-trash-generic")}getTask(e){const{resourcesStore:n,spacesStore:r,clientService:{webdav:a,graphAuthenticated:s}}=e;return be(function*(i,o,c){n.clearResourceList(),n.setAncestorMetaData({});const{resource:u,children:d}=yield a.listFiles(c,{},{depth:1,davProperties:vt.Trashbin,isTrash:!0,signal:i});pt(c)&&(yield r.loadGraphPermissions({ids:[c.id],graphClient:s})),n.initResourceList({currentFolder:u,resources:d})})}}class yr{loaders;constructor(){this.loaders=[new hr,new mr,new vr,new pr,new br,new gr]}getTask(){const e=er(),n=Be(),r=en(),a=tn(),s=Ze(),i=gt(),o=Ne(),c=Qn(),u=tr(),d=this.loaders.find(l=>l.isEnabled()&&l.isActive(v(a)));if(!d){console.debug("No folder loader found for route");return}return be(function*(...l){const f={clientService:s,configStore:i,userStore:e,spacesStore:n,capabilityStore:r,resourcesStore:o,sharesStore:c,router:a,authService:u};try{yield d.getTask(f).perform(...l)}catch(h){console.error(h)}})}}const Na=new yr,Mt=t=>new TextEncoder().encode(t).length,wr=Bn("bottomDrawers",()=>{const t=ne([]),e=j(()=>v(t).length?v(t)[v(t).length-1]:null);return{drawers:t,currentDrawer:e,showDrawer:()=>{const s={id:He()};return t.value.push(s),s},closeDrawer:s=>{t.value=v(t).filter(i=>i.id!==s)},closeAllDrawers:()=>{t.value=[]}}}),$a=(t,...e)=>{const n=ne(!1),r=tn(),a=Jt();return xe(a,()=>{n.value=t(r,...e)},{immediate:!0}),n},Ba=()=>{const t=gt(),e=Ze(),n=Be(),r=Ne(),a=en(),s=j(()=>a.searchContent?.enabled),i=j(()=>r.areHiddenFilesShown),o=j(()=>n.spaces.filter(pt)),c=f=>v(o).find(h=>h.id===f),u=be(function*(f,h,p=null){if(t.options.routing.fullShareOwnerPaths&&(yield n.loadMountPoints({graphClient:e.graphAuthenticated,signal:f})),!h)return{totalResults:null,values:[]};const{resources:S,totalResults:w}=yield*Se(e.webdav.search(h,{searchLimit:p,davProperties:vt.Default,signal:f}));return{totalResults:w,values:S.map(C=>{const T=c(C.parentFolderId),y=T||C;return t.options.routing.fullShareOwnerPaths&&y.remoteItemPath&&(y.path=lt(y.remoteItemPath,y.path)),{id:y.id,data:y}}).filter(({data:C})=>!C.name.startsWith(".")||v(i))}}).restartable();return{search:async(f,h=null)=>await u.perform(f,h),buildSearchTerm:({term:f,isTitleOnlySearch:h,tags:p,lastModified:S,mediaType:w,scope:C,useScope:T})=>{const y=[],x=f,P=v(s)&&!h;if(x){let D=`name:"*${x}*"`;P&&(D=`(name:"*${x}*" OR content:"${x}")`),y.push(D)}if(T&&C&&y.push(`scope:${C}`),p){const D=p.split("+").map(N=>`"${N}"`);y.push(`tag:(${D.join(" OR ")})`)}if(S&&y.push(`mtime:${S}`),w){const D=w.split("+").map(N=>`"${N}"`);y.push(`mediatype:(${D.join(" OR ")})`)}return y.sort((D,N)=>Number(D.startsWith("scope:"))-Number(N.startsWith("scope:"))).join(" AND ")}}},Sr=()=>nr;function Ma({titleSegments:t,eventBus:e}){const n=Mn(),{currentTheme:r}=yt(n);e=e||Sr(),xe(t,a=>{const s=v(a),i=" - ",o={shortDocumentTitle:s.join(i),fullDocumentTitle:[...s,v(r).name].join(i)};e.publish("runtime.documentTitle.changed",o)},{immediate:!0,deep:!0})}const xr=()=>{const t=Be();return{areSpacesLoading:j(()=>!t.spacesInitialized||t.spacesLoading)}},ja=(t={})=>{const e=Be(),{areSpacesLoading:n}=xr(),r=Ft("shareId"),a=Ft("fileId"),s=j(()=>Lt(v(a))),i=gt(),o=Ze(),c=j(()=>e.spaces),u=ne(null),d=ne(null),l=ne(!1),f=h=>{const p=h.split("/");return v(c).find(S=>{if(!h.startsWith(S.driveAlias))return!1;const w=S.driveAlias.split("/");return p.length{const h=v(t.driveAliasAndItem);!h?.startsWith("personal/")&&!h?.startsWith("project/")&&e.setCurrentSpace(null)}),xe([t.driveAliasAndItem,n],async([h,p],[S,w])=>{if(h===S&&p===w)return;if(!h||h.startsWith("virtual/")){u.value=null,d.value=null;return}if(v(u)&&h.startsWith(v(u).driveAlias)){d.value=lt(h.slice(v(u).driveAlias.length),{leadingSlash:!0});return}let T=null,y=null;if(h.startsWith("public/")||h.startsWith("ocm/")){const[x,...P]=h.split("/").slice(1);T=v(c).find(D=>D.id===x),y=P.join("/")}else if(h.startsWith("share/")||h.startsWith("ocm-share/")){const[x,...P]=h.split("/").slice(1),D=h.startsWith("ocm-share/")?"ocm-share":"share";let N=Lt(v(r));N?.includes(":")&&(N=[jn,N].join("!")),T=e.getSpace(N)||e.createShareSpace({driveAliasPrefix:D,id:N,shareName:v(x)}),y=P.join("/")}else v(s)?T=v(c).find(x=>v(s).startsWith(`${x.fileId}`)):T=f(h),T||(!e.mountPointsInitialized&&i.options.routing.fullShareOwnerPaths&&(l.value=!0,await e.loadMountPoints({graphClient:o.graphAuthenticated})),T=f(h)),T&&(y=h.slice(T.driveAlias.length));u.value=T,d.value=lt(y,{leadingSlash:!0}),l.value=!1},{immediate:!0,deep:!0}),xe(u,h=>{e.setCurrentSpace(h)},{immediate:!0}),{space:u,item:d,itemId:s,loading:l}},Va=()=>{const t=Ze(),e=Ne(),{$gettext:n}=Ge(),r=Be(),{upsertResource:a}=Ne(),{showMessage:s,showErrorMessage:i}=rr(),o=d=>{const{graphAuthenticated:l}=t;return l.drives.createDrive({name:d},{params:{template:"default"}})};return{createSpace:o,createDefaultMetaFolder:async d=>{const l=await t.webdav.createFolder(d,{path:".space"});return Jn(l.parentFolderId)===e.currentFolder?.id&&e.upsertResource(l),l},addNewSpace:async d=>{try{const l=await o(d);return a(l),r.upsertSpace(l),s({title:n("Space was created successfully")}),l}catch(l){console.error(l),i({title:n("Creating space failed…"),errors:[l]})}}}};var Tr=(t=>(t.C="c",t.V="v",t.X="x",t.A="a",t.S="s",t.Z="z",t.Plus="+",t.Minus="-",t.Space=" ",t.ArrowUp="ArrowUp",t.ArrowDown="ArrowDown",t.ArrowLeft="ArrowLeft",t.ArrowRight="ArrowRight",t.Esc="Escape",t.Backspace="Backspace",t.Delete="Delete",t))(Tr||{}),kr=(t=>(t.Ctrl="Control",t.Shift="Shift",t))(kr||{});const Ar=()=>{const t=document.activeElement.tagName,e=document.activeElement.getAttribute("type");if(["textarea","input","select"].includes(t.toLowerCase())&&e!=="checkbox")return!0;const n=document.activeElement;if(!n)return!1;let r;try{r=n?.closest("[data-custom-key-bindings-disabled='true']")}catch{r=n?.parentElement.closest("[data-custom-key-bindings-disabled='true']")}return r?!0:window.getSelection().type==="Range"},Ha=t=>{const e=ne([]),n=ne(0),r=o=>{if(!t?.skipDisabledKeyBindingsCheck&&Ar())return;const{key:c,ctrlKey:u,metaKey:d,shiftKey:l}=o;let f=null;const h=[];d||u?(f="Control",h.push("altKey","shiftKey")):l&&(f="Shift",h.push("altKey","ctrlKey","metaKey")),!((S,w)=>w.some(C=>S[C]))(o,h)&&v(e).filter(S=>S.primary===c&&S.modifier===f).forEach(S=>{S.preventDefault&&o.preventDefault(),S.callback(o)})},a=(o,c,{preventDefault:u=!0}={})=>{const d=ir();return e.value.push({id:d,...o,modifier:o.modifier??null,preventDefault:u,callback:c}),d},s=o=>{e.value=e.value.filter(c=>c.id!==o)},i=()=>{n.value=0};return Vn(document,"keydown",r),{actions:e,bindKeyAction:a,removeKeyAction:s,selectionCursor:n,resetSelectionCursor:i}};var un=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],We=un.join(","),dn=typeof Element>"u",ke=dn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,qe=!dn&&Element.prototype.getRootNode?function(t){var e;return t==null||(e=t.getRootNode)===null||e===void 0?void 0:e.call(t)}:function(t){return t?.ownerDocument},ze=function(e,n){var r;n===void 0&&(n=!0);var a=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),s=a===""||a==="true",i=s||n&&e&&(typeof e.closest=="function"?e.closest("[inert]"):ze(e.parentNode));return i},Cr=function(e){var n,r=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"contenteditable");return r===""||r==="true"},fn=function(e,n,r){if(ze(e))return[];var a=Array.prototype.slice.apply(e.querySelectorAll(We));return n&&ke.call(e,We)&&a.unshift(e),a=a.filter(r),a},_e=function(e,n,r){for(var a=[],s=Array.from(e);s.length;){var i=s.shift();if(!ze(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),c=o.length?o:i.children,u=_e(c,!0,r);r.flatten?a.push.apply(a,u):a.push({scopeParent:i,candidates:u})}else{var d=ke.call(i,We);d&&r.filter(i)&&(n||!e.includes(i))&&a.push(i);var l=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),f=!ze(l,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(l&&f){var h=_e(l===!0?i.children:l.children,!0,r);r.flatten?a.push.apply(a,h):a.push({scopeParent:i,candidates:h})}else s.unshift.apply(s,i.children)}}return a},hn=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ye=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Cr(e))&&!hn(e)?0:e.tabIndex},Er=function(e,n){var r=ye(e);return r<0&&n&&!hn(e)?0:r},Rr=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},mn=function(e){return e.tagName==="INPUT"},Dr=function(e){return mn(e)&&e.type==="hidden"},Pr=function(e){var n=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return n},Or=function(e,n){for(var r=0;rsummary:first-of-type"),o=i?e.parentElement:e;if(ke.call(o,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="full-native"||r==="legacy-full"){if(typeof a=="function"){for(var c=e;e;){var u=e.parentElement,d=qe(e);if(u&&!u.shadowRoot&&a(u)===!0)return jt(e);e.assignedSlot?e=e.assignedSlot:!u&&d!==e.ownerDocument?e=d.host:e=u}e=c}if(Nr(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return jt(e);return!1},Br=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r=0)},vn=function(e){var n=[],r=[];return e.forEach(function(a,s){var i=!!a.scopeParent,o=i?a.scopeParent:a,c=Er(o,i),u=i?vn(a.candidates):o;c===0?i?n.push.apply(n,u):n.push(o):r.push({documentOrder:s,tabIndex:c,item:a,isScope:i,content:u})}),r.sort(Rr).reduce(function(a,s){return s.isScope?a.push.apply(a,s.content):a.push(s.content),a},[]).concat(n)},jr=function(e,n){n=n||{};var r;return n.getShadowRoot?r=_e([e],n.includeContainer,{filter:ut.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Mr}):r=fn(e,n.includeContainer,ut.bind(null,n)),vn(r)},Vr=function(e,n){n=n||{};var r;return n.getShadowRoot?r=_e([e],n.includeContainer,{filter:Ue.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=fn(e,n.includeContainer,Ue.bind(null,n)),r},Ce=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return ke.call(e,We)===!1?!1:ut(n,e)},Hr=un.concat("iframe:not([inert]):not([inert] *)").join(","),at=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return ke.call(e,Hr)===!1?!1:Ue(n,e)};function dt(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(c){throw c},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,i=!0,o=!1;return{s:function(){n=n.call(t)},n:function(){var c=n.next();return i=c.done,c},e:function(c){o=!0,s=c},f:function(){try{i||n.return==null||n.return()}finally{if(o)throw s}}}}function qr(t,e,n){return(e=Yr(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zr(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function _r(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ht(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function Wt(t){for(var e=1;e0?e[e.length-1]:null},activateTrap:function(e,n){var r=le.getActiveTrap(e);n!==r&&le.pauseTrap(e);var a=e.indexOf(n);a===-1||e.splice(a,1),e.push(n)},deactivateTrap:function(e,n){var r=e.indexOf(n);r!==-1&&e.splice(r,1),le.unpauseTrap(e)},pauseTrap:function(e){var n=le.getActiveTrap(e);n?._setPausedState(!0)},unpauseTrap:function(e){var n=le.getActiveTrap(e);n&&!n._isManuallyPaused()&&n._setPausedState(!1)}},Xr=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Gr=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},Ie=function(e){return e?.key==="Tab"||e?.keyCode===9},Zr=function(e){return Ie(e)&&!e.shiftKey},Qr=function(e){return Ie(e)&&e.shiftKey},qt=function(e){return setTimeout(e,0)},Le=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a1&&arguments[1]!==void 0?arguments[1]:{},k=g.hasFallback,R=k===void 0?!1:k,b=g.params,A=b===void 0?[]:b,E=s[m];if(typeof E=="function"&&(E=E.apply(void 0,Ur(A))),E===!0&&(E=void 0),!E){if(E===void 0||E===!1)return E;throw new Error("`".concat(m,"` was specified but was not a node, or did not return a node"))}var O=E;if(typeof E=="string"){try{O=r.querySelector(E)}catch(B){throw new Error("`".concat(m,'` appears to be an invalid selector; error="').concat(B.message,'"'))}if(!O&&!R)throw new Error("`".concat(m,"` as selector refers to no known node"))}return O},l=function(){var m=d("initialFocus",{hasFallback:!0});if(m===!1)return!1;if(m===void 0||m&&!at(m,s.tabbableOptions))if(u(r.activeElement)>=0)m=r.activeElement;else{var g=i.tabbableGroups[0],k=g&&g.firstTabbableNode;m=k||d("fallbackFocus")}else m===null&&(m=d("fallbackFocus"));if(!m)throw new Error("Your focus-trap needs to have at least one focusable element");return m},f=function(){if(i.containerGroups=i.containers.map(function(m){var g=jr(m,s.tabbableOptions),k=Vr(m,s.tabbableOptions),R=g.length>0?g[0]:void 0,b=g.length>0?g[g.length-1]:void 0,A=k.find(function(B){return Ce(B)}),E=k.slice().reverse().find(function(B){return Ce(B)}),O=!!g.find(function(B){return ye(B)>0});return{container:m,tabbableNodes:g,focusableNodes:k,posTabIndexesFound:O,firstTabbableNode:R,lastTabbableNode:b,firstDomTabbableNode:A,lastDomTabbableNode:E,nextTabbableNode:function(M){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Y=g.indexOf(M);return Y<0?G?k.slice(k.indexOf(M)+1).find(function(Z){return Ce(Z)}):k.slice(0,k.indexOf(M)).reverse().find(function(Z){return Ce(Z)}):g[Y+(G?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(m){return m.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(m){return m.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function(m){var g=m.activeElement;if(g)return g.shadowRoot&&g.shadowRoot.activeElement!==null?h(g.shadowRoot):g},p=function(m){if(m!==!1&&m!==h(document)){if(!m||!m.focus){p(l());return}m.focus({preventScroll:!!s.preventScroll}),i.mostRecentlyFocusedNode=m,Xr(m)&&m.select()}},S=function(m){var g=d("setReturnFocus",{params:[m]});return g||(g===!1?!1:m)},w=function(m){var g=m.target,k=m.event,R=m.isBackward,b=R===void 0?!1:R;g=g||je(k),f();var A=null;if(i.tabbableGroups.length>0){var E=u(g,k),O=E>=0?i.containerGroups[E]:void 0;if(E<0)b?A=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:A=i.tabbableGroups[0].firstTabbableNode;else if(b){var B=i.tabbableGroups.findIndex(function(nt){var rt=nt.firstTabbableNode;return g===rt});if(B<0&&(O.container===g||at(g,s.tabbableOptions)&&!Ce(g,s.tabbableOptions)&&!O.nextTabbableNode(g,!1))&&(B=E),B>=0){var M=B===0?i.tabbableGroups.length-1:B-1,G=i.tabbableGroups[M];A=ye(g)>=0?G.lastTabbableNode:G.lastDomTabbableNode}else Ie(k)||(A=O.nextTabbableNode(g,!1))}else{var Y=i.tabbableGroups.findIndex(function(nt){var rt=nt.lastTabbableNode;return g===rt});if(Y<0&&(O.container===g||at(g,s.tabbableOptions)&&!Ce(g,s.tabbableOptions)&&!O.nextTabbableNode(g))&&(Y=E),Y>=0){var Z=Y===i.tabbableGroups.length-1?0:Y+1,he=i.tabbableGroups[Z];A=ye(g)>=0?he.firstTabbableNode:he.firstDomTabbableNode}else Ie(k)||(A=O.nextTabbableNode(g))}}else A=d("fallbackFocus");return A},C=function(m){var g=je(m);if(!(u(g,m)>=0)){if(Le(s.clickOutsideDeactivates,m)){o.deactivate({returnFocus:s.returnFocusOnDeactivate});return}Le(s.allowOutsideClick,m)||m.preventDefault()}},T=function(m){var g=je(m),k=u(g,m)>=0;if(k||g instanceof Document)k&&(i.mostRecentlyFocusedNode=g);else{m.stopImmediatePropagation();var R,b=!0;if(i.mostRecentlyFocusedNode)if(ye(i.mostRecentlyFocusedNode)>0){var A=u(i.mostRecentlyFocusedNode),E=i.containerGroups[A].tabbableNodes;if(E.length>0){var O=E.findIndex(function(B){return B===i.mostRecentlyFocusedNode});O>=0&&(s.isKeyForward(i.recentNavEvent)?O+1=0&&(R=E[O-1],b=!1))}}else i.containerGroups.some(function(B){return B.tabbableNodes.some(function(M){return ye(M)>0})})||(b=!1);else b=!1;b&&(R=w({target:i.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(i.recentNavEvent)})),p(R||i.mostRecentlyFocusedNode||l())}i.recentNavEvent=void 0},y=function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=m;var k=w({event:m,isBackward:g});k&&(Ie(m)&&m.preventDefault(),p(k))},x=function(m){(s.isKeyForward(m)||s.isKeyBackward(m))&&y(m,s.isKeyBackward(m))},P=function(m){Gr(m)&&Le(s.escapeDeactivates,m)!==!1&&(m.preventDefault(),o.deactivate())},D=function(m){var g=je(m);u(g,m)>=0||Le(s.clickOutsideDeactivates,m)||Le(s.allowOutsideClick,m)||(m.preventDefault(),m.stopImmediatePropagation())},N=function(){if(i.active)return le.activateTrap(a,o),i.delayInitialFocusTimer=s.delayInitialFocus?qt(function(){p(l())}):p(l()),r.addEventListener("focusin",T,!0),r.addEventListener("mousedown",C,{capture:!0,passive:!1}),r.addEventListener("touchstart",C,{capture:!0,passive:!1}),r.addEventListener("click",D,{capture:!0,passive:!1}),r.addEventListener("keydown",x,{capture:!0,passive:!1}),r.addEventListener("keydown",P),o},K=function(m){i.active&&!i.paused&&o._setSubtreeIsolation(!1),i.adjacentElements.clear(),i.alreadySilent.clear();var g=new Set,k=new Set,R=Vt(m),b;try{for(R.s();!(b=R.n()).done;){var A=b.value;g.add(A);for(var E=typeof ShadowRoot<"u"&&A.getRootNode()instanceof ShadowRoot,O=A;O;){g.add(O);var B=O.parentElement,M=[];B?M=B.children:!B&&E&&(M=O.getRootNode().children,B=O.getRootNode().host,E=typeof ShadowRoot<"u"&&B.getRootNode()instanceof ShadowRoot);var G=Vt(M),Y;try{for(G.s();!(Y=G.n()).done;){var Z=Y.value;k.add(Z)}}catch(he){G.e(he)}finally{G.f()}O=B}}}catch(he){R.e(he)}finally{R.f()}g.forEach(function(he){k.delete(he)}),i.adjacentElements=k},I=function(){if(i.active)return r.removeEventListener("focusin",T,!0),r.removeEventListener("mousedown",C,!0),r.removeEventListener("touchstart",C,!0),r.removeEventListener("click",D,!0),r.removeEventListener("keydown",x,!0),r.removeEventListener("keydown",P),o},$=function(m){var g=m.some(function(k){var R=Array.from(k.removedNodes);return R.some(function(b){return b===i.mostRecentlyFocusedNode})});g&&p(l())},_=typeof window<"u"&&"MutationObserver"in window?new MutationObserver($):void 0,z=function(){_&&(_.disconnect(),i.active&&!i.paused&&i.containers.map(function(m){_.observe(m,{subtree:!0,childList:!0})}))};return o={get active(){return i.active},get paused(){return i.paused},activate:function(m){if(i.active)return this;var g=c(m,"onActivate"),k=c(m,"onPostActivate"),R=c(m,"checkCanFocusTrap"),b=le.getActiveTrap(a),A=!1;if(b&&!b.paused){var E;(E=b._setSubtreeIsolation)===null||E===void 0||E.call(b,!1),A=!0}try{R||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=h(r),g?.();var O=function(){R&&f(),N(),z(),s.isolateSubtrees&&o._setSubtreeIsolation(!0),k?.()};if(R)return R(i.containers.concat()).then(O,O),this;O()}catch(M){if(b===le.getActiveTrap(a)&&A){var B;(B=b._setSubtreeIsolation)===null||B===void 0||B.call(b,!0)}throw M}return this},deactivate:function(m){if(!i.active)return this;var g=Wt({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},m);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,i.paused||o._setSubtreeIsolation(!1),i.alreadySilent.clear(),I(),i.active=!1,i.paused=!1,z(),le.deactivateTrap(a,o);var k=c(g,"onDeactivate"),R=c(g,"onPostDeactivate"),b=c(g,"checkCanReturnFocus"),A=c(g,"returnFocus","returnFocusOnDeactivate");k?.();var E=function(){qt(function(){A&&p(S(i.nodeFocusedBeforeActivation)),R?.()})};return A&&b?(b(S(i.nodeFocusedBeforeActivation)).then(E,E),this):(E(),this)},pause:function(m){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,m)):this},unpause:function(m){return i.active?(i.manuallyPaused=!1,a[a.length-1]!==this?this:this._setPausedState(!1,m)):this},updateContainerElements:function(m){var g=[].concat(m).filter(Boolean);return i.containers=g.map(function(k){return typeof k=="string"?r.querySelector(k):k}),s.isolateSubtrees&&K(i.containers),i.active&&(f(),s.isolateSubtrees&&!i.paused&&o._setSubtreeIsolation(!0)),z(),this}},Object.defineProperties(o,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(m,g){if(i.paused===m)return this;if(i.paused=m,m){var k=c(g,"onPause"),R=c(g,"onPostPause");k?.(),I(),z(),o._setSubtreeIsolation(!1),R?.()}else{var b=c(g,"onUnpause"),A=c(g,"onPostUnpause");b?.(),o._setSubtreeIsolation(!0),f(),N(),z(),A?.()}return this}},_setSubtreeIsolation:{value:function(m){s.isolateSubtrees&&i.adjacentElements.forEach(function(g){var k;m?s.isolateSubtrees==="aria-hidden"?((g.ariaHidden==="true"||((k=g.getAttribute("aria-hidden"))===null||k===void 0?void 0:k.toLowerCase())==="true")&&i.alreadySilent.add(g),g.setAttribute("aria-hidden","true")):((g.inert||g.hasAttribute("inert"))&&i.alreadySilent.add(g),g.setAttribute("inert",!0)):i.alreadySilent.has(g)||(s.isolateSubtrees==="aria-hidden"?g.removeAttribute("aria-hidden"):g.removeAttribute("inert"))})}}}),o.updateContainerElements(e),o};const ti={escapeDeactivates:{type:Boolean,default:!0},returnFocusOnDeactivate:{type:Boolean,default:!0},allowOutsideClick:{type:[Boolean,Function],default:!0},clickOutsideDeactivates:[Boolean,Function],initialFocus:[String,Function,Boolean],fallbackFocus:[String,Function],checkCanFocusTrap:Function,checkCanReturnFocus:Function,delayInitialFocus:{type:Boolean,default:!0},document:Object,preventScroll:Boolean,setReturnFocus:[Object,String,Boolean,Function],tabbableOptions:Object},ni=oe({name:"FocusTrap",props:Object.assign({active:{type:Boolean,default:!0}},ti),emits:["update:active","activate","postActivate","deactivate","postDeactivate"],render(){return this.renderImpl()},setup(t,{slots:e,emit:n}){let r;const a=ne(null),s=j(()=>{const o=a.value;return o&&(o instanceof HTMLElement?o:o.$el)});function i(){return r||(r=ei(s.value,{escapeDeactivates:t.escapeDeactivates,allowOutsideClick:t.allowOutsideClick,returnFocusOnDeactivate:t.returnFocusOnDeactivate,clickOutsideDeactivates:t.clickOutsideDeactivates,onActivate:()=>{n("update:active",!0),n("activate")},onDeactivate:()=>{n("update:active",!1),n("deactivate")},onPostActivate:()=>n("postActivate"),onPostDeactivate:()=>n("postDeactivate"),initialFocus:t.initialFocus,fallbackFocus:t.fallbackFocus,tabbableOptions:t.tabbableOptions,delayInitialFocus:t.delayInitialFocus,preventScroll:t.preventScroll}))}return St(()=>{xe(()=>t.active,o=>{o&&s.value?i().activate():r&&(r.deactivate(),(!s.value||s.value.nodeType===Node.COMMENT_NODE)&&(r=null))},{immediate:!0,flush:"post"})}),wt(()=>{r&&r.deactivate(),r=null}),{activate(){i().activate()},deactivate(){r&&r.deactivate()},renderImpl(){if(!e.default)return null;const o=e.default().filter(u=>u.type!==Hn);return!o||!o.length||o.length>1?(console.error("[focus-trap-vue]: FocusTrap requires exactly one child."),o):Wn(o[0],{ref:a})}}}}),ri=["open"],ii=["id"],ai=oe({__name:"OcBottomDrawer",props:{id:{},isDrawerActive:{type:Boolean,default:!0},isFocusTrapActive:{type:Boolean,default:!0},hasFullHeight:{type:Boolean,default:!1},maxHeight:{default:"max-h-[66vh]"}},emits:["clicked"],setup(t){return xe(()=>t.isDrawerActive,async()=>{t.isDrawerActive&&(await Ee(),document.getElementById(t.id)?.classList.add("active"))},{immediate:!0}),(e,n)=>(F(),H("dialog",{class:"oc-bottom-drawer fixed inset-0 bg-black/40 size-full",open:t.isDrawerActive,onClick:n[0]||(n[0]=r=>e.$emit("clicked",r))},[U(v(ni),{active:t.isFocusTrapActive},{default:V(()=>[X("div",{id:t.id,tabindex:"-1",class:ue(["fixed inset-x-0 rounded-t-xl w-full overflow-y-auto transition-all duration-200 -bottom-full overflow-x-hidden",[{"[&.active]:bottom-0":t.isDrawerActive,"h-full":t.hasFullHeight},t.maxHeight]])},[J(e.$slots,"default",{},void 0,!0)],10,ii)]),_:3},8,["active"])],8,ri))}}),si=Tt(ai,[["__scopeId","data-v-df74be93"]]),Ae=Math.min,te=Math.max,Ke=Math.round,se=t=>({x:t,y:t}),oi={left:"right",right:"left",bottom:"top",top:"bottom"};function ft(t,e,n){return te(t,Ae(e,n))}function Pe(t,e){return typeof t=="function"?t(e):t}function ve(t){return t.split("-")[0]}function Oe(t){return t.split("-")[1]}function bn(t){return t==="x"?"y":"x"}function At(t){return t==="y"?"height":"width"}function ce(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function Ct(t){return bn(ce(t))}function li(t,e,n){n===void 0&&(n=!1);const r=Oe(t),a=Ct(t),s=At(a);let i=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(i=Ye(i)),[i,Ye(i)]}function ci(t){const e=Ye(t);return[ht(t),e,ht(e)]}function ht(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const zt=["left","right"],_t=["right","left"],ui=["top","bottom"],di=["bottom","top"];function fi(t,e,n){switch(t){case"top":case"bottom":return n?e?_t:zt:e?zt:_t;case"left":case"right":return e?ui:di;default:return[]}}function hi(t,e,n,r){const a=Oe(t);let s=fi(ve(t),n==="start",r);return a&&(s=s.map(i=>i+"-"+a),e&&(s=s.concat(s.map(ht)))),s}function Ye(t){const e=ve(t);return oi[e]+t.slice(e.length)}function mi(t){return{top:0,right:0,bottom:0,left:0,...t}}function gn(t){return typeof t!="number"?mi(t):{top:t,right:t,bottom:t,left:t}}function Xe(t){const{x:e,y:n,width:r,height:a}=t;return{width:r,height:a,top:n,left:e,right:e+r,bottom:n+a,x:e,y:n}}function Ut(t,e,n){let{reference:r,floating:a}=t;const s=ce(e),i=Ct(e),o=At(i),c=ve(e),u=s==="y",d=r.x+r.width/2-a.width/2,l=r.y+r.height/2-a.height/2,f=r[o]/2-a[o]/2;let h;switch(c){case"top":h={x:d,y:r.y-a.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:l};break;case"left":h={x:r.x-a.width,y:l};break;default:h={x:r.x,y:r.y}}switch(Oe(e)){case"start":h[i]-=f*(n&&u?-1:1);break;case"end":h[i]+=f*(n&&u?-1:1);break}return h}async function vi(t,e){var n;e===void 0&&(e={});const{x:r,y:a,platform:s,rects:i,elements:o,strategy:c}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:l="floating",altBoundary:f=!1,padding:h=0}=Pe(e,t),p=gn(h),w=o[f?l==="floating"?"reference":"floating":l],C=Xe(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(o.floating)),boundary:u,rootBoundary:d,strategy:c})),T=l==="floating"?{x:r,y:a,width:i.floating.width,height:i.floating.height}:i.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(o.floating)),x=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},P=Xe(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:T,offsetParent:y,strategy:c}):T);return{top:(C.top-P.top+p.top)/x.y,bottom:(P.bottom-C.bottom+p.bottom)/x.y,left:(C.left-P.left+p.left)/x.x,right:(P.right-C.right+p.right)/x.x}}const pi=50,bi=async(t,e,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:s=[],platform:i}=n,o=i.detectOverflow?i:{...i,detectOverflow:vi},c=await(i.isRTL==null?void 0:i.isRTL(e));let u=await i.getElementRects({reference:t,floating:e,strategy:a}),{x:d,y:l}=Ut(u,r,c),f=r,h=0;const p={};for(let S=0;S({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:a,rects:s,platform:i,elements:o,middlewareData:c}=e,{element:u,padding:d=0}=Pe(t,e)||{};if(u==null)return{};const l=gn(d),f={x:n,y:r},h=Ct(a),p=At(h),S=await i.getDimensions(u),w=h==="y",C=w?"top":"left",T=w?"bottom":"right",y=w?"clientHeight":"clientWidth",x=s.reference[p]+s.reference[h]-f[h]-s.floating[p],P=f[h]-s.reference[h],D=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let N=D?D[y]:0;(!N||!await(i.isElement==null?void 0:i.isElement(D)))&&(N=o.floating[y]||s.floating[p]);const K=x/2-P/2,I=N/2-S[p]/2-1,$=Ae(l[C],I),_=Ae(l[T],I),z=$,L=N-S[p]-_,m=N/2-S[p]/2+K,g=ft(z,m,L),k=!c.arrow&&Oe(a)!=null&&m!==g&&s.reference[p]/2-(mm<=0)){var _,z;const m=(((_=s.flip)==null?void 0:_.index)||0)+1,g=N[m];if(g&&(!(l==="alignment"?T!==ce(g):!1)||$.every(b=>ce(b.placement)===T?b.overflows[0]>0:!0)))return{data:{index:m,overflows:$},reset:{placement:g}};let k=(z=$.filter(R=>R.overflows[0]<=0).sort((R,b)=>R.overflows[1]-b.overflows[1])[0])==null?void 0:z.placement;if(!k)switch(h){case"bestFit":{var L;const R=(L=$.filter(b=>{if(D){const A=ce(b.placement);return A===T||A==="y"}return!0}).map(b=>[b.placement,b.overflows.filter(A=>A>0).reduce((A,E)=>A+E,0)]).sort((b,A)=>b[1]-A[1])[0])==null?void 0:L[0];R&&(k=R);break}case"initialPlacement":k=o;break}if(a!==k)return{reset:{placement:k}}}return{}}}},wi=new Set(["left","top"]);async function Si(t,e){const{placement:n,platform:r,elements:a}=t,s=await(r.isRTL==null?void 0:r.isRTL(a.floating)),i=ve(n),o=Oe(n),c=ce(n)==="y",u=wi.has(i)?-1:1,d=s&&c?-1:1,l=Pe(e,t);let{mainAxis:f,crossAxis:h,alignmentAxis:p}=typeof l=="number"?{mainAxis:l,crossAxis:0,alignmentAxis:null}:{mainAxis:l.mainAxis||0,crossAxis:l.crossAxis||0,alignmentAxis:l.alignmentAxis};return o&&typeof p=="number"&&(h=o==="end"?p*-1:p),c?{x:h*d,y:f*u}:{x:f*u,y:h*d}}const xi=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:a,y:s,placement:i,middlewareData:o}=e,c=await Si(e,t);return i===((n=o.offset)==null?void 0:n.placement)&&(r=o.arrow)!=null&&r.alignmentOffset?{}:{x:a+c.x,y:s+c.y,data:{...c,placement:i}}}}},Ti=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:a,platform:s}=e,{mainAxis:i=!0,crossAxis:o=!1,limiter:c={fn:C=>{let{x:T,y}=C;return{x:T,y}}},...u}=Pe(t,e),d={x:n,y:r},l=await s.detectOverflow(e,u),f=ce(ve(a)),h=bn(f);let p=d[h],S=d[f];if(i){const C=h==="y"?"top":"left",T=h==="y"?"bottom":"right",y=p+l[C],x=p-l[T];p=ft(y,p,x)}if(o){const C=f==="y"?"top":"left",T=f==="y"?"bottom":"right",y=S+l[C],x=S-l[T];S=ft(y,S,x)}const w=c.fn({...e,[h]:p,[f]:S});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[h]:i,[f]:o}}}}}},ki=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:a,rects:s,platform:i,elements:o}=e,{apply:c=()=>{},...u}=Pe(t,e),d=await i.detectOverflow(e,u),l=ve(a),f=Oe(a),h=ce(a)==="y",{width:p,height:S}=s.floating;let w,C;l==="top"||l==="bottom"?(w=l,C=f===(await(i.isRTL==null?void 0:i.isRTL(o.floating))?"start":"end")?"left":"right"):(C=l,w=f==="end"?"top":"bottom");const T=S-d.top-d.bottom,y=p-d.left-d.right,x=Ae(S-d[w],T),P=Ae(p-d[C],y),D=!e.middlewareData.shift;let N=x,K=P;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(K=y),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(N=T),D&&!f){const $=te(d.left,0),_=te(d.right,0),z=te(d.top,0),L=te(d.bottom,0);h?K=p-2*($!==0||_!==0?$+_:te(d.left,d.right)):N=S-2*(z!==0||L!==0?z+L:te(d.top,d.bottom))}await c({...e,availableWidth:K,availableHeight:N});const I=await i.getDimensions(o.floating);return p!==I.width||S!==I.height?{reset:{rects:!0}}:{}}}};function Qe(){return typeof window<"u"}function Fe(t){return yn(t)?(t.nodeName||"").toLowerCase():"#document"}function ee(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function de(t){var e;return(e=(yn(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function yn(t){return Qe()?t instanceof Node||t instanceof ee(t).Node:!1}function ie(t){return Qe()?t instanceof Element||t instanceof ee(t).Element:!1}function fe(t){return Qe()?t instanceof HTMLElement||t instanceof ee(t).HTMLElement:!1}function Kt(t){return!Qe()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ee(t).ShadowRoot}function Me(t){const{overflow:e,overflowX:n,overflowY:r,display:a}=ae(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&a!=="inline"&&a!=="contents"}function Ai(t){return/^(table|td|th)$/.test(Fe(t))}function Je(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const Ci=/transform|translate|scale|rotate|perspective|filter/,Ei=/paint|layout|strict|content/,ge=t=>!!t&&t!=="none";let st;function Et(t){const e=ie(t)?ae(t):t;return ge(e.transform)||ge(e.translate)||ge(e.scale)||ge(e.rotate)||ge(e.perspective)||!Rt()&&(ge(e.backdropFilter)||ge(e.filter))||Ci.test(e.willChange||"")||Ei.test(e.contain||"")}function Ri(t){let e=pe(t);for(;fe(e)&&!De(e);){if(Et(e))return e;if(Je(e))return null;e=pe(e)}return null}function Rt(){return st==null&&(st=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),st}function De(t){return/^(html|body|#document)$/.test(Fe(t))}function ae(t){return ee(t).getComputedStyle(t)}function et(t){return ie(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function pe(t){if(Fe(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Kt(t)&&t.host||de(t);return Kt(e)?e.host:e}function wn(t){const e=pe(t);return De(e)?t.ownerDocument?t.ownerDocument.body:t.body:fe(e)&&Me(e)?e:wn(e)}function Sn(t,e,n){var r;e===void 0&&(e=[]);const a=wn(t),s=a===((r=t.ownerDocument)==null?void 0:r.body),i=ee(a);return s?(mt(i),e.concat(i,i.visualViewport||[],Me(a)?a:[],[])):e.concat(a,Sn(a,[]))}function mt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function xn(t){const e=ae(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const a=fe(t),s=a?t.offsetWidth:n,i=a?t.offsetHeight:r,o=Ke(n)!==s||Ke(r)!==i;return o&&(n=s,r=i),{width:n,height:r,$:o}}function Tn(t){return ie(t)?t:t.contextElement}function Re(t){const e=Tn(t);if(!fe(e))return se(1);const n=e.getBoundingClientRect(),{width:r,height:a,$:s}=xn(e);let i=(s?Ke(n.width):n.width)/r,o=(s?Ke(n.height):n.height)/a;return(!i||!Number.isFinite(i))&&(i=1),(!o||!Number.isFinite(o))&&(o=1),{x:i,y:o}}const Di=se(0);function kn(t){const e=ee(t);return!Rt()||!e.visualViewport?Di:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Pi(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==ee(t)?!1:e}function $e(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),s=Tn(t);let i=se(1);e&&(r?ie(r)&&(i=Re(r)):i=Re(t));const o=Pi(s,n,r)?kn(s):se(0);let c=(a.left+o.x)/i.x,u=(a.top+o.y)/i.y,d=a.width/i.x,l=a.height/i.y;if(s){const f=ee(s),h=r&&ie(r)?ee(r):r;let p=f,S=mt(p);for(;S&&r&&h!==p;){const w=Re(S),C=S.getBoundingClientRect(),T=ae(S),y=C.left+(S.clientLeft+parseFloat(T.paddingLeft))*w.x,x=C.top+(S.clientTop+parseFloat(T.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,l*=w.y,c+=y,u+=x,p=ee(S),S=mt(p)}}return Xe({width:d,height:l,x:c,y:u})}function tt(t,e){const n=et(t).scrollLeft;return e?e.left+n:$e(de(t)).left+n}function An(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-tt(t,n),a=n.top+e.scrollTop;return{x:r,y:a}}function Oi(t){let{elements:e,rect:n,offsetParent:r,strategy:a}=t;const s=a==="fixed",i=de(r),o=e?Je(e.floating):!1;if(r===i||o&&s)return n;let c={scrollLeft:0,scrollTop:0},u=se(1);const d=se(0),l=fe(r);if((l||!l&&!s)&&((Fe(r)!=="body"||Me(i))&&(c=et(r)),l)){const h=$e(r);u=Re(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}const f=i&&!l&&!s?An(i,c):se(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+f.x,y:n.y*u.y-c.scrollTop*u.y+d.y+f.y}}function Fi(t){return Array.from(t.getClientRects())}function Li(t){const e=de(t),n=et(t),r=t.ownerDocument.body,a=te(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),s=te(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+tt(t);const o=-n.scrollTop;return ae(r).direction==="rtl"&&(i+=te(e.clientWidth,r.clientWidth)-a),{width:a,height:s,x:i,y:o}}const Yt=25;function Ii(t,e){const n=ee(t),r=de(t),a=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,o=0,c=0;if(a){s=a.width,i=a.height;const d=Rt();(!d||d&&e==="fixed")&&(o=a.offsetLeft,c=a.offsetTop)}const u=tt(r);if(u<=0){const d=r.ownerDocument,l=d.body,f=getComputedStyle(l),h=d.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,p=Math.abs(r.clientWidth-l.clientWidth-h);p<=Yt&&(s-=p)}else u<=Yt&&(s+=u);return{width:s,height:i,x:o,y:c}}function Ni(t,e){const n=$e(t,!0,e==="fixed"),r=n.top+t.clientTop,a=n.left+t.clientLeft,s=fe(t)?Re(t):se(1),i=t.clientWidth*s.x,o=t.clientHeight*s.y,c=a*s.x,u=r*s.y;return{width:i,height:o,x:c,y:u}}function Xt(t,e,n){let r;if(e==="viewport")r=Ii(t,n);else if(e==="document")r=Li(de(t));else if(ie(e))r=Ni(e,n);else{const a=kn(t);r={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return Xe(r)}function Cn(t,e){const n=pe(t);return n===e||!ie(n)||De(n)?!1:ae(n).position==="fixed"||Cn(n,e)}function $i(t,e){const n=e.get(t);if(n)return n;let r=Sn(t,[]).filter(o=>ie(o)&&Fe(o)!=="body"),a=null;const s=ae(t).position==="fixed";let i=s?pe(t):t;for(;ie(i)&&!De(i);){const o=ae(i),c=Et(i);!c&&o.position==="fixed"&&(a=null),(s?!c&&!a:!c&&o.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||Me(i)&&!c&&Cn(t,i))?r=r.filter(d=>d!==i):a=o,i=pe(i)}return e.set(t,r),r}function Bi(t){let{element:e,boundary:n,rootBoundary:r,strategy:a}=t;const i=[...n==="clippingAncestors"?Je(e)?[]:$i(e,this._c):[].concat(n),r],o=Xt(e,i[0],a);let c=o.top,u=o.right,d=o.bottom,l=o.left;for(let f=1;f{const r=new Map,a={platform:Wi,...n},s={...a.platform,_c:r};return bi(t,e,{...a,platform:s})},Yi=["src"],Rn=oe({__name:"OcCard",props:{tag:{default:"div"},title:{},titleTag:{default:"h2"},logoUrl:{default:""},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(t){const e=qn(),n=j(()=>Object.hasOwn(e,"header")||!!v(t.title)||!!v(t.logoUrl)),r=j(()=>Object.hasOwn(e,"footer"));return(a,s)=>(F(),q(Ve(t.tag),{class:"oc-card"},{default:V(()=>[n.value?(F(),H("div",{key:0,class:ue(["oc-card-header",t.headerClass])},[J(a.$slots,"header",{},()=>[t.logoUrl?(F(),H("img",{key:0,src:t.logoUrl,alt:"","aria-hidden":!0,class:"max-w-48 max-h-48 absolute -translate-y-16"},null,8,Yi)):Q("",!0),s[0]||(s[0]=W()),t.title?(F(),q(Ve(t.titleTag),{key:1,class:"mt-0"},{default:V(()=>[W(Te(t.title),1)]),_:1})):Q("",!0)])],2)):Q("",!0),s[1]||(s[1]=W()),X("div",{class:ue(["oc-card-body",t.bodyClass])},[J(a.$slots,"default")],2),s[2]||(s[2]=W()),r.value?(F(),H("div",{key:1,class:ue(["oc-card-footer",t.footerClass])},[J(a.$slots,"footer")],2)):Q("",!0)]),_:3}))}}),Xi=["textContent"],Gi=oe({__name:"OcMobileDrop",props:{drawerId:{},toggle:{},closeOnClick:{type:Boolean,default:!1},title:{default:""},registerClickHandler:{type:Boolean,default:!0}},emits:["show","hide"],setup(t,{expose:e,emit:n}){const r=n,{$gettext:a}=Ge(),s=wr(),{showDrawer:i,closeDrawer:o,closeAllDrawers:c}=s,{drawers:u,currentDrawer:d}=yt(s),l=ne(null),f=ct("bottomDrawerCardBodyRef"),h=j(()=>v(u).map(({id:y})=>y).includes(v(l)?.id)),p=j(()=>v(l)?.id&&v(d)?.id===v(l).id),S=async()=>{l.value=i(),r("show"),await Ee(),v(f)?.addEventListener("click",C)},w=()=>{o(v(l)?.id),v(f)?.removeEventListener("click",C),r("hide")},C=y=>{const x=y.target.closest("a[href], button");if(x){if(x.hasAttribute("aria-expanded")){x.setAttribute("aria-expanded","true");return}t.closeOnClick&&(w(),c())}},T=y=>{y.target===y.currentTarget&&c()};return zn("Escape",y=>{y.preventDefault(),c()}),St(()=>{!v(t.toggle)||!t.registerClickHandler||document.querySelector(t.toggle)?.addEventListener("click",S)}),nn(()=>{t.registerClickHandler&&document.querySelector(t.toggle)?.removeEventListener("click",S),v(l)&&o(v(l).id)}),e({show:S,hide:w}),(y,x)=>{const P=re("oc-icon");return h.value?(F(),q(xt,{key:0,to:"#app-runtime-bottom-drawer"},[U(si,{id:t.drawerId,"is-drawer-active":p.value,"is-focus-trap-active":p.value,class:"oc-mobile-drop z-[calc(var(--z-index-modal)+2)]",onClicked:T},{default:V(()=>[U(Rn,{class:"bg-role-surface-container-high overflow-x-hidden rounded-b-none","header-class":"flex flex-row justify-between items-center"},{header:V(()=>[v(u).length>1?(F(),q(It,{key:0,appearance:"raw",class:"raw-hover-surface oc-bottom-drawer-back-button","aria-label":v(a)("Open the parent context menu"),onClick:x[0]||(x[0]=D=>w())},{default:V(()=>[U(P,{name:"arrow-left","fill-type":"line"})]),_:1},8,["aria-label"])):Q("",!0),x[2]||(x[2]=W()),X("span",{class:"font-semibold",textContent:Te(t.title)},null,8,Xi),x[3]||(x[3]=W()),U(It,{appearance:"raw",class:"raw-hover-surface oc-bottom-drawer-close-button","aria-label":v(a)("Close the context menu"),onClick:x[1]||(x[1]=D=>v(c)())},{default:V(()=>[U(P,{name:"close","fill-type":"line"})]),_:1},8,["aria-label"])]),default:V(()=>[x[4]||(x[4]=W()),X("div",{ref_key:"bottomDrawerCardBodyRef",ref:f},[J(y.$slots,"default")],512)]),_:3})]),_:3},8,["id","is-drawer-active","is-focus-trap-active"])])):Q("",!0)}}}),Zi=()=>{const t=[];return{registerEventListener:(r,a,s,i,o)=>{r.addEventListener(a,s,o),t.push({target:r,type:a,handler:s,options:o,category:i})},unregisterEventListeners:r=>{if(!r){t.forEach(({target:s,type:i,handler:o,options:c})=>{s.removeEventListener(i,o,c)}),t.length=0;return}t.filter(s=>r.includes(s.category)).forEach(({target:s,type:i,handler:o,options:c})=>{s.removeEventListener(i,o,c)}),t.splice(0,t.length,...t.filter(s=>!r.includes(s.category)))}}},Zt=t=>Array.from(t.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(e=>!e.closest("[hidden]")),Qi=["id"],Ji=oe({__name:"OcDrop",props:{title:{default:""},closeOnClick:{type:Boolean,default:!1},dropId:{default:()=>He("oc-drop-")},mode:{default:"click"},offset:{default:5},paddingSize:{default:"medium"},position:{default:"bottom-start"},toggle:{default:""},enforceDropOnMobile:{type:Boolean,default:!1},teleport:{default:""},isMenu:{type:Boolean,default:!0}},emits:["hideDrop","showDrop"],setup(t,{expose:e,emit:n}){const r=n,a=rn(),{registerEventListener:s,unregisterEventListeners:i}=Zi(),{isMobile:o}=ln(),c=ne(!1),u=j(()=>v(o)&&!t.enforceDropOnMobile),d=ct("bottomDrawerRef"),l=ct("drop"),f=j(()=>t.toggle?document.querySelector(t.toggle):null);e({show:async({event:b,useMouseAnchor:A,noFocus:E=!1}={})=>{if(v(u)){v(d).show();return}v(c)||(C({event:b,useMouseAnchor:A}),E||(await Ee(),v(l).focus()))},hide:()=>{if(v(u)){v(d).hide();return}T()}});const S=b=>{const A=b.target.closest(".oc-button")?.hasAttribute("aria-expanded");t.closeOnClick&&!A&&T()},w=()=>new Promise(b=>requestAnimationFrame(b)),C=async({event:b,useMouseAnchor:A}={})=>{if(v(c)){T();return}let E=v(f);if(A){const M=b;E={getBoundingClientRect(){return{width:0,height:0,x:M.clientX,y:M.clientY,top:M.clientY,left:M.clientX,right:M.clientX,bottom:M.clientY}}}}if(c.value=!0,await Ee(),!E){console.warn("OcDrop cannot be opened: anchor element not found");return}if(await w(),t.isMenu){const M=v(l)?.getElementsByTagName("ul");Array.from(M||[]).forEach(Z=>Z.setAttribute("role","menu"));const G=v(l)?.querySelectorAll("ul li");Array.from(G||[]).forEach(Z=>Z.setAttribute("role","none"));const Y=v(l)?.querySelectorAll("ul li button, ul li a");Array.from(Y||[]).forEach(Z=>{Z.setAttribute("role","menuitem"),Z.setAttribute("tabindex","-1")})}const{x:O,y:B}=await Ki(E,v(l),{placement:t.position,middleware:[qi(t.offset),_i(),zi({padding:5}),Ui({apply({availableWidth:M,availableHeight:G,elements:Y}){Object.assign(Y.floating.style,{maxWidth:`${Math.min(400,M-10)}px`,maxHeight:`${Math.max(0,G-10)}px`})}})]});Object.assign(v(l).style,{left:`${O}px`,top:`${B}px`}),v(f)?.setAttribute("aria-expanded","true"),r("showDrop"),s(document,"click",D,"document",{capture:!0}),s(document,"contextmenu",D,"document",{capture:!0}),s(v(l),"keydown",N,"drop"),t.isMenu||s(v(l),"focusout",P,"drop"),t.mode==="hover"&&(s(v(l),"mouseenter",_,"drop"),s(v(l),"mouseleave",z,"drop"))},T=()=>{i(["drop","document"]),c.value=!1,v(f)?.setAttribute("aria-expanded","false"),r("hideDrop")},y=b=>b instanceof FocusEvent,x=b=>b instanceof KeyboardEvent,P=b=>{if(!y(b))return;b.relatedTarget&&!v(l)?.contains(b.relatedTarget)&&T()},D=async b=>{const A=b.target;if(v(l)&&!v(l).contains(A)){const O=v(f);O&&O.contains(A)||(await w(),T())}},N=b=>{if(x(b)){if(["ArrowLeft","ArrowRight"].includes(b.code)){t.mode==="hover"&&(T(),v(f)?.focus());return}if(b.code==="Escape"){b.stopPropagation(),T(),v(f)?.focus();return}if(b.code==="Space"&&b.target instanceof HTMLAnchorElement){b.target.click();return}if(t.isMenu){if(b.stopPropagation(),b.code==="Tab"){T();return}if(["ArrowDown","ArrowUp"].includes(b.code)){b.preventDefault();const A=Zt(v(l));if(!A.length)return;const E=A.indexOf(document.activeElement);if(b.code==="ArrowDown"){const O=E===-1||E===A.length-1?0:E+1;A[O].focus()}else if(b.code==="ArrowUp"){const O=E<=0?A.length-1:E-1;A[O].focus()}}}}},K=async b=>{if(!x(b))return;const A=async()=>{C(),await Ee(),Zt(v(l))[0]?.focus()};if(b.code==="Enter"){b.preventDefault(),await A();return}t.mode==="hover"&&["ArrowLeft","ArrowRight","Space"].includes(b.code)&&(b.preventDefault(),await A())};let I=null;const $=()=>{I!==null&&(clearTimeout(I),I=null)},_=()=>{$()},z=()=>{I=setTimeout(T,100)},L=async b=>{C({event:b}),v(c)&&(await Ee(),v(l).focus())},m=b=>{$(),v(c)||C({event:b})},g=()=>{I=setTimeout(T,100)},k=()=>{const b=v(f);b&&(b.setAttribute("aria-haspopup","true"),b.setAttribute("aria-expanded","false"))},R=()=>{const b=v(f);if(!(!b||v(u)))switch(t.mode){case"click":s(b,"click",L,"anchor"),s(b,"keydown",K,"anchor");break;case"hover":s(b,"keydown",K,"anchor"),s(b,"mouseenter",m,"anchor"),s(b,"mouseleave",g,"anchor");break}};return xe(u,()=>{k(),v(u)?i():R()}),St(()=>{R(),k()}),nn(()=>{$(),i();const b=v(f);b?.removeAttribute("aria-expanded"),b?.removeAttribute("aria-haspopup")}),(b,A)=>u.value?(F(),q(Gi,{key:0,ref_key:"bottomDrawerRef",ref:d,"drawer-id":t.dropId,toggle:t.toggle,"close-on-click":t.closeOnClick,title:t.title,"register-click-handler":t.mode!=="manual",onShow:A[0]||(A[0]=E=>r("showDrop")),onHide:A[1]||(A[1]=E=>r("hideDrop"))},{default:V(()=>[J(b.$slots,"default")]),_:3},8,["drawer-id","toggle","close-on-click","title","register-click-handler"])):(F(),q(_n,{key:1,name:"oc-drop"},{default:V(()=>[(F(),q(xt,{disabled:!t.teleport,to:t.teleport?t.teleport:void 0},[c.value?(F(),H("div",{key:0,id:t.dropId,ref_key:"drop",ref:l,class:ue(["oc-drop shadow-sm/10 rounded-xl bg-role-surface border border-role-surface-container-highest",v(a)?.class]),tabindex:-1,onClick:S},[b.$slots.default?(F(),q(Rn,{key:0,"body-class":[v(Xn)(t.paddingSize)]},{default:V(()=>[J(b.$slots,"default")]),_:3},8,["body-class"])):J(b.$slots,"special",{key:1})],10,Qi)):Q("",!0)],8,["disabled","to"]))]),_:3}))}});class qa{static Thumbnail=[36,36];static Tile=[1e3,1e3];static Preview=[1200,1200];static Avatar=64}class za{static Thumbnail="thumbnail";static Preview="preview";static Avatar="avatar"}const _a=10,Ua=63,Qt=256,Ka=()=>{const{$gettext:t}=Ge(),e=Ne();return{isSpaceNameValid:a=>a.trim()===""?{isValid:!1,error:t("The Space name cannot be empty")}:Mt(a)>Qt?{isValid:!1,error:t("The Space name is too long")}:a.trim()!==a?{isValid:!1,error:t("The Space name cannot start or end with whitespace")}:/[/\\.:?*"><|]/.test(a)?{isValid:!1,error:t(`The Space name cannot contain the following characters: / \\\\ . : ? * " > < |'`)}:{isValid:!0,error:void 0},isFileNameValid:(a,s,i=void 0)=>{if(!s)return{isValid:!1,error:t("The name cannot be empty")};if(/[/]/.test(s))return{isValid:!1,error:t('The name cannot contain "/"')};if(/[\\]/.test(s))return{isValid:!1,error:t('The name cannot contain "\\"')};if(s===".")return{isValid:!1,error:t('The name cannot be equal to "."')};if(s==="..")return{isValid:!1,error:t('The name cannot be equal to ".."')};if(s.trim()!==s)return{isValid:!1,error:t("The name cannot start or end with whitespace")};if(Mt(s)>Qt)return{isValid:!1,error:t("The name is too long")};const o=a.path.substring(0,a.path.length-a.name.length)+s;if((i||e.resources).some(u=>u.path===o&&u.name===s)){const u=t("The name »%{name}« is already taken");return{isValid:!1,error:t(u,{name:s})}}return{isValid:!0,error:void 0}}}},ea={class:"context-menu px-2"},ta={class:"inline-flex gap-2"},na={class:"flex oc-files-context-action-label"},ra=["textContent"],ia=oe({__name:"ActionMenuDropItem",props:{menuSectionDrop:{},appearance:{},actionOptions:{}},setup(t){const e=He(`oc-files-context-actions-${t.menuSectionDrop.name}-drop-`),n=He(`oc-files-context-actions-${t.menuSectionDrop.name}-toggle-`);return(r,a)=>{const s=re("oc-icon"),i=re("oc-button"),o=re("oc-list");return F(),H("li",ea,[U(i,{id:v(n),appearance:"raw","justify-content":"space-between","gap-size":"medium",class:"w-full flex justify-between","aria-expanded":"false"},{default:V(()=>[X("span",ta,[U(s,{name:t.menuSectionDrop.icon,size:"medium","fill-type":"line"},null,8,["name"]),a[0]||(a[0]=W()),X("span",na,[X("span",{textContent:Te(t.menuSectionDrop.label)},null,8,ra)])]),a[1]||(a[1]=W()),U(s,{name:"arrow-right-s",size:"small","fill-type":"line"})]),_:1},8,["id"]),a[2]||(a[2]=W()),U(v(Ji),{title:t.menuSectionDrop.label,"drop-id":v(e),toggle:`#${v(n)}`,mode:"hover",class:"w-3xs oc-files-context-action-drop","padding-size":"small",teleport:"#app-runtime-drop",position:"right-start","close-on-click":""},{default:V(()=>[t.menuSectionDrop.items.length?(F(),q(o,{key:0},{default:V(()=>[(F(!0),H(me,null,we(t.menuSectionDrop.items,(c,u)=>(F(),q(cn,{key:`section-${t.menuSectionDrop.label}-action-${u}`,action:c,appearance:t.appearance,"action-options":t.actionOptions},null,8,["action","appearance","action-options"]))),128))]),_:1})):Q("",!0)]),_:1},8,["title","drop-id","toggle"])])}}}),aa=oe({name:"ContextActionMenu",components:{ActionMenuDropItem:ia,ActionMenuItem:cn},props:{menuSections:{type:Array,required:!0},appearance:{type:String,default:"raw"},actionOptions:{type:Object,required:!0}},methods:{getSectionClasses(t){const e=[];return this.menuSections.length&&(t0&&e.push("pt-2"),t(F(),q(c,{id:`oc-files-context-actions-${u.name}`,key:`section-${u.name}-list`,class:ue(["[&_li]:px-0",t.getSectionClasses(d)])},{default:V(()=>[u.items?(F(!0),H(me,{key:0},we(u.items,(l,f)=>(F(),q(i,{key:`section-${u.name}-action-${f}`,action:l,appearance:t.appearance,"action-options":t.actionOptions,class:"context-menu"},null,8,["action","appearance","action-options"]))),128)):Q("",!0),e[0]||(e[0]=W()),(F(!0),H(me,null,we(u.dropItems,l=>(F(),H(me,null,[l.items.length?(F(),q(o,{key:l.name,"menu-section-drop":l,appearance:t.appearance,"action-options":t.actionOptions},null,8,["menu-section-drop","appearance","action-options"])):Q("",!0)],64))),256))]),_:2},1032,["id","class"]))),128))])}const Ya=Tt(aa,[["render",oa]]),la=["id","data-testid","tabindex","inert"],ca={key:0,class:"sidebar-panel__header header grid grid-cols-[auto_1fr_auto] items-center pt-2 px-2"},ua={class:"col-start-2 text-center my-0 text-lg"},da={key:0,class:"mt-4"},fa=oe({__name:"SideBarPanels",props:{loading:{type:Boolean},availablePanels:{},panelContext:{},activePanel:{default:""}},emits:["selectPanel","close","closePanel"],setup(t,{emit:e}){const n=e,{$gettext:r}=Ge(),a=j(()=>t.availablePanels.filter(y=>y.isVisible(t.panelContext)&&y.isRoot?.(t.panelContext))),s=j(()=>t.availablePanels.filter(y=>y.isVisible(t.panelContext)&&!y.isRoot?.(t.panelContext))),i=j(()=>v(a).length?[v(a)[0],...v(s)]:v(s)),o=j(()=>{const y=t.activePanel?.split("#")[0];return!y||!v(s).map(x=>x.name).includes(y)?null:y}),c=j(()=>v(o)!==null),u=j(()=>v(o)===null),d=ne(null),l=y=>{d.value=y},f=j(()=>v(c)?v(o):v(a)[0].name),h=j(()=>v(a).length===1?r("Back to %{panel} panel",{panel:v(a)[0].title(t.panelContext)}):r("Back to main panels")),p=y=>{n("selectPanel",y)},S=()=>{n("selectPanel",null)},w=()=>{n("close")},C=y=>{l(v(f)),p(y)},T=()=>{l(v(f)),S(),n("closePanel")};return(y,x)=>{const P=re("oc-spinner"),D=re("oc-icon"),N=re("oc-button"),K=Un("oc-tooltip");return t.loading?(F(),q(P,{key:0,"aria-label":v(r)("Loading sidebar content")},null,8,["aria-label"])):(F(!0),H(me,{key:1},we(i.value,I=>(F(),H("div",{id:`sidebar-panel-${I.name}`,key:`panel-${I.name}`,"data-testid":`sidebar-panel-${I.name}`,tabindex:f.value===I.name?-1:null,class:ue(["sidebar-panel absolute top-0 grid grid-rows-[auto_auto_1fr] bg-role-surface w-full size-full max-w-full max-h-full motion-reduce:transition-none",{"is-root-panel transition-[right] duration-[0.4s,0s]":I.isRoot?.(t.panelContext),"is-active-sub-panel":c.value&&o.value===I.name,"is-active-root-panel transition-[right] duration-[0.4s,0s]":u.value&&I.isRoot?.(t.panelContext)}]),inert:f.value!==I.name},[[f.value,d.value].includes(I.name)?(F(),H("div",ca,[I.isRoot?.(t.panelContext)?Q("",!0):Kn((F(),q(N,{key:0,class:"header__back col-start-1 p-1",appearance:"raw","aria-label":h.value,onClick:T},{default:V(()=>[U(D,{name:"arrow-left-s","fill-type":"line"})]),_:1},8,["aria-label"])),[[K,h.value]]),x[0]||(x[0]=W()),X("h2",ua,Te(I.title(t.panelContext)),1),x[1]||(x[1]=W()),U(N,{appearance:"raw",class:"header__close col-start-3 p-1","aria-label":v(r)("Close file sidebar"),onClick:w},{default:V(()=>[U(D,{name:"close"})]),_:1},8,["aria-label"])])):Q("",!0),x[3]||(x[3]=W()),X("div",null,[I.isRoot?.(t.panelContext)?J(y.$slots,"rootHeader",{key:0},void 0,!0):J(y.$slots,"subHeader",{key:1},void 0,!0)]),x[4]||(x[4]=W()),X("div",{class:ue(["sidebar-panel__body flex flex-col p-2 overflow-y-auto overflow-x-hidden",[`sidebar-panel__body-${I.name}`]])},[X("div",{class:ue(["sidebar-panel__body-content",{"flex-1 ":!I.isRoot?.(t.panelContext)}])},[J(y.$slots,"body",{},()=>[(F(!0),H(me,null,we(I.isRoot?.(t.panelContext)?a.value:[I],($,_)=>(F(),H("div",{key:`sidebar-panel-${$.name}`},[(u.value?$.isRoot?.(t.panelContext):[f.value,d.value].includes($.name))?(F(),q(Ve($.component),an({key:0,class:[{"multi-root-panel-separator mt-4 pt-2 border-t":_>0},"rounded-sm"]},{ref_for:!0},$.componentAttrs?.(t.panelContext)||{}),null,16,["class"])):Q("",!0)]))),128))],!0)],2),x[2]||(x[2]=W()),I.isRoot?.(t.panelContext)&&s.value.length>0?(F(),H("div",da,[(F(!0),H(me,null,we(s.value,$=>(F(),q(N,{id:`sidebar-panel-${$.name}-select`,key:`panel-select-${$.name}`,"data-testid":`sidebar-panel-${$.name}-select`,appearance:"raw-inverse","color-role":"surface",class:"!grid !grid-cols-[auto_1fr_auto] text-left px-2 w-full h-12",onClick:_=>C($.name)},{default:V(()=>[U(D,{name:$.icon,"fill-type":$.iconFillType},null,8,["name","fill-type"]),W(" "+Te($.title(t.panelContext))+" ",1),U(D,{name:"arrow-right-s","fill-type":"line"})]),_:2},1032,["id","data-testid","onClick"]))),128))])):Q("",!0)],2)],10,la))),128))}}}),ha=Tt(fa,[["__scopeId","data-v-c0e78b4b"]]),Xa=oe({inheritAttrs:!1,__name:"SideBar",props:{loading:{type:Boolean},availablePanels:{},panelContext:{}},emits:["selectPanel","close"],setup(t,{emit:e}){const n=e,r=rn(),{isMobile:a}=ln(),s=Gn(),{focusSidebar:i}=s,{sideBarActivePanel:o}=yt(s),c=j(()=>{if(v(a))return{...v(r),isFocusTrapActive:!t.loading,hasFullHeight:!0,maxHeight:"max-h-[80vh]",class:"z-100",onClicked:u};const f=["border-l","focus:outline-0","focus-visible:outline-0","w-[360px]","min-w-[360px]","overflow-hidden","relative","focus:shadow-none","focus-visible:shadow-none",...v(r)?.class?[v(r).class]:[]];return t.loading&&f.push("flex","justify-center","items-center"),{...v(r),class:f}}),u=f=>{if(!f.target)return;const h=f.target===f.currentTarget,p=f.target instanceof HTMLAnchorElement,S=f.target.closest("ul.sidebar-actions-panel");(h||p||S)&&d()},d=()=>{s.closeSideBar(),n("close")},l=f=>{s.openSideBarPanel(f),n("selectPanel",f)};return wt(()=>{v(a)&&d()}),(f,h)=>(F(),q(xt,{to:"#mobile-right-sidebar",disabled:!v(a)},[(F(),q(Ve(v(a)?"oc-bottom-drawer":"div"),an({id:"app-sidebar",tabindex:"-1"},c.value),{default:V(()=>[U(ha,{loading:t.loading,"available-panels":t.availablePanels,"panel-context":t.panelContext,"active-panel":v(o),onSelectPanel:l,onClose:d,onClosePanel:v(i)},{body:V(()=>[J(f.$slots,"body")]),rootHeader:V(()=>[J(f.$slots,"rootHeader")]),subHeader:V(()=>[J(f.$slots,"subHeader")]),_:3},8,["loading","available-panels","panel-context","active-panel","onClosePanel"])]),_:3},16))],8,["disabled"]))}}),ma={class:"grid items-center p-2"},va={class:"flex items-center text-sm"},pa=["textContent"],ba=["textContent"],Ga=oe({__name:"SpaceInfo",setup(t){const e=Yn("resource");return(n,r)=>{const a=re("oc-icon");return F(),H("div",ma,[X("div",va,[U(a,{name:"layout-grid",size:v(e).description?"large":"medium",class:"block mr-2"},null,8,["size"]),r[1]||(r[1]=W()),X("div",null,[X("h3",{"data-testid":"space-info-name",class:"font-semibold m-0 text-base break-all",textContent:Te(v(e).name)},null,8,pa),r[0]||(r[0]=W()),X("span",{"data-testid":"space-info-subtitle",textContent:Te(v(e).description)},null,8,ba)])])])}}});export{_a as A,Rn as B,Ya as C,Ji as D,ni as E,mr as F,Ki as G,qi as H,qa as I,_i as J,Tr as K,zi as L,kr as M,Wa as N,si as O,La as P,Ua as R,ha as S,ia as _,Ia as a,vr as b,pr as c,br as d,hr as e,gr as f,yr as g,za as h,Qt as i,Xa as j,Ga as k,ar as l,Na as m,Bt as n,Mt as o,$a as p,Va as q,Ma as r,fr as s,ja as t,Fa as u,Sr as v,Ka as w,Ha as x,Ba as y,xr as z}; diff --git a/web-dist/js/chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs.gz b/web-dist/js/chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs.gz new file mode 100644 index 0000000000..3f9bfdd9d4 Binary files /dev/null and b/web-dist/js/chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs.gz differ diff --git a/web-dist/js/chunks/TextEditor-B2vU--c4.mjs b/web-dist/js/chunks/TextEditor-B2vU--c4.mjs new file mode 100644 index 0000000000..6a0c1585f9 --- /dev/null +++ b/web-dist/js/chunks/TextEditor-B2vU--c4.mjs @@ -0,0 +1,157 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-DPuWRdRa.mjs","./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs","./index-Vcq4gwWv.mjs","./preload-helper-PPVm8Dsz.mjs","./_plugin-vue_export-helper-DlAUqK2U.mjs","./index-CEnxmhrw.mjs","./index-D7lBHWQJ.mjs","./index-ByDDD7Lk.mjs","./index-ChTr9CNi.mjs","./index-CVXEJ3S9.mjs","./index-pNj0h2EV.mjs","./index-0dfTDT3y.mjs","./index-D7U-DVxL.mjs","./index-B2C3-0oc.mjs","./index-CH8OBzPX.mjs","./index-Bl6f9hPu.mjs","./index-C414-4EI.mjs","./index-DMaaPvP_.mjs","./index-D1R6sFRB.mjs","./dockerfile-DzPVv209.mjs","./simple-mode-GW_nhZxv.mjs","./factor-BBbj1ob8.mjs","./nsis-BNR6u943.mjs","./pug-BVXhkSQQ.mjs","./javascript-iXu5QeM3.mjs","./index-xO3ktRiz.mjs","./index-Cjj56UY-.mjs"])))=>i.map(i=>d[i]); +import{M as K,bE as ee,aD as we,az as ri,o as gr,I as w,aS as yt,aU as te,af as $,F as Fr,b7 as ki,q as le,aO as $e,dD as Ls,bp as P1,a5 as pn,bf as aa,as as St,T as C1,an as A1,r as E1,cm as L1,cq as D1,bk as zn,cp as M1,aZ as is,aL as nl,u as Ec,s as R1,bJ as Lc,au as I1}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{k as Z1,b as z1,s as X1}from"./index-Vcq4gwWv.mjs";import{_ as A}from"./preload-helper-PPVm8Dsz.mjs";import{_ as F1}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";const B1=t=>{const e=typeof t;return e!=="function"&&e!=="object"||t===null},V1=t=>{const e=t.flags===""?void 0:t.flags;return new RegExp(t.source,e)},Gn=(t,e=new WeakMap)=>{if(t===null||B1(t))return t;if(e.has(t))return e.get(t);if(t instanceof RegExp)return V1(t);if(t instanceof Date)return new Date(t.getTime());if(t instanceof Function)return t;if(t instanceof Map){const n=new Map;return e.set(t,n),t.forEach((r,s)=>{n.set(s,Gn(r,e))}),n}if(t instanceof Set){const n=new Set;e.set(t,n);for(const r of t)n.add(Gn(r,e));return n}if(Array.isArray(t)){const n=[];return e.set(t,n),t.forEach(r=>{n.push(Gn(r,e))}),n}const i={};e.set(t,i);for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=Gn(t[n],e));return i},fp=(t,e=200)=>{let i=0;return(...n)=>new Promise(r=>{i&&(clearTimeout(i),r("cancel")),i=window.setTimeout(()=>{t.apply(void 0,n),i=0,r("done")},e)})},q1=(t,e={_blank:!0,nofollow:!0})=>{const i=document.createElement("a");i.href=t,e._blank&&(i.target="_blank"),e.nofollow&&(i.rel="noopener noreferrer"),i.click()},Ou=()=>{let t=-1;return(e,i,n,r=100)=>{const s=()=>{n&&(typeof r=="number"?setTimeout(n,r):n())};t!==-1&&(cancelAnimationFrame(t),s());let o=e.scrollTop;const l=()=>{t=-1;const a=i-o;o=o+a/5,Math.abs(a)<1?(e.scrollTo(0,i),s()):(e.scrollTo(0,o),t=requestAnimationFrame(l))};t=requestAnimationFrame(l)}},j1=(t,e=200)=>{let i=0,n=null;const r=s=>{i===0&&(i=s),s-i>=e?(t.apply(void 0,n),n=null,i=0):window.requestAnimationFrame(r)};return(...s)=>{n===null&&window.requestAnimationFrame(r),n=s}},W1=t=>{const e=i=>{const{scrollHeight:n,scrollWidth:r,offsetHeight:s,offsetWidth:o,scrollLeft:l,scrollTop:a}=t,u=i.x,c=i.y,h=f=>{const p=a+c-f.y,m=l+u-f.x,O=n-s,g=r-o,b={};m>=0&&m<=g&&(b.left=m),p>=0&&p<=O&&(b.top=p),t.scroll(b)};document.addEventListener("mousemove",h);const d=()=>{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",d)};document.addEventListener("mouseup",d)};return t.addEventListener("mousedown",e),()=>{t.removeEventListener("mousedown",e)}},ua=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,Us=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),Do=(t,e,i={})=>{if(Array.isArray(t)&&Array.isArray(e))return ca(t,e,i);const{excludeKeys:n}=i;for(const r in e){const s=e[r],o=t[r];n&&n(r)?t[r]=s:Array.isArray(s)&&Array.isArray(o)?t[r]=ca(o,s,i):Us(s)&&Us(o)?t[r]=Do(o,s,i):t[r]=s}return t},ca=(t,e,i)=>{const n=t.slice();return e.forEach((r,s)=>{const o=n[s];Array.isArray(r)&&Array.isArray(o)?n[s]=ca(o,r,i):Us(r)&&Us(o)?n[s]=Do(o,r,i):n[s]=r}),n},k="md-editor",N1="MdEditor",ke="https://unpkg.com",Y1=`${ke}/@highlightjs/cdn-assets@11.11.1/highlight.min.js`,Dc={main:`${ke}/prettier@3.8.1/standalone.js`,markdown:`${ke}/prettier@3.8.1/plugins/markdown.js`},G1={css:`${ke}/cropperjs@1.6.2/dist/cropper.min.css`,js:`${ke}/cropperjs@1.6.2/dist/cropper.min.js`},U1=`${ke}/screenfull@5.2.0/dist/screenfull.js`,H1=`${ke}/mermaid@11.12.3/dist/mermaid.min.js`,K1={js:`${ke}/katex@0.16.33/dist/katex.min.js`,css:`${ke}/katex@0.16.33/dist/katex.min.css`},ha={a11y:{light:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/a11y-light.min.css`,dark:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/a11y-dark.min.css`},atom:{light:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/atom-one-light.min.css`,dark:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/atom-one-dark.min.css`},github:{light:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/github.min.css`,dark:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/github-dark.min.css`},gradient:{light:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/gradient-light.min.css`,dark:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/gradient-dark.min.css`},kimbie:{light:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/kimbie-light.min.css`,dark:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/kimbie-dark.min.css`},paraiso:{light:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/paraiso-light.min.css`,dark:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/paraiso-dark.min.css`},qtcreator:{light:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/qtcreator-light.min.css`,dark:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/stackoverflow-light.min.css`,dark:`${ke}/@highlightjs/cdn-assets@11.11.1/styles/stackoverflow-dark.min.css`}},J1=`${ke}/echarts@6.0.0/dist/echarts.min.js`,pp=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","previewOnly","htmlPreview","catalog","github"],mp=["markdownTotal","=","scrollSwitch"],Mc={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",previewOnly:"仅预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",previewOnly:"preview only",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Image Link",upload:"Upload Images",clip2upload:"Crop And Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Character Count",scrollAuto:"Scroll Auto"}}},Ce={editorExtensions:{highlight:{js:Y1,css:ha},prettier:{standaloneJs:Dc.main,parserMarkdownJs:Dc.markdown},cropper:{...G1},screenfull:{js:U1},mermaid:{js:H1,enableZoom:!0},katex:{...K1},echarts:{js:J1}},editorExtensionsAttrs:{},editorConfig:{languageUserDefined:{},mermaidTemplate:{},renderDelay:500,zIndex:2e4},codeMirrorExtensions:t=>t,markdownItConfig:()=>{},markdownItPlugins:t=>t,mermaidConfig:t=>t,katexConfig:t=>t,echartsConfig:t=>t},eb=t=>Do(Ce,t,{excludeKeys(e){return/[iI]{1}nstance/.test(e)}}),ns=.1,Ne=({instance:t,ctx:e,props:i={}},n="default")=>{const r=t?.$slots[n]||e?.slots[n];return(r?r(t):"")||i[n]},tb={overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}},relative:{type:String,default:"html"},disabled:{type:Boolean,default:void 0}},Cn=K({name:`${k}-dropdown`,props:tb,setup(t,e){const i=`${k}-dropdown-hidden`,n=yt({overlayClass:[i],overlayStyle:{},triggerHover:!1,overlayHover:!1}),r=te(),s=te(),o=()=>{if(t.disabled)return!1;n.triggerHover=!0;const c=r.value,h=s.value;if(!c||!h)return;const d=c.getBoundingClientRect(),f=c.offsetTop,p=c.offsetLeft,m=d.height,O=d.width,g=c.getRootNode(),b=g.querySelector(t.relative)?.scrollLeft||0,S=g.querySelector(t.relative)?.clientWidth||0;let y=p-h.offsetWidth/2+O/2-b;y+h.offsetWidth>b+S&&(y=b+S-h.offsetWidth),y<0&&(y=0),n.overlayStyle={...n.overlayStyle,insetBlockStart:f+m+"px",insetInlineStart:y+"px"},t.onChange(!0)},l=()=>{if(t.disabled)return!1;n.overlayHover=!0};ee(()=>t.visible,c=>{c?n.overlayClass=n.overlayClass.filter(h=>h!==i):n.overlayClass.push(i)});let a=-1;const u=c=>{r.value===c.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(a),a=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&t.onChange(!1)},10)};return we(()=>{r.value.addEventListener("mouseenter",o),r.value.addEventListener("mouseleave",u),s.value.addEventListener("mouseenter",l),s.value.addEventListener("mouseleave",u)}),ri(()=>{r.value.removeEventListener("mouseenter",o),r.value.removeEventListener("mouseleave",u),s.value.removeEventListener("mouseenter",l),s.value.removeEventListener("mouseleave",u)}),()=>{const c=Ne({ctx:e}),h=Ne({props:t,ctx:e},"overlay"),d=gr(c instanceof Array?c[0]:c,{ref:r,key:"cloned-dropdown-trigger"}),f=w("div",{class:[`${k}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:s},[w("div",{class:`${k}-dropdown-overlay`},[h instanceof Array?h[0]:h])]);return[d,f]}}}),ib={title:{type:String,default:""},visible:{type:Boolean,default:void 0},trigger:{type:[String,Object],default:void 0},onChange:{type:Function,default:void 0},overlay:{type:[String,Object],default:void 0},insert:{type:Function,default:void 0},language:{type:String,default:void 0},theme:{type:String,default:void 0},previewTheme:{type:String,default:void 0},codeTheme:{type:String,default:void 0},disabled:{type:Boolean,default:void 0},showToolbarName:{type:Boolean,default:void 0}},Ds=K({name:"DropdownToolbar",props:ib,emits:["onChange"],setup(t,e){const i=$("editorId"),n=r=>{t.onChange?.(r),e.emit("onChange",r)};return()=>{const r=Ne({props:t,ctx:e},"trigger"),s=Ne({props:t,ctx:e},"overlay"),o=Ne({props:t,ctx:e});return w(Cn,{relative:`#${i}-toolbar-wrapper`,visible:t.visible,onChange:n,overlay:s,disabled:t.disabled},{default:()=>[w("button",{class:[`${k}-toolbar-item`,t.disabled&&`${k}-disabled`],title:t.title||"",disabled:t.disabled,type:"button"},[o||r])]})}}});Ds.install=t=>(t.component(Ds.name,Ds),t);const Mo="onSave",gu="changeCatalogVisible",Op="changeFullscreen",Rc="pageFullscreenChanged",Ic="fullscreenChanged",Zc="previewChanged",zc="previewOnlyChanged",Xc="htmlPreviewChanged",Fc="catalogVisibleChanged",Ms="buildFinished",Nt="errorCatcher",J="replace",Ro="uploadImage",gp="ctrlZ",bp="ctrlShiftZ",ir="catalogChanged",xp="pushCatalog",bu="rerender",kp="eventListener",yp="taskStateChanged",vp="sendEditorView",Hs="getEditorView";class nb{pools={};remove(e,i,n){const r=this.pools[e]&&this.pools[e][i];r&&(this.pools[e][i]=r.filter(s=>s!==n))}clear(e){this.pools[e]={}}on(e,i){return this.pools[e]||(this.pools[e]={}),this.pools[e][i.name]||(this.pools[e][i.name]=[]),this.pools[e][i.name].push(i.callback),this.pools[e][i.name].includes(i.callback)}emit(e,i,...n){this.pools[e]||(this.pools[e]={});const r=this.pools[e][i];r&&r.forEach(s=>{try{s(...n)}catch(o){console.error(`${i} monitor event exception!`,o)}})}}const M=new nb,rb=(t,e="image.png")=>{const i=t.split(","),n=i[0].match(/:(.*?);/);if(n){const r=n[1],s=atob(i[1]);let o=s.length;const l=new Uint8Array(o);for(;o--;)l[o]=s.charCodeAt(o);return new File([l],e,{type:r})}return null},sb=(t,e)=>{if(!t)return t;const i=e.split(` +`),n=['"),`${t}${n.join("")}`},ob=(t,e)=>{if(!t||!e)return 0;const i=t?.getBoundingClientRect();if(e===document.documentElement)return i.top-e.clientTop;const n=e?.getBoundingClientRect();return i.top-n.top},Bc=(()=>{let t=0;return()=>++t})(),lb=`.${k}-preview > [data-line]`,Ei=(t,e)=>+getComputedStyle(t).getPropertyValue(e).replace("px",""),ab=(t,e)=>{const i=fp(()=>{t.removeEventListener("scroll",n),t.addEventListener("scroll",n),e.removeEventListener("scroll",n),e.addEventListener("scroll",n)},50),n=r=>{const s=t.clientHeight,o=e.clientHeight,l=t.scrollHeight,a=e.scrollHeight,u=(l-s)/(a-o);r.target===t?(e.removeEventListener("scroll",n),e.scrollTo({top:t.scrollTop/u}),i()):(t.removeEventListener("scroll",n),t.scrollTo({top:e.scrollTop*u}),i())};return[()=>{i().finally(()=>{t.dispatchEvent(new Event("scroll"))})},()=>{t.removeEventListener("scroll",n),e.removeEventListener("scroll",n)}]},ub=(t,e,i)=>{const{view:n}=i,r=Ou(),s=g=>n.lineBlockAt(n.state.doc.line(g+1).from).top,o=g=>n.lineBlockAt(n.state.doc.line(g+1).from).bottom;let l=[],a=[],u=[];const c=()=>{l=[],a=Array.from(e.querySelectorAll(lb)),u=a.map(x=>Number(x.dataset.line));const g=[...u],{lines:b}=n.state.doc;let S=g.shift()||0,y=g.shift()||b;for(let x=0;x{let S=1;for(let y=a.length-1;y-1>=0;y--){const x=a[y],Q=a[y-1];if(x.offsetTop+x.offsetHeight>b&&Q.offsetTop=0;y--){const x=o(l[y].end),Q=s(l[y].start);if(x>g&&Q<=g){S=S{if(f!==0)return!1;d++;const{scrollDOM:g,contentHeight:b}=n;let S=Ei(e,"padding-block-start");const y=n.lineBlockAtHeight(g.scrollTop),{number:x}=n.state.doc.lineAt(y.from),Q=l[x-1];if(!Q)return!1;let T=1;const _=e.querySelector(`[data-line="${Q.start}"]`)||e.firstElementChild?.firstElementChild,C=e.querySelector(`[data-line="${Q.end+1}"]`)||e.lastElementChild?.lastElementChild,F=g.scrollHeight-g.clientHeight,B=e.scrollHeight-e.clientHeight;let E=s(Q.start),Z=o(Q.end),q=_.offsetTop,j=C.offsetTop-q;E===0&&(q=0,_===C?(S=0,Z=b-g.offsetHeight,j=B):j=C.offsetTop),T=(g.scrollTop-E)/(Z-E);const D=C==e.lastElementChild?.lastElementChild?C.offsetTop+C.clientHeight:C.offsetTop;if(Z>=F||D>B){const I=h(F,B);E=s(I),T=(g.scrollTop-E)/(F-E);const z=e.querySelector(`[data-line="${I}"]`);E>0&&z&&(q=z.offsetTop),j=B-q+Ei(e,"padding-block-start")}const X=q-S+j*T;r(e,X,()=>{d--})},m=()=>{if(d!==0)return;f++;const{scrollDOM:g}=n,b=e.scrollTop,S=e.scrollHeight,y=g.scrollHeight-g.clientHeight,x=e.scrollHeight-e.clientHeight;let Q=e.firstElementChild?.firstElementChild,T=e.firstElementChild?.lastElementChild;if(u.length>0){let D=Math.ceil(u[u.length-1]*(b/S)),X=u.findLastIndex(I=>I<=D);X=X===-1?0:X,D=u[X];for(let I=X;I>=0&&Ib){if(I-1>=0){I--;continue}D=-1,X=I;break}else{if(I+1y||T.offsetTop+T.offsetHeight>x){const D=h(y,x),X=e.querySelector(`[data-line="${D}"]`);_=X?X.offsetTop-Ei(X,"margin-block-start"):_,Z=s(D),F=(b-_)/(x-_),j=y-Z}else Q===e.firstElementChild?.firstElementChild?(Q===T&&(C=T.offsetTop+T.offsetHeight+Ei(T,"margin-block-end")),j=q,F=Math.max(b/C,0)):(F=Math.max((b-_)/(C-_),0),j=q-Z);r(t,Z+j*F,()=>{f--})},O=g=>{const{scrollDOM:b,contentHeight:S}=n,y=b.clientHeight;if(S<=y||e.firstElementChild.clientHeight<=e.clientHeight||n.state.doc.lines<=l[l.length-1]?.end)return!1;g.target===t?p():m()};return[()=>{c(),t.addEventListener("scroll",O),e.addEventListener("scroll",O),t.dispatchEvent(new Event("scroll"))},()=>{t.removeEventListener("scroll",O),e.removeEventListener("scroll",O)}]},cb={tocItem:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:()=>{}},onActive:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},scrollElementOffsetTop:{type:Number,default:0}},Sp=K({props:cb,setup(t){const e=$("scrollElementRef"),i=$("roorNodeRef"),n=te();ee(()=>t.tocItem.active,s=>{s&&t.onActive(t.tocItem,n.value)}),we(()=>{t.tocItem.active&&t.onActive(t.tocItem,n.value)});const r=s=>{if(s.stopPropagation(),t.onClick(s,t.tocItem),s.defaultPrevented)return;const o=t.mdHeadingId({text:t.tocItem.text,level:t.tocItem.level,index:t.tocItem.index,currentToken:t.tocItem.currentToken,nextToken:t.tocItem.nextToken}),l=i.value.getElementById(o),a=e.value;if(l&&a){let u=l.offsetParent,c=l.offsetTop;if(a.contains(u))for(;u&&a!=u;)c+=u?.offsetTop,u=u?.offsetParent;const h=l.previousElementSibling;let d=0;h||(d=Ei(l,"margin-block-start")),a?.scrollTo({top:c-t.scrollElementOffsetTop-d,behavior:"smooth"})}};return()=>w("div",{ref:n,class:[`${k}-catalog-link`,t.tocItem.active&&`${k}-catalog-active`],onClick:r},[w("span",{title:t.tocItem.text},[t.tocItem.text]),t.tocItem.children&&t.tocItem.children.length>0&&w("div",{class:`${k}-catalog-wrapper`},[t.tocItem.children.map(s=>w(Sp,{mdHeadingId:t.mdHeadingId,key:`${t.tocItem.text}-link-${s.level}-${s.text}`,tocItem:s,onActive:t.onActive,onClick:t.onClick,scrollElementOffsetTop:t.scrollElementOffsetTop},null))])])}}),hb={editorId:{type:String,default:void 0},class:{type:String,default:""},mdHeadingId:{type:Function,default:({text:t})=>t},scrollElement:{type:[String,Object],default:void 0},theme:{type:String,default:"light"},offsetTop:{type:Number,default:20},scrollElementOffsetTop:{type:Number,default:0},onClick:{type:Function,default:void 0},onActive:{type:Function,default:void 0},isScrollElementInShadow:{type:Boolean,default:!1},syncWith:{type:String,default:"preview"},catalogMaxDepth:{type:Number,default:void 0}},nr=K({name:"MdCatalog",props:hb,emits:["onClick","onActive"],setup(t,e){const i=t.editorId,n=`#${i}-preview-wrapper`,r=yt({list:[],show:!1,scrollElement:t.scrollElement||n}),s=ki(),o=te(),l=te(),a=te(),u=te(),c=ki(),h=te({});$e("scrollElementRef",l),$e("roorNodeRef",u);const d=le(()=>{const y=[];return r.list.forEach((x,Q)=>{if(t.catalogMaxDepth&&x.level>t.catalogMaxDepth)return;const{text:T,level:_,line:C}=x,F={level:_,text:T,line:C,index:Q+1,active:s.value===x};if(y.length===0)y.push(F);else{let B=y[y.length-1];if(F.level>B.level)for(let E=B.level+1;E<=6;E++){const{children:Z}=B;if(!Z){B.children=[F];break}if(B=Z[Z.length-1],F.level<=B.level){Z.push(F);break}}else y.push(F)}}),y}),f=()=>{if(r.scrollElement instanceof HTMLElement)return r.scrollElement;let y=document;return(r.scrollElement===n||t.isScrollElementInShadow)&&(y=o.value?.getRootNode()),y.querySelector(r.scrollElement)},p=y=>{if(y.length===0)return s.value=void 0,r.list=[],!1;const{activeHead:x,activeIndex:Q}=y.reduce((C,F,B)=>{let E=0;if(t.syncWith==="preview"){const Z=u.value?.getElementById(t.mdHeadingId({text:F.text,level:F.level,index:B+1,currentToken:F.currentToken,nextToken:F.nextToken}));Z instanceof HTMLElement&&(E=ob(Z,l.value))}else{const Z=c.value;if(Z){const q=Z.lineBlockAt(Z.state.doc.line(F.line+1).from).top,j=Z.scrollDOM.scrollTop;E=q-j}}return EC.minTop?{activeHead:F,activeIndex:B,minTop:E}:C},{activeHead:y[0],activeIndex:0,minTop:Number.MIN_SAFE_INTEGER});let T=x;const{catalogMaxDepth:_}=t;if(_&&T.level>_){for(let C=Q;C>=0;C--){const F=y[C];if(F.level<=_){T=F;break}}if(T.level>_){const C=y.find(F=>F.level<=_);C&&(T=C)}}s.value=T,r.list=y},m=(y,x)=>{h.value.top=x.offsetTop+Ei(x,"padding-block-start")+"px",t.onActive?.(y,x),e.emit("onActive",y,x)},O=()=>{p(r.list)},g=y=>{if(a.value?.removeEventListener("scroll",O),t.syncWith==="editor")a.value=c.value?.scrollDOM;else{const x=f();l.value=x,a.value=x===document.documentElement?document:x}p(y),a.value?.addEventListener("scroll",O)},b=y=>{c.value=y};ee([()=>t.syncWith,c,()=>t.catalogMaxDepth],()=>{g(r.list)}),we(()=>{u.value=o.value.getRootNode(),M.on(i,{name:ir,callback:g}),M.on(i,{name:Hs,callback:b}),M.emit(i,xp),M.emit(i,vp)}),ri(()=>{M.remove(i,ir,g),M.remove(i,Hs,b),a.value?.removeEventListener("scroll",O)});const S=(y,x)=>{t.onClick?.(y,x),e.emit("onClick",y,x)};return()=>w("div",{class:[`${k}-catalog`,t.theme==="dark"&&`${k}-catalog-dark`,t.class||""],ref:o},[d.value.length>0&&w(Fr,null,[w("div",{class:`${k}-catalog-indicator`,style:h.value},null),w("div",{class:`${k}-catalog-container`},[d.value.map(y=>w(Sp,{mdHeadingId:t.mdHeadingId,tocItem:y,key:`link-${y.level}-${y.text}`,onActive:m,onClick:S,scrollElementOffsetTop:t.scrollElementOffsetTop},null))])])])}});nr.install=t=>(t.component(nr.name,nr),t);async function wp(t){if(typeof t=="string"){if(window.isSecureContext&&navigator.clipboard)return await navigator.clipboard.writeText(t);{const e=document.createElement("textarea");let i=!1;if(e.value=t,e.style.position="fixed",e.style.opacity=0,e.style.zIndex="-10000",e.style.top="-10000",document.body.appendChild(e),e.select(),i=document.execCommand("copy"),document.body.removeChild(e),i)return;throw new Error('Failed to copy content via "execCommand"!')}}}const db={copy:``,"collapse-tips":``,pin:``,"pin-off":``,check:``},It=(t,e)=>typeof e[t]=="string"?e[t]:db[t],Vc=(t,e)=>{const i=n=>{const r=t.parentElement||document.body,s=r.offsetWidth,o=r.offsetHeight,{clientWidth:l,clientHeight:a}=document.documentElement,u=n.offsetX,c=n.offsetY,h=f=>{let p=f.x+document.body.scrollLeft-document.body.clientLeft-u,m=f.y+document.body.scrollTop-document.body.clientTop-c;p=p<1?1:p{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",d)};document.addEventListener("mouseup",d)};return t.addEventListener("mousedown",i),()=>{t.removeEventListener("mousedown",i)}},ht=(t,e,i="")=>{const n=document.getElementById(e.id);if(n)i!==""&&(Reflect.get(window,i)?e.onload?.call(n,new Event("load")):e.onload&&n.addEventListener("load",e.onload));else{const r={...e};r.onload=null;const s=pb(t,r);e.onload&&s.addEventListener("load",e.onload),document.head.appendChild(s)}},fb=(t,e)=>{document.getElementById(e.id)?.remove(),ht(t,e)},pb=(t,e)=>{const i=document.createElement(t);return Object.keys(e).forEach(n=>{e[n]!==void 0&&(i[n]=e[n])}),i},mb=(t,e)=>{const i=new Map;return t?.forEach(n=>{let r=n.querySelector(`.${k}-mermaid-action`);r?r.querySelector(`.${k}-mermaid-copy`)||r.insertAdjacentHTML("beforeend",`${It("copy",e.customIcon)}`):(n.insertAdjacentHTML("beforeend",`
${It("copy",e.customIcon)}
`),r=n.querySelector(`.${k}-mermaid-action`));const s=r.querySelector(`.${k}-mermaid-copy`);let o=-1;const l=()=>{clearTimeout(o),wp(n.dataset.content||"").then(()=>{s.innerHTML=It("check",e.customIcon)}).catch(()=>{s.innerHTML=It("copy",e.customIcon)}).finally(()=>{o=window.setTimeout(()=>{s.innerHTML=It("copy",e.customIcon)},1500)})};s.addEventListener("click",l),i.set(n,{removeClick:()=>{s.removeEventListener("click",l)}})}),()=>{i.forEach(({removeClick:n})=>{n?.()}),i.clear()}},Ob=(()=>{const t=e=>{if(!e)return()=>{};const i=e.firstChild;let n=1,r=0,s=0,o=!1,l,a,u,c=1;const h=()=>{i.style.transform=`translate(${r}px, ${s}px) scale(${n})`},d=y=>{y.touches.length===1?(o=!0,l=y.touches[0].clientX-r,a=y.touches[0].clientY-s):y.touches.length===2&&(u=Math.hypot(y.touches[0].clientX-y.touches[1].clientX,y.touches[0].clientY-y.touches[1].clientY),c=n)},f=y=>{if(y.preventDefault(),o&&y.touches.length===1)r=y.touches[0].clientX-l,s=y.touches[0].clientY-a,h();else if(y.touches.length===2){const x=Math.hypot(y.touches[0].clientX-y.touches[1].clientX,y.touches[0].clientY-y.touches[1].clientY)/u,Q=n;n=c*(1+(x-1));const T=(y.touches[0].clientX+y.touches[1].clientX)/2,_=(y.touches[0].clientY+y.touches[1].clientY)/2,C=i.getBoundingClientRect(),F=(T-C.left)/Q,B=(_-C.top)/Q;r-=F*(n-Q),s-=B*(n-Q),h()}},p=()=>{o=!1},m=y=>{y.preventDefault();const x=.02,Q=n;y.deltaY<0?n+=x:n=Math.max(.1,n-x);const T=i.getBoundingClientRect(),_=y.clientX-T.left,C=y.clientY-T.top;r-=_/Q*(n-Q),s-=C/Q*(n-Q),h()},O=y=>{o=!0,l=y.clientX-r,a=y.clientY-s},g=y=>{o&&(r=y.clientX-l,s=y.clientY-a,h())},b=()=>{o=!1},S=()=>{o=!1};return e.addEventListener("touchstart",d,{passive:!1}),e.addEventListener("touchmove",f,{passive:!1}),e.addEventListener("touchend",p),e.addEventListener("wheel",m,{passive:!1}),e.addEventListener("mousedown",O),e.addEventListener("mousemove",g),e.addEventListener("mouseup",b),e.addEventListener("mouseleave",S),()=>{e.removeEventListener("touchstart",d),e.removeEventListener("touchmove",f),e.removeEventListener("touchend",p),e.removeEventListener("wheel",m),e.removeEventListener("mousedown",O),e.removeEventListener("mousemove",g),e.removeEventListener("mouseup",b),e.removeEventListener("mouseleave",S)}};return(e,i)=>{const n=new Map;return e?.forEach(r=>{let s=r.querySelector(`.${k}-mermaid-action`);s?s.querySelector(`.${k}-mermaid-zoom`)||s.insertAdjacentHTML("beforeend",`${It("pin-off",i.customIcon)}`):(r.insertAdjacentHTML("beforeend",`
${It("pin-off",i.customIcon)}
`),s=r.querySelector(`.${k}-mermaid-action`));const o=s.querySelector(`.${k}-mermaid-zoom`),l=()=>{const a=n.get(r);if(a?.removeEvent)a.removeEvent(),r.removeAttribute("data-grab"),n.set(r,{removeClick:a.removeClick}),o.innerHTML=It("pin-off",i.customIcon);else{const u=t(r);r.setAttribute("data-grab",""),n.set(r,{removeEvent:u,removeClick:a?.removeClick}),o.innerHTML=It("pin",i.customIcon)}};o.addEventListener("click",l),n.set(r,{removeClick:()=>o.removeEventListener("click",l)})}),()=>{n.forEach(({removeEvent:r,removeClick:s})=>{r?.(),s?.()}),n.clear()}}})(),qc={};function gb(t){let e=qc[t];if(e)return e;e=qc[t]=[];for(let i=0;i<128;i++){const n=String.fromCharCode(i);e.push(n)}for(let i=0;i=55296&&c<=57343?r+="���":r+=String.fromCharCode(c),s+=6;continue}}if((l&248)===240&&s+91114111?r+="����":(h-=65536,r+=String.fromCharCode(55296+(h>>10),56320+(h&1023))),s+=9;continue}}r+="�"}return r})}mn.defaultChars=";/?:@&=+$,#";mn.componentChars="";const jc={};function bb(t){let e=jc[t];if(e)return e;e=jc[t]=[];for(let i=0;i<128;i++){const n=String.fromCharCode(i);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+i.toString(16).toUpperCase()).slice(-2))}for(let i=0;i"u"&&(i=!0);const n=bb(e);let r="";for(let s=0,o=t.length;s=55296&&l<=57343){if(l>=55296&&l<=56319&&s+1=56320&&a<=57343){r+=encodeURIComponent(t[s]+t[s+1]),s++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(t[s])}return r}Br.defaultChars=";/?:@&=+$,-_.!~*'()#";Br.componentChars="-_.!~*'()";function xu(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function Ks(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const xb=/^([a-z0-9.+-]+:)/i,kb=/:[0-9]*$/,yb=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,vb=["<",">",'"',"`"," ","\r",` +`," "],Sb=["{","}","|","\\","^","`"].concat(vb),wb=["'"].concat(Sb),Wc=["%","/","?",";","#"].concat(wb),Nc=["/","?","#"],Qb=255,Yc=/^[+a-z0-9A-Z_-]{0,63}$/,$b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Gc={javascript:!0,"javascript:":!0},Uc={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function ku(t,e){if(t&&t instanceof Ks)return t;const i=new Ks;return i.parse(t,e),i}Ks.prototype.parse=function(t,e){let i,n,r,s=t;if(s=s.trim(),!e&&t.split("#").length===1){const u=yb.exec(s);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}let o=xb.exec(s);if(o&&(o=o[0],i=o.toLowerCase(),this.protocol=o,s=s.substr(o.length)),(e||o||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=s.substr(0,2)==="//",r&&!(o&&Gc[o])&&(s=s.substr(2),this.slashes=!0)),!Gc[o]&&(r||o&&!Uc[o])){let u=-1;for(let p=0;p127?b+="x":b+=g[S];if(!b.match(Yc)){const S=p.slice(0,m),y=p.slice(m+1),x=g.match($b);x&&(S.push(x[1]),y.unshift(x[2])),y.length&&(s=y.join(".")+s),this.hostname=S.join(".");break}}}}this.hostname.length>Qb&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=s.indexOf("#");l!==-1&&(this.hash=s.substr(l),s=s.slice(0,l));const a=s.indexOf("?");return a!==-1&&(this.search=s.substr(a),s=s.slice(0,a)),s&&(this.pathname=s),Uc[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Ks.prototype.parseHost=function(t){let e=kb.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const Tb=Object.freeze(Object.defineProperty({__proto__:null,decode:mn,encode:Br,format:xu,parse:ku},Symbol.toStringTag,{value:"Module"})),Qp=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,$p=/[\0-\x1F\x7F-\x9F]/,_b=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,yu=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Tp=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,_p=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Pb=Object.freeze(Object.defineProperty({__proto__:null,Any:Qp,Cc:$p,Cf:_b,P:yu,S:Tp,Z:_p},Symbol.toStringTag,{value:"Module"})),Cb=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),Ab=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var rl;const Eb=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Lb=(rl=String.fromCodePoint)!==null&&rl!==void 0?rl:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function Db(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=Eb.get(t))!==null&&e!==void 0?e:t}var Re;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Re||(Re={}));const Mb=32;var Oi;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(Oi||(Oi={}));function da(t){return t>=Re.ZERO&&t<=Re.NINE}function Rb(t){return t>=Re.UPPER_A&&t<=Re.UPPER_F||t>=Re.LOWER_A&&t<=Re.LOWER_F}function Ib(t){return t>=Re.UPPER_A&&t<=Re.UPPER_Z||t>=Re.LOWER_A&&t<=Re.LOWER_Z||da(t)}function Zb(t){return t===Re.EQUALS||Ib(t)}var De;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(De||(De={}));var pi;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(pi||(pi={}));class zb{constructor(e,i,n){this.decodeTree=e,this.emitCodePoint=i,this.errors=n,this.state=De.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=pi.Strict}startEntity(e){this.decodeMode=e,this.state=De.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,i){switch(this.state){case De.EntityStart:return e.charCodeAt(i)===Re.NUM?(this.state=De.NumericStart,this.consumed+=1,this.stateNumericStart(e,i+1)):(this.state=De.NamedEntity,this.stateNamedEntity(e,i));case De.NumericStart:return this.stateNumericStart(e,i);case De.NumericDecimal:return this.stateNumericDecimal(e,i);case De.NumericHex:return this.stateNumericHex(e,i);case De.NamedEntity:return this.stateNamedEntity(e,i)}}stateNumericStart(e,i){return i>=e.length?-1:(e.charCodeAt(i)|Mb)===Re.LOWER_X?(this.state=De.NumericHex,this.consumed+=1,this.stateNumericHex(e,i+1)):(this.state=De.NumericDecimal,this.stateNumericDecimal(e,i))}addToNumericResult(e,i,n,r){if(i!==n){const s=n-i;this.result=this.result*Math.pow(r,s)+parseInt(e.substr(i,s),r),this.consumed+=s}}stateNumericHex(e,i){const n=i;for(;i>14;for(;i>14,s!==0){if(o===Re.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==pi.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:i,decodeTree:n}=this,r=(n[i]&Oi.VALUE_LENGTH)>>14;return this.emitNamedEntityData(i,r,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,i,n){const{decodeTree:r}=this;return this.emitCodePoint(i===1?r[e]&~Oi.VALUE_LENGTH:r[e+1],n),i===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case De.NamedEntity:return this.result!==0&&(this.decodeMode!==pi.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case De.NumericDecimal:return this.emitNumericEntity(0,2);case De.NumericHex:return this.emitNumericEntity(0,3);case De.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case De.EntityStart:return 0}}}function Pp(t){let e="";const i=new zb(t,n=>e+=Lb(n));return function(r,s){let o=0,l=0;for(;(l=r.indexOf("&",l))>=0;){e+=r.slice(o,l),i.startEntity(s);const u=i.write(r,l+1);if(u<0){o=l+i.end();break}o=l+u,l=u===0?o+1:o}const a=e+r.slice(o);return e="",a}}function Xb(t,e,i,n){const r=(e&Oi.BRANCH_LENGTH)>>7,s=e&Oi.JUMP_TABLE;if(r===0)return s!==0&&n===s?i:-1;if(s){const a=n-s;return a<0||a>=r?-1:t[i+a]-1}let o=i,l=o+r-1;for(;o<=l;){const a=o+l>>>1,u=t[a];if(un)l=a-1;else return t[a+r]}return-1}const Fb=Pp(Cb);Pp(Ab);function Cp(t,e=pi.Legacy){return Fb(t,e)}function Bb(t){return Object.prototype.toString.call(t)}function vu(t){return Bb(t)==="[object String]"}const Vb=Object.prototype.hasOwnProperty;function qb(t,e){return Vb.call(t,e)}function Io(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){if(i){if(typeof i!="object")throw new TypeError(i+"must be object");Object.keys(i).forEach(function(n){t[n]=i[n]})}}),t}function Ap(t,e,i){return[].concat(t.slice(0,e),i,t.slice(e+1))}function Su(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534||t>=0&&t<=8||t===11||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function Js(t){if(t>65535){t-=65536;const e=55296+(t>>10),i=56320+(t&1023);return String.fromCharCode(e,i)}return String.fromCharCode(t)}const Ep=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,jb=/&([a-z#][a-z0-9]{1,31});/gi,Wb=new RegExp(Ep.source+"|"+jb.source,"gi"),Nb=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Yb(t,e){if(e.charCodeAt(0)===35&&Nb.test(e)){const n=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return Su(n)?Js(n):t}const i=Cp(t);return i!==t?i:t}function Gb(t){return t.indexOf("\\")<0?t:t.replace(Ep,"$1")}function On(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(Wb,function(e,i,n){return i||Yb(e,n)})}const Ub=/[&<>"]/,Hb=/[&<>"]/g,Kb={"&":"&","<":"<",">":">",'"':"""};function Jb(t){return Kb[t]}function yi(t){return Ub.test(t)?t.replace(Hb,Jb):t}const ex=/[.?*+^$[\]\\(){}|-]/g;function tx(t){return t.replace(ex,"\\$&")}function ve(t){switch(t){case 9:case 32:return!0}return!1}function br(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function xr(t){return yu.test(t)||Tp.test(t)}function kr(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Zo(t){return t=t.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const ix={mdurl:Tb,ucmicro:Pb},nx=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:Ap,assign:Io,escapeHtml:yi,escapeRE:tx,fromCodePoint:Js,has:qb,isMdAsciiPunct:kr,isPunctChar:xr,isSpace:ve,isString:vu,isValidEntityCode:Su,isWhiteSpace:br,lib:ix,normalizeReference:Zo,unescapeAll:On,unescapeMd:Gb},Symbol.toStringTag,{value:"Module"}));function rx(t,e,i){let n,r,s,o;const l=t.posMax,a=t.pos;for(t.pos=e+1,n=1;t.pos32))return s;if(n===41){if(o===0)break;o--}r++}return e===r||o!==0||(s.str=On(t.slice(e,r)),s.pos=r,s.ok=!0),s}function ox(t,e,i,n){let r,s=e;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(s>=i)return o;let l=t.charCodeAt(s);if(l!==34&&l!==39&&l!==40)return o;e++,s++,l===40&&(l=41),o.marker=l}for(;s"+yi(s.content)+""};Yt.code_block=function(t,e,i,n,r){const s=t[e];return""+yi(t[e].content)+` +`};Yt.fence=function(t,e,i,n,r){const s=t[e],o=s.info?On(s.info).trim():"";let l="",a="";if(o){const c=o.split(/(\s+)/g);l=c[0],a=c.slice(2).join("")}let u;if(i.highlight?u=i.highlight(s.content,l,a)||yi(s.content):u=yi(s.content),u.indexOf("${u} +`}return`
${u}
+`};Yt.image=function(t,e,i,n,r){const s=t[e];return s.attrs[s.attrIndex("alt")][1]=r.renderInlineAsText(s.children,i,n),r.renderToken(t,e,i)};Yt.hardbreak=function(t,e,i){return i.xhtmlOut?`
+`:`
+`};Yt.softbreak=function(t,e,i){return i.breaks?i.xhtmlOut?`
+`:`
+`:` +`};Yt.text=function(t,e){return yi(t[e].content)};Yt.html_block=function(t,e){return t[e].content};Yt.html_inline=function(t,e){return t[e].content};function An(){this.rules=Io({},Yt)}An.prototype.renderAttrs=function(e){let i,n,r;if(!e.attrs)return"";for(r="",i=0,n=e.attrs.length;i +`:">",s};An.prototype.renderInline=function(t,e,i){let n="";const r=this.rules;for(let s=0,o=t.length;s=0&&(n=this.attrs[i][1]),n};Ct.prototype.attrJoin=function(e,i){const n=this.attrIndex(e);n<0?this.attrPush([e,i]):this.attrs[n][1]=this.attrs[n][1]+" "+i};function Lp(t,e,i){this.src=t,this.env=i,this.tokens=[],this.inlineMode=!1,this.md=e}Lp.prototype.Token=Ct;const ax=/\r\n?|\n/g,ux=/\0/g;function cx(t){let e;e=t.src.replace(ax,` +`),e=e.replace(ux,"�"),t.src=e}function hx(t){let e;t.inlineMode?(e=new t.Token("inline","",0),e.content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}function dx(t){const e=t.tokens;for(let i=0,n=e.length;i\s]/i.test(t)}function px(t){return/^<\/a\s*>/i.test(t)}function mx(t){const e=t.tokens;if(t.md.options.linkify)for(let i=0,n=e.length;i=0;o--){const l=r[o];if(l.type==="link_close"){for(o--;r[o].level!==l.level&&r[o].type!=="link_open";)o--;continue}if(l.type==="html_inline"&&(fx(l.content)&&s>0&&s--,px(l.content)&&s++),!(s>0)&&l.type==="text"&&t.md.linkify.test(l.content)){const a=l.content;let u=t.md.linkify.match(a);const c=[];let h=l.level,d=0;u.length>0&&u[0].index===0&&o>0&&r[o-1].type==="text_special"&&(u=u.slice(1));for(let f=0;fd){const x=new t.Token("text","",0);x.content=a.slice(d,g),x.level=h,c.push(x)}const b=new t.Token("link_open","a",1);b.attrs=[["href",m]],b.level=h++,b.markup="linkify",b.info="auto",c.push(b);const S=new t.Token("text","",0);S.content=O,S.level=h,c.push(S);const y=new t.Token("link_close","a",-1);y.level=--h,y.markup="linkify",y.info="auto",c.push(y),d=u[f].lastIndex}if(d=0;i--){const n=t[i];n.type==="text"&&!e&&(n.content=n.content.replace(gx,xx)),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function yx(t){let e=0;for(let i=t.length-1;i>=0;i--){const n=t[i];n.type==="text"&&!e&&Dp.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function vx(t){let e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)t.tokens[e].type==="inline"&&(Ox.test(t.tokens[e].content)&&kx(t.tokens[e].children),Dp.test(t.tokens[e].content)&&yx(t.tokens[e].children))}const Sx=/['"]/,Hc=/['"]/g,Kc="’";function rs(t,e,i){return t.slice(0,e)+i+t.slice(e+1)}function wx(t,e){let i;const n=[];for(let r=0;r=0&&!(n[i].level<=o);i--);if(n.length=i+1,s.type!=="text")continue;let l=s.content,a=0,u=l.length;e:for(;a=0)p=l.charCodeAt(c.index-1);else for(i=r-1;i>=0&&!(t[i].type==="softbreak"||t[i].type==="hardbreak");i--)if(t[i].content){p=t[i].content.charCodeAt(t[i].content.length-1);break}let m=32;if(a=48&&p<=57&&(d=h=!1),h&&d&&(h=O,d=g),!h&&!d){f&&(s.content=rs(s.content,c.index,Kc));continue}if(d)for(i=n.length-1;i>=0;i--){let y=n[i];if(n[i].level=0;e--)t.tokens[e].type!=="inline"||!Sx.test(t.tokens[e].content)||wx(t.tokens[e].children,t)}function $x(t){let e,i;const n=t.tokens,r=n.length;for(let s=0;s0&&this.level++,this.tokens.push(n),n};Gt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Gt.prototype.skipEmptyLines=function(e){for(let i=this.lineMax;ei;)if(!ve(this.src.charCodeAt(--e)))return e+1;return e};Gt.prototype.skipChars=function(e,i){for(let n=this.src.length;en;)if(i!==this.src.charCodeAt(--e))return e+1;return e};Gt.prototype.getLines=function(e,i,n,r){if(e>=i)return"";const s=new Array(i-e);for(let o=0,l=e;ln?s[o]=new Array(a-n+1).join(" ")+this.src.slice(c,h):s[o]=this.src.slice(c,h)}return s.join("")};Gt.prototype.Token=Ct;const Tx=65536;function ol(t,e){const i=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];return t.src.slice(i,n)}function Jc(t){const e=[],i=t.length;let n=0,r=t.charCodeAt(n),s=!1,o=0,l="";for(;ni)return!1;let r=e+1;if(t.sCount[r]=4)return!1;let s=t.bMarks[r]+t.tShift[r];if(s>=t.eMarks[r])return!1;const o=t.src.charCodeAt(s++);if(o!==124&&o!==45&&o!==58||s>=t.eMarks[r])return!1;const l=t.src.charCodeAt(s++);if(l!==124&&l!==45&&l!==58&&!ve(l)||o===45&&ve(l))return!1;for(;s=4)return!1;u=Jc(a),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop();const h=u.length;if(h===0||h!==c.length)return!1;if(n)return!0;const d=t.parentType;t.parentType="table";const f=t.md.block.ruler.getRules("blockquote"),p=t.push("table_open","table",1),m=[e,0];p.map=m;const O=t.push("thead_open","thead",1);O.map=[e,e+1];const g=t.push("tr_open","tr",1);g.map=[e,e+1];for(let y=0;y=4||(u=Jc(a),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop(),S+=h-u.length,S>Tx))break;if(r===e+2){const Q=t.push("tbody_open","tbody",1);Q.map=b=[e+2,0]}const x=t.push("tr_open","tr",1);x.map=[r,r+1];for(let Q=0;Q=4){n++,r=n;continue}break}t.line=r;const s=t.push("code_block","code",0);return s.content=t.getLines(e,r,4+t.blkIndent,!1)+` +`,s.map=[e,t.line],!0}function Cx(t,e,i,n){let r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||r+3>s)return!1;const o=t.src.charCodeAt(r);if(o!==126&&o!==96)return!1;let l=r;r=t.skipChars(r,o);let a=r-l;if(a<3)return!1;const u=t.src.slice(l,r),c=t.src.slice(r,s);if(o===96&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let h=e,d=!1;for(;h++,!(h>=i||(r=l=t.bMarks[h]+t.tShift[h],s=t.eMarks[h],r=4)&&(r=t.skipChars(r,o),!(r-l=4||t.src.charCodeAt(r)!==62)return!1;if(n)return!0;const l=[],a=[],u=[],c=[],h=t.md.block.ruler.getRules("blockquote"),d=t.parentType;t.parentType="blockquote";let f=!1,p;for(p=e;p=s)break;if(t.src.charCodeAt(r++)===62&&!S){let x=t.sCount[p]+1,Q,T;t.src.charCodeAt(r)===32?(r++,x++,T=!1,Q=!0):t.src.charCodeAt(r)===9?(Q=!0,(t.bsCount[p]+x)%4===3?(r++,x++,T=!1):T=!0):Q=!1;let _=x;for(l.push(t.bMarks[p]),t.bMarks[p]=r;r=s,a.push(t.bsCount[p]),t.bsCount[p]=t.sCount[p]+1+(Q?1:0),u.push(t.sCount[p]),t.sCount[p]=_-x,c.push(t.tShift[p]),t.tShift[p]=r-t.bMarks[p];continue}if(f)break;let y=!1;for(let x=0,Q=h.length;x";const g=[e,0];O.map=g,t.md.block.tokenize(t,e,p);const b=t.push("blockquote_close","blockquote",-1);b.markup=">",t.lineMax=o,t.parentType=d,g[1]=t.line;for(let S=0;S=4)return!1;let s=t.bMarks[e]+t.tShift[e];const o=t.src.charCodeAt(s++);if(o!==42&&o!==45&&o!==95)return!1;let l=1;for(;s=n)return-1;let s=t.src.charCodeAt(r++);if(s<48||s>57)return-1;for(;;){if(r>=n)return-1;if(s=t.src.charCodeAt(r++),s>=48&&s<=57){if(r-i>=10)return-1;continue}if(s===41||s===46)break;return-1}return r=4||t.listIndent>=0&&t.sCount[a]-t.listIndent>=4&&t.sCount[a]=t.blkIndent&&(c=!0);let h,d,f;if((f=th(t,a))>=0){if(h=!0,o=t.bMarks[a]+t.tShift[a],d=Number(t.src.slice(o,f-1)),c&&d!==1)return!1}else if((f=eh(t,a))>=0)h=!1;else return!1;if(c&&t.skipSpaces(f)>=t.eMarks[a])return!1;if(n)return!0;const p=t.src.charCodeAt(f-1),m=t.tokens.length;h?(l=t.push("ordered_list_open","ol",1),d!==1&&(l.attrs=[["start",d]])):l=t.push("bullet_list_open","ul",1);const O=[a,0];l.map=O,l.markup=String.fromCharCode(p);let g=!1;const b=t.md.block.ruler.getRules("list"),S=t.parentType;for(t.parentType="list";a=r?T=1:T=x-y,T>4&&(T=1);const _=y+T;l=t.push("list_item_open","li",1),l.markup=String.fromCharCode(p);const C=[a,0];l.map=C,h&&(l.info=t.src.slice(o,f-1));const F=t.tight,B=t.tShift[a],E=t.sCount[a],Z=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=_,t.tight=!0,t.tShift[a]=Q-t.bMarks[a],t.sCount[a]=x,Q>=r&&t.isEmpty(a+1)?t.line=Math.min(t.line+2,i):t.md.block.tokenize(t,a,i,!0),(!t.tight||g)&&(u=!1),g=t.line-a>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=Z,t.tShift[a]=B,t.sCount[a]=E,t.tight=F,l=t.push("list_item_close","li",-1),l.markup=String.fromCharCode(p),a=t.line,C[1]=a,a>=i||t.sCount[a]=4)break;let q=!1;for(let j=0,D=b.length;j=4||t.src.charCodeAt(r)!==91)return!1;function l(b){const S=t.lineMax;if(b>=S||t.isEmpty(b))return null;let y=!1;if(t.sCount[b]-t.blkIndent>3&&(y=!0),t.sCount[b]<0&&(y=!0),!y){const T=t.md.block.ruler.getRules("reference"),_=t.parentType;t.parentType="reference";let C=!1;for(let F=0,B=T.length;F"u"&&(t.env.references={}),typeof t.env.references[g]>"u"&&(t.env.references[g]={title:O,href:h}),t.line=o),!0):!1}const Rx=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ix="[a-zA-Z_:][a-zA-Z0-9:._-]*",Zx="[^\"'=<>`\\x00-\\x20]+",zx="'[^']*'",Xx='"[^"]*"',Fx="(?:"+Zx+"|"+zx+"|"+Xx+")",Bx="(?:\\s+"+Ix+"(?:\\s*=\\s*"+Fx+")?)",Mp="<[A-Za-z][A-Za-z0-9\\-]*"+Bx+"*\\s*\\/?>",Rp="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Vx="",qx="<[?][\\s\\S]*?[?]>",jx="]*>",Wx="",Nx=new RegExp("^(?:"+Mp+"|"+Rp+"|"+Vx+"|"+qx+"|"+jx+"|"+Wx+")"),Yx=new RegExp("^(?:"+Mp+"|"+Rp+")"),Yi=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Yx.source+"\\s*$"),/^$/,!1]];function Gx(t,e,i,n){let r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(r)!==60)return!1;let o=t.src.slice(r,s),l=0;for(;l=4)return!1;let o=t.src.charCodeAt(r);if(o!==35||r>=s)return!1;let l=1;for(o=t.src.charCodeAt(++r);o===35&&r6||rr&&ve(t.src.charCodeAt(a-1))&&(s=a),t.line=e+1;const u=t.push("heading_open","h"+String(l),1);u.markup="########".slice(0,l),u.map=[e,t.line];const c=t.push("inline","",0);c.content=t.src.slice(r,s).trim(),c.map=[e,t.line],c.children=[];const h=t.push("heading_close","h"+String(l),-1);return h.markup="########".slice(0,l),!0}function Hx(t,e,i){const n=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const r=t.parentType;t.parentType="paragraph";let s=0,o,l=e+1;for(;l3)continue;if(t.sCount[l]>=t.blkIndent){let f=t.bMarks[l]+t.tShift[l];const p=t.eMarks[l];if(f=p))){s=o===61?1:2;break}}if(t.sCount[l]<0)continue;let d=!1;for(let f=0,p=n.length;f3||t.sCount[s]<0)continue;let u=!1;for(let c=0,h=n.length;c=i||t.sCount[o]=s){t.line=i;break}const a=t.line;let u=!1;for(let c=0;c=t.line)throw new Error("block rule didn't increment state.line");break}if(!u)throw new Error("none of the block rules matched");t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),o=t.line,o0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n};Vr.prototype.scanDelims=function(t,e){const i=this.posMax,n=this.src.charCodeAt(t),r=t>0?this.src.charCodeAt(t-1):32;let s=t;for(;s0)return!1;const i=t.pos,n=t.posMax;if(i+3>n||t.src.charCodeAt(i)!==58||t.src.charCodeAt(i+1)!==47||t.src.charCodeAt(i+2)!==47)return!1;const r=t.pending.match(t2);if(!r)return!1;const s=r[1],o=t.md.linkify.matchAtStart(t.src.slice(i-s.length));if(!o)return!1;let l=o.url;if(l.length<=s.length)return!1;let a=l.length;for(;a>0&&l.charCodeAt(a-1)===42;)a--;a!==l.length&&(l=l.slice(0,a));const u=t.md.normalizeLink(l);if(!t.md.validateLink(u))return!1;if(!e){t.pending=t.pending.slice(0,-s.length);const c=t.push("link_open","a",1);c.attrs=[["href",u]],c.markup="linkify",c.info="auto";const h=t.push("text","",0);h.content=t.md.normalizeLinkText(l);const d=t.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return t.pos+=l.length-s.length,!0}function n2(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==10)return!1;const n=t.pending.length-1,r=t.posMax;if(!e)if(n>=0&&t.pending.charCodeAt(n)===32)if(n>=1&&t.pending.charCodeAt(n-1)===32){let s=n-1;for(;s>=1&&t.pending.charCodeAt(s-1)===32;)s--;t.pending=t.pending.slice(0,s),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){Qu[t.charCodeAt(0)]=1});function r2(t,e){let i=t.pos;const n=t.posMax;if(t.src.charCodeAt(i)!==92||(i++,i>=n))return!1;let r=t.src.charCodeAt(i);if(r===10){for(e||t.push("hardbreak","br",0),i++;i=55296&&r<=56319&&i+1=56320&&l<=57343&&(s+=t.src[i+1],i++)}const o="\\"+s;if(!e){const l=t.push("text_special","",0);r<256&&Qu[r]!==0?l.content=s:l.content=o,l.markup=o,l.info="escape"}return t.pos=i+1,!0}function s2(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==96)return!1;const r=i;i++;const s=t.posMax;for(;i=0;n--){const r=e[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const s=e[r.end],o=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===s.token+1,l=String.fromCharCode(r.marker),a=t.tokens[r.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?l+l:l,a.content="";const u=t.tokens[s.token];u.type=o?"strong_close":"em_close",u.tag=o?"strong":"em",u.nesting=-1,u.markup=o?l+l:l,u.content="",o&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--)}}function u2(t){const e=t.tokens_meta,i=t.tokens_meta.length;nh(t,t.delimiters);for(let n=0;n=h)return!1;if(a=p,r=t.md.helpers.parseLinkDestination(t.src,p,t.posMax),r.ok){for(o=t.md.normalizeLink(r.str),t.md.validateLink(o)?p=r.pos:o="",a=p;p=h||t.src.charCodeAt(p)!==41)&&(u=!0),p++}if(u){if(typeof t.env.references>"u")return!1;if(p=0?n=t.src.slice(a,p++):p=f+1):p=f+1,n||(n=t.src.slice(d,f)),s=t.env.references[Zo(n)],!s)return t.pos=c,!1;o=s.href,l=s.title}if(!e){t.pos=d,t.posMax=f;const m=t.push("link_open","a",1),O=[["href",o]];m.attrs=O,l&&O.push(["title",l]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=p,t.posMax=h,!0}function h2(t,e){let i,n,r,s,o,l,a,u,c="";const h=t.pos,d=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91)return!1;const f=t.pos+2,p=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(p<0)return!1;if(s=p+1,s=d)return!1;for(u=s,l=t.md.helpers.parseLinkDestination(t.src,s,t.posMax),l.ok&&(c=t.md.normalizeLink(l.str),t.md.validateLink(c)?s=l.pos:c=""),u=s;s=d||t.src.charCodeAt(s)!==41)return t.pos=h,!1;s++}else{if(typeof t.env.references>"u")return!1;if(s=0?r=t.src.slice(u,s++):s=p+1):s=p+1,r||(r=t.src.slice(f,p)),o=t.env.references[Zo(r)],!o)return t.pos=h,!1;c=o.href,a=o.title}if(!e){n=t.src.slice(f,p);const m=[];t.md.inline.parse(n,t.md,t.env,m);const O=t.push("image","img",0),g=[["src",c],["alt",""]];O.attrs=g,O.children=m,O.content=n,a&&g.push(["title",a])}return t.pos=s,t.posMax=d,!0}const d2=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,f2=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function p2(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==60)return!1;const n=t.pos,r=t.posMax;for(;;){if(++i>=r)return!1;const o=t.src.charCodeAt(i);if(o===60)return!1;if(o===62)break}const s=t.src.slice(n+1,i);if(f2.test(s)){const o=t.md.normalizeLink(s);if(!t.md.validateLink(o))return!1;if(!e){const l=t.push("link_open","a",1);l.attrs=[["href",o]],l.markup="autolink",l.info="auto";const a=t.push("text","",0);a.content=t.md.normalizeLinkText(s);const u=t.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return t.pos+=s.length+2,!0}if(d2.test(s)){const o=t.md.normalizeLink("mailto:"+s);if(!t.md.validateLink(o))return!1;if(!e){const l=t.push("link_open","a",1);l.attrs=[["href",o]],l.markup="autolink",l.info="auto";const a=t.push("text","",0);a.content=t.md.normalizeLinkText(s);const u=t.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return t.pos+=s.length+2,!0}return!1}function m2(t){return/^\s]/i.test(t)}function O2(t){return/^<\/a\s*>/i.test(t)}function g2(t){const e=t|32;return e>=97&&e<=122}function b2(t,e){if(!t.md.options.html)return!1;const i=t.posMax,n=t.pos;if(t.src.charCodeAt(n)!==60||n+2>=i)return!1;const r=t.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!g2(r))return!1;const s=t.src.slice(n).match(Nx);if(!s)return!1;if(!e){const o=t.push("html_inline","",0);o.content=s[0],m2(o.content)&&t.linkLevel++,O2(o.content)&&t.linkLevel--}return t.pos+=s[0].length,!0}const x2=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,k2=/^&([a-z][a-z0-9]{1,31});/i;function y2(t,e){const i=t.pos,n=t.posMax;if(t.src.charCodeAt(i)!==38||i+1>=n)return!1;if(t.src.charCodeAt(i+1)===35){const s=t.src.slice(i).match(x2);if(s){if(!e){const o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),l=t.push("text_special","",0);l.content=Su(o)?Js(o):Js(65533),l.markup=s[0],l.info="entity"}return t.pos+=s[0].length,!0}}else{const s=t.src.slice(i).match(k2);if(s){const o=Cp(s[0]);if(o!==s[0]){if(!e){const l=t.push("text_special","",0);l.content=o,l.markup=s[0],l.info="entity"}return t.pos+=s[0].length,!0}}}return!1}function rh(t){const e={},i=t.length;if(!i)return;let n=0,r=-2;const s=[];for(let o=0;oa;u-=s[u]+1){const h=t[u];if(h.marker===l.marker&&h.open&&h.end<0){let d=!1;if((h.close||l.open)&&(h.length+l.length)%3===0&&(h.length%3!==0||l.length%3!==0)&&(d=!0),!d){const f=u>0&&!t[u-1].open?s[u-1]+1:0;s[o]=o-u+f,s[u]=f,l.open=!1,h.end=o,h.close=!1,c=-1,r=-2;break}}}c!==-1&&(e[l.marker][(l.open?3:0)+(l.length||0)%3]=c)}}function v2(t){const e=t.tokens_meta,i=t.tokens_meta.length;rh(t.delimiters);for(let n=0;n0&&n++,r[e].type==="text"&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;o||t.pos++,s[e]=t.pos};qr.prototype.tokenize=function(t){const e=this.ruler.getRules(""),i=e.length,n=t.posMax,r=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(t.pos>=n)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};qr.prototype.parse=function(t,e,i,n){const r=new this.State(t,e,i,n);this.tokenize(r);const s=this.ruler2.getRules(""),o=s.length;for(let l=0;l|$))",e.tpl_email_fuzzy="(^|"+i+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function fa(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){i&&Object.keys(i).forEach(function(n){t[n]=i[n]})}),t}function Xo(t){return Object.prototype.toString.call(t)}function Q2(t){return Xo(t)==="[object String]"}function $2(t){return Xo(t)==="[object Object]"}function T2(t){return Xo(t)==="[object RegExp]"}function sh(t){return Xo(t)==="[object Function]"}function _2(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const zp={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function P2(t){return Object.keys(t||{}).reduce(function(e,i){return e||zp.hasOwnProperty(i)},!1)}const C2={"http:":{validate:function(t,e,i){const n=t.slice(e);return i.re.http||(i.re.http=new RegExp("^\\/\\/"+i.re.src_auth+i.re.src_host_port_strict+i.re.src_path,"i")),i.re.http.test(n)?n.match(i.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,i){const n=t.slice(e);return i.re.no_http||(i.re.no_http=new RegExp("^"+i.re.src_auth+"(?:localhost|(?:(?:"+i.re.src_domain+")\\.)+"+i.re.src_domain_root+")"+i.re.src_port+i.re.src_host_terminator+i.re.src_path,"i")),i.re.no_http.test(n)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:n.match(i.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,i){const n=t.slice(e);return i.re.mailto||(i.re.mailto=new RegExp("^"+i.re.src_email_name+"@"+i.re.src_host_strict,"i")),i.re.mailto.test(n)?n.match(i.re.mailto)[0].length:0}}},A2="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",E2="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function L2(t){t.__index__=-1,t.__text_cache__=""}function D2(t){return function(e,i){const n=e.slice(i);return t.test(n)?n.match(t)[0].length:0}}function oh(){return function(t,e){e.normalize(t)}}function eo(t){const e=t.re=w2(t.__opts__),i=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||i.push(A2),i.push(e.src_xn),e.src_tlds=i.join("|");function n(l){return l.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");const r=[];t.__compiled__={};function s(l,a){throw new Error('(LinkifyIt) Invalid schema "'+l+'": '+a)}Object.keys(t.__schemas__).forEach(function(l){const a=t.__schemas__[l];if(a===null)return;const u={validate:null,link:null};if(t.__compiled__[l]=u,$2(a)){T2(a.validate)?u.validate=D2(a.validate):sh(a.validate)?u.validate=a.validate:s(l,a),sh(a.normalize)?u.normalize=a.normalize:a.normalize?s(l,a):u.normalize=oh();return}if(Q2(a)){r.push(l);return}s(l,a)}),r.forEach(function(l){t.__compiled__[t.__schemas__[l]]&&(t.__compiled__[l].validate=t.__compiled__[t.__schemas__[l]].validate,t.__compiled__[l].normalize=t.__compiled__[t.__schemas__[l]].normalize)}),t.__compiled__[""]={validate:null,normalize:oh()};const o=Object.keys(t.__compiled__).filter(function(l){return l.length>0&&t.__compiled__[l]}).map(_2).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),L2(t)}function M2(t,e){const i=t.__index__,n=t.__last_index__,r=t.__text_cache__.slice(i,n);this.schema=t.__schema__.toLowerCase(),this.index=i+e,this.lastIndex=n+e,this.raw=r,this.text=r,this.url=r}function pa(t,e){const i=new M2(t,e);return t.__compiled__[i.schema].normalize(i,t),i}function mt(t,e){if(!(this instanceof mt))return new mt(t,e);e||P2(t)&&(e=t,t={}),this.__opts__=fa({},zp,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=fa({},C2,t),this.__compiled__={},this.__tlds__=E2,this.__tlds_replaced__=!1,this.re={},eo(this)}mt.prototype.add=function(e,i){return this.__schemas__[e]=i,eo(this),this};mt.prototype.set=function(e){return this.__opts__=fa(this.__opts__,e),this};mt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let i,n,r,s,o,l,a,u,c;if(this.re.schema_test.test(e)){for(a=this.re.schema_search,a.lastIndex=0;(i=a.exec(e))!==null;)if(s=this.testSchemaAt(e,i[2],a.lastIndex),s){this.__schema__=i[2],this.__index__=i.index+i[1].length,this.__last_index__=i.index+i[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u=0&&(r=e.match(this.re.email_fuzzy))!==null&&(o=r.index+r[1].length,l=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=l))),this.__index__>=0};mt.prototype.pretest=function(e){return this.re.pretest.test(e)};mt.prototype.testSchemaAt=function(e,i,n){return this.__compiled__[i.toLowerCase()]?this.__compiled__[i.toLowerCase()].validate(e,n,this):0};mt.prototype.match=function(e){const i=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(i.push(pa(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)i.push(pa(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return i.length?i:null};mt.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const i=this.re.schema_at_start.exec(e);if(!i)return null;const n=this.testSchemaAt(e,i[2],i[0].length);return n?(this.__schema__=i[2],this.__index__=i.index+i[1].length,this.__last_index__=i.index+i[0].length+n,pa(this,0)):null};mt.prototype.tlds=function(e,i){return e=Array.isArray(e)?e:[e],i?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,r,s){return n!==s[r-1]}).reverse(),eo(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,eo(this),this)};mt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};mt.prototype.onCompile=function(){};const sn=2147483647,Ft=36,$u=1,yr=26,R2=38,I2=700,Xp=72,Fp=128,Bp="-",Z2=/^xn--/,z2=/[^\0-\x7F]/,X2=/[\x2E\u3002\uFF0E\uFF61]/g,F2={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ul=Ft-$u,Bt=Math.floor,cl=String.fromCharCode;function ci(t){throw new RangeError(F2[t])}function B2(t,e){const i=[];let n=t.length;for(;n--;)i[n]=e(t[n]);return i}function Vp(t,e){const i=t.split("@");let n="";i.length>1&&(n=i[0]+"@",t=i[1]),t=t.replace(X2,".");const r=t.split("."),s=B2(r,e).join(".");return n+s}function qp(t){const e=[];let i=0;const n=t.length;for(;i=55296&&r<=56319&&iString.fromCodePoint(...t),q2=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Ft},lh=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},jp=function(t,e,i){let n=0;for(t=i?Bt(t/I2):t>>1,t+=Bt(t/e);t>ul*yr>>1;n+=Ft)t=Bt(t/ul);return Bt(n+(ul+1)*t/(t+R2))},Wp=function(t){const e=[],i=t.length;let n=0,r=Fp,s=Xp,o=t.lastIndexOf(Bp);o<0&&(o=0);for(let l=0;l=128&&ci("not-basic"),e.push(t.charCodeAt(l));for(let l=o>0?o+1:0;l=i&&ci("invalid-input");const d=q2(t.charCodeAt(l++));d>=Ft&&ci("invalid-input"),d>Bt((sn-n)/c)&&ci("overflow"),n+=d*c;const f=h<=s?$u:h>=s+yr?yr:h-s;if(dBt(sn/p)&&ci("overflow"),c*=p}const u=e.length+1;s=jp(n-a,u,a==0),Bt(n/u)>sn-r&&ci("overflow"),r+=Bt(n/u),n%=u,e.splice(n++,0,r)}return String.fromCodePoint(...e)},Np=function(t){const e=[];t=qp(t);const i=t.length;let n=Fp,r=0,s=Xp;for(const a of t)a<128&&e.push(cl(a));const o=e.length;let l=o;for(o&&e.push(Bp);l=n&&cBt((sn-r)/u)&&ci("overflow"),r+=(a-n)*u,n=a;for(const c of t)if(csn&&ci("overflow"),c===n){let h=r;for(let d=Ft;;d+=Ft){const f=d<=s?$u:d>=s+yr?yr:d-s;if(h=0))try{e.hostname=Yp.toASCII(e.hostname)}catch{}return Br(xu(e))}function tk(t){const e=ku(t,!0);if(e.hostname&&(!e.protocol||Gp.indexOf(e.protocol)>=0))try{e.hostname=Yp.toUnicode(e.hostname)}catch{}return mn(xu(e),mn.defaultChars+"%")}function wt(t,e){if(!(this instanceof wt))return new wt(t,e);e||vu(t)||(e=t||{},t="default"),this.inline=new qr,this.block=new zo,this.core=new wu,this.renderer=new An,this.linkify=new mt,this.validateLink=J2,this.normalizeLink=ek,this.normalizeLinkText=tk,this.utils=nx,this.helpers=Io({},lx),this.options={},this.configure(t),e&&this.set(e)}wt.prototype.set=function(t){return Io(this.options,t),this};wt.prototype.configure=function(t){const e=this;if(vu(t)){const i=t;if(t=U2[i],!t)throw new Error('Wrong `markdown-it` preset "'+i+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(i){t.components[i].rules&&e[i].ruler.enableOnly(t.components[i].rules),t.components[i].rules2&&e[i].ruler2.enableOnly(t.components[i].rules2)}),this};wt.prototype.enable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.enable(t,!0))},this),i=i.concat(this.inline.ruler2.enable(t,!0));const n=t.filter(function(r){return i.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};wt.prototype.disable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.disable(t,!0))},this),i=i.concat(this.inline.ruler2.disable(t,!0));const n=t.filter(function(r){return i.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};wt.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};wt.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");const i=new this.core.State(t,this,e);return this.core.process(i),i.tokens};wt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};wt.prototype.parseInline=function(t,e){const i=new this.core.State(t,this,e);return i.inlineMode=!0,this.core.process(i),i.tokens};wt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};const ah=new Set([!0,!1,"alt","title"]);function Up(t,e){return(Array.isArray(t)?t:[]).filter(([i])=>i!==e)}function Hp(t,e){t&&t.attrs&&(t.attrs=Up(t.attrs,e))}function ik(t,e){if(!ah.has(t))throw new TypeError(`figcaption must be one of: ${[...ah]}.`);if(t==="alt")return e.content;const i=e.attrs.find(([n])=>n==="title");return Array.isArray(i)&&i[1]?(Hp(e,"title"),i[1]):void 0}function nk(t,e){e=e||{},t.core.ruler.before("linkify","image_figures",function(i){let n=1;for(let r=1,s=i.tokens.length;rc.match(u)).map(c=>Array.from(c))}if(e.tabindex&&(i.tokens[r-1].attrPush(["tabindex",n]),n++),e.lazy&&(a.attrs.some(([u])=>u==="loading")||a.attrs.push(["loading","lazy"])),e.async&&(a.attrs.some(([u])=>u==="decoding")||a.attrs.push(["decoding","async"])),e.classes&&typeof e.classes=="string"){let u=!1;for(let c=0,h=a.attrs.length;cc==="src");a.attrs.push(["data-src",u[1]]),Hp(a,"src")}}})}const rk=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function sk(t,e){const i=t.posMax,n=t.pos;if(t.src.charCodeAt(n)!==126||e||n+2>=i)return!1;t.pos=n+1;let r=!1;for(;t.pos?@[\]^_`{|}~-])/g;function ak(t,e){const i=t.posMax,n=t.pos;if(t.src.charCodeAt(n)!==94||e||n+2>=i)return!1;t.pos=n+1;let r=!1;for(;t.pos{typeof ma.emitWarning=="function"?ma.emitWarning(t,e,i,n):console.error(`[${i}] ${e}: ${t}`)},to=globalThis.AbortController,uh=globalThis.AbortSignal;if(typeof to>"u"){uh=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,n){this._onabort.push(n)}},to=class{constructor(){e()}signal=new uh;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(let n of this.signal._onabort)n(i);this.signal.onabort?.(i)}}};let t=ma.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{t&&(t=!1,Jp("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}var hk=t=>!Kp.has(t),ui=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),em=t=>ui(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Rs:null:null,Rs=class extends Array{constructor(e){super(e),this.fill(0)}},dk=class Un{heap;length;static#l=!1;static create(e){let i=em(e);if(!i)return[];Un.#l=!0;let n=new Un(e,i);return Un.#l=!1,n}constructor(e,i){if(!Un.#l)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new i(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},fk=class tm{#l;#h;#O;#P;#g;#L;#D;#b;get perf(){return this.#b}ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#r;#x;#n;#i;#e;#u;#d;#a;#s;#k;#o;#y;#v;#f;#p;#S;#_;#c;#M;static unsafeExposeInternals(e){return{starts:e.#v,ttls:e.#f,autopurgeTimers:e.#p,sizes:e.#y,keyMap:e.#n,keyList:e.#i,valList:e.#e,next:e.#u,prev:e.#d,get head(){return e.#a},get tail(){return e.#s},free:e.#k,isBackgroundFetch:i=>e.#t(i),backgroundFetch:(i,n,r,s)=>e.#Z(i,n,r,s),moveToTail:i=>e.#E(i),indexes:i=>e.#w(i),rindexes:i=>e.#Q(i),isStale:i=>e.#m(i)}}get max(){return this.#l}get maxSize(){return this.#h}get calculatedSize(){return this.#x}get size(){return this.#r}get fetchMethod(){return this.#L}get memoMethod(){return this.#D}get dispose(){return this.#O}get onInsert(){return this.#P}get disposeAfter(){return this.#g}constructor(e){let{max:i=0,ttl:n,ttlResolution:r=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:l,allowStale:a,dispose:u,onInsert:c,disposeAfter:h,noDisposeOnSet:d,noUpdateTTL:f,maxSize:p=0,maxEntrySize:m=0,sizeCalculation:O,fetchMethod:g,memoMethod:b,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:y,allowStaleOnFetchRejection:x,allowStaleOnFetchAbort:Q,ignoreFetchAbort:T,perf:_}=e;if(_!==void 0&&typeof _?.now!="function")throw new TypeError("perf option must have a now() method if specified");if(this.#b=_??ck,i!==0&&!ui(i))throw new TypeError("max option must be a nonnegative integer");let C=i?em(i):Array;if(!C)throw new Error("invalid max value: "+i);if(this.#l=i,this.#h=p,this.maxEntrySize=m||this.#h,this.sizeCalculation=O,this.sizeCalculation){if(!this.#h&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(b!==void 0&&typeof b!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#D=b,g!==void 0&&typeof g!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#L=g,this.#_=!!g,this.#n=new Map,this.#i=new Array(i).fill(void 0),this.#e=new Array(i).fill(void 0),this.#u=new C(i),this.#d=new C(i),this.#a=0,this.#s=0,this.#k=dk.create(i),this.#r=0,this.#x=0,typeof u=="function"&&(this.#O=u),typeof c=="function"&&(this.#P=c),typeof h=="function"?(this.#g=h,this.#o=[]):(this.#g=void 0,this.#o=void 0),this.#S=!!this.#O,this.#M=!!this.#P,this.#c=!!this.#g,this.noDisposeOnSet=!!d,this.noUpdateTTL=!!f,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!x,this.allowStaleOnFetchAbort=!!Q,this.ignoreFetchAbort=!!T,this.maxEntrySize!==0){if(this.#h!==0&&!ui(this.#h))throw new TypeError("maxSize must be a positive integer if specified");if(!ui(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#j()}if(this.allowStale=!!a,this.noDeleteOnStaleGet=!!y,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!l,this.ttlResolution=ui(r)||r===0?r:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!ui(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#z()}if(this.#l===0&&this.ttl===0&&this.#h===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#l&&!this.#h){let F="LRU_CACHE_UNBOUNDED";hk(F)&&(Kp.add(F),Jp("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",F,tm))}}getRemainingTTL(e){return this.#n.has(e)?1/0:0}#z(){let e=new Rs(this.#l),i=new Rs(this.#l);this.#f=e,this.#v=i;let n=this.ttlAutopurge?new Array(this.#l):void 0;this.#p=n,this.#X=(o,l,a=this.#b.now())=>{if(i[o]=l!==0?a:0,e[o]=l,n?.[o]&&(clearTimeout(n[o]),n[o]=void 0),l!==0&&n){let u=setTimeout(()=>{this.#m(o)&&this.#$(this.#i[o],"expire")},l+1);u.unref&&u.unref(),n[o]=u}},this.#C=o=>{i[o]=e[o]!==0?this.#b.now():0},this.#T=(o,l)=>{if(e[l]){let a=e[l],u=i[l];if(!a||!u)return;o.ttl=a,o.start=u,o.now=r||s();let c=o.now-u;o.remainingTTL=a-c}};let r=0,s=()=>{let o=this.#b.now();if(this.ttlResolution>0){r=o;let l=setTimeout(()=>r=0,this.ttlResolution);l.unref&&l.unref()}return o};this.getRemainingTTL=o=>{let l=this.#n.get(o);if(l===void 0)return 0;let a=e[l],u=i[l];if(!a||!u)return 1/0;let c=(r||s())-u;return a-c},this.#m=o=>{let l=i[o],a=e[o];return!!a&&!!l&&(r||s())-l>a}}#C=()=>{};#T=()=>{};#X=()=>{};#m=()=>!1;#j(){let e=new Rs(this.#l);this.#x=0,this.#y=e,this.#A=i=>{this.#x-=e[i],e[i]=0},this.#F=(i,n,r,s)=>{if(this.#t(n))return 0;if(!ui(r))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(r=s(n,i),!ui(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return r},this.#R=(i,n,r)=>{if(e[i]=n,this.#h){let s=this.#h-e[i];for(;this.#x>s;)this.#I(!0)}this.#x+=e[i],r&&(r.entrySize=n,r.totalCalculatedSize=this.#x)}}#A=e=>{};#R=(e,i,n)=>{};#F=(e,i,n,r)=>{if(n||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#w({allowStale:e=this.allowStale}={}){if(this.#r)for(let i=this.#s;!(!this.#B(i)||((e||!this.#m(i))&&(yield i),i===this.#a));)i=this.#d[i]}*#Q({allowStale:e=this.allowStale}={}){if(this.#r)for(let i=this.#a;!(!this.#B(i)||((e||!this.#m(i))&&(yield i),i===this.#s));)i=this.#u[i]}#B(e){return e!==void 0&&this.#n.get(this.#i[e])===e}*entries(){for(let e of this.#w())this.#e[e]!==void 0&&this.#i[e]!==void 0&&!this.#t(this.#e[e])&&(yield[this.#i[e],this.#e[e]])}*rentries(){for(let e of this.#Q())this.#e[e]!==void 0&&this.#i[e]!==void 0&&!this.#t(this.#e[e])&&(yield[this.#i[e],this.#e[e]])}*keys(){for(let e of this.#w()){let i=this.#i[e];i!==void 0&&!this.#t(this.#e[e])&&(yield i)}}*rkeys(){for(let e of this.#Q()){let i=this.#i[e];i!==void 0&&!this.#t(this.#e[e])&&(yield i)}}*values(){for(let e of this.#w())this.#e[e]!==void 0&&!this.#t(this.#e[e])&&(yield this.#e[e])}*rvalues(){for(let e of this.#Q())this.#e[e]!==void 0&&!this.#t(this.#e[e])&&(yield this.#e[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,i={}){for(let n of this.#w()){let r=this.#e[n],s=this.#t(r)?r.__staleWhileFetching:r;if(s!==void 0&&e(s,this.#i[n],this))return this.get(this.#i[n],i)}}forEach(e,i=this){for(let n of this.#w()){let r=this.#e[n],s=this.#t(r)?r.__staleWhileFetching:r;s!==void 0&&e.call(i,s,this.#i[n],this)}}rforEach(e,i=this){for(let n of this.#Q()){let r=this.#e[n],s=this.#t(r)?r.__staleWhileFetching:r;s!==void 0&&e.call(i,s,this.#i[n],this)}}purgeStale(){let e=!1;for(let i of this.#Q({allowStale:!0}))this.#m(i)&&(this.#$(this.#i[i],"expire"),e=!0);return e}info(e){let i=this.#n.get(e);if(i===void 0)return;let n=this.#e[i],r=this.#t(n)?n.__staleWhileFetching:n;if(r===void 0)return;let s={value:r};if(this.#f&&this.#v){let o=this.#f[i],l=this.#v[i];if(o&&l){let a=o-(this.#b.now()-l);s.ttl=a,s.start=Date.now()}}return this.#y&&(s.size=this.#y[i]),s}dump(){let e=[];for(let i of this.#w({allowStale:!0})){let n=this.#i[i],r=this.#e[i],s=this.#t(r)?r.__staleWhileFetching:r;if(s===void 0||n===void 0)continue;let o={value:s};if(this.#f&&this.#v){o.ttl=this.#f[i];let l=this.#b.now()-this.#v[i];o.start=Math.floor(Date.now()-l)}this.#y&&(o.size=this.#y[i]),e.unshift([n,o])}return e}load(e){this.clear();for(let[i,n]of e){if(n.start){let r=Date.now()-n.start;n.start=this.#b.now()-r}this.set(i,n.value,n)}}set(e,i,n={}){if(i===void 0)return this.delete(e),this;let{ttl:r=this.ttl,start:s,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:l=this.sizeCalculation,status:a}=n,{noUpdateTTL:u=this.noUpdateTTL}=n,c=this.#F(e,i,n.size||0,l);if(this.maxEntrySize&&c>this.maxEntrySize)return a&&(a.set="miss",a.maxEntrySizeExceeded=!0),this.#$(e,"set"),this;let h=this.#r===0?void 0:this.#n.get(e);if(h===void 0)h=this.#r===0?this.#s:this.#k.length!==0?this.#k.pop():this.#r===this.#l?this.#I(!1):this.#r,this.#i[h]=e,this.#e[h]=i,this.#n.set(e,h),this.#u[this.#s]=h,this.#d[h]=this.#s,this.#s=h,this.#r++,this.#R(h,c,a),a&&(a.set="add"),u=!1,this.#M&&this.#P?.(i,e,"add");else{this.#E(h);let d=this.#e[h];if(i!==d){if(this.#_&&this.#t(d)){d.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:f}=d;f!==void 0&&!o&&(this.#S&&this.#O?.(f,e,"set"),this.#c&&this.#o?.push([f,e,"set"]))}else o||(this.#S&&this.#O?.(d,e,"set"),this.#c&&this.#o?.push([d,e,"set"]));if(this.#A(h),this.#R(h,c,a),this.#e[h]=i,a){a.set="replace";let f=d&&this.#t(d)?d.__staleWhileFetching:d;f!==void 0&&(a.oldValue=f)}}else a&&(a.set="update");this.#M&&this.onInsert?.(i,e,i===d?"update":"replace")}if(r!==0&&!this.#f&&this.#z(),this.#f&&(u||this.#X(h,r,s),a&&this.#T(a,h)),!o&&this.#c&&this.#o){let d=this.#o,f;for(;f=d?.shift();)this.#g?.(...f)}return this}pop(){try{for(;this.#r;){let e=this.#e[this.#a];if(this.#I(!0),this.#t(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#c&&this.#o){let e=this.#o,i;for(;i=e?.shift();)this.#g?.(...i)}}}#I(e){let i=this.#a,n=this.#i[i],r=this.#e[i];return this.#_&&this.#t(r)?r.__abortController.abort(new Error("evicted")):(this.#S||this.#c)&&(this.#S&&this.#O?.(r,n,"evict"),this.#c&&this.#o?.push([r,n,"evict"])),this.#A(i),this.#p?.[i]&&(clearTimeout(this.#p[i]),this.#p[i]=void 0),e&&(this.#i[i]=void 0,this.#e[i]=void 0,this.#k.push(i)),this.#r===1?(this.#a=this.#s=0,this.#k.length=0):this.#a=this.#u[i],this.#n.delete(n),this.#r--,i}has(e,i={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:r}=i,s=this.#n.get(e);if(s!==void 0){let o=this.#e[s];if(this.#t(o)&&o.__staleWhileFetching===void 0)return!1;if(this.#m(s))r&&(r.has="stale",this.#T(r,s));else return n&&this.#C(s),r&&(r.has="hit",this.#T(r,s)),!0}else r&&(r.has="miss");return!1}peek(e,i={}){let{allowStale:n=this.allowStale}=i,r=this.#n.get(e);if(r===void 0||!n&&this.#m(r))return;let s=this.#e[r];return this.#t(s)?s.__staleWhileFetching:s}#Z(e,i,n,r){let s=i===void 0?void 0:this.#e[i];if(this.#t(s))return s;let o=new to,{signal:l}=n;l?.addEventListener("abort",()=>o.abort(l.reason),{signal:o.signal});let a={signal:o.signal,options:n,context:r},u=(m,O=!1)=>{let{aborted:g}=o.signal,b=n.ignoreFetchAbort&&m!==void 0,S=n.ignoreFetchAbort||!!(n.allowStaleOnFetchAbort&&m!==void 0);if(n.status&&(g&&!O?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,b&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),g&&!b&&!O)return h(o.signal.reason,S);let y=f,x=this.#e[i];return(x===f||b&&O&&x===void 0)&&(m===void 0?y.__staleWhileFetching!==void 0?this.#e[i]=y.__staleWhileFetching:this.#$(e,"fetch"):(n.status&&(n.status.fetchUpdated=!0),this.set(e,m,a.options))),m},c=m=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=m),h(m,!1)),h=(m,O)=>{let{aborted:g}=o.signal,b=g&&n.allowStaleOnFetchAbort,S=b||n.allowStaleOnFetchRejection,y=S||n.noDeleteOnFetchRejection,x=f;if(this.#e[i]===f&&(!y||!O&&x.__staleWhileFetching===void 0?this.#$(e,"fetch"):b||(this.#e[i]=x.__staleWhileFetching)),S)return n.status&&x.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),x.__staleWhileFetching;if(x.__returned===x)throw m},d=(m,O)=>{let g=this.#L?.(e,s,a);g&&g instanceof Promise&&g.then(b=>m(b===void 0?void 0:b),O),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(m(void 0),n.allowStaleOnFetchAbort&&(m=b=>u(b,!0)))})};n.status&&(n.status.fetchDispatched=!0);let f=new Promise(d).then(u,c),p=Object.assign(f,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return i===void 0?(this.set(e,p,{...a.options,status:void 0}),i=this.#n.get(e)):this.#e[i]=p,p}#t(e){if(!this.#_)return!1;let i=e;return!!i&&i instanceof Promise&&i.hasOwnProperty("__staleWhileFetching")&&i.__abortController instanceof to}async fetch(e,i={}){let{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:a=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:h=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:f=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,context:m,forceRefresh:O=!1,status:g,signal:b}=i;if(!this.#_)return g&&(g.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:s,status:g});let S={allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:l,size:a,sizeCalculation:u,noUpdateTTL:c,noDeleteOnFetchRejection:h,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:p,ignoreFetchAbort:f,status:g,signal:b},y=this.#n.get(e);if(y===void 0){g&&(g.fetch="miss");let x=this.#Z(e,y,S,m);return x.__returned=x}else{let x=this.#e[y];if(this.#t(x)){let C=n&&x.__staleWhileFetching!==void 0;return g&&(g.fetch="inflight",C&&(g.returnedStale=!0)),C?x.__staleWhileFetching:x.__returned=x}let Q=this.#m(y);if(!O&&!Q)return g&&(g.fetch="hit"),this.#E(y),r&&this.#C(y),g&&this.#T(g,y),x;let T=this.#Z(e,y,S,m),_=T.__staleWhileFetching!==void 0&&n;return g&&(g.fetch=Q?"stale":"refresh",_&&Q&&(g.returnedStale=!0)),_?T.__staleWhileFetching:T.__returned=T}}async forceFetch(e,i={}){let n=await this.fetch(e,i);if(n===void 0)throw new Error("fetch() returned undefined");return n}memo(e,i={}){let n=this.#D;if(!n)throw new Error("no memoMethod provided to constructor");let{context:r,forceRefresh:s,...o}=i,l=this.get(e,o);if(!s&&l!==void 0)return l;let a=n(e,l,{options:o,context:r});return this.set(e,a,o),a}get(e,i={}){let{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=i,l=this.#n.get(e);if(l!==void 0){let a=this.#e[l],u=this.#t(a);return o&&this.#T(o,l),this.#m(l)?(o&&(o.get="stale"),u?(o&&n&&a.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?a.__staleWhileFetching:void 0):(s||this.#$(e,"expire"),o&&n&&(o.returnedStale=!0),n?a:void 0)):(o&&(o.get="hit"),u?a.__staleWhileFetching:(this.#E(l),r&&this.#C(l),a))}else o&&(o.get="miss")}#V(e,i){this.#d[i]=e,this.#u[e]=i}#E(e){e!==this.#s&&(e===this.#a?this.#a=this.#u[e]:this.#V(this.#d[e],this.#u[e]),this.#V(this.#s,e),this.#s=e)}delete(e){return this.#$(e,"delete")}#$(e,i){let n=!1;if(this.#r!==0){let r=this.#n.get(e);if(r!==void 0)if(this.#p?.[r]&&(clearTimeout(this.#p?.[r]),this.#p[r]=void 0),n=!0,this.#r===1)this.#q(i);else{this.#A(r);let s=this.#e[r];if(this.#t(s)?s.__abortController.abort(new Error("deleted")):(this.#S||this.#c)&&(this.#S&&this.#O?.(s,e,i),this.#c&&this.#o?.push([s,e,i])),this.#n.delete(e),this.#i[r]=void 0,this.#e[r]=void 0,r===this.#s)this.#s=this.#d[r];else if(r===this.#a)this.#a=this.#u[r];else{let o=this.#d[r];this.#u[o]=this.#u[r];let l=this.#u[r];this.#d[l]=this.#d[r]}this.#r--,this.#k.push(r)}}if(this.#c&&this.#o?.length){let r=this.#o,s;for(;s=r?.shift();)this.#g?.(...s)}return n}clear(){return this.#q("delete")}#q(e){for(let i of this.#Q({allowStale:!0})){let n=this.#e[i];if(this.#t(n))n.__abortController.abort(new Error("deleted"));else{let r=this.#i[i];this.#S&&this.#O?.(n,r,e),this.#c&&this.#o?.push([n,r,e])}}if(this.#n.clear(),this.#e.fill(void 0),this.#i.fill(void 0),this.#f&&this.#v){this.#f.fill(0),this.#v.fill(0);for(let i of this.#p??[])i!==void 0&&clearTimeout(i);this.#p?.fill(void 0)}if(this.#y&&this.#y.fill(0),this.#a=0,this.#s=0,this.#k.length=0,this.#x=0,this.#r=0,this.#c&&this.#o){let i=this.#o,n;for(;n=i?.shift();)this.#g?.(...n)}}};var Ci=Object.assign||function(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(E){function Z(){}E(Z,Z)},r=function(E){var Z=E.target;if(Z===C){p();return}S.indexOf(Z)!==-1&&m({target:Z})},s=function(){if(!(x||!_.original)){var E=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(Q-E)>T.scrollOffset&&setTimeout(p,150)}},o=function(E){var Z=E.key||E.keyCode;(Z==="Escape"||Z==="Esc"||Z===27)&&p()},l=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Z=E;if(E.background&&(C.style.background=E.background),E.container&&E.container instanceof Object&&(Z.container=Ci({},T.container,E.container)),E.template){var q=Is(E.template)?E.template:document.querySelector(E.template);Z.template=q}return T=Ci({},T,Z),S.forEach(function(j){j.dispatchEvent(Gi("medium-zoom:update",{detail:{zoom:F}}))}),F},a=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return t(Ci({},T,E))},u=function(){for(var E=arguments.length,Z=Array(E),q=0;q0?Z.reduce(function(D,X){return[].concat(D,hh(X))},[]):S;return j.forEach(function(D){D.classList.remove("medium-zoom-image"),D.dispatchEvent(Gi("medium-zoom:detach",{detail:{zoom:F}}))}),S=S.filter(function(D){return j.indexOf(D)===-1}),F},h=function(E,Z){var q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return S.forEach(function(j){j.addEventListener("medium-zoom:"+E,Z,q)}),y.push({type:"medium-zoom:"+E,listener:Z,options:q}),F},d=function(E,Z){var q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return S.forEach(function(j){j.removeEventListener("medium-zoom:"+E,Z,q)}),y=y.filter(function(j){return!(j.type==="medium-zoom:"+E&&j.listener.toString()===Z.toString())}),F},f=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Z=E.target,q=function(){var D={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},X=void 0,I=void 0;if(T.container)if(T.container instanceof Object)D=Ci({},D,T.container),X=D.width-D.left-D.right-T.margin*2,I=D.height-D.top-D.bottom-T.margin*2;else{var z=Is(T.container)?T.container:document.querySelector(T.container),H=z.getBoundingClientRect(),re=H.width,ne=H.height,Oe=H.left,ge=H.top;D=Ci({},D,{width:re,height:ne,left:Oe,top:ge})}X=X||D.width-T.margin*2,I=I||D.height-T.margin*2;var be=_.zoomedHd||_.original,Ge=ch(be)?X:be.naturalWidth||X,Ti=ch(be)?I:be.naturalHeight||I,ts=be.getBoundingClientRect(),S1=ts.top,w1=ts.left,el=ts.width,tl=ts.height,Q1=Math.min(Math.max(el,Ge),X)/el,$1=Math.min(Math.max(tl,Ti),I)/tl,il=Math.min(Q1,$1),T1=(-w1+(X-el)/2+T.margin+D.left)/il,_1=(-S1+(I-tl)/2+T.margin+D.top)/il,Ac="scale("+il+") translate3d("+T1+"px, "+_1+"px, 0)";_.zoomed.style.transform=Ac,_.zoomedHd&&(_.zoomedHd.style.transform=Ac)};return new n(function(j){if(Z&&S.indexOf(Z)===-1){j(F);return}var D=function re(){x=!1,_.zoomed.removeEventListener("transitionend",re),_.original.dispatchEvent(Gi("medium-zoom:opened",{detail:{zoom:F}})),j(F)};if(_.zoomed){j(F);return}if(Z)_.original=Z;else if(S.length>0){var X=S;_.original=X[0]}else{j(F);return}if(_.original.dispatchEvent(Gi("medium-zoom:open",{detail:{zoom:F}})),Q=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,x=!0,_.zoomed=Ok(_.original),document.body.appendChild(C),T.template){var I=Is(T.template)?T.template:document.querySelector(T.template);_.template=document.createElement("div"),_.template.appendChild(I.content.cloneNode(!0)),document.body.appendChild(_.template)}if(_.original.parentElement&&_.original.parentElement.tagName==="PICTURE"&&_.original.currentSrc&&(_.zoomed.src=_.original.currentSrc),document.body.appendChild(_.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),_.original.classList.add("medium-zoom-image--hidden"),_.zoomed.classList.add("medium-zoom-image--opened"),_.zoomed.addEventListener("click",p),_.zoomed.addEventListener("transitionend",D),_.original.getAttribute("data-zoom-src")){_.zoomedHd=_.zoomed.cloneNode(),_.zoomedHd.removeAttribute("srcset"),_.zoomedHd.removeAttribute("sizes"),_.zoomedHd.removeAttribute("loading"),_.zoomedHd.src=_.zoomed.getAttribute("data-zoom-src"),_.zoomedHd.onerror=function(){clearInterval(z),console.warn("Unable to reach the zoom image target "+_.zoomedHd.src),_.zoomedHd=null,q()};var z=setInterval(function(){_.zoomedHd.complete&&(clearInterval(z),_.zoomedHd.classList.add("medium-zoom-image--opened"),_.zoomedHd.addEventListener("click",p),document.body.appendChild(_.zoomedHd),q())},10)}else if(_.original.hasAttribute("srcset")){_.zoomedHd=_.zoomed.cloneNode(),_.zoomedHd.removeAttribute("sizes"),_.zoomedHd.removeAttribute("loading");var H=_.zoomedHd.addEventListener("load",function(){_.zoomedHd.removeEventListener("load",H),_.zoomedHd.classList.add("medium-zoom-image--opened"),_.zoomedHd.addEventListener("click",p),document.body.appendChild(_.zoomedHd),q()})}else q()})},p=function(){return new n(function(E){if(x||!_.original){E(F);return}var Z=function q(){_.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(_.zoomed),_.zoomedHd&&document.body.removeChild(_.zoomedHd),document.body.removeChild(C),_.zoomed.classList.remove("medium-zoom-image--opened"),_.template&&document.body.removeChild(_.template),x=!1,_.zoomed.removeEventListener("transitionend",q),_.original.dispatchEvent(Gi("medium-zoom:closed",{detail:{zoom:F}})),_.original=null,_.zoomed=null,_.zoomedHd=null,_.template=null,E(F)};x=!0,document.body.classList.remove("medium-zoom--opened"),_.zoomed.style.transform="",_.zoomedHd&&(_.zoomedHd.style.transform=""),_.template&&(_.template.style.transition="opacity 150ms",_.template.style.opacity=0),_.original.dispatchEvent(Gi("medium-zoom:close",{detail:{zoom:F}})),_.zoomed.addEventListener("transitionend",Z)})},m=function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Z=E.target;return _.original?p():f({target:Z})},O=function(){return T},g=function(){return S},b=function(){return _.original},S=[],y=[],x=!1,Q=0,T=i,_={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(e)==="[object Object]"?T=e:(e||typeof e=="string")&&u(e),T=Ci({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},T);var C=mk(T.background);document.addEventListener("click",r),document.addEventListener("keyup",o),document.addEventListener("scroll",s),window.addEventListener("resize",p);var F={open:f,close:p,toggle:m,update:l,clone:a,attach:u,detach:c,on:h,off:d,getOptions:O,getImages:g,getZoomedImage:b};return F};function bk(t,e){e===void 0&&(e={});var i=e.insertAt;if(!(typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",i==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}var xk=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";bk(xk);const dt={hljs:`${k}-hljs`,hlcss:`${k}-hlCss`,prettier:`${k}-prettier`,prettierMD:`${k}-prettierMD`,cropperjs:`${k}-cropper`,croppercss:`${k}-cropperCss`,screenfull:`${k}-screenfull`,mermaidM:`${k}-mermaid-m`,mermaid:`${k}-mermaid`,katexjs:`${k}-katex`,katexcss:`${k}-katexCss`,echarts:`${k}-echarts`},kk=(t,e,i)=>{const{editorId:n}=i,r=yt({buildFinished:!1,html:""});ee(()=>t.modelValue,()=>{r.buildFinished=!1}),we(()=>{M.on(n,{name:Ms,callback(s){r.buildFinished=!0,r.html=s}}),M.on(n,{name:Mo,callback(){const s=new Promise(o=>{if(r.buildFinished)o(r.html);else{const l=a=>{o(a),M.remove(n,Ms,l)};M.on(n,{name:Ms,callback:l})}});t.onSave?t.onSave(t.modelValue,s):e.emit("onSave",t.modelValue,s)}})})},im=(t,{editorId:e,rootRef:i,setting:n})=>{const r=Ce.editorExtensions.highlight,s=Ce.editorExtensionsAttrs.highlight;$e("editorId",e),$e("rootRef",i),$e("theme",le(()=>t.theme)),$e("language",le(()=>t.language)),$e("highlight",le(()=>{const{js:l}=r,a={...ha,...r.css},{js:u,css:c={}}=s||{},h=t.codeStyleReverse&&t.codeStyleReverseList.includes(t.previewTheme)?"dark":t.theme,d=a[t.codeTheme]?a[t.codeTheme][h]:ha.atom[h],f=a[t.codeTheme]&&c[t.codeTheme]?c[t.codeTheme][h]:c.atom?c.atom[h]:{};return{js:{src:l,...u},css:{href:d,...f}}})),$e("showCodeRowNumber",t.showCodeRowNumber);const o=le(()=>{const l={...Mc,...Ce.editorConfig.languageUserDefined};return Do(Gn(Mc["en-US"]),l[t.language]||{})});return $e("usedLanguageText",o),$e("previewTheme",le(()=>t.previewTheme)),$e("customIcon",le(()=>t.customIcon)),$e("setting",le(()=>n?{...n}:{preview:!0,htmlPreview:!1,previewOnly:!1,pageFullscreen:!1,fullscreen:!1})),{editorId:e}},yk=(t,e)=>($e("tabWidth",t.tabWidth),$e("disabled",le(()=>t.disabled)),$e("showToolbarName",le(()=>t.showToolbarName)),$e("noUploadImg",t.noUploadImg),$e("tableShape",le(()=>t.tableShape)),$e("noPrettier",t.noPrettier),$e("codeTheme",le(()=>t.codeTheme)),$e("updateSetting",e.updateSetting),$e("catalogVisible",le(()=>e.catalogVisible.value)),$e("defToolbars",e.defToolbars),$e("floatingToolbars",le(()=>t.floatingToolbars)),im(t,e)),vk=t=>{const{noPrettier:e,noUploadImg:i}=t,{editorExtensions:n,editorExtensionsAttrs:r}=Ce,s=e||n.prettier.prettierInstance,o=e||n.prettier.parserMarkdownInstance,l=i||n.cropper.instance;we(()=>{if(!l){const{js:a={},css:u={}}=r.cropper||{};ht("link",{...u,rel:"stylesheet",href:n.cropper.css,id:dt.croppercss}),ht("script",{...a,src:n.cropper.js,id:dt.cropperjs})}if(!s){const{standaloneJs:a={}}=r.prettier||{};ht("script",{...a,src:n.prettier.standaloneJs,id:dt.prettier})}if(!o){const{parserMarkdownJs:a={}}=r.prettier||{};ht("script",{...a,src:n.prettier.parserMarkdownJs,id:dt.prettierMD})}})},Sk=(t,e,i)=>{const{editorId:n}=i;we(()=>{M.on(n,{name:Nt,callback:r=>{t.onError?.(r),e.emit("onError",r)}})})},wk=(t,e,i)=>{const{editorId:n}=i,r=yt({pageFullscreen:t.pageFullscreen,fullscreen:!1,preview:t.preview,htmlPreview:t.preview?!1:t.htmlPreview,previewOnly:!1}),s=yt({...r}),o=(u,c)=>{const h=c===void 0?!r[u]:c;switch(u){case"preview":{r.htmlPreview=!1,r.previewOnly=!1;break}case"htmlPreview":{r.preview=!1,r.previewOnly=!1;break}case"previewOnly":{h?!r.preview&&!r.htmlPreview&&(r.preview=!0):(s.preview||(r.preview=!1),s.htmlPreview||(r.htmlPreview=!1));break}}s[u]=h,r[u]=h};let l="";const a=()=>{r.pageFullscreen||r.fullscreen?document.body.style.overflow="hidden":document.body.style.overflow=l};return ee(()=>[r.pageFullscreen,r.fullscreen],a),we(()=>{M.on(n,{name:Ro,callback(u,c){const h=d=>{M.emit(n,J,"image",{desc:"",urls:d}),c?.()};t.onUploadImg?t.onUploadImg(u,h):e.emit("onUploadImg",u,h)}}),l=document.body.style.overflow,a()}),[r,o]},Qk=(t,e)=>{const{editorId:i}=e,n=te(!1);return we(()=>{M.on(i,{name:gu,callback:r=>{r===void 0?n.value=!n.value:n.value=r}})}),n},$k=(t,e,i)=>{const{editorId:n,catalogVisible:r,setting:s,updateSetting:o,codeRef:l}=i;ee(()=>s.pageFullscreen,u=>{M.emit(n,Rc,u)}),ee(()=>s.fullscreen,u=>{M.emit(n,Ic,u)}),ee(()=>s.preview,u=>{M.emit(n,Zc,u)}),ee(()=>s.previewOnly,u=>{M.emit(n,zc,u)}),ee(()=>s.htmlPreview,u=>{M.emit(n,Xc,u)}),ee(r,u=>{M.emit(n,Fc,u)});const a={on(u,c){switch(u){case"pageFullscreen":{M.on(n,{name:Rc,callback(h){c(h)}});break}case"fullscreen":{M.on(n,{name:Ic,callback(h){c(h)}});break}case"preview":{M.on(n,{name:Zc,callback(h){c(h)}});break}case"previewOnly":{M.on(n,{name:zc,callback(h){c(h)}});break}case"htmlPreview":{M.on(n,{name:Xc,callback(h){c(h)}});break}case"catalog":{M.on(n,{name:Fc,callback(h){c(h)}});break}}},togglePageFullscreen(u){o("pageFullscreen",u)},toggleFullscreen(u){M.emit(n,Op,u)},togglePreview(u){o("preview",u)},togglePreviewOnly(u){o("previewOnly",u)},toggleHtmlPreview(u){o("htmlPreview",u)},toggleCatalog(u){M.emit(n,gu,u)},triggerSave(){M.emit(n,Mo)},insert(u){M.emit(n,J,"universal",{generate:u})},focus(u){l.value?.focus(u)},rerender(){M.emit(n,bu)},getSelectedText(){return l.value?.getSelectedText()},resetHistory(){l.value?.resetHistory()},domEventHandlers(u){M.emit(n,kp,u)},execCommand(u){M.emit(n,J,u)},getEditorView(){return l.value?.getEditorView()}};e.expose(a)},nm=t=>{const e=P1();return t.id||t.editorId||`${k}-${e}`},Tk=(t,e,i)=>{const n=$("editorId"),r=$("rootRef"),s=$("usedLanguageText"),o=$("setting"),l=()=>{r.value.querySelectorAll(`#${n} .${k}-preview .${k}-code`).forEach(c=>{let h=-1;const d=c.querySelector(`.${k}-copy-button:not([data-processed])`);d&&(d.onclick=f=>{f.preventDefault(),clearTimeout(h);const p=(c.querySelector("input:checked + pre code")||c.querySelector("pre code")).textContent,{text:m,successTips:O,failTips:g}=s.value.copyCode;let b=O;wp(t.formatCopiedText(p||"")).catch(()=>{b=g}).finally(()=>{d.dataset.isIcon?d.dataset.tips=b:d.innerHTML=b,h=window.setTimeout(()=>{d.dataset.isIcon?d.dataset.tips=m:d.innerHTML=m},1500)})},d.setAttribute("data-processed","true"))})},a=()=>{St(l)},u=c=>{c&&St(l)};ee([e,i],a),ee(()=>o.value.preview,u),ee(()=>o.value.htmlPreview,u),we(l)},_k=t=>{const e=$("editorId"),i=$("theme"),n=$("rootRef"),{editorExtensions:r,editorExtensionsAttrs:s}=Ce;let o=r.echarts.instance;const l=ki(-1),a=()=>{!t.noEcharts&&o&&(l.value=l.value+1)};ee(()=>i.value,()=>{a()}),we(()=>{if(t.noEcharts||o)return;const p=r.echarts.js;ht("script",{...s.echarts?.js,src:p,id:dt.echarts,onload(){o=window.echarts,a()}},"echarts")});let u=[],c=[],h=[];const d=(p=!1)=>{if(!u.length){p&&(c.forEach(b=>{b.dispose?.()}),h.forEach(b=>{b.disconnect?.()}),c=[],h=[]);return}const m=[],O=[],g=[];u.forEach((b,S)=>{const y=c[S],x=h[S];if(p||!b||!b.isConnected||n?.value&&!n.value.contains(b)){y?.dispose?.(),x?.disconnect?.();return}m.push(b),y&&O.push(y),x&&g.push(x)}),u=m,c=O,h=g},f=()=>{d(),!t.noEcharts&&o&&Array.from(n.value.querySelectorAll(`#${e} div.${k}-echarts:not([data-processed])`)).forEach(p=>{if(p.dataset.closed==="false")return!1;try{const m=new Function(`return ${p.innerText}`)(),O=o.init(p,i.value);O.setOption(m),p.setAttribute("data-processed",""),u.push(p),c.push(O);const g=new ResizeObserver(()=>{O.resize()});g.observe(p),h.push(g)}catch(m){M.emit(e,Nt,{name:"echarts",message:m?.message,error:m})}})};return ri(()=>{d(!0)}),{reRenderEcharts:l,replaceEcharts:f}},Pk=t=>{const e=$("highlight"),i=ki(Ce.editorExtensions.highlight.instance);return we(()=>{t.noHighlight||i.value||(ht("link",{...e.value.css,rel:"stylesheet",id:dt.hlcss}),ht("script",{...e.value.js,id:dt.hljs,onload(){i.value=window.hljs}},"hljs"))}),ee(()=>e.value.css,()=>{t.noHighlight||Ce.editorExtensions.highlight.instance||fb("link",{...e.value.css,rel:"stylesheet",id:dt.hlcss})}),i},Ck=t=>{const e=ki(Ce.editorExtensions.katex.instance);return we(()=>{if(t.noKatex||e.value)return;const{editorExtensions:i,editorExtensionsAttrs:n}=Ce;ht("script",{...n.katex?.js,src:i.katex.js,id:dt.katexjs,onload(){e.value=window.katex}},"katex"),ht("link",{...n.katex?.css,rel:"stylesheet",href:i.katex.css,id:dt.katexcss})}),e},Zs=new fk({max:1e3,ttl:6e5}),Ak=t=>{const e=$("editorId"),i=$("theme"),n=$("rootRef"),{editorExtensions:r,editorExtensionsAttrs:s,mermaidConfig:o}=Ce;let l=r.mermaid.instance;const a=ki(-1),u=()=>{if(!t.noMermaid&&l){const c=i.value==="dark"?{startOnLoad:!1,theme:"dark"}:{startOnLoad:!1,theme:"base",themeVariables:{background:"#ffffff",primaryColor:"#ffffff",primaryTextColor:"#1f2329",primaryBorderColor:"#b7c0cc",secondaryColor:"#f7f8fa",tertiaryColor:"#f7f8fa",lineColor:"#596273",edgeLabelBackground:"#ffffff",clusterBkg:"#ffffff",clusterBorder:"#b7c0cc"}};l.initialize(o(c)),a.value=a.value+1}};return ee(()=>i.value,()=>{Zs.clear(),u()}),we(()=>{if(t.noMermaid||l)return;const c=r.mermaid.js;/\.mjs/.test(c)?(ht("link",{...s.mermaid?.js,rel:"modulepreload",href:c,id:dt.mermaidM}),import(c).then(h=>{l=h.default,u()}).catch(h=>{M.emit(e,Nt,{name:"mermaid",message:`Failed to load mermaid module: ${h.message}`,error:h})})):ht("script",{...s.mermaid?.js,src:c,id:dt.mermaid,onload(){l=window.mermaid,u()}},"mermaid")}),{reRenderRef:a,replaceMermaid:async()=>{if(!t.noMermaid&&l){const c=n.value.querySelectorAll(`div.${k}-mermaid`),h=document.createElement("div"),d=document.body.offsetWidth>1366?document.body.offsetWidth:1366,f=document.body.offsetHeight>768?document.body.offsetHeight:768;h.style.width=d+"px",h.style.height=f+"px",h.style.position="fixed",h.style.zIndex="-10000",h.style.top="-10000";let p=c.length;p>0&&document.body.appendChild(h),await Promise.allSettled(Array.from(c).map(m=>(async O=>{if(O.dataset.closed==="false")return!1;const g=O.innerText;let b=Zs.get(g);if(!b){const S=ua();let y={svg:""};try{y=await l.render(S,g,h),b=await t.sanitizeMermaid(y.svg);const x=document.createElement("p");x.className=`${k}-mermaid`,x.setAttribute("data-processed",""),x.setAttribute("data-content",g),x.innerHTML=b,x.children[0]?.removeAttribute("height"),Zs.set(g,x.innerHTML),O.dataset.line!==void 0&&(x.dataset.line=O.dataset.line),O.replaceWith(x)}catch(x){M.emit(e,Nt,{name:"mermaid",message:x.message,error:x})}--p===0&&h.remove()}})(m)))}}}},Ek=(t,e)=>{e=e||{};const i=3,n=e.marker||"!",r=n.charCodeAt(0),s=n.length;let o="",l="";const a=(c,h,d,f,p)=>{const m=c[h];return m.type==="admonition_open"?c[h].attrPush(["class",`${k}-admonition ${k}-admonition-${m.info}`]):m.type==="admonition_title_open"&&c[h].attrPush(["class",`${k}-admonition-title`]),p.renderToken(c,h,d)},u=c=>{const h=c.trim().split(" ",2);l="",o=h[0],h.length>1&&(l=c.substring(o.length+2))};t.block.ruler.before("code","admonition",(c,h,d,f)=>{let p,m,O,g=!1,b=c.bMarks[h]+c.tShift[h],S=c.eMarks[h];if(r!==c.src.charCodeAt(b))return!1;for(p=b+1;p<=S&&n[(p-b)%s]===c.src[p];p++);const y=Math.floor((p-b)/s);if(y!==i)return!1;p-=(p-b)%s;const x=c.src.slice(b,p),Q=c.src.slice(p,S);if(u(Q),f)return!0;for(m=h;m++,!(m>=d||(b=c.bMarks[m]+c.tShift[m],S=c.eMarks[m],b=4)){for(p=b+1;p<=S&&n[(p-b)%s]===c.src[p];p++);if(!(Math.floor((p-b)/s){const i=t.attrs?t.attrs.slice():[];return e.forEach(n=>{const r=t.attrIndex(n[0]);r<0?i.push(n):(i[r]=i[r].slice(),i[r][1]+=` ${n[1]}`)}),i},Lk=(t,e)=>{const i=t.renderer.rules.fence,n=t.utils.unescapeAll,r=/\[(\w*)(?::([\w ]*))?\]/,s=/::(open|close)/,o=h=>h.info?n(h.info).trim():"",l=h=>{const d=o(h),[f=null,p=""]=(r.exec(d)||[]).slice(1);return[f,p]},a=h=>{const d=o(h);return d?d.split(/(\s+)/g)[0]:""},u=h=>{const d=h.info.match(s)||[],f=d[1]==="open"||d[1]!=="close"&&e.codeFoldable&&h.content.trim().split(` +`).length{if(h[d].hidden)return"";const O=e.usedLanguageTextRef.value?.copyCode.text,g=e.customIconRef.value.copy||O,b=!!e.customIconRef.value.copy,S=`${It("collapse-tips",e.customIconRef.value)}`,[y]=l(h[d]);if(y===null){const{open:X,tagContainer:I,tagHeader:z}=u(h[d]),H=[["class",`${k}-code`]];X&&H.push(["open",""]);const re={attrs:Oa(h[d],H)};h[d].info=h[d].info.replace(s,"");const ne=i(h,d,f,p,m);return` + <${I} ${m.renderAttrs(re)}> + <${z} class="${k}-code-head"> +
+
+ ${t.utils.escapeHtml(h[d].info.trim())} + ${g} + ${e.extraTools instanceof Function?e.extraTools({lang:h[d].info.trim()}):e.extraTools||""} + ${I==="details"?S:""} +
+ + ${ne} + + `}let x,Q,T,_,C="",F="",B="";const{open:E,tagContainer:Z,tagHeader:q}=u(h[d]),j=[["class",`${k}-code`]];E&&j.push(["open",""]);const D={attrs:Oa(h[d],j)};for(let X=d;X0?"":"checked",C+=` +
  • + + +
  • `,F+=` +
    + + ${i(h,X,f,p,m)} +
    `,B+=` + + ${t.utils.escapeHtml(a(x))}`}return` + <${Z} ${m.renderAttrs(D)}> + <${q} class="${k}-code-head"> +
    +
      ${C}
    +
    +
    + ${B} + ${g} + ${e.extraTools instanceof Function?e.extraTools({lang:h[d].info.trim()}):e.extraTools||""} + ${Z==="details"?S:""} +
    + + ${F} + + `};t.renderer.rules.fence=c,t.renderer.rules.code_block=c},Dk=(t,e)=>{const i=t.renderer.rules.fence.bind(t.renderer.rules);t.renderer.rules.fence=(n,r,s,o,l)=>{const a=n[r],u=a.content.trim();if(a.info==="echarts"){if(a.attrSet("class",`${k}-echarts`),a.attrSet("data-echarts-theme",e.themeRef.value),a.map&&a.level===0){const c=a.map[1]-1,h=!!o.srcLines[c]?.trim()?.startsWith("```");a.attrSet("data-closed",`${h}`),a.attrSet("data-line",String(a.map[0]))}return`
    ${t.utils.escapeHtml(u)}
    `}return i(n,r,s,o,l)}},Mk=(t,e)=>{t.renderer.rules.heading_open=(i,n)=>{const r=i[n],s=i[n+1].children?.reduce((l,a)=>l+(["text","code_inline","math_inline"].includes(a.type)&&a.content||""),"")||"",o=r.markup.length;return e.headsRef.value.push({text:s,level:o,line:r.map[0],currentToken:r,nextToken:i[n+1]}),r.map&&r.level===0&&r.attrSet("id",e.mdHeadingId({text:s,level:o,index:e.headsRef.value.length,currentToken:r,nextToken:i[n+1]})),t.renderer.renderToken(i,n,e)},t.renderer.rules.heading_close=(i,n,r,s,o)=>o.renderToken(i,n,r)},dh={block:[{open:"$$",close:"$$"},{open:"\\[",close:"\\]"}],inline:[{open:"$$",close:"$$"},{open:"$",close:"$"},{open:"\\[",close:"\\]"},{open:"\\(",close:"\\)"}]},Rk=t=>(e,i)=>{const n=t.delimiters;for(const r of n){if(!e.src.startsWith(r.open,e.pos))continue;const s=e.pos+r.open.length;let o=s;for(;(o=e.src.indexOf(r.close,o))!==-1;){let l=0,a=o-1;for(;a>=0&&e.src[a]==="\\";)l++,a--;if(l%2===0)break;o+=r.close.length}if(o!==-1){if(o-s===0)return i||(e.pending+=r.open+r.close),e.pos=o+r.close.length,!0;if(!i){const l=e.push("math_inline","math",0);l.markup=r.open,l.content=e.src.slice(s,o)}return e.pos=o+r.close.length,!0}}return!1},Ik=t=>(e,i,n,r)=>{const s=t.delimiters,o=e.bMarks[i]+e.tShift[i],l=e.eMarks[i],a=(u,c,h)=>{e.line=c;const d=e.push("math_block","math",0);return d.block=!0,d.content=u,d.map=[i,e.line],d.markup=h,!0};for(const u of s){const c=o;if(e.src.slice(c,c+u.open.length)!==u.open)continue;const h=c+u.open.length,d=e.src.slice(h,l).trim(),f=d==="",p=d===u.close,m=d.endsWith(u.close);if(!f&&!p&&!m)continue;if(r)return!0;if(p)return a("",i+1,u.open);if(!f&&m){const y=d.slice(0,-u.close.length);return a(y,i+1,u.open)}let O=i+1,g=!1,b="";for(;O{const r=(l,a,u,c,h=!1)=>{const d={attrs:Oa(l,[["class",a]])},f=c.renderAttrs(d);if(!e.value)return`<${u} ${f}>${l.content}`;const p=e.value.renderToString(l.content,Ce.katexConfig({throwOnError:!1,displayMode:h}));return`<${u} ${f} data-processed>${p}`},s=(l,a,u,c,h)=>r(l[a],`${k}-katex-inline`,"span",h),o=(l,a,u,c,h)=>r(l[a],`${k}-katex-block`,"p",h,!0);t.inline.ruler.before("escape","math_inline",Rk({delimiters:i||dh.inline})),t.block.ruler.after("blockquote","math_block",Ik({delimiters:n||dh.block}),{alt:["paragraph","reference","blockquote","list"]}),t.renderer.rules.math_inline=s,t.renderer.rules.math_block=o},zk=(t,e)=>{const i=t.renderer.rules.fence.bind(t.renderer.rules);t.renderer.rules.fence=(n,r,s,o,l)=>{const a=n[r],u=a.content.trim();if(a.info==="mermaid"){if(a.attrSet("class",`${k}-mermaid`),a.attrSet("data-mermaid-theme",e.themeRef.value),a.map&&a.level===0){const h=a.map[1]-1,d=!!o.srcLines[h]?.trim()?.startsWith("```");a.attrSet("data-closed",`${d}`),a.attrSet("data-line",String(a.map[0]))}const c=Zs.get(u);return c?(a.attrSet("data-processed",""),a.attrSet("data-content",u),`

    ${c}

    `):`
    ${t.utils.escapeHtml(u)}
    `}return i(n,r,s,o,l)}},fh=(t,e,i)=>{const n=t.attrIndex(e),r=[e,i];n<0?t.attrPush(r):(t.attrs=t.attrs||[],t.attrs[n]=r)},Xk=t=>t.type==="inline",Fk=t=>t.type==="paragraph_open",Bk=t=>t.type==="list_item_open",Vk=t=>t.content.indexOf("[ ] ")===0||t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0,qk=(t,e)=>Xk(t[e])&&Fk(t[e-1])&&Bk(t[e-2])&&Vk(t[e]),jk=(t,e)=>{const i=t[e].level-1;for(let n=e-1;n>=0;n--)if(t[n].level===i)return n;return-1},Wk=t=>{const e=new t("html_inline","",0);return e.content="",e},Yk=(t,e,i)=>{const n=new i("html_inline","",0);return n.content='",n.attrs=[["for",e]],n},Gk=(t,e,i)=>{const n=new e("html_inline","",0),r=i.enabled?" ":' disabled="" ';return t.content.indexOf("[ ] ")===0?n.content='':(t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0)&&(n.content=''),n},Uk=(t,e,i)=>{if(t.children=t.children||[],t.children.unshift(Gk(t,e,i)),t.children[1].content=t.children[1].content.slice(3),t.content=t.content.slice(3),i.label)if(i.labelAfter){t.children.pop();const n="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);t.children[0].content=t.children[0].content.slice(0,-1)+' id="'+n+'">',t.children.push(Yk(t.content,n,e))}else t.children.unshift(Wk(e)),t.children.push(Nk(e))},Hk=(t,e={})=>{t.core.ruler.after("inline","github-task-lists",i=>{const n=i.tokens;for(let r=2;r{t.core.ruler.push("init-line-number",e=>(e.tokens.forEach(i=>{i.map&&(i.attrs||(i.attrs=[]),i.attrs.push(["data-line",i.map[0].toString()]))}),!0))},Jk=(t,e)=>{const{editorConfig:i,markdownItConfig:n,markdownItPlugins:r,editorExtensions:s}=Ce,o=$("editorId"),l=$("language"),a=$("usedLanguageText"),u=$("showCodeRowNumber"),c=$("theme"),h=$("customIcon"),d=$("rootRef"),f=$("setting"),p=te([]),m=Pk(t),O=Ck(t),{reRenderRef:g,replaceMermaid:b}=Ak(t),{reRenderEcharts:S,replaceEcharts:y}=_k(t),x=wt({html:!0,breaks:!0,linkify:!0});n(x,{editorId:o});const Q=[{type:"image",plugin:nk,options:{figcaption:!0,classes:"md-zoom"}},{type:"admonition",plugin:Ek,options:{}},{type:"taskList",plugin:Hk,options:{}},{type:"heading",plugin:Mk,options:{mdHeadingId:t.mdHeadingId,headsRef:p}},{type:"code",plugin:Lk,options:{editorId:o,usedLanguageTextRef:a,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold,customIconRef:h}},{type:"sub",plugin:ok,options:{}},{type:"sup",plugin:uk,options:{}}];t.noKatex||Q.push({type:"katex",plugin:Zk,options:{katexRef:O}}),t.noMermaid||Q.push({type:"mermaid",plugin:zk,options:{themeRef:c}}),t.noEcharts||Q.push({type:"echarts",plugin:Dk,options:{themeRef:c}}),r(Q,{editorId:o}).forEach(X=>{x.use(X.plugin,X.options)});const T=x.options.highlight;x.set({highlight:(X,I,z)=>{if(T){const ne=T(X,I,z);if(ne)return ne}let H;!t.noHighlight&&m.value?m.value.getLanguage(I)?H=m.value.highlight(X,{language:I,ignoreIllegals:!0}).value:H=m.value.highlightAuto(X).value:H=x.utils.escapeHtml(X);const re=u?sb(H.replace(/^\n+|\n+$/g,""),X.replace(/^\n+|\n+$/g,"")):`${H.replace(/^\n+|\n+$/g,"")}`;return`
    ${re}
    `}}),Kk(x);const _=te(`_article-key_${ua()}`),C=te(t.sanitize(x.render(t.modelValue,{srcLines:t.modelValue.split(` +`)})));let F=()=>{},B=()=>{};const E=()=>{const X=d.value?.querySelectorAll(`#${o} p.${k}-mermaid:not([data-closed=false])`);B(),B=mb(X,{customIcon:h.value}),s.mermaid?.enableZoom&&(F(),F=Ob(X,{customIcon:h.value}))},Z=()=>{M.emit(o,Ms,C.value),t.onHtmlChanged(C.value),t.onGetCatalog(p.value),M.emit(o,ir,p.value),St(()=>{b().then(E),y()})},q=()=>{p.value=[],C.value=t.sanitize(x.render(t.modelValue,{srcLines:t.modelValue.split(` +`)}))},j=le(()=>(t.noKatex||!!O.value)&&(t.noHighlight||!!m.value));let D=-1;return ee([aa(t,"modelValue"),j,g,l],()=>{D=window.setTimeout(()=>{q()},e?0:i.renderDelay)}),ee(()=>f.value.preview,()=>{f.value.preview&&St(()=>{b().then(E),y(),M.emit(o,ir,p.value)})}),ee([C,S],()=>{Z()}),we(Z),we(()=>{M.on(o,{name:xp,callback(){M.emit(o,ir,p.value)}}),M.on(o,{name:bu,callback:()=>{_.value=`_article-key_${ua()}`,q()}})}),ri(()=>{F(),B(),clearTimeout(D)}),{html:C,key:_}},ey=(t,e)=>{const i=$("editorId"),n=$("setting"),{noImgZoomIn:r}=t,s=fp(()=>{const o=document.querySelectorAll(`#${i}-preview img:not(.not-zoom):not(.medium-zoom-image)`);o.length!==0&&gk(o,{background:"#00000073"})});we(async()=>{!r&&n.value.preview&&await s()}),ee([e,()=>n.value.preview],async()=>{!r&&n.value.preview&&await s()})},ph={checked:{regexp:/- \[x\]/,value:"- [ ]"},unChecked:{regexp:/- \[\s\]/,value:"- [x]"}},ty=(t,e)=>{const i=$("editorId"),n=$("rootRef");let r=()=>{};const s=()=>{if(!n.value)return!1;const o=n.value.querySelectorAll(".task-list-item.enabled"),l=a=>{a.preventDefault();const u=a.target.checked?"unChecked":"checked",c=a.target.parentElement?.dataset.line;if(!c)return;const h=Number(c),d=t.modelValue.split(` +`),f=d[Number(h)].replace(ph[u].regexp,ph[u].value);t.previewOnly?(d[Number(h)]=f,t.onChange(d.join(` +`))):M.emit(i,yp,h+1,f)};o.forEach(a=>{a.addEventListener("click",l)}),r=()=>{o.forEach(a=>{a.removeEventListener("click",l)})}};ri(()=>{r()}),ee([e],()=>{r(),St(s)},{immediate:!0})},iy=(t,e,i)=>{const n=$("setting"),r=()=>{St(()=>{t.onRemount?.()})},s=o=>{o&&r()};ee([e,i],r),ee(()=>n.value.preview,s),ee(()=>n.value.htmlPreview,s),we(r)},rm={modelValue:{type:String,default:""},onChange:{type:Function,default:()=>{}},onHtmlChanged:{type:Function,default:()=>{}},onGetCatalog:{type:Function,default:()=>{}},mdHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:t=>t},noKatex:{type:Boolean,default:!1},formatCopiedText:{type:Function,default:t=>t},noHighlight:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean},sanitizeMermaid:{type:Function},codeFoldable:{type:Boolean},autoFoldThreshold:{type:Number},onRemount:{type:Function},noEcharts:{type:Boolean},previewComponent:{type:[Object,Function],default:void 0}},ny={...rm,updateModelValue:{type:Function,default:()=>{}},placeholder:{type:String,default:""},scrollAuto:{type:Boolean},autofocus:{type:Boolean},readonly:{type:Boolean},maxlength:{type:Number},autoDetectCode:{type:Boolean},onBlur:{type:Function,default:()=>{}},onFocus:{type:Function,default:()=>{}},completions:{type:Array},onInput:{type:Function},onDrop:{type:Function,default:()=>{}},inputBoxWidth:{type:String},oninputBoxWidthChange:{type:Function},transformImgUrl:{type:Function,default:t=>t},catalogLayout:{type:String},catalogMaxDepth:{type:Number}},mh=t=>{const e=new DOMParser().parseFromString(t,"text/html");return Array.from(e.body.childNodes)},ry=(t,e)=>t.nodeType!==e.nodeType?!1:t.nodeType===Node.TEXT_NODE||t.nodeType===Node.COMMENT_NODE?t.textContent===e.textContent:t.nodeType===Node.ELEMENT_NODE?t.outerHTML===e.outerHTML:t.isEqualNode?t.isEqualNode(e):!1,sy=K({name:"UpdateOnDemand",props:{id:{type:String,required:!0},class:{type:[String,Array,Object],required:!0},html:{type:String,required:!0}},setup(t){const e=te(),i=t.html,n=(r,s)=>{if(!e.value)return;const o=e.value,l=Array.from(o.childNodes),a=Math.min(r.length,s.length);let u=-1;for(let h=0;hr.length)u=r.length;else if(r.length>s.length)u=s.length;else return;const c=Math.min(u,l.length);for(let h=l.length-1;h>=c;h--)l[h].remove();for(let h=u;ht.html,(r,s)=>{const o=mh(r),l=mh(s||"");n(o,l)}),()=>w("div",{id:t.id,class:t.class,innerHTML:i,ref:e},null)}}),sm=K({name:"ContentPreview",props:rm,setup(t){const e=$("editorId"),i=$("setting"),n=$("previewTheme"),r=$("showCodeRowNumber"),{html:s,key:o}=Jk(t,t.previewOnly);Tk(t,s,o),ey(t,s),ty(t,s),iy(t,s,o);const l=le(()=>[`${k}-preview`,`${n?.value}-theme`,r&&`${k}-scrn`].filter(Boolean)),a=()=>{const u=`${e}-preview`;return t.previewComponent?pn(t.previewComponent,{key:o.value,html:s.value,id:u,class:l.value}):w(sy,{key:o.value,html:s.value,id:u,class:l.value},null)};return()=>w(Fr,null,[i.value.preview&&(t.previewOnly?a():w("div",{id:`${e}-preview-wrapper`,class:`${k}-preview-wrapper`,key:"content-preview-wrapper"},[a()])),i.value.htmlPreview&&w("div",{id:`${e}-html-wrapper`,class:`${k}-preview-wrapper`,key:"html-preview-wrapper"},[w("div",{class:`${k}-html`},[s.value])])])}}),oy=({text:t})=>t,om={modelValue:{type:String,default:""},onChange:{type:Function,default:void 0},theme:{type:String,default:"light"},class:{type:String,default:""},language:{type:String,default:"zh-CN"},onHtmlChanged:{type:Function,default:void 0},onGetCatalog:{type:Function,default:void 0},editorId:{type:String,default:void 0},id:{type:String,default:void 0},showCodeRowNumber:{type:Boolean,default:!0},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:oy},sanitize:{type:Function,default:t=>t},noMermaid:{type:Boolean,default:!1},noKatex:{type:Boolean,default:!1},codeTheme:{type:String,default:"atom"},formatCopiedText:{type:Function,default:t=>t},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},noHighlight:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean,default:!1},customIcon:{type:Object,default:{}},sanitizeMermaid:{type:Function,default:t=>Promise.resolve(t)},codeFoldable:{type:Boolean,default:!0},autoFoldThreshold:{type:Number,default:30},onRemount:{type:Function,default:void 0},noEcharts:{type:Boolean,default:!1},previewComponent:{type:[Object,Function],default:void 0}},ly={...om,onSave:{type:Function,default:void 0},onUploadImg:{type:Function,default:void 0},pageFullscreen:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},htmlPreview:{type:Boolean,default:!1},toolbars:{type:Array,default:pp},floatingToolbars:{type:Array,default:[]},toolbarsExclude:{type:Array,default:[]},noPrettier:{type:Boolean,default:!1},tabWidth:{type:Number,default:2},tableShape:{type:Array,default:[6,4]},placeholder:{type:String,default:""},defToolbars:{type:[String,Object],default:void 0},onError:{type:Function,default:void 0},footers:{type:Array,default:mp},scrollAuto:{type:Boolean,default:!0},defFooters:{type:[String,Object],default:void 0},noUploadImg:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},maxLength:{type:Number,default:void 0},autoDetectCode:{type:Boolean,default:!1},onBlur:{type:Function,default:void 0},onFocus:{type:Function,default:void 0},completions:{type:Array,default:void 0},showToolbarName:{type:Boolean,default:!1},onInput:{type:Function,default:void 0},onDrop:{type:Function,default:void 0},inputBoxWidth:{type:String,default:"50%"},oninputBoxWidthChange:{type:Function,default:void 0},transformImgUrl:{type:Function,default:t=>t},catalogLayout:{type:String,default:"fixed"},catalogMaxDepth:{type:Number,default:void 0}},lm=["onHtmlChanged","onGetCatalog","onChange","onRemount","update:modelValue"],ay=[...lm,"onSave","onUploadImg","onError","onBlur","onFocus","onInput","onDrop","oninputBoxWidthChange"],uy=(t,e,i)=>{const{editorId:n}=i,r={rerender(){M.emit(n,bu)}};e.expose(r)},rr=K({name:"MdPreview",props:om,emits:lm,setup(t,e){const{noKatex:i,noMermaid:n,noHighlight:r}=t,s=te(),o=nm(t);im(t,{rootRef:s,editorId:o}),uy(t,e,{editorId:o}),ri(()=>{M.clear(o)});const l=h=>{t.onChange?.(h),e.emit("onChange",h),e.emit("update:modelValue",h)},a=h=>{t.onHtmlChanged?.(h),e.emit("onHtmlChanged",h)},u=h=>{t.onGetCatalog?.(h),e.emit("onGetCatalog",h)},c=()=>{t.onRemount?.(),e.emit("onRemount")};return()=>w("div",{id:o,class:[k,t.class,t.theme==="dark"&&`${k}-dark`,`${k}-previewOnly`],style:t.style,ref:s},[w(sm,{modelValue:t.modelValue,onChange:l,onHtmlChanged:a,onGetCatalog:u,mdHeadingId:t.mdHeadingId,noMermaid:n,sanitize:t.sanitize,noKatex:i,formatCopiedText:t.formatCopiedText,noHighlight:r,noImgZoomIn:t.noImgZoomIn,previewOnly:!0,sanitizeMermaid:t.sanitizeMermaid,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold,onRemount:c,noEcharts:t.noEcharts,previewComponent:t.previewComponent},null)])}});rr.install=t=>(t.component(rr.name,rr),t);const Oh=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),cy=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,i,n)=>n?n.toUpperCase():i.toLowerCase()),hy=t=>{const e=cy(t);return e.charAt(0).toUpperCase()+e.slice(1)},dy=(...t)=>t.filter((e,i,n)=>!!e&&e.trim()!==""&&n.indexOf(e)===i).join(" ").trim(),gh=t=>t==="";var Xn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};const fy=({name:t,iconNode:e,absoluteStrokeWidth:i,"absolute-stroke-width":n,strokeWidth:r,"stroke-width":s,size:o=Xn.width,color:l=Xn.stroke,...a},{slots:u})=>pn("svg",{...Xn,...a,width:o,height:o,stroke:l,"stroke-width":gh(i)||gh(n)||i===!0||n===!0?Number(r||s||Xn["stroke-width"])*24/Number(o):r||s||Xn["stroke-width"],class:dy("lucide",a.class,...t?[`lucide-${Oh(hy(t))}-icon`,`lucide-${Oh(t)}`]:["lucide-icon"])},[...e.map(c=>pn(...c)),...u.default?[u.default()]:[]]);const fe=(t,e)=>(i,{slots:n,attrs:r})=>pn(fy,{...r,...i,iconNode:e,name:t},n);const py=fe("bold",[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]]);const my=fe("chart-area",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M7 11.207a.5.5 0 0 1 .146-.353l2-2a.5.5 0 0 1 .708 0l3.292 3.292a.5.5 0 0 0 .708 0l4.292-4.292a.5.5 0 0 1 .854.353V16a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1z",key:"q0gr47"}]]);const Oy=fe("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);const gy=fe("code",[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]]);const by=fe("expand",[["path",{d:"m15 15 6 6",key:"1s409w"}],["path",{d:"m15 9 6-6",key:"ko1vev"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}],["path",{d:"M3 16v5h5",key:"1t08am"}],["path",{d:"m3 21 6-6",key:"wwnumi"}],["path",{d:"M3 8V3h5",key:"1ln10m"}],["path",{d:"M9 9 3 3",key:"v551iv"}]]);const xy=fe("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const ky=fe("forward",[["path",{d:"m15 17 5-5-5-5",key:"nf172w"}],["path",{d:"M4 18v-2a4 4 0 0 1 4-4h12",key:"jmiej9"}]]);const yy=fe("heading",[["path",{d:"M6 12h12",key:"8npq4p"}],["path",{d:"M6 20V4",key:"1w1bmo"}],["path",{d:"M18 20V4",key:"o2hl4u"}]]);const vy=fe("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);const Sy=fe("italic",[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]]);const wy=fe("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);const Qy=fe("list-ordered",[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]]);const $y=fe("list-todo",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["rect",{x:"3",y:"4",width:"6",height:"6",rx:"1",key:"cif1o7"}]]);const Ty=fe("list-tree",[["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"M3 10a2 2 0 0 0 2 2h3",key:"1npucw"}],["path",{d:"M3 5v12a2 2 0 0 0 2 2h3",key:"x1gjn2"}]]);const _y=fe("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);const Py=fe("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);const Cy=fe("minimize-2",[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]]);const Ay=fe("quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);const Ey=fe("reply",[["path",{d:"M20 18v-2a4 4 0 0 0-4-4H4",key:"5vmcpk"}],["path",{d:"m9 17-5-5 5-5",key:"nvlc11"}]]);const Ly=fe("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);const Dy=fe("shrink",[["path",{d:"m15 15 6 6m-6-6v4.8m0-4.8h4.8",key:"17vawe"}],["path",{d:"M9 19.8V15m0 0H4.2M9 15l-6 6",key:"chjx8e"}],["path",{d:"M15 4.2V9m0 0h4.8M15 9l6-6",key:"lav6yq"}],["path",{d:"M9 4.2V9m0 0H4.2M9 9 3 3",key:"1pxi2q"}]]);const bh=fe("square-code",[["path",{d:"m10 9-3 3 3 3",key:"1oro0q"}],["path",{d:"m14 15 3-3-3-3",key:"bz13h7"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);const My=fe("square-sigma",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M16 8.9V7H8l4 5-4 5h8v-1.9",key:"9nih0i"}]]);const Ry=fe("strikethrough",[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]]);const Iy=fe("subscript",[["path",{d:"m4 5 8 8",key:"1eunvl"}],["path",{d:"m12 5-8 8",key:"1ah0jp"}],["path",{d:"M20 19h-4c0-1.5.44-2 1.5-2.5S20 15.33 20 14c0-.47-.17-.93-.48-1.29a2.11 2.11 0 0 0-2.62-.44c-.42.24-.74.62-.9 1.07",key:"e8ta8j"}]]);const Zy=fe("superscript",[["path",{d:"m4 19 8-8",key:"hr47gm"}],["path",{d:"m12 19-8-8",key:"1dhhmo"}],["path",{d:"M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06",key:"1dfcux"}]]);const zy=fe("table",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]]);const Xy=fe("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);const Fy=fe("underline",[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]]);const By=fe("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);const Vy=fe("view",[["path",{d:"M21 17v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2",key:"mrq65r"}],["path",{d:"M21 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2",key:"be3xqs"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",key:"11ak4c"}]]);const qy=fe("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),jy=()=>w("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"lucide lucide-github-icon"},[w("path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"},null),w("path",{d:"M9 18c-4.51 2-5-2-7-2"},null)]),Wy={bold:py,underline:Fy,italic:Sy,"strike-through":Ry,title:yy,sub:Iy,sup:Zy,quote:Ay,"unordered-list":_y,"ordered-list":Qy,task:$y,"code-row":gy,code:bh,link:wy,image:vy,table:zy,revoke:Ey,next:ky,save:Ly,prettier:bh,minimize:Cy,maximize:Py,"fullscreen-exit":Dy,fullscreen:by,"preview-only":Vy,preview:xy,"preview-html":Oy,catalog:Ty,github:jy,mermaid:my,formula:My,close:qy,delete:Xy,upload:By},Ny=K({name:`${k}-icon-set`,props:{name:{type:String,default:""}},setup(t){return()=>pn(Wy[t.name],{class:`${k}-icon`})}}),he=K({name:`${k}-icon`,props:{name:{type:String,default:""}},setup(t){const e=$("customIcon");return()=>{const i=e.value[t.name];return typeof i=="object"?typeof i.component=="object"?pn(i.component,i.props):w("span",{innerHTML:i.component},null):w(Ny,{name:t.name},null)}}}),Yy={title:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>{}},class:{type:String,default:void 0},style:{type:[Object,String],default:()=>({})},showMask:{type:Boolean,default:!0}},sr=K({name:"MdModal",props:Yy,emits:["onClose"],setup(t,e){const i=$("theme"),n=$("rootRef"),r=te(t.visible),s=te([`${k}-modal`]),o=te(),l=te(),a=te(),u=ki();let c=()=>{};const h=yt({maskStyle:{zIndex:-1},modalStyle:{zIndex:-1},initPos:{insetInlineStart:"0px",insetBlockStart:"0px"},historyPos:{insetInlineStart:"0px",insetBlockStart:"0px"}}),d=le(()=>t.isFullscreen?{width:"100%",height:"100%"}:{width:t.width,height:t.height});ee(()=>t.isFullscreen,m=>{m?c():St(()=>{c=Vc(l.value,(O,g)=>{h.initPos.insetInlineStart=O+"px",h.initPos.insetBlockStart=g+"px"})})}),ee(()=>t.visible,m=>{m?(h.maskStyle.zIndex=Ce.editorConfig.zIndex+Bc(),h.modalStyle.zIndex=Ce.editorConfig.zIndex+Bc(),s.value.push("zoom-in"),r.value=m,St(()=>{const O=o.value.offsetWidth/2,g=o.value.offsetHeight/2,b=document.documentElement.clientWidth/2,S=document.documentElement.clientHeight/2;h.initPos.insetInlineStart=b-O+"px",h.initPos.insetBlockStart=S-g+"px",t.isFullscreen||(c=Vc(l.value,(y,x)=>{h.initPos.insetInlineStart=y+"px",h.initPos.insetBlockStart=x+"px"}))}),setTimeout(()=>{s.value=s.value.filter(O=>O!=="zoom-in")},140)):(s.value.push("zoom-out"),c(),setTimeout(()=>{s.value=s.value.filter(O=>O!=="zoom-out"),r.value=m},130))});const f=le(()=>({display:r.value?"block":"none"})),p=le(()=>{if(typeof t.style=="string"){const m=Object.entries(f.value).map(([O,g])=>`${O}: ${g}`).join("; ");return[t.style,m].join("; ")}else return t.style instanceof Object?{...f.value,...t.style}:f.value});return we(()=>{const m=n.value?.getRootNode();a.value=m instanceof Document?document.body:m}),()=>{const m=Ne({ctx:e}),O=Ne({props:t,ctx:e},"title");return a.value?w(C1,{to:a.value},{default:()=>[w("div",{ref:u,class:`${k}-modal-container`,"data-theme":i.value},[w("div",{class:t.class,style:p.value},[t.showMask&&w("div",{class:`${k}-modal-mask`,style:h.maskStyle,onClick:()=>{t.onClose?.(),e.emit("onClose")}},null),w("div",{class:s.value,style:{...h.modalStyle,...h.initPos,...d.value},ref:o},[w("div",{class:`${k}-modal-header`,ref:l},[O||""]),w("div",{class:`${k}-modal-body`},[m]),w("div",{class:`${k}-modal-func`},[t.showAdjust&&w("div",{class:`${k}-modal-adjust`,onClick:g=>{g.stopPropagation(),t.isFullscreen?h.initPos=h.historyPos:(h.historyPos=h.initPos,h.initPos={insetInlineStart:"0",insetBlockStart:"0"}),t.onAdjust(!t.isFullscreen)}},[w(he,{name:t.isFullscreen?"minimize":"maximize"},null)]),w("div",{class:`${k}-modal-close`,onClick:g=>{g.stopPropagation(),t.onClose?.(),e.emit("onClose")}},[w(he,{name:"close"},null)])])])])])]}):""}}});sr.install=t=>(t.component(sr.name,sr),t);function Gy(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!A1(t)}const Uy={title:{type:String,default:""},modalTitle:{type:[String,Object],default:""},visible:{type:Boolean,default:void 0},width:{type:String,default:"auto"},height:{type:String,default:"auto"},trigger:{type:[String,Object],default:void 0},onClick:{type:Function,default:void 0},onClose:{type:Function,default:void 0},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:void 0},class:{type:String,default:void 0},style:{type:[Object,String],default:void 0},showMask:{type:Boolean,default:!0},insert:{type:Function,default:void 0},language:{type:String,default:void 0},theme:{type:String,default:void 0},previewTheme:{type:String,default:void 0},codeTheme:{type:String,default:void 0},disabled:{type:Boolean,default:void 0},showToolbarName:{type:Boolean,default:void 0}},zs=K({name:"ModalToolbar",props:Uy,emits:["onClick","onClose","onAdjust"],setup(t,e){const i=()=>{t.onClose?.(),e.emit("onClose")},n=r=>{t.onAdjust?.(r),e.emit("onAdjust",r)};return()=>{const r=Ne({props:t,ctx:e},"trigger"),s=Ne({props:t,ctx:e},"modalTitle"),o=Ne({props:t,ctx:e});return w(Fr,null,[w("button",{class:[`${k}-toolbar-item`,t.disabled&&`${k}-disabled`],title:t.title,disabled:t.disabled,onClick:()=>{t.onClick?.(),e.emit("onClick")},type:"button"},[r]),w(sr,{style:t.style,class:t.class,width:t.width,height:t.height,title:s,visible:t.visible,showMask:t.showMask,onClose:i,showAdjust:t.showAdjust,isFullscreen:t.isFullscreen,onAdjust:n},Gy(o)?o:{default:()=>[o]})])}}});zs.install=t=>(t.component(zs.name,zs),t);const Hy={title:{type:String,default:""},trigger:{type:[String,Object],default:void 0},onClick:{type:Function,default:void 0},insert:{type:Function,default:void 0},language:{type:String,default:void 0},theme:{type:String,default:void 0},previewTheme:{type:String,default:void 0},codeTheme:{type:String,default:void 0},disabled:{type:Boolean,default:void 0},showToolbarName:{type:Boolean,default:void 0}},or=K({name:"NormalToolbar",props:Hy,emits:["onClick"],setup(t,e){return()=>{const i=Ne({props:t,ctx:e},"trigger"),n=Ne({props:t,ctx:e});return w("button",{class:[`${k}-toolbar-item`,t.disabled&&`${k}-disabled`],title:t.title,disabled:t.disabled,onClick:r=>{t.onClick?.(r),e.emit("onClick",r)},type:"button"},[n||i])}}});or.install=t=>(t.component(or.name,or),t);let ga=[],am=[];(()=>{let t="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=0,i=0;e>1;if(t=am[n])e=n+1;else return!0;if(e==i)return!1}}function xh(t){return t>=127462&&t<=127487}const kh=8205;function Jy(t,e,i=!0,n=!0){return(i?um:ev)(t,e,n)}function um(t,e,i){if(e==t.length)return e;e&&cm(t.charCodeAt(e))&&hm(t.charCodeAt(e-1))&&e--;let n=hl(t,e);for(e+=yh(n);e=0&&xh(hl(t,o));)s++,o-=2;if(s%2==0)break;e+=2}else break}return e}function ev(t,e,i){for(;e>0;){let n=um(t,e-2,i);if(n=56320&&t<57344}function hm(t){return t>=55296&&t<56320}function yh(t){return t<65536?1:2}class ce{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,i,n){[e,i]=gn(this,e,i);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(i,this.length,r,1),Zt.from(r,this.length-(i-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,i=this.length){[e,i]=gn(this,e,i);let n=[];return this.decompose(e,i,n,0),Zt.from(n,i-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let i=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new lr(this),s=new lr(e);for(let o=i,l=i;;){if(r.next(o),s.next(o),o=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(l+=r.value.length,r.done||l>=n)return!0}}iter(e=1){return new lr(this,e)}iterRange(e,i=this.length){return new dm(this,e,i)}iterLines(e,i){let n;if(e==null)n=this.iter();else{i==null&&(i=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,i==this.lines+1?this.length:i<=1?0:this.line(i-1).to))}return new fm(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?ce.empty:e.length<=32?new Pe(e):Zt.from(Pe.split(e,[]))}}class Pe extends ce{constructor(e,i=tv(e)){super(),this.text=e,this.length=i}get lines(){return this.text.length}get children(){return null}lineInner(e,i,n,r){for(let s=0;;s++){let o=this.text[s],l=r+o.length;if((i?n:l)>=e)return new iv(r,l,n,o);r=l+1,n++}}decompose(e,i,n,r){let s=e<=0&&i>=this.length?this:new Pe(vh(this.text,e,i),Math.min(i,this.length)-Math.max(0,e));if(r&1){let o=n.pop(),l=Xs(s.text,o.text.slice(),0,s.length);if(l.length<=32)n.push(new Pe(l,o.length+s.length));else{let a=l.length>>1;n.push(new Pe(l.slice(0,a)),new Pe(l.slice(a)))}}else n.push(s)}replace(e,i,n){if(!(n instanceof Pe))return super.replace(e,i,n);[e,i]=gn(this,e,i);let r=Xs(this.text,Xs(n.text,vh(this.text,0,e)),i),s=this.length+n.length-(i-e);return r.length<=32?new Pe(r,s):Zt.from(Pe.split(r,[]),s)}sliceString(e,i=this.length,n=` +`){[e,i]=gn(this,e,i);let r="";for(let s=0,o=0;s<=i&&oe&&o&&(r+=n),es&&(r+=l.slice(Math.max(0,e-s),i-s)),s=a+1}return r}flatten(e){for(let i of this.text)e.push(i)}scanIdentical(){return 0}static split(e,i){let n=[],r=-1;for(let s of e)n.push(s),r+=s.length+1,n.length==32&&(i.push(new Pe(n,r)),n=[],r=-1);return r>-1&&i.push(new Pe(n,r)),i}}class Zt extends ce{constructor(e,i){super(),this.children=e,this.length=i,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,i,n,r){for(let s=0;;s++){let o=this.children[s],l=r+o.length,a=n+o.lines-1;if((i?a:l)>=e)return o.lineInner(e,i,n,r);r=l+1,n=a+1}}decompose(e,i,n,r){for(let s=0,o=0;o<=i&&s=o){let u=r&((o<=e?1:0)|(a>=i?2:0));o>=e&&a<=i&&!u?n.push(l):l.decompose(e-o,i-o,n,u)}o=a+1}}replace(e,i,n){if([e,i]=gn(this,e,i),n.lines=s&&i<=l){let a=o.replace(e-s,i-s,n),u=this.lines-o.lines+a.lines;if(a.lines>4&&a.lines>u>>6){let c=this.children.slice();return c[r]=a,new Zt(c,this.length-(i-e)+n.length)}return super.replace(s,l,a)}s=l+1}return super.replace(e,i,n)}sliceString(e,i=this.length,n=` +`){[e,i]=gn(this,e,i);let r="";for(let s=0,o=0;se&&s&&(r+=n),eo&&(r+=l.sliceString(e-o,i-o,n)),o=a+1}return r}flatten(e){for(let i of this.children)i.flatten(e)}scanIdentical(e,i){if(!(e instanceof Zt))return 0;let n=0,[r,s,o,l]=i>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=i,s+=i){if(r==o||s==l)return n;let a=this.children[r],u=e.children[s];if(a!=u)return n+a.scanIdentical(u,i);n+=a.length+1}}static from(e,i=e.reduce((n,r)=>n+r.length+1,-1)){let n=0;for(let f of e)n+=f.lines;if(n<32){let f=[];for(let p of e)p.flatten(f);return new Pe(f,i)}let r=Math.max(32,n>>5),s=r<<1,o=r>>1,l=[],a=0,u=-1,c=[];function h(f){let p;if(f.lines>s&&f instanceof Zt)for(let m of f.children)h(m);else f.lines>o&&(a>o||!a)?(d(),l.push(f)):f instanceof Pe&&a&&(p=c[c.length-1])instanceof Pe&&f.lines+p.lines<=32?(a+=f.lines,u+=f.length+1,c[c.length-1]=new Pe(p.text.concat(f.text),p.length+1+f.length)):(a+f.lines>r&&d(),a+=f.lines,u+=f.length+1,c.push(f))}function d(){a!=0&&(l.push(c.length==1?c[0]:Zt.from(c,u)),u=-1,a=c.length=0)}for(let f of e)h(f);return d(),l.length==1?l[0]:new Zt(l,i)}}ce.empty=new Pe([""],0);function tv(t){let e=-1;for(let i of t)e+=i.length+1;return e}function Xs(t,e,i=0,n=1e9){for(let r=0,s=0,o=!0;s=i&&(a>n&&(l=l.slice(0,n-r)),r0?1:(e instanceof Pe?e.text.length:e.children.length)<<1]}nextInner(e,i){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],s=this.offsets[n],o=s>>1,l=r instanceof Pe?r.text.length:r.children.length;if(o==(i>0?l:0)){if(n==0)return this.done=!0,this.value="",this;i>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(i>0?0:1)){if(this.offsets[n]+=i,e==0)return this.lineBreak=!0,this.value=` +`,this;e--}else if(r instanceof Pe){let a=r.text[o+(i<0?-1:0)];if(this.offsets[n]+=i,a.length>Math.max(0,e))return this.value=e==0?a:i>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=r.children[o+(i<0?-1:0)];e>a.length?(e-=a.length,this.offsets[n]+=i):(i<0&&this.offsets[n]--,this.nodes.push(a),this.offsets.push(i>0?1:(a instanceof Pe?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class dm{constructor(e,i,n){this.value="",this.done=!1,this.cursor=new lr(e,i>n?-1:1),this.pos=i>n?e.length:0,this.from=Math.min(i,n),this.to=Math.max(i,n)}nextInner(e,i){if(i<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,i<0?this.pos-this.to:this.from-this.pos);let n=i<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*i,this.value=r.length<=n?r:i<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class fm{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:i,lineBreak:n,value:r}=this.inner.next(e);return i&&this.afterBreak?(this.value="",this.afterBreak=!1):i?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(ce.prototype[Symbol.iterator]=function(){return this.iter()},lr.prototype[Symbol.iterator]=dm.prototype[Symbol.iterator]=fm.prototype[Symbol.iterator]=function(){return this});let iv=class{constructor(e,i,n,r){this.from=e,this.to=i,this.number=n,this.text=r}get length(){return this.to-this.from}};function gn(t,e,i){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,i))]}function Ze(t,e,i=!0,n=!0){return Jy(t,e,i,n)}function nv(t){return t>=56320&&t<57344}function rv(t){return t>=55296&&t<56320}function hi(t,e){let i=t.charCodeAt(e);if(!rv(i)||e+1==t.length)return i;let n=t.charCodeAt(e+1);return nv(n)?(i-55296<<10)+(n-56320)+65536:i}function pm(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function Li(t){return t<65536?1:2}const ba=/\r\n?|\n/;var We=(function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t})(We||(We={}));class Wt{constructor(e){this.sections=e}get length(){let e=0;for(let i=0;ie)return s+(e-r);s+=l}else{if(n!=We.Simple&&u>=e&&(n==We.TrackDel&&re||n==We.TrackBefore&&re))return null;if(u>e||u==e&&i<0&&!l)return e==r||i<0?s:s+a;s+=a}r=u}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return s}touchesRange(e,i=e){for(let n=0,r=0;n=0&&r<=i&&l>=e)return ri?"cover":!0;r=l}return!1}toString(){let e="";for(let i=0;i=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(i=>typeof i!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Wt(e)}static create(e){return new Wt(e)}}class Le extends Wt{constructor(e,i){super(e),this.inserted=i}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return xa(this,(i,n,r,s,o)=>e=e.replace(r,r+(n-i),o),!1),e}mapDesc(e,i=!1){return ka(this,e,i,!0)}invert(e){let i=this.sections.slice(),n=[];for(let r=0,s=0;r=0){i[r]=l,i[r+1]=o;let a=r>>1;for(;n.length0&&gi(n,i,s.text),s.forward(c),l+=c}let u=e[o++];for(;l>1].toJSON()))}return e}static of(e,i,n){let r=[],s=[],o=0,l=null;function a(c=!1){if(!c&&!r.length)return;od||h<0||d>i)throw new RangeError(`Invalid change range ${h} to ${d} (in doc of length ${i})`);let p=f?typeof f=="string"?ce.of(f.split(n||ba)):f:ce.empty,m=p.length;if(h==d&&m==0)return;ho&&Be(r,h-o,-1),Be(r,d-h,m),gi(s,r,p),o=d}}return u(e),a(!l),l}static empty(e){return new Le(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let i=[],n=[];for(let r=0;rl&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)i.push(s[0],0);else{for(;n.length=0&&i<=0&&i==t[r+1]?t[r]+=e:r>=0&&e==0&&t[r]==0?t[r+1]+=i:n?(t[r]+=e,t[r+1]+=i):t.push(e,i)}function gi(t,e,i){if(i.length==0)return;let n=e.length-2>>1;if(n>1])),!(i||o==t.sections.length||t.sections[o+1]<0);)l=t.sections[o++],a=t.sections[o++];e(r,u,s,c,h),r=u,s=c}}}function ka(t,e,i,n=!1){let r=[],s=n?[]:null,o=new vr(t),l=new vr(e);for(let a=-1;;){if(o.done&&l.len||l.done&&o.len)throw new Error("Mismatched change set lengths");if(o.ins==-1&&l.ins==-1){let u=Math.min(o.len,l.len);Be(r,u,-1),o.forward(u),l.forward(u)}else if(l.ins>=0&&(o.ins<0||a==o.i||o.off==0&&(l.len=0&&a=0){let u=0,c=o.len;for(;c;)if(l.ins==-1){let h=Math.min(c,l.len);u+=h,c-=h,l.forward(h)}else if(l.ins==0&&l.lena||o.ins>=0&&o.len>a)&&(l||n.length>u),s.forward2(a),o.forward(a)}}}}class vr{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return i>=e.length?ce.empty:e[i]}textBit(e){let{inserted:i}=this.set,n=this.i-2>>1;return n>=i.length&&!e?ce.empty:i[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Ri{constructor(e,i,n){this.from=e,this.to=i,this.flags=n}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,i=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,i):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new Ri(n,r,this.flags)}extend(e,i=e,n=0){if(e<=this.anchor&&i>=this.anchor)return L.range(e,i,void 0,void 0,n);let r=Math.abs(e-this.anchor)>Math.abs(i-this.anchor)?e:i;return L.range(this.anchor,r,void 0,void 0,n)}eq(e,i=!1){return this.anchor==e.anchor&&this.head==e.head&&this.goalColumn==e.goalColumn&&(!i||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return L.range(e.anchor,e.head)}static create(e,i,n){return new Ri(e,i,n)}}class L{constructor(e,i){this.ranges=e,this.mainIndex=i}map(e,i=-1){return e.empty?this:L.create(this.ranges.map(n=>n.map(e,i)),this.mainIndex)}eq(e,i=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new L(e.ranges.map(i=>Ri.fromJSON(i)),e.main)}static single(e,i=e){return new L([L.range(e,i)],0)}static create(e,i=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,r=0;rr.from-s.from),i=e.indexOf(n);for(let r=1;rs.head?L.range(a,l):L.range(l,a))}}return new L(e,i)}}function Om(t,e){for(let i of t.ranges)if(i.to>e)throw new RangeError("Selection points outside of document")}let Tu=0;class G{constructor(e,i,n,r,s){this.combine=e,this.compareInput=i,this.compare=n,this.isStatic=r,this.id=Tu++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(e={}){return new G(e.combine||(i=>i),e.compareInput||((i,n)=>i===n),e.compare||(e.combine?(i,n)=>i===n:_u),!!e.static,e.enables)}of(e){return new Fs([],this,0,e)}compute(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Fs(e,this,1,i)}computeN(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Fs(e,this,2,i)}from(e,i){return i||(i=n=>n),this.compute([e],n=>i(n.field(e)))}}function _u(t,e){return t==e||t.length==e.length&&t.every((i,n)=>i===e[n])}class Fs{constructor(e,i,n,r){this.dependencies=e,this.facet=i,this.type=n,this.value=r,this.id=Tu++}dynamicSlot(e){var i;let n=this.value,r=this.facet.compareInput,s=this.id,o=e[s]>>1,l=this.type==2,a=!1,u=!1,c=[];for(let h of this.dependencies)h=="doc"?a=!0:h=="selection"?u=!0:(((i=e[h.id])!==null&&i!==void 0?i:1)&1)==0&&c.push(e[h.id]);return{create(h){return h.values[o]=n(h),1},update(h,d){if(a&&d.docChanged||u&&(d.docChanged||d.selection)||ya(h,c)){let f=n(h);if(l?!Sh(f,h.values[o],r):!r(f,h.values[o]))return h.values[o]=f,1}return 0},reconfigure:(h,d)=>{let f,p=d.config.address[s];if(p!=null){let m=no(d,p);if(this.dependencies.every(O=>O instanceof G?d.facet(O)===h.facet(O):O instanceof nt?d.field(O,!1)==h.field(O,!1):!0)||(l?Sh(f=n(h),m,r):r(f=n(h),m)))return h.values[o]=m,0}else f=n(h);return h.values[o]=f,1}}}}function Sh(t,e,i){if(t.length!=e.length)return!1;for(let n=0;nt[a.id]),r=i.map(a=>a.type),s=n.filter(a=>!(a&1)),o=t[e.id]>>1;function l(a){let u=[];for(let c=0;cn===r),e);return e.provide&&(i.provides=e.provide(i)),i}create(e){let i=e.facet(ls).find(n=>n.field==this);return(i?.create||this.createF)(e)}slot(e){let i=e[this.id]>>1;return{create:n=>(n.values[i]=this.create(n),1),update:(n,r)=>{let s=n.values[i],o=this.updateF(s,r);return this.compareF(s,o)?0:(n.values[i]=o,1)},reconfigure:(n,r)=>{let s=n.facet(ls),o=r.facet(ls),l;return(l=s.find(a=>a.field==this))&&l!=o.find(a=>a.field==this)?(n.values[i]=l.create(n),1):r.config.address[this.id]!=null?(n.values[i]=r.field(this),0):(n.values[i]=this.create(n),1)}}}init(e){return[this,ls.of({field:this,create:e})]}get extension(){return this}}const Di={lowest:4,low:3,default:2,high:1,highest:0};function Fn(t){return e=>new gm(e,t)}const si={highest:Fn(Di.highest),high:Fn(Di.high),default:Fn(Di.default),low:Fn(Di.low),lowest:Fn(Di.lowest)};class gm{constructor(e,i){this.inner=e,this.prec=i}}class zt{of(e){return new va(this,e)}reconfigure(e){return zt.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class va{constructor(e,i){this.compartment=e,this.inner=i}}class io{constructor(e,i,n,r,s,o){for(this.base=e,this.compartments=i,this.dynamicSlots=n,this.address=r,this.staticValues=s,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,i,n){let r=[],s=Object.create(null),o=new Map;for(let d of ov(e,i,o))d instanceof nt?r.push(d):(s[d.facet.id]||(s[d.facet.id]=[])).push(d);let l=Object.create(null),a=[],u=[];for(let d of r)l[d.id]=u.length<<1,u.push(f=>d.slot(f));let c=n?.config.facets;for(let d in s){let f=s[d],p=f[0].facet,m=c&&c[d]||[];if(f.every(O=>O.type==0))if(l[p.id]=a.length<<1|1,_u(m,f))a.push(n.facet(p));else{let O=p.combine(f.map(g=>g.value));a.push(n&&p.compare(O,n.facet(p))?n.facet(p):O)}else{for(let O of f)O.type==0?(l[O.id]=a.length<<1|1,a.push(O.value)):(l[O.id]=u.length<<1,u.push(g=>O.dynamicSlot(g)));l[p.id]=u.length<<1,u.push(O=>sv(O,p,f))}}let h=u.map(d=>d(l));return new io(e,o,h,l,a,s)}}function ov(t,e,i){let n=[[],[],[],[],[]],r=new Map;function s(o,l){let a=r.get(o);if(a!=null){if(a<=l)return;let u=n[a].indexOf(o);u>-1&&n[a].splice(u,1),o instanceof va&&i.delete(o.compartment)}if(r.set(o,l),Array.isArray(o))for(let u of o)s(u,l);else if(o instanceof va){if(i.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let u=e.get(o.compartment)||o.inner;i.set(o.compartment,u),s(u,l)}else if(o instanceof gm)s(o.inner,o.prec);else if(o instanceof nt)n[l].push(o),o.provides&&s(o.provides,l);else if(o instanceof Fs)n[l].push(o),o.facet.extensions&&s(o.facet.extensions,Di.default);else{let u=o.extension;if(!u)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(u,l)}}return s(t,Di.default),n.reduce((o,l)=>o.concat(l))}function ar(t,e){if(e&1)return 2;let i=e>>1,n=t.status[i];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;t.status[i]=4;let r=t.computeSlot(t,t.config.dynamicSlots[i]);return t.status[i]=2|r}function no(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const bm=G.define(),Sa=G.define({combine:t=>t.some(e=>e),static:!0}),xm=G.define({combine:t=>t.length?t[0]:void 0,static:!0}),km=G.define(),ym=G.define(),vm=G.define(),Sm=G.define({combine:t=>t.length?t[0]:!1});class oi{constructor(e,i){this.type=e,this.value=i}static define(){return new lv}}class lv{of(e){return new oi(this,e)}}class av{constructor(e){this.map=e}of(e){return new se(this,e)}}class se{constructor(e,i){this.type=e,this.value=i}map(e){let i=this.type.map(this.value,e);return i===void 0?void 0:i==this.value?this:new se(this.type,i)}is(e){return this.type==e}static define(e={}){return new av(e.map||(i=>i))}static mapEffects(e,i){if(!e.length)return e;let n=[];for(let r of e){let s=r.map(i);s&&n.push(s)}return n}}se.reconfigure=se.define();se.appendConfig=se.define();class Ae{constructor(e,i,n,r,s,o){this.startState=e,this.changes=i,this.selection=n,this.effects=r,this.annotations=s,this.scrollIntoView=o,this._doc=null,this._state=null,n&&Om(n,i.newLength),s.some(l=>l.type==Ae.time)||(this.annotations=s.concat(Ae.time.of(Date.now())))}static create(e,i,n,r,s,o){return new Ae(e,i,n,r,s,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let i of this.annotations)if(i.type==e)return i.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let i=this.annotation(Ae.userEvent);return!!(i&&(i==e||i.length>e.length&&i.slice(0,e.length)==e&&i[e.length]=="."))}}Ae.time=oi.define();Ae.userEvent=oi.define();Ae.addToHistory=oi.define();Ae.remote=oi.define();function uv(t,e){let i=[];for(let n=0,r=0;;){let s,o;if(n=t[n]))s=t[n++],o=t[n++];else if(r=0;r--){let s=n[r](t);s instanceof Ae?t=s:Array.isArray(s)&&s.length==1&&s[0]instanceof Ae?t=s[0]:t=Qm(e,on(s),!1)}return t}function hv(t){let e=t.startState,i=e.facet(vm),n=t;for(let r=i.length-1;r>=0;r--){let s=i[r](t);s&&Object.keys(s).length&&(n=wm(n,wa(e,s,t.changes.newLength),!0))}return n==t?t:Ae.create(e,t.changes,t.selection,n.effects,n.annotations,n.scrollIntoView)}const dv=[];function on(t){return t==null?dv:Array.isArray(t)?t:[t]}var Xe=(function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t})(Xe||(Xe={}));const fv=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Qa;try{Qa=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function pv(t){if(Qa)return Qa.test(t);for(let e=0;e"€"&&(i.toUpperCase()!=i.toLowerCase()||fv.test(i)))return!0}return!1}function mv(t){return e=>{if(!/\S/.test(e))return Xe.Space;if(pv(e))return Xe.Word;for(let i=0;i-1)return Xe.Word;return Xe.Other}}class ue{constructor(e,i,n,r,s,o){this.config=e,this.doc=i,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=s,o&&(o._state=this);for(let l=0;lr.set(u,a)),i=null),r.set(l.value.compartment,l.value.extension)):l.is(se.reconfigure)?(i=null,n=l.value):l.is(se.appendConfig)&&(i=null,n=on(n).concat(l.value));let s;i?s=e.startState.values.slice():(i=io.resolve(n,r,this),s=new ue(i,this.doc,this.selection,i.dynamicSlots.map(()=>null),(a,u)=>u.reconfigure(a,this),null).values);let o=e.startState.facet(Sa)?e.newSelection:e.newSelection.asSingle();new ue(i,e.newDoc,o,s,(l,a)=>a.update(l,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:e},range:L.cursor(i.from+e.length)}))}changeByRange(e){let i=this.selection,n=e(i.ranges[0]),r=this.changes(n.changes),s=[n.range],o=on(n.effects);for(let l=1;lo.spec.fromJSON(l,a)))}}return ue.create({doc:e.doc,selection:L.fromJSON(e.selection),extensions:i.extensions?r.concat([i.extensions]):r})}static create(e={}){let i=io.resolve(e.extensions||[],new Map),n=e.doc instanceof ce?e.doc:ce.of((e.doc||"").split(i.staticFacet(ue.lineSeparator)||ba)),r=e.selection?e.selection instanceof L?e.selection:L.single(e.selection.anchor,e.selection.head):L.single(0);return Om(r,n.length),i.staticFacet(Sa)||(r=r.asSingle()),new ue(i,n,r,i.dynamicSlots.map(()=>null),(s,o)=>o.create(s),null)}get tabSize(){return this.facet(ue.tabSize)}get lineBreak(){return this.facet(ue.lineSeparator)||` +`}get readOnly(){return this.facet(Sm)}phrase(e,...i){for(let n of this.facet(ue.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return i.length&&(e=e.replace(/\$(\$|\d*)/g,(n,r)=>{if(r=="$")return"$";let s=+(r||1);return!s||s>i.length?n:i[s-1]})),e}languageDataAt(e,i,n=-1){let r=[];for(let s of this.facet(bm))for(let o of s(this,i,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){let i=this.languageDataAt("wordChars",e);return mv(i.length?i[0]:"")}wordAt(e){let{text:i,from:n,length:r}=this.doc.lineAt(e),s=this.charCategorizer(e),o=e-n,l=e-n;for(;o>0;){let a=Ze(i,o,!1);if(s(i.slice(a,o))!=Xe.Word)break;o=a}for(;lt.length?t[0]:4});ue.lineSeparator=xm;ue.readOnly=Sm;ue.phrases=G.define({compare(t,e){let i=Object.keys(t),n=Object.keys(e);return i.length==n.length&&i.every(r=>t[r]==e[r])}});ue.languageData=bm;ue.changeFilter=km;ue.transactionFilter=ym;ue.transactionExtender=vm;zt.reconfigure=se.define();function jr(t,e,i={}){let n={};for(let r of t)for(let s of Object.keys(r)){let o=r[s],l=n[s];if(l===void 0)n[s]=o;else if(!(l===o||o===void 0))if(Object.hasOwnProperty.call(i,s))n[s]=i[s](l,o);else throw new Error("Config merge conflict for field "+s)}for(let r in e)n[r]===void 0&&(n[r]=e[r]);return n}class vi{eq(e){return this==e}range(e,i=e){return $a.create(e,i,this)}}vi.prototype.startSide=vi.prototype.endSide=0;vi.prototype.point=!1;vi.prototype.mapMode=We.TrackDel;function Pu(t,e){return t==e||t.constructor==e.constructor&&t.eq(e)}let $a=class $m{constructor(e,i,n){this.from=e,this.to=i,this.value=n}static create(e,i,n){return new $m(e,i,n)}};function Ta(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class Cu{constructor(e,i,n,r){this.from=e,this.to=i,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,i,n,r=0){let s=n?this.to:this.from;for(let o=r,l=s.length;;){if(o==l)return o;let a=o+l>>1,u=s[a]-e||(n?this.value[a].endSide:this.value[a].startSide)-i;if(a==o)return u>=0?o:l;u>=0?l=a:o=a+1}}between(e,i,n,r){for(let s=this.findIndex(i,-1e9,!0),o=this.findIndex(n,1e9,!1,s);sf||d==f&&u.startSide>0&&u.endSide<=0)continue;(f-d||u.endSide-u.startSide)<0||(o<0&&(o=d),u.point&&(l=Math.max(l,f-d)),n.push(u),r.push(d-o),s.push(f-o))}return{mapped:n.length?new Cu(r,s,n,l):null,pos:o}}}class de{constructor(e,i,n,r){this.chunkPos=e,this.chunk=i,this.nextLayer=n,this.maxPoint=r}static create(e,i,n,r){return new de(e,i,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let i of this.chunk)e+=i.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:i=[],sort:n=!1,filterFrom:r=0,filterTo:s=this.length}=e,o=e.filter;if(i.length==0&&!o)return this;if(n&&(i=i.slice().sort(Ta)),this.isEmpty)return i.length?de.of(i):this;let l=new Tm(this,null,-1).goto(0),a=0,u=[],c=new Xi;for(;l.value||a=0){let h=i[a++];c.addInner(h.from,h.to,h.value)||u.push(h)}else l.rangeIndex==1&&l.chunkIndexthis.chunkEnd(l.chunkIndex)||sl.to||s=s&&e<=s+o.length&&o.between(s,e-s,i-s,n)===!1)return}this.nextLayer.between(e,i,n)}}iter(e=0){return Sr.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,i=0){return Sr.from(e).goto(i)}static compare(e,i,n,r,s=-1){let o=e.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),l=i.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),a=wh(o,l,n),u=new Bn(o,a,s),c=new Bn(l,a,s);n.iterGaps((h,d,f)=>Qh(u,h,c,d,f,r)),n.empty&&n.length==0&&Qh(u,0,c,0,0,r)}static eq(e,i,n=0,r){r==null&&(r=999999999);let s=e.filter(c=>!c.isEmpty&&i.indexOf(c)<0),o=i.filter(c=>!c.isEmpty&&e.indexOf(c)<0);if(s.length!=o.length)return!1;if(!s.length)return!0;let l=wh(s,o),a=new Bn(s,l,0).goto(n),u=new Bn(o,l,0).goto(n);for(;;){if(a.to!=u.to||!_a(a.active,u.active)||a.point&&(!u.point||!Pu(a.point,u.point)))return!1;if(a.to>r)return!0;a.next(),u.next()}}static spans(e,i,n,r,s=-1){let o=new Bn(e,null,s).goto(i),l=i,a=o.openStart;for(;;){let u=Math.min(o.to,n);if(o.point){let c=o.activeForPoint(o.to),h=o.pointFroml&&(r.span(l,u,o.active,a),a=o.openEnd(u));if(o.to>n)return a+(o.point&&o.to>n?1:0);l=o.to,o.next()}}static of(e,i=!1){let n=new Xi;for(let r of e instanceof $a?[e]:i?Ov(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return de.empty;let i=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=de.empty;r=r.nextLayer)i=new de(r.chunkPos,r.chunk,i,Math.max(r.maxPoint,i.maxPoint));return i}}de.empty=new de([],[],null,-1);function Ov(t){if(t.length>1)for(let e=t[0],i=1;i0)return t.slice().sort(Ta);e=n}return t}de.empty.nextLayer=de.empty;class Xi{finishChunk(e){this.chunks.push(new Cu(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,i,n){this.addInner(e,i,n)||(this.nextLayer||(this.nextLayer=new Xi)).add(e,i,n)}addInner(e,i,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(i-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=i,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,i-e)),!0)}addChunk(e,i){if((e-this.lastTo||i.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,i.maxPoint),this.chunks.push(i),this.chunkPos.push(e);let n=i.value.length-1;return this.last=i.value[n],this.lastFrom=i.from[n]+e,this.lastTo=i.to[n]+e,!0}finish(){return this.finishInner(de.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let i=de.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,i}}function wh(t,e,i){let n=new Map;for(let s of t)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&r.push(new Tm(o,i,n,s));return r.length==1?r[0]:new Sr(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,i=-1e9){for(let n of this.heap)n.goto(e,i);for(let n=this.heap.length>>1;n>=0;n--)dl(this.heap,n);return this.next(),this}forward(e,i){for(let n of this.heap)n.forward(e,i);for(let n=this.heap.length>>1;n>=0;n--)dl(this.heap,n);(this.to-e||this.value.endSide-i)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),dl(this.heap,0)}}}function dl(t,e){for(let i=t[e];;){let n=(e<<1)+1;if(n>=t.length)break;let r=t[n];if(n+1=0&&(r=t[n+1],n++),i.compare(r)<0)break;t[n]=i,t[e]=r,e=n}}class Bn{constructor(e,i,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Sr.from(e,i,n)}goto(e,i=-1e9){return this.cursor.goto(e,i),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=i,this.openStart=-1,this.next(),this}forward(e,i){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-i)<0;)this.removeActive(this.minActive);this.cursor.forward(e,i)}removeActive(e){as(this.active,e),as(this.activeTo,e),as(this.activeRank,e),this.minActive=$h(this.active,this.activeTo)}addActive(e){let i=0,{value:n,to:r,rank:s}=this.cursor;for(;i0;)i++;us(this.active,i,n),us(this.activeTo,i,r),us(this.activeRank,i,s),e&&us(e,i,this.cursor.from),this.minActive=$h(this.active,this.activeTo)}next(){let e=this.to,i=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&as(n,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(i&&this.cursor.to==this.to&&this.cursor.from=0&&n[r]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&i.push(this.active[n]);return i.reverse()}openEnd(e){let i=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)i++;return i}}function Qh(t,e,i,n,r,s){t.goto(e),i.goto(n);let o=n+r,l=n,a=n-e,u=!!s.boundChange;for(let c=!1;;){let h=t.to+a-i.to,d=h||t.endSide-i.endSide,f=d<0?t.to+a:i.to,p=Math.min(f,o);if(t.point||i.point?(t.point&&i.point&&Pu(t.point,i.point)&&_a(t.activeForPoint(t.to),i.activeForPoint(i.to))||s.comparePoint(l,p,t.point,i.point),c=!1):(c&&s.boundChange(l),p>l&&!_a(t.active,i.active)&&s.compareRange(l,p,t.active,i.active),u&&po)break;l=f,d<=0&&t.next(),d>=0&&i.next()}}function _a(t,e){if(t.length!=e.length)return!1;for(let i=0;i=e;n--)t[n+1]=t[n];t[e]=i}function $h(t,e){let i=-1,n=1e9;for(let r=0;r=e)return r;if(r==t.length)break;s+=t.charCodeAt(r)==9?i-s%i:1,r=Ze(t,r)}return t.length}const Pa="ͼ",Th=typeof Symbol>"u"?"__"+Pa:Symbol.for(Pa),Ca=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),_h=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Si{constructor(e,i){this.rules=[];let{finish:n}=i||{};function r(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function s(o,l,a,u){let c=[],h=/^@(\w+)\b/.exec(o[0]),d=h&&h[1]=="keyframes";if(h&&l==null)return a.push(o[0]+";");for(let f in l){let p=l[f];if(/&/.test(f))s(f.split(/,\s*/).map(m=>o.map(O=>m.replace(/&/,O))).reduce((m,O)=>m.concat(O)),p,a);else if(p&&typeof p=="object"){if(!h)throw new RangeError("The value of a property ("+f+") should be a primitive value.");s(r(f),p,c,d)}else p!=null&&c.push(f.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+p+";")}(c.length||d)&&a.push((n&&!h&&!u?o.map(n):o).join(", ")+" {"+c.join(" ")+"}")}for(let o in e)s(r(o),e[o],this.rules)}getRules(){return this.rules.join(` +`)}static newName(){let e=_h[Th]||1;return _h[Th]=e+1,Pa+e.toString(36)}static mount(e,i,n){let r=e[Ca],s=n&&n.nonce;r?s&&r.setNonce(s):r=new bv(e,s),r.mount(Array.isArray(i)?i:[i],e)}}let Ph=new Map;class bv{constructor(e,i){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let s=Ph.get(n);if(s)return e[Ca]=s;this.sheet=new r.CSSStyleSheet,Ph.set(n,this)}else this.styleTag=n.createElement("style"),i&&this.styleTag.setAttribute("nonce",i);this.modules=[],e[Ca]=this}mount(e,i){let n=this.sheet,r=0,s=0;for(let o=0;o-1&&(this.modules.splice(a,1),s--,a=-1),a==-1){if(this.modules.splice(s++,0,l),n)for(let u=0;u2);var N={mac:Ah||/Mac/.test(je.platform),windows:/Win/.test(je.platform),linux:/Linux|X11/.test(je.platform),ie:Fo,ie_version:Pm?Aa.documentMode||6:La?+La[1]:Ea?+Ea[1]:0,gecko:Ch,gecko_version:Ch?+(/Firefox\/(\d+)/.exec(je.userAgent)||[0,0])[1]:0,chrome:!!fl,chrome_version:fl?+fl[1]:0,ios:Ah,android:/Android\b/.test(je.userAgent),webkit_version:xv?+(/\bAppleWebKit\/(\d+)/.exec(je.userAgent)||[0,0])[1]:0,safari:Da,safari_version:Da?+(/\bVersion\/(\d+(\.\d+)?)/.exec(je.userAgent)||[0,0])[1]:0,tabSize:Aa.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};function Au(t,e){for(let i in t)i=="class"&&e.class?e.class+=" "+t.class:i=="style"&&e.style?e.style+=";"+t.style:e[i]=t[i];return e}const ro=Object.create(null);function Eu(t,e,i){if(t==e)return!0;t||(t=ro),e||(e=ro);let n=Object.keys(t),r=Object.keys(e);if(n.length-0!=r.length-0)return!1;for(let s of n)if(s!=i&&(r.indexOf(s)==-1||t[s]!==e[s]))return!1;return!0}function kv(t,e){for(let i=t.attributes.length-1;i>=0;i--){let n=t.attributes[i].name;e[n]==null&&t.removeAttribute(n)}for(let i in e){let n=e[i];i=="style"?t.style.cssText=n:t.getAttribute(i)!=n&&t.setAttribute(i,n)}}function Eh(t,e,i){let n=!1;if(e)for(let r in e)i&&r in i||(n=!0,r=="style"?t.style.cssText="":t.removeAttribute(r));if(i)for(let r in i)e&&e[r]==i[r]||(n=!0,r=="style"?t.style.cssText=i[r]:t.setAttribute(r,i[r]));return n}function yv(t){let e=Object.create(null);for(let i=0;i0?3e8:-4e8:i>0?1e8:-1e8,new Fi(e,i,i,n,e.widget||null,!1)}static replace(e){let i=!!e.block,n,r;if(e.isBlockGap)n=-5e8,r=4e8;else{let{start:s,end:o}=Cm(e,i);n=(s?i?-3e8:-1:5e8)-1,r=(o?i?2e8:1:-6e8)+1}return new Fi(e,n,r,i,e.widget||null,!0)}static line(e){return new Nr(e)}static set(e,i=!1){return de.of(e,i)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}me.none=de.empty;class Wr extends me{constructor(e){let{start:i,end:n}=Cm(e);super(i?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.attrs=e.class&&e.attributes?Au(e.attributes,{class:e.class}):e.class?{class:e.class}:e.attributes||ro}eq(e){return this==e||e instanceof Wr&&this.tagName==e.tagName&&Eu(this.attrs,e.attrs)}range(e,i=e){if(e>=i)throw new RangeError("Mark decorations may not be empty");return super.range(e,i)}}Wr.prototype.point=!1;class Nr extends me{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Nr&&this.spec.class==e.spec.class&&Eu(this.spec.attributes,e.spec.attributes)}range(e,i=e){if(i!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,i)}}Nr.prototype.mapMode=We.TrackBefore;Nr.prototype.point=!0;class Fi extends me{constructor(e,i,n,r,s,o){super(i,n,s,e),this.block=r,this.isReplace=o,this.mapMode=r?i<=0?We.TrackBefore:We.TrackAfter:We.TrackDel}get type(){return this.startSide!=this.endSide?Fe.WidgetRange:this.startSide<=0?Fe.WidgetBefore:Fe.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof Fi&&vv(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,i=e){if(this.isReplace&&(e>i||e==i&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&i!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,i)}}Fi.prototype.point=!0;function Cm(t,e=!1){let{inclusiveStart:i,inclusiveEnd:n}=t;return i==null&&(i=t.inclusive),n==null&&(n=t.inclusive),{start:i??e,end:n??e}}function vv(t,e){return t==e||!!(t&&e&&t.compare(e))}function ln(t,e,i,n=0){let r=i.length-1;r>=0&&i[r]+n>=t?i[r]=Math.max(i[r],e):i.push(t,e)}class wr extends vi{constructor(e,i){super(),this.tagName=e,this.attributes=i}eq(e){return e==this||e instanceof wr&&this.tagName==e.tagName&&Eu(this.attributes,e.attributes)}static create(e){return new wr(e.tagName,e.attributes||ro)}static set(e,i=!1){return de.of(e,i)}}wr.prototype.startSide=wr.prototype.endSide=-1;function Qr(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function Ma(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function ur(t,e){if(!e.anchorNode)return!1;try{return Ma(t,e.anchorNode)}catch{return!1}}function cr(t){return t.nodeType==3?Tr(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function hr(t,e,i,n){return i?Lh(t,e,i,n,-1)||Lh(t,e,i,n,1):!1}function wi(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function so(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function Lh(t,e,i,n,r){for(;;){if(t==i&&e==n)return!0;if(e==(r<0?0:ni(t))){if(t.nodeName=="DIV")return!1;let s=t.parentNode;if(!s||s.nodeType!=1)return!1;e=wi(t)+(r<0?0:1),t=s}else if(t.nodeType==1){if(t=t.childNodes[e+(r<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=r<0?ni(t):0}else return!1}}function ni(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function $r(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,bottom:t.bottom}}function Sv(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function Am(t,e){let i=e.width/t.offsetWidth,n=e.height/t.offsetHeight;return(i>.995&&i<1.005||!isFinite(i)||Math.abs(e.width-t.offsetWidth)<1)&&(i=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.height-t.offsetHeight)<1)&&(n=1),{scaleX:i,scaleY:n}}function wv(t,e,i,n,r,s,o,l){let a=t.ownerDocument,u=a.defaultView||window;for(let c=t,h=!1;c&&!h;)if(c.nodeType==1){let d,f=c==a.body,p=1,m=1;if(f)d=Sv(u);else{if(/^(fixed|sticky)$/.test(getComputedStyle(c).position)&&(h=!0),c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}let b=c.getBoundingClientRect();({scaleX:p,scaleY:m}=Am(c,b)),d={left:b.left,right:b.left+c.clientWidth*p,top:b.top,bottom:b.top+c.clientHeight*m}}let O=0,g=0;if(r=="nearest")e.top0&&e.bottom>d.bottom+g&&(g=e.bottom-d.bottom+o)):e.bottom>d.bottom&&(g=e.bottom-d.bottom+o,i<0&&e.top-g0&&e.right>d.right+O&&(O=e.right-d.right+s)):e.right>d.right&&(O=e.right-d.right+s,i<0&&e.leftd.bottom||e.leftd.right)&&(e={left:Math.max(e.left,d.left),right:Math.min(e.right,d.right),top:Math.max(e.top,d.top),bottom:Math.min(e.bottom,d.bottom)}),c=c.assignedSlot||c.parentNode}else if(c.nodeType==11)c=c.host;else break}function Em(t,e=!0){let i=t.ownerDocument,n=null,r=null;for(let s=t.parentNode;s&&!(s==i.body||(!e||n)&&r);)if(s.nodeType==1)!r&&s.scrollHeight>s.clientHeight&&(r=s),e&&!n&&s.scrollWidth>s.clientWidth&&(n=s),s=s.assignedSlot||s.parentNode;else if(s.nodeType==11)s=s.host;else break;return{x:n,y:r}}class Qv{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:i,focusNode:n}=e;this.set(i,Math.min(e.anchorOffset,i?ni(i):0),n,Math.min(e.focusOffset,n?ni(n):0))}set(e,i,n,r){this.anchorNode=e,this.anchorOffset=i,this.focusNode=n,this.focusOffset=r}}let Ai=null;N.safari&&N.safari_version>=26&&(Ai=!1);function Lm(t){if(t.setActive)return t.setActive();if(Ai)return t.focus(Ai);let e=[];for(let i=t;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(t.focus(Ai==null?{get preventScroll(){return Ai={preventScroll:!0},!0}}:void 0),!Ai){Ai=!1;for(let i=0;iMath.max(0,t.document.documentElement.scrollHeight-t.innerHeight-4):t.scrollTop>Math.max(1,t.scrollHeight-t.clientHeight-4)}function Mm(t,e){for(let i=t,n=e;;){if(i.nodeType==3&&n>0)return{node:i,offset:n};if(i.nodeType==1&&n>0){if(i.contentEditable=="false")return null;i=i.childNodes[n-1],n=ni(i)}else if(i.parentNode&&!so(i))n=wi(i),i=i.parentNode;else return null}}function Rm(t,e){for(let i=t,n=e;;){if(i.nodeType==3&&n=i){if(l.level==n)return o;(s<0||(r!=0?r<0?l.fromi:e[s].level>l.level))&&(s=o)}}if(s<0)throw new RangeError("Index out of range");return s}}function zm(t,e){if(t.length!=e.length)return!1;for(let i=0;i=0;m-=3)if(Lt[m+1]==-f){let O=Lt[m+2],g=O&2?r:O&4?O&1?s:r:0;g&&(xe[h]=xe[Lt[m]]=g),l=m;break}}else{if(Lt.length==189)break;Lt[l++]=h,Lt[l++]=d,Lt[l++]=a}else if((p=xe[h])==2||p==1){let m=p==r;a=m?0:1;for(let O=l-3;O>=0;O-=3){let g=Lt[O+2];if(g&2)break;if(m)Lt[O+2]|=2;else{if(g&4)break;Lt[O+2]|=4}}}}}function Lv(t,e,i,n){for(let r=0,s=n;r<=i.length;r++){let o=r?i[r-1].to:t,l=ra;)p==O&&(p=i[--m].from,O=m?i[m-1].to:t),xe[--p]=f;a=c}else s=u,a++}}}function Ia(t,e,i,n,r,s,o){let l=n%2?2:1;if(n%2==r%2)for(let a=e,u=0;aa&&o.push(new Vt(a,m.from,f));let O=m.direction==Bi!=!(f%2);Za(t,O?n+1:n,r,m.inner,m.from,m.to,o),a=m.to}p=m.to}else{if(p==i||(c?xe[p]!=l:xe[p]==l))break;p++}d?Ia(t,a,p,n+1,r,d,o):ae;){let c=!0,h=!1;if(!u||a>s[u-1].to){let m=xe[a-1];m!=l&&(c=!1,h=m==16)}let d=!c&&l==1?[]:null,f=c?n:n+1,p=a;e:for(;;)if(u&&p==s[u-1].to){if(h)break e;let m=s[--u];if(!c)for(let O=m.from,g=u;;){if(O==e)break e;if(g&&s[g-1].to==O)O=s[--g].from;else{if(xe[O-1]==l)break e;break}}if(d)d.push(m);else{m.toxe.length;)xe[xe.length]=256;let n=[],r=e==Bi?0:1;return Za(t,r,r,i,0,t.length,n),n}function Xm(t){return[new Vt(0,t,0)]}let Fm="";function Mv(t,e,i,n,r){var s;let o=n.head-t.from,l=Vt.find(e,o,(s=n.bidiLevel)!==null&&s!==void 0?s:-1,n.assoc),a=e[l],u=a.side(r,i);if(o==u){let d=l+=r?1:-1;if(d<0||d>=e.length)return null;a=e[l=d],o=a.side(!r,i),u=a.side(r,i)}let c=Ze(t.text,o,a.forward(r,i));(ca.to)&&(c=u),Fm=t.text.slice(Math.min(o,c),Math.max(o,c));let h=l==(r?e.length-1:0)?null:e[l+(r?1:-1)];return h&&c==u&&h.level+(r?0:1)t.some(e=>e)}),Gm=G.define({combine:t=>t.some(e=>e)}),Um=G.define();class un{constructor(e,i="nearest",n="nearest",r=5,s=5,o=!1){this.range=e,this.y=i,this.x=n,this.yMargin=r,this.xMargin=s,this.isSnapshot=o}map(e){return e.empty?this:new un(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new un(L.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const cs=se.define({map:(t,e)=>t.map(e)}),Hm=se.define();function ft(t,e,i){let n=t.facet(jm);n.length?n[0](e):window.onerror&&window.onerror(String(e),i,void 0,void 0,e)||(i?console.error(i+":",e):console.error(e))}const Kt=G.define({combine:t=>t.length?t[0]:!0});let Iv=0;const en=G.define({combine(t){return t.filter((e,i)=>{for(let n=0;n{let a=[];return o&&a.push(Bo.of(u=>{let c=u.plugin(l);return c?o(c):me.none})),s&&a.push(s(l)),a})}static fromClass(e,i){return tt.define((n,r)=>new e(n,r),i)}}class pl{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}get plugin(){return this.spec&&this.spec.plugin}update(e){if(this.value){if(this.mustUpdate){let i=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(i)}catch(n){if(ft(i.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.plugin.create(e,this.spec.arg)}catch(i){ft(e.state,i,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var i;if(!((i=this.value)===null||i===void 0)&&i.destroy)try{this.value.destroy()}catch(n){ft(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Km=G.define(),Ru=G.define(),Bo=G.define(),Jm=G.define(),Iu=G.define(),Yr=G.define(),e0=G.define();function Mh(t,e){let i=t.state.facet(e0);if(!i.length)return i;let n=i.map(s=>s instanceof Function?s(t):s),r=[];return de.spans(n,e.from,e.to,{point(){},span(s,o,l,a){let u=s-e.from,c=o-e.from,h=r;for(let d=l.length-1;d>=0;d--,a--){let f=l[d].spec.bidiIsolate,p;if(f==null&&(f=Rv(e.text,u,c)),a>0&&h.length&&(p=h[h.length-1]).to==u&&p.direction==f)p.to=c,h=p.inner;else{let m={from:u,to:c,direction:f,inner:[]};h.push(m),h=m.inner}}}}),r}const t0=G.define();function Zu(t){let e=0,i=0,n=0,r=0;for(let s of t.state.facet(t0)){let o=s(t);o&&(o.left!=null&&(e=Math.max(e,o.left)),o.right!=null&&(i=Math.max(i,o.right)),o.top!=null&&(n=Math.max(n,o.top)),o.bottom!=null&&(r=Math.max(r,o.bottom)))}return{left:e,right:i,top:n,bottom:r}}const Hn=G.define();class gt{constructor(e,i,n,r){this.fromA=e,this.toA=i,this.fromB=n,this.toB=r}join(e){return new gt(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let i=e.length,n=this;for(;i>0;i--){let r=e[i-1];if(!(r.fromA>n.toA)){if(r.toAr.push(new gt(s,o,l,a))),this.changedRanges=r}static create(e,i,n){return new oo(e,i,n)}get viewportChanged(){return(this.flags&4)>0}get viewportMoved(){return(this.flags&8)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&18)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}const Zv=[];class _e{constructor(e,i,n=0){this.dom=e,this.length=i,this.flags=n,this.parent=null,e.cmTile=this}get breakAfter(){return this.flags&1}get children(){return Zv}isWidget(){return!1}get isHidden(){return!1}isComposite(){return!1}isLine(){return!1}isText(){return!1}isBlock(){return!1}get domAttrs(){return null}sync(e){if(this.flags|=2,this.flags&4){this.flags&=-5;let i=this.domAttrs;i&&kv(this.dom,i)}}toString(){return this.constructor.name+(this.children.length?`(${this.children})`:"")+(this.breakAfter?"#":"")}destroy(){this.parent=null}setDOM(e){this.dom=e,e.cmTile=this}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e,i=this.posAtStart){let n=i;for(let r of this.children){if(r==e)return n;n+=r.length+r.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}covers(e){return!0}coordsIn(e,i){return null}domPosFor(e,i){let n=wi(this.dom),r=this.length?e>0:i>0;return new _t(this.parent.dom,n+(r?1:0),e==0||e==this.length)}markDirty(e){this.flags&=-3,e&&(this.flags|=4),this.parent&&this.parent.flags&2&&this.parent.markDirty(!1)}get overrideDOMText(){return null}get root(){for(let e=this;e;e=e.parent)if(e instanceof qo)return e;return null}static get(e){return e.cmTile}}class Vo extends _e{constructor(e){super(e,0),this._children=[]}isComposite(){return!0}get children(){return this._children}get lastChild(){return this.children.length?this.children[this.children.length-1]:null}append(e){this.children.push(e),e.parent=this}sync(e){if(this.flags&2)return;super.sync(e);let i=this.dom,n=null,r,s=e?.node==i?e:null,o=0;for(let l of this.children){if(l.sync(e),o+=l.length+l.breakAfter,r=n?n.nextSibling:i.firstChild,s&&r!=l.dom&&(s.written=!0),l.dom.parentNode==i)for(;r&&r!=l.dom;)r=Rh(r);else i.insertBefore(l.dom,r);n=l.dom}for(r=n?n.nextSibling:i.firstChild,s&&r&&(s.written=!0);r;)r=Rh(r);this.length=o}}function Rh(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class qo extends Vo{constructor(e,i){super(i),this.view=e}owns(e){for(;e;e=e.parent)if(e==this)return!0;return!1}isBlock(){return!0}nearest(e){for(;;){if(!e)return null;let i=_e.get(e);if(i&&this.owns(i))return i;e=e.parentNode}}blockTiles(e){for(let i=[],n=this,r=0,s=0;;)if(r==n.children.length){if(!i.length)return;n=n.parent,n.breakAfter&&s++,r=i.pop()}else{let o=n.children[r++];if(o instanceof Jt)i.push(r),n=o,r=0;else{let l=s+o.length,a=e(o,s);if(a!==void 0)return a;s=l+o.breakAfter}}}resolveBlock(e,i){let n,r=-1,s,o=-1;if(this.blockTiles((l,a)=>{let u=a+l.length;if(e>=a&&e<=u){if(l.isWidget()&&i>=-1&&i<=1){if(l.flags&32)return!0;l.flags&16&&(n=void 0)}(ae||e==a&&(i>1?l.length:l.covers(-1)))&&(!s||!l.isWidget()&&s.isWidget())&&(s=l,o=e-a)}}),!n&&!s)throw new Error("No tile at position "+e);return n&&i<0||!s?{tile:n,offset:r}:{tile:s,offset:o}}}class Jt extends Vo{constructor(e,i){super(e),this.wrapper=i}isBlock(){return!0}covers(e){return this.children.length?e<0?this.children[0].covers(-1):this.lastChild.covers(1):!1}get domAttrs(){return this.wrapper.attributes}static of(e,i){let n=new Jt(i||document.createElement(e.tagName),e);return i||(n.flags|=4),n}}class bn extends Vo{constructor(e,i){super(e),this.attrs=i}isLine(){return!0}static start(e,i,n){let r=new bn(i||document.createElement("div"),e);return(!i||!n)&&(r.flags|=4),r}get domAttrs(){return this.attrs}resolveInline(e,i,n){let r=null,s=-1,o=null,l=-1;function a(c,h){for(let d=0,f=0;d=h&&(p.isComposite()?a(p,h-f):(!o||o.isHidden&&(i>0||n&&Xv(o,p)))&&(m>h||p.flags&32)?(o=p,l=h-f):(fn&&(e=n);let r=e,s=e,o=0;e==0&&i<0||e==n&&i>=0?N.chrome||N.gecko||(e?(r--,o=1):s=0)?0:l.length-1];return N.safari&&!o&&a.width==0&&(a=Array.prototype.find.call(l,u=>u.width)||a),o?$r(a,o<0):a||null}static of(e,i){let n=new Ii(i||document.createTextNode(e),e);return i||(n.flags|=2),n}}class Vi extends _e{constructor(e,i,n,r){super(e,i,r),this.widget=n}isWidget(){return!0}get isHidden(){return this.widget.isHidden}covers(e){return this.flags&48?!1:(this.flags&(e<0?64:128))>0}coordsIn(e,i){return this.coordsInWidget(e,i,!1)}coordsInWidget(e,i,n){let r=this.widget.coordsAt(this.dom,e,i);if(r)return r;if(n)return $r(this.dom.getBoundingClientRect(),this.length?e==0:i<=0);{let s=this.dom.getClientRects(),o=null;if(!s.length)return null;let l=this.flags&16?!0:this.flags&32?!1:e>0;for(let a=l?s.length-1:0;o=s[a],!(e>0?a==0:a==s.length-1||o.top0;)if(r.isComposite())if(o){if(!e)break;n&&n.break(),e--,o=!1}else if(s==r.children.length){if(!e&&!l.length)break;n&&n.leave(r),o=!!r.breakAfter,{tile:r,index:s}=l.pop(),s++}else{let a=r.children[s],u=a.breakAfter;(i>0?a.length<=e:a.length=0;l--){let a=i.marks[l],u=r.lastChild;if(u instanceof Ke&&u.mark.eq(a.mark))u.dom!=a.dom&&u.setDOM(ml(a.dom)),r=u;else{if(this.cache.reused.get(a)){let h=_e.get(a.dom);h&&h.setDOM(ml(a.dom))}let c=Ke.of(a.mark,a.dom);r.append(c),r=c}this.cache.reused.set(a,2)}let s=_e.get(e.text);s&&this.cache.reused.set(s,2);let o=new Ii(e.text,e.text.nodeValue);o.flags|=8,r.append(o)}addInlineWidget(e,i,n){let r=this.afterWidget&&e.flags&48&&(this.afterWidget.flags&48)==(e.flags&48);r||this.flushBuffer();let s=this.ensureMarks(i,n);!r&&!(e.flags&16)&&s.append(this.getBuffer(1)),s.append(e),this.pos+=e.length,this.afterWidget=e}addMark(e,i,n){this.flushBuffer(),this.ensureMarks(i,n).append(e),this.pos+=e.length,this.afterWidget=null}addBlockWidget(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}continueWidget(e){let i=this.afterWidget||this.lastBlock;i.length+=e,this.pos+=e}addLineStart(e,i){var n;e||(e=i0);let r=bn.start(e,i||((n=this.cache.find(bn))===null||n===void 0?void 0:n.dom),!!i);this.getBlockPos().append(this.lastBlock=this.curLine=r)}addLine(e){this.getBlockPos().append(e),this.pos+=e.length,this.lastBlock=e,this.endLine()}addBreak(){this.lastBlock.flags|=1,this.endLine(),this.pos++}addLineStartIfNotCovered(e){this.blockPosCovered()||this.addLineStart(e)}ensureLine(e){this.curLine||this.addLineStart(e)}ensureMarks(e,i){var n;let r=this.curLine;for(let s=e.length-1;s>=0;s--){let o=e[s],l;if(i>0&&(l=r.lastChild)&&l instanceof Ke&&l.mark.eq(o))r=l,i--;else{let a=Ke.of(o,(n=this.cache.find(Ke,u=>u.mark.eq(o)))===null||n===void 0?void 0:n.dom);r.append(a),r=a,i=0}}return r}endLine(){if(this.curLine){this.flushBuffer();let e=this.curLine.lastChild;(!e||!Ih(this.curLine,!1)||e.dom.nodeName!="BR"&&e.isWidget()&&!(N.ios&&Ih(this.curLine,!0)))&&this.curLine.append(this.cache.findWidget(Ol,0,32)||new Vi(Ol.toDOM(),0,Ol,32)),this.curLine=this.afterWidget=null}}updateBlockWrappers(){this.wrapperPos>this.pos+1e4&&(this.blockWrappers.goto(this.pos),this.wrappers.length=0);for(let e=this.wrappers.length-1;e>=0;e--)this.wrappers[e].to=this.pos){let i=new Bv(e.from,e.to,e.value,e.rank),n=this.wrappers.length;for(;n>0&&(this.wrappers[n-1].rank-i.rank||this.wrappers[n-1].to-i.to)<0;)n--;this.wrappers.splice(n,0,i)}this.wrapperPos=this.pos}getBlockPos(){var e;this.updateBlockWrappers();let i=this.root;for(let n of this.wrappers){let r=i.lastChild;if(n.fromo.wrapper.eq(n.wrapper)))===null||e===void 0?void 0:e.dom);i.append(s),i=s}}return i}blockPosCovered(){let e=this.lastBlock;return e!=null&&!e.breakAfter&&(!e.isWidget()||(e.flags&160)>0)}getBuffer(e){let i=2|(e<0?16:32),n=this.cache.find(lo,void 0,1);return n&&(n.flags=i),n||new lo(i)}flushBuffer(){this.afterWidget&&!(this.afterWidget.flags&32)&&(this.afterWidget.parent.append(this.getBuffer(-1)),this.afterWidget=null)}}class qv{constructor(e){this.skipCount=0,this.text="",this.textOff=0,this.cursor=e.iter()}skip(e){this.textOff+e<=this.text.length?this.textOff+=e:(this.skipCount+=e-(this.text.length-this.textOff),this.text="",this.textOff=0)}next(e){if(this.textOff==this.text.length){let{value:r,lineBreak:s,done:o}=this.cursor.next(this.skipCount);if(this.skipCount=0,o)throw new Error("Ran out of text content when drawing inline views");this.text=r;let l=this.textOff=Math.min(e,r.length);return s?null:r.slice(0,l)}let i=Math.min(this.text.length,this.textOff+e),n=this.text.slice(this.textOff,i);return this.textOff=i,n}}const ao=[Vi,bn,Ii,Ke,lo,Jt,qo];for(let t=0;t[]),this.index=ao.map(()=>0),this.reused=new Map}add(e){let i=e.constructor.bucket,n=this.buckets[i];n.length<6?n.push(e):n[this.index[i]=(this.index[i]+1)%6]=e}find(e,i,n=2){let r=e.bucket,s=this.buckets[r],o=this.index[r];for(let l=s.length-1;l>=0;l--){let a=(l+o)%s.length,u=s[a];if((!i||i(u))&&!this.reused.has(u))return s.splice(a,1),a{if(this.cache.add(o),o.isComposite())return!1},enter:o=>this.cache.add(o),leave:()=>{},break:()=>{}}}run(e,i){let n=i&&this.getCompositionContext(i.text);for(let r=0,s=0,o=0;;){let l=or){let u=a-r;this.preserve(u,!o,!l),r=a,s+=u}if(!l)break;i&&l.fromA<=i.range.fromA&&l.toA>=i.range.toA?(this.forward(l.fromA,i.range.fromA,i.range.fromA{if(o.isWidget())if(this.openWidget)this.builder.continueWidget(a-l);else{let u=a>0||l{o.isLine()?this.builder.addLineStart(o.attrs,this.cache.maybeReuse(o)):(this.cache.add(o),o instanceof Ke&&r.unshift(o.mark)),this.openWidget=!1},leave:o=>{o.isLine()?r.length&&(r.length=s=0):o instanceof Ke&&(r.shift(),s=Math.min(s,r.length))},break:()=>{this.builder.addBreak(),this.openWidget=!1}}),this.text.skip(e)}emit(e,i){let n=null,r=this.builder,s=0,o=de.spans(this.decorations,e,i,{point:(l,a,u,c,h,d)=>{if(u instanceof Fi){if(this.disallowBlockEffectsFor[d]){if(u.block)throw new RangeError("Block decorations may not be specified via plugins");if(a>this.view.state.doc.lineAt(l).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}if(s=c.length,h>c.length)r.continueWidget(a-l);else{let f=u.widget||(u.block?xn.block:xn.inline),p=Nv(u),m=this.cache.findWidget(f,a-l,p)||Vi.of(f,this.view,a-l,p);u.block?(u.startSide>0&&r.addLineStartIfNotCovered(n),r.addBlockWidget(m)):(r.ensureLine(n),r.addInlineWidget(m,c,h))}n=null}else n=Yv(n,u);a>l&&this.text.skip(a-l)},span:(l,a,u,c)=>{for(let h=l;hs,this.openMarks=o}forward(e,i,n=1){i-e<=10?this.old.advance(i-e,n,this.reuseWalker):(this.old.advance(5,-1,this.reuseWalker),this.old.advance(i-e-10,-1),this.old.advance(5,n,this.reuseWalker))}getCompositionContext(e){let i=[],n=null;for(let r=e.parentNode;;r=r.parentNode){let s=_e.get(r);if(r==this.view.contentDOM)break;s instanceof Ke?i.push(s):s?.isLine()?n=s:s instanceof Jt||(r.nodeName=="DIV"&&!n&&r!=this.view.contentDOM?n=new bn(r,i0):n||i.push(Ke.of(new Wr({tagName:r.nodeName.toLowerCase(),attributes:yv(r)}),r)))}return{line:n,marks:i}}}function Ih(t,e){let i=n=>{for(let r of n.children)if((e?r.isText():r.length)||i(r))return!0;return!1};return i(t)}function Nv(t){let e=t.isReplace?(t.startSide<0?64:0)|(t.endSide>0?128:0):t.startSide>0?32:16;return t.block&&(e|=256),e}const i0={class:"cm-line"};function Yv(t,e){let i=e.spec.attributes,n=e.spec.class;return!i&&!n||(t||(t={class:"cm-line"}),i&&Au(i,t),n&&(t.class+=" "+n)),t}function Gv(t){let e=[];for(let i=t.parents.length;i>1;i--){let n=i==t.parents.length?t.tile:t.parents[i].tile;n instanceof Ke&&e.push(n.mark)}return e}function ml(t){let e=_e.get(t);return e&&e.setDOM(t.cloneNode()),t}class xn extends Ni{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}xn.inline=new xn("span");xn.block=new xn("div");const Ol=new class extends Ni{toDOM(){return document.createElement("br")}get isHidden(){return!0}get editable(){return!0}};class Zh{constructor(e){this.view=e,this.decorations=[],this.blockWrappers=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.editContextFormatting=me.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.updateDeco(),this.tile=new qo(e,e.contentDOM),this.updateInner([new gt(0,0,0,e.state.doc.length)],null)}update(e){var i;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:c,toA:h})=>hthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let r=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((i=this.domChanged)===null||i===void 0)&&i.newSel?r=this.domChanged.newSel.head:!rS(e.changes,this.hasComposition)&&!e.selectionSet&&(r=e.state.selection.main.head));let s=r>-1?Hv(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){let{from:c,to:h}=this.hasComposition;n=new gt(c,h,e.changes.mapPos(c,-1),e.changes.mapPos(h,1)).addToSet(n.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(N.ie||N.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let o=this.decorations,l=this.blockWrappers;this.updateDeco();let a=eS(o,this.decorations,e.changes);a.length&&(n=gt.extendWithRanges(n,a));let u=iS(l,this.blockWrappers,e.changes);return u.length&&(n=gt.extendWithRanges(n,u)),s&&!n.some(c=>c.fromA<=s.range.fromA&&c.toA>=s.range.toA)&&(n=s.range.addToSet(n.slice())),this.tile.flags&2&&n.length==0?!1:(this.updateInner(n,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,i){this.view.viewState.mustMeasureContent=!0;let{observer:n}=this.view;n.ignore(()=>{if(i||e.length){let o=this.tile,l=new Wv(this.view,o,this.blockWrappers,this.decorations,this.dynamicDecorationMap);i&&_e.get(i.text)&&l.cache.reused.set(_e.get(i.text),2),this.tile=l.run(e,i),Xa(o,l.cache.reused)}this.tile.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.tile.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=N.chrome||N.ios?{node:n.selectionRange.focusNode,written:!1}:void 0;this.tile.sync(s),s&&(s.written||n.selectionRange.focusNode!=s.node||!this.tile.dom.contains(s.node))&&(this.forceSelection=!0),this.tile.dom.style.height=""});let r=[];if(this.view.viewport.from||this.view.viewport.to-1)&&ur(n,this.view.observer.selectionRange)&&!(r&&n.contains(r));if(!(s||i||o))return;let l=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,u,c;if(a.empty?c=u=this.inlineDOMNearPos(a.anchor,a.assoc||1):(c=this.inlineDOMNearPos(a.head,a.head==a.from?1:-1),u=this.inlineDOMNearPos(a.anchor,a.anchor==a.from?1:-1)),N.gecko&&a.empty&&!this.hasComposition&&Uv(u)){let d=document.createTextNode("");this.view.observer.ignore(()=>u.node.insertBefore(d,u.node.childNodes[u.offset]||null)),u=c=new _t(d,0),l=!0}let h=this.view.observer.selectionRange;(l||!h.focusNode||(!hr(u.node,u.offset,h.anchorNode,h.anchorOffset)||!hr(c.node,c.offset,h.focusNode,h.focusOffset))&&!this.suppressWidgetCursorChange(h,a))&&(this.view.observer.ignore(()=>{N.android&&N.chrome&&n.contains(h.focusNode)&&nS(h.focusNode,n)&&(n.blur(),n.focus({preventScroll:!0}));let d=Qr(this.view.root);if(d)if(a.empty){if(N.gecko){let f=Kv(u.node,u.offset);if(f&&f!=3){let p=(f==1?Mm:Rm)(u.node,u.offset);p&&(u=new _t(p.node,p.offset))}}d.collapse(u.node,u.offset),a.bidiLevel!=null&&d.caretBidiLevel!==void 0&&(d.caretBidiLevel=a.bidiLevel)}else if(d.extend){d.collapse(u.node,u.offset);try{d.extend(c.node,c.offset)}catch{}}else{let f=document.createRange();a.anchor>a.head&&([u,c]=[c,u]),f.setEnd(c.node,c.offset),f.setStart(u.node,u.offset),d.removeAllRanges(),d.addRange(f)}o&&this.view.root.activeElement==n&&(n.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(u,c)),this.impreciseAnchor=u.precise?null:new _t(h.anchorNode,h.anchorOffset),this.impreciseHead=c.precise?null:new _t(h.focusNode,h.focusOffset)}suppressWidgetCursorChange(e,i){return this.hasComposition&&i.empty&&hr(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==i.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,i=e.state.selection.main,n=Qr(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!n||!i.empty||!i.assoc||!n.modify)return;let o=this.lineAt(i.head,i.assoc);if(!o)return;let l=o.posAtStart;if(i.head==l||i.head==l+o.length)return;let a=this.coordsAt(i.head,-1),u=this.coordsAt(i.head,1);if(!a||!u||a.bottom>u.top)return;let c=this.domAtPos(i.head+i.assoc,i.assoc);n.collapse(c.node,c.offset),n.modify("move",i.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let h=e.observer.selectionRange;e.docView.posFromDOM(h.anchorNode,h.anchorOffset)!=i.from&&n.collapse(r,s)}posFromDOM(e,i){let n=this.tile.nearest(e);if(!n)return this.tile.dom.compareDocumentPosition(e)&2?0:this.view.state.doc.length;let r=n.posAtStart;if(n.isComposite()){let s;if(e==n.dom)s=n.dom.childNodes[i];else{let o=ni(e)==0?0:i==0?-1:1;for(;;){let l=e.parentNode;if(l==n.dom)break;o==0&&l.firstChild!=l.lastChild&&(e==l.firstChild?o=-1:o=1),e=l}o<0?s=e:s=e.nextSibling}if(s==n.dom.firstChild)return r;for(;s&&!_e.get(s);)s=s.nextSibling;if(!s)return r+n.length;for(let o=0,l=r;;o++){let a=n.children[o];if(a.dom==s)return l;l+=a.length+a.breakAfter}}else return n.isText()?e==n.dom?r+i:r+(i?n.length:0):r}domAtPos(e,i){let{tile:n,offset:r}=this.tile.resolveBlock(e,i);return n.isWidget()?n.domPosFor(e,i):n.domIn(r,i)}inlineDOMNearPos(e,i){let n,r=-1,s=!1,o,l=-1,a=!1;return this.tile.blockTiles((u,c)=>{if(u.isWidget()){if(u.flags&32&&c>=e)return!0;u.flags&16&&(s=!0)}else{let h=c+u.length;if(c<=e&&(n=u,r=e-c,s=h=e&&!o&&(o=u,l=e-c,a=c>e),c>e&&o)return!0}}),!n&&!o?this.domAtPos(e,i):(s&&o?n=null:a&&n&&(o=null),n&&i<0||!o?n.domIn(r,i):o.domIn(l,i))}coordsAt(e,i){let{tile:n,offset:r}=this.tile.resolveBlock(e,i);return n.isWidget()?n.widget instanceof gl?null:n.coordsInWidget(r,i,!0):n.coordsIn(r,i)}lineAt(e,i){let{tile:n}=this.tile.resolveBlock(e,i);return n.isLine()?n:null}coordsForChar(e){let{tile:i,offset:n}=this.tile.resolveBlock(e,1);if(!i.isLine())return null;function r(s,o){if(s.isComposite())for(let l of s.children){if(l.length>=o){let a=r(l,o);if(a)return a}if(o-=l.length,o<0)break}else if(s.isText()&&oMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,l=-1,a=this.view.textDirection==Se.LTR,u=0,c=(h,d,f)=>{for(let p=0;pr);p++){let m=h.children[p],O=d+m.length,g=m.dom.getBoundingClientRect(),{height:b}=g;if(f&&!p&&(u+=g.top-f.top),m instanceof Jt)O>n&&c(m,d,g);else if(d>=n&&(u>0&&i.push(-u),i.push(b+u),u=0,o)){let S=m.dom.lastChild,y=S?cr(S):[];if(y.length){let x=y[y.length-1],Q=a?x.right-g.left:g.right-x.left;Q>l&&(l=Q,this.minWidth=s,this.minWidthFrom=d,this.minWidthTo=O)}}f&&p==h.children.length-1&&(u+=f.bottom-g.bottom),d=O+m.breakAfter}};return c(this.tile,0,null),i}textDirectionAt(e){let{tile:i}=this.tile.resolveBlock(e,1);return getComputedStyle(i.dom).direction=="rtl"?Se.RTL:Se.LTR}measureTextSize(){let e=this.tile.blockTiles(o=>{if(o.isLine()&&o.children.length&&o.length<=20){let l=0,a;for(let u of o.children){if(!u.isText()||/[^ -~]/.test(u.text))return;let c=cr(u.dom);if(c.length!=1)return;l+=c[0].width,a=c[0].height}if(l)return{lineHeight:o.dom.getBoundingClientRect().height,charWidth:l/o.length,textHeight:a}}});if(e)return e;let i=document.createElement("div"),n,r,s;return i.className="cm-line",i.style.width="99999px",i.style.position="absolute",i.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.tile.dom.appendChild(i);let o=cr(i.firstChild)[0];n=i.getBoundingClientRect().height,r=o&&o.width?o.width/27:7,s=o&&o.height?o.height:n,i.remove()}),{lineHeight:n,charWidth:r,textHeight:s}}computeBlockGapDeco(){let e=[],i=this.view.viewState;for(let n=0,r=0;;r++){let s=r==i.viewports.length?null:i.viewports[r],o=s?s.from-1:this.view.state.doc.length;if(o>n){let l=(i.lineBlockAt(o).bottom-i.lineBlockAt(n).top)/this.view.scaleY;e.push(me.replace({widget:new gl(l),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!s)break;n=s.to+1}return me.set(e)}updateDeco(){let e=1,i=this.view.state.facet(Bo).map(s=>(this.dynamicDecorationMap[e++]=typeof s=="function")?s(this.view):s),n=!1,r=this.view.state.facet(Iu).map((s,o)=>{let l=typeof s=="function";return l&&(n=!0),l?s(this.view):s});for(r.length&&(this.dynamicDecorationMap[e++]=n,i.push(de.join(r))),this.decorations=[this.editContextFormatting,...i,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];etypeof s=="function"?s(this.view):s)}scrollIntoView(e){var i;if(e.isSnapshot){let c=this.view.viewState.lineBlockAt(e.range.head);this.view.scrollDOM.scrollTop=c.top-e.yMargin,this.view.scrollDOM.scrollLeft=e.xMargin;return}for(let c of this.view.state.facet(Um))try{if(c(this.view,e.range,e))return!0}catch(h){ft(this.view.state,h,"scroll handler")}let{range:n}=e,r=this.coordsAt(n.head,(i=n.assoc)!==null&&i!==void 0?i:n.empty?0:n.head>n.anchor?-1:1),s;if(!r)return;!n.empty&&(s=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={left:Math.min(r.left,s.left),top:Math.min(r.top,s.top),right:Math.max(r.right,s.right),bottom:Math.max(r.bottom,s.bottom)});let o=Zu(this.view),l={left:r.left-o.left,top:r.top-o.top,right:r.right+o.right,bottom:r.bottom+o.bottom},{offsetWidth:a,offsetHeight:u}=this.view.scrollDOM;if(wv(this.view.scrollDOM,l,n.head1&&(r.top>window.pageYOffset+window.visualViewport.offsetTop+window.visualViewport.height||r.bottomn.isWidget()||n.children.some(i);return i(this.tile.resolveBlock(e,1).tile)}destroy(){Xa(this.tile)}}function Xa(t,e){let i=e?.get(t);if(i!=1){i==null&&t.destroy();for(let n of t.children)Xa(n,e)}}function Uv(t){return t.node.nodeType==1&&t.node.firstChild&&(t.offset==0||t.node.childNodes[t.offset-1].contentEditable=="false")&&(t.offset==t.node.childNodes.length||t.node.childNodes[t.offset].contentEditable=="false")}function n0(t,e){let i=t.observer.selectionRange;if(!i.focusNode)return null;let n=Mm(i.focusNode,i.focusOffset),r=Rm(i.focusNode,i.focusOffset),s=n||r;if(r&&n&&r.node!=n.node){let l=_e.get(r.node);if(!l||l.isText()&&l.text!=r.node.nodeValue)s=r;else if(t.docView.lastCompositionAfterCursor){let a=_e.get(n.node);!a||a.isText()&&a.text!=n.node.nodeValue||(s=r)}}if(t.docView.lastCompositionAfterCursor=s!=n,!s)return null;let o=e-s.offset;return{from:o,to:o+s.node.nodeValue.length,node:s.node}}function Hv(t,e,i){let n=n0(t,i);if(!n)return null;let{node:r,from:s,to:o}=n,l=r.nodeValue;if(/[\n\r]/.test(l)||t.state.doc.sliceString(n.from,n.to)!=l)return null;let a=e.invertedDesc;return{range:new gt(a.mapPos(s),a.mapPos(o),s,o),text:r}}function Kv(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e{ne.from&&(i=!0)}),i}class gl extends Ni{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}function sS(t,e,i=1){let n=t.charCategorizer(e),r=t.doc.lineAt(e),s=e-r.from;if(r.length==0)return L.cursor(e);s==0?i=1:s==r.length&&(i=-1);let o=s,l=s;i<0?o=Ze(r.text,s,!1):l=Ze(r.text,s);let a=n(r.text.slice(o,l));for(;o>0;){let u=Ze(r.text,o,!1);if(n(r.text.slice(u,o))!=a)break;o=u}for(;lt.defaultLineHeight*1.5){let l=t.viewState.heightOracle.textHeight,a=Math.floor((r-i.top-(t.defaultLineHeight-l)*.5)/l);s+=a*t.viewState.heightOracle.lineLength}let o=t.state.sliceDoc(i.from,i.to);return i.from+gv(o,s,t.state.tabSize)}function Fa(t,e,i){let n=t.lineBlockAt(e);if(Array.isArray(n.type)){let r;for(let s of n.type){if(s.from>e)break;if(!(s.toe)return s;(!r||s.type==Fe.Text&&(r.type!=s.type||(i<0?s.frome)))&&(r=s)}}return r||n}return n}function lS(t,e,i,n){let r=Fa(t,e.head,e.assoc||-1),s=!n||r.type!=Fe.Text||!(t.lineWrapping||r.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(s){let o=t.dom.getBoundingClientRect(),l=t.textDirectionAt(r.from),a=t.posAtCoords({x:i==(l==Se.LTR)?o.right-1:o.left+1,y:(s.top+s.bottom)/2});if(a!=null)return L.cursor(a,i?-1:1)}return L.cursor(i?r.to:r.from,i?-1:1)}function zh(t,e,i,n){let r=t.state.doc.lineAt(e.head),s=t.bidiSpans(r),o=t.textDirectionAt(r.from);for(let l=e,a=null;;){let u=Mv(r,s,o,l,i),c=Fm;if(!u){if(r.number==(i?t.state.doc.lines:1))return l;c=` +`,r=t.state.doc.line(r.number+(i?1:-1)),s=t.bidiSpans(r),u=t.visualLineSide(r,!i)}if(a){if(!a(c))return l}else{if(!n)return u;a=n(c)}l=u}}function aS(t,e,i){let n=t.state.charCategorizer(e),r=n(i);return s=>{let o=n(s);return r==Xe.Space&&(r=o),r==o}}function uS(t,e,i,n){let r=e.head,s=i?1:-1;if(r==(i?t.state.doc.length:0))return L.cursor(r,e.assoc);let o=e.goalColumn,l,a=t.contentDOM.getBoundingClientRect(),u=t.coordsAtPos(r,e.assoc||((e.empty?i:e.head==e.from)?1:-1)),c=t.documentTop;if(u)o==null&&(o=u.left-a.left),l=s<0?u.top:u.bottom;else{let p=t.viewState.lineBlockAt(r);o==null&&(o=Math.min(a.right-a.left,t.defaultCharacterWidth*(r-p.from))),l=(s<0?p.top:p.bottom)+c}let h=a.left+o,d=t.viewState.heightOracle.textHeight>>1,f=n??d;for(let p=0;;p+=d){let m=l+(f+p)*s,O=Ba(t,{x:h,y:m},!1,s);if(i?m>a.bottom:ml:b{if(e>s&&er(t)),i.from,e.head>i.from?-1:1);return n==i.from?i:L.cursor(n,nt.viewState.docHeight)return new Xt(t.state.doc.length,-1);if(u=t.elementAtHeight(a),n==null)break;if(u.type==Fe.Text){if(n<0?u.tot.viewport.to)break;let d=t.docView.coordsAt(n<0?u.from:u.to,n>0?-1:1);if(d&&(n<0?d.top<=a+s:d.bottom>=a+s))break}let h=t.viewState.heightOracle.textHeight/2;a=n>0?u.bottom+h:u.top-h}if(t.viewport.from>=u.to||t.viewport.to<=u.from){if(i)return null;if(u.type==Fe.Text){let h=oS(t,r,u,o,l);return new Xt(h,h==u.from?1:-1)}}if(u.type!=Fe.Text)return a<(u.top+u.bottom)/2?new Xt(u.from,1):new Xt(u.to,-1);let c=t.docView.lineAt(u.from,2);return(!c||c.length!=u.length)&&(c=t.docView.lineAt(u.from,-2)),new cS(t,o,l,t.textDirectionAt(u.from)).scanTile(c,u.from)}class cS{constructor(e,i,n,r){this.view=e,this.x=i,this.y=n,this.baseDir=r,this.line=null,this.spans=null}bidiSpansAt(e){return(!this.line||this.line.from>e||this.line.to1||n.length&&(n[0].level!=this.baseDir||n[0].to+r.from>1;t:if(s.has(p)){let O=n+Math.floor(Math.random()*f);for(let g=0;g1)){if(g.bottomthis.y)(!a||a.top>g.top)&&(a=g),b=-1;else{let S=g.left>this.x?this.x-g.left:g.right(h.left+h.right)/2==d}}scanText(e,i){let n=[];for(let s=0;s{let o=n[s]-i,l=n[s+1]-i;return Tr(e.dom,o,l).getClientRects()});return r.after?new Xt(n[r.i+1],-1):new Xt(n[r.i],1)}scanTile(e,i){if(!e.length)return new Xt(i,1);if(e.children.length==1){let l=e.children[0];if(l.isText())return this.scanText(l,i);if(l.isComposite())return this.scanTile(l,i)}let n=[i];for(let l=0,a=i;l{let a=e.children[l];return a.flags&48?null:(a.dom.nodeType==1?a.dom:Tr(a.dom,0,a.length)).getClientRects()}),s=e.children[r.i],o=n[r.i];return s.isText()?this.scanText(s,o):s.isComposite()?this.scanTile(s,o):r.after?new Xt(n[r.i+1],-1):new Xt(o,1)}}const Hi="￿";class hS{constructor(e,i){this.points=e,this.view=i,this.text="",this.lineSeparator=i.state.facet(ue.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Hi}readRange(e,i){if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r);let s=this.text.length;this.readNode(r);let o=_e.get(r),l=r.nextSibling;if(l==i){o?.breakAfter&&!l&&n!=this.view.contentDOM&&this.lineBreak();break}let a=_e.get(l);(o&&a?o.breakAfter:(o?o.breakAfter:so(r))||so(l)&&(r.nodeName!="BR"||o?.isWidget())&&this.text.length>s)&&!fS(l,i)&&this.lineBreak(),r=l}return this.findPointBefore(n,i),this}readTextNode(e){let i=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,i.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,o=1,l;if(this.lineSeparator?(s=i.indexOf(this.lineSeparator,n),o=this.lineSeparator.length):(l=r.exec(i))&&(s=l.index,o=l[0].length),this.append(i.slice(n,s<0?i.length:s)),s<0)break;if(this.lineBreak(),o>1)for(let a of this.points)a.node==e&&a.pos>this.text.length&&(a.pos-=o-1);n=s+o}}readNode(e){let i=_e.get(e),n=i&&i.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let r=n.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,i){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==i&&(n.pos=this.text.length)}findPointInside(e,i){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(dS(e,n.node,n.offset)?i:0))}}function dS(t,e,i){for(;;){if(!e||i-1;let{impreciseHead:s,impreciseAnchor:o}=e.docView,l=e.state.selection;if(e.state.readOnly&&i>-1)this.newSel=null;else if(i>-1&&(this.bounds=s0(e.docView.tile,i,n,0))){let a=s||o?[]:OS(e),u=new hS(a,e);u.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=u.text,this.newSel=gS(a,this.bounds.from)}else{let a=e.observer.selectionRange,u=s&&s.node==a.focusNode&&s.offset==a.focusOffset||!Ma(e.contentDOM,a.focusNode)?l.main.head:e.docView.posFromDOM(a.focusNode,a.focusOffset),c=o&&o.node==a.anchorNode&&o.offset==a.anchorOffset||!Ma(e.contentDOM,a.anchorNode)?l.main.anchor:e.docView.posFromDOM(a.anchorNode,a.anchorOffset),h=e.viewport;if((N.ios||N.chrome)&&l.main.empty&&u!=c&&(h.from>0||h.to-1&&l.ranges.length>1)this.newSel=l.replaceRange(L.range(c,u));else if(e.lineWrapping&&c==u&&!(l.main.empty&&l.main.head==u)&&e.inputState.lastTouchTime>Date.now()-100){let d=e.coordsAtPos(u,-1),f=0;d&&(f=e.inputState.lastTouchY<=d.bottom?-1:1),this.newSel=L.create([L.cursor(u,f)])}else this.newSel=L.single(c,u)}}}function s0(t,e,i,n){if(t.isComposite()){let r=-1,s=-1,o=-1,l=-1;for(let a=0,u=n,c=n;ai)return s0(h,e,i,u);if(d>=e&&r==-1&&(r=a,s=u),u>i&&h.dom.parentNode==t.dom){o=a,l=c;break}c=d,u=d+h.breakAfter}return{from:s,to:l<0?n+t.length:l,startDOM:(r?t.children[r-1].dom.nextSibling:null)||t.dom.firstChild,endDOM:o=0?t.children[o].dom:null}}else return t.isText()?{from:n,to:n+t.length,startDOM:t.dom,endDOM:t.dom.nextSibling}:null}function o0(t,e){let i,{newSel:n}=e,{state:r}=t,s=r.selection.main,o=t.inputState.lastKeyTime>Date.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:l,to:a}=e.bounds,u=s.from,c=null;(o===8||N.android&&e.text.length=l&&s.to<=a&&(e.typeOver||h!=e.text)&&h.slice(0,s.from-l)==e.text.slice(0,s.from-l)&&h.slice(s.to-l)==e.text.slice(d=e.text.length-(h.length-(s.to-l)))?i={from:s.from,to:s.to,insert:ce.of(e.text.slice(s.from-l,d).split(Hi))}:(f=l0(h,e.text,u-l,c))&&(N.chrome&&o==13&&f.toB==f.from+2&&e.text.slice(f.from,f.toB)==Hi+Hi&&f.toB--,i={from:l+f.from,to:l+f.toA,insert:ce.of(e.text.slice(f.from,f.toB).split(Hi))})}else n&&(!t.hasFocus&&r.facet(Kt)||uo(n,s))&&(n=null);if(!i&&!n)return!1;if((N.mac||N.android)&&i&&i.from==i.to&&i.from==s.head-1&&/^\. ?$/.test(i.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(n&&i.insert.length==2&&(n=L.single(n.main.anchor-1,n.main.head-1)),i={from:i.from,to:i.to,insert:ce.of([i.insert.toString().replace("."," ")])}):r.doc.lineAt(s.from).toDate.now()-50?i={from:s.from,to:s.to,insert:r.toText(t.inputState.insertingText)}:N.chrome&&i&&i.from==i.to&&i.from==s.head&&i.insert.toString()==` + `&&t.lineWrapping&&(n&&(n=L.single(n.main.anchor-1,n.main.head-1)),i={from:s.from,to:s.to,insert:ce.of([" "])}),i)return zu(t,i,n,o);if(n&&!uo(n,s)){let l=!1,a="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(l=!0),a=t.inputState.lastSelectionOrigin,a=="select.pointer"&&(n=r0(r.facet(Yr).map(u=>u(t)),n))),t.dispatch({selection:n,scrollIntoView:l,userEvent:a}),!0}else return!1}function zu(t,e,i,n=-1){if(N.ios&&t.inputState.flushIOSKey(e))return!0;let r=t.state.selection.main;if(N.android&&(e.to==r.to&&(e.from==r.from||e.from==r.from-1&&t.state.sliceDoc(e.from,r.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&an(t.contentDOM,"Enter",13)||(e.from==r.from-1&&e.to==r.to&&e.insert.length==0||n==8&&e.insert.lengthr.head)&&an(t.contentDOM,"Backspace",8)||e.from==r.from&&e.to==r.to+1&&e.insert.length==0&&an(t.contentDOM,"Delete",46)))return!0;let s=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let o,l=()=>o||(o=mS(t,e,i));return t.state.facet(Wm).some(a=>a(t,e.from,e.to,s,l))||t.dispatch(l()),!0}function mS(t,e,i){let n,r=t.state,s=r.selection.main,o=-1;if(e.from==e.to&&e.froms.to){let a=e.fromh(t)),u,a);e.from==c&&(o=c)}if(o>-1)n={changes:e,selection:L.cursor(e.from+e.insert.length,-1)};else if(e.from>=s.from&&e.to<=s.to&&e.to-e.from>=(s.to-s.from)/3&&(!i||i.main.empty&&i.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let a=s.frome.to?r.sliceDoc(e.to,s.to):"";n=r.replaceSelection(t.state.toText(a+e.insert.sliceString(0,void 0,t.state.lineBreak)+u))}else{let a=r.changes(e),u=i&&i.main.to<=a.newLength?i.main:void 0;if(r.selection.ranges.length>1&&(t.inputState.composing>=0||t.inputState.compositionPendingChange)&&e.to<=s.to+10&&e.to>=s.to-10){let c=t.state.sliceDoc(e.from,e.to),h,d=i&&n0(t,i.main.head);if(d){let p=e.insert.length-(e.to-e.from);h={from:d.from,to:d.to-p}}else h=t.state.doc.lineAt(s.head);let f=s.to-e.to;n=r.changeByRange(p=>{if(p.from==s.from&&p.to==s.to)return{changes:a,range:u||p.map(a)};let m=p.to-f,O=m-c.length;if(t.state.sliceDoc(O,m)!=c||m>=h.from&&O<=h.to)return{range:p};let g=r.changes({from:O,to:m,insert:e.insert}),b=p.to-s.to;return{changes:g,range:u?L.range(Math.max(0,u.anchor+b),Math.max(0,u.head+b)):p.map(g)}})}else n={changes:a,selection:u&&r.selection.replaceRange(u)}}let l="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,l+=".compose",t.inputState.compositionFirstChange&&(l+=".start",t.inputState.compositionFirstChange=!1)),r.update(n,{userEvent:l,scrollIntoView:!0})}function l0(t,e,i,n){let r=Math.min(t.length,e.length),s=0;for(;s0&&l>0&&t.charCodeAt(o-1)==e.charCodeAt(l-1);)o--,l--;if(n=="end"){let a=Math.max(0,s-Math.min(o,l));i-=o+a-s}if(o=o?s-i:0;s-=a,l=s+(l-o),o=s}else if(l=l?s-i:0;s-=a,o=s+(o-l),l=s}return{from:s,toA:o,toB:l}}function OS(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:n,focusNode:r,focusOffset:s}=t.observer.selectionRange;return i&&(e.push(new Xh(i,n)),(r!=i||s!=n)&&e.push(new Xh(r,s))),e}function gS(t,e){if(t.length==0)return null;let i=t[0].pos,n=t.length==2?t[1].pos:i;return i>-1&&n>-1?L.single(i+e,n+e):null}function uo(t,e){return e.head==t.main.head&&e.anchor==t.main.anchor}class bS{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastTouchX=0,this.lastTouchY=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.lastWheelEvent=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.insertingText="",this.insertingTextAt=0,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,N.safari&&e.contentDOM.addEventListener("input",()=>null),N.gecko&&LS(e.contentDOM.ownerDocument)}handleEvent(e){!$S(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||(this.view.updateState!=0?Promise.resolve().then(()=>this.runHandlers(e.type,e)):this.runHandlers(e.type,e))}runHandlers(e,i){let n=this.handlers[e];if(n){for(let r of n.observers)r(this.view,i);for(let r of n.handlers){if(i.defaultPrevented)break;if(r(this.view,i)){i.preventDefault();break}}}}ensureHandlers(e){let i=xS(e),n=this.handlers,r=this.view.contentDOM;for(let s in i)if(s!="scroll"){let o=!i[s].handlers.length,l=n[s];l&&o!=!l.handlers.length&&(r.removeEventListener(s,this.handleEvent),l=null),l||r.addEventListener(s,this.handleEvent,{passive:o})}for(let s in n)s!="scroll"&&!i[s]&&r.removeEventListener(s,this.handleEvent);this.handlers=i}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&u0.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),N.android&&N.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let i;return N.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&!e.shiftKey&&((i=a0.find(n=>n.keyCode==e.keyCode))&&!e.ctrlKey||kS.indexOf(e.key)>-1&&e.ctrlKey)?(this.pendingIOSKey=i||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let i=this.pendingIOSKey;return!i||i.key=="Enter"&&e&&e.from0?!0:N.safari&&!N.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function Fh(t,e){return(i,n)=>{try{return e.call(t,n,i)}catch(r){ft(i.state,r)}}}function xS(t){let e=Object.create(null);function i(n){return e[n]||(e[n]={observers:[],handlers:[]})}for(let n of t){let r=n.spec,s=r&&r.plugin.domEventHandlers,o=r&&r.plugin.domEventObservers;if(s)for(let l in s){let a=s[l];a&&i(l).handlers.push(Fh(n.value,a))}if(o)for(let l in o){let a=o[l];a&&i(l).observers.push(Fh(n.value,a))}}for(let n in Pt)i(n).handlers.push(Pt[n]);for(let n in it)i(n).observers.push(it[n]);return e}const a0=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],kS="dthko",u0=[16,17,18,20,91,92,224,225],hs=6;function ds(t){return Math.max(0,t)*.7+8}function yS(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}class vS{constructor(e,i,n,r){this.view=e,this.startEvent=i,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=i,this.scrollParents=Em(e.contentDOM),this.atoms=e.state.facet(Yr).map(o=>o(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=i.shiftKey,this.multiple=e.state.facet(ue.allowMultipleSelections)&&SS(e,i),this.dragging=QS(e,i)&&d0(i)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&yS(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let i=0,n=0,r=0,s=0,o=this.view.win.innerWidth,l=this.view.win.innerHeight;this.scrollParents.x&&({left:r,right:o}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:s,bottom:l}=this.scrollParents.y.getBoundingClientRect());let a=Zu(this.view);e.clientX-a.left<=r+hs?i=-ds(r-e.clientX):e.clientX+a.right>=o-hs&&(i=ds(e.clientX-o)),e.clientY-a.top<=s+hs?n=-ds(s-e.clientY):e.clientY+a.bottom>=l-hs&&(n=ds(e.clientY-l)),this.setScrollSpeed(i,n)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,i){this.scrollSpeed={x:e,y:i},e||i?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:i}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),i&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=i,i=0),(e||i)&&this.view.win.scrollBy(e,i),this.dragging===!1&&this.select(this.lastEvent)}select(e){let{view:i}=this,n=r0(this.atoms,this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(i.state.selection,this.dragging===!1))&&this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(i=>i.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function SS(t,e){let i=t.state.facet(Bm);return i.length?i[0](e):N.mac?e.metaKey:e.ctrlKey}function wS(t,e){let i=t.state.facet(Vm);return i.length?i[0](e):N.mac?!e.altKey:!e.ctrlKey}function QS(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let n=Qr(t.root);if(!n||n.rangeCount==0)return!0;let r=n.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function $S(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i=e.target,n;i!=t.contentDOM;i=i.parentNode)if(!i||i.nodeType==11||(n=_e.get(i))&&n.isWidget()&&!n.isHidden&&n.widget.ignoreEvent(e))return!1;return!0}const Pt=Object.create(null),it=Object.create(null),c0=N.ie&&N.ie_version<15||N.ios&&N.webkit_version<604;function TS(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{t.focus(),i.remove(),h0(t,i.value)},50)}function jo(t,e,i){for(let n of t.facet(e))i=n(i,t);return i}function h0(t,e){e=jo(t.state,Du,e);let{state:i}=t,n,r=1,s=i.toText(e),o=s.lines==i.selection.ranges.length;if(Va!=null&&i.selection.ranges.every(a=>a.empty)&&Va==s.toString()){let a=-1;n=i.changeByRange(u=>{let c=i.doc.lineAt(u.from);if(c.from==a)return{range:u};a=c.from;let h=i.toText((o?s.line(r++).text:e)+i.lineBreak);return{changes:{from:c.from,insert:h},range:L.cursor(u.from+h.length)}})}else o?n=i.changeByRange(a=>{let u=s.line(r++);return{changes:{from:a.from,to:a.to,insert:u.text},range:L.cursor(a.from+u.length)}}):n=i.replaceSelection(s);t.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}it.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};it.wheel=it.mousewheel=t=>{t.inputState.lastWheelEvent=Date.now()};Pt.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&t.inputState.tabFocusMode!=0&&(t.inputState.tabFocusMode=Date.now()+2e3),!1);it.touchstart=(t,e)=>{let i=t.inputState,n=e.targetTouches[0];i.lastTouchTime=Date.now(),n&&(i.lastTouchX=n.clientX,i.lastTouchY=n.clientY),i.setSelectionOrigin("select.pointer")};it.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Pt.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let i=null;for(let n of t.state.facet(qm))if(i=n(t,e),i)break;if(!i&&e.button==0&&(i=PS(t,e)),i){let n=!t.hasFocus;t.inputState.startMouseSelection(new vS(t,e,i,n)),n&&t.observer.ignore(()=>{Lm(t.contentDOM);let s=t.root.activeElement;s&&!s.contains(t.contentDOM)&&s.blur()});let r=t.inputState.mouseSelection;if(r)return r.start(e),r.dragging===!1}else t.inputState.setSelectionOrigin("select.pointer");return!1};function Bh(t,e,i,n){if(n==1)return L.cursor(e,i);if(n==2)return sS(t.state,e,i);{let r=t.docView.lineAt(e,i),s=t.state.doc.lineAt(r?r.posAtEnd:e),o=r?r.posAtStart:s.from,l=r?r.posAtEnd:s.to;return lDate.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(qh+1)%3:1}function PS(t,e){let i=t.posAndSideAtCoords({x:e.clientX,y:e.clientY},!1),n=d0(e),r=t.state.selection;return{update(s){s.docChanged&&(i.pos=s.changes.mapPos(i.pos),r=r.map(s.changes))},get(s,o,l){let a=t.posAndSideAtCoords({x:s.clientX,y:s.clientY},!1),u,c=Bh(t,a.pos,a.assoc,n);if(i.pos!=a.pos&&!o){let h=Bh(t,i.pos,i.assoc,n),d=Math.min(h.from,c.from),f=Math.max(h.to,c.to);c=d1&&(u=CS(r,a.pos))?u:l?r.addRange(c):L.create([c])}}}function CS(t,e){for(let i=0;i=e)return L.create(t.ranges.slice(0,i).concat(t.ranges.slice(i+1)),t.mainIndex==i?0:t.mainIndex-(t.mainIndex>i?1:0))}return null}Pt.dragstart=(t,e)=>{let{selection:{main:i}}=t.state;if(e.target.draggable){let r=t.docView.tile.nearest(e.target);if(r&&r.isWidget()){let s=r.posAtStart,o=s+r.length;(s>=i.to||o<=i.from)&&(i=L.range(s,o))}}let{inputState:n}=t;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=i,e.dataTransfer&&(e.dataTransfer.setData("Text",jo(t.state,Mu,t.state.sliceDoc(i.from,i.to))),e.dataTransfer.effectAllowed="copyMove"),!1};Pt.dragend=t=>(t.inputState.draggedContent=null,!1);function Wh(t,e,i,n){if(i=jo(t.state,Du,i),!i)return;let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:s}=t.inputState,o=n&&s&&wS(t,e)?{from:s.from,to:s.to}:null,l={from:r,insert:i},a=t.state.changes(o?[o,l]:l);t.focus(),t.dispatch({changes:a,selection:{anchor:a.mapPos(r,-1),head:a.mapPos(r,1)},userEvent:o?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Pt.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let i=e.dataTransfer.files;if(i&&i.length){let n=Array(i.length),r=0,s=()=>{++r==i.length&&Wh(t,e,n.filter(o=>o!=null).join(t.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(l.result)||(n[o]=l.result),s()},l.readAsText(i[o])}return!0}else{let n=e.dataTransfer.getData("Text");if(n)return Wh(t,e,n,!0),!0}return!1};Pt.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let i=c0?null:e.clipboardData;return i?(h0(t,i.getData("text/plain")||i.getData("text/uri-list")),!0):(TS(t),!1)};function AS(t,e){let i=t.dom.parentNode;if(!i)return;let n=i.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),t.focus()},50)}function ES(t){let e=[],i=[],n=!1;for(let r of t.selection.ranges)r.empty||(e.push(t.sliceDoc(r.from,r.to)),i.push(r));if(!e.length){let r=-1;for(let{from:s}of t.selection.ranges){let o=t.doc.lineAt(s);o.number>r&&(e.push(o.text),i.push({from:o.from,to:Math.min(t.doc.length,o.to+1)})),r=o.number}n=!0}return{text:jo(t,Mu,e.join(t.lineBreak)),ranges:i,linewise:n}}let Va=null;Pt.copy=Pt.cut=(t,e)=>{if(!ur(t.contentDOM,t.observer.selectionRange))return!1;let{text:i,ranges:n,linewise:r}=ES(t.state);if(!i&&!r)return!1;Va=r?i:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let s=c0?null:e.clipboardData;return s?(s.clearData(),s.setData("text/plain",i),!0):(AS(t,i),!1)};const f0=oi.define();function p0(t,e){let i=[];for(let n of t.facet(Nm)){let r=n(t,e);r&&i.push(r)}return i.length?t.update({effects:i,annotations:f0.of(!0)}):null}function m0(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let i=p0(t.state,e);i?t.dispatch(i):t.update([])}},10)}it.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),m0(t)};it.blur=t=>{t.observer.clearSelectionRange(),m0(t)};it.compositionstart=it.compositionupdate=t=>{t.observer.editContext||(t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))};it.compositionend=t=>{t.observer.editContext||(t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,N.chrome&&N.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50))};it.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Pt.beforeinput=(t,e)=>{var i,n;if((e.inputType=="insertText"||e.inputType=="insertCompositionText")&&(t.inputState.insertingText=e.data,t.inputState.insertingTextAt=Date.now()),e.inputType=="insertReplacementText"&&t.observer.editContext){let s=(i=e.dataTransfer)===null||i===void 0?void 0:i.getData("text/plain"),o=e.getTargetRanges();if(s&&o.length){let l=o[0],a=t.posAtDOM(l.startContainer,l.startOffset),u=t.posAtDOM(l.endContainer,l.endOffset);return zu(t,{from:a,to:u,insert:t.state.toText(s)},null),!0}}let r;if(N.chrome&&N.android&&(r=a0.find(s=>s.inputType==e.inputType))&&(t.observer.delayAndroidKey(r.key,r.keyCode),r.key=="Backspace"||r.key=="Delete")){let s=((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0;setTimeout(()=>{var o;(((o=window.visualViewport)===null||o===void 0?void 0:o.height)||0)>s+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return N.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),N.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>it.compositionend(t,e),20),!1};const Nh=new Set;function LS(t){Nh.has(t)||(Nh.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}const Yh=["pre-wrap","normal","pre-line","break-spaces"];let kn=!1;function Gh(){kn=!1}class DS{constructor(e){this.lineWrapping=e,this.doc=ce.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,i){let n=this.doc.lineAt(i).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((i-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/Math.max(1,this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Yh.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let i=!1;for(let n=0;n-1,a=Math.abs(i-this.lineHeight)>.3||this.lineWrapping!=l||Math.abs(n-this.charWidth)>.1;if(this.lineWrapping=l,this.lineHeight=i,this.charWidth=n,this.textHeight=r,this.lineLength=s,a){this.heightSamples={};for(let u=0;u0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>Bs&&(kn=!0),this.height=e)}replace(e,i,n){return Ye.of(n)}decomposeLeft(e,i){i.push(this)}decomposeRight(e,i){i.push(this)}applyChanges(e,i,n,r){let s=this,o=n.doc;for(let l=r.length-1;l>=0;l--){let{fromA:a,toA:u,fromB:c,toB:h}=r[l],d=s.lineAt(a,ye.ByPosNoHeight,n.setDoc(i),0,0),f=d.to>=u?d:s.lineAt(u,ye.ByPosNoHeight,n,0,0);for(h+=f.to-u,u=f.to;l>0&&d.from<=r[l-1].toA;)a=r[l-1].fromA,c=r[l-1].fromB,l--,as*2){let l=e[i-1];l.break?e.splice(--i,1,l.left,null,l.right):e.splice(--i,1,l.left,l.right),n+=1+l.break,r-=l.size}else if(s>r*2){let l=e[n];l.break?e.splice(n,1,l.left,null,l.right):e.splice(n,1,l.left,l.right),n+=2+l.break,s-=l.size}else break;else if(r=s&&o(this.lineAt(0,ye.ByPos,n,r,s))}setMeasuredHeight(e){let i=e.heights[e.index++];i<0?(this.spaceAbove=-i,i=e.heights[e.index++]):this.spaceAbove=0,this.setHeight(i)}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more&&this.setMeasuredHeight(r),this.outdated=!1,this}toString(){return`block(${this.length})`}}class at extends O0{constructor(e,i,n){super(e,i,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0,this.spaceAbove=n}mainBlock(e,i){return new Tt(i,this.length,e+this.spaceAbove,this.height-this.spaceAbove,this.breaks)}replace(e,i,n){let r=n[0];return n.length==1&&(r instanceof at||r instanceof ze&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof ze?r=new at(r.length,this.height,this.spaceAbove):r.height=this.height,this.outdated||(r.outdated=!1),r):Ye.of(n)}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more?this.setMeasuredHeight(r):(n||this.outdated)&&(this.spaceAbove=0,this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight)),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class ze extends Ye{constructor(e){super(e,0)}heightMetrics(e,i){let n=e.doc.lineAt(i).number,r=e.doc.lineAt(i+this.length).number,s=r-n+1,o,l=0;if(e.lineWrapping){let a=Math.min(this.height,e.lineHeight*s);o=a/s,this.length>s+1&&(l=(this.height-a)/(this.length-s-1))}else o=this.height/s;return{firstLine:n,lastLine:r,perLine:o,perChar:l}}blockAt(e,i,n,r){let{firstLine:s,lastLine:o,perLine:l,perChar:a}=this.heightMetrics(i,r);if(i.lineWrapping){let u=r+(e0){let s=n[n.length-1];s instanceof ze?n[n.length-1]=new ze(s.length+r):n.push(null,new ze(r-1))}if(e>0){let s=n[0];s instanceof ze?n[0]=new ze(e+s.length):n.unshift(new ze(e-1),null)}return Ye.of(n)}decomposeLeft(e,i){i.push(new ze(e-1),null)}decomposeRight(e,i){i.push(null,new ze(this.length-e-1))}updateHeight(e,i=0,n=!1,r){let s=i+this.length;if(r&&r.from<=i+this.length&&r.more){let o=[],l=Math.max(i,r.from),a=-1;for(r.from>i&&o.push(new ze(r.from-i-1).updateHeight(e,i));l<=s&&r.more;){let c=e.doc.lineAt(l).length;o.length&&o.push(null);let h=r.heights[r.index++],d=0;h<0&&(d=-h,h=r.heights[r.index++]),a==-1?a=h:Math.abs(h-a)>=Bs&&(a=-2);let f=new at(c,h,d);f.outdated=!1,o.push(f),l+=c+1}l<=s&&o.push(null,new ze(s-l).updateHeight(e,l));let u=Ye.of(o);return(a<0||Math.abs(u.height-this.height)>=Bs||Math.abs(a-this.heightMetrics(e,i).perLine)>=Bs)&&(kn=!0),co(this,u)}else(n||this.outdated)&&(this.setHeight(e.heightForGap(i,i+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class IS extends Ye{constructor(e,i,n){super(e.length+i+n.length,e.height+n.height,i|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,i,n,r){let s=n+this.left.height;return el))return u;let c=i==ye.ByPosNoHeight?ye.ByPosNoHeight:ye.ByPos;return a?u.join(this.right.lineAt(l,c,n,o,l)):this.left.lineAt(l,c,n,r,s).join(u)}forEachLine(e,i,n,r,s,o){let l=r+this.left.height,a=s+this.left.length+this.break;if(this.break)e=a&&this.right.forEachLine(e,i,n,l,a,o);else{let u=this.lineAt(a,ye.ByPos,n,r,s);e=e&&u.from<=i&&o(u),i>u.to&&this.right.forEachLine(u.to+1,i,n,l,a,o)}}replace(e,i,n){let r=this.left.length+this.break;if(ithis.left.length)return this.balanced(this.left,this.right.replace(e-r,i-r,n));let s=[];e>0&&this.decomposeLeft(e,s);let o=s.length;for(let l of n)s.push(l);if(e>0&&Uh(s,o-1),i=n&&i.push(null)),e>n&&this.right.decomposeLeft(e-n,i)}decomposeRight(e,i){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,i);e2*i.size||i.size>2*e.size?Ye.of(this.break?[e,null,i]:[e,i]):(this.left=co(this.left,e),this.right=co(this.right,i),this.setHeight(e.height+i.height),this.outdated=e.outdated||i.outdated,this.size=e.size+i.size,this.length=e.length+this.break+i.length,this)}updateHeight(e,i=0,n=!1,r){let{left:s,right:o}=this,l=i+s.length+this.break,a=null;return r&&r.from<=i+s.length&&r.more?a=s=s.updateHeight(e,i,n,r):s.updateHeight(e,i,n),r&&r.from<=l+o.length&&r.more?a=o=o.updateHeight(e,l,n,r):o.updateHeight(e,l,n),a?this.balanced(s,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Uh(t,e){let i,n;t[e]==null&&(i=t[e-1])instanceof ze&&(n=t[e+1])instanceof ze&&t.splice(e-1,3,new ze(i.length+1+n.length))}const ZS=5;class Xu{constructor(e,i){this.pos=e,this.oracle=i,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,i){if(this.lineStart>-1){let n=Math.min(i,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof at?r.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new at(n-this.pos,-1,0)),this.writtenTo=n,i>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=i}point(e,i,n){if(e=ZS)&&this.addLineDeco(r,s,o)}else i>e&&this.span(e,i);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:i}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=i,this.writtenToe&&this.nodes.push(new at(this.pos-e,-1,0)),this.writtenTo=this.pos}blankContent(e,i){let n=new ze(i-e);return this.oracle.doc.lineAt(e).to==i&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof at)return e;let i=new at(0,-1,0);return this.nodes.push(i),i}addBlock(e){this.enterLine();let i=e.deco;i&&i.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i&&i.endSide>0&&(this.covering=e)}addLineDeco(e,i,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=i,this.writtenTo=this.pos=this.pos+n}finish(e){let i=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(i instanceof at)&&!this.isCovered?this.nodes.push(new at(0,-1,0)):(this.writtenToc.clientHeight||c.scrollWidth>c.clientWidth)&&h.overflow!="visible"){let d=c.getBoundingClientRect();s=Math.max(s,d.left),o=Math.min(o,d.right),l=Math.max(l,d.top),a=Math.min(u==t.parentNode?r.innerHeight:a,d.bottom)}u=h.position=="absolute"||h.position=="fixed"?c.offsetParent:c.parentNode}else if(u.nodeType==11)u=u.host;else break;return{left:s-i.left,right:Math.max(s,o)-i.left,top:l-(i.top+e),bottom:Math.max(l,a)-(i.top+e)}}function BS(t){let e=t.getBoundingClientRect(),i=t.ownerDocument.defaultView||window;return e.left0&&e.top0}function VS(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}class xl{constructor(e,i,n,r){this.from=e,this.to=i,this.size=n,this.displaySize=r}static same(e,i){if(e.length!=i.length)return!1;for(let n=0;ntypeof r!="function"&&r.class=="cm-lineWrapping");this.heightOracle=new DS(n),this.stateDeco=Jh(i),this.heightMap=Ye.empty().applyChanges(this.stateDeco,ce.empty,this.heightOracle.setDoc(i.doc),[new gt(0,0,0,i.doc.length)]);for(let r=0;r<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());r++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=me.set(this.lineGaps.map(r=>r.draw(this,!1))),this.scrollParent=e.scrollDOM,this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:i}=this.state.selection;for(let n=0;n<=1;n++){let r=n?i.head:i.anchor;if(!e.some(({from:s,to:o})=>r>=s&&r<=o)){let{from:s,to:o}=this.lineBlockAt(r);e.push(new fs(s,o))}}return this.viewports=e.sort((n,r)=>n.from-r.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?Kh:new Fu(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(Kn(e,this.scaler))})}update(e,i=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=Jh(this.state);let r=e.changedRanges,s=gt.extendWithRanges(r,zS(n,this.stateDeco,e?e.changes:Le.empty(this.state.doc.length))),o=this.heightMap.height,l=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollOffset);Gh(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),(this.heightMap.height!=o||kn)&&(e.flags|=2),l?(this.scrollAnchorPos=e.changes.mapPos(l.from,-1),this.scrollAnchorHeight=l.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=o);let a=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(i&&(i.range.heada.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,i));let u=a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,e.flags|=this.updateForViewport(),(u||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(e.changes),i&&(this.scrollTarget=i),!this.mustEnforceCursorAssoc&&(e.selectionSet||e.focusChanged)&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Gm)&&(this.mustEnforceCursorAssoc=!0)}measure(){let{view:e}=this,i=e.contentDOM,n=window.getComputedStyle(i),r=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Se.RTL:Se.LTR;let o=this.heightOracle.mustRefreshForWrapping(s)||this.mustMeasureContent==="refresh",l=i.getBoundingClientRect(),a=o||this.mustMeasureContent||this.contentDOMHeight!=l.height;this.contentDOMHeight=l.height,this.mustMeasureContent=!1;let u=0,c=0;if(l.width&&l.height){let{scaleX:x,scaleY:Q}=Am(i,l);(x>.005&&Math.abs(this.scaleX-x)>.005||Q>.005&&Math.abs(this.scaleY-Q)>.005)&&(this.scaleX=x,this.scaleY=Q,u|=16,o=a=!0)}let h=(parseInt(n.paddingTop)||0)*this.scaleY,d=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=h||this.paddingBottom!=d)&&(this.paddingTop=h,this.paddingBottom=d,u|=18),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,u|=16);let f=Em(this.view.contentDOM,!1).y;f!=this.scrollParent&&(this.scrollParent=f,this.scrollAnchorHeight=-1,this.scrollOffset=0);let p=this.getScrollOffset();this.scrollOffset!=p&&(this.scrollAnchorHeight=-1,this.scrollOffset=p),this.scrolledToBottom=Dm(this.scrollParent||e.win);let m=(this.printing?VS:FS)(i,this.paddingTop),O=m.top-this.pixelViewport.top,g=m.bottom-this.pixelViewport.bottom;this.pixelViewport=m;let b=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(b!=this.inView&&(this.inView=b,b&&(a=!0)),!this.inView&&!this.scrollTarget&&!BS(e.dom))return 0;let S=l.width;if((this.contentDOMWidth!=S||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=l.width,this.editorHeight=e.scrollDOM.clientHeight,u|=16),a){let x=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(x)&&(o=!0),o||r.lineWrapping&&Math.abs(S-this.contentDOMWidth)>r.charWidth){let{lineHeight:Q,charWidth:T,textHeight:_}=e.docView.measureTextSize();o=Q>0&&r.refresh(s,Q,T,_,Math.max(5,S/T),x),o&&(e.docView.minWidth=0,u|=16)}O>0&&g>0?c=Math.max(O,g):O<0&&g<0&&(c=Math.min(O,g)),Gh();for(let Q of this.viewports){let T=Q.from==this.viewport.from?x:e.docView.measureVisibleLineHeights(Q);this.heightMap=(o?Ye.empty().applyChanges(this.stateDeco,ce.empty,this.heightOracle,[new gt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new MS(Q.from,T))}kn&&(u|=2)}let y=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return y&&(u&2&&(u|=this.updateScaler()),this.viewport=this.getViewport(c,this.scrollTarget),u|=this.updateForViewport()),(u&2||y)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,i){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,s=this.heightOracle,{visibleTop:o,visibleBottom:l}=this,a=new fs(r.lineAt(o-n*1e3,ye.ByHeight,s,0,0).from,r.lineAt(l+(1-n)*1e3,ye.ByHeight,s,0,0).to);if(i){let{head:u}=i.range;if(ua.to){let c=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),h=r.lineAt(u,ye.ByPos,s,0,0),d;i.y=="center"?d=(h.top+h.bottom)/2-c/2:i.y=="start"||i.y=="nearest"&&u=l+Math.max(10,Math.min(n,250)))&&r>o-2*1e3&&s>1,o=r<<1;if(this.defaultTextDirection!=Se.LTR&&!n)return[];let l=[],a=(c,h,d,f)=>{if(h-cc&&gg.from>=d.from&&g.to<=d.to&&Math.abs(g.from-c)g.fromb));if(!O){if(hS.from<=h&&S.to>=h)){let S=i.moveToLineBoundary(L.cursor(h),!1,!0).head;S>c&&(h=S)}let g=this.gapSize(d,c,h,f),b=n||g<2e6?g:2e6;O=new xl(c,h,g,b)}l.push(O)},u=c=>{if(c.length2e6)for(let Q of e)Q.from>=c.from&&Q.fromc.from&&a(c.from,f,c,h),pi.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(e){let i=this.stateDeco;this.lineGaps.length&&(i=i.concat(this.lineGapDeco));let n=[];de.spans(i,this.viewport.from,this.viewport.to,{span(s,o){n.push({from:s,to:o})},point(){}},20);let r=0;if(n.length!=this.visibleRanges.length)r=12;else for(let s=0;s=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(i=>i.from<=e&&i.to>=e)||Kn(this.heightMap.lineAt(e,ye.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(i=>i.top<=e&&i.bottom>=e)||Kn(this.heightMap.lineAt(this.scaler.fromDOM(e),ye.ByHeight,this.heightOracle,0,0),this.scaler)}getScrollOffset(){return(this.scrollParent==this.view.scrollDOM?this.scrollParent.scrollTop:(this.scrollParent?this.scrollParent.getBoundingClientRect().top:0)-this.view.contentDOM.getBoundingClientRect().top)*this.scaleY}scrollAnchorAt(e){let i=this.lineBlockAtHeight(e+8);return i.from>=this.viewport.from||this.viewportLines[0].top-e>200?i:this.viewportLines[0]}elementAtHeight(e){return Kn(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class fs{constructor(e,i){this.from=e,this.to=i}}function jS(t,e,i){let n=[],r=t,s=0;return de.spans(i,t,e,{span(){},point(o,l){o>r&&(n.push({from:r,to:o}),s+=o-r),r=l}},20),r=1)return e[e.length-1].to;let n=Math.floor(t*i);for(let r=0;;r++){let{from:s,to:o}=e[r],l=o-s;if(n<=l)return s+n;n-=l}}function ms(t,e){let i=0;for(let{from:n,to:r}of t.ranges){if(e<=r){i+=e-n;break}i+=r-n}return i/t.total}function WS(t,e){for(let i of t)if(e(i))return i}const Kh={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}};function Jh(t){let e=t.facet(Bo).filter(n=>typeof n!="function"),i=t.facet(Iu).filter(n=>typeof n!="function");return i.length&&e.push(de.join(i)),e}class Fu{constructor(e,i,n){let r=0,s=0,o=0;this.viewports=n.map(({from:l,to:a})=>{let u=i.lineAt(l,ye.ByPos,e,0,0).top,c=i.lineAt(a,ye.ByPos,e,0,0).bottom;return r+=c-u,{from:l,to:a,top:u,bottom:c,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(i.height-r);for(let l of this.viewports)l.domTop=o+(l.top-s)*this.scale,o=l.domBottom=l.domTop+(l.bottom-l.top),s=l.bottom}toDOM(e){for(let i=0,n=0,r=0;;i++){let s=ii.from==e.viewports[n].from&&i.to==e.viewports[n].to):!1}}function Kn(t,e){if(e.scale==1)return t;let i=e.toDOM(t.top),n=e.toDOM(t.bottom);return new Tt(t.from,t.length,i,n-i,Array.isArray(t._content)?t._content.map(r=>Kn(r,e)):t._content)}const Os=G.define({combine:t=>t.join(" ")}),qa=G.define({combine:t=>t.indexOf(!0)>-1}),ja=Si.newName(),g0=Si.newName(),b0=Si.newName(),x0={"&light":"."+g0,"&dark":"."+b0};function Wa(t,e,i){return new Si(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,r=>{if(r=="&")return t;if(!i||!i[r])throw new RangeError(`Unsupported selector: ${r}`);return i[r]}):t+" "+n}})}const NS=Wa("."+ja,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-selectionHandle":{backgroundColor:"currentColor",width:"1.5px"},".cm-selectionHandle-start::before, .cm-selectionHandle-end::before":{content:'""',backgroundColor:"inherit",borderRadius:"50%",width:"8px",height:"8px",position:"absolute",left:"-3.25px"},".cm-selectionHandle-start::before":{top:"-8px"},".cm-selectionHandle-end::before":{bottom:"-8px"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",zIndex:200},".cm-gutters-before":{insetInlineStart:0},".cm-gutters-after":{insetInlineEnd:0},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",border:"0px solid #ddd","&.cm-gutters-before":{borderRightWidth:"1px"},"&.cm-gutters-after":{borderLeftWidth:"1px"}},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-dialog":{padding:"2px 19px 4px 6px",position:"relative","& label":{fontSize:"80%"}},".cm-dialog-close":{position:"absolute",top:"3px",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",fontSize:"14px",padding:"0"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top",userSelect:"none"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},x0),YS={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},kl=N.ie&&N.ie_version<=11;class GS{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new Qv,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(i=>{for(let n of i)this.queue.push(n);(N.ie&&N.ie_version<=11||N.ios&&e.composing)&&i.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&N.android&&e.constructor.EDIT_CONTEXT!==!1&&!(N.chrome&&N.chrome_version<126)&&(this.editContext=new HS(e),e.state.facet(Kt)&&(e.contentDOM.editContext=this.editContext.editContext)),kl&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var i;((i=this.view.docView)===null||i===void 0?void 0:i.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),i.length>0&&i[i.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(i=>{i.length>0&&i[i.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type=="change"||!e.type)&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((i,n)=>i!=e[n]))){this.gapIntersection.disconnect();for(let i of e)this.gapIntersection.observe(i);this.gaps=e}}onSelectionChange(e){let i=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,r=this.selectionRange;if(n.state.facet(Kt)?n.root.activeElement!=this.dom:!ur(this.dom,r))return;let s=r.anchorNode&&n.docView.tile.nearest(r.anchorNode);if(s&&s.isWidget()&&s.widget.ignoreEvent(e)){i||(this.selectionChanged=!1);return}(N.ie&&N.ie_version<=11||N.android&&N.chrome)&&!n.state.selection.main.empty&&r.focusNode&&hr(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,i=Qr(e.root);if(!i)return!1;let n=N.safari&&e.root.nodeType==11&&e.root.activeElement==this.dom&&US(this.view,i)||i;if(!n||this.selectionRange.eq(n))return!1;let r=ur(this.dom,n);return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&an(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(r)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:i,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let i=-1,n=-1,r=!1;for(let s of e){let o=this.readMutation(s);o&&(o.typeOver&&(r=!0),i==-1?{from:i,to:n}=o:(i=Math.min(o.from,i),n=Math.max(o.to,n)))}return{from:i,to:n,typeOver:r}}readChange(){let{from:e,to:i,typeOver:n}=this.processRecords(),r=this.selectionChanged&&ur(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new pS(this.view,e,i,n);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let i=this.readChange();if(!i)return this.view.requestMeasure(),!1;let n=this.view.state,r=o0(this.view,i);return this.view.state==n&&(i.domChanged||i.newSel&&!uo(this.view.state.selection,i.newSel.main))&&this.view.update([]),r}readMutation(e){let i=this.view.docView.tile.nearest(e.target);if(!i||i.isWidget())return null;if(i.markDirty(e.type=="attributes"),e.type=="childList"){let n=ed(i,e.previousSibling||e.target.previousSibling,-1),r=ed(i,e.nextSibling||e.target.nextSibling,1);return{from:n?i.posAfter(n):i.posAtStart,to:r?i.posBefore(r):i.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:i.posAtStart,to:i.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(Kt)!=e.state.facet(Kt)&&(e.view.contentDOM.editContext=e.state.facet(Kt)?this.editContext.editContext:null))}destroy(){var e,i,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(i=this.gapIntersection)===null||i===void 0||i.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function ed(t,e,i){for(;e;){let n=_e.get(e);if(n&&n.parent==t)return n;let r=e.parentNode;e=r!=t.dom?r:i>0?e.nextSibling:e.previousSibling}return null}function td(t,e){let i=e.startContainer,n=e.startOffset,r=e.endContainer,s=e.endOffset,o=t.docView.domAtPos(t.state.selection.main.anchor,1);return hr(o.node,o.offset,r,s)&&([i,n,r,s]=[r,s,i,n]),{anchorNode:i,anchorOffset:n,focusNode:r,focusOffset:s}}function US(t,e){if(e.getComposedRanges){let r=e.getComposedRanges(t.root)[0];if(r)return td(t,r)}let i=null;function n(r){r.preventDefault(),r.stopImmediatePropagation(),i=r.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",n,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",n,!0),i?td(t,i):null}class HS{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let i=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=n=>{let r=e.state.selection.main,{anchor:s,head:o}=r,l=this.toEditorPos(n.updateRangeStart),a=this.toEditorPos(n.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:n.updateRangeStart,editorBase:l,drifted:!1});let u=a-l>n.text.length;l==this.from&&sthis.to&&(a=s);let c=l0(e.state.sliceDoc(l,a),n.text,(u?r.from:r.to)-l,u?"end":null);if(!c){let d=L.single(this.toEditorPos(n.selectionStart),this.toEditorPos(n.selectionEnd));uo(d,r)||e.dispatch({selection:d,userEvent:"select"});return}let h={from:c.from+l,to:c.toA+l,insert:ce.of(n.text.slice(c.from,c.toB).split(` +`))};if((N.mac||N.android)&&h.from==o-1&&/^\. ?$/.test(n.text)&&e.contentDOM.getAttribute("autocorrect")=="off"&&(h={from:l,to:a,insert:ce.of([n.text.replace("."," ")])}),this.pendingContextChange=h,!e.state.readOnly){let d=this.to-this.from+(h.to-h.from+h.insert.length);zu(e,h,L.single(this.toEditorPos(n.selectionStart,d),this.toEditorPos(n.selectionEnd,d)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)),h.from=0&&!/[\\p{Alphabetic}\\p{Number}_]/.test(i.text.slice(Math.max(0,n.updateRangeStart-1),Math.min(i.text.length,n.updateRangeStart+1)))&&this.handlers.compositionend(n)},this.handlers.characterboundsupdate=n=>{let r=[],s=null;for(let o=this.toEditorPos(n.rangeStart),l=this.toEditorPos(n.rangeEnd);o{let r=[];for(let s of n.getTextFormats()){let o=s.underlineStyle,l=s.underlineThickness;if(!/none/i.test(o)&&!/none/i.test(l)){let a=this.toEditorPos(s.rangeStart),u=this.toEditorPos(s.rangeEnd);if(a{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:n}=this.composing;this.composing=null,n&&this.reset(e.state)}};for(let n in this.handlers)i.addEventListener(n,this.handlers[n]);this.measureReq={read:n=>{this.editContext.updateControlBounds(n.contentDOM.getBoundingClientRect());let r=Qr(n.root);r&&r.rangeCount&&this.editContext.updateSelectionBounds(r.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let i=0,n=!1,r=this.pendingContextChange;return e.changes.iterChanges((s,o,l,a,u)=>{if(n)return;let c=u.length-(o-s);if(r&&o>=r.to)if(r.from==s&&r.to==o&&r.insert.eq(u)){r=this.pendingContextChange=null,i+=c,this.to+=c;return}else r=null,this.revertPending(e.state);if(s+=i,o+=i,o<=this.from)this.from+=c,this.to+=c;else if(sthis.to||this.to-this.from+u.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(s),this.toContextPos(o),u.toString()),this.to+=c}i+=c}),r&&!n&&this.revertPending(e.state),!n}update(e){let i=this.pendingContextChange,n=e.startState.selection.main;this.composing&&(this.composing.drifted||!e.changes.touchesRange(n.from,n.to)&&e.transactions.some(r=>!r.isUserEvent("input.type")&&r.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.reset(e.state)):(e.docChanged||e.selectionSet||i)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:i}=e.selection.main;this.from=Math.max(0,i-1e4),this.to=Math.min(e.doc.length,i+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let i=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(i.from),this.toContextPos(i.from+i.insert.length),e.doc.sliceString(i.from,i.to))}setSelection(e){let{main:i}=e.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,i.anchor))),r=this.toContextPos(i.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=r)&&this.editContext.updateSelection(n,r)}rangeIsValid(e){let{head:i}=e.selection.main;return!(this.from>0&&i-this.from<500||this.to1e4*3)}toEditorPos(e,i=this.to-this.from){e=Math.min(e,i);let n=this.composing;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){let i=this.composing;return i&&i.drifted?i.contextBase+(e-i.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class Y{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return!!this.inputState&&this.inputState.composing>0}get compositionStarted(){return!!this.inputState&&this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var i;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;this.dispatchTransactions=e.dispatchTransactions||n&&(r=>r.forEach(s=>n(s,this)))||(r=>this.update(r)),this.dispatch=this.dispatch.bind(this),this._root=e.root||$v(e.parent)||document,this.viewState=new Hh(this,e.state||ue.create(e)),e.scrollTo&&e.scrollTo.is(cs)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(en).map(r=>new pl(r));for(let r of this.plugins)r.update(this);this.observer=new GS(this),this.inputState=new bS(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Zh(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((i=document.fonts)===null||i===void 0)&&i.ready&&document.fonts.ready.then(()=>{this.viewState.mustMeasureContent="refresh",this.requestMeasure()})}dispatch(...e){let i=e.length==1&&e[0]instanceof Ae?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(i,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let i=!1,n=!1,r,s=this.state;for(let d of e){if(d.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=d.state}if(this.destroyed){this.viewState.state=s;return}let o=this.hasFocus,l=0,a=null;e.some(d=>d.annotation(f0))?(this.inputState.notifiedFocused=o,l=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,a=p0(s,o),a||(l=1));let u=this.observer.delayedAndroidKey,c=null;if(u?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(c=null)):this.observer.clear(),s.facet(ue.phrases)!=this.state.facet(ue.phrases))return this.setState(s);r=oo.create(this,s,e),r.flags|=l;let h=this.viewState.scrollTarget;try{this.updateState=2;for(let d of e){if(h&&(h=h.map(d.changes)),d.scrollIntoView){let{main:f}=d.state.selection;h=new un(f.empty?f:L.cursor(f.head,f.head>f.anchor?-1:1))}for(let f of d.effects)f.is(cs)&&(h=f.value.clip(this.state))}this.viewState.update(r,h),this.bidiCache=ho.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),i=this.docView.update(r),this.state.facet(Hn)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(i,e.some(d=>d.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(Os)!=r.state.facet(Os)&&(this.viewState.mustMeasureContent=!0),(i||n||h||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),i&&this.docViewUpdate(),!r.empty)for(let d of this.state.facet(za))try{d(r)}catch(f){ft(this.state,f,"update listener")}(a||c)&&Promise.resolve().then(()=>{a&&this.state==a.startState&&this.dispatch(a),c&&!o0(this,c)&&u.force&&an(this.contentDOM,u.key,u.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let i=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new Hh(this,e),this.plugins=e.facet(en).map(n=>new pl(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new Zh(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}i&&this.focus(),this.requestMeasure()}updatePlugins(e){let i=e.startState.facet(en),n=e.state.facet(en);if(i!=n){let r=[];for(let s of n){let o=i.indexOf(s);if(o<0)r.push(new pl(s));else{let l=this.plugins[o];l.mustUpdate=e,r.push(l)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let i=null,n=this.viewState.scrollParent,r=this.viewState.getScrollOffset(),{scrollAnchorPos:s,scrollAnchorHeight:o}=this.viewState;Math.abs(r-this.viewState.scrollOffset)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let l=0;;l++){if(o<0)if(Dm(n||this.win))s=-1,o=this.viewState.heightMap.height;else{let f=this.viewState.scrollAnchorAt(r);s=f.from,o=f.top}this.updateState=1;let a=this.viewState.measure();if(!a&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let u=[];a&4||([this.measureRequests,u]=[u,this.measureRequests]);let c=u.map(f=>{try{return f.read(this)}catch(p){return ft(this.state,p),id}}),h=oo.create(this,this.state,[]),d=!1;h.flags|=a,i?i.flags|=a:i=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),d=this.docView.update(h),d&&this.docViewUpdate());for(let f=0;f1||p<-1)&&(n==this.scrollDOM||this.hasFocus||Math.max(this.inputState.lastWheelEvent,this.inputState.lastTouchTime)>Date.now()-100)){r=r+p,n?n.scrollTop+=p:this.win.scrollBy(0,p),o=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(i&&!i.empty)for(let l of this.state.facet(za))l(i)}get themeClasses(){return ja+" "+(this.state.facet(qa)?b0:g0)+" "+this.state.facet(Os)}updateAttrs(){let e=nd(this,Km,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),i={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(Kt)?"true":"false",class:"cm-content",style:`${N.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(i["aria-readonly"]="true"),nd(this,Ru,i);let n=this.observer.ignore(()=>{let r=Eh(this.contentDOM,this.contentAttrs,i),s=Eh(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=i,n}showAnnouncements(e){let i=!0;for(let n of e)for(let r of n.effects)if(r.is(Y.announce)){i&&(this.announceDOM.textContent=""),i=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet(Hn);let e=this.state.facet(Y.cspNonce);Si.mount(this.root,this.styleModules.concat(NS).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let i=0;in.plugin==e)||null),i&&i.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,i,n){return bl(this,e,zh(this,e,i,n))}moveByGroup(e,i){return bl(this,e,zh(this,e,i,n=>aS(this,e.head,n)))}visualLineSide(e,i){let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),s=n[i?n.length-1:0];return L.cursor(s.side(i,r)+e.from,s.forward(!i,r)?1:-1)}moveToLineBoundary(e,i,n=!0){return lS(this,e,i,n)}moveVertically(e,i,n){return bl(this,e,uS(this,e,i,n))}domAtPos(e,i=1){return this.docView.domAtPos(e,i)}posAtDOM(e,i=0){return this.docView.posFromDOM(e,i)}posAtCoords(e,i=!0){this.readMeasured();let n=Ba(this,e,i);return n&&n.pos}posAndSideAtCoords(e,i=!0){return this.readMeasured(),Ba(this,e,i)}coordsAtPos(e,i=1){this.readMeasured();let n=this.docView.coordsAt(e,i);if(!n||n.left==n.right)return n;let r=this.state.doc.lineAt(e),s=this.bidiSpans(r),o=s[Vt.find(s,e-r.from,-1,i)];return $r(n,o.dir==Se.LTR==i>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(Ym)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>KS)return Xm(e.length);let i=this.textDirectionAt(e.from),n;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==i&&(s.fresh||zm(s.isolates,n=Mh(this,e))))return s.order;n||(n=Mh(this,e));let r=Dv(e.text,i,n);return this.bidiCache.push(new ho(e.from,e.to,i,n,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||N.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{Lm(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,i={}){return cs.of(new un(typeof e=="number"?L.cursor(e):e,i.y,i.x,i.yMargin,i.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:i}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return cs.of(new un(L.cursor(n.from),"start","start",n.top-e,i,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return tt.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return tt.define(()=>({}),{eventObservers:e})}static theme(e,i){let n=Si.newName(),r=[Os.of(n),Hn.of(Wa(`.${n}`,e))];return i&&i.dark&&r.push(qa.of(!0)),r}static baseTheme(e){return si.lowest(Hn.of(Wa("."+ja,e,x0)))}static findFromDOM(e){var i;let n=e.querySelector(".cm-content"),r=n&&_e.get(n)||_e.get(e);return((i=r?.root)===null||i===void 0?void 0:i.view)||null}}Y.styleModule=Hn;Y.inputHandler=Wm;Y.clipboardInputFilter=Du;Y.clipboardOutputFilter=Mu;Y.scrollHandler=Um;Y.focusChangeEffect=Nm;Y.perLineTextDirection=Ym;Y.exceptionSink=jm;Y.updateListener=za;Y.editable=Kt;Y.mouseSelectionStyle=qm;Y.dragMovesSelection=Vm;Y.clickAddsSelectionRange=Bm;Y.decorations=Bo;Y.blockWrappers=Jm;Y.outerDecorations=Iu;Y.atomicRanges=Yr;Y.bidiIsolatedRanges=e0;Y.scrollMargins=t0;Y.darkTheme=qa;Y.cspNonce=G.define({combine:t=>t.length?t[0]:""});Y.contentAttributes=Ru;Y.editorAttributes=Km;Y.lineWrapping=Y.contentAttributes.of({class:"cm-lineWrapping"});Y.announce=se.define();const KS=4096,id={};class ho{constructor(e,i,n,r,s,o){this.from=e,this.to=i,this.dir=n,this.isolates=r,this.fresh=s,this.order=o}static update(e,i){if(i.empty&&!e.some(s=>s.fresh))return e;let n=[],r=e.length?e[e.length-1].dir:Se.LTR;for(let s=Math.max(0,e.length-10);s=0;r--){let s=n[r],o=typeof s=="function"?s(t):s;o&&Au(o,i)}return i}const JS=N.mac?"mac":N.windows?"win":N.linux?"linux":"key";function ew(t,e){const i=t.split(/-(?!$)/);let n=i[i.length-1];n=="Space"&&(n=" ");let r,s,o,l;for(let a=0;an.concat(r),[]))),i}function iw(t,e,i){return y0(k0(t.state),e,t,i)}let mi=null;const nw=4e3;function rw(t,e=JS){let i=Object.create(null),n=Object.create(null),r=(o,l)=>{let a=n[o];if(a==null)n[o]=l;else if(a!=l)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},s=(o,l,a,u,c)=>{var h,d;let f=i[o]||(i[o]=Object.create(null)),p=l.split(/ (?!$)/).map(g=>ew(g,e));for(let g=1;g{let y=mi={view:S,prefix:b,scope:o};return setTimeout(()=>{mi==y&&(mi=null)},nw),!0}]})}let m=p.join(" ");r(m,!1);let O=f[m]||(f[m]={preventDefault:!1,stopPropagation:!1,run:((d=(h=f._any)===null||h===void 0?void 0:h.run)===null||d===void 0?void 0:d.slice())||[]});a&&O.run.push(a),u&&(O.preventDefault=!0),c&&(O.stopPropagation=!0)};for(let o of t){let l=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let u of l){let c=i[u]||(i[u]=Object.create(null));c._any||(c._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:h}=o;for(let d in c)c[d].run.push(f=>h(f,Na))}let a=o[e]||o.key;if(a)for(let u of l)s(u,a,o.run,o.preventDefault,o.stopPropagation),o.shift&&s(u,"Shift-"+a,o.shift,o.preventDefault,o.stopPropagation)}return i}let Na=null;function y0(t,e,i,n){Na=e;let r=Z1(e),s=hi(r,0),o=Li(s)==r.length&&r!=" ",l="",a=!1,u=!1,c=!1;mi&&mi.view==i&&mi.scope==n&&(l=mi.prefix+" ",u0.indexOf(e.keyCode)<0&&(u=!0,mi=null));let h=new Set,d=O=>{if(O){for(let g of O.run)if(!h.has(g)&&(h.add(g),g(i)))return O.stopPropagation&&(c=!0),!0;O.preventDefault&&(O.stopPropagation&&(c=!0),u=!0)}return!1},f=t[n],p,m;return f&&(d(f[l+gs(r,e,!o)])?a=!0:o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(N.windows&&e.ctrlKey&&e.altKey)&&!(N.mac&&e.altKey&&!(e.ctrlKey||e.metaKey))&&(p=z1[e.keyCode])&&p!=r?(d(f[l+gs(p,e,!0)])||e.shiftKey&&(m=X1[e.keyCode])!=r&&m!=p&&d(f[l+gs(m,e,!1)]))&&(a=!0):o&&e.shiftKey&&d(f[l+gs(r,e,!0)])&&(a=!0),!a&&d(f._any)&&(a=!0)),u&&(a=!0),a&&c&&e.stopPropagation(),Na=null,a}class Zi{constructor(e,i,n,r,s){this.className=e,this.left=i,this.top=n,this.width=r,this.height=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,i){return i.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,i,n){if(n.empty){let r=e.coordsAtPos(n.head,n.assoc||1);if(!r)return[];let s=v0(e);return[new Zi(i,r.left-s.left,r.top-s.top,null,r.bottom-r.top)]}else return sw(e,i,n)}}function v0(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==Se.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function sd(t,e,i,n){let r=t.coordsAtPos(e,i*2);if(!r)return n;let s=t.dom.getBoundingClientRect(),o=(r.top+r.bottom)/2,l=t.posAtCoords({x:s.left+1,y:o}),a=t.posAtCoords({x:s.right-1,y:o});return l==null||a==null?n:{from:Math.max(n.from,Math.min(l,a)),to:Math.min(n.to,Math.max(l,a))}}function sw(t,e,i){if(i.to<=t.viewport.from||i.from>=t.viewport.to)return[];let n=Math.max(i.from,t.viewport.from),r=Math.min(i.to,t.viewport.to),s=t.textDirection==Se.LTR,o=t.contentDOM,l=o.getBoundingClientRect(),a=v0(t),u=o.querySelector(".cm-line"),c=u&&window.getComputedStyle(u),h=l.left+(c?parseInt(c.paddingLeft)+Math.min(0,parseInt(c.textIndent)):0),d=l.right-(c?parseInt(c.paddingRight):0),f=Fa(t,n,1),p=Fa(t,r,-1),m=f.type==Fe.Text?f:null,O=p.type==Fe.Text?p:null;if(m&&(t.lineWrapping||f.widgetLineBreaks)&&(m=sd(t,n,1,m)),O&&(t.lineWrapping||p.widgetLineBreaks)&&(O=sd(t,r,-1,O)),m&&O&&m.from==O.from&&m.to==O.to)return b(S(i.from,i.to,m));{let x=m?S(i.from,null,m):y(f,!1),Q=O?S(null,i.to,O):y(p,!0),T=[];return(m||f).to<(O||p).from-(m&&O?1:0)||f.widgetLineBreaks>1&&x.bottom+t.defaultLineHeight/2E&&q.from=D)break;H>j&&B(Math.max(z,j),x==null&&z<=E,Math.min(H,D),Q==null&&H>=Z,I.dir)}if(j=X.to+1,j>=D)break}return F.length==0&&B(E,x==null,Z,Q==null,t.textDirection),{top:_,bottom:C,horizontal:F}}function y(x,Q){let T=l.top+(Q?x.top:x.bottom);return{top:T,bottom:T,horizontal:[]}}}function ow(t,e){return t.constructor==e.constructor&&t.eq(e)}class lw{constructor(e,i){this.view=e,this.layer=i,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),i.above&&this.dom.classList.add("cm-layer-above"),i.class&&this.dom.classList.add(i.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),i.mount&&i.mount(this.dom,e)}update(e){e.startState.facet(Vs)!=e.state.facet(Vs)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let i=0,n=e.facet(Vs);for(;i!ow(i,this.drawn[n]))){let i=this.dom.firstChild,n=0;for(let r of e)r.update&&i&&r.constructor&&this.drawn[n].constructor&&r.update(i,this.drawn[n])?(i=i.nextSibling,n++):this.dom.insertBefore(r.draw(),i);for(;i;){let r=i.nextSibling;i.remove(),i=r}this.drawn=e,N.safari&&N.safari_version>=26&&(this.dom.style.display=this.dom.firstChild?"":"none")}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const Vs=G.define();function S0(t){return[tt.define(e=>new lw(e,t)),Vs.of(t)]}const yn=G.define({combine(t){return jr(t,{cursorBlinkRate:1200,drawRangeCursor:!0,iosSelectionHandles:!0},{cursorBlinkRate:(e,i)=>Math.min(e,i),drawRangeCursor:(e,i)=>e||i})}});function aw(t={}){return[yn.of(t),uw,cw,hw,Gm.of(!0)]}function w0(t){return t.startState.facet(yn)!=t.state.facet(yn)}const uw=S0({above:!0,markers(t){let{state:e}=t,i=e.facet(yn),n=[];for(let r of e.selection.ranges){let s=r==e.selection.main;if(r.empty||i.drawRangeCursor&&!(s&&N.ios&&i.iosSelectionHandles)){let o=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",l=r.empty?r:L.cursor(r.head,r.assoc);for(let a of Zi.forRange(t,o,l))n.push(a)}}return n},update(t,e){t.transactions.some(n=>n.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let i=w0(t);return i&&od(t.state,e),t.docChanged||t.selectionSet||i},mount(t,e){od(e.state,t)},class:"cm-cursorLayer"});function od(t,e){e.style.animationDuration=t.facet(yn).cursorBlinkRate+"ms"}const cw=S0({above:!1,markers(t){let e=[],{main:i,ranges:n}=t.state.selection;for(let r of n)if(!r.empty)for(let s of Zi.forRange(t,"cm-selectionBackground",r))e.push(s);if(N.ios&&!i.empty&&t.state.facet(yn).iosSelectionHandles){for(let r of Zi.forRange(t,"cm-selectionHandle cm-selectionHandle-start",L.cursor(i.from,1)))e.push(r);for(let r of Zi.forRange(t,"cm-selectionHandle cm-selectionHandle-end",L.cursor(i.to,1)))e.push(r)}return e},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||w0(t)},class:"cm-selectionLayer"}),hw=si.highest(Y.theme({".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-content":{caretColor:"transparent !important","& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}}));class dw extends Ni{constructor(e){super(),this.content=e}toDOM(e){let i=document.createElement("span");return i.className="cm-placeholder",i.style.pointerEvents="none",i.appendChild(typeof this.content=="string"?document.createTextNode(this.content):typeof this.content=="function"?this.content(e):this.content.cloneNode(!0)),i.setAttribute("aria-hidden","true"),i}coordsAt(e){let i=e.firstChild?cr(e.firstChild):[];if(!i.length)return null;let n=window.getComputedStyle(e.parentNode),r=$r(i[0],n.direction!="rtl"),s=parseInt(n.lineHeight);return r.bottom-r.top>s*1.5?{left:r.left,right:r.right,top:r.top,bottom:r.top+s}:r}ignoreEvent(){return!1}}function fw(t){let e=tt.fromClass(class{constructor(i){this.view=i,this.placeholder=t?me.set([me.widget({widget:new dw(t),side:1}).range(0)]):me.none}get decorations(){return this.view.state.doc.length?me.none:this.placeholder}},{decorations:i=>i.decorations});return typeof t=="string"?[e,Y.contentAttributes.of({"aria-placeholder":t})]:e}const bs="-10000px";class pw{constructor(e,i,n,r){this.facet=i,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(i),this.tooltips=this.input.filter(o=>o);let s=null;this.tooltipViews=this.tooltips.map(o=>s=n(o,s))}update(e,i){var n;let r=e.state.facet(this.facet),s=r.filter(a=>a);if(r===this.input){for(let a of this.tooltipViews)a.update&&a.update(e);return!1}let o=[],l=i?[]:null;for(let a=0;ai[u]=a),i.length=l.length),this.input=r,this.tooltips=s,this.tooltipViews=o,!0}}function mw(t){let e=t.dom.ownerDocument.documentElement;return{top:0,left:0,bottom:e.clientHeight,right:e.clientWidth}}const yl=G.define({combine:t=>{var e,i,n;return{position:N.ios?"absolute":((e=t.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((i=t.find(r=>r.parent))===null||i===void 0?void 0:i.parent)||null,tooltipSpace:((n=t.find(r=>r.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||mw}}}),ld=new WeakMap,Q0=tt.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(yl);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new pw(t,Bu,(i,n)=>this.createTooltip(i,n),i=>{this.resizeObserver&&this.resizeObserver.unobserve(i.dom),i.dom.remove()}),this.above=this.manager.tooltips.map(i=>!!i.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(i=>{Date.now()>this.lastTransaction-50&&i.length>0&&i[i.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let i=e||t.geometryChanged,n=t.state.facet(yl);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;i=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t,e){let i=t.create(this.view),n=e?e.dom:null;if(i.dom.classList.add("cm-tooltip"),t.arrow&&!i.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let r=document.createElement("div");r.className="cm-tooltip-arrow",i.dom.appendChild(r)}return i.dom.style.position=this.position,i.dom.style.top=bs,i.dom.style.left="0px",this.container.insertBefore(i.dom,n),i.mount&&i.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(i.dom),i}destroy(){var t,e,i;this.view.win.removeEventListener("resize",this.measureSoon);for(let n of this.manager.tooltipViews)n.dom.remove(),(t=n.destroy)===null||t===void 0||t.call(n);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(i=this.intersectionObserver)===null||i===void 0||i.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=1,e=1,i=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:s}=this.manager.tooltipViews[0];if(N.safari){let o=s.getBoundingClientRect();i=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}else i=!!s.offsetParent&&s.offsetParent!=this.container.ownerDocument.body}if(i||this.position=="absolute")if(this.parent){let s=this.parent.getBoundingClientRect();s.width&&s.height&&(t=s.width/this.parent.offsetWidth,e=s.height/this.parent.offsetHeight)}else({scaleX:t,scaleY:e}=this.view.viewState);let n=this.view.scrollDOM.getBoundingClientRect(),r=Zu(this.view);return{visible:{left:n.left+r.left,top:n.top+r.top,right:n.right-r.right,bottom:n.bottom-r.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((s,o)=>{let l=this.manager.tooltipViews[o];return l.getCoords?l.getCoords(s.pos):this.view.coordsAtPos(s.pos)}),size:this.manager.tooltipViews.map(({dom:s})=>s.getBoundingClientRect()),space:this.view.state.facet(yl).tooltipSpace(this.view),scaleX:t,scaleY:e,makeAbsolute:i}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let l of this.manager.tooltipViews)l.dom.style.position="absolute"}let{visible:i,space:n,scaleX:r,scaleY:s}=t,o=[];for(let l=0;l=Math.min(i.bottom,n.bottom)||h.rightMath.min(i.right,n.right)+.1)){c.style.top=bs;continue}let f=a.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,p=f?7:0,m=d.right-d.left,O=(e=ld.get(u))!==null&&e!==void 0?e:d.bottom-d.top,g=u.offset||gw,b=this.view.textDirection==Se.LTR,S=d.width>n.right-n.left?b?n.left:n.right-d.width:b?Math.max(n.left,Math.min(h.left-(f?14:0)+g.x,n.right-m)):Math.min(Math.max(n.left,h.left-m+(f?14:0)-g.x),n.right-m),y=this.above[l];!a.strictSide&&(y?h.top-O-p-g.yn.bottom)&&y==n.bottom-h.bottom>h.top-n.top&&(y=this.above[l]=!y);let x=(y?h.top-n.top:n.bottom-h.bottom)-p;if(xS&&_.topQ&&(Q=y?_.top-O-2-p:_.bottom+p+2);if(this.position=="absolute"?(c.style.top=(Q-t.parent.top)/s+"px",ad(c,(S-t.parent.left)/r)):(c.style.top=Q/s+"px",ad(c,S/r)),f){let _=h.left+(b?g.x:-g.x)-(S+14-7);f.style.left=_/r+"px"}u.overlap!==!0&&o.push({left:S,top:Q,right:T,bottom:Q+O}),c.classList.toggle("cm-tooltip-above",y),c.classList.toggle("cm-tooltip-below",!y),u.positioned&&u.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=bs}},{eventObservers:{scroll(){this.maybeMeasure()}}});function ad(t,e){let i=parseInt(t.style.left,10);(isNaN(i)||Math.abs(e-i)>1)&&(t.style.left=e+"px")}const Ow=Y.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),gw={x:0,y:0},Bu=G.define({enables:[Q0,Ow]});function $0(t,e){let i=t.plugin(Q0);if(!i)return null;let n=i.manager.tooltips.indexOf(e);return n<0?null:i.manager.tooltipViews[n]}const ud=G.define({combine(t){let e,i;for(let n of t)e=e||n.topContainer,i=i||n.bottomContainer;return{topContainer:e,bottomContainer:i}}});function T0(t,e){let i=t.plugin(_0),n=i?i.specs.indexOf(e):-1;return n>-1?i.panels[n]:null}const _0=tt.fromClass(class{constructor(t){this.input=t.state.facet(fo),this.specs=this.input.filter(i=>i),this.panels=this.specs.map(i=>i(t));let e=t.state.facet(ud);this.top=new xs(t,!0,e.topContainer),this.bottom=new xs(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(i=>i.top)),this.bottom.sync(this.panels.filter(i=>!i.top));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(ud);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new xs(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new xs(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(fo);if(i!=this.input){let n=i.filter(a=>a),r=[],s=[],o=[],l=[];for(let a of n){let u=this.specs.indexOf(a),c;u<0?(c=a(t.view),l.push(c)):(c=this.panels[u],c.update&&c.update(t)),r.push(c),(c.top?s:o).push(c)}this.specs=n,this.panels=r,this.top.sync(s),this.bottom.sync(o);for(let a of l)a.dom.classList.add("cm-panel"),a.mount&&a.mount()}else for(let n of this.panels)n.update&&n.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>Y.scrollMargins.of(e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}})});class xs{constructor(e,i,n){this.view=e,this.top=i,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let i of this.panels)i.destroy&&e.indexOf(i)<0&&i.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let i=this.container||this.view.dom;i.insertBefore(this.dom,this.top?i.firstChild:null)}let e=this.dom.firstChild;for(let i of this.panels)if(i.dom.parentNode==this.dom){for(;e!=i.dom;)e=cd(e);e=e.nextSibling}else this.dom.insertBefore(i.dom,e);for(;e;)e=cd(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function cd(t){let e=t.nextSibling;return t.remove(),e}const fo=G.define({enables:_0});function bw(t,e){let i,n=new Promise(o=>i=o),r=o=>xw(o,e,i);t.state.field(vl,!1)?t.dispatch({effects:P0.of(r)}):t.dispatch({effects:se.appendConfig.of(vl.init(()=>[r]))});let s=C0.of(r);return{close:s,result:n.then(o=>((t.win.queueMicrotask||(a=>t.win.setTimeout(a,10)))(()=>{t.state.field(vl).indexOf(r)>-1&&t.dispatch({effects:s})}),o))}}const vl=nt.define({create(){return[]},update(t,e){for(let i of e.effects)i.is(P0)?t=[i.value].concat(t):i.is(C0)&&(t=t.filter(n=>n!=i.value));return t},provide:t=>fo.computeN([t],e=>e.field(t))}),P0=se.define(),C0=se.define();function xw(t,e,i){let n=e.content?e.content(t,()=>o(null)):null;if(!n){if(n=Me("form"),e.input){let l=Me("input",e.input);/^(text|password|number|email|tel|url)$/.test(l.type)&&l.classList.add("cm-textfield"),l.name||(l.name="input"),n.appendChild(Me("label",(e.label||"")+": ",l))}else n.appendChild(document.createTextNode(e.label||""));n.appendChild(document.createTextNode(" ")),n.appendChild(Me("button",{class:"cm-button",type:"submit"},e.submitLabel||"OK"))}let r=n.nodeName=="FORM"?[n]:n.querySelectorAll("form");for(let l=0;l{u.keyCode==27?(u.preventDefault(),o(null)):u.keyCode==13&&(u.preventDefault(),o(a))}),a.addEventListener("submit",u=>{u.preventDefault(),o(a)})}let s=Me("div",n,Me("button",{onclick:()=>o(null),"aria-label":t.state.phrase("close"),class:"cm-dialog-close",type:"button"},["×"]));e.class&&(s.className=e.class),s.classList.add("cm-dialog");function o(l){s.contains(s.ownerDocument.activeElement)&&t.focus(),i(l)}return{dom:s,top:e.top,mount:()=>{if(e.focus){let l;typeof e.focus=="string"?l=n.querySelector(e.focus):l=n.querySelector("input")||n.querySelector("button"),l&&"select"in l?l.select():l&&"focus"in l&&l.focus()}}}}class qi extends vi{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}qi.prototype.elementClass="";qi.prototype.toDOM=void 0;qi.prototype.mapMode=We.TrackBefore;qi.prototype.startSide=qi.prototype.endSide=-1;qi.prototype.point=!0;const Sl=G.define(),kw=G.define(),qs=G.define(),hd=G.define({combine:t=>t.some(e=>e)});function yw(t){return[vw]}const vw=tt.fromClass(class{constructor(t){this.view=t,this.domAfter=null,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters cm-gutters-before",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet(qs).map(e=>new fd(t,e)),this.fixed=!t.state.facet(hd);for(let e of this.gutters)e.config.side=="after"?this.getDOMAfter().appendChild(e.dom):this.dom.appendChild(e.dom);this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}getDOMAfter(){return this.domAfter||(this.domAfter=document.createElement("div"),this.domAfter.className="cm-gutters cm-gutters-after",this.domAfter.setAttribute("aria-hidden","true"),this.domAfter.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.domAfter.style.position=this.fixed?"sticky":"",this.view.scrollDOM.appendChild(this.domAfter)),this.domAfter}update(t){if(this.updateGutters(t)){let e=this.prevViewport,i=t.view.viewport,n=Math.min(e.to,i.to)-Math.max(e.from,i.from);this.syncGutters(n<(i.to-i.from)*.8)}if(t.geometryChanged){let e=this.view.contentHeight/this.view.scaleY+"px";this.dom.style.minHeight=e,this.domAfter&&(this.domAfter.style.minHeight=e)}this.view.state.facet(hd)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":"",this.domAfter&&(this.domAfter.style.position=this.fixed?"sticky":"")),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&(this.dom.remove(),this.domAfter&&this.domAfter.remove());let i=de.iter(this.view.state.facet(Sl),this.view.viewport.from),n=[],r=this.gutters.map(s=>new Sw(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks)if(n.length&&(n=[]),Array.isArray(s.type)){let o=!0;for(let l of s.type)if(l.type==Fe.Text&&o){Ya(i,n,l.from);for(let a of r)a.line(this.view,l,n);o=!1}else if(l.widget)for(let a of r)a.widget(this.view,l)}else if(s.type==Fe.Text){Ya(i,n,s.from);for(let o of r)o.line(this.view,s,n)}else if(s.widget)for(let o of r)o.widget(this.view,s);for(let s of r)s.finish();t&&(this.view.scrollDOM.insertBefore(this.dom,e),this.domAfter&&this.view.scrollDOM.appendChild(this.domAfter))}updateGutters(t){let e=t.startState.facet(qs),i=t.state.facet(qs),n=t.docChanged||t.heightChanged||t.viewportChanged||!de.eq(t.startState.facet(Sl),t.state.facet(Sl),t.view.viewport.from,t.view.viewport.to);if(e==i)for(let r of this.gutters)r.update(t)&&(n=!0);else{n=!0;let r=[];for(let s of i){let o=e.indexOf(s);o<0?r.push(new fd(this.view,s)):(this.gutters[o].update(t),r.push(this.gutters[o]))}for(let s of this.gutters)s.dom.remove(),r.indexOf(s)<0&&s.destroy();for(let s of r)s.config.side=="after"?this.getDOMAfter().appendChild(s.dom):this.dom.appendChild(s.dom);this.gutters=r}return n}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove(),this.domAfter&&this.domAfter.remove()}},{provide:t=>Y.scrollMargins.of(e=>{let i=e.plugin(t);if(!i||i.gutters.length==0||!i.fixed)return null;let n=i.dom.offsetWidth*e.scaleX,r=i.domAfter?i.domAfter.offsetWidth*e.scaleX:0;return e.textDirection==Se.LTR?{left:n,right:r}:{right:n,left:r}})});function dd(t){return Array.isArray(t)?t:[t]}function Ya(t,e,i){for(;t.value&&t.from<=i;)t.from==i&&e.push(t.value),t.next()}class Sw{constructor(e,i,n){this.gutter=e,this.height=n,this.i=0,this.cursor=de.iter(e.markers,i.from)}addElement(e,i,n){let{gutter:r}=this,s=(i.top-this.height)/e.scaleY,o=i.height/e.scaleY;if(this.i==r.elements.length){let l=new A0(e,o,s,n);r.elements.push(l),r.dom.appendChild(l.dom)}else r.elements[this.i].update(e,o,s,n);this.height=i.bottom,this.i++}line(e,i,n){let r=[];Ya(this.cursor,r,i.from),n.length&&(r=r.concat(n));let s=this.gutter.config.lineMarker(e,i,r);s&&r.unshift(s);let o=this.gutter;r.length==0&&!o.config.renderEmptyElements||this.addElement(e,i,r)}widget(e,i){let n=this.gutter.config.widgetMarker(e,i.widget,i),r=n?[n]:null;for(let s of e.state.facet(kw)){let o=s(e,i.widget,i);o&&(r||(r=[])).push(o)}r&&this.addElement(e,i,r)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let i=e.elements.pop();e.dom.removeChild(i.dom),i.destroy()}}}class fd{constructor(e,i){this.view=e,this.config=i,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in i.domEventHandlers)this.dom.addEventListener(n,r=>{let s=r.target,o;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let a=s.getBoundingClientRect();o=(a.top+a.bottom)/2}else o=r.clientY;let l=e.lineBlockAtHeight(o-e.documentTop);i.domEventHandlers[n](e,l,r)&&r.preventDefault()});this.markers=dd(i.markers(e)),i.initialSpacer&&(this.spacer=new A0(e,0,0,[i.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let i=this.markers;if(this.markers=dd(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let r=this.config.updateSpacer(this.spacer.markers[0],e);r!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[r])}let n=e.view.viewport;return!de.eq(this.markers,i,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class A0{constructor(e,i,n,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,i,n,r)}update(e,i,n,r){this.height!=i&&(this.height=i,this.dom.style.height=i+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),ww(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,i){let n="cm-gutterElement",r=this.dom.firstChild;for(let s=0,o=0;;){let l=o,a=ss(l,a,u)||o(l,a,u):o}return n}})}});class wl extends qi{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Ql(t,e){return t.state.facet(tn).formatNumber(e,t.state)}const Tw=qs.compute([tn],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(Qw)},lineMarker(e,i,n){return n.some(r=>r.toDOM)?null:new wl(Ql(e,e.state.doc.lineAt(i.from).number))},widgetMarker:(e,i,n)=>{for(let r of e.state.facet($w)){let s=r(e,i,n);if(s)return s}return null},lineMarkerChange:e=>e.startState.facet(tn)!=e.state.facet(tn),initialSpacer(e){return new wl(Ql(e,pd(e.state.doc.lines)))},updateSpacer(e,i){let n=Ql(i.view,pd(i.view.state.doc.lines));return n==e.number?e:new wl(n)},domEventHandlers:t.facet(tn).domEventHandlers,side:"before"}));function _w(t={}){return[tn.of(t),yw(),Tw]}function pd(t){let e=9;for(;e{throw new Error("This node type doesn't define a deserialize function")}),this.combine=e.combine||null}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Ee.match(e)),i=>{let n=e(i);return n===void 0?null:[this,n]}}}ie.closedBy=new ie({deserialize:t=>t.split(" ")});ie.openedBy=new ie({deserialize:t=>t.split(" ")});ie.group=new ie({deserialize:t=>t.split(" ")});ie.isolate=new ie({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});ie.contextHash=new ie({perNode:!0});ie.lookAhead=new ie({perNode:!0});ie.mounted=new ie({perNode:!0});class cn{constructor(e,i,n,r=!1){this.tree=e,this.overlay=i,this.parser=n,this.bracketed=r}static get(e){return e&&e.props&&e.props[ie.mounted.id]}}const Cw=Object.create(null);class Ee{constructor(e,i,n,r=0){this.name=e,this.props=i,this.id=n,this.flags=r}static define(e){let i=e.props&&e.props.length?Object.create(null):Cw,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new Ee(e.name||"",i,e.id,n);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");i[s[0].id]=s[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let i=this.prop(ie.group);return i?i.indexOf(e)>-1:!1}return this.id==e}static match(e){let i=Object.create(null);for(let n in e)for(let r of n.split(" "))i[r]=e[n];return n=>{for(let r=n.prop(ie.group),s=-1;s<(r?r.length:0);s++){let o=i[s<0?n.name:r[s]];if(o)return o}}}}Ee.none=new Ee("",Object.create(null),0,8);class En{constructor(e){this.types=e;for(let i=0;i0;for(let a=this.cursor(o|pe.IncludeAnonymous);;){let u=!1;if(a.from<=s&&a.to>=r&&(!l&&a.type.isAnonymous||i(a)!==!1)){if(a.firstChild())continue;u=!0}for(;u&&n&&(l||!a.type.isAnonymous)&&n(a),!a.nextSibling();){if(!a.parent())return;u=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let i in this.props)e.push([+i,this.props[i]]);return e}balance(e={}){return this.children.length<=8?this:ju(Ee.none,this.children,this.positions,0,this.children.length,0,this.length,(i,n,r)=>new oe(this.type,i,n,r,this.propValues),e.makeTree||((i,n,r)=>new oe(Ee.none,i,n,r)))}static build(e){return Dw(e)}}oe.empty=new oe(Ee.none,[],[],0);class Vu{constructor(e,i){this.buffer=e,this.index=i}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new Vu(this.buffer,this.index)}}class Qi{constructor(e,i,n){this.buffer=e,this.length=i,this.set=n}get type(){return Ee.none}toString(){let e=[];for(let i=0;i0));a=o[a+3]);return l}slice(e,i,n){let r=this.buffer,s=new Uint16Array(i-e),o=0;for(let l=e,a=0;l=e&&ie;case 1:return i<=e&&n>e;case 2:return n>e;case 4:return!0}}function _r(t,e,i,n){for(var r;t.from==t.to||(i<1?t.from>=e:t.from>e)||(i>-1?t.to<=e:t.to0?l.length:-1;e!=u;e+=i){let c=l[e],h=a[e]+o.from,d;if(!(!(s&pe.EnterBracketed&&c instanceof oe&&(d=cn.get(c))&&!d.overlay&&d.bracketed&&n>=h&&n<=h+c.length)&&!L0(r,n,h,h+c.length))){if(c instanceof Qi){if(s&pe.ExcludeBuffers)continue;let f=c.findChild(0,c.buffer.length,i,n-h,r);if(f>-1)return new qt(new Aw(o,c,e,h),null,f)}else if(s&pe.IncludeAnonymous||!c.type.isAnonymous||qu(c)){let f;if(!(s&pe.IgnoreMounts)&&(f=cn.get(c))&&!f.overlay)return new Ve(f.tree,h,e,o);let p=new Ve(c,h,e,o);return s&pe.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(i<0?c.children.length-1:0,i,n,r,s)}}}if(s&pe.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+i:e=i<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}prop(e){return this._tree.prop(e)}enter(e,i,n=0){let r;if(!(n&pe.IgnoreOverlays)&&(r=cn.get(this._tree))&&r.overlay){let s=e-this.from,o=n&pe.EnterBracketed&&r.bracketed;for(let{from:l,to:a}of r.overlay)if((i>0||o?l<=s:l=s:a>s))return new Ve(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,i,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function Od(t,e,i,n){let r=t.cursor(),s=[];if(!r.firstChild())return s;if(i!=null){for(let o=!1;!o;)if(o=r.type.is(i),!r.nextSibling())return s}for(;;){if(n!=null&&r.type.is(n))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return n==null?s:[]}}function Ga(t,e,i=e.length-1){for(let n=t;i>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[i]&&e[i]!=n.name)return!1;i--}}return!0}class Aw{constructor(e,i,n,r){this.parent=e,this.buffer=i,this.index=n,this.start=r}}class qt extends D0{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,i,n){super(),this.context=e,this._parent=i,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,i,n){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.context.start,n);return s<0?null:new qt(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}prop(e){return this.type.prop(e)}enter(e,i,n=0){if(n&pe.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],i>0?1:-1,e-this.context.start,i);return s<0?null:new qt(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,i=e.buffer[this.index+3];return i<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new qt(this.context,this._parent,i):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,i=this._parent?this._parent.index+4:0;return this.index==i?this.externalSibling(-1):new qt(this.context,this._parent,e.findChild(i,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],i=[],{buffer:n}=this.context,r=this.index+4,s=n.buffer[this.index+3];if(s>r){let o=n.buffer[this.index+1];e.push(n.slice(r,s,o)),i.push(0)}return new oe(this.type,e,i,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function M0(t){if(!t.length)return null;let e=0,i=t[0];for(let s=1;si.from||o.to=e){let l=new Ve(o.tree,o.overlay[0].from+s.from,-1,s);(r||(r=[n])).push(_r(l,e,i,!1))}}return r?M0(r):n}class po{get name(){return this.type.name}constructor(e,i=0){if(this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,this.mode=i&~pe.EnterBracketed,e instanceof Ve)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,i){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=i||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return e?e instanceof Ve?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,i,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,i,n,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,i,n=this.mode){return this.buffer?n&pe.ExcludeBuffers?!1:this.enterChild(1,e,i):this.yield(this._tree.enter(e,i,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&pe.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&pe.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:i}=this.buffer,n=this.stack.length-1;if(e<0){let r=n<0?0:this.stack[n]+4;if(this.index!=r)return this.yieldBuf(i.findChild(r,this.index,-1,0,4))}else{let r=i.buffer[this.index+3];if(r<(n<0?i.buffer.length:i.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let i,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=i+e,o=e<0?-1:n._tree.children.length;s!=o;s+=e){let l=n._tree.children[s];if(this.mode&pe.IncludeAnonymous||l instanceof Qi||!l.type.isAnonymous||qu(l))return!1}return!0}move(e,i){if(i&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,i=0){for(;(this.from==this.to||(i<1?this.from>=e:this.from>e)||(i>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;i=o,n=s+1;break e}r=this.stack[--s]}for(let r=n;r=0;s--){if(s<0)return Ga(this._tree,e,r);let o=n[i.buffer[this.stack[s]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function qu(t){return t.children.some(e=>e instanceof Qi||!e.type.isAnonymous||qu(e))}function Dw(t){var e;let{buffer:i,nodeSet:n,maxBufferLength:r=E0,reused:s=[],minRepeatType:o=n.types.length}=t,l=Array.isArray(i)?new Vu(i,i.length):i,a=n.types,u=0,c=0;function h(x,Q,T,_,C,F){let{id:B,start:E,end:Z,size:q}=l,j=c,D=u;if(q<0)if(l.next(),q==-1){let re=s[B];T.push(re),_.push(E-x);return}else if(q==-3){u=B;return}else if(q==-4){c=B;return}else throw new RangeError(`Unrecognized record size: ${q}`);let X=a[B],I,z,H=E-x;if(Z-E<=r&&(z=O(l.pos-Q,C))){let re=new Uint16Array(z.size-z.skip),ne=l.pos-z.size,Oe=re.length;for(;l.pos>ne;)Oe=g(z.start,re,Oe);I=new Qi(re,Z-z.start,n),H=z.start-x}else{let re=l.pos-q;l.next();let ne=[],Oe=[],ge=B>=o?B:-1,be=0,Ge=Z;for(;l.pos>re;)ge>=0&&l.id==ge&&l.size>=0?(l.end<=Ge-r&&(p(ne,Oe,E,be,l.end,Ge,ge,j,D),be=ne.length,Ge=l.end),l.next()):F>2500?d(E,re,ne,Oe):h(E,re,ne,Oe,ge,F+1);if(ge>=0&&be>0&&be-1&&be>0){let Ti=f(X,D);I=ju(X,ne,Oe,0,ne.length,0,Z-E,Ti,Ti)}else I=m(X,ne,Oe,Z-E,j-Z,D)}T.push(I),_.push(H)}function d(x,Q,T,_){let C=[],F=0,B=-1;for(;l.pos>Q;){let{id:E,start:Z,end:q,size:j}=l;if(j>4)l.next();else{if(B>-1&&Z=0;q-=3)E[j++]=C[q],E[j++]=C[q+1]-Z,E[j++]=C[q+2]-Z,E[j++]=j;T.push(new Qi(E,C[2]-Z,n)),_.push(Z-x)}}function f(x,Q){return(T,_,C)=>{let F=0,B=T.length-1,E,Z;if(B>=0&&(E=T[B])instanceof oe){if(!B&&E.type==x&&E.length==C)return E;(Z=E.prop(ie.lookAhead))&&(F=_[B]+E.length+Z)}return m(x,T,_,C,F,Q)}}function p(x,Q,T,_,C,F,B,E,Z){let q=[],j=[];for(;x.length>_;)q.push(x.pop()),j.push(Q.pop()+T-C);x.push(m(n.types[B],q,j,F-C,E-F,Z)),Q.push(C-T)}function m(x,Q,T,_,C,F,B){if(F){let E=[ie.contextHash,F];B=B?[E].concat(B):[E]}if(C>25){let E=[ie.lookAhead,C];B=B?[E].concat(B):[E]}return new oe(x,Q,T,_,B)}function O(x,Q){let T=l.fork(),_=0,C=0,F=0,B=T.end-r,E={size:0,start:0,skip:0};e:for(let Z=T.pos-x;T.pos>Z;){let q=T.size;if(T.id==Q&&q>=0){E.size=_,E.start=C,E.skip=F,F+=4,_+=4,T.next();continue}let j=T.pos-q;if(q<0||j=o?4:0,X=T.start;for(T.next();T.pos>j;){if(T.size<0)if(T.size==-3||T.size==-4)D+=4;else break e;else T.id>=o&&(D+=4);T.next()}C=X,_+=q,F+=D}return(Q<0||_==x)&&(E.size=_,E.start=C,E.skip=F),E.size>4?E:void 0}function g(x,Q,T){let{id:_,start:C,end:F,size:B}=l;if(l.next(),B>=0&&_4){let Z=l.pos-(B-4);for(;l.pos>Z;)T=g(x,Q,T)}Q[--T]=E,Q[--T]=F-x,Q[--T]=C-x,Q[--T]=_}else B==-3?u=_:B==-4&&(c=_);return T}let b=[],S=[];for(;l.pos>0;)h(t.start||0,t.bufferStart||0,b,S,-1,0);let y=(e=t.length)!==null&&e!==void 0?e:b.length?S[0]+b[0].length:0;return new oe(a[t.topID],b.reverse(),S.reverse(),y)}const gd=new WeakMap;function js(t,e){if(!t.isAnonymous||e instanceof Qi||e.type!=t)return 1;let i=gd.get(e);if(i==null){i=1;for(let n of e.children){if(n.type!=t||!(n instanceof oe)){i=1;break}i+=js(t,n)}gd.set(e,i)}return i}function ju(t,e,i,n,r,s,o,l,a){let u=0;for(let p=n;p=c)break;Q+=T}if(S==y+1){if(Q>c){let T=p[y];f(T.children,T.positions,0,T.children.length,m[y]+b);continue}h.push(p[y])}else{let T=m[S-1]+p[S-1].length-x;h.push(ju(t,p,m,y,S,x,T,null,a))}d.push(x+b-s)}}return f(e,i,n,r,0),(l||a)(h,d,o)}class R0{constructor(){this.map=new WeakMap}setBuffer(e,i,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(i,n)}getBuffer(e,i){let n=this.map.get(e);return n&&n.get(i)}set(e,i){e instanceof qt?this.setBuffer(e.context.buffer,e.index,i):e instanceof Ve&&this.map.set(e.tree,i)}get(e){return e instanceof qt?this.getBuffer(e.context.buffer,e.index):e instanceof Ve?this.map.get(e.tree):void 0}cursorSet(e,i){e.buffer?this.setBuffer(e.buffer.buffer,e.index,i):this.map.set(e.tree,i)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class ei{constructor(e,i,n,r,s=!1,o=!1){this.from=e,this.to=i,this.tree=n,this.offset=r,this.open=(s?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,i=[],n=!1){let r=[new ei(0,e.length,e,0,!1,n)];for(let s of i)s.to>e.length&&r.push(s);return r}static applyChanges(e,i,n=128){if(!i.length)return e;let r=[],s=1,o=e.length?e[0]:null;for(let l=0,a=0,u=0;;l++){let c=l=n)for(;o&&o.from=d.from||h<=d.to||u){let f=Math.max(d.from,a)-u,p=Math.min(d.to,h)-u;d=f>=p?null:new ei(f,p,d.tree,d.offset+u,l>0,!!c)}if(d&&r.push(d),o.to>h)break;o=snew bt(r.from,r.to)):[new bt(0,0)]:[new bt(0,e.length)],this.createParse(e,i||[],n)}parse(e,i,n){let r=this.startParse(e,i,n);for(;;){let s=r.advance();if(s)return s}}}class Mw{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,i){return this.string.slice(e,i)}}function I0(t){return(e,i,n,r)=>new Iw(e,t,i,n,r)}class bd{constructor(e,i,n,r,s,o){this.parser=e,this.parse=i,this.overlay=n,this.bracketed=r,this.target=s,this.from=o}}function xd(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}class Rw{constructor(e,i,n,r,s,o,l,a){this.parser=e,this.predicate=i,this.mounts=n,this.index=r,this.start=s,this.bracketed=o,this.target=l,this.prev=a,this.depth=0,this.ranges=[]}}const Ua=new ie({perNode:!0});class Iw{constructor(e,i,n,r,s){this.nest=i,this.input=n,this.fragments=r,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let r of this.inner)r.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new oe(n.type,n.children,n.positions,n.length,n.propValues.concat([[Ua,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],i=e.parse.advance();if(i){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[ie.mounted.id]=new cn(i,e.overlay,e.parser,e.bracketed),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let i=this.innerDone;i=this.stoppedAt)l=!1;else if(e.hasNode(r)){if(i){let u=i.mounts.find(c=>c.frag.from<=r.from&&c.frag.to>=r.to&&c.mount.overlay);if(u)for(let c of u.mount.overlay){let h=c.from+u.pos,d=c.to+u.pos;h>=r.from&&d<=r.to&&!i.ranges.some(f=>f.fromh)&&i.ranges.push({from:h,to:d})}}l=!1}else if(n&&(o=Zw(n.ranges,r.from,r.to)))l=o!=2;else if(!r.type.isAnonymous&&(s=this.nest(r,this.input))&&(r.fromnew bt(h.from-r.from,h.to-r.from)):null,!!s.bracketed,r.tree,c.length?c[0].from:r.from)),s.overlay?c.length&&(n={ranges:c,depth:0,prev:n}):l=!1}}else if(i&&(a=i.predicate(r))&&(a===!0&&(a=new bt(r.from,r.to)),a.from=0&&i.ranges[u].to==a.from?i.ranges[u]={from:i.ranges[u].from,to:a.to}:i.ranges.push(a)}if(l&&r.firstChild())i&&i.depth++,n&&n.depth++;else for(;!r.nextSibling();){if(!r.parent())break e;if(i&&!--i.depth){let u=vd(this.ranges,i.ranges);u.length&&(xd(u),this.inner.splice(i.index,0,new bd(i.parser,i.parser.startParse(this.input,Sd(i.mounts,u),u),i.ranges.map(c=>new bt(c.from-i.start,c.to-i.start)),i.bracketed,i.target,u[0].from))),i=i.prev}n&&!--n.depth&&(n=n.prev)}}}}function Zw(t,e,i){for(let n of t){if(n.from>=i)break;if(n.to>e)return n.from<=e&&n.to>=i?2:1}return 0}function kd(t,e,i,n,r,s){if(e=e&&i.enter(n,1,pe.IgnoreOverlays|pe.ExcludeBuffers)||i.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let i=this.cursor.tree;;){if(i==e.tree)return!0;if(i.children.length&&i.positions[0]==0&&i.children[0]instanceof oe)i=i.children[0];else break}return!1}}let Xw=class{constructor(e){var i;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(i=n.tree.prop(Ua))!==null&&i!==void 0?i:n.to,this.inner=new yd(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let i=this.curFrag=this.fragments[this.fragI];this.curTo=(e=i.tree.prop(Ua))!==null&&e!==void 0?e:i.to,this.inner=new yd(i.tree,-i.offset)}}findMounts(e,i){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let o=(n=s.tree)===null||n===void 0?void 0:n.prop(ie.mounted);if(o&&o.parser==i)for(let l=this.fragI;l=s.to)break;a.tree==this.curFrag.tree&&r.push({frag:a,pos:s.from-a.offset,mount:o})}}}return r}};function vd(t,e){let i=null,n=e;for(let r=1,s=0;r=l)break;a.to<=o||(i||(n=i=e.slice()),a.froml&&i.splice(s+1,0,new bt(l,a.to))):a.to>l?i[s--]=new bt(l,a.to):i.splice(s--,1))}}return n}function Fw(t,e,i,n){let r=0,s=0,o=!1,l=!1,a=-1e9,u=[];for(;;){let c=r==t.length?1e9:o?t[r].to:t[r].from,h=s==e.length?1e9:l?e[s].to:e[s].from;if(o!=l){let d=Math.max(a,i),f=Math.min(c,h,n);dnew bt(d.from+n,d.to+n)),h=Fw(e,c,a,u);for(let d=0,f=a;;d++){let p=d==h.length,m=p?u:h[d].from;if(m>f&&i.push(new ei(f,m,r.tree,-o,s.from>=f||s.openStart,s.to<=m||s.openEnd)),p)break;f=h[d].to}}else i.push(new ei(a,u,r.tree,-o,s.from>=o||s.openStart,s.to<=l||s.openEnd))}return i}let Bw=0;class ct{constructor(e,i,n,r){this.name=e,this.set=i,this.base=n,this.modified=r,this.id=Bw++}toString(){let{name:e}=this;for(let i of this.modified)i.name&&(e=`${i.name}(${e})`);return e}static define(e,i){let n=typeof e=="string"?e:"?";if(e instanceof ct&&(i=e),i?.base)throw new Error("Can not derive from a modified tag");let r=new ct(n,[],null,[]);if(r.set.push(r),i)for(let s of i.set)r.set.push(s);return r}static defineModifier(e){let i=new mo(e);return n=>n.modified.indexOf(i)>-1?n:mo.get(n.base||n,n.modified.concat(i).sort((r,s)=>r.id-s.id))}}let Vw=0;class mo{constructor(e){this.name=e,this.instances=[],this.id=Vw++}static get(e,i){if(!i.length)return e;let n=i[0].instances.find(l=>l.base==e&&qw(i,l.modified));if(n)return n;let r=[],s=new ct(e.name,r,e,i);for(let l of i)l.instances.push(s);let o=jw(i);for(let l of e.set)if(!l.modified.length)for(let a of o)r.push(mo.get(l,a));return s}}function qw(t,e){return t.length==e.length&&t.every((i,n)=>i==e[n])}function jw(t){let e=[[]];for(let i=0;in.length-i.length)}function Ln(t){let e=Object.create(null);for(let i in t){let n=t[i];Array.isArray(n)||(n=[n]);for(let r of i.split(" "))if(r){let s=[],o=2,l=r;for(let h=0;;){if(l=="..."&&h>0&&h+3==r.length){o=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!d)throw new RangeError("Invalid path: "+r);if(s.push(d[0]=="*"?"":d[0][0]=='"'?JSON.parse(d[0]):d[0]),h+=d[0].length,h==r.length)break;let f=r[h++];if(h==r.length&&f=="!"){o=0;break}if(f!="/")throw new RangeError("Invalid path: "+r);l=r.slice(h)}let a=s.length-1,u=s[a];if(!u)throw new RangeError("Invalid path: "+r);let c=new Pr(n,o,a>0?s.slice(0,a):null);e[u]=c.sort(e[u])}}return Z0.add(e)}const Z0=new ie({combine(t,e){let i,n,r;for(;t||e;){if(!t||e&&t.depth>=e.depth?(r=e,e=e.next):(r=t,t=t.next),i&&i.mode==r.mode&&!r.context&&!i.context)continue;let s=new Pr(r.tags,r.mode,r.context);i?i.next=s:n=s,i=s}return n}});class Pr{constructor(e,i,n,r){this.tags=e,this.mode=i,this.context=n,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=r;for(let l of s)for(let a of l.set){let u=i[a.id];if(u){o=o?o+" "+u:u;break}}return o},scope:n}}function Ww(t,e){let i=null;for(let n of t){let r=n.style(e);r&&(i=i?i+" "+r:r)}return i}function Nw(t,e,i,n=0,r=t.length){let s=new Yw(n,Array.isArray(e)?e:[e],i);s.highlightRange(t.cursor(),n,r,"",s.highlighters),s.flush(r)}class Yw{constructor(e,i,n){this.at=e,this.highlighters=i,this.span=n,this.class=""}startSpan(e,i){i!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=i)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,i,n,r,s){let{type:o,from:l,to:a}=e;if(l>=n||a<=i)return;o.isTop&&(s=this.highlighters.filter(f=>!f.scope||f.scope(o)));let u=r,c=Gw(e)||Pr.empty,h=Ww(s,c.tags);if(h&&(u&&(u+=" "),u+=h,c.mode==1&&(r+=(r?" ":"")+h)),this.startSpan(Math.max(i,l),u),c.opaque)return;let d=e.tree&&e.tree.prop(ie.mounted);if(d&&d.overlay){let f=e.node.enter(d.overlay[0].from+l,1),p=this.highlighters.filter(O=>!O.scope||O.scope(d.tree.type)),m=e.firstChild();for(let O=0,g=l;;O++){let b=O=S||!e.nextSibling())););if(!b||S>n)break;g=b.to+l,g>i&&(this.highlightRange(f.cursor(),Math.max(i,b.from+l),Math.min(n,g),"",p),this.startSpan(Math.min(n,g),u))}m&&e.parent()}else if(e.firstChild()){d&&(r="");do if(!(e.to<=i)){if(e.from>=n)break;this.highlightRange(e,i,n,r,s),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}function Gw(t){let e=t.type.prop(Z0);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}const W=ct.define,ys=W(),di=W(),wd=W(di),Qd=W(di),fi=W(),vs=W(fi),$l=W(fi),Rt=W(),_i=W(Rt),Dt=W(),Mt=W(),Ha=W(),Vn=W(Ha),Ss=W(),v={comment:ys,lineComment:W(ys),blockComment:W(ys),docComment:W(ys),name:di,variableName:W(di),typeName:wd,tagName:W(wd),propertyName:Qd,attributeName:W(Qd),className:W(di),labelName:W(di),namespace:W(di),macroName:W(di),literal:fi,string:vs,docString:W(vs),character:W(vs),attributeValue:W(vs),number:$l,integer:W($l),float:W($l),bool:W(fi),regexp:W(fi),escape:W(fi),color:W(fi),url:W(fi),keyword:Dt,self:W(Dt),null:W(Dt),atom:W(Dt),unit:W(Dt),modifier:W(Dt),operatorKeyword:W(Dt),controlKeyword:W(Dt),definitionKeyword:W(Dt),moduleKeyword:W(Dt),operator:Mt,derefOperator:W(Mt),arithmeticOperator:W(Mt),logicOperator:W(Mt),bitwiseOperator:W(Mt),compareOperator:W(Mt),updateOperator:W(Mt),definitionOperator:W(Mt),typeOperator:W(Mt),controlOperator:W(Mt),punctuation:Ha,separator:W(Ha),bracket:Vn,angleBracket:W(Vn),squareBracket:W(Vn),paren:W(Vn),brace:W(Vn),content:Rt,heading:_i,heading1:W(_i),heading2:W(_i),heading3:W(_i),heading4:W(_i),heading5:W(_i),heading6:W(_i),contentSeparator:W(Rt),list:W(Rt),quote:W(Rt),emphasis:W(Rt),strong:W(Rt),link:W(Rt),monospace:W(Rt),strikethrough:W(Rt),inserted:W(),deleted:W(),changed:W(),invalid:W(),meta:Ss,documentMeta:W(Ss),annotation:W(Ss),processingInstruction:W(Ss),definition:ct.defineModifier("definition"),constant:ct.defineModifier("constant"),function:ct.defineModifier("function"),standard:ct.defineModifier("standard"),local:ct.defineModifier("local"),special:ct.defineModifier("special")};for(let t in v){let e=v[t];e instanceof ct&&(e.name=t)}z0([{tag:v.link,class:"tok-link"},{tag:v.heading,class:"tok-heading"},{tag:v.emphasis,class:"tok-emphasis"},{tag:v.strong,class:"tok-strong"},{tag:v.keyword,class:"tok-keyword"},{tag:v.atom,class:"tok-atom"},{tag:v.bool,class:"tok-bool"},{tag:v.url,class:"tok-url"},{tag:v.labelName,class:"tok-labelName"},{tag:v.inserted,class:"tok-inserted"},{tag:v.deleted,class:"tok-deleted"},{tag:v.literal,class:"tok-literal"},{tag:v.string,class:"tok-string"},{tag:v.number,class:"tok-number"},{tag:[v.regexp,v.escape,v.special(v.string)],class:"tok-string2"},{tag:v.variableName,class:"tok-variableName"},{tag:v.local(v.variableName),class:"tok-variableName tok-local"},{tag:v.definition(v.variableName),class:"tok-variableName tok-definition"},{tag:v.special(v.variableName),class:"tok-variableName2"},{tag:v.definition(v.propertyName),class:"tok-propertyName tok-definition"},{tag:v.typeName,class:"tok-typeName"},{tag:v.namespace,class:"tok-namespace"},{tag:v.className,class:"tok-className"},{tag:v.macroName,class:"tok-macroName"},{tag:v.propertyName,class:"tok-propertyName"},{tag:v.operator,class:"tok-operator"},{tag:v.comment,class:"tok-comment"},{tag:v.meta,class:"tok-meta"},{tag:v.invalid,class:"tok-invalid"},{tag:v.punctuation,class:"tok-punctuation"}]);var Tl;const bi=new ie;function No(t){return G.define({combine:t?e=>e.concat(t):void 0})}const Wu=new ie;class pt{constructor(e,i,n=[],r=""){this.data=e,this.name=r,ue.prototype.hasOwnProperty("tree")||Object.defineProperty(ue.prototype,"tree",{get(){return Te(this)}}),this.parser=i,this.extension=[wn.of(this),ue.languageData.of((s,o,l)=>{let a=$d(s,o,l),u=a.type.prop(bi);if(!u)return[];let c=s.facet(u),h=a.type.prop(Wu);if(h){let d=a.resolve(o-a.from,l);for(let f of h)if(f.test(d,s)){let p=s.facet(f.facet);return f.type=="replace"?p:p.concat(c)}}return c})].concat(n)}isActiveAt(e,i,n=-1){return $d(e,i,n).type.prop(bi)==this.data}findRegions(e){let i=e.facet(wn);if(i?.data==this.data)return[{from:0,to:e.doc.length}];if(!i||!i.allowsNesting)return[];let n=[],r=(s,o)=>{if(s.prop(bi)==this.data){n.push({from:o,to:o+s.length});return}let l=s.prop(ie.mounted);if(l){if(l.tree.prop(bi)==this.data){if(l.overlay)for(let a of l.overlay)n.push({from:a.from+o,to:a.to+o});else n.push({from:o,to:o+s.length});return}else if(l.overlay){let a=n.length;if(r(l.tree,l.overlay[0].from+o),n.length>a)return}}for(let a=0;an.isTop?i:void 0)]}),e.name)}configure(e,i){return new vn(this.data,this.parser.configure(e),i||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Te(t){let e=t.field(pt.state,!1);return e?e.tree:oe.empty}class Uw{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,i){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,i):this.string.slice(e-n,i-n)}}let qn=null;class ji{constructor(e,i,n=[],r,s,o,l,a){this.parser=e,this.state=i,this.fragments=n,this.tree=r,this.treeLen=s,this.viewport=o,this.skipped=l,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,i,n){return new ji(e,i,[],oe.empty,0,n,[],null)}startParse(){return this.parser.startParse(new Uw(this.state.doc),this.fragments)}work(e,i){return i!=null&&i>=this.state.doc.length&&(i=void 0),this.tree!=oe.empty&&this.isDone(i??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),i!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>i)&&i=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(i=this.parse.advance()););}),this.treeLen=e,this.tree=i,this.fragments=this.withoutTempSkipped(ei.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let i=qn;qn=this;try{return e()}finally{qn=i}}withoutTempSkipped(e){for(let i;i=this.tempSkipped.pop();)e=Td(e,i.from,i.to);return e}changes(e,i){let{fragments:n,tree:r,treeLen:s,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((u,c,h,d)=>a.push({fromA:u,toA:c,fromB:h,toB:d})),n=ei.applyChanges(n,a),r=oe.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){l=[];for(let u of this.skipped){let c=e.mapPos(u.from,1),h=e.mapPos(u.to,-1);ce.from&&(this.fragments=Td(this.fragments,r,s),this.skipped.splice(n--,1))}return this.skipped.length>=i?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,i){this.skipped.push({from:e,to:i})}static getSkippingParser(e){return new class extends Wo{createParse(i,n,r){let s=r[0].from,o=r[r.length-1].to;return{parsedPos:s,advance(){let a=qn;if(a){for(let u of r)a.tempSkipped.push(u);e&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,e]):e)}return this.parsedPos=o,new oe(Ee.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let i=this.fragments;return this.treeLen>=e&&i.length&&i[0].from==0&&i[0].to>=e}static get(){return qn}}function Td(t,e,i){return ei.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}class Sn{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let i=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),i.viewport.to);return i.work(20,n)||i.takeTree(),new Sn(i)}static init(e){let i=Math.min(3e3,e.doc.length),n=ji.create(e.facet(wn).parser,e,{from:0,to:i});return n.work(20,i)||n.takeTree(),new Sn(n)}}pt.state=nt.define({create:Sn.init,update(t,e){for(let i of e.effects)if(i.is(pt.setState))return i.value;return e.startState.facet(wn)!=e.state.facet(wn)?Sn.init(e.state):t.apply(e)}});let X0=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(X0=t=>{let e=-1,i=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(i):cancelIdleCallback(e)});const _l=typeof navigator<"u"&&(!((Tl=navigator.scheduling)===null||Tl===void 0)&&Tl.isInputPending)?()=>navigator.scheduling.isInputPending():null,Hw=tt.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let i=this.view.state.field(pt.state).context;(i.updateViewport(e.view.viewport)||this.view.viewport.to>i.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(i)}scheduleWork(){if(this.working)return;let{state:e}=this.view,i=e.field(pt.state);(i.tree!=i.context.tree||!i.context.isDone(e.doc.length))&&(this.working=X0(this.work))}work(e){this.working=null;let i=Date.now();if(this.chunkEndr+1e3,a=s.context.work(()=>_l&&_l()||Date.now()>o,r+(l?0:1e5));this.chunkBudget-=Date.now()-i,(a||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:pt.setState.of(new Sn(s.context))})),this.chunkBudget>0&&!(a&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(i=>ft(this.view.state,i)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),wn=G.define({combine(t){return t.length?t[0]:null},enables:t=>[pt.state,Hw,Y.contentAttributes.compute([t],e=>{let i=e.facet(t);return i&&i.name?{"data-language":i.name}:{}})]});class Qn{constructor(e,i=[]){this.language=e,this.support=i,this.extension=[e,i]}}class P{constructor(e,i,n,r,s,o=void 0){this.name=e,this.alias=i,this.extensions=n,this.filename=r,this.loadFunc=s,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:i,support:n}=e;if(!i){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");i=()=>Promise.resolve(n)}return new P(e.name,(e.alias||[]).concat(e.name).map(r=>r.toLowerCase()),e.extensions||[],e.filename,i,n)}static matchFilename(e,i){for(let r of e)if(r.filename&&r.filename.test(i))return r;let n=/\.([^.]+)$/.exec(i);if(n){for(let r of e)if(r.extensions.indexOf(n[1])>-1)return r}return null}static matchLanguageName(e,i,n=!0){i=i.toLowerCase();for(let r of e)if(r.alias.some(s=>s==i))return r;if(n)for(let r of e)for(let s of r.alias){let o=i.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(i[o-1])&&!/\w/.test(i[o+s.length])))return r}return null}}const Kw=G.define(),Dn=G.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(i=>i!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function Wi(t){let e=t.facet(Dn);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function Oo(t,e){let i="",n=t.tabSize,r=t.facet(Dn)[0];if(r==" "){for(;e>=n;)i+=" ",e-=n;r=" "}for(let s=0;s=e?Jw(t,i,e):null}class Yo{constructor(e,i={}){this.state=e,this.options=i,this.unit=Wi(e)}lineAt(e,i=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:s}=this.options;return r!=null&&r>=n.from&&r<=n.to?s&&r==e?{text:"",from:e}:(i<0?r-1&&(s+=o-this.countColumn(n,n.search(/\S|$/))),s}countColumn(e,i=e.length){return ii(e,this.state.tabSize,i)}lineIndent(e,i=1){let{text:n,from:r}=this.lineAt(e,i),s=this.options.overrideIndentation;if(s){let o=s(r);if(o>-1)return o}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Mn=new ie;function Jw(t,e,i){let n=e.resolveStack(i),r=e.resolveInner(i,-1).resolve(i,0).enterUnfinishedNodesBefore(i);if(r!=n.node){let s=[];for(let o=r;o&&!(o.fromn.node.to||o.from==n.node.from&&o.type==n.node.type);o=o.parent)s.push(o);for(let o=s.length-1;o>=0;o--)n={node:s[o],next:n}}return B0(n,t,i)}function B0(t,e,i){for(let n=t;n;n=n.next){let r=t3(n.node);if(r)return r(Nu.create(e,i,n))}return 0}function e3(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function t3(t){let e=t.type.prop(Mn);if(e)return e;let i=t.firstChild,n;if(i&&(n=i.type.prop(ie.closedBy))){let r=t.lastChild,s=r&&n.indexOf(r.name)>-1;return o=>V0(o,!0,1,void 0,s&&!e3(o)?r.from:void 0)}return t.parent==null?i3:null}function i3(){return 0}class Nu extends Yo{constructor(e,i,n){super(e.state,e.options),this.base=e,this.pos=i,this.context=n}get node(){return this.context.node}static create(e,i,n){return new Nu(e,i,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let i=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(i.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(n3(n,e))break;i=this.state.doc.lineAt(n.from)}return this.lineIndent(i.from)}continue(){return B0(this.context.next,this.base,this.pos)}}function n3(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1}function r3(t){let e=t.node,i=e.childAfter(e.from),n=e.lastChild;if(!i)return null;let r=t.options.simulateBreak,s=t.state.doc.lineAt(i.from),o=r==null||r<=s.from?s.to:Math.min(s.to,r);for(let l=i.to;;){let a=e.childAfter(l);if(!a||a==n)return null;if(!a.type.isSkipped){if(a.from>=o)return null;let u=/^ */.exec(s.text.slice(i.to-s.from))[0].length;return{from:i.from,to:i.to+u}}l=a.to}}function s3({closing:t,align:e=!0,units:i=1}){return n=>V0(n,e,i,t)}function V0(t,e,i,n,r){let s=t.textAfter,o=s.match(/^\s*/)[0].length,l=n&&s.slice(o,o+n.length)==n||r==t.pos+o,a=e?r3(t):null;return a?l?t.column(a.from):t.column(a.to):t.baseIndent+(l?0:t.unit*i)}const o3=t=>t.baseIndent;function Ws({except:t,units:e=1}={}){return i=>{let n=t&&t.test(i.textAfter);return i.baseIndent+(n?0:e*i.unit)}}const l3=G.define(),Ur=new ie;function q0(t){let e=t.firstChild,i=t.lastChild;return e&&e.tol.prop(bi)==o.data:o?l=>l==o:void 0,this.style=z0(e.map(l=>({tag:l.tag,class:l.class||r(Object.assign({},l,{tag:null}))})),{all:s}).style,this.module=n?new Si(n):null,this.themeType=i.themeType}static define(e,i){return new Hr(e,i||{})}}const Ka=G.define(),a3=G.define({combine(t){return t.length?[t[0]]:null}});function Pl(t){let e=t.facet(Ka);return e.length?e:t.facet(a3)}function j0(t,e){let i=[c3],n;return t instanceof Hr&&(t.module&&i.push(Y.styleModule.of(t.module)),n=t.themeType),n?i.push(Ka.computeN([Y.darkTheme],r=>r.facet(Y.darkTheme)==(n=="dark")?[t]:[])):i.push(Ka.of(t)),i}class u3{constructor(e){this.markCache=Object.create(null),this.tree=Te(e.state),this.decorations=this.buildDeco(e,Pl(e.state)),this.decoratedTo=e.viewport.to}update(e){let i=Te(e.state),n=Pl(e.state),r=n!=Pl(e.startState),{viewport:s}=e.view,o=e.changes.mapPos(this.decoratedTo,1);i.length=s.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(i!=this.tree||e.viewportChanged||r)&&(this.tree=i,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=s.to)}buildDeco(e,i){if(!i||!this.tree.length)return me.none;let n=new Xi;for(let{from:r,to:s}of e.visibleRanges)Nw(this.tree,i,(o,l,a)=>{n.add(o,l,this.markCache[a]||(this.markCache[a]=me.mark({class:a})))},r,s);return n.finish()}}const c3=si.high(tt.fromClass(u3,{decorations:t=>t.decorations})),h3=1e4,d3="()[]{}",W0=new ie;function Ja(t,e,i){let n=t.prop(e<0?ie.openedBy:ie.closedBy);if(n)return n;if(t.name.length==1){let r=i.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[i[r+e]]}return null}function eu(t){let e=t.type.prop(W0);return e?e(t.node):t}function nn(t,e,i,n={}){let r=n.maxScanDistance||h3,s=n.brackets||d3,o=Te(t),l=o.resolveInner(e,i);for(let a=l;a;a=a.parent){let u=Ja(a.type,i,s);if(u&&a.from0?e>=c.from&&ec.from&&e<=c.to))return f3(t,e,i,a,c,u,s)}}return p3(t,e,i,o,l.type,r,s)}function f3(t,e,i,n,r,s,o){let l=n.parent,a={from:r.from,to:r.to},u=0,c=l?.cursor();if(c&&(i<0?c.childBefore(n.from):c.childAfter(n.to)))do if(i<0?c.to<=n.from:c.from>=n.to){if(u==0&&s.indexOf(c.type.name)>-1&&c.from0)return null;let u={from:i<0?e-1:e,to:i>0?e+1:e},c=t.doc.iterRange(e,i>0?t.doc.length:0),h=0;for(let d=0;!c.next().done&&d<=s;){let f=c.value;i<0&&(d+=f.length);let p=e+d*i;for(let m=i>0?0:f.length-1,O=i>0?f.length:-1;m!=O;m+=i){let g=o.indexOf(f[m]);if(!(g<0||n.resolveInner(p+m,1).type!=r))if(g%2==0==i>0)h++;else{if(h==1)return{start:u,end:{from:p+m,to:p+m+1},matched:g>>1==a>>1};h--}}i>0&&(d+=f.length)}return c.done?{start:u,matched:!1}:null}function _d(t,e,i,n=0,r=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let s=r;for(let o=n;o=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.posi}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let i=this.string.indexOf(e,this.pos);if(i>-1)return this.pos=i,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?o.toLowerCase():o,s=this.string.substr(this.pos,e.length);return r(s)==r(e)?(i!==!1&&(this.pos+=e.length),!0):null}else{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&i!==!1&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function m3(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||O3,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||Uu,mergeTokens:t.mergeTokens!==!1}}function O3(t){if(typeof t!="object")return t;let e={};for(let i in t){let n=t[i];e[i]=n instanceof Array?n.slice():n}return e}const Pd=new WeakMap;class Yu extends pt{constructor(e){let i=No(e.languageData),n=m3(e),r,s=new class extends Wo{createParse(o,l,a){return new b3(r,o,l,a)}};super(i,s,[],e.name),this.topNode=y3(i,this),r=this,this.streamParser=n,this.stateAfter=new ie({perNode:!0}),this.tokenTable=e.tokenTable?new H0(n.tokenTable):k3}static define(e){return new Yu(e)}getIndent(e){let i,{overrideIndentation:n}=e.options;n&&(i=Pd.get(e.state),i!=null&&i1e4)return null;for(;s=n&&i+e.length<=r&&e.prop(t.stateAfter);if(s)return{state:t.streamParser.copyState(s),pos:i+e.length};for(let o=e.children.length-1;o>=0;o--){let l=e.children[o],a=i+e.positions[o],u=l instanceof oe&&a=e.length)return e;!r&&i==0&&e.type==t.topNode&&(r=!0);for(let s=e.children.length-1;s>=0;s--){let o=e.positions[s],l=e.children[s],a;if(oi&&Gu(t,s.tree,0-s.offset,i,l),u;if(a&&a.pos<=n&&(u=Y0(t,s.tree,i+s.offset,a.pos+s.offset,!1)))return{state:a.state,tree:u}}return{state:t.streamParser.startState(r?Wi(r):4),tree:oe.empty}}let b3=class{constructor(e,i,n,r){this.lang=e,this.input=i,this.fragments=n,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let s=ji.get(),o=r[0].from,{state:l,tree:a}=g3(e,n,o,this.to,s?.state);this.state=l,this.parsedPos=this.chunkStart=o+a.length;for(let u=0;uu.from<=s.viewport.from&&u.to>=s.viewport.from)&&(this.state=this.lang.streamParser.startState(Wi(s.state)),s.skipUntilInView(this.parsedPos,s.viewport.from),this.parsedPos=s.viewport.from),this.moveRangeIndex()}advance(){let e=ji.get(),i=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt),n=Math.min(i,this.chunkStart+512);for(e&&(n=Math.min(n,e.viewport.to));this.parsedPos=i?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,i),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let i=this.input.chunk(e);if(this.input.lineChunks)i==` +`&&(i="");else{let n=i.indexOf(` +`);n>-1&&(i=i.slice(0,n))}return e+i.length<=this.to?i:i.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,i=this.lineAfter(e),n=e+i.length;for(let r=this.rangeIndex;;){let s=this.ranges[r].to;if(s>=n||(i=i.slice(0,s-(n-i.length)),r++,r==this.ranges.length))break;let o=this.ranges[r].from,l=this.lineAfter(o);i+=l,n=o+l.length}return{line:i,end:n}}skipGapsTo(e,i,n){for(;;){let r=this.ranges[this.rangeIndex].to,s=e+i;if(n>0?r>s:r>=s)break;let o=this.ranges[++this.rangeIndex].from;i+=o-r}return i}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){r=this.skipGapsTo(i,r,1),i+=r;let l=this.chunk.length;r=this.skipGapsTo(n,r,-1),n+=r,s+=this.chunk.length-l}let o=this.chunk.length-4;return this.lang.streamParser.mergeTokens&&s==4&&o>=0&&this.chunk[o]==e&&this.chunk[o+2]==i?this.chunk[o+2]=n:this.chunk.push(e,i,n,s),r}parseLine(e){let{line:i,end:n}=this.nextLine(),r=0,{streamParser:s}=this.lang,o=new N0(i,e?e.state.tabSize:4,e?Wi(e.state):2);if(o.eol())s.blankLine(this.state,o.indentUnit);else for(;!o.eol();){let l=G0(s.token,o,this.state);if(l&&(r=this.emitToken(this.lang.tokenTable.resolve(l),this.parsedPos+o.start,this.parsedPos+o.pos,r)),o.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPose.start)return r}throw new Error("Stream parser failed to advance stream.")}const Uu=Object.create(null),Cr=[Ee.none],x3=new En(Cr),Cd=[],Ad=Object.create(null),U0=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])U0[t]=K0(Uu,e);class H0{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),U0)}resolve(e){return e?this.table[e]||(this.table[e]=K0(this.extra,e)):0}}const k3=new H0(Uu);function Cl(t,e){Cd.indexOf(t)>-1||(Cd.push(t),console.warn(e))}function K0(t,e){let i=[];for(let l of e.split(" ")){let a=[];for(let u of l.split(".")){let c=t[u]||v[u];c?typeof c=="function"?a.length?a=a.map(c):Cl(u,`Modifier ${u} used at start of tag`):a.length?Cl(u,`Tag ${u} used as modifier`):a=Array.isArray(c)?c:[c]:Cl(u,`Unknown highlighting tag ${u}`)}for(let u of a)i.push(u)}if(!i.length)return 0;let n=e.replace(/ /g,"_"),r=n+" "+i.map(l=>l.id),s=Ad[r];if(s)return s.id;let o=Ad[r]=Ee.define({id:Cr.length,name:n,props:[Ln({[n]:i})]});return Cr.push(o),o.id}function y3(t,e){let i=Ee.define({id:Cr.length,name:"Document",props:[bi.add(()=>t),Mn.add(()=>n=>e.getIndent(n))],top:!0});return Cr.push(i),i}Se.RTL,Se.LTR;const v3=t=>{let{state:e}=t,i=e.doc.lineAt(e.selection.main.from),n=Ku(t.state,i.from);return n.line?S3(t):n.block?Q3(t):!1};function Hu(t,e){return({state:i,dispatch:n})=>{if(i.readOnly)return!1;let r=t(e,i);return r?(n(i.update(r)),!0):!1}}const S3=Hu(_3,0),w3=Hu(J0,0),Q3=Hu((t,e)=>J0(t,e,T3(e)),0);function Ku(t,e){let i=t.languageDataAt("commentTokens",e,1);return i.length?i[0]:{}}const jn=50;function $3(t,{open:e,close:i},n,r){let s=t.sliceDoc(n-jn,n),o=t.sliceDoc(r,r+jn),l=/\s*$/.exec(s)[0].length,a=/^\s*/.exec(o)[0].length,u=s.length-l;if(s.slice(u-e.length,u)==e&&o.slice(a,a+i.length)==i)return{open:{pos:n-l,margin:l&&1},close:{pos:r+a,margin:a&&1}};let c,h;r-n<=2*jn?c=h=t.sliceDoc(n,r):(c=t.sliceDoc(n,n+jn),h=t.sliceDoc(r-jn,r));let d=/^\s*/.exec(c)[0].length,f=/\s*$/.exec(h)[0].length,p=h.length-f-i.length;return c.slice(d,d+e.length)==e&&h.slice(p,p+i.length)==i?{open:{pos:n+d+e.length,margin:/\s/.test(c.charAt(d+e.length))?1:0},close:{pos:r-f-i.length,margin:/\s/.test(h.charAt(p-1))?1:0}}:null}function T3(t){let e=[];for(let i of t.selection.ranges){let n=t.doc.lineAt(i.from),r=i.to<=n.to?n:t.doc.lineAt(i.to);r.from>n.from&&r.from==i.to&&(r=i.to==n.to+1?n:t.doc.lineAt(i.to-1));let s=e.length-1;s>=0&&e[s].to>n.from?e[s].to=r.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:r.to})}return e}function J0(t,e,i=e.selection.ranges){let n=i.map(s=>Ku(e,s.from).block);if(!n.every(s=>s))return null;let r=i.map((s,o)=>$3(e,n[o],s.from,s.to));if(t!=2&&!r.every(s=>s))return{changes:e.changes(i.map((s,o)=>r[o]?[]:[{from:s.from,insert:n[o].open+" "},{from:s.to,insert:" "+n[o].close}]))};if(t!=1&&r.some(s=>s)){let s=[];for(let o=0,l;or&&(s==o||o>h.from)){r=h.from;let d=/^\s*/.exec(h.text)[0].length,f=d==h.length,p=h.text.slice(d,d+u.length)==u?d:-1;ds.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:l,token:a,indent:u,empty:c,single:h}of n)(h||!c)&&s.push({from:l.from+u,insert:a+" "});let o=e.changes(s);return{changes:o,selection:e.selection.map(o,1)}}else if(t!=1&&n.some(s=>s.comment>=0)){let s=[];for(let{line:o,comment:l,token:a}of n)if(l>=0){let u=o.from+l,c=u+a.length;o.text[c-o.from]==" "&&c++,s.push({from:u,to:c})}return{changes:s}}return null}const tu=oi.define(),P3=oi.define(),C3=G.define(),eO=G.define({combine(t){return jr(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,i)=>i},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,i)=>(n,r)=>e(n,r)||i(n,r)})}}),tO=nt.define({create(){return jt.empty},update(t,e){let i=e.state.facet(eO),n=e.annotation(tu);if(n){let a=Je.fromTransaction(e,n.selection),u=n.side,c=u==0?t.undone:t.done;return a?c=bo(c,c.length,i.minDepth,a):c=nO(c,e.startState.selection),new jt(u==0?n.rest:c,u==0?c:n.rest)}let r=e.annotation(P3);if((r=="full"||r=="before")&&(t=t.isolate()),e.annotation(Ae.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let s=Je.fromTransaction(e),o=e.annotation(Ae.time),l=e.annotation(Ae.userEvent);return s?t=t.addChanges(s,o,l,i,e):e.selection&&(t=t.addSelection(e.startState.selection,o,l,i.newGroupDelay)),(r=="full"||r=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new jt(t.done.map(Je.fromJSON),t.undone.map(Je.fromJSON))}});function Ed(t={}){return[tO,eO.of(t),Y.domEventHandlers({beforeinput(e,i){let n=e.inputType=="historyUndo"?Ju:e.inputType=="historyRedo"?go:null;return n?(e.preventDefault(),n(i)):!1}})]}function Go(t,e){return function({state:i,dispatch:n}){if(!e&&i.readOnly)return!1;let r=i.field(tO,!1);if(!r)return!1;let s=r.pop(t,i,e);return s?(n(s),!0):!1}}const Ju=Go(0,!1),go=Go(1,!1),A3=Go(0,!0),E3=Go(1,!0);class Je{constructor(e,i,n,r,s){this.changes=e,this.effects=i,this.mapped=n,this.startSelection=r,this.selectionsAfter=s}setSelAfter(e){return new Je(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,i,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(i=this.mapped)===null||i===void 0?void 0:i.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new Je(e.changes&&Le.fromJSON(e.changes),[],e.mapped&&Wt.fromJSON(e.mapped),e.startSelection&&L.fromJSON(e.startSelection),e.selectionsAfter.map(L.fromJSON))}static fromTransaction(e,i){let n=xt;for(let r of e.startState.facet(C3)){let s=r(e);s.length&&(n=n.concat(s))}return!n.length&&e.changes.empty?null:new Je(e.changes.invert(e.startState.doc),n,void 0,i||e.startState.selection,xt)}static selection(e){return new Je(void 0,xt,void 0,void 0,e)}}function bo(t,e,i,n){let r=e+1>i+20?e-i-1:0,s=t.slice(r,e);return s.push(n),s}function L3(t,e){let i=[],n=!1;return t.iterChangedRanges((r,s)=>i.push(r,s)),e.iterChangedRanges((r,s,o,l)=>{for(let a=0;a=u&&o<=c&&(n=!0)}}),n}function D3(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((i,n)=>i.empty!=e.ranges[n].empty).length===0}function iO(t,e){return t.length?e.length?t.concat(e):t:e}const xt=[],M3=200;function nO(t,e){if(t.length){let i=t[t.length-1],n=i.selectionsAfter.slice(Math.max(0,i.selectionsAfter.length-M3));return n.length&&n[n.length-1].eq(e)?t:(n.push(e),bo(t,t.length-1,1e9,i.setSelAfter(n)))}else return[Je.selection([e])]}function R3(t){let e=t[t.length-1],i=t.slice();return i[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),i}function Al(t,e){if(!t.length)return t;let i=t.length,n=xt;for(;i;){let r=I3(t[i-1],e,n);if(r.changes&&!r.changes.empty||r.effects.length){let s=t.slice(0,i);return s[i-1]=r,s}else e=r.mapped,i--,n=r.selectionsAfter}return n.length?[Je.selection(n)]:xt}function I3(t,e,i){let n=iO(t.selectionsAfter.length?t.selectionsAfter.map(l=>l.map(e)):xt,i);if(!t.changes)return Je.selection(n);let r=t.changes.map(e),s=e.mapDesc(t.changes,!0),o=t.mapped?t.mapped.composeDesc(s):s;return new Je(r,se.mapEffects(t.effects,e),o,t.startSelection.map(s),n)}const Z3=/^(input\.type|delete)($|\.)/;class jt{constructor(e,i,n=0,r=void 0){this.done=e,this.undone=i,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new jt(this.done,this.undone):this}addChanges(e,i,n,r,s){let o=this.done,l=o[o.length-1];return l&&l.changes&&!l.changes.empty&&e.changes&&(!n||Z3.test(n))&&(!l.selectionsAfter.length&&i-this.prevTime0&&i-this.prevTimei.empty?t.moveByChar(i,e):Uo(i,e))}function qe(t){return t.textDirectionAt(t.state.selection.main.head)==Se.LTR}const sO=t=>rO(t,!qe(t)),oO=t=>rO(t,qe(t));function lO(t,e){return Et(t,i=>i.empty?t.moveByGroup(i,e):Uo(i,e))}const X3=t=>lO(t,!qe(t)),F3=t=>lO(t,qe(t));function B3(t,e,i){if(e.type.prop(i))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function Ho(t,e,i){let n=Te(t).resolveInner(e.head),r=i?ie.closedBy:ie.openedBy;for(let a=e.head;;){let u=i?n.childAfter(a):n.childBefore(a);if(!u)break;B3(t,u,r)?n=u:a=i?u.to:u.from}let s=n.type.prop(r),o,l;return s&&(o=i?nn(t,n.from,1):nn(t,n.to,-1))&&o.matched?l=i?o.end.to:o.end.from:l=i?n.to:n.from,L.cursor(l,i?-1:1)}const V3=t=>Et(t,e=>Ho(t.state,e,!qe(t))),q3=t=>Et(t,e=>Ho(t.state,e,qe(t)));function aO(t,e){return Et(t,i=>{if(!i.empty)return Uo(i,e);let n=t.moveVertically(i,e);return n.head!=i.head?n:t.moveToLineBoundary(i,e)})}const uO=t=>aO(t,!1),cO=t=>aO(t,!0);function hO(t){let e=t.scrollDOM.clientHeighto.empty?t.moveVertically(o,e,i.height):Uo(o,e));if(r.eq(n.selection))return!1;let s;if(i.selfScroll){let o=t.coordsAtPos(n.selection.main.head),l=t.scrollDOM.getBoundingClientRect(),a=l.top+i.marginTop,u=l.bottom-i.marginBottom;o&&o.top>a&&o.bottomdO(t,!1),iu=t=>dO(t,!0);function $i(t,e,i){let n=t.lineBlockAt(e.head),r=t.moveToLineBoundary(e,i);if(r.head==e.head&&r.head!=(i?n.to:n.from)&&(r=t.moveToLineBoundary(e,i,!1)),!i&&r.head==n.from&&n.length){let s=/^\s*/.exec(t.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;s&&e.head!=n.from+s&&(r=L.cursor(n.from+s))}return r}const j3=t=>Et(t,e=>$i(t,e,!0)),W3=t=>Et(t,e=>$i(t,e,!1)),N3=t=>Et(t,e=>$i(t,e,!qe(t))),Y3=t=>Et(t,e=>$i(t,e,qe(t))),G3=t=>Et(t,e=>L.cursor(t.lineBlockAt(e.head).from,1)),U3=t=>Et(t,e=>L.cursor(t.lineBlockAt(e.head).to,-1));function H3(t,e,i){let n=!1,r=Rn(t.selection,s=>{let o=nn(t,s.head,-1)||nn(t,s.head,1)||s.head>0&&nn(t,s.head-1,1)||s.headH3(t,e);function Qt(t,e){let i=Rn(t.state.selection,n=>{let r=e(n);return L.range(n.anchor,r.head,r.goalColumn,r.bidiLevel||void 0)});return i.eq(t.state.selection)?!1:(t.dispatch(At(t.state,i)),!0)}function fO(t,e){return Qt(t,i=>t.moveByChar(i,e))}const pO=t=>fO(t,!qe(t)),mO=t=>fO(t,qe(t));function OO(t,e){return Qt(t,i=>t.moveByGroup(i,e))}const J3=t=>OO(t,!qe(t)),eQ=t=>OO(t,qe(t)),tQ=t=>Qt(t,e=>Ho(t.state,e,!qe(t))),iQ=t=>Qt(t,e=>Ho(t.state,e,qe(t)));function gO(t,e){return Qt(t,i=>t.moveVertically(i,e))}const bO=t=>gO(t,!1),xO=t=>gO(t,!0);function kO(t,e){return Qt(t,i=>t.moveVertically(i,e,hO(t).height))}const Dd=t=>kO(t,!1),Md=t=>kO(t,!0),nQ=t=>Qt(t,e=>$i(t,e,!0)),rQ=t=>Qt(t,e=>$i(t,e,!1)),sQ=t=>Qt(t,e=>$i(t,e,!qe(t))),oQ=t=>Qt(t,e=>$i(t,e,qe(t))),lQ=t=>Qt(t,e=>L.cursor(t.lineBlockAt(e.head).from)),aQ=t=>Qt(t,e=>L.cursor(t.lineBlockAt(e.head).to)),Rd=({state:t,dispatch:e})=>(e(At(t,{anchor:0})),!0),Id=({state:t,dispatch:e})=>(e(At(t,{anchor:t.doc.length})),!0),Zd=({state:t,dispatch:e})=>(e(At(t,{anchor:t.selection.main.anchor,head:0})),!0),zd=({state:t,dispatch:e})=>(e(At(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),uQ=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),cQ=({state:t,dispatch:e})=>{let i=Ko(t).map(({from:n,to:r})=>L.range(n,Math.min(r+1,t.doc.length)));return e(t.update({selection:L.create(i),userEvent:"select"})),!0},hQ=({state:t,dispatch:e})=>{let i=Rn(t.selection,n=>{let r=Te(t),s=r.resolveStack(n.from,1);if(n.empty){let o=r.resolveStack(n.from,-1);o.node.from>=s.node.from&&o.node.to<=s.node.to&&(s=o)}for(let o=s;o;o=o.next){let{node:l}=o;if((l.from=n.to||l.to>n.to&&l.from<=n.from)&&o.next)return L.range(l.to,l.from)}return n});return i.eq(t.selection)?!1:(e(At(t,i)),!0)};function yO(t,e){let{state:i}=t,n=i.selection,r=i.selection.ranges.slice();for(let s of i.selection.ranges){let o=i.doc.lineAt(s.head);if(e?o.to0)for(let l=s;;){let a=t.moveVertically(l,e);if(a.heado.to){r.some(u=>u.head==a.head)||r.push(a);break}else{if(a.head==l.head)break;l=a}}}return r.length==n.ranges.length?!1:(t.dispatch(At(i,L.create(r,r.length-1))),!0)}const dQ=t=>yO(t,!1),fQ=t=>yO(t,!0),pQ=({state:t,dispatch:e})=>{let i=t.selection,n=null;return i.ranges.length>1?n=L.create([i.main]):i.main.empty||(n=L.create([L.cursor(i.main.head)])),n?(e(At(t,n)),!0):!1};function Kr(t,e){if(t.state.readOnly)return!1;let i="delete.selection",{state:n}=t,r=n.changeByRange(s=>{let{from:o,to:l}=s;if(o==l){let a=e(s);ao&&(i="delete.forward",a=ws(t,a,!0)),o=Math.min(o,a),l=Math.max(l,a)}else o=ws(t,o,!1),l=ws(t,l,!0);return o==l?{range:s}:{changes:{from:o,to:l},range:L.cursor(o,or(t)))n.between(e,e,(r,s)=>{re&&(e=i?s:r)});return e}const vO=(t,e,i)=>Kr(t,n=>{let r=n.from,{state:s}=t,o=s.doc.lineAt(r),l,a;if(i&&!e&&r>o.from&&rvO(t,!1,!0),SO=t=>vO(t,!0,!1),wO=(t,e)=>Kr(t,i=>{let n=i.head,{state:r}=t,s=r.doc.lineAt(n),o=r.charCategorizer(n);for(let l=null;;){if(n==(e?s.to:s.from)){n==i.head&&s.number!=(e?r.doc.lines:1)&&(n+=e?1:-1);break}let a=Ze(s.text,n-s.from,e)+s.from,u=s.text.slice(Math.min(n,a)-s.from,Math.max(n,a)-s.from),c=o(u);if(l!=null&&c!=l)break;(u!=" "||n!=i.head)&&(l=c),n=a}return n}),QO=t=>wO(t,!1),mQ=t=>wO(t,!0),OQ=t=>Kr(t,e=>{let i=t.lineBlockAt(e.head).to;return e.headKr(t,e=>{let i=t.moveToLineBoundary(e,!1).head;return e.head>i?i:Math.max(0,e.head-1)}),bQ=t=>Kr(t,e=>{let i=t.moveToLineBoundary(e,!0).head;return e.head{if(t.readOnly)return!1;let i=t.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:ce.of(["",""])},range:L.cursor(n.from)}));return e(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0},kQ=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{if(!n.empty||n.from==0||n.from==t.doc.length)return{range:n};let r=n.from,s=t.doc.lineAt(r),o=r==s.from?r-1:Ze(s.text,r-s.from,!1)+s.from,l=r==s.to?r+1:Ze(s.text,r-s.from,!0)+s.from;return{changes:{from:o,to:l,insert:t.doc.slice(r,l).append(t.doc.slice(o,r))},range:L.cursor(l)}});return i.changes.empty?!1:(e(t.update(i,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Ko(t){let e=[],i=-1;for(let n of t.selection.ranges){let r=t.doc.lineAt(n.from),s=t.doc.lineAt(n.to);if(!n.empty&&n.to==s.from&&(s=t.doc.lineAt(n.to-1)),i>=r.number){let o=e[e.length-1];o.to=s.to,o.ranges.push(n)}else e.push({from:r.from,to:s.to,ranges:[n]});i=s.number+1}return e}function $O(t,e,i){if(t.readOnly)return!1;let n=[],r=[];for(let s of Ko(t)){if(i?s.to==t.doc.length:s.from==0)continue;let o=t.doc.lineAt(i?s.to+1:s.from-1),l=o.length+1;if(i){n.push({from:s.to,to:o.to},{from:s.from,insert:o.text+t.lineBreak});for(let a of s.ranges)r.push(L.range(Math.min(t.doc.length,a.anchor+l),Math.min(t.doc.length,a.head+l)))}else{n.push({from:o.from,to:s.from},{from:s.to,insert:t.lineBreak+o.text});for(let a of s.ranges)r.push(L.range(a.anchor-l,a.head-l))}}return n.length?(e(t.update({changes:n,scrollIntoView:!0,selection:L.create(r,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}const yQ=({state:t,dispatch:e})=>$O(t,e,!1),vQ=({state:t,dispatch:e})=>$O(t,e,!0);function TO(t,e,i){if(t.readOnly)return!1;let n=[];for(let s of Ko(t))i?n.push({from:s.from,insert:t.doc.slice(s.from,s.to)+t.lineBreak}):n.push({from:s.to,insert:t.lineBreak+t.doc.slice(s.from,s.to)});let r=t.changes(n);return e(t.update({changes:r,selection:t.selection.map(r,i?1:-1),scrollIntoView:!0,userEvent:"input.copyline"})),!0}const SQ=({state:t,dispatch:e})=>TO(t,e,!1),wQ=({state:t,dispatch:e})=>TO(t,e,!0),_O=t=>{if(t.state.readOnly)return!1;let{state:e}=t,i=e.changes(Ko(e).map(({from:r,to:s})=>(r>0?r--:s{let s;if(t.lineWrapping){let o=t.lineBlockAt(r.head),l=t.coordsAtPos(r.head,r.assoc||1);l&&(s=o.bottom+t.documentTop-l.bottom+t.defaultLineHeight/2)}return t.moveVertically(r,!0,s)}).map(i);return t.dispatch({changes:i,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function QQ(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let i=Te(t).resolveInner(e),n=i.childBefore(e),r=i.childAfter(e),s;return n&&r&&n.to<=e&&r.from>=e&&(s=n.type.prop(ie.closedBy))&&s.indexOf(r.name)>-1&&t.doc.lineAt(n.to).from==t.doc.lineAt(r.from).from&&!/\S/.test(t.sliceDoc(n.to,r.from))?{from:n.to,to:r.from}:null}const Xd=PO(!1),$Q=PO(!0);function PO(t){return({state:e,dispatch:i})=>{if(e.readOnly)return!1;let n=e.changeByRange(r=>{let{from:s,to:o}=r,l=e.doc.lineAt(s),a=!t&&s==o&&QQ(e,s);t&&(s=o=(o<=l.to?l:e.doc.lineAt(o)).to);let u=new Yo(e,{simulateBreak:s,simulateDoubleBreak:!!a}),c=F0(u,s);for(c==null&&(c=ii(/^\s*/.exec(e.doc.lineAt(s).text)[0],e.tabSize));ol.from&&s{let r=[];for(let o=n.from;o<=n.to;){let l=t.doc.lineAt(o);l.number>i&&(n.empty||n.to>l.from)&&(e(l,r,n),i=l.number),o=l.to+1}let s=t.changes(r);return{changes:r,range:L.range(s.mapPos(n.anchor,1),s.mapPos(n.head,1))}})}const TQ=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=Object.create(null),n=new Yo(t,{overrideIndentation:s=>{let o=i[s];return o??-1}}),r=ec(t,(s,o,l)=>{let a=F0(n,s.from);if(a==null)return;/\S/.test(s.text)||(a=0);let u=/^\s*/.exec(s.text)[0],c=Oo(t,a);(u!=c||l.fromt.readOnly?!1:(e(t.update(ec(t,(i,n)=>{n.push({from:i.from,insert:t.facet(Dn)})}),{userEvent:"input.indent"})),!0),AO=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(ec(t,(i,n)=>{let r=/^\s*/.exec(i.text)[0];if(!r)return;let s=ii(r,t.tabSize),o=0,l=Oo(t,Math.max(0,s-Wi(t)));for(;o(t.setTabFocusMode(),!0),PQ=[{key:"Ctrl-b",run:sO,shift:pO,preventDefault:!0},{key:"Ctrl-f",run:oO,shift:mO},{key:"Ctrl-p",run:uO,shift:bO},{key:"Ctrl-n",run:cO,shift:xO},{key:"Ctrl-a",run:G3,shift:lQ},{key:"Ctrl-e",run:U3,shift:aQ},{key:"Ctrl-d",run:SO},{key:"Ctrl-h",run:nu},{key:"Ctrl-k",run:OQ},{key:"Ctrl-Alt-h",run:QO},{key:"Ctrl-o",run:xQ},{key:"Ctrl-t",run:kQ},{key:"Ctrl-v",run:iu}],CQ=[{key:"ArrowLeft",run:sO,shift:pO,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:X3,shift:J3,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:N3,shift:sQ,preventDefault:!0},{key:"ArrowRight",run:oO,shift:mO,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:F3,shift:eQ,preventDefault:!0},{mac:"Cmd-ArrowRight",run:Y3,shift:oQ,preventDefault:!0},{key:"ArrowUp",run:uO,shift:bO,preventDefault:!0},{mac:"Cmd-ArrowUp",run:Rd,shift:Zd},{mac:"Ctrl-ArrowUp",run:Ld,shift:Dd},{key:"ArrowDown",run:cO,shift:xO,preventDefault:!0},{mac:"Cmd-ArrowDown",run:Id,shift:zd},{mac:"Ctrl-ArrowDown",run:iu,shift:Md},{key:"PageUp",run:Ld,shift:Dd},{key:"PageDown",run:iu,shift:Md},{key:"Home",run:W3,shift:rQ,preventDefault:!0},{key:"Mod-Home",run:Rd,shift:Zd},{key:"End",run:j3,shift:nQ,preventDefault:!0},{key:"Mod-End",run:Id,shift:zd},{key:"Enter",run:Xd,shift:Xd},{key:"Mod-a",run:uQ},{key:"Backspace",run:nu,shift:nu,preventDefault:!0},{key:"Delete",run:SO,preventDefault:!0},{key:"Mod-Backspace",mac:"Alt-Backspace",run:QO,preventDefault:!0},{key:"Mod-Delete",mac:"Alt-Delete",run:mQ,preventDefault:!0},{mac:"Mod-Backspace",run:gQ,preventDefault:!0},{mac:"Mod-Delete",run:bQ,preventDefault:!0}].concat(PQ.map(t=>({mac:t.key,run:t.run,shift:t.shift}))),AQ=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:V3,shift:tQ},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:q3,shift:iQ},{key:"Alt-ArrowUp",run:yQ},{key:"Shift-Alt-ArrowUp",run:SQ},{key:"Alt-ArrowDown",run:vQ},{key:"Shift-Alt-ArrowDown",run:wQ},{key:"Mod-Alt-ArrowUp",run:dQ},{key:"Mod-Alt-ArrowDown",run:fQ},{key:"Escape",run:pQ},{key:"Mod-Enter",run:$Q},{key:"Alt-l",mac:"Ctrl-l",run:cQ},{key:"Mod-i",run:hQ,preventDefault:!0},{key:"Mod-[",run:AO},{key:"Mod-]",run:CO},{key:"Mod-Alt-\\",run:TQ},{key:"Shift-Mod-k",run:_O},{key:"Shift-Mod-\\",run:K3},{key:"Mod-/",run:v3},{key:"Alt-A",run:w3},{key:"Ctrl-m",mac:"Shift-Alt-m",run:_Q}].concat(CQ),EQ={key:"Tab",run:CO,shift:AO};class tc{constructor(e,i,n,r){this.state=e,this.pos=i,this.explicit=n,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let i=Te(this.state).resolveInner(this.pos,-1);for(;i&&e.indexOf(i.name)<0;)i=i.parent;return i?{from:i.from,to:this.pos,text:this.state.sliceDoc(i.from,this.pos),type:i.type}:null}matchBefore(e){let i=this.state.doc.lineAt(this.pos),n=Math.max(i.from,this.pos-250),r=i.text.slice(n-i.from,this.pos-i.from),s=r.search(LO(e,!1));return s<0?null:{from:n+s,to:this.pos,text:r.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,i,n){e=="abort"&&this.abortListeners&&(this.abortListeners.push(i),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function Fd(t){let e=Object.keys(t).join(""),i=/\w/.test(e);return i&&(e=e.replace(/\w/g,"")),`[${i?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function LQ(t){let e=Object.create(null),i=Object.create(null);for(let{label:r}of t){e[r[0]]=!0;for(let s=1;stypeof r=="string"?{label:r}:r),[i,n]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:LQ(e);return r=>{let s=r.matchBefore(n);return s||r.explicit?{from:s?s.from:r.pos,options:e,validFor:i}:null}}function DQ(t,e){return i=>{for(let n=Te(i.state).resolveInner(i.pos,-1);n;n=n.parent){if(t.indexOf(n.name)>-1)return null;if(n.type.isTop)break}return e(i)}}class Bd{constructor(e,i,n,r){this.completion=e,this.source=i,this.match=n,this.score=r}}function zi(t){return t.selection.main.from}function LO(t,e){var i;let{source:n}=t,r=e&&n[0]!="^",s=n[n.length-1]!="$";return!r&&!s?t:new RegExp(`${r?"^":""}(?:${n})${s?"$":""}`,(i=t.flags)!==null&&i!==void 0?i:t.ignoreCase?"i":"")}const ic=oi.define();function MQ(t,e,i,n){let{main:r}=t.selection,s=i-r.from,o=n-r.from;return{...t.changeByRange(l=>{if(l!=r&&i!=n&&t.sliceDoc(l.from+s,l.from+o)!=t.sliceDoc(i,n))return{range:l};let a=t.toText(e);return{changes:{from:l.from+s,to:n==r.from?l.to:l.from+o,insert:a},range:L.cursor(l.from+s+a.length)}}),scrollIntoView:!0,userEvent:"input.complete"}}const Vd=new WeakMap;function RQ(t){if(!Array.isArray(t))return t;let e=Vd.get(t);return e||Vd.set(t,e=EO(t)),e}const xo=se.define(),Ar=se.define();class IQ{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let i=0;i=48&&x<=57||x>=97&&x<=122?2:x>=65&&x<=90?1:0:(Q=pm(x))!=Q.toLowerCase()?1:Q!=Q.toUpperCase()?2:0;(!b||T==1&&O||y==0&&T!=0)&&(i[h]==x||n[h]==x&&(d=!0)?o[h++]=b:o.length&&(g=!1)),y=T,b+=Li(x)}return h==a&&o[0]==0&&g?this.result(-100+(d?-200:0),o,e):f==a&&p==0?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):l>-1?this.ret(-700-e.length,[l,l+this.pattern.length]):f==a?this.ret(-900-e.length,[p,m]):h==a?this.result(-100+(d?-200:0)+-700+(g?0:-1100),o,e):i.length==2?null:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,i,n){let r=[],s=0;for(let o of i){let l=o+(this.astral?Li(hi(n,o)):1);s&&r[s-1]==o?r[s-1]=l:(r[s++]=o,r[s++]=l)}return this.ret(e-n.length,r)}}class ZQ{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:zQ,filterStrict:!1,compareCompletions:(e,i)=>(e.sortText||e.label).localeCompare(i.sortText||i.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,i)=>e&&i,closeOnBlur:(e,i)=>e&&i,icons:(e,i)=>e&&i,tooltipClass:(e,i)=>n=>qd(e(n),i(n)),optionClass:(e,i)=>n=>qd(e(n),i(n)),addToOptions:(e,i)=>e.concat(i),filterStrict:(e,i)=>e||i})}});function qd(t,e){return t?e?t+" "+e:t:e}function zQ(t,e,i,n,r,s){let o=t.textDirection==Se.RTL,l=o,a=!1,u="top",c,h,d=e.left-r.left,f=r.right-e.right,p=n.right-n.left,m=n.bottom-n.top;if(l&&d=m||b>e.top?c=i.bottom-e.top:(u="bottom",c=e.bottom-i.top)}let O=(e.bottom-e.top)/s.offsetHeight,g=(e.right-e.left)/s.offsetWidth;return{style:`${u}: ${c/O}px; max-width: ${h/g}px`,class:"cm-completionInfo-"+(a?o?"left-narrow":"right-narrow":l?"left":"right")}}const nc=se.define();function XQ(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(i){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),i.type&&n.classList.add(...i.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(i,n,r,s){let o=document.createElement("span");o.className="cm-completionLabel";let l=i.displayLabel||i.label,a=0;for(let u=0;ua&&o.appendChild(document.createTextNode(l.slice(a,c)));let d=o.appendChild(document.createElement("span"));d.appendChild(document.createTextNode(l.slice(c,h))),d.className="cm-completionMatchedText",a=h}return ai.position-n.position).map(i=>i.render)}function El(t,e,i){if(t<=i)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let r=Math.floor(e/i);return{from:r*i,to:(r+1)*i}}let n=Math.floor((t-e)/i);return{from:t-(n+1)*i,to:t-n*i}}class FQ{constructor(e,i,n){this.view=e,this.stateField=i,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:a=>this.placeInfo(a),key:this},this.space=null,this.currentClass="";let r=e.state.field(i),{options:s,selected:o}=r.open,l=e.state.facet(Ie);this.optionContent=XQ(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=El(s.length,o,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",a=>{let{options:u}=e.state.field(i).open;for(let c=a.target,h;c&&c!=this.dom;c=c.parentNode)if(c.nodeName=="LI"&&(h=/-(\d+)$/.exec(c.id))&&+h[1]this.list.lastChild.getBoundingClientRect().bottom?this.range.to:null;c!=null&&(e.dispatch({effects:nc.of(c)}),a.preventDefault())}}),this.dom.addEventListener("focusout",a=>{let u=e.state.field(this.stateField,!1);u&&u.tooltip&&e.state.facet(Ie).closeOnBlur&&a.relatedTarget!=e.contentDOM&&e.dispatch({effects:Ar.of(null)})}),this.showOptions(s,r.id)}mount(){this.updateSel()}showOptions(e,i){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,i,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var i;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:s,selected:o,disabled:l}=n.open;(!r.open||r.open.options!=s)&&(this.range=El(s.length,o,e.state.facet(Ie).maxRenderedOptions),this.showOptions(s,n.id)),this.updateSel(),l!=((i=r.open)===null||i===void 0?void 0:i.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!l)}}updateTooltipClass(e){let i=this.tooltipClass(e);if(i!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of i.split(" "))n&&this.dom.classList.add(n);this.currentClass=i}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),i=e.open;(i.selected>-1&&i.selected=this.range.to)&&(this.range=El(i.options.length,i.selected,this.view.state.facet(Ie).maxRenderedOptions),this.showOptions(i.options,e.id));let n=this.updateSelectedOption(i.selected);if(n){this.destroyInfo();let{completion:r}=i.options[i.selected],{info:s}=r;if(!s)return;let o=typeof s=="string"?document.createTextNode(s):s(r);if(!o)return;"then"in o?o.then(l=>{l&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(l,r)}).catch(l=>ft(this.view.state,l,"completion info")):(this.addInfoPane(o,r),n.setAttribute("aria-describedby",this.info.id))}}addInfoPane(e,i){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",n.id="cm-completionInfo-"+Math.floor(Math.random()*65535).toString(16),e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:r,destroy:s}=e;n.appendChild(r),this.infoDestroy=s||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let i=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)n.nodeName!="LI"||!n.id?r--:r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),i=n):n.hasAttribute("aria-selected")&&(n.removeAttribute("aria-selected"),n.removeAttribute("aria-describedby"));return i&&VQ(this.list,i),i}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let i=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),s=this.space;if(!s){let o=this.dom.ownerDocument.documentElement;s={left:0,top:0,right:o.clientWidth,bottom:o.clientHeight}}return r.top>Math.min(s.bottom,i.bottom)-10||r.bottom{o.target==r&&o.preventDefault()});let s=null;for(let o=n.from;on.from||n.from==0))if(s=d,typeof u!="string"&&u.header)r.appendChild(u.header(u));else{let f=r.appendChild(document.createElement("completion-section"));f.textContent=d}}const c=r.appendChild(document.createElement("li"));c.id=i+"-"+o,c.setAttribute("role","option");let h=this.optionClass(l);h&&(c.className=h);for(let d of this.optionContent){let f=d(l,this.view.state,this.view,a);f&&c.appendChild(f)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.tonew FQ(i,t,e)}function VQ(t,e){let i=t.getBoundingClientRect(),n=e.getBoundingClientRect(),r=i.height/t.offsetHeight;n.topi.bottom&&(t.scrollTop+=(n.bottom-i.bottom)/r)}function jd(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function qQ(t,e){let i=[],n=null,r=null,s=c=>{i.push(c);let{section:h}=c.completion;if(h){n||(n=[]);let d=typeof h=="string"?h:h.name;n.some(f=>f.name==d)||n.push(typeof h=="string"?{name:d}:h)}},o=e.facet(Ie);for(let c of t)if(c.hasResult()){let h=c.result.getMatch;if(c.result.filter===!1)for(let d of c.result.options)s(new Bd(d,c.source,h?h(d):[],1e9-i.length));else{let d=e.sliceDoc(c.from,c.to),f,p=o.filterStrict?new ZQ(d):new IQ(d);for(let m of c.result.options)if(f=p.match(m.label)){let O=m.displayLabel?h?h(m,f.matched):[]:f.matched,g=f.score+(m.boost||0);if(s(new Bd(m,c.source,O,g)),typeof m.section=="object"&&m.section.rank==="dynamic"){let{name:b}=m.section;r||(r=Object.create(null)),r[b]=Math.max(g,r[b]||-1e9)}}}}if(n){let c=Object.create(null),h=0,d=(f,p)=>(f.rank==="dynamic"&&p.rank==="dynamic"?r[p.name]-r[f.name]:0)||(typeof f.rank=="number"?f.rank:1e9)-(typeof p.rank=="number"?p.rank:1e9)||(f.named.score-h.score||u(h.completion,d.completion))){let h=c.completion;!a||a.label!=h.label||a.detail!=h.detail||a.type!=null&&h.type!=null&&a.type!=h.type||a.apply!=h.apply||a.boost!=h.boost?l.push(c):jd(c.completion)>jd(a)&&(l[l.length-1]=c),a=c.completion}return l}class rn{constructor(e,i,n,r,s,o){this.options=e,this.attrs=i,this.tooltip=n,this.timestamp=r,this.selected=s,this.disabled=o}setSelected(e,i){return e==this.selected||e>=this.options.length?this:new rn(this.options,Wd(i,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,i,n,r,s,o){if(r&&!o&&e.some(u=>u.isPending))return r.setDisabled();let l=qQ(e,i);if(!l.length)return r&&e.some(u=>u.isPending)?r.setDisabled():null;let a=i.facet(Ie).selectOnOpen?0:-1;if(r&&r.selected!=a&&r.selected!=-1){let u=r.options[r.selected].completion;for(let c=0;cc.hasResult()?Math.min(u,c.from):u,1e8),create:UQ,above:s.aboveCursor},r?r.timestamp:Date.now(),a,!1)}map(e){return new rn(this.options,this.attrs,{...this.tooltip,pos:e.mapPos(this.tooltip.pos)},this.timestamp,this.selected,this.disabled)}setDisabled(){return new rn(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class ko{constructor(e,i,n){this.active=e,this.id=i,this.open=n}static start(){return new ko(YQ,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:i}=e,n=i.facet(Ie),s=(n.override||i.languageDataAt("autocomplete",zi(i)).map(RQ)).map(a=>(this.active.find(c=>c.source==a)||new kt(a,this.active.some(c=>c.state!=0)?1:0)).update(e,n));s.length==this.active.length&&s.every((a,u)=>a==this.active[u])&&(s=this.active);let o=this.open,l=e.effects.some(a=>a.is(rc));o&&e.docChanged&&(o=o.map(e.changes)),e.selection||s.some(a=>a.hasResult()&&e.changes.touchesRange(a.from,a.to))||!jQ(s,this.active)||l?o=rn.build(s,i,this.id,o,n,l):o&&o.disabled&&!s.some(a=>a.isPending)&&(o=null),!o&&s.every(a=>!a.isPending)&&s.some(a=>a.hasResult())&&(s=s.map(a=>a.hasResult()?new kt(a.source,0):a));for(let a of e.effects)a.is(nc)&&(o=o&&o.setSelected(a.value,this.id));return s==this.active&&o==this.open?this:new ko(s,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?WQ:NQ}}function jQ(t,e){if(t==e)return!0;for(let i=0,n=0;;){for(;i-1&&(i["aria-activedescendant"]=t+"-"+e),i}const YQ=[];function DO(t,e){if(t.isUserEvent("input.complete")){let n=t.annotation(ic);if(n&&e.activateOnCompletion(n))return 12}let i=t.isUserEvent("input.type");return i&&e.activateOnTyping?5:i?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}class kt{constructor(e,i,n=!1){this.source=e,this.state=i,this.explicit=n}hasResult(){return!1}get isPending(){return this.state==1}update(e,i){let n=DO(e,i),r=this;(n&8||n&16&&this.touches(e))&&(r=new kt(r.source,0)),n&4&&r.state==0&&(r=new kt(this.source,1)),r=r.updateFor(e,n);for(let s of e.effects)if(s.is(xo))r=new kt(r.source,1,s.value);else if(s.is(Ar))r=new kt(r.source,0);else if(s.is(rc))for(let o of s.value)o.source==r.source&&(r=o);return r}updateFor(e,i){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(zi(e.state))}}class hn extends kt{constructor(e,i,n,r,s,o){super(e,3,i),this.limit=n,this.result=r,this.from=s,this.to=o}hasResult(){return!0}updateFor(e,i){var n;if(!(i&3))return this.map(e.changes);let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes));let s=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),l=zi(e.state);if(l>o||!r||i&2&&(zi(e.startState)==this.from||li.map(e))}}),He=nt.define({create(){return ko.start()},update(t,e){return t.update(e)},provide:t=>[Bu.from(t,e=>e.tooltip),Y.contentAttributes.from(t,e=>e.attrs)]});function sc(t,e){const i=e.completion.apply||e.completion.label;let n=t.state.field(He).active.find(r=>r.source==e.source);return n instanceof hn?(typeof i=="string"?t.dispatch({...MQ(t.state,i,n.from,n.to),annotations:ic.of(e.completion)}):i(t,e.completion,n.from,n.to),!0):!1}const UQ=BQ(He,sc);function Qs(t,e="option"){return i=>{let n=i.state.field(He,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp-1?n.open.selected+r*(t?1:-1):t?0:o-1;return l<0?l=e=="page"?0:o-1:l>=o&&(l=e=="page"?o-1:0),i.dispatch({effects:nc.of(l)}),!0}}const HQ=t=>{let e=t.state.field(He,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampt.state.field(He,!1)?(t.dispatch({effects:xo.of(!0)}),!0):!1,KQ=t=>{let e=t.state.field(He,!1);return!e||!e.active.some(i=>i.state!=0)?!1:(t.dispatch({effects:Ar.of(null)}),!0)};class JQ{constructor(e,i){this.active=e,this.context=i,this.time=Date.now(),this.updates=[],this.done=void 0}}const e$=50,t$=1e3,i$=tt.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(He).active)e.isPending&&this.startQuery(e)}update(t){let e=t.state.field(He),i=t.state.facet(Ie);if(!t.selectionSet&&!t.docChanged&&t.startState.field(He)==e)return;let n=t.transactions.some(s=>{let o=DO(s,i);return o&8||(s.selection||s.docChanged)&&!(o&3)});for(let s=0;se$&&Date.now()-o.time>t$){for(let l of o.context.abortListeners)try{l()}catch(a){ft(this.view.state,a)}o.context.abortListeners=null,this.running.splice(s--,1)}else o.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(s=>s.effects.some(o=>o.is(xo)))&&(this.pendingStart=!0);let r=this.pendingStart?50:i.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(s=>s.isPending&&!this.running.some(o=>o.active.source==s.source))?setTimeout(()=>this.startUpdate(),r):-1,this.composing!=0)for(let s of t.transactions)s.isUserEvent("input.type")?this.composing=2:this.composing==2&&s.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(He);for(let i of e.active)i.isPending&&!this.running.some(n=>n.active.source==i.source)&&this.startQuery(i);this.running.length&&e.open&&e.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Ie).updateSyncTime))}startQuery(t){let{state:e}=this.view,i=zi(e),n=new tc(e,i,t.explicit,this.view),r=new JQ(t,n);this.running.push(r),Promise.resolve(t.source(n)).then(s=>{r.context.aborted||(r.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:Ar.of(null)}),ft(this.view.state,s)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Ie).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],i=this.view.state.facet(Ie),n=this.view.state.field(He);for(let r=0;rl.source==s.active.source);if(o&&o.isPending)if(s.done==null){let l=new kt(s.active.source,0);for(let a of s.updates)l=l.update(a,i);l.isPending||e.push(l)}else this.startQuery(o)}(e.length||n.open&&n.open.disabled)&&this.view.dispatch({effects:rc.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(He,!1);if(e&&e.tooltip&&this.view.state.facet(Ie).closeOnBlur){let i=e.open&&$0(this.view,e.open.tooltip);(!i||!i.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Ar.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:xo.of(!1)}),20),this.composing=0}}}),n$=typeof navigator=="object"&&/Win/.test(navigator.platform),r$=si.highest(Y.domEventHandlers({keydown(t,e){let i=e.state.field(He,!1);if(!i||!i.open||i.open.disabled||i.open.selected<0||t.key.length>1||t.ctrlKey&&!(n$&&t.altKey)||t.metaKey)return!1;let n=i.open.options[i.open.selected],r=i.active.find(o=>o.source==n.source),s=n.completion.commitCharacters||r.result.commitCharacters;return s&&s.indexOf(t.key)>-1&&sc(e,n),!1}})),MO=Y.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class s${constructor(e,i,n,r){this.field=e,this.line=i,this.from=n,this.to=r}}class oc{constructor(e,i,n){this.field=e,this.from=i,this.to=n}map(e){let i=e.mapPos(this.from,-1,We.TrackDel),n=e.mapPos(this.to,1,We.TrackDel);return i==null||n==null?null:new oc(this.field,i,n)}}class lc{constructor(e,i){this.lines=e,this.fieldPositions=i}instantiate(e,i){let n=[],r=[i],s=e.doc.lineAt(i),o=/^\s*/.exec(s.text)[0];for(let a of this.lines){if(n.length){let u=o,c=/^\t*/.exec(a)[0].length;for(let h=0;hnew oc(a.field,r[a.line]+a.from,r[a.line]+a.to));return{text:n,ranges:l}}static parse(e){let i=[],n=[],r=[],s;for(let o of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(o);){let l=s[1]?+s[1]:null,a=s[2]||s[3]||"",u=-1,c=a.replace(/\\[{}]/g,h=>h[1]);for(let h=0;h=u&&d.field++}for(let h of r)if(h.line==n.length&&h.from>s.index){let d=s[2]?3+(s[1]||"").length:2;h.from-=d,h.to-=d}r.push(new s$(u,n.length,s.index,s.index+c.length)),o=o.slice(0,s.index)+a+o.slice(s.index+s[0].length)}o=o.replace(/\\([{}])/g,(l,a,u)=>{for(let c of r)c.line==n.length&&c.from>u&&(c.from--,c.to--);return a}),n.push(o)}return new lc(n,r)}}let o$=me.widget({widget:new class extends Ni{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),l$=me.mark({class:"cm-snippetField"});class In{constructor(e,i){this.ranges=e,this.active=i,this.deco=me.set(e.map(n=>(n.from==n.to?o$:l$).range(n.from,n.to)),!0)}map(e){let i=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;i.push(r)}return new In(i,this.active)}selectionInsideField(e){return e.ranges.every(i=>this.ranges.some(n=>n.field==this.active&&n.from<=i.from&&n.to>=i.to))}}const Jr=se.define({map(t,e){return t&&t.map(e)}}),a$=se.define(),Er=nt.define({create(){return null},update(t,e){for(let i of e.effects){if(i.is(Jr))return i.value;if(i.is(a$)&&t)return new In(t.ranges,i.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>Y.decorations.from(t,e=>e?e.deco:me.none)});function ac(t,e){return L.create(t.filter(i=>i.field==e).map(i=>L.range(i.from,i.to)))}function u$(t){let e=lc.parse(t);return(i,n,r,s)=>{let{text:o,ranges:l}=e.instantiate(i.state,r),{main:a}=i.state.selection,u={changes:{from:r,to:s==a.from?a.to:s,insert:ce.of(o)},scrollIntoView:!0,annotations:n?[ic.of(n),Ae.userEvent.of("input.complete")]:void 0};if(l.length&&(u.selection=ac(l,0)),l.some(c=>c.field>0)){let c=new In(l,0),h=u.effects=[Jr.of(c)];i.state.field(Er,!1)===void 0&&h.push(se.appendConfig.of([Er,p$,m$,MO]))}i.dispatch(i.state.update(u))}}function RO(t){return({state:e,dispatch:i})=>{let n=e.field(Er,!1);if(!n||t<0&&n.active==0)return!1;let r=n.active+t,s=t>0&&!n.ranges.some(o=>o.field==r+t);return i(e.update({selection:ac(n.ranges,r),effects:Jr.of(s?null:new In(n.ranges,r)),scrollIntoView:!0})),!0}}const c$=({state:t,dispatch:e})=>t.field(Er,!1)?(e(t.update({effects:Jr.of(null)})),!0):!1,h$=RO(1),d$=RO(-1),f$=[{key:"Tab",run:h$,shift:d$},{key:"Escape",run:c$}],Nd=G.define({combine(t){return t.length?t[0]:f$}}),p$=si.highest(Gr.compute([Nd],t=>t.facet(Nd)));function Ue(t,e){return{...e,apply:u$(t)}}const m$=Y.domEventHandlers({mousedown(t,e){let i=e.state.field(Er,!1),n;if(!i||(n=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let r=i.ranges.find(s=>s.from<=n&&s.to>=n);return!r||r.field==i.active?!1:(e.dispatch({selection:ac(i.ranges,r.field),effects:Jr.of(i.ranges.some(s=>s.field>r.field)?new In(i.ranges,r.field):null),scrollIntoView:!0}),!0)}}),IO=new class extends vi{};IO.startSide=1;IO.endSide=-1;function O$(t={}){return[r$,He,Ie.of(t),i$,b$,MO]}const g$=[{key:"Ctrl-Space",run:Ll},{mac:"Alt-`",run:Ll},{mac:"Alt-i",run:Ll},{key:"Escape",run:KQ},{key:"ArrowDown",run:Qs(!0)},{key:"ArrowUp",run:Qs(!1)},{key:"PageDown",run:Qs(!0,"page")},{key:"PageUp",run:Qs(!1,"page")},{key:"Enter",run:HQ}],b$=si.highest(Gr.computeN([Ie],t=>t.facet(Ie).defaultKeymap?[g$]:[]));class yo{static create(e,i,n,r,s){let o=r+(r<<8)+e+(i<<4)|0;return new yo(e,i,n,o,s,[],[])}constructor(e,i,n,r,s,o,l){this.type=e,this.value=i,this.from=n,this.hash=r,this.end=s,this.children=o,this.positions=l,this.hashProp=[[ie.contextHash,r]]}addChild(e,i){e.prop(ie.contextHash)!=this.hash&&(e=new oe(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(i)}toTree(e,i=this.end){let n=this.children.length-1;return n>=0&&(i=Math.max(i,this.positions[n]+this.children[n].length+this.from)),new oe(e.types[this.type],this.children,this.positions,i-this.from).balance({makeTree:(r,s,o)=>new oe(Ee.none,r,s,o,this.hashProp)})}}var V;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.Autolink=33]="Autolink",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel",t[t.URL=44]="URL"})(V||(V={}));class x${constructor(e,i){this.start=e,this.content=i,this.marks=[],this.parsers=[]}}class k${constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return fr(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,i=0,n=0){for(let r=i;r=e.stack[i.depth+1].value+i.baseIndent)return!0;if(i.indent>=i.baseIndent+4)return!1;let n=(t.type==V.OrderedList?hc:cc)(i,e,!1);return n>0&&(t.type!=V.BulletList||uc(i,e,!1)<0)&&i.text.charCodeAt(i.pos+n-1)==t.value}const ZO={[V.Blockquote](t,e,i){return i.next!=62?!1:(i.markers.push(ae(V.QuoteMark,e.lineStart+i.pos,e.lineStart+i.pos+1)),i.moveBase(i.pos+($t(i.text.charCodeAt(i.pos+1))?2:1)),t.end=e.lineStart+i.text.length,!0)},[V.ListItem](t,e,i){return i.indent-1?!1:(i.moveBaseColumn(i.baseIndent+t.value),!0)},[V.OrderedList]:Yd,[V.BulletList]:Yd,[V.Document](){return!0}};function $t(t){return t==32||t==9||t==10||t==13}function fr(t,e=0){for(;ei&&$t(t.charCodeAt(e-1));)e--;return e}function zO(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e-1&&t.depth==e.stack.length&&e.parser.leafBlockParsers.indexOf(NO.SetextHeading)>-1||n<3?-1:1}function FO(t,e){for(let i=t.stack.length-1;i>=0;i--)if(t.stack[i].type==e)return!0;return!1}function cc(t,e,i){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||$t(t.text.charCodeAt(t.pos+1)))&&(!i||FO(e,V.BulletList)||t.skipSpace(t.pos+2)=48&&r<=57;){n++;if(n==t.text.length)return-1;r=t.text.charCodeAt(n)}return n==t.pos||n>t.pos+9||r!=46&&r!=41||nt.pos+1||t.next!=49)?-1:n+1-t.pos}function BO(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e6?-1:i}function VO(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e/,jO=/\?>/,su=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(n);if(s)return t.append(ae(V.Comment,i,i+1+s[0].length));let o=/^\?[^]*?\?>/.exec(n);if(o)return t.append(ae(V.ProcessingInstruction,i,i+1+o[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);return l?t.append(ae(V.HTMLTag,i,i+1+l[0].length)):-1},Emphasis(t,e,i){if(e!=95&&e!=42)return-1;let n=i+1;for(;t.char(n)==e;)n++;let r=t.slice(i-1,i),s=t.slice(n,n+1),o=Dr.test(r),l=Dr.test(s),a=/\s|^$/.test(r),u=/\s|^$/.test(s),c=!u&&(!l||a||o),h=!a&&(!o||u||l),d=c&&(e==42||!h||o),f=h&&(e==42||!c||l);return t.append(new ut(e==95?KO:JO,i,n,(d?1:0)|(f?2:0)))},HardBreak(t,e,i){if(e==92&&t.char(i+1)==10)return t.append(ae(V.HardBreak,i,i+2));if(e==32){let n=i+1;for(;t.char(n)==32;)n++;if(t.char(n)==10&&n>=i+2)return t.append(ae(V.HardBreak,i,n+1))}return-1},Link(t,e,i){return e==91?t.append(new ut(Mi,i,i+1,1)):-1},Image(t,e,i){return e==33&&t.char(i+1)==91?t.append(new ut(vo,i,i+2,1)):-1},LinkEnd(t,e,i){if(e!=93)return-1;for(let n=t.parts.length-1;n>=0;n--){let r=t.parts[n];if(r instanceof ut&&(r.type==Mi||r.type==vo)){if(!r.side||t.skipSpace(r.to)==i&&!/[(\[]/.test(t.slice(i+1,i+2)))return t.parts[n]=null,-1;let s=t.takeContent(n),o=t.parts[n]=$$(t,s,r.type==Mi?V.Link:V.Image,r.from,i+1);if(r.type==Mi)for(let l=0;le?ae(V.URL,e+i,s+i):s==t.length?null:!1}}function tg(t,e,i){let n=t.charCodeAt(e);if(n!=39&&n!=34&&n!=40)return!1;let r=n==40?41:n;for(let s=e+1,o=!1;s=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,i){return this.text.slice(e-this.offset,i-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,i,n,r,s){return this.append(new ut(e,i,n,(r?1:0)|(s?2:0)))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let i=this.parts[e];if(i instanceof ut&&(i.type==Mi||i.type==vo))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let n=e;n=e;a--){let m=this.parts[a];if(m instanceof ut&&m.side&1&&m.type==r.type&&!(s&&(r.side&1||m.side&2)&&(m.to-m.from+o)%3==0&&((m.to-m.from)%3||o%3))){l=m;break}}if(!l)continue;let u=r.type.resolve,c=[],h=l.from,d=r.to;if(s){let m=Math.min(2,l.to-l.from,o);h=l.to-m,d=r.from+m,u=m==1?"Emphasis":"StrongEmphasis"}l.type.mark&&c.push(this.elt(l.type.mark,h,l.to));for(let m=a+1;m=0;i--){let n=this.parts[i];if(n instanceof ut&&n.type==e&&n.side&1)return i}return null}takeContent(e){let i=this.resolveMarkers(e);return this.parts.length=e,i}getDelimiterAt(e){let i=this.parts[e];return i instanceof ut?i:null}skipSpace(e){return fr(this.text,e-this.offset)+this.offset}elt(e,i,n,r){return typeof e=="string"?ae(this.parser.getNodeType(e),i,n,r):new HO(e,i)}}dc.linkStart=Mi;dc.imageStart=vo;function lu(t,e){if(!e.length)return t;if(!t.length)return e;let i=t.slice(),n=0;for(let r of e){for(;n(e?e-1:0))return!1;if(this.fragmentEnd<0){let s=this.fragment.to;for(;s>0&&this.input.read(s-1,s)!=` +`;)s--;this.fragmentEnd=s?s-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=i;if(!n.childAfter(r))return!1}}matches(e){let i=this.cursor.tree;return i&&i.prop(ie.contextHash)==e}takeNodes(e){let i=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),s=e.absoluteLineStart,o=s,l=e.block.children.length,a=o,u=l;for(;;){if(i.to-n>r){if(i.type.isAnonymous&&i.firstChild())continue;break}let c=ng(i.from-n,e.ranges);if(i.to-n<=e.ranges[e.rangeI].to)e.addNode(i.tree,c);else{let h=new oe(e.parser.nodeSet.types[V.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(h,i.tree),e.addNode(h,c)}if(i.type.is("Block")&&(T$.indexOf(i.type.id)<0?(o=i.to-n,l=e.block.children.length):(o=a,l=u),a=i.to-n,u=e.block.children.length),!i.nextSibling())break}for(;e.block.children.length>l;)e.block.children.pop(),e.block.positions.pop();return o-s}};function ng(t,e){let i=t;for(let n=1;n$s[t]),Object.keys($s).map(t=>NO[t]),Object.keys($s),S$,ZO,Object.keys(Ml).map(t=>Ml[t]),Object.keys(Ml),[]);function A$(t,e,i){let n=[];for(let r=t.firstChild,s=e;;r=r.nextSibling){let o=r?r.from:i;if(o>s&&n.push({from:s,to:o}),!r)break;s=r.to}return n}function E$(t){let{codeParser:e,htmlParser:i}=t;return{wrap:I0((r,s)=>{let o=r.type.id;if(e&&(o==V.CodeBlock||o==V.FencedCode)){let l="";if(o==V.FencedCode){let u=r.node.getChild(V.CodeInfo);u&&(l=s.read(u.from,u.to))}let a=e(l);if(a)return{parser:a,overlay:u=>u.type.id==V.CodeText,bracketed:o==V.FencedCode}}else if(i&&(o==V.HTMLBlock||o==V.HTMLTag||o==V.CommentBlock))return{parser:i,overlay:A$(r.node,r.from,r.to)};return null})}}const L$={resolve:"Strikethrough",mark:"StrikethroughMark"},D$={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":v.strikethrough}},{name:"StrikethroughMark",style:v.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,i){if(e!=126||t.char(i+1)!=126||t.char(i+2)==126)return-1;let n=t.slice(i-1,i),r=t.slice(i+2,i+3),s=/\s|^$/.test(n),o=/\s|^$/.test(r),l=Dr.test(n),a=Dr.test(r);return t.addDelimiter(L$,i,i+2,!o&&(!a||s||l),!s&&(!l||o||a))},after:"Emphasis"}]};function pr(t,e,i=0,n,r=0){let s=0,o=!0,l=-1,a=-1,u=!1,c=()=>{n.push(t.elt("TableCell",r+l,r+a,t.parser.parseInline(e.slice(l,a),r+l)))};for(let h=i;h-1)&&s++,o=!1,n&&(l>-1&&c(),n.push(t.elt("TableDelimiter",h+r,h+r+1))),l=a=-1):(u||d!=32&&d!=9)&&(l<0&&(l=h),a=h+1),u=!u&&d==92}return l>-1&&(s++,n&&c()),s}function Kd(t,e){for(let i=e;ir instanceof Jd)||!Kd(e.text,e.basePos))return!1;let n=t.peekLine();return rg.test(n)&&pr(t,e.text,e.basePos)==pr(t,n,e.basePos)},before:"SetextHeading"}]};class R${nextLine(){return!1}finish(e,i){return e.addLeafElement(i,e.elt("Task",i.start,i.start+i.content.length,[e.elt("TaskMarker",i.start,i.start+3),...e.parser.parseInline(i.content.slice(3),i.start+3)])),!0}}const I$={defineNodes:[{name:"Task",block:!0,style:v.list},{name:"TaskMarker",style:v.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\][ \t]/.test(e.content)&&t.parentType().name=="ListItem"?new R$:null},after:"SetextHeading"}]},ef=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,tf=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,Z$=/[\w-]+\.[\w-]+($|\/)/,nf=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,rf=/\/[a-zA-Z\d@.]+/gy;function sf(t,e,i,n){let r=0;for(let s=e;s-1)return-1;let n=e+i[0].length;for(;;){let r=t[n-1],s;if(/[?!.,:*_~]/.test(r)||r==")"&&sf(t,e,n,")")>sf(t,e,n,"("))n--;else if(r==";"&&(s=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(t.slice(e,n))))n=e+s.index;else break}return n}function of(t,e){nf.lastIndex=e;let i=nf.exec(t);if(!i)return-1;let n=i[0][i[0].length-1];return n=="_"||n=="-"?-1:e+i[0].length-(n=="."?1:0)}const X$={parseInline:[{name:"Autolink",parse(t,e,i){let n=i-t.offset;if(n&&/\w/.test(t.text[n-1]))return-1;ef.lastIndex=n;let r=ef.exec(t.text),s=-1;if(!r)return-1;if(r[1]||r[2]){if(s=z$(t.text,n+r[0].length),s>-1&&t.hasOpenLink){let o=/([^\[\]]|\[[^\]]*\])*/.exec(t.text.slice(n,s));s=n+o[0].length}}else r[3]?s=of(t.text,n):(s=of(t.text,n+r[0].length),s>-1&&r[0]=="xmpp:"&&(rf.lastIndex=s,r=rf.exec(t.text),r&&(s=r.index+r[0].length)));return s<0?-1:(t.addElement(t.elt("URL",i,s+t.offset)),s+t.offset)}}]},F$=[M$,I$,D$,X$];function sg(t,e,i){return(n,r,s)=>{if(r!=t||n.char(s+1)==t)return-1;let o=[n.elt(i,s,s+1)];for(let l=s+1;li%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,i,n=0){let r=e.parser.context;return new So(e,[],i,n,n,0,[],0,r?new af(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,i){this.stack.push(this.state,i,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var i;let n=e>>19,r=e&65535,{parser:s}=this.p,o=this.reducePos=2e3&&!(!((i=this.p.parser.nodeSet.types[r])===null||i===void 0)&&i.isAnonymous)&&(u==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSizea;)this.stack.pop();this.reduceContext(r,u)}storeNode(e,i,n,r=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[l-4]==0&&o.buffer[l-1]>-1){if(i==n)return;if(o.buffer[l-2]>=i){o.buffer[l-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(e,i,n,r);else{let o=this.buffer.length;if(o>0&&(this.buffer[o-4]!=0||this.buffer[o-1]<0)){let l=!1;for(let a=o;a>0&&this.buffer[a-2]>n;a-=4)if(this.buffer[a-1]>=0){l=!0;break}if(l)for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4)}this.buffer[o]=e,this.buffer[o+1]=i,this.buffer[o+2]=n,this.buffer[o+3]=r}}shift(e,i,n,r){if(e&131072)this.pushState(e&65535,this.pos);else if((e&262144)==0){let s=e,{parser:o}=this.p;this.pos=r;let l=o.stateFlag(s,1);!l&&(r>n||i<=o.maxNode)&&(this.reducePos=r),this.pushState(s,l?n:Math.min(n,this.reducePos)),this.shiftContext(i,n),i<=o.maxNode&&this.buffer.push(i,n,r,4)}else this.pos=r,this.shiftContext(i,n),i<=this.p.parser.maxNode&&this.buffer.push(i,n,r,4)}apply(e,i,n,r){e&65536?this.reduce(e):this.shift(e,i,n,r)}useNode(e,i){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(i,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,i=e.buffer.length;for(;i>0&&e.buffer[i-2]>e.reducePos;)i-=4;let n=e.buffer.slice(i),r=e.bufferBase+i;for(;e&&r==e.bufferBase;)e=e.parent;return new So(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,i){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,i,4),this.storeNode(0,this.pos,i,n?8:4),this.pos=this.reducePos=i,this.score-=190}canShift(e){for(let i=new j$(this);;){let n=this.p.parser.stateSlot(i.state,4)||this.p.parser.hasAction(i.state,e);if(n==0)return!1;if((n&65536)==0)return!0;i.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let i=this.p.parser.nextStates(this.state);if(i.length>8||this.stack.length>=120){let r=[];for(let s=0,o;sa&1&&l==o)||r.push(i[s],o)}i=r}let n=[];for(let r=0;r>19,r=i&65535,s=this.stack.length-n*3;if(s<0||e.getGoto(this.stack[s],r,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;i=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(i),!0}findForcedReduction(){let{parser:e}=this.p,i=[],n=(r,s)=>{if(!i.includes(r))return i.push(r),e.allActions(r,o=>{if(!(o&393216))if(o&65536){let l=(o>>19)-s;if(l>1){let a=o&65535,u=this.stack.length-l*3;if(u>=0&&e.getGoto(this.stack[u],a,!1)>=0)return l<<19|65536|a}}else{let l=n(o,s+1);if(l!=null)return l}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let i=0;i0&&this.emitLookAhead()}}class af{constructor(e,i){this.tracker=e,this.context=i,this.hash=e.strict?e.hash(i):0}}class j${constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let i=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],i,!0);this.state=r}}class wo{constructor(e,i,n){this.stack=e,this.pos=i,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,i=e.bufferBase+e.buffer.length){return new wo(e,i,i-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new wo(this.stack,this.pos,this.index)}}function Jn(t,e=Uint16Array){if(typeof t!="string")return t;let i=null;for(let n=0,r=0;n=92&&o--,o>=34&&o--;let a=o-32;if(a>=46&&(a-=46,l=!0),s+=a,l)break;s*=46}i?i[r++]=s:i=new e(s)}return i}class Ns{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const uf=new Ns;class W${constructor(e,i){this.input=e,this.ranges=i,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=uf,this.rangeIndex=0,this.pos=this.chunkPos=i[0].from,this.range=i[0],this.end=i[i.length-1].to,this.readNext()}resolveOffset(e,i){let n=this.range,r=this.rangeIndex,s=this.pos+e;for(;sn.to:s>=n.to;){if(r==this.ranges.length-1)return null;let o=this.ranges[++r];s+=o.from-n.to,n=o}return s}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,i.from);return this.end}peek(e){let i=this.chunkOff+e,n,r;if(i>=0&&i=this.chunk2Pos&&nl.to&&(this.chunk2=this.chunk2.slice(0,l.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,i=0){let n=i?this.resolveOffset(i,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,i){if(i?(this.token=i,i.start=e,i.lookAhead=e+1,i.value=i.extended=-1):this.token=uf,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&i<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,i-this.chunkPos);if(e>=this.chunk2Pos&&i<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,i-this.chunk2Pos);if(e>=this.range.from&&i<=this.range.to)return this.input.read(e,i);let n="";for(let r of this.ranges){if(r.from>=i)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,i)))}return n}}class dn{constructor(e,i){this.data=e,this.id=i}token(e,i){let{parser:n}=i.p;og(this.data,e,i,this.id,n.data,n.tokenPrecTable)}}dn.prototype.contextual=dn.prototype.fallback=dn.prototype.extend=!1;class Qo{constructor(e,i,n){this.precTable=i,this.elseToken=n,this.data=typeof e=="string"?Jn(e):e}token(e,i){let n=e.pos,r=0;for(;;){let s=e.next<0,o=e.resolveOffset(1,1);if(og(this.data,e,i,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(s||r++,o==null)break;e.reset(o,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}Qo.prototype.contextual=dn.prototype.fallback=dn.prototype.extend=!1;class Ot{constructor(e,i={}){this.token=e,this.contextual=!!i.contextual,this.fallback=!!i.fallback,this.extend=!!i.extend}}function og(t,e,i,n,r,s){let o=0,l=1<0){let p=t[f];if(a.allows(p)&&(e.token.value==-1||e.token.value==p||N$(p,e.token.value,r,s))){e.acceptToken(p);break}}let c=e.next,h=0,d=t[o+2];if(e.next<0&&d>h&&t[u+d*3-3]==65535){o=t[u+d*3-1];continue e}for(;h>1,p=u+f+(f<<1),m=t[p],O=t[p+1]||65536;if(c=O)h=f+1;else{o=t[p+2],e.advance();continue e}}break}}function cf(t,e,i){for(let n=e,r;(r=t[n])!=65535;n++)if(r==i)return n-e;return-1}function N$(t,e,i,n){let r=cf(i,n,e);return r<0||cf(i,n,t)e)&&!n.type.isError)return i<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(i<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return i<0?0:t.length}}class Y${constructor(e,i){this.fragments=e,this.nodeSet=i,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?hf(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?hf(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(s instanceof oe){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[i]++,this.nextStart=o+s.length}}}class G${constructor(e,i){this.stream=i,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Ns)}getActions(e){let i=0,n=null,{parser:r}=e.p,{tokenizers:s}=r,o=r.stateSlot(e.state,3),l=e.curContext?e.curContext.hash:0,a=0;for(let u=0;uh.end+25&&(a=Math.max(h.lookAhead,a)),h.value!=0)){let d=i;if(h.extended>-1&&(i=this.addActions(e,h.extended,h.end,i)),i=this.addActions(e,h.value,h.end,i),!c.extend&&(n=h,i>d))break}}for(;this.actions.length>i;)this.actions.pop();return a&&e.setLookAhead(a),!n&&e.pos==this.stream.end&&(n=new Ns,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,i=this.addActions(e,n.value,n.end,i)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let i=new Ns,{pos:n,p:r}=e;return i.start=n,i.end=Math.min(n+1,r.stream.end),i.value=n==r.stream.end?r.parser.eofTerm:0,i}updateCachedToken(e,i,n){let r=this.stream.clipPos(n.pos);if(i.token(this.stream.reset(r,e),n),e.value>-1){let{parser:s}=n.p;for(let o=0;o=0&&n.p.parser.dialect.allows(l>>1)){(l&1)==0?e.value=l>>1:e.extended=l>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,i,n,r){for(let s=0;se.bufferLength*4?new Y$(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,i=this.minStackPos,n=this.stacks=[],r,s;if(this.bigReductionCount>300&&e.length==1){let[o]=e;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;oi)n.push(l);else{if(this.advanceStack(l,n,e))continue;{r||(r=[],s=[]),r.push(l);let a=this.tokens.getMainToken(l);s.push(a.value,a.end)}}break}}if(!n.length){let o=r&&K$(r);if(o)return rt&&console.log("Finish with "+this.stackID(o)),this.stackToTree(o);if(this.parser.strict)throw rt&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&r){let o=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,n);if(o)return rt&&console.log("Force-finish "+this.stackID(o)),this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(n.length>o)for(n.sort((l,a)=>a.score-l.score);n.length>o;)n.pop();n.some(l=>l.reducePos>i)&&this.recovering--}else if(n.length>1){e:for(let o=0;o500&&u.buffer.length>500)if((l.score-u.score||l.buffer.length-u.buffer.length)>0)n.splice(a--,1);else{n.splice(o--,1);continue e}}}n.length>12&&(n.sort((o,l)=>l.score-o.score),n.splice(12,n.length-12))}this.minStackPos=n[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let u=e.curContext&&e.curContext.tracker.strict,c=u?e.curContext.hash:0;for(let h=this.fragments.nodeAt(r);h;){let d=this.parser.nodeSet.types[h.type.id]==h.type?s.getGoto(e.state,h.type.id):-1;if(d>-1&&h.length&&(!u||(h.prop(ie.contextHash)||0)==c))return e.useNode(h,d),rt&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(h.type.id)})`),!0;if(!(h instanceof oe)||h.children.length==0||h.positions[0]>0)break;let f=h.children[0];if(f instanceof oe&&h.positions[0]==0)h=f;else break}}let l=s.stateSlot(e.state,4);if(l>0)return e.reduce(l),rt&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(l&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let u=0;ur?i.push(p):n.push(p)}return!1}advanceFully(e,i){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return df(e,i),!0}}runRecovery(e,i,n){let r=null,s=!1;for(let o=0;o ":"";if(l.deadEnd&&(s||(s=!0,l.restart(),rt&&console.log(c+this.stackID(l)+" (restarted)"),this.advanceFully(l,n))))continue;let h=l.split(),d=c;for(let f=0;f<10&&h.forceReduce()&&(rt&&console.log(d+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));f++)rt&&(d=this.stackID(h)+" -> ");for(let f of l.recoverByInsert(a))rt&&console.log(c+this.stackID(f)+" (via recover-insert)"),this.advanceFully(f,n);this.stream.end>l.pos?(u==l.pos&&(u++,a=0),l.recoverByDelete(a,u),rt&&console.log(c+this.stackID(l)+` (via recover-delete ${this.parser.getName(a)})`),df(l,n)):(!r||r.scoret;class lg{constructor(e){this.start=e.start,this.shift=e.shift||Il,this.reduce=e.reduce||Il,this.reuse=e.reuse||Il,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Tn extends Wo{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let i=e.nodeNames.split(" ");this.minRepeatTerm=i.length;for(let l=0;le.topRules[l][1]),r=[];for(let l=0;l=0)s(c,a,l[u++]);else{let h=l[u+-c];for(let d=-c;d>0;d--)s(l[u++],a,h);u++}}}this.nodeSet=new En(i.map((l,a)=>Ee.define({name:a>=this.minRepeatTerm?void 0:l,id:a,props:r[a],top:n.indexOf(a)>-1,error:a==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(a)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=E0;let o=Jn(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let l=0;ltypeof l=="number"?new dn(o,l):l),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,i,n){let r=new U$(this,e,i,n);for(let s of this.wrappers)r=s(r,e,i,n);return r}getGoto(e,i,n=!1){let r=this.goto;if(i>=r[0])return-1;for(let s=r[i+1];;){let o=r[s++],l=o&1,a=r[s++];if(l&&n)return a;for(let u=s+(o>>1);s0}validAction(e,i){return!!this.allActions(e,n=>n==i?!0:null)}allActions(e,i){let n=this.stateSlot(e,4),r=n?i(n):void 0;for(let s=this.stateSlot(e,1);r==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=Ht(this.data,s+2);else break;r=i(Ht(this.data,s+1))}return r}nextStates(e){let i=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Ht(this.data,n+2);else break;if((this.data[n+2]&1)==0){let r=this.data[n+1];i.some((s,o)=>o&1&&s==r)||i.push(this.data[n],r)}}return i}configure(e){let i=Object.assign(Object.create(Tn.prototype),this);if(e.props&&(i.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);i.top=n}return e.tokenizers&&(i.tokenizers=this.tokenizers.map(n=>{let r=e.tokenizers.find(s=>s.from==n);return r?r.to:n})),e.specializers&&(i.specializers=this.specializers.slice(),i.specializerSpecs=this.specializerSpecs.map((n,r)=>{let s=e.specializers.find(l=>l.from==n.external);if(!s)return n;let o=Object.assign(Object.assign({},n),{external:s.to});return i.specializers[r]=ff(o),o})),e.contextTracker&&(i.context=e.contextTracker),e.dialect&&(i.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(i.strict=e.strict),e.wrap&&(i.wrappers=i.wrappers.concat(e.wrap)),e.bufferLength!=null&&(i.bufferLength=e.bufferLength),i}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let i=this.dynamicPrecedences;return i==null?0:i[e]||0}parseDialect(e){let i=Object.keys(this.dialects),n=i.map(()=>!1);if(e)for(let s of e.split(" ")){let o=i.indexOf(s);o>=0&&(n[o]=!0)}let r=null;for(let s=0;sn)&&i.p.parser.stateFlag(i.state,2)&&(!e||e.scoret.external(i,n)<<1|e}return t.get}const J$=55,eT=1,tT=56,iT=2,nT=57,rT=3,pf=4,sT=5,fc=6,ag=7,ug=8,cg=9,hg=10,oT=11,lT=12,aT=13,Zl=58,uT=14,cT=15,mf=59,dg=21,hT=23,fg=24,dT=25,au=27,pg=28,fT=29,pT=32,mT=35,OT=37,gT=38,bT=0,xT=1,kT={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},yT={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},Of={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function vT(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}let gf=null,bf=null,xf=0;function uu(t,e){let i=t.pos+e;if(xf==i&&bf==t)return gf;let n=t.peek(e),r="";for(;vT(n);)r+=String.fromCharCode(n),n=t.peek(++e);return bf=t,xf=i,gf=r?r.toLowerCase():n==ST||n==wT?void 0:null}const mg=60,$o=62,pc=47,ST=63,wT=33,QT=45;function kf(t,e){this.name=t,this.parent=e}const $T=[fc,hg,ag,ug,cg],TT=new lg({start:null,shift(t,e,i,n){return $T.indexOf(e)>-1?new kf(uu(n,1)||"",t):t},reduce(t,e){return e==dg&&t?t.parent:t},reuse(t,e,i,n){let r=e.type.id;return r==fc||r==OT?new kf(uu(n,1)||"",t):t},strict:!1}),_T=new Ot((t,e)=>{if(t.next!=mg){t.next<0&&e.context&&t.acceptToken(Zl);return}t.advance();let i=t.next==pc;i&&t.advance();let n=uu(t,0);if(n===void 0)return;if(!n)return t.acceptToken(i?cT:uT);let r=e.context?e.context.name:null;if(i){if(n==r)return t.acceptToken(oT);if(r&&yT[r])return t.acceptToken(Zl,-2);if(e.dialectEnabled(bT))return t.acceptToken(lT);for(let s=e.context;s;s=s.parent)if(s.name==n)return;t.acceptToken(aT)}else{if(n=="script")return t.acceptToken(ag);if(n=="style")return t.acceptToken(ug);if(n=="textarea")return t.acceptToken(cg);if(kT.hasOwnProperty(n))return t.acceptToken(hg);r&&Of[r]&&Of[r][n]?t.acceptToken(Zl,-1):t.acceptToken(fc)}},{contextual:!0}),PT=new Ot(t=>{for(let e=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(mf);break}if(t.next==QT)e++;else if(t.next==$o&&e>=2){i>=3&&t.acceptToken(mf,-2);break}else e=0;t.advance()}});function CT(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}const AT=new Ot((t,e)=>{if(t.next==pc&&t.peek(1)==$o){let i=e.dialectEnabled(xT)||CT(e.context);t.acceptToken(i?sT:pf,2)}else t.next==$o&&t.acceptToken(pf,1)});function mc(t,e,i){let n=2+t.length;return new Ot(r=>{for(let s=0,o=0,l=0;;l++){if(r.next<0){l&&r.acceptToken(e);break}if(s==0&&r.next==mg||s==1&&r.next==pc||s>=2&&so?r.acceptToken(e,-o):r.acceptToken(i,-(o-2));break}else if((r.next==10||r.next==13)&&l){r.acceptToken(e,1);break}else s=o=0;r.advance()}})}const ET=mc("script",J$,eT),LT=mc("style",tT,iT),DT=mc("textarea",nT,rT),MT=Ln({"Text RawText IncompleteTag IncompleteCloseTag":v.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":v.angleBracket,TagName:v.tagName,"MismatchedCloseTag/TagName":[v.tagName,v.invalid],AttributeName:v.attributeName,"AttributeValue UnquotedAttributeValue":v.attributeValue,Is:v.definitionOperator,"EntityReference CharacterReference":v.character,Comment:v.blockComment,ProcessingInst:v.processingInstruction,DoctypeDecl:v.documentMeta}),RT=Tn.deserialize({version:14,states:",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa'#D_'#D_O&_OaO'#CyO&jOaO,59]OOOb'#D`'#D`O&rObO'#C|O&}ObO,59]OOOd'#Da'#DaO'VOdO'#DPO'bOdO,59]OOO`'#Db'#DbO'jO!rO,59]O'qQ#tO'#DSOOO`,59],59]OOOp'#Dc'#DcO'vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO'#CtOOQW'#D['#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO'#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO'#C}OOOd-E7_-E7_O){Q#tO'#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`1G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$mOOOd7+$p7+$pOOO`7+$s7+$sO*bQ#|O,59fO*gQ#|O,59iO*lQ#|O,59lOOO`1G/Y1G/YO*qO7[O'#CwO+SOMhO'#CwOOQW1G.z1G.zOOO`1G/Q1G/QOOO`1G/T1G/TOOO`1G/W1G/WOOOO'#D]'#D]O+eO7[O,59cOOQW,59c,59cOOOO'#D^'#D^O+vOMhO,59cOOOO-E7Z-E7ZOOQW1G.}1G.}OOOO-E7[-E7[",stateData:",c~O!_OS~OUSOVPOWQOXROYTO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O|_O!eZO~OgaO~OgbO~OgcO~OgdO~OgeO~O!XfOPmP![mP~O!YiOQpP![pP~O!ZlORsP![sP~OUSOVPOWQOXROYTOZqO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~",goto:"%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:68,context:TT,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,22,31,34,37,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,30,33,36,38,"OpenTag"],["group",-10,14,15,18,19,20,21,40,41,42,43,"Entity",17,"Entity TextContent",-3,29,32,35,"TextContent Entity"],["isolate",-11,22,30,31,33,34,36,37,38,39,42,43,"ltr",-3,27,28,40,""]],propSources:[MT],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zblWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOb!R!R7tP;=`<%l7S!Z8OYlWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{iiSlWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbiSlWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXiSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TalWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOc!R!RAwP;=`<%lAY!ZBRYlWc!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbiSlWc!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbiSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXiSc!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!cxaP!b`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYliSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_kiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_XaP!b`!dp!fQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZiSgQaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!b`!dpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!b`!dp!ePOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!b`!dpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!b`!dpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!b`!dpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!b`!dpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!b`!dpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!b`!dpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!b`!dpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!dpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO|PP!-nP;=`<%l!-Sq!-xS!dp|POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!b`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!b`|POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!b`!dp|POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!b`!dpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!b`!dpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!b`!dpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!b`!dpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!b`!dpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!b`!dpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!dpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let u=l.type.id;if(u==fT)return zl(l,a,i);if(u==pT)return zl(l,a,n);if(u==mT)return zl(l,a,r);if(u==dg&&s.length){let c=l.node,h=c.firstChild,d=h&&yf(h,a),f;if(d){for(let p of s)if(p.tag==d&&(!p.attrs||p.attrs(f||(f=Og(h,a))))){let m=c.lastChild,O=m.type.id==gT?m.from:c.to;if(O>h.to)return{parser:p.parser,overlay:[{from:h.to,to:O}]}}}}if(o&&u==fg){let c=l.node,h;if(h=c.firstChild){let d=o[a.read(h.from,h.to)];if(d)for(let f of d){if(f.tagName&&f.tagName!=yf(c.parent,a))continue;let p=c.lastChild;if(p.type.id==au){let m=p.from+1,O=p.lastChild,g=p.to-(O&&O.isError?0:1);if(g>m)return{parser:f.parser,overlay:[{from:m,to:g}],bracketed:!0}}else if(p.type.id==pg)return{parser:f.parser,overlay:[{from:p.from,to:p.to}]}}}}return null})}const IT=122,vf=1,ZT=123,zT=124,bg=2,XT=125,FT=3,BT=4,xg=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],VT=58,qT=40,kg=95,jT=91,Ys=45,WT=46,NT=35,YT=37,GT=38,UT=92,HT=10,KT=42;function Mr(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function Oc(t){return t>=48&&t<=57}function Sf(t){return Oc(t)||t>=97&&t<=102||t>=65&&t<=70}const yg=(t,e,i)=>(n,r)=>{for(let s=!1,o=0,l=0;;l++){let{next:a}=n;if(Mr(a)||a==Ys||a==kg||s&&Oc(a))!s&&(a!=Ys||l>0)&&(s=!0),o===l&&a==Ys&&o++,n.advance();else if(a==UT&&n.peek(1)!=HT){if(n.advance(),Sf(n.next)){do n.advance();while(Sf(n.next));n.next==32&&n.advance()}else n.next>-1&&n.advance();s=!0}else{s&&n.acceptToken(o==2&&r.canShift(bg)?e:a==qT?i:t);break}}},JT=new Ot(yg(ZT,bg,zT)),e_=new Ot(yg(XT,FT,BT)),t_=new Ot(t=>{if(xg.includes(t.peek(-1))){let{next:e}=t;(Mr(e)||e==kg||e==NT||e==WT||e==KT||e==jT||e==VT&&Mr(t.peek(1))||e==Ys||e==GT)&&t.acceptToken(IT)}}),i_=new Ot(t=>{if(!xg.includes(t.peek(-1))){let{next:e}=t;if(e==YT&&(t.advance(),t.acceptToken(vf)),Mr(e)){do t.advance();while(Mr(t.next)||Oc(t.next));t.acceptToken(vf)}}}),n_=Ln({"AtKeyword import charset namespace keyframes media supports":v.definitionKeyword,"from to selector":v.keyword,NamespaceName:v.namespace,KeyframeName:v.labelName,KeyframeRangeName:v.operatorKeyword,TagName:v.tagName,ClassName:v.className,PseudoClassName:v.constant(v.className),IdName:v.labelName,"FeatureName PropertyName":v.propertyName,AttributeName:v.attributeName,NumberLiteral:v.number,KeywordQuery:v.keyword,UnaryQueryOp:v.operatorKeyword,"CallTag ValueName":v.atom,VariableName:v.variableName,Callee:v.operatorKeyword,Unit:v.unit,"UniversalSelector NestingSelector":v.definitionOperator,"MatchOp CompareOp":v.compareOperator,"ChildOp SiblingOp, LogicOp":v.logicOperator,BinOp:v.arithmeticOperator,Important:v.modifier,Comment:v.blockComment,ColorLiteral:v.color,"ParenthesizedContent StringLiteral":v.string,":":v.punctuation,"PseudoOp #":v.derefOperator,"; ,":v.separator,"( )":v.paren,"[ ]":v.squareBracket,"{ }":v.brace}),r_={__proto__:null,lang:38,"nth-child":38,"nth-last-child":38,"nth-of-type":38,"nth-last-of-type":38,dir:38,"host-context":38,if:84,url:124,"url-prefix":124,domain:124,regexp:124},s_={__proto__:null,or:98,and:98,not:106,only:106,layer:170},o_={__proto__:null,selector:112,layer:166},l_={__proto__:null,"@import":162,"@media":174,"@charset":178,"@namespace":182,"@keyframes":188,"@supports":200,"@scope":204},a_={__proto__:null,to:207},u_=Tn.deserialize({version:14,states:"EbQYQdOOO#qQdOOP#xO`OOOOQP'#Cf'#CfOOQP'#Ce'#CeO#}QdO'#ChO$nQaO'#CcO$xQdO'#CkO%TQdO'#DpO%YQdO'#DrO%_QdO'#DuO%_QdO'#DxOOQP'#FV'#FVO&eQhO'#EhOOQS'#FU'#FUOOQS'#Ek'#EkQYQdOOO&lQdO'#EOO&PQhO'#EUO&lQdO'#EWO'aQdO'#EYO'lQdO'#E]O'tQhO'#EcO(VQdO'#EeO(bQaO'#CfO)VQ`O'#D{O)[Q`O'#F`O)gQdO'#F`QOQ`OOP)qO&jO'#CaPOOO)C@t)C@tOOQP'#Cj'#CjOOQP,59S,59SO#}QdO,59SO)|QdO,59VO%TQdO,5:[O%YQdO,5:^O%_QdO,5:aO%_QdO,5:cO%_QdO,5:dO%_QdO'#ErO*XQ`O,58}O*aQdO'#DzOOQS,58},58}OOQP'#Cn'#CnOOQO'#Dn'#DnOOQP,59V,59VO*hQ`O,59VO*mQ`O,59VOOQP'#Dq'#DqOOQP,5:[,5:[OOQO'#Ds'#DsO*rQpO,5:^O+]QaO,5:aO+sQaO,5:dOOQW'#DZ'#DZO,ZQhO'#DdO,xQhO'#FaO'tQhO'#DbO-WQ`O'#DhOOQW'#F['#F[O-]Q`O,5;SO-eQ`O'#DeOOQS-E8i-E8iOOQ['#Cs'#CsO-jQdO'#CtO.QQdO'#CzO.hQdO'#C}O/OQ!pO'#DPO1RQ!jO,5:jOOQO'#DU'#DUO*mQ`O'#DTO1cQ!nO'#FXO3`Q`O'#DVO3eQ`O'#DkOOQ['#FX'#FXO-`Q`O,5:pO3jQ!bO,5:rOOQS'#E['#E[O3rQ`O,5:tO3wQdO,5:tOOQO'#E_'#E_O4PQ`O,5:wO4UQhO,5:}O%_QdO'#DgOOQS,5;P,5;PO-eQ`O,5;PO4^QdO,5;PO4fQdO,5:gO4vQdO'#EtO5TQ`O,5;zO5TQ`O,5;zPOOO'#Ej'#EjP5`O&jO,58{POOO,58{,58{OOQP1G.n1G.nOOQP1G.q1G.qO*hQ`O1G.qO*mQ`O1G.qOOQP1G/v1G/vO5kQpO1G/xO5sQaO1G/{O6ZQaO1G/}O6qQaO1G0OO7XQaO,5;^OOQO-E8p-E8pOOQS1G.i1G.iO7cQ`O,5:fO7hQdO'#DoO7oQdO'#CrOOQP1G/x1G/xO&lQdO1G/xO7vQ!jO'#DZO8UQ!bO,59vO8^QhO,5:OOOQO'#F]'#F]O8XQ!bO,59zO'tQhO,59xO8fQhO'#EvO8sQ`O,5;{O9OQhO,59|O9uQhO'#DiOOQW,5:S,5:SOOQS1G0n1G0nOOQW,5:P,5:PO9|Q!fO'#FYOOQS'#FY'#FYOOQS'#Em'#EmO;^QdO,59`OOQ[,59`,59`O;tQdO,59fOOQ[,59f,59fO<[QdO,59iOOQ[,59i,59iOOQ[,59k,59kO&lQdO,59mOPQ!fO1G0ROOQO1G0R1G0ROOQO,5;`,5;`O>gQdO,5;`OOQO-E8r-E8rO>tQ`O1G1fPOOO-E8h-E8hPOOO1G.g1G.gOOQP7+$]7+$]OOQP7+%d7+%dO&lQdO7+%dOOQS1G0Q1G0QO?PQaO'#F_O?ZQ`O,5:ZO?`Q!fO'#ElO@^QdO'#FWO@hQ`O,59^O@mQ!bO7+%dO&lQdO1G/bO@uQhO1G/fOOQW1G/j1G/jOOQW1G/d1G/dOAWQhO,5;bOOQO-E8t-E8tOAfQhO'#DZOAtQhO'#F^OBPQ`O'#F^OBUQ`O,5:TOOQS-E8k-E8kOOQ[1G.z1G.zOOQ[1G/Q1G/QOOQ[1G/T1G/TOOQ[1G/X1G/XOBZQdO,5:lOOQS7+%p7+%pOB`Q`O7+%pOBeQhO'#DYOBmQ`O,59sO'tQhO,59sOOQ[1G/q1G/qOBuQ`O1G/qOOQS7+%z7+%zOBzQbO'#DPOOQO'#Eb'#EbOCYQ`O'#EaOOQO'#Ea'#EaOCeQ`O'#EwOCmQdO,5:zOOQS,5:z,5:zOOQ[1G/m1G/mOOQS7+&V7+&VO-`Q`O7+&VOCxQ!fO'#EsO&lQdO'#EsOEPQdO7+%mOOQO7+%m7+%mOOQO1G0z1G0zOEdQ!bO<jAN>jOIUQaO,5;]OOQO-E8o-E8oOI`QdO,5;[OOQO-E8n-E8nOOQW<WO&lQdO1G0uOK]Q`O7+'OOOQO,5;a,5;aOOQO-E8s-E8sOOQW<t}!O?V!O!P?t!P!Q@]!Q![AU![!]BP!]!^B{!^!_C^!_!`DY!`!aDm!a!b$q!b!cEn!c!}$q!}#OG{#O#P$q#P#QH^#Q#R6W#R#o$q#o#pHo#p#q6W#q#rIQ#r#sIc#s#y$q#y#z%i#z$f$q$f$g%i$g#BY$q#BY#BZ%i#BZ$IS$q$IS$I_%i$I_$I|$q$I|$JO%i$JO$JT$q$JT$JU%i$JU$KV$q$KV$KW%i$KW&FU$q&FU&FV%i&FV;'S$q;'S;=`Iz<%lO$q`$tSOy%Qz;'S%Q;'S;=`%c<%lO%Q`%VS!a`Oy%Qz;'S%Q;'S;=`%c<%lO%Q`%fP;=`<%l%Q~%nh#s~OX%QX^'Y^p%Qpq'Yqy%Qz#y%Q#y#z'Y#z$f%Q$f$g'Y$g#BY%Q#BY#BZ'Y#BZ$IS%Q$IS$I_'Y$I_$I|%Q$I|$JO'Y$JO$JT%Q$JT$JU'Y$JU$KV%Q$KV$KW'Y$KW&FU%Q&FU&FV'Y&FV;'S%Q;'S;=`%c<%lO%Q~'ah#s~!a`OX%QX^'Y^p%Qpq'Yqy%Qz#y%Q#y#z'Y#z$f%Q$f$g'Y$g#BY%Q#BY#BZ'Y#BZ$IS%Q$IS$I_'Y$I_$I|%Q$I|$JO'Y$JO$JT%Q$JT$JU'Y$JU$KV%Q$KV$KW'Y$KW&FU%Q&FU&FV'Y&FV;'S%Q;'S;=`%c<%lO%Qj)OUOy%Qz#]%Q#]#^)b#^;'S%Q;'S;=`%c<%lO%Qj)gU!a`Oy%Qz#a%Q#a#b)y#b;'S%Q;'S;=`%c<%lO%Qj*OU!a`Oy%Qz#d%Q#d#e*b#e;'S%Q;'S;=`%c<%lO%Qj*gU!a`Oy%Qz#c%Q#c#d*y#d;'S%Q;'S;=`%c<%lO%Qj+OU!a`Oy%Qz#f%Q#f#g+b#g;'S%Q;'S;=`%c<%lO%Qj+gU!a`Oy%Qz#h%Q#h#i+y#i;'S%Q;'S;=`%c<%lO%Qj,OU!a`Oy%Qz#T%Q#T#U,b#U;'S%Q;'S;=`%c<%lO%Qj,gU!a`Oy%Qz#b%Q#b#c,y#c;'S%Q;'S;=`%c<%lO%Qj-OU!a`Oy%Qz#h%Q#h#i-b#i;'S%Q;'S;=`%c<%lO%Qj-iS!qY!a`Oy%Qz;'S%Q;'S;=`%c<%lO%Q~-xWOY-uZr-urs.bs#O-u#O#P.g#P;'S-u;'S;=`/c<%lO-u~.gOt~~.jRO;'S-u;'S;=`.s;=`O-u~.vXOY-uZr-urs.bs#O-u#O#P.g#P;'S-u;'S;=`/c;=`<%l-u<%lO-u~/fP;=`<%l-uj/nYjYOy%Qz!Q%Q!Q![0^![!c%Q!c!i0^!i#T%Q#T#Z0^#Z;'S%Q;'S;=`%c<%lO%Qj0cY!a`Oy%Qz!Q%Q!Q![1R![!c%Q!c!i1R!i#T%Q#T#Z1R#Z;'S%Q;'S;=`%c<%lO%Qj1WY!a`Oy%Qz!Q%Q!Q![1v![!c%Q!c!i1v!i#T%Q#T#Z1v#Z;'S%Q;'S;=`%c<%lO%Qj1}YrY!a`Oy%Qz!Q%Q!Q![2m![!c%Q!c!i2m!i#T%Q#T#Z2m#Z;'S%Q;'S;=`%c<%lO%Qj2tYrY!a`Oy%Qz!Q%Q!Q![3d![!c%Q!c!i3d!i#T%Q#T#Z3d#Z;'S%Q;'S;=`%c<%lO%Qj3iY!a`Oy%Qz!Q%Q!Q![4X![!c%Q!c!i4X!i#T%Q#T#Z4X#Z;'S%Q;'S;=`%c<%lO%Qj4`YrY!a`Oy%Qz!Q%Q!Q![5O![!c%Q!c!i5O!i#T%Q#T#Z5O#Z;'S%Q;'S;=`%c<%lO%Qj5TY!a`Oy%Qz!Q%Q!Q![5s![!c%Q!c!i5s!i#T%Q#T#Z5s#Z;'S%Q;'S;=`%c<%lO%Qj5zSrY!a`Oy%Qz;'S%Q;'S;=`%c<%lO%Qd6ZUOy%Qz!_%Q!_!`6m!`;'S%Q;'S;=`%c<%lO%Qd6tS!hS!a`Oy%Qz;'S%Q;'S;=`%c<%lO%Qb7VSZQOy%Qz;'S%Q;'S;=`%c<%lO%Q~7fWOY7cZw7cwx.bx#O7c#O#P8O#P;'S7c;'S;=`8z<%lO7c~8RRO;'S7c;'S;=`8[;=`O7c~8_XOY7cZw7cwx.bx#O7c#O#P8O#P;'S7c;'S;=`8z;=`<%l7c<%lO7c~8}P;=`<%l7cj9VSeYOy%Qz;'S%Q;'S;=`%c<%lO%Q~9hOd~n9oUWQvWOy%Qz!_%Q!_!`6m!`;'S%Q;'S;=`%c<%lO%Qj:YWvW!mQOy%Qz!O%Q!O!P:r!P!Q%Q!Q![=w![;'S%Q;'S;=`%c<%lO%Qj:wU!a`Oy%Qz!Q%Q!Q![;Z![;'S%Q;'S;=`%c<%lO%Qj;bY!a`#}YOy%Qz!Q%Q!Q![;Z![!g%Q!g!hO[!a`#}YOy%Qz!O%Q!O!P;Z!P!Q%Q!Q![=w![!g%Q!g!hyS!^YOy%Qz;'S%Q;'S;=`%c<%lO%Qj?[WvWOy%Qz!O%Q!O!P:r!P!Q%Q!Q![=w![;'S%Q;'S;=`%c<%lO%Qj?yU]YOy%Qz!Q%Q!Q![;Z![;'S%Q;'S;=`%c<%lO%Q~@bTvWOy%Qz{@q{;'S%Q;'S;=`%c<%lO%Q~@xS!a`#t~Oy%Qz;'S%Q;'S;=`%c<%lO%QjAZ[#}YOy%Qz!O%Q!O!P;Z!P!Q%Q!Q![=w![!g%Q!g!hr_[t]||-1},{term:125,get:t=>s_[t]||-1},{term:4,get:t=>o_[t]||-1},{term:25,get:t=>l_[t]||-1},{term:123,get:t=>a_[t]||-1}],tokenPrec:1963});let Xl=null;function Fl(){if(!Xl&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],i=new Set;for(let n in t)n!="cssText"&&n!="cssFloat"&&typeof t[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,r=>"-"+r.toLowerCase())),i.has(n)||(e.push(n),i.add(n)));Xl=e.sort().map(n=>({type:"property",label:n,apply:n+": "}))}return Xl||[]}const wf=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(t=>({type:"class",label:t})),Qf=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),c_=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),h_=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(t=>({type:"keyword",label:t})),Ut=/^(\w[\w-]*|-\w[\w-]*|)$/,d_=/^-(-[\w-]*)?$/;function f_(t,e){var i;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let n=(i=t.parent)===null||i===void 0?void 0:i.firstChild;return n?.name!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const $f=new R0,p_=["Declaration"];function m_(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function vg(t,e,i){if(e.to-e.from>4096){let n=$f.get(e);if(n)return n;let r=[],s=new Set,o=e.cursor(pe.IncludeAnonymous);if(o.firstChild())do for(let l of vg(t,o.node,i))s.has(l.label)||(s.add(l.label),r.push(l));while(o.nextSibling());return $f.set(e,r),r}else{let n=[],r=new Set;return e.cursor().iterate(s=>{var o;if(i(s)&&s.matchContext(p_)&&((o=s.node.nextSibling)===null||o===void 0?void 0:o.name)==":"){let l=t.sliceString(s.from,s.to);r.has(l)||(r.add(l),n.push({label:l,type:"variable"}))}}),n}}const Sg=t=>e=>{let{state:i,pos:n}=e,r=Te(i).resolveInner(n,-1),s=r.type.isError&&r.from==r.to-1&&i.doc.sliceString(r.from,r.to)=="-";if(r.name=="PropertyName"||(s||r.name=="TagName")&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:Fl(),validFor:Ut};if(r.name=="ValueName")return{from:r.from,options:Qf,validFor:Ut};if(r.name=="PseudoClassName")return{from:r.from,options:wf,validFor:Ut};if(t(r)||(e.explicit||s)&&f_(r,i.doc))return{from:t(r)||s?r.from:n,options:vg(i.doc,m_(r),t),validFor:d_};if(r.name=="TagName"){for(let{parent:a}=r;a;a=a.parent)if(a.name=="Block")return{from:r.from,options:Fl(),validFor:Ut};return{from:r.from,options:c_,validFor:Ut}}if(r.name=="AtKeyword")return{from:r.from,options:h_,validFor:Ut};if(!e.explicit)return null;let o=r.resolve(n),l=o.childBefore(n);return l&&l.name==":"&&o.name=="PseudoClassSelector"?{from:n,options:wf,validFor:Ut}:l&&l.name==":"&&o.name=="Declaration"||o.name=="ArgList"?{from:n,options:Qf,validFor:Ut}:o.name=="Block"||o.name=="Styles"?{from:n,options:Fl(),validFor:Ut}:null},wg=Sg(t=>t.name=="VariableName"),Rr=vn.define({name:"css",parser:u_.configure({props:[Mn.add({Declaration:Ws()}),Ur.add({"Block KeyframeList":q0})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function Qg(){return new Qn(Rr,Rr.data.of({autocomplete:wg}))}const O_=Object.freeze(Object.defineProperty({__proto__:null,css:Qg,cssCompletionSource:wg,cssLanguage:Rr,defineCSSCompletionSource:Sg},Symbol.toStringTag,{value:"Module"})),g_=316,b_=317,Tf=1,x_=2,k_=3,y_=4,v_=318,S_=320,w_=321,Q_=5,$_=6,T_=0,cu=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],$g=125,__=59,hu=47,P_=42,C_=43,A_=45,E_=60,L_=44,D_=63,M_=46,R_=91,I_=new lg({start:!1,shift(t,e){return e==Q_||e==$_||e==S_?t:e==w_},strict:!1}),Z_=new Ot((t,e)=>{let{next:i}=t;(i==$g||i==-1||e.context)&&t.acceptToken(v_)},{contextual:!0,fallback:!0}),z_=new Ot((t,e)=>{let{next:i}=t,n;cu.indexOf(i)>-1||i==hu&&((n=t.peek(1))==hu||n==P_)||i!=$g&&i!=__&&i!=-1&&!e.context&&t.acceptToken(g_)},{contextual:!0}),X_=new Ot((t,e)=>{t.next==R_&&!e.context&&t.acceptToken(b_)},{contextual:!0}),F_=new Ot((t,e)=>{let{next:i}=t;if(i==C_||i==A_){if(t.advance(),i==t.next){t.advance();let n=!e.context&&e.canShift(Tf);t.acceptToken(n?Tf:x_)}}else i==D_&&t.peek(1)==M_&&(t.advance(),t.advance(),(t.next<48||t.next>57)&&t.acceptToken(k_))},{contextual:!0});function Bl(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}const B_=new Ot((t,e)=>{if(t.next!=E_||!e.dialectEnabled(T_)||(t.advance(),t.next==hu))return;let i=0;for(;cu.indexOf(t.next)>-1;)t.advance(),i++;if(Bl(t.next,!0)){for(t.advance(),i++;Bl(t.next,!1);)t.advance(),i++;for(;cu.indexOf(t.next)>-1;)t.advance(),i++;if(t.next==L_)return;for(let n=0;;n++){if(n==7){if(!Bl(t.next,!0))return;break}if(t.next!="extends".charCodeAt(n))break;t.advance(),i++}}t.acceptToken(y_,-i)}),V_=Ln({"get set async static":v.modifier,"for while do if else switch try catch finally return throw break continue default case defer":v.controlKeyword,"in of await yield void typeof delete instanceof as satisfies":v.operatorKeyword,"let var const using function class extends":v.definitionKeyword,"import export from":v.moduleKeyword,"with debugger new":v.keyword,TemplateString:v.special(v.string),super:v.atom,BooleanLiteral:v.bool,this:v.self,null:v.null,Star:v.modifier,VariableName:v.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":v.function(v.variableName),VariableDefinition:v.definition(v.variableName),Label:v.labelName,PropertyName:v.propertyName,PrivatePropertyName:v.special(v.propertyName),"CallExpression/MemberExpression/PropertyName":v.function(v.propertyName),"FunctionDeclaration/VariableDefinition":v.function(v.definition(v.variableName)),"ClassDeclaration/VariableDefinition":v.definition(v.className),"NewExpression/VariableName":v.className,PropertyDefinition:v.definition(v.propertyName),PrivatePropertyDefinition:v.definition(v.special(v.propertyName)),UpdateOp:v.updateOperator,"LineComment Hashbang":v.lineComment,BlockComment:v.blockComment,Number:v.number,String:v.string,Escape:v.escape,ArithOp:v.arithmeticOperator,LogicOp:v.logicOperator,BitOp:v.bitwiseOperator,CompareOp:v.compareOperator,RegExp:v.regexp,Equals:v.definitionOperator,Arrow:v.function(v.punctuation),": Spread":v.punctuation,"( )":v.paren,"[ ]":v.squareBracket,"{ }":v.brace,"InterpolationStart InterpolationEnd":v.special(v.brace),".":v.derefOperator,", ;":v.separator,"@":v.meta,TypeName:v.typeName,TypeDefinition:v.definition(v.typeName),"type enum interface implements namespace module declare":v.definitionKeyword,"abstract global Privacy readonly override":v.modifier,"is keyof unique infer asserts":v.operatorKeyword,JSXAttributeValue:v.attributeValue,JSXText:v.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":v.angleBracket,"JSXIdentifier JSXNameSpacedName":v.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":v.attributeName,"JSXBuiltin/JSXIdentifier":v.standard(v.tagName)}),q_={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,in:52,out:55,const:56,extends:60,this:64,true:72,false:72,null:84,void:88,typeof:92,super:108,new:142,delete:154,yield:163,await:167,class:172,public:235,private:235,protected:235,readonly:237,instanceof:256,satisfies:259,import:292,keyof:349,unique:353,infer:359,asserts:395,is:397,abstract:417,implements:419,type:421,let:424,var:426,using:429,interface:435,enum:439,namespace:445,module:447,declare:451,global:455,defer:471,for:476,of:485,while:488,with:492,do:496,if:500,else:502,switch:506,case:512,try:518,catch:522,finally:526,return:530,throw:534,break:538,continue:542,debugger:546},j_={__proto__:null,async:129,get:131,set:133,declare:195,public:197,private:197,protected:197,static:199,abstract:201,override:203,readonly:209,accessor:211,new:401},W_={__proto__:null,"<":193},N_=Tn.deserialize({version:14,states:"$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7dO'#FfO9XQMhO'#F|O9`Q`O'#F{OOQ!0Lf'#Js'#JsOOQ!0Lb'#Jr'#JrO9eQ`O'#GwOOQ['#K_'#K_O9pQ`O'#IYO9uQ!0LrO'#IZOOQ['#J`'#J`OOQ['#I_'#I_Q`QlOOQ`QlOOO9}Q!L^O'#DvO:UQlO'#EOO:]QlO'#EQO9kQ`O'#GsO:dQMhO'#CoO:rQ`O'#EnO:}Q`O'#EyO;hQMhO'#FeO;xQ`O'#GsOOQO'#K`'#K`O;}Q`O'#K`O<]Q`O'#G{O<]Q`O'#G|O<]Q`O'#HOO9kQ`O'#HRO=SQ`O'#HUO>kQ`O'#CeO>{Q`O'#HcO?TQ`O'#HiO?TQ`O'#HkO`QlO'#HmO?TQ`O'#HoO?TQ`O'#HrO?YQ`O'#HxO?_Q!0LsO'#IOO%[QlO'#IQO?jQ!0LsO'#ISO?uQ!0LsO'#IUO9uQ!0LrO'#IWO@QQ!0MxO'#CiOASQpO'#DlQOQ`OOO%[QlO'#EQOAjQ`O'#ETO:dQMhO'#EnOAuQ`O'#EnOBQQ!bO'#FeOOQ['#Cg'#CgOOQ!0Lb'#Dq'#DqOOQ!0Lb'#Jv'#JvO%[QlO'#JvOOQO'#Jy'#JyOOQO'#Ih'#IhOCQQpO'#EgOOQ!0Lb'#Ef'#EfOOQ!0Lb'#J}'#J}OC|Q!0MSO'#EgODWQpO'#EWOOQO'#Jx'#JxODlQpO'#JyOEyQpO'#EWODWQpO'#EgPFWO&2DjO'#CbPOOO)CD})CD}OOOO'#I`'#I`OFcO#tO,59UOOQ!0Lh,59U,59UOOOO'#Ia'#IaOFqO&jO,59UOGPQ!L^O'#DcOOOO'#Ic'#IcOGWO#@ItO,59{OOQ!0Lf,59{,59{OGfQlO'#IdOGyQ`O'#JtOIxQ!fO'#JtO+}QlO'#JtOJPQ`O,5:ROJgQ`O'#EpOJtQ`O'#KTOKPQ`O'#KSOKPQ`O'#KSOKXQ`O,5;^OK^Q`O'#KROOQ!0Ln,5:^,5:^OKeQlO,5:^OMcQ!0MxO,5:fONSQ`O,5:nONmQ!0LrO'#KQONtQ`O'#KPO9eQ`O'#KPO! YQ`O'#KPO! bQ`O,5;]O! gQ`O'#KPO!#lQ!fO'#JsOOQ!0Lh'#Ci'#CiO%[QlO'#ESO!$[Q!fO,5:sOOQS'#Jz'#JzOOQO-EtOOQ['#Jh'#JhOOQ[,5>u,5>uOOQ[-E<]-E<]O!TO`QlO,5>VO!LOQ`O,5>XO`QlO,5>ZO!LTQ`O,5>^O!LYQlO,5>dOOQ[,5>j,5>jO%[QlO,5>jO9uQ!0LrO,5>lOOQ[,5>n,5>nO#!dQ`O,5>nOOQ[,5>p,5>pO#!dQ`O,5>pOOQ[,5>r,5>rO##QQpO'#D_O%[QlO'#JvO##sQpO'#JvO##}QpO'#DmO#$`QpO'#DmO#&qQlO'#DmO#&xQ`O'#JuO#'QQ`O,5:WO#'VQ`O'#EtO#'eQ`O'#KUO#'mQ`O,5;_O#'rQpO'#DmO#(PQpO'#EVOOQ!0Lf,5:o,5:oO%[QlO,5:oO#(WQ`O,5:oO?YQ`O,5;YO!CUQpO,5;YO!C^QMhO,5;YO:dQMhO,5;YO#(`Q`O,5@bO#(eQ07dO,5:sOOQO-EPO$6^Q`O,5>POOQ[1G3i1G3iO`QlO1G3iOOQ[1G3o1G3oOOQ[1G3q1G3qO?TQ`O1G3sO$6cQlO1G3uO$:gQlO'#HtOOQ[1G3x1G3xO$:tQ`O'#HzO?YQ`O'#H|OOQ[1G4O1G4OO$:|QlO1G4OO9uQ!0LrO1G4UOOQ[1G4W1G4WOOQ!0Lb'#G_'#G_O9uQ!0LrO1G4YO9uQ!0LrO1G4[O$?TQ`O,5@bO!)[QlO,5;`O9eQ`O,5;`O?YQ`O,5:XO!)[QlO,5:XO!CUQpO,5:XO$?YQ?MtO,5:XOOQO,5;`,5;`O$?dQpO'#IeO$?zQ`O,5@aOOQ!0Lf1G/r1G/rO$@SQpO'#IkO$@^Q`O,5@pOOQ!0Lb1G0y1G0yO#$`QpO,5:XOOQO'#Ig'#IgO$@fQpO,5:qOOQ!0Ln,5:q,5:qO#(ZQ`O1G0ZOOQ!0Lf1G0Z1G0ZO%[QlO1G0ZOOQ!0Lf1G0t1G0tO?YQ`O1G0tO!CUQpO1G0tO!C^QMhO1G0tOOQ!0Lb1G5|1G5|O!ByQ!0LrO1G0^OOQO1G0m1G0mO%[QlO1G0mO$@mQ!0LrO1G0mO$@xQ!0LrO1G0mO!CUQpO1G0^ODWQpO1G0^O$AWQ!0LrO1G0mOOQO1G0^1G0^O$AlQ!0MxO1G0mPOOO-E<[-E<[POOO1G.h1G.hOOOO1G/i1G/iO$AvQ!bO,5QQpO,5@}OOQ!0Lb1G3c1G3cOOQ[7+$V7+$VO@zQ`O7+$VO9uQ!0LrO7+$VO%>]Q`O7+$VO%[QlO1G6lO%[QlO1G6mO%>bQ!0LrO1G6lO%>lQlO1G3kO%>sQ`O1G3kO%>xQlO1G3kOOQ[7+)T7+)TO9uQ!0LrO7+)_O`QlO7+)aOOQ['#Kh'#KhOOQ['#JS'#JSO%?PQlO,5>`OOQ[,5>`,5>`O%[QlO'#HuO%?^Q`O'#HwOOQ[,5>f,5>fO9eQ`O,5>fOOQ[,5>h,5>hOOQ[7+)j7+)jOOQ[7+)p7+)pOOQ[7+)t7+)tOOQ[7+)v7+)vO%?cQpO1G5|O%?}Q?MtO1G0zO%@XQ`O1G0zOOQO1G/s1G/sO%@dQ?MtO1G/sO?YQ`O1G/sO!)[QlO'#DmOOQO,5?P,5?POOQO-ERQ`O7+,WO&>WQ`O7+,XO%[QlO7+,WO%[QlO7+,XOOQ[7+)V7+)VO&>]Q`O7+)VO&>bQlO7+)VO&>iQ`O7+)VOOQ[<nQ`O,5>aOOQ[,5>c,5>cO&>sQ`O1G4QO9eQ`O7+&fO!)[QlO7+&fOOQO7+%_7+%_O&>xQ?MtO1G6ZO?YQ`O7+%_OOQ!0Lf<yQ?MvO,5?aO'@|Q?MvO,5?cO'CPQ?MvO7+'|O'DuQMjOG27TOOQO<VO!l$xO#jROe!iOpkOrPO(T)]O(VTO(YUO(aVO(o[O~O!]$_Oa$qa'z$qa'w$qa!k$qa!Y$qa!_$qa%i$qa!g$qa~Ol)dO~P!&zOh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Og(pP~P!,TO!Q)iO!g)hO!_$^X$Z$^X$]$^X$_$^X$f$^X~O!g)hO!_({X$Z({X$]({X$_({X$f({X~O!Q)iO~P!.^O!Q)iO!_({X$Z({X$]({X$_({X$f({X~O!_)kO$Z)oO$])jO$_)jO$f)pO~O![)sO~P!)[O$]$hO$_$gO$f)wO~On$zX!Q$zX#S$zX'y$zX(y$zX(z$zX~OgmXg$zXnmX!]mX#`mX~P!0SOx)yO(b)zO(c)|O~On*VO!Q*OO'y*PO(y$}O(z%PO~Og)}O~P!1WOg*WO~Oh%VOr%XOs$tOt$tOz%YO|%ZO!OVO!l$xO#jVO!l$xO#jROe!iOpkOrPO(VTO(YUO(aVO(o[O~O(T=QO~P#$qO!]-]O!^(iX~O!^-_O~O!g-VO#`-UO!]#hX!^#hX~O!]-`O!^(xX~O!^-bO~O!c-cO!d-cO(U!lO~P#$`O!^-fO~P'_On-iO!_'`O~O!Y-nO~Os!{a!b!{a!c!{a!d!{a#T!{a#U!{a#V!{a#W!{a#X!{a#[!{a#]!{a(U!{a(V!{a(Y!{a(e!{a(o!{a~P!#vO!p-sO#`-qO~PChO!c-uO!d-uO(U!lO~PDWOa%nO#`-qO'z%nO~Oa%nO!g#vO#`-qO'z%nO~Oa%nO!g#vO!p-sO#`-qO'z%nO(r'pO~O(P'xO(Q'xO(R-zO~Ov-{O~O!Y'Wa!]'Wa~P!:tO![.PO!Y'WX!]'WX~P%[O!](VO!Y(ha~O!Y(ha~PHRO!](^O!Y(va~O!S%hO![.TO!_%iO(T%gO!Y'^X!]'^X~O#`.VO!](ta!k(taa(ta'z(ta~O!g#vO~P#,wO!](jO!k(sa~O!S%hO!_%iO#j.ZO(T%gO~Op.`O!S%hO![.]O!_%iO!|]O#i._O#j.]O(T%gO!]'aX!k'aX~OR.dO!l#xO~Oh%VOn.gO!_'`O%i.fO~Oa#ci!]#ci'z#ci'w#ci!Y#ci!k#civ#ci!_#ci%i#ci!g#ci~P!:tOn>]O!Q*OO'y*PO(y$}O(z%PO~O#k#_aa#_a#`#_a'z#_a!]#_a!k#_a!_#_a!Y#_a~P#/sO#k(`XP(`XR(`X[(`Xa(`Xj(`Xr(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X'z(`X(a(`X(r(`X!k(`X!Y(`X'w(`Xv(`X!_(`X%i(`X!g(`X~P!6kO!].tO!k(kX~P!:tO!k.wO~O!Y.yO~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mia#mij#mir#mi!]#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#n#mi~P#3cO#n$OO~P#3cOP$[OR#zOr$aO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO[#mia#mij#mi!]#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#r#mi~P#6QO#r$QO~P#6QOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO(aVOa#mi!]#mi#x#mi#z#mi#{#mi'z#mi(r#mi(y#mi(z#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#v#mi~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO(aVO(z#}Oa#mi!]#mi#z#mi#{#mi'z#mi(r#mi(y#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#x$UO~P#;VO#x#mi~P#;VO#v$SO~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO(aVO(y#|O(z#}Oa#mi!]#mi#{#mi'z#mi(r#mi'w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#z#mi~P#={O#z$WO~P#={OP]XR]X[]Xj]Xr]X!Q]X!S]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X!]]X!^]X~O$O]X~P#@jOP$[OR#zO[]O!Q*OO'y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P#EyO!]/POg(pX~P!1WOg/RO~Oa$Pi!]$Pi'z$Pi'w$Pi!Y$Pi!k$Piv$Pi!_$Pi%i$Pi!g$Pi~P!:tO$]/SO$_/SO~O$]/TO$_/TO~O!g)hO#`/UO!_$cX$Z$cX$]$cX$_$cX$f$cX~O![/VO~O!_)kO$Z/XO$])jO$_)jO$f/YO~O!]VO!l$xO#j^O!Q*OO'y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P&,QO#S$dOP(`XR(`X[(`Xj(`Xn(`Xr(`X!Q(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X$O(`X'y(`X(a(`X(r(`X(y(`X(z(`X!](`X!^(`X~O$O$Pi!]$Pi!^$Pi~P#BwO$O!ri!^!ri~P$+oOg']a!]']a~P!1WO!^7nO~O!]'da!^'da~P#BwO!Y7oO~P#/sO!g#vO(r'pO!]'ea!k'ea~O!]/pO!k)Oi~O!]/pO!g#vO!k)Oi~Og$|q!]$|q#`$|q$O$|q~P!1WO!Y'ga!]'ga~P#/sO!g7vO~O!]/yO!Y)Pi~P#/sO!]/yO!Y)Pi~O!Y7yO~Oh%VOr8OO!l%eO(r'pO~Oj8QO!g#vO~Or8TO!g#vO(r'pO~O!Q*OO'y*PO(z%POn'ja(y'ja!]'ja#`'ja~Og'ja$O'ja~P&5RO!Q*OO'y*POn'la(y'la(z'la!]'la#`'la~Og'la$O'la~P&5tOg(_q!](_q~P!1WO#`8VOg(_q!](_q~P!1WO!Y8WO~Og%Oq!]%Oq#`%Oq$O%Oq~P!1WOa$oy!]$oy'z$oy'w$oy!Y$oy!k$oyv$oy!_$oy%i$oy!g$oy~P!:tO!g6rO~O!]5[O!_)Qa~O!_'`OP$TaR$Ta[$Taj$Tar$Ta!Q$Ta!S$Ta!]$Ta!l$Ta!p$Ta#R$Ta#n$Ta#o$Ta#p$Ta#q$Ta#r$Ta#s$Ta#t$Ta#u$Ta#v$Ta#x$Ta#z$Ta#{$Ta(a$Ta(r$Ta(y$Ta(z$Ta~O%i7WO~P&8fO%^8[Oa%[i!_%[i'z%[i!]%[i~Oa#cy!]#cy'z#cy'w#cy!Y#cy!k#cyv#cy!_#cy%i#cy!g#cy~P!:tO[8^O~Ob8`O(T+qO(VTO(YUO~O!]1TO!^)Xi~O`8dO~O(e(|O!]'pX!^'pX~O!]5uO!^)Ua~O!^8nO~P%;eO(o!sO~P$&YO#[8oO~O!_1oO~O!_1oO%i8qO~On8tO!_1oO%i8qO~O[8yO!]'sa!^'sa~O!]1zO!^)Vi~O!k8}O~O!k9OO~O!k9RO~O!k9RO~P%[Oa9TO~O!g9UO~O!k9VO~O!](wi!^(wi~P#BwOa%nO#`9_O'z%nO~O!](ty!k(tya(ty'z(ty~P!:tO!](jO!k(sy~O%i9bO~P&8fO!_'`O%i9bO~O#k$|qP$|qR$|q[$|qa$|qj$|qr$|q!S$|q!]$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q'z$|q(a$|q(r$|q!k$|q!Y$|q'w$|q#`$|qv$|q!_$|q%i$|q!g$|q~P#/sO#k'jaP'jaR'ja['jaa'jaj'jar'ja!S'ja!l'ja!p'ja#R'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#v'ja#x'ja#z'ja#{'ja'z'ja(a'ja(r'ja!k'ja!Y'ja'w'jav'ja!_'ja%i'ja!g'ja~P&5RO#k'laP'laR'la['laa'laj'lar'la!S'la!l'la!p'la#R'la#n'la#o'la#p'la#q'la#r'la#s'la#t'la#u'la#v'la#x'la#z'la#{'la'z'la(a'la(r'la!k'la!Y'la'w'lav'la!_'la%i'la!g'la~P&5tO#k%OqP%OqR%Oq[%Oqa%Oqj%Oqr%Oq!S%Oq!]%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq'z%Oq(a%Oq(r%Oq!k%Oq!Y%Oq'w%Oq#`%Oqv%Oq!_%Oq%i%Oq!g%Oq~P#/sO!]'Yi!k'Yi~P!:tO$O#cq!]#cq!^#cq~P#BwO(y$}OP%aaR%aa[%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa$O%aa(a%aa(r%aa!]%aa!^%aa~On%aa!Q%aa'y%aa(z%aa~P&IyO(z%POP%caR%ca[%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca$O%ca(a%ca(r%ca!]%ca!^%ca~On%ca!Q%ca'y%ca(y%ca~P&LQOn>^O!Q*OO'y*PO(z%PO~P&IyOn>^O!Q*OO'y*PO(y$}O~P&LQOR0kO!Q0kO!S0lO#S$dOP}a[}aj}an}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a$O}a'y}a(a}a(r}a(y}a(z}a!]}a!^}a~O!Q*OO'y*POP$saR$sa[$saj$san$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa$O$sa(a$sa(r$sa(y$sa(z$sa!]$sa!^$sa~O!Q*OO'y*POP$uaR$ua[$uaj$uan$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua$O$ua(a$ua(r$ua(y$ua(z$ua!]$ua!^$ua~On>^O!Q*OO'y*PO(y$}O(z%PO~OP%TaR%Ta[%Taj%Tar%Ta!S%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta$O%Ta(a%Ta(r%Ta!]%Ta!^%Ta~P''VO$O$mq!]$mq!^$mq~P#BwO$O$oq!]$oq!^$oq~P#BwO!^9oO~O$O9pO~P!1WO!g#vO!]'ei!k'ei~O!g#vO(r'pO!]'ei!k'ei~O!]/pO!k)Oq~O!Y'gi!]'gi~P#/sO!]/yO!Y)Pq~Or9wO!g#vO(r'pO~O[9yO!Y9xO~P#/sO!Y9xO~Oj:PO!g#vO~Og(_y!](_y~P!1WO!]'na!_'na~P#/sOa%[q!_%[q'z%[q!]%[q~P#/sO[:UO~O!]1TO!^)Xq~O`:YO~O#`:ZO!]'pa!^'pa~O!]5uO!^)Ui~P#BwO!S:]O~O!_1oO%i:`O~O(VTO(YUO(e:eO~O!]1zO!^)Vq~O!k:hO~O!k:iO~O!k:jO~O!k:jO~P%[O#`:mO!]#hy!^#hy~O!]#hy!^#hy~P#BwO%i:rO~P&8fO!_'`O%i:rO~O$O#|y!]#|y!^#|y~P#BwOP$|iR$|i[$|ij$|ir$|i!S$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i$O$|i(a$|i(r$|i!]$|i!^$|i~P''VO!Q*OO'y*PO(z%POP'iaR'ia['iaj'ian'iar'ia!S'ia!l'ia!p'ia#R'ia#n'ia#o'ia#p'ia#q'ia#r'ia#s'ia#t'ia#u'ia#v'ia#x'ia#z'ia#{'ia$O'ia(a'ia(r'ia(y'ia!]'ia!^'ia~O!Q*OO'y*POP'kaR'ka['kaj'kan'kar'ka!S'ka!l'ka!p'ka#R'ka#n'ka#o'ka#p'ka#q'ka#r'ka#s'ka#t'ka#u'ka#v'ka#x'ka#z'ka#{'ka$O'ka(a'ka(r'ka(y'ka(z'ka!]'ka!^'ka~O(y$}OP%aiR%ai[%aij%ain%air%ai!Q%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai$O%ai'y%ai(a%ai(r%ai(z%ai!]%ai!^%ai~O(z%POP%ciR%ci[%cij%cin%cir%ci!Q%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci$O%ci'y%ci(a%ci(r%ci(y%ci!]%ci!^%ci~O$O$oy!]$oy!^$oy~P#BwO$O#cy!]#cy!^#cy~P#BwO!g#vO!]'eq!k'eq~O!]/pO!k)Oy~O!Y'gq!]'gq~P#/sOr:|O!g#vO(r'pO~O[;QO!Y;PO~P#/sO!Y;PO~Og(_!R!](_!R~P!1WOa%[y!_%[y'z%[y!]%[y~P#/sO!]1TO!^)Xy~O!]5uO!^)Uq~O(T;XO~O!_1oO%i;[O~O!k;_O~O%i;dO~P&8fOP$|qR$|q[$|qj$|qr$|q!S$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q$O$|q(a$|q(r$|q!]$|q!^$|q~P''VO!Q*OO'y*PO(z%POP'jaR'ja['jaj'jan'jar'ja!S'ja!l'ja!p'ja#R'ja#n'ja#o'ja#p'ja#q'ja#r'ja#s'ja#t'ja#u'ja#v'ja#x'ja#z'ja#{'ja$O'ja(a'ja(r'ja(y'ja!]'ja!^'ja~O!Q*OO'y*POP'laR'la['laj'lan'lar'la!S'la!l'la!p'la#R'la#n'la#o'la#p'la#q'la#r'la#s'la#t'la#u'la#v'la#x'la#z'la#{'la$O'la(a'la(r'la(y'la(z'la!]'la!^'la~OP%OqR%Oq[%Oqj%Oqr%Oq!S%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq$O%Oq(a%Oq(r%Oq!]%Oq!^%Oq~P''VOg%e!Z!]%e!Z#`%e!Z$O%e!Z~P!1WO!Y;hO~P#/sOr;iO!g#vO(r'pO~O[;kO!Y;hO~P#/sO!]'pq!^'pq~P#BwO!]#h!Z!^#h!Z~P#BwO#k%e!ZP%e!ZR%e!Z[%e!Za%e!Zj%e!Zr%e!Z!S%e!Z!]%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z'z%e!Z(a%e!Z(r%e!Z!k%e!Z!Y%e!Z'w%e!Z#`%e!Zv%e!Z!_%e!Z%i%e!Z!g%e!Z~P#/sOr;tO!g#vO(r'pO~O!Y;uO~P#/sOr;|O!g#vO(r'pO~O!Y;}O~P#/sOP%e!ZR%e!Z[%e!Zj%e!Zr%e!Z!S%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z$O%e!Z(a%e!Z(r%e!Z!]%e!Z!^%e!Z~P''VOrROe!iOpkOrPO(T)]O(VTO(YUO(aVO(o[O~O!]WO!l$xO#jgPPP!>oI[PPPPPPPPP!BOP!C]PPI[!DnPI[PI[I[I[I[I[PI[!FQP!I[P!LbP!Lf!Lp!Lt!LtP!IXP!Lx!LxP#!OP#!SI[PI[#!Y#%_CjA^PA^PA^A^P#&lA^A^#)OA^#+vA^#.SA^A^#.r#1W#1W#1]#1f#1W#1qPP#1WPA^#2ZA^#6YA^A^6mPPP#:_PPP#:x#:xP#:xP#;`#:xPP#;fP#;]P#;]#;y#;]#P#>V#>]#>k#>q#>{#?R#?]#?c#?s#?y#@k#@}#AT#AZ#Ai#BO#Cs#DR#DY#Et#FS#Gt#HS#HY#H`#Hf#Hp#Hv#H|#IW#Ij#IpPPPPPPPPPPP#IvPPPPPPP#Jk#Mx$ b$ i$ qPPP$']P$'f$*_$0x$0{$1O$1}$2Q$2X$2aP$2g$2jP$3W$3[$4S$5b$5g$5}PP$6S$6Y$6^$6a$6e$6i$7e$7|$8e$8i$8l$8o$8y$8|$9Q$9UR!|RoqOXst!Z#d%m&r&t&u&w,s,x2[2_Y!vQ'`-e1o5{Q%tvQ%|yQ&T|Q&j!VS'W!e-]Q'f!iS'l!r!yU*k$|*Z*oQ+o%}S+|&V&WQ,d&dQ-c'_Q-m'gQ-u'mQ0[*qQ1b,OQ1y,eR<{SU+P%]S!S!nQ!r!v!y!z$|'W'_'`'l'm'n*k*o*q*r-]-c-e-u0[0_1o5{5}%[$ti#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;kP>X>Y>]>^Q&X|Q'U!eS'[%i-`Q+t&PQ,P&WQ,f&gQ0n+SQ1Y+uQ1_+{Q2Q,jQ2R,kQ5f1TQ5o1aQ6[1zQ6_1|Q6`2PQ8`5gQ8c5lQ8|6bQ:X8dQ:f8yQ;V:YR<}*ZrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R,h&k&z^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'b'r(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:mR>S[#]WZ#W#Z'X(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ%wxQ%{yW&Q|&V&W,OQ&_!TQ'c!hQ'e!iQ(q#sS+n%|%}Q+r&PQ,_&bQ,c&dS-l'f'gQ.i(rQ1R+oQ1X+uQ1Z+vQ1^+zQ1t,`S1x,d,eQ2|-mQ5e1TQ5i1WQ5n1`Q6Z1yQ8_5gQ8b5kQ8f5pQ:T8^R;T:U!U$zi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y!^%yy!i!u%{%|%}'V'e'f'g'k'u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{Q+h%wQ,T&[Q,W&]Q,b&dQ.h(qQ1s,_U1w,c,d,eQ3e.iQ6U1tS6Y1x1yQ8x6Z#f>T#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k]>^o>UPS&[!Q&iQ&]!RQ&^!SU*}%[%d=sR,R&Y%]%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;kP>X>Y>]>^T)z$u){V+P%]S$i$^c#Y#e%q%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.|.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`SQ'Y!eR2q-]!W!nQ!e!r!v!y!z$|'W'_'`'l'm'n*Z*k*o*q*r-]-c-e-u0[0_1o5{5}R1l,ZnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&y!^Q'v!xS(s#u<^Q+l%zQ,]&_Q,^&aQ-j'dQ-w'oS.r(x=PS0q+X=ZQ1P+mQ1n,[Q2c,zQ2e,{Q2m-WQ2z-kQ2}-oS5Y0r=eQ5a1QS5d1S=fQ6t2oQ6x2{Q6}3SQ8]5bQ9Y6vQ9Z6yQ9^7OR:l9V$d$]c#Y#e%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`SS#q]SU$fd)_,mS(p#p'iU*v%R(w4OU0m+O.n7gQ5^0xQ7V3`Q9d7YR:s9em!tQ!r!v!y!z'`'l'm'n-e-u1o5{5}Q't!uS(f#g2US-s'k'wQ/s*]Q0R*jQ3U-vQ4f/tQ4r0TQ4s0UQ4x0^Q7r4`S7}4t4vS8R4y4{Q9r7sQ9v7yQ9{8OQ:Q8TS:{9w9xS;g:|;PS;s;h;iS;{;t;uSSR=o>R%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Q%fj!^%xy!i!u%{%|%}'V'e'f'g'k'u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{S&Oz!jQ+k%yQ,a&dW1v,b,c,d,eU6X1w1x1yS8w6Y6ZQ:d8x!r=j$Z$n'X)s-U-X/V2p4T5w6s:Z:mSQ=t>QR=u>R%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'b'r(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Y#bWZ#W#Z(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ,n&o!p=k$Z$n)s-U-X/V2p4T5w6s:Z:mSR=n'XU']!e%i*ZR2s-`%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_!r)_$Z$n'X)s-U-X/V2p4T5w6s:Z:mSQ,m&oQ0x+gQ3`.gQ7Y3dR9e7[!b$Tc#Y%q(S(Y(t(y)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:oS)^)q-Z.|2k2n3p4P4X6u7b7k7l8k9X9g9m9n;W;`=vQ>X>ZR>Y>['QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:mSS$oh$pR4U/U'XgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:mST$kf$qQ$ifS)j$l)nR)v$qT$jf$qT)l$l)n'XhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{'T'X'b'r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:mST$oh$pQ$rhR)u$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{'T'b'r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_!s>Q$Z$n'X)s-U-X/V2p4T5w6s:Z:mS#glOPXZst!Z!`!o#S#d#o#{$n%m&k&n&o&r&t&u&w&{'T'b)O)s*i+]+g,p,s,x-i.g/V/n0]0l1r2S2T2V2X2[2_2a3d4T4z6T6e6f6i7[8t9T!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k]>^Q+T%aQ/c*Oo4OP>X>YQ*c$zU*l$|*Z*oQ+U%bQ0W*m#f=q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k]>^n=rTQ=x>UQ=y>VR=z>W!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k]>^o4OP>X>Y>]>^Q,U&]Q1h,WQ5s1gR8h5tV*n$|*Z*oU*n$|*Z*oT5z1o5{S0P*i/nQ4w0]T8S4z:]Q+j%xQ0V*lQ1O+kQ1u,aQ6W1vQ8v6XQ:c8wR;^:d!U%Oi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Yx*R$v)e*S*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>OS0`*t0a#f]>^nZ>[`=T3}7c7f7j9h:t:w;yS=_.l3iT=`7e9k!U%Qi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y|*T$v)e*U*t+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>OS0b*u0c#f]>^nZ>[d=V3}7d7e7j9h9i:t:u:w;yS=a.m3jT=b7f9lrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q&f!UR,p&ornOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R&f!UQ,Y&^R1d,RsnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q1p,_S6R1s1tU8p6P6Q6US:_8r8sS;Y:^:aQ;m;ZR;w;nQ&m!VR,i&iR6_1|R:f8yW&Q|&V&W,OR1Z+vQ&r!WR,s&sR,y&xT2],x2_R,}&yQ,|&yR2f,}Q'y!{R-y'ySsOtQ#dXT%ps#dQ#OTR'{#OQ#RUR'}#RQ){$uR/`){Q#UVR(Q#UQ#XWU(W#X(X.QQ(X#YR.Q(YQ-^'YR2r-^Q.u(yS3m.u3nR3n.vQ-e'`R2v-eY!rQ'`-e1o5{R'j!rQ/Q)eR4S/QU#_W%h*YU(_#_(`.RQ(`#`R.R(ZQ-a']R2t-at`OXst!V!Z#d%m&i&k&r&t&u&w,s,x2[2_S#hZ%eU#r`#h.[R.[(jQ(k#jQ.X(gW.a(k.X3X7RQ3X.YR7R3YQ)n$lR/W)nQ$phR)t$pQ$`cU)a$`-|O>Z>[Q/z*eU4k/z4m7xQ4m/|R7x4lS*o$|*ZR0Y*ox*S$v)e*t*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>O!d.j(u)c*[*e.l.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/h*S.j7ca7c3}7e7f7j9h:t:w;yQ0a*tQ3i.lU4}0a3i9kR9k7e|*U$v)e*t*u+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>O!h.k(u)c*[*e.l.m.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/j*U.k7de7d3}7e7f7j9h9i:t:u:w;yQ0c*uQ3j.mU5P0c3j9lR9l7fQ*z%UR0g*zQ5]0vR8Y5]Q+_%kR0u+_Q5v1jS8j5v:[R:[8kQ,[&_R1m,[Q5{1oR8m5{Q1{,fS6]1{8zR8z6_Q1U+rW5h1U5j8a:VQ5j1XQ8a5iR:V8bQ+w&QR1[+wQ2_,xR6m2_YrOXst#dQ&v!ZQ+a%mQ,r&rQ,t&tQ,u&uQ,w&wQ2Y,sS2],x2_R6l2[Q%opQ&z!_Q&}!aQ'P!bQ'R!cQ'q!uQ+`%lQ+l%zQ,Q&XQ,h&mQ-P&|W-p'k's't'wQ-w'oQ0X*nQ1P+mQ1c,PS2O,i,lQ2g-OQ2h-RQ2i-SQ2}-oW3P-r-s-v-xQ5a1QQ5m1_Q5q1eQ6V1uQ6a2QQ6k2ZU6z3O3R3UQ6}3SQ8]5bQ8e5oQ8g5rQ8l5zQ8u6WQ8{6`S9[6{7PQ9^7OQ:W8cQ:b8vQ:g8|Q:n9]Q;U:XQ;]:cQ;a:oQ;l;VR;o;^Q%zyQ'd!iQ'o!uU+m%{%|%}Q-W'VU-k'e'f'gS-o'k'uQ0Q*jS1Q+n+oQ2o-YS2{-l-mQ3S-tS4p0R0UQ5b1RQ6v2uQ6y2|Q7O3TU7{4r4s4vQ9z7}R;O9{S$wi>PR*{%VU%Ui%V>PR0f*yQ$viS(u#v+iS)c$b$cQ)e$dQ*[$xS*e${*YQ*t%OQ*u%QQ+Q%^Q+R%_Q+V%cQ.lPQ=}>XQ>O>YQ>Z>]R>[>^Q+O%]Q.nSR#[WR'Z!el!tQ!r!v!y!z'`'l'm'n-e-u1o5{5}S'V!e-]U*j$|*Z*oS-Y'W'_S0U*k*qQ0^*rQ2u-cQ4v0[R4{0_R({#xQ!fQT-d'`-e]!qQ!r'`-e1o5{Q#p]R'i < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:380,context:I_,nodeProps:[["isolate",-8,5,6,14,37,39,51,53,55,""],["group",-26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,120,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],["openedBy",23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],["closedBy",-2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]],propSources:[V_],skippedNodes:[0,5,6,278],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(Z!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$i&j(WpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(WpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Wp(Z!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$i&j(Wp(Z!b'|0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(X#S$i&j'}0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$i&j(Wp(Z!b'}0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$i&j!p),Q(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#v(Ch$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(V':f$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$i&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$d`$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$d``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$d`$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(Z!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$d`(Z!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$i&j(Wp(Z!bOY%ZYZ&cZq%Zqr`#P#o`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$i&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(Z!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$i&j(WpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(WpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Wp(Z!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l^!Q^$i&j!X7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!X7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!X7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c^!Ezl$i&j(Z!b!X7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ(Z!b!X7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(Z!b!X7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX(Z!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$i&j(Z!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!^!LYP;=`<%l!KS>^!L`P;=`<%l!_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$i&j(Wp(Z!bs'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!g$b$i&j$O)Lv(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#R-v$?V_!^(CdvBr$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z?O$@a_!q7`$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$Aq|$i&j(Wp(Z!b'|0/l$]#t(T,2j(e$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Wp(Z!b'}0/l$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[z_,X_,F_,B_,2,3,4,5,6,7,8,9,10,11,12,13,14,Z_,new Qo("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~",141,340),new Qo("j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~",25,323)],topRules:{Script:[0,7],SingleExpression:[1,276],SingleClassItem:[2,277]},dialects:{jsx:0,ts:15175},dynamicPrecedences:{80:1,82:1,94:1,169:1,199:1},specialized:[{term:327,get:t=>q_[t]||-1},{term:343,get:t=>j_[t]||-1},{term:95,get:t=>W_[t]||-1}],tokenPrec:15201}),gc=[Ue("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),Ue("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),Ue("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),Ue("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),Ue("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),Ue(`try { + \${} +} catch (\${error}) { + \${} +}`,{label:"try",detail:"/ catch block",type:"keyword"}),Ue("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),Ue(`if (\${}) { + \${} +} else { + \${} +}`,{label:"if",detail:"/ else block",type:"keyword"}),Ue(`class \${name} { + constructor(\${params}) { + \${} + } +}`,{label:"class",detail:"definition",type:"keyword"}),Ue('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Ue('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],Tg=gc.concat([Ue("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Ue("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Ue("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),_f=new R0,_g=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Nn(t){return(e,i)=>{let n=e.node.getChild("VariableDefinition");return n&&i(n,t),!0}}const Y_=["FunctionDeclaration"],G_={FunctionDeclaration:Nn("function"),ClassDeclaration:Nn("class"),ClassExpression:()=>!0,EnumDeclaration:Nn("constant"),TypeAliasDeclaration:Nn("type"),NamespaceDeclaration:Nn("namespace"),VariableDefinition(t,e){t.matchContext(Y_)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function Pg(t,e){let i=_f.get(e);if(i)return i;let n=[],r=!0;function s(o,l){let a=t.sliceString(o.from,o.to);n.push({label:a,type:l})}return e.cursor(pe.IncludeAnonymous).iterate(o=>{if(r)r=!1;else if(o.name){let l=G_[o.name];if(l&&l(o,s)||_g.has(o.name))return!1}else if(o.to-o.from>8192){for(let l of Pg(t,o.node))n.push(l);return!1}}),_f.set(e,n),n}const To=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,bc=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function Cg(t){let e=Te(t.state).resolveInner(t.pos,-1);if(bc.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&To.test(t.state.sliceDoc(e.from,e.to));if(!i&&!t.explicit)return null;let n=[];for(let r=e;r;r=r.parent)_g.has(r.name)&&(n=n.concat(Pg(t.state.doc,r)));return{options:n,from:i?e.from:t.pos,validFor:To}}function Vl(t,e,i){var n;let r=[];for(;;){let s=e.firstChild,o;if(s?.name=="VariableName")return r.push(t(s)),{path:r.reverse(),name:i};if(s?.name=="MemberExpression"&&((n=o=s.lastChild)===null||n===void 0?void 0:n.name)=="PropertyName")r.push(t(o)),e=s;else return null}}function Ag(t){let e=n=>t.state.doc.sliceString(n.from,n.to),i=Te(t.state).resolveInner(t.pos,-1);return i.name=="PropertyName"?Vl(e,i.parent,e(i)):(i.name=="."||i.name=="?.")&&i.parent.name=="MemberExpression"?Vl(e,i.parent,""):bc.indexOf(i.name)>-1?null:i.name=="VariableName"||i.to-i.from<20&&To.test(e(i))?{path:[],name:e(i)}:i.name=="MemberExpression"?Vl(e,i,""):t.explicit?{path:[],name:""}:null}function U_(t,e){let i=t,n=[],r=new Set;for(let s=0;;s++){for(let l of(Object.getOwnPropertyNames||Object.keys)(t)){if(!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(l)||r.has(l))continue;r.add(l);let a;try{a=i[l]}catch{continue}n.push({label:l,type:typeof a=="function"?/^[A-Z]/.test(l)?"class":e?"function":"method":e?"variable":"property",boost:-s})}let o=Object.getPrototypeOf(t);if(!o)return n;t=o}}function H_(t){let e=new Map;return i=>{let n=Ag(i);if(!n)return null;let r=t;for(let o of n.path)if(r=r[o],!r)return null;let s=e.get(r);return s||e.set(r,s=U_(r,!n.path.length)),{from:i.pos-n.name.length,options:s,validFor:To}}}const vt=vn.define({name:"javascript",parser:N_.configure({props:[Mn.add({IfStatement:Ws({except:/^\s*({|else\b)/}),TryStatement:Ws({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:o3,SwitchBody:t=>{let e=t.textAfter,i=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return t.baseIndent+(i?0:n?1:2)*t.unit},Block:s3({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":Ws({except:/^\s*{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),Ur.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":q0,BlockComment(t){return{from:t.from+2,to:t.to-2}},JSXElement(t){let e=t.firstChild;if(!e||e.name=="JSXSelfClosingTag")return null;let i=t.lastChild;return{from:e.to,to:i.type.isError?t.to:i.from}},"JSXSelfClosingTag JSXOpenTag"(t){var e;let i=(e=t.firstChild)===null||e===void 0?void 0:e.nextSibling,n=t.lastChild;return!i||i.type.isError?null:{from:i.to,to:n.type.isError?t.to:n.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Eg={test:t=>/^JSX/.test(t.name),facet:No({commentTokens:{block:{open:"{/*",close:"*/}"}}})},xc=vt.configure({dialect:"ts"},"typescript"),kc=vt.configure({dialect:"jsx",props:[Wu.add(t=>t.isTop?[Eg]:void 0)]}),yc=vt.configure({dialect:"jsx ts",props:[Wu.add(t=>t.isTop?[Eg]:void 0)]},"typescript");let Lg=t=>({label:t,type:"keyword"});const Dg="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(Lg),K_=Dg.concat(["declare","implements","private","protected","public"].map(Lg));function Mg(t={}){let e=t.jsx?t.typescript?yc:kc:t.typescript?xc:vt,i=t.typescript?Tg.concat(K_):gc.concat(Dg);return new Qn(e,[vt.data.of({autocomplete:DQ(bc,EO(i))}),vt.data.of({autocomplete:Cg}),t.jsx?Rg:[]])}function J_(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}function Pf(t,e,i=t.length){for(let n=e?.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return t.sliceString(n.from,Math.min(n.to,i));return""}const eP=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Rg=Y.inputHandler.of((t,e,i,n,r)=>{if((eP?t.composing:t.compositionStarted)||t.state.readOnly||e!=i||n!=">"&&n!="/"||!vt.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,l=o.changeByRange(a=>{var u;let{head:c}=a,h=Te(o).resolveInner(c-1,-1),d;if(h.name=="JSXStartTag"&&(h=h.parent),!(o.doc.sliceString(c-1,c)!=n||h.name=="JSXAttributeValue"&&h.to>c)){if(n==">"&&h.name=="JSXFragmentTag")return{range:a,changes:{from:c,insert:""}};if(n=="/"&&h.name=="JSXStartCloseTag"){let f=h.parent,p=f.parent;if(p&&f.from==c-2&&((d=Pf(o.doc,p.firstChild,c))||((u=p.firstChild)===null||u===void 0?void 0:u.name)=="JSXFragmentTag")){let m=`${d}>`;return{range:L.cursor(c+m.length,-1),changes:{from:c,insert:m}}}}else if(n==">"){let f=J_(h);if(f&&f.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(o.doc.sliceString(c,c+2))&&(d=Pf(o.doc,f,c)))return{range:a,changes:{from:c,insert:``}}}}return{range:a}});return l.changes.empty?!1:(t.dispatch([s,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function tP(t,e){return e||(e={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},t.getRules().forEach((i,n)=>{var r;!((r=i.meta.docs)===null||r===void 0)&&r.recommended&&(e.rules[n]=2)})),i=>{let{state:n}=i,r=[];for(let{from:s,to:o}of vt.findRegions(n)){let l=n.doc.lineAt(s),a={line:l.number-1,col:s-l.from,pos:s};for(let u of t.verify(n.sliceDoc(s,o),e))r.push(iP(u,n.doc,a))}return r}}function Cf(t,e,i,n){return i.line(t+n.line).from+e+(t==1?n.col-1:-1)}function iP(t,e,i){let n=Cf(t.line,t.column,e,i),r={from:n,to:t.endLine!=null&&t.endColumn!=1?Cf(t.endLine,t.endColumn,e,i):n,message:t.message,source:t.ruleId?"eslint:"+t.ruleId:"eslint",severity:t.severity==1?"warning":"error"};if(t.fix){let{range:s,text:o}=t.fix,l=s[0]+i.pos-n,a=s[1]+i.pos-n;r.actions=[{name:"fix",apply(u,c){u.dispatch({changes:{from:c+l,to:c+a,insert:o},scrollIntoView:!0})}}]}return r}const _s=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:Rg,completionPath:Ag,esLint:tP,javascript:Mg,javascriptLanguage:vt,jsxLanguage:kc,localCompletionSource:Cg,scopeCompletionSource:H_,snippets:gc,tsxLanguage:yc,typescriptLanguage:xc,typescriptSnippets:Tg},Symbol.toStringTag,{value:"Module"})),Yn=["_blank","_self","_top","_parent"],ql=["ascii","utf-8","utf-16","latin1","latin1"],jl=["get","post","put","delete"],Wl=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],st=["true","false"],U={},nP={a:{attrs:{href:null,ping:null,type:null,media:null,target:Yn,hreflang:null}},abbr:U,address:U,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:U,aside:U,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:U,base:{attrs:{href:null,target:Yn}},bdi:U,bdo:U,blockquote:{attrs:{cite:null}},body:U,br:U,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Wl,formmethod:jl,formnovalidate:["novalidate"],formtarget:Yn,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:U,center:U,cite:U,code:U,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:U,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:U,div:U,dl:U,dt:U,em:U,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:U,figure:U,footer:U,form:{attrs:{action:null,name:null,"accept-charset":ql,autocomplete:["on","off"],enctype:Wl,method:jl,novalidate:["novalidate"],target:Yn}},h1:U,h2:U,h3:U,h4:U,h5:U,h6:U,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:U,hgroup:U,hr:U,html:{attrs:{manifest:null}},i:U,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Wl,formmethod:jl,formnovalidate:["novalidate"],formtarget:Yn,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:U,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:U,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:U,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:ql,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:U,noscript:U,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:U,param:{attrs:{name:null,value:null}},pre:U,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:U,rt:U,ruby:U,samp:U,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:ql}},section:U,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:U,source:{attrs:{src:null,type:null,media:null}},span:U,strong:U,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:U,summary:U,sup:U,table:U,tbody:U,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:U,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:U,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:U,time:{attrs:{datetime:null}},title:U,tr:U,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:U,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:U},Ig={accesskey:null,class:null,contenteditable:st,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:st,autocorrect:st,autocapitalize:st,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":st,"aria-autocomplete":["inline","list","both","none"],"aria-busy":st,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":st,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":st,"aria-hidden":st,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":st,"aria-multiselectable":st,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":st,"aria-relevant":null,"aria-required":st,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},Zg="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(t=>"on"+t);for(let t of Zg)Ig[t]=null;class Ir{constructor(e,i){this.tags={...nP,...e},this.globalAttrs={...Ig,...i},this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}Ir.default=new Ir;function _n(t,e,i=t.length){if(!e)return"";let n=e.firstChild,r=n&&n.getChild("TagName");return r?t.sliceString(r.from,Math.min(r.to,i)):""}function Pn(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function zg(t,e,i){let n=i.tags[_n(t,Pn(e))];return n?.children||i.allTags}function vc(t,e){let i=[];for(let n=Pn(e);n&&!n.type.isTop;n=Pn(n.parent)){let r=_n(t,n);if(r&&n.lastChild.name=="CloseTag")break;r&&i.indexOf(r)<0&&(e.name=="EndTag"||e.from>=n.firstChild.to)&&i.push(r)}return i}const Xg=/^[:\-\.\w\u00b7-\uffff]*$/;function Af(t,e,i,n,r){let s=/\s*>/.test(t.sliceDoc(r,r+5))?"":">",o=Pn(i,i.name=="StartTag"||i.name=="TagName");return{from:n,to:r,options:zg(t.doc,o,e).map(l=>({label:l,type:"type"})).concat(vc(t.doc,i).map((l,a)=>({label:"/"+l,apply:"/"+l+s,type:"type",boost:99-a}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function Ef(t,e,i,n){let r=/\s*>/.test(t.sliceDoc(n,n+5))?"":">";return{from:i,to:n,options:vc(t.doc,e).map((s,o)=>({label:s,apply:s+r,type:"type",boost:99-o})),validFor:Xg}}function rP(t,e,i,n){let r=[],s=0;for(let o of zg(t.doc,i,e))r.push({label:"<"+o,type:"type"});for(let o of vc(t.doc,i))r.push({label:"",type:"type",boost:99-s++});return{from:n,to:n,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function sP(t,e,i,n,r){let s=Pn(i),o=s?e.tags[_n(t.doc,s)]:null,l=o&&o.attrs?Object.keys(o.attrs):[],a=o&&o.globalAttrs===!1?l:l.length?l.concat(e.globalAttrNames):e.globalAttrNames;return{from:n,to:r,options:a.map(u=>({label:u,type:"property"})),validFor:Xg}}function oP(t,e,i,n,r){var s;let o=(s=i.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),l=[],a;if(o){let u=t.sliceDoc(o.from,o.to),c=e.globalAttrs[u];if(!c){let h=Pn(i),d=h?e.tags[_n(t.doc,h)]:null;c=d?.attrs&&d.attrs[u]}if(c){let h=t.sliceDoc(n,r).toLowerCase(),d='"',f='"';/^['"]/.test(h)?(a=h[0]=='"'?/^[^"]*$/:/^[^']*$/,d="",f=t.sliceDoc(r,r+1)==h[0]?"":h[0],h=h.slice(1),n++):a=/^[^\s<>='"]*$/;for(let p of c)l.push({label:p,apply:d+p+f,type:"constant"})}}return{from:n,to:r,options:l,validFor:a}}function Fg(t,e){let{state:i,pos:n}=e,r=Te(i).resolveInner(n,-1),s=r.resolve(n);for(let o=n,l;s==r&&(l=r.childBefore(o));){let a=l.lastChild;if(!a||!a.type.isError||a.fromFg(n,r)}const lP=vt.parser.configure({top:"SingleExpression"}),qg=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:xc.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:kc.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:yc.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:lP},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:vt.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:Rr.parser}],jg=[{name:"style",parser:Rr.parser.configure({top:"Styles"})}].concat(Zg.map(t=>({name:t,parser:vt.parser}))),Wg=vn.define({name:"html",parser:RT.configure({props:[Mn.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].lengtht.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-_"}}),mr=Wg.configure({wrap:gg(qg,jg)});function Ng(t={}){let e="",i;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(i=gg((t.nestedLanguages||[]).concat(qg),(t.nestedAttributes||[]).concat(jg)));let n=i?Wg.configure({wrap:i,dialect:e}):e?mr.configure({dialect:e}):mr;return new Qn(n,[mr.data.of({autocomplete:Vg(t)}),t.autoCloseTags!==!1?Yg:[],Mg().support,Qg().support])}const Lf=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Yg=Y.inputHandler.of((t,e,i,n,r)=>{if(t.composing||t.state.readOnly||e!=i||n!=">"&&n!="/"||!mr.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,l=o.changeByRange(a=>{var u,c,h;let d=o.doc.sliceString(a.from-1,a.to)==n,{head:f}=a,p=Te(o).resolveInner(f,-1),m;if(d&&n==">"&&p.name=="EndTag"){let O=p.parent;if(((c=(u=O.parent)===null||u===void 0?void 0:u.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(m=_n(o.doc,O.parent,f))&&!Lf.has(m)){let g=f+(o.doc.sliceString(f,f+1)===">"?1:0),b=``;return{range:a,changes:{from:f,to:g,insert:b}}}}else if(d&&n=="/"&&p.name=="IncompleteCloseTag"){let O=p.parent;if(p.from==f-2&&((h=O.lastChild)===null||h===void 0?void 0:h.name)!="CloseTag"&&(m=_n(o.doc,O,f))&&!Lf.has(m)){let g=f+(o.doc.sliceString(f,f+1)===">"?1:0),b=`${m}>`;return{range:L.cursor(f+b.length,-1),changes:{from:f,to:g,insert:b}}}}return{range:a}});return l.changes.empty?!1:(t.dispatch([s,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),aP=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:Yg,html:Ng,htmlCompletionSource:Bg,htmlCompletionSourceWith:Vg,htmlLanguage:mr},Symbol.toStringTag,{value:"Module"})),Gg=No({commentTokens:{block:{open:""}}}),Ug=new ie,Hg=C$.configure({props:[Ur.add(t=>!t.is("Block")||t.is("Document")||du(t)!=null||uP(t)?void 0:(e,i)=>({from:i.doc.lineAt(e.from).to,to:e.to})),Ug.add(du),Mn.add({Document:()=>null}),bi.add({Document:Gg})]});function du(t){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(t.name);return e?+e[1]:void 0}function uP(t){return t.name=="OrderedList"||t.name=="BulletList"}function cP(t,e){let i=t;for(;;){let n=i.nextSibling,r;if(!n||(r=du(n.type))!=null&&r<=e)break;i=n}return i.to}const hP=l3.of((t,e,i)=>{for(let n=Te(t).resolveInner(i,-1);n&&!(n.fromi)return{from:i,to:s}}return null});function Sc(t){return new pt(Gg,t,[],"markdown")}const Kg=Sc(Hg),dP=Hg.configure([F$,V$,B$,q$,{props:[Ur.add({Table:(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}]),Zr=Sc(dP);function fP(t,e){return i=>{if(i&&t){let n=null;if(i=/\S*/.exec(i)[0],typeof t=="function"?n=t(i):n=P.matchLanguageName(t,i,!0),n instanceof P)return n.support?n.support.language.parser:ji.getSkippingParser(n.load());if(n)return n.parser}return e?e.parser:null}}class Nl{constructor(e,i,n,r,s,o,l){this.node=e,this.from=i,this.to=n,this.spaceBefore=r,this.spaceAfter=s,this.type=o,this.item=l}blank(e,i=!0){let n=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;n.length0;r--)n+=" ";return n+(i?this.spaceAfter:"")}}marker(e,i){let n=this.node.name=="OrderedList"?String(+e1(this.item,e)[2]+i):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function Jg(t,e){let i=[],n=[];for(let r=t;r;r=r.parent){if(r.name=="FencedCode")return n;(r.name=="ListItem"||r.name=="Blockquote")&&i.push(r)}for(let r=i.length-1;r>=0;r--){let s=i[r],o,l=e.lineAt(s.from),a=s.from-l.from;if(s.name=="Blockquote"&&(o=/^ *>( ?)/.exec(l.text.slice(a))))n.push(new Nl(s,a,a+o[0].length,"",o[1],">",null));else if(s.name=="ListItem"&&s.parent.name=="OrderedList"&&(o=/^( *)\d+([.)])( *)/.exec(l.text.slice(a)))){let u=o[3],c=o[0].length;u.length>=4&&(u=u.slice(0,u.length-4),c-=4),n.push(new Nl(s.parent,a,a+c,o[1],u,o[2],s))}else if(s.name=="ListItem"&&s.parent.name=="BulletList"&&(o=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(l.text.slice(a)))){let u=o[4],c=o[0].length;u.length>4&&(u=u.slice(0,u.length-4),c-=4);let h=o[2];o[3]&&(h+=o[3].replace(/[xX]/," ")),n.push(new Nl(s.parent,a,a+c,o[1],u,h,s))}}return n}function e1(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function Yl(t,e,i,n=0){for(let r=-1,s=t;;){if(s.name=="ListItem"){let l=e1(s,e),a=+l[2];if(r>=0){if(a!=r+1)return;i.push({from:s.from+l[1].length,to:s.from+l[0].length,insert:String(r+2+n)})}r=a}let o=s.nextSibling;if(!o)break;s=o}}function wc(t,e){let i=/^[ \t]*/.exec(t)[0].length;if(!i||e.facet(Dn)!=" ")return t;let n=ii(t,4,i),r="";for(let s=n;s>0;)s>=4?(r+=" ",s-=4):(r+=" ",s--);return r+t.slice(i)}const t1=(t={})=>({state:e,dispatch:i})=>{let n=Te(e),{doc:r}=e,s=null,o=e.changeByRange(l=>{if(!l.empty||!Zr.isActiveAt(e,l.from,-1)&&!Zr.isActiveAt(e,l.from,1))return s={range:l};let a=l.from,u=r.lineAt(a),c=Jg(n.resolveInner(a,-1),r);for(;c.length&&c[c.length-1].from>a-u.from;)c.pop();if(!c.length)return s={range:l};let h=c[c.length-1];if(h.to-h.spaceAfter.length>a-u.from)return s={range:l};let d=a>=h.to-h.spaceAfter.length&&!/\S/.test(u.text.slice(h.to));if(h.item&&d){let g=h.node.firstChild,b=h.node.getChild("ListItem","ListItem");if(g.to>=a||b&&b.to0&&!/[^\s>]/.test(r.lineAt(u.from-1).text)||t.nonTightLists===!1){let S=c.length>1?c[c.length-2]:null,y,x="";S&&S.item?(y=u.from+S.from,x=S.marker(r,1)):y=u.from+(S?S.to:0);let Q=[{from:y,to:a,insert:x}];return h.node.name=="OrderedList"&&Yl(h.item,r,Q,-2),S&&S.node.name=="OrderedList"&&Yl(S.item,r,Q),{range:L.cursor(y+x.length),changes:Q}}else{let S=Mf(c,e,u);return{range:L.cursor(a+S.length+1),changes:{from:u.from,insert:S+e.lineBreak}}}}if(h.node.name=="Blockquote"&&d&&u.from){let g=r.lineAt(u.from-1),b=/>\s*$/.exec(g.text);if(b&&b.index==h.from){let S=e.changes([{from:g.from+b.index,to:g.to},{from:u.from+h.from,to:u.to}]);return{range:l.map(S),changes:S}}}let f=[];h.node.name=="OrderedList"&&Yl(h.item,r,f);let p=h.item&&h.item.from]*/.exec(u.text)[0].length>=h.to)for(let g=0,b=c.length-1;g<=b;g++)m+=g==b&&!p?c[g].marker(r,1):c[g].blank(gu.from&&/\s/.test(u.text.charAt(O-u.from-1));)O--;return m=wc(m,e),pP(h.node,e.doc)&&(m=Mf(c,e,u)+e.lineBreak+m),f.push({from:O,to:a,insert:e.lineBreak+m}),{range:L.cursor(O+m.length+1),changes:f}});return s?!1:(i(e.update(o,{scrollIntoView:!0,userEvent:"input"})),!0)},i1=t1();function Df(t){return t.name=="QuoteMark"||t.name=="ListMark"}function pP(t,e){if(t.name!="OrderedList"&&t.name!="BulletList")return!1;let i=t.firstChild,n=t.getChild("ListItem","ListItem");if(!n)return!1;let r=e.lineAt(i.to),s=e.lineAt(n.from),o=/^[\s>]*$/.test(r.text);return r.number+(o?0:1){let i=Te(t),n=null,r=t.changeByRange(s=>{let o=s.from,{doc:l}=t;if(s.empty&&Zr.isActiveAt(t,s.from)){let a=l.lineAt(o),u=Jg(mP(i,o),l);if(u.length){let c=u[u.length-1],h=c.to-c.spaceAfter.length+(c.spaceAfter?1:0);if(o-a.from>h&&!/\S/.test(a.text.slice(h,o-a.from)))return{range:L.cursor(a.from+h),changes:{from:a.from+h,to:o}};if(o-a.from==h&&(!c.item||a.from<=c.item.from||!/\S/.test(a.text.slice(0,c.to)))){let d=a.from+c.from;if(c.item&&c.node.from{var i;let{main:n}=e.state.selection;if(n.empty)return!1;let r=(i=t.clipboardData)===null||i===void 0?void 0:i.getData("text/plain");if(!r||!/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(r)||(/^www\./.test(r)&&(r="https://"+r),!Zr.isActiveAt(e.state,n.from,1)))return!1;let s=Te(e.state),o=!1;return s.iterate({from:n.from,to:n.to,enter:l=>{(l.from>n.from||bP.test(l.name))&&(o=!0)},leave:l=>{l.toimport("./index-DPuWRdRa.mjs"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(e=>e.sql({dialect:e[t]}))}const kP=[P.of({name:"C",extensions:["c","h","ino"],load(){return A(()=>import("./index-CEnxmhrw.mjs"),__vite__mapDeps([5,1,2,3,4]),import.meta.url).then(t=>t.cpp())}}),P.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load(){return A(()=>import("./index-CEnxmhrw.mjs"),__vite__mapDeps([5,1,2,3,4]),import.meta.url).then(t=>t.cpp())}}),P.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load(){return ai("Cassandra")}}),P.of({name:"CSS",extensions:["css"],load(){return A(()=>Promise.resolve().then(()=>O_),void 0,import.meta.url).then(t=>t.css())}}),P.of({name:"Go",extensions:["go"],load(){return A(()=>import("./index-D7lBHWQJ.mjs"),__vite__mapDeps([6,1,2,3,4]),import.meta.url).then(t=>t.go())}}),P.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load(){return A(()=>Promise.resolve().then(()=>aP),void 0,import.meta.url).then(t=>t.html())}}),P.of({name:"Java",extensions:["java"],load(){return A(()=>import("./index-ByDDD7Lk.mjs"),__vite__mapDeps([7,1,2,3,4]),import.meta.url).then(t=>t.java())}}),P.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load(){return A(()=>Promise.resolve().then(()=>_s),void 0,import.meta.url).then(t=>t.javascript())}}),P.of({name:"Jinja",extensions:["j2","jinja","jinja2"],load(){return A(()=>import("./index-ChTr9CNi.mjs"),__vite__mapDeps([8,1,2,3,4]),import.meta.url).then(t=>t.jinja())}}),P.of({name:"JSON",alias:["json5"],extensions:["json","map"],load(){return A(()=>import("./index-CVXEJ3S9.mjs"),__vite__mapDeps([9,1,2,3,4]),import.meta.url).then(t=>t.json())}}),P.of({name:"JSX",extensions:["jsx"],load(){return A(()=>Promise.resolve().then(()=>_s),void 0,import.meta.url).then(t=>t.javascript({jsx:!0}))}}),P.of({name:"LESS",extensions:["less"],load(){return A(()=>import("./index-pNj0h2EV.mjs"),__vite__mapDeps([10,1,2,3,4]),import.meta.url).then(t=>t.less())}}),P.of({name:"Liquid",extensions:["liquid"],load(){return A(()=>import("./index-0dfTDT3y.mjs"),__vite__mapDeps([11,1,2,3,4]),import.meta.url).then(t=>t.liquid())}}),P.of({name:"MariaDB SQL",load(){return ai("MariaSQL")}}),P.of({name:"Markdown",extensions:["md","markdown","mkd"],load(){return A(()=>Promise.resolve().then(()=>xP),void 0,import.meta.url).then(t=>t.markdown())}}),P.of({name:"MS SQL",load(){return ai("MSSQL")}}),P.of({name:"MySQL",load(){return ai("MySQL")}}),P.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load(){return A(()=>import("./index-D7U-DVxL.mjs"),__vite__mapDeps([12,1,2,3,4]),import.meta.url).then(t=>t.php())}}),P.of({name:"PLSQL",extensions:["pls"],load(){return ai("PLSQL")}}),P.of({name:"PostgreSQL",load(){return ai("PostgreSQL")}}),P.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load(){return A(()=>import("./index-B2C3-0oc.mjs"),__vite__mapDeps([13,1,2,3,4]),import.meta.url).then(t=>t.python())}}),P.of({name:"Rust",extensions:["rs"],load(){return A(()=>import("./index-CH8OBzPX.mjs"),__vite__mapDeps([14,1,2,3,4]),import.meta.url).then(t=>t.rust())}}),P.of({name:"Sass",extensions:["sass"],load(){return A(()=>import("./index-Bl6f9hPu.mjs"),__vite__mapDeps([15,1,2,3,4]),import.meta.url).then(t=>t.sass({indented:!0}))}}),P.of({name:"SCSS",extensions:["scss"],load(){return A(()=>import("./index-Bl6f9hPu.mjs"),__vite__mapDeps([15,1,2,3,4]),import.meta.url).then(t=>t.sass())}}),P.of({name:"SQL",extensions:["sql"],load(){return ai("StandardSQL")}}),P.of({name:"SQLite",load(){return ai("SQLite")}}),P.of({name:"TSX",extensions:["tsx"],load(){return A(()=>Promise.resolve().then(()=>_s),void 0,import.meta.url).then(t=>t.javascript({jsx:!0,typescript:!0}))}}),P.of({name:"TypeScript",alias:["ts"],extensions:["ts","mts","cts"],load(){return A(()=>Promise.resolve().then(()=>_s),void 0,import.meta.url).then(t=>t.javascript({typescript:!0}))}}),P.of({name:"WebAssembly",extensions:["wat","wast"],load(){return A(()=>import("./index-C414-4EI.mjs"),__vite__mapDeps([16,1,2,3,4]),import.meta.url).then(t=>t.wast())}}),P.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load(){return A(()=>import("./index-DMaaPvP_.mjs"),__vite__mapDeps([17,1,2,3,4]),import.meta.url).then(t=>t.xml())}}),P.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load(){return A(()=>import("./index-D1R6sFRB.mjs"),__vite__mapDeps([18,1,2,3,4]),import.meta.url).then(t=>t.yaml())}}),P.of({name:"APL",extensions:["dyalog","apl"],load(){return A(()=>import("./apl-B4CMkyY2.mjs"),[],import.meta.url).then(t=>R(t.apl))}}),P.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load(){return A(()=>import("./asciiarmor-Df11BRmG.mjs"),[],import.meta.url).then(t=>R(t.asciiArmor))}}),P.of({name:"ASN.1",extensions:["asn","asn1"],load(){return A(()=>import("./asn1-EdZsLKOL.mjs"),[],import.meta.url).then(t=>R(t.asn1({})))}}),P.of({name:"Asterisk",filename:/^extensions\.conf$/i,load(){return A(()=>import("./asterisk-B-8jnY81.mjs"),[],import.meta.url).then(t=>R(t.asterisk))}}),P.of({name:"Brainfuck",extensions:["b","bf"],load(){return A(()=>import("./brainfuck-C4LP7Hcl.mjs"),[],import.meta.url).then(t=>R(t.brainfuck))}}),P.of({name:"Cobol",extensions:["cob","cpy"],load(){return A(()=>import("./cobol-CWcv1MsR.mjs"),[],import.meta.url).then(t=>R(t.cobol))}}),P.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load(){return A(()=>import("./clike-B9uivgTg.mjs"),[],import.meta.url).then(t=>R(t.csharp))}}),P.of({name:"Clojure",extensions:["clj","cljc","cljx"],load(){return A(()=>import("./clojure-BMjYHr_A.mjs"),[],import.meta.url).then(t=>R(t.clojure))}}),P.of({name:"ClojureScript",extensions:["cljs"],load(){return A(()=>import("./clojure-BMjYHr_A.mjs"),[],import.meta.url).then(t=>R(t.clojure))}}),P.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load(){return A(()=>import("./css-BnMrqG3P.mjs"),[],import.meta.url).then(t=>R(t.gss))}}),P.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load(){return A(()=>import("./cmake-BQqOBYOt.mjs"),[],import.meta.url).then(t=>R(t.cmake))}}),P.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load(){return A(()=>import("./coffeescript-S37ZYGWr.mjs"),[],import.meta.url).then(t=>R(t.coffeeScript))}}),P.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load(){return A(()=>import("./commonlisp-DBKNyK5s.mjs"),[],import.meta.url).then(t=>R(t.commonLisp))}}),P.of({name:"Cypher",extensions:["cyp","cypher"],load(){return A(()=>import("./cypher-C_CwsFkJ.mjs"),[],import.meta.url).then(t=>R(t.cypher))}}),P.of({name:"Cython",extensions:["pyx","pxd","pxi"],load(){return A(()=>import("./python-BuPzkPfP.mjs"),[],import.meta.url).then(t=>R(t.cython))}}),P.of({name:"Crystal",extensions:["cr"],load(){return A(()=>import("./crystal-SjHAIU92.mjs"),[],import.meta.url).then(t=>R(t.crystal))}}),P.of({name:"D",extensions:["d"],load(){return A(()=>import("./d-pRatUO7H.mjs"),[],import.meta.url).then(t=>R(t.d))}}),P.of({name:"Dart",extensions:["dart"],load(){return A(()=>import("./clike-B9uivgTg.mjs"),[],import.meta.url).then(t=>R(t.dart))}}),P.of({name:"diff",extensions:["diff","patch"],load(){return A(()=>import("./diff-DbItnlRl.mjs"),[],import.meta.url).then(t=>R(t.diff))}}),P.of({name:"Dockerfile",filename:/^Dockerfile$/,load(){return A(()=>import("./dockerfile-DzPVv209.mjs"),__vite__mapDeps([19,20]),import.meta.url).then(t=>R(t.dockerFile))}}),P.of({name:"DTD",extensions:["dtd"],load(){return A(()=>import("./dtd-DF_7sFjM.mjs"),[],import.meta.url).then(t=>R(t.dtd))}}),P.of({name:"Dylan",extensions:["dylan","dyl","intr"],load(){return A(()=>import("./dylan-DwRh75JA.mjs"),[],import.meta.url).then(t=>R(t.dylan))}}),P.of({name:"EBNF",load(){return A(()=>import("./ebnf-CDyGwa7X.mjs"),[],import.meta.url).then(t=>R(t.ebnf))}}),P.of({name:"ECL",extensions:["ecl"],load(){return A(()=>import("./ecl-Cabwm37j.mjs"),[],import.meta.url).then(t=>R(t.ecl))}}),P.of({name:"edn",extensions:["edn"],load(){return A(()=>import("./clojure-BMjYHr_A.mjs"),[],import.meta.url).then(t=>R(t.clojure))}}),P.of({name:"Eiffel",extensions:["e"],load(){return A(()=>import("./eiffel-CnydiIhH.mjs"),[],import.meta.url).then(t=>R(t.eiffel))}}),P.of({name:"Elm",extensions:["elm"],load(){return A(()=>import("./elm-vLlmbW-K.mjs"),[],import.meta.url).then(t=>R(t.elm))}}),P.of({name:"Erlang",extensions:["erl"],load(){return A(()=>import("./erlang-BNw1qcRV.mjs"),[],import.meta.url).then(t=>R(t.erlang))}}),P.of({name:"Esper",load(){return A(()=>import("./sql-D0XecflT.mjs"),[],import.meta.url).then(t=>R(t.esper))}}),P.of({name:"Factor",extensions:["factor"],load(){return A(()=>import("./factor-BBbj1ob8.mjs"),__vite__mapDeps([21,20]),import.meta.url).then(t=>R(t.factor))}}),P.of({name:"FCL",load(){return A(()=>import("./fcl-Kvtd6kyn.mjs"),[],import.meta.url).then(t=>R(t.fcl))}}),P.of({name:"Forth",extensions:["forth","fth","4th"],load(){return A(()=>import("./forth-Ffai-XNe.mjs"),[],import.meta.url).then(t=>R(t.forth))}}),P.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load(){return A(()=>import("./fortran-DYz_wnZ1.mjs"),[],import.meta.url).then(t=>R(t.fortran))}}),P.of({name:"F#",alias:["fsharp"],extensions:["fs"],load(){return A(()=>import("./mllike-CXdrOF99.mjs"),[],import.meta.url).then(t=>R(t.fSharp))}}),P.of({name:"Gas",extensions:["s"],load(){return A(()=>import("./gas-Bneqetm1.mjs"),[],import.meta.url).then(t=>R(t.gas))}}),P.of({name:"Gherkin",extensions:["feature"],load(){return A(()=>import("./gherkin-heZmZLOM.mjs"),[],import.meta.url).then(t=>R(t.gherkin))}}),P.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load(){return A(()=>import("./groovy-D9Dt4D0W.mjs"),[],import.meta.url).then(t=>R(t.groovy))}}),P.of({name:"Haskell",extensions:["hs"],load(){return A(()=>import("./haskell-Cw1EW3IL.mjs"),[],import.meta.url).then(t=>R(t.haskell))}}),P.of({name:"Haxe",extensions:["hx"],load(){return A(()=>import("./haxe-H-WmDvRZ.mjs"),[],import.meta.url).then(t=>R(t.haxe))}}),P.of({name:"HXML",extensions:["hxml"],load(){return A(()=>import("./haxe-H-WmDvRZ.mjs"),[],import.meta.url).then(t=>R(t.hxml))}}),P.of({name:"HTTP",load(){return A(()=>import("./http-DBlCnlav.mjs"),[],import.meta.url).then(t=>R(t.http))}}),P.of({name:"IDL",extensions:["pro"],load(){return A(()=>import("./idl-BEugSyMb.mjs"),[],import.meta.url).then(t=>R(t.idl))}}),P.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load(){return A(()=>import("./javascript-iXu5QeM3.mjs"),[],import.meta.url).then(t=>R(t.jsonld))}}),P.of({name:"Julia",extensions:["jl"],load(){return A(()=>import("./julia-DuME0IfC.mjs"),[],import.meta.url).then(t=>R(t.julia))}}),P.of({name:"Kotlin",extensions:["kt","kts"],load(){return A(()=>import("./clike-B9uivgTg.mjs"),[],import.meta.url).then(t=>R(t.kotlin))}}),P.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load(){return A(()=>import("./livescript-BwQOo05w.mjs"),[],import.meta.url).then(t=>R(t.liveScript))}}),P.of({name:"Lua",extensions:["lua"],load(){return A(()=>import("./lua-BgMRiT3U.mjs"),[],import.meta.url).then(t=>R(t.lua))}}),P.of({name:"mIRC",extensions:["mrc"],load(){return A(()=>import("./mirc-CjQqDB4T.mjs"),[],import.meta.url).then(t=>R(t.mirc))}}),P.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load(){return A(()=>import("./mathematica-DTrFuWx2.mjs"),[],import.meta.url).then(t=>R(t.mathematica))}}),P.of({name:"Modelica",extensions:["mo"],load(){return A(()=>import("./modelica-Dc1JOy9r.mjs"),[],import.meta.url).then(t=>R(t.modelica))}}),P.of({name:"MUMPS",extensions:["mps"],load(){return A(()=>import("./mumps-BT43cFF4.mjs"),[],import.meta.url).then(t=>R(t.mumps))}}),P.of({name:"Mbox",extensions:["mbox"],load(){return A(()=>import("./mbox-CNhZ1qSd.mjs"),[],import.meta.url).then(t=>R(t.mbox))}}),P.of({name:"Nginx",filename:/nginx.*\.conf$/i,load(){return A(()=>import("./nginx-DdIZxoE0.mjs"),[],import.meta.url).then(t=>R(t.nginx))}}),P.of({name:"NSIS",extensions:["nsh","nsi"],load(){return A(()=>import("./nsis-BNR6u943.mjs"),__vite__mapDeps([22,20]),import.meta.url).then(t=>R(t.nsis))}}),P.of({name:"NTriples",extensions:["nt","nq"],load(){return A(()=>import("./ntriples-BfvgReVJ.mjs"),[],import.meta.url).then(t=>R(t.ntriples))}}),P.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load(){return A(()=>import("./clike-B9uivgTg.mjs"),[],import.meta.url).then(t=>R(t.objectiveC))}}),P.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load(){return A(()=>import("./clike-B9uivgTg.mjs"),[],import.meta.url).then(t=>R(t.objectiveCpp))}}),P.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load(){return A(()=>import("./mllike-CXdrOF99.mjs"),[],import.meta.url).then(t=>R(t.oCaml))}}),P.of({name:"Octave",extensions:["m"],load(){return A(()=>import("./octave-Ck1zUtKM.mjs"),[],import.meta.url).then(t=>R(t.octave))}}),P.of({name:"Oz",extensions:["oz"],load(){return A(()=>import("./oz-BzwKVEFT.mjs"),[],import.meta.url).then(t=>R(t.oz))}}),P.of({name:"Pascal",extensions:["p","pas"],load(){return A(()=>import("./pascal--L3eBynH.mjs"),[],import.meta.url).then(t=>R(t.pascal))}}),P.of({name:"Perl",extensions:["pl","pm"],load(){return A(()=>import("./perl-CdXCOZ3F.mjs"),[],import.meta.url).then(t=>R(t.perl))}}),P.of({name:"Pig",extensions:["pig"],load(){return A(()=>import("./pig-CevX1Tat.mjs"),[],import.meta.url).then(t=>R(t.pig))}}),P.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load(){return A(()=>import("./powershell-CFHJl5sT.mjs"),[],import.meta.url).then(t=>R(t.powerShell))}}),P.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load(){return A(()=>import("./properties-C78fOPTZ.mjs"),[],import.meta.url).then(t=>R(t.properties))}}),P.of({name:"ProtoBuf",extensions:["proto"],load(){return A(()=>import("./protobuf-ChK-085T.mjs"),[],import.meta.url).then(t=>R(t.protobuf))}}),P.of({name:"Pug",alias:["jade"],extensions:["pug","jade"],load(){return A(()=>import("./pug-BVXhkSQQ.mjs"),__vite__mapDeps([23,24]),import.meta.url).then(t=>R(t.pug))}}),P.of({name:"Puppet",extensions:["pp"],load(){return A(()=>import("./puppet-DMA9R1ak.mjs"),[],import.meta.url).then(t=>R(t.puppet))}}),P.of({name:"Q",extensions:["q"],load(){return A(()=>import("./q-pXgVlZs6.mjs"),[],import.meta.url).then(t=>R(t.q))}}),P.of({name:"R",alias:["rscript"],extensions:["r","R"],load(){return A(()=>import("./r-B6wPVr8A.mjs"),[],import.meta.url).then(t=>R(t.r))}}),P.of({name:"RPM Changes",load(){return A(()=>import("./rpm-CTu-6PCP.mjs"),[],import.meta.url).then(t=>R(t.rpmChanges))}}),P.of({name:"RPM Spec",extensions:["spec"],load(){return A(()=>import("./rpm-CTu-6PCP.mjs"),[],import.meta.url).then(t=>R(t.rpmSpec))}}),P.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load(){return A(()=>import("./ruby-B2Rjki9n.mjs"),[],import.meta.url).then(t=>R(t.ruby))}}),P.of({name:"SAS",extensions:["sas"],load(){return A(()=>import("./sas-B4kiWyti.mjs"),[],import.meta.url).then(t=>R(t.sas))}}),P.of({name:"Scala",extensions:["scala"],load(){return A(()=>import("./clike-B9uivgTg.mjs"),[],import.meta.url).then(t=>R(t.scala))}}),P.of({name:"Scheme",extensions:["scm","ss"],load(){return A(()=>import("./scheme-C41bIUwD.mjs"),[],import.meta.url).then(t=>R(t.scheme))}}),P.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load(){return A(()=>import("./shell-CjFT_Tl9.mjs"),[],import.meta.url).then(t=>R(t.shell))}}),P.of({name:"Sieve",extensions:["siv","sieve"],load(){return A(()=>import("./sieve-C3Gn_uJK.mjs"),[],import.meta.url).then(t=>R(t.sieve))}}),P.of({name:"Smalltalk",extensions:["st"],load(){return A(()=>import("./smalltalk-CnHTOXQT.mjs"),[],import.meta.url).then(t=>R(t.smalltalk))}}),P.of({name:"Solr",load(){return A(()=>import("./solr-DehyRSwq.mjs"),[],import.meta.url).then(t=>R(t.solr))}}),P.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load(){return A(()=>import("./mllike-CXdrOF99.mjs"),[],import.meta.url).then(t=>R(t.sml))}}),P.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load(){return A(()=>import("./sparql-DkYu6x3z.mjs"),[],import.meta.url).then(t=>R(t.sparql))}}),P.of({name:"Spreadsheet",alias:["excel","formula"],load(){return A(()=>import("./spreadsheet-BCZA_wO0.mjs"),[],import.meta.url).then(t=>R(t.spreadsheet))}}),P.of({name:"Squirrel",extensions:["nut"],load(){return A(()=>import("./clike-B9uivgTg.mjs"),[],import.meta.url).then(t=>R(t.squirrel))}}),P.of({name:"Stylus",extensions:["styl"],load(){return A(()=>import("./stylus-B533Al4x.mjs"),[],import.meta.url).then(t=>R(t.stylus))}}),P.of({name:"Swift",extensions:["swift"],load(){return A(()=>import("./swift-BzpIVaGY.mjs"),[],import.meta.url).then(t=>R(t.swift))}}),P.of({name:"sTeX",load(){return A(()=>import("./stex-C3f8Ysf7.mjs"),[],import.meta.url).then(t=>R(t.stex))}}),P.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load(){return A(()=>import("./stex-C3f8Ysf7.mjs"),[],import.meta.url).then(t=>R(t.stex))}}),P.of({name:"SystemVerilog",extensions:["v","sv","svh"],load(){return A(()=>import("./verilog-C6RDOZhf.mjs"),[],import.meta.url).then(t=>R(t.verilog))}}),P.of({name:"Tcl",extensions:["tcl"],load(){return A(()=>import("./tcl-DVfN8rqt.mjs"),[],import.meta.url).then(t=>R(t.tcl))}}),P.of({name:"Textile",extensions:["textile"],load(){return A(()=>import("./textile-CnDTJFAw.mjs"),[],import.meta.url).then(t=>R(t.textile))}}),P.of({name:"TiddlyWiki",load(){return A(()=>import("./tiddlywiki-DO-Gjzrf.mjs"),[],import.meta.url).then(t=>R(t.tiddlyWiki))}}),P.of({name:"Tiki wiki",load(){return A(()=>import("./tiki-DGYXhP31.mjs"),[],import.meta.url).then(t=>R(t.tiki))}}),P.of({name:"TOML",extensions:["toml"],load(){return A(()=>import("./toml-Bm5Em-hy.mjs"),[],import.meta.url).then(t=>R(t.toml))}}),P.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load(){return A(()=>import("./troff-wAsdV37c.mjs"),[],import.meta.url).then(t=>R(t.troff))}}),P.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load(){return A(()=>import("./ttcn-CfJYG6tj.mjs"),[],import.meta.url).then(t=>R(t.ttcn))}}),P.of({name:"TTCN_CFG",extensions:["cfg"],load(){return A(()=>import("./ttcn-cfg-B9xdYoR4.mjs"),[],import.meta.url).then(t=>R(t.ttcnCfg))}}),P.of({name:"Turtle",extensions:["ttl"],load(){return A(()=>import("./turtle-B1tBg_DP.mjs"),[],import.meta.url).then(t=>R(t.turtle))}}),P.of({name:"Web IDL",extensions:["webidl"],load(){return A(()=>import("./webidl-ZXfAyPTL.mjs"),[],import.meta.url).then(t=>R(t.webIDL))}}),P.of({name:"VB.NET",extensions:["vb"],load(){return A(()=>import("./vb-CmGdzxic.mjs"),[],import.meta.url).then(t=>R(t.vb))}}),P.of({name:"VBScript",extensions:["vbs"],load(){return A(()=>import("./vbscript-BuJXcnF6.mjs"),[],import.meta.url).then(t=>R(t.vbScript))}}),P.of({name:"Velocity",extensions:["vtl"],load(){return A(()=>import("./velocity-D8B20fx6.mjs"),[],import.meta.url).then(t=>R(t.velocity))}}),P.of({name:"Verilog",extensions:["v"],load(){return A(()=>import("./verilog-C6RDOZhf.mjs"),[],import.meta.url).then(t=>R(t.verilog))}}),P.of({name:"VHDL",extensions:["vhd","vhdl"],load(){return A(()=>import("./vhdl-lSbBsy5d.mjs"),[],import.meta.url).then(t=>R(t.vhdl))}}),P.of({name:"XQuery",extensions:["xy","xquery","xq","xqm","xqy"],load(){return A(()=>import("./xquery-DzFWVndE.mjs"),[],import.meta.url).then(t=>R(t.xQuery))}}),P.of({name:"Yacas",extensions:["ys"],load(){return A(()=>import("./yacas-BJ4BC0dw.mjs"),[],import.meta.url).then(t=>R(t.yacas))}}),P.of({name:"Z80",extensions:["z80"],load(){return A(()=>import("./z80-Hz9HOZM7.mjs"),[],import.meta.url).then(t=>R(t.z80))}}),P.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load(){return A(()=>import("./mscgen-BA5vi2Kp.mjs"),[],import.meta.url).then(t=>R(t.mscgen))}}),P.of({name:"Xù",extensions:["xu"],load(){return A(()=>import("./mscgen-BA5vi2Kp.mjs"),[],import.meta.url).then(t=>R(t.xu))}}),P.of({name:"MsGenny",extensions:["msgenny"],load(){return A(()=>import("./mscgen-BA5vi2Kp.mjs"),[],import.meta.url).then(t=>R(t.msgenny))}}),P.of({name:"Vue",extensions:["vue"],load(){return A(()=>import("./index-xO3ktRiz.mjs"),__vite__mapDeps([25,1,2,3,4]),import.meta.url).then(t=>t.vue())}}),P.of({name:"Angular Template",load(){return A(()=>import("./index-Cjj56UY-.mjs"),__vite__mapDeps([26,1,2,3,4]),import.meta.url).then(t=>t.angular())}})],Rf=typeof String.prototype.normalize=="function"?t=>t.normalize("NFKD"):t=>t;class zr{constructor(e,i,n=0,r=e.length,s,o){this.test=o,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=s?l=>s(Rf(l)):Rf,this.query=this.normalize(i)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return hi(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let i=pm(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=Li(e);let r=this.normalize(i);if(r.length)for(let s=0,o=n;;s++){let l=r.charCodeAt(s),a=this.match(l,o,this.bufferPos+this.bufferStart);if(s==r.length-1){if(a)return this.value=a,this;break}o==n&&sthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let i=this.matchPos<=this.to&&this.re.exec(this.curLine);if(i){let n=this.curLineStart+i.index,r=n+i[0].length;if(this.matchPos=_o(this.text,r+(n==r?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,r,i)))return this.value={from:n,to:r,match:i},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=n||r.to<=i){let l=new fn(i,e.sliceString(i,n));return Ul.set(e,l),l}if(r.from==i&&r.to==n)return r;let{text:s,from:o}=r;return o>i&&(s=e.sliceString(i,o)+s,o=i),r.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,i=this.re.exec(this.flat.text);if(i&&!i[0]&&i.index==e&&(this.re.lastIndex=e+1,i=this.re.exec(this.flat.text)),i){let n=this.flat.from+i.index,r=n+i[0].length;if((this.flat.to>=this.to||i.index+i[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,r,i)))return this.value={from:n,to:r,match:i},this.matchPos=_o(this.text,r+(n==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=fn.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(u1.prototype[Symbol.iterator]=c1.prototype[Symbol.iterator]=function(){return this});function yP(t){try{return new RegExp(t,Qc),!0}catch{return!1}}function _o(t,e){if(e>=t.length)return e;let i=t.lineAt(e),n;for(;e=56320&&n<57344;)e++;return e}const vP=t=>{let{state:e}=t,i=String(e.doc.lineAt(t.state.selection.main.head).number),{close:n,result:r}=bw(t,{label:e.phrase("Go to line"),input:{type:"text",name:"line",value:i},focus:!0,submitLabel:e.phrase("go")});return r.then(s=>{let o=s&&/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(s.elements.line.value);if(!o){t.dispatch({effects:n});return}let l=e.doc.lineAt(e.selection.main.head),[,a,u,c,h]=o,d=c?+c.slice(1):0,f=u?+u:l.number;if(u&&h){let O=f/100;a&&(O=O*(a=="-"?-1:1)+l.number/e.doc.lines),f=Math.round(e.doc.lines*O)}else u&&a&&(f=f*(a=="-"?-1:1)+l.number);let p=e.doc.line(Math.max(1,Math.min(e.doc.lines,f))),m=L.cursor(p.from+Math.max(0,Math.min(d,p.length)));t.dispatch({effects:[n,Y.scrollIntoView(m.from,{y:"center"})],selection:m})}),!0},SP=({state:t,dispatch:e})=>{let{selection:i}=t,n=L.create(i.ranges.map(r=>t.wordAt(r.head)||L.cursor(r.head)),i.mainIndex);return n.eq(i)?!1:(e(t.update({selection:n})),!0)};function wP(t,e){let{main:i,ranges:n}=t.selection,r=t.wordAt(i.head),s=r&&r.from==i.from&&r.to==i.to;for(let o=!1,l=new zr(t.doc,e,n[n.length-1].to);;)if(l.next(),l.done){if(o)return null;l=new zr(t.doc,e,0,Math.max(0,n[n.length-1].from-1)),o=!0}else{if(o&&n.some(a=>a.from==l.value.from))continue;if(s){let a=t.wordAt(l.value.from);if(!a||a.from!=l.value.from||a.to!=l.value.to)continue}return l.value}}const QP=({state:t,dispatch:e})=>{let{ranges:i}=t.selection;if(i.some(s=>s.from===s.to))return SP({state:t,dispatch:e});let n=t.sliceDoc(i[0].from,i[0].to);if(t.selection.ranges.some(s=>t.sliceDoc(s.from,s.to)!=n))return!1;let r=wP(t,n);return r?(e(t.update({selection:t.selection.addRange(L.range(r.from,r.to),!1),effects:Y.scrollIntoView(r.to)})),!0):!1},Zn=G.define({combine(t){return jr(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new zP(e),scrollToMatch:e=>Y.scrollIntoView(e)})}});class h1{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||yP(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord,this.test=e.test}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(i,n)=>n=="n"?` +`:n=="r"?"\r":n=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord&&this.test==e.test}create(){return this.regexp?new AP(this):new _P(this)}getCursor(e,i=0,n){let r=e.doc?e:ue.create({doc:e});return n==null&&(n=r.doc.length),this.regexp?Ji(this,r,i,n):Ki(this,r,i,n)}}class d1{constructor(e){this.spec=e}}function $P(t,e,i){return(n,r,s,o)=>{if(i&&!i(n,r,s,o))return!1;let l=n>=o&&r<=o+s.length?s.slice(n-o,r-o):e.doc.sliceString(n,r);return t(l,e,n,r)}}function Ki(t,e,i,n){let r;return t.wholeWord&&(r=TP(e.doc,e.charCategorizer(e.selection.main.head))),t.test&&(r=$P(t.test,e,r)),new zr(e.doc,t.unquoted,i,n,t.caseSensitive?void 0:s=>s.toLowerCase(),r)}function TP(t,e){return(i,n,r,s)=>((s>i||s+r.length=i)return null;r.push(n.value)}return r}highlight(e,i,n,r){let s=Ki(this.spec,e,Math.max(0,i-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}function PP(t,e,i){return(n,r,s)=>(!i||i(n,r,s))&&t(s[0],e,n,r)}function Ji(t,e,i,n){let r;return t.wholeWord&&(r=CP(e.charCategorizer(e.selection.main.head))),t.test&&(r=PP(t.test,e,r)),new u1(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:r},i,n)}function Po(t,e){return t.slice(Ze(t,e,!1),e)}function Co(t,e){return t.slice(e,Ze(t,e))}function CP(t){return(e,i,n)=>!n[0].length||(t(Po(n.input,n.index))!=Xe.Word||t(Co(n.input,n.index))!=Xe.Word)&&(t(Co(n.input,n.index+n[0].length))!=Xe.Word||t(Po(n.input,n.index+n[0].length))!=Xe.Word)}class AP extends d1{nextMatch(e,i,n){let r=Ji(this.spec,e,n,e.doc.length).next();return r.done&&(r=Ji(this.spec,e,0,i).next()),r.done?null:r.value}prevMatchInRange(e,i,n){for(let r=1;;r++){let s=Math.max(i,n-r*1e4),o=Ji(this.spec,e,s,n),l=null;for(;!o.next().done;)l=o.value;if(l&&(s==i||l.from>s+10))return l;if(s==i)return null}}prevMatch(e,i,n){return this.prevMatchInRange(e,0,i)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&]|\d+)/g,(i,n)=>{if(n=="&")return e.match[0];if(n=="$")return"$";for(let r=n.length;r>0;r--){let s=+n.slice(0,r);if(s>0&&s=i)return null;r.push(n.value)}return r}highlight(e,i,n,r){let s=Ji(this.spec,e,Math.max(0,i-250),Math.min(n+250,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}const Xr=se.define(),$c=se.define(),xi=nt.define({create(t){return new Hl(fu(t).create(),null)},update(t,e){for(let i of e.effects)i.is(Xr)?t=new Hl(i.value.create(),t.panel):i.is($c)&&(t=new Hl(t.query,i.value?Tc:null));return t},provide:t=>fo.from(t,e=>e.panel)});class Hl{constructor(e,i){this.query=e,this.panel=i}}const EP=me.mark({class:"cm-searchMatch"}),LP=me.mark({class:"cm-searchMatch cm-searchMatch-selected"}),DP=tt.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(xi))}update(t){let e=t.state.field(xi);(e!=t.startState.field(xi)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return me.none;let{view:i}=this,n=new Xi;for(let r=0,s=i.visibleRanges,o=s.length;rs[r+1].from-500;)a=s[++r].to;t.highlight(i.state,l,a,(u,c)=>{let h=i.state.selection.ranges.some(d=>d.from==u&&d.to==c);n.add(u,c,h?LP:EP)})}return n.finish()}},{decorations:t=>t.decorations});function es(t){return e=>{let i=e.state.field(xi,!1);return i&&i.query.spec.valid?t(e,i):m1(e)}}const Ao=es((t,{query:e})=>{let{to:i}=t.state.selection.main,n=e.nextMatch(t.state,i,i);if(!n)return!1;let r=L.single(n.from,n.to),s=t.state.facet(Zn);return t.dispatch({selection:r,effects:[_c(t,n),s.scrollToMatch(r.main,t)],userEvent:"select.search"}),p1(t),!0}),Eo=es((t,{query:e})=>{let{state:i}=t,{from:n}=i.selection.main,r=e.prevMatch(i,n,n);if(!r)return!1;let s=L.single(r.from,r.to),o=t.state.facet(Zn);return t.dispatch({selection:s,effects:[_c(t,r),o.scrollToMatch(s.main,t)],userEvent:"select.search"}),p1(t),!0}),MP=es((t,{query:e})=>{let i=e.matchAll(t.state,1e3);return!i||!i.length?!1:(t.dispatch({selection:L.create(i.map(n=>L.range(n.from,n.to))),userEvent:"select.search.matches"}),!0)}),RP=({state:t,dispatch:e})=>{let i=t.selection;if(i.ranges.length>1||i.main.empty)return!1;let{from:n,to:r}=i.main,s=[],o=0;for(let l=new zr(t.doc,t.sliceDoc(n,r));!l.next().done;){if(s.length>1e3)return!1;l.value.from==n&&(o=s.length),s.push(L.range(l.value.from,l.value.to))}return e(t.update({selection:L.create(s,o),userEvent:"select.search.matches"})),!0},If=es((t,{query:e})=>{let{state:i}=t,{from:n,to:r}=i.selection.main;if(i.readOnly)return!1;let s=e.nextMatch(i,n,n);if(!s)return!1;let o=s,l=[],a,u,c=[];o.from==n&&o.to==r&&(u=i.toText(e.getReplacement(o)),l.push({from:o.from,to:o.to,insert:u}),o=e.nextMatch(i,o.from,o.to),c.push(Y.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(n).number)+".")));let h=t.state.changes(l);return o&&(a=L.single(o.from,o.to).map(h),c.push(_c(t,o)),c.push(i.facet(Zn).scrollToMatch(a.main,t))),t.dispatch({changes:h,selection:a,effects:c,userEvent:"input.replace"}),!0}),IP=es((t,{query:e})=>{if(t.state.readOnly)return!1;let i=e.matchAll(t.state,1e9).map(r=>{let{from:s,to:o}=r;return{from:s,to:o,insert:e.getReplacement(r)}});if(!i.length)return!1;let n=t.state.phrase("replaced $ matches",i.length)+".";return t.dispatch({changes:i,effects:Y.announce.of(n),userEvent:"input.replace.all"}),!0});function Tc(t){return t.state.facet(Zn).createPanel(t)}function fu(t,e){var i,n,r,s,o;let l=t.selection.main,a=l.empty||l.to>l.from+100?"":t.sliceDoc(l.from,l.to);if(e&&!a)return e;let u=t.facet(Zn);return new h1({search:((i=e?.literal)!==null&&i!==void 0?i:u.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:(n=e?.caseSensitive)!==null&&n!==void 0?n:u.caseSensitive,literal:(r=e?.literal)!==null&&r!==void 0?r:u.literal,regexp:(s=e?.regexp)!==null&&s!==void 0?s:u.regexp,wholeWord:(o=e?.wholeWord)!==null&&o!==void 0?o:u.wholeWord})}function f1(t){let e=T0(t,Tc);return e&&e.dom.querySelector("[main-field]")}function p1(t){let e=f1(t);e&&e==t.root.activeElement&&e.select()}const m1=t=>{let e=t.state.field(xi,!1);if(e&&e.panel){let i=f1(t);if(i&&i!=t.root.activeElement){let n=fu(t.state,e.query.spec);n.valid&&t.dispatch({effects:Xr.of(n)}),i.focus(),i.select()}}else t.dispatch({effects:[$c.of(!0),e?Xr.of(fu(t.state,e.query.spec)):se.appendConfig.of(FP)]});return!0},O1=t=>{let e=t.state.field(xi,!1);if(!e||!e.panel)return!1;let i=T0(t,Tc);return i&&i.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:$c.of(!1)}),!0},ZP=[{key:"Mod-f",run:m1,scope:"editor search-panel"},{key:"F3",run:Ao,shift:Eo,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:Ao,shift:Eo,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:O1,scope:"editor search-panel"},{key:"Mod-Shift-l",run:RP},{key:"Mod-Alt-g",run:vP},{key:"Mod-d",run:QP,preventDefault:!0}];class zP{constructor(e){this.view=e;let i=this.query=e.state.field(xi).query.spec;this.commit=this.commit.bind(this),this.searchField=Me("input",{value:i.search,placeholder:ot(e,"Find"),"aria-label":ot(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Me("input",{value:i.replace,placeholder:ot(e,"Replace"),"aria-label":ot(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Me("input",{type:"checkbox",name:"case",form:"",checked:i.caseSensitive,onchange:this.commit}),this.reField=Me("input",{type:"checkbox",name:"re",form:"",checked:i.regexp,onchange:this.commit}),this.wordField=Me("input",{type:"checkbox",name:"word",form:"",checked:i.wholeWord,onchange:this.commit});function n(r,s,o){return Me("button",{class:"cm-button",name:r,onclick:s,type:"button"},o)}this.dom=Me("div",{onkeydown:r=>this.keydown(r),class:"cm-search"},[this.searchField,n("next",()=>Ao(e),[ot(e,"next")]),n("prev",()=>Eo(e),[ot(e,"previous")]),n("select",()=>MP(e),[ot(e,"all")]),Me("label",null,[this.caseField,ot(e,"match case")]),Me("label",null,[this.reField,ot(e,"regexp")]),Me("label",null,[this.wordField,ot(e,"by word")]),...e.state.readOnly?[]:[Me("br"),this.replaceField,n("replace",()=>If(e),[ot(e,"replace")]),n("replaceAll",()=>IP(e),[ot(e,"replace all")])],Me("button",{name:"close",onclick:()=>O1(e),"aria-label":ot(e,"close"),type:"button"},["×"])])}commit(){let e=new h1({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:Xr.of(e)}))}keydown(e){iw(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?Eo:Ao)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),If(this.view))}update(e){for(let i of e.transactions)for(let n of i.effects)n.is(Xr)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(Zn).top}}function ot(t,e){return t.state.phrase(e)}const Ps=30,Cs=/[\s\.,:;?!]/;function _c(t,{from:e,to:i}){let n=t.state.doc.lineAt(e),r=t.state.doc.lineAt(i).to,s=Math.max(n.from,e-Ps),o=Math.min(r,i+Ps),l=t.state.sliceDoc(s,o);if(s!=n.from){for(let a=0;al.length-Ps;a--)if(!Cs.test(l[a-1])&&Cs.test(l[a])){l=l.slice(0,a);break}}return Y.announce.of(`${t.state.phrase("current match")}. ${l} ${t.state.phrase("on line")} ${n.number}.`)}const XP=Y.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),FP=[xi,si.low(DP),XP],BP=(t,e,i)=>{const n=$("editorId"),r=$("setting");let s=()=>{},o=()=>{};const l=()=>{s();const a=i.value?.view.contentDOM.getRootNode(),u=a?.querySelector(`#${n} .cm-scroller`),c=a?.querySelector(`[id="${n}-preview-wrapper"]`),h=a?.querySelector(`[id="${n}-html-wrapper"]`);(c||h)&&([o,s]=(c?ub:ab)(u,c||h,i.value),t.scrollAuto&&o())};ee([e,r],()=>{St(l)}),ee(()=>t.scrollAuto,a=>{a?o():s()}),ee(()=>r.value.previewOnly,a=>{a?s():o()}),we(l)},Kl=async(t,e,i)=>{if(/^h[1-6]$/.test(t))return VP(t,e);if(t==="prettier")return await qP(e,i);switch(t){case"bold":case"underline":case"italic":case"strikeThrough":case"sub":case"sup":case"codeRow":case"katexInline":case"katexBlock":return WP(t,e);case"quote":case"orderedList":case"unorderedList":case"task":return YP(t,e);case"code":return GP(i,e);case"table":return KP(i);case"link":{const n=e.getSelectedText(),{desc:r=n,url:s=""}=i,o=`[${r}](${s})`;return{text:o,options:{select:s==="",deviationStart:o.length-s.length-1,deviationEnd:-1}}}case"image":return HP(i,e);case"flow":case"sequence":case"gantt":case"class":case"state":case"pie":case"relationship":case"journey":return UP(t);case"universal":return JP(e.getSelectedText(),i);default:return{text:"",options:{}}}},VP=(t,e)=>{const i=t.slice(1),n="#".repeat(Number(i)),[r,s,o]=Pc(e,{wholeLine:!0});return{text:`${n} ${r}`,options:{deviationStart:n.length+1,replaceStart:s,replaceEnd:o}}},qP=async(t,e)=>{const i=window.prettier||Ce.editorExtensions.prettier?.prettierInstance,n=[window.prettierPlugins?.markdown||Ce.editorExtensions.prettier?.parserMarkdownInstance];return!i||!n[0]?(M.emit(e.editorId,Nt,{name:"prettier",message:"prettier is undefined"}),{text:t.getValue(),options:{select:!1,replaceAll:!0}}):{text:await i.format(t.getValue(),{parser:"markdown",plugins:n}),options:{select:!1,replaceAll:!0}}},jP={bold:["**","**",2,-2],underline:["","",3,-4],italic:["*","*",1,-1],strikeThrough:["~~","~~",2,-2],sub:["~","~",1,-1],sup:["^","^",1,-1],codeRow:["`","`",1,-1],katexInline:["$","$",1,-1],katexBlock:[` +$$ +`,` +$$ +`,4,-4]},WP=(t,e)=>{const i=e.getSelectedText(),[n,r,s,o]=jP[t];return{text:`${n}${i}${r}`,options:{deviationStart:s,deviationEnd:o}}},NP={quote:"> ",unorderedList:"- ",orderedList:1,task:"- [ ] "},YP=(t,e)=>{const[i,n,r]=Pc(e,{wholeLine:!0}),s=i.split(` +`),o=NP[t],l=t==="orderedList"?s.map((c,h)=>`${o+h}. ${c}`):s.map(c=>`${o}${c}`),a=t==="orderedList"?"1. ":o.toString(),u=s.length===1?a.length:0;return{text:l.join(` +`),options:{deviationStart:u,replaceStart:n,replaceEnd:r}}},GP=(t,e)=>{const[i,n,r]=Pc(e),s=t.mode||"language",o=` +\`\`\`${s} +${t.text||i||""} +\`\`\` +`;return{text:o,options:{deviationStart:4,deviationEnd:4+s.length-o.length,replaceStart:n,replaceEnd:r}}},UP=t=>({text:` +\`\`\`mermaid +${{flow:`flowchart TD + Start --> Stop`,sequence:`sequenceDiagram + A->>B: hello! + B-->>A: hi!`,gantt:`gantt +title Gantt Chart +dateFormat YYYY-MM-DD`,class:`classDiagram + class Animal`,state:`stateDiagram-v2 + s1 --> s2`,pie:`pie + "Dogs" : 386 + "Cats" : 85 + "Rats" : 15`,relationship:`erDiagram + CAR ||--o{ NAMED-DRIVER : allows`,journey:`journey + title My Journey`,...Ce.editorConfig.mermaidTemplate}[t]} +\`\`\` +`,options:{deviationStart:12,deviationEnd:-5}}),HP=(t,e)=>{const i=e.getSelectedText(),{desc:n=i,url:r="",urls:s}=t;let o="";const l=r===""&&(!s||s instanceof Array&&s.length===0);return s instanceof Array?o=s.reduce((a,u)=>{const{url:c="",alt:h="",title:d=""}=typeof u=="object"?u:{url:u};return a+`![${h}](${c}${d?" '"+d+"'":""}) +`},""):o=`![${n}](${r}) +`,{text:o,options:{select:r==="",deviationStart:l?o.length-r.length-2:o.length,deviationEnd:l?-2:0}}},KP=t=>{const{selectedShape:e={x:1,y:1}}=t,{x:i,y:n}=e;let r=` +| Column`;for(let s=0;s<=n;s++)r+=" |";r+=` +|`;for(let s=0;s<=n;s++)r+=" - |";for(let s=0;s<=i;s++){r+=` +|`;for(let o=0;o<=n;o++)r+=" |"}return r+=` +`,{text:r,options:{deviationStart:3,deviationEnd:10-r.length}}},JP=(t,e)=>{const{generate:i}=e,n=i(t);return{text:n.targetValue,options:{select:n.select??!0,deviationStart:n.deviationStart||0,deviationEnd:n.deviationEnd||0}}},Pc=(t,e={wholeLine:!1})=>{const i=t.view.state,n=i.selection.main;if(n.empty){const r=i.doc.lineAt(n.from);return[i.doc.lineAt(n.from).text,r.from,r.to]}else if(e.wholeLine){const r=i.doc.lineAt(n.from),s=i.doc.lineAt(n.to);return[i.doc.sliceString(r.from,s.to),r.from,s.to]}return[i.doc.sliceString(n.from,n.to),n.from,n.to]},Ui=t=>{const e=new zt;return i=>(e.get(t.state)?t.dispatch({effects:e.reconfigure(i)}):t.dispatch({effects:se.appendConfig.of(e.of(i))}),!0)};class eC{view;maxLength=Number.MAX_SAFE_INTEGER;toggleTabSize;togglePlaceholder;setExtensions;toggleDisabled;toggleReadOnly;toggleMaxlength;getValue(){return this.view.state.doc.toString()}setValue(e,i=0,n=this.view.state.doc.length){this.view.dispatch({changes:{from:i,to:n,insert:e}})}getSelectedText(){const{from:e,to:i}=this.view.state.selection.main;return this.view.state.sliceDoc(e,i)}replaceSelectedText(e,i,n){const r={select:!0,deviationStart:0,deviationEnd:0,replaceAll:!1,replaceStart:-1,replaceEnd:-1,...i};try{if(r.replaceAll){if(this.setValue(e),e.length>this.maxLength)throw new Error("The input text is too long");return}if(this.view.state.doc.length-this.getSelectedText().length+e.length>this.maxLength)throw new Error("The input text is too long");const{from:s}=this.view.state.selection.main;r.replaceStart!==-1?this.view.dispatch({changes:{from:r.replaceStart,to:r.replaceEnd,insert:e}}):this.view.dispatch(this.view.state.replaceSelection(e)),r.select&&this.view.dispatch({selection:{anchor:r.replaceStart===-1?s+r.deviationStart:r.replaceStart+r.deviationStart,head:r.replaceStart===-1?s+e.length+r.deviationEnd:r.replaceStart+e.length+r.deviationEnd}}),this.view.focus()}catch(s){if(s.message==="The input text is too long")M.emit(n,Nt,{name:"overlength",message:s.message,data:e});else throw s}}constructor(e){this.view=e,this.toggleTabSize=Ui(this.view),this.togglePlaceholder=Ui(this.view),this.setExtensions=Ui(this.view),this.toggleDisabled=Ui(this.view),this.toggleReadOnly=Ui(this.view),this.toggleMaxlength=Ui(this.view)}setTabSize(e){this.toggleTabSize([ue.tabSize.of(e),Dn.of(" ".repeat(e))])}setPlaceholder(e){this.togglePlaceholder(fw(e))}focus(e){if(this.view.focus(),!e)return;let i=0,n=0,r=0;switch(e){case"start":break;case"end":{i=n=r=this.getValue().length;break}default:i=e.rangeAnchor||e.cursorPos,n=e.rangeHead||e.cursorPos,r=e.cursorPos}this.view.dispatch({scrollIntoView:!0,selection:L.create([L.range(i,n),L.cursor(r)],1)})}setDisabled(e){this.toggleDisabled([Y.editable.of(!e)])}setReadOnly(e){this.toggleReadOnly([ue.readOnly.of(e)])}setMaxLength(e){this.maxLength=e,this.toggleMaxlength([ue.changeFilter.of(i=>i.newDoc.length<=e)])}}const tC=(t,e)=>{if(t===e)return!0;if(t.length!==e.length)return!1;for(let i=0;i{const i=te(e.value);ee([e],()=>{(!i.value||!tC(i.value,e.value))&&(i.value=e.value,t())})},As=(t,e,i,n,r)=>(s,o,l,a)=>{const u=`${t}${e}${i}${n}`,c=l+o.label.length+(r==="title"?i.length:0);s.dispatch({changes:{from:l,to:a,insert:u},selection:L.create([L.range(l+o.label.length+(r==="title"?1:-e.length),c),L.cursor(c)],1)}),s.focus()},Zf=t=>(e,i,n,r)=>{const s=t.slice(r-n);e.dispatch(e.state.replaceSelection(`${s} `))},zf=t=>{const e=i=>{const n=i.matchBefore(/^#+|^-\s*\[*\s*\]*|`+|\[|!\[*|^\|\s?\|?|\$\$?|!+\s*\w*/);return n===null||n.from==n.to&&i.explicit?null:{from:n.from,options:[...["h2","h3","h4","h5","h6"].map((r,s)=>{const o=new Array(s+2).fill("#").join("");return{label:o,type:"text",apply:Zf(o)}}),...["unchecked","checked"].map(r=>{const s=r==="checked"?"- [x]":"- [ ]";return{label:s,type:"text",apply:Zf(s)}}),...[["`",""],["```","language"],["```mermaid\n",""],["```echarts\n",""]].map(r=>({label:`${r[0]}${r[1]}`,type:"text",apply:As(r[0],r[1],"",r[0]==="`"?"`":"\n```","type")})),{label:"[]()",type:"text"},{label:"![]()",type:"text"},{label:"| |",type:"text",detail:"table",apply:`| col | col | col | +| - | - | - | +| content | content | content | +| content | content | content |`},{label:"$",type:"text",apply:As("$","","","$","type")},{label:"$$",type:"text",apply:As("$$","",` +`,` +$$`,"title")},...["note","abstract","info","tip","success","question","warning","failure","danger","bug","example","quote","hint","caution","error","attention"].map(r=>({label:`!!! ${r}`,type:"text",apply:As("!!!",` ${r}`," Title",` + +!!!`,"title")}))]}};return O$({override:t?[e,...t]:[e]})},nC=K({name:`${k}-divider`,setup(){return()=>w("div",{class:`${k}-divider`},null)}}),rC=K({name:"ToolbarBold",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.bold,"aria-label":e.value.toolbarTips?.bold,disabled:i?.value,onClick:()=>{M.emit(t,J,"bold")},type:"button"},[w(he,{name:"bold"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.bold])])}}),sC=K({name:"ToolbarCatalog",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName"),r=$("catalogVisible");return()=>w("button",{class:[`${k}-toolbar-item`,r.value&&`${k}-toolbar-active`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.catalog,"aria-label":e.value.toolbarTips?.catalog,disabled:i?.value,onClick:()=>{M.emit(t,gu)},key:"bar-catalog",type:"button"},[w(he,{name:"catalog"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.catalog])])}}),oC=K({name:"ToolbarCode",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.code,"aria-label":e.value.toolbarTips?.code,disabled:i?.value,onClick:()=>{M.emit(t,J,"code")},type:"button"},[w(he,{name:"code"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.code])])}}),lC=K({name:"ToolbarCodeRow",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.codeRow,"aria-label":e.value.toolbarTips?.codeRow,disabled:i?.value,onClick:()=>{M.emit(t,J,"codeRow")},type:"button"},[w(he,{name:"code-row"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.codeRow])])}}),aC=K({name:"ToolbarFullscreen",setup(){const t=$("usedLanguageText"),e=$("disabled"),i=$("showToolbarName"),n=$("setting"),{fullscreenHandler:r}=XC();return()=>w("button",{class:[`${k}-toolbar-item`,n.value.fullscreen&&`${k}-toolbar-active`,e?.value&&`${k}-disabled`],title:t.value.toolbarTips?.fullscreen,"aria-label":t.value.toolbarTips?.fullscreen,disabled:e?.value,onClick:()=>{r()},type:"button"},[w(he,{name:n.value.fullscreen?"fullscreen-exit":"fullscreen"},null),i?.value&&w("div",{class:`${k}-toolbar-item-name`},[t.value.toolbarTips?.fullscreen])])}}),uC=K({name:"ToolbarGithub",setup(){const t=$("usedLanguageText"),e=$("disabled"),i=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,e?.value&&`${k}-disabled`],title:t.value.toolbarTips?.github,"aria-label":t.value.toolbarTips?.github,disabled:e?.value,onClick:()=>{q1("https://github.com/imzbf/md-editor-v3")},type:"button"},[w(he,{name:"github"},null),i?.value&&w("div",{class:`${k}-toolbar-item-name`},[t.value.toolbarTips?.github])])}}),cC=K({name:"ToolbarHtmlPreview",setup(){const t=$("usedLanguageText"),e=$("disabled"),i=$("showToolbarName"),n=$("setting"),r=$("updateSetting");return()=>w("button",{class:[`${k}-toolbar-item`,n.value.htmlPreview&&`${k}-toolbar-active`,e?.value&&`${k}-disabled`],title:t.value.toolbarTips?.htmlPreview,"aria-label":t.value.toolbarTips?.htmlPreview,disabled:e?.value,onClick:()=>{r("htmlPreview")},type:"button"},[w(he,{name:"preview-html"},null),i?.value&&w("div",{class:`${k}-toolbar-item-name`},[t.value.toolbarTips?.htmlPreview])])}}),hC=K({name:"ToolbarImage",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.image,"aria-label":e.value.toolbarTips?.image,disabled:i?.value,onClick:()=>{M.emit(t,J,"image")},type:"button"},[w(he,{name:"image"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.image])])}}),dC={visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},fC=K({name:`${k}-modal-clip`,props:dC,setup(t){const e=$("usedLanguageText"),i=$("editorId"),n=$("rootRef");let r=Ce.editorExtensions.cropper.instance;const s=te(),o=te(),l=te(),a=yt({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let u=null;ee(()=>t.visible,()=>{t.visible&&!a.cropperInited&&(r=r||window.Cropper,s.value.onchange=()=>{if(!r){M.emit(i,Nt,{name:"Cropper",message:"Cropper is undefined"});return}const d=s.value.files||[];if(a.imgSelected=!0,d?.length>0){const f=new FileReader;f.onload=p=>{a.imgSrc=p.target.result},f.readAsDataURL(d[0])}})}),ee(()=>[a.imgSelected],()=>{l.value.style=""}),ee([aa(()=>a.isFullscreen),aa(()=>a.imgSrc)],()=>{a.imgSrc&&St(()=>{u?.destroy(),l.value.style="",o.value&&(u=new r(o.value,{viewMode:2,preview:n.value.getRootNode().querySelector(`.${k}-clip-preview-target`)}))})});const c=()=>{u.clear(),u.destroy(),u=null,s.value.value="",a.imgSelected=!1,a.imgSrc=""},h=d=>{a.isFullscreen=d};return()=>w(sr,{class:`${k}-modal-clip`,title:e.value.clipModalTips?.title,visible:t.visible,onClose:t.onCancel,showAdjust:!0,isFullscreen:a.isFullscreen,onAdjust:h,width:"668px",height:"421px"},{default:()=>[w("div",{class:`${k}-form-item ${k}-clip`},[w("div",{class:`${k}-clip-main`},[a.imgSelected?w("div",{class:`${k}-clip-cropper`},[w("img",{src:a.imgSrc,ref:o,style:{display:"none"},alt:""},null),w("div",{class:`${k}-clip-delete`,onClick:c},[w(he,{name:"delete"},null)])]):w("div",{class:`${k}-clip-upload`,onClick:()=>{s.value.click()},role:"button",tabindex:"0","aria-label":e.value.imgTitleItem?.upload},[w(he,{name:"upload"},null)])]),w("div",{class:`${k}-clip-preview`},[w("div",{class:`${k}-clip-preview-target`,ref:l},null)])]),w("div",{class:`${k}-form-item`},[w("button",{class:`${k}-btn`,type:"button",onClick:()=>{if(u){const d=u.getCroppedCanvas();M.emit(i,Ro,[rb(d.toDataURL("image/png"))],t.onOk),c()}}},[e.value.clipModalTips?.buttonUpload||e.value.linkModalTips?.buttonOK])]),w("input",{ref:s,accept:"image/*",type:"file",multiple:!1,style:{display:"none"},"aria-hidden":"true"},null)]})}}),pC={clipVisible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},mC=K({name:`${k}-modals`,props:pC,setup(t){return()=>w(fC,{visible:t.clipVisible,onOk:t.onOk,onCancel:t.onCancel},null)}}),OC=K({name:"ToolbarImageDropdown",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName"),r=`${t}-toolbar-wrapper`,s=te(!1),o=te(!1),l=te(),a=()=>{M.emit(t,Ro,Array.from(l.value.files||[])),l.value.value=""},u=(p,m)=>{i?.value||M.emit(t,J,p,m)};we(()=>{l.value.addEventListener("change",a)});const c=p=>{s.value=p},h=()=>{o.value=!1},d=p=>{p&&u("image",{desc:p.desc,url:p.url,transform:!0}),o.value=!1},f=le(()=>w("ul",{class:`${k}-menu`,onClick:()=>{s.value=!1},role:"menu"},[w("li",{class:`${k}-menu-item ${k}-menu-item-image`,onClick:()=>{u("image")},role:"menuitem",tabindex:"0"},[e.value.imgTitleItem?.link]),w("li",{class:`${k}-menu-item ${k}-menu-item-image`,onClick:()=>{l.value.click()},role:"menuitem",tabindex:"0"},[e.value.imgTitleItem?.upload]),w("li",{class:`${k}-menu-item ${k}-menu-item-image`,onClick:()=>{o.value=!0},role:"menuitem",tabindex:"0"},[e.value.imgTitleItem?.clip2upload])]));return()=>w(Fr,null,[w("label",{for:`${r}_label`,style:{display:"none"},"aria-label":e.value.imgTitleItem?.upload},null),w("input",{id:`${r}_label`,ref:l,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),w(Cn,{relative:`#${r}`,visible:s.value,onChange:c,disabled:i?.value,overlay:f.value},{default:()=>[w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.image,"aria-label":e.value.toolbarTips?.image,disabled:i?.value,type:"button"},[w(he,{name:"image"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.image])])]}),w(mC,{clipVisible:o.value,onCancel:h,onOk:d},null)])}}),gC=K({name:"ToolbarItalic",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.italic,"aria-label":e.value.toolbarTips?.italic,disabled:i?.value,onClick:()=>{M.emit(t,J,"italic")},type:"button"},[w(he,{name:"italic"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.italic])])}}),bC=K({name:"ToolbarKatex",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName"),r=`${t}-toolbar-wrapper`,s=te(!1),o=u=>{i?.value||M.emit(t,J,u)},l=u=>{s.value=u},a=le(()=>w("ul",{class:`${k}-menu`,onClick:()=>{s.value=!1},role:"menu"},[w("li",{class:`${k}-menu-item ${k}-menu-item-katex`,onClick:()=>{o("katexInline")},role:"menuitem",tabindex:"0"},[e.value.katex?.inline]),w("li",{class:`${k}-menu-item ${k}-menu-item-katex`,onClick:()=>{o("katexBlock")},role:"menuitem",tabindex:"0"},[e.value.katex?.block])]));return()=>w(Cn,{relative:`#${r}`,visible:s.value,onChange:l,disabled:i?.value,overlay:a.value,key:"bar-katex"},{default:()=>[w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.katex,"aria-label":e.value.toolbarTips?.katex,disabled:i?.value,type:"button"},[w(he,{name:"formula"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.katex])])]})}}),xC=K({name:"ToolbarLink",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.link,"aria-label":e.value.toolbarTips?.link,disabled:i?.value,onClick:()=>{M.emit(t,J,"link")},type:"button"},[w(he,{name:"link"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.link])])}}),kC=K({name:"ToolbarMermaid",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName"),r=`${t}-toolbar-wrapper`,s=te(!1),o=u=>{i?.value||M.emit(t,J,u)},l=u=>{s.value=u},a=le(()=>w("ul",{class:`${k}-menu`,onClick:()=>{s.value=!1},role:"menu"},[w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{o("flow")},role:"menuitem",tabindex:"0"},[e.value.mermaid?.flow]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{o("sequence")},role:"menuitem",tabindex:"0"},[e.value.mermaid?.sequence]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{o("gantt")},role:"menuitem",tabindex:"0"},[e.value.mermaid?.gantt]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{o("class")},role:"menuitem",tabindex:"0"},[e.value.mermaid?.class]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{o("state")},role:"menuitem",tabindex:"0"},[e.value.mermaid?.state]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{o("pie")},role:"menuitem",tabindex:"0"},[e.value.mermaid?.pie]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{o("relationship")},role:"menuitem",tabindex:"0"},[e.value.mermaid?.relationship]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{o("journey")},role:"menuitem",tabindex:"0"},[e.value.mermaid?.journey])]));return()=>w(Cn,{relative:`#${r}`,visible:s.value,onChange:l,disabled:i?.value,overlay:a.value,key:"bar-mermaid"},{default:()=>[w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.mermaid,"aria-label":e.value.toolbarTips?.mermaid,disabled:i?.value,type:"button"},[w(he,{name:"mermaid"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.mermaid])])]})}}),yC=K({name:"ToolbarNext",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.next,"aria-label":e.value.toolbarTips?.next,disabled:i?.value,onClick:()=>{M.emit(t,bp)},type:"button"},[w(he,{name:"next"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.next])])}}),vC=K({name:"ToolbarOrderedList",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.orderedList,"aria-label":e.value.toolbarTips?.orderedList,disabled:i?.value,onClick:()=>{M.emit(t,J,"orderedList")},type:"button"},[w(he,{name:"ordered-list"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.orderedList])])}}),SC=K({name:"ToolbarPageFullscreen",setup(){const t=$("usedLanguageText"),e=$("disabled"),i=$("showToolbarName"),n=$("setting"),r=$("updateSetting");return()=>w("button",{class:[`${k}-toolbar-item`,n.value.pageFullscreen&&`${k}-toolbar-active`,e?.value&&`${k}-disabled`],title:t.value.toolbarTips?.pageFullscreen,"aria-label":t.value.toolbarTips?.pageFullscreen,disabled:e?.value,onClick:()=>{r("pageFullscreen")},type:"button"},[w(he,{name:n.value.pageFullscreen?"minimize":"maximize"},null),i?.value&&w("div",{class:`${k}-toolbar-item-name`},[t.value.toolbarTips?.pageFullscreen])])}}),wC=K({name:"ToolbarPrettier",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.prettier,"aria-label":e.value.toolbarTips?.prettier,disabled:i?.value,onClick:()=>{M.emit(t,J,"prettier")},type:"button"},[w(he,{name:"prettier"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.prettier])])}}),QC=K({name:"ToolbarPreview",setup(){const t=$("usedLanguageText"),e=$("disabled"),i=$("showToolbarName"),n=$("setting"),r=$("updateSetting");return()=>w("button",{class:[`${k}-toolbar-item`,n.value.preview&&`${k}-toolbar-active`,e?.value&&`${k}-disabled`],title:t.value.toolbarTips?.preview,"aria-label":t.value.toolbarTips?.preview,disabled:e?.value,onClick:()=>{r("preview")},type:"button"},[w(he,{name:"preview"},null),i?.value&&w("div",{class:`${k}-toolbar-item-name`},[t.value.toolbarTips?.preview])])}}),$C=K({name:"ToolbarPreviewOnly",setup(){const t=$("usedLanguageText"),e=$("disabled"),i=$("showToolbarName"),n=$("setting"),r=$("updateSetting");return()=>w("button",{class:[`${k}-toolbar-item`,n.value.previewOnly&&`${k}-toolbar-active`,e?.value&&`${k}-disabled`],title:t.value.toolbarTips?.previewOnly,"aria-label":t.value.toolbarTips?.previewOnly,disabled:e?.value,onClick:()=>{r("previewOnly")},type:"button"},[w(he,{name:"preview-only"},null),i?.value&&w("div",{class:`${k}-toolbar-item-name`},[t.value.toolbarTips?.previewOnly])])}}),TC=K({name:"ToolbarQuote",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.quote,"aria-label":e.value.toolbarTips?.quote,disabled:i?.value,onClick:()=>{M.emit(t,J,"quote")},type:"button"},[w(he,{name:"quote"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.quote])])}}),_C=K({name:"ToolbarRevoke",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.revoke,"aria-label":e.value.toolbarTips?.revoke,disabled:i?.value,onClick:()=>{M.emit(t,gp)},type:"button"},[w(he,{name:"revoke"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.revoke])])}}),PC=K({name:"ToolbarSave",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.save,"aria-label":e.value.toolbarTips?.save,disabled:i?.value,onClick:()=>{M.emit(t,Mo)},type:"button"},[w(he,{name:"save"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.save])])}}),CC=K({name:"ToolbarStrikeThrough",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.strikeThrough,"aria-label":e.value.toolbarTips?.strikeThrough,disabled:i?.value,onClick:()=>{M.emit(t,J,"strikeThrough")},type:"button"},[w(he,{name:"strike-through"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.strikeThrough])])}}),AC=K({name:"ToolbarSub",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.sub,"aria-label":e.value.toolbarTips?.sub,disabled:i?.value,onClick:()=>{M.emit(t,J,"sub")},type:"button"},[w(he,{name:"sub"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.sub])])}}),EC=K({name:"ToolbarSup",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.sup,"aria-label":e.value.toolbarTips?.sup,disabled:i?.value,onClick:()=>{M.emit(t,J,"sup")},type:"button"},[w(he,{name:"sup"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.sup])])}}),LC={tableShape:{type:Array,default:()=>[6,4]},onSelected:{type:Function,default:()=>{}}},DC=K({name:"TableShape",props:LC,setup(t){const e=yt({x:-1,y:-1}),i=le(()=>JSON.stringify(t.tableShape)),n=()=>{const s=[...JSON.parse(i.value)];return(!s[2]||s[2]{r.value=n()}),()=>w("div",{class:`${k}-table-shape`,onMouseleave:()=>{r.value=n(),e.x=-1,e.y=-1}},[new Array(r.value[1]).fill("").map((s,o)=>w("div",{class:`${k}-table-shape-row`,key:`table-shape-row-${o}`},[new Array(r.value[0]).fill("").map((l,a)=>w("div",{class:`${k}-table-shape-col`,key:`table-shape-col-${a}`,onMouseenter:()=>{e.x=o,e.y=a,a+1===r.value[0]&&a+1t.tableShape[0]&&r.value[0]--,o+1===r.value[1]&&o+1t.tableShape[1]&&r.value[1]--},onClick:()=>{t.onSelected(e)}},[w("div",{class:[`${k}-table-shape-col-default`,o<=e.x&&a<=e.y&&`${k}-table-shape-col-include`]},null)]))]))])}}),MC=K({name:"ToolbarTable",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName"),r=$("tableShape"),s=`${t}-toolbar-wrapper`,o=te(!1),l=c=>{o.value=c},a=c=>{i?.value||M.emit(t,J,"table",{selectedShape:c})},u=le(()=>w(DC,{tableShape:r.value,onSelected:a},null));return()=>w(Cn,{relative:`#${s}`,visible:o.value,onChange:l,disabled:i?.value,key:"bar-table",overlay:u.value},{default:()=>[w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.table,"aria-label":e.value.toolbarTips?.table,disabled:i?.value,type:"button"},[w(he,{name:"table"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.table])])]})}}),RC=K({name:"ToolbarTask",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.task,"aria-label":e.value.toolbarTips?.task,disabled:i?.value,onClick:()=>{M.emit(t,J,"task")},type:"button"},[w(he,{name:"task"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.task])])}}),IC=K({name:"ToolbarTitle",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName"),r=`${t}-toolbar-wrapper`,s=te(!1),o=u=>{i?.value||M.emit(t,J,u)},l=u=>{s.value=u},a=le(()=>w("ul",{class:`${k}-menu`,onClick:()=>{s.value=!1},role:"menu"},[w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{o("h1")},role:"menuitem",tabindex:"0"},[e.value.titleItem?.h1]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{o("h2")},role:"menuitem",tabindex:"0"},[e.value.titleItem?.h2]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{o("h3")},role:"menuitem",tabindex:"0"},[e.value.titleItem?.h3]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{o("h4")},role:"menuitem",tabindex:"0"},[e.value.titleItem?.h4]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{o("h5")},role:"menuitem",tabindex:"0"},[e.value.titleItem?.h5]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{o("h6")},role:"menuitem",tabindex:"0"},[e.value.titleItem?.h6])]));return()=>w(Cn,{relative:`#${r}`,visible:s.value,onChange:l,disabled:i?.value,overlay:a.value},{default:()=>[w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],disabled:i?.value,title:e.value.toolbarTips?.title,"aria-label":e.value.toolbarTips?.title,type:"button"},[w(he,{name:"title"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.title])])]})}}),ZC=K({name:"ToolbarUnderline",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.underline,"aria-label":e.value.toolbarTips?.underline,disabled:i?.value,onClick:()=>{M.emit(t,J,"underline")},type:"button"},[w(he,{name:"underline"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.underline])])}}),zC=K({name:"ToolbarUnorderedList",setup(){const t=$("editorId"),e=$("usedLanguageText"),i=$("disabled"),n=$("showToolbarName");return()=>w("button",{class:[`${k}-toolbar-item`,i?.value&&`${k}-disabled`],title:e.value.toolbarTips?.unorderedList,"aria-label":e.value.toolbarTips?.unorderedList,disabled:i?.value,onClick:()=>{M.emit(t,J,"unorderedList")},type:"button"},[w(he,{name:"unordered-list"},null),n?.value&&w("div",{class:`${k}-toolbar-item-name`},[e.value.toolbarTips?.unorderedList])])}}),XC=()=>{const t=$("editorId"),e=$("setting"),i=$("updateSetting"),{editorExtensions:n,editorExtensionsAttrs:r}=Ce;let s=n.screenfull.instance;const o=te(!1),l=c=>{if(!s){M.emit(t,Nt,{name:"fullscreen",message:"fullscreen is undefined"});return}s.isEnabled?(o.value=!0,(c===void 0?!s.isFullscreen:c)?s.request():s.exit()):console.error("browser does not support screenfull!")},a=()=>{s&&s.isEnabled&&s.on("change",()=>{(o.value||e.value.fullscreen)&&(o.value=!1,i("fullscreen"))})},u=()=>{s=window.screenfull,a()};return we(()=>{a(),s||ht("script",{...r.screenfull?.js,src:n.screenfull.js,id:dt.screenfull,onload:u},"screenfull")}),we(()=>{M.on(t,{name:Op,callback:l})}),{fullscreenHandler:l}};let FC=0;const g1=()=>{const t=$("editorId"),e=$("theme"),i=$("previewTheme"),n=$("language"),r=$("disabled"),s=$("noUploadImg"),o=$("noPrettier"),l=$("codeTheme"),a=$("showToolbarName"),u=$("setting"),c=$("defToolbars");return{barRender:h=>{if(pp.includes(h))switch(h){case"-":return w(nC,{key:`bar-${FC++}`},null);case"bold":return w(rC,{key:"bar-bold"},null);case"underline":return w(ZC,{key:"bar-unorderline"},null);case"italic":return w(gC,{key:"bar-italic"},null);case"strikeThrough":return w(CC,{key:"bar-strikeThrough"},null);case"title":return w(IC,{key:"bar-title"},null);case"sub":return w(AC,{key:"bar-sub"},null);case"sup":return w(EC,{key:"bar-sup"},null);case"quote":return w(TC,{key:"bar-quote"},null);case"unorderedList":return w(zC,{key:"bar-unorderedList"},null);case"orderedList":return w(vC,{key:"bar-orderedList"},null);case"task":return w(RC,{key:"bar-task"},null);case"codeRow":return w(lC,{key:"bar-codeRow"},null);case"code":return w(oC,{key:"bar-code"},null);case"link":return w(xC,{key:"bar-link"},null);case"image":return s?w(hC,{key:"bar-image"},null):w(OC,{key:"bar-imageDropdown"},null);case"table":return w(MC,{key:"bar-table"},null);case"revoke":return w(_C,{key:"bar-revoke"},null);case"next":return w(yC,{key:"bar-next"},null);case"save":return w(PC,{key:"bar-save"},null);case"prettier":return!o&&w(wC,{key:"bar-prettier"},null);case"pageFullscreen":return!u.value.fullscreen&&w(SC,{key:"bar-pageFullscreen"},null);case"fullscreen":return w(aC,{key:"bar-fullscreen"},null);case"catalog":return w(sC,{key:"bar-catalog"},null);case"preview":return w(QC,{key:"bar-preview"},null);case"previewOnly":return w($C,{key:"bar-previewOnly"},null);case"htmlPreview":return w(cC,{key:"bar-htmlPreview"},null);case"github":return w(uC,{key:"bar-github"},null);case"mermaid":return w(kC,{key:"bar-mermaid"},null);case"katex":return w(bC,{key:"bar-katex"},null)}else if(c.value instanceof Array){const d=c.value[h];return d?gr(d,{theme:d.props?.theme||e.value,previewTheme:d.props?.theme||i.value,language:d.props?.theme||n.value,codeTheme:d.props?.codeTheme||l.value,disabled:d.props?.disabled||r.value,showToolbarName:d.props?.showToolbarName||a.value,insert(f){M.emit(t,J,"universal",{generate:f})}}):""}else if(c.value?.children instanceof Array){const d=c.value.children[h];return d?gr(d,{theme:d.props?.theme||e.value,previewTheme:d.props?.theme||i.value,language:d.props?.theme||n.value,codeTheme:d.props?.codeTheme||l.value,disabled:d.props?.disabled||r.value,showToolbarName:d.props?.showToolbarName||a.value,insert(f){M.emit(t,J,"universal",{generate:f})}}):""}else return""}}},BC=K({name:"FloatingToolbar",setup(){const t=$("floatingToolbars"),{barRender:e}=g1();return()=>w("div",{class:`${k}-floating-toolbar`},[t.value.map(i=>e(i))])}}),pu=se.define(),VC=nt.define({create(){return null},update(t,e){for(const i of e.effects)i.is(pu)&&(t=i.value);return t},provide:t=>Bu.from(t)}),qC=t=>{let e=null;const i=(s,o)=>{e&&e.kind===o.kind&&e.pos===o.pos||(e=o,s.dispatch({effects:pu.of({pos:o.pos,above:!0,arrow:!0,create:()=>{const l=document.createElement("div"),a=`${k}-floating-toolbar-container`;l.classList.add(a),l.dataset.state="hidden",requestAnimationFrame(()=>{l.dataset.state="visible"});const u=document.createElement("div");l.appendChild(u);const c=E1(BC);return t.privide(c),c.mount(l),{dom:l,destroy:()=>c.unmount()}}})}))},n=s=>{e&&(e=null,s.dispatch({effects:pu.of(null)}))},r=Y.updateListener.of(s=>{if(s.selectionSet||s.docChanged){const o=s.state,l=o.selection.main;if(!l.empty)i(s.view,{kind:"selection",pos:l.anchor});else{const a=l.head,u=o.doc.lineAt(a);/^\s*$/.test(u.text)?i(s.view,{kind:"emptyLine",pos:a}):n(s.view)}}});return[VC,r]},jC="#e5c07b",Xf="var(--md-color)",WC="#56b6c2",NC="#fff",er="#3f4a54",Ff="#2d8cf0",YC="#2d8cf0",GC="#3f4a54",Bf="#d19a66",UC="#c678dd",HC="#f6f6f6",KC="#ceedfa33",Vf="var(--md-bk-color)",Jl="var(--md-bk-color)",JC="#bad5fa",qf="#3f4a54",e6=Y.theme({"&":{color:er,backgroundColor:Vf},".cm-content":{caretColor:qf},".cm-cursor, .cm-dropCursor":{borderLeftColor:qf},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:JC},".cm-panels":{backgroundColor:HC,color:er},".cm-panels.cm-panels-top":{borderBottom:"1px solid var(--md-border-color)"},".cm-panels.cm-panels-bottom":{borderTop:"1px solid var(--md-border-color)"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:Vf,color:er,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:KC},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"1px solid var(--md-border-color)",backgroundColor:Jl},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"var(--md-border-color)",borderBottomColor:"var(--md-border-color)"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Jl,borderBottomColor:Jl},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{color:er}}}),t6=Hr.define([{tag:v.keyword,color:UC},{tag:[v.name,v.deleted,v.character,v.propertyName,v.macroName],color:Xf},{tag:[v.function(v.variableName),v.labelName],color:YC},{tag:[v.color,v.constant(v.name),v.standard(v.name)],color:Bf},{tag:[v.definition(v.name),v.separator],color:er},{tag:[v.typeName,v.className,v.number,v.changed,v.annotation,v.modifier,v.self,v.namespace],color:jC},{tag:[v.operator,v.operatorKeyword,v.url,v.escape,v.regexp,v.link,v.special(v.string)],color:WC},{tag:[v.meta,v.comment],color:Ff},{tag:v.strong,fontWeight:"bold"},{tag:v.emphasis,fontStyle:"italic"},{tag:v.strikethrough,textDecoration:"line-through"},{tag:v.link,color:Ff,textDecoration:"underline"},{tag:v.heading,fontWeight:"bold",color:Xf},{tag:[v.atom,v.bool,v.special(v.variableName)],color:Bf},{tag:[v.processingInstruction,v.string,v.inserted],color:GC},{tag:v.invalid,color:NC}]),jf=[e6,j0(t6)],i6="#e5c07b",Wf="var(--md-color)",n6="#56b6c2",r6="#ffffff",tr="var(--md-color)",Nf="#e5c07b",s6="#e5c07b",o6="var(--md-color)",Yf="#d19a66",l6="#c678dd",a6="#21252b",u6="#2c313a",Gf="var(--md-bk-color)",ea="var(--md-bk-color)",c6="#ceedfa33",Uf="#528bff",h6=Y.theme({"&":{color:tr,backgroundColor:Gf},".cm-content":{caretColor:Uf},".cm-cursor, .cm-dropCursor":{borderLeftColor:Uf},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:c6},".cm-panels":{backgroundColor:a6,color:tr},".cm-panels.cm-panels-top":{borderBottom:"1px solid var(--md-border-color)"},".cm-panels.cm-panels-bottom":{borderTop:"1px solid var(--md-border-color)"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:Gf,color:tr,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:u6},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"1px solid var(--md-border-color)",backgroundColor:ea},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"var(--md-border-color)",borderBottomColor:"var(--md-border-color)"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:ea,borderBottomColor:ea},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{color:tr}}},{dark:!0}),d6=Hr.define([{tag:v.keyword,color:l6},{tag:[v.name,v.deleted,v.character,v.propertyName,v.macroName],color:Wf},{tag:[v.function(v.variableName),v.labelName],color:s6},{tag:[v.color,v.constant(v.name),v.standard(v.name)],color:Yf},{tag:[v.definition(v.name),v.separator],color:tr},{tag:[v.typeName,v.className,v.number,v.changed,v.annotation,v.modifier,v.self,v.namespace],color:i6},{tag:[v.operator,v.operatorKeyword,v.url,v.escape,v.regexp,v.link,v.special(v.string)],color:n6},{tag:[v.meta,v.comment],color:Nf},{tag:v.strong,fontWeight:"bold"},{tag:v.emphasis,fontStyle:"italic"},{tag:v.strikethrough,textDecoration:"line-through"},{tag:v.link,color:Nf,textDecoration:"underline"},{tag:v.heading,fontWeight:"bold",color:Wf},{tag:[v.atom,v.bool,v.special(v.variableName)],color:Yf},{tag:[v.processingInstruction,v.string,v.inserted],color:o6},{tag:v.invalid,color:r6}]),Hf=[h6,j0(d6)],f6=(t,e)=>{const i=$("editorId"),n=r=>{r instanceof Promise?r.then(s=>{M.emit(i,J,"universal",{generate(){return{targetValue:s}}})}).catch(s=>{console.error(s)}):M.emit(i,J,"universal",{generate(){return{targetValue:r}}})};return r=>{if(!r.clipboardData)return;if(r.clipboardData.files.length>0){const{files:h}=r.clipboardData;M.emit(i,Ro,Array.from(h).filter(d=>/image\/.*/.test(d.type))),r.preventDefault();return}const s=r.clipboardData.getData("text/plain"),o=e.value?.view.state.selection.main.to||0,l=e.value?.view.state.doc.lineAt(o).from||0,a=e.value?.view.state.doc.sliceString(l,o)||"",u=/!\[.*\]\(\s*$/.test(a),c=/!\[.*\]\((.*)\s?.*\)/.test(s);if(u){const h=t.transformImgUrl(s);n(h),r.preventDefault();return}else if(c){const h=s.match(new RegExp(`(?<=!\\[.*\\]\\()([^)\\s]+)(?=\\s?["']?.*["']?\\))`,"g"));h?Promise.all(h.map(d=>t.transformImgUrl(d))).then(d=>{n(d.reduce((f,p,m)=>f.replace(h[m],p),s))}).catch(d=>{console.error(d)}):n(s),r.preventDefault();return}if(t.autoDetectCode&&r.clipboardData.types.includes("vscode-editor-data")){const h=JSON.parse(r.clipboardData.getData("vscode-editor-data"));M.emit(i,J,"code",{mode:h.mode,text:r.clipboardData.getData("text/plain")}),r.preventDefault();return}t.maxlength&&s.length+t.modelValue.length>t.maxlength&&M.emit(i,Nt,{name:"overlength",message:"The input text is too long",data:s})}},p6=(t,e)=>[{key:"Ctrl-b",mac:"Cmd-b",run:()=>(M.emit(t,J,"bold"),!0)},{key:"Ctrl-d",mac:"Cmd-d",run:_O,preventDefault:!0},{key:"Ctrl-s",mac:"Cmd-s",run:i=>(M.emit(t,Mo,i.state.doc.toString()),!0),shift:()=>(M.emit(t,J,"strikeThrough"),!0)},{key:"Ctrl-u",mac:"Cmd-u",preventDefault:!0,run:()=>(M.emit(t,J,"underline"),!0),shift:()=>(M.emit(t,J,"unorderedList"),!0)},{key:"Ctrl-i",mac:"Cmd-i",preventDefault:!0,run:()=>(M.emit(t,J,"italic"),!0),shift:()=>(M.emit(t,J,"image"),!0)},{key:"Ctrl-1",mac:"Cmd-1",run:()=>(M.emit(t,J,"h1"),!0)},{key:"Ctrl-2",mac:"Cmd-2",run:()=>(M.emit(t,J,"h2"),!0)},{key:"Ctrl-3",mac:"Cmd-3",run:()=>(M.emit(t,J,"h3"),!0)},{key:"Ctrl-4",mac:"Cmd-4",run:()=>(M.emit(t,J,"h4"),!0)},{key:"Ctrl-5",mac:"Cmd-5",run:()=>(M.emit(t,J,"h5"),!0)},{key:"Ctrl-6",mac:"Cmd-6",run:()=>(M.emit(t,J,"h6"),!0)},{key:"Ctrl-ArrowUp",mac:"Cmd-ArrowUp",run:()=>(M.emit(t,J,"sup"),!0)},{key:"Ctrl-ArrowDown",mac:"Cmd-ArrowDown",run:()=>(M.emit(t,J,"sub"),!0)},{key:"Ctrl-o",mac:"Cmd-o",run:()=>(M.emit(t,J,"orderedList"),!0)},{key:"Ctrl-c",mac:"Cmd-c",shift:()=>(M.emit(t,J,"code"),!0),any(i,n){return(n.ctrlKey||n.metaKey)&&n.altKey&&n.code==="KeyC"?(M.emit(t,J,"codeRow"),!0):!1}},{key:"Ctrl-l",mac:"Cmd-l",run:()=>(M.emit(t,J,"link"),!0)},{key:"Ctrl-f",mac:"Cmd-f",shift:()=>e.noPrettier?!1:(M.emit(t,J,"prettier"),!0)},{any:(i,n)=>(n.ctrlKey||n.metaKey)&&n.altKey&&n.shiftKey&&n.code==="KeyT"?(M.emit(t,J,"table"),!0):!1},...ZP],m6=/[a-z][a-z0-9.+-]*:\/\/[^\s<>"'`()]+(?:\([^\s<>"'`]*\)[^\s<>"'`]*)*/i,O6=/\/\/[^\s<>"'`()]+/i,g6=/data:[a-z]+\/[a-z0-9.+-]+(?:;base64)?,[a-z0-9+/=%]+/i,b6=/\/(?!\/)[^\s<>"'`()]+/i,Lo=new RegExp(`(${m6.source}|${O6.source}|${g6.source}|${b6.source})`,"gi"),x6=/[a-z0-9.+-]/i,k6=t=>{const e=[];Lo.lastIndex=0;let i;for(;i=Lo.exec(t);){const n=i.index??0,r=n>0?t[n-1]:"";if(r&&x6.test(r)||r==="<"&&t[n]==="/")continue;const s=n+i[0].length;e.push([n,s])}return e},y6=(t,e,i)=>t.some(n=>n.from===e&&n.to===i),v6=t=>{const e=t.shortenText||(()=>"..."),i=se.define(),n=se.define(),r=(a,u)=>{const c=new Xi,h=[];for(let d=1;d<=a.doc.lines;d++){const f=a.doc.line(d),p=f.text;Lo.lastIndex=0;const m=t.findTexts?.({state:a,lineText:p,lineNumber:f.number,lineFrom:f.from,lineTo:f.to,defaultTextRegex:Lo})??k6(p);for(const O of m){if(!O)continue;const[g,b]=O;if(typeof g!="number"||typeof b!="number"||g<0||b<=g||g>=p.length||b>p.length)continue;const S=p.slice(g,b);if(!S||S.length<=t.maxLength)continue;const y=f.from+g,x=f.from+b;if(y6(u,y,x)){h.push({from:y,to:x});continue}const Q=e(S);c.add(y,x,me.replace({widget:new s(Q,S,y,x)}))}}return{deco:c.finish(),expanded:h}};class s extends Ni{constructor(u,c,h,d){super(),this.short=u,this.raw=c,this.from=h,this.to=d}toDOM(u){const c=document.createElement("span");return c.textContent=this.short,c.className="cm-short-text",c.title=this.raw,c.style.display="inline",c.style.textDecoration="underline",c.addEventListener("mousedown",h=>{h.preventDefault(),h.stopPropagation(),u.dispatch({selection:L.cursor(this.from),effects:i.of({from:this.from,to:this.to,expand:!0})}),u.focus()}),c.addEventListener("click",h=>{h.preventDefault()}),c}ignoreEvent(){return!1}eq(u){return this.short===u.short&&this.raw===u.raw&&this.from===u.from&&this.to===u.to}}const o=nt.define({create(a){return r(a,[])},update(a,u){let c=a.expanded;u.docChanged&&c.length&&(c=c.map(({from:d,to:f})=>({from:u.changes.mapPos(d,1),to:u.changes.mapPos(f,-1)})).filter(({from:d,to:f})=>df!==d.value.from||p!==d.value.to):d.is(n)&&c.length>0&&(c=[]);return!h&&c!==a.expanded&&(h=!0),u.docChanged||h?r(u.state,c):a},provide:a=>Y.decorations.compute([a],u=>u.field(a).deco)}),l=Y.domEventHandlers({mousedown(a,u){const c=u.state.field(o,!1);if(!c||c.expanded.length===0)return!1;const h=a.target;if(h&&u.dom.contains(h)){const d=u.posAtDOM(h,0);if(d!=null&&d!==-1&&c.expanded.some(({from:f,to:p})=>d>=f&&d<=p))return!1}return u.dispatch({effects:n.of(void 0)}),!1}});return[o,l]};Y.EDIT_CONTEXT=!1;const b1=t=>t.extension instanceof Function?t.extension(t.options):t.extension,S6=t=>{const e=b1(t);return t.compartment?t.compartment.of(e):e},w6=t=>{const e=$("tabWidth"),i=$("editorId"),n=$("theme"),r=$("previewTheme"),s=$("language"),o=$("usedLanguageText"),l=$("disabled"),a=$("showToolbarName"),u=$("customIcon"),c=$("noUploadImg"),h=$("tableShape"),d=$("noPrettier"),f=$("codeTheme"),p=$("setting"),m=$("updateSetting"),O=$("catalogVisible"),g=$("defToolbars"),b=$("floatingToolbars"),S=$("rootRef"),y=te(),x=ki(),Q=te(!1),T=new zt,_=new zt,C=new zt,F=new zt,B=new zt,E=p6(i,{noPrettier:d}),Z=()=>[...E,...AQ,...z3,EQ],q={paste:f6(t,x),blur:t.onBlur,focus:t.onFocus,drop:t.onDrop,compositionstart:()=>{Q.value=!0},compositionend:(z,H)=>{Q.value=!1,t.updateModelValue(H.state.doc.toString())},input:z=>{t.onInput&&t.onInput(z);const{data:H}=z;t.maxlength&&t.modelValue.length+H.length>t.maxlength&&M.emit(i,Nt,{name:"overlength",message:"The input text is too long",data:H})}},j=qC({privide(z){z.provide("editorId",i),z.provide("theme",n),z.provide("previewTheme",r),z.provide("language",s),z.provide("disabled",l),z.provide("noUploadImg",c),z.provide("tableShape",h),z.provide("noPrettier",d),z.provide("codeTheme",f),z.provide("showToolbarName",a),z.provide("setting",p),z.provide("updateSetting",m),z.provide("usedLanguageText",o),z.provide("catalogVisible",O),z.provide("defToolbars",g),z.provide("tabWidth",e),z.provide("customIcon",u),z.provide("floatingToolbars",b),z.provide("rootRef",S)}}),D=[{type:"theme",extension:({theme:z})=>z.value==="light"?jf:Hf,compartment:T,options:{theme:n}},{type:"updateListener",extension:Y.updateListener.of(z=>{z.docChanged&&(t.onChange(z.state.doc.toString()),Q.value||t.updateModelValue(z.state.doc.toString()))})},{type:"domEventHandlers",extension:Y.domEventHandlers(q),compartment:F},{type:"completions",extension:zf(t.completions),compartment:_},{type:"history",extension:Ed(),compartment:C}],X=Ce.codeMirrorExtensions([{type:"lineWrapping",extension:Y.lineWrapping},{type:"keymap",extension:Gr.of(Z())},{type:"drawSelection",extension:aw()},{type:"markdown",extension:o1({codeLanguages:kP})},{type:"linkShortener",extension:z=>v6(z),options:{maxLength:30}},{type:"floatingToolbar",extension:b.value.length>0?j:[],compartment:B}],{editorId:i,theme:n.value,keyBindings:Z()}),I=()=>[...D,...X].map(S6);return we(()=>{const z=new Y({doc:t.modelValue,parent:y.value,extensions:I()}),H=new eC(z);x.value=H,setTimeout(()=>{H.setTabSize(e),H.setDisabled(l.value),H.setReadOnly(t.readonly),t.placeholder&&H.setPlaceholder(t.placeholder),typeof t.maxlength=="number"&&H.setMaxLength(t.maxlength),t.autofocus&&z.focus()},0),M.on(i,{name:gp,callback(){Ju(z)}}),M.on(i,{name:bp,callback(){go(z)}}),M.on(i,{name:J,async callback(re,ne={}){if(re==="image"&&ne.transform){const Oe=t.transformImgUrl(ne.url);if(Oe instanceof Promise)Oe.then(async ge=>{const{text:be,options:Ge}=await Kl(re,x.value,{...ne,url:ge});x.value?.replaceSelectedText(be,Ge,i)}).catch(ge=>{console.error(ge)});else{const{text:ge,options:be}=await Kl(re,x.value,{...ne,url:Oe});x.value?.replaceSelectedText(ge,be,i)}}else{const{text:Oe,options:ge}=await Kl(re,x.value,ne);x.value?.replaceSelectedText(Oe,ge,i)}}}),M.on(i,{name:kp,callback:j1(re=>{const ne={...q},Oe=Object.keys(q);for(const ge in re){const be=ge;Oe.includes(be)?ne[be]=(Ge,Ti)=>{re[be](Ge,Ti),Ge.defaultPrevented||q[be](Ge,Ti)}:ne[be]=re[be]}x.value?.view.dispatch({effects:F.reconfigure(Y.domEventHandlers(ne))})})}),M.on(i,{name:yp,callback:(re,ne)=>{const Oe=z.state.doc.line(re);z.dispatch(z.state.update({changes:{from:Oe.from,to:Oe.to,insert:ne}}))}}),M.on(i,{name:vp,callback(){M.emit(i,Hs,z)}}),M.emit(i,Hs,z)}),ee(n,()=>{x.value?.view.dispatch({effects:T.reconfigure(n.value==="light"?jf:Hf)})},{deep:!0}),ee(()=>t.completions,()=>{x.value?.view.dispatch({effects:_.reconfigure(zf(t.completions))})},{deep:!0}),ee(()=>t.modelValue,()=>{x.value?.getValue()!==t.modelValue&&x.value?.setValue(t.modelValue)}),ee(()=>t.placeholder,()=>{x.value?.setPlaceholder(t.placeholder)}),ee([l],()=>{x.value?.setDisabled(l.value)}),ee(()=>t.readonly,()=>{x.value?.setDisabled(t.readonly)}),ee(()=>t.maxlength,()=>{t.maxlength&&x.value?.setMaxLength(t.maxlength)}),iC(()=>{const z=X.find(H=>H.type==="floatingToolbar");z?.compartment&&(b.value.length>0?x.value?.view.dispatch({effects:z.compartment.reconfigure(b1(z))}):x.value?.view.dispatch({effects:z.compartment.reconfigure([])}))},b),{inputWrapperRef:y,codeMirrorUt:x,resetHistory(){x.value?.view.dispatch({effects:C.reconfigure([])}),x.value?.view.dispatch({effects:C.reconfigure(Ed())})}}},Q6=(t,e,i)=>{const n=$("setting"),r=le(()=>/px$/.test(`${t.inputBoxWidth}`)?"50%":t.inputBoxWidth),s=yt({resizedWidth:r.value}),o=yt({width:r.value}),l=yt({insetInlineStart:r.value,display:"initial"}),a=h=>{const d=e.value?.offsetWidth||0,f=e.value?.getBoundingClientRect().x||0;let p=h.x-f;p/dd-d*ns&&(p=d-d*ns);const m=`${p/d*100}%`;o.width=m,l.insetInlineStart=m,s.resizedWidth=m,t.oninputBoxWidthChange?.(m)},u=h=>{h.target===i.value&&document.addEventListener("mousemove",a)},c=()=>{document.removeEventListener("mousemove",a)};return ee([i],()=>{document.removeEventListener("mousedown",u),document.removeEventListener("mouseup",c),document.addEventListener("mousedown",u),document.addEventListener("mouseup",c)}),we(()=>{document.addEventListener("mousedown",u),document.addEventListener("mouseup",c)}),ri(()=>{document.removeEventListener("mousedown",u),document.removeEventListener("mouseup",c)}),ee([r],([h])=>{s.resizedWidth=h,o.width=h,l.insetInlineStart=h}),ee([()=>n.value.htmlPreview,()=>n.value.preview,()=>n.value.previewOnly],()=>{n.value.previewOnly?(o.width="0%",l.display="none"):!n.value.htmlPreview&&!n.value.preview?(o.width="100%",l.display="none"):(o.width=s.resizedWidth,l.display="initial")},{immediate:!0}),{inputWrapperStyle:o,resizeOperateStyle:l}},$6=()=>{const t=$("editorId"),e=te(!0),i=Ou();return{onCatalogActive:(n,r)=>{const s=document.querySelector(`#${t} .${k}-catalog-editor`);if(!r||!e.value||!s)return;const o=r.offsetTop-s.scrollTop;(o>100||o<100)&&i(s,r.offsetTop-100)},onMouseenter:()=>e.value=!1,onMouseleave:()=>e.value=!0}},ta=K({name:`${N1}CustomScrollbar`,props:{id:{type:String,default:void 0},class:{type:[String,Array],default:void 0},scrollTarget:{type:String,default:void 0},alwaysShowTrack:{type:Boolean,default:!1},onMouseenter:{type:Function,default:()=>{}},onMouseleave:{type:Function,default:()=>{}}},setup(t,{slots:e}){const i=te(null),n=te(null),r=te(null),s=te(null);let o=null,l=null,a=!1,u=0,c=0;const h=()=>{if(!n.value||!i.value||!r.value||!s.value)return;const b=i.value.clientHeight,S=n.value.scrollHeight,y=n.value.scrollTop;if(S<=b){r.value.style.display="none",t.alwaysShowTrack||(s.value.style.display="none");return}else r.value.style.display="block",s.value.style.display="block";const x=b/S,Q=Math.max(b*x,20),T=b-Q,_=Math.min(y*x,T);r.value.style.height=`${Q}px`,r.value.style.top=`${_}px`},d=()=>h(),f=b=>{a=!0,u=b.clientY,c=n.value.scrollTop,document.body.style.userSelect="none"},p=b=>{if(!a||!n.value||!i.value)return;const S=b.clientY-u,y=n.value.scrollHeight/i.value.clientHeight;n.value.scrollTop=c+S*y},m=()=>{a=!1,document.body.style.userSelect=""},O=b=>{n.value&&n.value.removeEventListener("scroll",d),n.value=b,n.value?(n.value.addEventListener("scroll",d),h()):s.value&&!t.alwaysShowTrack&&(s.value.style.display="none")},g=()=>{if(!i.value)return;const b=t.scrollTarget?i.value.querySelector(t.scrollTarget):i.value.firstElementChild;O(b)};return we(async()=>{await St(),g(),o=new MutationObserver(()=>{l&&cancelAnimationFrame(l),l=requestAnimationFrame(()=>{g()})}),o.observe(i.value,{childList:!0,subtree:!0}),window.addEventListener("resize",h),r.value?.addEventListener("mousedown",f),document.addEventListener("mousemove",p),document.addEventListener("mouseup",m)}),ri(()=>{o?.disconnect(),n.value&&n.value.removeEventListener("scroll",d),window.removeEventListener("resize",h),r.value?.removeEventListener("mousedown",f),document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",m)}),()=>w("div",{id:t.id,class:[`${k}-custom-scrollbar`,t.class],ref:i,onMouseenter:t.onMouseenter,onMouseleave:t.onMouseleave},[e.default?.(),w("div",{class:`${k}-custom-scrollbar__track`,ref:s},[w("div",{class:`${k}-custom-scrollbar__thumb`,ref:r},null)])])}}),T6=Ou(),_6={flex:1},P6=K({name:"MDEditorContent",props:ny,setup(t,e){const i=$("editorId"),n=$("catalogVisible"),r=$("theme"),s=$("setting"),o=te(""),l=te(),a=te(),{inputWrapperRef:u,codeMirrorUt:c,resetHistory:h}=w6(t),{inputWrapperStyle:d,resizeOperateStyle:f}=Q6(t,l,a);BP(t,o,c);const{onCatalogActive:p,onMouseenter:m,onMouseleave:O}=$6(),g=(y,x)=>{if(!s.value.preview&&x.line!==void 0){y.preventDefault();const Q=c.value?.view;if(Q){const T=Q.state.doc.line(x.line+1),_=Q.lineBlockAt(T.from)?.top,C=Q.scrollDOM;T6(C,_)}}},b=le(()=>s.value.preview?"preview":"editor"),S=y=>{o.value=y,t.onHtmlChanged(y)};return e.expose({getSelectedText(){return c.value?.getSelectedText()},focus(y){c.value?.focus(y)},resetHistory:h,getEditorView(){return c.value?.view}}),()=>w("div",{class:`${k}-content`},[w("div",{class:`${k}-content-wrapper`,ref:l},[w(ta,{alwaysShowTrack:!0,scrollTarget:`#${i} .cm-scroller`,style:d},{default:()=>[w("div",{class:`${k}-input-wrapper`,ref:u},null)]}),(s.value.htmlPreview||s.value.preview)&&w("div",{class:`${k}-resize-operate`,style:f,ref:a},null),w(ta,{style:_6},{default:()=>[w(sm,{modelValue:t.modelValue,onChange:t.onChange,onHtmlChanged:S,onGetCatalog:t.onGetCatalog,mdHeadingId:t.mdHeadingId,noMermaid:t.noMermaid,sanitize:t.sanitize,noKatex:t.noKatex,formatCopiedText:t.formatCopiedText,noHighlight:t.noHighlight,noImgZoomIn:t.noImgZoomIn,sanitizeMermaid:t.sanitizeMermaid,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold,onRemount:t.onRemount,previewComponent:t.previewComponent,noEcharts:t.noEcharts},null)]})]),n.value&&w(ta,{class:`${k}-catalog-${t.catalogLayout}`,onMouseenter:m,onMouseleave:O},{default:()=>[w(nr,{theme:r.value,class:`${k}-catalog-editor`,editorId:i,mdHeadingId:t.mdHeadingId,key:"internal-catalog",scrollElementOffsetTop:2,syncWith:b.value,onClick:g,catalogMaxDepth:t.catalogMaxDepth,onActive:p},null)]})])}}),C6=K({props:{modelValue:{type:String,default:""}},setup(t){const e=$("usedLanguageText");return()=>w("div",{class:`${k}-footer-item`},[w("label",{class:`${k}-footer-label`},[`${e.value.footer?.markdownTotal}:`]),w("span",null,[t.modelValue?.length||0])])}}),A6={checked:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}},disabled:{type:Boolean,default:void 0}},E6=K({name:`${k}-checkbox`,props:A6,setup(t){return()=>w("div",{class:[`${k}-checkbox`,t.checked&&`${k}-checkbox-checked`,t.disabled&&`${k}-disabled`],onClick:()=>{t.disabled||t.onChange(!t.checked)}},null)}}),L6={scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}}},D6=K({props:L6,setup(t){const e=$("usedLanguageText"),i=$("disabled");return()=>w("div",{class:[`${k}-footer-item`,i?.value&&`${k}-disabled`]},[w("label",{class:`${k}-footer-label`,onClick:()=>{i?.value||t.onScrollAutoChange(!t.scrollAuto)}},[e?.value.footer?.scrollAuto]),w(E6,{checked:t.scrollAuto,onChange:t.onScrollAutoChange,disabled:i?.value},null)])}}),M6={modelValue:{type:String,default:""},footers:{type:Array,default:[]},scrollAuto:{type:Boolean},noScrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}},defFooters:{type:Object}},R6=K({name:"MDEditorFooter",props:M6,setup(t){const e=$("theme"),i=$("language"),n=$("disabled"),r=le(()=>{const o=t.footers.indexOf("="),l=o===-1?t.footers:t.footers.slice(0,o),a=o===-1?[]:t.footers.slice(o,Number.MAX_SAFE_INTEGER);return[l,a]}),s=o=>{if(mp.includes(o))switch(o){case"markdownTotal":return w(C6,{modelValue:t.modelValue},null);case"scrollSwitch":return!t.noScrollAuto&&w(D6,{scrollAuto:t.scrollAuto,onScrollAutoChange:t.onScrollAutoChange},null)}else if(t.defFooters instanceof Array){const l=t.defFooters[o];return l?gr(l,{theme:l.props?.theme||e.value,language:l.props?.language||i.value,disabled:l.props?.disabled||n?.value}):""}else if(t.defFooters&&t.defFooters.children instanceof Array){const l=t.defFooters.children[o];return l?gr(l,{theme:l.props?.theme||e.value,language:l.props?.language||i.value,disabled:l.props?.disabled||n?.value}):""}else return""};return()=>{const o=r.value[0].map(a=>s(a)),l=r.value[1].map(a=>s(a));return w("div",{class:`${k}-footer`},[w("div",{class:`${k}-footer-left`},[o]),w("div",{class:`${k}-footer-right`},[l])])}}}),I6={toolbars:{type:Array,default:()=>[]},toolbarsExclude:{type:Array,default:()=>[]}},Z6=K({name:"MDEditorToolbar",props:I6,setup(t){const e=$("editorId"),i=$("showToolbarName"),n=`${e}-toolbar-wrapper`,r=te(),s=te(),{barRender:o}=g1(),l=le(()=>{const a=t.toolbars.filter(d=>!t.toolbarsExclude.includes(d)),u=a.indexOf("="),c=u===-1?a:a.slice(0,u+1),h=u===-1?[]:a.slice(u,Number.MAX_SAFE_INTEGER);return[c,h]});return ee(()=>t.toolbars,()=>{St(()=>{r.value&&W1(r.value)})},{immediate:!0}),()=>{const a=l.value[0].map(c=>o(c)),u=l.value[1].map(c=>o(c));return w(Fr,null,[t.toolbars.length>0&&w("div",{class:`${k}-toolbar-wrapper`,ref:r,id:n},[w("div",{class:[`${k}-toolbar`,i.value&&`${k}-stn`]},[w("div",{class:`${k}-toolbar-left`,ref:s},[a]),w("div",{class:`${k}-toolbar-right`},[u])])])])}}}),Gs=K({name:"MdEditorV3",props:ly,emits:ay,setup(t,e){const{noKatex:i,noMermaid:n,noHighlight:r}=t,s=yt({scrollAuto:t.scrollAuto}),o=te(),l=te(),a=le(()=>Ne({props:t,ctx:e},"defToolbars")),u=le(()=>Ne({props:t,ctx:e},"defFooters")),c=nm(t),[h,d]=wk(t,e,{editorId:c}),f=Qk(t,{editorId:c});kk(t,e,{editorId:c}),vk(t),Sk(t,e,{editorId:c}),$k(t,e,{editorId:c,catalogVisible:f,setting:h,updateSetting:d,codeRef:l}),yk(t,{rootRef:o,editorId:c,setting:h,updateSetting:d,catalogVisible:f,defToolbars:a}),ri(()=>{M.clear(c)});const p=C=>{e.emit("update:modelValue",C)},m=C=>{t.onChange?.(C),e.emit("onChange",C)},O=C=>{t.onHtmlChanged?.(C),e.emit("onHtmlChanged",C)},g=C=>{t.onGetCatalog?.(C),e.emit("onGetCatalog",C)},b=C=>{t.onBlur?.(C),e.emit("onBlur",C)},S=C=>{t.onFocus?.(C),e.emit("onFocus",C)},y=C=>{t.onInput?.(C),e.emit("onInput",C)},x=C=>{t.onDrop?.(C),e.emit("onDrop",C)},Q=C=>{t.oninputBoxWidthChange?.(C),e.emit("oninputBoxWidthChange",C)},T=()=>{t.onRemount?.(),e.emit("onRemount")},_=C=>{s.scrollAuto=C};return()=>w("div",{id:c,class:[k,t.class,t.theme==="dark"&&`${k}-dark`,h.fullscreen||h.pageFullscreen?`${k}-fullscreen`:""],style:t.style,ref:o},[t.toolbars.length>0&&w(Z6,{toolbars:t.toolbars,toolbarsExclude:t.toolbarsExclude},null),w(P6,{ref:l,modelValue:t.modelValue,mdHeadingId:t.mdHeadingId,noMermaid:n,sanitize:t.sanitize,placeholder:t.placeholder,noKatex:i,scrollAuto:s.scrollAuto,formatCopiedText:t.formatCopiedText,autofocus:t.autoFocus,readonly:t.readOnly,maxlength:t.maxLength,autoDetectCode:t.autoDetectCode,noHighlight:r,updateModelValue:p,onChange:m,onHtmlChanged:O,onGetCatalog:g,onBlur:b,onFocus:S,onInput:y,completions:t.completions,noImgZoomIn:t.noImgZoomIn,onDrop:x,inputBoxWidth:t.inputBoxWidth,oninputBoxWidthChange:Q,sanitizeMermaid:t.sanitizeMermaid,transformImgUrl:t.transformImgUrl,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold,onRemount:T,catalogLayout:t.catalogLayout,catalogMaxDepth:t.catalogMaxDepth,noEcharts:t.noEcharts,previewComponent:t.previewComponent},null),t.footers.length>0&&w(R6,{modelValue:t.modelValue,footers:t.footers,defFooters:u.value,noScrollAuto:!h.preview&&!h.htmlPreview||h.previewOnly,scrollAuto:s.scrollAuto,onScrollAutoChange:_},null)])}});Gs.install=t=>(t.component(Gs.name,Gs),t.use(or).use(Ds).use(zs).use(nr).use(rr),t);function z6(t,e){for(var i=0;in[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const X6={onClick:{type:Function,default:void 0},language:{type:String,default:void 0},theme:{type:String,default:void 0},disabled:{type:Boolean,default:void 0}},ia=K({name:"NormalFooterToolbar",props:X6,emits:["onClick"],setup(t,e){return()=>{const i=Ne({props:t,ctx:e});return w("div",{class:[`${k}-footer-item`,t.disabled&&`${k}-disabled`],onClick:n=>{t.disabled||(t.onClick?.(n),e.emit("onClick",n))}},[i])}}});ia.install=t=>(t.component(ia.name,ia),t);function F6(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var na={exports:{}},Qe={},ra={exports:{}},Pi={},Kf;function x1(){if(Kf)return Pi;Kf=1;function t(){var s={};return s["align-content"]=!1,s["align-items"]=!1,s["align-self"]=!1,s["alignment-adjust"]=!1,s["alignment-baseline"]=!1,s.all=!1,s["anchor-point"]=!1,s.animation=!1,s["animation-delay"]=!1,s["animation-direction"]=!1,s["animation-duration"]=!1,s["animation-fill-mode"]=!1,s["animation-iteration-count"]=!1,s["animation-name"]=!1,s["animation-play-state"]=!1,s["animation-timing-function"]=!1,s.azimuth=!1,s["backface-visibility"]=!1,s.background=!0,s["background-attachment"]=!0,s["background-clip"]=!0,s["background-color"]=!0,s["background-image"]=!0,s["background-origin"]=!0,s["background-position"]=!0,s["background-repeat"]=!0,s["background-size"]=!0,s["baseline-shift"]=!1,s.binding=!1,s.bleed=!1,s["bookmark-label"]=!1,s["bookmark-level"]=!1,s["bookmark-state"]=!1,s.border=!0,s["border-bottom"]=!0,s["border-bottom-color"]=!0,s["border-bottom-left-radius"]=!0,s["border-bottom-right-radius"]=!0,s["border-bottom-style"]=!0,s["border-bottom-width"]=!0,s["border-collapse"]=!0,s["border-color"]=!0,s["border-image"]=!0,s["border-image-outset"]=!0,s["border-image-repeat"]=!0,s["border-image-slice"]=!0,s["border-image-source"]=!0,s["border-image-width"]=!0,s["border-left"]=!0,s["border-left-color"]=!0,s["border-left-style"]=!0,s["border-left-width"]=!0,s["border-radius"]=!0,s["border-right"]=!0,s["border-right-color"]=!0,s["border-right-style"]=!0,s["border-right-width"]=!0,s["border-spacing"]=!0,s["border-style"]=!0,s["border-top"]=!0,s["border-top-color"]=!0,s["border-top-left-radius"]=!0,s["border-top-right-radius"]=!0,s["border-top-style"]=!0,s["border-top-width"]=!0,s["border-width"]=!0,s.bottom=!1,s["box-decoration-break"]=!0,s["box-shadow"]=!0,s["box-sizing"]=!0,s["box-snap"]=!0,s["box-suppress"]=!0,s["break-after"]=!0,s["break-before"]=!0,s["break-inside"]=!0,s["caption-side"]=!1,s.chains=!1,s.clear=!0,s.clip=!1,s["clip-path"]=!1,s["clip-rule"]=!1,s.color=!0,s["color-interpolation-filters"]=!0,s["column-count"]=!1,s["column-fill"]=!1,s["column-gap"]=!1,s["column-rule"]=!1,s["column-rule-color"]=!1,s["column-rule-style"]=!1,s["column-rule-width"]=!1,s["column-span"]=!1,s["column-width"]=!1,s.columns=!1,s.contain=!1,s.content=!1,s["counter-increment"]=!1,s["counter-reset"]=!1,s["counter-set"]=!1,s.crop=!1,s.cue=!1,s["cue-after"]=!1,s["cue-before"]=!1,s.cursor=!1,s.direction=!1,s.display=!0,s["display-inside"]=!0,s["display-list"]=!0,s["display-outside"]=!0,s["dominant-baseline"]=!1,s.elevation=!1,s["empty-cells"]=!1,s.filter=!1,s.flex=!1,s["flex-basis"]=!1,s["flex-direction"]=!1,s["flex-flow"]=!1,s["flex-grow"]=!1,s["flex-shrink"]=!1,s["flex-wrap"]=!1,s.float=!1,s["float-offset"]=!1,s["flood-color"]=!1,s["flood-opacity"]=!1,s["flow-from"]=!1,s["flow-into"]=!1,s.font=!0,s["font-family"]=!0,s["font-feature-settings"]=!0,s["font-kerning"]=!0,s["font-language-override"]=!0,s["font-size"]=!0,s["font-size-adjust"]=!0,s["font-stretch"]=!0,s["font-style"]=!0,s["font-synthesis"]=!0,s["font-variant"]=!0,s["font-variant-alternates"]=!0,s["font-variant-caps"]=!0,s["font-variant-east-asian"]=!0,s["font-variant-ligatures"]=!0,s["font-variant-numeric"]=!0,s["font-variant-position"]=!0,s["font-weight"]=!0,s.grid=!1,s["grid-area"]=!1,s["grid-auto-columns"]=!1,s["grid-auto-flow"]=!1,s["grid-auto-rows"]=!1,s["grid-column"]=!1,s["grid-column-end"]=!1,s["grid-column-start"]=!1,s["grid-row"]=!1,s["grid-row-end"]=!1,s["grid-row-start"]=!1,s["grid-template"]=!1,s["grid-template-areas"]=!1,s["grid-template-columns"]=!1,s["grid-template-rows"]=!1,s["hanging-punctuation"]=!1,s.height=!0,s.hyphens=!1,s.icon=!1,s["image-orientation"]=!1,s["image-resolution"]=!1,s["ime-mode"]=!1,s["initial-letters"]=!1,s["inline-box-align"]=!1,s["justify-content"]=!1,s["justify-items"]=!1,s["justify-self"]=!1,s.left=!1,s["letter-spacing"]=!0,s["lighting-color"]=!0,s["line-box-contain"]=!1,s["line-break"]=!1,s["line-grid"]=!1,s["line-height"]=!1,s["line-snap"]=!1,s["line-stacking"]=!1,s["line-stacking-ruby"]=!1,s["line-stacking-shift"]=!1,s["line-stacking-strategy"]=!1,s["list-style"]=!0,s["list-style-image"]=!0,s["list-style-position"]=!0,s["list-style-type"]=!0,s.margin=!0,s["margin-bottom"]=!0,s["margin-left"]=!0,s["margin-right"]=!0,s["margin-top"]=!0,s["marker-offset"]=!1,s["marker-side"]=!1,s.marks=!1,s.mask=!1,s["mask-box"]=!1,s["mask-box-outset"]=!1,s["mask-box-repeat"]=!1,s["mask-box-slice"]=!1,s["mask-box-source"]=!1,s["mask-box-width"]=!1,s["mask-clip"]=!1,s["mask-image"]=!1,s["mask-origin"]=!1,s["mask-position"]=!1,s["mask-repeat"]=!1,s["mask-size"]=!1,s["mask-source-type"]=!1,s["mask-type"]=!1,s["max-height"]=!0,s["max-lines"]=!1,s["max-width"]=!0,s["min-height"]=!0,s["min-width"]=!0,s["move-to"]=!1,s["nav-down"]=!1,s["nav-index"]=!1,s["nav-left"]=!1,s["nav-right"]=!1,s["nav-up"]=!1,s["object-fit"]=!1,s["object-position"]=!1,s.opacity=!1,s.order=!1,s.orphans=!1,s.outline=!1,s["outline-color"]=!1,s["outline-offset"]=!1,s["outline-style"]=!1,s["outline-width"]=!1,s.overflow=!1,s["overflow-wrap"]=!1,s["overflow-x"]=!1,s["overflow-y"]=!1,s.padding=!0,s["padding-bottom"]=!0,s["padding-left"]=!0,s["padding-right"]=!0,s["padding-top"]=!0,s.page=!1,s["page-break-after"]=!1,s["page-break-before"]=!1,s["page-break-inside"]=!1,s["page-policy"]=!1,s.pause=!1,s["pause-after"]=!1,s["pause-before"]=!1,s.perspective=!1,s["perspective-origin"]=!1,s.pitch=!1,s["pitch-range"]=!1,s["play-during"]=!1,s.position=!1,s["presentation-level"]=!1,s.quotes=!1,s["region-fragment"]=!1,s.resize=!1,s.rest=!1,s["rest-after"]=!1,s["rest-before"]=!1,s.richness=!1,s.right=!1,s.rotation=!1,s["rotation-point"]=!1,s["ruby-align"]=!1,s["ruby-merge"]=!1,s["ruby-position"]=!1,s["shape-image-threshold"]=!1,s["shape-outside"]=!1,s["shape-margin"]=!1,s.size=!1,s.speak=!1,s["speak-as"]=!1,s["speak-header"]=!1,s["speak-numeral"]=!1,s["speak-punctuation"]=!1,s["speech-rate"]=!1,s.stress=!1,s["string-set"]=!1,s["tab-size"]=!1,s["table-layout"]=!1,s["text-align"]=!0,s["text-align-last"]=!0,s["text-combine-upright"]=!0,s["text-decoration"]=!0,s["text-decoration-color"]=!0,s["text-decoration-line"]=!0,s["text-decoration-skip"]=!0,s["text-decoration-style"]=!0,s["text-emphasis"]=!0,s["text-emphasis-color"]=!0,s["text-emphasis-position"]=!0,s["text-emphasis-style"]=!0,s["text-height"]=!0,s["text-indent"]=!0,s["text-justify"]=!0,s["text-orientation"]=!0,s["text-overflow"]=!0,s["text-shadow"]=!0,s["text-space-collapse"]=!0,s["text-transform"]=!0,s["text-underline-position"]=!0,s["text-wrap"]=!0,s.top=!1,s.transform=!1,s["transform-origin"]=!1,s["transform-style"]=!1,s.transition=!1,s["transition-delay"]=!1,s["transition-duration"]=!1,s["transition-property"]=!1,s["transition-timing-function"]=!1,s["unicode-bidi"]=!1,s["vertical-align"]=!1,s.visibility=!1,s["voice-balance"]=!1,s["voice-duration"]=!1,s["voice-family"]=!1,s["voice-pitch"]=!1,s["voice-range"]=!1,s["voice-rate"]=!1,s["voice-stress"]=!1,s["voice-volume"]=!1,s.volume=!1,s["white-space"]=!1,s.widows=!1,s.width=!0,s["will-change"]=!1,s["word-break"]=!0,s["word-spacing"]=!0,s["word-wrap"]=!0,s["wrap-flow"]=!1,s["wrap-through"]=!1,s["writing-mode"]=!1,s["z-index"]=!1,s}function e(s,o,l){}function i(s,o,l){}var n=/javascript\s*\:/img;function r(s,o){return n.test(o)?"":o}return Pi.whiteList=t(),Pi.getDefaultWhiteList=t,Pi.onAttr=e,Pi.onIgnoreAttr=i,Pi.safeAttrValue=r,Pi}var Jf,ep;function k1(){return ep||(ep=1,Jf={indexOf:function(t,e){var i,n;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,n=t.length;i/g,f=/"/g,p=/"/g,m=/&#([a-zA-Z0-9]*);?/gim,O=/:?/gim,g=/&newline;?/gim,b=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,S=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,y=/u\s*r\s*l\s*\(.*/gi;function x(D){return D.replace(f,""")}function Q(D){return D.replace(p,'"')}function T(D){return D.replace(m,function(X,I){return I[0]==="x"||I[0]==="X"?String.fromCharCode(parseInt(I.substr(1),16)):String.fromCharCode(parseInt(I,10))})}function _(D){return D.replace(O,":").replace(g," ")}function C(D){for(var X="",I=0,z=D.length;I",z);if(H===-1)break;I=H+3}return X}function j(D){var X=D.split("");return X=X.filter(function(I){var z=I.charCodeAt(0);return z===127?!1:z<=31?z===10||z===13:!0}),X.join("")}return Qe.whiteList=n(),Qe.getDefaultWhiteList=n,Qe.onTag=s,Qe.onIgnoreTag=o,Qe.onTagAttr=l,Qe.onIgnoreTagAttr=a,Qe.safeAttrValue=c,Qe.escapeHtml=u,Qe.escapeQuote=x,Qe.unescapeQuote=Q,Qe.escapeHtmlEntities=T,Qe.escapeDangerHtml5Entities=_,Qe.clearNonPrintableCharacter=C,Qe.friendlyAttrValue=F,Qe.escapeAttrValue=B,Qe.onIgnoreTagStripAll=E,Qe.StripTagBody=Z,Qe.stripCommentTag=q,Qe.stripBlankChar=j,Qe.attributeWrapSign='"',Qe.cssFilter=r,Qe.getDefaultCSSWhiteList=e,Qe}var Es={},lp;function v1(){if(lp)return Es;lp=1;var t=Cc();function e(h){var d=t.spaceIndex(h),f;return d===-1?f=h.slice(1,-1):f=h.slice(1,d+1),f=t.trim(f).toLowerCase(),f.slice(0,1)==="/"&&(f=f.slice(1)),f.slice(-1)==="/"&&(f=f.slice(0,-1)),f}function i(h){return h.slice(0,2)===""||b===S-1){p+=f(h.slice(m,O)),x=h.slice(O,b+1),y=e(x),p+=d(O,p.length,y,x,i(x)),m=b+1,O=!1;continue}if(Q==='"'||Q==="'")for(var T=1,_=h.charAt(b-T);_.trim()===""||_==="=";){if(_==="="){g=Q;continue e}_=h.charAt(b-++T)}}else if(Q===g){g=!1;continue}}return m0;d--){var f=h[d];if(f!==" ")return f==="="?d:-1}}function u(h){return h[0]==='"'&&h[h.length-1]==='"'||h[0]==="'"&&h[h.length-1]==="'"}function c(h){return u(h)?h.substr(1,h.length-2):h}return Es.parseTag=n,Es.parseAttr=s,Es}var la,ap;function q6(){if(ap)return la;ap=1;var t=mu().FilterCSS,e=y1(),i=v1(),n=i.parseTag,r=i.parseAttr,s=Cc();function o(h){return h==null}function l(h){var d=s.spaceIndex(h);if(d===-1)return{html:"",closing:h[h.length-2]==="/"};h=s.trim(h.slice(d+1,-1));var f=h[h.length-1]==="/";return f&&(h=s.trim(h.slice(0,-1))),{html:h,closing:f}}function a(h){var d={};for(var f in h)d[f]=h[f];return d}function u(h){var d={};for(var f in h)Array.isArray(h[f])?d[f.toLowerCase()]=h[f].map(function(p){return p.toLowerCase()}):d[f.toLowerCase()]=h[f];return d}function c(h){h=a(h||{}),h.stripIgnoreTag&&(h.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),h.onIgnoreTag=e.onIgnoreTagStripAll),h.whiteList||h.allowList?h.whiteList=u(h.whiteList||h.allowList):h.whiteList=e.whiteList,this.attributeWrapSign=h.singleQuotedAttributeValue===!0?"'":e.attributeWrapSign,h.onTag=h.onTag||e.onTag,h.onTagAttr=h.onTagAttr||e.onTagAttr,h.onIgnoreTag=h.onIgnoreTag||e.onIgnoreTag,h.onIgnoreTagAttr=h.onIgnoreTagAttr||e.onIgnoreTagAttr,h.safeAttrValue=h.safeAttrValue||e.safeAttrValue,h.escapeHtml=h.escapeHtml||e.escapeHtml,this.options=h,h.css===!1?this.cssFilter=!1:(h.css=h.css||{},this.cssFilter=new t(h.css))}return c.prototype.process=function(h){if(h=h||"",h=h.toString(),!h)return"";var d=this,f=d.options,p=f.whiteList,m=f.onTag,O=f.onIgnoreTag,g=f.onTagAttr,b=f.onIgnoreTagAttr,S=f.safeAttrValue,y=f.escapeHtml,x=d.attributeWrapSign,Q=d.cssFilter;f.stripBlankChar&&(h=e.stripBlankChar(h)),f.allowCommentTag||(h=e.stripCommentTag(h));var T=!1;f.stripIgnoreTagBody&&(T=e.StripTagBody(f.stripIgnoreTagBody,O),O=T.onIgnoreTag);var _=n(h,function(C,F,B,E,Z){var q={sourcePosition:C,position:F,isClosing:Z,isWhite:Object.prototype.hasOwnProperty.call(p,B)},j=m(B,E,q);if(!o(j))return j;if(q.isWhite){if(q.isClosing)return"";var D=l(E),X=p[B],I=r(D.html,function(z,H){var re=s.indexOf(X,z)!==-1,ne=g(B,z,H,re);return o(ne)?re?(H=S(B,z,H,Q),H?z+"="+x+H+x:z):(ne=b(B,z,H,re),o(ne)?void 0:ne):ne});return E="<"+B,I&&(E+=" "+I),D.closing&&(E+=" /"),E+=">",E}else return j=O(B,E,q),o(j)?y(E):j},y);return T&&(_=T.remove(_)),_},la=c,la}var up;function j6(){return up||(up=1,(function(t,e){var i=y1(),n=v1(),r=q6();function s(l,a){var u=new r(a);return u.process(l)}e=t.exports=s,e.filterXSS=s,e.FilterXSS=r,(function(){for(var l in i)e[l]=i[l];for(var a in n)e[a]=n[a]})(),typeof window<"u"&&(window.filterXSS=t.exports);function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=t.exports)})(na,na.exports)),na.exports}var Or=j6();const W6=F6(Or),N6=z6({__proto__:null,default:W6},[Or]),cp={img:["class"],input:["class","disabled","type","checked"],iframe:["class","width","height","src","title","border","frameborder","framespacing","allow","allowfullscreen"]},Y6=(t,e)=>{const{extendedWhiteList:i={},xss:n={}}=e;let r;if(typeof n=="function")r=new Or.FilterXSS(n(N6));else{const s=Or.getDefaultWhiteList();[...Object.keys(i),...Object.keys(cp)].forEach(o=>{const l=s[o]||[],a=cp[o]||[],u=i[o]||[];s[o]=[...new Set([...l,...a,...u])]}),r=new Or.FilterXSS({whiteList:s,...n})}t.core.ruler.after("linkify","xss",s=>{for(let o=0;o{a.type==="html_inline"&&(a.content=r.process(a.content))});break}}}})},G6={toolbarTips:{bold:"Gras",underline:"Souligné",italic:"Italique",strikeThrough:"Barré",title:"Titre",sub:"Indice",sup:"Exposant",quote:"Citation",unorderedList:"Liste",orderedList:"Liste numérique",task:"Liste de tâche",codeRow:"Code intégré",code:"Bloc de code",link:"Lien",image:"Image",table:"Table",mermaid:"Organigramme",katex:"Formule",revoke:"Annuler",next:"Refaire",save:"Sauvegarder",prettier:"Sublimer",pageFullscreen:"Passer en pleine page",fullscreen:"Passer en plein écran",preview:"Prévisualiser",htmlPreview:"Prévisualiser le HTML",catalog:"Table des matières",github:"Code source de l'editeur"},titleItem:{h1:"Titre niveau 1",h2:"Titre niveau 2",h3:"Titre niveau 3",h4:"Titre niveau 4",h5:"Titre niveau 5",h6:"Titre niveau 6"},imgTitleItem:{link:"Ajouter depuis une url",upload:"Télécharger une image",clip2upload:"Télécharger et recadrer"},linkModalTips:{linkTitle:"Ajouter un lien",imageTitle:"Ajouter une image depuis une url",descLabel:"Texte : ",descLabelPlaceHolder:"Entrez un texte...",urlLabel:"Url : ",urlLabelPlaceHolder:"Entrez une url...",buttonOK:"Valider"},clipModalTips:{title:"Télécharger et recadrer une image",buttonUpload:"Valider"},copyCode:{text:"Copier le code",successTips:"Copié",failTips:"La copie a échoué!"},mermaid:{flow:"Organigramme",sequence:"Chronogramme",gantt:"Diagramme de Gantt",class:"Diagramme de classes",state:"Diagramme d'état",pie:"Diagramme circulaire",relationship:"Diagramme de relation",journey:"Diagramme de tâches"},katex:{inline:"Formule en ligne",block:"Formule en bloc"},footer:{markdownTotal:"Nombre de mots",scrollAuto:"Défilement synchronisé"}},U6={toolbarTips:{bold:"Fett",underline:"Unterstrichen",italic:"Kursiv",strikeThrough:"Durchgestrichen",title:"Titel",sub:"Tiefgestellt",sup:"Hochgestellt",quote:"Zitat",unorderedList:"Ungeordnete Liste",orderedList:"Geordnete Liste",task:"Aufgabenliste",codeRow:"Eingebetteter Code",code:"Codeblock",link:"Link",image:"Bild",table:"Tabelle",mermaid:"Flussdiagramm",katex:"Formel",revoke:"Rückgängig machen",next:"Wiederherstellen",save:"Speichern",prettier:"Verschönern",pageFullscreen:"Vollbildmodus",fullscreen:"Vollbild",preview:"Vorschau",htmlPreview:"HTML Vorschau",catalog:"Inhaltsverzeichnis",github:"Quellcode des Editors"},titleItem:{h1:"Überschrift Ebene 1",h2:"Überschrift Ebene 2",h3:"Überschrift Ebene 3",h4:"Überschrift Ebene 4",h5:"Überschrift Ebene 5",h6:"Überschrift Ebene 6"},imgTitleItem:{link:"Bildlink hinzufügen",upload:"Bild hochladen",clip2upload:"Bild zuschneiden und hochladen"},linkModalTips:{linkTitle:"Link hinzufügen",imageTitle:"Bild von URL hinzufügen",descLabel:"Text: ",descLabelPlaceHolder:"Text eingeben...",urlLabel:"URL: ",urlLabelPlaceHolder:"URL eingeben...",buttonOK:"Bestätigen"},clipModalTips:{title:"Bild zuschneiden und hochladen",buttonUpload:"Hochladen"},copyCode:{text:"Code kopieren",successTips:"Kopiert!",failTips:"Kopieren fehlgeschlagen!"},mermaid:{flow:"Flussdiagramm",sequence:"Sequenzdiagramm",gantt:"Gantt-Diagramm",class:"Klassendiagramm",state:"Zustandsdiagramm",pie:"Kreisdiagramm",relationship:"Beziehungsdiagramm",journey:"Reisediagramm"},katex:{inline:"Inline-Formel",block:"Blockformel"},footer:{markdownTotal:"Zeichenanzahl",scrollAuto:"Automatisches Scrollen"}},H6={toolbarTips:{bold:"Grassetto",underline:"Sottolineato",italic:"Corsivo",strikeThrough:"Barrato",title:"Titolo",sub:"Indice",sup:"Esponente",quote:"Citazione",unorderedList:"Elenco non ordinato",orderedList:"Elenco ordinato",task:"Lista di compiti",codeRow:"Codice incorporato",code:"Blocco di codice",link:"Link",image:"Immagine",table:"Tabella",mermaid:"Diagramma",katex:"Formula",revoke:"Annulla",next:"Ripristina",save:"Salva",prettier:"Formatta",pageFullscreen:"Pagina a schermo intero",fullscreen:"Schermo intero",preview:"Anteprima",htmlPreview:"Anteprima HTML",catalog:"Indice",github:"Codice sorgente dell'editor"},titleItem:{h1:"Intestazione Livello 1",h2:"Intestazione Livello 2",h3:"Intestazione Livello 3",h4:"Intestazione Livello 4",h5:"Intestazione Livello 5",h6:"Intestazione Livello 6"},imgTitleItem:{link:"Aggiungi link immagine",upload:"Carica immagine",clip2upload:"Ritaglia e carica immagine"},linkModalTips:{linkTitle:"Aggiungi link",imageTitle:"Aggiungi immagine da URL",descLabel:"Testo: ",descLabelPlaceHolder:"Inserisci il testo...",urlLabel:"URL: ",urlLabelPlaceHolder:"Inserisci l'URL...",buttonOK:"Conferma"},clipModalTips:{title:"Ritaglia e carica immagine",buttonUpload:"Carica"},copyCode:{text:"Copia codice",successTips:"Copiato!",failTips:"Copia fallita!"},mermaid:{flow:"Diagramma di flusso",sequence:"Diagramma di sequenza",gantt:"Diagramma di Gantt",class:"Diagramma di classe",state:"Diagramma di stato",pie:"Diagramma a torta",relationship:"Diagramma di relazione",journey:"Diagramma di viaggio"},katex:{inline:"Formula in linea",block:"Formula a blocco"},footer:{markdownTotal:"Conteggio parole",scrollAuto:"Scorrimento automatico"}},K6={toolbarTips:{bold:"Negrita",underline:"Subrayado",italic:"Cursiva",strikeThrough:"Tachado",title:"Título",sub:"Subíndice",sup:"Superíndice",quote:"Cita",unorderedList:"Lista desordenada",orderedList:"Lista ordenada",task:"Lista de tareas",codeRow:"Código en línea",code:"Bloque de código",link:"Enlace",image:"Imagen",table:"Tabla",mermaid:"Diagrama",katex:"Fórmula",revoke:"Deshacer",next:"Rehacer",save:"Guardar",prettier:"Formatear",pageFullscreen:"Página en pantalla completa",fullscreen:"Pantalla completa",preview:"Vista previa",htmlPreview:"Vista previa del HTML",catalog:"Índice",github:"Código fuente del editor"},titleItem:{h1:"Encabezado de nivel 1",h2:"Encabezado de nivel 2",h3:"Encabezado de nivel 3",h4:"Encabezado de nivel 4",h5:"Encabezado de nivel 5",h6:"Encabezado de nivel 6"},imgTitleItem:{link:"Agregar enlace de imagen",upload:"Subir imagen",clip2upload:"Recortar y subir imagen"},linkModalTips:{linkTitle:"Agregar enlace",imageTitle:"Agregar imagen desde URL",descLabel:"Texto: ",descLabelPlaceHolder:"Introduce el texto...",urlLabel:"Enlace: ",urlLabelPlaceHolder:"Introduce el enlace...",buttonOK:"Confirmar"},clipModalTips:{title:"Recortar y subir imagen",buttonUpload:"Subir"},copyCode:{text:"Copiar código",successTips:"¡Copiado!",failTips:"¡Copia fallida!"},mermaid:{flow:"Diagrama de flujo",sequence:"Diagrama de secuencia",gantt:"Diagrama de Gantt",class:"Diagrama de clase",state:"Diagrama de estado",pie:"Diagrama de pastel",relationship:"Diagrama de relación",journey:"Diagrama de viaje"},katex:{inline:"Fórmula en línea",block:"Fórmula de bloque"},footer:{markdownTotal:"Conteo de letras",scrollAuto:"Desplazamiento automático"}},J6={toolbarTips:{bold:"Pogrubienie",underline:"Podkreślenie",italic:"Kursywa",strikeThrough:"Przekreślenie",title:"Tytuł",sub:"Indeks dolny",sup:"Indeks górny",quote:"Cytat",unorderedList:"Lista nieuporządkowana",orderedList:"Lista uporządkowana",task:"Lista zadań",codeRow:"Wbudowany kod",code:"Blok kodu",link:"Link",image:"Obraz",table:"Tabela",mermaid:"Schemat przepływu",katex:"Formuła",revoke:"Cofnij",next:"Przywróć",save:"Zapisz",prettier:"Upiększ",pageFullscreen:"Pełny ekran strony",fullscreen:"Pełny ekran",preview:"Podgląd",htmlPreview:"Podgląd HTML",catalog:"Spis treści",github:"Kod źródłowy edytora"},titleItem:{h1:"Nagłówek poziom 1",h2:"Nagłówek poziom 2",h3:"Nagłówek poziom 3",h4:"Nagłówek poziom 4",h5:"Nagłówek poziom 5",h6:"Nagłówek poziom 6"},imgTitleItem:{link:"Dodaj link do obrazu",upload:"Prześlij obraz",clip2upload:"Przytnij i prześlij obraz"},linkModalTips:{linkTitle:"Dodaj link",imageTitle:"Dodaj obraz z URL",descLabel:"Tekst: ",descLabelPlaceHolder:"Wpisz tekst...",urlLabel:"URL: ",urlLabelPlaceHolder:"Wpisz URL...",buttonOK:"Potwierdź"},clipModalTips:{title:"Przytnij i prześlij obraz",buttonUpload:"Prześlij"},copyCode:{text:"Skopiuj kod",successTips:"Skopiowano!",failTips:"Nie udało się skopiować!"},mermaid:{flow:"Schemat przepływu",sequence:"Schemat sekwencji",gantt:"Wykres Gantta",class:"Diagram klas",state:"Diagram stanów",pie:"Diagram kołowy",relationship:"Diagram relacji",journey:"Diagram podróży"},katex:{inline:"Formuła inline",block:"Formuła blokowa"},footer:{markdownTotal:"Liczba znaków",scrollAuto:"Automatyczne przewijanie"}},e5={toolbarTips:{bold:"жирный",underline:"подчёркнутый",italic:"курсив",strikeThrough:"зачёркнутый",title:"заголовок",sub:"нижний индекс",sup:"верхний индекс",quote:"цитата",unorderedList:"неупорядоченный список",orderedList:"упорядоченный список",task:"список задач",codeRow:"встроенный код",code:"блочный код",link:"ссылка",image:"изображение",table:"таблица",mermaid:"диаграмма",katex:"формула",revoke:"отмена",next:"вернуть",save:"сохранить",prettier:"форматировать",pageFullscreen:"на всю страницу",fullscreen:"на весь экран",preview:"превью",previewOnly:"только превью",htmlPreview:"превью html",catalog:"каталог",github:"исходный код"},titleItem:{h1:"Заголовок 1-го ур.",h2:"Заголовок 2-го ур.",h3:"Заголовок 3-го ур.",h4:"Заголовок 4-го ур.",h5:"Заголовок 5-го ур.",h6:"Заголовок 6-го ур."},imgTitleItem:{link:"Добавить ссылку на изображение",upload:"Загрузить изображение",clip2upload:"Из буфера обмена"},linkModalTips:{linkTitle:"Добавить ссылку",imageTitle:"Добавить изображение",descLabel:"Описание:",descLabelPlaceHolder:"Введите описание...",urlLabel:"Ссылка:",urlLabelPlaceHolder:"Введите ссылку...",buttonOK:"ОК"},clipModalTips:{title:"Обрезать изображение",buttonUpload:"Загрузить"},copyCode:{text:"Скопировать",successTips:"Скопировано!",failTips:"Не удалось скопировать!"},mermaid:{flow:"цепная",sequence:"последовательная",gantt:"временная",class:"структурная",state:"статусная",pie:"круговая",relationship:"реляционная",journey:"путешествия"},katex:{inline:"встроенная",block:"блочная"},footer:{markdownTotal:"Кол-во символов",scrollAuto:"Автопрокрутка"}},t5={toolbarTips:{bold:"太字",underline:"下線",italic:"斜体",strikeThrough:"取り消し線",title:"タイトル",sub:"下付き文字",sup:"上付き文字",quote:"引用",unorderedList:"番号なし箇条書き",orderedList:"番号付の箇条書き",task:"タスクリスト",codeRow:"インラインコード",code:"ブロックコード",link:"リンク",image:"イメージ",table:"テーブル",mermaid:"mermaid図",katex:"katex数式",revoke:"後退",next:"前進",save:"保存",prettier:"フォーマット",pageFullscreen:"ブラウザのフルスクリーン",fullscreen:"フルスクリーン",preview:"プレビュー",htmlPreview:"htmlプレビュー",catalog:"目次",github:"ギットハブ"},titleItem:{h1:"見出し1",h2:"見出し2",h3:"見出し3",h4:"見出し4",h5:"見出し5",h6:"見出し6"},imgTitleItem:{link:"リンク",upload:"アップロード",clip2upload:"トリミングアップロード"},linkModalTips:{linkTitle:"追加",imageTitle:"イメージ追加",descLabel:"リンクの説明:",descLabelPlaceHolder:"説明を入力してください...",urlLabel:"リンクアドレス:",urlLabelPlaceHolder:"リンクを入力してください...",buttonOK:"確定"},clipModalTips:{title:"トリミング画像のアップロード",buttonUpload:"アップロード"},copyCode:{text:"コードをコピー",successTips:"コピー成功!",failTips:"コピー失敗!"},mermaid:{flow:"フローチャート",sequence:"タイミング図",gantt:"ガントチャート",class:"クラス図",state:"状態図",pie:"円グラフ",relationship:"関係図",journey:"旅路図"},katex:{inline:"インライン数式",block:"ブロック数式"},footer:{markdownTotal:"単語数",scrollAuto:"同期スクロール"}},i5={toolbarTips:{bold:"tebal",underline:"garis bawah",italic:"miring",strikeThrough:"coret sambung",title:"judul",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"daftar tak berurutan",orderedList:"daftar berurutan",task:"daftar tugas",codeRow:"kode inline",code:"kode blok",link:"tautan",image:"gambar",table:"tabel",mermaid:"mermaid",katex:"rumus",revoke:"membatalkan",next:"membatalkan pembatalan",save:"simpan",prettier:"penataan",pageFullscreen:"layar penuh di halaman",fullscreen:"layar penuh",preview:"pratinjau",htmlPreview:"pratinjau html",catalog:"daftar isi",github:"kode sumber"},titleItem:{h1:"Judul 1",h2:"Judul 2",h3:"Judul 3",h4:"Judul 4",h5:"Judul 5",h6:"Judul 6"},imgTitleItem:{link:"Tambahkan Tautan Gambar",upload:"Unggah Gambar",clip2upload:"Potong dan Unggah"},linkModalTips:{linkTitle:"Tambahkan Tautan",imageTitle:"Tambahkan Gambar",descLabel:"Deskripsi:",descLabelPlaceHolder:"Masukkan deskripsi...",urlLabel:"Tautan:",urlLabelPlaceHolder:"Masukkan tautan...",buttonOK:"OK"},clipModalTips:{title:"Potong dan Unggah Gambar",buttonUpload:"Unggah"},copyCode:{text:"Salin",successTips:"Tersalin!",failTips:"Gagal menyalin!"},mermaid:{flow:"diagram aliran",sequence:"diagram urutan",gantt:"diagram gantt",class:"diagram kelas",state:"diagram status",pie:"diagram pie",relationship:"diagram hubungan",journey:"diagram perjalanan"},katex:{inline:"rumus inline",block:"rumus blok"},footer:{markdownTotal:"Jumlah Kata",scrollAuto:"Gulir Otomatis"}},n5={zh:"zh-CN",fr:"fr-FR",ja:"jp-JP",id:"id-ID",ru:"ru",de:"de-DE",it:"it-IT",es:"es-ES",pl:"pl-PL",en:"en-US"},r5={"fr-FR":G6,"de-DE":U6,"it-IT":H6,"es-ES":K6,"pl-PL":J6,ru:e5,"jp-JP":t5,"id-ID":i5},hp=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],ti=(()=>{if(typeof document>"u")return!1;const t=hp[0],e={};for(const i of hp)if(i?.[1]in document){for(const[r,s]of i.entries())e[t[r]]=s;return e}return!1})(),dp={change:ti.fullscreenchange,error:ti.fullscreenerror};let lt={request(t=document.documentElement,e){return new Promise((i,n)=>{const r=()=>{lt.off("change",r),i()};lt.on("change",r);const s=t[ti.requestFullscreen](e);s instanceof Promise&&s.then(r).catch(n)})},exit(){return new Promise((t,e)=>{if(!lt.isFullscreen){t();return}const i=()=>{lt.off("change",i),t()};lt.on("change",i);const n=document[ti.exitFullscreen]();n instanceof Promise&&n.then(i).catch(e)})},toggle(t,e){return lt.isFullscreen?lt.exit():lt.request(t,e)},onchange(t){lt.on("change",t)},onerror(t){lt.on("error",t)},on(t,e){const i=dp[t];i&&document.addEventListener(i,e,!1)},off(t,e){const i=dp[t];i&&document.removeEventListener(i,e,!1)},raw:ti};Object.defineProperties(lt,{isFullscreen:{get:()=>!!document[ti.fullscreenElement]},element:{enumerable:!0,get:()=>document[ti.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>!!document[ti.fullscreenEnabled]}});ti||(lt={isEnabled:!1});const s5=K({name:"TextEditor",components:{MdEditor:Gs,MdPreview:rr,NormalToolbar:or},props:{applicationConfig:{type:Object,required:!1},currentContent:{type:String,required:!0},markdownMode:{type:Boolean,required:!1,default:!1},isReadOnly:{type:Boolean,required:!1,default:!1},resource:{type:Object,required:!1}},emits:["update:currentContent"],setup(t,{emit:e}){const i=L1(),{currentTheme:n}=D1(),r=te(!0),s=le(()=>{const{showPreviewOnlyMd:c=!0}=t.applicationConfig;return{showPreviewOnlyMd:c}}),o=le(()=>t.markdownMode||["md","markdown"].includes(t.resource?.extension)||!zn(s).showPreviewOnlyMd),l=le(()=>zn(n).isDark?"dark":"light"),a=le(()=>zn(o)?["bold","underline","italic","-","title","strikeThrough","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","-","revoke","next","=",0,"preview","previewOnly"]:["revoke","next","=",0]);return eb({editorConfig:{languageUserDefined:r5},editorExtensions:{screenfull:{instance:lt},cropper:{instance:M1}},markdownItPlugins(c){return[...c,{type:"xss",plugin:Y6,options:{}}]},codeMirrorExtensions(c){const h=[...c,{type:"lineNumbers",extension:_w()}],d=h.find(f=>f.type==="linkShortener");return d&&(d.options.maxLength=120),zn(o)?h:h.filter(f=>["lineWrapping","keymap","floatingToolbar","lineNumbers"].includes(f.type))}}),{isMarkdown:o,theme:l,toolbars:a,language:i,languages:n5,onUploadImg:async c=>{const d=(await Promise.all([...c].map(p=>new Promise((m,O)=>{const g=new FileReader;g.onload=()=>m(g.result),g.onerror=O,g.readAsDataURL(p)})))).map(p=>`![image](${p})`),f=`${zn(t.currentContent)} +${d.join(` + +`)} +`;e("update:currentContent",f)},showLineNumbers:r}}}),o5={id:"text-editor-container",class:"h-full [&_.md-editor-preview]:!font-(family-name:--oc-font-family)"},l5={key:0};function a5(t,e,i,n,r,s){const o=is("md-preview"),l=is("oc-icon"),a=is("NormalToolbar"),u=is("md-editor");return nl(),Ec("div",o5,[t.isReadOnly?(nl(),Ec("article",l5,[w(o,{id:"text-editor-preview-component","model-value":t.currentContent,"no-katex":"","no-mermaid":"","no-prettier":"","no-upload-img":"","no-highlight":"","no-echarts":"",language:t.languages[t.language.current]||"en-US",theme:t.theme,"auto-focus":"","read-only":""},null,8,["model-value","language","theme"])])):(nl(),R1(u,{key:1,id:"text-editor-component",class:I1([{"no-line-numbers":!t.showLineNumbers},"[&_.cm-content]:!font-(family-name:--oc-font-family)"]),"model-value":t.currentContent,"no-katex":"","no-mermaid":"","no-prettier":"","no-highlight":"","no-echarts":"","on-upload-img":t.onUploadImg,language:t.languages[t.language.current]||"en-US",theme:t.theme,preview:t.isMarkdown,toolbars:t.toolbars,"auto-focus":"",onOnChange:e[1]||(e[1]=c=>t.$emit("update:currentContent",c))},{defToolbars:Lc(()=>[w(a,{title:t.showLineNumbers?t.$gettext("hide line numbers"):t.$gettext("show line numbers"),onOnClick:e[0]||(e[0]=c=>t.showLineNumbers=!t.showLineNumbers)},{default:Lc(()=>[w(l,{class:"!flex items-center justify-center size-6",size:"small",name:"hashtag","fill-type":"none"})]),_:1},8,["title"])]),_:1},8,["class","model-value","on-upload-img","language","theme","preview","toolbars"]))])}const u5=F1(s5,[["render",a5]]),v5=Object.freeze(Object.defineProperty({__proto__:null,default:u5},Symbol.toStringTag,{value:"Module"}));export{lg as C,Ot as E,pe as I,vn as L,R0 as N,v5 as T,Qn as a,DQ as b,Ws as c,EO as d,Tn as e,Ur as f,Te as g,Qo as h,Mn as i,o3 as j,s3 as k,q0 as l,Ue as m,Y as n,L as o,Ng as p,I0 as q,Sg as r,Ln as s,v as t,W0 as u,vt as v}; diff --git a/web-dist/js/chunks/TextEditor-B2vU--c4.mjs.gz b/web-dist/js/chunks/TextEditor-B2vU--c4.mjs.gz new file mode 100644 index 0000000000..2771b63340 Binary files /dev/null and b/web-dist/js/chunks/TextEditor-B2vU--c4.mjs.gz differ diff --git a/web-dist/js/chunks/VersionCheck.vue_vue_type_script_setup_true_lang-D5qoa-gp.mjs b/web-dist/js/chunks/VersionCheck.vue_vue_type_script_setup_true_lang-D5qoa-gp.mjs new file mode 100644 index 0000000000..b1ae39d3ac --- /dev/null +++ b/web-dist/js/chunks/VersionCheck.vue_vue_type_script_setup_true_lang-D5qoa-gp.mjs @@ -0,0 +1 @@ +import{cj as z,aU as p,cm as V,q as w,M as B,aD as O,az as N,aZ as h,aL as i,u as c,I as m,H as v,v as l,bb as u,bJ as C,d9 as q,co as L,bE as T,bk as r,F as I,s as F,t as H}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u as A}from"./vue-router-CmC7u3Bn.mjs";import{K as M}from"./Pagination-w-FgvznP.mjs";import{e as S}from"./eventBus-B07Yv2pA.mjs";import{_ as R}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";function G(t,e){return M(t,e)}const j=t=>{const e=t.startsWith("v")?t.slice(1):t,[s,n]=e.split("-"),[f,a,o]=s.split(".").map(Number);return{major:f,minor:a,patch:o,pre:n}},J=(t,e)=>{const s=j(t),n=j(e);return s.major!==n.major?s.major-n.major:s.minor!==n.minor?s.minor-n.minor:s.patch!==n.patch?s.patch-n.patch:s.pre&&!n.pre?-1:!s.pre&&n.pre?1:s.pre&&n.pre?s.pre.localeCompare(n.pre):0},K=z("updates",()=>{const t=p(!0),e=p(!1),s=p();return{updates:s,isLoading:t,hasError:e,setUpdates:o=>{s.value=o},setHasError:o=>{e.value=o},setIsLoading:o=>{t.value=o}}}),ve=()=>{const{$gettext:t}=V(),{openSideBar:e}=A();return{actions:w(()=>[{name:"show-details",icon:"information",label:()=>t("Details"),handler:()=>e(),isVisible:({resources:n})=>n.length>0,class:"oc-admin-settings-show-details-trigger"}])}},W=B({name:"CompareSaveDialog",props:{originalObject:{type:Object,required:!0},compareObject:{type:Object,required:!0},confirmButtonDisabled:{type:Boolean,default:()=>!1}},emits:["confirm","revert"],setup(){const t=p(!1);let e;return O(()=>{e=S.subscribe("sidebar.entity.saved",()=>{t.value=!0})}),N(()=>{S.unsubscribe("sidebar.entity.saved",e)}),{saved:t}},computed:{unsavedChanges(){return!G(this.originalObject,this.compareObject)},unsavedChangesText(){return this.unsavedChanges?this.$gettext("Unsaved changes"):this.$gettext("No changes")}},watch:{unsavedChanges(){this.unsavedChanges&&(this.saved=!1)},"originalObject.id":function(){this.saved=!1}}}),Z={class:"w-full flex flex-row flex-wrap justify-between items-center"},P={key:0,class:"flex items-center"},Q=["textContent"],X={key:1},Y=["textContent"],ee=["textContent"];function te(t,e,s,n,f,a){const o=h("oc-icon"),b=h("oc-button");return i(),c("div",Z,[t.saved?(i(),c("span",P,[m(o,{name:"checkbox-circle"}),e[2]||(e[2]=v()),l("span",{class:"ml-2",textContent:u(t.$gettext("Changes saved"))},null,8,Q)])):(i(),c("span",X,u(t.unsavedChangesText),1)),e[4]||(e[4]=v()),l("div",null,[m(b,{disabled:!t.unsavedChanges,class:"compare-save-dialog-revert-btn",onClick:e[0]||(e[0]=g=>t.$emit("revert"))},{default:C(()=>[l("span",{textContent:u(t.$gettext("Revert"))},null,8,Y)]),_:1},8,["disabled"]),e[3]||(e[3]=v()),m(b,{appearance:"filled",class:"compare-save-dialog-confirm-btn",disabled:!t.unsavedChanges||t.confirmButtonDisabled,onClick:e[1]||(e[1]=g=>t.$emit("confirm"))},{default:C(()=>[l("span",{textContent:u(t.$gettext("Save"))},null,8,ee)]),_:1},8,["disabled"])])])}const fe=R(W,[["render",te]]),se={key:0},ne={key:0,class:"version-check-loading flex items-center"},oe=["textContent"],ae={key:0,class:"version-check-no-updates flex items-center"},re=["textContent"],ie=["textContent"],he=B({__name:"VersionCheck",setup(t){const{$gettext:e}=V(),s=q(),n=K(),f=s.capabilities.core["check-for-updates"],{updates:a,isLoading:o,hasError:b}=L(n),g=w(()=>f&&!r(b)),x=p(!1),_=p(),k=s.status.edition||"rolling",E=s.status.productversion.split("+")[0];return T(()=>a,()=>{if(!r(a))return;const $=r(a).channels[k].current_version;J($,E)>0&&(x.value=!0,_.value=r(a).channels[k])},{immediate:!0,deep:!0}),($,d)=>{const D=h("oc-spinner"),y=h("oc-icon"),U=h("oc-button");return g.value?(i(),c("div",se,[r(o)?(i(),c("div",ne,[l("span",{textContent:u(r(e)("Checking for updates"))},null,8,oe),d[0]||(d[0]=v()),m(D,{class:"ml-1",size:"xsmall"})])):(i(),c(I,{key:1},[x.value?(i(),F(U,{key:1,class:"version-check-update text-role-on-surface-variant",size:"small",type:"a",href:_.value.url,target:"_blank","gap-size":"small",appearance:"raw","no-hover":""},{default:C(()=>[l("span",{class:"text-xs",textContent:u(r(e)("Version %{version} available",{version:_.value.current_version}))},null,8,ie),d[2]||(d[2]=v()),m(y,{name:"refresh",size:"xsmall","fill-type":"line"})]),_:1},8,["href"])):(i(),c("div",ae,[l("span",{textContent:u(r(e)("Up to date"))},null,8,re),d[1]||(d[1]=v()),m(y,{class:"ml-0.5",name:"checkbox-circle",size:"xsmall","fill-type":"line"})]))],64))])):H("",!0)}}});export{fe as C,he as _,K as a,J as c,G as i,j as p,ve as u}; diff --git a/web-dist/js/chunks/VersionCheck.vue_vue_type_script_setup_true_lang-D5qoa-gp.mjs.gz b/web-dist/js/chunks/VersionCheck.vue_vue_type_script_setup_true_lang-D5qoa-gp.mjs.gz new file mode 100644 index 0000000000..36d915e3b2 Binary files /dev/null and b/web-dist/js/chunks/VersionCheck.vue_vue_type_script_setup_true_lang-D5qoa-gp.mjs.gz differ diff --git a/web-dist/js/chunks/_Set-DyVdKz_x.mjs b/web-dist/js/chunks/_Set-DyVdKz_x.mjs new file mode 100644 index 0000000000..acedc6bc75 --- /dev/null +++ b/web-dist/js/chunks/_Set-DyVdKz_x.mjs @@ -0,0 +1 @@ +import{eB as e,ey as t}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";var o=e(t,"Set");export{o as S}; diff --git a/web-dist/js/chunks/_Set-DyVdKz_x.mjs.gz b/web-dist/js/chunks/_Set-DyVdKz_x.mjs.gz new file mode 100644 index 0000000000..91ba116046 Binary files /dev/null and b/web-dist/js/chunks/_Set-DyVdKz_x.mjs.gz differ diff --git a/web-dist/js/chunks/_getTag-rbyw32wi.mjs b/web-dist/js/chunks/_getTag-rbyw32wi.mjs new file mode 100644 index 0000000000..d708623070 --- /dev/null +++ b/web-dist/js/chunks/_getTag-rbyw32wi.mjs @@ -0,0 +1 @@ +import{eB as g,ey as u,eC as T,eA as y,bT as S,eD as t,eE as s}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{S as n}from"./_Set-DyVdKz_x.mjs";var i=g(u,"WeakMap"),C=T(Object.keys,Object),M=Object.prototype,O=M.hasOwnProperty;function W(e){if(!y(e))return C(e);var o=[];for(var r in Object(e))O.call(e,r)&&r!="constructor"&&o.push(r);return o}var c=g(u,"DataView"),p=g(u,"Promise"),w="[object Map]",P="[object Object]",b="[object Promise]",f="[object Set]",m="[object WeakMap]",j="[object DataView]",V=t(c),d=t(s),h=t(p),k=t(n),l=t(i),a=S;(c&&a(new c(new ArrayBuffer(1)))!=j||s&&a(new s)!=w||p&&a(p.resolve())!=b||n&&a(new n)!=f||i&&a(new i)!=m)&&(a=function(e){var o=S(e),r=o==P?e.constructor:void 0,v=r?t(r):"";if(v)switch(v){case V:return j;case d:return w;case h:return b;case k:return f;case l:return m}return o});export{W as b,a as g}; diff --git a/web-dist/js/chunks/_getTag-rbyw32wi.mjs.gz b/web-dist/js/chunks/_getTag-rbyw32wi.mjs.gz new file mode 100644 index 0000000000..665c0ee404 Binary files /dev/null and b/web-dist/js/chunks/_getTag-rbyw32wi.mjs.gz differ diff --git a/web-dist/js/chunks/_plugin-vue_export-helper-DlAUqK2U.mjs b/web-dist/js/chunks/_plugin-vue_export-helper-DlAUqK2U.mjs new file mode 100644 index 0000000000..718edd3390 --- /dev/null +++ b/web-dist/js/chunks/_plugin-vue_export-helper-DlAUqK2U.mjs @@ -0,0 +1 @@ +const s=(t,r)=>{const o=t.__vccOpts||t;for(const[c,e]of r)o[c]=e;return o};export{s as _}; diff --git a/web-dist/js/chunks/_plugin-vue_export-helper-DlAUqK2U.mjs.gz b/web-dist/js/chunks/_plugin-vue_export-helper-DlAUqK2U.mjs.gz new file mode 100644 index 0000000000..39797d40e8 Binary files /dev/null and b/web-dist/js/chunks/_plugin-vue_export-helper-DlAUqK2U.mjs.gz differ diff --git a/web-dist/js/chunks/apl-B4CMkyY2.mjs b/web-dist/js/chunks/apl-B4CMkyY2.mjs new file mode 100644 index 0000000000..548bbc39e7 --- /dev/null +++ b/web-dist/js/chunks/apl-B4CMkyY2.mjs @@ -0,0 +1 @@ +var l={"+":["conjugate","add"],"−":["negate","subtract"],"×":["signOf","multiply"],"÷":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],"∣":["absolute","residue"],"⍳":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"∪":["unique","union"],"∩":[null,"intersection"],"∼":["not","without"],"∨":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"⍴":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"⊤":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},t=/[\.\/⌿⍀¨⍣]/,a=/⍬/,i=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,u=/←/,o=/[⍝#].*$/,s=function(r){var n;return n=!1,function(e){return n=e,e===r?n==="\\":!0}};const f={name:"apl",startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(r,n){var e;return r.eatSpace()?null:(e=r.next(),e==='"'||e==="'"?(r.eatWhile(s(e)),r.next(),n.prev=!0,"string"):/[\[{\(]/.test(e)?(n.prev=!1,null):/[\]}\)]/.test(e)?(n.prev=!0,null):a.test(e)?(n.prev=!1,"atom"):/[¯\d]/.test(e)?(n.func?(n.func=!1,n.prev=!1):n.prev=!0,r.eatWhile(/[\w\.]/),"number"):t.test(e)||u.test(e)?"operator":i.test(e)?(n.func=!0,n.prev=!1,l[e]?"variableName.function.standard":"variableName.function"):o.test(e)?(r.skipToEnd(),"comment"):e==="∘"&&r.peek()==="."?(r.next(),"variableName.function"):(r.eatWhile(/[\w\$_]/),n.prev=!0,"keyword"))}};export{f as apl}; diff --git a/web-dist/js/chunks/apl-B4CMkyY2.mjs.gz b/web-dist/js/chunks/apl-B4CMkyY2.mjs.gz new file mode 100644 index 0000000000..e27112d534 Binary files /dev/null and b/web-dist/js/chunks/apl-B4CMkyY2.mjs.gz differ diff --git a/web-dist/js/chunks/apps-D4m0BIDd.mjs b/web-dist/js/chunks/apps-D4m0BIDd.mjs new file mode 100644 index 0000000000..7f398c4320 --- /dev/null +++ b/web-dist/js/chunks/apps-D4m0BIDd.mjs @@ -0,0 +1 @@ +import{cj as c,aU as u,bk as l}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u as m,A as d,R as f}from"./index-DiD_jyrz.mjs";const S=()=>{const p=m();return c(`${d}-apps`,()=>{const e=u([]);return{apps:e,getById:r=>l(e).find(s=>s.id===r),loadApps:async()=>{const r=async o=>{try{const n=await(await fetch(o.url)).json();return f.parse(n).apps.map(t=>({...t,repository:o,mostRecentVersion:t.versions[0]})).sort((t,i)=>t.name.toLowerCase().localeCompare(i.name.toLowerCase()))}catch(a){return console.error(a),[]}},s=[];for(const o of p.repositories)s.push(r(o));e.value=(await Promise.all(s)).flat()}}})()};export{S as u}; diff --git a/web-dist/js/chunks/apps-D4m0BIDd.mjs.gz b/web-dist/js/chunks/apps-D4m0BIDd.mjs.gz new file mode 100644 index 0000000000..ac157bc0c8 Binary files /dev/null and b/web-dist/js/chunks/apps-D4m0BIDd.mjs.gz differ diff --git a/web-dist/js/chunks/asciiarmor-Df11BRmG.mjs b/web-dist/js/chunks/asciiarmor-Df11BRmG.mjs new file mode 100644 index 0000000000..2df039637d --- /dev/null +++ b/web-dist/js/chunks/asciiarmor-Df11BRmG.mjs @@ -0,0 +1 @@ +function t(e){var r=e.match(/^\s*\S/);return e.skipToEnd(),r?"error":null}const i={name:"asciiarmor",token:function(e,r){var n;if(r.state=="top")return e.sol()&&(n=e.match(/^-----BEGIN (.*)?-----\s*$/))?(r.state="headers",r.type=n[1],"tag"):t(e);if(r.state=="headers"){if(e.sol()&&e.match(/^\w+:/))return r.state="header","atom";var o=t(e);return o&&(r.state="body"),o}else{if(r.state=="header")return e.skipToEnd(),r.state="headers","string";if(r.state=="body")return e.sol()&&(n=e.match(/^-----END (.*)?-----\s*$/))?n[1]!=r.type?"error":(r.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error");if(r.state=="end")return t(e)}},blankLine:function(e){e.state=="headers"&&(e.state="body")},startState:function(){return{state:"top",type:null}}};export{i as asciiArmor}; diff --git a/web-dist/js/chunks/asciiarmor-Df11BRmG.mjs.gz b/web-dist/js/chunks/asciiarmor-Df11BRmG.mjs.gz new file mode 100644 index 0000000000..505d052009 Binary files /dev/null and b/web-dist/js/chunks/asciiarmor-Df11BRmG.mjs.gz differ diff --git a/web-dist/js/chunks/asn1-EdZsLKOL.mjs b/web-dist/js/chunks/asn1-EdZsLKOL.mjs new file mode 100644 index 0000000000..8ec4903b3e --- /dev/null +++ b/web-dist/js/chunks/asn1-EdZsLKOL.mjs @@ -0,0 +1 @@ +function u(i){for(var s={},c=i.split(" "),T=0;T?$/.test(i)?(n.extenExten=!0,n.extenStart=!1,"strong"):(n.extenStart=!1,e.skipToEnd(),"error");if(n.extenExten)return n.extenExten=!1,n.extenPriority=!0,e.eatWhile(/[^,]/),n.extenInclude&&(e.skipToEnd(),n.extenPriority=!1,n.extenInclude=!1),n.extenSame&&(n.extenPriority=!1,n.extenSame=!1,n.extenApplication=!0),"tag";if(n.extenPriority)return n.extenPriority=!1,n.extenApplication=!0,e.next(),n.extenSame?null:(e.eatWhile(/[^,]/),"number");if(n.extenApplication){if(e.eatWhile(/,/),i=e.current(),i===",")return null;if(e.eatWhile(/\w/),i=e.current().toLowerCase(),n.extenApplication=!1,c.indexOf(i)!==-1)return"def"}else return l(e,n);return null},languageData:{commentTokens:{line:";",block:{open:";--",close:"--;"}}}};export{s as asterisk}; diff --git a/web-dist/js/chunks/asterisk-B-8jnY81.mjs.gz b/web-dist/js/chunks/asterisk-B-8jnY81.mjs.gz new file mode 100644 index 0000000000..b477bb0c66 Binary files /dev/null and b/web-dist/js/chunks/asterisk-B-8jnY81.mjs.gz differ diff --git a/web-dist/js/chunks/brainfuck-C4LP7Hcl.mjs b/web-dist/js/chunks/brainfuck-C4LP7Hcl.mjs new file mode 100644 index 0000000000..4d0e4bc8ef --- /dev/null +++ b/web-dist/js/chunks/brainfuck-C4LP7Hcl.mjs @@ -0,0 +1 @@ +var f="><+-.,[]".split("");const r={name:"brainfuck",startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(i,n){if(i.eatSpace())return null;i.sol()&&(n.commentLine=!1);var e=i.next().toString();if(f.indexOf(e)!==-1){if(n.commentLine===!0)return i.eol()&&(n.commentLine=!1),"comment";if(e==="]"||e==="[")return e==="["?n.left++:n.right++,"bracket";if(e==="+"||e==="-")return"keyword";if(e==="<"||e===">")return"atom";if(e==="."||e===",")return"def"}else return n.commentLine=!0,i.eol()&&(n.commentLine=!1),"comment";i.eol()&&(n.commentLine=!1)}};export{r as brainfuck}; diff --git a/web-dist/js/chunks/brainfuck-C4LP7Hcl.mjs.gz b/web-dist/js/chunks/brainfuck-C4LP7Hcl.mjs.gz new file mode 100644 index 0000000000..81d1c20723 Binary files /dev/null and b/web-dist/js/chunks/brainfuck-C4LP7Hcl.mjs.gz differ diff --git a/web-dist/js/chunks/clike-B9uivgTg.mjs b/web-dist/js/chunks/clike-B9uivgTg.mjs new file mode 100644 index 0000000000..18846a747c --- /dev/null +++ b/web-dist/js/chunks/clike-B9uivgTg.mjs @@ -0,0 +1 @@ +function O(e,n,t,l,s,d){this.indented=e,this.column=n,this.type=t,this.info=l,this.align=s,this.prev=d}function D(e,n,t,l){var s=e.indented;return e.context&&e.context.type=="statement"&&t!="statement"&&(s=e.context.indented),e.context=new O(s,n,t,l,null,e.context)}function x(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}function V(e,n,t){if(n.prevToken=="variable"||n.prevToken=="type"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,t))||n.typeAtEndOfLine&&e.column()==e.indentation())return!0}function P(e){for(;;){if(!e||e.type=="top")return!0;if(e.type=="}"&&e.prev.info!="namespace")return!1;e=e.prev}}function h(e){var n=e.statementIndentUnit,t=e.dontAlignCalls,l=e.keywords||{},s=e.types||{},d=e.builtin||{},b=e.blockKeywords||{},_=e.defKeywords||{},w=e.atoms||{},y=e.hooks||{},te=e.multiLineStrings,re=e.indentStatements!==!1,ie=e.indentSwitch!==!1,F=e.namespaceSeparator,oe=e.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,ae=e.numberStart||/[\d\.]/,le=e.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,j=e.isOperatorChar||/[+\-*&%=<>!?|\/]/,B=e.isIdentifierChar||/[\w\$_\xa1-\uffff]/,U=e.isReservedIdentifier||!1,p,E;function K(i,a){var c=i.next();if(y[c]){var o=y[c](i,a);if(o!==!1)return o}if(c=='"'||c=="'")return a.tokenize=ce(c),a.tokenize(i,a);if(ae.test(c)){if(i.backUp(1),i.match(le))return"number";i.next()}if(oe.test(c))return p=c,null;if(c=="/"){if(i.eat("*"))return a.tokenize=A,A(i,a);if(i.eat("/"))return i.skipToEnd(),"comment"}if(j.test(c)){for(;!i.match(/^\/[\/*]/,!1)&&i.eat(j););return"operator"}if(i.eatWhile(B),F)for(;i.match(F);)i.eatWhile(B);var u=i.current();return m(l,u)?(m(b,u)&&(p="newstatement"),m(_,u)&&(E=!0),"keyword"):m(s,u)?"type":m(d,u)||U&&U(u)?(m(b,u)&&(p="newstatement"),"builtin"):m(w,u)?"atom":"variable"}function ce(i){return function(a,c){for(var o=!1,u,v=!1;(u=a.next())!=null;){if(u==i&&!o){v=!0;break}o=!o&&u=="\\"}return(v||!(o||te))&&(c.tokenize=null),"string"}}function A(i,a){for(var c=!1,o;o=i.next();){if(o=="/"&&c){a.tokenize=null;break}c=o=="*"}return"comment"}function $(i,a){e.typeFirstDefinitions&&i.eol()&&P(a.context)&&(a.typeAtEndOfLine=V(i,a,i.pos))}return{name:e.name,startState:function(i){return{tokenize:null,context:new O(-i,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(i,a){var c=a.context;if(i.sol()&&(c.align==null&&(c.align=!1),a.indented=i.indentation(),a.startOfLine=!0),i.eatSpace())return $(i,a),null;p=E=null;var o=(a.tokenize||K)(i,a);if(o=="comment"||o=="meta")return o;if(c.align==null&&(c.align=!0),p==";"||p==":"||p==","&&i.match(/^\s*(?:\/\/.*)?$/,!1))for(;a.context.type=="statement";)x(a);else if(p=="{")D(a,i.column(),"}");else if(p=="[")D(a,i.column(),"]");else if(p=="(")D(a,i.column(),")");else if(p=="}"){for(;c.type=="statement";)c=x(a);for(c.type=="}"&&(c=x(a));c.type=="statement";)c=x(a)}else p==c.type?x(a):re&&((c.type=="}"||c.type=="top")&&p!=";"||c.type=="statement"&&p=="newstatement")&&D(a,i.column(),"statement",i.current());if(o=="variable"&&(a.prevToken=="def"||e.typeFirstDefinitions&&V(i,a,i.start)&&P(a.context)&&i.match(/^\s*\(/,!1))&&(o="def"),y.token){var u=y.token(i,a,o);u!==void 0&&(o=u)}return o=="def"&&e.styleDefs===!1&&(o="variable"),a.startOfLine=!1,a.prevToken=E?"def":o||p,$(i,a),o},indent:function(i,a,c){if(i.tokenize!=K&&i.tokenize!=null||i.typeAtEndOfLine&&P(i.context))return null;var o=i.context,u=a&&a.charAt(0),v=u==o.type;if(o.type=="statement"&&u=="}"&&(o=o.prev),e.dontIndentStatements)for(;o.type=="statement"&&e.dontIndentStatements.test(o.info);)o=o.prev;if(y.indent){var q=y.indent(i,o,a,c.unit);if(typeof q=="number")return q}var se=o.prev&&o.prev.info=="switch";if(e.allmanIndentation&&/[{(]/.test(u)){for(;o.type!="top"&&o.type!="}";)o=o.prev;return o.indented}return o.type=="statement"?o.indented+(u=="{"?0:n||c.unit):o.align&&(!t||o.type!=")")?o.column+(v?0:1):o.type==")"&&!v?o.indented+(n||c.unit):o.indented+(v?0:c.unit)+(!v&&se&&!/^(?:case|default)\b/.test(a)?c.unit:0)},languageData:{indentOnInput:ie?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:Object.keys(l).concat(Object.keys(s)).concat(Object.keys(d)).concat(Object.keys(w)),...e.languageData}}}function r(e){for(var n={},t=e.split(" "),l=0;l!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,n){return e.match('""')?(n.tokenize=J,n.tokenize(e,n)):!1},"'":function(e){return e.match(/^(\\[^'\s]+|[^\\'])'/)?"character":(e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},"=":function(e,n){var t=n.context;return t.type=="}"&&t.align&&e.eat(">")?(n.context=new O(t.indented,t.column,t.type,t.info,null,t.prev),"operator"):!1},"/":function(e,n){return e.eat("*")?(n.tokenize=S(1),n.tokenize(e,n)):!1}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}});function de(e){return function(n,t){for(var l=!1,s,d=!1;!n.eol();){if(!e&&!l&&n.match('"')){d=!0;break}if(e&&n.match('"""')){d=!0;break}s=n.next(),!l&&s=="$"&&n.match("{")&&n.skipTo("}"),l=!l&&s=="\\"&&!e}return(d||!e)&&(t.tokenize=null),"string"}}const _e=h({name:"kotlin",keywords:r("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:r("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(ul?|l|f)?/i,blockKeywords:r("catch class do else finally for if where try while enum"),defKeywords:r("class val var object interface fun"),atoms:r("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,n){return n.prevToken=="."?"variable":"operator"},'"':function(e,n){return n.tokenize=de(e.match('""')),n.tokenize(e,n)},"/":function(e,n){return e.eat("*")?(n.tokenize=S(1),n.tokenize(e,n)):!1},indent:function(e,n,t,l){var s=t&&t.charAt(0);if((e.prevToken=="}"||e.prevToken==")")&&t=="")return e.indented;if(e.prevToken=="operator"&&t!="}"&&e.context.type!="}"||e.prevToken=="variable"&&s=="."||(e.prevToken=="}"||e.prevToken==")")&&s==".")return l*2+n.indented;if(n.align&&n.type=="}")return n.indented+(e.context.type==(t||"").charAt(0)?0:l)}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}}),xe=h({name:"shader",keywords:r("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:r("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:r("for while do if else struct"),builtin:r("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:r("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":g}}),Se=h({name:"nesc",keywords:r(T+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:I,blockKeywords:r(N),atoms:r("null true false"),hooks:{"#":g}}),Te=h({name:"objectivec",keywords:r(T+" "+Q),types:X,builtin:r(Z),blockKeywords:r(N+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:r(z+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:r("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:C,hooks:{"#":g,"*":M}}),Ie=h({name:"objectivecpp",keywords:r(T+" "+Q+" "+H),types:X,builtin:r(Z),blockKeywords:r(N+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:r(z+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:r("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:C,hooks:{"#":g,"*":M,u:k,U:k,L:k,R:k,0:f,1:f,2:f,3:f,4:f,5:f,6:f,7:f,8:f,9:f,token:function(e,n,t){if(t=="variable"&&e.peek()=="("&&(n.prevToken==";"||n.prevToken==null||n.prevToken=="}")&&Y(e.current()))return"def"}},namespaceSeparator:"::"}),Ne=h({name:"squirrel",keywords:r("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:I,blockKeywords:r("case catch class else for foreach if switch try while"),defKeywords:r("function local class"),typeFirstDefinitions:!0,atoms:r("true false null"),hooks:{"#":g}});var L=null;function ee(e){return function(n,t){for(var l=!1,s,d=!1;!n.eol();){if(!l&&n.match('"')&&(e=="single"||n.match('""'))){d=!0;break}if(!l&&n.match("``")){L=ee(e),d=!0;break}s=n.next(),l=e=="single"&&!l&&s=="\\"}return d&&(t.tokenize=null),"string"}}const De=h({name:"ceylon",keywords:r("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var n=e.charAt(0);return n===n.toUpperCase()&&n!==n.toLowerCase()},blockKeywords:r("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:r("class dynamic function interface module object package value"),builtin:r("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:r("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,n){return n.tokenize=ee(e.match('""')?"triple":"single"),n.tokenize(e,n)},"`":function(e,n){return!L||!e.match("`")?!1:(n.tokenize=L,L=null,n.tokenize(e,n))},"'":function(e){return e.match(/^(\\[^'\s]+|[^\\'])'/)?"string.special":(e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},token:function(e,n,t){if((t=="variable"||t=="type")&&n.prevToken==".")return"variableName.special"}},languageData:{closeBrackets:{brackets:["(","[","{","'",'"','"""']}}});function pe(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize)}function ne(e){return(e.interpolationStack||(e.interpolationStack=[])).pop()}function he(e){return e.interpolationStack?e.interpolationStack.length:0}function R(e,n,t,l){var s=!1;if(n.eat(e))if(n.eat(e))s=!0;else return"string";function d(b,_){for(var w=!1;!b.eol();){if(!l&&!w&&b.peek()=="$")return pe(_),_.tokenize=ye,"string";var y=b.next();if(y==e&&!w&&(!s||b.match(e+e))){_.tokenize=null;break}w=!l&&!w&&y=="\\"}return"string"}return t.tokenize=d,d(n,t)}function ye(e,n){return e.eat("$"),e.eat("{")?n.tokenize=null:n.tokenize=me,null}function me(e,n){return e.eatWhile(/[\w_]/),n.tokenize=ne(n),"variable"}const Le=h({name:"dart",keywords:r("this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required sealed base interface when inline"),blockKeywords:r("try catch finally do else for if switch while"),builtin:r("void bool num int double dynamic var String Null Never"),atoms:r("true false null"),number:/^(?:0x[a-f\d_]+|(?:[\d_]+\.?[\d_]*|\.[\d_]+)(?:e[-+]?[\d_]+)?)/i,hooks:{"@":function(e){return e.eatWhile(/[\w\$_\.]/),"meta"},"'":function(e,n){return R("'",e,n,!1)},'"':function(e,n){return R('"',e,n,!1)},r:function(e,n){var t=e.peek();return t=="'"||t=='"'?R(e.next(),e,n,!0):!1},"}":function(e,n){return he(n)>0?(n.tokenize=ne(n),null):!1},"/":function(e,n){return e.eat("*")?(n.tokenize=S(1),n.tokenize(e,n)):!1},token:function(e,n,t){if(t=="variable"){var l=RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g");if(l.test(e.current()))return"type"}}}});export{ke as c,De as ceylon,h as clike,ge as cpp,we as csharp,Le as dart,be as java,_e as kotlin,Se as nesC,Te as objectiveC,Ie as objectiveCpp,ve as scala,xe as shader,Ne as squirrel}; diff --git a/web-dist/js/chunks/clike-B9uivgTg.mjs.gz b/web-dist/js/chunks/clike-B9uivgTg.mjs.gz new file mode 100644 index 0000000000..be392c6427 Binary files /dev/null and b/web-dist/js/chunks/clike-B9uivgTg.mjs.gz differ diff --git a/web-dist/js/chunks/clojure-BMjYHr_A.mjs b/web-dist/js/chunks/clojure-BMjYHr_A.mjs new file mode 100644 index 0000000000..985d06c13d --- /dev/null +++ b/web-dist/js/chunks/clojure-BMjYHr_A.mjs @@ -0,0 +1 @@ +var d=["false","nil","true"],l=[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],u=["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],p=["->","->>","as->","binding","bound-fn","case","catch","comment","cond","cond->","cond->>","condp","def","definterface","defmethod","defn","defmacro","defprotocol","defrecord","defstruct","deftype","do","doseq","dotimes","doto","extend","extend-protocol","extend-type","fn","for","future","if","if-let","if-not","if-some","let","letfn","locking","loop","ns","proxy","reify","struct-map","some->","some->>","try","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn"],f=o(d),m=o(l),h=o(u),y=o(p),b=/^(?:[\\\[\]\s"(),;@^`{}~]|$)/,v=/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,g=/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,k=/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;function s(t,e){if(t.eatSpace()||t.eat(","))return["space",null];if(t.match(v))return[null,"number"];if(t.match(g))return[null,"string.special"];if(t.eat(/^"/))return(e.tokenize=x)(t,e);if(t.eat(/^[(\[{]/))return["open","bracket"];if(t.eat(/^[)\]}]/))return["close","bracket"];if(t.eat(/^;/))return t.skipToEnd(),["space","comment"];if(t.eat(/^[#'@^`~]/))return[null,"meta"];var r=t.match(k),n=r&&r[0];return n?n==="comment"&&e.lastToken==="("?(e.tokenize=w)(t,e):a(n,f)||n.charAt(0)===":"?["symbol","atom"]:a(n,m)||a(n,h)?["symbol","keyword"]:e.lastToken==="("?["symbol","builtin"]:["symbol","variable"]:(t.next(),t.eatWhile(function(i){return!a(i,b)}),[null,"error"])}function x(t,e){for(var r=!1,n;n=t.next();){if(n==='"'&&!r){e.tokenize=s;break}r=!r&&n==="\\"}return[null,"string"]}function w(t,e){for(var r=1,n;n=t.next();)if(n===")"&&r--,n==="("&&r++,r===0){t.backUp(1),e.tokenize=s;break}return["space","comment"]}function o(t){for(var e={},r=0;r >= "),N={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,symbol:/[\w*+\-]/};function F(E,T){return E==="0"&&T.eat(/x/i)?(T.eatWhile(N.hex),!0):((E=="+"||E=="-")&&N.digit.test(T.peek())&&(T.eat(N.sign),E=T.next()),N.digit.test(E)?(T.eat(E),T.eatWhile(N.digit),T.peek()=="."&&(T.eat("."),T.eatWhile(N.digit)),T.eat(N.exponent)&&(T.eat(N.sign),T.eatWhile(N.digit)),!0):!1)}const Y={name:"cobol",startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(E,T){if(T.indentStack==null&&E.sol()&&(T.indentation=6),E.eatSpace())return null;var I=null;switch(T.mode){case"string":for(var R=!1;(R=E.next())!=null;)if((R=='"'||R=="'")&&!E.match(/['"]/,!1)){T.mode=!1;break}I=C;break;default:var O=E.next(),A=E.column();if(A>=0&&A<=5)I=B;else if(A>=72&&A<=79)E.skipToEnd(),I=i;else if(O=="*"&&A==6)E.skipToEnd(),I=e;else if(O=='"'||O=="'")T.mode="string",I=C;else if(O=="'"&&!N.digit_or_colon.test(E.peek()))I=D;else if(O==".")I=t;else if(F(O,E))I=G;else{if(E.current().match(N.symbol))for(;A<71&&E.eat(N.symbol)!==void 0;)A++;U&&U.propertyIsEnumerable(E.current().toUpperCase())?I=n:P&&P.propertyIsEnumerable(E.current().toUpperCase())?I=M:S&&S.propertyIsEnumerable(E.current().toUpperCase())?I=D:I=null}}return I},indent:function(E){return E.indentStack==null?E.indentation:E.indentStack.indent}};export{Y as cobol}; diff --git a/web-dist/js/chunks/cobol-CWcv1MsR.mjs.gz b/web-dist/js/chunks/cobol-CWcv1MsR.mjs.gz new file mode 100644 index 0000000000..03d409bbb1 Binary files /dev/null and b/web-dist/js/chunks/cobol-CWcv1MsR.mjs.gz differ diff --git a/web-dist/js/chunks/coffeescript-S37ZYGWr.mjs b/web-dist/js/chunks/coffeescript-S37ZYGWr.mjs new file mode 100644 index 0000000000..ca71cbf7bb --- /dev/null +++ b/web-dist/js/chunks/coffeescript-S37ZYGWr.mjs @@ -0,0 +1 @@ +var k="error";function p(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var g=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,y=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,h=/^[_A-Za-z$][_A-Za-z$0-9]*/,w=/^@[_A-Za-z$][_A-Za-z$0-9]*/,z=p(["and","or","not","is","isnt","in","instanceof","typeof"]),l=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],a=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],x=p(l.concat(a));l=p(l);var b=/^('{3}|\"{3}|['\"])/,A=/^(\/{3}|\/)/,S=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],O=p(S);function u(e,n){if(e.sol()){n.scope.align===null&&(n.scope.align=!1);var i=n.scope.offset;if(e.eatSpace()){var f=e.indentation();return f>i&&n.scope.type=="coffee"?"indent":f0&&v(e,n)}if(e.eatSpace())return null;var r=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=R,n.tokenize(e,n);if(r==="#")return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var c=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(c=!0),e.match(/^-?\d+\.\d*/)&&(c=!0),e.match(/^-?\.\d+/)&&(c=!0),c)return e.peek()=="."&&e.backUp(1),"number";var o=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(o=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(o=!0),e.match(/^-?0(?![\dx])/i)&&(o=!0),o)return"number"}if(e.match(b))return n.tokenize=t(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(A)){if(e.current()!="/"||e.match(/^.*\//,!1))return n.tokenize=t(e.current(),!0,"string.special"),n.tokenize(e,n);e.backUp(1)}return e.match(g)||e.match(z)?"operator":e.match(y)?"punctuation":e.match(O)?"atom":e.match(w)||n.prop&&e.match(h)?"property":e.match(x)?"keyword":e.match(h)?"variable":(e.next(),k)}function t(e,n,i){return function(f,r){for(;!f.eol();)if(f.eatWhile(/[^'"\/\\]/),f.eat("\\")){if(f.next(),n&&f.eol())return i}else{if(f.match(e))return r.tokenize=u,i;f.eat(/['"\/]/)}return n&&(r.tokenize=u),i}}function R(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=u;break}e.eatWhile("#")}return"comment"}function d(e,n,i="coffee"){for(var f=0,r=!1,c=null,o=n.scope;o;o=o.prev)if(o.type==="coffee"||o.type=="}"){f=o.offset+e.indentUnit;break}i!=="coffee"?(r=null,c=e.column()+e.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:f,type:i,prev:n.scope,align:r,alignOffset:c}}function v(e,n){if(n.scope.prev)if(n.scope.type==="coffee"){for(var i=e.indentation(),f=!1,r=n.scope;r;r=r.prev)if(i===r.offset){f=!0;break}if(!f)return!0;for(;n.scope.prev&&n.scope.offset!==i;)n.scope=n.scope.prev;return!1}else return n.scope=n.scope.prev,!1}function E(e,n){var i=n.tokenize(e,n),f=e.current();f==="return"&&(n.dedent=!0),((f==="->"||f==="=>")&&e.eol()||i==="indent")&&d(e,n);var r="[({".indexOf(f);if(r!==-1&&d(e,n,"])}".slice(r,r+1)),l.exec(f)&&d(e,n),f=="then"&&v(e,n),i==="dedent"&&v(e,n))return k;if(r="])}".indexOf(f),r!==-1){for(;n.scope.type=="coffee"&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==f&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&(n.scope.type=="coffee"&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),i=="indent"||i=="dedent"?null:i}const Z={name:"coffeescript",startState:function(){return{tokenize:u,scope:{offset:0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var i=n.scope.align===null&&n.scope;i&&e.sol()&&(i.align=!1);var f=E(e,n);return f&&f!="comment"&&(i&&(i.align=!0),n.prop=f=="punctuation"&&e.current()=="."),f},indent:function(e,n){if(e.tokenize!=u)return 0;var i=e.scope,f=n&&"])}".indexOf(n.charAt(0))>-1;if(f)for(;i.type=="coffee"&&i.prev;)i=i.prev;var r=f&&i.type===n.charAt(0);return i.align?i.alignOffset-(r?1:0):(r?i.prev:i).offset},languageData:{commentTokens:{line:"#"}}};export{Z as coffeeScript}; diff --git a/web-dist/js/chunks/coffeescript-S37ZYGWr.mjs.gz b/web-dist/js/chunks/coffeescript-S37ZYGWr.mjs.gz new file mode 100644 index 0000000000..2ada6a4823 Binary files /dev/null and b/web-dist/js/chunks/coffeescript-S37ZYGWr.mjs.gz differ diff --git a/web-dist/js/chunks/commonlisp-DBKNyK5s.mjs b/web-dist/js/chunks/commonlisp-DBKNyK5s.mjs new file mode 100644 index 0000000000..0273ed2e40 --- /dev/null +++ b/web-dist/js/chunks/commonlisp-DBKNyK5s.mjs @@ -0,0 +1 @@ +var u=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,c=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,f=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,d=/[^\s'`,@()\[\]";]/,l;function i(e){for(var n;n=e.next();)if(n=="\\")e.next();else if(!d.test(n)){e.backUp(1);break}return e.current()}function o(e,n){if(e.eatSpace())return l="ws",null;if(e.match(f))return"number";var t=e.next();if(t=="\\"&&(t=e.next()),t=='"')return(n.tokenize=p)(e,n);if(t=="(")return l="open","bracket";if(t==")")return l="close","bracket";if(t==";")return e.skipToEnd(),l="ws","comment";if(/['`,@]/.test(t))return null;if(t=="|")return e.skipTo("|")?(e.next(),"variableName"):(e.skipToEnd(),"error");if(t=="#"){var t=e.next();return t=="("?(l="open","bracket"):/[+\-=\.']/.test(t)||/\d/.test(t)&&e.match(/^\d*#/)?null:t=="|"?(n.tokenize=x)(e,n):t==":"?(i(e),"meta"):t=="\\"?(e.next(),i(e),"string.special"):"error"}else{var r=i(e);return r=="."?null:(l="symbol",r=="nil"||r=="t"||r.charAt(0)==":"?"atom":n.lastType=="open"&&(u.test(r)||c.test(r))?"keyword":r.charAt(0)=="&"?"variableName.special":"variableName")}}function p(e,n){for(var t=!1,r;r=e.next();){if(r=='"'&&!t){n.tokenize=o;break}t=!t&&r=="\\"}return"string"}function x(e,n){for(var t,r;t=e.next();){if(t=="#"&&r=="|"){n.tokenize=o;break}r=t}return l="ws","comment"}const s={name:"commonlisp",startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:o}},token:function(e,n){e.sol()&&typeof n.ctx.indentTo!="number"&&(n.ctx.indentTo=n.ctx.start+1),l=null;var t=n.tokenize(e,n);return l!="ws"&&(n.ctx.indentTo==null?l=="symbol"&&c.test(e.current())?n.ctx.indentTo=n.ctx.start+e.indentUnit:n.ctx.indentTo="next":n.ctx.indentTo=="next"&&(n.ctx.indentTo=e.column()),n.lastType=l),l=="open"?n.ctx={prev:n.ctx,start:e.column(),indentTo:null}:l=="close"&&(n.ctx=n.ctx.prev||n.ctx),t},indent:function(e){var n=e.ctx.indentTo;return typeof n=="number"?n:e.ctx.start+1},languageData:{commentTokens:{line:";;",block:{open:"#|",close:"|#"}},closeBrackets:{brackets:["(","[","{",'"']}}};export{s as commonLisp}; diff --git a/web-dist/js/chunks/commonlisp-DBKNyK5s.mjs.gz b/web-dist/js/chunks/commonlisp-DBKNyK5s.mjs.gz new file mode 100644 index 0000000000..e5d41a1206 Binary files /dev/null and b/web-dist/js/chunks/commonlisp-DBKNyK5s.mjs.gz differ diff --git a/web-dist/js/chunks/crystal-SjHAIU92.mjs b/web-dist/js/chunks/crystal-SjHAIU92.mjs new file mode 100644 index 0000000000..59402da637 --- /dev/null +++ b/web-dist/js/chunks/crystal-SjHAIU92.mjs @@ -0,0 +1 @@ +function l(n,e){return new RegExp((e?"":"^")+"(?:"+n.join("|")+")"+(e?"$":"\\b"))}function o(n,e,r){return r.tokenize.push(n),n(e,r)}var v=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,z=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,g=/^(?:\[\][?=]?)/,b=/^(?:\.(?:\.{2})?|->|[?:])/,p=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,d=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,E=l(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),S=l(["true","false","nil","self"]),T=["def","fun","macro","class","module","struct","lib","enum","union","do","for"],A=l(T),s=["if","unless","case","while","until","begin","then"],O=l(s),x=["end","else","elsif","rescue","ensure"],K=l(x),I=["\\)","\\}","\\]"],D=new RegExp("^(?:"+I.join("|")+")$"),w={def:y,fun:y,macro:N,class:c,module:c,struct:c,lib:c,enum:c,union:c},k={"[":"]","{":"}","(":")","<":">"};function _(n,e){if(n.eatSpace())return null;if(e.lastToken!="\\"&&n.match("{%",!1))return o(f("%","%"),n,e);if(e.lastToken!="\\"&&n.match("{{",!1))return o(f("{","}"),n,e);if(n.peek()=="#")return n.skipToEnd(),"comment";var r;if(n.match(p))return n.eat(/[?!]/),r=n.current(),n.eat(":")?"atom":e.lastToken=="."?"property":E.test(r)?(A.test(r)?!(r=="fun"&&e.blocks.indexOf("lib")>=0)&&!(r=="def"&&e.lastToken=="abstract")&&(e.blocks.push(r),e.currentIndent+=1):(e.lastStyle=="operator"||!e.lastStyle)&&O.test(r)?(e.blocks.push(r),e.currentIndent+=1):r=="end"&&(e.blocks.pop(),e.currentIndent-=1),w.hasOwnProperty(r)&&e.tokenize.push(w[r]),"keyword"):S.test(r)?"atom":"variable";if(n.eat("@"))return n.peek()=="["?o(h("[","]","meta"),n,e):(n.eat("@"),n.match(p)||n.match(d),"propertyName");if(n.match(d))return"tag";if(n.eat(":"))return n.eat('"')?o(F('"',"atom",!1),n,e):n.match(p)||n.match(d)||n.match(v)||n.match(z)||n.match(g)?"atom":(n.eat(":"),"operator");if(n.eat('"'))return o(F('"',"string",!0),n,e);if(n.peek()=="%"){var t="string",u=!0,i;if(n.match("%r"))t="string.special",i=n.next();else if(n.match("%w"))u=!1,i=n.next();else if(n.match("%q"))u=!1,i=n.next();else if(i=n.match(/^%([^\w\s=])/))i=i[1];else{if(n.match(/^%[a-zA-Z_\u009F-\uFFFF][\w\u009F-\uFFFF]*/))return"meta";if(n.eat("%"))return"operator"}return k.hasOwnProperty(i)&&(i=k[i]),o(F(i,t,u),n,e)}return(r=n.match(/^<<-('?)([A-Z]\w*)\1/))?o(Z(r[2],!r[1]),n,e):n.eat("'")?(n.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),n.eat("'"),"atom"):n.eat("0")?(n.eat("x")?n.match(/^[0-9a-fA-F_]+/):n.eat("o")?n.match(/^[0-7_]+/):n.eat("b")&&n.match(/^[01_]+/),"number"):n.eat(/^\d/)?(n.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+-]?\d+)?/),"number"):n.match(v)?(n.eat("="),"operator"):n.match(z)||n.match(b)?"operator":(r=n.match(/[({[]/,!1))?(r=r[0],o(h(r,k[r],null),n,e)):n.eat("\\")?(n.next(),"meta"):(n.next(),null)}function h(n,e,r,t){return function(u,i){if(!t&&u.match(n))return i.tokenize[i.tokenize.length-1]=h(n,e,r,!0),i.currentIndent+=1,r;var a=_(u,i);return u.current()===e&&(i.tokenize.pop(),i.currentIndent-=1,a=r),a}}function f(n,e,r){return function(t,u){return!r&&t.match("{"+n)?(u.currentIndent+=1,u.tokenize[u.tokenize.length-1]=f(n,e,!0),"meta"):t.match(e+"}")?(u.currentIndent-=1,u.tokenize.pop(),"meta"):_(t,u)}}function N(n,e){if(n.eatSpace())return null;var r;if(r=n.match(p)){if(r=="def")return"keyword";n.eat(/[?!]/)}return e.tokenize.pop(),"def"}function y(n,e){return n.eatSpace()?null:(n.match(p)?n.eat(/[!?]/):n.match(v)||n.match(z)||n.match(g),e.tokenize.pop(),"def")}function c(n,e){return n.eatSpace()?null:(n.match(d),e.tokenize.pop(),"def")}function F(n,e,r){return function(t,u){for(var i=!1;t.peek();)if(i)t.next(),i=!1;else{if(t.match("{%",!1))return u.tokenize.push(f("%","%")),e;if(t.match("{{",!1))return u.tokenize.push(f("{","}")),e;if(r&&t.match("#{",!1))return u.tokenize.push(h("#{","}","meta")),e;var a=t.next();if(a==n)return u.tokenize.pop(),e;i=r&&a=="\\"}return e}}function Z(n,e){return function(r,t){if(r.sol()&&(r.eatSpace(),r.match(n)))return t.tokenize.pop(),"string";for(var u=!1;r.peek();)if(u)r.next(),u=!1;else{if(r.match("{%",!1))return t.tokenize.push(f("%","%")),"string";if(r.match("{{",!1))return t.tokenize.push(f("{","}")),"string";if(e&&r.match("#{",!1))return t.tokenize.push(h("#{","}","meta")),"string";u=r.next()=="\\"&&e}return"string"}}const P={name:"crystal",startState:function(){return{tokenize:[_],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(n,e){var r=e.tokenize[e.tokenize.length-1](n,e),t=n.current();return r&&r!="comment"&&(e.lastToken=t,e.lastStyle=r),r},indent:function(n,e,r){return e=e.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),K.test(e)||D.test(e)?r.unit*(n.currentIndent-1):r.unit*n.currentIndent},languageData:{indentOnInput:l(I.concat(x),!0),commentTokens:{line:"#"}}};export{P as crystal}; diff --git a/web-dist/js/chunks/crystal-SjHAIU92.mjs.gz b/web-dist/js/chunks/crystal-SjHAIU92.mjs.gz new file mode 100644 index 0000000000..93240e4aeb Binary files /dev/null and b/web-dist/js/chunks/crystal-SjHAIU92.mjs.gz differ diff --git a/web-dist/js/chunks/css-BnMrqG3P.mjs b/web-dist/js/chunks/css-BnMrqG3P.mjs new file mode 100644 index 0000000000..0a0eedeed5 --- /dev/null +++ b/web-dist/js/chunks/css-BnMrqG3P.mjs @@ -0,0 +1 @@ +function y(i){i={...ae,...i};var l=i.inline,m=i.tokenHooks,b=i.documentTypes||{},G=i.mediaTypes||{},J=i.mediaFeatures||{},Q=i.mediaValueKeywords||{},O=i.propertyKeywords||{},F=i.nonStandardPropertyKeywords||{},R=i.fontProperties||{},ee=i.counterDescriptors||{},N=i.colorKeywords||{},V=i.valueKeywords||{},g=i.allowNested,re=i.lineComment,oe=i.supportsAtComponent===!0,W=i.highlightNonStandardPropertyKeywords!==!1,w,n;function c(e,o){return w=o,e}function ie(e,o){var r=e.next();if(m[r]){var t=m[r](e,o);if(t!==!1)return t}if(r=="@")return e.eatWhile(/[\w\\\-]/),c("def",e.current());if(r=="="||(r=="~"||r=="|")&&e.eat("="))return c(null,"compare");if(r=='"'||r=="'")return o.tokenize=$(r),o.tokenize(e,o);if(r=="#")return e.eatWhile(/[\w\\\-]/),c("atom","hash");if(r=="!")return e.match(/^\s*\w*/),c("keyword","important");if(/\d/.test(r)||r=="."&&e.eat(/\d/))return e.eatWhile(/[\w.%]/),c("number","unit");if(r==="-"){if(/[\d.]/.test(e.peek()))return e.eatWhile(/[\w.%]/),c("number","unit");if(e.match(/^-[\w\\\-]*/))return e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?c("def","variable-definition"):c("variableName","variable");if(e.match(/^\w+-/))return c("meta","meta")}else return/[,+>*\/]/.test(r)?c(null,"select-op"):r=="."&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?c("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?c(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(o.tokenize=te),c("variableName.function","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),c("property","word")):c(null,null)}function $(e){return function(o,r){for(var t=!1,d;(d=o.next())!=null;){if(d==e&&!t){e==")"&&o.backUp(1);break}t=!t&&d=="\\"}return(d==e||!t&&e!=")")&&(r.tokenize=null),c("string","string")}}function te(e,o){return e.next(),e.match(/^\s*[\"\')]/,!1)?o.tokenize=null:o.tokenize=$(")"),c(null,"(")}function D(e,o,r){this.type=e,this.indent=o,this.prev=r}function s(e,o,r,t){return e.context=new D(r,o.indentation()+(t===!1?0:o.indentUnit),e.context),r}function u(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function k(e,o,r){return a[r.context.type](e,o,r)}function h(e,o,r,t){for(var d=t||1;d>0;d--)r.context=r.context.prev;return k(e,o,r)}function L(e){var o=e.current().toLowerCase();V.hasOwnProperty(o)?n="atom":N.hasOwnProperty(o)?n="keyword":n="variable"}var a={};return a.top=function(e,o,r){if(e=="{")return s(r,o,"block");if(e=="}"&&r.context.prev)return u(r);if(oe&&/@component/i.test(e))return s(r,o,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return s(r,o,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return s(r,o,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&e.charAt(0)=="@")return s(r,o,"at");if(e=="hash")n="builtin";else if(e=="word")n="tag";else{if(e=="variable-definition")return"maybeprop";if(e=="interpolation")return s(r,o,"interpolation");if(e==":")return"pseudo";if(g&&e=="(")return s(r,o,"parens")}return r.context.type},a.block=function(e,o,r){if(e=="word"){var t=o.current().toLowerCase();return O.hasOwnProperty(t)?(n="property","maybeprop"):F.hasOwnProperty(t)?(n=W?"string.special":"property","maybeprop"):g?(n=o.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(n="error","maybeprop")}else return e=="meta"?"block":!g&&(e=="hash"||e=="qualifier")?(n="error","block"):a.top(e,o,r)},a.maybeprop=function(e,o,r){return e==":"?s(r,o,"prop"):k(e,o,r)},a.prop=function(e,o,r){if(e==";")return u(r);if(e=="{"&&g)return s(r,o,"propBlock");if(e=="}"||e=="{")return h(e,o,r);if(e=="(")return s(r,o,"parens");if(e=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(o.current()))n="error";else if(e=="word")L(o);else if(e=="interpolation")return s(r,o,"interpolation");return"prop"},a.propBlock=function(e,o,r){return e=="}"?u(r):e=="word"?(n="property","maybeprop"):r.context.type},a.parens=function(e,o,r){return e=="{"||e=="}"?h(e,o,r):e==")"?u(r):e=="("?s(r,o,"parens"):e=="interpolation"?s(r,o,"interpolation"):(e=="word"&&L(o),"parens")},a.pseudo=function(e,o,r){return e=="meta"?"pseudo":e=="word"?(n="variableName.constant",r.context.type):k(e,o,r)},a.documentTypes=function(e,o,r){return e=="word"&&b.hasOwnProperty(o.current())?(n="tag",r.context.type):a.atBlock(e,o,r)},a.atBlock=function(e,o,r){if(e=="(")return s(r,o,"atBlock_parens");if(e=="}"||e==";")return h(e,o,r);if(e=="{")return u(r)&&s(r,o,g?"block":"top");if(e=="interpolation")return s(r,o,"interpolation");if(e=="word"){var t=o.current().toLowerCase();t=="only"||t=="not"||t=="and"||t=="or"?n="keyword":G.hasOwnProperty(t)?n="attribute":J.hasOwnProperty(t)?n="property":Q.hasOwnProperty(t)?n="keyword":O.hasOwnProperty(t)?n="property":F.hasOwnProperty(t)?n=W?"string.special":"property":V.hasOwnProperty(t)?n="atom":N.hasOwnProperty(t)?n="keyword":n="error"}return r.context.type},a.atComponentBlock=function(e,o,r){return e=="}"?h(e,o,r):e=="{"?u(r)&&s(r,o,g?"block":"top",!1):(e=="word"&&(n="error"),r.context.type)},a.atBlock_parens=function(e,o,r){return e==")"?u(r):e=="{"||e=="}"?h(e,o,r,2):a.atBlock(e,o,r)},a.restricted_atBlock_before=function(e,o,r){return e=="{"?s(r,o,"restricted_atBlock"):e=="word"&&r.stateArg=="@counter-style"?(n="variable","restricted_atBlock_before"):k(e,o,r)},a.restricted_atBlock=function(e,o,r){return e=="}"?(r.stateArg=null,u(r)):e=="word"?(r.stateArg=="@font-face"&&!R.hasOwnProperty(o.current().toLowerCase())||r.stateArg=="@counter-style"&&!ee.hasOwnProperty(o.current().toLowerCase())?n="error":n="property","maybeprop"):"restricted_atBlock"},a.keyframes=function(e,o,r){return e=="word"?(n="variable","keyframes"):e=="{"?s(r,o,"top"):k(e,o,r)},a.at=function(e,o,r){return e==";"?u(r):e=="{"||e=="}"?h(e,o,r):(e=="word"?n="tag":e=="hash"&&(n="builtin"),"at")},a.interpolation=function(e,o,r){return e=="}"?u(r):e=="{"||e==";"?h(e,o,r):(e=="word"?n="variable":e!="variable"&&e!="("&&e!=")"&&(n="error"),"interpolation")},{name:i.name,startState:function(){return{tokenize:null,state:l?"block":"top",stateArg:null,context:new D(l?"block":"top",0,null)}},token:function(e,o){if(!o.tokenize&&e.eatSpace())return null;var r=(o.tokenize||ie)(e,o);return r&&typeof r=="object"&&(w=r[1],r=r[0]),n=r,w!="comment"&&(o.state=a[o.state](w,e,o)),n},indent:function(e,o,r){var t=e.context,d=o&&o.charAt(0),q=t.indent;return t.type=="prop"&&(d=="}"||d==")")&&(t=t.prev),t.prev&&(d=="}"&&(t.type=="block"||t.type=="top"||t.type=="interpolation"||t.type=="restricted_atBlock")?(t=t.prev,q=t.indent):(d==")"&&(t.type=="parens"||t.type=="atBlock_parens")||d=="{"&&(t.type=="at"||t.type=="atBlock"))&&(q=Math.max(0,t.indent-r.unit))),q},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:re,block:{open:"/*",close:"*/"}},autocomplete:M}}}function p(i){for(var l={},m=0;m=&|~%^]/;const g={name:"cypher",startState:function(){return{tokenize:p,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!=="comment"&&e.context&&e.context.align==null&&e.context.type!=="pattern"&&(e.context.align=!0),i==="(")o(e,")",n.column());else if(i==="[")o(e,"]",n.column());else if(i==="{")o(e,"}",n.column());else if(/[\]\}\)]/.test(i)){for(;e.context&&e.context.type==="pattern";)c(e);e.context&&i===e.context.type&&c(e)}else i==="."&&e.context&&e.context.type==="pattern"?c(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?o(e,"pattern",n.column()):e.context.type==="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e,t){var a=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(a))for(;r&&r.type==="pattern";)r=r.prev;var s=r&&a===r.type;return r?r.type==="keywords"?null:r.align?r.col+(s?0:1):r.indent+(s?0:t.unit):0}};export{g as cypher}; diff --git a/web-dist/js/chunks/cypher-C_CwsFkJ.mjs.gz b/web-dist/js/chunks/cypher-C_CwsFkJ.mjs.gz new file mode 100644 index 0000000000..df44065f03 Binary files /dev/null and b/web-dist/js/chunks/cypher-C_CwsFkJ.mjs.gz differ diff --git a/web-dist/js/chunks/d-pRatUO7H.mjs b/web-dist/js/chunks/d-pRatUO7H.mjs new file mode 100644 index 0000000000..795e106b16 --- /dev/null +++ b/web-dist/js/chunks/d-pRatUO7H.mjs @@ -0,0 +1 @@ +function c(e){for(var n={},t=e.split(" "),i=0;i!?|\/]/,o;function m(e,n){var t=e.next();if(p[t]){var i=p[t](e,n);if(i!==!1)return i}if(t=='"'||t=="'"||t=="`")return n.tokenize=z(t),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(t))return o=t,null;if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(t=="/"){if(e.eat("+"))return n.tokenize=k,k(e,n);if(e.eat("*"))return n.tokenize=y,y(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(h.test(t))return e.eatWhile(h),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current();return v.propertyIsEnumerable(r)?(d.propertyIsEnumerable(r)&&(o="newstatement"),"keyword"):x.propertyIsEnumerable(r)?(d.propertyIsEnumerable(r)&&(o="newstatement"),"builtin"):g.propertyIsEnumerable(r)?"atom":"variable"}function z(e){return function(n,t){for(var i=!1,r,u=!1;(r=n.next())!=null;){if(r==e&&!i){u=!0;break}i=!i&&r=="\\"}return(u||!(i||_))&&(t.tokenize=null),"string"}}function y(e,n){for(var t=!1,i;i=e.next();){if(i=="/"&&t){n.tokenize=null;break}t=i=="*"}return"comment"}function k(e,n){for(var t=!1,i;i=e.next();){if(i=="/"&&t){n.tokenize=null;break}t=i=="+"}return"comment"}function b(e,n,t,i,r){this.indented=e,this.column=n,this.type=t,this.align=i,this.prev=r}function f(e,n,t){var i=e.indented;return e.context&&e.context.type=="statement"&&(i=e.context.indented),e.context=new b(i,n,t,null,e.context)}function a(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const E={name:"d",startState:function(e){return{tokenize:null,context:new b(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;o=null;var i=(n.tokenize||m)(e,n);if(i=="comment"||i=="meta")return i;if(t.align==null&&(t.align=!0),(o==";"||o==":"||o==",")&&t.type=="statement")a(n);else if(o=="{")f(n,e.column(),"}");else if(o=="[")f(n,e.column(),"]");else if(o=="(")f(n,e.column(),")");else if(o=="}"){for(;t.type=="statement";)t=a(n);for(t.type=="}"&&(t=a(n));t.type=="statement";)t=a(n)}else o==t.type?a(n):((t.type=="}"||t.type=="top")&&o!=";"||t.type=="statement"&&o=="newstatement")&&f(n,e.column(),"statement");return n.startOfLine=!1,i},indent:function(e,n,t){if(e.tokenize!=m&&e.tokenize!=null)return null;var i=e.context,r=n&&n.charAt(0);i.type=="statement"&&r=="}"&&(i=i.prev);var u=r==i.type;return i.type=="statement"?i.indented+(r=="{"?0:w||t.unit):i.align?i.column+(u?0:1):i.indented+(u?0:t.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}};export{E as d}; diff --git a/web-dist/js/chunks/d-pRatUO7H.mjs.gz b/web-dist/js/chunks/d-pRatUO7H.mjs.gz new file mode 100644 index 0000000000..645b8d5aec Binary files /dev/null and b/web-dist/js/chunks/d-pRatUO7H.mjs.gz differ diff --git a/web-dist/js/chunks/datetime-CpSA3f1i.mjs b/web-dist/js/chunks/datetime-CpSA3f1i.mjs new file mode 100644 index 0000000000..194a8218d4 --- /dev/null +++ b/web-dist/js/chunks/datetime-CpSA3f1i.mjs @@ -0,0 +1 @@ +import{D as a,g as D}from"./locale-tv0ZmyWq.mjs";const o=(t,r,e=a.DATETIME_MED)=>t.setLocale(D(r)).toLocaleString(e),n=(t,r,e=a.DATETIME_MED)=>o(a.fromJSDate(t),r,e),T=(t,r,e=a.DATETIME_MED)=>o(a.fromHTTP(t),r,e),f=(t,r,e=a.DATETIME_MED)=>o(a.fromISO(t),r,e),c=(t,r,e=a.DATETIME_MED)=>o(a.fromRFC2822(t),r,e),m=(t,r)=>t.setLocale(D(r)).toRelative(),E=(t,r)=>m(a.fromJSDate(t),r),F=(t,r)=>m(a.fromHTTP(t),r),i=(t,r)=>m(a.fromISO(t),r),u=(t,r)=>m(a.fromRFC2822(t),r);export{T as a,f as b,n as c,c as d,m as e,o as f,F as g,i as h,E as i,u as j}; diff --git a/web-dist/js/chunks/datetime-CpSA3f1i.mjs.gz b/web-dist/js/chunks/datetime-CpSA3f1i.mjs.gz new file mode 100644 index 0000000000..d0cda0e153 Binary files /dev/null and b/web-dist/js/chunks/datetime-CpSA3f1i.mjs.gz differ diff --git a/web-dist/js/chunks/debounce-Bg6HwA-m.mjs b/web-dist/js/chunks/debounce-Bg6HwA-m.mjs new file mode 100644 index 0000000000..89984f3a0e --- /dev/null +++ b/web-dist/js/chunks/debounce-Bg6HwA-m.mjs @@ -0,0 +1 @@ +import{ey as M,cf as S}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{t as b}from"./toNumber-BQH-f3hb.mjs";var h=function(){return M.Date.now()},R="Expected a function",A=Math.max,F=Math.min;function _(x,i,a){var u,d,m,f,n,r,o=0,E=!1,c=!1,g=!0;if(typeof x!="function")throw new TypeError(R);i=b(i)||0,S(a)&&(E=!!a.leading,c="maxWait"in a,m=c?A(b(a.maxWait)||0,i):m,g="trailing"in a?!!a.trailing:g);function v(e){var t=u,l=d;return u=d=void 0,o=e,f=x.apply(l,t),f}function p(e){return o=e,n=setTimeout(s,i),E?v(e):f}function y(e){var t=e-r,l=e-o,W=i-t;return c?F(W,m-l):W}function k(e){var t=e-r,l=e-o;return r===void 0||t>=i||t<0||c&&l>=m}function s(){var e=h();if(k(e))return I(e);n=setTimeout(s,y(e))}function I(e){return n=void 0,g&&u?v(e):(u=d=void 0,f)}function C(){n!==void 0&&clearTimeout(n),o=0,u=r=d=n=void 0}function L(){return n===void 0?f:I(h())}function T(){var e=h(),t=k(e);if(u=arguments,d=this,r=e,t){if(n===void 0)return p(r);if(c)return clearTimeout(n),n=setTimeout(s,i),v(r)}return n===void 0&&(n=setTimeout(s,i)),f}return T.cancel=C,T.flush=L,T}export{_ as d}; diff --git a/web-dist/js/chunks/debounce-Bg6HwA-m.mjs.gz b/web-dist/js/chunks/debounce-Bg6HwA-m.mjs.gz new file mode 100644 index 0000000000..cd603fcd12 Binary files /dev/null and b/web-dist/js/chunks/debounce-Bg6HwA-m.mjs.gz differ diff --git a/web-dist/js/chunks/diff-DbItnlRl.mjs b/web-dist/js/chunks/diff-DbItnlRl.mjs new file mode 100644 index 0000000000..91a492b9f8 --- /dev/null +++ b/web-dist/js/chunks/diff-DbItnlRl.mjs @@ -0,0 +1 @@ +var o={"+":"inserted","-":"deleted","@":"meta"};const r={name:"diff",token:function(n){var e=n.string.search(/[\t ]+?$/);if(!n.sol()||e===0)return n.skipToEnd(),("error "+(o[n.string.charAt(0)]||"")).replace(/ $/,"");var i=o[n.peek()]||n.skipToEnd();return e===-1?n.skipToEnd():n.pos=e,i}};export{r as diff}; diff --git a/web-dist/js/chunks/diff-DbItnlRl.mjs.gz b/web-dist/js/chunks/diff-DbItnlRl.mjs.gz new file mode 100644 index 0000000000..83b55a3ef6 Binary files /dev/null and b/web-dist/js/chunks/diff-DbItnlRl.mjs.gz differ diff --git a/web-dist/js/chunks/dockerfile-DzPVv209.mjs b/web-dist/js/chunks/dockerfile-DzPVv209.mjs new file mode 100644 index 0000000000..99d2d30851 --- /dev/null +++ b/web-dist/js/chunks/dockerfile-DzPVv209.mjs @@ -0,0 +1 @@ +import{s as o}from"./simple-mode-GW_nhZxv.mjs";var e="from",s=new RegExp("^(\\s*)\\b("+e+")\\b","i"),n=["run","cmd","entrypoint","shell"],l=new RegExp("^(\\s*)("+n.join("|")+")(\\s+\\[)","i"),t="expose",x=new RegExp("^(\\s*)("+t+")(\\s+)","i"),g=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],u=[e,t].concat(n).concat(g),r="("+u.join("|")+")",a=new RegExp("^(\\s*)"+r+"(\\s*)(#.*)?$","i"),k=new RegExp("^(\\s*)"+r+"(\\s+)","i");const m=o({start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:s,token:[null,"keyword"],sol:!0,next:"from"},{regex:a,token:[null,"keyword",null,"error"],sol:!0},{regex:l,token:[null,"keyword",null],sol:!0,next:"array"},{regex:x,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:k,token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],languageData:{commentTokens:{line:"#"}}});export{m as dockerFile}; diff --git a/web-dist/js/chunks/dockerfile-DzPVv209.mjs.gz b/web-dist/js/chunks/dockerfile-DzPVv209.mjs.gz new file mode 100644 index 0000000000..d2ce56bc89 Binary files /dev/null and b/web-dist/js/chunks/dockerfile-DzPVv209.mjs.gz differ diff --git a/web-dist/js/chunks/download-Bmys4VUp.mjs b/web-dist/js/chunks/download-Bmys4VUp.mjs new file mode 100644 index 0000000000..b06d002cf4 --- /dev/null +++ b/web-dist/js/chunks/download-Bmys4VUp.mjs @@ -0,0 +1 @@ +const d=(t,o="")=>{const e=document.createElement("a");e.style.display="none",document.body.appendChild(e),e.href=t,e.setAttribute("download",o),e.click(),document.body.removeChild(e)};export{d as t}; diff --git a/web-dist/js/chunks/download-Bmys4VUp.mjs.gz b/web-dist/js/chunks/download-Bmys4VUp.mjs.gz new file mode 100644 index 0000000000..332a77c468 Binary files /dev/null and b/web-dist/js/chunks/download-Bmys4VUp.mjs.gz differ diff --git a/web-dist/js/chunks/dtd-DF_7sFjM.mjs b/web-dist/js/chunks/dtd-DF_7sFjM.mjs new file mode 100644 index 0000000000..d0b492f707 --- /dev/null +++ b/web-dist/js/chunks/dtd-DF_7sFjM.mjs @@ -0,0 +1 @@ +var u;function r(e,n){return u=n,e}function t(e,n){var l=e.next();if(l=="<"&&e.eat("!")){if(e.eatWhile(/[\-]/))return n.tokenize=o,o(e,n);if(e.eatWhile(/[\w]/))return r("keyword","doindent")}else{if(l=="<"&&e.eat("?"))return n.tokenize=a("meta","?>"),r("meta",l);if(l=="#"&&e.eatWhile(/[\w]/))return r("atom","tag");if(l=="|")return r("keyword","separator");if(l.match(/[\(\)\[\]\-\.,\+\?>]/))return r(null,l);if(l.match(/[\[\]]/))return r("rule",l);if(l=='"'||l=="'")return n.tokenize=k(l),n.tokenize(e,n);if(e.eatWhile(/[a-zA-Z\?\+\d]/)){var i=e.current();return i.substr(i.length-1,i.length).match(/\?|\+/)!==null&&e.backUp(1),r("tag","tag")}else return l=="%"||l=="*"?r("number","number"):(e.eatWhile(/[\w\\\-_%.{,]/),r(null,null))}}function o(e,n){for(var l=0,i;(i=e.next())!=null;){if(l>=2&&i==">"){n.tokenize=t;break}l=i=="-"?l+1:0}return r("comment","comment")}function k(e){return function(n,l){for(var i=!1,c;(c=n.next())!=null;){if(c==e&&!i){l.tokenize=t;break}i=!i&&c=="\\"}return r("string","tag")}}function a(e,n){return function(l,i){for(;!l.eol();){if(l.match(n)){i.tokenize=t;break}l.next()}return e}}const f={name:"dtd",startState:function(){return{tokenize:t,baseIndent:0,stack:[]}},token:function(e,n){if(e.eatSpace())return null;var l=n.tokenize(e,n),i=n.stack[n.stack.length-1];return e.current()=="["||u==="doindent"||u=="["?n.stack.push("rule"):u==="endtag"?n.stack[n.stack.length-1]="endtag":e.current()=="]"||u=="]"||u==">"&&i=="rule"?n.stack.pop():u=="["&&n.stack.push("["),l},indent:function(e,n,l){var i=e.stack.length;return n.charAt(0)==="]"?i--:n.substr(n.length-1,n.length)===">"&&(n.substr(0,1)==="<"||u=="doindent"&&n.length>1||(u=="doindent"?i--:u==">"&&n.length>1||u=="tag"&&n!==">"||(u=="tag"&&e.stack[e.stack.length-1]=="rule"?i--:u=="tag"?i++:n===">"&&e.stack[e.stack.length-1]=="rule"&&u===">"?i--:n===">"&&e.stack[e.stack.length-1]=="rule"||(n.substr(0,1)!=="<"&&n.substr(0,1)===">"?i=i-1:n===">"||(i=i-1)))),(u==null||u=="]")&&i--),e.baseIndent+i*l.unit},languageData:{indentOnInput:/^\s*[\]>]$/}};export{f as dtd}; diff --git a/web-dist/js/chunks/dtd-DF_7sFjM.mjs.gz b/web-dist/js/chunks/dtd-DF_7sFjM.mjs.gz new file mode 100644 index 0000000000..b3b3c4af22 Binary files /dev/null and b/web-dist/js/chunks/dtd-DF_7sFjM.mjs.gz differ diff --git a/web-dist/js/chunks/dylan-DwRh75JA.mjs b/web-dist/js/chunks/dylan-DwRh75JA.mjs new file mode 100644 index 0000000000..58860c5988 --- /dev/null +++ b/web-dist/js/chunks/dylan-DwRh75JA.mjs @@ -0,0 +1 @@ +function p(e,i){for(var n=0;n",symbolGlobal:"\\*"+f+"\\*",symbolConstant:"\\$"+f},w={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variableName.standard",symbolConstant:"variableName.constant"};for(var c in a)a.hasOwnProperty(c)&&(a[c]=new RegExp("^"+a[c]));a.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var u={};u.keyword="keyword";u.definition="def";u.simpleDefinition="def";u.signalingCalls="builtin";var y={},k={};p(["keyword","definition","simpleDefinition","signalingCalls"],function(e){p(t[e],function(i){y[i]=e,k[i]=u[e]})});function d(e,i,n){return i.tokenize=n,n(e,i)}function s(e,i){var n=e.peek();if(n=="'"||n=='"')return e.next(),d(e,i,h(n,"string"));if(n=="/"){if(e.next(),e.eat("*"))return d(e,i,D);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}else if(/[+\-\d\.]/.test(n)){if(e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||e.match(/^[+-]?\d+/))return"number"}else{if(n=="#")return e.next(),n=e.peek(),n=='"'?(e.next(),d(e,i,h('"',"string"))):n=="b"?(e.next(),e.eatWhile(/[01]/),"number"):n=="x"?(e.next(),e.eatWhile(/[\da-f]/i),"number"):n=="o"?(e.next(),e.eatWhile(/[0-7]/),"number"):n=="#"?(e.next(),"punctuation"):n=="["||n=="("?(e.next(),"bracket"):e.match(/f|t|all-keys|include|key|next|rest/i)?"atom":(e.eatWhile(/[-a-zA-Z]/),"error");if(n=="~")return e.next(),n=e.peek(),n=="="?(e.next(),n=e.peek(),n=="="&&e.next(),"operator"):"operator";if(n==":"){if(e.next(),n=e.peek(),n=="=")return e.next(),"operator";if(n==":")return e.next(),"punctuation"}else{if("[](){}".indexOf(n)!=-1)return e.next(),"bracket";if(".,".indexOf(n)!=-1)return e.next(),"punctuation";if(e.match("end"))return"keyword"}}for(var l in a)if(a.hasOwnProperty(l)){var r=a[l];if(r instanceof Array&&x(r,function(o){return e.match(o)})||e.match(r))return w[l]}return/[+\-*\/^=<>&|]/.test(n)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),y.hasOwnProperty(e.current())?k[e.current()]:e.current().match(v)?"variable":(e.next(),"variableName.standard"))}function D(e,i){for(var n=!1,l=!1,r=0,o;o=e.next();){if(o=="/"&&n)if(r>0)r--;else{i.tokenize=s;break}else o=="*"&&l&&r++;n=o=="*",l=o=="/"}return"comment"}function h(e,i){return function(n,l){for(var r=!1,o,b=!1;(o=n.next())!=null;){if(o==e&&!r){b=!0;break}r=!r&&o=="\\"}return(b||!r)&&(l.tokenize=s),i}}const g={name:"dylan",startState:function(){return{tokenize:s,currentIndent:0}},token:function(e,i){if(e.eatSpace())return null;var n=i.tokenize(e,i);return n},languageData:{commentTokens:{block:{open:"/*",close:"*/"}}}};export{g as dylan}; diff --git a/web-dist/js/chunks/dylan-DwRh75JA.mjs.gz b/web-dist/js/chunks/dylan-DwRh75JA.mjs.gz new file mode 100644 index 0000000000..42e80e5b11 Binary files /dev/null and b/web-dist/js/chunks/dylan-DwRh75JA.mjs.gz differ diff --git a/web-dist/js/chunks/ebnf-CDyGwa7X.mjs b/web-dist/js/chunks/ebnf-CDyGwa7X.mjs new file mode 100644 index 0000000000..0824acdfbb --- /dev/null +++ b/web-dist/js/chunks/ebnf-CDyGwa7X.mjs @@ -0,0 +1 @@ +var i={slash:0,parenthesis:1},n={comment:0,_string:1,characterClass:2};const l={name:"ebnf",startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(e,c){if(e){switch(c.stack.length===0&&(e.peek()=='"'||e.peek()=="'"?(c.stringType=e.peek(),e.next(),c.stack.unshift(n._string)):e.match("/*")?(c.stack.unshift(n.comment),c.commentType=i.slash):e.match("(*")&&(c.stack.unshift(n.comment),c.commentType=i.parenthesis)),c.stack[0]){case n._string:for(;c.stack[0]===n._string&&!e.eol();)e.peek()===c.stringType?(e.next(),c.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return c.lhs?"property":"string";case n.comment:for(;c.stack[0]===n.comment&&!e.eol();)c.commentType===i.slash&&e.match("*/")||c.commentType===i.parenthesis&&e.match("*)")?(c.stack.shift(),c.commentType=null):e.match(/^.[^\*]*/);return"comment";case n.characterClass:for(;c.stack[0]===n.characterClass&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(".")||c.stack.shift();return"operator"}var t=e.peek();switch(t){case"[":return e.next(),c.stack.unshift(n.characterClass),"bracket";case":":case"|":case";":return e.next(),"operator";case"%":if(e.match("%%"))return"header";if(e.match(/[%][A-Za-z]+/))return"keyword";if(e.match(/[%][}]/))return"bracket";break;case"/":if(e.match(/[\/][A-Za-z]+/))return"keyword";case"\\":if(e.match(/[\][a-z]+/))return"string.special";case".":if(e.match("."))return"atom";case"*":case"-":case"+":case"^":if(e.match(t))return"atom";case"$":if(e.match("$$"))return"builtin";if(e.match(/[$][0-9]+/))return"variableName.special";case"<":if(e.match(/<<[a-zA-Z_]+>>/))return"builtin"}return e.match("//")?(e.skipToEnd(),"comment"):e.match("return")?"operator":e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?e.match(/(?=[\(.])/)?"variable":e.match(/(?=[\s\n]*[:=])/)?"def":"variableName.special":["[","]","(",")"].indexOf(e.peek())!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}};export{l as ebnf}; diff --git a/web-dist/js/chunks/ebnf-CDyGwa7X.mjs.gz b/web-dist/js/chunks/ebnf-CDyGwa7X.mjs.gz new file mode 100644 index 0000000000..9c07f5cae9 Binary files /dev/null and b/web-dist/js/chunks/ebnf-CDyGwa7X.mjs.gz differ diff --git a/web-dist/js/chunks/ecl-Cabwm37j.mjs b/web-dist/js/chunks/ecl-Cabwm37j.mjs new file mode 100644 index 0000000000..51f4d3ab70 --- /dev/null +++ b/web-dist/js/chunks/ecl-Cabwm37j.mjs @@ -0,0 +1 @@ +function l(e){for(var n={},t=e.split(" "),r=0;r!?|\/]/,o;function p(e,n){var t=e.next();if(m[t]){var r=m[t](e,n);if(r!==!1)return r}if(t=='"'||t=="'")return n.tokenize=I(t),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(t))return o=t,null;if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(t=="/"){if(e.eat("*"))return n.tokenize=y,y(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(h.test(t))return e.eatWhile(h),"operator";e.eatWhile(/[\w\$_]/);var i=e.current().toLowerCase();if(g.propertyIsEnumerable(i))return s.propertyIsEnumerable(i)&&(o="newstatement"),"keyword";if(w.propertyIsEnumerable(i))return s.propertyIsEnumerable(i)&&(o="newstatement"),"variable";if(x.propertyIsEnumerable(i))return s.propertyIsEnumerable(i)&&(o="newstatement"),"modifier";if(f.propertyIsEnumerable(i))return s.propertyIsEnumerable(i)&&(o="newstatement"),"type";if(k.propertyIsEnumerable(i))return s.propertyIsEnumerable(i)&&(o="newstatement"),"builtin";for(var a=i.length-1;a>=0&&(!isNaN(i[a])||i[a]=="_");)--a;if(a>0){var d=i.substr(0,a+1);if(f.propertyIsEnumerable(d))return s.propertyIsEnumerable(d)&&(o="newstatement"),"type"}return E.propertyIsEnumerable(i)?"atom":null}function I(e){return function(n,t){for(var r=!1,i,a=!1;(i=n.next())!=null;){if(i==e&&!r){a=!0;break}r=!r&&i=="\\"}return(a||!r)&&(t.tokenize=p),"string"}}function y(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=p;break}t=r=="*"}return"comment"}function v(e,n,t,r,i){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=i}function c(e,n,t){return e.context=new v(e.indented,n,t,null,e.context)}function u(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const z={name:"ecl",startState:function(e){return{tokenize:null,context:new v(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;o=null;var r=(n.tokenize||p)(e,n);if(r=="comment"||r=="meta")return r;if(t.align==null&&(t.align=!0),(o==";"||o==":")&&t.type=="statement")u(n);else if(o=="{")c(n,e.column(),"}");else if(o=="[")c(n,e.column(),"]");else if(o=="(")c(n,e.column(),")");else if(o=="}"){for(;t.type=="statement";)t=u(n);for(t.type=="}"&&(t=u(n));t.type=="statement";)t=u(n)}else o==t.type?u(n):(t.type=="}"||t.type=="top"||t.type=="statement"&&o=="newstatement")&&c(n,e.column(),"statement");return n.startOfLine=!1,r},indent:function(e,n,t){if(e.tokenize!=p&&e.tokenize!=null)return 0;var r=e.context,i=n&&n.charAt(0);r.type=="statement"&&i=="}"&&(r=r.prev);var a=i==r.type;return r.type=="statement"?r.indented+(i=="{"?0:t.unit):r.align?r.column+(a?0:1):r.indented+(a?0:t.unit)},languageData:{indentOnInput:/^\s*[{}]$/}};export{z as ecl}; diff --git a/web-dist/js/chunks/ecl-Cabwm37j.mjs.gz b/web-dist/js/chunks/ecl-Cabwm37j.mjs.gz new file mode 100644 index 0000000000..744f77e946 Binary files /dev/null and b/web-dist/js/chunks/ecl-Cabwm37j.mjs.gz differ diff --git a/web-dist/js/chunks/eiffel-CnydiIhH.mjs b/web-dist/js/chunks/eiffel-CnydiIhH.mjs new file mode 100644 index 0000000000..4d0273e6bd --- /dev/null +++ b/web-dist/js/chunks/eiffel-CnydiIhH.mjs @@ -0,0 +1 @@ +function u(e){for(var r={},n=0,t=e.length;n>"]);function f(e,r,n){return n.tokenize.push(e),e(r,n)}function s(e,r){if(e.eatSpace())return null;var n=e.next();return n=='"'||n=="'"?f(p(n,"string"),e,r):n=="-"&&e.eat("-")?(e.skipToEnd(),"comment"):n==":"&&e.eat("=")?"operator":/[0-9]/.test(n)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"variable"):/[a-zA-Z_0-9]/.test(n)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"variable"):/[=+\-\/*^%<>~]/.test(n)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}function p(e,r,n){return function(t,o){for(var a=!1,i;(i=t.next())!=null;){if(i==e&&!a){o.tokenize.pop();break}a=!a&&i=="%"}return r}}const d={name:"eiffel",startState:function(){return{tokenize:[s]}},token:function(e,r){var n=r.tokenize[r.tokenize.length-1](e,r);if(n=="variable"){var t=e.current();n=l.propertyIsEnumerable(e.current())?"keyword":c.propertyIsEnumerable(e.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(t)?"tag":/^0[bB][0-1]+$/g.test(t)||/^0[cC][0-7]+$/g.test(t)||/^0[xX][a-fA-F0-9]+$/g.test(t)||/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(t)||/^[0-9]+$/g.test(t)?"number":"variable"}return n},languageData:{commentTokens:{line:"--"}}};export{d as eiffel}; diff --git a/web-dist/js/chunks/eiffel-CnydiIhH.mjs.gz b/web-dist/js/chunks/eiffel-CnydiIhH.mjs.gz new file mode 100644 index 0000000000..732c879a90 Binary files /dev/null and b/web-dist/js/chunks/eiffel-CnydiIhH.mjs.gz differ diff --git a/web-dist/js/chunks/elm-vLlmbW-K.mjs b/web-dist/js/chunks/elm-vLlmbW-K.mjs new file mode 100644 index 0000000000..7e57009cd2 --- /dev/null +++ b/web-dist/js/chunks/elm-vLlmbW-K.mjs @@ -0,0 +1 @@ +function a(n,t,i){return t(i),i(n,t)}var v=/[a-z]/,g=/[A-Z]/,l=/[a-zA-Z0-9_]/,f=/[0-9]/,o=/[0-9A-Fa-f]/,p=/[-&*+.\\/<>=?^|:]/,w=/[(),[\]{}]/,x=/[ \v\f]/;function r(){return function(n,t){if(n.eatWhile(x))return null;var i=n.next();if(w.test(i))return i==="{"&&n.eat("-")?a(n,t,h(1)):i==="["&&n.match("glsl|")?a(n,t,u):"builtin";if(i==="'")return a(n,t,d);if(i==='"')return n.eat('"')?n.eat('"')?a(n,t,k):"string":a(n,t,E);if(g.test(i))return n.eatWhile(l),"type";if(v.test(i)){var e=n.pos===1;return n.eatWhile(l),e?"def":"variable"}if(f.test(i)){if(i==="0"){if(n.eat(/[xX]/))return n.eatWhile(o),"number"}else n.eatWhile(f);return n.eat(".")&&n.eatWhile(f),n.eat(/[eE]/)&&(n.eat(/[-+]/),n.eatWhile(f)),"number"}return p.test(i)?i==="-"&&n.eat("-")?(n.skipToEnd(),"comment"):(n.eatWhile(p),"keyword"):i==="_"?"keyword":"error"}}function h(n){return n==0?r():function(t,i){for(;!t.eol();){var e=t.next();if(e=="{"&&t.eat("-"))++n;else if(e=="-"&&t.eat("}")&&(--n,n===0))return i(r()),"comment"}return i(h(n)),"comment"}}function k(n,t){for(;!n.eol();){var i=n.next();if(i==='"'&&n.eat('"')&&n.eat('"'))return t(r()),"string"}return"string"}function E(n,t){for(;n.skipTo('\\"');)n.next(),n.next();return n.skipTo('"')?(n.next(),t(r()),"string"):(n.skipToEnd(),t(r()),"error")}function d(n,t){for(;n.skipTo("\\'");)n.next(),n.next();return n.skipTo("'")?(n.next(),t(r()),"string"):(n.skipToEnd(),t(r()),"error")}function u(n,t){for(;!n.eol();){var i=n.next();if(i==="|"&&n.eat("]"))return t(r()),"string"}return"string"}var y={case:1,of:1,as:1,if:1,then:1,else:1,let:1,in:1,type:1,alias:1,module:1,where:1,import:1,exposing:1,port:1};const W={name:"elm",startState:function(){return{f:r()}},copyState:function(n){return{f:n.f}},token:function(n,t){var i=t.f(n,function(m){t.f=m}),e=n.current();return y.hasOwnProperty(e)?"keyword":i},languageData:{commentTokens:{line:"--"}}};export{W as elm}; diff --git a/web-dist/js/chunks/elm-vLlmbW-K.mjs.gz b/web-dist/js/chunks/elm-vLlmbW-K.mjs.gz new file mode 100644 index 0000000000..a752343e03 Binary files /dev/null and b/web-dist/js/chunks/elm-vLlmbW-K.mjs.gz differ diff --git a/web-dist/js/chunks/erlang-BNw1qcRV.mjs b/web-dist/js/chunks/erlang-BNw1qcRV.mjs new file mode 100644 index 0000000000..d59e853ba3 --- /dev/null +++ b/web-dist/js/chunks/erlang-BNw1qcRV.mjs @@ -0,0 +1 @@ +var S=["-type","-spec","-export_type","-opaque"],x=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],z=/[\->,;]/,E=["->",";",","],T=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],R=/[\+\-\*\/<>=\|:!]/,A=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],U=/[<\(\[\{]/,b=["<<","(","[","{"],Z=/[>\)\]\}]/,y=["}","]",")",">>"],m=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],P=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],p=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,q=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function j(e,n){if(n.in_string)return n.in_string=!v(e),t(n,e,"string");if(n.in_atom)return n.in_atom=!h(e),t(n,e,"atom");if(e.eatSpace())return t(n,e,"whitespace");if(!_(n)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return u(e.current(),S)?t(n,e,"type"):t(n,e,"attribute");var r=e.next();if(r=="%")return e.skipToEnd(),t(n,e,"comment");if(r==":")return t(n,e,"colon");if(r=="?")return e.eatSpace(),e.eatWhile(p),t(n,e,"macro");if(r=="#")return e.eatSpace(),e.eatWhile(p),t(n,e,"record");if(r=="$")return e.next()=="\\"&&!e.match(q)?t(n,e,"error"):t(n,e,"number");if(r==".")return t(n,e,"dot");if(r=="'"){if(!(n.in_atom=!h(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),t(n,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return t(n,e,"function")}return t(n,e,"atom")}if(r=='"')return n.in_string=!v(e),t(n,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(r))return e.eatWhile(p),t(n,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(r)){if(e.eatWhile(p),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),t(n,e,"fun");var i=e.current();return u(i,x)?t(n,e,"keyword"):u(i,T)?t(n,e,"operator"):e.match(/\s*\(/,!1)?u(i,P)&&(_(n).token!=":"||_(n,2).token=="erlang")?t(n,e,"builtin"):u(i,m)?t(n,e,"guard"):t(n,e,"function"):Q(e)==":"?i=="erlang"?t(n,e,"builtin"):t(n,e,"function"):u(i,["true","false"])?t(n,e,"boolean"):t(n,e,"atom")}var l=/[0-9]/,o=/[0-9a-zA-Z]/;return l.test(r)?(e.eatWhile(l),e.eat("#")?e.eatWhile(o)||e.backUp(1):e.eat(".")&&(e.eatWhile(l)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(l)||e.backUp(2):e.eatWhile(l)||e.backUp(1)):e.backUp(1)),t(n,e,"number")):g(e,U,b)?t(n,e,"open_paren"):g(e,Z,y)?t(n,e,"close_paren"):k(e,z,E)?t(n,e,"separator"):k(e,R,A)?t(n,e,"operator"):t(n,e,null)}function g(e,n,r){if(e.current().length==1&&n.test(e.current())){for(e.backUp(1);n.test(e.peek());)if(e.next(),u(e.current(),r))return!0;e.backUp(e.current().length-1)}return!1}function k(e,n,r){if(e.current().length==1&&n.test(e.current())){for(;n.test(e.peek());)e.next();for(;01&&e[n].type==="fun"&&e[n-1].token==="fun")return e.slice(0,n-1);switch(e[n].token){case"}":return a(e,{g:["{"]});case"]":return a(e,{i:["["]});case")":return a(e,{i:["("]});case">>":return a(e,{i:["<<"]});case"end":return a(e,{i:["begin","case","fun","if","receive","try"]});case",":return a(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return a(e,{r:["when"],m:["try","if","case","receive"]});case";":return a(e,{E:["case","fun","if","receive","try","when"]});case"catch":return a(e,{e:["try"]});case"of":return a(e,{e:["case"]});case"after":return a(e,{e:["receive","try"]});default:return e}}function a(e,n){for(var r in n)for(var i=e.length-1,l=n[r],o=i-1;-1"?u(c.token,["receive","case","if","try"])?c.column+r.unit+r.unit:c.column+r.unit:u(o.token,b)?o.column+o.token.length:(i=G(e),f(i)?i.column+r.unit:0):0}function C(e){var n=e.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return f(n)&&n.index===0?n[0]:""}function F(e){var n=e.tokenStack.slice(0,-1),r=d(n,"type",["open_paren"]);return f(n[r])?n[r]:!1}function G(e){var n=e.tokenStack,r=d(n,"type",["open_paren","separator","keyword"]),i=d(n,"type",["operator"]);return f(r)&&f(i)&&ro.callback(t))}unsubscribe(s,t){this.topics.has(s)&&this.topics.set(s,this.topics.get(s).filter(i=>i.token!==t))}}const p=new e;export{e as E,p as e}; diff --git a/web-dist/js/chunks/eventBus-B07Yv2pA.mjs.gz b/web-dist/js/chunks/eventBus-B07Yv2pA.mjs.gz new file mode 100644 index 0000000000..dd365ed135 Binary files /dev/null and b/web-dist/js/chunks/eventBus-B07Yv2pA.mjs.gz differ diff --git a/web-dist/js/chunks/extensionRegistry-3T3I8mha.mjs b/web-dist/js/chunks/extensionRegistry-3T3I8mha.mjs new file mode 100644 index 0000000000..044b0e7afe --- /dev/null +++ b/web-dist/js/chunks/extensionRegistry-3T3I8mha.mjs @@ -0,0 +1 @@ +import{cj as y,aU as i,da as b,bk as o}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";const v=y("auth",()=>{const r=i(),l=i(),a=i(!1),c=i(!1),p=i(),u=i(),x=i(),d=i(!1),f=t=>{r.value=t},e=t=>{l.value=t},n=t=>{a.value=t},s=t=>{c.value=t},k=t=>{p.value=t.publicLinkToken,u.value=t.publicLinkPassword,x.value=t.publicLinkType,d.value=t.publicLinkContextReady};return{accessToken:r,sessionId:l,idpContextReady:a,userContextReady:c,publicLinkToken:p,publicLinkPassword:u,publicLinkType:x,publicLinkContextReady:d,setAccessToken:f,setSessionId:e,setIdpContextReady:n,setUserContextReady:s,setPublicLinkContext:k,clearUserContext:()=>{f(null),e(null),n(null),s(null)},clearPublicLinkContext:()=>{k({publicLinkToken:null,publicLinkPassword:null,publicLinkType:null,publicLinkContextReady:!1})}}}),C=y("extensionRegistry",()=>{const r=b(),l=i([]),a=e=>{l.value.push(e)},c=e=>{l.value=o(l).map(n=>i(o(n).filter(({id:s})=>!e.includes(s)))).filter(n=>o(n).length)},p=e=>{if(!e.id||!e.extensionType)throw new Error("ExtensionPoint must have an id and an extensionType");return o(l).flatMap(n=>o(n).filter(s=>s.type===e.extensionType&&!r.options.disabledExtensions.includes(s.id)&&(!s.extensionPointIds||s.extensionPointIds?.includes(e.id))))},u=i([]);return{extensions:l,registerExtensions:a,unregisterExtensions:c,requestExtensions:p,extensionPoints:u,registerExtensionPoints:e=>{u.value.push(e)},unregisterExtensionPoints:e=>{u.value=o(u).map(n=>i(o(n).filter(({id:s})=>!e.includes(s)))).filter(n=>o(n).length)},getExtensionPoints:(e={})=>o(u).flatMap(n=>o(n).filter(s=>!(Object.hasOwn(e,"extensionType")&&s.extensionType!==e.extensionType)))}});export{C as a,v as u}; diff --git a/web-dist/js/chunks/extensionRegistry-3T3I8mha.mjs.gz b/web-dist/js/chunks/extensionRegistry-3T3I8mha.mjs.gz new file mode 100644 index 0000000000..c54b3f8a08 Binary files /dev/null and b/web-dist/js/chunks/extensionRegistry-3T3I8mha.mjs.gz differ diff --git a/web-dist/js/chunks/factor-BBbj1ob8.mjs b/web-dist/js/chunks/factor-BBbj1ob8.mjs new file mode 100644 index 0000000000..4fe2ab554e --- /dev/null +++ b/web-dist/js/chunks/factor-BBbj1ob8.mjs @@ -0,0 +1 @@ +import{s as e}from"./simple-mode-GW_nhZxv.mjs";const n=e({start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,token:["keyword",null],next:"string2"},{regex:/\S*?"/,token:"string",next:"string"},{regex:/(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/,token:"number"},{regex:/((?:GENERIC)|\:?\:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"bracket"],next:"stack"},{regex:/(M\:)(\s+)(\S+)(\s+)(\S+)/,token:["keyword",null,"def",null,"tag"]},{regex:/USING\:/,token:"keyword",next:"vocabulary"},{regex:/(USE\:|IN\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"tag"]},{regex:/(\S+\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"def"]},{regex:/(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],languageData:{name:"factor",dontIndentStates:["start","vocabulary","string","string3","stack"],commentTokens:{line:"!"}}});export{n as factor}; diff --git a/web-dist/js/chunks/factor-BBbj1ob8.mjs.gz b/web-dist/js/chunks/factor-BBbj1ob8.mjs.gz new file mode 100644 index 0000000000..b35884cc9b Binary files /dev/null and b/web-dist/js/chunks/factor-BBbj1ob8.mjs.gz differ diff --git a/web-dist/js/chunks/fcl-Kvtd6kyn.mjs b/web-dist/js/chunks/fcl-Kvtd6kyn.mjs new file mode 100644 index 0000000000..45c8ec305a --- /dev/null +++ b/web-dist/js/chunks/fcl-Kvtd6kyn.mjs @@ -0,0 +1 @@ +var d={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},f={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},o={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},p={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},l=/[+\-*&^%:=<>!|\/]/;function i(e,n){var t=e.next();if(/[\d\.]/.test(t))return t=="."?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):t=="0"?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(t=="/"||t=="("){if(e.eat("*"))return n.tokenize=c,c(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(l.test(t))return e.eatWhile(l),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current().toLowerCase();return d.propertyIsEnumerable(r)||f.propertyIsEnumerable(r)||o.propertyIsEnumerable(r)?"keyword":p.propertyIsEnumerable(r)?"atom":"variable"}function c(e,n){for(var t=!1,r;r=e.next();){if((r=="/"||r==")")&&t){n.tokenize=i;break}t=r=="*"}return"comment"}function a(e,n,t,r,u){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=u}function k(e,n,t){return e.context=new a(e.indented,n,t,null,e.context)}function v(e){if(e.context.prev){var n=e.context.type;return n=="end_block"&&(e.indented=e.context.indented),e.context=e.context.prev}}const x={name:"fcl",startState:function(e){return{tokenize:null,context:new a(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;var r=(n.tokenize||i)(e,n);if(r=="comment")return r;t.align==null&&(t.align=!0);var u=e.current().toLowerCase();return f.propertyIsEnumerable(u)?k(n,e.column(),"end_block"):o.propertyIsEnumerable(u)&&v(n),n.startOfLine=!1,r},indent:function(e,n,t){if(e.tokenize!=i&&e.tokenize!=null)return 0;var r=e.context,u=o.propertyIsEnumerable(n);return r.align?r.column+(u?0:1):r.indented+(u?0:t.unit)},languageData:{commentTokens:{line:"//",block:{open:"(*",close:"*)"}}}};export{x as fcl}; diff --git a/web-dist/js/chunks/fcl-Kvtd6kyn.mjs.gz b/web-dist/js/chunks/fcl-Kvtd6kyn.mjs.gz new file mode 100644 index 0000000000..0bf08c290d Binary files /dev/null and b/web-dist/js/chunks/fcl-Kvtd6kyn.mjs.gz differ diff --git a/web-dist/js/chunks/forth-Ffai-XNe.mjs b/web-dist/js/chunks/forth-Ffai-XNe.mjs new file mode 100644 index 0000000000..a7a0bd6b7d --- /dev/null +++ b/web-dist/js/chunks/forth-Ffai-XNe.mjs @@ -0,0 +1 @@ +function t(i){var n=[];return i.split(" ").forEach(function(E){n.push({name:E})}),n}var r=t("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),O=t("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");function R(i,n){var E;for(E=i.length-1;E>=0;E--)if(i[E].name===n.toUpperCase())return i[E]}const L={name:"forth",startState:function(){return{state:"",base:10,coreWordList:r,immediateWordList:O,wordList:[]}},token:function(i,n){var E;if(i.eatSpace())return null;if(n.state===""){if(i.match(/^(\]|:NONAME)(\s|$)/i))return n.state=" compilation","builtin";if(E=i.match(/^(\:)\s+(\S+)(\s|$)+/),E)return n.wordList.push({name:E[2].toUpperCase()}),n.state=" compilation","def";if(E=i.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i),E)return n.wordList.push({name:E[2].toUpperCase()}),"def";if(E=i.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/),E)return"builtin"}else{if(i.match(/^(\;|\[)(\s)/))return n.state="",i.backUp(1),"builtin";if(i.match(/^(\;|\[)($)/))return n.state="","builtin";if(i.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}if(E=i.match(/^(\S+)(\s+|$)/),E)return R(n.wordList,E[1])!==void 0?"variable":E[1]==="\\"?(i.skipToEnd(),"comment"):R(n.coreWordList,E[1])!==void 0?"builtin":R(n.immediateWordList,E[1])!==void 0?"keyword":E[1]==="("?(i.eatWhile(function(e){return e!==")"}),i.eat(")"),"comment"):E[1]===".("?(i.eatWhile(function(e){return e!==")"}),i.eat(")"),"string"):E[1]==='S"'||E[1]==='."'||E[1]==='C"'?(i.eatWhile(function(e){return e!=='"'}),i.eat('"'),"string"):E[1]-68719476735?"number":"atom"}};export{L as forth}; diff --git a/web-dist/js/chunks/forth-Ffai-XNe.mjs.gz b/web-dist/js/chunks/forth-Ffai-XNe.mjs.gz new file mode 100644 index 0000000000..985ff1ade6 Binary files /dev/null and b/web-dist/js/chunks/forth-Ffai-XNe.mjs.gz differ diff --git a/web-dist/js/chunks/fortran-DYz_wnZ1.mjs b/web-dist/js/chunks/fortran-DYz_wnZ1.mjs new file mode 100644 index 0000000000..ef7d7050ff --- /dev/null +++ b/web-dist/js/chunks/fortran-DYz_wnZ1.mjs @@ -0,0 +1 @@ +function r(t){for(var n={},e=0;e\/\:]/,_=/^\.(and|or|eq|lt|le|gt|ge|ne|not|eqv|neqv)\./i;function u(t,n){if(t.match(_))return"operator";var e=t.next();if(e=="!")return t.skipToEnd(),"comment";if(e=='"'||e=="'")return n.tokenize=m(e),n.tokenize(t,n);if(/[\[\]\(\),]/.test(e))return null;if(/\d/.test(e))return t.eatWhile(/[\w\.]/),"number";if(c.test(e))return t.eatWhile(c),"operator";t.eatWhile(/[\w\$_]/);var i=t.current().toLowerCase();return l.hasOwnProperty(i)?"keyword":s.hasOwnProperty(i)||d.hasOwnProperty(i)?"builtin":"variable"}function m(t){return function(n,e){for(var i=!1,a,o=!1;(a=n.next())!=null;){if(a==t&&!i){o=!0;break}i=!i&&a=="\\"}return(o||!i)&&(e.tokenize=null),"string"}}const p={name:"fortran",startState:function(){return{tokenize:null}},token:function(t,n){if(t.eatSpace())return null;var e=(n.tokenize||u)(t,n);return e=="comment"||e=="meta",e}};export{p as fortran}; diff --git a/web-dist/js/chunks/fortran-DYz_wnZ1.mjs.gz b/web-dist/js/chunks/fortran-DYz_wnZ1.mjs.gz new file mode 100644 index 0000000000..e95d0fc919 Binary files /dev/null and b/web-dist/js/chunks/fortran-DYz_wnZ1.mjs.gz differ diff --git a/web-dist/js/chunks/fuse-Dh4lEyaB.mjs b/web-dist/js/chunks/fuse-Dh4lEyaB.mjs new file mode 100644 index 0000000000..576c3f2a02 --- /dev/null +++ b/web-dist/js/chunks/fuse-Dh4lEyaB.mjs @@ -0,0 +1 @@ +function m(e){return Array.isArray?Array.isArray(e):st(e)==="[object Array]"}function at(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function lt(e){return e==null?"":at(e)}function M(e){return typeof e=="string"}function tt(e){return typeof e=="number"}function ft(e){return e===!0||e===!1||dt(e)&&st(e)=="[object Boolean]"}function et(e){return typeof e=="object"}function dt(e){return et(e)&&e!==null}function E(e){return e!=null}function P(e){return!e.trim().length}function st(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const gt="Incorrect 'index' type",At=e=>`Invalid value for key ${e}`,pt=e=>`Pattern length exceeds max of ${e}.`,Et=e=>`Missing ${e} property in key`,Ct=e=>`Property 'weight' in key '${e}' must be a positive integer`,J=Object.prototype.hasOwnProperty;class Ft{constructor(t){this._keys=[],this._keyMap={};let s=0;t.forEach(n=>{let r=nt(n);this._keys.push(r),this._keyMap[r.id]=r,s+=r.weight}),this._keys.forEach(n=>{n.weight/=s})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function nt(e){let t=null,s=null,n=null,r=1,i=null;if(M(e)||m(e))n=e,t=U(e),s=j(e);else{if(!J.call(e,"name"))throw new Error(Et("name"));const u=e.name;if(n=u,J.call(e,"weight")&&(r=e.weight,r<=0))throw new Error(Ct(u));t=U(u),s=j(u),i=e.getFn}return{path:t,id:s,weight:r,src:n,getFn:i}}function U(e){return m(e)?e:e.split(".")}function j(e){return m(e)?e.join("."):e}function Bt(e,t){let s=[],n=!1;const r=(i,u,c)=>{if(E(i))if(!u[c])s.push(i);else{let o=u[c];const h=i[o];if(!E(h))return;if(c===u.length-1&&(M(h)||tt(h)||ft(h)))s.push(lt(h));else if(m(h)){n=!0;for(let a=0,f=h.length;ae.score===t.score?e.idx{this._keysMap[s.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,M(this.docs[0])?this.docs.forEach((t,s)=>{this._addString(t,s)}):this.docs.forEach((t,s)=>{this._addObject(t,s)}),this.norm.clear())}add(t){const s=this.size();M(t)?this._addString(t,s):this._addObject(t,s)}removeAt(t){this.records.splice(t,1);for(let s=t,n=this.size();s{let u=r.getFn?r.getFn(t):this.getFn(t,r.path);if(E(u)){if(m(u)){let c=[];const o=[{nestedArrIndex:-1,value:u}];for(;o.length;){const{nestedArrIndex:h,value:a}=o.pop();if(E(a))if(M(a)&&!P(a)){let f={v:a,i:h,n:this.norm.get(a)};c.push(f)}else m(a)&&a.forEach((f,d)=>{o.push({nestedArrIndex:d,value:f})})}n.$[i]=c}else if(M(u)&&!P(u)){let c={v:u,n:this.norm.get(u)};n.$[i]=c}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function rt(e,t,{getFn:s=l.getFn,fieldNormWeight:n=l.fieldNormWeight}={}){const r=new Y({getFn:s,fieldNormWeight:n});return r.setKeys(e.map(nt)),r.setSources(t),r.create(),r}function It(e,{getFn:t=l.getFn,fieldNormWeight:s=l.fieldNormWeight}={}){const{keys:n,records:r}=e,i=new Y({getFn:t,fieldNormWeight:s});return i.setKeys(n),i.setIndexRecords(r),i}function $(e,{errors:t=0,currentLocation:s=0,expectedLocation:n=0,distance:r=l.distance,ignoreLocation:i=l.ignoreLocation}={}){const u=t/e.length;if(i)return u;const c=Math.abs(n-s);return r?u+c/r:c?1:u}function St(e=[],t=l.minMatchCharLength){let s=[],n=-1,r=-1,i=0;for(let u=e.length;i=t&&s.push([n,r]),n=-1)}return e[i-1]&&i-n>=t&&s.push([n,i-1]),s}const w=32;function wt(e,t,s,{location:n=l.location,distance:r=l.distance,threshold:i=l.threshold,findAllMatches:u=l.findAllMatches,minMatchCharLength:c=l.minMatchCharLength,includeMatches:o=l.includeMatches,ignoreLocation:h=l.ignoreLocation}={}){if(t.length>w)throw new Error(pt(w));const a=t.length,f=e.length,d=Math.max(0,Math.min(n,f));let g=i,A=d;const p=c>1||o,F=p?Array(f):[];let x;for(;(x=e.indexOf(t,A))>-1;){let C=$(t,{currentLocation:x,expectedLocation:d,distance:r,ignoreLocation:h});if(g=Math.min(C,g),A=x+a,p){let y=0;for(;y=V;B-=1){let O=B-1,Q=s[e.charAt(O)];if(p&&(F[O]=+!!Q),R[B]=(R[B+1]<<1|1)&Q,C&&(R[B]|=(D[B+1]|D[B])<<1|1|D[B+1]),R[B]&ht&&(L=$(t,{errors:C,currentLocation:O,expectedLocation:d,distance:r,ignoreLocation:h}),L<=g)){if(g=L,A=O,A<=d)break;V=Math.max(1,2*d-A)}}if($(t,{errors:C+1,currentLocation:d,expectedLocation:d,distance:r,ignoreLocation:h})>g)break;D=R}const v={isMatch:A>=0,score:Math.max(.001,L)};if(p){const C=St(F,c);C.length?o&&(v.indices=C):v.isMatch=!1}return v}function Lt(e){let t={};for(let s=0,n=e.length;se.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")):(e=>e);class it{constructor(t,{location:s=l.location,threshold:n=l.threshold,distance:r=l.distance,includeMatches:i=l.includeMatches,findAllMatches:u=l.findAllMatches,minMatchCharLength:c=l.minMatchCharLength,isCaseSensitive:o=l.isCaseSensitive,ignoreDiacritics:h=l.ignoreDiacritics,ignoreLocation:a=l.ignoreLocation}={}){if(this.options={location:s,threshold:n,distance:r,includeMatches:i,findAllMatches:u,minMatchCharLength:c,isCaseSensitive:o,ignoreDiacritics:h,ignoreLocation:a},t=o?t:t.toLowerCase(),t=h?k(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const f=(g,A)=>{this.chunks.push({pattern:g,alphabet:Lt(g),startIndex:A})},d=this.pattern.length;if(d>w){let g=0;const A=d%w,p=d-A;for(;g{const{isMatch:D,score:L,indices:S}=wt(t,p,F,{location:i+x,distance:u,threshold:c,findAllMatches:o,minMatchCharLength:h,includeMatches:r,ignoreLocation:a});D&&(g=!0),d+=L,D&&S&&(f=[...f,...S])});let A={isMatch:g,score:g?d/this.chunks.length:1};return g&&r&&(A.indices=f),A}}class I{constructor(t){this.pattern=t}static isMultiMatch(t){return X(t,this.multiRegex)}static isSingleMatch(t){return X(t,this.singleRegex)}search(){}}function X(e,t){const s=e.match(t);return s?s[1]:null}class Rt extends I{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const s=t===this.pattern;return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class bt extends I{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const n=t.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Ot extends I{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const s=t.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class $t extends I{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const s=!t.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}}class kt extends I{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const s=t.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class Nt extends I{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const s=!t.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}}class ut extends I{constructor(t,{location:s=l.location,threshold:n=l.threshold,distance:r=l.distance,includeMatches:i=l.includeMatches,findAllMatches:u=l.findAllMatches,minMatchCharLength:c=l.minMatchCharLength,isCaseSensitive:o=l.isCaseSensitive,ignoreDiacritics:h=l.ignoreDiacritics,ignoreLocation:a=l.ignoreLocation}={}){super(t),this._bitapSearch=new it(t,{location:s,threshold:n,distance:r,includeMatches:i,findAllMatches:u,minMatchCharLength:c,isCaseSensitive:o,ignoreDiacritics:h,ignoreLocation:a})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class ct extends I{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let s=0,n;const r=[],i=this.pattern.length;for(;(n=t.indexOf(this.pattern,s))>-1;)s=n+i,r.push([n,s-1]);const u=!!r.length;return{isMatch:u,score:u?0:1,indices:r}}}const K=[Rt,ct,Ot,$t,Nt,kt,bt,ut],Z=K.length,vt=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Tt="|";function Pt(e,t={}){return e.split(Tt).map(s=>{let n=s.trim().split(vt).filter(i=>i&&!!i.trim()),r=[];for(let i=0,u=n.length;i!!(e[N.AND]||e[N.OR]),zt=e=>!!e[G.PATH],Gt=e=>!m(e)&&et(e)&&!H(e),q=e=>({[N.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function ot(e,t,{auto:s=!0}={}){const n=r=>{let i=Object.keys(r);const u=zt(r);if(!u&&i.length>1&&!H(r))return n(q(r));if(Gt(r)){const o=u?r[G.PATH]:i[0],h=u?r[G.PATTERN]:r[o];if(!M(h))throw new Error(At(o));const a={keyId:j(o),pattern:h};return s&&(a.searcher=z(h,t)),a}let c={children:[],operator:i[0]};return i.forEach(o=>{const h=r[o];m(h)&&h.forEach(a=>{c.children.push(n(a))})}),c};return H(e)||(e=q(e)),n(e)}function Ht(e,{ignoreFieldNorm:t=l.ignoreFieldNorm}){e.forEach(s=>{let n=1;s.matches.forEach(({key:r,norm:i,score:u})=>{const c=r?r.weight:null;n*=Math.pow(u===0&&c?Number.EPSILON:u,(c||1)*(t?1:i))}),s.score=n})}function Yt(e,t){const s=e.matches;t.matches=[],E(s)&&s.forEach(n=>{if(!E(n.indices)||!n.indices.length)return;const{indices:r,value:i}=n;let u={indices:r,value:i};n.key&&(u.key=n.key.src),n.idx>-1&&(u.refIndex=n.idx),t.matches.push(u)})}function Vt(e,t){t.score=e.score}function Qt(e,t,{includeMatches:s=l.includeMatches,includeScore:n=l.includeScore}={}){const r=[];return s&&r.push(Yt),n&&r.push(Vt),e.map(i=>{const{idx:u}=i,c={item:t[u],refIndex:u};return r.length&&r.forEach(o=>{o(i,c)}),c})}class b{constructor(t,s={},n){this.options={...l,...s},this.options.useExtendedSearch,this._keyStore=new Ft(this.options.keys),this.setCollection(t,n)}setCollection(t,s){if(this._docs=t,s&&!(s instanceof Y))throw new Error(gt);this._myIndex=s||rt(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){E(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const s=[];for(let n=0,r=this._docs.length;n-1&&(o=o.slice(0,s)),Qt(o,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(t){const s=z(t,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:i,i:u,n:c})=>{if(!E(i))return;const{isMatch:o,score:h,indices:a}=s.searchIn(i);o&&r.push({item:i,idx:u,matches:[{score:h,value:i,norm:c,indices:a}]})}),r}_searchLogical(t){const s=ot(t,this.options),n=(c,o,h)=>{if(!c.children){const{keyId:f,searcher:d}=c,g=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(o,f),searcher:d});return g&&g.length?[{idx:h,item:o,matches:g}]:[]}const a=[];for(let f=0,d=c.children.length;f{if(E(c)){let h=n(s,c,o);h.length&&(i[o]||(i[o]={idx:o,item:c,matches:[]},u.push(i[o])),h.forEach(({matches:a})=>{i[o].matches.push(...a)}))}}),u}_searchObjectList(t){const s=z(t,this.options),{keys:n,records:r}=this._myIndex,i=[];return r.forEach(({$:u,i:c})=>{if(!E(u))return;let o=[];n.forEach((h,a)=>{o.push(...this._findMatches({key:h,value:u[a],searcher:s}))}),o.length&&i.push({idx:c,item:u,matches:o})}),i}_findMatches({key:t,value:s,searcher:n}){if(!E(s))return[];let r=[];if(m(s))s.forEach(({v:i,i:u,n:c})=>{if(!E(i))return;const{isMatch:o,score:h,indices:a}=n.searchIn(i);o&&r.push({score:h,key:t,value:i,idx:u,norm:c,indices:a})});else{const{v:i,n:u}=s,{isMatch:c,score:o,indices:h}=n.searchIn(i);c&&r.push({score:o,key:t,value:i,norm:u,indices:h})}return r}}b.version="7.1.0";b.createIndex=rt;b.parseIndex=It;b.config=l;b.parseQuery=ot;Wt(Kt);const Ut={ignoreLocation:!0,threshold:0,useExtendedSearch:!0};export{b as F,Ut as d}; diff --git a/web-dist/js/chunks/fuse-Dh4lEyaB.mjs.gz b/web-dist/js/chunks/fuse-Dh4lEyaB.mjs.gz new file mode 100644 index 0000000000..1a5c1f8dde Binary files /dev/null and b/web-dist/js/chunks/fuse-Dh4lEyaB.mjs.gz differ diff --git a/web-dist/js/chunks/gas-Bneqetm1.mjs b/web-dist/js/chunks/gas-Bneqetm1.mjs new file mode 100644 index 0000000000..d9ffcb72f4 --- /dev/null +++ b/web-dist/js/chunks/gas-Bneqetm1.mjs @@ -0,0 +1 @@ +function v(r){var u=[],b="",o={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},i={};function p(){b="#",i.al="variable",i.ah="variable",i.ax="variable",i.eax="variableName.special",i.rax="variableName.special",i.bl="variable",i.bh="variable",i.bx="variable",i.ebx="variableName.special",i.rbx="variableName.special",i.cl="variable",i.ch="variable",i.cx="variable",i.ecx="variableName.special",i.rcx="variableName.special",i.dl="variable",i.dh="variable",i.dx="variable",i.edx="variableName.special",i.rdx="variableName.special",i.si="variable",i.esi="variableName.special",i.rsi="variableName.special",i.di="variable",i.edi="variableName.special",i.rdi="variableName.special",i.sp="variable",i.esp="variableName.special",i.rsp="variableName.special",i.bp="variable",i.ebp="variableName.special",i.rbp="variableName.special",i.ip="variable",i.eip="variableName.special",i.rip="variableName.special",i.cs="keyword",i.ds="keyword",i.ss="keyword",i.es="keyword",i.fs="keyword",i.gs="keyword"}function f(){b="@",o.syntax="builtin",i.r0="variable",i.r1="variable",i.r2="variable",i.r3="variable",i.r4="variable",i.r5="variable",i.r6="variable",i.r7="variable",i.r8="variable",i.r9="variable",i.r10="variable",i.r11="variable",i.r12="variable",i.sp="variableName.special",i.lr="variableName.special",i.pc="variableName.special",i.r13=i.sp,i.r14=i.lr,i.r15=i.pc,u.push(function(l,n){if(l==="#")return n.eatWhile(/\w/),"number"})}r==="x86"?p():(r==="arm"||r==="armv6")&&f();function d(l,n){for(var e=!1,a;(a=l.next())!=null;){if(a===n&&!e)return!1;e=!e&&a==="\\"}return e}function s(l,n){for(var e=!1,a;(a=l.next())!=null;){if(a==="/"&&e){n.tokenize=null;break}e=a==="*"}return"comment"}return{name:"gas",startState:function(){return{tokenize:null}},token:function(l,n){if(n.tokenize)return n.tokenize(l,n);if(l.eatSpace())return null;var e,a,t=l.next();if(t==="/"&&l.eat("*"))return n.tokenize=s,s(l,n);if(t===b)return l.skipToEnd(),"comment";if(t==='"')return d(l,'"'),"string";if(t===".")return l.eatWhile(/\w/),a=l.current().toLowerCase(),e=o[a],e||null;if(t==="=")return l.eatWhile(/\w/),"tag";if(t==="{"||t==="}")return"bracket";if(/\d/.test(t))return t==="0"&&l.eat("x")?(l.eatWhile(/[0-9a-fA-F]/),"number"):(l.eatWhile(/\d/),"number");if(/\w/.test(t))return l.eatWhile(/\w/),l.eat(":")?"tag":(a=l.current().toLowerCase(),e=i[a],e||null);for(var c=0;c]*>?/)?"variable":(n.next(),n.eatWhile(/[^@"<#]/),null)}};export{a as gherkin}; diff --git a/web-dist/js/chunks/gherkin-heZmZLOM.mjs.gz b/web-dist/js/chunks/gherkin-heZmZLOM.mjs.gz new file mode 100644 index 0000000000..c38ee28635 Binary files /dev/null and b/web-dist/js/chunks/gherkin-heZmZLOM.mjs.gz differ diff --git a/web-dist/js/chunks/groovy-D9Dt4D0W.mjs b/web-dist/js/chunks/groovy-D9Dt4D0W.mjs new file mode 100644 index 0000000000..61d6f4ccb0 --- /dev/null +++ b/web-dist/js/chunks/groovy-D9Dt4D0W.mjs @@ -0,0 +1 @@ +function a(e){for(var n={},t=e.split(" "),i=0;i"))return r="->",null;if(/[+\-*&%=<>!?|\/~]/.test(t))return e.eatWhile(/[+\-*&%=<>|~]/),"operator";if(e.eatWhile(/[\w\$_]/),t=="@")return e.eatWhile(/[\w\$_\.]/),"meta";if(n.lastToken==".")return"property";if(e.eat(":"))return r="proplabel","property";var i=e.current();return z.propertyIsEnumerable(i)?"atom":b.propertyIsEnumerable(i)?(g.propertyIsEnumerable(i)?r="newstatement":x.propertyIsEnumerable(i)&&(r="standalone"),"keyword"):"variable"}k.isBase=!0;function y(e,n,t){var i=!1;if(e!="/"&&n.eat(e))if(n.eat(e))i=!0;else return"string";function o(l,d){for(var f=!1,c,s=!i;(c=l.next())!=null;){if(c==e&&!f){if(!i)break;if(l.match(e+e)){s=!0;break}}if(e=='"'&&c=="$"&&!f){if(l.eat("{"))return d.tokenize.push(m()),"string";if(l.match(/^\w/,!1))return d.tokenize.push(E),"string"}f=!f&&c=="\\"}return s&&d.tokenize.pop(),"string"}return t.tokenize.push(o),o(n,t)}function m(){var e=1;function n(t,i){if(t.peek()=="}"){if(e--,e==0)return i.tokenize.pop(),i.tokenize[i.tokenize.length-1](t,i)}else t.peek()=="{"&&e++;return k(t,i)}return n.isBase=!0,n}function E(e,n){var t=e.match(/^(\.|[\w\$_]+)/);return(!t||!e.match(t[0]=="."?/^[\w$_]/:/^\./))&&n.tokenize.pop(),t?t[0]=="."?null:"variable":n.tokenize[n.tokenize.length-1](e,n)}function v(e,n){for(var t=!1,i;i=e.next();){if(i=="/"&&t){n.tokenize.pop();break}t=i=="*"}return"comment"}function h(e,n){return!e||e=="operator"||e=="->"||/[\.\[\{\(,;:]/.test(e)||e=="newstatement"||e=="keyword"||e=="proplabel"||e=="standalone"&&!n}function w(e,n,t,i,o){this.indented=e,this.column=n,this.type=t,this.align=i,this.prev=o}function p(e,n,t){return e.context=new w(e.indented,n,t,null,e.context)}function u(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const T={name:"groovy",startState:function(e){return{tokenize:[k],context:new w(-e,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0,t.type=="statement"&&!h(n.lastToken,!0)&&(u(n),t=n.context)),e.eatSpace())return null;r=null;var i=n.tokenize[n.tokenize.length-1](e,n);if(i=="comment")return i;if(t.align==null&&(t.align=!0),(r==";"||r==":")&&t.type=="statement")u(n);else if(r=="->"&&t.type=="statement"&&t.prev.type=="}")u(n),n.context.align=!1;else if(r=="{")p(n,e.column(),"}");else if(r=="[")p(n,e.column(),"]");else if(r=="(")p(n,e.column(),")");else if(r=="}"){for(;t.type=="statement";)t=u(n);for(t.type=="}"&&(t=u(n));t.type=="statement";)t=u(n)}else r==t.type?u(n):(t.type=="}"||t.type=="top"||t.type=="statement"&&r=="newstatement")&&p(n,e.column(),"statement");return n.startOfLine=!1,n.lastToken=r||i,i},indent:function(e,n,t){if(!e.tokenize[e.tokenize.length-1].isBase)return null;var i=n&&n.charAt(0),o=e.context;o.type=="statement"&&!h(e.lastToken,!0)&&(o=o.prev);var l=i==o.type;return o.type=="statement"?o.indented+(i=="{"?0:t.unit):o.align?o.column+(l?0:1):o.indented+(l?0:t.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']}}};export{T as groovy}; diff --git a/web-dist/js/chunks/groovy-D9Dt4D0W.mjs.gz b/web-dist/js/chunks/groovy-D9Dt4D0W.mjs.gz new file mode 100644 index 0000000000..7e5e9f3f14 Binary files /dev/null and b/web-dist/js/chunks/groovy-D9Dt4D0W.mjs.gz differ diff --git a/web-dist/js/chunks/haskell-Cw1EW3IL.mjs b/web-dist/js/chunks/haskell-Cw1EW3IL.mjs new file mode 100644 index 0000000000..b8da2a3f94 --- /dev/null +++ b/web-dist/js/chunks/haskell-Cw1EW3IL.mjs @@ -0,0 +1 @@ +function f(e,n,t){return n(t),t(e,n)}var g=/[a-z_]/,c=/[A-Z]/,l=/\d/,v=/[0-9A-Fa-f]/,w=/[0-7]/,d=/[a-z_A-Z0-9'\xa1-\uffff]/,o=/[-!#$%&*+.\/<=>?@\\^|~:]/,E=/[(),;[\]`{}]/,h=/[ \t\v\f]/;function i(e,n){if(e.eatWhile(h))return null;var t=e.next();if(E.test(t)){if(t=="{"&&e.eat("-")){var r="comment";return e.eat("#")&&(r="meta"),f(e,n,s(r,1))}return null}if(t=="'")return e.eat("\\"),e.next(),e.eat("'")?"string":"error";if(t=='"')return f(e,n,p);if(c.test(t))return e.eatWhile(d),e.eat(".")?"qualifier":"type";if(g.test(t))return e.eatWhile(d),"variable";if(l.test(t)){if(t=="0"){if(e.eat(/[xX]/))return e.eatWhile(v),"integer";if(e.eat(/[oO]/))return e.eatWhile(w),"number"}e.eatWhile(l);var r="number";return e.match(/^\.\d+/)&&(r="number"),e.eat(/[eE]/)&&(r="number",e.eat(/[-+]/),e.eatWhile(l)),r}return t=="."&&e.eat(".")?"keyword":o.test(t)?t=="-"&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(o))?(e.skipToEnd(),"comment"):(e.eatWhile(o),"variable"):"error"}function s(e,n){return n==0?i:function(t,r){for(var a=n;!t.eol();){var u=t.next();if(u=="{"&&t.eat("-"))++a;else if(u=="-"&&t.eat("}")&&(--a,a==0))return r(i),e}return r(s(e,a)),e}}function p(e,n){for(;!e.eol();){var t=e.next();if(t=='"')return n(i),"string";if(t=="\\"){if(e.eol()||e.eat(h))return n(x),"string";e.eat("&")||e.next()}}return n(i),"error"}function x(e,n){return e.eat("\\")?f(e,n,p):(e.next(),n(i),"error")}var m=(function(){var e={};function n(t){return function(){for(var r=0;r","@","~","=>"),n("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<*","<=","<$>","<*>","=<<","==",">",">=",">>",">>=","^","^^","||","*","*>","**"),n("builtin")("Applicative","Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),n("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","pure","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3"),e})();const F={name:"haskell",startState:function(){return{f:i}},copyState:function(e){return{f:e.f}},token:function(e,n){var t=n.f(e,function(a){n.f=a}),r=e.current();return m.hasOwnProperty(r)?m[r]:t},languageData:{commentTokens:{line:"--",block:{open:"{-",close:"-}"}}}};export{F as haskell}; diff --git a/web-dist/js/chunks/haskell-Cw1EW3IL.mjs.gz b/web-dist/js/chunks/haskell-Cw1EW3IL.mjs.gz new file mode 100644 index 0000000000..45406ea041 Binary files /dev/null and b/web-dist/js/chunks/haskell-Cw1EW3IL.mjs.gz differ diff --git a/web-dist/js/chunks/haxe-H-WmDvRZ.mjs b/web-dist/js/chunks/haxe-H-WmDvRZ.mjs new file mode 100644 index 0000000000..18be189ae4 --- /dev/null +++ b/web-dist/js/chunks/haxe-H-WmDvRZ.mjs @@ -0,0 +1 @@ +function o(e){return{type:e,style:"keyword"}}var P=o("keyword a"),W=o("keyword b"),g=o("keyword c"),K=o("operator"),z={type:"atom",style:"atom"},y={type:"attribute",style:"attribute"},c=o("typedef"),B={if:P,while:P,else:W,do:W,try:W,return:g,break:g,continue:g,new:g,throw:g,var:o("var"),inline:y,static:y,using:o("import"),public:y,private:y,cast:o("cast"),import:o("import"),macro:o("macro"),function:o("function"),catch:o("catch"),untyped:o("untyped"),callback:o("cb"),for:o("for"),switch:o("switch"),case:o("case"),default:o("default"),in:K,never:o("property_access"),trace:o("trace"),class:c,abstract:c,enum:c,interface:c,typedef:c,extends:c,implements:c,dynamic:c,true:z,false:z,null:z},E=/[+\-*&%=<>!?|]/;function I(e,r,n){return r.tokenize=n,n(e,r)}function L(e,r){for(var n=!1,i;(i=e.next())!=null;){if(i==r&&!n)return!0;n=!n&&i=="\\"}}var c,N;function p(e,r,n){return c=e,N=n,r}function A(e,r){var n=e.next();if(n=='"'||n=="'")return I(e,r,M(n));if(/[\[\]{}\(\),;\:\.]/.test(n))return p(n);if(n=="0"&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),p("number","number");if(/\d/.test(n)||n=="-"&&e.eat(/\d/))return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),p("number","number");if(r.reAllowed&&n=="~"&&e.eat(/\//))return L(e,"/"),e.eatWhile(/[gimsu]/),p("regexp","string.special");if(n=="/")return e.eat("*")?I(e,r,Q):e.eat("/")?(e.skipToEnd(),p("comment","comment")):(e.eatWhile(E),p("operator",null,e.current()));if(n=="#")return e.skipToEnd(),p("conditional","meta");if(n=="@")return e.eat(/:/),e.eatWhile(/[\w_]/),p("metadata","meta");if(E.test(n))return e.eatWhile(E),p("operator",null,e.current());var i;if(/[A-Z]/.test(n))return e.eatWhile(/[\w_<>]/),i=e.current(),p("type","type",i);e.eatWhile(/[\w_]/);var i=e.current(),u=B.propertyIsEnumerable(i)&&B[i];return u&&r.kwAllowed?p(u.type,u.style,i):p("variable","variable",i)}function M(e){return function(r,n){return L(r,e)&&(n.tokenize=A),p("string","string")}}function Q(e,r){for(var n=!1,i;i=e.next();){if(i=="/"&&n){r.tokenize=A;break}n=i=="*"}return p("comment","comment")}var $={atom:!0,number:!0,variable:!0,string:!0,regexp:!0};function j(e,r,n,i,u,s){this.indented=e,this.column=r,this.type=n,this.prev=u,this.info=s,i!=null&&(this.align=i)}function R(e,r){for(var n=e.localVars;n;n=n.next)if(n.name==r)return!0}function X(e,r,n,i,u){var s=e.cc;for(a.state=e,a.stream=u,a.marked=null,a.cc=s,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var k=s.length?s.pop():x;if(k(n,i)){for(;s.length&&s[s.length-1].lex;)s.pop()();return a.marked?a.marked:n=="variable"&&R(e,i)?"variableName.local":n=="variable"&&Y(e,i)?"variableName.special":r}}}function Y(e,r){if(/[a-z]/.test(r.charAt(0)))return!1;for(var n=e.importedtypes.length,i=0;i=0;e--)a.cc.push(arguments[e])}function t(){return b.apply(null,arguments),!0}function H(e,r){for(var n=r;n;n=n.next)if(n.name==e)return!0;return!1}function S(e){var r=a.state;if(r.context){if(a.marked="def",H(e,r.localVars))return;r.localVars={name:e,next:r.localVars}}else if(r.globalVars){if(H(e,r.globalVars))return;r.globalVars={name:e,next:r.globalVars}}}var ee={name:"this",next:null};function D(){a.state.context||(a.state.localVars=ee),a.state.context={prev:a.state.context,vars:a.state.localVars}}function V(){a.state.localVars=a.state.context.vars,a.state.context=a.state.context.prev}V.lex=!0;function l(e,r){var n=function(){var i=a.state;i.lexical=new j(i.indented,a.stream.column(),e,null,i.lexical,r)};return n.lex=!0,n}function f(){var e=a.state;e.lexical.prev&&(e.lexical.type==")"&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}f.lex=!0;function d(e){function r(n){return n==e?t():e==";"?b():t(r)}return r}function x(e){return e=="@"?t(Z):e=="var"?t(l("vardef"),C,d(";"),f):e=="keyword a"?t(l("form"),h,x,f):e=="keyword b"?t(l("form"),x,f):e=="{"?t(l("}"),D,_,f,V):e==";"?t():e=="attribute"?t(U):e=="function"?t(w):e=="for"?t(l("form"),d("("),l(")"),ae,d(")"),f,x,f):e=="variable"?t(l("stat"),te):e=="switch"?t(l("form"),h,l("}","switch"),d("{"),_,f,f):e=="case"?t(h,d(":")):e=="default"?t(d(":")):e=="catch"?t(l("form"),D,d("("),J,d(")"),x,f,V):e=="import"?t(q,d(";")):e=="typedef"?t(ne):b(l("stat"),h,d(";"),f)}function h(e){return $.hasOwnProperty(e)||e=="type"?t(v):e=="function"?t(w):e=="keyword c"?t(O):e=="("?t(l(")"),O,d(")"),f,v):e=="operator"?t(h):e=="["?t(l("]"),m(O,"]"),f,v):e=="{"?t(l("}"),m(ue,"}"),f,v):t()}function O(e){return e.match(/[;\}\)\],]/)?b():b(h)}function v(e,r){if(e=="operator"&&/\+\+|--/.test(r))return t(v);if(e=="operator"||e==":")return t(h);if(e!=";"){if(e=="(")return t(l(")"),m(h,")"),f,v);if(e==".")return t(ie,v);if(e=="[")return t(l("]"),h,d("]"),f,v)}}function U(e){if(e=="attribute")return t(U);if(e=="function")return t(w);if(e=="var")return t(C)}function Z(e){if(e==":"||e=="variable")return t(Z);if(e=="(")return t(l(")"),m(re,")"),f,x)}function re(e){if(e=="variable")return t()}function q(e,r){if(e=="variable"&&/[A-Z]/.test(r.charAt(0)))return F(r),t();if(e=="variable"||e=="property"||e=="."||r=="*")return t(q)}function ne(e,r){if(e=="variable"&&/[A-Z]/.test(r.charAt(0)))return F(r),t();if(e=="type"&&/[A-Z]/.test(r.charAt(0)))return t()}function te(e){return e==":"?t(f,x):b(v,d(";"),f)}function ie(e){if(e=="variable")return a.marked="property",t()}function ue(e){if(e=="variable"&&(a.marked="property"),$.hasOwnProperty(e))return t(d(":"),h)}function m(e,r){function n(i){return i==","?t(e,n):i==r?t():t(d(r))}return function(i){return i==r?t():b(e,n)}}function _(e){return e=="}"?t():b(x,_)}function C(e,r){return e=="variable"?(S(r),t(T,G)):t()}function G(e,r){if(r=="=")return t(h,G);if(e==",")return t(C)}function ae(e,r){return e=="variable"?(S(r),t(fe,h)):b()}function fe(e,r){if(r=="in")return t()}function w(e,r){if(e=="variable"||e=="type")return S(r),t(w);if(r=="new")return t(w);if(e=="(")return t(l(")"),D,m(J,")"),f,T,x,V)}function T(e){if(e==":")return t(oe)}function oe(e){if(e=="type"||e=="variable")return t();if(e=="{")return t(l("}"),m(le,"}"),f)}function le(e){if(e=="variable")return t(T)}function J(e,r){if(e=="variable")return S(r),t(T)}const ce={name:"haxe",startState:function(e){var r=["Int","Float","String","Void","Std","Bool","Dynamic","Array"],n={tokenize:A,reAllowed:!0,kwAllowed:!0,cc:[],lexical:new j(-e,0,"block",!1),importedtypes:r,context:null,indented:0};return n},token:function(e,r){if(e.sol()&&(r.lexical.hasOwnProperty("align")||(r.lexical.align=!1),r.indented=e.indentation()),e.eatSpace())return null;var n=r.tokenize(e,r);return c=="comment"?n:(r.reAllowed=!!(c=="operator"||c=="keyword c"||c.match(/^[\[{}\(,;:]$/)),r.kwAllowed=c!=".",X(r,n,c,N,e))},indent:function(e,r,n){if(e.tokenize!=A)return 0;var i=r&&r.charAt(0),u=e.lexical;u.type=="stat"&&i=="}"&&(u=u.prev);var s=u.type,k=i==s;return s=="vardef"?u.indented+4:s=="form"&&i=="{"?u.indented:s=="stat"||s=="form"?u.indented+n.unit:u.info=="switch"&&!k?u.indented+(/^(?:case|default)\b/.test(r)?n.unit:2*n.unit):u.align?u.column+(k?0:1):u.indented+(k?0:n.unit)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}},se={name:"hxml",startState:function(){return{define:!1,inString:!1}},token:function(e,r){var u=e.peek(),n=e.sol();if(u=="#")return e.skipToEnd(),"comment";if(n&&u=="-"){var i="variable-2";return e.eat(/-/),e.peek()=="-"&&(e.eat(/-/),i="keyword a"),e.peek()=="D"&&(e.eat(/[D]/),i="keyword c",r.define=!0),e.eatWhile(/[A-Z]/i),i}var u=e.peek();return r.inString==!1&&u=="'"&&(r.inString=!0,e.next()),r.inString==!0?(e.skipTo("'")||e.skipToEnd(),e.peek()=="'"&&(e.next(),r.inString=!1),"string"):(e.next(),null)},languageData:{commentTokens:{line:"#"}}};export{ce as haxe,se as hxml}; diff --git a/web-dist/js/chunks/haxe-H-WmDvRZ.mjs.gz b/web-dist/js/chunks/haxe-H-WmDvRZ.mjs.gz new file mode 100644 index 0000000000..1a7e911924 Binary files /dev/null and b/web-dist/js/chunks/haxe-H-WmDvRZ.mjs.gz differ diff --git a/web-dist/js/chunks/http-DBlCnlav.mjs b/web-dist/js/chunks/http-DBlCnlav.mjs new file mode 100644 index 0000000000..7b06438bb7 --- /dev/null +++ b/web-dist/js/chunks/http-DBlCnlav.mjs @@ -0,0 +1 @@ +function u(r,n){return r.skipToEnd(),n.cur=t,"error"}function i(r,n){return r.match(/^HTTP\/\d\.\d/)?(n.cur=f,"keyword"):r.match(/^[A-Z]+/)&&/[ \t]/.test(r.peek())?(n.cur=d,"keyword"):u(r,n)}function f(r,n){var e=r.match(/^\d+/);if(!e)return u(r,n);n.cur=l;var o=Number(e[0]);return o>=100&&o<400?"atom":"error"}function l(r,n){return r.skipToEnd(),n.cur=t,null}function d(r,n){return r.eatWhile(/\S/),n.cur=s,"string.special"}function s(r,n){return r.match(/^HTTP\/\d\.\d$/)?(n.cur=t,"keyword"):u(r,n)}function t(r){return r.sol()&&!r.eat(/[ \t]/)?r.match(/^.*?:/)?"atom":(r.skipToEnd(),"error"):(r.skipToEnd(),"string")}function c(r){return r.skipToEnd(),null}const p={name:"http",token:function(r,n){var e=n.cur;return e!=t&&e!=c&&r.eatSpace()?null:e(r,n)},blankLine:function(r){r.cur=c},startState:function(){return{cur:i}}};export{p as http}; diff --git a/web-dist/js/chunks/http-DBlCnlav.mjs.gz b/web-dist/js/chunks/http-DBlCnlav.mjs.gz new file mode 100644 index 0000000000..50bd379fcf Binary files /dev/null and b/web-dist/js/chunks/http-DBlCnlav.mjs.gz differ diff --git a/web-dist/js/chunks/icon-BPAP2zgX.mjs b/web-dist/js/chunks/icon-BPAP2zgX.mjs new file mode 100644 index 0000000000..c99fcdd68d --- /dev/null +++ b/web-dist/js/chunks/icon-BPAP2zgX.mjs @@ -0,0 +1 @@ +const n="oc-resource-icon-mapping",r={archive:{icon:{name:"resource-type-archive",color:"var(--oc-color-icon-archive)"},extensions:["7z","apk","bz2","deb","gz","gzip","rar","tar","tar.bz2","tar.gz","tar.xz","tbz2","tgz","zip"]},audio:{icon:{name:"resource-type-audio",color:"var(--oc-color-icon-audio)"},extensions:["3gp","8svx","aa","aac","aax","act","aiff","alac","amr","ape","au","awb","cda","dss","dvf","flac","gsm","iklax","ivs","m4a","m4b","m4p","mmf","mogg","movpkg","mp3","mpc","msv","nmf","oga","ogga","opus","ra","raw","rf64","rm","sln","tta","voc","vox","wav","wma","wv"]},code:{icon:{name:"resource-type-code",color:"var(--oc-role-on-surface)"},extensions:["bash","c++","c","cc","cpp","css","feature","go","h","hh","hpp","htm","html","java","js","json","php","pl","py","scss","sh","sh-lib","sql","ts","xml","yaml","yml"]},default:{icon:{name:"resource-type-file",color:"var(--oc-role-on-surface)"},extensions:["accdb","rss","swf"]},drawio:{icon:{name:"resource-type-drawio",color:"var(--oc-color-icon-drawio)"},extensions:["drawio"]},document:{icon:{name:"resource-type-document",color:"var(--oc-color-icon-document)"},extensions:["doc","docm","docx","dot","dotx","lwp","odt","one","vsd","wpd"]},ifc:{icon:{name:"resource-type-ifc",color:"var(--oc-color-icon-ifc)"},extensions:["ifc"]},ipynb:{icon:{name:"resource-type-jupyter",color:"var(--oc-color-icon-jupyter)"},extensions:["ipynb"]},image:{icon:{name:"resource-type-image",color:"var(--oc-color-icon-image)"},extensions:["ai","cdr","eot","eps","gif","jpeg","jpg","otf","pfb","png","ps","psd","svg","ttf","webp","woff","xcf"]},form:{icon:{name:"resource-type-form",color:"var(--oc-color-icon-form)"},extensions:["docf","docxf","oform"]},markdown:{icon:{name:"resource-type-markdown",color:"var(--oc-color-icon-markdown)"},extensions:["md","markdown"]},odg:{icon:{name:"resource-type-graphic",color:"var(--oc-color-icon-graphic)"},extensions:["odg"]},pdf:{icon:{name:"resource-type-pdf",color:"var(--oc-color-icon-pdf)"},extensions:["pdf"]},presentation:{icon:{name:"resource-type-presentation",color:"var(--oc-color-icon-presentation)"},extensions:["odp","otp","pot","potm","potx","ppa","ppam","pps","ppsm","ppsx","ppt","pptm","pptx"]},root:{icon:{name:"resource-type-root",color:"var(--oc-color-icon-root)"},extensions:["root"]},spreadsheet:{icon:{name:"resource-type-spreadsheet",color:"var(--oc-color-icon-spreadsheet)"},extensions:["csv","ods","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx"]},text:{icon:{name:"resource-type-text",color:"var(--oc-role-on-surface)"},extensions:["cb7","cba","cbr","cbt","cbtc","cbz","cvbdl","eml","mdb","tex","txt"]},url:{icon:{name:"resource-type-url",color:"var(--oc-role-on-surface)"},extensions:["url"]},video:{icon:{name:"resource-type-video",color:"var(--oc-color-icon-video)"},extensions:["mov","mp4","webm","wmv"]},epub:{icon:{name:"resource-type-book",color:"var(--oc-color-icon-epub)"},extensions:["epub"]},board:{icon:{name:"resource-type-board"},extensions:["ggs"]},notes:{icon:{name:"resource-type-sticky-note",color:"var(--oc-color-icon-notes)"},extensions:["ocnb"]}};function s(){const o={};return Object.values(r).forEach(e=>{e.extensions.forEach(c=>{o[c]=e.icon})}),o}export{s as c,n as r}; diff --git a/web-dist/js/chunks/icon-BPAP2zgX.mjs.gz b/web-dist/js/chunks/icon-BPAP2zgX.mjs.gz new file mode 100644 index 0000000000..ae628bc20e Binary files /dev/null and b/web-dist/js/chunks/icon-BPAP2zgX.mjs.gz differ diff --git a/web-dist/js/chunks/idl-BEugSyMb.mjs b/web-dist/js/chunks/idl-BEugSyMb.mjs new file mode 100644 index 0000000000..a779fbe847 --- /dev/null +++ b/web-dist/js/chunks/idl-BEugSyMb.mjs @@ -0,0 +1 @@ +function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var r=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extract","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],a=t(r),i=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],_=t(i),o=new RegExp("^[_a-z¡-￿][_a-z0-9¡-￿]*","i"),l=/[+\-*&=<>\/@#~$]/,s=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");function n(e){return e.eatSpace()?null:e.match(";")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(_)?"keyword":e.match(a)?"builtin":e.match(o)?"variable":e.match(l)||e.match(s)?"operator":(e.next(),null)}const d={name:"idl",token:function(e){return n(e)},languageData:{autocomplete:r.concat(i)}};export{d as idl}; diff --git a/web-dist/js/chunks/idl-BEugSyMb.mjs.gz b/web-dist/js/chunks/idl-BEugSyMb.mjs.gz new file mode 100644 index 0000000000..dd4298d078 Binary files /dev/null and b/web-dist/js/chunks/idl-BEugSyMb.mjs.gz differ diff --git a/web-dist/js/chunks/index-0dfTDT3y.mjs b/web-dist/js/chunks/index-0dfTDT3y.mjs new file mode 100644 index 0000000000..3e83098b1b --- /dev/null +++ b/web-dist/js/chunks/index-0dfTDT3y.mjs @@ -0,0 +1 @@ +import{n as f,o as p,a as x,p as X,q as y,g as h,L as G,s as Z,t as Q,i as S,k as b,f as j,e as V,E as c}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const W=1,k=2,w=3,v=180,R=4,_=181,z=5,E=182,U=6;function D(O){return O>=65&&O<=90||O>=97&&O<=122}const F=new c(O=>{let a=O.pos;for(;;){let{next:r}=O;if(r<0)break;if(r==123){let n=O.peek(1);if(n==123){if(O.pos>a)break;O.acceptToken(W,2);return}else if(n==37){if(O.pos>a)break;let $=2,i=2;for(;;){let e=O.peek($);if(e==32||e==10)++$;else if(e==35)for(++$;;){let t=O.peek($);if(t<0||t==10)break;$++}else if(e==45&&i==2)i=++$;else{let t=e==101&&O.peek($+1)==110&&O.peek($+2)==100;O.acceptToken(t?w:k,i);return}}}}if(O.advance(),r==10)break}O.pos>a&&O.acceptToken(v)});function u(O,a,r){return new c(n=>{let $=n.pos;for(;;){let{next:i}=n;if(i==123&&n.peek(1)==37){let e=2;for(;;e++){let o=n.peek(e);if(o!=32&&o!=10)break}let t="";for(;;e++){let o=n.peek(e);if(!D(o))break;t+=String.fromCharCode(o)}if(t==O){if(n.pos>$)break;n.acceptToken(r,2);break}}else if(i<0)break;if(n.advance(),i==10)break}n.pos>$&&n.acceptToken(a)})}const C=u("endcomment",E,z),Y=u("endraw",_,R),N=new c(O=>{if(O.next==35){for(O.advance();!(O.next==10||O.next<0||(O.next==37||O.next==125)&&O.peek(1)==125);)O.advance();O.acceptToken(U)}}),I={__proto__:null,contains:34,or:38,and:38,true:52,false:52,empty:54,forloop:57,tablerowloop:59,continue:61,in:131,with:197,for:199,as:201,if:237,endif:241,unless:247,endunless:251,elsif:255,else:259,case:265,endcase:269,when:273,endfor:281,tablerow:287,endtablerow:291,break:295,cycle:301,echo:305,render:309,include:313,assign:317,capture:323,endcapture:327,increment:331,decrement:335},L={__proto__:null,if:86,endif:90,elsif:94,else:98,unless:104,endunless:108,case:114,endcase:118,when:122,for:128,endfor:138,tablerow:144,endtablerow:148,break:152,continue:156,cycle:160,comment:166,endcomment:172,raw:178,endraw:184,echo:188,render:192,include:204,assign:208,capture:214,endcapture:218,increment:222,decrement:226,liquid:230},H=V.deserialize({version:14,states:"KtQYOPOOOOOP'#F{'#F{OeOaO'#CdOsQhO'#CfO!bQxO'#DSO#{OPO'#DVO$ZOPO'#D`O$iOPO'#DeO$wOPO'#DlO%VOPO'#DtO%eOSO'#EPO%jOQO'#EVO%oOPO'#EiOOOP'#Ge'#GeOOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQW'#Cg'#CgO&cQ!jO,59QO&jQ!jO'#G^OsQhO'#CtOOQW'#Gb'#GbOOQW'#Gc'#GcOOQW'#Gd'#GdOOQW'#G^'#G^OOOP,59n,59nO)YQhO,59nOsQhO,59rOsQhO,59vO)dQhO,59xOsQhO,59{OsQhO,5:QOsQhO,5:UO!]QhO,5:XO!]QhO,5:aO)iQhO,5:eO)nQhO,5:gO)sQhO,5:iO)xQhO,5:lO)}QhO,5:rOsQhO,5:wOsQhO,5:yOsQhO,5;POsQhO,5;ROsQhO,5;UOsQhO,5;YOsQhO,5;[O+^QhO,5;^O+eOPO'#CdOOOP,59q,59qO#{OPO,59qO+sQxO'#DYOOOP,59z,59zO$ZOPO,59zO+xQxO'#DcOOOP,5:P,5:PO$iOPO,5:PO+}QxO'#DhOOOP,5:W,5:WO$wOPO,5:WO,SQxO'#DrOOOP,5:`,5:`O%VOPO,5:`O,XQxO'#DwOOOS'#GQ'#GQO,^OSO'#ESO,fOSO,5:kOOOQ'#GR'#GRO,kOQO'#EYO,sOQO,5:qOOOP,5;T,5;TO%oOPO,5;TO,xQxO'#ElOOOP-E9x-E9xO,}Q#|O,59SOsQhO,59VOsQhO,59WOsQhO,59WO-SQhO'#C}OOQW'#F|'#F|O-XQhO1G.lOOOP1G.l1G.lOsQhO,59WOsQhO,59[O-rQ!jO,59`O-yQ!jO1G/YO.QQhO1G/YOOOP1G/Y1G/YO.YQ!jO1G/^O.aQ!jO1G/bOOOP1G/d1G/dO.hQ!jO1G/gO.oQ!jO1G/lO.vQ!jO1G/pO/QQhO1G/sO/QQhO1G/{OOOP1G0P1G0POOOP1G0R1G0RO/VQhO1G0TOOOS1G0W1G0WOOOQ1G0^1G0^O/bQ!jO1G0cO/iQ!jO1G0eO/yQ!jO1G0kO0QQ!jO1G0mO0XQ!jO1G0pO0`Q!jO1G0tO0gQ!jO1G0vOOQW'#Gh'#GhOOQW'#Gk'#GkOsQhO'#EuO0nQhO'#EtOOQW'#Gm'#GmOsQhO'#EzO0uQhO'#EyOOQW'#Go'#GoOsQhO'#FOOOQW'#Gp'#GpOOQW'#FQ'#FQOOQW'#Gq'#GqOsQhO'#FTO0|QhO'#FSOOQW'#Gs'#GsOsQhO'#FXO!]QhO'#F[O1TQhO'#FZOOQW'#Gu'#GuO!]QhO'#F`O1[QhO'#F_OOQW'#Gw'#GwOOQW'#Fd'#FdOOQW'#Ff'#FfOOQW'#Gx'#GxO1cQhO'#FgOOQW'#Gy'#GyOsQhO'#FiOOQW'#Gz'#GzOsQhO'#FkOOQW'#G{'#G{OsQhO'#FmOOQW'#G|'#G|OsQhO'#FoOOQW'#G}'#G}OsQhO'#FrO1hQhO'#FqOOQW'#HP'#HPOsQhO'#FvOOQW'#HQ'#HQOsQhO'#FxOOQW'#Gj'#GjOOQW'#GT'#GTO1oQhO1G0xOOOP1G0x1G0xOOOP1G/]1G/]O1vQhO,59tOOOP1G/f1G/fO1{QhO,59}OOOP1G/k1G/kO2QQhO,5:SOOOP1G/r1G/rO2VQhO,5:^OOOP1G/z1G/zO2[QhO,5:cOOOS-E:O-E:OOOOP1G0V1G0VO2aQxO'#ETOOOQ-E:P-E:POOOP1G0]1G0]O2fQxO'#EZOOOP1G0o1G0oO2kQhO,5;WOOQW1G.n1G.nO2pQ!jO1G.qO5aQ!jO1G.rO5hQ!jO1G.rOOQW'#DP'#DPO7vQhO,59iOOQW-E9z-E9zOOOP7+$W7+$WO9pQ!jO1G.rO9wQ!jO1G.vOsQhO1G.zOxQ!jO,5;fOOQW'#Gn'#GnOOQW'#E|'#E|OOQW,5;e,5;eO0uQhO,5;eO@XQ!jO,5;jOAzQ!jO,5;oOOQW'#Gr'#GrOOQW'#FV'#FVOOQW,5;n,5;nO0|QhO,5;nOCZQ!jO,5;sO/QQhO,5;vOOQW'#Gt'#GtOOQW'#F]'#F]OOQW,5;u,5;uO1TQhO,5;uO/QQhO,5;zOOQW'#Gv'#GvOOQW'#Fb'#FbOOQW,5;y,5;yO1[QhO,5;yOEPQhO,5eOOOPAN>eAN>eO!6OQhOAN>mOOOPAN>mAN>mO!6WQhOAN>uOOOPAN>uAN>uOsQhO1G0gOOQW'#Gi'#GiO!]QhO1G0gO!6`Q!jO7+&|O!7rQ!jO7+'QO!9UQhO7+'XOOQW-E:S-E:SO!:xQhO<kQhO<W>h>x?Y?j?z@O@`m^OTUVWX[`!T!W!Z!^!a!j!vdReklmopqyz{|}!O!P!n!o!p!u!v#c#f#i#m#p#|$O$Q$S$U$X$Z$|%T%X%Y%c&q'X'Z'q'yQ#RrQ#SsQ&O#qQ&T#tQ'O%bR(P's!wiReklmopqyz{|}!O!P!n!o!p!u!v#c#f#i#m#p#|$O$Q$S$U$X$Z$|%T%X%Y%c&q'X'Z'q'ym!rck!s!x!y#Y#]$}%_%h&Z&^'_'bR$w!qm]OTUVWX[`!T!W!Z!^!a!jmTOTUVWX[`!T!W!Z!^!a!jQ!STR$`!TmUOTUVWX[`!T!W!Z!^!a!jQ!VUR$b!WmVOTUVWX[`!T!W!Z!^!a!jQ!YVR$d!ZmWOTUVWX[`!T!W!Z!^!a!ja'j&w&x'k'm't'u(Q(Ra'i&w&x'k'm't'u(Q(RQ!]WR$f!^mXOTUVWX[`!T!W!Z!^!a!jQ!`XR$h!amYOTUVWX[`!T!W!Z!^!a!jR!eYR$k!emZOTUVWX[`!T!W!Z!^!a!jR!hZR$n!hS%d#Z%eT'`&['am[OTUVWX[`!T!W!Z!^!a!jQ!i[R$p!jm$[!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm#d!Q#d#g#n#r#u$V$^%q%v%|&S&X&cQ%p#dR'T%qm#g!Q#d#g#n#r#u$V$^%q%v%|&S&X&cQ%u#gR'U%vm#n!Q#d#g#n#r#u$V$^%q%v%|&S&X&cQ%{#nR'V%|m#r!Q#d#g#n#r#u$V$^%q%v%|&S&X&cQ&R#rR'Y&Sm#u!Q#d#g#n#r#u$V$^%q%v%|&S&X&cQ&W#uR'[&Xm$V!Q#d#g#n#r#u$V$^%q%v%|&S&X&cQ&b$VR'c&cQ`OQ!TTQ!WUQ!ZVQ!^WQ!aXQ!j[_!l`!T!W!Z!^!a!jSQO`SaQ!Ri!RTUVWX[!T!W!Z!^!a!jQ!scQ!yk^$x!s!y$}%_%h'_'bQ$}!xQ%_#YQ%h#]Q'_&ZR'b&^Q%U#QU&u%U'W'xQ'W%}R'x'fQ'k&wQ'm&xW'z'k'm(Q(RQ(Q'tR(R'uQ%[#VW&z%[']'o(SQ']&YQ'o&|R(S'vQ!dYR$j!dQ!gZR$m!gQ%e#ZR'Q%eQ$^!QQ%q#dQ%v#gQ%|#nQ&S#rQ&X#uQ&c$V_&f$^%q%v%|&S&X&cQ'a&[R'w'am_OTUVWX[`!T!W!Z!^!a!jQcRQ!weQ!xkQ!{lQ!|mQ#OoQ#PpQ#QqQ#YyQ#ZzQ#[{Q#]|Q#^}Q#_!OQ#`!PQ$s!nQ$t!oQ$u!pQ$z!uQ${!vQ%m#cQ%r#fQ%w#iQ%x#mQ%}#pQ&Z#|Q&[$OQ&]$QQ&^$SQ&_$UQ&d$XQ&e$ZQ&r$|Q&t%TQ&w%XQ&x%YQ'P%cQ'f&qQ't'XQ'u'ZQ(O'qR(T'y!viReklmopqyz{|}!O!P!n!o!p!u!v#c#f#i#m#p#|$O$Q$S$U$X$Z$|%T%X%Y%c&q'X'Z'q'ym#x!Q#d#g#n#r#u$V$^%q%v%|&S&X&cQ%X#RQ%Y#SQ'X&OR'Z&TX%c#Z%e&['al#q!Q#d#g#n#r#u$V$^%q%v%|&S&X&cX%c#Z%e&['aR's'Pm$]!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm#c!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT%o#d%qm#f!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT%t#g%vm#i!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm#k!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm#m!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT%z#n%|m#p!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT&Q#r&Sm#t!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT&V#u&Xm#w!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm#z!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm#|!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$O!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$Q!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$S!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$U!Q#d#g#n#r#u$V$^%q%v%|&S&X&cT&a$V&cm$X!Q#d#g#n#r#u$V$^%q%v%|&S&X&cm$Z!Q#d#g#n#r#u$V$^%q%v%|&S&X&c",nodeNames:"⚠ {{ {% {% {% {% InlineComment Template Text }} Interpolation VariableName MemberExpression . PropertyName SubscriptExpression BinaryExpression contains CompareOp LogicOp AssignmentExpression AssignOp ) ( RangeExpression .. BooleanLiteral empty forloop tablerowloop continue StringLiteral NumberLiteral Filter | FilterName : , Tag TagName %} IfDirective Tag if EndTag endif Tag elsif Tag else UnlessDirective Tag unless EndTag endunless CaseDirective Tag case EndTag endcase Tag when ForDirective Tag for in Parameter ParameterName EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag continue Tag cycle Comment Tag comment CommentText EndTag endcomment RawDirective Tag raw RawText EndTag endraw Tag echo Tag render RenderParameter with for as Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement Tag liquid IfDirective Tag if EndTag endif UnlessDirective Tag unless EndTag endunless Tag elsif Tag else CaseDirective Tag case EndTag endcase Tag when ForDirective Tag EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag Tag cycle Tag echo Tag render Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement",maxTerm:220,nodeProps:[["closedBy",1,"}}",-4,2,3,4,5,"%}",23,")"],["openedBy",9,"{{",22,"(",40,"{%"],["group",-13,11,12,15,16,20,24,26,27,28,29,30,31,32,"Expression"]],skippedNodes:[0,6],repeatNodeCount:11,tokenData:")e~RmXY!|YZ!|]^!|pq!|qr#_rs#juv$[wx$gxy%Syz%X{|%^|}&x}!O&}!O!P'Z!Q![&g![!]'k!^!_'p!_!`'x!`!a'p!c!}(Q!}#O(y#P#Q)O#R#S(Q#T#o(Q#p#q)T#q#r)Y%W;'S(Q;'S;:j(s<%lO(Q~#RS%O~XY!|YZ!|]^!|pq!|~#bP!_!`#e~#jOb~~#mUOY#jZr#jrs$Ps;'S#j;'S;=`$U<%lO#j~$UOo~~$XP;=`<%l#j~$_P#q#r$b~$gOx~~$jUOY$gZw$gwx$Px;'S$g;'S;=`$|<%lO$g~%PP;=`<%l$g~%XOg~~%^Of~P%aQ!O!P%g!Q![&gP%jP!Q![%mP%rRpP!Q![%m!g!h%{#X#Y%{P&OR{|&X}!O&X!Q![&_P&[P!Q![&_P&dPpP!Q![&_P&lSpP!O!P%g!Q![&g!g!h%{#X#Y%{~&}Ou~~'QRuv$[!O!P%g!Q![&g~'`Q]S!O!P'f!Q![%m~'kOi~~'pOt~~'uPb~!_!`#e~'}Pe~!_!`#e_(ZW^WwQ%RT}!O(Q!Q![(Q!c!}(Q#R#S(Q#T#o(Q%W;'S(Q;'S;:j(s<%lO(Q_(vP;=`<%l(Q~)OO%T~~)TO%S~~)YOr~~)]P#q#r)`~)eOX~",tokenizers:[F,Y,C,N,0,1,2,3],topRules:{Template:[0,7]},dynamicPrecedences:{190:1,191:1,192:1,194:1,195:1,196:1,197:1,199:1,200:1,201:1,202:1,203:1,204:1,205:1,206:1,207:1,208:1,209:1,210:1,211:1,212:1,213:1,214:1,215:1,216:1,217:1,218:1,219:1,220:1},specialized:[{term:187,get:O=>I[O]||-1},{term:39,get:O=>L[O]||-1}],tokenPrec:0});function l(O,a){return O.split(" ").map(r=>({label:r,type:a}))}const P=l("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),m=l("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),T=l("empty forloop tablerowloop in with as","keyword"),A=l("first index index0 last length rindex","property"),B=l("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function M(O){var a;let{state:r,pos:n}=O,$=h(r).resolveInner(n,-1).enterUnfinishedNodesBefore(n),i=((a=$.childBefore(n))===null||a===void 0?void 0:a.name)||$.name;if($.name=="FilterName")return{type:"filter",node:$};if(O.explicit&&i=="|")return{type:"filter"};if($.name=="TagName")return{type:"tag",node:$};if(O.explicit&&i=="{%")return{type:"tag"};if($.name=="PropertyName"&&$.parent.name=="MemberExpression")return{type:"property",node:$,target:$.parent};if($.name=="."&&$.parent.name=="MemberExpression")return{type:"property",target:$.parent};if($.name=="MemberExpression"&&i==".")return{type:"property",target:$};if($.name=="VariableName")return{type:"expression",from:$.from};let e=O.matchBefore(/[\w\u00c0-\uffff]+$/);return e?{type:"expression",from:e.from}:O.explicit&&$.name!="CommentText"&&$.name!="StringLiteral"&&$.name!="NumberLiteral"&&$.name!="InlineComment"?{type:"expression"}:null}function K(O,a,r,n){let $=[];for(;;){let i=a.getChild("Expression");if(!i)return[];if(i.name=="VariableName"||i.name=="forloop"||i.name=="tablerowloop"){let e=O.sliceDoc(i.from,i.to);if(e=="forloop")return $.length?[]:A;if(e=="tablerowloop")return $.length?[]:B;$.unshift(e);break}else if(i.name=="MemberExpression"){let e=i.getChild("PropertyName");e&&$.unshift(O.sliceDoc(e.from,e.to)),a=i}else if(i.name=="SubscriptExpression"){let e=i.getChildren("Expression")[1];$.unshift(e?.name=="StringLiteral"?O.sliceDoc(e.from+1,e.to-1):"[]"),a=i}else return[]}return n?n($,O,r):[]}function J(O={}){let a=O.filters?O.filters.concat(P):P,r=O.tags?O.tags.concat(m):m,n=O.variables?O.variables.concat(T):T,{properties:$}=O;return i=>{var e;let t=M(i);if(!t)return null;let o=(e=t.from)!==null&&e!==void 0?e:t.node?t.node.from:i.pos,s;return t.type=="filter"?s=a:t.type=="tag"?s=r:t.type=="expression"?s=n:s=K(i.state,t.target,i,$),s.length?{options:s,from:o,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const OO=f.inputHandler.of((O,a,r,n)=>n!="%"||a!=r||O.state.doc.sliceString(a-1,r+1)!="{}"?!1:(O.dispatch(O.state.changeByRange($=>({changes:{from:$.from,to:$.to,insert:"%%"},range:p.cursor($.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function d(O){return a=>{let r=O.test(a.textAfter);return a.lineIndent(a.node.from)+(r?0:a.unit)}}const $O=G.define({name:"liquid",parser:H.configure({props:[Z({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":Q.keyword,"empty forloop tablerowloop":Q.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":Q.controlKeyword,"assign capture endcapture":Q.definitionKeyword,contains:Q.operatorKeyword,"render include":Q.moduleKeyword,VariableName:Q.variableName,TagName:Q.tagName,FilterName:Q.function(Q.variableName),PropertyName:Q.propertyName,CompareOp:Q.compareOperator,AssignOp:Q.definitionOperator,LogicOp:Q.logicOperator,NumberLiteral:Q.number,StringLiteral:Q.string,BooleanLiteral:Q.bool,InlineComment:Q.lineComment,CommentText:Q.blockComment,"{% %} {{ }}":Q.brace,"[ ]":Q.bracket,"( )":Q.paren,".":Q.derefOperator,", .. : |":Q.punctuation}),S.add({Tag:b({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":d(/^\s*(\{%-?\s*)?end\w/),IfDirective:d(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:d(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),j.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let a=O.firstChild,r=O.lastChild;return!a||a.name!="Tag"?null:{from:a.to,to:r.name=="EndTag"?r.from:O.to}}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),q=X();function g(O){return $O.configure({wrap:y(a=>a.type.isTop?{parser:O.parser,overlay:r=>r.name=="Text"||r.name=="RawText"}:null)},"liquid")}const aO=g(q.language);function tO(O={}){let a=O.base||q,r=a.language==q.language?aO:g(a.language);return new x(r,[a.support,r.data.of({autocomplete:J(O)}),a.language.data.of({closeBrackets:{brackets:["{"]}}),OO])}export{OO as closePercentBrace,tO as liquid,J as liquidCompletionSource,aO as liquidLanguage}; diff --git a/web-dist/js/chunks/index-0dfTDT3y.mjs.gz b/web-dist/js/chunks/index-0dfTDT3y.mjs.gz new file mode 100644 index 0000000000..b4fbe554eb Binary files /dev/null and b/web-dist/js/chunks/index-0dfTDT3y.mjs.gz differ diff --git a/web-dist/js/chunks/index-B2C3-0oc.mjs b/web-dist/js/chunks/index-B2C3-0oc.mjs new file mode 100644 index 0000000000..c43700b787 --- /dev/null +++ b/web-dist/js/chunks/index-B2C3-0oc.mjs @@ -0,0 +1,3 @@ +import{e as D,E as h,C as L,s as H,t as n,b as B,g as K,a as M,L as OO,i as eO,k as f,f as iO,l as aO,N as nO,I as rO,d as QO,m as d}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const tO=1,Z=194,j=195,oO=196,x=197,dO=198,sO=199,lO=200,TO=2,E=3,u=201,SO=24,pO=25,qO=49,gO=50,mO=55,PO=56,$O=57,hO=59,cO=60,fO=61,XO=62,yO=63,zO=65,WO=238,vO=71,RO=241,kO=242,_O=243,xO=244,uO=245,UO=246,bO=247,VO=248,Y=72,GO=249,wO=250,ZO=251,jO=252,EO=253,YO=254,FO=255,CO=256,JO=73,AO=77,NO=263,IO=112,DO=130,LO=151,HO=152,BO=155,p=10,q=13,k=32,c=9,_=35,KO=40,MO=46,R=123,U=125,F=39,C=34,b=92,Oe=111,ee=120,ie=78,ae=117,ne=85,re=new Set([pO,qO,gO,NO,zO,DO,PO,$O,WO,XO,yO,Y,JO,AO,cO,fO,LO,HO,BO,IO]);function X(O){return O==p||O==q}function y(O){return O>=48&&O<=57||O>=65&&O<=70||O>=97&&O<=102}const Qe=new h((O,e)=>{let i;if(O.next<0)O.acceptToken(sO);else if(e.context.flags&P)X(O.next)&&O.acceptToken(dO,1);else if(((i=O.peek(-1))<0||X(i))&&e.canShift(x)){let a=0;for(;O.next==k||O.next==c;)O.advance(),a++;(O.next==p||O.next==q||O.next==_)&&O.acceptToken(x,-a)}else X(O.next)&&O.acceptToken(oO,1)},{contextual:!0}),te=new h((O,e)=>{let i=e.context;if(i.flags)return;let a=O.peek(-1);if(a==p||a==q){let r=0,Q=0;for(;;){if(O.next==k)r++;else if(O.next==c)r+=8-r%8;else break;O.advance(),Q++}r!=i.indent&&O.next!=p&&O.next!=q&&O.next!=_&&(r[O,e|J])),se=new L({start:oe,reduce(O,e,i,a){return O.flags&P&&re.has(e)||(e==vO||e==Y)&&O.flags&J?O.parent:O},shift(O,e,i,a){return e==Z?new $(O,de(a.read(a.pos,i.pos)),0):e==j?O.parent:e==SO||e==mO||e==hO||e==E?new $(O,0,P):V.has(e)?new $(O,0,V.get(e)|O.flags&P):O},hash(O){return O.hash}}),le=new h(O=>{for(let e=0;e<5;e++){if(O.next!="print".charCodeAt(e))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let e=0;;e++){let i=O.peek(e);if(!(i==k||i==c)){i!=KO&&i!=MO&&i!=p&&i!=q&&i!=_&&O.acceptToken(tO);return}}}),Te=new h((O,e)=>{let{flags:i}=e.context,a=i&s?C:F,r=(i&l)>0,Q=!(i&T),t=(i&S)>0,o=O.pos;for(;!(O.next<0);)if(t&&O.next==R)if(O.peek(1)==R)O.advance(2);else{if(O.pos==o){O.acceptToken(E,1);return}break}else if(Q&&O.next==b){if(O.pos==o){O.advance();let g=O.next;g>=0&&(O.advance(),Se(O,g)),O.acceptToken(TO);return}break}else if(O.next==b&&!Q&&O.peek(1)>-1)O.advance(2);else if(O.next==a&&(!r||O.peek(1)==a&&O.peek(2)==a)){if(O.pos==o){O.acceptToken(u,r?3:1);return}break}else if(O.next==p){if(r)O.advance();else if(O.pos==o){O.acceptToken(u);return}break}else O.advance();O.pos>o&&O.acceptToken(lO)});function Se(O,e){if(e==Oe)for(let i=0;i<2&&O.next>=48&&O.next<=55;i++)O.advance();else if(e==ee)for(let i=0;i<2&&y(O.next);i++)O.advance();else if(e==ae)for(let i=0;i<4&&y(O.next);i++)O.advance();else if(e==ne)for(let i=0;i<8&&y(O.next);i++)O.advance();else if(e==ie&&O.next==R){for(O.advance();O.next>=0&&O.next!=U&&O.next!=F&&O.next!=C&&O.next!=p;)O.advance();O.next==U&&O.advance()}}const pe=H({'async "*" "**" FormatConversion FormatSpec':n.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":n.controlKeyword,"in not and or is del":n.operatorKeyword,"from def class global nonlocal lambda":n.definitionKeyword,import:n.moduleKeyword,"with as print":n.keyword,Boolean:n.bool,None:n.null,VariableName:n.variableName,"CallExpression/VariableName":n.function(n.variableName),"FunctionDefinition/VariableName":n.function(n.definition(n.variableName)),"ClassDefinition/VariableName":n.definition(n.className),PropertyName:n.propertyName,"CallExpression/MemberExpression/PropertyName":n.function(n.propertyName),Comment:n.lineComment,Number:n.number,String:n.string,FormatString:n.special(n.string),Escape:n.escape,UpdateOp:n.updateOperator,"ArithOp!":n.arithmeticOperator,BitOp:n.bitwiseOperator,CompareOp:n.compareOperator,AssignOp:n.definitionOperator,Ellipsis:n.punctuation,At:n.meta,"( )":n.paren,"[ ]":n.squareBracket,"{ }":n.brace,".":n.derefOperator,", ;":n.separator}),qe={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert:218,type:223,elif:236,while:240,try:246,except:248,finally:250,with:254,def:258,class:268,match:279,case:285},ge=D.deserialize({version:14,states:"##jO`QeOOP$}OSOOO&WQtO'#HUOOQS'#Co'#CoOOQS'#Cp'#CpO'vQdO'#CnO*UQtO'#HTOOQS'#HU'#HUOOQS'#DU'#DUOOQS'#HT'#HTO*rQdO'#D_O+VQdO'#DfO+gQdO'#DjO+zOWO'#DuO,VOWO'#DvO.[QtO'#GuOOQS'#Gu'#GuO'vQdO'#GtO0ZQtO'#GtOOQS'#Eb'#EbO0rQdO'#EcOOQS'#Gs'#GsO0|QdO'#GrOOQV'#Gr'#GrO1XQdO'#FYOOQS'#G^'#G^O1^QdO'#FXOOQV'#IS'#ISOOQV'#Gq'#GqOOQV'#Fq'#FqQ`QeOOO'vQdO'#CqO1lQdO'#C}O1sQdO'#DRO2RQdO'#HYO2cQtO'#EVO'vQdO'#EWOOQS'#EY'#EYOOQS'#E['#E[OOQS'#E^'#E^O2wQdO'#E`O3_QdO'#EdO3rQdO'#EfO3zQtO'#EfO1XQdO'#EiO0rQdO'#ElO1XQdO'#EnO0rQdO'#EtO0rQdO'#EwO4VQdO'#EyO4^QdO'#FOO4iQdO'#EzO0rQdO'#FOO1XQdO'#FQO1XQdO'#FVO4nQdO'#F[P4uOdO'#GpPOOO)CBd)CBdOOQS'#Ce'#CeOOQS'#Cf'#CfOOQS'#Cg'#CgOOQS'#Ch'#ChOOQS'#Ci'#CiOOQS'#Cj'#CjOOQS'#Cl'#ClO'vQdO,59OO'vQdO,59OO'vQdO,59OO'vQdO,59OO'vQdO,59OO'vQdO,59OO5TQdO'#DoOOQS,5:Y,5:YO5hQdO'#HdOOQS,5:],5:]O5uQ!fO,5:]O5zQtO,59YO1lQdO,59bO1lQdO,59bO1lQdO,59bO8jQdO,59bO8oQdO,59bO8vQdO,59jO8}QdO'#HTO:TQdO'#HSOOQS'#HS'#HSOOQS'#D['#D[O:lQdO,59aO'vQdO,59aO:zQdO,59aOOQS,59y,59yO;PQdO,5:RO'vQdO,5:ROOQS,5:Q,5:QO;_QdO,5:QO;dQdO,5:XO'vQdO,5:XO'vQdO,5:VOOQS,5:U,5:UO;uQdO,5:UO;zQdO,5:WOOOW'#Fy'#FyOOOOQS'#Ds'#DsOOQS1G/w1G/wOOQS1G.|1G.|O!/[QtO1G.|O!/cQtO1G.|O1lQdO1G.|O!0OQdO1G/UOOQS'#DZ'#DZO0rQdO,59tOOQS1G.{1G.{O!0VQdO1G/eO!0gQdO1G/eO!0oQdO1G/fO'vQdO'#H[O!0tQdO'#H[O!0yQtO1G.{O!1ZQdO,59iO!2aQdO,5=zO!2qQdO,5=zO!2yQdO1G/mO!3OQtO1G/mOOQS1G/l1G/lO!3`QdO,5=uO!4VQdO,5=uO0rQdO1G/qO!4tQdO1G/sO!4yQtO1G/sO!5ZQtO1G/qOOQS1G/p1G/pOOQS1G/r1G/rOOOW-E9w-E9wOOQS1G/{1G/{O!5kQdO'#HxO0rQdO'#HxO!5|QdO,5>cOOOW-E9x-E9xOOQS1G/|1G/|OOQS-E9{-E9{O!6[Q#xO1G2zO!6{QtO1G2zO'vQdO,5kOOQS1G1`1G1`O!8RQdO1G1`OOQS'#DV'#DVO0rQdO,5=qOOQS,5=q,5=qO!8WQdO'#FrO!8cQdO,59oO!8kQdO1G/XO!8uQtO,5=uOOQS1G3`1G3`OOQS,5:m,5:mO!9fQdO'#GtOOQS,5jO!;ZQdO,5>jO1XQdO,5>jO!;lQdO,5>iOOQS-E:R-E:RO!;qQdO1G0lO!;|QdO1G0lO!lO!lO!hO!=VQdO,5>hO!=hQdO'#EpO0rQdO1G0tO!=sQdO1G0tO!=xQgO1G0zO!AvQgO1G0}O!EqQdO,5>oO!E{QdO,5>oO!FTQtO,5>oO0rQdO1G1PO!F_QdO1G1PO4iQdO1G1UO!!vQdO1G1WOOQV,5;a,5;aO!FdQfO,5;aO!FiQgO1G1QO!JjQdO'#GZO4iQdO1G1QO4iQdO1G1QO!JzQdO,5>pO!KXQdO,5>pO1XQdO,5>pOOQV1G1U1G1UO!KaQdO'#FSO!KrQ!fO1G1WO!KzQdO1G1WOOQV1G1]1G1]O4iQdO1G1]O!LPQdO1G1]O!LXQdO'#F^OOQV1G1b1G1bO!#ZQtO1G1bPOOO1G2v1G2vP!L^OSO1G2vOOQS,5=},5=}OOQS'#Dp'#DpO0rQdO,5=}O!LfQdO,5=|O!LyQdO,5=|OOQS1G/u1G/uO!MRQdO,5>PO!McQdO,5>PO!MkQdO,5>PO!NOQdO,5>PO!N`QdO,5>POOQS1G3j1G3jOOQS7+$h7+$hO!8kQdO7+$pO#!RQdO1G.|O#!YQdO1G.|OOQS1G/`1G/`OOQS,5<`,5<`O'vQdO,5<`OOQS7+%P7+%PO#!aQdO7+%POOQS-E9r-E9rOOQS7+%Q7+%QO#!qQdO,5=vO'vQdO,5=vOOQS7+$g7+$gO#!vQdO7+%PO##OQdO7+%QO##TQdO1G3fOOQS7+%X7+%XO##eQdO1G3fO##mQdO7+%XOOQS,5<_,5<_O'vQdO,5<_O##rQdO1G3aOOQS-E9q-E9qO#$iQdO7+%]OOQS7+%_7+%_O#$wQdO1G3aO#%fQdO7+%_O#%kQdO1G3gO#%{QdO1G3gO#&TQdO7+%]O#&YQdO,5>dO#&sQdO,5>dO#&sQdO,5>dOOQS'#Dx'#DxO#'UO&jO'#DzO#'aO`O'#HyOOOW1G3}1G3}O#'fQdO1G3}O#'nQdO1G3}O#'yQ#xO7+(fO#(jQtO1G2UP#)TQdO'#GOOOQS,5nQdO,5sQdO1G4OOOQS-E9y-E9yO#?^QdO1G4OO<[QdO'#H{OOOO'#D{'#D{OOOO'#F|'#F|O#?oO&jO,5:fOOOW,5>e,5>eOOOW7+)i7+)iO#?zQdO7+)iO#@SQdO1G2zO#@mQdO1G2zP'vQdO'#FuO0rQdO<mO#BQQdO,5>mOOQS1G0v1G0vOOQS<rO#KgQdO,5>rO#KrQdO,5>rO#K}QdO,5>qO#L`QdO,5>qOOQS1G1Y1G1YOOQS,5;p,5;pOOQV<VAN>VO$ oQdO<cAN>cO0rQdO1G1|O$!PQtO1G1|P$!ZQdO'#FvOOQS1G2R1G2RP$!hQdO'#F{O$!uQdO7+)jO$#`QdO,5>gOOOO-E9z-E9zOOOW<tO$4{QdO,5>tO1XQdO,5vO$)nQdO,5>vOOQS1G1p1G1pOOQS,5<[,5<[OOQU7+'P7+'PO$+zQdO1G/iO$)nQdO,5wO$8zQdO,5>wOOQS1G1s1G1sOOQS7+'S7+'SP$)nQdO'#GdO$9SQdO1G4bO$9^QdO1G4bO$9fQdO1G4bOOQS7+%T7+%TO$9tQdO1G1tO$:SQtO'#FaO$:ZQdO,5<}OOQS,5<},5<}O$:iQdO1G4cOOQS-E:a-E:aO$)nQdO,5<|O$:pQdO,5<|O$:uQdO7+)|OOQS-E:`-E:`O$;PQdO7+)|O$)nQdO,5S~O%cOS%^OSSOS%]PQ~OPdOVaOfoOhYOopOs!POvqO!PrO!Q{O!T!SO!U!RO!XZO!][O!h`O!r`O!s`O!t`O!{tO!}uO#PvO#RwO#TxO#XyO#ZzO#^|O#_|O#a}O#c!OO#l!QO#o!TO#s!UO#u!VO#z!WO#}hO$P!XO%oRO%pRO%tSO%uWO&Z]O&[]O&]]O&^]O&_]O&`]O&a]O&b]O&c^O&d^O&e^O&f^O&g^O&h^O&i^O&j^O~O%]!YO~OV!aO_!aOa!bOh!iO!X!kO!f!mO%j![O%k!]O%l!^O%m!_O%n!_O%o!`O%p!`O%q!aO%r!aO%s!aO~Ok%xXl%xXm%xXn%xXo%xXp%xXs%xXz%xX{%xX!x%xX#g%xX%[%xX%_%xX%z%xXg%xX!T%xX!U%xX%{%xX!W%xX![%xX!Q%xX#[%xXt%xX!m%xX~P%SOfoOhYO!XZO!][O!h`O!r`O!s`O!t`O%oRO%pRO%tSO%uWO&Z]O&[]O&]]O&^]O&_]O&`]O&a]O&b]O&c^O&d^O&e^O&f^O&g^O&h^O&i^O&j^O~Oz%wX{%wX#g%wX%[%wX%_%wX%z%wX~Ok!pOl!qOm!oOn!oOo!rOp!sOs!tO!x%wX~P)pOV!zOg!|Oo0cOv0qO!PrO~P'vOV#OOo0cOv0qO!W#PO~P'vOV#SOa#TOo0cOv0qO![#UO~P'vOQ#XO%`#XO%a#ZO~OQ#^OR#[O%`#^O%a#`O~OV%iX_%iXa%iXh%iXk%iXl%iXm%iXn%iXo%iXp%iXs%iXz%iX!X%iX!f%iX%j%iX%k%iX%l%iX%m%iX%n%iX%o%iX%p%iX%q%iX%r%iX%s%iXg%iX!T%iX!U%iX~O&Z]O&[]O&]]O&^]O&_]O&`]O&a]O&b]O&c^O&d^O&e^O&f^O&g^O&h^O&i^O&j^O{%iX!x%iX#g%iX%[%iX%_%iX%z%iX%{%iX!W%iX![%iX!Q%iX#[%iXt%iX!m%iX~P,eOz#dO{%hX!x%hX#g%hX%[%hX%_%hX%z%hX~Oo0cOv0qO~P'vO#g#gO%[#iO%_#iO~O%uWO~O!T#nO#u!VO#z!WO#}hO~OopO~P'vOV#sOa#tO%uWO{wP~OV#xOo0cOv0qO!Q#yO~P'vO{#{O!x$QO%z#|O#g!yX%[!yX%_!yX~OV#xOo0cOv0qO#g#SX%[#SX%_#SX~P'vOo0cOv0qO#g#WX%[#WX%_#WX~P'vOh$WO%uWO~O!f$YO!r$YO%uWO~OV$eO~P'vO!U$gO#s$hO#u$iO~O{$jO~OV$qO~P'vOS$sO%[$rO%_$rO%c$tO~OV$}Oa$}Og%POo0cOv0qO~P'vOo0cOv0qO{%SO~P'vO&Y%UO~Oa!bOh!iO!X!kO!f!mOVba_bakbalbambanbaobapbasbazba{ba!xba#gba%[ba%_ba%jba%kba%lba%mba%nba%oba%pba%qba%rba%sba%zbagba!Tba!Uba%{ba!Wba![ba!Qba#[batba!mba~On%ZO~Oo%ZO~P'vOo0cO~P'vOk0eOl0fOm0dOn0dOo0mOp0nOs0rOg%wX!T%wX!U%wX%{%wX!W%wX![%wX!Q%wX#[%wX!m%wX~P)pO%{%]Og%vXz%vX!T%vX!U%vX!W%vX{%vX~Og%_Oz%`O!T%dO!U%cO~Og%_O~Oz%gO!T%dO!U%cO!W&SX~O!W%kO~Oz%lO{%nO!T%dO!U%cO![%}X~O![%rO~O![%sO~OQ#XO%`#XO%a%uO~OV%wOo0cOv0qO!PrO~P'vOQ#^OR#[O%`#^O%a%zO~OV!qa_!qaa!qah!qak!qal!qam!qan!qao!qap!qas!qaz!qa{!qa!X!qa!f!qa!x!qa#g!qa%[!qa%_!qa%j!qa%k!qa%l!qa%m!qa%n!qa%o!qa%p!qa%q!qa%r!qa%s!qa%z!qag!qa!T!qa!U!qa%{!qa!W!qa![!qa!Q!qa#[!qat!qa!m!qa~P#yOz%|O{%ha!x%ha#g%ha%[%ha%_%ha%z%ha~P%SOV&OOopOvqO{%ha!x%ha#g%ha%[%ha%_%ha%z%ha~P'vOz%|O{%ha!x%ha#g%ha%[%ha%_%ha%z%ha~OPdOVaOopOvqO!PrO!Q{O!{tO!}uO#PvO#RwO#TxO#XyO#ZzO#^|O#_|O#a}O#c!OO#g$zX%[$zX%_$zX~P'vO#g#gO%[&TO%_&TO~O!f&UOh&sX%[&sXz&sX#[&sX#g&sX%_&sX#Z&sXg&sX~Oh!iO%[&WO~Okealeameaneaoeapeaseazea{ea!xea#gea%[ea%_ea%zeagea!Tea!Uea%{ea!Wea![ea!Qea#[eatea!mea~P%SOsqazqa{qa#gqa%[qa%_qa%zqa~Ok!pOl!qOm!oOn!oOo!rOp!sO!xqa~PEcO%z&YOz%yX{%yX~O%uWOz%yX{%yX~Oz&]O{wX~O{&_O~Oz%lO#g%}X%[%}X%_%}Xg%}X{%}X![%}X!m%}X%z%}X~OV0lOo0cOv0qO!PrO~P'vO%z#|O#gUa%[Ua%_Ua~Oz&hO#g&PX%[&PX%_&PXn&PX~P%SOz&kO!Q&jO#g#Wa%[#Wa%_#Wa~Oz&lO#[&nO#g&rX%[&rX%_&rXg&rX~O!f$YO!r$YO#Z&qO%uWO~O#Z&qO~Oz&sO#g&tX%[&tX%_&tX~Oz&uO#g&pX%[&pX%_&pX{&pX~O!X&wO%z&xO~Oz&|On&wX~P%SOn'PO~OPdOVaOopOvqO!PrO!Q{O!{tO!}uO#PvO#RwO#TxO#XyO#ZzO#^|O#_|O#a}O#c!OO%['UO~P'vOt'YO#p'WO#q'XOP#naV#naf#nah#nao#nas#nav#na!P#na!Q#na!T#na!U#na!X#na!]#na!h#na!r#na!s#na!t#na!{#na!}#na#P#na#R#na#T#na#X#na#Z#na#^#na#_#na#a#na#c#na#l#na#o#na#s#na#u#na#z#na#}#na$P#na%X#na%o#na%p#na%t#na%u#na&Z#na&[#na&]#na&^#na&_#na&`#na&a#na&b#na&c#na&d#na&e#na&f#na&g#na&h#na&i#na&j#na%Z#na%_#na~Oz'ZO#[']O{&xX~Oh'_O!X&wO~Oh!iO{$jO!X&wO~O{'eO~P%SO%['hO%_'hO~OS'iO%['hO%_'hO~OV!aO_!aOa!bOh!iO!X!kO!f!mO%l!^O%m!_O%n!_O%o!`O%p!`O%q!aO%r!aO%s!aOkWilWimWinWioWipWisWizWi{Wi!xWi#gWi%[Wi%_Wi%jWi%zWigWi!TWi!UWi%{Wi!WWi![Wi!QWi#[WitWi!mWi~O%k!]O~P!#uO%kWi~P!#uOV!aO_!aOa!bOh!iO!X!kO!f!mO%o!`O%p!`O%q!aO%r!aO%s!aOkWilWimWinWioWipWisWizWi{Wi!xWi#gWi%[Wi%_Wi%jWi%kWi%lWi%zWigWi!TWi!UWi%{Wi!WWi![Wi!QWi#[WitWi!mWi~O%m!_O%n!_O~P!&pO%mWi%nWi~P!&pOa!bOh!iO!X!kO!f!mOkWilWimWinWioWipWisWizWi{Wi!xWi#gWi%[Wi%_Wi%jWi%kWi%lWi%mWi%nWi%oWi%pWi%zWigWi!TWi!UWi%{Wi!WWi![Wi!QWi#[WitWi!mWi~OV!aO_!aO%q!aO%r!aO%s!aO~P!)nOVWi_Wi%qWi%rWi%sWi~P!)nO!T%dO!U%cOg&VXz&VX~O%z'kO%{'kO~P,eOz'mOg&UX~Og'oO~Oz'pO{'rO!W&XX~Oo0cOv0qOz'pO{'sO!W&XX~P'vO!W'uO~Om!oOn!oOo!rOp!sOkjisjizji{ji!xji#gji%[ji%_ji%zji~Ol!qO~P!.aOlji~P!.aOk0eOl0fOm0dOn0dOo0mOp0nO~Ot'wO~P!/jOV'|Og'}Oo0cOv0qO~P'vOg'}Oz(OO~Og(QO~O!U(SO~Og(TOz(OO!T%dO!U%cO~P%SOk0eOl0fOm0dOn0dOo0mOp0nOgqa!Tqa!Uqa%{qa!Wqa![qa!Qqa#[qatqa!mqa~PEcOV'|Oo0cOv0qO!W&Sa~P'vOz(WO!W&Sa~O!W(XO~Oz(WO!T%dO!U%cO!W&Sa~P%SOV(]Oo0cOv0qO![%}a#g%}a%[%}a%_%}ag%}a{%}a!m%}a%z%}a~P'vOz(^O![%}a#g%}a%[%}a%_%}ag%}a{%}a!m%}a%z%}a~O![(aO~Oz(^O!T%dO!U%cO![%}a~P%SOz(dO!T%dO!U%cO![&Ta~P%SOz(gO{&lX![&lX!m&lX%z&lX~O{(kO![(mO!m(nO%z(jO~OV&OOopOvqO{%hi!x%hi#g%hi%[%hi%_%hi%z%hi~P'vOz(pO{%hi!x%hi#g%hi%[%hi%_%hi%z%hi~O!f&UOh&sa%[&saz&sa#[&sa#g&sa%_&sa#Z&sag&sa~O%[(uO~OV#sOa#tO%uWO~Oz&]O{wa~OopOvqO~P'vOz(^O#g%}a%[%}a%_%}ag%}a{%}a![%}a!m%}a%z%}a~P%SOz(zO#g%hX%[%hX%_%hX%z%hX~O%z#|O#gUi%[Ui%_Ui~O#g&Pa%[&Pa%_&Pan&Pa~P'vOz(}O#g&Pa%[&Pa%_&Pan&Pa~O%uWO#g&ra%[&ra%_&rag&ra~Oz)SO#g&ra%[&ra%_&rag&ra~Og)VO~OV)WOh$WO%uWO~O#Z)XO~O%uWO#g&ta%[&ta%_&ta~Oz)ZO#g&ta%[&ta%_&ta~Oo0cOv0qO#g&pa%[&pa%_&pa{&pa~P'vOz)^O#g&pa%[&pa%_&pa{&pa~OV)`Oa)`O%uWO~O%z)eO~Ot)hO#j)gOP#hiV#hif#hih#hio#his#hiv#hi!P#hi!Q#hi!T#hi!U#hi!X#hi!]#hi!h#hi!r#hi!s#hi!t#hi!{#hi!}#hi#P#hi#R#hi#T#hi#X#hi#Z#hi#^#hi#_#hi#a#hi#c#hi#l#hi#o#hi#s#hi#u#hi#z#hi#}#hi$P#hi%X#hi%o#hi%p#hi%t#hi%u#hi&Z#hi&[#hi&]#hi&^#hi&_#hi&`#hi&a#hi&b#hi&c#hi&d#hi&e#hi&f#hi&g#hi&h#hi&i#hi&j#hi%Z#hi%_#hi~Ot)iOP#kiV#kif#kih#kio#kis#kiv#ki!P#ki!Q#ki!T#ki!U#ki!X#ki!]#ki!h#ki!r#ki!s#ki!t#ki!{#ki!}#ki#P#ki#R#ki#T#ki#X#ki#Z#ki#^#ki#_#ki#a#ki#c#ki#l#ki#o#ki#s#ki#u#ki#z#ki#}#ki$P#ki%X#ki%o#ki%p#ki%t#ki%u#ki&Z#ki&[#ki&]#ki&^#ki&_#ki&`#ki&a#ki&b#ki&c#ki&d#ki&e#ki&f#ki&g#ki&h#ki&i#ki&j#ki%Z#ki%_#ki~OV)kOn&wa~P'vOz)lOn&wa~Oz)lOn&wa~P%SOn)pO~O%Y)tO~Ot)wO#p'WO#q)vOP#niV#nif#nih#nio#nis#niv#ni!P#ni!Q#ni!T#ni!U#ni!X#ni!]#ni!h#ni!r#ni!s#ni!t#ni!{#ni!}#ni#P#ni#R#ni#T#ni#X#ni#Z#ni#^#ni#_#ni#a#ni#c#ni#l#ni#o#ni#s#ni#u#ni#z#ni#}#ni$P#ni%X#ni%o#ni%p#ni%t#ni%u#ni&Z#ni&[#ni&]#ni&^#ni&_#ni&`#ni&a#ni&b#ni&c#ni&d#ni&e#ni&f#ni&g#ni&h#ni&i#ni&j#ni%Z#ni%_#ni~OV)zOo0cOv0qO{$jO~P'vOo0cOv0qO{&xa~P'vOz*OO{&xa~OV*SOa*TOg*WO%q*UO%uWO~O{$jO&{*YO~Oh'_O~Oh!iO{$jO~O%[*_O~O%[*aO%_*aO~OV$}Oa$}Oo0cOv0qOg&Ua~P'vOz*dOg&Ua~Oo0cOv0qO{*gO!W&Xa~P'vOz*hO!W&Xa~Oo0cOv0qOz*hO{*kO!W&Xa~P'vOo0cOv0qOz*hO!W&Xa~P'vOz*hO{*kO!W&Xa~Om0dOn0dOo0mOp0nOgjikjisjizji!Tji!Uji%{ji!Wji{ji![ji#gji%[ji%_ji!Qji#[jitji!mji%zji~Ol0fO~P!NkOlji~P!NkOV'|Og*pOo0cOv0qO~P'vOn*rO~Og*pOz*tO~Og*uO~OV'|Oo0cOv0qO!W&Si~P'vOz*vO!W&Si~O!W*wO~OV(]Oo0cOv0qO![%}i#g%}i%[%}i%_%}ig%}i{%}i!m%}i%z%}i~P'vOz*zO!T%dO!U%cO![&Ti~Oz*}O![%}i#g%}i%[%}i%_%}ig%}i{%}i!m%}i%z%}i~O![+OO~Oa+QOo0cOv0qO![&Ti~P'vOz*zO![&Ti~O![+SO~OV+UOo0cOv0qO{&la![&la!m&la%z&la~P'vOz+VO{&la![&la!m&la%z&la~O!]+YO&n+[O![!nX~O![+^O~O{(kO![+_O~O{(kO![+_O!m+`O~OV&OOopOvqO{%hq!x%hq#g%hq%[%hq%_%hq%z%hq~P'vOz$ri{$ri!x$ri#g$ri%[$ri%_$ri%z$ri~P%SOV&OOopOvqO~P'vOV&OOo0cOv0qO#g%ha%[%ha%_%ha%z%ha~P'vOz+aO#g%ha%[%ha%_%ha%z%ha~Oz$ia#g$ia%[$ia%_$ian$ia~P%SO#g&Pi%[&Pi%_&Pin&Pi~P'vOz+dO#g#Wq%[#Wq%_#Wq~O#[+eOz$va#g$va%[$va%_$vag$va~O%uWO#g&ri%[&ri%_&rig&ri~Oz+gO#g&ri%[&ri%_&rig&ri~OV+iOh$WO%uWO~O%uWO#g&ti%[&ti%_&ti~Oo0cOv0qO#g&pi%[&pi%_&pi{&pi~P'vO{#{Oz#eX!W#eX~Oz+mO!W&uX~O!W+oO~Ot+rO#j)gOP#hqV#hqf#hqh#hqo#hqs#hqv#hq!P#hq!Q#hq!T#hq!U#hq!X#hq!]#hq!h#hq!r#hq!s#hq!t#hq!{#hq!}#hq#P#hq#R#hq#T#hq#X#hq#Z#hq#^#hq#_#hq#a#hq#c#hq#l#hq#o#hq#s#hq#u#hq#z#hq#}#hq$P#hq%X#hq%o#hq%p#hq%t#hq%u#hq&Z#hq&[#hq&]#hq&^#hq&_#hq&`#hq&a#hq&b#hq&c#hq&d#hq&e#hq&f#hq&g#hq&h#hq&i#hq&j#hq%Z#hq%_#hq~On$|az$|a~P%SOV)kOn&wi~P'vOz+yOn&wi~Oz,TO{$jO#[,TO~O#q,VOP#nqV#nqf#nqh#nqo#nqs#nqv#nq!P#nq!Q#nq!T#nq!U#nq!X#nq!]#nq!h#nq!r#nq!s#nq!t#nq!{#nq!}#nq#P#nq#R#nq#T#nq#X#nq#Z#nq#^#nq#_#nq#a#nq#c#nq#l#nq#o#nq#s#nq#u#nq#z#nq#}#nq$P#nq%X#nq%o#nq%p#nq%t#nq%u#nq&Z#nq&[#nq&]#nq&^#nq&_#nq&`#nq&a#nq&b#nq&c#nq&d#nq&e#nq&f#nq&g#nq&h#nq&i#nq&j#nq%Z#nq%_#nq~O#[,WOz%Oa{%Oa~Oo0cOv0qO{&xi~P'vOz,YO{&xi~O{#{O%z,[Og&zXz&zX~O%uWOg&zXz&zX~Oz,`Og&yX~Og,bO~O%Y,eO~O!T%dO!U%cOg&Viz&Vi~OV$}Oa$}Oo0cOv0qOg&Ui~P'vO{,hOz$la!W$la~Oo0cOv0qO{,iOz$la!W$la~P'vOo0cOv0qO{*gO!W&Xi~P'vOz,lO!W&Xi~Oo0cOv0qOz,lO!W&Xi~P'vOz,lO{,oO!W&Xi~Og$hiz$hi!W$hi~P%SOV'|Oo0cOv0qO~P'vOn,qO~OV'|Og,rOo0cOv0qO~P'vOV'|Oo0cOv0qO!W&Sq~P'vOz$gi![$gi#g$gi%[$gi%_$gig$gi{$gi!m$gi%z$gi~P%SOV(]Oo0cOv0qO~P'vOa+QOo0cOv0qO![&Tq~P'vOz,sO![&Tq~O![,tO~OV(]Oo0cOv0qO![%}q#g%}q%[%}q%_%}qg%}q{%}q!m%}q%z%}q~P'vO{,uO~OV+UOo0cOv0qO{&li![&li!m&li%z&li~P'vOz,zO{&li![&li!m&li%z&li~O!]+YO&n+[O![!na~O{(kO![,}O~OV&OOo0cOv0qO#g%hi%[%hi%_%hi%z%hi~P'vOz-OO#g%hi%[%hi%_%hi%z%hi~O%uWO#g&rq%[&rq%_&rqg&rq~Oz-RO#g&rq%[&rq%_&rqg&rq~OV)`Oa)`O%uWO!W&ua~Oz-TO!W&ua~On$|iz$|i~P%SOV)kO~P'vOV)kOn&wq~P'vOt-XOP#myV#myf#myh#myo#mys#myv#my!P#my!Q#my!T#my!U#my!X#my!]#my!h#my!r#my!s#my!t#my!{#my!}#my#P#my#R#my#T#my#X#my#Z#my#^#my#_#my#a#my#c#my#l#my#o#my#s#my#u#my#z#my#}#my$P#my%X#my%o#my%p#my%t#my%u#my&Z#my&[#my&]#my&^#my&_#my&`#my&a#my&b#my&c#my&d#my&e#my&f#my&g#my&h#my&i#my&j#my%Z#my%_#my~O%Z-]O%_-]O~P`O#q-^OP#nyV#nyf#nyh#nyo#nys#nyv#ny!P#ny!Q#ny!T#ny!U#ny!X#ny!]#ny!h#ny!r#ny!s#ny!t#ny!{#ny!}#ny#P#ny#R#ny#T#ny#X#ny#Z#ny#^#ny#_#ny#a#ny#c#ny#l#ny#o#ny#s#ny#u#ny#z#ny#}#ny$P#ny%X#ny%o#ny%p#ny%t#ny%u#ny&Z#ny&[#ny&]#ny&^#ny&_#ny&`#ny&a#ny&b#ny&c#ny&d#ny&e#ny&f#ny&g#ny&h#ny&i#ny&j#ny%Z#ny%_#ny~Oz-aO{$jO#[-aO~Oo0cOv0qO{&xq~P'vOz-dO{&xq~O%z,[Og&zaz&za~O{#{Og&zaz&za~OV*SOa*TO%q*UO%uWOg&ya~Oz-hOg&ya~O$S-lO~OV$}Oa$}Oo0cOv0qO~P'vOo0cOv0qO{-mOz$li!W$li~P'vOo0cOv0qOz$li!W$li~P'vO{-mOz$li!W$li~Oo0cOv0qO{*gO~P'vOo0cOv0qO{*gO!W&Xq~P'vOz-pO!W&Xq~Oo0cOv0qOz-pO!W&Xq~P'vOs-sO!T%dO!U%cOg&Oq!W&Oq![&Oqz&Oq~P!/jOa+QOo0cOv0qO![&Ty~P'vOz$ji![$ji~P%SOa+QOo0cOv0qO~P'vOV+UOo0cOv0qO~P'vOV+UOo0cOv0qO{&lq![&lq!m&lq%z&lq~P'vO{(kO![-xO!m-yO%z-wO~OV&OOo0cOv0qO#g%hq%[%hq%_%hq%z%hq~P'vO%uWO#g&ry%[&ry%_&ryg&ry~OV)`Oa)`O%uWO!W&ui~Ot-}OP#m!RV#m!Rf#m!Rh#m!Ro#m!Rs#m!Rv#m!R!P#m!R!Q#m!R!T#m!R!U#m!R!X#m!R!]#m!R!h#m!R!r#m!R!s#m!R!t#m!R!{#m!R!}#m!R#P#m!R#R#m!R#T#m!R#X#m!R#Z#m!R#^#m!R#_#m!R#a#m!R#c#m!R#l#m!R#o#m!R#s#m!R#u#m!R#z#m!R#}#m!R$P#m!R%X#m!R%o#m!R%p#m!R%t#m!R%u#m!R&Z#m!R&[#m!R&]#m!R&^#m!R&_#m!R&`#m!R&a#m!R&b#m!R&c#m!R&d#m!R&e#m!R&f#m!R&g#m!R&h#m!R&i#m!R&j#m!R%Z#m!R%_#m!R~Oo0cOv0qO{&xy~P'vOV*SOa*TO%q*UO%uWOg&yi~O$S-lO%Z.VO%_.VO~OV.aOh._O!X.^O!].`O!h.YO!s.[O!t.[O%p.XO%uWO&Z]O&[]O&]]O&^]O&_]O&`]O&a]O&b]O~Oo0cOv0qOz$lq!W$lq~P'vO{.fOz$lq!W$lq~Oo0cOv0qO{*gO!W&Xy~P'vOz.gO!W&Xy~Oo0cOv.kO~P'vOs-sO!T%dO!U%cOg&Oy!W&Oy![&Oyz&Oy~P!/jO{(kO![.nO~O{(kO![.nO!m.oO~OV*SOa*TO%q*UO%uWO~Oh.tO!f.rOz$TX#[$TX%j$TXg$TX~Os$TX{$TX!W$TX![$TX~P$-bO%o.vO%p.vOs$UXz$UX{$UX#[$UX%j$UX!W$UXg$UX![$UX~O!h.xO~Oz.|O#[/OO%j.yOs&|X{&|X!W&|Xg&|X~Oa/RO~P$)zOh.tOs&}Xz&}X{&}X#[&}X%j&}X!W&}Xg&}X![&}X~Os/VO{$jO~Oo0cOv0qOz$ly!W$ly~P'vOo0cOv0qO{*gO!W&X!R~P'vOz/ZO!W&X!R~Og&RXs&RX!T&RX!U&RX!W&RX![&RXz&RX~P!/jOs-sO!T%dO!U%cOg&Qa!W&Qa![&Qaz&Qa~O{(kO![/^O~O!f.rOh$[as$[az$[a{$[a#[$[a%j$[a!W$[ag$[a![$[a~O!h/eO~O%o.vO%p.vOs$Uaz$Ua{$Ua#[$Ua%j$Ua!W$Uag$Ua![$Ua~O%j.yOs$Yaz$Ya{$Ya#[$Ya!W$Yag$Ya![$Ya~Os&|a{&|a!W&|ag&|a~P$)nOz/jOs&|a{&|a!W&|ag&|a~O!W/mO~Og/mO~O{/oO~O![/pO~Oo0cOv0qO{*gO!W&X!Z~P'vO{/sO~O%z/tO~P$-bOz/uO#[/OO%j.yOg'PX~Oz/uOg'PX~Og/wO~O!h/xO~O#[/OOs%Saz%Sa{%Sa%j%Sa!W%Sag%Sa![%Sa~O#[/OO%j.yOs%Waz%Wa{%Wa!W%Wag%Wa~Os&|i{&|i!W&|ig&|i~P$)nOz/zO#[/OO%j.yO!['Oa~Og'Pa~P$)nOz0SOg'Pa~Oa0UO!['Oi~P$)zOz0WO!['Oi~Oz0WO#[/OO%j.yO!['Oi~O#[/OO%j.yOg$biz$bi~O%z0ZO~P$-bO#[/OO%j.yOg%Vaz%Va~Og'Pi~P$)nO{0^O~Oa0UO!['Oq~P$)zOz0`O!['Oq~O#[/OO%j.yOz%Ui![%Ui~Oa0UO~P$)zOa0UO!['Oy~P$)zO#[/OO%j.yOg$ciz$ci~O#[/OO%j.yOz%Uq![%Uq~Oz+aO#g%ha%[%ha%_%ha%z%ha~P%SOV&OOo0cOv0qO~P'vOn0hO~Oo0hO~P'vO{0iO~Ot0jO~P!/jO&]&Z&j&h&i&g&f&d&e&c&b&`&a&_&^&[%u~",goto:"!=j'QPPPPPP'RP'Z*s+[+t,_,y-fP.SP'Z.r.r'ZPPP'Z2[PPPPPP2[5PPP5PP7b7k=sPP=v>h>kPP'Z'ZPP>zPP'Z'ZPP'Z'Z'Z'Z'Z?O?w'ZP?zP@QDXGuGyPG|HWH['ZPPPH_Hk'RP'R'RP'RP'RP'RP'RP'R'R'RP'RPP'RPP'RP'RPHqH}IVPI^IdPI^PI^I^PPPI^PKrPK{LVL]KrPI^LfPI^PLmLsPLwM]MzNeLwLwNkNxLwLwLwLw! ^! d! g! l! o! y!!P!!]!!o!!u!#P!#V!#s!#y!$P!$Z!$a!$g!$y!%T!%Z!%a!%k!%q!%w!%}!&T!&Z!&e!&k!&u!&{!'U!'[!'k!'s!'}!(UPPPPPPPPPPP!([!(_!(e!(n!(x!)TPPPPPPPPPPPP!-u!/Z!3^!6oPP!6w!7W!7a!8Y!8P!8c!8i!8l!8o!8r!8z!9jPPPPPPPPPPPPPPPPP!9m!9q!9wP!:]!:a!:m!:v!;S!;j!;m!;p!;v!;|!_![!]Do!]!^Es!^!_FZ!_!`Gk!`!aHX!a!b%T!b!cIf!c!dJU!d!eK^!e!hJU!h!i!#f!i!tJU!t!u!,|!u!wJU!w!x!.t!x!}JU!}#O!0S#O#P&o#P#Q!0j#Q#R!1Q#R#SJU#S#T%T#T#UJU#U#VK^#V#YJU#Y#Z!#f#Z#fJU#f#g!,|#g#iJU#i#j!.t#j#oJU#o#p!1n#p#q!1s#q#r!2a#r#s!2f#s$g%T$g;'SJU;'S;=`KW<%lOJU`%YT&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T`%lP;=`<%l%To%v]&n`%c_OX%TXY%oY[%T[]%o]p%Tpq%oq#O%T#O#P&o#P#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To&tX&n`OY%TYZ%oZ]%T]^%o^#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc'f[&n`O!_%T!_!`([!`#T%T#T#U(r#U#f%T#f#g(r#g#h(r#h#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc(cTmR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc(yT!mR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk)aV&n`&[ZOr%Trs)vs#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk){V&n`Or%Trs*bs#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk*iT&n`&^ZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To+PZS_&n`OY*xYZ%TZ]*x]^%T^#o*x#o#p+r#p#q*x#q#r+r#r;'S*x;'S;=`,^<%lO*x_+wTS_OY+rZ]+r^;'S+r;'S;=`,W<%lO+r_,ZP;=`<%l+ro,aP;=`<%l*xj,kV%rQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj-XT!xY&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj-oV%lQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk.]V&n`&ZZOw%Twx.rx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk.wV&n`Ow%Twx/^x#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk/eT&n`&]ZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk/{ThZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc0cTgR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk0yXVZ&n`Oz%Tz{1f{!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk1mVaR&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk2ZV%oZ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc2wTzR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To3_W%pZ&n`O!_%T!_!`-Q!`!a3w!a#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Td4OT&{S&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk4fX!fQ&n`O!O%T!O!P5R!P!Q%T!Q![6T![#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk5WV&n`O!O%T!O!P5m!P#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk5tT!rZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti6[a!hX&n`O!Q%T!Q![6T![!g%T!g!h7a!h!l%T!l!m9s!m#R%T#R#S6T#S#X%T#X#Y7a#Y#^%T#^#_9s#_#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti7fZ&n`O{%T{|8X|}%T}!O8X!O!Q%T!Q![8s![#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti8^V&n`O!Q%T!Q![8s![#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti8z]!hX&n`O!Q%T!Q![8s![!l%T!l!m9s!m#R%T#R#S8s#S#^%T#^#_9s#_#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti9zT!hX&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk:bX%qR&n`O!P%T!P!Q:}!Q!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj;UV%sQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti;ro!hX&n`O!O%T!O!P=s!P!Q%T!Q![>_![!d%T!d!e?q!e!g%T!g!h7a!h!l%T!l!m9s!m!q%T!q!rA]!r!z%T!z!{Bq!{#R%T#R#S>_#S#U%T#U#V?q#V#X%T#X#Y7a#Y#^%T#^#_9s#_#c%T#c#dA]#d#l%T#l#mBq#m#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti=xV&n`O!Q%T!Q![6T![#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti>fc!hX&n`O!O%T!O!P=s!P!Q%T!Q![>_![!g%T!g!h7a!h!l%T!l!m9s!m#R%T#R#S>_#S#X%T#X#Y7a#Y#^%T#^#_9s#_#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti?vY&n`O!Q%T!Q!R@f!R!S@f!S#R%T#R#S@f#S#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Ti@mY!hX&n`O!Q%T!Q!R@f!R!S@f!S#R%T#R#S@f#S#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TiAbX&n`O!Q%T!Q!YA}!Y#R%T#R#SA}#S#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TiBUX!hX&n`O!Q%T!Q!YA}!Y#R%T#R#SA}#S#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TiBv]&n`O!Q%T!Q![Co![!c%T!c!iCo!i#R%T#R#SCo#S#T%T#T#ZCo#Z#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TiCv]!hX&n`O!Q%T!Q![Co![!c%T!c!iCo!i#R%T#R#SCo#S#T%T#T#ZCo#Z#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%ToDvV{_&n`O!_%T!_!`E]!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TcEdT%{R&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkEzT#gZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkFbXmR&n`O!^%T!^!_F}!_!`([!`!a([!a#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TjGUV%mQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkGrV%zZ&n`O!_%T!_!`([!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkH`WmR&n`O!_%T!_!`([!`!aHx!a#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TjIPV%nQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkIoV_Q#}P&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%ToJ_]&n`&YS%uZO!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUoKZP;=`<%lJUoKge&n`&YS%uZOr%Trs)Ysw%Twx.Ux!Q%T!Q![JU![!c%T!c!tJU!t!uLx!u!}JU!}#R%T#R#SJU#S#T%T#T#fJU#f#gLx#g#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUoMRa&n`&YS%uZOr%TrsNWsw%Twx! vx!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUkN_V&n`&`ZOr%TrsNts#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%TkNyV&n`Or%Trs! `s#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk! gT&n`&bZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk! }V&n`&_ZOw%Twx!!dx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!!iV&n`Ow%Twx!#Ox#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!#VT&n`&aZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To!#oe&n`&YS%uZOr%Trs!%Qsw%Twx!&px!Q%T!Q![JU![!c%T!c!tJU!t!u!(`!u!}JU!}#R%T#R#SJU#S#T%T#T#fJU#f#g!(`#g#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!%XV&n`&dZOr%Trs!%ns#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!%sV&n`Or%Trs!&Ys#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!&aT&n`&fZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!&wV&n`&cZOw%Twx!'^x#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!'cV&n`Ow%Twx!'xx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!(PT&n`&eZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To!(ia&n`&YS%uZOr%Trs!)nsw%Twx!+^x!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!)uV&n`&hZOr%Trs!*[s#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!*aV&n`Or%Trs!*vs#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!*}T&n`&jZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!+eV&n`&gZOw%Twx!+zx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!,PV&n`Ow%Twx!,fx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!,mT&n`&iZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To!-Vi&n`&YS%uZOr%TrsNWsw%Twx! vx!Q%T!Q![JU![!c%T!c!dJU!d!eLx!e!hJU!h!i!(`!i!}JU!}#R%T#R#SJU#S#T%T#T#UJU#U#VLx#V#YJU#Y#Z!(`#Z#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUo!.}a&n`&YS%uZOr%Trs)Ysw%Twx.Ux!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!0ZT!XZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc!0qT!WR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj!1XV%kQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!1sO!]~k!1zV%jR&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!2fO![~i!2mT%tX&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T",tokenizers:[le,te,Qe,Te,0,1,2,3,4],topRules:{Script:[0,5]},specialized:[{term:221,get:O=>qe[O]||-1}],tokenPrec:7668}),G=new nO,A=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function m(O){return(e,i,a)=>{if(a)return!1;let r=e.node.getChild("VariableName");return r&&i(r,O),!0}}const me={FunctionDefinition:m("function"),ClassDefinition:m("class"),ForStatement(O,e,i){if(i){for(let a=O.node.firstChild;a;a=a.nextSibling)if(a.name=="VariableName")e(a,"variable");else if(a.name=="in")break}},ImportStatement(O,e){var i,a;let{node:r}=O,Q=((i=r.firstChild)===null||i===void 0?void 0:i.name)=="from";for(let t=r.getChild("import");t;t=t.nextSibling)t.name=="VariableName"&&((a=t.nextSibling)===null||a===void 0?void 0:a.name)!="as"&&e(t,Q?"variable":"namespace")},AssignStatement(O,e){for(let i=O.node.firstChild;i;i=i.nextSibling)if(i.name=="VariableName")e(i,"variable");else if(i.name==":"||i.name=="AssignOp")break},ParamList(O,e){for(let i=null,a=O.node.firstChild;a;a=a.nextSibling)a.name=="VariableName"&&(!i||!/\*|AssignOp/.test(i.name))&&e(a,"variable"),i=a},CapturePattern:m("variable"),AsPattern:m("variable"),__proto__:null};function N(O,e){let i=G.get(e);if(i)return i;let a=[],r=!0;function Q(t,o){let g=O.sliceString(t.from,t.to);a.push({label:g,type:o})}return e.cursor(rO.IncludeAnonymous).iterate(t=>{if(t.name){let o=me[t.name];if(o&&o(t,Q,r)||!r&&A.has(t.name))return!1;r=!1}else if(t.to-t.from>8192){for(let o of N(O,t.node))a.push(o);return!1}}),G.set(e,a),a}const w=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,I=["String","FormatString","Comment","PropertyName"];function Pe(O){let e=K(O.state).resolveInner(O.pos,-1);if(I.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&w.test(O.state.sliceDoc(e.from,e.to));if(!i&&!O.explicit)return null;let a=[];for(let r=e;r;r=r.parent)A.has(r.name)&&(a=a.concat(N(O.state.doc,r)));return{options:a,from:i?e.from:O.pos,validFor:w}}const $e=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(O=>({label:O,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(O=>({label:O,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(O=>({label:O,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(O=>({label:O,type:"function"}))),he=[d("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),d("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),d("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),d("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),d(`if \${}: + +`,{label:"if",detail:"block",type:"keyword"}),d("if ${}:\n ${}\nelse:\n ${}",{label:"if",detail:"/ else block",type:"keyword"}),d("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:"class",detail:"definition",type:"keyword"}),d("import ${module}",{label:"import",detail:"statement",type:"keyword"}),d("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],ce=B(I,QO($e.concat(he)));function z(O){let{node:e,pos:i}=O,a=O.lineIndent(i,-1),r=null;for(;;){let Q=e.childBefore(i);if(Q)if(Q.name=="Comment")i=Q.from;else if(Q.name=="Body"||Q.name=="MatchBody")O.baseIndentFor(Q)+O.unit<=a&&(r=Q),e=Q;else if(Q.name=="MatchClause")e=Q;else if(Q.type.is("Statement"))e=Q;else break;else break}return r}function W(O,e){let i=O.baseIndentFor(e),a=O.lineAt(O.pos,-1),r=a.from+a.text.length;return/^\s*($|#)/.test(a.text)&&O.node.toi?null:i+O.unit}const v=OO.define({name:"python",parser:ge.configure({props:[eO.add({Body:O=>{var e;let i=/^\s*(#|$)/.test(O.textAfter)&&z(O)||O.node;return(e=W(O,i))!==null&&e!==void 0?e:O.continue()},MatchBody:O=>{var e;let i=z(O);return(e=W(O,i||O.node))!==null&&e!==void 0?e:O.continue()},IfStatement:O=>/^\s*(else:|elif )/.test(O.textAfter)?O.baseIndent:O.continue(),"ForStatement WhileStatement":O=>/^\s*else:/.test(O.textAfter)?O.baseIndent:O.continue(),TryStatement:O=>/^\s*(except[ :]|finally:|else:)/.test(O.textAfter)?O.baseIndent:O.continue(),MatchStatement:O=>/^\s*case /.test(O.textAfter)?O.baseIndent+O.unit:O.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":f({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":f({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":f({closing:"]"}),MemberExpression:O=>O.baseIndent+O.unit,"String FormatString":()=>null,Script:O=>{var e;let i=z(O);return(e=i&&W(O,i))!==null&&e!==void 0?e:O.continue()}}),iO.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":aO,Body:(O,e)=>({from:O.from+1,to:O.to-(O.to==e.doc.length?0:1)}),"String FormatString":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:|case\s+[^:]*:?)$/}});function ve(){return new M(v,[v.data.of({autocomplete:Pe}),v.data.of({autocomplete:ce})])}export{ce as globalCompletion,Pe as localCompletionSource,ve as python,v as pythonLanguage}; diff --git a/web-dist/js/chunks/index-B2C3-0oc.mjs.gz b/web-dist/js/chunks/index-B2C3-0oc.mjs.gz new file mode 100644 index 0000000000..5f0634ebc4 Binary files /dev/null and b/web-dist/js/chunks/index-B2C3-0oc.mjs.gz differ diff --git a/web-dist/js/chunks/index-B9CFlHVx.mjs b/web-dist/js/chunks/index-B9CFlHVx.mjs new file mode 100644 index 0000000000..65cd610da9 --- /dev/null +++ b/web-dist/js/chunks/index-B9CFlHVx.mjs @@ -0,0 +1,2 @@ +import{M as O,aL as o,u as m,I as B,aw as Y,q as f,bk as d,s as C,bb as k,aU as N,v as g,t as x,bu as Q,aD as pe,a_ as ke,bL as X,au as L,aY as P,H as u,F as J,aX as _,a$ as fe,cm as Z,bE as ee,aZ as V,bO as ae,bJ as z,as as le,bq as be,bw as Ye,bM as de,aq as oe,bl as ge,ar as K,ei as De,az as Xe,A as Qe,av as $e,a4 as Ze,bd as _e,by as et,bA as Te,bB as Ce,dw as tt,ej as ce,ef as at}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{b as F,a as Ae,s as nt}from"./ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs";import{t as lt}from"./translations-BpcCzEJn.mjs";import{a as ot,_ as j,u as G}from"./OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import{D as ve,E as Ee,O as it,B as rt,G as st,H as ct,J as ut,L as dt,N as mt}from"./SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import{a4 as ft,a5 as Pe,a6 as bt,a7 as gt,a8 as vt,a9 as ht,aa as xt,ab as yt,ac as pt}from"./ItemFilterToggle-B0cxdVaA.mjs";import{_ as W}from"./_plugin-vue_export-helper-DlAUqK2U.mjs";import{i as kt}from"./VersionCheck.vue_vue_type_script_setup_true_lang-D5qoa-gp.mjs";import{D as Oe}from"./locale-tv0ZmyWq.mjs";import{F as wt}from"./fuse-Dh4lEyaB.mjs";import{_ as Me}from"./preload-helper-PPVm8Dsz.mjs";import"./omit-CjJULzjP.mjs";import"./_getTag-rbyw32wi.mjs";import"./_Set-DyVdKz_x.mjs";import"./resources-CL0nvFAd.mjs";import"./user-C7xYeMZ3.mjs";import"./useRoute-BGFNOdqM.mjs";import"./debounce-Bg6HwA-m.mjs";import"./toNumber-BQH-f3hb.mjs";import"./index-lRhEXmMs.mjs";import"./vue-router-CmC7u3Bn.mjs";import"./useClientService-BP8mjZl2.mjs";import"./useLoadingService-CLoheuuI.mjs";import"./eventBus-B07Yv2pA.mjs";import"./v4-EwEgHOG0.mjs";import"./messages-bd5_8QAH.mjs";import"./ActionMenuItem-5Eo133Qt.mjs";import"./Pagination-w-FgvznP.mjs";import"./useAbility-DLkgdurK.mjs";import"./modals-DsP9TGnr.mjs";import"./extensionRegistry-3T3I8mha.mjs";import"./useLoadPreview-Cv2y5hqA.mjs";import"./datetime-CpSA3f1i.mjs";import"./FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs";import"./useWindowOpen-BMCzbqTR.mjs";import"./download-Bmys4VUp.mjs";import"./useRouteParam-C9SJn9Mp.mjs";import"./ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs";import"./icon-BPAP2zgX.mjs";import"./useScrollTo--zshzNky.mjs";import"./useSort-BaUnnp4q.mjs";import"./useRouteMeta-C9xjNr4h.mjs";function me(e){e=e.startsWith("#")?e:`#${e}`;const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:null}function $t(e){const[t,a,n]=e,l=t.toString(16).padStart(2,"0"),i=a.toString(16).padStart(2,"0"),c=n.toString(16).padStart(2,"0");return`#${l}${i}${c}`}function xe(e,t){let a=e*(100+t)/100;return a=a<255?a:255,a=Math.round(a),a.toString(16).length==1?"0"+a.toString(16):a.toString(16)}function Le(e,t){const a=e[0],n=e[1],l=e[2];return`#${xe(a,t)}${xe(n,t)}${xe(l,t)}`}function Be(e){const t=e.map(a=>{const n=a/255;return n<=.03928?n/12.92:((n+.055)/1.055)**2.4});return Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Ct(e,t){const a=Be(e),n=Be(t);return(Math.max(a,n)+.05)/(Math.min(a,n)+.05)}function Ot(e){let t=0;for(let a=0;a{const p=parseInt(c,10).toString(16);return p.length===1?"0"+p:p}).join("");return t?`#${i}${l}`:`#${i}`}function Lt(e){if(!e)return"";if(e.startsWith("#"))return e;const t=e.match(/var\(([^)]+)\)/)?.[1]||e,a=getComputedStyle(document.documentElement).getPropertyValue(t);return a.startsWith("#")?a:Mt(a)}const Bt=O({__name:"OcApplicationIcon",props:{icon:{},colorPrimary:{}},setup(e){const t=f(()=>Lt(e.colorPrimary||"")),a=f(()=>!!e.colorPrimary),n=f(()=>{const i=Ot(e.icon);return $t(ye(me(i),me("#ffffff"),4))}),l=f(()=>{const i=d(a)?d(t):d(n);return{background:d(i)}});return(i,c)=>(o(),m("div",{class:"oc-application-icon inline-flex items-center justify-center rounded-sm w-8 h-8",style:Y(l.value)},[B(F,{name:e.icon,color:"var(--oc-role-on-secondary)",size:"medium"},null,8,["name"])],4))}}),zt=["src","alt","aria-hidden","title","loading"],He=O({__name:"OcImage",props:{src:{},alt:{default:""},loadingType:{default:"eager"},title:{}},setup(e){const t=f(()=>e.alt.length===0);return(a,n)=>(o(),m("img",{src:e.src,alt:e.alt,"aria-hidden":`${t.value}`,title:e.title,loading:e.loadingType},null,8,zt))}}),St=e=>e.split(/[ -]/).map(t=>t.replace(/[^\p{L}\p{Nd}]/giu,"")).filter(Boolean).map(t=>t.charAt(0)).slice(0,3).join("").toUpperCase(),It=["width","aria-label","aria-hidden","focusable","role","data-test-user-name"],Fe=O({__name:"OcAvatar",props:{accessibleLabel:{default:""},color:{default:"white"},backgroundColor:{},src:{default:""},userName:{default:""},width:{default:50}},setup(e){const t=["#b82015","#c21c53","#9C27B0","#673AB7","#3F51B5","#106892","#055c68","#208377","#1a761d","#476e1a","#636d0b","#8e5c11","#795548","#465a64"],a=N(!1),n=f(()=>!a.value&&!!e.src),l=f(()=>d(e.backgroundColor)?e.backgroundColor:n.value?"":p(e.userName.length,t)),i=f(()=>{const s={width:`${e.width}px`,height:`${e.width}px`,lineHeight:`${e.width}px`},r={backgroundColor:l.value,fontSize:`${Math.floor(e.width/2.5)}px`,fontFamily:"Helvetica, Arial, sans-serif",color:"white"};return Object.assign(s,r),s}),c=f(()=>n.value?"":St(e.userName)),b=()=>{a.value=!0},p=(s,r)=>r[s%r.length];return(s,r)=>(o(),m("span",{class:"vue-avatar--wrapper oc-avatar flex justify-center items-center shrink-0 text-center rounded-[50%] select-none",style:Y(i.value),width:e.width,"aria-label":e.accessibleLabel===""?null:e.accessibleLabel,"aria-hidden":e.accessibleLabel===""?"true":null,focusable:e.accessibleLabel===""?"false":null,role:e.accessibleLabel===""?null:"img","data-test-user-name":e.userName},[n.value?(o(),C(He,{key:0,"loading-type":"lazy",class:"avatarImg rounded-[50%] w-full",src:e.src,onError:b},null,8,["src"])):(o(),m("span",{key:1,class:"avatar-initials",style:Y({color:e.color})},k(c.value),5))],12,It))}}),Dt=["textContent"],Ve=O({__name:"OcAvatarCount",props:{count:{},size:{default:30}},setup(e){const t=f(()=>Math.floor(e.size/2.5)+"px");return(a,n)=>(o(),m("span",{class:"oc-avatar-count flex justify-center items-center bg-role-secondary text-role-on-secondary rounded-[50%]",style:Y({width:e.size+"px",height:e.size+"px",fontSize:t.value}),textContent:k(`+${e.count}`)},null,12,Dt))}}),Tt=["data-test-item-name","aria-label","aria-hidden","focusable","role"],re=O({__name:"OcAvatarItem",props:{name:{},accessibleLabel:{default:""},background:{default:"var(--oc-role-secondary)"},icon:{},iconColor:{default:"var(--oc-role-on-secondary)"},iconFillType:{default:"fill"},iconSize:{default:"small"},width:{default:30}},setup(e){const t=f(()=>e.width+"px"),a=f(()=>e.icon!==null),n=f(()=>e.background||l()),l=()=>{const i=["#b82015","#c21c53","#9C27B0","#673AB7","#3F51B5","#106892","#055c68","#208377","#1a761d","#476e1a","#636d0b","#8e5c11","#795548","#465a64"];return i[Math.floor(Math.random()*i.length)]};return(i,c)=>(o(),m("div",{"data-test-item-name":e.name,"aria-label":e.accessibleLabel===""?null:e.accessibleLabel,"aria-hidden":e.accessibleLabel===""?"true":null,focusable:e.accessibleLabel===""?"false":null,role:e.accessibleLabel===""?null:"img"},[g("span",{class:"oc-avatar-item inline-flex items-center justify-center rounded-[50%] bg-center bg-no-repeat bg-size-[18px]",style:Y({backgroundColor:n.value,width:t.value,height:t.value})},[a.value?(o(),C(F,{key:0,name:e.icon,color:e.iconColor,size:e.iconSize,"fill-type":e.iconFillType},null,8,["name","color","size","fill-type"])):x("",!0)],4)],8,Tt))}}),je=O({__name:"OcAvatarFederated",props:{name:{},accessibleLabel:{default:""},iconSize:{default:"small"},width:{default:30}},setup(e){return(t,a)=>(o(),C(re,{width:e.width,"icon-size":e.iconSize,icon:"cloud","icon-fill-type":"line","icon-color":"#5AAB9F",name:e.name,"accessible-label":e.accessibleLabel},null,8,["width","icon-size","name","accessible-label"]))}}),Re=O({__name:"OcAvatarGroup",props:{name:{},accessibleLabel:{default:""},iconSize:{default:"small"},width:{default:30}},setup(e){return(t,a)=>(o(),C(re,{width:e.width,"icon-size":e.iconSize,icon:"group",name:e.name,"accessible-label":e.accessibleLabel},null,8,["width","icon-size","name","accessible-label"]))}}),Ne=O({__name:"OcAvatarGuest",props:{name:{},accessibleLabel:{default:""},iconSize:{default:"small"},width:{default:30}},setup(e){return(t,a)=>(o(),C(re,{width:e.width,"icon-size":e.iconSize,icon:"global","icon-fill-type":"line","icon-color":"#D78841",name:e.name,"accessible-label":e.accessibleLabel},null,8,["width","icon-size","name","accessible-label"]))}}),qe=O({__name:"OcAvatarLink",props:{name:{},accessibleLabel:{default:""},iconSize:{default:"small"},width:{default:30}},setup(e){return(t,a)=>(o(),C(re,{width:e.width,"icon-size":e.iconSize,icon:"link",name:e.name,"accessible-label":e.accessibleLabel},null,8,["width","icon-size","name","accessible-label"]))}}),At=["aria-label"],Et=["textContent"],Pt=O({__name:"OcAvatars",props:{items:{},accessibleDescription:{},isTooltipDisplayed:{type:Boolean,default:!1},maxDisplayed:{},stacked:{type:Boolean,default:!1},hoverEffect:{type:Boolean,default:!1},gapSize:{default:"xsmall"},iconSize:{default:"small"},width:{default:30}},setup(e){const t=Q("avatarsRef"),a=f(()=>e.maxDisplayed&&e.maxDisplayed{const s=e.items.filter(r=>r.avatarType==="user");return a.value?s.slice(0,e.maxDisplayed):s}),l=f(()=>{const s=e.items.filter(r=>r.avatarType!=="user");return a.value?e.maxDisplayed<=n.value.length?[]:s.slice(0,e.maxDisplayed-n.value.length):s}),i=f(()=>{if(e.isTooltipDisplayed)return c.value;const s=(n.value||[]).map(r=>r?.displayName||r?.name||r?.userName).filter(Boolean);return s.length?s.join(", "):void 0}),c=f(()=>{if(e.isTooltipDisplayed){const s=n.value.map(w=>w.displayName);l.value.length>0&&s.push(...l.value.map(w=>w.name));let r=s.join(", ");return a.value&&(r+=` +${e.items.length-e.maxDisplayed}`),r}return null}),b=s=>{switch(s.avatarType){case"link":return qe;case"remote":return je;case"group":return Re;case"guest":return Ne}},p=f(()=>e.stacked&&e.hoverEffect&&d(e.items).length>1);return pe(()=>{if(!d(t)||!d(p))return;Array.from(d(t).children).forEach((r,w)=>{r.style.zIndex=`${900+w}`})}),(s,r)=>{const w=ke("oc-tooltip");return o(),m("span",null,[X((o(),m("span",{ref_key:"avatarsRef",ref:t,role:"img",class:L(["oc-avatars inline-flex w-fit flex-nowrap flex-row",{"oc-avatars-stacked [&>*]:not-first:-ml-3":e.stacked,"oc-avatars-hover-effect [&>*]:hover:!z-1000 [&>*]:hover:transform-[scale(1.1)] [&>*]:transition-transform [&>*]:duration-200 [&>*]:ease-out":p.value,...d(ot)(e.gapSize)}]),"aria-label":i.value},[P(s.$slots,"userAvatars",{avatars:n.value,width:e.width},()=>[n.value.length>0?(o(!0),m(J,{key:0},_(n.value,M=>(o(),C(Fe,{key:M.userName,src:M.avatar,"user-name":M.displayName,width:e.width,"icon-size":e.iconSize},null,8,["src","user-name","width","icon-size"]))),128)):x("",!0)]),r[0]||(r[0]=u()),l.value.length>0?(o(!0),m(J,{key:0},_(l.value,(M,T)=>(o(),C(fe(b(M)),{key:M.name+T,name:M.name,width:e.width,"icon-size":e.iconSize},null,8,["name","width","icon-size"]))),128)):x("",!0),r[1]||(r[1]=u()),a.value?(o(),C(Ve,{key:1,count:e.items.length-e.maxDisplayed},null,8,["count"])):x("",!0)],10,At)),[[w,c.value]]),r[2]||(r[2]=u()),e.accessibleDescription?(o(),m("span",{key:0,class:"sr-only",textContent:k(e.accessibleDescription)},null,8,Et)):x("",!0)])}}}),Ht=["id","aria-label"],Ft=["data-key","data-item-id","aria-hidden","onDragenter","onDragleave","onMouseleave","onDrop"],Vt={class:"hover:underline align-sub truncate inline-block leading-[1.2] max-w-3xs"},jt=["textContent"],Rt=["textContent"],Nt=["aria-current","textContent"],qt=["textContent"],Ut=O({__name:"OcBreadcrumb",props:{items:{},contextMenuPadding:{default:"medium"},id:{default:()=>G("oc-breadcrumbs-")},maxWidth:{default:()=>-1},mobileBreakpoint:{default:"sm"},showContextActions:{type:Boolean,default:!1},truncationOffset:{default:2},variation:{default:"default"}},emits:["itemDroppedBreadcrumb"],setup(e,{emit:t}){const a=t,{$gettext:n}=Z(),l=N([]),i=N([]),c=N([]);c.value=e.items;const b=S=>i.value.indexOf(S)!==-1||S.isTruncationPlaceholder&&i.value.length===0,p=S=>document.querySelector(`.oc-breadcrumb-list [data-item-id="${S}"]`),s=(S,$)=>!(!S.id||$===d(c).length-1||S.isTruncationPlaceholder||S.isStaticNav),r=(S,$)=>{if(s(S,$)&&typeof S.to=="object"){const R=S.to;R.path=R.path||"/",a(ft,R)}},w=()=>{let S=100;return l.value.forEach($=>{const U=p($.id)?.getBoundingClientRect()?.width||0;S+=U}),S},M=S=>{const $=e.maxWidth;if(!$)return;const R=w();if(!($e.maxWidth,()=>e.items],()=>{c.value=[...e.items],c.value.length>e.truncationOffset-1&&c.value.splice(e.truncationOffset-1,0,{text:"...",allowContextActions:!1,to:{},isTruncationPlaceholder:!0}),l.value=[...c.value],i.value=[],le(()=>{M(e.truncationOffset)})},{immediate:!0});const h=f(()=>{if(!(e.items.length===0||!e.items))return[...e.items].reverse()[0]}),D=f(()=>[...e.items].reverse()[1]?.to),A=f(()=>n("Show actions for current folder")),I=S=>e.items.length-1===S?"page":null,q=(S,$,R,U)=>{if(!s(S,$)||(U.dataTransfer?.types||[]).some(ne=>ne==="Files")||U.currentTarget?.contains(U.relatedTarget))return;const v=p(S.id).children[0].classList,y="oc-breadcrumb-item-dragover";R?v.remove(y):v.add(y)};return(S,$)=>{const R=V("router-link"),U=ke("oc-tooltip");return o(),m(J,null,[g("nav",{id:e.id,class:L(`oc-breadcrumb oc-breadcrumb-${e.variation} overflow-visible`),"aria-label":d(n)("Breadcrumbs")},[g("ol",{class:L(["oc-breadcrumb-list hidden items-baseline m-0 p-0 flex-nowrap",{"sm:flex":e.mobileBreakpoint==="sm","md:flex":e.mobileBreakpoint==="md","lg:flex":e.mobileBreakpoint==="lg"}])},[(o(!0),m(J,null,_(c.value,(E,v)=>(o(),m("li",{key:v,"data-key":v,"data-item-id":E.id,"aria-hidden":E.isTruncationPlaceholder,class:L(["oc-breadcrumb-list-item","flex","items-center",{"sr-only":b(E)}]),onDragover:$[0]||($[0]=ae(()=>{},["prevent"])),onDragenter:ae(y=>q(E,v,!1,y),["prevent"]),onDragleave:ae(y=>q(E,v,!0,y),["prevent"]),onMouseleave:y=>q(E,v,!0,y),onDrop:y=>r(E,v)},[E.to&&!E.isTruncationPlaceholder?(o(),C(R,{key:0,"aria-current":I(v),to:E.to,class:"first:text-base text-xl text-role-on-surface"},{default:z(()=>[g("span",Vt,k(E.text),1)]),_:2},1032,["aria-current","to"])):E.onClick&&!E.isTruncationPlaceholder?(o(),C(j,{key:1,"aria-current":I(v),appearance:"raw-inverse","color-role":"surface",class:"flex first:text-base text-xl","no-hover":"",onClick:E.onClick},{default:z(()=>[g("span",{class:L(["hover:underline","align-sub","truncate","inline-block","leading-[1.2]","max-w-3xs",{"oc-breadcrumb-item-text-last":v===c.value.length-1}]),textContent:k(E.text)},null,10,jt)]),_:2},1032,["aria-current","onClick"])):E.isTruncationPlaceholder?(o(),m("span",{key:2,class:"first:text-base text-xl align-sub truncate inline-block leading-[1.2] max-w-3xs",tabindex:"-1","aria-hidden":"true",textContent:k(E.text)},null,8,Rt)):(o(),m("span",{key:3,class:"first:text-base text-xl align-sub truncate inline-block leading-[1.2] max-w-3xs","aria-current":I(v),tabindex:"-1",textContent:k(E.text)},null,8,Nt)),$[2]||($[2]=u()),v!==c.value.length-1?(o(),C(F,{key:4,color:"var(--oc-role-on-surface)",name:"arrow-right-s",class:"mx-1 align-sub","fill-type":"line"})):x("",!0),$[3]||($[3]=u()),e.showContextActions&&v===c.value.length-1?(o(),m(J,{key:5},[X((o(),C(j,{id:"oc-breadcrumb-contextmenu-trigger","aria-label":A.value,appearance:"raw","no-hover":"",class:"mx-1"},{default:z(()=>[B(F,{name:"more-2",color:"var(--oc-role-on-surface)",class:"align-middle"})]),_:1},8,["aria-label"])),[[U,A.value]]),$[1]||($[1]=u()),B(ve,{"drop-id":"oc-breadcrumb-contextmenu",toggle:"#oc-breadcrumb-contextmenu-trigger",mode:"click","close-on-click":"","padding-size":e.contextMenuPadding},{default:z(()=>[P(S.$slots,"contextMenu",{},void 0,!0)]),_:3},8,["padding-size"])],64)):x("",!0)],42,Ft))),128))],2),$[4]||($[4]=u()),D.value&&c.value.length>1?(o(),C(j,{key:0,appearance:"raw",type:"router-link","aria-label":d(n)("Navigate one level up"),to:D.value,class:L(["oc-breadcrumb-mobile-navigation flex",{"sm:hidden":e.mobileBreakpoint==="sm","md:hidden":e.mobileBreakpoint==="md","lg:hidden":e.mobileBreakpoint==="lg"}])},{default:z(()=>[B(F,{name:"arrow-left-s","fill-type":"line",size:"large"})]),_:1},8,["aria-label","to","class"])):x("",!0)],10,Ht),$[5]||($[5]=u()),c.value.length?(o(),m("div",{key:0,class:L(["oc-breadcrumb-mobile-current flex items-center w-0 flex-1",{"sm:hidden":e.mobileBreakpoint==="sm","md:hidden":e.mobileBreakpoint==="md","lg:hidden":e.mobileBreakpoint==="lg","justify-center":c.value.length>1}])},[g("span",{class:"truncate","aria-current":"page",textContent:k(h.value.text)},null,8,qt)],2)):x("",!0)],64)}}}),Gt=W(Ut,[["__scopeId","data-v-5ca75fc6"]]),Wt=["id","value","disabled","aria-label"],Kt=["for","textContent"],Jt=O({__name:"OcCheckbox",props:oe({label:{},disabled:{type:Boolean,default:!1},id:{default:()=>G("oc-checkbox-")},labelHidden:{type:Boolean,default:!1},option:{},size:{default:"medium"}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:oe(["click"],["update:modelValue"]),setup(e,{emit:t}){const a=t,n=be(e,"modelValue"),l=f(()=>{const c=d(n);return Array.isArray(c)?c.some(b=>kt(b,e.option)):c}),i=c=>{n.value=!n.value,a("click",c)};return(c,b)=>(o(),m("span",{class:"inline-flex items-center",onClick:b[1]||(b[1]=p=>c.$emit("click",p))},[X(g("input",{id:e.id,"onUpdate:modelValue":b[0]||(b[0]=p=>n.value=p),type:"checkbox",name:"checkbox",class:L(["oc-checkbox m-0.5 border-2 border-role-outline outline-0 focus-visible:outline outline-role-secondary rounded-sm checked:bg-white disabled:bg-role-surface-container-low indeterminate:bg-white bg-transparent inline-block overflow-hidden cursor-pointer disabled:opacity-40 disabled:cursor-default bg-no-repeat bg-center appearance-none align-middle",{"oc-checkbox-checked bg-white":l.value,"size-3":e.size==="small","size-4":e.size==="medium","size-5":e.size==="large"}]),value:e.option,disabled:e.disabled,"aria-label":e.labelHidden?e.label:null,onKeydown:de(i,["enter"])},null,42,Wt),[[Ye,n.value]]),b[2]||(b[2]=u()),e.labelHidden?x("",!0):(o(),m("label",{key:0,for:e.id,class:L([{"cursor-pointer":!e.disabled},"ml-1"]),textContent:k(e.label)},null,10,Kt))]))}}),Yt=W(Jt,[["__scopeId","data-v-8d6b4a3c"]]),Xt=["for"],Qt={key:0,class:"text-role-error","aria-hidden":"true"},Zt={class:"oc-color-input-wrapper relative max-m-5"},_t=["id","aria-invalid","value","disabled"],ea=["id","textContent"],ta=O({inheritAttrs:!1,__name:"OcColorInput",props:{id:{default:()=>G("oc-color-input-")},modelValue:{default:""},clearButtonEnabled:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},label:{},errorMessage:{},fixMessageLine:{type:Boolean,default:!1},descriptionMessage:{},requiredMark:{type:Boolean,default:!1}},emits:["change","update:modelValue"],setup(e,{emit:t}){const a=t,n=f(()=>e.fixMessageLine||!!e.errorMessage||!!e.descriptionMessage),l=f(()=>`${e.id}-message`),i=ge(),c=f(()=>{const T={};(e.errorMessage||e.descriptionMessage)&&(T["aria-describedby"]=l.value);const{change:h,input:D,class:A,...I}=i;return{...I,...T}}),b=f(()=>(!!e.errorMessage).toString()),p=f(()=>e.errorMessage?e.errorMessage:e.descriptionMessage),s=f(()=>!e.disabled&&e.clearButtonEnabled&&!!e.modelValue);function r(){M(""),w(null)}const w=T=>{a("change",T)},M=T=>{a("update:modelValue",T)};return(T,h)=>(o(),m("div",{class:L(T.$attrs.class)},[P(T.$slots,"label",{},()=>[g("label",{class:"inline-block mb-0.5",for:e.id},[u(k(e.label)+" ",1),e.requiredMark?(o(),m("span",Qt,"*")):x("",!0)],8,Xt)]),h[4]||(h[4]=u()),g("div",Zt,[g("input",K({id:e.id},c.value,{type:"color","aria-invalid":b.value,class:["oc-color-input oc-input rounded-sm py-0.5 focus:border focus:border-role-outline focus:outline-2 focus:outline-role-outline",{"oc-color-input-danger text-role-error focus:text-role-error border-role-error":!!e.errorMessage,"pr-6":s.value}],value:e.modelValue,disabled:e.disabled,onChange:h[0]||(h[0]=D=>w(D.target.value)),onInput:h[1]||(h[1]=D=>M(D.target.value))}),null,16,_t),h[2]||(h[2]=u()),s.value?(o(),C(j,{key:0,class:"mr-1 absolute top-[50%] transform-[translateY(-50%)] right-0 oc-color-input-btn-clear",appearance:"raw","no-hover":"",onClick:r},{default:z(()=>[B(F,{name:"close",size:"small"})]),_:1})):x("",!0)]),h[5]||(h[5]=u()),n.value?(o(),m("div",{key:0,class:L(["oc-color-input-message flex items-center text-sm mt-1 min-h-4.5",{"oc-color-input-description text-role-on-surface-variant relative":!!e.descriptionMessage,"oc-color-input-danger text-role-error focus:text-role-error border-role-error":!!e.errorMessage}])},[e.errorMessage?(o(),C(F,{key:0,name:"error-warning",size:"small","fill-type":"line","aria-hidden":"true",class:"mr-1"})):x("",!0),h[3]||(h[3]=u()),g("span",{id:l.value,class:L({"oc-color-input-description text-role-on-surface-variant flex items-center":!!e.descriptionMessage,"oc-color-input-danger text-role-error focus:text-role-error border-role-error":!!e.errorMessage}),textContent:k(p.value)},null,10,ea)],2)):x("",!0)],2))}}),aa={class:"info-drop-content"},na={class:"flex justify-between items-center info-header border-b pb-2"},la=["textContent"],oa=["textContent"],ia={key:1,class:"info-list mt-2 mb-1 first:mt-0 last:mb-0"},ra=["textContent"],Ue=O({__name:"OcInfoDrop",props:{title:{},dropId:{default:()=>G("oc-info-drop-")},endText:{default:""},list:{default:()=>[]},mode:{default:"click"},readMoreLink:{default:""},text:{default:""},toggle:{default:""}},setup(e){const t=N(!1),a=f(()=>(e.list||[]).filter(n=>!!n.text));return(n,l)=>(o(),C(ve,{ref:"drop",class:"w-full oc-info-drop inline-block","drop-id":e.dropId,toggle:e.toggle,mode:e.mode,"close-on-click":"","enforce-drop-on-mobile":"","is-menu":!1,onHideDrop:l[0]||(l[0]=()=>t.value=!1),onShowDrop:l[1]||(l[1]=()=>t.value=!0)},{default:z(()=>[B(d(Ee),{active:t.value},{default:z(()=>[g("div",aa,[g("div",na,[g("h4",{class:"m-0 info-title text-lg font-normal",textContent:k(n.$gettext(e.title))},null,8,la),l[2]||(l[2]=u()),B(j,{appearance:"raw","aria-label":n.$gettext("Close"),class:"align-middle"},{default:z(()=>[B(F,{name:"close","fill-type":"line",size:"medium"})]),_:1},8,["aria-label"])]),l[3]||(l[3]=u()),e.text?(o(),m("p",{key:0,class:"info-text first:mt-0 last:mb-0",textContent:k(n.$gettext(e.text))},null,8,oa)):x("",!0),l[4]||(l[4]=u()),a.value.length?(o(),m("dl",ia,[(o(!0),m(J,null,_(a.value,(i,c)=>(o(),C(fe(i.headline?"dt":"dd"),{key:c,class:L({"ml-0":!i.headline,"first:mt-0":i.headline,"font-bold":i.headline})},{default:z(()=>[u(k(n.$gettext(i.text)),1)]),_:2},1032,["class"]))),128))])):x("",!0),l[5]||(l[5]=u()),e.endText?(o(),m("p",{key:2,class:"info-text-end",textContent:k(n.$gettext(e.endText))},null,8,ra)):x("",!0),l[6]||(l[6]=u()),e.readMoreLink?(o(),C(j,{key:3,type:"a",appearance:"raw",class:"info-more-link",href:e.readMoreLink,target:"_blank"},{default:z(()=>[u(k(n.$gettext("Read more")),1)]),_:1},8,["href"])):x("",!0)])]),_:1},8,["active"])]),_:1},8,["drop-id","toggle","mode"]))}}),sa={class:"oc-contextual-helper inline-block"},ca=O({__name:"OcContextualHelper",props:{title:{},endText:{default:""},list:{default:()=>[]},readMoreLink:{default:""},text:{default:""}},setup(e){const t=N(G("oc-contextual-helper-")),a=f(()=>`${t.value}-button`),n=f(()=>`#${a.value}`),l=f(()=>({title:e.title,text:e.text,list:e.list,endText:e.endText,readMoreLink:e.readMoreLink}));return(i,c)=>(o(),m("div",sa,[B(j,{id:a.value,"aria-label":i.$gettext("Show more information"),appearance:"raw",class:"align-middle","no-hover":""},{default:z(()=>[B(F,{name:"question","fill-type":"line",size:"small"})]),_:1},8,["id","aria-label"]),c[0]||(c[0]=u()),B(Ue,K({"drop-id":t.value,toggle:n.value},l.value),null,16,["drop-id","toggle"])]))}}),ua=O({__name:"OcDatepicker",props:{label:{},currentDate:{},isClearable:{type:Boolean,default:!0},minDate:{},isDark:{type:Boolean,default:!1}},emits:["dateChanged"],setup(e,{emit:t}){const a=t,{$gettext:n,current:l}=Z(),i=N(""),c=f(()=>{const s=Oe.fromISO(d(i)).endOf("day");return s.isValid?s:null}),b=f(()=>!e.minDate||!d(c)?!1:d(c)d(b)?n("The date must be after %{date}",{date:e.minDate.minus({day:1}).setLocale(l).toLocaleString(Oe.DATE_SHORT)}):"");return ee(()=>e.currentDate,()=>{if(e.currentDate){i.value=e.currentDate.toISODate();return}i.value=void 0},{immediate:!0}),ee(c,()=>{a("dateChanged",{date:d(c),error:d(b)})},{deep:!0}),(s,r)=>{const w=V("oc-text-input");return o(),C(w,K({modelValue:i.value,"onUpdate:modelValue":r[0]||(r[0]=M=>i.value=M)},s.$attrs,{label:e.label,type:"date",min:e.minDate?.toISODate(),"fix-message-line":!0,"error-message":p.value,"clear-button-enabled":e.isClearable,"clear-button-accessible-label":d(n)("Clear date"),class:["oc-date-picker",{"oc-date-picker-dark":e.isDark}]}),null,16,["modelValue","label","min","error-message","clear-button-enabled","clear-button-accessible-label","class"])}}}),da={class:"details-list grid grid-cols-[auto_minmax(0,1fr)]"},ma=O({__name:"OcDefinitionList",props:{items:{}},setup(e){return(t,a)=>(o(),m("dl",da,[(o(!0),m(J,null,_(e.items,n=>(o(),m(J,{key:n.term},[g("dt",null,k(n.term),1),a[0]||(a[0]=u()),g("dd",null,k(n.definition),1)],64))),128))]))}}),fa={class:"oc-dropzone flex justify-center items-center border-dashed border-role-outline opacity-90 [&_*]:pointer-events-none"},ba=O({name:"OcDropzone",__name:"OcDropzone",setup(e){return(t,a)=>(o(),m("div",fa,[P(t.$slots,"default",{},void 0,!0)]))}}),ga=W(ba,[["__scopeId","data-v-84a2b30a"]]),va=["for"],ha={key:0,class:"text-role-error","aria-hidden":"true"},xa={class:"flex items-center"},ya=["id","aria-invalid","multiple","accept"],pa={class:"oc-file-input-files rounded-sm ml-2 bg-role-surface-container"},ka={key:0,class:"py-1 px-2 text-sm flex items-center"},wa=["id","textContent"],$a=O({inheritAttrs:!1,__name:"OcFileInput",props:{label:{},id:{default:()=>G("oc-fileinput-")},fileTypes:{default:""},multiple:{type:Boolean,default:!1},modelValue:{default:null},clearButtonEnabled:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},errorMessage:{default:""},fixMessageLine:{type:Boolean,default:!1},descriptionMessage:{default:""},requiredMark:{type:Boolean,default:!1}},emits:["update:modelValue","focus"],setup(e,{emit:t}){const a=t,n=f(()=>e.fixMessageLine||!!e.errorMessage||!!e.descriptionMessage),l=f(()=>`${e.id}-message`),i=ge(),c=f(()=>{const A={};(e.errorMessage||e.descriptionMessage)&&(A["aria-describedby"]=l.value);const{change:I,input:q,focus:S,class:$,...R}=i;return{...R,...A}}),b=f(()=>(!!e.errorMessage).toString()),p=f(()=>e.errorMessage?e.errorMessage:e.descriptionMessage),s=Q("inputRef"),r=Q("inputBtnRef"),w=f(()=>d(e.modelValue)?Array.from(d(s).files).map(I=>I.name).join(", "):""),M=()=>{d(s)&&d(s).click()},T=()=>{a("update:modelValue",null),d(s).value=null},h=()=>{a("update:modelValue",d(s).files)},D=async()=>{await le(),d(r).focus(),a("focus",d(r))};return(A,I)=>(o(),m("div",{class:L(A.$attrs.class)},[P(A.$slots,"label",{},()=>[g("label",{class:"inline-block mb-0.5",for:e.id},[u(k(e.label)+" ",1),e.requiredMark?(o(),m("span",ha,"*")):x("",!0)],8,va)]),I[3]||(I[3]=u()),g("div",xa,[g("input",K({id:e.id},c.value,{ref_key:"inputRef",ref:s,"aria-invalid":b.value,class:"invisible oc-file-input p-0 size-0",type:"file",multiple:e.multiple,accept:e.fileTypes,onChange:h,onFocus:D}),null,16,ya),I[0]||(I[0]=u()),B(j,{ref_key:"inputBtnRef",ref:r,class:L([{"oc-file-input-danger text-role-error focus:text-role-error":!!e.errorMessage},"oc-file-input-button oc-text-input-btn pr-2"]),disabled:e.disabled,"color-role":"secondary",appearance:"outline",onClick:M},{default:z(()=>[u(k(A.$ngettext("Select file","Select files",e.multiple?2:1)),1)]),_:1},8,["class","disabled"]),I[1]||(I[1]=u()),g("div",pa,[w.value?(o(),m("div",ka,[u(k(w.value)+" ",1),e.clearButtonEnabled&&w.value?(o(),C(j,{key:0,appearance:"raw",class:"oc-file-input-clear raw-hover-surface p-1 ml-1","aria-label":A.$gettext("Clear input"),onClick:T},{default:z(()=>[B(F,{name:"close",size:"small"})]),_:1},8,["aria-label"])):x("",!0)])):x("",!0)])]),I[4]||(I[4]=u()),n.value?(o(),m("div",{key:0,class:L(["oc-file-input-message flex items-center text-sm mt-1 min-h-4.5",{"oc-file-input-description text-role-on-surface-variant":!!e.descriptionMessage,"oc-file-input-danger text-role-error focus:text-role-error":!!e.errorMessage}])},[e.errorMessage?(o(),C(F,{key:0,name:"error-warning",size:"small",class:"mr-1","fill-type":"line","aria-hidden":"true"})):x("",!0),I[2]||(I[2]=u()),g("span",{id:l.value,class:L({"oc-file-input-description text-role-on-surface-variant":!!e.descriptionMessage,"oc-file-input-danger text-role-error focus:text-role-error":!!e.errorMessage}),textContent:k(p.value)},null,10,wa)],2)):x("",!0)],2))}}),Ca=["textContent"],Oa=["textContent"],Ma=O({__name:"OcFilterChip",props:{filterLabel:{},closeOnClick:{type:Boolean,default:!1},id:{default:()=>G("oc-filter-chip-")},isToggle:{type:Boolean,default:!1},isToggleActive:{type:Boolean,default:!1},raw:{type:Boolean,default:!1},hasActiveState:{type:Boolean,default:!0},selectedItemNames:{default:()=>[]}},emits:["clearFilter","hideDrop","showDrop","toggleFilter"],setup(e,{expose:t,emit:a}){const n=a,l=Q("dropRef"),i=f(()=>e.hasActiveState?e.isToggle?e.isToggleActive:!!e.selectedItemNames.length:!1),c=()=>{d(l)?.hide()},b=f(()=>d(i)?"filled":e.raw?"raw-inverse":"outline"),p=f(()=>d(i)?"secondaryContainer":e.raw?"surface":"secondary");return t({hideDrop:c}),(s,r)=>{const w=V("oc-icon"),M=V("oc-button"),T=ke("oc-tooltip");return o(),m("div",{class:L(["oc-filter-chip flex",{"oc-filter-chip-toggle":e.isToggle,"oc-filter-chip-raw":e.raw}])},[B(M,{id:e.id,"gap-size":i.value?"small":"none",class:L(["oc-filter-chip-button oc-pill py-1 rounded-md h-[32px] max-w-40 focus:z-90 transition-[gap]",{"oc-filter-chip-button-selected rounded-l-md rounded-r-none pr-2 pl-3":i.value,"px-3":!i.value}]),appearance:b.value,"color-role":p.value,"no-hover":i.value||!e.hasActiveState,onClick:r[0]||(r[0]=h=>e.isToggle?n("toggleFilter"):!1)},{default:z(()=>[B(w,{class:L([{"transform-[scale(1)] ease-in":i.value,"transform-[scale(0)] ease-out w-0":!i.value},"transition-all duration-250"]),name:"check",size:"small"},null,8,["class"]),r[4]||(r[4]=u()),g("span",{class:"truncate oc-filter-chip-label",textContent:k(e.selectedItemNames.length?e.selectedItemNames[0]:e.filterLabel)},null,8,Ca),r[5]||(r[5]=u()),e.selectedItemNames.length>1?(o(),m("span",{key:0,textContent:k(` +${e.selectedItemNames.length-1}`)},null,8,Oa)):x("",!0),r[6]||(r[6]=u()),!i.value&&!e.isToggle?(o(),C(w,{key:1,name:"arrow-down-s",size:"small","fill-type":"line",class:"ml-1"})):x("",!0)]),_:1},8,["id","gap-size","class","appearance","color-role","no-hover"]),r[7]||(r[7]=u()),e.isToggle?x("",!0):(o(),C(ve,{key:0,ref_key:"dropRef",ref:l,toggle:"#"+e.id,title:e.filterLabel,class:"oc-filter-chip-drop",mode:"click","padding-size":"small","close-on-click":e.closeOnClick,onHideDrop:r[1]||(r[1]=h=>n("hideDrop")),onShowDrop:r[2]||(r[2]=h=>n("showDrop"))},{default:z(()=>[P(s.$slots,"default")]),_:3},8,["toggle","title","close-on-click"])),r[8]||(r[8]=u()),i.value?X((o(),C(M,{key:1,class:"oc-filter-chip-clear px-1 rounded-l-none rounded-r-md h-[32px] not-[.oc-filter-chip-toggle_.oc-filter-chip-clear]:ml-[1px] focus:z-90",appearance:"filled","color-role":"secondaryContainer","aria-label":s.$gettext("Clear filter"),"no-hover":i.value,onClick:r[3]||(r[3]=h=>n("clearFilter"))},{default:z(()=>[B(w,{name:"close",size:"small"})]),_:1},8,["aria-label","no-hover"])),[[T,s.$gettext("Clear filter")]]):x("",!0)],2)}}}),La=["id","aria-live","textContent"],Ba=O({__name:"OcHiddenAnnouncer",props:{announcement:{},level:{default:"polite"}},setup(e){const t=f(()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15));return(a,n)=>(o(),m("span",{id:t.value,class:"sr-only oc-hidden-announcer","aria-live":e.level,"aria-atomic":"true",textContent:k(e.announcement)},null,8,La))}}),za=O({__name:"OcList",props:{raw:{type:Boolean,default:!1}},setup(e){return(t,a)=>(o(),m("ul",{class:L(["oc-list",{"oc-list-raw":e.raw}])},[P(t.$slots,"default")],2))}}),Sa=["aria-label"],Ia=O({__name:"OcLoader",props:{ariaLabel:{default:"Loading"},flat:{type:Boolean,default:!1}},setup(e){return(t,a)=>(o(),m("div",{class:L(["oc-loader","block","after:block","bg-role-surface-container","after:bg-role-secondary","w-full","after:w-0","after:h-full","overflow-hidden","after:animate-loading-bar",{"oc-loader-flat rounded-none h-1":e.flat},{"rounded-[500px] h-4":!e.flat}]),"aria-label":e.ariaLabel},null,10,Sa))}}),Da=W(Ia,[["__scopeId","data-v-d07b1697"]]),Ta={class:"oc-modal-background fixed left-0 top-0 z-[var(--z-index-modal)] bg-black/40 flex items-center justify-center flex-row flex-wrap size-full"},Aa=["id","onKeydown"],Ea={class:"oc-modal-title flex items-center flex-row flex-wrap justify-between py-3 px-4 rounded-t-xl"},Pa=["textContent"],Ha={class:"flex items-center gap-1"},Fa={class:"oc-modal-body px-4 pt-4"},Va={key:"modal-slot-content",class:"oc-modal-body-message mt-2 mb-4"},ja=["textContent"],Ra=["textContent"],Na={key:0,class:"oc-modal-body-actions flex justify-end p-4 text-right"},qa={class:"oc-modal-body-actions-grid grid grid-flow-col auto-cols-1fr"},Ua=O({__name:"OcModal",props:{title:{},buttonConfirmDisabled:{type:Boolean,default:!1},buttonConfirmText:{default:"Confirm"},contextualHelperData:{},contextualHelperLabel:{default:""},elementClass:{},elementId:{},focusTrapInitial:{type:[String,Boolean],default:null},hasInput:{type:Boolean,default:!1},hideActions:{type:Boolean,default:!1},hideCancelButton:{type:Boolean,default:!1},hideConfirmButton:{type:Boolean,default:!1},inputDescription:{},inputRequiredMark:{type:Boolean,default:!1},inputError:{},inputLabel:{},inputSelectionRange:{},inputType:{default:"text"},inputValue:{},isLoading:{type:Boolean,default:!1},message:{}},emits:["cancel","confirm","input"],setup(e,{emit:t}){const a=t,{$gettext:n}=Z(),l=N(!1),i=N(),c=N("filled"),b=Q("ocModal"),p=Q("ocModalInput"),s=f(()=>({getShadowRoot:!0})),r=()=>{l.value=!1,c.value="filled"},w=()=>{l.value=!0,c.value="outline"},M=f(()=>e.buttonConfirmText||n("Confirm")),T=f(()=>n("Cancel"));ee(()=>e.isLoading,()=>{if(!e.isLoading)return r();setTimeout(()=>{if(!e.isLoading)return r();w()},700)},{immediate:!0});const h=f(()=>e.focusTrapInitial||e.focusTrapInitial===!1?e.focusTrapInitial:()=>d(p)?.$el?.querySelector("input")||d(b)||void 0),D=f(()=>["oc-modal","bg-role-surface",e.elementClass]);ee(()=>e.inputValue,S=>{i.value=S},{immediate:!0});const A=()=>{a("cancel")},I=()=>{e.buttonConfirmDisabled||e.inputError||a("confirm",d(i))},q=S=>{a("input",S)};return(S,$)=>{const R=V("oc-icon"),U=V("oc-contextual-helper");return o(),m("div",Ta,[B(d(Ee),{active:!0,"initial-focus":h.value,"tabbable-options":s.value},{default:z(()=>[g("div",{id:e.elementId,ref_key:"ocModal",ref:b,class:L([D.value,"z-[calc(var(--z-index-modal)+1)] rounded-xl focus:outline-0 w-full max-w-xl max-h-[90vh] overflow-auto shadow-2xl"]),tabindex:"0",role:"dialog","aria-modal":"true","aria-labelledby":"oc-modal-title",onKeydown:de(ae(A,["stop"]),["esc"])},[g("div",Ea,[g("h2",{id:"oc-modal-title",class:"truncate m-0 text-base",textContent:k(e.title)},null,8,Pa),$[2]||($[2]=u()),g("div",Ha,[P(S.$slots,"headerActions"),$[1]||($[1]=u()),e.hideCancelButton?x("",!0):(o(),C(j,{key:0,appearance:"raw",class:"oc-modal-title-actions-cancel",disabled:e.isLoading,"aria-label":T.value,onClick:A},{default:z(()=>[B(R,{name:"close"})]),_:1},8,["disabled","aria-label"]))])]),$[6]||($[6]=u()),g("div",Fa,[S.$slots.content?(o(),m("div",Va,[P(S.$slots,"content")])):(o(),m(J,{key:1},[e.message?(o(),m("p",{key:"modal-message",class:L(["oc-modal-body-message mt-0",{"mb-0":!e.hasInput||e.contextualHelperData}]),textContent:k(e.message)},null,10,ja)):x("",!0),$[4]||($[4]=u()),e.contextualHelperData?(o(),m("div",{key:1,class:L(["oc-modal-body-contextual-helper mb-4",{"mb-0":!e.hasInput}])},[g("span",{class:"text",textContent:k(e.contextualHelperLabel)},null,8,Ra),$[3]||($[3]=u()),B(U,K({class:"pl-1"},e.contextualHelperData),null,16)],2)):x("",!0),$[5]||($[5]=u()),e.hasInput?(o(),C(Ae,{key:"modal-input",ref_key:"ocModalInput",ref:p,modelValue:i.value,"onUpdate:modelValue":[$[0]||($[0]=E=>i.value=E),q],class:"oc-modal-body-input -mb-5 pb-4","error-message":e.inputError,label:e.inputLabel,type:e.inputType,"description-message":e.inputDescription,"required-mark":e.inputRequiredMark,"fix-message-line":!0,"selection-range":e.inputSelectionRange,onKeydown:de(ae(I,["prevent"]),["enter"])},null,8,["modelValue","error-message","label","type","description-message","required-mark","selection-range","onKeydown"])):x("",!0)],64))]),$[7]||($[7]=u()),e.hideActions?x("",!0):(o(),m("div",Na,[g("div",qa,[e.hideConfirmButton?x("",!0):(o(),C(j,{key:0,class:"oc-modal-body-actions-confirm ml-2",appearance:c.value,disabled:e.isLoading||e.buttonConfirmDisabled||!!e.inputError,"show-spinner":l.value,onClick:I},{default:z(()=>[u(k(d(n)(M.value)),1)]),_:1},8,["appearance","disabled","show-spinner"]))])]))],42,Aa)]),_:3},8,["initial-focus","tabbable-options"])])}}}),Ga={class:"oc-error-log"},Wa={class:"flex justify-between mt-2"},Ka={class:"flex"},Ja={key:0,class:"flex items-center"},Ya=["textContent"],Ge=O({__name:"OcErrorLog",props:{content:{}},setup(e){const{$gettext:t}=Z(),a=N(!1),n=f(()=>t("Copy the following information and pass them to technical support to troubleshoot the problem:")),l=()=>{navigator.clipboard.writeText(e.content),a.value=!0,setTimeout(()=>a.value=!1,1500)};return(i,c)=>{const b=V("oc-textarea"),p=V("oc-icon"),s=V("oc-button");return o(),m("div",Ga,[B(b,{class:"oc-error-log-textarea mt-2 text-sm resize-none",label:n.value,"model-value":e.content,rows:"4",readonly:""},null,8,["label","model-value"]),c[2]||(c[2]=u()),g("div",Wa,[g("div",Ka,[a.value?(o(),m("div",Ja,[B(p,{name:"checkbox-circle"}),c[0]||(c[0]=u()),g("p",{class:"oc-error-log-content-copied ml-2 my-0",textContent:k(d(t)("Copied"))},null,8,Ya)])):x("",!0)]),c[1]||(c[1]=u()),B(s,{size:"small",appearance:"filled",onClick:l},{default:z(()=>[u(k(d(t)("Copy")),1)]),_:1})])])}}}),Xa=["role","aria-live"],Qa={class:"flex items-center justify-between w-full"},Za={class:"flex items-center"},_a={class:"oc-notification-message-title text-lg"},en={key:0,class:"flex justify-between w-full mt-2"},tn=["textContent"],an=["textContent"],nn=O({__name:"OcNotificationMessage",props:{title:{},errorLogContent:{},message:{},status:{default:"passive"},timeout:{default:5},showInfoIcon:{type:Boolean,default:!0}},emits:["close"],setup(e,{emit:t}){const a=t,n=N(!1),l=f(()=>`oc-notification-message-${e.status}`),i=f(()=>e.status==="danger"),c=f(()=>d(i)?"alert":"status"),b=f(()=>d(i)?"assertive":"polite"),p=()=>{a("close")};return pe(()=>{e.timeout!==0&&setTimeout(()=>{p()},e.timeout*1e3)}),(s,r)=>(o(),m("div",{class:L(["flex flex-wrap oc-notification-message shadow-md/20 rounded-sm break-keep bg-role-surface motion-safe:animate-fade-in relative",l.value])},[g("div",{class:"flex flex-wrap items-center flex-1",role:c.value,"aria-live":b.value},[g("div",Qa,[g("div",Za,[e.showInfoIcon?(o(),C(F,{key:0,name:"information","fill-type":"line",class:"mr-2"})):x("",!0),r[1]||(r[1]=u()),g("div",_a,k(e.title),1)]),r[2]||(r[2]=u()),B(j,{appearance:"raw","aria-label":s.$gettext("Close"),onClick:p},{default:z(()=>[B(F,{name:"close"})]),_:1},8,["aria-label"])]),r[5]||(r[5]=u()),e.message||e.errorLogContent?(o(),m("div",en,[e.message?(o(),m("span",{key:0,class:"oc-notification-message-content text-role-on-surface-variant mr-2",textContent:k(e.message)},null,8,tn)):x("",!0),r[4]||(r[4]=u()),e.errorLogContent?(o(),C(j,{key:1,class:"oc-notification-message-error-log-toggle-button break-keep","gap-size":"none",appearance:"raw",onClick:r[0]||(r[0]=w=>n.value=!n.value)},{default:z(()=>[g("span",{textContent:k(s.$gettext("Details"))},null,8,an),r[3]||(r[3]=u()),B(F,{name:n.value?"arrow-up-s":"arrow-down-s"},null,8,["name"])]),_:1})):x("",!0)])):x("",!0),r[6]||(r[6]=u()),P(s.$slots,"actions",{},void 0,!0),r[7]||(r[7]=u()),n.value?(o(),C(Ge,{key:1,class:"mt-4",content:e.errorLogContent},null,8,["content"])):x("",!0)],8,Xa)],2))}}),ln=W(nn,[["__scopeId","data-v-130bdbc7"]]),on=O({__name:"OcNotifications",props:{position:{default:"default"}},setup(e){return(t,a)=>(o(),m("div",{class:L(["oc-notification z-1040 w-md max-w-full",{fixed:e.position!=="default","top-2 left-2":e.position==="top-left","top-2 inset-x-0 mx-auto":e.position==="top-center","top-2 right-2":e.position==="top-right"}])},[P(t.$slots,"default")],2))}}),rn=["for"],sn={key:0,class:"text-role-error","aria-hidden":"true"},cn=["textContent"],un={key:0,class:"flex items-center ml-2 mr-1"},dn=["id","textContent"],mn={components:{VueSelect:De}},fn=O({...mn,__name:"OcSelect",props:{id:{default:()=>G("oc-select-")},filter:{type:Function,default:(e,t,{label:a})=>{if(e.length<1)return[];const n=new wt(e,{...a&&{keys:[a]},shouldSort:!0,threshold:0,ignoreLocation:!0,distance:100,minMatchCharLength:1});return t.length?n.search(t).map(({item:l})=>l):e}},disabled:{type:Boolean,default:!1},label:{},inlineLabel:{type:Boolean,default:!1},labelHidden:{type:Boolean,default:!1},contextualHelper:{},optionLabel:{default:"label"},getOptionLabel:{type:Function,default:null},searchable:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},errorMessage:{},fixMessageLine:{type:Boolean,default:!1},descriptionMessage:{},multiple:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},positionFixed:{type:Boolean,default:!1},requiredMark:{type:Boolean,default:!1},hasBorder:{type:Boolean,default:!0}},emits:["search:input","update:modelValue"],setup(e,{emit:t}){let a;(v=>{v[v.Enter=13]="Enter",v[v.ArrowDown=40]="ArrowDown",v[v.ArrowUp=38]="ArrowUp"})(a||(a={}));const n=t,{$gettext:l}=Z(),i=Q("selectRef"),c=()=>{d(i).$el.querySelector("div:first-child")?.setAttribute("aria-label",`${e.label} - ${l("Search for option")}`)},b=v=>{n("search:input",v.target.value)},p=N(!1),s=v=>{p.value=v},r=({noDrop:v,open:y,mutableLoading:ne})=>!v&&y&&!ne&&d(p),w=()=>{s(!0)},M=()=>{s(!1)},T=async()=>{const y=d(i).$refs.dropdownMenu.querySelectorAll("li")[d(i).typeAheadPointer];y&&(await le(),y.classList.add("outline"),y.classList.add("outline-role-outline-variant"))},h=v=>({...v,13:y=>{if(!d(p)){s(!0);return}v[13](y),d(i).searchEl.focus()},40:async y=>{y.preventDefault(),d(i).typeAheadDown(),d(I)&&await T()},38:async y=>{y.preventDefault(),d(i).typeAheadUp(),d(I)&&await T()}}),D=async v=>{if(v.key==="Enter"||v.key==="Tab"){d(I)&&await T();return}s(!0)},A=()=>{const v=d(i).$refs.dropdownMenu;if(!v)return;const y=d(i).$refs.toggle.getBoundingClientRect(),he=Math.min(window.innerHeight-y.bottom-25,window.innerHeight);v.style.maxHeight=`${he}px`,v.style.width=`${y.width}px`,v.style.top=`${y.top+y.height+1}px`,v.style.left=`${y.left}px`},I=f(()=>d(i)?.dropdownOpen);ee(I,async()=>{e.positionFixed&&d(I)&&(await le(),A())});const q=f(()=>e.getOptionLabel||(v=>{if(typeof v=="object"){const y=e.optionLabel||e.label;return Object.hasOwn(v,y)?v[y]:(console.warn(`[vue-select warn]: Label key "option.${y}" does not exist in options object ${JSON.stringify(v)}. +https://vue-select.org/api/html#getoptionlabel`),"")}return v}));pe(()=>{c(),e.positionFixed&&window.addEventListener("resize",A)}),Xe(()=>{e.positionFixed&&window.removeEventListener("resize",A)});const S=ge(),$=f(()=>{const v={};return v["input-id"]=e.id,v.getOptionLabel=d(q),v.label=e.optionLabel,{...S,...v}}),R=f(()=>e.fixMessageLine||!!e.errorMessage||!!e.descriptionMessage),U=f(()=>e.errorMessage?e.errorMessage:e.descriptionMessage),E=f(()=>`${e.id}-message`);return(v,y)=>{const ne=V("oc-contextual-helper"),he=V("oc-spinner"),se=V("oc-icon"),Je=V("oc-button");return o(),m("div",{class:L({"flex items-center":e.inlineLabel})},[e.labelHidden?x("",!0):(o(),m("label",{key:0,"aria-hidden":!0,for:e.id,class:L(["inline-block",{"mr-2":e.inlineLabel,"mb-0.5":!e.inlineLabel}])},[u(k(e.label)+" ",1),e.requiredMark?(o(),m("span",sn,"*")):x("",!0)],10,rn)),y[12]||(y[12]=u()),e.contextualHelper?.isEnabled?(o(),C(ne,K({key:1},e.contextualHelper?.data,{class:"pl-1"}),null,16)):x("",!0),y[13]||(y[13]=u()),B(d(De),K({ref_key:"selectRef",ref:i,disabled:e.disabled||e.readOnly,filter:e.filter,loading:e.loading,searchable:e.searchable,clearable:e.clearable,multiple:e.multiple,class:["oc-select bg-transparent",{"oc-select-position-fixed":e.positionFixed,"oc-select-no-border":!e.hasBorder}],"dropdown-should-open":r,"map-keydown":h},$.value,{"onUpdate:modelValue":y[1]||(y[1]=H=>n("update:modelValue",H)),onClick:y[2]||(y[2]=H=>w()),"onSearch:blur":y[3]||(y[3]=H=>M()),onKeydown:y[4]||(y[4]=H=>D(H))}),Qe({search:z(({attributes:H,events:te})=>[g("input",K({class:"vs__search"},H,{onInput:b},_e(te,!0)),null,16)]),"no-options":z(()=>[g("div",{textContent:k(d(l)("No options available."))},null,8,cn)]),spinner:z(({loading:H})=>[H?(o(),C(he,{key:0})):x("",!0)]),"selected-option-container":z(({option:H,deselect:te})=>[g("span",{class:L(["vs__selected",{"vs__selected-readonly":H.readonly}])},[P(v.$slots,"selected-option",$e(Ze(H)),()=>[e.readOnly?(o(),C(se,{key:0,name:"lock",class:"mr-1",size:"small"})):x("",!0),u(" "+k(q.value(H)),1)],!0),y[5]||(y[5]=u()),e.multiple?(o(),m("span",un,[H.readonly?(o(),C(se,{key:0,class:"vs__deselect-lock",name:"lock",size:"small"})):(o(),C(Je,{key:1,appearance:"raw",title:d(l)("Deselect %{label}",{label:q.value(H)}),"aria-label":d(l)("Deselect %{label}",{label:q.value(H)}),class:"vs__deselect mx-0","no-hover":"",onMousedown:y[0]||(y[0]=ae(()=>{},["stop","prevent"])),onClick:we=>te(H)},{default:z(()=>[B(se,{name:"close",size:"small"})]),_:1},8,["title","aria-label","onClick"]))])):x("",!0)],2)]),"open-indicator":z(()=>[B(se,{name:"arrow-down-s",size:"small"})]),_:2},[_(v.$slots,(H,te)=>({name:te,fn:z(we=>[te.toString()!=="search"?P(v.$slots,te,$e(K({key:0},we)),void 0,!0):x("",!0)])}))]),1040,["disabled","filter","loading","searchable","clearable","multiple","class"]),y[14]||(y[14]=u()),R.value?(o(),m("div",{key:2,class:L(["oc-text-input-message text-sm",{"oc-text-input-description":!!e.descriptionMessage,"oc-text-input-danger":!!e.errorMessage}])},[e.errorMessage?(o(),C(se,{key:0,name:"error-warning",size:"small","fill-type":"line","aria-hidden":"true",class:"mr-1"})):x("",!0),y[11]||(y[11]=u()),g("span",{id:E.value,class:L({"oc-text-input-description":!!e.descriptionMessage,"oc-text-input-danger":!!e.errorMessage}),textContent:k(U.value)},null,10,dn)],2)):x("",!0)],2)}}}),We=W(fn,[["__scopeId","data-v-058f467e"]]),bn={class:"oc-page-size flex items-center gap-1"},gn=["for","textContent"],vn=O({__name:"OcPageSize",props:{label:{},options:{},selected:{},selectId:{default:()=>G("oc-page-size-")}},emits:["change"],setup(e,{emit:t}){const a=t,n=l=>{a("change",l)};return(l,i)=>(o(),m("div",bn,[g("label",{class:"oc-page-size-label",for:e.selectId,"data-testid":"oc-page-size-label","aria-hidden":!0,textContent:k(e.label)},null,8,gn),i[0]||(i[0]=u()),B(We,{"input-id":e.selectId,class:"oc-page-size-select min-w-25 [&_.vs\\_\\_dropdown-menu]:!min-w-25","data-testid":"oc-page-size-select","model-value":e.selected,label:e.label,"label-hidden":!0,options:e.options,clearable:!1,searchable:!1,"onUpdate:modelValue":n},null,8,["input-id","model-value","label","options"])]))}}),hn=["aria-label"],xn={class:"oc-pagination-list flex items-center flex-wrap m-0 gap-2"},yn={key:0,class:"oc-pagination-list-item"},pn={key:1,class:"oc-pagination-list-item"},kn=O({__name:"OcPagination",props:{currentPage:{},currentRoute:{},pages:{},maxDisplayed:{}},setup(e){const{$gettext:t}=Z(),a=f(()=>{let h=[];for(let D=0;D2&&(Number(h[0])>2?h.unshift(1,"..."):h.unshift(1)),d(b)d(b)>1),l=f(()=>d(b)T(d(b)-1)),c=f(()=>T(d(b)+1)),b=f(()=>Math.max(1,Math.min(e.currentPage,e.pages))),p=h=>t("Go to page %{ page }",{page:h.toString()}),s=h=>d(b)===h,r=h=>h==="..."||s(h)?"span":"router-link",w=h=>{if(h==="...")return;if(s(h))return{"aria-current":"page"};const D=T(h);return{"aria-label":p(h),to:D}},M=h=>{const D=[];return s(h)?D.push("oc-pagination-list-item-current","font-bold","bg-role-secondary","text-role-on-secondary"):h==="..."?D.push("oc-pagination-list-item-ellipsis"):D.push("oc-pagination-list-item-link"),D},T=h=>({name:e.currentRoute.name,query:{...e.currentRoute.query,page:h},params:e.currentRoute.params});return(h,D)=>{const A=V("router-link");return o(),m("nav",{class:"oc-pagination","aria-label":d(t)("Pagination")},[g("ol",xn,[n.value?(o(),m("li",yn,[B(A,{class:"oc-pagination-list-item-prev flex mr-2 rounded-sm hover:bg-role-secondary hover:text-role-on-secondary [&_svg]:hover:!fill-role-on-secondary","aria-label":d(t)("Go to the previous page"),to:i.value},{default:z(()=>[B(F,{name:"arrow-drop-left","fill-type":"line",color:"var(--oc-role-on-surface)"})]),_:1},8,["aria-label","to"])])):x("",!0),D[0]||(D[0]=u()),(o(!0),m(J,null,_(a.value,(I,q)=>(o(),m("li",{key:q,class:"oc-pagination-list-item"},[(o(),C(fe(r(I)),K({class:["oc-pagination-list-item-page py-1 px-2 rounded-sm hover:bg-role-secondary hover:text-role-on-secondary transition-colors duration-200 ease-in-out",M(I)]},{ref_for:!0},w(I)),{default:z(()=>[u(k(I),1)]),_:2},1040,["class"]))]))),128)),D[1]||(D[1]=u()),l.value?(o(),m("li",pn,[B(A,{class:"oc-pagination-list-item-next flex ml-2 rounded-sm hover:bg-role-secondary [&_svg]:hover:!fill-role-on-secondary","aria-label":d(t)("Go to the next page"),to:c.value},{default:z(()=>[B(F,{name:"arrow-drop-right","fill-type":"line",color:"var(--oc-role-on-surface)"})]),_:1},8,["aria-label","to"])])):x("",!0)])],8,hn)}}}),wn=["aria-valuemax","aria-valuenow"],$n={key:1,class:"oc-progress-indeterminate"},Cn=O({__name:"OcProgress",props:{color:{default:"var(--oc-role-secondary)"},backgroundColor:{default:"var(--oc-role-surface-container)"},indeterminate:{type:Boolean,default:!1},max:{},size:{default:"default"},value:{default:0}},setup(e){const t=f(()=>e.max?`${e.value/e.max*100}%`:"-");return(a,n)=>(o(),m("div",{class:L(["oc-progress block relative overflow-x-hidden",{"h-4":e.size==="default","h-1":e.size==="small","h-0.5":e.size==="xsmall"}]),"aria-valuemax":e.max,"aria-valuenow":e.value,"aria-busy":"true","aria-valuemin":"0",role:"progressbar",style:Y({backgroundColor:e.backgroundColor})},[e.indeterminate?(o(),m("div",$n,[g("div",{class:"oc-progress-indeterminate-first absolute h-full",style:Y({backgroundColor:e.color})},null,4),n[0]||(n[0]=u()),g("div",{class:"oc-progress-indeterminate-second absolute h-full",style:Y({backgroundColor:e.color})},null,4)])):(o(),m("div",{key:0,class:"absolute size-full transition-[width] duration-500",style:Y({width:t.value,backgroundColor:e.color})},null,4))],14,wn))}}),On=W(Cn,[["__scopeId","data-v-c998a15f"]]),Mn=["data-fill"],Ln=["textContent"],Bn=O({__name:"OcProgressPie",props:{max:{default:100},progress:{default:0},showLabel:{type:Boolean,default:!1}},setup(e){const t=f(()=>Math.round(100/e.max*e.progress)),a=f(()=>e.max===100?e.progress+"%":`${e.progress}/${e.max}`);return(n,l)=>(o(),m("div",{class:"oc-progress-pie relative after:block after:size-full after:content-['']","data-fill":t.value},[l[0]||(l[0]=g("div",{class:"oc-progress-pie-container absolute left-0 top-0 after:absolute after:left-0 after:top-0 before:block after:block size-full after:size-full after:content-[''] before:content-['']"},null,-1)),l[1]||(l[1]=u()),e.showLabel?(o(),m("label",{key:0,class:"oc-progress-pie-label absolute top-[50%] left-[50%] text-role-on-surface-variant transform-[translate(-50%, -50%)]",textContent:k(a.value)},null,8,Ln)):x("",!0)],8,Mn))}}),zn=W(Bn,[["__scopeId","data-v-c6406643"]]),Sn=["id","aria-checked","value","disabled"],In=["for","textContent"],Dn=O({__name:"OcRadio",props:oe({label:{},disabled:{type:Boolean,default:!1},hideLabel:{type:Boolean,default:!1},id:{default:()=>G("oc-radio-")},option:{},size:{default:"medium"}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=be(e,"modelValue");return(a,n)=>(o(),m("span",null,[X(g("input",{id:e.id,"onUpdate:modelValue":n[0]||(n[0]=l=>t.value=l),type:"radio",name:"radio",class:L([{"size-3":e.size==="small","size-4":e.size==="medium","size-5":e.size==="large"},"oc-radio checked:bg-role-secondary-container border rounded-[50%] focus:outline-0 overflow-hidden m-0 inline-block transition-[background] transition-[border] duration-200 ease-in-out not-disabled:cursor-pointer bg-no-repeat bg-center appearance-none"]),"aria-checked":e.option===e.modelValue,value:e.option,disabled:e.disabled},null,10,Sn),[[et,t.value]]),n[1]||(n[1]=u()),g("label",{for:e.id,class:L([{"cursor-pointer":!e.disabled,"sr-only":e.hideLabel},"ml-1"]),textContent:k(e.label)},null,10,In)]))}}),Tn=W(Dn,[["__scopeId","data-v-1ae8da5c"]]),An={class:"oc-recipient bg-role-surface-container flex items-center justify-center outline outline-role-outline rounded-md"},En=["textContent"],Pn=O({__name:"OcRecipient",props:{recipient:{}},setup(e){return(t,a)=>(o(),m("span",An,[P(t.$slots,"avatar",{},()=>[B(re,{width:16.8,icon:e.recipient.icon.name,name:e.recipient.icon.label,"accessible-label":e.recipient.icon.label,"icon-size":"xsmall","data-testid":"recipient-icon","icon-color":"var(--oc-role-on-surface)"},null,8,["icon","name","accessible-label"])],!0),a[0]||(a[0]=u()),g("p",{class:"oc-recipient-name m-0","data-testid":"recipient-name",textContent:k(e.recipient.name)},null,8,En),a[1]||(a[1]=u()),P(t.$slots,"append",{},void 0,!0)]))}}),Hn=W(Pn,[["__scopeId","data-v-f607d6db"]]),Fn=["role"],Vn={class:"flex-1 relative"},jn=["aria-label","disabled","placeholder"],Rn=["textContent"],Nn=O({__name:"OcSearchBar",props:oe({icon:{default:"search"},placeholder:{default:""},label:{},small:{type:Boolean,default:!1},buttonLabel:{default:"Search"},buttonHidden:{type:Boolean,default:!1},typeAhead:{type:Boolean,default:!1},trimQuery:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},isFilter:{type:Boolean,default:!1},loadingAccessibleLabel:{default:""},showCancelButton:{type:Boolean,default:!1},cancelButtonAppearance:{default:"raw"},cancelHandler:{type:Function,default:()=>{}}},{modelValue:{default:""},modelModifiers:{}}),emits:oe(["advancedSearch","keyup","search"],["update:modelValue"]),setup(e,{emit:t}){const a=be(e,"modelValue");ee(a,()=>{e.typeAhead&&b()});const n=t,{$gettext:l}=Z(),i=f(()=>{const s=["oc-search-input","oc-input","p-4","rounded-4xl","disabled:cursor-not-allowed","focus:bg-none"];return e.buttonHidden||s.push("oc-search-input-button","rounded-r-none"),e.small?s.push("leading-7","h-8"):s.push("h-10"),s}),c=f(()=>e.loadingAccessibleLabel||"Loading results"),b=()=>{n("search",e.trimQuery?d(a).trim():d(a))},p=()=>{a.value="",e.typeAhead||b(),e.cancelHandler()};return(s,r)=>(o(),m("div",{role:e.isFilter?void 0:"search",class:L(["oc-search flex items-center",{"oc-search-small":e.small}])},[g("div",Vn,[X(g("input",{"onUpdate:modelValue":r[0]||(r[0]=w=>a.value=w),class:L(i.value),"aria-label":e.label,disabled:e.loading,placeholder:e.placeholder,onKeydown:de(b,["enter"]),onKeyup:r[1]||(r[1]=w=>s.$emit("keyup",w))},null,42,jn),[[Te,a.value]]),r[4]||(r[4]=u()),P(s.$slots,"locationFilter"),r[5]||(r[5]=u()),e.icon?(o(),C(j,{key:0,"aria-label":d(l)("Search"),class:"absolute top-[50%] transform-[translateY(-50%)] right-0 mx-4 mb-4 mt-0",appearance:"raw","no-hover":"",onClick:r[2]||(r[2]=ae(w=>s.$emit("advancedSearch",w),["prevent","stop"]))},{default:z(()=>[X(B(F,{name:e.icon,size:"small","fill-type":"line"},null,8,["name"]),[[Ce,!e.loading]]),r[3]||(r[3]=u()),X(B(Pe,{size:e.small?"xsmall":"medium","aria-label":c.value},null,8,["size","aria-label"]),[[Ce,e.loading]])]),_:1},8,["aria-label"])):x("",!0)]),r[6]||(r[6]=u()),g("div",{class:L(["oc-search-button-wrapper",{"sr-only":e.buttonHidden}])},[B(j,{class:"oc-search-button z-0 ml-4 rounded-l-none transform-[translateX(-1px)]",appearance:"filled",size:e.small?"small":"medium",disabled:e.loading||a.value.length<1,onClick:b},{default:z(()=>[u(k(e.buttonLabel),1)]),_:1},8,["size","disabled"])],2),r[7]||(r[7]=u()),e.showCancelButton?(o(),C(j,{key:0,appearance:e.cancelButtonAppearance,class:"ml-4","no-hover":"",onClick:p},{default:z(()=>[g("span",{textContent:k(d(l)("Cancel"))},null,8,Rn)]),_:1},8,["appearance"])):x("",!0)],10,Fn))}}),qn=["id","textContent"],Un=["aria-checked","aria-labelledby"],Gn=O({__name:"OcSwitch",props:{checked:{type:Boolean,default:!1},label:{},labelId:{default:()=>G("oc-switch-label-")}},emits:["update:checked"],setup(e,{emit:t}){const a=t,n=()=>{a("update:checked",!e.checked)};return(l,i)=>(o(),m("span",{key:`oc-switch-${e.checked.toString()}`,class:"oc-switch"},[g("span",{id:e.labelId,textContent:k(e.label)},null,8,qn),i[0]||(i[0]=u()),g("button",{"data-testid":"oc-switch-btn",class:"oc-switch-btn block relative border border-role-outline rounded-3xl w-8 before:size-3 h-4.5 gap-2 cursor-pointer",role:"switch","aria-checked":e.checked,"aria-labelledby":e.labelId,onClick:n},null,8,Un)]))}}),Wn=W(Gn,[["__scopeId","data-v-16aefefb"]]),Kn=O({name:"OcTableFoot",__name:"OcTableFoot",setup(e){return(t,a)=>(o(),m("tfoot",null,[P(t.$slots,"default")]))}}),Jn=O({__name:"OcTableSimple",props:{hover:{type:Boolean,default:!1}},setup(e){const t=f(()=>{const a=["oc-table-simple"];return e.hover&&a.push("oc-table-simple-hover"),a});return(a,n)=>(o(),m("table",{class:L(t.value)},[P(a.$slots,"default",{},void 0,!0)],2))}}),Yn=W(Jn,[["__scopeId","data-v-026fc594"]]),Xn=O({__name:"OcTag",props:{type:{default:"span"},to:{default:""},size:{default:"medium"},rounded:{type:Boolean,default:!1},color:{default:"secondary"},appearance:{default:"outline"}},emits:["click"],setup(e,{emit:t}){const a=t,n=f(()=>{const i=[];if(e.appearance==="outline"){switch(i.push("bg-role-surface"),e.color){case"primary":i.push("text-role-primary","border-role-primary");break;case"secondary":i.push("text-role-secondary","border-role-secondary");break;case"tertiary":i.push("text-role-tertiary","border-role-tertiary");break}return i}switch(e.color){case"primary":i.push("bg-role-primary","text-role-on-primary","border-role-primary");break;case"secondary":i.push("bg-role-secondary","text-role-on-secondary","border-role-secondary");break;case"tertiary":i.push("bg-role-tertiary","text-role-on-tertiary","border-role-tertiary");break}return i});function l(i){a("click",i)}return(i,c)=>(o(),C(fe(e.type),{class:L(["oc-tag inline-flex items-center border gap-1",[...n.value,{"rounded-full px-2":e.rounded,"rounded-lg":!e.rounded,"p-1 text-xs":e.size==="small","py-1 px-2 text-sm min-h-6":e.size==="medium","py-2 px-4 text-lg min-h-8":e.size==="large","ease-in-out duration-200 transition-colors [&_svg]:ease-in-out [&_svg]:duration-200 [&_svg]:transition-colors":["link","button"].includes(e.type)}]]),to:e.to,onClick:l},{default:z(()=>[P(i.$slots,"default")]),_:3},8,["class","to"]))}}),Qn=["for","textContent"],Zn=["id","aria-invalid"],_n={key:0,class:"oc-textarea-message flex items-center mt-1 min-h-4.5"},el=["id","textContent"],tl=O({__name:"OcTextarea",props:oe({id:{default:()=>G("oc-textarea-")},label:{},errorMessage:{},descriptionMessage:{},fixMessageLine:{type:Boolean,default:!1}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e,{expose:t}){const a=be(e,"modelValue"),n=f(()=>e.fixMessageLine||!!e.errorMessage||!!e.descriptionMessage),l=f(()=>`${e.id}-message`),i=ge(),c=f(()=>{const w={};return(e.errorMessage||e.descriptionMessage)&&(w["aria-describedby"]=l.value),{...i,...w}}),b=f(()=>(!!e.errorMessage).toString()),p=f(()=>e.errorMessage?e.errorMessage:e.descriptionMessage),s=Q("textareaRef");return t({focus:()=>{d(s).focus()}}),(w,M)=>(o(),m("div",null,[g("label",{class:"inline-block mb-0.5",for:e.id,textContent:k(e.label)},null,8,Qn),M[1]||(M[1]=u()),X(g("textarea",K({id:e.id},c.value,{ref_key:"textareaRef",ref:s,"onUpdate:modelValue":M[0]||(M[0]=T=>a.value=T),class:["oc-textarea",{"oc-textarea-danger text-role-error focus:text-role-error border-role-error":!!e.errorMessage}],"aria-invalid":b.value}),null,16,Zn),[[Te,a.value]]),M[2]||(M[2]=u()),n.value?(o(),m("div",_n,[g("span",{id:l.value,class:L({"oc-textarea-description text-role-on-surface-variant":!!e.descriptionMessage,"oc-textarea-danger text-role-error focus:text-role-error border-role-error":!!e.errorMessage}),textContent:k(p.value)},null,10,el)])):x("",!0)]))}}),al={key:0,class:"flex justify-center"},nl=O({__name:"OcEmojiPicker",props:{theme:{default:"light"}},emits:["emojiSelect","clickOutside"],setup(e,{emit:t}){const a=t,n=Z(),{$gettext:l}=n,i=Q("emojiPickerRef"),c=N(!0);return ee([()=>e.theme,n.current],async()=>{c.value=!0,await le();const b={search:l("Search"),search_no_results_1:l("Oh no!"),search_no_results_2:l("That emoji couldn’t be found"),pick:l("Pick an emoji…"),add_custom:l("Add custom emoji"),categories:{activity:l("Activity"),custom:l("Custom"),flags:l("Flags"),foods:l("Food & Drink"),frequent:l("Frequently used"),nature:l("Animals & Nature"),objects:l("Objects"),people:l("Smileys & People"),places:l("Travel & Places"),search:l("Search Results"),symbols:l("Symbols")},skins:{choose:l("Choose default skin tone"),1:l("Default"),2:l("Light"),3:l("Medium-Light"),4:l("Medium"),5:l("Medium-Dark"),6:l("Dark")}},p=(await Me(async()=>{const{default:M}=await import("./native-48B9X9Wg.mjs");return{default:M}},[],import.meta.url)).default,s={onEmojiSelect:M=>a("emojiSelect",M.native),onClickOutside:()=>a("clickOutside"),i18n:b,data:p,autoFocus:!0,theme:e.theme},{Picker:r}=await Me(async()=>{const{Picker:M}=await import("./module-Conw_xFM.mjs");return{Picker:M}},[],import.meta.url),w=new r(s);c.value=!1,await le(),d(i).innerHTML="",d(i).appendChild(w)},{immediate:!0}),(b,p)=>{const s=V("oc-spinner");return c.value?(o(),m("div",al,[B(s,{size:"large"})])):(o(),m("div",{key:1,ref_key:"emojiPickerRef",ref:i},null,512))}}}),ll={class:"fixed flex flex-col items-end bottom-[20px] right-[20px] z-[calc(var(--z-index-modal)-1)]"},ol=["textContent"],il=O({__name:"OcFloatingActionButton",props:{buttonId:{default:""},ariaLabel:{default:""},mode:{default:"menu"},to:{default:null},handler:{type:Function,default:null},items:{default:()=>[]}},setup(e){const{$gettext:t}=Z(),a=N(!1),n=f(()=>e.ariaLabel?e.ariaLabel:t("Open actions menu")),l=()=>{if(e.mode==="action"){e.handler?.();return}a.value=!d(a)},i=c=>{c.handler?.(),a.value=!1};return(c,b)=>{const p=V("oc-icon"),s=V("oc-button");return o(),m("div",ll,[a.value?(o(!0),m(J,{key:0},_(e.items,r=>(o(),C(s,{key:r.label,class:"mb-2 rounded-full",appearance:"filled","color-role":"primary",type:r.to?"router-link":"button",to:r.to,onClick:w=>i(r)},{default:z(()=>[B(p,{name:r.icon},null,8,["name"]),b[0]||(b[0]=u()),g("span",{textContent:k(r.label)},null,8,ol)]),_:2},1032,["type","to","onClick"]))),128)):x("",!0),b[1]||(b[1]=u()),B(s,{id:e.buttonId,class:"rounded-full size-12",appearance:"filled","color-role":"primary","aria-label":n.value,type:e.mode==="action"&&e.to?"router-link":"button",to:e.to,onClick:l},{default:z(()=>[B(p,{name:a.value?"close":"add","fill-type":"line"},null,8,["name"])]),_:1},8,["id","aria-label","type","to"])])}}}),rl=Object.freeze(Object.defineProperty({__proto__:null,OcApplicationIcon:Bt,OcAvatar:Fe,OcAvatarCount:Ve,OcAvatarFederated:je,OcAvatarGroup:Re,OcAvatarGuest:Ne,OcAvatarItem:re,OcAvatarLink:qe,OcAvatars:Pt,OcBottomDrawer:it,OcBreadcrumb:Gt,OcButton:j,OcCard:rt,OcCheckbox:Yt,OcColorInput:ta,OcContextualHelper:ca,OcDatepicker:ua,OcDefinitionList:ma,OcDrop:ve,OcDropzone:ga,OcEmojiPicker:nl,OcErrorLog:Ge,OcFileInput:$a,OcFilterChip:Ma,OcFloatingActionButton:il,OcHiddenAnnouncer:Ba,OcIcon:F,OcImage:He,OcInfoDrop:Ue,OcList:za,OcLoader:Da,OcModal:Ua,OcNotificationMessage:ln,OcNotifications:on,OcPageSize:vn,OcPagination:kn,OcProgress:On,OcProgressPie:zn,OcRadio:Tn,OcRecipient:Hn,OcSearchBar:Nn,OcSelect:We,OcSpinner:Pe,OcStatusIndicators:bt,OcSwitch:Wn,OcTable:gt,OcTableBody:vt,OcTableFoot:Kn,OcTableHead:ht,OcTableSimple:Yn,OcTableTd:xt,OcTableTh:yt,OcTableTr:pt,OcTag:Xn,OcTextInput:Ae,OcTextarea:tl},Symbol.toStringTag,{value:"Module"})),ie=new WeakMap,sl=async(e,t)=>{const a=ie.get(e);if(!a||a.tooltipEl)return;const n=document.createElement("div");n.setAttribute("role","tooltip"),n.textContent=t;const l=document.createElement("div");l.classList.add("arrow"),n.appendChild(l),document.body.appendChild(n),a.tooltipEl=n;const{x:i,y:c,placement:b,middlewareData:p}=await st(e,n,{placement:"top",middleware:[ct(8),ut(),dt({padding:5}),mt({element:l})]});if(Object.assign(n.style,{left:`${i}px`,top:`${c}px`}),p.arrow){const{x:s,y:r}=p.arrow,w=b.split("-")[0],M={top:"bottom",right:"left",bottom:"top",left:"right"};Object.assign(l.style,{left:s!=null?`${s}px`:"",top:r!=null?`${r}px`:"",[M[w]]:"-4px"})}},ue=e=>{const t=ie.get(e);!t||!t.tooltipEl||(t.tooltipEl.remove(),t.tooltipEl=null)},Ke=e=>{const t=ie.get(e);t&&(ue(e),e.removeEventListener("mouseenter",t.showHandler),e.removeEventListener("focus",t.showHandler),e.removeEventListener("mouseleave",t.hideHandler),e.removeEventListener("blur",t.hideHandler),e.removeEventListener("click",t.clickHandler),document.removeEventListener("keydown",t.escapeHandler),ie.delete(e))},ze=(e,{value:t})=>{if(!t||t===""){Ke(e);return}const a=ie.get(e);if(a&&a.tooltipEl){const b=a.tooltipEl;b&&(b.textContent=t);return}const n=()=>sl(e,t),l=()=>ue(e),i=()=>ue(e),c=b=>{b.code==="Escape"&&ue(e)};ie.set(e,{tooltipEl:null,showHandler:n,hideHandler:l,clickHandler:i,escapeHandler:c}),e.addEventListener("mouseenter",n),e.addEventListener("mouseleave",l),e.addEventListener("focus",n),e.addEventListener("blur",l),e.addEventListener("click",i),document.addEventListener("keydown",c)},cl={name:"OcTooltip",beforeMount:ze,updated:ze,unmounted:Ke},ul=Object.freeze(Object.defineProperty({__proto__:null,OcTooltip:cl},Symbol.toStringTag,{value:"Module"}));let Se=null;const Ie=(e,t)=>{for(const a in e)ce(t+at(a),e[a])},_l={install(e,t={}){nt(t.iconUrlPrefix||""),t?.language?.initGettext&&(Se=tt({defaultLanguage:t.language.defaultLanguage||"en",silent:!0,translations:{...lt,...t.language.translations||{}}}),e.use(Se));const a=t.tokens;Ie(a?.colorPalette,"color-"),Ie(a?.roles,"role-"),ce("font-family",a?.fontFamily),a?.roles?.chrome||(ce("role-chrome",a?.roles?.surfaceContainer),ce("role-on-chrome",a?.roles?.onSurface)),Object.values(rl).forEach(n=>e.component(n.__name,n)),Object.values(ul).forEach(n=>e.directive(n.name,n))}};export{_l as default}; diff --git a/web-dist/js/chunks/index-B9CFlHVx.mjs.gz b/web-dist/js/chunks/index-B9CFlHVx.mjs.gz new file mode 100644 index 0000000000..5583b3b055 Binary files /dev/null and b/web-dist/js/chunks/index-B9CFlHVx.mjs.gz differ diff --git a/web-dist/js/chunks/index-Bl6f9hPu.mjs b/web-dist/js/chunks/index-Bl6f9hPu.mjs new file mode 100644 index 0000000000..1616df5dda --- /dev/null +++ b/web-dist/js/chunks/index-Bl6f9hPu.mjs @@ -0,0 +1 @@ +import{e as v,E as i,C as _,s as W,t as e,a as g,r as x,L as V,f as k,l as E,i as U,c as N}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const j=168,X=169,C=170,I=1,D=2,w=3,L=171,F=172,Y=4,z=173,K=5,A=174,T=175,Z=176,s=177,G=6,p=7,B=8,H=9,c=0,R=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],M=58,J=40,m=95,OO=91,l=45,$O=46,f=35,eO=37,u=123,QO=125,d=47,S=42,r=10,q=61,tO=43,aO=38;function o(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function y(O){return O>=48&&O<=57}function h(O){let $;return O.next==d&&(($=O.peek(1))==d||$==S)}const nO=new i((O,$)=>{if($.dialectEnabled(c)){let Q;if(O.next<0&&$.canShift(Z))O.acceptToken(Z);else if(((Q=O.peek(-1))==r||Q<0)&&$.canShift(T)){let t=0;for(;O.next!=r&&R.includes(O.next);)O.advance(),t++;O.next==r||h(O)?O.acceptToken(T,-t):t&&O.acceptToken(s)}else if(O.next==r)O.acceptToken(A,1);else if(R.includes(O.next)){for(O.advance();O.next!=r&&R.includes(O.next);)O.advance();O.acceptToken(s)}}else{let Q=0;for(;R.includes(O.next);)O.advance(),Q++;Q&&O.acceptToken(s)}},{contextual:!0}),rO=new i((O,$)=>{if(h(O)){if(O.advance(),$.dialectEnabled(c)){let Q=-1;for(let t=1;;t++){let a=O.peek(-t-1);if(a==r||a<0){Q=t+1;break}else if(!R.includes(a))break}if(Q>-1){let t=O.next==S,a=0;for(O.advance();O.next>=0;)if(O.next==r){O.advance();let n=0;for(;O.next!=r&&R.includes(O.next);)n++,O.advance();if(n=0;)O.advance();O.acceptToken(G)}else{for(O.advance();O.next>=0;){let{next:Q}=O;if(O.advance(),Q==S&&O.next==d){O.advance();break}}O.acceptToken(p)}}}),RO=new i((O,$)=>{(O.next==tO||O.next==q)&&$.dialectEnabled(c)&&O.acceptToken(O.next==q?B:H,1)}),iO=new i((O,$)=>{if(!$.dialectEnabled(c))return;let Q=$.context.depth;if(O.next<0&&Q){O.acceptToken(X);return}if(O.peek(-1)==r){let a=0;for(;O.next!=r&&R.includes(O.next);)O.advance(),a++;a!=Q&&O.next!=r&&!h(O)&&(a{for(let Q=!1,t=0,a=0;;a++){let{next:n}=O;if(o(n)||n==l||n==m||Q&&y(n))!Q&&(n!=l||a>0)&&(Q=!0),t===a&&n==l&&t++,O.advance();else if(n==f&&O.peek(1)==u){O.acceptToken(K,2);break}else{Q&&O.acceptToken(t==2&&$.canShift(Y)?Y:$.canShift(z)?z:n==J?L:F);break}}}),lO=new i(O=>{if(O.next==QO){for(O.advance();o(O.next)||O.next==l||O.next==m||y(O.next);)O.advance();O.next==f&&O.peek(1)==u?O.acceptToken(D,2):O.acceptToken(I)}}),dO=new i(O=>{if(R.includes(O.peek(-1))){let{next:$}=O;(o($)||$==m||$==f||$==$O||$==OO||$==M&&o(O.peek(1))||$==l||$==aO||$==S)&&O.acceptToken(C)}}),SO=new i(O=>{if(!R.includes(O.peek(-1))){let{next:$}=O;if($==eO&&(O.advance(),O.acceptToken(w)),o($)){do O.advance();while(o(O.next)||y(O.next));O.acceptToken(w)}}});function b(O,$){this.parent=O,this.depth=$,this.hash=(O?O.hash+O.hash<<8:0)+$+($<<4)}const cO=new b(null,0),sO=new _({start:cO,shift(O,$,Q,t){return $==j?new b(O,Q.pos-t.pos):$==X?O.parent:O},hash(O){return O.hash}}),XO=W({"AtKeyword import charset namespace keyframes media supports include mixin use forward extend at-root":e.definitionKeyword,"Keyword selector":e.keyword,ControlKeyword:e.controlKeyword,NamespaceName:e.namespace,KeyframeName:e.labelName,KeyframeRangeName:e.operatorKeyword,TagName:e.tagName,"ClassName Suffix":e.className,PseudoClassName:e.constant(e.className),IdName:e.labelName,"FeatureName PropertyName":e.propertyName,AttributeName:e.attributeName,NumberLiteral:e.number,KeywordQuery:e.keyword,UnaryQueryOp:e.operatorKeyword,"CallTag ValueName":e.atom,VariableName:e.variableName,SassVariableName:e.special(e.variableName),Callee:e.operatorKeyword,Unit:e.unit,"UniversalSelector NestingSelector IndentedMixin IndentedInclude":e.definitionOperator,MatchOp:e.compareOperator,"ChildOp SiblingOp, LogicOp":e.logicOperator,BinOp:e.arithmeticOperator,"Important Global Default":e.modifier,Comment:e.blockComment,LineComment:e.lineComment,ColorLiteral:e.color,"ParenthesizedContent StringLiteral":e.string,"InterpolationStart InterpolationContinue InterpolationEnd":e.meta,': "..."':e.punctuation,"PseudoOp #":e.derefOperator,"; ,":e.separator,"( )":e.paren,"[ ]":e.squareBracket,"{ }":e.brace}),PO={__proto__:null,not:62,using:197,as:207,with:211,without:211,hide:225,show:225,if:263,from:269,to:271,through:273,in:279},mO={__proto__:null,url:82,"url-prefix":82,domain:82,regexp:82,lang:104,"nth-child":104,"nth-last-child":104,"nth-of-type":104,"nth-last-of-type":104,dir:104,"host-context":104},fO={__proto__:null,"@import":162,"@include":194,"@mixin":200,"@function":200,"@use":204,"@extend":214,"@at-root":218,"@forward":222,"@media":228,"@charset":232,"@namespace":236,"@keyframes":242,"@supports":254,"@if":258,"@else":260,"@for":266,"@each":276,"@while":282,"@debug":286,"@warn":286,"@error":286,"@return":286},yO={__proto__:null,layer:166,not:184,only:184,selector:190},hO=v.deserialize({version:14,states:"!$WQ`Q+tOOO#fQ+tOOP#mOpOOOOQ#U'#Ch'#ChO#rQ(pO'#CjOOQ#U'#Ci'#CiO%_Q)QO'#GXO%rQ.jO'#CnO&mQ#dO'#D]O'dQ(pO'#CgO'kQ)OO'#D_O'vQ#dO'#DfO'{Q#dO'#DiO(QQ#dO'#DqOOQ#U'#GX'#GXO(VQ(pO'#GXO(^Q(nO'#DuO%rQ.jO'#D}O%rQ.jO'#E`O%rQ.jO'#EcO%rQ.jO'#EeO(cQ)OO'#EjO)TQ)OO'#ElO%rQ.jO'#EnO)bQ)OO'#EqO%rQ.jO'#EsO)|Q)OO'#EuO*XQ)OO'#ExO*aQ)OO'#FOO*uQ)OO'#FbOOQ&Z'#GW'#GWOOQ&Y'#Fe'#FeO+PQ(nO'#FeQ`Q+tOOO%rQ.jO'#FQO+[Q(nO'#FUO+aQ)OO'#FZO%rQ.jO'#F^O%rQ.jO'#F`OOQ&Z'#Fm'#FmO+iQ+uO'#GaO+vQ(oO'#GaQOQ#SOOP,XO#SO'#GVPOOO)CAz)CAzOOQ#U'#Cm'#CmOOQ#U,59W,59WOOQ#i'#Cp'#CpO%rQ.jO'#CsO,xQ.wO'#CuO/dQ.^O,59YO%rQ.jO'#CzOOQ#S'#DP'#DPO/uQ(nO'#DUO/zQ)OO'#DZOOQ#i'#GZ'#GZO0SQ(nO'#DOOOQ#U'#D^'#D^OOQ#U,59w,59wO&mQ#dO,59wO0XQ)OO,59yO'vQ#dO,5:QO'{Q#dO,5:TO(cQ)OO,5:WO(cQ)OO,5:YO(cQ)OO,5:ZO(cQ)OO'#FlO0dQ(nO,59RO0oQ+tO'#DsO0vQ#TO'#DsOOQ&Z,59R,59ROOQ#U'#Da'#DaOOQ#S'#Dd'#DdOOQ#U,59y,59yO0{Q(nO,59yO1QQ(nO,59yOOQ#U'#Dh'#DhOOQ#U,5:Q,5:QOOQ#S'#Dj'#DjO1VQ9`O,5:TOOQ#U'#Dr'#DrOOQ#U,5:],5:]O2YQ.jO,5:aO2dQ.jO,5:iO3`Q.jO,5:zO3mQ.YO,5:}O4OQ.jO,5;POOQ#U'#Cj'#CjO4wQ(pO,5;UO5UQ(pO,5;WOOQ&Z,5;W,5;WO5]Q)OO,5;WO5bQ.jO,5;YOOQ#S'#ET'#ETO6TQ.jO'#E]O6kQ(nO'#GcO*aQ)OO'#EZO7PQ(nO'#E^OOQ#S'#Gd'#GdO0gQ(nO,5;]O4UQ.YO,5;_OOQ#d'#Ew'#EwO+PQ(nO,5;aO7UQ)OO,5;aOOQ#S'#Ez'#EzO7^Q(nO,5;dO7cQ(nO,5;jO7nQ(nO,5;|OOQ&Z'#Gf'#GfOOQ&Y,5VQ9`O1G/oO>pQ(pO1G/rO?dQ(pO1G/tO@WQ(pO1G/uO@zQ(pO,5aAN>aO!6QQ(pO,5_Ow!bi!a!bi!d!bi!h!bi$p!bi$t!bi!o!bi$v!bif!bie!bi~P>_Ow!ci!a!ci!d!ci!h!ci$p!ci$t!ci!o!ci$v!cif!cie!ci~P>_Ow$`a!h$`a$t$`a~P4]O!p%|O~O$o%TP~P`Oe%RP~P(cOe%QP~P%rOS!XOTVO_!XOc!XOf!QOh!XOo!TOy!VO|!WO$q!UO$r!PO%O!RO~Oe&VOj&TO~PAsOl#sOm#sOq#tOw&XO!l&ZO!m&ZO!n&ZO!o!ii$t!ii$v!ii$m!ii!p!ii$o!ii~P%rOf&[OT!tXc!tX!o!tX#O!tX#R!tX$s!tX$t!tX$v!tX~O$n$_OS%YXT%YXW%YXX%YX_%YXc%YXq%YXu%YX|%YX!S%YX!Z%YX!r%YX!s%YX#T%YX#W%YX#Y%YX#_%YX#a%YX#c%YX#f%YX#h%YX#j%YX#m%YX#s%YX#u%YX#y%YX$O%YX$R%YX$T%YX$m%YX$r%YX$|%YX%S%YX!p%YX!o%YX$t%YX$o%YX~O$r!PO$|&aO~O#]&cO~Ou&dO~O!o#`O#d$wO$t#`O$v#`O~O!o%ZP#d%ZP$t%ZP$v%ZP~P%rO$r!PO~OR#rO!|iXeiX~Oe!wXm!wXu!yX!|!yX~Ou&jO!|&kO~Oe&lOm%PO~Ow$fX!h$fX$t$fX!o$fX$v$fX~P*aOw%QO!h%Va$t%Va!o%Va$v%Va~Om%POw!}a!h!}a$t!}a!o!}a$v!}ae!}a~O!p&xO$r&sO%O&rO~O#v&zOS#tiT#tiW#tiX#ti_#tic#tiq#tiu#ti|#ti!S#ti!Z#ti!r#ti!s#ti#T#ti#W#ti#Y#ti#_#ti#a#ti#c#ti#f#ti#h#ti#j#ti#m#ti#s#ti#u#ti#y#ti$O#ti$R#ti$T#ti$m#ti$r#ti$|#ti%S#ti!p#ti!o#ti$t#ti$o#ti~Oc&|Ow$lX$P$lX~Ow%`O$P%[a~O!o#kO$t#kO$m%Ti!p%Ti$o%Ti~O!o$da$m$da$t$da!p$da$o$da~P`Oq#tOPkiQkilkimkiTkickifki!oki!uki#Oki#Rki$ski$tki$vki!hki#Uki#Zki#]ki#dkiekiSki_kihkijkiokiwkiyki|ki!lki!mki!nki$qki$rki%Oki$mkivki{ki#{ki#|ki!pki$oki~Ol#sOm#sOq#tOP$]aQ$]a~Oe'QO~Ol#sOm#sOq#tOS$YXT$YX_$YXc$YXe$YXf$YXh$YXj$YXo$YXv$YXw$YXy$YX|$YX$q$YX$r$YX%O$YX~Ov'UOw'SOe%PX~P%rOS$}XT$}X_$}Xc$}Xe$}Xf$}Xh$}Xj$}Xl$}Xm$}Xo$}Xq$}Xv$}Xw$}Xy$}X|$}X$q$}X$r$}X%O$}X~Ou'VO~P!%OOe'WO~O$o'YO~Ow'ZOe%RX~P4]Oe']O~Ow'^Oe%QX~P%rOe'`O~Ol#sOm#sOq#tO{'aO~Ou'bOe$}Xl$}Xm$}Xq$}X~Oe'eOj'cO~Ol#sOm#sOq#tOS$cXT$cX_$cXc$cXf$cXh$cXj$cXo$cXw$cXy$cX|$cX!l$cX!m$cX!n$cX!o$cX$q$cX$r$cX$t$cX$v$cX%O$cX$m$cX!p$cX$o$cX~Ow&XO!l'hO!m'hO!n'hO!o!iq$t!iq$v!iq$m!iq!p!iq$o!iq~P%rO$r'iO~O!o#`O#]'nO$t#`O$v#`O~Ou'oO~Ol#sOm#sOq#tOw'qO!o%ZX#d%ZX$t%ZX$v%ZX~O$s'uO~P5oOm%POw$fa!h$fa$t$fa!o$fa$v$fa~Oe'wO~P4]O%O&rOw#pX!h#pX$t#pX~Ow'yO!h!fO$t!gO~O!p'}O$r&sO%O&rO~O#v(POS#tqT#tqW#tqX#tq_#tqc#tqq#tqu#tq|#tq!S#tq!Z#tq!r#tq!s#tq#T#tq#W#tq#Y#tq#_#tq#a#tq#c#tq#f#tq#h#tq#j#tq#m#tq#s#tq#u#tq#y#tq$O#tq$R#tq$T#tq$m#tq$r#tq$|#tq%S#tq!p#tq!o#tq$t#tq$o#tq~O!h!fO#w(QO$t!gO~Ol#sOm#sOq#tO#{(SO#|(SO~Oc(VOe$ZXw$ZX~P=TOw'SOe%Pa~Ol#sOm#sOq#tO{(ZO~Oe$_Xw$_X~P(cOw'ZOe%Ra~Oe$^Xw$^X~P%rOw'^Oe%Qa~Ou'bO~Ol#sOm#sOq#tOS$caT$ca_$cac$caf$cah$caj$cao$caw$cay$ca|$ca!l$ca!m$ca!n$ca!o$ca$q$ca$r$ca$t$ca$v$ca%O$ca$m$ca!p$ca$o$ca~Oe(dOq(bO~Oe(gOm%PO~Ow$hX!o$hX#d$hX$t$hX$v$hX~P%rOw'qO!o%Za#d%Za$t%Za$v%Za~Oe(lO~P%rOe(mO!|(nO~Ov(vOe$Zaw$Za~P%rOu(wO~P!%OOw'SOe%Pi~Ow'SOe%Pi~P%rOe$_aw$_a~P4]Oe$^aw$^a~P%rOl#sOm#sOq#tOw(yOe$bij$bi~Oe(|Oq(bO~Oe)OOm%PO~Ol#sOm#sOq#tOw$ha!o$ha#d$ha$t$ha$v$ha~OS$}Oh$}Oj$}Oy!VO$q!UO$s'uO%O&rO~O#w(QO~Ow'SOe%Pq~Oe)WO~Oe$Zqw$Zq~P%rO%Oql!dl~",goto:"=Y%]PPPPPPPPPPP%^%h%h%{P%h&`&cP(UPP)ZP*YP)ZPP)ZP)ZP+f,j-lPPP-xPPPP)Z/S%h/W%hP/^P/d/j/p%hP/v%h/|P%hP%h%hP%h0S0VP1k1}2XPPPPP%^PP2_P2b'w'w2h'w'wP'wP'w'wP%^PP%^P%^PP2qP%^P%^P%^PP%^P%^P%^P2w%^P2z2}3Q3X%^P%^PPP%^PPPP%^PP%^P%^P%^P3^3d3j4Y4h4n4t4z5Q5W5d5j5p5z6Q6W6b6h6n6t6zPPPPPPPPPPPP7Q7T7aP8WP:_:b:eP:h:q:w;T;p;y=S=VanOPqx!f#l$_%fs^OPefqx!a!b!c!d!f#l$_$`%T%f'ZsTOPefqx!a!b!c!d!f#l$_$`%T%f'ZR!OUb^ef!a!b!c!d$`%T'Z`_OPqx!f#l$_%f!x!XVabcdgiruv!Q!T!t#s#t#u$O$a$c$d$e$w%_%b%v%{&Q&X&Y&j'S'V'^'b'q't(Q(S(U(Y(^(w)Ug#Uhlm!u#Q#S$i%P%Q&d'o!x!XVabcdgiruv!Q!T!t#s#t#u$O$a$c$d$e$w%_%b%v%{&Q&X&Y&j'S'V'^'b'q't(Q(S(U(Y(^(w)UQ&b$pR&i$x!y!XVabcdgiruv!Q!T!t#s#t#u$O$a$c$d$e$w%_%b%v%{&Q&X&Y&j'S'V'^'b'q't(Q(S(U(Y(^(w)U!x!XVabcdgiruv!Q!T!t#s#t#u$O$a$c$d$e$w%_%b%v%{&Q&X&Y&j'S'V'^'b'q't(Q(S(U(Y(^(w)UU$}#Q&k(nU&u%Y&w'yR'x&t!x!XVabcdgiruv!Q!T!t#s#t#u$O$a$c$d$e$w%_%b%v%{&Q&X&Y&j'S'V'^'b'q't(Q(S(U(Y(^(w)UV$}#Q&k(n#P!YVabcdgiruv!Q!T!t#Q#s#t#u$O$a$c$d$e$w%_%b%v%{&Q&X&Y&j&k'S'V'^'b'q't(Q(S(U(Y(^(n(w)UQ$P!YQ&_$lQ&`$oR(e'n!x!XVabcdgiruv!Q!T!t#s#t#u$O$a$c$d$e$w%_%b%v%{&Q&X&Y&j'S'V'^'b'q't(Q(S(U(Y(^(w)UQ#YjU$}#Q&k(nR%X#ZT#{!W#|Q![WR$Q!]Q!kYR$R!^Q$R!mR%y$TQ!lYR$S!^Q$R!lR%y$SQ!oZR$U!_Q!q[R$V!`R!s]Q!hXQ!|fQ$]!eQ$f!tQ$k!vQ$m!wQ$r!{Q%U#VQ%[#^Q%]#_Q%^#cQ%c#gQ'l&_Q'{&vQ(R&zQ(T'OQ(q'zQ(s(PQ)P(gQ)S(tQ)T(uR)V)OSpOqUyP!f$_Q#jxQ%g#lR'P%fa`OPqx!f#l$_%fQ$f!tR(a'bR$i!uQ'j&[R(z(bQ${#QQ'v&kR)R(nQ&b$pR's&iR#ZjR#]kR%Z#]S&v%Y&wR(o'yV&t%Y&w'yQ#o{R%i#oQqOR#bqQ%v$OQ&Q$a^'R%v&Q't(U(Y(^)UQ't&jQ(U'SQ(Y'VQ(^'^R)U(wQ'T%vU(W'T(X(xQ(X'UR(x(YQ#|!WR%s#|Q#v!SR%o#vQ'_&QR(_'_Q'[&OR(]'[Q!eXR$[!eUxP!f$_S#ix%fR%f#lQ&U$dR'd&UQ&Y$eR'g&YQ#myQ%e#jT%h#m%eQ(c'jR({(cQ%R#RR&o%RQ$u#OS&e$u(jR(j'sQ'r&gR(i'rQ&w%YR'|&wQ'z&vR(p'zQ&y%^R(O&yQ%a#eR&}%aR|QSoOq]wPx!f#l$_%f`XOPqx!f#l$_%fQ!zeQ!{fQ$W!aQ$X!bQ$Y!cQ$Z!dQ&O$`Q&p%TR(['ZQ!SVQ!uaQ!vbQ!wcQ!xdQ#OgQ#WiQ#crQ#guQ#hvS#q!Q$dQ#x!TQ$e!tQ%l#sQ%m#tQ%n#ul%u$O$a%v&Q&j'S'V'^'t(U(Y(^(w)UQ&S$cS&W$e&YQ&g$wQ&{%_Q'O%bQ'X%{Q'f&XQ(`'bQ(h'qQ(t(QR(u(SR%x$OR&R$aR&P$`QzPQ$^!fR%}$_X#ly#j#m%eQ#VhQ#_mQ$h!uR&^$iW#Rhm!u$iQ#^lQ$|#QQ%S#SQ&m%PQ&n%QQ'p&dR(f'oQ%O#QQ'v&kR)R(nQ#apQ$k!vQ$n!xQ$q!zQ$v#OQ%V#WQ%W#YQ%]#_Q%d#hQ&]$hQ&f$uQ&q%XQ'k&^Q'l&_S'm&`&bQ(k'sQ(}(eR)Q(jR&h$wR#ft",nodeNames:"⚠ InterpolationEnd InterpolationContinue Unit VariableName InterpolationStart LineComment Comment IndentedMixin IndentedInclude StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector SuffixedSelector Suffix Interpolation SassVariableName ValueName ) ( ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp LogicOp UnaryExpression LogicOp NamespacedValue . CallExpression Callee ArgList : ... , CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName ClassSelector ClassName PseudoClassSelector :: PseudoClassName PseudoClassName ArgList PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp PlaceholderSelector ClassName Block { Declaration PropertyName Map Important Global Default ; } ImportStatement AtKeyword import Layer layer LayerName KeywordQuery FeatureQuery FeatureName BinaryQuery ComparisonQuery CompareOp UnaryQuery LogicOp ParenthesizedQuery SelectorQuery selector IncludeStatement include Keyword MixinStatement mixin UseStatement use Keyword Star Keyword ExtendStatement extend RootStatement at-root ForwardStatement forward Keyword MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports IfStatement ControlKeyword ControlKeyword Keyword ForStatement ControlKeyword Keyword Keyword Keyword EachStatement ControlKeyword Keyword WhileStatement ControlKeyword OutputStatement ControlKeyword AtRule Styles",maxTerm:196,context:sO,nodeProps:[["openedBy",1,"InterpolationStart",5,"InterpolationEnd",21,"(",43,"[",78,"{"],["isolate",-3,6,7,26,""],["closedBy",22,")",44,"]",70,"}"]],propSources:[XO],skippedNodes:[0,6,7,146],repeatNodeCount:21,tokenData:"!$Q~RyOq#rqr$jrs0jst2^tu8{uv;hvw;{wx<^xy={yz>^z{>c{|>||}Co}!ODQ!O!PDo!P!QFY!Q![Fk![!]Gf!]!^Hb!^!_Hs!_!`Is!`!aJ^!a!b#r!b!cKa!c!}#r!}#OMn#O#P#r#P#QNP#Q#RNb#R#T#r#T#UNw#U#c#r#c#d!!Y#d#o#r#o#p!!o#p#qNb#q#r!#Q#r#s!#c#s;'S#r;'S;=`!#z<%lO#rW#uSOy$Rz;'S$R;'S;=`$d<%lO$RW$WSzWOy$Rz;'S$R;'S;=`$d<%lO$RW$gP;=`<%l$RY$m[Oy$Rz!_$R!_!`%c!`#W$R#W#X%v#X#Z$R#Z#[)Z#[#]$R#]#^,V#^;'S$R;'S;=`$d<%lO$RY%jSzWlQOy$Rz;'S$R;'S;=`$d<%lO$RY%{UzWOy$Rz#X$R#X#Y&_#Y;'S$R;'S;=`$d<%lO$RY&dUzWOy$Rz#Y$R#Y#Z&v#Z;'S$R;'S;=`$d<%lO$RY&{UzWOy$Rz#T$R#T#U'_#U;'S$R;'S;=`$d<%lO$RY'dUzWOy$Rz#i$R#i#j'v#j;'S$R;'S;=`$d<%lO$RY'{UzWOy$Rz#`$R#`#a(_#a;'S$R;'S;=`$d<%lO$RY(dUzWOy$Rz#h$R#h#i(v#i;'S$R;'S;=`$d<%lO$RY(}S!nQzWOy$Rz;'S$R;'S;=`$d<%lO$RY)`UzWOy$Rz#`$R#`#a)r#a;'S$R;'S;=`$d<%lO$RY)wUzWOy$Rz#c$R#c#d*Z#d;'S$R;'S;=`$d<%lO$RY*`UzWOy$Rz#U$R#U#V*r#V;'S$R;'S;=`$d<%lO$RY*wUzWOy$Rz#T$R#T#U+Z#U;'S$R;'S;=`$d<%lO$RY+`UzWOy$Rz#`$R#`#a+r#a;'S$R;'S;=`$d<%lO$RY+yS!mQzWOy$Rz;'S$R;'S;=`$d<%lO$RY,[UzWOy$Rz#a$R#a#b,n#b;'S$R;'S;=`$d<%lO$RY,sUzWOy$Rz#d$R#d#e-V#e;'S$R;'S;=`$d<%lO$RY-[UzWOy$Rz#c$R#c#d-n#d;'S$R;'S;=`$d<%lO$RY-sUzWOy$Rz#f$R#f#g.V#g;'S$R;'S;=`$d<%lO$RY.[UzWOy$Rz#h$R#h#i.n#i;'S$R;'S;=`$d<%lO$RY.sUzWOy$Rz#T$R#T#U/V#U;'S$R;'S;=`$d<%lO$RY/[UzWOy$Rz#b$R#b#c/n#c;'S$R;'S;=`$d<%lO$RY/sUzWOy$Rz#h$R#h#i0V#i;'S$R;'S;=`$d<%lO$RY0^S!lQzWOy$Rz;'S$R;'S;=`$d<%lO$R~0mWOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W<%lO0j~1[Oj~~1_RO;'S0j;'S;=`1h;=`O0j~1kXOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W;=`<%l0j<%lO0j~2ZP;=`<%l0jZ2cY!ZPOy$Rz!Q$R!Q![3R![!c$R!c!i3R!i#T$R#T#Z3R#Z;'S$R;'S;=`$d<%lO$RY3WYzWOy$Rz!Q$R!Q![3v![!c$R!c!i3v!i#T$R#T#Z3v#Z;'S$R;'S;=`$d<%lO$RY3{YzWOy$Rz!Q$R!Q![4k![!c$R!c!i4k!i#T$R#T#Z4k#Z;'S$R;'S;=`$d<%lO$RY4rYhQzWOy$Rz!Q$R!Q![5b![!c$R!c!i5b!i#T$R#T#Z5b#Z;'S$R;'S;=`$d<%lO$RY5iYhQzWOy$Rz!Q$R!Q![6X![!c$R!c!i6X!i#T$R#T#Z6X#Z;'S$R;'S;=`$d<%lO$RY6^YzWOy$Rz!Q$R!Q![6|![!c$R!c!i6|!i#T$R#T#Z6|#Z;'S$R;'S;=`$d<%lO$RY7TYhQzWOy$Rz!Q$R!Q![7s![!c$R!c!i7s!i#T$R#T#Z7s#Z;'S$R;'S;=`$d<%lO$RY7xYzWOy$Rz!Q$R!Q![8h![!c$R!c!i8h!i#T$R#T#Z8h#Z;'S$R;'S;=`$d<%lO$RY8oShQzWOy$Rz;'S$R;'S;=`$d<%lO$R_9O`Oy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!_$R!_!`;T!`!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$RZ:X^zWcROy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$R[;[S!_SzWOy$Rz;'S$R;'S;=`$d<%lO$RZ;oS%SPlQOy$Rz;'S$R;'S;=`$d<%lO$RZQSfROy$Rz;'S$R;'S;=`$d<%lO$R~>cOe~_>jU$|PlQOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZ?TWlQ!dPOy$Rz!O$R!O!P?m!P!Q$R!Q![Br![;'S$R;'S;=`$d<%lO$RZ?rUzWOy$Rz!Q$R!Q![@U![;'S$R;'S;=`$d<%lO$RZ@]YzW%OROy$Rz!Q$R!Q![@U![!g$R!g!h@{!h#X$R#X#Y@{#Y;'S$R;'S;=`$d<%lO$RZAQYzWOy$Rz{$R{|Ap|}$R}!OAp!O!Q$R!Q![BX![;'S$R;'S;=`$d<%lO$RZAuUzWOy$Rz!Q$R!Q![BX![;'S$R;'S;=`$d<%lO$RZB`UzW%OROy$Rz!Q$R!Q![BX![;'S$R;'S;=`$d<%lO$RZBy[zW%OROy$Rz!O$R!O!P@U!P!Q$R!Q![Br![!g$R!g!h@{!h#X$R#X#Y@{#Y;'S$R;'S;=`$d<%lO$RZCtSwROy$Rz;'S$R;'S;=`$d<%lO$RZDVWlQOy$Rz!O$R!O!P?m!P!Q$R!Q![Br![;'S$R;'S;=`$d<%lO$RZDtWqROy$Rz!O$R!O!PE^!P!Q$R!Q![@U![;'S$R;'S;=`$d<%lO$RYEcUzWOy$Rz!O$R!O!PEu!P;'S$R;'S;=`$d<%lO$RYE|SvQzWOy$Rz;'S$R;'S;=`$d<%lO$RYF_SlQOy$Rz;'S$R;'S;=`$d<%lO$RZFp[%OROy$Rz!O$R!O!P@U!P!Q$R!Q![Br![!g$R!g!h@{!h#X$R#X#Y@{#Y;'S$R;'S;=`$d<%lO$RkGkUucOy$Rz![$R![!]G}!];'S$R;'S;=`$d<%lO$RXHUS!SPzWOy$Rz;'S$R;'S;=`$d<%lO$RZHgS!oROy$Rz;'S$R;'S;=`$d<%lO$RjHzU!|`lQOy$Rz!_$R!_!`I^!`;'S$R;'S;=`$d<%lO$RjIgS!|`zWlQOy$Rz;'S$R;'S;=`$d<%lO$RnIzU!|`!_SOy$Rz!_$R!_!`%c!`;'S$R;'S;=`$d<%lO$RkJgV!aP!|`lQOy$Rz!_$R!_!`I^!`!aJ|!a;'S$R;'S;=`$d<%lO$RXKTS!aPzWOy$Rz;'S$R;'S;=`$d<%lO$RXKdYOy$Rz}$R}!OLS!O!c$R!c!}Lq!}#T$R#T#oLq#o;'S$R;'S;=`$d<%lO$RXLXWzWOy$Rz!c$R!c!}Lq!}#T$R#T#oLq#o;'S$R;'S;=`$d<%lO$RXLx[!rPzWOy$Rz}$R}!OLq!O!Q$R!Q![Lq![!c$R!c!}Lq!}#T$R#T#oLq#o;'S$R;'S;=`$d<%lO$RZMsS|ROy$Rz;'S$R;'S;=`$d<%lO$R_NUS{VOy$Rz;'S$R;'S;=`$d<%lO$R[NeUOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RkNzUOy$Rz#b$R#b#c! ^#c;'S$R;'S;=`$d<%lO$Rk! cUzWOy$Rz#W$R#W#X! u#X;'S$R;'S;=`$d<%lO$Rk! |SmczWOy$Rz;'S$R;'S;=`$d<%lO$Rk!!]UOy$Rz#f$R#f#g! u#g;'S$R;'S;=`$d<%lO$RZ!!tS!hROy$Rz;'S$R;'S;=`$d<%lO$RZ!#VS!pROy$Rz;'S$R;'S;=`$d<%lO$R]!#hU!dPOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RW!#}P;=`<%l#r",tokenizers:[iO,dO,lO,SO,oO,nO,rO,RO,0,1,2,3,4],topRules:{StyleSheet:[0,10],Styles:[1,145]},dialects:{indented:0},specialized:[{term:172,get:O=>PO[O]||-1},{term:171,get:O=>mO[O]||-1},{term:80,get:O=>fO[O]||-1},{term:173,get:O=>yO[O]||-1}],tokenPrec:3217}),P=V.define({name:"sass",parser:hO.configure({props:[k.add({Block:E,Comment(O,$){return{from:O.from+2,to:$.sliceDoc(O.to-2,O.to)=="*/"?O.to-2:O.to}}}),U.add({Declaration:N()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),wO=P.configure({dialect:"indented",props:[U.add({"Block RuleSet":O=>O.baseIndent+O.unit}),k.add({Block:O=>({from:O.from,to:O.to})})]}),YO=x(O=>O.name=="VariableName"||O.name=="SassVariableName");function qO(O){return new g(O?.indented?wO:P,P.data.of({autocomplete:YO}))}export{qO as sass,YO as sassCompletionSource,P as sassLanguage}; diff --git a/web-dist/js/chunks/index-Bl6f9hPu.mjs.gz b/web-dist/js/chunks/index-Bl6f9hPu.mjs.gz new file mode 100644 index 0000000000..cbd11c9edf Binary files /dev/null and b/web-dist/js/chunks/index-Bl6f9hPu.mjs.gz differ diff --git a/web-dist/js/chunks/index-ByDDD7Lk.mjs b/web-dist/js/chunks/index-ByDDD7Lk.mjs new file mode 100644 index 0000000000..0dd347376e --- /dev/null +++ b/web-dist/js/chunks/index-ByDDD7Lk.mjs @@ -0,0 +1 @@ +import{e as r,s as e,t as O,a as s,L as X,i as l,j as Y,c as $,k as S,f as o,l as t}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const Z=e({null:O.null,instanceof:O.operatorKeyword,this:O.self,"new super assert open to with void":O.keyword,"class interface extends implements enum var":O.definitionKeyword,"module package import":O.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":O.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":O.modifier,IntegerLiteral:O.integer,FloatingPointLiteral:O.float,"StringLiteral TextBlock":O.string,CharacterLiteral:O.character,LineComment:O.lineComment,BlockComment:O.blockComment,BooleanLiteral:O.bool,PrimitiveType:O.standard(O.typeName),TypeName:O.typeName,Identifier:O.variableName,"MethodName/Identifier":O.function(O.variableName),Definition:O.definition(O.variableName),ArithOp:O.arithmeticOperator,LogicOp:O.logicOperator,BitOp:O.bitwiseOperator,CompareOp:O.compareOperator,AssignOp:O.definitionOperator,UpdateOp:O.updateOperator,Asterisk:O.punctuation,Label:O.labelName,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace,".":O.derefOperator,", ;":O.separator}),n={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:238,open:267,module:269,requires:274,transitive:276,exports:278,to:280,opens:282,uses:284,provides:286,with:288,package:292,import:296,if:308,else:310,while:314,for:318,var:325,assert:332,switch:336,case:342,do:346,break:350,continue:354,return:358,throw:364,try:368,catch:372,finally:380},d=r.deserialize({version:14,states:"##jQ]QPOOQ$wQPOOO(bQQO'#H^O*iQQO'#CbOOQO'#Cb'#CbO*pQPO'#CaO*xOSO'#CpOOQO'#Hc'#HcOOQO'#Cu'#CuO,eQPO'#D_O-OQQO'#HmOOQO'#Hm'#HmO/gQQO'#HhO/nQQO'#HhOOQO'#Hh'#HhOOQO'#Hg'#HgO1rQPO'#DUO2PQPO'#GnO4wQPO'#D_O5OQPO'#DzO*pQPO'#E[O5qQPO'#E[OOQO'#DV'#DVO7SQQO'#HaO9^QQO'#EeO9eQPO'#EdO9jQPO'#EfOOQO'#Hb'#HbO7jQQO'#HbO:pQQO'#FhO:wQPO'#ExO:|QPO'#E}O:|QPO'#FPOOQO'#Ha'#HaOOQO'#HY'#HYOOQO'#Gh'#GhOOQO'#HX'#HXO<^QPO'#FiOOQO'#HW'#HWOOQO'#Gg'#GgQ]QPOOOOQO'#Hs'#HsOQQPO'#GSO>]QPO'#GUO=kQPO'#GWO:|QPO'#GXO>dQPO'#GZO?QQQO'#HiO?mQQO'#CuO?tQPO'#HxO@SQPO'#D_O@rQPO'#DpO?wQPO'#DqO@|QPO'#HxOA_QPO'#DpOAgQPO'#IROAlQPO'#E`OOQO'#Hr'#HrOOQO'#Gm'#GmQ$wQPOOOAtQPO'#HsOOQO'#H^'#H^OCsQQO,58{OOQO'#H['#H[OOOO'#Gi'#GiOEfOSO,59[OOQO,59[,59[OOQO'#Hi'#HiOFVQPO,59eOGXQPO,59yOOQO-E:f-E:fO*pQPO,58zOG{QPO,58zO*pQPO,5;}OHQQPO'#DQOHVQPO'#DQOOQO'#Gk'#GkOIVQQO,59jOOQO'#Dm'#DmOJqQPO'#HuOJ{QPO'#DlOKZQPO'#HtOKcQPO,5<_OKhQPO,59^OLRQPO'#CxOOQO,59c,59cOLYQPO,59bOLeQQO'#H^ONgQQO'#CbO!!iQPO'#D_O!#nQQO'#HmO!$OQQO,59pO!$VQPO'#DvO!$eQPO'#H|O!$mQPO,5:`O!$rQPO,5:`O!%YQPO,5;nO!%eQPO'#ITO!%pQPO,5;eO!%uQPO,5=YOOQO-E:l-E:lOOQO,5:f,5:fO!']QPO,5:fO!'dQPO,5:vO?tQPO,5<_O*pQPO,5:vO_,5>_O!*sQPO,5:gO!+RQPO,5:qO!+ZQPO,5:lO!+fQPO,5>[O!$VQPO,5>[O!'iQPO,59UO!+qQQO,58zO!+yQQO,5;}O!,RQQO,5gQPO,5gQPO,5<}O!2mQPO,59jO!2zQPO'#HuO!3RQPO,59xO!3WQPO,5>dO?tQPO,59xO!3cQPO,5:[OAlQPO,5:zO!3kQPO'#DrO?wQPO'#DrO!3vQPO'#HyO!4OQPO,5:]O?tQPO,5>dO!(hQPO,5>dOAgQPO,5>mOOQO,5:[,5:[O!$rQPO'#DtOOQO,5>m,5>mO!4TQPO'#EaOOQO,5:z,5:zO!7UQPO,5:zO!(hQPO'#DxOOQO-E:k-E:kOOQO,5:y,5:yO*pQPO,58}O!7ZQPO'#ChOOQO1G.k1G.kOOOO-E:g-E:gOOQO1G.v1G.vO!+qQQO1G.fO*pQPO1G.fO!7eQQO1G1iOOQO,59l,59lO!7mQPO,59lOOQO-E:i-E:iO!7rQPO,5>aO!8ZQPO,5:WO`OOQO1G1y1G1yOOQO1G.x1G.xO!8{QPO'#CyO!9kQPO'#HmO!9uQPO'#CzO!:TQPO'#HlO!:]QPO,59dOOQO1G.|1G.|OLYQPO1G.|O!:sQPO,59eO!;QQQO'#H^O!;cQQO'#CbOOQO,5:b,5:bOhOOQO1G/z1G/zO!oOOQO1G1P1G1POOQO1G0Q1G0QO!=oQPO'#E]OOQO1G0b1G0bO!>`QPO1G1yO!'dQPO1G0bO!*sQPO1G0RO!+RQPO1G0]O!+ZQPO1G0WOOQO1G/]1G/]O!>eQQO1G.pO9eQPO1G0jO*pQPO1G0jOgQPO'#GaOOQO1G2a1G2aO#2zQPO1G2iO#6xQPO,5>gOOQO1G/d1G/dOOQO1G4O1G4OO#7ZQPO1G/dOOQO1G/v1G/vOOQO1G0f1G0fO!7UQPO1G0fOOQO,5:^,5:^O!(hQPO'#DsO#7`QPO,5:^O?wQPO'#GrO#7kQPO,5>eOOQO1G/w1G/wOAgQPO'#H{O#7sQPO1G4OO?tQPO1G4OOOQO1G4X1G4XO!#YQPO'#DvO!!iQPO'#D_OOQO,5:{,5:{O#8OQPO,5:{O#8OQPO,5:{O#8VQQO'#HaO#9hQQO'#HbO#9rQQO'#EbO#9}QPO'#EbO#:VQPO'#IOOOQO,5:d,5:dOOQO1G.i1G.iO#:bQQO'#EeO#:rQQO'#H`O#;SQPO'#FTOOQO'#H`'#H`O#;^QPO'#H`O#;{QPO'#IWO#WOOQO1G/O1G/OOOQO7+$h7+$hOOQO1G/{1G/{O#=cQQO1G/{OOQO1G/}1G/}O#=hQPO1G/{OOQO1G/|1G/|OdQPO,5:wOOQO,5:w,5:wOOQO7+'e7+'eOOQO7+%|7+%|OOQO7+%m7+%mO!KqQPO7+%mO!KvQPO7+%mO!LOQPO7+%mOOQO7+%w7+%wO!LnQPO7+%wOOQO7+%r7+%rO!MmQPO7+%rO!MrQPO7+%rOOQO7+&U7+&UOOQO'#Ee'#EeO9eQPO7+&UO9eQPO,5>[O#?TQPO7+$[OOQO7+&T7+&TOOQO7+&W7+&WO:|QPO'#GlO#?cQPO,5>]OOQO1G/_1G/_O:|QPO7+&lO#?nQQO,59eO#@tQPO,59vOOQO,59v,59vOOQO,5:h,5:hOOQO'#EP'#EPOOQO,5:i,5:iO#@{QPO'#EYOgQPO,5jO#M{QPO,59TO#NSQPO'#IVO#N[QPO,5;oO*pQPO'#G{O#NaQPO,5>rOOQO1G.n1G.nOOQO<Z,5>ZOOQO,5=U,5=UOOQO-E:h-E:hO#NvQPO7+%gOOQO7+%g7+%gOOQO7+%i7+%iOOQO<kO$%tQPO'#EZOOQO1G0_1G0_O$%{QPO1G0_O?tQPO,5:pOOQO-E:s-E:sOOQO1G0Z1G0ZOOQO1G0n1G0nO$&QQQO1G0nOOQO<qOOQO1G1Z1G1ZO$+dQPO'#FUOOQO,5=g,5=gOOQO-E:y-E:yO$+iQPO'#GoO$+vQPO,5>cOOQO1G/u1G/uOOQO<sAN>sO!KqQPOAN>sOOQOAN>xAN>xOOQOAN?[AN?[O9eQPOAN?[OOQO1G0`1G0`O$,_QPO1G0`OOQO,5=b,5=bOOQO-E:t-E:tO$,mQPO,5:uOOQO7+%y7+%yOOQO7+&Y7+&YOOQO1G1`1G1`O$,tQQO1G1`OOQO-E:{-E:{O$,|QQO'#IYO$,wQPO1G1`O$&gQPO1G1`O*pQPO1G1`OOQOAN@]AN@]O$-XQQO<tO$.qQPO7+&zO$.vQQO'#IZOOQOAN@nAN@nO$/RQQOAN@nOOQOAN@jAN@jO$/YQPOAN@jO$/_QQO<uOOQOG26YG26YOOQOG26UG26UOOQO<lOWiXuiX%}iX&PiX&RiX&_iX~OZ!aX~P?XOu#OO%}TO&P#SO&R#SO~O%}TO~P3gOg^Oh^Ov#pO!u#rO!z#qO&_!hO&t#oO~O&P!cO&R!dO~P@ZOg^Oh^O%}TO&P!cO&R!dO~O}cO!P%aO~OZ%bO~O}%dO!m%gO~O}cOg&gXh&gXv&gX!S&gX!T&gX!U&gX!V&gX!W&gX!X&gX!Y&gX!Z&gX!]&gX!^&gX!_&gX!u&gX!z&gX%}&gX&P&gX&R&gX&_&gX&t&gX~OW%jOZ%kOgTahTa%}Ta&PTa&RTa~OvTa!STa!TTa!UTa!VTa!WTa!XTa!YTa!ZTa!]Ta!^Ta!_Ta!uTa!zTa#yTa#zTa$WTa$hTa&tTa&_TauTaYTaqTa|Ta!PTa~PC[O&W%nO&Y!tO~Ou#OO%}TOqma&^maYma&nma!Pma~O&vma}ma!rma~PEnO!SyO!TyO!UyO!VyO!WyO!XyO!YyO!ZzO!]yO!^yO!_yO~Og!Rah!Rav!Ra!u!Ra!z!Ra$h!Ra&P!Ra&R!Ra&t!Ra&_!Ra~PFdO#z%pO~Os%rO~Ou%sO%}TO~Ou#OO%}ra&Pra&Rra&vraYrawra&nra&qra!Pra&^raqra~OWra#_ra#ara#bra#dra#era#fra#gra#hra#ira#kra#ora#rra&_ra#prasra|ra~PH_Ou#OO%}TOq&iX!P&iX!b&iX~OY&iX#p&iX~PJ`O!b%vOq!`X!P!`XY!`X~Oq%wO!P&hX~O!P%yO~Ov%zO~Og^Oh^O%}0oO&P!wO&RWO&b%}O~O&^&`P~PKmO%}TO&P!wO&RWO~OW&QXYiXY!aXY&QXZ&QXq!aXu&QXwiX!b&QX#]&QX#_&QX#a&QX#b&QX#d&QX#e&QX#f&QX#g&QX#h&QX#i&QX#k&QX#o&QX#r&QX&^&QX&_&QX&niX&n&QX&qiX&viX&v&QX&x!aX~P?XOWUXYUXY!aXY&]XZUXq!aXuUXw&]X!bUX#]UX#_UX#aUX#bUX#dUX#eUX#fUX#gUX#hUX#iUX#kUX#oUX#rUX&^UX&_UX&nUX&n&]X&q&]X&vUX&v&]X&x!aX~P>lOg^Oh^O%}TO&P!wO&RWOg!RXh!RX&P!RX&R!RX~PFdOu#OOw&XO%}TO&P&UO&R&TO&q&WO~OW#XOY&aX&n&aX&v&aX~P!#YOY&ZO~P9oOg^Oh^O&P!wO&RWO~Oq&]OY&pX~OY&_O~Og^Oh^O%}TO&P!wO&RWOY&pP~PFdOY&dO&n&bO&v#vO~Oq&eO&x$ZOY&wX~OY&gO~O%}TOg%bah%bav%ba!S%ba!T%ba!U%ba!V%ba!W%ba!X%ba!Y%ba!Z%ba!]%ba!^%ba!_%ba!u%ba!z%ba$h%ba&P%ba&R%ba&t%ba&_%ba~O|&hO~P]O}&iO~Op&uOw&vO&PSO&R!qO&_#YO~Oz&tO~P!'iOz&xO&PSO&R!qO&_#YO~OY&eP~P:|Og^Oh^O%}TO&P!wO&RWO~O}cO~P:|OW#XOu#OO%}TO&v&aX~O#r$WO!P#sa#_#sa#a#sa#b#sa#d#sa#e#sa#f#sa#g#sa#h#sa#i#sa#k#sa#o#sa&^#sa&_#sa&n#saY#sa#p#sas#saq#sa|#sa~Oo'_O}'^O!r'`O&_!hO~O}'eO!r'`O~Oo'iO}'hO&_!hO~OZ#xOu'mO%}TO~OW%jO}'sO~OW%jO!P'uO~OW'vO!P'wO~O$h!WO&P0qO&R0pO!P&eP~P/uO!P(SO#p(TO~P9oO}(UO~O$c(WO~O!P(XO~O!P(YO~O!P(ZO~P9oO!P(]O~P9oOZ$lO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%}TO&P(_O&R(^O&XUO~PFdO%Q(hO%U(iOZ$}a_$}a`$}aa$}ab$}ac$}ae$}ag$}ah$}ap$}av$}aw$}az$}a}$}a!P$}a!S$}a!T$}a!U$}a!V$}a!W$}a!X$}a!Y$}a!Z$}a![$}a!]$}a!^$}a!_$}a!u$}a!z$}a#f$}a#r$}a#t$}a#u$}a#y$}a#z$}a$W$}a$Y$}a$`$}a$c$}a$e$}a$h$}a$l$}a$n$}a$s$}a$u$}a$w$}a$y$}a$|$}a%O$}a%w$}a%}$}a&P$}a&R$}a&X$}a&t$}a|$}a$a$}a$q$}a~O}ra!rra'Ora~PH_OZ%bO~PJ`O!P(mO~O!m%gO}&la!P&la~O}cO!P(pO~Oo(tOq!fX&^!fX~Oq(vO&^&mX~O&^(xO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op)UOv{Ow)TOz!OO|)PO}cO!PvO![!`O!u}O!z|O#fpO#roO#tpO#upO#y!RO#z!QO$W!SO$Y!TO$`!UO$c!VO$e!XO$h!WO$l!YO$n!ZO$s![O$u!]O$w!^O$y!_O$|!aO%O!bO%}TO&PRO&RQO&XUO&_#YO&tdO~PFdO}%dO~O})]OY&zP~P:|OW%jO!P)dO~Os)eO~Ou#OO%}TOq&ia!P&ia!b&iaY&ia#p&ia~O})fO~P:|Oq%wO!P&ha~Og^Oh^O%}0oO&P!wO&RWO~O&b)mO~P!8jOu#OO%}TOq&aX&^&aXY&aX&n&aX!P&aX~O}&aX!r&aX~P!9SOo)oOp)oOqnX&^nX~Oq)pO&^&`X~O&^)rO~Ou#OOw)tO%}TO&PSO&R!qO~OYma&nma&vma~P!:bOW&QXY!aXq!aXu!aX%}!aX~OWUXY!aXq!aXu!aX%}!aX~OW)wO~Ou#OO%}TO&P#SO&R#SO&q)yO~Og^Oh^O%}TO&P!wO&RWO~PFdOq&]OY&pa~Ou#OO%}TO&P#SO&R#SO&q&WO~OY)|O~OY*PO&n&bO~Oq&eOY&wa~Og^Oh^Ov{O|*XO!u}O%}TO&P!wO&RWO&tdO~PFdO!P*YO~OW^iZ#XXu^i!P^i!b^i#]^i#_^i#a^i#b^i#d^i#e^i#f^i#g^i#h^i#i^i#k^i#o^i#r^i&^^i&_^i&n^i&v^iY^i#p^is^iq^i|^i~OW*iO~Os*jO~P9oOz*kO&PSO&R!qO~O!P]iY]i#p]is]iq]i|]i~P9oOq*lOY&eX!P&eX~P9oOY*nO~O#f$SO#g$TO#k$YO#r$WO!P#^i#_#^i#a#^i#b#^i#d#^i#e#^i#o#^i&^#^i&_#^i&n#^iY#^i#p#^is#^iq#^i|#^i~O#h$UO#i$UO~P!AmO#_#|O#d$QO#e$RO#f$SO#g$TO#h$UO#i$UO#k$YO#r$WO&^#zO&_#zO&n#{O!P#^i#b#^i#o#^iY#^i#p#^is#^iq#^i|#^i~O#a#^i~P!CUO#a#}O~P!CUO#_#|O#f$SO#g$TO#h$UO#i$UO#k$YO#r$WO&^#zO&_#zO!P#^i#a#^i#b#^i#d#^i#e#^i#o#^iY#^i#p#^is#^iq#^i|#^i~O&n#^i~P!DtO&n#{O~P!DtO#f$SO#g$TO#k$YO#r$WO!P#^i#a#^i#b#^i#e#^i#o#^iY#^i#p#^is#^iq#^i|#^i~O#_#|O#d$QO#h$UO#i$UO&^#zO&_#zO&n#{O~P!FdO#k$YO#r$WO!P#^i#_#^i#a#^i#b#^i#d#^i#e#^i#f#^i#h#^i#i#^i#o#^i&^#^i&_#^i&n#^iY#^i#p#^is#^iq#^i|#^i~O#g$TO~P!G{O#g#^i~P!G{O#h#^i#i#^i~P!AmO#p*oO~P9oO#_&aX#a&aX#b&aX#d&aX#e&aX#f&aX#g&aX#h&aX#i&aX#k&aX#o&aX#r&aX&_&aX#p&aXs&aX|&aX~P!9SO!P#liY#li#p#lis#liq#li|#li~P9oO|*rO~P$wO}'^O~O}'^O!r'`O~Oo'_O}'^O!r'`O~O%}TO&P#SO&R#SO|&sP!P&sP~PFdO}'eO~Og^Oh^Ov{O|+PO!P*}O!u}O!z|O%}TO&P!wO&RWO&_!hO&tdO~PFdO}'hO~Oo'iO}'hO~Os+RO~P:|Ou+TO%}TO~Ou'mO})fO%}TOW#Zi!P#Zi#_#Zi#a#Zi#b#Zi#d#Zi#e#Zi#f#Zi#g#Zi#h#Zi#i#Zi#k#Zi#o#Zi#r#Zi&^#Zi&_#Zi&n#Zi&v#ZiY#Zi#p#Zis#Ziq#Zi|#Zi~O}'^OW&diu&di!P&di#_&di#a&di#b&di#d&di#e&di#f&di#g&di#h&di#i&di#k&di#o&di#r&di&^&di&_&di&n&di&v&diY&di#p&dis&diq&di|&di~O#}+]O$P+^O$R+^O$S+_O$T+`O~O|+[O~P##nO$Z+aO&PSO&R!qO~OW+bO!P+cO~O$a+dOZ$_i_$_i`$_ia$_ib$_ic$_ie$_ig$_ih$_ip$_iv$_iw$_iz$_i}$_i!P$_i!S$_i!T$_i!U$_i!V$_i!W$_i!X$_i!Y$_i!Z$_i![$_i!]$_i!^$_i!_$_i!u$_i!z$_i#f$_i#r$_i#t$_i#u$_i#y$_i#z$_i$W$_i$Y$_i$`$_i$c$_i$e$_i$h$_i$l$_i$n$_i$s$_i$u$_i$w$_i$y$_i$|$_i%O$_i%w$_i%}$_i&P$_i&R$_i&X$_i&t$_i|$_i$q$_i~Og^Oh^O$h#sO&P!wO&RWO~O!P+hO~P:|O!P+iO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op!POv{OwkOz!OO}cO!PvO!SyO!TyO!UyO!VyO!WyO!XyO!YyO!Z+nO![!`O!]yO!^yO!_yO!u}O!z|O#fpO#roO#tpO#upO#y!RO#z!QO$W!SO$Y!TO$`!UO$c!VO$e!XO$h!WO$l!YO$n!ZO$q+oO$s![O$u!]O$w!^O$y!_O$|!aO%O!bO%}TO&PRO&RQO&XUO&tdO~O|+mO~P#)QOW&QXY&QXZ&QXu&QX!P&QX&viX&v&QX~P?XOWUXYUXZUXuUX!PUX&vUX&v&]X~P>lOW#tOu#uO&v#vO~OW&UXY%XXu&UX!P%XX&v&UX~OZ#XX~P#.VOY+uO!P+sO~O%Q(hO%U(iOZ$}i_$}i`$}ia$}ib$}ic$}ie$}ig$}ih$}ip$}iv$}iw$}iz$}i}$}i!P$}i!S$}i!T$}i!U$}i!V$}i!W$}i!X$}i!Y$}i!Z$}i![$}i!]$}i!^$}i!_$}i!u$}i!z$}i#f$}i#r$}i#t$}i#u$}i#y$}i#z$}i$W$}i$Y$}i$`$}i$c$}i$e$}i$h$}i$l$}i$n$}i$s$}i$u$}i$w$}i$y$}i$|$}i%O$}i%w$}i%}$}i&P$}i&R$}i&X$}i&t$}i|$}i$a$}i$q$}i~OZ+xO~O%Q(hO%U(iOZ%Vi_%Vi`%Via%Vib%Vic%Vie%Vig%Vih%Vip%Viv%Viw%Viz%Vi}%Vi!P%Vi!S%Vi!T%Vi!U%Vi!V%Vi!W%Vi!X%Vi!Y%Vi!Z%Vi![%Vi!]%Vi!^%Vi!_%Vi!u%Vi!z%Vi#f%Vi#r%Vi#t%Vi#u%Vi#y%Vi#z%Vi$W%Vi$Y%Vi$`%Vi$c%Vi$e%Vi$h%Vi$l%Vi$n%Vi$s%Vi$u%Vi$w%Vi$y%Vi$|%Vi%O%Vi%w%Vi%}%Vi&P%Vi&R%Vi&X%Vi&t%Vi|%Vi$a%Vi$q%Vi~Ou#OO%}TO}&oa!P&oa!m&oa~O!P,OO~Oo(tOq!fa&^!fa~Oq(vO&^&ma~O!m%gO}&li!P&li~O|,XO~P]OW,ZO~P5xOW&UXu&UX#_&UX#a&UX#b&UX#d&UX#e&UX#f&UX#g&UX#h&UX#i&UX#k&UX#o&UX#r&UX&^&UX&_&UX&n&UX&v&UX~OZ#xO!P&UX~P#8^OW$gOZ#xO&v#vO~Op,]Ow,]O~Oq,^O}&rX!P&rX~O!b,`O#]#wOY&UXZ#XX~P#8^OY&SXq&SX|&SX!P&SX~P9oO})]O|&yP~P:|OY&SXg%[Xh%[X%}%[X&P%[X&R%[Xq&SX|&SX!P&SX~Oq,cOY&zX~OY,eO~O})fO|&kP~P:|Oq&jX!P&jX|&jXY&jX~P9oO&bTa~PC[Oo)oOp)oOqna&^na~Oq)pO&^&`a~OW,mO~Ow,nO~Ou#OO%}TO&P,rO&R,qO~Og^Oh^Ov#pO!u#rO&P!wO&RWO&t#oO~Og^Oh^Ov{O|,wO!u}O%}TO&P!wO&RWO&tdO~PFdOw-SO&PSO&R!qO&_#YO~Oq*lOY&ea!P&ea~O#_ma#ama#bma#dma#ema#fma#gma#hma#ima#kma#oma#rma&_ma#pmasma|ma~PEnO|-WO~P$wOZ#xO}'^Oq!|X|!|X!P!|X~Oq-[O|&sX!P&sX~O|-_O!P-^O~O&_!hO~P5VOg^Oh^Ov{O|-cO!P*}O!u}O!z|O%}TO&P!wO&RWO&_!hO&tdO~PFdOs-dO~P9oOs-dO~P:|O}'^OW&dqu&dq!P&dq#_&dq#a&dq#b&dq#d&dq#e&dq#f&dq#g&dq#h&dq#i&dq#k&dq#o&dq#r&dq&^&dq&_&dq&n&dq&v&dqY&dq#p&dqs&dqq&dq|&dq~O|-hO~P##nO!W-lO$O-lO&PSO&R!qO~O!P-oO~O$Z-pO&PSO&R!qO~O!b%vO#p-rOq!`X!P!`X~O!P-tO~P9oO!P-tO~P:|O!P-wO~P9oO|-yO~P#)QO![$aO#p-zO~O!P-|O~O!b-}O~OY.QOZ$lO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%}TO&P(_O&R(^O&XUO~PFdOY.QO!P.RO~O%Q(hO%U(iOZ%Vq_%Vq`%Vqa%Vqb%Vqc%Vqe%Vqg%Vqh%Vqp%Vqv%Vqw%Vqz%Vq}%Vq!P%Vq!S%Vq!T%Vq!U%Vq!V%Vq!W%Vq!X%Vq!Y%Vq!Z%Vq![%Vq!]%Vq!^%Vq!_%Vq!u%Vq!z%Vq#f%Vq#r%Vq#t%Vq#u%Vq#y%Vq#z%Vq$W%Vq$Y%Vq$`%Vq$c%Vq$e%Vq$h%Vq$l%Vq$n%Vq$s%Vq$u%Vq$w%Vq$y%Vq$|%Vq%O%Vq%w%Vq%}%Vq&P%Vq&R%Vq&X%Vq&t%Vq|%Vq$a%Vq$q%Vq~Ou#OO%}TO}&oi!P&oi!m&oi~O&n&bOq!ga&^!ga~O!m%gO}&lq!P&lq~O|.^O~P]Op.`Ow&vOz&tO&PSO&R!qO&_#YO~O!P.aO~Oq,^O}&ra!P&ra~O})]O~P:|Oq.gO|&yX~O|.iO~Oq,cOY&za~Oq.mO|&kX~O|.oO~Ow.pO~Oq!aXu!aX!P!aX!b!aX%}!aX~OZ&QX~P#N{OZUX~P#N{O!P.qO~OZ.rO~OW^yZ#XXu^y!P^y!b^y#]^y#_^y#a^y#b^y#d^y#e^y#f^y#g^y#h^y#i^y#k^y#o^y#r^y&^^y&_^y&n^y&v^yY^y#p^ys^yq^y|^y~OY%`aq%`a!P%`a~P9oO!P#nyY#ny#p#nys#nyq#ny|#ny~P9oO}'^Oq!|a|!|a!P!|a~OZ#xO}'^Oq!|a|!|a!P!|a~O%}TO&P#SO&R#SOq%jX|%jX!P%jX~PFdOq-[O|&sa!P&sa~O|!}X~P$wO|/PO~Os/QO~P9oOW%jO!P/RO~OW%jO$Q/WO&PSO&R!qO!P&|P~OW%jO$U/XO~O!P/YO~O!b%vO#p/[Oq!`X!P!`X~OY/^O~O!P/_O~P9oO#p/`O~P9oO!b/bO~OY/cOZ$lO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%}TO&P(_O&R(^O&XUO~PFdOW#[Ou&[X%}&[X&P&[X&R&[X'O&[X~O&_#YO~P$)QOu#OO%}TO'O/eO&P%SX&R%SX~O&n&bOq!gi&^!gi~Op/iO&PSO&R!qO~OW*iOZ#xO~O!P/kO~OY&SXq&SX~P9oO})]Oq%nX|%nX~P:|Oq.gO|&ya~O!b/nO~O})fOq%cX|%cX~P:|Oq.mO|&ka~OY/qO~O!P/rO~OZ/sO~O}'^Oq!|i|!|i!P!|i~O|!}a~P$wOW%jO!P/wO~OW%jOq/xO!P&|X~OY/|O~P9oOY0OO~OY%Xq!P%Xq~P9oO'O/eO&P%Sa&R%Sa~OY0TO~O!P0WO~Ou#OO!P0YO!Z0ZO%}TO~OY0[O~Oq/xO!P&|a~O!P0_O~OW%jOq/xO!P&}X~OY0aO~P9oOY0bO~OY%Xy!P%Xy~P9oOu#OO%}TO&P%ua&R%ua'O%ua~OY0cO~O!P0dO~Ou#OO!P0eO!Z0fO%}TO~OW%jOq%ra!P%ra~Oq/xO!P&}a~O!P0jO~Ou#OO!P0jO!Z0kO%}TO~O!P0lO~O!P0nO~O#p&QXY&QXs&QXq&QX|&QX~P&bO#pUXYUXsUXqUX|UX~P(iO`Q_P#g%y&P&Xc&X~",goto:"#+S'OPPPP'P'd*x.OP'dPP.d.h0PPPPPP1nP3ZPP4v7l:[WP!?[P!Ap!BW!E]3ZPPP!F|!Jm!MaPP#!P#!SP#$`#$f#&V#&f#&n#'p#(Y#)T#)^#)a#)oP#)r#*OP#*V#*^P#*aP#*lP#*o#*r#*u#*y#+PstOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Y'urOPXY`acopx!Y![!_!a!e!f!h!i!o!x#P#T#Y#[#_#`#e#i#l#n#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$]$_$e$l$m$n$o$p$q%O%S%V%Z%^%_%b%d%g%k%u%v%{%|&R&S&[&]&`&b&d&i'X'^'_'`'e'h'i'm'n'p'{'|(O(T(U(`(l(t(v({(})O)Q)R)])f)o)p*P*T*W*l*o*p*q*z*{+O+T+d+f+h+i+l+o+r+s+x+},W,Y,^,`,u-[-^-a-r-t-}.R.V.g.m/O/[/_/b/d/n/q0R0X0Z0[0f0h0k0r#xhO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0kt!sT!Q!S!T!{!}$k%p+]+^+_+`-k-m/W/X/x0oQ#mdS&Y#`(}Q&l#oU&q#t$g,ZQ&x#vW(b%O+s.R/dU)Y%j'v+bQ)Z%kS)u&S,WU*f&s-R._Q*k&yQ,t*TQ-P*iQ.j,cR.t,uu!sT!Q!S!T!{!}$k%p+]+^+_+`-k-m/W/X/x0oT%l!r)l#{qO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0k#zlO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0kX(c%O+s.R/d$TVO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0k$TkO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0k&O[OPX`ceopx!O!Y![!_!a!g!i!o#Y#_#b#e#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$_$f$l$m$n$o$p$q%O%_%b%d%g%k%v%{&]&b&d&i&t'^'_'`'h'i'm'{'}(O(T(U(d(t)O)Q)R)])f)o)p*P*U*W*l*o*q*{*|+O+T+d+h+i+l+o+s,Y,^,`-^-r-t-}.R.g.m/O/[/_/b/d/n0Z0f0k0rQ&Q#[Q)s&RV.T+x.X/e&O[OPX`ceopx!O!Y![!_!a!g!i!o#Y#_#b#e#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$_$f$l$m$n$o$p$q%O%_%b%d%g%k%v%{&]&b&d&i&t'^'_'`'h'i'm'{'}(O(T(U(d(t)O)Q)R)])f)o)p*P*U*W*l*o*q*{*|+O+T+d+h+i+l+o+s,Y,^,`-^-r-t-}.R.g.m/O/[/_/b/d/n0Z0f0k0rV.T+x.X/e&O]OPX`ceopx!O!Y![!_!a!g!i!o#Y#_#b#e#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$_$f$l$m$n$o$p$q%O%_%b%d%g%k%v%{&]&b&d&i&t'^'_'`'h'i'm'{'}(O(T(U(d(t)O)Q)R)])f)o)p*P*U*W*l*o*q*{*|+O+T+d+h+i+l+o+s,Y,^,`-^-r-t-}.R.g.m/O/[/_/b/d/n0Z0f0k0rV.U+x.X/eS#Z[.TS$f!O&tS&s#t$gQ&y#vQ)V%dQ-R*iR._,Z$kZO`copx!Y![!_!a#Y#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$_$l$m$n$o$p$q%O%d%g%k%v&b&d'_'`'i'm(O(T(U(t)Q)R)])f)o)p*P*l*o+T+d+h+i+l+o+s,Y,^,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kQ&O#YR,k)p&P_OPX`ceopx!Y![!_!a!g!i!o#Y#_#b#e#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$_$l$m$n$o$p$q%O%_%b%d%g%k%v%{&]&b&d&i'^'_'`'h'i'm'{'}(O(T(U(d(t)O)Q)R)])f)o)p*P*U*W*l*o*q*{*|+O+T+d+h+i+l+o+s+x,Y,^,`-^-r-t-}.R.X.g.m/O/[/_/b/d/e/n0Z0f0k0r!o#QY!e!x#R#T#`#n$]%R%S%V%^%u%|&S&[&`'X'|(`(l({(}*T*p*z+f+r+},W,u-a.V/q0R0X0[0h$SkO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kQ$m!UQ$n!VQ$s!ZQ$|!`R+p(WQ#yiS'q$e*hQ*e&rQ+X'rS,[)T)UQ-O*gQ-Y*vQ.b,]Q.x-QQ.{-ZQ/j.`Q/u.yR0V/iQ'a$bW*[&m'b'c'dQ+W'qU,x*]*^*_Q-X*vQ-f+XS.u,y,zS.z-Y-ZQ/t.vR/v.{]!mP!o'^*q-^/OreOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Y[!gP!o'^*q-^/OW#b`#e%b&]Q'}$oW(d%O+s.R/dS*U&i*WS*w'e-[S*|'h+OR.X+xh#VY!W!e#n#s%V'|*T*z+f,u-aQ)j%wQ)v&WR,o)y#xnOcopx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0k^!kP!g!o'^*q-^/Ov#TY!W#`#n#s%w&W&[&`'|(`(})y*T+f+r,u.W/hQ#g`Q$b{Q$c|Q$d}W%S!e%V*z-aS%Y!h(vQ%`!iQ&m#pQ&n#qQ&o#rQ(u%ZS(y%^({Q*R&eS*v'e-[R-Z*wU)h%v)f.mR+V'p[!mP!o'^*q-^/OT*}'h+O^!iP!g!o'^*q-^/OQ'd$bQ'l$dQ*_&mQ*d&oV*{'h*|+OQ%[!hR,S(vQ(s%YR,R(u#znO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0kQ%c!kS(l%S(yR(|%`T#e`%bU#c`#e%bR)z&]Q%f!lQ(n%UQ(r%XQ,U(zR.],VrvOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Y[!mP!o'^*q-^/OQ%P!bQ%a!jQ%i!pQ'[$ZQ([$|Q(k%QQ(p%WQ+z(iR.Y+yrtOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Y[!mP!o'^*q-^/OS*V&i*WT*}'h+OQ'c$bS*^&m'dR,z*_Q'b$bQ'g$cU*]&m'c'dQ*a&nS,y*^*_R.v,zQ*u'`R+Q'iQ'k$dS*c&o'lR,}*dQ'j$dU*b&o'k'lS,|*c*dR.w,}rtOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Y[!mP!o'^*q-^/OT*}'h+OQ'f$cS*`&n'gR,{*aQ*x'eR.|-[R-`*yQ&j#mR*Z&lT*V&i*WQ%e!lS(q%X%fR,P(rR)R%dWk%O+s.R/d#{lO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0k$SiO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kU&r#t$g,ZS*g&s._Q-Q*iR.y-RT'o$e'p!_#|m#a$r$z$}&w&z&{'O'P'Q'R'S'W'Z)[)g+S+g+j-T-V-e-v-{.e/Z/a/}0Q!]$Pm#a$r$z$}&w&z&{'O'P'R'S'W'Z)[)g+S+g+j-T-V-e-v-{.e/Z/a/}0Q#{nO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0ka)^%k)],`.g/n0Z0f0kQ)`%kR.k,cQ't$hQ)b%oR,f)cT+Y's+ZsvOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,YruOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,YQ$w!]R$y!^R$p!XrvOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,YR(O$oR$q!XR(V$sT+k(U+lX(f%P(g(k+{R+y(hQ.W+xR/h.XQ(j%PQ+w(gQ+|(kR.Z+{R%Q!bQ(e%OV.P+s.R/dQxOQ#lcW$`x#l)Q,YQ)Q%dR,Y)RrXOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Yn!fP!o#e&]&i'^'e'h*W*q+O+x-[-^/Ol!zX!f#P#_#i$[%Z%_%{&R'n'{)O0r!j#PY!e!x#T#`#n$]%S%V%^%u%|&S&[&`'X'|(`(l({(}*T*p*z+f+r+},W,u-a.V/q0R0X0[0hQ#_`Q#ia#d$[op!Y!_!a#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$l%g%k%v&b&d'_'`'i'm(O(T(t)])f)o*P*l*o+T+h+i+o,^,`-r-t-}.g.m/[/_/b/n0Z0f0kS%Z!h(vS%_!i*{S%{#Y)pQ&R#[S'n$e'pY'{$o%O+s.R/dQ)O%bR0r$YQ!uUR%m!uQ)q&OR,l)q^#RY#`$]'X'|(`*px%R!e!x#n%V%^%|&S&[&`({(}*T*z+f+r,W,u-a.V0R[%t#R%R%u+}0X0hS%u#T%SQ+}(lQ0X/qR0h0[Q*m&{R-U*mQ!oPU%h!o*q/OQ*q'^R/O-^!pbOP`cx![!o#e#l$_$m$n$o$p$q%O%b%d&]&i'^'e'h(U)Q)R*W*q+O+d+l+s+x,Y-[-^.R/O/dY!yX!f#_'{)OT#jb!yQ.n,gR/p.nQ%x#VR)k%xQ&c#fS*O&c.[R.[,QQ(w%[R,T(wQ&^#cR){&^Q,_)WR.d,_Q+O'hR-b+OQ-]*xR.}-]Q*W&iR,v*WQ'p$eR+U'pQ&f#gR*S&fQ.h,aR/m.hQ,d)`R.l,dQ+Z'sR-g+ZQ-k+]R/T-kQ/y/US0^/y0`R0`/{Q+l(UR-x+lQ(g%PS+v(g+{R+{(kQ/f.VR0S/fQ+t(eR.S+t`wOcx#l%d)Q)R,YQ$t![Q']$_Q'y$mQ'z$nQ(Q$pQ(R$qS+k(U+lR-q+d'dsOPXY`acopx!Y![!_!a!e!f!h!i!o!x#P#T#Y#[#_#`#e#i#l#n#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$]$_$e$l$m$n$o$p$q%O%S%V%Z%^%_%b%d%g%u%v%{%|&R&S&[&]&`&b&d&i'X'^'_'`'e'h'i'm'n'p'{'|(O(T(U(`(l(t(v({(})O)Q)R)f)o)p*P*T*W*l*o*p*q*z*{+O+T+d+f+h+i+l+o+r+s+x+},W,Y,^,u-[-^-a-r-t-}.R.V.m/O/[/_/b/d/q0R0X0[0h0ra)_%k)],`.g/n0Z0f0kQ!rTQ$h!QQ$i!SQ$j!TQ%o!{Q%q!}Q'x$kQ)c%pQ)l0oS-i+]+_Q-m+^Q-n+`Q/S-kS/U-m/WQ/{/XR0]/x%uSOT`cdopx!Q!S!T!Y![!_!a!{!}#`#l#o#t#u#v#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$g$k$l$m$n$o$p$q%O%d%j%k%p%v&S&d&s&y'm'v(O(T(U(})Q)R)])f*P*T*i*l*o+T+]+^+_+`+b+d+h+i+l+o+s,W,Y,Z,`,c,u-R-k-m-r-t-}.R._.g.m/W/X/[/_/b/d/n/x0Z0f0k0oQ)a%kQ,a)]S.f,`/nQ/l.gQ0g0ZQ0i0fR0m0krmOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,YS#a`$lQ$WoQ$^pQ$r!YQ$z!_Q$}!aQ&w#uQ&z#wY&{#x$o+h-t/_Q&}#|Q'O#}Q'P$OQ'Q$PQ'R$QQ'S$RQ'T$SQ'U$TQ'V$UQ'W$VQ'Z$Z^)[%k)].g/n0Z0f0kU)g%v)f.mQ*Q&dQ+S'mQ+g(OQ+j(TQ,p*PQ-T*lQ-V*oQ-e+TQ-v+iQ-{+oQ.e,`Q/Z-rQ/a-}Q/}/[R0Q/b#xgO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o,Y,`-r-t-}.g.m/[/_/b/n0Z0f0kW(a%O+s.R/dR)S%drYOcx![#l$_$m$n$p$q%d(U)Q)R+d+l,Y[!eP!o'^*q-^/OW!xX$[%{'{Q#``Q#ne#S$]op!Y!_!a#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$l%k%v&d'm(O(T)])f*P*l*o+T+h+i+o,`-r-t-}.g.m/[/_/b/n0Z0f0kQ%V!gS%^!i*{d%|#Y%g&b'_'`'i(t)o)p,^Q&S#_Q&[#bS&`#e&]Q'X$YQ'|$oW(`%O+s.R/dQ({%_Q(}%bS*T&i*WQ*p0rS*z'h+OQ+f'}Q+r(dQ,W)OQ,u*UQ-a*|S.V+x.XR0R/e&O_OPX`ceopx!Y![!_!a!g!i!o#Y#_#b#e#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$_$l$m$n$o$p$q%O%_%b%d%g%k%v%{&]&b&d&i'^'_'`'h'i'm'{'}(O(T(U(d(t)O)Q)R)])f)o)p*P*U*W*l*o*q*{*|+O+T+d+h+i+l+o+s+x,Y,^,`-^-r-t-}.R.X.g.m/O/[/_/b/d/e/n0Z0f0k0rQ$e!OQ'r$fR*h&t&ZWOPX`ceopx!O!Y![!_!a!g!i!o#Y#[#_#b#e#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Y$Z$[$_$f$l$m$n$o$p$q%O%_%b%d%g%k%v%{&R&]&b&d&i&t'^'_'`'h'i'm'{'}(O(T(U(d(t)O)Q)R)])f)o)p*P*U*W*l*o*q*{*|+O+T+d+h+i+l+o+s+x,Y,^,`-^-r-t-}.R.X.g.m/O/[/_/b/d/e/n0Z0f0k0rR&P#Y$QjOcopx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kQ#f`Q&O#YQ'Y$YU)W%g'`'iQ)}&bQ*s'_Q,Q(tQ,j)oQ,k)pR.c,^Q)n%}R,i)m$SfO`copx!Y![!_!a#l#u#w#x#|#}$O$P$Q$R$S$T$U$V$Z$_$l$m$n$o$p$q%O%d%k%v&d'm(O(T(U)Q)R)])f*P*l*o+T+d+h+i+l+o+s,Y,`-r-t-}.R.g.m/[/_/b/d/n0Z0f0kT&p#t,ZQ&|#xQ(P$oQ-u+hQ/]-tR0P/_]!nP!o'^*q-^/O#PaOPX`bcx![!f!o!y#_#e#l$_$m$n$o$p$q%O%b%d&]&i'^'e'h'{(U)O)Q)R*W*q+O+d+l+s+x,Y-[-^.R/O/dU#WY!W'|Q%T!eU&k#n#s+fQ(o%VS,s*T*zT.s,u-aj#UY!W!e#n#s%V%w&W)y*T*z,u-aU&V#`&`(}Q)x&[Q+e'|Q+q(`Q-s+fQ.O+rQ/g.WR0U/hQ)i%vQ,g)fR/o.mR,h)f`!jP!o'^'h*q+O-^/OT%W!g*|R%]!hW%U!e%V*z-aQ(z%^R,V({S#d`%bR&a#eQ)X%gT*t'`'iR*y'e[!lP!o'^*q-^/OR%X!gR#h`R,b)]R)a%kT-j+]-kQ/V-mR/z/WR/z/X",nodeNames:"⚠ LineComment BlockComment Program ModuleDeclaration MarkerAnnotation Identifier ScopedIdentifier . Annotation ) ( AnnotationArgumentList AssignmentExpression FieldAccess IntegerLiteral FloatingPointLiteral BooleanLiteral CharacterLiteral StringLiteral TextBlock null ClassLiteral void PrimitiveType TypeName ScopedTypeName GenericType TypeArguments AnnotatedType Wildcard extends super , ArrayType ] Dimension [ class this ParenthesizedExpression ObjectCreationExpression new ArgumentList } { ClassBody ; FieldDeclaration Modifiers public protected private abstract static final strictfp default synchronized native transient volatile VariableDeclarator Definition AssignOp ArrayInitializer MethodDeclaration TypeParameters TypeParameter TypeBound FormalParameters ReceiverParameter FormalParameter SpreadParameter Throws throws Block ClassDeclaration Superclass SuperInterfaces implements InterfaceTypeList InterfaceDeclaration interface ExtendsInterfaces InterfaceBody ConstantDeclaration EnumDeclaration enum EnumBody EnumConstant EnumBodyDeclarations AnnotationTypeDeclaration AnnotationTypeBody AnnotationTypeElementDeclaration StaticInitializer ConstructorDeclaration ConstructorBody ExplicitConstructorInvocation ArrayAccess MethodInvocation MethodName MethodReference ArrayCreationExpression Dimension AssignOp BinaryExpression CompareOp CompareOp LogicOp LogicOp BitOp BitOp BitOp ArithOp ArithOp ArithOp BitOp InstanceofExpression instanceof LambdaExpression InferredParameters TernaryExpression LogicOp : UpdateExpression UpdateOp UnaryExpression LogicOp BitOp CastExpression ElementValueArrayInitializer ElementValuePair open module ModuleBody ModuleDirective requires transitive exports to opens uses provides with PackageDeclaration package ImportDeclaration import Asterisk ExpressionStatement LabeledStatement Label IfStatement if else WhileStatement while ForStatement for ForSpec LocalVariableDeclaration var EnhancedForStatement ForSpec AssertStatement assert SwitchStatement switch SwitchBlock SwitchLabel case DoStatement do BreakStatement break ContinueStatement continue ReturnStatement return SynchronizedStatement ThrowStatement throw TryStatement try CatchClause catch CatchFormalParameter CatchType FinallyClause finally TryWithResourcesStatement ResourceSpecification Resource ClassContent",maxTerm:276,nodeProps:[["isolate",-4,1,2,18,19,""],["group",-26,4,47,76,77,82,87,92,145,147,150,151,153,156,158,161,163,165,167,172,174,176,178,180,181,183,191,"Statement",-25,6,13,14,15,16,17,18,19,20,21,22,39,40,41,99,100,102,103,106,118,120,122,125,127,130,"Expression",-7,23,24,25,26,27,29,34,"Type"],["openedBy",10,"(",44,"{"],["closedBy",11,")",45,"}"]],propSources:[Z],skippedNodes:[0,1,2],repeatNodeCount:28,tokenData:"#'f_R!_OX%QXY'fYZ)bZ^'f^p%Qpq'fqr*|rs,^st%Qtu4euv5zvw7[wx8rxyAZyzAwz{Be{|CZ|}Dq}!OE_!O!PFx!P!Q! r!Q!R!,h!R![!0`![!]!>p!]!^!@Q!^!_!@n!_!`!BX!`!a!B{!a!b!Di!b!c!EX!c!}!LT!}#O!Mj#O#P%Q#P#Q!NW#Q#R!Nt#R#S4e#S#T%Q#T#o4e#o#p# h#p#q#!U#q#r##n#r#s#$[#s#y%Q#y#z'f#z$f%Q$f$g'f$g#BY4e#BY#BZ#$x#BZ$IS4e$IS$I_#$x$I_$I|4e$I|$JO#$x$JO$JT4e$JT$JU#$x$JU$KV4e$KV$KW#$x$KW&FU4e&FU&FV#$x&FV;'S4e;'S;=`5t<%lO4eS%VV&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS%qO&YSS%tVOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZS&^VOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS&vP;=`<%l%QS&|UOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZS'cP;=`<%l&Z_'mk&YS%yZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qs#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%Q_)iY&YS%yZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XZ*^Y%yZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XV+TX#tP&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QU+wV#_Q&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT,aXOY,|YZ%lZr,|rs3Ys#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T-PXOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT-qX&YSOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT.cVcPOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZT.}V&YSOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT/iW&YSOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0UWOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0sOcPP0vTOY0RYZ0RZ;'S0R;'S;=`1V<%lO0RP1YP;=`<%l0RT1`XOY,|YZ%lZr,|rs1{s#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T2QUcPOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZT2gVOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT3PP;=`<%l-lT3VP;=`<%l,|T3_VcPOY&ZYZ%lZr&Zrs3ts;'S&Z;'S;=`'`<%lO&ZT3yR&WSXY4SYZ4`pq4SP4VRXY4SYZ4`pq4SP4eO&XP_4lb&YS&PZOY%QYZ%lZr%Qrs%qst%Qtu4eu!Q%Q!Q![4e![!c%Q!c!}4e!}#R%Q#R#S4e#S#T%Q#T#o4e#o$g%Q$g;'S4e;'S;=`5t<%lO4e_5wP;=`<%l4eU6RX#hQ&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%QU6uV#]Q&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV7cZ&nR&YSOY%QYZ%lZr%Qrs%qsv%Qvw8Uw!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%QU8]V#aQ&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT8wZ&YSOY9jYZ%lZr9jrs:xsw9jwx%Qx#O9j#O#PhYZ%lZr>hrs?dsw>hwx;hx#O>h#O#P&Z#P;'S>h;'S;=`@}<%lO>hT>kZOYhYZ%lZr>hrs@Ysw>hwx;hx#O>h#O#P&Z#P;'S>h;'S;=`@}<%lO>hP@]VOY@YZw@Ywx@rx#O@Y#P;'S@Y;'S;=`@w<%lO@YP@wObPP@zP;=`<%l@YTAQP;=`<%l>hTAWP;=`<%l9j_AbVZZ&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVBOVYR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVBnX$ZP&YS#gQOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%QVCbZ#fR&YSOY%QYZ%lZr%Qrs%qs{%Q{|DT|!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%QVD[V#rR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVDxVqR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVEf[#fR&YSOY%QYZ%lZr%Qrs%qs}%Q}!ODT!O!_%Q!_!`6n!`!aF[!a;'S%Q;'S;=`&s<%lO%QVFcV&xR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_GPZWY&YSOY%QYZ%lZr%Qrs%qs!O%Q!O!PGr!P!Q%Q!Q![IQ![;'S%Q;'S;=`&s<%lO%QVGwX&YSOY%QYZ%lZr%Qrs%qs!O%Q!O!PHd!P;'S%Q;'S;=`&s<%lO%QVHkV&qR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTIXc&YS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![IQ![!f%Q!f!gJd!g!hKQ!h!iJd!i#R%Q#R#SNz#S#W%Q#W#XJd#X#YKQ#Y#ZJd#Z;'S%Q;'S;=`&s<%lO%QTJkV&YS`POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTKV]&YSOY%QYZ%lZr%Qrs%qs{%Q{|LO|}%Q}!OLO!O!Q%Q!Q![Lp![;'S%Q;'S;=`&s<%lO%QTLTX&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lp![;'S%Q;'S;=`&s<%lO%QTLwc&YS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lp![!f%Q!f!gJd!g!h%Q!h!iJd!i#R%Q#R#SNS#S#W%Q#W#XJd#X#Y%Q#Y#ZJd#Z;'S%Q;'S;=`&s<%lO%QTNXZ&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lp![#R%Q#R#SNS#S;'S%Q;'S;=`&s<%lO%QT! PZ&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![IQ![#R%Q#R#SNz#S;'S%Q;'S;=`&s<%lO%Q_! y]&YS#gQOY%QYZ%lZr%Qrs%qsz%Qz{!!r{!P%Q!P!Q!)e!Q!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%Q_!!wX&YSOY!!rYZ!#dZr!!rrs!%Psz!!rz{!&_{;'S!!r;'S;=`!'s<%lO!!r_!#iT&YSOz!#xz{!$[{;'S!#x;'S;=`!$y<%lO!#xZ!#{TOz!#xz{!$[{;'S!#x;'S;=`!$y<%lO!#xZ!$_VOz!#xz{!$[{!P!#x!P!Q!$t!Q;'S!#x;'S;=`!$y<%lO!#xZ!$yOQZZ!$|P;=`<%l!#x_!%SXOY!%oYZ!#dZr!%ors!'ysz!%oz{!(i{;'S!%o;'S;=`!)_<%lO!%o_!%rXOY!!rYZ!#dZr!!rrs!%Psz!!rz{!&_{;'S!!r;'S;=`!'s<%lO!!r_!&dZ&YSOY!!rYZ!#dZr!!rrs!%Psz!!rz{!&_{!P!!r!P!Q!'V!Q;'S!!r;'S;=`!'s<%lO!!r_!'^V&YSQZOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!'vP;=`<%l!!r_!'|XOY!%oYZ!#dZr!%ors!#xsz!%oz{!(i{;'S!%o;'S;=`!)_<%lO!%o_!(lZOY!!rYZ!#dZr!!rrs!%Psz!!rz{!&_{!P!!r!P!Q!'V!Q;'S!!r;'S;=`!'s<%lO!!r_!)bP;=`<%l!%o_!)lV&YSPZOY!)eYZ%lZr!)ers!*Rs;'S!)e;'S;=`!+X<%lO!)e_!*WVPZOY!*mYZ%lZr!*mrs!+_s;'S!*m;'S;=`!,b<%lO!*m_!*rVPZOY!)eYZ%lZr!)ers!*Rs;'S!)e;'S;=`!+X<%lO!)e_!+[P;=`<%l!)e_!+dVPZOY!*mYZ%lZr!*mrs!+ys;'S!*m;'S;=`!,b<%lO!*mZ!,OSPZOY!+yZ;'S!+y;'S;=`!,[<%lO!+yZ!,_P;=`<%l!+y_!,eP;=`<%l!*mT!,ou&YS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!/S!P!Q%Q!Q![!0`![!d%Q!d!e!3j!e!f%Q!f!gJd!g!hKQ!h!iJd!i!n%Q!n!o!2U!o!q%Q!q!r!5h!r!z%Q!z!{!7`!{#R%Q#R#S!2r#S#U%Q#U#V!3j#V#W%Q#W#XJd#X#YKQ#Y#ZJd#Z#`%Q#`#a!2U#a#c%Q#c#d!5h#d#l%Q#l#m!7`#m;'S%Q;'S;=`&s<%lO%QT!/Za&YS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![IQ![!f%Q!f!gJd!g!hKQ!h!iJd!i#W%Q#W#XJd#X#YKQ#Y#ZJd#Z;'S%Q;'S;=`&s<%lO%QT!0gi&YS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!/S!P!Q%Q!Q![!0`![!f%Q!f!gJd!g!hKQ!h!iJd!i!n%Q!n!o!2U!o#R%Q#R#S!2r#S#W%Q#W#XJd#X#YKQ#Y#ZJd#Z#`%Q#`#a!2U#a;'S%Q;'S;=`&s<%lO%QT!2]V&YS_POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT!2wZ&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!0`![#R%Q#R#S!2r#S;'S%Q;'S;=`&s<%lO%QT!3oY&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4_!R!S!4_!S;'S%Q;'S;=`&s<%lO%QT!4f`&YS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4_!R!S!4_!S!n%Q!n!o!2U!o#R%Q#R#S!3j#S#`%Q#`#a!2U#a;'S%Q;'S;=`&s<%lO%QT!5mX&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6Y!Y;'S%Q;'S;=`&s<%lO%QT!6a_&YS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6Y!Y!n%Q!n!o!2U!o#R%Q#R#S!5h#S#`%Q#`#a!2U#a;'S%Q;'S;=`&s<%lO%QT!7e_&YSOY%QYZ%lZr%Qrs%qs!O%Q!O!P!8d!P!Q%Q!Q![!:r![!c%Q!c!i!:r!i#T%Q#T#Z!:r#Z;'S%Q;'S;=`&s<%lO%QT!8i]&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9b![!c%Q!c!i!9b!i#T%Q#T#Z!9b#Z;'S%Q;'S;=`&s<%lO%QT!9gc&YSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9b![!c%Q!c!i!9b!i!r%Q!r!sKQ!s#R%Q#R#S!8d#S#T%Q#T#Z!9b#Z#d%Q#d#eKQ#e;'S%Q;'S;=`&s<%lO%QT!:yi&YS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!wX#pR&YSOY%QYZ%lZr%Qrs%qs![%Q![!]!?d!];'S%Q;'S;=`&s<%lO%QV!?kV&vR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!@XV!PR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!@uY&_Z&YSOY%QYZ%lZr%Qrs%qs!^%Q!^!_!Ae!_!`+p!`;'S%Q;'S;=`&s<%lO%QU!AlX#iQ&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%QV!B`X!bR&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QV!CSY&^R&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`!a!Cr!a;'S%Q;'S;=`&s<%lO%QU!CyY#iQ&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`!a!Ae!a;'S%Q;'S;=`&s<%lO%Q_!DrV&bX#oQ&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!E`X%}Z&YSOY%QYZ%lZr%Qrs%qs#]%Q#]#^!E{#^;'S%Q;'S;=`&s<%lO%QV!FQX&YSOY%QYZ%lZr%Qrs%qs#b%Q#b#c!Fm#c;'S%Q;'S;=`&s<%lO%QV!FrX&YSOY%QYZ%lZr%Qrs%qs#h%Q#h#i!G_#i;'S%Q;'S;=`&s<%lO%QV!GdX&YSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!HP#Y;'S%Q;'S;=`&s<%lO%QV!HUX&YSOY%QYZ%lZr%Qrs%qs#f%Q#f#g!Hq#g;'S%Q;'S;=`&s<%lO%QV!HvX&YSOY%QYZ%lZr%Qrs%qs#Y%Q#Y#Z!Ic#Z;'S%Q;'S;=`&s<%lO%QV!IhX&YSOY%QYZ%lZr%Qrs%qs#T%Q#T#U!JT#U;'S%Q;'S;=`&s<%lO%QV!JYX&YSOY%QYZ%lZr%Qrs%qs#V%Q#V#W!Ju#W;'S%Q;'S;=`&s<%lO%QV!JzX&YSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!Kg#Y;'S%Q;'S;=`&s<%lO%QV!KnV&tR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!L[b&RZ&YSOY%QYZ%lZr%Qrs%qst%Qtu!LTu!Q%Q!Q![!LT![!c%Q!c!}!LT!}#R%Q#R#S!LT#S#T%Q#T#o!LT#o$g%Q$g;'S!LT;'S;=`!Md<%lO!LT_!MgP;=`<%l!LT_!MqVuZ&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!N_VsR&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QU!N{X#eQ&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`;'S%Q;'S;=`&s<%lO%QV# oV}R&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_#!_Z'OX#dQ&YSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6n!`#p%Q#p#q##Q#q;'S%Q;'S;=`&s<%lO%QU##XV#bQ&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV##uV|R&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT#$cV#uP&YSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_#%Ru&YS%yZ&PZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qst%Qtu4eu!Q%Q!Q![4e![!c%Q!c!}4e!}#R%Q#R#S4e#S#T%Q#T#o4e#o#y%Q#y#z'f#z$f%Q$f$g'f$g#BY4e#BY#BZ#$x#BZ$IS4e$IS$I_#$x$I_$I|4e$I|$JO#$x$JO$JT4e$JT$JU#$x$JU$KV4e$KV$KW#$x$KW&FU4e&FU&FV#$x&FV;'S4e;'S;=`5t<%lO4e",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,194]},dynamicPrecedences:{27:1,232:-1,243:-1},specialized:[{term:231,get:Q=>n[Q]||-1}],tokenPrec:7144}),_=X.define({name:"java",parser:d.configure({props:[l.add({IfStatement:$({except:/^\s*({|else\b)/}),TryStatement:$({except:/^\s*({|catch|finally)\b/}),LabeledStatement:Y,SwitchBlock:Q=>{let P=Q.textAfter,i=/^\s*\}/.test(P),a=/^\s*(case|default)\b/.test(P);return Q.baseIndent+(i?0:a?1:2)*Q.unit},Block:S({closing:"}"}),BlockComment:()=>null,Statement:$({except:/^{/})}),o.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":t,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function U(){return new s(_)}export{U as java,_ as javaLanguage}; diff --git a/web-dist/js/chunks/index-ByDDD7Lk.mjs.gz b/web-dist/js/chunks/index-ByDDD7Lk.mjs.gz new file mode 100644 index 0000000000..8cc03ef0b9 Binary files /dev/null and b/web-dist/js/chunks/index-ByDDD7Lk.mjs.gz differ diff --git a/web-dist/js/chunks/index-C414-4EI.mjs b/web-dist/js/chunks/index-C414-4EI.mjs new file mode 100644 index 0000000000..54955393e6 --- /dev/null +++ b/web-dist/js/chunks/index-C414-4EI.mjs @@ -0,0 +1 @@ +import{a as O,L as r,i as t,k as b,f as s,l as a,s as P,t as e,e as n}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const S={__proto__:null,anyref:34,dataref:34,eqref:34,externref:34,i31ref:34,funcref:34,i8:34,i16:34,i32:34,i64:34,f32:34,f64:34},i=n.deserialize({version:14,states:"!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",stateData:"!P~O_OSPOSQOS~OTPOVROXROYROZROaQO~OSUO~P]OSXO~P]O",goto:"xaPPPPPPbPbPPPhPPPrXROPTVQTOQVPTWTVXSOPTV",nodeNames:"⚠ LineComment BlockComment Module ) ( App Identifier Type Keyword Number String",maxTerm:17,nodeProps:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY}YZ}]^}pq}rs!Stu#pxy'Uyz(e{|(j}!O(j!Q!R(s!R![*p!]!^.^#T#o.{~!SO_~~!VVOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j<%lO!S~!qOZ~~!tRO;'S!S;'S;=`!};=`O!S~#QWOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j;=`<%l!S<%lO!S~#mP;=`<%l!S~#siqr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~%giV~qr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~'ZPT~!]!^'^~'aTO!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~'sVOy'^yz(Yz!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~(_OQ~~(bP;=`<%l'^~(jOS~~(mQ!Q!R(s!R![*p~(xUY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){#l#m+[~)aRY~!Q![)j!g!h){#X#Y){~)oSY~!Q![)j!g!h){#R#S*j#X#Y){~*OR{|*X}!O*X!Q![*_~*[P!Q![*_~*dQY~!Q![*_#R#S*X~*mP!Q![)j~*uTY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){~+XP!Q![*p~+_R!Q![+h!c!i+h#T#Z+h~+mVY~!O!P,S!Q![+h!c!i+h!r!s-P#R#S+[#T#Z+h#d#e-P~,XTY~!Q![,h!c!i,h!r!s-P#T#Z,h#d#e-P~,mUY~!Q![,h!c!i,h!r!s-P#R#S.Q#T#Z,h#d#e-P~-ST{|-c}!O-c!Q![-o!c!i-o#T#Z-o~-fR!Q![-o!c!i-o#T#Z-o~-tSY~!Q![-o!c!i-o#R#S-c#T#Z-o~.TR!Q![,h!c!i,h#T#Z,h~.aP!]!^.d~.iSP~OY.dZ;'S.d;'S;=`.u<%lO.d~.xP;=`<%l.d~/QiX~qr.{st.{tu.{uv.{vw.{wx.{z{.{{|.{}!O.{!O!P.{!P!Q.{!Q![.{![!].{!^!_.{!_!`.{!`!a.{!a!b.{!b!c.{!c!}.{#Q#R.{#R#S.{#S#T.{#T#o.{#p#q.{#r#s.{",tokenizers:[0],topRules:{Module:[0,3]},specialized:[{term:9,get:o=>S[o]||-1}],tokenPrec:0}),Q=r.define({name:"wast",parser:i.configure({props:[t.add({App:b({closing:")",align:!1})}),s.add({App:a,BlockComment(o){return{from:o.from+2,to:o.to-2}}}),P({Keyword:e.keyword,Type:e.typeName,Number:e.number,String:e.string,Identifier:e.variableName,LineComment:e.lineComment,BlockComment:e.blockComment,"( )":e.paren})]}),languageData:{commentTokens:{line:";;",block:{open:"(;",close:";)"}},closeBrackets:{brackets:["(",'"']}}});function R(){return new O(Q)}export{R as wast,Q as wastLanguage}; diff --git a/web-dist/js/chunks/index-C414-4EI.mjs.gz b/web-dist/js/chunks/index-C414-4EI.mjs.gz new file mode 100644 index 0000000000..441cae3cca Binary files /dev/null and b/web-dist/js/chunks/index-C414-4EI.mjs.gz differ diff --git a/web-dist/js/chunks/index-CEnxmhrw.mjs b/web-dist/js/chunks/index-CEnxmhrw.mjs new file mode 100644 index 0000000000..919716d90b --- /dev/null +++ b/web-dist/js/chunks/index-CEnxmhrw.mjs @@ -0,0 +1 @@ +import{e as o,E as r,h as t,s,t as $,a as w,L as d,i as Z,j as _,c as a,k as f,f as x,l as c}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const Y=1,n=2,z=3,p=82,l=76,V=117,m=85,q=97,T=122,j=65,h=90,v=95,i=48,U=34,R=40,S=41,u=32,P=62,W=new r(O=>{if(O.next==l||O.next==m?O.advance():O.next==V&&(O.advance(),O.next==i+8&&O.advance()),O.next!=p||(O.advance(),O.next!=U))return;O.advance();let e="";for(;O.next!=R;){if(O.next==u||O.next<=13||O.next==S)return;e+=String.fromCharCode(O.next),O.advance()}for(O.advance();;){if(O.next<0)return O.acceptToken(Y);if(O.next==S){let Q=!0;for(let X=0;Q&&X{if(O.next==P)O.peek(1)==P&&O.acceptToken(n,1);else{let e=!1,Q=0;for(;;Q++){if(O.next>=j&&O.next<=h)e=!0;else{if(O.next>=q&&O.next<=T)return;if(O.next!=v&&!(O.next>=i&&O.next<=i+9))break}O.advance()}e&&Q>1&&O.acceptToken(z)}},{extend:!0}),g=s({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using requires concept import export module __attribute__ __declspec __based":$.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register thread_local inline const volatile restrict _Atomic mutable constexpr constinit consteval virtual explicit VirtualSpecifier Access":$.modifier,"if else switch for while do case default return break continue goto throw try catch":$.controlKeyword,"co_return co_yield co_await":$.controlKeyword,"new sizeof delete static_assert":$.operatorKeyword,"NULL nullptr":$.null,this:$.self,"True False":$.bool,"TypeSize PrimitiveType":$.standard($.typeName),TypeIdentifier:$.typeName,FieldIdentifier:$.propertyName,"CallExpression/FieldExpression/FieldIdentifier":$.function($.propertyName),"ModuleName/Identifier":$.namespace,PartitionName:$.labelName,StatementIdentifier:$.labelName,"Identifier DestructorName":$.variableName,"CallExpression/Identifier":$.function($.variableName),"CallExpression/ScopedIdentifier/Identifier":$.function($.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":$.function($.definition($.variableName)),NamespaceIdentifier:$.namespace,OperatorName:$.operator,ArithOp:$.arithmeticOperator,LogicOp:$.logicOperator,BitOp:$.bitwiseOperator,CompareOp:$.compareOperator,AssignOp:$.definitionOperator,UpdateOp:$.updateOperator,LineComment:$.lineComment,BlockComment:$.blockComment,Number:$.number,String:$.string,"RawString SystemLibString":$.special($.string),CharLiteral:$.character,EscapeSequence:$.escape,"UserDefinedLiteral/Identifier":$.literal,PreProcArg:$.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":$.processingInstruction,MacroName:$.special($.name),"( )":$.paren,"[ ]":$.squareBracket,"{ }":$.brace,"< >":$.angleBracket,". ->":$.derefOperator,", ;":$.separator}),y={__proto__:null,bool:36,char:36,int:36,float:36,double:36,void:36,size_t:36,ssize_t:36,intptr_t:36,uintptr_t:36,charptr_t:36,int8_t:36,int16_t:36,int32_t:36,int64_t:36,uint8_t:36,uint16_t:36,uint32_t:36,uint64_t:36,char8_t:36,char16_t:36,char32_t:36,char64_t:36,const:70,volatile:72,restrict:74,_Atomic:76,mutable:78,constexpr:80,constinit:82,consteval:84,struct:88,__declspec:92,final:148,override:148,public:152,private:152,protected:152,virtual:154,extern:160,static:162,register:164,inline:166,thread_local:168,__attribute__:172,__based:178,__restrict:180,__uptr:180,__sptr:180,_unaligned:180,__unaligned:180,noexcept:194,requires:198,TRUE:796,true:796,FALSE:798,false:798,typename:218,class:220,template:234,throw:248,__cdecl:256,__clrcall:256,__stdcall:256,__fastcall:256,__thiscall:256,__vectorcall:256,try:260,catch:264,export:282,import:286,case:296,default:298,if:308,else:314,switch:318,do:322,while:324,for:330,return:334,break:338,continue:342,goto:346,co_return:350,co_yield:354,using:362,typedef:366,namespace:380,new:398,delete:400,co_await:402,concept:406,enum:410,static_assert:414,friend:422,union:424,explicit:430,operator:444,module:456,signed:518,unsigned:518,long:518,short:518,decltype:528,auto:530,sizeof:566,NULL:572,nullptr:586,this:588},k={__proto__:null,"<":765},G={__proto__:null,">":135},E={__proto__:null,operator:388,new:576,delete:582},C=o.deserialize({version:14,states:"$;xQ!QQVOOP'gOUOOO([OWO'#CdO,UQUO'#CgO,`QUO'#FjO-vQbO'#CxO.XQUO'#CxO0WQUO'#K`O0_QUO'#CwO0jOpO'#DvO0rQ!dO'#D]OOQR'#JP'#JPO5[QVO'#GUO5iQUO'#JWOOQQ'#JW'#JWO8}QUO'#KsOxQVO'#IbO!(}QVO'#IdO!?SQUO'#IgO!?ZQVO'#IjP!AQO!LQO'#CaP!A]{,UO'#CbP!6q{,UO'#CbP!Ah{7[O'#CbP!6q{,UO'#CbP!Am{,UO'#CbP!AxOSO'#IzPOOO)CEo)CEoOOOO'#I}'#I}O!BSOWO,59OOOQR,59O,59OO!(}QVO,59VOOQQ,59X,59XOOQR'#Do'#DoO!(}QVO,5;ROOQR,5qOOQR'#IX'#IXOOQR'#IY'#IYOOQR'#IZ'#IZOOQR'#I['#I[O!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!(}QVO,5>rO!D^QVO,5>zOOQQ,5?W,5?WO!FPQVO'#CjO!IxQUO'#CzOOQQ,59d,59dOOQQ,59c,59cOOQQ,5<},5<}O!JVQ&lO,5=mO!?SQUO,5?RO!LyQVO,5?UO!MQQbO,59dO!M]QVO'#FYOOQQ,5?P,5?PO!MmQVO,59WO!MtO`O,5:bO!MyQbO'#D^O!N[QbO'#KdO!NjQbO,59wO!NrQbO'#CxO# TQUO'#CxO# YQUO'#K`O# dQUO'#CwOOQR-E<}-E<}O# oQUO,5AuO# vQVO'#EfO@[QVO'#EiOBXQUO,5;kOOQR,5l,5>lO#3uQUO'#CgO#4kQUO,5>pO#6^QUO'#IeOOQR'#JO'#JOO#6fQUO,5:xO#7SQUO,5:xO#7sQUO,5:xO#8hQUO'#CuO!0TQUO'#CmOOQQ'#JX'#JXO#7SQUO,5:xO#8pQUO,5;QO!4{QUO'#DOO#9yQUO,5;QO#:OQUO,5>QO#;[QUO'#DOO#;rQUO,5>{O#;wQUO'#K}O#=QQUO,5;TO#=YQVO,5;TO#=dQUO,5;TOOQQ,5;T,5;TO#?]QUO'#LbO#?dQUO,5>UO#?iQbO'#CxO#?tQUO'#GcO#?yQUO'#E^O#@jQUO,5;kO#ARQUO'#LTO#AZQUO,5;rOKnQUO'#HfOBXQUO'#HgO#A`QUO'#KwO!6qQUO'#HjO#BWQUO'#CuO!0wQVO,5PO$(fQUO'#E[O$(sQUO,5>ROOQQ,5>S,5>SO$,aQVO'#C|OOQQ-E=p-E=pOOQQ,5>d,5>dOOQQ,59a,59aO$,kQUO,5>wO$.kQUO,5>zO!6qQUO,59uO$/OQUO,5;qO$/]QUO,5<{O!0TQUO,5:oOOQQ,5:r,5:rO$/hQUO,5;mO$/mQUO'#KsOBXQUO,5;kOOQR,5;x,5;xO$0^QUO'#FbO$0lQUO'#FbO$0qQUO,5;zO$4[QVO'#FmO!0wQVO,5sQUO,5T,5>TO$FpQUO,5>TO$FzQUO,5>TO$GPQUO,5>TO$GUQUO,5>TO!6qQUO,5>TO$ISQUO'#K`O$IZQUO,5=oO$IfQUO,5=aOKnQUO,5=oO$J`QUO,5=sOOQR,5=s,5=sO$JhQUO,5=sO$LsQVO'#H[OOQQ,5=u,5=uO!;`QUO,5=uO%#nQUO'#KpO%#uQUO'#KaO%$ZQUO'#KpO%$eQUO'#DyO%$vQUO'#D|O%'sQUO'#KaOOQQ'#Ka'#KaO%)fQUO'#KaO%#uQUO'#KaO%)kQUO'#KaOOQQ,59s,59sOOQQ,5>a,5>aOOQQ,5>b,5>bO%)sQUO'#HzO%){QUO,5>cOOQQ,5>c,5>cO%-gQUO,5>cO%-rQUO,5>hO%1^QVO,5>iO%1eQUO,5>|O# vQVO'#EfO%4kQUO,5>|OOQQ,5>|,5>|O%5[QUO,5?OO%7`QUO,5?RO!<_QUO,5?RO%9[QUO,5?UO%POSO,5?fOOOO-E<{-E<{OOQR1G.j1G.jO%>WQUO1G.qO%?^QUO1G0mOOQQ1G0m1G0mO%@jQUO'#CpO%ByQbO'#CxO%CUQUO'#CsO%CZQUO'#CsO%C`QUO1G.uO#BWQUO'#CrOOQQ1G.u1G.uO%EcQUO1G4]O%FiQUO1G4^O%H[QUO1G4^O%I}QUO1G4^O%KpQUO1G4^O%McQUO1G4^O& UQUO1G4^O&!wQUO1G4^O&$jQUO1G4^O&&]QUO1G4^O&(OQUO1G4^O&)qQUO1G4^O&+dQUO'#KUO&,mQUO'#KUO&,uQUO,59UOOQQ,5=P,5=PO&.}QUO,5=PO&/XQUO,5=PO&/^QUO,5=PO&/cQUO,5=PO!6qQUO,5=PO#NsQUO1G3XO&/mQUO1G4mO!<_QUO1G4mO&1iQUO1G4pO&3[QVO1G4pOOQQ1G/O1G/OOOQQ1G.}1G.}OOQQ1G2i1G2iO!JVQ&lO1G3XO&3cQUO'#LUO@[QVO'#EiO&4lQUO'#F]OOQQ'#Jb'#JbO&4qQUO'#FZO&4|QUO'#LUO&5UQUO,5;tO&5ZQUO1G.rOOQQ1G.r1G.rOOQR1G/|1G/|O&6|Q!dO'#JQO&7RQbO,59xO&9dQ!eO'#D`O&9kQ!dO'#JSO&9pQbO,5AOO&9pQbO,5AOOOQR1G/c1G/cO&9{QbO1G/cO&:QQ&lO'#GeO&;OQbO,59dOOQR1G7a1G7aO#@jQUO1G1VO&;ZQUO1G1^OBXQUO1G1VO&=lQUO'#CzO#+VQbO,59dO&A_QUO1G6yOOQR-E<|-E<|O&BqQUO1G0dO#6fQUO1G0dOOQQ-E=V-E=VO#7SQUO1G0dOOQQ1G0l1G0lO&CfQUO,59jOOQQ1G3l1G3lO&C|QUO,59jO&DdQUO,59jO!MmQVO1G4gO!(}QVO'#JZO&EOQUO,5AiOOQQ1G0o1G0oO!(}QVO1G0oO!6qQUO'#JoO&EWQUO,5A|OOQQ1G3p1G3pOOQR1G1V1G1VO&ITQVO'#FOO!MmQVO,5;sOOQQ,5;s,5;sOBXQUO'#JdO&KPQUO,5AoO&KXQVO'#E[OOQR1G1^1G1^O&MvQUO'#LbOOQR1G1n1G1nOOQR-E=g-E=gOOQR1G7c1G7cO#DvQUO1G7cOGYQUO1G7cO#DvQUO1G7eOOQR1G7e1G7eO&NOQUO'#G}O&NWQUO'#L^OOQQ,5=h,5=hO&NfQUO,5=jO&NkQUO,5=kOOQR1G7f1G7fO#EtQVO1G7fO&NpQUO1G7fO' vQVO,5=kOOQR1G1U1G1UO$/UQUO'#E]O'!lQUO'#E]OOQQ'#LP'#LPO'#VQUO'#LOO'#bQUO,5;UO'#jQUO'#ElO'#}QUO'#ElO'$bQUO'#EtOOQQ'#J]'#J]O'$gQUO,5;cO'%^QUO,5;cO'&XQUO,5;dO''_QVO,5;dOOQQ,5;d,5;dO''iQVO,5;dO''_QVO,5;dO''pQUO,5;bO'(mQUO,5;eO'(xQUO'#KvO')QQUO,5:vO')VQUO,5;fOOQQ1G0n1G0nOOQQ'#J^'#J^O''pQUO,5;bO!4{QUO'#E}OOQQ,5;b,5;bO'*QQUO'#E`O'+zQUO'#E{OHuQUO1G0nO',PQUO'#EbOOQQ'#JY'#JYO'-iQUO'#KxOOQQ'#Kx'#KxO'.cQUO1G0eO'/ZQUO1G3kO'0aQVO1G3kOOQQ1G3k1G3kO'0kQVO1G3kO'0rQUO'#LeO'2OQUO'#K^O'2^QUO'#K]O'2iQUO,59hO'2qQUO1G/aO'2vQUO'#FPOOQR1G1]1G1]OOQR1G2g1G2gO$?TQUO1G2gO'3QQUO1G2gO'3]QUO1G0ZOOQR'#Ja'#JaO'3bQVO1G1XO'9ZQUO'#FTO'9`QUO1G1VO!6qQUO'#JeO'9nQUO,5;|O$0lQUO,5;|OOQQ'#Fc'#FcOOQQ,5;|,5;|O'9|QUO1G1fOOQR1G1f1G1fO':UQUO,5fO(*`QUO'#LcOOQQ1G3}1G3}O(.VQUO1G3}O(.^QUO1G3}O(.eQUO1G4TO(/kQUO1G4TO(/pQUO,5BSO!6qQUO1G4hO!(}QVO'#IiOOQQ1G4m1G4mO(/uQUO1G4mO(1xQVO1G4pPOOO-EvQUO,5?uOOQQ-E=X-E=XO(@PQUO7+&ZOOQQ,5@Z,5@ZOOQQ-E=m-E=mO(@UQUO'#LUO@[QVO'#EiO(AbQUO1G1_OOQQ1G1_1G1_O(BkQUO,5@OOOQQ,5@O,5@OOOQQ-E=b-E=bO(CPQUO'#KvOOQR7+,}7+,}O#DvQUO7+,}OOQR7+-P7+-PO(C^QUO,5=iO#ERQUO'#JkO(CoQUO,5AxOOQR1G3U1G3UOOQR1G3V1G3VO(C}QUO7+-QOOQR7+-Q7+-QO(EuQUO,5:wO(GdQUO'#EwO!(}QVO,5;VO(HVQUO,5:wO(HaQUO'#EpO(HrQUO'#EzOOQQ,5;Z,5;ZO#KkQVO'#ExO(IYQUO,5:wO(IaQUO'#EyO#GuQUO'#J[O(JyQUO,5AjOOQQ1G0p1G0pO(KUQUO,5;WO!<_QUO,5;^O(KoQUO,5;_O(K}QUO,5;WO(NaQUO,5;`OOQQ-E=Z-E=ZO(NiQUO1G0}OOQQ1G1O1G1OO) dQUO1G1OO)!jQVO1G1OO)!qQVO1G1OO)!{QUO1G0|OOQQ1G0|1G0|OOQQ1G1P1G1PO)#xQUO'#JpO)$SQUO,5AbOOQQ1G0b1G0bOOQQ-E=[-E=[O)$[QUO,5;iO!<_QUO,5;iO)%XQVO,5:zO)%`QUO,5;gO$ {QUO7+&YOOQQ7+&Y7+&YO!(}QVO'#EfO)%gQUO,5:|OOQQ'#Ky'#KyOOQQ-E=W-E=WOOQQ,5Ad,5AdOOQQ'#Jm'#JmO))[QUO7+&PPOQQ7+&P7+&POOQQ7+)V7+)VO)*SQUO7+)VO)+YQVO7+)VOOQQ,5>m,5>mO$)hQVO'#JtO)+aQUO,5@wOOQQ1G/S1G/SOOQQ7+${7+${O)+lQUO7+(RO)+qQUO7+(ROOQR7+(R7+(RO$?TQUO7+(ROOQQ7+%u7+%uOOQR-E=_-E=_O!0YQUO,5;oOOQQ,5@P,5@POOQQ-E=c-E=cO$0lQUO1G1hOOQQ1G1h1G1hOOQR7+'Q7+'QOOQR1G1s1G1sOBXQUO,5;rO),_QUO,5vQUO,5bQUO7+(`O)?hQUO7+(dO)?mQVO7+(dOOQQ7+(l7+(lOOQQ7+)Z7+)ZO)?uQUO'#KpO)@PQUO'#KpOOQR,5=b,5=bO)@^QUO,5=bO!;eQUO,5=bO!;eQUO,5=bO!;eQUO,5=bOOQR7+(g7+(gOOQR7+(u7+(uOOQR7+(y7+(yOOQR,5=w,5=wO)@cQUO,5=zO)AiQUO,5=yOOQR,5A{,5A{OOQR-E=j-E=jOOQQ1G3b1G3bO)BoQUO,5=xO)BtQVO'#EfOOQQ1G6g1G6gO%)fQUO1G6gO%)kQUO1G6gOOQQ1G0P1G0POOQQ-E=R-E=RO)E]QUO,5A]O(&SQUO'#JUO)EhQUO,5A]O)EhQUO,5A]O)EpQUO,5:iO8}QUO,5:iOOQQ,5>],5>]O)EzQUO,5AwO)FRQUO'#EVO)G]QUO'#EVO)GvQUO,5:iO)HQQUO'#HlO)HQQUO'#HmOOQQ'#Ku'#KuO)HoQUO'#KuO!(}QVO'#HnOOQQ,5:i,5:iO)IaQUO,5:iO!MmQVO,5:iOOQQ-E=T-E=TOOQQ1G0S1G0SOOQQ,5>`,5>`O)IfQUO1G6gO!(}QVO,5>gO)MTQUO'#JsO)M`QUO,5BOOOQQ1G4Q1G4QO)MhQUO,5A}OOQQ,5A},5A}OOQQ7+)i7+)iO*#VQUO7+)iOOQQ7+)o7+)oO*(UQVO1G7nO**WQUO7+*SO**]QUO,5?TO*+cQUO7+*[POOO7+$S7+$SP*-UQUO'#LlP*-^QUO,5BVP*-c{,UO7+$SPOOO1G7o1G7oO*-hQUO<^QUO'#ElOOQQ1G0z1G0zOOQQ7+&j7+&jO*>rQUO7+&jO*?xQVO7+&jOOQQ7+&h7+&hOOQQ,5@[,5@[OOQQ-E=n-E=nO*@tQUO1G1TO*AOQUO1G1TO*AiQUO1G0fOOQQ1G0f1G0fO*BoQUO'#LRO*BwQUO1G1ROOQQ<VO)HQQUO'#JqO*NkQUO1G0TO*N|QVO1G0TOOQQ1G3u1G3uO+ TQUO,5>WO+ `QUO,5>XO+ }QUO,5>YO+#TQUO1G0TO%)kQUO7+,RO+$ZQUO1G4ROOQQ,5@_,5@_OOQQ-E=q-E=qOOQQ<n,5>nO+0SQUOANAXOOQRANAXANAXO+0XQUO7+'`OOQRAN@cAN@cO+1eQVOAN@nO+1lQUOAN@nO!0wQVOAN@nO+2uQUOAN@nO+2zQUOAN@}O+3VQUOAN@}O+4]QUOAN@}OOQRAN@nAN@nO!MmQVOAN@}OOQRANAOANAOO+4bQUO7+'|O)7pQUO7+'|OOQQ7+(O7+(OO+4sQUO7+(OO+5yQVO7+(OO+6QQVO7+'hO+6XQUOANAjOOQR7+(h7+(hOOQR7+)P7+)PO+6^QUO7+)PO+6cQUO7+)POOQQ<= m<= mO+6kQUO7+,cO+6sQUO1G5[OOQQ1G5[1G5[O+7OQUO7+%oOOQQ7+%o7+%oO+7aQUO7+%oO*N|QVO7+%oOOQQ7+)a7+)aO+7fQUO7+%oO+8lQUO7+%oO!MmQVO7+%oO+8vQUO1G0]O*MUQUO1G0]O)FRQUO1G0]OOQQ1G0a1G0aO+9eQUO1G3qO+:kQVO1G3qOOQQ1G3q1G3qO+:uQVO1G3qO+:|QUO,5@]OOQQ-E=o-E=oOOQQ1G3r1G3rO%)fQUO<= mOOQQ7+*Z7+*ZPOQQ,5@c,5@cPOQQ-E=u-E=uOOQQ1G/}1G/}OOQQ,5?y,5?yOOQQ-E=]-E=]OOQRG26sG26sO+;eQUOG26YO!0wQVOG26YO+OQUO<aQUO<fQUO<kQUO<uAN>uO+CZQUOAN>uO+DaQUOAN>uO!MmQVOAN>uO+DfQUO<`P>y?]?qFiMi!&m!-TP!3}!4r!5gP!6RPPPPPPPP!6lP!8UP!9g!;PP!;VPPPPPP!;YP!;YPP!;YPP!;fPPPPPP!=h!AOP!ARPP!Ao!BdPPPPP!BhP>|!CyPP>|!FQ!HR!Ha!Iv!KgP!KrP!LR!LR# c#$r#&Y#)f#,p!HR#,zPP!HR#-R#-X#,z#,z#-[P#-`#-}#-}#-}#-}!KgP#.h#.y#1`P#1tP#3aP#3e#3m#4b#4m#6{#7T#7T#3eP#3eP#7[#7bP#7lPP#8X#8v#9h#8XP#:Y#:fP#8XP#8XPP#8X#8XP#8XP#8XP#8XP#8XP#8XP#8XP#:i#7l#;VP#;lP#|>|>|$%i!Bd!Bd!Bd!Bd!Bd!Bd!6l!6l!6l$%|P$'i$'w!6l$'}PP!6l$*]$*`#CO$*c;U7z$-i$/d$1T$2s7zPP7z$4g7zP7z7zP7zP$7m7zP7zPP7z$7yPPPPPPPPP*lP$;R$;X$;_$=v$?|$@S$@j$@t$AP$A`$Af$Bt$Cs$Cz$DR$DX$Da$Dk$Dq$D|$ES$E]$Ee$Ep$Ev$FQ$FW$Fb$Fi$Fx$GO$GUP$G[$Gd$Gk$Gy$Ig$Im$Is$Iz$JTPPPPPPPPPPPP$JZ$J_PPPPP%#a$*]%#d%&l%(tPP%)R%)UPPPPPPPPPP%)b%*e%*k%*o%,f%-s%.f%.m%0|%1SPPP%1^%1i%1l%1r%2y%2|%3W%3b%3f%4j%5]%5c#CXP%5|%6^%6a%6q%6}%7R%7X%7_$*]$*`$*`%7b%7eP%7o%7rQ#dPZ(s#b(o(p(t/ZR#dP'`mO[aefwx{!W!X!g!k!n!r!s!v!x#X#Y#[#h#k#n#s#t#u#v#w#x#y#z#{#|#}$P$W$Y$[$g$h$m%_%o&S&U&Y&d&h&z&{'O'Q'R'd'k'l'{(b(d(k)q)w*m*n*q*v*w*{+]+_+m+o+p,U,W,s,v,|-b-c-f-l.U.V.Z/S/V/c/j/s/u/z/|0o1S1X1h1i1s1w2R2T2j2m2p2|3R3U3p4V4Y4_4h5a5l5x6f6j6m6o6q6{6}7S7i7q7t8l8n8t8z8{9Y9^9d9f9s9v9w:S:V:]:_:d:i:mU%qm%r7XQ&o!`Q(o#^d0W*S0T0U0V0Y5U5V5W5Z8XR7X3[b}Oaewx{!g&U*v&v$k[!W!X!k!n!r!s!v!x#X#Y#[#h#k#n#s#t#u#v#w#x#y#z#{#|#}$P$W$Y$[$g$h$m%_%o&S&Y&d&h&z&{'O'Q'R'd'k'l'{(b(d(k)q)w*m*n*q*w*{+]+_+m+o+p,U,W,s,v,|-b-c-f-l.U.V.Z/S/V/c/j/s/u/z/|1S1h1i1s1w2R2T2j2m2p2|3R3U3p4V4Y4_4h5a5l5x6f6j6m6o6q6{6}7S7i7q7t8l8n8t8z8{9Y9^9d9f9s9v9w:S:V:]:_:d:i:mS%bf0o#d%lgnp|#O$i%O%P%U%f%j%k%y&u'v'w(S*_*e*g*y+b,q,{-d-u-|.k.r.t0d1Q1R1V1Z2f2q5h6n;_;`;a;g;h;i;v;w;x;y;} MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ) ( ArgumentList ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr constinit consteval StructSpecifier struct MsDeclspecModifier __declspec Attribute AttributeName Identifier AttributeArgs { } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp , Number CharLiteral AttributeArgs VirtualSpecifier BaseClassClause Access virtual FieldDeclarationList FieldDeclaration extern static register inline thread_local AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept RequiresClause requires True False ParenthesizedExpression CommaExpression LambdaExpression LambdaCaptureSpecifier TemplateParameterList OptionalParameterDeclaration TypeParameterDeclaration typename class VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration template AbstractFunctionDeclarator AbstractPointerDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ThrowSpecifier throw TrailingReturnType CompoundStatement FunctionDefinition MsCallModifier TryStatement try CatchClause catch LinkageSpecification Declaration InitDeclarator InitializerList InitializerPair SubscriptDesignator FieldDesignator ExportDeclaration export ImportDeclaration import ModuleName PartitionName HeaderName CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto CoReturnStatement co_return CoYieldStatement co_yield AttributeStatement ForRangeLoop AliasDeclaration using TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ThrowStatement NamespaceDefinition namespace ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete co_await ConceptDefinition concept UsingDeclaration enum StaticAssertDeclaration static_assert ConcatenatedString TemplateDeclaration FriendDeclaration friend union FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast operator TemplateInstantiation FunctionDefinition FunctionDefinition Declaration ModuleDeclaration module RequiresExpression RequirementList SimpleRequirement TypeRequirement CompoundRequirement ReturnTypeRequirement ConstraintConjuction LogicOp ConstraintDisjunction LogicOp ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator TemplateFunction OperatorName StructuredBindingDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier ClassSpecifier EnumSpecifier SizedTypeSpecifier TypeSize EnumeratorList Enumerator DependentType Decltype decltype auto PlaceholderTypeSpecifier ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CoAwaitExpression CompoundLiteralExpression NULL NewExpression new NewDeclarator DeleteExpression delete ParameterPackExpansion nullptr this UserDefinedLiteral ParamPack #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:431,nodeProps:[["group",-35,1,8,11,15,16,17,19,71,72,100,101,102,104,191,208,229,242,243,270,271,272,277,280,281,282,284,285,286,287,290,292,293,294,295,296,"Expression",-13,18,25,26,27,43,255,256,257,258,262,263,265,266,"Type",-19,126,129,147,150,152,153,158,160,163,164,166,168,170,172,174,176,178,179,188,"Statement"],["isolate",-3,4,8,10,""],["openedBy",12,"(",52,"{",54,"["],["closedBy",13,")",51,"}",53,"]"]],propSources:[g],skippedNodes:[0,3,4,5,6,7,10,297,298,299,300,301,302,303,304,305,306,308,348,349],repeatNodeCount:42,tokenData:"%LSMfR!UOX$eXY({YZ.gZ]$e]^+P^p$epq({qr.}rs0}st2ktu$euv!7dvw!9bwx!;exy!O{|!?R|}!AV}!O!BQ!O!P!DX!P!Q#+y!Q!R#5[!R![#JY![!]$4w!]!^$6s!^!_$7n!_!`%$h!`!a%%i!a!b%(o!b!c$e!c!n%)j!n!o%+R!o!w%)j!w!x%+R!x!}%)j!}#O%.O#O#P%/w#P#Q%?[#Q#R%AT#R#S%)j#S#T$e#T#i%)j#i#j%BW#j#o%)j#o#p%Cu#p#q%Dp#q#r%Fv#r#s%Gq#s;'S$e;'S;=`(u<%lO$e,j$nY)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e,f%eW)c`'f,UOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^,U&SU'f,UOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%},U&kX'f,UOY%}YZ%}Z]%}]^'W^#O%}#O#P&f#P;'S%};'S;=`'r<%lO%},U']V'f,UOY%}YZ%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%},U'uP;=`<%l%},f'{P;=`<%l%^,Y(VW(vS'f,UOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O,Y(rP;=`<%l(O,j(xP;=`<%l$eMf)Y`)c`(vS(o<`'f,U*a1pOX$eXY({YZ*[Z]$e]^+P^p$epq({qr$ers%^sw$ewx(Ox#O$e#O#P,^#P;'S$e;'S;=`(u<%lO$e<`*aT(o<`XY*[YZ*[]^*[pq*[#O#P*p<`*sQYZ*[]^*y<`*|PYZ*[Gz+[`)c`(vS(o<`'f,UOX$eXY+PYZ*[Z]$e]^+P^p$epq+Pqr$ers%^sw$ewx(Ox#O$e#O#P,^#P;'S$e;'S;=`(u<%lO$eGf,cX'f,UOY%}YZ-OZ]%}]^-{^#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}Gf-V[(o<`'f,UOX%}XY-OYZ*[Z]%}]^-O^p%}pq-Oq#O%}#O#P,^#P;'S%};'S;=`'r<%lO%}Gf.QV'f,UOY%}YZ-OZ#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}MQ.nT*^1p(o<`XY*[YZ*[]^*[pq*[#O#P*pF`/[[%^#t'QQ)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox!_$e!_!`0Q!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eF`0_Y%]#t!a8O)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eKz1YY)c`(tS(u=j'f,UOY%^Zr%^rs1xsw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^/[2RW*O#t)c`'f,UOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^Gz2tf)c`(vS'f,UOX$eXY2kZp$epq2kqr$ers%^sw$ewx(Ox!c$e!c!}4Y!}#O$e#O#P&f#P#T$e#T#W4Y#W#X5m#X#Y>u#Y#]4Y#]#^NZ#^#o4Y#o;'S$e;'S;=`(u<%lO$eGz4eb)c`(vS'f,U'm<`OY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#o4Y#o;'S$e;'S;=`(u<%lO$eGz5xd)c`(vS'f,U'm<`OY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#X4Y#X#Y7W#Y#o4Y#o;'S$e;'S;=`(u<%lO$eGz7cd)c`(vS'f,U'm<`OY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#Y4Y#Y#Z8q#Z#o4Y#o;'S$e;'S;=`(u<%lO$eGz8|d)c`(vS'f,U'm<`OY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#]4Y#]#^:[#^#o4Y#o;'S$e;'S;=`(u<%lO$eGz:gd)c`(vS'f,U'm<`OY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#b4Y#b#c;u#c#o4Y#o;'S$e;'S;=`(u<%lO$eGz][)Y8O)c`(vS%Z#t'f,UOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eF`!?`^)c`(vS%Z#t!Y8O'f,UOY$eZr$ers%^sw$ewx(Ox{$e{|!@[|!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eF`!@gY)c`!X:t(vS'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eCr!AbY!h8W)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eF`!B__)c`(vS%Z#t!Y8O'f,UOY$eZr$ers%^sw$ewx(Ox}$e}!O!@[!O!_$e!_!`!8g!`!a!C^!a#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eF`!CiY(}:t)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eCr!Dd^)c`(vS'f,U(|8OOY$eZr$ers%^sw$ewx(Ox!O$e!O!P!E`!P!Q$e!Q![!GY![#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eCr!Ei[)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox!O$e!O!P!F_!P#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eCr!FjY)`8W)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eCj!Gen)c`(vS!i8O'f,UOY$eZr$ers%^sw$ewx!Icx!Q$e!Q![!GY![!g$e!g!h#$w!h!i#*Y!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#X$e#X#Y#$w#Y#Z#*Y#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$eCY!IjY(vS'f,UOY(OZr(Ors%}s!Q(O!Q![!JY![#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(OCY!Jcn(vS!i8O'f,UOY(OZr(Ors%}sw(Owx!Icx!Q(O!Q![!JY![!g(O!g!h!La!h!i##`!i!n(O!n!o##`!o!r(O!r!s!La!s!w(O!w!x##`!x#O(O#O#P&f#P#X(O#X#Y!La#Y#Z##`#Z#`(O#`#a##`#a#d(O#d#e!La#e#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(OCY!Ljl(vS!i8O'f,UOY(OZr(Ors%}s{(O{|!Nb|}(O}!O!Nb!O!Q(O!Q![# e![!c(O!c!h# e!h!i# e!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#Y# e#Y#Z# e#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(OCY!Ni^(vS'f,UOY(OZr(Ors%}s!Q(O!Q![# e![!c(O!c!i# e!i#O(O#O#P&f#P#T(O#T#Z# e#Z;'S(O;'S;=`(o<%lO(OCY# nj(vS!i8O'f,UOY(OZr(Ors%}sw(Owx!Nbx!Q(O!Q![# e![!c(O!c!h# e!h!i# e!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#Y# e#Y#Z# e#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(OCY##id(vS!i8O'f,UOY(OZr(Ors%}s!h(O!h!i##`!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#Y(O#Y#Z##`#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(OCj#%Sn)c`(vS!i8O'f,UOY$eZr$ers%^sw$ewx(Ox{$e{|#'Q|}$e}!O#'Q!O!Q$e!Q![#(]![!c$e!c!h#(]!h!i#(]!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#Y#(]#Y#Z#(]#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$eCj#'Z`)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![#(]![!c$e!c!i#(]!i#O$e#O#P&f#P#T$e#T#Z#(]#Z;'S$e;'S;=`(u<%lO$eCj#(hj)c`(vS!i8O'f,UOY$eZr$ers%^sw$ewx!Nbx!Q$e!Q![#(]![!c$e!c!h#(]!h!i#(]!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#Y#(]#Y#Z#(]#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$eCj#*ef)c`(vS!i8O'f,UOY$eZr$ers%^sw$ewx(Ox!h$e!h!i#*Y!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#Y$e#Y#Z#*Y#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$eMf#,W`)c`(vS%Z#t![8O'f,UOY$eZr$ers%^sw$ewx(Oxz$ez{#-Y{!P$e!P!Q#.T!Q!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eMf#-eY)c`(vS(pAz'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eMf#.`Y)c`(vSSAz'f,UOY#.TZr#.Trs#/Osw#.Twx#4]x#O#.T#O#P#0[#P;'S#.T;'S;=`#5U<%lO#.TMb#/XW)c`SAz'f,UOY#/OZw#/Owx#/qx#O#/O#O#P#0[#P;'S#/O;'S;=`#4V<%lO#/OMQ#/xUSAz'f,UOY#/qZ#O#/q#O#P#0[#P;'S#/q;'S;=`#1l<%lO#/qMQ#0cXSAz'f,UOY#/qYZ%}Z]#/q]^#1O^#O#/q#O#P#1r#P;'S#/q;'S;=`#1l<%lO#/qMQ#1VVSAz'f,UOY#/qYZ%}Z#O#/q#O#P#0[#P;'S#/q;'S;=`#1l<%lO#/qMQ#1oP;=`<%l#/qMQ#1y]SAz'f,UOY#/qYZ%}Z]#/q]^#1O^#O#/q#O#P#1r#P#b#/q#b#c#/q#c#f#/q#f#g#2r#g;'S#/q;'S;=`#1l<%lO#/qMQ#2yUSAz'f,UOY#/qZ#O#/q#O#P#3]#P;'S#/q;'S;=`#1l<%lO#/qMQ#3dZSAz'f,UOY#/qYZ%}Z]#/q]^#1O^#O#/q#O#P#1r#P#b#/q#b#c#/q#c;'S#/q;'S;=`#1l<%lO#/qMb#4YP;=`<%l#/OMU#4fW(vSSAz'f,UOY#4]Zr#4]rs#/qs#O#4]#O#P#0[#P;'S#4];'S;=`#5O<%lO#4]MU#5RP;=`<%l#4]Mf#5XP;=`<%l#.TCj#5gt)c`(vS!i8O'f,UOY$eZr$ers%^sw$ewx#7wx!O$e!O!P#B}!P!Q$e!Q![#JY![!g$e!g!h#$w!h!i#*Y!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#U$e#U#V#Li#V#X$e#X#Y#$w#Y#Z#*Y#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j#l$e#l#m$0p#m;'S$e;'S;=`(u<%lO$eCY#8OY(vS'f,UOY(OZr(Ors%}s!Q(O!Q![#8n![#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(OCY#8wp(vS!i8O'f,UOY(OZr(Ors%}sw(Owx#7wx!O(O!O!P#:{!P!Q(O!Q![#8n![!g(O!g!h!La!h!i##`!i!n(O!n!o##`!o!r(O!r!s!La!s!w(O!w!x##`!x#O(O#O#P&f#P#X(O#X#Y!La#Y#Z##`#Z#`(O#`#a##`#a#d(O#d#e!La#e#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(OCY#;Un(vS!i8O'f,UOY(OZr(Ors%}s!Q(O!Q![#=S![!c(O!c!g#=S!g!h#@d!h!i#=S!i!n(O!n!o##`!o!r(O!r!s!La!s!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#X#=S#X#Y#@d#Y#Z#=S#Z#`(O#`#a##`#a#d(O#d#e!La#e#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(OCY#=]p(vS!i8O'f,UOY(OZr(Ors%}sw(Owx#?ax!Q(O!Q![#=S![!c(O!c!g#=S!g!h#@d!h!i#=S!i!n(O!n!o##`!o!r(O!r!s!La!s!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#X#=S#X#Y#@d#Y#Z#=S#Z#`(O#`#a##`#a#d(O#d#e!La#e#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(OCY#?h^(vS'f,UOY(OZr(Ors%}s!Q(O!Q![#=S![!c(O!c!i#=S!i#O(O#O#P&f#P#T(O#T#Z#=S#Z;'S(O;'S;=`(o<%lO(OCY#@mt(vS!i8O'f,UOY(OZr(Ors%}sw(Owx#?ax{(O{|!Nb|}(O}!O!Nb!O!Q(O!Q![#=S![!c(O!c!g#=S!g!h#@d!h!i#=S!i!n(O!n!o##`!o!r(O!r!s!La!s!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#X#=S#X#Y#@d#Y#Z#=S#Z#`(O#`#a##`#a#d(O#d#e!La#e#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(OCj#CYp)c`(vS!i8O'f,UOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![#E^![!c$e!c!g#E^!g!h#Gm!h!i#E^!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#X#E^#X#Y#Gm#Y#Z#E^#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$eCj#Eip)c`(vS!i8O'f,UOY$eZr$ers%^sw$ewx#?ax!Q$e!Q![#E^![!c$e!c!g#E^!g!h#Gm!h!i#E^!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#X#E^#X#Y#Gm#Y#Z#E^#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$eCj#Gxt)c`(vS!i8O'f,UOY$eZr$ers%^sw$ewx#?ax{$e{|#'Q|}$e}!O#'Q!O!Q$e!Q![#E^![!c$e!c!g#E^!g!h#Gm!h!i#E^!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#X#E^#X#Y#Gm#Y#Z#E^#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$eCj#Jep)c`(vS!i8O'f,UOY$eZr$ers%^sw$ewx#7wx!O$e!O!P#B}!P!Q$e!Q![#JY![!g$e!g!h#$w!h!i#*Y!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#X$e#X#Y#$w#Y#Z#*Y#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$eCj#Lr_)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox!O$e!O!P#Mq!P!Q$e!Q!R#Np!R![#JY![#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eCj#Mz[)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![!GY![#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eCj#N{t)c`(vS!i8O'f,UOY$eZr$ers%^sw$ewx#7wx!O$e!O!P#B}!P!Q$e!Q![#JY![!g$e!g!h#$w!h!i#*Y!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#U$e#U#V$#]#V#X$e#X#Y#$w#Y#Z#*Y#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j#l$e#l#m$$[#m;'S$e;'S;=`(u<%lO$eCj$#f[)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![#JY![#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eCj$$e`)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![$%g![!c$e!c!i$%g!i#O$e#O#P&f#P#T$e#T#Z$%g#Z;'S$e;'S;=`(u<%lO$eCj$%rr)c`(vS!i8O'f,UOY$eZr$ers%^sw$ewx$'|x!O$e!O!P#B}!P!Q$e!Q![$%g![!c$e!c!g$%g!g!h$.Q!h!i$%g!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#X$%g#X#Y$.Q#Y#Z$%g#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$eCY$(T^(vS'f,UOY(OZr(Ors%}s!Q(O!Q![$)P![!c(O!c!i$)P!i#O(O#O#P&f#P#T(O#T#Z$)P#Z;'S(O;'S;=`(o<%lO(OCY$)Yr(vS!i8O'f,UOY(OZr(Ors%}sw(Owx$'|x!O(O!O!P#:{!P!Q(O!Q![$)P![!c(O!c!g$)P!g!h$+d!h!i$)P!i!n(O!n!o##`!o!r(O!r!s!La!s!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#X$)P#X#Y$+d#Y#Z$)P#Z#`(O#`#a##`#a#d(O#d#e!La#e#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(OCY$+mu(vS!i8O'f,UOY(OZr(Ors%}sw(Owx$'|x{(O{|!Nb|}(O}!O!Nb!O!P#:{!P!Q(O!Q![$)P![!c(O!c!g$)P!g!h$+d!h!i$)P!i!n(O!n!o##`!o!r(O!r!s!La!s!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#X$)P#X#Y$+d#Y#Z$)P#Z#`(O#`#a##`#a#d(O#d#e!La#e#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(OCj$.]u)c`(vS!i8O'f,UOY$eZr$ers%^sw$ewx$'|x{$e{|#'Q|}$e}!O#'Q!O!P#B}!P!Q$e!Q![$%g![!c$e!c!g$%g!g!h$.Q!h!i$%g!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#X$%g#X#Y$.Q#Y#Z$%g#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$eCj$0yc)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox!O$e!O!P#Mq!P!Q$e!Q!R$2U!R![$%g![!c$e!c!i$%g!i#O$e#O#P&f#P#T$e#T#Z$%g#Z;'S$e;'S;=`(u<%lO$eCj$2av)c`(vS!i8O'f,UOY$eZr$ers%^sw$ewx$'|x!O$e!O!P#B}!P!Q$e!Q![$%g![!c$e!c!g$%g!g!h$.Q!h!i$%g!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#U$%g#U#V$%g#V#X$%g#X#Y$.Q#Y#Z$%g#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j#l$e#l#m$$[#m;'S$e;'S;=`(u<%lO$eGz$5S[({9b)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox![$e![!]$5x!]#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eFh$6TYm:|)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eCj$7OY)_8O)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eM^$7{_q8O%]#t)c`(vS'f,UOY$8zYZ$9|Zr$8zrs$:ksw$8zwx$Jax!^$8z!^!_$MX!_!`% f!`!a%#m!a#O$8z#O#P$_Z!`$;e!`!a$dX'f,UOY$>_YZ$9|Z!`$>_!`!a$?P!a#O$>_#O#P$?j#P;'S$>_;'S;=`$AS<%lO$>_-h$?WU$W!b'f,UOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}-h$?oZ'f,UOY$>_YZ$>_Z]$>_]^$@b^!`$>_!`!a$?P!a#O$>_#O#P$?j#P;'S$>_;'S;=`$AS<%lO$>_-h$@gX'f,UOY$>_YZ$>_Z!`$>_!`!a$?P!a#O$>_#O#P$?j#P;'S$>_;'S;=`$AS<%lO$>_-h$AVP;=`<%l$>_3S$A]P;=`<%l$;e3S$AgW$W!b'f,UOY$BPZ!`$BP!`!a$Bn!a#O$BP#O#P$CX#P;'S$BP;'S;=`$Dn<%lO$BP1p$BUW'f,UOY$BPZ!`$BP!`!a$Bn!a#O$BP#O#P$CX#P;'S$BP;'S;=`$Dn<%lO$BP1p$BuUY&j'f,UOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}1p$C^Y'f,UOY$BPYZ$BPZ]$BP]^$C|^#O$BP#O#P$Dt#P;'S$BP;'S;=`$El;=`<%l$F[<%lO$BP1p$DRX'f,UOY$BPYZ%}Z!`$BP!`!a$Bn!a#O$BP#O#P$CX#P;'S$BP;'S;=`$Dn<%lO$BP1p$DqP;=`<%l$BP1p$DyZ'f,UOY$BPYZ%}Z]$BP]^$C|^!`$BP!`!a$Bn!a#O$BP#O#P$CX#P;'S$BP;'S;=`$Dn<%lO$BP1p$EoXOY$F[Z!`$F[!`!a$Fw!a#O$F[#O#P$F|#P;'S$F[;'S;=`$Gx;=`<%l$BP<%lO$F[&j$F_WOY$F[Z!`$F[!`!a$Fw!a#O$F[#O#P$F|#P;'S$F[;'S;=`$Gx<%lO$F[&j$F|OY&j&j$GPRO;'S$F[;'S;=`$GY;=`O$F[&j$G]XOY$F[Z!`$F[!`!a$Fw!a#O$F[#O#P$F|#P;'S$F[;'S;=`$Gx;=`<%l$F[<%lO$F[&j$G{P;=`<%l$F[3S$HTZ'f,UOY$;eYZ$>_Z]$;e]^$=m^!`$;e!`!a$X![!c%}!c!i%>X!i#O%}#O#P&f#P#T%}#T#Z%>X#Z;'S%};'S;=`'r<%lO%},j%>`[Xd'f,UOY%}Z!Q%}!Q![%>X![!c%}!c!i%>X!i#O%}#O#P&f#P#T%}#T#Z%>X#Z;'S%};'S;=`'r<%lO%},j%?XP;=`<%l%1RCr%?gZ!W7^)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P#Q%@Y#Q;'S$e;'S;=`(u<%lO$e-d%@eY)Ux)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eF`%Ab[)c`(vS%[#t'f,U!_8OOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eMf%Bgd)c`)OW(vS!R7|(w*t'f,UOY$eZr$ers%,jsw$ewx%-]x!Q$e!Q!Y%)j!Y!Z%+R!Z![%)j![!c$e!c!}%)j!}#O$e#O#P&f#P#R$e#R#S%)j#S#T$e#T#o%)j#o;'S$e;'S;=`(u<%lO$eCj%DQY!T8O)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$eF`%D}^)c`(vS%[#t'f,U!^8OOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P#p$e#p#q%Ey#q;'S$e;'S;=`(u<%lO$eF`%FWY)Z8O%^#t)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e-^%GRY!Ur)c`(vS'f,UOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e/j%HOc)c`(vS%[#t'RQ'f,UOX$eXY%IZZp$epq%IZqr$ers%^sw$ewx(Ox!c$e!c!}%Jo!}#O$e#O#P&f#P#R$e#R#S%Jo#S#T$e#T#o%Jo#o;'S$e;'S;=`(u<%lO$e,t%Idc)c`(vS'f,UOX$eXY%IZZp$epq%IZqr$ers%^sw$ewx(Ox!c$e!c!}%Jo!}#O$e#O#P&f#P#R$e#R#S%Jo#S#T$e#T#o%Jo#o;'S$e;'S;=`(u<%lO$e,t%Jzb)c`(vSeY'f,UOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![%Jo![!c$e!c!}%Jo!}#O$e#O#P&f#P#R$e#R#S%Jo#S#T$e#T#o%Jo#o;'S$e;'S;=`(u<%lO$e",tokenizers:[W,b,1,2,3,4,5,6,7,8,9,10,new t("j~RQYZXz{^~^O(r~~aP!P!Qd~iO(s~~",25,355)],topRules:{Program:[0,307]},dynamicPrecedences:{17:1,65:1,87:1,94:1,119:1,184:1,187:-10,240:-10,241:1,244:-1,246:-10,247:1,262:-1,267:2,268:2,306:-10,370:3,423:1,424:3,425:1,426:1},specialized:[{term:361,get:O=>y[O]||-1},{term:33,get:O=>k[O]||-1},{term:66,get:O=>G[O]||-1},{term:368,get:O=>E[O]||-1}],tokenPrec:24916}),A=d.define({name:"cpp",parser:C.configure({props:[Z.add({IfStatement:a({except:/^\s*({|else\b)/}),TryStatement:a({except:/^\s*({|catch)\b/}),LabeledStatement:_,CaseStatement:O=>O.baseIndent+O.unit,BlockComment:()=>null,CompoundStatement:f({closing:"}"}),Statement:a({except:/^{/})}),x.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":c,BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});function B(){return new w(A)}export{B as cpp,A as cppLanguage}; diff --git a/web-dist/js/chunks/index-CEnxmhrw.mjs.gz b/web-dist/js/chunks/index-CEnxmhrw.mjs.gz new file mode 100644 index 0000000000..4c8a0fd448 Binary files /dev/null and b/web-dist/js/chunks/index-CEnxmhrw.mjs.gz differ diff --git a/web-dist/js/chunks/index-CH8OBzPX.mjs b/web-dist/js/chunks/index-CH8OBzPX.mjs new file mode 100644 index 0000000000..4932b31c97 --- /dev/null +++ b/web-dist/js/chunks/index-CH8OBzPX.mjs @@ -0,0 +1 @@ +import{e as o,E as a,s as Z,t as Q,a as _,L as q,i as l,c as r,f as w,l as V}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const R=1,g=2,b=3,y=4,T=5,s=98,c=101,p=102,t=114,v=69,X=48,W=46,d=43,f=45,Y=35,z=34,x=124,U=60,h=62;function n(O){return O>=48&&O<=57}function e(O){return n(O)||O==95}const G=new a((O,i)=>{if(n(O.next)){let P=!1;do O.advance();while(e(O.next));if(O.next==W){if(P=!0,O.advance(),n(O.next))do O.advance();while(e(O.next));else if(O.next==W||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(O.next==c||O.next==v){if(P=!0,O.advance(),(O.next==d||O.next==f)&&O.advance(),!e(O.next))return;do O.advance();while(e(O.next))}if(O.next==p){let $=O.peek(1);if($==X+3&&O.peek(2)==X+2||$==X+6&&O.peek(2)==X+4)O.advance(3),P=!0;else return}P&&O.acceptToken(T)}else if(O.next==s||O.next==t){if(O.next==s&&O.advance(),O.next!=t)return;O.advance();let P=0;for(;O.next==Y;)P++,O.advance();if(O.next!=z)return;O.advance();O:for(;;){if(O.next<0)return;let $=O.next==z;if(O.advance(),$){for(let S=0;S{O.next==x&&O.acceptToken(R,1)}),u=new a(O=>{O.next==U?O.acceptToken(g,1):O.next==h&&O.acceptToken(b,1)}),k=Z({"const macro_rules struct union enum type fn impl trait let static":Q.definitionKeyword,"mod use crate":Q.moduleKeyword,"pub unsafe async mut extern default move":Q.modifier,"for if else loop while match continue break return await":Q.controlKeyword,"as in ref":Q.operatorKeyword,"where _ crate super dyn":Q.keyword,self:Q.self,String:Q.string,Char:Q.character,RawString:Q.special(Q.string),Boolean:Q.bool,Identifier:Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),BoundIdentifier:Q.definition(Q.variableName),"FunctionItem/BoundIdentifier":Q.function(Q.definition(Q.variableName)),LoopLabel:Q.labelName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),Lifetime:Q.special(Q.variableName),ScopeIdentifier:Q.namespace,TypeIdentifier:Q.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":Q.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":Q.macroName,'"!"':Q.macroName,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Integer:Q.integer,Float:Q.float,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,"=":Q.definitionOperator,".. ... => ->":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,". DerefOp":Q.derefOperator,"&":Q.operator,", ; ::":Q.separator,"Attribute/...":Q.meta}),j={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},E=o.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OOQV'#FY'#FYO7{Q_O'#F^O:WQ_O'#FaOOQO'#F`'#F`O=sQ_O'#FcO=}Q_O'#FbO@VQWO'#FgOOQO'#J`'#J`OOQV'#Io'#IoOA]Q_O'#InOEPQWO'#InOOQV'#Fw'#FwOF[QWO'#JuOFcQWO'#F|OOQO'#IO'#IOOGrQWO'#GhOOQV'#Im'#ImOOQV'#Il'#IlOOQV'#Hj'#HjQGyQ_OOOKeQ_O'#DUOKlQYO'#CqOOQP'#I_'#I_OOQV'#Hg'#HgQ]Q_OOOLuQWO'#I`ONsQYO'#DXO!!eQWO'#JuO!!lQWO'#JuO!!vQ_O'#DfO!%]Q_O'#E}O!(sQ_O'#FWO!,ZQWO'#FZO!.^QXO'#FbO!.cQ_O'#EeO!!vQ_O'#FmO!0uQWO'#FoO!0zQWO'#FoO!1PQ^O'#FqO!1WQWO'#JuO!1_QWO'#FtO!1dQWO'#FxO!2WQWO'#JjO!2_QWO'#GOO!2_QWO'#G`O!2_QWO'#GbO!2_QWO'#GsOOQO'#Ju'#JuO!2dQWO'#GhO!2lQYO'#GpO!2_QWO'#GqO!3uQ^O'#GtO!3|QWO'#GuO!4hQWO'#HOP!4sOpO'#CcPOOO)CC})CC}OOOO'#Hi'#HiO!5OO`O,59iOOQV,59i,59iO!5ZQYO,5?aOOQO-E;i-E;iOOQO,5:[,5:[OOQP,59Z,59ZO)xQWO,5:[O)xQWO,5:[O!5oQWO,5?kO!5zQYO,5;qO!6PQYO,5;TO!6hQWO,59QO!7kQXO'#CnO!7xQXO'#I`O!9SQWO'#CoO,^QWO'#EiOOQV-E;n-E;nO!9eQWO'#FsOOQV,5WQWO,5:fOOQP,5:h,5:hO!1PQ^O,5:hO!1PQ^O,5:mO$>]QYO,5gQ_O'#HsO$>tQXO,5@QOOQV1G1i1G1iOOQP,5:e,5:eO$>|QXO,5]QYO,5=vO$LRQWO'#KRO$L^QWO,5=xOOQR,5=y,5=yO$LcQWO,5=zO$>]QYO,5>PO$>]QYO,5>POOQO1G.w1G.wO$>]QYO1G.wO$LnQYO,5=pO$LvQZO,59^OOQR,59^,59^O$>]QYO,5=wO% YQZO,5=}OOQR,5=},5=}O%#lQWO1G/_O!6PQYO1G/_O#FYQYO1G2vO%#qQWO1G2vO%$PQYO1G2vOOQV1G/i1G/iO%%YQWO,5:SO%%bQ_O1G/lO%*kQWO1G1^O%+RQWO1G1hOOQO1G1h1G1hO$>]QYO1G1hO%+iQ^O'#EgOOQV1G0k1G0kOOQV1G1s1G1sO!!vQ_O1G1sO!0zQWO1G1uO!1PQ^O1G1wO!.cQ_O1G1wOOQP,5:j,5:jO$>]QYO1G/^OOQO'#Cn'#CnO%+vQWO1G1zOOQV1G2O1G2OO%,OQWO'#CnO%,WQWO1G3TO%,]QWO1G3TO%,bQYO'#GQO%,sQWO'#G]O%-UQYO'#G_O%.hQYO'#GXOOQV1G2U1G2UO%/wQWO1G2UO%/|QWO1G2UO$ARQWO1G2UOOQV1G2f1G2fO%/wQWO1G2fO#CpQWO1G2fO%0UQWO'#GdOOQV1G2h1G2hO%0gQWO1G2hO#C{QWO1G2hO%0lQYO'#GSO$>]QYO1G2lO$AdQWO1G2lOOQV1G2y1G2yO%1xQWO1G2yO%3hQ^O'#GkO%3rQWO1G2nO#DfQWO1G2nO%4QQYO,5]QYO1G2vOOQV1G2w1G2wO%5tQWO1G2wO%5yQWO1G2wO#HXQWO1G2wOOQV1G2z1G2zO.YQ_O1G2zO$>]QYO1G2zO%6RQWO1G2zOOQO,5>l,5>lOOQO-E]QYO1G3UPOOO-E;d-E;dPOOO1G.i1G.iOOQO7+*g7+*gO%7VQYO'#IcO%7nQYO'#IfO%7yQYO'#IfO%8RQYO'#IfO%8^QYO,59eOOQO7+%b7+%bOOQP7+$a7+$aO%8cQ!fO'#JTOOQS'#EX'#EXOOQS'#EY'#EYOOQS'#EZ'#EZOOQS'#JT'#JTO%;UQWO'#EWOOQS'#E`'#E`OOQS'#JR'#JROOQS'#Hn'#HnO%;ZQ!fO,5:oOOQV,5:o,5:oOOQV'#JQ'#JQO%;bQ!fO,5:{OOQV,5:{,5:{O%;iQ!fO,5:|OOQV,5:|,5:|OOQV7+'e7+'eOOQV7+&Z7+&ZO%;pQ!fO,59TOOQO,59T,59TO%>YQWO7+$WO%>_QWO1G1yOOQV1G1y1G1yO!9SQWO1G.uO%>dQWO,5?}O%>nQ_O'#HqO%@|QWO,5?}OOQO1G1X1G1XOOQO7+&}7+&}O%AUQWO,5>^OOQO-E;p-E;pO%AcQWO7+'OO.YQ_O7+'OOOQO7+'O7+'OOOQO7+'P7+'PO%AjQWO7+'POOQO7+'W7+'WOOQP1G0V1G0VO%ArQXO1G/tO!M{QWO1G/tO%BsQXO1G0RO%CkQ^O'#HlO%C{QWO,5?eOOQP1G/u1G/uO%DWQWO1G/uO%D]QWO'#D_OOQO'#Dt'#DtO%DhQWO'#DtO%DmQWO'#I{OOQO'#Iz'#IzO%DuQWO,5:_O%DzQWO'#DtO%EPQWO'#DtOOQP1G0Q1G0QOOQP1G0S1G0SOOQP1G0X1G0XO%EXQXO1G1jO%EdQXO'#FeOOQP,5>_,5>_O!1PQ^O'#FeOOQP-E;q-E;qO$>]QYO1G1jOOQO7+'S7+'SOOQO,5]QYO7+$xOOQV7+'j7+'jO%FsQWO7+(oO%FxQWO7+(oOOQV7+'p7+'pO%/wQWO7+'pO%F}QWO7+'pO%GVQWO7+'pOOQV7+(Q7+(QO%/wQWO7+(QO#CpQWO7+(QOOQV7+(S7+(SO%0gQWO7+(SO#C{QWO7+(SO$>]QYO7+(WO%GeQWO7+(WO#HUQYO7+(cO%GjQWO7+(YO#DfQWO7+(YOOQV7+(c7+(cO%5tQWO7+(cO%5yQWO7+(cO#HXQWO7+(cOOQV7+(g7+(gO$>]QYO7+(pO%GxQWO7+(pO!1dQWO7+(pOOQV7+$v7+$vO%G}QWO7+$vO%HSQZO1G3ZO%JfQWO1G4jOOQO1G4j1G4jOOQR1G.}1G.}O#.WQWO1G.}O%JkQWO'#KQOOQO'#HW'#HWO%J|QWO'#HXO%KXQWO'#KQOOQO'#KP'#KPO%KaQWO,5=qO%KfQYO'#H[O%LrQWO'#GmO%L}QYO'#CtO%MXQWO'#GmO$>]QYO1G3ZOOQR1G3g1G3gO#7aQWO1G3ZO%M^QZO1G3bO$>]QYO1G3bO& mQYO'#IVO& }QWO,5@mOOQR1G3d1G3dOOQR1G3f1G3fO.YQ_O1G3fOOQR1G3k1G3kO&!VQYO7+$cO&!_QYO'#KOOOQQ'#J}'#J}O&!gQYO1G3[O&!lQZO1G3cOOQQ7+$y7+$yO&${QWO7+$yO&%QQWO7+(bOOQV7+(b7+(bO%5tQWO7+(bO$>]QYO7+(bO#FYQYO7+(bO&%YQWO7+(bO!.cQ_O1G/nO&%hQWO7+%WO$?[QWO7+'SO&%pQWO'#EhO&%{Q^O'#EhOOQU'#Ho'#HoO&%{Q^O,5;ROOQV,5;R,5;RO&&VQWO,5;RO&&[Q^O,5;RO!0zQWO7+'_OOQV7+'a7+'aO&&iQWO7+'cO&&qQWO7+'cO&&xQWO7+$xO&'TQ!fO7+'fO&'[Q!fO7+'fOOQV7+(o7+(oO!1dQWO7+(oO&'cQYO,5]QYO'#JrOOQO'#Jq'#JqO&*YQWO,5]QYO'#GUO&,SQYO'#JkOOQQ,5]QYO7+(YO&0SQYO'#HxO&0hQYO1G2WOOQQ1G2W1G2WOOQQ,5]QYO,5]QYO7+(fO&1dQWO'#IRO&1nQWO,5@hOOQO1G3Q1G3QOOQO1G2}1G2}OOQO1G3P1G3POOQO1G3R1G3ROOQO1G3S1G3SOOQO1G3O1G3OO&1vQWO7+(pO$>]QYO,59fO&2RQ^O'#ISO&2xQYO,5?QOOQR1G/P1G/PO&3QQ!bO,5:pO&3VQ!fO,5:rOOQS-E;l-E;lOOQV1G0Z1G0ZOOQV1G0g1G0gOOQV1G0h1G0hO&3^QWO'#JTOOQO1G.o1G.oOOQV<]O&3qQWO,5>]OOQO-E;o-E;oOOQO<WOOQO-E;j-E;jOOQP7+%a7+%aO!1PQ^O,5:`O&5cQWO'#HmO&5wQWO,5?gOOQP1G/y1G/yOOQO,5:`,5:`O&6PQWO,5:`O%DzQWO,5:`O$>]QYO,5`,5>`OOQO-E;r-E;rOOQV7+'l7+'lO&6yQWO<]QYO<]QYO<]QYO<]QYO7+(uOOQO7+*U7+*UOOQR7+$i7+$iO&8cQWO,5@lOOQO'#Gm'#GmO&8kQWO'#GmO&8vQYO'#IUO&8cQWO,5@lOOQR1G3]1G3]O&:cQYO,5=vO&;rQYO,5=XO&;|QWO,5=XOOQO,5=X,5=XOOQR7+(u7+(uO&eQZO7+(|O&@tQWO,5>qOOQO-E]QYO<]QYO,5]QYO,5@^O&D^QYO'#H|O&EsQWO,5@^OOQO1G2e1G2eO%,nQWO,5]QYO,5PO&I]QYO,5@VOOQV<]QYO,5=WO&KuQWO,5@cO&K}QWO,5@cO&MvQ^O'#IPO&KuQWO,5@cOOQO1G2q1G2qO&NTQWO,5=WO&N]QWO<oO&NvQYO,5>dO' UQYO,5>dOOQQ,5>d,5>dOOQQ-E;v-E;vOOQQ7+'r7+'rO' aQYO1G2]O$>]QYO1G2^OOQV<m,5>mOOQO-EnOOQQ,5>n,5>nO'!fQYO,5>nOOQQ-EX,5>XOOQO-E;k-E;kO!1PQ^O1G/zOOQO1G/z1G/zO'%oQWO1G/zO'%tQXO1G1kO$>]QYO1G1kO'&PQWO7+'[OOQVANA`ANA`O'&ZQWOANA`O$>]QYOANA`O'&cQWOANA`OOQVAN>OAN>OO.YQ_OAN>OO'&qQWOANAuOOQVAN@vAN@vO'&vQWOAN@vOOQVANAWANAWOOQVANAYANAYOOQVANA^ANA^O'&{QWOANA^OOQVANAiANAiO%5tQWOANAiO%5yQWOANAiO''TQWOANA`OOQVANAvANAvO.YQ_OANAvO''cQWOANAvO$>]QYOANAvOOQR<pOOQO'#HY'#HYO''vQWO'#HZOOQO,5>p,5>pOOQO-E]QYO<o,5>oOOQQ-E]QYOANAhO'(bQWO1G1rO')UQ^O1G0nO.YQ_O1G0nO'*zQWO,5;UO'+RQWO1G0nP'+WQWO'#ERP&%{Q^O'#HpOOQV7+&X7+&XO'+cQWO7+&XO&&qQWOAN@iO'+hQWOAN>OO!5oQWO,5a,5>aO'+oQWOAN@lO'+tQWOAN@lOOQS-E;s-E;sOOQVAN@lAN@lO'+|QWOAN@lOOQVANAuANAuO',UQWO1G5vO',^QWO1G2dO$>]QYO1G2dO&'|QWO,5>gOOQO,5>g,5>gOOQO-E;y-E;yO',iQWO1G5xO',qQWO1G5xO&(nQYO,5>hO',|QWO,5>hO$>]QYO,5>hOOQO-E;z-E;zO'-XQWO'#JnOOQO1G2a1G2aOOQO,5>f,5>fOOQO-E;x-E;xO&'cQYO,5iOOQO,5>i,5>iOOQO-E;{-E;{OOQQ,5>c,5>cOOQQ-E;u-E;uO'.pQWO1G2sO'/QQWO1G2rO'/]QWO1G5}O'/eQ^O,5>kOOQO'#Go'#GoOOQO,5>k,5>kO'/lQWO,5>kOOQO-E;}-E;}O$>]QYO1G2rO'/zQYO7+'xO'0VQWOANAlOOQVANAlANAlO.YQ_OANAlO'0^QWOANAvOOQS7+%x7+%xO'0eQWO7+%xO'0pQ!fO7+%xO'0}QWO7+%fO!1PQ^O7+%fO'1YQXO7+'VOOQVG26zG26zO'1eQWOG26zO'1sQWOG26zO$>]QYOG26zO'1{QWOG23jOOQVG27aG27aOOQVG26bG26bOOQVG26xG26xOOQVG27TG27TO%5tQWOG27TO'2SQWOG27bOOQVG27bG27bO.YQ_OG27bO'2ZQWOG27bOOQO1G4[1G4[OOQO7+(_7+(_OOQRANA{ANA{OOQVG27SG27SO%5tQWOG27SO&0uQWOG27SO'2fQ^O7+&YO'4PQWO7+'^O'4sQ^O7+&YO.YQ_O7+&YP.YQ_O,5;SP'6PQWO,5;SP'6UQWO,5;SOOQV<]QYO1G4SO%,nQWO'#HyO'7UQWO,5@YO'7dQWO7+(VO.YQ_O7+(VOOQO1G4T1G4TOOQO1G4V1G4VO'7nQWO1G4VO'7|QWO7+(^OOQVG27WG27WO'8XQWOG27WOOQS<e,5>eOOQO-E;w-E;wO'?rQWO<wD_DpPDvHQPPPPPPK`P! P! _PPPPP!!VP!$oP!$oPP!&oP!(rP!(w!)n!*f!*f!*f!(w!+]P!(w!.Q!.TPP!.ZP!(w!(w!(w!(wP!(w!(wP!(w!(w!.y!/dP!/dJ}J}J}PPPP!/d!.y!/sPP!$oP!0^!0a!0g!1h!1t!3t!3t!5r!7t!1t!1t!9p!;_!=O!>k!@U!Am!CS!De!1t!1tP!1tP!1t!1t!Et!1tP!Ge!1t!1tP!Ie!1tP!1t!7t!7t!1t!7t!1t!Kl!Mt!Mw!7t!1t!Mz!M}!M}!M}!NR!$oP!$oP!$oP! P! PP!N]! P! PP!Ni# }! PP! PP#!^##c##k#$Z#$_#$e#$e#$mP#&s#&s#&y#'o#'{! PP! PP#(]#(l! PP! PPP#(x#)W#)d#)|#)^! P! PP! P! P! PP#*S#*S#*Y#*`#*S#*S! P! PP#*m#*v#+Q#+Q#,x#.l#.x#.x#.{#.{5a5a5a5a5a5a5a5aP5a#/O#/U#/p#1{#2R#2b#6^#6d#6j#6|#7W#8w#9R#9b#9h#9n#9x#:S#:Y#:g#:m#:s#:}#;]#;g#=u#>R#>`#>f#>n#>u#?PPPPPPPP#?V#BaP#F^#Jx#Ls#Nr$&^P$&aPPP$)_$)h$)z$/U$1d$1m$3fP!(w$4`$7r$:i$>T$>^$>c$>fPPP$>i$A`$A|P$BaPPPPPPPPPP$BvP$EU$EX$E[$Eb$Ee$Eh$Ek$En$Et$HO$HR$HU$HX$H[$H_$Hb$He$Hh$Hk$Hn$Jt$Jw$Jz#*S$KW$K^$Ka$Kd$Kh$Kl$Ko$KrQ!tPT'V!s'Wi!SOlm!P!T$T$W$y%b)U*f/gQ'i#QR,n'l(OSOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%X%_%b&U&Y&[&b&u&z&|'P'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n+z,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1P1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:gS(z$v-oQ*p&eQ*t&hQ-k(yQ-y)ZW0Z+Q0Y4Z7UR4Y0[&w!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#r]Ofgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hb#[b#Q$y'l(b)S)U*Z-t!h$bo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m$b%k!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g!W:y!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:|%n$_%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g$e%l!Q!n$O$u%n%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g'hZOY[fgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r%_%b%i%j&U&Y&[&b&u'a'}(W(Y(d(e(f(j(o(p(r(|)i)p)q*f*i*k*l+Z+n,s,z-R-T-g-m.i.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:x$^%l!Q!n$O$u%n%o%p%q%y%{&P&p&r(q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ&j!hQ&k!iQ&l!jQ&m!kQ&s!oQ)[%QQ)]%RQ)^%SQ)_%TQ)b%WQ+`&oS,R']1ZQ.W)`S/r*u4TR4n0s+yTOY[bfgilmop!O!P!Q!T!Y!Z![!_!`!c!n!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$O$T$W$`$a$e$g$h$q$r$u$y%X%_%b%i%j%n%o%p%q%y%{&P&U&Y&[&b&o&p&r&u&z&|'P']'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(q(r(|)S)U)i)p)q)s)x)y*O*P*R*V*Z*[*^*e*f*i*k*l*n*w*x+U+V+Z+h+n+o+z+},q,s,z-R-T-g-i-m-t-v.U.`.i.p.t.x.y.}/Z/[/^/b/d/g/{/}0`0e0g0m0r0w0}1O1P1Y1Z1h1r1y1|2a2h2j2m2s2v3V3_3a3f3h3k3u3{3|4R4U4W4_4c4e4h4t4v4|5[5`5d5g5t5v6R6Y6]6a6p6v6x7S7^7c7g7m7r7{8W8X8g8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:xQ'[!xQ'h#PQ)l%gU)r%m*T*WR.f)kQ,T']R5P1Z#t%s!Q!n$O$u%p%q&P&p&r(q)x)y*O*R*V*[*^*e*n*w+V+h+o+}-i-v.U.`.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2v3V3u3{3|4U4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)x%oQ+_&oQ,U']n,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7kS.q)s2sQ/O*PQ/Q*SQ/q*uS0Q*x4RQ0a+U[0o+Z.j0g4h5y7^Q2v.pS4d0e2rQ4m0sQ5Q1ZQ6T3RQ6z4PQ7O4TQ7X4_R9Y8h&jVOfgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u']'}(W(Y(b(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1Z1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fU&g!g%P%[o,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7k$nsOfgilm!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y'}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9z9{:O:P:Q:R:S:T:U:V:W:X:Y:eS$tp9xS&O!W#bS&Q!X#cQ&`!bQ*_&RQ*a&VS*d&[:fQ*h&^Q,T']Q-j(wQ/i*jQ0p+[S2f.X0qQ3]/_Q3^/`Q3g/hQ3i/kQ5P1ZU5b2R2g4lU7o5c5e5rQ8]6dS8u7p7qS9_8v8wR9i9`i{Ob!O!P!T$y%_%b)S)U)i-thxOb!O!P!T$y%_%b)S)U)i-tW/v*v/t3w6qQ/}*wW0[+Q0Y4Z7UQ3{/{Q6x3|R8g6v!h$do!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ&d!dQ&f!fQ&n!mW&x!q%X&|1PQ'S!rQ)X$}Q)Y%OQ)a%VU)d%Y'T'UQ*s&hS+s&z'PS-Y(k1sQ-u)WQ-x)ZS.a)e)fS0x+c/sQ1S+zQ1W+{S1v-_-`Q2k.bQ3s/pQ5]1xR5h2V${sOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$zsOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR3]/_V&T!Y!`*i!i$lo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!k$^o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!i$co!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&e^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR(l$fQ-[(kR5Y1sQ(S#|S({$v-oS-Z(k1sQ-l(yW/u*v/t3w6qS1w-_-`Q3v/vR5^1xQ'e#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,o'mk,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ'f#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,p'mR*g&]X/c*f/d/g3f!}aOb!O!P!T#z$v$y%_%b'}(y)S)U)i)s*f*v*w+Q+Z,s-o-t.j/b/d/g/t/{0Y0g1h2s3f3w3|4Z4h5y6a6q6v7U7^Q3`/aQ6_3bQ8Y6`R9V8Z${rOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#nfOfglmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!T9u!Y!_!`*i*l/^3h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#rfOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!X9u!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$srOfglmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#U#oh#d$P$Q$V$s%^&W&X'q't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b}:P&S&]/k3[6d:[:]:c:d:h:j:k:l:m:n:o:p:q:r:v:w:{#W#ph#d$P$Q$V$s%^&W&X'q'r't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b!P:Q&S&]/k3[6d:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{#S#qh#d$P$Q$V$s%^&W&X'q'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b{:R&S&]/k3[6d:[:]:c:d:h:k:l:m:n:o:p:q:r:v:w:{#Q#rh#d$P$Q$V$s%^&W&X'q'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9by:S&S&]/k3[6d:[:]:c:d:h:l:m:n:o:p:q:r:v:w:{#O#sh#d$P$Q$V$s%^&W&X'q'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bw:T&S&]/k3[6d:[:]:c:d:h:m:n:o:p:q:r:v:w:{!|#th#d$P$Q$V$s%^&W&X'q'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bu:U&S&]/k3[6d:[:]:c:d:h:n:o:p:q:r:v:w:{!x#vh#d$P$Q$V$s%^&W&X'q'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bq:W&S&]/k3[6d:[:]:c:d:h:p:q:r:v:w:{!v#wh#d$P$Q$V$s%^&W&X'q'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bo:X&S&]/k3[6d:[:]:c:d:h:q:r:v:w:{$]#{h#`#d$P$Q$V$s%^&S&W&X&]'q'r's't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n/k0z1i1l1}3P3[4w5V5a6^6d6e7R7e7h7s7y8j8q8{9[9b:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{${jOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$v!aOfgilmp!O!P!T!Y!Z!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ&Y![Q&Z!]R:e9{#rpOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hQ&[!^!W9x!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:f:zR$moR-f(rR$wqT(}$v-oQ/f*fS3d/d/gR6c3fQ3m/mQ3p/nQ6i3nR6l3qQ$zwQ)V${Q*q&fQ+f&qQ+i&sQ-w)YW.Z)b+j+k+lS/X*]+gW2b.W.[.].^U3W/Y/]0yU5o2c2d2eS6W3X3ZS7w5p5qS8Q6V6XQ8y7xS8}8R8SR9c9O^|O!O!P!T%_%b)iX)R$y)S)U-tQ&r!nQ*^&PQ*|&jQ+P&kQ+T&lQ+W&mQ+]&nQ+l&sQ-})[Q.Q)]Q.T)^Q.V)_Q.Y)aQ.^)bQ2S-uQ2e.WR4U0VU+a&o*u4TR4o0sQ+Y&mQ+k&sS.])b+l^0v+_+`/q/r4m4n7OS2d.W.^S4Q0R0SR5q2eS0R*x4RQ0a+UR7X4_U+d&o*u4TR4p0sQ*z&jQ+O&kQ+S&lQ+g&qQ+j&sS-{)[*|S.P)]+PS.S)^+TU.[)b+k+lQ/Y*]Q0X*{Q0q+[Q2X-|Q2Y-}Q2].QQ2_.TU2c.W.].^Q2g.XS3Z/]0yS5c2R4lQ5j2ZS5p2d2eQ6X3XS7q5e5rQ7x5qQ8R6VQ8v7pQ9O8SR9`8wQ0T*xR6|4RQ*y&jQ*}&kU-z)[*z*|U.O)]+O+PS2W-{-}S2[.P.QQ4X0ZQ5i2YQ5k2]R7T4YQ/w*vQ3t/tQ6r3wR8d6qQ*{&jS-|)[*|Q2Z-}Q4X0ZR7T4YQ+R&lU.R)^+S+TS2^.S.TR5l2_Q0]+QQ4V0YQ7V4ZR8l7UQ+[&nS.X)a+]S2R-u.YR5e2SQ0i+ZQ4f0gQ7`4hR8m7^Q.m)sQ0i+ZQ2p.jQ4f0gQ5|2sQ7`4hQ7}5yR8m7^Q0i+ZR4f0gX'O!q%X&|1PX&{!q%X&|1PW'O!q%X&|1PS+u&z'PR1U+z_|O!O!P!T%_%b)iQ%a!PS)h%_%bR.d)i$^%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ*U%yR*X%{$c%n!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gW)t%m%x*T*WQ.e)jR2{.vR.m)sR5|2sQ'W!sR,O'WQ!TOQ$TlQ$WmQ%b!P[%|!T$T$W%b)U/gQ)U$yR/g*f$b%i!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g[)n%i)p.i:`:t:xQ)p%jQ.i)qQ:`%nQ:t:aR:x:uQ!vUR'Y!vS!OO!TU%]!O%_)iQ%_!PR)i%b#rYOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hh!yY!|#U$`'a'n(d,q-R9s9|:gQ!|[b#Ub#Q$y'l(b)S)U*Z-t!h$`o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ'a!}Q'n#ZQ(d$aQ,q'oQ-R(e!W9s!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ9|9tR:g9}Q-U(gR1p-UQ1t-[R5Z1tQ,c'bQ,f'cQ,h'dW1`,c,f,h5UR5U1_Q/d*fS3c/d3fR3f/gfbO!O!P!T$y%_%b)S)U)i-tp#Wb'}(y.j/b/t/{0Y0g1h5y6a6q6v7U7^Q'}#zS(y$v-oQ.j)sW/b*f/d/g3fQ/t*vQ/{*wQ0Y+QQ0g+ZQ1h,sQ5y2sQ6q3wQ6v3|Q7U4ZR7^4hQ,t(OQ1g,rT1j,t1gS(X$Q([Q(^$VU,x(X(^,}R,}(`Q(s$mR-h(sQ-p)OR2P-pQ3n/mQ3q/nT6j3n3qQ)S$yS-r)S-tR-t)UQ4`0aR7Y4``0t+^+_+`+a+d/q/r7OR4q0tQ8i6zR9Z8iQ4S0TR6}4SQ3x/wQ6n3tT6s3x6nQ3}/|Q6t3zU6y3}6t8eR8e6uQ4[0]Q7Q4VT7W4[7QhzOb!O!P!T$y%_%b)S)U)i-tQ$|xW%Zz$|%f)v$b%f!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR)v%nS4i0i0nS7]4f4gT7b4i7]W&z!q%X&|1PS+r&z+zR+z'PQ1Q+wR4z1QU1[,S,T,UR5R1[S3S/Q7OR6U3SQ2t.mQ5x2pT5}2t5xQ.z)zR3O.z^_O!O!P!T%_%b)iY#Xb$y)S)U-t$l#_fgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!h$io!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'j#Q'lQ-P(bR/V*Z&v!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!{Y[#U#Z9s9tW&{!q%X&|1P['`!|!}'n'o9|9}S(c$`$aS+t&z'PU,X'a,q:gS-Q(d(eQ1T+zR1n-RS%t!Q&oQ&q!nQ(V$OQ(w$uS)w%o.pQ)z%pQ)}%qS*]&P&rQ+e&pQ,S']Q-d(qQ.l)sU.w)x)y2vS/O*O*PQ/P*RQ/T*VQ/W*[Q/]*^Q/`*eQ/l*nQ/|*wS0S*x4RQ0a+UQ0c+VQ0y+hQ0{+oQ1X+}Q1{-iQ2T-vQ2`.UQ2i.`Q2z.tQ2|.xQ2}.yQ3X/ZQ3Y/[S3z/{/}Q4^0`Q4l0rQ4s0wQ4x1OQ4}1YQ5O1ZQ5_1yQ5n2aQ5r2hQ5u2jQ5w2mQ5{2sQ6V3VQ6o3uQ6u3{Q6w3|Q7P4UQ7X4_Q7[4eQ7d4tQ7n5`Q7p5dQ7|5vQ8P6RQ8S6YQ8c6pS8f6v6xQ8o7cQ8w7rR9X8g$^%m!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)j%nQ*T%yR*W%{$y%h!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x'pWOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$x%g!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x_&y!q%X&z&|'P+z1PR,V']$zrOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!j$]o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ,T']R5P1Z_}O!O!P!T%_%b)i^|O!O!P!T%_%b)iQ#YbX)R$y)S)U-tbhO!O!T3_6]8W8X9U9hS#`f9uQ#dgQ$PiQ$QlQ$VmQ$spW%^!P%_%b)iU&S!Y!`*iQ&W!ZQ&X![Q&]!_Q'q#eQ'r#oS's#p:QQ't#qQ'u#rQ'v#sQ'w#tQ'x#uQ'y#vQ'z#wQ'{#xQ'|#yQ(O#zQ(U#}Q([$TQ(`$WQ*b&YQ*c&[Q,r'}Q,w(WQ,y(YQ-n(|Q/k*lQ0z+nQ1i,sQ1l,zQ1}-mQ3P.}Q3[/^Q4w0}Q5V1hQ5a1|Q6^3aQ6d3hQ6e3kQ7R4WQ7e4vQ7h4|Q7s5gQ7y5tQ8j7SQ8q7gQ8{7{Q9[8kQ9b8|Q:[9wQ:]9xQ:c9zQ:d9{Q:h:OQ:i:PQ:j:RQ:k:SQ:l:TQ:m:UQ:n:VQ:o:WQ:p:XQ:q:YQ:r:ZQ:v:eQ:w:fR:{9v^tO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6[3_Q8V6]Q9R8WQ9T8XQ9g9UR9m9hQ&V!YQ&^!`R/h*iQ$joQ&a!cQ&t!pU(g$e$g(jS(n$h0eQ(u$qQ(v$rQ*`&UQ*m&bQ+p&uQ-S(fS-b(o4cQ-c(pQ-e(rW/a*f/d/g3fQ/j*kW0f+Z0g4h7^Q1o-TQ1z-gQ3b/bQ4k0mQ5X1rQ7l5[Q8Z6aR8t7m!h$_o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mR-P(b'qXOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$zqOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$fo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&d^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!zY[$`$a9s9t['_!|!}(d(e9|9}W)o%i%j:`:aU,W'a-R:gW.h)p)q:t:uT2o.i:xQ(i$eQ(m$gR-W(jV(h$e$g(jR-^(kR-](k$znOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$ko!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'g#O'pj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ,m'jQ.u)uR8_6f`,b'b'c'd,c,f,h1_5UQ1e,lX3l/m/n3n3qj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ7j5TR8s7k^uO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6Z3_Q8U6]Q9Q8WQ9S8XQ9f9UR9l9hR(Q#zR(P#zQ$SlR(]$TR$ooR$noR)Q$vR)P$vQ)O$vR2O-ohwOb!O!P!T$y%_%b)S)U)i-t$l!lz!Q!n$O$u$|%f%n%o%p%q%y%{&P&o&p&r'](q)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR${xR0b+UR0W*xR0U*xR6{4PR/y*vR/x*vR0P*wR0O*wR0_+QR0^+Q%XyObxz!O!P!Q!T!n$O$u$y$|%_%b%f%n%o%p%q%y%{&P&o&p&r'](q)S)U)i)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-t-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR0k+ZR0j+ZQ'R!qQ)c%XQ+w&|R4y1PX'Q!q%X&|1PR+y&|R+x&|T/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["isolate",-4,4,6,7,33,""],["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[k],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU%uV'_Q'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&aV'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&yVOz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`S'cVOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S'{UOz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`S(bUOz(t{!P(t!P!Q(_!Q;'S(t;'S;=`*a<%lO(tS(wVOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)eV'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)}UOz(tz{)z{!P(t!Q;'S(t;'S;=`*a<%lO(tS*dP;=`<%l(tS*jP;=`<%l)^S*pP;=`<%l'`S*vP;=`<%l&[S+OO'PSU+T]'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U,R]'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU-P]'_QOY+|YZ-xZr+|rs'`sz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U-}V'_QOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[Q.iV'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.dQ/TO'_QQ/WP;=`<%l.dU/`]'_QOY0XYZ3uZr0Xrs(tsz0Xz{.d{!P0X!P!Q/Z!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU0^]'_QOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU1`]'_Q'PS'OSOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU2bV'_Q'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U2|]'_QOY0XYZ3uZr0Xrs(tsz0Xz{2w{!P0X!P!Q.d!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU3zV'_QOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U4dP;=`<%l0XU4jP;=`<%l1VU4pP;=`<%l+|U4vP;=`<%l$nU5QV'_Q'PSOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_5p]'_Q&|X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_6rV'_Q&|X'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_7b_ZX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`8a!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_8j]#PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_9lV']Q'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_:[]'QX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_;^i'_Q'vW'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_=Uj'_Q_X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![<{![!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_?P_(TP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_@X]#OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_AZa!qX'_Q'OSOY$nYZ%nZr$nrs&[sv$nvwB`wz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Bi]'}X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Cik'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q!cE^!c!}Lp!}#OE^#O#P!!l#P#RE^#R#SLp#S#TE^#T#oLp#o${E^${$|Lp$|4wE^4w5bLp5b5iE^5i6SLp6S;'SE^;'S;=`!*}<%lOE^_Ee_'_Q'OSOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Fm]'_Q'OSsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_GmX'_Q'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]HaV'OSsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]H{X'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_Im_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Js]'_QsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Kq_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Lyl'_Q'OS'ZXOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n_Nzj'_Q'OS'ZXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n]!!qZ'OSOzHvz{!#d{!PHv!P!Q!$n!Q#iHv#i#j!%Z#j#lHv#l#m!'V#m;'SHv;'S;=`!*w<%lOHv]!#gXOw'`wx!$Sxz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`]!$XVsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]!$qWOw'`wx!$Sxz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`]!%`^'OSOz&[z{&v{!P&[!P!Q'x!Q![!&[![!c&[!c!i!&[!i#T&[#T#Z!&[#Z#o&[#o#p!({#p;'S&[;'S;=`*s<%lO&[]!&a['OSOz&[z{&v{!P&[!P!Q'x!Q![!'V![!c&[!c!i!'V!i#T&[#T#Z!'V#Z;'S&[;'S;=`*s<%lO&[]!'[['OSOz&[z{&v{!P&[!P!Q'x!Q![!(Q![!c&[!c!i!(Q!i#T&[#T#Z!(Q#Z;'S&[;'S;=`*s<%lO&[]!(V['OSOz&[z{&v{!P&[!P!Q'x!Q![Hv![!c&[!c!iHv!i#T&[#T#ZHv#Z;'S&[;'S;=`*s<%lO&[]!)Q['OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z;'S&[;'S;=`*s<%lO&[]!){^'OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z#q&[#q#rHv#r;'S&[;'S;=`*s<%lO&[]!*zP;=`<%lHv_!+QP;=`<%lE^_!+^]}X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!,`]!PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!-`_(QX'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!.f]#OX'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!/h_(PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!0p]!eX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!1r`'gX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`!a!2t!a#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!2}]#QX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!4P^(OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!4{!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!5U`!lX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!6W!P!Q,z!Q!_$n!_!`!7Y!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!6a]!tX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nV!7c]'qP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!8c_'_Q'xXOY+|YZ-xZr+|rs'`sz+|z{!9b{!P+|!P!Q!:O!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!9iV&}]'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_!:V]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!Aq{!P!;O!P!Q!:O!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;O_!;V]'_QUXOY!jYZ(tZz!>jz{!=x{!P!>j!P!Q!?|!Q;'S!>j;'S;=`!@e<%lO!>j]!>oXUXOY!=SYZ)^Zz!=Sz{!=x{!P!=S!P!Q!?[!Q;'S!=S;'S;=`!@k<%lO!=S]!?aXUXOY!>jYZ(tZz!>jz{!?|{!P!>j!P!Q!?[!Q;'S!>j;'S;=`!@e<%lO!>jX!@RSUXOY!?|Z;'S!?|;'S;=`!@_<%lO!?|X!@bP;=`<%l!?|]!@hP;=`<%l!>j]!@nP;=`<%l!=S_!@x]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!@q{!P!;O!P!Q!Aq!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;OZ!AxX'_QUXOY!AqYZ/OZr!Aqrs!?|s#O!Aq#O#P!?|#P;'S!Aq;'S;=`!Be<%lO!AqZ!BhP;=`<%l!Aq_!BnP;=`<%l!;O_!BtP;=`<%l!o![!c&[!c!i#>o!i#T&[#T#Z#>o#Z#o&[#o#p#A`#p;'S&[;'S;=`*s<%lO&[U#>t['OSOz&[z{&v{!P&[!P!Q'x!Q![#?j![!c&[!c!i#?j!i#T&[#T#Z#?j#Z;'S&[;'S;=`*s<%lO&[U#?o['OSOz&[z{&v{!P&[!P!Q'x!Q![#@e![!c&[!c!i#@e!i#T&[#T#Z#@e#Z;'S&[;'S;=`*s<%lO&[U#@j['OSOz&[z{&v{!P&[!P!Q'x!Q![#;}![!c&[!c!i#;}!i#T&[#T#Z#;}#Z;'S&[;'S;=`*s<%lO&[U#Ae['OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z;'S&[;'S;=`*s<%lO&[U#B`^'OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z#q&[#q#r#;}#r;'S&[;'S;=`*s<%lO&[U#C_P;=`<%l#;}_#Ck]XX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Dm_'{X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Ewl'_Q'OS!yW'TPOY$nYZ%nZr$nrs#Gosw$nwx#H]xz$nz{+O{!P$n!P!Q,z!Q![#8W![!c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$n]#GvV'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_#Hd_'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q#OE^#O#P!!l#P;'SE^;'S;=`!*}<%lOE^_#Ink'_Q'OS!yW'TPOY$nYZ%nZr$nrs&[st#Kctz$nz{+O{!P$n!P!Q,z!Q![#8W![!c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nV#Kji'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$nV#Mbj'_Q'OS'TPOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![#MX![!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$n_$ ]]wX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$!_a'rX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P#p$n#p#q$#d#q;'S$n;'S;=`4s<%lO$n_$#m]'|X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$$o]vX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n",tokenizers:[m,u,G,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:281,get:O=>j[O]||-1}],tokenPrec:15596}),I=q.define({name:"rust",parser:E.configure({props:[l.add({IfExpression:r({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":r()}),w.add(O=>{if(/(Block|edTokens|List)$/.test(O.name))return V;if(O.name=="BlockComment")return i=>({from:i.from+2,to:i.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function F(){return new _(I)}export{F as rust,I as rustLanguage}; diff --git a/web-dist/js/chunks/index-CH8OBzPX.mjs.gz b/web-dist/js/chunks/index-CH8OBzPX.mjs.gz new file mode 100644 index 0000000000..a53e7977ec Binary files /dev/null and b/web-dist/js/chunks/index-CH8OBzPX.mjs.gz differ diff --git a/web-dist/js/chunks/index-CVXEJ3S9.mjs b/web-dist/js/chunks/index-CVXEJ3S9.mjs new file mode 100644 index 0000000000..5147add39e --- /dev/null +++ b/web-dist/js/chunks/index-CVXEJ3S9.mjs @@ -0,0 +1 @@ +import{e as s,s as n,t as r,a as o,L as P,i as Q,c as a,f as i,l as c}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const g=n({String:r.string,Number:r.number,"True False":r.bool,PropertyName:r.propertyName,Null:r.null,", :":r.separator,"[ ]":r.squareBracket,"{ }":r.brace}),p=s.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[g],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),f=()=>t=>{try{JSON.parse(t.state.doc.toString())}catch(O){if(!(O instanceof SyntaxError))throw O;const e=l(O,t.state.doc);return[{from:e,message:O.message,severity:"error",to:e}]}return[]};function l(t,O){let e;return(e=t.message.match(/at position (\d+)/))?Math.min(+e[1],O.length):(e=t.message.match(/at line (\d+) column (\d+)/))?Math.min(O.line(+e[1]).from+ +e[2]-1,O.length):0}const m=P.define({name:"json",parser:p.configure({props:[Q.add({Object:a({except:/^\s*\}/}),Array:a({except:/^\s*\]/})}),i.add({"Object Array":c})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function S(){return new o(m)}export{S as json,m as jsonLanguage,f as jsonParseLinter}; diff --git a/web-dist/js/chunks/index-CVXEJ3S9.mjs.gz b/web-dist/js/chunks/index-CVXEJ3S9.mjs.gz new file mode 100644 index 0000000000..01742d98be Binary files /dev/null and b/web-dist/js/chunks/index-CVXEJ3S9.mjs.gz differ diff --git a/web-dist/js/chunks/index-ChTr9CNi.mjs b/web-dist/js/chunks/index-ChTr9CNi.mjs new file mode 100644 index 0000000000..80825a640e --- /dev/null +++ b/web-dist/js/chunks/index-ChTr9CNi.mjs @@ -0,0 +1 @@ +import{n as d,o as g,a as v,p as m,q as u,g as x,L as G,s as b,t as a,i as Z,k as R,f as h,e as k,E as f,h as w}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const X=1,T=2,y=3,U=155,z=4,j=156;function Y(O){return O>=65&&O<=90||O>=97&&O<=122}const E=new f(O=>{let i=O.pos;for(;;){let{next:t}=O;if(t<0)break;if(t==123){let r=O.peek(1);if(r==123){if(O.pos>i)break;O.acceptToken(X,2);return}else if(r==35){if(O.pos>i)break;O.acceptToken(T,2);return}else if(r==37){if(O.pos>i)break;let e=2,P=2;for(;;){let Q=O.peek(e);if(Q==32||Q==10)++e;else if(Q==35)for(++e;;){let o=O.peek(e);if(o<0||o==10)break;e++}else if(Q==45&&P==2)P=++e;else{O.acceptToken(y,P);return}}}}if(O.advance(),t==10)break}O.pos>i&&O.acceptToken(U)});function _(O,i,t){return new f(r=>{let e=r.pos;for(;;){let{next:P}=r;if(P==123&&r.peek(1)==37){let Q=2;for(;;Q++){let n=r.peek(Q);if(n!=32&&n!=10)break}let o="";for(;;Q++){let n=r.peek(Q);if(!Y(n))break;o+=String.fromCharCode(n)}if(o==O){if(r.pos>e)break;r.acceptToken(t,2);break}}else if(P<0)break;if(r.advance(),P==10)break}r.pos>e&&r.acceptToken(i)})}const W=_("endraw",j,z),V={__proto__:null,in:38,is:40,and:46,or:48,not:52,if:78,else:80,true:98,false:98,self:100,super:102,loop:104,recursive:136,scoped:160,required:162,as:256,import:260,ignore:268,missing:270,with:272,without:274,context:276},q={__proto__:null,if:112,elif:118,else:122,endif:126,for:132,endfor:140,raw:146,endraw:152,block:158,endblock:166,macro:172,endmacro:182,call:188,endcall:192,filter:198,endfilter:202,set:208,endset:212,trans:218,pluralize:222,endtrans:226,with:232,endwith:236,autoescape:242,endautoescape:246,import:254,from:258,include:266},F=k.deserialize({version:14,states:"!*dQVOPOOOOOP'#F`'#F`OeOTO'#CbOvQSO'#CdO!kOPO'#DcO!yOPO'#DnO#XOQO'#DuO#^OPO'#D{O#lOPO'#ESO#zOPO'#E[O$YOPO'#EaO$hOPO'#EfO$vOPO'#EkO%UOPO'#ErO%dOPO'#EwOOOP'#F|'#F|O%rQWO'#E|O&sO#tO'#F]OOOP'#Fq'#FqOOOP'#F_'#F_QVOPOOOOOP-E9^-E9^OOQO'#Ce'#CeO'sQSO,59OO'zQSO'#DWO(RQSO'#DXO(YQ`O'#DZOOQO'#Fr'#FrOvQSO'#CuO(aOPO'#CbOOOP'#Fd'#FdO!kOPO,59}OOOP,59},59}O(oOPO,59}O(}QWO'#E|OOOP,5:Y,5:YO)[OPO,5:YO!yOPO,5:YO)jQWO'#E|OOOQ'#Ff'#FfO)tOQO'#DxO)|OQO,5:aOOOP,5:g,5:gO#^OPO,5:gO*RQWO'#E|OOOP,5:n,5:nO#lOPO,5:nO*YQWO'#E|OOOP,5:v,5:vO#zOPO,5:vO*aQWO'#E|OOOP,5:{,5:{O$YOPO,5:{O*hQWO'#E|OOOP,5;Q,5;QO$hOPO,5;QO*oQWO'#E|OOOP,5;V,5;VO*vOPO,5;VO$vOPO,5;VO+UQWO'#E|OOOP,5;^,5;^O%UOPO,5;^O+`QWO'#E|OOOP,5;c,5;cO%dOPO,5;cO+gQWO'#E|O+nQSO,5;hOvQSO,5:OO+uQSO,5:ZO+zQSO,5:bO+uQSO,5:hO+uQSO,5:oO,PQSO,5:wO,XQpO,5:|O+uQSO,5;RO,^QSO,5;WO,fQSO,5;_OvQSO,5;dOvQSO,5;jOvQSO,5;jOvQSO,5;pOOOO'#Fk'#FkO,nO#tO,5;wOOOP-E9]-E9]O,vQ!bO,59QOvQSO,59TOvQSO,59UOvQSO,59UOvQSO,59UOvQSO,59UO,{QSO'#C}O,XQpO,59cOOQO,59q,59qOOOP1G.j1G.jOvQSO,59UO-SQSO,59UOvQSO,59UOvQSO,59UOvQSO,59nO-wQSO'#FxO.RQSO,59rO.WQSO,59tOOQO,59s,59sO.bQSO'#D[O.iQWO'#F{O.qQWO,59uO0WQSO,59aOOOP-E9b-E9bOOOP1G/i1G/iO(oOPO1G/iO(oOPO1G/iO)TQWO'#E|OvQSO,5:SO0nQSO,5:UO0sQSO,5:WOOOP1G/t1G/tO)[OPO1G/tO)mQWO'#E|O)[OPO1G/tO0xQSO,5:_OOOQ-E9d-E9dOOOP1G/{1G/{O0}QWO'#DyOOOP1G0R1G0RO1SQSO,5:lOOOP1G0Y1G0YO1[QSO,5:tOOOP1G0b1G0bO1aQSO,5:yOOOP1G0g1G0gO1fQSO,5;OOOOP1G0l1G0lO1kQSO,5;TOOOP1G0q1G0qO*vOPO1G0qO+XQWO'#E|O*vOPO1G0qOvQSO,5;YO1pQSO,5;[OOOP1G0x1G0xO1uQSO,5;aOOOP1G0}1G0}O1zQSO,5;fO2PQSO1G1SOOOP1G1S1G1SO2WQSO1G/jOOQO'#Dq'#DqO2_QSO1G/uOOOQ1G/|1G/|O2gQSO1G0SO2rQSO1G0ZO2zQSO'#EVO3SQSO1G0cO,SQSO1G0cO4fQSO'#FvOOQO'#Fv'#FvO5]QSO1G0hO5bQSO1G0mOOOP1G0r1G0rO5mQSO1G0rO5rQSO'#GOO5zQSO1G0yO6PQSO1G1OO6WQSO1G1UO6_QSO1G1UO6fQSO1G1[OOOO-E9i-E9iOOOP1G1c1G1cOOQO1G.l1G.lO6vQSO1G.oO8wQSO1G.pO:oQSO1G.pO:vQSO1G.pOQQSO'#FrO>XQSO'#FwO>aQSO,59iOOQO1G.}1G.}O>fQSO1G.pO@aQSO1G.pOB_QSO1G.pOBfQSO1G.pOD^QSO1G/YOvQSO'#FbODeQSO,5gOOOPAN>gAN>gO! }QSOAN>gOOOPAN>tAN>tO!!SQSO1G0^O!!^QSO,5SQ`O1G.pP!>ZQ`O1G.pP!>bQ`O1G/YP!?QQ`O<mOZ!wO_!yO`!zOa!{Ob!|Oc#ROd#SOp!}O$i!xOV^ih^il^iw^it^i$h^io^i!P^i!Z^i#t^i#v^i#z^i#|^i#}^ix^i!f^i~Og^i~P@nOg#TO~P@nOZ!wO_!yO`!zOa!{Ob!|Oc#ROd#SOg#TOh#UOp!}O$i!xOVvilviwvitvi$hviovi!Pvi!Zvi#tvi#vvi#zvi#|vi#}vi!fvi~Ox&gO~PBmOt%PO$h$la~Oo&jOt%PO~OekOfkOj(yOpiO!RkO!SkO!TkO!UkO$gfO$ihO$njO~Ot%VO$m$oa~O!]#eO~P%rO!Z&pO~P&xO!Z&rO~O!Z&sO~O!Z&uO~P&xOc&xOt%rO~O!Z&zO~O!Z&zO!s&{O~O!Z&|O~Os&}Ot'OOo$qX~Oo'QO~O!Z'RO~Op!}O!Z'RO~Os'TOt%rO~Os'WOt%rO~O$g'ZO~O$O'_O~O#{'`O~Ot&bOo$ka~Ot$Ua$h$Uao$Ua~P&xOZ!wO_(zO`({Oa(|Ob(}Oc)POd)QOg)ROh)SOl)OOp!}Ow)TO$i!xO~Ot!Oi$m!Oi~PHrO!P'hO~P&xO!Z'jO!f'kO~P&xO!Z'lO~Ot'OOo$qa~O!Z'qO~O!Z'sO~P&xOt'tO!Z'vO~P&xOt'xO!Z$ri~P&xO!Z'zO~Ot!eX!Z!eX#tXX~O#t'{O~Ot'|O!Z'zO~O!Z(OO~O!Z(OO#|(PO#}(PO~Oo$Tat$Ta~P&xOs(QO~P=POoritri~P&xOZ!wOp!}O$i!xOVvylvywvytvy$hvyovy!Pvy!Zvy#tvy#vvy#zvy#|vy#}vyxvy!fvy~O_!yO`!zOa!{Ob!|Oc#ROd#SOg#TOh#UO~PLsOZ!wOp!}O$i!xOgiahialiatiawia$miaxia~O_(zO`({Oa(|Ob(}Oc)POd)QO~PNkO!Z(^O!f(_O~P&xO!Z(^O~Oo!zit!zi~P&xOs(`Oo$Zat$Za~O!Z(aO~P&xOt'tO!Z(dO~Ot'xO!Z$rq~P&xOt'xO!Z$rq~Ot'|O!Z(kO~O$O(lO~OZ!wOp!}O$i!xO`^ia^ib^ic^id^ig^ih^il^it^iw^i$m^ie^if^i$g^ix^i~O_^i~P!#iOZ!wO_(zOp!}O$i!xOa^ib^ic^id^ig^ih^il^it^iw^i$m^ix^i~O`^i~P!$zO`({O~P!$zOZ!wO_(zO`({Oa(|Op!}O$i!xOc^id^ig^ih^il^it^iw^i$m^ix^i~Ob^i~P!&ZO$m$jX~P3[Ob(}O~P!&ZOZ!wO_)zO`){Oa)|Ob)}Oc*OOp!}O$i!xOd^ig^ih^il^it^iw^i$m^ix^i~Oe&fOf&fO$gfO~P!'qOZ!wO_(zO`({Oa(|Ob(}Oc)POd)QOp!}O$i!xOh^il^it^iw^i$m^ix^i~Og^i~P!)SOg)RO~P!)SOZ!wO_(zO`({Oa(|Ob(}Oc)POd)QOg)ROh)SOp!}O$i!xOlvitviwvi$mvi~Ox)WO~P!*cOt!Qi$m!Qi~PHrO!Z(nO~Os(pO~Ot'xO!Z$ry~Os(rOt%rO~O!Z(sO~Oouitui~P&xOo!{it!{i~P&xOs(vOt%rO~OZ!wO_(zO`({Oa(|Ob(}Oc)POd)QOg)ROh)SOp!}O$i!xO~Olvytvywvy$mvyxvy~P!-SOt$[q!Z$[q~P&xOt$]q!Z$]q~P&xOt$]y!Z$]y~P&xOm(VO~OekOfkOj)yOpiO!RkO!SkO!TkO!UkO$gfO$ihO$njO~Oe^if^i$g^i~P>mOxvi~PBmOe^if^i$g^i~P!'qOxvi~P!*cO_)gO`)hOa)iOb)jOc)kOd)ZOeiafia$gia~P.vOZ!wO_)gO`)hOa)iOb)jOc)kOd)ZOp!}O$i!xOV^ie^if^ih^il^iw^i$g^it^i$h^io^i!P^i!Z^i#t^i#v^i#z^i#|^i#}^ix^i!f^i~Og^i~P!1_Og)lO~P!1_OZ!wO_)gO`)hOa)iOb)jOc)kOd)ZOg)lOh)mOp!}O$i!xOVvievifvilviwvi$gvitvi$hviovi!Pvi!Zvi#tvi#vvi#zvi#|vi#}vi!fvi~Ox)sO~P!3gO_)gO`)hOa)iOb)jOc)kOd)ZOg)lOh)mOevyfvy$gvy~PLsOxvi~P!3gOZ!wO_)zO`){Oa)|Ob)}Oc*OOd)bOg*POh*QOp!}O$i!xOevifvilvitviwvi$gvi$mvi~Oxvi~P!6fO_)gO~P6}OZ!wO_)gO`)hOp!}O$i!xOV^ib^ic^id^ie^if^ig^ih^il^iw^i$g^it^i$h^io^i!P^i!Z^i#t^i#v^i#z^i#|^i#}^ix^i!f^i~Oa^i~P!8OOa)iO~P!8OOZ!wOp!}O$i!xOc^id^ie^if^ig^ih^il^iw^i$g^it^ix^i~O_)gO`)hOa)iOb)jOV^i$h^io^i!P^i!Z^i#t^i#v^i#z^i#|^i#}^i!f^i~P!:WO_)zO`){Oa)|Ob)}Oc*OOd)bOeiafia$gia~PNkOZ!wO_)zO`){Oa)|Ob)}Oc*OOd)bOp!}O$i!xOe^if^ih^il^it^iw^i$g^i$m^ix^i~Og^i~P!iO_)zO~P!#iO_)zO`){Oa^ib^i$m^i~P!:WO_)zO`){Oa)|Ob^i$m^i~P!:WO_)zO`){Oa)|Ob)}O$m^i~P!:WOfaZa~",goto:"Cy$sPPPPPP$tP$t%j'sPP's'sPPPPPPPPPP'sP'sPP)jPP)o+nPP+q'sPP's's's's's+tP+wPPPP+z,pPPP-fP-jP-vP+z.UP.zP/zP+z0YP1O1RP+z1UPPP1zP+z2QP2v2|3P3SP+z3YP4OP+z4UP4zP+z5QP5vP+z5|P6rP6xP+z7WP7|P+z8SP8xP$t$t$tPPPP9O$tPPPPPP$tP9U:j;f;m;w;}YPPPCcCjCmPPCp$tCsCv!gbOSTVWXYZ[]^doqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%k$dkRhijl!e!f!p!q!r!s!x!y!z!{!|#R#S#T#U#V#e$O%P%U%V%t&U&V&X&d&g&x&}'T'W'h(Q(`(p(r(v(y(z({(|(})P)Q)R)S)T)W)Z)[)b)c)f)g)h)i)j)k)l)m)n)s)y)z){)|)}*O*P*Q*R*S*T*UQ$_!kQ$v!}Q&P$`S&f${(XS']&]'|R'b&b$ikRhijl!e!f!p!q!r!s!x!y!z!{!|!}#R#S#T#U#V#e$O%P%U%V%t&U&V&X&b&d&g&x&}'T'W'h(Q(`(p(r(v(y(z({(|(})P)Q)R)S)T)W)Z)[)b)c)f)g)h)i)j)k)l)m)n)s)y)z){)|)}*O*P*Q*R*S*T*UV$b!l#O)O$d#Pg#W#Y#[#_$U$W$i$j$k$l$p$q$r$s$t$u$z${$|$}%O%]%l&h&k&l&y'U'V'X'a'e'f'g'i'm'r'w(R(S(T(U(W(X(Y(Z([(](m(o(t(u(w(x)U)V)X)Y)])^)_)`)a)d)e)o)p)q)r)t)u)v)w)x*V*W*X*YQ&O$_S&Q$a(VR'S&PR$w!}R'c&bR#]jR&m%V!g_OSTVWXYZ[]^doqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%k!gSOSTVWXYZ[]^doqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kTnSoQqSQtTQ#boR#kuQpSS#aoqS%Z#b#cR&o%[!gTOSTVWXYZ[]^doqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kQ$Y!gQ$[!iQ$]!jQ$d!mQ$f!nQ$g!oQ%e#qQ%z$^Q&v%rQ'Y&[S'[&]'|Q'n'OQ(b'tQ(f'xR(h'{QsTS#htuS%`#i#kR&q%a!gUOSTVWXYZ[]^doqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kRyUR#ny!gVOSTVWXYZ[]^doqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kQzVR#p{!gWOSTVWXYZ[]^doqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kQ$`!kR%y$]R%{$^R'o'OQ}WR#r!O!gXOSTVWXYZ[]^doqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kQ!QXR#t!R!gYOSTVWXYZ[]^doqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kQ!TYR#v!U!gZOSTVWXYZ[]^doqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kQ!WZR#x!X!g[OSTVWXYZ[]^doqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kQ![[R#}!]Q!Z[S#z![!]S%j#{#}R&t%k!g]OSTVWXYZ[]^doqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kQ!_]R$Q!`!g^OSTVWXYZ[]^doqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kQ!b^R$S!cQ'^&]R(i'|QdOQuTQ{VQ!OWQ!RXQ!UYQ!XZQ!][Q!`]Q!c^p!vdu{!O!R!U!X!]!`!c#c#i#{%[%a%kQ#cqQ#itQ#{![Q%[#bQ%a#kR%k#}SQOdSeQm!cmSTVWXYZ[]^oqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kS&c$u$wR'd&cQ%Q#WQ%S#YT&i%Q%SQ%W#]R&n%WQoSR#`oQ%s$YQ&S$dQ&W$gW&w%s&S&W(qR(q(fQxUR#mxS'P%z%{R'p'PQ'u'VR(c'uQ'y'XQ(e'wT(g'y(eQ'}'^R(j'}Q!uaR$m!u!bcOTVWXYZ[]^dqtu{!O!R!U!X![!]!`!c#b#c#i#k#{#}%[%a%kTnSoQgRQ#WhQ#YiQ#[jQ#_lQ$U!eQ$W!fQ$i!pQ$j!qQ$k!rQ$l!sQ$p!xS$q!y)gQ$r!zQ$s!{Q$t!|Q$u!}Q$z#RQ${#SQ$|#TQ$}#UQ%O#VQ%]#eQ%l$OQ&h%PQ&k%UQ&l%VQ&y%tQ'U&UQ'V&VQ'X&XQ'a&bQ'e&dQ'f&gQ'g(yQ'i&xQ'm&}Q'r'TQ'w'WS(R(z)zQ(S({Q(T(|Q(U(}Q(W)PQ(X)QQ(Y)RQ(Z)SQ([)TQ(]'hQ(m(QQ(o(`Q(t)WQ(u(pQ(w(rQ(x(vQ)U)ZQ)V)[Q)X)bQ)Y)cQ)])fQ)^)lQ)_)mQ)`)nQ)a)sQ)d*TQ)e*UQ)o)hQ)p)iQ)q)jQ)r)kQ)t)yQ)u*PQ)v*QQ)w*RQ)x*SQ*V){Q*W)|Q*X)}R*Y*OQ$c!lT$y#O)OR$x!}R#XhR#^jR%|$^R$h!o",nodeNames:"⚠ {{ {# {% {% Template Text }} Interpolation VariableName MemberExpression . PropertyName SubscriptExpression BinaryExpression ConcatOp ArithOp ArithOp CompareOp in is StringLiteral NumberLiteral and or NotExpression not FilterExpression FilterOp FilterName FilterCall ) ( ArgumentList NamedArgument AssignOp , NamedArgument ConditionalExpression if else CallExpression ArrayExpression TupleExpression ParenthesizedExpression DictExpression Entry : Entry BooleanLiteral self super loop IfStatement Tag TagName if %} Tag elif Tag else EndTag endif ForStatement Tag for Definition recursive EndTag endfor RawStatement Tag raw RawText EndTag endraw BlockStatement Tag block scoped required EndTag endblock MacroStatement Tag macro ParamList OptionalParameter OptionalParameter EndTag endmacro CallStatement Tag call EndTag endcall FilterStatement Tag filter EndTag endfilter SetStatement Tag set EndTag endset TransStatement Tag trans Tag pluralize EndTag endtrans WithStatement Tag with EndTag endwith AutoescapeStatement Tag autoescape EndTag endautoescape Tag Tag Tag import as from import ImportItem Tag include ignore missing with without context Comment #}",maxTerm:173,nodeProps:[["closedBy",1,"}}",2,"#}",-2,3,4,"%}",32,")"],["openedBy",7,"{{",31,"(",57,"{%",140,"{#"],["group",-18,9,10,13,14,21,22,25,27,38,41,42,43,44,45,49,50,51,52,"Expression",-11,53,64,71,77,84,92,97,102,107,114,119,"Statement"]],skippedNodes:[0],repeatNodeCount:13,tokenData:".|~RqXY#YYZ#Y]^#Ypq#Yqr#krs#vuv&nwx&{xy)nyz)sz{)x{|*V|}+|}!O,R!O!P,g!P!Q,o!Q![+h![!],w!^!_,|!_!`-U!`!a,|!c!}-^!}#O.U#P#Q.Z#R#S-^#T#o-^#o#p.`#p#q.e#q#r.j#r#s.w%W;'S-^;'S;:j.O<%lO-^~#_S$d~XY#YYZ#Y]^#Ypq#Y~#nP!_!`#q~#vOb~~#yWOY#vZr#vrs$cs#O#v#O#P$h#P;'S#v;'S;=`%x<%lO#v~$hOe~~$kYOY#vYZ#vZr#vrs%Zs#O#v#O#P$h#P;'S#v;'S;=`&O;=`<%l#v<%lO#v~%`We~OY#vZr#vrs$cs#O#v#O#P$h#P;'S#v;'S;=`%x<%lO#v~%{P;=`<%l#v~&RXOY#vZr#vrs$cs#O#v#O#P$h#P;'S#v;'S;=`%x;=`<%l#v<%lO#v~&sP`~#q#r&v~&{O!Z~~'OWOY&{Zw&{wx$cx#O&{#O#P'h#P;'S&{;'S;=`(x<%lO&{~'kYOY&{YZ&{Zw&{wx(Zx#O&{#O#P'h#P;'S&{;'S;=`)O;=`<%l&{<%lO&{~(`We~OY&{Zw&{wx$cx#O&{#O#P'h#P;'S&{;'S;=`(x<%lO&{~({P;=`<%l&{~)RXOY&{Zw&{wx$cx#O&{#O#P'h#P;'S&{;'S;=`(x;=`<%l&{<%lO&{~)sOp~~)xOo~~)}P`~z{*Q~*VO`~~*[Qa~!O!P*b!Q![+h~*eP!Q![*h~*mSf~!Q![*h!g!h*y#R#S*h#X#Y*y~*|R{|+V}!O+V!Q![+]~+YP!Q![+]~+bQf~!Q![+]#R#S+]~+mTf~!O!P*b!Q![+h!g!h*y#R#S+h#X#Y*y~,ROt~~,WRa~uv,a!O!P*b!Q![+h~,dP#q#r&v~,lPZ~!Q![*h~,tP`~!P!Q*Q~,|O!P~~-RPb~!_!`#q~-ZPs~!_!`#q!`-iVm`[p!XS$gY!Q![-^!c!}-^#R#S-^#T#o-^%W;'S-^;'S;:j.O<%lO-^!`.RP;=`<%l-^~.ZO$i~~.`O$h~~.eO$n~~.jOl~^.oP$m[#q#r.rQ.wOVQ~.|O_~",tokenizers:[E,W,1,2,3,4,5,new w("b~RPstU~XP#q#r[~aO$Q~~",17,173)],topRules:{Template:[0,5]},specialized:[{term:161,get:O=>V[O]||-1},{term:55,get:O=>q[O]||-1}],tokenPrec:3602});function S(O,i){return O.split(" ").map(t=>({label:t,type:i}))}const N=S("abs attr batch capitalize center default dictsort escape filesizeformat first float forceescape format groupby indent int items join last length list lower map max min pprint random reject rejectattr replace reverse round safe select selectattr slice sort string striptags sum title tojson trim truncate unique upper urlencode urlize wordcount wordwrap xmlattr","function"),C=S("boolean callable defined divisibleby eq escaped even filter float ge gt in integer iterable le lower lt mapping ne none number odd sameas sequence string test undefined upper range lipsum dict joiner namespace","function"),D=S("loop super self true false varargs kwargs caller name arguments catch_kwargs catch_varargs caller","keyword"),l=C.concat(D),$=S("raw endraw filter endfilter trans pluralize endtrans with endwith autoescape endautoescape if elif else endif for endfor call endcall block endblock set endset macro endmacro import include break continue debug do extends","keyword");function A(O){var i;let{state:t,pos:r}=O,e=x(t).resolveInner(r,-1).enterUnfinishedNodesBefore(r),P=((i=e.childBefore(r))===null||i===void 0?void 0:i.name)||e.name;if(e.name=="FilterName")return{type:"filter",node:e};if(O.explicit&&(P=="FilterOp"||P=="filter"))return{type:"filter"};if(e.name=="TagName")return{type:"tag",node:e};if(O.explicit&&P=="{%")return{type:"tag"};if(e.name=="PropertyName"&&e.parent.name=="MemberExpression")return{type:"prop",node:e,target:e.parent};if(e.name=="."&&e.parent.name=="MemberExpression")return{type:"prop",target:e.parent};if(e.name=="MemberExpression"&&P==".")return{type:"prop",target:e};if(e.name=="VariableName")return{type:"expr",from:e.from};if(e.name=="Comment"||e.name=="StringLiteral"||e.name=="NumberLiteral")return null;let Q=O.matchBefore(/[\w\u00c0-\uffff]+$/);return Q?{type:"expr",from:Q.from}:O.explicit?{type:"expr"}:null}function L(O,i,t,r){let e=[];for(;;){let P=i.getChild("Expression");if(!P)return[];if(P.name=="VariableName"){e.unshift(O.sliceDoc(P.from,P.to));break}else if(P.name=="MemberExpression"){let Q=P.getChild("PropertyName");Q&&e.unshift(O.sliceDoc(Q.from,Q.to)),i=P}else return[]}return r(e,O,t)}function I(O={}){let i=O.tags?O.tags.concat($):$,t=O.variables?O.variables.concat(l):l,{properties:r}=O;return e=>{var P;let Q=A(e);if(!Q)return null;let o=(P=Q.from)!==null&&P!==void 0?P:Q.node?Q.node.from:e.pos,n;return Q.type=="filter"?n=N:Q.type=="tag"?n=i:Q.type=="expr"?n=t:n=r?L(e.state,Q.target,e,r):[],n.length?{options:n,from:o,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const H=d.inputHandler.of((O,i,t,r)=>r!="%"||i!=t||O.state.doc.sliceString(i-1,t+1)!="{}"?!1:(O.dispatch(O.state.changeByRange(e=>({changes:{from:e.from,to:e.to,insert:"%%"},range:g.cursor(e.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function p(O){return i=>{let t=O.test(i.textAfter);return i.lineIndent(i.node.from)+(t?0:i.unit)}}const B=G.define({name:"jinja",parser:F.configure({props:[b({"TagName raw endraw filter endfilter as trans pluralize endtrans with endwith autoescape endautoescape":a.keyword,"required scoped recursive with without context ignore missing":a.modifier,self:a.self,"loop super":a.standard(a.variableName),"if elif else endif for endfor call endcall":a.controlKeyword,"block endblock set endset macro endmacro import from include":a.definitionKeyword,"Comment/...":a.blockComment,VariableName:a.variableName,Definition:a.definition(a.variableName),PropertyName:a.propertyName,FilterName:a.special(a.variableName),ArithOp:a.arithmeticOperator,AssignOp:a.definitionOperator,"not and or":a.logicOperator,CompareOp:a.compareOperator,"in is":a.operatorKeyword,"FilterOp ConcatOp":a.operator,StringLiteral:a.string,NumberLiteral:a.number,BooleanLiteral:a.bool,"{% %} {# #} {{ }} { }":a.brace,"( )":a.paren,".":a.derefOperator,": , .":a.punctuation}),Z.add({Tag:R({closing:"%}"}),"IfStatement ForStatement":p(/^\s*(\{%-?\s*)?(endif|endfor|else|elif)\b/),Statement:p(/^\s*(\{%-?\s*)?end\w/)}),h.add({"Statement Comment"(O){let i=O.firstChild,t=O.lastChild;return!i||i.name!="Tag"&&i.name!="{#"?null:{from:i.to,to:t.name=="EndTag"||t.name=="#}"?t.from:O.to}}})]}),languageData:{indentOnInput:/^\s*{%-?\s*(?:end|elif|else)$/}}),s=m();function c(O){return B.configure({wrap:u(i=>i.type.isTop?{parser:O.parser,overlay:t=>t.name=="Text"||t.name=="RawText"}:null)},"jinja")}const J=c(s.language);function tO(O={}){let i=O.base||s,t=i.language==s.language?J:c(i.language);return new v(t,[i.support,t.data.of({autocomplete:I(O)}),i.language.data.of({closeBrackets:{brackets:["{"]}}),H])}export{H as closePercentBrace,tO as jinja,I as jinjaCompletionSource,J as jinjaLanguage}; diff --git a/web-dist/js/chunks/index-ChTr9CNi.mjs.gz b/web-dist/js/chunks/index-ChTr9CNi.mjs.gz new file mode 100644 index 0000000000..88169f3210 Binary files /dev/null and b/web-dist/js/chunks/index-ChTr9CNi.mjs.gz differ diff --git a/web-dist/js/chunks/index-ChwhOZNZ.mjs b/web-dist/js/chunks/index-ChwhOZNZ.mjs new file mode 100644 index 0000000000..769a9bd29b --- /dev/null +++ b/web-dist/js/chunks/index-ChwhOZNZ.mjs @@ -0,0 +1 @@ +var J,jr;function ce(){return jr||(jr=1,J=TypeError),J}var V,_r;function le(){return _r||(_r=1,V=Object),V}var z,Br;function Be(){return Br||(Br=1,z=Error),z}var L,Ur;function Ue(){return Ur||(Ur=1,L=EvalError),L}var Y,$r;function $e(){return $r||($r=1,Y=RangeError),Y}var K,Nr;function Ne(){return Nr||(Nr=1,K=ReferenceError),K}var Q,xr;function xe(){return xr||(xr=1,Q=SyntaxError),Q}var X,Gr;function Ge(){return Gr||(Gr=1,X=URIError),X}var Z,Mr;function Me(){return Mr||(Mr=1,Z=Math.abs),Z}var rr,Dr;function De(){return Dr||(Dr=1,rr=Math.floor),rr}var er,Tr;function Te(){return Tr||(Tr=1,er=Math.max),er}var tr,Cr;function Ce(){return Cr||(Cr=1,tr=Math.min),tr}var or,kr;function ke(){return kr||(kr=1,or=Math.pow),or}var nr,Wr;function We(){return Wr||(Wr=1,nr=Math.round),nr}var ar,Hr;function He(){return Hr||(Hr=1,ar=Number.isNaN||function(e){return e!==e}),ar}var ir,Jr;function Je(){if(Jr)return ir;Jr=1;var r=He();return ir=function(t){return r(t)||t===0?t:t<0?-1:1},ir}var yr,Vr;function Ve(){return Vr||(Vr=1,yr=Object.getOwnPropertyDescriptor),yr}var pr,zr;function se(){if(zr)return pr;zr=1;var r=Ve();if(r)try{r([],"length")}catch{r=null}return pr=r,pr}var ur,Lr;function ze(){if(Lr)return ur;Lr=1;var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return ur=r,ur}var fr,Yr;function Le(){return Yr||(Yr=1,fr=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),f=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(f)!=="[object Symbol]")return!1;var o=42;e[t]=o;for(var g in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var n=Object.getOwnPropertySymbols(e);if(n.length!==1||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(e,t);if(i.value!==o||i.enumerable!==!0)return!1}return!0}),fr}var cr,Kr;function Ye(){if(Kr)return cr;Kr=1;var r=typeof Symbol<"u"&&Symbol,e=Le();return cr=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},cr}var lr,Qr;function ve(){return Qr||(Qr=1,lr=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),lr}var sr,Xr;function de(){if(Xr)return sr;Xr=1;var r=le();return sr=r.getPrototypeOf||null,sr}var vr,Zr;function Ke(){if(Zr)return vr;Zr=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,f="[object Function]",o=function(h,p){for(var c=[],s=0;s"u"||!u?r:u(Uint8Array),S={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":q&&u?u([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":f,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":E,"%GeneratorFunction%":I,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":q&&u?u(u([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!q||!u?r:u(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":F,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":o,"%ReferenceError%":g,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!q||!u?r:u(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":q&&u?u(""[Symbol.iterator]()):r,"%Symbol%":q?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":Pe,"%TypedArray%":Re,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":h,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":j,"%Function.prototype.apply%":Ir,"%Object.defineProperty%":Ae,"%Object.getPrototypeOf%":be,"%Math.abs%":p,"%Math.floor%":c,"%Math.max%":s,"%Math.min%":A,"%Math.pow%":k,"%Math.round%":U,"%Math.sign%":O,"%Reflect.getPrototypeOf%":me};if(u)try{null.error}catch(P){var Se=u(u(P));S["%Error.prototype%"]=Se}var Oe=function P(a){var l;if(a==="%AsyncFunction%")l=R("async function () {}");else if(a==="%GeneratorFunction%")l=R("function* () {}");else if(a==="%AsyncGeneratorFunction%")l=R("async function* () {}");else if(a==="%AsyncGenerator%"){var y=P("%AsyncGeneratorFunction%");y&&(l=y.prototype)}else if(a==="%AsyncIteratorPrototype%"){var v=P("%AsyncGenerator%");v&&u&&(l=u(v.prototype))}return S[a]=l,l},wr={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},_=C(),$=et(),Ee=_.call(j,Array.prototype.concat),qe=_.call(Ir,Array.prototype.splice),Fr=_.call(j,String.prototype.replace),N=_.call(j,String.prototype.slice),Ie=_.call(j,RegExp.prototype.exec),we=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Fe=/\\(\\)?/g,je=function(a){var l=N(a,0,1),y=N(a,-1);if(l==="%"&&y!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(y==="%"&&l!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var v=[];return Fr(a,we,function(b,w,d,x){v[v.length]=d?Fr(x,Fe,"$1"):w||b}),v},_e=function(a,l){var y=a,v;if($(wr,y)&&(v=wr[y],y="%"+v[0]+"%"),$(S,y)){var b=S[y];if(b===I&&(b=Oe(y)),typeof b>"u"&&!l)throw new i("intrinsic "+a+" exists, but is not available. Please file an issue!");return{alias:v,name:y,value:b}}throw new n("intrinsic "+a+" does not exist!")};return Or=function(a,l){if(typeof a!="string"||a.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof l!="boolean")throw new i('"allowMissing" argument must be a boolean');if(Ie(/^%?[^%]*%?$/,a)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var y=je(a),v=y.length>0?y[0]:"",b=_e("%"+v+"%",l),w=b.name,d=b.value,x=!1,H=b.alias;H&&(v=H[0],qe(y,Ee([0,1],H)));for(var G=1,B=!0;G=y.length){var T=F(d,m);B=!!T,B&&"get"in T&&!("originalValue"in T.get)?d=T.get:d=d[m]}else B=$(d,m),d=d[m];B&&!x&&(S[w]=d)}}return d},Or}var Er,fe;function ot(){if(fe)return Er;fe=1;var r=tt(),e=he(),t=e([r("%String.prototype.indexOf%")]);return Er=function(o,g){var n=r(o,!!g);return typeof n=="function"&&t(o,".prototype.")>-1?e([n]):n},Er}export{ot as a,se as b,et as c,ce as d,rt as e,ze as f,xe as g,tt as h,Xe as i,C as j,ge as k,he as l,Le as r}; diff --git a/web-dist/js/chunks/index-ChwhOZNZ.mjs.gz b/web-dist/js/chunks/index-ChwhOZNZ.mjs.gz new file mode 100644 index 0000000000..27f54e34d1 Binary files /dev/null and b/web-dist/js/chunks/index-ChwhOZNZ.mjs.gz differ diff --git a/web-dist/js/chunks/index-Cjj56UY-.mjs b/web-dist/js/chunks/index-Cjj56UY-.mjs new file mode 100644 index 0000000000..9b3200fd6f --- /dev/null +++ b/web-dist/js/chunks/index-Cjj56UY-.mjs @@ -0,0 +1 @@ +import{L as g,a as q,p as P,q as l,v as i,s as c,t as r,e as R,E as p}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const b=1,$=33,m=34,v=35,x=36,W=new p(O=>{let t=O.pos;for(;;){if(O.next==10){O.advance();break}else if(O.next==123&&O.peek(1)==123||O.next<0)break;O.advance()}O.pos>t&&O.acceptToken(b)});function n(O,t,a){return new p(e=>{let u=e.pos;for(;e.next!=O&&e.next>=0&&(a||e.next!=38&&(e.next!=123||e.peek(1)!=123));)e.advance();e.pos>u&&e.acceptToken(t)})}const d=n(39,$,!1),C=n(34,m,!1),T=n(39,v,!0),f=n(34,x,!0),A=R.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<O.name=="InterpolationContent"?o:null)}),y=Q.configure({wrap:l((O,t)=>{var a;return O.name=="InterpolationContent"?o:O.name!="AttributeInterpolation"?null:((a=O.node.parent)===null||a===void 0?void 0:a.name)=="StatementAttributeValue"?w:o}),top:"Attribute"}),E={parser:U},N={parser:y},s=P({selfClosingTags:!0});function S(O){return O.configure({wrap:l(z)},"angular")}const k=S(s.language);function z(O,t){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(t.read(O.from,O.to))?N:null;case"Text":return E}return null}function X(O={}){let t=s;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof g))throw new RangeError("The base option must be the result of calling html(...)");t=O.base}return new q(t.language==s.language?k:S(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}export{X as angular,k as angularLanguage}; diff --git a/web-dist/js/chunks/index-Cjj56UY-.mjs.gz b/web-dist/js/chunks/index-Cjj56UY-.mjs.gz new file mode 100644 index 0000000000..e479441481 Binary files /dev/null and b/web-dist/js/chunks/index-Cjj56UY-.mjs.gz differ diff --git a/web-dist/js/chunks/index-D1R6sFRB.mjs b/web-dist/js/chunks/index-D1R6sFRB.mjs new file mode 100644 index 0000000000..590f2e3f9f --- /dev/null +++ b/web-dist/js/chunks/index-D1R6sFRB.mjs @@ -0,0 +1 @@ +import{e as W,E as i,C as B,s as U,t as n,a as b,q as E,L as C,i as u,k as v,f as M,l as N}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const c=63,D=64,j=1,A=2,y=3,H=4,Z=5,F=6,I=7,z=65,K=66,J=8,OO=9,eO=10,aO=11,rO=12,V=13,tO=19,nO=20,oO=29,PO=33,QO=34,sO=47,lO=0,p=1,m=2,d=3,g=4;class s{constructor(e,a,r){this.parent=e,this.depth=a,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+r}}s.top=new s(null,-1,lO);function X(O,e){for(let a=0,r=e-O.pos-1;;r--,a++){let o=O.peek(r);if(P(o)||o==-1)return a}}function x(O){return O==32||O==9}function P(O){return O==10||O==13}function _(O){return x(O)||P(O)}function l(O){return O<0||_(O)}const cO=new B({start:s.top,reduce(O,e){return O.type==d&&(e==nO||e==QO)?O.parent:O},shift(O,e,a,r){if(e==y)return new s(O,X(r,r.pos),p);if(e==z||e==Z)return new s(O,X(r,r.pos),m);if(e==c)return O.parent;if(e==tO||e==PO)return new s(O,0,d);if(e==V&&O.type==g)return O.parent;if(e==sO){let o=/[1-9]/.exec(r.read(r.pos,a.pos));if(o)return new s(O,O.depth+ +o[0],g)}return O},hash(O){return O.hash}});function f(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&l(O.peek(a+3))}const fO=new i((O,e)=>{if(O.next==-1&&e.canShift(D))return O.acceptToken(D);let a=O.peek(-1);if((P(a)||a<0)&&e.context.type!=d){if(f(O,45))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(j,3);if(f(O,46))if(e.canShift(c))O.acceptToken(c);else return O.acceptToken(A,3);let r=0;for(;O.next==32;)r++,O.advance();(r{if(e.context.type==d){O.next==63&&(O.advance(),l(O.next)&&O.acceptToken(I));return}if(O.next==45)O.advance(),l(O.next)&&O.acceptToken(e.context.type==p&&e.context.depth==X(O,O.pos-1)?H:y);else if(O.next==63)O.advance(),l(O.next)&&O.acceptToken(e.context.type==m&&e.context.depth==X(O,O.pos-1)?F:Z);else{let a=O.pos;for(;;)if(x(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)G(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(T(O,!0))break;return}else if(O.next==91||O.next==123){if(!RO(O))return;break}else{w(O,!0,!1,0);break}for(;x(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(oO))return;let r=O.peek(1);l(r)&&O.acceptTokenTo(e.context.type==m&&e.context.depth==X(O,a)?K:z,a)}}},{contextual:!0});function dO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function q(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function Y(O,e){return O.next==37?(O.advance(),q(O.next)&&O.advance(),q(O.next)&&O.advance(),!0):dO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function G(O){if(O.advance(),O.next==60){for(O.advance();;)if(!Y(O,!0)){O.next==62&&O.advance();break}}else for(;Y(O,!1););}function $(O){for(O.advance();!l(O.next)&&S(O.next)!="f";)O.advance()}function T(O,e){let a=O.next,r=!1,o=O.pos;for(O.advance();;){let t=O.next;if(t<0)break;if(O.advance(),t==a)if(t==39)if(O.next==39)O.advance();else break;else break;else if(t==92&&a==34)O.next>=0&&O.advance();else if(P(t)){if(e)return!1;r=!0}else if(e&&O.pos>=o+1024)return!1}return!r}function RO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!T(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||P(O.next))return!1;O.advance()}}const SO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":SO[O-33]}function k(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function w(O,e,a,r){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&k(O.peek(1),a))O.advance();else return!1;let o=O.pos;for(;;){let t=O.next,Q=0,R=r+1;for(;_(t);){if(P(t)){if(e)return!1;R=0}else R++;t=O.peek(++Q)}if(!(t>=0&&(t==58?k(O.peek(Q+1),a):t==35?O.peek(Q-1)!=32:k(t,a)))||!a&&R<=r||R==0&&!a&&(f(O,45,Q)||f(O,46,Q)))break;if(e&&S(t)=="f")return!1;for(let h=Q;h>=0;h--)O.advance();if(e&&O.pos>o+1024)return!1}return!0}const iO=new i((O,e)=>{if(O.next==33)G(O),O.acceptToken(rO);else if(O.next==38||O.next==42){let a=O.next==38?eO:aO;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(T(O,!1),O.acceptToken(OO)):w(O,!1,e.context.type==d,e.context.depth)&&O.acceptToken(J)}),kO=new i((O,e)=>{let a=e.context.type==g?e.context.depth:-1,r=O.pos;O:for(;;){let o=0,t=O.next;for(;t==32;)t=O.peek(++o);if(!o&&(f(O,45,o)||f(O,46,o))||!P(t)&&(a<0&&(a=Math.max(e.context.depth+1,o)),oYAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:cO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[bO],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[fO,XO,iO,kO,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),gO=W.deserialize({version:14,states:"!vOQOPOOO]OPO'#C_OhOPO'#C^OOOO'#Cc'#CcOpOPO'#CaQOOOOOO{OPOOOOOO'#Cb'#CbO!WOPO'#C`O!`OPO,58xOOOO-E6a-E6aOOOO-E6`-E6`OOOO'#C_'#C_OOOO1G.d1G.d",stateData:"!h~OXPOYROWTP~OWVXXRXYRX~OYVOXSP~OXROYROWTX~OXROYROWTP~OYVOXSX~OX[O~OXY~",goto:"vWPPX[beioRUOQQOR]XRXQTTOUQWQRZWSSOURYS",nodeNames:"⚠ Document Frontmatter DashLine FrontmatterContent Body",maxTerm:10,skippedNodes:[0],repeatNodeCount:2,tokenData:"$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",tokenizers:[0],topRules:{Document:[0,1]},tokenPrec:67}),L=C.define({name:"yaml",parser:mO.configure({props:[u.add({Stream:O=>{for(let e=O.node.resolve(O.pos,-1);e&&e.to>=O.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.fromO.pos)return null}}return null},FlowMapping:v({closing:"}"}),FlowSequence:v({closing:"]"})}),M.add({"FlowMapping FlowSequence":N,"Item Pair BlockLiteral":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function qO(){return new b(L)}const xO=C.define({name:"yaml-frontmatter",parser:gO.configure({props:[U({DashLine:n.meta})]})});function YO(O){let{language:e,support:a}=O.content instanceof b?O.content:{language:O.content,support:[]};return new b(xO.configure({wrap:E(r=>r.name=="FrontmatterContent"?{parser:L.parser}:r.name=="Body"?{parser:e.parser}:null)}),a)}export{qO as yaml,YO as yamlFrontmatter,L as yamlLanguage}; diff --git a/web-dist/js/chunks/index-D1R6sFRB.mjs.gz b/web-dist/js/chunks/index-D1R6sFRB.mjs.gz new file mode 100644 index 0000000000..1818ff6191 Binary files /dev/null and b/web-dist/js/chunks/index-D1R6sFRB.mjs.gz differ diff --git a/web-dist/js/chunks/index-D7U-DVxL.mjs b/web-dist/js/chunks/index-D7U-DVxL.mjs new file mode 100644 index 0000000000..732b7d4063 --- /dev/null +++ b/web-dist/js/chunks/index-D7U-DVxL.mjs @@ -0,0 +1 @@ +import{e as V,E as X,s as d,t as $,p as Z,a as R,q as s,L as t,i as y,c,k as U,f as l,l as w}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const W=1,p=2,q=275,u=3,b=276,_=277,f=278,m=4,k=5,G=6,x=7,n=8,h=9,v=10,g=11,j=12,E=13,I=14,N=15,L=16,F=17,C=18,H=19,A=20,K=21,D=22,B=23,M=24,J=25,OO=26,$O=27,QO=28,iO=29,aO=30,TO=31,PO=32,XO=33,SO=34,cO=35,eO=36,oO=37,_O=38,nO=39,zO=40,rO=41,YO=42,VO=43,dO=44,ZO=45,RO=46,sO=47,tO=48,yO=49,UO=50,lO=51,wO=52,WO=53,pO=54,qO=55,uO=56,bO=57,fO=58,mO=59,kO=60,GO=61,xO=62,e=63,hO=64,vO=65,gO=66,jO={abstract:m,and:k,array:G,as:x,true:n,false:n,break:h,case:v,catch:g,clone:j,const:E,continue:I,declare:L,default:N,do:F,echo:C,else:H,elseif:A,enddeclare:K,endfor:D,endforeach:B,endif:M,endswitch:J,endwhile:OO,enum:$O,extends:QO,final:iO,finally:aO,fn:TO,for:PO,foreach:XO,from:SO,function:cO,global:eO,goto:oO,if:_O,implements:nO,include:zO,include_once:rO,instanceof:YO,insteadof:VO,interface:dO,list:ZO,match:RO,namespace:sO,new:tO,null:yO,or:UO,print:lO,readonly:wO,require:WO,require_once:pO,return:qO,switch:uO,throw:bO,trait:fO,try:mO,unset:kO,use:GO,var:xO,public:e,private:e,protected:e,while:hO,xor:vO,yield:gO,__proto__:null};function z(O){let Q=jO[O.toLowerCase()];return Q??-1}function r(O){return O==9||O==10||O==13||O==32}function Y(O){return O>=97&&O<=122||O>=65&&O<=90}function T(O){return O==95||O>=128||Y(O)}function o(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}const EO={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},IO=new X(O=>{if(O.next==40){O.advance();let Q=0;for(;r(O.peek(Q));)Q++;let i="",a;for(;Y(a=O.peek(Q));)i+=String.fromCharCode(a),Q++;for(;r(O.peek(Q));)Q++;O.peek(Q)==41&&EO[i.toLowerCase()]&&O.acceptToken(W)}else if(O.next==60&&O.peek(1)==60&&O.peek(2)==60){for(let a=0;a<3;a++)O.advance();for(;O.next==32||O.next==9;)O.advance();let Q=O.next==39;if(Q&&O.advance(),!T(O.next))return;let i=String.fromCharCode(O.next);for(;O.advance(),!(!T(O.next)&&!(O.next>=48&&O.next<=55));)i+=String.fromCharCode(O.next);if(Q){if(O.next!=39)return;O.advance()}if(O.next!=10&&O.next!=13)return;for(;;){let a=O.next==10||O.next==13;if(O.advance(),O.next<0)return;if(a){for(;O.next==32||O.next==9;)O.advance();let P=!0;for(let S=0;S{O.next<0&&O.acceptToken(f)}),LO=new X((O,Q)=>{O.next==63&&Q.canShift(_)&&O.peek(1)==62&&O.acceptToken(_)});function FO(O){let Q=O.peek(1);if(Q==110||Q==114||Q==116||Q==118||Q==101||Q==102||Q==92||Q==36||Q==34||Q==123)return 2;if(Q>=48&&Q<=55){let i=2,a;for(;i<5&&(a=O.peek(i))>=48&&a<=55;)i++;return i}if(Q==120&&o(O.peek(2)))return o(O.peek(3))?4:3;if(Q==117&&O.peek(2)==123)for(let i=3;;i++){let a=O.peek(i);if(a==125)return i==2?0:i+1;if(!o(a))break}return 0}const CO=new X((O,Q)=>{let i=!1;for(;!(O.next==34||O.next<0||O.next==36&&(T(O.peek(1))||O.peek(1)==123)||O.next==123&&O.peek(1)==36);i=!0){if(O.next==92){let a=FO(O);if(a){if(i)break;return O.acceptToken(u,a)}}else if(!i&&(O.next==91||O.next==45&&O.peek(1)==62&&T(O.peek(2))||O.next==63&&O.peek(1)==45&&O.peek(2)==62&&T(O.peek(3)))&&Q.canShift(b))break;O.advance()}i&&O.acceptToken(q)}),HO=d({"Visibility abstract final static":$.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":$.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":$.controlKeyword,"and or xor yield unset clone instanceof insteadof":$.operatorKeyword,"function fn class trait implements extends const enum global interface use var":$.definitionKeyword,"include include_once require require_once namespace":$.moduleKeyword,"new from echo print array list as":$.keyword,null:$.null,Boolean:$.bool,VariableName:$.variableName,"NamespaceName/...":$.namespace,"NamedType/...":$.typeName,Name:$.name,"CallExpression/Name":$.function($.variableName),"LabelStatement/Name":$.labelName,"MemberExpression/Name":$.propertyName,"MemberExpression/VariableName":$.special($.propertyName),"ScopedExpression/ClassMemberName/Name":$.propertyName,"ScopedExpression/ClassMemberName/VariableName":$.special($.propertyName),"CallExpression/MemberExpression/Name":$.function($.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":$.function($.propertyName),"MethodDeclaration/Name":$.function($.definition($.variableName)),"FunctionDefinition/Name":$.function($.definition($.variableName)),"ClassDeclaration/Name":$.definition($.className),UpdateOp:$.updateOperator,ArithOp:$.arithmeticOperator,"LogicOp IntersectionType/&":$.logicOperator,BitOp:$.bitwiseOperator,CompareOp:$.compareOperator,ControlOp:$.controlOperator,AssignOp:$.definitionOperator,"$ ConcatOp":$.operator,LineComment:$.lineComment,BlockComment:$.blockComment,Integer:$.integer,Float:$.float,String:$.string,ShellExpression:$.special($.string),"=> ->":$.punctuation,"( )":$.paren,"#[ [ ]":$.squareBracket,"${ { }":$.brace,"-> ?->":$.derefOperator,", ; :: : \\":$.separator,"PhpOpen PhpClose":$.processingInstruction}),AO={__proto__:null,static:325,STATIC:325,class:351,CLASS:351},KO=V.deserialize({version:14,states:"%#[Q`OWOOQhQaOOP%oO`OOOOO#t'#Hh'#HhO%tO#|O'#DuOOO#u'#Dx'#DxQ&SOWO'#DxO&XO$VOOOOQ#u'#Dy'#DyO&lQaO'#D}O'[QdO'#EQO+QQdO'#IqO+_QdO'#ERO-RQaO'#EXO/bQ`O'#EUO/gQ`O'#E_O2UQaO'#E_O2]Q`O'#EgO2bQ`O'#EqO-RQaO'#EqO2mQpO'#FOO2rQ`O'#FOOOQS'#Iq'#IqO2wQ`O'#ExOOQS'#Ih'#IhO5SQdO'#IeO9UQeO'#F]O-RQaO'#FlO-RQaO'#FmO-RQaO'#FnO-RQaO'#FoO-RQaO'#FoO-RQaO'#FrOOQO'#Ir'#IrO9cQ`O'#FxOOQO'#Ht'#HtO9kQ`O'#HXO:VQ`O'#FsO:bQ`O'#HfO:mQ`O'#GPO:uQaO'#GQO-RQaO'#G`O-RQaO'#GcO;bOrO'#GfOOQS'#JP'#JPOOQS'#JO'#JOOOQS'#Ie'#IeO/bQ`O'#GmO/bQ`O'#GoO/bQ`O'#GtOhQaO'#GvO;iQ`O'#GwO;nQ`O'#GzO:]Q`O'#G}O;sQeO'#HOO;sQeO'#HPO;sQeO'#HQO;}Q`O'#HROhQ`O'#HVO:]Q`O'#HWO>mQ`O'#HWO;}Q`O'#HXO:]Q`O'#HZO:]Q`O'#H[O:]Q`O'#H]O>rQ`O'#H`O>}Q`O'#HaOQO!$dQ`O,5POOQ#u-E;h-E;hO!1QQ`O,5=tOOO#u,5:_,5:_O!1]O#|O,5:_OOO#u-E;g-E;gOOOO,5>|,5>|OOQ#y1G0T1G0TO!1eQ`O1G0YO-RQaO1G0YO!2wQ`O1G0qOOQS1G0q1G0qOOQS'#Eo'#EoOOQS'#Il'#IlO-RQaO'#IlOOQS1G0r1G0rO!4ZQ`O'#IoO!5pQ`O'#IqO!5}QaO'#EwOOQO'#Io'#IoO!6XQ`O'#InO!6aQ`O,5;aO-RQaO'#FXOOQS'#FW'#FWOOQS1G1[1G1[O!6fQdO1G1dO!8kQdO1G1dO!:WQdO1G1dO!;sQdO1G1dO!=`QdO1G1dO!>{QdO1G1dO!@hQdO1G1dO!BTQdO1G1dO!CpQdO1G1dO!E]QdO1G1dO!FxQdO1G1dO!HeQdO1G1dO!JQQdO1G1dO!KmQdO1G1dO!MYQdO1G1dO!NuQdO1G1dOOQT1G0_1G0_O!#[Q`O,5<_O#!bQaO'#EYOOQS1G0[1G0[O#!iQ`O,5:zOEdQaO,5:zO#!nQaO,5;OO#!uQdO,5:|O#$tQdO,5?UO#&sQaO'#HmO#'TQ`O,5?TOOQS1G0e1G0eO#']Q`O1G0eO#'bQ`O'#IkO#(zQ`O'#IkO#)SQ`O,5;SOG|QaO,5;SOOQS1G0w1G0wOOQO,5>^,5>^OOQO-E;p-E;pOOQS1G1U1G1UO#)pQdO'#FQO#+uQ`O'#HsOJ}QpO1G1UO2wQ`O'#HpO#+zQtO,5;eO2wQ`O'#HqO#,iQtO,5;gO#-WQaO1G1OOOQS,5;h,5;hO#/gQtO'#FQO#/tQdO1G0dO-RQaO1G0dO#1aQdO1G1aO#2|QdO1G1cOOQO,5X,5>XOOQO-E;k-E;kOOQS7+&P7+&PO!+iQaO,5;TO$$^QaO'#HnO$$hQ`O,5?VOOQS1G0n1G0nO$$pQ`O1G0nPOQO'#FQ'#FQOOQO,5>_,5>_OOQO-E;q-E;qOOQS7+&p7+&pOOQS,5>[,5>[OOQS-E;n-E;nO$$uQtO,5>]OOQS-E;o-E;oO$%dQdO7+&jO$'iQtO'#FQO$'vQdO7+&OOOQS1G0j1G0jOOQO,5>a,5>aOOQO-E;s-E;sOOQ#u7+(x7+(xO!$[QdO7+(xOOQ#u7+(}7+(}O#JfQ`O7+(}O#JkQ`O7+(}OOQ#u7+(z7+(zO!.]Q`O7+(zO!1TQ`O7+(zO!1QQ`O7+(zO$)cQ`O,5i,5>iOOQS-E;{-E;{O$.lQdO7+'qO$.|QpO7+'qO$/XQdO'#IxOOQO,5pOOQ#u,5>p,5>pOOQ#u-EoOOQS-EVQdO1G2^OOQS,5>h,5>hOOQS-E;z-E;zOOQ#u7+({7+({O$?oQ`O'#GXO:]Q`O'#H_OOQO'#IV'#IVO$@fQ`O,5=xOOQ#u,5=x,5=xO$AcQ!bO'#EQO$AzQ!bO7+(}O$BYQpO7+)RO#KRQpO7+)RO$BbQ`O'#HbO!$[QdO7+)RO$BpQdO,5>rOOQS-EVOOQS-E;i-E;iO$D{QdO<Z,5>ZOOQO-E;m-E;mOOQS1G1_1G1_O$8rQaO,5:uO$G}QaO'#HlO$H[Q`O,5?QOOQS1G0`1G0`OOQS7+&Q7+&QO$HdQ`O7+&UO$IyQ`O1G0oO$K`Q`O,5>YOOQO,5>Y,5>YOOQO-E;l-E;lOOQS7+&Y7+&YOOQS7+&U7+&UOOQ#u<c,5>cOOQO-E;u-E;uOOQS<lOOQ#u-EmOOQO-EW,5>WOOQO-E;j-E;jO!+iQaO,5;UOOQ#uANBTANBTO#JfQ`OANBTOOQ#uANBQANBQO!.]Q`OANBQO!+iQaO7+'hOOQO7+'l7+'lO%-bQ`O7+'hO%.wQ`O7+'hO%/SQ`O7+'lO!+iQaO7+'mOOQO7+'m7+'mO%/XQdO'#F}OOQO'#Hv'#HvO%/jQ`O,5e,5>eOOQS-E;w-E;wOOQO1G2_1G2_O$1YQdO1G2_O$/jQpO1G2_O#JkQ`O1G2]O!.mQdO1G2aO%$dQ!bO1G2]O!$[QdO1G2]OOQO1G2a1G2aOOQO1G2]1G2]O%2uQaO'#G]OOQO1G2b1G2bOOQSAN@xAN@xO!.]Q`OAN@xOOOQ<]O%6rQ!bO'#FQO!$[QdOANBXOOQ#uANBXANBXO:]Q`O,5=}O%7WQ`O,5=}O%7cQ`O'#IXO%7wQ`O,5?rOOQS1G3h1G3hOOQS7+)x7+)xP%+OQpOANBXO%8PQ`O1G0pOOQ#uG27oG27oOOQ#uG27lG27lO%9fQ`O<d,5>dO%dOOQO-E;v-E;vO%hQ`O'#IqO%>rQ`O'#IhO!$[QdO'#IOO%@lQaO,5s,5>sOOQO-Ej,5>jOOQP-E;|-E;|OOQO1G2c1G2cOOQ#uLD,kLD,kOOQTG27[G27[O!$[QdOLD-RO!$[QdO<OO%EpQ`O,5>OPOQ#uLD-_LD-_OOQO7+'o7+'oO+_QdO7+'oOOQS!$( ]!$( ]OOQOAN@}AN@}OOQS1G2d1G2dOOQS1G2e1G2eO%E{QdO1G2eOOQ#u!$(!m!$(!mOOQOANBVANBVOOQO1G3j1G3jO:]Q`O1G3jOOQO<tQaO,5:xO'/vQaO,5;uO'/vQaO,5;wO'@sQdO,5YQdO,5<^O)@XQdO,5QQ`O,5=eO*>YQaO'#HkO*>dQ`O,5?ROlQdO7+%tO*@kQ`O1G0jO!+iQaO1G0jO*BQQdO7+&OOoO*GeQ`O,5>VO*HzQdO<[QdO,5{QdO'#IjO.BbQ`O'#IeO.BoQ`O'#GPO.BwQaO,5:nO.COQ`O,5uOs#fOx7xOy7xO}aO!O^O!Q8OO!R}O!T7}O!V7yO!W7yO!Z8QO!d:QO!z]O#T#mO#V#lO#X`O#dhO#fbO#gcO#sdO$[7|O$d7{O$e7|O$hqO%T8PO%U!OO%W}O%X}O%`|O'WYO'u{O#Y']P~O#O#qO~P/lO!z#rO~O#d#tO#fbO#gcO~O'a#vO~O#s#zO~OU$OO!R$OO!w#}O#s3hO'W#{O~OT'XXz'XX!S'XX!c'XX!n'XX!w'XX!z'XX#T'XX#X'XX#a'XX#b'XX#y'XX$R'XX$S'XX$T'XX$U'XX$V'XX$X'XX$Y'XX$Z'XX$['XX$]'XX$^'XX$_'XX%T'XX'P'XX!y'XX!o'XX~O#|$QO$O$RO~P3YOP7wOQ|OU_OW}O[7zOo>uOs#fOx7xOy7xO}aO!O^O!Q8OO!R}O!T7}O!V7yO!W7yO!Z8QO!d:QO!z]O#X`O#dhO#fbO#gcO#sdO$[7|O$d7{O$e7|O$hqO%T8PO%U!OO%W}O%X}O%`|O'WYO'u{OT$PXz$PX!S$PX!c$PX!n$PX!w$PX#a$PX#b$PX#y$PX$R$PX$S$PX$T$PX$U$PX$V$PX$X$PX$Y$PX$Z$PX$]$PX$^$PX$_$PX'P$PX!y$PX!o$PX~Or$TO#T8eO#V8dO~P5^O#sdO'WYO~OS$fO]$aOk$dOm$fOs$`O!a$bO$krO$u$eO~O!z$hO#T$jO'W$gO~Oo$mOs$lO#d$nO~O!z$hO#T$rO~O!U$uO$u$tO~P-ROR${O!p$zO#d$yO#g$zO&}${O~O't$}O~P;PO!z%SO~O!z%UO~O!n#bO'P#bO~P-RO!pXO~O!z%`O~OP7wOQ|OU_OW}O[7zOo>uOs#fOx7xOy7xO}aO!O^O!Q8OO!R}O!T7}O!V7yO!W7yO!Z8QO!d:QO!z]O#X`O#dhO#fbO#gcO#sdO$[7|O$d7{O$e7|O$hqO%T8PO%U!OO%W}O%X}O%`|O'WYO'u{O~O!z%dO~O]$aO~O!pXO#sdO'WYO~O]%rOs%rO#s%nO'WYO~O!j%wO'Q%wO'TRO~O'Q%zO~PhO!o%{O~PhO!r%}O~PvO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y'cX#O'cX~P!%aO!r)yO!y'eX#O'eX~P)dO!y#kX#O#kX~P!+iO#O){O!y'bX~O!y)}O~O%T#cOT$Qiz$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$Z$Qi$[$Qi$]$Qi$^$Qi$_$Qi'P$Qi!y$Qi#O$Qi#P$Qi#Y$Qi!o$Qi!r$QiV$Qi#|$Qi$O$Qi!p$Qi~P!%aOz#QO#T#PO$R#RO$S#VO$T#WO$U#XO$V#YO$X#[O$Y#]O$Z#^O$[#_O$]#`O$^#aO$_#aO%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi'P$Qi!y$Qi!o$Qi~P!%aOz#QO!w!yO#T#PO$R#RO$S#VO$T#WO$U#XO$V#YO$X#[O$Y#]O$Z#^O$[#_O$]#`O$^#aO$_#aO%T#cOT$Qi!S$Qi!c$Qi!n$Qi'P$Qi!y$Qi!o$Qi~P!%aOT#SOz#QO!c#UO!w!yO#T#PO$R#RO$S#VO$T#WO$U#XO$V#YO$X#[O$Y#]O$Z#^O$[#_O$]#`O$^#aO$_#aO%T#cO!S$Qi!n$Qi'P$Qi!y$Qi!o$Qi~P!%aOT#SOz#QO!w!yO#T#PO$R#RO$S#VO$T#WO$U#XO$V#YO$X#[O$Y#]O$Z#^O$[#_O$]#`O$^#aO$_#aO%T#cO!S$Qi!c$Qi!n$Qi'P$Qi!y$Qi!o$Qi~P!%aOz#QO#T#PO$T#WO$U#XO$V#YO$X#[O$Y#]O$Z#^O$[#_O$]#`O$^#aO$_#aO%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi$R$Qi$S$Qi'P$Qi!y$Qi!o$Qi~P!%aOz#QO#T#PO$U#XO$V#YO$X#[O$Y#]O$Z#^O$[#_O$]#`O$^#aO$_#aO%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi$R$Qi$S$Qi$T$Qi'P$Qi!y$Qi!o$Qi~P!%aOz#QO#T#PO$V#YO$X#[O$Y#]O$Z#^O$[#_O$]#`O$^#aO$_#aO%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi$R$Qi$S$Qi$T$Qi$U$Qi'P$Qi!y$Qi!o$Qi~P!%aOz#QO#T#PO$X#[O$Y#]O$Z#^O$[#_O$]#`O$^#aO$_#aO%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi'P$Qi!y$Qi!o$Qi~P!%aOz#QO$X#[O$Y#]O$Z#^O$[#_O$]#`O$^#aO$_#aO%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi'P$Qi!y$Qi!o$Qi~P!%aOz#QO$Y#]O$Z#^O$[#_O$]#`O$^#aO$_#aO%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi'P$Qi!y$Qi!o$Qi~P!%aOz#QO$Z#^O$[#_O$]#`O$^#aO$_#aO%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi'P$Qi!y$Qi!o$Qi~P!%aOz#QO$[#_O$^#aO$_#aO%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$Z$Qi$]$Qi'P$Qi!y$Qi!o$Qi~P!%aOz#QO$^#aO$_#aO%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$Z$Qi$[$Qi$]$Qi'P$Qi!y$Qi!o$Qi~P!%aOz#QO$Z#^O$[#_O$^#aO$_#aO%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$]$Qi'P$Qi!y$Qi!o$Qi~P!%aOz#QO$_#aO%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$Z$Qi$[$Qi$]$Qi$^$Qi'P$Qi!y$Qi!o$Qi~P!%aO_*PO~PxO$hqO$krO~P2wO#X+|O#a+{O#b+{O~O#d,OO%W,OO%^+}O'W$gO~O!o,PO~PCVOc%bXd%bXh%bXj%bXf%bXg%bXe%bX~PhOc,TOd,ROP%aiQ%aiS%aiU%aiW%aiX%ai[%ai]%ai^%ai`%aia%aib%aik%aim%aio%aip%aiq%ais%ait%aiu%aiv%aix%aiy%ai|%ai}%ai!O%ai!P%ai!Q%ai!R%ai!T%ai!V%ai!W%ai!X%ai!Y%ai!Z%ai![%ai!]%ai!^%ai!_%ai!a%ai!b%ai!d%ai!n%ai!p%ai!z%ai#X%ai#d%ai#f%ai#g%ai#s%ai$[%ai$d%ai$e%ai$h%ai$k%ai$u%ai%T%ai%U%ai%W%ai%X%ai%`%ai&|%ai'W%ai'u%ai'Q%ai!o%aih%aij%aif%aig%aiY%ai_%aii%aie%ai~Oc,XOd,UOh,WO~OY,YO_,ZO!o,^O~OY,YO_,ZOi%gX~Oi,`O~Oj,aO~O!n,cO~PxO$hqO$krO~P2wO!p)`O~OU$OO!R$OO!w3nO#s3iO'W,zO~O#s,|O~O!p-OO'a'UO~O#sdO'WYO!n&zX#O&zX'P&zX~O#O)gO!n'ya'P'ya~O#s-UO~O!n&_X#O&_X'P&_X#P&_X~PvO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y#ka#O#ka~P!%aO!y&cX#O&cX~P@aO#O){O!y'ba~O!o-_O~PCVO#P-`O~O#O-aO!o'YX~O!o-cO~O!y-dO~OT8TOz8RO!S8UO!c8VO!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO#O#Wi#Y#Wi~P!%aO!y&bX#O&bX~PxO#n'XO~OS+kO].cOm+kOs$`O!U+kO!`+kO!a+kO#d>xO$hqO$krO~P2wOS+kO].cOm+kOs$`O!U+kO!`+kO!a+kO#d>xO$hqO~P2wO!n#bO!p-yO'P#bO~OS+kO]+nOm+kOs$`O!U+kO!_+qO!`+kO!a+kO!o.mO#d>xO$hqO$krO~P2wO#d.rO%W.rO%^+}O'W$gO~O%W.sO~O#Y.tO~Oc%bad%bah%baj%baf%bag%bae%ba~PhOc.wOd,ROP%aqQ%aqS%aqU%aqW%aqX%aq[%aq]%aq^%aq`%aqa%aqb%aqk%aqm%aqo%aqp%aqq%aqs%aqt%aqu%aqv%aqx%aqy%aq|%aq}%aq!O%aq!P%aq!Q%aq!R%aq!T%aq!V%aq!W%aq!X%aq!Y%aq!Z%aq![%aq!]%aq!^%aq!_%aq!a%aq!b%aq!d%aq!n%aq!p%aq!z%aq#X%aq#d%aq#f%aq#g%aq#s%aq$[%aq$d%aq$e%aq$h%aq$k%aq$u%aq%T%aq%U%aq%W%aq%X%aq%`%aq&|%aq'W%aq'u%aq'Q%aq!o%aqh%aqj%aqf%aqg%aqY%aq_%aqi%aqe%aq~Oc.|Od,UOh.{O~O!r(hO~OP7wOQ|OU_OW}O[xO$hqO$krO~P2wOS+kOY,vO]+nOm+kOs$`O!U+kO!_+qO!`+kO!a+kO!o/fO#d>xO$hqO$krO~P2wOw!tX!p!tX#T!tX#n!tX#s#vX#|!tX'W!tX~Ow(ZO!p)`O#T3tO#n3sO~O!p-OO'a&fa~O]/nOs/nO#sdO'WYO~OV/rO!n&za#O&za'P&za~O#O)gO!n'yi'P'yi~O#s/tO~OT8TOz8RO!S8UO!c8VO!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO!n&_a#O&_a'P&_a#P&_a~P!%aOz#QO#T#PO$R#RO$S#VO$T#WO$U#XO$V#YO$X#[O$Y#]O$Z#^O$[#_O$]#`O$^#aO$_#aO%T#cOT!vy!S!vy!c!vy!n!vy!w!vy'P!vy!y!vy!o!vy~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y#ji#O#ji~P!%aO_*PO!o&`X#O&`X~PvO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y#]i#O#]i~P!%aOT8TOz8RO!S8UO!c8VO!w:_O#P/yO#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO!y&ba#O&ba~P!%aO#|0OO!y$ji#O$ji~O#d0PO~O#V0SO#d0RO~P2wOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$ji#O$ji~P!%aO!p-yO#|0TO!y$oi#O$oi~O!o0YO'W$gO~O#O0[O!y'kX~O#d0^O~O!y0_O~O!pXO!r0bO~O#T'ZO#n'XO!p'qy!n'qy'P'qy~O!n$sy'P$sy!y$sy!o$sy~PCVO#P0eO#T'ZO#n'XO~O#sdO'WYOw&mX!p&mX#O&mX!n&mX'P&mX~O#O.^Ow'la!p'la!n'la'P'la~OS+kO]0mOm+kOs$`O!U+kO!`+kO!a+kO#d>xO$hqO~P2wO#T3tO#n3sO'W$gO~O#|)XO#T'eX#n'eX'W'eX~O!n#bO!p0sO'P#bO~O#Y0wO~Oh0|O~OTvO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$jq#O$jq~P!%aO#|1kO!y$jq#O$jq~O#d1lO~O!n#bO!pXO!z$hO#P1oO'P#bO~O!o1rO'W$gO~OT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$oq#O$oq~P!%aO#T1tO#d1sO!y&lX#O&lX~O#O0[O!y'ka~O#T'ZO#n'XO!p'q!R!n'q!R'P'q!R~O!pXO!r1yO~O!n$s!R'P$s!R!y$s!R!o$s!R~PCVO#P1{O#T'ZO#n'XO~OP7wOU_O[:rOo?tOs#fOx:rOy:rO}aO!O^O!QvO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y#^i#O#^i~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$jy#O$jy~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$oy#O$oy~P!%aO!pXO#P2rO~O#d2sO~O#O0[O!y'ki~O!n$s!Z'P$s!Z!y$s!Z!o$s!Z~PCVOTvO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$j!R#O$j!R~P!%aO!n$s!c'P$s!c!y$s!c!o$s!c~PCVO!a3`O'W$gO~OV3dO!o&Wa#O&Wa~O'W$gO!n%Ri'P%Ri~O'a'_O~O'a/jO~O'a*iO~O'a1]O~OT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n$ta#|$ta$O$ta'P$ta!y$ta!o$ta#O$ta~P!%aO#T3uO~P-RO#s3lO~O#s3mO~O!U$uO$u$tO~P#-WOT8TOz8RO!S8UO!c8VO!w:_O#P3pO#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO!n'^X'P'^X!y'^X!o'^X~P!%aOT6QOz6OO!S6RO!c6SO!w7oO#P5aO#T#PO$R6PO$S6TO$T6UO$U6VO$V6WO$X6YO$Y6ZO$Z6[O$[6]O$]6^O$^6_O$_6_O%T#cO#O'^X#Y'^X#|'^X$O'^X!n'^X'P'^X!r'^X!y'^X!o'^XV'^X!p'^X~P!%aO#T5OO~P#-WOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n$`a#|$`a$O$`a'P$`a!y$`a!o$`a#O$`a~P!%aOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n$aa#|$aa$O$aa'P$aa!y$aa!o$aa#O$aa~P!%aOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n$ba#|$ba$O$ba'P$ba!y$ba!o$ba#O$ba~P!%aOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n$ca#|$ca$O$ca'P$ca!y$ca!o$ca#O$ca~P!%aOz3{O#|$ca$O$ca#O$ca~PMVOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n$fa#|$fa$O$fa'P$fa!y$fa!o$fa#O$fa~P!%aOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n%Va#|%Va$O%Va'P%Va!y%Va!o%Va#O%Va~P!%aOz3{O#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#|$Qi$O$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOz3{O!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT$Qi!S$Qi!c$Qi!n$Qi#|$Qi$O$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOT3}Oz3{O!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!S$Qi!n$Qi#|$Qi$O$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOT3}Oz3{O!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!S$Qi!c$Qi!n$Qi#|$Qi$O$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOz3{O#T#PO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#|$Qi$O$Qi$R$Qi$S$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOz3{O#T#PO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#|$Qi$O$Qi$R$Qi$S$Qi$T$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOz3{O#T#PO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#|$Qi$O$Qi$R$Qi$S$Qi$T$Qi$U$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOz3{O#T#PO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#|$Qi$O$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOz3{O$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi#|$Qi$O$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOz3{O$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi#|$Qi$O$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOz3{O$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi#|$Qi$O$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOz3{O$[4YO$^4[O$_4[O%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi#|$Qi$O$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$Z$Qi$]$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOz3{O$^4[O$_4[O%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi#|$Qi$O$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$Z$Qi$[$Qi$]$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOz3{O$Z4XO$[4YO$^4[O$_4[O%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi#|$Qi$O$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$]$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOz3{O$_4[O%T#cOT$Qi!S$Qi!c$Qi!n$Qi!w$Qi#T$Qi#|$Qi$O$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$Z$Qi$[$Qi$]$Qi$^$Qi'P$Qi!y$Qi!o$Qi#O$Qi~P!%aOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n#Ua#|#Ua$O#Ua'P#Ua!y#Ua!o#Ua#O#Ua~P!%aOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n'^a#|'^a$O'^a'P'^a!y'^a!o'^a#O'^a~P!%aOz3{O!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT#Qi!S#Qi!c#Qi!n#Qi#|#Qi$O#Qi'P#Qi!y#Qi!o#Qi#O#Qi~P!%aOz3{O!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT#}i!S#}i!c#}i!n#}i#|#}i$O#}i'P#}i!y#}i!o#}i#O#}i~P!%aOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n$Pi#|$Pi$O$Pi'P$Pi!y$Pi!o$Pi#O$Pi~P!%aOz3{O#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT!vq!S!vq!c!vq!n!vq!w!vq#|!vq$O!vq'P!vq!y!vq!o!vq#O!vq~P!%aOz3{O!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT#Qq!S#Qq!c#Qq!n#Qq#|#Qq$O#Qq'P#Qq!y#Qq!o#Qq#O#Qq~P!%aOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n$sq#|$sq$O$sq'P$sq!y$sq!o$sq#O$sq~P!%aOz3{O#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cOT!vy!S!vy!c!vy!n!vy!w!vy#|!vy$O!vy'P!vy!y!vy!o!vy#O!vy~P!%aOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n$sy#|$sy$O$sy'P$sy!y$sy!o$sy#O$sy~P!%aOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n$s!R#|$s!R$O$s!R'P$s!R!y$s!R!o$s!R#O$s!R~P!%aOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n$s!Z#|$s!Z$O$s!Z'P$s!Z!y$s!Z!o$s!Z#O$s!Z~P!%aOT3}Oz3{O!S4OO!c4PO!w5rO#T#PO$R3|O$S4QO$T4RO$U4SO$V4TO$X4VO$Y4WO$Z4XO$[4YO$]4ZO$^4[O$_4[O%T#cO!n$s!c#|$s!c$O$s!c'P$s!c!y$s!c!o$s!c#O$s!c~P!%aOP7wOU_O[5kOo9xOs#fOx5gOy5gO}aO!O^O!Q5{O!T5qO!V5iO!W5iO!Z5}O!d5eO!z]O#T5bO#X`O#dhO#fbO#gcO#sdO$[5oO$d5mO$e5oO$hqO%T5|O%U!OO'WYO~P$vO#O9_O#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y'xX~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#O9aO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y'ZX~P!%aOz8RO#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cOT$Qi!S$Qi!c$Qi!w$Qi#O$Qi#P$Qi#Y$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOz8RO!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cOT$Qi!S$Qi!c$Qi#O$Qi#P$Qi#Y$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOT8TOz8RO!c8VO!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO!S$Qi#O$Qi#P$Qi#Y$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOT8TOz8RO!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO!S$Qi!c$Qi#O$Qi#P$Qi#Y$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOz8RO#T#PO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cOT$Qi!S$Qi!c$Qi!w$Qi#O$Qi#P$Qi#Y$Qi$R$Qi$S$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOz8RO#T#PO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cOT$Qi!S$Qi!c$Qi!w$Qi#O$Qi#P$Qi#Y$Qi$R$Qi$S$Qi$T$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOz8RO#T#PO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cOT$Qi!S$Qi!c$Qi!w$Qi#O$Qi#P$Qi#Y$Qi$R$Qi$S$Qi$T$Qi$U$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOz8RO#T#PO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cOT$Qi!S$Qi!c$Qi!w$Qi#O$Qi#P$Qi#Y$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOz8RO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cOT$Qi!S$Qi!c$Qi!w$Qi#O$Qi#P$Qi#T$Qi#Y$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOz8RO$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cOT$Qi!S$Qi!c$Qi!w$Qi#O$Qi#P$Qi#T$Qi#Y$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOz8RO$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cOT$Qi!S$Qi!c$Qi!w$Qi#O$Qi#P$Qi#T$Qi#Y$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOz8RO$[8`O$^8bO$_8bO%T#cOT$Qi!S$Qi!c$Qi!w$Qi#O$Qi#P$Qi#T$Qi#Y$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$Z$Qi$]$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOz8RO$^8bO$_8bO%T#cOT$Qi!S$Qi!c$Qi!w$Qi#O$Qi#P$Qi#T$Qi#Y$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$Z$Qi$[$Qi$]$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOz8RO$Z8_O$[8`O$^8bO$_8bO%T#cOT$Qi!S$Qi!c$Qi!w$Qi#O$Qi#P$Qi#T$Qi#Y$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$]$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aOz8RO$_8bO%T#cOT$Qi!S$Qi!c$Qi!w$Qi#O$Qi#P$Qi#T$Qi#Y$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$Z$Qi$[$Qi$]$Qi$^$Qi!n$Qi'P$Qi!r$Qi!y$Qi!o$QiV$Qi!p$Qi~P!%aO#T9fO~P!+iO!n#Ua'P#Ua!y#Ua!o#Ua~PCVO!n'^a'P'^a!y'^a!o'^a~PCVO#T=PO#V=OO!y&aX#O&aX~PvO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y#Wi#O#Wi~P!%aOz8RO!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cOT#Qq!S#Qq!c#Qq#O#Qq#P#Qq#Y#Qq!n#Qq'P#Qq!r#Qq!y#Qq!o#QqV#Qq!p#Qq~P!%aOT8TOz8RO!S8UO!c8VO!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO#O$sq#P$sq#Y$sq!n$sq'P$sq!r$sq!y$sq!o$sqV$sq!p$sq~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y&wa#O&wa~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y&_a#O&_a~P!%aOz8RO#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cOT!vy!S!vy!c!vy!w!vy#O!vy#P!vy#Y!vy!n!vy'P!vy!r!vy!y!vy!o!vyV!vy!p!vy~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y#Wq#O#Wq~P!%aOT8TOz8RO!S8UO!c8VO!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO#O$sy#P$sy#Y$sy!n$sy'P$sy!r$sy!y$sy!o$syV$sy!p$sy~P!%aOT8TOz8RO!S8UO!c8VO!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO#O$s!R#P$s!R#Y$s!R!n$s!R'P$s!R!r$s!R!y$s!R!o$s!RV$s!R!p$s!R~P!%aOT8TOz8RO!S8UO!c8VO!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO#O$s!Z#P$s!Z#Y$s!Z!n$s!Z'P$s!Z!r$s!Z!y$s!Z!o$s!ZV$s!Z!p$s!Z~P!%aOT8TOz8RO!S8UO!c8VO!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO#O$s!c#P$s!c#Y$s!c!n$s!c'P$s!c!r$s!c!y$s!c!o$s!cV$s!c!p$s!c~P!%aO#T9vO~PvO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$`a#O$`a~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$aa#O$aa~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$ba#O$ba~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$ca#O$ca~P!%aOz:`O%T#cOT$ca!S$ca!c$ca!w$ca!y$ca#O$ca#T$ca$R$ca$S$ca$T$ca$U$ca$V$ca$X$ca$Y$ca$Z$ca$[$ca$]$ca$^$ca$_$ca~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$fa#O$fa~P!%aO!r?SO#P9^O~OT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$ta#O$ta~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y%Va#O%Va~P!%aOT8TOz8RO!S8UO!c8VO!r9cO!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO~P!%aOz:`O#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT$Qi!S$Qi!c$Qi!w$Qi!y$Qi#O$Qi~P!%aOz:`O!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT$Qi!S$Qi!c$Qi!y$Qi#O$Qi~P!%aOT:bOz:`O!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!S$Qi!y$Qi#O$Qi~P!%aOT:bOz:`O!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!S$Qi!c$Qi!y$Qi#O$Qi~P!%aOz:`O#T#PO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT$Qi!S$Qi!c$Qi!w$Qi!y$Qi#O$Qi$R$Qi$S$Qi~P!%aOz:`O#T#PO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT$Qi!S$Qi!c$Qi!w$Qi!y$Qi#O$Qi$R$Qi$S$Qi$T$Qi~P!%aOz:`O#T#PO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT$Qi!S$Qi!c$Qi!w$Qi!y$Qi#O$Qi$R$Qi$S$Qi$T$Qi$U$Qi~P!%aOz:`O#T#PO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT$Qi!S$Qi!c$Qi!w$Qi!y$Qi#O$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi~P!%aOz:`O$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT$Qi!S$Qi!c$Qi!w$Qi!y$Qi#O$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi~P!%aOz:`O$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT$Qi!S$Qi!c$Qi!w$Qi!y$Qi#O$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi~P!%aOz:`O$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT$Qi!S$Qi!c$Qi!w$Qi!y$Qi#O$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi~P!%aOz:`O$[:mO$^:oO$_:oO%T#cOT$Qi!S$Qi!c$Qi!w$Qi!y$Qi#O$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$Z$Qi$]$Qi~P!%aOz:`O$^:oO$_:oO%T#cOT$Qi!S$Qi!c$Qi!w$Qi!y$Qi#O$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$Z$Qi$[$Qi$]$Qi~P!%aOz:`O$Z:lO$[:mO$^:oO$_:oO%T#cOT$Qi!S$Qi!c$Qi!w$Qi!y$Qi#O$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$]$Qi~P!%aOz:`O$_:oO%T#cOT$Qi!S$Qi!c$Qi!w$Qi!y$Qi#O$Qi#T$Qi$R$Qi$S$Qi$T$Qi$U$Qi$V$Qi$X$Qi$Y$Qi$Z$Qi$[$Qi$]$Qi$^$Qi~P!%aOz:`O!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT#Qi!S#Qi!c#Qi!y#Qi#O#Qi~P!%aOz:`O!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT#}i!S#}i!c#}i!y#}i#O#}i~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$Pi#O$Pi~P!%aO!r?TO#P9hO~Oz:`O#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT!vq!S!vq!c!vq!w!vq!y!vq#O!vq~P!%aOz:`O!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT#Qq!S#Qq!c#Qq!y#Qq#O#Qq~P!%aO!r?YO#P9oO~OT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$sq#O$sq~P!%aO#P9oO#T'ZO#n'XO~Oz:`O#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cOT!vy!S!vy!c!vy!w!vy!y!vy#O!vy~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$sy#O$sy~P!%aO#P9pO#T'ZO#n'XO~OT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$s!R#O$s!R~P!%aO#P9sO#T'ZO#n'XO~OT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$s!Z#O$s!Z~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y$s!c#O$s!c~P!%aO#T;}O~P!+iOT8TOz8RO!S8UO!c8VO!w:_O#P;|O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO!y'^X#O'^X~P!%aO!U$uO$u$tO~P$8rOP7wOU_O[:rOo?tOs#fOx:rOy:rO}aO!O^O!QVO~P$8rOP7wOU_O[:rOo?tOs#fOx:rOy:rO}aO!O^O!QWO#X`O#dhO#fbO#gcO#sdO$[vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y#Ua#O#Ua~P!%aOT:bOz:`O!S:cO!c:dO!w>vO#T#PO$R:aO$S:eO$T:fO$U:gO$V:hO$X:jO$Y:kO$Z:lO$[:mO$]:nO$^:oO$_:oO%T#cO!y'^a#O'^a~P!%aOz<]O!w?^O#T#PO$R<_O$SpO~P$8rOP7wOU_O[:rOo?tOs#fOx:rOy:rO}aO!O^O!QqO#X`O#dhO#fbO#gcO#sdO$[oO#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO~P!%aOT8TOz8RO!S8UO!c8VO!w:_O#P>nO#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO!n'^X!r'^X!o'^X#O'^X!p'^X'P'^X~P!%aOT'XXz'XX!S'XX!c'XX!w'XX!z'XX#O'XX#T'XX#X'XX#a'XX#b'XX#y'XX$R'XX$S'XX$T'XX$U'XX$V'XX$X'XX$Y'XX$Z'XX$['XX$]'XX$^'XX$_'XX%T'XX~O#|:uO$O:vO!y'XX~P.@qO!z$hO#T>zO~O!r;SO~PxO!n&qX!p&qX#O&qX'P&qX~O#O?QO!n'pa!p'pa'P'pa~O!r?rO#P;uO~OT[O~O!r?zO#P:rO~OT8TOz8RO!S8UO!c8VO!r>]O!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO~P!%aOT8TOz8RO!S8UO!c8VO!r>^O!w:_O#T#PO$R8SO$S8WO$T8XO$U8YO$V8ZO$X8]O$Y8^O$Z8_O$[8`O$]8aO$^8bO$_8bO%T#cO~P!%aO!r?{O#P>cO~O!r?|O#P>hO~O#P>hO#T'ZO#n'XO~O#P:rO#T'ZO#n'XO~O#P>iO#T'ZO#n'XO~O#P>lO#T'ZO#n'XO~O!z$hO#T?nO~Oo>wOs$lO~O!z$hO#T?oO~O#O?QO!n'pX!p'pX'P'pX~O!z$hO#T?vO~O!z$hO#T?wO~O!z$hO#T?xO~Oo?lOs$lO~Oo?uOs$lO~Oo?tOs$lO~O%X$]%W$k!e$^#d%`#g'u'W#f~",goto:"%1O'{PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP'|P(TPP(Z(^PPP(vP(^*o(^6cP6cPP>cFxF{PP6cGR! RP! UP! UPPGR! e! h! lGRGRPP! oP! rPPGR!)u!0q!0qGR!0uP!0u!0u!0u!2PP!;g!S#>Y#>h#>n#>x#?O#?U#?[#?b#?l#?v#?|#@S#@^PPPPPPPP#@d#@hP#A^$(h$(k$(u$1R$1_$1t$1zP$1}$2Q$2W$5[$?Y$Gr$Gu$G{$HO$Kb$Ke$Kn$Kv$LQ$Li$MP$Mz%'}PP%0O%0S%0`%0u%0{Q!nQT!qV!rQUOR%x!mRVO}!hPVX!S!j!r!s!w%O%Q%T%V(h,Q,T.u.w/P0}1O1W2]|!hPVX!S!j!r!s!w%O%Q%T%V(h,Q,T.u.w/P0}1O1W2]Q%_!ZQ%h!aQ%m!eQ'k$cQ'x$iQ)d%lQ+W'{Q,k)QU.O+T+V+]Q.j+pQ/`,jS0a.T.UQ0q.dQ1n0VS1w0`0dQ2Q0nQ2q1pQ2t1xR3[2u|ZPVX!S!j!r!s!w%O%Q%T%V(h,Q,T.u.w/P0}1O1W2]2lf]`cgjklmnoprxyz!W!X!Y!]!e!f!g!y!z#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#i#l#m#q#r#}$Q$R$T$h$z%S%U%d%r%}&S&W&[&q&t&u&x'P'X'Z']'a'e'p't'y(R(V(W(Y(Z([(t)T)X)`)c)g)n)u)y*V*Z*[*r*w*|+Q+X+[+^+_+j+m+q+t,Y,c,e,g,i,u,x-O-`-a-t-v-z.S.V.[.].^.b/X/n/y0O0T0b0e1R1S1b1k1o1y1{2k2r3n3p3s3t3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7i7j7k7o7w7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v9|9}:O:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?S?T?Y?^?_?p?q?r?y?z?{?|S$ku$`Q%W!V^%e!_$a'j)Y.f0o2OQ%i!bQ%j!cQ%k!dQ%v!kS&V!|){Q&]#OQ'l$dQ'm$eS'|$j'hQ)S%`Q*v'nQ+z(bQ,O(dQ-S)iU.g+n.c0mQ.q+{Q.r+|Q/d,vS0V-y0XQ1X/cQ1e/rS2T0s2WQ2h1`Q3U2iQ3^2zQ3_2{Q3c3VQ3f3`R3g3d0{!OPVX]`cjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!|#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#i#l#m#q#r$Q$R$T$z%O%Q%S%T%U%V%d%}&S&W&[&q&t&u&x'P']'a(R(V(h(t)T)X)n)u)y){*V*Z*[*|+^,Q,T,Y,c,e,g-`-a-t-z.[.u.w/P/X/y0O0T0e0s0}1O1R1S1W1k1o1{2W2]2r3p3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_0z!OPVX]`cjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!|#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#i#l#m#q#r$Q$R$T$z%O%Q%S%T%U%V%d%}&S&W&[&q&t&u&x'P']'a(R(V(h(t)T)X)n)u)y){*V*Z*[*|+^,Q,T,Y,c,e,g-`-a-t-z.[.u.w/P/X/y0O0T0e0s0}1O1R1S1W1k1o1{2W2]2r3p3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_Q#h^Q%O!PQ%P!QQ%Q!RQ,b(sQ.u,RR.y,UR&r#hQ*Q&qR/w-a0{hPVX]`cjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!|#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#i#l#m#q#r$Q$R$T$z%O%Q%S%T%U%V%d%}&S&W&[&q&t&u&x'P']'a(R(V(h(t)T)X)n)u)y){*V*Z*[*|+^,Q,T,Y,c,e,g-`-a-t-z.[.u.w/P/X/y0O0T0e0s0}1O1R1S1W1k1o1{2W2]2r3p3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_R#j_k#n`j#i#q&t&x5d5e9W:Q:R:S:TR#saT&}#r'PR-h*[R&R!{0zhPVX]`cjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!|#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#i#l#m#q#r$Q$R$T$z%O%Q%S%T%U%V%d%}&S&W&[&q&t&u&x'P']'a(R(V(h(t)T)X)n)u)y){*V*Z*[*|+^,Q,T,Y,c,e,g-`-a-t-z.[.u.w/P/X/y0O0T0e0s0}1O1R1S1W1k1o1{2W2]2r3p3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_R#tb-x!}[#e#k#u$U$V$W$X$Y$Z$v$w%X%Z%]%a%s%|&O&U&_&`&a&b&c&d&e&f&g&h&i&j&k&l&m&n&v&w&|'`'b'c(e(x)v)x)z*O*U*h*j+a+d,n,q-W-Y-[-e-f-g-w.Y/O/[/v0Q0Z0f1g1j1m1z2S2`2o2p2v3Z4]4^4d4e4f4g4h4i4j4l4m4n4o4p4q4r4s4t4u4v4w4x4y4z4{4|4}5P5Q5T5U5W5X5Y5]5^5`5t6e6f6g6h6i6j6k6m6n6o6p6q6r6s6t6u6v6w6x6y6z6{6|6}7O7Q7R7U7V7X7Y7Z7^7_7a7m7q8i8j8k8l8m8n8p8q8r8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9U9V9Y9[9]9d9e9g9i9j9k9l9m9n9q9r9t9w:p:x:y:z:{:|:};Q;R;T;U;V;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;g;l;m;p;r;s;w;y;{O>P>Q>R>S>T>U>X>Y>Z>_>`>a>b>d>e>f>g>j>k>m>r>s>{>|>}?V?b?cQ'd$[Y(X$s8o;P=^=_S(]3o7lQ(`$tR+y(aT&X!|){#a$Pg#}$h'X'Z'p't'y(W([)`)c*r*w+Q+X+[+_+j+m+n+t,i,u,x-v.S.V.].b.c0b0m1y3n3s3t7i7j7k7w9|9}:O?S?T?Y?p?q?r?y?z?{?|3yfPVX]`cgjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!|#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#i#l#m#q#r#}$Q$R$T$h$z%O%Q%S%T%U%V%d%r%}&S&W&[&q&t&u&x'P'X'Z']'a'e'p't'y(R(V(W(Y(Z([(h(t)T)X)`)c)g)n)u)y){*V*Z*[*r*w*|+Q+X+[+^+_+j+m+n+q+t,Q,T,Y,c,e,g,i,u,x-O-`-a-t-v-z.S.V.[.].^.b.c.u.w/P/X/n/y0O0T0b0e0m0s0}1O1R1S1W1b1k1o1y1{2W2]2k2r3n3p3s3t3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7i7j7k7o7w7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v9|9}:O:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?S?T?Y?^?_?p?q?r?y?z?{?|[#wd#x3h3i3j3kh'V#z'W)f,}-U/k/u1f3l3m3q3rQ)e%nR-T)kY#yd%n)k3h3iV'T#x3j3k1dePVX]`cjklmnoprxyz!S!W!X!Y!]!e!g!j!r!s!w!y!z!|#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#i#l#m#q#r$Q$R$T$z%O%Q%S%T%U%V%d%}&S&W&[&q&t&u&x'P']'a'e(R(V(Y(Z(h(t)T)X)g)n)u)y){*V*Z*[*|+^+q,Q,T,Y,c,e,g-O-`-a-t-z.[.^.u.w/P/X/n/y0O0T0e0s0}1O1R1S1W1b1k1o1{2W2]2k2r3p3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_Q%o!fQ)l%r#O3vg#}$h'X'Z'p't'y(W([)`*w+Q+X+[+_+j+m+t,i,u,x-v.S.V.].b0b1y7i7j7k7w9|9}:O?S?T?Y?p?q?r?y?z?{?|a3w)c*r+n.c0m3n3s3tY'T#z)f-U3l3mZ*c'W,}/u3q3r0vhPVX]`cjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!|#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#i#l#m#q#r$Q$R$T$z%O%Q%S%T%U%V%d%}&S&W&[&q&t&u&x'P']'a(R(V(h(t)T)X)n)u)y){*V*Z*[*|+^,Q,T,Y,c,e,g-`-a-t-z.[.u.w/P/X/y0O0T0e0}1O1R1S1W1k1o1{2]2r3p3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_T2U0s2WR&^#OR&]#O!r#Z[#e#u$U$V$W$X$Z$s$w%X%Z%]&`&a&b&c&d&e&f&g'`'b'c(e)v)x*O*j+d-Y.Y0f1z2`2p2v3Z9U9V!Y4U3o4d4e4f4g4i4j4l4m4n4o4p4q4r4s4{4|4}5P5Q5T5U5W5X5Y5]5^5`!^6X4^6e6f6g6h6j6k6m6n6o6p6q6r6s6t6|6}7O7Q7R7U7V7X7Y7Z7^7_7a7l7m#b8[#k%a%s%|&O&v&w&|(x*U+a,n,q-W-e-g/[4]5t7q8i8j8k8l8n8o8p8t8u8v8w8x8y8z8{9Y9[9]9d9g9i9l9n9q9r9t9w:p;Rr>s>{?b?c!|:i&U)z-[-f-w0Q0Z1g1j1m2o8q8r9e9j9k9m:x:y:z:{:};P;Q;T;U;V;W;X;Y;Z;[;d;f;g;l;m;p;r;s;w;y;{>R>S!`T>X>Z>_>a>d>e>g>j>k>m>|>}?VoU>Y>`>b>fS$iu#fQ$qwU'{$j$l&pQ'}$kS(P$m$rQ+Z'|Q+](OQ+`(QQ1p0VQ5s7dS5v7f7gQ5w7hQ7p9xS7r9y9zQ7s9{Q;O>uS;h>w>zQ;o?PQ>y?jS?O?l?nQ?U?oQ?`?sS?a?t?wS?d?u?vR?e?xT'u$h+Q!csPVXt!S!j!r!s!w$h%O%Q%T%V'p([(h)`+Q+j+t,Q,T,u,x.u.w/P0}1O1W2]Q$]rR*l'eQ-{+PQ.i+oQ0U-xQ0j.`Q1|0kR2w1}T0W-y0XQ+V'zQ.U+YR0d.XQ(_$tQ)^%iQ)s%vQ*u'mS+x(`(aQ-q*vR.p+yQ(^$tQ)b%kQ)r%vQ*q'lS*t'm)sU+w(_(`(aS-p*u*vS.o+x+yQ/i,{Q/{-nQ/}-qR0v.pQ(]$tQ)]%iQ)_%jQ)q%vU*s'm)r)sW+v(^(_(`(aQ,t)^U-o*t*u*vU.n+w+x+yS/|-p-qS0u.o.pQ1i/}R2Y0vX+r([)`+t,xb%f!_$a'j+n.c.f0m0o2OR,r)YQ$ovS+b(S?Qg?m([)`+i+j+m+t,u,x.a.b0lR0t.kT2V0s2W0}|PVX]`cjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!|#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#i#l#m#q#r$Q$R$T$z%O%Q%S%T%U%V%d%}&S&W&[&q&t&u&x'P']'a(R(V(h(t)T)X)n)u)y){*V*Z*[*|+^,Q,T,Y,c,e,g,m-`-a-t-z.[.u.w/P/X/y0O0T0e0s0}1O1R1S1W1k1o1{2W2]2r3p3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_T$y{$|Q,O(dR.r+|T${{$|Q(j%OQ(r%QQ(w%TQ(z%VQ.},XQ0z.yQ0{.|R2c1WR(m%PX,[(k(l,],_R(n%PX(p%Q%T%V1WR%T!T_%b!]%S(t,c,e/X1RR%V!UR/],gR,j)PQ)a%kS*p'l)bS-m*q,{S/z-n/iR1h/{T,w)`,xQ-P)fU/l,|,}-UU1^/k/t/uR2n1fR/o-OR2l1bSSO!mR!oSQ!rVR%y!rQ!jPS!sV!rQ!wX[%u!j!s!w,Q1O2]Q,Q(hQ1O/PR2]0}Q)o%sS-X)o9bR9b8rQ-b*QR/x-bQ&y#oS*X&y9XR9X:tS*]&|&}R-i*]Q)|&YR-^)|!j'Y#|'o*f*z+O+T+e+i.T.W.Z.a/_0`0c0g0l1x2u5x5y5z7e7t7u7v;q;t;x?W?X?Z?f?g?h?iS*e'Y/g]/g,{-n.f0o1[2O!h'[#|'o*z+O+T+e+i.T.W.Z.a/_0`0c0g0l1x2u5x5y5z7e7t7u7v;q;t;x?W?X?Z?f?g?h?iS*g'[/hZ/h,{-n.f0o2OU#xd%n)kU'S#x3j3kQ3j3hR3k3iQ'W#z^*b'W,}/k/u1f3q3rQ,})fQ/u-UQ3q3lR3r3m|tPVX!S!j!r!s!w%O%Q%T%V(h,Q,T.u.w/P0}1O1W2]W$_t'p+j,uS'p$h+QS+j([+tT,u)`,xQ'f$]R*m'fQ0X-yR1q0XQ+R'vR-}+RQ0].PS1u0]1vR1v0^Q._+fR0i._Q+t([R.l+tW+m([)`+t,xS.b+j,uT.e+m.bQ)Z%fR,s)ZQ(T$oS+c(T?RR?R?mQ2W0sR2}2WQ$|{R(f$|Q,S(iR.v,SQ,V(jR.z,VQ,](kQ,_(lT/Q,],_Q)U%aS,o)U9`R9`8qQ)R%_R,l)RQ,x)`R/e,xQ)h%pS-R)h/sR/s-SQ1c/oR2m1cT!uV!rj!iPVX!j!r!s!w(h,Q/P0}1O2]Q%R!SQ(i%OW(p%Q%T%V1WQ.x,TQ0x.uR0y.w|[PVX!S!j!r!s!w%O%Q%T%V(h,Q,T.u.w/P0}1O1W2]Q#e]U#k`#q&xQ#ucQ$UkQ$VlQ$WmQ$XnQ$YoQ$ZpQ$sx^$vy3y5|8P:]n>oQ+a(RQ+d(VQ,n)TQ,q)XQ-W)nQ-Y)uQ-[)yQ-e*VQ-f*ZQ-g*[^-k3u5b7c9v;}>p>qQ-w*|Q.Y+^Q/O,YQ/[,gQ/v-`Q0Q-tQ0Z-zQ0f.[Q1g/yQ1j0OQ1m0TQ1z0eU2S0s2W:rQ2`1SQ2o1kQ2p1oQ2v1{Q3Z2rQ3o3xQ4]jQ4^5eQ4d5fQ4e5hQ4f5jQ4g5lQ4h5nQ4i5pQ4j3zQ4l3|Q4m3}Q4n4OQ4o4PQ4p4QQ4q4RQ4r4SQ4s4TQ4t4UQ4u4VQ4v4WQ4w4XQ4x4YQ4y4ZQ4z4[Q4{4_Q4|4`Q4}4aQ5P4bQ5Q4cQ5T4kQ5U5OQ5W5RQ5X5SQ5Y5VQ5]5ZQ5^5[Q5`5_Q5t5rQ6e5gQ6f5iQ6g5kQ6h5mQ6i5oQ6j5qQ6k5}Q6m6PQ6n6QQ6o6RQ6p6SQ6q6TQ6r6UQ6s6VQ6t6WQ6u6XQ6v6YQ6w6ZQ6x6[Q6y6]Q6z6^Q6{6_Q6|6`Q6}6aQ7O6bQ7Q6cQ7R6dQ7U6lQ7V7PQ7X7SQ7Y7TQ7Z7WQ7^7[Q7_7]Q7a7`Q7l5{Q7m5dQ7q7oQ8i7xQ8j7yQ8k7zQ8l7{Q8m7|Q8n7}Q8o8OQ8p8QU8q,c/X1RQ8r%dQ8t8SQ8u8TQ8v8UQ8w8VQ8x8WQ8y8XQ8z8YQ8{8ZQ8|8[Q8}8]Q9O8^Q9P8_Q9Q8`Q9R8aQ9S8bQ9U8dQ9V8eQ9Y8fQ9[8gQ9]8hQ9d8sQ9e9TQ9g9ZQ9i9^Q9j9_Q9k9aQ9l9cQ9m9fQ9n9hQ9q9oQ9r9pQ9t9sQ9w:QU:p#i&t9WQ:x:UQ:y:VQ:z:WQ:{:XQ:|:YQ:}:ZQ;P:[Q;Q:^Q;R:_Q;T:aQ;U:bQ;V:cQ;W:dQ;X:eQ;Y:fQ;Z:gQ;[:hQ;]:iQ;^:jQ;_:kQ;`:lQ;a:mQ;b:nQ;c:oQ;d:uQ;f:vQ;g:wQ;l;SQ;m;eQ;p;jQ;r;kQ;s;nQ;w;uQ;y;vQ;{;zQOP<{Q>Q<|Q>R=OQ>S=PQ>T=QQ>U=RQ>X=SQ>Y=TQ>Z=UQ>_=aQ>`=bQ>a>VQ>b>WQ>d>[Q>e>]Q>f>^Q>g>cQ>j>hQ>k>iQ>m>lQ>r:SQ>s:RQ>{>vQ>|:qQ>}:sQ?V;iQ?b?^R?c?_R*R&qQ%t!gQ)W%dT*P&q-a$WiPVX]cklmnopxyz!S!W!X!Y!j!r!s!w#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a$Q$R$T$z%O%Q%T%V%}&S&['a(V(h)u+^,Q,T.[.u.w/P0e0}1O1S1W1o1{2]2r3p3u8d8e!t5c']3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5f5h5j5l5n5p7b7c!x7n5a5b5d5e5g5i5k5m5o5q5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`$`:P`j!]!g!y!z#i#l#m#q#r%S%U&q&t&u&x'P(R(t)T)X)n*V*[,e,g-a5r7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8f8g8h8s9W9Z9^9c9h9o9p9s9u9v:Q:R:S:T:_>v?^?_#l>t!|%d&W)y){*Z*|,c-t-z/X/y0O0T1R1k9T9_9a9f:U:V:W:X:Y:Z:[:]:^:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:u:v:w;S;e;j;k;n;u;v;z;|;}=O=P!x?[,Y-`:q:s;iV>[>]>c>h>i>l>n>p!]?]0s2W:rW>^>o>qQ#p`Q&s#iQ&{#qR*T&tS#o`#q^$Sj5d5e:Q:R:S:TS*W&x9WT:t#i&tQ'O#rR*_'PR&T!{R&Z!|Q&Y!|R-]){Q#|gS'^#}3nS'o$h+QS*d'X3sU*f'Z*w-vQ*z'pQ+O'tQ+T'yQ+e(WW+i([)`+t,xQ,{)cQ-n*rQ.T+XQ.W+[Q.Z+_U.a+j+m,uQ.f+nQ/_,iQ0`.SQ0c.VQ0g.]Q0l.bQ0o.cQ1[3tQ1x0bQ2O0mQ2u1yQ5x7iQ5y7jQ5z7kQ7e7wQ7t9|Q7u9}Q7v:OQ;q?SQ;t?TQ;x?YQ?W?pQ?X?qQ?Z?rQ?f?yQ?g?zQ?h?{R?i?|0z!OPVX]`cjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!|#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#i#l#m#q#r$Q$R$T$z%O%Q%S%T%U%V%d%}&S&W&[&q&t&u&x'P']'a(R(V(h(t)T)X)n)u)y){*V*Z*[*|+^,Q,T,Y,c,e,g-`-a-t-z.[.u.w/P/X/y0O0T0e0s0}1O1R1S1W1k1o1{2W2]2r3p3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_#`$Og#}$h'X'Z'p't'y(W([)`)c*r*w+Q+X+[+_+j+m+n+t,i,u,x-v.S.V.].b.c0b0m1y3n3s3t7i7j7k7w9|9}:O?S?T?Y?p?q?r?y?z?{?|S$[r'eQ%l!eS%p!f%rU+f(Y(Z+qQ-Q)gQ/m-OQ0h.^Q1a/nQ2j1bR3W2k|vPVX!S!j!r!s!w%O%Q%T%V(h,Q,T.u.w/P0}1O1W2]#Y#g]cklmnopxyz!W!X!Y#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a$Q$R$T$z%}&S&['a(V)u+^.[0e1S1o1{2r3p3u8d8e`+k([)`+j+m+t,u,x.b!t8c']3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5f5h5j5l5n5p7b7c!x<}5a5b5d5e5g5i5k5m5o5q5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`$`?k`j!]!g!y!z#i#l#m#q#r%S%U&q&t&u&x'P(R(t)T)X)n*V*[,e,g-a5r7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8f8g8h8s9W9Z9^9c9h9o9p9s9u9v:Q:R:S:T:_>v?^?_#l?}!|%d&W)y){*Z*|,c-t-z/X/y0O0T1R1k9T9_9a9f:U:V:W:X:Y:Z:[:]:^:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:u:v:w;S;e;j;k;n;u;v;z;|;}=O=P!x@O,Y-`:q:s;iV>[>]>c>h>i>l>n>p!]@P0s2W:rW>^>o>qR'w$hQ'v$hR-|+QR$^rQ#d[Q%Y!WQ%[!XQ%^!YQ(U$pQ({%WQ(|%XQ(}%ZQ)O%]Q)V%cQ)[%gQ)d%lQ)j%qQ)p%tQ*n'iQ-V)mQ-l*oQ.i+oQ.j+pQ.x,WQ/S,`Q/T,aQ/U,bQ/Z,fQ/^,hQ/b,pQ/q-PQ0j.`Q0q.dQ0r.hQ0t.kQ0y.{Q1Y/dQ1_/lQ1n0VQ1|0kQ2Q0nQ2R0pQ2[0|Q2d1XQ2g1^Q2w1}Q2y2PQ2|2VQ3P2ZQ3T2fQ3X2nQ3Y2pQ3]2xQ3a3RQ3b3SR3e3ZR.R+UQ+g(YQ+h(ZR.k+qS+s([+tT,w)`,xa+l([)`+j+m+t,u,x.bQ%g!_Q'i$aQ*o'jQ.h+nS0p.c.fS2P0m0oR2x2OQ$pvW+o([)`+t,xW.`+i+j+m,uS0k.a.bR1}0l|!aPVX!S!j!r!s!w%O%Q%T%V(h,Q,T.u.w/P0}1O1W2]Q$ctW+p([)`+t,xU.d+j+m,uR0n.b0z!OPVX]`cjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!|#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#i#l#m#q#r$Q$R$T$z%O%Q%S%T%U%V%d%}&S&W&[&q&t&u&x'P']'a(R(V(h(t)T)X)n)u)y){*V*Z*[*|+^,Q,T,Y,c,e,g-`-a-t-z.[.u.w/P/X/y0O0T0e0s0}1O1R1S1W1k1o1{2W2]2r3p3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_R/a,m0}}PVX]`cjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!|#Q#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#i#l#m#q#r$Q$R$T$z%O%Q%S%T%U%V%d%}&S&W&[&q&t&u&x'P']'a(R(V(h(t)T)X)n)u)y){*V*Z*[*|+^,Q,T,Y,c,e,g,m-`-a-t-z.[.u.w/P/X/y0O0T0e0s0}1O1R1S1W1k1o1{2W2]2r3p3u3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4X4Y4Z4[4_4`4a4b4c4k5O5R5S5V5Z5[5_5a5b5d5e5f5g5h5i5j5k5l5m5n5o5p5q5r5u5{5|5}6O6P6Q6R6S6T6U6V6W6X6Y6Z6[6]6^6_6`6a6b6c6d6l7P7S7T7W7[7]7`7b7c7o7x7y7z7{7|7}8O8P8Q8R8S8T8U8V8W8X8Y8Z8[8]8^8_8`8a8b8d8e8f8g8h8s9T9W9Z9^9_9a9c9f9h9o9p9s9u9v:Q:R:S:T:U:V:W:X:Y:Z:[:]:^:_:`:a:b:c:d:e:f:g:h:i:j:k:l:m:n:o:q:r:s:u:v:w;S;e;i;j;k;n;u;v;z;|;}V>W>[>]>^>c>h>i>l>n>o>p>q>v?^?_T$x{$|Q(q%QQ(v%TQ(y%VR2b1WQ%c!]Q(u%SQ,d(tQ/W,cQ/Y,eQ1Q/XR2_1RQ%q!fR)m%rR/p-O",nodeNames:"⚠ ( HeredocString EscapeSequence abstract LogicOp array as Boolean break case catch clone const continue default declare do echo else elseif enddeclare endfor endforeach endif endswitch endwhile enum extends final finally fn for foreach from function global goto if implements include include_once LogicOp insteadof interface list match namespace new null LogicOp print readonly require require_once return switch throw trait try unset use var Visibility while LogicOp yield LineComment BlockComment TextInterpolation PhpClose Text PhpOpen Template TextInterpolation EmptyStatement ; } { Block : LabelStatement Name ExpressionStatement ConditionalExpression LogicOp MatchExpression ) ( ParenthesizedExpression MatchBlock MatchArm , => AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> Name VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp IntersectionType OptionalType NamedType QualifiedName \\ NamespaceName Name NamespaceName Name ScopedExpression :: ClassMemberName DynamicMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter PropertyHooks PropertyHook UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:318,nodeProps:[["group",-36,2,8,49,82,84,86,89,94,95,103,107,108,112,113,116,120,126,132,137,139,140,154,155,156,157,160,161,173,174,188,190,191,192,193,194,200,"Expression",-28,75,79,81,83,201,203,208,210,211,214,217,218,219,220,221,223,224,225,226,227,228,229,230,231,234,235,239,240,"Statement",-4,121,123,124,125,"Type"],["isolate",-4,67,68,71,200,""],["openedBy",70,"phpOpen",77,"{",87,"(",102,"#["],["closedBy",72,"phpClose",78,"}",88,")",165,"]"]],propSources:[HO],skippedNodes:[0],repeatNodeCount:32,tokenData:"!GQ_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]yz>yz{?g{|@}|}Bb}!OCO!O!PDh!P!QKT!Q!R!!o!R![!$q![!]!,P!]!^!-a!^!_!-}!_!`!1S!`!a!2d!a!b!3t!b!c!7^!c!d!7z!d!e!9Y!e!}!7z!}#O!;b#O#P!V<%lO8VR9WV'TP%`QOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ9rV%`QOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ:^O%`QQ:aRO;'S9m;'S;=`:j;=`O9mQ:oW%`QOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l9m<%lO9mQ;[P;=`<%l9mR;fV'TP%`QOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRV<%l~8V~O8V~~%fR=OW'TPOY8VYZ9PZ!^8V!^!_;{!_;'S8V;'S;=`=h;=`<%l9m<%lO8VR=mW%`QOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l8V<%lO9mR>YP;=`<%l8VR>dV!zQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV?QV!yU'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR?nY'TP$^QOY$zYZ%fZz$zz{@^{!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR@eW$_Q'TPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRAUY$[Q'TPOY$zYZ%fZ{$z{|At|!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRA{V%TQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRBiV#OQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_CXZ$[Q%^W'TPOY$zYZ%fZ}$z}!OAt!O!^$z!^!_%k!_!`6U!`!aCz!a;'S$z;'S;=`&W<%lO$zVDRV#aU'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVDo['TP$]QOY$zYZ%fZ!O$z!O!PEe!P!Q$z!Q![Fs![!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVEjX'TPOY$zYZ%fZ!O$z!O!PFV!P!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVF^V#VU'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRFz_'TP%XQOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#SJc#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zRHO]'TPOY$zYZ%fZ{$z{|Hw|}$z}!OHw!O!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRH|X'TPOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRIpZ'TP%XQOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_#R$z#R#SHw#S;'S$z;'S;=`&W<%lO$zRJhX'TPOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_K[['TP$^QOY$zYZ%fZz$zz{LQ{!P$z!P!Q,o!Q!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$z_LVX'TPOYLQYZLrZzLQz{N_{!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQ_LwT'TPOzMWz{Mj{;'SMW;'S;=`NX<%lOMW^MZTOzMWz{Mj{;'SMW;'S;=`NX<%lOMW^MmVOzMWz{Mj{!PMW!P!QNS!Q;'SMW;'S;=`NX<%lOMW^NXO!f^^N[P;=`<%lMW_NdZ'TPOYLQYZLrZzLQz{N_{!PLQ!P!Q! V!Q!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQ_! ^V!f^'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_! vZOYLQYZLrZzLQz{N_{!aLQ!a!bMW!b;'SLQ;'S;=`!!i<%l~LQ~OLQ~~%f_!!lP;=`<%lLQZ!!vm'TP%WYOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!d$z!d!e!&o!e!g$z!g!hGy!h!q$z!q!r!(a!r!z$z!z!{!){!{#R$z#R#S!%}#S#U$z#U#V!&o#V#X$z#X#YGy#Y#c$z#c#d!(a#d#l$z#l#m!){#m;'S$z;'S;=`&W<%lO$zZ!$xa'TP%WYOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#S!%}#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zZ!&SX'TPOY$zYZ%fZ!Q$z!Q![!$q![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!&tY'TPOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!'k['TP%WYOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_#R$z#R#S!&o#S;'S$z;'S;=`&W<%lO$zZ!(fX'TPOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!)YZ'TP%WYOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_#R$z#R#S!(a#S;'S$z;'S;=`&W<%lO$zZ!*Q]'TPOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zZ!+Q_'TP%WYOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#R$z#R#S!){#S#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zR!,WX!rQ'TPOY$zYZ%fZ![$z![!]!,s!]!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!,zV#yQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!-hV!nU'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!.S[$YQOY$zYZ%fZ!^$z!^!_!.x!_!`!/i!`!a*c!a!b!0]!b;'S$z;'S;=`&W<%l~$z~O$z~~%fR!/PW$ZQ'TPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!/pX$YQ'TPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a*c!a;'S$z;'S;=`&W<%lO$zP!0bR!jP!_!`!0k!r!s!0p#d#e!0pP!0pO!jPP!0sQ!j!k!0y#[#]!0yP!0|Q!r!s!0k#d#e!0k_!1ZX#|Y'TPOY$zYZ%fZ!^$z!^!_%k!_!`)r!`!a!1v!a;'S$z;'S;=`&W<%lO$zV!1}V#PU'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!2kX$YQ'TPOY$zYZ%fZ!^$z!^!_%k!_!`!3W!`!a!.x!a;'S$z;'S;=`&W<%lO$zR!3_V$YQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!3{[!wQ'TPOY$zYZ%fZ}$z}!O!4q!O!^$z!^!_%k!_!`$z!`!a!6P!a!b!6m!b;'S$z;'S;=`&W<%lO$zV!4vX'TPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a!5c!a;'S$z;'S;=`&W<%lO$zV!5jV#bU'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!6WV!h^'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!6tW$RQ'TPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!7eV$dQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!8Ta'aS'TP'WYOY$zYZ%fZ!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$z_!9ce'aS'TP'WYOY$zYZ%fZr$zrs!:tsw$zwx8Vx!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$zR!:{V'TP'uQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!;iV#XU'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!OZ'TPOY!=yYZ!>qZ!^!=y!^!_!@y!_#O!=y#O#P!Au#P#S!=y#S#T!CP#T;'S!=y;'S;=`!Cm<%lO!=yR!>vV'TPO#O!?]#O#P!?u#P#S!?]#S#T!@n#T;'S!?];'S;=`!@s<%lO!?]Q!?`VO#O!?]#O#P!?u#P#S!?]#S#T!@n#T;'S!?];'S;=`!@s<%lO!?]Q!?xRO;'S!?];'S;=`!@R;=`O!?]Q!@UWO#O!?]#O#P!?u#P#S!?]#S#T!@n#T;'S!?];'S;=`!@s;=`<%l!?]<%lO!?]Q!@sO%UQQ!@vP;=`<%l!?]R!@|]OY!=yYZ!>qZ!a!=y!a!b!?]!b#O!=y#O#P!Au#P#S!=y#S#T!CP#T;'S!=y;'S;=`!Cm<%l~!=y~O!=y~~%fR!AzW'TPOY!=yYZ!>qZ!^!=y!^!_!@y!_;'S!=y;'S;=`!Bd;=`<%l!?]<%lO!=yR!BgWO#O!?]#O#P!?u#P#S!?]#S#T!@n#T;'S!?];'S;=`!@s;=`<%l!=y<%lO!?]R!CWV%UQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!CpP;=`<%l!=y_!CzV!p^'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!DjY$UQ#n['TPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`#p$z#p#q!EY#q;'S$z;'S;=`&W<%lO$zR!EaV$SQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!E}V!oQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FkV$eQ'TPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[IO,CO,LO,0,1,2,3,NO],topRules:{Template:[0,73],Program:[1,241]},dynamicPrecedences:{298:1},specialized:[{term:284,get:(O,Q)=>z(O)<<1,external:z},{term:284,get:O=>AO[O]||-1}],tokenPrec:29889}),DO=t.define({name:"php",parser:KO.configure({props:[y.add({IfStatement:c({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:c({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),a=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:a?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":U({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:c({except:/^({|end(for|foreach|switch|while)\b)/})}),l.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":w,ColonBlock(O){return{from:O.from+1,to:O.to}},BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function Q$(O={}){let Q=[],i;if(O.baseLanguage!==null)if(O.baseLanguage)i=O.baseLanguage;else{let a=Z({matchClosingTags:!1});Q.push(a.support),i=a.language}return new R(DO.configure({wrap:i&&s(a=>a.type.isTop?{parser:i.parser,overlay:P=>P.name=="Text"}:null),top:O.plain?"Program":"Template"}),Q)}export{Q$ as php,DO as phpLanguage}; diff --git a/web-dist/js/chunks/index-D7U-DVxL.mjs.gz b/web-dist/js/chunks/index-D7U-DVxL.mjs.gz new file mode 100644 index 0000000000..80d2c534dd Binary files /dev/null and b/web-dist/js/chunks/index-D7U-DVxL.mjs.gz differ diff --git a/web-dist/js/chunks/index-D7lBHWQJ.mjs b/web-dist/js/chunks/index-D7lBHWQJ.mjs new file mode 100644 index 0000000000..f78cea903a --- /dev/null +++ b/web-dist/js/chunks/index-D7lBHWQJ.mjs @@ -0,0 +1,7 @@ +import{e as s,E as R,h as Y,C as x,s as w,t as O,a as d,b as k,d as h,L as f,i as u,j as y,c as l,k as g,f as j,l as U,g as G,m as X,N as b,I as Z}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const _=177,q=179,E=184,v=12,C=13,D=17,z=20,F=25,B=53,N=95,I=142,L=144,A=145,J=148,M=10,H=13,K=32,OO=9,$=47,QO=41,eO=125,aO=new R((Q,e)=>{for(let n=0,a=Q.next;(e.context&&(a<0||a==M||a==H||a==$&&Q.peek(n+1)==$)||a==QO||a==eO)&&Q.acceptToken(_),!(a!=K&&a!=OO);)a=Q.peek(++n)},{contextual:!0});let tO=new Set([N,E,z,v,D,L,A,I,J,C,B,F]);const iO=new x({start:!1,shift:(Q,e)=>e==q?Q:tO.has(e)}),XO=w({"func interface struct chan map const type var":O.definitionKeyword,"import package":O.moduleKeyword,"switch for go select return break continue goto fallthrough case if else defer":O.controlKeyword,range:O.keyword,Bool:O.bool,String:O.string,Rune:O.character,Number:O.number,Nil:O.null,VariableName:O.variableName,DefName:O.definition(O.variableName),TypeName:O.typeName,LabelName:O.labelName,FieldName:O.propertyName,"FunctionDecl/DefName":O.function(O.definition(O.variableName)),"TypeSpec/DefName":O.definition(O.typeName),"CallExpr/VariableName":O.function(O.variableName),LineComment:O.lineComment,BlockComment:O.blockComment,LogicOp:O.logicOperator,ArithOp:O.arithmeticOperator,BitOp:O.bitwiseOperator,"DerefOp .":O.derefOperator,"UpdateOp IncDecOp":O.updateOperator,CompareOp:O.compareOperator,"= :=":O.definitionOperator,"<-":O.operator,'~ "*"':O.modifier,"; ,":O.separator,"... :":O.punctuation,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),nO={__proto__:null,package:10,import:18,true:380,false:380,nil:383,struct:48,func:68,interface:78,chan:94,map:118,make:157,new:159,const:204,type:212,var:224,if:236,else:238,switch:242,case:248,default:250,for:260,range:266,go:270,select:274,return:284,break:288,continue:290,goto:292,fallthrough:296,defer:300},PO=s.deserialize({version:14,states:"!=xO#{QQOOP$SOQOOO&UQTO'#CbO&]QRO'#FlO]QQOOOOQP'#Cn'#CnOOQP'#Co'#CoO&eQQO'#C|O(kQQO'#C{O)]QRO'#GiO+tQQO'#D_OOQP'#Ge'#GeO+{QQO'#GeO.aQTO'#GaO.hQQO'#D`OOQP'#Gm'#GmO.mQRO'#GdO/hQQO'#DgOOQP'#Gd'#GdO/uQQO'#DrO2bQQO'#DsO4QQTO'#GqO,^QTO'#GaO4XQQO'#DxO4^QQO'#D{OOQO'#EQ'#EQOOQO'#ER'#EROOQO'#ES'#ESOOQO'#ET'#ETO4cQQO'#EPO5}QQO'#EPOOQP'#Ga'#GaO6UQQO'#E`O6^QQO'#EcOOQP'#G`'#G`O6cQQO'#EsOOQP'#G_'#G_O&]QRO'#FnOOQO'#Fn'#FnO9QQQO'#G^QOQQOOO&]QROOO9XQQO'#C`O9^QSO'#CdO9lQQO'#C}O9tQQO'#DSO9yQQO'#D[O:kQQO'#CsO:pQQO'#DhO:uQQO'#EeO:}QQO'#EiO;VQQO'#EoO;_QQO'#EuOPQSO7+%hOOQP7+%h7+%hO4cQQO7+%hOOQP1G0Q1G0QO!>^QQO1G0QOOQP1G0U1G0UO!>fQQO1G0UOF|QQO1G0UOOQO,5nAN>nO4cQQOAN>nO!IsQSOAN>nOOQP<nQQO'#FrOOQO,5vAN>vO!LtQQOAN>vP.hQQO'#F|OOQPG25XG25XO!LyQQOG25bO!MOQQO'#FPOOQPG25bG25bO!MZQQOG25bOOQPLD)tLD)tOOQPG24bG24bO!JqQQOLD*|O!9OQQO'#GQO!McQQO,5;kOOQP,5;k,5;kO?tQQO'#FQO!MnQQO'#FQO!MsQQOLD*|OOQP!$'Nh!$'NhOOQO,5VO^!hOh!POr-TOw}O!P-_O!Q-`O!W-^O!]-eO%O!eO%Y!fO~OZ!sO~O^#uO~O!P$xO~On!lO#W%]aV%]a^%]ah%]ar%]aw%]a!P%]a!Q%]a!W%]a!]%]a#T%]a$w%]a%O%]a%Y%]au%]a~O]${O^#QO~OZ#RO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O]$|O!|,WO~PBROj!qOn%QO!QnOi%cP~P*aO!V%WO!|#`O~PBRO!V%YO~OV!}O[oO^YOaoOdoOh!POjcOr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO#Y!RO#^!SO#d!TO#j!UO#m!VO#v!WO#{!XO#}!YO$S!ZO$U![O$V![O$W!]O$Y!^O$[!_O%OQO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~Oi%dX#p%dX#q%dX~PDQOi%]O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-QO!WaO!]!QO!phO!qhO%O+{O%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^%aO%O%_O~O!QnO!a%cO~P*aO!QnOn$mX#T$mX#U$mXV$mX$w$mX!a$mX~P*aOn#TO#T%ea#U%eaV%ea$w%ea!a%ea~O]%fO~PF|OV#ga$w#ga~PDTO[%sO~OZ#rO[#qO]%vO%O#oO~O^!hOh!POn%zOr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO]%[P~O^&OOh!POr!jOw}O!P!OO!Q!kO!WaO!]!QO%Y!fO^%ZXj%ZX~O%O%}O~PKfOjcO^qa]qanqa!Vqa~O^#uO!W&SO~O^!hOh!POr-TOw}O{&WO!P-_O!Q-`O!W-^O!]-eO%O,xO%Y!fO~Oi&^O~PL{O^!hOh!POr!jOw}O!Q!kO!WaO!]!QO%O!eO%Y!fO~O!P#hO~PMwOi&eO%O,yO%Y!fO~O#T&gOV#ZX$w#ZX~P?tO]&kO%O#oO~O^!hOh!POr-TOw}O!P-_O!Q-`O!]-eO%O!eO%Y!fO~O!W&lO#T&mO~P! _O]&qO%O#oO~O#T&sOV#eX$w#eX~P?tO]&vO%O#oO~OjeX~P$XOjcO!|,XO~P2gOn!lO#W&yO#W%]X~O^#VOn#TO!Q#cO!W#SO!|,XO#R#dO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]OV`X#T%eX#U%eX~OZ&zOj$`O$w`X~P!#cOi'OO#p'PO#q'QO~OZ#ROjcO~P!#cO#T'TO#U#iO~O#W'UO~OV'WO!QnO~P*aOV'XO~OjcO~O!|#`OV#za$w#za~PBROi'[O#p']O#q'^O~On#TO!|#`OV%eX$w%eX!a%eX~PBRO!|#`OV$Za$w$Za~PBRO${$rO$|$rO$}'`O~O]${O~O%O!eO]%ZXn%ZX!V%ZX~PKfO!|#`Oi!_Xn!_X!a!`X~PBROi!_Xn!_X!a!`X~O!a'aO~On'bOi%cX~Oi'dO~On'eO!V%bX!a%bX~O!V'gO~O]'jOn'kO!|,YO~PBROn'nO!V'mO!a'oO!|#`O~PBRO!QnO!V'qO!a'rO~P*aO!|#`On$ma#T$ma#U$maV$ma$w$ma!a$ma~PBRO]'sOu'tO~O%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi!|!xi#R!xi#T!xi#U!xi$w!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~O!V!xii!xi!a!xi~P!+YO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi!V!xii!xi!a!xi~O!|!xi~P!-TO!|#`O~P!-TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%q!xi~O!|#`O!V!xii!xi!a!xi~P!/VO!|#`OV#Pi$w#Pi!a#Pi~PBRO]'uOn'wOu'vO~OZ#rO[#qO]'zO%O#oO~Ou'|O~P?tOn'}O]%[X~O](PO~OZeX^mX^!TXj!TX!W!TX~OjcOV$]i$w$]i~O%`(ZOV%^X$w%^Xn%^X!V%^X~Oi(`O~PL{O[(aO!W!tOVlX$wlX~On(bO~P?tO[(aOVlX$wlX~Oi(hO%O,yO%Y!fO~O!V(iO~O#T(kO~O](nO%O#oO~O[oO^YOaoOdoOh!POr!pOu-bOw}O!P!OO!QnO!V-UO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O+zO~P!4vO](sO%O#oO~O#T(tOV#ea$w#ea~O](xO%O#oO~O#k(yOV#ii$w#ii~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-PO!WaO!]!QO!phO!qhO%O+xO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^(|O%O%_O~O#p%dP#q%dP~P/uOi)PO#p'PO#q'QO~O!a)RO~O!QnO#y)VO~P*aOV)WO!|#`O~PBROj#wa~P;_OV)WO!QnO~P*aOi)]O#p']O#q'^O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O,eO~P!:lO!a)bO~Oj!qO!QnO~P*aOj!qO!QnOi%ca~P*aOn)iOi%ca~O!V%ba!a%ba~P?tOn)lO!V%ba!a%ba~O])nO~O])oO~O!V)pO~O!QnO!V)rO!a)sO~P*aO!V)rO!a)sO!|#`O~PBRO])uOn)vO~O])wOn)xO~O^!hOh!POr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO~O]%[a~P!>nOn)|O]%[a~O]${O]tXntX~OjcOV$^q$w$^q~On*PO{&WO~P?tOn*SO!V%rX~O!V*UO~OjcOV$]q$w$]q~O%`(ZOV|a$w|an|a!V|a~O[*]OVla$wla~O[*]O!W!tOVla$wla~On*PO{&WO!W*`O^%WXj%WX~P! _OjcO#j!UO~OjcO!|,XO~PBROZ*dO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O!|#`O~P!BoO#^*eO~P?tO!a*fO~Oj$`O!|,XO~P!BoO#W*hO~Oj#wi~P;_OV*kO!|#`O~PBROn#TO!Q#cO!|#`O!a$QX#T%eX~PBRO#T*lO~O#W*lO~O!a*mO~O!|#`Oi!_in!_i~PBRO!|#`Oi!bXn!bX!a!cX~PBROi!bXn!bX!a!cX~O!a*nO~Oj!qO!QnOi%ci~P*aO!V%bi!a%bi~P?tO!V*qO!a*rO!|#`O~PBRO!V*qO!|#`O~PBRO]*tO~O]*uO~O]*uOu*vO~O]%[i~P!>nO%O!eO!V%ra~On*|O!V%ra~O[+OOVli$wli~O%O+yO~P!4vO#k+QOV#iy$w#iy~O^+RO%O%_O~O]+SO~O!|,XOj#xq~PBROj#wq~P;_O!V+ZO!|#`O~PBRO]+[On+]O~O%O!eO!V%ri~O^#QOn'eO!V%bX~O#^+`O~P?tOj+aO~O^#VO!W#SO!|#`O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~OZ+cO~P!JvO!|#`O!a$Qi~PBRO!|#`Oi!bin!bi~PBRO!V+dO!|#`O~PBRO]+eO~O]+fO~Oi+iO#p+jO#q+kO~O^+lO%O%_O~Oi+pO#p+jO#q+kO~O!a+rO~O#^+sO~P?tO!a+tO~O]+uO~OZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXVeXneX!QeX#ReX#TeX#UeX$weX~O]eX]!TX!VeXieX!aeX~P!NUOjeX~P!NUOZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXn!TX!VeX~O]eX!V!TX~P#!gOh!TXr!TXw!TX{!TX!P!TX!Q!TX!]!TX%O!TX%Y!TX~P#!gOZeX^eX^!TXj!TXneX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeX~O]eXueX~P#$xO]$mXn$mXu$mX~PF|Oj$mXn$mX~P!7`On+|O]%eau%ea~On+}Oj%ea~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-OO!WaO!]!QO!phO!qhO%O+yO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~OZeX]!TX^UXhUXnUXn!TXrUXuUXwUX!PUX!QUX!WUX!W!TX!]UX%OUX%YUX~OnUX!QeX!aeX#TeX#WUX~P#$xOn+|O!|,YO]%eXu%eX~PBROn+}O!|,XOj%eX~PBRO^&OOV%ZXj%ZX$w%ZX]%ZXn%ZX!V%ZXu%ZX%`%ZX#T%ZX[%ZX!a%ZX~P?wO!|,YO]$man$mau$ma~PBRO!|,XOj$man$ma~PBRO%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~Oj!xi~P!+YOn!xiu!xi~P#,hO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%p!xi%q!xi~O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xij!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi~O!|!xi~P#/_On!xiu!xi~P#.TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi%p!xi%q!xi~O!|,WO~P#1^O!|,XO~P#/_O!|,YOn!xiu!xi~P#1^O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OZ!xi]!xi^!xi!W!xi%q!xi~O!|,WO~P#3QO!|,XOj!xi~P!/VO!|,YOn!xiu!xi~P#3QO!|,XOj#Pi~PBROV!TXZeX^mX!W!TX$w!TX~O%`!TX~P#5RO[!TXhmXnmXrmXwmX!PmX!QmX!WmX!]mX%OmX%YmX~P#5ROn#TO!Q,aO!|,XO#R#dOj`X#T%eX#U%eX~PBRO[oO^YOaoOdoOh!POr!pOw}O!P#hO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O!Q-OO%O+yO~P#6{O!Q-PO%O+xO~P#6{O!Q-QO%O+{O~P#6{O#T,bO#U,bO~O#W,cO~O^!hOh!POr-TOw}O!P-_O!Q-WO!W-^O!]-eO%O!eO%Y!fO~O^!hOh!POr-TOw}O!Q-`O!W-^O!]-eO%O!eO%Y!fO~O!P-VO~P#9zO%O+wO~P!4vO!P-XO~O!V-YO!|#`O~PBRO!V-ZO~O!V-[O~O!W-dO~OP%ka%Oa~",goto:"!FW%sPP%tP%wP%zP'SP'XPPPP'`'cP'u'uP)w'u-_PPP0j0m0qP1V4b1VP7s8WP1VP8a8d8hP8p8w1VPP1V8{<`?vPPCY-_-_-_PCdCuCxPC{DQ'u'uDV'uES'u'u'u'uGUIW'uPPJR'uJUMjMjMj'u! r! r!#SP!$`!%d!&d'cP'cPP'cP!&yP!'V!'^!&yP!'a!'h!'n!'w!&yP!'z!(R!&y!(U!(fPP!&yP!(x!)UPP!&y!)Y!)c!&yP!)g!)gP!&yP!&yP!)j!)m!&v!&yP!&yPPP!&yP!&yP!)q!)q!)w!)}!*U!*[!*d!*j!*p!*w!*}!+T!+Z!.q!.x!/O!/X!/m!/s!/z!0Q!0W!0^!0d!0jPPPPPPPPP!0p!1f!1k!1{!2kPP!7P!:^P!>u!?Z!?_!@Z!@fP!@p!D_!Df!Di!DuPPPPPPPPPPPP!FSR!aPRyO!WXOScw!R!T!U!W#O#k#n#u$R$X&O&j&u&|'W'Y']'})W)|*k*w+gQ#pzU#r{#s%uQ#x|U$T!S$U&pQ$^!VQ$y!lR)U'RVROS#nQ#t{T%t#s%uR#t{qrOScw!U!V!W#O#k#n&|'W'Y)W*k+g%PoOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%O]OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^#u!iW^!O!h!t!z#e#h#u#v#y#|#}$P$Q$T$W$v$x%W%Y%a%x%y&O&S&W&]&`&b&d&m'e'|'}(S([(c(i(o(|)l)|*P*Q*S*p*w*|+R+^+j+l,h-U-V-W-X-Y-Z-[-]-_-d'cbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR$O!PT&c#}&dW%`#R&z*d+cQ&Q#vS&V#y&]S&`#}&dR*Y(b'cZOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d%fWOSWYacmnw!O!U!V!W!X!Z!_!q!z#O#Q#S#T#V#^#_#`#a#b#c#h#i#j#k#n#v#|$f$v$x%W%Y%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(i(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S&b#}&d!{-]!h!t#e#u#y$P$Q$T$W%a%x%y&O&W&]&`&m'e'|'}(S([(c(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-dQ#v|S$v!j!pU&P#v$v,hZ,h#x&Q&U&V-TS%{#u&OV){'})|*wR#z}T&[#y&]]&X#y&](S([(o*QZ&Z#y&](S(o*QT([&Y(]'s_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d'r_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!w^'bbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&a#}&dR(d&bS!u]fX!x`&_(e(oQ!r[Q%O!qQ)d'aU)f'b)i*oR+X*nR%R!qR%P!qV)h'b)i*oV)g'b)i*odtOScw#O#k#n&|'Y+gQ$h!WQ&R#wQ&w$[S'S$c$iQ(V&TQ*O(RQ*V(WQ*b(yQ*c(zR+_+Q%PfOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%PgOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^!q#Weg!o!y$[$_$c$j$m$q$}%^%b%d%m'V'p(z({)S)Y)^)c)e)q)t*i*s+T+V+W+Y,f,g,i,j,w,z-aR#fh#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z[,V%^,f,i,p,s,v`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q!Y#^e!y$j$m$q$}%b%d%i%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aY,Q!o,k,n,q,tl,R$[$_$c(z)S*i,g,j,l,o,r,u,w,z_,S%^,f,i,m,p,s,v!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z],V%^,f,i,p,s,v!S#ae!y$j$m$q$}%b%d%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aS,Z!o,tf,[$[$_$c(z)S*i,g,j,u,w,zX,]%^,f,i,v!Q#be!y$j$m$q$}%b%d%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aQ,^!od,_$[$_$c(z)S*i,g,j,w,zV,`%^,f,iprOScw!U!V!W#O#k#n&|'W'Y)W*k+gR)a']etOScw#O#k#n&|'Y+gQ$S!RT&i$R&jR$S!RQ$V!ST&o$U&pQ&U#xR&m$TS(T&S&lV*{*S*|+^R$V!SQ$Y!TT&t$X&uR$Y!TdsOScw#O#k#n&|'Y+gT$p![!]dtOScw#O#k#n&|'Y+gQ*b(yR+_+QQ$a!VQ&{$_Q)T'RR*g)ST&|$`&}Q+b+SQ+m+fR+v+uT+g+a+hR$i!WR$l!YT'Y$k'ZXuOSw#nQ$s!`R'_$sSSO#nR!dSQ%u#sR'y%uUwOS#nR#mwQ&d#}R(g&dQ(c&`R*Z(cS!mX$^R$z!mQ(O%{R)}(OQ&]#yR(_&]Q(]&YR*X(]'r^OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!v^S'f%T+PR)m'fQ'c%RR)j'cW#Oc&|'Y+gR%[#O^#Ue$[$_$c$m)^,zU%e#U,O,PQ,O,fR,P,gQ&j$RR(m&jS*Q(S(oR*y*QQ*T(TR*}*TQ&p$UR(r&pQ&u$XR(w&uQ&}$`R)O&}Q+h+aR+o+hQ'Z$kR)['ZQ!cRQ#luQ#nyQ%Z!|Q&x$]Q'R$bQ'x%tQ(^&[Q(f&cQ(l&iQ(q&oR(v&tVxOS#nWuOSw#nY!|c#O&|'Y+gR%r#kdtOScw#O#k#n&|'Y+gQ$]!UQ$b!VQ$g!WQ)X'WQ*j)WR+U*kdeOScw#O#k#n&|'Y+gQ!oYQ!ya`#gmn,{,|,}-O-P-QQ$[!UQ$_!VQ$c!WQ$j!Xd$m!Z#i#j&g&s'P'T'U(k(tQ$q!_Q$}!qQ%^#QQ%b#SQ%d#TW%h#^,Q,R,SQ%i#_Q%j#`Q%k#aQ%l#bQ%m#cQ'V$fQ'p%cQ(z&xQ({&yQ)S'RQ)Y'XQ)^']Q)c'aU)e'b)i*oQ)q'oQ)t'rQ*i)VQ*s)sQ+T*hQ+V*lQ+W*nQ+Y*rS,f#V'wS,g,b,cQ,i+|Q,j+}Q,k,TQ,l,UQ,m,VQ,n,WQ,o,XQ,p,YQ,q,ZQ,r,[Q,s,]Q,t,^Q,u,_Q,v,`Q,w,aU,z'W)W*kV-a&l*`-^#bZW!O!h!t!z#e#h#u#v#y#|$P$Q$T$W$v$x%W%Y%a%x%y&O&W&]&`&m'e'|'}(S([(c(i(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-d%P[OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^$zdOSacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S!gW-]Q!nYS#{!O-_Q$u!hS%T!t+jS%X!z-UQ%n#e[%o#h#|$x-V-W-XW%w#u'})|*wU&P#v$v,h[&X#y&](S([(o*QQ&f$PQ&h$QQ&n$TQ&r$WS'h%W-YS'i%Y-ZW'l%a(|+R+lS'{%x%yQ(Q&OQ(Y&WQ(d&`Q(p&mU)k'e)l*pQ)z'|Q*[(cS*^(i-[Q+P*`R-c-dS#w|!pS$w!j-TQ&T#xQ(R&QQ(W&UR(X&VT%|#u&OhqOScw!U!V#O#k#n&|'Y+gU$Q!R$R&jU$W!T$X&uQ$e!WY%y#u&O'})|*wQ)`']V-S'W)W*kS&[#y&]S*R(S(oR*z*QY&Y#y&](S(o*QR*W(['``OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&_#}&dW(S&S*S*|+^Q(e&bQ(o&lR*x*PS%U!t*`R+q+jR%S!qQ#PcQ(}&|Q)Z'YR+n+ghpOScw!U!V#O#k#n&|'Y+gQ$d!WQ$n!ZQ%g#VU%p#i'T,bU%q#j'U,cQ(j&gQ(u&sQ)Q'PQ)_']Q)y'wQ*_(kQ*a(tV-R'W)W*kT(U&S&l",nodeNames:"⚠ LineComment BlockComment SourceFile PackageClause package DefName ; ImportDecl import ImportSpec . String ) ( SpecList ExprStatement Number Bool Nil Rune VariableName TypedLiteral StructType struct } { StructBody FieldDecl FieldName , PointerType * FunctionType func Parameters Parameter ... InterfaceType interface InterfaceBody MethodElem UnderlyingType ~ TypeElem LogicOp ChannelType chan <- ParenthesizedType QualifiedType TypeName ParameterizedType ] [ TypeArgs ArrayType SliceType MapType map LiteralValue Element Key : Element Key ParenthesizedExpr FunctionLiteral Block Conversion SelectorExpr IndexExpr SliceExpr TypeAssertion CallExpr ParameterizedExpr Arguments CallExpr make new Arguments UnaryExp ArithOp LogicOp BitOp DerefOp BinaryExp ArithOp BitOp BitOp CompareOp LogicOp LogicOp SendStatement IncDecStatement IncDecOp Assignment = UpdateOp VarDecl := ConstDecl const ConstSpec SpecList TypeDecl type TypeSpec TypeParams TypeParam SpecList VarDecl var VarSpec SpecList LabeledStatement LabelName IfStatement if else SwitchStatement switch SwitchBlock Case case default TypeSwitchStatement SwitchBlock Case ForStatement for ForClause RangeClause range GoStatement go SelectStatement select SelectBlock Case ReceiveStatement ReturnStatement return GotoStatement break continue goto FallthroughStatement fallthrough DeferStatement defer FunctionDecl MethodDecl",maxTerm:218,context:iO,nodeProps:[["isolate",-3,2,12,20,""],["group",-18,12,17,18,19,20,21,22,66,67,69,70,71,72,73,74,77,81,86,"Expr",-20,16,68,93,94,96,99,101,105,111,115,117,120,126,129,134,136,141,143,147,149,"Statement",-12,23,31,33,38,46,49,50,51,52,56,57,58,"Type"],["openedBy",13,"(",25,"{",53,"["],["closedBy",14,")",26,"}",54,"]"]],propSources:[XO],skippedNodes:[0,1,2,153],repeatNodeCount:23,tokenData:":b~RvXY#iYZ#i]^#ipq#iqr#zrs$Xuv&Pvw&^wx&yxy(qyz(vz{({{|)T|})e}!O)j!O!P)u!P!Q+}!Q!R,y!R![-t![!]2^!]!^2k!^!_2p!_!`3]!`!a3e!c!}3x!}#O4j#P#Q4o#Q#R4t#R#S4|#S#T9X#T#o3x#o#p9q#p#q9v#q#r:W#r#s:]$g;'S3x;'S;=`4d<%lO3x~#nS$y~XY#iYZ#i]^#ipq#iU$PP%hQ!_!`$SS$XO!|S~$^W[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y<%lO$X~${O[~~%ORO;'S$X;'S;=`%X;=`O$X~%^X[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y;=`<%l$X<%lO$X~%|P;=`<%l$X~&UP%l~!_!`&X~&^O#U~~&cR%j~vw&l!_!`&X#Q#R&q~&qO%p~~&vP%o~!_!`&X~'OWd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k<%lO&y~'mOd~~'pRO;'S&y;'S;=`'y;=`O&y~(OXd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k;=`<%l&y<%lO&y~(nP;=`<%l&y~(vO^~~({O]~~)QP%Y~!_!`&X~)YQ%f~{|)`!_!`&X~)eO#R~~)jOn~~)oQ%g~}!O)`!_!`&X~)zRZS!O!P*T!Q![*`#R#S+w~*WP!O!P*Z~*`Ou~Q*eTaQ!Q![*`!g!h*t#R#S+w#X#Y*t#]#^+rQ*wS{|+T}!O+T!Q![+^#R#S+lQ+WQ!Q![+^#R#S+lQ+cRaQ!Q![+^#R#S+l#]#^+rQ+oP!Q![+^Q+wOaQQ+zP!Q![*`~,SR%k~z{,]!P!Q,b!_!`&X~,bO$z~~,gSP~OY,bZ;'S,b;'S;=`,s<%lO,b~,vP;=`<%l,bQ-O[aQ!O!P*`!Q![-t!d!e.c!g!h*t!q!r/Z!z!{/x#R#S.]#U#V.c#X#Y*t#]#^+r#c#d/Z#l#m/xQ-yUaQ!O!P*`!Q![-t!g!h*t#R#S.]#X#Y*t#]#^+rQ.`P!Q![-tQ.fR!Q!R.o!R!S.o#R#S/QQ.tSaQ!Q!R.o!R!S.o#R#S/Q#]#^+rQ/TQ!Q!R.o!R!S.oQ/^Q!Q!Y/d#R#S/rQ/iRaQ!Q!Y/d#R#S/r#]#^+rQ/uP!Q!Y/dQ/{T!O!P0[!Q![1c!c!i1c#R#S2Q#T#Z1cQ0_S!Q![0k!c!i0k#R#S1V#T#Z0kQ0pVaQ!Q![0k!c!i0k!r!s*t#R#S1V#T#Z0k#]#^+r#d#e*tQ1YR!Q![0k!c!i0k#T#Z0kQ1hWaQ!O!P0k!Q![1c!c!i1c!r!s*t#R#S2Q#T#Z1c#]#^+r#d#e*tQ2TR!Q![1c!c!i1c#T#Z1c~2cP!a~!_!`2f~2kO#W~~2pOV~~2uR!|S}!O3O!^!_3T!_!`$S~3TO!Q~~3YP%m~!_!`&X~3bP#T~!_!`$S~3jQ!|S!_!`$S!`!a3p~3uP%n~!_!`&X~3}V%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~4gP;=`<%l3x~4oO!W~~4tO!V~~4yP%i~!_!`&X~5RV%O~!Q![5h!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~5o^aQ%O~!O!P*`!Q![5h!c!g3x!g!h6k!h!}3x#R#S4|#T#X3x#X#Y6k#Y#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~6pX%O~{|+T}!O+T!Q![7]!c!}3x#R#S8P#T#o3x$g;'S3x;'S;=`4d<%lO3x~7dXaQ%O~!Q![7]!c!}3x#R#S8P#T#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~8UV%O~!Q![7]!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~8rVaQ%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~9[TO#S9X#S#T$v#T;'S9X;'S;=`9k<%lO9X~9nP;=`<%l9X~9vOj~~9{Q%`~!_!`&X#p#q:R~:WO%q~~:]Oi~~:bO{~",tokenizers:[aO,1,2,new Y("j~RQYZXz{^~^O$|~~aP!P!Qd~iO$}~~",25,181)],topRules:{SourceFile:[0,3]},dynamicPrecedences:{19:1,51:-1,55:2,69:-1,108:-1},specialized:[{term:184,get:Q=>nO[Q]||-1}],tokenPrec:5451}),oO=[X("func ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"declaration",type:"keyword"}),X("func (${receiver}) ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"method declaration",type:"keyword"}),X("var ${name} = ${value}",{label:"var",detail:"declaration",type:"keyword"}),X("type ${name} ${type}",{label:"type",detail:"declaration",type:"keyword"}),X("const ${name} = ${value}",{label:"const",detail:"declaration",type:"keyword"}),X("type ${name} = ${type}",{label:"type",detail:"alias declaration",type:"keyword"}),X("for ${init}; ${test}; ${update} {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),X("for ${i} := range ${value} {\n ${}\n}",{label:"for",detail:"range",type:"keyword"}),X(`select { + \${} +}`,{label:"select",detail:"statement",type:"keyword"}),X("case ${}:\n${}",{label:"case",type:"keyword"}),X("switch ${} {\n ${}\n}",{label:"switch",detail:"statement",type:"keyword"}),X("switch ${}.(${type}) {\n ${}\n}",{label:"switch",detail:"type statement",type:"keyword"}),X("if ${} {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),X(`if \${} { + \${} +} else { + \${} +}`,{label:"if",detail:"/ else block",type:"keyword"}),X('import ${name} "${module}"\n${}',{label:"import",detail:"declaration",type:"keyword"})],S=new b,T=new Set(["SourceFile","Block","FunctionDecl","MethodDecl","FunctionLiteral","ForStatement","SwitchStatement","TypeSwitchStatement","IfStatement"]);function o(Q,e){return(n,a)=>{O:for(let t=n.node.firstChild,c=0,i=null;;){for(;!t;){if(!c)break O;c--,t=i.nextSibling,i=i.parent}e&&t.name==e||t.name=="SpecList"?(c++,i=t,t=t.firstChild):(t.name=="DefName"&&a(t,Q),t=t.nextSibling)}return!0}}const cO={FunctionDecl:o("function"),VarDecl:o("var","VarSpec"),ConstDecl:o("constant","ConstSpec"),TypeDecl:o("type","TypeSpec"),ImportDecl:o("constant","ImportSpec"),Parameter:o("var"),__proto__:null};function m(Q,e){let n=S.get(e);if(n)return n;let a=[],t=!0;function c(i,P){let V=Q.sliceString(i.from,i.to);a.push({label:V,type:P})}return e.cursor(Z.IncludeAnonymous).iterate(i=>{if(t)t=!1;else if(i.name){let P=cO[i.name];if(P&&P(i,c)||T.has(i.name))return!1}else if(i.to-i.from>8192){for(let P of m(Q,i.node))a.push(P);return!1}}),S.set(e,a),a}const p=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,W=["String","LineComment","BlockComment","DefName","LabelName","FieldName",".","?."],rO=Q=>{let e=G(Q.state).resolveInner(Q.pos,-1);if(W.indexOf(e.name)>-1)return null;let n=e.name=="VariableName"||e.to-e.from<20&&p.test(Q.state.sliceDoc(e.from,e.to));if(!n&&!Q.explicit)return null;let a=[];for(let t=e;t;t=t.parent)T.has(t.name)&&(a=a.concat(m(Q.state.doc,t)));return{options:a,from:n?e.from:Q.pos,validFor:p}},r=f.define({name:"go",parser:PO.configure({props:[u.add({IfStatement:l({except:/^\s*({|else\b)/}),LabeledStatement:y,"SwitchBlock SelectBlock":Q=>{let e=Q.textAfter,n=/^\s*\}/.test(e),a=/^\s*(case|default)\b/.test(e);return Q.baseIndent+(n||a?0:Q.unit)},Block:g({closing:"}"}),BlockComment:()=>null,Statement:l({except:/^{/})}),j.add({"Block SwitchBlock SelectBlock LiteralValue InterfaceType StructType SpecList":U,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case\b|default\b|\})$/}});let lO=Q=>({label:Q,type:"keyword"});const $O="interface struct chan map package go return break continue goto fallthrough else defer range true false nil".split(" ").map(lO);function VO(){let Q=oO.concat($O);return new d(r,[r.data.of({autocomplete:k(W,h(Q))}),r.data.of({autocomplete:rO})])}export{VO as go,r as goLanguage,rO as localCompletionSource,oO as snippets}; diff --git a/web-dist/js/chunks/index-D7lBHWQJ.mjs.gz b/web-dist/js/chunks/index-D7lBHWQJ.mjs.gz new file mode 100644 index 0000000000..0e13b9be1d Binary files /dev/null and b/web-dist/js/chunks/index-D7lBHWQJ.mjs.gz differ diff --git a/web-dist/js/chunks/index-DMaaPvP_.mjs b/web-dist/js/chunks/index-DMaaPvP_.mjs new file mode 100644 index 0000000000..efc60c0f13 --- /dev/null +++ b/web-dist/js/chunks/index-DMaaPvP_.mjs @@ -0,0 +1 @@ +import{e as G,E as A,C as N,s as I,t as p,n as Y,g as k,o as j,a as U,L as Z,i as B,f as D,u as M}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const h=1,F=2,L=3,K=4,H=5,J=36,ee=37,te=38,Oe=11,oe=13;function re(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function ne(e){return e==9||e==10||e==13||e==32}let Q=null,V=null,X=0;function W(e,t){let o=e.pos+t;if(V==e&&X==o)return Q;for(;ne(e.peek(t));)t++;let O="";for(;;){let r=e.peek(t);if(!re(r))break;O+=String.fromCharCode(r),t++}return V=e,X=o,Q=O||null}function _(e,t){this.name=e,this.parent=t}const ae=new N({start:null,shift(e,t,o,O){return t==h?new _(W(O,1)||"",e):e},reduce(e,t){return t==Oe&&e?e.parent:e},reuse(e,t,o,O){let r=t.type.id;return r==h||r==oe?new _(W(O,1)||"",e):e},strict:!1}),le=new A((e,t)=>{if(e.next==60){if(e.advance(),e.next==47){e.advance();let o=W(e,0);if(!o)return e.acceptToken(H);if(t.context&&o==t.context.name)return e.acceptToken(F);for(let O=t.context;O;O=O.parent)if(O.name==o)return e.acceptToken(L,-2);e.acceptToken(K)}else if(e.next!=33&&e.next!=63)return e.acceptToken(h)}},{contextual:!0});function y(e,t){return new A(o=>{let O=0,r=t.charCodeAt(0);e:for(;!(o.next<0);o.advance(),O++)if(o.next==r){for(let a=1;a"),ie=y(ee,"?>"),ce=y(te,"]]>"),me=I({Text:p.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":p.angleBracket,TagName:p.tagName,"MismatchedCloseTag/TagName":[p.tagName,p.invalid],AttributeName:p.attributeName,AttributeValue:p.attributeValue,Is:p.definitionOperator,"EntityReference CharacterReference":p.character,Comment:p.blockComment,ProcessingInst:p.processingInstruction,DoctypeDecl:p.documentMeta,Cdata:p.special(p.string)}),$e=G.deserialize({version:14,states:",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G.xOOOS-E6|-E6|OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'mO!bO,59eOOOO-E6w-E6wO'{OpO1G.uO'{OpO1G.uOOOP1G.u1G.uO(TOpO7+$fOOOP7+$f7+$fO(]O!bO<c!|;'S(o;'S;=`)]<%lO(oi>jX|W!O`Or(ors&osv(owx'}x!r(o!r!s?V!s;'S(o;'S;=`)]<%lO(oi?^X|W!O`Or(ors&osv(owx'}x!g(o!g!h?y!h;'S(o;'S;=`)]<%lO(oi@QY|W!O`Or?yrs@psv?yvwA[wxBdx!`?y!`!aCr!a;'S?y;'S;=`Db<%lO?ya@uV!O`Ov@pvxA[x!`@p!`!aAy!a;'S@p;'S;=`B^<%lO@pPA_TO!`A[!`!aAn!a;'SA[;'S;=`As<%lOA[PAsOiPPAvP;=`<%lA[aBQSiP!O`Ov&ox;'S&o;'S;=`'Q<%lO&oaBaP;=`<%l@pXBiX|WOrBdrsA[svBdvwA[w!`Bd!`!aCU!a;'SBd;'S;=`Cl<%lOBdXC]TiP|WOr'}sv'}w;'S'};'S;=`(c<%lO'}XCoP;=`<%lBdiC{ViP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiDeP;=`<%l?yiDoZ|W!O`Or(ors&osv(owx'}x!e(o!e!fEb!f#V(o#V#WIr#W;'S(o;'S;=`)]<%lO(oiEiX|W!O`Or(ors&osv(owx'}x!f(o!f!gFU!g;'S(o;'S;=`)]<%lO(oiF]X|W!O`Or(ors&osv(owx'}x!c(o!c!dFx!d;'S(o;'S;=`)]<%lO(oiGPX|W!O`Or(ors&osv(owx'}x!v(o!v!wGl!w;'S(o;'S;=`)]<%lO(oiGsX|W!O`Or(ors&osv(owx'}x!c(o!c!dH`!d;'S(o;'S;=`)]<%lO(oiHgX|W!O`Or(ors&osv(owx'}x!}(o!}#OIS#O;'S(o;'S;=`)]<%lO(oiI]V|W!O`yPOr(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(oiIyX|W!O`Or(ors&osv(owx'}x#W(o#W#XJf#X;'S(o;'S;=`)]<%lO(oiJmX|W!O`Or(ors&osv(owx'}x#T(o#T#UKY#U;'S(o;'S;=`)]<%lO(oiKaX|W!O`Or(ors&osv(owx'}x#h(o#h#iK|#i;'S(o;'S;=`)]<%lO(oiLTX|W!O`Or(ors&osv(owx'}x#T(o#T#UH`#U;'S(o;'S;=`)]<%lO(oiLwX|W!O`Or(ors&osv(owx'}x#c(o#c#dMd#d;'S(o;'S;=`)]<%lO(oiMkX|W!O`Or(ors&osv(owx'}x#V(o#V#WNW#W;'S(o;'S;=`)]<%lO(oiN_X|W!O`Or(ors&osv(owx'}x#h(o#h#iNz#i;'S(o;'S;=`)]<%lO(oi! RX|W!O`Or(ors&osv(owx'}x#m(o#m#n! n#n;'S(o;'S;=`)]<%lO(oi! uX|W!O`Or(ors&osv(owx'}x#d(o#d#e!!b#e;'S(o;'S;=`)]<%lO(oi!!iX|W!O`Or(ors&osv(owx'}x#X(o#X#Y?y#Y;'S(o;'S;=`)]<%lO(oi!#_V!SP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(ok!$PXaQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo!$wX[UVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!%mZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!&`!a;'S$q;'S;=`)c<%lO$qk!&kX!RQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!'aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_#P$q#P#Q!(S#Q;'S$q;'S;=`)c<%lO$qk!(]ZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",tokenizers:[le,se,ie,ce,0,1,2,3,4],topRules:{Document:[0,6]},tokenPrec:0});function T(e,t){let o=t&&t.getChild("TagName");return o?e.sliceString(o.from,o.to):""}function P(e,t){let o=t&&t.firstChild;return!o||o.name!="OpenTag"?"":T(e,o)}function Se(e,t,o){let O=t&&t.getChildren("Attribute").find(a=>a.from<=o&&a.to>=o),r=O&&O.getChild("AttributeName");return r?e.sliceString(r.from,r.to):""}function C(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function ge(e,t){var o;let O=k(e).resolveInner(t,-1),r=null;for(let a=O;!r&&a.parent;a=a.parent)(a.name=="OpenTag"||a.name=="CloseTag"||a.name=="SelfClosingTag"||a.name=="MismatchedCloseTag")&&(r=a);if(r&&(r.to>t||r.lastChild.type.isError)){let a=r.parent;if(O.name=="TagName")return r.name=="CloseTag"||r.name=="MismatchedCloseTag"?{type:"closeTag",from:O.from,context:a}:{type:"openTag",from:O.from,context:C(a)};if(O.name=="AttributeName")return{type:"attrName",from:O.from,context:r};if(O.name=="AttributeValue")return{type:"attrValue",from:O.from,context:r};let s=O==r||O.name=="Attribute"?O.childBefore(t):O;return s?.name=="StartTag"?{type:"openTag",from:t,context:C(a)}:s?.name=="StartCloseTag"&&s.to<=t?{type:"closeTag",from:t,context:a}:s?.name=="Is"?{type:"attrValue",from:t,context:r}:s?{type:"attrName",from:t,context:r}:null}else if(O.name=="StartCloseTag")return{type:"closeTag",from:t,context:O.parent};for(;O.parent&&O.to==t&&!(!((o=O.lastChild)===null||o===void 0)&&o.type.isError);)O=O.parent;return O.name=="Element"||O.name=="Text"||O.name=="Document"?{type:"tag",from:t,context:O.name=="Element"?O:C(O)}:null}class ue{constructor(t,o,O){this.attrs=o,this.attrValues=O,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(r=>({label:r,type:"text"})):[]}}const b=/^[:\-\.\w\u00b7-\uffff]*$/;function E(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function R(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function pe(e,t){let o=[],O=[],r=Object.create(null);for(let n of t){let $=E(n);o.push($),n.global&&O.push($),n.values&&(r[n.name]=n.values.map(R))}let a=[],s=[],f=Object.create(null);for(let n of e){let $=O,c=r;n.attributes&&($=$.concat(n.attributes.map(l=>typeof l=="string"?o.find(d=>d.label==l)||{label:l,type:"property"}:(l.values&&(c==r&&(c=Object.create(c)),c[l.name]=l.values.map(R)),E(l)))));let u=new ue(n,$,c);f[u.name]=u,a.push(u),n.top&&s.push(u)}s.length||(s=a);for(let n=0;n{var $;let{doc:c}=n.state,u=ge(n.state,n.pos);if(!u||u.type=="tag"&&!n.explicit)return null;let{type:l,from:d,context:S}=u;if(l=="openTag"){let i=s,m=P(c,S);if(m){let g=f[m];i=g?.children||a}return{from:d,options:i.map(g=>g.completion),validFor:b}}else if(l=="closeTag"){let i=P(c,S);return i?{from:d,to:n.pos+(c.sliceString(n.pos,n.pos+1)==">"?1:0),options:[(($=f[i])===null||$===void 0?void 0:$.closeNameCompletion)||{label:i+">",type:"type"}],validFor:b}:null}else if(l=="attrName"){let i=f[T(c,S)];return{from:d,options:i?.attrs||O,validFor:b}}else if(l=="attrValue"){let i=Se(c,S,d);if(!i)return null;let m=f[T(c,S)],g=(m?.attrValues||r)[i];return!g||!g.length?null:{from:d,to:n.pos+(c.sliceString(n.pos,n.pos+1)=='"'?1:0),options:g,validFor:/^"[^"]*"?$/}}else if(l=="tag"){let i=P(c,S),m=f[i],g=[],q=S&&S.lastChild;i&&(!q||q.name!="CloseTag"||T(c,q)!=i)&&g.push(m?m.closeCompletion:{label:"",type:"type",boost:2});let v=g.concat((m?.children||(S?a:s)).map(x=>x.openCompletion));if(S&&m?.text.length){let x=S.firstChild;x.to>n.pos-20&&!/\S/.test(n.state.sliceDoc(x.to,n.pos))&&(v=v.concat(m.text))}return{from:d,options:v,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const w=Z.define({name:"xml",parser:$e.configure({props:[B.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),D.add({Element(e){let t=e.firstChild,o=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:o.name=="CloseTag"?o.from:e.to}}}),M.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function Pe(e={}){let t=[w.data.of({autocomplete:pe(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(fe),new U(w,t)}function z(e,t,o=e.length){if(!t)return"";let O=t.firstChild,r=O&&O.getChild("TagName");return r?e.sliceString(r.from,Math.min(r.to,o)):""}const fe=Y.inputHandler.of((e,t,o,O,r)=>{if(e.composing||e.state.readOnly||t!=o||O!=">"&&O!="/"||!w.isActiveAt(e.state,t,-1))return!1;let a=r(),{state:s}=a,f=s.changeByRange(n=>{var $,c,u;let{head:l}=n,d=s.doc.sliceString(l-1,l)==O,S=k(s).resolveInner(l,-1),i;if(d&&O==">"&&S.name=="EndTag"){let m=S.parent;if(((c=($=m.parent)===null||$===void 0?void 0:$.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(i=z(s.doc,m.parent,l))){let g=l+(s.doc.sliceString(l,l+1)===">"?1:0),q=``;return{range:n,changes:{from:l,to:g,insert:q}}}}else if(d&&O=="/"&&S.name=="StartCloseTag"){let m=S.parent;if(S.from==l-2&&((u=m.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(i=z(s.doc,m,l))){let g=l+(s.doc.sliceString(l,l+1)===">"?1:0),q=`${i}>`;return{range:j.cursor(l+q.length,-1),changes:{from:l,to:g,insert:q}}}}return{range:n}});return f.changes.empty?!1:(e.dispatch([a,s.update(f,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});export{fe as autoCloseTags,pe as completeFromSchema,Pe as xml,w as xmlLanguage}; diff --git a/web-dist/js/chunks/index-DMaaPvP_.mjs.gz b/web-dist/js/chunks/index-DMaaPvP_.mjs.gz new file mode 100644 index 0000000000..63b81b9eb8 Binary files /dev/null and b/web-dist/js/chunks/index-DMaaPvP_.mjs.gz differ diff --git a/web-dist/js/chunks/index-DPuWRdRa.mjs b/web-dist/js/chunks/index-DPuWRdRa.mjs new file mode 100644 index 0000000000..5b3465a441 --- /dev/null +++ b/web-dist/js/chunks/index-DPuWRdRa.mjs @@ -0,0 +1,2 @@ +import{L as re,a as ae,i as ne,c as ie,f as se,s as oe,t as i,E as le,b as ce,d as de,e as me,g as ue}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const pe=36,X=1,fe=2,b=3,C=4,_e=5,ge=6,he=7,ye=8,be=9,ve=10,ke=11,xe=12,Oe=13,we=14,Qe=15,Ce=16,Se=17,I=18,qe=19,E=20,W=21,R=22,Pe=23,Te=24;function q(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function ze(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function g(t,e,a){for(let r=!1;;){if(t.next<0)return;if(t.next==e&&!r){t.advance();return}r=a&&!r&&t.next==92,t.advance()}}function je(t,e){e:for(;;){if(t.next<0)return;if(t.next==36){t.advance();for(let a=0;a)".charCodeAt(a);for(;;){if(t.next<0)return;if(t.next==r&&t.peek(1)==39){t.advance(2);return}t.advance()}}function P(t,e){for(;!(t.next!=95&&!q(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Le(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),g(t,e,!1)}else P(t)}function D(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function Z(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function N(t){for(;!(t.next<0||t.next==10);)t.advance()}function _(t,e){for(let a=0;a!=&|~^/",specialVar:"?",identifierQuotes:'"',caseInsensitiveIdentifiers:!1,words:M(y,h)};function Be(t,e,a,r){let n={};for(let s in T)n[s]=(t.hasOwnProperty(s)?t:T)[s];return e&&(n.words=M(e,a||"",r)),n}function K(t){return new le(e=>{var a;let{next:r}=e;if(e.advance(),_(r,S)){for(;_(e.next,S);)e.advance();e.acceptToken(pe)}else if(r==36&&t.doubleDollarQuotedStrings){let n=P(e,"");e.next==36&&(e.advance(),je(e,n),e.acceptToken(b))}else if(r==39||r==34&&t.doubleQuotedStrings)g(e,r,t.backslashEscapes),e.acceptToken(b);else if(r==35&&t.hashComments||r==47&&e.next==47&&t.slashComments)N(e),e.acceptToken(X);else if(r==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(1)==32))N(e),e.acceptToken(X);else if(r==47&&e.next==42){e.advance();for(let n=1;;){let s=e.next;if(e.next<0)break;if(e.advance(),s==42&&e.next==47){if(n--,e.advance(),!n)break}else s==47&&e.next==42&&(n++,e.advance())}e.acceptToken(fe)}else if((r==101||r==69)&&e.next==39)e.advance(),g(e,39,!0),e.acceptToken(b);else if((r==110||r==78)&&e.next==39&&t.charSetCasts)e.advance(),g(e,39,t.backslashEscapes),e.acceptToken(b);else if(r==95&&t.charSetCasts)for(let n=0;;n++){if(e.next==39&&n>1){e.advance(),g(e,39,t.backslashEscapes),e.acceptToken(b);break}if(!q(e.next))break;e.advance()}else if(t.plsqlQuotingMechanism&&(r==113||r==81)&&e.next==39&&e.peek(1)>0&&!_(e.peek(1),S)){let n=e.peek(1);e.advance(2),Ue(e,n),e.acceptToken(b)}else if(_(r,t.identifierQuotes)){const n=r==91?93:r;g(e,n,!1),e.acceptToken(qe)}else if(r==40)e.acceptToken(he);else if(r==41)e.acceptToken(ye);else if(r==123)e.acceptToken(be);else if(r==125)e.acceptToken(ve);else if(r==91)e.acceptToken(ke);else if(r==93)e.acceptToken(xe);else if(r==59)e.acceptToken(Oe);else if(t.unquotedBitLiterals&&r==48&&e.next==98)e.advance(),D(e),e.acceptToken(R);else if((r==98||r==66)&&(e.next==39||e.next==34)){const n=e.next;e.advance(),t.treatBitsAsBytes?(g(e,n,t.backslashEscapes),e.acceptToken(Pe)):(D(e,n),e.acceptToken(R))}else if(r==48&&(e.next==120||e.next==88)||(r==120||r==88)&&e.next==39){let n=e.next==39;for(e.advance();ze(e.next);)e.advance();n&&e.next==39&&e.advance(),e.acceptToken(C)}else if(r==46&&e.next>=48&&e.next<=57)Z(e,!0),e.acceptToken(C);else if(r==46)e.acceptToken(we);else if(r>=48&&r<=57)Z(e,!1),e.acceptToken(C);else if(_(r,t.operatorChars)){for(;_(e.next,t.operatorChars);)e.advance();e.acceptToken(Qe)}else if(_(r,t.specialVar))e.next==r&&e.advance(),Le(e),e.acceptToken(Se);else if(r==58||r==44)e.acceptToken(Ce);else if(q(r)){let n=P(e,String.fromCharCode(r));e.acceptToken(e.next==46||e.peek(-n.length-1)==46?I:(a=t.words[n.toLowerCase()])!==null&&a!==void 0?a:I)}})}const F=K(T),Xe=me.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,nodeProps:[["isolate",-4,1,2,3,19,""]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,F],topRules:{Script:[0,25]},tokenPrec:0});function z(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function x(t,e){let a=t.sliceString(e.from,e.to),r=/^([`'"\[])(.*)([`'"\]])$/.exec(a);return r?r[2]:a}function Q(t){return t&&(t.name=="Identifier"||t.name=="QuotedIdentifier")}function Ie(t,e){if(e.name=="CompositeIdentifier"){let a=[];for(let r=e.firstChild;r;r=r.nextSibling)Q(r)&&a.push(x(t,r));return a}return[x(t,e)]}function V(t,e){for(let a=[];;){if(!e||e.name!=".")return a;let r=z(e);if(!Q(r))return a;a.unshift(x(t,r)),e=z(r)}}function Re(t,e){let a=ue(t).resolveInner(e,-1),r=Ze(t.doc,a);return a.name=="Identifier"||a.name=="QuotedIdentifier"||a.name=="Keyword"?{from:a.from,quoted:a.name=="QuotedIdentifier"?t.doc.sliceString(a.from,a.from+1):null,parents:V(t.doc,z(a)),aliases:r}:a.name=="."?{from:e,quoted:null,parents:V(t.doc,a),aliases:r}:{from:e,quoted:null,parents:[],empty:!0,aliases:r}}const De=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function Ze(t,e){let a;for(let n=e;!a;n=n.parent){if(!n)return null;n.name=="Statement"&&(a=n)}let r=null;for(let n=a.firstChild,s=!1,c=null;n;n=n.nextSibling){let l=n.name=="Keyword"?t.sliceString(n.from,n.to).toLowerCase():null,o=null;if(!s)s=l=="from";else if(l=="as"&&c&&Q(n.nextSibling))o=x(t,n.nextSibling);else{if(l&&De.has(l))break;c&&Q(n)&&(o=x(t,n))}o&&(r||(r=Object.create(null)),r[o]=Ie(t,c)),c=/Identifier$/.test(n.name)?n:null}return r}function Ne(t,e,a){return a.map(r=>({...r,label:r.label[0]==t?r.label:t+r.label+e,apply:void 0}))}const Ve=/^\w*$/,$e=/^[`'"\[]?\w*[`'"\]]?$/;function $(t){return t.self&&typeof t.self.label=="string"}class j{constructor(e,a){this.idQuote=e,this.idCaseInsensitive=a,this.list=[],this.children=void 0}child(e){let a=this.children||(this.children=Object.create(null)),r=a[e];return r||(e&&!this.list.some(n=>n.label==e)&&this.list.push(A(e,"type",this.idQuote,this.idCaseInsensitive)),a[e]=new j(this.idQuote,this.idCaseInsensitive))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let a=this.list.findIndex(r=>r.label==e.label);a>-1?this.list[a]=e:this.list.push(e)}addCompletions(e){for(let a of e)this.addCompletion(typeof a=="string"?A(a,"property",this.idQuote,this.idCaseInsensitive):a)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):$(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let a of Object.keys(e)){let r=e[a],n=null,s=a.replace(/\\?\./g,l=>l=="."?"\0":l).split("\0"),c=this;$(r)&&(n=r.self,r=r.children);for(let l=0;l{let{parents:v,from:L,quoted:B,empty:ee,aliases:O}=Re(p.state,p.pos);if(ee&&!p.explicit)return null;O&&v.length==1&&(v=O[v[0]]||v);let d=o;for(let f of v){for(;!d.children||!d.children[f];)if(d==o&&u)d=u;else if(d==u&&r)d=d.child(r);else return null;let k=d.maybeChild(f);if(!k)return null;d=k}let w=d.list;if(d==o&&O&&(w=w.concat(Object.keys(O).map(f=>({label:f,type:"constant"})))),B){let f=B[0],k=G(f),te=p.state.sliceDoc(p.pos,p.pos+1)==k;return{from:L,to:te?p.pos+1:void 0,options:Ne(f,k,w),validFor:$e}}else return{from:L,options:w,validFor:Ve}}}function Ee(t){return t==W?"type":t==E?"keyword":"variable"}function We(t,e,a){let r=Object.keys(t).map(n=>a(e?n.toUpperCase():n,Ee(t[n])));return ce(["QuotedIdentifier","String","LineComment","BlockComment","."],de(r))}let Me=Xe.configure({props:[ne.add({Statement:ie()}),se.add({Statement(t,e){return{from:Math.min(t.from+100,e.doc.lineAt(t.from).to),to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),oe({Keyword:i.keyword,Type:i.typeName,Builtin:i.standard(i.name),Bits:i.number,Bytes:i.string,Bool:i.bool,Null:i.null,Number:i.number,String:i.string,Identifier:i.name,QuotedIdentifier:i.special(i.string),SpecialVar:i.special(i.name),LineComment:i.lineComment,BlockComment:i.blockComment,Operator:i.operator,"Semi Punctuation":i.punctuation,"( )":i.paren,"{ }":i.brace,"[ ]":i.squareBracket})]});class m{constructor(e,a,r){this.dialect=e,this.language=a,this.spec=r}get extension(){return this.language.extension}configureLanguage(e,a){return new m(this.dialect,this.language.configure(e,a),this.spec)}static define(e){let a=Be(e,e.keywords,e.types,e.builtin),r=re.define({name:"sql",parser:Me.configure({tokenizers:[{from:F,to:K(a)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new m(a,r,e)}}function Ke(t,e){return{label:t,type:e,boost:-1}}function Fe(t,e=!1,a){return We(t.dialect.words,e,a||Ke)}function Ge(t){return t.schema?Ae(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema,t.dialect||U):()=>null}function Ye(t){return t.schema?(t.dialect||U).language.data.of({autocomplete:Ge(t)}):[]}function nt(t={}){let e=t.dialect||U;return new ae(e.language,[Ye(t),e.language.data.of({autocomplete:Fe(e,t.upperCaseKeywords,t.keywordCompletion)})])}const U=m.define({}),it=m.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:y+"abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:h+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),Y="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",H=h+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",J="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",st=m.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:y+"group_concat "+Y,types:H,builtin:J}),ot=m.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:y+"always generated groupby_concat hard persistent shutdown soft virtual "+Y,types:H,builtin:J});let He="approx_count_distinct approx_percentile_cont approx_percentile_disc avg checksum_agg count count_big grouping grouping_id max min product stdev stdevp sum var varp ai_generate_embeddings ai_generate_chunks cume_dist first_value lag last_value lead percentile_cont percentile_disc percent_rank left_shift right_shift bit_count get_bit set_bit collationproperty tertiary_weights @@datefirst @@dbts @@langid @@language @@lock_timeout @@max_connections @@max_precision @@nestlevel @@options @@remserver @@servername @@servicename @@spid @@textsize @@version cast convert parse try_cast try_convert try_parse asymkey_id asymkeyproperty certproperty cert_id crypt_gen_random decryptbyasymkey decryptbycert decryptbykey decryptbykeyautoasymkey decryptbykeyautocert decryptbypassphrase encryptbyasymkey encryptbycert encryptbykey encryptbypassphrase hashbytes is_objectsigned key_guid key_id key_name signbyasymkey signbycert symkeyproperty verifysignedbycert verifysignedbyasymkey @@cursor_rows @@fetch_status cursor_status datalength ident_current ident_incr ident_seed identity sql_variant_property @@datefirst current_timestamp current_timezone current_timezone_id date_bucket dateadd datediff datediff_big datefromparts datename datepart datetime2fromparts datetimefromparts datetimeoffsetfromparts datetrunc day eomonth getdate getutcdate isdate month smalldatetimefromparts switchoffset sysdatetime sysdatetimeoffset sysutcdatetime timefromparts todatetimeoffset year edit_distance edit_distance_similarity jaro_winkler_distance jaro_winkler_similarity edge_id_from_parts graph_id_from_edge_id graph_id_from_node_id node_id_from_parts object_id_from_edge_id object_id_from_node_id json isjson json_array json_contains json_modify json_object json_path_exists json_query json_value regexp_like regexp_replace regexp_substr regexp_instr regexp_count regexp_matches regexp_split_to_table abs acos asin atan atn2 ceiling cos cot degrees exp floor log log10 pi power radians rand round sign sin sqrt square tan choose greatest iif least @@procid app_name applock_mode applock_test assemblyproperty col_length col_name columnproperty databasepropertyex db_id db_name file_id file_idex file_name filegroup_id filegroup_name filegroupproperty fileproperty filepropertyex fulltextcatalogproperty fulltextserviceproperty index_col indexkey_property indexproperty next value for object_definition object_id object_name object_schema_name objectproperty objectpropertyex original_db_name parsename schema_id schema_name scope_identity serverproperty stats_date type_id type_name typeproperty dense_rank ntile rank row_number publishingservername certenclosed certprivatekey current_user database_principal_id has_dbaccess has_perms_by_name is_member is_rolemember is_srvrolemember loginproperty original_login permissions pwdencrypt pwdcompare session_user sessionproperty suser_id suser_name suser_sid suser_sname system_user user user_id user_name ascii char charindex concat concat_ws difference format left len lower ltrim nchar patindex quotename replace replicate reverse right rtrim soundex space str string_agg string_escape stuff substring translate trim unicode upper $partition @@error @@identity @@pack_received @@rowcount @@trancount binary_checksum checksum compress connectionproperty context_info current_request_id current_transaction_id decompress error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big session_context xact_state @@connections @@cpu_busy @@idle @@io_busy @@pack_sent @@packet_errors @@timeticks @@total_errors @@total_read @@total_write textptr textvalid columns_updated eventdata trigger_nestlevel vector_distance vectorproperty vector_search generate_series opendatasource openjson openquery openrowset openxml predict string_split coalesce nullif apply catch filter force include keep keepfixed modify optimize parameterization parameters partition recompile sequence set";const lt=m.define({keywords:y+"add external procedure all fetch public alter file raiserror and fillfactor read any for readtext as foreign reconfigure asc freetext references authorization freetexttable replication backup from restore begin full restrict between function return break goto revert browse grant revoke bulk group right by having rollback cascade holdlock rowcount case identity rowguidcol check identity_insert rule checkpoint identitycol save close if schema clustered in securityaudit coalesce index select collate inner semantickeyphrasetable column insert semanticsimilaritydetailstable commit intersect semanticsimilaritytable compute into session_user constraint is set contains join setuser containstable key shutdown continue kill some convert left statistics create like system_user cross lineno table current load tablesample current_date merge textsize current_time national then current_timestamp nocheck to current_user nonclustered top cursor not tran database null transaction dbcc nullif trigger deallocate of truncate declare off try_convert default offsets tsequal delete on union deny open unique desc opendatasource unpivot disk openquery update distinct openrowset updatetext distributed openxml use double option user drop or values dump order varying else outer view end over waitfor errlvl percent when escape pivot where except plan while exec precision with execute primary within group exists print writetext exit proc noexpand index forceseek forcescan holdlock nolock nowait paglock readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot spatial_window_max_cells tablock tablockx updlock xlock keepidentity keepdefaults ignore_constraints ignore_triggers",types:h+"smalldatetime datetimeoffset datetime2 datetime bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:He,operatorChars:"*+-%<>!=^&|/",specialVar:"@",identifierQuotes:'"['}),ct=m.define({keywords:y+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:h+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),dt=m.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:h+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),mt=m.define({keywords:y+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:h+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0,plsqlQuotingMechanism:!0});export{dt as Cassandra,lt as MSSQL,ot as MariaSQL,st as MySQL,mt as PLSQL,it as PostgreSQL,m as SQLDialect,ct as SQLite,U as StandardSQL,Fe as keywordCompletionSource,Ge as schemaCompletionSource,nt as sql}; diff --git a/web-dist/js/chunks/index-DPuWRdRa.mjs.gz b/web-dist/js/chunks/index-DPuWRdRa.mjs.gz new file mode 100644 index 0000000000..af4b56e2e3 Binary files /dev/null and b/web-dist/js/chunks/index-DPuWRdRa.mjs.gz differ diff --git a/web-dist/js/chunks/index-Dc0lA-4d.mjs b/web-dist/js/chunks/index-Dc0lA-4d.mjs new file mode 100644 index 0000000000..52b4d106e6 --- /dev/null +++ b/web-dist/js/chunks/index-Dc0lA-4d.mjs @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./TextEditor-B2vU--c4.mjs","./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs","./index-Vcq4gwWv.mjs","./preload-helper-PPVm8Dsz.mjs","./_plugin-vue_export-helper-DlAUqK2U.mjs"])))=>i.map(i=>d[i]); +import{_ as a}from"./preload-helper-PPVm8Dsz.mjs";import{L as o}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";const i=o(async()=>(await a(async()=>{const{default:t}=await import("./TextEditor-B2vU--c4.mjs").then(e=>e.T);return{default:t}},__vite__mapDeps([0,1,2,3,4]),import.meta.url)).default);export{i as T}; diff --git a/web-dist/js/chunks/index-Dc0lA-4d.mjs.gz b/web-dist/js/chunks/index-Dc0lA-4d.mjs.gz new file mode 100644 index 0000000000..bdb4c4b356 Binary files /dev/null and b/web-dist/js/chunks/index-Dc0lA-4d.mjs.gz differ diff --git a/web-dist/js/chunks/index-DiD_jyrz.mjs b/web-dist/js/chunks/index-DiD_jyrz.mjs new file mode 100644 index 0000000000..e73472be3a --- /dev/null +++ b/web-dist/js/chunks/index-DiD_jyrz.mjs @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./LayoutContainer-D1JvK1WF.mjs","./apps-D4m0BIDd.mjs","./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs","./AppLoadingSpinner-D4wmhWZf.mjs","./_plugin-vue_export-helper-DlAUqK2U.mjs","./preload-helper-PPVm8Dsz.mjs","./types-BoCZvwvE.mjs","./useAbility-DLkgdurK.mjs","./user-C7xYeMZ3.mjs","./AppList-BHv8wwAD.mjs","./fuse-Dh4lEyaB.mjs","./AppContextualHelper-B46rHh2S.mjs","./ActionMenuItem-5Eo133Qt.mjs","./download-Bmys4VUp.mjs","./NoContentMessage-CtsU0h69.mjs","./AppDetails-Cr29PlvG.mjs","./useRouteParam-C9SJn9Mp.mjs","./index-Dc0lA-4d.mjs","./isEmpty-BPG2bWXw.mjs","./_getTag-rbyw32wi.mjs","./_Set-DyVdKz_x.mjs"])))=>i.map(i=>d[i]); +import{_ as r}from"./preload-helper-PPVm8Dsz.mjs";import{dt as o,du as e,dv as a,dE as R,cj as V,aU as z,cm as T,bk as h,bQ as A,q as m}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{d as b}from"./types-BoCZvwvE.mjs";import{u as v}from"./useAbility-DLkgdurK.mjs";import{aK as P}from"./user-C7xYeMZ3.mjs";const j={},H={"App Version":"إصدار التطبيق","OpenCloud Version":"إصدار أوبن كلاود (Open Cloud)",Download:"التنزيل","App Store":"متجر التطبيقات","App Details":"تفاصيل التطبيق","Back to list":"العودة إلى القائمة",Details:"تفاصيل",Tags:"العلامات",Author:"المؤلف",Releases:"الإصدارات",Search:"بحث"},N={},_={"How to install?":"Jak nainstalovat","most recent":"nejnovější","App Version":"Verze aplikace","OpenCloud Version":"Verze OpenCloud",Download:"Stáhnout","App Store":"Katalog aplikací","App Details":"Podrobnosti o aplikaci","Back to list":"Zpět na seznam",Details:"Podrobnosti",Tags:"Štítky8",Author:"Autor",Resources:"Prostředky",Releases:"Vydání",Search:"Hledat","No apps found matching your search":"Nenalezeny žádné aplikace odpovídající vašemu hledání"},B={"How to install?":"Wie installieren?","The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud.":"Mit der App Store App können Apps als .zip Dateien heruntergeladen werden. Die Dokumentation zur Installation kann über den untenstehenden Link nachgelesen werden.","most recent":"neueste","App Version":"App Version","OpenCloud Version":"OpenCloud Version",Download:"Herunterladen","App Store":"App Store","App Details":"App Details","Back to list":"Zurück zur Liste",Details:"Details",Tags:"Tags",Author:"Autor",Resources:"Ressourcen",Releases:"Versionen",Search:"Suchen","No apps found matching your search":"Es wurden keine Apps für diese Suche gefunden"},L={},I={},E={"How to install?":"Πώς να κάνετε εγκατάσταση;","The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud.":"Η εφαρμογή App Store σάς επιτρέπει να κατεβάζετε εφαρμογές ως αρχεία .zip. Παρακαλούμε ακολουθήστε τον παρακάτω σύνδεσμο για να μάθετε πώς να εγκαταστήσετε αυτές τις εφαρμογές στο OpenCloud σας.","most recent":"πιο πρόσφατη","App Version":"Έκδοση εφαρμογής","OpenCloud Version":"Έκδοση OpenCloud",Download:"Λήψη","App Store":"App Store","App Details":"Λεπτομέρειες εφαρμογής","Back to list":"Επιστροφή στη λίστα",Details:"Λεπτομέρειες",Tags:"Ετικέτες",Author:"Δημιουργός",Resources:"Πόροι",Releases:"Κυκλοφορίες",Search:"Αναζήτηση","No apps found matching your search":"Δεν βρέθηκαν εφαρμογές που να ταιριάζουν στην αναζήτησή σας"},q={Download:"העלאה",Details:"תיאור",Tags:"טגים"},x={"How to install?":"Comment installer ?","The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud.":"L'application App Store vous permet de télécharger des applications sous forme de fichiers .zip. Veuillez suivre le lien ci-dessous pour savoir comment installer ces applications dans votre OpenCloud.","most recent":"le plus récent","App Version":"Version de l'application","OpenCloud Version":"Version OpenCloud",Download:"Télécharger","App Store":"App Store","App Details":"Détails de l'application","Back to list":"Retour à la liste",Details:"Détails",Tags:"Tags",Author:"Auteur",Resources:"Ressources",Releases:"Versions",Search:"Recherche","No apps found matching your search":"Aucune application ne correspond à votre recherche"},W={},U={"How to install?":"¿Cómo se instala?","The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud.":"La aplicación App Store te permite descargar aplicaciones como archivos .zip. Por favor, sigue el siguiente enlace para aprender cómo instalar estas aplicaciones en tu OpenCloud.","most recent":"más reciente","App Version":"Versión de la aplicación","OpenCloud Version":"Versión de OpenCloud",Download:"Descarga","App Store":"Tienda","App Details":"Detalles de la aplicación","Back to list":"Volver a la lista",Details:"Detalles",Tags:"Etiquetas",Author:"Autor",Resources:"Recursos",Releases:"Lanzamientos",Search:"Búsqueda","No apps found matching your search":"No se han encontrado aplicaciones que concuerden con tu búsqueda"},Z={},G={"How to install?":"Come installare?","The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud.":"L'app App Store ti consente di scaricare le applicazioni come file .zip. Segui il link qui sotto per scoprire come installare queste app nel tuo OpenCloud.","most recent":"più recente","App Version":"Versione App","OpenCloud Version":"Versione OpenCloud",Download:"Scarica","App Store":"App Store","App Details":"Dettagli dell'app","Back to list":"Torna all’elenco",Details:"Dettagli",Tags:"Tags",Author:"Autore",Resources:"Risorse",Releases:"Rilasci",Search:"Cerca","No apps found matching your search":"Nessuna app trovata corrispondente alla tua ricerca"},J={"How to install?":"インストール方法","The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud.":"アプリストアでは、アプリを .zip ファイルとしてダウンロードできます。これらのアプリを OpenCloud にインストールする方法については、以下のリンクをご参照ください。","most recent":"最新","App Version":"アプリのバージョン","OpenCloud Version":"OpenCloud バージョン",Download:"ダウンロード","App Store":"アプリストア","App Details":"アプリの詳細","Back to list":"一覧に戻る",Details:"詳細",Tags:"タグ",Author:"作成者",Resources:"リソース",Releases:"リリース",Search:"検索","No apps found matching your search":"検索条件に一致するアプリが見つかりません"},M={},$={"How to install?":"Hoe te installeren?","The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud.":"De App Store-app laat je apps downloaden als .zip-bestanden. Volg de onderstaande link voor meer informatie over de installatie van deze apps in OpenCloud.","most recent":"meest recent","App Version":"App-version","OpenCloud Version":"OpenCloud versie",Download:"Downloaden","App Store":"App Store","App Details":"App-details","Back to list":"Terug naar lijst",Details:"Details",Tags:"Labels",Author:"Auteur",Resources:"Hulpbronnen",Releases:"Releases",Search:"Zoeken","No apps found matching your search":"Geen apps gevonden die overeenkomen met de zoekopdracht."},K={"How to install?":"Como instalar?","The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud.":"A Loja de Aplicações permite transferir aplicações em ficheiros .zip. Por favor, siga a ligação abaixo para saber como instalar estas aplicações no seu OpenCloud.","most recent":"mais recente","App Version":"Versão da aplicação","OpenCloud Version":"Versão do OpenCloud",Download:"Transferir","App Store":"Loja de aplicações","App Details":"Detalhes da aplicação","Back to list":"Voltar à lista",Details:"Detalhes",Tags:"Etiquetas",Author:"Autor",Resources:"Recursos",Releases:"Lançamentos",Search:"Pesquisar","No apps found matching your search":"Nenhuma aplicação encontrada para a pesquisa"},F={Search:"Hľadať"},Q={},X={"How to install?":"Jak zainstalować?","most recent":"najnowsze","App Version":"Wersja aplikacji","OpenCloud Version":"Wersja OpenCloud",Download:"Pobierz","App Store":"App Store","App Details":"Szczegóły aplikacji","Back to list":"Powrót do listy",Details:"Szczegóły",Tags:"Tagi",Author:"Autor",Resources:"Zasoby",Releases:"Wydania",Search:"Szukaj","No apps found matching your search":"Nie znaleziono aplikacji spełniających kryteria wyszukiwania"},Y={},ee={"How to install?":"Hur installerar man?","The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud.":"Med App Store-appen kan du ladda ner appar som .zip-filer. Följ länken nedan för att lära dig hur du installerar dessa appar i din OpenCloud.","most recent":"senaste","App Version":"App Version","OpenCloud Version":"OpenCloud-version",Download:"Ladda ner","App Store":"App Store","App Details":"Information om appen","Back to list":"Tillbaka till listan",Details:"Detaljer",Tags:"Taggar",Author:"Upphovsperson",Resources:"Resurser",Releases:"Utgivningar",Search:"Sök","No apps found matching your search":"Inga appar hittades som matchar din sökning"},oe={},se={},ae={},te={},pe={"How to install?":"Как установить?","The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud.":"App Store позволяет вам загрузить приложения как .zip файлы. Пожалуйста, перейдите по ссылке ниже, чтобы узнать, как установить эти приложения в OpenCloud.","most recent":"последняя","App Version":"Версия приложения","OpenCloud Version":"Версия OpenCloud",Download:"Скачать","App Store":"App Store","App Details":"Детали приложения","Back to list":"Вернуться к списку",Details:"Детали",Tags:"Теги",Author:"Автор",Resources:"Ресурсы",Releases:"Релизы",Search:"Поиск","No apps found matching your search":"Не найдено приложений, соответствующих вашему запросу"},ne={"How to install?":"어떻게 설치하나요?","The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud.":"App Store 앱을 사용하면 앱을 .zip 파일로 다운로드할 수 있습니다. 아래 링크를 따라 앱을 OpenCloud에 설치하는 방법을 알아보세요.","most recent":"가장 최근","App Version":"앱 버전","OpenCloud Version":"OpenCloud 버전",Download:"다운로드","App Store":"앱 스토어","App Details":"앱 세부 정보","Back to list":"목록으로",Details:"세부 사항",Tags:"테그",Author:"제작자",Resources:"리소스",Releases:"릴리스",Search:"검색","No apps found matching your search":"검색과 일치하는 앱을 찾을 수 없습니다"},le={},re={"How to install?":"如何安装?","The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud.":"应用商店应用允许您以.zip格式下载应用。请点击下方链接学习如何将这些应用安装到您的OpenCloud中。","most recent":"最新","App Version":"应用版本","OpenCloud Version":"OpenCloud版本",Download:"下载","App Store":"应用商店","App Details":"应用详情","Back to list":"返回列表",Details:"详细信息",Tags:"标签",Author:"作者",Resources:"资源",Releases:"版本发布",Search:"搜索","No apps found matching your search":"未找到符合搜索条件的应用"},ie={"How to install?":"Як встановити застосунок?","The App Store app lets you download apps as .zip files. Please follow the link below to learn how to install these apps into your OpenCloud.":"Магазин застосунків дозволяє завантажити запаковані у zip-архів застосунки. Для того, щоб дізнатися, як встановлювати ці застосунки у ваш OpenCloud, перейдіть за посиланням нижче.","most recent":"найостанніші","App Version":"Версія застосунку","OpenCloud Version":"Мінімальна версія OpenCloud",Download:"Завантажити","App Store":"Магазин застосунків","App Details":"Детальніше про застосунок","Back to list":"Повернутися до магазину",Details:"Деталі",Tags:"Теги",Author:"Автор",Resources:"Посилання",Releases:"Випуски",Search:"Пошук","No apps found matching your search":"За вашим запитом не було знайдено жодного застосунку"},ce={},ue={af:j,ar:H,bs:N,cs:_,de:B,et:L,bg:I,el:E,he:q,fr:x,gl:W,es:U,hr:Z,it:G,ja:J,id:M,nl:$,pt:K,sk:F,si:Q,pl:X,sq:Y,sv:ee,sr:oe,ta:se,tr:ae,ka:te,ru:pe,ko:ne,ug:le,zh:re,uk:ie,ro:ce},S=o({name:e(),url:e()}),de=o({repositories:a(S)}),f=o({version:e(),minOpenCloud:e().optional(),url:e(),filename:e().optional()}),he=["primary","success","danger"],Ae=o({label:e(),color:R(he).optional().default("primary")}),me=o({name:e(),email:e().optional(),url:e().optional()}),w=o({url:e(),caption:e().optional()}),we=o({url:e(),label:e(),icon:e().optional()}),g=o({id:e(),name:e(),subtitle:e(),badge:Ae.optional(),description:e().optional(),license:e(),versions:a(f),authors:a(me),tags:a(e()),coverImage:w.optional(),screenshots:a(w).optional().default([]),resources:a(we).optional().default([])});g.extend({repository:S,mostRecentVersion:f});const ye=o({apps:a(g)}),D="app-store",Se=V(`${D}-repositories`,()=>{const t=z([]);return{repositories:t,setRepositories:l=>{t.value=l}}}),Re=b({setup({applicationConfig:t}){const{$gettext:n}=T(),{can:l}=v(),C=P(),i=Se(),c=[{name:"awesome-apps",url:"https://raw.githubusercontent.com/opencloud-eu/awesome-apps/main/webApps/apps.json"}];if(t?.repositories){const{repositories:p}=de.parse(t);i.setRepositories(p||c)}else i.setRepositories(c);const s={name:n("App Store"),id:D,icon:"store",color:"#ff6961"},u=m(()=>C.user&&l("read-all","Setting")),k=[{path:"/",name:"root",component:()=>r(()=>import("./LayoutContainer-D1JvK1WF.mjs"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url),redirect:A(s.id,"list"),beforeEnter:(p,fe,d)=>{if(!h(u))return d({path:"/"});d()},meta:{authContext:"user"},children:[{path:"list",name:"list",component:()=>r(()=>import("./AppList-BHv8wwAD.mjs"),__vite__mapDeps([9,2,10,1,11,4,12,13,14,5,6,7,8]),import.meta.url),meta:{authContext:"user",title:n("App Store")}},{path:"app/:appId",name:"details",component:()=>r(()=>import("./AppDetails-Cr29PlvG.mjs"),__vite__mapDeps([15,2,16,17,5,1,18,19,20,4,11,12,13,6,7,8]),import.meta.url),meta:{authContext:"user",title:n("App Details")}}]}],O={id:`app.${s.id}.menuItem`,type:"appMenuItem",label:()=>s.name,color:s.color,icon:s.icon,priority:30,path:A(s.id)},y=m(()=>{const p=[];return h(u)&&p.push(O),p});return{appInfo:s,routes:k,translations:ue,extensions:y}}});export{D as A,ye as R,Re as i,Se as u}; diff --git a/web-dist/js/chunks/index-DiD_jyrz.mjs.gz b/web-dist/js/chunks/index-DiD_jyrz.mjs.gz new file mode 100644 index 0000000000..6f9abe4f39 Binary files /dev/null and b/web-dist/js/chunks/index-DiD_jyrz.mjs.gz differ diff --git a/web-dist/js/chunks/index-Vcq4gwWv.mjs b/web-dist/js/chunks/index-Vcq4gwWv.mjs new file mode 100644 index 0000000000..e872923a50 --- /dev/null +++ b/web-dist/js/chunks/index-Vcq4gwWv.mjs @@ -0,0 +1 @@ +var o={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},t={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},n=typeof navigator<"u"&&/Mac/.test(navigator.platform),s=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var r=0;r<10;r++)o[48+r]=o[96+r]=String(r);for(var r=1;r<=24;r++)o[r+111]="F"+r;for(var r=65;r<=90;r++)o[r]=String.fromCharCode(r+32),t[r]=String.fromCharCode(r);for(var i in o)t.hasOwnProperty(i)||(t[i]=o[i]);function y(e){var f=n&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||s&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",a=!f&&e.key||(e.shiftKey?t:o)[e.keyCode]||e.key||"Unidentified";return a=="Esc"&&(a="Escape"),a=="Del"&&(a="Delete"),a=="Left"&&(a="ArrowLeft"),a=="Up"&&(a="ArrowUp"),a=="Right"&&(a="ArrowRight"),a=="Down"&&(a="ArrowDown"),a}export{o as b,y as k,t as s}; diff --git a/web-dist/js/chunks/index-Vcq4gwWv.mjs.gz b/web-dist/js/chunks/index-Vcq4gwWv.mjs.gz new file mode 100644 index 0000000000..8a70847963 Binary files /dev/null and b/web-dist/js/chunks/index-Vcq4gwWv.mjs.gz differ diff --git a/web-dist/js/chunks/index-lRhEXmMs.mjs b/web-dist/js/chunks/index-lRhEXmMs.mjs new file mode 100644 index 0000000000..d0dfa1d88c --- /dev/null +++ b/web-dist/js/chunks/index-lRhEXmMs.mjs @@ -0,0 +1 @@ +import{a0 as z,aS as B,$ as H,az as W,q as g}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";const p=Symbol("Cleanup Function"),q=Symbol("Timeout Token"),m=Symbol("Signal Reason"),f=Symbol("Unset"),[S,X]=(function(){var t=new AbortController,r=!!Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t.signal),"reason");try{t.abort()}catch{}return[r,L(t.signal.reason)]})();class _{constructor(t=new AbortController){var r;this.controller=t,this.signal=t.signal,this.signal[m]=f;var i=(n,a)=>{var s=()=>{if(a&&this.signal){let l=y(this.signal);this._trackSignalReason(l),a(l!==f?l:void 0)}a=null};this.signal.addEventListener("abort",s,!1),r=()=>{this.signal&&(this.signal.removeEventListener("abort",s,!1),this.signal.pr&&(this.signal.pr[p]=null)),s=null}};this.signal.pr=new Promise(i),this.signal.pr[p]=r,this.signal.pr.catch(r),i=r=null}abort(...t){var r=t.length>0?t[0]:f;this._trackSignalReason(r),this.controller&&(S&&r!==f?this.controller.abort(r):this.controller.abort())}discard(){this.signal&&(this.signal.pr&&(this.signal.pr[p]&&this.signal.pr[p](),this.signal.pr=null),delete this.signal[m],S||(this.signal.reason=null),this.signal=null),this.controller=null}_trackSignalReason(t){this.signal&&t!==f&&(S||"reason"in this.signal||(this.signal.reason=t),this.signal[m]===f&&(this.signal[m]=t))}}function y(e){return e&&e.aborted?S&&X?L(e.reason)?f:e.reason:m in e?e[m]:f:f}function j(e){if(e.pr)return e.pr;var t,r=new Promise((function(n,a){t=()=>{if(a&&e){let s=y(e);a(s!==f?s:void 0)}a=null},e.addEventListener("abort",t,!1)}));return r[p]=function(){e&&(e.removeEventListener("abort",t,!1),e=null),r&&(r=r[p]=t=null)},r.catch(r[p]),r}function k(e){e instanceof AbortController&&(e=new _(e));var t=e&&e instanceof _?e.signal:e;return{tokenOrSignal:e,signal:t,signalPr:j(t)}}function C(){var e;return{pr:new Promise((t=>e=t)),resolve:e}}function v(e){return typeof e=="function"}function J(e){return e&&typeof e=="object"&&typeof e.then=="function"}function L(e){return typeof e=="object"&&e instanceof Error&&e.name=="AbortError"}function w(e,t){L(t)||t===f?e.abort():e.abort(t)}const A=Object.assign(Q,{cancelToken:_,delay:F,timeout:V,signalRace:Y,signalAll:Z,tokenCycle:ee});function Q(e){return function(r,...i){var n,a;if({tokenOrSignal:r,signal:n,signalPr:a}=k(r),n.aborted)return a;var s=a.catch((function(d){var h=y(n);h=h!==f?h:d;try{var E=l.return();throw E.value!==void 0?E.value:h!==f?h:void 0}finally{l=o=s=u=null}})),{it:l,result:o}=ne.call(this,e,n,...i),u=Promise.race([o,s]);if(r!==n&&r[q]){let c=function(h){w(r,h),v(r.discard)&&r.discard(),r=c=null};u.then(c,c)}else u.catch((()=>{})),r=null;return i=null,u}}function F(e,t){var r,i;return typeof e=="number"&&typeof t!="number"&&([t,e]=[e,t]),e&&({tokenOrSignal:e,signal:r,signalPr:i}=k(e)),r&&r.aborted?i:new Promise((function(a,s){r&&(i.catch((function(){if(s&&r&&l){let u=y(r);clearTimeout(l),s(u!==f?u:`delay (${t}) interrupted`),a=s=l=r=null}})),i=null);var l=setTimeout((function(){a(`delayed: ${t}`),a=s=l=r=null}),t)}))}function V(e,t="Timeout"){e=Number(e)||0;var r=new _;return F(r.signal,e).then((()=>i(t)),i),Object.defineProperty(r,q,{value:!0,writable:!1,enumerable:!1,configurable:!1}),r;function i(...n){w(r,n.length>0?n[0]:f),r.discard(),r=null}}function I(e){return e.reduce((function(r,i){var n=j(i);return r[0].push(n),i.pr||r[1].push(n),r}),[[],[]])}function N(e,t,r){e.then((function(n){w(t,n),t.discard(),t=null})).then((function(){for(let n of r)n[p]&&n[p]();r=null}))}function x(e){return e.catch((t=>t))}function Y(e){var t=new _,[r,i]=I(e);return N(x(Promise.race(r)),t,i),t.signal}function Z(e){var t=new _,[r,i]=I(e);return N(Promise.all(r.map(x)),t,i),t.signal}function ee(){var e;return function(...r){return e&&(w(e,r.length>0?r[0]:f),e.discard()),e=new _}}function ne(e,...t){var r=e.apply(this,t);return e=t=null,{it:r,result:(function i(n){try{var a=r.next(n);n=null}catch(s){return Promise.reject(s)}return(function s(l){var o=Promise.resolve(l.value);return l.done?r=null:(o=o.then(i,(function(c){return Promise.resolve(r.throw(c)).then(s)}))).catch((function(){r=null})),l=null,o})(a)})()}}O=A(O);Object.assign(M,{onEvent:U,onceEvent:O});var P=new WeakSet;const R=Symbol("unset"),K=Symbol("returned"),T=Symbol("canceled");function M(e){return function(r,...i){var n,a;if({tokenOrSignal:r,signal:n,signalPr:a}=k(r),n.aborted){let d=y(n);throw d=d!==f?d:"Aborted",d}var s=C(),{it:l,ait:o}=re(e,s.pr,c,n,...i),u=o.return;return o.return=function(h){try{return s.pr.resolved=!0,s.resolve(K),Promise.resolve(l.return(h))}finally{u.call(o),c()}},o;function c(){r&&r!==n&&r[q]&&r.abort(),o&&(o.return=u,r=s=l=o=u=null)}}}function U(e,t,r,i=!1){var n,a,s=!1,l=M((function*({pwait:d}){s||o();try{for(;;){if(n.length==0){let{pr:h,resolve:E}=C();n.push(h),a.push(E)}yield yield d(n.shift())}}finally{v(t.removeEventListener)?t.removeEventListener(r,u,i):v(t.removeListener)?t.removeListener(r,u):v(t.off)&&t.off(r,u),n.length=a.length=0}}))(e,t,r,i);return l.start=o,l;function o(){s||(s=!0,n=[],a=[],v(t.addEventListener)?t.addEventListener(r,u,i):v(t.addListener)?t.addListener(r,u):v(t.on)&&t.on(r,u))}function u(c){if(a.length>0)a.shift()(c);else{let{pr:d,resolve:h}=C();n.push(d),h(c)}}}function*O(e,t,r,i=!1){try{var n=U(e,t,r,i);return(yield n.next()).value}finally{n.return()}}function te(e){var t=Promise.resolve(e);return P.add(t),t}function re(e,t,r,i,...n){var a=e.call(this,{signal:i,pwait:te},...n);e=n=null;var s=i.pr.catch((l=>{throw{[T]:!0,reason:l}}));return s.catch((()=>{})),{it:a,ait:(async function*(){var o,u=R;try{for(;!t.resolved;)if(u!==R?(o=u,u=R,o=a.throw(o)):o=a.next(o),J(o.value))if(P.has(o.value)){P.delete(o.value);try{if((o=await Promise.race([t,s,o.value]))===K)return}catch(c){if(c[T]){let d=a.return();throw d.value!==void 0?d.value:c.reason}u=c}}else o=yield o.value;else{if(o.done)return o.value;o=yield o.value}}finally{a=t=null,r()}})()}}const se=e=>e._runningInstances.length>=e._maxConcurrency,ie=e=>{const t=e._activeInstances[0];t&&t.cancel()},ae=e=>{e._enqueuedInstances.forEach(t=>{t.isEnqueued=!1,t.isDropped=!0})};function b(e,t){return t?le(()=>e()._instances,t):g(()=>[])}function le(e,t,r){return g(()=>e().filter(i=>i[t]))}function oe(e){return g(()=>e().length)}function D(e){return g(()=>{const t=e();return t[t.length-1]})}function ue(e){return g(()=>e()[0])}const $=e=>e;function G(e){return B(e)}function ce(){const e={},t=new Promise((r,i)=>{e.resolve=r,e.reject=i});return e.promise=t,e}function fe(e,t,r){const i=$({id:r.id,isDropped:!1,isEnqueued:!1,hasStarted:!1,isRunning:!1,isFinished:!1,isCanceling:!1,isCanceled:g(()=>n.isCanceling&&n.isFinished),isActive:g(()=>n.isRunning&&!n.isCanceling),isSuccessful:!1,isNotDropped:g(()=>!n.isDropped),isError:g(()=>!!n.error),status:g(()=>{const s=n,l=[[s.isRunning,"running"],[s.isEnqueued,"enqueued"],[s.isCanceled,"canceled"],[s.isCanceling,"canceling"],[s.isDropped,"dropped"],[s.isError,"error"],[s.isSuccessful,"success"]].find(([o])=>o);return l&&l[1]}),error:null,value:null,cancel({force:s}={force:!1}){if(s||(n.isCanceling=!0,n.isEnqueued&&(n.isFinished=!0),n.isEnqueued=!1),n.token&&n._canAbort){n.token.abort("cancel");try{n.token.discard()}catch{}n.token=void 0,n._canAbort=!1}},canceledOn(s){return s.pr.catch(()=>{n.cancel()}),n},_run(){de(n,e,t,r)},_handled:!0,_deferredObject:ce(),_shouldThrow:!1,_canAbort:!0,then(s,l){return n._shouldThrow=!0,n._deferredObject.promise.then(s,l)},catch(s,l=!0){return n._shouldThrow=l,n._deferredObject.promise.catch(s)},finally(s){return n._shouldThrow=!0,n._deferredObject.promise.finally(s)}}),n=G(i),{modifiers:a}=r;return a.drop?n.isDropped=!0:a.enqueue?n.isEnqueued=!0:n._run(),n}function de(e,t,r,i){const n=new A.cancelToken,a=A(t,n);e.token=n,e.hasStarted=!0,e.isRunning=!0,e.isEnqueued=!1;function s(){e.isRunning=!1,e.isFinished=!0}a.call(e,n,...r).then(l=>{e.value=l,e.isSuccessful=!0,s(),e._deferredObject.resolve(l),e._canAbort=!1,i.onFinish(e)}).catch(l=>{l!=="cancel"&&(e.error=l),s(),e._shouldThrow&&e._deferredObject.reject(l),i.onFinish(e)})}function pe(e,t={cancelOnUnmount:!0}){const r=H(),i=$({_isRestartable:!1,_isDropping:!1,_isEnqueuing:!1,_isKeepingLatest:!1,_maxConcurrency:1,_hasConcurrency:g(()=>n._isRestartable||n._isDropping||n._isEnqueuing||n._isKeepingLatest),isIdle:g(()=>!n.isRunning),isRunning:g(()=>!!n._instances.find(a=>a.isRunning)),isError:g(()=>!!(n.last&&n.last.isError)),_instances:[],_successfulInstances:b(()=>n,"isSuccessful"),_runningInstances:b(()=>n,"isRunning"),_enqueuedInstances:b(()=>n,"isEnqueued"),_notDroppedInstances:b(()=>n,"isNotDropped"),_activeInstances:b(()=>n,"isActive"),performCount:oe(()=>n._instances),last:D(()=>n._notDroppedInstances),lastSuccessful:D(()=>n._successfulInstances),firstEnqueued:ue(()=>n._enqueuedInstances),cancelAll({force:a}={force:!1}){n._instances.forEach(s=>{try{(a||!s.isDropped&&!s.isFinished)&&s.cancel({force:a})}catch(l){if(l!=="cancel")throw l}})},perform(...a){const s={enqueue:!1,drop:!1};n._hasConcurrency&&se(n)&&(n._isDropping&&(s.drop=!0),n._isRestartable&&ie(n),n._isKeepingLatest&&ae(n),(n._isEnqueuing||n._isKeepingLatest)&&(s.enqueue=!0));const l=()=>ge(n),o=()=>fe(e,a,{modifiers:s,onFinish:l,scope:r,id:n._instances.length+1}),u=r.active?r.run(o):o();return n._instances=[...n._instances,u],u},clear(){this.cancelAll({force:!0}),this._instances=[]},destroy(){r.stop(),this.clear()},restartable(){return n._resetModifierFlags(),n._isRestartable=!0,n},drop(){return n._resetModifierFlags(),n._isDropping=!0,n},enqueue(){return n._resetModifierFlags(),n._isEnqueuing=!0,n},keepLatest(){return n._resetModifierFlags(),n._isKeepingLatest=!0,n},_resetModifierFlags(){n._isKeepingLatest=!1,n._isRestartable=!1,n._isEnqueuing=!1,n._isDropping=!1},maxConcurrency(a){return n._maxConcurrency=a,n}}),n=G(i);return t.cancelOnUnmount&&z()&&W(()=>{n._instances&&n.destroy()}),n}function ge(e){if(e._isEnqueuing||e._isKeepingLatest){const{firstEnqueued:t}=e;t&&t._run()}}export{pe as f}; diff --git a/web-dist/js/chunks/index-lRhEXmMs.mjs.gz b/web-dist/js/chunks/index-lRhEXmMs.mjs.gz new file mode 100644 index 0000000000..0cfb0b4f99 Binary files /dev/null and b/web-dist/js/chunks/index-lRhEXmMs.mjs.gz differ diff --git a/web-dist/js/chunks/index-pNj0h2EV.mjs b/web-dist/js/chunks/index-pNj0h2EV.mjs new file mode 100644 index 0000000000..b8be5a56b5 --- /dev/null +++ b/web-dist/js/chunks/index-pNj0h2EV.mjs @@ -0,0 +1 @@ +import{a as t,r as i,L as n,i as $,c as y,f as P,l as X,e as m,E as S,s as c,t as O}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const s=110,l=1,f=2,r=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function e(T){return T>=65&&T<=90||T>=97&&T<=122||T>=161}function p(T){return T>=48&&T<=57}const W=new S((T,Q)=>{if(T.next==40){let a=T.peek(-1);(e(a)||p(a)||a==95||a==45)&&T.acceptToken(f,1)}}),d=new S(T=>{if(r.indexOf(T.peek(-1))>-1){let{next:Q}=T;(e(Q)||Q==95||Q==35||Q==46||Q==91||Q==58||Q==45)&&T.acceptToken(s)}}),Z=new S(T=>{if(r.indexOf(T.peek(-1))<0){let{next:Q}=T;if(Q==37&&(T.advance(),T.acceptToken(l)),e(Q)){do T.advance();while(e(T.next));T.acceptToken(l)}}}),w=c({"import charset namespace keyframes media supports when":O.definitionKeyword,"from to selector":O.keyword,NamespaceName:O.namespace,KeyframeName:O.labelName,TagName:O.tagName,ClassName:O.className,PseudoClassName:O.constant(O.className),IdName:O.labelName,"FeatureName PropertyName PropertyVariable":O.propertyName,AttributeName:O.attributeName,NumberLiteral:O.number,KeywordQuery:O.keyword,UnaryQueryOp:O.operatorKeyword,"CallTag ValueName":O.atom,VariableName:O.variableName,"AtKeyword Interpolation":O.special(O.variableName),Callee:O.operatorKeyword,Unit:O.unit,"UniversalSelector NestingSelector":O.definitionOperator,MatchOp:O.compareOperator,"ChildOp SiblingOp, LogicOp":O.logicOperator,BinOp:O.arithmeticOperator,Important:O.modifier,"Comment LineComment":O.blockComment,ColorLiteral:O.color,"ParenthesizedContent StringLiteral":O.string,Escape:O.special(O.string),": ...":O.punctuation,"PseudoOp #":O.derefOperator,"; ,":O.separator,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),z={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},h={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},g=m.deserialize({version:14,states:"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'#FTO)]Q`O'#FTO)hQ`O'#FTO)vQWO'#EYOOQO'#Er'#ErOOQO'#FV'#FVOOQO'#Ec'#EcO){QWO'#EqO*WQWO'#EqQOQWOOOOQP'#Ch'#ChOOQP,59R,59RO$RQWO,59RO*bQWO'#EdO+PQWO,58|O+_QWO,59TO%kQWO,59uO%pQWO,59xO*bQWO,59{O*bQWO,59}OOQO'#De'#DeO*bQWO,5:OO,bQpO'#E}O,iQWO'#DkOOQO,58|,58|O(QQWO,58|O,pQWO,5:{OOQO,5:{,5:{OOQT'#Cl'#ClO-UQeO,59TO.cQ[O,59TOOQP'#D]'#D]OOQP,59u,59uOOQO'#D_'#D_O.hQpO,59xOOQO'#EZ'#EZO.pQ`O,5;oOOQO,5;o,5;oO/OQWO,5:WO/VQWO,5:WOOQS'#Dn'#DnO/rQWO'#DsO/yQ!fO'#FRO0eQWO'#DtOOQS'#FS'#FSO+YQWO,5:eO'bQWO'#DrOOQS'#Cu'#CuO(QQWO'#CwO0jQ!hO'#CyO2^Q!fO,5:gO2oQWO'#DWOOQS'#Ex'#ExO(QQWO'#DQOOQO'#EP'#EPO2tQWO,5:iO2yQWO,5:iOOQO'#ES'#ESO3RQWO,5:lO3WQ!fO,5:rO3iQ`O'#EkO.pQ`O,5;oOOQO,5:|,5:|O3zQWO,5:tOOQO,5:},5:}O4XQWO,5;]OOQO-E8a-E8aOOQP1G.m1G.mOOQP'#Ce'#CeO5RQaO,5;OOOQP'#Df'#DfOOQO-E8b-E8bOOQO1G.h1G.hO(QQWO1G.hO5fQWO1G.hO5nQeO1G.oO.cQ[O1G.oOOQP1G/a1G/aO6{QpO1G/dO7fQaO1G/gO8cQaO1G/iO9`QaO1G/jO:]Q!fO'#FOO:yQ!fO'#ExOOQO'#FO'#FOOOQO,5;i,5;iO<^QWO,5;iOWQWO1G/rO>]Q!fO'#DnO>qQWO,5:ZO>vQ!fO,5:_OOQO'#DP'#DPO'bQWO,5:]O?XQWO'#DwOOQS,5:b,5:bO?`QWO,5:dO'bQWO'#EiO?gQWO,5;mO*bQWO,5:`OOQO1G0P1G0PO?uQ!fO,5:^O@aQ!fO,59cOOQS,59e,59eO(QQWO,59iOOQS,59n,59nO@rQWO,59pOOQO1G0R1G0RO@yQ#tO,59rOARQ!fO,59lOOQO1G0T1G0TOBrQWO1G0TOBwQWO'#ETOOQO1G0W1G0WOOQO1G0^1G0^OOQO,5;V,5;VOOQO-E8i-E8iOCVQ!fO1G0bOCvQWO1G0`O%kQWO'#E_O$RQWO'#E`OEZQWO'#E^OOQO1G0b1G0bPEkQWO'#EcOUAN>UO!!RQWO,5;QOOQO-E8d-E8dO!!]QWOAN>dOOQS<S![;'S%T;'S;=`%f<%lO%Tm>ZY#m]|`Oy%Tz!Q%T!Q![>S![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%Tm?OY|`Oy%Tz{%T{|?n|}%T}!O?n!O!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm?sU|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@^U#m]|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@w[#m]|`Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TbAtS#xQ|`Oy%Tz;'S%T;'S;=`%f<%lO%TkBVScZOy%Tz;'S%T;'S;=`%f<%lO%TmBhXrWOy%Tz}%T}!OCT!O!P=k!P!Q%T!Q![@p![;'S%T;'S;=`%f<%lO%TmCYW|`Oy%Tz!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%TmCy[f]|`Oy%Tz}%T}!OCr!O!Q%T!Q![Cr![!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%ToDtW#iROy%Tz!O%T!O!PE^!P!Q%T!Q![>S![;'S%T;'S;=`%f<%lO%TlEcU|`Oy%Tz!O%T!O!PEu!P;'S%T;'S;=`%f<%lO%TlE|S#s[|`Oy%Tz;'S%T;'S;=`%f<%lO%T~F_VrWOy%Tz{Ft{!P%T!P!QIl!Q;'S%T;'S;=`%f<%lO%T~FyU|`OyFtyzG]z{Hd{;'SFt;'S;=`If<%lOFt~G`TOzG]z{Go{;'SG];'S;=`H^<%lOG]~GrVOzG]z{Go{!PG]!P!QHX!Q;'SG];'S;=`H^<%lOG]~H^OR~~HaP;=`<%lG]~HiW|`OyFtyzG]z{Hd{!PFt!P!QIR!Q;'SFt;'S;=`If<%lOFt~IYS|`R~Oy%Tz;'S%T;'S;=`%f<%lO%T~IiP;=`<%lFt~IsV|`S~OYIlYZ%TZyIlyzJYz;'SIl;'S;=`Jq<%lOIl~J_SS~OYJYZ;'SJY;'S;=`Jk<%lOJY~JnP;=`<%lJY~JtP;=`<%lIlmJ|[#m]Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TkKwU^ZOy%Tz![%T![!]LZ!];'S%T;'S;=`%f<%lO%TcLbS_R|`Oy%Tz;'S%T;'S;=`%f<%lO%TkLsS!ZZOy%Tz;'S%T;'S;=`%f<%lO%ThMUUrWOy%Tz!_%T!_!`Mh!`;'S%T;'S;=`%f<%lO%ThMoS|`rWOy%Tz;'S%T;'S;=`%f<%lO%TlNSW!SSrWOy%Tz!^%T!^!_Mh!_!`%T!`!aMh!a;'S%T;'S;=`%f<%lO%TjNsV!UQrWOy%Tz!_%T!_!`Mh!`!a! Y!a;'S%T;'S;=`%f<%lO%Tb! aS!UQ|`Oy%Tz;'S%T;'S;=`%f<%lO%To! rYg]Oy%Tz!b%T!b!c!!b!c!}!#R!}#T%T#T#o!#R#o#p!$O#p;'S%T;'S;=`%f<%lO%Tm!!iWg]|`Oy%Tz!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%Tm!#Y[g]|`Oy%Tz}%T}!O!#R!O!Q%T!Q![!#R![!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%To!$TW|`Oy%Tz!c%T!c!}!$m!}#T%T#T#o!$m#o;'S%T;'S;=`%f<%lO%To!$r^|`Oy%Tz}%T}!O!$m!O!Q%T!Q![!$m![!c%T!c!}!$m!}#T%T#T#o!$m#o#q%T#q#r!%n#r;'S%T;'S;=`%f<%lO%To!%uSp_|`Oy%Tz;'S%T;'S;=`%f<%lO%To!&W[#h_Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%To!'T[#h_|`Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%Tk!(OSyZOy%Tz;'S%T;'S;=`%f<%lO%Tm!(aSw]Oy%Tz;'S%T;'S;=`%f<%lO%Td!(pUOy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tk!)XS!^ZOy%Tz;'S%T;'S;=`%f<%lO%Tk!)jS!]ZOy%Tz;'S%T;'S;=`%f<%lO%To!){Y#oQOr%Trs!*ksw%Twx!.wxy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tm!*pZ|`OY!*kYZ%TZr!*krs!+csy!*kyz!+vz#O!*k#O#P!-j#P;'S!*k;'S;=`!.q<%lO!*km!+jSo]|`Oy%Tz;'S%T;'S;=`%f<%lO%T]!+yWOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d<%lO!+v]!,hOo]]!,kRO;'S!+v;'S;=`!,t;=`O!+v]!,wXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!+v<%lO!+v]!-gP;=`<%l!+vm!-oU|`Oy!*kyz!+vz;'S!*k;'S;=`!.R;=`<%l!+v<%lO!*km!.UXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!*k<%lO!+vm!.tP;=`<%l!*km!.|Z|`OY!.wYZ%TZw!.wwx!+cxy!.wyz!/oz#O!.w#O#P!1^#P;'S!.w;'S;=`!2e<%lO!.w]!/rWOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W<%lO!/o]!0_RO;'S!/o;'S;=`!0h;=`O!/o]!0kXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!/o<%lO!/o]!1ZP;=`<%l!/om!1cU|`Oy!.wyz!/oz;'S!.w;'S;=`!1u;=`<%l!/o<%lO!.wm!1xXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!.w<%lO!/om!2hP;=`<%l!.w`!2nP;=`<%l$t",tokenizers:[d,Z,W,0,1,2,3,4],topRules:{StyleSheet:[0,5]},specialized:[{term:116,get:T=>z[T]||-1},{term:23,get:T=>h[T]||-1}],tokenPrec:2180}),o=n.define({name:"less",parser:g.configure({props:[$.add({Declaration:y()}),P.add({Block:X})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"@-"}}),u=i(T=>T.name=="VariableName"||T.name=="AtKeyword");function b(){return new t(o,o.data.of({autocomplete:u}))}export{b as less,u as lessCompletionSource,o as lessLanguage}; diff --git a/web-dist/js/chunks/index-pNj0h2EV.mjs.gz b/web-dist/js/chunks/index-pNj0h2EV.mjs.gz new file mode 100644 index 0000000000..c34f73feaf Binary files /dev/null and b/web-dist/js/chunks/index-pNj0h2EV.mjs.gz differ diff --git a/web-dist/js/chunks/index-xO3ktRiz.mjs b/web-dist/js/chunks/index-xO3ktRiz.mjs new file mode 100644 index 0000000000..e18b92223c --- /dev/null +++ b/web-dist/js/chunks/index-xO3ktRiz.mjs @@ -0,0 +1 @@ +import{L as p,a as u,p as l,q as n,s as m,t as e,v as b,e as S,h as r}from"./TextEditor-B2vU--c4.mjs";import"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./index-Vcq4gwWv.mjs";import"./preload-helper-PPVm8Dsz.mjs";import"./_plugin-vue_export-helper-DlAUqK2U.mjs";const c=S.deserialize({version:14,states:"%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",stateData:"$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",goto:"!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",nodeNames:"⚠ Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",maxTerm:36,nodeProps:[["isolate",-3,3,13,17,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",tokenizers:[6,7,new r("b~RP#q#rU~XP#q#r[~aOT~~",17,4),new r("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~",72,2),new r("[~RPwxU~ZOp~~",11,15),new r("[~RPrsU~ZOn~~",11,14),new r("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~",66,35),new r("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~",66,33)],topRules:{Content:[0,1],Attribute:[1,7]},tokenPrec:157}),P=b.parser.configure({top:"SingleExpression"}),o=c.configure({props:[m({Text:e.content,Is:e.definitionOperator,AttributeName:e.attributeName,VueAttributeName:e.keyword,Identifier:e.variableName,"AttributeValue ScriptAttributeValue":e.attributeValue,Entity:e.character,"{{ }}":e.brace,"@ :":e.punctuation})]}),s={parser:P},Q=o.configure({wrap:n((O,t)=>O.name=="InterpolationContent"?s:null)}),g=o.configure({wrap:n((O,t)=>O.name=="AttributeScript"?s:null),top:"Attribute"}),y={parser:Q},R={parser:g},a=l();function i(O){return O.configure({dialect:"selfClosing",wrap:n(X)},"vue")}const T=i(a.language);function X(O,t){switch(O.name){case"Attribute":return/^(@|:|v-)/.test(t.read(O.from,O.from+2))?R:null;case"Text":return y}return null}function k(O={}){let t=a;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof p))throw new RangeError("The base option must be the result of calling html(...)");t=O.base}return new u(t.language==a.language?T:i(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["{",'"']}})])}export{k as vue,T as vueLanguage}; diff --git a/web-dist/js/chunks/index-xO3ktRiz.mjs.gz b/web-dist/js/chunks/index-xO3ktRiz.mjs.gz new file mode 100644 index 0000000000..85d4d7c2e9 Binary files /dev/null and b/web-dist/js/chunks/index-xO3ktRiz.mjs.gz differ diff --git a/web-dist/js/chunks/isEmpty-BPG2bWXw.mjs b/web-dist/js/chunks/isEmpty-BPG2bWXw.mjs new file mode 100644 index 0000000000..6b73a8cdaa --- /dev/null +++ b/web-dist/js/chunks/isEmpty-BPG2bWXw.mjs @@ -0,0 +1 @@ +import{g as i,b as e}from"./_getTag-rbyw32wi.mjs";import{dA as o,bR as n,dZ as f,d$ as p,e2 as a,eA as y}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";var g="[object Map]",c="[object Set]",b=Object.prototype,m=b.hasOwnProperty;function h(r){if(r==null)return!0;if(o(r)&&(n(r)||typeof r=="string"||typeof r.splice=="function"||f(r)||p(r)||a(r)))return!r.length;var t=i(r);if(t==g||t==c)return!r.size;if(y(r))return!e(r).length;for(var s in r)if(m.call(r,s))return!1;return!0}export{h as i}; diff --git a/web-dist/js/chunks/isEmpty-BPG2bWXw.mjs.gz b/web-dist/js/chunks/isEmpty-BPG2bWXw.mjs.gz new file mode 100644 index 0000000000..8b0d701292 Binary files /dev/null and b/web-dist/js/chunks/isEmpty-BPG2bWXw.mjs.gz differ diff --git a/web-dist/js/chunks/javascript-iXu5QeM3.mjs b/web-dist/js/chunks/javascript-iXu5QeM3.mjs new file mode 100644 index 0000000000..08038abf7d --- /dev/null +++ b/web-dist/js/chunks/javascript-iXu5QeM3.mjs @@ -0,0 +1 @@ +function fr(x){var pr=x.statementIndent,ur=x.jsonld,br=x.json||ur,k=x.typescript,U=x.wordCharacters||/[\w$\xa1-\uffff]/,wr=(function(){function r(y){return{type:y,style:"keyword"}}var e=r("keyword a"),t=r("keyword b"),f=r("keyword c"),u=r("keyword d"),c=r("operator"),m={type:"atom",style:"atom"};return{if:r("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:u,break:u,continue:u,new:r("new"),delete:f,void:f,throw:f,debugger:r("debugger"),var:r("var"),const:r("var"),let:r("var"),function:r("function"),catch:r("catch"),for:r("for"),switch:r("switch"),case:r("case"),default:r("default"),in:c,typeof:c,instanceof:c,true:m,false:m,null:m,undefined:m,NaN:m,Infinity:m,this:r("this"),class:r("class"),super:r("atom"),yield:f,export:r("export"),import:r("import"),extends:f,await:f}})(),hr=/[+\-*&%=<>!?|~^@]/,Or=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function qr(r){for(var e=!1,t,f=!1;(t=r.next())!=null;){if(!e){if(t=="/"&&!f)return;t=="["?f=!0:f&&t=="]"&&(f=!1)}e=!e&&t=="\\"}}var D,G;function b(r,e,t){return D=r,G=t,e}function S(r,e){var t=r.next();if(t=='"'||t=="'")return e.tokenize=Nr(t),e.tokenize(r,e);if(t=="."&&r.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return b("number","number");if(t=="."&&r.match(".."))return b("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(t))return b(t);if(t=="="&&r.eat(">"))return b("=>","operator");if(t=="0"&&r.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return b("number","number");if(/\d/.test(t))return r.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),b("number","number");if(t=="/")return r.eat("*")?(e.tokenize=H,H(r,e)):r.eat("/")?(r.skipToEnd(),b("comment","comment")):ce(r,e,1)?(qr(r),r.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),b("regexp","string.special")):(r.eat("="),b("operator","operator",r.current()));if(t=="`")return e.tokenize=L,L(r,e);if(t=="#"&&r.peek()=="!")return r.skipToEnd(),b("meta","meta");if(t=="#"&&r.eatWhile(U))return b("variable","property");if(t=="<"&&r.match("!--")||t=="-"&&r.match("->")&&!/\S/.test(r.string.slice(0,r.start)))return r.skipToEnd(),b("comment","comment");if(hr.test(t))return(t!=">"||!e.lexical||e.lexical.type!=">")&&(r.eat("=")?(t=="!"||t=="=")&&r.eat("="):/[<>*+\-|&?]/.test(t)&&(r.eat(t),t==">"&&r.eat(t))),t=="?"&&r.eat(".")?b("."):b("operator","operator",r.current());if(U.test(t)){r.eatWhile(U);var f=r.current();if(e.lastType!="."){if(wr.propertyIsEnumerable(f)){var u=wr[f];return b(u.type,u.style,f)}if(f=="async"&&r.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return b("async","keyword",f)}return b("variable","variable",f)}}function Nr(r){return function(e,t){var f=!1,u;if(ur&&e.peek()=="@"&&e.match(Or))return t.tokenize=S,b("jsonld-keyword","meta");for(;(u=e.next())!=null&&!(u==r&&!f);)f=!f&&u=="\\";return f||(t.tokenize=S),b("string","string")}}function H(r,e){for(var t=!1,f;f=r.next();){if(f=="/"&&t){e.tokenize=S;break}t=f=="*"}return b("comment","comment")}function L(r,e){for(var t=!1,f;(f=r.next())!=null;){if(!t&&(f=="`"||f=="$"&&r.eat("{"))){e.tokenize=S;break}t=!t&&f=="\\"}return b("quasi","string.special",r.current())}var Br="([{}])";function ar(r,e){e.fatArrowAt&&(e.fatArrowAt=null);var t=r.string.indexOf("=>",r.start);if(!(t<0)){if(k){var f=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(r.string.slice(r.start,t));f&&(t=f.index)}for(var u=0,c=!1,m=t-1;m>=0;--m){var y=r.string.charAt(m),v=Br.indexOf(y);if(v>=0&&v<3){if(!u){++m;break}if(--u==0){y=="("&&(c=!0);break}}else if(v>=3&&v<6)++u;else if(U.test(y))c=!0;else if(/["'\/`]/.test(y))for(;;--m){if(m==0)return;var K=r.string.charAt(m-1);if(K==y&&r.string.charAt(m-2)!="\\"){m--;break}}else if(c&&!u){++m;break}}c&&!u&&(e.fatArrowAt=m)}}var Fr={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function xr(r,e,t,f,u,c){this.indented=r,this.column=e,this.type=t,this.prev=u,this.info=c,f!=null&&(this.align=f)}function Jr(r,e){for(var t=r.localVars;t;t=t.next)if(t.name==e)return!0;for(var f=r.context;f;f=f.prev)for(var t=f.vars;t;t=t.next)if(t.name==e)return!0}function Mr(r,e,t,f,u){var c=r.cc;for(i.state=r,i.stream=u,i.marked=null,i.cc=c,i.style=e,r.lexical.hasOwnProperty("align")||(r.lexical.align=!0);;){var m=c.length?c.pop():br?p:w;if(m(t,f)){for(;c.length&&c[c.length-1].lex;)c.pop()();return i.marked?i.marked:t=="variable"&&Jr(r,f)?"variableName.local":e}}}var i={state:null,marked:null,cc:null};function o(){for(var r=arguments.length-1;r>=0;r--)i.cc.push(arguments[r])}function n(){return o.apply(null,arguments),!0}function or(r,e){for(var t=e;t;t=t.next)if(t.name==r)return!0;return!1}function q(r){var e=i.state;if(i.marked="def",e.context){if(e.lexical.info=="var"&&e.context&&e.context.block){var t=gr(r,e.context);if(t!=null){e.context=t;return}}else if(!or(r,e.localVars)){e.localVars=new Q(r,e.localVars);return}}x.globalVars&&!or(r,e.globalVars)&&(e.globalVars=new Q(r,e.globalVars))}function gr(r,e){if(e)if(e.block){var t=gr(r,e.prev);return t?t==e.prev?e:new P(t,e.vars,!0):null}else return or(r,e.vars)?e:new P(e.prev,new Q(r,e.vars),!1);else return null}function X(r){return r=="public"||r=="private"||r=="protected"||r=="abstract"||r=="readonly"}function P(r,e,t){this.prev=r,this.vars=e,this.block=t}function Q(r,e){this.name=r,this.next=e}var Dr=new Q("this",new Q("arguments",null));function E(){i.state.context=new P(i.state.context,i.state.localVars,!1),i.state.localVars=Dr}function Y(){i.state.context=new P(i.state.context,i.state.localVars,!0),i.state.localVars=null}E.lex=Y.lex=!0;function T(){i.state.localVars=i.state.context.vars,i.state.context=i.state.context.prev}T.lex=!0;function s(r,e){var t=function(){var f=i.state,u=f.indented;if(f.lexical.type=="stat")u=f.lexical.indented;else for(var c=f.lexical;c&&c.type==")"&&c.align;c=c.prev)u=c.indented;f.lexical=new xr(u,i.stream.column(),r,null,f.lexical,e)};return t.lex=!0,t}function a(){var r=i.state;r.lexical.prev&&(r.lexical.type==")"&&(r.indented=r.lexical.indented),r.lexical=r.lexical.prev)}a.lex=!0;function l(r){function e(t){return t==r?n():r==";"||t=="}"||t==")"||t=="]"?o():n(e)}return e}function w(r,e){return r=="var"?n(s("vardef",e),mr,l(";"),a):r=="keyword a"?n(s("form"),sr,w,a):r=="keyword b"?n(s("form"),w,a):r=="keyword d"?i.stream.match(/^\s*$/,!1)?n():n(s("stat"),N,l(";"),a):r=="debugger"?n(l(";")):r=="{"?n(s("}"),Y,rr,a,T):r==";"?n():r=="if"?(i.state.lexical.info=="else"&&i.state.cc[i.state.cc.length-1]==a&&i.state.cc.pop()(),n(s("form"),sr,w,a,jr)):r=="function"?n(_):r=="for"?n(s("form"),Y,zr,w,T,a):r=="class"||k&&e=="interface"?(i.marked="keyword",n(s("form",r=="class"?r:e),Sr,a)):r=="variable"?k&&e=="declare"?(i.marked="keyword",n(w)):k&&(e=="module"||e=="enum"||e=="type")&&i.stream.match(/^\s*\w/,!1)?(i.marked="keyword",e=="enum"?n($r):e=="type"?n(_r,l("operator"),d,l(";")):n(s("form"),V,l("{"),s("}"),rr,a,a)):k&&e=="namespace"?(i.marked="keyword",n(s("form"),p,w,a)):k&&e=="abstract"?(i.marked="keyword",n(w)):n(s("stat"),Kr):r=="switch"?n(s("form"),sr,l("{"),s("}","switch"),Y,rr,a,a,T):r=="case"?n(p,l(":")):r=="default"?n(l(":")):r=="catch"?n(s("form"),E,Lr,w,a,T):r=="export"?n(s("stat"),fe,a):r=="import"?n(s("stat"),ue,a):r=="async"?n(w):e=="@"?n(p,w):o(s("stat"),p,l(";"),a)}function Lr(r){if(r=="(")return n(O,l(")"))}function p(r,e){return yr(r,e,!1)}function g(r,e){return yr(r,e,!0)}function sr(r){return r!="("?o():n(s(")"),N,l(")"),a)}function yr(r,e,t){if(i.state.fatArrowAt==i.stream.start){var f=t?Tr:vr;if(r=="(")return n(E,s(")"),h(O,")"),a,l("=>"),f,T);if(r=="variable")return o(E,V,l("=>"),f,T)}var u=t?B:I;return Fr.hasOwnProperty(r)?n(u):r=="function"?n(_,u):r=="class"||k&&e=="interface"?(i.marked="keyword",n(s("form"),ie,a)):r=="keyword c"||r=="async"?n(t?g:p):r=="("?n(s(")"),N,l(")"),a,u):r=="operator"||r=="spread"?n(t?g:p):r=="["?n(s("]"),oe,a,u):r=="{"?R(C,"}",null,u):r=="quasi"?o(Z,u):r=="new"?n(Qr(t)):n()}function N(r){return r.match(/[;\}\)\],]/)?o():o(p)}function I(r,e){return r==","?n(N):B(r,e,!1)}function B(r,e,t){var f=t==!1?I:B,u=t==!1?p:g;if(r=="=>")return n(E,t?Tr:vr,T);if(r=="operator")return/\+\+|--/.test(e)||k&&e=="!"?n(f):k&&e=="<"&&i.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?n(s(">"),h(d,">"),a,f):e=="?"?n(p,l(":"),u):n(u);if(r=="quasi")return o(Z,f);if(r!=";"){if(r=="(")return R(g,")","call",f);if(r==".")return n(Ur,f);if(r=="[")return n(s("]"),N,l("]"),a,f);if(k&&e=="as")return i.marked="keyword",n(d,f);if(r=="regexp")return i.state.lastType=i.marked="operator",i.stream.backUp(i.stream.pos-i.stream.start-1),n(u)}}function Z(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(Z):n(N,Pr)}function Pr(r){if(r=="}")return i.marked="string.special",i.state.tokenize=L,n(Z)}function vr(r){return ar(i.stream,i.state),o(r=="{"?w:p)}function Tr(r){return ar(i.stream,i.state),o(r=="{"?w:g)}function Qr(r){return function(e){return e=="."?n(r?Wr:Rr):e=="variable"&&k?n(Cr,r?B:I):o(r?g:p)}}function Rr(r,e){if(e=="target")return i.marked="keyword",n(I)}function Wr(r,e){if(e=="target")return i.marked="keyword",n(B)}function Kr(r){return r==":"?n(a,w):o(I,l(";"),a)}function Ur(r){if(r=="variable")return i.marked="property",n()}function C(r,e){if(r=="async")return i.marked="property",n(C);if(r=="variable"||i.style=="keyword"){if(i.marked="property",e=="get"||e=="set")return n(Gr);var t;return k&&i.state.fatArrowAt==i.stream.start&&(t=i.stream.match(/^\s*:\s*/,!1))&&(i.state.fatArrowAt=i.stream.pos+t[0].length),n($)}else{if(r=="number"||r=="string")return i.marked=ur?"property":i.style+" property",n($);if(r=="jsonld-keyword")return n($);if(k&&X(e))return i.marked="keyword",n(C);if(r=="[")return n(p,F,l("]"),$);if(r=="spread")return n(g,$);if(e=="*")return i.marked="keyword",n(C);if(r==":")return o($)}}function Gr(r){return r!="variable"?o($):(i.marked="property",n(_))}function $(r){if(r==":")return n(g);if(r=="(")return o(_)}function h(r,e,t){function f(u,c){if(t?t.indexOf(u)>-1:u==","){var m=i.state.lexical;return m.info=="call"&&(m.pos=(m.pos||0)+1),n(function(y,v){return y==e||v==e?o():o(r)},f)}return u==e||c==e?n():t&&t.indexOf(";")>-1?o(r):n(l(e))}return function(u,c){return u==e||c==e?n():o(r,f)}}function R(r,e,t){for(var f=3;f"),d);if(r=="quasi")return o(cr,A)}function Yr(r){if(r=="=>")return n(d)}function lr(r){return r.match(/[\}\)\]]/)?n():r==","||r==";"?n(lr):o(W,lr)}function W(r,e){if(r=="variable"||i.style=="keyword")return i.marked="property",n(W);if(e=="?"||r=="number"||r=="string")return n(W);if(r==":")return n(d);if(r=="[")return n(l("variable"),Hr,l("]"),W);if(r=="(")return o(M,W);if(!r.match(/[;\}\)\],]/))return n()}function cr(r,e){return r!="quasi"?o():e.slice(e.length-2)!="${"?n(cr):n(d,Zr)}function Zr(r){if(r=="}")return i.marked="string.special",i.state.tokenize=L,n(cr)}function dr(r,e){return r=="variable"&&i.stream.match(/^\s*[?:]/,!1)||e=="?"?n(dr):r==":"?n(d):r=="spread"?n(dr):o(d)}function A(r,e){if(e=="<")return n(s(">"),h(d,">"),a,A);if(e=="|"||r=="."||e=="&")return n(d);if(r=="[")return n(d,l("]"),A);if(e=="extends"||e=="implements")return i.marked="keyword",n(d);if(e=="?")return n(d,l(":"),d)}function Cr(r,e){if(e=="<")return n(s(">"),h(d,">"),a,A)}function er(){return o(d,re)}function re(r,e){if(e=="=")return n(d)}function mr(r,e){return e=="enum"?(i.marked="keyword",n($r)):o(V,F,z,ne)}function V(r,e){if(k&&X(e))return i.marked="keyword",n(V);if(r=="variable")return q(e),n();if(r=="spread")return n(V);if(r=="[")return R(ee,"]");if(r=="{")return R(Ar,"}")}function Ar(r,e){return r=="variable"&&!i.stream.match(/^\s*:/,!1)?(q(e),n(z)):(r=="variable"&&(i.marked="property"),r=="spread"?n(V):r=="}"?o():r=="["?n(p,l("]"),l(":"),Ar):n(l(":"),V,z))}function ee(){return o(V,z)}function z(r,e){if(e=="=")return n(g)}function ne(r){if(r==",")return n(mr)}function jr(r,e){if(r=="keyword b"&&e=="else")return n(s("form","else"),w,a)}function zr(r,e){if(e=="await")return n(zr);if(r=="(")return n(s(")"),te,a)}function te(r){return r=="var"?n(mr,J):r=="variable"?n(J):o(J)}function J(r,e){return r==")"?n():r==";"?n(J):e=="in"||e=="of"?(i.marked="keyword",n(p,J)):o(p,J)}function _(r,e){if(e=="*")return i.marked="keyword",n(_);if(r=="variable")return q(e),n(_);if(r=="(")return n(E,s(")"),h(O,")"),a,Vr,w,T);if(k&&e=="<")return n(s(">"),h(er,">"),a,_)}function M(r,e){if(e=="*")return i.marked="keyword",n(M);if(r=="variable")return q(e),n(M);if(r=="(")return n(E,s(")"),h(O,")"),a,Vr,T);if(k&&e=="<")return n(s(">"),h(er,">"),a,M)}function _r(r,e){if(r=="keyword"||r=="variable")return i.marked="type",n(_r);if(e=="<")return n(s(">"),h(er,">"),a)}function O(r,e){return e=="@"&&n(p,O),r=="spread"?n(O):k&&X(e)?(i.marked="keyword",n(O)):k&&r=="this"?n(F,z):o(V,F,z)}function ie(r,e){return r=="variable"?Sr(r,e):nr(r,e)}function Sr(r,e){if(r=="variable")return q(e),n(nr)}function nr(r,e){if(e=="<")return n(s(">"),h(er,">"),a,nr);if(e=="extends"||e=="implements"||k&&r==",")return e=="implements"&&(i.marked="keyword"),n(k?d:p,nr);if(r=="{")return n(s("}"),j,a)}function j(r,e){if(r=="async"||r=="variable"&&(e=="static"||e=="get"||e=="set"||k&&X(e))&&i.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return i.marked="keyword",n(j);if(r=="variable"||i.style=="keyword")return i.marked="property",n(tr,j);if(r=="number"||r=="string")return n(tr,j);if(r=="[")return n(p,F,l("]"),tr,j);if(e=="*")return i.marked="keyword",n(j);if(k&&r=="(")return o(M,j);if(r==";"||r==",")return n(j);if(r=="}")return n();if(e=="@")return n(p,j)}function tr(r,e){if(e=="!"||e=="?")return n(tr);if(r==":")return n(d,z);if(e=="=")return n(g);var t=i.state.lexical.prev,f=t&&t.info=="interface";return o(f?M:_)}function fe(r,e){return e=="*"?(i.marked="keyword",n(kr,l(";"))):e=="default"?(i.marked="keyword",n(p,l(";"))):r=="{"?n(h(Er,"}"),kr,l(";")):o(w)}function Er(r,e){if(e=="as")return i.marked="keyword",n(l("variable"));if(r=="variable")return o(g,Er)}function ue(r){return r=="string"?n():r=="("?o(p):r=="."?o(I):o(ir,Ir,kr)}function ir(r,e){return r=="{"?R(ir,"}"):(r=="variable"&&q(e),e=="*"&&(i.marked="keyword"),n(ae))}function Ir(r){if(r==",")return n(ir,Ir)}function ae(r,e){if(e=="as")return i.marked="keyword",n(ir)}function kr(r,e){if(e=="from")return i.marked="keyword",n(p)}function oe(r){return r=="]"?n():o(h(g,"]"))}function $r(){return o(s("form"),V,l("{"),s("}"),h(se,"}"),a,a)}function se(){return o(V,z)}function le(r,e){return r.lastType=="operator"||r.lastType==","||hr.test(e.charAt(0))||/[,.]/.test(e.charAt(0))}function ce(r,e,t){return e.tokenize==S&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(e.lastType)||e.lastType=="quasi"&&/\{\s*$/.test(r.string.slice(0,r.pos-t))}return{name:x.name,startState:function(r){var e={tokenize:S,lastType:"sof",cc:[],lexical:new xr(-r,0,"block",!1),localVars:x.localVars,context:x.localVars&&new P(null,null,!1),indented:0};return x.globalVars&&typeof x.globalVars=="object"&&(e.globalVars=x.globalVars),e},token:function(r,e){if(r.sol()&&(e.lexical.hasOwnProperty("align")||(e.lexical.align=!1),e.indented=r.indentation(),ar(r,e)),e.tokenize!=H&&r.eatSpace())return null;var t=e.tokenize(r,e);return D=="comment"?t:(e.lastType=D=="operator"&&(G=="++"||G=="--")?"incdec":D,Mr(e,t,D,G,r))},indent:function(r,e,t){if(r.tokenize==H||r.tokenize==L)return null;if(r.tokenize!=S)return 0;var f=e&&e.charAt(0),u=r.lexical,c;if(!/^\s*else\b/.test(e))for(var m=r.cc.length-1;m>=0;--m){var y=r.cc[m];if(y==a)u=u.prev;else if(y!=jr&&y!=T)break}for(;(u.type=="stat"||u.type=="form")&&(f=="}"||(c=r.cc[r.cc.length-1])&&(c==I||c==B)&&!/^[,\.=+\-*:?[\(]/.test(e));)u=u.prev;pr&&u.type==")"&&u.prev.type=="stat"&&(u=u.prev);var v=u.type,K=f==v;return v=="vardef"?u.indented+(r.lastType=="operator"||r.lastType==","?u.info.length+1:0):v=="form"&&f=="{"?u.indented:v=="form"?u.indented+t.unit:v=="stat"?u.indented+(le(r,e)?pr||t.unit:0):u.info=="switch"&&!K&&x.doubleIndentSwitch!=!1?u.indented+(/^(?:case|default)\b/.test(e)?t.unit:2*t.unit):u.align?u.column+(K?0:1):u.indented+(K?0:t.unit)},languageData:{indentOnInput:/^\s*(?:case .*?:|default:|\{|\})$/,commentTokens:br?void 0:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]},wordChars:"$"}}}const de=fr({name:"javascript"}),me=fr({name:"json",json:!0}),ke=fr({name:"json",jsonld:!0}),pe=fr({name:"typescript",typescript:!0});export{de as javascript,me as json,ke as jsonld,pe as typescript}; diff --git a/web-dist/js/chunks/javascript-iXu5QeM3.mjs.gz b/web-dist/js/chunks/javascript-iXu5QeM3.mjs.gz new file mode 100644 index 0000000000..067096de7d Binary files /dev/null and b/web-dist/js/chunks/javascript-iXu5QeM3.mjs.gz differ diff --git a/web-dist/js/chunks/json-WKIyujAI.mjs b/web-dist/js/chunks/json-WKIyujAI.mjs new file mode 100644 index 0000000000..275ac27d90 --- /dev/null +++ b/web-dist/js/chunks/json-WKIyujAI.mjs @@ -0,0 +1 @@ +import{t as e}from"./translations-BpcCzEJn.mjs";const a={Delete:"حذف","Show less":"إظهار أقل","Show more":"إظهار المزيد",Download:"التنزيل",Close:"إغلاق","Show details":"إظهار التفاصيل",Personal:"شخصي",User:"مستخدم",Guest:"ضيف",Activities:"أنشطة","No activities":"لا توجد أنشطة",Password:"كلمة السر",Edit:"تحرير",Email:"البريد الإلكتروني",Mail:"رسالة",Error:"خطأ","An error occurred while loading the public link":"حدث خطأ أثناء تحميل الرابط العام"},t={},i={"Navigated to %{ pageTitle }":"Přejít na %{ pageTitle }",New:"Nový",Delete:"Smazat",Create:"Vytvořit",Note:"Poznámka",Actions:"Akce",Download:"Stáhnout",Theme:"Vzhled","Preference saved.":"Předvolba uložena.","New password":"Nové heslo","New password must be different from current password":"Nové heslo se musí lišit od aktuálního hesla",Confirm:"Potvrdit",Close:"Zavřít","Navigate to %{ pageName } page":"Přejít na stránku %{ pageName }","Main navigation":"Hlavní navigace",Applications:"Aplikace",Notifications:"Notifikace","Mark all as read":"Označit vše jako přečtené","Nothing new":"Nic nového","Navigate to personal files page":"Přejít na stránku osobních souborů","My Account":"Můj účet",Account:"Účet",Preferences:"Předvolby",Imprint:"Imprint",Privacy:"Soukromí",Accessibility:"Přístupnost","Preparing upload...":"Příprava nahrávání...",Personal:"Osobní","Public link":"Veřejný odkaz","Quota exceeded":"Kvóta překročena",Calendar:"Kalendář",Admin:"Správce",User:"Uživatel",Guest:"Host",Activities:"Aktivity","No activities":"Žádné aktivity","Read more":"Čti dál","Not logged in":"Nejste přihlášeni",here:"zde",Username:"Uživatelské jméno",Password:"Heslo",Extensions:"Rozšíření","No extensions available":"Žádná rozšíření nejsou k dispozici",GDPR:"GDPR",Edit:"Upravit",Email:"E-mail","No email has been set up":"Nebyl nastaven žádný e-mail","Logout from active devices":"Odhlášení z aktivních zařízení",Profile:"Profil","Preference value":"Hodnota předvolby",Language:"Jazyk","Mail notification options":"Možnosti oznámení e-mailem",Event:"Událost","In-App":"V aplikaci",Mail:"E-mail",Options:"Předvolby",Error:"Chyba","Missing or invalid config":"Chybějící nebo neplatná konfigurace",Continue:"Pokračovat",Login:"Přihlášení",Logout:"Odhlásit","Private link":"Soukromý odkaz","Not found":"Not found"},o={},n={},s={New:"Nuevo",Delete:"Eliminar","Show less":"Mostrar menos","Show more":"Mostrar más",Create:"Crear",Actions:"Acciones",Download:"Descarga",Preferences:"Preferencias",Personal:"Personal","Public link":"Enlace público",User:"Usuario",Guest:"Invitado",Activities:"Actividades","No activities":"Sin actividades","View and download.":"Ver y descargar","View, download, upload, edit, add and delete.":"Ver, descargar, subuir, editar, añadir y eliminar.","View, download and edit.":"Ver. descargar y editar.","View, download and upload.":"Ver, descargar y subir.","View, download, upload, edit, add, delete and manage members.":"Ver, descargar, subir, editar, añadir, eliminar y gestionar miembros.","Can view":"Se puede visualizar","Can edit":"Puede editar","Can upload":"Se puede subir","Can manage":"Se puede gestionar","Public files":"Archivos públicos",Password:"Contraseña",Edit:"Editar",Email:"Email","Logout from active devices":"Cerrar sesión en dispositivos activos","Personalise your notification preferences about any file, folder, or Space.":"Personalice sus preferencias de notificación sobre cualquier archivo, carpeta o espacio.",Error:"Error","An error occurred while loading the public link":"Ha ocurrido un error mientras se cargaba el link público",Login:"Iniciar sesión",Logout:"Cerrar sesión","Access denied":"Acceso denegado"},r=JSON.parse(`{"404":"404","Skip to main":"Μετάβαση στο κυρίως περιεχόμενο","Navigated to %{ pageTitle }":"Πλοήγηση στη σελίδα %{ pageTitle }","App Tokens":"Διακριτικά εφαρμογής","New":"Νέο","App tokens are not available because the »auth-app« service is not running. Please contact an administrator.":"Τα διακριτικά εφαρμογής δεν είναι διαθέσιμα επειδή η υπηρεσία »auth-app« δεν εκτελείται. Παρακαλούμε επικοινωνήστε με έναν διαχειριστή.","No app tokens available.":"Δεν υπάρχουν διαθέσιμα διακριτικά εφαρμογής.","Delete app token":"Διαγραφή διακριτικού εφαρμογής","Delete":"Διαγραφή","Show less":"Εμφάνιση λιγότερων","Show more":"Εμφάνιση περισσότερων","The app token has been deleted.":"Το διακριτικό εφαρμογής διαγράφηκε.","An error occurred while deleting the app token.":"Παρουσιάστηκε σφάλμα κατά τη διαγραφή του διακριτικού εφαρμογής.","Create a new app token":"Δημιουργία νέου διακριτικού εφαρμογής","Create":"Δημιουργία","Are you sure you want to delete this app token?":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτό το διακριτικό εφαρμογής;","Note":"Σημείωση","Created at":"Δημιουργήθηκε στις","Expires at":"Λήγει στις","Actions":"Ενέργειες","Export is being processed. This can take up to 24 hours.":"Η εξαγωγή βρίσκεται υπό επεξεργασία. Αυτό μπορεί να διαρκέσει έως και 24 ώρες.","Request new export":"Αίτημα νέας εξαγωγής","Latest export from: %{date}":"Τελευταία εξαγωγή από: %{date}","Download":"Λήψη","GDPR export has been requested":"Το αίτημα εξαγωγής δεδομένων GDPR υποβλήθηκε","GDPR export could not be requested. Please contact an administrator.":"Δεν ήταν δυνατή η υποβολή αιτήματος εξαγωγής GDPR. Παρακαλούμε επικοινωνήστε με έναν διαχειριστή.","%{used} of %{total} used (%{percentage}%)":"Χρησιμοποιούνται %{used} από %{total} (%{percentage}%)","%{used} used":"%{used} σε χρήση","Theme":"Θέμα","Auto (same as system)":"Αυτόματο (ίδιο με του συστήματος)","Preference saved.":"Η προτίμηση αποθηκεύτηκε.","Current password":"Τρέχον συνθηματικό","New password":"Νέο συνθηματικό","Repeat new password":"Επανάληψη νέου συνθηματικού","Password was changed successfully":"Το συνθηματικό άλλαξε επιτυχώς","Failed to change password":"Αποτυχία αλλαγής σνθηματκού","New password must be different from current password":"Το νέο συνθηματικό πρέπει να είναι διαφορετικό από το τρέχον","Password and password confirmation must be identical":"Το συνθηματικό και η επιβεβαίωση πρέπει να είναι πανομοιότυπα","Expiration date":"Ημερομηνία λήξης","Confirm":"Επιβεβαίωση","Your app token has been successfully created. This is the only time it will be displayed, so please make sure to copy it now.":"Το διακριτικό εφαρμογής σας δημιουργήθηκε επιτυχώς. Αυτή είναι η μοναδική φορά που θα εμφανιστεί, επομένως φροντίστε να το αντιγράψετε τώρα.","Copy app token to clipboard":"Αντιγραφή διακριτικού στο πρόχειρο","Expires on:":"Λήγει στις:","Close":"Κλείσιμο","The note is required":"Η σημείωση είναι υποχρεωτική","Sidebar navigation menu":"Μενού πλοήγησης πλευρικής στήλης","Navigate to %{ pageName } page":"Μετάβαση στη σελίδα %{ pageName }","Main navigation":"Κύρια πλοήγηση","Applications":"Εφαρμογές","Application Switcher":"Εναλλαγή εφαρμογών","Share improvement ideas":"Μοιραστείτε ιδέες βελτίωσης","Notifications":"Ειδοποιήσεις","Mark all as read":"Σήμανση όλων ως αναγνωσμένων","Nothing new":"Τίποτα νέο","Close sidebar to hide details":"Κλείσιμο πλευρικής στήλης για απόκρυψη λεπτομερειών","Open sidebar to view details":"Άνοιγμα πλευρικής στήλης για προβολή λεπτομερειών","Top bar":"Πάνω γραμμή","Navigate to personal files page":"Μετάβαση στη σελίδα προσωπικών αρχείων","Account menu":"Μενού λογαριασμού","My Account":"Ο Λογαριασμός μου","User Menu login":"Σύνδεση μενού χρήστη","Account":"Λογαριασμός","Preferences":"Προτιμήσεις","Log in":"Σύνδεση","Log out":"Αποσύνδεση","Imprint":"Στοιχεία παρόχου (Imprint)","Privacy":"Προστασία Προσωπικών Δεδομένων","Accessibility":"Προσβασιμότητα","Hide details":"Απόκρυψη λεπτομερειών","Show details":"Εμφάνιση λεπτομερειών","Retry all failed uploads":"Επανάληψη όλων των αποτυχημένων μεταφορτώσεων","Resume upload":"Συνέχιση μεταφόρτωσης","Pause upload":"Παύση μεταφόρτωσης","Cancel upload":"Ακύρωση μεταφόρτωσης","%{uploadedBytes} of %{totalBytes} (%{currentUploadSpeed}/s)":"%{uploadedBytes} από %{totalBytes} (%{currentUploadSpeed}/s)","Finalizing upload...":"Οριστικοποίηση μεταφόρτωσης...","%{ filesInProgressCount } item uploading...":["%{ filesInProgressCount } στοιχείο μεταφορτώνεται...","%{ filesInProgressCount } στοιχεία μεταφορτώνονται..."],"Upload cancelled":"Η μεταφόρτωση ακυρώθηκε","Upload failed":"Η μεταφόρτωση απέτυχε","Upload completed":"Η μεταφόρτωση ολοκληρώθηκε","Preparing upload...":"Προετοιμασία μεταφόρτωσης...","%{ errors } of %{ uploads } item failed":["Απέτυχε %{ errors } από %{ uploads } στοιχείο","Απέτυχαν %{ errors } από %{ uploads } στοιχεία"],"%{ successfulUploads } item uploaded":["%{ successfulUploads } στοιχείο μεταφορτώθηκε","%{ successfulUploads } στοιχεία μεταφορτώθηκαν"],"Calculating estimated time...":"Υπολογισμός εκτιμώμενου χρόνου...","%{ roundedRemainingMinutes } minute left":["Απομένει %{ roundedRemainingMinutes } λεπτό","Απομένουν %{ roundedRemainingMinutes } λεπτά"],"%{ roundedRemainingHours } hour left":["Απομένει %{ roundedRemainingHours } ώρα","Απομένουν %{ roundedRemainingHours } ώρες"],"Few seconds left":"Απομένουν λίγα δευτερόλεπτα","Personal":"Προσωπικά","Public link":"Δημόσιος σύνδεσμος","The folder you're uploading to is locked":"Ο φάκελος στον οποίο κάνετε μεταφόρτωση είναι κλειδωμένος","Quota exceeded":"Υπέρβαση ορίου αποθηκευτικού χώρου","Unknown error":"Άγνωστο σφάλμα","The folder you were accessing has been removed. Please navigate to another location.":"Ο φάκελος στον οποίο είχατε πρόσβαση έχει αφαιρεθεί. Παρακαλούμε μεταβείτε σε άλλη τοποθεσία.","Your access to this space has been revoked. Please navigate to another location.":"Η πρόσβασή σας σε αυτόν τον χώρο έχει ανακληθεί. Παρακαλούμε μεταβείτε σε άλλη τοποθεσία.","Your access to this share has been revoked. Please navigate to another location.":"Η πρόσβασή σας σε αυτόν το κοινόχρηστο έχει ανακληθεί. Παρακαλούμε μεταβείτε σε άλλη τοποθεσία.","Global progress bar":"Καθολική γραμμή προόδου","Customize your progress bar":"Προσαρμογή της γραμμής προόδου σας","Default progress bar":"Προεπιλεγμένη γραμμή προόδου","Calendar":"Ημερολόγιο","Admin":"Διαχειριστής","Space Admin":"Διαχειριστής Χώρου","User":"Χρήστης","Guest":"Επισκέπτης","Activities":"Δραστηριότητες","No activities":"Καμία δραστηριότητα","Virus \\"%{description}\\" detected. Please contact your administrator for more information.":"Ανιχνεύθηκε ιός \\"%{description}\\". Παρακαλούμε επικοινωνήστε με τον διαχειριστή σας για περισσότερες πληροφορίες.","Scan for viruses":"Σάρωση για ιούς","Operation denied due to security policies":"Η λειτουργία απορρίφθηκε λόγω πολιτικών ασφαλείας","Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety":"Δυστυχώς, το συνθηματικό σας είναι πολύ κοινό. Παρακαλούμε επιλέξτε ένα συνθηματικό που είναι πιο δύσκολο να προβλεφθεί για την ασφάλειά σας","View and download.":"Προβολή και λήψη.","View, download, upload, edit, add and delete.":"Προβολή, λήψη, μεταφόρτωση, επεξεργασία, προσθήκη και διαγραφή.","View, download and edit.":"Προβολή, λήψη και επεξεργασία.","View, download and upload.":"Προβολή, λήψη και μεταφόρτωση.","View, download, upload, edit, add, delete and manage members.":"Προβολή, λήψη, μεταφόρτωση, επεξεργασία, προσθήκη, διαγραφή και διαχείριση μελών.","Can view":"Δυνατότητα προβολής","Can edit":"Δυνατότητα επεξεργασίας","Can upload":"Δυνατότητα μεταφόρτωσης","Can manage":"Δυνατότητα διαχείρισης","OCM share":"Διαμοιρασμός OCM","Public files":"Δημόσια αρχεία","Internet Explorer (your current browser) is not officially supported. For security reasons, please switch to another browser.":"Ο Internet Explorer (το τρέχον πρόγραμμα περιήγησής σας) δεν υποστηρίζεται επίσημα. Για λόγους ασφαλείας, παρακαλούμε χρησιμοποιήστε ένα άλλο πρόγραμμα περιήγησης.","Read more":"Διαβάστε περισσότερα","Not logged in":"Δεν είστε συνδεδεμένοι","This could be because of a routine safety log out, or because your account is either inactive or not yet authorized for use. Please try logging in after a while or seek help from your Administrator.":"Αυτό μπορεί να οφείλεται σε μια τυπική αποσύνδεση ασφαλείας ή επειδή ο λογαριασμός σας είναι ανενεργός ή δεν έχει εγκριθεί ακόμη για χρήση. Παρακαλούμε δοκιμάστε να συνδεθείτε ξανά μετά από λίγο ή ζητήστε βοήθεια από τον Διαχειριστή σας.","Log in again":"Σύνδεση ξανά","The calendar is not yet configured on your system, in order to learn how to enable click":"Το ημερολόγιο δεν έχει ρυθμιστεί ακόμη στο σύστημά σας. Για να μάθετε πώς να το ενεργοποιήσετε, κάντε κλικ","here":"εδώ","Here, you can access your personal calendar for integration with third-party apps like Thunderbird, Apple Calendar, and others.":"Εδώ μπορείτε να έχετε πρόσβαση στο προσωπικό σας ημερολόγιο για σύνδεση με εφαρμογές τρίτων, όπως το Thunderbird, το Apple Calendar και άλλες.","CalDAV information name":"Όνομα πληροφορίας CalDAV","CalCAV information value":"Τιμή πληροφορίας CalDAV","CalCAV information actions":"Ενέργειες πληροφορίας CalDAV","CalDAV URL":"URL CalDAV","Copy CalDAV URL":"Αντιγραφή URL CalDAV","Username":"Όνομα χρήστη","Copy CalDAV username":"Αντιγραφή ονόματος χρήστη CalDAV","Password":"Συνθηματικό","An app token needs to be generated and then can be used.":"Πρέπει να δημιουργηθεί ένα διακριτικό εφαρμογής για να μπορέσει να χρησιμοποιηθεί.","Extension not found":"Η επέκταση δεν βρέθηκε","Extensions":"Επεκτάσεις","No extensions available":"Δεν υπάρχουν διαθέσιμες επεκτάσεις","Extension name":"Όνομα επέκτασης","Extension description":"Περιγραφή επέκτασης","Extension value":"Τιμή επέκτασης","GDPR":"GDPR","GDPR action name":"Όνομα ενέργειας GDPR","GDPR action description":"Περιγραφή ενέργειας GDPR","GDPR actions":"Ενέργειες GDPR","GDPR export":"Εξαγωγή GDPR","Request a personal data export according to §20 GDPR.":"Αιτηθείτε εξαγωγή προσωπικών δεδομένων σύμφωνα με το άρθρο 20 του GDPR.","Account Information":"Πληροφορίες Λογαριασμού","Edit":"Επεξεργασία","Information name":"Όνομα πληροφορίας","Information value":"Τιμή πληροφορίας","Profile picture":"Εικόνα προφίλ","Max. %{size}MB, JPG, PNG":"Μέγ. %{size}MB, JPG, PNG","First and last name":"Όνομα και επώνυμο","Email":"Email","No email has been set up":"Δεν έχει οριστεί email","Personal storage":"Προσωπικός αποθηκευτικός χώρος","Group memberships":"Συμμετοχή σε ομάδες","You are not part of any group":"Δεν ανήκετε σε κάποια ομάδα","Logout from active devices":"Αποσύνδεση από ενεργές συσκευές","Show devices":"Εμφάνιση συσκευών","Profile":"Προφίλ","Preference name":"Όνομα προτίμησης","Preference description":"Περιγραφή προτίμησης","Preference value":"Τιμή προτίμησης","Language":"Γλώσσα","Select your language.":"Επιλέξτε τη γλώσσα σας.","Help to translate":"Βοηθήστε στη μετάφραση","Change password":"Αλλαγή συνθηματικού","Select your favorite theme":"Επιλέξτε το αγαπημένο σας θέμα","Receive notification mails":"Λήψη email ειδοποιήσεων","View options":"Επιλογές προβολής","Show WebDAV information in details view":"Εμφάνιση πληροφοριών WebDAV στην προβολή λεπτομερειών","Personalise your notification preferences about any file, folder, or Space.":"Εξατομικεύστε τις προτιμήσεις ειδοποιήσεών σας για οποιοδήποτε αρχείο, φάκελο ή Χώρο.","Mail notification options":"Επιλογές ειδοποιήσεων αλληλογραφίας","Event":"Συμβάν","Event description":"Περιγραφή συμβάντος","In-App":"Εντός εφαρμογής","Mail":"Αλληλογραφία","Options":"Επιλογές","Option description":"Περιγραφή επιλογής","Option value":"Τιμή επιλογής","Unable to load account data…":"Αδυναμία φόρτωσης δεδομένων λογαριασμού…","Unable to save preference…":"Αδυναμία αποθήκευσης προτίμησης…","Logged out":"Αποσυνδεθήκατε","You have been logged out successfully.":"Αποσυνδεθήκατε με επιτυχία.","Error":"Σφάλμα","Missing or invalid config":"Λείπει ή είναι μη έγκυρη η παραμετροποίηση","Please check if the file config.json exists and is correct.":"Παρακαλούμε ελέγξτε αν το αρχείο config.json υπάρχει και είναι σωστό.","Also, make sure to check the browser console for more information.":"Επίσης, βεβαιωθείτε ότι ελέγξατε την κονσόλα του προγράμματος περιήγησης για περισσότερες πληροφορίες.","The page you are looking for does not exist":"Η σελίδα που αναζητάτε δεν υπάρχει","Authentication failed":"Η ταυτοποίηση απέτυχε","Logging you in":"Σύνδεση σε εξέλιξη","Please contact the administrator if this error persists.":"Παρακαλούμε επικοινωνήστε με τον διαχειριστή εάν αυτό το σφάλμα επιμένει.","Please wait, you are being redirected.":"Παρακαλούμε περιμένετε, ανακατευθύνεστε.","Open \\"Shared with me\\"":"Άνοιγμα του \\"Σε διαμοιρασμό με εμένα\\"","Resolving private link…":"Ανάλυση ιδιωτικού συνδέσμου…","An error occurred while resolving the private link":"Παρουσιάστηκε σφάλμα κατά την ανάλυση του ιδιωτικού συνδέσμου","The link you are trying to access is invalid or you do not have permission to view the content. Please check the link for any errors or contact the person who shared it for assistance.":"Ο σύνδεσμος στον οποίο προσπαθείτε να αποκτήσετε πρόσβαση είναι μη έγκυρος ή δεν έχετε άδεια να δείτε το περιεχόμενο. Παρακαλούμε ελέγξτε τον σύνδεσμο για τυχόν σφάλματα ή επικοινωνήστε με το άτομο που τον διαμοιράστηκε για βοήθεια.","Continue":"Συνέχεια","The resource could not be located, it may not exist anymore.":"Ο πόρος δεν βρέθηκε, μπορεί να μην υπάρχει πλέον.","The resource is not a public link.":"Ο πόρος δεν είναι δημόσιος σύνδεσμος.","Opening files from remote is disabled":"Το άνοιγμα αρχείων από απομακρυσμένη τοποθεσία είναι απενεργοποιημένο","An error occurred while loading the public link":"Παρουσιάστηκε σφάλμα κατά τη φόρτωση του δημόσιου συνδέσμου","This resource is password-protected":"Αυτός ο πόρος προστατεύεται με κωδικό πρόσβασης","Loading public link…":"Φόρτωση δημόσιου συνδέσμου…","Enter password for public link":"Εισάγετε συνθηματικό για τον δημόσιο σύνδεσμο","Incorrect password":"Λανθασμένος συνθηματικό","Login":"Σύνδεση","Logout":"Αποσύνδεση","OIDC callback":"OIDC callback","OIDC redirect":"OIDC ανακατεύθυνση","Private link":"Ιδιωτικός σύνδεσμος","OCM link":"Σύνδεσμος OCM","Access denied":"Η πρόσβαση απορρίφθηκε","Not found":"Δεν βρέθηκε"}`),l={},c={},d=JSON.parse(`{"404":"404","Skip to main":"Zum Hauptinhalt springen","Navigated to %{ pageTitle }":"Zur Seite %{ pageTitle } navigiert","App Tokens":"App-Token","New":"Neu","App tokens are not available because the »auth-app« service is not running. Please contact an administrator.":"App-Token sind nicht verfügbar, weil der »auth-app«-Service nicht aktiviert ist. Bitte wenden Sie sich an Ihre Administration.","No app tokens available.":"Keine App-Token verfügbar.","Delete app token":"App-Token löschen","Delete":"Löschen","Show less":"Weniger anzeigen","Show more":"Mehr anzeigen","The app token has been deleted.":"App-Token wurde gelöscht.","An error occurred while deleting the app token.":"Beim Löschen des App-Tokens ist ein Fehler aufgetreten.","Create a new app token":"App-Token erstellen","Create":"Erstellen","Are you sure you want to delete this app token?":"Soll der ausgewählte App-Token wirklich gelöscht werden?","Note":"Notiz","Created at":"Erstellt am","Expires at":"Läuft ab","Actions":"Aktionen","Export is being processed. This can take up to 24 hours.":"Export wird bearbeitet. Das kann bis zu 24 Stunden dauern.","Request new export":"Neuen Export anfordern","Latest export from: %{date}":"Zuletzt exportiert am: %{date}","Download":"Herunterladen","GDPR export has been requested":"DSGVO Export wird erstellt ...","GDPR export could not be requested. Please contact an administrator.":"DSGVO-Export kann nicht angefordert werden. Bitte wenden Sie sich an Ihre Administration.","%{used} of %{total} used (%{percentage}%)":"%{used} von %{total} verwendet (%{percentage}%)","%{used} used":"%{used} verwendet","Theme":"Design","Auto (same as system)":"Automatisch (dem System entsprechend)","Preference saved.":"Einstellung gespeichert.","Current password":"Aktuelles Passwort","New password":"Neues Passwort","Repeat new password":"Neues Passwort wiederholen","Password was changed successfully":"Passwort wurde erfolgreich geändert","Failed to change password":"Fehler beim Ändern des Passworts","New password must be different from current password":"Das neue Passwort muss sich vom alten Passwort unterscheiden","Password and password confirmation must be identical":"Passwort und Passwort-Bestätigung müssen identisch sein","Expiration date":"Ablaufdatum","Confirm":"Bestätigen","Your app token has been successfully created. This is the only time it will be displayed, so please make sure to copy it now.":"Der App-Token wurde erfolgreich erstellt. Dies ist das einzige Mal, dass er angezeigt wird. Bitte kopieren Sie ihn daher jetzt.","Copy app token to clipboard":"App-Token in die Zwischenablage kopieren","Expires on:":"Läuft ab:","Close":"Schließen","The note is required":"Notiz ist erforderlich","Sidebar navigation menu":"Navigation in der Seitenleiste","Navigate to %{ pageName } page":"Zur %{ pageName } Seite navigieren","Main navigation":"Hauptnavigation","Applications":"Anwendungen","Application Switcher":"Apps-Menü","Share improvement ideas":"Verbesserungsvorschläge teilen","Notifications":"Benachrichtigungen","Mark all as read":"Alle als gelesen markieren","Nothing new":"Nichts Neues","Close sidebar to hide details":"Seitenleiste schließen, um Details auszublenden","Open sidebar to view details":"Seitenleiste öffnen, um Details einzublenden","Top bar":"Kopfleiste","Navigate to personal files page":"Zum persönlichen Speicherbereich navigieren","Account menu":"Konto-Menü","My Account":"Mein Konto","User Menu login":"Anmelden über Menü","Account":"Konto","Preferences":"Einstellungen","Log in":"Anmelden","Log out":"Abmelden","Imprint":"Impressum","Privacy":"Datenschutz","Accessibility":"Barrierefreiheit","Hide details":"Details ausblenden","Show details":"Details anzeigen","Retry all failed uploads":"Alle fehlgeschlagenen Downloads erneut starten","Resume upload":"Hochladen fortsetzen","Pause upload":"Hochladen anhalten","Cancel upload":"Hochladen abbrechen","%{uploadedBytes} of %{totalBytes} (%{currentUploadSpeed}/s)":"%{uploadedBytes} von %{totalBytes} (%{currentUploadSpeed}/s)","Finalizing upload...":"Hochladen wird finalisiert...","%{ filesInProgressCount } item uploading...":["%{ filesInProgressCount } Datei wird hochgeladen...","%{ filesInProgressCount } Dateien werden hochgeladen..."],"Upload cancelled":"Hochladen abgebrochen","Upload failed":"Hochladen fehlgeschlagen","Upload completed":"Hochladen abgeschlossen","Preparing upload...":"Hochladen wird vorbereitet...","%{ errors } of %{ uploads } item failed":["%{ errors } von %{ uploads } Datei fehlgeschlagen","%{ errors } von %{ uploads } Dateien fehlgeschlagen"],"%{ successfulUploads } item uploaded":["%{ successfulUploads } Datei hochgeladen","%{ successfulUploads } Dateien hochgeladen"],"Calculating estimated time...":"Berechnung der voraussichtlichen Dauer...","%{ roundedRemainingMinutes } minute left":["%{ roundedRemainingMinutes } Minute verbleibend","%{ roundedRemainingMinutes } Minuten verbleibend"],"%{ roundedRemainingHours } hour left":["%{ roundedRemainingHours } Stunde verbleibend","%{ roundedRemainingHours } Stunden verbleibend"],"Few seconds left":"Noch wenige Sekunden","Personal":"Persönlich","Public link":"Öffentlicher Link","The folder you're uploading to is locked":"Der hochzuladende Ordner ist gesperrt.","Quota exceeded":"Quota überschritten","Unknown error":"Unbekannter Fehler","The folder you were accessing has been removed. Please navigate to another location.":"Der Ordner, auf den Sie zugreifen wollten, wurde entfernt. Bitte navigieren Sie zu einem anderen Ort.","Your access to this space has been revoked. Please navigate to another location.":"Ihr Zugang zu diesem Space wurde widerrufen. Bitte navigieren Sie zu einem anderen Ort.","Your access to this share has been revoked. Please navigate to another location.":"Ihr Zugriff auf dies geteilte Ressource wurde widerrufen. Bitte navigieren Sie zu einem anderen Ort.","Global progress bar":"Globaler Fortschrittsbalken","Customize your progress bar":"Anpassen des Fortschrittsbalkens","Default progress bar":"Standard Fortschrittsbalken","Calendar":"Kalender","Admin":"Administrator","Space Admin":"Space Manager/-in","User":"Benutzer","Guest":"Gast","Activities":"Aktivitäten","No activities":"Keine Aktivitäten","Virus \\"%{description}\\" detected. Please contact your administrator for more information.":"Virus \\"%{description}\\" entdeckt. Bitte kontaktieren Sie Ihren Administrator/Ihre Administratorin für weitere Informationen.","Scan for viruses":"Auf Viren prüfen","Operation denied due to security policies":"Aus Sicherheitsgründen blockiert","Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety":"Leider ist das Passwort ein häufig verwendetes Wort. Bitte wählen sie ein schwerer zu erratendes Wort.","View and download.":"Anzeigen und herunterladen","View, download, upload, edit, add and delete.":"Anzeigen, herunterladen, hochladen, bearbeiten, hinzufügen und löschen","View, download and edit.":"Ansehen, herunterladen und bearbeiten.","View, download and upload.":"Ansehen, herunterladen und hochladen.","View, download, upload, edit, add, delete and manage members.":"Anzeigen, herunterladen, hochladen, bearbeiten, hinzufügen, löschen und verwalten von Mitgliedern.","Can view":"Kann anzeigen","Can edit":"Kann bearbeiten","Can upload":"Kann hochladen","Can manage":"Kann verwalten","OCM share":"Externe Freigabe","Public files":"Öffentliche Dateien","Internet Explorer (your current browser) is not officially supported. For security reasons, please switch to another browser.":"Internet Explorer (ihr aktuell verwendeter Browser) wird offiziell nicht unterstützt. Bitte verwenden Sie aus Sicherheitsgründen einen anderen Browser.","Read more":"Mehr anzeigen","Not logged in":"Nicht angemeldet","This could be because of a routine safety log out, or because your account is either inactive or not yet authorized for use. Please try logging in after a while or seek help from your Administrator.":"Das könnte aufgrund einer routinemäßigen Abmeldung aus Sicherheitsgründen geschehen sein oder Ihr Benutzerkonto ist inaktiv oder noch nicht freigeschaltet. Bitte versuchen Sie es nach einiger Zeit erneut oder wenden Sie sich an Ihre Administration.","Log in again":"Erneut anmelden","The calendar is not yet configured on your system, in order to learn how to enable click":"Der Kalender ist auf Ihrem System noch nicht konfiguriert. Um zu erfahren, wie Sie ihn aktivieren können, klicken Sie bitte","here":"hier","Here, you can access your personal calendar for integration with third-party apps like Thunderbird, Apple Calendar, and others.":"Hier kannst du auf deine persönlichen Kalender zugreifen und ihn in Anwendungen von Drittanbietern wie Thunderbird, Apple Calendar und andere integrieren.","CalDAV information name":"CalCAV-Informationsname","CalCAV information value":"CalCAV-Informationswert","CalCAV information actions":"CalCAV-Informationsmaßnahmen","CalDAV URL":"CalDAV-URL","Copy CalDAV URL":"CalDAV-URL kopieren","Username":"Anmeldename","Copy CalDAV username":"CalDAV-Anmeldename kopieren","Password":"Passwort","An app token needs to be generated and then can be used.":"Ein App-Token muss erstellt werden und kann dann verwendet werden.","Extension not found":"Erweiterung nicht gefunden","Extensions":"Erweiterungen","No extensions available":"Keine Erweiterungen verfügbar","Extension name":"Name der Erweiterung","Extension description":"Beschreibung der Erweiterung","Extension value":"Wert der Erweiterung","GDPR":"DSGVO","GDPR action name":"GDPR Aktionsname","GDPR action description":"GDPR Aktionsbeschreibung","GDPR actions":"GDPR Aktionen","GDPR export":"Export nach §20 DSGVO","Request a personal data export according to §20 GDPR.":"Einen persönlichen Datenexport gemäß §20 DSGVO anfordern.","Account Information":"Kontoinformationen","Edit":"Bearbeiten","Information name":"Name der Information","Information value":"Wert der Information","Profile picture":"Profilbild","Max. %{size}MB, JPG, PNG":"Max. %{size}MB, JPG, PNG","First and last name":"Vor- und Nachname","Email":"E-Mail","No email has been set up":"Es wurde noch keine E-Mail eingerichtet","Personal storage":"Persönlicher Speicherplatz","Group memberships":"Gruppenzugehörigkeiten","You are not part of any group":"Sie gehören keiner Gruppe an.","Logout from active devices":"Von aktiven Geräten abmelden","Show devices":"Angemeldete Geräte anzeigen","Profile":"Profil","Preference name":"Bevorzugter Name","Preference description":"Bevorzugte Beschreibung","Preference value":"Bevorzugter Wert","Language":"Sprache","Select your language.":"Wählen Sie Ihre Sprache.","Help to translate":"Bei der Übersetzung helfen","Change password":"Passwort ändern","Select your favorite theme":"Wählen Sie Ihr Lieblingsdesign","Receive notification mails":"Mich per E-Mail über Aktivitäten benachrichtigen.","View options":"Optionen anzeigen","Show WebDAV information in details view":"WebDav-Informationen in der Detailansicht zeigen","Personalise your notification preferences about any file, folder, or Space.":"Personalisieren Sie Ihre Benachrichtigungseinstellungen für jede Datei, jeden Ordner oder jeden Space.","Mail notification options":"E-Mail Benachrichtigungs-Optionen","Event":"Ereignis","Event description":"Ereignisbeschreibung","In-App":"In-App","Mail":"E-Mail","Options":"Optionen","Option description":"Optionenbeschreibung","Option value":"Wert der Option","Unable to load account data…":"Kontoinformationen konnten nicht geladen werden.","Unable to save preference…":"Einstellung kann nicht gespeichert werden.","Logged out":"Abgemeldet","You have been logged out successfully.":"Die Abmeldung war erfolgreich.","Error":"Fehler","Missing or invalid config":"Fehlende oder falsche Konfiguration","Please check if the file config.json exists and is correct.":"Bitte prüfen Sie, ob die config.json Konfigurationsdatei existiert und valide ist.","Also, make sure to check the browser console for more information.":"Bitte prüfen Sie auch die Browser-Konsole für weitere Informationen.","The page you are looking for does not exist":"Die gesuchte Seite existiert nicht.","Authentication failed":"Authentifizierung fehlgeschlagen","Logging you in":"Sie werden eingeloggt","Please contact the administrator if this error persists.":"Bitte kontaktieren Sie den Administrator/die Administratorin, wenn dieser Fehler weiterhin besteht.","Please wait, you are being redirected.":"Bitte warten, Sie werden weitergeleitet","Open \\"Shared with me\\"":"\\"Mit mir geteilt\\" öffnen","Resolving private link…":"Auflösen des privaten Links…","An error occurred while resolving the private link":"Beim Auflösen des privaten Links ist ein Fehler aufgetreten.","The link you are trying to access is invalid or you do not have permission to view the content. Please check the link for any errors or contact the person who shared it for assistance.":"Der Link, auf den Sie zuzugreifen versuchen ist ungültig, oder Sie haben keine Berechtigung den Inhalt zu sehen. Bitte überprüfen Sie den Link auf Fehler oder wenden Sie sich an die Person die den Link freigegeben hat um Hilfe zu erhalten.","Continue":"Weiter","The resource could not be located, it may not exist anymore.":"Der Link konnte nicht aufgelöst werden. Möglicherweise ist er nicht mehr gültig.","The resource is not a public link.":"Dies ist kein öffentlicher Link.","Opening files from remote is disabled":"Fernzugriff auf Dateien ist deaktiviert.","An error occurred while loading the public link":"Beim Laden des öffentlichen Links ist ein Fehler aufgetreten","This resource is password-protected":"Diese Datei ist passwortgeschützt.","Loading public link…":"Lade öffentlichen Link…","Enter password for public link":"Passworteingabe für öffentlichen Link","Incorrect password":"Falsches Passwort","Login":"Login","Logout":"Abmelden","OIDC callback":"OIDC-Callback","OIDC redirect":"OIDC-Weiterleitung","Private link":"Privater Link","OCM link":"OCM-Link","Access denied":"Zugriff verweigert","Not found":"Nicht gefunden"}`),u={Delete:"מחיקה",Create:"סֹפֶרֶת",Actions:"הפעלות",Download:"העלאה","Expiration date":"תאריך תפוגה",Confirm:"אשרה",Close:"סגור","Log out":"התנתק",Personal:"אישי",Activities:"פעילויות","Can view":"יכול לראות","Can edit":"ניתן לערוך","Can upload":"יכול להעלות",Password:"סיסמה","View options":"הצג אפשרויות",Options:"חלופות",Continue:"המשך"},p=JSON.parse(`{"Skip to main":"Passer au menu principal","Navigated to %{ pageTitle }":"Navigué vers %{ pageTitle }","App Tokens":"Jetons d'application","New":"Nouveau","App tokens are not available because the »auth-app« service is not running. Please contact an administrator.":"Les jetons d'application ne sont pas disponibles car le service « auth-app » ne fonctionne pas. Veuillez contacter un administrateur.","No app tokens available.":"Aucun jeton d'application n'est disponible.","Delete app token":"Supprimer le jeton d'application","Delete":"Supprimer","Show less":"Afficher moins","Show more":"Afficher plus","The app token has been deleted.":"Le jeton d'application a été supprimé.","An error occurred while deleting the app token.":"Une erreur s'est produite lors de la suppression du jeton d'application.","Create a new app token":"Créer un nouveau jeton d'application","Create":"Créer","Are you sure you want to delete this app token?":"Êtes-vous sûr de vouloir supprimer ce jeton d'application ?","Note":"Note","Created at":"Créé à","Expires at":"Expire le","Actions":"Actions","Export is being processed. This can take up to 24 hours.":"L'exportation est en cours de traitement. Cela peut prendre jusqu'à 24 heures.","Request new export":"Demande de nouvelle exportation","Latest export from: %{date}":"Dernière exportation de : %{date}","Download":"Télécharger","GDPR export has been requested":"L'exportation RGPD a été demandée","GDPR export could not be requested. Please contact an administrator.":"L'exportation RGPD n'a pas pu être demandée. Veuillez contacter un administrateur.","%{used} of %{total} used (%{percentage}%)":"%{used} de %{total} utilisé (%{percentage}%)","%{used} used":"%{used} utilisé","Theme":"Thème","Auto (same as system)":"Auto (identique au système)","Preference saved.":"Préférence sauvegardée.","Current password":"Mot de passe actuel","New password":"Nouveau mot de passe","Repeat new password":"Resaisir le nouveau mot de passe","Password was changed successfully":"Le mot de passe a été modifié avec succès","Failed to change password":"Échec du changement de mot de passe","New password must be different from current password":"Le nouveau mot de passe doit être différent du mot de passe actuel","Password and password confirmation must be identical":"Le mot de passe et la confirmation du mot de passe doivent être identiques","Expiration date":"Date d'expiration","Confirm":"Confirmer","Your app token has been successfully created. This is the only time it will be displayed, so please make sure to copy it now.":"Votre jeton d'application a été créé avec succès. C'est la seule fois qu'il sera affiché, alors assurez-vous de le copier maintenant.","Copy app token to clipboard":"Copier le jeton de l'application dans le presse-papiers","Expires on:":"Expire le :","Close":"Fermer","The note is required":"La note est obligatoire","Sidebar navigation menu":"Menu de navigation latéral","Navigate to %{ pageName } page":"Naviguer vers la page %{ pageName }","Main navigation":"Navigation principale","Applications":"Applications","Application Switcher":"Sélecteur d'applications","Share improvement ideas":"Partagez des idées d'amélioration","Notifications":"Notifications","Mark all as read":"Marquer tous comme lus","Nothing new":"Rien de nouveau","Close sidebar to hide details":"Fermer la barre latérale pour masquer les détails","Open sidebar to view details":"Ouvrir la barre latérale pour voir les détails","Top bar":"Barre supérieure","Navigate to personal files page":"Accéder à la page des fichiers personnels","Account menu":"Menu du compte","My Account":"Mon compte","User Menu login":"Menu connexion utilisateur","Account":"Compte","Preferences":"Préférences","Log in":"Connexion","Log out":"Déconnexion","Imprint":"Impression","Privacy":"Vie privée","Accessibility":"Accessibilité","Hide details":"Masquer les détails","Show details":"Afficher les détails","Retry all failed uploads":"Réessayer tous les téléversements qui ont échoué","Resume upload":"Redémarrer le téléversement","Pause upload":"Mettre en pause le téléversement","Cancel upload":"Annuler le téléversement","%{uploadedBytes} of %{totalBytes} (%{currentUploadSpeed}/s)":"%{uploadedBytes} de %{totalBytes} (%{currentUploadSpeed}/s)","Finalizing upload...":"Finalisation du téléchargement...","%{ filesInProgressCount } item uploading...":["%{ filesInProgressCount } élément en cours de téléchargement...","%{ filesInProgressCount } éléments en cours de téléchargement...","%{ filesInProgressCount } éléments en cours de téléchargement..."],"Upload cancelled":"Téléversement annulé","Upload failed":"Échec du téléversement","Upload completed":"Téléversement terminé","Preparing upload...":"Préparer le téléversement...","%{ errors } of %{ uploads } item failed":["%{ errors } de l'élément %{ uploads } a échoué","%{ errors } des éléments %{ uploads } ont échoué","%{ errors } des éléments de %{ uploads } ont échoué"],"%{ successfulUploads } item uploaded":["%{ successfulUploads } élément téléversé","%{ successfulUploads } éléments téléversés","%{ successfulUploads } éléments téléversés"],"Calculating estimated time...":"Calcul du temps estimé...","%{ roundedRemainingMinutes } minute left":["%{ roundedRemainingMinutes } minute restante","%{ roundedRemainingMinutes } minutes restantes","%{ roundedRemainingMinutes } minutes restantes"],"%{ roundedRemainingHours } hour left":["%{ roundedRemainingHours } heure restante","%{ roundedRemainingHours } heures restantes","%{ roundedRemainingHours } heures restantes"],"Few seconds left":"Quelques secondes restantes","Personal":"Personnel","Public link":"Lien public","The folder you're uploading to is locked":"Le dossier dans lequel vous téléversez est verrouillé","Quota exceeded":"Quota dépassé","Unknown error":"Erreur inconnue","The folder you were accessing has been removed. Please navigate to another location.":"Le dossier auquel vous accédiez a été supprimé. Veuillez naviguer vers un autre emplacement.","Your access to this space has been revoked. Please navigate to another location.":"Votre accès à cet espace a été révoqué. Veuillez vous rendre sur un autre site.","Your access to this share has been revoked. Please navigate to another location.":"Votre accès à cette action a été révoqué. Veuillez naviguer vers un autre emplacement.","Global progress bar":"Barre de progression globale","Customize your progress bar":"Personnalisez votre barre de progression","Default progress bar":"Barre de progression par défaut","Calendar":"Calendrier","Admin":"Administrateur","Space Admin":"Administration de l'Espace","User":"Utilisateur","Guest":"Invité","Activities":"Activités","No activities":"Aucune activité","Virus \\"%{description}\\" detected. Please contact your administrator for more information.":"Virus \\"%{description}\\" détecté. Veuillez contacter votre administrateur pour plus d'informations.","Scan for viruses":"Rechercher les virus","Operation denied due to security policies":"Opération refusée en raison de politiques de sécurité","Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety":"Malheureusement, votre mot de passe est couramment utilisé. Veuillez choisir un mot de passe plus difficile à deviner pour votre sécurité.","View and download.":"Afficher et télécharger.","View, download, upload, edit, add and delete.":"Afficher, télécharger, téléverser, modifier, ajouter et supprimer.","View, download and edit.":"Afficher, télécharger et modifier.","View, download and upload.":"Afficher, télécharger et téléverser.","View, download, upload, edit, add, delete and manage members.":"Afficher, télécharger, téléverser, modifier, ajouter, supprimer et gérer les membres.","Can view":"Peut consulter","Can edit":"Peut éditer","Can upload":"Peut téléverser","Can manage":"Peut gérer","OCM share":"Partage OCM","Public files":"Dossiers publics","Internet Explorer (your current browser) is not officially supported. For security reasons, please switch to another browser.":"Internet Explorer (votre navigateur actuel) n'est pas officiellement pris en charge. Pour des raisons de sécurité, veuillez changer de navigateur.","Read more":"En savoir plus","Not logged in":"Non connecté","This could be because of a routine safety log out, or because your account is either inactive or not yet authorized for use. Please try logging in after a while or seek help from your Administrator.":"Cela peut être dû à une déconnexion de sécurité de routine, ou au fait que votre compte est inactif ou n'est pas encore autorisé à être utilisé. Essayez de vous connecter après un certain temps ou demandez de l'aide à votre administrateur.","Log in again":"Se reconnecter","The calendar is not yet configured on your system, in order to learn how to enable click":"Le calendrier n'est pas encore configuré sur votre système, cliquez ici afin d'apprendre à le configurer","here":"Ici","Here, you can access your personal calendar for integration with third-party apps like Thunderbird, Apple Calendar, and others.":"Ici, vous pouvez accéder à votre calendrier personnel pour l'intégrer à des applications tierces comme Thunderbird, Apple Calendar et d'autres.","CalDAV information name":"Nom de l'information CalDAV","CalCAV information value":"Valeur d'information CalCAV","CalCAV information actions":"Actions d'information de CalCAV","CalDAV URL":"URL de CalDAV","Copy CalDAV URL":"Copier l'URL de CalDAV","Username":"Nom d'utilisateur","Copy CalDAV username":"Copier le nom d'utilisateur CalDAV","Password":"Mot de passe","An app token needs to be generated and then can be used.":"Un jeton d'application doit être généré et peut ensuite être utilisé.","Extension not found":"Extension non trouvée","Extensions":"Extensions","No extensions available":"Aucunes extensions disponibles","Extension name":"Nom de l'extension","Extension description":"Description de l'extension","Extension value":"Valeur de l'extension","GDPR":"RGPD","GDPR action name":"Nom de l'action RGPD","GDPR action description":"Description de l'action RGPD","GDPR actions":"Actions RGPD","GDPR export":"Exportation RGPD","Request a personal data export according to §20 GDPR.":"Demander l'exportation de données à caractère personnel conformément à l'article 20 du RGPD.","Account Information":"Informations de compte","Edit":"Éditer","Information name":"Nom de l'information","Information value":"Valeur de l'information","Profile picture":"Photo de profil","Max. %{size}MB, JPG, PNG":"Max. %{size}Mo, JPG, PNG","First and last name":"Nom et prénom","Email":"E-mail","No email has been set up":"Aucun e-mail n'a été configuré","Personal storage":"Stockage personnel","Group memberships":"Appartenance à un groupe","You are not part of any group":"Vous ne faites partie d'aucun groupe","Logout from active devices":"Déconnexion des appareils actifs","Show devices":"Afficher les appareils","Profile":"Profil","Preference name":"Nom de la préférence","Preference description":"Description des préférences","Preference value":"Valeur de préférence","Language":"Langue","Select your language.":"Sélectionnez votre langue.","Help to translate":"Aide à la traduction","Change password":"Changer le mot de passe","Select your favorite theme":"Sélectionnez votre thème favori","Receive notification mails":"Recevoir des e-mails de notification","View options":"Voir les options","Show WebDAV information in details view":"Afficher les informations WebDAV dans la vue détaillée","Personalise your notification preferences about any file, folder, or Space.":"Personnalisez vos préférences en matière de notification pour tout fichier, dossier ou Espace.","Mail notification options":"Options de notification de l'e-mail","Event":"Événement","Event description":"Description de l'événement","In-App":"In-App","Mail":"E-mail","Options":"Options","Option description":"Description de l'option","Option value":"Valeur de l'option","Unable to load account data…":"Impossible de charger les données du compte...","Unable to save preference…":"Impossible de sauvegarder les préférences...","Logged out":"Déconnecté","You have been logged out successfully.":"Vous avez été déconnecté avec succès.","Error":"Erreur","Missing or invalid config":"Configuration manquante ou invalide","Please check if the file config.json exists and is correct.":"Veuillez vérifier si le fichier config.json existe et s'il est correct.","Also, make sure to check the browser console for more information.":"Vérifiez également la console de votre navigateur pour plus d'informations.","Authentication failed":"Échec de l'authentification","Logging you in":"Vous connecter","Please contact the administrator if this error persists.":"Veuillez contacter l'administrateur si cette erreur persiste.","Please wait, you are being redirected.":"Veuillez patienter, vous êtes redirigé.","Open \\"Shared with me\\"":"Ouvrir « Partagé avec moi »","Resolving private link…":"Résolution du lien privé...","An error occurred while resolving the private link":"Une erreur s'est produite lors de la résolution du lien privé","The link you are trying to access is invalid or you do not have permission to view the content. Please check the link for any errors or contact the person who shared it for assistance.":"Le lien auquel vous essayez d'accéder n'est pas valide ou vous n'avez pas la permission de voir le contenu. Veuillez vérifier que le lien n'est pas erroné ou contacter la personne qui l'a partagé pour obtenir de l'aide.","Continue":"Continuer","The resource could not be located, it may not exist anymore.":"La ressource n'a pas pu être localisée, il se peut qu'elle n'existe plus.","The resource is not a public link.":"La ressource n'est pas un lien public.","Opening files from remote is disabled":"L'ouverture de fichiers à distance est désactivée","An error occurred while loading the public link":"Une erreur s'est produite lors du chargement du lien public","This resource is password-protected":"Cette ressource est protégée par mot de passe","Loading public link…":"Chargement du lien public...","Enter password for public link":"Saisir le mot de passe pour le lien public","Incorrect password":"Mot de passe incorrect","Login":"Connexion","Logout":"Déconnexion","OIDC callback":"Rappel OIDC","OIDC redirect":"Redirection OIDC","Private link":"Lien privé","OCM link":"Lien OCM","Access denied":"Accès refusé","Not found":"Non trouvé"}`),m={},h=JSON.parse(`{"Skip to main":"メインコンテンツへスキップ","Navigated to %{ pageTitle }":"%{ pageTitle } に移動しました","App Tokens":"アプリトークン","New":"新規","App tokens are not available because the »auth-app« service is not running. Please contact an administrator.":"「auth-app」サービスが実行されていないため、アプリトークンを利用できません。管理者に連絡してください。","No app tokens available.":"利用可能なアプリトークンはありません","Delete app token":"アプリトークンを削除","Delete":"削除","Show less":"表示を減らす","Show more":"もっと見る","The app token has been deleted.":"アプリトークンを削除しました。","An error occurred while deleting the app token.":"アプリトークンの削除中にエラーが発生しました","Create a new app token":"新しいアプリトークンを作成","Create":"作成","Are you sure you want to delete this app token?":"このアプリトークンを削除してもよろしいですか?","Note":"メモ","Created at":"作成日時","Expires at":"有効期限","Actions":"アクション","Export is being processed. This can take up to 24 hours.":"エクスポートを処理中です。完了まで最大24時間かかる場合があります。","Request new export":"新しいエクスポートをリクエスト","Latest export from: %{date}":"最新のエクスポート日時: %{date}","Download":"ダウンロード","GDPR export has been requested":"GDPR エクスポートがリクエストされました","GDPR export could not be requested. Please contact an administrator.":"GDPR エクスポートをリクエストできませんでした。管理者に連絡してください。","%{used} of %{total} used (%{percentage}%)":"%{total} 中 %{used} 使用済み (%{percentage}%)","%{used} used":"%{used} 使用済み","Theme":"テーマ","Auto (same as system)":"自動 (システム設定に従う)","Preference saved.":" 設定を保存しました","Current password":"現在のパスワード","New password":"新しいパスワード","Repeat new password":"新しいパスワード(確認用)","Password was changed successfully":"パスワードを正常に変更しました","Failed to change password":"パスワードの変更に失敗しました","New password must be different from current password":"新しいパスワードは、現在のパスワードと異なるものを設定してください","Password and password confirmation must be identical":"パスワードと確認用パスワードが一致しません","Expiration date":"有効期限","Confirm":"確定","Your app token has been successfully created. This is the only time it will be displayed, so please make sure to copy it now.":"アプリトークンが正常に作成されました。トークンが表示されるのはこの一度限りです。今すぐコピーして保存してください。","Copy app token to clipboard":"アプリトークンをクリップボードにコピー","Expires on:":"有効期限:","Close":"閉じる","The note is required":"メモの入力は必須です","Sidebar navigation menu":"サイドバー・ナビゲーションメニュー","Navigate to %{ pageName } page":"%{ pageName } ページに移動","Main navigation":"メインナビゲーション","Applications":"アプリケーション","Application Switcher":"アプリケーション切り替え","Share improvement ideas":"改善案を共有する","Notifications":"通知","Mark all as read":"すべて既読にする","Nothing new":"新着情報はありません","Close sidebar to hide details":"サイドバーを閉じて詳細を非表示にする","Open sidebar to view details":"サイドバーを開いて詳細を表示","Top bar":"トップバー","Navigate to personal files page":"個人ファイルページに移動","Account menu":"アカウントメニュー","My Account":"マイアカウント","User Menu login":"ユーザーメニューログイン","Account":"アカウント","Preferences":"設定","Log in":"ログイン","Log out":"ログアウト","Imprint":"法的通知","Privacy":"プライバシー","Accessibility":"アクセシビリティ","Hide details":"詳細を非表示","Show details":"詳細を表示","Retry all failed uploads":"失敗したすべてのアップロードを再試行","Resume upload":"アップロードを再開","Pause upload":"アップロードを一時停止","Cancel upload":"アップロードをキャンセル","%{uploadedBytes} of %{totalBytes} (%{currentUploadSpeed}/s)":"%{totalBytes} 中 %{uploadedBytes} (%{currentUploadSpeed}/秒)","Finalizing upload...":"アップロードを完了しています...","%{ filesInProgressCount } item uploading...":"%{ filesInProgressCount } 個のアイテムをアップロード中...","Upload cancelled":"アップロードがキャンセルされました","Upload failed":"アップロードに失敗しました","Upload completed":"アップロードが完了しました","Preparing upload...":"アップロードを準備中..","%{ errors } of %{ uploads } item failed":"%{ uploads } 個中 %{ errors } 個のアイテムが失敗しました","%{ successfulUploads } item uploaded":"%{ successfulUploads } 個のアイテムをアップロードしました","Calculating estimated time...":"残り時間を計算中...","%{ roundedRemainingMinutes } minute left":"残り %{ roundedRemainingMinutes } 分","%{ roundedRemainingHours } hour left":"残り %{ roundedRemainingHours } 時間","Few seconds left":"残りわずか","Personal":"個人用","Public link":"パブリックリンク","The folder you're uploading to is locked":"アップロード先のフォルダはロックされています","Quota exceeded":"ストレージ容量(クォータ)を超過しました","Unknown error":"不明なエラー","The folder you were accessing has been removed. Please navigate to another location.":"アクセスしようとしたフォルダは削除されました。別の場所に移動してください。","Your access to this space has been revoked. Please navigate to another location.":"このスペースへのアクセス権が取り消されました。別の場所に移動してください。","Your access to this share has been revoked. Please navigate to another location.":"この共有へのアクセス権が取り消されました。別の場所に移動してください。","Global progress bar":"グローバルプログレスバー","Customize your progress bar":"プログレスバーをカスタマイズする","Default progress bar":"デフォルト プログレスバー","Calendar":"カレンダー","Admin":"管理者","Space Admin":"スペース管理者","User":"ユーザ","Guest":"ゲスト","Activities":"アクティビティ","No activities":"アクティビティはありません","Virus \\"%{description}\\" detected. Please contact your administrator for more information.":"ウイルス「%{description}」が検出されました。詳細については管理者に連絡してください。","Scan for viruses":"ウイルススキャンを実行","Operation denied due to security policies":"セキュリティポリシーにより操作が拒否されました","Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety":"残念ながら、そのパスワードは一般的に頻用されるものです。安全のため、推測されにくいパスワードを設定してください。","View and download.":"閲覧とダウンロード","View, download, upload, edit, add and delete.":"閲覧、ダウンロード、アップロード、編集、追加、削除","View, download and edit.":"閲覧、ダウンロード、編集","View, download and upload.":"閲覧、ダウンロード、アップロード","View, download, upload, edit, add, delete and manage members.":"閲覧、ダウンロード、アップロード、編集、追加、削除、およびメンバー管理","Can view":"閲覧可能","Can edit":"編集可","Can upload":"アップロード可能","Can manage":"管理可能","OCM share":"OCM共有","Public files":"公開ファイル","Internet Explorer (your current browser) is not officially supported. For security reasons, please switch to another browser.":"Internet Explorer(現在お使いのブラウザ)は公式にサポートされていません。セキュリティ保護のため、別のブラウザに切り替えてください。","Read more":"続きを読む","Not logged in":"ログインしていません","This could be because of a routine safety log out, or because your account is either inactive or not yet authorized for use. Please try logging in after a while or seek help from your Administrator.":"定期的な安全確保のためのログアウト、またはアカウントが無効か未承認である可能性があります。しばらくしてから再度ログインするか、管理者にお問い合わせください。","Log in again":"再ログイン","The calendar is not yet configured on your system, in order to learn how to enable click":"カレンダーはまだ設定されていません。有効化の方法を確認するには、ここをクリックしてください。","here":"こちら","Here, you can access your personal calendar for integration with third-party apps like Thunderbird, Apple Calendar, and others.":"ここでは、Thunderbird や Apple カレンダーなどのサードパーティ製アプリと連携するための個人用カレンダーにアクセスできます","CalDAV information name":"CalDAV 情報名","CalCAV information value":"CalDAV 情報値","CalCAV information actions":"CalDAV 情報アクション","CalDAV URL":"CalDAV URL","Copy CalDAV URL":"CalDAV URL をコピー","Username":"ユーザ名","Copy CalDAV username":"CalDAV ユーザー名をコピー","Password":"パスワード","An app token needs to be generated and then can be used.":"アプリトークンを生成してから使用する必要があります","Extension not found":"拡張機能が見つかりません","Extensions":"拡張機能","No extensions available":"利用可能な拡張機能はありません","Extension name":"拡張機能名","Extension description":"拡張機能の説明","Extension value":"拡張機能の値","GDPR":"GDPR","GDPR action name":"GDPR アクション名","GDPR action description":"GDPR アクションの説明","GDPR actions":" GDPR アクション","GDPR export":"GDPR データエクスポート","Request a personal data export according to §20 GDPR.":"GDPR第20条に基づき、個人データのエクスポートをリクエストします。","Account Information":"アカウント情報","Edit":"編集","Information name":"情報名","Information value":"情報値","Profile picture":"プロフィール画像","Max. %{size}MB, JPG, PNG":"最大 %{size}MB、JPG または PNG","First and last name":"氏名","Email":"Email","No email has been set up":"メールアドレスが設定されていません","Personal storage":"個人用ストレージ","Group memberships":"所属グループ","You are not part of any group":"いずれのグループにも所属していません","Logout from active devices":"アクティブなデバイスからログアウト","Show devices":"デバイスを表示","Profile":"プロフィール","Preference name":"設定項目名","Preference description":"設定項目の説明","Preference value":"設定値","Language":"言語","Select your language.":"言語を選択してください。","Help to translate":"翻訳に協力する","Change password":"パスワードを変更","Select your favorite theme":"お好みのテーマを選択してください","Receive notification mails":"通知メールを受け取る","View options":"表示オプション","Show WebDAV information in details view":"詳細ビューに WebDAV 情報を表示する","Personalise your notification preferences about any file, folder, or Space.":"ファイル、フォルダ、またはスペースに関する通知設定をカスタマイズします","Mail notification options":"メール通知オプション","Event":"イベント","Event description":"イベント詳細","In-App":"アプリ内","Mail":"メール","Options":"オプション","Option description":"オプションの説明","Option value":"オプションの値","Unable to load account data…":"アカウントデータを読み込めませんでした…","Unable to save preference…":"設定を保存できませんでした…","Logged out":"ログアウト済","You have been logged out successfully.":"正常にログアウトしました","Error":"エラー","Missing or invalid config":"設定が見つからないか無効です","Please check if the file config.json exists and is correct.":"config.json ファイルが存在し、内容が正しいか確認してください","Also, make sure to check the browser console for more information.":"また、詳細についてはブラウザのコンソールも確認してください","Authentication failed":"認証に失敗しました","Logging you in":"ログインしています","Please contact the administrator if this error persists.":"このエラーが解消されない場合は、管理者に連絡してください","Please wait, you are being redirected.":"リダイレクト中です。少々お待ちください。","Open \\"Shared with me\\"":"「自分と共有中」を開く","Resolving private link…":"プライベートリンクを解決中…","An error occurred while resolving the private link":"プライベートリンクの解決中にエラーが発生しました","The link you are trying to access is invalid or you do not have permission to view the content. Please check the link for any errors or contact the person who shared it for assistance.":"アクセスしようとしているリンクが無効であるか、閲覧権限がありません。リンクに間違いがないか確認するか、共有者に問い合わせてください。","Continue":"続ける","The resource could not be located, it may not exist anymore.":"リソースが見つかりませんでした。すでに削除されている可能性があります。","The resource is not a public link.":"このリソースは公開リンクではありません。","Opening files from remote is disabled":"リモートからのファイル展開は無効化されています","An error occurred while loading the public link":"公開リンクの読み込み中にエラーが発生しました","This resource is password-protected":"このリソースはパスワードで保護されています","Loading public link…":"公開リンクを読み込み中…","Enter password for public link":"パブリックリンクのパスワードを入力してください","Incorrect password":"パスワードが正しくありません","Login":"ログイン","Logout":"ログアウト","OIDC callback":"OIDC コールバック","OIDC redirect":"OIDC リダイレクト","Private link":"プライベートリンク","OCM link":"OCM リンク","Access denied":"アクセスが拒否されました","Not found":"見つかりませんでした"}`),f={},g=JSON.parse(`{"404":"404","Skip to main":"Overslaan","Navigated to %{ pageTitle }":"Genavigeerd naar %{ pageTitle }","App Tokens":"App-tokens","New":"Nieuw","App tokens are not available because the »auth-app« service is not running. Please contact an administrator.":"App-tokens zijn niet beschikbaar omdat de service »auth-app« niet actief is. Neem contact op met een beheerder.","No app tokens available.":"Geen app-tokens beschikbaar.","Delete app token":"App-token verwijderen","Delete":"Verwijderen","Show less":"Minder weergeven","Show more":"Meer weergeven","The app token has been deleted.":"De app-token is verwijderd.","An error occurred while deleting the app token.":"Er is een fout opgetreden bij het verwijderen van de app-token.","Create a new app token":"Nieuw app-token aanmaken","Create":"Aanmaken","Are you sure you want to delete this app token?":"Weet je zeker dat je deze app-token wilt verwijderen?","Note":"Opmerking","Created at":"Aangemaakt op","Expires at":"Verloopt om","Actions":"Acties","Export is being processed. This can take up to 24 hours.":"De export wordt verwerkt. Dit kan tot 24 uur duren.","Request new export":"Nieuwe export aanvragen","Latest export from: %{date}":"Laatste export op: %{date}","Download":"Downloaden","GDPR export has been requested":"AVG-export is aangevraagd","GDPR export could not be requested. Please contact an administrator.":"AVG-export kan niet worden aangevraagd. Neem contact op met een beheerder.","%{used} of %{total} used (%{percentage}%)":"%{used} van %{total} gebruikt (%{percentage}%)","%{used} used":"%{used} gebruikt","Theme":"Thema","Auto (same as system)":"Autom. (hetzelfde als systeem)","Preference saved.":"Voorkeur opgeslagen.","Current password":"Huidig wachtwoord","New password":"Nieuw wachtwoord","Repeat new password":"Nieuw wachtwoord herhalen","Password was changed successfully":"Wachtwoord is met succes aangepast","Failed to change password":"Wachtwoord aanpassen is mislukt","New password must be different from current password":"Het nieuwe wachtwoord moet anders zijn dan het huidige","Password and password confirmation must be identical":"Wachtwoord en wachtwoordbevestiging moeten identiek zijn","Expiration date":"Verloopdatum","Confirm":"Bevestigen","Your app token has been successfully created. This is the only time it will be displayed, so please make sure to copy it now.":"Jouw app-token is met succes aangemaakt. Dit is de enige keer dat het wordt weergegeven, dus maak nu een kopie.","Copy app token to clipboard":"App-token kopiëren van klembord","Expires on:":"Verloopt op:","Close":"Sluiten","The note is required":"De opmerking is vereist","Sidebar navigation menu":"Zijbalk navigatiemenu","Navigate to %{ pageName } page":"Navigeren naar pagina %{ pageName }","Main navigation":"Hoofdnavigatie","Applications":"Applicaties","Application Switcher":"App-wisselaar","Share improvement ideas":"Ideeën voor verbetering delen","Notifications":"Meldingen","Mark all as read":"Alles markeren als gelezen","Nothing new":"Niets nieuws","Close sidebar to hide details":"Zijbalk sluiten om details te verbergen","Open sidebar to view details":"Open zijbalk voor details","Top bar":"Bovenbalk","Navigate to personal files page":"Navigeer naar de pagina met persoonlijke bestanden","Account menu":"Menu Account","My Account":"Mijn account","User Menu login":"Gebruikersmenu login","Account":"Account","Preferences":"Voorkeuren","Log in":"Inloggen","Log out":"Uitloggen","Imprint":"Handelsmerk","Privacy":"Privacy","Accessibility":"Toegankelijkheid","Hide details":"Details verbergen","Show details":"Details weergeven","Retry all failed uploads":"Alle mislukte uploads opnieuw proberen","Resume upload":"Upload hervatten","Pause upload":"Upload pauzeren","Cancel upload":"Upload annuleren","%{uploadedBytes} of %{totalBytes} (%{currentUploadSpeed}/s)":"%{uploadedBytes} van %{totalBytes} (%{currentUploadSpeed}/s)","Finalizing upload...":"Upload afronden…","%{ filesInProgressCount } item uploading...":["%{ filesInProgressCount } item uploaden…","%{ filesInProgressCount } items uploaden…"],"Upload cancelled":"Upload geannuleerd","Upload failed":"Upload is mislukt","Upload completed":"Upload voltooid","Preparing upload...":"Upload voorbereiden…","%{ errors } of %{ uploads } item failed":["%{ errors } van %{ uploads } item mislukt","%{ errors } van %{ uploads } items mislukt"],"%{ successfulUploads } item uploaded":["%{ successfulUploads } item geüpload","%{ successfulUploads } items geüpload"],"Calculating estimated time...":"Resterende tijd berekenen…","%{ roundedRemainingMinutes } minute left":["%{ roundedRemainingMinutes } minuut resterend","%{ roundedRemainingMinutes } minuten resterend"],"%{ roundedRemainingHours } hour left":["%{ roundedRemainingHours } uur resterend","%{ roundedRemainingHours } uren resterend"],"Few seconds left":"Een paar seconden resterend","Personal":"Persoonlijk","Public link":"Openbare link","The folder you're uploading to is locked":"De map waarnaar je uploadt is vergrendeld.","Quota exceeded":"Quota overschreden","Unknown error":"Onbekende fout","The folder you were accessing has been removed. Please navigate to another location.":"De map die je probeerde te openen is verwijderd. Navigeer naar een andere locatie.","Your access to this space has been revoked. Please navigate to another location.":"Jouw toegang tot deze ruimte is ingetrokken. Navigeer naar een andere locatie.","Your access to this share has been revoked. Please navigate to another location.":"Jouw toegang tot deze share is ingetrokken. Navigeer naar een andere locatie.","Global progress bar":"Globale voortgangsbalk","Customize your progress bar":"Voortgangsbalk aanpassen","Default progress bar":"Standaard voortgangsbalk","Calendar":"Agenda","Admin":"Beheer","Space Admin":"Ruimte Beheer","User":"Gebruiker","Guest":"Gast","Activities":"Activiteiten","No activities":"Geen activiteiten","Virus \\"%{description}\\" detected. Please contact your administrator for more information.":"Virus \\"%{description}\\" gedetecteerd. Neem contact op met je beheerder voor meer informatie.","Scan for viruses":"Scannen op virusen","Operation denied due to security policies":"Activiteit geweigerd vanwege beveiligingsbeleid","Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety":"Helaas is je wachtwoord veelgebruikt. Kies voor de veiligheid een moeilijker te raden wachtwoord.","View and download.":"Weergeven en downloaden.","View, download, upload, edit, add and delete.":"Weergeven, downloaden, uploaden, bewerken, toevoegen en verwijderen.","View, download and edit.":"Weergeven, downloaden en bewerken.","View, download and upload.":"Weergeven, downloaden en uploaden.","View, download, upload, edit, add, delete and manage members.":"Weergeven, downloaden, uploaden, bewerken, toevoegen, verwijderen en leden beheren.","Can view":"Kan weergeven","Can edit":"Kan bewerken","Can upload":"Kan uploaden","Can manage":"Kan beheren","OCM share":"OCM-share","Public files":"Openbare bestanden","Internet Explorer (your current browser) is not officially supported. For security reasons, please switch to another browser.":"Internet Explorer (de huidige browser) wordt niet officieel ondersteund. Gebruik om veiligheidsredenen alstublieft een andere browser.","Read more":"Verder lezen","Not logged in":"Niet ingelogd","This could be because of a routine safety log out, or because your account is either inactive or not yet authorized for use. Please try logging in after a while or seek help from your Administrator.":"Dit kan komen door een routinematige afmelding om veiligheidsredenen, of omdat je account inactief is of nog niet geautoriseerd voor gebruik. Probeer over een tijdje opnieuw in te loggen of vraag hulp aan je beheerder.","Log in again":"Opnieuw inloggen","The calendar is not yet configured on your system, in order to learn how to enable click":"De agenda is nog niet geconfigureerd op jouw systeem. Voor informatie over het inschakelen ervan, klik","here":"hier","Here, you can access your personal calendar for integration with third-party apps like Thunderbird, Apple Calendar, and others.":"Hier kun je je persoonlijke agenda openen voor integratie met externe apps zoals Thunderbird, Apple Agenda en andere.","CalDAV information name":"CalDAV informatie-naam","CalCAV information value":"CalCAV informatie-waarde","CalCAV information actions":"CalCAV informatie-acties","CalDAV URL":"CalDAV URL","Copy CalDAV URL":"CalDAV-URL kopiëren","Username":"Gebruikersnaam","Copy CalDAV username":"CalDAV-gebruikersnaam kopiëren","Password":"Wachtwoord","An app token needs to be generated and then can be used.":"Er moet een app-token worden gegenereerd en kan vervolgens worden gebruikt.","Extension not found":"Extensie niet gevonden","Extensions":"Extensies","No extensions available":"Geen extensies beschikbaar","Extension name":"Extensienaam","Extension description":"Beschrijving van extensie","Extension value":"Extensiewaarde","GDPR":"AVG","GDPR action name":"AVG-actienaam","GDPR action description":"Beschrijving van AVG-actie","GDPR actions":"AVG-acties","GDPR export":"AVG-export","Request a personal data export according to §20 GDPR.":"Export van persoonlijke gegevens aanvragen volgens §20 AVG.","Account Information":"Accountinformatie","Edit":"Bewerken","Information name":"Informatienaam","Information value":"Informatiewaarde","Profile picture":"Profielafbeelding","Max. %{size}MB, JPG, PNG":"Max. %{size}MB, JPG, PNG","First and last name":"Voor- en achternaam","Email":"E-mail","No email has been set up":"Geen e-mail ingesteld","Personal storage":"Persoonlijke opslag","Group memberships":"Groepslidmaatschappen","You are not part of any group":"Je maakt geen deel uit van een groep","Logout from active devices":"Uitloggen van actieve apparaten","Show devices":"Apparaten weergeven","Profile":"Profiel","Preference name":"Voorkeursnaam","Preference description":"Voorkeursbeschrijving","Preference value":"Voorkeurswaarde","Language":"Taal","Select your language.":"Kies je taal.","Help to translate":"Help met vertalen","Change password":"Wachtwoord wijzigen","Select your favorite theme":"Kies je favoriete thema","Receive notification mails":"Meldingen per e-mail verkrijgen","View options":"Weergaveopties","Show WebDAV information in details view":"WebDAV-informatie in detailsvenster weergeven","Personalise your notification preferences about any file, folder, or Space.":"Personaliseer jouw notificatievoorkeuren voor elk bestand, map of ruimte.","Mail notification options":"Opties voor e-mailmeldingen","Event":"Gebeurtenis","Event description":"Beschrijving van gebeurtenis","In-App":"In-App","Mail":"Mail","Options":"Opties","Option description":"Optiebeschrijving","Option value":"Optiewaarde","Unable to load account data…":"Kan accountgegevens niet laden…","Unable to save preference…":"Kan voorkeuren niet opslaan…","Logged out":"Uitgelogd","You have been logged out successfully.":"Je bent met succes uitgelogd.","Error":"Fout","Missing or invalid config":"Ontbrekende of ongeldige configuratie","Please check if the file config.json exists and is correct.":"Controleer of het bestand config.json bestaat en correct is.","Also, make sure to check the browser console for more information.":"Controleer ook de browserconsole voor meer informatie.","The page you are looking for does not exist":"De pagina die u zoekt bestaat niet","Authentication failed":"Authenticatie mislukt","Logging you in":"Aanmelden","Please contact the administrator if this error persists.":"Neem contact op met de beheerder als deze fout aanhoudt.","Please wait, you are being redirected.":"Even geduld, je wordt omgeleid.","Open \\"Shared with me\\"":"\\"Gedeeld met mij\\" openen","Resolving private link…":"Privé-link oplossen…","An error occurred while resolving the private link":"Er is een fout opgetreden bij het oplossen van de privé-link","The link you are trying to access is invalid or you do not have permission to view the content. Please check the link for any errors or contact the person who shared it for assistance.":"De link die je probeert te openen is ongeldig of je bent niet gemachtigd om de inhoud te bekijken. Controleer de link op eventuele fouten of neem contact op met de persoon die deze heeft gedeeld voor hulp.","Continue":"Doorgaan","The resource could not be located, it may not exist anymore.":"De hulpbron kan niet worden gevonden, mogelijk bestaat het niet meer.","The resource is not a public link.":"De hulpbron is geen openbare link.","Opening files from remote is disabled":"Het openen van bestanden van afstand is uitgeschakeld","An error occurred while loading the public link":"Er is een fout opgetreden bij het lagen van de openbare link","This resource is password-protected":"De hulpbron is wachtwoordbeveiligd","Loading public link…":"Openbare link laden…","Enter password for public link":"Wachtwoord invoeren voor openbare link","Incorrect password":"Onjuist wachtwoord","Login":"Inloggen","Logout":"Uitloggen","OIDC callback":"OIDC-callback","OIDC redirect":"OIDC-redirect","Private link":"Privé-link","OCM link":"OCM-link","Access denied":"Toegang geweigerd","Not found":"Niet gevonden"}`),b=JSON.parse(`{"Skip to main":"Passa al principale","Navigated to %{ pageTitle }":"Vai alla pagina %{ pageTitle }","App Tokens":"Token dell'app","New":"Nuovo","App tokens are not available because the »auth-app« service is not running. Please contact an administrator.":"I token dell'app non sono disponibili perché il servizio »auth-app« non è in esecuzione. Contattare un amministratore.","No app tokens available.":"Nessun token disponibile.","Delete app token":"Elimina token dell'app","Delete":"Elimina","Show less":"Mostra meno","Show more":"Mostra altro","The app token has been deleted.":"Il token dell'app è stato eliminato.","An error occurred while deleting the app token.":"Si è verificato un errore durante l'eliminazione del token dell'app.","Create a new app token":" Crea un nuovo token dell'app","Create":"Crea","Are you sure you want to delete this app token?":"Vuoi davvero eliminare questo token dell'app?","Note":"Note","Created at":"Creato a","Expires at":"Scade alle","Actions":"Azioni","Export is being processed. This can take up to 24 hours.":"L'esportazione è in fase di elaborazione. L'operazione potrebbe richiedere fino a 24 ore.","Request new export":"Richiedi una nuova esportazione","Latest export from: %{date}":"Ultima esportazione da: %{date}","Download":"Scarica","GDPR export has been requested":"È stata richiesta l'esportazione GDPR","GDPR export could not be requested. Please contact an administrator.":"Esportazione GDPR non disponibile. Contatta un amministratore.","%{used} of %{total} used (%{percentage}%)":"%{used} di %{total} used (%{percentage}%)","%{used} used":"%{used} usato","Theme":"Tema","Auto (same as system)":"Auto (uguale al sistema)","Preference saved.":"Preferenza salvata.","Current password":"Password attuale","New password":"Nuova password","Repeat new password":"Ripeti la nuova password","Password was changed successfully":"La password è stata modificata con successo","Failed to change password":" Impossibile modificare la password","New password must be different from current password":"La nuova password deve essere diversa dalla password corrente","Password and password confirmation must be identical":"La password e la conferma della password devono essere identiche","Expiration date":"Data di scadenza","Confirm":"Conferma","Your app token has been successfully created. This is the only time it will be displayed, so please make sure to copy it now.":"Il token della tua app è stato creato correttamente. Verrà visualizzato solo questa volta, quindi assicurati di copiarlo ora.","Copy app token to clipboard":"Copia il token dell'app negli appunti","Expires on:":"Scade il:","Close":"Chiudi","The note is required":"La nota è obbligatoria","Sidebar navigation menu":"Menu di navigazione della barra laterale","Navigate to %{ pageName } page":"Vai alla pagina %{ pageName }","Main navigation":"Navigazione principale","Applications":"Applicazioni","Application Switcher":"Selettore applicazioni","Share improvement ideas":"Condividere idee di miglioramento","Notifications":"Notifiche","Mark all as read":"Segna tutto come letto","Nothing new":"Niente di nuovo","Close sidebar to hide details":"Chiudi la barra laterale per nascondere i dettagli","Open sidebar to view details":"Apri la barra laterale per visualizzare i dettagli","Top bar":"Barra superiore","Navigate to personal files page":"Vai alla pagina dei file personali","Account menu":"Menù account","My Account":"Il mio Account","User Menu login":"Accesso menu utente","Account":"Account","Preferences":"Preferenze","Log in":"Accedi","Log out":"Disconnetti","Imprint":"Note legali","Privacy":"Privacy","Accessibility":"Accessibilità","Hide details":"Nascondi dettagli","Show details":"Mostra dettagli","Retry all failed uploads":"Riprova tutti i caricamenti non riusciti","Resume upload":"Riprendi caricamento","Pause upload":"Metti in pausa il caricamento","Cancel upload":"Annulla caricamento","%{uploadedBytes} of %{totalBytes} (%{currentUploadSpeed}/s)":"%{uploadedBytes} di %{totalBytes} (%{currentUploadSpeed}/s)","Finalizing upload...":"Finalizzazione caricamento...","%{ filesInProgressCount } item uploading...":["Caricamento di %{ filesInProgressCount } elemento in corso..","Caricamento di %{ filesInProgressCount } elementi in corso..","Caricamento di %{ filesInProgressCount } elementi in corso.."],"Upload cancelled":"Caricamento annullato","Upload failed":"Caricamento fallito","Upload completed":"Caricamento completato","Preparing upload...":"Preparazione caricamento...","%{ errors } of %{ uploads } item failed":["%{errors} su %{uploads} elementi non riusciti","%{ errors } of %{ uploads } items failed","%{ errors } di %{ uploads } elementi non riusciti"],"%{ successfulUploads } item uploaded":["%{ successfulUploads } elemento caricato","%{ successfulUploads } elementi caricati","%{ successfulUploads } elementi caricati"],"Calculating estimated time...":"Calcolo del tempo stimato...","%{ roundedRemainingMinutes } minute left":["%{ roundedRemainingMinutes } minuto rimasto","%{ roundedRemainingMinutes } minuti rimasti","%{ roundedRemainingMinutes } minuti rimasti"],"%{ roundedRemainingHours } hour left":["%{ roundedRemainingHours } ora rimasta","%{ roundedRemainingHours } ore rimaste","%{ roundedRemainingHours } ore rimaste"],"Few seconds left":"Mancano pochi secondi","Personal":"Personale","Public link":"Link pubblico","The folder you're uploading to is locked":" La cartella che stai caricando è bloccata","Quota exceeded":"Quota superata","Unknown error":"Errore sconosciuto","The folder you were accessing has been removed. Please navigate to another location.":"La cartella a cui stavi accedendo è stata rimossa. Passa a un'altra posizione.","Your access to this space has been revoked. Please navigate to another location.":"Il tuo accesso a questo spazio è stato revocato. Passa a un'altra posizione.","Your access to this share has been revoked. Please navigate to another location.":"Il tuo accesso a questa condivisione è stato revocato. Passa a un'altra posizione.","Global progress bar":"Barra di avanzamento globale","Customize your progress bar":"Personalizza la barra di avanzamento","Default progress bar":"Barra di avanzamento predefinita","Calendar":"Calendario","Admin":"Amministratore","Space Admin":"Amministratore dello spazio","User":"Utente","Guest":"Ospite","Activities":"Attività","No activities":"Nessuna attività","Virus \\"%{description}\\" detected. Please contact your administrator for more information.":"Rilevato virus \\"%{description}\\". Contatta l'amministratore per ulteriori informazioni.","Scan for viruses":"Scansione antivirus","Operation denied due to security policies":"Operazione negata a causa delle politiche di sicurezza","Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety":"Purtroppo la tua password è di uso comune. Per la tua sicurezza, scegline una più difficile da indovinare. ","View and download.":"Visualizza e scarica.","View, download, upload, edit, add and delete.":"Visualizza, scarica, carica, modifica, aggiungi ed elimina.","View, download and edit.":"Visualizza, scarica e modifica.","View, download and upload.":"Visualizza, scarica e carica.","View, download, upload, edit, add, delete and manage members.":"Visualizza, scarica, carica, modifica, aggiungi, elimina e gestisci i membri.","Can view":"Può visualizzare","Can edit":"Può modificare","Can upload":"Può caricare","Can manage":"Può gestire","OCM share":"Condivisione OCM","Public files":"File pubblici","Internet Explorer (your current browser) is not officially supported. For security reasons, please switch to another browser.":"Internet Explorer (il tuo browser attuale) non è ufficialmente supportato. Per motivi di sicurezza, ti preghiamo di passare a un altro browser.","Read more":"Leggi di più","Not logged in":"Accesso non effettuato","This could be because of a routine safety log out, or because your account is either inactive or not yet authorized for use. Please try logging in after a while or seek help from your Administrator.":"Ciò potrebbe essere dovuto a una disconnessione di sicurezza di routine o al fatto che il tuo account è inattivo o non ancora autorizzato all'uso. Prova ad accedere dopo un po' o chiedi assistenza al tuo amministratore.","Log in again":"Accedi nuovamente","The calendar is not yet configured on your system, in order to learn how to enable click":"Il calendario non è ancora configurato sul tuo sistema, per sapere come abilitarlo clicca","here":"Qui","Here, you can access your personal calendar for integration with third-party apps like Thunderbird, Apple Calendar, and others.":"Qui puoi accedere al tuo calendario personale per integrarlo con app di terze parti come Thunderbird, Apple Calendar e altre.","CalDAV information name":"Nome delle informazioni CalDAV","CalCAV information value":"Valore informativo CalCAV","CalCAV information actions":"Azioni informative CalCAV","CalDAV URL":"CalDAV URL","Copy CalDAV URL":"Copia l'URL di CalDAV","Username":"Nome utente","Copy CalDAV username":"Copia il nome utente CalDAV","Password":"Password","An app token needs to be generated and then can be used.":"Per poter utilizzare l'app è necessario generare un token.","Extension not found":"Estensione non trovata","Extensions":"Estensioni","No extensions available":"Nessuna estensione disponibile","Extension name":"Nome dell'estensione","Extension description":"Descrizione dell'estensione","Extension value":"Valore dell'estensione","GDPR":"GDPR","GDPR action name":"Nome dell’azione GDPR","GDPR action description":"Descrizione dell’azione GDPR","GDPR actions":"Azioni GDPR","GDPR export":"Esportazione GDPR","Request a personal data export according to §20 GDPR.":" \\nRichiedi l'esportazione dei dati personali ai sensi del §20 GDPR.","Account Information":"Informazioni sull'account","Edit":"Modifica","Information name":"Nome informazione","Information value":"Valore informazione","Profile picture":"Foto profilo","Max. %{size}MB, JPG, PNG":"Massimo %{size}MB, JPG, PNG","First and last name":"Nome e cognome","Email":"Email","No email has been set up":"Non è stata impostata alcuna e-mail","Personal storage":"Spazio personale","Group memberships":"Appartenenze a gruppi","You are not part of any group":"Non fai parte di nessun gruppo","Logout from active devices":"Disconnetti dai dispositivi attivi","Show devices":"Mostra dispositivi","Profile":"Profilo","Preference name":"Nome della preferenza","Preference description":"Descrizione delle preferenze","Preference value":"Valore della preferenza","Language":"Lingua","Select your language.":"Seleziona la tua lingua","Help to translate":"Aiuta a tradurre","Change password":"Cambia password","Select your favorite theme":"Seleziona il tuo tema preferito","Receive notification mails":"Ricevi email di notifica","View options":"Mostra opzioni","Show WebDAV information in details view":"Mostra le informazioni WebDAV nella vista dettagli","Personalise your notification preferences about any file, folder, or Space.":"Personalizza le tue preferenze di notifica per qualsiasi file, cartella o spazio.","Mail notification options":"Opzioni di notifica della posta","Event":"Evento","Event description":"Descrizione evento","In-App":"In-App","Mail":"Posta","Options":"Opzioni","Option description":"Descrizione opzione","Option value":"Valore opzione","Unable to load account data…":"Impossibile caricare i dati dell'account...","Unable to save preference…":"Impossibile salvare la preferenza…","Logged out":"Disconnesso","You have been logged out successfully.":"La disconnessione è stata effettuata correttamente.","Error":"Errore","Missing or invalid config":"Configurazione mancante o non valida","Please check if the file config.json exists and is correct.":"Controlla se il file config.json esiste ed è corretto.","Also, make sure to check the browser console for more information.":"Assicurati controllare la console del browser per ulteriori informazioni.","Authentication failed":"Autenticazione non riuscita","Logging you in":"Accesso in corso","Please contact the administrator if this error persists.":"Se l'errore persiste, contattare l'amministratore.","Please wait, you are being redirected.":"Attendi, verrai reindirizzato.","Open \\"Shared with me\\"":"Apri \\"Condivisi con me\\"","Resolving private link…":"Risoluzione del link privato…","An error occurred while resolving the private link":"Si è verificato un errore durante la risoluzione del link privato","The link you are trying to access is invalid or you do not have permission to view the content. Please check the link for any errors or contact the person who shared it for assistance.":"Il link a cui stai tentando di accedere non è valido o non hai l'autorizzazione per visualizzarne il contenuto. Controlla il link per eventuali errori o contatta la persona che lo ha condiviso per assistenza.","Continue":"Continua","The resource could not be located, it may not exist anymore.":"La risorsa non è stata individuata; potrebbe non esistere più.","The resource is not a public link.":"La risorsa non è un link pubblico.","Opening files from remote is disabled":"L'apertura dei file da remoto è disattivata","An error occurred while loading the public link":"Si è verificato un errore durante il caricamento del link pubblico","This resource is password-protected":"Questa risorsa è protetta da password","Loading public link…":"Caricamento link pubblico…","Enter password for public link":"Inserisci la password per il collegamento pubblico","Incorrect password":"Password non corretta","Login":"Accedi","Logout":"Disconnetti","OIDC callback":"OIDC callback","OIDC redirect":"OIDC redirect","Private link":"Link Privato","OCM link":"OCM link","Access denied":"Accesso negato","Not found":"Non trovato"}`),v={},w={New:"Nowy",Delete:"Usuń","Show less":"Pokaż mniej","Show more":"Pokaż więcej",Create:"Utwórz",Note:"Notatka","Expires at":"Wygasa",Actions:"Akcje",Download:"Pobierz","Current password":"Aktualne hasło","New password":"Nowe hasło","Repeat new password":"Powtórz nowe hasło","Password was changed successfully":"Hasło zmienione pomyślnie","Failed to change password":"Błąd zmiany hasła","Expiration date":"Data wygaśnięcia",Confirm:"Potwierdź","Expires on:":"Wygasa:",Close:"Zamknij","Share improvement ideas":"Podziel się pomysłami ulepszeń",Notifications:"Powiadomienia","Mark all as read":"Zaznacz wszystko jako przeczytane","Nothing new":"Nic nowego","Open sidebar to view details":"Otwórz panel boczny żeby zobaczyć szczegóły","My Account":"Moje konto",Account:"Konto",Preferences:"Ustawienia","Log in":"Zaloguj się","Log out":"Wyloguj się",Privacy:"Prywatność","Hide details":"Ukryj szczegóły","Show details":"Pokaż szczegóły","Cancel upload":"Anuluj przesyłanie","Finalizing upload...":"Finalizacja przesyłania","%{ filesInProgressCount } item uploading...":["Przesyłanie %{ filesInProgressCount } elementu...","Przesyłanie %{ filesInProgressCount } elementów...","Przesyłanie %{ filesInProgressCount } elementów...","Przesyłanie %{ filesInProgressCount } elementów..."],"Upload completed":"Pomyślnie zakończono przesyłanie","Preparing upload...":"Przygotowywanie przesyłania","%{ errors } of %{ uploads } item failed":["Przesyłanie %{ errors } z %{ uploads } elementów nie powiodło się","Przesyłanie %{ errors } z %{ uploads } elementów nie powiodło się","Przesyłanie %{ errors } z %{ uploads } elementów nie powiodło się","Przesyłanie %{ errors } z %{ uploads } elementów nie powiodło się"],"%{ successfulUploads } item uploaded":["%{ successfulUploads } przesłany element","%{ successfulUploads } przesłane elementy","%{ successfulUploads } przesłanych elementów","%{ successfulUploads } przesłanych elementów"],"Few seconds left":"Pozostało kilka sekund","Public link":"Link publiczny","Unknown error":"Nieznany błąd","Global progress bar":"Globalny pasek postępu","Default progress bar":"Domyślny pasek postępu",Calendar:"Kalendarz","Space Admin":"Administrator Przestrzeni",User:"Użytkownik",Guest:"Gość",Activities:"Aktywności","No activities":"Brak aktywności","Scan for viruses":"Skanuj w poszukiwaniu wirusów","View and download.":"Zobacz i pobierz","View, download, upload, edit, add and delete.":"Wyświetlanie, pobieranie, przesyłanie, edycja, dodawanie i usuwanie.","View, download and edit.":"Wyświetl , Pobierz i edytuj ","View, download and upload.":"Wyświetlanie, pobieranie i przesyłanie.","View, download, upload, edit, add, delete and manage members.":"Wyświetlanie, pobieranie, przesyłanie, edycja, dodawanie, usuwanie i zarządzanie członkami.","Can view":"Może oglądać","Can edit":"Może edytować","Can upload":"Może przesyłać pliki","Can manage":"Może zarządzać","Public files":"Pliki publiczne","Read more":"Czytaj więcej","Log in again":"Zaloguje się ponownie",here:"tutaj",Username:"Nazwa użytkownika",Password:"Hasło","Extension not found":"Rozszerzenie nie zostało znalezione",Extensions:"Rozszerzenia","No extensions available":"Brak dostępnych rozszerzeń","Extension name":"Nazwa rozszerzenia","Extension description":"Opis rozszerzenia","Extension value":"Wartość rozszerzenia",GDPR:"GDPR","GDPR actions":"Akcje GDPR","GDPR export":"Eksport GDPR",Edit:"Edytuj","Information name":"Nazwa informacji","Information value":"Wartość informacji","First and last name":"Imię i nazwisko",Email:"Email","Personal storage":"Przestrzeń osobista","Show devices":"Pokaż urządzenia",Profile:"Profil",Language:"Język","Select your language.":"Wybierz język.","Help to translate":"Pomóż w tłumaczeniu","Change password":"Zmień hasło",Event:"Wydarzenie","Event description":"Opis wydarzenia",Mail:"Mail",Options:"Opcje","Logged out":"Wylogowano",Error:"Błąd","Missing or invalid config":"Brakująca lub nieprawidłowa konfiguracja","Logging you in":"Logowanie",Continue:"Kontynuuj","Enter password for public link":"Podaj hasło dla linku publicznego","Incorrect password":"Nieprawidłowe hasło",Login:"Logowanie",Logout:"Wylogowanie","Private link":"Link prywatny","Access denied":"Odmowa dostępu","Not found":"Nie znaleziono"},y={},k=JSON.parse(`{"Skip to main":"Перейти в главное","Navigated to %{ pageTitle }":"Перенаправлено на %{ pageTitle }","App Tokens":"Токены приложения","New":"Новый","App tokens are not available because the »auth-app« service is not running. Please contact an administrator.":"Токены приложений недоступны, потому что сервис «auth-app» не запущен. Пожалуйста, свяжитесь с администратором.","No app tokens available.":"Нет доступных токенов приложений","Delete app token":"Удалить токен приложения","Delete":"Удалить","Show less":"Показать меньше","Show more":"Показать больше","The app token has been deleted.":"Токен приложения удален.","An error occurred while deleting the app token.":"При удалении токена приложения возникла ошибка.","Create a new app token":"Создать новый токен приложения","Create":"Создать","Are you sure you want to delete this app token?":"Вы действительно хотите удалить этот токен приложения?","Note":"Примечание","Created at":"Создан","Expires at":"Истекает","Actions":"Действия","Export is being processed. This can take up to 24 hours.":"Экспорт в обработке. Это может занять до 24 часов.","Request new export":"Запросить новый экспорт","Latest export from: %{date}":"Последний экспорт от: %{date}","Download":"Скачать","GDPR export has been requested":"GDPR экспорт запрошен","GDPR export could not be requested. Please contact an administrator.":"GDPR экспорт не может быть запрошен. Пожалуйста, свяжитесь с администратором.","%{used} of %{total} used (%{percentage}%)":"%{used} из %{total} использовано (%{percentage}%)","%{used} used":"%{used} использовано","Theme":"Тема","Auto (same as system)":"Автоматически (как в системе)","Preference saved.":"Предпочтение сохранено","Current password":"Текущий пароль","New password":"Новый пароль","Repeat new password":"Повторите новый пароль","Password was changed successfully":"Пароль успешно изменен","Failed to change password":"Ошибка при смене пароля","New password must be different from current password":"Новый пароль должен отличаться от текущего пароля","Password and password confirmation must be identical":"Пароль и повтор пароля должны быть одинаковыми","Expiration date":"Дата истечения","Confirm":"Подтвердить","Your app token has been successfully created. This is the only time it will be displayed, so please make sure to copy it now.":"Ваш токен приложения успешно создан. Это единственный раз, когда он будет отображаться, поэтому, пожалуйста, скопируйте его прямо сейчас.","Copy app token to clipboard":"Скопировать токен приложения в буфер обмена","Expires on:":"Истекает:","Close":"Закрыть","The note is required":"Примечание является обязательным","Sidebar navigation menu":"Боковая панель меню навигации","Navigate to %{ pageName } page":"Перейти на страницу %{ pageName }","Main navigation":"Основная навигация","Applications":"Приложения","Application Switcher":"Переключатель приложений","Share improvement ideas":"Внести предложение по улучшению","Notifications":"Уведомления","Mark all as read":"Отметить все прочитанным","Nothing new":"Ничего нового","Close sidebar to hide details":"Закрыть боковую панель, чтобы скрыть детали","Open sidebar to view details":"Открыть боковую панель для просмотра подробностей","Top bar":"Верхняя панель","Navigate to personal files page":"Перейти на страницу персональных файлов","Account menu":"Меню учетной записи","My Account":"Мой аккаунт","User Menu login":"Логин пользовательского меню","Account":"Учетная запись","Preferences":"Предпочтения","Log in":"Войти","Log out":"Выйти","Imprint":"Imprint","Privacy":"Приватность","Accessibility":"Доступность","Hide details":"Скрыть детали","Show details":"Показать детали","Retry all failed uploads":"Повторить загрузки, завершившиеся ошибкой","Resume upload":"Возобновить загрузку","Pause upload":"Приостановить загрузку","Cancel upload":"Отменить загрузку","%{uploadedBytes} of %{totalBytes} (%{currentUploadSpeed}/s)":"%{uploadedBytes} из %{totalBytes} (%{currentUploadSpeed}/s)","Finalizing upload...":"Завершение загрузки...","%{ filesInProgressCount } item uploading...":["%{ filesInProgressCount } файл загружается...","%{ filesInProgressCount } файла загружается...","%{ filesInProgressCount } файлов загружается...","%{ filesInProgressCount } файлов загружается..."],"Upload cancelled":"Загрузка прервана","Upload failed":"Ошибка загрузки","Upload completed":"Загрузка завершена","Preparing upload...":"Подготовка загрузки...","%{ errors } of %{ uploads } item failed":["Не удалось загрузить %{ uploads }: %{ errors }","Не удалось загрузить %{ uploads }: %{ errors }","Не удалось загрузить %{ uploads }: %{ errors }","Не удалось загрузить %{ uploads }: %{ errors }"],"%{ successfulUploads } item uploaded":["%{ successfulUploads } файл загружен","%{ successfulUploads } файла загружено","Файлов загружено - %{ successfulUploads }","%{ successfulUploads } файлов загружено"],"Calculating estimated time...":"Рассчитываем оценочное время...","%{ roundedRemainingMinutes } minute left":["%{ roundedRemainingMinutes } минута осталась","%{ roundedRemainingMinutes } минуты осталось","Минут осталось - %{ roundedRemainingMinutes }","%{ roundedRemainingMinutes } минут осталось"],"%{ roundedRemainingHours } hour left":["%{ roundedRemainingHours } час остался","%{ roundedRemainingHours } часа осталось","Часов осталось - %{ roundedRemainingHours }","%{ roundedRemainingHours } часов осталось"],"Few seconds left":"Осталось несколько секунд","Personal":"Персональное","Public link":"Публичная ссылка","The folder you're uploading to is locked":"Папка, в которую вы загружаете файлы, заблокирована","Quota exceeded":"Квота превышена","Unknown error":"Неизвестная ошибка","The folder you were accessing has been removed. Please navigate to another location.":"Папка, к которой вы обращались, была удалена. Пожалуйста, перейдите в другое место.","Your access to this space has been revoked. Please navigate to another location.":"Ваш доступ к данному пространству был отозван. Пожалуйста, перейдите в другое место.","Your access to this share has been revoked. Please navigate to another location.":"Ваш доступ к этому ресурсу был отозван. Пожалуйста, перейдите в другое место.","Global progress bar":"Общая шкала прогресса","Customize your progress bar":"Кастомизируйте свою шкалу прогресса","Default progress bar":"Загрузочный бар по умолчанию","Calendar":"Календарь","Admin":"Администратор","Space Admin":"Администратор пространства","User":"Пользователь","Guest":"Гость","Activities":"События","No activities":"Нет событий","Virus \\"%{description}\\" detected. Please contact your administrator for more information.":"Обнаружен вирус \\"%{description}\\". Пожалуйста, обратитесь к администратору для получения дополнительной информации.","Scan for viruses":"Сканировать на вирусы","Operation denied due to security policies":"Действие запрещено настройками безопасности","Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety":"К сожалению, ваш пароль часто используется. Пожалуйста, для вашей безопасности выберите пароль, который сложно угадать","View and download.":"Просмотреть и скачать.","View, download, upload, edit, add and delete.":"Просмотреть, скачать, загрузить, изменить, добавить и удалить.","View, download and edit.":"Просмотреть, скачать и изменить.","View, download and upload.":"Просмотреть, скачать и загрузить.","View, download, upload, edit, add, delete and manage members.":"Просмотреть, скачать, загрузить, изменить, добавить, удалить и управлять участниками.","Can view":"Можно смотреть","Can edit":"Может редактировать","Can upload":"Может загружать","Can manage":"Может управлять","OCM share":"Совместный доступ через OCM","Public files":"Публичные файлы","Internet Explorer (your current browser) is not officially supported. For security reasons, please switch to another browser.":"Internet Explorer (ваш текущий браузер) не поддерживается официально. В целях безопасности, пожалуйста, перейдите на другой браузер.","Read more":"Прочитать больше","Not logged in":"Вход не выполнен","This could be because of a routine safety log out, or because your account is either inactive or not yet authorized for use. Please try logging in after a while or seek help from your Administrator.":"Это может быть вызвано стандартным периодическим выходом из системы или тем, что ваша учетная запись либо неактивна, либо еще не авторизована для использования. Пожалуйста, попробуйте войти в систему через некоторое время или обратитесь за помощью к своему администратору.","Log in again":"Войти еще раз","The calendar is not yet configured on your system, in order to learn how to enable click":"Календарь еще не составлен для вашей системы. Чтобы узнать, как его включить, нажмите","here":"Здесь","Here, you can access your personal calendar for integration with third-party apps like Thunderbird, Apple Calendar, and others.":"Здесь вы можете получить доступ к своему личному календарю для интеграции со сторонними приложениями, такими как Thunderbird, Apple Calendar и другими.","CalDAV information name":"Имя CalDAV информации","CalCAV information value":"Значение CalCAV информации","CalCAV information actions":"Действия с CalCAV информацией","CalDAV URL":"CalDAV URL","Copy CalDAV URL":"Скопировать CalDAV URL","Username":"Имя пользователя","Copy CalDAV username":"Скопировать имя пользователя CalDAV","Password":"Пароль","An app token needs to be generated and then can be used.":"Токен приложения должен быть сгенерирован и затем может быть использован.","Extension not found":"Расширение не найдено","Extensions":"Расширения","No extensions available":"Нет доступных расширений","Extension name":"Имя расширения","Extension description":"Описание расширения","Extension value":"Значение расширения","GDPR":"GDPR","GDPR action name":"Имя действия, связанного с GDPR","GDPR action description":"Описание действия, связанного с GDPR","GDPR actions":"Действия, связанные с GDPR","GDPR export":"GDPR экспорт","Request a personal data export according to §20 GDPR.":"Запросить экспорт персональны данных согласно §20 GDPR.","Account Information":"Информация об учетной записи","Edit":"Редактировать","Information name":"Имя информационного поля","Information value":"Значение информационного поля","Profile picture":"Изображение профиля","Max. %{size}MB, JPG, PNG":"Макс. %{size}MB, JPG, PNG","First and last name":"Имя и фамилия","Email":"Электронная почта","No email has been set up":"Электронная почта не установлена","Personal storage":"Персональное хранилище","Group memberships":"Членство в группах","You are not part of any group":"Вы не состоите ни в одной группе.","Logout from active devices":"Выход из системы с активных устройств","Show devices":"Показать устройства","Profile":"Профиль","Preference name":"Имя предпочтения","Preference description":"Описание предпочтения","Preference value":"Значение предпочтения","Language":"Язык","Select your language.":"Выберите свой язык.","Help to translate":"Помогите перевести","Change password":"Изменить пароль","Select your favorite theme":"Выберите свою любимую тему","Receive notification mails":"Получать уведомления на электронную почту","View options":"Опции просмотра","Show WebDAV information in details view":"Показать WebDAV информацию в меню деталей","Personalise your notification preferences about any file, folder, or Space.":"Настройте свои уведомления о файла, папках и Пространствах. ","Mail notification options":"Настройки уведомлений по электронной почте","Event":"Событие","Event description":"Описание события","In-App":"Встроенное в приложение","Mail":"Почта","Options":"Опции","Option description":"Описание опции","Option value":"Значение опции","Unable to load account data…":"Не удалось загрузить данные учетной записи...","Unable to save preference…":"Не удалось сохранить предпочтение...","Logged out":"Произведен выход","You have been logged out successfully.":"Вы были успешно разлогинены.","Error":"Ошибка","Missing or invalid config":"Отсутствующая или неверная конфигурация","Please check if the file config.json exists and is correct.":"Пожалуйста, убедитесь, что файл config.json существует и корректный ли он.","Also, make sure to check the browser console for more information.":"Кроме того, не забудьте проверить консоль браузера для получения дополнительной информации.","Authentication failed":"Ошибка аутентификации","Logging you in":"Производится вход","Please contact the administrator if this error persists.":"Если эта ошибка сохраняется, пожалуйста, свяжитесь с администратором.","Please wait, you are being redirected.":"Пожалуйста, подождите, происходит переадресация.","Open \\"Shared with me\\"":"Открыть \\"Доступные мне\\"","Resolving private link…":"Разрешение приватной ссылки...","An error occurred while resolving the private link":"При разрешении публичной ссылки возникла ошибка.","The link you are trying to access is invalid or you do not have permission to view the content. Please check the link for any errors or contact the person who shared it for assistance.":"Ссылка, по которой вы пытаетесь перейти, недействительна или у вас нет разрешения на просмотр ее содержимого. Пожалуйста, проверьте ссылку на наличие ошибок или обратитесь за помощью к тому, кто ей поделился.","Continue":"Продолжить","The resource could not be located, it may not exist anymore.":"Ресурс не может быть обнаружен, возможно он больше не существует.","The resource is not a public link.":"Этот ресурс не является публичной ссылкой.","Opening files from remote is disabled":"Открытие файлов на удаленном сервере отключено","An error occurred while loading the public link":"При загрузке публичной ссылки возникла ошибка.","This resource is password-protected":"Этот ресурс защищен паролем","Loading public link…":"Загрузка публичной ссылки...","Enter password for public link":"Введите пароль от публичной ссылки","Incorrect password":"Неправильный пароль","Login":"Вход","Logout":"Выход","Private link":"Приватная ссылка","OCM link":"OCM ссылка","Access denied":"Доступ запрещен","Not found":"Не найдено"}`),C={},S=JSON.parse(`{"Skip to main":"Saltar para o conteúdo principal","Navigated to %{ pageTitle }":"Navegou para %{ pageTitle }","App Tokens":"Tokens de aplicação","New":"Novo","App tokens are not available because the »auth-app« service is not running. Please contact an administrator.":"Os tokens de aplicação não estão disponíveis porque o serviço »auth-app« não está em execução. Contacte um administrador.","No app tokens available.":"Nenhum token de aplicação disponível.","Delete app token":"Eliminar token de aplicação","Delete":"Eliminar","Show less":"Mostrar menos","Show more":"Mostrar mais","The app token has been deleted.":"O token de aplicação foi eliminado.","An error occurred while deleting the app token.":"Ocorreu um erro ao eliminar o token de aplicação.","Create a new app token":"Criar novo token de aplicação","Create":"Criar","Are you sure you want to delete this app token?":"Tem a certeza de que pretende eliminar este token de aplicação?","Note":"Nota","Created at":"Criado em","Expires at":"Expira em","Actions":"Ações","Export is being processed. This can take up to 24 hours.":"O export está a ser processado. Pode demorar até 24 horas.","Request new export":"Solicitar nova exportação","Latest export from: %{date}":"Última exportação em: %{date}","Download":"Transferir","GDPR export has been requested":"Exportação RGPD solicitada","GDPR export could not be requested. Please contact an administrator.":"Não foi possível solicitar a exportação RGPD. Contacte um administrador.","%{used} of %{total} used (%{percentage}%)":"%{used} de %{total} usados (%{percentage}%)","%{used} used":"%{used} usados","Theme":"Tema","Auto (same as system)":"Automático (igual ao sistema)","Preference saved.":"Preferência guardada.","Current password":"Palavra-passe atual","New password":"Nova palavra-passe","Repeat new password":"Repetir nova palavra-passe","Password was changed successfully":"Palavra-passe alterada com sucesso","Failed to change password":"Falha ao alterar palavra-passe","New password must be different from current password":"A nova palavra-passe tem de ser diferente da atual","Password and password confirmation must be identical":"A palavra-passe e a confirmação devem ser idênticas","Expiration date":"Data de expiração","Confirm":"Confirmar","Your app token has been successfully created. This is the only time it will be displayed, so please make sure to copy it now.":"O token de aplicação foi criado com sucesso. Esta é a única vez que será exibido, por isso copie-o agora.","Copy app token to clipboard":"Copiar token de aplicação","Expires on:":"Expira em:","Close":"Fechar","The note is required":"A nota é obrigatória","Sidebar navigation menu":"Menu de navegação da barra lateral","Navigate to %{ pageName } page":"Navegar para a página %{ pageName }","Main navigation":"Navegação principal","Applications":"Aplicações","Application Switcher":"Seletor de aplicações","Share improvement ideas":"Partilhar ideias de melhoria","Notifications":"Notificações","Mark all as read":"Marcar todas como lidas","Nothing new":"Nada de novo","Close sidebar to hide details":"Fechar barra lateral para ocultar detalhes","Open sidebar to view details":"Abrir barra lateral para ver detalhes","Top bar":"Barra superior","Navigate to personal files page":"Navegar para a página de ficheiros pessoais","Account menu":"Menu da conta","My Account":"A minha conta","User Menu login":"Menu de utilizador – iniciar sessão","Account":"Conta","Preferences":"Preferências","Log in":"Iniciar sessão","Log out":"Terminar sessão","Imprint":"Impressum","Privacy":"Privacidade","Accessibility":"Acessibilidade","Hide details":"Ocultar detalhes","Show details":"Mostrar detalhes","Retry all failed uploads":"Repetir todos os envios falhados","Resume upload":"Retomar envio","Pause upload":"Pausar envio","Cancel upload":"Cancelar envio","%{uploadedBytes} of %{totalBytes} (%{currentUploadSpeed}/s)":"%{uploadedBytes} de %{totalBytes} (%{currentUploadSpeed}/s)","Finalizing upload...":"A finalizar envio…","%{ filesInProgressCount } item uploading...":["%{ filesInProgressCount } item a enviar…","%{ filesInProgressCount } itens a enviar…","%{ filesInProgressCount } itens a enviar…"],"Upload cancelled":"Envio cancelado","Upload failed":"Envio falhou","Upload completed":"Envio concluído","Preparing upload...":"A preparar envio…","%{ errors } of %{ uploads } item failed":["%{ errors } de %{ uploads } item falhou","%{ errors } de %{ uploads } itens falharam","%{ errors } de %{ uploads } itens falharam"],"%{ successfulUploads } item uploaded":["%{ successfulUploads } item enviado","%{ successfulUploads } itens enviados","%{ successfulUploads } itens enviados"],"Calculating estimated time...":"A calcular tempo estimado…","%{ roundedRemainingMinutes } minute left":["Falta %{ roundedRemainingMinutes } minuto","Faltam %{ roundedRemainingMinutes } minutos","Faltam %{ roundedRemainingMinutes } minutos"],"%{ roundedRemainingHours } hour left":["Falta %{ roundedRemainingHours } hora","Faltam %{ roundedRemainingHours } horas","Faltam %{ roundedRemainingHours } horas"],"Few seconds left":"Faltam poucos segundos","Personal":"Pessoal","Public link":"Ligação pública","The folder you're uploading to is locked":"A pasta para a qual está a enviar está bloqueada","Quota exceeded":"Quota excedida","Unknown error":"Erro desconhecido","The folder you were accessing has been removed. Please navigate to another location.":"A pasta à qual estava a aceder foi removida. Navegue para outra localização.","Your access to this space has been revoked. Please navigate to another location.":"O seu acesso a este espaço foi revogado. Navegue para outra localização.","Your access to this share has been revoked. Please navigate to another location.":"O seu acesso a esta partilha foi revogado. Navegue para outra localização.","Global progress bar":"Barra de progresso global","Customize your progress bar":"Personalizar a barra de progresso","Default progress bar":"Barra de progresso predefinida","Calendar":"Calendário","Admin":"Administrador","Space Admin":"Administrador de Espaço","User":"Utilizador","Guest":"Convidado","Activities":"Atividades","No activities":"Sem atividades","Virus \\"%{description}\\" detected. Please contact your administrator for more information.":"Detetado vírus \\"%{description}\\". Contacte o administrador para mais informações.","Scan for viruses":"Procurar vírus","Operation denied due to security policies":"Operação negada por políticas de segurança","Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety":"Infelizmente, a sua palavra-passe é comum. Escolha uma mais difícil de adivinhar para sua segurança.","View and download.":"Ver e transferir.","View, download, upload, edit, add and delete.":"Ver, transferir, enviar, editar, adicionar e eliminar.","View, download and edit.":"Ver, transferir e editar.","View, download and upload.":"Ver, transferir e enviar.","View, download, upload, edit, add, delete and manage members.":"Ver, transferir, enviar, editar, adicionar, eliminar e gerir membros.","Can view":"Pode ver","Can edit":"Pode editar","Can upload":"Pode enviar","Can manage":"Pode gerir","OCM share":"Partilha OCM","Public files":"Ficheiros públicos","Internet Explorer (your current browser) is not officially supported. For security reasons, please switch to another browser.":"O Internet Explorer (o seu navegador atual) não é oficialmente suportado. Por motivos de segurança, mude para outro navegador.","Read more":"Ler mais","Not logged in":"Não autenticado","This could be because of a routine safety log out, or because your account is either inactive or not yet authorized for use. Please try logging in after a while or seek help from your Administrator.":"Pode ser devido a um término de sessão de segurança automático ou porque a sua conta está inativa ou ainda não autorizada. Tente iniciar sessão novamente ou contacte o administrador.","Log in again":"Iniciar sessão novamente","The calendar is not yet configured on your system, in order to learn how to enable click":"O calendário ainda não está configurado no seu sistema; para saber como ativar, clique","here":"aqui","Here, you can access your personal calendar for integration with third-party apps like Thunderbird, Apple Calendar, and others.":"Aqui pode aceder ao seu calendário pessoal para integração com aplicações de terceiros como Thunderbird, Apple Calendar, entre outras.","CalDAV information name":"Nome da informação CalDAV","CalCAV information value":"Valor da informação CalDAV","CalCAV information actions":"Ações de informação CalDAV","CalDAV URL":"URL CalDAV","Copy CalDAV URL":"Copiar URL CalDAV","Username":"Nome de utilizador","Copy CalDAV username":"Copiar nome de utilizador CalDAV","Password":"Palavra-passe","An app token needs to be generated and then can be used.":"É necessário gerar um token de aplicação para poder utilizá-lo.","Extension not found":"Extensão não encontrada","Extensions":"Extensões","No extensions available":"Nenhuma extensão disponível","Extension name":"Nome da extensão","Extension description":"Descrição da extensão","Extension value":"Valor da extensão","GDPR":"RGPD","GDPR action name":"Nome da ação RGPD","GDPR action description":"Descrição da ação RGPD","GDPR actions":"Ações RGPD","GDPR export":"Exportação RGPD","Request a personal data export according to §20 GDPR.":"Solicitar exportação de dados pessoais conforme o artigo 20.º do RGPD.","Account Information":"Informações da conta","Edit":"Editar","Information name":"Nome da informação","Information value":"Valor da informação","Profile picture":"Foto de perfil","Max. %{size}MB, JPG, PNG":"Máx. %{size} MB, JPG, PNG","First and last name":"Nome próprio e apelido","Email":"E-mail","No email has been set up":"Nenhum e-mail configurado","Personal storage":"Armazenamento pessoal","Group memberships":"Membro de grupos","You are not part of any group":"Não pertence a nenhum grupo","Logout from active devices":"Terminar sessão em dispositivos ativos","Show devices":"Mostrar dispositivos","Profile":"Perfil","Preference name":"Nome da preferência","Preference description":"Descrição da preferência","Preference value":"Valor da preferência","Language":"Idioma","Select your language.":"Selecione o seu idioma.","Help to translate":"Ajudar a traduzir","Change password":"Alterar palavra-passe","Select your favorite theme":"Selecione o seu tema favorito","Receive notification mails":"Receber e-mails de notificação","View options":"Opções de visualização","Show WebDAV information in details view":"Mostrar informação WebDAV na vista de detalhes","Personalise your notification preferences about any file, folder, or Space.":"Personalize as suas preferências de notificações sobre ficheiros, pastas ou Espaços.","Mail notification options":"Opções de notificações por e-mail","Event":"Evento","Event description":"Descrição do evento","In-App":"Na aplicação","Mail":"E-mail","Options":"Opções","Option description":"Descrição da opção","Option value":"Valor da opção","Unable to load account data…":"Impossível carregar dados da conta…","Unable to save preference…":"Impossível guardar preferência…","Logged out":"Sessão terminada","You have been logged out successfully.":"Sessão terminada com sucesso.","Error":"Erro","Missing or invalid config":"Configuração em falta ou inválida","Please check if the file config.json exists and is correct.":"Verifique se o ficheiro config.json existe e está correto.","Also, make sure to check the browser console for more information.":"Verifique também a consola do navegador para mais informações.","Authentication failed":"Autenticação falhou","Logging you in":"A iniciar sessão","Please contact the administrator if this error persists.":"Contacte o administrador se o erro persistir.","Please wait, you are being redirected.":"Aguarde, está a ser redirecionado.","Open \\"Shared with me\\"":"Abrir \\"Partilhado comigo\\"","Resolving private link…":"A resolver ligação privada…","An error occurred while resolving the private link":"Ocorreu um erro ao resolver a ligação privada","The link you are trying to access is invalid or you do not have permission to view the content. Please check the link for any errors or contact the person who shared it for assistance.":"A ligação que está a tentar aceder é inválida ou não tem permissão para ver o conteúdo. Verifique a ligação ou contacte quem a partilhou.","Continue":"Continuar","The resource could not be located, it may not exist anymore.":"O recurso não foi encontrado, podendo já não existir.","The resource is not a public link.":"O recurso não é uma ligação pública.","Opening files from remote is disabled":"Abrir ficheiros remotos está desativado","An error occurred while loading the public link":"Ocorreu um erro ao carregar a ligação pública","This resource is password-protected":"Este recurso está protegido por palavra-passe","Loading public link…":"A carregar ligação pública…","Enter password for public link":"Introduza a palavra-passe da ligação pública","Incorrect password":"Palavra-passe incorreta","Login":"Iniciar sessão","Logout":"Terminar sessão","OIDC callback":"Callback OIDC","OIDC redirect":"Redirecionamento OIDC","Private link":"Ligação privada","OCM link":"Ligação OCM","Access denied":"Acesso negado","Not found":"Não encontrado"}`),z={"Skip to main":"메인으로 건너뛰기","Navigated to %{ pageTitle }":"%{ pageTitle }으로 이동",New:"신규","App tokens are not available because the »auth-app« service is not running. Please contact an administrator.":"»auth-app « 서비스가 실행 중이 아니기 때문에 앱 토큰을 사용할 수 없습니다. 관리자에게 문의하세요.","No app tokens available.":"앱 토큰을 사용할 수 없습니다.","Delete app token":"앱 토큰 삭제",Delete:"삭제","Show less":"작게 보기","Show more":"더 보기","The app token has been deleted.":"앱 토큰이 삭제되었습니다.","An error occurred while deleting the app token.":"앱 토큰을 삭제하는 동안 오류가 발생했습니다.","Create a new app token":"새 앱 토큰 만들기",Create:"생성","Are you sure you want to delete this app token?":"이 앱 토큰을 삭제하시겠습니까?",Note:"노트","Created at":"생성 위치","Expires at":"만료 됩니다",Actions:"액션들","Export is being processed. This can take up to 24 hours.":"내보내기가 처리 중입니다. 최대 24시간이 소요될 수 있습니다.","Request new export":"새 내보내기 요청","Latest export from: %{date}":"최신 내보내기: %{date}",Download:"내려받기","GDPR export has been requested":"GDPR 내보내기가 요청되었습니다","GDPR export could not be requested. Please contact an administrator.":"GDPR 내보내기를 요청할 수 없습니다. 관리자에게 문의해 주세요.","%{used} of %{total} used (%{percentage}%)":"%{used} of %{total} 사용됨 (%{percentage}%)","%{used} used":"%{used} 사용됨",Theme:"테마","Auto (same as system)":"자동(시스템과 동일)","Preference saved.":"설정이 저장되었습니다.","Current password":"현재 비밀번호","New password":"새 비빌번호","Repeat new password":"새 비밀번호 반복","Password was changed successfully":"비밀번호가 성공적으로 변경되었습니다","Failed to change password":"비밀번호 변경 실패","New password must be different from current password":"새 비밀번호는 현재 비밀번호와 달라야 합니다","Password and password confirmation must be identical":"비밀번호와 비밀번호 확인은 동일해야 합니다","Expiration date":"만료일",Confirm:"확인","Your app token has been successfully created. This is the only time it will be displayed, so please make sure to copy it now.":"앱 토큰이 성공적으로 생성되었습니다. 이 경우에만 표시되므로 지금 바로 복사하세요.","Copy app token to clipboard":"앱 토큰을 클립보드에 복사하기","Expires on:":"만료 :",Close:"닫기","The note is required":"노트는 필수입니다","Sidebar navigation menu":"사이드바 탐색 메뉴","Navigate to %{ pageName } page":"%{ pageName } 페이지로 이동합니다","Main navigation":"주요 내비게이션","Application Switcher":"애플리케이션 스위처",Notifications:"알림","Mark all as read":"모두 읽기로 표시","Nothing new":"새로운 것은 없어요","Close sidebar to hide details":"세부 정보를 숨기기 위한 사이드바 닫기","Open sidebar to view details":"세부 정보를 보려면 사이드바 열기","Top bar":"상단 막대","Navigate to personal files page":"개인 파일 페이지로 이동","Account menu":"계정 메뉴","My Account":"내 계정","User Menu login":"사용자 메뉴 로그인",Account:"계정",Preferences:"설정","Log in":"로그인","Log out":"로그아웃",Imprint:"흔적",Privacy:"프라이버시","Hide details":"세부 정보 숨기기","Show details":"세부 정보 표시","Retry all failed uploads":"실패한 모든 업로드 다시 시도","Resume upload":"업로드 재개","Pause upload":"업로드 일시 중지","Cancel upload":"업로드 취소","%{uploadedBytes} of %{totalBytes} (%{currentUploadSpeed}/s)":"%{uploadedBytes} of %{totalBytes} (%{currentUploadSpeed}/s)","Finalizing upload...":"업로드를 완료하는 중...","%{ filesInProgressCount } item uploading...":"%{ filesInProgressCount } 항목 업로드 중...","Upload cancelled":"업로드 취소","Upload failed":"업로드 실패","Upload completed":"업로드 완료","Preparing upload...":"업로드 준비 중...","%{ errors } of %{ uploads } item failed":"%{ uploads } 항목 중 %{ errors } 실패했습니다","%{ successfulUploads } item uploaded":"%{ successfulUploads }개 항목","Calculating estimated time...":"예상 시간 계산 중...","%{ roundedRemainingMinutes } minute left":"%{ roundedRemainingMinutes }분 남았습니다","%{ roundedRemainingHours } hour left":"%{ roundedRemainingHours }시간 남았습니다","Few seconds left":"몇 초 남았습니다",Personal:"개인","Public link":"공개 링크","The folder you're uploading to is locked":"업로드하려는 폴더가 잠겨 있습니다","Quota exceeded":"할당량 초과","Unknown error":"알 수 없는 오류","The folder you were accessing has been removed. Please navigate to another location.":"액세스 중이던 폴더가 제거되었습니다. 다른 위치로 이동하세요.","Your access to this space has been revoked. Please navigate to another location.":"이 공간에 대한 액세스가 취소되었습니다. 다른 위치로 이동하세요.","Your access to this share has been revoked. Please navigate to another location.":"이 공유에 대한 액세스 권한이 취소되었습니다. 다른 위치로 이동하세요.","Global progress bar":"글로벌 진행 상태 표시줄","Customize your progress bar":"진행 상태 표시줄 사용자 지정","Default progress bar":"기본 진행 표시줄",Admin:"관리자","Space Admin":"공간 관리자",User:"사용자",Guest:"게스트",Activities:"활동들","No activities":"활동 없음",'Virus "%{description}" detected. Please contact your administrator for more information.':'바이러스 "%{description}"이/가 감지되었습니다. 자세한 내용은 관리자에게 문의해 주세요.',"Scan for viruses":"바이러스 스캔","Operation denied due to security policies":"보안 정책으로 인해 작업이 거부되었습니다","Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety":"안타깝게도 비밀번호는 일반적으로 사용됩니다. 안전을 위해 추측하기 어려운 비밀번호를 선택해 주세요","View and download.":"보기 및 다운로드.","View, download, upload, edit, add and delete.":"보기, 다운로드, 업로드, 편집, 추가 및 삭제.","View, download and edit.":"보기, 다운로드 및 편집.","View, download and upload.":"보기, 다운로드 및 업로드.","View, download, upload, edit, add, delete and manage members.":"회원 보기, 다운로드, 업로드, 편집, 추가, 삭제 및 관리.","Can view":"확인 가능","Can edit":"편집 가능","Can upload":"업로드 가능","Can manage":"관리 가능","OCM share":"OCM 할당","Public files":"공용 파일","Internet Explorer (your current browser) is not officially supported. For security reasons, please switch to another browser.":"인터넷 익스플로러(현재 사용 중인 브라우저)는 공식적으로 지원되지 않습니다. 보안상의 이유로 다른 브라우저로 전환해 주세요.","Read more":"더 읽기","Not logged in":"로그인하지 않음","This could be because of a routine safety log out, or because your account is either inactive or not yet authorized for use. Please try logging in after a while or seek help from your Administrator.":"이것은 로그아웃 때문일 수도 있고, 계정이 비활성화되었거나 아직 사용 권한이 없기 때문일 수도 있습니다. 잠시 후 로그인을 시도하거나 관리자의 도움을 구하세요.","Log in again":"다시 로그인",Username:"사용자명",Password:"비밀번호",Extensions:"확장","Extension name":"확장명","Extension description":"확장 설명","Extension value":"확장 값",GDPR:"GDPR","GDPR action name":"GDPR 액션명","GDPR action description":"GDPR 액션 설명","GDPR actions":"GDPR 액션","GDPR export":"GDPR 내보내기","Request a personal data export according to §20 GDPR.":"§20 GDPR에 따라 개인 데이터 내보내기를 요청합니다.","Account Information":"계정 정보",Edit:"편집","Information name":"정보명","Information value":"정보","First and last name":"이름과 성",Email:"이메일","No email has been set up":"이메일이 설정되지 않았습니다","Personal storage":"개인 저장소","Group memberships":"그룹 멤버십","You are not part of any group":"당신은 어떤 그룹에도 속하지 않습니다","Logout from active devices":"활성 장치에서 로그아웃","Show devices":"장치 표시","Preference name":"설정 이름","Preference description":"설정 설명","Preference value":"설정 값",Language:"언어","Select your language.":"언어를 선택하세요.","Help to translate":"번역 도움","Change password":"비밀번호 변경","Select your favorite theme":"좋아하는 테마 선택하기","Receive notification mails":"알림 메일 수신","View options":"보기 옵션","Show WebDAV information in details view":"세부 정보 보기에 WebDAV 정보 표시","Personalise your notification preferences about any file, folder, or Space.":"파일, 폴더 또는 공간에 대한 알림 설정을 개인화합니다.","Mail notification options":"메일 알림 옵션",Event:"이벤트","Event description":"이벤트 설명","In-App":"인앱",Mail:"메일",Options:"옵션","Option description":"옵션 설명","Option value":"옵션 값","Unable to load account data…":"계정 데이터를 로드할 수 없습니다...","Unable to save preference…":"기본 설정을 저장할 수 없습니다...","Logged out":"로그아웃 상태","You have been logged out successfully.":"성공적으로 로그아웃되었습니다.",Error:"오류","Missing or invalid config":"구성이 없거나 잘못되었습니다","Please check if the file config.json exists and is correct.":"파일 config.json이 존재하고 올바른지 확인해 주세요.","Also, make sure to check the browser console for more information.":"또한, 자세한 내용은 브라우저 콘솔을 확인하세요.","Authentication failed":"인증 실패","Logging you in":"로그인하기","Please contact the administrator if this error persists.":"이 오류가 계속되면 관리자에게 연락해 주세요.","Please wait, you are being redirected.":"잠시만 기다려 주세요, 리디렉션됩니다.",'Open "Shared with me"':'"나와 공유" 열기',"Resolving private link…":"비공개 링크를 해결하는 중...","An error occurred while resolving the private link":"비공개 링크를 해결하는 동안 오류가 발생했습니다","The link you are trying to access is invalid or you do not have permission to view the content. Please check the link for any errors or contact the person who shared it for assistance.":"액세스하려는 링크가 잘못되었거나 콘텐츠를 볼 수 있는 권한이 없습니다. 링크에 오류가 있는지 확인하거나 공유한 사람에게 도움을 요청하세요.",Continue:"계속하기","The resource could not be located, it may not exist anymore.":"리소스를 찾을 수 없었고, 더 이상 존재하지 않을 수도 있습니다.","The resource is not a public link.":"리소스는 공개 링크가 아닙니다.","Opening files from remote is disabled":"원격에서 파일을 여는 것이 비활성화되었습니다","An error occurred while loading the public link":"공용 링크를 로드하는 동안 오류가 발생했습니다","This resource is password-protected":"이 리소스는 비밀번호로 보호됩니다","Loading public link…":"공개 링크 로드 중...","Enter password for public link":"공개 링크의 비밀번호 입력","Incorrect password":"잘못된 비밀번호",Login:"로그인",Logout:"로그아웃","Private link":"프라이빗 링크","OCM link":"OCM 링크","Access denied":"접근 거부","Not found":"찾을 수 없음"},A={"Navigated to %{ pageTitle }":"Prejsť na %{ pageTitle }",Note:"Poznámka","Request new export":"Požiadať o nový export","Preference saved.":"Uložená preferencia.","New password":"Nové heslo","Repeat new password":"Opakovať nové heslo","Password was changed successfully":"Heslo bolo úspešne zmenené","New password must be different from current password":"Nové heslo musí byť iné ako staré","Password and password confirmation must be identical":"Heslo a jeho potvrdenie musia byť totožné","Navigate to %{ pageName } page":"Prejsť na %{ pageName } stránku","Main navigation":"Hlavná navigácia",Notifications:"Notifikácie","Mark all as read":"Označiť ako prečítané","Nothing new":"nič nové","Open sidebar to view details":"Otvorte bočný panel pre zobrazenie podrobností","Navigate to personal files page":"Prejsť na osobné súbory","My Account":"Môj účet",Preferences:"Preferencie","Log in":"Prihlásiť sa",Privacy:"Súkromie","Pause upload":"Pozastaviť nahrávanie","Preparing upload...":"Príprava nahrávania...",Personal:"Osobné","Public link":"Verejný odkaz","Quota exceeded":"Kvóta prekročená",User:"Užívateľ",Guest:"Hosť","No activities":"Žiadne aktivity","Operation denied due to security policies":"Operácia bola zamietnutá z dôvodu bezpečnostných zásad","Read more":"Čítať viac","Not logged in":"Neprihlásený","Log in again":"Prihlásiť sa znova",Password:"Heslo","Request a personal data export according to §20 GDPR.":"Požiadať o export osobných údajov podľa §20 GDPR.","No email has been set up":"Nie je nastavený žiadny e-mail","Personal storage":"Osobné úložisko","Logout from active devices":"Odhlásiť zo všetkých zariadení","Preference name":"Názov preferencie","Preference description":"Popis preferencie","Preference value":"Hodnota preferencie","Receive notification mails":"Prijímať notifikačné maily","Personalise your notification preferences about any file, folder, or Space.":"Prispôsobte si predvoľby upozornení na akýkoľvek súbor, priečinok alebo obsah.","Mail notification options":"Možnosti upozornenia na e-maily",Mail:"Pošta",Options:"Možnosti","Option description":"Popis možnosti","Option value":"Hodnota možnosti","Missing or invalid config":"Chýbajúce alebo nesprávne nastavenie","Please check if the file config.json exists and is correct.":"Skontrolujte, či súbor config.json existuje a je správny.","Please contact the administrator if this error persists.":"Ak táto chyba pretrváva, kontaktujte správcu.","Please wait, you are being redirected.":"Prosím počkajte, budete presmerovaný.",'Open "Shared with me"':"Otvoriť „Zdieľané so mnou“","Resolving private link…":"Načítavanie sukromného odkazu...","Opening files from remote is disabled":"Otváranie vzdialených súborov je zakázané","Loading public link…":"Načítava sa verejný odkaz...",Login:"Prihlásiť",Logout:"Odhlásiť","OIDC callback":"Spätné volanie OIDC","OIDC redirect":"OIDC presmerovanie","Private link":"Súkromný odkaz","OCM link":"OCM odkaz","Not found":"nenašiel sa"},D={},N={},P={},F=JSON.parse(`{"Skip to main":"Gå till huvudinnehållet","Navigated to %{ pageTitle }":"Navigerade till %{ pageTitle }","App Tokens":"App-tokens","New":"Ny","App tokens are not available because the »auth-app« service is not running. Please contact an administrator.":"App-tokens är inte tillgängliga eftersom tjänsten »auth-app« inte körs. Kontakta en administratör.","No app tokens available.":"Inga app-tokens tillgängliga.","Delete app token":"Ta bort app-token","Delete":"Ta bort","Show less":"Visa mindre","Show more":"Visa mer","The app token has been deleted.":"App-token har raderats.","An error occurred while deleting the app token.":"Ett fel uppstod när app-token raderades.","Create a new app token":"Skapa en ny app-token","Create":"Skapa","Are you sure you want to delete this app token?":"Är du säker på att du vill ta bort denna app-token?","Note":"Anteckning","Created at":"Skapad","Expires at":"Går ut den","Actions":"Åtgärder","Export is being processed. This can take up to 24 hours.":"Exporten bearbetas. Detta kan ta upp till 24 timmar.","Request new export":"Begär ny export","Latest export from: %{date}":"Senaste export från: %{date}","Download":"Ladda ner","GDPR export has been requested":"GDPR-export har begärts","GDPR export could not be requested. Please contact an administrator.":"GDPR-export kunde inte begäras. Kontakta en administratör.","%{used} of %{total} used (%{percentage}%)":"%{used} av %{total} använt (%{percentage}%)","%{used} used":"%{used} används","Theme":"Tema","Auto (same as system)":"Auto (samma som systemet)","Preference saved.":"Inställning sparad.","Current password":"Nuvarande lösenord","New password":"Nytt lösenord","Repeat new password":"Upprepa nytt lösenord","Password was changed successfully":"Lösenordet har ändrats","Failed to change password":"Det gick inte att ändra lösenordet","New password must be different from current password":"Det nya lösenordet måste skilja sig från det nuvarande lösenordet","Password and password confirmation must be identical":"Lösenordet och lösenordsbekräftelsen måste vara identiska","Expiration date":"Förfallodatum","Confirm":"Bekräfta","Your app token has been successfully created. This is the only time it will be displayed, so please make sure to copy it now.":"Din app-token har skapats. Den visas endast en gång, så se till att kopiera den nu.","Copy app token to clipboard":"Kopiera app-token till urklipp","Expires on:":"Upphör:","Close":"Stäng","The note is required":"Noteringen är obligatorisk","Sidebar navigation menu":"Navigeringsmeny i sidofältet","Navigate to %{ pageName } page":"Navigera till sidan %{ pageName }","Main navigation":"Huvudmeny","Applications":"Applikationer","Application Switcher":"Applikationsväxlare","Share improvement ideas":"Dela förbättringsförslag","Notifications":"Aviseringar","Mark all as read":"Markera allt som läst","Nothing new":"Ingenting nytt","Close sidebar to hide details":"Stäng sidofältet för att dölja detaljer","Open sidebar to view details":"Öppna sidofältet för att visa detaljer","Top bar":"List","Navigate to personal files page":"Gå till sidan med personliga filer","Account menu":"Kontomeny","My Account":"Mitt konto","User Menu login":"Användarmeny inloggning","Account":"Konto","Preferences":"Inställningar","Log in":"Logga in","Log out":"Logga ut","Imprint":"Avtryck","Privacy":"Integritet","Accessibility":"Tillgänglighet","Hide details":"Dölj detaljer","Show details":"Visa detaljer","Retry all failed uploads":"Försök igen med alla misslyckade uppladdningar","Resume upload":"Ladda upp CV","Pause upload":"Pausa uppladdning","Cancel upload":"Avbryt uppladdning","%{uploadedBytes} of %{totalBytes} (%{currentUploadSpeed}/s)":"%{uploadedBytes} av %{totalBytes} (%{currentUploadSpeed}/s)","Finalizing upload...":"Slutför uppladdning...","%{ filesInProgressCount } item uploading...":["%{ filesInProgressCount } objekt laddas upp...","%{ filesInProgressCount } objekt laddas upp..."],"Upload cancelled":"Uppladdningen avbruten","Upload failed":"Uppladdning misslyckades","Upload completed":"Uppladdning färdig","Preparing upload...":"Förbereder uppladdning...","%{ errors } of %{ uploads } item failed":["%{ errors } av %{ uploads } objekt misslyckades","%{ errors } av %{ uploads } objekt misslyckades"],"%{ successfulUploads } item uploaded":["%{ successfulUploads } objekt uppladdat","%{ successfulUploads } objekt uppladdade"],"Calculating estimated time...":"Beräknar uppskattad tid...","%{ roundedRemainingMinutes } minute left":["%{ roundedRemainingMinutes } minut kvar","%{ roundedRemainingMinutes } minuter kvar"],"%{ roundedRemainingHours } hour left":["%{ roundedRemainingHours } timme kvar","%{ roundedRemainingHours } timmar kvar"],"Few seconds left":"Några sekunder kvar","Personal":"Personlig","Public link":"Offentlig länk","The folder you're uploading to is locked":"Mappen du laddar upp till är låst","Quota exceeded":"Kvoten överskreds","Unknown error":"Okänt fel","The folder you were accessing has been removed. Please navigate to another location.":"Mappen du försökte öppna har tagits bort. Navigera till en annan plats.","Your access to this space has been revoked. Please navigate to another location.":"Din åtkomst till denna arbetsyta har återkallats. Navigera till en annan plats.","Your access to this share has been revoked. Please navigate to another location.":"Din åtkomst till denna del har återkallats. Navigera till en annan plats.","Global progress bar":"Global förloppsindikator","Customize your progress bar":"Anpassa din förloppsindikator","Default progress bar":"Standardförloppsindikator","Calendar":"Kalender","Admin":"Admin","Space Admin":"Administratör för arbetsyta","User":"Användare","Guest":"Gäst","Activities":"Aktiviteter","No activities":"Inga aktiviteter","Virus \\"%{description}\\" detected. Please contact your administrator for more information.":"Virus \\"%{description}\\" upptäckt. Kontakta din administratör för mer information.","Scan for viruses":"Sök efter virus","Operation denied due to security policies":"Åtgärden nekades på grund av säkerhetspolicyer","Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety":"Tyvärr är ditt lösenord vanligt förekommande. Välj ett lösenord som är svårare att gissa för din säkerhet","View and download.":"Visa och ladda ner.","View, download, upload, edit, add and delete.":"Visa, ladda ner, ladda upp, redigera, lägg till och ta bort.","View, download and edit.":"Visa, ladda ner och redigera.","View, download and upload.":"Visa, ladda ner och ladda upp.","View, download, upload, edit, add, delete and manage members.":"Visa, ladda ner, ladda upp, redigera, lägg till, ta bort och hantera medlemmar.","Can view":"Kan visa","Can edit":"Kan redigera","Can upload":"Kan ladda upp","Can manage":"Kan hantera","OCM share":"OCM-delning","Public files":"Offentliga filer","Internet Explorer (your current browser) is not officially supported. For security reasons, please switch to another browser.":"Internet Explorer (din nuvarande webbläsare) stöds inte officiellt. Av säkerhetsskäl bör du byta till en annan webbläsare.","Read more":"Läs mer","Not logged in":"Inte inloggad","This could be because of a routine safety log out, or because your account is either inactive or not yet authorized for use. Please try logging in after a while or seek help from your Administrator.":"Det kan bero på en rutinmässig säkerhetsutloggning eller på att ditt konto är inaktivt eller ännu inte godkänt för användning. Försök logga in igen efter en stund eller be din administratör om hjälp.","Log in again":"Logga in igen","The calendar is not yet configured on your system, in order to learn how to enable click":"Kalendern är ännu inte konfigurerad på ditt system. För att lära dig hur du aktiverar den, klicka här","here":"här","Here, you can access your personal calendar for integration with third-party apps like Thunderbird, Apple Calendar, and others.":"Här kan du komma åt din personliga kalender för integration med tredjepartsappar som Thunderbird, Apple Kalender och andra.","CalDAV information name":"CalDAV-informationsnamn","CalCAV information value":"CalCAV-informationsvärde","CalCAV information actions":"CalCAV:s informationsåtgärder","CalDAV URL":"CalDAV-URL","Copy CalDAV URL":"Kopiera CalDAV-URL","Username":"Användarnamn","Copy CalDAV username":"Kopiera CalDAV-användarnamn","Password":"Lösenord","An app token needs to be generated and then can be used.":"En app-token måste genereras och kan sedan användas.","Extension not found":"Utökningen hittades inte","Extensions":"Utökningar","No extensions available":"Inga utökningar tillgängliga","Extension name":"Utökningsnamn","Extension description":"Utökningsbeskrivning","Extension value":"Utökningsvärde","GDPR":"GDPR","GDPR action name":"GDPR-åtgärdsnamn","GDPR action description":"Beskrivning av GDPR-åtgärder","GDPR actions":"GDPR-åtgärder","GDPR export":"GDPR-export","Request a personal data export according to §20 GDPR.":"Begär export av personuppgifter enligt §20 GDPR.","Account Information":"Kontoinformation","Edit":"Redigera","Information name":"Informationsnamn","Information value":"Informationsvärde","Profile picture":"Profilbild","Max. %{size}MB, JPG, PNG":"Max. %{size} MB, JPG, PNG","First and last name":"För- och efternamn","Email":"E-post","No email has been set up":"Ingen e-post har konfigurerats","Personal storage":"Personlig lagring","Group memberships":"Gruppmedlemskap","You are not part of any group":"Du tillhör ingen grupp","Logout from active devices":"Logga ut från aktiva enheter","Show devices":"Visa enheter","Profile":"Profil","Preference name":"Inställningsnamn","Preference description":"Beskrivning av inställning","Preference value":"Inställningsvärde","Language":"Språk","Select your language.":"Välj ditt språk.","Help to translate":"Hjälp till att översätta","Change password":"Ändra lösenord","Select your favorite theme":"Välj ditt favorittema","Receive notification mails":"Få meddelanden via e-post","View options":"Visa alternativ","Show WebDAV information in details view":"Visa WebDAV-information i detaljvyn","Personalise your notification preferences about any file, folder, or Space.":"Anpassa dina inställningar för aviseringar om filer, mappar eller arbetsytor.","Mail notification options":"Alternativ för e-postaviseringar","Event":"Händelse","Event description":"Händelsebeskrivning","In-App":"I appen","Mail":"E-post","Options":"Inställningar","Option description":"Alternativbeskrivning","Option value":"Inställningsvärde","Unable to load account data…":"Det går inte att ladda kontodata..","Unable to save preference…":"Det går inte att spara inställningarna..","Logged out":"Utloggad","You have been logged out successfully.":"Du har loggat ut.","Error":"Fel","Missing or invalid config":"Saknad eller ogiltig konfiguration","Please check if the file config.json exists and is correct.":"Kontrollera om filen config.json finns och är korrekt.","Also, make sure to check the browser console for more information.":"Kontrollera även webbläsarkonsolen för mer information.","Authentication failed":"Autentiseringen misslyckades","Logging you in":"Loggar in dig","Please contact the administrator if this error persists.":"Kontakta administratören om felet kvarstår.","Please wait, you are being redirected.":"Vänta, du omdirigeras.","Open \\"Shared with me\\"":"Öppna \\"Delade med mig\\"","Resolving private link…":"Slår upp privat länk..","An error occurred while resolving the private link":"Ett fel uppstod vid upplösningen av den privata länken","The link you are trying to access is invalid or you do not have permission to view the content. Please check the link for any errors or contact the person who shared it for assistance.":"Länken du försöker öppna är ogiltig eller så har du inte behörighet att visa innehållet. Kontrollera om länken innehåller några fel eller kontakta personen som delade den för att få hjälp.","Continue":"Fortsätt","The resource could not be located, it may not exist anymore.":"Resursen kunde inte hittas, den kanske inte finns längre.","The resource is not a public link.":"Resursen är inte en offentlig länk.","Opening files from remote is disabled":"Öppning av filer från fjärrplats är inaktiverad","An error occurred while loading the public link":"Ett fel uppstod vid laddning av den offentliga länken","This resource is password-protected":"Denna resurs är lösenordsskyddad","Loading public link…":"Läser in offentlig länk..","Enter password for public link":"Ange lösenord för offentlig länk","Incorrect password":"Fel lösenord","Login":"Logga in","Logout":"Logga ut","OIDC callback":"OIDC-återanrop","OIDC redirect":"OIDC-omdirigering","Private link":"Privat länk","OCM link":"OCM-länk","Access denied":"Åtkomst nekad","Not found":"Hittades inte"}`),T={},R={},V={Download:"Завантажити","View and download.":"Може переглядати та завантажувати файли.","View, download, upload, edit, add and delete.":"Може переглядати, завантажувати, вивантажувати, редагувати, додавати та видаляти файли.","View, download and edit.":"Може переглядати, завантажувати та редагувати файли.","View, download and upload.":"Може переглядати, завантажувати та вивантажувати файли.","View, download, upload, edit, add, delete and manage members.":"Може переглядати, завантажувати, вивантажувати, редагувати, додавати та видаляти файли, а також може керувати учасниками.","Can view":"Може переглядати","Can edit":"Може редагувати","Can upload":"Може вивантажувати","Can manage":"Може керувати"},L={"Navigated to %{ pageTitle }":"转到%{ pageTitle }",New:"新建",Delete:"删除","Show less":"显示更少","Show more":"显示更多",Actions:"操作",Download:"下载",Theme:"主题","Current password":"当前密码","New password":"新密码","Repeat new password":"再次输入新密码","Password was changed successfully":"修改密码成功","Failed to change password":"修改密码失败","New password must be different from current password":"新密码必须与当前密码不同",Confirm:"确认",Close:"关闭",Notifications:"通知","Navigate to personal files page":"转到个人文件页面","My Account":"本账户","Show details":"显示详情",Personal:"个人","Public link":"公共链接",User:"用户",Guest:"访客",Activities:"活动","No activities":"没有活动","Unfortunately, your password is commonly used. please pick a harder-to-guess password for your safety":"很抱歉,您的密码过于常见。为保障您的安全,请选择一个更难以猜测的密码。","View and download.":"查看和下载。","View, download, upload, edit, add and delete.":"查看、下载、上传、编辑、添加和删除。","View, download and edit.":"查看、下载和编辑。","View, download and upload.":"查看、下载和上传。","View, download, upload, edit, add, delete and manage members.":"查看、下载、上传、编辑、添加、删除和管理成员。","Can view":"可查看","Can edit":"可编辑","Can upload":"可上传","Can manage":"可管理","OCM share":"OCM分享","Public files":"公共文件","Read more":"了解更多","The calendar is not yet configured on your system, in order to learn how to enable click":"未在此系统中配置日历,配置指南为",Username:"用户名",Password:"密码",Edit:"编辑","First and last name":"姓名",Email:"邮箱","Personal storage":"个人存储空间","Group memberships":"群组成员身份","You are not part of any group":"您不属于任何群组","Logout from active devices":"注销活动的设备",Language:"语言","Select your language.":"选择您的语言","Help to translate":"协助翻译","Change password":"修改密码","Select your favorite theme":"选择你喜欢的主题","Receive notification mails":"接收通知邮件","View options":"查看选项","Show WebDAV information in details view":"在详情中显示 WebDAV 信息","An error occurred while loading the public link":"加载公开链接时发生错误","Incorrect password":"密码错误",Login:"登录",Logout:"注销","Access denied":"访问被拒绝"},E={ar:a,bg:t,cs:i,bs:o,af:n,es:s,el:r,et:l,gl:c,de:d,he:u,fr:p,hr:m,ja:h,id:f,nl:g,it:b,ka:v,pl:w,ro:y,ru:k,sq:C,pt:S,ko:z,sk:A,si:D,ta:N,sr:P,sv:F,tr:T,ug:R,uk:V,zh:L},x={User:"مستخدم",Group:"مجموعة",Link:"رابط",Guest:"ضيف",External:"خارجي"},U={},O={},I={},q={User:"Person",Group:"Gruppe",Link:"Link",Guest:"Gast",External:"Extern"},M={User:"Uživatel",Group:"Skupina",Link:"Odkaz",Guest:"Host",External:"Externí"},j={User:"Χρήστης",Group:"Ομάδα",Link:"Σύνδεσμος",Guest:"Επισκέπτης",External:"Εξωτερικός"},G={},W={User:"Utilisateur",Group:"Groupe",Link:"Lien",Guest:"Invité",External:"Externe"},B={},H={},Z={User:"Usuario",Group:"Grupo",Link:"Enlace",Guest:"Invitado",External:"Externo"},K={User:"Utente",Group:"Gruppo",Link:"Link",Guest:"Ospite",External:"Esterno"},Q={},Y={User:"Gebruiker",Group:"Groep",Link:"Link",Guest:"Gast",External:"Extern"},$={},J={User:"Użytkownik",Group:"Grupa",Link:"Link",Guest:"Gość",External:"Zewnętrzne"},X={User:"ユーザ",Group:"グループ",Link:"リンク",Guest:"ゲスト",External:"外部"},_={User:"Utilizador",Group:"Grupo",Link:"Ligação",Guest:"Convidado",External:"Externo"},ee={},ae={},te={User:"Užívateľ",Group:"Skupina",Link:"Odkaz",Guest:"Hosť",External:"Externé"},ie={},oe={User:"Пользователь",Group:"Группа",Link:"Ссылка",Guest:"Гость",External:"Внешний"},ne={User:"Användare",Group:"Grupp",Link:"Länk",Guest:"Gäst",External:"Extern"},se={},re={},le={},ce={},de={User:"사용자",Group:"그룹",Link:"링크",Guest:"게스트",External:"외부"},ue={User:"用户",Group:"群组",Link:"链接",Guest:"访客",External:"外部"},pe={},me={},he={ar:x,bs:U,af:O,bg:I,de:q,cs:M,el:j,et:G,fr:W,gl:B,id:H,es:Z,it:K,he:Q,nl:Y,hr:$,pl:J,ja:X,pt:_,ka:ee,si:ae,sk:te,sq:ie,ru:oe,sv:ne,ta:se,sr:re,tr:le,uk:ce,ko:de,zh:ue,ug:pe,ro:me},fe={"An error occurred":"حدث خطأ",Close:"إغلاق",Cancel:"إلغاء",Password:"كلمة السر",Name:"الاسم",Members:"الأعضاء",Status:"الحالة",Size:"الحجم",Info:"معلومات",Tags:"العلامات",From:"من",To:"إلى","All files":"جميع الملفات",Show:"إظهار",Download:"التنزيل",Copy:"نسخ","New file":"ملف جديد","File name":"اسم الملف","New folder":"مجلد جديد","New Folder":"مجلد جديد",Delete:"حذف",Details:"التفاصيل",Share:"المشاركة",Hide:"إخفاء",Spaces:"المساحات",Personal:"شخصي"},ge={},be={},ve=JSON.parse(`{"Loading actions":"Lade Aktionen","No items selected.":"Keine Elemente ausgewählt.","%{ amount } item selected. Actions are available above the table.":["%{ amount } Element ausgewählt. Aktionen sind oberhalb der Tabelle verfügbar.","%{ amount } Elemente ausgewählt. Aktionen sind oberhalb der Tabelle verfügbar."],"%{appName} for %{fileName}":"%{appName} für %{fileName}","Importing failed":"Import fehlgeschlagen","File exceeds %{threshold}":"Datei überschreitet %{threshold}","%{resource} exceeds the recommended size of %{threshold} for editing, and may cause performance issues.":"%{resource} überschreitet die empfohlene Größe von %{threshold} zum Bearbeiten, und kann die Leistung beeinträchtigen.","Continue":"Weiter","An error occurred":"Ein Fehler ist aufgetreten.","File autosaved":"Datei automatisch gespeichert!","You're not authorized to save this file":"Keine ausreichenden Berechtigungen für das Speichern der Datei ","This file was updated outside this window. Please copy your changes or save the file under a new name (»Save As...«).":"Die Datei wurde außerhalb des Fensters aktualisiert. Bitte kopieren Sie Ihre Änderungen oder speichern Sie sie unter einem neuen Namen (»Speichern unter …«).","Insufficient quota on \\"%{spaceName}\\" to save this file":"Quota auf \\"%{spaceName}\\" zum Speichern dieser Datei nicht ausreichend","Insufficient quota for saving this file":"Quota zum Speichern dieser Datei nicht ausreichend","Save":"Speichern","Unsaved changes":"Ungespeicherte Änderungen","Loading app":"Lade Anwendung","Close":"Schließen","Show context menu":"Kontextmenü anzeigen","Autosave (every %{ duration })":"Automatisches speichern (jede %{ duration })","Upload":"Hochladen","Remove":"Entfernen","Crop your new profile picture":"Dein neues Profilbild zuschneiden","Cancel":"Abbrechen","Set":"Setzen","Zoom via %{ zoomKeys }, pan via %{ panKeys }":"Vergrößern/Verkleinern mit %{ zoomKeys }, Schwenken mit %{ panKeys }","+-":"+-","↑↓←→":"↑↓←→","Are you sure you want to remove your profile picture?":"Soll das Profilbild wirklich entfernt werden?","Remove profile picture":"Profilbild entfernen","File size exceeds the limit of %{size}MB":"Die Dateigröße überschreitet das Limit von %{size} MB","Profile picture was set successfully":"Profilbild wurde erfolgreich gesetzt","Failed to set profile picture":"Fehler beim Festlegen des Profilbilds","Profile picture was removed successfully":"Profilbild wurde erfolgreich entfernt","Failed to remove profile picture":"Fehler beim Entfernen des Profilbildes","Options":"Optionen","Password":"Passwort","Password:":"Passwort:","Expiry date":"Ablaufdatum","More options":"Weitere Optionen","Share link(s)":"Link(s) teilen","Copy link":"Link kopieren","Share link(s) and password(s)":"Link(s) und Passwörter teilen","Copy link and password":"Link und Passwort kopieren","Unnamed link":"Unbenannter Link","Webpage or file":"Webseite oder Datei","Enter the target URL of a webpage or the name of a file. Users will be directed to this webpage or file.":"Geben Sie die Ziel-URL einer Webseite oder den Namen einer Datei ein. Die Benutzer werden zu dieser Webseite oder Datei weitergeleitet.","Link to a file":"Link zu einer Datei","Shortcut name":"Name der Verknüpfung","Shortcut name as it will appear in the file list.":"Der Name der Verknüpfung, wie er in der Dateiliste erscheint.","»%{name}« already exists":"»%{name}« existiert bereits","Shortcut name cannot contain \\"/\\"":"Der Verknüpfungsname darf das Zeichen \\"\\\\\\" nicht enthalten","Shortcut was created successfully":"Verknüpfung wurde erfolgreich angelegt.","Failed to create shortcut":"Erstellen der Verknüpfung fehlgeschlagen","Open with...":"Öffnen mit…","Open »%{name}«":"»%{name}« öffnen","This item is locked":"Dieses Element ist geblockt.","File is being processed":"Datei wird verarbeitet","Rename file »%{name}«":"Datei »%{name}« umbenennen","Rename":"Umbenennen","Search for tag %{tag}":"Suche nach Tag %{tag}","Name":"Name","Manager":"Manager/-in","Members":"Mitglieder","Total quota":"Gesamtquota","Used quota":"Benutzte Quota","Remaining quota":"Verbleibende Quota","Status":"Status","Size":"Größe","Info":"Info","Tags":"Tags","Shared by":"Geteilt von","Shared with":"Geteilt mit","Modified":"Bearbeitet","Shared on":"Geteilt am","Deleted":"Gelöscht","Actions":"Aktionen","folder":"Ordner","file":"Datei","This %{ resourceType } is shared via %{ shareCount } invite":["Der/die %{ resourceType } ist via %{ linkCount } Freigabe geteilt","%{ resourceType } ist durch %{ linkCount } Freigaben geteilt."],"This %{ resourceType } is shared by %{ user }":"%{ resourceType } wird von %{ user } geteilt.","Disabled":"Deaktiviert","Sort by":"Sortieren nach","Custom date range":"Datumsbereich","Go back to filter options":"Zurück zu den Filter Optionen","Close filter":"Filter schließen","From":"Von","To":"Bis","Apply":"Anwenden","Filter list":"Liste filtern","Toggle selection":"Auswahl umschalten","Select a role":"Rolle auswählen","Role":"Rolle","Expiration date":"Ablaufdatum","Confirm":"Bestätigen","Skip":"Überspringen","Keep both":"Beide behalten","Apply to all %{count} conflicts":"Auf alle %{count} Konflikte anwenden","Apply to all %{count} folders":"Auf alle %{count} Ordner anwenden","Apply to all %{count} files":"Auf alle %{count} Dateien anwenden","Folder with name »%{name}« already exists.":"Der Ordner »%{name}« existiert bereits.","File with name »%{name}« already exists.":"Die Datei »%{name}« existiert bereits.","Replace":"Ersetzen","»%{fileName}« was saved successfully":"»%{fileName}« wurde erfolgreich gespeichert","Unable to save »%{fileName}«":"»%{fileName}« konnte nicht gespeichert werden","Moving files from one space to another is not possible. Do you want to copy instead?":"Dateien von einem Space in einen anderen zu verschieben ist nicht möglich. Sollen sie stattdessen kopiert werden?","Note: Links and shares of the original file are not copied.":"Hinweis: Links und Freigaben der Originaldatei werden nicht kopiert.","Your changes were not saved. Do you want to save them?":"Ungesicherte Änderungen vorhanden. Speichern? ","Don't Save":"Verwerfen","Navigation":"Navigation","No content image":"Kein Bild für Inhalt","Quota":"Quota","No restriction":"Unbegrenzt","Please enter only numbers":"Bitte nur Zahlen eingeben.","Please enter a value equal to or less than %{ quotaLimit }":"Bitte geben Sie einen Wert ein, der gleich oder kleiner als %{ quotaLimit } ist.","Location filter":"Position","Current folder":"Aktueller Ordner","All files":"Alle Dateien","Changes saved":"Änderungen gespeichert","Revert":"Zurücknehmen","No changes":"Keine Änderungen","Loading sidebar content":"Inhalt der Seitenleiste wird geladen","Close file sidebar":"Seitenleiste schließen","Back to %{panel} panel":"Zurück zum %{panel} Panel","Back to main panels":"Zurück zur Hauptansicht","Space image is loading":"Space-Bild lädt","Show":"Anzeigen","Overview of the information about the selected space":"Alle Infos zum ausgewählten Space","Last activity":"Letzte Aktivitäten","Subtitle":"Untertitel","%{displayName} (me)":"%{displayName} (ich)","This space has one member and %{linkShareCount} link.":["Dieser Space hat ein Mitglied und %{linkShareCount} Link.","Dieser Space hat ein Mitglied und %{linkShareCount} Links."],"This space has %{memberShareCount} members and one link.":"Dieser Space hat %{memberShareCount} Mitglieder und einen Link.","This space has %{memberShareCount} members and %{linkShareCount} links.":"Dieser Space hat %{memberShareCount} Mitglieder und %{linkShareCount} Links.","Open share panel":"Geteilt-mit Bereich öffnen","Open link list in share panel":"Liste der Linkfreigaben in der Seitenleiste öffnen","Open member list in share panel":"Liste der Mitglieder in der Seitenleiste öffnen","This space has %{memberShareCount} member.":["Dieser Space hat %{memberShareCount} Mitglied.","Dieser Space hat %{memberShareCount} Mitglieder."],"%{linkShareCount} link giving access.":["%{linkShareCount} Link gewährt Zugriff.","%{linkShareCount} Links gewähren Zugriff."],"Overview of the information about the selected spaces":"Alle Infos zum ausgewählten Space","%{ itemCount } space selected":["%{ itemCount } spaces ausgewählt","%{ itemCount } Spaces ausgewählt"],"Total quota:":"Gesamtquota","Remaining quota:":"Verbleibende Quota","Used quota:":"Benutzte Quota","Enabled:":"Aktiviert","Disabled:":"Deaktiviert","Select a space to view details":"Wählen Sie einen Space aus, um hier Details anzuzeigen.","WebDAV path":"WebDAV-Pfad","Copy WebDAV path":"WebDAV-Pfad kopieren","Copy WebDAV path to clipboard":"WebDAV-Pfad in die Zwischenablage kopieren","WebDAV URL":"WebDAV-URL","Copy WebDAV URL":"WebDAV-URL kopieren","Copy WebDAV URL to clipboard":"WebDAV-URL in die Zwischenablage kopieren","%{used} of %{total} used (%{percentage}% used)":"%{used} von %{total} benutzt (%{percentage}% verwendet)","%{used} used (no restriction)":"%{used} benutzt (unbegrenzt)","Space quota was changed successfully":["Die Space-Quota wurde erfolgreich geändert.","Quota für %{count} Spaces wurde erfolgreich geändert."],"User quota was changed successfully":["Benutzerquota erfolgreich geändert","Quota für %{count} Personen wurde erfolgreich geändert."],"Quota was changed successfully":"Quota wurde erfolgreich geändert.","Failed to change space quota":["Fehler beim Ändern der Space-Quota","Fehler beim Ändern der Quota für %{count} Spaces"],"Failed to change user quota":["Fehler beim Ändern der Benutzerquota","Fehler beim Ändern der Quota für %{count} Personen"],"Failed to change quota":"Quota-Änderung fehlgeschlagen","Space image was set successfully":"Das Space-Bild wurde erfolgreich festgelegt.","Failed to set space image":"Fehler beim Speichern des Space-Bildes","Not enough quota to set the space image":"Nicht genügend Quota zum Festlegen des Space-Bildes","Failed to load space image":"Fehler beim Laden des Space-Bildes","hide line numbers":"Zeilennummern verstecken","show line numbers":"Zeilennummern anzeigen","Checking for updates":"Aktualisierungen prüfen","Up to date":"Aktuell","Version %{version} available":"Version %{version} verfügbar","Switch view mode":"Ansichtsmodus wechseln","View mode":"Ansichtsmodus","Display customization options of the files list":"Anpassungsoptionen für die Dateienliste anzeigen","View options":"Optionen anzeigen","Show hidden files":"Versteckte Dateien anzeigen","Show file extensions":"Dateiendungen anzeigen","Items per page":"Dateien pro Seite","Show disabled Spaces":"Deaktivierte Spaces anzeigen","Show empty trash bins":"Leere Papierkörbe anzeigen","Tile size":"Kachelgröße","No preview available for »%{name}«":"Keine Vorschau verfügbar für »%{name}«","Download":"Herunterladen","There is no preview available for this file. Do you want to download it instead?":"Für diese Datei ist keine Vorschau verfügbar. Möchten Sie sie stattdessen herunterladen?","⌘ + C":"⌘ + C","Ctrl + C":"Strg + C","Copy":"Kopieren","The link has been copied to your clipboard.":"Der Link wurde in die Zwischenablage kopiert.","Copy link failed":"Kopieren des Links fehlgeschlagen","Copy permanent link":"Permanent-Link kopieren","Copy link for »%{resourceName}«":["Link für »%{resourceName}« kopieren","Links für die ausgewählten Einträge kopieren"],"Create links":"Links erstellen","New file":"Neue Datei","Create a new file":"Neue Datei erstellen","Create":"Erstellen","File name":"Dateiname","»%{fileName}« was created successfully":"»%{fileName}« wurde erfolgreich erstellt.","Failed to create file":"Fehler beim Erstellen der Datei","»%{folderName}« was created successfully":"»%{folderName}« wurde erfolgreich erstellt.","Failed to create folder":"Fehler beim Erstellen des Ordners","New folder":"Neuer Ordner","Create a new folder":"Neuen Ordner erstellen","Folder name":"Ordnername","New Folder":"Neuer Ordner","Create a Shortcut":"Verknüpfung erstellen","New Shortcut":"Neue Verknüpfung","Space was created successfully":"Der Space wurde erfolgreich angelegt.","Some files could not be copied":"Einige Dateien konnten nicht kopiert werden","Creating space failed…":"Anlegen des Spaces fehlgeschlagen","Create Space from »%{resourceName}«":["Aus »%{resourceName}« einen Space erstellen","Space aus Auswahl erstellen"],"Create Space with the content of »%{resourceName}«.":["Space mit dem Inhalt von »%{resourceName}« erstellen.","Space mit den ausgewählten Dateien erstellen."],"The marked elements will be copied.":"Die ausgewählten Elemente werden kopiert.","Restrictions":"Einschränkungen","Shares, versions and tags will not be copied.":"Freigaben, Versionen und Tags werden nicht kopiert.","Space name":"Name des Spaces","Create Space from selection":"Space aus Auswahl erstellen","Delete":"Löschen","File can't be deleted because it is currently locked.":"Datei kann nicht gelöscht werden, da sie momentan gesperrt ist.","Sync for the selected share was disabled successfully":["Synchronisation der ausgewählten Freigabe wurde erfolgreich deaktiviert.","Synchronisation der ausgewählten Freigaben wurde erfolgreich deaktiviert."],"Failed to disable sync for the the selected share":["Deaktivierung der Synchronisation der ausgewählten Freigabe fehlgeschlagen","Deaktivierung der Synchronisation der ausgewählten Freigaben fehlgeschlagen"],"Disable sync":"Synchronisation deaktivieren","Failed to download the selected folder.":"Fehler beim Herunterladen der ausgewählten Datei.","The selection exceeds the allowed archive size (max. %{maxSize})":"Die Auswahl überschreitet die mögliche Archiv-Größe (max. %{maxSize})","All deleted files were removed":"Alle gelöschten Dateien wurden entfernt","Failed to empty trash bin":"Leeren des Papierkorbs fehlgeschlagen","Empty trash bin for »%{name}«":"Papierkorb für »%{name}« leeren","Are you sure you want to permanently delete the items in »%{name}«? You can’t undo this action.":"Sind Sie sicher, dass Sie die Einträge in »%{name}« dauerhaft löschen möchten? Sie können die Aktion nicht rückgängig machen.","Empty trash bin":"Papierkorb leeren","Sync for the selected share was enabled successfully":["Synchronisation der ausgewählten Freigabe wurde erfolgreich aktiviert.","Synchronisation der ausgewählten Freigaben wurde erfolgreich aktiviert."],"Failed to enable sync for the the selected share":["Aktivierung der Synchronisation der ausgewählten Freigabe fehlgeschlagen.","Aktivierung der Synchronisation der ausgewählten Freigaben fehlgeschlagen."],"Enable sync":"Synchronisation aktivieren","Failed to change favorite state of \\"%{file}\\"":"Fehler beim Ändern des Favoriten-Status von \\"%{file}\\"","Remove from favorites":"Aus Favoriten entfernen","Add to favorites":"Zu Favoriten hinzufügen","⌘ + X":"⌘ + X","Ctrl + X":"Strg + X","Cut":"Ausschneiden","Navigate":"Navigieren","Failed to open shortcut":"Verknüpfung konnte nicht geöffnet werden","Open shortcut":"Verknüpfung öffnen","Open file in %{app}":"Datei öffnen mit %{app}","Open":"Öffnen","⌘ + V":"⌘ + V","Ctrl + V":"Strg + V","Paste":"Einfügen","Failed to rename \\"%{file}\\" to »%{newName}«":"Fehler beim Umbenennen von »%{file}« in »%{newName}«","Failed to rename »%{file}« to »%{newName}« - the file is locked":"Fehler beim Umbenennen von »%{file}« in »%{newName}« – die Datei ist gesperrt","Rename folder »%{name}«":"Ordner »%{name}« umbenennen","%{resource} was restored successfully":"%{resource} erfolgreich wiederhergestellt","%{resourceCount} files restored successfully":"%{resourceCount} Dateien erfolgreich wiederhergestellt","Failed to restore \\"%{resource}\\"":"Fehler beim Wiederherstellen von \\"%{resource}\\"","Failed to restore %{resourceCount} files":"Fehler beim Wiederherstellen von %{resourceCount} Dateien","Restore":"Wiederherstellen","Save as":"Speichern unter","Crop your Space image":"Space-Bild zuschneiden","Set as space image":"Als Space-Bild festlegen","All Actions":"Alle Interaktionen","Details":"Details","Share":"Teilen","The share was hidden successfully":"Freigabe wurde erfolgreich ausgeblendet.","The share was unhidden successfully":"Freigabe wurde erfolgreich eingeblendet.","Failed to hide the share":"Ausblenden der Freigabe fehlgeschlagen","Failed to unhide the share":"Einblenden der Freigabe fehlgeschlagen","Unhide":"Einblenden","Hide":"Ausblenden","Failed to restore files":"Wiederherstellen fehlgeschlagen","⌘ + Z":"⌘ + Z","Ctrl + Z":"Strg + Z","Undo":"Rückgängig","\\"%{item}\\" was moved to trash bin":"\\"%{item}\\" wurde in den Papierkorb verschoben.","%{itemCount} item was moved to trash bin":["%{itemCount} Element wurde in den Papierkorb verschoben.","%{itemCount} Elemente wurden in den Papierkorb verschoben."],"Permanently delete folder »%{name}«":"Ordner »%{name}« endgültig löschen","Permanently delete file »%{name}«":"Datei »%{name}« endgültig löschen","Permanently delete selected resource?":["Ausgewählte Ressource endgültig löschen?","%{amount} ausgewählte Dateien endgültig löschen?"],"Are you sure you want to delete this folder? All its content will be permanently removed. This action cannot be undone.":"Soll dieser Ordner wirklich gelöscht werden? Der gesamte Inhalt wird endgültig gelöscht. Diese Aktion kann nicht rückgängig gemacht werden.","Are you sure you want to delete this file? All its content will be permanently removed. This action cannot be undone.":"Soll diese Datei wirklich gelöscht werden? Der gesamte Inhalt wird endgültig gelöscht. Diese Aktion kann nicht rückgängig gemacht werden.","Are you sure you want to delete all selected resources? All their content will be permanently removed. This action cannot be undone.":"Sollen die gewählten Elemente wirklich gelöscht werden? Der gesamte Inhalt wird endgültig gelöscht. Diese Aktion kann nicht rückgängig gemacht werden.","\\"%{item}\\" was deleted successfully":"\\"%{item}\\" wurde erfolgreich gelöscht.","%{itemCount} item was deleted successfully":["%{itemCount} Einträge wurden erfolgreich gelöscht","%{itemCount} Einträge wurden erfolgreich gelöscht"],"Failed to delete \\"%{item}\\"":"\\"%{item}\\" konnte nicht gelöscht werden","Failed to delete \\"%{resource}\\"":"\\"%{resource}\\" konnte nicht gelöscht werden","Failed to delete \\"%{resource}\\" - the file is locked":"\\"%{resource}\\" konnte nicht gelöscht werden - die Datei ist gesperrt","The name cannot be empty":"Der Name darf nicht leer sein.","The name cannot contain \\"/\\"":"Der Name darf kein \\"/\\" enthalten.","The name cannot contain \\"\\\\\\"":"Der Name darf kein \\"\\\\\\" enthalten","The name cannot be equal to \\".\\"":"Der Name darf nicht \\".\\" sein.","The name cannot be equal to \\"..\\"":"Der Name darf nicht \\"..\\" sein.","The name cannot start or end with whitespace":"Der Name darf nicht mit einem Leerzeichen beginnen oder enden","The name is too long":"Der Name ist zu lang","The name »%{name}« is already taken":"Der Name »%{name}« ist bereits vergeben","The Space name cannot be empty":"Der Space-Name darf nicht leer sein","The Space name is too long":"Der Space-Name ist zu lang","The Space name cannot start or end with whitespace":"Der Space-Name darf nicht mit einem Leerzeichen beginnen oder enden","The Space name cannot contain the following characters: / \\\\\\\\ . : ? * \\" > < |'":"Der Space-Name darf folgenden Zeichen nicht enthalten: / \\\\\\\\ . : ? * \\" > < |'","New Space":"Neuer Space","Create a new space":"Neuen Space erstellen","New space":"Neuer Space","Space »%{space}« was deleted successfully":"Space »%{space}« wurde erfolgreich gelöscht","%{spaceCount} space was deleted successfully":["%{spaceCount} Space wurde erfolgreich gelöscht.","%{spaceCount} Spaces wurden erfolgreich gelöscht."],"Failed to delete space »%{space}«":"Fehler beim Löschen des Spaces »%{space}«","Failed to delete %{spaceCount} space":["Löschen von %{spaceCount} Space fehlgeschlagen","Löschen von %{spaceCount} Spaces fehlgeschlagen"],"Are you sure you want to delete the selected space?":["Soll der ausgewählte Space wirklich gelöscht werden?","Sollen %{count} ausgewählte Spaces wirklich gelöscht werden?"],"Delete Space »%{space}«?":["Space »%{space}« löschen?","%{spaceCount} Spaces löschen?"],"Space image deleted successfully":"Space-Bild wurde erfolgreich gelöscht","Failed to delete space image":"Fehler beim Löschen des Space-Bildes","Delete »%{space}« image":"Bild von »%{space}« löschen","Are you sure you want to delete the image of »%{space}«?":"Soll das Bild von »%{space}« wirklich gelöscht werden?","Delete image":"Bild löschen","Space »%{space}« was disabled successfully":"Space »%{space}« wurde erfolgreich deaktiviert","%{spaceCount} space was disabled successfully":["%{spaceCount} Space wurden erfolgreich deaktiviert.","%{spaceCount} Spaces wurden erfolgreich deaktiviert."],"Failed to disable space »%{space}«":"Fehler beim Deaktivieren des Spaces »%{space}«","Failed to disable %{spaceCount} space":["Deaktivieren von %{spaceCount} Space fehlgeschlagen","Deaktivieren von %{spaceCount} Spaces fehlgeschlagen"],"If you disable the selected space, it can no longer be accessed. Only Space managers will still have access. Note: No files will be deleted from the server.":["Wenn Sie den ausgewählten Space deaktivieren, kann auf ihn nicht mehr zugegriffen werden. Nur Space-Manager haben noch Zugriff.\\nHinweis: Es werden keine Dateien von dem Server gelöscht.","Wenn Sie die %{count} ausgewählten Spaces deaktivieren, kann auf sie nicht mehr zugegriffen werden. Nur Space-Verwalter/-innen haben noch Zugriff.\\nHinweis: Es werden keine Dateien von dem Server gelöscht."],"Disable":"Deaktivieren","Disable Space »%{space}«?":["Space »%{space}« deaktivieren?","%{spaceCount} Spaces deaktivieren?"],"Space »%{space}« was duplicated successfully":"Space »%{space}« wurde erfolgreich dupliziert","Failed to duplicate space »%{space}«":"Fehler beim Duplizieren des Spaces »%{space}«","Duplicate":"Duplizieren","Space subtitle was changed successfully":"Der Space-Untertitel wurde erfolgreich geändert.","Failed to change space subtitle":"Fehler beim Ändern des Space-Untertitels","Change subtitle for space":"Untertitel für diesen Space ändern","Space subtitle":"Space-Untertitel","Edit subtitle":"Untertitel bearbeiten","Change quota for Space »%{name}«":"Quota für Space »%{name}« ändern","Change quota for %{count} Spaces":"Quota für %{count} Spaces ändern","Edit quota":"Quota ändern","Edit description":"Beschreibung bearbeiten","Open trash bin":"Papierkorb öffnen","Space name was changed successfully":"Der Space-Name wurde erfolgreich geändert.","Failed to rename space":"Fehler beim Umbenennen des Space","Rename space »%{name}«":"Space »%{name}« umbenennen","Space »%{space}« was enabled successfully":"Space »%{space}« wurde erfolgreich aktiviert","%{spaceCount} space was enabled successfully":["%{spaceCount} Space wurden erfolgreich aktiviert.","%{spaceCount} Spaces wurden erfolgreich aktiviert."],"Failed to enable space »%{space}«":"Fehler beim Aktivieren des Spaces »%{space}«","Failed to enable %{spaceCount} space":["Aktivieren von %{spaceCount} Space fehlgeschlagen","Aktivieren von %{spaceCount} Spaces fehlgeschlagen"],"If you enable the selected space, it can be accessed again.":["Wenn Sie den ausgewählten Space aktivieren, kann auf ihn wieder zugegriffen werden.","Wenn Sie die %{count} ausgewählten Spaces aktivieren, kann auf sie wieder zugegriffen werden."],"Enable":"Aktivieren","Enable Space »%{space}«?":["Space »%{space}« aktivieren?","%{spaceCount} Spaces aktivieren?"],"Set icon for »%{space}«":"Symbol für »%{space}« setzen","Space icon was set successfully":"Das Space Symbol wurde erfolgreich gesetzt","Failed to set space icon":"Das Space Symbol konnte nicht festgelegt werden","Not enough quota to set the space icon":"Nicht genügend Quota zum Festlegen des Space-Icons","Set icon":"Symbol festlegen","Pop-up and redirect block detected":"Pop-ups und Umleitungen werden geblockt.","Please turn on pop-ups and redirects in your browser settings to make sure everything works right.":"Bitte schalten Sie Pop-ups und Umleitungen in Ihren Browser-Einstellungen ein, um sicherzustellen, dass alles korrekt funktioniert.","Download failed":"Fehler beim Herunterladen","File could not be located":"Datei konnte nicht gefunden werden","Spaces":"Spaces","Shares":"Freigaben","Shared with me":"Mit mir geteilt","Personal":"Persönlich","Link has been created successfully":"Link wurde erfolgreich erstellt.","%{link} Password:%{password}":"%{link} Passwort:%{password}","Failed to create link":["Erstellen des Links fehlgeschlagen","Erstellen der Links fehlgeschlagen"],"Can view":"Kann anzeigen","View, download":"Ansehen, herunterladen","Can upload":"Kann hochladen","View, upload, download":"Ansehen, hochladen, herunterladen","Can edit":"Kann bearbeiten","View, upload, edit, download, delete":"Ansehen, hochladen, bearbeiten, herunterladen, löschen","Secret File Drop":"File Drop (geheim)","Upload only, existing content is not revealed":"Nur hochladen, existierende Inhalte werden nicht angezeigt","Copied to clipboard!":"In die Zwischenablage kopiert","Cut to clipboard!":"In die Zwischenablage verschobenen","%{ filesCount } file":["%{ filesCount } Datei","%{ filesCount } Dateien"],"%{ filesCount } file including %{ filesHiddenCount } hidden":["%{ filesCount } Datei, inklusive %{ filesHiddenCount } versteckter Datei","%{ filesCount } Dateien, inklusive %{ filesHiddenCount } versteckter Dateien"],"%{ foldersCount } folder":["%{ foldersCount } Ordner","%{ foldersCount } Ordner"],"%{ foldersCount } folder including %{ foldersHiddenCount } hidden":["%{ foldersCount } Ordner, inklusive %{ foldersHiddenCount } versteckte Ordner","%{ foldersCount } Ordner, inklusive %{ foldersHiddenCount } versteckte Ordner"],"%{ spacesCount } space":["%{ spacesCount } Spaces","%{ spacesCount } Spaces"],"%{ itemsCount } item with %{ itemSize } in total":"%{ itemsCount } Eintrag mit insgesamt %{ itemSize }","%{ itemsCount } item in total":"%{ itemsCount } Einträge insgesamt","%{ itemsCount } items with %{ itemSize } in total":"%{ itemsCount } Einträge mit insgesamt %{ itemSize }","%{ itemsCount } items in total":"%{ itemsCount } Einträge insgesamt","This item is directly shared with others.":"Dieses Element wurde direkt mit anderen Personen geteilt.","This item is shared with others through one of the parent folders.":"Dieses Element wurde durch einen übergeordneten Ordner mit anderen Personen geteilt.","This item is directly shared via links.":"Dieses Element wurde direkt über Links geteilt.","This item is shared via links through one of the parent folders.":"Dieses Element wurde durch einen übergeordneten Ordner über Links geteilt.","Show invited people":"Zeige eingeladene Personen","This item is synced with your devices":"Dieser Eintrag wurde mit deinen Geräten synchronisiert","Synced with your devices":"Mit deinen Geräten synchronisiert","Show links":"Links anzeigen","Item locked":"Position gesperrt","Item in processing":"Position in Bearbeitung","This item is in processing":"Diese Position ist in Bearbeitung","Space is enabled":"Space ist aktiviert","Enabled":"Aktiviert","Space is disabled":"Space ist deaktiviert","Select folder":"Ordner auswählen","Select space":"Space auswählen","Select file":"Datei auswählen","Clear selection":"Auswahl aufheben","Select all":"Alle auswählen","Folder already exists":"Der Ordner existiert bereits.","File already exists":"Die Datei existiert bereits.","Copy here?":"Hierher kopieren?","Copy here":"Hierher kopieren","You can't paste the selected file at this location because you can't paste an item into itself.":["Ordner können nicht in sich selbst eingefügt werden.","Die ausgewählten Dateien können nicht an dieser Stelle eingefügt werden, da ein Element nicht in sich selbst eingefügt werden kann."],"%{count} item was copied successfully":["%{count} Dateie wurde erfolgreich kopiert","%{count} Elemente wurden erfolgreich kopiert."],"%{count} item was moved successfully":["%{count} Datei wurde erfolgreich verschoben","%{count} Elemente wurden erfolgreich verschoben."],"Failed to copy %{count} resources":"Fehler beim Verschieben von %{count} Dateien","Failed to move %{count} resources":"Fehler beim Verschieben von %{count} Dateien","Failed to copy »%{name}«":"Fehler beim Kopieren von »%{name}«","Failed to move »%{name}«":"Fehler beim Verschieben von »%{name}«","Insufficient quota":"Quota nicht ausreichend","A-Z":"A-Z","Z-A":"Z-A","Newest":"Neueste","Oldest":"Älteste","Largest":"Größte","Smallest":"Kleinste","Search results":"Suchergebnisse","Favorite files":"Als Favoriten markierte Dateien","Public file upload":"Öffentlicher Datei-Upload","Files shared with me":"Mit mir geteilte Dateien","Files shared with others":"Mit anderen geteilte Dateien","Files shared via link":"Per Link geteilte Dateien","Trash overview":"Papierkorb-Überblick","Must not be empty":"darf nicht leer sein","Valid special characters: %{characters}":"Gültige Sonderzeichen: %{characters}","%{param1}+ special characters":"%{param1}+ Sonderzeichen","%{param1}+ letters":"%{param1}+ Buchstaben","%{param1}+ uppercase letters":"%{param1}+ Großbuchstaben","%{param1}+ lowercase letters":"%{param1}+ Kleinbuchstaben","%{param1}+ numbers":"%{param1}+ Zahlen","Added %{numFiles} file(s)":"%{numFiles} Datei(en) hinzugefügt","Connect":"Verbinden","Connect to %{pluginName}":"Verbinden mit %{pluginName}","Please authenticate with %{pluginName} to select files":"Bitte mit %{pluginName} authentifizieren, um Dateien auszuwählen.","Connection with Companion failed":"Verbindungsaufbau zu Companion fehlgeschlagen","Loaded %{numFiles} files":"%{numFiles} Dateien geladen","Loading...":"Laden...","Log out":"Abmelden","Public link without password protection":"Öffentlicher Link ohne Passwortschutz","Select %{smart_count}":"%{smart_count} auswählen","Sign in with Google":"Über Google anmelden"}`),we={},ye={Continue:"Pokračovat","An error occurred":"Došlo k chybě",Save:"Uložit",Close:"Zavřít",Upload:"Nahrát",Remove:"Odebrat",Cancel:"Zrušit",Set:"Nastavit","+-":"+-","↑↓←→":"↑↓←→",Options:"Předvolby",Password:"Heslo","Password:":"Heslo:","More options":"Další možnosti",Rename:"Přejmenovat",Name:"Název",Manager:"Nadřízený",Members:"Členové",Status:"Stav",Size:"Velikost",Info:"Informace",Tags:"Štítek",Modified:"Změněno",Deleted:"Smazáno",Actions:"Akce",folder:"složka",file:"soubor",Disabled:"Vypnuto","Close filter":"Zvolte filtr",From:"Od",To:"Pro",Apply:"Použít",Role:"Role",Confirm:"Potvrdit",Skip:"Přeskočit",Replace:"Nahradit",Navigation:"Navigace",Quota:"Kvóta",Revert:"Vrátit zpět",Show:"Zobrazit",Subtitle:"Podnadpis","%{displayName} (me)":"%{displayName} (mně)","Enabled:":"Zapnuto:","Disabled:":"Vypnuto:",Download:"Stáhnout",Copy:"Zkopírovat",Create:"Vytvořit","File name":"Název souboru","New folder":"Nová složka","New Folder":"Nová složka",Restrictions:"Omezení",Delete:"Smazat",Cut:"Vyjmout",Open:"Otevřít",Paste:"Vložit",Restore:"Obnovit",Details:"Podrobnosti",Share:"Sdílení",Unhide:"Zrušit skrytí",Hide:"Skrýt",Undo:"Zpět",Disable:"Vypnout",Duplicate:"Duplicita",Enable:"Zapnout",Spaces:"Prostory",Shares:"Sdílení",Personal:"Osobní",Enabled:"Zapnuto","Insufficient quota":"Nedostačující kvóta","A-Z":"A-Z","Z-A":"Z-A",Newest:"Nejnovější",Oldest:"Nejstarší",Largest:"Největší",Smallest:"Nejmenší",Connect:"Připojit","Loading...":"Načítání…"},ke={"An error occurred":"Ha ocurrido un error",Save:"Guardar","Show context menu":"Mostrar menú contextual",Upload:"Subir",Remove:"Eliminar",Cancel:"Cancelar",Password:"Contraseña","More options":"Más opciones","Share link(s)":"Enlace(s) compartido(s)","Copy link":"Copiar enlace","Open with...":"Abrir con...",Rename:"Renombrar",Name:"Nombre",Members:"Miembros",Status:"Estado",Size:"Tamaño",Info:"Información",Tags:"Etiquetas","Shared by":"Compartido por","Shared with":"Compartido con",Modified:"Modificado",Actions:"Acciones",Disabled:"Deshabilitado","Close filter":"Limpiar filtro",Replace:"Reemplazar","Current folder":"Carpeta actual","All files":"Todos los archivos","Space image is loading":"Está cargando la imagen del espacio",Show:"Mostrar","%{displayName} (me)":"%{displayName} (yo)",Download:"Descarga",Copy:"Copiar","Copy permanent link":"Copiar enlace permanente",Create:"Crear","File name":"Nombre del archivo","New folder":"Nueva carpeta","New Folder":"Nueva Carpeta","Create Space from »%{resourceName}«":["Create Space from »%{resourceName}«","Create Space from selection","Crear espacio a partir de la selección"],"Create Space from selection":"Crear espacio a partir de la selección",Delete:"Eliminar","All deleted files were removed":"Se eliminaron todos los archivos eliminados",Cut:"Cortar","Open shortcut":"Abrir acceso directo",Open:"Abrir",Details:"Detalles",Share:"Compartir",Hide:"Oculto","Edit subtitle":"Editar subtítulo","Change quota for %{count} Spaces":"Cambiar cuota para %{count} espacios","Edit quota":"Editar cuota","Edit description":"Editar descripción",Spaces:"Espacios",Shares:"Compartidos","Shared with me":"Compartido conmigo",Personal:"Personal","Can view":"Se puede visualizar","Can upload":"Se puede subir","Can edit":"Puede editar",Enabled:"Habilitado","Folder already exists":"La carpeta ya existe","File already exists":"El archivo ya existe","Copy here?":"¿Copiar aquí?","Copy here":"Copiar aquí","Insufficient quota":"Cuota insuficiente"},Ce={},Se={},ze=JSON.parse(`{"Loading actions":"Chargement des actions","No items selected.":"Aucun élément sélectionné.","%{ amount } item selected. Actions are available above the table.":["%{ amount } élément sélectionné. Des actions sont disponibles au-dessus du tableau.","%{ amount } éléments sélectionnés. Des actions sont disponibles au-dessus du tableau.","%{ amount } éléments sélectionnés. Des actions sont disponibles au-dessus du tableau."],"%{appName} for %{fileName}":"%{appName} pour %{fileName}","Importing failed":"L'importation a échoué","File exceeds %{threshold}":"Le fichier dépasse %{threshold}","%{resource} exceeds the recommended size of %{threshold} for editing, and may cause performance issues.":"%{resource} dépasse la taille recommandée de %{threshold} pour l'édition et peut entraîner des problèmes de performance.","Continue":"Continuer","An error occurred":"Une erreur s'est produite","File autosaved":"Fichier sauvegardé automatiquement","You're not authorized to save this file":"Vous n'êtes pas autorisé à enregistrer ce fichier","Insufficient quota on \\"%{spaceName}\\" to save this file":"Quota insuffisant sur « %{spaceName} » pour enregistrer ce fichier","Insufficient quota for saving this file":"Quota insuffisant pour l'enregistrement de ce fichier","Save":"Sauvegarder","Unsaved changes":"Modifications non sauvegardées","Loading app":"Chargement de l'application","Close":"Fermer","Show context menu":"Afficher le menu contextuel","Autosave (every %{ duration })":"Sauvegarde automatique (tous les %{ duration })","Upload":"Téléversé","Remove":"Supprimer","Crop your new profile picture":"Recadrez votre nouvelle photo de profil","Cancel":"Annuler","Set":"Définir","Zoom via %{ zoomKeys }, pan via %{ panKeys }":"Zoom avec %{ zoomKeys }, déplacement avec %{ panKeys }","+-":"+-","↑↓←→":"↑↓←→","Are you sure you want to remove your profile picture?":"Êtes-vous sûr de vouloir supprimer votre photo de profil ?","Remove profile picture":"Supprimer la photo de profil","File size exceeds the limit of %{size}MB":"La taille du fichier dépasse la limite de %{size}MB","Profile picture was set successfully":"La photo de profil a été définie avec succès","Failed to set profile picture":"Échec de la définition de la photo de profil","Profile picture was removed successfully":"La photo de profil a été supprimée avec succès","Failed to remove profile picture":"Échec de la suppression de la photo de profil","Options":"Options","Password":"Mot de passe","Password:":"Mot de passe :","Expiry date":"Date d'expiration","More options":"Plus d'options","Share link(s)":"Partager le(s) lien(s)","Copy link":"Copier le lien","Share link(s) and password(s)":"Partagez les liens et mots de passe","Copy link and password":"Copier le lien et le mot de passe","Unnamed link":"Lien sans nom","Webpage or file":"Page Web ou fichier","Enter the target URL of a webpage or the name of a file. Users will be directed to this webpage or file.":"Saisissez l'URL cible d'une page web ou le nom d'un fichier. Les utilisateurs seront dirigés vers cette page web ou ce fichier.","Link to a file":"Lien vers un fichier","Shortcut name":"Nom du raccourci","Shortcut name as it will appear in the file list.":"Nom du raccourci tel qu'il apparaîtra dans la liste des fichiers.","»%{name}« already exists":"«%{name}» existe déjà","Shortcut name cannot contain \\"/\\"":"Le nom du raccourci ne peut pas contenir « / »","Shortcut was created successfully":"Le raccourci a été créé avec succès","Failed to create shortcut":"Échec de la création du raccourci","Open with...":"Ouvrir avec...","Open »%{name}«":"Ouvrir »%{name}«","This item is locked":"Cet élément est verrouillé","File is being processed":"Fichier en cours de traitement","Rename file »%{name}«":"Renommer le fichier «%{name}»","Rename":"Renommer","Search for tag %{tag}":"Recherche du tag %{tag}","Name":"Nom","Manager":"Manager","Members":"Membres","Total quota":"Quota total","Used quota":"Quota utilisé","Remaining quota":"Quota restant","Status":"Statut","Size":"Taille","Info":"Info","Tags":"Tags","Shared by":"Partagé par","Shared with":"Partagé avec","Modified":"Modifié","Shared on":"Partagé sur","Deleted":"Supprimé","Actions":"Actions","folder":"dossier","file":"Fichier","This %{ resourceType } is shared via %{ shareCount } invite":["Ce %{ resourceType } est partagé par %{ shareCount } invitation","Ce %{ resourceType } est partagé par %{ shareCount } invitations","Ce %{ resourceType } est partagé par %{ shareCount } invitations"],"This %{ resourceType } is shared by %{ user }":"Ce %{ resourceType } est partagé par %{ user }","Disabled":"Désactivé","Sort by":"Trier par","Custom date range":"Plage de dates personnalisée","Go back to filter options":"Revenir aux options de filtrage","Close filter":"Fermer le filtre","From":"Depuis","To":"Pour","Apply":"Appliquer","Filter list":"Liste des filtres","Toggle selection":"Basculer la sélection","Select a role":"Sélectionner un rôle","Role":"Rôle","Expiration date":"Date d'expiration","Confirm":"Confirmer","Skip":"Ignorer","Keep both":"Garder les deux","Apply to all %{count} conflicts":"Appliquer à tous les %{count} conflits","Apply to all %{count} folders":"Appliquer à tous les %{count} dossiers ","Apply to all %{count} files":"Appliquer à tous les %{count} fichiers ","Folder with name »%{name}« already exists.":"Un dossier avec le nom «%{name}» existe déjà.","File with name »%{name}« already exists.":"Un fichier avec le nom «%{name}» existe déjà.","Replace":"Remplacer","»%{fileName}« was saved successfully":"«%{fileName}» a été enregistré avec succès","Unable to save »%{fileName}«":"Impossible d'enregistrer «%{fileName}»","Moving files from one space to another is not possible. Do you want to copy instead?":"Il est impossible de déplacer des fichiers d'un Espace à un autre. Souhaitez-vous plutôt les copier ?","Note: Links and shares of the original file are not copied.":"Remarque : les liens et les partages du fichier d'origine ne sont pas copiés.","Your changes were not saved. Do you want to save them?":"Vos modifications n'ont pas été enregistrées. Voulez-vous les enregistrer ?","Don't Save":"Ne pas enregistrer","Navigation":"Navigation","Quota":"Quota","No restriction":"Aucune restriction","Please enter only numbers":"Veuillez saisir uniquement des chiffres","Please enter a value equal to or less than %{ quotaLimit }":"Veuillez saisir une valeur égale ou inférieure à %{ quotaLimit }","Location filter":"Filtre d’emplacement","Current folder":"Dossier actuel","All files":"Tous les fichiers","Changes saved":"Modifications enregistrées","Revert":"Revenir","No changes":"Aucune modification","Close file sidebar":"Fermer la barre latérale","Back to %{panel} panel":"Retour au panneau %{panel}","Back to main panels":"Retour aux panneaux principaux","Space image is loading":"Chargement de l'image de l'espace","Show":"Afficher","Overview of the information about the selected space":"Vue d'ensemble des informations sur l'Espace sélectionné","Last activity":"Dernière activité","Subtitle":"Sous-titre","%{displayName} (me)":"%{displayName} (moi)","This space has one member and %{linkShareCount} link.":["Cet Espace a un membre et %{linkShareCount} lien.","Cet Espace a un membre et %{linkShareCount} liens.","Cet Espace a un membre et %{linkShareCount} liens."],"This space has %{memberShareCount} members and one link.":"Cet Espace compte %{memberShareCount} membres et un lien.","This space has %{memberShareCount} members and %{linkShareCount} links.":"Cet Espace compte %{memberShareCount} membres et %{linkShareCount} liens.","Open share panel":"Ouvrir le panneau de partage","Open link list in share panel":"Ouvrir la liste des liens dans le panneau de partage","Open member list in share panel":"Ouvrir la liste des membres dans le panneau de partage","This space has %{memberShareCount} member.":["Cet Espace compte %{memberShareCount} membre.","Cet Espace compte %{memberShareCount} membres.","Cet Espace compte %{memberShareCount} membres."],"%{linkShareCount} link giving access.":["%{linkShareCount} lien donnant accès.","%{linkShareCount} liens donnant accès.","%{linkShareCount} liens donnant accès."],"Overview of the information about the selected spaces":"Vue d'ensemble des informations sur les Espaces sélectionnés","%{ itemCount } space selected":["%{ itemCount } espace sélectionné","%{ itemCount } espaces sélectionnés","%{ itemCount } espaces sélectionnés"],"Total quota:":"Quota total :","Remaining quota:":"Quota restant :","Used quota:":"Quota utilisé :","Enabled:":"Activé :","Disabled:":"Désactivé :","Select a space to view details":"Sélectionnez un Espace pour voir les détails","WebDAV path":"Chemin WebDAV","Copy WebDAV path":"Copier le chemin WebDAV","Copy WebDAV path to clipboard":"Copier le chemin WebDAV dans le presse-papiers","WebDAV URL":"URL WebDAV","Copy WebDAV URL":"Copier l'URL WebDAV","Copy WebDAV URL to clipboard":"Copier l'URL WebDAV dans le presse-papiers","%{used} of %{total} used (%{percentage}% used)":"%{used} de %{total} utilisé (%{percentage}% utilisé)","%{used} used (no restriction)":"%{used} utilisé (aucune restriction)","Space quota was changed successfully":["Le quota de l'espace a été modifié avec succès","Le quota des %{count} espaces a été modifié avec succès","Le quota des %{count} espaces a été modifié avec succès"],"User quota was changed successfully":["Le quota de l'utilisateur a été modifié avec succès","Le quota des %{count} utilisateurs a été modifié avec succès","Le quota de %{count} utilisateurs a été modifié avec succès"],"Quota was changed successfully":"Le quota a été modifié avec succès","Failed to change space quota":["Échec de la modification du quota pour un espace","Échec de la modification du quota pour %{count} Espaces","Échec de la modification du quota pour %{count} espaces"],"Failed to change user quota":["Échec de la modification du quota pour l'utilisateur","Échec de la modification du quota pour %{count} utilisateurs","Échec de la modification du quota pour %{count} utilisateurs"],"Failed to change quota":"Échec de la modification du quota","Space image was set successfully":"L'image de l'espace a été définie avec succès","Failed to set space image":"Échec de la définition de l'image de l'Espace","Not enough quota to set the space image":"Pas assez de quota pour définir l'image de l'espace","Failed to load space image":"Échec du chargement de l'image de l'espace","hide line numbers":"Cacher les numéros de lignes","show line numbers":"Afficher les numéros de lignes","Checking for updates":"Recherche de mises à jour","Up to date":"A jour","Version %{version} available":"Version %{version} disponible","Switch view mode":"Changer le mode de vue","View mode":"Mode Lecture","Display customization options of the files list":"Afficher les options de personnalisation de la liste des fichiers","View options":"Voir les options","Show hidden files":"Afficher les fichiers cachés","Show file extensions":"Afficher les extensions de fichiers","Items per page":"Éléments par page","Show disabled Spaces":"Afficher les Espaces désactivés","Show empty trash bins":"Afficher les corbeilles vides","Tile size":"Taille de la tuile","Download":"Télécharger","⌘ + C":"⌘ + C","Ctrl + C":"Ctrl + C","Copy":"Copie","The link has been copied to your clipboard.":"Le lien a été copié dans votre presse-papiers.","Copy link failed":"Échec de la copie du lien","Copy permanent link":"Copier le lien permanent","Copy link for »%{resourceName}«":["Copier le lien pour «%{resourceName}»","Copier les liens pour les éléments sélectionnés","Copier les liens pour les éléments sélectionnés"],"Create links":"Créez des liens","New file":"Nouveau fichier","Create a new file":"Créer un nouveau fichier","Create":"Créer","File name":"Nom du fichier","»%{fileName}« was created successfully":"«%{fileName}» a été créé avec succès","Failed to create file":"Échec de la création du fichier","»%{folderName}« was created successfully":"«%{folderName}» a été créé avec succès","Failed to create folder":"Échec de la création du dossier","New folder":"Nouveau dossier","Create a new folder":"Créer un nouveau dossier","Folder name":"Nom du dossier","New Folder":"Nouveau dossier","Create a Shortcut":"Créer un raccourci","New Shortcut":"Nouveau raccourci","Space was created successfully":"L'Espace a été créé avec succès","Creating space failed…":"La création d'un Espace a échoué...","Create Space from »%{resourceName}«":["Créer un espace à partir de «%{resourceName}»","Créer un espace à partir de la sélection","Créer un espace à partir de la sélection"],"Create Space with the content of »%{resourceName}«.":["Créez un espace avec le fichier «%{resourceName}».","Créez un espace avec les fichiers sélectionnés.","Créez un espace avec les fichiers sélectionnés."],"The marked elements will be copied.":"Les éléments marqués seront copiés.","Restrictions":"Restrictions","Shares, versions and tags will not be copied.":"Les partages, les versions et les étiquettes ne seront pas copiés.","Space name":"Nom de l'espace","Create Space from selection":"Créer un Espace à partir d'une sélection","Delete":"Supprimer","File can't be deleted because it is currently locked.":"Les fichiers ne peuvent pas être supprimés car ils sont actuellement verrouillés","Sync for the selected share was disabled successfully":["La synchronisation du partage sélectionné a été désactivée avec succès","La synchronisation des partages sélectionnés a été désactivée avec succès","La synchronisation des partages sélectionnés a été désactivée avec succès"],"Failed to disable sync for the the selected share":["Échec de la désactivation de la synchronisation pour le partage sélectionné","Échec de la désactivation de la synchronisation pour les partages sélectionnés","Échec de la désactivation de la synchronisation pour les partages sélectionnés"],"Disable sync":"Désactiver la synchronisation","Failed to download the selected folder.":"Le téléchargement du fichier sélectionné a échoué.","The selection exceeds the allowed archive size (max. %{maxSize})":"La sélection dépasse la taille d'archive autorisée (max. %{maxSize})","All deleted files were removed":"Tous les fichiers effacés ont été supprimés","Failed to empty trash bin":"Échec du vidage de la corbeille","Empty trash bin for »%{name}«":"Vider la corbeille pour «%{name}»","Are you sure you want to permanently delete the items in »%{name}«? You can’t undo this action.":"Êtes-vous sûr de vouloir supprimer définitivement les éléments dans «%{name}» ? Vous ne pouvez pas annuler cette action.","Empty trash bin":"Vider la corbeille","Sync for the selected share was enabled successfully":["La synchronisation du partage sélectionnée a été activée avec succès","La synchronisation des partage sélectionnées a été activée avec succès","La synchronisation des partages sélectionnées a été activée avec succès"],"Failed to enable sync for the the selected share":["Échec de l'activation de la synchronisation pour le partage sélectionné","Échec de l'activation de la synchronisation pour les partages sélectionnés","Échec de l'activation de la synchronisation pour les partages sélectionnés"],"Enable sync":"Activer la synchronisation","Failed to change favorite state of \\"%{file}\\"":"Échec de la modification de l'état favori de « %{file} »","Remove from favorites":"Retirer des favoris","Add to favorites":"Ajouter aux favoris","⌘ + X":"⌘ + X","Ctrl + X":"Ctrl + X","Cut":"Couper","Failed to open shortcut":"L'ouverture du raccourci a échoué","Open shortcut":"Ouvrir le raccourci","Open file in %{app}":"Ouvrir le fichier dans %{app}","Open":"Ouvrir","⌘ + V":"⌘ + V","Ctrl + V":"Ctrl + V","Paste":"Coller","Failed to rename \\"%{file}\\" to »%{newName}«":"Échec du renomage de «%{file}» en «%{newName}»","Failed to rename »%{file}« to »%{newName}« - the file is locked":"Échec du renomage de «%{file}» en «%{newName}» - Le fichier est verrouillé","Rename folder »%{name}«":"Renommer le dossier «%{name}»","%{resource} was restored successfully":"%{resource} a été restauré avec succès","%{resourceCount} files restored successfully":"%{resourceCount} fichiers restaurés avec succès","Failed to restore \\"%{resource}\\"":"Échec de la restauration de « %{resource} »","Failed to restore %{resourceCount} files":"Échec de la restauration des fichiers %{resourceCount}.","Restore":"Restaurer","Save as":"Enregistrer sous","Crop your Space image":"Recadrage de l'image de l'Espace","Set as space image":"Définir l'image de l'Espace","All Actions":"Toutes les actions","Details":"Détails","Share":"Partage","The share was hidden successfully":"Le partage a été masqué avec succès","The share was unhidden successfully":"Le partage a été dévoilé avec succès","Failed to hide the share":"Échec du masquage du partage","Failed to unhide the share":"Échec de l'affichage du partage","Unhide":"Dévoiler","Hide":"Cacher","Failed to restore files":"Échec de la restauration des fichiers","⌘ + Z":"⌘ + Z","Ctrl + Z":"Ctrl + Z","Undo":"Annuler","\\"%{item}\\" was moved to trash bin":"« %{item} » a été déplacé vers la corbeille","%{itemCount} item was moved to trash bin":["%{itemCount} élément a été déplacé vers la corbeille","%{itemCount} éléments ont été déplacés vers la corbeille","%{itemCount} éléments ont été déplacés vers la corbeille"],"Permanently delete folder »%{name}«":"Supprimer définitivement le dossier «%{name}»","Permanently delete file »%{name}«":"Supprimer définitivement le fichier «%{name}»","Permanently delete selected resource?":["Supprimer définitivement la ressource sélectionnée ?","Supprimer définitivement les %{amount} ressources sélectionnées ?","Supprimer définitivement les %{amount} ressources sélectionnées ?"],"Are you sure you want to delete this folder? All its content will be permanently removed. This action cannot be undone.":"Êtes-vous sûr de vouloir supprimer ce dossier ? Tout son contenu sera définitivement supprimé. Cette action ne peut être annulée.","Are you sure you want to delete this file? All its content will be permanently removed. This action cannot be undone.":"Êtes-vous sûr de vouloir supprimer ce fichier ? Tout son contenu sera définitivement supprimé. Cette action ne peut être annulée.","Are you sure you want to delete all selected resources? All their content will be permanently removed. This action cannot be undone.":"Êtes-vous sûr de vouloir supprimer toutes les ressources sélectionnées ? Tout leur contenu sera définitivement supprimé. Cette action ne peut être annulée.","\\"%{item}\\" was deleted successfully":"« %{item} » a été supprimé avec succès","%{itemCount} item was deleted successfully":["%{itemCount} élément a été supprimé avec succès","%{itemCount} éléments ont été supprimés avec succès","%{itemCount} éléments ont été supprimés avec succès"],"Failed to delete \\"%{item}\\"":"Échec de la suppression de « %{item} »","Failed to delete \\"%{resource}\\"":"Échec de la suppression de « %{resource} »","Failed to delete \\"%{resource}\\" - the file is locked":"Échec de la suppression de « %{resource} » - le fichier est verrouillé","The name cannot be empty":"Le nom ne peut pas être vide","The name cannot contain \\"/\\"":"Le nom ne peut pas contenir « / »","The name cannot be equal to \\".\\"":"Le nom ne peut pas être égal à « . »","The name cannot be equal to \\"..\\"":"Le nom ne peut pas être égal à « .. »","The name cannot start or end with whitespace":"Le nom ne peut pas commencer ou se terminer par un espace","The name is too long":"Le nom est trop long","The name »%{name}« is already taken":"Le nom «%{name}» est déjà pris","The Space name cannot be empty":"Le nom de l'espace ne peut pas être vide","The Space name is too long":"Le nom d'Espace est trop long","The Space name cannot start or end with whitespace":"Le nom de l'espace ne peut pas commencer ou se terminer par un espace","The Space name cannot contain the following characters: / \\\\\\\\ . : ? * \\" > < |'":"Le nom de l'espace ne peut pas contenir les caractères suivants : / \\\\\\\\ . : ? * \\" > < |'","New Space":"Nouvel Espace","Create a new space":"Créer un nouvel espace","New space":"Nouvel espace","Space »%{space}« was deleted successfully":"Espace «%{space}» supprimé avec succès","%{spaceCount} space was deleted successfully":["%{spaceCount} Espace a été supprimé avec succès","%{spaceCount} Espaces ont été supprimés avec succès","%{spaceCount} Espaces ont été supprimés avec succès"],"Failed to delete space »%{space}«":"Échec de la suppression de l'espace «%{space}»","Failed to delete %{spaceCount} space":["Échec de la suppression de l'Espaces %{spaceCount}","Échec de la suppression des Espaces %{spaceCount}","Échec de la suppression des Espaces %{spaceCount}"],"Are you sure you want to delete the selected space?":["Êtes-vous sûr de vouloir supprimer l'espace sélectionné ?","Êtes-vous sûr de vouloir supprimer les %{count} espaces sélectionnés ?","Êtes-vous sûr de vouloir supprimer les %{count} espaces sélectionnés ?"],"Delete Space »%{space}«?":["Supprimer l'espace «%{space}» ?","Supprimer les %{spaceCount} espaces ?","Supprimer les %{spaceCount} espaces ?"],"Space image deleted successfully":"Image de l'espace supprimée avec succès","Failed to delete space image":"Échec de la suppression de l'image de l'espace","Delete »%{space}« image":"Image «%{space}» supprimé","Are you sure you want to delete the image of »%{space}«?":"Êtes-vous sûr de vouloir supprimer l'image de «%{space}» ?","Delete image":"Supprimer l'image","Space »%{space}« was disabled successfully":"Espace «%{space}» désactivé avec succès","%{spaceCount} space was disabled successfully":["%{spaceCount} espace a été désactivé avec succès","%{spaceCount} espaces ont été désactivés avec succès","%{spaceCount} espaces ont été désactivés avec succès"],"Failed to disable space »%{space}«":"Échec de la désactivation de l'espace «%{space}»","Failed to disable %{spaceCount} space":["Échec de la désactivation de %{spaceCount} espace","Échec de la désactivation de %{spaceCount} espaces","Échec de la désactivation de %{spaceCount} espaces"],"If you disable the selected space, it can no longer be accessed. Only Space managers will still have access. Note: No files will be deleted from the server.":["Si vous désactivez l'espace sélectionné, il ne sera plus accessible. Seuls les gestionnaires de l'espace auront encore accès. Remarque : Aucun fichier ne sera supprimé du serveur.","Si vous désactivez les %{count} espaces sélectionnés, ils ne seront plus accessibles. Seuls les gestionnaires de l'espace auront encore accès. Remarque : Aucun fichier ne sera supprimé du serveur.","Si vous désactivez les %{count} espaces sélectionnés, ils ne seront plus accessibles. Seuls les gestionnaires de l'espace auront encore accès. Remarque : Aucun fichier ne sera supprimé du serveur."],"Disable":"Désactiver","Disable Space »%{space}«?":["Désactiver l'espace «%{space}» ?","Désactiver les %{spaceCount} espaces ?","Désactiver les %{spaceCount} espaces ?"],"Space »%{space}« was duplicated successfully":"Espace «%{space}» dupliqué avec succès","Failed to duplicate space »%{space}«":"Échec de la duplication de l'espace «%{space}»","Duplicate":"Dupliquer","Space subtitle was changed successfully":"Le sous-titre de l'Espace a été modifié avec succès","Failed to change space subtitle":"Échec de la modification du sous-titre de l'espace","Change subtitle for space":"Modifier le sous-titre pour l'Espace","Space subtitle":"Sous-titre de l'Espace","Edit subtitle":"Éditer le sous-titre","Change quota for Space »%{name}«":"Modifier le quota pour l'espace «%{name}»","Change quota for %{count} Spaces":"Modifier le quota pour %{count} Espaces","Edit quota":"Éditer le quota","Edit description":"Éditer la description","Open trash bin":"Ouvrir la corbeille","Space name was changed successfully":"Le nom de l'espace a été modifié avec succès","Failed to rename space":"Échec du renommage de l'Espace","Rename space »%{name}«":"Renommer l'espace «%{name}»","Space »%{space}« was enabled successfully":"Espace «%{space}» activé avec succès","%{spaceCount} space was enabled successfully":["%{spaceCount} Espace a été activé avec succès","%{spaceCount} Espaces ont été activés avec succès","%{spaceCount} les espaces ont été activés avec succès"],"Failed to enable space »%{space}«":"Échec de l'activation de l'espace »%{space}«","Failed to enable %{spaceCount} space":["Échec de l'activation de l'Espace %{spaceCount}","Échec de l'activation des Espaces %{spaceCount}","Échec de l'activation des Espaces %{spaceCount}"],"If you enable the selected space, it can be accessed again.":["Si vous activez l'espace sélectionné, il sera de nouveau accessible.","Si vous activez les %{count} espaces sélectionnés, ils seront de nouveau accessibles.","Si vous activez les %{count} espaces sélectionnés, ils seront de nouveau accessibles."],"Enable":"Activer","Enable Space »%{space}«?":["Activer l'espace «%{space}» ?","Activer les %{spaceCount} espaces ?","Activer les %{spaceCount} espaces ?"],"Set icon for »%{space}«":"Définir l’icône pour l’espace «%{space}»","Space icon was set successfully":"L'icône de l'espace a été définie avec succès","Failed to set space icon":"Échec de la définition de l'icône d'Espace","Not enough quota to set the space icon":"Pas assez de quota pour définir l'icône de l'espace","Set icon":"Définir l'icône","Pop-up and redirect block detected":"Blocage des fenêtres pop-up et des redirections détecté","Please turn on pop-ups and redirects in your browser settings to make sure everything works right.":"Veuillez désactiver les pop-ups et les redirections dans les paramètres de votre navigateur pour vous assurer que tout fonctionne correctement.","Download failed":"Téléchargement échoué","File could not be located":"Le fichier n'a pas pu être localisé","Spaces":"Espaces","Shares":"Partages","Shared with me":"Partagé avec moi","Personal":"Personnel","Link has been created successfully":"Le lien a été créé avec succès","%{link} Password:%{password}":"%{link} Mot de passe : %{password}","Failed to create link":["Échec de la création du lien","Échec de la création de liens","Échec de la création de liens"],"Can view":"Peut visualiser","View, download":"Visualiser, télécharger","Can upload":"Peut téléverser","View, upload, download":"Visualiser, téléverser, télécharger","Can edit":"Peut éditer","View, upload, edit, download, delete":"Visualiser, téléverser, modifier, télécharger, supprimer","Secret File Drop":"Dépôt d'un dossier secret","Upload only, existing content is not revealed":"Téléversement uniquement, le contenu existant n'est pas révélé","Copied to clipboard!":"Copié dans le presse-papiers !","Cut to clipboard!":"Coupez au presse-papiers !","%{ filesCount } file":["%{ filesCount } fichier","%{ filesCount } fichiers","%{ filesCount } fichiers"],"%{ filesCount } file including %{ filesHiddenCount } hidden":["%{ filesCount } fichier dont %{ filesHiddenCount } caché","%{ filesCount } fichiers dont %{ filesHiddenCount } cachés","%{ filesCount } fichiers dont %{ filesHiddenCount } cachés"],"%{ foldersCount } folder":["%{ foldersCount } dossier","%{ foldersCount } dossiers","%{ foldersCount } dossiers"],"%{ foldersCount } folder including %{ foldersHiddenCount } hidden":["%{ foldersCount } dossier dont %{ foldersHiddenCount } caché","%{ foldersCount } dossiers dont %{ foldersHiddenCount } cachés","%{ foldersCount } dossiers dont %{ foldersHiddenCount } cachés"],"%{ spacesCount } space":["%{ spacesCount } Espace","%{ spacesCount } Espaces","%{ spacesCount } Espaces"],"%{ itemsCount } item with %{ itemSize } in total":"%{ itemsCount } élément avec %{ itemSize } au total","%{ itemsCount } item in total":"%{ itemsCount } élément au total","%{ itemsCount } items with %{ itemSize } in total":"%{ itemsCount } éléments avec %{ itemSize } au total","%{ itemsCount } items in total":"%{ itemsCount } éléments au total","This item is directly shared with others.":"Cet élément est directement partagé avec d'autres.","This item is shared with others through one of the parent folders.":"Cet élément est partagé avec d'autres par l'intermédiaire d'un des dossiers parents.","This item is directly shared via links.":"Cet élémsnt est partagé directement par le biais de liens.","This item is shared via links through one of the parent folders.":"Cet élément est partagé par le biais de liens dans l'un des dossiers de parents.","Show invited people":"Afficher les personnes invitées","This item is synced with your devices":"L'élément est synchronisé avec vos appareils","Synced with your devices":"Synchronisé avec vos équipements","Show links":"Afficher des liens","Item locked":"Article verrouillé","Item in processing":"Élément en cours de traitement","This item is in processing":"Cet élément est en cours de traitement","Space is enabled":"Espace activé","Enabled":"Activé","Space is disabled":"Espace désactivé","Select folder":"Sélectionner le dossier","Select space":"Sélectionnez l'espace","Select file":"Sélectionner le fichier","Clear selection":"Effacer la sélection","Select all":"Tout sélectionner","Folder already exists":"Le dossier existe déjà","File already exists":"Le fichier existe déjà","Copy here?":"Copie ici ?","Copy here":"Copier ici","You can't paste the selected file at this location because you can't paste an item into itself.":["Vous ne pouvez pas coller le fichier sélectionné à cet endroit car vous ne pouvez pas coller un élément dans lui-même.","Vous ne pouvez pas coller les fichiers sélectionnés à cet endroit car vous ne pouvez pas coller un élément dans lui-même.","Vous ne pouvez pas coller les fichiers sélectionnés à cet endroit car vous ne pouvez pas coller un élément dans lui-même."],"%{count} item was copied successfully":["%{count} élément a été copié avec succès","%{count} éléments ont été copiés avec succès","%{count} éléments ont été copiés avec succès"],"%{count} item was moved successfully":["%{count} élément a été déplacé avec succès","%{count} éléments ont été déplacés avec succès","%{count} éléments ont été déplacés avec succès"],"Failed to copy %{count} resources":"Échec de la copie des %{count} ressources.","Failed to move %{count} resources":"Échec du transfert de %{count} ressources","Failed to copy »%{name}«":"Échec de la copie «%{name}»","Failed to move »%{name}«":"Échec du déplacement de «%{name}»","Insufficient quota":"Quota insuffisant","A-Z":"A-Z","Z-A":"Z-A","Newest":"Le plus récent","Oldest":"Le plus ancien","Largest":"Le plus grand","Smallest":"Le plus petit","Search results":"Résultats de la recherche","Favorite files":"Fichiers favoris","Public file upload":"Téléversement de fichiers publics","Files shared with me":"Fichiers partagés avec moi","Files shared with others":"Fichiers partagés avec d'autres","Files shared via link":"Fichiers partagés via un lien","Trash overview":"Aperçu de la corbeille","Must not be empty":"Ne doit pas être vide","Valid special characters: %{characters}":"Caractères spéciaux valables : %{characters}","%{param1}+ special characters":"%{param1}+ caractères spéciaux","%{param1}+ letters":"%{param1}+ lettres","%{param1}+ uppercase letters":"%{param1}+ lettres majuscules","%{param1}+ lowercase letters":"%{param1}+ lettres minuscules","%{param1}+ numbers":"%{param1}+ nombres","Added %{numFiles} file(s)":"Ajouté %{numFiles} fichier(s)","Connect":"Connecter","Connect to %{pluginName}":"Se connecter à %{pluginName}","Please authenticate with %{pluginName} to select files":"Veuillez vous authentifier avec %{pluginName} pour sélectionner les fichiers","Connection with Companion failed":"Échec de la connexion avec Companion","Loaded %{numFiles} files":"%{numFiles} fichiers chargés","Loading...":"Chargement...","Log out":"Déconnexion","Public link without password protection":"Lien public sans protection par mot de passe","Select %{smart_count}":"Sélectionner %{smart_count}","Sign in with Google":"Connectez-vous avec Google"}`),Ae=JSON.parse(`{"Loading actions":"Φόρτωση ενεργειών","No items selected.":"Δεν έχουν επιλεγεί στοιχεία.","%{ amount } item selected. Actions are available above the table.":["%{ amount } στοιχείο επιλέχθηκε. Οι ενέργειες είναι διαθέσιμες πάνω από τον πίνακα.","%{ amount } στοιχεία επιλέχθηκαν. Οι ενέργειες είναι διαθέσιμες πάνω από τον πίνακα."],"%{appName} for %{fileName}":"%{appName} για το %{fileName}","Importing failed":"Η εισαγωγή απέτυχε","File exceeds %{threshold}":"Το αρχείο υπερβαίνει το όριο %{threshold}","%{resource} exceeds the recommended size of %{threshold} for editing, and may cause performance issues.":"Το %{resource} υπερβαίνει το συνιστώμενο μέγεθος των %{threshold} για επεξεργασία και ενδέχεται να προκαλέσει προβλήματα απόδοσης.","Continue":"Συνέχεια","An error occurred":"Παρουσιάστηκε σφάλμα","File autosaved":"Το αρχείο αποθηκεύτηκε αυτόματα","You're not authorized to save this file":"Δεν έχετε εξουσιοδότηση για την αποθήκευση αυτού του αρχείου","This file was updated outside this window. Please copy your changes or save the file under a new name (»Save As...«).":"Αυτό το αρχείο ενημερώθηκε εκτός αυτού του παραθύρου. Παρακαλούμε αντιγράψτε τις αλλαγές σας ή αποθηκεύστε το αρχείο με νέο όνομα (»Αποθήκευση ως...«).","Insufficient quota on \\"%{spaceName}\\" to save this file":"Ανεπαρκές όριο χώρου στο \\"%{spaceName}\\" για την αποθήκευση αυτού του αρχείου","Insufficient quota for saving this file":"Ανεπαρκές όριο χώρου για την αποθήκευση αυτού του αρχείου","Save":"Αποθήκευση","Unsaved changes":"Μη αποθηκευμένες αλλαγές","Loading app":"Φόρτωση εφαρμογής","Close":"Κλείσιμο","Show context menu":"Εμφάνιση μενού επιλογών","Autosave (every %{ duration })":"Αυτόματη αποθήκευση (κάθε %{ duration })","Upload":"Μεταφόρτωση","Remove":"Αφαίρεση","Crop your new profile picture":"Περικοπή της νέας εικόνας προφίλ σας","Cancel":"Ακύρωση","Set":"Ορισμός","Zoom via %{ zoomKeys }, pan via %{ panKeys }":"Εστίαση (zoom) μέσω %{ zoomKeys }, μετατόπιση μέσω %{ panKeys }","+-":"+-","↑↓←→":"↑↓←→","Are you sure you want to remove your profile picture?":"Είστε βέβαιοι ότι θέλετε να αφαιρέσετε την εικόνα προφίλ σας;","Remove profile picture":"Αφαίρεση εικόνας προφίλ","File size exceeds the limit of %{size}MB":"Το μέγεθος του αρχείου υπερβαίνει το όριο των %{size}MB","Profile picture was set successfully":"Η εικόνα προφίλ ορίστηκε επιτυχώς","Failed to set profile picture":"Αποτυχία ορισμού εικόνας προφίλ","Profile picture was removed successfully":"Η εικόνα προφίλ αφαιρέθηκε επιτυχώς","Failed to remove profile picture":"Αποτυχία αφαίρεσης εικόνας προφίλ","Options":"Επιλογές","Password":"Συνθηματικό","Password:":"Συνθηματικό:","Expiry date":"Ημερομηνία λήξης","More options":"Περισσότερες επιλογές","Share link(s)":"Σύνδεσμοι διαμοιρασμού","Copy link":"Αντιγραφή συνδέσμου","Share link(s) and password(s)":"Σύνδεσμοι διαμοιρασμού και κωδικοί πρόσβασης","Copy link and password":"Αντιγραφή συνδέσμου και συνθηματικό","Unnamed link":"Ανώνυμος σύνδεσμος","Webpage or file":"Ιστοσελίδα ή αρχείο","Enter the target URL of a webpage or the name of a file. Users will be directed to this webpage or file.":"Εισαγάγετε τη διεύθυνση URL μιας ιστοσελίδας ή το όνομα ενός αρχείου. Οι χρήστες θα ανακατευθύνονται σε αυτήν την ιστοσελίδα ή το αρχείο.","Link to a file":"Σύνδεσμος σε αρχείο","Shortcut name":"Όνομα συντόμευσης","Shortcut name as it will appear in the file list.":"Το όνομα της συντόμευσης όπως θα εμφανίζεται στη λίστα αρχείων.","»%{name}« already exists":"Το »%{name}« υπάρχει ήδη","Shortcut name cannot contain \\"/\\"":"Το όνομα της συντόμευσης δεν μπορεί να περιέχει \\"/\\"","Shortcut was created successfully":"Η συντόμευση δημιουργήθηκε επιτυχώς","Failed to create shortcut":"Αποτυχία δημιουργίας συντόμευσης","Open with...":"Άνοιγμα με...","Open »%{name}«":"Άνοιγμα »%{name}«","This item is locked":"Αυτό το στοιχείο είναι κλειδωμένο","File is being processed":"Το αρχείο βρίσκεται υπό επεξεργασία","Rename file »%{name}«":"Μετονομασία αρχείου »%{name}«","Rename":"Μετονομασία","Search for tag %{tag}":"Αναζήτηση για την ετικέτα %{tag}","Name":"Όνομα","Manager":"Διαχειριστής (Manager)","Members":"Μέλη","Total quota":"Συνολικό όριο χώρου","Used quota":"Χρησιμοποιημένο όριο χώρου","Remaining quota":"Υπολειπόμενο όριο χώρου","Status":"Κατάσταση","Size":"Μέγεθος","Info":"Πληροφορίες","Tags":"Ετικέτες","Shared by":"Διαμοιράστηκε από","Shared with":"Διαμοιράστηκε με","Modified":"Τροποποιήθηκε","Shared on":"Διαμοιράστηκε στις","Deleted":"Διαγράφηκε","Actions":"Ενέργειες","folder":"φάκελος","file":"αρχείο","This %{ resourceType } is shared via %{ shareCount } invite":["Αυτός ο %{ resourceType } διαμοιράζεται μέσω %{ shareCount } πρόσκλησης","Αυτός ο %{ resourceType } διαμοιράζεται μέσω %{ shareCount } προσκλήσεων"],"This %{ resourceType } is shared by %{ user }":"Αυτός ο %{ resourceType } διαμοιράζεται από τον/την %{ user }","Disabled":"Απενεργοποιημένο","Sort by":"Ταξινόμηση κατά","Custom date range":"Προσαρμοσμένο εύρος ημερομηνιών","Go back to filter options":"Επιστροφή στις επιλογές φίλτρου","Close filter":"Κλείσιμο φίλτρου","From":"Από","To":"Προς","Apply":"Εφαρμογή","Filter list":"Φιλτράρισμα λίστας","Toggle selection":"Εναλλαγή επιλογής","Select a role":"Επιλογή ρόλου","Role":"Ρόλος","Expiration date":"Ημερομηνία λήξης","Confirm":"Επιβεβαίωση","Skip":"Παράλειψη","Keep both":"Διατήρηση και των δύο","Apply to all %{count} conflicts":"Εφαρμογή σε όλες τις %{count} συγκρούσεις","Apply to all %{count} folders":"Εφαρμογή σε όλους τους %{count} φακέλους","Apply to all %{count} files":"Εφαρμογή σε όλα τα %{count} αρχεία","Folder with name »%{name}« already exists.":"Ο φάκελος με όνομα »%{name}« υπάρχει ήδη.","File with name »%{name}« already exists.":"Το αρχείο με όνομα »%{name}« υπάρχει ήδη.","Replace":"Αντικατάσταση","»%{fileName}« was saved successfully":"Το »%{fileName}« αποθηκεύτηκε επιτυχώς","Unable to save »%{fileName}«":"Αδυναμία αποθήκευσης του »%{fileName}«","Moving files from one space to another is not possible. Do you want to copy instead?":"Η μετακίνηση αρχείων από έναν χώρο σε άλλον δεν είναι δυνατή. Θέλετε να κάνετε αντιγραφή αντ' αυτού;","Note: Links and shares of the original file are not copied.":"Σημείωση: Οι σύνδεσμοι και οι διαμοιρασμοί του αρχικού αρχείου δεν αντιγράφονται.","Your changes were not saved. Do you want to save them?":"Οι αλλαγές σας δεν αποθηκεύτηκαν. Θέλετε να τις αποθηκεύσετε;","Don't Save":"Να μη γίνει αποθήκευση","Navigation":"Πλοήγηση","No content image":"Εικόνα χωρίς περιεχόμενο","Quota":"Όριο χώρου (Quota)","No restriction":"Χωρίς περιορισμό","Please enter only numbers":"Παρακαλούμε εισαγάγετε μόνο αριθμούς","Please enter a value equal to or less than %{ quotaLimit }":"Παρακαλούμε εισαγάγετε μια τιμή ίση ή μικρότερη από %{ quotaLimit }","Location filter":"Φίλτρο τοποθεσίας","Current folder":"Τρέχων φάκελος","All files":"Όλα τα αρχεία","Changes saved":"Οι αλλαγές αποθηκεύτηκαν","Revert":"Επαναφορά (Revert)","No changes":"Καμία αλλαγή","Loading sidebar content":"Φόρτωση περιεχομένου πλευρικής στήλης","Close file sidebar":"Κλείσιμο πλευρικής στήλης αρχείου","Back to %{panel} panel":"Επιστροφή στον πίνακα %{panel}","Back to main panels":"Επιστροφή στους κύριους πίνακες","Space image is loading":"Η εικόνα του χώρου φορτώνεται","Show":"Εμφάνιση","Overview of the information about the selected space":"Επισκόπηση των πληροφοριών για τον επιλεγμένο χώρο","Last activity":"Τελευταία δραστηριότητα","Subtitle":"Υπότιτλος","%{displayName} (me)":"%{displayName} (εγώ)","This space has one member and %{linkShareCount} link.":["Αυτός ο χώρος έχει ένα μέλος και %{linkShareCount} σύνδεσμο.","Αυτός ο χώρος έχει ένα μέλος και %{linkShareCount} συνδέσμους."],"This space has %{memberShareCount} members and one link.":"Αυτός ο χώρος έχει %{memberShareCount} μέλη και έναν σύνδεσμο.","This space has %{memberShareCount} members and %{linkShareCount} links.":"Αυτός ο χώρος έχει %{memberShareCount} μέλη και %{linkShareCount} συνδέσμους.","Open share panel":"Άνοιγμα πίνακα διαμοιρασμού","Open link list in share panel":"Άνοιγμα λίστας συνδέσμων στον πίνακα διαμοιρασμού","Open member list in share panel":"Άνοιγμα λίστας μελών στον πίνακα διαμοιρασμού","This space has %{memberShareCount} member.":["Αυτός ο χώρος έχει %{memberShareCount} μέλος.","Αυτός ο χώρος έχει %{memberShareCount} μέλη."],"%{linkShareCount} link giving access.":["%{linkShareCount} σύνδεσμος δίνει πρόσβαση.","%{linkShareCount} σύνδεσμοι δίνουν πρόσβαση."],"Overview of the information about the selected spaces":"Επισκόπηση των πληροφοριών για τους επιλεγμένους χώρους","%{ itemCount } space selected":["%{ itemCount } χώρος επιλέχθηκε","%{ itemCount } χώροι επιλέχθηκαν"],"Total quota:":"Συνολικό όριο χώρου:","Remaining quota:":"Υπολειπόμενο όριο χώρου:","Used quota:":"Χρησιμοποιημένο όριο χώρου:","Enabled:":"Ενεργοποιημένοι:","Disabled:":"Απενεργοποιημένοι:","Select a space to view details":"Επιλέξτε έναν χώρο για να δείτε λεπτομέρειες","WebDAV path":"Διαδρομή WebDAV","Copy WebDAV path":"Αντιγραφή διαδρομής WebDAV","Copy WebDAV path to clipboard":"Αντιγραφή διαδρομής WebDAV στο πρόχειρο","WebDAV URL":"Διεύθυνση WebDAV","Copy WebDAV URL":"Αντιγραφή URL WebDAV","Copy WebDAV URL to clipboard":"Αντιγραφή URL WebDAV στο πρόχειρο","%{used} of %{total} used (%{percentage}% used)":"Χρησιμοποιούνται %{used} από %{total} (%{percentage}% σε χρήση)","%{used} used (no restriction)":"%{used} σε χρήση (χωρίς περιορισμό)","Space quota was changed successfully":["Το όριο χώρου του Χώρου άλλαξε επιτυχώς","Το όριο χώρου %{count} Χώρων άλλαξε επιτυχώς"],"User quota was changed successfully":["Το όριο χώρου του χρήστη άλλαξε επιτυχώς","Το όριο χώρου %{count} χρηστών άλλαξε επιτυχώς"],"Quota was changed successfully":"Το όριο χώρου άλλαξε επιτυχώς","Failed to change space quota":["Αποτυχία αλλαγής ορίου χώρου του Χώρου","Αποτυχία αλλαγής ορίου χώρου για %{count} Χώρους"],"Failed to change user quota":["Αποτυχία αλλαγής ορίου χώρου του χρήστη","Αποτυχία αλλαγής ορίου χώρου για %{count} χρήστες"],"Failed to change quota":"Αποτυχία αλλαγής ορίου χώρου","Space image was set successfully":"Η εικόνα του Χώρου ορίστηκε επιτυχώς","Failed to set space image":"Αποτυχία ορισμού εικόνας Χώρου","Not enough quota to set the space image":"Ανεπαρκές όριο χώρου για τον ορισμό εικόνας Χώρου","Failed to load space image":"Αποτυχία φόρτωσης εικόνας Χώρου","hide line numbers":"απόκρυψη αριθμών γραμμών","show line numbers":"εμφάνιση αριθμών γραμμών","Checking for updates":"Έλεγχος για ενημερώσεις","Up to date":"Ενημερωμένο","Version %{version} available":"Διαθέσιμη έκδοση %{version}","Switch view mode":"Εναλλαγή τρόπου προβολής","View mode":"Τρόπος προβολής","Display customization options of the files list":"Εμφάνιση επιλογών προσαρμογής της λίστας αρχείων","View options":"Επιλογές προβολής","Show hidden files":"Εμφάνιση κρυφών αρχείων","Show file extensions":"Εμφάνιση επεκτάσεων αρχείων","Items per page":"Στοιχεία ανά σελίδα","Show disabled Spaces":"Εμφάνιση απενεργοποιημένων Χώρων","Show empty trash bins":"Εμφάνιση άδειων κάδων ανακύκλωσης","Tile size":"Μέγεθος πλακιδίων","No preview available for »%{name}«":"Δεν υπάρχει διαθέσιμη προεπισκόπηση για το »%{name}«","Download":"Λήψη","There is no preview available for this file. Do you want to download it instead?":"Δεν υπάρχει διαθέσιμη προεπισκόπηση για αυτό το αρχείο. Θέλετε να το κατεβάσετε αντ' αυτού;","⌘ + C":"⌘ + C","Ctrl + C":"Ctrl + C","Copy":"Αντιγραφή","The link has been copied to your clipboard.":"Ο σύνδεσμος έχει αντιγραφεί στο πρόχειρο.","Copy link failed":"Η αντιγραφή συνδέσμου απέτυχε","Copy permanent link":"Αντιγραφή μόνιμου συνδέσμου","Copy link for »%{resourceName}«":["Αντιγραφή συνδέσμου για το »%{resourceName}«","Αντιγραφή συνδέσμων για τα επιλεγμένα στοιχεία"],"Create links":"Δημιουργία συνδέσμων","New file":"Νέο αρχείο","Create a new file":"Δημιουργία νέου αρχείου","Create":"Δημιουργία","File name":"Όνομα αρχείου","»%{fileName}« was created successfully":"Το »%{fileName}« δημιουργήθηκε επιτυχώς","Failed to create file":"Αποτυχία δημιουργίας αρχείου","»%{folderName}« was created successfully":"Το »%{folderName}« δημιουργήθηκε επιτυχώς","Failed to create folder":"Αποτυχία δημιουργίας φακέλου","New folder":"Νέος φάκελος","Create a new folder":"Δημιουργία νέου φακέλου","Folder name":"Όνομα φακέλου","New Folder":"Νέος Φάκελος","Create a Shortcut":"Δημιουργία Συντόμευσης","New Shortcut":"Νέα Συντόμευση","Space was created successfully":"Ο Χώρος δημιουργήθηκε επιτυχώς","Some files could not be copied":"Ορισμένα αρχεία δεν ήταν δυνατό να αντιγραφούν","Creating space failed…":"Η δημιουργία Χώρου απέτυχε…","Create Space from »%{resourceName}«":["Δημιουργία Χώρου από το »%{resourceName}«","Δημιουργία Χώρου από την επιλογή"],"Create Space with the content of »%{resourceName}«.":["Δημιουργία Χώρου με το περιεχόμενο του »%{resourceName}«.","Δημιουργία Χώρου με τα επιλεγμένα αρχεία."],"The marked elements will be copied.":"Τα επιλεγμένα στοιχεία θα αντιγραφούν.","Restrictions":"Περιορισμοί","Shares, versions and tags will not be copied.":"Διαμοιρασμοί, εκδόσεις και ετικέτες δεν θα αντιγραφούν.","Space name":"Όνομα Χώρου","Create Space from selection":"Δημιουργία Χώρου από την επιλογή","Delete":"Διαγραφή","File can't be deleted because it is currently locked.":"Το αρχείο δεν μπορεί να διαγραφεί επειδή είναι κλειδωμένο.","Sync for the selected share was disabled successfully":["Ο συγχρονισμός για τον επιλεγμένο διαμοιρασμό απενεργοποιήθηκε επιτυχώς","Ο συγχρονισμός για τους επιλεγμένους διαμοιρασμούς απενεργοποιήθηκε επιτυχώς"],"Failed to disable sync for the the selected share":["Αποτυχία απενεργοποίησης συγχρονισμού για τον επιλεγμένο διαμοιρασμό","Αποτυχία απενεργοποίησης συγχρονισμού για τους επιλεγμένους διαμοιρασμούς"],"Disable sync":"Απενεργοποίηση συγχρονισμού","Failed to download the selected folder.":"Αποτυχία λήψης του επιλεγμένου φακέλου.","The selection exceeds the allowed archive size (max. %{maxSize})":"Η επιλογή υπερβαίνει το επιτρεπόμενο μέγεθος συμπιεσμένου αρχείου (μέγ. %{maxSize})","All deleted files were removed":"Όλα τα διαγραμμένα αρχεία αφαιρέθηκαν","Failed to empty trash bin":"Αποτυχία εκκαθάρισης κάδου ανακύκλωσης","Empty trash bin for »%{name}«":"Εκκαθάριση κάδου ανακύκλωσης για το »%{name}«","Are you sure you want to permanently delete the items in »%{name}«? You can’t undo this action.":"Είστε βέβαιοι ότι θέλετε να διαγράψετε οριστικά τα στοιχεία στο »%{name}«; Δεν μπορείτε να αναιρέσετε αυτήν την ενέργεια.","Empty trash bin":"Εκκαθάριση κάδου","Sync for the selected share was enabled successfully":["Ο συγχρονισμός για τον επιλεγμένο διαμοιρασμό ενεργοποιήθηκε επιτυχώς","Ο συγχρονισμός για τους επιλεγμένους διαμοιρασμούς ενεργοποιήθηκε επιτυχώς"],"Failed to enable sync for the the selected share":["Αποτυχία ενεργοποίησης συγχρονισμού για τον επιλεγμένο διαμοιρασμό","Αποτυχία ενεργοποίησης συγχρονισμού για τους επιλεγμένους διαμοιρασμούς"],"Enable sync":"Ενεργοποίηση συγχρονισμού","Failed to change favorite state of \\"%{file}\\"":"Αποτυχία αλλαγής κατάστασης αγαπημένου για το \\"%{file}\\"","Remove from favorites":"Αφαίρεση από τα αγαπημένα","Add to favorites":"Προσθήκη στα αγαπημένα","⌘ + X":"⌘ + X","Ctrl + X":"Ctrl + X","Cut":"Αποκοπή","Navigate":"Πλοήγηση","Failed to open shortcut":"Αποτυχία ανοίγματος συντόμευσης","Open shortcut":"Άνοιγμα συντόμευσης","Open file in %{app}":"Άνοιγμα αρχείου σε %{app}","Open":"Άνοιγμα","⌘ + V":"⌘ + V","Ctrl + V":"Ctrl + V","Paste":"Επικόλληση","Failed to rename \\"%{file}\\" to »%{newName}«":"Αποτυχία μετονομασίας του \\"%{file}\\" σε »%{newName}«","Failed to rename »%{file}« to »%{newName}« - the file is locked":"Αποτυχία μετονομασίας του »%{file}« σε »%{newName}« - το αρχείο είναι κλειδωμένο","Rename folder »%{name}«":"Μετονομασία φακέλου »%{name}«","%{resource} was restored successfully":"Ο πόρος %{resource} αποκαταστάθηκε επιτυχώς","%{resourceCount} files restored successfully":"%{resourceCount} αρχεία αποκαταστάθηκαν επιτυχώς","Failed to restore \\"%{resource}\\"":"Αποτυχία επαναφοράς του \\"%{resource}\\"","Failed to restore %{resourceCount} files":"Αποτυχία επαναφοράς %{resourceCount} αρχείων","Restore":"Επαναφορά","Save as":"Αποθήκευση ως","Crop your Space image":"Περικοπή εικόνας Χώρου","Set as space image":"Ορισμός ως εικόνα χώρου","All Actions":"Όλες οι Ενέργειες","Details":"Λεπτομέρειες","Share":"Διαμοιρασμός","The share was hidden successfully":"Ο διαμοιρασμός αποκρύφθηκε επιτυχώς","The share was unhidden successfully":"Η εμφάνιση του διαμοιρασμού αποκαταστάθηκε επιτυχώς","Failed to hide the share":"Αποτυχία απόκρυψης του διαμοιρασμού","Failed to unhide the share":"Αποτυχία επανεμφάνισης του διαμοιρασμού","Unhide":"Επανεμφάνιση","Hide":"Απόκρυψη","Failed to restore files":"Αποτυχία επαναφοράς αρχείων","⌘ + Z":"⌘ + Z","Ctrl + Z":"Ctrl + Z","Undo":"Αναίρεση","\\"%{item}\\" was moved to trash bin":"Το \\"%{item}\\" μεταφέρθηκε στον κάδο ανακύκλωσης","%{itemCount} item was moved to trash bin":["%{itemCount} στοιχείο μεταφέρθηκε στον κάδο ανακύκλωσης","%{itemCount} στοιχεία μεταφέρθηκαν στον κάδο ανακύκλωσης"],"Permanently delete folder »%{name}«":"Οριστική διαγραφή φακέλου »%{name}«","Permanently delete file »%{name}«":"Οριστική διαγραφή αρχείου »%{name}«","Permanently delete selected resource?":["Οριστική διαγραφή του επιλεγμένου πόρου;","Οριστική διαγραφή των %{amount} επιλεγμένων πόρων;"],"Are you sure you want to delete this folder? All its content will be permanently removed. This action cannot be undone.":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτόν τον φάκελο; Όλο το περιεχόμενό του θα αφαιρεθεί οριστικά. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.","Are you sure you want to delete this file? All its content will be permanently removed. This action cannot be undone.":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτό το αρχείο; Όλο το περιεχόμενό του θα αφαιρεθεί οριστικά. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.","Are you sure you want to delete all selected resources? All their content will be permanently removed. This action cannot be undone.":"Είστε βέβαιοι ότι θέλετε να διαγράψετε όλους τους επιλεγμένους πόρους; Όλο το περιεχόμενό τους θα αφαιρεθεί οριστικά. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.","\\"%{item}\\" was deleted successfully":"Το \\"%%{item}\\" διαγράφηκε επιτυχώς","%{itemCount} item was deleted successfully":["%{itemCount} στοιχείο διαγράφηκε επιτυχώς","%{itemCount} στοιχεία διαγράφηκαν επιτυχώς"],"Failed to delete \\"%{item}\\"":"Αποτυχία διαγραφής του \\"%{item}\\"","Failed to delete \\"%{resource}\\"":"Αποτυχία διαγραφής του \\"%{resource}\\"","Failed to delete \\"%{resource}\\" - the file is locked":"Αποτυχία διαγραφής του \\"%{resource}\\" - το αρχείο είναι κλειδωμένο","The name cannot be empty":"Το όνομα δεν μπορεί να είναι κενό","The name cannot contain \\"/\\"":"Το όνομα δεν μπορεί να περιέχει \\"/\\"","The name cannot contain \\"\\\\\\"":"Το όνομα δεν μπορεί να περιέχει \\"\\\\\\"","The name cannot be equal to \\".\\"":"Το όνομα δεν μπορεί να είναι \\".\\"","The name cannot be equal to \\"..\\"":"Το όνομα δεν μπορεί να είναι \\"..\\"","The name cannot start or end with whitespace":"Το όνομα δεν μπορεί να ξεκινά ή να τελειώνει με κενό","The name is too long":"Το όνομα είναι πολύ μεγάλο","The name »%{name}« is already taken":"Το όνομα »%{name}« χρησιμοποιείται ήδη","The Space name cannot be empty":"Το όνομα του Χώρου δεν μπορεί να είναι κενό","The Space name is too long":"Το όνομα του Χώρου είναι πολύ μεγάλο","The Space name cannot start or end with whitespace":"Το όνομα του Χώρου δεν μπορεί να ξεκινά ή να τελειώνει με κενό","The Space name cannot contain the following characters: / \\\\\\\\ . : ? * \\" > < |'":"Το όνομα του Χώρου δεν μπορεί να περιέχει τους ακόλουθους χαρακτήρες: / \\\\\\\\ . : ? * \\" > < |'","New Space":"Νέος Χώρος","Create a new space":"Δημιουργία νέου χώρου","New space":"Νέος χώρος","Space »%{space}« was deleted successfully":"Ο Χώρος »%{space}« διαγράφηκε επιτυχώς","%{spaceCount} space was deleted successfully":["%{spaceCount} χώρος διαγράφηκε επιτυχώς","%{spaceCount} χώροι διαγράφηκαν επιτυχώς"],"Failed to delete space »%{space}«":"Αποτυχία διαγραφής του χώρου »%{space}«","Failed to delete %{spaceCount} space":["Αποτυχία διαγραφής %{spaceCount} χώρου","Αποτυχία διαγραφής %{spaceCount} χώρων"],"Are you sure you want to delete the selected space?":["Είστε βέβαιοι ότι θέλετε να διαγράψετε τον επιλεγμένο χώρο;","Είστε βέβαιοι ότι θέλετε να διαγράψετε τους %{count} επιλεγμένους χώρους;"],"Delete Space »%{space}«?":["Διαγραφή του Χώρου »%{space}«;","Διαγραφή %{spaceCount} Χώρων;"],"Space image deleted successfully":"Η εικόνα του Χώρου διαγράφηκε επιτυχώς","Failed to delete space image":"Αποτυχία διαγραφής εικόνας Χώρου","Delete »%{space}« image":"Διαγραφή εικόνας του »%{space}«","Are you sure you want to delete the image of »%{space}«?":"Είστε βέβαιοι ότι θέλετε να διαγράψετε την εικόνα του »%{space}«;","Delete image":"Διαγραφή εικόνας","Space »%{space}« was disabled successfully":"Ο Χώρος »%{space}« απενεργοποιήθηκε επιτυχώς","%{spaceCount} space was disabled successfully":["%{spaceCount} χώρος απενεργοποιήθηκε επιτυχώς","%{spaceCount} χώροι απενεργοποιήθηκαν επιτυχώς"],"Failed to disable space »%{space}«":"Αποτυχία απενεργοποίησης του χώρου »%{space}«","Failed to disable %{spaceCount} space":["Αποτυχία απενεργοποίησης %{spaceCount} χώρου","Αποτυχία απενεργοποίησης %{spaceCount} χώρων"],"If you disable the selected space, it can no longer be accessed. Only Space managers will still have access. Note: No files will be deleted from the server.":["Εάν απενεργοποιήσετε τον επιλεγμένο χώρο, δεν θα είναι πλέον προσβάσιμος. Μόνο οι διαχειριστές του Χώρου θα έχουν ακόμα πρόσβαση. Σημείωση: Κανένα αρχείο δεν θα διαγραφεί από τον διακομιστή.","Εάν απενεργοποιήσετε τους %{count} επιλεγμένους χώρους, δεν θα είναι πλέον προσβάσιμοι. Μόνο οι διαχειριστές των Χώρων θα έχουν ακόμα πρόσβαση. Σημείωση: Κανένα αρχείο δεν θα διαγραφεί από τον διακομιστή."],"Disable":"Απενεργοποίηση","Disable Space »%{space}«?":["Απενεργοποίηση του Χώρου »%{space}«;","Απενεργοποίηση %{spaceCount} Χώρων;"],"Space »%{space}« was duplicated successfully":"Ο Χώρος »%{space}« δημιουργήθηκε ως αντίγραφο επιτυχώς","Failed to duplicate space »%{space}«":"Αποτυχία δημιουργίας αντιγράφου του χώρου »%{space}«","Duplicate":"Δημιουργία αντιγράφου","Space subtitle was changed successfully":"Ο υπότιτλος του Χώρου άλλαξε επιτυχώς","Failed to change space subtitle":"Αποτυχία αλλαγής υπότιτλου Χώρου","Change subtitle for space":"Αλλαγή υπότιτλου για τον χώρο","Space subtitle":"Υπότιτλος Χώρου","Edit subtitle":"Επεξεργασία υπότιτλου","Change quota for Space »%{name}«":"Αλλαγή ορίου χώρου για τον Χώρο »%{name}«","Change quota for %{count} Spaces":"Αλλαγή ορίου χώρου για %{count} Χώρους","Edit quota":"Επεξεργασία ορίου χώρου","Edit description":"Επεξεργασία περιγραφής","Open trash bin":"Άνοιγμα κάδου ανακύκλωσης","Space name was changed successfully":"Το όνομα του Χώρου άλλαξε επιτυχώς","Failed to rename space":"Αποτυχία μετονομασίας χώρου","Rename space »%{name}«":"Μετονομασία χώρου »%{name}«","Space »%{space}« was enabled successfully":"Ο Χώρος »%{space}« ενεργοποιήθηκε επιτυχώς","%{spaceCount} space was enabled successfully":["%{spaceCount} χώρος ενεργοποιήθηκε επιτυχώς","%{spaceCount} χώροι ενεργοποιήθηκαν επιτυχώς"],"Failed to enable space »%{space}«":"Αποτυχία ενεργοποίησης του χώρου »%{space}«","Failed to enable %{spaceCount} space":["Αποτυχία ενεργοποίησης %{spaceCount} χώρου","Αποτυχία ενεργοποίησης %{spaceCount} χώρων"],"If you enable the selected space, it can be accessed again.":["Εάν ενεργοποιήσετε τον επιλεγμένο χώρο, θα είναι ξανά προσβάσιμος.","Εάν ενεργοποιήσετε τους %{count} επιλεγμένους χώρους, θα είναι ξανά προσβάσιμοι."],"Enable":"Ενεργοποίηση","Enable Space »%{space}«?":["Ενεργοποίηση του Χώρου »%{space}«;","Ενεργοποίηση %{spaceCount} Χώρων;"],"Set icon for »%{space}«":"Ορισμός εικονιδίου για το »%{space}«","Space icon was set successfully":"Το εικονίδιο του Χώρου ορίστηκε επιτυχώς","Failed to set space icon":"Αποτυχία ορισμού εικονιδίου Χώρου","Not enough quota to set the space icon":"Ανεπαρκές όριο χώρου για τον ορισμό εικονιδίου Χώρου","Set icon":"Ορισμός εικονιδίου","Pop-up and redirect block detected":"Ανιχνεύθηκε αποκλεισμός αναδυόμενων παραθύρων και ανακατευθύνσεων","Please turn on pop-ups and redirects in your browser settings to make sure everything works right.":"Παρακαλούμε ενεργοποιήστε τα αναδυόμενα παράθυρα και τις ανακατευθύνσεις στις ρυθμίσεις του προγράμματος περιήγησής σας για να βεβαιωθείτε ότι όλα λειτουργούν σωστά.","Download failed":"Η λήψη απέτυχε","File could not be located":"Το αρχείο δεν βρέθηκε","Spaces":"Χώροι","Shares":"Διαμοιρασμοί","Shared with me":"Σε διαμοιρασμό με εμένα","Personal":"Προσωπικά","Link has been created successfully":"Ο σύνδεσμος δημιουργήθηκε επιτυχώς","%{link} Password:%{password}":"%{link} Συνθηματικό:%{password}","Failed to create link":["Αποτυχία δημιουργίας συνδέσμου","Αποτυχία δημιουργίας συνδέσμων"],"Can view":"Δυνατότητα προβολής","View, download":"Προβολή, λήψη","Can upload":"Δυνατότητα μεταφόρτωσης","View, upload, download":"Προβολή, μεταφόρτωση, λήψη","Can edit":"Δυνατότητα επεξεργασίας","View, upload, edit, download, delete":"Προβολή, μεταφόρτωση, επεξεργασία, λήψη, διαγραφή","Secret File Drop":"Απόθεση μυστικού αρχείου (File Drop)","Upload only, existing content is not revealed":"Μόνο μεταφόρτωση, το υπάρχον περιεχόμενο δεν αποκαλύπτεται","Copied to clipboard!":"Αντιγράφηκε στο πρόχειρο!","Cut to clipboard!":"Έγινε αποκοπή στο πρόχειρο!","%{ filesCount } file":["%{ filesCount } αρχείο","%{ filesCount } αρχεία"],"%{ filesCount } file including %{ filesHiddenCount } hidden":["%{ filesCount } αρχείο (συμπεριλαμβανομένου %{ filesHiddenCount } κρυφού)","%{ filesCount } αρχεία (συμπεριλαμβανομένων %{ filesHiddenCount } κρυφών)"],"%{ foldersCount } folder":["%{ foldersCount } φάκελος","%{ foldersCount } φάκελοι"],"%{ foldersCount } folder including %{ foldersHiddenCount } hidden":["%{ foldersCount } φάκελος (συμπεριλαμβανομένου %{ foldersHiddenCount } κρυφού)","%{ foldersCount } φάκελοι (συμπεριλαμβανομένων %{ foldersHiddenCount } κρυφών)"],"%{ spacesCount } space":["%{ spacesCount } χώρος","%{ spacesCount } χώροι"],"%{ itemsCount } item with %{ itemSize } in total":"%{ itemsCount } στοιχείο με συνολικό μέγεθος %{ itemSize }","%{ itemsCount } item in total":"%{ itemsCount } στοιχείο συνολικά","%{ itemsCount } items with %{ itemSize } in total":"%{ itemsCount } στοιχεία με συνολικό μέγεθος %{ itemSize }","%{ itemsCount } items in total":"%{ itemsCount } στοιχεία συνολικά","This item is directly shared with others.":"Αυτό το στοιχείο διαμοιράζεται απευθείας με άλλους.","This item is shared with others through one of the parent folders.":"Αυτό το στοιχείο διαμοιράζεται με άλλους μέσω ενός εκ των γονικών φακέλων.","This item is directly shared via links.":"Αυτό το στοιχείο διαμοιράζεται απευθείας μέσω συνδέσμων.","This item is shared via links through one of the parent folders.":"Αυτό το στοιχείο διαμοιράζεται μέσω συνδέσμων μέσω ενός εκ των γονικών φακέλων.","Show invited people":"Εμφάνιση προσκεκλημένων","This item is synced with your devices":"Αυτό το στοιχείο συγχρονίζεται με τις συσκευές σας","Synced with your devices":"Συγχρονισμένο με τις συσκευές σας","Show links":"Εμφάνιση συνδέσμων","Item locked":"Στοιχείο κλειδωμένο","Item in processing":"Στοιχείο υπό επεξεργασία","This item is in processing":"Αυτό το στοιχείο βρίσκεται υπό επεξεργασία","Space is enabled":"Ο Χώρος είναι ενεργοποιημένος","Enabled":"Ενεργοποιημένο","Space is disabled":"Ο Χώρος είναι απενεργοποιημένος","Select folder":"Επιλογή φακέλου","Select space":"Επιλογή χώρου","Select file":"Επιλογή αρχείου","Clear selection":"Εκκαθάριση επιλογής","Select all":"Επιλογή όλων","Folder already exists":"Ο φάκελος υπάρχει ήδη","File already exists":"Το αρχείο υπάρχει ήδη","Copy here?":"Αντιγραφή εδώ;","Copy here":"Αντιγραφή εδώ","You can't paste the selected file at this location because you can't paste an item into itself.":["Δεν μπορείτε να επικολλήσετε το επιλεγμένο αρχείο σε αυτήν την τοποθεσία επειδή δεν μπορείτε να επικολλήσετε ένα στοιχείο μέσα στον εαυτό του.","Δεν μπορείτε να επικολλήσετε τα επιλεγμένα αρχεία σε αυτήν την τοποθεσία επειδή δεν μπορείτε να επικολλήσετε ένα στοιχείο μέσα στον εαυτό του."],"%{count} item was copied successfully":["%{count} στοιχείο αντιγράφηκε επιτυχώς","%{count} στοιχεία αντιγράφηκαν επιτυχώς"],"%{count} item was moved successfully":["%{count} στοιχείο μετακινήθηκε επιτυχώς","%{count} στοιχεία μετακινήθηκαν επιτυχώς"],"Failed to copy %{count} resources":"Αποτυχία αντιγραφής %{count} πόρων","Failed to move %{count} resources":"Αποτυχία μετακίνησης %{count} πόρων","Failed to copy »%{name}«":"Αποτυχία αντιγραφής του »%{name}«","Failed to move »%{name}«":"Αποτυχία μετακίνησης του »%{name}«","Insufficient quota":"Ανεπαρκές όριο χώρου","A-Z":"Α-Ω","Z-A":"Ω-Α","Newest":"Νεότερα","Oldest":"Παλαιότερα","Largest":"Μεγαλύτερα","Smallest":"Μικρότερα","Search results":"Αποτελέσματα αναζήτησης","Favorite files":"Αγαπημένα αρχεία","Public file upload":"Δημόσια μεταφόρτωση αρχείου","Files shared with me":"Αρχεία σε διαμοιρασμό με εμένα","Files shared with others":"Αρχεία σε διαμοιρασμό με άλλους","Files shared via link":"Αρχεία σε διαμοιρασμό μέσω συνδέσμου","Trash overview":"Επισκόπηση κάδου","Must not be empty":"Δεν πρέπει να είναι κενό","Valid special characters: %{characters}":"Έγκυροι ειδικοί χαρακτήρες: %{characters}","%{param1}+ special characters":"%{param1}+ ειδικοί χαρακτήρες","%{param1}+ letters":"%{param1}+ γράμματα","%{param1}+ uppercase letters":"%{param1}+ κεφαλαία γράμματα","%{param1}+ lowercase letters":"%{param1}+ πεζά γράμματα","%{param1}+ numbers":"%{param1}+ αριθμοί","Added %{numFiles} file(s)":"Προστέθηκαν %{numFiles} αρχείο(-α)","Connect":"Σύνδεση","Connect to %{pluginName}":"Σύνδεση στο %{pluginName}","Please authenticate with %{pluginName} to select files":"Παρακαλούμε ταυτοποιηθείτε με το %{pluginName} για να επιλέξετε αρχεία","Connection with Companion failed":"Η σύνδεση με το Companion απέτυχε","Loaded %{numFiles} files":"Φορτώθηκαν %{numFiles} αρχεία","Loading...":"Φόρτωση...","Log out":"Αποσύνδεση","Public link without password protection":"Δημόσιος σύνδεσμος χωρίς προστασία συνθηματικού","Select %{smart_count}":"Επιλογή %{smart_count}","Sign in with Google":"Σύνδεση με Google"}`),De={},Ne=JSON.parse(`{"Loading actions":"מגיעות הפעולות","No items selected.":"No items selected.","%{ amount } item selected. Actions are available above the table.":["%{amount} פריט נבחר. פעולות זמינות מעל הטבלה.","%{amount} פריטים נבחרו. פעולות זמינות מעל הטבלה.","%{amount} פריטים נבחרו. פעולות זמינות מעל הטבלה."],"%{appName} for %{fileName}":"%{appName} ל־ %{fileName}","Importing failed":"העלאה נכשלה","File exceeds %{threshold}":"הפילם עולה מעל %{threshold}","%{resource} exceeds the recommended size of %{threshold} for editing, and may cause performance issues.":"%{resource} עולה מעל הגבלת גודל המומלץ (%{threshold}) לשינוי, ויכול לגרום לבעיות ביצועים.","Continue":"המשך","An error occurred":"שגיאה התרחשה","File autosaved":"הפile אוטו-שמרה","You're not authorized to save this file":"אין לך רשות לשמור את זה קובץ","Insufficient quota on \\"%{spaceName}\\" to save this file":"כמות מקום חסרה על \\"%{spaceName}\\" כדי להציל את זהו קובץ","Insufficient quota for saving this file":"כמות מקסימלית לא מספיקה לשמירת קובץ זה","Save":"שמור","Unsaved changes":"שינויים לא נשמרו","Loading app":"Loading app","Close":"סגור","Show context menu":"הציג מENU מקונקסט","Autosave (every %{ duration })":"שמירת אוטו (בכל %{ duration })","Upload":"העלאה","Remove":"הסר","Crop your new profile picture":"ערוך תמונת פרופיל חדשה","Cancel":"ביטול","Set":"הַקָּדָם","Zoom via %{ zoomKeys }, pan via %{ panKeys }":"זום באמצעות %{zoomKeys}, התקדמות באמצעות %{panKeys}","+-":"+-","↑↓←→":"↑↓←→","Are you sure you want to remove your profile picture?":"אתה בטוח שאתה רוצה למחוק את תמונת הפרופיל שלך?","Remove profile picture":"הסר תמונה פרופיל","File size exceeds the limit of %{size}MB":"גודל הקובץ עובר על הגבול של %{size}MB","Profile picture was set successfully":"תמונת הפרופיל הוכנה בהצלחה","Failed to set profile picture":"נכשל בהגדרת תמונת פרופיל","Profile picture was removed successfully":"תמונת הפרופיל הוסרה בהצלחה","Failed to remove profile picture":"נכשל בהסרת תמונת פרופיל","Options":"חלופות","Password":"סיסמה","Password:":"סיסמה:","Expiry date":"תאריך תפוגה","More options":"אפשרויות נוספות","Share link(s)":"לינק(ים) חילוץ","Copy link":"קח קישור","Share link(s) and password(s)":"לשתף קישורים ופרטים חסומים","Copy link and password":"העתיק את הקישור והסיסמה","Unnamed link":"קישור בלתי מזוהה","Webpage or file":"אתר אינטרנט או דף תוכן","Enter the target URL of a webpage or the name of a file. Users will be directed to this webpage or file.":"הכנס את האדрес היעד של עמוד אינטרנט או שם הקובץ. משתמשים יועדו לעמוד זה או לקובץ.","Link to a file":"רישום קישור לملוא","Shortcut name":"שם קצרה","Shortcut name as it will appear in the file list.":"שם קיצור כפי שהוא יופיע בסדרון הקבצים.","»%{name}« already exists":"»%{name}« כבר קיים/ה","Shortcut name cannot contain \\"/\\"":"שם קצרה לא יכול להכיל \\"\\\\/\\" (סלולרי)","Shortcut was created successfully":"הפסקת קיצור הושלמה בהצלחה","Failed to create shortcut":"כשל בהקמת קישור קצר","Open with...":"פתח עם...","Open »%{name}«":"פתח »%{name}«","This item is locked":"אנחנו מכירים את האובייקט הזה כמוגבל/נעול","File is being processed":"הפile מופיע תהליך עיבוד","Rename file »%{name}«":"שנה שם קובץ »%{name}«","Rename":"שנה שם","Search for tag %{tag}":"חפש את התג %{tag}","Name":"שם","Manager":"מנהל","Members":"חברים","Total quota":"כמות מקסימלית מלאה","Used quota":"שימוש מלא","Remaining quota":"שארית קוטה","Status":"סטטוס","Size":"גודל","Info":"מידע","Tags":"טגים","Shared by":"נשלח על ידי","Shared with":"שיתף עם","Modified":"מודיפיקציה","Shared on":"שיתף","Deleted":"מחוק","Actions":"הפעלות","folder":"תיקייה","file":"file","This %{ resourceType } is shared via %{ shareCount } invite":["זוהי %{ resourceType } מחולקת באמצעות %{ shareCount } כרוז","זוהי %{ resourceType } מחולקת באמצעות %{ shareCount } עותקים של שיתוף","זוהי %{ resourceType } מחולקת באמצעות %{ shareCount } invitations"],"This %{ resourceType } is shared by %{ user }":"זה %{ resourceType } מחולק על ידי %{ user }","Disabled":"מופעל מחוץ לדרך","Sort by":"תורגם לפי","Custom date range":"תאריך טווח מותאם","Go back to filter options":"שוב לחצן האפשרויות הבדיקות","Close filter":"סגור פילטר","From":"מהרשומה","To":"ל","Apply":"הצטרף","Filter list":"ספץ רשימה","Toggle selection":"התחלף בחירה","Select a role":"בחר תפקיד","Role":"רול","Expiration date":"תאריך תפוגה","Confirm":"אשרה","Skip":"תעלף","Keep both":"השאירו את שני ה-","Apply to all %{count} conflicts":"החל על כל %{count} סכסוכים","Apply to all %{count} folders":"החלף לכל %{count} תיקים","Apply to all %{count} files":"החלף לכל %{count} קבצים","Folder with name »%{name}« already exists.":"תיק עם שם »%{name}« כבר קיים.","File with name »%{name}« already exists.":"קובץ בשם »%{name}« כבר קיים.","Replace":"החלף","»%{fileName}« was saved successfully":"»%{fileName}« הושלם הצפייה בהצלחה","Unable to save »%{fileName}«":"לא ניתן להציל »%{fileName}«","Moving files from one space to another is not possible. Do you want to copy instead?":"העברת קבצים ממקום אחד למקום אחר אינה אפשרית. אתה רוצה לקחת במקום?","Note: Links and shares of the original file are not copied.":"הערה: קישורים ושיתופי המידע לאור המקור אינם מופצים.","Your changes were not saved. Do you want to save them?":"השינויים שלך לא נשמרו. האם תרצה לשמור אותם?","Don't Save":"לֹא לְהַחֲזִיר","Quota":"כמות מוגבלת (Quota)","No restriction":"לא מוגבל","Please enter only numbers":"נא תצרו רק מספרים","Please enter a value equal to or less than %{ quotaLimit }":"נא הכנס ערך שווה או קטן מ־%{quotaLimit}","Location filter":"מקום פילטר","Current folder":"תיקייה הנוכחית","All files":"כל הקבצים","Changes saved":"שינויים שמוחקו","Revert":"החזרה","No changes":"אין שינויים","Close file sidebar":"סגור צדדית תפריט","Back to %{panel} panel":"חזרה ל־%{panel} פאנל","Back to main panels":"חזרה לפרטי האריזות הראשיות","Space image is loading":"תמונה חלל מוכנה להעלאה","Show":"הצג","Overview of the information about the selected space":"תיאור המידע הנבחר על החלל","Last activity":"תקופה אחרונה של פעילות","Subtitle":"סאבטיטל","%{displayName} (me)":"%{displayName} (אני)","This space has one member and %{linkShareCount} link.":["זוהי החלל מכיל אחד חבר ו%{linkShareCount} קישור.","זוהי החלל מכיל אחד חבר ו%{linkShareCount} קישורים.","זוהי החלל מכיל אחד חבר ו%{linkShareCount} קישורים."],"This space has %{memberShareCount} members and one link.":"זוהי החלל מכיל %{memberShareCount} חברים ואחד קישור.","This space has %{memberShareCount} members and %{linkShareCount} links.":"זה מקום עם %1 חברים ו-%2 קישורים.","Open share panel":"פתח פאנל חילוץ","Open link list in share panel":"פתח רשימת קישורים בפאנל לחיצה","Open member list in share panel":"פתח רשימת חברים בפאנל לחיצה","This space has %{memberShareCount} member.":["זוהי החלל עם %{memberShareCount} חברים.","זה מקום עם %{memberShareCount} חברים.","זה המקום מכיל %{memberShareCount} חברים."],"%{linkShareCount} link giving access.":["%{linkShareCount} קישור עם גישה.","%{linkShareCount} קישורים העניקו גישה.","%{linkShareCount} קישורים העניקו גישה."],"Overview of the information about the selected spaces":"סיכום המידע הנוגע למחזורים נבחרים","%{ itemCount } space selected":["%{item} בחירה מקבלת מקום","%{item} מקומות נבחרו","%{item} מקומות בחירה חסרים"],"Total quota:":"כמות מקסימלית: ","Remaining quota:":"שאר קוטה:","Used quota:":"שימוש מקסימלי: %1","Enabled:":"אנבלד:","Disabled:":"נכשל:","Select a space to view details":"בחר מקום כדי לראות פרטים","WebDAV path":"מיקום WebDAV","Copy WebDAV path":"תיקון דה-וי-אב מרחב קובץ","Copy WebDAV path to clipboard":"העתיק את דרכי WebDAV לקליפבורד","WebDAV URL":"URL מקור WebDAV","Copy WebDAV URL":"תחזק את URL של WebDAV","Copy WebDAV URL to clipboard":"העתיק את URL WebDAV לקליפבורד","%{used} of %{total} used (%{percentage}% used)":"%{used} מתוך %{total} משתמשים (%{percentage}% משתמשים Used)","%{used} used (no restriction)":"%{used} משומש (бלי הגבלות)","Space quota was changed successfully":["הזיכיון של החלל שונה בהצלחה","התקנה נכשלה של כמות %{count} מקומות בהצלחה","התקן של %{count} מקומות שונה בהצלחה"],"User quota was changed successfully":["הזיכיון של המשתמש שונה בהצלחה","הזמנת %{count} משתמשים שונתה בהצלחה","התקנה נכשלה בהצלחה של %{count} משתמשים"],"Quota was changed successfully":"התחייבות שונה בהצלחה","Failed to change space quota":["נכשל בהחלפת מרחב קוווטה","כשל בהחלפת הגבלת מקום עבור %{count} מקומות","כשל בהצגת הגבלת מקום עבור %{count} מקומות"],"Failed to change user quota":["כושל בהשתנה של קוטת המשתמש","כשל בהצגת הגבלת מקום עבור %{count} משתמשים","נכשל בהצגת הגבלת מקום עבור %{count} משתמשים"],"Failed to change quota":"נכשל בהחלפת קוט","Space image was set successfully":"תמונה חלל הותקמה בהצלחה","Failed to set space image":"נכשל בהגדרת תמונה של מקום","Not enough quota to set the space image":"אין כמות מקדמה מספיקה כדי לקבוע את תמונת החלל","Failed to load space image":"כשל בהפעלת תמונה חלל","hide line numbers":"הצפין מספרים של שורות","show line numbers":"הציג מספרים של שורות","Checking for updates":"בדיקה עדכונים","Up to date":"נכון עד כה","Version %{version} available":"השם הוורז'ן %{version} זמין","Switch view mode":"התחלף רגימנט","View mode":"רגע מראה","Display customization options of the files list":"הצגת אפשרויות תאמת אישור עבור רשימת הקבצים","View options":"הצג אפשרויות","Show hidden files":"הצג קבצים מסתרים","Show file extensions":"הצג תואלי תיקיות","Items per page":"מקומות על פי עמודה","Show disabled Spaces":"הצג מקומות מופרדים (לא פעילים)","Show empty trash bins":"הצג קופסאות זבל ריקות","Tile size":"גודל הטיל","Download":"העלאה","⌘ + C":"⌘ + C","Ctrl + C":"Ctrl + C","Copy":"העתק","The link has been copied to your clipboard.":"ההוראה לא תורגמה באופן מלא. תרגום חלקי של הפתח: **The link has been copied to your clipboard.** → **האישור הועבר לקליפבורד שלך** (הפתח %1, %2, %{item}, %{fileName} לא תורגמו כפי שנדרש).","Copy link failed":"העתקה קישור נכשלה","Copy permanent link":"קישור קבוע קבוע","Copy link for »%{resourceName}«":["העתיק קישור ל»%{resourceName}«","העתיק קישורים עבור המוצרים נבחרים","העתיק קישורים עבור המוצרים נבחרים"],"Create links":"ליצור קישורים","New file":"קובץ חדש","Create a new file":"תחיל את קובץ חדש","Create":"סֹפֶרֶת","File name":"שם הקובץ","»%{fileName}« was created successfully":"»%{fileName}« הושלם בהצלחה","Failed to create file":"כשל בהקמת קובץ","»%{folderName}« was created successfully":"»%{folderName}« הוסיף בהצלחה","Failed to create folder":"כושל בהקמת תיקייה","New folder":"תיקייה חדשה","Create a new folder":"תחמיץ תיקייה חדשה","Folder name":"תיקון שמות","New Folder":"תיקייה חדשה","Create a Shortcut":"הוצא קישור קצר","New Shortcut":"קיצור מחדש","Space was created successfully":"החלל הוכרז בהצלחה","Creating space failed…":"השגת מקום נכשל...","Create Space from »%{resourceName}«":["הקריבו מקום מרחב מ»%{resourceName}«","הוציא מקום מהבחירה","הוציא מקום מהבחירה"],"Create Space with the content of »%{resourceName}«.":["הקריבו מקום עם תוכן של \\"%{resourceName}«.","הקריבו את הקבצים המיוחדים כדי ליצור מקום חופשי.","הוציאו מקום עם הקבצים הנבחרים."],"The marked elements will be copied.":"העלומים המודגמים יועברו לקופיה.","Restrictions":"הגבלות","Shares, versions and tags will not be copied.":"הפציות, גרסאות וטגים לא יתקנו.","Space name":"שם מקום","Create Space from selection":"הקליקו על בחירה כדי ליצור מקום חופשי","Delete":"מחיקה","File can't be deleted because it is currently locked.":"הפile לא יכול להיפקד כי הוא מושבת בשעתה.","Sync for the selected share was disabled successfully":["הסינכרון עבור החלקה הנבחרת הושבת בהצלחה","הסינכרון עבור החלקות נבחרות הושבת בהצלחה","הסינכרון עבור החלקות נבחרות הושבת בהצלחה"],"Failed to disable sync for the the selected share":["נכשל בהפסקת הסינכרון עבור המשתלשלת המשולבת שנבחרה","כשל בהפסקת התאמה עבור החלקות המושלמות","נכשל בהפסקת הסינכרון עבור החלקות שנבחרו"],"Disable sync":"הפסק את התאימות","Failed to download the selected folder.":"נכשל בהעלאת הקובץ או התיק המבחר.","The selection exceeds the allowed archive size (max. %{maxSize})":"הבחירה עולה על גודל הארכיון המותר (מגדל %{maxSize})","All deleted files were removed":"כל הקבצים שנמחקו הוסרו","Failed to empty trash bin":"נכשל בהסרת תיקיות ריקים","Empty trash bin for »%{name}«":"קיבוץ קפיצה ריק ל«%{name}«","Are you sure you want to permanently delete the items in »%{name}«? You can’t undo this action.":"האם אתה בטוח שאתה רוצה להסיר באופן קבוע את האתרים ב»%{name}«? אתה לא יכול להחזיר את הפעולה הזו.","Empty trash bin":"קופסת האפלה ריקה","Sync for the selected share was enabled successfully":["הסינכרון עבור החלקה הנבחרת הוכנס בהצלחה לאופטימום","הסינכרון עבור החלקות נבחרות הושלם בהצלחה","הסינכרון עבור החלקות נבחרות הושלם בהצלחה"],"Failed to enable sync for the the selected share":["נכשל בהפעלת תסכולת עבור החלקה הנבחרת","כשל בהפעלת התאמה עבור החלקות שנבחרו","כשל בהפעלת תסכולת עם חלקי הנתונים נבחרים"],"Enable sync":"אפשרה את התסכולת","Failed to change favorite state of \\"%{file}\\"":"נכשל בהחלפת מצב אהוב על ידי \\"%{file}\\"","Remove from favorites":"הסר מהמועדפים","Add to favorites":"העבר לטופס אהובים","⌘ + X":"⌘ + חֲטִיר","Ctrl + X":"Ctrl + X","Cut":"קרע","Failed to open shortcut":"נכשל בהקמת קישור קצר","Open shortcut":"פתח קצרה","Open file in %{app}":"פתח את %{fileName} ב־%{app}","Open":"פתח","⌘ + V":"⌘ + V","Ctrl + V":"Ctrl + V","Paste":"העתיק את המקור","Failed to rename \\"%{file}\\" to »%{newName}«":"כשל בהשתנות השם של \\"%{file}\\" ל»%{newName}«","Failed to rename »%{file}« to »%{newName}« - the file is locked":"כשל בהשתנה »%{file}« ל»%{newName}« - הקובץ מושבת","Rename folder »%{name}«":"שנה שם הדירקטוריון »%{name}«","%{resource} was restored successfully":"%{resource} הוחזר בהצלחה","%{resourceCount} files restored successfully":"%{resourceCount} קבצים חודשו בהצלחה","Failed to restore \\"%{resource}\\"":"נכשל בהחזרת \\"%{resource}\\"","Failed to restore %{resourceCount} files":"נכשל בהחזרת %{resourceCount} קבצים","Restore":"חזרה ליסור","Save as":"שמור כ־","Crop your Space image":"השתמשו באיור שלכם","Set as space image":"הוסף כ תמונה חלל","All Actions":"כל הפעולות","Details":"תיאור","Share":"חלוקת","The share was hidden successfully":"המירבון הוסתר בהצלחה","The share was unhidden successfully":"הפיתול הוסתר בהצלחה","Failed to hide the share":"כשל בהסתרת הפצת הידע","Failed to unhide the share":"נכשל בהסתרת התחזוקה של התחזוקה","Unhide":"הצג","Hide":"סתור","Failed to restore files":"לא הצליחה להחזיר את הקבצים","⌘ + Z":"⌘ + Z","Ctrl + Z":"Ctrl + חזרה","Undo":"החזרה","\\"%{item}\\" was moved to trash bin":"%{item} הועבר/ה למחסן","%{itemCount} item was moved to trash bin":["%{itemCount} פריט הועבר למחסן זבל","%{itemCount} פריטים הועברו לקופסת תפוזים","%{itemCount} פריטים הועברו לקופסת תפוזים"],"Permanently delete folder »%{name}«":"מחיקה קבועה של תיקייה »%{name}«","Permanently delete file »%{name}«":"מחיקה קבועה של קובץ »%{name}«","Permanently delete selected resource?":["למחוק באופן קבוע את המשאב הנבחר?","למחוק באופן קבוע %{amount} משאבים נבחרים?","למחוק באופן קבוע %{amount} משאבים נבחרים?"],"Are you sure you want to delete this folder? All its content will be permanently removed. This action cannot be undone.":"אתה בטוח שאתה רוצה למחוק את הפולדר הזה? כל תוכנו ימחק באופן קבוע. פעולה זו לא תוכל להיפתור.","Are you sure you want to delete this file? All its content will be permanently removed. This action cannot be undone.":"אתה בטוח שאתה רוצה למחוק את זה? כל תוכנו ימחק באופן קבוע. פעולה זו לא תוכל להיפטר ממנה.","Are you sure you want to delete all selected resources? All their content will be permanently removed. This action cannot be undone.":"האם אתה בטוח שאתה רוצה למחוק את כל משאבי הנבחרים? כל תוכנם ייפרע באופן קבוע. פעולה זו לא יכולה להיפתור.","\\"%{item}\\" was deleted successfully":"הפסקה \\"%{item}\\" הוסרה בהצלחה","%{itemCount} item was deleted successfully":["%{itemCount} פריט הושמד בהצלחה","%{itemCount} פריטים הושמדו בהצלחה","אֵלֶּה %{itemCount} מַתְּעָדִים הֻרְחְמוּ בהצלחה"],"Failed to delete \\"%{item}\\"":"נכשל בהסרת \\"%{item}\\"","Failed to delete \\"%{resource}\\"":"נכשל בהסרת \\"%{resource}\\"","Failed to delete \\"%{resource}\\" - the file is locked":"כשל בהסרת \\"%{resource}\\" - הקובץ מושחת","The name cannot be empty":"השם לא יכול להיות ריק","The name cannot contain \\"/\\"":"השם לא יכול להכיל את הדגש על / (כפול או יחיד)","The name cannot be equal to \\".\\"":"השם לא יכול להיות שווה ל- \\"","The name cannot be equal to \\"..\\"":"השם לא יכול להיות שווה ל- \\"...","The name cannot start or end with whitespace":"שם האובייקט לא יכול להתחיל או להסתיים בחלל ריק","The name is too long":"השם ארוך מדי","The name »%{name}« is already taken":"שם ה\\"%{name}« כבר קיים","The Space name cannot be empty":"השם של החלל לא יכול להיות ריק","The Space name is too long":"שם החלל הוא ארוך מדי","The Space name cannot start or end with whitespace":"שם החלל לא יכול להתחיל או לסתום בהפרדה","The Space name cannot contain the following characters: / \\\\\\\\ . : ? * \\" > < |'":"שם החלל לא יכול להכיל את הדוידים הבאים: / \\\\ . : ? * \\" > < |'","New Space":"מרחב חדש","Create a new space":"הוציאו מקום חדש","New space":"מרחב חדש","Space »%{space}« was deleted successfully":"מרחב »%{space}« הוסר בהצלחה","%{spaceCount} space was deleted successfully":["%{spaceCount} מקום הוסר בהצלחה","%{spaceCount} מקומות חלל הוסרו בהצלחה","{\\"source\\": \\"%{spaceCount} מקומות חלל הוסרו בהצלחה\\""],"Failed to delete space »%{space}«":"נכשל בהסרת מקום »%{space}«","Failed to delete %{spaceCount} space":["נכשל בהסרת %{spaceCount} מקום","כושל להסיר %{spaceCount} מקומות חופשיים","נכשל בהסרת %{spaceCount} מקומות ריקים"],"Are you sure you want to delete the selected space?":["האם אתה בטוח שאתה רוצה למחוק את המרחב המושלם?","האם אתה בטוח שאתה רוצה למחוק את %{count} החללים המושבחים?","האם אתה בטוח שאתה רוצה למחוק את %{count} המקומות שנבחרו?"],"Delete Space »%{space}«?":["למחוק חלל »%{space}«?","מחיקה %{spaceCount} מקומות חלל?","למחוק %{spaceCount} מקומות חלל?"],"Space image deleted successfully":"הפסקת תמונה מהחלל הושלמה בהצלחה","Failed to delete space image":"נכשל בהשמדת תמונה של מקום","Delete »%{space}« image":"מחיקה »%{space}« תמונה","Are you sure you want to delete the image of »%{space}«?":"האם אתה בטוח שאתה רוצה למחוק את התמונה של «%{space}»?","Delete image":"הסיר תמונה","Space »%{space}« was disabled successfully":"מרחב »%{space}« הושבת בהצלחה","%{spaceCount} space was disabled successfully":["{\\"source\\": \\"%{spaceCount} מקום הושבת בהצלחה\\"}","{\\"source\\": \\"%{spaceCount} מקומות חסומים בהצלחה\\"","{\\"source\\": \\"%{spaceCount} מקומות חסומים בהצלחה\\""],"Failed to disable space »%{space}«":"נכשל בהפסקת מקום »%{space}«","Failed to disable %{spaceCount} space":["כשל בהפסקת %{spaceCount} מקום","נכשל בהפחתת %{spaceCount} חלליים","נכשל בהפסקת %{spaceCount} מקומות חלל"],"If you disable the selected space, it can no longer be accessed. Only Space managers will still have access. Note: No files will be deleted from the server.":["אם אתם מפסיקים את החלל הנבחר, הוא לא יוכל עוד להישאר נגיש. רק מנהלי החלל ימשיכו להזין בו. הערה: לא ייפסלו קבצים מהשרת.","אם אתם מפסיקים את ה-%{count} מקומות שנבחרו, הם לא יוכלו עוד להישאר נגישים. רק מנהלי מקום ימשיכו להיות בעלי גישה. הערה: לא ייפסלו קבצים מהשרת.","אם אתם מפסיקים את הפסקות ה- %{count} שנבחרו, הן לא יוכלו עוד להישאר נגישות. רק מנהלי פסקה ימשיכו להזין גישה. הערה: לא ייפסלו קבצים מהשרת."],"Disable":"הפסקה","Disable Space »%{space}«?":["הפסקה »%{space}«?","הפסקת %{spaceCount} מקומות חופשיים?","הפסקה את %{spaceCount} החלוקות?"],"Space »%{space}« was duplicated successfully":"מרחב »%{space}« נדפס בהצלחה כפול","Failed to duplicate space »%{space}«":"כשל בהעתקה מקום »%{space}«","Duplicate":"תקפול","Space subtitle was changed successfully":"הסובטיטל של החלל שונה בהצלחה","Failed to change space subtitle":"נכשל בהחלפת תת-שם מקום (subtitle)","Change subtitle for space":"שינוי תת-עטיפה עבור מקום","Space subtitle":"סרטון תת-תקן חלל","Edit subtitle":"ערוך תת-ספרות","Change quota for Space »%{name}«":"השנה קוטל עבור מקום »%{name}«","Change quota for %{count} Spaces":"שנה הגבלת הקצבה עבור %{count} מקומות חלל","Edit quota":"תקציב עריכה","Edit description":"ערוך תיאור","Open trash bin":"קופסת האשפה","Space name was changed successfully":"שם החלל שונה בהצלחה","Failed to rename space":"נכשל בהחלפת שם מקום","Rename space »%{name}«":"שנה שם »%{name}«","Space »%{space}« was enabled successfully":"מרחב »%{space}« הושקע בהצלחה","%{spaceCount} space was enabled successfully":["{\\"source\\": \\"%{spaceCount} מקום הושג בהצלחה\\"}","{%{spaceCount}%} מקומות חלל הוכנו בהצלחה","{\\"source\\": \\"%{spaceCount} מקומות חלל הושגו בהצלחה\\"}"],"Failed to enable space »%{space}«":"נכשל בהפעלת מקום »%{space}«","Failed to enable %{spaceCount} space":["נכשל בהפעלת %{spaceCount} מקום","נכשל בהפעלת %{spaceCount} מקומות חופשיים","נכשל בהפעלת %{spaceCount} מקומות חופשיים"],"If you enable the selected space, it can be accessed again.":["אם תאפשר את החלל המבחר, הוא יכול להישאר נגיש שוב.","אם אתם מאפשרים את %{count} המרחבים הנבחרים, הם יכולים להישאר נגישים שוב.","אם אתם מאפשרים את ה-%{count} מקומות הנבחרים, הם יכולים להישאר נגישים שוב."],"Enable":"translation","Enable Space »%{space}«?":["אפשרות מקום »%{space}«?","אפשר לפתוח %{spaceCount} מקומות חופשיים?","אפשרות להעביר %{spaceCount} מקומות חלל?"],"Set icon for »%{space}«":"הגדיר את האיקון עבור »%{space}«","Space icon was set successfully":"תמונת החלל הוכנה בהצלחה","Failed to set space icon":"כושל בהגדרת סמל מקום","Not enough quota to set the space icon":"אין כמות מספיקה כדי ליצור את סמל החלון","Set icon":"הציב את האיקון","Pop-up and redirect block detected":"הפופ-אפ והפנייה מונעים זיהוי detected","Please turn on pop-ups and redirects in your browser settings to make sure everything works right.":"התקן את הגדרות הפופ-אפים וההנחיות שלך בחלון הדפדפן כדי להבטיח שהכל עובד נכון.","Download failed":"העלאה נכשלה","File could not be located":"הפיל לא נמצא","Spaces":"מרוצים","Shares":"חלקות","Shared with me":"שיתף איתי","Personal":"אישי","Link has been created successfully":"האישור של קישור הושלם בהצלחה","%{link} Password:%{password}":"%{link} סיסמה:%{password}","Failed to create link":["כשל בהקמת קישור","נכשל בהקמת קישורים","נכשל בהקמת קישורים"],"Can view":"יכול לראות","View, download":"ראו, הורד","Can upload":"יכול להעלות","View, upload, download":"ראות, העלה, הורד","Can edit":"ניתן לערוך","View, upload, edit, download, delete":"ראות, העלות, ערוך, הורד, מחיק","Secret File Drop":"תיקת חבירה סודית","Upload only, existing content is not revealed":"העלה רק, תוכן קיימים אינו נחשף","Copied to clipboard!":"נשמר בקליפבורד!","Cut to clipboard!":"העתיק לחתך!","%{ filesCount } file":["%{filesCount} דף","%{filesCount} דפים","%{filesCount} דפים"],"%{ filesCount } file including %{ filesHiddenCount } hidden":["%{filesCount} תיקון כולל %{filesHiddenCount} מסתור","{\\"source\\": \\"%{filesCount} קבצים כולל %{filesHiddenCount} סתרים\\"","{\\"source\\": \\"%{filesCount} קבצים כולל %{filesHiddenCount} סתרים\\""],"%{ foldersCount } folder":["%{foldersCount} תיקייה","%{foldersCount} תיקיות","%{foldersCount} תיקיות"],"%{ foldersCount } folder including %{ foldersHiddenCount } hidden":["{\\"source\\": \\"%{foldersCount} תיקייה כולל %{foldersHiddenCount} תיקיות סתר\\"}","{\\"source\\": \\"%{foldersCount} תיקיות כולל %{foldersHiddenCount} תיקיות סתרים\\"","{\\"source\\": \\"%{foldersCount} תיקיות כולל %{foldersHiddenCount} תיקיות סתרים\\""],"%{ spacesCount } space":["%{spacesCount} מקום","%{spacesCount} spaces","%{spacesCount} spaces"],"%{ itemsCount } item with %{ itemSize } in total":"%{itemsCount} איטם עם %{itemSize} בסך הכל","%{ itemsCount } item in total":"{\\"source\\": \\"%{itemsCount} פריט בסך הכל\\"","%{ itemsCount } items with %{ itemSize } in total":"%{itemsCount} פריטים עם %{itemSize} בסך הכל","%{ itemsCount } items in total":"{\\"source\\": \\"%{itemsCount} פריטים בסך הכל\\"","This item is directly shared with others.":"אותו פריט משתף ישירות עם אחרים.","This item is shared with others through one of the parent folders.":"אותו פריט משתף עם אחרים באמצעות אחד מהפליפים ההורים.","This item is directly shared via links.":"היתרון הזה משתף ישירות באמצעות קישורים.","This item is shared via links through one of the parent folders.":"אותו פריט משתף דרך קישורים דרך אחד מהפלפים האביים.","Show invited people":"הזמנו אורחים","This item is synced with your devices":"אנחנו מחוברים עם מכשירייך","Synced with your devices":"סינכרון עם מכשירי היכם","Show links":"הצג קישורים","Item locked":"הספר/הערך מוקף בלוק","Item in processing":"עיבוד מוצר","This item is in processing":"This item is in processing","Space is enabled":"החלל מופעל","Space is disabled":"החלל מופעל/נכון (לא פעיל)","Select folder":"בחר תיקייה","Select space":"בחר מקום","Select file":"בחר קובץ","Clear selection":"בחירה ברורה","Select all":"בחר את כל ה־","Folder already exists":"תיקייה קיימת כבר","File already exists":"הפילם כבר קיים","Copy here?":"העתיק כאן?","Copy here":"העתיק כאן","You can't paste the selected file at this location because you can't paste an item into itself.":["אתה לא יכול להעביר את הקובץ שנבחר למקום זה מכיוון שאתה לא יכול להעביר פריט אל עצמו.","אתה לא יכול להעביר את הקבצים הנבחרים למקום זה מכיוון שאין יכולת להעביר פריט אל עצמו.","אתה לא יכול להעביר את הקובצים הנבחרים למקום זה מכיוון שאין אפשרות להעביר פריט אל עצמו."],"%{count} item was copied successfully":["המידע הוסר בהצלחה %{count} פריט","{%{count} איטם%} הועתקו בהצלחה","%{count} פריטים הועברו בהצלחה"],"%{count} item was moved successfully":["הפעלה של %{count} פריט הועברה בהצלחה","%{count} פריטים הועברו בהצלחה","{\\"source\\": \\"%{count} פריטים הועברו בהצלחה\\""],"Failed to copy %{count} resources":"נכשל בהעתקת %{count} משאבים","Failed to move %{count} resources":"כשל בהעברה של %{count} משאבים","Failed to copy »%{name}«":"כשל בהעתקה »%{name}«","Failed to move »%{name}«":"נכשל בהעברת »%{name}«","Insufficient quota":"כמות חסרה","A-Z":"א-ז","Z-A":"ב-ז","Newest":"הנוכחי","Oldest":"אַלְפַּיִם","Largest":"גדול ביותר","Smallest":"המינימלית","Search results":"תוצאות חיפוש","Favorite files":"תיקיות אהובות","Public file upload":"תעדוף עליית קובץ ציבורית","Files shared with me":"קבצים שנשלחו אליי","Files shared with others":"תעודות שיתופיות עם אחרים","Files shared via link":"קבצים שיתפו באמצעות קישור","Trash overview":"סיכום פסולת","Must not be empty":"לא צריך להיות ריק","Valid special characters: %{characters}":"כאשר תווים מיוחדים תקפים: %{characters}","%{param1}+ special characters":"%{param1}+ תוואי מיוחדים","%{param1}+ letters":"%{param1} + אותות","%{param1}+ uppercase letters":"{\\"source\\": \\"%{param1} + אותיות גדולות\\"}","%{param1}+ lowercase letters":"%{param1}+ אותיות קטנות","%{param1}+ numbers":"{\\"source\\": \\"%{param1} + מספרים\\"","Added %{numFiles} file(s)":"הוספתי %{numFiles} קובץ(ים)","Connect":"חיבור","Connect to %{pluginName}":"חבר עם %{pluginName}","Please authenticate with %{pluginName} to select files":"הזן איתך עם %{pluginName} כדי לבחור את התיקיות","Connection with Companion failed":"התחברות עם מחבר לא הצליחה","Loaded %{numFiles} files":"מופעלים %{numFiles} קבצים","Loading...":"טעון...","Log out":"התנתק","Public link without password protection":"רישיון ציבורי ללא הגנה מפסורד","Select %{smart_count}":"בחר %{smart_count}","Sign in with Google":"התחבר עם גוגל"}`),Pe={},Fe=JSON.parse(`{"Loading actions":"Caricamento azioni","No items selected.":"Nessun elemento selezionato.","%{ amount } item selected. Actions are available above the table.":["%{ amount } elemento selezionato. Le azioni sono disponibili sopra la tabella.","%{ amount } elementi selezionati. Le azioni sono disponibili sopra la tabella.","%{ amount } elementi selezionati. Le azioni sono disponibili sopra la tabella."],"%{appName} for %{fileName}":"%{appName} per %{fileName}","Importing failed":"Importazione non riuscita","File exceeds %{threshold}":"Il file supera %{threshold}","%{resource} exceeds the recommended size of %{threshold} for editing, and may cause performance issues.":"%{resource} supera la dimensione consigliata di %{threshold} per la modifica e potrebbe causare problemi di prestazioni.","Continue":"Continua","An error occurred":"Si è verificato un errore","File autosaved":"File salvato automaticamente","You're not authorized to save this file":"Non sei autorizzato a salvare questo file","Insufficient quota on \\"%{spaceName}\\" to save this file":"Quota insufficiente su \\"%{spaceName}\\" per salvare questo file","Insufficient quota for saving this file":"Quota insufficiente per salvare questo file","Save":"Salva","Unsaved changes":"Modifiche non salvate","Loading app":"Caricamento App","Close":"Chiudi","Show context menu":"Mostra menù contestuale","Autosave (every %{ duration })":"Salvataggio automatico (ogni %{ duration })","Upload":"Carica","Remove":"Rimuovi","Crop your new profile picture":"Ritaglia la tua foto profilo","Cancel":"Cancella","Set":"Imposta","Zoom via %{ zoomKeys }, pan via %{ panKeys }":"Zoom tramite %{ zoomKeys }, panoramica tramite %{ panKeys }","+-":"+-","↑↓←→":"↑↓←→","Are you sure you want to remove your profile picture?":"Sei sicuro di voler rimuovere la tua immagine del profilo?","Remove profile picture":"Rimuovi foto profilo","File size exceeds the limit of %{size}MB":"La dimensione del file supera il limite di %{size} MB","Profile picture was set successfully":"L'immagine del profilo è stata impostata correttamente","Failed to set profile picture":"Impossibile ripristinare il file","Profile picture was removed successfully":"L'immagine del profilo è stata rimossa con successo","Failed to remove profile picture":"Impossibile rimuovere l'immagine del profilo","Options":"Opzioni","Password":"Password","Password:":"Password:","Expiry date":"Data di scadenza","More options":"Più opzioni","Share link(s)":"Condividi link(s)","Copy link":"Copia link","Share link(s) and password(s)":"Condividi link e password","Copy link and password":"Copia link e password","Unnamed link":"Collegamento senza nome","Webpage or file":"Pagina Web o file","Enter the target URL of a webpage or the name of a file. Users will be directed to this webpage or file.":"Inserisci l'URL di destinazione di una pagina web o il nome di un file. Gli utenti verranno indirizzati a questa pagina web o a questo file.","Link to a file":"Collegamento a un file","Shortcut name":"Nome collegamento","Shortcut name as it will appear in the file list.":"Nome del collegamento così come apparirà nell'elenco dei file.","»%{name}« already exists":"»%{name}« esiste già","Shortcut name cannot contain \\"/\\"":"Il nome della scorciatoia non può contenere \\"/\\"","Shortcut was created successfully":"Il collegamento è stato creato correttamente","Failed to create shortcut":"Impossibile creare il collegamento","Open with...":"Apri con...","Open »%{name}«":"Apri »%{name}«","This item is locked":"Questo elemento è bloccato","File is being processed":"Il file è in fase di elaborazione","Rename file »%{name}«":"Rinomina file »%{name}«","Rename":"Rinomina","Search for tag %{tag}":"Cerca il tag %{tag}","Name":"Nome","Manager":"Manager","Members":"Membri","Total quota":"Quota totale","Used quota":"Quota utilizzata","Remaining quota":"Quota rimanente","Status":"Stato","Size":"Dimensione","Info":"Informazioni","Tags":"Etichette","Shared by":"Condiviso da","Shared with":"Condiviso con","Modified":"Modificato","Shared on":"Condiviso su","Deleted":"Eliminato","Actions":"Azioni","folder":"cartella","file":"file","This %{ resourceType } is shared via %{ shareCount } invite":["Questo %{ resourceType } è condiviso tramite l'invito %{ shareCount }","Questo %{ resourceType } è condiviso tramite %{ shareCount } inviti","Questo %{ resourceType } è condiviso tramite %{ shareCount } inviti"],"This %{ resourceType } is shared by %{ user }":"Questo %{ resourceType } è condiviso da %{ user }","Disabled":"DIsabilitato","Sort by":"Ordina per","Custom date range":"Intervallo di date personalizzato","Go back to filter options":"Torna alle opzioni di filtro","Close filter":"Chiudi filtro","From":"Da","To":"A","Apply":"Applica","Filter list":"Elenco filtri","Toggle selection":"Attiva/disattiva selezione","Select a role":"Seleziona un ruolo","Role":"Ruolo","Expiration date":"Data di scadenza","Confirm":"Conferma","Skip":"Salta","Keep both":"Tienili entrambi","Apply to all %{count} conflicts":"Applica a tutti i %{count} conflitti","Apply to all %{count} folders":"Applica a tutte le %{count} cartelle","Apply to all %{count} files":"Applica a tutti i file %{count}","Folder with name »%{name}« already exists.":"La cartella con il nome »%{name}« esiste già.","File with name »%{name}« already exists.":"Il file con nome »%{name}« esiste già.","Replace":"Sostituisci","»%{fileName}« was saved successfully":"»%{fileName}« è stato salvato correttamente","Unable to save »%{fileName}«":"Impossibile salvare »%{fileName}«","Moving files from one space to another is not possible. Do you want to copy instead?":"Non è possibile spostare i file da uno spazio all'altro. Vuoi copiarli?","Note: Links and shares of the original file are not copied.":"Nota: i link e le condivisioni del file originale non vengono copiati.","Your changes were not saved. Do you want to save them?":"Le modifiche non sono state salvate. Vuoi salvarle?","Don't Save":"Non salvare","Navigation":"Navigazione","Quota":"Quota","No restriction":"Nessuna restrizione","Please enter only numbers":"Inserisci solo numeri","Please enter a value equal to or less than %{ quotaLimit }":"Inserisci un valore uguale o inferiore a %{ quotaLimit }","Location filter":"Filtra posizione","Current folder":"Cartella corrente","All files":"Tutti i file","Changes saved":"Modifiche salvate","Revert":"Ripristina","No changes":"Nessun cambiamento","Close file sidebar":"Chiudi la barra laterale del file","Back to %{panel} panel":"Torna al pannello %{panel}","Back to main panels":"Torna ai pannelli principali","Space image is loading":"L'immagine dello spazio è in fase di caricamento","Show":"Mostra","Overview of the information about the selected space":"Panoramica delle informazioni sullo spazio selezionato","Last activity":"Ultima attività","Subtitle":"Sottotitolo","%{displayName} (me)":"%{displayName} (io)","This space has one member and %{linkShareCount} link.":["Questo spazio ha un membro e un link %{linkShareCount}.","Questo spazio ha un membro e %{linkShareCount} link.","Questo spazio ha un membro e %{linkShareCount} link."],"This space has %{memberShareCount} members and one link.":"Questo spazio ha %{memberShareCount} membri e un link.","This space has %{memberShareCount} members and %{linkShareCount} links.":"Questo spazio ha %{memberShareCount} membri e %{linkShareCount} link.","Open share panel":"Apri il pannello di condivisione","Open link list in share panel":"Apri l'elenco dei link nel pannello di condivisione","Open member list in share panel":"Apri l'elenco dei membri nel pannello di condivisione","This space has %{memberShareCount} member.":["Questo spazio ha %{memberShareCount} membro.","Questo spazio ha %{memberShareCount} membri.","Questo spazio ha %{memberShareCount} membri."],"%{linkShareCount} link giving access.":["%{linkShareCount} link che dà accesso.","%{linkShareCount} link che danno accesso.","%{linkShareCount} link che danno accesso."],"Overview of the information about the selected spaces":"Panoramica delle informazioni sugli spazi selezionati","%{ itemCount } space selected":["%{ itemCount } spazio selezionato","%{ itemCount } spazi selezionati","%{ itemCount } spazi selezionati"],"Total quota:":"Quota totale:","Remaining quota:":"Quota rimanente:","Used quota:":"Quota utilizzata:","Enabled:":"Abilitato:","Disabled:":"DIsabilitato:","Select a space to view details":"Seleziona uno spazio per visualizzarne i dettagli","WebDAV path":"Percorso WebDAV","Copy WebDAV path":"Copia percorso WebDAV","Copy WebDAV path to clipboard":"Copia percorso WebDAV negli appunti","WebDAV URL":"URL WebDav","Copy WebDAV URL":"Copia WebDAV URL","Copy WebDAV URL to clipboard":"Copia WebDAV URL negli appunto","%{used} of %{total} used (%{percentage}% used)":"%{used} di %{total} utilizzato (%{percentage}% utilizzato)","%{used} used (no restriction)":"%{used} utilizzato (nessuna restrizione)","Space quota was changed successfully":["La quota di spazio è stata modificata con successo","La quota di %{count} spazi è stata modificata con successo","La quota di %{count} spazi è stata modificata con successo"],"User quota was changed successfully":["La quota utente è stata modificata correttamente","La quota di %{count} utenti è stata modificata con successo","La quota di %{count} utenti è stata modificata con successo"],"Quota was changed successfully":"La quota è stata modificata con successo","Failed to change space quota":["Impossibile modificare la quota di spazio","Impossibile modificare la quota per %{count} spazi","Impossibile modificare la quota per %{count} spazi"],"Failed to change user quota":["Impossibile modificare la quota utente","Impossibile modificare la quota per %{count} utenti","Impossibile modificare la quota per %{count} utenti"],"Failed to change quota":"Impossibile modificare la quota","Space image was set successfully":"L'immagine dello spazio è stata impostata correttamente","Failed to set space image":"Impossibile impostare l'immagine dell\\\\o spazio","Not enough quota to set the space image":"Quota insufficiente per impostare l'icona dello spazio","Failed to load space image":"Impossibile caricare l'immagine dello spazio","hide line numbers":"nascondere i numeri di riga","show line numbers":"mostra i numeri di riga","Checking for updates":"Controllo degli aggiornamenti","Up to date":"Aggiornato","Version %{version} available":"Versione %{version} disponibile","Switch view mode":"Cambia modalità di visualizzazione","View mode":"Modalità di visualizzazione","Display customization options of the files list":"Visualizza le opzioni di personalizzazione dell'elenco dei file","View options":"Visualizza le opzioni","Show hidden files":"Mostra file nascosti","Show file extensions":"Mostra estensioni file","Items per page":"Items per pagina","Show disabled Spaces":"Mostra Spazi disabilitati","Show empty trash bins":"Mostra i cestini vuoti","Tile size":"Dimensione della Tile","Download":"Scarica","⌘ + C":"⌘ + C","Ctrl + C":"Ctrl + C","Copy":"Copia","The link has been copied to your clipboard.":"Il collegamento è stato copiato negli appunti.","Copy link failed":"Copia del link non riuscita","Copy permanent link":"Copia link permanente","Copy link for »%{resourceName}«":["Copia il link per »%{resourceName}«","Copia i link per gli elementi selezionati","Copia i link per gli elementi selezionati"],"Create links":"Crea link","New file":"Nuovo file","Create a new file":"Crea nuovo file","Create":"Crea","File name":"Nome file","»%{fileName}« was created successfully":"»%{fileName}« è stato creato con successo","Failed to create file":"Impossibile creare il file","»%{folderName}« was created successfully":"»%{folderName}« è stato creato con successo","Failed to create folder":"Impossibile creare la cartella","New folder":"Nuova cartella","Create a new folder":"Crea nuova cartella","Folder name":"Nome cartella","New Folder":"Nuova Cartella","Create a Shortcut":"Crea una scorciatoia","New Shortcut":"Nuova scorciatoia","Space was created successfully":"Lo spazio è stato creato correttamente","Creating space failed…":"Creazione dello spazio fallito...","Create Space from »%{resourceName}«":["Crea Spazio dalla »%{resourceName}«","Crea Spazio dalla selezione","Crea Spazio dalla selezione"],"Create Space with the content of »%{resourceName}«.":["Crea uno spazio con il contenuto di »%{resourceName}«.","Crea Spazio dai files selezionati","Crea Spazio dai files selezionati"],"The marked elements will be copied.":"Gli elementi contrassegnati verranno copiati.","Restrictions":"Restrizioni","Shares, versions and tags will not be copied.":"Le condivisioni, le versioni e i tag non verranno copiati.","Space name":"Nome spazio","Create Space from selection":"Crea Spazio dalla selezione","Delete":"Elimina","File can't be deleted because it is currently locked.":"Il file non può essere eliminato perché è attualmente bloccato.","Sync for the selected share was disabled successfully":["La sincronizzazione per la condivisione selezionata è stata disabilitata correttamente","La sincronizzazione per le condivisioni selezionate è stata disabilitata correttamente","La sincronizzazione per le condivisioni selezionate è stata disabilitata correttamente"],"Failed to disable sync for the the selected share":["Impossibile disabilitare la sincronizzazione per la condivisione selezionata","Impossibile disabilitare la sincronizzazione per le condivisioni selezionate","Impossibile disabilitare la sincronizzazione per le condivisioni selezionate"],"Disable sync":"Disabilita la sincronizzazione","Failed to download the selected folder.":"Impossibile scaricare il file selezionato.","The selection exceeds the allowed archive size (max. %{maxSize})":"La selezione supera la dimensione di archivio consentita (max. %{maxSize})","All deleted files were removed":"Tutti i file eliminati sono stati rimossi","Failed to empty trash bin":"Impossibile svuotare il cestino","Empty trash bin for »%{name}«":"Svuota il cestino per »%{name}«","Are you sure you want to permanently delete the items in »%{name}«? You can’t undo this action.":"Vuoi davvero eliminare definitivamente gli elementi in »%{name}«? Non puoi annullare questa azione.","Empty trash bin":"Svuota cestino","Sync for the selected share was enabled successfully":["La sincronizzazione per la condivisione selezionata è stata abilitata correttamente","La sincronizzazione per le condivisioni selezionate è stata abilitata correttamente","La sincronizzazione per le condivisioni selezionate è stata abilitata correttamente"],"Failed to enable sync for the the selected share":["Impossibile abilitare la sincronizzazione per la condivisione selezionata","Impossibile abilitare la sincronizzazione per le condivisioni selezionate","Impossibile abilitare la sincronizzazione per le condivisioni selezionate"],"Enable sync":"Abilita sincronizzazione","Failed to change favorite state of \\"%{file}\\"":"Impossibile modificare lo stato preferito di \\"%{file}\\"","Remove from favorites":"Rimuovi dai preferiti","Add to favorites":"Aggiungi ai preferiti","⌘ + X":"⌘ + X","Ctrl + X":"Ctrl + X","Cut":"Taglia","Failed to open shortcut":"Impossibile aprire il collegamento","Open shortcut":"Apri scorciatoia","Open file in %{app}":"Apri il file in %{app}","Open":"Aperto","⌘ + V":"⌘ + V","Ctrl + V":"Ctrl + V","Paste":"Incolla","Failed to rename \\"%{file}\\" to »%{newName}«":"Impossibile rinominare \\"%{file}\\" in »%{newName}«","Failed to rename »%{file}« to »%{newName}« - the file is locked":"Impossibile rinominare »%{file}« in »%{newName}« - il file è bloccato","Rename folder »%{name}«":"Rinomina cartella »%{name}«","%{resource} was restored successfully":"%{resource} è stato ripristinato correttamente","%{resourceCount} files restored successfully":"%{resourceCount} file ripristinati correttamente","Failed to restore \\"%{resource}\\"":"Impossibile ripristinare \\"%{resource}\\"","Failed to restore %{resourceCount} files":"Impossibile ripristinare %{resourceCount} file","Restore":"Ripristina","Save as":"Salva come","Crop your Space image":"Ritaglia la tua immagine per lo spazio","Set as space image":"Imposta come immagine dello spazio","All Actions":"Tutte le azioni","Details":"Dettagli","Share":"Condividi","The share was hidden successfully":"La condivisione è stata nascosta correttamente","The share was unhidden successfully":"La condivisione è stata visualizzata correttamente","Failed to hide the share":"Impossibile nascondere la condivisione","Failed to unhide the share":"Impossibile visualizzare la condivisione","Unhide":"Scopri","Hide":"Nascondi","Failed to restore files":"Impossibile ripristinare i file","⌘ + Z":"⌘ + Z","Ctrl + Z":"Ctrl + Z","Undo":"Annulla","\\"%{item}\\" was moved to trash bin":"\\"%{item}\\" è stato spostato nel cestino","%{itemCount} item was moved to trash bin":["%{itemCount} elemento è stato spostato nel cestino","%{itemCount} elementi sono stati spostati nel cestino","%{itemCount} elementi sono stati spostati nel cestino"],"Permanently delete folder »%{name}«":"Elimina definitivamente la cartella »%{name}«","Permanently delete file »%{name}«":"Elimina definitivamente il file »%{name}«","Permanently delete selected resource?":["Eliminare definitivamente la risorsa selezionata?","Eliminare definitivamente %{amount} risorse selezionate?","Eliminare definitivamente %{amount} risorse selezionate?"],"Are you sure you want to delete this folder? All its content will be permanently removed. This action cannot be undone.":"Vuoi davvero eliminare questa cartella? Tutto il suo contenuto verrà rimosso definitivamente. Questa azione non può essere annullata.","Are you sure you want to delete this file? All its content will be permanently removed. This action cannot be undone.":"Vuoi davvero eliminare questo file? Tutto il suo contenuto verrà rimosso definitivamente. Questa azione non può essere annullata.","Are you sure you want to delete all selected resources? All their content will be permanently removed. This action cannot be undone.":"Vuoi davvero eliminare tutte le risorse selezionate? Tutto il loro contenuto verrà rimosso definitivamente. Questa azione non può essere annullata.","\\"%{item}\\" was deleted successfully":"\\"%{item}\\" è stato eliminato correttamente","%{itemCount} item was deleted successfully":["%{itemCount} elemento è stato eliminato correttamente","%{itemCount} elementi sono stati eliminati correttamente","%{itemCount} elementi sono stati eliminati correttamente"],"Failed to delete \\"%{item}\\"":"Impossibile eliminare \\"%{item}\\"","Failed to delete \\"%{resource}\\"":"Impossibile eliminare \\"%{resource}\\"","Failed to delete \\"%{resource}\\" - the file is locked":"Impossibile eliminare \\"%{resource}\\" - il file è bloccato","The name cannot be empty":"Il nome non può essere vuoto","The name cannot contain \\"/\\"":"Il nome non può contenere \\"/\\"","The name cannot be equal to \\".\\"":"Il nome non può essere uguale a \\".\\"","The name cannot be equal to \\"..\\"":"Il nome non può essere uguale a \\"..\\"","The name cannot start or end with whitespace":"Il nome non può iniziare o terminare con uno spazio vuoto","The name is too long":"Il nome è troppo lungo","The name »%{name}« is already taken":"Il nome »%{name}« è già stato utilizzato","The Space name cannot be empty":"Il nome dello Spazio non può essere vuoto","The Space name is too long":"Il nome dello spazio è troppo lungo","The Space name cannot start or end with whitespace":"Il nome dello spazio non può iniziare o terminare con uno spazio vuoto","The Space name cannot contain the following characters: / \\\\\\\\ . : ? * \\" > < |'":"Il nome dello spazio non può contenere i seguenti caratteri: / \\\\\\\\ . : ? * \\" > < |'","New Space":"Nuovo Spazio","Create a new space":"Crea nuovo spazio","New space":"Nuovo spazio","Space »%{space}« was deleted successfully":"Lo spazio »%{space}« è stato eliminato con successo","%{spaceCount} space was deleted successfully":["%{spaceCount} spazio è stato eliminato correttamente","%{spaceCount} spazi eliminati con successo","%{spaceCount} spazi eliminati con successo"],"Failed to delete space »%{space}«":"Impossibile eliminare lo spazio »%{space}«","Failed to delete %{spaceCount} space":["Impossibile eliminare %{spaceCount} spazio","Impossibile eliminare %{spaceCount} spazi","Impossibile eliminare %{spaceCount} spazi"],"Are you sure you want to delete the selected space?":["Vuoi davvero eliminare lo spazio selezionato?","Vuoi davvero eliminare %{count} spazi selezionati?","Vuoi davvero eliminare %{count} spazi selezionati?"],"Delete Space »%{space}«?":["Eliminare lo spazio »%{space}«?","Eliminare %{spaceCount} spazi?","Eliminare %{spaceCount} spazi?"],"Space image deleted successfully":"L'immagine dello spazio è stata eliminata correttamente","Failed to delete space image":"Impossibile eliminare l'immagine dello spazio","Delete »%{space}« image":"Elimina l'immagine »%{spazio}«","Are you sure you want to delete the image of »%{space}«?":"Sei sicuro di voler eliminare l'immagine di »%{space}«?","Delete image":"Elimina immagine","Space »%{space}« was disabled successfully":"Lo spazio »%{space}« è stato disabilitato correttamente","%{spaceCount} space was disabled successfully":["%{spaceCount} spazio è stato disabilitato correttamente","%{spaceCount} spazi sono stati disabilitati correttamente","%{spaceCount} spazi sono stati disabilitati correttamente"],"Failed to disable space »%{space}«":"Impossibile disabilitare lo spazio »%{space}«","Failed to disable %{spaceCount} space":["Impossibile disabilitare %{spaceCount} spazio","Impossibile disabilitare %{spaceCount} spazi","Impossibile disabilitare %{spaceCount} spazi"],"If you disable the selected space, it can no longer be accessed. Only Space managers will still have access. Note: No files will be deleted from the server.":["Se disattivi lo spazio selezionato, non sarà più accessibile. Solo i gestori degli spazi avranno ancora accesso. Nota: nessun file verrà eliminato dal server.","Se disattivi i %{count} spazi selezionati, non saranno più accessibili. Solo i gestori degli spazi avranno ancora accesso. Nota: nessun file verrà eliminato dal server.","Se disattivi i %{count} spazi selezionati, non saranno più accessibili. Solo i gestori degli spazi avranno ancora accesso. Nota: nessun file verrà eliminato dal server."],"Disable":"DIsabilitato","Disable Space »%{space}«?":["Disabilitare lo spazio »%{space}«?","Disattivare %{spaceCount} spazi?","Disattivare %{spaceCount} spazi?"],"Space »%{space}« was duplicated successfully":"Lo spazio »%{space}« è stato duplicato correttamente","Failed to duplicate space »%{space}«":"Impossibile duplicare lo spazio »%{space}«","Duplicate":"Duplica","Space subtitle was changed successfully":"Il sottotitolo dello spazio è stato modificato con successo","Failed to change space subtitle":"Impossibile modificare il sottotitolo dello spazio","Change subtitle for space":"Cambia il sottotitolo per lo spazio","Space subtitle":"Sottotitolo spazio","Edit subtitle":"Modifica sottotitolo","Change quota for Space »%{name}«":"Modifica quota per lo spazio »%{name}«","Change quota for %{count} Spaces":"Modifica quota per %{count} spazi","Edit quota":"Modifica quota","Edit description":"Modifica descrizione","Open trash bin":"Apri cestino","Space name was changed successfully":"Il nome dello spazio è stato modificato con successo","Failed to rename space":"Impossibile rinominare lo spazio","Rename space »%{name}«":"Rinomina spazio »%{name}«","Space »%{space}« was enabled successfully":"Lo spazio »%{space}« è stato abilitato correttamente","%{spaceCount} space was enabled successfully":["%{spaceCount} spazio è stato abilitato correttamente","%{spaceCount} spazi sono stati abilitati correttamente","%{spaceCount} spazi sono stati abilitati correttamente"],"Failed to enable space »%{space}«":"Impossibile abilitare lo spazio »%{space}«","Failed to enable %{spaceCount} space":["Impossibile abilitare %{spaceCount} spazio","Failed to enable %{spaceCount} spaces","Impossibile abilitare %{spaceCount} spazi"],"If you enable the selected space, it can be accessed again.":["Se si abilita lo spazio selezionato, sarà possibile accedervi nuovamente.","Se si abilitano i %{count} spazi selezionati, sarà possibile accedervi nuovamente.","Se si abilitano i %{count} spazi selezionati, sarà possibile accedervi nuovamente."],"Enable":"Abilita","Enable Space »%{space}«?":["Abilitare lo spazio »%{space}«?","Abilitare %{spaceCount} spazi?","Abilitare %{spaceCount} spazi?"],"Set icon for »%{space}«":"Imposta l'icona per »%{spazio}«","Space icon was set successfully":"L'icona dello spazio è stata impostata correttamente","Failed to set space icon":"Impossibile impostare l'icona dello spazio","Not enough quota to set the space icon":"Quota insufficiente per impostare l'icona dello spazio","Set icon":"Imposta icon","Pop-up and redirect block detected":"Rilevato blocco pop-up e reindirizzamento","Please turn on pop-ups and redirects in your browser settings to make sure everything works right.":"Per assicurarti che tutto funzioni correttamente, attiva i pop-up e i reindirizzamenti nelle impostazioni del tuo browser.","Download failed":"Download fallito","File could not be located":"Impossibile trovare il file","Spaces":"Spazi","Shares":"Condivisioni","Shared with me":"Condiviso con me","Personal":"Personale","Link has been created successfully":"Il collegamento è stato creato con successo","%{link} Password:%{password}":"%{link} Password:%{password}","Failed to create link":["Impossibile creare il collegamento","Impossibile creare collegamenti","Impossibile creare collegamenti"],"Can view":"Può visualizzare","View, download":"Visualizza, scarica","Can upload":"Può caricare","View, upload, download":"Visualizza, carica, scarica","Can edit":"Può modificare","View, upload, edit, download, delete":"Visualizza, carica, scaricata, elimina","Secret File Drop":"Rilascio di file segreti","Upload only, existing content is not revealed":"Solo caricamento, il contenuto esistente non viene rivelato","Copied to clipboard!":"Copiato negli appunti!","Cut to clipboard!":"Taglia negli appunti!","%{ filesCount } file":["%{fileCount} file","%{fileCount} file","%{fileCount} file"],"%{ filesCount } file including %{ filesHiddenCount } hidden":["%{ filesCount } file inclusi %{ filesHiddenCount } nascosti","%{ filesCount } file inclusi %{ filesHiddenCount } nascosti","%{ filesCount } file inclusi %{ filesHiddenCount } nascosti"],"%{ foldersCount } folder":["%{ foldersCount } cartella","%{ foldersCount } cartelle","%{ foldersCount } cartelle"],"%{ foldersCount } folder including %{ foldersHiddenCount } hidden":["%{ foldersCount } cartella inclusa %{ foldersHiddenCount } nascosta\\n ","%{ foldersCount } cartelle incluse %{ foldersHiddenCount } nascoste","%{ foldersCount } cartelle incluse %{ foldersHiddenCount } nascoste"],"%{ spacesCount } space":["%{spacesCount } spazio","%{spacesCount } spazi","%{spacesCount } spazi"],"%{ itemsCount } item with %{ itemSize } in total":"%{ itemsCount } item con %{ itemSize } in totale","%{ itemsCount } item in total":"%{ itemsCount } item in totale","%{ itemsCount } items with %{ itemSize } in total":"%{ itemsCount } items con %{ itemSize } in totale\\n ","%{ itemsCount } items in total":"%{ itemsCount } items in totale","This item is directly shared with others.":"Questo elemento è condiviso direttamente con altri.","This item is shared with others through one of the parent folders.":"Questo elemento è condiviso con altri tramite una delle cartelle padre.","This item is directly shared via links.":"Questo elemento viene condiviso direttamente tramite link.","This item is shared via links through one of the parent folders.":"Questo elemento è condiviso tramite link attraverso una delle cartelle padre.","Show invited people":"Mostra le persone invitate","This item is synced with your devices":"Questo elemento è sincronizzato con i tuoi dispositivi","Synced with your devices":"Sincronizzato con i tuoi dispositivi","Show links":"Mostra link","Item locked":"Item bloccato","Item in processing":"Item in processing","This item is in processing":"Questo articolo è in fase di elaborazione","Space is enabled":"Spazio è abilitato","Enabled":"Abilitato","Space is disabled":"Spazio è disabilitato","Select folder":"Seleziona cartella","Select space":"Seleziona spazio","Select file":"Seleziona file","Clear selection":"Pulisci selezione","Select all":"Seleziona tutto","Folder already exists":"La cartella esiste già","File already exists":"Il file esiste già","Copy here?":"Copiare qui?","Copy here":"Copia qui","You can't paste the selected file at this location because you can't paste an item into itself.":["Non puoi incollare il file selezionato in questa posizione perché non puoi incollare un elemento in se stesso.","Non puoi incollare i file selezionati in questa posizione perché non puoi incollare un elemento in se stesso.","Non puoi incollare i file selezionati in questa posizione perché non puoi incollare un elemento in se stesso."],"%{count} item was copied successfully":["%{count} elemento è stato copiato correttamente","%{count} elementi sono stati copiati correttamente","%{count} elementi sono stati copiati correttamente"],"%{count} item was moved successfully":["%{count} elemento è stato spostato con successo","%{count} elementi sono stati spostati con successo","%{count} elementi sono stati spostati con successo"],"Failed to copy %{count} resources":"Impossibile copiare %{count} risorse","Failed to move %{count} resources":"Impossibile spostare %{count} risorse","Failed to copy »%{name}«":"Impossibile copiare »%{name}«","Failed to move »%{name}«":"Impossibile spostare »%{name}«","Insufficient quota":"Quota insufficiente","A-Z":"A-Z","Z-A":"Z-A","Newest":"Più recente","Oldest":"Più vecchio","Largest":"Il più grande","Smallest":"Il più piccolo","Search results":"Risultati della ricerca","Favorite files":"File preferiti","Public file upload":"Caricamento file pubblico","Files shared with me":"File condivisi con me","Files shared with others":"File condivisi con altri","Files shared via link":"File condivisi tramite link","Trash overview":"Panoramica dei rifiuti","Must not be empty":"Non deve essere vuoto","Valid special characters: %{characters}":"Caratteri speciali validi: %{caratteri}","%{param1}+ special characters":"%{param1}+ caratteri speciali","%{param1}+ letters":"%{param1}+ lettere","%{param1}+ uppercase letters":"%{param1}+ lettere maiuscole","%{param1}+ lowercase letters":"%{param1}+ lettere minuscole","%{param1}+ numbers":"%{param1}+ numeri","Added %{numFiles} file(s)":"Aggiunti %{numFiles} file(s)","Connect":"Connesso","Connect to %{pluginName}":"Connettiti a %{pluginName}","Please authenticate with %{pluginName} to select files":"Si prega di autenticarsi con %{pluginName} per selezionare i file","Connection with Companion failed":"Connessione con Companion fallita","Loaded %{numFiles} files":"Caricati %{numFiles} file","Loading...":"Caricamento...","Log out":"Disconnetti","Public link without password protection":"Collegamento pubblico senza protezione tramite password","Select %{smart_count}":"Seleziona %{smart_count}","Sign in with Google":"Accedi con Google"}`),Te=JSON.parse(`{"Loading actions":"アクションを読み込み中","No items selected.":"項目が選択されていません","%{ amount } item selected. Actions are available above the table.":"%{ amount } 個のアイテムを選択中。テーブル上のメニューから操作できます。","%{appName} for %{fileName}":"%{fileName} 用の %{appName}","Importing failed":"インポートに失敗","File exceeds %{threshold}":"ファイルサイズが上限(%{threshold})を超えています","%{resource} exceeds the recommended size of %{threshold} for editing, and may cause performance issues.":"%{resource} は推奨される編集サイズ(%{threshold})を超えており、パフォーマンスに影響する可能性があります。","Continue":"続ける","An error occurred":"エラーが発生しました","File autosaved":"ファイルを自動保存しました ","You're not authorized to save this file":"このファイルを保存する権限がありません","Insufficient quota on \\"%{spaceName}\\" to save this file":"「%{spaceName}」の容量が不足しているため、このファイルを保存できません","Insufficient quota for saving this file":"このファイルを保存するための容量が不足しています","Save":"保存","Unsaved changes":"保存されていない変更","Loading app":"アプリを起動中","Close":"閉じる","Show context menu":"コンテキストメニューを表示","Autosave (every %{ duration })":"自動保存(%{ duration } 秒ごと)","Upload":"アップロード","Remove":"削除","Crop your new profile picture":"新しいプロフィール画像を切り抜く","Cancel":"キャンセル","Set":"設定","Zoom via %{ zoomKeys }, pan via %{ panKeys }":"%{ zoomKeys } でズーム、%{ panKeys } でパン(移動)","+-":"+-","↑↓←→":"↑↓←→","Are you sure you want to remove your profile picture?":"プロフィール画像を削除してもよろしいですか?","Remove profile picture":"プロフィール画像を削除","File size exceeds the limit of %{size}MB":"ファイルサイズが制限(%{size}MB)を超えています","Profile picture was set successfully":"プロフィール画像を設定しました","Failed to set profile picture":"プロフィール画像の設定に失敗","Profile picture was removed successfully":"プロフィール画像を削除しました","Failed to remove profile picture":"プロフィール画像の削除に失敗","Options":"オプション","Password":"パスワード","Password:":"パスワード:","Expiry date":"有効期限","More options":"その他のオプション","Share link(s)":"共有リンク","Copy link":"リンクをコピー","Share link(s) and password(s)":"共有リンクとパスワード","Copy link and password":"リンクとパスワードをコピー","Unnamed link":"名前のないリンク","Webpage or file":" ウェブページまたはファイル","Enter the target URL of a webpage or the name of a file. Users will be directed to this webpage or file.":"移動先のURLまたはファイル名を入力してください。ユーザーはこのページまたはファイルに転送されます。","Link to a file":"ファイルへのリンク","Shortcut name":"ショートカット名","Shortcut name as it will appear in the file list.":"ファイルリストに表示されるショートカット名です。","»%{name}« already exists":"「%{name}」は既に存在します","Shortcut name cannot contain \\"/\\"":"ショートカット名に「/」を含めることはできません","Shortcut was created successfully":"ショートカットを作成しました","Failed to create shortcut":"ショートカットの作成に失敗","Open with...":"アプリで開く...","Open »%{name}«":"»%{name}« を開く","This item is locked":"このアイテムはロックされています","File is being processed":"ファイルを処理中","Rename file »%{name}«":"ファイル「%{name}」の名前を変更","Rename":"名前を変更","Search for tag %{tag}":"タグ「%{tag}」を検索","Name":"名称","Manager":"管理者","Members":"メンバー","Total quota":"総容量","Used quota":"使用済み容量","Remaining quota":"残り容量","Status":"ステータス","Size":"サイズ","Info":"詳細","Tags":"タグ","Shared by":"共有者","Shared with":"共有先","Modified":"更新日時","Shared on":"共有日","Deleted":"削除済み","Actions":"アクション","folder":"フォルダ","file":"ファイル","This %{ resourceType } is shared via %{ shareCount } invite":"この %{ resourceType } は %{ shareCount } 個の招待で共有されています","This %{ resourceType } is shared by %{ user }":"この %{ resourceType } は %{ user } によって共有されています","Disabled":"無効","Sort by":"並べ替え","Custom date range":"期間を指定","Go back to filter options":"フィルターオプションに戻る","Close filter":"フィルターを閉じる","From":"From","To":"To","Apply":"適用","Filter list":"リストをフィルター","Toggle selection":"選択状態を切り替え","Select a role":"ロールを選択してください","Role":"ロール(役割)","Expiration date":"有効期限","Confirm":"確認","Skip":"スキップ","Keep both":"両方を残す","Apply to all %{count} conflicts":"すべての %{count} 件の競合に適用","Apply to all %{count} folders":"すべての %{count} 個のフォルダに適用","Apply to all %{count} files":"すべての %{count} 個のファイルに適用","Folder with name »%{name}« already exists.":"「%{name}」という名前のフォルダは既に存在します","File with name »%{name}« already exists.":"「%{name}」という名前のファイルは既に存在します。","Replace":"上書き","»%{fileName}« was saved successfully":"「%{fileName}」を保存しました","Unable to save »%{fileName}«":"»%{fileName}« を保存できません","Moving files from one space to another is not possible. Do you want to copy instead?":"スペース間でのファイル移動はできません。代わりにコピーしますか?","Note: Links and shares of the original file are not copied.":"注意:元のファイルのリンクや共有設定はコピーされません","Your changes were not saved. Do you want to save them?":"変更が保存されていません。保存しますか?","Don't Save":"保存しない","Navigation":"ナビゲーション","Quota":"割当容量(クォータ)","No restriction":"制限無し","Please enter only numbers":"数字のみを入力してください","Please enter a value equal to or less than %{ quotaLimit }":"%{ quotaLimit } 以下の数値を入力してください","Location filter":"場所フィルター","Current folder":"現在のフォルダ","All files":"すべてのファイル","Changes saved":"変更を保存しました","Revert":"元に戻す","No changes":"変更無し","Close file sidebar":"サイドバーを閉じる","Back to %{panel} panel":"%{panel} パネルに戻る","Back to main panels":"メインパネルに戻る","Space image is loading":"スペースの画像を読み込み中","Show":"表示","Overview of the information about the selected space":"選択したスペースの情報の概要","Last activity":"最終アクティビティ","Subtitle":"サブタイトル","%{displayName} (me)":"%{displayName} (自分)","This space has one member and %{linkShareCount} link.":"このスペースには1人のメンバーと %{linkShareCount} 個のリンクがあります","This space has %{memberShareCount} members and one link.":"このスペースには %{memberShareCount} 人のメンバーと1つのリンクがあります","This space has %{memberShareCount} members and %{linkShareCount} links.":"このスペースには %{memberShareCount} 人のメンバーと %{linkShareCount} 個のリンクがあります","Open share panel":"共有パネルを開く","Open link list in share panel":"共有パネルでリンク一覧を開く","Open member list in share panel":"共有パネルでメンバ一覧を開く","This space has %{memberShareCount} member.":"このスペースには %{memberShareCount} 人のメンバーがいます","%{linkShareCount} link giving access.":"%{linkShareCount} 個の共有リンクが発行されています。","Overview of the information about the selected spaces":"選択した複数のスペースの情報の概要","%{ itemCount } space selected":" %{ itemCount } 個のスペースを選択中","Total quota:":"総容量:","Remaining quota:":"残り容量:","Used quota:":"使用済み容量:","Enabled:":"有効:","Disabled:":"無効:","Select a space to view details":"詳細を表示するスペースを選択してください","WebDAV path":" WebDAV パス","Copy WebDAV path":"WebDAVパスをコピー","Copy WebDAV path to clipboard":"WebDAV パスをコピー","WebDAV URL":"WebDAV URL","Copy WebDAV URL":"WebDAV URLをコピー","Copy WebDAV URL to clipboard":"WebDAV URLをコピー","%{used} of %{total} used (%{percentage}% used)":"%{total} 中 %{used} 使用済み (%{percentage}% 使用)","%{used} used (no restriction)":"%{used} 使用済み(制限なし)","Space quota was changed successfully":"%{count} 個のスペースの容量を変更しました","User quota was changed successfully":"%{count} 人のユーザーの容量を変更しました","Quota was changed successfully":"割当容量を変更しました","Failed to change space quota":"%{count} 個のスペースのクォータ変更に失敗しました","Failed to change user quota":"%{count} 人のユーザーのクォータ変更に失敗","Failed to change quota":"クォータの変更に失敗","Space image was set successfully":"スペースの画像を設定しました","Failed to set space image":"スペースの画像の設定に失敗","Not enough quota to set the space image":"容量不足のためスペースの画像を設定できません","Failed to load space image":"スペースの画像の読み込みに失敗","hide line numbers":"行番号を隠す","show line numbers":"行番号を表示","Checking for updates":"アップデートを確認中","Up to date":"最新の状態です","Version %{version} available":"バージョン %{version} が利用可能です","Switch view mode":"表示モードを切り替え","View mode":"表示モード","Display customization options of the files list":"ファイル一覧の表示カスタマイズオプションを表示","View options":"表示オプション","Show hidden files":"隠しファイルを表示","Show file extensions":"ファイル拡張子を表示","Items per page":"1ページあたりの表示件数","Show disabled Spaces":"無効化されたスペースを表示","Show empty trash bins":"空のゴミ箱を表示","Tile size":"タイルのサイズ","Download":"ダウンロード","⌘ + C":"⌘ + C","Ctrl + C":"Ctrl + C","Copy":"コピー","The link has been copied to your clipboard.":"リンクをクリップボードにコピーしました","Copy link failed":"リンクのコピーに失敗しました","Copy permanent link":"固定リンクをコピー","Copy link for »%{resourceName}«":"選択したアイテムのリンクをコピー","Create links":"リンクを作成","New file":"新規ファイル","Create a new file":"新規ファイルを作成","Create":"作成","File name":"ファイル名","»%{fileName}« was created successfully":"「%{fileName}」を作成しました","Failed to create file":"ファイルの作成に失敗","»%{folderName}« was created successfully":"「%{folderName}」を作成しました","Failed to create folder":"フォルダの作成に失敗","New folder":"新規フォルダ","Create a new folder":"新規フォルダを作成","Folder name":"フォルダ名","New Folder":"新規フォルダー","Create a Shortcut":"ショートカットを作成","New Shortcut":"新規ショートカット","Space was created successfully":"スペースを作成しました","Creating space failed…":"スペースの作成に失敗しました…","Create Space from »%{resourceName}«":"選択範囲からスペースを作成","Create Space with the content of »%{resourceName}«.":"選択したファイルでスペースを作成","The marked elements will be copied.":"選択した項目をコピーします","Restrictions":"制限事項","Shares, versions and tags will not be copied.":"共有設定、バージョン、タグはコピーされません。","Space name":"スペース名","Create Space from selection":"選択範囲からスペースを作成","Delete":"削除","File can't be deleted because it is currently locked.":"ファイルがロックされているため削除できません。","Sync for the selected share was disabled successfully":"選択した共有の同期を無効にしました","Failed to disable sync for the the selected share":"選択した共有の同期無効化に失敗","Disable sync":"同期を無効化","The selection exceeds the allowed archive size (max. %{maxSize})":"選択したサイズがアーカイブ制限(最大 %{maxSize})を超えています","All deleted files were removed":"削除済みのすべてのファイルが完全に消去されました","Failed to empty trash bin":"ごみ箱を空にできませんでした","Empty trash bin for »%{name}«":"「%{name}」のごみ箱を空にする","Are you sure you want to permanently delete the items in »%{name}«? You can’t undo this action.":"「%{name}」内のアイテムを完全に削除してもよろしいですか?この操作は取り消せません。","Empty trash bin":"ごみ箱を空にする","Sync for the selected share was enabled successfully":"選択した共有の同期を有効にしました","Failed to enable sync for the the selected share":"選択した共有の同期有効化に失敗","Enable sync":"同期を有効化","Failed to change favorite state of \\"%{file}\\"":"「%{file}」のお気に入り状態の変更に失敗しました","Remove from favorites":"お気に入りから削除","Add to favorites":"お気に入りに追加","⌘ + X":"⌘ + X","Ctrl + X":"Ctrl + X","Cut":"切り取り","Failed to open shortcut":"ショートカットを開けませんでした","Open shortcut":"ショートカットを開く","Open file in %{app}":"%{app} でファイルを開く","Open":"開く","⌘ + V":"⌘ + V","Ctrl + V":"Ctrl + V","Paste":"貼り付け","Failed to rename \\"%{file}\\" to »%{newName}«":"「%{file}」から「%{newName}」への名前変更に失敗","Failed to rename »%{file}« to »%{newName}« - the file is locked":"「%{file}」の名前変更に失敗(ファイルがロックされています)","Rename folder »%{name}«":"フォルダー「%{name}」の名前を変更","%{resource} was restored successfully":"%{resource} を復元しました","%{resourceCount} files restored successfully":"%{resourceCount} 個のファイルを復元しました","Failed to restore \\"%{resource}\\"":"「%{resource}」の復元に失敗","Failed to restore %{resourceCount} files":"%{resourceCount} 個のファイルの復元に失敗","Restore":"復元","Save as":"名前を付けて保存","Crop your Space image":"スペースの画像を切り抜く","Set as space image":"スペースの画像として設定","All Actions":"すべてのアクション","Details":"詳細","Share":"共有","The share was hidden successfully":"共有を非表示にしました","The share was unhidden successfully":"共有を表示しました","Failed to hide the share":"共有を非表示にできませんでした","Failed to unhide the share":"共有の再表示に失敗","Unhide":"再表示","Hide":"非表示","Failed to restore files":"ファイルの復元に失敗","⌘ + Z":"⌘ + Z","Ctrl + Z":"Ctrl + Z","Undo":"取り消し","\\"%{item}\\" was moved to trash bin":"「%{item}」をごみ箱に移動しました","%{itemCount} item was moved to trash bin":"%{itemCount} 個のアイテムをごみ箱へ移動しました","Permanently delete folder »%{name}«":"フォルダー「%{name}」を完全に削除する","Permanently delete file »%{name}«":"ファイル「%{name}」を完全に削除する","Permanently delete selected resource?":"選択した %{amount} 個のリソースを完全に削除しますか?","Are you sure you want to delete this folder? All its content will be permanently removed. This action cannot be undone.":"このフォルダを削除してもよろしいですか?すべての内容は完全に消去され、元に戻すことはできません。","Are you sure you want to delete this file? All its content will be permanently removed. This action cannot be undone.":"このファイルを削除してもよろしいですか?すべての内容は完全に消去され、元に戻すことはできません。","Are you sure you want to delete all selected resources? All their content will be permanently removed. This action cannot be undone.":"選択したすべてのリソースを削除してもよろしいですか?すべての内容は完全に消去され、元に戻すことはできません。","\\"%{item}\\" was deleted successfully":"「%{item}」を削除しました","%{itemCount} item was deleted successfully":"%{itemCount} 個のアイテムを削除しました","Failed to delete \\"%{item}\\"":"「%{item}」の削除に失敗","Failed to delete \\"%{resource}\\"":"「%{resource}」の削除に失敗","Failed to delete \\"%{resource}\\" - the file is locked":"「%{resource}」の削除に失敗(ファイルがロックされています)","The name cannot be empty":"名前を空にすることはできません","The name cannot contain \\"/\\"":"名前には「/」を含められません","The name cannot be equal to \\".\\"":"名前を「.」にすることはできません","The name cannot be equal to \\"..\\"":"名前を「..」にすることはできません","The name cannot start or end with whitespace":"前後に空白(スペース)を入れることはできません","The name is too long":"名前が長すぎます","The name »%{name}« is already taken":"名前「%{name}」はすでに使用されています","The Space name cannot be empty":"スペース名を入力してください","The Space name is too long":"スペース名が長すぎます","The Space name cannot start or end with whitespace":"スペース名の前後に空白を入れることはできません","The Space name cannot contain the following characters: / \\\\\\\\ . : ? * \\" > < |'":"スペース名に次の記号は使用できません : / \\\\ . : ? * \\" > < |","New Space":"新規スペース","Create a new space":"新規スペースを作成","New space":"新規スペース","Space »%{space}« was deleted successfully":"スペース「%{space}」を削除しました","%{spaceCount} space was deleted successfully":"%{spaceCount} 個のスペースを削除しました","Failed to delete space »%{space}«":"スペース「%{space}」の削除に失敗","Failed to delete %{spaceCount} space":"%{spaceCount} 個のスペースの削除に失敗","Are you sure you want to delete the selected space?":"選択した %{count} 個のスペースを削除してもよろしいですか?","Delete Space »%{space}«?":"%{spaceCount} 個のスペースを削除しますか?","Space image deleted successfully":"スペースの画像を削除しました","Failed to delete space image":"スペースの画像の削除に失敗","Delete »%{space}« image":"「%{space}」の画像を削除","Are you sure you want to delete the image of »%{space}«?":"「%{space}」の画像を削除してもよろしいですか?","Delete image":"画像を削除","Space »%{space}« was disabled successfully":"スペース「%{space}」を無効しました","%{spaceCount} space was disabled successfully":"%{spaceCount} 個のスペースを無効化しました","Failed to disable space »%{space}«":"スペース「%{space}」の無効化に失敗","Failed to disable %{spaceCount} space":"%{spaceCount} 個のスペースの無効化に失敗","If you disable the selected space, it can no longer be accessed. Only Space managers will still have access. Note: No files will be deleted from the server.":"選択した %{count} 個のスペースを無効にすると、アクセスできなくなります\\nスペース管理者のみが引き続きアクセス可能です\\n注意:サーバーからファイルが削除されることはありません","Disable":"無効化","Disable Space »%{space}«?":"%{spaceCount} 個のスペースを無効化しますか?","Space »%{space}« was duplicated successfully":"スペース「%{space}」を複製しました","Failed to duplicate space »%{space}«":"スペース「%{space}」の複製に失敗","Duplicate":"複製","Space subtitle was changed successfully":"スペースのサブタイトルを変更しました","Failed to change space subtitle":"スペースのサブタイトル変更に失敗","Change subtitle for space":"スペースのサブタイトルを変更","Space subtitle":"スペースのサブタイトル","Edit subtitle":"サブタイトルを編集","Change quota for Space »%{name}«":"スペース「%{name}」のクォータを変更","Change quota for %{count} Spaces":"%{count} 個のスペースのクォータを変更","Edit quota":"クォータを編集","Edit description":"説明を編集","Open trash bin":"ゴミ箱を開く","Space name was changed successfully":"スペース名を変更しました","Failed to rename space":"スペースの名前変更に失敗","Rename space »%{name}«":"スペース「%{name}」の名前を変更","Space »%{space}« was enabled successfully":"スペース「%{space}」を有効にしました","%{spaceCount} space was enabled successfully":"%{spaceCount} 個のスペースを有効化しました","Failed to enable space »%{space}«":"スペース「%{space}」の有効化に失敗","Failed to enable %{spaceCount} space":"%{spaceCount} 個のスペースの有効化に失敗","If you enable the selected space, it can be accessed again.":"選択した %{count} 個のスペースを有効にすると、再度アクセスできるようになります","Enable":"有効化","Enable Space »%{space}«?":"%{spaceCount} 個のスペースを有効化しますか?","Set icon for »%{space}«":" »%{space}« のアイコンを設定","Space icon was set successfully":"スペースのアイコンを設定しました","Failed to set space icon":"スペースのアイコンの設定に失敗","Not enough quota to set the space icon":"容量不足のためスペースのアイコンを設定できません","Set icon":"アイコンを設定","Pop-up and redirect block detected":"ポップアップとリダイレクトのブロックを検知しました","Please turn on pop-ups and redirects in your browser settings to make sure everything works right.":"正常に動作させるために、ブラウザの設定でポップアップとリダイレクトを許可してください。¥","Download failed":"ダウンロード失敗","File could not be located":"ファイルが見つかりませんでした","Spaces":"スペース","Shares":"共有","Shared with me":"自分に共有された項目","Personal":"個人用","Link has been created successfully":"リンクが正常に作成されました","%{link} Password:%{password}":"%{link} パスワード: %{password}","Failed to create link":"リンクの作成に失敗","Can view":"閲覧可能","View, download":"閲覧、ダウンロード","Can upload":"アップロード可能","View, upload, download":"閲覧、アップロード、ダウンロード","Can edit":"編集可","View, upload, edit, download, delete":" 閲覧、アップロード、編集、ダウンロード、削除","Secret File Drop":" シークレットファイルドロップ","Upload only, existing content is not revealed":"アップロード専用(既存の内容は表示されません)","Copied to clipboard!":"クリップボードにコピーしました","Cut to clipboard!":"クリップボードに切り取りました","%{ filesCount } file":"%{ filesCount } 個のファイル","%{ filesCount } file including %{ filesHiddenCount } hidden":"%{ filesCount } 個のファイル(うち隠しファイル %{ filesHiddenCount } 個)","%{ foldersCount } folder":"%{ foldersCount } 個のフォルダ","%{ foldersCount } folder including %{ foldersHiddenCount } hidden":"%{ foldersCount } 個のフォルダ(うち隠しフォルダ %{ foldersHiddenCount } 個)","%{ spacesCount } space":"%{ spacesCount } 個のスペース","%{ itemsCount } item with %{ itemSize } in total":"合計 %{ itemsCount } 個(%{ itemSize })のアイテム","%{ itemsCount } item in total":"合計 %{ itemsCount } 個のアイテム","%{ itemsCount } items with %{ itemSize } in total":"合計 %{ itemsCount } 個(%{ itemSize })のアイテム","%{ itemsCount } items in total":"合計 %{ itemsCount } 個のアイテム","This item is directly shared with others.":"このアイテムは他のユーザーと直接共有されています。","This item is shared with others through one of the parent folders.":"このアイテムは上位フォルダー経由で他のユーザーと共有されています","This item is directly shared via links.":"このアイテムはリンク経由で直接共有されています。","This item is shared via links through one of the parent folders.":"このアイテムは上位フォルダー経由でリンク共有されています。","Show invited people":"招待したユーザーを表示","This item is synced with your devices":"このアイテムはデバイスと同期されています","Synced with your devices":"デバイスと同期済み","Show links":"リンクを表示","Item locked":"ロックされています","Item in processing":"処理中","This item is in processing":" このアイテムは処理中です","Space is enabled":"スペースは有効です","Enabled":"有効化","Space is disabled":"スペースは無効です","Select folder":"フォルダーを選択","Select space":"スペースを選択","Select file":"ファイルを選択","Clear selection":"選択を解除","Select all":"すべて選択","Folder already exists":"既にフォルダが存在します","File already exists":"ファイルが既に存在します","Copy here?":"ここにコピーしますか?","Copy here":"ここにコピー","You can't paste the selected file at this location because you can't paste an item into itself.":"同じ場所に貼り付けることはできないため、選択したファイルを貼り付けられません","%{count} item was copied successfully":"%{count} 個のアイテムをコピーしました","%{count} item was moved successfully":"%{count} 個のアイテムを移動しました","Failed to copy %{count} resources":"%{count} 個のリソースのコピーに失敗","Failed to move %{count} resources":"%{count} 個のリソースの移動に失敗","Failed to copy »%{name}«":"「%{name}」のコピーに失敗","Failed to move »%{name}«":"「%{name}」の移動に失敗","Insufficient quota":"容量不足","A-Z":"A-Z","Z-A":"降順 (ZからA)","Newest":"新しい順","Oldest":"古い順","Largest":"最大サイズ","Smallest":"最小サイズ","Search results":"検索結果","Favorite files":"お気に入りのファイル","Public file upload":"公開ファイルアップロード","Files shared with me":"自分に共有されているファイル","Files shared with others":"他ユーザーに共有したファイル","Files shared via link":"リンクで共有中のファイル","Trash overview":"ゴミ箱の概要","Must not be empty":"入力必須です","Valid special characters: %{characters}":"使用可能な特殊文字: %{characters}","%{param1}+ special characters":"%{param1} 文字以上の記号","%{param1}+ letters":"%{param1} 文字以上の英字","%{param1}+ uppercase letters":"%{param1} 文字以上の英大文字","%{param1}+ lowercase letters":"%{param1} 文字以上の英小文字","%{param1}+ numbers":"%{param1} 文字以上の数字","Added %{numFiles} file(s)":"%{numFiles} 個のファイルを追加しました","Connect":"接続","Connect to %{pluginName}":"%{pluginName} に接続","Please authenticate with %{pluginName} to select files":"ファイルを選択するには %{pluginName} で認証してください","Connection with Companion failed":"コンパニオンとの接続に失敗しました","Loaded %{numFiles} files":"%{numFiles} 個のファイルを読み込みました","Loading...":"読み込み中...","Log out":"ログアウト","Public link without password protection":"パスワード保護なしの公開リンク","Select %{smart_count}":"%{smart_count} 個を選択","Sign in with Google":"Googleでサインイン"}`),Re={"File exceeds %{threshold}":"Plik przekracza %{threshold}",Continue:"Kontynuuj","An error occurred":"Wystąpił błąd",Save:"Zapisz","Unsaved changes":"Nie zapisane zmiany","Loading app":"Ładowanie aplikacji",Close:"Zamknij",Upload:"Prześlij",Remove:"Usuń",Cancel:"Anuluj",Set:"Ustaw","Remove profile picture":"Usuń zdjęcie profilowe","Failed to set profile picture":"Nie udało się ustawić zdjęcia profilowego","Failed to remove profile picture":"Nie udało się usunąć zdjęcia profilowego",Options:"Opcje",Password:"Hasło","Password:":"Hasło:","Expiry date":"Data wygaśnięcia","More options":"Więcej opcji","Copy link":"Kopiuj link","Copy link and password":"Kopiuj link i hasło","Unnamed link":"Nienazwany link","Link to a file":"Link do pliku","Shortcut name":"Nazwa skrótu","Failed to create shortcut":"Błąd tworzenia skrótu","Open with...":"Otwórz za pomocą...","Open »%{name}«":"Otwórz »%{name}«","This item is locked":"Ten element jest zablokowany","File is being processed":"Plik jest procesowany","Rename file »%{name}«":"Zmień nazwę pliku »%{name}«",Rename:"Zmień nazwę",Name:"Nazwa",Members:"Członkowie","Used quota":"Wykorzystana quota",Status:"Status",Size:"Rozmiar",Tags:"Tagi",Modified:"Zmodyfikowany",Deleted:"Usunięto",Actions:"Akcje",folder:"folder",file:"plk",Disabled:"Wyłączone","Close filter":"Zamknij filtr",From:"Od",To:"Do",Apply:"Zastosuj","Filter list":"Lista filtrów","Select a role":"Wybierz rolę",Role:"Rola","Expiration date":"Data wygaśnięcia",Confirm:"Potwierdź",Skip:"Pomiń",Replace:"Zamień","Don't Save":"Nie zapisuj","Please enter only numbers":"Wprowadź tylko cyfry","Current folder":"Bieżący folder","All files":"Wszystkie pliki","Changes saved":"Zmiany zapisane",Revert:"Cofnij","No changes":"Brak zmian",Show:"Pokaż","Last activity":"Ostatnia aktywność",Subtitle:"Podtytuł","%{displayName} (me)":"%{displayName} (ja)","Used quota:":"Wykorzystana quota:","WebDAV URL":"WebDAV URL","Space image was set successfully":"Obraz Przestrzeni został pomyślnie ustawiony","Failed to set space image":"Nie udało się ustawić obrazka przestrzeni","Failed to load space image":"Nie udało się załadować obrazka przestrzeni","hide line numbers":"Ukryj numery linii","show line numbers":"wyświetl numery linii","Checking for updates":"Sprawdzanie aktualizacji","Up to date":"Aktualna","Show hidden files":"Pokaż ukryte pliki","Show file extensions":"Pokaż rozszerzenia plików","Items per page":"Elementów na stronę",Download:"Pobierz",Copy:"Kopiuj","The link has been copied to your clipboard.":"Link został skopiowany do schowka","Copy link failed":"Nie udało się skopiować linku","Copy permanent link":"Kopiuj trwały link","Create links":"Utwórz linki","New file":"Nowy plik","Create a new file":"Utwórz nowy plik",Create:"Utwórz","File name":"Nazwa pliku","Failed to create file":"Błąd tworzenia pliku","Failed to create folder":"Błąd tworzenia folderu","New folder":"Nowy folder","Create a new folder":"Utwórz nowy folder","Folder name":"Nazwa folderu","New Folder":"Nowy Folder","Create a Shortcut":"Utwórz skrót","New Shortcut":"Nowy skrót","Creating space failed…":"Niepowodzenie tworzenia przestrzeni",Restrictions:"Ograniczenia","Space name":"Nazwa Przestrzeni",Delete:"Usuń","Failed to empty trash bin":"Nie można opróżnić kosza","Empty trash bin":"Opróżnij kosz","Enable sync":"Aktywuj synchronizację",Cut:"Wytnij","Failed to open shortcut":"Błąd otwarcia skrótu","Open shortcut":"Otwórz skrót","Open file in %{app}":"Otwórz plik w %{app}",Open:"Otwórz",Paste:"Wstaw","Rename folder »%{name}«":"Zmień nazwę folderu »%{name}«",Restore:"Przywróć","Save as":"Zapisz jako","Set as space image":"Ustaw jako obraz przestrzeni","All Actions":"Wszystkie akcje",Details:"Szczegóły","The share was hidden successfully":"Udział został pomyślnie ukryty",Unhide:"Odkryj",Hide:"Ukryj","Failed to restore files":"Błąd przywracania plików","The name cannot be empty":"Nazwa nie może być pusta",'The name cannot contain "/"':'Nazwa nie może zawierać "/"',"The name cannot start or end with whitespace":"Nazwa nie może zaczynać się lub kończyć białym znakiem - spacja, tabulator etc.","The name is too long":"Nazwa jest zbyt długa","The Space name cannot be empty":"Nazwa Przestrzeni nie może być pusta","The Space name is too long":"Nazwa Przestrzeni jest zbyt długa","New Space":"Nowa Przestrzeń","Create a new space":"Stwórz nową przestrzeń","New space":"Nowa przestrzeń","Space image deleted successfully":"Obraz przestrzeni został pomyślnie usunięty","Delete image":"Usuń obraz",Disable:"Wyłącz",Duplicate:"Duplikuj","Edit subtitle":"Edytuj podtytuł","Edit quota":"Edytuj przydział","Edit description":"Edytuj opis","Open trash bin":"Otwórz kosz","Space name was changed successfully":"Nazwa Przestrzeni została pomyślnie zmieniona","Failed to rename space":"Nie udało się zmienić nazwy przestrzeni",Enable:"Włącz","Set icon for »%{space}«":"Ustaw ikonę dla »%{space}«","Space icon was set successfully":"Ikona Przestrzeni została pomyślnie ustawiona","Failed to set space icon":"Nie udało się ustawić ikony przestrzeni","Not enough quota to set the space icon":"Niewystarczająca przestrzeń quota aby ustawić ikonę przestrzeni","Set icon":"Ustaw ikonę","Download failed":"Błąd pobierania","File could not be located":"Plik nie może być zlokalizowany",Spaces:"Przestrzenie","Link has been created successfully":"Link został utworzony pomyślnie","Can view":"Może oglądać","View, download":"Pokaż, pobierz","Can upload":"Może przesyłać","View, upload, download":"Wyświetlanie, przesyłanie, pobieranie","Can edit":"Może edytować","View, upload, edit, download, delete":"Wyświetlanie, przesyłanie, edycja, pobieranie, usuwanie","Upload only, existing content is not revealed":"Tylko do przesyłania, obecna zawartość nie jest wyświetlana","Copied to clipboard!":"Skopiowano do schowka!","%{ filesCount } file":["Plik","Plików","Plików","Plików"],"Show invited people":"Pokaż zaproszone osoby","Synced with your devices":"Synchronizacja z Twoimi urządzeniami","Show links":"Pokaż linki","Item locked":"Element zablokowany","Item in processing":"Element jest procesowany","This item is in processing":"Ten element jest procesowany","Space is enabled":"Przestrzeń jest włączona",Enabled:"Aktywny","Space is disabled":"Przestrzeń jest wyłączona","Select folder":"Wybierz folder","Select space":"Wybierz przestrzeń","Select file":"Wybierz plik","Clear selection":"Wyczyść zaznaczenie","Select all":"Zaznacz wszystko","Folder already exists":"Folder już istnieje","File already exists":"Plik już istnieje","Copy here?":"Skopiować tu?","Copy here":"Kopiuj tu","A-Z":"A-Z","Z-A":"Z-A",Newest:"Najnowszy",Oldest:"Najstarszy",Largest:"Największy",Smallest:"Najmniejszy","Search results":"Wyniki wyszukiwania","Favorite files":"Ulubione pliki","Files shared via link":"Pliki udostępnione przez link","Must not be empty":"Nie może być puste",Connect:"Połącz","Loading...":"Ładowanie...","Log out":"Wyloguj","Sign in with Google":"Zaloguj się przez Google"},Ve=JSON.parse(`{"Loading actions":"Acties laden","No items selected.":"Geen items geselecteerd.","%{ amount } item selected. Actions are available above the table.":["%{ amount } item geselecteerd. Acties zijn beschikbaar boven de tabel.","%{ amount } items geselecteerd. Acties zijn beschikbaar boven de tabel."],"%{appName} for %{fileName}":"%{appName} voor %{fileName}","Importing failed":"Importeren is mislukt","File exceeds %{threshold}":"Bestand overschrijdt %{threshold}","%{resource} exceeds the recommended size of %{threshold} for editing, and may cause performance issues.":"%{resource} overschrijdt de aanbevolen grootte van %{threshold} voor bewerking en kan prestatieproblemen veroorzaken.","Continue":"Doorgaan","An error occurred":"Er is een fout opgetreden","File autosaved":"Bestand autom. opgeslagen","You're not authorized to save this file":"Je bent niet bevoegd om dit bestand op te slaan","This file was updated outside this window. Please copy your changes or save the file under a new name (»Save As...«).":"Dit bestand is buiten dit venster bijgewerkt. Kopieer uw wijzigingen of sla het bestand op onder een nieuwe naam (»Opslaan als…«).","Insufficient quota on \\"%{spaceName}\\" to save this file":"Onvoldoende quota op \\"%{spaceName}\\" om dit bestand op te slaan","Insufficient quota for saving this file":"Onvoldoende quota om dit bestand op te slaan","Save":"Opslaan","Unsaved changes":"Niet-opgeslagen wijzigingen","Loading app":"App laden","Close":"Sluiten","Show context menu":"Contextmenu weergeven","Autosave (every %{ duration })":"Autom. opslaan (elke %{ duration })","Upload":"Uploaden","Remove":"Verwijderen","Crop your new profile picture":"Nieuwe profielfoto bijsnijden","Cancel":"Annuleren","Set":"Instellen","Zoom via %{ zoomKeys }, pan via %{ panKeys }":"Zoom m.b.v. %{ zoomKeys }, pan m.b.v. %{ panKeys }","+-":"+-","↑↓←→":"↑↓←→","Are you sure you want to remove your profile picture?":"Weet je zeker dat je je profielfoto wilt verwijderen?","Remove profile picture":"Profielafbeelding verwijderen","File size exceeds the limit of %{size}MB":"Bestandsgrootte overschrijdt de limiet van %{size}MB","Profile picture was set successfully":"Profielafbeelding is met succes ingesteld","Failed to set profile picture":"Instellen van profielafbeelding is mislukt","Profile picture was removed successfully":"Profielafbeelding is met succes verwijderd","Failed to remove profile picture":"Verwijderen van profielafbeelding is mislukt","Options":"Opties","Password":"Wachtwoord","Password:":"Wachtwoord:","Expiry date":"Vervaldatum","More options":"Meer opties","Share link(s)":"Share link(s)","Copy link":"Link kopiëren","Share link(s) and password(s)":"Link(s) en wachtwoord(en) delen","Copy link and password":"Link en wachtwoord kopiëren","Unnamed link":"Link zonder naam","Webpage or file":"Webpagina of bestand","Enter the target URL of a webpage or the name of a file. Users will be directed to this webpage or file.":"Voer de doel-URL van een webpagina of de naam van een bestand in. Gebruikers worden naar deze webpagina of dit bestand geleid.","Link to a file":"Link naar een bestand","Shortcut name":"Naam van snelkoppeling","Shortcut name as it will appear in the file list.":"Naam van de snelkoppeling zoals deze wordt weergegeven in de bestandenlijst.","»%{name}« already exists":"»%{name}« bestaat al","Shortcut name cannot contain \\"/\\"":"Naam van snelkoppeling kan geen \\"/\\" bevatten","Shortcut was created successfully":"Snelkoppeling is met succes aangemaakt","Failed to create shortcut":"Aanmaken van snelkoppeling is mislukt","Open with...":"Openen met…","Open »%{name}«":"»%{name}« openen","This item is locked":"Dit item is vergrendeld","File is being processed":"Bestand wordt verwerkt","Rename file »%{name}«":"Bestand »%{name}« hernoemen","Rename":"Hernoemen","Search for tag %{tag}":"Zoeken naar label %{tag}","Name":"Naam","Manager":"Beheerder","Members":"Leden","Total quota":"Totale quota","Used quota":"Gebruikte quota","Remaining quota":"Resterende quota","Status":"Status","Size":"Grootte","Info":"Info","Tags":"Labels","Shared by":"Gedeeld door","Shared with":"Gedeeld met","Modified":"Gewijzigd","Shared on":"Gedeeld op","Deleted":"Verwijderd","Actions":"Acties","folder":"map","file":"bestand","This %{ resourceType } is shared via %{ shareCount } invite":["%{ resourceType } is gedeeld via %{ shareCount } uinodiging","%{ resourceType } is gedeeld via %{ shareCount } uitnodigingen"],"This %{ resourceType } is shared by %{ user }":"%{ resourceType } is gedeeld door %{ user }","Disabled":"Uitgeschakeld","Sort by":"Sortering","Custom date range":"Aangepast datumbereik","Go back to filter options":"Ga terug naar filteropties","Close filter":"Filter sluiten","From":"Van","To":"Naar","Apply":"Toepassen","Filter list":"Lijst filteren","Toggle selection":"Selectie schakelen","Select a role":"Selecteer een rol","Role":"Rol","Expiration date":"Verloopdatum","Confirm":"Bevestigen","Skip":"Overslaan","Keep both":"Beide behouden","Apply to all %{count} conflicts":"Toepassen op alle %{count} conflicten","Apply to all %{count} folders":"Toepassen op alle %{count} mappen","Apply to all %{count} files":"Toepassen op alle %{count} bestanden","Folder with name »%{name}« already exists.":"Map met naam »%{name}« bestaat al.","File with name »%{name}« already exists.":"Bestand met naam »%{name}« bestaat al.","Replace":"Vervangen","»%{fileName}« was saved successfully":"»%{fileName}« is met succes opgeslagen","Unable to save »%{fileName}«":"Kan »%{fileName}« niet opslaan","Moving files from one space to another is not possible. Do you want to copy instead?":"Bestanden verplaatsen van de ene ruimte naar de andere is niet mogelijk. Wil je in plaats daarvan kopiëren?","Note: Links and shares of the original file are not copied.":"Let op: Links en shares van het originele bestand worden niet gekopieerd.","Your changes were not saved. Do you want to save them?":"De wijzigingen zijn niet opgeslagen. Wilt je ze opslaan?","Don't Save":"Niet opslaan","Navigation":"Navigatie","No content image":"Geen inhoud afbeelding","Quota":"Quota","No restriction":"Geen beperking","Please enter only numbers":"Voer alleen cijfers in","Please enter a value equal to or less than %{ quotaLimit }":"Voer een waarde in gelijk aan of minder dan %{ quotaLimit }","Location filter":"Locatiefilter","Current folder":"Huidige map","All files":"Alle bestanden","Changes saved":"Wijzigingen opgeslagen","Revert":"Terugdraaien","No changes":"Geen wijzigingen","Loading sidebar content":"Inhoud van zijbalk laden","Close file sidebar":"Zijbalk Bestanden sluiten","Back to %{panel} panel":"Terug naar paneel %{panel}","Back to main panels":"Terug naar hoofdpanelen","Space image is loading":"Ruimte-image wordt geladen","Show":"Weergeven","Overview of the information about the selected space":"Overzicht van de informatie over het geselecteerde ruimte","Last activity":"Laatste activiteit","Subtitle":"Ondertitel","%{displayName} (me)":"%{displayName} (mij)","This space has one member and %{linkShareCount} link.":["Deze ruimte heeft een lid en %{linkShareCount} link.","Deze ruimte heeft een lid en %{linkShareCount} links."],"This space has %{memberShareCount} members and one link.":"Deze ruimte heeft %{memberShareCount} leden en een link.","This space has %{memberShareCount} members and %{linkShareCount} links.":"Deze ruimte heeft %{memberShareCount} leden en %{linkShareCount} links.","Open share panel":"Paneel Share openen","Open link list in share panel":"Lijst met links openen in paneel Share","Open member list in share panel":"Lijst met leden openen in paneel Share","This space has %{memberShareCount} member.":["Deze riumte heeft %{memberShareCount} lid.","Deze ruimte heeft %{memberShareCount} leden."],"%{linkShareCount} link giving access.":["%{linkShareCount} link die toegang verleent.","%{linkShareCount} links die toegang verlenen."],"Overview of the information about the selected spaces":"Overzicht van de informatie over het geselecteerde ruimtes","%{ itemCount } space selected":["%{ itemCount } ruimte geselecteerd","%{ itemCount } ruimtes geselecteerd"],"Total quota:":"Totale quota:","Remaining quota:":"Resterende quota:","Used quota:":"Gebruikte quota:","Enabled:":"Ingeschakeld:","Disabled:":"Uitgeschakeld:","Select a space to view details":"Selecteer een riumte om de details te bekijken","WebDAV path":"WebDAV-pad","Copy WebDAV path":"WebDAV-pad kopiëren","Copy WebDAV path to clipboard":"WebDAV-pad kopiëren naar klembord","WebDAV URL":"WebDAV-URL","Copy WebDAV URL":"WebDAV-URL kopiëren","Copy WebDAV URL to clipboard":"WebDAV-URL kopiëren naar klembord","%{used} of %{total} used (%{percentage}% used)":"%{used} van %{total} gebruikt (%{percentage}% gebruikt)","%{used} used (no restriction)":"%{used} gebruikt (geen begrenzing)","Space quota was changed successfully":["Quota van ruimte is met succes aangepast","Quota van %{count} ruimtes zijn met succes aangepast"],"User quota was changed successfully":["Quota van gebruiker is met succes aangepast","Quota van %{count} gebruikers zijn met succes aangepast"],"Quota was changed successfully":"Quota is met succes aangepast","Failed to change space quota":["Aanpassen van quota van ruimte is mislukt","Aanpassen van quota van %{count} ruimtes is mislukt"],"Failed to change user quota":["Aanpassen van quota van gebruiker is mislukt","Aanpassen van quota van %{count} gebruikers is mislukt"],"Failed to change quota":"Aanpassen van quota is mislukt","Space image was set successfully":"Ruimte-afbeelding is met succes ingesteld","Failed to set space image":"Instellen van ruimte-afbeelding is mislukt","Not enough quota to set the space image":"Onvoldoende quota om de ruimte-afbeelding in te stellen","Failed to load space image":"Laden van ruimte-afbeelding is mislukt","hide line numbers":"regelnummers verbergen","show line numbers":"regelnummers weergeven","Checking for updates":"Controleren op updates","Up to date":"Bijgewerkt","Version %{version} available":"Versie %{version} beschikbaar","Switch view mode":"Weergavemodus wisselen","View mode":"Weergavemodus","Display customization options of the files list":"Toon de aanpassingsopties voor de bestandenlijst","View options":"Weergaveopties","Show hidden files":"Verborgen bestanden weergeven","Show file extensions":"Bestandsextensies weergeven","Items per page":"Items per pagina","Show disabled Spaces":"Uitgeschakelde ruimten weergeven","Show empty trash bins":"Lege prullenbakken weergeven","Tile size":"Tegelgrootte","No preview available for »%{name}«":"Geen voorbeeld beschikbaar voor »%{name}«","Download":"Downloaden","There is no preview available for this file. Do you want to download it instead?":"Er is geen voorbeeld beschikbaar voor dit bestand. Wil je het in plaats daarvan downloaden?","⌘ + C":"⌘ + C","Ctrl + C":"Ctrl + C","Copy":"Kopiëren","The link has been copied to your clipboard.":"De link is naar het klembord gekopieerd.","Copy link failed":"Link kopiëren is mislukt","Copy permanent link":"Permanente link kopiëren","Copy link for »%{resourceName}«":["Link kopiëren voor »%{resourceName}«","Links voor de geselecteerde items kopiëren"],"Create links":"Links aanmaken","New file":"Nieuw bestand","Create a new file":"Nieuw bestand aanmaken","Create":"Aanmaken","File name":"Bestandsnaam","»%{fileName}« was created successfully":"»%{fileName}« is met succes aangemaakt","Failed to create file":"Aanmaken van bestand is mislukt","»%{folderName}« was created successfully":"»%{folderName}« is met succes aangemaakt","Failed to create folder":"Aanmaken van map is mislukt","New folder":"Nieuwe map","Create a new folder":"Nieuwe map aanmaken","Folder name":"Mapnaam","New Folder":"Nieuwe map","Create a Shortcut":"Snelkoppeling aanmaken","New Shortcut":"Nieuwe snelkoppeling","Space was created successfully":"Ruimte is met succes aangemaakt","Some files could not be copied":"Enkele bestanden konden niet worden gekopieerd","Creating space failed…":"Ruimte aanmaken is mislukt…","Create Space from »%{resourceName}«":["Ruimte aanmaken van »%{resourceName}«","Ruimte aanmaken van selectie"],"Create Space with the content of »%{resourceName}«.":["Ruimte aanmaken met de inhoud van »%{resourceName}«.","Ruimte aanmaken met de geselecteerde bestanden."],"The marked elements will be copied.":"De gemarkeerde elementen worden gekopieerd","Restrictions":"Beperkingen","Shares, versions and tags will not be copied.":"Shares, versies en labels worden niet gekopieerd.","Space name":"Ruimtenaam","Create Space from selection":"Ruimte aanmaken van selectie","Delete":"Verwijderen","File can't be deleted because it is currently locked.":"Bestand kan niet worden verwijderd omdat het momenteel is vergrendeld.","Sync for the selected share was disabled successfully":["Synchronisatie voor de geselecteerde share is met succes uitgeschakeld","Synchronisatie voor de geselecteerde shares is met succes uitgeschakeld"],"Failed to disable sync for the the selected share":["Uitschakelen van synchronisatie voor de geselecteerde share is mislukt.","Uitschakelen van synchronisatie voor de geselecteerde shares is mislukt."],"Disable sync":"Synchronisatie uitschakelen","Failed to download the selected folder.":"Downloaden van de geselecteerde map is mislukt.","The selection exceeds the allowed archive size (max. %{maxSize})":"De selectie overschrijdt de toegestane archiefgrootte (max. %{maxSize})","All deleted files were removed":"Alle verwijderde bestanden zijn verwijderd","Failed to empty trash bin":"Leegmaken van prullenbak mislukt","Empty trash bin for »%{name}«":"Prullenbak voor »%{name}« leegmaken","Are you sure you want to permanently delete the items in »%{name}«? You can’t undo this action.":"Weet je zeker dat je de items in »%{name}« permanent wilt verwijderen? Deze actie kan niet ongedaan worden gemaakt.","Empty trash bin":"Prullenbak leegmaken","Sync for the selected share was enabled successfully":["Synchronisatie voor de geselecteerde share is met succes ingeschakeld","Synchronisatie voor de geselecteerde shares is met succes ingeschakeld"],"Failed to enable sync for the the selected share":["Inschakelen van synchronisatie voor de geselecteerde share is niet gelukt.","Inschakelen van synchronisatie voor de geselecteerde shares is niet gelukt."],"Enable sync":"Synchronisatie inschakelen","Failed to change favorite state of \\"%{file}\\"":"Aanpassen favoriete status van \\"%{file}\\" is mislukt","Remove from favorites":"Verwijderen van favorieten","Add to favorites":"Toevoegen aan favorieten","⌘ + X":"⌘ + X","Ctrl + X":"Ctrl + X","Cut":"Knippen","Navigate":"Navigeren","Failed to open shortcut":"Snelkoppeling openen mislukt","Open shortcut":"Snelkoppeling openen","Open file in %{app}":"Bestand openen in %{app}","Open":"Openen","⌘ + V":"⌘ + V","Ctrl + V":"Ctrl + V","Paste":"Plakken","Failed to rename \\"%{file}\\" to »%{newName}«":"Hernoemen van \\"%{file}\\" naar »%{newName}« is mislukt","Failed to rename »%{file}« to »%{newName}« - the file is locked":"Hernoemen van »%{file}« naar »%{newName}« is mislukt - het bestand is vergrendeld","Rename folder »%{name}«":"Map »%{name}« hernoemen","%{resource} was restored successfully":"%{resource} is met succes hersteld","%{resourceCount} files restored successfully":"%{resourceCount} bestanden zijn met succes hersteld","Failed to restore \\"%{resource}\\"":"Herstellen van \\"%{resource}\\" is mislukt","Failed to restore %{resourceCount} files":"Herstellen van %{resourceCount} bestanden is mislukt","Restore":"Herstellen","Save as":"Opslaan als","Crop your Space image":"Ruimte-afbeelding bijsnijden","Set as space image":"Instellen als ruimte-afbeelding","All Actions":"Alle acties","Details":"Details","Share":"Share","The share was hidden successfully":"De share is met succes verborgen","The share was unhidden successfully":"De share is met succes zichtbaar gemaakt","Failed to hide the share":"Verbergen van de share is mislukt","Failed to unhide the share":"Zichtbaar maken van de share is mislukt","Unhide":"Zichtbaar maken","Hide":"Verbergen","Failed to restore files":"Herstellen van bestanden is mislukt","⌘ + Z":"⌘ + Z","Ctrl + Z":"Ctrl + Z","Undo":"Ongedaan maken","\\"%{item}\\" was moved to trash bin":"\\"%{item}\\" is verplaatst naar prullenbak","%{itemCount} item was moved to trash bin":["%{itemCount} item is verplaatst naar prullenbak","%{itemCount} items zijn verplaatst naar prullenbak"],"Permanently delete folder »%{name}«":"Map »%{name}« permanent verwijderen","Permanently delete file »%{name}«":"Bestand »%{name}« permanent verwijderen","Permanently delete selected resource?":["Geselecteerde hulpbron permanent verwijderen?","%{amount} geselecteerde hulpbronnen permanent verwijderen?"],"Are you sure you want to delete this folder? All its content will be permanently removed. This action cannot be undone.":"Weet je zeker dat je deze map wilt verwijderen? Alle inhoud daarvan zal permanent worden verwijderd. Deze actie kan niet ongedaan worden gemaakt.","Are you sure you want to delete this file? All its content will be permanently removed. This action cannot be undone.":"Weet je zeker dat je dit bestand wilt verwijderen? Alle inhoud zal permanent worden verwijderd. Deze actie kan niet ongedaan worden gemaakt.","Are you sure you want to delete all selected resources? All their content will be permanently removed. This action cannot be undone.":"Weet je zeker dat je alle geselecteerde hulpbronnen wilt verwijderen? Alle inhoud zal permanent worden verwijderd. Deze actie kan niet ongedaan worden gemaakt.","\\"%{item}\\" was deleted successfully":"\\"%{item}\\" is met succes verwijderd","%{itemCount} item was deleted successfully":["%{itemCount} item is met succes verwijderd","%{itemCount} items zijn met succes verwijderd"],"Failed to delete \\"%{item}\\"":"Verwijderen van \\"%{item}\\" is mislukt","Failed to delete \\"%{resource}\\"":"Verwijderen van \\"%{resource}\\" is mislukt","Failed to delete \\"%{resource}\\" - the file is locked":"Verwijderen van \\"%{resource}\\" is mislukt - bestand is vergrendeld","The name cannot be empty":"De naam kan niet leeg zijn","The name cannot contain \\"/\\"":"De naam mag geen \\"/\\" bevaten","The name cannot contain \\"\\\\\\"":"De naam kan geen \\"\\\\\\" bevatten","The name cannot be equal to \\".\\"":"De naam kan niet gelijk zijn aan \\".\\"","The name cannot be equal to \\"..\\"":"De naam kan niet gelijk zijn aan \\"..\\"","The name cannot start or end with whitespace":"De naam mag niet beginnen of eindigen met een spatie","The name is too long":"De naam is te lang","The name »%{name}« is already taken":"De naam »%{name}« is al in gebruik","The Space name cannot be empty":"De ruimtenaam kan niet leeg zijn","The Space name is too long":"De naam van de ruimte is te lang","The Space name cannot start or end with whitespace":"De ruimtenaam mag niet beginnen of eindigen met een spatie","The Space name cannot contain the following characters: / \\\\\\\\ . : ? * \\" > < |'":"De naam van de ruimte mag de volgende tekens niet bevatten: / \\\\\\\\ . : ? * \\" > < |'","New Space":"Nieuwe ruimte","Create a new space":"Nieuwe ruimte aanmaken","New space":"Nieuwe ruimte","Space »%{space}« was deleted successfully":"Ruimte »%{space}« is met succes verwijderd","%{spaceCount} space was deleted successfully":["%{spaceCount} ruimte is met succes verwijderd","%{spaceCount} ruimtes zijn met succes verwijderd"],"Failed to delete space »%{space}«":"Verwijderen van ruimte »%{space}« is mislukt","Failed to delete %{spaceCount} space":["Verwijderen van %{spaceCount} ruimte is mislukt","Verwijderen van %{spaceCount} ruimtes is mislukt"],"Are you sure you want to delete the selected space?":["Weet u zeker dat u de geselecteerde ruimte wilt verwijderen?","Weet je zeker dat je %{count} geselecteerde ruimtes wilt verwijderen?"],"Delete Space »%{space}«?":["Ruimte »%{space}« verwijderen?","%{spaceCount} ruimtes verwijderen?"],"Space image deleted successfully":"Ruimte-afbeelding is met succes verwijderd","Failed to delete space image":"Verwijderen van ruimte-afbeelding is mislukt","Delete »%{space}« image":"»%{space}« afbeelding verwijderen","Are you sure you want to delete the image of »%{space}«?":"Weet je zeker dat je de afbeelding van »%{space}« wilt verwijderen?","Delete image":"Afbeelding verwijderen","Space »%{space}« was disabled successfully":"Ruimte »%{space}« is met succes uitgeschakeld","%{spaceCount} space was disabled successfully":["%{spaceCount} ruimte is met succes uitgeschakeld","%{spaceCount} ruimtes zijn met succes uitgeschakeld"],"Failed to disable space »%{space}«":"Uitschakelen van ruimte »%{space}« is mislukt","Failed to disable %{spaceCount} space":["Uitschakelen van %{spaceCount} ruimte is mislukt","Uitschakelen van %{spaceCount} ruimtes is mislukt"],"If you disable the selected space, it can no longer be accessed. Only Space managers will still have access. Note: No files will be deleted from the server.":["Als u de geselecteerde ruimte uitschakelt, kan deze niet meer worden benaderd. Alleen ruimtebeheerders behouden nog toegang. Opmerking: Er worden geen bestanden van de server verwijderd.","Als je de %{count} geselecteerde ruimtes uitschakelt, kunnen deze niet meer worden benaderd. Alleen ruimtebeheerders behouden nog toegang. Opmerking: Er worden geen bestanden van de server verwijderd."],"Disable":"Uitschakelen","Disable Space »%{space}«?":["Ruimte »%{space}« uitschakelen?","%{spaceCount} ruimtes uitschakelen?"],"Space »%{space}« was duplicated successfully":"Ruimte »%{space}« is met succes gedupliceerd","Failed to duplicate space »%{space}«":"Dupliceren van ruimte »%{space}« is mislukt","Duplicate":"Duplicaat","Space subtitle was changed successfully":"Ondertitel van ruimte is met succes aangepast","Failed to change space subtitle":"Aanpassen ondertitel van ruimte is mislukt","Change subtitle for space":"Ondertitel van ruimte aanpassen","Space subtitle":"Ondertitel van ruimte","Edit subtitle":"Ondertitel bewerken","Change quota for Space »%{name}«":"Quota aanpassen voor ruite »%{name}«","Change quota for %{count} Spaces":"Quota aanpassen voor %{count} ruimtes","Edit quota":"Quota bewerken","Edit description":"Beschrijving bewerken","Open trash bin":"Prullenbak openen","Space name was changed successfully":"Ruimtenaam is met succes aangepast","Failed to rename space":"Hernoemen van ruimte is mislukt","Rename space »%{name}«":"Ruimte »%{name}« hernoemen","Space »%{space}« was enabled successfully":"Ruimte »%{space}« is met succes ingeschakeld","%{spaceCount} space was enabled successfully":["%{spaceCount} ruimte is met succes ingeschakeld","%{spaceCount} ruimtes zijn met succes ingeschakeld"],"Failed to enable space »%{space}«":"Inschakelen van ruimte »%{space}« is mislukt","Failed to enable %{spaceCount} space":["Inschakelen van %{spaceCount} ruimte is mislukt","Inschakelen van %{spaceCount} ruimtes is mislukt"],"If you enable the selected space, it can be accessed again.":["Als u de geselecteerde ruimte inschakelt, wordt deze weer toegankelijk.","Als je de %{count} geselecteerde ruimtes inschakelt, worden ze weer toegankelijk."],"Enable":"Inschakelen","Enable Space »%{space}«?":["Ruimte »%{space}« inschakelen?","%{spaceCount} ruimtes inschakelen?"],"Set icon for »%{space}«":"Pictogram instellen voor »%{space}«","Space icon was set successfully":"Ruimte-pictogram is met succes ingesteld","Failed to set space icon":"Instellen van ruimte-pictogram is mislukt","Not enough quota to set the space icon":"Onvoldoende quota om het ruimte-pictogram in te stellen","Set icon":"Pictogram instellen","Pop-up and redirect block detected":"Blokkering van pop-ups en omleidingen gedetecteerd","Please turn on pop-ups and redirects in your browser settings to make sure everything works right.":"Zorg ervoor dat je pop-ups en omleidingen inschakelt in je browserinstellingen, zodat alles goed werkt.","Download failed":"Download is mislukt","File could not be located":"Bestand kan niet worden gelokaliseerd","Spaces":"Ruimtes","Shares":"Shares","Shared with me":"Gedeeld met mij","Personal":"Persoonlijk","Link has been created successfully":"Link is met succes aangemaakt","%{link} Password:%{password}":"%{link} Wachtwoord:%{password}","Failed to create link":["Aanmaken van link is mislukt","Aanmaken van links is mislukt"],"Can view":"Kan weergeven","View, download":"Weergeven, downloaden","Can upload":"Kan uploaden","View, upload, download":"Weergeven, uploaden, downloaden","Can edit":"Kan bewerken","View, upload, edit, download, delete":"Weergeven, uploaden, bewerken, downloaden, verwijderen","Secret File Drop":"Geheime bestandsdropping","Upload only, existing content is not revealed":"Alleen uploaden, bestaande inhoud wordt niet onthuld","Copied to clipboard!":"Gekopieerd naar klembord!","Cut to clipboard!":"Knippen naar klembord!","%{ filesCount } file":["%{ filesCount } bestand","%{ filesCount } bestanden"],"%{ filesCount } file including %{ filesHiddenCount } hidden":["%{ filesCount } bestand, incl. %{ filesHiddenCount } verborgen","%{ filesCount } bestanden, incl. %{ filesHiddenCount } verborgen"],"%{ foldersCount } folder":["%{ foldersCount } map","%{ foldersCount } mappen"],"%{ foldersCount } folder including %{ foldersHiddenCount } hidden":["%{ foldersCount } map, incl. %{ foldersHiddenCount } verborgen","%{ foldersCount } mappen, incl. %{ foldersHiddenCount } verborgen"],"%{ spacesCount } space":["%{ spacesCount } ruimte","%{ spacesCount } ruimtes"],"%{ itemsCount } item with %{ itemSize } in total":"%{ itemsCount } item met %{ itemSize } in totaal","%{ itemsCount } item in total":"%{ itemsCount } item in totaal","%{ itemsCount } items with %{ itemSize } in total":"%{ itemsCount } items met %{ itemSize } in totaal","%{ itemsCount } items in total":"%{ itemsCount } items in totaal","This item is directly shared with others.":"Dit item is direct gedeeld met anderen.","This item is shared with others through one of the parent folders.":"Dit item is gedeeld met anderen door een van de bovenliggende mappen.","This item is directly shared via links.":"Dit item is direct gedeeld via links.","This item is shared via links through one of the parent folders.":"Dit item is gedeeld via links door een van de bovenliggende mappen.","Show invited people":"Genodigde personen weergeven","This item is synced with your devices":"Dit item wordt gesynchroniseerd met uw apparaten","Synced with your devices":"Gesynchroniseerd met uw apparaten","Show links":"Links weergeven","Item locked":"Item vergrendeld","Item in processing":"Item in behandeling","This item is in processing":"Dit item is in behandeling","Space is enabled":"Ruimte is ingeschakeld","Enabled":"Ingeschakeld","Space is disabled":"Ruimte is uitgeschakeld","Select folder":"Map selecteren","Select space":"Ruimte selecteren","Select file":"Bestand selecteren","Clear selection":"Selectie opheffen","Select all":"Alles selecteren","Folder already exists":"Map bestaat al","File already exists":"Bestand bestaat al","Copy here?":"Hier kopiëren?","Copy here":"Hier kopiëren","You can't paste the selected file at this location because you can't paste an item into itself.":["U kunt het geselecteerde bestand op deze locatie niet plakken omdat een item niet in zichzelf geplakt kan worden.","Je kunt de geselecteerde bestanden op deze locatie niet plakken omdat een item niet in zichzelf geplakt kan worden."],"%{count} item was copied successfully":["%{count} item is met succes gekopieerd","%{count} items zijn met succes gekopieerd"],"%{count} item was moved successfully":["%{count} item is met succes verplaatst","%{count} items zijn met succes verplaatst"],"Failed to copy %{count} resources":"Kopiëren van %{count} hulpbronnen is mislukt","Failed to move %{count} resources":"Verplaatsen van %{count} hulpbronnen is mislukt","Failed to copy »%{name}«":"Kopiëren van »%{name}« is mislukt","Failed to move »%{name}«":"Verplaatsen van »%{name}« is mislukt","Insufficient quota":"Onvoldoende quota","A-Z":"A-Z","Z-A":"Z-A","Newest":"Nieuwste","Oldest":"Oudste","Largest":"Grootste","Smallest":"Kleinste","Search results":"Zoekresultaten","Favorite files":"Favoriete bestanden","Public file upload":"Upload van openbare bestanden","Files shared with me":"Bestanden gedeeld met mij","Files shared with others":"Gestanden gedeeld met anderen","Files shared via link":"Bestanden gedeeld via link","Trash overview":"Overzicht prullenbak","Must not be empty":"Kan niet leeg zijn","Valid special characters: %{characters}":"Geldige speciale tekens: %{characters}","%{param1}+ special characters":"%{param1}+ speciale tekens","%{param1}+ letters":"%{param1}+ letters","%{param1}+ uppercase letters":"%{param1}+ grote letters","%{param1}+ lowercase letters":"%{param1}+ kleine letters","%{param1}+ numbers":"%{param1}+ cijfers","Added %{numFiles} file(s)":"%{numFiles} bestand(en) toegevoegd","Connect":"Verbinden","Connect to %{pluginName}":"Verbinding maken met %{pluginName}","Please authenticate with %{pluginName} to select files":"Authenticeer met %{pluginName} om bestanden te selecteren","Connection with Companion failed":"Verbinding met Companion is mislukt","Loaded %{numFiles} files":"%{numFiles} bestanden geladen","Loading...":"Laden…","Log out":"Uitloggen","Public link without password protection":"Openbare link zonder wachtwoordbeveiliging","Select %{smart_count}":"%{smart_count} selecteren","Sign in with Google":"Inloggen met Google"}`),Le={Continue:"계속하기","An error occurred":"오류가 발생했습니다",Save:"저장",Close:"닫기",Cancel:"닫기",Options:"옵션",Password:"비밀번호","Used quota":"사용된 할당량","Remaining quota":"남은 할당량",Status:"상태",Tags:"테그",Actions:"액션",Disabled:"비활성","Close filter":"필터 닫기","Expiration date":"만료일",Confirm:"확인","»%{fileName}« was saved successfully":"»%{fileName}« 이 성공적으로 저장 되었습니다.",Quota:"할당량","%{displayName} (me)":"%{displayName} (나에게)","View options":"보기 옵션",Download:"다운로드",Copy:"복사",Create:"생성","File name":"파일명","»%{fileName}« was created successfully":"»%{fileName}« 이(가) 성공적으로 생성 되었습니다.","»%{folderName}« was created successfully":"»%{folderName}« 이(가) 성공적으로 생성 되었습니다.","Failed to create folder":"새 폴더를 생성하지 못했습니다.","New folder":"새 폴더","Create a new folder":"새 폴더를 생성 합니다.","Folder name":"폴더명",Delete:"삭제",Open:"열기",Details:"세부 사항","Edit quota":"할당량 수정","Edit description":"설명 편집",Personal:"개인","Can view":"확인 가능","Can upload":"업로드 가능","Can edit":"편집 가능",Enabled:"활성","File already exists":"파일이 이미 존재합니다","Log out":"로그아웃"},Ee={},xe={},Ue=JSON.parse(`{"Loading actions":"A carregar ações","No items selected.":"Nenhum item selecionado.","%{ amount } item selected. Actions are available above the table.":["%{ amount } item selecionado. As ações estão disponíveis acima da tabela.","%{ amount } itens selecionados. As ações estão disponíveis acima da tabela.","%{ amount } itens selecionados. As ações estão disponíveis acima da tabela."],"%{appName} for %{fileName}":"%{appName} para %{fileName}","Importing failed":"Falha na importação","File exceeds %{threshold}":"O ficheiro excede %{threshold}","%{resource} exceeds the recommended size of %{threshold} for editing, and may cause performance issues.":"%{resource} excede o tamanho recomendado de %{threshold} para edição e pode causar problemas de desempenho.","Continue":"Continuar","An error occurred":"Ocorreu um erro","File autosaved":"Ficheiro guardado automaticamente","You're not authorized to save this file":"Não tem autorização para guardar este ficheiro","Insufficient quota on \\"%{spaceName}\\" to save this file":"Quota insuficiente no espaço «%{spaceName}» para guardar este ficheiro","Insufficient quota for saving this file":"Quota insuficiente para guardar este ficheiro","Save":"Guardar","Unsaved changes":"Alterações não guardadas","Loading app":"A carregar aplicação","Close":"Fechar","Show context menu":"Mostrar menu de contexto","Autosave (every %{ duration })":"Autoguardar (a cada %{ duration })","Upload":"Enviar","Remove":"Remover","Crop your new profile picture":"Recortar a nova foto de perfil","Cancel":"Cancelar","Set":"Definir","Zoom via %{ zoomKeys }, pan via %{ panKeys }":"Zoom com %{ zoomKeys }, deslocar com %{ panKeys }","+-":"+-","↑↓←→":"↑↓←→","Are you sure you want to remove your profile picture?":"Tem a certeza de que quer remover a sua foto de perfil?","Remove profile picture":"Remover foto de perfil","File size exceeds the limit of %{size}MB":"O tamanho do ficheiro excede o limite de %{size} MB","Profile picture was set successfully":"Foto de perfil definida com sucesso","Failed to set profile picture":"Falha ao definir a foto de perfil","Profile picture was removed successfully":"Foto de perfil removida com sucesso","Failed to remove profile picture":"Falha ao remover a foto de perfil","Options":"Opções","Password":"Palavra-passe","Password:":"Palavra-passe:","Expiry date":"Data de validade","More options":"Mais opções","Share link(s)":"Partilhar ligação(ões)","Copy link":"Copiar ligação","Share link(s) and password(s)":"Partilhar ligação(ões) e palavra(s)-passe","Copy link and password":"Copiar ligação e palavra-passe","Unnamed link":"Ligação sem nome","Webpage or file":"Página web ou ficheiro","Enter the target URL of a webpage or the name of a file. Users will be directed to this webpage or file.":"Introduza o URL de destino de uma página web ou o nome de um ficheiro. Os utilizadores serão redirecionados para essa página ou ficheiro.","Link to a file":"Ligar a um ficheiro","Shortcut name":"Nome do atalho","Shortcut name as it will appear in the file list.":"Nome do atalho como aparecerá na lista de ficheiros.","»%{name}« already exists":"«%{name}» já existe","Shortcut name cannot contain \\"/\\"":"O nome do atalho não pode conter \\"/\\"","Shortcut was created successfully":"Atalho criado com sucesso","Failed to create shortcut":"Falha ao criar o atalho","Open with...":"Abrir com…","Open »%{name}«":"Abrir «%{name}»","This item is locked":"Este item está bloqueado","File is being processed":"O ficheiro está a ser processado","Rename file »%{name}«":"Renomear ficheiro «%{name}»","Rename":"Renomear","Search for tag %{tag}":"Procurar pela etiqueta %{tag}","Name":"Nome","Manager":"Gestor","Members":"Membros","Total quota":"Quota total","Used quota":"Quota utilizada","Remaining quota":"Quota restante","Status":"Estado","Size":"Tamanho","Info":"Informação","Tags":"Etiquetas","Shared by":"Partilhado por","Shared with":"Partilhado com","Modified":"Modificado","Shared on":"Partilhado em","Deleted":"Eliminado","Actions":"Ações","folder":"pasta","file":"ficheiro","This %{ resourceType } is shared via %{ shareCount } invite":["Este %{ resourceType } é partilhado através de %{ shareCount } convite","Este %{ resourceType } é partilhado através de %{ shareCount } convites","Este %{ resourceType } é partilhado através de %{ shareCount } convites"],"This %{ resourceType } is shared by %{ user }":"Este %{ resourceType } é partilhado por %{ user }","Disabled":"Desativado","Sort by":"Ordenar por","Custom date range":"Intervalo de datas personalizado","Go back to filter options":"Voltar às opções de filtro","Close filter":"Fechar filtro","From":"De","To":"Até","Apply":"Aplicar","Filter list":"Filtrar lista","Toggle selection":"Alternar seleção","Select a role":"Selecionar uma função","Role":"Função","Expiration date":"Data de expiração","Confirm":"Confirmar","Skip":"Ignorar","Keep both":"Manter ambos","Apply to all %{count} conflicts":"Aplicar a todos os %{count} conflitos","Apply to all %{count} folders":"Aplicar a todas as %{count} pastas","Apply to all %{count} files":"Aplicar a todos os %{count} ficheiros","Folder with name »%{name}« already exists.":"Já existe uma pasta com o nome «%{name}».","File with name »%{name}« already exists.":"Já existe um ficheiro com o nome «%{name}».","Replace":"Substituir","»%{fileName}« was saved successfully":"«%{fileName}» foi guardado com sucesso","Unable to save »%{fileName}«":"Impossível guardar «%{fileName}»","Moving files from one space to another is not possible. Do you want to copy instead?":"Mover ficheiros de um espaço para outro não é possível. Deseja copiar em vez disso?","Note: Links and shares of the original file are not copied.":"Nota: Ligações e partilhas do ficheiro original não são copiadas.","Your changes were not saved. Do you want to save them?":"As suas alterações não foram guardadas. Deseja guardá-las?","Don't Save":"Não guardar","Navigation":"Navegação","Quota":"Quota","No restriction":"Sem restrição","Please enter only numbers":"Introduza apenas números","Please enter a value equal to or less than %{ quotaLimit }":"Introduza um valor igual ou inferior a %{ quotaLimit }","Location filter":"Filtro de localização","Current folder":"Pasta atual","All files":"Todos os ficheiros","Changes saved":"Alterações guardadas","Revert":"Reverter","No changes":"Sem alterações","Close file sidebar":"Fechar barra lateral de ficheiros","Back to %{panel} panel":"Voltar ao painel %{panel}","Back to main panels":"Voltar aos painéis principais","Space image is loading":"A carregar imagem do espaço","Show":"Mostrar","Overview of the information about the selected space":"Resumo da informação sobre o espaço selecionado","Last activity":"Última atividade","Subtitle":"Subtítulo","%{displayName} (me)":"%{displayName} (eu)","This space has one member and %{linkShareCount} link.":["Este espaço tem um membro e %{linkShareCount} ligação.","Este espaço tem um membro e %{linkShareCount} ligações.","Este espaço tem um membro e %{linkShareCount} ligações."],"This space has %{memberShareCount} members and one link.":"Este espaço tem %{memberShareCount} membros e uma ligação.","This space has %{memberShareCount} members and %{linkShareCount} links.":"Este espaço tem %{memberShareCount} membros e %{linkShareCount} ligações.","Open share panel":"Abrir painel de partilha","Open link list in share panel":"Abrir lista de ligações no painel de partilha","Open member list in share panel":"Abrir lista de membros no painel de partilha","This space has %{memberShareCount} member.":["Este espaço tem %{memberShareCount} membro.","Este espaço tem %{memberShareCount} membros.","Este espaço tem %{memberShareCount} membros."],"%{linkShareCount} link giving access.":["%{linkShareCount} ligação com acesso.","%{linkShareCount} ligações com acesso.","%{linkShareCount} ligações com acesso."],"Overview of the information about the selected spaces":"Resumo da informação sobre os espaços selecionados","%{ itemCount } space selected":["%{ itemCount } espaço selecionado","%{ itemCount } espaços selecionados","%{ itemCount } espaços selecionados"],"Total quota:":"Quota total:","Remaining quota:":"Quota restante:","Used quota:":"Quota utilizada:","Enabled:":"Ativados:","Disabled:":"Desativados:","Select a space to view details":"Selecione um espaço para ver detalhes","WebDAV path":"Caminho WebDAV","Copy WebDAV path":"Copiar caminho WebDAV","Copy WebDAV path to clipboard":"Copiar caminho WebDAV para a área de transferência","WebDAV URL":"URL WebDAV","Copy WebDAV URL":"Copiar URL WebDAV","Copy WebDAV URL to clipboard":"Copiar URL WebDAV para a área de transferência","%{used} of %{total} used (%{percentage}% used)":"%{used} de %{total} usados (%{percentage}% usados)","%{used} used (no restriction)":"%{used} usados (sem restrição)","Space quota was changed successfully":["Quota do espaço alterada com sucesso","Quota de %{count} espaços alterada com sucesso","Quota de %{count} espaços alterada com sucesso"],"User quota was changed successfully":["Quota do utilizador alterada com sucesso","Quota de %{count} utilizadores alterada com sucesso","Quota de %{count} utilizadores alterada com sucesso"],"Quota was changed successfully":"Quota alterada com sucesso","Failed to change space quota":["Falha ao alterar a quota do espaço","Falha ao alterar a quota de %{count} espaços","Falha ao alterar a quota de %{count} espaços"],"Failed to change user quota":["Falha ao alterar a quota do utilizador","Falha ao alterar a quota de %{count} utilizadores","Falha ao alterar a quota de %{count} utilizadores"],"Failed to change quota":"Falha ao alterar a quota","Space image was set successfully":"Imagem do espaço definida com sucesso","Failed to set space image":"Falha ao definir a imagem do espaço","Not enough quota to set the space image":"Quota insuficiente para definir a imagem do espaço","Failed to load space image":"Falha ao carregar a imagem do espaço","hide line numbers":"ocultar números de linha","show line numbers":"mostrar números de linha","Checking for updates":"A verificar atualizações","Up to date":"Atualizado","Version %{version} available":"Versão %{version} disponível","Switch view mode":"Alterar modo de visualização","View mode":"Modo de visualização","Display customization options of the files list":"Mostrar opções de personalização da lista de ficheiros","View options":"Opções de visualização","Show hidden files":"Mostrar ficheiros ocultos","Show file extensions":"Mostrar extensões de ficheiros","Items per page":"Itens por página","Show disabled Spaces":"Mostrar espaços desativados","Show empty trash bins":"Mostrar lixos vazios","Tile size":"Tamanho do mosaico","Download":"Transferir","⌘ + C":"⌘ + C","Ctrl + C":"Ctrl + C","Copy":"Copiar","The link has been copied to your clipboard.":"A ligação foi copiada para a área de transferência.","Copy link failed":"Falha ao copiar a ligação","Copy permanent link":"Copiar ligação permanente","Copy link for »%{resourceName}«":["Copiar ligação para «%{resourceName}»","Copiar ligações para os itens selecionados","Copiar ligações para os itens selecionados"],"Create links":"Criar ligações","New file":"Novo ficheiro","Create a new file":"Criar um novo ficheiro","Create":"Criar","File name":"Nome do ficheiro","»%{fileName}« was created successfully":"«%{fileName}» foi criado com sucesso","Failed to create file":"Falha ao criar o ficheiro","»%{folderName}« was created successfully":"«%{folderName}» foi criada com sucesso","Failed to create folder":"Falha ao criar a pasta","New folder":"Nova pasta","Create a new folder":"Criar uma nova pasta","Folder name":"Nome da pasta","New Folder":"Nova pasta","Create a Shortcut":"Criar um atalho","New Shortcut":"Novo atalho","Space was created successfully":"Espaço criado com sucesso","Creating space failed…":"Falha ao criar o espaço…","Create Space from »%{resourceName}«":["Criar espaço a partir de «%{resourceName}»","Criar espaço a partir da seleção","Criar espaço a partir da seleção"],"Create Space with the content of »%{resourceName}«.":["Criar espaço com o conteúdo de «%{resourceName}».","Criar espaço com os ficheiros selecionados.","Criar espaço com os ficheiros selecionados."],"The marked elements will be copied.":"Os elementos selecionados serão copiados.","Restrictions":"Restrições","Shares, versions and tags will not be copied.":"Partilhas, versões e etiquetas não serão copiadas.","Space name":"Nome do espaço","Create Space from selection":"Criar espaço a partir da seleção","Delete":"Eliminar","File can't be deleted because it is currently locked.":"O ficheiro não pode ser eliminado porque está bloqueado.","Sync for the selected share was disabled successfully":["Sincronização desativada com sucesso para a partilha selecionada","Sincronização desativada com sucesso para as partilhas selecionadas","Sincronização desativada com sucesso para as partilhas selecionadas"],"Failed to disable sync for the the selected share":["Falha ao desativar a sincronização da partilha selecionada","Falha ao desativar a sincronização das partilhas selecionadas","Falha ao desativar a sincronização das partilhas selecionadas"],"Disable sync":"Desativar sincronização","Failed to download the selected folder.":"Falha ao transferir a pasta selecionada.","The selection exceeds the allowed archive size (max. %{maxSize})":"A seleção excede o tamanho máximo permitido para arquivo (máx. %{maxSize})","All deleted files were removed":"Todos os ficheiros eliminados foram removidos","Failed to empty trash bin":"Falha ao esvaziar o lixo","Empty trash bin for »%{name}«":"Esvaziar o lixo de «%{name}»","Are you sure you want to permanently delete the items in »%{name}«? You can’t undo this action.":"Tem a certeza de que quer eliminar permanentemente os itens em «%{name}»? Esta ação não pode ser anulada.","Empty trash bin":"Esvaziar o lixo","Sync for the selected share was enabled successfully":["Sincronização ativada com sucesso para a partilha selecionada","Sincronização ativada com sucesso para as partilhas selecionadas","Sincronização ativada com sucesso para as partilhas selecionadas"],"Failed to enable sync for the the selected share":["Falha ao ativar a sincronização da partilha selecionada","Falha ao ativar a sincronização das partilhas selecionadas","Falha ao ativar a sincronização das partilhas selecionadas"],"Enable sync":"Ativar sincronização","Failed to change favorite state of \\"%{file}\\"":"Falha ao alterar o estado de favorito de «%{file}»","Remove from favorites":"Remover dos favoritos","Add to favorites":"Adicionar aos favoritos","⌘ + X":"⌘ + X","Ctrl + X":"Ctrl + X","Cut":"Cortar","Failed to open shortcut":"Falha ao abrir o atalho","Open shortcut":"Abrir atalho","Open file in %{app}":"Abrir ficheiro em %{app}","Open":"Abrir","⌘ + V":"⌘ + V","Ctrl + V":"Ctrl + V","Paste":"Colar","Failed to rename \\"%{file}\\" to »%{newName}«":"Falha ao renomear «%{file}» para «%{newName}»","Failed to rename »%{file}« to »%{newName}« - the file is locked":"Falha ao renomear «%{file}» para «%{newName}» – o ficheiro está bloqueado","Rename folder »%{name}«":"Renomear pasta «%{name}»","%{resource} was restored successfully":"%{resource} foi restaurado com sucesso","%{resourceCount} files restored successfully":"%{resourceCount} ficheiros restaurados com sucesso","Failed to restore \\"%{resource}\\"":"Falha ao restaurar «%{resource}»","Failed to restore %{resourceCount} files":"Falha ao restaurar %{resourceCount} ficheiros","Restore":"Restaurar","Save as":"Guardar como","Crop your Space image":"Recortar a imagem do espaço","Set as space image":"Definir como imagem do espaço","All Actions":"Todas as ações","Details":"Detalhes","Share":"Partilhar","The share was hidden successfully":"A partilha foi ocultada com sucesso","The share was unhidden successfully":"A partilha foi mostrada com sucesso","Failed to hide the share":"Falha ao ocultar a partilha","Failed to unhide the share":"Falha ao mostrar a partilha","Unhide":"Mostrar","Hide":"Ocultar","Failed to restore files":"Falha ao restaurar os ficheiros","⌘ + Z":"⌘ + Z","Ctrl + Z":"Ctrl + Z","Undo":"Desfazer","\\"%{item}\\" was moved to trash bin":"«%{item}» foi movido para o lixo","%{itemCount} item was moved to trash bin":["%{itemCount} item foi movido para o lixo","%{itemCount} itens foram movidos para o lixo","%{itemCount} itens foram movidos para o lixo"],"Permanently delete folder »%{name}«":"Eliminar permanentemente a pasta «%{name}»","Permanently delete file »%{name}«":"Eliminar permanentemente o ficheiro «%{name}»","Permanently delete selected resource?":["Eliminar permanentemente o recurso selecionado?","Eliminar permanentemente os %{amount} recursos selecionados?","Eliminar permanentemente os %{amount} recursos selecionados?"],"Are you sure you want to delete this folder? All its content will be permanently removed. This action cannot be undone.":"Tem a certeza de que quer eliminar permanentemente esta pasta? Todo o conteúdo será removido definitivamente. Esta ação não pode ser anulada.","Are you sure you want to delete this file? All its content will be permanently removed. This action cannot be undone.":"Tem a certeza de que quer eliminar permanentemente este ficheiro? Todo o conteúdo será removido definitivamente. Esta ação não pode ser anulada.","Are you sure you want to delete all selected resources? All their content will be permanently removed. This action cannot be undone.":"Tem a certeza de que quer eliminar permanentemente todos os recursos selecionados? Todo o conteúdo será removido definitivamente. Esta ação não pode ser anulada.","\\"%{item}\\" was deleted successfully":"«%{item}» foi eliminado com sucesso","%{itemCount} item was deleted successfully":["%{itemCount} item foi eliminado com sucesso","%{itemCount} itens foram eliminados com sucesso","%{itemCount} itens foram eliminados com sucesso"],"Failed to delete \\"%{item}\\"":"Falha ao eliminar «%{item}»","Failed to delete \\"%{resource}\\"":"Falha ao eliminar «%{resource}»","Failed to delete \\"%{resource}\\" - the file is locked":"Falha ao eliminar «%{resource}» – o ficheiro está bloqueado","The name cannot be empty":"O nome não pode estar vazio","The name cannot contain \\"/\\"":"O nome não pode conter \\"/\\"","The name cannot be equal to \\".\\"":"O nome não pode ser \\".\\"","The name cannot be equal to \\"..\\"":"O nome não pode ser \\"..\\"","The name cannot start or end with whitespace":"O nome não pode começar nem terminar com espaços","The name is too long":"O nome é demasiado longo","The name »%{name}« is already taken":"O nome «%{name}» já está em uso","The Space name cannot be empty":"O nome do espaço não pode estar vazio","The Space name is too long":"O nome do espaço é demasiado longo","The Space name cannot start or end with whitespace":"O nome do espaço não pode começar nem terminar com espaços","The Space name cannot contain the following characters: / \\\\\\\\ . : ? * \\" > < |'":"O nome do espaço não pode conter os seguintes caracteres: / \\\\ . : ? * \\" > < |'","New Space":"Novo espaço","Create a new space":"Criar um novo espaço","New space":"Novo espaço","Space »%{space}« was deleted successfully":"Espaço «%{space}» eliminado com sucesso","%{spaceCount} space was deleted successfully":["%{spaceCount} espaço foi eliminado com sucesso","%{spaceCount} espaços foram eliminados com sucesso","%{spaceCount} espaços foram eliminados com sucesso"],"Failed to delete space »%{space}«":"Falha ao eliminar o espaço «%{space}»","Failed to delete %{spaceCount} space":["Falha ao eliminar %{spaceCount} espaço","Falha ao eliminar %{spaceCount} espaços","Falha ao eliminar %{spaceCount} espaços"],"Are you sure you want to delete the selected space?":["Tem a certeza de que quer eliminar o espaço selecionado?","Tem a certeza de que quer eliminar os %{count} espaços selecionados?","Tem a certeza de que quer eliminar os %{count} espaços selecionados?"],"Delete Space »%{space}«?":["Eliminar espaço «%{space}»?","Eliminar %{spaceCount} espaços?","Eliminar %{spaceCount} espaços?"],"Space image deleted successfully":"Imagem do espaço eliminada com sucesso","Failed to delete space image":"Falha ao eliminar a imagem do espaço","Delete »%{space}« image":"Eliminar imagem do espaço «%{space}»","Are you sure you want to delete the image of »%{space}«?":"Tem a certeza de que quer eliminar a imagem do espaço «%{space}»?","Delete image":"Eliminar imagem","Space »%{space}« was disabled successfully":"Espaço «%{space}» desativado com sucesso","%{spaceCount} space was disabled successfully":["%{spaceCount} espaço foi desativado com sucesso","%{spaceCount} espaços foram desativados com sucesso","%{spaceCount} espaços foram desativados com sucesso"],"Failed to disable space »%{space}«":"Falha ao desativar o espaço «%{space}»","Failed to disable %{spaceCount} space":["Falha ao desativar %{spaceCount} espaço","Falha ao desativar %{spaceCount} espaços","Falha ao desativar %{spaceCount} espaços"],"If you disable the selected space, it can no longer be accessed. Only Space managers will still have access. Note: No files will be deleted from the server.":["Ao desativar o espaço selecionado, ele deixará de estar acessível. Apenas os gestores do espaço manterão acesso. Nota: Nenhum ficheiro será eliminado do servidor.","Ao desativar os %{count} espaços selecionados, eles deixarão de estar acessíveis. Apenas os gestores dos espaços manterão acesso. Nota: Nenhum ficheiro será eliminado do servidor.","Ao desativar os %{count} espaços selecionados, eles deixarão de estar acessíveis. Apenas os gestores dos espaços manterão acesso. Nota: Nenhum ficheiro será eliminado do servidor."],"Disable":"Desativar","Disable Space »%{space}«?":["Desativar espaço «%{space}»?","Desativar %{spaceCount} espaços?","Desativar %{spaceCount} espaços?"],"Space »%{space}« was duplicated successfully":"Espaço «%{space}» duplicado com sucesso","Failed to duplicate space »%{space}«":"Falha ao duplicar o espaço «%{space}»","Duplicate":"Duplicar","Space subtitle was changed successfully":"Subtítulo do espaço alterado com sucesso","Failed to change space subtitle":"Falha ao alterar o subtítulo do espaço","Change subtitle for space":"Alterar subtítulo do espaço","Space subtitle":"Subtítulo do espaço","Edit subtitle":"Editar subtítulo","Change quota for Space »%{name}«":"Alterar quota do espaço «%{name}»","Change quota for %{count} Spaces":"Alterar quota para %{count} espaços","Edit quota":"Editar quota","Edit description":"Editar descrição","Open trash bin":"Abrir o lixo","Space name was changed successfully":"Nome do espaço alterado com sucesso","Failed to rename space":"Falha ao renomear o espaço","Rename space »%{name}«":"Renomear espaço «%{name}»","Space »%{space}« was enabled successfully":"Espaço «%{space}» ativado com sucesso","%{spaceCount} space was enabled successfully":["%{spaceCount} espaço foi ativado com sucesso","%{spaceCount} espaços foram ativados com sucesso","%{spaceCount} espaços foram ativados com sucesso"],"Failed to enable space »%{space}«":"Falha ao ativar o espaço «%{space}»","Failed to enable %{spaceCount} space":["Falha ao ativar %{spaceCount} espaço","Falha ao ativar %{spaceCount} espaços","Falha ao ativar %{spaceCount} espaços"],"If you enable the selected space, it can be accessed again.":["Ao ativar o espaço selecionado, ele voltará a estar acessível.","Ao ativar os %{count} espaços selecionados, eles voltarão a estar acessíveis.","Ao ativar os %{count} espaços selecionados, eles voltarão a estar acessíveis."],"Enable":"Ativar","Enable Space »%{space}«?":["Ativar espaço «%{space}»?","Ativar %{spaceCount} espaços?","Ativar %{spaceCount} espaços?"],"Set icon for »%{space}«":"Definir ícone para «%{space}»","Space icon was set successfully":"Ícone do espaço definido com sucesso","Failed to set space icon":"Falha ao definir o ícone do espaço","Not enough quota to set the space icon":"Quota insuficiente para definir o ícone do espaço","Set icon":"Definir ícone","Pop-up and redirect block detected":"Detetado bloqueio de pop-ups e redirecionamentos","Please turn on pop-ups and redirects in your browser settings to make sure everything works right.":"Ative as janelas pop-up e redirecionamentos nas definições do navegador para garantir o funcionamento correto.","Download failed":"Falha na transferência","File could not be located":"O ficheiro não foi encontrado","Spaces":"Espaços","Shares":"Partilhas","Shared with me":"Partilhado comigo","Personal":"Pessoal","Link has been created successfully":"A ligação foi criada com sucesso","%{link} Password:%{password}":"%{link} Palavra-passe: %{password}","Failed to create link":["Falha ao criar a ligação","Falha ao criar as ligações","Falha ao criar as ligações"],"Can view":"Pode ver","View, download":"Ver, transferir","Can upload":"Pode enviar","View, upload, download":"Ver, enviar, transferir","Can edit":"Pode editar","View, upload, edit, download, delete":"Ver, enviar, editar, transferir, eliminar","Secret File Drop":"Entrega secreta de ficheiros","Upload only, existing content is not revealed":"Apenas envio, o conteúdo existente não é revelado","Copied to clipboard!":"Copiado para a área de transferência!","Cut to clipboard!":"Cortado para a área de transferência!","%{ filesCount } file":["%{ filesCount } ficheiro","%{ filesCount } ficheiros","%{ filesCount } ficheiros"],"%{ filesCount } file including %{ filesHiddenCount } hidden":["%{ filesCount } ficheiro (incluindo %{ filesHiddenCount } oculto)","%{ filesCount } ficheiros (incluindo %{ filesHiddenCount } ocultos)","%{ filesCount } ficheiros (incluindo %{ filesHiddenCount } ocultos)"],"%{ foldersCount } folder":["%{ foldersCount } pasta","%{ foldersCount } pastas","%{ foldersCount } pastas"],"%{ foldersCount } folder including %{ foldersHiddenCount } hidden":["%{ foldersCount } pasta (incluindo %{ foldersHiddenCount } oculta)","%{ foldersCount } pastas (incluindo %{ foldersHiddenCount } ocultas)","%{ foldersCount } pastas (incluindo %{ foldersHiddenCount } ocultas)"],"%{ spacesCount } space":["%{ spacesCount } espaço","%{ spacesCount } espaços","%{ spacesCount } espaços"],"%{ itemsCount } item with %{ itemSize } in total":"%{ itemsCount } item com %{ itemSize } no total","%{ itemsCount } item in total":"%{ itemsCount } item no total","%{ itemsCount } items with %{ itemSize } in total":"%{ itemsCount } itens com %{ itemSize } no total","%{ itemsCount } items in total":"%{ itemsCount } itens no total","This item is directly shared with others.":"Este item está diretamente partilhado com outros.","This item is shared with others through one of the parent folders.":"Este item está partilhado com outros através de uma das pastas superiores.","This item is directly shared via links.":"Este item está diretamente partilhado através de ligações.","This item is shared via links through one of the parent folders.":"Este item está partilhado através de ligações numa das pastas superiores.","Show invited people":"Mostrar pessoas convidadas","This item is synced with your devices":"Este item está sincronizado com os seus dispositivos","Synced with your devices":"Sincronizado com os seus dispositivos","Show links":"Mostrar ligações","Item locked":"Item bloqueado","Item in processing":"Item em processamento","This item is in processing":"Este item está em processamento","Space is enabled":"Espaço ativado","Enabled":"Ativado","Space is disabled":"Espaço desativado","Select folder":"Selecionar pasta","Select space":"Selecionar espaço","Select file":"Selecionar ficheiro","Clear selection":"Limpar seleção","Select all":"Selecionar tudo","Folder already exists":"A pasta já existe","File already exists":"O ficheiro já existe","Copy here?":"Copiar aqui?","Copy here":"Copiar aqui","You can't paste the selected file at this location because you can't paste an item into itself.":["Não pode colar o ficheiro selecionado neste local porque não é permitido colar um item dentro de si próprio.","Não pode colar os ficheiros selecionados neste local porque não é permitido colar um item dentro de si próprio.","Não pode colar os ficheiros selecionados neste local porque não é permitido colar um item dentro de si próprio."],"%{count} item was copied successfully":["%{count} item foi copiado com sucesso","%{count} itens foram copiados com sucesso","%{count} itens foram copiados com sucesso"],"%{count} item was moved successfully":["%{count} item foi movido com sucesso","%{count} itens foram movidos com sucesso","%{count} itens foram movidos com sucesso"],"Failed to copy %{count} resources":"Falha ao copiar %{count} recursos","Failed to move %{count} resources":"Falha ao mover %{count} recursos","Failed to copy »%{name}«":"Falha ao copiar «%{name}»","Failed to move »%{name}«":"Falha ao mover «%{name}»","Insufficient quota":"Quota insuficiente","A-Z":"A–Z","Z-A":"Z–A","Newest":"Mais recente","Oldest":"Mais antigo","Largest":"Maior","Smallest":"Menor","Search results":"Resultados da pesquisa","Favorite files":"Ficheiros favoritos","Public file upload":"Envio público de ficheiros","Files shared with me":"Ficheiros partilhados comigo","Files shared with others":"Ficheiros partilhados com outros","Files shared via link":"Ficheiros partilhados por ligação","Trash overview":"Visão geral do lixo","Must not be empty":"Não pode estar vazio","Valid special characters: %{characters}":"Caracteres especiais válidos: %{characters}","%{param1}+ special characters":"Pelo menos %{param1} caracteres especiais","%{param1}+ letters":"Pelo menos %{param1} letras","%{param1}+ uppercase letters":"Pelo menos %{param1} letras maiúsculas","%{param1}+ lowercase letters":"Pelo menos %{param1} letras minúsculas","%{param1}+ numbers":"Pelo menos %{param1} números","Added %{numFiles} file(s)":"Adicionados %{numFiles} ficheiro(s)","Connect":"Ligar","Connect to %{pluginName}":"Ligar a %{pluginName}","Please authenticate with %{pluginName} to select files":"Autentique-se com %{pluginName} para selecionar ficheiros","Connection with Companion failed":"Falha na ligação ao Companion","Loaded %{numFiles} files":"Carregados %{numFiles} ficheiros","Loading...":"A carregar…","Log out":"Terminar sessão","Public link without password protection":"Ligação pública sem proteção por palavra-passe","Select %{smart_count}":"Selecionar %{smart_count}","Sign in with Google":"Iniciar sessão com o Google"}`),Oe={},Ie={},qe=JSON.parse(`{"Loading actions":"Laddar åtgärder","No items selected.":"Inga artiklar valda.","%{ amount } item selected. Actions are available above the table.":["%{ belopp } objekt valt. Åtgärder finns tillgängliga ovanför tabellen.","%{ antal } objekt valda. Åtgärder finns tillgängliga ovanför tabellen."],"%{appName} for %{fileName}":"%{appName} för %{fileName}","Importing failed":"Importen misslyckades","File exceeds %{threshold}":"Filen överskrider %{threshold}","%{resource} exceeds the recommended size of %{threshold} for editing, and may cause performance issues.":"%{resource} överskrider den rekommenderade storleken på %{threshold} för redigering och kan orsaka prestandaproblem.","Continue":"Fortsätt","An error occurred":"Ett fel uppstod","File autosaved":"Filen sparas automatiskt","You're not authorized to save this file":"Du har inte behörighet att spara den här filen","Insufficient quota on \\"%{spaceName}\\" to save this file":"Otillräcklig kvot på \\"%{spaceName}\\" för att spara den här filen","Insufficient quota for saving this file":"Otillräcklig kvot för att spara den här filen","Save":"Spara","Unsaved changes":"Ändringar som inte sparats","Loading app":"Laddar app","Close":"Stäng","Show context menu":"Visa snabbmeny","Autosave (every %{ duration })":"Automatisk sparning (varje %{ varaktighet })","Upload":"Ladda upp","Remove":"Ta bort","Crop your new profile picture":"Beskär din nya profilbild","Cancel":"Avbryt","Set":"Sätt","Zoom via %{ zoomKeys }, pan via %{ panKeys }":"Zooma med %{ zoomKeys }, panorera med %{ panKeys }","+-":"+-","↑↓←→":"↑↓←→","Are you sure you want to remove your profile picture?":"Är du säker på att du vill ta bort din profilbild?","Remove profile picture":"Ta bort profilbild","File size exceeds the limit of %{size}MB":"Filstorleken överskrider gränsen på %{size} MB","Profile picture was set successfully":"Profilbilden har lagts till","Failed to set profile picture":"Det gick inte att ställa in profilbild","Profile picture was removed successfully":"Profilbilden har tagits bort","Failed to remove profile picture":"Det gick inte att ta bort profilbilden","Options":"Alternativ","Password":"Lösenord","Password:":"Lösenord:","Expiry date":"Utgångsdatum","More options":"Ytterligare inställningar","Share link(s)":"Dela länk(ar)","Copy link":"Kopiera länk","Share link(s) and password(s)":"Dela länk(ar) och lösenord","Copy link and password":"Kopiera länk och lösenord","Unnamed link":"Namnlös länk","Webpage or file":"Webbsida eller fil","Enter the target URL of a webpage or the name of a file. Users will be directed to this webpage or file.":"Ange mål-URL för en webbsida eller namnet på en fil. Användarna kommer att dirigeras till denna webbsida eller fil.","Link to a file":"Länk till en fil","Shortcut name":"Genvägsnamn","Shortcut name as it will appear in the file list.":"Genvägsnamn som det kommer att visas i fillistan.","»%{name}« already exists":"»%{name}« finns redan","Shortcut name cannot contain \\"/\\"":"Genvägsnamnet får inte innehålla \\"/\\"","Shortcut was created successfully":"Genvägen skapades","Failed to create shortcut":"Det gick inte att skapa genväg","Open with...":"Öppna med...","Open »%{name}«":"Öppna »%{name}«","This item is locked":"Denna artikel är låst","File is being processed":"Filen bearbetas","Rename file »%{name}«":"Byt namn på filen »%{name}«","Rename":"Byt namn","Search for tag %{tag}":"Sök efter tagg %{tag}","Name":"Namn","Manager":"Líder","Members":"Medlemmar","Total quota":"Total kvot","Used quota":"Använd kvot","Remaining quota":"Återstående kvot","Status":"Status","Size":"Storlek","Info":"Info","Tags":"Taggar","Shared by":"Delat av","Shared with":"Delat med","Modified":"Ändrad","Shared on":"Delat på","Deleted":"Raderad","Actions":"Åtgärder","folder":"mapp","file":"fil","This %{ resourceType } is shared via %{ shareCount } invite":["Denna %{ resourceType } delas via %{ shareCount } inbjudan","Denna %{ resourceType } delas via %{ shareCount } inbjudningar"],"This %{ resourceType } is shared by %{ user }":"Denna %{ resourceType } delas av %{ user }","Disabled":"Inaktiverad","Sort by":"Sortera efter","Custom date range":"Anpassat datumintervall","Go back to filter options":"Gå tillbaka till filteralternativen","Close filter":"Stäng filter","From":"Från","To":"Till","Apply":"Tillämpa","Filter list":"Filterlista","Toggle selection":"Växla markering","Select a role":"Välj en roll","Role":"Roll","Expiration date":"Förfallodatum","Confirm":"Bekräfta","Skip":"Hoppa över","Keep both":"Behåll båda","Apply to all %{count} conflicts":"Tillämpa på alla %{count} konflikter","Apply to all %{count} folders":"Tillämpa på alla %{count} mappar","Apply to all %{count} files":"Tillämpa på alla %{count} filer","Folder with name »%{name}« already exists.":"Mappen med namnet »%{name}« finns redan.","File with name »%{name}« already exists.":"Filen med namnet »%{name}« finns redan.","Replace":"Ersätt","»%{fileName}« was saved successfully":"»%{fileName}« har sparats","Unable to save »%{fileName}«":"Kan inte spara »%{fileName}«","Moving files from one space to another is not possible. Do you want to copy instead?":"Det går inte att flytta filer från en arbetsyta till ett annan. Vill du kopiera istället?","Note: Links and shares of the original file are not copied.":"Observera: Länkar och delningar av originalfilen kopieras inte.","Your changes were not saved. Do you want to save them?":"Dina ändringar har inte sparats. Vill du spara dem?","Don't Save":"Spara inte","Navigation":"Navigering","Quota":"Kvot","No restriction":"Ingen begränsning","Please enter only numbers":"Ange endast siffror","Please enter a value equal to or less than %{ quotaLimit }":"Ange ett värde som är lika med eller mindre än %{ quotaLimit }","Location filter":"Filtrera på ort","Current folder":"Aktuell mapp","All files":"Alla filer","Changes saved":"Ändringar har sparats","Revert":"Återställ","No changes":"Spara ändringar","Close file sidebar":"Stäng filens sidofält","Back to %{panel} panel":"Tillbaka till %{panel} panel","Back to main panels":"Tillbaka till huvudpanelerna","Space image is loading":"Arbetsytans bild läses in","Show":"Visa","Overview of the information about the selected space":"Översikt över informationen om den valda arbetsytan","Last activity":"Senaste aktivitet","Subtitle":"Underrubrik","%{displayName} (me)":"%{displayName} (jag)","This space has one member and %{linkShareCount} link.":["Denna grupp har en medlem och %{linkShareCount} länkar.","Denna grupp har en medlem och %{linkShareCount} länkar."],"This space has %{memberShareCount} members and one link.":"Denna grupp har %{memberShareCount} medlemmar och en länk.","This space has %{memberShareCount} members and %{linkShareCount} links.":"Denna sida har %{memberShareCount} medlemmar och %{linkShareCount} länkar.","Open share panel":"Öppna delningspanelen","Open link list in share panel":"Öppna länklista i delningspanelen","Open member list in share panel":"Öppna medlemslistan i delningspanelen","This space has %{memberShareCount} member.":["Denna arbetsyta har %{memberShareCount} medlem.","Denna arbetsyta har %{memberShareCount} medlemmar."],"%{linkShareCount} link giving access.":["%{linkShareCount} länk som ger åtkomst.","%{linkShareCount} länkar som ger åtkomst."],"Overview of the information about the selected spaces":"Översikt över informationen om de valda arbetsytorna","%{ itemCount } space selected":["%{ itemCount } arbetsyta vald","%{ itemCount } arbetsytor valda"],"Total quota:":"Total kvot:","Remaining quota:":"Återstående kvot:","Used quota:":"Använd kvot:","Enabled:":"Aktiverad:","Disabled:":"Inaktiverad:","Select a space to view details":"Välj en arbetsyta för att visa detaljer","WebDAV path":"WebDAV-sökväg","Copy WebDAV path":"Kopiera WebDAV-sökväg","Copy WebDAV path to clipboard":"Kopiera WebDAV-sökvägen till urklipp","WebDAV URL":"WebDAV-URL","Copy WebDAV URL":"Kopiera WebDAV-URL","Copy WebDAV URL to clipboard":"Kopiera WebDAV-URL till urklipp","%{used} of %{total} used (%{percentage}% used)":"%{used} av %{total} använd (%{percentage}% uanvänd)","%{used} used (no restriction)":"%{used} används (inga begränsningar)","Space quota was changed successfully":["Arbetsytans kvot har ändrats","Kvoten för %{count} arbetsytor har ändrats"],"User quota was changed successfully":["Användarkvoten har ändrats","Kvoten på %{count} användare har ändrats"],"Quota was changed successfully":"Kvoten har ändrats","Failed to change space quota":["Det gick inte att ändra arbetsytans kvot","Det gick inte att ändra kvoten för %{count} arbetsytor"],"Failed to change user quota":["Det gick inte att ändra användarkvoten","Det gick inte att ändra kvoten för %{count} användare"],"Failed to change quota":"Det gick inte att ändra kvoten","Space image was set successfully":"Arbetsytans bild har ställts in korrekt","Failed to set space image":"Det gick inte att ställa in arbetsytans bild","Not enough quota to set the space image":"Inte tillräckligt med kvot för att ställa in arbetsytans bild","Failed to load space image":"Det gick inte att läsa in arbetsytans bild","hide line numbers":"dölj radnummer","show line numbers":"visa radnummer","Checking for updates":"Söker efter uppdateringar","Up to date":"Uppdaterad","Version %{version} available":"Version %{version} tillgänglig","Switch view mode":"Växla visningsläge","View mode":"Visningsläge","Display customization options of the files list":"Visa anpassningsalternativ för fillistan","View options":"Visa alternativ","Show hidden files":"Visa dolda filer","Show file extensions":"Visa filändelser","Items per page":"Objekt per sida","Show disabled Spaces":"Visa inaktiverade arbetsytor","Show empty trash bins":"Visa tomma papperskorgar","Tile size":"Kakelstorlek","Download":"Ladda ner","⌘ + C":"⌘ + C","Ctrl + C":"Ctrl + C","Copy":"Kopiera","The link has been copied to your clipboard.":"Länken har kopierats till ditt urklipp.","Copy link failed":"Kopiera länk misslyckades","Copy permanent link":"Kopiera permanent länk","Copy link for »%{resourceName}«":["Kopiera länk för »%{resourceName}«","Kopiera länkar för de valda objekten"],"Create links":"Skapa länkar","New file":"Ny fil","Create a new file":"Skapa en ny fil","Create":"Skapa","File name":"Filnamn","»%{fileName}« was created successfully":"»%{fileName}« skapades","Failed to create file":"Det gick inte att skapa filen","»%{folderName}« was created successfully":"»%{folderName}« skapades","Failed to create folder":"Det gick inte att skapa mappen","New folder":"Ny mapp","Create a new folder":"Skapa en ny mapp","Folder name":"Mappnamn","New Folder":"Ny mapp","Create a Shortcut":"Skapa en genväg","New Shortcut":"Ny genväg","Space was created successfully":"Arbetsytan har skapats","Creating space failed…":"Det gick inte att skapa arbetsyta...","Create Space from »%{resourceName}«":["Skapa arbetsyta från »%{resourceName}«","Skapa arbetsyta från markering"],"Create Space with the content of »%{resourceName}«.":["Skapa arbetsyta med innehållet i »%{resourceName}«.","Skapa arbetsyta med de valda filerna."],"The marked elements will be copied.":"De markerade elementen kommer att kopieras.","Restrictions":"Begränsningar","Shares, versions and tags will not be copied.":"Aktier, versioner och taggar kommer inte att kopieras.","Space name":"Arbetsytans namn","Create Space from selection":"Skapa arbetsyta från markering","Delete":"Ta bort","File can't be deleted because it is currently locked.":"Filen kan inte raderas eftersom den för närvarande är låst.","Sync for the selected share was disabled successfully":["Synkroniseringen för den valda resursen har inaktiverats","Synkroniseringen för de valda delningarna har inaktiverats"],"Failed to disable sync for the the selected share":["Det gick inte att inaktivera synkronisering för den valda delningen","Det gick inte att inaktivera synkronisering för de valda delningarna"],"Disable sync":"Inaktivera synkronisering","Failed to download the selected folder.":"Det gick inte att ladda ner den valda mappen.","The selection exceeds the allowed archive size (max. %{maxSize})":"Urvalet överskrider den tillåtna arkivstorleken (max. %{maxSize})","All deleted files were removed":"Alla raderade filer har tagits bort","Failed to empty trash bin":"Det gick inte att tömma papperskorgen","Empty trash bin for »%{name}«":"Töm papperskorg för »%{name}«","Are you sure you want to permanently delete the items in »%{name}«? You can’t undo this action.":"Är du säker på att du vill ta bort objekten i »%{name}« permanent? Du kan inte ångra denna åtgärd.","Empty trash bin":"Töm papperskorg","Sync for the selected share was enabled successfully":["Synkroniseringen för den valda resursen har aktiverats","Synkroniseringen för de valda delningarna har aktiverats"],"Failed to enable sync for the the selected share":["Det gick inte att aktivera synkronisering för den valda resursen","Det gick inte att aktivera synkronisering för de valda delningarna"],"Enable sync":"Aktivera synkronisering","Failed to change favorite state of \\"%{file}\\"":"Det gick inte att ändra favoritstatus för \\"%{file}\\"","Remove from favorites":"Ta bort från favoriter","Add to favorites":"Lägg till i favoriter","⌘ + X":"⌘ + X","Ctrl + X":"Ctrl + X","Cut":"Klipp ut","Failed to open shortcut":"Det gick inte att öppna genvägen","Open shortcut":"Öppna genväg","Open file in %{app}":"Öppna fil i %{app}","Open":"Öppen","⌘ + V":"⌘ + V","Ctrl + V":"Ctrl + V","Paste":"Klistra in","Failed to rename \\"%{file}\\" to »%{newName}«":"Det gick inte att byta namn på \\"%{file}\\" till »%{newName}«","Failed to rename »%{file}« to »%{newName}« - the file is locked":"Det gick inte att byta namn på »%{file}« till »%{newName}« – filen är låst","Rename folder »%{name}«":"Byt namn på mappen »%{name}«","%{resource} was restored successfully":"%{resource} har återställts","%{resourceCount} files restored successfully":"%{resourceCount} filer återställda utan problem","Failed to restore \\"%{resource}\\"":"Det gick inte att återställa \\"%{resource}\\"","Failed to restore %{resourceCount} files":"Det gick inte att återställa %{resourceCount} filer","Restore":"Återställ","Save as":"Spara som","Crop your Space image":"Beskär din Space-bild","Set as space image":"Ställ in som arbetsytans bild","All Actions":"Alla åtgärder","Details":"Detaljer","Share":"Dela","The share was hidden successfully":"Delningen döljs nu","The share was unhidden successfully":"Delningen döljs inte längre","Failed to hide the share":"Det gick inte att dölja delningen","Failed to unhide the share":"Det gick inte att visa delningen","Unhide":"Ta fram","Hide":"Dölj","Failed to restore files":"Det gick inte att återställa filerna","⌘ + Z":"⌘ + Z","Ctrl + Z":"Ctrl + Z","Undo":"Ångra","\\"%{item}\\" was moved to trash bin":"\\"%{item}\\" flyttades till papperskorgen","%{itemCount} item was moved to trash bin":["%{itemCount} objekt flyttades till papperskorgen","%{itemCount} objekt har flyttats till papperskorgen"],"Permanently delete folder »%{name}«":"Ta bort mappen »%{name}« permanent","Permanently delete file »%{name}«":"Ta bort filen »%{name}« permanent","Permanently delete selected resource?":["Vill du radera den valda resursen permanent?","Vill du permanent radera %{amount} valda resurser?"],"Are you sure you want to delete this folder? All its content will be permanently removed. This action cannot be undone.":"Är du säker på att du vill ta bort den här mappen? Allt innehåll kommer att raderas permanent. Denna åtgärd kan inte ångras.","Are you sure you want to delete this file? All its content will be permanently removed. This action cannot be undone.":"Är du säker på att du vill ta bort den här filen? Allt innehåll kommer att raderas permanent. Denna åtgärd kan inte ångras.","Are you sure you want to delete all selected resources? All their content will be permanently removed. This action cannot be undone.":"Är du säker på att du vill ta bort alla markerade resurser? Allt innehåll kommer att raderas permanent. Denna åtgärd kan inte ångras.","\\"%{item}\\" was deleted successfully":"\\"%{item}\\" har raderats","%{itemCount} item was deleted successfully":["%{itemCount} objektet har raderats","%{itemCount} objekt har raderats"],"Failed to delete \\"%{item}\\"":"Det gick inte att ta bort \\"%{item}\\"","Failed to delete \\"%{resource}\\"":"Det gick inte att ta bort \\"%{resource}\\"","Failed to delete \\"%{resource}\\" - the file is locked":"Det gick inte att ta bort \\"%{resource}\\" – filen är låst","The name cannot be empty":"Namnet får inte vara tomt","The name cannot contain \\"/\\"":"Namnet får inte innehålla \\"/\\"","The name cannot be equal to \\".\\"":"Namnet får inte vara identiskt med \\".\\"","The name cannot be equal to \\"..\\"":"Namnet kan inte vara lika med \\"..\\"","The name cannot start or end with whitespace":"Namnet får inte börja eller sluta med blanksteg","The name is too long":"Namnet är för långt","The name »%{name}« is already taken":"Namnet »%{name}« är redan upptaget","The Space name cannot be empty":"Arbetsytans namn får inte vara tomt","The Space name is too long":"Namnet på arbetsytan är för långt","The Space name cannot start or end with whitespace":"Arbetsytans namn får inte börja eller sluta med blanksteg","The Space name cannot contain the following characters: / \\\\\\\\ . : ? * \\" > < |'":"Namnet på arbetsytan får inte innehålla följande tecken: / \\\\\\\\ . : ? * \\" > < |'","New Space":"Ny arbetsyta","Create a new space":"Skapa en ny arbetsyta","New space":"Ny arbetsyta","Space »%{space}« was deleted successfully":"Arbetsytan »%{space}« har raderats","%{spaceCount} space was deleted successfully":["%{spaceCount} arbetsytan har raderats","%{spaceCount} arbetsytor har raderats"],"Failed to delete space »%{space}«":"Det gick inte att ta bort arbetsytan »%{space}«","Failed to delete %{spaceCount} space":["Det gick inte att ta bort %{spaceCount} arbetsyta","Det gick inte att ta bort %{spaceCount} arbetsytor"],"Are you sure you want to delete the selected space?":["Är du säker på att du vill ta bort den markerade arbetsytan?","Är du säker på att du vill ta bort %{count} valda arbetsytor?"],"Delete Space »%{space}«?":["Ta bort arbetsytan »%{space}«?","Ta bort %{spaceCount} arbetsytor?"],"Space image deleted successfully":"Arbetsytans bild har raderats","Failed to delete space image":"Det gick inte att ta bort arbetsytans bild","Delete »%{space}« image":"Ta bort bilden »%{space}«","Are you sure you want to delete the image of »%{space}«?":"Är du säker på att du vill ta bort bilden av »%{space}«?","Delete image":"Radera bild","Space »%{space}« was disabled successfully":"Arbetsytan »%{space}« har inaktiverats","%{spaceCount} space was disabled successfully":["%{spaceCount} arbetsyta har inaktiverats","%{spaceCount} arbetsytor har inaktiverats"],"Failed to disable space »%{space}«":"Det gick inte att inaktivera arbetsytan »%{space}«","Failed to disable %{spaceCount} space":["Det gick inte att inaktivera %{spaceCount} arbetsyta","Det gick inte att inaktivera %{spaceCount} arbetsytor"],"If you disable the selected space, it can no longer be accessed. Only Space managers will still have access. Note: No files will be deleted from the server.":["Om du inaktiverar den valda arbetsytan kan det inte längre nås. Endast arbetsytans administratörer kommer fortfarande att ha åtkomst. Obs! Inga filer kommer att raderas från servern.","Om du inaktiverar de %{count} valda arbetsytorna kan de inte längre nås. Endast arbetsytans administratörer har fortfarande åtkomst. Obs! Inga filer raderas från servern."],"Disable":"Inaktivera","Disable Space »%{space}«?":["Inaktivera arbetsytan »%{space}«?","Inaktivera %{spaceCount} arbetsytor?"],"Space »%{space}« was duplicated successfully":"Arbetsytan »%{space}« har duplicerats","Failed to duplicate space »%{space}«":"Det gick inte att duplicera arbetsytan »%{space}«","Duplicate":"Duplicera","Space subtitle was changed successfully":"Arbetsytans underrubrik ändrades","Failed to change space subtitle":"Det gick inte att ändra underrubriken för arbetsyta","Change subtitle for space":"Ändra underrubrik för arbetsyta","Space subtitle":"Arbetsytans underrubrik","Edit subtitle":"Redigera underrubrik","Change quota for Space »%{name}«":"Ändra kvot för arbetsytan »%{name}«","Change quota for %{count} Spaces":"Ändra kvot för %{count} arbetsytor","Edit quota":"Redigera kvot","Edit description":"Redigera beskrivning","Open trash bin":"Öppna papperskorg","Space name was changed successfully":"Namnet på arbetsytan har ändrats","Failed to rename space":"Det gick inte att byta namn på arbetsytan","Rename space »%{name}«":"Byt namn på arbetsytan »%{name}«","Space »%{space}« was enabled successfully":"Arbetsytan »%{space}« har aktiverats","%{spaceCount} space was enabled successfully":["%{spaceCount} arbetsyta har aktiverats","%{spaceCount} arbetsytor har aktiverats"],"Failed to enable space »%{space}«":"Misslyckades med att aktivera arbetsytan »%{space}«","Failed to enable %{spaceCount} space":["Det gick inte att aktivera %{spaceCount} arbetsyta","Det gick inte att aktivera %{spaceCount} arbetsytor"],"If you enable the selected space, it can be accessed again.":["Om du aktiverar den valda arbetsytan kan den nås igen.","Om du aktiverar de %{count} valda arbetsytorna kan du komma åt dem igen."],"Enable":"Aktivera","Enable Space »%{space}«?":["Aktivera arbetsytan »%{space}«?","Aktivera %{spaceCount} arbetsytor?"],"Set icon for »%{space}«":"Ställ in ikon för »%{space}«","Space icon was set successfully":"Arbetsytans ikon har ställts in","Failed to set space icon":"Det gick inte att ställa in arbetsytans ikon","Not enough quota to set the space icon":"Inte tillräckligt med kvot för att ställa in arbetsytans ikon","Set icon":"Ställ in ikon","Pop-up and redirect block detected":"Popup- och omdirigeringsblockering upptäckt","Please turn on pop-ups and redirects in your browser settings to make sure everything works right.":"Aktivera popup-fönster och omdirigeringar i din webbläsares inställningar för att säkerställa att allt fungerar korrekt.","Download failed":"Nedladdning misslyckades","File could not be located":"Filen kunde inte hittas","Spaces":"Arbetsytor","Shares":"Delningar","Shared with me":"Delade med mig","Personal":"Personlig","Link has been created successfully":"Länken har skapats","%{link} Password:%{password}":"%{link} Lösenord:%{password}","Failed to create link":["Det gick inte att skapa länken","Det gick inte att skapa länkar"],"Can view":"Kan visa","View, download":"Visa, ladda ner","Can upload":"Kan ladda upp","View, upload, download":"Visa, ladda upp, ladda ner","Can edit":"Kan redigera","View, upload, edit, download, delete":"Visa, ladda upp, redigera, ladda ner, ta bort","Secret File Drop":"Hemlig filöverföring","Upload only, existing content is not revealed":"Endast uppladdning, befintligt innehåll visas inte","Copied to clipboard!":"Kopierad till klippbordet!","Cut to clipboard!":"Klipp till urklipp!","%{ filesCount } file":["%{ filesCount } fil","%{ filesCount } filer"],"%{ filesCount } file including %{ filesHiddenCount } hidden":["%{ filesCount } filer inklusive %{ filesHiddenCount } dolda filer","%{ filesCount } filer inklusive %{ filesHiddenCount } dolda filer"],"%{ foldersCount } folder":["%{ foldersCount } mapp","%{ foldersCount } mappar"],"%{ foldersCount } folder including %{ foldersHiddenCount } hidden":["%{ foldersCount } mappar inklusive %{ foldersHiddenCount } dolda","%{ foldersCount } mappar inklusive %{ foldersHiddenCount } dolda"],"%{ spacesCount } space":["%{ spacesCount } arbetsyta","%{ spacesCount } arbetsytor"],"%{ itemsCount } item with %{ itemSize } in total":"%{ itemsCount } objekt med %{ itemSize } totalt","%{ itemsCount } item in total":"%{ itemsCount } objekt totalt","%{ itemsCount } items with %{ itemSize } in total":"%{ itemsCount } artiklar med %{ itemSize } totalt","%{ itemsCount } items in total":"%{ itemsCount } artiklar totalt","This item is directly shared with others.":"Denna artikel delas direkt med andra.","This item is shared with others through one of the parent folders.":"Denna artikel delas med andra via en av de överordnade mapparna.","This item is directly shared via links.":"Denna artikel delas direkt via länkar.","This item is shared via links through one of the parent folders.":"Denna artikel delas via länkar genom en av de överordnade mapparna.","Show invited people":"Visa inbjudna personer","This item is synced with your devices":"Denna artikel synkroniseras med dina enheter","Synced with your devices":"Synkroniserad med dina enheter","Show links":"Visa länkar","Item locked":"Objekt låst","Item in processing":"Artikel under bearbetning","This item is in processing":"Denna artikel är under bearbetning","Space is enabled":"Arbetsytan är aktiverad","Enabled":"Aktiverad","Space is disabled":"Arbetsytan är inaktiverad","Select folder":"Välj mapp","Select space":"Välj arbetsyta","Select file":"Välj fil","Clear selection":"Nullstill valg","Select all":"Välj alla","Folder already exists":"Mappen finns redan","File already exists":"Filen finns redan","Copy here?":"Kopiera här?","Copy here":"Kopiera här","You can't paste the selected file at this location because you can't paste an item into itself.":["Du kan inte klistra in den valda filen på den här platsen eftersom du inte kan klistra in ett objekt i sig själv.","Du kan inte klistra in de markerade filerna på den här platsen eftersom du inte kan klistra in ett objekt i sig själv."],"%{count} item was copied successfully":["%{count} objekt kopierades","%{count} objekt kopierades"],"%{count} item was moved successfully":["%{count} objekt flyttades","%{count} objekt flyttades"],"Failed to copy %{count} resources":"Kopieringen av %{count} resurser misslyckades","Failed to move %{count} resources":"Det gick inte att flytta %{count} resurser","Failed to copy »%{name}«":"Kopieringen misslyckades »%{name}«","Failed to move »%{name}«":"Det gick inte att flytta »%{name}«","Insufficient quota":"Otillräcklig kvot","A-Z":"A-Ö","Z-A":"Z-A","Newest":"Senaste","Oldest":"Äldst","Largest":"Största","Smallest":"Minsta","Search results":"Sökresultat","Favorite files":"Favoritfiler","Public file upload":"Offentlig filuppladdning","Files shared with me":"Filer som delats med mig","Files shared with others":"Filer som delas med andra","Files shared via link":"Filer som delas via länk","Trash overview":"Översikt över skräp","Must not be empty":"Får inte vara tomt","Valid special characters: %{characters}":"Giltiga specialtecken: %{characters}","%{param1}+ special characters":"%{param1}+ specialtecken","%{param1}+ letters":"%{param1}+ bokstäver","%{param1}+ uppercase letters":"%{param1}+ versaler","%{param1}+ lowercase letters":"%{param1}+ små bokstäver","%{param1}+ numbers":"%{param1}+ siffror","Added %{numFiles} file(s)":"Lade till %{numFiles} fil(er)","Connect":"Anslut","Connect to %{pluginName}":"Anslut till %{pluginName}","Please authenticate with %{pluginName} to select files":"Autentisera med %{pluginName} för att välja filer","Connection with Companion failed":"Anslutningen till Companion misslyckades","Loaded %{numFiles} files":"Laddade %{numFiles} filer","Loading...":"Laddar...","Log out":"Logga ut","Public link without password protection":"Offentlig länk utan lösenordsskydd","Select %{smart_count}":"Välj %{smart_count}","Sign in with Google":"Logga in med Google"}`),Me=JSON.parse(`{"Loading actions":"Загрузка действий","No items selected.":"Ни один элемент не выбран.","%{ amount } item selected. Actions are available above the table.":["%{ amount } элемент выбран. Действия доступны над таблицей.","%{ amount } элемента выбрано. Действия доступны над таблицей.","%{ amount } элементов выбрано. Действия доступны над таблицей.","%{ amount } элементов выбрано. Действия доступны над таблицей."],"%{appName} for %{fileName}":"%{appName} для %{fileName}","Importing failed":"Не удалось загрузить","File exceeds %{threshold}":"Файл превышает %{threshold}","%{resource} exceeds the recommended size of %{threshold} for editing, and may cause performance issues.":"%{resource} превышает рекомендуемый размер %{threshold} для редактирования и может вызвать проблемы с производительностью.","Continue":"Продолжить","An error occurred":"Возникла ошибка","File autosaved":"Файл автосохранен","You're not authorized to save this file":"Вы не авторизованы для сохранения в этот файл","Insufficient quota on \\"%{spaceName}\\" to save this file":"Недостаточная квота в \\"%{spaceName}\\" для сохранения этого файла","Insufficient quota for saving this file":"Недостаточная квота для сохранения этого файла","Save":"Сохранить","Unsaved changes":"Несохраненные изменения","Loading app":"Загрузка приложения","Close":"Закрыть","Show context menu":"Показать контекстное меню","Autosave (every %{ duration })":"Автосохранение (каждые %{ duration })","Upload":"Загрузить","Remove":"Удалить","Crop your new profile picture":"Обрезать свое новое изображение профиля","Cancel":"Отмена","Set":"Установить","Zoom via %{ zoomKeys }, pan via %{ panKeys }":"Zoom через %{ zoomKeys }, pan через %{ panKeys }","+-":"+-","↑↓←→":"↑↓←→","Are you sure you want to remove your profile picture?":"Вы уверены, что хотите удалить свое изображение профиля?","Remove profile picture":"Удалить фотографию профиля","File size exceeds the limit of %{size}MB":"Размер файла превышает лимит в %{size}MB","Profile picture was set successfully":"Изображение профиля было успешно установлено","Failed to set profile picture":"Не удалось установить изображение профиля","Profile picture was removed successfully":"Изображение профиля было успешно удалено","Failed to remove profile picture":"Не удалось удалить изображение профиля","Options":"Опции","Password":"Пароль","Password:":"Пароль:","Expiry date":"Дата истечения срока действия","More options":"Больше действий","Share link(s)":"Поделиться ссылкой(-ами)","Copy link":"Скопировать ссылку","Share link(s) and password(s)":"Поделиться ссылкой/-ами и паролем/-ями","Copy link and password":"Скопировать ссылку и пароль","Unnamed link":"Безымянная ссылка","Webpage or file":"Веб-страница или файл","Enter the target URL of a webpage or the name of a file. Users will be directed to this webpage or file.":"Введите целевой URL-адрес веб-страницы или название файла. Пользователи будут перенаправлены на эту веб-страницу или файл.","Link to a file":"Ссылка на файл","Shortcut name":"Имя шортката","Shortcut name as it will appear in the file list.":"Имя ярлыка в том виде, как оно будет отображаться в списке файлов.","»%{name}« already exists":"»%{name}« уже существует","Shortcut name cannot contain \\"/\\"":"Имя ярлыка не может содержать \\"/\\"","Shortcut was created successfully":"Ярлык был успешно создан","Failed to create shortcut":"Не удалось создать ярлык","Open with...":"Открыть с помощь...","Open »%{name}«":"Открыть »%{name}«","This item is locked":"Этот элемент заблокирован","File is being processed":"Файл обрабатывается","Rename file »%{name}«":"Переименовать файл »%{name}«","Rename":"Переименовать","Search for tag %{tag}":"Искать тег %{tag}","Name":"Имя","Manager":"Управляющий","Members":"Участники","Total quota":"Общая квота","Used quota":"Использованная квота","Remaining quota":"Оставшаяся квота","Status":"Статус","Size":"Размер","Info":"Инфо","Tags":"Теги","Shared by":"Предоставил","Shared with":"Участники","Modified":"Изменено","Shared on":"Предоставлен","Deleted":"Удалено","Actions":"Действия","folder":"папка","file":"файл","This %{ resourceType } is shared via %{ shareCount } invite":["Этим %{ resourceType } поделились через %{ shareCount } приглашение","Этим %{ resourceType } поделились через %{ shareCount } приглашения","Этим %{ resourceType } поделились через %{ shareCount } приглашений","Этим %{ resourceType } поделились через %{ shareCount } приглашений"],"This %{ resourceType } is shared by %{ user }":"Этим %{ resourceType } поделился %{ user }","Disabled":"Отключено","Sort by":"Сортировать по","Custom date range":"Индивидуальный диапазон дат","Go back to filter options":"Вернуться к настройкам фильтра","Close filter":"Закрыть фильтр","From":"Дата от","To":"До","Apply":"Применить","Filter list":"Отфильтровать список","Toggle selection":"Переключить выделение","Select a role":"Выберите роль","Role":"Ролдь","Expiration date":"Дата истечения","Confirm":"Подтвердить","Skip":"Пропустить","Keep both":"Сохранить оба","Apply to all %{count} conflicts":"Применить ко всем %{count} конфликтам","Apply to all %{count} folders":"Применить ко всем %{count} папкам","Apply to all %{count} files":"Применить ко всем %{count} файлам","Folder with name »%{name}« already exists.":"Папка с именем »%{name}« уже существует.","File with name »%{name}« already exists.":"Файл с именем »%{name}« уже существует","Replace":"Заменить","»%{fileName}« was saved successfully":"»%{fileName}« был успешно сохранен","Unable to save »%{fileName}«":"Не удалось сохранить »%{fileName}«","Moving files from one space to another is not possible. Do you want to copy instead?":"Невозможно перемещать фалы из одного пространства в другое. Хотите вместо этого скопировать их?","Note: Links and shares of the original file are not copied.":"Примечание: ссылки и совместный доступ исходного файла не копируются.","Your changes were not saved. Do you want to save them?":"Изменения не сохранены. Вы хотите сохранить их?","Don't Save":"Не сохранять","Navigation":"Навигация","Quota":"Квота","No restriction":"Нет ограничений","Please enter only numbers":"Пожалуйста, введите только числа","Please enter a value equal to or less than %{ quotaLimit }":"Пожалуйста, ввдите значение равное или меньшее, чем %{ quotaLimit }","Location filter":"Фильтр по локации","Current folder":"Текущая папка","All files":"Все файлы","Changes saved":"Изменения сохранены","Revert":"Отменить","No changes":"Нет изменений","Close file sidebar":"Закрыть боковую панель файла","Back to %{panel} panel":"Вернуться к %{panel} панели","Back to main panels":"Вернуться к основным панелям","Space image is loading":"Изображение пространства загружается","Show":"Показать","Overview of the information about the selected space":"Общая информация о выбранном пространстве","Last activity":"Последняя активность","Subtitle":"Подзаголовок","%{displayName} (me)":"%{displayName} (я)","This space has one member and %{linkShareCount} link.":["Это пространство имеет одного участника и %{linkShareCount} ссылку.","Это пространство имеет одного участника и %{linkShareCount} ссылки.","Это пространство имеет одного участника и %{linkShareCount} ссылок.","Это пространство имеет одного участника и %{linkShareCount} ссылок."],"This space has %{memberShareCount} members and one link.":"Это пространство имеет %{memberShareCount} участников и одну ссылку.","This space has %{memberShareCount} members and %{linkShareCount} links.":"Это пространство имеет %{memberShareCount} участников и %{linkShareCount} ссылок.","Open share panel":"Открыть панель совместного доступа","Open link list in share panel":"Открыть список ссылок в панели совместного доступа","Open member list in share panel":"Открыть список участников в панели совместного доступа","This space has %{memberShareCount} member.":["Это пространство имеет %{memberShareCount} участника.","Это пространство имеет %{memberShareCount} участника.","Это пространство имеет %{memberShareCount} участников.","Это пространство имеет %{memberShareCount} участников."],"%{linkShareCount} link giving access.":["%{linkShareCount} ссылка, предоставляющая доступ.","%{linkShareCount} ссылки, предоставляющих доступ.","%{linkShareCount} ссылок, предоставляющих доступ.","%{linkShareCount} ссылок, предоставляющих доступ."],"Overview of the information about the selected spaces":"Общая информация о выбранных пространствах","%{ itemCount } space selected":["%{ itemCount } пространство выделено","%{ itemCount } пространства выделено","%{ itemCount } пространств выделено","%{ itemCount } пространств выделено"],"Total quota:":"Общая квота:","Remaining quota:":"Оставшаяся квота:","Used quota:":"Использованная квота:","Enabled:":"Включены:","Disabled:":"Отключено:","Select a space to view details":"Выберите пространство для просмотра деталей","WebDAV path":"Путь WebDAV","Copy WebDAV path":"Скопировать WebDAV путь","Copy WebDAV path to clipboard":"Скопировать WebDAV путь в буфер обмена","WebDAV URL":"WebDAV URL","Copy WebDAV URL":"Скопировать WebDAV URL","Copy WebDAV URL to clipboard":"Скопировать WebDAV URL в буфер обмена","%{used} of %{total} used (%{percentage}% used)":"%{used} из %{total} использовано (%{percentage}% использовано)","%{used} used (no restriction)":"%{used} использовано (нет ограничения)","Space quota was changed successfully":["Квота %{count} пространства успешно изменена","Квота %{count} пространств успешно изменена","Квота %{count} пространств успешно изменена","Квота %{count} пространств успешно изменена"],"User quota was changed successfully":["Квота пользователя была успешно изменена","Квота для %{count} пользователей была успешно изменена","Квота для пользователей - %{count} шт. - была успешно изменена","Квота для пользователей - %{count} шт. - была успешно изменена"],"Quota was changed successfully":"Квота успешно изменена","Failed to change space quota":["Не удалось изменить квоту для пространства","Не удалось изменить квоту для %{count} пространств","Не удалось изменить квоту для пространств - %{count}","Не удалось изменить квоту для пространств - %{count}"],"Failed to change user quota":["Не удалось изменить квоту для пользователя","Не удалось изменить квоту для %{count} пользователей","Не удалось изменить квоту для пользователей - %{count}","Не удалось изменить квоту для пользователей - %{count}"],"Failed to change quota":"Не удалось изменить квоту","Space image was set successfully":"Изображение пространства успешно установлено","Failed to set space image":"Не удалось установить обложку пространства","Not enough quota to set the space image":"Недостаточная квота для установки обложки пространства","Failed to load space image":"Не удалось загрузить обложку пространства","hide line numbers":"скрыть номера строк","show line numbers":"показать номера строк","Checking for updates":"Проверка на обновления","Up to date":"Актуально","Version %{version} available":"Доступна версия %{version}","Switch view mode":"Переключение режима просмотра","View mode":"Режим просмотра","Display customization options of the files list":"Опции отображения списка файлов","View options":"Опции просмотра","Show hidden files":"Показывать скрытые файлы","Show file extensions":"Показывать расширения файлов","Items per page":"Элементов на странице","Show disabled Spaces":"Показать выключенные Пространства","Show empty trash bins":"Показать пустые корзины","Tile size":"Размер плиток","Download":"Скачать","⌘ + C":"⌘ + C","Ctrl + C":"Ctrl + C","Copy":"Копировать","The link has been copied to your clipboard.":"Ссылка скопирована в ваш буфер обмена.","Copy link failed":"Ошибка при копировании ссылки","Copy permanent link":"Скопировать перманентную ссылку","Copy link for »%{resourceName}«":["Скопировать ссылку для »%{resourceName}«","Скопировать ссылки для выбранных элементов","Скопировать ссылки для выбранных элементов","Скопировать ссылки для выбранных элементов"],"Create links":"Создать ссылки","New file":"Новый файл","Create a new file":"Создать новый файл","Create":"Создать","File name":"Имя файла","»%{fileName}« was created successfully":"»%{fileName}« был успешно создан","Failed to create file":"Не удалось создать файл","»%{folderName}« was created successfully":"»%{folderName}« была успешно создана","Failed to create folder":"Не удалось создать папку","New folder":"Новая папка","Create a new folder":"Создать новую папку","Folder name":"Имя папки","New Folder":"Новая Папка","Create a Shortcut":"Создать шорткат","New Shortcut":"Новый Ярлык","Space was created successfully":"Пространство успешно создано","Creating space failed…":"Создание пространства завершилось ошибкой...","Create Space from »%{resourceName}«":["Создать Пространство из »%{resourceName}«","Создать Пространство из выбранного","Создать Пространство из выбранного","Создать Пространство из выбранного"],"Create Space with the content of »%{resourceName}«.":["Создать Пространство с содержимым из »%{resourceName}«.","Создать пространство с выбранными файлами","Создать пространство с выбранными файлами","Создать пространство с выбранными файлами"],"The marked elements will be copied.":"Выделенные элементы будут скопированы.","Restrictions":"Ограничения","Shares, versions and tags will not be copied.":"Ресурсы совместного доступа, версии и теги не будут скопированы.","Space name":"Имя пространства","Create Space from selection":"Создать пространство из выделения","Delete":"Удалить","File can't be deleted because it is currently locked.":"Файл не может быть удалён, т.к. он сейчас заблокирован.","Sync for the selected share was disabled successfully":["Синхронизация для выделенного общего ресурса успешно отключена","Синхронизация для выделенных общих ресурсов успешно отключена","Синхронизация для выделенных общих ресурсов успешно отключена","Синхронизация для выделенных общих ресурсов успешно отключена"],"Failed to disable sync for the the selected share":["Не удалось выключить синхронизацию для выбранного ресурса","Не удалось выключить синхронизацию для выбранных ресурсов","Не удалось выключить синхронизацию для выбранных ресурсов","Не удалось выключить синхронизацию для выбранных ресурсов"],"Disable sync":"Отключить синхронизацию","Failed to download the selected folder.":"Не удалось скачать выбранную папку","The selection exceeds the allowed archive size (max. %{maxSize})":"Выделение превышает разрешенный размер архива (макс. %{maxSize})","All deleted files were removed":"Все файлы удалены","Failed to empty trash bin":"Ошибка при очистке корзины","Empty trash bin for »%{name}«":"Очистить корзину для »%{name}«","Are you sure you want to permanently delete the items in »%{name}«? You can’t undo this action.":"Вы уверены, что хотите безвозвратно удалить элементы в »%{name}«? Это действие нельзя будет отменить.","Empty trash bin":"Очистить корзину","Sync for the selected share was enabled successfully":["Синхронизация для выделенного общего ресурса успешно включена","Синхронизация для выделенных общих ресурсов успешно включена","Синхронизация для выделенных общих ресурсов успешно включена","Синхронизация для выделенных общих ресурсов успешно включена"],"Failed to enable sync for the the selected share":["Не удалось включить синхронизацию для выбранного ресурса","Не удалось включить синхронизацию для выбранных ресурсов","Не удалось включить синхронизацию для выбранных ресурсов","Не удалось включить синхронизацию для выбранных ресурсов"],"Enable sync":"Включить синхронизацию","Failed to change favorite state of \\"%{file}\\"":"Не удалось изменить статус избранного для \\"%{file}\\"","Remove from favorites":"Удалить из избранного","Add to favorites":"Добавить в избранное","⌘ + X":"⌘ + X","Ctrl + X":"Ctrl + X","Cut":"Вырезать","Failed to open shortcut":"Не удалось открыть ярлык","Open shortcut":"Открыть шорткат","Open file in %{app}":"Открыть файл в %{app}","Open":"Открыть","⌘ + V":"⌘ + V","Ctrl + V":"Ctrl + V","Paste":"Вставить","Failed to rename \\"%{file}\\" to »%{newName}«":"Не удалось переименовать \\"%{file}\\" в »%{newName}«","Failed to rename »%{file}« to »%{newName}« - the file is locked":"Не удалось переименовать »%{file}« в »%{newName}« - файл заблокирован","Rename folder »%{name}«":"Переименовать папку »%{name}«","%{resource} was restored successfully":"%{resource} успешно восстановлен","%{resourceCount} files restored successfully":"%{resourceCount} файлы успешно восстановлены","Failed to restore \\"%{resource}\\"":"Не удалось восстановить \\"%{resource}\\"","Failed to restore %{resourceCount} files":"Не удалось восстановить файлы - %{resourceCount} шт.","Restore":"Восстановить","Save as":"Сохранить как","Crop your Space image":"Обрезать обложку Пространства","Set as space image":"Установить обложку пространства","All Actions":"Все действия","Details":"Детали","Share":"Предоставить совместный доступ","The share was hidden successfully":"Общий ресурс успешно скрыт","The share was unhidden successfully":"Общий ресурс теперь видимый","Failed to hide the share":"Не удалось скрыть ресурс","Failed to unhide the share":"Не удалось сделать ресурс открытым","Unhide":"Сделать видимым","Hide":"Скрыть","Failed to restore files":"Не удалось восстановить файлы","⌘ + Z":"⌘ + Z","Ctrl + Z":"Ctrl + Z","Undo":"Отменить","\\"%{item}\\" was moved to trash bin":"\\"%{item}\\" перемещен(-а) в корзину","%{itemCount} item was moved to trash bin":["%{itemCount} элемент перемещен в корзину","%{itemCount} элемента перемещены в корзину","%{itemCount} элементов перемещены в корзину","%{itemCount} элементов перемещены в корзину"],"Permanently delete folder »%{name}«":"Безвозвратно удалить папку »%{name}«","Permanently delete file »%{name}«":"Безвозвратно удалить файл »%{name}«","Permanently delete selected resource?":["Полностью удалить выбранный ресурс?","Полностью удалить %{amount} выбранных ресурса?","Полностью удалить %{amount} выбранных ресурсов?","Полностью удалить %{amount} выбранных ресурсов?"],"Are you sure you want to delete this folder? All its content will be permanently removed. This action cannot be undone.":"Вы уверены, что хотите удалить эту папку? Всё её содержимое будет полностью удалено. Это действие необратимо.","Are you sure you want to delete this file? All its content will be permanently removed. This action cannot be undone.":"Вы уверены, что хотите удалить этот файл? Всё его содержимое будет полностью удалено. Это действие необратимо.","Are you sure you want to delete all selected resources? All their content will be permanently removed. This action cannot be undone.":"Вы уверены, что хотите удалить все выделенные ресурсы? Всё их содержимое будет полностью удалено. Это действие необратимо.","\\"%{item}\\" was deleted successfully":"\\"%{item}\\" успешно удален(-а)","%{itemCount} item was deleted successfully":["%{count} элемент успешно удален","%{count} элемента успешно удалено","%{count} элементов успешно удалено","%{count} элементов успешно удалено"],"Failed to delete \\"%{item}\\"":"Не удалось удалить \\"%{item}\\"","Failed to delete \\"%{resource}\\"":"Не удалось удалить \\"%{resource}\\"","Failed to delete \\"%{resource}\\" - the file is locked":"Не удалось удалить \\"%{resource}\\" - файл заблокирован","The name cannot be empty":"Имя не может быть пустым","The name cannot contain \\"/\\"":"Имя не может содержать \\"/\\"","The name cannot be equal to \\".\\"":"Имя не может быть равно \\".\\"","The name cannot be equal to \\"..\\"":"Имя не может быть равно \\"..\\"","The name cannot start or end with whitespace":"Имя не может начинаться и заканчиваться пробелом","The name is too long":"Имя слишком длинное","The name »%{name}« is already taken":"Имя »%{name}« уже занято","The Space name cannot be empty":"Имя Пространства не может быть пустым","The Space name is too long":"Название пространства слишком длинное","The Space name cannot start or end with whitespace":"Имя Пространства не может начинаться и заканчиваться пробелом","The Space name cannot contain the following characters: / \\\\\\\\ . : ? * \\" > < |'":"Имя пространства не может содержать следующие символы: / \\\\\\\\ . : ? * \\" > < |'","New Space":"Новое Пространство","Create a new space":"Создать новое пространство","New space":"Новое пространство","Space »%{space}« was deleted successfully":"Пространство »%{space}« было успешно удалено","%{spaceCount} space was deleted successfully":["%{spaceCount} пространство успешно удалено","%{spaceCount} пространства успешно удалено","%{spaceCount} пространств успешно удалено","%{spaceCount} пространств успешно удалено"],"Failed to delete space »%{space}«":"Не удалось удалить пространство »%{space}«","Failed to delete %{spaceCount} space":["Не удалось удалить %{spaceCount} пространство","Не удалось удалить %{spaceCount} пространств","Не удалось удалить пространства - %{spaceCount} шт.","Не удалось удалить пространства - %{spaceCount} шт."],"Are you sure you want to delete the selected space?":["Вы уверены, что хотите удалить %{count} выделенное пространство?","Вы уверены, что хотите удалить %{count} выделенных пространства?","Вы уверены, что хотите удалить %{count} выделенных пространств?","Вы уверены, что хотите удалить %{count} выделенных пространств?"],"Delete Space »%{space}«?":["Удалить пространство »%{space}«?","Удалить %{spaceCount} пространства?","Удалить пространства - %{spaceCount}?","Удалить пространства - %{spaceCount}?"],"Space image deleted successfully":"Обложка пространства была успешно удалена","Failed to delete space image":"Не удалось удалить обложку пространства","Delete »%{space}« image":"Удалить обложку »%{space}«","Are you sure you want to delete the image of »%{space}«?":"Вы уверены, что хотите удалить изображение »%{space}«?","Delete image":"Удалить изображение","Space »%{space}« was disabled successfully":"Пространство \\"%{space}\\" было успешно отключено","%{spaceCount} space was disabled successfully":["%{spaceCount} пространство успешно отключено","%{spaceCount} пространства успешно отключено","%{spaceCount} пространств успешно отключены","%{spaceCount} пространств успешно отключены"],"Failed to disable space »%{space}«":"Не удалось отключить пространство »%{space}«","Failed to disable %{spaceCount} space":["Не удалось отключить %{spaceCount} пространство","Не удалось отключить %{spaceCount} пространства","Не удалось отключить пространства - %{spaceCount}","Не удалось отключить пространства - %{spaceCount}"],"If you disable the selected space, it can no longer be accessed. Only Space managers will still have access. Note: No files will be deleted from the server.":["Если вы отключите выбранное пространство - в него больше нельзя будет зайти. Доступ сохранится только у управляющих пространством. Примечание: никакие файлы не будут удалены с сервера.","Если вы отключите %{count} выбранных пространства - в них больше нельзя будет зайти. Доступ сохранится только у управляющих пространством. Примечание: никакие файлы не будут удалены с сервера.","Если вы отключите выбранные пространства - %{count} в них больше нельзя будет зайти. Доступ сохранится только у управляющих пространством. Примечание: никакие файлы не будут удалены с сервера.","Если вы отключите выбранные пространства - %{count} в них больше нельзя будет зайти. Доступ сохранится только у управляющих пространством. Примечание: никакие файлы не будут удалены с сервера."],"Disable":"Отключить","Disable Space »%{space}«?":["Отключить пространство »%{space}«?","Отключить %{spaceCount} пространств?","Отключить пространства - %{spaceCount}?","Отключить пространства - %{spaceCount}?"],"Space »%{space}« was duplicated successfully":"Пространство \\"%{space}\\" было успешно дублировано","Failed to duplicate space »%{space}«":"Не удалось клонировать Пространство »%{space}«","Duplicate":"Клонировать","Space subtitle was changed successfully":"Подзаголовок пространства успешно изменен","Failed to change space subtitle":"Не удалось изменить подпить Пространства","Change subtitle for space":"Изменить подзаголовок пространства","Space subtitle":"Подзаголовок пространства","Edit subtitle":"Изменить подпись","Change quota for Space »%{name}«":"Изменить квоту для Пространства »%{name}«","Change quota for %{count} Spaces":"Изменить квоту для %{count} пространств","Edit quota":"Изменить квоту","Edit description":"Изменить описание","Open trash bin":"Открыть корзину","Space name was changed successfully":"Имя пространства успешно изменено","Failed to rename space":"Не удалось переименовать пространство","Rename space »%{name}«":"Переименовать пространство »%{name}«","Space »%{space}« was enabled successfully":"Пространство \\"%{space}\\" было успешно включено","%{spaceCount} space was enabled successfully":["%{spaceCount} пространство успешно включено","%{spaceCount} пространства успешно включено","%{spaceCount} пространств успешно включены","%{spaceCount} пространств успешно включены"],"Failed to enable space »%{space}«":"Не удалось активировать пространство »%{space}«","Failed to enable %{spaceCount} space":["Не удалось включить %{spaceCount} пространство","Не удалось включить %{spaceCount} пространства","Не удалось включить пространства - %{spaceCount} шт.","Не удалось включить пространства - %{spaceCount} шт."],"If you enable the selected space, it can be accessed again.":["Если вы включите выбранное пространство - оно снова станет доступными.","Если вы включите выбранные пространства - %{count} шт. - они снова станут доступными.","Если вы включите выбранные пространства - %{count} шт. - они снова станут доступными.","Если вы включите выбранные пространства - %{count} шт. - они снова станут доступными."],"Enable":"Включить","Enable Space »%{space}«?":["Включить Пространство »%{space}«?","Включить %{spaceCount} Пространств?","Включить Пространства - %{spaceCount} шт.?","Включить Пространства - %{spaceCount} шт.?"],"Set icon for »%{space}«":"Установить иконку для »%{space}«","Space icon was set successfully":"Иконка пространства успешно установлена","Failed to set space icon":"Не удалось установить иконку пространства","Not enough quota to set the space icon":"Недостаточная квота для установки иконки пространства","Set icon":"Установить иконку","Pop-up and redirect block detected":"Обнаружена блокировка уведомлений и переадресации","Please turn on pop-ups and redirects in your browser settings to make sure everything works right.":"Чтобы все работало корректно, пожалуйста, включите уведомления и переадресацию в вашем браузере.","Download failed":"Ошибка скачивания","File could not be located":"Не удалось обнаружить файл","Spaces":"Пространства","Shares":"Ресурсы совместного доступа","Shared with me":"Доступные мне","Personal":"Персональное","Link has been created successfully":"Ссылка была успешно создана","%{link} Password:%{password}":"%{link} Пароль: %{password}","Failed to create link":["Не удалось создать ссылку","Не удалось создать ссылки","Не удалось создать ссылки","Не удалось создать ссылки"],"Can view":"Можно смотреть","View, download":"Показать, скачать","Can upload":"Можно загружать","View, upload, download":"Показать, загрузить, скачать","Can edit":"Можно редактировать","View, upload, edit, download, delete":"Показать, загрузить, редактировать, скачать, удалить","Secret File Drop":"Secret File Drop","Upload only, existing content is not revealed":"Только загрузка, существующий контент недоступен для просмотра","Copied to clipboard!":"Скопировано в буфер обмена!","Cut to clipboard!":"Вырезано в буфер обмена!","%{ filesCount } file":["%{ filesCount } файл","%{ filesCount } файла","%{ filesCount } файлов","%{ filesCount } файлов"],"%{ filesCount } file including %{ filesHiddenCount } hidden":["%{ filesCount } файл, включая %{ filesHiddenCount } скрытый","%{ filesCount } файла, включая %{ filesHiddenCount } скрытых","%{ filesCount } файлов, включая %{ filesHiddenCount } скрытых","%{ filesCount } файлов, включая %{ filesHiddenCount } скрытых"],"%{ foldersCount } folder":["%{ foldersCount } папка","%{ foldersCount } папки","%{ foldersCount } папок","%{ foldersCount } папок"],"%{ foldersCount } folder including %{ foldersHiddenCount } hidden":["%{ foldersCount } папка, включая %{ foldersHiddenCount } скрытую","%{ foldersCount } папки, включая %{ foldersHiddenCount } скрытых","%{ foldersCount } папок, включая %{ foldersHiddenCount } скрытых","%{ foldersCount } папок, включая %{ foldersHiddenCount } скрытых"],"%{ spacesCount } space":["%{ spacesCount } пространство","%{ spacesCount } пространства","%{ spacesCount } пространств","%{ spacesCount } пространств"],"%{ itemsCount } item with %{ itemSize } in total":"%{ itemsCount } элемент, занимающий в общей сложности %{ itemSize }","%{ itemsCount } item in total":"%{ itemsCount } элемент всего","%{ itemsCount } items with %{ itemSize } in total":"%{ itemsCount } элементов, занимающих в общей сложности %{ itemSize }","%{ itemsCount } items in total":"%{ itemsCount } элементов всего","This item is directly shared with others.":"Этим элементом поделились напрямую с другими.","This item is shared with others through one of the parent folders.":"Этим элементом поделились с другими через одну из родительских папок.","This item is directly shared via links.":"Этим элементом поделились напрямую с помощью ссылок.","This item is shared via links through one of the parent folders.":"Этим элементом поделились с помощью ссылки через одну из родительских папок.","Show invited people":"Показать приглашенных людей","This item is synced with your devices":"Этот объект синхронизирован с вашими устройствами","Synced with your devices":"Синхронизировано с вашими устройствами","Show links":"Показать ссылки","Item locked":"Элемент заблокирован","Item in processing":"Элемент в обработке","This item is in processing":"Этот элемент в обработке","Space is enabled":"Пространство включено","Enabled":"Включено","Space is disabled":"Пространство выключено","Select folder":"Выбрать папку","Select space":"Выбрать пространство","Select file":"Выбрать файл","Clear selection":"Снять выделение","Select all":"Выбрать все","Folder already exists":"Папка уже существует","File already exists":"Файл уже существует","Copy here?":"Копировать сюда?","Copy here":"Копировать сюда","You can't paste the selected file at this location because you can't paste an item into itself.":["Вы не можете вставить выделенный файла в эту локацию, потому что вы не можете вставить элемент в самого себя.","Вы не можете вставить выделенные файлы в эту локацию, потому что вы не можете вставить элемент в самого себя.","Вы не можете вставить выделенные файлы в эту локацию, потому что вы не можете вставить элемент в самого себя.","Вы не можете вставить выделенные файлы в эту локацию, потому что вы не можете вставить элемент в самого себя."],"%{count} item was copied successfully":["%{count} элемент успешно скопирован","%{count} элемента успешно скопировано","%{count} элементов успешно скопировано","%{count} элементов успешно скопировано"],"%{count} item was moved successfully":["%{count} элемент успешно перемещен","%{count} элемента успешно перемещено","%{count} элементов успешно перемещено","%{count} элементов успешно перемещено"],"Failed to copy %{count} resources":"Не удалось копировать ресурсы - %{count} шт.","Failed to move %{count} resources":"Не удалось переместить ресурсы - %{count} шт.","Failed to copy »%{name}«":"Не удалось копировать »%{name}«","Failed to move »%{name}«":"Не удалось переместить »%{name}«","Insufficient quota":"Недостаточная квота","A-Z":"А-Я","Z-A":"Я-А","Newest":"Самые новые","Oldest":"Самые старые","Largest":"Огромные","Smallest":"Самые маленькие","Search results":"Результаты поиска","Favorite files":"Избранные файлы","Public file upload":"Загрузка публичного файла","Files shared with me":"Доступные мне","Files shared with others":"Доступные другим","Files shared via link":"Файлы с совместным доступом по ссылке","Trash overview":"Обзор корзины","Must not be empty":"Не может быть пустым","Valid special characters: %{characters}":"Валидные специальные символы: %{characters}","%{param1}+ special characters":"%{param1}+ специальных символов","%{param1}+ letters":"%{param1}+ букв","%{param1}+ uppercase letters":"%{param1}+ больших букв","%{param1}+ lowercase letters":"%{param1}+ маленьких букв","%{param1}+ numbers":"%{param1}+ цифр","Added %{numFiles} file(s)":"Добавлено %{numFiles} файл(-а/ов)","Connect":"Подключить","Connect to %{pluginName}":"Подключить к %{pluginName}","Please authenticate with %{pluginName} to select files":"Пожалуйста, аутентифицируйтесь с помощью %{pluginName} для выбора файлов","Connection with Companion failed":"Ошибка при подключении к Companion","Loaded %{numFiles} files":"Загружено%{numFiles} файлов","Loading...":"Загрузка...","Log out":"Выйти","Public link without password protection":"Публичная ссылка без защиты паролем","Select %{smart_count}":"Выбрать %{smart_count}","Sign in with Google":"Вход через Google"}`),je={},Ge={Options:"Možnosti",Password:"Heslo",Personal:"Osobné"},We={},Be={},He={},Ze={Tags:"Теги",Download:"Завантажити",Details:"Деталі","Can view":"Може переглядати","Can upload":"Може вивантажувати","Can edit":"Може редагувати"},Ke={"Loading actions":"正在加载操作",Save:"保存",Close:"关闭","Show context menu":"显示上下文菜单",Upload:"上传",Remove:"移除",Cancel:"取消",Password:"密码","More options":"更多选项","Share link(s)":"共享链接",Rename:"重命名","Search for tag %{tag}":"搜索标签 %{tag}",Name:"名称",Manager:"管理员",Members:"成员","Total quota":"总配额","Used quota":"已用配额","Remaining quota":"剩余配额",Status:"状态",Size:"大小",Info:"信息",Tags:"标签","Shared by":"共享人","Shared with":"共享与",Modified:"修改时间","Shared on":"共享于",Actions:"操作",Disabled:"已停用","Close filter":"关闭筛选",Role:"角色",Confirm:"确认",Replace:"替换",Navigation:"导航",Quota:"配额","No restriction":"无限制","Space image is loading":"空间图片正在加载",Show:"显示","%{displayName} (me)":"%{displayName}(我)","Checking for updates":"检查更新","View options":"查看选项",Download:"下载",Copy:"复制","The link has been copied to your clipboard.":"链接已复制到剪贴板。","New file":"新建文件","File name":"文件名","New folder":"新建文件夹","New Folder":"新建文件夹",Delete:"删除",Restore:"恢复","Crop your Space image":"裁剪您的空间图片",Details:"详情",Share:"共享",Hide:"隐藏","Edit quota":"编辑配额","Edit description":"编辑描述",Spaces:"空间",Shares:"共享","Shared with me":"与我共享",Personal:"个人","Can view":"可查看","Can upload":"可上传","Can edit":"可编辑","Synced with your devices":"与您的设备同步",Enabled:"已启用","Folder already exists":"文件夹已存在","File already exists":"文件已存在","Insufficient quota":"配额不足"},Qe={ar:fe,bs:ge,af:be,de:ve,bg:we,cs:ye,es:ke,et:Ce,gl:Se,fr:ze,el:Ae,hr:De,he:Ne,id:Pe,it:Fe,ja:Te,pl:Re,nl:Ve,ko:Le,ka:Ee,ro:xe,pt:Ue,si:Oe,sq:Ie,sv:qe,ru:Me,sr:je,sk:Ge,ta:We,tr:Be,ug:He,uk:Ze,zh:Ke},$e=E,Je=he,Xe=Qe,_e=e;export{Je as clientTranslations,$e as coreTranslations,_e as odsTranslations,Xe as pkgTranslations}; diff --git a/web-dist/js/chunks/json-WKIyujAI.mjs.gz b/web-dist/js/chunks/json-WKIyujAI.mjs.gz new file mode 100644 index 0000000000..395302548c Binary files /dev/null and b/web-dist/js/chunks/json-WKIyujAI.mjs.gz differ diff --git a/web-dist/js/chunks/julia-DuME0IfC.mjs b/web-dist/js/chunks/julia-DuME0IfC.mjs new file mode 100644 index 0000000000..71ee6ad48b --- /dev/null +++ b/web-dist/js/chunks/julia-DuME0IfC.mjs @@ -0,0 +1 @@ +function o(e,n,i){return typeof i>"u"&&(i=""),typeof n>"u"&&(n="\\b"),new RegExp("^"+i+"(("+e.join(")|(")+"))"+n)}var v="\\\\[0-7]{1,3}",k="\\\\x[A-Fa-f0-9]{1,2}",F=`\\\\[abefnrtv0%?'"\\\\]`,g="([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])",a=["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","\\.{2,3}","[\\.\\\\%*+\\-<>!\\/^|&]=?","\\?","\\$","~",":"],b=o(["[<>]:","[<>=]=","[!=]==","<<=?",">>>?=?","=>?","--?>","<--[->]?","\\/\\/","[\\\\%*+\\-<>!\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),y=/^[;,()[\]{}]/,m=/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,x=o([v,k,F,g],"'"),z=["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"],A=["end","else","elseif","catch","finally"],p=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],h=["true","false","nothing","NaN","Inf"],E=o(z),C=o(A),_=o(p),w=o(h),D=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,T=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,P=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,B=o(a,"","@"),G=o(a,"",":");function l(e){return e.nestedArrays>0}function S(e){return e.nestedGenerators>0}function t(e,n){return typeof n>"u"&&(n=0),e.scopes.length<=n?null:e.scopes[e.scopes.length-(n+1)]}function f(e,n){if(e.match("#=",!1))return n.tokenize=I,n.tokenize(e,n);var i=n.leavingExpr;if(e.sol()&&(i=!1),n.leavingExpr=!1,i&&e.match(/^'+/))return"operator";if(e.match(/\.{4,}/))return"error";if(e.match(/\.{1,3}/))return"operator";if(e.eatSpace())return null;var r=e.peek();if(r==="#")return e.skipToEnd(),"comment";if(r==="["&&(n.scopes.push("["),n.nestedArrays++),r==="("&&(n.scopes.push("("),n.nestedGenerators++),l(n)&&r==="]"){for(;n.scopes.length&&t(n)!=="[";)n.scopes.pop();n.scopes.pop(),n.nestedArrays--,n.leavingExpr=!0}if(S(n)&&r===")"){for(;n.scopes.length&&t(n)!=="(";)n.scopes.pop();n.scopes.pop(),n.nestedGenerators--,n.leavingExpr=!0}if(l(n)){if(n.lastToken=="end"&&e.match(":"))return"operator";if(e.match("end"))return"number"}var u;if((u=e.match(E,!1))&&n.scopes.push(u[0]),e.match(C,!1)&&n.scopes.pop(),e.match(/^::(?![:\$])/))return n.tokenize=$,n.tokenize(e,n);if(!i&&(e.match(T)||e.match(G)))return"builtin";if(e.match(b))return"operator";if(e.match(/^\.?\d/,!1)){var s=RegExp(/^im\b/),c=!1;if(e.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(c=!0),e.match(/^0x[0-9a-f_]+/i)&&(c=!0),e.match(/^0b[01_]+/i)&&(c=!0),e.match(/^0o[0-7_]+/i)&&(c=!0),e.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(c=!0),e.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(c=!0),c)return e.match(s),n.leavingExpr=!0,"number"}if(e.match("'"))return n.tokenize=O,n.tokenize(e,n);if(e.match(P))return n.tokenize=Z(e.current()),n.tokenize(e,n);if(e.match(D)||e.match(B))return"meta";if(e.match(y))return null;if(e.match(_))return"keyword";if(e.match(w))return"builtin";var d=n.isDefinition||n.lastToken=="function"||n.lastToken=="macro"||n.lastToken=="type"||n.lastToken=="struct"||n.lastToken=="immutable";return e.match(m)?d?e.peek()==="."?(n.isDefinition=!0,"variable"):(n.isDefinition=!1,"def"):(n.leavingExpr=!0,"variable"):(e.next(),"error")}function $(e,n){return e.match(/.*?(?=[,;{}()=\s]|$)/),e.match("{")?n.nestedParameters++:e.match("}")&&n.nestedParameters>0&&n.nestedParameters--,n.nestedParameters>0?e.match(/.*?(?={|})/)||e.next():n.nestedParameters==0&&(n.tokenize=f),"builtin"}function I(e,n){return e.match("#=")&&n.nestedComments++,e.match(/.*?(?=(#=|=#))/)||e.skipToEnd(),e.match("=#")&&(n.nestedComments--,n.nestedComments==0&&(n.tokenize=f)),"comment"}function O(e,n){var i=!1,r;if(e.match(x))i=!0;else if(r=e.match(/\\u([a-f0-9]{1,4})(?=')/i)){var u=parseInt(r[1],16);(u<=55295||u>=57344)&&(i=!0,e.next())}else if(r=e.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var u=parseInt(r[1],16);u<=1114111&&(i=!0,e.next())}return i?(n.leavingExpr=!0,n.tokenize=f,"string"):(e.match(/^[^']+(?=')/)||e.skipToEnd(),e.match("'")&&(n.tokenize=f),"error")}function Z(e){e.substr(-3)==='"""'?e='"""':e.substr(-1)==='"'&&(e='"');function n(i,r){if(i.eat("\\"))i.next();else{if(i.match(e))return r.tokenize=f,r.leavingExpr=!0,"string";i.eat(/[`"]/)}return i.eatWhile(/[^\\`"]/),"string"}return n}const j={name:"julia",startState:function(){return{tokenize:f,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(e,n){var i=n.tokenize(e,n),r=e.current();return r&&i&&(n.lastToken=r),i},indent:function(e,n,i){var r=0;return(n==="]"||n===")"||/^end\b/.test(n)||/^else/.test(n)||/^catch\b/.test(n)||/^elseif\b/.test(n)||/^finally/.test(n))&&(r=-1),(e.scopes.length+r)*i.unit},languageData:{indentOnInput:/^\s*(end|else|catch|finally)\b$/,commentTokens:{line:"#",block:{open:"#=",close:"=#"}},closeBrackets:{brackets:["(","[","{",'"']},autocomplete:p.concat(h)}};export{j as julia}; diff --git a/web-dist/js/chunks/julia-DuME0IfC.mjs.gz b/web-dist/js/chunks/julia-DuME0IfC.mjs.gz new file mode 100644 index 0000000000..10cbb1e984 Binary files /dev/null and b/web-dist/js/chunks/julia-DuME0IfC.mjs.gz differ diff --git a/web-dist/js/chunks/livescript-BwQOo05w.mjs b/web-dist/js/chunks/livescript-BwQOo05w.mjs new file mode 100644 index 0000000000..e61e366811 --- /dev/null +++ b/web-dist/js/chunks/livescript-BwQOo05w.mjs @@ -0,0 +1 @@ +var f=function(e,n){var g=n.next||"start";{n.next=n.next;var k=x[g];if(k.splice){for(var l=0;l|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+s+")?))\\s*$"),r="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",o={token:"string",regex:".+"},x={start:[{token:"docComment",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+r},{token:"atom",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+r},{token:"invalid",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+r},{token:"className.standard",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+r},{token:"variableName.function.standard",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+r},{token:"variableName.standard",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+r},{token:"variableName",regex:s+"\\s*:(?![:=])"},{token:"variableName",regex:s},{token:"operatorKeyword",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"operatorKeyword",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"docString",regex:"'''",next:"qdoc"},{token:"docString",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"regexp",regex:"//",next:"heregex"},{token:"regexp",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"number",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"paren",regex:"[({[]"},{token:"paren",regex:"[)}\\]]",next:"key"},{token:"operatorKeyword",regex:"\\S+"},{token:"content",regex:"\\s+"}],heregex:[{token:"regexp",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"regexp",regex:"\\s*#{"},{token:"comment",regex:"\\s+(?:#.*)?"},{token:"regexp",regex:"\\S+"}],key:[{token:"operatorKeyword",regex:"[.?@!]+"},{token:"variableName",regex:s,next:"start"},{token:"content",regex:"",next:"start"}],comment:[{token:"docComment",regex:".*?\\*/",next:"start"},{token:"docComment",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},o],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},o],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},o],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},o],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},o],words:[{token:"string",regex:".*?\\]>",next:"key"},o]};for(var d in x){var a=x[d];if(a.splice)for(var i=0,p=a.length;i=0?O:1e3+O,(T-d)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let ft={};function sr(n,e={}){const t=JSON.stringify([n,e]);let r=ft[t];return r||(r=new Intl.ListFormat(n,e),ft[t]=r),r}const Pe=new Map;function Ge(n,e={}){const t=JSON.stringify([n,e]);let r=Pe.get(t);return r===void 0&&(r=new Intl.DateTimeFormat(n,e),Pe.set(t,r)),r}const _e=new Map;function ir(n,e={}){const t=JSON.stringify([n,e]);let r=_e.get(t);return r===void 0&&(r=new Intl.NumberFormat(n,e),_e.set(t,r)),r}const Je=new Map;function ar(n,e={}){const{base:t,...r}=e,s=JSON.stringify([n,r]);let i=Je.get(s);return i===void 0&&(i=new Intl.RelativeTimeFormat(n,e),Je.set(s,i)),i}let ce=null;function or(){return ce||(ce=new Intl.DateTimeFormat().resolvedOptions().locale,ce)}const Be=new Map;function un(n){let e=Be.get(n);return e===void 0&&(e=new Intl.DateTimeFormat(n).resolvedOptions(),Be.set(n,e)),e}const je=new Map;function ur(n){let e=je.get(n);if(!e){const t=new Intl.Locale(n);e="getWeekInfo"in t?t.getWeekInfo():t.weekInfo,"minimalDays"in e||(e={...ln,...e}),je.set(n,e)}return e}function lr(n){const e=n.indexOf("-x-");e!==-1&&(n=n.substring(0,e));const t=n.indexOf("-u-");if(t===-1)return[n];{let r,s;try{r=Ge(n).resolvedOptions(),s=n}catch{const u=n.substring(0,t);r=Ge(u).resolvedOptions(),s=u}const{numberingSystem:i,calendar:a}=r;return[s,i,a]}}function cr(n,e,t){return(t||e)&&(n.includes("-u-")||(n+="-u"),t&&(n+=`-ca-${t}`),e&&(n+=`-nu-${e}`)),n}function fr(n){const e=[];for(let t=1;t<=12;t++){const r=m.utc(2009,t,1);e.push(n(r))}return e}function dr(n){const e=[];for(let t=1;t<=7;t++){const r=m.utc(2016,11,13+t);e.push(n(r))}return e}function Se(n,e,t,r){const s=n.listingMode();return s==="error"?null:s==="en"?t(e):r(e)}function hr(n){return n.numberingSystem&&n.numberingSystem!=="latn"?!1:n.numberingSystem==="latn"||!n.locale||n.locale.startsWith("en")||un(n.locale).numberingSystem==="latn"}class mr{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:i,...a}=r;if(!t||Object.keys(a).length>0){const o={useGrouping:!1,...r};r.padTo>0&&(o.minimumIntegerDigits=r.padTo),this.inf=ir(e,o)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}else{const t=this.floor?Math.floor(e):it(e,3);return v(t,this.padTo)}}}class yr{constructor(e,t,r){this.opts=r,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const a=-1*(e.offset/60),o=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;e.offset!==0&&Z.create(o).valid?(s=o,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const i={...this.opts};i.timeZone=i.timeZone||s,this.dtf=Ge(t,i)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(t=>{if(t.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:r}}else return t}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class gr{constructor(e,t,r){this.opts={style:"long",...r},!t&&wn()&&(this.rtf=ar(e,r))}format(e,t){return this.rtf?this.rtf.format(e,t):Zr(t,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}const ln={firstDay:1,minimalDays:4,weekend:[6,7]};class k{static fromOpts(e){return k.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,s,i=!1){const a=e||p.defaultLocale,o=a||(i?"en-US":or()),u=t||p.defaultNumberingSystem,l=r||p.defaultOutputCalendar,f=Ke(s)||p.defaultWeekSettings;return new k(o,u,l,f,a)}static resetCache(){ce=null,Pe.clear(),_e.clear(),Je.clear(),Be.clear(),je.clear()}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:s}={}){return k.create(e,t,r,s)}constructor(e,t,r,s,i){const[a,o,u]=lr(e);this.locale=a,this.numberingSystem=t||o||null,this.outputCalendar=r||u||null,this.weekSettings=s,this.intl=cr(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=hr(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&t?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:k.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Ke(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return Se(this,e,On,()=>{const r=this.intl==="ja"||this.intl.startsWith("ja-");t&=!r;const s=t?{month:e,day:"numeric"}:{month:e},i=t?"format":"standalone";if(!this.monthsCache[i][e]){const a=r?o=>this.dtFormatter(o,s).format():o=>this.extract(o,s,"month");this.monthsCache[i][e]=fr(a)}return this.monthsCache[i][e]})}weekdays(e,t=!1){return Se(this,e,Nn,()=>{const r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=t?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=dr(i=>this.extract(i,r,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return Se(this,void 0,()=>In,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[m.utc(2016,11,13,9),m.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Se(this,e,En,()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[m.utc(-40,1,1),m.utc(2017,1,1)].map(r=>this.extract(r,t,"era"))),this.eraCache[e]})}extract(e,t,r){const s=this.dtFormatter(e,t),i=s.formatToParts(),a=i.find(o=>o.type.toLowerCase()===r);return a?a.value:null}numberFormatter(e={}){return new mr(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new yr(e,this.intl,t)}relFormatter(e={}){return new gr(this.intl,this.isEnglish(),e)}listFormatter(e={}){return sr(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||un(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:kn()?ur(this.locale):ln}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ze=null;class I extends te{static get utcInstance(){return Ze===null&&(Ze=new I(0)),Ze}static instance(e){return e===0?I.utcInstance:new I(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new I(Ce(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${me(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${me(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return me(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class cn extends te{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function R(n,e){if(h(n)||n===null)return e;if(n instanceof te)return n;if(Or(n)){const t=n.toLowerCase();return t==="default"?e:t==="local"||t==="system"?ge.instance:t==="utc"||t==="gmt"?I.utcInstance:I.parseSpecifier(t)||Z.create(n)}else return q(n)?I.instance(n):typeof n=="object"&&"offset"in n&&typeof n.offset=="function"?n:new cn(n)}const tt={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},dt={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},wr=tt.hanidec.replace(/[\[|\]]/g,"").split("");function kr(n){let e=parseInt(n,10);if(isNaN(e)){e="";for(let t=0;t=i&&r<=a&&(e+=r-i)}}return parseInt(e,10)}else return e}const Qe=new Map;function Tr(){Qe.clear()}function V({numberingSystem:n},e=""){const t=n||"latn";let r=Qe.get(t);r===void 0&&(r=new Map,Qe.set(t,r));let s=r.get(e);return s===void 0&&(s=new RegExp(`${tt[t]}${e}`),r.set(e,s)),s}let ht=()=>Date.now(),mt="system",yt=null,gt=null,wt=null,kt=60,Tt,St=null;class p{static get now(){return ht}static set now(e){ht=e}static set defaultZone(e){mt=e}static get defaultZone(){return R(mt,ge.instance)}static get defaultLocale(){return yt}static set defaultLocale(e){yt=e}static get defaultNumberingSystem(){return gt}static set defaultNumberingSystem(e){gt=e}static get defaultOutputCalendar(){return wt}static set defaultOutputCalendar(e){wt=e}static get defaultWeekSettings(){return St}static set defaultWeekSettings(e){St=Ke(e)}static get twoDigitCutoffYear(){return kt}static set twoDigitCutoffYear(e){kt=e%100}static get throwOnInvalid(){return Tt}static set throwOnInvalid(e){Tt=e}static resetCaches(){k.resetCache(),Z.resetCache(),m.resetCache(),Tr()}}class W{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const fn=[0,31,59,90,120,151,181,212,243,273,304,334],dn=[0,31,60,91,121,152,182,213,244,274,305,335];function x(n,e){return new W("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${n}, which is invalid`)}function nt(n,e,t){const r=new Date(Date.UTC(n,e-1,t));n<100&&n>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return s===0?7:s}function hn(n,e,t){return t+(we(n)?dn:fn)[e-1]}function mn(n,e){const t=we(n)?dn:fn,r=t.findIndex(i=>iye(r,e,t)?(l=r+1,u=1):l=r,{weekYear:l,weekNumber:u,weekday:o,...We(n)}}function pt(n,e=4,t=1){const{weekYear:r,weekNumber:s,weekday:i}=n,a=rt(nt(r,1,e),t),o=K(r);let u=s*7+i-a-7+e,l;u<1?(l=r-1,u+=K(l)):u>o?(l=r+1,u-=K(r)):l=r;const{month:f,day:y}=mn(l,u);return{year:l,month:f,day:y,...We(n)}}function Ae(n){const{year:e,month:t,day:r}=n,s=hn(e,t,r);return{year:e,ordinal:s,...We(n)}}function Ot(n){const{year:e,ordinal:t}=n,{month:r,day:s}=mn(e,t);return{year:e,month:r,day:s,...We(n)}}function vt(n,e){if(!h(n.localWeekday)||!h(n.localWeekNumber)||!h(n.localWeekYear)){if(!h(n.weekday)||!h(n.weekNumber)||!h(n.weekYear))throw new Q("Cannot mix locale-based week fields with ISO-based week fields");return h(n.localWeekday)||(n.weekday=n.localWeekday),h(n.localWeekNumber)||(n.weekNumber=n.localWeekNumber),h(n.localWeekYear)||(n.weekYear=n.localWeekYear),delete n.localWeekday,delete n.localWeekNumber,delete n.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Sr(n,e=4,t=1){const r=Fe(n.weekYear),s=b(n.weekNumber,1,ye(n.weekYear,e,t)),i=b(n.weekday,1,7);return r?s?i?!1:x("weekday",n.weekday):x("week",n.weekNumber):x("weekYear",n.weekYear)}function pr(n){const e=Fe(n.year),t=b(n.ordinal,1,K(n.year));return e?t?!1:x("ordinal",n.ordinal):x("year",n.year)}function yn(n){const e=Fe(n.year),t=b(n.month,1,12),r=b(n.day,1,xe(n.year,n.month));return e?t?r?!1:x("day",n.day):x("month",n.month):x("year",n.year)}function gn(n){const{hour:e,minute:t,second:r,millisecond:s}=n,i=b(e,0,23)||e===24&&t===0&&r===0&&s===0,a=b(t,0,59),o=b(r,0,59),u=b(s,0,999);return i?a?o?u?!1:x("millisecond",s):x("second",r):x("minute",t):x("hour",e)}function h(n){return typeof n>"u"}function q(n){return typeof n=="number"}function Fe(n){return typeof n=="number"&&n%1===0}function Or(n){return typeof n=="string"}function vr(n){return Object.prototype.toString.call(n)==="[object Date]"}function wn(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function kn(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Mr(n){return Array.isArray(n)?n:[n]}function Mt(n,e,t){if(n.length!==0)return n.reduce((r,s)=>{const i=[e(s),s];return r&&t(r[0],i[0])===r[0]?r:i},null)[1]}function Nr(n,e){return e.reduce((t,r)=>(t[r]=n[r],t),{})}function ee(n,e){return Object.prototype.hasOwnProperty.call(n,e)}function Ke(n){if(n==null)return null;if(typeof n!="object")throw new M("Week settings must be an object");if(!b(n.firstDay,1,7)||!b(n.minimalDays,1,7)||!Array.isArray(n.weekend)||n.weekend.some(e=>!b(e,1,7)))throw new M("Invalid week settings");return{firstDay:n.firstDay,minimalDays:n.minimalDays,weekend:Array.from(n.weekend)}}function b(n,e,t){return Fe(n)&&n>=e&&n<=t}function Ir(n,e){return n-e*Math.floor(n/e)}function v(n,e=2){const t=n<0;let r;return t?r="-"+(""+-n).padStart(e,"0"):r=(""+n).padStart(e,"0"),r}function U(n){if(!(h(n)||n===null||n===""))return parseInt(n,10)}function H(n){if(!(h(n)||n===null||n===""))return parseFloat(n)}function st(n){if(!(h(n)||n===null||n==="")){const e=parseFloat("0."+n)*1e3;return Math.floor(e)}}function it(n,e,t="round"){const r=10**e;switch(t){case"expand":return n>0?Math.ceil(n*r)/r:Math.floor(n*r)/r;case"trunc":return Math.trunc(n*r)/r;case"round":return Math.round(n*r)/r;case"floor":return Math.floor(n*r)/r;case"ceil":return Math.ceil(n*r)/r;default:throw new RangeError(`Value rounding ${t} is out of range`)}}function we(n){return n%4===0&&(n%100!==0||n%400===0)}function K(n){return we(n)?366:365}function xe(n,e){const t=Ir(e-1,12)+1,r=n+(e-t)/12;return t===2?we(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][t-1]}function Ve(n){let e=Date.UTC(n.year,n.month-1,n.day,n.hour,n.minute,n.second,n.millisecond);return n.year<100&&n.year>=0&&(e=new Date(e),e.setUTCFullYear(n.year,n.month-1,n.day)),+e}function Nt(n,e,t){return-rt(nt(n,1,e),t)+e-1}function ye(n,e=4,t=1){const r=Nt(n,e,t),s=Nt(n+1,e,t);return(K(n)-r+s)/7}function Xe(n){return n>99?n:n>p.twoDigitCutoffYear?1900+n:2e3+n}function Tn(n,e,t,r=null){const s=new Date(n),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const a={timeZoneName:e,...i},o=new Intl.DateTimeFormat(t,a).formatToParts(s).find(u=>u.type.toLowerCase()==="timezonename");return o?o.value:null}function Ce(n,e){let t=parseInt(n,10);Number.isNaN(t)&&(t=0);const r=parseInt(e,10)||0,s=t<0||Object.is(t,-0)?-r:r;return t*60+s}function Sn(n){const e=Number(n);if(typeof n=="boolean"||n===""||!Number.isFinite(e))throw new M(`Invalid unit value ${n}`);return e}function be(n,e){const t={};for(const r in n)if(ee(n,r)){const s=n[r];if(s==null)continue;t[e(r)]=Sn(s)}return t}function me(n,e){const t=Math.trunc(Math.abs(n/60)),r=Math.trunc(Math.abs(n%60)),s=n>=0?"+":"-";switch(e){case"short":return`${s}${v(t,2)}:${v(r,2)}`;case"narrow":return`${s}${t}${r>0?`:${r}`:""}`;case"techie":return`${s}${v(t,2)}${v(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function We(n){return Nr(n,["hour","minute","second","millisecond"])}const Er=["January","February","March","April","May","June","July","August","September","October","November","December"],pn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Dr=["J","F","M","A","M","J","J","A","S","O","N","D"];function On(n){switch(n){case"narrow":return[...Dr];case"short":return[...pn];case"long":return[...Er];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const vn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Mn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],xr=["M","T","W","T","F","S","S"];function Nn(n){switch(n){case"narrow":return[...xr];case"short":return[...Mn];case"long":return[...vn];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const In=["AM","PM"],br=["Before Christ","Anno Domini"],Fr=["BC","AD"],Vr=["B","A"];function En(n){switch(n){case"narrow":return[...Vr];case"short":return[...Fr];case"long":return[...br];default:return null}}function Cr(n){return In[n.hour<12?0:1]}function Wr(n,e){return Nn(e)[n.weekday-1]}function Lr(n,e){return On(e)[n.month-1]}function $r(n,e){return En(e)[n.year<0?0:1]}function Zr(n,e,t="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=["hours","minutes","seconds"].indexOf(n)===-1;if(t==="auto"&&i){const y=n==="days";switch(e){case 1:return y?"tomorrow":`next ${s[n][0]}`;case-1:return y?"yesterday":`last ${s[n][0]}`;case 0:return y?"today":`this ${s[n][0]}`}}const a=Object.is(e,-0)||e<0,o=Math.abs(e),u=o===1,l=s[n],f=r?u?l[1]:l[2]||l[1]:u?s[n][0]:n;return a?`${o} ${f} ago`:`in ${o} ${f}`}function It(n,e){let t="";for(const r of n)r.literal?t+=r.val:t+=e(r.val);return t}const Ar={D:Ee,DD:qt,DDD:Ht,DDDD:Yt,t:Pt,tt:Gt,ttt:_t,tttt:Jt,T:Bt,TT:jt,TTT:Qt,TTTT:Kt,f:Xt,ff:tn,fff:rn,ffff:an,F:en,FF:nn,FFF:sn,FFFF:on};class N{static create(e,t={}){return new N(e,t)}static parseFormat(e){let t=null,r="",s=!1;const i=[];for(let a=0;a0||s)&&i.push({literal:s||/^\s+$/.test(r),val:r===""?"'":r}),t=null,r="",s=!s):s||o===t?r+=o:(r.length>0&&i.push({literal:/^\s+$/.test(r),val:r}),r=o,t=o)}return r.length>0&&i.push({literal:s||/^\s+$/.test(r),val:r}),i}static macroTokenToFormatOpts(e){return Ar[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0,r=void 0){if(this.opts.forceSimple)return v(e,t);const s={...this.opts};return t>0&&(s.padTo=t),r&&(s.signDisplay=r),this.loc.numberFormatter(s).format(e)}formatDateTimeFromString(e,t){const r=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",i=(d,O)=>this.loc.extract(e,d,O),a=d=>e.isOffsetFixed&&e.offset===0&&d.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,d.format):"",o=()=>r?Cr(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),u=(d,O)=>r?Lr(e,d):i(O?{month:d}:{month:d,day:"numeric"},"month"),l=(d,O)=>r?Wr(e,d):i(O?{weekday:d}:{weekday:d,month:"long",day:"numeric"},"weekday"),f=d=>{const O=N.macroTokenToFormatOpts(d);return O?this.formatWithSystemDefault(e,O):d},y=d=>r?$r(e,d):i({era:d},"era"),T=d=>{switch(d){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return o();case"d":return s?i({day:"numeric"},"day"):this.num(e.day);case"dd":return s?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return s?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return s?i({month:"numeric"},"month"):this.num(e.month);case"MM":return s?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return s?i({year:"numeric"},"year"):this.num(e.year);case"yy":return s?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return y("short");case"GG":return y("long");case"GGGGG":return y("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return f(d)}};return It(N.parseFormat(t),T)}formatDurationFromString(e,t){const r=this.opts.signMode==="negativeLargestOnly"?-1:1,s=f=>{switch(f[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},i=(f,y)=>T=>{const d=s(T);if(d){const O=y.isNegativeDuration&&d!==y.largestUnit?r:1;let F;return this.opts.signMode==="negativeLargestOnly"&&d!==y.largestUnit?F="never":this.opts.signMode==="all"?F="always":F="auto",this.num(f.get(d)*O,T.length,F)}else return T},a=N.parseFormat(t),o=a.reduce((f,{literal:y,val:T})=>y?f:f.concat(T),[]),u=e.shiftTo(...o.map(s).filter(f=>f)),l={isNegativeDuration:u<0,largestUnit:Object.keys(u.values)[0]};return It(a,i(u,l))}}const Dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ne(...n){const e=n.reduce((t,r)=>t+r.source,"");return RegExp(`^${e}$`)}function re(...n){return e=>n.reduce(([t,r,s],i)=>{const[a,o,u]=i(e,s);return[{...t,...a},o||r,u]},[{},null,1]).slice(0,2)}function se(n,...e){if(n==null)return[null,null];for(const[t,r]of e){const s=t.exec(n);if(s)return r(s)}return[null,null]}function xn(...n){return(e,t)=>{const r={};let s;for(s=0;sd!==void 0&&(O||d&&f)?-d:d;return[{years:T(H(t)),months:T(H(r)),weeks:T(H(s)),days:T(H(i)),hours:T(H(a)),minutes:T(H(o)),seconds:T(H(u),u==="-0"),milliseconds:T(st(l),y)}]}const Qr={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ut(n,e,t,r,s,i,a){const o={year:e.length===2?Xe(U(e)):U(e),month:pn.indexOf(t)+1,day:U(r),hour:U(s),minute:U(i)};return a&&(o.second=U(a)),n&&(o.weekday=n.length>3?vn.indexOf(n)+1:Mn.indexOf(n)+1),o}const Kr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Xr(n){const[,e,t,r,s,i,a,o,u,l,f,y]=n,T=ut(e,s,r,t,i,a,o);let d;return u?d=Qr[u]:l?d=0:d=Ce(f,y),[T,new I(d)]}function es(n){return n.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const ts=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ns=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,rs=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Et(n){const[,e,t,r,s,i,a,o]=n;return[ut(e,s,r,t,i,a,o),I.utcInstance]}function ss(n){const[,e,t,r,s,i,a,o]=n;return[ut(e,o,t,r,s,i,a),I.utcInstance]}const is=ne(Ur,ot),as=ne(Rr,ot),os=ne(qr,ot),us=ne(Fn),Cn=re(_r,ie,ke,Te),ls=re(Hr,ie,ke,Te),cs=re(Yr,ie,ke,Te),fs=re(ie,ke,Te);function ds(n){return se(n,[is,Cn],[as,ls],[os,cs],[us,fs])}function hs(n){return se(es(n),[Kr,Xr])}function ms(n){return se(n,[ts,Et],[ns,Et],[rs,ss])}function ys(n){return se(n,[Br,jr])}const gs=re(ie);function ws(n){return se(n,[Jr,gs])}const ks=ne(Pr,Gr),Ts=ne(Vn),Ss=re(ie,ke,Te);function ps(n){return se(n,[ks,Cn],[Ts,Ss])}const Dt="Invalid Duration",Wn={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Os={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...Wn},D=146097/400,J=146097/4800,vs={years:{quarters:4,months:12,weeks:D/7,days:D,hours:D*24,minutes:D*24*60,seconds:D*24*60*60,milliseconds:D*24*60*60*1e3},quarters:{months:3,weeks:D/28,days:D/4,hours:D*24/4,minutes:D*24*60/4,seconds:D*24*60*60/4,milliseconds:D*24*60*60*1e3/4},months:{weeks:J/7,days:J,hours:J*24,minutes:J*24*60,seconds:J*24*60*60,milliseconds:J*24*60*60*1e3},...Wn},P=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Ms=P.slice(0).reverse();function A(n,e,t=!1){const r={values:t?e.values:{...n.values,...e.values||{}},loc:n.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||n.conversionAccuracy,matrix:e.matrix||n.matrix};return new g(r)}function Ln(n,e){let t=e.milliseconds??0;for(const r of Ms.slice(1))e[r]&&(t+=e[r]*n[r].milliseconds);return t}function xt(n,e){const t=Ln(n,e)<0?-1:1;P.reduceRight((r,s)=>{if(h(e[s]))return r;if(r){const i=e[r]*t,a=n[s][r],o=Math.floor(i/a);e[s]+=o*t,e[r]-=o*a*t}return s},null),P.reduce((r,s)=>{if(h(e[s]))return r;if(r){const i=e[r]%1;e[r]-=i,e[s]+=i*n[r][s]}return s},null)}function bt(n){const e={};for(const[t,r]of Object.entries(n))r!==0&&(e[t]=r);return e}class g{constructor(e){const t=e.conversionAccuracy==="longterm"||!1;let r=t?vs:Os;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||k.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return g.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(e==null||typeof e!="object")throw new M(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new g({values:be(e,g.normalizeUnit),loc:k.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(q(e))return g.fromMillis(e);if(g.isDuration(e))return e;if(typeof e=="object")return g.fromObject(e);throw new M(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[r]=ys(e);return r?g.fromObject(r,t):g.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[r]=ws(e);return r?g.fromObject(r,t):g.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new M("need to specify a reason the Duration is invalid");const r=e instanceof W?e:new W(e,t);if(p.throwOnInvalid)throw new Qn(r);return new g({invalid:r})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!t)throw new Rt(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const r={...t,floor:t.round!==!1&&t.floor!==!1};return this.isValid?N.create(this.loc,r).formatDurationFromString(this,e):Dt}toHuman(e={}){if(!this.isValid)return Dt;const t=e.showZeros!==!1,r=P.map(s=>{const i=this.values[s];return h(i)||i===0&&!t?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:s.slice(0,-1)}).format(i)}).filter(s=>s);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=it(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},m.fromMillis(t,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Ln(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=g.fromDurationLike(e),r={};for(const s of P)(ee(t.values,s)||ee(this.values,s))&&(r[s]=t.get(s)+this.get(s));return A(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const t=g.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const r of Object.keys(this.values))t[r]=Sn(e(this.values[r],r));return A(this,{values:t},!0)}get(e){return this[g.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const t={...this.values,...be(e,g.normalizeUnit)};return A(this,{values:t})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:s}={}){const a={loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:s,conversionAccuracy:r};return A(this,a)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return xt(this.matrix,e),A(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=bt(this.normalize().shiftToAll().toObject());return A(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(a=>g.normalizeUnit(a));const t={},r={},s=this.toObject();let i;for(const a of P)if(e.indexOf(a)>=0){i=a;let o=0;for(const l in r)o+=this.matrix[l][a]*r[l],r[l]=0;q(s[a])&&(o+=s[a]);const u=Math.trunc(o);t[a]=u,r[a]=(o*1e3-u*1e3)/1e3}else q(s[a])&&(r[a]=s[a]);for(const a in r)r[a]!==0&&(t[i]+=a===i?r[a]:r[a]/this.matrix[i][a]);return xt(this.matrix,t),A(this,{values:t},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=this.values[t]===0?0:-this.values[t];return A(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;const e=bt(this.values);return A(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function t(r,s){return r===void 0||r===0?s===void 0||s===0:r===s}for(const r of P)if(!t(this.values[r],e.values[r]))return!1;return!0}}const B="Invalid Interval";function Ns(n,e){return!n||!n.isValid?S.invalid("missing or invalid start"):!e||!e.isValid?S.invalid("missing or invalid end"):ee:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:t}={}){return this.isValid?S.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(le).filter(a=>this.contains(a)).sort((a,o)=>a.toMillis()-o.toMillis()),r=[];let{s}=this,i=0;for(;s+this.e?this.e:a;r.push(S.fromDateTimes(s,o)),s=o,i+=1}return r}splitBy(e){const t=g.fromDurationLike(e);if(!this.isValid||!t.isValid||t.as("milliseconds")===0)return[];let{s:r}=this,s=1,i;const a=[];for(;ru*s));i=+o>+this.e?this.e:o,a.push(S.fromDateTimes(r,i)),r=i,s+=1}return a}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,r=this.e=r?null:S.fromDateTimes(t,r)}union(e){if(!this.isValid)return this;const t=this.se.e?this.e:e.e;return S.fromDateTimes(t,r)}static merge(e){const[t,r]=e.sort((s,i)=>s.s-i.s).reduce(([s,i],a)=>i?i.overlaps(a)||i.abutsStart(a)?[s,i.union(a)]:[s.concat([i]),a]:[s,a],[[],null]);return r&&t.push(r),t}static xor(e){let t=null,r=0;const s=[],i=e.map(u=>[{time:u.s,type:"s"},{time:u.e,type:"e"}]),a=Array.prototype.concat(...i),o=a.sort((u,l)=>u.time-l.time);for(const u of o)r+=u.type==="s"?1:-1,r===1?t=u.time:(t&&+t!=+u.time&&s.push(S.fromDateTimes(t,u.time)),t=null);return S.merge(s)}difference(...e){return S.xor([this].concat(e)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:B}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Ee,t={}){return this.isValid?N.create(this.s.loc.clone(t),e).formatInterval(this):B}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:B}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:B}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:B}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:B}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):g.invalid(this.invalidReason)}mapEndpoints(e){return S.fromDateTimes(e(this.s),e(this.e))}}class fe{static hasDST(e=p.defaultZone){const t=m.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return Z.isValidZone(e)}static normalizeZone(e){return R(e,p.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||k.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||k.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||k.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||k.create(t,r,i)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null,outputCalendar:i="gregory"}={}){return(s||k.create(t,r,i)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||k.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:s=null}={}){return(s||k.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return k.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return k.create(t,null,"gregory").eras(e)}static features(){return{relative:wn(),localeWeek:kn()}}}function Ft(n,e){const t=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=t(e)-t(n);return Math.floor(g.fromMillis(r).as("days"))}function Is(n,e,t){const r=[["years",(u,l)=>l.year-u.year],["quarters",(u,l)=>l.quarter-u.quarter+(l.year-u.year)*4],["months",(u,l)=>l.month-u.month+(l.year-u.year)*12],["weeks",(u,l)=>{const f=Ft(u,l);return(f-f%7)/7}],["days",Ft]],s={},i=n;let a,o;for(const[u,l]of r)t.indexOf(u)>=0&&(a=u,s[u]=l(n,e),o=i.plus(s),o>e?(s[u]--,n=i.plus(s),n>e&&(o=n,s[u]--,n=i.plus(s))):n=o);return[n,s,o,a]}function Es(n,e,t,r){let[s,i,a,o]=Is(n,e,t);const u=e-s,l=t.filter(y=>["hours","minutes","seconds","milliseconds"].indexOf(y)>=0);l.length===0&&(a0?g.fromMillis(u,r).shiftTo(...l).plus(f):f}const Ds="missing Intl.DateTimeFormat.formatToParts support";function w(n,e=t=>t){return{regex:n,deser:([t])=>e(kr(t))}}const xs=" ",$n=`[ ${xs}]`,Zn=new RegExp($n,"g");function bs(n){return n.replace(/\./g,"\\.?").replace(Zn,$n)}function Vt(n){return n.replace(/\./g,"").replace(Zn," ").toLowerCase()}function C(n,e){return n===null?null:{regex:RegExp(n.map(bs).join("|")),deser:([t])=>n.findIndex(r=>Vt(t)===Vt(r))+e}}function Ct(n,e){return{regex:n,deser:([,t,r])=>Ce(t,r),groups:e}}function pe(n){return{regex:n,deser:([e])=>e}}function Fs(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Vs(n,e){const t=V(e),r=V(e,"{2}"),s=V(e,"{3}"),i=V(e,"{4}"),a=V(e,"{6}"),o=V(e,"{1,2}"),u=V(e,"{1,3}"),l=V(e,"{1,6}"),f=V(e,"{1,9}"),y=V(e,"{2,4}"),T=V(e,"{4,6}"),d=$=>({regex:RegExp(Fs($.val)),deser:([_])=>_,literal:!0}),F=($=>{if(n.literal)return d($);switch($.val){case"G":return C(e.eras("short"),0);case"GG":return C(e.eras("long"),0);case"y":return w(l);case"yy":return w(y,Xe);case"yyyy":return w(i);case"yyyyy":return w(T);case"yyyyyy":return w(a);case"M":return w(o);case"MM":return w(r);case"MMM":return C(e.months("short",!0),1);case"MMMM":return C(e.months("long",!0),1);case"L":return w(o);case"LL":return w(r);case"LLL":return C(e.months("short",!1),1);case"LLLL":return C(e.months("long",!1),1);case"d":return w(o);case"dd":return w(r);case"o":return w(u);case"ooo":return w(s);case"HH":return w(r);case"H":return w(o);case"hh":return w(r);case"h":return w(o);case"mm":return w(r);case"m":return w(o);case"q":return w(o);case"qq":return w(r);case"s":return w(o);case"ss":return w(r);case"S":return w(u);case"SSS":return w(s);case"u":return pe(f);case"uu":return pe(o);case"uuu":return w(t);case"a":return C(e.meridiems(),0);case"kkkk":return w(i);case"kk":return w(y,Xe);case"W":return w(o);case"WW":return w(r);case"E":case"c":return w(t);case"EEE":return C(e.weekdays("short",!1),1);case"EEEE":return C(e.weekdays("long",!1),1);case"ccc":return C(e.weekdays("short",!0),1);case"cccc":return C(e.weekdays("long",!0),1);case"Z":case"ZZ":return Ct(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return Ct(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return pe(/[a-z_+-/]{1,256}?/i);case" ":return pe(/[^\S\n\r]/);default:return d($)}})(n)||{invalidReason:Ds};return F.token=n,F}const Cs={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function Ws(n,e,t){const{type:r,value:s}=n;if(r==="literal"){const u=/^\s+$/.test(s);return{literal:!u,val:u?" ":s}}const i=e[r];let a=r;r==="hour"&&(e.hour12!=null?a=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?a="hour12":a="hour24":a=t.hour12?"hour12":"hour24");let o=Cs[a];if(typeof o=="object"&&(o=o[i]),o)return{literal:!1,val:o}}function Ls(n){return[`^${n.map(t=>t.regex).reduce((t,r)=>`${t}(${r.source})`,"")}$`,n]}function $s(n,e,t){const r=n.match(e);if(r){const s={};let i=1;for(const a in t)if(ee(t,a)){const o=t[a],u=o.groups?o.groups+1:1;!o.literal&&o.token&&(s[o.token.val[0]]=o.deser(r.slice(i,i+u))),i+=u}return[r,s]}else return[r,{}]}function Zs(n){const e=i=>{switch(i){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let t=null,r;return h(n.z)||(t=Z.create(n.z)),h(n.Z)||(t||(t=new I(n.Z)),r=n.Z),h(n.q)||(n.M=(n.q-1)*3+1),h(n.h)||(n.h<12&&n.a===1?n.h+=12:n.h===12&&n.a===0&&(n.h=0)),n.G===0&&n.y&&(n.y=-n.y),h(n.u)||(n.S=st(n.u)),[Object.keys(n).reduce((i,a)=>{const o=e(a);return o&&(i[o]=n[a]),i},{}),t,r]}let ze=null;function As(){return ze||(ze=m.fromMillis(1555555555555)),ze}function zs(n,e){if(n.literal)return n;const t=N.macroTokenToFormatOpts(n.val),r=Rn(t,e);return r==null||r.includes(void 0)?n:r}function An(n,e){return Array.prototype.concat(...n.map(t=>zs(t,e)))}class zn{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=An(N.parseFormat(t),e),this.units=this.tokens.map(r=>Vs(r,e)),this.disqualifyingUnit=this.units.find(r=>r.invalidReason),!this.disqualifyingUnit){const[r,s]=Ls(this.units);this.regex=RegExp(r,"i"),this.handlers=s}}explainFromTokens(e){if(this.isValid){const[t,r]=$s(e,this.regex,this.handlers),[s,i,a]=r?Zs(r):[null,null,void 0];if(ee(r,"a")&&ee(r,"H"))throw new Q("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:t,matches:r,result:s,zone:i,specificOffset:a}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Un(n,e,t){return new zn(n,t).explainFromTokens(e)}function Us(n,e,t){const{result:r,zone:s,specificOffset:i,invalidReason:a}=Un(n,e,t);return[r,s,i,a]}function Rn(n,e){if(!n)return null;const r=N.create(e,n).dtFormatter(As()),s=r.formatToParts(),i=r.resolvedOptions();return s.map(a=>Ws(a,n,i))}const Ue="Invalid DateTime",Wt=864e13;function de(n){return new W("unsupported zone",`the zone "${n.name}" is not supported`)}function Re(n){return n.weekData===null&&(n.weekData=De(n.c)),n.weekData}function qe(n){return n.localWeekData===null&&(n.localWeekData=De(n.c,n.loc.getMinDaysInFirstWeek(),n.loc.getStartOfWeek())),n.localWeekData}function Y(n,e){const t={ts:n.ts,zone:n.zone,c:n.c,o:n.o,loc:n.loc,invalid:n.invalid};return new m({...t,...e,old:t})}function qn(n,e,t){let r=n-e*60*1e3;const s=t.offset(r);if(e===s)return[r,e];r-=(s-e)*60*1e3;const i=t.offset(r);return s===i?[r,s]:[n-Math.min(s,i)*60*1e3,Math.max(s,i)]}function Oe(n,e){n+=e*60*1e3;const t=new Date(n);return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:t.getUTCHours(),minute:t.getUTCMinutes(),second:t.getUTCSeconds(),millisecond:t.getUTCMilliseconds()}}function Me(n,e,t){return qn(Ve(n),e,t)}function Lt(n,e){const t=n.o,r=n.c.year+Math.trunc(e.years),s=n.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,i={...n.c,year:r,month:s,day:Math.min(n.c.day,xe(r,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},a=g.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=Ve(i);let[u,l]=qn(o,t,n.zone);return a!==0&&(u+=a,l=n.zone.offset(u)),{ts:u,o:l}}function j(n,e,t,r,s,i){const{setZone:a,zone:o}=t;if(n&&Object.keys(n).length!==0||e){const u=e||o,l=m.fromObject(n,{...t,zone:u,specificOffset:i});return a?l:l.setZone(o)}else return m.invalid(new W("unparsable",`the input "${s}" can't be parsed as ${r}`))}function ve(n,e,t=!0){return n.isValid?N.create(k.create("en-US"),{allowZ:t,forceSimple:!0}).formatDateTimeFromString(n,e):null}function He(n,e,t){const r=n.c.year>9999||n.c.year<0;let s="";if(r&&n.c.year>=0&&(s+="+"),s+=v(n.c.year,r?6:4),t==="year")return s;if(e){if(s+="-",s+=v(n.c.month),t==="month")return s;s+="-"}else if(s+=v(n.c.month),t==="month")return s;return s+=v(n.c.day),s}function $t(n,e,t,r,s,i,a){let o=!t||n.c.millisecond!==0||n.c.second!==0,u="";switch(a){case"day":case"month":case"year":break;default:if(u+=v(n.c.hour),a==="hour")break;if(e){if(u+=":",u+=v(n.c.minute),a==="minute")break;o&&(u+=":",u+=v(n.c.second))}else{if(u+=v(n.c.minute),a==="minute")break;o&&(u+=v(n.c.second))}if(a==="second")break;o&&(!r||n.c.millisecond!==0)&&(u+=".",u+=v(n.c.millisecond,3))}return s&&(n.isOffsetFixed&&n.offset===0&&!i?u+="Z":n.o<0?(u+="-",u+=v(Math.trunc(-n.o/60)),u+=":",u+=v(Math.trunc(-n.o%60))):(u+="+",u+=v(Math.trunc(n.o/60)),u+=":",u+=v(Math.trunc(n.o%60)))),i&&(u+="["+n.zone.ianaName+"]"),u}const Hn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Rs={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qs={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Ne=["year","month","day","hour","minute","second","millisecond"],Hs=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Ys=["year","ordinal","hour","minute","second","millisecond"];function Ie(n){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[n.toLowerCase()];if(!e)throw new Rt(n);return e}function Zt(n){switch(n.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Ie(n)}}function Ps(n){if(he===void 0&&(he=p.now()),n.type!=="iana")return n.offset(he);const e=n.name;let t=et.get(e);return t===void 0&&(t=n.offset(he),et.set(e,t)),t}function At(n,e){const t=R(e.zone,p.defaultZone);if(!t.isValid)return m.invalid(de(t));const r=k.fromObject(e);let s,i;if(h(n.year))s=p.now();else{for(const u of Ne)h(n[u])&&(n[u]=Hn[u]);const a=yn(n)||gn(n);if(a)return m.invalid(a);const o=Ps(t);[s,i]=Me(n,o,t)}return new m({ts:s,zone:t,loc:r,o:i})}function zt(n,e,t){const r=h(t.round)?!0:t.round,s=h(t.rounding)?"trunc":t.rounding,i=(o,u)=>(o=it(o,r||t.calendary?0:2,t.calendary?"round":s),e.loc.clone(t).relFormatter(t).format(o,u)),a=o=>t.calendary?e.hasSame(n,o)?0:e.startOf(o).diff(n.startOf(o),o).get(o):e.diff(n,o).get(o);if(t.unit)return i(a(t.unit),t.unit);for(const o of t.units){const u=a(o);if(Math.abs(u)>=1)return i(u,o)}return i(n>e?-0:0,t.units[t.units.length-1])}function Ut(n){let e={},t;return n.length>0&&typeof n[n.length-1]=="object"?(e=n[n.length-1],t=Array.from(n).slice(0,n.length-1)):t=Array.from(n),[e,t]}let he;const et=new Map;class m{constructor(e){const t=e.zone||p.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new W("invalid input"):null)||(t.isValid?null:de(t));this.ts=h(e.ts)?p.now():e.ts;let s=null,i=null;if(!r)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[s,i]=[e.old.c,e.old.o];else{const o=q(e.o)&&!e.old?e.o:t.offset(this.ts);s=Oe(this.ts,o),r=Number.isNaN(s.year)?new W("invalid input"):null,s=r?null:s,i=r?null:o}this._zone=t,this.loc=e.loc||k.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=i,this.isLuxonDateTime=!0}static now(){return new m({})}static local(){const[e,t]=Ut(arguments),[r,s,i,a,o,u,l]=t;return At({year:r,month:s,day:i,hour:a,minute:o,second:u,millisecond:l},e)}static utc(){const[e,t]=Ut(arguments),[r,s,i,a,o,u,l]=t;return e.zone=I.utcInstance,At({year:r,month:s,day:i,hour:a,minute:o,second:u,millisecond:l},e)}static fromJSDate(e,t={}){const r=vr(e)?e.valueOf():NaN;if(Number.isNaN(r))return m.invalid("invalid input");const s=R(t.zone,p.defaultZone);return s.isValid?new m({ts:r,zone:s,loc:k.fromObject(t)}):m.invalid(de(s))}static fromMillis(e,t={}){if(q(e))return e<-Wt||e>Wt?m.invalid("Timestamp out of range"):new m({ts:e,zone:R(t.zone,p.defaultZone),loc:k.fromObject(t)});throw new M(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(q(e))return new m({ts:e*1e3,zone:R(t.zone,p.defaultZone),loc:k.fromObject(t)});throw new M("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const r=R(t.zone,p.defaultZone);if(!r.isValid)return m.invalid(de(r));const s=k.fromObject(t),i=be(e,Zt),{minDaysInFirstWeek:a,startOfWeek:o}=vt(i,s),u=p.now(),l=h(t.specificOffset)?r.offset(u):t.specificOffset,f=!h(i.ordinal),y=!h(i.year),T=!h(i.month)||!h(i.day),d=y||T,O=i.weekYear||i.weekNumber;if((d||f)&&O)throw new Q("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(T&&f)throw new Q("Can't mix ordinal dates with month/day");const F=O||i.weekday&&!d;let $,_,ae=Oe(u,l);F?($=Hs,_=Rs,ae=De(ae,a,o)):f?($=Ys,_=qs,ae=Ae(ae)):($=Ne,_=Hn);let lt=!1;for(const ue of $){const Jn=i[ue];h(Jn)?lt?i[ue]=_[ue]:i[ue]=ae[ue]:lt=!0}const Yn=F?Sr(i,a,o):f?pr(i):yn(i),ct=Yn||gn(i);if(ct)return m.invalid(ct);const Pn=F?pt(i,a,o):f?Ot(i):i,[Gn,_n]=Me(Pn,l,r),oe=new m({ts:Gn,zone:r,o:_n,loc:s});return i.weekday&&d&&e.weekday!==oe.weekday?m.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${oe.toISO()}`):oe.isValid?oe:m.invalid(oe.invalid)}static fromISO(e,t={}){const[r,s]=ds(e);return j(r,s,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[r,s]=hs(e);return j(r,s,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[r,s]=ms(e);return j(r,s,t,"HTTP",t)}static fromFormat(e,t,r={}){if(h(e)||h(t))throw new M("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:i=null}=r,a=k.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0}),[o,u,l,f]=Us(a,e,t);return f?m.invalid(f):j(o,u,r,`format ${t}`,e,l)}static fromString(e,t,r={}){return m.fromFormat(e,t,r)}static fromSQL(e,t={}){const[r,s]=ps(e);return j(r,s,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new M("need to specify a reason the DateTime is invalid");const r=e instanceof W?e:new W(e,t);if(p.throwOnInvalid)throw new Bn(r);return new m({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const r=Rn(e,k.fromObject(t));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(e,t={}){return An(N.parseFormat(e),k.fromObject(t)).map(s=>s.val).join("")}static resetCache(){he=void 0,et.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Re(this).weekYear:NaN}get weekNumber(){return this.isValid?Re(this).weekNumber:NaN}get weekday(){return this.isValid?Re(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?qe(this).weekday:NaN}get localWeekNumber(){return this.isValid?qe(this).weekNumber:NaN}get localWeekYear(){return this.isValid?qe(this).weekYear:NaN}get ordinal(){return this.isValid?Ae(this.c).ordinal:NaN}get monthShort(){return this.isValid?fe.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fe.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fe.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fe.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,t=6e4,r=Ve(this.c),s=this.zone.offset(r-e),i=this.zone.offset(r+e),a=this.zone.offset(r-s*t),o=this.zone.offset(r-i*t);if(a===o)return[this];const u=r-a*t,l=r-o*t,f=Oe(u,a),y=Oe(l,o);return f.hour===y.hour&&f.minute===y.minute&&f.second===y.second&&f.millisecond===y.millisecond?[Y(this,{ts:u}),Y(this,{ts:l})]:[this]}get isInLeapYear(){return we(this.year)}get daysInMonth(){return xe(this.year,this.month)}get daysInYear(){return this.isValid?K(this.year):NaN}get weeksInWeekYear(){return this.isValid?ye(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?ye(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:r,calendar:s}=N.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:s}}toUTC(e=0,t={}){return this.setZone(I.instance(e),t)}toLocal(){return this.setZone(p.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if(e=R(e,p.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(t||r){const i=e.offset(this.ts),a=this.toObject();[s]=Me(a,i,e)}return Y(this,{ts:s,zone:e})}else return m.invalid(de(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){const s=this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r});return Y(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=be(e,Zt),{minDaysInFirstWeek:r,startOfWeek:s}=vt(t,this.loc),i=!h(t.weekYear)||!h(t.weekNumber)||!h(t.weekday),a=!h(t.ordinal),o=!h(t.year),u=!h(t.month)||!h(t.day),l=o||u,f=t.weekYear||t.weekNumber;if((l||a)&&f)throw new Q("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&a)throw new Q("Can't mix ordinal dates with month/day");let y;i?y=pt({...De(this.c,r,s),...t},r,s):h(t.ordinal)?(y={...this.toObject(),...t},h(t.day)&&(y.day=Math.min(xe(y.year,y.month),y.day))):y=Ot({...Ae(this.c),...t});const[T,d]=Me(y,this.o,this.zone);return Y(this,{ts:T,o:d})}plus(e){if(!this.isValid)return this;const t=g.fromDurationLike(e);return Y(this,Lt(this,t))}minus(e){if(!this.isValid)return this;const t=g.fromDurationLike(e).negate();return Y(this,Lt(this,t))}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;const r={},s=g.normalizeUnit(e);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(s==="weeks")if(t){const i=this.loc.getStartOfWeek(),{weekday:a}=this;a=3&&(u+="T"),u+=$t(this,o,t,r,s,i,a),u}toISODate({format:e="extended",precision:t="day"}={}){return this.isValid?He(this,e==="extended",Ie(t)):null}toISOWeekDate(){return ve(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:i=!1,format:a="extended",precision:o="milliseconds"}={}){return this.isValid?(o=Ie(o),(s&&Ne.indexOf(o)>=3?"T":"")+$t(this,a==="extended",t,e,r,i,o)):null}toRFC2822(){return ve(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ve(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?He(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(t||e)&&(r&&(s+=" "),t?s+="z":e&&(s+="ZZ")),ve(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Ue}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",r={}){if(!this.isValid||!e.isValid)return g.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=Mr(t).map(g.normalizeUnit),a=e.valueOf()>this.valueOf(),o=a?this:e,u=a?e:this,l=Es(o,u,i,s);return a?l.negate():l}diffNow(e="milliseconds",t={}){return this.diff(m.now(),e,t)}until(e){return this.isValid?S.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return!1;const s=e.valueOf(),i=this.setZone(e.zone,{keepLocalTime:!0});return i.startOf(t,r)<=s&&s<=i.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||m.fromObject({},{zone:this.zone}),r=e.padding?thist.valueOf(),Math.min)}static max(...e){if(!e.every(m.isDateTime))throw new M("max requires all arguments be DateTimes");return Mt(e,t=>t.valueOf(),Math.max)}static fromFormatExplain(e,t,r={}){const{locale:s=null,numberingSystem:i=null}=r,a=k.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return Un(a,e,t)}static fromStringExplain(e,t,r={}){return m.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){const{locale:r=null,numberingSystem:s=null}=t,i=k.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});return new zn(i,e)}static fromFormatParser(e,t,r={}){if(h(e)||h(t))throw new M("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:i=null}=r,a=k.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});if(!a.equals(t.locale))throw new M(`fromFormatParser called with a locale of ${a}, but the format parser was created for ${t.locale}`);const{result:o,zone:u,specificOffset:l,invalidReason:f}=t.explainFromTokens(e);return f?m.invalid(f):j(o,u,r,`format ${t.format}`,e,l)}static get DATE_SHORT(){return Ee}static get DATE_MED(){return qt}static get DATE_MED_WITH_WEEKDAY(){return Kn}static get DATE_FULL(){return Ht}static get DATE_HUGE(){return Yt}static get TIME_SIMPLE(){return Pt}static get TIME_WITH_SECONDS(){return Gt}static get TIME_WITH_SHORT_OFFSET(){return _t}static get TIME_WITH_LONG_OFFSET(){return Jt}static get TIME_24_SIMPLE(){return Bt}static get TIME_24_WITH_SECONDS(){return jt}static get TIME_24_WITH_SHORT_OFFSET(){return Qt}static get TIME_24_WITH_LONG_OFFSET(){return Kt}static get DATETIME_SHORT(){return Xt}static get DATETIME_SHORT_WITH_SECONDS(){return en}static get DATETIME_MED(){return tn}static get DATETIME_MED_WITH_SECONDS(){return nn}static get DATETIME_MED_WITH_WEEKDAY(){return Xn}static get DATETIME_FULL(){return rn}static get DATETIME_FULL_WITH_SECONDS(){return sn}static get DATETIME_HUGE(){return an}static get DATETIME_HUGE_WITH_SECONDS(){return on}}function le(n){if(m.isDateTime(n))return n;if(n&&n.valueOf&&q(n.valueOf()))return m.fromJSDate(n);if(n&&typeof n=="object")return m.fromObject(n);throw new M(`Unknown datetime argument: ${n}, of type ${typeof n}`)}const Gs="3.7.2",_s=Object.freeze(Object.defineProperty({__proto__:null,DateTime:m,Duration:g,FixedOffsetZone:I,IANAZone:Z,Info:fe,Interval:S,InvalidZone:cn,Settings:p,SystemZone:ge,VERSION:Gs,Zone:te},Symbol.toStringTag,{value:"Module"})),Js=n=>(n||"").split("_")[0];export{m as D,g as a,Js as g,_s as l}; diff --git a/web-dist/js/chunks/locale-tv0ZmyWq.mjs.gz b/web-dist/js/chunks/locale-tv0ZmyWq.mjs.gz new file mode 100644 index 0000000000..a5f3b1e5dc Binary files /dev/null and b/web-dist/js/chunks/locale-tv0ZmyWq.mjs.gz differ diff --git a/web-dist/js/chunks/lua-BgMRiT3U.mjs b/web-dist/js/chunks/lua-BgMRiT3U.mjs new file mode 100644 index 0000000000..749770b7f5 --- /dev/null +++ b/web-dist/js/chunks/lua-BgMRiT3U.mjs @@ -0,0 +1 @@ +function c(e){return new RegExp("^(?:"+e.join("|")+")","i")}function o(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var d=o(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),g=o(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),f=o(["function","if","repeat","do","\\(","{"]),h=o(["end","until","\\)","}"]),p=c(["end","until","\\)","}","else","elseif"]);function u(e){for(var t=0;e.eat("=");)++t;return e.eat("["),t}function l(e,t){var n=e.next();return n=="-"&&e.eat("-")?e.eat("[")&&e.eat("[")?(t.cur=s(u(e),"comment"))(e,t):(e.skipToEnd(),"comment"):n=='"'||n=="'"?(t.cur=m(n))(e,t):n=="["&&/[\[=]/.test(e.peek())?(t.cur=s(u(e),"string"))(e,t):/\d/.test(n)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(n)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function s(e,t){return function(n,i){for(var a=null,r;(r=n.next())!=null;)if(a==null)r=="]"&&(a=0);else if(r=="=")++a;else if(r=="]"&&a==e){i.cur=l;break}else a=null;return t}}function m(e){return function(t,n){for(var i=!1,a;(a=t.next())!=null&&!(a==e&&!i);)i=!i&&a=="\\";return i||(n.cur=l),"string"}}const b={name:"lua",startState:function(){return{basecol:0,indentDepth:0,cur:l}},token:function(e,t){if(e.eatSpace())return null;var n=t.cur(e,t),i=e.current();return n=="variable"&&(g.test(i)?n="keyword":d.test(i)&&(n="builtin")),n!="comment"&&n!="string"&&(f.test(i)?++t.indentDepth:h.test(i)&&--t.indentDepth),n},indent:function(e,t,n){var i=p.test(t);return e.basecol+n.unit*(e.indentDepth-(i?1:0))},languageData:{indentOnInput:/^\s*(?:end|until|else|\)|\})$/,commentTokens:{line:"--",block:{open:"--[[",close:"]]--"}}}};export{b as lua}; diff --git a/web-dist/js/chunks/lua-BgMRiT3U.mjs.gz b/web-dist/js/chunks/lua-BgMRiT3U.mjs.gz new file mode 100644 index 0000000000..abb8cb7542 Binary files /dev/null and b/web-dist/js/chunks/lua-BgMRiT3U.mjs.gz differ diff --git a/web-dist/js/chunks/mathematica-DTrFuWx2.mjs b/web-dist/js/chunks/mathematica-DTrFuWx2.mjs new file mode 100644 index 0000000000..60ad366bb2 --- /dev/null +++ b/web-dist/js/chunks/mathematica-DTrFuWx2.mjs @@ -0,0 +1 @@ +var u="[a-zA-Z\\$][a-zA-Z0-9\\$]*",f="(?:\\d+)",c="(?:\\.\\d+|\\d+\\.\\d*|\\d+)",o="(?:\\.\\w+|\\w+\\.\\w*|\\w+)",l="(?:`(?:`?"+c+")?)",z=new RegExp("(?:"+f+"(?:\\^\\^"+o+l+"?(?:\\*\\^[+-]?\\d+)?))"),m=new RegExp("(?:"+c+l+"?(?:\\*\\^[+-]?\\d+)?)"),A=new RegExp("(?:`?)(?:"+u+")(?:`(?:"+u+"))*(?:`?)");function i(e,a){var n;return n=e.next(),n==='"'?(a.tokenize=Z,a.tokenize(e,a)):n==="("&&e.eat("*")?(a.commentLevel++,a.tokenize=$,a.tokenize(e,a)):(e.backUp(1),e.match(z,!0,!1)||e.match(m,!0,!1)?"number":e.match(/(?:In|Out)\[[0-9]*\]/,!0,!1)?"atom":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::usage)/,!0,!1)?"meta":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/,!0,!1)?"string.special":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variableName.special":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"character":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variableName.constant":e.match(A,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function Z(e,a){for(var n,r=!1,t=!1;(n=e.next())!=null;){if(n==='"'&&!t){r=!0;break}t=!t&&n==="\\"}return r&&!t&&(a.tokenize=i),"string"}function $(e,a){for(var n,r;a.commentLevel>0&&(r=e.next())!=null;)n==="("&&r==="*"&&a.commentLevel++,n==="*"&&r===")"&&a.commentLevel--,n=r;return a.commentLevel<=0&&(a.tokenize=i),"comment"}const v={name:"mathematica",startState:function(){return{tokenize:i,commentLevel:0}},token:function(e,a){return e.eatSpace()?null:a.tokenize(e,a)},languageData:{commentTokens:{block:{open:"(*",close:"*)"}}}};export{v as mathematica}; diff --git a/web-dist/js/chunks/mathematica-DTrFuWx2.mjs.gz b/web-dist/js/chunks/mathematica-DTrFuWx2.mjs.gz new file mode 100644 index 0000000000..dc518cbb6d Binary files /dev/null and b/web-dist/js/chunks/mathematica-DTrFuWx2.mjs.gz differ diff --git a/web-dist/js/chunks/mbox-CNhZ1qSd.mjs b/web-dist/js/chunks/mbox-CNhZ1qSd.mjs new file mode 100644 index 0000000000..aac92bf533 --- /dev/null +++ b/web-dist/js/chunks/mbox-CNhZ1qSd.mjs @@ -0,0 +1 @@ +var o=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],l=["Date","Subject","Comments","Keywords","Resent-Date"],u=/^[ \t]/,d=/^From /,f=new RegExp("^("+o.join("|")+"): "),c=new RegExp("^("+l.join("|")+"): "),t=/^[^:]+:/,m=/^[^ ]+@[^ ]+/,p=/^.*?(?=[^ ]+?@[^ ]+)/,H=/^<.*?>/,v=/^.*?(?=<.*>)/;function h(e){return e==="Subject"?"header":"string"}function R(e,r){if(e.sol()){if(r.inSeparator=!1,r.inHeader&&e.match(u))return null;if(r.inHeader=!1,r.header=null,e.match(d))return r.inHeaders=!0,r.inSeparator=!0,"atom";var n,i=!1;return(n=e.match(c))||(i=!0)&&(n=e.match(f))?(r.inHeaders=!0,r.inHeader=!0,r.emailPermitted=i,r.header=n[1],"atom"):r.inHeaders&&(n=e.match(t))?(r.inHeader=!0,r.emailPermitted=!0,r.header=n[1],"atom"):(r.inHeaders=!1,e.skipToEnd(),null)}if(r.inSeparator)return e.match(m)?"link":(e.match(p)||e.skipToEnd(),"atom");if(r.inHeader){var a=h(r.header);if(r.emailPermitted){if(e.match(H))return a+" link";if(e.match(v))return a}return e.skipToEnd(),a}return e.skipToEnd(),null}const k={name:"mbox",startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:R,blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1},languageData:{autocomplete:o.concat(l)}};export{k as mbox}; diff --git a/web-dist/js/chunks/mbox-CNhZ1qSd.mjs.gz b/web-dist/js/chunks/mbox-CNhZ1qSd.mjs.gz new file mode 100644 index 0000000000..b6094edac0 Binary files /dev/null and b/web-dist/js/chunks/mbox-CNhZ1qSd.mjs.gz differ diff --git a/web-dist/js/chunks/messages-bd5_8QAH.mjs b/web-dist/js/chunks/messages-bd5_8QAH.mjs new file mode 100644 index 0000000000..ea730a9c57 --- /dev/null +++ b/web-dist/js/chunks/messages-bd5_8QAH.mjs @@ -0,0 +1,2 @@ +import{cj as u,aU as g,bk as m}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{v as t}from"./v4-EwEgHOG0.mjs";const f=u("messages",()=>{const r=g([]),n=e=>{const s={...e,id:t()};return r.value.push(s),s},a=e=>{const s=o=>o.response?.headers?.get("x-request-id");return e.map(o=>s(o)).filter(Boolean).map(o=>`X-Request-Id: ${o}`).join(`\r +`)};return{messages:r,showMessage:n,showErrorMessage:e=>{const s={id:t(),status:"danger",timeout:0,...e.errors&&{errorLogContent:a(e.errors)},...e};return r.value.push(s),s},removeMessage:e=>{r.value=m(r).filter(({id:s})=>e.id!==s)}}});export{f as u}; diff --git a/web-dist/js/chunks/messages-bd5_8QAH.mjs.gz b/web-dist/js/chunks/messages-bd5_8QAH.mjs.gz new file mode 100644 index 0000000000..b1c872659f Binary files /dev/null and b/web-dist/js/chunks/messages-bd5_8QAH.mjs.gz differ diff --git a/web-dist/js/chunks/mirc-CjQqDB4T.mjs b/web-dist/js/chunks/mirc-CjQqDB4T.mjs new file mode 100644 index 0000000000..105b6eae71 --- /dev/null +++ b/web-dist/js/chunks/mirc-CjQqDB4T.mjs @@ -0,0 +1 @@ +function n(e){for(var $={},r=e.split(" "),i=0;i!?^\/\|]/;function d(e,$,r){return $.tokenize=r,r(e,$)}function o(e,$){var r=$.beforeParams;$.beforeParams=!1;var i=e.next();if(/[\[\]{}\(\),\.]/.test(i))return i=="("&&r?$.inParams=!0:i==")"&&($.inParams=!1),null;if(/\d/.test(i))return e.eatWhile(/[\w\.]/),"number";if(i=="\\")return e.eat("\\"),e.eat(/./),"number";if(i=="/"&&e.eat("*"))return d(e,$,m);if(i==";"&&e.match(/ *\( *\(/))return d(e,$,p);if(i==";"&&!$.inParams)return e.skipToEnd(),"comment";if(i=='"')return e.eat(/"/),"keyword";if(i=="$")return e.eatWhile(/[$_a-z0-9A-Z\.:]/),a&&a.propertyIsEnumerable(e.current().toLowerCase())?"keyword":($.beforeParams=!0,"builtin");if(i=="%")return e.eatWhile(/[^,\s()]/),$.beforeParams=!0,"string";if(c.test(i))return e.eatWhile(c),"operator";e.eatWhile(/[\w\$_{}]/);var t=e.current().toLowerCase();return s&&s.propertyIsEnumerable(t)?"keyword":l&&l.propertyIsEnumerable(t)?($.beforeParams=!0,"keyword"):null}function m(e,$){for(var r=!1,i;i=e.next();){if(i=="/"&&r){$.tokenize=o;break}r=i=="*"}return"comment"}function p(e,$){for(var r=0,i;i=e.next();){if(i==";"&&r==2){$.tokenize=o;break}i==")"?r++:i!=" "&&(r=0)}return"meta"}const u={name:"mirc",startState:function(){return{tokenize:o,beforeParams:!1,inParams:!1}},token:function(e,$){return e.eatSpace()?null:$.tokenize(e,$)}};export{u as mirc}; diff --git a/web-dist/js/chunks/mirc-CjQqDB4T.mjs.gz b/web-dist/js/chunks/mirc-CjQqDB4T.mjs.gz new file mode 100644 index 0000000000..67285583e2 Binary files /dev/null and b/web-dist/js/chunks/mirc-CjQqDB4T.mjs.gz differ diff --git a/web-dist/js/chunks/mllike-CXdrOF99.mjs b/web-dist/js/chunks/mllike-CXdrOF99.mjs new file mode 100644 index 0000000000..c99d9ff5e0 --- /dev/null +++ b/web-dist/js/chunks/mllike-CXdrOF99.mjs @@ -0,0 +1 @@ +function y(i){var t={as:"keyword",do:"keyword",else:"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword",if:"keyword",in:"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword",while:"keyword",with:"keyword"},l=i.extraWords||{};for(var w in l)l.hasOwnProperty(w)&&(t[w]=i.extraWords[w]);var u=[];for(var a in t)u.push(a);function d(e,r){var o=e.next();if(o==='"')return r.tokenize=c,r.tokenize(e,r);if(o==="{"&&e.eat("|"))return r.longString=!0,r.tokenize=b,r.tokenize(e,r);if(o==="("&&e.match(/^\*(?!\))/))return r.commentLevel++,r.tokenize=f,r.tokenize(e,r);if(o==="~"||o==="?")return e.eatWhile(/\w/),"variableName.special";if(o==="`")return e.eatWhile(/\w/),"quote";if(o==="/"&&i.slashComments&&e.eat("/"))return e.skipToEnd(),"comment";if(/\d/.test(o))return o==="0"&&e.eat(/[bB]/)&&e.eatWhile(/[01]/),o==="0"&&e.eat(/[xX]/)&&e.eatWhile(/[0-9a-fA-F]/),o==="0"&&e.eat(/[oO]/)?e.eatWhile(/[0-7]/):(e.eatWhile(/[\d_]/),e.eat(".")&&e.eatWhile(/[\d]/),e.eat(/[eE]/)&&e.eatWhile(/[\d\-+]/)),"number";if(/[+\-*&%=<>!?|@\.~:]/.test(o))return"operator";if(/[\w\xa1-\uffff]/.test(o)){e.eatWhile(/[\w\xa1-\uffff]/);var n=e.current();return t.hasOwnProperty(n)?t[n]:"variable"}return null}function c(e,r){for(var o,n=!1,k=!1;(o=e.next())!=null;){if(o==='"'&&!k){n=!0;break}k=!k&&o==="\\"}return n&&!k&&(r.tokenize=d),"string"}function f(e,r){for(var o,n;r.commentLevel>0&&(n=e.next())!=null;)o==="("&&n==="*"&&r.commentLevel++,o==="*"&&n===")"&&r.commentLevel--,o=n;return r.commentLevel<=0&&(r.tokenize=d),"comment"}function b(e,r){for(var o,n;r.longString&&(n=e.next())!=null;)o==="|"&&n==="}"&&(r.longString=!1),o=n;return r.longString||(r.tokenize=d),"string"}return{startState:function(){return{tokenize:d,commentLevel:0,longString:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},languageData:{autocomplete:u,commentTokens:{line:i.slashComments?"//":void 0,block:{open:"(*",close:"*)"}}}}}const s=y({extraWords:{and:"keyword",assert:"keyword",begin:"keyword",class:"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword",function:"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword",new:"keyword",nonrec:"keyword",object:"keyword",private:"keyword",sig:"keyword",to:"keyword",try:"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin",true:"builtin",false:"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",int:"type",float:"type",bool:"type",char:"type",string:"type",unit:"type",List:"builtin"}}),h=y({extraWords:{abstract:"keyword",assert:"keyword",base:"keyword",begin:"keyword",class:"keyword",default:"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword",finally:"keyword",for:"keyword",function:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword","return!":"keyword",return:"keyword",select:"keyword",static:"keyword",to:"keyword",try:"keyword",upcast:"keyword","use!":"keyword",use:"keyword",void:"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword",break:"keyword",checked:"keyword",component:"keyword",const:"keyword",constraint:"keyword",constructor:"keyword",continue:"keyword",eager:"keyword",event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword",protected:"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword",volatile:"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin",int:"builtin",string:"builtin",not:"builtin",true:"builtin",false:"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0}),p=y({extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword",case:"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword",true:"keyword",false:"keyword",int:"builtin",real:"builtin",string:"builtin",char:"builtin",bool:"builtin"},slashComments:!0});export{h as fSharp,s as oCaml,p as sml}; diff --git a/web-dist/js/chunks/mllike-CXdrOF99.mjs.gz b/web-dist/js/chunks/mllike-CXdrOF99.mjs.gz new file mode 100644 index 0000000000..e43a8888dd Binary files /dev/null and b/web-dist/js/chunks/mllike-CXdrOF99.mjs.gz differ diff --git a/web-dist/js/chunks/modals-DsP9TGnr.mjs b/web-dist/js/chunks/modals-DsP9TGnr.mjs new file mode 100644 index 0000000000..0e095c54b2 --- /dev/null +++ b/web-dist/js/chunks/modals-DsP9TGnr.mjs @@ -0,0 +1 @@ +import{g as W}from"./locale-tv0ZmyWq.mjs";import{cj as q,aU as H,q as X,bk as M}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{v as Q}from"./v4-EwEgHOG0.mjs";const tt="Invalid number",et="Invalid rounding method",D="iec",E="jedec",it="si",C="bit",j="bits",w="byte",K="bytes",nt="kbit",ot="kB",Z="array",st="function",k="object",at="string",F="exponent",lt="round",ct="e",g="",x=".",rt="s",G=" ",ut="0",v={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}},ft=[1,1024,1048576,1073741824,1099511627776,0x4000000000000,1152921504606847e3,11805916207174113e5,12089258196146292e8],dt=[1,1e3,1e6,1e9,1e12,1e15,1e18,1e21,1e24],bt=Math.log(1024),mt=Math.log(1e3),L={[it]:{isDecimal:!0,ceil:1e3,actualStandard:E},[D]:{isDecimal:!1,ceil:1024,actualStandard:D},[E]:{isDecimal:!1,ceil:1024,actualStandard:E}};function gt(e,i){return L[e]?L[e]:i===2?{isDecimal:!1,ceil:1024,actualStandard:D}:{isDecimal:!0,ceil:1e3,actualStandard:E}}function Bt(e,i,s,u,r,f,o,b){const t=[];t[0]=e>0?0 .toPrecision(e):0;const n=t[1]=v.symbol[i][s?j:K][0];return o===F?0:(u[t[1]]&&(t[1]=u[t[1]]),r&&(t[1]=f[0]||v.fullform[i][0]+(s?C:w)),o===Z?t:o===k?{value:t[0],symbol:t[1],exponent:0,unit:n}:t.join(b))}function U(e,i,s,u,r){const f=s?dt[i]:ft[i];let o=e/f;return u&&(o*=8,o>=r&&i<8&&(o/=r,i++)),{result:o,e:i}}function Mt(e,i,s,u,r,f,o,b,t){let n=e.toPrecision(i);if(n.includes(ct)&&s<8){s++;const{result:d}=U(u,s,r,f,o),c=t>0?Math.pow(10,t):1;n=(c===1?b(d):b(d*c)/c).toPrecision(i)}return{value:n,e:s}}function St(e,i,s,u,r,f){let o=e;if(i===!0?o=o.toLocaleString():i.length>0?o=o.toLocaleString(i,s):u.length>0&&(o=o.toString().replace(x,u)),r&&f>0){const b=o.toString(),t=u||(b.match(/(\D)/g)||[]).pop()||x,n=b.split(t),d=n[1]||g,c=d.length,I=f-c;o=`${n[0]}${t}${d.padEnd(c+I,ut)}`}return o}function pt(e,{bits:i=!1,pad:s=!1,base:u=-1,round:r=2,locale:f=g,localeOptions:o={},separator:b=g,spacer:t=G,symbols:n={},standard:d=g,output:c=at,fullform:I=!1,fullforms:R=[],exponent:P=-1,roundingMethod:$=lt,precision:B=0}={}){let a=P,m=Number(e),l=[],N=0,A=g;const{isDecimal:S,ceil:h,actualStandard:T}=gt(d,u),O=I===!0,_=m<0,p=Math[$];if(typeof e!="bigint"&&isNaN(e))throw new TypeError(tt);if(typeof p!==st)throw new TypeError(et);if(_&&(m=-m),m===0)return Bt(B,T,i,n,O,R,c,t);if((a===-1||isNaN(a))&&(a=Math.floor(S?Math.log(m)/mt:Math.log(m)/bt),a<0&&(a=0)),a>8&&(B>0&&(B+=8-a),a=8),c===F)return a;const{result:z,e:V}=U(m,a,S,i,h);N=z,a=V;const y=a>0&&r>0?Math.pow(10,r):1;if(l[0]=y===1?p(N):p(N*y)/y,l[0]===h&&a<8&&P===-1&&(l[0]=1,a++),B>0){const Y=Mt(l[0],B,a,m,S,i,h,p,r);l[0]=Y.value,a=Y.e}const J=v.symbol[T][i?j:K];return A=l[1]=S&&a===1?i?nt:ot:J[a],_&&(l[0]=-l[0]),n[l[1]]&&(l[1]=n[l[1]]),l[0]=St(l[0],f,o,b,s,r),O&&(l[1]=R[a]||v.fullform[T][a]+(i?C:w)+(l[0]===1?g:rt)),c===Z?l:c===k?{value:l[0],symbol:l[1],exponent:a,unit:A}:t===G?`${l[0]} ${l[1]}`:l.join(t)}const Et=1048576,ht=(e,i)=>{const s=typeof e=="string"?parseInt(e):e;return s<0?"--":isNaN(s)?"?":pt(s,{round:s{const e=H([]),i=X(()=>M(e).at(-1)),s=t=>M(e).find(n=>n.id===t);return{modals:e,activeModal:i,dispatchModal:t=>{const n={...t,id:Q()};return e.value.push(n),n},updateModal:(t,n,d)=>{const c=s(t);c[n]=d},removeModal:t=>{e.value=M(e).filter(n=>n.id!==t)},removeAllModals:()=>{e.value=[]},setModalActive:t=>{const n=M(e).findIndex(c=>c.id===t);if(n<0)return;const d=s(t);M(e).splice(n,1),e.value.push(d)}}});export{ht as f,Tt as u}; diff --git a/web-dist/js/chunks/modals-DsP9TGnr.mjs.gz b/web-dist/js/chunks/modals-DsP9TGnr.mjs.gz new file mode 100644 index 0000000000..839dce6b72 Binary files /dev/null and b/web-dist/js/chunks/modals-DsP9TGnr.mjs.gz differ diff --git a/web-dist/js/chunks/modelica-Dc1JOy9r.mjs b/web-dist/js/chunks/modelica-Dc1JOy9r.mjs new file mode 100644 index 0000000000..197f2d8f84 --- /dev/null +++ b/web-dist/js/chunks/modelica-Dc1JOy9r.mjs @@ -0,0 +1 @@ +function r(n){for(var e={},i=n.split(" "),l=0;l+\-\/^\[\]]/,s=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,o=/[0-9]/,c=/[_a-zA-Z]/;function p(n,e){return n.skipToEnd(),e.tokenize=null,"comment"}function d(n,e){for(var i=!1,l;l=n.next();){if(i&&l=="/"){e.tokenize=null;break}i=l=="*"}return"comment"}function h(n,e){for(var i=!1,l;(l=n.next())!=null;){if(l=='"'&&!i){e.tokenize=null,e.sol=!1;break}i=!i&&l=="\\"}return"string"}function b(n,e){for(n.eatWhile(o);n.eat(o)||n.eat(c););var i=n.current();return e.sol&&(i=="package"||i=="model"||i=="when"||i=="connector")?e.level++:e.sol&&i=="end"&&e.level>0&&e.level--,e.tokenize=null,e.sol=!1,t.propertyIsEnumerable(i)?"keyword":a.propertyIsEnumerable(i)?"builtin":u.propertyIsEnumerable(i)?"atom":"variable"}function v(n,e){for(;n.eat(/[^']/););return e.tokenize=null,e.sol=!1,n.eat("'")?"variable":"error"}function g(n,e){return n.eatWhile(o),n.eat(".")&&n.eatWhile(o),(n.eat("e")||n.eat("E"))&&(n.eat("-")||n.eat("+"),n.eatWhile(o)),e.tokenize=null,e.sol=!1,"number"}const z={name:"modelica",startState:function(){return{tokenize:null,level:0,sol:!0}},token:function(n,e){if(e.tokenize!=null)return e.tokenize(n,e);if(n.sol()&&(e.sol=!0),n.eatSpace())return e.tokenize=null,null;var i=n.next();if(i=="/"&&n.eat("/"))e.tokenize=p;else if(i=="/"&&n.eat("*"))e.tokenize=d;else{if(s.test(i+n.peek()))return n.next(),e.tokenize=null,"operator";if(k.test(i))return e.tokenize=null,"operator";if(c.test(i))e.tokenize=b;else if(i=="'"&&n.peek()&&n.peek()!="'")e.tokenize=v;else if(i=='"')e.tokenize=h;else if(o.test(i))e.tokenize=g;else return e.tokenize=null,"error"}return e.tokenize(n,e)},indent:function(n,e,i){if(n.tokenize!=null)return null;var l=n.level;return/(algorithm)/.test(e)&&l--,/(equation)/.test(e)&&l--,/(initial algorithm)/.test(e)&&l--,/(initial equation)/.test(e)&&l--,/(end)/.test(e)&&l--,l>0?i.unit*l:0},languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:f}};export{z as modelica}; diff --git a/web-dist/js/chunks/modelica-Dc1JOy9r.mjs.gz b/web-dist/js/chunks/modelica-Dc1JOy9r.mjs.gz new file mode 100644 index 0000000000..eb5b27455e Binary files /dev/null and b/web-dist/js/chunks/modelica-Dc1JOy9r.mjs.gz differ diff --git a/web-dist/js/chunks/module-Conw_xFM.mjs b/web-dist/js/chunks/module-Conw_xFM.mjs new file mode 100644 index 0000000000..0e31a156aa --- /dev/null +++ b/web-dist/js/chunks/module-Conw_xFM.mjs @@ -0,0 +1,716 @@ +function ze(t){return t&&t.__esModule?t.default:t}function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var K,v,Me,P,Ee,se,V={},Le=[],et=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function M(t,e){for(var n in e)t[n]=e[n];return t}function De(t){var e=t.parentNode;e&&e.removeChild(t)}function Q(t,e,n){var r,o,i,s={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:s[i]=e[i];if(arguments.length>2&&(s.children=arguments.length>3?K.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)s[i]===void 0&&(s[i]=t.defaultProps[i]);return I(t,s,r,o,null)}function I(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o??++Me};return o==null&&v.vnode!=null&&v.vnode(i),i}function j(){return{current:null}}function D(t){return t.children}function S(t,e){this.props=t,this.context=e}function R(t,e){if(e==null)return t.__?R(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e0?I(f.type,f.props,f.key,null,f.__v):f)!=null){if(f.__=n,f.__b=n.__b+1,(h=$[a])===null||h&&f.key==h.key&&f.type===h.type)$[a]=void 0;else for(p=0;p{let t=null;try{navigator.userAgent.includes("jsdom")||(t=document.createElement("canvas").getContext("2d",{willReadFrequently:!0}))}catch{}if(!t)return()=>!1;const e=25,n=20,r=Math.floor(e/2);return t.font=r+"px Arial, Sans-Serif",t.textBaseline="top",t.canvas.width=n*2,t.canvas.height=e,o=>{t.clearRect(0,0,n*2,e),t.fillStyle="#FF0000",t.fillText(o,0,22),t.fillStyle="#0000FF",t.fillText(o,n,22);const i=t.getImageData(0,0,n,e).data,s=i.length;let l=0;for(;l=s)return!1;const c=n+l/4%n,u=Math.floor(l/4/n),a=t.getImageData(c,u,1,1).data;return!(i[l]!==a[0]||i[l+2]!==a[2]||t.measureText(o).width>=n)}})();var ue={latestVersion:ct,noCountryFlags:lt};const ee=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart"];let k=null;function ut(t){k||(k=E.get("frequently")||{});const e=t.id||t;e&&(k[e]||(k[e]=0),k[e]+=1,E.set("last",e),E.set("frequently",k))}function ht({maxFrequentRows:t,perLine:e}){if(!t)return[];k||(k=E.get("frequently"));let n=[];if(!k){k={};for(let i in ee.slice(0,e)){const s=ee[i];k[s]=e-i,n.push(s)}return n}const r=t*e,o=E.get("last");for(let i in k)n.push(i);if(n.sort((i,s)=>{const l=k[s],c=k[i];return l==c?i.localeCompare(s):l-c}),n.length>r){const i=n.slice(r);n=n.slice(0,r);for(let s of i)s!=o&&delete k[s];o&&n.indexOf(o)==-1&&(delete k[n[n.length-1]],n.splice(-1,1,o)),E.set("frequently",k)}return n}var Fe={add:ut,get:ht,DEFAULTS:ee},Ue={};Ue=JSON.parse('{"search":"Search","search_no_results_1":"Oh no!","search_no_results_2":"That emoji couldn’t be found","pick":"Pick an emoji…","add_custom":"Add custom emoji","categories":{"activity":"Activity","custom":"Custom","flags":"Flags","foods":"Food & Drink","frequent":"Frequently used","nature":"Animals & Nature","objects":"Objects","people":"Smileys & People","places":"Travel & Places","search":"Search Results","symbols":"Symbols"},"skins":{"1":"Default","2":"Light","3":"Medium-Light","4":"Medium","5":"Medium-Dark","6":"Dark","choose":"Choose default skin tone"}}');var z={autoFocus:{value:!1},dynamicWidth:{value:!1},emojiButtonColors:{value:null},emojiButtonRadius:{value:"100%"},emojiButtonSize:{value:36},emojiSize:{value:24},emojiVersion:{value:15,choices:[1,2,3,4,5,11,12,12.1,13,13.1,14,15]},exceptEmojis:{value:[]},icons:{value:"auto",choices:["auto","outline","solid"]},locale:{value:"en",choices:["en","ar","be","cs","de","es","fa","fi","fr","hi","it","ja","ko","nl","pl","pt","ru","sa","tr","uk","vi","zh"]},maxFrequentRows:{value:4},navPosition:{value:"top",choices:["top","bottom","none"]},noCountryFlags:{value:!1},noResultsEmoji:{value:null},perLine:{value:9},previewEmoji:{value:null},previewPosition:{value:"bottom",choices:["top","bottom","none"]},searchPosition:{value:"sticky",choices:["sticky","static","none"]},set:{value:"native",choices:["native","apple","facebook","google","twitter"]},skin:{value:1,choices:[1,2,3,4,5,6]},skinTonePosition:{value:"preview",choices:["preview","search","none"]},theme:{value:"auto",choices:["auto","light","dark"]},categories:null,categoryIcons:null,custom:null,data:null,i18n:null,getImageURL:null,getSpritesheetURL:null,onAddCustomEmoji:null,onClickOutside:null,onEmojiSelect:null,stickySearch:{deprecated:!0,value:!0}};let w=null,g=null;const J={};async function he(t){if(J[t])return J[t];const n=await(await fetch(t)).json();return J[t]=n,n}let Y=null,Ne=null,We=!1;function G(t,{caller:e}={}){return Y||(Y=new Promise(n=>{Ne=n})),t?ft(t):e&&!We&&console.warn(`\`${e}\` requires data to be initialized first. Promise will be pending until \`init\` is called.`),Y}async function ft(t){We=!0;let{emojiVersion:e,set:n,locale:r}=t;if(e||(e=z.emojiVersion.value),n||(n=z.set.value),r||(r=z.locale.value),g)g.categories=g.categories.filter(c=>!c.name);else{g=(typeof t.data=="function"?await t.data():t.data)||await he(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${e}/${n}.json`),g.emoticons={},g.natives={},g.categories.unshift({id:"frequent",emojis:[]});for(const c in g.aliases){const u=g.aliases[c],a=g.emojis[u];a&&(a.aliases||(a.aliases=[]),a.aliases.push(c))}g.originalCategories=g.categories}if(w=(typeof t.i18n=="function"?await t.i18n():t.i18n)||(r=="en"?ze(Ue):await he(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/i18n/${r}.json`)),t.custom)for(let c in t.custom){c=parseInt(c);const u=t.custom[c],a=t.custom[c-1];if(!(!u.emojis||!u.emojis.length)){u.id||(u.id=`custom_${c+1}`),u.name||(u.name=w.categories.custom),a&&!u.icon&&(u.target=a.target||a),g.categories.push(u);for(const p of u.emojis)g.emojis[p.id]=p}}t.categories&&(g.categories=g.originalCategories.filter(c=>t.categories.indexOf(c.id)!=-1).sort((c,u)=>{const a=t.categories.indexOf(c.id),p=t.categories.indexOf(u.id);return a-p}));let o=null,i=null;n=="native"&&(o=ue.latestVersion(),i=t.noCountryFlags||ue.noCountryFlags());let s=g.categories.length,l=!1;for(;s--;){const c=g.categories[s];if(c.id=="frequent"){let{maxFrequentRows:p,perLine:h}=t;p=p>=0?p:z.maxFrequentRows.value,h||(h=z.perLine.value),c.emojis=Fe.get({maxFrequentRows:p,perLine:h})}if(!c.emojis||!c.emojis.length){g.categories.splice(s,1);continue}const{categoryIcons:u}=t;if(u){const p=u[c.id];p&&!c.icon&&(c.icon=p)}let a=c.emojis.length;for(;a--;){const p=c.emojis[a],h=p.id?p:g.emojis[p],f=()=>{c.emojis.splice(a,1)};if(!h||t.exceptEmojis&&t.exceptEmojis.includes(h.id)){f();continue}if(o&&h.version>o){f();continue}if(i&&c.id=="flags"&&!bt.includes(h.id)){f();continue}if(!h.search){if(l=!0,h.search=","+[[h.id,!1],[h.name,!0],[h.keywords,!1],[h.emoticons,!1]].map(([m,b])=>{if(m)return(Array.isArray(m)?m:[m]).map($=>(b?$.split(/[-|_|\s]+/):[$]).map(y=>y.toLowerCase())).flat()}).flat().filter(m=>m&&m.trim()).join(","),h.emoticons)for(const m of h.emoticons)g.emoticons[m]||(g.emoticons[m]=h.id);let _=0;for(const m of h.skins){if(!m)continue;_++;const{native:b}=m;b&&(g.natives[b]=h.id,h.search+=`,${b}`);const $=_==1?"":`:skin-tone-${_}:`;m.shortcodes=`:${h.id}:${$}`}}}}l&&L.reset(),Ne()}function qe(t,e,n){t||(t={});const r={};for(let o in e)r[o]=Ke(o,t,e,n);return r}function Ke(t,e,n,r){const o=n[t];let i=r&&r.getAttribute(t)||(e[t]!=null&&e[t]!=null?e[t]:null);return o&&(i!=null&&o.value&&typeof o.value!=typeof i&&(typeof o.value=="boolean"?i=i!="false":i=o.value.constructor(i)),o.transform&&i&&(i=o.transform(i)),(i==null||o.choices&&o.choices.indexOf(i)==-1)&&(i=o.value)),i}const pt=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/;let te=null;function vt(t){return t.id?t:g.emojis[t]||g.emojis[g.aliases[t]]||g.emojis[g.natives[t]]}function _t(){te=null}async function gt(t,{maxResults:e,caller:n}={}){if(!t||!t.trim().length)return null;e||(e=90),await G(null,{caller:n||"SearchIndex.search"});const r=t.toLowerCase().replace(/(\w)-/,"$1 ").split(/[\s|,]+/).filter((l,c,u)=>l.trim()&&u.indexOf(l)==c);if(!r.length)return;let o=te||(te=Object.values(g.emojis)),i,s;for(const l of r){if(!o.length)break;i=[],s={};for(const c of o){if(!c.search)continue;const u=c.search.indexOf(`,${l}`);u!=-1&&(i.push(c),s[c.id]||(s[c.id]=0),s[c.id]+=c.id==l?0:u+1)}o=i}return i.length<2||(i.sort((l,c)=>{const u=s[l.id],a=s[c.id];return u==a?l.id.localeCompare(c.id):u-a}),i.length>e&&(i=i.slice(0,e))),i}var L={search:gt,get:vt,reset:_t,SHORTCODES_REGEX:pt};const bt=["checkered_flag","crossed_flags","pirate_flag","rainbow-flag","transgender_flag","triangular_flag_on_post","waving_black_flag","waving_white_flag"];function mt(t,e){return Array.isArray(t)&&Array.isArray(e)&&t.length===e.length&&t.every((n,r)=>n==e[r])}async function $t(t=1){for(let e in[...Array(t).keys()])await new Promise(requestAnimationFrame)}function kt(t,{skinIndex:e=0}={}){const n=t.skins[e]||(e=0,t.skins[e]),r={id:t.id,name:t.name,native:n.native,unified:n.unified,keywords:t.keywords,shortcodes:n.shortcodes||t.shortcodes};return t.skins.length>1&&(r.skin=e+1),n.src&&(r.src=n.src),t.aliases&&t.aliases.length&&(r.aliases=t.aliases),t.emoticons&&t.emoticons.length&&(r.emoticons=t.emoticons),r}const wt={activity:{outline:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:d("path",{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113"})}),solid:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{d:"M16.17 337.5c0 44.98 7.565 83.54 13.98 107.9C35.22 464.3 50.46 496 174.9 496c9.566 0 19.59-.4707 29.84-1.271L17.33 307.3C16.53 317.6 16.17 327.7 16.17 337.5zM495.8 174.5c0-44.98-7.565-83.53-13.98-107.9c-4.688-17.54-18.34-31.23-36.04-35.95C435.5 27.91 392.9 16 337 16c-9.564 0-19.59 .4707-29.84 1.271l187.5 187.5C495.5 194.4 495.8 184.3 495.8 174.5zM26.77 248.8l236.3 236.3c142-36.1 203.9-150.4 222.2-221.1L248.9 26.87C106.9 62.96 45.07 177.2 26.77 248.8zM256 335.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L164.7 283.3C161.6 280.2 160 276.1 160 271.1c0-8.529 6.865-16 16-16c4.095 0 8.189 1.562 11.31 4.688l64.01 64C254.4 327.8 256 331.9 256 335.1zM304 287.1c0 9.141-7.474 16-16 16c-4.094 0-8.188-1.564-11.31-4.689L212.7 235.3C209.6 232.2 208 228.1 208 223.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01C302.5 279.8 304 283.9 304 287.1zM256 175.1c0-9.141 7.473-16 16-16c4.094 0 8.188 1.562 11.31 4.688l64.01 64.01c3.125 3.125 4.688 7.219 4.688 11.31c0 9.133-7.468 16-16 16c-4.094 0-8.189-1.562-11.31-4.688l-64.01-64.01C257.6 184.2 256 180.1 256 175.1z"})})},custom:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:d("path",{d:"M417.1 368c-5.937 10.27-16.69 16-27.75 16c-5.422 0-10.92-1.375-15.97-4.281L256 311.4V448c0 17.67-14.33 32-31.1 32S192 465.7 192 448V311.4l-118.3 68.29C68.67 382.6 63.17 384 57.75 384c-11.06 0-21.81-5.734-27.75-16c-8.828-15.31-3.594-34.88 11.72-43.72L159.1 256L41.72 187.7C26.41 178.9 21.17 159.3 29.1 144C36.63 132.5 49.26 126.7 61.65 128.2C65.78 128.7 69.88 130.1 73.72 132.3L192 200.6V64c0-17.67 14.33-32 32-32S256 46.33 256 64v136.6l118.3-68.29c3.838-2.213 7.939-3.539 12.07-4.051C398.7 126.7 411.4 132.5 417.1 144c8.828 15.31 3.594 34.88-11.72 43.72L288 256l118.3 68.28C421.6 333.1 426.8 352.7 417.1 368z"})}),flags:{outline:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:d("path",{d:"M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"})}),solid:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{d:"M64 496C64 504.8 56.75 512 48 512h-32C7.25 512 0 504.8 0 496V32c0-17.75 14.25-32 32-32s32 14.25 32 32V496zM476.3 0c-6.365 0-13.01 1.35-19.34 4.233c-45.69 20.86-79.56 27.94-107.8 27.94c-59.96 0-94.81-31.86-163.9-31.87C160.9 .3055 131.6 4.867 96 15.75v350.5c32-9.984 59.87-14.1 84.85-14.1c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0z"})})},foods:{outline:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:d("path",{d:"M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9"})}),solid:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{d:"M481.9 270.1C490.9 279.1 496 291.3 496 304C496 316.7 490.9 328.9 481.9 337.9C472.9 346.9 460.7 352 448 352H64C51.27 352 39.06 346.9 30.06 337.9C21.06 328.9 16 316.7 16 304C16 291.3 21.06 279.1 30.06 270.1C39.06 261.1 51.27 256 64 256H448C460.7 256 472.9 261.1 481.9 270.1zM475.3 388.7C478.3 391.7 480 395.8 480 400V416C480 432.1 473.3 449.3 461.3 461.3C449.3 473.3 432.1 480 416 480H96C79.03 480 62.75 473.3 50.75 461.3C38.74 449.3 32 432.1 32 416V400C32 395.8 33.69 391.7 36.69 388.7C39.69 385.7 43.76 384 48 384H464C468.2 384 472.3 385.7 475.3 388.7zM50.39 220.8C45.93 218.6 42.03 215.5 38.97 211.6C35.91 207.7 33.79 203.2 32.75 198.4C31.71 193.5 31.8 188.5 32.99 183.7C54.98 97.02 146.5 32 256 32C365.5 32 457 97.02 479 183.7C480.2 188.5 480.3 193.5 479.2 198.4C478.2 203.2 476.1 207.7 473 211.6C469.1 215.5 466.1 218.6 461.6 220.8C457.2 222.9 452.3 224 447.3 224H64.67C59.73 224 54.84 222.9 50.39 220.8zM372.7 116.7C369.7 119.7 368 123.8 368 128C368 131.2 368.9 134.3 370.7 136.9C372.5 139.5 374.1 141.6 377.9 142.8C380.8 143.1 384 144.3 387.1 143.7C390.2 143.1 393.1 141.6 395.3 139.3C397.6 137.1 399.1 134.2 399.7 131.1C400.3 128 399.1 124.8 398.8 121.9C397.6 118.1 395.5 116.5 392.9 114.7C390.3 112.9 387.2 111.1 384 111.1C379.8 111.1 375.7 113.7 372.7 116.7V116.7zM244.7 84.69C241.7 87.69 240 91.76 240 96C240 99.16 240.9 102.3 242.7 104.9C244.5 107.5 246.1 109.6 249.9 110.8C252.8 111.1 256 112.3 259.1 111.7C262.2 111.1 265.1 109.6 267.3 107.3C269.6 105.1 271.1 102.2 271.7 99.12C272.3 96.02 271.1 92.8 270.8 89.88C269.6 86.95 267.5 84.45 264.9 82.7C262.3 80.94 259.2 79.1 256 79.1C251.8 79.1 247.7 81.69 244.7 84.69V84.69zM116.7 116.7C113.7 119.7 112 123.8 112 128C112 131.2 112.9 134.3 114.7 136.9C116.5 139.5 118.1 141.6 121.9 142.8C124.8 143.1 128 144.3 131.1 143.7C134.2 143.1 137.1 141.6 139.3 139.3C141.6 137.1 143.1 134.2 143.7 131.1C144.3 128 143.1 124.8 142.8 121.9C141.6 118.1 139.5 116.5 136.9 114.7C134.3 112.9 131.2 111.1 128 111.1C123.8 111.1 119.7 113.7 116.7 116.7L116.7 116.7z"})})},frequent:{outline:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[d("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),d("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"})]}),solid:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{d:"M256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512zM232 256C232 264 236 271.5 242.7 275.1L338.7 339.1C349.7 347.3 364.6 344.3 371.1 333.3C379.3 322.3 376.3 307.4 365.3 300L280 243.2V120C280 106.7 269.3 96 255.1 96C242.7 96 231.1 106.7 231.1 120L232 256z"})})},nature:{outline:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[d("path",{d:"M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8"}),d("path",{d:"M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.877 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235"})]}),solid:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:d("path",{d:"M332.7 19.85C334.6 8.395 344.5 0 356.1 0C363.6 0 370.6 3.52 375.1 9.502L392 32H444.1C456.8 32 469.1 37.06 478.1 46.06L496 64H552C565.3 64 576 74.75 576 88V112C576 156.2 540.2 192 496 192H426.7L421.6 222.5L309.6 158.5L332.7 19.85zM448 64C439.2 64 432 71.16 432 80C432 88.84 439.2 96 448 96C456.8 96 464 88.84 464 80C464 71.16 456.8 64 448 64zM416 256.1V480C416 497.7 401.7 512 384 512H352C334.3 512 320 497.7 320 480V364.8C295.1 377.1 268.8 384 240 384C211.2 384 184 377.1 160 364.8V480C160 497.7 145.7 512 128 512H96C78.33 512 64 497.7 64 480V249.8C35.23 238.9 12.64 214.5 4.836 183.3L.9558 167.8C-3.331 150.6 7.094 133.2 24.24 128.1C41.38 124.7 58.76 135.1 63.05 152.2L66.93 167.8C70.49 182 83.29 191.1 97.97 191.1H303.8L416 256.1z"})})},objects:{outline:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[d("path",{d:"M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z"}),d("path",{d:"M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789"})]}),solid:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:d("path",{d:"M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"})})},people:{outline:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[d("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}),d("path",{d:"M8 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 8 7M16 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 7M15.232 15c-.693 1.195-1.87 2-3.349 2-1.477 0-2.655-.805-3.347-2H15m3-2H6a6 6 0 1 0 12 0"})]}),solid:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 432C332.1 432 396.2 382 415.2 314.1C419.1 300.4 407.8 288 393.6 288H118.4C104.2 288 92.92 300.4 96.76 314.1C115.8 382 179.9 432 256 432V432zM176.4 160C158.7 160 144.4 174.3 144.4 192C144.4 209.7 158.7 224 176.4 224C194 224 208.4 209.7 208.4 192C208.4 174.3 194 160 176.4 160zM336.4 224C354 224 368.4 209.7 368.4 192C368.4 174.3 354 160 336.4 160C318.7 160 304.4 174.3 304.4 192C304.4 209.7 318.7 224 336.4 224z"})})},places:{outline:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[d("path",{d:"M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5"}),d("path",{d:"M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.357 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z"})]}),solid:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{d:"M39.61 196.8L74.8 96.29C88.27 57.78 124.6 32 165.4 32H346.6C387.4 32 423.7 57.78 437.2 96.29L472.4 196.8C495.6 206.4 512 229.3 512 256V448C512 465.7 497.7 480 480 480H448C430.3 480 416 465.7 416 448V400H96V448C96 465.7 81.67 480 64 480H32C14.33 480 0 465.7 0 448V256C0 229.3 16.36 206.4 39.61 196.8V196.8zM109.1 192H402.9L376.8 117.4C372.3 104.6 360.2 96 346.6 96H165.4C151.8 96 139.7 104.6 135.2 117.4L109.1 192zM96 256C78.33 256 64 270.3 64 288C64 305.7 78.33 320 96 320C113.7 320 128 305.7 128 288C128 270.3 113.7 256 96 256zM416 320C433.7 320 448 305.7 448 288C448 270.3 433.7 256 416 256C398.3 256 384 270.3 384 288C384 305.7 398.3 320 416 320z"})})},symbols:{outline:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:d("path",{d:"M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.813-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76"})}),solid:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{d:"M500.3 7.251C507.7 13.33 512 22.41 512 31.1V175.1C512 202.5 483.3 223.1 447.1 223.1C412.7 223.1 383.1 202.5 383.1 175.1C383.1 149.5 412.7 127.1 447.1 127.1V71.03L351.1 90.23V207.1C351.1 234.5 323.3 255.1 287.1 255.1C252.7 255.1 223.1 234.5 223.1 207.1C223.1 181.5 252.7 159.1 287.1 159.1V63.1C287.1 48.74 298.8 35.61 313.7 32.62L473.7 .6198C483.1-1.261 492.9 1.173 500.3 7.251H500.3zM74.66 303.1L86.5 286.2C92.43 277.3 102.4 271.1 113.1 271.1H174.9C185.6 271.1 195.6 277.3 201.5 286.2L213.3 303.1H239.1C266.5 303.1 287.1 325.5 287.1 351.1V463.1C287.1 490.5 266.5 511.1 239.1 511.1H47.1C21.49 511.1-.0019 490.5-.0019 463.1V351.1C-.0019 325.5 21.49 303.1 47.1 303.1H74.66zM143.1 359.1C117.5 359.1 95.1 381.5 95.1 407.1C95.1 434.5 117.5 455.1 143.1 455.1C170.5 455.1 191.1 434.5 191.1 407.1C191.1 381.5 170.5 359.1 143.1 359.1zM440.3 367.1H496C502.7 367.1 508.6 372.1 510.1 378.4C513.3 384.6 511.6 391.7 506.5 396L378.5 508C372.9 512.1 364.6 513.3 358.6 508.9C352.6 504.6 350.3 496.6 353.3 489.7L391.7 399.1H336C329.3 399.1 323.4 395.9 321 389.6C318.7 383.4 320.4 376.3 325.5 371.1L453.5 259.1C459.1 255 467.4 254.7 473.4 259.1C479.4 263.4 481.6 271.4 478.7 278.3L440.3 367.1zM116.7 219.1L19.85 119.2C-8.112 90.26-6.614 42.31 24.85 15.34C51.82-8.137 93.26-3.642 118.2 21.83L128.2 32.32L137.7 21.83C162.7-3.642 203.6-8.137 231.6 15.34C262.6 42.31 264.1 90.26 236.1 119.2L139.7 219.1C133.2 225.6 122.7 225.6 116.7 219.1H116.7z"})})}},yt={loupe:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:d("path",{d:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"})}),delete:d("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:d("path",{d:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"})})};var W={categories:wt,search:yt};function ne(t){let{id:e,skin:n,emoji:r}=t;if(t.shortcodes){const l=t.shortcodes.match(L.SHORTCODES_REGEX);l&&(e=l[1],l[2]&&(n=l[2]))}if(r||(r=L.get(e||t.native)),!r)return t.fallback;const o=r.skins[n-1]||r.skins[0],i=o.src||(t.set!="native"&&!t.spritesheet?typeof t.getImageURL=="function"?t.getImageURL(t.set,o.unified):`https://cdn.jsdelivr.net/npm/emoji-datasource-${t.set}@15.0.1/img/${t.set}/64/${o.unified}.png`:void 0),s=typeof t.getSpritesheetURL=="function"?t.getSpritesheetURL(t.set):`https://cdn.jsdelivr.net/npm/emoji-datasource-${t.set}@15.0.1/img/${t.set}/sheets-256/64.png`;return d("span",{class:"emoji-mart-emoji","data-emoji-set":t.set,children:i?d("img",{style:{maxWidth:t.size||"1em",maxHeight:t.size||"1em",display:"inline-block"},alt:o.native||o.shortcodes,src:i}):t.set=="native"?d("span",{style:{fontSize:t.size,fontFamily:'"EmojiMart", "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji"'},children:o.native}):d("span",{style:{display:"block",width:t.size,height:t.size,backgroundImage:`url(${s})`,backgroundSize:`${100*g.sheet.cols}% ${100*g.sheet.rows}%`,backgroundPosition:`${100/(g.sheet.cols-1)*o.x}% ${100/(g.sheet.rows-1)*o.y}%`}})})}const Ct=typeof window<"u"&&window.HTMLElement?window.HTMLElement:Object;class Ge extends Ct{static get observedAttributes(){return Object.keys(this.Props)}update(e={}){for(let n in e)this.attributeChangedCallback(n,null,e[n])}attributeChangedCallback(e,n,r){if(!this.component)return;const o=Ke(e,{[e]:r},this.constructor.Props,this);this.component.componentWillReceiveProps?this.component.componentWillReceiveProps({[e]:o}):(this.component.props[e]=o,this.component.forceUpdate())}disconnectedCallback(){this.disconnected=!0,this.component&&this.component.unregister&&this.component.unregister()}constructor(e={}){if(super(),this.props=e,e.parent||e.ref){let n=null;const r=e.parent||(n=e.ref&&e.ref.current);n&&(n.innerHTML=""),r&&r.appendChild(this)}}}class xt extends Ge{setShadow(){this.attachShadow({mode:"open"})}injectStyles(e){if(!e)return;const n=document.createElement("style");n.textContent=e,this.shadowRoot.insertBefore(n,this.shadowRoot.firstChild)}constructor(e,{styles:n}={}){super(e),this.setShadow(),this.injectStyles(n)}}var Xe={fallback:"",id:"",native:"",shortcodes:"",size:{value:"",transform:t=>/\D/.test(t)?t:`${t}px`},set:z.set,skin:z.skin};class Je extends Ge{async connectedCallback(){const e=qe(this.props,Xe,this);e.element=this,e.ref=n=>{this.component=n},await G(),!this.disconnected&&Oe(d(ne,{...e}),this)}constructor(e){super(e)}}C(Je,"Props",Xe);typeof customElements<"u"&&!customElements.get("em-emoji")&&customElements.define("em-emoji",Je);var fe,re=[],pe=v.__b,ve=v.__r,_e=v.diffed,ge=v.__c,be=v.unmount;function St(){var t;for(re.sort(function(e,n){return e.__v.__b-n.__v.__b});t=re.pop();)if(t.__P)try{t.__H.__h.forEach(O),t.__H.__h.forEach(ie),t.__H.__h=[]}catch(e){t.__H.__h=[],v.__e(e,t.__v)}}v.__b=function(t){pe&&pe(t)},v.__r=function(t){ve&&ve(t);var e=t.__c.__H;e&&(e.__h.forEach(O),e.__h.forEach(ie),e.__h=[])},v.diffed=function(t){_e&&_e(t);var e=t.__c;e&&e.__H&&e.__H.__h.length&&(re.push(e)!==1&&fe===v.requestAnimationFrame||((fe=v.requestAnimationFrame)||function(n){var r,o=function(){clearTimeout(i),me&&cancelAnimationFrame(r),setTimeout(n)},i=setTimeout(o,100);me&&(r=requestAnimationFrame(o))})(St))},v.__c=function(t,e){e.some(function(n){try{n.__h.forEach(O),n.__h=n.__h.filter(function(r){return!r.__||ie(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],v.__e(r,n.__v)}}),ge&&ge(t,e)},v.unmount=function(t){be&&be(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{O(r)}catch(o){e=o}}),e&&v.__e(e,n.__v))};var me=typeof requestAnimationFrame=="function";function O(t){var e=t.__c;typeof e=="function"&&(t.__c=void 0,e())}function ie(t){t.__c=t.__()}function jt(t,e){for(var n in e)t[n]=e[n];return t}function $e(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function q(t){this.props=t}(q.prototype=new S).isPureReactComponent=!0,q.prototype.shouldComponentUpdate=function(t,e){return $e(this.props,t)||$e(this.state,e)};var ke=v.__b;v.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),ke&&ke(t)};var zt=v.__e;v.__e=function(t,e,n){if(t.then){for(var r,o=e;o=o.__;)if((r=o.__c)&&r.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),r.__c(t,e)}zt(t,e,n)};var we=v.unmount;function Z(){this.__u=0,this.t=null,this.__b=null}function Ye(t){var e=t.__.__c;return e&&e.__e&&e.__e(t)}function T(){this.u=null,this.o=null}v.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&t.__h===!0&&(t.type=null),we&&we(t)},(Z.prototype=new S).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Ye(r.__v),i=!1,s=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=s;var l=function(){if(!--r.__u){if(r.state.__e){var u=r.state.__e;r.__v.__k[0]=(function p(h,f,_){return h&&(h.__v=null,h.__k=h.__k&&h.__k.map(function(m){return p(m,f,_)}),h.__c&&h.__c.__P===f&&(h.__e&&_.insertBefore(h.__e,h.__d),h.__c.__e=!0,h.__c.__P=_)),h})(u,u.__c.__P,u.__c.__O)}var a;for(r.setState({__e:r.__b=null});a=r.t.pop();)a.forceUpdate()}},c=e.__h===!0;r.__u++||c||r.setState({__e:r.__b=r.__v.__k[0]}),t.then(s,s)},Z.prototype.componentWillUnmount=function(){this.t=[]},Z.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=(function i(s,l,c){return s&&(s.__c&&s.__c.__H&&(s.__c.__H.__.forEach(function(u){typeof u.__c=="function"&&u.__c()}),s.__c.__H=null),(s=jt({},s)).__c!=null&&(s.__c.__P===c&&(s.__c.__P=l),s.__c=null),s.__k=s.__k&&s.__k.map(function(u){return i(u,l,c)})),s})(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__e&&Q(D,null,t.fallback);return o&&(o.__h=null),[Q(D,null,e.__e?null:t.children),o]};var ye=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]{const o=n.name||w.categories[n.id],i=!this.props.unfocused&&n.id==this.state.categoryId;return i&&(e=r),d("button",{"aria-label":o,"aria-selected":i||void 0,title:o,type:"button",class:"flex flex-grow flex-center",onMouseDown:s=>s.preventDefault(),onClick:()=>{this.props.onClick({category:n,i:r})},children:this.renderIcon(n)})}),d("div",{class:"bar",style:{width:`${100/this.categories.length}%`,opacity:e==null?0:1,transform:this.props.dir==="rtl"?`scaleX(-1) translateX(${e*100}%)`:`translateX(${e*100}%)`}})]})})}constructor(){super(),this.categories=g.categories.filter(e=>!e.target),this.state={categoryId:this.categories[0].id}}}class At extends q{shouldComponentUpdate(e){for(let n in e)if(n!="children"&&e[n]!=this.props[n])return!0;return!1}render(){return this.props.children}}const A={rowsPerRender:10};class It extends S{getInitialState(e=this.props){return{skin:E.get("skin")||e.skin,theme:this.initTheme(e.theme)}}componentWillMount(){this.dir=w.rtl?"rtl":"ltr",this.refs={menu:j(),navigation:j(),scroll:j(),search:j(),searchInput:j(),skinToneButton:j(),skinToneRadio:j()},this.initGrid(),this.props.stickySearch==!1&&this.props.searchPosition=="sticky"&&(console.warn("[EmojiMart] Deprecation warning: `stickySearch` has been renamed `searchPosition`."),this.props.searchPosition="static")}componentDidMount(){if(this.register(),this.shadowRoot=this.base.parentNode,this.props.autoFocus){const{searchInput:e}=this.refs;e.current&&e.current.focus()}}componentWillReceiveProps(e){this.nextState||(this.nextState={});for(const n in e)this.nextState[n]=e[n];clearTimeout(this.nextStateTimer),this.nextStateTimer=setTimeout(()=>{let n=!1;for(const o in this.nextState)this.props[o]=this.nextState[o],(o==="custom"||o==="categories")&&(n=!0);delete this.nextState;const r=this.getInitialState();if(n)return this.reset(r);this.setState(r)})}componentWillUnmount(){this.unregister()}async reset(e={}){await G(this.props),this.initGrid(),this.unobserve(),this.setState(e,()=>{this.observeCategories(),this.observeRows()})}register(){document.addEventListener("click",this.handleClickOutside),this.observe()}unregister(){document.removeEventListener("click",this.handleClickOutside),this.darkMedia?.removeEventListener("change",this.darkMediaCallback),this.unobserve()}observe(){this.observeCategories(),this.observeRows()}unobserve({except:e=[]}={}){Array.isArray(e)||(e=[e]);for(const n of this.observers)e.includes(n)||n.disconnect();this.observers=[].concat(e)}initGrid(){const{categories:e}=g;this.refs.categories=new Map;const n=g.categories.map(o=>o.id).join(",");this.navKey&&this.navKey!=n&&this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0),this.navKey=n,this.grid=[],this.grid.setsize=0;const r=(o,i)=>{const s=[];s.__categoryId=i.id,s.__index=o.length,this.grid.push(s);const l=this.grid.length-1,c=l%A.rowsPerRender?{}:j();return c.index=l,c.posinset=this.grid.setsize+1,o.push(c),s};for(let o of e){const i=[];let s=r(i,o);for(let l of o.emojis)s.length==this.getPerLine()&&(s=r(i,o)),this.grid.setsize+=1,s.push(l);this.refs.categories.set(o.id,{root:j(),rows:i})}}initTheme(e){if(e!="auto")return e;if(!this.darkMedia){if(this.darkMedia=matchMedia("(prefers-color-scheme: dark)"),this.darkMedia.media.match(/^not/))return"light";this.darkMedia.addEventListener("change",this.darkMediaCallback)}return this.darkMedia.matches?"dark":"light"}initDynamicPerLine(e=this.props){if(!e.dynamicWidth)return;const{element:n,emojiButtonSize:r}=e,o=()=>{const{width:s}=n.getBoundingClientRect();return Math.floor(s/r)},i=new ResizeObserver(()=>{this.unobserve({except:i}),this.setState({perLine:o()},()=>{this.initGrid(),this.forceUpdate(()=>{this.observeCategories(),this.observeRows()})})});return i.observe(n),this.observers.push(i),o()}getPerLine(){return this.state.perLine||this.props.perLine}getEmojiByPos([e,n]){const r=this.state.searchResults||this.grid,o=r[e]&&r[e][n];if(o)return L.get(o)}observeCategories(){const e=this.refs.navigation.current;if(!e)return;const n=new Map,r=s=>{s!=e.state.categoryId&&e.setState({categoryId:s})},o={root:this.refs.scroll.current,threshold:[0,1]},i=new IntersectionObserver(s=>{for(const c of s){const u=c.target.dataset.id;n.set(u,c.intersectionRatio)}const l=[...n];for(const[c,u]of l)if(u){r(c);break}},o);for(const{root:s}of this.refs.categories.values())i.observe(s.current);this.observers.push(i)}observeRows(){const e={...this.state.visibleRows},n=new IntersectionObserver(r=>{for(const o of r){const i=parseInt(o.target.dataset.index);o.isIntersecting?e[i]=!0:delete e[i]}this.setState({visibleRows:e})},{root:this.refs.scroll.current,rootMargin:`${this.props.emojiButtonSize*(A.rowsPerRender+5)}px 0px ${this.props.emojiButtonSize*A.rowsPerRender}px`});for(const{rows:r}of this.refs.categories.values())for(const o of r)o.current&&n.observe(o.current);this.observers.push(n)}preventDefault(e){e.preventDefault()}unfocusSearch(){const e=this.refs.searchInput.current;e&&e.blur()}navigate({e,input:n,left:r,right:o,up:i,down:s}){const l=this.state.searchResults||this.grid;if(!l.length)return;let[c,u]=this.state.pos;const a=(()=>{if(c==0&&u==0&&!e.repeat&&(r||i))return null;if(c==-1)return!e.repeat&&(o||s)&&n.selectionStart==n.value.length?[0,0]:null;if(r||o){let p=l[c];const h=r?-1:1;if(u+=h,!p[u]){if(c+=h,p=l[c],!p)return c=r?0:l.length-1,u=r?0:l[c].length-1,[c,u];u=r?p.length-1:0}return[c,u]}if(i||s){c+=i?-1:1;const p=l[c];return p?(p[u]||(u=p.length-1),[c,u]):(c=i?0:l.length-1,u=i?0:l[c].length-1,[c,u])}})();if(a)e.preventDefault();else{this.state.pos[0]>-1&&this.setState({pos:[-1,-1]});return}this.setState({pos:a,keyboard:!0},()=>{this.scrollTo({row:a[0]})})}scrollTo({categoryId:e,row:n}){const r=this.state.searchResults||this.grid;if(!r.length)return;const o=this.refs.scroll.current,i=o.getBoundingClientRect();let s=0;if(n>=0&&(e=r[n].__categoryId),e&&(s=(this.refs[e]||this.refs.categories.get(e).root).current.getBoundingClientRect().top-(i.top-o.scrollTop)+1),n>=0)if(!n)s=0;else{const l=r[n].__index,c=s+l*this.props.emojiButtonSize,u=c+this.props.emojiButtonSize+this.props.emojiButtonSize*.88;if(co.scrollTop+i.height)s=u-i.height;else return}this.ignoreMouse(),o.scrollTop=s}ignoreMouse(){this.mouseIsIgnored=!0,clearTimeout(this.ignoreMouseTimer),this.ignoreMouseTimer=setTimeout(()=>{delete this.mouseIsIgnored},100)}handleEmojiOver(e){this.mouseIsIgnored||this.state.showSkins||this.setState({pos:e||[-1,-1],keyboard:!1})}handleEmojiClick({e,emoji:n,pos:r}){if(this.props.onEmojiSelect&&(!n&&r&&(n=this.getEmojiByPos(r)),n)){const o=kt(n,{skinIndex:this.state.skin-1});this.props.maxFrequentRows&&Fe.add(o,this.props),this.props.onEmojiSelect(o,e)}}closeSkins(){this.state.showSkins&&(this.setState({showSkins:null,tempSkin:null}),this.base.removeEventListener("click",this.handleBaseClick),this.base.removeEventListener("keydown",this.handleBaseKeydown))}handleSkinMouseOver(e){this.setState({tempSkin:e})}handleSkinClick(e){this.ignoreMouse(),this.closeSkins(),this.setState({skin:e,tempSkin:null}),E.set("skin",e)}renderNav(){return d(Tt,{ref:this.refs.navigation,icons:this.props.icons,theme:this.state.theme,dir:this.dir,unfocused:!!this.state.searchResults,position:this.props.navPosition,onClick:this.handleCategoryClick},this.navKey)}renderPreview(){const e=this.getEmojiByPos(this.state.pos),n=this.state.searchResults&&!this.state.searchResults.length;return d("div",{id:"preview",class:"flex flex-middle",dir:this.dir,"data-position":this.props.previewPosition,children:[d("div",{class:"flex flex-middle flex-grow",children:[d("div",{class:"flex flex-auto flex-middle flex-center",style:{height:this.props.emojiButtonSize,fontSize:this.props.emojiButtonSize},children:d(ne,{emoji:e,id:n?this.props.noResultsEmoji||"cry":this.props.previewEmoji||(this.props.previewPosition=="top"?"point_down":"point_up"),set:this.props.set,size:this.props.emojiButtonSize,skin:this.state.tempSkin||this.state.skin,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})}),d("div",{class:`margin-${this.dir[0]}`,children:e||n?d("div",{class:`padding-${this.dir[2]} align-${this.dir[0]}`,children:[d("div",{class:"preview-title ellipsis",children:e?e.name:w.search_no_results_1}),d("div",{class:"preview-subtitle ellipsis color-c",children:e?e.skins[0].shortcodes:w.search_no_results_2})]}):d("div",{class:"preview-placeholder color-c",children:w.pick})})]}),!e&&this.props.skinTonePosition=="preview"&&this.renderSkinToneButton()]})}renderEmojiButton(e,{pos:n,posinset:r,grid:o}){const i=this.props.emojiButtonSize,s=this.state.tempSkin||this.state.skin,c=(e.skins[s-1]||e.skins[0]).native,u=mt(this.state.pos,n),a=n.concat(e.id).join("");return d(At,{selected:u,skin:s,size:i,children:d("button",{"aria-label":c,"aria-selected":u||void 0,"aria-posinset":r,"aria-setsize":o.setsize,"data-keyboard":this.state.keyboard,title:this.props.previewPosition=="none"?e.name:void 0,type:"button",class:"flex flex-center flex-middle",tabindex:"-1",onClick:p=>this.handleEmojiClick({e:p,emoji:e}),onMouseEnter:()=>this.handleEmojiOver(n),onMouseLeave:()=>this.handleEmojiOver(),style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize,fontSize:this.props.emojiSize,lineHeight:0},children:[d("div",{"aria-hidden":"true",class:"background",style:{borderRadius:this.props.emojiButtonRadius,backgroundColor:this.props.emojiButtonColors?this.props.emojiButtonColors[(r-1)%this.props.emojiButtonColors.length]:void 0}}),d(ne,{emoji:e,set:this.props.set,size:this.props.emojiSize,skin:s,spritesheet:!0,getSpritesheetURL:this.props.getSpritesheetURL})]})},a)}renderSearch(){const e=this.props.previewPosition=="none"||this.props.skinTonePosition=="search";return d("div",{children:[d("div",{class:"spacer"}),d("div",{class:"flex flex-middle",children:[d("div",{class:"search relative flex-grow",children:[d("input",{type:"search",ref:this.refs.searchInput,placeholder:w.search,onClick:this.handleSearchClick,onInput:this.handleSearchInput,onKeyDown:this.handleSearchKeyDown,autoComplete:"off"}),d("span",{class:"icon loupe flex",children:W.search.loupe}),this.state.searchResults&&d("button",{title:"Clear","aria-label":"Clear",type:"button",class:"icon delete flex",onClick:this.clearSearch,onMouseDown:this.preventDefault,children:W.search.delete})]}),e&&this.renderSkinToneButton()]})]})}renderSearchResults(){const{searchResults:e}=this.state;return e?d("div",{class:"category",ref:this.refs.search,children:[d("div",{class:`sticky padding-small align-${this.dir[0]}`,children:w.categories.search}),d("div",{children:e.length?e.map((n,r)=>d("div",{class:"flex",children:n.map((o,i)=>this.renderEmojiButton(o,{pos:[r,i],posinset:r*this.props.perLine+i+1,grid:e}))})):d("div",{class:`padding-small align-${this.dir[0]}`,children:this.props.onAddCustomEmoji&&d("a",{onClick:this.props.onAddCustomEmoji,children:w.add_custom})})})]}):null}renderCategories(){const{categories:e}=g,n=!!this.state.searchResults,r=this.getPerLine();return d("div",{style:{visibility:n?"hidden":void 0,display:n?"none":void 0,height:"100%"},children:e.map(o=>{const{root:i,rows:s}=this.refs.categories.get(o.id);return d("div",{"data-id":o.target?o.target.id:o.id,class:"category",ref:i,children:[d("div",{class:`sticky padding-small align-${this.dir[0]}`,children:o.name||w.categories[o.id]}),d("div",{class:"relative",style:{height:s.length*this.props.emojiButtonSize},children:s.map((l,c)=>{const u=l.index-l.index%A.rowsPerRender,a=this.state.visibleRows[u],p="current"in l?l:void 0;if(!a&&!p)return null;const h=c*r,f=h+r,_=o.emojis.slice(h,f);return _.length{if(!m)return d("div",{style:{width:this.props.emojiButtonSize,height:this.props.emojiButtonSize}});const $=L.get(m);return this.renderEmojiButton($,{pos:[l.index,b],posinset:l.posinset+b,grid:this.grid})})},l.index)})})]})})})}renderSkinToneButton(){return this.props.skinTonePosition=="none"?null:d("div",{class:"flex flex-auto flex-center flex-middle",style:{position:"relative",width:this.props.emojiButtonSize,height:this.props.emojiButtonSize},children:d("button",{type:"button",ref:this.refs.skinToneButton,class:"skin-tone-button flex flex-auto flex-center flex-middle","aria-selected":this.state.showSkins?"":void 0,"aria-label":w.skins.choose,title:w.skins.choose,onClick:this.openSkins,style:{width:this.props.emojiSize,height:this.props.emojiSize},children:d("span",{class:`skin-tone skin-tone-${this.state.skin}`})})})}renderLiveRegion(){const e=this.getEmojiByPos(this.state.pos),n=e?e.name:"";return d("div",{"aria-live":"polite",class:"sr-only",children:n})}renderSkins(){const n=this.refs.skinToneButton.current.getBoundingClientRect(),r=this.base.getBoundingClientRect(),o={};return this.dir=="ltr"?o.right=r.right-n.right-3:o.left=n.left-r.left-3,this.props.previewPosition=="bottom"&&this.props.skinTonePosition=="preview"?o.bottom=r.bottom-n.top+6:(o.top=n.bottom-r.top+3,o.bottom="auto"),d("div",{ref:this.refs.menu,role:"radiogroup",dir:this.dir,"aria-label":w.skins.choose,class:"menu hidden","data-position":o.top?"top":"bottom",style:o,children:[...Array(6).keys()].map(i=>{const s=i+1,l=this.state.skin==s;return d("div",{children:[d("input",{type:"radio",name:"skin-tone",value:s,"aria-label":w.skins[s],ref:l?this.refs.skinToneRadio:null,defaultChecked:l,onChange:()=>this.handleSkinMouseOver(s),onKeyDown:c=>{(c.code=="Enter"||c.code=="Space"||c.code=="Tab")&&(c.preventDefault(),this.handleSkinClick(s))}}),d("button",{"aria-hidden":"true",tabindex:"-1",onClick:()=>this.handleSkinClick(s),onMouseEnter:()=>this.handleSkinMouseOver(s),onMouseLeave:()=>this.handleSkinMouseOver(),class:"option flex flex-grow flex-middle",children:[d("span",{class:`skin-tone skin-tone-${s}`}),d("span",{class:"margin-small-lr",children:w.skins[s]})]})]})})})}render(){const e=this.props.perLine*this.props.emojiButtonSize;return d("section",{id:"root",class:"flex flex-column",dir:this.dir,style:{width:this.props.dynamicWidth?"100%":`calc(${e}px + (var(--padding) + var(--sidebar-width)))`},"data-emoji-set":this.props.set,"data-theme":this.state.theme,"data-menu":this.state.showSkins?"":void 0,children:[this.props.previewPosition=="top"&&this.renderPreview(),this.props.navPosition=="top"&&this.renderNav(),this.props.searchPosition=="sticky"&&d("div",{class:"padding-lr",children:this.renderSearch()}),d("div",{ref:this.refs.scroll,class:"scroll flex-grow padding-lr",children:d("div",{style:{width:this.props.dynamicWidth?"100%":e,height:"100%"},children:[this.props.searchPosition=="static"&&this.renderSearch(),this.renderSearchResults(),this.renderCategories()]})}),this.props.navPosition=="bottom"&&this.renderNav(),this.props.previewPosition=="bottom"&&this.renderPreview(),this.state.showSkins&&this.renderSkins(),this.renderLiveRegion()]})}constructor(e){super(),C(this,"darkMediaCallback",()=>{this.props.theme=="auto"&&this.setState({theme:this.darkMedia.matches?"dark":"light"})}),C(this,"handleClickOutside",n=>{const{element:r}=this.props;n.target!=r&&(this.state.showSkins&&this.closeSkins(),this.props.onClickOutside&&this.props.onClickOutside(n))}),C(this,"handleBaseClick",n=>{this.state.showSkins&&(n.target.closest(".menu")||(n.preventDefault(),n.stopImmediatePropagation(),this.closeSkins()))}),C(this,"handleBaseKeydown",n=>{this.state.showSkins&&n.key=="Escape"&&(n.preventDefault(),n.stopImmediatePropagation(),this.closeSkins())}),C(this,"handleSearchClick",()=>{this.getEmojiByPos(this.state.pos)&&this.setState({pos:[-1,-1]})}),C(this,"handleSearchInput",async()=>{const n=this.refs.searchInput.current;if(!n)return;const{value:r}=n,o=await L.search(r),i=()=>{this.refs.scroll.current&&(this.refs.scroll.current.scrollTop=0)};if(!o)return this.setState({searchResults:o,pos:[-1,-1]},i);const s=n.selectionStart==n.value.length?[0,0]:[-1,-1],l=[];l.setsize=o.length;let c=null;for(let u of o)(!l.length||c.length==this.getPerLine())&&(c=[],c.__categoryId="search",c.__index=l.length,l.push(c)),c.push(u);this.ignoreMouse(),this.setState({searchResults:l,pos:s},i)}),C(this,"handleSearchKeyDown",n=>{const r=n.currentTarget;switch(n.stopImmediatePropagation(),n.key){case"ArrowLeft":this.navigate({e:n,input:r,left:!0});break;case"ArrowRight":this.navigate({e:n,input:r,right:!0});break;case"ArrowUp":this.navigate({e:n,input:r,up:!0});break;case"ArrowDown":this.navigate({e:n,input:r,down:!0});break;case"Enter":n.preventDefault(),this.handleEmojiClick({e:n,pos:this.state.pos});break;case"Escape":n.preventDefault(),this.state.searchResults?this.clearSearch():this.unfocusSearch();break}}),C(this,"clearSearch",()=>{const n=this.refs.searchInput.current;n&&(n.value="",n.focus(),this.handleSearchInput())}),C(this,"handleCategoryClick",({category:n,i:r})=>{this.scrollTo(r==0?{row:-1}:{categoryId:n.id})}),C(this,"openSkins",n=>{const{currentTarget:r}=n,o=r.getBoundingClientRect();this.setState({showSkins:o},async()=>{await $t(2);const i=this.refs.menu.current;i&&(i.classList.remove("hidden"),this.refs.skinToneRadio.current.focus(),this.base.addEventListener("click",this.handleBaseClick,!0),this.base.addEventListener("keydown",this.handleBaseKeydown,!0))})}),this.observers=[],this.state={pos:[-1,-1],perLine:this.initDynamicPerLine(e),visibleRows:{0:!0},...this.getInitialState(e)}}}class Ze extends xt{async connectedCallback(){const e=qe(this.props,z,this);e.element=this,e.ref=n=>{this.component=n},await G(e),!this.disconnected&&Oe(d(It,{...e}),this.shadowRoot)}constructor(e){super(e,{styles:ze(Qe)})}}C(Ze,"Props",z);typeof customElements<"u"&&!customElements.get("em-emoji-picker")&&customElements.define("em-emoji-picker",Ze);var Qe={};Qe=`:host { + width: min-content; + height: 435px; + min-height: 230px; + border-radius: var(--border-radius); + box-shadow: var(--shadow); + --border-radius: 10px; + --category-icon-size: 18px; + --font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; + --font-size: 15px; + --preview-placeholder-size: 21px; + --preview-title-size: 1.1em; + --preview-subtitle-size: .9em; + --shadow-color: 0deg 0% 0%; + --shadow: .3px .5px 2.7px hsl(var(--shadow-color) / .14), .4px .8px 1px -3.2px hsl(var(--shadow-color) / .14), 1px 2px 2.5px -4.5px hsl(var(--shadow-color) / .14); + display: flex; +} + +[data-theme="light"] { + --em-rgb-color: var(--rgb-color, 34, 36, 39); + --em-rgb-accent: var(--rgb-accent, 34, 102, 237); + --em-rgb-background: var(--rgb-background, 255, 255, 255); + --em-rgb-input: var(--rgb-input, 255, 255, 255); + --em-color-border: var(--color-border, rgba(0, 0, 0, .05)); + --em-color-border-over: var(--color-border-over, rgba(0, 0, 0, .1)); +} + +[data-theme="dark"] { + --em-rgb-color: var(--rgb-color, 222, 222, 221); + --em-rgb-accent: var(--rgb-accent, 58, 130, 247); + --em-rgb-background: var(--rgb-background, 21, 22, 23); + --em-rgb-input: var(--rgb-input, 0, 0, 0); + --em-color-border: var(--color-border, rgba(255, 255, 255, .1)); + --em-color-border-over: var(--color-border-over, rgba(255, 255, 255, .2)); +} + +#root { + --color-a: rgb(var(--em-rgb-color)); + --color-b: rgba(var(--em-rgb-color), .65); + --color-c: rgba(var(--em-rgb-color), .45); + --padding: 12px; + --padding-small: calc(var(--padding) / 2); + --sidebar-width: 16px; + --duration: 225ms; + --duration-fast: 125ms; + --duration-instant: 50ms; + --easing: cubic-bezier(.4, 0, .2, 1); + width: 100%; + text-align: left; + border-radius: var(--border-radius); + background-color: rgb(var(--em-rgb-background)); + position: relative; +} + +@media (prefers-reduced-motion) { + #root { + --duration: 0; + --duration-fast: 0; + --duration-instant: 0; + } +} + +#root[data-menu] button { + cursor: auto; +} + +#root[data-menu] .menu button { + cursor: pointer; +} + +:host, #root, input, button { + color: rgb(var(--em-rgb-color)); + font-family: var(--font-family); + font-size: var(--font-size); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + line-height: normal; +} + +*, :before, :after { + box-sizing: border-box; + min-width: 0; + margin: 0; + padding: 0; +} + +.relative { + position: relative; +} + +.flex { + display: flex; +} + +.flex-auto { + flex: none; +} + +.flex-center { + justify-content: center; +} + +.flex-column { + flex-direction: column; +} + +.flex-grow { + flex: auto; +} + +.flex-middle { + align-items: center; +} + +.flex-wrap { + flex-wrap: wrap; +} + +.padding { + padding: var(--padding); +} + +.padding-t { + padding-top: var(--padding); +} + +.padding-lr { + padding-left: var(--padding); + padding-right: var(--padding); +} + +.padding-r { + padding-right: var(--padding); +} + +.padding-small { + padding: var(--padding-small); +} + +.padding-small-b { + padding-bottom: var(--padding-small); +} + +.padding-small-lr { + padding-left: var(--padding-small); + padding-right: var(--padding-small); +} + +.margin { + margin: var(--padding); +} + +.margin-r { + margin-right: var(--padding); +} + +.margin-l { + margin-left: var(--padding); +} + +.margin-small-l { + margin-left: var(--padding-small); +} + +.margin-small-lr { + margin-left: var(--padding-small); + margin-right: var(--padding-small); +} + +.align-l { + text-align: left; +} + +.align-r { + text-align: right; +} + +.color-a { + color: var(--color-a); +} + +.color-b { + color: var(--color-b); +} + +.color-c { + color: var(--color-c); +} + +.ellipsis { + white-space: nowrap; + max-width: 100%; + width: auto; + text-overflow: ellipsis; + overflow: hidden; +} + +.sr-only { + width: 1px; + height: 1px; + position: absolute; + top: auto; + left: -10000px; + overflow: hidden; +} + +a { + cursor: pointer; + color: rgb(var(--em-rgb-accent)); +} + +a:hover { + text-decoration: underline; +} + +.spacer { + height: 10px; +} + +[dir="rtl"] .scroll { + padding-left: 0; + padding-right: var(--padding); +} + +.scroll { + padding-right: 0; + overflow-x: hidden; + overflow-y: auto; +} + +.scroll::-webkit-scrollbar { + width: var(--sidebar-width); + height: var(--sidebar-width); +} + +.scroll::-webkit-scrollbar-track { + border: 0; +} + +.scroll::-webkit-scrollbar-button { + width: 0; + height: 0; + display: none; +} + +.scroll::-webkit-scrollbar-corner { + background-color: rgba(0, 0, 0, 0); +} + +.scroll::-webkit-scrollbar-thumb { + min-height: 20%; + min-height: 65px; + border: 4px solid rgb(var(--em-rgb-background)); + border-radius: 8px; +} + +.scroll::-webkit-scrollbar-thumb:hover { + background-color: var(--em-color-border-over) !important; +} + +.scroll:hover::-webkit-scrollbar-thumb { + background-color: var(--em-color-border); +} + +.sticky { + z-index: 1; + background-color: rgba(var(--em-rgb-background), .9); + -webkit-backdrop-filter: blur(4px); + backdrop-filter: blur(4px); + font-weight: 500; + position: sticky; + top: -1px; +} + +[dir="rtl"] .search input[type="search"] { + padding: 10px 2.2em 10px 2em; +} + +[dir="rtl"] .search .loupe { + left: auto; + right: .7em; +} + +[dir="rtl"] .search .delete { + left: .7em; + right: auto; +} + +.search { + z-index: 2; + position: relative; +} + +.search input, .search button { + font-size: calc(var(--font-size) - 1px); +} + +.search input[type="search"] { + width: 100%; + background-color: var(--em-color-border); + transition-duration: var(--duration); + transition-property: background-color, box-shadow; + transition-timing-function: var(--easing); + border: 0; + border-radius: 10px; + outline: 0; + padding: 10px 2em 10px 2.2em; + display: block; +} + +.search input[type="search"]::-ms-input-placeholder { + color: inherit; + opacity: .6; +} + +.search input[type="search"]::placeholder { + color: inherit; + opacity: .6; +} + +.search input[type="search"], .search input[type="search"]::-webkit-search-decoration, .search input[type="search"]::-webkit-search-cancel-button, .search input[type="search"]::-webkit-search-results-button, .search input[type="search"]::-webkit-search-results-decoration { + -webkit-appearance: none; + -ms-appearance: none; + appearance: none; +} + +.search input[type="search"]:focus { + background-color: rgb(var(--em-rgb-input)); + box-shadow: inset 0 0 0 1px rgb(var(--em-rgb-accent)), 0 1px 3px rgba(65, 69, 73, .2); +} + +.search .icon { + z-index: 1; + color: rgba(var(--em-rgb-color), .7); + position: absolute; + top: 50%; + transform: translateY(-50%); +} + +.search .loupe { + pointer-events: none; + left: .7em; +} + +.search .delete { + right: .7em; +} + +svg { + fill: currentColor; + width: 1em; + height: 1em; +} + +button { + -webkit-appearance: none; + -ms-appearance: none; + appearance: none; + cursor: pointer; + color: currentColor; + background-color: rgba(0, 0, 0, 0); + border: 0; +} + +#nav { + z-index: 2; + padding-top: 12px; + padding-bottom: 12px; + padding-right: var(--sidebar-width); + position: relative; +} + +#nav button { + color: var(--color-b); + transition: color var(--duration) var(--easing); +} + +#nav button:hover { + color: var(--color-a); +} + +#nav svg, #nav img { + width: var(--category-icon-size); + height: var(--category-icon-size); +} + +#nav[dir="rtl"] .bar { + left: auto; + right: 0; +} + +#nav .bar { + width: 100%; + height: 3px; + background-color: rgb(var(--em-rgb-accent)); + transition: transform var(--duration) var(--easing); + border-radius: 3px 3px 0 0; + position: absolute; + bottom: -12px; + left: 0; +} + +#nav button[aria-selected] { + color: rgb(var(--em-rgb-accent)); +} + +#preview { + z-index: 2; + padding: calc(var(--padding) + 4px) var(--padding); + padding-right: var(--sidebar-width); + position: relative; +} + +#preview .preview-placeholder { + font-size: var(--preview-placeholder-size); +} + +#preview .preview-title { + font-size: var(--preview-title-size); +} + +#preview .preview-subtitle { + font-size: var(--preview-subtitle-size); +} + +#nav:before, #preview:before { + content: ""; + height: 2px; + position: absolute; + left: 0; + right: 0; +} + +#nav[data-position="top"]:before, #preview[data-position="top"]:before { + background: linear-gradient(to bottom, var(--em-color-border), transparent); + top: 100%; +} + +#nav[data-position="bottom"]:before, #preview[data-position="bottom"]:before { + background: linear-gradient(to top, var(--em-color-border), transparent); + bottom: 100%; +} + +.category:last-child { + min-height: calc(100% + 1px); +} + +.category button { + font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, sans-serif; + position: relative; +} + +.category button > * { + position: relative; +} + +.category button .background { + opacity: 0; + background-color: var(--em-color-border); + transition: opacity var(--duration-fast) var(--easing) var(--duration-instant); + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; +} + +.category button:hover .background { + transition-duration: var(--duration-instant); + transition-delay: 0s; +} + +.category button[aria-selected] .background { + opacity: 1; +} + +.category button[data-keyboard] .background { + transition: none; +} + +.row { + width: 100%; + position: absolute; + top: 0; + left: 0; +} + +.skin-tone-button { + border: 1px solid rgba(0, 0, 0, 0); + border-radius: 100%; +} + +.skin-tone-button:hover { + border-color: var(--em-color-border); +} + +.skin-tone-button:active .skin-tone { + transform: scale(.85) !important; +} + +.skin-tone-button .skin-tone { + transition: transform var(--duration) var(--easing); +} + +.skin-tone-button[aria-selected] { + background-color: var(--em-color-border); + border-top-color: rgba(0, 0, 0, .05); + border-bottom-color: rgba(0, 0, 0, 0); + border-left-width: 0; + border-right-width: 0; +} + +.skin-tone-button[aria-selected] .skin-tone { + transform: scale(.9); +} + +.menu { + z-index: 2; + white-space: nowrap; + border: 1px solid var(--em-color-border); + background-color: rgba(var(--em-rgb-background), .9); + -webkit-backdrop-filter: blur(4px); + backdrop-filter: blur(4px); + transition-property: opacity, transform; + transition-duration: var(--duration); + transition-timing-function: var(--easing); + border-radius: 10px; + padding: 4px; + position: absolute; + box-shadow: 1px 1px 5px rgba(0, 0, 0, .05); +} + +.menu.hidden { + opacity: 0; +} + +.menu[data-position="bottom"] { + transform-origin: 100% 100%; +} + +.menu[data-position="bottom"].hidden { + transform: scale(.9)rotate(-3deg)translateY(5%); +} + +.menu[data-position="top"] { + transform-origin: 100% 0; +} + +.menu[data-position="top"].hidden { + transform: scale(.9)rotate(3deg)translateY(-5%); +} + +.menu input[type="radio"] { + clip: rect(0 0 0 0); + width: 1px; + height: 1px; + border: 0; + margin: 0; + padding: 0; + position: absolute; + overflow: hidden; +} + +.menu input[type="radio"]:checked + .option { + box-shadow: 0 0 0 2px rgb(var(--em-rgb-accent)); +} + +.option { + width: 100%; + border-radius: 6px; + padding: 4px 6px; +} + +.option:hover { + color: #fff; + background-color: rgb(var(--em-rgb-accent)); +} + +.skin-tone { + width: 16px; + height: 16px; + border-radius: 100%; + display: inline-block; + position: relative; + overflow: hidden; +} + +.skin-tone:after { + content: ""; + mix-blend-mode: overlay; + background: linear-gradient(rgba(255, 255, 255, .2), rgba(0, 0, 0, 0)); + border: 1px solid rgba(0, 0, 0, .8); + border-radius: 100%; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + box-shadow: inset 0 -2px 3px #000, inset 0 1px 2px #fff; +} + +.skin-tone-1 { + background-color: #ffc93a; +} + +.skin-tone-2 { + background-color: #ffdab7; +} + +.skin-tone-3 { + background-color: #e7b98f; +} + +.skin-tone-4 { + background-color: #c88c61; +} + +.skin-tone-5 { + background-color: #a46134; +} + +.skin-tone-6 { + background-color: #5d4437; +} + +[data-index] { + justify-content: space-between; +} + +[data-emoji-set="twitter"] .skin-tone:after { + box-shadow: none; + border-color: rgba(0, 0, 0, .5); +} + +[data-emoji-set="twitter"] .skin-tone-1 { + background-color: #fade72; +} + +[data-emoji-set="twitter"] .skin-tone-2 { + background-color: #f3dfd0; +} + +[data-emoji-set="twitter"] .skin-tone-3 { + background-color: #eed3a8; +} + +[data-emoji-set="twitter"] .skin-tone-4 { + background-color: #cfad8d; +} + +[data-emoji-set="twitter"] .skin-tone-5 { + background-color: #a8805d; +} + +[data-emoji-set="twitter"] .skin-tone-6 { + background-color: #765542; +} + +[data-emoji-set="google"] .skin-tone:after { + box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, .4); +} + +[data-emoji-set="google"] .skin-tone-1 { + background-color: #f5c748; +} + +[data-emoji-set="google"] .skin-tone-2 { + background-color: #f1d5aa; +} + +[data-emoji-set="google"] .skin-tone-3 { + background-color: #d4b48d; +} + +[data-emoji-set="google"] .skin-tone-4 { + background-color: #aa876b; +} + +[data-emoji-set="google"] .skin-tone-5 { + background-color: #916544; +} + +[data-emoji-set="google"] .skin-tone-6 { + background-color: #61493f; +} + +[data-emoji-set="facebook"] .skin-tone:after { + border-color: rgba(0, 0, 0, .4); + box-shadow: inset 0 -2px 3px #000, inset 0 1px 4px #fff; +} + +[data-emoji-set="facebook"] .skin-tone-1 { + background-color: #f5c748; +} + +[data-emoji-set="facebook"] .skin-tone-2 { + background-color: #f1d5aa; +} + +[data-emoji-set="facebook"] .skin-tone-3 { + background-color: #d4b48d; +} + +[data-emoji-set="facebook"] .skin-tone-4 { + background-color: #aa876b; +} + +[data-emoji-set="facebook"] .skin-tone-5 { + background-color: #916544; +} + +[data-emoji-set="facebook"] .skin-tone-6 { + background-color: #61493f; +} + +`;export{g as Data,Je as Emoji,Fe as FrequentlyUsed,w as I18n,Ze as Picker,bt as SafeFlags,L as SearchIndex,E as Store,G as init}; diff --git a/web-dist/js/chunks/module-Conw_xFM.mjs.gz b/web-dist/js/chunks/module-Conw_xFM.mjs.gz new file mode 100644 index 0000000000..2a53082a02 Binary files /dev/null and b/web-dist/js/chunks/module-Conw_xFM.mjs.gz differ diff --git a/web-dist/js/chunks/mscgen-BA5vi2Kp.mjs b/web-dist/js/chunks/mscgen-BA5vi2Kp.mjs new file mode 100644 index 0000000000..670ef1b4ad --- /dev/null +++ b/web-dist/js/chunks/mscgen-BA5vi2Kp.mjs @@ -0,0 +1 @@ +function c(t){return{name:"mscgen",startState:i,copyState:s,token:u(t),languageData:{commentTokens:{line:"#",block:{open:"/*",close:"*/"}}}}}const a=c({keywords:["msc"],options:["hscale","width","arcgradient","wordwraparcs"],constants:["true","false","on","off"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}),l=c({keywords:null,options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}),b=c({keywords:["msc","xu"],options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip","title","deactivate","activate","activation"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]});function n(t){return new RegExp("^\\b("+t.join("|")+")\\b","i")}function o(t){return new RegExp("^(?:"+t.join("|")+")","i")}function i(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function s(t){return{inComment:t.inComment,inString:t.inString,inAttributeList:t.inAttributeList,inScript:t.inScript}}function u(t){return function(r,e){if(r.match(o(t.brackets),!0,!0))return"bracket";if(!e.inComment){if(r.match(/\/\*[^\*\/]*/,!0,!0))return e.inComment=!0,"comment";if(r.match(o(t.singlecomment),!0,!0))return r.skipToEnd(),"comment"}if(e.inComment)return r.match(/[^\*\/]*\*\//,!0,!0)?e.inComment=!1:r.skipToEnd(),"comment";if(!e.inString&&r.match(/\"(\\\"|[^\"])*/,!0,!0))return e.inString=!0,"string";if(e.inString)return r.match(/[^\"]*\"/,!0,!0)?e.inString=!1:r.skipToEnd(),"string";if(t.keywords&&r.match(n(t.keywords),!0,!0)||r.match(n(t.options),!0,!0)||r.match(n(t.arcsWords),!0,!0)||r.match(o(t.arcsOthers),!0,!0))return"keyword";if(t.operators&&r.match(o(t.operators),!0,!0))return"operator";if(t.constants&&r.match(o(t.constants),!0,!0))return"variable";if(!t.inAttributeList&&t.attributes&&r.match("[",!0,!0))return t.inAttributeList=!0,"bracket";if(t.inAttributeList){if(t.attributes!==null&&r.match(n(t.attributes),!0,!0))return"attribute";if(r.match("]",!0,!0))return t.inAttributeList=!1,"bracket"}return r.next(),null}}export{a as mscgen,l as msgenny,b as xu}; diff --git a/web-dist/js/chunks/mscgen-BA5vi2Kp.mjs.gz b/web-dist/js/chunks/mscgen-BA5vi2Kp.mjs.gz new file mode 100644 index 0000000000..b803b85340 Binary files /dev/null and b/web-dist/js/chunks/mscgen-BA5vi2Kp.mjs.gz differ diff --git a/web-dist/js/chunks/mumps-BT43cFF4.mjs b/web-dist/js/chunks/mumps-BT43cFF4.mjs new file mode 100644 index 0000000000..cc81bd160d --- /dev/null +++ b/web-dist/js/chunks/mumps-BT43cFF4.mjs @@ -0,0 +1 @@ +function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var i=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),$=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),t=new RegExp("^[\\.,:]"),c=new RegExp("[()]"),l=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),a=["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"],d=["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"],u=o(d),f=o(a);function m(e,n){e.sol()&&(n.label=!0,n.commandMode=0);var r=e.peek();return r==" "||r==" "?(n.label=!1,n.commandMode==0?n.commandMode=1:(n.commandMode<0||n.commandMode==2)&&(n.commandMode=0)):r!="."&&n.commandMode>0&&(r==":"?n.commandMode=-1:n.commandMode=2),(r==="("||r===" ")&&(n.label=!1),r===";"?(e.skipToEnd(),"comment"):e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":r=='"'?e.skipTo('"')?(e.next(),"string"):(e.skipToEnd(),"error"):e.match($)||e.match(i)?"operator":e.match(t)?null:c.test(r)?(e.next(),"bracket"):n.commandMode>0&&e.match(f)?"controlKeyword":e.match(u)?"builtin":e.match(l)?"variable":r==="$"||r==="^"?(e.next(),"builtin"):r==="@"?(e.next(),"string.special"):/[\w%]/.test(r)?(e.eatWhile(/[\w%]/),"variable"):(e.next(),"error")}const s={name:"mumps",startState:function(){return{label:!1,commandMode:0}},token:function(e,n){var r=m(e,n);return n.label?"tag":r}};export{s as mumps}; diff --git a/web-dist/js/chunks/mumps-BT43cFF4.mjs.gz b/web-dist/js/chunks/mumps-BT43cFF4.mjs.gz new file mode 100644 index 0000000000..621c8c9fe9 Binary files /dev/null and b/web-dist/js/chunks/mumps-BT43cFF4.mjs.gz differ diff --git a/web-dist/js/chunks/native-48B9X9Wg.mjs b/web-dist/js/chunks/native-48B9X9Wg.mjs new file mode 100644 index 0000000000..f5ea68bb46 --- /dev/null +++ b/web-dist/js/chunks/native-48B9X9Wg.mjs @@ -0,0 +1 @@ +const e=JSON.parse('[{"id":"people","emojis":["grinning","smiley","smile","grin","laughing","sweat_smile","rolling_on_the_floor_laughing","joy","slightly_smiling_face","upside_down_face","melting_face","wink","blush","innocent","smiling_face_with_3_hearts","heart_eyes","star-struck","kissing_heart","kissing","relaxed","kissing_closed_eyes","kissing_smiling_eyes","smiling_face_with_tear","yum","stuck_out_tongue","stuck_out_tongue_winking_eye","zany_face","stuck_out_tongue_closed_eyes","money_mouth_face","hugging_face","face_with_hand_over_mouth","face_with_open_eyes_and_hand_over_mouth","face_with_peeking_eye","shushing_face","thinking_face","saluting_face","zipper_mouth_face","face_with_raised_eyebrow","neutral_face","expressionless","no_mouth","dotted_line_face","face_in_clouds","smirk","unamused","face_with_rolling_eyes","grimacing","face_exhaling","lying_face","shaking_face","relieved","pensive","sleepy","drooling_face","sleeping","mask","face_with_thermometer","face_with_head_bandage","nauseated_face","face_vomiting","sneezing_face","hot_face","cold_face","woozy_face","dizzy_face","face_with_spiral_eyes","exploding_head","face_with_cowboy_hat","partying_face","disguised_face","sunglasses","nerd_face","face_with_monocle","confused","face_with_diagonal_mouth","worried","slightly_frowning_face","white_frowning_face","open_mouth","hushed","astonished","flushed","pleading_face","face_holding_back_tears","frowning","anguished","fearful","cold_sweat","disappointed_relieved","cry","sob","scream","confounded","persevere","disappointed","sweat","weary","tired_face","yawning_face","triumph","rage","angry","face_with_symbols_on_mouth","smiling_imp","imp","skull","skull_and_crossbones","hankey","clown_face","japanese_ogre","japanese_goblin","ghost","alien","space_invader","wave","raised_back_of_hand","raised_hand_with_fingers_splayed","hand","spock-hand","rightwards_hand","leftwards_hand","palm_down_hand","palm_up_hand","leftwards_pushing_hand","rightwards_pushing_hand","ok_hand","pinched_fingers","pinching_hand","v","crossed_fingers","hand_with_index_finger_and_thumb_crossed","i_love_you_hand_sign","the_horns","call_me_hand","point_left","point_right","point_up_2","middle_finger","point_down","point_up","index_pointing_at_the_viewer","+1","-1","fist","facepunch","left-facing_fist","right-facing_fist","clap","raised_hands","heart_hands","open_hands","palms_up_together","handshake","pray","writing_hand","nail_care","selfie","muscle","mechanical_arm","mechanical_leg","leg","foot","ear","ear_with_hearing_aid","nose","brain","anatomical_heart","lungs","tooth","bone","eyes","eye","tongue","lips","biting_lip","baby","child","boy","girl","adult","person_with_blond_hair","man","bearded_person","man_with_beard","woman_with_beard","red_haired_man","curly_haired_man","white_haired_man","bald_man","woman","red_haired_woman","red_haired_person","curly_haired_woman","curly_haired_person","white_haired_woman","white_haired_person","bald_woman","bald_person","blond-haired-woman","blond-haired-man","older_adult","older_man","older_woman","person_frowning","man-frowning","woman-frowning","person_with_pouting_face","man-pouting","woman-pouting","no_good","man-gesturing-no","woman-gesturing-no","ok_woman","man-gesturing-ok","woman-gesturing-ok","information_desk_person","man-tipping-hand","woman-tipping-hand","raising_hand","man-raising-hand","woman-raising-hand","deaf_person","deaf_man","deaf_woman","bow","man-bowing","woman-bowing","face_palm","man-facepalming","woman-facepalming","shrug","man-shrugging","woman-shrugging","health_worker","male-doctor","female-doctor","student","male-student","female-student","teacher","male-teacher","female-teacher","judge","male-judge","female-judge","farmer","male-farmer","female-farmer","cook","male-cook","female-cook","mechanic","male-mechanic","female-mechanic","factory_worker","male-factory-worker","female-factory-worker","office_worker","male-office-worker","female-office-worker","scientist","male-scientist","female-scientist","technologist","male-technologist","female-technologist","singer","male-singer","female-singer","artist","male-artist","female-artist","pilot","male-pilot","female-pilot","astronaut","male-astronaut","female-astronaut","firefighter","male-firefighter","female-firefighter","cop","male-police-officer","female-police-officer","sleuth_or_spy","male-detective","female-detective","guardsman","male-guard","female-guard","ninja","construction_worker","male-construction-worker","female-construction-worker","person_with_crown","prince","princess","man_with_turban","man-wearing-turban","woman-wearing-turban","man_with_gua_pi_mao","person_with_headscarf","person_in_tuxedo","man_in_tuxedo","woman_in_tuxedo","bride_with_veil","man_with_veil","woman_with_veil","pregnant_woman","pregnant_man","pregnant_person","breast-feeding","woman_feeding_baby","man_feeding_baby","person_feeding_baby","angel","santa","mrs_claus","mx_claus","superhero","male_superhero","female_superhero","supervillain","male_supervillain","female_supervillain","mage","male_mage","female_mage","fairy","male_fairy","female_fairy","vampire","male_vampire","female_vampire","merperson","merman","mermaid","elf","male_elf","female_elf","genie","male_genie","female_genie","zombie","male_zombie","female_zombie","troll","massage","man-getting-massage","woman-getting-massage","haircut","man-getting-haircut","woman-getting-haircut","walking","man-walking","woman-walking","standing_person","man_standing","woman_standing","kneeling_person","man_kneeling","woman_kneeling","person_with_probing_cane","man_with_probing_cane","woman_with_probing_cane","person_in_motorized_wheelchair","man_in_motorized_wheelchair","woman_in_motorized_wheelchair","person_in_manual_wheelchair","man_in_manual_wheelchair","woman_in_manual_wheelchair","runner","man-running","woman-running","dancer","man_dancing","man_in_business_suit_levitating","dancers","men-with-bunny-ears-partying","women-with-bunny-ears-partying","person_in_steamy_room","man_in_steamy_room","woman_in_steamy_room","person_climbing","man_climbing","woman_climbing","fencer","horse_racing","skier","snowboarder","golfer","man-golfing","woman-golfing","surfer","man-surfing","woman-surfing","rowboat","man-rowing-boat","woman-rowing-boat","swimmer","man-swimming","woman-swimming","person_with_ball","man-bouncing-ball","woman-bouncing-ball","weight_lifter","man-lifting-weights","woman-lifting-weights","bicyclist","man-biking","woman-biking","mountain_bicyclist","man-mountain-biking","woman-mountain-biking","person_doing_cartwheel","man-cartwheeling","woman-cartwheeling","wrestlers","man-wrestling","woman-wrestling","water_polo","man-playing-water-polo","woman-playing-water-polo","handball","man-playing-handball","woman-playing-handball","juggling","man-juggling","woman-juggling","person_in_lotus_position","man_in_lotus_position","woman_in_lotus_position","bath","sleeping_accommodation","people_holding_hands","two_women_holding_hands","man_and_woman_holding_hands","two_men_holding_hands","couplekiss","woman-kiss-man","man-kiss-man","woman-kiss-woman","couple_with_heart","woman-heart-man","man-heart-man","woman-heart-woman","family","man-woman-boy","man-woman-girl","man-woman-girl-boy","man-woman-boy-boy","man-woman-girl-girl","man-man-boy","man-man-girl","man-man-girl-boy","man-man-boy-boy","man-man-girl-girl","woman-woman-boy","woman-woman-girl","woman-woman-girl-boy","woman-woman-boy-boy","woman-woman-girl-girl","man-boy","man-boy-boy","man-girl","man-girl-boy","man-girl-girl","woman-boy","woman-boy-boy","woman-girl","woman-girl-boy","woman-girl-girl","speaking_head_in_silhouette","bust_in_silhouette","busts_in_silhouette","people_hugging","footprints","robot_face","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","see_no_evil","hear_no_evil","speak_no_evil","love_letter","cupid","gift_heart","sparkling_heart","heartpulse","heartbeat","revolving_hearts","two_hearts","heart_decoration","heavy_heart_exclamation_mark_ornament","broken_heart","heart_on_fire","mending_heart","heart","pink_heart","orange_heart","yellow_heart","green_heart","blue_heart","light_blue_heart","purple_heart","brown_heart","black_heart","grey_heart","white_heart","kiss","100","anger","boom","dizzy","sweat_drops","dash","hole","speech_balloon","eye-in-speech-bubble","left_speech_bubble","right_anger_bubble","thought_balloon","zzz"]},{"id":"nature","emojis":["monkey_face","monkey","gorilla","orangutan","dog","dog2","guide_dog","service_dog","poodle","wolf","fox_face","raccoon","cat","cat2","black_cat","lion_face","tiger","tiger2","leopard","horse","moose","donkey","racehorse","unicorn_face","zebra_face","deer","bison","cow","ox","water_buffalo","cow2","pig","pig2","boar","pig_nose","ram","sheep","goat","dromedary_camel","camel","llama","giraffe_face","elephant","mammoth","rhinoceros","hippopotamus","mouse","mouse2","rat","hamster","rabbit","rabbit2","chipmunk","beaver","hedgehog","bat","bear","polar_bear","koala","panda_face","sloth","otter","skunk","kangaroo","badger","feet","turkey","chicken","rooster","hatching_chick","baby_chick","hatched_chick","bird","penguin","dove_of_peace","eagle","duck","swan","owl","dodo","feather","flamingo","peacock","parrot","wing","black_bird","goose","frog","crocodile","turtle","lizard","snake","dragon_face","dragon","sauropod","t-rex","whale","whale2","dolphin","seal","fish","tropical_fish","blowfish","shark","octopus","shell","coral","jellyfish","snail","butterfly","bug","ant","bee","beetle","ladybug","cricket","cockroach","spider","spider_web","scorpion","mosquito","fly","worm","microbe","bouquet","cherry_blossom","white_flower","lotus","rosette","rose","wilted_flower","hibiscus","sunflower","blossom","tulip","hyacinth","seedling","potted_plant","evergreen_tree","deciduous_tree","palm_tree","cactus","ear_of_rice","herb","shamrock","four_leaf_clover","maple_leaf","fallen_leaf","leaves","empty_nest","nest_with_eggs","mushroom"]},{"id":"foods","emojis":["grapes","melon","watermelon","tangerine","lemon","banana","pineapple","mango","apple","green_apple","pear","peach","cherries","strawberry","blueberries","kiwifruit","tomato","olive","coconut","avocado","eggplant","potato","carrot","corn","hot_pepper","bell_pepper","cucumber","leafy_green","broccoli","garlic","onion","peanuts","beans","chestnut","ginger_root","pea_pod","bread","croissant","baguette_bread","flatbread","pretzel","bagel","pancakes","waffle","cheese_wedge","meat_on_bone","poultry_leg","cut_of_meat","bacon","hamburger","fries","pizza","hotdog","sandwich","taco","burrito","tamale","stuffed_flatbread","falafel","egg","fried_egg","shallow_pan_of_food","stew","fondue","bowl_with_spoon","green_salad","popcorn","butter","salt","canned_food","bento","rice_cracker","rice_ball","rice","curry","ramen","spaghetti","sweet_potato","oden","sushi","fried_shrimp","fish_cake","moon_cake","dango","dumpling","fortune_cookie","takeout_box","crab","lobster","shrimp","squid","oyster","icecream","shaved_ice","ice_cream","doughnut","cookie","birthday","cake","cupcake","pie","chocolate_bar","candy","lollipop","custard","honey_pot","baby_bottle","glass_of_milk","coffee","teapot","tea","sake","champagne","wine_glass","cocktail","tropical_drink","beer","beers","clinking_glasses","tumbler_glass","pouring_liquid","cup_with_straw","bubble_tea","beverage_box","mate_drink","ice_cube","chopsticks","knife_fork_plate","fork_and_knife","spoon","hocho","jar","amphora"]},{"id":"activity","emojis":["jack_o_lantern","christmas_tree","fireworks","sparkler","firecracker","sparkles","balloon","tada","confetti_ball","tanabata_tree","bamboo","dolls","flags","wind_chime","rice_scene","red_envelope","ribbon","gift","reminder_ribbon","admission_tickets","ticket","medal","trophy","sports_medal","first_place_medal","second_place_medal","third_place_medal","soccer","baseball","softball","basketball","volleyball","football","rugby_football","tennis","flying_disc","bowling","cricket_bat_and_ball","field_hockey_stick_and_ball","ice_hockey_stick_and_puck","lacrosse","table_tennis_paddle_and_ball","badminton_racquet_and_shuttlecock","boxing_glove","martial_arts_uniform","goal_net","golf","ice_skate","fishing_pole_and_fish","diving_mask","running_shirt_with_sash","ski","sled","curling_stone","dart","yo-yo","kite","gun","8ball","crystal_ball","magic_wand","video_game","joystick","slot_machine","game_die","jigsaw","teddy_bear","pinata","mirror_ball","nesting_dolls","spades","hearts","diamonds","clubs","chess_pawn","black_joker","mahjong","flower_playing_cards","performing_arts","frame_with_picture","art","thread","sewing_needle","yarn","knot"]},{"id":"places","emojis":["earth_africa","earth_americas","earth_asia","globe_with_meridians","world_map","japan","compass","snow_capped_mountain","mountain","volcano","mount_fuji","camping","beach_with_umbrella","desert","desert_island","national_park","stadium","classical_building","building_construction","bricks","rock","wood","hut","house_buildings","derelict_house_building","house","house_with_garden","office","post_office","european_post_office","hospital","bank","hotel","love_hotel","convenience_store","school","department_store","factory","japanese_castle","european_castle","wedding","tokyo_tower","statue_of_liberty","church","mosque","hindu_temple","synagogue","shinto_shrine","kaaba","fountain","tent","foggy","night_with_stars","cityscape","sunrise_over_mountains","sunrise","city_sunset","city_sunrise","bridge_at_night","hotsprings","carousel_horse","playground_slide","ferris_wheel","roller_coaster","barber","circus_tent","steam_locomotive","railway_car","bullettrain_side","bullettrain_front","train2","metro","light_rail","station","tram","monorail","mountain_railway","train","bus","oncoming_bus","trolleybus","minibus","ambulance","fire_engine","police_car","oncoming_police_car","taxi","oncoming_taxi","car","oncoming_automobile","blue_car","pickup_truck","truck","articulated_lorry","tractor","racing_car","racing_motorcycle","motor_scooter","manual_wheelchair","motorized_wheelchair","auto_rickshaw","bike","scooter","skateboard","roller_skate","busstop","motorway","railway_track","oil_drum","fuelpump","wheel","rotating_light","traffic_light","vertical_traffic_light","octagonal_sign","construction","anchor","ring_buoy","boat","canoe","speedboat","passenger_ship","ferry","motor_boat","ship","airplane","small_airplane","airplane_departure","airplane_arriving","parachute","seat","helicopter","suspension_railway","mountain_cableway","aerial_tramway","satellite","rocket","flying_saucer","bellhop_bell","luggage","hourglass","hourglass_flowing_sand","watch","alarm_clock","stopwatch","timer_clock","mantelpiece_clock","clock12","clock1230","clock1","clock130","clock2","clock230","clock3","clock330","clock4","clock430","clock5","clock530","clock6","clock630","clock7","clock730","clock8","clock830","clock9","clock930","clock10","clock1030","clock11","clock1130","new_moon","waxing_crescent_moon","first_quarter_moon","moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","crescent_moon","new_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","thermometer","sunny","full_moon_with_face","sun_with_face","ringed_planet","star","star2","stars","milky_way","cloud","partly_sunny","thunder_cloud_and_rain","mostly_sunny","barely_sunny","partly_sunny_rain","rain_cloud","snow_cloud","lightning","tornado","fog","wind_blowing_face","cyclone","rainbow","closed_umbrella","umbrella","umbrella_with_rain_drops","umbrella_on_ground","zap","snowflake","snowman","snowman_without_snow","comet","fire","droplet","ocean"]},{"id":"objects","emojis":["eyeglasses","dark_sunglasses","goggles","lab_coat","safety_vest","necktie","shirt","jeans","scarf","gloves","coat","socks","dress","kimono","sari","one-piece_swimsuit","briefs","shorts","bikini","womans_clothes","folding_hand_fan","purse","handbag","pouch","shopping_bags","school_satchel","thong_sandal","mans_shoe","athletic_shoe","hiking_boot","womans_flat_shoe","high_heel","sandal","ballet_shoes","boot","hair_pick","crown","womans_hat","tophat","mortar_board","billed_cap","military_helmet","helmet_with_white_cross","prayer_beads","lipstick","ring","gem","mute","speaker","sound","loud_sound","loudspeaker","mega","postal_horn","bell","no_bell","musical_score","musical_note","notes","studio_microphone","level_slider","control_knobs","microphone","headphones","radio","saxophone","accordion","guitar","musical_keyboard","trumpet","violin","banjo","drum_with_drumsticks","long_drum","maracas","flute","iphone","calling","phone","telephone_receiver","pager","fax","battery","low_battery","electric_plug","computer","desktop_computer","printer","keyboard","three_button_mouse","trackball","minidisc","floppy_disk","cd","dvd","abacus","movie_camera","film_frames","film_projector","clapper","tv","camera","camera_with_flash","video_camera","vhs","mag","mag_right","candle","bulb","flashlight","izakaya_lantern","diya_lamp","notebook_with_decorative_cover","closed_book","book","green_book","blue_book","orange_book","books","notebook","ledger","page_with_curl","scroll","page_facing_up","newspaper","rolled_up_newspaper","bookmark_tabs","bookmark","label","moneybag","coin","yen","dollar","euro","pound","money_with_wings","credit_card","receipt","chart","email","e-mail","incoming_envelope","envelope_with_arrow","outbox_tray","inbox_tray","package","mailbox","mailbox_closed","mailbox_with_mail","mailbox_with_no_mail","postbox","ballot_box_with_ballot","pencil2","black_nib","lower_left_fountain_pen","lower_left_ballpoint_pen","lower_left_paintbrush","lower_left_crayon","memo","briefcase","file_folder","open_file_folder","card_index_dividers","date","calendar","spiral_note_pad","spiral_calendar_pad","card_index","chart_with_upwards_trend","chart_with_downwards_trend","bar_chart","clipboard","pushpin","round_pushpin","paperclip","linked_paperclips","straight_ruler","triangular_ruler","scissors","card_file_box","file_cabinet","wastebasket","lock","unlock","lock_with_ink_pen","closed_lock_with_key","key","old_key","hammer","axe","pick","hammer_and_pick","hammer_and_wrench","dagger_knife","crossed_swords","bomb","boomerang","bow_and_arrow","shield","carpentry_saw","wrench","screwdriver","nut_and_bolt","gear","compression","scales","probing_cane","link","chains","hook","toolbox","magnet","ladder","alembic","test_tube","petri_dish","dna","microscope","telescope","satellite_antenna","syringe","drop_of_blood","pill","adhesive_bandage","crutch","stethoscope","x-ray","door","elevator","mirror","window","bed","couch_and_lamp","chair","toilet","plunger","shower","bathtub","mouse_trap","razor","lotion_bottle","safety_pin","broom","basket","roll_of_paper","bucket","soap","bubbles","toothbrush","sponge","fire_extinguisher","shopping_trolley","smoking","coffin","headstone","funeral_urn","nazar_amulet","hamsa","moyai","placard","identification_card"]},{"id":"symbols","emojis":["atm","put_litter_in_its_place","potable_water","wheelchair","mens","womens","restroom","baby_symbol","wc","passport_control","customs","baggage_claim","left_luggage","warning","children_crossing","no_entry","no_entry_sign","no_bicycles","no_smoking","do_not_litter","non-potable_water","no_pedestrians","no_mobile_phones","underage","radioactive_sign","biohazard_sign","arrow_up","arrow_upper_right","arrow_right","arrow_lower_right","arrow_down","arrow_lower_left","arrow_left","arrow_upper_left","arrow_up_down","left_right_arrow","leftwards_arrow_with_hook","arrow_right_hook","arrow_heading_up","arrow_heading_down","arrows_clockwise","arrows_counterclockwise","back","end","on","soon","top","place_of_worship","atom_symbol","om_symbol","star_of_david","wheel_of_dharma","yin_yang","latin_cross","orthodox_cross","star_and_crescent","peace_symbol","menorah_with_nine_branches","six_pointed_star","khanda","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","ophiuchus","twisted_rightwards_arrows","repeat","repeat_one","arrow_forward","fast_forward","black_right_pointing_double_triangle_with_vertical_bar","black_right_pointing_triangle_with_double_vertical_bar","arrow_backward","rewind","black_left_pointing_double_triangle_with_vertical_bar","arrow_up_small","arrow_double_up","arrow_down_small","arrow_double_down","double_vertical_bar","black_square_for_stop","black_circle_for_record","eject","cinema","low_brightness","high_brightness","signal_strength","wireless","vibration_mode","mobile_phone_off","female_sign","male_sign","transgender_symbol","heavy_multiplication_x","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","heavy_equals_sign","infinity","bangbang","interrobang","question","grey_question","grey_exclamation","exclamation","wavy_dash","currency_exchange","heavy_dollar_sign","medical_symbol","recycle","fleur_de_lis","trident","name_badge","beginner","o","white_check_mark","ballot_box_with_check","heavy_check_mark","x","negative_squared_cross_mark","curly_loop","loop","part_alternation_mark","eight_spoked_asterisk","eight_pointed_black_star","sparkle","copyright","registered","tm","hash","keycap_star","zero","one","two","three","four","five","six","seven","eight","nine","keycap_ten","capital_abcd","abcd","1234","symbols","abc","a","ab","b","cl","cool","free","information_source","id","m","new","ng","o2","ok","parking","sos","up","vs","koko","sa","u6708","u6709","u6307","ideograph_advantage","u5272","u7121","u7981","accept","u7533","u5408","u7a7a","congratulations","secret","u55b6","u6e80","red_circle","large_orange_circle","large_yellow_circle","large_green_circle","large_blue_circle","large_purple_circle","large_brown_circle","black_circle","white_circle","large_red_square","large_orange_square","large_yellow_square","large_green_square","large_blue_square","large_purple_square","large_brown_square","black_large_square","white_large_square","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_small_square","white_small_square","large_orange_diamond","large_blue_diamond","small_orange_diamond","small_blue_diamond","small_red_triangle","small_red_triangle_down","diamond_shape_with_a_dot_inside","radio_button","white_square_button","black_square_button"]},{"id":"flags","emojis":["checkered_flag","cn","crossed_flags","de","es","flag-ac","flag-ad","flag-ae","flag-af","flag-ag","flag-ai","flag-al","flag-am","flag-ao","flag-aq","flag-ar","flag-as","flag-at","flag-au","flag-aw","flag-ax","flag-az","flag-ba","flag-bb","flag-bd","flag-be","flag-bf","flag-bg","flag-bh","flag-bi","flag-bj","flag-bl","flag-bm","flag-bn","flag-bo","flag-bq","flag-br","flag-bs","flag-bt","flag-bv","flag-bw","flag-by","flag-bz","flag-ca","flag-cc","flag-cd","flag-cf","flag-cg","flag-ch","flag-ci","flag-ck","flag-cl","flag-cm","flag-co","flag-cp","flag-cr","flag-cu","flag-cv","flag-cw","flag-cx","flag-cy","flag-cz","flag-dg","flag-dj","flag-dk","flag-dm","flag-do","flag-dz","flag-ea","flag-ec","flag-ee","flag-eg","flag-eh","flag-england","flag-er","flag-et","flag-eu","flag-fi","flag-fj","flag-fk","flag-fm","flag-fo","flag-ga","flag-gd","flag-ge","flag-gf","flag-gg","flag-gh","flag-gi","flag-gl","flag-gm","flag-gn","flag-gp","flag-gq","flag-gr","flag-gs","flag-gt","flag-gu","flag-gw","flag-gy","flag-hk","flag-hm","flag-hn","flag-hr","flag-ht","flag-hu","flag-ic","flag-id","flag-ie","flag-il","flag-im","flag-in","flag-io","flag-iq","flag-ir","flag-is","flag-je","flag-jm","flag-jo","flag-ke","flag-kg","flag-kh","flag-ki","flag-km","flag-kn","flag-kp","flag-kw","flag-ky","flag-kz","flag-la","flag-lb","flag-lc","flag-li","flag-lk","flag-lr","flag-ls","flag-lt","flag-lu","flag-lv","flag-ly","flag-ma","flag-mc","flag-md","flag-me","flag-mf","flag-mg","flag-mh","flag-mk","flag-ml","flag-mm","flag-mn","flag-mo","flag-mp","flag-mq","flag-mr","flag-ms","flag-mt","flag-mu","flag-mv","flag-mw","flag-mx","flag-my","flag-mz","flag-na","flag-nc","flag-ne","flag-nf","flag-ng","flag-ni","flag-nl","flag-no","flag-np","flag-nr","flag-nu","flag-nz","flag-om","flag-pa","flag-pe","flag-pf","flag-pg","flag-ph","flag-pk","flag-pl","flag-pm","flag-pn","flag-pr","flag-ps","flag-pt","flag-pw","flag-py","flag-qa","flag-re","flag-ro","flag-rs","flag-rw","flag-sa","flag-sb","flag-sc","flag-scotland","flag-sd","flag-se","flag-sg","flag-sh","flag-si","flag-sj","flag-sk","flag-sl","flag-sm","flag-sn","flag-so","flag-sr","flag-ss","flag-st","flag-sv","flag-sx","flag-sy","flag-sz","flag-ta","flag-tc","flag-td","flag-tf","flag-tg","flag-th","flag-tj","flag-tk","flag-tl","flag-tm","flag-tn","flag-to","flag-tr","flag-tt","flag-tv","flag-tw","flag-tz","flag-ua","flag-ug","flag-um","flag-un","flag-uy","flag-uz","flag-va","flag-vc","flag-ve","flag-vg","flag-vi","flag-vn","flag-vu","flag-wales","flag-wf","flag-ws","flag-xk","flag-ye","flag-yt","flag-za","flag-zm","flag-zw","fr","gb","it","jp","kr","pirate_flag","rainbow-flag","ru","transgender_flag","triangular_flag_on_post","us","waving_black_flag","waving_white_flag"]}]'),i=JSON.parse(`{"100":{"id":"100","name":"Hundred Points","keywords":["100","score","perfect","numbers","century","exam","quiz","test","pass"],"skins":[{"unified":"1f4af","native":"💯"}],"version":1},"1234":{"id":"1234","name":"Input Numbers","keywords":["1234","blue","square","1","2","3","4"],"skins":[{"unified":"1f522","native":"🔢"}],"version":1},"grinning":{"id":"grinning","name":"Grinning Face","emoticons":[":D"],"keywords":["smile","happy","joy",":D","grin"],"skins":[{"unified":"1f600","native":"😀"}],"version":1},"smiley":{"id":"smiley","name":"Grinning Face with Big Eyes","emoticons":[":)","=)","=-)"],"keywords":["smiley","happy","joy","haha",":D",":)","smile","funny"],"skins":[{"unified":"1f603","native":"😃"}],"version":1},"smile":{"id":"smile","name":"Grinning Face with Smiling Eyes","emoticons":[":)","C:","c:",":D",":-D"],"keywords":["smile","happy","joy","funny","haha","laugh","like",":D",":)"],"skins":[{"unified":"1f604","native":"😄"}],"version":1},"grin":{"id":"grin","name":"Beaming Face with Smiling Eyes","keywords":["grin","happy","smile","joy","kawaii"],"skins":[{"unified":"1f601","native":"😁"}],"version":1},"laughing":{"id":"laughing","name":"Grinning Squinting Face","emoticons":[":>",":->"],"keywords":["laughing","satisfied","happy","joy","lol","haha","glad","XD","laugh"],"skins":[{"unified":"1f606","native":"😆"}],"version":1},"sweat_smile":{"id":"sweat_smile","name":"Grinning Face with Sweat","keywords":["smile","hot","happy","laugh","relief"],"skins":[{"unified":"1f605","native":"😅"}],"version":1},"rolling_on_the_floor_laughing":{"id":"rolling_on_the_floor_laughing","name":"Rolling on the Floor Laughing","keywords":["face","lol","haha","rofl"],"skins":[{"unified":"1f923","native":"🤣"}],"version":3},"joy":{"id":"joy","name":"Face with Tears of Joy","keywords":["cry","weep","happy","happytears","haha"],"skins":[{"unified":"1f602","native":"😂"}],"version":1},"slightly_smiling_face":{"id":"slightly_smiling_face","name":"Slightly Smiling Face","emoticons":[":)","(:",":-)"],"keywords":["smile"],"skins":[{"unified":"1f642","native":"🙂"}],"version":1},"upside_down_face":{"id":"upside_down_face","name":"Upside-Down Face","keywords":["upside","down","flipped","silly","smile"],"skins":[{"unified":"1f643","native":"🙃"}],"version":1},"melting_face":{"id":"melting_face","name":"Melting Face","keywords":["hot","heat"],"skins":[{"unified":"1fae0","native":"🫠"}],"version":14},"wink":{"id":"wink","name":"Winking Face","emoticons":[";)",";-)"],"keywords":["wink","happy","mischievous","secret",";)","smile","eye"],"skins":[{"unified":"1f609","native":"😉"}],"version":1},"blush":{"id":"blush","name":"Smiling Face with Smiling Eyes","emoticons":[":)"],"keywords":["blush","smile","happy","flushed","crush","embarrassed","shy","joy"],"skins":[{"unified":"1f60a","native":"😊"}],"version":1},"innocent":{"id":"innocent","name":"Smiling Face with Halo","keywords":["innocent","angel","heaven"],"skins":[{"unified":"1f607","native":"😇"}],"version":1},"smiling_face_with_3_hearts":{"id":"smiling_face_with_3_hearts","name":"Smiling Face with Hearts","keywords":["3","love","like","affection","valentines","infatuation","crush","adore"],"skins":[{"unified":"1f970","native":"🥰"}],"version":11},"heart_eyes":{"id":"heart_eyes","name":"Smiling Face with Heart-Eyes","keywords":["heart","eyes","love","like","affection","valentines","infatuation","crush"],"skins":[{"unified":"1f60d","native":"😍"}],"version":1},"star-struck":{"id":"star-struck","name":"Star-Struck","keywords":["star","struck","grinning","face","with","eyes","smile","starry"],"skins":[{"unified":"1f929","native":"🤩"}],"version":5},"kissing_heart":{"id":"kissing_heart","name":"Face Blowing a Kiss","emoticons":[":*",":-*"],"keywords":["kissing","heart","love","like","affection","valentines","infatuation"],"skins":[{"unified":"1f618","native":"😘"}],"version":1},"kissing":{"id":"kissing","name":"Kissing Face","keywords":["love","like","3","valentines","infatuation","kiss"],"skins":[{"unified":"1f617","native":"😗"}],"version":1},"relaxed":{"id":"relaxed","name":"Smiling Face","keywords":["relaxed","blush","massage","happiness"],"skins":[{"unified":"263a-fe0f","native":"☺️"}],"version":1},"kissing_closed_eyes":{"id":"kissing_closed_eyes","name":"Kissing Face with Closed Eyes","keywords":["love","like","affection","valentines","infatuation","kiss"],"skins":[{"unified":"1f61a","native":"😚"}],"version":1},"kissing_smiling_eyes":{"id":"kissing_smiling_eyes","name":"Kissing Face with Smiling Eyes","keywords":["affection","valentines","infatuation","kiss"],"skins":[{"unified":"1f619","native":"😙"}],"version":1},"smiling_face_with_tear":{"id":"smiling_face_with_tear","name":"Smiling Face with Tear","keywords":["sad","cry","pretend"],"skins":[{"unified":"1f972","native":"🥲"}],"version":13},"yum":{"id":"yum","name":"Face Savoring Food","keywords":["yum","happy","joy","tongue","smile","silly","yummy","nom","delicious","savouring"],"skins":[{"unified":"1f60b","native":"😋"}],"version":1},"stuck_out_tongue":{"id":"stuck_out_tongue","name":"Face with Tongue","emoticons":[":p",":-p",":P",":-P",":b",":-b"],"keywords":["stuck","out","prank","childish","playful","mischievous","smile"],"skins":[{"unified":"1f61b","native":"😛"}],"version":1},"stuck_out_tongue_winking_eye":{"id":"stuck_out_tongue_winking_eye","name":"Winking Face with Tongue","emoticons":[";p",";-p",";b",";-b",";P",";-P"],"keywords":["stuck","out","eye","prank","childish","playful","mischievous","smile","wink"],"skins":[{"unified":"1f61c","native":"😜"}],"version":1},"zany_face":{"id":"zany_face","name":"Zany Face","keywords":["grinning","with","one","large","and","small","eye","goofy","crazy"],"skins":[{"unified":"1f92a","native":"🤪"}],"version":5},"stuck_out_tongue_closed_eyes":{"id":"stuck_out_tongue_closed_eyes","name":"Squinting Face with Tongue","keywords":["stuck","out","closed","eyes","prank","playful","mischievous","smile"],"skins":[{"unified":"1f61d","native":"😝"}],"version":1},"money_mouth_face":{"id":"money_mouth_face","name":"Money-Mouth Face","keywords":["money","mouth","rich","dollar"],"skins":[{"unified":"1f911","native":"🤑"}],"version":1},"hugging_face":{"id":"hugging_face","name":"Hugging Face","keywords":["smile","hug"],"skins":[{"unified":"1f917","native":"🤗"}],"version":1},"face_with_hand_over_mouth":{"id":"face_with_hand_over_mouth","name":"Face with Hand over Mouth","keywords":["smiling","eyes","and","covering","whoops","shock","surprise"],"skins":[{"unified":"1f92d","native":"🤭"}],"version":5},"face_with_open_eyes_and_hand_over_mouth":{"id":"face_with_open_eyes_and_hand_over_mouth","name":"Face with Open Eyes and Hand over Mouth","keywords":["silence","secret","shock","surprise"],"skins":[{"unified":"1fae2","native":"🫢"}],"version":14},"face_with_peeking_eye":{"id":"face_with_peeking_eye","name":"Face with Peeking Eye","keywords":["scared","frightening","embarrassing","shy"],"skins":[{"unified":"1fae3","native":"🫣"}],"version":14},"shushing_face":{"id":"shushing_face","name":"Shushing Face","keywords":["with","finger","covering","closed","lips","quiet","shhh"],"skins":[{"unified":"1f92b","native":"🤫"}],"version":5},"thinking_face":{"id":"thinking_face","name":"Thinking Face","keywords":["hmmm","think","consider"],"skins":[{"unified":"1f914","native":"🤔"}],"version":1},"saluting_face":{"id":"saluting_face","name":"Saluting Face","keywords":["respect","salute"],"skins":[{"unified":"1fae1","native":"🫡"}],"version":14},"zipper_mouth_face":{"id":"zipper_mouth_face","name":"Zipper-Mouth Face","keywords":["zipper","mouth","sealed","secret"],"skins":[{"unified":"1f910","native":"🤐"}],"version":1},"face_with_raised_eyebrow":{"id":"face_with_raised_eyebrow","name":"Face with Raised Eyebrow","keywords":["one","distrust","scepticism","disapproval","disbelief","surprise"],"skins":[{"unified":"1f928","native":"🤨"}],"version":5},"neutral_face":{"id":"neutral_face","name":"Neutral Face","emoticons":[":|",":-|"],"keywords":["indifference","meh",":",""],"skins":[{"unified":"1f610","native":"😐"}],"version":1},"expressionless":{"id":"expressionless","name":"Expressionless Face","emoticons":["-_-"],"keywords":["indifferent","-","","meh","deadpan"],"skins":[{"unified":"1f611","native":"😑"}],"version":1},"no_mouth":{"id":"no_mouth","name":"Face Without Mouth","keywords":["no","hellokitty"],"skins":[{"unified":"1f636","native":"😶"}],"version":1},"dotted_line_face":{"id":"dotted_line_face","name":"Dotted Line Face","keywords":["invisible","lonely","isolation","depression"],"skins":[{"unified":"1fae5","native":"🫥"}],"version":14},"face_in_clouds":{"id":"face_in_clouds","name":"Face in Clouds","keywords":["shower","steam","dream"],"skins":[{"unified":"1f636-200d-1f32b-fe0f","native":"😶‍🌫️"}],"version":13.1},"smirk":{"id":"smirk","name":"Smirking Face","keywords":["smirk","smile","mean","prank","smug","sarcasm"],"skins":[{"unified":"1f60f","native":"😏"}],"version":1},"unamused":{"id":"unamused","name":"Unamused Face","emoticons":[":("],"keywords":["indifference","bored","straight","serious","sarcasm","unimpressed","skeptical","dubious","side","eye"],"skins":[{"unified":"1f612","native":"😒"}],"version":1},"face_with_rolling_eyes":{"id":"face_with_rolling_eyes","name":"Face with Rolling Eyes","keywords":["eyeroll","frustrated"],"skins":[{"unified":"1f644","native":"🙄"}],"version":1},"grimacing":{"id":"grimacing","name":"Grimacing Face","keywords":["grimace","teeth"],"skins":[{"unified":"1f62c","native":"😬"}],"version":1},"face_exhaling":{"id":"face_exhaling","name":"Face Exhaling","keywords":["relieve","relief","tired","sigh"],"skins":[{"unified":"1f62e-200d-1f4a8","native":"😮‍💨"}],"version":13.1},"lying_face":{"id":"lying_face","name":"Lying Face","keywords":["lie","pinocchio"],"skins":[{"unified":"1f925","native":"🤥"}],"version":3},"shaking_face":{"id":"shaking_face","name":"Shaking Face","keywords":["dizzy","shock","blurry","earthquake"],"skins":[{"unified":"1fae8","native":"🫨"}],"version":15},"relieved":{"id":"relieved","name":"Relieved Face","keywords":["relaxed","phew","massage","happiness"],"skins":[{"unified":"1f60c","native":"😌"}],"version":1},"pensive":{"id":"pensive","name":"Pensive Face","keywords":["sad","depressed","upset"],"skins":[{"unified":"1f614","native":"😔"}],"version":1},"sleepy":{"id":"sleepy","name":"Sleepy Face","keywords":["tired","rest","nap"],"skins":[{"unified":"1f62a","native":"😪"}],"version":1},"drooling_face":{"id":"drooling_face","name":"Drooling Face","keywords":[],"skins":[{"unified":"1f924","native":"🤤"}],"version":3},"sleeping":{"id":"sleeping","name":"Sleeping Face","keywords":["tired","sleepy","night","zzz"],"skins":[{"unified":"1f634","native":"😴"}],"version":1},"mask":{"id":"mask","name":"Face with Medical Mask","keywords":["sick","ill","disease","covid"],"skins":[{"unified":"1f637","native":"😷"}],"version":1},"face_with_thermometer":{"id":"face_with_thermometer","name":"Face with Thermometer","keywords":["sick","temperature","cold","fever","covid"],"skins":[{"unified":"1f912","native":"🤒"}],"version":1},"face_with_head_bandage":{"id":"face_with_head_bandage","name":"Face with Head-Bandage","keywords":["head","bandage","injured","clumsy","hurt"],"skins":[{"unified":"1f915","native":"🤕"}],"version":1},"nauseated_face":{"id":"nauseated_face","name":"Nauseated Face","keywords":["vomit","gross","green","sick","throw","up","ill"],"skins":[{"unified":"1f922","native":"🤢"}],"version":3},"face_vomiting":{"id":"face_vomiting","name":"Face Vomiting","keywords":["with","open","mouth","sick"],"skins":[{"unified":"1f92e","native":"🤮"}],"version":5},"sneezing_face":{"id":"sneezing_face","name":"Sneezing Face","keywords":["gesundheit","sneeze","sick","allergy"],"skins":[{"unified":"1f927","native":"🤧"}],"version":3},"hot_face":{"id":"hot_face","name":"Hot Face","keywords":["feverish","heat","red","sweating"],"skins":[{"unified":"1f975","native":"🥵"}],"version":11},"cold_face":{"id":"cold_face","name":"Cold Face","keywords":["blue","freezing","frozen","frostbite","icicles"],"skins":[{"unified":"1f976","native":"🥶"}],"version":11},"woozy_face":{"id":"woozy_face","name":"Woozy Face","keywords":["dizzy","intoxicated","tipsy","wavy"],"skins":[{"unified":"1f974","native":"🥴"}],"version":11},"dizzy_face":{"id":"dizzy_face","name":"Dizzy Face","keywords":["spent","unconscious","xox"],"skins":[{"unified":"1f635","native":"😵"}],"version":1},"face_with_spiral_eyes":{"id":"face_with_spiral_eyes","name":"Face with Spiral Eyes","keywords":["sick","ill","confused","nauseous","nausea"],"skins":[{"unified":"1f635-200d-1f4ab","native":"😵‍💫"}],"version":13.1},"exploding_head":{"id":"exploding_head","name":"Exploding Head","keywords":["shocked","face","with","mind","blown"],"skins":[{"unified":"1f92f","native":"🤯"}],"version":5},"face_with_cowboy_hat":{"id":"face_with_cowboy_hat","name":"Cowboy Hat Face","keywords":["with","cowgirl"],"skins":[{"unified":"1f920","native":"🤠"}],"version":3},"partying_face":{"id":"partying_face","name":"Partying Face","keywords":["celebration","woohoo"],"skins":[{"unified":"1f973","native":"🥳"}],"version":11},"disguised_face":{"id":"disguised_face","name":"Disguised Face","keywords":["pretent","brows","glasses","moustache"],"skins":[{"unified":"1f978","native":"🥸"}],"version":13},"sunglasses":{"id":"sunglasses","name":"Smiling Face with Sunglasses","emoticons":["8)"],"keywords":["cool","smile","summer","beach","sunglass"],"skins":[{"unified":"1f60e","native":"😎"}],"version":1},"nerd_face":{"id":"nerd_face","name":"Nerd Face","keywords":["nerdy","geek","dork"],"skins":[{"unified":"1f913","native":"🤓"}],"version":1},"face_with_monocle":{"id":"face_with_monocle","name":"Face with Monocle","keywords":["stuffy","wealthy"],"skins":[{"unified":"1f9d0","native":"🧐"}],"version":5},"confused":{"id":"confused","name":"Confused Face","emoticons":[":\\\\",":-\\\\",":/",":-/"],"keywords":["indifference","huh","weird","hmmm",":/"],"skins":[{"unified":"1f615","native":"😕"}],"version":1},"face_with_diagonal_mouth":{"id":"face_with_diagonal_mouth","name":"Face with Diagonal Mouth","keywords":["skeptic","confuse","frustrated","indifferent"],"skins":[{"unified":"1fae4","native":"🫤"}],"version":14},"worried":{"id":"worried","name":"Worried Face","keywords":["concern","nervous",":("],"skins":[{"unified":"1f61f","native":"😟"}],"version":1},"slightly_frowning_face":{"id":"slightly_frowning_face","name":"Slightly Frowning Face","keywords":["disappointed","sad","upset"],"skins":[{"unified":"1f641","native":"🙁"}],"version":1},"white_frowning_face":{"id":"white_frowning_face","name":"Frowning Face","keywords":["white","sad","upset","frown"],"skins":[{"unified":"2639-fe0f","native":"☹️"}],"version":1},"open_mouth":{"id":"open_mouth","name":"Face with Open Mouth","emoticons":[":o",":-o",":O",":-O"],"keywords":["surprise","impressed","wow","whoa",":O"],"skins":[{"unified":"1f62e","native":"😮"}],"version":1},"hushed":{"id":"hushed","name":"Hushed Face","keywords":["woo","shh"],"skins":[{"unified":"1f62f","native":"😯"}],"version":1},"astonished":{"id":"astonished","name":"Astonished Face","keywords":["xox","surprised","poisoned"],"skins":[{"unified":"1f632","native":"😲"}],"version":1},"flushed":{"id":"flushed","name":"Flushed Face","keywords":["blush","shy","flattered"],"skins":[{"unified":"1f633","native":"😳"}],"version":1},"pleading_face":{"id":"pleading_face","name":"Pleading Face","keywords":["begging","mercy","cry","tears","sad","grievance"],"skins":[{"unified":"1f97a","native":"🥺"}],"version":11},"face_holding_back_tears":{"id":"face_holding_back_tears","name":"Face Holding Back Tears","keywords":["touched","gratitude","cry"],"skins":[{"unified":"1f979","native":"🥹"}],"version":14},"frowning":{"id":"frowning","name":"Frowning Face with Open Mouth","keywords":["aw","what"],"skins":[{"unified":"1f626","native":"😦"}],"version":1},"anguished":{"id":"anguished","name":"Anguished Face","emoticons":["D:"],"keywords":["stunned","nervous"],"skins":[{"unified":"1f627","native":"😧"}],"version":1},"fearful":{"id":"fearful","name":"Fearful Face","keywords":["scared","terrified","nervous"],"skins":[{"unified":"1f628","native":"😨"}],"version":1},"cold_sweat":{"id":"cold_sweat","name":"Anxious Face with Sweat","keywords":["cold","nervous"],"skins":[{"unified":"1f630","native":"😰"}],"version":1},"disappointed_relieved":{"id":"disappointed_relieved","name":"Sad but Relieved Face","keywords":["disappointed","phew","sweat","nervous"],"skins":[{"unified":"1f625","native":"😥"}],"version":1},"cry":{"id":"cry","name":"Crying Face","emoticons":[":'("],"keywords":["cry","tears","sad","depressed","upset",":'("],"skins":[{"unified":"1f622","native":"😢"}],"version":1},"sob":{"id":"sob","name":"Loudly Crying Face","emoticons":[":'("],"keywords":["sob","cry","tears","sad","upset","depressed"],"skins":[{"unified":"1f62d","native":"😭"}],"version":1},"scream":{"id":"scream","name":"Face Screaming in Fear","keywords":["scream","munch","scared","omg"],"skins":[{"unified":"1f631","native":"😱"}],"version":1},"confounded":{"id":"confounded","name":"Confounded Face","keywords":["confused","sick","unwell","oops",":S"],"skins":[{"unified":"1f616","native":"😖"}],"version":1},"persevere":{"id":"persevere","name":"Persevering Face","keywords":["persevere","sick","no","upset","oops"],"skins":[{"unified":"1f623","native":"😣"}],"version":1},"disappointed":{"id":"disappointed","name":"Disappointed Face","emoticons":["):",":(",":-("],"keywords":["sad","upset","depressed",":("],"skins":[{"unified":"1f61e","native":"😞"}],"version":1},"sweat":{"id":"sweat","name":"Face with Cold Sweat","keywords":["downcast","hot","sad","tired","exercise"],"skins":[{"unified":"1f613","native":"😓"}],"version":1},"weary":{"id":"weary","name":"Weary Face","keywords":["tired","sleepy","sad","frustrated","upset"],"skins":[{"unified":"1f629","native":"😩"}],"version":1},"tired_face":{"id":"tired_face","name":"Tired Face","keywords":["sick","whine","upset","frustrated"],"skins":[{"unified":"1f62b","native":"😫"}],"version":1},"yawning_face":{"id":"yawning_face","name":"Yawning Face","keywords":["tired","sleepy"],"skins":[{"unified":"1f971","native":"🥱"}],"version":12},"triumph":{"id":"triumph","name":"Face with Look of Triumph","keywords":["steam","from","nose","gas","phew","proud","pride"],"skins":[{"unified":"1f624","native":"😤"}],"version":1},"rage":{"id":"rage","name":"Pouting Face","keywords":["rage","angry","mad","hate","despise"],"skins":[{"unified":"1f621","native":"😡"}],"version":1},"angry":{"id":"angry","name":"Angry Face","emoticons":[">:(",">:-("],"keywords":["mad","annoyed","frustrated"],"skins":[{"unified":"1f620","native":"😠"}],"version":1},"face_with_symbols_on_mouth":{"id":"face_with_symbols_on_mouth","name":"Face with Symbols on Mouth","keywords":["serious","covering","swearing","cursing","cussing","profanity","expletive"],"skins":[{"unified":"1f92c","native":"🤬"}],"version":5},"smiling_imp":{"id":"smiling_imp","name":"Smiling Face with Horns","keywords":["imp","devil"],"skins":[{"unified":"1f608","native":"😈"}],"version":1},"imp":{"id":"imp","name":"Imp","keywords":["angry","face","with","horns","devil"],"skins":[{"unified":"1f47f","native":"👿"}],"version":1},"skull":{"id":"skull","name":"Skull","keywords":["dead","skeleton","creepy","death"],"skins":[{"unified":"1f480","native":"💀"}],"version":1},"skull_and_crossbones":{"id":"skull_and_crossbones","name":"Skull and Crossbones","keywords":["poison","danger","deadly","scary","death","pirate","evil"],"skins":[{"unified":"2620-fe0f","native":"☠️"}],"version":1},"hankey":{"id":"hankey","name":"Pile of Poo","keywords":["hankey","poop","shit","shitface","fail","turd"],"skins":[{"unified":"1f4a9","native":"💩"}],"version":1},"clown_face":{"id":"clown_face","name":"Clown Face","keywords":[],"skins":[{"unified":"1f921","native":"🤡"}],"version":3},"japanese_ogre":{"id":"japanese_ogre","name":"Ogre","keywords":["japanese","monster","red","mask","halloween","scary","creepy","devil","demon"],"skins":[{"unified":"1f479","native":"👹"}],"version":1},"japanese_goblin":{"id":"japanese_goblin","name":"Goblin","keywords":["japanese","red","evil","mask","monster","scary","creepy"],"skins":[{"unified":"1f47a","native":"👺"}],"version":1},"ghost":{"id":"ghost","name":"Ghost","keywords":["halloween","spooky","scary"],"skins":[{"unified":"1f47b","native":"👻"}],"version":1},"alien":{"id":"alien","name":"Alien","keywords":["UFO","paul","weird","outer","space"],"skins":[{"unified":"1f47d","native":"👽"}],"version":1},"space_invader":{"id":"space_invader","name":"Alien Monster","keywords":["space","invader","game","arcade","play"],"skins":[{"unified":"1f47e","native":"👾"}],"version":1},"robot_face":{"id":"robot_face","name":"Robot","keywords":["face","computer","machine","bot"],"skins":[{"unified":"1f916","native":"🤖"}],"version":1},"smiley_cat":{"id":"smiley_cat","name":"Grinning Cat","keywords":["smiley","animal","cats","happy","smile"],"skins":[{"unified":"1f63a","native":"😺"}],"version":1},"smile_cat":{"id":"smile_cat","name":"Grinning Cat with Smiling Eyes","keywords":["smile","animal","cats"],"skins":[{"unified":"1f638","native":"😸"}],"version":1},"joy_cat":{"id":"joy_cat","name":"Cat with Tears of Joy","keywords":["animal","cats","haha","happy"],"skins":[{"unified":"1f639","native":"😹"}],"version":1},"heart_eyes_cat":{"id":"heart_eyes_cat","name":"Smiling Cat with Heart-Eyes","keywords":["heart","eyes","animal","love","like","affection","cats","valentines"],"skins":[{"unified":"1f63b","native":"😻"}],"version":1},"smirk_cat":{"id":"smirk_cat","name":"Cat with Wry Smile","keywords":["smirk","animal","cats"],"skins":[{"unified":"1f63c","native":"😼"}],"version":1},"kissing_cat":{"id":"kissing_cat","name":"Kissing Cat","keywords":["animal","cats","kiss"],"skins":[{"unified":"1f63d","native":"😽"}],"version":1},"scream_cat":{"id":"scream_cat","name":"Weary Cat","keywords":["scream","animal","cats","munch","scared"],"skins":[{"unified":"1f640","native":"🙀"}],"version":1},"crying_cat_face":{"id":"crying_cat_face","name":"Crying Cat","keywords":["face","animal","tears","weep","sad","cats","upset","cry"],"skins":[{"unified":"1f63f","native":"😿"}],"version":1},"pouting_cat":{"id":"pouting_cat","name":"Pouting Cat","keywords":["animal","cats"],"skins":[{"unified":"1f63e","native":"😾"}],"version":1},"see_no_evil":{"id":"see_no_evil","name":"See-No-Evil Monkey","keywords":["see","no","evil","animal","nature","haha"],"skins":[{"unified":"1f648","native":"🙈"}],"version":1},"hear_no_evil":{"id":"hear_no_evil","name":"Hear-No-Evil Monkey","keywords":["hear","no","evil","animal","nature"],"skins":[{"unified":"1f649","native":"🙉"}],"version":1},"speak_no_evil":{"id":"speak_no_evil","name":"Speak-No-Evil Monkey","keywords":["speak","no","evil","animal","nature","omg"],"skins":[{"unified":"1f64a","native":"🙊"}],"version":1},"love_letter":{"id":"love_letter","name":"Love Letter","keywords":["email","like","affection","envelope","valentines"],"skins":[{"unified":"1f48c","native":"💌"}],"version":1},"cupid":{"id":"cupid","name":"Heart with Arrow","keywords":["cupid","love","like","affection","valentines"],"skins":[{"unified":"1f498","native":"💘"}],"version":1},"gift_heart":{"id":"gift_heart","name":"Heart with Ribbon","keywords":["gift","love","valentines"],"skins":[{"unified":"1f49d","native":"💝"}],"version":1},"sparkling_heart":{"id":"sparkling_heart","name":"Sparkling Heart","keywords":["love","like","affection","valentines"],"skins":[{"unified":"1f496","native":"💖"}],"version":1},"heartpulse":{"id":"heartpulse","name":"Growing Heart","keywords":["heartpulse","like","love","affection","valentines","pink"],"skins":[{"unified":"1f497","native":"💗"}],"version":1},"heartbeat":{"id":"heartbeat","name":"Beating Heart","keywords":["heartbeat","love","like","affection","valentines","pink"],"skins":[{"unified":"1f493","native":"💓"}],"version":1},"revolving_hearts":{"id":"revolving_hearts","name":"Revolving Hearts","keywords":["love","like","affection","valentines"],"skins":[{"unified":"1f49e","native":"💞"}],"version":1},"two_hearts":{"id":"two_hearts","name":"Two Hearts","keywords":["love","like","affection","valentines","heart"],"skins":[{"unified":"1f495","native":"💕"}],"version":1},"heart_decoration":{"id":"heart_decoration","name":"Heart Decoration","keywords":["purple","square","love","like"],"skins":[{"unified":"1f49f","native":"💟"}],"version":1},"heavy_heart_exclamation_mark_ornament":{"id":"heavy_heart_exclamation_mark_ornament","name":"Heart Exclamation","keywords":["heavy","mark","ornament","decoration","love"],"skins":[{"unified":"2763-fe0f","native":"❣️"}],"version":1},"broken_heart":{"id":"broken_heart","name":"Broken Heart","emoticons":["*\/]/.test(e)?r(null,"select-op"):/[;{}:\[\]]/.test(e)?r(null,e):(_.eatWhile(/[\w\\\-]/),r("variable","variable"))}function c(_,t){for(var i=!1,e;(e=_.next())!=null;){if(i&&e=="/"){t.tokenize=a;break}i=e=="*"}return r("comment","comment")}function l(_,t){for(var i=0,e;(e=_.next())!=null;){if(i>=2&&e==">"){t.tokenize=a;break}i=e=="-"?i+1:0}return r("comment","comment")}function d(_){return function(t,i){for(var e=!1,o;(o=t.next())!=null&&!(o==_&&!e);)e=!e&&o=="\\";return e||(i.tokenize=a),r("string","string")}}const m={name:"nginx",startState:function(){return{tokenize:a,baseIndent:0,stack:[]}},token:function(_,t){if(_.eatSpace())return null;s=null;var i=t.tokenize(_,t),e=t.stack[t.stack.length-1];return s=="hash"&&e=="rule"?i="atom":i=="variable"&&(e=="rule"?i="number":(!e||e=="@media{")&&(i="tag")),e=="rule"&&/^[\{\};]$/.test(s)&&t.stack.pop(),s=="{"?e=="@media"?t.stack[t.stack.length-1]="@media{":t.stack.push("{"):s=="}"?t.stack.pop():s=="@media"?t.stack.push("@media"):e=="{"&&s!="comment"&&t.stack.push("rule"),i},indent:function(_,t,i){var e=_.stack.length;return/^\}/.test(t)&&(e-=_.stack[_.stack.length-1]=="rule"?2:1),_.baseIndent+e*i.unit},languageData:{indentOnInput:/^\s*\}$/}};export{m as nginx}; diff --git a/web-dist/js/chunks/nginx-DdIZxoE0.mjs.gz b/web-dist/js/chunks/nginx-DdIZxoE0.mjs.gz new file mode 100644 index 0000000000..ef8ee319c1 Binary files /dev/null and b/web-dist/js/chunks/nginx-DdIZxoE0.mjs.gz differ diff --git a/web-dist/js/chunks/nsis-BNR6u943.mjs b/web-dist/js/chunks/nsis-BNR6u943.mjs new file mode 100644 index 0000000000..e3497e2f7a --- /dev/null +++ b/web-dist/js/chunks/nsis-BNR6u943.mjs @@ -0,0 +1 @@ +import{s as e}from"./simple-mode-GW_nhZxv.mjs";const n=e({start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(addincludedir|addplugindir|appendfile|assert|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:\!(else|endif|macroend))\b/i,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Target|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/i,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/i,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/i,token:"atom"},{regex:/\b(?:admin|all|amd64-unicode|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|x-86-(ansi|unicode)|zlib)\b/i,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:2|3|4|5|Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/i,token:"variable-2",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/i,token:"keyword",dedent:!0},{regex:/\$\{(?:RunningX64)\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/i,token:"keyword",dedent:!0},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w[\w\.]*/,token:"variable"},{regex:/\${[\!\w\.:-]+}/,token:"variableName.constant"},{regex:/\$\([\!\w\.:-]+\)/,token:"atom"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],languageData:{name:"nsis",indentOnInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/i,commentTokens:{line:"#",block:{open:"/*",close:"*/"}}}});export{n as nsis}; diff --git a/web-dist/js/chunks/nsis-BNR6u943.mjs.gz b/web-dist/js/chunks/nsis-BNR6u943.mjs.gz new file mode 100644 index 0000000000..5840eeacb2 Binary files /dev/null and b/web-dist/js/chunks/nsis-BNR6u943.mjs.gz differ diff --git a/web-dist/js/chunks/ntriples-BfvgReVJ.mjs b/web-dist/js/chunks/ntriples-BfvgReVJ.mjs new file mode 100644 index 0000000000..680db893a1 --- /dev/null +++ b/web-dist/js/chunks/ntriples-BfvgReVJ.mjs @@ -0,0 +1 @@ +var _={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};function T(e,I){var R=e.location,i;R==_.PRE_SUBJECT&&I=="<"?i=_.WRITING_SUB_URI:R==_.PRE_SUBJECT&&I=="_"?i=_.WRITING_BNODE_URI:R==_.PRE_PRED&&I=="<"?i=_.WRITING_PRED_URI:R==_.PRE_OBJ&&I=="<"?i=_.WRITING_OBJ_URI:R==_.PRE_OBJ&&I=="_"?i=_.WRITING_OBJ_BNODE:R==_.PRE_OBJ&&I=='"'?i=_.WRITING_OBJ_LITERAL:R==_.WRITING_SUB_URI&&I==">"||R==_.WRITING_BNODE_URI&&I==" "?i=_.PRE_PRED:R==_.WRITING_PRED_URI&&I==">"?i=_.PRE_OBJ:R==_.WRITING_OBJ_URI&&I==">"||R==_.WRITING_OBJ_BNODE&&I==" "||R==_.WRITING_OBJ_LITERAL&&I=='"'||R==_.WRITING_LIT_LANG&&I==" "||R==_.WRITING_LIT_TYPE&&I==">"?i=_.POST_OBJ:R==_.WRITING_OBJ_LITERAL&&I=="@"?i=_.WRITING_LIT_LANG:R==_.WRITING_OBJ_LITERAL&&I=="^"?i=_.WRITING_LIT_TYPE:I==" "&&(R==_.PRE_SUBJECT||R==_.PRE_PRED||R==_.PRE_OBJ||R==_.POST_OBJ)?i=R:R==_.POST_OBJ&&I=="."?i=_.PRE_SUBJECT:i=_.ERROR,e.location=i}const u={name:"ntriples",startState:function(){return{location:_.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(e,I){var R=e.next();if(R=="<"){T(I,R);var i="";return e.eatWhile(function(n){return n!="#"&&n!=">"?(i+=n,!0):!1}),I.uris.push(i),e.match("#",!1)||(e.next(),T(I,">")),"variable"}if(R=="#"){var r="";return e.eatWhile(function(n){return n!=">"&&n!=" "?(r+=n,!0):!1}),I.anchors.push(r),"url"}if(R==">")return T(I,">"),"variable";if(R=="_"){T(I,R);var f="";return e.eatWhile(function(n){return n!=" "?(f+=n,!0):!1}),I.bnodes.push(f),e.next(),T(I," "),"builtin"}if(R=='"')return T(I,R),e.eatWhile(function(n){return n!='"'}),e.next(),e.peek()!="@"&&e.peek()!="^"&&T(I,'"'),"string";if(R=="@"){T(I,"@");var E="";return e.eatWhile(function(n){return n!=" "?(E+=n,!0):!1}),I.langs.push(E),e.next(),T(I," "),"string.special"}if(R=="^"){e.next(),T(I,"^");var l="";return e.eatWhile(function(n){return n!=">"?(l+=n,!0):!1}),I.types.push(l),e.next(),T(I,">"),"variable"}R==" "&&T(I,R),R=="."&&T(I,R)}};export{u as ntriples}; diff --git a/web-dist/js/chunks/ntriples-BfvgReVJ.mjs.gz b/web-dist/js/chunks/ntriples-BfvgReVJ.mjs.gz new file mode 100644 index 0000000000..520e1fd9ff Binary files /dev/null and b/web-dist/js/chunks/ntriples-BfvgReVJ.mjs.gz differ diff --git a/web-dist/js/chunks/octave-Ck1zUtKM.mjs b/web-dist/js/chunks/octave-Ck1zUtKM.mjs new file mode 100644 index 0000000000..f5000f5514 --- /dev/null +++ b/web-dist/js/chunks/octave-Ck1zUtKM.mjs @@ -0,0 +1 @@ +function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var f=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),u=new RegExp("^[\\(\\[\\{\\},:=;\\.]"),a=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),l=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),c=new RegExp("^((>>=)|(<<=))"),p=new RegExp("^[\\]\\)]"),d=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*"),s=t(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),h=t(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function o(e,n){return!e.sol()&&e.peek()==="'"?(e.next(),n.tokenize=i,"operator"):(n.tokenize=i,i(e,n))}function m(e,n){return e.match(/^.*%}/)?(n.tokenize=i,"comment"):(e.skipToEnd(),"comment")}function i(e,n){if(e.eatSpace())return null;if(e.match("%{"))return n.tokenize=m,e.skipToEnd(),"comment";if(e.match(/^[%#]/))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return e.tokenize=i,"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(e.match(t(["nan","NaN","inf","Inf"])))return"number";var r=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return r?r[1]?"string":"error":e.match(h)?"keyword":e.match(s)?"builtin":e.match(d)?"variable":e.match(f)||e.match(a)?"operator":e.match(u)||e.match(l)||e.match(c)?null:e.match(p)?(n.tokenize=o,null):(e.next(),"error")}const g={name:"octave",startState:function(){return{tokenize:i}},token:function(e,n){var r=n.tokenize(e,n);return(r==="number"||r==="variable")&&(n.tokenize=o),r},languageData:{commentTokens:{line:"%"}}};export{g as octave}; diff --git a/web-dist/js/chunks/octave-Ck1zUtKM.mjs.gz b/web-dist/js/chunks/octave-Ck1zUtKM.mjs.gz new file mode 100644 index 0000000000..72bb72459e Binary files /dev/null and b/web-dist/js/chunks/octave-Ck1zUtKM.mjs.gz differ diff --git a/web-dist/js/chunks/omit-CjJULzjP.mjs b/web-dist/js/chunks/omit-CjJULzjP.mjs new file mode 100644 index 0000000000..b5cec674de --- /dev/null +++ b/web-dist/js/chunks/omit-CjJULzjP.mjs @@ -0,0 +1 @@ +import{dA as Q,ek as V,bR as g,e6 as M,el as B,dN as z,dW as T,e2 as k,em as ee,en as ne,eo as b,ep as A,eq as re,er as U,es as te,bS as G,e8 as N,et as d,cf as ae,eu as oe,dZ as ie,ev as se,ew as fe,d_ as ce,ex as ue,cc as le,e7 as ge}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{b as be,g as h}from"./_getTag-rbyw32wi.mjs";import{bE as ye}from"./resources-CL0nvFAd.mjs";function pe(e){var n=e==null?0:e.length;return n?e[n-1]:void 0}function Te(e,n){for(var r=-1,t=e==null?0:e.length;++r1),a}),b(e,W(e),r),t&&(r=p(r,Vn|zn|kn,Qn));for(var o=n.length;o--;)Jn(r,n[o]);return r});export{_e as a,p as b,S as c,Ee as d,Ne as g,he as i,m as k,pe as l,tr as o,R as t}; diff --git a/web-dist/js/chunks/omit-CjJULzjP.mjs.gz b/web-dist/js/chunks/omit-CjJULzjP.mjs.gz new file mode 100644 index 0000000000..d7564960fc Binary files /dev/null and b/web-dist/js/chunks/omit-CjJULzjP.mjs.gz differ diff --git a/web-dist/js/chunks/oz-BzwKVEFT.mjs b/web-dist/js/chunks/oz-BzwKVEFT.mjs new file mode 100644 index 0000000000..9742186bf2 --- /dev/null +++ b/web-dist/js/chunks/oz-BzwKVEFT.mjs @@ -0,0 +1 @@ +function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var k=/[\^@!\|<>#~\.\*\-\+\\/,=]/,s=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,p=/(:::)|(\.\.\.)|(=<:)|(>=:)/,f=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],l=["end"],z=o(["true","false","nil","unit"]),m=o(["andthen","at","attr","declare","feat","from","lex","mod","div","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),v=o(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),d=o(f),h=o(l);function i(e,n){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match("[]"))return"keyword";if(e.match(p)||e.match(s))return"operator";if(e.match(z))return"atom";var t=e.match(v);if(t)return n.doInCurrentLine?n.doInCurrentLine=!1:n.currentIndent++,t[0]=="proc"||t[0]=="fun"?n.tokenize=x:t[0]=="class"?n.tokenize=g:t[0]=="meth"&&(n.tokenize=w),"keyword";if(e.match(d)||e.match(m))return"keyword";if(e.match(h))return n.currentIndent--,"keyword";var r=e.next();if(r=='"'||r=="'")return n.tokenize=y(r),n.tokenize(e,n);if(/[~\d]/.test(r)){if(r=="~")if(/^[0-9]/.test(e.peek())){if(e.next()=="0"&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}else return null;return r=="0"&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return r=="%"?(e.skipToEnd(),"comment"):r=="/"&&e.eat("*")?(n.tokenize=a,a(e,n)):k.test(r)?"operator":(e.eatWhile(/\w/),"variable")}function g(e,n){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),n.tokenize=i,"type")}function w(e,n){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),n.tokenize=i,"def")}function x(e,n){return e.eatSpace()?null:!n.hasPassedFirstStage&&e.eat("{")?(n.hasPassedFirstStage=!0,"bracket"):n.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),n.hasPassedFirstStage=!1,n.tokenize=i,"def"):(n.tokenize=i,null)}function a(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=i;break}t=r=="*"}return"comment"}function y(e){return function(n,t){for(var r=!1,u,c=!1;(u=n.next())!=null;){if(u==e&&!r){c=!0;break}r=!r&&u=="\\"}return(c||!r)&&(t.tokenize=i),"string"}}function b(){var e=f.concat(l);return new RegExp("[\\[\\]]|("+e.join("|")+")$")}const I={name:"oz",startState:function(){return{tokenize:i,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,n){return e.sol()&&(n.doInCurrentLine=0),n.tokenize(e,n)},indent:function(e,n,t){var r=n.replace(/^\s+|\s+$/g,"");return r.match(h)||r.match(d)||r.match(/(\[])/)?t.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*t.unit},languageData:{indentOnInut:b(),commentTokens:{line:"%",block:{open:"/*",close:"*/"}}}};export{I as oz}; diff --git a/web-dist/js/chunks/oz-BzwKVEFT.mjs.gz b/web-dist/js/chunks/oz-BzwKVEFT.mjs.gz new file mode 100644 index 0000000000..5a13b3816e Binary files /dev/null and b/web-dist/js/chunks/oz-BzwKVEFT.mjs.gz differ diff --git a/web-dist/js/chunks/pascal--L3eBynH.mjs b/web-dist/js/chunks/pascal--L3eBynH.mjs new file mode 100644 index 0000000000..455009fe6f --- /dev/null +++ b/web-dist/js/chunks/pascal--L3eBynH.mjs @@ -0,0 +1 @@ +function c(r){for(var n={},e=r.split(" "),t=0;t!?|\/]/;function d(r,n){var e=r.next();if(e=="#"&&n.startOfLine)return r.skipToEnd(),"meta";if(e=='"'||e=="'")return n.tokenize=p(e),n.tokenize(r,n);if(e=="("&&r.eat("*"))return n.tokenize=l,l(r,n);if(e=="{")return n.tokenize=u,u(r,n);if(/[\[\]\(\),;\:\.]/.test(e))return null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="/"&&r.eat("/"))return r.skipToEnd(),"comment";if(a.test(e))return r.eatWhile(a),"operator";r.eatWhile(/[\w\$_]/);var t=r.current().toLowerCase();return s.propertyIsEnumerable(t)?"keyword":f.propertyIsEnumerable(t)?"atom":"variable"}function p(r){return function(n,e){for(var t=!1,i,o=!1;(i=n.next())!=null;){if(i==r&&!t){o=!0;break}t=!t&&i=="\\"}return(o||!t)&&(e.tokenize=null),"string"}}function l(r,n){for(var e=!1,t;t=r.next();){if(t==")"&&e){n.tokenize=null;break}e=t=="*"}return"comment"}function u(r,n){for(var e;e=r.next();)if(e=="}"){n.tokenize=null;break}return"comment"}const k={name:"pascal",startState:function(){return{tokenize:null}},token:function(r,n){if(r.eatSpace())return null;var e=(n.tokenize||d)(r,n);return e=="comment"||e=="meta",e},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{block:{open:"(*",close:"*)"}}}};export{k as pascal}; diff --git a/web-dist/js/chunks/pascal--L3eBynH.mjs.gz b/web-dist/js/chunks/pascal--L3eBynH.mjs.gz new file mode 100644 index 0000000000..2cd5b6ae9f Binary files /dev/null and b/web-dist/js/chunks/pascal--L3eBynH.mjs.gz differ diff --git a/web-dist/js/chunks/perl-CdXCOZ3F.mjs b/web-dist/js/chunks/perl-CdXCOZ3F.mjs new file mode 100644 index 0000000000..12b1ea5dd6 --- /dev/null +++ b/web-dist/js/chunks/perl-CdXCOZ3F.mjs @@ -0,0 +1 @@ +function t(n,e){return n.string.charAt(n.pos+(e||0))}function O(n,e){if(e){var u=n.pos-e;return n.string.substr(u>=0?u:0,e)}else return n.string.substr(0,n.pos-1)}function g(n,e){var u=n.string.length,$=u-n.pos+1;return n.string.substr(n.pos,e&&e=($=n.string.length-1)?n.pos=$:n.pos=u}var p={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},f="string.special",l=/[goseximacplud]/;function r(n,e,u,$,E){return e.chain=null,e.style=null,e.tail=null,e.tokenize=function(i,R){for(var _=!1,A,d=0;A=i.next();){if(A===u[d]&&!_)return u[++d]!==void 0?(R.chain=u[d],R.style=$,R.tail=E):E&&i.eatWhile(E),R.tokenize=T,$;_=!_&&A=="\\"}return $},e.tokenize(n,e)}function S(n,e,u){return e.tokenize=function($,E){return $.string==u&&(E.tokenize=T),$.skipToEnd(),"string"},e.tokenize(n,e)}function T(n,e){if(n.eatSpace())return null;if(e.chain)return r(n,e,e.chain,e.style,e.tail);if(n.match(/^(\-?((\d[\d_]*)?\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F_]+|0b[01_]+|\d[\d_]*(e[+-]?\d+)?)/))return"number";if(n.match(/^<<(?=[_a-zA-Z])/))return n.eatWhile(/\w/),S(n,e,n.current().substr(2));if(n.sol()&&n.match(/^\=item(?!\w)/))return S(n,e,"=cut");var u=n.next();if(u=='"'||u=="'"){if(O(n,3)=="<<"+u){var $=n.pos;n.eatWhile(/\w/);var E=n.current().substr(1);if(E&&n.eat(u))return S(n,e,E);n.pos=$}return r(n,e,[u],"string")}if(u=="q"){var i=t(n,-2);if(!(i&&/\w/.test(i))){if(i=t(n,0),i=="x"){if(i=t(n,1),i=="(")return o(n,2),r(n,e,[")"],f,l);if(i=="[")return o(n,2),r(n,e,["]"],f,l);if(i=="{")return o(n,2),r(n,e,["}"],f,l);if(i=="<")return o(n,2),r(n,e,[">"],f,l);if(/[\^'"!~\/]/.test(i))return o(n,1),r(n,e,[n.eat(i)],f,l)}else if(i=="q"){if(i=t(n,1),i=="(")return o(n,2),r(n,e,[")"],"string");if(i=="[")return o(n,2),r(n,e,["]"],"string");if(i=="{")return o(n,2),r(n,e,["}"],"string");if(i=="<")return o(n,2),r(n,e,[">"],"string");if(/[\^'"!~\/]/.test(i))return o(n,1),r(n,e,[n.eat(i)],"string")}else if(i=="w"){if(i=t(n,1),i=="(")return o(n,2),r(n,e,[")"],"bracket");if(i=="[")return o(n,2),r(n,e,["]"],"bracket");if(i=="{")return o(n,2),r(n,e,["}"],"bracket");if(i=="<")return o(n,2),r(n,e,[">"],"bracket");if(/[\^'"!~\/]/.test(i))return o(n,1),r(n,e,[n.eat(i)],"bracket")}else if(i=="r"){if(i=t(n,1),i=="(")return o(n,2),r(n,e,[")"],f,l);if(i=="[")return o(n,2),r(n,e,["]"],f,l);if(i=="{")return o(n,2),r(n,e,["}"],f,l);if(i=="<")return o(n,2),r(n,e,[">"],f,l);if(/[\^'"!~\/]/.test(i))return o(n,1),r(n,e,[n.eat(i)],f,l)}else if(/[\^'"!~\/(\[{<]/.test(i)){if(i=="(")return o(n,1),r(n,e,[")"],"string");if(i=="[")return o(n,1),r(n,e,["]"],"string");if(i=="{")return o(n,1),r(n,e,["}"],"string");if(i=="<")return o(n,1),r(n,e,[">"],"string");if(/[\^'"!~\/]/.test(i))return r(n,e,[n.eat(i)],"string")}}}if(u=="m"){var i=t(n,-2);if(!(i&&/\w/.test(i))&&(i=n.eat(/[(\[{<\^'"!~\/]/),i)){if(/[\^'"!~\/]/.test(i))return r(n,e,[i],f,l);if(i=="(")return r(n,e,[")"],f,l);if(i=="[")return r(n,e,["]"],f,l);if(i=="{")return r(n,e,["}"],f,l);if(i=="<")return r(n,e,[">"],f,l)}}if(u=="s"){var i=/[\/>\]})\w]/.test(t(n,-2));if(!i&&(i=n.eat(/[(\[{<\^'"!~\/]/),i))return i=="["?r(n,e,["]","]"],f,l):i=="{"?r(n,e,["}","}"],f,l):i=="<"?r(n,e,[">",">"],f,l):i=="("?r(n,e,[")",")"],f,l):r(n,e,[i,i],f,l)}if(u=="y"){var i=/[\/>\]})\w]/.test(t(n,-2));if(!i&&(i=n.eat(/[(\[{<\^'"!~\/]/),i))return i=="["?r(n,e,["]","]"],f,l):i=="{"?r(n,e,["}","}"],f,l):i=="<"?r(n,e,[">",">"],f,l):i=="("?r(n,e,[")",")"],f,l):r(n,e,[i,i],f,l)}if(u=="t"){var i=/[\/>\]})\w]/.test(t(n,-2));if(!i&&(i=n.eat("r"),i&&(i=n.eat(/[(\[{<\^'"!~\/]/),i)))return i=="["?r(n,e,["]","]"],f,l):i=="{"?r(n,e,["}","}"],f,l):i=="<"?r(n,e,[">",">"],f,l):i=="("?r(n,e,[")",")"],f,l):r(n,e,[i,i],f,l)}if(u=="`")return r(n,e,[u],"builtin");if(u=="/")return/~\s*$/.test(O(n))?r(n,e,[u],f,l):"operator";if(u=="$"){var $=n.pos;if(n.eatWhile(/\d/)||n.eat("{")&&n.eatWhile(/\d/)&&n.eat("}"))return"builtin";n.pos=$}if(/[$@%]/.test(u)){var $=n.pos;if(n.eat("^")&&n.eat(/[A-Z]/)||!/[@$%&]/.test(t(n,-2))&&n.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var i=n.current();if(p[i])return"builtin"}n.pos=$}if(/[$@%&]/.test(u)&&(n.eatWhile(/[\w$]/)||n.eat("{")&&n.eatWhile(/[\w$]/)&&n.eat("}"))){var i=n.current();return p[i]?"builtin":"variable"}if(u=="#"&&t(n,-2)!="$")return n.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(u)){var $=n.pos;if(n.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),p[n.current()])return"operator";n.pos=$}if(u=="_"&&n.pos==1){if(g(n,6)=="_END__")return r(n,e,["\0"],"comment");if(g(n,7)=="_DATA__")return r(n,e,["\0"],"builtin");if(g(n,7)=="_C__")return r(n,e,["\0"],"string")}if(/\w/.test(u)){var $=n.pos;if(t(n,-2)=="{"&&(t(n,0)=="}"||n.eatWhile(/\w/)&&t(n,0)=="}"))return"string";n.pos=$}if(/[A-Z]/.test(u)){var R=t(n,-2),$=n.pos;if(n.eatWhile(/[A-Z_]/),/[\da-z]/.test(t(n,0)))n.pos=$;else{var i=p[n.current()];return i?(i[1]&&(i=i[0]),R!=":"?i==1?"keyword":i==2?"def":i==3?"atom":i==4?"operator":i==5?"builtin":"meta":"meta"):"meta"}}if(/[a-zA-Z_]/.test(u)){var R=t(n,-2);n.eatWhile(/\w/);var i=p[n.current()];return i?(i[1]&&(i=i[0]),R!=":"?i==1?"keyword":i==2?"def":i==3?"atom":i==4?"operator":i==5?"builtin":"meta":"meta"):"meta"}return null}const I={name:"perl",startState:function(){return{tokenize:T,chain:null,style:null,tail:null}},token:function(n,e){return(e.tokenize||T)(n,e)},languageData:{commentTokens:{line:"#"},wordChars:"$"}};export{I as perl}; diff --git a/web-dist/js/chunks/perl-CdXCOZ3F.mjs.gz b/web-dist/js/chunks/perl-CdXCOZ3F.mjs.gz new file mode 100644 index 0000000000..841b58f1bd Binary files /dev/null and b/web-dist/js/chunks/perl-CdXCOZ3F.mjs.gz differ diff --git a/web-dist/js/chunks/pig-CevX1Tat.mjs b/web-dist/js/chunks/pig-CevX1Tat.mjs new file mode 100644 index 0000000000..db4ece2f0d --- /dev/null +++ b/web-dist/js/chunks/pig-CevX1Tat.mjs @@ -0,0 +1 @@ +function r(e){for(var T={},O=e.split(" "),E=0;E=&?:\/!|]/;function L(e,T,O){return T.tokenize=O,O(e,T)}function u(e,T){for(var O=!1,E;E=e.next();){if(E=="/"&&O){T.tokenize=A;break}O=E=="*"}return"comment"}function C(e){return function(T,O){for(var E=!1,N,R=!1;(N=T.next())!=null;){if(N==e&&!E){R=!0;break}E=!E&&N=="\\"}return(R||!E)&&(O.tokenize=A),"error"}}function A(e,T){var O=e.next();return O=='"'||O=="'"?L(e,T,C(O)):/[\[\]{}\(\),;\.]/.test(O)?null:/\d/.test(O)?(e.eatWhile(/[\w\.]/),"number"):O=="/"?e.eat("*")?L(e,T,u):(e.eatWhile(I),"operator"):O=="-"?e.eat("-")?(e.skipToEnd(),"comment"):(e.eatWhile(I),"operator"):I.test(O)?(e.eatWhile(I),"operator"):(e.eatWhile(/[\w\$_]/),n&&n.propertyIsEnumerable(e.current().toUpperCase())&&!e.eat(")")&&!e.eat(".")?"keyword":S&&S.propertyIsEnumerable(e.current().toUpperCase())?"builtin":t&&t.propertyIsEnumerable(e.current().toUpperCase())?"type":"variable")}const G={name:"pig",startState:function(){return{tokenize:A,startOfLine:!0}},token:function(e,T){if(e.eatSpace())return null;var O=T.tokenize(e,T);return O},languageData:{autocomplete:(i+o+U).split(" ")}};export{G as pig}; diff --git a/web-dist/js/chunks/pig-CevX1Tat.mjs.gz b/web-dist/js/chunks/pig-CevX1Tat.mjs.gz new file mode 100644 index 0000000000..db21cba675 Binary files /dev/null and b/web-dist/js/chunks/pig-CevX1Tat.mjs.gz differ diff --git a/web-dist/js/chunks/powershell-CFHJl5sT.mjs b/web-dist/js/chunks/powershell-CFHJl5sT.mjs new file mode 100644 index 0000000000..80a1cc1cb3 --- /dev/null +++ b/web-dist/js/chunks/powershell-CFHJl5sT.mjs @@ -0,0 +1 @@ +function a(e,n){n=n||{};for(var r=n.prefix!==void 0?n.prefix:"^",t=n.suffix!==void 0?n.suffix:"\\b",i=0;i/,k=a([b,C],{suffix:""}),h=/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,x=/^[A-Za-z\_][A-Za-z\-\_\d]*\b/,E=/[A-Z]:|%|\?/i,w=a([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),y=a([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),M=a([E,w,y],{suffix:f}),p={keyword:P,number:h,operator:k,builtin:M,punctuation:d,variable:x};function o(e,n){var r=n.returnStack[n.returnStack.length-1];if(r&&r.shouldReturnFrom(n))return n.tokenize=r.tokenize,n.returnStack.pop(),n.tokenize(e,n);if(e.eatSpace())return null;if(e.eat("("))return n.bracketNesting+=1,"punctuation";if(e.eat(")"))return n.bracketNesting-=1,"punctuation";for(var t in p)if(e.match(p[t]))return t;var i=e.next();if(i==="'")return R(e,n);if(i==="$")return s(e,n);if(i==='"')return v(e,n);if(i==="<"&&e.eat("#"))return n.tokenize=S,S(e,n);if(i==="#")return e.skipToEnd(),"comment";if(i==="@"){var l=e.eat(/["']/);if(l&&e.eol())return n.tokenize=u,n.startQuote=l[0],u(e,n);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(c))return s(e,n)}return"error"}function R(e,n){for(var r;(r=e.peek())!=null;)if(e.next(),r==="'"&&!e.eat("'"))return n.tokenize=o,"string";return"error"}function v(e,n){for(var r;(r=e.peek())!=null;){if(r==="$")return n.tokenize=I,"string";if(e.next(),r==="`"){e.next();continue}if(r==='"'&&!e.eat('"'))return n.tokenize=o,"string"}return"error"}function I(e,n){return g(e,n,v)}function z(e,n){return n.tokenize=u,n.startQuote='"',u(e,n)}function T(e,n){return g(e,n,z)}function g(e,n,r){if(e.match("$(")){var t=n.bracketNesting;return n.returnStack.push({shouldReturnFrom:function(i){return i.bracketNesting===t},tokenize:r}),n.tokenize=o,n.bracketNesting+=1,"punctuation"}else return e.next(),n.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:r}),n.tokenize=s,n.tokenize(e,n)}function S(e,n){for(var r=!1,t;(t=e.next())!=null;){if(r&&t==">"){n.tokenize=o;break}r=t==="#"}return"comment"}function s(e,n){var r=e.peek();return e.eat("{")?(n.tokenize=m,m(e,n)):r!=null&&r.match(c)?(e.eatWhile(c),n.tokenize=o,"variable"):(n.tokenize=o,"error")}function m(e,n){for(var r;(r=e.next())!=null;)if(r==="}"){n.tokenize=o;break}return"variable"}function u(e,n){var r=n.startQuote;if(e.sol()&&e.match(new RegExp(r+"@")))n.tokenize=o;else if(r==='"')for(;!e.eol();){var t=e.peek();if(t==="$")return n.tokenize=T,"string";e.next(),t==="`"&&e.next()}else e.skipToEnd();return"string"}const D={name:"powershell",startState:function(){return{returnStack:[],bracketNesting:0,tokenize:o}},token:function(e,n){return n.tokenize(e,n)},languageData:{commentTokens:{line:"#",block:{open:"<#",close:"#>"}}}};export{D as powerShell}; diff --git a/web-dist/js/chunks/powershell-CFHJl5sT.mjs.gz b/web-dist/js/chunks/powershell-CFHJl5sT.mjs.gz new file mode 100644 index 0000000000..c67519fb26 Binary files /dev/null and b/web-dist/js/chunks/powershell-CFHJl5sT.mjs.gz differ diff --git a/web-dist/js/chunks/preload-helper-PPVm8Dsz.mjs b/web-dist/js/chunks/preload-helper-PPVm8Dsz.mjs new file mode 100644 index 0000000000..f5001933e3 --- /dev/null +++ b/web-dist/js/chunks/preload-helper-PPVm8Dsz.mjs @@ -0,0 +1 @@ +const p="modulepreload",y=function(u,i){return new URL(u,i).href},v={},w=function(i,a,f){let d=Promise.resolve();if(a&&a.length>0){let E=function(e){return Promise.all(e.map(o=>Promise.resolve(o).then(s=>({status:"fulfilled",value:s}),s=>({status:"rejected",reason:s}))))};const r=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),m=t?.nonce||t?.getAttribute("nonce");d=E(a.map(e=>{if(e=y(e,f),e in v)return;v[e]=!0;const o=e.endsWith(".css"),s=o?'[rel="stylesheet"]':"";if(f)for(let c=r.length-1;c>=0;c--){const l=r[c];if(l.href===e&&(!o||l.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${s}`))return;const n=document.createElement("link");if(n.rel=o?"stylesheet":p,o||(n.as="script"),n.crossOrigin="",n.href=e,m&&n.setAttribute("nonce",m),document.head.appendChild(n),o)return new Promise((c,l)=>{n.addEventListener("load",c),n.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${e}`)))})}))}function h(r){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=r,window.dispatchEvent(t),!t.defaultPrevented)throw r}return d.then(r=>{for(const t of r||[])t.status==="rejected"&&h(t.reason);return i().catch(h)})};export{w as _}; diff --git a/web-dist/js/chunks/preload-helper-PPVm8Dsz.mjs.gz b/web-dist/js/chunks/preload-helper-PPVm8Dsz.mjs.gz new file mode 100644 index 0000000000..c9ddde70ce Binary files /dev/null and b/web-dist/js/chunks/preload-helper-PPVm8Dsz.mjs.gz differ diff --git a/web-dist/js/chunks/properties-C78fOPTZ.mjs b/web-dist/js/chunks/properties-C78fOPTZ.mjs new file mode 100644 index 0000000000..449af6e482 --- /dev/null +++ b/web-dist/js/chunks/properties-C78fOPTZ.mjs @@ -0,0 +1 @@ +const f={name:"properties",token:function(e,i){var o=e.sol()||i.afterSection,l=e.eol();if(i.afterSection=!1,o&&(i.nextMultiline?(i.inMultiline=!0,i.nextMultiline=!1):i.position="def"),l&&!i.nextMultiline&&(i.inMultiline=!1,i.position="def"),o)for(;e.eatSpace(););var n=e.next();return o&&(n==="#"||n==="!"||n===";")?(i.position="comment",e.skipToEnd(),"comment"):o&&n==="["?(i.afterSection=!0,e.skipTo("]"),e.eat("]"),"header"):n==="="||n===":"?(i.position="quote",null):(n==="\\"&&i.position==="quote"&&e.eol()&&(i.nextMultiline=!0),i.position)},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}};export{f as properties}; diff --git a/web-dist/js/chunks/properties-C78fOPTZ.mjs.gz b/web-dist/js/chunks/properties-C78fOPTZ.mjs.gz new file mode 100644 index 0000000000..2fbc62f768 Binary files /dev/null and b/web-dist/js/chunks/properties-C78fOPTZ.mjs.gz differ diff --git a/web-dist/js/chunks/protobuf-ChK-085T.mjs b/web-dist/js/chunks/protobuf-ChK-085T.mjs new file mode 100644 index 0000000000..64dfb2ceab --- /dev/null +++ b/web-dist/js/chunks/protobuf-ChK-085T.mjs @@ -0,0 +1 @@ +function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var n=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],r=t(n),i=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");function f(e){return e.eatSpace()?null:e.match("//")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(r)?"keyword":e.match(i)?"variable":(e.next(),null)}const u={name:"protobuf",token:f,languageData:{autocomplete:n}};export{u as protobuf}; diff --git a/web-dist/js/chunks/protobuf-ChK-085T.mjs.gz b/web-dist/js/chunks/protobuf-ChK-085T.mjs.gz new file mode 100644 index 0000000000..63467361e9 Binary files /dev/null and b/web-dist/js/chunks/protobuf-ChK-085T.mjs.gz differ diff --git a/web-dist/js/chunks/pug-BVXhkSQQ.mjs b/web-dist/js/chunks/pug-BVXhkSQQ.mjs new file mode 100644 index 0000000000..ab3005f328 --- /dev/null +++ b/web-dist/js/chunks/pug-BVXhkSQQ.mjs @@ -0,0 +1 @@ +import{javascript as e}from"./javascript-iXu5QeM3.mjs";var f={"{":"}","(":")","[":"]"};function p(i){if(typeof i!="object")return i;let n={};for(let t in i){let r=i[t];n[t]=r instanceof Array?r.slice():r}return n}class u{constructor(n){this.indentUnit=n,this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=e.startState(n),this.restOfLine="",this.isIncludeFiltered=!1,this.isEach=!1,this.lastTag="",this.isAttrs=!1,this.attrsNest=[],this.inAttributeName=!0,this.attributeIsType=!1,this.attrValue="",this.indentOf=1/0,this.indentToken=""}copy(){var n=new u(this.indentUnit);return n.javaScriptLine=this.javaScriptLine,n.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,n.javaScriptArguments=this.javaScriptArguments,n.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,n.isInterpolating=this.isInterpolating,n.interpolationNesting=this.interpolationNesting,n.jsState=(e.copyState||p)(this.jsState),n.restOfLine=this.restOfLine,n.isIncludeFiltered=this.isIncludeFiltered,n.isEach=this.isEach,n.lastTag=this.lastTag,n.isAttrs=this.isAttrs,n.attrsNest=this.attrsNest.slice(),n.inAttributeName=this.inAttributeName,n.attributeIsType=this.attributeIsType,n.attrValue=this.attrValue,n.indentOf=this.indentOf,n.indentToken=this.indentToken,n}}function h(i,n){if(i.sol()&&(n.javaScriptLine=!1,n.javaScriptLineExcludesColon=!1),n.javaScriptLine){if(n.javaScriptLineExcludesColon&&i.peek()===":"){n.javaScriptLine=!1,n.javaScriptLineExcludesColon=!1;return}var t=e.token(i,n.jsState);return i.eol()&&(n.javaScriptLine=!1),t||!0}}function d(i,n){if(n.javaScriptArguments){if(n.javaScriptArgumentsDepth===0&&i.peek()!=="("){n.javaScriptArguments=!1;return}if(i.peek()==="("?n.javaScriptArgumentsDepth++:i.peek()===")"&&n.javaScriptArgumentsDepth--,n.javaScriptArgumentsDepth===0){n.javaScriptArguments=!1;return}var t=e.token(i,n.jsState);return t||!0}}function s(i){if(i.match(/^yield\b/))return"keyword"}function S(i){if(i.match(/^(?:doctype) *([^\n]+)?/))return"meta"}function o(i,n){if(i.match("#{"))return n.isInterpolating=!0,n.interpolationNesting=0,"punctuation"}function v(i,n){if(n.isInterpolating){if(i.peek()==="}"){if(n.interpolationNesting--,n.interpolationNesting<0)return i.next(),n.isInterpolating=!1,"punctuation"}else i.peek()==="{"&&n.interpolationNesting++;return e.token(i,n.jsState)||!0}}function g(i,n){if(i.match(/^case\b/))return n.javaScriptLine=!0,"keyword"}function j(i,n){if(i.match(/^when\b/))return n.javaScriptLine=!0,n.javaScriptLineExcludesColon=!0,"keyword"}function k(i){if(i.match(/^default\b/))return"keyword"}function b(i,n){if(i.match(/^extends?\b/))return n.restOfLine="string","keyword"}function A(i,n){if(i.match(/^append\b/))return n.restOfLine="variable","keyword"}function y(i,n){if(i.match(/^prepend\b/))return n.restOfLine="variable","keyword"}function L(i,n){if(i.match(/^block\b *(?:(prepend|append)\b)?/))return n.restOfLine="variable","keyword"}function w(i,n){if(i.match(/^include\b/))return n.restOfLine="string","keyword"}function N(i,n){if(i.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&i.match("include"))return n.isIncludeFiltered=!0,"keyword"}function x(i,n){if(n.isIncludeFiltered){var t=l(i,n);return n.isIncludeFiltered=!1,n.restOfLine="string",t}}function T(i,n){if(i.match(/^mixin\b/))return n.javaScriptLine=!0,"keyword"}function I(i,n){if(i.match(/^\+([-\w]+)/))return i.match(/^\( *[-\w]+ *=/,!1)||(n.javaScriptArguments=!0,n.javaScriptArgumentsDepth=0),"variable";if(i.match("+#{",!1))return i.next(),n.mixinCallAfter=!0,o(i,n)}function O(i,n){if(n.mixinCallAfter)return n.mixinCallAfter=!1,i.match(/^\( *[-\w]+ *=/,!1)||(n.javaScriptArguments=!0,n.javaScriptArgumentsDepth=0),!0}function C(i,n){if(i.match(/^(if|unless|else if|else)\b/))return n.javaScriptLine=!0,"keyword"}function E(i,n){if(i.match(/^(- *)?(each|for)\b/))return n.isEach=!0,"keyword"}function D(i,n){if(n.isEach){if(i.match(/^ in\b/))return n.javaScriptLine=!0,n.isEach=!1,"keyword";if(i.sol()||i.eol())n.isEach=!1;else if(i.next()){for(;!i.match(/^ in\b/,!1)&&i.next(););return"variable"}}}function F(i,n){if(i.match(/^while\b/))return n.javaScriptLine=!0,"keyword"}function m(i,n){var t;if(t=i.match(/^(\w(?:[-:\w]*\w)?)\/?/))return n.lastTag=t[1].toLowerCase(),"tag"}function l(i,n){if(i.match(/^:([\w\-]+)/))return c(i,n),"atom"}function V(i,n){if(i.match(/^(!?=|-)/))return n.javaScriptLine=!0,"punctuation"}function U(i){if(i.match(/^#([\w-]+)/))return"builtin"}function z(i){if(i.match(/^\.([\w-]+)/))return"className"}function B(i,n){if(i.peek()=="(")return i.next(),n.isAttrs=!0,n.attrsNest=[],n.inAttributeName=!0,n.attrValue="",n.attributeIsType=!1,"punctuation"}function a(i,n){if(n.isAttrs){if(f[i.peek()]&&n.attrsNest.push(f[i.peek()]),n.attrsNest[n.attrsNest.length-1]===i.peek())n.attrsNest.pop();else if(i.eat(")"))return n.isAttrs=!1,"punctuation";if(n.inAttributeName&&i.match(/^[^=,\)!]+/))return(i.peek()==="="||i.peek()==="!")&&(n.inAttributeName=!1,n.jsState=e.startState(2),n.lastTag==="script"&&i.current().trim().toLowerCase()==="type"?n.attributeIsType=!0:n.attributeIsType=!1),"attribute";var t=e.token(i,n.jsState);if(n.attrsNest.length===0&&(t==="string"||t==="variable"||t==="keyword"))try{return Function("","var x "+n.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),n.inAttributeName=!0,n.attrValue="",i.backUp(i.current().length),a(i,n)}catch{}return n.attrValue+=i.current(),t||!0}}function M(i,n){if(i.match(/^&attributes\b/))return n.javaScriptArguments=!0,n.javaScriptArgumentsDepth=0,"keyword"}function R(i){if(i.sol()&&i.eatSpace())return"indent"}function Z(i,n){if(i.match(/^ *\/\/(-)?([^\n]*)/))return n.indentOf=i.indentation(),n.indentToken="comment","comment"}function $(i){if(i.match(/^: */))return"colon"}function q(i,n){if(i.match(/^(?:\| ?| )([^\n]+)/))return"string";if(i.match(/^(<[^\n]*)/,!1))return c(i,n),i.skipToEnd(),n.indentToken}function G(i,n){if(i.eat("."))return c(i,n),"dot"}function H(i){return i.next(),null}function c(i,n){n.indentOf=i.indentation(),n.indentToken="string"}function J(i,n){if(i.sol()&&(n.restOfLine=""),n.restOfLine){i.skipToEnd();var t=n.restOfLine;return n.restOfLine="",t}}function K(i){return new u(i)}function P(i){return i.copy()}function Q(i,n){var t=J(i,n)||v(i,n)||x(i,n)||D(i,n)||a(i,n)||h(i,n)||d(i,n)||O(i,n)||s(i)||S(i)||o(i,n)||g(i,n)||j(i,n)||k(i)||b(i,n)||A(i,n)||y(i,n)||L(i,n)||w(i,n)||N(i,n)||T(i,n)||I(i,n)||C(i,n)||E(i,n)||F(i,n)||m(i,n)||l(i,n)||V(i,n)||U(i)||z(i)||B(i,n)||M(i,n)||R(i)||q(i,n)||Z(i,n)||$(i)||G(i,n)||H(i);return t===!0?null:t}const X={startState:K,copyState:P,token:Q};export{X as pug}; diff --git a/web-dist/js/chunks/pug-BVXhkSQQ.mjs.gz b/web-dist/js/chunks/pug-BVXhkSQQ.mjs.gz new file mode 100644 index 0000000000..9caae25a79 Binary files /dev/null and b/web-dist/js/chunks/pug-BVXhkSQQ.mjs.gz differ diff --git a/web-dist/js/chunks/puppet-DMA9R1ak.mjs b/web-dist/js/chunks/puppet-DMA9R1ak.mjs new file mode 100644 index 0000000000..751e8b4112 --- /dev/null +++ b/web-dist/js/chunks/puppet-DMA9R1ak.mjs @@ -0,0 +1 @@ +var c={},s=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;function a(e,n){for(var i=n.split(" "),o=0;o.*/,!1),t=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),f=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),r=e.next();if(r==="$")return e.match(s)?n.continueString?"variableName.special":"variable":"error";if(n.continueString)return e.backUp(1),u(e,n);if(n.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),n.inDefinition=!1}return n.inInclude?(e.match(/(\s+)?\S+(\s+)?/),n.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):o?(e.match(/(\s+)?\w+/),"tag"):i&&c.hasOwnProperty(i)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(n.inDefinition=!0),i=="include"&&(n.inInclude=!0),c[i]):/(^|\s+)[A-Z][\w:_]+/.test(i)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):t?(e.match(/(\s+)?[\w:_]+/),"def"):f?(e.match(/(\s+)?[@]{1,2}/),"atom"):r=="#"?(e.skipToEnd(),"comment"):r=="'"||r=='"'?(n.pending=r,u(e,n)):r=="{"||r=="}"?"bracket":r=="/"?(e.match(/^[^\/]*\//),"string.special"):r.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):r=="="?(e.peek()==">"&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}const p={name:"puppet",startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,n){return e.eatSpace()?null:l(e,n)}};export{p as puppet}; diff --git a/web-dist/js/chunks/puppet-DMA9R1ak.mjs.gz b/web-dist/js/chunks/puppet-DMA9R1ak.mjs.gz new file mode 100644 index 0000000000..b75cd9bf9e Binary files /dev/null and b/web-dist/js/chunks/puppet-DMA9R1ak.mjs.gz differ diff --git a/web-dist/js/chunks/python-BuPzkPfP.mjs b/web-dist/js/chunks/python-BuPzkPfP.mjs new file mode 100644 index 0000000000..edd2b6ec14 --- /dev/null +++ b/web-dist/js/chunks/python-BuPzkPfP.mjs @@ -0,0 +1 @@ +function s(o){return new RegExp("^(("+o.join(")|(")+"))\\b")}var N=s(["and","or","not","is"]),E=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in","False","True"],F=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function c(o){return o.scopes[o.scopes.length-1]}function A(o){for(var p="error",O=o.delimiters||o.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,h=[o.singleOperators,o.doubleOperators,o.doubleDelimiters,o.tripleDelimiters,o.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],g=0;gi?S(n,e):l0&&_(n,e)&&(t+=" "+p),t}}return v(n,e)}function v(n,e,r){if(n.eatSpace())return null;if(!r&&n.match(/^#.*/))return"comment";if(n.match(/^[0-9\.]/,!1)){var i=!1;if(n.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(i=!0),n.match(/^[\d_]+\.\d*/)&&(i=!0),n.match(/^\.\d+/)&&(i=!0),i)return n.eat(/J/i),"number";var l=!1;if(n.match(/^0x[0-9a-f_]+/i)&&(l=!0),n.match(/^0b[01_]+/i)&&(l=!0),n.match(/^0o[0-7_]+/i)&&(l=!0),n.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(n.eat(/J/i),l=!0),n.match(/^0(?![\dx])/i)&&(l=!0),l)return n.eat(/L/i),"number"}if(n.match(w)){var t=n.current().toLowerCase().indexOf("f")!==-1;return t?(e.tokenize=R(n.current(),e.tokenize),e.tokenize(n,e)):(e.tokenize=B(n.current(),e.tokenize),e.tokenize(n,e))}for(var u=0;u=0;)n=n.substr(1);var r=n.length==1,i="string";function l(u){return function(f,b){var T=v(f,b,!0);return T=="punctuation"&&(f.current()=="{"?b.tokenize=l(u+1):f.current()=="}"&&(u>1?b.tokenize=l(u-1):b.tokenize=t)),T}}function t(u,f){for(;!u.eol();)if(u.eatWhile(/[^'"\{\}\\]/),u.eat("\\")){if(u.next(),r&&u.eol())return i}else{if(u.match(n))return f.tokenize=e,i;if(u.match("{{"))return i;if(u.match("{",!1))return f.tokenize=l(0),u.current()?i:f.tokenize(u,f);if(u.match("}}"))return i;if(u.match("}"))return p;u.eat(/['"]/)}if(r){if(o.singleLineStringErrors)return p;f.tokenize=e}return i}return t.isString=!0,t}function B(n,e){for(;"rubf".indexOf(n.charAt(0).toLowerCase())>=0;)n=n.substr(1);var r=n.length==1,i="string";function l(t,u){for(;!t.eol();)if(t.eatWhile(/[^'"\\]/),t.eat("\\")){if(t.next(),r&&t.eol())return i}else{if(t.match(n))return u.tokenize=e,i;t.eat(/['"]/)}if(r){if(o.singleLineStringErrors)return p;u.tokenize=e}return i}return l.isString=!0,l}function S(n,e){for(;c(e).type!="py";)e.scopes.pop();e.scopes.push({offset:c(e).offset+n.indentUnit,type:"py",align:null})}function m(n,e,r){var i=n.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:n.column()+1;e.scopes.push({offset:e.indent+(k||n.indentUnit),type:r,align:i})}function _(n,e){for(var r=n.indentation();e.scopes.length>1&&c(e).offset>r;){if(c(e).type!="py")return!0;e.scopes.pop()}return c(e).offset!=r}function D(n,e){n.sol()&&(e.beginningOfLine=!0,e.dedent=!1);var r=e.tokenize(n,e),i=n.current();if(e.beginningOfLine&&i=="@")return n.match(y,!1)?"meta":x?"operator":p;if(/\S/.test(i)&&(e.beginningOfLine=!1),(r=="variable"||r=="builtin")&&e.lastToken=="meta"&&(r="meta"),(i=="pass"||i=="return")&&(e.dedent=!0),i=="lambda"&&(e.lambda=!0),i==":"&&!e.lambda&&c(e).type=="py"&&n.match(/^\s*(?:#|$)/,!1)&&S(n,e),i.length==1&&!/string|comment/.test(r)){var l="[({".indexOf(i);if(l!=-1&&m(n,e,"])}".slice(l,l+1)),l="])}".indexOf(i),l!=-1)if(c(e).type==i)e.indent=e.scopes.pop().offset-(k||n.indentUnit);else return p}return e.dedent&&n.eol()&&c(e).type=="py"&&e.scopes.length>1&&e.scopes.pop(),r}return{name:"python",startState:function(){return{tokenize:z,scopes:[{offset:0,type:"py",align:null}],indent:0,lastToken:null,lambda:!1,dedent:0}},token:function(n,e){var r=e.errorToken;r&&(e.errorToken=!1);var i=D(n,e);return i&&i!="comment"&&(e.lastToken=i=="keyword"||i=="punctuation"?n.current():i),i=="punctuation"&&(i=null),n.eol()&&e.lambda&&(e.lambda=!1),r?p:i},indent:function(n,e,r){if(n.tokenize!=z)return n.tokenize.isString?null:0;var i=c(n),l=i.type==e.charAt(0)||i.type=="py"&&!n.dedent&&/^(else:|elif |except |finally:)/.test(e);return i.align!=null?i.align-(l?1:0):i.offset-(l?k||r.unit:0)},languageData:{autocomplete:E.concat(F).concat(["exec","print"]),indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,commentTokens:{line:"#"},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']}}}}var U=function(o){return o.split(" ")};const Z=A({}),P=A({extra_keywords:U("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")});export{P as cython,A as mkPython,Z as python}; diff --git a/web-dist/js/chunks/python-BuPzkPfP.mjs.gz b/web-dist/js/chunks/python-BuPzkPfP.mjs.gz new file mode 100644 index 0000000000..d873488f2e Binary files /dev/null and b/web-dist/js/chunks/python-BuPzkPfP.mjs.gz differ diff --git a/web-dist/js/chunks/q-pXgVlZs6.mjs b/web-dist/js/chunks/q-pXgVlZs6.mjs new file mode 100644 index 0000000000..c5639bbbc7 --- /dev/null +++ b/web-dist/js/chunks/q-pXgVlZs6.mjs @@ -0,0 +1 @@ +var c,p=x(["abs","acos","aj","aj0","all","and","any","asc","asin","asof","atan","attr","avg","avgs","bin","by","ceiling","cols","cor","cos","count","cov","cross","csv","cut","delete","deltas","desc","dev","differ","distinct","div","do","each","ej","enlist","eval","except","exec","exit","exp","fby","fills","first","fkeys","flip","floor","from","get","getenv","group","gtime","hclose","hcount","hdel","hopen","hsym","iasc","idesc","if","ij","in","insert","inter","inv","key","keys","last","like","list","lj","load","log","lower","lsq","ltime","ltrim","mavg","max","maxs","mcount","md5","mdev","med","meta","min","mins","mmax","mmin","mmu","mod","msum","neg","next","not","null","or","over","parse","peach","pj","plist","prd","prds","prev","prior","rand","rank","ratios","raze","read0","read1","reciprocal","reverse","rload","rotate","rsave","rtrim","save","scan","select","set","setenv","show","signum","sin","sqrt","ss","ssr","string","sublist","sum","sums","sv","system","tables","tan","til","trim","txf","type","uj","ungroup","union","update","upper","upsert","value","var","view","views","vs","wavg","where","where","while","within","wj","wj1","wsum","xasc","xbar","xcol","xcols","xdesc","xexp","xgroup","xkey","xlog","xprev","xrank"]),f=/[|/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;function x(n){return new RegExp("^("+n.join("|")+")$")}function r(n,e){var o=n.sol(),i=n.next();if(c=null,o){if(i=="/")return(e.tokenize=s)(n,e);if(i=="\\")return n.eol()||/\s/.test(n.peek())?(n.skipToEnd(),/^\\\s*$/.test(n.current())?(e.tokenize=v)(n):e.tokenize=r,"comment"):(e.tokenize=r,"builtin")}if(/\s/.test(i))return n.peek()=="/"?(n.skipToEnd(),"comment"):"null";if(i=='"')return(e.tokenize=m)(n,e);if(i=="`")return n.eatWhile(/[A-Za-z\d_:\/.]/),"macroName";if(i=="."&&/\d/.test(n.peek())||/\d/.test(i)){var t=null;return n.backUp(1),n.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||n.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||n.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||n.match(/^\d+[ptuv]{1}/)?t="temporal":(n.match(/^0[NwW]{1}/)||n.match(/^0x[\da-fA-F]*/)||n.match(/^[01]+[b]{1}/)||n.match(/^\d+[chijn]{1}/)||n.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(t="number"),t&&(!(i=n.peek())||f.test(i))?t:(n.next(),"error")}return/[A-Za-z]|\./.test(i)?(n.eatWhile(/[A-Za-z._\d]/),p.test(n.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(i)||/[{}\(\[\]\)]/.test(i)?null:"error"}function s(n,e){return n.skipToEnd(),/^\/\s*$/.test(n.current())?(e.tokenize=k)(n,e):e.tokenize=r,"comment"}function k(n,e){var o=n.sol()&&n.peek()=="\\";return n.skipToEnd(),o&&/^\\\s*$/.test(n.current())&&(e.tokenize=r),"comment"}function v(n){return n.skipToEnd(),"comment"}function m(n,e){for(var o=!1,i,t=!1;i=n.next();){if(i=='"'&&!o){t=!0;break}o=!o&&i=="\\"}return t&&(e.tokenize=r),"string"}function l(n,e,o){n.context={prev:n.context,indent:n.indent,col:o,type:e}}function u(n){n.indent=n.context.indent,n.context=n.context.prev}const a={name:"q",startState:function(){return{tokenize:r,context:null,indent:0,col:0}},token:function(n,e){n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation());var o=e.tokenize(n,e);if(o!="comment"&&e.context&&e.context.align==null&&e.context.type!="pattern"&&(e.context.align=!0),c=="(")l(e,")",n.column());else if(c=="[")l(e,"]",n.column());else if(c=="{")l(e,"}",n.column());else if(/[\]\}\)]/.test(c)){for(;e.context&&e.context.type=="pattern";)u(e);e.context&&c==e.context.type&&u(e)}else c=="."&&e.context&&e.context.type=="pattern"?u(e):/atom|string|variable/.test(o)&&e.context&&(/[\}\]]/.test(e.context.type)?l(e,"pattern",n.column()):e.context.type=="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return o},indent:function(n,e,o){var i=e&&e.charAt(0),t=n.context;if(/[\]\}]/.test(i))for(;t&&t.type=="pattern";)t=t.prev;var d=t&&i==t.type;return t?t.type=="pattern"?t.col:t.align?t.col+(d?0:1):t.indent+(d?0:o.unit):0},languageData:{commentTokens:{line:"/"}}};export{a as q}; diff --git a/web-dist/js/chunks/q-pXgVlZs6.mjs.gz b/web-dist/js/chunks/q-pXgVlZs6.mjs.gz new file mode 100644 index 0000000000..ddbf5987fe Binary files /dev/null and b/web-dist/js/chunks/q-pXgVlZs6.mjs.gz differ diff --git a/web-dist/js/chunks/r-B6wPVr8A.mjs b/web-dist/js/chunks/r-B6wPVr8A.mjs new file mode 100644 index 0000000000..6200cedcd0 --- /dev/null +++ b/web-dist/js/chunks/r-B6wPVr8A.mjs @@ -0,0 +1 @@ +function f(e){for(var n={},r=0;r=!&|~$:]/,t;function p(e,n){t=null;var r=e.next();if(r=="#")return e.skipToEnd(),"comment";if(r=="0"&&e.eat("x"))return e.eatWhile(/[\da-f]/i),"number";if(r=="."&&e.eat(/\d/))return e.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(r))return e.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if(r=="'"||r=='"')return n.tokenize=E(r),"string";if(r=="`")return e.match(/[^`]+`/),"string.special";if(r=="."&&e.match(/.(?:[.]|\d+)/))return"keyword";if(/[a-zA-Z\.]/.test(r)){e.eatWhile(/[\w\.]/);var i=e.current();return h.propertyIsEnumerable(i)?"atom":N.propertyIsEnumerable(i)?(A.propertyIsEnumerable(i)&&!e.match(/\s*if(\s+|$)/,!1)&&(t="block"),"keyword"):m.propertyIsEnumerable(i)?"builtin":"variable"}else return r=="%"?(e.skipTo("%")&&e.next(),"variableName.special"):r=="<"&&e.eat("-")||r=="<"&&e.match("<-")||r=="-"&&e.match(/>>?/)||r=="="&&n.ctx.argList?"operator":k.test(r)?(r=="$"||e.eatWhile(k),"operator"):/[\(\){}\[\];]/.test(r)?(t=r,r==";"?"punctuation":null):null}function E(e){return function(n,r){if(n.eat("\\")){var i=n.next();return i=="x"?n.match(/^[a-f0-9]{2}/i):(i=="u"||i=="U")&&n.eat("{")&&n.skipTo("}")?n.next():i=="u"?n.match(/^[a-f0-9]{4}/i):i=="U"?n.match(/^[a-f0-9]{8}/i):/[0-7]/.test(i)&&n.match(/^[0-7]{1,2}/),"string.special"}else{for(var l;(l=n.next())!=null;){if(l==e){r.tokenize=p;break}if(l=="\\"){n.backUp(1);break}}return"string"}}}var v=1,u=2,c=4;function o(e,n,r){e.ctx={type:n,indent:e.indent,flags:0,column:r.column(),prev:e.ctx}}function x(e,n){var r=e.ctx;e.ctx={type:r.type,indent:r.indent,flags:r.flags|n,column:r.column,prev:r.prev}}function a(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev}const I={name:"r",startState:function(e){return{tokenize:p,ctx:{type:"top",indent:-e,flags:u},indent:0,afterIdent:!1}},token:function(e,n){if(e.sol()&&((n.ctx.flags&3)==0&&(n.ctx.flags|=u),n.ctx.flags&c&&a(n),n.indent=e.indentation()),e.eatSpace())return null;var r=n.tokenize(e,n);return r!="comment"&&(n.ctx.flags&u)==0&&x(n,v),(t==";"||t=="{"||t=="}")&&n.ctx.type=="block"&&a(n),t=="{"?o(n,"}",e):t=="("?(o(n,")",e),n.afterIdent&&(n.ctx.argList=!0)):t=="["?o(n,"]",e):t=="block"?o(n,"block",e):t==n.ctx.type?a(n):n.ctx.type=="block"&&r!="comment"&&x(n,c),n.afterIdent=r=="variable"||r=="keyword",r},indent:function(e,n,r){if(e.tokenize!=p)return 0;var i=n&&n.charAt(0),l=e.ctx,d=i==l.type;return l.flags&c&&(l=l.prev),l.type=="block"?l.indent+(i=="{"?0:r.unit):l.flags&v?l.column+(d?0:1):l.indent+(d?0:r.unit)},languageData:{wordChars:".",commentTokens:{line:"#"},autocomplete:b.concat(g,s)}};export{I as r}; diff --git a/web-dist/js/chunks/r-B6wPVr8A.mjs.gz b/web-dist/js/chunks/r-B6wPVr8A.mjs.gz new file mode 100644 index 0000000000..31a6bac3c6 Binary files /dev/null and b/web-dist/js/chunks/r-B6wPVr8A.mjs.gz differ diff --git a/web-dist/js/chunks/resources-CL0nvFAd.mjs b/web-dist/js/chunks/resources-CL0nvFAd.mjs new file mode 100644 index 0000000000..1cab0a26c7 --- /dev/null +++ b/web-dist/js/chunks/resources-CL0nvFAd.mjs @@ -0,0 +1,6 @@ +import{dD as kt,dj as mt,bU as Zs,dN as cs,ez as Ys,bW as E,eg as Gt,bQ as he,cU as Ot,c0 as Pe,c7 as ze,cj as It,cq as er,aU as z,bk as x,c5 as _t,c8 as He,da as ds,q as Je,c6 as ps}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{aK as us}from"./user-C7xYeMZ3.mjs";function hs(e,t){return function(){return e.apply(t,arguments)}}const{toString:tr}=Object.prototype,{getPrototypeOf:Tt}=Object,{iterator:nt,toStringTag:ms}=Symbol,ot=(e=>t=>{const s=tr.call(t);return e[s]||(e[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),ve=e=>(e=e.toLowerCase(),t=>ot(t)===e),it=e=>t=>typeof t===e,{isArray:Te}=Array,Ie=it("undefined");function $e(e){return e!==null&&!Ie(e)&&e.constructor!==null&&!Ie(e.constructor)&&le(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Os=ve("ArrayBuffer");function sr(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Os(e.buffer),t}const rr=it("string"),le=it("function"),fs=it("number"),qe=e=>e!==null&&typeof e=="object",ar=e=>e===!0||e===!1,Ke=e=>{if(ot(e)!=="object")return!1;const t=Tt(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(ms in e)&&!(nt in e)},nr=e=>{if(!qe(e)||$e(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},or=ve("Date"),ir=ve("File"),lr=e=>!!(e&&typeof e.uri<"u"),cr=e=>e&&typeof e.getParts<"u",dr=ve("Blob"),pr=ve("FileList"),ur=e=>qe(e)&&le(e.pipe);function hr(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof mt<"u"?mt:{}}const Qt=hr(),Wt=typeof Qt.FormData<"u"?Qt.FormData:void 0,mr=e=>{let t;return e&&(Wt&&e instanceof Wt||le(e.append)&&((t=ot(e))==="formdata"||t==="object"&&le(e.toString)&&e.toString()==="[object FormData]"))},Or=ve("URLSearchParams"),[fr,Pr,vr,br]=["ReadableStream","Request","Response","Headers"].map(ve),Sr=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ne(e,t,{allOwnKeys:s=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),Te(e))for(r=0,a=e.length;r0;)if(a=s[r],t===a.toLowerCase())return a;return null}const Ue=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:mt,vs=e=>!Ie(e)&&e!==Ue;function ft(){const{caseless:e,skipUndefined:t}=vs(this)&&this||{},s={},r=(a,n)=>{if(n==="__proto__"||n==="constructor"||n==="prototype")return;const o=e&&Ps(s,n)||n;Ke(s[o])&&Ke(a)?s[o]=ft(s[o],a):Ke(a)?s[o]=ft({},a):Te(a)?s[o]=a.slice():(!t||!Ie(a))&&(s[o]=a)};for(let a=0,n=arguments.length;a(Ne(t,(a,n)=>{s&&le(a)?Object.defineProperty(e,n,{value:hs(a,s),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),Vr=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),yr=(e,t,s,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),s&&Object.assign(e.prototype,s)},Rr=(e,t,s,r)=>{let a,n,o;const i={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),n=a.length;n-- >0;)o=a[n],(!r||r(o,e,t))&&!i[o]&&(t[o]=e[o],i[o]=!0);e=s!==!1&&Tt(e)}while(e&&(!s||s(e,t))&&e!==Object.prototype);return t},wr=(e,t,s)=>{e=String(e),(s===void 0||s>e.length)&&(s=e.length),s-=t.length;const r=e.indexOf(t,s);return r!==-1&&r===s},Ur=e=>{if(!e)return null;if(Te(e))return e;let t=e.length;if(!fs(t))return null;const s=new Array(t);for(;t-- >0;)s[t]=e[t];return s},xr=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Tt(Uint8Array)),gr=(e,t)=>{const r=(e&&e[nt]).call(e);let a;for(;(a=r.next())&&!a.done;){const n=a.value;t.call(e,n[0],n[1])}},Cr=(e,t)=>{let s;const r=[];for(;(s=e.exec(t))!==null;)r.push(s);return r},Ir=ve("HTMLFormElement"),Tr=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,r,a){return r.toUpperCase()+a}),zt=(({hasOwnProperty:e})=>(t,s)=>e.call(t,s))(Object.prototype),Er=ve("RegExp"),bs=(e,t)=>{const s=Object.getOwnPropertyDescriptors(e),r={};Ne(s,(a,n)=>{let o;(o=t(a,n,e))!==!1&&(r[n]=o||a)}),Object.defineProperties(e,r)},Dr=e=>{bs(e,(t,s)=>{if(le(e)&&["arguments","caller","callee"].indexOf(s)!==-1)return!1;const r=e[s];if(le(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},Fr=(e,t)=>{const s={},r=a=>{a.forEach(n=>{s[n]=!0})};return Te(e)?r(e):r(String(e).split(t)),s},Br=()=>{},Lr=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function jr(e){return!!(e&&le(e.append)&&e[ms]==="FormData"&&e[nt])}const Mr=e=>{const t=new Array(10),s=(r,a)=>{if(qe(r)){if(t.indexOf(r)>=0)return;if($e(r))return r;if(!("toJSON"in r)){t[a]=r;const n=Te(r)?[]:{};return Ne(r,(o,i)=>{const l=s(o,a+1);!Ie(l)&&(n[i]=l)}),t[a]=void 0,n}}return r};return s(e,0)},Hr=ve("AsyncFunction"),$r=e=>e&&(qe(e)||le(e))&&le(e.then)&&le(e.catch),Ss=((e,t)=>e?setImmediate:t?((s,r)=>(Ue.addEventListener("message",({source:a,data:n})=>{a===Ue&&n===s&&r.length&&r.shift()()},!1),a=>{r.push(a),Ue.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",le(Ue.postMessage)),qr=typeof queueMicrotask<"u"?queueMicrotask.bind(Ue):typeof kt<"u"&&kt.nextTick||Ss,Nr=e=>e!=null&&le(e[nt]),p={isArray:Te,isArrayBuffer:Os,isBuffer:$e,isFormData:mr,isArrayBufferView:sr,isString:rr,isNumber:fs,isBoolean:ar,isObject:qe,isPlainObject:Ke,isEmptyObject:nr,isReadableStream:fr,isRequest:Pr,isResponse:vr,isHeaders:br,isUndefined:Ie,isDate:or,isFile:ir,isReactNativeBlob:lr,isReactNative:cr,isBlob:dr,isRegExp:Er,isFunction:le,isStream:ur,isURLSearchParams:Or,isTypedArray:xr,isFileList:pr,forEach:Ne,merge:ft,extend:Ar,trim:Sr,stripBOM:Vr,inherits:yr,toFlatObject:Rr,kindOf:ot,kindOfTest:ve,endsWith:wr,toArray:Ur,forEachEntry:gr,matchAll:Cr,isHTMLForm:Ir,hasOwnProperty:zt,hasOwnProp:zt,reduceDescriptors:bs,freezeMethods:Dr,toObjectSet:Fr,toCamelCase:Tr,noop:Br,toFiniteNumber:Lr,findKey:Ps,global:Ue,isContextDefined:vs,isSpecCompliantForm:jr,toJSONObject:Mr,isAsyncFn:Hr,isThenable:$r,setImmediate:Ss,asap:qr,isIterable:Nr};let I=class As extends Error{static from(t,s,r,a,n,o){const i=new As(t.message,s||t.code,r,a,n);return i.cause=t,i.name=t.name,t.status!=null&&i.status==null&&(i.status=t.status),o&&Object.assign(i,o),i}constructor(t,s,r,a,n){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,s&&(this.code=s),r&&(this.config=r),a&&(this.request=a),n&&(this.response=n,this.status=n.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:p.toJSONObject(this.config),code:this.code,status:this.status}}};I.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";I.ERR_BAD_OPTION="ERR_BAD_OPTION";I.ECONNABORTED="ECONNABORTED";I.ETIMEDOUT="ETIMEDOUT";I.ERR_NETWORK="ERR_NETWORK";I.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";I.ERR_DEPRECATED="ERR_DEPRECATED";I.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";I.ERR_BAD_REQUEST="ERR_BAD_REQUEST";I.ERR_CANCELED="ERR_CANCELED";I.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";I.ERR_INVALID_URL="ERR_INVALID_URL";const kr=null;function Pt(e){return p.isPlainObject(e)||p.isArray(e)}function Vs(e){return p.endsWith(e,"[]")?e.slice(0,-2):e}function dt(e,t,s){return e?e.concat(t).map(function(a,n){return a=Vs(a),!s&&n?"["+a+"]":a}).join(s?".":""):t}function Gr(e){return p.isArray(e)&&!e.some(Pt)}const _r=p.toFlatObject(p,{},null,function(t){return/^is[A-Z]/.test(t)});function lt(e,t,s){if(!p.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,s=p.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(U,y){return!p.isUndefined(y[U])});const r=s.metaTokens,a=s.visitor||d,n=s.dots,o=s.indexes,l=(s.Blob||typeof Blob<"u"&&Blob)&&p.isSpecCompliantForm(t);if(!p.isFunction(a))throw new TypeError("visitor must be a function");function c(O){if(O===null)return"";if(p.isDate(O))return O.toISOString();if(p.isBoolean(O))return O.toString();if(!l&&p.isBlob(O))throw new I("Blob is not supported. Use a Buffer instead.");return p.isArrayBuffer(O)||p.isTypedArray(O)?l&&typeof Blob=="function"?new Blob([O]):Zs.from(O):O}function d(O,U,y){let $=O;if(p.isReactNative(t)&&p.isReactNativeBlob(O))return t.append(dt(y,U,n),c(O)),!1;if(O&&!y&&typeof O=="object"){if(p.endsWith(U,"{}"))U=r?U:U.slice(0,-2),O=JSON.stringify(O);else if(p.isArray(O)&&Gr(O)||(p.isFileList(O)||p.endsWith(U,"[]"))&&($=p.toArray(O)))return U=Vs(U),$.forEach(function(j,J){!(p.isUndefined(j)||j===null)&&t.append(o===!0?dt([U],J,n):o===null?U:U+"[]",c(j))}),!1}return Pt(O)?!0:(t.append(dt(y,U,n),c(O)),!1)}const u=[],R=Object.assign(_r,{defaultVisitor:d,convertValue:c,isVisitable:Pt});function F(O,U){if(!p.isUndefined(O)){if(u.indexOf(O)!==-1)throw Error("Circular reference detected in "+U.join("."));u.push(O),p.forEach(O,function($,K){(!(p.isUndefined($)||$===null)&&a.call(t,$,p.isString(K)?K.trim():K,U,R))===!0&&F($,U?U.concat(K):[K])}),u.pop()}}if(!p.isObject(e))throw new TypeError("data must be an object");return F(e),t}function Jt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Et(e,t){this._pairs=[],e&<(e,this,t)}const ys=Et.prototype;ys.append=function(t,s){this._pairs.push([t,s])};ys.toString=function(t){const s=t?function(r){return t.call(this,r,Jt)}:Jt;return this._pairs.map(function(a){return s(a[0])+"="+s(a[1])},"").join("&")};function Qr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Rs(e,t,s){if(!t)return e;const r=s&&s.encode||Qr,a=p.isFunction(s)?{serialize:s}:s,n=a&&a.serialize;let o;if(n?o=n(t,a):o=p.isURLSearchParams(t)?t.toString():new Et(t,a).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Kt{constructor(){this.handlers=[]}use(t,s,r){return this.handlers.push({fulfilled:t,rejected:s,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){p.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Dt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Wr=typeof URLSearchParams<"u"?URLSearchParams:Et,zr=typeof FormData<"u"?FormData:null,Jr=typeof Blob<"u"?Blob:null,Kr={isBrowser:!0,classes:{URLSearchParams:Wr,FormData:zr,Blob:Jr},protocols:["http","https","file","blob","url","data"]},Ft=typeof window<"u"&&typeof document<"u",vt=typeof navigator=="object"&&navigator||void 0,Xr=Ft&&(!vt||["ReactNative","NativeScript","NS"].indexOf(vt.product)<0),Zr=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Yr=Ft&&window.location.href||"http://localhost",ea=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ft,hasStandardBrowserEnv:Xr,hasStandardBrowserWebWorkerEnv:Zr,navigator:vt,origin:Yr},Symbol.toStringTag,{value:"Module"})),re={...ea,...Kr};function ta(e,t){return lt(e,new re.classes.URLSearchParams,{visitor:function(s,r,a,n){return re.isNode&&p.isBuffer(s)?(this.append(r,s.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}function sa(e){return p.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ra(e){const t={},s=Object.keys(e);let r;const a=s.length;let n;for(r=0;r=s.length;return o=!o&&p.isArray(a)?a.length:o,l?(p.hasOwnProp(a,o)?a[o]=[a[o],r]:a[o]=r,!i):((!a[o]||!p.isObject(a[o]))&&(a[o]=[]),t(s,r,a[o],n)&&p.isArray(a[o])&&(a[o]=ra(a[o])),!i)}if(p.isFormData(e)&&p.isFunction(e.entries)){const s={};return p.forEachEntry(e,(r,a)=>{t(sa(r),a,s,0)}),s}return null}function aa(e,t,s){if(p.isString(e))try{return(t||JSON.parse)(e),p.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(s||JSON.stringify)(e)}const ke={transitional:Dt,adapter:["xhr","http","fetch"],transformRequest:[function(t,s){const r=s.getContentType()||"",a=r.indexOf("application/json")>-1,n=p.isObject(t);if(n&&p.isHTMLForm(t)&&(t=new FormData(t)),p.isFormData(t))return a?JSON.stringify(ws(t)):t;if(p.isArrayBuffer(t)||p.isBuffer(t)||p.isStream(t)||p.isFile(t)||p.isBlob(t)||p.isReadableStream(t))return t;if(p.isArrayBufferView(t))return t.buffer;if(p.isURLSearchParams(t))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(n){if(r.indexOf("application/x-www-form-urlencoded")>-1)return ta(t,this.formSerializer).toString();if((i=p.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return lt(i?{"files[]":t}:t,l&&new l,this.formSerializer)}}return n||a?(s.setContentType("application/json",!1),aa(t)):t}],transformResponse:[function(t){const s=this.transitional||ke.transitional,r=s&&s.forcedJSONParsing,a=this.responseType==="json";if(p.isResponse(t)||p.isReadableStream(t))return t;if(t&&p.isString(t)&&(r&&!this.responseType||a)){const o=!(s&&s.silentJSONParsing)&&a;try{return JSON.parse(t,this.parseReviver)}catch(i){if(o)throw i.name==="SyntaxError"?I.from(i,I.ERR_BAD_RESPONSE,this,null,this.response):i}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:re.classes.FormData,Blob:re.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};p.forEach(["delete","get","head","post","put","patch"],e=>{ke.headers[e]={}});const na=p.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),oa=e=>{const t={};let s,r,a;return e&&e.split(` +`).forEach(function(o){a=o.indexOf(":"),s=o.substring(0,a).trim().toLowerCase(),r=o.substring(a+1).trim(),!(!s||t[s]&&na[s])&&(s==="set-cookie"?t[s]?t[s].push(r):t[s]=[r]:t[s]=t[s]?t[s]+", "+r:r)}),t},Xt=Symbol("internals");function Be(e){return e&&String(e).trim().toLowerCase()}function Xe(e){return e===!1||e==null?e:p.isArray(e)?e.map(Xe):String(e)}function ia(e){const t=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=s.exec(e);)t[r[1]]=r[2];return t}const la=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function pt(e,t,s,r,a){if(p.isFunction(r))return r.call(this,t,s);if(a&&(t=s),!!p.isString(t)){if(p.isString(r))return t.indexOf(r)!==-1;if(p.isRegExp(r))return r.test(t)}}function ca(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,s,r)=>s.toUpperCase()+r)}function da(e,t){const s=p.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+s,{value:function(a,n,o){return this[r].call(this,t,a,n,o)},configurable:!0})})}let ce=class{constructor(t){t&&this.set(t)}set(t,s,r){const a=this;function n(i,l,c){const d=Be(l);if(!d)throw new Error("header name must be a non-empty string");const u=p.findKey(a,d);(!u||a[u]===void 0||c===!0||c===void 0&&a[u]!==!1)&&(a[u||l]=Xe(i))}const o=(i,l)=>p.forEach(i,(c,d)=>n(c,d,l));if(p.isPlainObject(t)||t instanceof this.constructor)o(t,s);else if(p.isString(t)&&(t=t.trim())&&!la(t))o(oa(t),s);else if(p.isObject(t)&&p.isIterable(t)){let i={},l,c;for(const d of t){if(!p.isArray(d))throw TypeError("Object iterator must return a key-value pair");i[c=d[0]]=(l=i[c])?p.isArray(l)?[...l,d[1]]:[l,d[1]]:d[1]}o(i,s)}else t!=null&&n(s,t,r);return this}get(t,s){if(t=Be(t),t){const r=p.findKey(this,t);if(r){const a=this[r];if(!s)return a;if(s===!0)return ia(a);if(p.isFunction(s))return s.call(this,a,r);if(p.isRegExp(s))return s.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,s){if(t=Be(t),t){const r=p.findKey(this,t);return!!(r&&this[r]!==void 0&&(!s||pt(this,this[r],r,s)))}return!1}delete(t,s){const r=this;let a=!1;function n(o){if(o=Be(o),o){const i=p.findKey(r,o);i&&(!s||pt(r,r[i],i,s))&&(delete r[i],a=!0)}}return p.isArray(t)?t.forEach(n):n(t),a}clear(t){const s=Object.keys(this);let r=s.length,a=!1;for(;r--;){const n=s[r];(!t||pt(this,this[n],n,t,!0))&&(delete this[n],a=!0)}return a}normalize(t){const s=this,r={};return p.forEach(this,(a,n)=>{const o=p.findKey(r,n);if(o){s[o]=Xe(a),delete s[n];return}const i=t?ca(n):String(n).trim();i!==n&&delete s[n],s[i]=Xe(a),r[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const s=Object.create(null);return p.forEach(this,(r,a)=>{r!=null&&r!==!1&&(s[a]=t&&p.isArray(r)?r.join(", "):r)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,s])=>t+": "+s).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...s){const r=new this(t);return s.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[Xt]=this[Xt]={accessors:{}}).accessors,a=this.prototype;function n(o){const i=Be(o);r[i]||(da(a,o),r[i]=!0)}return p.isArray(t)?t.forEach(n):n(t),this}};ce.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);p.reduceDescriptors(ce.prototype,({value:e},t)=>{let s=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[s]=r}}});p.freezeMethods(ce);function ut(e,t){const s=this||ke,r=t||s,a=ce.from(r.headers);let n=r.data;return p.forEach(e,function(i){n=i.call(s,n,a.normalize(),t?t.status:void 0)}),a.normalize(),n}function Us(e){return!!(e&&e.__CANCEL__)}let Ge=class extends I{constructor(t,s,r){super(t??"canceled",I.ERR_CANCELED,s,r),this.name="CanceledError",this.__CANCEL__=!0}};function xs(e,t,s){const r=s.config.validateStatus;!s.status||!r||r(s.status)?e(s):t(new I("Request failed with status code "+s.status,[I.ERR_BAD_REQUEST,I.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}function pa(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ua(e,t){e=e||10;const s=new Array(e),r=new Array(e);let a=0,n=0,o;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=r[n];o||(o=c),s[a]=l,r[a]=c;let u=n,R=0;for(;u!==a;)R+=s[u++],u=u%e;if(a=(a+1)%e,a===n&&(n=(n+1)%e),c-o{s=d,a=null,n&&(clearTimeout(n),n=null),e(...c)};return[(...c)=>{const d=Date.now(),u=d-s;u>=r?o(c,d):(a=c,n||(n=setTimeout(()=>{n=null,o(a)},r-u)))},()=>a&&o(a)]}const at=(e,t,s=3)=>{let r=0;const a=ua(50,250);return ha(n=>{const o=n.loaded,i=n.lengthComputable?n.total:void 0,l=o-r,c=a(l),d=o<=i;r=o;const u={loaded:o,total:i,progress:i?o/i:void 0,bytes:l,rate:c||void 0,estimated:c&&i&&d?(i-o)/c:void 0,event:n,lengthComputable:i!=null,[t?"download":"upload"]:!0};e(u)},s)},Zt=(e,t)=>{const s=e!=null;return[r=>t[0]({lengthComputable:s,total:e,loaded:r}),t[1]]},Yt=e=>(...t)=>p.asap(()=>e(...t)),ma=re.hasStandardBrowserEnv?((e,t)=>s=>(s=new URL(s,re.origin),e.protocol===s.protocol&&e.host===s.host&&(t||e.port===s.port)))(new URL(re.origin),re.navigator&&/(msie|trident)/i.test(re.navigator.userAgent)):()=>!0,Oa=re.hasStandardBrowserEnv?{write(e,t,s,r,a,n,o){if(typeof document>"u")return;const i=[`${e}=${encodeURIComponent(t)}`];p.isNumber(s)&&i.push(`expires=${new Date(s).toUTCString()}`),p.isString(r)&&i.push(`path=${r}`),p.isString(a)&&i.push(`domain=${a}`),n===!0&&i.push("secure"),p.isString(o)&&i.push(`SameSite=${o}`),document.cookie=i.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function fa(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Pa(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function gs(e,t,s){let r=!fa(t);return e&&(r||s==!1)?Pa(e,t):t}const es=e=>e instanceof ce?{...e}:e;function ge(e,t){t=t||{};const s={};function r(c,d,u,R){return p.isPlainObject(c)&&p.isPlainObject(d)?p.merge.call({caseless:R},c,d):p.isPlainObject(d)?p.merge({},d):p.isArray(d)?d.slice():d}function a(c,d,u,R){if(p.isUndefined(d)){if(!p.isUndefined(c))return r(void 0,c,u,R)}else return r(c,d,u,R)}function n(c,d){if(!p.isUndefined(d))return r(void 0,d)}function o(c,d){if(p.isUndefined(d)){if(!p.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function i(c,d,u){if(u in t)return r(c,d);if(u in e)return r(void 0,c)}const l={url:n,method:n,data:n,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:i,headers:(c,d,u)=>a(es(c),es(d),u,!0)};return p.forEach(Object.keys({...e,...t}),function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;const u=p.hasOwnProp(l,d)?l[d]:a,R=u(e[d],t[d],d);p.isUndefined(R)&&u!==i||(s[d]=R)}),s}const Cs=e=>{const t=ge({},e);let{data:s,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:n,headers:o,auth:i}=t;if(t.headers=o=ce.from(o),t.url=Rs(gs(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),i&&o.set("Authorization","Basic "+btoa((i.username||"")+":"+(i.password?unescape(encodeURIComponent(i.password)):""))),p.isFormData(s)){if(re.hasStandardBrowserEnv||re.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(p.isFunction(s.getHeaders)){const l=s.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([d,u])=>{c.includes(d.toLowerCase())&&o.set(d,u)})}}if(re.hasStandardBrowserEnv&&(r&&p.isFunction(r)&&(r=r(t)),r||r!==!1&&ma(t.url))){const l=a&&n&&Oa.read(n);l&&o.set(a,l)}return t},va=typeof XMLHttpRequest<"u",ba=va&&function(e){return new Promise(function(s,r){const a=Cs(e);let n=a.data;const o=ce.from(a.headers).normalize();let{responseType:i,onUploadProgress:l,onDownloadProgress:c}=a,d,u,R,F,O;function U(){F&&F(),O&&O(),a.cancelToken&&a.cancelToken.unsubscribe(d),a.signal&&a.signal.removeEventListener("abort",d)}let y=new XMLHttpRequest;y.open(a.method.toUpperCase(),a.url,!0),y.timeout=a.timeout;function $(){if(!y)return;const j=ce.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),te={data:!i||i==="text"||i==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:j,config:e,request:y};xs(function(Z){s(Z),U()},function(Z){r(Z),U()},te),y=null}"onloadend"in y?y.onloadend=$:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout($)},y.onabort=function(){y&&(r(new I("Request aborted",I.ECONNABORTED,e,y)),y=null)},y.onerror=function(J){const te=J&&J.message?J.message:"Network Error",de=new I(te,I.ERR_NETWORK,e,y);de.event=J||null,r(de),y=null},y.ontimeout=function(){let J=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const te=a.transitional||Dt;a.timeoutErrorMessage&&(J=a.timeoutErrorMessage),r(new I(J,te.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,e,y)),y=null},n===void 0&&o.setContentType(null),"setRequestHeader"in y&&p.forEach(o.toJSON(),function(J,te){y.setRequestHeader(te,J)}),p.isUndefined(a.withCredentials)||(y.withCredentials=!!a.withCredentials),i&&i!=="json"&&(y.responseType=a.responseType),c&&([R,O]=at(c,!0),y.addEventListener("progress",R)),l&&y.upload&&([u,F]=at(l),y.upload.addEventListener("progress",u),y.upload.addEventListener("loadend",F)),(a.cancelToken||a.signal)&&(d=j=>{y&&(r(!j||j.type?new Ge(null,e,y):j),y.abort(),y=null)},a.cancelToken&&a.cancelToken.subscribe(d),a.signal&&(a.signal.aborted?d():a.signal.addEventListener("abort",d)));const K=pa(a.url);if(K&&re.protocols.indexOf(K)===-1){r(new I("Unsupported protocol "+K+":",I.ERR_BAD_REQUEST,e));return}y.send(n||null)})},Sa=(e,t)=>{const{length:s}=e=e?e.filter(Boolean):[];if(t||s){let r=new AbortController,a;const n=function(c){if(!a){a=!0,i();const d=c instanceof Error?c:this.reason;r.abort(d instanceof I?d:new Ge(d instanceof Error?d.message:d))}};let o=t&&setTimeout(()=>{o=null,n(new I(`timeout of ${t}ms exceeded`,I.ETIMEDOUT))},t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(n):c.removeEventListener("abort",n)}),e=null)};e.forEach(c=>c.addEventListener("abort",n));const{signal:l}=r;return l.unsubscribe=()=>p.asap(i),l}},Aa=function*(e,t){let s=e.byteLength;if(s{const a=Va(e,t);let n=0,o,i=l=>{o||(o=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:d}=await a.next();if(c){i(),l.close();return}let u=d.byteLength;if(s){let R=n+=u;s(R)}l.enqueue(new Uint8Array(d))}catch(c){throw i(c),c}},cancel(l){return i(l),a.return()}},{highWaterMark:2})},ss=64*1024,{isFunction:_e}=p,Ra=(({Request:e,Response:t})=>({Request:e,Response:t}))(p.global),{ReadableStream:rs,TextEncoder:as}=p.global,ns=(e,...t)=>{try{return!!e(...t)}catch{return!1}},wa=e=>{e=p.merge.call({skipUndefined:!0},Ra,e);const{fetch:t,Request:s,Response:r}=e,a=t?_e(t):typeof fetch=="function",n=_e(s),o=_e(r);if(!a)return!1;const i=a&&_e(rs),l=a&&(typeof as=="function"?(O=>U=>O.encode(U))(new as):async O=>new Uint8Array(await new s(O).arrayBuffer())),c=n&&i&&ns(()=>{let O=!1;const U=new s(re.origin,{body:new rs,method:"POST",get duplex(){return O=!0,"half"}}).headers.has("Content-Type");return O&&!U}),d=o&&i&&ns(()=>p.isReadableStream(new r("").body)),u={stream:d&&(O=>O.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(O=>{!u[O]&&(u[O]=(U,y)=>{let $=U&&U[O];if($)return $.call(U);throw new I(`Response type '${O}' is not supported`,I.ERR_NOT_SUPPORT,y)})});const R=async O=>{if(O==null)return 0;if(p.isBlob(O))return O.size;if(p.isSpecCompliantForm(O))return(await new s(re.origin,{method:"POST",body:O}).arrayBuffer()).byteLength;if(p.isArrayBufferView(O)||p.isArrayBuffer(O))return O.byteLength;if(p.isURLSearchParams(O)&&(O=O+""),p.isString(O))return(await l(O)).byteLength},F=async(O,U)=>{const y=p.toFiniteNumber(O.getContentLength());return y??R(U)};return async O=>{let{url:U,method:y,data:$,signal:K,cancelToken:j,timeout:J,onDownloadProgress:te,onUploadProgress:de,responseType:Z,headers:C,withCredentials:T="same-origin",fetchOptions:D}=Cs(O),_=t||fetch;Z=Z?(Z+"").toLowerCase():"text";let H=Sa([K,j&&j.toAbortSignal()],J),q=null;const Q=H&&H.unsubscribe&&(()=>{H.unsubscribe()});let se;try{if(de&&c&&y!=="get"&&y!=="head"&&(se=await F(C,$))!==0){let B=new s(U,{method:"POST",body:$,duplex:"half"}),N;if(p.isFormData($)&&(N=B.headers.get("content-type"))&&C.setContentType(N),B.body){const[Y,ee]=Zt(se,at(Yt(de)));$=ts(B.body,ss,Y,ee)}}p.isString(T)||(T=T?"include":"omit");const W=n&&"credentials"in s.prototype,Ae={...D,signal:H,method:y.toUpperCase(),headers:C.normalize().toJSON(),body:$,duplex:"half",credentials:W?T:void 0};q=n&&new s(U,Ae);let ae=await(n?_(q,D):_(U,Ae));const Ee=d&&(Z==="stream"||Z==="response");if(d&&(te||Ee&&Q)){const B={};["status","statusText","headers"].forEach(De=>{B[De]=ae[De]});const N=p.toFiniteNumber(ae.headers.get("content-length")),[Y,ee]=te&&Zt(N,at(Yt(te),!0))||[];ae=new r(ts(ae.body,ss,Y,()=>{ee&&ee(),Q&&Q()}),B)}Z=Z||"text";let g=await u[p.findKey(u,Z)||"text"](ae,O);return!Ee&&Q&&Q(),await new Promise((B,N)=>{xs(B,N,{data:g,headers:ce.from(ae.headers),status:ae.status,statusText:ae.statusText,config:O,request:q})})}catch(W){throw Q&&Q(),W&&W.name==="TypeError"&&/Load failed|fetch/i.test(W.message)?Object.assign(new I("Network Error",I.ERR_NETWORK,O,q,W&&W.response),{cause:W.cause||W}):I.from(W,W&&W.code,O,q,W&&W.response)}}},Ua=new Map,Is=e=>{let t=e&&e.env||{};const{fetch:s,Request:r,Response:a}=t,n=[r,a,s];let o=n.length,i=o,l,c,d=Ua;for(;i--;)l=n[i],c=d.get(l),c===void 0&&d.set(l,c=i?new Map:wa(t)),d=c;return c};Is();const Bt={http:kr,xhr:ba,fetch:{get:Is}};p.forEach(Bt,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const os=e=>`- ${e}`,xa=e=>p.isFunction(e)||e===null||e===!1;function ga(e,t){e=p.isArray(e)?e:[e];const{length:s}=e;let r,a;const n={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=s?o.length>1?`since : +`+o.map(os).join(` +`):" "+os(o[0]):"as no adapter specified";throw new I("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return a}const Ts={getAdapter:ga,adapters:Bt};function ht(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ge(null,e)}function is(e){return ht(e),e.headers=ce.from(e.headers),e.data=ut.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ts.getAdapter(e.adapter||ke.adapter,e)(e).then(function(r){return ht(e),r.data=ut.call(e,e.transformResponse,r),r.headers=ce.from(r.headers),r},function(r){return Us(r)||(ht(e),r&&r.response&&(r.response.data=ut.call(e,e.transformResponse,r.response),r.response.headers=ce.from(r.response.headers))),Promise.reject(r)})}const Es="1.13.6",ct={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ct[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ls={};ct.transitional=function(t,s,r){function a(n,o){return"[Axios v"+Es+"] Transitional option '"+n+"'"+o+(r?". "+r:"")}return(n,o,i)=>{if(t===!1)throw new I(a(o," has been removed"+(s?" in "+s:"")),I.ERR_DEPRECATED);return s&&!ls[o]&&(ls[o]=!0,console.warn(a(o," has been deprecated since v"+s+" and will be removed in the near future"))),t?t(n,o,i):!0}};ct.spelling=function(t){return(s,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Ca(e,t,s){if(typeof e!="object")throw new I("options must be an object",I.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const n=r[a],o=t[n];if(o){const i=e[n],l=i===void 0||o(i,n,e);if(l!==!0)throw new I("option "+n+" must be "+l,I.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new I("Unknown option "+n,I.ERR_BAD_OPTION)}}const Ze={assertOptions:Ca,validators:ct},pe=Ze.validators;let xe=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Kt,response:new Kt}}async request(t,s){try{return await this._request(t,s)}catch(r){if(r instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const n=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?n&&!String(r.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+n):r.stack=n}catch{}}throw r}}_request(t,s){typeof t=="string"?(s=s||{},s.url=t):s=t||{},s=ge(this.defaults,s);const{transitional:r,paramsSerializer:a,headers:n}=s;r!==void 0&&Ze.assertOptions(r,{silentJSONParsing:pe.transitional(pe.boolean),forcedJSONParsing:pe.transitional(pe.boolean),clarifyTimeoutError:pe.transitional(pe.boolean),legacyInterceptorReqResOrdering:pe.transitional(pe.boolean)},!1),a!=null&&(p.isFunction(a)?s.paramsSerializer={serialize:a}:Ze.assertOptions(a,{encode:pe.function,serialize:pe.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),Ze.assertOptions(s,{baseUrl:pe.spelling("baseURL"),withXsrfToken:pe.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let o=n&&p.merge(n.common,n[s.method]);n&&p.forEach(["delete","get","head","post","put","patch","common"],O=>{delete n[O]}),s.headers=ce.concat(o,n);const i=[];let l=!0;this.interceptors.request.forEach(function(U){if(typeof U.runWhen=="function"&&U.runWhen(s)===!1)return;l=l&&U.synchronous;const y=s.transitional||Dt;y&&y.legacyInterceptorReqResOrdering?i.unshift(U.fulfilled,U.rejected):i.push(U.fulfilled,U.rejected)});const c=[];this.interceptors.response.forEach(function(U){c.push(U.fulfilled,U.rejected)});let d,u=0,R;if(!l){const O=[is.bind(this),void 0];for(O.unshift(...i),O.push(...c),R=O.length,d=Promise.resolve(s);u{if(!r._listeners)return;let n=r._listeners.length;for(;n-- >0;)r._listeners[n](a);r._listeners=null}),this.promise.then=a=>{let n;const o=new Promise(i=>{r.subscribe(i),n=i}).then(a);return o.cancel=function(){r.unsubscribe(n)},o},t(function(n,o,i){r.reason||(r.reason=new Ge(n,o,i),s(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const s=this._listeners.indexOf(t);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const t=new AbortController,s=r=>{t.abort(r)};return this.subscribe(s),t.signal.unsubscribe=()=>this.unsubscribe(s),t.signal}static source(){let t;return{token:new Ds(function(a){t=a}),cancel:t}}};function Ta(e){return function(s){return e.apply(null,s)}}function Ea(e){return p.isObject(e)&&e.isAxiosError===!0}const bt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(bt).forEach(([e,t])=>{bt[t]=e});function Fs(e){const t=new xe(e),s=hs(xe.prototype.request,t);return p.extend(s,xe.prototype,t,{allOwnKeys:!0}),p.extend(s,t,null,{allOwnKeys:!0}),s.create=function(a){return Fs(ge(e,a))},s}const h=Fs(ke);h.Axios=xe;h.CanceledError=Ge;h.CancelToken=Ia;h.isCancel=Us;h.VERSION=Es;h.toFormData=lt;h.AxiosError=I;h.Cancel=h.CanceledError;h.all=function(t){return Promise.all(t)};h.spread=Ta;h.isAxiosError=Ea;h.mergeConfig=ge;h.AxiosHeaders=ce;h.formToJSON=e=>ws(p.isHTMLForm(e)?new FormData(e):e);h.getAdapter=Ts.getAdapter;h.HttpStatusCode=bt;h.default=h;const{Axios:eo,AxiosError:to,CanceledError:so,isCancel:ro,CancelToken:ao,VERSION:no,all:oo,Cancel:io,isAxiosError:lo,spread:co,toFormData:po,AxiosHeaders:uo,HttpStatusCode:ho,formToJSON:mo,getAdapter:Oo,mergeConfig:fo}=h,f="https://localhost:9200/graph".replace(/\/+$/,""),X={csv:","};class G{constructor(t,s=f,r=h){this.basePath=s,this.axios=r,t&&(this.configuration=t,this.basePath=t.basePath??s)}configuration}class Da extends Error{constructor(t,s){super(s),this.field=t,this.name="RequiredError"}}const P={},v="https://example.com",m=function(e,t,s){if(s==null)throw new Da(t,`Required parameter ${t} was null or undefined when calling ${e}.`)},w=function(e,t){t&&(t.username||t.password)&&(e.auth={username:t.username,password:t.password})},k=async function(e,t){if(t&&t.accessToken){const s=typeof t.accessToken=="function"?await t.accessToken():await t.accessToken;e.Authorization="Bearer "+s}};function St(e,t,s=""){t!=null&&(typeof t=="object"?Array.isArray(t)?t.forEach(r=>St(e,r,s)):Object.keys(t).forEach(r=>St(e,t[r],`${s}${s!==""?".":""}${r}`)):e.has(s)?e.append(s,t):e.set(s,t))}const b=function(e,...t){const s=new URLSearchParams(e.search);St(s,t),e.search=s.toString()},L=function(e,t,s){const r=typeof e!="string";return(r&&s&&s.isJsonMime?s.isJsonMime(t.headers["Content-Type"]):r)?JSON.stringify(e!==void 0?e:{}):e||""},S=function(e){return e.pathname+e.search+e.hash},A=function(e,t,s,r){return(a=t,n=s)=>{const o={...e.options,url:(a.defaults.baseURL?"":r?.basePath??n)+e.url};return a.request(o)}},Po={Class:"class",Course:"course"},vo={Internal:"internal",View:"view",Upload:"upload",Edit:"edit",CreateOnly:"createOnly",BlocksDownload:"blocksDownload"},Fa=function(e){return{getActivities:async(t,s={})=>{const r="/v1beta1/extensions/org.libregraph/activities",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};w(o,e),t!==void 0&&(l.kql=t),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}}}},Bs=function(e){const t=Fa(e);return{async getActivities(s,r){const a=await t.getActivities(s,r),n=e?.serverIndex??0,o=P["ActivitiesApi.getActivities"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)}}},bo=function(e,t,s){const r=Bs(e);return{getActivities(a,n){return r.getActivities(a,n).then(o=>o(s,t))}}};class So extends G{getActivities(t,s){return Bs(this.configuration).getActivities(t,s).then(r=>r(this.axios,this.basePath))}}const Ba=function(e){return{getApplication:async(t,s={})=>{m("getApplication","applicationId",t);const r="/v1.0/applications/{application-id}".replace("{application-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};w(o,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},listApplications:async(t={})=>{const s="/v1.0/applications",r=new URL(s,v);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...t},o={},i={};w(n,e),b(r,i);let l=a&&a.headers?a.headers:{};return n.headers={...o,...l,...t.headers},{url:S(r),options:n}}}},At=function(e){const t=Ba(e);return{async getApplication(s,r){const a=await t.getApplication(s,r),n=e?.serverIndex??0,o=P["ApplicationsApi.getApplication"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async listApplications(s){const r=await t.listApplications(s),a=e?.serverIndex??0,n=P["ApplicationsApi.listApplications"]?.[a]?.url;return(o,i)=>A(r,h,f,e)(o,n||i)}}},Ao=function(e,t,s){const r=At(e);return{getApplication(a,n){return r.getApplication(a,n).then(o=>o(s,t))},listApplications(a){return r.listApplications(a).then(n=>n(s,t))}}};class Vo extends G{getApplication(t,s){return At(this.configuration).getApplication(t,s).then(r=>r(this.axios,this.basePath))}listApplications(t){return At(this.configuration).listApplications(t).then(s=>s(this.axios,this.basePath))}}const La=function(e){return{deleteDriveItem:async(t,s,r={})=>{m("deleteDriveItem","driveId",t),m("deleteDriveItem","itemId",s);const a="/v1beta1/drives/{drive-id}/items/{item-id}".replace("{drive-id}",encodeURIComponent(String(t))).replace("{item-id}",encodeURIComponent(String(s))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"DELETE",...o,...r},l={},c={};w(i,e),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},getDriveItem:async(t,s,r={})=>{m("getDriveItem","driveId",t),m("getDriveItem","itemId",s);const a="/v1beta1/drives/{drive-id}/items/{item-id}".replace("{drive-id}",encodeURIComponent(String(t))).replace("{item-id}",encodeURIComponent(String(s))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"GET",...o,...r},l={},c={};w(i,e),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},updateDriveItem:async(t,s,r,a={})=>{m("updateDriveItem","driveId",t),m("updateDriveItem","itemId",s),m("updateDriveItem","driveItem",r);const n="/v1beta1/drives/{drive-id}/items/{item-id}".replace("{drive-id}",encodeURIComponent(String(t))).replace("{item-id}",encodeURIComponent(String(s))),o=new URL(n,v);let i;e&&(i=e.baseOptions);const l={method:"PATCH",...i,...a},c={},d={};w(l,e),c["Content-Type"]="application/json",b(o,d);let u=i&&i.headers?i.headers:{};return l.headers={...c,...u,...a.headers},l.data=L(r,l,e),{url:S(o),options:l}}}},Ye=function(e){const t=La(e);return{async deleteDriveItem(s,r,a){const n=await t.deleteDriveItem(s,r,a),o=e?.serverIndex??0,i=P["DriveItemApi.deleteDriveItem"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async getDriveItem(s,r,a){const n=await t.getDriveItem(s,r,a),o=e?.serverIndex??0,i=P["DriveItemApi.getDriveItem"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async updateDriveItem(s,r,a,n){const o=await t.updateDriveItem(s,r,a,n),i=e?.serverIndex??0,l=P["DriveItemApi.updateDriveItem"]?.[i]?.url;return(c,d)=>A(o,h,f,e)(c,l||d)}}},yo=function(e,t,s){const r=Ye(e);return{deleteDriveItem(a,n,o){return r.deleteDriveItem(a,n,o).then(i=>i(s,t))},getDriveItem(a,n,o){return r.getDriveItem(a,n,o).then(i=>i(s,t))},updateDriveItem(a,n,o,i){return r.updateDriveItem(a,n,o,i).then(l=>l(s,t))}}};class Ro extends G{deleteDriveItem(t,s,r){return Ye(this.configuration).deleteDriveItem(t,s,r).then(a=>a(this.axios,this.basePath))}getDriveItem(t,s,r){return Ye(this.configuration).getDriveItem(t,s,r).then(a=>a(this.axios,this.basePath))}updateDriveItem(t,s,r,a){return Ye(this.configuration).updateDriveItem(t,s,r,a).then(n=>n(this.axios,this.basePath))}}const ja=function(e){return{createDrive:async(t,s={})=>{m("createDrive","drive",t);const r="/v1.0/drives",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"POST",...n,...s},i={},l={};w(o,e),i["Content-Type"]="application/json",b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},o.data=L(t,o,e),{url:S(a),options:o}},deleteDrive:async(t,s,r={})=>{m("deleteDrive","driveId",t);const a="/v1.0/drives/{drive-id}".replace("{drive-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"DELETE",...o,...r},l={},c={};w(i,e),s!=null&&(l["If-Match"]=String(s)),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},getDrive:async(t,s,r={})=>{m("getDrive","driveId",t);const a="/v1.0/drives/{drive-id}".replace("{drive-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"GET",...o,...r},l={},c={};w(i,e),s&&(c.$select=Array.from(s).join(X.csv)),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},updateDrive:async(t,s,r={})=>{m("updateDrive","driveId",t),m("updateDrive","driveUpdate",s);const a="/v1.0/drives/{drive-id}".replace("{drive-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"PATCH",...o,...r},l={},c={};w(i,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}}}},Le=function(e){const t=ja(e);return{async createDrive(s,r){const a=await t.createDrive(s,r),n=e?.serverIndex??0,o=P["DrivesApi.createDrive"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async deleteDrive(s,r,a){const n=await t.deleteDrive(s,r,a),o=e?.serverIndex??0,i=P["DrivesApi.deleteDrive"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async getDrive(s,r,a){const n=await t.getDrive(s,r,a),o=e?.serverIndex??0,i=P["DrivesApi.getDrive"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async updateDrive(s,r,a){const n=await t.updateDrive(s,r,a),o=e?.serverIndex??0,i=P["DrivesApi.updateDrive"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)}}},wo=function(e,t,s){const r=Le(e);return{createDrive(a,n){return r.createDrive(a,n).then(o=>o(s,t))},deleteDrive(a,n,o){return r.deleteDrive(a,n,o).then(i=>i(s,t))},getDrive(a,n,o){return r.getDrive(a,n,o).then(i=>i(s,t))},updateDrive(a,n,o){return r.updateDrive(a,n,o).then(i=>i(s,t))}}};class Uo extends G{createDrive(t,s){return Le(this.configuration).createDrive(t,s).then(r=>r(this.axios,this.basePath))}deleteDrive(t,s,r){return Le(this.configuration).deleteDrive(t,s,r).then(a=>a(this.axios,this.basePath))}getDrive(t,s,r){return Le(this.configuration).getDrive(t,s,r).then(a=>a(this.axios,this.basePath))}updateDrive(t,s,r){return Le(this.configuration).updateDrive(t,s,r).then(a=>a(this.axios,this.basePath))}}const xo={LibreGraphHasTrashedItems:"@libre.graph.hasTrashedItems"},Ma=function(e){return{listAllDrives:async(t,s,r={})=>{const a="/v1.0/drives",n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"GET",...o,...r},l={},c={};w(i,e),t!==void 0&&(c.$orderby=t),s!==void 0&&(c.$filter=s),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},listAllDrivesBeta:async(t,s,r,a,n={})=>{const o="/v1beta1/drives",i=new URL(o,v);let l;e&&(l=e.baseOptions);const c={method:"GET",...l,...n},d={},u={};w(c,e),t!==void 0&&(u.$orderby=t),s!==void 0&&(u.$filter=s),r!==void 0&&(u.$expand=r),a&&(u.$select=Array.from(a).join(X.csv)),b(i,u);let R=l&&l.headers?l.headers:{};return c.headers={...d,...R,...n.headers},{url:S(i),options:c}}}},Vt=function(e){const t=Ma(e);return{async listAllDrives(s,r,a){const n=await t.listAllDrives(s,r,a),o=e?.serverIndex??0,i=P["DrivesGetDrivesApi.listAllDrives"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async listAllDrivesBeta(s,r,a,n,o){const i=await t.listAllDrivesBeta(s,r,a,n,o),l=e?.serverIndex??0,c=P["DrivesGetDrivesApi.listAllDrivesBeta"]?.[l]?.url;return(d,u)=>A(i,h,f,e)(d,c||u)}}},go=function(e,t,s){const r=Vt(e);return{listAllDrives(a,n,o){return r.listAllDrives(a,n,o).then(i=>i(s,t))},listAllDrivesBeta(a,n,o,i,l){return r.listAllDrivesBeta(a,n,o,i,l).then(c=>c(s,t))}}};class Co extends G{listAllDrives(t,s,r){return Vt(this.configuration).listAllDrives(t,s,r).then(a=>a(this.axios,this.basePath))}listAllDrivesBeta(t,s,r,a,n){return Vt(this.configuration).listAllDrivesBeta(t,s,r,a,n).then(o=>o(this.axios,this.basePath))}}const Io={LibreGraphHasTrashedItems:"@libre.graph.hasTrashedItems"},Ha=function(e){return{createLink:async(t,s,r,a={})=>{m("createLink","driveId",t),m("createLink","itemId",s);const n="/v1beta1/drives/{drive-id}/items/{item-id}/createLink".replace("{drive-id}",encodeURIComponent(String(t))).replace("{item-id}",encodeURIComponent(String(s))),o=new URL(n,v);let i;e&&(i=e.baseOptions);const l={method:"POST",...i,...a},c={},d={};w(l,e),c["Content-Type"]="application/json",b(o,d);let u=i&&i.headers?i.headers:{};return l.headers={...c,...u,...a.headers},l.data=L(r,l,e),{url:S(o),options:l}},deletePermission:async(t,s,r,a={})=>{m("deletePermission","driveId",t),m("deletePermission","itemId",s),m("deletePermission","permId",r);const n="/v1beta1/drives/{drive-id}/items/{item-id}/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(t))).replace("{item-id}",encodeURIComponent(String(s))).replace("{perm-id}",encodeURIComponent(String(r))),o=new URL(n,v);let i;e&&(i=e.baseOptions);const l={method:"DELETE",...i,...a},c={},d={};w(l,e),b(o,d);let u=i&&i.headers?i.headers:{};return l.headers={...c,...u,...a.headers},{url:S(o),options:l}},getPermission:async(t,s,r,a={})=>{m("getPermission","driveId",t),m("getPermission","itemId",s),m("getPermission","permId",r);const n="/v1beta1/drives/{drive-id}/items/{item-id}/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(t))).replace("{item-id}",encodeURIComponent(String(s))).replace("{perm-id}",encodeURIComponent(String(r))),o=new URL(n,v);let i;e&&(i=e.baseOptions);const l={method:"GET",...i,...a},c={},d={};w(l,e),b(o,d);let u=i&&i.headers?i.headers:{};return l.headers={...c,...u,...a.headers},{url:S(o),options:l}},invite:async(t,s,r,a={})=>{m("invite","driveId",t),m("invite","itemId",s);const n="/v1beta1/drives/{drive-id}/items/{item-id}/invite".replace("{drive-id}",encodeURIComponent(String(t))).replace("{item-id}",encodeURIComponent(String(s))),o=new URL(n,v);let i;e&&(i=e.baseOptions);const l={method:"POST",...i,...a},c={},d={};w(l,e),c["Content-Type"]="application/json",b(o,d);let u=i&&i.headers?i.headers:{};return l.headers={...c,...u,...a.headers},l.data=L(r,l,e),{url:S(o),options:l}},listPermissions:async(t,s,r,a,n,o,i={})=>{m("listPermissions","driveId",t),m("listPermissions","itemId",s);const l="/v1beta1/drives/{drive-id}/items/{item-id}/permissions".replace("{drive-id}",encodeURIComponent(String(t))).replace("{item-id}",encodeURIComponent(String(s))),c=new URL(l,v);let d;e&&(d=e.baseOptions);const u={method:"GET",...d,...i},R={},F={};w(u,e),r!==void 0&&(F.$filter=r),a&&(F.$select=Array.from(a).join(X.csv)),n!==void 0&&(F.$count=n),o!==void 0&&(F.$top=o),b(c,F);let O=d&&d.headers?d.headers:{};return u.headers={...R,...O,...i.headers},{url:S(c),options:u}},setPermissionPassword:async(t,s,r,a,n={})=>{m("setPermissionPassword","driveId",t),m("setPermissionPassword","itemId",s),m("setPermissionPassword","permId",r),m("setPermissionPassword","sharingLinkPassword",a);const o="/v1beta1/drives/{drive-id}/items/{item-id}/permissions/{perm-id}/setPassword".replace("{drive-id}",encodeURIComponent(String(t))).replace("{item-id}",encodeURIComponent(String(s))).replace("{perm-id}",encodeURIComponent(String(r))),i=new URL(o,v);let l;e&&(l=e.baseOptions);const c={method:"POST",...l,...n},d={},u={};w(c,e),d["Content-Type"]="application/json",b(i,u);let R=l&&l.headers?l.headers:{};return c.headers={...d,...R,...n.headers},c.data=L(a,c,e),{url:S(i),options:c}},updatePermission:async(t,s,r,a,n={})=>{m("updatePermission","driveId",t),m("updatePermission","itemId",s),m("updatePermission","permId",r),m("updatePermission","permission",a);const o="/v1beta1/drives/{drive-id}/items/{item-id}/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(t))).replace("{item-id}",encodeURIComponent(String(s))).replace("{perm-id}",encodeURIComponent(String(r))),i=new URL(o,v);let l;e&&(l=e.baseOptions);const c={method:"PATCH",...l,...n},d={},u={};w(c,e),d["Content-Type"]="application/json",b(i,u);let R=l&&l.headers?l.headers:{};return c.headers={...d,...R,...n.headers},c.data=L(a,c,e),{url:S(i),options:c}}}},ye=function(e){const t=Ha(e);return{async createLink(s,r,a,n){const o=await t.createLink(s,r,a,n),i=e?.serverIndex??0,l=P["DrivesPermissionsApi.createLink"]?.[i]?.url;return(c,d)=>A(o,h,f,e)(c,l||d)},async deletePermission(s,r,a,n){const o=await t.deletePermission(s,r,a,n),i=e?.serverIndex??0,l=P["DrivesPermissionsApi.deletePermission"]?.[i]?.url;return(c,d)=>A(o,h,f,e)(c,l||d)},async getPermission(s,r,a,n){const o=await t.getPermission(s,r,a,n),i=e?.serverIndex??0,l=P["DrivesPermissionsApi.getPermission"]?.[i]?.url;return(c,d)=>A(o,h,f,e)(c,l||d)},async invite(s,r,a,n){const o=await t.invite(s,r,a,n),i=e?.serverIndex??0,l=P["DrivesPermissionsApi.invite"]?.[i]?.url;return(c,d)=>A(o,h,f,e)(c,l||d)},async listPermissions(s,r,a,n,o,i,l){const c=await t.listPermissions(s,r,a,n,o,i,l),d=e?.serverIndex??0,u=P["DrivesPermissionsApi.listPermissions"]?.[d]?.url;return(R,F)=>A(c,h,f,e)(R,u||F)},async setPermissionPassword(s,r,a,n,o){const i=await t.setPermissionPassword(s,r,a,n,o),l=e?.serverIndex??0,c=P["DrivesPermissionsApi.setPermissionPassword"]?.[l]?.url;return(d,u)=>A(i,h,f,e)(d,c||u)},async updatePermission(s,r,a,n,o){const i=await t.updatePermission(s,r,a,n,o),l=e?.serverIndex??0,c=P["DrivesPermissionsApi.updatePermission"]?.[l]?.url;return(d,u)=>A(i,h,f,e)(d,c||u)}}},To=function(e,t,s){const r=ye(e);return{createLink(a,n,o,i){return r.createLink(a,n,o,i).then(l=>l(s,t))},deletePermission(a,n,o,i){return r.deletePermission(a,n,o,i).then(l=>l(s,t))},getPermission(a,n,o,i){return r.getPermission(a,n,o,i).then(l=>l(s,t))},invite(a,n,o,i){return r.invite(a,n,o,i).then(l=>l(s,t))},listPermissions(a,n,o,i,l,c,d){return r.listPermissions(a,n,o,i,l,c,d).then(u=>u(s,t))},setPermissionPassword(a,n,o,i,l){return r.setPermissionPassword(a,n,o,i,l).then(c=>c(s,t))},updatePermission(a,n,o,i,l){return r.updatePermission(a,n,o,i,l).then(c=>c(s,t))}}};class Eo extends G{createLink(t,s,r,a){return ye(this.configuration).createLink(t,s,r,a).then(n=>n(this.axios,this.basePath))}deletePermission(t,s,r,a){return ye(this.configuration).deletePermission(t,s,r,a).then(n=>n(this.axios,this.basePath))}getPermission(t,s,r,a){return ye(this.configuration).getPermission(t,s,r,a).then(n=>n(this.axios,this.basePath))}invite(t,s,r,a){return ye(this.configuration).invite(t,s,r,a).then(n=>n(this.axios,this.basePath))}listPermissions(t,s,r,a,n,o,i){return ye(this.configuration).listPermissions(t,s,r,a,n,o,i).then(l=>l(this.axios,this.basePath))}setPermissionPassword(t,s,r,a,n){return ye(this.configuration).setPermissionPassword(t,s,r,a,n).then(o=>o(this.axios,this.basePath))}updatePermission(t,s,r,a,n){return ye(this.configuration).updatePermission(t,s,r,a,n).then(o=>o(this.axios,this.basePath))}}const Do={LibreGraphPermissionsActionsAllowedValues:"@libre.graph.permissions.actions.allowedValues",LibreGraphPermissionsRolesAllowedValues:"@libre.graph.permissions.roles.allowedValues",Value:"value"},$a=function(e){return{createDriveItem:async(t,s,r={})=>{m("createDriveItem","driveId",t);const a="/v1beta1/drives/{drive-id}/root/children".replace("{drive-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"POST",...o,...r},l={},c={};w(i,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}},createLinkSpaceRoot:async(t,s,r={})=>{m("createLinkSpaceRoot","driveId",t);const a="/v1beta1/drives/{drive-id}/root/createLink".replace("{drive-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"POST",...o,...r},l={},c={};w(i,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}},deletePermissionSpaceRoot:async(t,s,r={})=>{m("deletePermissionSpaceRoot","driveId",t),m("deletePermissionSpaceRoot","permId",s);const a="/v1beta1/drives/{drive-id}/root/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(t))).replace("{perm-id}",encodeURIComponent(String(s))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"DELETE",...o,...r},l={},c={};w(i,e),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},getPermissionSpaceRoot:async(t,s,r={})=>{m("getPermissionSpaceRoot","driveId",t),m("getPermissionSpaceRoot","permId",s);const a="/v1beta1/drives/{drive-id}/root/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(t))).replace("{perm-id}",encodeURIComponent(String(s))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"GET",...o,...r},l={},c={};w(i,e),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},getRoot:async(t,s={})=>{m("getRoot","driveId",t);const r="/v1.0/drives/{drive-id}/root".replace("{drive-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};w(o,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},inviteSpaceRoot:async(t,s,r={})=>{m("inviteSpaceRoot","driveId",t);const a="/v1beta1/drives/{drive-id}/root/invite".replace("{drive-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"POST",...o,...r},l={},c={};w(i,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}},listPermissionsSpaceRoot:async(t,s,r,a,n,o={})=>{m("listPermissionsSpaceRoot","driveId",t);const i="/v1beta1/drives/{drive-id}/root/permissions".replace("{drive-id}",encodeURIComponent(String(t))),l=new URL(i,v);let c;e&&(c=e.baseOptions);const d={method:"GET",...c,...o},u={},R={};w(d,e),s!==void 0&&(R.$filter=s),r&&(R.$select=Array.from(r).join(X.csv)),a!==void 0&&(R.$count=a),n!==void 0&&(R.$top=n),b(l,R);let F=c&&c.headers?c.headers:{};return d.headers={...u,...F,...o.headers},{url:S(l),options:d}},setPermissionPasswordSpaceRoot:async(t,s,r,a={})=>{m("setPermissionPasswordSpaceRoot","driveId",t),m("setPermissionPasswordSpaceRoot","permId",s),m("setPermissionPasswordSpaceRoot","sharingLinkPassword",r);const n="/v1beta1/drives/{drive-id}/root/permissions/{perm-id}/setPassword".replace("{drive-id}",encodeURIComponent(String(t))).replace("{perm-id}",encodeURIComponent(String(s))),o=new URL(n,v);let i;e&&(i=e.baseOptions);const l={method:"POST",...i,...a},c={},d={};w(l,e),c["Content-Type"]="application/json",b(o,d);let u=i&&i.headers?i.headers:{};return l.headers={...c,...u,...a.headers},l.data=L(r,l,e),{url:S(o),options:l}},updatePermissionSpaceRoot:async(t,s,r,a={})=>{m("updatePermissionSpaceRoot","driveId",t),m("updatePermissionSpaceRoot","permId",s),m("updatePermissionSpaceRoot","permission",r);const n="/v1beta1/drives/{drive-id}/root/permissions/{perm-id}".replace("{drive-id}",encodeURIComponent(String(t))).replace("{perm-id}",encodeURIComponent(String(s))),o=new URL(n,v);let i;e&&(i=e.baseOptions);const l={method:"PATCH",...i,...a},c={},d={};w(l,e),c["Content-Type"]="application/json",b(o,d);let u=i&&i.headers?i.headers:{};return l.headers={...c,...u,...a.headers},l.data=L(r,l,e),{url:S(o),options:l}}}},Se=function(e){const t=$a(e);return{async createDriveItem(s,r,a){const n=await t.createDriveItem(s,r,a),o=e?.serverIndex??0,i=P["DrivesRootApi.createDriveItem"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async createLinkSpaceRoot(s,r,a){const n=await t.createLinkSpaceRoot(s,r,a),o=e?.serverIndex??0,i=P["DrivesRootApi.createLinkSpaceRoot"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async deletePermissionSpaceRoot(s,r,a){const n=await t.deletePermissionSpaceRoot(s,r,a),o=e?.serverIndex??0,i=P["DrivesRootApi.deletePermissionSpaceRoot"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async getPermissionSpaceRoot(s,r,a){const n=await t.getPermissionSpaceRoot(s,r,a),o=e?.serverIndex??0,i=P["DrivesRootApi.getPermissionSpaceRoot"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async getRoot(s,r){const a=await t.getRoot(s,r),n=e?.serverIndex??0,o=P["DrivesRootApi.getRoot"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async inviteSpaceRoot(s,r,a){const n=await t.inviteSpaceRoot(s,r,a),o=e?.serverIndex??0,i=P["DrivesRootApi.inviteSpaceRoot"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async listPermissionsSpaceRoot(s,r,a,n,o,i){const l=await t.listPermissionsSpaceRoot(s,r,a,n,o,i),c=e?.serverIndex??0,d=P["DrivesRootApi.listPermissionsSpaceRoot"]?.[c]?.url;return(u,R)=>A(l,h,f,e)(u,d||R)},async setPermissionPasswordSpaceRoot(s,r,a,n){const o=await t.setPermissionPasswordSpaceRoot(s,r,a,n),i=e?.serverIndex??0,l=P["DrivesRootApi.setPermissionPasswordSpaceRoot"]?.[i]?.url;return(c,d)=>A(o,h,f,e)(c,l||d)},async updatePermissionSpaceRoot(s,r,a,n){const o=await t.updatePermissionSpaceRoot(s,r,a,n),i=e?.serverIndex??0,l=P["DrivesRootApi.updatePermissionSpaceRoot"]?.[i]?.url;return(c,d)=>A(o,h,f,e)(c,l||d)}}},Fo=function(e,t,s){const r=Se(e);return{createDriveItem(a,n,o){return r.createDriveItem(a,n,o).then(i=>i(s,t))},createLinkSpaceRoot(a,n,o){return r.createLinkSpaceRoot(a,n,o).then(i=>i(s,t))},deletePermissionSpaceRoot(a,n,o){return r.deletePermissionSpaceRoot(a,n,o).then(i=>i(s,t))},getPermissionSpaceRoot(a,n,o){return r.getPermissionSpaceRoot(a,n,o).then(i=>i(s,t))},getRoot(a,n){return r.getRoot(a,n).then(o=>o(s,t))},inviteSpaceRoot(a,n,o){return r.inviteSpaceRoot(a,n,o).then(i=>i(s,t))},listPermissionsSpaceRoot(a,n,o,i,l,c){return r.listPermissionsSpaceRoot(a,n,o,i,l,c).then(d=>d(s,t))},setPermissionPasswordSpaceRoot(a,n,o,i){return r.setPermissionPasswordSpaceRoot(a,n,o,i).then(l=>l(s,t))},updatePermissionSpaceRoot(a,n,o,i){return r.updatePermissionSpaceRoot(a,n,o,i).then(l=>l(s,t))}}};class Bo extends G{createDriveItem(t,s,r){return Se(this.configuration).createDriveItem(t,s,r).then(a=>a(this.axios,this.basePath))}createLinkSpaceRoot(t,s,r){return Se(this.configuration).createLinkSpaceRoot(t,s,r).then(a=>a(this.axios,this.basePath))}deletePermissionSpaceRoot(t,s,r){return Se(this.configuration).deletePermissionSpaceRoot(t,s,r).then(a=>a(this.axios,this.basePath))}getPermissionSpaceRoot(t,s,r){return Se(this.configuration).getPermissionSpaceRoot(t,s,r).then(a=>a(this.axios,this.basePath))}getRoot(t,s){return Se(this.configuration).getRoot(t,s).then(r=>r(this.axios,this.basePath))}inviteSpaceRoot(t,s,r){return Se(this.configuration).inviteSpaceRoot(t,s,r).then(a=>a(this.axios,this.basePath))}listPermissionsSpaceRoot(t,s,r,a,n,o){return Se(this.configuration).listPermissionsSpaceRoot(t,s,r,a,n,o).then(i=>i(this.axios,this.basePath))}setPermissionPasswordSpaceRoot(t,s,r,a){return Se(this.configuration).setPermissionPasswordSpaceRoot(t,s,r,a).then(n=>n(this.axios,this.basePath))}updatePermissionSpaceRoot(t,s,r,a){return Se(this.configuration).updatePermissionSpaceRoot(t,s,r,a).then(n=>n(this.axios,this.basePath))}}const qa={LibreGraphPermissionsActionsAllowedValues:"@libre.graph.permissions.actions.allowedValues",LibreGraphPermissionsRolesAllowedValues:"@libre.graph.permissions.roles.allowedValues",Value:"value"},Na=function(e){return{addUserToClass:async(t,s,r={})=>{m("addUserToClass","classId",t),m("addUserToClass","classMemberReference",s);const a="/v1.0/education/classes/{class-id}/members/$ref".replace("{class-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"POST",...o,...r},l={},c={};await k(l,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}},createClass:async(t,s={})=>{m("createClass","educationClass",t);const r="/v1.0/education/classes",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"POST",...n,...s},i={},l={};await k(i,e),i["Content-Type"]="application/json",b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},o.data=L(t,o,e),{url:S(a),options:o}},deleteClass:async(t,s={})=>{m("deleteClass","classId",t);const r="/v1.0/education/classes/{class-id}".replace("{class-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"DELETE",...n,...s},i={},l={};await k(i,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},deleteUserFromClass:async(t,s,r={})=>{m("deleteUserFromClass","classId",t),m("deleteUserFromClass","userId",s);const a="/v1.0/education/classes/{class-id}/members/{user-id}/$ref".replace("{class-id}",encodeURIComponent(String(t))).replace("{user-id}",encodeURIComponent(String(s))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"DELETE",...o,...r},l={},c={};await k(l,e),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},getClass:async(t,s={})=>{m("getClass","classId",t);const r="/v1.0/education/classes/{class-id}".replace("{class-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};await k(i,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},listClassMembers:async(t,s={})=>{m("listClassMembers","classId",t);const r="/v1.0/education/classes/{class-id}/members".replace("{class-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};await k(i,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},listClasses:async(t={})=>{const s="/v1.0/education/classes",r=new URL(s,v);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...t},o={},i={};await k(o,e),b(r,i);let l=a&&a.headers?a.headers:{};return n.headers={...o,...l,...t.headers},{url:S(r),options:n}},updateClass:async(t,s,r={})=>{m("updateClass","classId",t),m("updateClass","educationClass",s);const a="/v1.0/education/classes/{class-id}".replace("{class-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"PATCH",...o,...r},l={},c={};await k(l,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}}}},Ve=function(e){const t=Na(e);return{async addUserToClass(s,r,a){const n=await t.addUserToClass(s,r,a),o=e?.serverIndex??0,i=P["EducationClassApi.addUserToClass"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async createClass(s,r){const a=await t.createClass(s,r),n=e?.serverIndex??0,o=P["EducationClassApi.createClass"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async deleteClass(s,r){const a=await t.deleteClass(s,r),n=e?.serverIndex??0,o=P["EducationClassApi.deleteClass"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async deleteUserFromClass(s,r,a){const n=await t.deleteUserFromClass(s,r,a),o=e?.serverIndex??0,i=P["EducationClassApi.deleteUserFromClass"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async getClass(s,r){const a=await t.getClass(s,r),n=e?.serverIndex??0,o=P["EducationClassApi.getClass"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async listClassMembers(s,r){const a=await t.listClassMembers(s,r),n=e?.serverIndex??0,o=P["EducationClassApi.listClassMembers"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async listClasses(s){const r=await t.listClasses(s),a=e?.serverIndex??0,n=P["EducationClassApi.listClasses"]?.[a]?.url;return(o,i)=>A(r,h,f,e)(o,n||i)},async updateClass(s,r,a){const n=await t.updateClass(s,r,a),o=e?.serverIndex??0,i=P["EducationClassApi.updateClass"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)}}},Lo=function(e,t,s){const r=Ve(e);return{addUserToClass(a,n,o){return r.addUserToClass(a,n,o).then(i=>i(s,t))},createClass(a,n){return r.createClass(a,n).then(o=>o(s,t))},deleteClass(a,n){return r.deleteClass(a,n).then(o=>o(s,t))},deleteUserFromClass(a,n,o){return r.deleteUserFromClass(a,n,o).then(i=>i(s,t))},getClass(a,n){return r.getClass(a,n).then(o=>o(s,t))},listClassMembers(a,n){return r.listClassMembers(a,n).then(o=>o(s,t))},listClasses(a){return r.listClasses(a).then(n=>n(s,t))},updateClass(a,n,o){return r.updateClass(a,n,o).then(i=>i(s,t))}}};class jo extends G{addUserToClass(t,s,r){return Ve(this.configuration).addUserToClass(t,s,r).then(a=>a(this.axios,this.basePath))}createClass(t,s){return Ve(this.configuration).createClass(t,s).then(r=>r(this.axios,this.basePath))}deleteClass(t,s){return Ve(this.configuration).deleteClass(t,s).then(r=>r(this.axios,this.basePath))}deleteUserFromClass(t,s,r){return Ve(this.configuration).deleteUserFromClass(t,s,r).then(a=>a(this.axios,this.basePath))}getClass(t,s){return Ve(this.configuration).getClass(t,s).then(r=>r(this.axios,this.basePath))}listClassMembers(t,s){return Ve(this.configuration).listClassMembers(t,s).then(r=>r(this.axios,this.basePath))}listClasses(t){return Ve(this.configuration).listClasses(t).then(s=>s(this.axios,this.basePath))}updateClass(t,s,r){return Ve(this.configuration).updateClass(t,s,r).then(a=>a(this.axios,this.basePath))}}const ka=function(e){return{addTeacherToClass:async(t,s,r={})=>{m("addTeacherToClass","classId",t),m("addTeacherToClass","classTeacherReference",s);const a="/v1.0/education/classes/{class-id}/teachers/$ref".replace("{class-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"POST",...o,...r},l={},c={};await k(l,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}},deleteTeacherFromClass:async(t,s,r={})=>{m("deleteTeacherFromClass","classId",t),m("deleteTeacherFromClass","userId",s);const a="/v1.0/education/classes/{class-id}/teachers/{user-id}/$ref".replace("{class-id}",encodeURIComponent(String(t))).replace("{user-id}",encodeURIComponent(String(s))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"DELETE",...o,...r},l={},c={};await k(l,e),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},getTeachers:async(t,s={})=>{m("getTeachers","classId",t);const r="/v1.0/education/classes/{class-id}/teachers".replace("{class-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};await k(i,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}}}},et=function(e){const t=ka(e);return{async addTeacherToClass(s,r,a){const n=await t.addTeacherToClass(s,r,a),o=e?.serverIndex??0,i=P["EducationClassTeachersApi.addTeacherToClass"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async deleteTeacherFromClass(s,r,a){const n=await t.deleteTeacherFromClass(s,r,a),o=e?.serverIndex??0,i=P["EducationClassTeachersApi.deleteTeacherFromClass"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async getTeachers(s,r){const a=await t.getTeachers(s,r),n=e?.serverIndex??0,o=P["EducationClassTeachersApi.getTeachers"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)}}},Mo=function(e,t,s){const r=et(e);return{addTeacherToClass(a,n,o){return r.addTeacherToClass(a,n,o).then(i=>i(s,t))},deleteTeacherFromClass(a,n,o){return r.deleteTeacherFromClass(a,n,o).then(i=>i(s,t))},getTeachers(a,n){return r.getTeachers(a,n).then(o=>o(s,t))}}};class Ho extends G{addTeacherToClass(t,s,r){return et(this.configuration).addTeacherToClass(t,s,r).then(a=>a(this.axios,this.basePath))}deleteTeacherFromClass(t,s,r){return et(this.configuration).deleteTeacherFromClass(t,s,r).then(a=>a(this.axios,this.basePath))}getTeachers(t,s){return et(this.configuration).getTeachers(t,s).then(r=>r(this.axios,this.basePath))}}const Ga=function(e){return{addClassToSchool:async(t,s,r={})=>{m("addClassToSchool","schoolId",t),m("addClassToSchool","classReference",s);const a="/v1.0/education/schools/{school-id}/classes/$ref".replace("{school-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"POST",...o,...r},l={},c={};await k(l,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}},addUserToSchool:async(t,s,r={})=>{m("addUserToSchool","schoolId",t),m("addUserToSchool","educationUserReference",s);const a="/v1.0/education/schools/{school-id}/users/$ref".replace("{school-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"POST",...o,...r},l={},c={};await k(l,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}},createSchool:async(t,s={})=>{m("createSchool","educationSchool",t);const r="/v1.0/education/schools",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"POST",...n,...s},i={},l={};await k(i,e),i["Content-Type"]="application/json",b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},o.data=L(t,o,e),{url:S(a),options:o}},deleteClassFromSchool:async(t,s,r={})=>{m("deleteClassFromSchool","schoolId",t),m("deleteClassFromSchool","classId",s);const a="/v1.0/education/schools/{school-id}/classes/{class-id}/$ref".replace("{school-id}",encodeURIComponent(String(t))).replace("{class-id}",encodeURIComponent(String(s))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"DELETE",...o,...r},l={},c={};await k(l,e),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},deleteSchool:async(t,s={})=>{m("deleteSchool","schoolId",t);const r="/v1.0/education/schools/{school-id}".replace("{school-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"DELETE",...n,...s},i={},l={};await k(i,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},deleteUserFromSchool:async(t,s,r={})=>{m("deleteUserFromSchool","schoolId",t),m("deleteUserFromSchool","userId",s);const a="/v1.0/education/schools/{school-id}/users/{user-id}/$ref".replace("{school-id}",encodeURIComponent(String(t))).replace("{user-id}",encodeURIComponent(String(s))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"DELETE",...o,...r},l={},c={};await k(l,e),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},getSchool:async(t,s={})=>{m("getSchool","schoolId",t);const r="/v1.0/education/schools/{school-id}".replace("{school-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};await k(i,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},listSchoolClasses:async(t,s={})=>{m("listSchoolClasses","schoolId",t);const r="/v1.0/education/schools/{school-id}/classes".replace("{school-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};await k(i,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},listSchoolUsers:async(t,s={})=>{m("listSchoolUsers","schoolId",t);const r="/v1.0/education/schools/{school-id}/users".replace("{school-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};await k(i,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},listSchools:async(t={})=>{const s="/v1.0/education/schools",r=new URL(s,v);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...t},o={},i={};await k(o,e),b(r,i);let l=a&&a.headers?a.headers:{};return n.headers={...o,...l,...t.headers},{url:S(r),options:n}},updateSchool:async(t,s,r={})=>{m("updateSchool","schoolId",t),m("updateSchool","educationSchool",s);const a="/v1.0/education/schools/{school-id}".replace("{school-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"PATCH",...o,...r},l={},c={};await k(l,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}}}},ue=function(e){const t=Ga(e);return{async addClassToSchool(s,r,a){const n=await t.addClassToSchool(s,r,a),o=e?.serverIndex??0,i=P["EducationSchoolApi.addClassToSchool"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async addUserToSchool(s,r,a){const n=await t.addUserToSchool(s,r,a),o=e?.serverIndex??0,i=P["EducationSchoolApi.addUserToSchool"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async createSchool(s,r){const a=await t.createSchool(s,r),n=e?.serverIndex??0,o=P["EducationSchoolApi.createSchool"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async deleteClassFromSchool(s,r,a){const n=await t.deleteClassFromSchool(s,r,a),o=e?.serverIndex??0,i=P["EducationSchoolApi.deleteClassFromSchool"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async deleteSchool(s,r){const a=await t.deleteSchool(s,r),n=e?.serverIndex??0,o=P["EducationSchoolApi.deleteSchool"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async deleteUserFromSchool(s,r,a){const n=await t.deleteUserFromSchool(s,r,a),o=e?.serverIndex??0,i=P["EducationSchoolApi.deleteUserFromSchool"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async getSchool(s,r){const a=await t.getSchool(s,r),n=e?.serverIndex??0,o=P["EducationSchoolApi.getSchool"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async listSchoolClasses(s,r){const a=await t.listSchoolClasses(s,r),n=e?.serverIndex??0,o=P["EducationSchoolApi.listSchoolClasses"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async listSchoolUsers(s,r){const a=await t.listSchoolUsers(s,r),n=e?.serverIndex??0,o=P["EducationSchoolApi.listSchoolUsers"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async listSchools(s){const r=await t.listSchools(s),a=e?.serverIndex??0,n=P["EducationSchoolApi.listSchools"]?.[a]?.url;return(o,i)=>A(r,h,f,e)(o,n||i)},async updateSchool(s,r,a){const n=await t.updateSchool(s,r,a),o=e?.serverIndex??0,i=P["EducationSchoolApi.updateSchool"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)}}},$o=function(e,t,s){const r=ue(e);return{addClassToSchool(a,n,o){return r.addClassToSchool(a,n,o).then(i=>i(s,t))},addUserToSchool(a,n,o){return r.addUserToSchool(a,n,o).then(i=>i(s,t))},createSchool(a,n){return r.createSchool(a,n).then(o=>o(s,t))},deleteClassFromSchool(a,n,o){return r.deleteClassFromSchool(a,n,o).then(i=>i(s,t))},deleteSchool(a,n){return r.deleteSchool(a,n).then(o=>o(s,t))},deleteUserFromSchool(a,n,o){return r.deleteUserFromSchool(a,n,o).then(i=>i(s,t))},getSchool(a,n){return r.getSchool(a,n).then(o=>o(s,t))},listSchoolClasses(a,n){return r.listSchoolClasses(a,n).then(o=>o(s,t))},listSchoolUsers(a,n){return r.listSchoolUsers(a,n).then(o=>o(s,t))},listSchools(a){return r.listSchools(a).then(n=>n(s,t))},updateSchool(a,n,o){return r.updateSchool(a,n,o).then(i=>i(s,t))}}};class qo extends G{addClassToSchool(t,s,r){return ue(this.configuration).addClassToSchool(t,s,r).then(a=>a(this.axios,this.basePath))}addUserToSchool(t,s,r){return ue(this.configuration).addUserToSchool(t,s,r).then(a=>a(this.axios,this.basePath))}createSchool(t,s){return ue(this.configuration).createSchool(t,s).then(r=>r(this.axios,this.basePath))}deleteClassFromSchool(t,s,r){return ue(this.configuration).deleteClassFromSchool(t,s,r).then(a=>a(this.axios,this.basePath))}deleteSchool(t,s){return ue(this.configuration).deleteSchool(t,s).then(r=>r(this.axios,this.basePath))}deleteUserFromSchool(t,s,r){return ue(this.configuration).deleteUserFromSchool(t,s,r).then(a=>a(this.axios,this.basePath))}getSchool(t,s){return ue(this.configuration).getSchool(t,s).then(r=>r(this.axios,this.basePath))}listSchoolClasses(t,s){return ue(this.configuration).listSchoolClasses(t,s).then(r=>r(this.axios,this.basePath))}listSchoolUsers(t,s){return ue(this.configuration).listSchoolUsers(t,s).then(r=>r(this.axios,this.basePath))}listSchools(t){return ue(this.configuration).listSchools(t).then(s=>s(this.axios,this.basePath))}updateSchool(t,s,r){return ue(this.configuration).updateSchool(t,s,r).then(a=>a(this.axios,this.basePath))}}const _a=function(e){return{createEducationUser:async(t,s={})=>{m("createEducationUser","educationUser",t);const r="/v1.0/education/users",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"POST",...n,...s},i={},l={};await k(i,e),i["Content-Type"]="application/json",b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},o.data=L(t,o,e),{url:S(a),options:o}},deleteEducationUser:async(t,s={})=>{m("deleteEducationUser","userId",t);const r="/v1.0/education/users/{user-id}".replace("{user-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"DELETE",...n,...s},i={},l={};await k(i,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},getEducationUser:async(t,s,r={})=>{m("getEducationUser","userId",t);const a="/v1.0/education/users/{user-id}".replace("{user-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"GET",...o,...r},l={},c={};await k(l,e),s&&(c.$expand=Array.from(s).join(X.csv)),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},listEducationUsers:async(t,s,r={})=>{const a="/v1.0/education/users",n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"GET",...o,...r},l={},c={};await k(l,e),t&&(c.$orderby=Array.from(t).join(X.csv)),s&&(c.$expand=Array.from(s).join(X.csv)),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},updateEducationUser:async(t,s,r={})=>{m("updateEducationUser","userId",t),m("updateEducationUser","educationUser",s);const a="/v1.0/education/users/{user-id}".replace("{user-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"PATCH",...o,...r},l={},c={};await k(l,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}}}},Ce=function(e){const t=_a(e);return{async createEducationUser(s,r){const a=await t.createEducationUser(s,r),n=e?.serverIndex??0,o=P["EducationUserApi.createEducationUser"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async deleteEducationUser(s,r){const a=await t.deleteEducationUser(s,r),n=e?.serverIndex??0,o=P["EducationUserApi.deleteEducationUser"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async getEducationUser(s,r,a){const n=await t.getEducationUser(s,r,a),o=e?.serverIndex??0,i=P["EducationUserApi.getEducationUser"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async listEducationUsers(s,r,a){const n=await t.listEducationUsers(s,r,a),o=e?.serverIndex??0,i=P["EducationUserApi.listEducationUsers"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async updateEducationUser(s,r,a){const n=await t.updateEducationUser(s,r,a),o=e?.serverIndex??0,i=P["EducationUserApi.updateEducationUser"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)}}},No=function(e,t,s){const r=Ce(e);return{createEducationUser(a,n){return r.createEducationUser(a,n).then(o=>o(s,t))},deleteEducationUser(a,n){return r.deleteEducationUser(a,n).then(o=>o(s,t))},getEducationUser(a,n,o){return r.getEducationUser(a,n,o).then(i=>i(s,t))},listEducationUsers(a,n,o){return r.listEducationUsers(a,n,o).then(i=>i(s,t))},updateEducationUser(a,n,o){return r.updateEducationUser(a,n,o).then(i=>i(s,t))}}};class ko extends G{createEducationUser(t,s){return Ce(this.configuration).createEducationUser(t,s).then(r=>r(this.axios,this.basePath))}deleteEducationUser(t,s){return Ce(this.configuration).deleteEducationUser(t,s).then(r=>r(this.axios,this.basePath))}getEducationUser(t,s,r){return Ce(this.configuration).getEducationUser(t,s,r).then(a=>a(this.axios,this.basePath))}listEducationUsers(t,s,r){return Ce(this.configuration).listEducationUsers(t,s,r).then(a=>a(this.axios,this.basePath))}updateEducationUser(t,s,r){return Ce(this.configuration).updateEducationUser(t,s,r).then(a=>a(this.axios,this.basePath))}}const Go={MemberOf:"memberOf"},_o={DisplayName:"displayName",DisplayNameDesc:"displayName desc",Mail:"mail",MailDesc:"mail desc",OnPremisesSamAccountName:"onPremisesSamAccountName",OnPremisesSamAccountNameDesc:"onPremisesSamAccountName desc"},Qo={MemberOf:"memberOf"},Qa=function(e){return{addMember:async(t,s,r={})=>{m("addMember","groupId",t),m("addMember","memberReference",s);const a="/v1.0/groups/{group-id}/members/$ref".replace("{group-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"POST",...o,...r},l={},c={};w(i,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}},deleteGroup:async(t,s,r={})=>{m("deleteGroup","groupId",t);const a="/v1.0/groups/{group-id}".replace("{group-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"DELETE",...o,...r},l={},c={};w(i,e),s!=null&&(l["If-Match"]=String(s)),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},deleteMember:async(t,s,r,a={})=>{m("deleteMember","groupId",t),m("deleteMember","directoryObjectId",s);const n="/v1.0/groups/{group-id}/members/{directory-object-id}/$ref".replace("{group-id}",encodeURIComponent(String(t))).replace("{directory-object-id}",encodeURIComponent(String(s))),o=new URL(n,v);let i;e&&(i=e.baseOptions);const l={method:"DELETE",...i,...a},c={},d={};w(l,e),r!=null&&(c["If-Match"]=String(r)),b(o,d);let u=i&&i.headers?i.headers:{};return l.headers={...c,...u,...a.headers},{url:S(o),options:l}},getGroup:async(t,s,r,a={})=>{m("getGroup","groupId",t);const n="/v1.0/groups/{group-id}".replace("{group-id}",encodeURIComponent(String(t))),o=new URL(n,v);let i;e&&(i=e.baseOptions);const l={method:"GET",...i,...a},c={},d={};w(l,e),s&&(d.$select=Array.from(s).join(X.csv)),r&&(d.$expand=Array.from(r).join(X.csv)),b(o,d);let u=i&&i.headers?i.headers:{};return l.headers={...c,...u,...a.headers},{url:S(o),options:l}},listMembers:async(t,s={})=>{m("listMembers","groupId",t);const r="/v1.0/groups/{group-id}/members".replace("{group-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};w(o,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},updateGroup:async(t,s,r={})=>{m("updateGroup","groupId",t),m("updateGroup","group",s);const a="/v1.0/groups/{group-id}".replace("{group-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"PATCH",...o,...r},l={},c={};w(i,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}}}},we=function(e){const t=Qa(e);return{async addMember(s,r,a){const n=await t.addMember(s,r,a),o=e?.serverIndex??0,i=P["GroupApi.addMember"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async deleteGroup(s,r,a){const n=await t.deleteGroup(s,r,a),o=e?.serverIndex??0,i=P["GroupApi.deleteGroup"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async deleteMember(s,r,a,n){const o=await t.deleteMember(s,r,a,n),i=e?.serverIndex??0,l=P["GroupApi.deleteMember"]?.[i]?.url;return(c,d)=>A(o,h,f,e)(c,l||d)},async getGroup(s,r,a,n){const o=await t.getGroup(s,r,a,n),i=e?.serverIndex??0,l=P["GroupApi.getGroup"]?.[i]?.url;return(c,d)=>A(o,h,f,e)(c,l||d)},async listMembers(s,r){const a=await t.listMembers(s,r),n=e?.serverIndex??0,o=P["GroupApi.listMembers"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async updateGroup(s,r,a){const n=await t.updateGroup(s,r,a),o=e?.serverIndex??0,i=P["GroupApi.updateGroup"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)}}},Wo=function(e,t,s){const r=we(e);return{addMember(a,n,o){return r.addMember(a,n,o).then(i=>i(s,t))},deleteGroup(a,n,o){return r.deleteGroup(a,n,o).then(i=>i(s,t))},deleteMember(a,n,o,i){return r.deleteMember(a,n,o,i).then(l=>l(s,t))},getGroup(a,n,o,i){return r.getGroup(a,n,o,i).then(l=>l(s,t))},listMembers(a,n){return r.listMembers(a,n).then(o=>o(s,t))},updateGroup(a,n,o){return r.updateGroup(a,n,o).then(i=>i(s,t))}}};class zo extends G{addMember(t,s,r){return we(this.configuration).addMember(t,s,r).then(a=>a(this.axios,this.basePath))}deleteGroup(t,s,r){return we(this.configuration).deleteGroup(t,s,r).then(a=>a(this.axios,this.basePath))}deleteMember(t,s,r,a){return we(this.configuration).deleteMember(t,s,r,a).then(n=>n(this.axios,this.basePath))}getGroup(t,s,r,a){return we(this.configuration).getGroup(t,s,r,a).then(n=>n(this.axios,this.basePath))}listMembers(t,s){return we(this.configuration).listMembers(t,s).then(r=>r(this.axios,this.basePath))}updateGroup(t,s,r){return we(this.configuration).updateGroup(t,s,r).then(a=>a(this.axios,this.basePath))}}const Jo={Id:"id",Description:"description",DisplayName:"displayName",Members:"members"},Ko={Members:"members"},Wa=function(e){return{createGroup:async(t,s={})=>{m("createGroup","group",t);const r="/v1.0/groups",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"POST",...n,...s},i={},l={};w(o,e),i["Content-Type"]="application/json",b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},o.data=L(t,o,e),{url:S(a),options:o}},listGroups:async(t,s,r,a,n={})=>{const o="/v1.0/groups",i=new URL(o,v);let l;e&&(l=e.baseOptions);const c={method:"GET",...l,...n},d={},u={};w(c,e),t!==void 0&&(u.$search=t),s&&(u.$orderby=Array.from(s).join(X.csv)),r&&(u.$select=Array.from(r).join(X.csv)),a&&(u.$expand=Array.from(a).join(X.csv)),b(i,u);let R=l&&l.headers?l.headers:{};return c.headers={...d,...R,...n.headers},{url:S(i),options:c}}}},yt=function(e){const t=Wa(e);return{async createGroup(s,r){const a=await t.createGroup(s,r),n=e?.serverIndex??0,o=P["GroupsApi.createGroup"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async listGroups(s,r,a,n,o){const i=await t.listGroups(s,r,a,n,o),l=e?.serverIndex??0,c=P["GroupsApi.listGroups"]?.[l]?.url;return(d,u)=>A(i,h,f,e)(d,c||u)}}},Xo=function(e,t,s){const r=yt(e);return{createGroup(a,n){return r.createGroup(a,n).then(o=>o(s,t))},listGroups(a,n,o,i,l){return r.listGroups(a,n,o,i,l).then(c=>c(s,t))}}};class Zo extends G{createGroup(t,s){return yt(this.configuration).createGroup(t,s).then(r=>r(this.axios,this.basePath))}listGroups(t,s,r,a,n){return yt(this.configuration).listGroups(t,s,r,a,n).then(o=>o(this.axios,this.basePath))}}const Yo={DisplayName:"displayName",DisplayNameDesc:"displayName desc"},ei={Id:"id",Description:"description",DisplayName:"displayName",Mail:"mail",Members:"members"},ti={Members:"members"},za=function(e){return{changeOwnPassword:async(t,s={})=>{m("changeOwnPassword","passwordChange",t);const r="/v1.0/me/changePassword",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"POST",...n,...s},i={},l={};w(o,e),i["Content-Type"]="application/json",b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},o.data=L(t,o,e),{url:S(a),options:o}}}},Ls=function(e){const t=za(e);return{async changeOwnPassword(s,r){const a=await t.changeOwnPassword(s,r),n=e?.serverIndex??0,o=P["MeChangepasswordApi.changeOwnPassword"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)}}},si=function(e,t,s){const r=Ls(e);return{changeOwnPassword(a,n){return r.changeOwnPassword(a,n).then(o=>o(s,t))}}};class ri extends G{changeOwnPassword(t,s){return Ls(this.configuration).changeOwnPassword(t,s).then(r=>r(this.axios,this.basePath))}}const Ja=function(e){return{getHome:async(t={})=>{const s="/v1.0/me/drive",r=new URL(s,v);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...t},o={},i={};w(n,e),b(r,i);let l=a&&a.headers?a.headers:{};return n.headers={...o,...l,...t.headers},{url:S(r),options:n}},listSharedByMe:async(t,s={})=>{const r="/v1beta1/me/drive/sharedByMe",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};w(o,e),t&&(l.$expand=Array.from(t).join(X.csv)),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},listSharedWithMe:async(t,s={})=>{const r="/v1beta1/me/drive/sharedWithMe",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};w(o,e),t&&(l.$expand=Array.from(t).join(X.csv)),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}}}},tt=function(e){const t=Ja(e);return{async getHome(s){const r=await t.getHome(s),a=e?.serverIndex??0,n=P["MeDriveApi.getHome"]?.[a]?.url;return(o,i)=>A(r,h,f,e)(o,n||i)},async listSharedByMe(s,r){const a=await t.listSharedByMe(s,r),n=e?.serverIndex??0,o=P["MeDriveApi.listSharedByMe"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async listSharedWithMe(s,r){const a=await t.listSharedWithMe(s,r),n=e?.serverIndex??0,o=P["MeDriveApi.listSharedWithMe"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)}}},ai=function(e,t,s){const r=tt(e);return{getHome(a){return r.getHome(a).then(n=>n(s,t))},listSharedByMe(a,n){return r.listSharedByMe(a,n).then(o=>o(s,t))},listSharedWithMe(a,n){return r.listSharedWithMe(a,n).then(o=>o(s,t))}}};class ni extends G{getHome(t){return tt(this.configuration).getHome(t).then(s=>s(this.axios,this.basePath))}listSharedByMe(t,s){return tt(this.configuration).listSharedByMe(t,s).then(r=>r(this.axios,this.basePath))}listSharedWithMe(t,s){return tt(this.configuration).listSharedWithMe(t,s).then(r=>r(this.axios,this.basePath))}}const oi={Thumbnails:"thumbnails"},ii={Thumbnails:"thumbnails"},Ka=function(e){return{homeGetRoot:async(t={})=>{const s="/v1.0/me/drive/root",r=new URL(s,v);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...t},o={},i={};w(n,e),b(r,i);let l=a&&a.headers?a.headers:{};return n.headers={...o,...l,...t.headers},{url:S(r),options:n}}}},js=function(e){const t=Ka(e);return{async homeGetRoot(s){const r=await t.homeGetRoot(s),a=e?.serverIndex??0,n=P["MeDriveRootApi.homeGetRoot"]?.[a]?.url;return(o,i)=>A(r,h,f,e)(o,n||i)}}},li=function(e,t,s){const r=js(e);return{homeGetRoot(a){return r.homeGetRoot(a).then(n=>n(s,t))}}};class ci extends G{homeGetRoot(t){return js(this.configuration).homeGetRoot(t).then(s=>s(this.axios,this.basePath))}}const Xa=function(e){return{homeGetChildren:async(t={})=>{const s="/v1.0/me/drive/root/children",r=new URL(s,v);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...t},o={},i={};w(n,e),b(r,i);let l=a&&a.headers?a.headers:{};return n.headers={...o,...l,...t.headers},{url:S(r),options:n}}}},Ms=function(e){const t=Xa(e);return{async homeGetChildren(s){const r=await t.homeGetChildren(s),a=e?.serverIndex??0,n=P["MeDriveRootChildrenApi.homeGetChildren"]?.[a]?.url;return(o,i)=>A(r,h,f,e)(o,n||i)}}},di=function(e,t,s){const r=Ms(e);return{homeGetChildren(a){return r.homeGetChildren(a).then(n=>n(s,t))}}};class pi extends G{homeGetChildren(t){return Ms(this.configuration).homeGetChildren(t).then(s=>s(this.axios,this.basePath))}}const Za=function(e){return{listMyDrives:async(t,s,r={})=>{const a="/v1.0/me/drives",n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"GET",...o,...r},l={},c={};w(i,e),t!==void 0&&(c.$orderby=t),s!==void 0&&(c.$filter=s),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},listMyDrivesBeta:async(t,s,r,a,n={})=>{const o="/v1beta1/me/drives",i=new URL(o,v);let l;e&&(l=e.baseOptions);const c={method:"GET",...l,...n},d={},u={};w(c,e),t!==void 0&&(u.$orderby=t),s!==void 0&&(u.$filter=s),r!==void 0&&(u.$expand=r),a&&(u.$select=Array.from(a).join(X.csv)),b(i,u);let R=l&&l.headers?l.headers:{};return c.headers={...d,...R,...n.headers},{url:S(i),options:c}}}},Rt=function(e){const t=Za(e);return{async listMyDrives(s,r,a){const n=await t.listMyDrives(s,r,a),o=e?.serverIndex??0,i=P["MeDrivesApi.listMyDrives"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async listMyDrivesBeta(s,r,a,n,o){const i=await t.listMyDrivesBeta(s,r,a,n,o),l=e?.serverIndex??0,c=P["MeDrivesApi.listMyDrivesBeta"]?.[l]?.url;return(d,u)=>A(i,h,f,e)(d,c||u)}}},ui=function(e,t,s){const r=Rt(e);return{listMyDrives(a,n,o){return r.listMyDrives(a,n,o).then(i=>i(s,t))},listMyDrivesBeta(a,n,o,i,l){return r.listMyDrivesBeta(a,n,o,i,l).then(c=>c(s,t))}}};class hi extends G{listMyDrives(t,s,r){return Rt(this.configuration).listMyDrives(t,s,r).then(a=>a(this.axios,this.basePath))}listMyDrivesBeta(t,s,r,a,n){return Rt(this.configuration).listMyDrivesBeta(t,s,r,a,n).then(o=>o(this.axios,this.basePath))}}const mi={LibreGraphHasTrashedItems:"@libre.graph.hasTrashedItems"},Ya=function(e){return{deleteOwnUserPhoto:async(t={})=>{const s="/v1.0/me/photo/$value",r=new URL(s,v);let a;e&&(a=e.baseOptions);const n={method:"DELETE",...a,...t},o={},i={};w(n,e),b(r,i);let l=a&&a.headers?a.headers:{};return n.headers={...o,...l,...t.headers},{url:S(r),options:n}},getOwnUserPhoto:async(t={})=>{const s="/v1.0/me/photo/$value",r=new URL(s,v);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...t},o={},i={};w(n,e),b(r,i);let l=a&&a.headers?a.headers:{};return n.headers={...o,...l,...t.headers},{url:S(r),options:n}},updateOwnUserPhotoPatch:async(t,s={})=>{const r="/v1.0/me/photo/$value",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"PATCH",...n,...s},i={},l={};w(o,e),i["Content-Type"]="image/jpeg",b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},o.data=L(t,o,e),{url:S(a),options:o}},updateOwnUserPhotoPut:async(t,s={})=>{const r="/v1.0/me/photo/$value",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"PUT",...n,...s},i={},l={};w(o,e),i["Content-Type"]="image/jpeg",b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},o.data=L(t,o,e),{url:S(a),options:o}}}},je=function(e){const t=Ya(e);return{async deleteOwnUserPhoto(s){const r=await t.deleteOwnUserPhoto(s),a=e?.serverIndex??0,n=P["MePhotoApi.deleteOwnUserPhoto"]?.[a]?.url;return(o,i)=>A(r,h,f,e)(o,n||i)},async getOwnUserPhoto(s){const r=await t.getOwnUserPhoto(s),a=e?.serverIndex??0,n=P["MePhotoApi.getOwnUserPhoto"]?.[a]?.url;return(o,i)=>A(r,h,f,e)(o,n||i)},async updateOwnUserPhotoPatch(s,r){const a=await t.updateOwnUserPhotoPatch(s,r),n=e?.serverIndex??0,o=P["MePhotoApi.updateOwnUserPhotoPatch"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async updateOwnUserPhotoPut(s,r){const a=await t.updateOwnUserPhotoPut(s,r),n=e?.serverIndex??0,o=P["MePhotoApi.updateOwnUserPhotoPut"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)}}},Oi=function(e,t,s){const r=je(e);return{deleteOwnUserPhoto(a){return r.deleteOwnUserPhoto(a).then(n=>n(s,t))},getOwnUserPhoto(a){return r.getOwnUserPhoto(a).then(n=>n(s,t))},updateOwnUserPhotoPatch(a,n){return r.updateOwnUserPhotoPatch(a,n).then(o=>o(s,t))},updateOwnUserPhotoPut(a,n){return r.updateOwnUserPhotoPut(a,n).then(o=>o(s,t))}}};class fi extends G{deleteOwnUserPhoto(t){return je(this.configuration).deleteOwnUserPhoto(t).then(s=>s(this.axios,this.basePath))}getOwnUserPhoto(t){return je(this.configuration).getOwnUserPhoto(t).then(s=>s(this.axios,this.basePath))}updateOwnUserPhotoPatch(t,s){return je(this.configuration).updateOwnUserPhotoPatch(t,s).then(r=>r(this.axios,this.basePath))}updateOwnUserPhotoPut(t,s){return je(this.configuration).updateOwnUserPhotoPut(t,s).then(r=>r(this.axios,this.basePath))}}const en=function(e){return{getOwnUser:async(t,s={})=>{const r="/v1.0/me",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};w(o,e),t&&(l.$expand=Array.from(t).join(X.csv)),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},updateOwnUser:async(t,s={})=>{const r="/v1.0/me",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"PATCH",...n,...s},i={},l={};w(o,e),i["Content-Type"]="application/json",b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},o.data=L(t,o,e),{url:S(a),options:o}}}},wt=function(e){const t=en(e);return{async getOwnUser(s,r){const a=await t.getOwnUser(s,r),n=e?.serverIndex??0,o=P["MeUserApi.getOwnUser"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async updateOwnUser(s,r){const a=await t.updateOwnUser(s,r),n=e?.serverIndex??0,o=P["MeUserApi.updateOwnUser"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)}}},Pi=function(e,t,s){const r=wt(e);return{getOwnUser(a,n){return r.getOwnUser(a,n).then(o=>o(s,t))},updateOwnUser(a,n){return r.updateOwnUser(a,n).then(o=>o(s,t))}}};class vi extends G{getOwnUser(t,s){return wt(this.configuration).getOwnUser(t,s).then(r=>r(this.axios,this.basePath))}updateOwnUser(t,s){return wt(this.configuration).updateOwnUser(t,s).then(r=>r(this.axios,this.basePath))}}const bi={MemberOf:"memberOf"},tn=function(e){return{getPermissionRoleDefinition:async(t,s={})=>{m("getPermissionRoleDefinition","roleId",t);const r="/v1beta1/roleManagement/permissions/roleDefinitions/{role-id}".replace("{role-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};w(o,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}},listPermissionRoleDefinitions:async(t={})=>{const s="/v1beta1/roleManagement/permissions/roleDefinitions",r=new URL(s,v);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...t},o={},i={};w(n,e),b(r,i);let l=a&&a.headers?a.headers:{};return n.headers={...o,...l,...t.headers},{url:S(r),options:n}}}},Ut=function(e){const t=tn(e);return{async getPermissionRoleDefinition(s,r){const a=await t.getPermissionRoleDefinition(s,r),n=e?.serverIndex??0,o=P["RoleManagementApi.getPermissionRoleDefinition"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async listPermissionRoleDefinitions(s){const r=await t.listPermissionRoleDefinitions(s),a=e?.serverIndex??0,n=P["RoleManagementApi.listPermissionRoleDefinitions"]?.[a]?.url;return(o,i)=>A(r,h,f,e)(o,n||i)}}},Si=function(e,t,s){const r=Ut(e);return{getPermissionRoleDefinition(a,n){return r.getPermissionRoleDefinition(a,n).then(o=>o(s,t))},listPermissionRoleDefinitions(a){return r.listPermissionRoleDefinitions(a).then(n=>n(s,t))}}};class Ai extends G{getPermissionRoleDefinition(t,s){return Ut(this.configuration).getPermissionRoleDefinition(t,s).then(r=>r(this.axios,this.basePath))}listPermissionRoleDefinitions(t){return Ut(this.configuration).listPermissionRoleDefinitions(t).then(s=>s(this.axios,this.basePath))}}const sn=function(e){return{assignTags:async(t,s={})=>{const r="/v1.0/extensions/org.libregraph/tags",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"PUT",...n,...s},i={},l={};w(o,e),i["Content-Type"]="application/json",b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},o.data=L(t,o,e),{url:S(a),options:o}},getTags:async(t={})=>{const s="/v1.0/extensions/org.libregraph/tags",r=new URL(s,v);let a;e&&(a=e.baseOptions);const n={method:"GET",...a,...t},o={},i={};w(n,e),b(r,i);let l=a&&a.headers?a.headers:{};return n.headers={...o,...l,...t.headers},{url:S(r),options:n}},unassignTags:async(t,s={})=>{const r="/v1.0/extensions/org.libregraph/tags",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"DELETE",...n,...s},i={},l={};w(o,e),i["Content-Type"]="application/json",b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},o.data=L(t,o,e),{url:S(a),options:o}}}},st=function(e){const t=sn(e);return{async assignTags(s,r){const a=await t.assignTags(s,r),n=e?.serverIndex??0,o=P["TagsApi.assignTags"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async getTags(s){const r=await t.getTags(s),a=e?.serverIndex??0,n=P["TagsApi.getTags"]?.[a]?.url;return(o,i)=>A(r,h,f,e)(o,n||i)},async unassignTags(s,r){const a=await t.unassignTags(s,r),n=e?.serverIndex??0,o=P["TagsApi.unassignTags"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)}}},Vi=function(e,t,s){const r=st(e);return{assignTags(a,n){return r.assignTags(a,n).then(o=>o(s,t))},getTags(a){return r.getTags(a).then(n=>n(s,t))},unassignTags(a,n){return r.unassignTags(a,n).then(o=>o(s,t))}}};class yi extends G{assignTags(t,s){return st(this.configuration).assignTags(t,s).then(r=>r(this.axios,this.basePath))}getTags(t){return st(this.configuration).getTags(t).then(s=>s(this.axios,this.basePath))}unassignTags(t,s){return st(this.configuration).unassignTags(t,s).then(r=>r(this.axios,this.basePath))}}const rn=function(e){return{deleteUser:async(t,s,r={})=>{m("deleteUser","userId",t);const a="/v1.0/users/{user-id}".replace("{user-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"DELETE",...o,...r},l={},c={};w(i,e),s!=null&&(l["If-Match"]=String(s)),b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},{url:S(n),options:i}},exportPersonalData:async(t,s,r={})=>{m("exportPersonalData","userId",t);const a="/v1.0/users/{user-id}/exportPersonalData".replace("{user-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"POST",...o,...r},l={},c={};w(i,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}},getUser:async(t,s,r,a={})=>{m("getUser","userId",t);const n="/v1.0/users/{user-id}".replace("{user-id}",encodeURIComponent(String(t))),o=new URL(n,v);let i;e&&(i=e.baseOptions);const l={method:"GET",...i,...a},c={},d={};w(l,e),s&&(d.$select=Array.from(s).join(X.csv)),r&&(d.$expand=Array.from(r).join(X.csv)),b(o,d);let u=i&&i.headers?i.headers:{};return l.headers={...c,...u,...a.headers},{url:S(o),options:l}},updateUser:async(t,s,r={})=>{m("updateUser","userId",t),m("updateUser","userUpdate",s);const a="/v1.0/users/{user-id}".replace("{user-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"PATCH",...o,...r},l={},c={};w(i,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}}}},Me=function(e){const t=rn(e);return{async deleteUser(s,r,a){const n=await t.deleteUser(s,r,a),o=e?.serverIndex??0,i=P["UserApi.deleteUser"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async exportPersonalData(s,r,a){const n=await t.exportPersonalData(s,r,a),o=e?.serverIndex??0,i=P["UserApi.exportPersonalData"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async getUser(s,r,a,n){const o=await t.getUser(s,r,a,n),i=e?.serverIndex??0,l=P["UserApi.getUser"]?.[i]?.url;return(c,d)=>A(o,h,f,e)(c,l||d)},async updateUser(s,r,a){const n=await t.updateUser(s,r,a),o=e?.serverIndex??0,i=P["UserApi.updateUser"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)}}},Ri=function(e,t,s){const r=Me(e);return{deleteUser(a,n,o){return r.deleteUser(a,n,o).then(i=>i(s,t))},exportPersonalData(a,n,o){return r.exportPersonalData(a,n,o).then(i=>i(s,t))},getUser(a,n,o,i){return r.getUser(a,n,o,i).then(l=>l(s,t))},updateUser(a,n,o){return r.updateUser(a,n,o).then(i=>i(s,t))}}};class wi extends G{deleteUser(t,s,r){return Me(this.configuration).deleteUser(t,s,r).then(a=>a(this.axios,this.basePath))}exportPersonalData(t,s,r){return Me(this.configuration).exportPersonalData(t,s,r).then(a=>a(this.axios,this.basePath))}getUser(t,s,r,a){return Me(this.configuration).getUser(t,s,r,a).then(n=>n(this.axios,this.basePath))}updateUser(t,s,r){return Me(this.configuration).updateUser(t,s,r).then(a=>a(this.axios,this.basePath))}}const Ui={Id:"id",DisplayName:"displayName",Drive:"drive",Drives:"drives",Mail:"mail",MemberOf:"memberOf",OnPremisesSamAccountName:"onPremisesSamAccountName",Surname:"surname"},xi={Drive:"drive",Drives:"drives",MemberOf:"memberOf",AppRoleAssignments:"appRoleAssignments"},an=function(e){return{userCreateAppRoleAssignments:async(t,s,r={})=>{m("userCreateAppRoleAssignments","userId",t),m("userCreateAppRoleAssignments","appRoleAssignment",s);const a="/v1.0/users/{user-id}/appRoleAssignments".replace("{user-id}",encodeURIComponent(String(t))),n=new URL(a,v);let o;e&&(o=e.baseOptions);const i={method:"POST",...o,...r},l={},c={};w(i,e),l["Content-Type"]="application/json",b(n,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...r.headers},i.data=L(s,i,e),{url:S(n),options:i}},userDeleteAppRoleAssignments:async(t,s,r,a={})=>{m("userDeleteAppRoleAssignments","userId",t),m("userDeleteAppRoleAssignments","appRoleAssignmentId",s);const n="/v1.0/users/{user-id}/appRoleAssignments/{appRoleAssignment-id}".replace("{user-id}",encodeURIComponent(String(t))).replace("{appRoleAssignment-id}",encodeURIComponent(String(s))),o=new URL(n,v);let i;e&&(i=e.baseOptions);const l={method:"DELETE",...i,...a},c={},d={};w(l,e),r!=null&&(c["If-Match"]=String(r)),b(o,d);let u=i&&i.headers?i.headers:{};return l.headers={...c,...u,...a.headers},{url:S(o),options:l}},userListAppRoleAssignments:async(t,s={})=>{m("userListAppRoleAssignments","userId",t);const r="/v1.0/users/{user-id}/appRoleAssignments".replace("{user-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};w(o,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}}}},rt=function(e){const t=an(e);return{async userCreateAppRoleAssignments(s,r,a){const n=await t.userCreateAppRoleAssignments(s,r,a),o=e?.serverIndex??0,i=P["UserAppRoleAssignmentApi.userCreateAppRoleAssignments"]?.[o]?.url;return(l,c)=>A(n,h,f,e)(l,i||c)},async userDeleteAppRoleAssignments(s,r,a,n){const o=await t.userDeleteAppRoleAssignments(s,r,a,n),i=e?.serverIndex??0,l=P["UserAppRoleAssignmentApi.userDeleteAppRoleAssignments"]?.[i]?.url;return(c,d)=>A(o,h,f,e)(c,l||d)},async userListAppRoleAssignments(s,r){const a=await t.userListAppRoleAssignments(s,r),n=e?.serverIndex??0,o=P["UserAppRoleAssignmentApi.userListAppRoleAssignments"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)}}},gi=function(e,t,s){const r=rt(e);return{userCreateAppRoleAssignments(a,n,o){return r.userCreateAppRoleAssignments(a,n,o).then(i=>i(s,t))},userDeleteAppRoleAssignments(a,n,o,i){return r.userDeleteAppRoleAssignments(a,n,o,i).then(l=>l(s,t))},userListAppRoleAssignments(a,n){return r.userListAppRoleAssignments(a,n).then(o=>o(s,t))}}};class Ci extends G{userCreateAppRoleAssignments(t,s,r){return rt(this.configuration).userCreateAppRoleAssignments(t,s,r).then(a=>a(this.axios,this.basePath))}userDeleteAppRoleAssignments(t,s,r,a){return rt(this.configuration).userDeleteAppRoleAssignments(t,s,r,a).then(n=>n(this.axios,this.basePath))}userListAppRoleAssignments(t,s){return rt(this.configuration).userListAppRoleAssignments(t,s).then(r=>r(this.axios,this.basePath))}}const nn=function(e){return{getUserPhoto:async(t,s={})=>{m("getUserPhoto","userId",t);const r="/v1.0/users/{user-id}/photo/$value".replace("{user-id}",encodeURIComponent(String(t))),a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"GET",...n,...s},i={},l={};w(o,e),b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},{url:S(a),options:o}}}},Hs=function(e){const t=nn(e);return{async getUserPhoto(s,r){const a=await t.getUserPhoto(s,r),n=e?.serverIndex??0,o=P["UserPhotoApi.getUserPhoto"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)}}},Ii=function(e,t,s){const r=Hs(e);return{getUserPhoto(a,n){return r.getUserPhoto(a,n).then(o=>o(s,t))}}};class Ti extends G{getUserPhoto(t,s){return Hs(this.configuration).getUserPhoto(t,s).then(r=>r(this.axios,this.basePath))}}const on=function(e){return{createUser:async(t,s={})=>{m("createUser","user",t);const r="/v1.0/users",a=new URL(r,v);let n;e&&(n=e.baseOptions);const o={method:"POST",...n,...s},i={},l={};w(o,e),i["Content-Type"]="application/json",b(a,l);let c=n&&n.headers?n.headers:{};return o.headers={...i,...c,...s.headers},o.data=L(t,o,e),{url:S(a),options:o}},listUsers:async(t,s,r,a,n,o={})=>{const i="/v1.0/users",l=new URL(i,v);let c;e&&(c=e.baseOptions);const d={method:"GET",...c,...o},u={},R={};w(d,e),t!==void 0&&(R.$search=t),s!==void 0&&(R.$filter=s),r&&(R.$orderby=Array.from(r).join(X.csv)),a&&(R.$select=Array.from(a).join(X.csv)),n&&(R.$expand=Array.from(n).join(X.csv)),b(l,R);let F=c&&c.headers?c.headers:{};return d.headers={...u,...F,...o.headers},{url:S(l),options:d}}}},xt=function(e){const t=on(e);return{async createUser(s,r){const a=await t.createUser(s,r),n=e?.serverIndex??0,o=P["UsersApi.createUser"]?.[n]?.url;return(i,l)=>A(a,h,f,e)(i,o||l)},async listUsers(s,r,a,n,o,i){const l=await t.listUsers(s,r,a,n,o,i),c=e?.serverIndex??0,d=P["UsersApi.listUsers"]?.[c]?.url;return(u,R)=>A(l,h,f,e)(u,d||R)}}},Ei=function(e,t,s){const r=xt(e);return{createUser(a,n){return r.createUser(a,n).then(o=>o(s,t))},listUsers(a,n,o,i,l,c){return r.listUsers(a,n,o,i,l,c).then(d=>d(s,t))}}};class Di extends G{createUser(t,s){return xt(this.configuration).createUser(t,s).then(r=>r(this.axios,this.basePath))}listUsers(t,s,r,a,n,o){return xt(this.configuration).listUsers(t,s,r,a,n,o).then(i=>i(this.axios,this.basePath))}}const Fi={DisplayName:"displayName",DisplayNameDesc:"displayName desc",Mail:"mail",MailDesc:"mail desc",OnPremisesSamAccountName:"onPremisesSamAccountName",OnPremisesSamAccountNameDesc:"onPremisesSamAccountName desc"},Bi={Id:"id",DisplayName:"displayName",Mail:"mail",MemberOf:"memberOf",OnPremisesSamAccountName:"onPremisesSamAccountName",Surname:"surname"},Li={Drive:"drive",Drives:"drives",MemberOf:"memberOf",AppRoleAssignments:"appRoleAssignments"};function ln(e,t=""){return`/public-files/${e}/${t}`.split("/").filter(Boolean).join("/")}function cn(e,t=""){return`/ocm/${e}/${t}`.split("/").filter(Boolean).join("/")}function dn(e,t,s){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),s=s>a?a:s,s<0&&(s+=a),a=t>s?0:s-t>>>0,t>>>=0;for(var n=Array(a);++r=r?e:dn(e,t,s)}var un="\\ud800-\\udfff",hn="\\u0300-\\u036f",mn="\\ufe20-\\ufe2f",On="\\u20d0-\\u20ff",fn=hn+mn+On,Pn="\\ufe0e\\ufe0f",vn="\\u200d",bn=RegExp("["+vn+un+fn+Pn+"]");function $s(e){return bn.test(e)}function Sn(e){return e.split("")}var qs="\\ud800-\\udfff",An="\\u0300-\\u036f",Vn="\\ufe20-\\ufe2f",yn="\\u20d0-\\u20ff",Rn=An+Vn+yn,wn="\\ufe0e\\ufe0f",Un="["+qs+"]",gt="["+Rn+"]",Ct="\\ud83c[\\udffb-\\udfff]",xn="(?:"+gt+"|"+Ct+")",Ns="[^"+qs+"]",ks="(?:\\ud83c[\\udde6-\\uddff]){2}",Gs="[\\ud800-\\udbff][\\udc00-\\udfff]",gn="\\u200d",_s=xn+"?",Qs="["+wn+"]?",Cn="(?:"+gn+"(?:"+[Ns,ks,Gs].join("|")+")"+Qs+_s+")*",In=Qs+_s+Cn,Tn="(?:"+[Ns+gt+"?",gt,ks,Gs,Un].join("|")+")",En=RegExp(Ct+"(?="+Ct+")|"+Tn+In,"g");function Dn(e){return e.match(En)||[]}function Fn(e){return $s(e)?Dn(e):Sn(e)}function Bn(e){return function(t){t=cs(t);var s=$s(t)?Fn(t):void 0,r=s?s[0]:t.charAt(0),a=s?pn(s,1).join(""):t.slice(1);return r[e]()+a}}var Ln=Bn("toUpperCase");function jn(e){return Ln(cs(e).toLowerCase())}var Mn=Ys(function(e,t,s){return t=t.toLowerCase(),e+(s?jn(t):t)});const Hn={complex:["tar.bz2","tar.gz","tar.xz"]},ji=e=>Object.hasOwn(e,"ddate"),Mi=e=>Object.hasOwn(e,"highlights"),Lt=e=>e.replace(/[^A-Za-z0-9\-_]/g,""),Ws=(e,t)=>!e||typeof e!="string"?"":e.indexOf("!")>=0?e.split("!")[t]:"",jt=e=>Ws(e,0),zs=e=>Ws(e,1),Hi=e=>{const t=e.extension||"",s=e.name||"";if(!t.length)return s;const r=s.lastIndexOf(`.${t}`);return s.substring(0,r)},Mt=e=>{const s=e.name.split(".");if(s.length>2)for(let r=0;rOt.basename(Ot.dirname(e.path))||null,qi=e=>typeof e.isShareRoot=="function"&&e.isShareRoot(),Qe=e=>{if(!e)return e;const t={};return Object.keys(e).forEach(s=>{t[Mn(s)]=e[s]}),t};function Ni(e,t=[]){const s=e.props[E.Name]?.toString()||Ot.basename(e.filename),r=e.props[E.FileId],a=e.type==="directory";let n;e.filename.startsWith("/files")||e.filename.startsWith("/space")?n=e.filename.split("/").slice(3).join("/"):n=e.filename,n.startsWith("/")||(n=`/${n}`);const o=Mt({...e,name:s}),i=e.props[E.LockDiscovery];let l,c,d;i&&(l=i[E.ActiveLock],c=l[E.LockOwner],d=l[E.LockTime]);let u=[];e.props[E.ShareTypes]&&(u=e.props[E.ShareTypes]["share-type"],Array.isArray(u)||(u=[u]));const R={};for(const O of t||[]){const U=O.split(":").pop();e.props[U]&&(R[O]=e.props[U])}const F={id:r,fileId:r,storageId:jt(r),parentFolderId:e.props[E.FileParent],mimeType:e.props[E.MimeType],name:s,extension:o,path:n,webDavPath:e.filename,type:a?"folder":e.type,isFolder:a,locked:!!l,lockOwner:c,lockTime:d,immutableState:e.props[E.Immutable]||void 0,processing:e.processing||!1,mdate:e.props[E.LastModifiedDate],size:a?e.props[E.ContentSize]?.toString()||"0":e.props[E.ContentLength]?.toString()||"0",permissions:e.props[E.Permissions]||"",starred:e.props[E.IsFavorite]!==0,etag:e.props[E.ETag],shareTypes:u,privateLink:e.props[E.PrivateLink],downloadURL:e.props[E.DownloadURL],remoteItemId:e.props[E.RemoteItemId],remoteItemPath:e.props[E.ShareRoot],owner:{id:e.props[E.OwnerId],displayName:e.props[E.OwnerDisplayName]},tags:(e.props[E.Tags]||"").toString().split(",").filter(Boolean),audio:Qe(e.props[E.Audio]),location:Qe(e.props[E.Location]),image:Qe(e.props[E.Image]),photo:Qe(e.props[E.Photo]),extraProps:R,hasPreview:()=>e.props[E.HasPreview]===1,canUpload:function(){return this.permissions.indexOf(Pe.FolderCreateable)>=0},canDownload:function(){return this.permissions.indexOf(Pe.SecureView)===-1},canBeDeleted:function(){return this.permissions.indexOf(Pe.Deletable)>=0},canRename:function(){return this.permissions.indexOf(Pe.Renameable)>=0},canShare:function({ability:O}){return O.can("create-all","Share")&&this.permissions.indexOf(Pe.Shareable)>=0},canCreate:function(){return this.permissions.indexOf(Pe.FolderCreateable)>=0},canEditTags:function(){return this.permissions.indexOf(Pe.Updateable)>=0||this.permissions.indexOf(Pe.FileUpdateable)>=0||this.permissions.indexOf(Pe.FolderCreateable)>=0},isMounted:function(){return this.permissions.indexOf(Pe.Mounted)>=0},isReceivedShare:function(){return this.permissions.indexOf(Pe.Shared)>=0},isShareRoot(){return e.props[E.ShareRoot]?e.filename.split("/").length===3:!1},getDomSelector:()=>Lt(r)};return Object.defineProperty(F,"nodeId",{get(){return zs(this.id)}}),F}function ki(e){const t=e.type==="directory",s=e.props[E.TrashbinOriginalFilename]?.toString(),r=Mt({name:s,type:e.type}),a=Gt.basename(e.filename);return{type:t?"folder":e.type,isFolder:t,ddate:e.props[E.TrashbinDeletedDate],name:Gt.basename(s),extension:r,path:he(e.props[E.TrashbinOriginalLocation],{leadingSlash:!0}),id:a,parentFolderId:e.props[E.FileParent],webDavPath:"",canUpload:()=>!1,canDownload:()=>!1,canBeDeleted:()=>!0,canBeRestored:function(){return!0},canRename:()=>!1,canShare:()=>!1,canCreate:()=>!1,isMounted:()=>!1,isReceivedShare:()=>!1,hasPreview:()=>!1,isShareRoot:()=>!1,getDomSelector:()=>Lt(a)}}var oe=(e=>(e.createUpload="libre.graph/driveItem/upload/create",e.createPermissions="libre.graph/driveItem/permissions/create",e.createChildren="libre.graph/driveItem/children/create",e.readBasic="libre.graph/driveItem/basic/read",e.readPath="libre.graph/driveItem/path/read",e.readQuota="libre.graph/driveItem/quota/read",e.readContent="libre.graph/driveItem/content/read",e.readChildren="libre.graph/driveItem/children/read",e.readDeleted="libre.graph/driveItem/deleted/read",e.readPermissions="libre.graph/driveItem/permissions/read",e.readVersions="libre.graph/driveItem/versions/read",e.updatePath="libre.graph/driveItem/path/update",e.updateDeleted="libre.graph/driveItem/deleted/update",e.updatePermissions="libre.graph/driveItem/permissions/update",e.updateVersions="libre.graph/driveItem/versions/update",e.deleteStandard="libre.graph/driveItem/standard/delete",e.deleteDeleted="libre.graph/driveItem/deleted/delete",e.deletePermissions="libre.graph/driveItem/permissions/delete",e))(oe||{});function $n(e,t){return he("spaces",e,t,{leadingSlash:!0})}function qn(e,t=""){return he("spaces","trash-bin",e,t,{leadingSlash:!0})}function Gi(e,t){const r=e[{image:"spaceImageData",readme:"spaceReadmeData"}[t]];if(!r)return"";const a=decodeURI(r.webDavUrl).split("/"),n=a.find(o=>o.startsWith(e.id));return n?a.slice(a.indexOf(n)+1).join("/"):""}function _i(e){return e.permissions.includes(oe.deletePermissions)}const Qi=(e,t)=>e.root.permissions?.filter(s=>{let r=[];s["@libre.graph.permissions.actions"]&&(r=s["@libre.graph.permissions.actions"]);const a=t[s.roles?.[0]];return a&&!r.length&&(r=a.rolePermissions.find(({condition:o})=>o==="exists @Resource.Root")?.allowedResourceActions||[]),r.includes(oe.deletePermissions)});function Wi(e){const t=e.publicLinkPassword,s=e.props?.[E.FileId],r=e.props?.[E.PublicLinkItemType],a=e.props?.[E.PublicLinkPermission],n=e.props?.[E.PublicLinkExpiration],o=e.props?.[E.PublicLinkShareDate],i=e.props?.[E.PublicLinkShareOwner],l=e.publicLinkType;let c,d;return l==="ocm"?(c=`ocm/${e.id}`,d=cn(e.id)):(c=`public/${e.id}`,d=ln(e.id)),Object.assign(Ht({...e,driveType:"public",driveAlias:c,webDavPath:d}),{...s&&{fileId:s},...t&&{publicLinkPassword:t},...r&&{publicLinkItemType:r},...a&&{publicLinkPermission:parseInt(a)},...n&&{publicLinkExpiration:n},...o&&{publicLinkShareDate:o},...i&&{publicLinkShareOwner:i},publicLinkType:l})}function Nn({driveAliasPrefix:e,id:t,shareName:s,serverUrl:r}){const a=Ht({id:t,driveAlias:`${e}/${s}`,driveType:"share",name:s,serverUrl:r});return a.rename=n=>{a.driveAlias=`${e}/${n}`,a.name=n},a}function Ht(e){let t,s;e.special&&(t=e.special.find(c=>c.specialFolder.name==="image"),s=e.special.find(c=>c.specialFolder.name==="readme"),t&&(t.webDavUrl=decodeURI(t.webDavUrl)),s&&(s.webDavUrl=decodeURI(s.webDavUrl)));const r=e.root?.deleted?.state==="trashed",a=he(e.webDavPath||$n(e.id),{leadingSlash:!0}),n=he(e.serverUrl,"remote.php/dav",a),o=he(e.webDavTrashPath||qn(e.id),{leadingSlash:!0}),i=he(e.serverUrl,"remote.php/dav",o),l={id:e.id,fileId:e.id,storageId:e.id,mimeType:"",name:e.name,description:e.description,extension:"",path:"/",webDavPath:a,webDavTrashPath:o,driveAlias:e.driveAlias,driveType:e.driveType,type:"space",isFolder:!0,mdate:e.lastModifiedDateTime,size:e.quota?.used||0,tags:[],permissions:"",starred:!1,etag:"",shareTypes:[],privateLink:e.webUrl,downloadURL:"",owner:e.owner?.user,disabled:r,root:e.root,spaceQuota:e.quota,spaceImageData:t,spaceReadmeData:s,hasTrashedItems:e["@libre.graph.hasTrashedItems"]||!1,graphPermissions:void 0,canUpload:function({user:c}={}){return ze(this)&&this.isOwner(c)?!0:this.graphPermissions?.includes(oe.createUpload)},canDownload:function(){return!0},canBeDeleted:function({ability:c}={}){return this.disabled?c?.can("delete-all","Drive")?!0:this.graphPermissions?.includes(oe.deletePermissions):!1},canRename:function({ability:c}={}){return c?.can("update-all","Drive")?!0:this.graphPermissions?.includes(oe.deletePermissions)},canEditDescription:function({ability:c}={}){return c?.can("update-all","Drive")?!0:this.graphPermissions?.includes(oe.deletePermissions)},canRestore:function({ability:c}={}){return this.disabled?c?.can("update-all","Drive")?!0:this.graphPermissions?.includes(oe.deletePermissions):!1},canDisable:function({ability:c}={}){return this.disabled?!1:c?.can("delete-all","Drive")?!0:this.graphPermissions?.includes(oe.deletePermissions)},canShare:function(){return this.graphPermissions?.includes(oe.createPermissions)},canEditImage:function(){return this.disabled?!1:this.graphPermissions?.includes(oe.deletePermissions)},canEditReadme:function(){return this.disabled?!1:this.graphPermissions?.includes(oe.deletePermissions)},canRestoreFromTrashbin:function(){return this.graphPermissions?.includes(oe.updateDeleted)},canDeleteFromTrashBin:function({user:c}={}){return ze(this)&&this.isOwner(c)?!0:this.graphPermissions?.includes(oe.deletePermissions)},canListVersions:function({user:c}={}){return ze(this)&&this.isOwner(c)?!0:this.graphPermissions?.includes(oe.readVersions)},canCreate:function(){return!0},canEditTags:function(){return!1},isMounted:function(){return!0},isReceivedShare:function(){return!1},isShareRoot:function(){return["share","mountpoint","public"].includes(e.driveType)},getDomSelector:()=>Lt(e.id),getDriveAliasAndItem({path:c}){return he(this.driveAlias,c,{leadingSlash:!1})},getWebDavUrl({path:c}){return he(n,c)},getWebDavTrashUrl({path:c}){return he(i,c)},isOwner(c){return c?.id===this.owner?.id}};return Object.defineProperty(l,"nodeId",{get(){return zs(this.id)}}),l}function zi(e){return{id:e.spaceImageData.id,name:e.spaceImageData.name,etag:e.spaceImageData.eTag,extension:Mt({name:e.spaceImageData.name}),mimeType:e.spaceImageData.file.mimeType,type:"file",webDavPath:he(e.webDavPath,".space",e.spaceImageData.name),hasPreview:()=>!0,canDownload:()=>!0}}function kn(e="",t=!1){const s=he(e,{leadingSlash:!0});if(s==="/")return[];const r=[],a=s.split("/");for(t&&r.push(s),a.pop();a.length>0;){if(!a.join("/")){a.pop();continue}r.push(a.join("/")),a.pop()}return r}const Gn=It("shares",()=>{const e=Wn(),{getRoleIcon:t}=er(),s=z(!1),r=z([]),a=z([]),n=z({}),o=C=>{n.value=C.reduce((T,D)=>(T[D.id]={...D,icon:t(D)},T),{})},i=C=>{const T=x(r).find(({id:D})=>D===C.id);if(T){Object.assign(T,C);return}x(r).push(C)},l=C=>{r.value=C},c=C=>{x(r).push(...C)},d=C=>{r.value=x(r).filter(({id:T})=>T!==C.id)},u=()=>{r.value=[],a.value=[],s.value=void 0},R=()=>{const C=Object.values(e.ancestorMetaData).map(({id:T})=>T);if(!C.length){r.value=[],a.value=[];return}x(r).forEach(T=>{C.includes(T.resourceId)||d(T)}),x(a).forEach(T=>{C.includes(T.resourceId)||U(T)})},F=C=>{a.value=C},O=C=>{const T=x(a).find(({id:D})=>D===C.id);if(T){Object.assign(T,C);return}x(a).push(C)},U=C=>{a.value=x(a).filter(({id:T})=>T!==C.id)},y=C=>{s.value=C},$=C=>{const T=q=>{const Q=new Set;return q.forEach(se=>{Q.add(se.shareType)}),Array.from(Q)},D=[...e.resources,e.currentFolder].find(q=>q?.id===C);if(!D||He(D))return;const _=[...x(r),...x(a)];e.updateResourceField({id:D.id,field:"shareTypes",value:T(_.filter(q=>!q.indirect))});const H=e.getAncestorById(C);H&&e.updateAncestorField({path:H.path,field:"shareTypes",value:T(_.filter(q=>!q.indirect))})};return{loading:s,collaboratorShares:r,linkShares:a,graphRoles:n,setGraphRoles:o,setLoading:y,setCollaboratorShares:l,setLinkShares:F,removeOrphanedShares:R,pruneShares:u,addShare:async({clientService:C,space:T,resource:D,options:_})=>{const q=await C.graphAuthenticated.permissions.createInvite(T.id,D.id,_,x(n));return c([q]),$(D.id),q},updateShare:async({clientService:C,space:T,resource:D,collaboratorShare:_,options:H})=>{const q=C.graphAuthenticated.permissions,Q={roles:H.roles,expirationDateTime:H.expirationDateTime},se=await q.updatePermission(T.id,D.id,_.id,Q,x(n));return i(se),se},deleteShare:async({clientService:C,space:T,resource:D,collaboratorShare:_})=>{await C.graphAuthenticated.permissions.deletePermission(T.id,D.id,_.id),d(_),$(D.id)},addLink:async({clientService:C,space:T,resource:D,options:_})=>{const q=await C.graphAuthenticated.permissions.createLink(T.id,D.id,_),Q=e.selectedResources,se=Q.some(({fileId:W})=>W===D.fileId)||Q.length===0&&e.currentFolder.fileId===D.fileId;if(O(q),$(D.id),!se){const W=e.ancestorMetaData[D.path]??null;if(W){const{shareTypes:Ae}=W;Ae.includes(_t.link.value)||e.updateAncestorField({path:W.path,field:"shareTypes",value:[...Ae,_t.link.value]})}}return q},updateLink:async({clientService:C,space:T,resource:D,linkShare:_,options:H})=>{const q=C.graphAuthenticated.permissions;let Q;if(Object.hasOwn(H,"password"))Q=await q.setPermissionPassword(T.id,D.id,_.id,{password:H.password}),_.hasPassword=!!H.password;else{const se={link:{...H.type&&{type:H.type},...H.displayName&&{"@libre.graph.displayName":H.displayName}},...Object.hasOwn(H,"expirationDateTime")&&{expirationDateTime:H.expirationDateTime}};Q=await q.updatePermission(T.id,D.id,_.id,se)}return O(Q),Q},deleteLink:async({clientService:C,space:T,resource:D,linkShare:_})=>{await C.graphAuthenticated.permissions.deletePermission(T.id,D.id,_.id),U(_),$(D.id)}}}),_n=e=>e.sort((t,s)=>s.permissions.length-t.permissions.length),We=async({graphClient:e,driveType:t,configStore:s,signal:r})=>{const a=await e.drives.listMyDrives({orderBy:"name asc",filter:`driveType eq ${t}`},{signal:r});if(!a.length)return[];if(t!=="mountpoint"||!s.options.routing?.fullShareOwnerPaths)return a;const n={};a.forEach(i=>{const{rootId:l,driveAlias:c}=i.root.remoteItem;n[l]=c});const o=Object.entries(n).map(([i,l])=>Ht({id:jt(i),name:l,driveType:l.split("/")[0],driveAlias:l,serverUrl:s.serverUrl}));return[...a,...o]},Qn=It("spaces",()=>{const e=us(),t=ds(),s=Gn(),r=z([]),a=z(),n=z(!1),o=z(!1),i=z(!1),l=z(null),c=z([]),d=z([]),u=Je(()=>x(r).find(g=>ze(g)&&g.isOwner(e.user))),R=g=>{n.value=g},F=g=>{o.value=g},O=g=>{i.value=g},U=g=>{a.value=g},y=g=>{l.value=g},$=g=>{if(!He(g))return[];const B=s.collaboratorShares.filter(N=>N.resourceId===g.id);return _n(B)},K=g=>{x(r).push(...g)},j=g=>{r.value=x(r).filter(({id:B})=>B!==g.id)},J=g=>x(r).find(B=>g==B.id),te=async({graphClient:g,space:B,signal:N})=>(await D({graphClient:g,signal:N}),x(r).find(Y=>ps(Y)&&Y.root?.remoteItem?.id===B.id)),de=({driveAliasPrefix:g,id:B,shareName:N})=>{const Y=Nn({driveAliasPrefix:g,id:B,shareName:N,serverUrl:t.serverUrl});return K([Y]),Y},Z=g=>{const B=x(r).find(({id:N})=>N===g.id);if(B){Object.assign(B,g);return}K([g])},C=({id:g,field:B,value:N})=>{const Y=x(r).find(ee=>g===ee.id);Y&&(Y[B]=N)},T=async({graphClient:g})=>{i.value=!0;try{const[B,N]=await Promise.all([We({graphClient:g,driveType:"personal",configStore:t}),We({graphClient:g,driveType:"project",configStore:t})]);K([...B,...N])}finally{i.value=!1}},D=async({graphClient:g,signal:B})=>{if(!x(o))try{const N=await We({graphClient:g,driveType:"mountpoint",configStore:t,signal:B});K(N)}finally{o.value=!0}},_=async({graphClient:g,signal:B})=>{const N=await We({graphClient:g,driveType:"project",configStore:t,signal:B});r.value=x(r).filter(Y=>!He(Y)),K(N)},H=g=>{x(c).includes(g)||x(c).push(g)},q=g=>{c.value=x(c).filter(B=>B!==g)},Q=()=>{c.value=[]},se=g=>{x(d).includes(g)||x(d).push(g)},W=g=>{d.value=x(d).filter(B=>B!==g)},Ae=()=>{d.value=[]},ae=z({});return{spaces:r,spacesInitialized:n,mountPointsInitialized:o,spacesLoading:i,currentSpace:a,personalSpace:u,defaultSpaceImageBlobURL:l,imagesLoading:c,readmesLoading:d,getSpace:J,createShareSpace:de,setSpacesInitialized:R,setMountPointsInitialized:F,setSpacesLoading:O,setCurrentSpace:U,setDefaultSpaceImageBlobURL:y,getSpaceMembers:$,getMountPointForSpace:te,addSpaces:K,removeSpace:j,upsertSpace:Z,updateSpaceField:C,loadSpaces:T,loadMountPoints:D,reloadProjectSpaces:_,addToImagesLoading:H,removeFromImagesLoading:q,purgeImagesLoading:Q,addToReadmesLoading:se,removeFromReadmesLoading:W,purgeReadmesLoading:Ae,loadGraphPermissions:async({ids:g,graphClient:B,useCache:N=!0})=>{const Y=x(r).filter(ee=>g.includes(ee.id)&&(ee.graphPermissions===void 0||!N));if(Y.length){for(const{id:ee,disabled:De}of Y){if(De){C({id:ee,field:"graphPermissions",value:[]});continue}x(ae)[ee]||(ae.value[ee]=B.permissions.listPermissions(ee,ee,s.graphRoles,{select:[qa.LibreGraphPermissionsActionsAllowedValues]}).then(({allowedActions:$t})=>{C({id:ee,field:"graphPermissions",value:$t}),delete ae.value[ee]}))}await Promise.all(Object.values(x(ae)))}}}}),Wn=It("resources",()=>{const e=ds(),t=Qn(),s=us(),r=z([]),a=z(),n=z({}),o=z([]),i=Je(()=>{let V=x(r);return x(H)||(V=V.filter(M=>!M.name.startsWith("."))),V}),l=Je(()=>{const V=x(r).filter(({type:be})=>be==="file").length,M=x(r).filter(({type:be,name:Fe})=>be==="file"&&Fe.startsWith(".")).length,ne=x(r).filter(({type:be})=>be==="folder").length,me=x(r).filter(({type:be,name:Fe})=>be==="folder"&&Fe.startsWith(".")).length,Oe=x(r).filter(He).length;return{files:V,hiddenFiles:M,folders:ne,hiddenFolders:me,spaces:Oe}}),c=V=>{r.value=V},d=V=>{r.value=x(r).filter(M=>!V.find(({id:ne})=>ne===M.id))},u=()=>{r.value=[]},R=V=>{const M=x(r).find(({id:ne})=>ne===V.id);if(M){Object.assign(M,V);return}x(r).push(V)},F=V=>{const M=x(r).filter(ne=>!V.some(me=>me.path===ne.path));r.value=[...M,...V]},O=({id:V,field:M,value:ne})=>{const me=x(r).find(Oe=>V===Oe.id);me&&(me[M]=ne)},U=V=>{a.value=V},y=()=>{a.value=void 0},$=V=>{r.value=V.resources,a.value=V.currentFolder},K=()=>{r.value=[],a.value=void 0,j.value=[]},j=z([]),J=z(null),te=Je(()=>x(r).filter(V=>x(j).includes(V.id))),de=V=>{const M=V.find(ne=>!x(j).includes(ne));M&&(J.value=M),j.value=V},Z=V=>{J.value=V,x(j).includes(V)||x(j).push(V)},C=V=>{J.value=V,x(j).includes(V)&&(j.value=x(j).filter(M=>M!==V))},T=V=>{x(j).includes(V)?C(V):Z(V)},D=()=>{j.value=[]},_=V=>{J.value=V},H=z(!0),q=z(!0),Q=z(!1),se=z(!0),W=z(!0),Ae=V=>{H.value=V,window.localStorage.setItem("oc_hiddenFilesShown",V.toString())},ae=V=>{q.value=V,window.localStorage.setItem("oc_fileExtensionsShown",V.toString())},Ee=V=>{Q.value=V,window.localStorage.setItem("oc_webDavDetailsShown",V.toString())},g=V=>{se.value=V,window.localStorage.setItem("oc_disabledSpacesShown",V.toString())},B=V=>{W.value=V,window.localStorage.setItem("oc_emptyTrashesShown",V.toString())},N=V=>{n.value=V};return{resources:r,currentFolder:a,activeResources:i,totalResourcesCount:l,setResources:c,removeResources:d,clearResources:u,upsertResource:R,upsertResources:F,updateResourceField:O,setCurrentFolder:U,clearCurrentFolder:y,initResourceList:$,clearResourceList:K,selectedIds:j,latestSelectedId:J,selectedResources:te,setSelection:de,addSelection:Z,removeSelection:C,toggleSelection:T,resetSelection:D,setLastSelectedId:_,areHiddenFilesShown:H,areFileExtensionsShown:q,areWebDavDetailsShown:Q,areDisabledSpacesShown:se,areEmptyTrashesShown:W,setAreHiddenFilesShown:Ae,setAreFileExtensionsShown:ae,setAreWebDavDetailsShown:Ee,setAreDisabledSpacesShown:g,setAreEmptyTrashesShown:B,ancestorMetaData:n,setAncestorMetaData:N,updateAncestorField:({path:V,field:M,value:ne})=>{const me=x(n)[V]??null;me&&(me[M]=ne)},loadAncestorMetaData:({folder:V,space:M,client:ne,signal:me})=>{const Oe={[V.path]:{id:V.fileId,shareTypes:V.shareTypes,parentFolderId:V.parentFolderId,spaceId:M.id,path:V.path}},be=[],Fe=[E.FileId,E.ShareTypes,E.FileParent],Js=kn(V.path),qt=t.spaces,Ks=()=>qt.filter(ie=>ps(ie)&&jt(ie.root.remoteItem.rootId)===M.id);let Nt=!0;if(e.options.routing.fullShareOwnerPaths){const ie=qt.some(Re=>He(Re)&&Re.id===M.id);Nt=M.isOwner(s.user)||ie}for(const ie of Js){const Re=x(n)[ie]??null;if(Re?.spaceId===M.id){Oe[ie]=Re;continue}if(!Nt&&!Ks().find(fe=>ie.startsWith(fe.root.remoteItem.path)))break;be.push(ne.listFiles(M,{path:ie},{depth:0,davProperties:Fe,signal:me}).then(({resource:fe})=>{Oe[ie]={id:fe.fileId,shareTypes:fe.shareTypes,parentFolderId:fe.parentFolderId,spaceId:M.id,path:ie}}))}return Promise.all(be).then(()=>{if(!Object.keys(Oe).includes("/")){const ie=x(n)["/"];if(ie?.spaceId===M.id)Oe["/"]=ie;else{const{parentFolderId:Re}=Object.values(Oe)[0],fe=t.spaces.find(({id:Xs})=>Re.startsWith(Xs));fe&&(Oe["/"]={id:fe.id,shareTypes:fe.shareTypes,parentFolderId:fe.id,spaceId:fe.id,path:"/"})}}N(Oe)})},getAncestorById:V=>Object.values(x(n)).find(M=>V===M.id),deleteQueue:o,addResourcesIntoDeleteQueue:V=>{o.value=o.value.concat(V.filter(M=>!x(o).includes(M)))},removeResourcesFromDeleteQueue:V=>{o.value=o.value.filter(M=>!V.includes(M))}}});export{Qa as $,So as A,Na as B,Lo as C,Ro as D,jo as E,Ve as F,Po as G,Ho as H,ka as I,Mo as J,et as K,qo as L,Ga as M,$o as N,ue as O,ko as P,_a as Q,No as R,Ce as S,xo as T,Go as U,Ko as V,Jo as W,bi as X,xi as Y,Ui as Z,zo as _,Fa as a,gi as a$,Wo as a0,we as a1,Zo as a2,Wa as a3,Xo as a4,yt as a5,Io as a6,Qo as a7,_o as a8,ti as a9,hi as aA,Za as aB,ui as aC,Rt as aD,fi as aE,Ya as aF,Oi as aG,je as aH,vi as aI,en as aJ,Pi as aK,wt as aL,Ai as aM,tn as aN,Si as aO,Ut as aP,vo as aQ,yi as aR,sn as aS,Vi as aT,st as aU,wi as aV,rn as aW,Ri as aX,Me as aY,Ci as aZ,an as a_,Yo as aa,ei as ab,mi as ac,Do as ad,qa as ae,oi as af,ii as ag,Li as ah,Fi as ai,Bi as aj,ri as ak,za as al,si as am,Ls as an,ni as ao,Ja as ap,ai as aq,tt as ar,ci as as,Ka as at,li as au,js as av,pi as aw,Xa as ax,di as ay,Ms as az,bo as b,rt as b0,Ti as b1,nn as b2,Ii as b3,Hs as b4,Di as b5,on as b6,Ei as b7,xt as b8,Ht as b9,Wn as bA,Gn as bB,Qn as bC,Ln as bD,dn as bE,Ni as ba,Wi as bb,qn as bc,ki as bd,h as be,oe as bf,Nn as bg,zi as bh,cn as bi,ln as bj,$n as bk,Lt as bl,Mt as bm,Hi as bn,zs as bo,$i as bp,jt as bq,Gi as br,Qi as bs,_i as bt,Mi as bu,qi as bv,ji as bw,kn as bx,We as by,_n as bz,Bs as c,Vo as d,Ba as e,Ao as f,At as g,La as h,yo as i,Ye as j,Uo as k,ja as l,wo as m,Le as n,Co as o,Ma as p,go as q,Vt as r,Eo as s,Ha as t,To as u,ye as v,Bo as w,$a as x,Fo as y,Se as z}; diff --git a/web-dist/js/chunks/resources-CL0nvFAd.mjs.gz b/web-dist/js/chunks/resources-CL0nvFAd.mjs.gz new file mode 100644 index 0000000000..ab5fd2db58 Binary files /dev/null and b/web-dist/js/chunks/resources-CL0nvFAd.mjs.gz differ diff --git a/web-dist/js/chunks/rpm-CTu-6PCP.mjs b/web-dist/js/chunks/rpm-CTu-6PCP.mjs new file mode 100644 index 0000000000..9734d1b5d9 --- /dev/null +++ b/web-dist/js/chunks/rpm-CTu-6PCP.mjs @@ -0,0 +1 @@ +var o=/^-+$/,a=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,c=/^[\w+.-]+@[\w.-]+/;const h={name:"rpmchanges",token:function(r){return r.sol()&&(r.match(o)||r.match(a))?"tag":r.match(c)?"string":(r.next(),null)}};var i=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,t=/^[a-zA-Z0-9()]+:/,l=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,p=/^%(ifnarch|ifarch|if)/,f=/^%(else|endif)/,u=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;const d={name:"rpmspec",startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(r,e){var n=r.peek();if(n=="#")return r.skipToEnd(),"comment";if(r.sol()){if(r.match(t))return"header";if(r.match(l))return"atom"}if(r.match(/^\$\w+/)||r.match(/^\$\{\w+\}/))return"def";if(r.match(f))return"keyword";if(r.match(p))return e.controlFlow=!0,"keyword";if(e.controlFlow){if(r.match(u))return"operator";if(r.match(/^(\d+)/))return"number";r.eol()&&(e.controlFlow=!1)}if(r.match(i))return r.eol()&&(e.controlFlow=!1),"number";if(r.match(/^%[\w]+/))return r.match("(")&&(e.macroParameters=!0),"keyword";if(e.macroParameters){if(r.match(/^\d+/))return"number";if(r.match(")"))return e.macroParameters=!1,"keyword"}return r.match(/^%\{\??[\w \-\:\!]+\}/)?(r.eol()&&(e.controlFlow=!1),"def"):(r.next(),null)}};export{h as rpmChanges,d as rpmSpec}; diff --git a/web-dist/js/chunks/rpm-CTu-6PCP.mjs.gz b/web-dist/js/chunks/rpm-CTu-6PCP.mjs.gz new file mode 100644 index 0000000000..bd2add9a5d Binary files /dev/null and b/web-dist/js/chunks/rpm-CTu-6PCP.mjs.gz differ diff --git a/web-dist/js/chunks/ruby-B2Rjki9n.mjs b/web-dist/js/chunks/ruby-B2Rjki9n.mjs new file mode 100644 index 0000000000..a95f3577be --- /dev/null +++ b/web-dist/js/chunks/ruby-B2Rjki9n.mjs @@ -0,0 +1 @@ +function k(e){for(var i={},n=0,o=e.length;n]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if(n=="@"&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"propertyName";if(n=="$")return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variableName.special";if(/[a-zA-Z_\xa1-\uffff]/.test(n))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"variable";if(n=="|"&&(i.varList||i.lastTok=="{"||i.lastTok=="do"))return f="|",null;if(/[\(\)\[\]{}\\;]/.test(n))return f=n,null;if(n=="-"&&e.eat(">"))return"operator";if(/[=+\-\/*:\.^%<>~|]/.test(n)){var t=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return n=="."&&!t&&(f="."),"operator"}else return null}}}function g(e){for(var i=e.pos,n=0,o,l=!1,r=!1;(o=e.next())!=null;)if(r)r=!1;else{if("[{(".indexOf(o)>-1)n++;else if("]})".indexOf(o)>-1){if(n--,n<0)break}else if(o=="/"&&n==0){l=!0;break}r=o=="\\"}return e.backUp(e.pos-i),l}function a(e){return e||(e=1),function(i,n){if(i.peek()=="}"){if(e==1)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n);n.tokenize[n.tokenize.length-1]=a(e-1)}else i.peek()=="{"&&(n.tokenize[n.tokenize.length-1]=a(e+1));return p(i,n)}}function y(){var e=!1;return function(i,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n)):(e=!0,p(i,n))}}function d(e,i,n,o){return function(l,r){var u=!1,t;for(r.context.type==="read-quoted-paused"&&(r.context=r.context.prev,l.eat("}"));(t=l.next())!=null;){if(t==e&&(o||!u)){r.tokenize.pop();break}if(n&&t=="#"&&!u){if(l.eat("{")){e=="}"&&(r.context={prev:r.context,type:"read-quoted-paused"}),r.tokenize.push(a());break}else if(/[@\$]/.test(l.peek())){r.tokenize.push(y());break}}u=!u&&t=="\\"}return i}}function s(e,i){return function(n,o){return i&&n.eatSpace(),n.match(e)?o.tokenize.pop():n.skipToEnd(),"string"}}function w(e,i){return e.sol()&&e.match("=end")&&e.eol()&&i.tokenize.pop(),e.skipToEnd(),"comment"}const E={name:"ruby",startState:function(e){return{tokenize:[p],indented:0,context:{type:"top",indented:-e},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,i){f=null,e.sol()&&(i.indented=e.indentation());var n=i.tokenize[i.tokenize.length-1](e,i),o,l=f;if(n=="variable"){var r=e.current();n=i.lastTok=="."?"property":x.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(r)?"tag":i.lastTok=="def"||i.lastTok=="class"||i.varList?"def":"variable",n=="keyword"&&(l=r,z.propertyIsEnumerable(r)?o="indent":b.propertyIsEnumerable(r)?o="dedent":((r=="if"||r=="unless")&&e.column()==e.indentation()||r=="do"&&i.context.indented=|!=|<>)/,p=/[=\(:\),{}.*<>+\-\/^\[\]]/;function s(e,r,o){if(o)for(var i=r.split(" "),n=0;ninteger char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),q=w("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless");function C(e,n,i){this.indent=e,this.type=n,this.prev=i}function s(e,n,i){e.indentStack=new C(n,i,e.indentStack)}function N(e){e.indentStack=e.indentStack.prev}var M=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),Q=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),I=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),R=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);function B(e){return e.match(M)}function $(e){return e.match(Q)}function u(e,n){return n===!0&&e.backUp(1),e.match(R)}function O(e){return e.match(I)}function y(e,n){for(var i,t=!1;(i=e.next())!=null;){if(i==n.token&&!t){n.state.mode=!1;break}t=!t&&i=="\\"}}const U={name:"scheme",startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1,sExprQuote:!1}},token:function(e,n){if(n.indentStack==null&&e.sol()&&(n.indentation=e.indentation()),e.eatSpace())return null;var i=null;switch(n.mode){case"string":y(e,{token:'"',state:n}),i=g;break;case"symbol":y(e,{token:"|",state:n}),i=x;break;case"comment":for(var t,p=!1;(t=e.next())!=null;){if(t=="#"&&p){n.mode=!1;break}p=t=="|"}i=a;break;case"s-expr-comment":if(n.mode=!1,e.peek()=="("||e.peek()=="[")n.sExprComment=0;else{e.eatWhile(/[^\s\(\)\[\]]/),i=a;break}default:var r=e.next();if(r=='"')n.mode="string",i=g;else if(r=="'")e.peek()=="("||e.peek()=="["?(typeof n.sExprQuote!="number"&&(n.sExprQuote=0),i=c):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),i=c);else if(r=="|")n.mode="symbol",i=x;else if(r=="#")if(e.eat("|"))n.mode="comment",i=a;else if(e.eat(/[tf]/i))i=c;else if(e.eat(";"))n.mode="s-expr-comment",i=a;else{var l=null,o=!1,m=!0;e.eat(/[ei]/i)?o=!0:e.backUp(1),e.match(/^#b/i)?l=B:e.match(/^#o/i)?l=$:e.match(/^#x/i)?l=O:e.match(/^#d/i)?l=u:e.match(/^[-+0-9.]/,!1)?(m=!1,l=u):o||e.eat("#"),l!=null&&(m&&!o&&e.match(/^#[ei]/i),l(e)&&(i=b))}else if(/^[-+0-9.]/.test(r)&&u(e,!0))i=b;else if(r==";")e.skipToEnd(),i=a;else if(r=="("||r=="["){for(var d="",f=e.column(),h;(h=e.eat(/[^\s\(\[\;\)\]]/))!=null;)d+=h;d.length>0&&q.propertyIsEnumerable(d)?s(n,f+S,r):(e.eatSpace(),e.eol()||e.peek()==";"?s(n,f+1,r):s(n,f+e.current().length,r)),e.backUp(e.current().length-1),typeof n.sExprComment=="number"&&n.sExprComment++,typeof n.sExprQuote=="number"&&n.sExprQuote++,i=v}else r==")"||r=="]"?(i=v,n.indentStack!=null&&n.indentStack.type==(r==")"?"(":"[")&&(N(n),typeof n.sExprComment=="number"&&--n.sExprComment==0&&(i=a,n.sExprComment=!1),typeof n.sExprQuote=="number"&&--n.sExprQuote==0&&(i=c,n.sExprQuote=!1))):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),k&&k.propertyIsEnumerable(e.current())?i=E:i="variable")}return typeof n.sExprComment=="number"?a:typeof n.sExprQuote=="number"?c:i},indent:function(e){return e.indentStack==null?e.indentation:e.indentStack.indent},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:";;"}}};export{U as scheme}; diff --git a/web-dist/js/chunks/scheme-C41bIUwD.mjs.gz b/web-dist/js/chunks/scheme-C41bIUwD.mjs.gz new file mode 100644 index 0000000000..cc1a80276c Binary files /dev/null and b/web-dist/js/chunks/scheme-C41bIUwD.mjs.gz differ diff --git a/web-dist/js/chunks/shell-CjFT_Tl9.mjs b/web-dist/js/chunks/shell-CjFT_Tl9.mjs new file mode 100644 index 0000000000..965d43bc3b --- /dev/null +++ b/web-dist/js/chunks/shell-CjFT_Tl9.mjs @@ -0,0 +1 @@ +var c={};function s(n,e){for(var i=0;i1&&n.eat("$");var i=n.next();return/['"({]/.test(i)?(e.tokens[0]=l(i,i=="("?"quote":i=="{"?"def":"string"),u(n,e)):(/\d/.test(i)||n.eatWhile(/\w/),e.tokens.shift(),"def")};function w(n){return function(e,i){return e.sol()&&e.string==n&&i.tokens.shift(),e.skipToEnd(),"string.special"}}function u(n,e){return(e.tokens[0]||d)(n,e)}const v={name:"shell",startState:function(){return{tokens:[]}},token:function(n,e){return u(n,e)},languageData:{autocomplete:k.concat(h,p),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}};export{v as shell}; diff --git a/web-dist/js/chunks/shell-CjFT_Tl9.mjs.gz b/web-dist/js/chunks/shell-CjFT_Tl9.mjs.gz new file mode 100644 index 0000000000..0c917419f8 Binary files /dev/null and b/web-dist/js/chunks/shell-CjFT_Tl9.mjs.gz differ diff --git a/web-dist/js/chunks/sieve-C3Gn_uJK.mjs b/web-dist/js/chunks/sieve-C3Gn_uJK.mjs new file mode 100644 index 0000000000..06cc3a2900 --- /dev/null +++ b/web-dist/js/chunks/sieve-C3Gn_uJK.mjs @@ -0,0 +1 @@ +function l(n){for(var e={},i=n.split(" "),r=0;r2&&r.token&&typeof r.token!="string"){e.pending=[];for(var o=2;o-1)return null;var d=e.indent.length-1,u=n[e.state];n:for(;;){for(var r=0;r=@%|&?!.,:;^]/,p=/true|false|nil|self|super|thisContext/,l=function(e,n){this.next=e,this.parent=n},r=function(e,n,t){this.name=e,this.context=n,this.eos=t},c=function(){this.context=new l(h,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};c.prototype.userIndent=function(e,n){this.userIndentationDelta=e>0?e/n-this.indentation:0};var h=function(e,n,t){var i=new r(null,n,!1),a=e.next();return a==='"'?i=u(e,new l(u,n)):a==="'"?i=s(e,new l(s,n)):a==="#"?e.peek()==="'"?(e.next(),i=f(e,new l(f,n))):e.eatWhile(/[^\s.{}\[\]()]/)?i.name="string.special":i.name="meta":a==="$"?(e.next()==="<"&&(e.eatWhile(/[^\s>]/),e.next()),i.name="string.special"):a==="|"&&t.expectVariable?i.context=new l(x,n):/[\[\]{}()]/.test(a)?(i.name="bracket",i.eos=/[\[{(]/.test(a),a==="["?t.indentation++:a==="]"&&(t.indentation=Math.max(0,t.indentation-1))):o.test(a)?(e.eatWhile(o),i.name="operator",i.eos=a!==";"):/\d/.test(a)?(e.eatWhile(/[\w\d]/),i.name="number"):/[\w_]/.test(a)?(e.eatWhile(/[\w\d_]/),i.name=t.expectVariable?p.test(e.current())?"keyword":"variable":null):i.eos=t.expectVariable,i},u=function(e,n){return e.eatWhile(/[^"]/),new r("comment",e.eat('"')?n.parent:n,!0)},s=function(e,n){return e.eatWhile(/[^']/),new r("string",e.eat("'")?n.parent:n,!1)},f=function(e,n){return e.eatWhile(/[^']/),new r("string.special",e.eat("'")?n.parent:n,!1)},x=function(e,n){var t=new r(null,n,!1),i=e.next();return i==="|"?(t.context=n.parent,t.eos=!0):(e.eatWhile(/[^|]/),t.name="variable"),t};const d={name:"smalltalk",startState:function(){return new c},token:function(e,n){if(n.userIndent(e.indentation(),e.indentUnit),e.eatSpace())return null;var t=n.context.next(e,n.context,n);return n.context=t.context,n.expectVariable=t.eos,t.name},blankLine:function(e,n){e.userIndent(0,n)},indent:function(e,n,t){var i=e.context.next===h&&n&&n.charAt(0)==="]"?-1:e.userIndentationDelta;return(e.indentation+i)*t.unit},languageData:{indentOnInput:/^\s*\]$/}};export{d as smalltalk}; diff --git a/web-dist/js/chunks/smalltalk-CnHTOXQT.mjs.gz b/web-dist/js/chunks/smalltalk-CnHTOXQT.mjs.gz new file mode 100644 index 0000000000..9d9e55194a Binary files /dev/null and b/web-dist/js/chunks/smalltalk-CnHTOXQT.mjs.gz differ diff --git a/web-dist/js/chunks/solr-DehyRSwq.mjs b/web-dist/js/chunks/solr-DehyRSwq.mjs new file mode 100644 index 0000000000..4229b561f9 --- /dev/null +++ b/web-dist/js/chunks/solr-DehyRSwq.mjs @@ -0,0 +1 @@ +var u=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,f=/[\|\!\+\-\*\?\~\^\&]/,l=/^(OR|AND|NOT|TO)$/;function k(n){return parseFloat(n).toString()===n}function a(n){return function(e,r){for(var t=!1,o;(o=e.next())!=null&&!(o==n&&!t);)t=!t&&o=="\\";return t||(r.tokenize=i),"string"}}function c(n){return function(e,r){return n=="|"?e.eat(/\|/):n=="&"&&e.eat(/\&/),r.tokenize=i,"operator"}}function s(n){return function(e,r){for(var t=n;(n=e.peek())&&n.match(u)!=null;)t+=e.next();return r.tokenize=i,l.test(t)?"operator":k(t)?"number":e.peek()==":"?"propertyName":"string"}}function i(n,e){var r=n.next();return r=='"'?e.tokenize=a(r):f.test(r)?e.tokenize=c(r):u.test(r)&&(e.tokenize=s(r)),e.tokenize!=i?e.tokenize(n,e):null}const p={name:"solr",startState:function(){return{tokenize:i}},token:function(n,e){return n.eatSpace()?null:e.tokenize(n,e)}};export{p as solr}; diff --git a/web-dist/js/chunks/solr-DehyRSwq.mjs.gz b/web-dist/js/chunks/solr-DehyRSwq.mjs.gz new file mode 100644 index 0000000000..71abb7e506 Binary files /dev/null and b/web-dist/js/chunks/solr-DehyRSwq.mjs.gz differ diff --git a/web-dist/js/chunks/sparql-DkYu6x3z.mjs b/web-dist/js/chunks/sparql-DkYu6x3z.mjs new file mode 100644 index 0000000000..61ab1ecf63 --- /dev/null +++ b/web-dist/js/chunks/sparql-DkYu6x3z.mjs @@ -0,0 +1 @@ +var u;function s(n){return new RegExp("^(?:"+n.join("|")+")$","i")}var d=s(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]),F=s(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load","into"]),x=/[*+\-<>=&|\^\/!\?]/,a="[A-Za-z_\\-0-9]",h=new RegExp("[A-Za-z]"),g=new RegExp("(("+a+"|\\.)*("+a+"))?:");function p(n,e){var t=n.next();if(u=null,t=="$"||t=="?")return t=="?"&&n.match(/\s/,!1)?"operator":(n.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/),"variableName.local");if(t=="<"&&!n.match(/^[\s\u00a0=]/,!1))return n.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return e.tokenize=v(t),e.tokenize(n,e);if(/[{}\(\),\.;\[\]]/.test(t))return u=t,"bracket";if(t=="#")return n.skipToEnd(),"comment";if(x.test(t))return"operator";if(t==":")return f(n),"atom";if(t=="@")return n.eatWhile(/[a-z\d\-]/i),"meta";if(h.test(t)&&n.match(g))return f(n),"atom";n.eatWhile(/[_\w\d]/);var i=n.current();return d.test(i)?"builtin":F.test(i)?"keyword":"variable"}function f(n){n.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function v(n){return function(e,t){for(var i=!1,r;(r=e.next())!=null;){if(r==n&&!i){t.tokenize=p;break}i=!i&&r=="\\"}return"string"}}function o(n,e,t){n.context={prev:n.context,indent:n.indent,col:t,type:e}}function c(n){n.indent=n.context.indent,n.context=n.context.prev}const m={name:"sparql",startState:function(){return{tokenize:p,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!="comment"&&e.context&&e.context.align==null&&e.context.type!="pattern"&&(e.context.align=!0),u=="(")o(e,")",n.column());else if(u=="[")o(e,"]",n.column());else if(u=="{")o(e,"}",n.column());else if(/[\]\}\)]/.test(u)){for(;e.context&&e.context.type=="pattern";)c(e);e.context&&u==e.context.type&&(c(e),u=="}"&&e.context&&e.context.type=="pattern"&&c(e))}else u=="."&&e.context&&e.context.type=="pattern"?c(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?o(e,"pattern",n.column()):e.context.type=="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e,t){var i=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(i))for(;r&&r.type=="pattern";)r=r.prev;var l=r&&i==r.type;return r?r.type=="pattern"?r.col:r.align?r.col+(l?0:1):r.indent+(l?0:t.unit):0},languageData:{commentTokens:{line:"#"}}};export{m as sparql}; diff --git a/web-dist/js/chunks/sparql-DkYu6x3z.mjs.gz b/web-dist/js/chunks/sparql-DkYu6x3z.mjs.gz new file mode 100644 index 0000000000..2711613cc8 Binary files /dev/null and b/web-dist/js/chunks/sparql-DkYu6x3z.mjs.gz differ diff --git a/web-dist/js/chunks/spreadsheet-BCZA_wO0.mjs b/web-dist/js/chunks/spreadsheet-BCZA_wO0.mjs new file mode 100644 index 0000000000..c66187c9e4 --- /dev/null +++ b/web-dist/js/chunks/spreadsheet-BCZA_wO0.mjs @@ -0,0 +1 @@ +const i={name:"spreadsheet",startState:function(){return{stringType:null,stack:[]}},token:function(e,n){if(e){switch(n.stack.length===0&&(e.peek()=='"'||e.peek()=="'")&&(n.stringType=e.peek(),e.next(),n.stack.unshift("string")),n.stack[0]){case"string":for(;n.stack[0]==="string"&&!e.eol();)e.peek()===n.stringType?(e.next(),n.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;n.stack[0]==="characterClass"&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||n.stack.shift();return"operator"}var c=e.peek();switch(c){case"[":return e.next(),n.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string.special":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable":["[","]","(",")","{","}"].indexOf(c)!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}};export{i as spreadsheet}; diff --git a/web-dist/js/chunks/spreadsheet-BCZA_wO0.mjs.gz b/web-dist/js/chunks/spreadsheet-BCZA_wO0.mjs.gz new file mode 100644 index 0000000000..5fdd470887 Binary files /dev/null and b/web-dist/js/chunks/spreadsheet-BCZA_wO0.mjs.gz differ diff --git a/web-dist/js/chunks/sql-D0XecflT.mjs b/web-dist/js/chunks/sql-D0XecflT.mjs new file mode 100644 index 0000000000..c7ae761bee --- /dev/null +++ b/web-dist/js/chunks/sql-D0XecflT.mjs @@ -0,0 +1 @@ +function s(a){var c=a.client||{},h=a.atoms||{false:!0,true:!0,null:!0},p=a.builtin||e(z),S=a.keywords||e(d),_=a.operatorChars||/^[*+\-%<>!=&|~^\/]/,o=a.support||{},y=a.hooks||{},C=a.dateSQL||{date:!0,time:!0,timestamp:!0},Q=a.backslashStringEscapes!==!1,j=a.brackets||/^[\{}\(\)\[\]]/,v=a.punctuation||/^[;.,:]/;function g(t,i){var r=t.next();if(y[r]){var n=y[r](t,i);if(n!==!1)return n}if(o.hexNumber&&(r=="0"&&t.match(/^[xX][0-9a-fA-F]+/)||(r=="x"||r=="X")&&t.match(/^'[0-9a-fA-F]*'/)))return"number";if(o.binaryNumber&&((r=="b"||r=="B")&&t.match(/^'[01]+'/)||r=="0"&&t.match(/^b[01]*/)))return"number";if(r.charCodeAt(0)>47&&r.charCodeAt(0)<58)return t.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),o.decimallessFloat&&t.match(/^\.(?!\.)/),"number";if(r=="?"&&(t.eatSpace()||t.eol()||t.eat(";")))return"macroName";if(r=="'"||r=='"'&&o.doubleQuote)return i.tokenize=x(r),i.tokenize(t,i);if((o.nCharCast&&(r=="n"||r=="N")||o.charsetCast&&r=="_"&&t.match(/[a-z][a-z0-9]*/i))&&(t.peek()=="'"||t.peek()=='"'))return"keyword";if(o.escapeConstant&&(r=="e"||r=="E")&&(t.peek()=="'"||t.peek()=='"'&&o.doubleQuote))return i.tokenize=function(m,k){return(k.tokenize=x(m.next(),!0))(m,k)},"keyword";if(o.commentSlashSlash&&r=="/"&&t.eat("/"))return t.skipToEnd(),"comment";if(o.commentHash&&r=="#"||r=="-"&&t.eat("-")&&(!o.commentSpaceRequired||t.eat(" ")))return t.skipToEnd(),"comment";if(r=="/"&&t.eat("*"))return i.tokenize=b(1),i.tokenize(t,i);if(r=="."){if(o.zerolessFloat&&t.match(/^(?:\d+(?:e[+-]?\d+)?)/i))return"number";if(t.match(/^\.+/))return null;if(o.ODBCdotTable&&t.match(/^[\w\d_$#]+/))return"type"}else{if(_.test(r))return t.eatWhile(_),"operator";if(j.test(r))return"bracket";if(v.test(r))return t.eatWhile(v),"punctuation";if(r=="{"&&(t.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||t.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";t.eatWhile(/^[_\w\d]/);var l=t.current().toLowerCase();return C.hasOwnProperty(l)&&(t.match(/^( )+'[^']*'/)||t.match(/^( )+"[^"]*"/))?"number":h.hasOwnProperty(l)?"atom":p.hasOwnProperty(l)?"type":S.hasOwnProperty(l)?"keyword":c.hasOwnProperty(l)?"builtin":null}}function x(t,i){return function(r,n){for(var l=!1,m;(m=r.next())!=null;){if(m==t&&!l){n.tokenize=g;break}l=(Q||i)&&!l&&m=="\\"}return"string"}}function b(t){return function(i,r){var n=i.match(/^.*?(\/\*|\*\/)/);return n?n[1]=="/*"?r.tokenize=b(t+1):t>1?r.tokenize=b(t-1):r.tokenize=g:i.skipToEnd(),"comment"}}function w(t,i,r){i.context={prev:i.context,indent:t.indentation(),col:t.column(),type:r}}function L(t){t.indent=t.context.indent,t.context=t.context.prev}return{name:"sql",startState:function(){return{tokenize:g,context:null}},token:function(t,i){if(t.sol()&&i.context&&i.context.align==null&&(i.context.align=!1),i.tokenize==g&&t.eatSpace())return null;var r=i.tokenize(t,i);if(r=="comment")return r;i.context&&i.context.align==null&&(i.context.align=!0);var n=t.current();return n=="("?w(t,i,")"):n=="["?w(t,i,"]"):i.context&&i.context.type==n&&L(i),r},indent:function(t,i,r){var n=t.context;if(!n)return null;var l=i.charAt(0)==n.type;return n.align?n.col+(l?0:1):n.indent+(l?0:r.unit)},languageData:{commentTokens:{line:o.commentSlashSlash?"//":o.commentHash?"#":"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}}}function f(a){for(var c;(c=a.next())!=null;)if(c=="`"&&!a.eat("`"))return"string.special";return a.backUp(a.current().length-1),a.eatWhile(/\w/)?"string.special":null}function N(a){for(var c;(c=a.next())!=null;)if(c=='"'&&!a.eat('"'))return"string.special";return a.backUp(a.current().length-1),a.eatWhile(/\w/)?"string.special":null}function u(a){return a.eat("@")&&(a.match("session."),a.match("local."),a.match("global.")),a.eat("'")?(a.match(/^.*'/),"string.special"):a.eat('"')?(a.match(/^.*"/),"string.special"):a.eat("`")?(a.match(/^.*`/),"string.special"):a.match(/^[0-9a-zA-Z$\.\_]+/)?"string.special":null}function q(a){return a.eat("N")?"atom":a.match(/^[a-zA-Z.#!?]/)?"string.special":null}var d="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function e(a){for(var c={},h=a.split(" "),p=0;p!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:e("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":u}}),B=s({client:e("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:e(d+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:e("date time timestamp"),support:e("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":u,"`":f,"\\":q}}),D=s({client:e("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:e(d+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group group_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:e("date time timestamp"),support:e("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":u,"`":f,"\\":q}}),O=s({client:e("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:e(d+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:e("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:e("date time timestamp datetime"),support:e("decimallessFloat zerolessFloat"),hooks:{"@":u,":":u,"?":u,$:u,'"':N,"`":f}}),$=s({client:{},keywords:e("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:e("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:e("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:e("commentSlashSlash decimallessFloat"),hooks:{}}),E=s({client:e("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:e("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:e("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:e("date time timestamp"),support:e("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),A=s({keywords:e("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:e("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:e("date timestamp"),support:e("ODBCdotTable doubleQuote binaryNumber hexNumber")}),P=s({client:e("source"),keywords:e(d+"a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"),builtin:e("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:e("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:e("date time timestamp"),support:e("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),W=s({keywords:e("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:e("false true"),builtin:e("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),H=s({client:e("source"),keywords:e("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:e("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:e("date time timestamp"),support:e("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),R=s({keywords:e("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:e("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:e("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:e("date time timestamp"),support:e("ODBCdotTable doubleQuote zerolessFloat")}),I=s({client:e("source"),keywords:e("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:e("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:e("time"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber")});export{$ as cassandra,I as esper,H as gpSQL,W as gql,A as hive,D as mariaDB,T as msSQL,B as mySQL,P as pgSQL,E as plSQL,R as sparkSQL,s as sql,O as sqlite,F as standardSQL}; diff --git a/web-dist/js/chunks/sql-D0XecflT.mjs.gz b/web-dist/js/chunks/sql-D0XecflT.mjs.gz new file mode 100644 index 0000000000..3fe3dfad7a Binary files /dev/null and b/web-dist/js/chunks/sql-D0XecflT.mjs.gz differ diff --git a/web-dist/js/chunks/stex-C3f8Ysf7.mjs b/web-dist/js/chunks/stex-C3f8Ysf7.mjs new file mode 100644 index 0000000000..cec927db56 --- /dev/null +++ b/web-dist/js/chunks/stex-C3f8Ysf7.mjs @@ -0,0 +1 @@ +function k(b){function h(t,n){t.cmdState.push(n)}function g(t){return t.cmdState.length>0?t.cmdState[t.cmdState.length-1]:null}function p(t){var n=t.cmdState.pop();n&&n.closeBracket()}function s(t){for(var n=t.cmdState,e=n.length-1;e>=0;e--){var a=n[e];if(a.name!="DEFAULT")return a}return{styleIdentifier:function(){return null}}}function i(t,n,e){return function(){this.name=t,this.bracketNo=0,this.style=n,this.styles=e,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var r={};r.importmodule=i("importmodule","tag",["string","builtin"]),r.documentclass=i("documentclass","tag",["","atom"]),r.usepackage=i("usepackage","tag",["atom"]),r.begin=i("begin","tag",["atom"]),r.end=i("end","tag",["atom"]),r.label=i("label","tag",["atom"]),r.ref=i("ref","tag",["atom"]),r.eqref=i("eqref","tag",["atom"]),r.cite=i("cite","tag",["atom"]),r.bibitem=i("bibitem","tag",["atom"]),r.Bibitem=i("Bibitem","tag",["atom"]),r.RBibitem=i("RBibitem","tag",["atom"]),r.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function f(t,n){t.f=n}function l(t,n){var e;if(t.match(/^\\[a-zA-Z@\xc0-\u1fff\u2060-\uffff]+/)){var a=t.current().slice(1);return e=r.hasOwnProperty(a)?r[a]:r.DEFAULT,e=new e,h(n,e),f(n,d),e.style}if(t.match(/^\\[$&%#{}_]/)||t.match(/^\\[,;!\/\\]/))return"tag";if(t.match("\\["))return f(n,function(m,c){return o(m,c,"\\]")}),"keyword";if(t.match("\\("))return f(n,function(m,c){return o(m,c,"\\)")}),"keyword";if(t.match("$$"))return f(n,function(m,c){return o(m,c,"$$")}),"keyword";if(t.match("$"))return f(n,function(m,c){return o(m,c,"$")}),"keyword";var u=t.next();if(u=="%")return t.skipToEnd(),"comment";if(u=="}"||u=="]"){if(e=g(n),e)e.closeBracket(u),f(n,d);else return"error";return"bracket"}else return u=="{"||u=="["?(e=r.DEFAULT,e=new e,h(n,e),"bracket"):/\d/.test(u)?(t.eatWhile(/[\w.%]/),"atom"):(t.eatWhile(/[\w\-_]/),e=s(n),e.name=="begin"&&(e.argument=t.current()),e.styleIdentifier())}function o(t,n,e){if(t.eatSpace())return null;if(e&&t.match(e))return f(n,l),"keyword";if(t.match(/^\\[a-zA-Z@]+/))return"tag";if(t.match(/^[a-zA-Z]+/))return"variableName.special";if(t.match(/^\\[$&%#{}_]/)||t.match(/^\\[,;!\/]/)||t.match(/^[\^_&]/))return"tag";if(t.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(t.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var a=t.next();return a=="{"||a=="}"||a=="["||a=="]"||a=="("||a==")"?"bracket":a=="%"?(t.skipToEnd(),"comment"):"error"}function d(t,n){var e=t.peek(),a;return e=="{"||e=="["?(a=g(n),a.openBracket(e),t.eat(e),f(n,l),"bracket"):/[ \t\r]/.test(e)?(t.eat(e),null):(f(n,l),p(n),l(t,n))}return{name:"stex",startState:function(){var t=b?function(n,e){return o(n,e)}:l;return{cmdState:[],f:t}},copyState:function(t){return{cmdState:t.cmdState.slice(),f:t.f}},token:function(t,n){return n.f(t,n)},blankLine:function(t){t.f=l,t.cmdState.length=0},languageData:{commentTokens:{line:"%"}}}}const y=k(!1),S=k(!0);export{y as stex,S as stexMath}; diff --git a/web-dist/js/chunks/stex-C3f8Ysf7.mjs.gz b/web-dist/js/chunks/stex-C3f8Ysf7.mjs.gz new file mode 100644 index 0000000000..4e5018919a Binary files /dev/null and b/web-dist/js/chunks/stex-C3f8Ysf7.mjs.gz differ diff --git a/web-dist/js/chunks/stylus-B533Al4x.mjs b/web-dist/js/chunks/stylus-B533Al4x.mjs new file mode 100644 index 0000000000..3f4ccb7d09 --- /dev/null +++ b/web-dist/js/chunks/stylus-B533Al4x.mjs @@ -0,0 +1 @@ +var B=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],$=["domain","regexp","url-prefix","url"],R=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],I=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","dynamic-range","video-dynamic-range"],O=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],W=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],C=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],N=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],S=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","high","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","standard","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],T=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],E=["for","if","else","unless","from","to"],U=["null","true","false","href","title","type","not-allowed","readonly","disabled"],A=["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"],G=B.concat($,R,I,O,W,N,S,C,T,E,U,A);function F(i){return i=i.sort(function(e,r){return r>e}),new RegExp("^(("+i.join(")|(")+"))\\b")}function p(i){for(var e={},r=0;r]=?|\?:|\~)/,de=F(T),se=p(E),X=new RegExp(/^\-(moz|ms|o|webkit)-/i),ue=p(U),q="",c={},g,m,P,t;function fe(i,e){if(q=i.string.match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|\&|\[|\d|\+|::?|\{|\>|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),e.context.line.firstWord=q?q[0].replace(/^\s*/,""):"",e.context.line.indent=i.indentation(),g=i.peek(),i.match("//"))return i.skipToEnd(),["comment","comment"];if(i.match("/*"))return e.tokenize=K,K(i,e);if(g=='"'||g=="'")return i.next(),e.tokenize=Y(g),e.tokenize(i,e);if(g=="@")return i.next(),i.eatWhile(/[\w\\-]/),["def",i.current()];if(g=="#"){if(i.next(),i.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(i.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return i.match(X)?["meta","vendor-prefixes"]:i.match(/^-?[0-9]?\.?[0-9]/)?(i.eatWhile(/[a-z%]/i),["number","unit"]):g=="!"?(i.next(),[i.match(/^(important|optional)/i)?"keyword":"operator","important"]):g=="."&&i.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:i.match(oe)?(i.peek()=="("&&(e.tokenize=pe),["property","word"]):i.match(/^[a-z][\w-]*\(/i)?(i.backUp(1),["keyword","mixin"]):i.match(/^(\+|-)[a-z][\w-]*\(/i)?(i.backUp(1),["keyword","block-mixin"]):i.string.match(/^\s*&/)&&i.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:i.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(i.backUp(1),["variableName.special","reference"]):i.match(/^&{1}\s*$/)?["variableName.special","reference"]:i.match(de)?["operator","operator"]:i.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?i.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!b(i.current())?(i.match("."),["variable","variable-name"]):["variable","word"]:i.match(ce)?["operator",i.current()]:/[:;,{}\[\]\(\)]/.test(g)?(i.next(),[null,g]):(i.next(),[null,null])}function K(i,e){for(var r=!1,o;(o=i.next())!=null;){if(r&&o=="/"){e.tokenize=null;break}r=o=="*"}return["comment","comment"]}function Y(i){return function(e,r){for(var o=!1,l;(l=e.next())!=null;){if(l==i&&!o){i==")"&&e.backUp(1);break}o=!o&&l=="\\"}return(l==i||!o&&i!=")")&&(r.tokenize=null),["string","string"]}}function pe(i,e){return i.next(),i.match(/\s*[\"\')]/,!1)?e.tokenize=null:e.tokenize=Y(")"),[null,"("]}function Z(i,e,r,o){this.type=i,this.indent=e,this.prev=r,this.line=o||{firstWord:"",indent:0}}function n(i,e,r,o){return o=o>=0?o:e.indentUnit,i.context=new Z(r,e.indentation()+o,i.context),r}function v(i,e,r){var o=i.context.indent-e.indentUnit;return r=r||!1,i.context=i.context.prev,r&&(i.context.indent=o),i.context.type}function he(i,e,r){return c[r.context.type](i,e,r)}function _(i,e,r,o){for(var l=1;l>0;l--)r.context=r.context.prev;return he(i,e,r)}function b(i){return i.toLowerCase()in J}function x(i){return i=i.toLowerCase(),i in Q||i in le}function w(i){return i.toLowerCase()in se}function L(i){return i.toLowerCase().match(X)}function y(i){var e=i.toLowerCase(),r="variable";return b(i)?r="tag":w(i)?r="block-keyword":x(i)?r="property":e in ie||e in ue?r="atom":e=="return"||e in re?r="keyword":i.match(/^[A-Z]/)&&(r="string"),r}function V(i,e){return a(e)&&(i=="{"||i=="]"||i=="hash"||i=="qualifier")||i=="block-mixin"}function D(i,e){return i=="{"&&e.match(/^\s*\$?[\w-]+/i,!1)}function M(i,e){return i==":"&&e.match(/^[a-z-]+/,!1)}function k(i){return i.sol()||i.string.match(new RegExp("^\\s*"+H(i.current())))}function a(i){return i.eol()||i.match(/^\s*$/,!1)}function u(i){var e=/^\s*[-_]*[a-z0-9]+[\w-]*/i,r=typeof i=="string"?i.match(e):i.string.match(e);return r?r[0].replace(/^\s*/,""):""}c.block=function(i,e,r){if(i=="comment"&&k(e)||i==","&&a(e)||i=="mixin")return n(r,e,"block",0);if(D(i,e))return n(r,e,"interpolation");if(a(e)&&i=="]"&&!/^\s*(\.|#|:|\[|\*|&)/.test(e.string)&&!b(u(e)))return n(r,e,"block",0);if(V(i,e))return n(r,e,"block");if(i=="}"&&a(e))return n(r,e,"block",0);if(i=="variable-name")return e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||w(u(e))?n(r,e,"variableName"):n(r,e,"variableName",0);if(i=="=")return!a(e)&&!w(u(e))?n(r,e,"block",0):n(r,e,"block");if(i=="*"&&(a(e)||e.match(/\s*(,|\.|#|\[|:|{)/,!1)))return t="tag",n(r,e,"block");if(M(i,e))return n(r,e,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(i))return n(r,e,a(e)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(i))return n(r,e,"keyframes");if(/@extends?/.test(i))return n(r,e,"extend",0);if(i&&i.charAt(0)=="@")return e.indentation()>0&&x(e.current().slice(1))?(t="variable","block"):/(@import|@require|@charset)/.test(i)?n(r,e,"block",0):n(r,e,"block");if(i=="reference"&&a(e))return n(r,e,"block");if(i=="(")return n(r,e,"parens");if(i=="vendor-prefixes")return n(r,e,"vendorPrefixes");if(i=="word"){var o=e.current();if(t=y(o),t=="property")return k(e)?n(r,e,"block",0):(t="atom","block");if(t=="tag"){if(/embed|menu|pre|progress|sub|table/.test(o)&&x(u(e))||e.string.match(new RegExp("\\[\\s*"+o+"|"+o+"\\s*\\]")))return t="atom","block";if(j.test(o)&&(k(e)&&e.string.match(/=/)||!k(e)&&!e.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!b(u(e))))return t="variable",w(u(e))?"block":n(r,e,"block",0);if(a(e))return n(r,e,"block")}if(t=="block-keyword")return t="keyword",e.current(/(if|unless)/)&&!k(e)?"block":n(r,e,"block");if(o=="return")return n(r,e,"block",0);if(t=="variable"&&e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return n(r,e,"block")}return r.context.type};c.parens=function(i,e,r){if(i=="(")return n(r,e,"parens");if(i==")")return r.context.prev.type=="parens"?v(r,e):e.string.match(/^[a-z][\w-]*\(/i)&&a(e)||w(u(e))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(u(e))||!e.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&b(u(e))?n(r,e,"block"):e.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||e.string.match(/^\s*(\(|\)|[0-9])/)||e.string.match(/^\s+[a-z][\w-]*\(/i)||e.string.match(/^\s+[\$-]?[a-z]/i)?n(r,e,"block",0):a(e)?n(r,e,"block"):n(r,e,"block",0);if(i&&i.charAt(0)=="@"&&x(e.current().slice(1))&&(t="variable"),i=="word"){var o=e.current();t=y(o),t=="tag"&&j.test(o)&&(t="variable"),(t=="property"||o=="to")&&(t="atom")}return i=="variable-name"?n(r,e,"variableName"):M(i,e)?n(r,e,"pseudo"):r.context.type};c.vendorPrefixes=function(i,e,r){return i=="word"?(t="property",n(r,e,"block",0)):v(r,e)};c.pseudo=function(i,e,r){return x(u(e.string))?_(i,e,r):(e.match(/^[a-z-]+/),t="variableName.special",a(e)?n(r,e,"block"):v(r,e))};c.atBlock=function(i,e,r){if(i=="(")return n(r,e,"atBlock_parens");if(V(i,e))return n(r,e,"block");if(D(i,e))return n(r,e,"interpolation");if(i=="word"){var o=e.current().toLowerCase();if(/^(only|not|and|or)$/.test(o)?t="keyword":ne.hasOwnProperty(o)?t="tag":ae.hasOwnProperty(o)?t="attribute":te.hasOwnProperty(o)?t="property":ee.hasOwnProperty(o)?t="string.special":t=y(e.current()),t=="tag"&&a(e))return n(r,e,"block")}return i=="operator"&&/^(not|and|or)$/.test(e.current())&&(t="keyword"),r.context.type};c.atBlock_parens=function(i,e,r){if(i=="{"||i=="}")return r.context.type;if(i==")")return a(e)?n(r,e,"block"):n(r,e,"atBlock");if(i=="word"){var o=e.current().toLowerCase();return t=y(o),/^(max|min)/.test(o)&&(t="property"),t=="tag"&&(j.test(o)?t="variable":t="atom"),r.context.type}return c.atBlock(i,e,r)};c.keyframes=function(i,e,r){return e.indentation()=="0"&&(i=="}"&&k(e)||i=="]"||i=="hash"||i=="qualifier"||b(e.current()))?_(i,e,r):i=="{"?n(r,e,"keyframes"):i=="}"?k(e)?v(r,e,!0):n(r,e,"keyframes"):i=="unit"&&/^[0-9]+\%$/.test(e.current())?n(r,e,"keyframes"):i=="word"&&(t=y(e.current()),t=="block-keyword")?(t="keyword",n(r,e,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(i)?n(r,e,a(e)?"block":"atBlock"):i=="mixin"?n(r,e,"block",0):r.context.type};c.interpolation=function(i,e,r){return i=="{"&&v(r,e)&&n(r,e,"block"),i=="}"?e.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||e.string.match(/^\s*[a-z]/i)&&b(u(e))?n(r,e,"block"):!e.string.match(/^(\{|\s*\&)/)||e.match(/\s*[\w-]/,!1)?n(r,e,"block",0):n(r,e,"block"):i=="variable-name"?n(r,e,"variableName",0):(i=="word"&&(t=y(e.current()),t=="tag"&&(t="atom")),r.context.type)};c.extend=function(i,e,r){return i=="["||i=="="?"extend":i=="]"?v(r,e):i=="word"?(t=y(e.current()),"extend"):v(r,e)};c.variableName=function(i,e,r){return i=="string"||i=="["||i=="]"||e.current().match(/^(\.|\$)/)?(e.current().match(/^\.[\w-]+/i)&&(t="variable"),"variableName"):_(i,e,r)};const ge={name:"stylus",startState:function(){return{tokenize:null,state:"block",context:new Z("block",0,null)}},token:function(i,e){return!e.tokenize&&i.eatSpace()?null:(m=(e.tokenize||fe)(i,e),m&&typeof m=="object"&&(P=m[1],m=m[0]),t=m,e.state=c[e.state](P,i,e),t)},indent:function(i,e,r){var o=i.context,l=e&&e.charAt(0),f=o.indent,z=u(e),h=o.line.indent,d=i.context.prev?i.context.prev.line.firstWord:"",s=i.context.prev?i.context.prev.line.indent:h;return o.prev&&(l=="}"&&(o.type=="block"||o.type=="atBlock"||o.type=="keyframes")||l==")"&&(o.type=="parens"||o.type=="atBlock_parens")||l=="{"&&o.type=="at")?f=o.indent-r.unit:/(\})/.test(l)||(/@|\$|\d/.test(l)||/^\{/.test(e)||/^\s*\/(\/|\*)/.test(e)||/^\s*\/\*/.test(d)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(e)||/^(\+|-)?[a-z][\w-]*\(/i.test(e)||/^return/.test(e)||w(z)?f=h:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l)||b(z)?/\,\s*$/.test(d)?f=s:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(d)||b(d)?f=h<=s?s:s+r.unit:f=h:!/,\s*$/.test(e)&&(L(z)||x(z))&&(w(d)?f=h<=s?s:s+r.unit:/^\{/.test(d)?f=h<=s?h:s+r.unit:L(d)||x(d)?f=h>=s?s:h:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(d)||/=\s*$/.test(d)||b(d)||/^\$[\w-\.\[\]\'\"]/.test(d)?f=s+r.unit:f=h)),f},languageData:{indentOnInput:/^\s*\}$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:G}};export{ge as stylus}; diff --git a/web-dist/js/chunks/stylus-B533Al4x.mjs.gz b/web-dist/js/chunks/stylus-B533Al4x.mjs.gz new file mode 100644 index 0000000000..cd03078d67 Binary files /dev/null and b/web-dist/js/chunks/stylus-B533Al4x.mjs.gz differ diff --git a/web-dist/js/chunks/swift-BzpIVaGY.mjs b/web-dist/js/chunks/swift-BzpIVaGY.mjs new file mode 100644 index 0000000000..743846eb91 --- /dev/null +++ b/web-dist/js/chunks/swift-BzpIVaGY.mjs @@ -0,0 +1 @@ +function c(n){for(var e={},t=0;t~^?!",_=":;,.(){}[]",s=/^\-?0b[01][01_]*/,k=/^\-?0o[0-7][0-7_]*/,x=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,y=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,g=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,w=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,z=/^\#[A-Za-z]+/,b=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function f(n,e,t){if(n.sol()&&(e.indented=n.indentation()),n.eatSpace())return null;var i=n.peek();if(i=="/"){if(n.match("//"))return n.skipToEnd(),"comment";if(n.match("/*"))return e.tokenize.push(a),a(n,e)}if(n.match(z))return"builtin";if(n.match(b))return"attribute";if(n.match(s)||n.match(k)||n.match(x)||n.match(y))return"number";if(n.match(w))return"property";if(h.indexOf(i)>-1)return n.next(),"operator";if(_.indexOf(i)>-1)return n.next(),n.match(".."),"punctuation";var r;if(r=n.match(/("""|"|')/)){var o=I.bind(null,r[0]);return e.tokenize.push(o),o(n,e)}if(n.match(g)){var u=n.current();return v.hasOwnProperty(u)?"type":d.hasOwnProperty(u)?"atom":l.hasOwnProperty(u)?(p.hasOwnProperty(u)&&(e.prev="define"),"keyword"):t=="define"?"def":"variable"}return n.next(),null}function A(){var n=0;return function(e,t,i){var r=f(e,t,i);if(r=="punctuation"){if(e.current()=="(")++n;else if(e.current()==")"){if(n==0)return e.backUp(1),t.tokenize.pop(),t.tokenize[t.tokenize.length-1](e,t);--n}}return r}}function I(n,e,t){for(var i=n.length==1,r,o=!1;r=e.peek();)if(o){if(e.next(),r=="(")return t.tokenize.push(A()),"string";o=!1}else{if(e.match(n))return t.tokenize.pop(),"string";e.next(),o=r=="\\"}return i&&t.tokenize.pop(),"string"}function a(n,e){for(var t;t=n.next();)if(t==="/"&&n.eat("*"))e.tokenize.push(a);else if(t==="*"&&n.eat("/")){e.tokenize.pop();break}return"comment"}function O(n,e,t){this.prev=n,this.align=e,this.indented=t}function m(n,e){var t=e.match(/^\s*($|\/[\/\*]|[)}\]])/,!1)?null:e.column()+1;n.context=new O(n.context,t,n.indented)}function S(n){n.context&&(n.indented=n.context.indented,n.context=n.context.prev)}const C={name:"swift",startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(n,e){var t=e.prev;e.prev=null;var i=e.tokenize[e.tokenize.length-1]||f,r=i(n,e,t);if(!r||r=="comment"?e.prev=t:e.prev||(e.prev=r),r=="punctuation"){var o=/[\(\[\{]|([\]\)\}])/.exec(n.current());o&&(o[1]?S:m)(e,n)}return r},indent:function(n,e,t){var i=n.context;if(!i)return 0;var r=/^[\]\}\)]/.test(e);return i.align!=null?i.align-(r?1:0):i.indented+(r?0:t.unit)},languageData:{indentOnInput:/^\s*[\)\}\]]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}};export{C as swift}; diff --git a/web-dist/js/chunks/swift-BzpIVaGY.mjs.gz b/web-dist/js/chunks/swift-BzpIVaGY.mjs.gz new file mode 100644 index 0000000000..84c7355702 Binary files /dev/null and b/web-dist/js/chunks/swift-BzpIVaGY.mjs.gz differ diff --git a/web-dist/js/chunks/tcl-DVfN8rqt.mjs b/web-dist/js/chunks/tcl-DVfN8rqt.mjs new file mode 100644 index 0000000000..61923b42df --- /dev/null +++ b/web-dist/js/chunks/tcl-DVfN8rqt.mjs @@ -0,0 +1 @@ +function s(r){for(var n={},t=r.split(" "),e=0;e!?^\/\|]/;function i(r,n,t){return n.tokenize=t,t(r,n)}function o(r,n){var t=n.beforeParams;n.beforeParams=!1;var e=r.next();if((e=='"'||e=="'")&&n.inParams)return i(r,n,p(e));if(/[\[\]{}\(\),;\.]/.test(e))return e=="("&&t?n.inParams=!0:e==")"&&(n.inParams=!1),null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="#")return r.eat("*")?i(r,n,d):e=="#"&&r.match(/ *\[ *\[/)?i(r,n,k):(r.skipToEnd(),"comment");if(e=='"')return r.skipTo(/"/),"comment";if(e=="$")return r.eatWhile(/[$_a-z0-9A-Z\.{:]/),r.eatWhile(/}/),n.beforeParams=!0,"builtin";if(c.test(e))return r.eatWhile(c),"comment";r.eatWhile(/[\w\$_{}\xa1-\uffff]/);var a=r.current().toLowerCase();return f&&f.propertyIsEnumerable(a)?"keyword":u&&u.propertyIsEnumerable(a)?(n.beforeParams=!0,"keyword"):null}function p(r){return function(n,t){for(var e=!1,a,l=!1;(a=n.next())!=null;){if(a==r&&!e){l=!0;break}e=!e&&a=="\\"}return l&&(t.tokenize=o),"string"}}function d(r,n){for(var t=!1,e;e=r.next();){if(e=="#"&&t){n.tokenize=o;break}t=e=="*"}return"comment"}function k(r,n){for(var t=0,e;e=r.next();){if(e=="#"&&t==2){n.tokenize=o;break}e=="]"?t++:e!=" "&&(t=0)}return"meta"}const m={name:"tcl",startState:function(){return{tokenize:o,beforeParams:!1,inParams:!1}},token:function(r,n){return r.eatSpace()?null:n.tokenize(r,n)},languageData:{commentTokens:{line:"#"}}};export{m as tcl}; diff --git a/web-dist/js/chunks/tcl-DVfN8rqt.mjs.gz b/web-dist/js/chunks/tcl-DVfN8rqt.mjs.gz new file mode 100644 index 0000000000..4b69ef3dc5 Binary files /dev/null and b/web-dist/js/chunks/tcl-DVfN8rqt.mjs.gz differ diff --git a/web-dist/js/chunks/textile-CnDTJFAw.mjs b/web-dist/js/chunks/textile-CnDTJFAw.mjs new file mode 100644 index 0000000000..34a99f809c --- /dev/null +++ b/web-dist/js/chunks/textile-CnDTJFAw.mjs @@ -0,0 +1 @@ +var f={addition:"inserted",attributes:"propertyName",bold:"strong",cite:"keyword",code:"monospace",definitionList:"list",deletion:"deleted",div:"punctuation",em:"emphasis",footnote:"variable",footCite:"qualifier",header:"heading",html:"comment",image:"atom",italic:"emphasis",link:"link",linkDefinition:"link",list1:"list",list2:"list.special",list3:"list",notextile:"string.special",pre:"operator",p:"content",quote:"bracket",span:"quote",specialChar:"character",strong:"strong",sub:"content.special",sup:"content.special",table:"variableName.special",tableHeading:"operator"};function h(i,e){e.mode=r.newLayout,e.tableHeading=!1,e.layoutType==="definitionList"&&e.spanningLayout&&i.match(l("definitionListEnd"),!1)&&(e.spanningLayout=!1)}function s(i,e,n){if(n==="_")return i.eat("_")?a(i,e,"italic",/__/,2):a(i,e,"em",/_/,1);if(n==="*")return i.eat("*")?a(i,e,"bold",/\*\*/,2):a(i,e,"strong",/\*/,1);if(n==="[")return i.match(/\d+\]/)&&(e.footCite=!0),u(e);if(n==="("){var o=i.match(/^(r|tm|c)\)/);if(o)return f.specialChar}if(n==="<"&&i.match(/(\w+)[^>]+>[^<]+<\/\1>/))return f.html;if(n==="?"&&i.eat("?"))return a(i,e,"cite",/\?\?/,2);if(n==="="&&i.eat("="))return a(i,e,"notextile",/==/,2);if(n==="-"&&!i.eat("-"))return a(i,e,"deletion",/-/,1);if(n==="+")return a(i,e,"addition",/\+/,1);if(n==="~")return a(i,e,"sub",/~/,1);if(n==="^")return a(i,e,"sup",/\^/,1);if(n==="%")return a(i,e,"span",/%/,1);if(n==="@")return a(i,e,"code",/@/,1);if(n==="!"){var c=a(i,e,"image",/(?:\([^\)]+\))?!/,1);return i.match(/^:\S+/),c}return u(e)}function a(i,e,n,o,c){var d=i.pos>c?i.string.charAt(i.pos-c-1):null,p=i.peek();if(e[n]){if((!p||/\W/.test(p))&&d&&/\S/.test(d)){var y=u(e);return e[n]=!1,y}}else(!d||/\W/.test(d))&&p&&/\S/.test(p)&&i.match(new RegExp("^.*\\S"+o.source+"(?:\\W|$)"),!1)&&(e[n]=!0,e.mode=r.attributes);return u(e)}function u(i){var e=b(i);if(e)return e;var n=[];return i.layoutType&&n.push(f[i.layoutType]),n=n.concat(g(i,"addition","bold","cite","code","deletion","em","footCite","image","italic","link","span","strong","sub","sup","table","tableHeading")),i.layoutType==="header"&&n.push(f.header+"-"+i.header),n.length?n.join(" "):null}function b(i){var e=i.layoutType;switch(e){case"notextile":case"code":case"pre":return f[e];default:return i.notextile?f.notextile+(e?" "+f[e]:""):null}}function g(i){for(var e=[],n=1;n]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(i){switch(i){case"drawTable":return t.makeRe("^",t.single.drawTable,"$");case"html":return t.makeRe("^",t.single.html,"(?:",t.single.html,")*","$");case"linkDefinition":return t.makeRe("^",t.single.linkDefinition,"$");case"listLayout":return t.makeRe("^",t.single.list,l("allAttributes"),"*\\s+");case"tableCellAttributes":return t.makeRe("^",t.choiceRe(t.single.tableCellAttributes,l("allAttributes")),"+\\.");case"type":return t.makeRe("^",l("allTypes"));case"typeLayout":return t.makeRe("^",l("allTypes"),l("allAttributes"),"*\\.\\.?","(\\s+|$)");case"attributes":return t.makeRe("^",l("allAttributes"),"+");case"allTypes":return t.choiceRe(t.single.div,t.single.foot,t.single.header,t.single.bc,t.single.bq,t.single.notextile,t.single.pre,t.single.table,t.single.para);case"allAttributes":return t.choiceRe(t.attributes.selector,t.attributes.css,t.attributes.lang,t.attributes.align,t.attributes.pad);default:return t.makeRe("^",t.single[i])}},makeRe:function(){for(var i="",e=0;e=c||m<0||h&&y>=j}function _(){var a=r();if(U(a))return $(a);d=setTimeout(_,sr(a))}function $(a){return d=void 0,q&&s?O(a):(s=l=void 0,v)}function dr(){d!==void 0&&clearTimeout(d),T=0,s=g=l=d=void 0}function br(){return d===void 0?v:$(r())}function R(){var a=r(),m=U(a);if(s=arguments,l=this,g=a,m){if(d===void 0)return cr(g);if(h)return clearTimeout(d),d=setTimeout(_,c),O(g)}return d===void 0&&(d=setTimeout(_,c)),v}return R.cancel=dr,R.flush=br,R}return A=u,A}var D,or;function Rr(){if(or)return D;or=1;var e=Or(),r=M(),n="Expected a function";function i(o,b,u){var f=!0,c=!0;if(typeof o!="function")throw new TypeError(n);return r(u)&&(f="leading"in u?!!u.leading:f,c="trailing"in u?!!u.trailing:c),e(o,b,{leading:f,maxWait:b,trailing:c})}return D=i,D}var pr=Rr();const xr=lr(pr);export{Or as r,xr as t}; diff --git a/web-dist/js/chunks/throttle-5Uz_Dt2R.mjs.gz b/web-dist/js/chunks/throttle-5Uz_Dt2R.mjs.gz new file mode 100644 index 0000000000..7451a7f201 Binary files /dev/null and b/web-dist/js/chunks/throttle-5Uz_Dt2R.mjs.gz differ diff --git a/web-dist/js/chunks/tiddlywiki-DO-Gjzrf.mjs b/web-dist/js/chunks/tiddlywiki-DO-Gjzrf.mjs new file mode 100644 index 0000000000..e164f3e247 --- /dev/null +++ b/web-dist/js/chunks/tiddlywiki-DO-Gjzrf.mjs @@ -0,0 +1 @@ +var c={},l={allTags:!0,closeAll:!0,list:!0,newJournal:!0,newTiddler:!0,permaview:!0,saveChanges:!0,search:!0,slider:!0,tabs:!0,tag:!0,tagging:!0,tags:!0,tiddler:!0,timeline:!0,today:!0,version:!0,option:!0,with:!0,filter:!0},f=/[\w_\-]/i,k=/^\-\-\-\-+$/,h=/^\/\*\*\*$/,d=/^\*\*\*\/$/,a=/^<<<$/,p=/^\/\/\{\{\{$/,w=/^\/\/\}\}\}$/,b=/^$/,v=/^$/,S=/^\{\{\{$/,y=/^\}\}\}$/,$=/.*?\}\}\}/;function o(e,t,r){return t.tokenize=r,r(e,t)}function i(e,t){var r=e.sol(),n=e.peek();if(t.block=!1,r&&/[<\/\*{}\-]/.test(n)){if(e.match(S))return t.block=!0,o(e,t,u);if(e.match(a))return"quote";if(e.match(h)||e.match(d)||e.match(p)||e.match(w)||e.match(b)||e.match(v))return"comment";if(e.match(k))return"contentSeparator"}if(e.next(),r&&/[\/\*!#;:>|]/.test(n)){if(n=="!")return e.skipToEnd(),"header";if(n=="*")return e.eatWhile("*"),"comment";if(n=="#")return e.eatWhile("#"),"comment";if(n==";")return e.eatWhile(";"),"comment";if(n==":")return e.eatWhile(":"),"comment";if(n==">")return e.eatWhile(">"),"quote";if(n=="|")return"header"}if(n=="{"&&e.match("{{"))return o(e,t,u);if(/[hf]/i.test(n)&&/[ti]/i.test(e.peek())&&e.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))return"link";if(n=='"')return"string";if(n=="~"||/[\[\]]/.test(n)&&e.match(n))return"brace";if(n=="@")return e.eatWhile(f),"link";if(/\d/.test(n))return e.eatWhile(/\d/),"number";if(n=="/"){if(e.eat("%"))return o(e,t,z);if(e.eat("/"))return o(e,t,W)}if(n=="_"&&e.eat("_"))return o(e,t,x);if(n=="-"&&e.eat("-")){if(e.peek()!=" ")return o(e,t,g);if(e.peek()==" ")return"brace"}return n=="'"&&e.eat("'")?o(e,t,C):n=="<"&&e.eat("<")?o(e,t,T):(e.eatWhile(/[\w\$_]/),c.propertyIsEnumerable(e.current())?"keyword":null)}function z(e,t){for(var r=!1,n;n=e.next();){if(n=="/"&&r){t.tokenize=i;break}r=n=="%"}return"comment"}function C(e,t){for(var r=!1,n;n=e.next();){if(n=="'"&&r){t.tokenize=i;break}r=n=="'"}return"strong"}function u(e,t){var r=t.block;return r&&e.current()?"comment":!r&&e.match($)||r&&e.sol()&&e.match(y)?(t.tokenize=i,"comment"):(e.next(),"comment")}function W(e,t){for(var r=!1,n;n=e.next();){if(n=="/"&&r){t.tokenize=i;break}r=n=="/"}return"emphasis"}function x(e,t){for(var r=!1,n;n=e.next();){if(n=="_"&&r){t.tokenize=i;break}r=n=="_"}return"link"}function g(e,t){for(var r=!1,n;n=e.next();){if(n=="-"&&r){t.tokenize=i;break}r=n=="-"}return"deleted"}function T(e,t){if(e.current()=="<<")return"meta";var r=e.next();return r?r==">"&&e.peek()==">"?(e.next(),t.tokenize=i,"meta"):(e.eatWhile(/[\w\$_]/),l.propertyIsEnumerable(e.current())?"keyword":null):(t.tokenize=i,null)}const m={name:"tiddlywiki",startState:function(){return{tokenize:i}},token:function(e,t){if(e.eatSpace())return null;var r=t.tokenize(e,t);return r}};export{m as tiddlyWiki}; diff --git a/web-dist/js/chunks/tiddlywiki-DO-Gjzrf.mjs.gz b/web-dist/js/chunks/tiddlywiki-DO-Gjzrf.mjs.gz new file mode 100644 index 0000000000..88554a8b20 Binary files /dev/null and b/web-dist/js/chunks/tiddlywiki-DO-Gjzrf.mjs.gz differ diff --git a/web-dist/js/chunks/tiki-DGYXhP31.mjs b/web-dist/js/chunks/tiki-DGYXhP31.mjs new file mode 100644 index 0000000000..d1f6738230 --- /dev/null +++ b/web-dist/js/chunks/tiki-DGYXhP31.mjs @@ -0,0 +1 @@ +function c(e,t,n){return function(r,a){for(;!r.eol();){if(r.match(t)){a.tokenize=o;break}r.next()}return n&&(a.tokenize=n),e}}function f(e){return function(t,n){for(;!t.eol();)t.next();return n.tokenize=o,e}}function o(e,t){function n(p){return t.tokenize=p,p(e,t)}var r=e.sol(),a=e.next();switch(a){case"{":return e.eat("/"),e.eatSpace(),e.eatWhile(/[^\s\u00a0=\"\'\/?(}]/),t.tokenize=h,"tag";case"_":if(e.eat("_"))return n(c("strong","__",o));break;case"'":if(e.eat("'"))return n(c("em","''",o));break;case"(":if(e.eat("("))return n(c("link","))",o));break;case"[":return n(c("url","]",o));case"|":if(e.eat("|"))return n(c("comment","||"));break;case"-":if(e.eat("="))return n(c("header string","=-",o));if(e.eat("-"))return n(c("error tw-deleted","--",o));break;case"=":if(e.match("=="))return n(c("tw-underline","===",o));break;case":":if(e.eat(":"))return n(c("comment","::"));break;case"^":return n(c("tw-box","^"));case"~":if(e.match("np~"))return n(c("meta","~/np~"));break}if(r)switch(a){case"!":return e.match("!!!!!")||e.match("!!!!")||e.match("!!!")||e.match("!!"),n(f("header string"));case"*":case"#":case"+":return n(f("tw-listitem bracket"))}return null}var g,s;function h(e,t){var n=e.next(),r=e.peek();return n=="}"?(t.tokenize=o,"tag"):n=="("||n==")"?"bracket":n=="="?(s="equals",r==">"&&(e.next(),r=e.peek()),/[\'\"]/.test(r)||(t.tokenize=z()),"operator"):/[\'\"]/.test(n)?(t.tokenize=w(n),t.tokenize(e,t)):(e.eatWhile(/[^\s\u00a0=\"\'\/?]/),"keyword")}function w(e){return function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=h;break}return"string"}}function z(){return function(e,t){for(;!e.eol();){var n=e.next(),r=e.peek();if(n==" "||n==","||/[ )}]/.test(r)){t.tokenize=h;break}}return"string"}}var i,l;function k(){for(var e=arguments.length-1;e>=0;e--)i.cc.push(arguments[e])}function u(){return k.apply(null,arguments),!0}function b(e,t){var n=i.context&&i.context.noIndent;i.context={prev:i.context,pluginName:e,indent:i.indented,startOfLine:t,noIndent:n}}function x(){i.context&&(i.context=i.context.prev)}function L(e){if(e=="openPlugin")return i.pluginName=g,u(d,N(i.startOfLine));if(e=="closePlugin"){var t=!1;return i.context?(t=i.context.pluginName!=g,x()):t=!0,t&&(l="error"),u(P(t))}else return e=="string"&&((!i.context||i.context.name!="!cdata")&&b("!cdata"),i.tokenize==o&&x()),u()}function N(e){return function(t){return t=="selfclosePlugin"||t=="endPlugin"||t=="endPlugin"&&b(i.pluginName,e),u()}}function P(e){return function(t){return e&&(l="error"),t=="endPlugin"?u():k()}}function d(e){return e=="keyword"?(l="attribute",u(d)):e=="equals"?u(O,d):k()}function O(e){return e=="keyword"?(l="string",u()):e=="string"?u(v):k()}function v(e){return e=="string"?u(v):k()}const S={name:"tiki",startState:function(){return{tokenize:o,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(e,t){if(e.sol()&&(t.startOfLine=!0,t.indented=e.indentation()),e.eatSpace())return null;l=s=g=null;var n=t.tokenize(e,t);if((n||s)&&n!="comment")for(i=t;;){var r=t.cc.pop()||L;if(r(s||n))break}return t.startOfLine=!1,l||n},indent:function(e,t,n){var r=e.context;if(r&&r.noIndent)return 0;for(r&&/^{\//.test(t)&&(r=r.prev);r&&!r.startOfLine;)r=r.prev;return r?r.indent+n.unit:0}};export{S as tiki}; diff --git a/web-dist/js/chunks/tiki-DGYXhP31.mjs.gz b/web-dist/js/chunks/tiki-DGYXhP31.mjs.gz new file mode 100644 index 0000000000..ed1e0aaa0e Binary files /dev/null and b/web-dist/js/chunks/tiki-DGYXhP31.mjs.gz differ diff --git a/web-dist/js/chunks/toNumber-BQH-f3hb.mjs b/web-dist/js/chunks/toNumber-BQH-f3hb.mjs new file mode 100644 index 0000000000..9661b5067b --- /dev/null +++ b/web-dist/js/chunks/toNumber-BQH-f3hb.mjs @@ -0,0 +1 @@ +import{e6 as s,cf as i}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";var f=/\s/;function c(r){for(var t=r.length;t--&&f.test(r.charAt(t)););return t}var o=/^\s+/;function a(r){return r&&r.slice(0,c(r)+1).replace(o,"")}var n=NaN,m=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,b=/^0o[0-7]+$/i,y=parseInt;function d(r){if(typeof r=="number")return r;if(s(r))return n;if(i(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=i(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=a(r);var e=p.test(r);return e||b.test(r)?y(r.slice(2),e?2:8):m.test(r)?n:+r}export{d as t}; diff --git a/web-dist/js/chunks/toNumber-BQH-f3hb.mjs.gz b/web-dist/js/chunks/toNumber-BQH-f3hb.mjs.gz new file mode 100644 index 0000000000..6337ae1e61 Binary files /dev/null and b/web-dist/js/chunks/toNumber-BQH-f3hb.mjs.gz differ diff --git a/web-dist/js/chunks/toml-Bm5Em-hy.mjs b/web-dist/js/chunks/toml-Bm5Em-hy.mjs new file mode 100644 index 0000000000..72d38e63f8 --- /dev/null +++ b/web-dist/js/chunks/toml-Bm5Em-hy.mjs @@ -0,0 +1 @@ +const r={name:"toml",startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(n,e){let i;if(!e.inString&&(i=n.match(/^('''|"""|'|")/))&&(e.stringType=i[0],e.inString=!0),n.sol()&&!e.inString&&e.inArray===0&&(e.lhs=!0),e.inString){for(;e.inString;)if(n.match(e.stringType))e.inString=!1;else if(n.peek()==="\\")n.next(),n.next();else{if(n.eol())break;n.match(/^.[^\\\"\']*/)}return e.lhs?"property":"string"}else{if(e.inArray&&n.peek()==="]")return n.next(),e.inArray--,"bracket";if(e.lhs&&n.peek()==="["&&n.skipTo("]"))return n.next(),n.peek()==="]"&&n.next(),"atom";if(n.peek()==="#")return n.skipToEnd(),"comment";if(n.eatSpace())return null;if(e.lhs&&n.eatWhile(function(l){return l!="="&&l!=" "}))return"property";if(e.lhs&&n.peek()==="=")return n.next(),e.lhs=!1,null;if(!e.lhs&&n.match(/^\d\d\d\d[\d\-\:\.T]*Z/))return"atom";if(!e.lhs&&(n.match("true")||n.match("false")))return"atom";if(!e.lhs&&n.peek()==="[")return e.inArray++,n.next(),"bracket";if(!e.lhs&&n.match(/^\-?\d+(?:\.\d+)?/))return"number";n.eatSpace()||n.next()}return null},languageData:{commentTokens:{line:"#"}}};export{r as toml}; diff --git a/web-dist/js/chunks/toml-Bm5Em-hy.mjs.gz b/web-dist/js/chunks/toml-Bm5Em-hy.mjs.gz new file mode 100644 index 0000000000..3909849cb0 Binary files /dev/null and b/web-dist/js/chunks/toml-Bm5Em-hy.mjs.gz differ diff --git a/web-dist/js/chunks/translations-BpcCzEJn.mjs b/web-dist/js/chunks/translations-BpcCzEJn.mjs new file mode 100644 index 0000000000..0762cedaad --- /dev/null +++ b/web-dist/js/chunks/translations-BpcCzEJn.mjs @@ -0,0 +1 @@ +const e={},o={Search:"بحث",Activity:"النشاط",Flags:"أعلام","Food & Drink":"الطعام والشراب","Animals & Nature":"الحيوانات والطبيعة",Copy:"نسخ",Close:"إغلاق",Cancel:"إلغاء",Details:"تفاصيل"},a={Breadcrumbs:"Brotkrumennavigation","Navigate one level up":"Eine Ebene höher navigieren","Show actions for current folder":"Aktionen für den aktuellen Ordner anzeigen","Show more information":"Mehr Informationen anzeigen","Clear date":"Lösche das Datum","The date must be after %{date}":"Das Datum muss nach dem %{date} sein","Open the parent context menu":"Übergeordnetes Kontextmenü öffnen","Close the context menu":"Kontextmenü schließen",Search:"Suchen","Oh no!":"Oh nein!","That emoji couldn’t be found":"Das Emoji konnte nicht gefunden werden","Pick an emoji…":"Wähle ein Emoji…","Add custom emoji":"Füge ein benutzerdefiniertes Emoji hinzu",Activity:"Aktivität",Custom:"Benutzerdefiniert",Flags:"Flaggen","Food & Drink":"Essen & Trinken","Frequently used":"Oft genutzt","Animals & Nature":"Tiere & Natur",Objects:"Objekte","Smileys & People":"Smileys & Personen","Travel & Places":"Reisen & Orte","Search Results":"Suchergebnisse",Symbols:"Symbole","Choose default skin tone":"Wähle eine Standard-Hautfarbe",Default:"Standard",Light:"Hell","Medium-Light":"Mittelhell",Medium:"Mittel","Medium-Dark":"Mitteldunkel",Dark:"Dunkel",Copied:"Kopiert",Copy:"Kopieren","Copy the following information and pass them to technical support to troubleshoot the problem:":"Bitte folgende Information kopieren und an den technischen Support weiterleiten, damit das Problem gelöst werden kann.","Select file":["Datei auswählen","Dateien auswählen"],"Clear input":"Eingabe löschen","Clear filter":"Filter löschen","Open actions menu":"Aktionsmenü öffnen",Close:"Schließen","Read more":"Mehr anzeigen",Confirm:"Bestätigen",Cancel:"Abbrechen",Details:"Details",Pagination:"Paginierung","Go to the previous page":"Zur vorherigen Seite springen","Go to the next page":"Zur nächsten Seite springen","Go to page %{ page }":"Zu Seite %{ page } springen","No options available.":"Keine Optionen vorhanden.","Deselect %{label}":"%{label} abwählen","Sort by %{ name }":"Nach %{ name } sortieren","Hide password":"Passwort verbergen","Show password":"Passwort anzeigen","Copy password":"Passwort kopieren","Generate password":"Passwort generieren","Password policy":"Passwort-Richtlinie"},t={Breadcrumbs:"Breadcrumbs","Navigate one level up":"Μετάβαση ένα επίπεδο πάνω","Show actions for current folder":"Εμφάνιση ενεργειών για τον τρέχοντα φάκελο","Show more information":"Εμφάνιση περισσότερων πληροφοριών","Clear date":"Εκκαθάριση ημερομηνίας","The date must be after %{date}":"Η ημερομηνία πρέπει να είναι μετά από τις %{date}","Open the parent context menu":"Άνοιγμα του γονικού μενού επιλογών","Close the context menu":"Κλείσιμο του μενού επιλογών",Search:"Αναζήτηση","Oh no!":"Ωχ, όχι!","That emoji couldn’t be found":"Αυτό το emoji δεν βρέθηκε","Pick an emoji…":"Επιλέξτε ένα emoji…","Add custom emoji":"Προσθήκη προσαρμοσμένου emoji",Activity:"Δραστηριότητα",Custom:"Προσαρμοσμένο",Flags:"Σημαίες","Food & Drink":"Φαγητό & Ποτό","Frequently used":"Συχνή χρήση","Animals & Nature":"Ζώα & Φύση",Objects:"Αντικείμενα","Smileys & People":"Φατσούλες & Άνθρωποι","Travel & Places":"Ταξίδια & Τοποθεσίες","Search Results":"Αποτελέσματα αναζήτησης",Symbols:"Σύμβολα","Choose default skin tone":"Επιλέξτε προεπιλεγμένο τόνο δέρματος",Default:"Προεπιλογή",Light:"Ανοιχτό","Medium-Light":"Μεσαίο-Ανοιχτό",Medium:"Μεσαίο","Medium-Dark":"Μεσαίο-Σκούρο",Dark:"Σκούρο",Copied:"Αντιγράφηκε",Copy:"Αντιγραφή","Copy the following information and pass them to technical support to troubleshoot the problem:":"Αντιγράψτε τις ακόλουθες πληροφορίες και δώστε τις στην τεχνική υποστήριξη για την επίλυση του προβλήματος:","Select file":["Επιλογή αρχείου","Επιλογή αρχείων"],"Clear input":"Εκκαθάριση πεδίου","Clear filter":"Εκκαθάριση φίλτρου","Open actions menu":"Άνοιγμα μενού ενεργειών",Close:"Κλείσιμο","Read more":"Διαβάστε περισσότερα",Confirm:"Επιβεβαίωση",Cancel:"Ακύρωση",Details:"Λεπτομέρειες",Pagination:"Σελιδοποίηση","Go to the previous page":"Μετάβαση στην προηγούμενη σελίδα","Go to the next page":"Μετάβαση στην επόμενη σελίδα","Go to page %{ page }":"Μετάβαση στη σελίδα %{ page }","No options available.":"Δεν υπάρχουν διαθέσιμες επιλογές.","Deselect %{label}":"Αποεπιλογή %{label}","Sort by %{ name }":"Ταξινόμηση κατά %{ name }","Hide password":"Απόκρυψη συνθηματικού","Show password":"Εμφάνιση συνθηματικού","Copy password":"Αντιγραφή συνθηματικού","Generate password":"Δημιουργία συνθηματικού","Password policy":"Πολιτική συνθηματικού"},i={},n={Breadcrumbs:"Drobečkové navigace",Search:"Hledat",Activity:"Aktivita",Custom:"Uživatelsky určené",Flags:"Příznaky",Objects:"Objekty",Symbols:"Symboly",Default:"Výchozí",Light:"Světlý","Medium-Light":"Středně světlý",Medium:"Střední","Medium-Dark":"Středně tmavý",Dark:"Tmavý",Copied:"Zkopírováno",Copy:"Zkopírovat",Close:"Zavřít","Read more":"Čti dál",Confirm:"Potvrdit",Cancel:"Zrušit",Details:"Podrobnosti",Pagination:"Stránkování","Deselect %{label}":"Zrušit výběr %{label}"},r={},s={"Show actions for current folder":"Mostrar acciones para la carpeta actual","Open the parent context menu":"Abrir el menú contextual principal",Search:"Buscar",Copy:"Copiar",Cancel:"Cancelar",Details:"Detalles","Deselect %{label}":"Deseleccionar %{label}","Copy password":"Copiar contraseña"},l={},d={Breadcrumbs:"Miette","Navigate one level up":"Naviguez d'un niveau vers le haut","Show actions for current folder":"Afficher les actions pour le dossier actuel","Show more information":"Afficher plus d'informations","Clear date":"Effacer la date","The date must be after %{date}":"La date doit être postérieure à %{date}","Open the parent context menu":"Ouvrez le menu contextuel parent","Close the context menu":"Fermer le menu contextuel",Search:"Recherche","Oh no!":"Oh non !","That emoji couldn’t be found":"Cet emoji est introuvable","Pick an emoji…":"Choisissez un emoji...","Add custom emoji":"Ajouter un emoji personnalisé",Activity:"Activité",Custom:"Personnalisé",Flags:"Drapeaux","Food & Drink":"Alimentation & boissons","Frequently used":"Fréquemment utilisé","Animals & Nature":"Animaux & Nature",Objects:"Objets","Smileys & People":"Smileys & personnes","Travel & Places":"Voyages & lieux","Search Results":"Résultats de la recherche",Symbols:"Symboles","Choose default skin tone":"Choisir le teint par défaut",Default:"Défaut",Light:"Clair","Medium-Light":"Moyen clair",Medium:"Moyen","Medium-Dark":"Moyen sombre",Dark:"Sombre",Copied:"Copié",Copy:"Copier","Copy the following information and pass them to technical support to troubleshoot the problem:":"Copiez les informations suivantes et transmettez-les à l'assistance technique pour résoudre le problème :","Select file":["Sélectionner le fichier","Sélectionner les fichiers","Sélectionner les fichiers"],"Clear input":"Effacer l'entrée","Clear filter":"Effacer le filtre",Close:"Fermer","Read more":"En savoir plus",Confirm:"Confirmer",Cancel:"Annuler",Details:"Détails",Pagination:"Pagination","Go to the previous page":"Aller à la page précédente","Go to the next page":"Aller à la page suivante","Go to page %{ page }":"Aller à la page %{ page }","No options available.":"Aucune option disponible.","Deselect %{label}":"Désélectionner %{label}","Sort by %{ name }":"Trier par %{ name }","Hide password":"Masquer le mot de passe","Show password":"Afficher le mot de passe","Copy password":"Copier le mot de passe","Generate password":"Générer un mot de passe","Password policy":"Politique des mots de passe"},p={},u={},m={Activity:"Aktivitas"},c={Breadcrumbs:"Breadcrumbs","Navigate one level up":"Passare al livello superiore","Show actions for current folder":"Mostra azioni per la cartella corrente","Show more information":"Mostra più informazioni","Clear date":"Pulisci data","The date must be after %{date}":"La data deve essere successiva a %{date}","Open the parent context menu":"Apri il menu contestuale principale","Close the context menu":"Chiudere il menu contestuale",Search:"Cerca","Oh no!":"Oh no!","That emoji couldn’t be found":"Non è stato possibile trovare quell'emoji","Pick an emoji…":"Scegli un emoji...","Add custom emoji":"Aggiungi emoji personalizzata",Activity:"Attività",Custom:"Personalizzato",Flags:"Flags","Food & Drink":"Cibo & Bevande","Frequently used":"Usato frequentemente","Animals & Nature":"Natura & Animali",Objects:"Oggetti","Smileys & People":"Faccine e persone","Travel & Places":"Viaggi e luoghi","Search Results":"Risultati della ricerca",Symbols:"Simboli","Choose default skin tone":"Scegli il tono predefinito",Default:"Predefinito",Light:"Chiaro","Medium-Light":"Medio-Chiaro",Medium:"Medio","Medium-Dark":"Medio-Scuro",Dark:"Scuro",Copied:"Copiato",Copy:"Copia","Copy the following information and pass them to technical support to troubleshoot the problem:":"Copia le seguenti informazioni e inviale al supporto tecnico per risolvere il problema:","Select file":["Seleziona il file","Seleziona i file","Seleziona i file"],"Clear input":"Pulisci input","Clear filter":"Pulisci filtro","Open actions menu":"Apri il menu delle azioni",Close:"Chiudi","Read more":"Leggi di più",Confirm:"Conferma",Cancel:"Cancella",Details:"Dettagli",Pagination:"Paginazione","Go to the previous page":"Vai alla pagina precedente","Go to the next page":"Vai alla pagina successiva","Go to page %{ page }":"Vai alla pagina %{ page }","No options available.":"Nessuna opzione disponibile.","Deselect %{label}":"Deseleziona %{label}","Sort by %{ name }":"Ordina per %{ nome }","Hide password":"Nascondi password","Show password":"Mostra password","Copy password":"Copia password","Generate password":"Genera password","Password policy":"Politica sulla password"},h={Copy:"העתק",Close:"סגור",Confirm:"אשרה",Cancel:"ביטול",Details:"תיאור"},g={Breadcrumbs:"パンくずリスト","Navigate one level up":"1階層上へ移動","Show actions for current folder":"現在のフォルダのアクションを表示","Show more information":"詳細情報を表示","Clear date":"日付をクリア","The date must be after %{date}":"日付は %{date} 以降である必要があります","Open the parent context menu":"親コンテキストメニューを開く","Close the context menu":"コンテキストメニューを閉じる",Search:"検索","Oh no!":"おっと!","That emoji couldn’t be found":"その絵文字は見つかりませんでした","Pick an emoji…":"絵文字を選択…","Add custom emoji":"カスタム絵文字を追加",Activity:"アクティビティ",Custom:"カスタム",Flags:"フラグ","Food & Drink":"フードとドリンク","Frequently used":"よく使う項目","Animals & Nature":"動物と自然",Objects:"オブジェクト","Smileys & People":"スマイリーと人々","Travel & Places":"旅行と場所","Search Results":"検索結果",Symbols:"シンボル","Choose default skin tone":"デフォルトの肌のトーンを選択",Default:"デフォルト",Light:"ライト","Medium-Light":"ミディアム ライト",Medium:"ミディアム","Medium-Dark":"ミディアム ダーク",Dark:"ダーク",Copied:"コピーしました",Copy:"コピー","Copy the following information and pass them to technical support to troubleshoot the problem:":"以下の情報をコピーし、問題解決のためにテクニカルサポートへお伝えください:","Select file":"ファイルを選択","Clear input":"入力をクリア","Clear filter":"フィルターをクリア","Open actions menu":"アクションメニューを開く",Close:"閉じる","Read more":"続きを読む",Confirm:"確認",Cancel:"キャンセル",Details:"詳細",Pagination:"ページネーション","Go to the previous page":"前のページへ","Go to the next page":"次のページへ","Go to page %{ page }":"%{ page } ページへ移動","No options available.":"選択肢がありません","Deselect %{label}":"%{label} の選択を解除","Sort by %{ name }":"%{ name } で並べ替え","Hide password":"パスワードを非表示","Show password":"パスワードを表示","Copy password":"パスワードをコピー","Generate password":"パスワードを生成","Password policy":"パスワードポリシー"},f={Breadcrumbs:"Breadcrumbs","Navigate one level up":"Ga een niveau omhoog","Show actions for current folder":"Acties voor de huidige map weergeven","Show more information":"Meer informatie weergeven","Clear date":"Datum wissen","The date must be after %{date}":"De datum moet later zijn dan %{date}","Open the parent context menu":"Het bovenliggende contextmenu openen","Close the context menu":"Het contextmenu sluiten",Search:"Zoeken","Oh no!":"O nee!","That emoji couldn’t be found":"Kan die emoji niet vinden","Pick an emoji…":"Kies een emoji...","Add custom emoji":"Custom emoji toevoegen",Activity:"Activiteit",Custom:"Aangepast",Flags:"Vlaggen","Food & Drink":"Eten & drinken","Frequently used":"Vaak gebruikt","Animals & Nature":"Dieren & natuur",Objects:"Objecten","Smileys & People":"Smileys & mensen","Travel & Places":"Reizen & plaatsen","Search Results":"Zoekresultaten",Symbols:"Symbolen","Choose default skin tone":"Kies de standaard huidskleur",Default:"Standaard",Light:"Licht","Medium-Light":"Halflicht",Medium:"Gemiddeld","Medium-Dark":"Halfdonker",Dark:"Donker",Copied:"Gekopieerd",Copy:"Kopiëren","Copy the following information and pass them to technical support to troubleshoot the problem:":"Kopieer de volgende informatie en geef deze door aan de technische ondersteuning om het probleem op te lossen:","Select file":["Bestand selecteren","Bestanden selecteren"],"Clear input":"Invoer wissen","Clear filter":"Filter wissen","Open actions menu":"Het menu acties openen",Close:"Sluiten","Read more":"Verder lezen",Confirm:"Bevestigen",Cancel:"Annuleren",Details:"Details",Pagination:"Paginering","Go to the previous page":"Ga naar de vorige pagina","Go to the next page":"Ga naar de volgende pagina","Go to page %{ page }":"Ga naar pagina %{ page }","No options available.":"Geen opties beschikbaar","Deselect %{label}":"Selectie %{label} opheffen","Sort by %{ name }":"Sorteren op %{ name }","Hide password":"Wachtwoord verbergen","Show password":"Wachtwoord weergeven","Copy password":"Wachtwoord kopiëren","Generate password":"Wachtwoord genereren","Password policy":"Wachtwoordbeleid"},C={"Show more information":"Pokaż więcej informacji","Clear date":"Wyczyść datę",Search:"Szukaj","Pick an emoji…":"Wybierz emoji...",Activity:"Aktywność",Flags:"Flagi","Food & Drink":"Jedzenie i picie","Animals & Nature":"Zwierzęta & Natura",Objects:"Obiekty","Travel & Places":"Podróż i miejsca","Search Results":"Wyniki Wyszukiwania",Symbols:"Symbole",Copy:"Kopiuj","Clear filter":"Wyczyść filtr",Close:"Zamknij","Read more":"Czytaj więcej",Confirm:"Potwierdź",Cancel:"Anuluj",Details:"Szczegóły",Pagination:"Stronicowanie","Go to the previous page":"Idź do poprzedniej strony","Go to the next page":"Idź do następnej strony","Go to page %{ page }":"Idź do strony %{ page }","Hide password":"Ukryj hasło","Show password":"Pokaż hasło","Copy password":"Kopiuj hasło","Generate password":"Generuj hasło","Password policy":"Polityka hasła"},b={Breadcrumbs:"Caminho de navegação","Navigate one level up":"Subir um nível","Show actions for current folder":"Mostrar ações para a pasta atual","Show more information":"Mostrar mais informação","Clear date":"Limpar data","The date must be after %{date}":"A data deve ser posterior a %{date}","Open the parent context menu":"Abrir o menu de contexto superior","Close the context menu":"Fechar o menu de contexto",Search:"Pesquisar","Oh no!":"Oh não!","That emoji couldn’t be found":"Esse emoji não foi encontrado","Pick an emoji…":"Escolher um emoji…","Add custom emoji":"Adicionar emoji personalizado",Activity:"Atividade",Custom:"Personalizado",Flags:"Bandeiras","Food & Drink":"Comida e bebida","Frequently used":"Usados frequentemente","Animals & Nature":"Animais e natureza",Objects:"Objetos","Smileys & People":"Smileys e pessoas","Travel & Places":"Viagens e locais","Search Results":"Resultados da pesquisa",Symbols:"Símbolos","Choose default skin tone":"Escolher tom de pele predefinido",Default:"Predefinido",Light:"Claro","Medium-Light":"Médio-claro",Medium:"Médio","Medium-Dark":"Médio-escuro",Dark:"Escuro",Copied:"Copiado",Copy:"Copiar","Copy the following information and pass them to technical support to troubleshoot the problem:":"Copie a seguinte informação e envie-a ao suporte técnico para ajudar a diagnosticar o problema:","Select file":["Selecionar ficheiro","Selecionar ficheiros","Selecionar ficheiros"],"Clear input":"Limpar campo","Clear filter":"Limpar filtro",Close:"Fechar","Read more":"Ler mais",Confirm:"Confirmar",Cancel:"Cancelar",Details:"Detalhes",Pagination:"Paginação","Go to the previous page":"Ir para a página anterior","Go to the next page":"Ir para a página seguinte","Go to page %{ page }":"Ir para a página %{ page }","No options available.":"Nenhuma opção disponível.","Deselect %{label}":"Desselecionar %{label}","Sort by %{ name }":"Ordenar por %{ name }","Hide password":"Ocultar palavra-passe","Show password":"Mostrar palavra-passe","Copy password":"Copiar palavra-passe","Generate password":"Gerar palavra-passe","Password policy":"Política de palavras-passe"},S={},y={Breadcrumbs:"빵가루","Navigate one level up":"한 단계 위로 이동","Show actions for current folder":"현재 폴더에 대한 작업 표시","Show more information":"더 많은 정보 보기","Clear date":"맑은 날","The date must be after %{date}":"날짜는 %{date} 이후여야 합니다","Open the parent context menu":"부모 컨텍스트 메뉴 열기","Close the context menu":"컨텍스트 메뉴를 닫습니다",Search:"조회","Oh no!":"저런!","That emoji couldn’t be found":"그 이모티콘을 찾을 수 없습니다","Pick an emoji…":"이모티콘 선택하기...","Add custom emoji":"사용자 지정 이모티콘 추가",Activity:"활동",Custom:"커스텀",Flags:"깃발","Food & Drink":"음식 & 음료","Frequently used":"자주 사용됨","Animals & Nature":"동물과 자연",Objects:"대상들","Smileys & People":"스마일리스 & 사람","Travel & Places":"여행 & 장소","Search Results":"검색 결과",Symbols:"심벌","Choose default skin tone":"기본 피부 톤 선택",Default:"기본",Light:"밝은","Medium-Light":"중간-밝은",Medium:"중간","Medium-Dark":"중간-어두운",Dark:"어두운",Copied:"복사됨",Copy:"복사","Copy the following information and pass them to technical support to troubleshoot the problem:":"다음 정보를 복사하여 기술 지원팀에 전달하여 문제를 해결하세요:","Select file":"파일 선택","Clear filter":"필터 지우기",Close:"닫기","Read more":"더 읽기",Confirm:"확인",Cancel:"취소",Details:"세부 사항",Pagination:"페이지 수","Go to the previous page":"이전 페이지로 이동","Go to the next page":"다음 페이지로 이동","Go to page %{ page }":"페이지 %{ page }로 이동","No options available.":"선택지가 없습니다.","Deselect %{label}":"%{label} 선택 취소","Sort by %{ name }":"%{ name }으로 정렬","Hide password":"비밀번호 숨기기","Show password":"비밀번호 표시","Copy password":"비밀번호 복사","Generate password":"비밀번호 생성","Password policy":"비밀번호 정책"},v={},w={Breadcrumbs:"Breadcrumbs","Navigate one level up":"Перейти на один уровень выше","Show actions for current folder":"Показать действия для текущей папки","Show more information":"Показать дополнительную информацию","Clear date":"Очистить дату","The date must be after %{date}":"Дата должна быть после %{date}","Open the parent context menu":"Открыть родительское контекстное меню","Close the context menu":"Закрыть контекстное меню",Search:"Посик","Oh no!":"О нет!","That emoji couldn’t be found":"Не удалось найти эмодзи","Pick an emoji…":"Выберите эмодзи...","Add custom emoji":"Добавить пользовательский эмодзи",Activity:"Активность",Custom:"Пользовательские",Flags:"Флаги","Food & Drink":"Еда & Напитки","Frequently used":"Частно используемые","Animals & Nature":"Животные & Природа",Objects:"Объекты","Smileys & People":"Смайлы & Люди","Travel & Places":"Путешествия & Места","Search Results":"Результаты Поиска",Symbols:"Символы","Choose default skin tone":"Выбрать стандартный цвет",Default:"Стандартные",Light:"Светлые","Medium-Light":"Средне-Светлые",Medium:"Средние","Medium-Dark":"Средне-Темные",Dark:"Темные",Copied:"Скопировано",Copy:"Скопировать","Copy the following information and pass them to technical support to troubleshoot the problem:":"Скопируйте следующую информацию и передайте ее в службу технической поддержки для устранения неполадки:","Select file":["Выберите файл","Выберите файлы","Выберите файлы","Выберите файлы"],"Clear input":"Очистить ввод","Clear filter":"Очистить фильтр",Close:"Закрыть","Read more":"Подробнее",Confirm:"Подтвердить",Cancel:"Отмена",Details:"Детали",Pagination:"Пагинация","Go to the previous page":"Перейти на предыдущую страницу","Go to the next page":"Перейти на следующую страницу","Go to page %{ page }":"Перейти на страницу %{ page }","No options available.":"Нет доступных опций.","Deselect %{label}":"Отменить выбор %{label}","Sort by %{ name }":"Сортировать по %{ name }","Hide password":"Скрыть пароль","Show password":"Показать пароль","Copy password":"Скопировать пароль","Generate password":"Сгенерировать пароль","Password policy":"Политика использования паролей"},k={Search:"Hľadať","Read more":"Čítať viac"},D={Breadcrumbs:"Brödsmulor","Navigate one level up":"Navigera en nivå upp","Show actions for current folder":"Visa åtgärder för aktuell mapp","Show more information":"Visa mer information","Clear date":"Rensa datum","The date must be after %{date}":"Datumet måste vara efter %{date}","Open the parent context menu":"Öppna överordnat snabbmeny","Close the context menu":"Stäng snabbmenyn",Search:"Sök","Oh no!":"Åh, nej!","That emoji couldn’t be found":"Den emojin kunde inte hittas","Pick an emoji…":"Välj en emoji…","Add custom emoji":"Lägg till anpassade emoji",Activity:"Aktivitet",Custom:"Anpassad",Flags:"Flaggor","Food & Drink":"Mat & dryck","Frequently used":"Ofta använt","Animals & Nature":"Djur & natur",Objects:"Objekt","Smileys & People":"Smileys & Människor","Travel & Places":"Resor & platser","Search Results":"Sökresultat",Symbols:"Symboler","Choose default skin tone":"Välj standard hudton",Default:"Standard",Light:"Ljus","Medium-Light":"Medium-Ljus",Medium:"Medium","Medium-Dark":"Medium-mörk",Dark:"Mörk",Copied:"Kopierad",Copy:"Kopiera","Copy the following information and pass them to technical support to troubleshoot the problem:":"Kopiera följande information och vidarebefordra den till teknisk support för att felsöka problemet:","Select file":["Välj fil","Välj filer"],"Clear input":"Tydlig inmatning","Clear filter":"Rensa filter",Close:"Stäng","Read more":"Läs mer",Confirm:"Bekräfta",Cancel:"Avbryt",Details:"Detaljer",Pagination:"Sidindelning","Go to the previous page":"Gå till föregående sida","Go to the next page":"Gå till nästa sida","Go to page %{ page }":"Gå till sidan %{ page }","No options available.":"Inga alternativ tillgängliga.","Deselect %{label}":"Avmarkera %{label}","Sort by %{ name }":"Sortera efter %{ namn }","Hide password":"Dölj lösenord","Show password":"Visa lösenord","Copy password":"Kopiera lösenord","Generate password":"Generera Lösenord","Password policy":"Lösenordspolicy"},j={},P={},A={},M={},G={},O={},F={Breadcrumbs:"面包屑导航","Navigate one level up":"向上一级导航","Show actions for current folder":"显示当前文件夹的操作","Show more information":"显示更多信息","Clear date":"清除日期","The date must be after %{date}":"日期必须在%{date}之后",Search:"搜索","Oh no!":"糟糕!","That emoji couldn’t be found":"找不到该表情","Pick an emoji…":"选择一个表情…","Add custom emoji":"添加自定义表情",Activity:"活动",Custom:"自定义",Flags:"旗帜","Food & Drink":"食物与饮品","Frequently used":"常用","Animals & Nature":"动物与自然",Objects:"物品","Smileys & People":"笑脸与人物","Travel & Places":"旅行与地点","Search Results":"搜索结果",Symbols:"符号","Choose default skin tone":"选择默认肤色",Default:"默认",Light:"浅色","Medium-Light":"中等浅色",Medium:"中等","Medium-Dark":"中等深色",Dark:"深色",Copied:"已复制",Copy:"复制","Copy the following information and pass them to technical support to troubleshoot the problem:":"复制以下信息并提交给技术支持以排查问题:","Select file":"选择文件","Clear input":"清除输入","Clear filter":"清除筛选条件",Close:"关闭","Read more":"了解更多",Confirm:"确认",Cancel:"取消",Details:"详细信息",Pagination:"分页","Go to the previous page":"转到上一页","Go to the next page":"转到下一页","Go to page %{ page }":"转到第%{page}页","No options available.":"无可用选项","Deselect %{label}":"取消选择%{label}","Sort by %{ name }":"按%{name}排序","Hide password":"隐藏密码","Show password":"显示密码","Copy password":"复制密码","Generate password":"生成密码","Password policy":"密码策略"},z={Search:"Пошук",Details:"Деталі"},x={af:e,ar:o,de:a,el:t,bg:i,cs:n,bs:r,es:s,et:l,fr:d,gl:p,hr:u,id:m,it:c,he:h,ja:g,nl:f,pl:C,pt:b,ka:S,ko:y,ro:v,ru:w,sk:k,sv:D,tr:j,sq:P,sr:A,si:M,ta:G,ug:O,zh:F,uk:z};export{x as t}; diff --git a/web-dist/js/chunks/translations-BpcCzEJn.mjs.gz b/web-dist/js/chunks/translations-BpcCzEJn.mjs.gz new file mode 100644 index 0000000000..d18ac45c5c Binary files /dev/null and b/web-dist/js/chunks/translations-BpcCzEJn.mjs.gz differ diff --git a/web-dist/js/chunks/troff-wAsdV37c.mjs b/web-dist/js/chunks/troff-wAsdV37c.mjs new file mode 100644 index 0000000000..bc38dc756d --- /dev/null +++ b/web-dist/js/chunks/troff-wAsdV37c.mjs @@ -0,0 +1 @@ +var h={};function u(n){if(n.eatSpace())return null;var t=n.sol(),c=n.next();if(c==="\\")return n.match("fB")||n.match("fR")||n.match("fI")||n.match("u")||n.match("d")||n.match("%")||n.match("&")?"string":n.match("m[")?(n.skipTo("]"),n.next(),"string"):n.match("s+")||n.match("s-")?(n.eatWhile(/[\d-]/),"string"):((n.match("(")||n.match("*("))&&n.eatWhile(/[\w-]/),"string");if(t&&(c==="."||c==="'")&&n.eat("\\")&&n.eat('"'))return n.skipToEnd(),"comment";if(t&&c==="."){if(n.match("B ")||n.match("I ")||n.match("R "))return"attribute";if(n.match("TH ")||n.match("SH ")||n.match("SS ")||n.match("HP "))return n.skipToEnd(),"quote";if(n.match(/[A-Z]/)&&n.match(/[A-Z]/)||n.match(/[a-z]/)&&n.match(/[a-z]/))return"attribute"}n.eatWhile(/[\w-]/);var i=n.current();return h.hasOwnProperty(i)?h[i]:null}function f(n,t){return(t.tokens[0]||u)(n,t)}const o={name:"troff",startState:function(){return{tokens:[]}},token:function(n,t){return f(n,t)}};export{o as troff}; diff --git a/web-dist/js/chunks/troff-wAsdV37c.mjs.gz b/web-dist/js/chunks/troff-wAsdV37c.mjs.gz new file mode 100644 index 0000000000..3927e7544e Binary files /dev/null and b/web-dist/js/chunks/troff-wAsdV37c.mjs.gz differ diff --git a/web-dist/js/chunks/ttcn-CfJYG6tj.mjs b/web-dist/js/chunks/ttcn-CfJYG6tj.mjs new file mode 100644 index 0000000000..671ae05134 --- /dev/null +++ b/web-dist/js/chunks/ttcn-CfJYG6tj.mjs @@ -0,0 +1 @@ +function o(e){for(var t={},n=e.split(" "),r=0;r!\/]/,l;function T(e,t){var n=e.next();if(n=='"'||n=="'")return t.tokenize=N(n),t.tokenize(e,t);if(/[\[\]{}\(\),;\\:\?\.]/.test(n))return l=n,"punctuation";if(n=="#")return e.skipToEnd(),"atom";if(n=="%")return e.eatWhile(/\b/),"atom";if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if(n=="/"){if(e.eat("*"))return t.tokenize=m,m(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(d.test(n))return n=="@"&&(e.match("try")||e.match("catch")||e.match("lazy"))?"keyword":(e.eatWhile(d),"operator");e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current();return y.propertyIsEnumerable(r)?"keyword":v.propertyIsEnumerable(r)?"builtin":x.propertyIsEnumerable(r)||k.propertyIsEnumerable(r)||O.propertyIsEnumerable(r)||g.propertyIsEnumerable(r)||w.propertyIsEnumerable(r)||E.propertyIsEnumerable(r)?"def":C.propertyIsEnumerable(r)||I.propertyIsEnumerable(r)||z.propertyIsEnumerable(r)?"string":L.propertyIsEnumerable(r)?"typeName.standard":M.propertyIsEnumerable(r)?"modifier":S.propertyIsEnumerable(r)?"atom":"variable"}function N(e){return function(t,n){for(var r=!1,c,f=!1;(c=t.next())!=null;){if(c==e&&!r){var s=t.peek();s&&(s=s.toLowerCase(),(s=="b"||s=="h"||s=="o")&&t.next()),f=!0;break}r=!r&&c=="\\"}return f&&(n.tokenize=null),"string"}}function m(e,t){for(var n=!1,r;r=e.next();){if(r=="/"&&n){t.tokenize=null;break}n=r=="*"}return"comment"}function b(e,t,n,r,c){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=c}function a(e,t,n){var r=e.indented;return e.context&&e.context.type=="statement"&&(r=e.context.indented),e.context=new b(r,t,n,null,e.context)}function u(e){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const P={name:"ttcn",startState:function(){return{tokenize:null,context:new b(0,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(n.align==null&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;l=null;var r=(t.tokenize||T)(e,t);if(r=="comment")return r;if(n.align==null&&(n.align=!0),(l==";"||l==":"||l==",")&&n.type=="statement")u(t);else if(l=="{")a(t,e.column(),"}");else if(l=="[")a(t,e.column(),"]");else if(l=="(")a(t,e.column(),")");else if(l=="}"){for(;n.type=="statement";)n=u(t);for(n.type=="}"&&(n=u(t));n.type=="statement";)n=u(t)}else l==n.type?u(t):W&&((n.type=="}"||n.type=="top")&&l!=";"||n.type=="statement"&&l=="newstatement")&&a(t,e.column(),"statement");return t.startOfLine=!1,r},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}},autocomplete:h}};export{P as ttcn}; diff --git a/web-dist/js/chunks/ttcn-CfJYG6tj.mjs.gz b/web-dist/js/chunks/ttcn-CfJYG6tj.mjs.gz new file mode 100644 index 0000000000..54c568bc9c Binary files /dev/null and b/web-dist/js/chunks/ttcn-CfJYG6tj.mjs.gz differ diff --git a/web-dist/js/chunks/ttcn-cfg-B9xdYoR4.mjs b/web-dist/js/chunks/ttcn-cfg-B9xdYoR4.mjs new file mode 100644 index 0000000000..7d3a7eb562 --- /dev/null +++ b/web-dist/js/chunks/ttcn-cfg-B9xdYoR4.mjs @@ -0,0 +1 @@ +function I(e){for(var n={},T=e.split(" "),E=0;E=&|]/;function x(e,n){var t=e.next();if(r=null,t=="<"&&!e.match(/^[\s\u00a0=]/,!1))return e.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return n.tokenize=v(t),n.tokenize(e,n);if(/[{}\(\),\.;\[\]]/.test(t))return r=t,null;if(t=="#")return e.skipToEnd(),"comment";if(f.test(t))return e.eatWhile(f),null;if(t==":")return"operator";if(e.eatWhile(/[_\w\d]/),e.peek()==":")return"variableName.special";var i=e.current();return d.test(i)?"meta":t>="A"&&t<="Z"?"comment":"keyword";var i=e.current()}function v(e){return function(n,t){for(var i=!1,o;(o=n.next())!=null;){if(o==e&&!i){t.tokenize=x;break}i=!i&&o=="\\"}return"string"}}function l(e,n,t){e.context={prev:e.context,indent:e.indent,col:t,type:n}}function c(e){e.indent=e.context.indent,e.context=e.context.prev}const g={name:"turtle",startState:function(){return{tokenize:x,context:null,indent:0,col:0}},token:function(e,n){if(e.sol()&&(n.context&&n.context.align==null&&(n.context.align=!1),n.indent=e.indentation()),e.eatSpace())return null;var t=n.tokenize(e,n);if(t!="comment"&&n.context&&n.context.align==null&&n.context.type!="pattern"&&(n.context.align=!0),r=="(")l(n,")",e.column());else if(r=="[")l(n,"]",e.column());else if(r=="{")l(n,"}",e.column());else if(/[\]\}\)]/.test(r)){for(;n.context&&n.context.type=="pattern";)c(n);n.context&&r==n.context.type&&c(n)}else r=="."&&n.context&&n.context.type=="pattern"?c(n):/atom|string|variable/.test(t)&&n.context&&(/[\}\]]/.test(n.context.type)?l(n,"pattern",e.column()):n.context.type=="pattern"&&!n.context.align&&(n.context.align=!0,n.context.col=e.column()));return t},indent:function(e,n,t){var i=n&&n.charAt(0),o=e.context;if(/[\]\}]/.test(i))for(;o&&o.type=="pattern";)o=o.prev;var u=o&&i==o.type;return o?o.type=="pattern"?o.col:o.align?o.col+(u?0:1):o.indent+(u?0:t.unit):0},languageData:{commentTokens:{line:"#"}}};export{g as turtle}; diff --git a/web-dist/js/chunks/turtle-B1tBg_DP.mjs.gz b/web-dist/js/chunks/turtle-B1tBg_DP.mjs.gz new file mode 100644 index 0000000000..37135b7344 Binary files /dev/null and b/web-dist/js/chunks/turtle-B1tBg_DP.mjs.gz differ diff --git a/web-dist/js/chunks/types-BoCZvwvE.mjs b/web-dist/js/chunks/types-BoCZvwvE.mjs new file mode 100644 index 0000000000..d172a8542f --- /dev/null +++ b/web-dist/js/chunks/types-BoCZvwvE.mjs @@ -0,0 +1 @@ +const n=e=>e;export{n as d}; diff --git a/web-dist/js/chunks/types-BoCZvwvE.mjs.gz b/web-dist/js/chunks/types-BoCZvwvE.mjs.gz new file mode 100644 index 0000000000..bcf45e4556 Binary files /dev/null and b/web-dist/js/chunks/types-BoCZvwvE.mjs.gz differ diff --git a/web-dist/js/chunks/useAbility-DLkgdurK.mjs b/web-dist/js/chunks/useAbility-DLkgdurK.mjs new file mode 100644 index 0000000000..847fa2544b --- /dev/null +++ b/web-dist/js/chunks/useAbility-DLkgdurK.mjs @@ -0,0 +1 @@ +import{af as _e,aU as Me}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";class D{constructor(e,r){this.operator=e,this.value=r,Object.defineProperty(this,"t",{writable:!0})}get notes(){return this.t}addNote(e){this.t=this.t||[],this.t.push(e)}}let A=class extends D{};class d extends A{constructor(e,r){if(!Array.isArray(r))throw new Error(`"${e}" operator expects to receive an array of conditions`);super(e,r)}}const f="__itself__";let y=class extends D{constructor(e,r,n){super(e,n),this.field=r}};const J=new A("__null__",null),x=Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);function Ne(t,e){return e instanceof d&&e.operator===t}function V(t,e){return e.length===1?e[0]:new d(t,(function r(n,s,i){const o=i||[];for(let a=0,c=s.length;at,G=()=>Object.create(null),Y=Object.defineProperty(G(),"__@type@__",{value:"ignore value"});function Re(t,e,r=!1){if(!t||t&&t.constructor!==Object)return!1;for(const n in t)if(x(t,n)&&x(e,n)&&(!r||t[n]!==Y))return!0;return!1}function qe(t){const e=[];for(const r in t)x(t,r)&&t[r]!==Y&&e.push(r);return e}function b(t,e){e!==J&&t.push(e)}const H=t=>V("and",t),K={compound(t,e,r){const n=(Array.isArray(e)?e:[e]).map(s=>r.parse(s));return new d(t.name,n)},field:(t,e,r)=>new y(t.name,r.field,e),document:(t,e)=>new A(t.name,e)};let Ce=class{constructor(e,r=G()){this.o=void 0,this.s=void 0,this.i=void 0,this.u=void 0,this.h=void 0,this.parse=this.parse.bind(this),this.u={operatorToConditionName:r.operatorToConditionName||Pe,defaultOperatorName:r.defaultOperatorName||"eq",mergeFinalConditions:r.mergeFinalConditions||H},this.o=Object.keys(e).reduce((n,s)=>(n[s]=Object.assign({name:this.u.operatorToConditionName(s)},e[s]),n),{}),this.s=Object.assign({},r.fieldContext,{field:"",query:{},parse:this.parse,hasOperators:n=>Re(n,this.o,r.useIgnoreValue)}),this.i=Object.assign({},r.documentContext,{parse:this.parse,query:{}}),this.h=r.useIgnoreValue?qe:Object.keys}setParse(e){this.parse=e,this.s.parse=e,this.i.parse=e}parseField(e,r,n,s){const i=this.o[r];if(!i)throw new Error(`Unsupported operator "${r}"`);if(i.type!=="field")throw new Error(`Unexpected ${i.type} operator "${r}" at field level`);return this.s.field=e,this.s.query=s,this.parseInstruction(i,n,this.s)}parseInstruction(e,r,n){return typeof e.validate=="function"&&e.validate(e,r),(e.parse||K[e.type])(e,r,n)}parseFieldOperators(e,r){const n=[],s=this.h(r);for(let i=0,o=s.length;i{const a=n(o,r);return w(t,a)(o,i)};break;case 3:s=(o,a,c)=>{const l=n(o,r);return w(t,l)(o,a,c,i)};break;default:s=(o,a)=>{const c=n(o,r);return w(t,c)(o,a,i)}}const i=Object.assign({},r,{interpret:s});return i.interpret}function ze(t,e){return(r,...n)=>{const s=t(r,...n),i=e.bind(null,s);return i.ast=s,i}}function L(t,e){if(!Array.isArray(e))throw new Error(`"${t.name}" expects value to be an array`)}function Q(t,e){if(L(t,e),!e.length)throw new Error(`"${t.name}" expects to have at least one element in array`)}const E=t=>(e,r)=>{if(typeof r!==t)throw new Error(`"${e.name}" expects value to be a "${t}"`)},W={type:"compound",validate:Q,parse(t,e,{parse:r}){const n=e.map(s=>r(s));return V(t.name,n)}},Ie=W,ke={type:"compound",validate:Q},Ue={type:"field",validate(t,e){if(!(e&&(e instanceof RegExp||e.constructor===Object)))throw new Error(`"${t.name}" expects to receive either regular expression or object of field operators`)},parse(t,e,r){const n=e instanceof RegExp?new y("regex",r.field,e):r.parse(e,r);return new d(t.name,[n])}},X={type:"field",validate(t,e){if(!e||e.constructor!==Object)throw new Error(`"${t.name}" expects to receive an object with nested query or field level operators`)},parse(t,e,{parse:r,field:n,hasOperators:s}){const i=s(e)?r(e,{field:f}):r(e);return new y(t.name,n,i)}},Z={type:"field",validate:E("number")},$={type:"field",validate:L},ee=$,te=$,Be={type:"field",validate(t,e){if(!Array.isArray(e)||e.length!==2)throw new Error(`"${t.name}" expects an array with 2 numeric elements`)}},re={type:"field",validate:E("boolean")},F={type:"field",validate:function(t,e){if(!(typeof e=="string"||typeof e=="number"||e instanceof Date))throw new Error(`"${t.name}" expects value to be comparable (i.e., string, number or date)`)}},g=F,ne=g,se=g,_={type:"field"},ie=_,oe={type:"field",validate(t,e){if(!(e instanceof RegExp)&&typeof e!="string")throw new Error(`"${t.name}" expects value to be a regular expression or a string that represents regular expression`)},parse(t,e,r){const n=typeof e=="string"?new RegExp(e,r.query.$options||""):e;return new y(t.name,r.field,n)}},ae={type:"field",parse:()=>J},De={type:"document",validate:E("function")};var Je=Object.freeze({__proto__:null,$and:W,$or:Ie,$nor:ke,$not:Ue,$elemMatch:X,$size:Z,$in:$,$nin:ee,$all:te,$mod:Be,$exists:re,$gte:F,$gt:g,$lt:ne,$lte:se,$eq:_,$ne:ie,$regex:oe,$options:ae,$where:De});class Ve extends Ce{constructor(e){super(e,{defaultOperatorName:"$eq",operatorToConditionName:r=>r.slice(1)})}parse(e,r){return r&&r.field?H(this.parseFieldOperators(r.field,e)):super.parse(e)}}const O=Je;function M(t,e,r){for(let n=0,s=t.length;n{const s=n.get(r,e.field);return Array.isArray(s)?s.some(i=>t(e,i,n)):t(e,s,n)}}const Ge=(t,e)=>t[e];function ce(t,e,r){const n=e.lastIndexOf(".");return n===-1?[t,e]:[r(t,e.slice(0,n)),e.slice(n+1)]}function Ye(t,e,r=Ge){if(e===f)return t;if(!t)throw new Error(`Unable to get field "${e}" out of ${String(t)}.`);return(function(n,s,i){if(s.indexOf(".")===-1)return C(n,s,i);const o=s.split(".");let a=n;for(let c=0,l=o.length;ce?1:-1}function ue(t,e={}){return Te(t,Object.assign({get:Ye,compare:le},e))}const fe=(t,e,{interpret:r})=>t.value.some(n=>r(n,e)),He=(t,e,r)=>!fe(t,e,r),pe=(t,e,{interpret:r})=>t.value.every(n=>r(n,e)),Ke=(t,e,{interpret:r})=>!r(t.value[0],e),P=(t,e,{compare:r,get:n})=>{const s=n(e,t.field);return Array.isArray(s)&&!Array.isArray(t.value)?M(s,t.value,r):r(s,t.value)===0},he=(t,e,r)=>!P(t,e,r),de=u((t,e,r)=>{const n=r.compare(e,t.value);return n===0||n===-1}),ye=u((t,e,r)=>r.compare(e,t.value)===-1),$e=u((t,e,r)=>r.compare(e,t.value)===1),ge=u((t,e,r)=>{const n=r.compare(e,t.value);return n===0||n===1}),me=(t,e,{get:r})=>{if(t.field===f)return e!==void 0;const[n,s]=ce(e,t.field,r),i=o=>o==null?!!o===t.value:o.hasOwnProperty(s)===t.value;return N(n,s)?n.some(i):i(n)},Le=u((t,e)=>typeof e=="number"&&e%t.value[0]===t.value[1]),ve=(t,e,{get:r})=>{const[n,s]=ce(e,t.field,r),i=o=>{const a=r(o,s);return Array.isArray(a)&&a.length===t.value};return t.field!==f&&N(n,s)?n.some(i):i(n)},be=u((t,e)=>typeof e=="string"&&t.value.test(e)),m=u((t,e,{compare:r})=>M(t.value,e,r)),we=(t,e,r)=>!m(t,e,r),xe=(t,e,{compare:r,get:n})=>{const s=n(e,t.field);return Array.isArray(s)&&t.value.every(i=>M(s,i,r))},Oe=(t,e,{interpret:r,get:n})=>{const s=n(e,t.field);return Array.isArray(s)&&s.some(i=>r(t.value,i))},Qe=(t,e)=>t.value.call(e);var We=Object.freeze({__proto__:null,or:fe,nor:He,and:pe,not:Ke,eq:P,ne:he,lte:de,lt:ye,gt:$e,gte:ge,exists:me,mod:Le,size:ve,regex:be,within:m,nin:we,all:xe,elemMatch:Oe,where:Qe});const R=Object.assign({},We,{in:m});ue(R);function S(t){return t===null||typeof t!="object"?t:t instanceof Date?t.getTime():t&&typeof t.toJSON=="function"?t.toJSON():t}const Xe=(t,e)=>le(S(t),S(e));function q(t,e,r){const n=new Ve(t),s=ue(e,Object.assign({compare:Xe},r));if(r&&r.forPrimitives){const i={field:f},o=n.parse;n.setParse(a=>o(a,i))}return ze(n.parse,s)}q(O,R);q(["$and","$or"].reduce((t,e)=>(t[e]=Object.assign({},t[e],{type:"field"}),t),Object.assign({},O,{$nor:Object.assign({},O.$nor,{type:"field",parse:K.compound})})),R,{forPrimitives:!0});const Ze=Object.hasOwn||((t,e)=>Object.prototype.hasOwnProperty.call(t,e));function j(t){return Array.isArray(t)?t:[t]}const T="__caslSubjectType__",h=t=>{const e=typeof t;return e==="string"||e==="function"},et=t=>t.modelName||t.name;function je(t){return Ze(t,T)?t[T]:et(t.constructor)}const z={function:t=>t.constructor,string:je};function I(t,e,r){for(let n=r;nt;function rt(t,e){if(Array.isArray(t.fields)&&!t.fields.length)throw new Error("`rawRule.fields` cannot be an empty array. https://bit.ly/390miLa");if(t.fields&&!e.fieldMatcher)throw new Error('You need to pass "fieldMatcher" option in order to restrict access by fields');if(t.conditions&&!e.conditionsMatcher)throw new Error('You need to pass "conditionsMatcher" option in order to restrict access by conditions')}class nt{constructor(e,r,n=0){rt(e,r),this.action=r.resolveAction(e.action),this.subject=e.subject,this.inverted=!!e.inverted,this.conditions=e.conditions,this.reason=e.reason,this.origin=e,this.fields=e.fields?j(e.fields):void 0,this.priority=n,this.t=r}i(){return this.conditions&&!this.o&&(this.o=this.t.conditionsMatcher(this.conditions)),this.o}get ast(){const e=this.i();return e?e.ast:void 0}matchesConditions(e){return this.conditions?!e||h(e)?!this.inverted:this.i()(e):!0}matchesField(e){return this.fields?e?(this.u||(this.u=this.t.fieldMatcher(this.fields)),this.u(e)):!this.inverted:!0}}function st(t,e){const r={value:t,prev:e,next:null};return e&&(e.next=r),r}function it(t){t.next&&(t.next.prev=t.prev),t.prev&&(t.prev.next=t.next),t.next=t.prev=null}const ot=t=>({value:t.value,prev:t.prev,next:t.next}),U=()=>({rules:[],merged:!1}),B=()=>new Map;class at{constructor(e=[],r={}){this.h=!1,this.l=new Map,this.p={conditionsMatcher:r.conditionsMatcher,fieldMatcher:r.fieldMatcher,resolveAction:r.resolveAction||tt},this.$=r.anyAction||"manage",this.A=r.anySubjectType||"all",this.m=e,this.M=!!r.detectSubjectType,this.j=r.detectSubjectType||je,this.v(e)}get rules(){return this.m}detectSubjectType(e){return h(e)?e:e?this.j(e):this.A}update(e){const r={rules:e,ability:this,target:this};return this._("update",r),this.m=e,this.v(e),this._("updated",r),this}v(e){const r=new Map;let n;for(let s=e.length-1;s>=0;s--){const i=e.length-s-1,o=new nt(e[s],this.p,i),a=j(o.action),c=j(o.subject||this.A);!this.h&&o.fields&&(this.h=!0);for(let l=0;li.matchesField(n)):s}actionsFor(e){if(!h(e))throw new Error('"actionsFor" accepts only subject types (i.e., string or class) as a parameter');const r=new Set,n=this.l.get(e);n&&Array.from(n.keys()).forEach(i=>r.add(i));const s=e!==this.A?this.l.get(this.A):void 0;return s&&Array.from(s.keys()).forEach(i=>r.add(i)),Array.from(r)}on(e,r){this.F=this.F||new Map;const n=this.F,s=n.get(e)||null,i=st(r,s);return n.set(e,i),()=>{const o=n.get(e);!i.next&&!i.prev&&o===i?n.delete(e):i===o&&n.set(e,i.prev),it(i)}}_(e,r){if(!this.F)return;let n=this.F.get(e)||null;for(;n!==null;){const s=n.prev?ot(n.prev):null;n.value(r),n=s}}}class Ae extends at{can(e,r,n){const s=this.relevantRuleFor(e,r,n);return!!s&&!s.inverted}relevantRuleFor(e,r,n){const s=this.detectSubjectType(r),i=this.rulesFor(e,s,n);for(let o=0,a=i.length;on.replace(ft,$t).replace(pt,yt)),r=e.length>1?`(?:${e.join("|")})`:e[0];return new RegExp(`^${r}$`)}const mt=t=>{let e;return r=>(typeof e>"u"&&(e=t.every(n=>n.indexOf("*")===-1)?null:gt(t)),e===null?t.indexOf(r)!==-1:e.test(r))};function At(t=[],e={}){return new Ae(t,Object.assign({conditionsMatcher:ut,fieldMatcher:mt},e))}function vt(t){if(Object.hasOwn(t,"possibleRulesFor"))return t;const e=Me(!0);t.on("updated",()=>{e.value=!e.value});const r=t.possibleRulesFor.bind(t);return t.possibleRulesFor=(n,s)=>(e.value=e.value,r(n,s)),t.can=t.can.bind(t),t.cannot=t.cannot.bind(t),t}const Ee=Symbol("ability");function bt(){const t=_e(Ee);if(!t)throw new Error("Cannot inject Ability instance because it was not provided");return t}function Et(t,e,r){if(!e||!(e instanceof Ae))throw new Error("Please provide an Ability instance to abilitiesPlugin plugin");t.provide(Ee,vt(e)),r&&r.useGlobalProperties&&(t.config.globalProperties.$ability=e,t.config.globalProperties.$can=e.can.bind(e))}const Ft=()=>bt();export{bt as a,At as c,Et as l,Ft as u}; diff --git a/web-dist/js/chunks/useAbility-DLkgdurK.mjs.gz b/web-dist/js/chunks/useAbility-DLkgdurK.mjs.gz new file mode 100644 index 0000000000..2f4fc0b0a4 Binary files /dev/null and b/web-dist/js/chunks/useAbility-DLkgdurK.mjs.gz differ diff --git a/web-dist/js/chunks/useAppDefaults-BUVwG3-M.mjs b/web-dist/js/chunks/useAppDefaults-BUVwG3-M.mjs new file mode 100644 index 0000000000..1fc3c19c4e --- /dev/null +++ b/web-dist/js/chunks/useAppDefaults-BUVwG3-M.mjs @@ -0,0 +1 @@ +import{u as D}from"./useRoute-BGFNOdqM.mjs";import{q as R,bk as e,db as M,cr as Q,co as y,bW as x,c6 as E,cU as g,aU as H,cm as B,cl as J,d8 as K,d7 as $,bQ as w,cs as C,cI as G,cJ as W}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u as k}from"./useClientService-BP8mjZl2.mjs";import{aK as j}from"./user-C7xYeMZ3.mjs";import{bC as z,bA as O,bu as V}from"./resources-CL0nvFAd.mjs";import{y as X,m as Y,r as Z,a as _,t as ee}from"./SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import{a as te}from"./useLoadingService-CLoheuuI.mjs";import{u as L}from"./extensionRegistry-3T3I8mha.mjs";import{u as se}from"./useRouteParam-C9SJn9Mp.mjs";function re(t){return{applicationConfig:R(()=>t.appsStore.externalAppConfig[t.applicationId]||{})}}function T({clientService:t}){t=t||k();const o=j();return{getUrlForResource:(s,a,l)=>t.webdav.getFileUrl(s,a,{username:o.user?.onPremisesSamAccountName,...l}),revokeUrl:s=>t.webdav.revokeUrl(s),getFileContents:(s,a)=>t.webdav.getFileContents(e(e(s).space),{path:e(e(s).item)},{...a}),getFileInfo:(s,a={})=>t.webdav.getFileInfo(e(e(s).space),{path:e(e(s).item),fileId:e(e(s).itemId)},a),putFileContents:(s,a)=>t.webdav.putFileContents(e(e(s).space),{path:e(e(s).item),...a})}}function ae({currentRoute:t,clientService:o}){const r=H(!1),{webdav:n}=o,{replaceInvalidFileRoute:c}=M(),{getFileInfo:p}=T({clientService:o}),u=te(),s=z(),{buildSearchTerm:a,search:l}=X(),f=Q("contextRouteQuery"),m=O(),{activeResources:v}=y(m);return{isFolderLoading:r,loadFolderForFileContext:async i=>{r.value=!0;try{if(i=e(i),e(f)?.term){const d=a({term:e(f)?.term}),{values:N}=await l(d,200),q=N.filter(({data:S})=>V(S)).map(S=>S.data);m.initResourceList({currentFolder:null,resources:q}),r.value=!1;return}if(["files-shares-with-me","files-shares-with-others","files-shares-via-link","files-common-favorites"].includes(e(i.routeName))){await Y.getTask().perform(),r.value=!1;return}m.clearResourceList();const I=e(i.space),A=await p(i,{davProperties:[x.FileId]});if(c({space:I,resource:A,path:e(i.item),fileId:e(i.itemId)}),s.spaces.some(d=>E(d)&&d.root.remoteItem?.id===A.id)){const d=await p(i);m.initResourceList({currentFolder:d,resources:[d]}),r.value=!1;return}const P=g.dirname(A.path),{resource:F,children:U}=await n.listFiles(I,{path:P});F.type==="file"?m.initResourceList({currentFolder:F,resources:[F]}):m.initResourceList({currentFolder:F,resources:U})}catch(b){if(b.statusCode===401)return u.handleAuthError(e(t));m.setCurrentFolder(null),console.error(b)}r.value=!1},activeFiles:v}}function oe({appsStore:t,applicationId:o}){return{applicationMeta:R(()=>{const n=t.apps[o];if(!n)throw new Error(`useAppConfig: could not find config for applicationId: ${o}`);return n||{}})}}function ne({appsStore:t,applicationId:o,applicationName:r,currentFileContext:n,currentRoute:c}){const p=oe({applicationId:o,appsStore:t}),{$gettext:u}=B(),s=R(()=>{const a=g.basename(e(e(n)?.fileName))||u(e(c)?.meta?.title||""),l=e(e(p).applicationMeta);return[a,e(r)||l.name||l.id].filter(Boolean)});Z({titleSegments:s})}function ie(t={}){const o=t.clientService??k(),r=t.authStore??L();return{makeRequest:(c,p,u={})=>{const s=!r.accessToken||r.publicLinkContextReady?o.httpUnAuthenticated:o.httpAuthenticated,a=new _({accessToken:r.accessToken,publicLinkToken:r.publicLinkToken,publicLinkPassword:r.publicLinkPassword});return u.method=c,u.url=p,u.headers={...a.getHeaders(),...u?.headers||{}},s.request(u)}}}function ve(t){const o=J(),r=K(),n=D(),c=t.clientService??k(),p=t.applicationId,u=L(),{publicLinkContextReady:s}=y(u),a=se("driveAliasAndItem"),{space:l,item:f,itemId:m,loading:v}=ee({driveAliasAndItem:a}),h=R(()=>{if(e(v))return null;let i;return e(l)?i=w(e(l).webDavPath,e(f)):i=w(C(e(n).params.filePath)),{path:i,driveAliasAndItem:e(a),space:e(l),item:e(f),itemId:e(m),fileName:g.basename(i),routeName:C(e(n).query[W]),...G(e(n).query)}});return ne({appsStore:r,applicationId:p,applicationName:t.applicationName,currentFileContext:h,currentRoute:n}),{isPublicLinkContext:s,currentFileContext:h,...re({appsStore:r,...t}),...$({router:o,currentFileContext:h}),...T({clientService:c}),...ae({clientService:c,currentRoute:n}),...ie({clientService:c,currentRoute:e(n)})}}export{ve as a,T as b,ae as c,oe as d,ie as e,re as u}; diff --git a/web-dist/js/chunks/useAppDefaults-BUVwG3-M.mjs.gz b/web-dist/js/chunks/useAppDefaults-BUVwG3-M.mjs.gz new file mode 100644 index 0000000000..e9e929677d Binary files /dev/null and b/web-dist/js/chunks/useAppDefaults-BUVwG3-M.mjs.gz differ diff --git a/web-dist/js/chunks/useAppProviderService-DZ_mOvrb.mjs b/web-dist/js/chunks/useAppProviderService-DZ_mOvrb.mjs new file mode 100644 index 0000000000..744ca41566 --- /dev/null +++ b/web-dist/js/chunks/useAppProviderService-DZ_mOvrb.mjs @@ -0,0 +1,4 @@ +import{dF as Lr,ci as Ye,ch as Mr,de as _r}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{d as he,h as or,a as ur}from"./index-ChwhOZNZ.mjs";const Cr={},Ar=Object.freeze(Object.defineProperty({__proto__:null,default:Cr},Symbol.toStringTag,{value:"Module"})),Ir=Lr(Ar);var Ce,Ze;function me(){if(Ze)return Ce;Ze=1;var _=typeof Map=="function"&&Map.prototype,L=Object.getOwnPropertyDescriptor&&_?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,D=_&&L&&typeof L.get=="function"?L.get:null,p=_&&Map.prototype.forEach,W=typeof Set=="function"&&Set.prototype,b=Object.getOwnPropertyDescriptor&&W?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,N=W&&b&&typeof b.get=="function"?b.get:null,S=W&&Set.prototype.forEach,x=typeof WeakMap=="function"&&WeakMap.prototype,h=x?WeakMap.prototype.has:null,m=typeof WeakSet=="function"&&WeakSet.prototype,y=m?WeakSet.prototype.has:null,T=typeof WeakRef=="function"&&WeakRef.prototype,g=T?WeakRef.prototype.deref:null,t=Boolean.prototype.valueOf,i=Object.prototype.toString,n=Function.prototype.toString,O=String.prototype.match,u=String.prototype.slice,c=String.prototype.replace,I=String.prototype.toUpperCase,d=String.prototype.toLowerCase,v=RegExp.prototype.test,a=Array.prototype.concat,l=Array.prototype.join,o=Array.prototype.slice,s=Math.floor,w=typeof BigInt=="function"?BigInt.prototype.valueOf:null,M=Object.getOwnPropertySymbols,q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,R=typeof Symbol=="function"&&typeof Symbol.iterator=="object",B=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===R||!0)?Symbol.toStringTag:null,A=Object.prototype.propertyIsEnumerable,H=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function f(e,r){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||v.call(/e/,r))return r;var C=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var $=e<0?-s(-e):s(e);if($!==e){var F=String($),E=u.call(r,F.length+1);return c.call(F,C,"$&_")+"."+c.call(c.call(E,/([0-9]{3})/g,"$&_"),/_$/,"")}}return c.call(r,C,"$&_")}var P=Ir,z=P.custom,k=oe(z)?z:null,le={__proto__:null,double:'"',single:"'"},ge={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Ce=function e(r,C,$,F){var E=C||{};if(V(E,"quoteStyle")&&!V(le,E.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(E,"maxStringLength")&&(typeof E.maxStringLength=="number"?E.maxStringLength<0&&E.maxStringLength!==1/0:E.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var X=V(E,"customInspect")?E.customInspect:!0;if(typeof X!="boolean"&&X!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(E,"indent")&&E.indent!==null&&E.indent!==" "&&!(parseInt(E.indent,10)===E.indent&&E.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(E,"numericSeparator")&&typeof E.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var j=E.numericSeparator;if(typeof r>"u")return"undefined";if(r===null)return"null";if(typeof r=="boolean")return r?"true":"false";if(typeof r=="string")return He(r,E);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var K=String(r);return j?f(r,K):K}if(typeof r=="bigint"){var Y=String(r)+"n";return j?f(r,Y):Y}var Ee=typeof E.depth>"u"?5:E.depth;if(typeof $>"u"&&($=0),$>=Ee&&Ee>0&&typeof r=="object")return re(r)?"[Array]":"[Object]";var ae=br(E,$);if(typeof F>"u")F=[];else if(Be(F,r)>=0)return"[Circular]";function Q(ie,ve,Dr){if(ve&&(F=o.call(F),F.push(ve)),Dr){var Xe={depth:E.depth};return V(E,"quoteStyle")&&(Xe.quoteStyle=E.quoteStyle),e(ie,Xe,$+1,F)}return e(ie,E,$+1,F)}if(typeof r=="function"&&!ne(r)){var Ke=dr(r),Qe=ye(r,Q);return"[Function"+(Ke?": "+Ke:" (anonymous)")+"]"+(Qe.length>0?" { "+l.call(Qe,", ")+" }":"")}if(oe(r)){var ke=R?c.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):q.call(r);return typeof r=="object"&&!R?ce(ke):ke}if(wr(r)){for(var se="<"+d.call(String(r.nodeName)),be=r.attributes||[],de=0;de",se}if(re(r)){if(r.length===0)return"[]";var xe=ye(r,Q);return ae&&!Er(xe)?"["+Oe(xe,ae)+"]":"[ "+l.call(xe,", ")+" ]"}if(U(r)){var De=ye(r,Q);return!("cause"in Error.prototype)&&"cause"in r&&!A.call(r,"cause")?"{ ["+String(r)+"] "+l.call(a.call("[cause]: "+Q(r.cause),De),", ")+" }":De.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+l.call(De,", ")+" }"}if(typeof r=="object"&&X){if(k&&typeof r[k]=="function"&&P)return P(r,{depth:Ee-$});if(X!=="symbol"&&typeof r.inspect=="function")return r.inspect()}if(vr(r)){var Ge=[];return p&&p.call(r,function(ie,ve){Ge.push(Q(ve,r,!0)+" => "+Q(ie,r))}),ze("Map",D.call(r),Ge,ae)}if(gr(r)){var Ue=[];return S&&S.call(r,function(ie){Ue.push(Q(ie,r))}),ze("Set",N.call(r),Ue,ae)}if(hr(r))return we("WeakMap");if(Sr(r))return we("WeakSet");if(mr(r))return we("WeakRef");if(fe(r))return ce(Q(Number(r)));if(ue(r))return ce(Q(w.call(r)));if(Se(r))return ce(t.call(r));if(pe(r))return ce(Q(String(r)));if(typeof window<"u"&&r===window)return"{ [object Window] }";if(typeof globalThis<"u"&&r===globalThis||typeof Ye<"u"&&r===Ye)return"{ [object globalThis] }";if(!te(r)&&!ne(r)){var Le=ye(r,Q),Ve=H?H(r)===Object.prototype:r instanceof Object||r.constructor===Object,Me=r instanceof Object?"":"null prototype",Je=!Ve&&B&&Object(r)===r&&B in r?u.call(J(r),8,-1):Me?"Object":"",xr=Ve||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"",_e=xr+(Je||Me?"["+l.call(a.call([],Je||[],Me||[]),": ")+"] ":"");return Le.length===0?_e+"{}":ae?_e+"{"+Oe(Le,ae)+"}":_e+"{ "+l.call(Le,", ")+" }"}return String(r)};function ee(e,r,C){var $=C.quoteStyle||r,F=le[$];return F+e+F}function Z(e){return c.call(String(e),/"/g,""")}function G(e){return!B||!(typeof e=="object"&&(B in e||typeof e[B]<"u"))}function re(e){return J(e)==="[object Array]"&&G(e)}function te(e){return J(e)==="[object Date]"&&G(e)}function ne(e){return J(e)==="[object RegExp]"&&G(e)}function U(e){return J(e)==="[object Error]"&&G(e)}function pe(e){return J(e)==="[object String]"&&G(e)}function fe(e){return J(e)==="[object Number]"&&G(e)}function Se(e){return J(e)==="[object Boolean]"&&G(e)}function oe(e){if(R)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!q)return!1;try{return q.call(e),!0}catch{}return!1}function ue(e){if(!e||typeof e!="object"||!w)return!1;try{return w.call(e),!0}catch{}return!1}var yr=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,r){return yr.call(e,r)}function J(e){return i.call(e)}function dr(e){if(e.name)return e.name;var r=O.call(n.call(e),/^function\s*([\w$]+)/);return r?r[1]:null}function Be(e,r){if(e.indexOf)return e.indexOf(r);for(var C=0,$=e.length;C<$;C++)if(e[C]===r)return C;return-1}function vr(e){if(!D||!e||typeof e!="object")return!1;try{D.call(e);try{N.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function hr(e){if(!h||!e||typeof e!="object")return!1;try{h.call(e,h);try{y.call(e,y)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function mr(e){if(!g||!e||typeof e!="object")return!1;try{return g.call(e),!0}catch{}return!1}function gr(e){if(!N||!e||typeof e!="object")return!1;try{N.call(e);try{D.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function Sr(e){if(!y||!e||typeof e!="object")return!1;try{y.call(e,y);try{h.call(e,h)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function wr(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function He(e,r){if(e.length>r.maxStringLength){var C=e.length-r.maxStringLength,$="... "+C+" more character"+(C>1?"s":"");return He(u.call(e,0,r.maxStringLength),r)+$}var F=ge[r.quoteStyle||"single"];F.lastIndex=0;var E=c.call(c.call(e,F,"\\$1"),/[\x00-\x1f]/g,Or);return ee(E,"single",r)}function Or(e){var r=e.charCodeAt(0),C={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return C?"\\"+C:"\\x"+(r<16?"0":"")+I.call(r.toString(16))}function ce(e){return"Object("+e+")"}function we(e){return e+" { ? }"}function ze(e,r,C,$){var F=$?Oe(C,$):l.call(C,", ");return e+" ("+r+") {"+F+"}"}function Er(e){for(var r=0;r=0)return!1;return!0}function br(e,r){var C;if(e.indent===" ")C=" ";else if(typeof e.indent=="number"&&e.indent>0)C=l.call(Array(e.indent+1)," ");else return null;return{base:C,prev:l.call(Array(r+1),C)}}function Oe(e,r){if(e.length===0)return"";var C=` +`+r.prev+r.base;return C+l.call(e,","+C)+` +`+r.prev}function ye(e,r){var C=re(e),$=[];if(C){$.length=e.length;for(var F=0;F1;){var l=a.pop(),o=l.obj[l.prop];if(p(o)){for(var s=[],w=0;wo.arrayLimit)return b(y(a.concat(l),o),s);a[s]=l}else if(a&&typeof a=="object")if(N(a)){var w=S(a)+1;a[w]=l,x(a,w)}else{if(o&&o.strictMerge)return[a,l];(o&&(o.plainObjects||o.allowPrototypes)||!D.call(Object.prototype,l))&&(a[l]=!0)}else return[a,l];return a}if(!a||typeof a!="object"){if(N(l)){for(var M=Object.keys(l),q=o&&o.plainObjects?{__proto__:null,0:a}:{0:a},R=0;Ro.arrayLimit?b(y(A,o),A.length-1):A}var H=a;return p(a)&&!p(l)&&(H=y(a,o)),p(a)&&p(l)?(l.forEach(function(f,P){if(D.call(a,P)){var z=a[P];z&&typeof z=="object"&&f&&typeof f=="object"?a[P]=v(z,f,o):a[a.length]=f}else a[P]=f}),a):Object.keys(l).reduce(function(f,P){var z=l[P];if(D.call(f,P)?f[P]=v(f[P],z,o):f[P]=z,N(l)&&!N(f)&&b(f,S(l)),N(f)){var k=parseInt(P,10);String(k)===P&&k>=0&&k>S(f)&&x(f,k)}return f},H)},g=function(a,l){return Object.keys(l).reduce(function(o,s){return o[s]=l[s],o},a)},t=function(v,a,l){var o=v.replace(/\+/g," ");if(l==="iso-8859-1")return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch{return o}},i=1024,n=function(a,l,o,s,w){if(a.length===0)return a;var M=a;if(typeof a=="symbol"?M=Symbol.prototype.toString.call(a):typeof a!="string"&&(M=String(a)),o==="iso-8859-1")return escape(M).replace(/%u[0-9a-f]{4}/gi,function(P){return"%26%23"+parseInt(P.slice(2),16)+"%3B"});for(var q="",R=0;R=i?M.slice(R,R+i):M,A=[],H=0;H=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||w===_.RFC1738&&(f===40||f===41)){A[A.length]=B.charAt(H);continue}if(f<128){A[A.length]=h[f];continue}if(f<2048){A[A.length]=h[192|f>>6]+h[128|f&63];continue}if(f<55296||f>=57344){A[A.length]=h[224|f>>12]+h[128|f>>6&63]+h[128|f&63];continue}H+=1,f=65536+((f&1023)<<10|B.charCodeAt(H)&1023),A[A.length]=h[240|f>>18]+h[128|f>>12&63]+h[128|f>>6&63]+h[128|f&63]}q+=A.join("")}return q},O=function(a){for(var l=[{obj:{o:a},prop:"o"}],o=[],s=0;so?b(y(M,{plainObjects:s}),M.length-1):M},d=function(a,l){if(p(a)){for(var o=[],s=0;s"u"&&(z=0)}if(typeof o=="function"?f=o(O,f):f instanceof Date?f=M(f):u==="comma"&&b(f)&&(f=L.maybeMap(f,function(ue){return ue instanceof Date?M(ue):ue})),f===null){if(d)return l&&!B?l(O,m.encoder,A,"key",q):O;f=""}if(y(f)||L.isBuffer(f)){if(l){var ge=B?O:l(O,m.encoder,A,"key",q);return[R(ge)+"="+R(l(f,m.encoder,A,"value",q))]}return[R(O)+"="+R(String(f))]}var ee=[];if(typeof f>"u")return ee;var Z;if(u==="comma"&&b(f))B&&l&&(f=L.maybeMap(f,l)),Z=[{value:f.length>0?f.join(",")||null:void 0}];else if(b(o))Z=o;else{var G=Object.keys(f);Z=s?G.sort(s):G}var re=a?String(O).replace(/\./g,"%2E"):String(O),te=c&&b(f)&&f.length===1?re+"[]":re;if(I&&b(f)&&f.length===0)return te+"[]";for(var ne=0;ne"u"?n.encodeDotInKeys===!0?!0:m.allowDots:!!n.allowDots;return{addQueryPrefix:typeof n.addQueryPrefix=="boolean"?n.addQueryPrefix:m.addQueryPrefix,allowDots:v,allowEmptyArrays:typeof n.allowEmptyArrays=="boolean"?!!n.allowEmptyArrays:m.allowEmptyArrays,arrayFormat:d,charset:O,charsetSentinel:typeof n.charsetSentinel=="boolean"?n.charsetSentinel:m.charsetSentinel,commaRoundTrip:!!n.commaRoundTrip,delimiter:typeof n.delimiter>"u"?m.delimiter:n.delimiter,encode:typeof n.encode=="boolean"?n.encode:m.encode,encodeDotInKeys:typeof n.encodeDotInKeys=="boolean"?n.encodeDotInKeys:m.encodeDotInKeys,encoder:typeof n.encoder=="function"?n.encoder:m.encoder,encodeValuesOnly:typeof n.encodeValuesOnly=="boolean"?n.encodeValuesOnly:m.encodeValuesOnly,filter:I,format:u,formatter:c,serializeDate:typeof n.serializeDate=="function"?n.serializeDate:m.serializeDate,skipNulls:typeof n.skipNulls=="boolean"?n.skipNulls:m.skipNulls,sort:typeof n.sort=="function"?n.sort:null,strictNullHandling:typeof n.strictNullHandling=="boolean"?n.strictNullHandling:m.strictNullHandling}};return Ne=function(i,n){var O=i,u=t(n),c,I;typeof u.filter=="function"?(I=u.filter,O=I("",O)):b(u.filter)&&(I=u.filter,c=I);var d=[];if(typeof O!="object"||O===null)return"";var v=W[u.arrayFormat],a=v==="comma"&&u.commaRoundTrip;c||(c=Object.keys(O)),u.sort&&c.sort(u.sort);for(var l=_(),o=0;o0?q+M:""},Ne}var qe,lr;function Fr(){if(lr)return qe;lr=1;var _=pr(),L=Object.prototype.hasOwnProperty,D=Array.isArray,p={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:_.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},W=function(g){return g.replace(/&#(\d+);/g,function(t,i){return String.fromCharCode(parseInt(i,10))})},b=function(g,t,i){if(g&&typeof g=="string"&&t.comma&&g.indexOf(",")>-1)return g.split(",");if(t.throwOnLimitExceeded&&i>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");return g},N="utf8=%26%2310003%3B",S="utf8=%E2%9C%93",x=function(t,i){var n={__proto__:null},O=i.ignoreQueryPrefix?t.replace(/^\?/,""):t;O=O.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=i.parameterLimit===1/0?void 0:i.parameterLimit,c=O.split(i.delimiter,i.throwOnLimitExceeded?u+1:u);if(i.throwOnLimitExceeded&&c.length>u)throw new RangeError("Parameter limit exceeded. Only "+u+" parameter"+(u===1?"":"s")+" allowed.");var I=-1,d,v=i.charset;if(i.charsetSentinel)for(d=0;d-1&&(w=D(w)?[w]:w),i.comma&&D(w)&&w.length>i.arrayLimit){if(i.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(i.arrayLimit===1?"":"s")+" allowed in an array.");w=_.combine([],w,i.arrayLimit,i.plainObjects)}if(s!==null){var M=L.call(n,s);M&&(i.duplicates==="combine"||a.indexOf("[]=")>-1)?n[s]=_.combine(n[s],w,i.arrayLimit,i.plainObjects):(!M||i.duplicates==="last")&&(n[s]=w)}}return n},h=function(g,t,i,n){var O=0;if(g.length>0&&g[g.length-1]==="[]"){var u=g.slice(0,-1).join("");O=Array.isArray(t)&&t[u]?t[u].length:0}for(var c=n?t:b(t,i,O),I=g.length-1;I>=0;--I){var d,v=g[I];if(v==="[]"&&i.parseArrays)_.isOverflow(c)?d=c:d=i.allowEmptyArrays&&(c===""||i.strictNullHandling&&c===null)?[]:_.combine([],c,i.arrayLimit,i.plainObjects);else{d=i.plainObjects?{__proto__:null}:{};var a=v.charAt(0)==="["&&v.charAt(v.length-1)==="]"?v.slice(1,-1):v,l=i.decodeDotInKeys?a.replace(/%2E/g,"."):a,o=parseInt(l,10),s=!isNaN(o)&&v!==l&&String(o)===l&&o>=0&&i.parseArrays;if(!i.parseArrays&&l==="")d={0:c};else if(s&&o"u"?p.charset:t.charset,n=typeof t.duplicates>"u"?p.duplicates:t.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var O=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:p.allowDots:!!t.allowDots;return{allowDots:O,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:p.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:p.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:p.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:p.arrayLimit,charset:i,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:p.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:p.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:p.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:p.decoder,delimiter:typeof t.delimiter=="string"||_.isRegExp(t.delimiter)?t.delimiter:p.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:p.depth,duplicates:n,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:p.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:p.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:p.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:p.strictDepth,strictMerge:typeof t.strictMerge=="boolean"?!!t.strictMerge:p.strictMerge,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:p.strictNullHandling,throwOnLimitExceeded:typeof t.throwOnLimitExceeded=="boolean"?t.throwOnLimitExceeded:!1}};return qe=function(g,t){var i=T(t);if(g===""||g===null||typeof g>"u")return i.plainObjects?{__proto__:null}:{};for(var n=typeof g=="string"?x(g,i):g,O=i.plainObjects?{__proto__:null}:{},u=Object.keys(n),c=0;c_r("$appProviderService");export{qr as l,Br as q,Hr as u}; diff --git a/web-dist/js/chunks/useAppProviderService-DZ_mOvrb.mjs.gz b/web-dist/js/chunks/useAppProviderService-DZ_mOvrb.mjs.gz new file mode 100644 index 0000000000..14ac34fdfe Binary files /dev/null and b/web-dist/js/chunks/useAppProviderService-DZ_mOvrb.mjs.gz differ diff --git a/web-dist/js/chunks/useClientService-BP8mjZl2.mjs b/web-dist/js/chunks/useClientService-BP8mjZl2.mjs new file mode 100644 index 0000000000..1997b18b46 --- /dev/null +++ b/web-dist/js/chunks/useClientService-BP8mjZl2.mjs @@ -0,0 +1 @@ +import{de as e}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";const i=()=>e("$clientService");export{i as u}; diff --git a/web-dist/js/chunks/useClientService-BP8mjZl2.mjs.gz b/web-dist/js/chunks/useClientService-BP8mjZl2.mjs.gz new file mode 100644 index 0000000000..0f5005ae98 Binary files /dev/null and b/web-dist/js/chunks/useClientService-BP8mjZl2.mjs.gz differ diff --git a/web-dist/js/chunks/useLoadPreview-Cv2y5hqA.mjs b/web-dist/js/chunks/useLoadPreview-Cv2y5hqA.mjs new file mode 100644 index 0000000000..b070310b71 --- /dev/null +++ b/web-dist/js/chunks/useLoadPreview-Cv2y5hqA.mjs @@ -0,0 +1 @@ +import{d as k}from"./omit-CjJULzjP.mjs";import{P as A,I as w}from"./SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import{f as B}from"./index-lRhEXmMs.mjs";import{de as x,co as I,da as Q,aI as V,q as u,c8 as R,bk as a,cC as h,cx as $}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{bA as j,bC as q,bh as G}from"./resources-CL0nvFAd.mjs";import{u as M}from"./useClientService-BP8mjZl2.mjs";function W(o,d,l){var n=o==null?void 0:k(o,d);return n===void 0?l:n}const O=()=>x("$previewService"),X=o=>{const d=O(),{updateResourceField:l}=j(),{httpAuthenticated:n}=M(),s=q(),{defaultSpaceImageBlobURL:r}=I(s),L=Q(),{serverUrl:P}=I(L),f=new A({concurrency:4}),g=u(()=>a(o)===$.name.tiles),T=u(()=>a(g)?h.enum.fit:h.enum.thumbnail),y=u(()=>a(g)?w.Tile:w.Thumbnail),m=B(function*(c,{space:e,resource:t,dimensions:i,processor:D,updateStore:F=!0}){const S=R(t)?G(t):t,b=S.id===e.spaceImageData?.id;b&&s.addToImagesLoading(e.id);const p=yield f.add(()=>d.loadPreview({space:e,resource:S,processor:D||a(T),dimensions:i||a(y)},!0,!0,c));return p&&F&&l({id:t.id,field:"thumbnail",value:p}),b&&s.removeFromImagesLoading(e.id),p}),U=async c=>{const{resource:e,cancelRunning:t}=c;if(t&&v(),R(e)&&(!e.spaceImageData||e.disabled)){a(r)&&s.updateSpaceField({id:e.id,field:"thumbnail",value:a(r)});try{const i=await n.get(`${a(P)}images/default-space-icon.png`,{responseType:"blob"});return s.setDefaultSpaceImageBlobURL(URL.createObjectURL(i.data)),s.updateSpaceField({id:e.id,field:"thumbnail",value:a(r)}),a(r)}catch{return null}}try{return await m.perform(c)}catch(i){i!=="cancel"&&console.error(i)}},C=u(()=>m.isRunning),v=()=>{m.cancelAll(),f.clear(),s.purgeImagesLoading()};return V(v),{loadPreview:U,previewsLoading:C}};export{O as a,W as g,X as u}; diff --git a/web-dist/js/chunks/useLoadPreview-Cv2y5hqA.mjs.gz b/web-dist/js/chunks/useLoadPreview-Cv2y5hqA.mjs.gz new file mode 100644 index 0000000000..7a5a34992e Binary files /dev/null and b/web-dist/js/chunks/useLoadPreview-Cv2y5hqA.mjs.gz differ diff --git a/web-dist/js/chunks/useLoadingService-CLoheuuI.mjs b/web-dist/js/chunks/useLoadingService-CLoheuuI.mjs new file mode 100644 index 0000000000..9726fbe596 --- /dev/null +++ b/web-dist/js/chunks/useLoadingService-CLoheuuI.mjs @@ -0,0 +1 @@ +import{de as e}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";const i=()=>e("$authService"),s=()=>e("$loadingService");export{i as a,s as u}; diff --git a/web-dist/js/chunks/useLoadingService-CLoheuuI.mjs.gz b/web-dist/js/chunks/useLoadingService-CLoheuuI.mjs.gz new file mode 100644 index 0000000000..afbadd4e53 Binary files /dev/null and b/web-dist/js/chunks/useLoadingService-CLoheuuI.mjs.gz differ diff --git a/web-dist/js/chunks/useOpenEmptyEditor-37ZbJbPk.mjs b/web-dist/js/chunks/useOpenEmptyEditor-37ZbJbPk.mjs new file mode 100644 index 0000000000..56d1c99379 --- /dev/null +++ b/web-dist/js/chunks/useOpenEmptyEditor-37ZbJbPk.mjs @@ -0,0 +1 @@ +import{d8 as w,cm as y,co as g,bk as e,bQ as x}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u as C}from"./useClientService-BP8mjZl2.mjs";import{W as A,v as N,k as R}from"./FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs";import{bC as k,bA as G}from"./resources-CL0nvFAd.mjs";const P=()=>{const{getMatchingSpace:r}=A(),u=k(),m=w(),f=G(),c=C(),{$gettext:S}=y(),{openEditor:d}=N(),{resources:E,currentFolder:t}=g(f);return{openEmptyEditor:async(F,a)=>{let s=e(t)?r(e(t)):null,n=e(E),p=e(t)?.path;(!s||!e(t).canCreate())&&(s=u.personalSpace,n=(await c.webdav.listFiles(s)).children,p="");let o=S("New file")+`.${a}`;n.some(i=>i.name===o)&&(o=R(o,a,n));const l=await c.webdav.putFileContents(s,{path:x(p,o)}),b=r(l),h=m.fileExtensions.find(({app:i,extension:v})=>i===F&&v===a);d(h,b,l)}}};export{P as u}; diff --git a/web-dist/js/chunks/useOpenEmptyEditor-37ZbJbPk.mjs.gz b/web-dist/js/chunks/useOpenEmptyEditor-37ZbJbPk.mjs.gz new file mode 100644 index 0000000000..68591fa6e2 Binary files /dev/null and b/web-dist/js/chunks/useOpenEmptyEditor-37ZbJbPk.mjs.gz differ diff --git a/web-dist/js/chunks/useRoute-BGFNOdqM.mjs b/web-dist/js/chunks/useRoute-BGFNOdqM.mjs new file mode 100644 index 0000000000..e0ab7fe8fb --- /dev/null +++ b/web-dist/js/chunks/useRoute-BGFNOdqM.mjs @@ -0,0 +1 @@ +import{cl as e}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";const t=()=>e().currentRoute;export{t as u}; diff --git a/web-dist/js/chunks/useRoute-BGFNOdqM.mjs.gz b/web-dist/js/chunks/useRoute-BGFNOdqM.mjs.gz new file mode 100644 index 0000000000..88c9ffd8fc Binary files /dev/null and b/web-dist/js/chunks/useRoute-BGFNOdqM.mjs.gz differ diff --git a/web-dist/js/chunks/useRouteMeta-C9xjNr4h.mjs b/web-dist/js/chunks/useRouteMeta-C9xjNr4h.mjs new file mode 100644 index 0000000000..925546a3b5 --- /dev/null +++ b/web-dist/js/chunks/useRouteMeta-C9xjNr4h.mjs @@ -0,0 +1 @@ +import{u}from"./useRoute-BGFNOdqM.mjs";import{q as r,bk as s}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";const n=(t,e)=>{const o=u();return r(()=>s(o).meta[t]||e)};export{n as u}; diff --git a/web-dist/js/chunks/useRouteMeta-C9xjNr4h.mjs.gz b/web-dist/js/chunks/useRouteMeta-C9xjNr4h.mjs.gz new file mode 100644 index 0000000000..d8159451f7 Binary files /dev/null and b/web-dist/js/chunks/useRouteMeta-C9xjNr4h.mjs.gz differ diff --git a/web-dist/js/chunks/useRouteParam-C9SJn9Mp.mjs b/web-dist/js/chunks/useRouteParam-C9SJn9Mp.mjs new file mode 100644 index 0000000000..a341269f68 --- /dev/null +++ b/web-dist/js/chunks/useRouteParam-C9SJn9Mp.mjs @@ -0,0 +1 @@ +import{q as s,cl as o,bk as e,cs as c}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";const p=(t,a)=>{const r=o();return s({get(){return c(e(r.currentRoute).params[t])||a},async set(u){e(r.currentRoute).params[t]!==u&&await r.replace({params:{...e(r.currentRoute).params,[t]:u}})}})};export{p as u}; diff --git a/web-dist/js/chunks/useRouteParam-C9SJn9Mp.mjs.gz b/web-dist/js/chunks/useRouteParam-C9SJn9Mp.mjs.gz new file mode 100644 index 0000000000..2ee4eb328e Binary files /dev/null and b/web-dist/js/chunks/useRouteParam-C9SJn9Mp.mjs.gz differ diff --git a/web-dist/js/chunks/useScrollTo--zshzNky.mjs b/web-dist/js/chunks/useScrollTo--zshzNky.mjs new file mode 100644 index 0000000000..7bd066e245 --- /dev/null +++ b/web-dist/js/chunks/useScrollTo--zshzNky.mjs @@ -0,0 +1 @@ +import{cr as i,bk as r,q as u,cs as a}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u as g,f as E}from"./vue-router-CmC7u3Bn.mjs";import{e as m}from"./eventBus-B07Yv2pA.mjs";import{bA as R}from"./resources-CL0nvFAd.mjs";const v=()=>{const f=i("scrollTo"),p=i("details"),d=R(),{openSideBarPanel:b}=g(),s=u(()=>a(r(f))),n=u(()=>a(r(p))),c=(o,t={forceScroll:!1,topbarElement:null})=>{const e=document.querySelectorAll(`[data-item-id='${o}']`)[0];if(!e){m.publish("app.files.navigate.page",{resourceId:o,forceScroll:t.forceScroll,topbarElement:t.topbarElement});return}const S=document.getElementById(t.topbarElement)?.offsetHeight||0+e.offsetHeight*2;(e.getBoundingClientRect().bottom>window.innerHeight||e.getBoundingClientRect().topc(o.resourceId,{forceScroll:o.forceScroll,topbarElement:o.topbarElement})),{scrollToResource:c,scrollToResourceFromRoute:(o,t)=>{if(!r(s)||!o.length)return;const e=r(o).find(l=>E(l)?l.remoteItemId===r(s):l.id===r(s));e&&e.processing!==!0&&(d.setSelection([e.id]),c(e.id,{forceScroll:!0,topbarElement:t}),r(n)&&b(r(n)))}}};export{v as u}; diff --git a/web-dist/js/chunks/useScrollTo--zshzNky.mjs.gz b/web-dist/js/chunks/useScrollTo--zshzNky.mjs.gz new file mode 100644 index 0000000000..512fc1a772 Binary files /dev/null and b/web-dist/js/chunks/useScrollTo--zshzNky.mjs.gz differ diff --git a/web-dist/js/chunks/useSort-BaUnnp4q.mjs b/web-dist/js/chunks/useSort-BaUnnp4q.mjs new file mode 100644 index 0000000000..b25866022a --- /dev/null +++ b/web-dist/js/chunks/useSort-BaUnnp4q.mjs @@ -0,0 +1 @@ +import{dB as u,q as d,bk as n,cl as Q,ak as v,aU as g,dd as x}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{g as D}from"./useLoadPreview-Cv2y5hqA.mjs";import{u as S}from"./useRoute-BGFNOdqM.mjs";const P=e=>e?[{name:"name",sortable:!0,sortDir:u.Asc},{name:"size",sortable:!0,sortDir:u.Desc},{name:"sharedWith",sortable:r=>r.length>0?r.sort((t,s)=>t.shareType!==s.shareType?t.shareTypet.displayName).join():!1,sortDir:u.Asc},{name:"owner",sortable:"displayName",sortDir:u.Asc},{name:"mdate",sortable:r=>new Date(r).valueOf(),sortDir:u.Desc},{name:"sdate",sortable:r=>new Date(r).valueOf(),sortDir:u.Desc},{name:"ddate",sortable:r=>new Date(r).valueOf(),sortDir:u.Desc}].filter(r=>Object.prototype.hasOwnProperty.call(e,r.name)):[],C=()=>{const e=S();return d(()=>n(e).name)};class O{state;observeEnter;observeExit;onEnterCallCount;onExitCallCount;onEnter;onExit;threshold;unobserver;constructor(r,t,s){this.unobserver=r,this.threshold=t,this.onEnter=s.onEnter,this.onExit=s.onExit,this.observeEnter=!!s.onEnter,this.observeExit=!!s.onExit,this.onEnterCallCount=0,this.onExitCallCount=0}request(r,t){const s={element:t,unobserve:()=>this.unobserve(r,t)};r===0&&this.observeEnter&&this.onEnter?(this.onEnterCallCount++,this.onEnter({callCount:this.onEnterCallCount,...s})):this.state===0&&r===1&&this.observeExit&&this.onExit&&(this.onExitCallCount++,this.onExit({callCount:this.onExitCallCount,...s})),this.state=r}unobserve(r,t){r===0?this.observeEnter=!1:r===1&&(this.observeExit=!1),!this.observeEnter&&!this.observeExit&&this.unobserver(t)}}class I{targets;intersectionObserver;options;constructor(r={}){this.options={root:r.root,rootMargin:r.rootMargin,threshold:r.threshold||0},this.targets=new WeakMap,this.intersectionObserver=new IntersectionObserver(this.trigger.bind(this),this.options)}observe(r,t={},s){!t.onEnter&&!t.onExit||(this.targets.set(r,new O(this.unobserve.bind(this),s||this.options.threshold||0,{onEnter:t.onEnter,onExit:t.onExit})),this.intersectionObserver.observe(r))}unobserve(r){this.targets.delete(r),this.intersectionObserver.unobserve(r)}disconnect(){this.targets=new WeakMap,this.intersectionObserver.disconnect()}trigger(r){r.forEach(t=>{const s=this.targets.get(t.target);s&&s.request(t.isIntersecting&&t.intersectionRatio>s.threshold?0:1,t.target)})}}class y{static sortByQueryName="sort-by";static sortDirQueryName="sort-dir"}function M(e){const r=Q(),t=w(e),s=R(e),c=d(()=>N(n(t))||n(b(n(o))?.name)),l=d(()=>V(n(s))||A(n(c),n(o))),o=e.fields;return{items:d(()=>{const h=n(e.items);return n(c)?B(h,n(o),n(c),n(l)):h}),sortBy:c,sortDir:l,handleSort:({sortBy:h,sortDir:a})=>r.replace({query:{...n(r.currentRoute).query,[n(e.sortByQueryName)||y.sortByQueryName]:h,[n(e.sortDirQueryName)||y.sortDirQueryName]:a}})}}function w(e){return e.sortBy?v(e.sortBy)?e.sortBy:g(e.sortBy):x({name:n(e.sortByQueryName)||y.sortByQueryName,defaultValue:n(b(n(e.fields))?.name),storagePrefix:n(e.routeName)||n(C())})}function R(e){return e.sortDir?v(e.sortDir)?e.sortDir:g(e.sortDir):x({name:n(e.sortDirQueryName)||y.sortDirQueryName,defaultValue:n(b(n(e.fields))?.sortDir),storagePrefix:n(e.routeName)||n(C())})}const b=e=>{const r=e.filter(t=>t.sortable);return r?r[0]:null},A=(e,r)=>{const t=r.find(s=>s.name===e);return t&&t.sortDir?n(t.sortDir):u.Desc},B=(e,r,t,s)=>{const c=r.find(i=>i.name===t);if(!c)return e;const{sortable:l}=c,o=new Intl.Collator(navigator.language,{sensitivity:"base",numeric:!0});if(t==="name"){const i=a=>a.type==="folder"&&!a.extension,f=[...e.filter(a=>i(a))].sort((a,m)=>E(a,m,o,t,s,l)),h=[...e.filter(a=>!i(a))].sort((a,m)=>E(a,m,o,t,s,l));return s===u.Asc?f.concat(h):h.concat(f)}return[...e].sort((i,f)=>E(i,f,o,c.prop||c.name,s,l))},E=(e,r,t,s,c,l)=>{let o=D(e,s),i=D(r,s);const f=c===u.Asc?1:-1;if(l)if(typeof l=="string"){const a=m=>m.map(p=>p[l]).join("");o=a(o),i=a(i)}else typeof l=="function"&&(o=l(o),i=l(i));return!isNaN(o)&&!isNaN(i)?(o-i)*f:t.compare((o||"").toString(),(i||"").toString())*f},N=e=>Array.isArray(e)?e[0]:e,V=e=>{switch(N(e)){case u.Asc:return u.Asc;case u.Desc:return u.Desc}return null};export{y as S,I as V,M as a,P as d,B as s,C as u}; diff --git a/web-dist/js/chunks/useSort-BaUnnp4q.mjs.gz b/web-dist/js/chunks/useSort-BaUnnp4q.mjs.gz new file mode 100644 index 0000000000..7c81ae1724 Binary files /dev/null and b/web-dist/js/chunks/useSort-BaUnnp4q.mjs.gz differ diff --git a/web-dist/js/chunks/useWindowOpen-BMCzbqTR.mjs b/web-dist/js/chunks/useWindowOpen-BMCzbqTR.mjs new file mode 100644 index 0000000000..73bb5f3f46 --- /dev/null +++ b/web-dist/js/chunks/useWindowOpen-BMCzbqTR.mjs @@ -0,0 +1 @@ +import{cm as i}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u}from"./messages-bd5_8QAH.mjs";const d=()=>{const{$gettext:e}=i(),{showMessage:s}=u();return{openUrl:(o,n,r)=>{const t=window.open(o,n);t?r&&t.focus():s({title:e("Pop-up and redirect block detected"),timeout:20,status:"warning",desc:e("Please turn on pop-ups and redirects in your browser settings to make sure everything works right.")})}}};export{d as u}; diff --git a/web-dist/js/chunks/useWindowOpen-BMCzbqTR.mjs.gz b/web-dist/js/chunks/useWindowOpen-BMCzbqTR.mjs.gz new file mode 100644 index 0000000000..8719baf3fe Binary files /dev/null and b/web-dist/js/chunks/useWindowOpen-BMCzbqTR.mjs.gz differ diff --git a/web-dist/js/chunks/user-C7xYeMZ3.mjs b/web-dist/js/chunks/user-C7xYeMZ3.mjs new file mode 100644 index 0000000000..e218e9d56e --- /dev/null +++ b/web-dist/js/chunks/user-C7xYeMZ3.mjs @@ -0,0 +1,2 @@ +import{dj as ft,cj as Qt,aU as te}from"./NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";const S=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,_=globalThis,O="10.43.0";function P(){return nt(_),_}function nt(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||O,e[O]=e[O]||{}}function j(t,e,n=_){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[O]=r[O]||{};return s[t]||(s[t]=e())}const Bn=["debug","info","warn","error","log","assert","trace"],ee="Sentry Logger ",pt={};function rt(t){if(!("console"in _))return t();const e=_.console,n={},r=Object.keys(pt);r.forEach(s=>{const i=pt[s];n[s]=e[s],e[s]=i});try{return t()}finally{r.forEach(s=>{e[s]=n[s]})}}function ne(){it().enabled=!0}function re(){it().enabled=!1}function Dt(){return it().enabled}function se(...t){st("log",...t)}function ie(...t){st("warn",...t)}function oe(...t){st("error",...t)}function st(t,...e){S&&Dt()&&rt(()=>{_.console[t](`${ee}[${t}]:`,...e)})}function it(){return S?j("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const g={enable:ne,disable:re,isEnabled:Dt,log:se,warn:ie,error:oe},Ot=50,ae="?",dt=/\(error: (.*)\)/,lt=/captureMessage|captureException/;function ce(...t){const e=t.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const i=[],o=n.split(` +`);for(let a=r;a1024&&(c=c.slice(0,1024));const u=dt.test(c)?c.replace(dt,"$1"):c;if(!u.match(/\S*Error: /)){for(const p of e){const f=p(u);if(f){i.push(f);break}}if(i.length>=Ot+s)break}}return ue(i.slice(s))}}function Gn(t){return Array.isArray(t)?ce(...t):t}function ue(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(w(e).function||"")&&e.pop(),e.reverse(),lt.test(w(e).function||"")&&(e.pop(),lt.test(w(e).function||"")&&e.pop()),e.slice(0,Ot).map(n=>({...n,filename:n.filename||w(e).filename,function:n.function||ae}))}function w(t){return t[t.length-1]||{}}const W="";function fe(t){try{return!t||typeof t!="function"?W:t.name||W}catch{return W}}function Vn(t){const e=t.exception;if(e){const n=[];try{return e.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}function kt(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const Mt=Object.prototype.toString;function pe(t){switch(Mt.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return L(t,Error)}}function x(t,e){return Mt.call(t)===`[object ${e}]`}function zn(t){return x(t,"ErrorEvent")}function Kn(t){return x(t,"DOMError")}function Wn(t){return x(t,"DOMException")}function F(t){return x(t,"String")}function de(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function Yn(t){return t===null||de(t)||typeof t!="object"&&typeof t!="function"}function Pt(t){return x(t,"Object")}function le(t){return typeof Event<"u"&&L(t,Event)}function _e(t){return typeof Element<"u"&&L(t,Element)}function he(t){return x(t,"RegExp")}function U(t){return!!(t?.then&&typeof t.then=="function")}function ge(t){return Pt(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function L(t,e){try{return t instanceof e}catch{return!1}}function Lt(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue||t.__v_isVNode))}function Hn(t){return typeof Request<"u"&&L(t,Request)}const ot=_,me=80;function Se(t,e={}){if(!t)return"";try{let n=t;const r=5,s=[];let i=0,o=0;const a=" > ",c=a.length;let u;const p=Array.isArray(e)?e:e.keyAttrs,f=!Array.isArray(e)&&e.maxStringLength||me;for(;n&&i++1&&o+s.length*c+u.length>=f));)s.push(u),o+=u.length,n=n.parentNode;return s.reverse().join(a)}catch{return""}}function ye(t,e){const n=t,r=[];if(!n?.tagName)return"";if(ot.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=e?.length?e.filter(o=>n.getAttribute(o)).map(o=>[o,n.getAttribute(o)]):null;if(s?.length)s.forEach(o=>{r.push(`[${o[0]}="${o[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const o=n.className;if(o&&F(o)){const a=o.split(/\s+/);for(const c of a)r.push(`.${c}`)}}const i=["aria-label","type","name","title","alt"];for(const o of i){const a=n.getAttribute(o);a&&r.push(`[${o}="${a}"]`)}return r.join("")}function Jn(){try{return ot.document.location.href}catch{return""}}function Xn(t){if(!ot.HTMLElement)return null;let e=t;const n=5;for(let r=0;r"}}function ht(t){if(typeof t=="object"&&t!==null){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}else return{}}function Qn(t){const e=Object.keys(wt(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}let C;function $(t){if(C!==void 0)return C?C(t):t();const e=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=_;return e in n&&typeof n[e]=="function"?(C=n[e],C(t)):(C=null,t())}function J(){return $(()=>Math.random())}function be(){return $(()=>Date.now())}function X(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function tr(t,e){if(!Array.isArray(t))return"";const n=[];for(let r=0;rIe(t,r,n))}function Te(){const t=_;return t.crypto||t.msCrypto}let Y;function Ae(){return J()*16}function b(t=Te()){try{if(t?.randomUUID)return $(()=>t.randomUUID()).replace(/-/g,"")}catch{}return Y||(Y="10000000100040008000"+1e11),Y.replace(/[018]/g,e=>(e^(Ae()&15)>>e/4).toString(16))}function Ft(t){return t.exception?.values?.[0]}function nr(t){const{message:e,event_id:n}=t;if(e)return e;const r=Ft(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function rr(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=e||""),i.type||(i.type="Error")}function Ce(t,e){const n=Ft(t);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...e},e&&"data"in e){const i={...s?.data,...e.data};n.mechanism.data=i}}function sr(t){if(Ne(t))return!0;try{I(t,"__sentry_captured__",!0)}catch{}return!1}function Ne(t){try{return t.__sentry_captured__}catch{}}const jt=1e3;function at(){return be()/jt}function xe(){const{performance:t}=_;if(!t?.now||!t.timeOrigin)return at;const e=t.timeOrigin;return()=>(e+$(()=>t.now()))/jt}let gt;function ct(){return(gt??(gt=xe()))()}function Re(t){const e=ct(),n={sid:b(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Oe(n)};return t&&v(n,t),n}function v(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||ct(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:b()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),typeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function De(t,e){let n={};t.status==="ok"&&(n={status:"exited"}),v(t,n)}function Oe(t){return{sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}function B(t,e,n=2){if(!e||typeof e!="object"||n<=0)return e;if(t&&Object.keys(e).length===0)return t;const r={...t};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=B(r[s],e[s],n-1));return r}function mt(){return b()}function Ut(){return b().substring(16)}const q="_sentrySpan";function St(t,e){e?I(t,q,e):delete t[q]}function Z(t){return t[q]}const ke=100;class m{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:mt(),sampleRand:J()}}clone(){const e=new m;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,St(e,Z(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&v(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,n){return this.setTags({[e]:n})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,n){return this.setAttributes({[e]:n})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,n){return this._extra={...this._extra,[e]:n},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,n){return n===null?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const n=typeof e=="function"?e(this):e,r=n instanceof m?n.getScopeData():Pt(n)?e:void 0,{tags:s,attributes:i,extra:o,user:a,contexts:c,level:u,fingerprint:p=[],propagationContext:f,conversationId:d}=r||{};return this._tags={...this._tags,...s},this._attributes={...this._attributes,...i},this._extra={...this._extra,...o},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),u&&(this._level=u),p.length&&(this._fingerprint=p),f&&(this._propagationContext=f),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,St(this,void 0),this._attachments=[],this.setPropagationContext({traceId:mt(),sampleRand:J()}),this._notifyScopeListeners(),this}addBreadcrumb(e,n){const r=typeof n=="number"?n:ke;if(r<=0)return this;const s={timestamp:at(),...e,message:e.message?X(e.message,2048):e.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Z(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=B(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){const r=n?.event_id||b();if(!this._client)return S&&g.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:s,...n,event_id:r},this),r}captureMessage(e,n,r){const s=r?.event_id||b();if(!this._client)return S&&g.warn("No client configured on scope - will not capture message!"),s;const i=r?.syntheticException??new Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:i,...r,event_id:s},this),s}captureEvent(e,n){const r=e.event_id||n?.event_id||b();return this._client?(this._client.captureEvent(e,{...n,event_id:r},this),r):(S&&g.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}function Me(){return j("defaultCurrentScope",()=>new m)}function Pe(){return j("defaultIsolationScope",()=>new m)}class Le{constructor(e,n){let r;e?r=e:r=new m;let s;n?s=n:s=new m,this._stack=[{scope:r}],this._isolationScope=s}withScope(e){const n=this._pushScope();let r;try{r=e(n)}catch(s){throw this._popScope(),s}return U(r)?r.then(s=>(this._popScope(),s),s=>{throw this._popScope(),s}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function N(){const t=P(),e=nt(t);return e.stack=e.stack||new Le(Me(),Pe())}function we(t){return N().withScope(t)}function Fe(t,e){const n=N();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function yt(t){return N().withScope(()=>t(N().getIsolationScope()))}function je(){return{withIsolationScope:yt,withScope:we,withSetScope:Fe,withSetIsolationScope:(t,e)=>yt(e),getCurrentScope:()=>N().getScope(),getIsolationScope:()=>N().getIsolationScope()}}function G(t){const e=nt(t);return e.acs?e.acs:je()}function R(){const t=P();return G(t).getCurrentScope()}function V(){const t=P();return G(t).getIsolationScope()}function Ue(){return j("globalScope",()=>new m)}function ir(...t){const e=P(),n=G(e);if(t.length===2){const[r,s]=t;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(t[0])}function ut(){return R().getClient()}function or(t){const e=t.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=e,i={trace_id:n,span_id:s||Ut()};return r&&(i.parent_span_id=r),i}const $e="sentry.source",ve="sentry.sample_rate",Be="sentry.previous_trace_sample_rate",Ge="sentry.op",Ve="sentry.origin",ar="sentry.measurement_unit",cr="sentry.measurement_value",ur="sentry.custom_span_name",fr="sentry.profile_id",pr="sentry.exclusive_time",dr="gen_ai.conversation.id",ze=0,Ke=1,$t="_sentryScope",vt="_sentryIsolationScope";function We(t){try{const e=_.WeakRef;if(typeof e=="function")return new e(t)}catch{}return t}function Ye(t){if(t){if(typeof t=="object"&&"deref"in t&&typeof t.deref=="function")try{return t.deref()}catch{return}return t}}function lr(t,e,n){t&&(I(t,vt,We(n)),I(t,$t,e))}function Bt(t){const e=t;return{scope:e[$t],isolationScope:Ye(e[vt])}}const He="sentry-",Je=/^sentry-/;function Xe(t){const e=qe(t);if(!e)return;const n=Object.entries(e).reduce((r,[s,i])=>{if(s.match(Je)){const o=s.slice(He.length);r[o]=i}return r},{});if(Object.keys(n).length>0)return n}function qe(t){if(!(!t||!F(t)&&!Array.isArray(t)))return Array.isArray(t)?t.reduce((e,n)=>{const r=Et(n);return Object.entries(r).forEach(([s,i])=>{e[s]=i}),e},{}):Et(t)}function Et(t){return t.split(",").map(e=>{const n=e.indexOf("=");if(n===-1)return[];const r=e.slice(0,n),s=e.slice(n+1);return[r,s].map(i=>{try{return decodeURIComponent(i.trim())}catch{return}})}).reduce((e,[n,r])=>(n&&r&&(e[n]=r),e),{})}const Ze=/^o(\d+)\./,Qe=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function tn(t){return t==="http"||t==="https"}function _r(t,e=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${o}`}function en(t){const e=Qe.exec(t);if(!e){rt(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[n,r,s="",i="",o="",a=""]=e.slice(1);let c="",u=a;const p=u.split("/");if(p.length>1&&(c=p.slice(0,-1).join("/"),u=p.pop()),u){const f=u.match(/^\d+/);f&&(u=f[0])}return Gt({host:i,pass:s,path:c,projectId:u,port:o,protocol:n,publicKey:r})}function Gt(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function nn(t){if(!S)return!0;const{port:e,projectId:n,protocol:r}=t;return["protocol","publicKey","host","projectId"].find(o=>t[o]?!1:(g.error(`Invalid Sentry Dsn: ${o} missing`),!0))?!1:n.match(/^\d+$/)?tn(r)?e&&isNaN(parseInt(e,10))?(g.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(g.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(g.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function rn(t){return t.match(Ze)?.[1]}function sn(t){const e=t.getOptions(),{host:n}=t.getDsn()||{};let r;return e.orgId?r=String(e.orgId):n&&(r=rn(n)),r}function hr(t){const e=typeof t=="string"?en(t):Gt(t);if(!(!e||!nn(e)))return e}const gr=0,Vt=1;let bt=!1;function mr(t){const{spanId:e,traceId:n}=t.spanContext(),{data:r,op:s,parent_span_id:i,status:o,origin:a,links:c}=z(t);return{parent_span_id:i,span_id:e,trace_id:n,data:r,op:s,status:o,origin:a,links:c}}function on(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:z(t).parent_span_id,i=Bt(t).scope,o=r?i?.getPropagationContext().propagationSpanId||Ut():e;return{parent_span_id:s,span_id:o,trace_id:n}}function an(t){if(t&&t.length>0)return t.map(({context:{spanId:e,traceId:n,traceFlags:r,...s},attributes:i})=>({span_id:e,trace_id:n,sampled:r===Vt,attributes:i,...s}))}function It(t){return typeof t=="number"?Tt(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Tt(t.getTime()):ct()}function Tt(t){return t>9999999999?t/1e3:t}function z(t){if(un(t))return t.getSpanJSON();const{spanId:e,traceId:n}=t.spanContext();if(cn(t)){const{attributes:r,startTime:s,name:i,endTime:o,status:a,links:c}=t,u="parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0;return{span_id:e,trace_id:n,data:r,description:i,parent_span_id:u,start_timestamp:It(s),timestamp:It(o)||void 0,status:fn(a),op:r[Ge],origin:r[Ve],links:an(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function cn(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function un(t){return typeof t.getSpanJSON=="function"}function zt(t){const{traceFlags:e}=t.spanContext();return e===Vt}function fn(t){if(!(!t||t.code===ze))return t.code===Ke?"ok":t.message||"internal_error"}const k="_sentryChildSpans",Q="_sentryRootSpan";function Sr(t,e){const n=t[Q]||t;I(e,Q,n),t[k]?t[k].add(e):I(t,k,new Set([e]))}function yr(t){const e=new Set;function n(r){if(!e.has(r)&&zt(r)){e.add(r);const s=r[k]?Array.from(r[k]):[];for(const i of s)n(i)}}return n(t),Array.from(e)}function Kt(t){return t[Q]||t}function Er(){const t=P(),e=G(t);return e.getActiveSpan?e.getActiveSpan():Z(R())}function br(){bt||(rt(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),bt=!0)}function pn(t){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=t||ut()?.getOptions();return!!e&&(e.tracesSampleRate!=null||!!e.tracesSampler)}const Wt="production",Yt="_frozenDsc";function Ir(t,e){I(t,Yt,e)}function Ht(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s={environment:n.environment||Wt,release:n.release,public_key:r,trace_id:t,org_id:sn(e)};return e.emit("createDsc",s),s}function Tr(t,e){const n=e.getPropagationContext();return n.dsc||Ht(n.traceId,t)}function dn(t){const e=ut();if(!e)return{};const n=Kt(t),r=z(n),s=r.data,i=n.spanContext().traceState,o=i?.get("sentry.sample_rate")??s[ve]??s[Be];function a(h){return(typeof o=="number"||typeof o=="string")&&(h.sample_rate=`${o}`),h}const c=n[Yt];if(c)return a(c);const u=i?.get("sentry.dsc"),p=u&&Xe(u);if(p)return a(p);const f=Ht(t.spanContext().traceId,e),d=s[$e],l=r.description;return d!=="url"&&l&&(f.transaction=l),pn()&&(f.sampled=String(zt(n)),f.sample_rand=i?.get("sentry.sample_rand")??Bt(n).scope?.getPropagationContext().sampleRand.toString()),a(f),e.emit("createDsc",f,n),f}function E(t,e=100,n=1/0){try{return tt("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function ln(t,e=3,n=100*1024){const r=E(t,e);return mn(r)>n?ln(t,e-1,n):r}function tt(t,e,n=1/0,r=1/0,s=Sn()){const[i,o]=s;if(e==null||["boolean","string"].includes(typeof e)||typeof e=="number"&&Number.isFinite(e))return e;const a=_n(t,e);if(!a.startsWith("[object "))return a;if(e.__sentry_skip_normalization__)return e;const c=typeof e.__sentry_override_normalization_depth__=="number"?e.__sentry_override_normalization_depth__:n;if(c===0)return a.replace("object ","");if(i(e))return"[Circular ~]";const u=e;if(u&&typeof u.toJSON=="function")try{const l=u.toJSON();return tt("",l,c-1,r,s)}catch{}const p=Array.isArray(e)?[]:{};let f=0;const d=wt(e);for(const l in d){if(!Object.prototype.hasOwnProperty.call(d,l))continue;if(f>=r){p[l]="[MaxProperties ~]";break}const h=d[l];p[l]=tt(l,h,c-1,r,s),f++}return o(e),p}function _n(t,e){try{if(t==="domain"&&e&&typeof e=="object"&&e._events)return"[Domain]";if(t==="domainEmitter")return"[DomainEmitter]";if(typeof ft<"u"&&e===ft)return"[Global]";if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(Lt(e))return kt(e);if(ge(e))return"[SyntheticEvent]";if(typeof e=="number"&&!Number.isFinite(e))return`[${e}]`;if(typeof e=="function")return`[Function: ${fe(e)}]`;if(typeof e=="symbol")return`[${String(e)}]`;if(typeof e=="bigint")return`[BigInt: ${String(e)}]`;const n=hn(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function hn(t){const e=Object.getPrototypeOf(t);return e?.constructor?e.constructor.name:"null prototype"}function gn(t){return~-encodeURI(t).split(/%..|./).length}function mn(t){return gn(JSON.stringify(t))}function Sn(){const t=new WeakSet;function e(r){return t.has(r)?!0:(t.add(r),!1)}function n(r){t.delete(r)}return[e,n]}const H=0,At=1,Ct=2;function Jt(t){return new M(e=>{e(t)})}function yn(t){return new M((e,n)=>{n(t)})}class M{constructor(e){this._state=H,this._handlers=[],this._runExecutor(e)}then(e,n){return new M((r,s)=>{this._handlers.push([!1,i=>{if(!e)r(i);else try{r(e(i))}catch(o){s(o)}},i=>{if(!n)s(i);else try{r(n(i))}catch(o){s(o)}}]),this._executeHandlers()})}catch(e){return this.then(n=>n,e)}finally(e){return new M((n,r)=>{let s,i;return this.then(o=>{i=!1,s=o,e&&e()},o=>{i=!0,s=o,e&&e()}).then(()=>{if(i){r(s);return}n(s)})})}_executeHandlers(){if(this._state===H)return;const e=this._handlers.slice();this._handlers=[],e.forEach(n=>{n[0]||(this._state===At&&n[1](this._value),this._state===Ct&&n[2](this._value),n[0]=!0)})}_runExecutor(e){const n=(i,o)=>{if(this._state===H){if(U(o)){o.then(r,s);return}this._state=i,this._value=o,this._executeHandlers()}},r=i=>{n(At,i)},s=i=>{n(Ct,i)};try{e(r,s)}catch(i){s(i)}}}function En(t,e,n,r=0){try{const s=et(e,n,t,r);return U(s)?s:Jt(s)}catch(s){return yn(s)}}function et(t,e,n,r){const s=n[r];if(!t||!s)return t;const i=s({...t},e);return S&&i===null&&g.log(`Event processor "${s.id||"?"}" dropped event`),U(i)?i.then(o=>et(o,e,n,r+1)):et(i,e,n,r+1)}let T,Nt,xt,y;function bn(t){const e=_._sentryDebugIds,n=_._debugIds;if(!e&&!n)return{};const r=e?Object.keys(e):[],s=n?Object.keys(n):[];if(y&&r.length===Nt&&s.length===xt)return y;Nt=r.length,xt=s.length,y={},T||(T={});const i=(o,a)=>{for(const c of o){const u=a[c],p=T?.[c];if(p&&y&&u)y[p[0]]=u,T&&(T[c]=[p[0],u]);else if(u){const f=t(c);for(let d=f.length-1;d>=0;d--){const h=f[d]?.filename;if(h&&y&&T){y[h]=u,T[c]=[h,u];break}}}}};return e&&i(r,e),n&&i(s,n),y}function In(t,e){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=e;Tn(t,e),r&&Nn(t,r),xn(t,n),An(t,s),Cn(t,i)}function Rt(t,e){const{extra:n,tags:r,attributes:s,user:i,contexts:o,level:a,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:p,eventProcessors:f,attachments:d,propagationContext:l,transactionName:h,span:K}=e;D(t,"extra",n),D(t,"tags",r),D(t,"attributes",s),D(t,"user",i),D(t,"contexts",o),t.sdkProcessingMetadata=B(t.sdkProcessingMetadata,c,2),a&&(t.level=a),h&&(t.transactionName=h),K&&(t.span=K),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),p.length&&(t.fingerprint=[...t.fingerprint,...p]),f.length&&(t.eventProcessors=[...t.eventProcessors,...f]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...l}}function D(t,e,n){t[e]=B(t[e],n,1)}function Xt(t,e){const n=Ue().getScopeData();return t&&Rt(n,t.getScopeData()),e&&Rt(n,e.getScopeData()),n}function Tn(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:a}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(s).length&&(t.user={...s,...t.user}),Object.keys(i).length&&(t.contexts={...i,...t.contexts}),o&&(t.level=o),a&&t.type!=="transaction"&&(t.transaction=a)}function An(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}function Cn(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}function Nn(t,e){t.contexts={trace:on(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:dn(e),...t.sdkProcessingMetadata};const n=Kt(e),r=z(n).description;r&&!t.transaction&&t.type==="transaction"&&(t.transaction=r)}function xn(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint.length||delete t.fingerprint}function Ar(t,e,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=t,c={...e,event_id:e.event_id||n.event_id||b(),timestamp:e.timestamp||at()},u=n.integrations||t.integrations.map(A=>A.name);Rn(c,t),kn(c,u),s&&s.emit("applyFrameMetadata",e),e.type===void 0&&Dn(c,t.stackParser);const p=Pn(r,n.captureContext);n.mechanism&&Ce(c,n.mechanism);const f=s?s.getEventProcessors():[],d=Xt(i,p),l=[...n.attachments||[],...d.attachments];l.length&&(n.attachments=l),In(c,d);const h=[...f,...d.eventProcessors];return(n.data&&n.data.__sentry__===!0?Jt(c):En(h,c,n)).then(A=>(A&&On(A),typeof o=="number"&&o>0?Mn(A,o,a):A))}function Rn(t,e){const{environment:n,release:r,dist:s,maxValueLength:i}=e;t.environment=t.environment||n||Wt,!t.release&&r&&(t.release=r),!t.dist&&s&&(t.dist=s);const o=t.request;o?.url&&i&&(o.url=X(o.url,i)),i&&t.exception?.values?.forEach(a=>{a.value&&(a.value=X(a.value,i))})}function Dn(t,e){const n=bn(e);t.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.filename&&(s.debug_id=n[s.filename])})})}function On(t){const e={};if(t.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.debug_id&&(s.abs_path?e[s.abs_path]=s.debug_id:s.filename&&(e[s.filename]=s.debug_id),delete s.debug_id)})}),Object.keys(e).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach(([r,s])=>{n.push({type:"sourcemap",code_file:r,debug_id:s})})}function kn(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function Mn(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(s=>({...s,...s.data&&{data:E(s.data,e,n)}}))},...t.user&&{user:E(t.user,e,n)},...t.contexts&&{contexts:E(t.contexts,e,n)},...t.extra&&{extra:E(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=E(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(s=>({...s,...s.data&&{data:E(s.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=E(t.contexts.flags,3,n)),r}function Pn(t,e){if(!e)return t;const n=t?t.clone():new m;return n.update(e),n}function Ln(t){if(t)return wn(t)?{captureContext:t}:jn(t)?{captureContext:t}:t}function wn(t){return t instanceof m||typeof t=="function"}const Fn=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function jn(t){return Object.keys(t).some(e=>Fn.includes(e))}function Cr(t,e){return R().captureException(t,Ln(e))}function Nr(t,e){return R().captureEvent(t,e)}function Un(t){V().setUser(t)}function xr(t){const e=V(),{user:n}=Xt(e,R()),{userAgent:r}=_.navigator||{},s=Re({user:n,...r&&{userAgent:r},...t}),i=e.getSession();return i?.status==="ok"&&v(i,{status:"exited"}),qt(),e.setSession(s),s}function qt(){const t=V(),n=R().getSession()||t.getSession();n&&De(n),Zt(),t.setSession()}function Zt(){const t=V(),e=ut(),n=t.getSession();n&&e&&e.captureSession(n)}function Rr(t=!1){if(t){qt();return}Zt()}const Dr=Qt("user",()=>{const t=te();return{user:t,setUser:r=>{t.value=r,Un({username:r.onPremisesSamAccountName})},reset:()=>{t.value=null}}});export{v as $,R as A,yr as B,ur as C,S as D,mr as E,pn as F,_ as G,ir as H,P as I,G as J,Z as K,Ir as L,V as M,Sr as N,lr as O,ve as P,j as Q,Jt as R,ar as S,gr as T,yn as U,be as V,at as W,hr as X,b as Y,sr as Z,St as _,mt as a,Wt as a0,Ar as a1,or as a2,Tr as a3,J as a4,de as a5,Yn as a6,B as a7,U as a8,Pt as a9,ce as aA,ae as aB,Se as aC,Xn as aD,tr as aE,xr as aF,Rr as aG,Nr as aH,Gn as aI,Er as aJ,Dr as aK,pe as aa,rt as ab,O as ac,Zn as ad,nr as ae,er as af,L as ag,Bn as ah,qn as ai,pt as aj,Vn as ak,dr as al,I as am,Hn as an,Ee as ao,Jn as ap,rr as aq,Ce as ar,Cr as as,zn as at,Kn as au,Wn as av,le as aw,ln as ax,Qn as ay,F as az,Ut as b,nt as c,g as d,_r as e,dn as f,fe as g,br as h,Ie as i,zt as j,Kt as k,cr as l,Ge as m,E as n,Ve as o,Vt as p,It as q,$e as r,z as s,ct as t,an as u,pr as v,fr as w,fn as x,ut as y,Bt as z}; diff --git a/web-dist/js/chunks/user-C7xYeMZ3.mjs.gz b/web-dist/js/chunks/user-C7xYeMZ3.mjs.gz new file mode 100644 index 0000000000..dbd53f1e2b Binary files /dev/null and b/web-dist/js/chunks/user-C7xYeMZ3.mjs.gz differ diff --git a/web-dist/js/chunks/v4-EwEgHOG0.mjs b/web-dist/js/chunks/v4-EwEgHOG0.mjs new file mode 100644 index 0000000000..4ba55c24d7 --- /dev/null +++ b/web-dist/js/chunks/v4-EwEgHOG0.mjs @@ -0,0 +1 @@ +const e=[];for(let n=0;n<256;++n)e.push((n+256).toString(16).slice(1));function i(n,t=0){return(e[n[t+0]]+e[n[t+1]]+e[n[t+2]]+e[n[t+3]]+"-"+e[n[t+4]]+e[n[t+5]]+"-"+e[n[t+6]]+e[n[t+7]]+"-"+e[n[t+8]]+e[n[t+9]]+"-"+e[n[t+10]]+e[n[t+11]]+e[n[t+12]]+e[n[t+13]]+e[n[t+14]]+e[n[t+15]]).toLowerCase()}let o;const r=new Uint8Array(16);function y(){if(!o){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");o=crypto.getRandomValues.bind(crypto)}return o(r)}const m=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),d={randomUUID:m};function p(n,t,c){n=n||{};const u=n.random??n.rng?.()??y();if(u.length<16)throw new Error("Random bytes length must be >= 16");return u[6]=u[6]&15|64,u[8]=u[8]&63|128,i(u)}function g(n,t,c){return d.randomUUID&&!n?d.randomUUID():p(n)}export{g as v}; diff --git a/web-dist/js/chunks/v4-EwEgHOG0.mjs.gz b/web-dist/js/chunks/v4-EwEgHOG0.mjs.gz new file mode 100644 index 0000000000..71da86d138 Binary files /dev/null and b/web-dist/js/chunks/v4-EwEgHOG0.mjs.gz differ diff --git a/web-dist/js/chunks/vb-CmGdzxic.mjs b/web-dist/js/chunks/vb-CmGdzxic.mjs new file mode 100644 index 0000000000..eb7b398f26 --- /dev/null +++ b/web-dist/js/chunks/vb-CmGdzxic.mjs @@ -0,0 +1 @@ +var u="error";function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var b=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),k=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),x=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),m=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),I=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),R=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),a=["class","module","sub","enum","select","while","if","function","get","set","property","try","structure","synclock","using","with"],f=["else","elseif","case","catch","finally"],h=["next","loop"],s=["and","andalso","or","orelse","xor","in","not","is","isnot","like"],O=o(s),v=["#const","#else","#elseif","#end","#if","#region","addhandler","addressof","alias","as","byref","byval","cbool","cbyte","cchar","cdate","cdbl","cdec","cint","clng","cobj","compare","const","continue","csbyte","cshort","csng","cstr","cuint","culng","cushort","declare","default","delegate","dim","directcast","each","erase","error","event","exit","explicit","false","for","friend","gettype","goto","handles","implements","imports","infer","inherits","interface","isfalse","istrue","lib","me","mod","mustinherit","mustoverride","my","mybase","myclass","namespace","narrowing","new","nothing","notinheritable","notoverridable","of","off","on","operator","option","optional","out","overloads","overridable","overrides","paramarray","partial","private","protected","public","raiseevent","readonly","redim","removehandler","resume","return","shadows","shared","static","step","stop","strict","then","throw","to","true","trycast","typeof","until","until","when","widening","withevents","writeonly"],p=["object","boolean","char","string","byte","sbyte","short","ushort","int16","uint16","integer","uinteger","int32","uint32","long","ulong","int64","uint64","decimal","single","double","float","date","datetime","intptr","uintptr"],z=o(v),E=o(p),C='"',S=o(a),g=o(f),y=o(h),w=o(["end"]),T=o(["do"]);function l(e,n){n.currentIndent++}function c(e,n){n.currentIndent--}function d(e,n){if(e.eatSpace())return null;var i=e.peek();if(i==="'")return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var r=!1;if((e.match(/^\d*\.\d+F?/i)||e.match(/^\d+\.\d*F?/)||e.match(/^\.\d+F?/))&&(r=!0),r)return e.eat(/J/i),"number";var t=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?t=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),t=!0):e.match(/^0(?![\dx])/i)&&(t=!0),t)return e.eat(/L/i),"number"}return e.match(C)?(n.tokenize=F(e.current()),n.tokenize(e,n)):e.match(I)||e.match(m)?null:e.match(x)||e.match(b)||e.match(O)?"operator":e.match(k)?null:e.match(T)?(l(e,n),n.doInCurrentLine=!0,"keyword"):e.match(S)?(n.doInCurrentLine?n.doInCurrentLine=!1:l(e,n),"keyword"):e.match(g)?"keyword":e.match(w)?(c(e,n),c(e,n),"keyword"):e.match(y)?(c(e,n),"keyword"):e.match(E)||e.match(z)?"keyword":e.match(R)?"variable":(e.next(),u)}function F(e){var n=e.length==1,i="string";return function(r,t){for(;!r.eol();){if(r.eatWhile(/[^'"]/),r.match(e))return t.tokenize=d,i;r.eat(/['"]/)}return n&&(t.tokenize=d),i}}function K(e,n){var i=n.tokenize(e,n),r=e.current();if(r===".")return i=n.tokenize(e,n),i==="variable"?"variable":u;var t="[({".indexOf(r);return t!==-1&&l(e,n),t="])}".indexOf(r),t!==-1&&c(e,n)?u:i}const L={name:"vb",startState:function(){return{tokenize:d,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var i=K(e,n);return n.lastToken={style:i,content:e.current()},i},indent:function(e,n,i){var r=n.replace(/^\s+|\s+$/g,"");return r.match(y)||r.match(w)||r.match(g)?i.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*i.unit},languageData:{closeBrackets:{brackets:["(","[","{",'"']},commentTokens:{line:"'"},autocomplete:a.concat(f).concat(h).concat(s).concat(v).concat(p)}};export{L as vb}; diff --git a/web-dist/js/chunks/vb-CmGdzxic.mjs.gz b/web-dist/js/chunks/vb-CmGdzxic.mjs.gz new file mode 100644 index 0000000000..0031e85b04 Binary files /dev/null and b/web-dist/js/chunks/vb-CmGdzxic.mjs.gz differ diff --git a/web-dist/js/chunks/vbscript-BuJXcnF6.mjs b/web-dist/js/chunks/vbscript-BuJXcnF6.mjs new file mode 100644 index 0000000000..f10f7a01a5 --- /dev/null +++ b/web-dist/js/chunks/vbscript-BuJXcnF6.mjs @@ -0,0 +1 @@ +function p(h){var v="error";function i(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var y=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),g=new RegExp("^((<>)|(<=)|(>=))"),m=new RegExp("^[\\.,]"),w=new RegExp("^[\\(\\)]"),k=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),x=["class","sub","select","while","if","function","property","with","for"],C=["else","elseif","case"],I=["next","loop","wend"],S=i(["and","or","not","xor","is","mod","eqv","imp"]),O=["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"],D=["true","false","nothing","empty","null"],R=["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"],E=["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"],a=["WScript","err","debug","RegExp"],L=["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"],T=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"],j=["server","response","request","session","application"],F=["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"],B=["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],c=T.concat(L);a=a.concat(E),h.isASP&&(a=a.concat(j),c=c.concat(B,F));var W=i(O),z=i(D),A=i(R),K=i(a),N=i(c),M='"',P=i(x),b=i(C),d=i(I),s=i(["end"]),q=i(["do"]),V=i(["on error resume next","exit"]),Y=i(["rem"]);function f(e,n){n.currentIndent++}function u(e,n){n.currentIndent--}function l(e,n){if(e.eatSpace())return null;var r=e.peek();if(r==="'"||e.match(Y))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var t=!1;if((e.match(/^\d*\.\d+/i)||e.match(/^\d+\.\d*/)||e.match(/^\.\d+/))&&(t=!0),t)return e.eat(/J/i),"number";var o=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?o=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),o=!0):e.match(/^0(?![\dx])/i)&&(o=!0),o)return e.eat(/L/i),"number"}return e.match(M)?(n.tokenize=_(e.current()),n.tokenize(e,n)):e.match(g)||e.match(y)||e.match(S)?"operator":e.match(m)?null:e.match(w)?"bracket":e.match(V)?(n.doInCurrentLine=!0,"keyword"):e.match(q)?(f(e,n),n.doInCurrentLine=!0,"keyword"):e.match(P)?(n.doInCurrentLine?n.doInCurrentLine=!1:f(e,n),"keyword"):e.match(b)?"keyword":e.match(s)?(u(e,n),u(e,n),"keyword"):e.match(d)?(n.doInCurrentLine?n.doInCurrentLine=!1:u(e,n),"keyword"):e.match(W)?"keyword":e.match(z)?"atom":e.match(N)?"variableName.special":e.match(A)||e.match(K)?"builtin":e.match(k)?"variable":(e.next(),v)}function _(e){var n=e.length==1,r="string";return function(t,o){for(;!t.eol();){if(t.eatWhile(/[^'"]/),t.match(e))return o.tokenize=l,r;t.eat(/['"]/)}return n&&(o.tokenize=l),r}}function H(e,n){var r=n.tokenize(e,n),t=e.current();return t==="."?(r=n.tokenize(e,n),t=e.current(),r&&(r.substr(0,8)==="variable"||r==="builtin"||r==="keyword")?((r==="builtin"||r==="keyword")&&(r="variable"),c.indexOf(t.substr(1))>-1&&(r="keyword"),r):v):r}return{name:"vbscript",startState:function(){return{tokenize:l,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var r=H(e,n);return n.lastToken={style:r,content:e.current()},r===null&&(r=null),r},indent:function(e,n,r){var t=n.replace(/^\s+|\s+$/g,"");return t.match(d)||t.match(s)||t.match(b)?r.unit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*r.unit}}}const J=p({}),U=p({isASP:!0});export{J as vbScript,U as vbScriptASP}; diff --git a/web-dist/js/chunks/vbscript-BuJXcnF6.mjs.gz b/web-dist/js/chunks/vbscript-BuJXcnF6.mjs.gz new file mode 100644 index 0000000000..d8db8263e2 Binary files /dev/null and b/web-dist/js/chunks/vbscript-BuJXcnF6.mjs.gz differ diff --git a/web-dist/js/chunks/velocity-D8B20fx6.mjs b/web-dist/js/chunks/velocity-D8B20fx6.mjs new file mode 100644 index 0000000000..9f87ece846 --- /dev/null +++ b/web-dist/js/chunks/velocity-D8B20fx6.mjs @@ -0,0 +1 @@ +function u(n){for(var e={},i=n.split(" "),r=0;r!?:\/|]/;function o(n,e,i){return e.tokenize=i,i(n,e)}function t(n,e){var i=e.beforeParams;e.beforeParams=!1;var r=n.next();if(r=="'"&&!e.inString&&e.inParams)return e.lastTokenWasBuiltin=!1,o(n,e,p(r));if(r=='"'){if(e.lastTokenWasBuiltin=!1,e.inString)return e.inString=!1,"string";if(e.inParams)return o(n,e,p(r))}else{if(/[\[\]{}\(\),;\.]/.test(r))return r=="("&&i?e.inParams=!0:r==")"&&(e.inParams=!1,e.lastTokenWasBuiltin=!0),null;if(/\d/.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(/[\w\.]/),"number";if(r=="#"&&n.eat("*"))return e.lastTokenWasBuiltin=!1,o(n,e,h);if(r=="#"&&n.match(/ *\[ *\[/))return e.lastTokenWasBuiltin=!1,o(n,e,b);if(r=="#"&&n.eat("#"))return e.lastTokenWasBuiltin=!1,n.skipToEnd(),"comment";if(r=="$")return n.eat("!"),n.eatWhile(/[\w\d\$_\.{}-]/),c&&c.propertyIsEnumerable(n.current())?"keyword":(e.lastTokenWasBuiltin=!0,e.beforeParams=!0,"builtin");if(k.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(k),"operator";n.eatWhile(/[\w\$_{}@]/);var l=n.current();return s&&s.propertyIsEnumerable(l)?"keyword":a&&a.propertyIsEnumerable(l)||n.current().match(/^#@?[a-z0-9_]+ *$/i)&&n.peek()=="("&&!(a&&a.propertyIsEnumerable(l.toLowerCase()))?(e.beforeParams=!0,e.lastTokenWasBuiltin=!1,"keyword"):e.inString?(e.lastTokenWasBuiltin=!1,"string"):n.pos>l.length&&n.string.charAt(n.pos-l.length-1)=="."&&e.lastTokenWasBuiltin?"builtin":(e.lastTokenWasBuiltin=!1,null)}}function p(n){return function(e,i){for(var r=!1,l,f=!1;(l=e.next())!=null;){if(l==n&&!r){f=!0;break}if(n=='"'&&e.peek()=="$"&&!r){i.inString=!0,f=!0;break}r=!r&&l=="\\"}return f&&(i.tokenize=t),"string"}}function h(n,e){for(var i=!1,r;r=n.next();){if(r=="#"&&i){e.tokenize=t;break}i=r=="*"}return"comment"}function b(n,e){for(var i=0,r;r=n.next();){if(r=="#"&&i==2){e.tokenize=t;break}r=="]"?i++:r!=" "&&(i=0)}return"meta"}const W={name:"velocity",startState:function(){return{tokenize:t,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(n,e){return n.eatSpace()?null:e.tokenize(n,e)},languageData:{commentTokens:{line:"##",block:{open:"#*",close:"*#"}}}};export{W as velocity}; diff --git a/web-dist/js/chunks/velocity-D8B20fx6.mjs.gz b/web-dist/js/chunks/velocity-D8B20fx6.mjs.gz new file mode 100644 index 0000000000..9a6d3f35e4 Binary files /dev/null and b/web-dist/js/chunks/velocity-D8B20fx6.mjs.gz differ diff --git a/web-dist/js/chunks/verilog-C6RDOZhf.mjs b/web-dist/js/chunks/verilog-C6RDOZhf.mjs new file mode 100644 index 0000000000..2a1290dd42 --- /dev/null +++ b/web-dist/js/chunks/verilog-C6RDOZhf.mjs @@ -0,0 +1 @@ +function A(i){var o=i.statementIndentUnit,u=i.dontAlignCalls,c=i.noIndentKeywords||[],s=i.multiLineStrings,a=i.hooks||{};function g(e){for(var n={},t=e.split(" "),r=0;r=0)return r}var l=e.context,y=n&&n.charAt(0);l.type=="statement"&&y=="}"&&(l=l.prev);var x=!1,$=n.match(M);return $&&(x=N($[0],l.type)),l.type=="statement"?l.indented+(y=="{"?0:o||t.unit):U.test(l.type)&&l.align&&!u?l.column+(x?0:1):l.type==")"&&!x?l.indented+(o||t.unit):l.indented+(x?0:t.unit)},languageData:{indentOnInput:P(),commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}}}const J=A({});var z={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"contentSeparator","/":"property","/-":"property","@":"variableName.special","@-":"variableName.special","@++":"variableName.special","@+=":"variableName.special","@+=-":"variableName.special","@--":"variableName.special","@-=":"variableName.special","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable","**":"variable","\\":"keyword",'"':"comment"},E={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},S=3,q=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,F=/^[! ] */,G=/^\/[\/\*]/;const Q=A({hooks:{electricInput:!1,token:function(i,o){var u=void 0,c;if(i.sol()&&!o.tlvInBlockComment){i.peek()=="\\"&&(u="def",i.skipToEnd(),i.string.match(/\\SV/)?o.tlvCodeActive=!1:i.string.match(/\\TLV/)&&(o.tlvCodeActive=!0)),o.tlvCodeActive&&i.pos==0&&o.indented==0&&(c=i.match(F,!1))&&(o.indented=c[0].length);var s=o.indented,a=s/S;if(a<=o.tlvIndentationStyle.length){var g=i.string.length==s,h=a*S;if(h0||(o.tlvIndentationStyle[a]=E[k],a++))}if(!g)for(;o.tlvIndentationStyle.length>a;)o.tlvIndentationStyle.pop()}o.tlvNextIndent=s}if(o.tlvCodeActive){var c;if(u===void 0)if(o.tlvInBlockComment)i.match(/^.*?\*\//)?o.tlvInBlockComment=!1:i.skipToEnd(),u="comment";else if((c=i.match(G))&&!o.tlvInBlockComment)c[0]=="//"?i.skipToEnd():o.tlvInBlockComment=!0,u="comment";else if(c=i.match(q)){var b=c[1],I=c[2];z.hasOwnProperty(b)&&(I.length>0||i.eol())?u=z[b]:i.backUp(i.current().length-1)}else i.match(/^\t+/)?u="invalid":i.match(/^[\[\]{}\(\);\:]+/)?u="meta":(c=i.match(/^[mM]4([\+_])?[\w\d_]*/))?u=c[1]=="+"?"keyword.special":"keyword":i.match(/^ +/)?i.eol()&&(u="error"):i.match(/^[\w\d_]+/)?u="number":i.next()}else i.match(/^[mM]4([\w\d_]*)/)&&(u="keyword");return u},indent:function(i){return i.tlvCodeActive==!0?i.tlvNextIndent:-1},startState:function(i){i.tlvIndentationStyle=[],i.tlvCodeActive=!0,i.tlvNextIndent=-1,i.tlvInBlockComment=!1}}});export{Q as tlv,J as verilog}; diff --git a/web-dist/js/chunks/verilog-C6RDOZhf.mjs.gz b/web-dist/js/chunks/verilog-C6RDOZhf.mjs.gz new file mode 100644 index 0000000000..5caf609b36 Binary files /dev/null and b/web-dist/js/chunks/verilog-C6RDOZhf.mjs.gz differ diff --git a/web-dist/js/chunks/vhdl-lSbBsy5d.mjs b/web-dist/js/chunks/vhdl-lSbBsy5d.mjs new file mode 100644 index 0000000000..3b344d67f4 --- /dev/null +++ b/web-dist/js/chunks/vhdl-lSbBsy5d.mjs @@ -0,0 +1 @@ +function f(e){for(var t={},n=e.split(","),r=0;r=Mt){var d=Gt(e);if(d)return rt(d);l=!1,s=Nt,a=new At}else a=p;e:for(;++rObject.hasOwn(e,"sharedWith"),er=e=>st(e)&&e.outgoing,tr=e=>st(e)&&!e.outgoing,nr=e=>Object.hasOwn(e,"role"),rr=e=>!Object.hasOwn(e,"role"),$t=({driveItem:e,graphRoles:t})=>e.remoteItem?.permissions.reduce((n,r)=>(r.roles?.forEach(s=>{const i=t[s];i&&!n.some(({id:l})=>l===i.id)&&n.push(i)}),n),[]),Ft=({driveItem:e,shareRoles:t})=>{if(!t.length){const r=e.remoteItem?.permissions.reduce((s,i)=>{const l=i["@libre.graph.permissions.actions"];return l&&s.push(...l),s},[]);return[...new Set(r)]}const n=t.reduce((r,s)=>(s.rolePermissions.forEach(i=>{r.push(...i.allowedResourceActions)}),r),[]);return[...new Set(n)]};function sr({driveItem:e,graphRoles:t,serverUrl:n}){const r=e.name||e.remoteItem.name,s=Ye(e.remoteItem.id),i=e.remoteItem.permissions.map(u=>{const{grantedToV2:f}=u;return{...f.group||f.user,shareType:re(u)}}),l=e.remoteItem.permissions.reduce((u,f)=>{const E=f.invitation.invitedBy.user;return u.some(({id:N})=>N===E.id)||u.push(E),u},[]);let p=Ut(e.remoteItem.permissions.map(re));l.some(u=>u["@libre.graph.userType"]==="Federated")&&(p=[q.remote.value]);const d=$t({driveItem:e,graphRoles:t}),h=Ft({driveItem:e,shareRoles:d}),c={id:e.id,remoteItemId:e.remoteItem.id,driveId:e.parentReference?.driveId,path:"/",name:r,fileId:e.remoteItem.id,size:e.size,storageId:s,parentFolderId:e.parentReference?.id,sdate:e.remoteItem.permissions[0].createdDateTime,tags:[],webDavPath:Je(e.remoteItem.id,"/"),sharedBy:l,owner:e.remoteItem.createdBy?.user,sharedWith:i,shareTypes:p,isFolder:!!e.folder,type:e.folder?"folder":"file",mimeType:e.file?.mimeType||"httpd/unix-directory",mdate:e.lastModifiedDateTime?new Date(e.lastModifiedDateTime).toUTCString():void 0,syncEnabled:e["@client.synchronize"],hidden:e["@UI.Hidden"],shareRoles:d,sharePermissions:h,outgoing:!1,privateLink:Ae(n,"f",e.remoteItem.id),hasPreview:()=>!!e.thumbnails,canRename:()=>e["@client.synchronize"],canDownload:()=>h.includes(ee.readContent),canUpload:()=>h.includes(ee.createUpload),canCreate:()=>h.includes(ee.createChildren),canBeDeleted:()=>h.includes(ee.deleteStandard),canEditTags:()=>h.includes(ee.createUpload),isMounted:()=>!1,isReceivedShare:()=>!0,canShare:()=>!1,isShareRoot:()=>!0,getDomSelector:()=>Ze(e.id)};return c.extension=Xe(c),c}function or({driveItem:e,user:t,serverUrl:n}){const r=Ye(e.id),s=Ae(e.parentReference.path,e.name),i={id:e.id,driveId:e.parentReference?.driveId,path:s,name:e.name,fileId:e.id,size:e.size,storageId:r,parentFolderId:e.parentReference?.id,sdate:e.permissions[0].createdDateTime,tags:[],webDavPath:Je(r,s),sharedBy:[{id:t.id,displayName:t.displayName}],owner:{id:t.id,displayName:t.displayName},sharedWith:e.permissions.map(l=>{if(l.link)return{id:l.id,displayName:l.link["@libre.graph.displayName"],shareType:q.link.value};const p=re(l);return{...l.grantedToV2.user||l.grantedToV2.group,shareType:p}}),shareTypes:e.permissions.map(re),isFolder:!!e.folder,type:e.folder?"folder":"file",mimeType:e.file?.mimeType||"httpd/unix-directory",outgoing:!0,privateLink:Ae(n,"f",e.id),hasPreview:()=>!!e.thumbnails,canRename:()=>!0,canDownload:()=>!0,canUpload:()=>!0,canCreate:()=>!0,canBeDeleted:()=>!0,canEditTags:()=>!0,isMounted:()=>!1,isShareRoot:()=>!1,isReceivedShare:()=>!0,canShare:()=>!0,getDomSelector:()=>Ze(e.id)};return i.extension=Xe(i),i}function ir({graphPermission:e,graphRoles:t,resourceId:n,indirect:r=!1}){const s=t[e.roles?.[0]],i=e.invitation?.invitedBy?.user;return{id:e.id,resourceId:n,indirect:r,shareType:re(e),role:s,sharedBy:{id:i?.id,displayName:i?.displayName},sharedWith:e.grantedToV2.user||e.grantedToV2.group,permissions:e["@libre.graph.permissions.actions"]?e["@libre.graph.permissions.actions"]:s.rolePermissions.flatMap(l=>l.allowedResourceActions),createdDateTime:e.createdDateTime,expirationDateTime:e.expirationDateTime}}function ar({graphPermission:e,resourceId:t,indirect:n=!1}){const r=e.invitation?.invitedBy?.user;return{id:e.id,resourceId:t,indirect:n,shareType:q.link.value,sharedBy:{id:r?.id,displayName:r?.displayName},hasPassword:e.hasPassword,createdDateTime:e.createdDateTime,expirationDateTime:e.expirationDateTime,displayName:e.link["@libre.graph.displayName"],isQuickLink:e.link["@libre.graph.quickLink"],type:e.link.type,webUrl:e.link.webUrl,preventsDownload:e.link.preventsDownload}}function re({link:e,grantedToV2:t}){return e?q.link.value:t?.group?q.group.value:t?.user?.["@libre.graph.userType"]==="Federated"?q.remote.value:q.user.value}const Ht=()=>{const e=Ot(),t=T(()=>e.options.embed?.enabled),n=T(()=>e.options.embed?.target==="location"),r=T(()=>e.options.embed?.chooseFileName),s=T(()=>e.options.embed?.chooseFileNameSuggestion),i=T(()=>e.options.embed?.target==="file"),l=T(()=>e.options.embed?.fileTypes),p=T(()=>e.options.embed?.messagesOrigin),a=T(()=>B(t)&&e.options.embed?.delegateAuthentication),d=T(()=>e.options.embed?.delegateAuthenticationOrigin);return{isEnabled:t,isLocationPicker:n,chooseFileName:r,chooseFileNameSuggestion:s,isFilePicker:i,messagesTargetOrigin:p,isDelegatingAuthentication:a,fileTypes:l,postMessage:(u,f)=>{const E={};B(p)&&(E.targetOrigin=B(p)),window.parent.postMessage({name:u,data:f},E)},verifyDelegatedAuthenticationOrigin:u=>B(d)?B(d)===u:!0}},jt=()=>{const{width:e}=bt();return{isMobile:T(()=>e.value<640)}},cr=wt("sideBar",()=>{const{isEnabled:e}=Ht(),t=Ct("oc_sideBarOpen",!1),{isMobile:n}=jt(),r=Se(!1),s=Se(null),i=T({get(){return B(e)?B(r):B(t)},set(f){if(B(e)){r.value=f;return}t.value=f}}),l=async()=>{await et();const f=document.getElementById("app-sidebar");f&&f.focus()};return{isSideBarOpen:i,sideBarActivePanel:s,focusSidebar:l,onInitialLoad:()=>{B(n)&&(i.value=!1)},toggleSideBar:()=>{i.value=!B(i),B(i)&&l()},closeSideBar:()=>{i.value=!1,s.value=null},openSideBar:()=>{i.value=!0,s.value=null,l()},openSideBarPanel:f=>{i.value=!0,s.value=f,l()},setActiveSideBarPanel:f=>{s.value=f}}});const K=typeof document<"u";function ot(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function qt(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ot(e.default)}const O=Object.assign;function Re(e,t){const n={};for(const r in t){const s=t[r];n[r]=M(s)?s.map(e):e(s)}return n}const ne=()=>{},M=Array.isArray;function xe(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}let _=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const it=Symbol("");_.MATCHER_NOT_FOUND+"",_.NAVIGATION_GUARD_REDIRECT+"",_.NAVIGATION_ABORTED+"",_.NAVIGATION_CANCELLED+"",_.NAVIGATION_DUPLICATED+"";function Q(e,t){return O(new Error,{type:e,[it]:!0},t)}function V(e,t){return e instanceof Error&&it in e&&(t==null||!!(e.type&t))}const Wt=["params","query","hash"];function zt(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Wt)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const at=Symbol(""),ke=Symbol(""),ae=Symbol(""),Ce=Symbol(""),Ne=Symbol("");function lr(){return H(ae)}function ur(e){return H(Ce)}const ct=/#/g,Kt=/&/g,Qt=/\//g,Yt=/=/g,Jt=/\?/g,lt=/\+/g,Xt=/%5B/g,Zt=/%5D/g,ut=/%5E/g,en=/%60/g,ft=/%7B/g,tn=/%7C/g,dt=/%7D/g,nn=/%20/g;function _e(e){return e==null?"":encodeURI(""+e).replace(tn,"|").replace(Xt,"[").replace(Zt,"]")}function rn(e){return _e(e).replace(ft,"{").replace(dt,"}").replace(ut,"^")}function Oe(e){return _e(e).replace(lt,"%2B").replace(nn,"+").replace(ct,"%23").replace(Kt,"%26").replace(en,"`").replace(ft,"{").replace(dt,"}").replace(ut,"^")}function sn(e){return Oe(e).replace(Yt,"%3D")}function on(e){return _e(e).replace(ct,"%23").replace(Jt,"%3F")}function an(e){return on(e).replace(Qt,"%2F")}function se(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const cn=/\/$/,ln=e=>e.replace(cn,"");function ye(e,t,n="/"){let r,s={},i="",l="";const p=t.indexOf("#");let a=t.indexOf("?");return a=p>=0&&a>p?-1:a,a>=0&&(r=t.slice(0,a),i=t.slice(a,p>0?p:t.length),s=e(i.slice(1))),p>=0&&(r=r||t.slice(0,p),l=t.slice(p,t.length)),r=hn(r??t,n),{fullPath:r+i+l,path:r,query:s,hash:se(l)}}function un(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Le(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function fn(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Y(t.matched[r],n.matched[s])&&ht(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Y(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ht(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!dn(e[n],t[n]))return!1;return!0}function dn(e,t){return M(e)?Ge(e,t):M(t)?Ge(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Ge(e,t){return M(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function hn(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,l,p;for(l=0;l1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(l).join("/")}const $={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let be=(function(e){return e.pop="pop",e.push="push",e})({}),Ee=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function pn(e){if(!e)if(K){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ln(e)}const mn=/^[^#]+#/;function gn(e,t){return e.replace(mn,"#")+t}function Rn(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ce=()=>({left:window.scrollX,top:window.scrollY});function yn(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Rn(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Me(e,t){return(history.state?history.state.position-t:-1)+e}const we=new Map;function En(e,t){we.set(e,t)}function vn(e){const t=we.get(e);return we.delete(e),t}function An(e){return typeof e=="string"||e&&typeof e=="object"}function pt(e){return typeof e=="string"||typeof e=="symbol"}function Sn(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;rs&&Oe(s)):[r&&Oe(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Nn(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=M(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}function te(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function On(e,t,n){const r=e.value;if(!r)return;let s=r;const i=()=>{s[t].delete(n)};_t(i),Tt(i),Pt(()=>{const l=e.value;l&&(s=l),s[t].add(n)}),s[t].add(n)}function fr(e){On(H(at,{}),"leaveGuards",e)}function F(e,t,n,r,s,i=l=>l()){const l=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((p,a)=>{const d=u=>{u===!1?a(Q(_.NAVIGATION_ABORTED,{from:n,to:t})):u instanceof Error?a(u):An(u)?a(Q(_.NAVIGATION_GUARD_REDIRECT,{from:t,to:u})):(l&&r.enterCallbacks[s]===l&&typeof u=="function"&&l.push(u),p())},h=i(()=>e.call(r&&r.instances[s],t,n,d));let c=Promise.resolve(h);e.length<3&&(c=c.then(d)),c.catch(u=>a(u))})}function ve(e,t,n,r,s=i=>i()){const i=[];for(const l of e)for(const p in l.components){let a=l.components[p];if(!(t!=="beforeRouteEnter"&&!l.instances[p]))if(ot(a)){const d=(a.__vccOpts||a)[t];d&&i.push(F(d,n,r,l,p,s))}else{let d=a();i.push(()=>d.then(h=>{if(!h)throw new Error(`Couldn't resolve component "${p}" at "${l.path}"`);const c=qt(h)?h.default:h;l.mods[p]=h,l.components[p]=c;const u=(c.__vccOpts||c)[t];return u&&F(u,n,r,l,p,s)()}))}}return i}function bn(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let l=0;lY(d,p))?r.push(p):n.push(p));const a=e.matched[l];a&&(t.matched.find(d=>Y(d,a))||s.push(a))}return[n,r,s]}let wn=()=>location.protocol+"//"+location.host;function mt(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let l=s.includes(e.slice(i))?e.slice(i).length:1,p=s.slice(l);return p[0]!=="/"&&(p="/"+p),Le(p,"")}return Le(n,e)+r+s}function Cn(e,t,n,r){let s=[],i=[],l=null;const p=({state:u})=>{const f=mt(e,location),E=n.value,N=t.value;let w=0;if(u){if(n.value=f,t.value=u,l&&l===E){l=null;return}w=N?u.position-N.position:0}else r(f);s.forEach(C=>{C(n.value,E,{delta:w,type:be.pop,direction:w?w>0?Ee.forward:Ee.back:Ee.unknown})})};function a(){l=n.value}function d(u){s.push(u);const f=()=>{const E=s.indexOf(u);E>-1&&s.splice(E,1)};return i.push(f),f}function h(){if(document.visibilityState==="hidden"){const{history:u}=window;if(!u.state)return;u.replaceState(O({},u.state,{scroll:ce()}),"")}}function c(){for(const u of i)u();i=[],window.removeEventListener("popstate",p),window.removeEventListener("pagehide",h),document.removeEventListener("visibilitychange",h)}return window.addEventListener("popstate",p),window.addEventListener("pagehide",h),document.addEventListener("visibilitychange",h),{pauseListeners:a,listen:d,destroy:c}}function Ue(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?ce():null}}function _n(e){const{history:t,location:n}=window,r={value:mt(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(a,d,h){const c=e.indexOf("#"),u=c>-1?(n.host&&document.querySelector("base")?e:e.slice(c))+a:wn()+e+a;try{t[h?"replaceState":"pushState"](d,"",u),s.value=d}catch(f){console.error(f),n[h?"replace":"assign"](u)}}function l(a,d){i(a,O({},t.state,Ue(s.value.back,a,s.value.forward,!0),d,{position:s.value.position}),!0),r.value=a}function p(a,d){const h=O({},s.value,t.state,{forward:a,scroll:ce()});i(h.current,h,!0),i(a,O({},Ue(r.value,a,null),{position:h.position+1},d),!1),r.value=a}return{location:r,state:s,push:p,replace:l}}function Tn(e){e=pn(e);const t=_n(e),n=Cn(e,t.state,t.location,t.replace);function r(i,l=!0){l||n.pauseListeners(),history.go(i)}const s=O({location:"",base:e,go:r,createHref:gn.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function dr(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Tn(e)}let W=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var D=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(D||{});const Pn={type:W.Static,value:""},In=/[a-zA-Z0-9_]/;function Dn(e){if(!e)return[[]];if(e==="/")return[[Pn]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${d}": ${f}`)}let n=D.Static,r=n;const s=[];let i;function l(){i&&s.push(i),i=[]}let p=0,a,d="",h="";function c(){d&&(n===D.Static?i.push({type:W.Static,value:d}):n===D.Param||n===D.ParamRegExp||n===D.ParamRegExpEnd?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),i.push({type:W.Param,value:d,regexp:h,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),d="")}function u(){d+=a}for(;pt.length?t.length===1&&t[0]===x.Static+x.Segment?1:-1:0}function gt(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Gn={strict:!1,end:!0,sensitive:!1};function Mn(e,t,n){const r=kn(Dn(e.path),n),s=O(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Vn(e,t){const n=[],r=new Map;t=xe(Gn,t);function s(c){return r.get(c)}function i(c,u,f){const E=!f,N=je(c);N.aliasOf=f&&f.record;const w=xe(t,c),C=[N];if("alias"in c){const G=typeof c.alias=="string"?[c.alias]:c.alias;for(const j of G)C.push(je(O({},N,{components:f?f.record.components:N.components,path:j,aliasOf:f?f.record:N})))}let S,b;for(const G of C){const{path:j}=G;if(u&&j[0]!=="/"){const U=u.record.path,L=U[U.length-1]==="/"?"":"/";G.path=u.record.path+(j&&L+j)}if(S=Mn(G,u,w),f?f.alias.push(S):(b=b||S,b!==S&&b.alias.push(S),E&&c.name&&!qe(S)&&l(c.name)),Rt(S)&&a(S),N.children){const U=N.children;for(let L=0;L{l(b)}:ne}function l(c){if(pt(c)){const u=r.get(c);u&&(r.delete(c),n.splice(n.indexOf(u),1),u.children.forEach(l),u.alias.forEach(l))}else{const u=n.indexOf(c);u>-1&&(n.splice(u,1),c.record.name&&r.delete(c.record.name),c.children.forEach(l),c.alias.forEach(l))}}function p(){return n}function a(c){const u=Fn(c,n);n.splice(u,0,c),c.record.name&&!qe(c)&&r.set(c.record.name,c)}function d(c,u){let f,E={},N,w;if("name"in c&&c.name){if(f=r.get(c.name),!f)throw Q(_.MATCHER_NOT_FOUND,{location:c});w=f.record.name,E=O(He(u.params,f.keys.filter(b=>!b.optional).concat(f.parent?f.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),c.params&&He(c.params,f.keys.map(b=>b.name))),N=f.stringify(E)}else if(c.path!=null)N=c.path,f=n.find(b=>b.re.test(N)),f&&(E=f.parse(N),w=f.record.name);else{if(f=u.name?r.get(u.name):n.find(b=>b.re.test(u.path)),!f)throw Q(_.MATCHER_NOT_FOUND,{location:c,currentLocation:u});w=f.record.name,E=O({},u.params,c.params),N=f.stringify(E)}const C=[];let S=f;for(;S;)C.unshift(S.record),S=S.parent;return{name:w,path:N,params:E,matched:C,meta:$n(C)}}e.forEach(c=>i(c));function h(){n.length=0,r.clear()}return{addRoute:i,resolve:d,removeRoute:l,clearRoutes:h,getRoutes:p,getRecordMatcher:s}}function He(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function je(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Un(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Un(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function qe(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $n(e){return e.reduce((t,n)=>O(t,n.meta),{})}function Fn(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;gt(e,t[i])<0?r=i:n=i+1}const s=Hn(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function Hn(e){let t=e;for(;t=t.parent;)if(Rt(t)&>(e,t)===0)return t}function Rt({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function We(e){const t=H(ae),n=H(Ce),r=T(()=>{const a=B(e.to);return t.resolve(a)}),s=T(()=>{const{matched:a}=r.value,{length:d}=a,h=a[d-1],c=n.matched;if(!h||!c.length)return-1;const u=c.findIndex(Y.bind(null,h));if(u>-1)return u;const f=ze(a[d-2]);return d>1&&ze(h)===f&&c[c.length-1].path!==f?c.findIndex(Y.bind(null,a[d-2])):u}),i=T(()=>s.value>-1&&Kn(n.params,r.value.params)),l=T(()=>s.value>-1&&s.value===n.matched.length-1&&ht(n.params,r.value.params));function p(a={}){if(zn(a)){const d=t[B(e.replace)?"replace":"push"](B(e.to)).catch(ne);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:r,href:T(()=>r.value.href),isActive:i,isExactActive:l,navigate:p}}function jn(e){return e.length===1?e[0]:e}const qn=tt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:We,setup(e,{slots:t}){const n=Bt(We(e)),{options:r}=H(ae),s=T(()=>({[Ke(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ke(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&jn(t.default(n));return e.custom?i:nt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),Wn=qn;function zn(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Kn(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!M(s)||s.length!==r.length||r.some((i,l)=>i.valueOf()!==s[l].valueOf()))return!1}return!0}function ze(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ke=(e,t,n)=>e??t??n,Qn=tt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=H(Ne),s=T(()=>e.route||r.value),i=H(ke,0),l=T(()=>{let d=B(i);const{matched:h}=s.value;let c;for(;(c=h[d])&&!c.components;)d++;return d}),p=T(()=>s.value.matched[l.value]);me(ke,T(()=>l.value+1)),me(at,p),me(Ne,s);const a=Se();return xt(()=>[a.value,p.value,e.name],([d,h,c],[u,f,E])=>{h&&(h.instances[c]=d,f&&f!==h&&d&&d===u&&(h.leaveGuards.size||(h.leaveGuards=f.leaveGuards),h.updateGuards.size||(h.updateGuards=f.updateGuards))),d&&h&&(!f||!Y(h,f)||!u)&&(h.enterCallbacks[c]||[]).forEach(N=>N(d))},{flush:"post"}),()=>{const d=s.value,h=e.name,c=p.value,u=c&&c.components[h];if(!u)return Qe(n.default,{Component:u,route:d});const f=c.props[h],E=f?f===!0?d.params:typeof f=="function"?f(d):f:null,w=nt(u,O({},E,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(c.instances[h]=null)},ref:a}));return Qe(n.default,{Component:w,route:d})||w}}});function Qe(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Yn=Qn;function hr(e){const t=Vn(e.routes,e),n=e.parseQuery||Sn,r=e.stringifyQuery||Ve,s=e.history,i=te(),l=te(),p=te(),a=Dt($);let d=$;K&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const h=Re.bind(null,o=>""+o),c=Re.bind(null,an),u=Re.bind(null,se);function f(o,g){let m,R;return pt(o)?(m=t.getRecordMatcher(o),R=g):R=o,t.addRoute(R,m)}function E(o){const g=t.getRecordMatcher(o);g&&t.removeRoute(g)}function N(){return t.getRoutes().map(o=>o.record)}function w(o){return!!t.getRecordMatcher(o)}function C(o,g){if(g=O({},g||a.value),typeof o=="string"){const y=ye(n,o,g.path),I=t.resolve({path:y.path},g),Z=s.createHref(y.fullPath);return O(y,I,{params:u(I.params),hash:se(y.hash),redirectedFrom:void 0,href:Z})}let m;if(o.path!=null)m=O({},o,{path:ye(n,o.path,g.path).path});else{const y=O({},o.params);for(const I in y)y[I]==null&&delete y[I];m=O({},o,{params:c(y)}),g.params=c(g.params)}const R=t.resolve(m,g),A=o.hash||"";R.params=h(u(R.params));const P=un(r,O({},o,{hash:rn(A),path:R.path})),v=s.createHref(P);return O({fullPath:P,hash:A,query:r===Ve?Nn(o.query):o.query||{}},R,{redirectedFrom:void 0,href:v})}function S(o){return typeof o=="string"?ye(n,o,a.value.path):O({},o)}function b(o,g){if(d!==o)return Q(_.NAVIGATION_CANCELLED,{from:g,to:o})}function G(o){return L(o)}function j(o){return G(O(S(o),{replace:!0}))}function U(o,g){const m=o.matched[o.matched.length-1];if(m&&m.redirect){const{redirect:R}=m;let A=typeof R=="function"?R(o,g):R;return typeof A=="string"&&(A=A.includes("?")||A.includes("#")?A=S(A):{path:A},A.params={}),O({query:o.query,hash:o.hash,params:A.path!=null?{}:o.params},A)}}function L(o,g){const m=d=C(o),R=a.value,A=o.state,P=o.force,v=o.replace===!0,y=U(m,R);if(y)return L(O(S(y),{state:typeof y=="object"?O({},A,y.state):A,force:P,replace:v}),g||m);const I=m;I.redirectedFrom=g;let Z;return!P&&fn(r,R,m)&&(Z=Q(_.NAVIGATION_DUPLICATED,{to:I,from:R}),Be(R,R,!0,!1)),(Z?Promise.resolve(Z):Te(I,R)).catch(k=>V(k)?V(k,_.NAVIGATION_GUARD_REDIRECT)?k:de(k):fe(k,I,R)).then(k=>{if(k){if(V(k,_.NAVIGATION_GUARD_REDIRECT))return L(O({replace:v},S(k.to),{state:typeof k.to=="object"?O({},A,k.to.state):A,force:P}),g||I)}else k=Ie(I,R,!0,v,A);return Pe(I,R,k),k})}function yt(o,g){const m=b(o,g);return m?Promise.reject(m):Promise.resolve()}function le(o){const g=ie.values().next().value;return g&&typeof g.runWithContext=="function"?g.runWithContext(o):o()}function Te(o,g){let m;const[R,A,P]=bn(o,g);m=ve(R.reverse(),"beforeRouteLeave",o,g);for(const y of R)y.leaveGuards.forEach(I=>{m.push(F(I,o,g))});const v=yt.bind(null,o,g);return m.push(v),z(m).then(()=>{m=[];for(const y of i.list())m.push(F(y,o,g));return m.push(v),z(m)}).then(()=>{m=ve(A,"beforeRouteUpdate",o,g);for(const y of A)y.updateGuards.forEach(I=>{m.push(F(I,o,g))});return m.push(v),z(m)}).then(()=>{m=[];for(const y of P)if(y.beforeEnter)if(M(y.beforeEnter))for(const I of y.beforeEnter)m.push(F(I,o,g));else m.push(F(y.beforeEnter,o,g));return m.push(v),z(m)}).then(()=>(o.matched.forEach(y=>y.enterCallbacks={}),m=ve(P,"beforeRouteEnter",o,g,le),m.push(v),z(m))).then(()=>{m=[];for(const y of l.list())m.push(F(y,o,g));return m.push(v),z(m)}).catch(y=>V(y,_.NAVIGATION_CANCELLED)?y:Promise.reject(y))}function Pe(o,g,m){p.list().forEach(R=>le(()=>R(o,g,m)))}function Ie(o,g,m,R,A){const P=b(o,g);if(P)return P;const v=g===$,y=K?history.state:{};m&&(R||v?s.replace(o.fullPath,O({scroll:v&&y&&y.scroll},A)):s.push(o.fullPath,A)),a.value=o,Be(o,g,m,v),de()}let J;function Et(){J||(J=s.listen((o,g,m)=>{if(!X.listening)return;const R=C(o),A=U(R,X.currentRoute.value);if(A){L(O(A,{replace:!0,force:!0}),R).catch(ne);return}d=R;const P=a.value;K&&En(Me(P.fullPath,m.delta),ce()),Te(R,P).catch(v=>V(v,_.NAVIGATION_ABORTED|_.NAVIGATION_CANCELLED)?v:V(v,_.NAVIGATION_GUARD_REDIRECT)?(L(O(S(v.to),{force:!0}),R).then(y=>{V(y,_.NAVIGATION_ABORTED|_.NAVIGATION_DUPLICATED)&&!m.delta&&m.type===be.pop&&s.go(-1,!1)}).catch(ne),Promise.reject()):(m.delta&&s.go(-m.delta,!1),fe(v,R,P))).then(v=>{v=v||Ie(R,P,!1),v&&(m.delta&&!V(v,_.NAVIGATION_CANCELLED)?s.go(-m.delta,!1):m.type===be.pop&&V(v,_.NAVIGATION_ABORTED|_.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),Pe(R,P,v)}).catch(ne)}))}let ue=te(),De=te(),oe;function fe(o,g,m){de(o);const R=De.list();return R.length?R.forEach(A=>A(o,g,m)):console.error(o),Promise.reject(o)}function vt(){return oe&&a.value!==$?Promise.resolve():new Promise((o,g)=>{ue.add([o,g])})}function de(o){return oe||(oe=!o,Et(),ue.list().forEach(([g,m])=>o?m(o):g()),ue.reset()),o}function Be(o,g,m,R){const{scrollBehavior:A}=e;if(!K||!A)return Promise.resolve();const P=!m&&vn(Me(o.fullPath,0))||(R||!m)&&history.state&&history.state.scroll||null;return et().then(()=>A(o,g,P)).then(v=>v&&yn(v)).catch(v=>fe(v,o,g))}const he=o=>s.go(o);let pe;const ie=new Set,X={currentRoute:a,listening:!0,addRoute:f,removeRoute:E,clearRoutes:t.clearRoutes,hasRoute:w,getRoutes:N,resolve:C,options:e,push:G,replace:j,go:he,back:()=>he(-1),forward:()=>he(1),beforeEach:i.add,beforeResolve:l.add,afterEach:p.add,onError:De.add,isReady:vt,install(o){o.component("RouterLink",Wn),o.component("RouterView",Yn),o.config.globalProperties.$router=X,Object.defineProperty(o.config.globalProperties,"$route",{enumerable:!0,get:()=>B(a)}),K&&!pe&&a.value===$&&(pe=!0,G(s.location).catch(R=>{}));const g={};for(const R in $)Object.defineProperty(g,R,{get:()=>a.value[R],enumerable:!0});o.provide(ae,X),o.provide(Ce,It(g)),o.provide(Ne,a);const m=o.unmount;ie.add(o),o.unmount=function(){ie.delete(o),ie.size<1&&(d=$,J&&J(),J=null,a.value=$,pe=!1,oe=!1),m()}}};function z(o){return o.reduce((g,m)=>g.then(()=>le(m)),Promise.resolve())}return X}export{ir as a,ar as b,sr as c,or as d,$t as e,tr as f,Ft as g,rr as h,nr as i,er as j,st as k,Ht as l,jt as m,ur as n,hr as o,Tn as p,dr as q,lr as r,Ut as s,fr as t,cr as u,rt as v}; diff --git a/web-dist/js/chunks/vue-router-CmC7u3Bn.mjs.gz b/web-dist/js/chunks/vue-router-CmC7u3Bn.mjs.gz new file mode 100644 index 0000000000..02bba9cf47 Binary files /dev/null and b/web-dist/js/chunks/vue-router-CmC7u3Bn.mjs.gz differ diff --git a/web-dist/js/chunks/webidl-ZXfAyPTL.mjs b/web-dist/js/chunks/webidl-ZXfAyPTL.mjs new file mode 100644 index 0000000000..88c9e0c20b --- /dev/null +++ b/web-dist/js/chunks/webidl-ZXfAyPTL.mjs @@ -0,0 +1 @@ +function a(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var l=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],u=a(l),o=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],m=a(o),c=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],s=a(c),f=["true","false","Infinity","NaN","null"],y=a(f),d=["callback","dictionary","enum","interface"],p=a(d),b=["typedef"],v=a(b),A=/^[:<=>?]/,g=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,h=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,i=/^_?[A-Za-z][0-9A-Z_a-z-]*/,D=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,k=/^"[^"]*"/,E=/^\/\*.*?\*\//,C=/^\/\*.*/,w=/^.*?\*\//;function N(e,r){if(e.eatSpace())return null;if(r.inComment)return e.match(w)?(r.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(E))return"comment";if(e.match(C))return r.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(g)||e.match(h)))return"number";if(e.match(k))return"string";if(r.startDef&&e.match(i))return"def";if(r.endDef&&e.match(D))return r.endDef=!1,"def";if(e.match(s))return"keyword";if(e.match(m)){var t=r.lastToken,n=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return t===":"||t==="implements"||n==="implements"||n==="="?"builtin":"type"}return e.match(u)?"builtin":e.match(y)?"atom":e.match(i)?"variable":e.match(A)?"operator":(e.next(),null)}const S={name:"webidl",startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,r){var t=N(e,r);if(t){var n=e.current();r.lastToken=n,t==="keyword"?(r.startDef=p.test(n),r.endDef=r.endDef||v.test(n)):r.startDef=!1}return t},languageData:{autocomplete:l.concat(o).concat(c).concat(f)}};export{S as webIDL}; diff --git a/web-dist/js/chunks/webidl-ZXfAyPTL.mjs.gz b/web-dist/js/chunks/webidl-ZXfAyPTL.mjs.gz new file mode 100644 index 0000000000..a4b6f728a7 Binary files /dev/null and b/web-dist/js/chunks/webidl-ZXfAyPTL.mjs.gz differ diff --git a/web-dist/js/chunks/xquery-DzFWVndE.mjs b/web-dist/js/chunks/xquery-DzFWVndE.mjs new file mode 100644 index 0000000000..0ffb311342 --- /dev/null +++ b/web-dist/js/chunks/xquery-DzFWVndE.mjs @@ -0,0 +1 @@ +var d=(function(){function e(w){return{type:w,style:"keyword"}}for(var n=e("operator"),t={type:"atom",style:"atom"},i={type:"punctuation",style:null},o={type:"axis_specifier",style:"qualifier"},l={",":i},p=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],r=0,a=p.length;r",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"],r=0,a=f.length;r\"\'\/?]/);)p+=r;return x(e,n,S(p,l))}else{if(t=="{")return s(n,{type:"codeblock"}),null;if(t=="}")return c(n),null;if(b(n))return t==">"?"tag":t=="/"&&e.eat(">")?(c(n),"tag"):"variable";if(/\d/.test(t))return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if(t==="("&&e.eat(":"))return s(n,{type:"comment"}),x(e,n,z);if(!o&&(t==='"'||t==="'"))return m(e,n,t);if(t==="$")return x(e,n,T);if(t===":"&&e.eat("="))return"keyword";if(t==="(")return s(n,{type:"paren"}),null;if(t===")")return c(n),null;if(t==="[")return s(n,{type:"bracket"}),null;if(t==="]")return c(n),null;var a=d.propertyIsEnumerable(t)&&d[t];if(o&&t==='"')for(;e.next()!=='"';);if(o&&t==="'")for(;e.next()!=="'";);a||e.eatWhile(/[\w\$_-]/);var g=e.eat(":");!e.eat(":")&&g&&e.eatWhile(/[\w\$_-]/),e.match(/^[ \t]*\(/,!1)&&(i=!0);var f=e.current();return a=d.propertyIsEnumerable(f)&&d[f],i&&!a&&(a={type:"function_call",style:"def"}),D(n)?(c(n),"variable"):((f=="element"||f=="attribute"||a.type=="axis_specifier")&&s(n,{type:"xmlconstructor"}),a?a.style:"variable")}}function z(e,n){for(var t=!1,i=!1,o=0,l;l=e.next();){if(l==")"&&t)if(o>0)o--;else{c(n);break}else l==":"&&i&&o++;t=l==":",i=l=="("}return"comment"}function I(e,n){return function(t,i){for(var o;o=t.next();)if(o==e){c(i),n&&(i.tokenize=n);break}else if(t.match("{",!1)&&h(i))return s(i,{type:"codeblock"}),i.tokenize=u,"string";return"string"}}function m(e,n,t,i){let o=I(t,i);return s(n,{type:"string",name:t,tokenize:o}),x(e,n,o)}function T(e,n){var t=/[\w\$_-]/;if(e.eat('"')){for(;e.next()!=='"';);e.eat(":")}else e.eatWhile(t),e.match(":=",!1)||e.eat(":");return e.eatWhile(t),n.tokenize=u,"variable"}function S(e,n){return function(t,i){if(t.eatSpace(),n&&t.eat(">"))return c(i),i.tokenize=u,"tag";if(t.eat("/")||s(i,{type:"tag",name:e,tokenize:u}),t.eat(">"))i.tokenize=u;else return i.tokenize=y,"tag";return"tag"}}function y(e,n){var t=e.next();return t=="/"&&e.eat(">")?(h(n)&&c(n),b(n)&&c(n),"tag"):t==">"?(h(n)&&c(n),"tag"):t=="="?null:t=='"'||t=="'"?m(e,n,t,y):(h(n)||s(n,{type:"attribute",tokenize:y}),e.eat(/[a-zA-Z_:]/),e.eatWhile(/[-a-zA-Z0-9_:.]/),e.eatSpace(),(e.match(">",!1)||e.match("/",!1))&&(c(n),n.tokenize=u),"attribute")}function N(e,n){for(var t;t=e.next();)if(t=="-"&&e.match("->",!0))return n.tokenize=u,"comment"}function E(e,n){for(var t;t=e.next();)if(t=="]"&&e.match("]",!0))return n.tokenize=u,"comment"}function A(e,n){for(var t;t=e.next();)if(t=="?"&&e.match(">",!0))return n.tokenize=u,"processingInstruction"}function b(e){return k(e,"tag")}function h(e){return k(e,"attribute")}function D(e){return k(e,"xmlconstructor")}function _(e){return e.current()==='"'?e.match(/^[^\"]+\"\:/,!1):e.current()==="'"?e.match(/^[^\"]+\'\:/,!1):!1}function k(e,n){return e.stack.length&&e.stack[e.stack.length-1].type==n}function s(e,n){e.stack.push(n)}function c(e){e.stack.pop();var n=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=n||u}const C={name:"xquery",startState:function(){return{tokenize:u,cc:[],stack:[]}},token:function(e,n){if(e.eatSpace())return null;var t=n.tokenize(e,n);return t},languageData:{commentTokens:{block:{open:"(:",close:":)"}}}};export{C as xQuery}; diff --git a/web-dist/js/chunks/xquery-DzFWVndE.mjs.gz b/web-dist/js/chunks/xquery-DzFWVndE.mjs.gz new file mode 100644 index 0000000000..601ab2592a Binary files /dev/null and b/web-dist/js/chunks/xquery-DzFWVndE.mjs.gz differ diff --git a/web-dist/js/chunks/yacas-BJ4BC0dw.mjs b/web-dist/js/chunks/yacas-BJ4BC0dw.mjs new file mode 100644 index 0000000000..4ea3241a74 --- /dev/null +++ b/web-dist/js/chunks/yacas-BJ4BC0dw.mjs @@ -0,0 +1 @@ +function t(e){for(var n={},r=e.split(" "),o=0;o|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function v(e,n){for(var r,o=!1,i=!1;(r=e.next())!=null;){if(r==='"'&&!i){o=!0;break}i=!i&&r==="\\"}return o&&!i&&(n.tokenize=l),"string"}function h(e,n){for(var r,o;(o=e.next())!=null;){if(r==="*"&&o==="/"){n.tokenize=l;break}r=o}return"comment"}function c(e){var n=null;return e.scopes.length>0&&(n=e.scopes[e.scopes.length-1]),n}const b={name:"yacas",startState:function(){return{tokenize:l,scopes:[]}},token:function(e,n){return e.eatSpace()?null:n.tokenize(e,n)},indent:function(e,n,r){if(e.tokenize!==l&&e.tokenize!==null)return null;var o=0;return(n==="]"||n==="];"||n==="}"||n==="};"||n===");")&&(o=-1),(e.scopes.length+o)*r.unit},languageData:{electricInput:/[{}\[\]()\;]/,commentTokens:{line:"//",block:{open:"/*",close:"*/"}}}};export{b as yacas}; diff --git a/web-dist/js/chunks/yacas-BJ4BC0dw.mjs.gz b/web-dist/js/chunks/yacas-BJ4BC0dw.mjs.gz new file mode 100644 index 0000000000..399bb93557 Binary files /dev/null and b/web-dist/js/chunks/yacas-BJ4BC0dw.mjs.gz differ diff --git a/web-dist/js/chunks/z80-Hz9HOZM7.mjs b/web-dist/js/chunks/z80-Hz9HOZM7.mjs new file mode 100644 index 0000000000..c0ab5ea513 --- /dev/null +++ b/web-dist/js/chunks/z80-Hz9HOZM7.mjs @@ -0,0 +1 @@ +function o(t){var n,l;t?(n=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,l=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(n=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,l=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var u=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,d=/^(n?[zc]|p[oe]?|m)\b/i,f=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,c=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{name:"z80",startState:function(){return{context:0}},token:function(e,i){if(e.column()||(i.context=0),e.eatSpace())return null;var r;if(e.eatWhile(/\w/))if(t&&e.eat(".")&&e.eatWhile(/\w/),r=e.current(),e.indentation()){if((i.context==1||i.context==4)&&u.test(r))return i.context=4,"variable";if(i.context==2&&d.test(r))return i.context=4,"variableName.special";if(n.test(r))return i.context=1,"keyword";if(l.test(r))return i.context=2,"keyword";if(i.context==4&&c.test(r))return"number";if(f.test(r))return"error"}else return e.match(c)?"number":null;else{if(e.eat(";"))return e.skipToEnd(),"comment";if(e.eat('"')){for(;(r=e.next())&&r!='"';)r=="\\"&&e.next();return"string"}else if(e.eat("'")){if(e.match(/\\?.'/))return"number"}else if(e.eat(".")||e.sol()&&e.eat("#")){if(i.context=5,e.eatWhile(/\w/))return"def"}else if(e.eat("$")){if(e.eatWhile(/[\da-f]/i))return"number"}else if(e.eat("%")){if(e.eatWhile(/[01]/))return"number"}else e.next()}return null}}}const a=o(!1),s=o(!0);export{s as ez80,a as z80}; diff --git a/web-dist/js/chunks/z80-Hz9HOZM7.mjs.gz b/web-dist/js/chunks/z80-Hz9HOZM7.mjs.gz new file mode 100644 index 0000000000..a8ed5c4927 Binary files /dev/null and b/web-dist/js/chunks/z80-Hz9HOZM7.mjs.gz differ diff --git a/web-dist/js/index.html-Dg8fafME.mjs b/web-dist/js/index.html-Dg8fafME.mjs new file mode 100644 index 0000000000..88ff2c1157 --- /dev/null +++ b/web-dist/js/index.html-Dg8fafME.mjs @@ -0,0 +1,39 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./chunks/json-WKIyujAI.mjs","./chunks/translations-BpcCzEJn.mjs","./chunks/index-B9CFlHVx.mjs","./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs","./chunks/ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs","./chunks/fuse-Dh4lEyaB.mjs","./chunks/omit-CjJULzjP.mjs","./chunks/_getTag-rbyw32wi.mjs","./chunks/_Set-DyVdKz_x.mjs","./chunks/resources-CL0nvFAd.mjs","./chunks/user-C7xYeMZ3.mjs","./chunks/useRoute-BGFNOdqM.mjs","./chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs","./chunks/debounce-Bg6HwA-m.mjs","./chunks/toNumber-BQH-f3hb.mjs","./chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs","./chunks/index-lRhEXmMs.mjs","./chunks/vue-router-CmC7u3Bn.mjs","./chunks/useClientService-BP8mjZl2.mjs","./chunks/useLoadingService-CLoheuuI.mjs","./chunks/eventBus-B07Yv2pA.mjs","./chunks/v4-EwEgHOG0.mjs","./chunks/messages-bd5_8QAH.mjs","./chunks/ActionMenuItem-5Eo133Qt.mjs","./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs","./chunks/ItemFilterToggle-B0cxdVaA.mjs","./chunks/locale-tv0ZmyWq.mjs","./chunks/Pagination-w-FgvznP.mjs","./chunks/useAbility-DLkgdurK.mjs","./chunks/modals-DsP9TGnr.mjs","./chunks/extensionRegistry-3T3I8mha.mjs","./chunks/useLoadPreview-Cv2y5hqA.mjs","./chunks/datetime-CpSA3f1i.mjs","./chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs","./chunks/useWindowOpen-BMCzbqTR.mjs","./chunks/download-Bmys4VUp.mjs","./chunks/useRouteParam-C9SJn9Mp.mjs","./chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs","./chunks/icon-BPAP2zgX.mjs","./chunks/useScrollTo--zshzNky.mjs","./chunks/useSort-BaUnnp4q.mjs","./chunks/useRouteMeta-C9xjNr4h.mjs","./chunks/VersionCheck.vue_vue_type_script_setup_true_lang-D5qoa-gp.mjs","./chunks/preload-helper-PPVm8Dsz.mjs"])))=>i.map(i=>d[i]); +import{_ as Ul}from"./chunks/preload-helper-PPVm8Dsz.mjs";import{B as Mp,a as Dp,C as jp,D as Hp,E as Bp,b as qp,c as zp,F as ae,K as Vp,R as Wp,S as Gp,d as Kp,T as Xp,e as Yp,f as Jp,g as Qp,h as Zp,i as ef,V as tf,j as nf,k as sf,l as rf,m as of,n as af,o as lf,p as cf,q as I,r as To,s as z,t as V,u as O,v as P,w as uf,x as df,y as pf,z as ff,A as Ll,G as hf,H as b,I as x,J as mf,L as gf,M as Z,N as yf,O as bf,P as vf,Q as wf,U as _f,W as Sf,X as Ef,Y as xf,Z as Cf,_ as Af,$ as Pf,a0 as Ol,a1 as Tf,a2 as kf,a3 as Rf,a4 as If,a5 as Ff,a6 as $f,a7 as Uf,a8 as Lf,a9 as Of,aa as Nf,ab as Mf,ac as Df,ad as jf,ae as Hf,af as Nl,ag as Bf,ah as qf,ai as zf,aj as Vf,ak as Wf,al as Gf,am as Kf,an as Xf,ao as Ml,ap as Yf,aq as Jf,ar as Et,as as Vs,at as Qf,au as _e,av as Dl,aw as jl,ax as Hl,ay as Zf,az as zt,aA as eh,aB as Bl,aC as th,aD as Me,aE as nh,aF as sh,aG as rh,aH as oh,aI as Kn,aJ as ih,aK as ah,aL as C,aM as lh,aN as ch,aO as ql,aP as uh,aQ as dh,aR as ph,aS as fh,aT as hh,aU as q,aV as mh,aW as gh,aX as $e,aY as Ws,aZ as L,a_ as et,a$ as Ot,b0 as yh,b1 as bh,b2 as vh,b3 as wh,b4 as _h,b5 as Sh,b6 as Eh,b7 as xh,b8 as Ch,b9 as Ah,ba as Ph,bb as F,bc as Th,bd as zl,be as kh,bf as Rh,bg as Ih,bh as Fh,bi as $h,bj as Uh,bk as p,bl as Lh,bm as Oh,bn as Nh,bo as Mh,bp as Dh,bq as jh,br as Hh,bs as Bh,bt as qh,bu as Vl,bv as zh,bw as Vh,bx as Wh,by as Gh,bz as Kh,bA as Xh,bB as Yh,bC as Wl,bD as Jh,bE as Ae,bF as ko,bG as Qh,bH as Zh,bI as em,bJ as T,bK as tm,bL as Le,bM as nm,bN as sm,bO as Ro,bP as rm,bQ as se,bR as Gl,bS as Kl,bT as Xl,bU as Be,bV as Vt,bW as _t,bX as cn,bY as om,bZ as im,b_ as am,b$ as it,c0 as lm,c1 as cm,c2 as Qt,c3 as Yl,c4 as um,c5 as ks,c6 as dm,c7 as Jl,c8 as pm,c9 as Ql,ca as fm,cb as Zl,cc as hm,cd as Xn,ce as Or,cf as Nt,cg as mm,ch as Gs,ci as Ei,cj as gm,ck as ym,cl as tt,cm as ce,cn as ec,co as ue,cp as bm,cq as Ue,cr as at,cs as ke,ct as vm,cu as wm,cv as _m,cw as Sm,cx as Em,cy as xm,cz as Cm,cA as Am,cB as Pm,cC as Tm,cD as tc,cE as nc,cF as km,cG as sc,cH as Rm,cI as rc,cJ as Cn,cK as Im,cL as Fm,cM as Ks,cN as oc,cO as $m,cP as Um,cQ as Nr,cR as Mr,cS as Lm,cT as Om,cU as Io,cV as ic,cW as Nm,cX as Mm,cY as St,cZ as Xe,c_ as Dm,c$ as jm,d0 as Hm,d1 as Bm,d2 as qm,d3 as zm,d4 as Vm,d5 as Wm,d6 as Gm,d7 as Km,d8 as Yn,d9 as ct,da as nt,db as Xm,dc as Ym,dd as Jm,de as ac,df as Qm,dg as Zm,dh as eg,di as xi,dj as Ci,dk as tg,dl as ng,dm as cr,dn as sg,dp as rg,dq as og,dr as ig,ds as ag,dt as lc,du as ze,dv as cc,dw as lg,dx as cg,dy as ug,dz as dg}from"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{_ as ge}from"./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs";import{f as It,u as mn}from"./chunks/modals-DsP9TGnr.mjs";import{u as Fo,a as uc}from"./chunks/useLoadingService-CLoheuuI.mjs";import{A as Rs,_ as pg,a as fg,C as hg,F as mg,b as gg,c as yg,d as bg,e as vg,f as wg,g as _g,I as dc,h as Sg,K as Eg,M as xg,R as Cg,i as Ag,j as Pg,S as Tg,k as kg,l as Rg,m as Ig,n as Fg,o as $g,s as Ug,u as Xs,p as Zt,q as Lg,r as Og,t as Ng,v as Mg,w as Dg,x as jg,y as Hg,z as pc,B as Bg,P as qg}from"./chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import{u as ut,a as st}from"./chunks/extensionRegistry-3T3I8mha.mjs";import{b as en,a as An,c as $o,d as Uo,g as zg,e as Vg,i as Wg,f as Gg,h as Kg,j as Xg,k as Yg,u as Jn,l as Ys,m as fc,n as Lo,o as Jg,p as Qg,q as Zg}from"./chunks/vue-router-CmC7u3Bn.mjs";import{u as Oo}from"./chunks/useRouteMeta-C9xjNr4h.mjs";import{A as Js}from"./chunks/AppLoadingSpinner-D4wmhWZf.mjs";import{i as No,e as hc,u as mc,_ as Ln,B as ey,a as ty,b as Ft,c as gc,P as ny,d as sy,f as ry,Q as oy,g as iy,h as ay,S as ly,j as cy,V as uy,W as dy,k as py,l as fy,m as hy,n as Qs,o as yc,p as Mo,q as my,r as gy,s as bc,t as yy,v as by,w as vy,x as vc,y as wy,z as _y,A as Sy,C as Ey,D as xy,E as Cy,F as Ay,G as Py,H as Ty}from"./chunks/Pagination-w-FgvznP.mjs";import{v as Ne}from"./chunks/v4-EwEgHOG0.mjs";import{u as Qn}from"./chunks/useRoute-BGFNOdqM.mjs";import{A as ky,a as Ry,b as wc,c as Iy,d as Fy,e as $y,f as _c,g as Uy,D as Ly,h as Oy,i as Sc,j as Ny,k as My,l as Dy,m as Ec,n as jy,o as xc,p as Hy,q as By,r as qy,s as zy,t as Vy,u as Cc,v as Wy,w as Gy,x as Ky,y as Do,z as Xy,E as Yy,B as Jy,C as Qy,F as Zy,G as eb,H as tb,I as nb,J as sb,K as rb,L as ob,M as ib,N as ab,O as lb,P as cb,Q as ub,R as db,S as pb,T as fb,U as hb,V as mb,W as gb,X as yb,Y as bb,Z as vb,_ as wb,$ as _b,a0 as Ac,a1 as Sb,a2 as Eb,a3 as xb,a4 as Pc,a5 as Cb,a6 as Ab,a7 as Pb,a8 as Tb,a9 as kb,aa as Rb,ab as Ib,ac as Fb,ad as $b,ae as Ub,af as Lb,ag as Ob,ah as Nb,ai as Mb,aj as Db,ak as jb,al as Hb,am as Tc,an as Bb,ao as qb,ap as zb,aq as kc,ar as Vb,as as Wb,at as Gb,au as Kb,av as Xb,aw as Yb,ax as Jb,ay as Qb,az as Zb,aA as Rc,aB as ev,aC as tv,aD as nv,aE as sv,aF as rv,aG as Ic,aH as ov,aI as iv,aJ as av,aK as Fc,aL as lv,aM as cv,aN as uv,aO as $c,aP as dv,aQ as pv,aR as fv,aS as hv,aT as Uc,aU as mv,aV as gv,aW as yv,aX as Lc,aY as bv,aZ as vv,a_ as wv,a$ as Oc,b0 as _v,b1 as Sv,b2 as Ev,b3 as Nc,b4 as xv,b5 as Cv,b6 as Av,b7 as Mc,b8 as Pv,b9 as tn,ba as kt,bb as Zs,bc as jo,bd as Dc,be as On,bf as Tv,bg as kv,bh as Rv,bi as Iv,bj as Fv,bk as $v,bl as Uv,bm as Lv,bn as Ov,bo as Nv,bp as jc,bq as Mv,br as Dv,bs as jv,bt as Hv,bu as Bv,bv as qv,bw as zv,bx as Vv,by as Wv,bz as Gv,bA as er,bB as Hc,bC as xt}from"./chunks/resources-CL0nvFAd.mjs";import{D as Q,d as K,g as Mt,G as Se,i as ur,a as Bc,b as qc,T as zc,n as Kv,c as Xv,e as gn,f as Is,s as wt,h as Dr,j as Ho,k as on,S as Yv,l as Jv,t as We,m as Ai,o as Fs,p as Qv,q as gs,r as jr,u as Zv,v as Bo,w as qo,x as ew,y as ye,z as Pi,A as yn,B as tw,C as Ti,E as nw,F as zo,H as Vo,I as sw,J as rw,_ as ow,K as iw,L as dr,M as Zn,N as Vc,O as aw,P as lw,Q as Wc,R as Wo,U as Gc,V as Go,W as Kc,X as cw,Y as ys,Z as ki,$ as Ri,a0 as uw,a1 as dw,a2 as pw,a3 as fw,a4 as hw,a5 as Xc,a6 as tr,a7 as mw,a8 as gw,a9 as Hr,aa as Ko,ab as es,ac as Ii,ad as Xo,ae as Tt,af as nr,ag as Br,ah as yw,ai as Oe,aj as Fi,ak as $i,al as bw,am as Nn,an as Yc,ao as vw,ap as Yo,aq as qr,ar as Mn,as as an,at as Jc,au as Ui,av as ww,aw as Jo,ax as _w,ay as Sw,az as In,aA as Ew,aB as un,aC as xw,aD as Cw,aE as Li,aF as Oi,aG as pr,aH as Qc,aI as Aw,aJ as Pw,aK as Ct}from"./chunks/user-C7xYeMZ3.mjs";import{i as Zc}from"./chunks/isEmpty-BPG2bWXw.mjs";import{T as Tw,B as Qo,c as eu,a as tu,u as nu,A as kw,C as Rw,_ as Iw,b as Fw,D as $w,E as Uw,I as Lw,d as Ow,L as Nw,R as Mw,e as Dw,f as jw,g as Hw,h as Bw,i as qw,j as zw,k as Vw,l as Ww,m as Gw,n as Kw,o as Xw,p as Yw,q as Jw,r as Qw,s as Zw,t as e_,v as t_,w as n_,x as s_,y as r_,z as o_,F as i_,G as a_,H as l_,J as c_,K as u_,M as d_,N as p_,O as f_,P as h_,Q as m_,S as g_,U as y_,V as b_,W as v_,X as w_,Y as __,Z as S_,$ as E_,a0 as x_,a1 as C_,a2 as A_,a3 as P_}from"./chunks/ItemFilterToggle-B0cxdVaA.mjs";import{c as $t}from"./chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import{f as He}from"./chunks/index-lRhEXmMs.mjs";import{f as $s,a as T_,b as Us,c as su,d as k_,e as R_,g as I_,h as ru,i as F_,j as $_}from"./chunks/datetime-CpSA3f1i.mjs";import{u as Ye}from"./chunks/useClientService-BP8mjZl2.mjs";import{A as ou}from"./chunks/ActionMenuItem-5Eo133Qt.mjs";import{u as dt}from"./chunks/messages-bd5_8QAH.mjs";import{c as iu,i as au,C as U_,_ as lu,p as L_,u as O_,a as cu}from"./chunks/VersionCheck.vue_vue_type_script_setup_true_lang-D5qoa-gp.mjs";import{_ as uu,R as N_,a as du,b as pu}from"./chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs";import{e as we,E as M_}from"./chunks/eventBus-B07Yv2pA.mjs";import{H as Zo,D as fu,c as D_,u as ei,a as hu,C as j_,b as H_,_ as B_,d as q_,R as z_,e as V_,S as W_,T as G_,f as K_,i as Ze,g as X_,h as Y_,j as J_,r as Q_,k as Z_,l as eS,m as tS,n as nS,o as sS,p as rS,q as oS,s as mu,t as iS,v as aS,w as lS,x as cS,y as uS,z as dS,A as pS,B as fS,E as hS,F as mS,G as gS,I as yS,J as bS,K as vS,L as wS,M as _S,N as SS,O as ES,P as xS,Q as CS,U as AS,V as PS,W as TS,X as kS,Y as RS,Z as IS,$ as FS,a0 as $S,a1 as US}from"./chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs";import{N as ts}from"./chunks/NoContentMessage-CtsU0h69.mjs";import{u as ti}from"./chunks/useRouteParam-C9SJn9Mp.mjs";import{_ as LS,a as OS,A as NS,F as MS,S as DS,U as jS,u as HS,b as BS,c as gu}from"./chunks/AppWrapperRoute-BFHFMQoF.mjs";import{l as qS,u as zS,q as Ni}from"./chunks/useAppProviderService-DZ_mOvrb.mjs";import{u as VS,l as WS,c as GS}from"./chunks/useAbility-DLkgdurK.mjs";import{b as KS,o as yu}from"./chunks/omit-CjJULzjP.mjs";import{d as XS}from"./chunks/types-BoCZvwvE.mjs";import{D as sn,g as YS,l as JS}from"./chunks/locale-tv0ZmyWq.mjs";import{T as QS}from"./chunks/index-Dc0lA-4d.mjs";import{_ as ZS}from"./chunks/ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs";import{d as e0}from"./chunks/debounce-Bg6HwA-m.mjs";import{S as t0,a as n0,u as s0}from"./chunks/SearchBarFilter-C7qMtMoh.mjs";import{u as r0}from"./chunks/useOpenEmptyEditor-37ZbJbPk.mjs";import{u as o0}from"./chunks/useWindowOpen-BMCzbqTR.mjs";import{u as i0,a as a0,b as l0,c as c0,d as u0,e as d0}from"./chunks/useAppDefaults-BUVwG3-M.mjs";import{g as p0,u as f0,a as h0}from"./chunks/useLoadPreview-Cv2y5hqA.mjs";import{S as m0,V as g0,d as y0,s as b0,u as v0,a as w0}from"./chunks/useSort-BaUnnp4q.mjs";import{u as _0}from"./chunks/useScrollTo--zshzNky.mjs";import{F as S0,d as bu}from"./chunks/fuse-Dh4lEyaB.mjs";import{c as E0,r as vu}from"./chunks/icon-BPAP2zgX.mjs";import{t as wu}from"./chunks/download-Bmys4VUp.mjs";import{t as x0}from"./chunks/throttle-5Uz_Dt2R.mjs";import"./chunks/_Set-DyVdKz_x.mjs";import"./chunks/toNumber-BQH-f3hb.mjs";import"./chunks/_getTag-rbyw32wi.mjs";import"./chunks/index-ChwhOZNZ.mjs";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();const C0=()=>{},A0=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Mp,BaseTransitionPropsValidators:Dp,Comment:jp,DeprecationTypes:Hp,EffectScope:Bp,ErrorCodes:qp,ErrorTypeStrings:zp,Fragment:ae,KeepAlive:Vp,ReactiveEffect:Wp,Static:Gp,Suspense:Kp,Teleport:Xp,Text:Yp,TrackOpTypes:Jp,Transition:Qp,TransitionGroup:Zp,TriggerOpTypes:ef,VueElement:tf,assertNumber:nf,callWithAsyncErrorHandling:sf,callWithErrorHandling:rf,camelize:of,capitalize:af,cloneVNode:lf,compatUtils:cf,compile:C0,computed:I,createApp:To,createBlock:z,createCommentVNode:V,createElementBlock:O,createElementVNode:P,createHydrationRenderer:uf,createPropsRestProxy:df,createRenderer:pf,createSSRApp:ff,createSlots:Ll,createStaticVNode:hf,createTextVNode:b,createVNode:x,customRef:mf,defineAsyncComponent:gf,defineComponent:Z,defineCustomElement:yf,defineEmits:bf,defineExpose:vf,defineModel:wf,defineOptions:_f,defineProps:Sf,defineSSRCustomElement:Ef,defineSlots:xf,devtools:Cf,effect:Af,effectScope:Pf,getCurrentInstance:Ol,getCurrentScope:Tf,getCurrentWatcher:kf,getTransitionRawChildren:Rf,guardReactiveProps:If,h:Ff,handleError:$f,hasInjectionContext:Uf,hydrate:Lf,hydrateOnIdle:Of,hydrateOnInteraction:Nf,hydrateOnMediaQuery:Mf,hydrateOnVisible:Df,initCustomFormatter:jf,initDirectivesForSSR:Hf,inject:Nl,isMemoSame:Bf,isProxy:qf,isReactive:zf,isReadonly:Vf,isRef:Wf,isRuntimeOnly:Gf,isShallow:Kf,isVNode:Xf,markRaw:Ml,mergeDefaults:Yf,mergeModels:Jf,mergeProps:Et,nextTick:Vs,nodeOps:Qf,normalizeClass:_e,normalizeProps:Dl,normalizeStyle:jl,onActivated:Hl,onBeforeMount:Zf,onBeforeUnmount:zt,onBeforeUpdate:eh,onDeactivated:Bl,onErrorCaptured:th,onMounted:Me,onRenderTracked:nh,onRenderTriggered:sh,onScopeDispose:rh,onServerPrefetch:oh,onUnmounted:Kn,onUpdated:ih,onWatcherCleanup:ah,openBlock:C,patchProp:lh,popScopeId:ch,provide:ql,proxyRefs:uh,pushScopeId:dh,queuePostFlushCb:ph,reactive:fh,readonly:hh,ref:q,registerRuntimeCompiler:mh,render:gh,renderList:$e,renderSlot:Ws,resolveComponent:L,resolveDirective:et,resolveDynamicComponent:Ot,resolveFilter:yh,resolveTransitionHooks:bh,setBlockTracking:vh,setDevtoolsHook:wh,setTransitionHooks:_h,shallowReactive:Sh,shallowReadonly:Eh,shallowRef:xh,ssrContextKey:Ch,ssrUtils:Ah,stop:Ph,toDisplayString:F,toHandlerKey:Th,toHandlers:zl,toRaw:kh,toRef:Rh,toRefs:Ih,toValue:Fh,transformVNodeArgs:$h,triggerRef:Uh,unref:p,useAttrs:Lh,useCssModule:Oh,useCssVars:Nh,useHost:Mh,useId:Dh,useModel:jh,useSSRContext:Hh,useShadowRoot:Bh,useSlots:qh,useTemplateRef:Vl,useTransitionState:zh,vModelCheckbox:Vh,vModelDynamic:Wh,vModelRadio:Gh,vModelSelect:Kh,vModelText:Xh,vShow:Yh,version:Wl,warn:Jh,watch:Ae,watchEffect:ko,watchPostEffect:Qh,watchSyncEffect:Zh,withAsyncContext:em,withCtx:T,withDefaults:tm,withDirectives:Le,withKeys:nm,withMemo:sm,withModifiers:Ro,withScopeId:rm},Symbol.toStringTag,{value:"Module"})),P0=Z({props:{target:{type:String,required:!0}},computed:{targetElement(){return document.getElementById(this.target)}},methods:{skipToTarget(){this.targetElement.setAttribute("tabindex","-1"),this.targetElement.focus(),this.targetElement.scrollIntoView()}}});function T0(t,e,n,s,r,o){return C(),O("button",{class:"skip-button absolute left-0 top-[-100px] z-60 bg-role-secondary text-role-on-secondary py-1 px-2 focus:border-dashed focus:border-white focus:outline-0 focus:top-0 appearance-none",onClick:e[0]||(e[0]=(...i)=>t.skipToTarget&&t.skipToTarget(...i))},[Ws(t.$slots,"default")])}const k0=ge(P0,[["render",T0]]);function zr(t,e={},n){for(const s in t){const r=t[s],o=n?`${n}:${s}`:s;typeof r=="object"&&r!==null?zr(r,e,o):typeof r=="function"&&(e[o]=r)}return e}const R0={run:t=>t()},I0=()=>R0,_u=typeof console.createTask<"u"?console.createTask:I0;function F0(t,e){const n=e.shift(),s=_u(n);return t.reduce((r,o)=>r.then(()=>s.run(()=>o(...e))),Promise.resolve())}function $0(t,e){const n=e.shift(),s=_u(n);return Promise.all(t.map(r=>s.run(()=>r(...e))))}function fr(t,e){for(const n of[...t])n(e)}class U0{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,n,s={}){if(!e||typeof n!="function")return()=>{};const r=e;let o;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to;if(o&&!s.allowDeprecated){let i=o.message;i||(i=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(n),()=>{n&&(this.removeHook(e,n),n=void 0)}}hookOnce(e,n){let s,r=(...o)=>(typeof s=="function"&&s(),s=void 0,r=void 0,n(...o));return s=this.hook(e,r),s}removeHook(e,n){if(this._hooks[e]){const s=this._hooks[e].indexOf(n);s!==-1&&this._hooks[e].splice(s,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,n){this._deprecatedHooks[e]=typeof n=="string"?{to:n}:n;const s=this._hooks[e]||[];delete this._hooks[e];for(const r of s)this.hook(e,r)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const n in e)this.deprecateHook(n,e[n])}addHooks(e){const n=zr(e),s=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of s.splice(0,s.length))r()}}removeHooks(e){const n=zr(e);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...n){return n.unshift(e),this.callHookWith(F0,e,...n)}callHookParallel(e,...n){return n.unshift(e),this.callHookWith($0,e,...n)}callHookWith(e,n,...s){const r=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&fr(this._before,r);const o=e(n in this._hooks?[...this._hooks[n]]:[],s);return o instanceof Promise?o.finally(()=>{this._after&&r&&fr(this._after,r)}):(this._after&&r&&fr(this._after,r),o)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const n=this._before.indexOf(e);n!==-1&&this._before.splice(n,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const n=this._after.indexOf(e);n!==-1&&this._after.splice(n,1)}}}}function L0(){return new U0}class Su{apiKey;username;password;accessToken;basePath;serverIndex;baseOptions;formDataCtor;constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.serverIndex=e.serverIndex,this.baseOptions={...e.baseOptions,headers:{...e.baseOptions?.headers}},this.formDataCtor=e.formDataCtor}isJsonMime(e){const n=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return e!==null&&(n.test(e)||e.toLowerCase()==="application/json-patch+json")}}const O0=Object.freeze(Object.defineProperty({__proto__:null,ActivitiesApi:ky,ActivitiesApiAxiosParamCreator:Ry,ActivitiesApiFactory:wc,ActivitiesApiFp:Iy,ApplicationsApi:Fy,ApplicationsApiAxiosParamCreator:$y,ApplicationsApiFactory:_c,ApplicationsApiFp:Uy,Configuration:Su,DriveItemApi:Ly,DriveItemApiAxiosParamCreator:Oy,DriveItemApiFactory:Sc,DriveItemApiFp:Ny,DrivesApi:My,DrivesApiAxiosParamCreator:Dy,DrivesApiFactory:Ec,DrivesApiFp:jy,DrivesGetDrivesApi:xc,DrivesGetDrivesApiAxiosParamCreator:Hy,DrivesGetDrivesApiFactory:By,DrivesGetDrivesApiFp:qy,DrivesPermissionsApi:zy,DrivesPermissionsApiAxiosParamCreator:Vy,DrivesPermissionsApiFactory:Cc,DrivesPermissionsApiFp:Wy,DrivesRootApi:Gy,DrivesRootApiAxiosParamCreator:Ky,DrivesRootApiFactory:Do,DrivesRootApiFp:Xy,EducationClassApi:Yy,EducationClassApiAxiosParamCreator:Jy,EducationClassApiFactory:Qy,EducationClassApiFp:Zy,EducationClassClassificationEnum:eb,EducationClassTeachersApi:tb,EducationClassTeachersApiAxiosParamCreator:nb,EducationClassTeachersApiFactory:sb,EducationClassTeachersApiFp:rb,EducationSchoolApi:ob,EducationSchoolApiAxiosParamCreator:ib,EducationSchoolApiFactory:ab,EducationSchoolApiFp:lb,EducationUserApi:cb,EducationUserApiAxiosParamCreator:ub,EducationUserApiFactory:db,EducationUserApiFp:pb,GetDriveSelectEnum:fb,GetEducationUserExpandEnum:hb,GetGroupExpandEnum:mb,GetGroupSelectEnum:gb,GetOwnUserExpandEnum:yb,GetUserExpandEnum:bb,GetUserSelectEnum:vb,GroupApi:wb,GroupApiAxiosParamCreator:_b,GroupApiFactory:Ac,GroupApiFp:Sb,GroupsApi:Eb,GroupsApiAxiosParamCreator:xb,GroupsApiFactory:Pc,GroupsApiFp:Cb,ListAllDrivesBetaSelectEnum:Ab,ListEducationUsersExpandEnum:Pb,ListEducationUsersOrderbyEnum:Tb,ListGroupsExpandEnum:kb,ListGroupsOrderbyEnum:Rb,ListGroupsSelectEnum:Ib,ListMyDrivesBetaSelectEnum:Fb,ListPermissionsSelectEnum:$b,ListPermissionsSpaceRootSelectEnum:Ub,ListSharedByMeExpandEnum:Lb,ListSharedWithMeExpandEnum:Ob,ListUsersExpandEnum:Nb,ListUsersOrderbyEnum:Mb,ListUsersSelectEnum:Db,MeChangepasswordApi:jb,MeChangepasswordApiAxiosParamCreator:Hb,MeChangepasswordApiFactory:Tc,MeChangepasswordApiFp:Bb,MeDriveApi:qb,MeDriveApiAxiosParamCreator:zb,MeDriveApiFactory:kc,MeDriveApiFp:Vb,MeDriveRootApi:Wb,MeDriveRootApiAxiosParamCreator:Gb,MeDriveRootApiFactory:Kb,MeDriveRootApiFp:Xb,MeDriveRootChildrenApi:Yb,MeDriveRootChildrenApiAxiosParamCreator:Jb,MeDriveRootChildrenApiFactory:Qb,MeDriveRootChildrenApiFp:Zb,MeDrivesApi:Rc,MeDrivesApiAxiosParamCreator:ev,MeDrivesApiFactory:tv,MeDrivesApiFp:nv,MePhotoApi:sv,MePhotoApiAxiosParamCreator:rv,MePhotoApiFactory:Ic,MePhotoApiFp:ov,MeUserApi:iv,MeUserApiAxiosParamCreator:av,MeUserApiFactory:Fc,MeUserApiFp:lv,RoleManagementApi:cv,RoleManagementApiAxiosParamCreator:uv,RoleManagementApiFactory:$c,RoleManagementApiFp:dv,SharingLinkType:pv,TagsApi:fv,TagsApiAxiosParamCreator:hv,TagsApiFactory:Uc,TagsApiFp:mv,UserApi:gv,UserApiAxiosParamCreator:yv,UserApiFactory:Lc,UserApiFp:bv,UserAppRoleAssignmentApi:vv,UserAppRoleAssignmentApiAxiosParamCreator:wv,UserAppRoleAssignmentApiFactory:Oc,UserAppRoleAssignmentApiFp:_v,UserPhotoApi:Sv,UserPhotoApiAxiosParamCreator:Ev,UserPhotoApiFactory:Nc,UserPhotoApiFp:xv,UsersApi:Cv,UsersApiAxiosParamCreator:Av,UsersApiFactory:Mc,UsersApiFp:Pv},Symbol.toStringTag,{value:"Module"})),N0=({axiosClient:t,config:e})=>{const n=Lc(e,e.basePath,t),s=Mc(e,e.basePath,t),r=Fc(e,e.basePath,t),o=Tc(e,e.basePath,t),i=Oc(e,e.basePath,t);return{async getUser(a,l,c){const{data:u}=await n.getUser(a,l?.select?new Set([...l.select]):null,l?.expand?new Set([...l.expand]):new Set(["drive","memberOf","appRoleAssignments"]),c);return u},async createUser(a,l){const{data:c}=await s.createUser(a,l);return c},async editUser(a,l,c){const{data:u}=await n.updateUser(a,l,c);return u},async deleteUser(a,l,c){await n.deleteUser(a,l,c)},async listUsers(a,l){const{data:{value:c}}=await s.listUsers(a?.search,a?.filter,a?.orderBy?new Set([...a.orderBy]):null,a?.select?new Set([...a.select]):null,a?.expand?new Set([...a.expand]):null,l);return c},async getMe(a,l){const{data:c}=await r.getOwnUser(a?.expand?new Set([...a.expand]):new Set(["memberOf"]),l);return c},async editMe(a,l){const{data:c}=await r.updateOwnUser(a,l);return c},async changeOwnPassword(a,l){await o.changeOwnPassword(a,l)},async exportPersonalData(a,l,c){await n.exportPersonalData(a,l,c)},async createUserAppRoleAssignment(a,l,c){const{data:u}=await i.userCreateAppRoleAssignments(a,l,c);return u}}},Pn=t=>encodeURIComponent(t).split("%2F").join("/"),M0=({axiosClient:t,config:e})=>{const n=Ac(e,e.basePath,t),s=Pc(e,e.basePath,t);return{async getGroup(r,o,i){const{data:a}=await n.getGroup(r,o?.select?new Set([...o.select]):null,o?.expand?new Set([...o.expand]):new Set(["members"]),i);return a},async createGroup(r,o){const{data:i}=await s.createGroup(r,o);return i},async editGroup(r,o,i){const{data:a}=await n.updateGroup(r,o,i);return a},async deleteGroup(r,o,i){await n.deleteGroup(r,o,i)},async listGroups(r,o){const{data:{value:i}}=await s.listGroups(r?.search,r?.orderBy?new Set([...r.orderBy]):null,r?.select?new Set([...r.select]):null,r?.expand?new Set([...r.expand]):null,o);return i},async addMember(r,o,i){await n.addMember(r,{"@odata.id":se(e.basePath,"v1.0","users",o)},i)},async deleteMember(r,o,i,a){await n.deleteMember(r,o,i,a)}}},D0=({axiosClient:t,config:e})=>{const n=_c(e,e.basePath,t);return{async getApplication(s,r){const{data:o}=await n.getApplication(s,r);return o},async listApplications(s){const{data:{value:r}}=await n.listApplications(s);return r||[]}}};var j0=4;function Mi(t){return KS(t,j0)}var H0="[object String]";function B0(t){return typeof t=="string"||!Gl(t)&&Kl(t)&&Xl(t)==H0}var q0="[object Boolean]";function bn(t){return t===!0||t===!1||Kl(t)&&Xl(t)==q0}function Eu(t){return No(t)&&t!=+t}const _n=t=>new URL(t.webUrl).origin,z0=({axiosClient:t,config:e})=>{const n=Ec(e,e.basePath,t),s=new Rc(e,e.basePath,t),r=new xc(e,e.basePath,t);return{async getDrive(o,i,a){const{data:l}=await n.getDrive(o,i?.select?new Set([...i.select]):null,a);return tn({...l,serverUrl:_n(l)})},async createDrive(o,i){const{data:a}=await n.createDrive(o,i);return tn({...a,serverUrl:_n(a)})},async updateDrive(o,i,a){const{data:l}=await n.updateDrive(o,i,a);return tn({...l,serverUrl:_n(l)})},async disableDrive(o,i,a){await n.deleteDrive(o,i,a)},async deleteDrive(o,i,a){await n.deleteDrive(o,i,{headers:{...a?.headers&&a.headers||{},Purge:"T"},...a&&{requestOptions:a}||{}})},async listMyDrives(o,i){const{data:{value:a}}=await s.listMyDrivesBeta(o?.orderBy,o?.filter,o?.expand,o?.select?new Set([...o.select]):null,i);return a.map(l=>tn({...l,serverUrl:_n(l)}))},async listAllDrives(o,i){const{data:{value:a}}=await r.listAllDrivesBeta(o?.orderBy,o?.filter,o?.expand,o?.select?new Set([...o.select]):null,i);return a.map(l=>tn({...l,serverUrl:_n(l)}))}}},V0=({axiosClient:t,config:e})=>{const n=Sc(e,e.basePath,t),s=Do(e,e.basePath,t),r=kc(e,e.basePath,t);return{async getDriveItem(o,i,a){const{data:l}=await n.getDriveItem(o,i,a);return l},async createDriveItem(o,i,a){const{data:l}=await s.createDriveItem(o,i,a);return l},async updateDriveItem(o,i,a,l){const{data:c}=await n.updateDriveItem(o,i,a,l);return c},async deleteDriveItem(o,i,a){await n.deleteDriveItem(o,i,a)},async listSharedByMe(o,i){const{data:a}=await r.listSharedByMe(o?.expand,i);return a?.value||[]},async listSharedWithMe(o,i){const{data:a}=await r.listSharedWithMe(o?.expand,i);return a?.value||[]}}},W0=({axiosClient:t,config:e})=>{const n=Uc(e,e.basePath,t);return{async listTags(s){const{data:{value:r}}=await n.getTags(s);return r||[]},async assignTags(s,r){await n.assignTags(s,r)},async unassignTags(s,r){await n.unassignTags(s,r)}}},G0=({axiosClient:t,config:e})=>{const n=wc(e,e.basePath,t);return{async listActivities(s,r){const{data:{value:o}}=await n.getActivities(s,r);return o||[]}}},K0=({axiosClient:t,config:e})=>{const n=Do(e,e.basePath,t),s=$c(e,e.basePath,t),r=Cc(e,e.basePath,t);return{async getPermission(o,i,a,l,c){const{data:u}=await r.getPermission(o,i,a,c);return u.link?en({graphPermission:u,resourceId:i}):An({graphPermission:u,resourceId:i,graphRoles:l||{}})},async listPermissions(o,i,a,l,c){let u;if(o===i){const{data:m}=await n.listPermissionsSpaceRoot(o,l?.filter,l?.select?new Set([...l.select]):null,l?.count,l?.top||0,c);u=m}else{const{data:m}=await r.listPermissions(o,i,l?.filter,l?.select?new Set([...l.select]):null,l?.count,l?.top||0,c);u=m}const d=u.value||[],h=u["@libre.graph.permissions.actions.allowedValues"],f=u["@libre.graph.permissions.roles.allowedValues"],y=u["@odata.count"];return{shares:d.map(m=>m.link?en({graphPermission:m,resourceId:i}):An({graphPermission:m,resourceId:i,graphRoles:a||{}})),allowedActions:h,allowedRoles:f,count:y}},async updatePermission(o,i,a,l,c,u){let d;if(o===i){const{data:h}=await n.updatePermissionSpaceRoot(o,a,l,u);d=h}else{const{data:h}=await r.updatePermission(o,i,a,l,u);d=h}return d.link?en({graphPermission:d,resourceId:i}):An({graphPermission:d,resourceId:i,graphRoles:c||{}})},async deletePermission(o,i,a,l){if(o===i){await n.deletePermissionSpaceRoot(o,a,l);return}await r.deletePermission(o,i,a,l)},async createInvite(o,i,a,l,c){let u;if(o===i){const{data:d}=await n.inviteSpaceRoot(o,a,c);u=d.value?.[0]}else{const{data:d}=await r.invite(o,i,a,c);u=d.value?.[0]}if(!u)throw new Error("no permission returned");return An({graphPermission:u,resourceId:i,graphRoles:l||{}})},async createLink(o,i,a,l){let c;if(o===i){const{data:u}=await n.createLinkSpaceRoot(o,a,l);c=u}else{const{data:u}=await r.createLink(o,i,a,l);c=u}return en({graphPermission:c,resourceId:i})},async setPermissionPassword(o,i,a,l,c){let u;if(o===i){const{data:d}=await n.setPermissionPasswordSpaceRoot(o,a,l,c);u=d}else{const{data:d}=await r.setPermissionPassword(o,i,a,l,c);u=d}return en({graphPermission:u,resourceId:i})},async listRoleDefinitions(o){const{data:i}=await s.listPermissionRoleDefinitions(o);return i}}},X0=({axiosClient:t,config:e})=>{const n=Ic(e,e.basePath,t),s=Nc(e,e.basePath,t);return{async getOwnUserPhoto(r){const{data:o}=await n.getOwnUserPhoto(r);return o},async deleteOwnUserPhoto(r){const{data:o}=await n.deleteOwnUserPhoto(r);return o},async updateOwnUserPhotoPatch(r,o){const{data:i}=await n.updateOwnUserPhotoPatch(r,o);return i},async getUserPhoto(r,o){const{data:i}=await s.getUserPhoto(r,o);return i}}},ni=(t,e)=>{const n=new URL(t);n.pathname=[...n.pathname.split("/"),"graph"].filter(Boolean).join("/");const s=new Su({basePath:n.href});return{activities:G0({axiosClient:e,config:s}),applications:D0({axiosClient:e,config:s}),tags:W0({axiosClient:e,config:s}),drives:z0({axiosClient:e,config:s}),driveItems:V0({axiosClient:e,config:s}),users:N0({axiosClient:e,config:s}),groups:M0({axiosClient:e,config:s}),permissions:K0({axiosClient:e,config:s}),photos:X0({axiosClient:e,config:s})}},Y0=Object.freeze(Object.defineProperty({__proto__:null,graph:ni},Symbol.toStringTag,{value:"Module"})),xu=(t,e)=>{const n=new URL(t);n.pathname=[...n.pathname.split("/"),"cloud","capabilities"].filter(Boolean).join("/"),n.searchParams.append("format","json");const s=n.href;return{async getCapabilities(){const r=await e.get(s);return p0(r,"data.ocs.data",{capabilities:null,version:null})}}};function J0(t){return t instanceof Uint8Array||ArrayBuffer.isView(t)&&t.constructor.name==="Uint8Array"}function Fn(t,e=""){if(!Number.isSafeInteger(t)||t<0){const n=e&&`"${e}" `;throw new Error(`${n}expected integer >= 0, got ${t}`)}}function dn(t,e,n=""){const s=J0(t),r=t?.length,o=e!==void 0;if(!s||o&&r!==e){const i=n&&`"${n}" `,a=o?` of length ${e}`:"",l=s?`length=${r}`:`type=${typeof t}`;throw new Error(i+"expected Uint8Array"+a+", got "+l)}return t}function Cu(t){if(typeof t!="function"||typeof t.create!="function")throw new Error("Hash must wrapped by utils.createHasher");Fn(t.outputLen),Fn(t.blockLen)}function Ls(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function Q0(t,e){dn(t,void 0,"digestInto() output");const n=e.outputLen;if(t.length='+n)}function Dt(...t){for(let e=0;e>>e}const Z0=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",eE=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function tE(t){if(dn(t),Z0)return t.toHex();let e="";for(let n=0;nt(o).update(r).digest(),s=t(void 0);return n.outputLen=s.outputLen,n.blockLen=s.blockLen,n.create=r=>t(r),Object.assign(n,e),Object.freeze(n)}const Pu=t=>({oid:Uint8Array.from([6,9,96,134,72,1,101,3,4,2,t])});class Tu{oHash;iHash;blockLen;outputLen;finished=!1;destroyed=!1;constructor(e,n){if(Cu(e),dn(n,void 0,"key"),this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const s=this.blockLen,r=new Uint8Array(s);r.set(n.length>s?e.create().update(n).digest():n);for(let o=0;onew Tu(t,e).update(n).digest();ku.create=(t,e)=>new Tu(t,e);function rE(t,e,n,s){Cu(t);const r=sE({dkLen:32,asyncTick:10},s),{c:o,dkLen:i,asyncTick:a}=r;if(Fn(o,"c"),Fn(i,"dkLen"),Fn(a,"asyncTick"),o<1)throw new Error("iterations (c) must be >= 1");const l=Di(e,"password"),c=Di(n,"salt"),u=new Uint8Array(i),d=ku.create(t,l),h=d._cloneInto().update(c);return{c:o,dkLen:i,asyncTick:a,DK:u,PRF:d,PRFSalt:h}}function oE(t,e,n,s,r){return t.destroy(),e.destroy(),s&&s.destroy(),Dt(r),n}function iE(t,e,n,s){const{c:r,dkLen:o,DK:i,PRF:a,PRFSalt:l}=rE(t,e,n,s);let c;const u=new Uint8Array(4),d=bs(u),h=new Uint8Array(a.outputLen);for(let f=1,y=0;yr-i&&(this.process(s,0),i=0);for(let d=i;du.length)throw new Error("_sha2: outputLen bigger than state");for(let d=0;d>ji&ns)}:{h:Number(t>>ji&ns)|0,l:Number(t&ns)|0}}function uE(t,e=!1){const n=t.length;let s=new Uint32Array(n),r=new Uint32Array(n);for(let o=0;ot>>>n,Bi=(t,e,n)=>t<<32-n|e>>>n,Xt=(t,e,n)=>t>>>n|e<<32-n,Yt=(t,e,n)=>t<<32-n|e>>>n,ss=(t,e,n)=>t<<64-n|e>>>n-32,rs=(t,e,n)=>t>>>n-32|e<<64-n;function ot(t,e,n,s){const r=(e>>>0)+(s>>>0);return{h:t+n+(r/2**32|0)|0,l:r|0}}const dE=(t,e,n)=>(t>>>0)+(e>>>0)+(n>>>0),pE=(t,e,n,s)=>e+n+s+(t/2**32|0)|0,fE=(t,e,n,s)=>(t>>>0)+(e>>>0)+(n>>>0)+(s>>>0),hE=(t,e,n,s,r)=>e+n+s+r+(t/2**32|0)|0,mE=(t,e,n,s,r)=>(t>>>0)+(e>>>0)+(n>>>0)+(s>>>0)+(r>>>0),gE=(t,e,n,s,r,o)=>e+n+s+r+o+(t/2**32|0)|0,yE=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),ft=new Uint32Array(64);class bE extends Ru{constructor(e){super(64,e,8,!1)}get(){const{A:e,B:n,C:s,D:r,E:o,F:i,G:a,H:l}=this;return[e,n,s,r,o,i,a,l]}set(e,n,s,r,o,i,a,l){this.A=e|0,this.B=n|0,this.C=s|0,this.D=r|0,this.E=o|0,this.F=i|0,this.G=a|0,this.H=l|0}process(e,n){for(let d=0;d<16;d++,n+=4)ft[d]=e.getUint32(n,!1);for(let d=16;d<64;d++){const h=ft[d-15],f=ft[d-2],y=Je(h,7)^Je(h,18)^h>>>3,w=Je(f,17)^Je(f,19)^f>>>10;ft[d]=w+ft[d-7]+y+ft[d-16]|0}let{A:s,B:r,C:o,D:i,E:a,F:l,G:c,H:u}=this;for(let d=0;d<64;d++){const h=Je(a,6)^Je(a,11)^Je(a,25),f=u+h+aE(a,l,c)+yE[d]+ft[d]|0,w=(Je(s,2)^Je(s,13)^Je(s,22))+lE(s,r,o)|0;u=c,c=l,l=a,a=i+f|0,i=o,o=r,r=s,s=f+w|0}s=s+this.A|0,r=r+this.B|0,o=o+this.C|0,i=i+this.D|0,a=a+this.E|0,l=l+this.F|0,c=c+this.G|0,u=u+this.H|0,this.set(s,r,o,i,a,l,c,u)}roundClean(){Dt(ft)}destroy(){this.set(0,0,0,0,0,0,0,0),Dt(this.buffer)}}class vE extends bE{A=pt[0]|0;B=pt[1]|0;C=pt[2]|0;D=pt[3]|0;E=pt[4]|0;F=pt[5]|0;G=pt[6]|0;H=pt[7]|0;constructor(){super(32)}}const Iu=uE(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(t=>BigInt(t))),wE=Iu[0],_E=Iu[1],ht=new Uint32Array(80),mt=new Uint32Array(80);class SE extends Ru{constructor(e){super(128,e,16,!1)}get(){const{Ah:e,Al:n,Bh:s,Bl:r,Ch:o,Cl:i,Dh:a,Dl:l,Eh:c,El:u,Fh:d,Fl:h,Gh:f,Gl:y,Hh:w,Hl:m}=this;return[e,n,s,r,o,i,a,l,c,u,d,h,f,y,w,m]}set(e,n,s,r,o,i,a,l,c,u,d,h,f,y,w,m){this.Ah=e|0,this.Al=n|0,this.Bh=s|0,this.Bl=r|0,this.Ch=o|0,this.Cl=i|0,this.Dh=a|0,this.Dl=l|0,this.Eh=c|0,this.El=u|0,this.Fh=d|0,this.Fl=h|0,this.Gh=f|0,this.Gl=y|0,this.Hh=w|0,this.Hl=m|0}process(e,n){for(let S=0;S<16;S++,n+=4)ht[S]=e.getUint32(n),mt[S]=e.getUint32(n+=4);for(let S=16;S<80;S++){const R=ht[S-15]|0,E=mt[S-15]|0,$=Xt(R,E,1)^Xt(R,E,8)^Hi(R,E,7),M=Yt(R,E,1)^Yt(R,E,8)^Bi(R,E,7),j=ht[S-2]|0,W=mt[S-2]|0,X=Xt(j,W,19)^ss(j,W,61)^Hi(j,W,6),J=Yt(j,W,19)^rs(j,W,61)^Bi(j,W,6),Y=fE(M,J,mt[S-7],mt[S-16]),H=hE(Y,$,X,ht[S-7],ht[S-16]);ht[S]=H|0,mt[S]=Y|0}let{Ah:s,Al:r,Bh:o,Bl:i,Ch:a,Cl:l,Dh:c,Dl:u,Eh:d,El:h,Fh:f,Fl:y,Gh:w,Gl:m,Hh:_,Hl:g}=this;for(let S=0;S<80;S++){const R=Xt(d,h,14)^Xt(d,h,18)^ss(d,h,41),E=Yt(d,h,14)^Yt(d,h,18)^rs(d,h,41),$=d&f^~d&w,M=h&y^~h&m,j=mE(g,E,M,_E[S],mt[S]),W=gE(j,_,R,$,wE[S],ht[S]),X=j|0,J=Xt(s,r,28)^ss(s,r,34)^ss(s,r,39),Y=Yt(s,r,28)^rs(s,r,34)^rs(s,r,39),H=s&o^s&a^o&a,te=r&i^r&l^i&l;_=w|0,g=m|0,w=f|0,m=y|0,f=d|0,y=h|0,{h:d,l:h}=ot(c|0,u|0,W|0,X|0),c=a|0,u=l|0,a=o|0,l=i|0,o=s|0,i=r|0;const le=dE(X,Y,te);s=pE(le,W,J,H),r=le|0}({h:s,l:r}=ot(this.Ah|0,this.Al|0,s|0,r|0)),{h:o,l:i}=ot(this.Bh|0,this.Bl|0,o|0,i|0),{h:a,l}=ot(this.Ch|0,this.Cl|0,a|0,l|0),{h:c,l:u}=ot(this.Dh|0,this.Dl|0,c|0,u|0),{h:d,l:h}=ot(this.Eh|0,this.El|0,d|0,h|0),{h:f,l:y}=ot(this.Fh|0,this.Fl|0,f|0,y|0),{h:w,l:m}=ot(this.Gh|0,this.Gl|0,w|0,m|0),{h:_,l:g}=ot(this.Hh|0,this.Hl|0,_|0,g|0),this.set(s,r,o,i,a,l,c,u,d,h,f,y,w,m,_,g)}roundClean(){Dt(ht,mt)}destroy(){Dt(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}class EE extends SE{Ah=Ee[0]|0;Al=Ee[1]|0;Bh=Ee[2]|0;Bl=Ee[3]|0;Ch=Ee[4]|0;Cl=Ee[5]|0;Dh=Ee[6]|0;Dl=Ee[7]|0;Eh=Ee[8]|0;El=Ee[9]|0;Fh=Ee[10]|0;Fl=Ee[11]|0;Gh=Ee[12]|0;Gl=Ee[13]|0;Hh=Ee[14]|0;Hl=Ee[15]|0;constructor(){super(64)}}const xE=Au(()=>new vE,Pu(1)),CE=Au(()=>new EE,Pu(3)),AE=(t,e,n,s)=>Be.from(iE(CE,t,e,{c:n,dkLen:s})),Fu=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",PE=Fu+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",TE="["+Fu+"]["+PE+"]*",kE=new RegExp("^"+TE+"$");function $u(t,e){const n=[];let s=e.exec(t);for(;s;){const r=[];r.startIndex=e.lastIndex-s[0].length;const o=s.length;for(let i=0;i"u")};function RE(t){return typeof t<"u"}const si=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],Uu=["__proto__","constructor","prototype"],IE={allowBooleanAttributes:!1,unpairedTags:[]};function FE(t,e){e=Object.assign({},IE,e);const n=[];let s=!1,r=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let o=0;o"&&t[o]!==" "&&t[o]!==" "&&t[o]!==` +`&&t[o]!=="\r";o++)l+=t[o];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),o--),!jE(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",pe("InvalidTag",d,Ce(t,o))}const c=LE(t,o);if(c===!1)return pe("InvalidAttr","Attributes for '"+l+"' have open quote.",Ce(t,o));let u=c.value;if(o=c.index,u[u.length-1]==="/"){const d=o-u.length;u=u.substring(0,u.length-1);const h=Wi(u,e);if(h===!0)s=!0;else return pe(h.err.code,h.err.msg,Ce(t,d+h.err.line))}else if(a)if(c.tagClosed){if(u.trim().length>0)return pe("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",Ce(t,i));if(n.length===0)return pe("InvalidTag","Closing tag '"+l+"' has not been opened.",Ce(t,i));{const d=n.pop();if(l!==d.tagName){let h=Ce(t,d.tagStartPos);return pe("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+h.line+", col "+h.col+") instead of closing tag '"+l+"'.",Ce(t,i))}n.length==0&&(r=!0)}}else return pe("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",Ce(t,o));else{const d=Wi(u,e);if(d!==!0)return pe(d.err.code,d.err.msg,Ce(t,o-u.length+d.err.line));if(r===!0)return pe("InvalidXml","Multiple possible root nodes found.",Ce(t,o));e.unpairedTags.indexOf(l)!==-1||n.push({tagName:l,tagStartPos:i}),s=!0}for(o++;o0)return pe("InvalidXml","Invalid '"+JSON.stringify(n.map(o=>o.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return pe("InvalidXml","Start tag expected.",1);return!0}function qi(t){return t===" "||t===" "||t===` +`||t==="\r"}function zi(t,e){const n=e;for(;e5&&s==="xml")return pe("InvalidXml","XML declaration allowed only at the start of the document.",Ce(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}function Vi(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let n=1;for(e+=8;e"&&(n--,n===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e"){e+=2;break}}return e}const $E='"',UE="'";function LE(t,e){let n="",s="",r=!1;for(;e"&&s===""){r=!0;break}n+=t[e]}return s!==""?!1:{value:n,index:e,tagClosed:r}}const OE=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Wi(t,e){const n=$u(t,OE),s={};for(let r=0;rsi.includes(t)?"__"+t:t,HE={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,n){return t},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Lu};function BE(t,e){if(typeof t!="string")return;const n=t.toLowerCase();if(si.some(s=>n===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(Uu.some(s=>n===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}function Ou(t){return typeof t=="boolean"?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,maxEntityCount:100,allowedTags:null,tagFilter:null}:typeof t=="object"&&t!==null?{enabled:t.enabled!==!1,maxEntitySize:t.maxEntitySize??1e4,maxExpansionDepth:t.maxExpansionDepth??10,maxTotalExpansions:t.maxTotalExpansions??1e3,maxExpandedLength:t.maxExpandedLength??1e5,maxEntityCount:t.maxEntityCount??100,allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null}:Ou(!0)}const qE=function(t){const e=Object.assign({},HE,t),n=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(const{value:s,name:r}of n)s&&BE(s,r);return e.onDangerousProperty===null&&(e.onDangerousProperty=Lu),e.processEntities=Ou(e.processEntities),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(s=>typeof s=="string"&&s.startsWith("*.")?".."+s.substring(2):s)),e};let Os;typeof Symbol!="function"?Os="@@xmlMetadata":Os=Symbol("XML Node Metadata");class yt{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,n){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:n})}addChild(e,n){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),n!==void 0&&(this.child[this.child.length-1][Os]={startIndex:n})}static getMetaDataSymbol(){return Os}}class zE{constructor(e){this.suppressValidationErr=!e,this.options=e}readDocType(e,n){const s=Object.create(null);let r=0;if(e[n+3]==="O"&&e[n+4]==="C"&&e[n+5]==="T"&&e[n+6]==="Y"&&e[n+7]==="P"&&e[n+8]==="E"){n=n+9;let o=1,i=!1,a=!1,l="";for(;n=this.options.maxEntityCount)throw new Error(`Entity count (${r+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);const d=c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");s[c]={regx:RegExp(`&${d};`,"g"),val:u},r++}}else if(i&&Pt(e,"!ELEMENT",n)){n+=8;const{index:c}=this.readElementExp(e,n+1);n=c}else if(i&&Pt(e,"!ATTLIST",n))n+=8;else if(i&&Pt(e,"!NOTATION",n)){n+=9;const{index:c}=this.readNotationExp(e,n+1,this.suppressValidationErr);n=c}else if(Pt(e,"!--",n))a=!0;else throw new Error("Invalid DOCTYPE");o++,l=""}else if(e[n]===">"){if(a?e[n-1]==="-"&&e[n-2]==="-"&&(a=!1,o--):o--,o===0)break}else e[n]==="["?i=!0:l+=e[n];if(o!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:s,i:n}}readEntityExp(e,n){n=Fe(e,n);let s="";for(;nthis.options.maxEntitySize)throw new Error(`Entity "${s}" size (${r.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return n--,[s,r,n]}readNotationExp(e,n){n=Fe(e,n);let s="";for(;n{for(;e1||o.length===1&&!a))return t;{const l=Number(n),c=String(l);if(l===0)return l;if(c.search(/[eE]/)!==-1)return e.eNotation?l:t;if(n.indexOf(".")!==-1)return c==="0"||c===i||c===`${r}${i}`?l:t;let u=o?i:n;return o?u===c||r+u===c?l:t:u===c||u===r+c?l:t}}else return t}}else return ZE(t,Number(n),e)}const XE=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function YE(t,e,n){if(!n.eNotation)return t;const s=e.match(XE);if(s){let r=s[1]||"";const o=s[3].indexOf("e")===-1?"E":"e",i=s[2],a=r?t[i.length+1]===o:t[i.length]===o;return i.length>1&&a?t:i.length===1&&(s[3].startsWith(`.${o}`)||s[3][0]===o)?Number(e):n.leadingZeros&&!a?(e=(s[1]||"")+s[3],Number(e)):t}else return t}function JE(t){return t&&t.indexOf(".")!==-1&&(t=t.replace(/0+$/,""),t==="."?t="0":t[0]==="."?t="0"+t:t[t.length-1]==="."&&(t=t.substring(0,t.length-1))),t}function QE(t,e){if(parseInt)return parseInt(t,e);if(Number.parseInt)return Number.parseInt(t,e);if(window&&window.parseInt)return window.parseInt(t,e);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}function ZE(t,e,n){const s=e===1/0;switch(n.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return s?"Infinity":"-Infinity";default:return t}}function ex(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(const n of t)if(typeof n=="string"&&e===n||n instanceof RegExp&&n.test(e))return!0}:()=>!1}class pn{constructor(e,n={}){this.pattern=e,this.separator=n.separator||".",this.segments=this._parse(e),this._hasDeepWildcard=this.segments.some(s=>s.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(s=>s.attrName!==void 0),this._hasPositionSelector=this.segments.some(s=>s.position!==void 0)}_parse(e){const n=[];let s=0,r="";for(;s0){const u=this.path[this.path.length-1];u.values=void 0}const r=this.path.length;this.siblingStacks[r]||(this.siblingStacks[r]=new Map);const o=this.siblingStacks[r],i=s?`${s}:${e}`:e,a=o.get(i)||0;let l=0;for(const u of o.values())l+=u;o.set(i,a+1);const c={tag:e,position:l,counter:a};s!=null&&(c.namespace=s),n!=null&&(c.values=n),this.path.push(c)}pop(){if(this.path.length===0)return;const e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){const n=this.path[this.path.length-1];e!=null&&(n.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){return this.path.length===0?void 0:this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;const n=this.path[this.path.length-1];return n.values!==void 0&&e in n.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,n=!0){const s=e||this.separator;return this.path.map(r=>n&&r.namespace?`${r.namespace}:${r.tag}`:r.tag).join(s)}toArray(){return this.path.map(e=>e.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(e){const n=e.segments;return n.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(n):this._matchSimple(n)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let n=0;n=0&&n>=0;){const r=e[s];if(r.type==="deep-wildcard"){if(s--,s<0)return!0;const o=e[s];let i=!1;for(let a=n;a>=0;a--){const l=a===this.path.length-1;if(this._matchSegment(o,this.path[a],l)){n=a-1,s--,i=!0;break}}if(!i)return!1}else{const o=n===this.path.length-1;if(!this._matchSegment(r,this.path[n],o))return!1;n--,s--}}return s<0}_matchSegment(e,n,s){if(e.tag!=="*"&&e.tag!==n.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==n.namespace)return!1;if(e.attrName!==void 0){if(!s||!n.values||!(e.attrName in n.values))return!1;if(e.attrValue!==void 0){const r=n.values[e.attrName];if(String(r)!==String(e.attrValue))return!1}}if(e.position!==void 0){if(!s)return!1;const r=n.counter??0;if(e.position==="first"&&r!==0)return!1;if(e.position==="odd"&&r%2!==1)return!1;if(e.position==="even"&&r%2!==0)return!1;if(e.position==="nth"&&r!==e.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>new Map(e))}}restore(e){this.path=e.path.map(n=>({...n})),this.siblingStacks=e.siblingStacks.map(n=>new Map(n))}}function tx(t,e){if(!t)return{};const n=e.attributesGroupName?t[e.attributesGroupName]:t;if(!n)return{};const s={};for(const r in n)if(r.startsWith(e.attributeNamePrefix)){const o=r.substring(e.attributeNamePrefix.length);s[o]=n[r]}else s[r]=n[r];return s}function nx(t){if(!t||typeof t!="string")return;const e=t.indexOf(":");if(e!==-1&&e>0){const n=t.substring(0,e);if(n!=="xmlns")return n}}class sx{constructor(e){if(this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(n,s)=>Gi(s,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(n,s)=>Gi(s,16,"&#x")}},this.addExternalEntities=rx,this.parseXml=cx,this.parseTextData=ox,this.resolveNameSpace=ix,this.buildAttributesMap=lx,this.isItStopNode=fx,this.replaceEntitiesValue=dx,this.readStopNodeData=mx,this.saveTextToParentTag=px,this.addChild=ux,this.ignoreAttributesFn=ex(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new ri,this.isCurrentNodeStopNode=!1,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodeExpressions=[];for(let n=0;n0)){i||(t=this.replaceEntitiesValue(t,e,n));const a=this.options.jPath?n.toString():n,l=this.options.tagValueProcessor(e,t,a,r,o);return l==null?t:typeof l!=typeof t||l!==t?l:this.options.trimValues?Wr(t,this.options.parseTagValue,this.options.numberParseOptions):t.trim()===t?Wr(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function ix(t){if(this.options.removeNSPrefix){const e=t.split(":"),n=t.charAt(0)==="/"?"/":"";if(e[0]==="xmlns")return"";e.length===2&&(t=n+e[1])}return t}const ax=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function lx(t,e,n){if(this.options.ignoreAttributes!==!0&&typeof t=="string"){const s=$u(t,ax),r=s.length,o={},i={};for(let a=0;a0&&typeof e=="object"&&e.updateCurrent&&e.updateCurrent(i);for(let a=0;a",o,"Closing Tag is not closed.");let l=t.substring(o+2,a).trim();if(this.options.removeNSPrefix){const u=l.indexOf(":");u!==-1&&(l=l.substr(u+1))}l=hr(this.options.transformTagName,l,"",this.options).tagName,n&&(s=this.saveTextToParentTag(s,n,this.matcher));const c=this.matcher.getCurrentTag();if(l&&this.options.unpairedTags.indexOf(l)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);c&&this.options.unpairedTags.indexOf(c)!==-1&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,n=this.tagsNodeStack.pop(),s="",o=a}else if(t[o+1]==="?"){let a=Vr(t,o,!1,"?>");if(!a)throw new Error("Pi Tag is not closed.");if(s=this.saveTextToParentTag(s,n,this.matcher),!(this.options.ignoreDeclaration&&a.tagName==="?xml"||this.options.ignorePiTags)){const l=new yt(a.tagName);l.add(this.options.textNodeName,""),a.tagName!==a.tagExp&&a.attrExpPresent&&(l[":@"]=this.buildAttributesMap(a.tagExp,this.matcher,a.tagName)),this.addChild(n,l,this.matcher,o)}o=a.closeIndex+1}else if(t.substr(o+1,3)==="!--"){const a=Rt(t,"-->",o+4,"Comment is not closed.");if(this.options.commentPropName){const l=t.substring(o+4,a-2);s=this.saveTextToParentTag(s,n,this.matcher),n.add(this.options.commentPropName,[{[this.options.textNodeName]:l}])}o=a}else if(t.substr(o+1,2)==="!D"){const a=r.readDocType(t,o);this.docTypeEntities=a.entities,o=a.i}else if(t.substr(o+1,2)==="!["){const a=Rt(t,"]]>",o,"CDATA is not closed.")-2,l=t.substring(o+9,a);s=this.saveTextToParentTag(s,n,this.matcher);let c=this.parseTextData(l,n.tagname,this.matcher,!0,!1,!0,!0);c==null&&(c=""),this.options.cdataPropName?n.add(this.options.cdataPropName,[{[this.options.textNodeName]:l}]):n.add(this.options.textNodeName,c),o=a+2}else{let a=Vr(t,o,this.options.removeNSPrefix);if(!a){const g=t.substring(Math.max(0,o-50),Math.min(t.length,o+50));throw new Error(`readTagExp returned undefined at position ${o}. Context: "${g}"`)}let l=a.tagName;const c=a.rawTagName;let u=a.tagExp,d=a.attrExpPresent,h=a.closeIndex;if({tagName:l,tagExp:u}=hr(this.options.transformTagName,l,u,this.options),this.options.strictReservedNames&&(l===this.options.commentPropName||l===this.options.cdataPropName))throw new Error(`Invalid tag name: ${l}`);n&&s&&n.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,n,this.matcher,!1));const f=n;f&&this.options.unpairedTags.indexOf(f.tagname)!==-1&&(n=this.tagsNodeStack.pop(),this.matcher.pop());let y=!1;u.length>0&&u.lastIndexOf("/")===u.length-1&&(y=!0,l[l.length-1]==="/"?(l=l.substr(0,l.length-1),u=l):u=u.substr(0,u.length-1),d=l!==u);let w=null,m;m=nx(c),l!==e.tagname&&this.matcher.push(l,{},m),l!==u&&d&&(w=this.buildAttributesMap(u,this.matcher,l),w&&tx(w,this.options)),l!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));const _=o;if(this.isCurrentNodeStopNode){let g="";if(y)o=a.closeIndex;else if(this.options.unpairedTags.indexOf(l)!==-1)o=a.closeIndex;else{const R=this.readStopNodeData(t,c,h+1);if(!R)throw new Error(`Unexpected end of ${c}`);o=R.i,g=R.tagContent}const S=new yt(l);w&&(S[":@"]=w),S.add(this.options.textNodeName,g),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(n,S,this.matcher,_)}else{if(y){({tagName:l,tagExp:u}=hr(this.options.transformTagName,l,u,this.options));const g=new yt(l);w&&(g[":@"]=w),this.addChild(n,g,this.matcher,_),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(this.options.unpairedTags.indexOf(l)!==-1){const g=new yt(l);w&&(g[":@"]=w),this.addChild(n,g,this.matcher,_),this.matcher.pop(),this.isCurrentNodeStopNode=!1,o=a.closeIndex;continue}else{const g=new yt(l);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(n),w&&(g[":@"]=w),this.addChild(n,g,this.matcher,_),n=g}s="",o=h}}else s+=t[o];return e.child};function ux(t,e,n,s){this.options.captureMetaData||(s=void 0);const r=this.options.jPath?n.toString():n,o=this.options.updateTag(e.tagname,r,e[":@"]);o===!1||(typeof o=="string"&&(e.tagname=o),t.addChild(e,s))}function dx(t,e,n){const s=this.options.processEntities;if(!s||!s.enabled)return t;if(s.allowedTags){const r=this.options.jPath?n.toString():n;if(!(Array.isArray(s.allowedTags)?s.allowedTags.includes(e):s.allowedTags(e,r)))return t}if(s.tagFilter){const r=this.options.jPath?n.toString():n;if(!s.tagFilter(e,r))return t}for(const r of Object.keys(this.docTypeEntities)){const o=this.docTypeEntities[r],i=t.match(o.regx);if(i){if(this.entityExpansionCount+=i.length,s.maxTotalExpansions&&this.entityExpansionCount>s.maxTotalExpansions)throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${s.maxTotalExpansions}`);const a=t.length;if(t=t.replace(o.regx,o.val),s.maxExpandedLength&&(this.currentExpandedLength+=t.length-a,this.currentExpandedLength>s.maxExpandedLength))throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${s.maxExpandedLength}`)}}for(const r of Object.keys(this.lastEntities)){const o=this.lastEntities[r],i=t.match(o.regex);if(i&&(this.entityExpansionCount+=i.length,s.maxTotalExpansions&&this.entityExpansionCount>s.maxTotalExpansions))throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${s.maxTotalExpansions}`);t=t.replace(o.regex,o.val)}if(t.indexOf("&")===-1)return t;if(this.options.htmlEntities)for(const r of Object.keys(this.htmlEntities)){const o=this.htmlEntities[r],i=t.match(o.regex);if(i&&(this.entityExpansionCount+=i.length,s.maxTotalExpansions&&this.entityExpansionCount>s.maxTotalExpansions))throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${s.maxTotalExpansions}`);t=t.replace(o.regex,o.val)}return t=t.replace(this.ampEntity.regex,this.ampEntity.val),t}function px(t,e,n,s){return t&&(s===void 0&&(s=e.child.length===0),t=this.parseTextData(t,e.tagname,n,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,s),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}function fx(t,e){if(!t||t.length===0)return!1;for(let n=0;n",n,`${e} is not closed`);if(t.substring(n+2,o).trim()===e&&(r--,r===0))return{tagContent:t.substring(s,n),i:o};n=o}else if(t[n+1]==="?")n=Rt(t,"?>",n+1,"StopNode is not closed.");else if(t.substr(n+1,3)==="!--")n=Rt(t,"-->",n+3,"StopNode is not closed.");else if(t.substr(n+1,2)==="![")n=Rt(t,"]]>",n,"StopNode is not closed.")-2;else{const o=Vr(t,n,">");o&&((o&&o.tagName)===e&&o.tagExp[o.tagExp.length-1]!=="/"&&r++,n=o.closeIndex)}}function Wr(t,e,n){if(e&&typeof t=="string"){const s=t.trim();return s==="true"?!0:s==="false"?!1:KE(t,n)}else return RE(t)?t:""}function Gi(t,e,n){const s=Number.parseInt(t,e);return s>=0&&s<=1114111?String.fromCodePoint(s):n+t+";"}function hr(t,e,n,s){if(t){const r=t(e);n===e&&(n=r),e=r}return e=Nu(e,s),{tagName:e,tagExp:n}}function Nu(t,e){if(Uu.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return si.includes(t)?e.onDangerousProperty(t):t}const mr=yt.getMetaDataSymbol();function gx(t,e){if(!t||typeof t!="object")return{};if(!e)return t;const n={};for(const s in t)if(s.startsWith(e)){const r=s.substring(e.length);n[r]=t[s]}else n[s]=t[s];return n}function yx(t,e,n){return Mu(t,e,n)}function Mu(t,e,n){let s;const r={};for(let o=0;o0&&(r[e.textNodeName]=s):s!==void 0&&(r[e.textNodeName]=s),r}function bx(t){const e=Object.keys(t);for(let n=0;n0&&(n=_x);const s=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let o=0;oe.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let a=t.toString();return a=Gr(a,e),a}return""}for(let a=0;a`,i=!1,s.pop();continue}else if(c===e.commentPropName){o+=n+``,i=!0,s.pop();continue}else if(c[0]==="?"){const m=Ki(l[":@"],e,d),_=c==="?xml"?"":n;let g=l[c][0][e.textNodeName];g=g.length!==0?" "+g:"",o+=_+`<${c}${g}${m}?>`,i=!0,s.pop();continue}let h=n;h!==""&&(h+=e.indentBy);const f=Ki(l[":@"],e,d),y=n+`<${c}${f}`;let w;d?w=Hu(l[c],e):w=ju(l[c],e,h,s,r),e.unpairedTags.indexOf(c)!==-1?e.suppressUnpairedNode?o+=y+">":o+=y+"/>":(!w||w.length===0)&&e.suppressEmptyNode?o+=y+"/>":w&&w.endsWith(">")?o+=y+`>${w}${n}`:(o+=y+">",w&&n!==""&&(w.includes("/>")||w.includes("`),i=!0,s.pop()}return o}function Ex(t,e){if(!t||e.ignoreAttributes)return null;const n={};let s=!1;for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;const o=r.startsWith(e.attributeNamePrefix)?r.substr(e.attributeNamePrefix.length):r;n[o]=t[r],s=!0}return s?n:null}function Hu(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let n="";for(let s=0;s`:n+=`<${o}${i}>${a}`}}}return n}function xx(t,e){let n="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let r=t[s];r===!0&&e.suppressBooleanAttributes?n+=` ${s.substr(e.attributeNamePrefix.length)}`:n+=` ${s.substr(e.attributeNamePrefix.length)}="${r}"`}return n}function Bu(t){const e=Object.keys(t);for(let n=0;n0&&e.processEntities)for(let n=0;n{for(const n of t)if(typeof n=="string"&&e===n||n instanceof RegExp&&n.test(e))return!0}:()=>!1}const Px={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0};function De(t){if(this.options=Object.assign({},Px,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e=="string"&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e +`,this.newLine=` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}De.prototype.build=function(t){if(this.options.preserveOrder)return Sx(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});const e=new ri;return this.j2x(t,0,e).val}};De.prototype.j2x=function(t,e,n){let s="",r="";if(this.options.maxNestedTags&&n.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");const o=this.options.jPath?n.toString():n,i=this.checkStopNode(n);for(let a in t)if(Object.prototype.hasOwnProperty.call(t,a))if(typeof t[a]>"u")this.isAttribute(a)&&(r+="");else if(t[a]===null)this.isAttribute(a)||a===this.options.cdataPropName?r+="":a[0]==="?"?r+=this.indentate(e)+"<"+a+"?"+this.tagEndChar:r+=this.indentate(e)+"<"+a+"/"+this.tagEndChar;else if(t[a]instanceof Date)r+=this.buildTextValNode(t[a],a,"",e,n);else if(typeof t[a]!="object"){const l=this.isAttribute(a);if(l&&!this.ignoreAttributesFn(l,o))s+=this.buildAttrPairStr(l,""+t[a],i);else if(!l)if(a===this.options.textNodeName){let c=this.options.tagValueProcessor(a,""+t[a]);r+=this.replaceEntitiesValue(c)}else{n.push(a);const c=this.checkStopNode(n);if(n.pop(),c){const u=""+t[a];u===""?r+=this.indentate(e)+"<"+a+this.closeTag(a)+this.tagEndChar:r+=this.indentate(e)+"<"+a+">"+u+""u"))if(h===null)a[0]==="?"?r+=this.indentate(e)+"<"+a+"?"+this.tagEndChar:r+=this.indentate(e)+"<"+a+"/"+this.tagEndChar;else if(typeof h=="object")if(this.options.oneListGroup){n.push(a);const f=this.j2x(h,e+1,n);n.pop(),c+=f.val,this.options.attributesGroupName&&h.hasOwnProperty(this.options.attributesGroupName)&&(u+=f.attrStr)}else c+=this.processTextOrObjNode(h,a,e,n);else if(this.options.oneListGroup){let f=this.options.tagValueProcessor(a,h);f=this.replaceEntitiesValue(f),c+=f}else{n.push(a);const f=this.checkStopNode(n);if(n.pop(),f){const y=""+h;y===""?c+=this.indentate(e)+"<"+a+this.closeTag(a)+this.tagEndChar:c+=this.indentate(e)+"<"+a+">"+y+"${r}`;else if(typeof r=="object"&&r!==null){const o=this.buildRawContent(r),i=this.buildAttributesForStopNode(r);o===""?e+=`<${n}${i}/>`:e+=`<${n}${i}>${o}`}}else if(typeof s=="object"&&s!==null){const r=this.buildRawContent(s),o=this.buildAttributesForStopNode(s);r===""?e+=`<${n}${o}/>`:e+=`<${n}${o}>${r}`}else e+=`<${n}>${s}`}return e};De.prototype.buildAttributesForStopNode=function(t){if(!t||typeof t!="object")return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){const n=t[this.options.attributesGroupName];for(let s in n){if(!Object.prototype.hasOwnProperty.call(n,s))continue;const r=s.startsWith(this.options.attributeNamePrefix)?s.substring(this.options.attributeNamePrefix.length):s,o=n[s];o===!0&&this.options.suppressBooleanAttributes?e+=" "+r:e+=" "+r+'="'+o+'"'}}else for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;const s=this.isAttribute(n);if(s){const r=t[n];r===!0&&this.options.suppressBooleanAttributes?e+=" "+s:e+=" "+s+'="'+r+'"'}}return e};De.prototype.buildObjectNode=function(t,e,n,s){if(t==="")return e[0]==="?"?this.indentate(s)+"<"+e+n+"?"+this.tagEndChar:this.indentate(s)+"<"+e+n+this.closeTag(e)+this.tagEndChar;{let r=""+t+r:this.options.commentPropName!==!1&&e===this.options.commentPropName&&o.length===0?this.indentate(s)+``+this.newLine:this.indentate(s)+"<"+e+n+o+this.tagEndChar+t+this.indentate(s)+r}};De.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`>`+this.newLine;if(this.options.commentPropName!==!1&&e===this.options.commentPropName)return this.indentate(s)+``+this.newLine;if(e[0]==="?")return this.indentate(s)+"<"+e+n+"?"+this.tagEndChar;{let o=this.options.tagValueProcessor(e,t);return o=this.replaceEntitiesValue(o),o===""?this.indentate(s)+"<"+e+n+this.closeTag(e)+this.tagEndChar:this.indentate(s)+"<"+e+n+">"+o+"0&&this.options.processEntities)for(let e=0;e{const n=new URL(t);n.pathname=[...n.pathname.split("/"),"ocs","v1.php"].filter(Boolean).join("/");const s=n.href,r=xu(s,e),o=new Ix({baseURI:t,axiosClient:e});return{getCapabilities:()=>r.getCapabilities(),signUrl:(i,a)=>o.signUrl(i,a)}},Fx=Object.freeze(Object.defineProperty({__proto__:null,GetCapabilitiesFactory:xu,ocs:rr},Symbol.toStringTag,{value:"Module"})),lt=(t,{fileId:e,path:n,name:s})=>{if(n!==void 0)return se(t.webDavPath,n);if(e!==void 0){if(Vt(t))throw new Error("public spaces need a path provided");return se("spaces",e,s||"")}return t.webDavPath},$x=(t,e)=>({copyFiles(n,{path:s,fileId:r},o,{path:i,parentFolderId:a,name:l},{overwrite:c,...u}={}){const d=lt(n,{fileId:r,path:s}),h=lt(o,{fileId:a,path:i,name:l});return t.copy(d,h,{overwrite:c||!1,...u})}}),Ux=(t,e,n)=>({async createFolder(s,{path:r,parentFolderId:o,folderName:i,fetchFolder:a=!0,...l}){const c=lt(s,{fileId:o,path:r,name:i});if(await t.mkcol(c),a)return e.getFileInfo(s,{path:r},l)}}),Lx=(t,{axiosClient:e})=>({async getFileContents(n,{fileId:s,path:r},{responseType:o="text",noCache:i=!0,headers:a,...l}={}){try{const c=lt(n,{fileId:s,path:r}),u=await e.get(t.getFileUrl(c),{responseType:o,headers:{...i&&{"Cache-Control":"no-cache"},...a||{}},...l});return{response:u,body:u.data,headers:{ETag:u.headers.etag,"OC-ETag":u.headers["oc-etag"],"OC-FileId":u.headers["oc-fileid"]}}}catch(c){const{message:u,response:d}=c;throw new Zo(u,d,d.status)}}}),Ox=(t,e)=>({async getFileInfo(n,s,r){return(await t.listFiles(n,s,{depth:0,...r})).resource}}),Nx=(t,e,n,{axiosClient:s,baseUrl:r})=>({async getFileUrl(o,i,{disposition:a="attachment",version:l=null,username:c="",...u}){if(a==="inline"){const h=await e.getFileContents(o,i,{responseType:"blob",...u});return URL.createObjectURL(h.body)}if(l){if(!c)throw new Error("username is required for URL signing");const h=t.getFileUrl(se("meta",i.fileId,"v",l));return await rr(r,s).signUrl(h,c)}if(i.downloadURL)return i.downloadURL;const{downloadURL:d}=await n.getFileInfo(o,i,{davProperties:[_t.DownloadURL]});return d},revokeUrl:o=>{o&&o.startsWith("blob:")&&URL.revokeObjectURL(o)}}),Mx=(t,e)=>({getPublicFileUrl(n,s){return t.getFileUrl(se("public-files",s))}}),Dx=(t,e,n)=>({async listFiles(s,{path:r,fileId:o}={},{depth:i=1,davProperties:a,isTrash:l=!1,...c}={}){let u;if(Vt(s)){u=await t.propfind(se(s.webDavPath,r),{depth:i,properties:a||cn.PublicLink,...c}),u.forEach(y=>{y.filename=y.filename.split("/").slice(1).join("/")}),u.length===1&&(u[0].filename=se(s.id,r,{leadingSlash:!0})),u.forEach(y=>{y.filename=y.filename.split("/").slice(2).join("/")});const h=s.driveAlias.startsWith("ocm/")?"ocm":"public-link";if((!r||r==="/")&&i>0&&h==="ocm"&&u[0].props[_t.PublicLinkItemType]==="file"&&(u=[{basename:s.fileId,type:"directory",filename:"",props:{}},...u]),!r){const[y,...w]=u;return{resource:Zs({...y,id:s.id,driveAlias:s.driveAlias,webDavPath:s.webDavPath,publicLinkType:h}),children:w.map(m=>kt(m,t.extraProps))}}const f=u.map(y=>kt(y,t.extraProps));return{resource:f[0],children:f.slice(1)}}const d=async()=>{const h=await e.getPathForFileId(o);return this.listFiles(s,{path:h},{depth:i,davProperties:a})};try{let h="";if(l?h=jo(s.id):h=lt(s,{fileId:o,path:r}),u=await t.propfind(h,{depth:i,properties:a||cn.Default,...c}),l)return{resource:kt(u[0],t.extraProps),children:u.slice(1).map(Dc)};const f=u.map(w=>kt(w,t.extraProps)),y=o===s.id;return o&&!y&&f[0].fileId&&o!==f[0].fileId?d():{resource:f[0],children:f.slice(1)}}catch(h){if(h.statusCode===404&&o)return d();throw h}}}),jx=(t,e)=>({moveFiles(n,{path:s,fileId:r},o,{path:i,parentFolderId:a,name:l},{overwrite:c,...u}={}){const d=lt(n,{fileId:r,path:s}),h=lt(o,{fileId:a,path:i,name:l});return t.move(d,h,{overwrite:c||!1,...u})}}),Hx=(t,e,n)=>({async putFileContents(s,{fileName:r,path:o,parentFolderId:i,content:a="",previousEntityTag:l="",overwrite:c,onUploadProgress:u=null,...d}){const h=lt(s,{fileId:i,name:r,path:o}),{result:f}=await t.put(h,a,{previousEntityTag:l,overwrite:c,onUploadProgress:u,...d});return e.getFileInfo(s,{fileId:f.headers.get("Oc-Fileid"),path:o})}}),Bx=(t,e)=>({deleteFile(n,{path:s,...r}){return t.delete(se(n.webDavPath,s),r)}}),qx=(t,e)=>({restoreFile(n,{id:s},{path:r},{overwrite:o,...i}={}){if(Vt(n))return;const a=se(n.webDavPath,r);return t.move(se(n.webDavTrashPath,s),a,{overwrite:o,...i})}}),zx=(t,e)=>({restoreFileVersion(n,{parentFolderId:s,name:r,path:o},i,a={}){const l=lt(n,{path:o,fileId:s,name:r}),c=se("meta",s,"v",i,{leadingSlash:!0}),u=se("files",l,{leadingSlash:!0});return t.copy(c,u,a)}}),Vx=(t,e)=>({clearTrashBin(n,{id:s,...r}={}){let o=jo(n.id);return s&&(o=se(o,s)),t.delete(o,r)}}),Wx=(t,e)=>({async search(n,{davProperties:s=cn.Default,searchLimit:r,...o}){const i="/spaces/",{range:a,results:l}=await t.report(i,{pattern:n,limit:r,properties:s,...o});return{resources:l.map(c=>({...kt(c,t.extraProps),highlights:c.props[_t.Highlights]||""})),totalResults:a?parseInt(a?.split("/")[1]):null}}}),Gx=(t,e)=>({async getPathForFileId(n,s={}){return(await t.propfind(se("meta",n,{leadingSlash:!0}),{properties:[_t.MetaPathForUser],...s}))[0].props[_t.MetaPathForUser]}}),Kr=(t,e)=>Object.fromEntries(Object.entries(t).map(([n,s])=>e.includes(n)?[n,s||""]:[cn.DavNamespace.includes(n)?`d:${n}`:`oc:${n}`,s||""])),Xi=(t=[],{pattern:e,filterRules:n,limit:s=0,extraProps:r=[]})=>{let o="d:propfind";e&&(o="oc:search-files"),n&&(o="oc:filter-files");const i=t.reduce((u,d)=>Object.assign(u,{[d]:null}),{}),a=Kr(i,r),l={[o]:{"d:prop":a,"@@xmlns:d":"DAV:","@@xmlns:oc":"http://owncloud.org/ns",...e&&{"oc:search":{"oc:pattern":e,"oc:limit":s}},...n&&{"oc:filter-rules":Kr(n,[])}}};return new De({format:!0,ignoreAttributes:!1,attributeNamePrefix:"@@",suppressEmptyNode:!0}).build(l)},Kx=t=>{const e={"d:propertyupdate":{"d:set":{"d:prop":Kr(t,[])},"@@xmlns:d":"DAV:","@@xmlns:oc":"http://owncloud.org/ns"}};return new De({format:!0,ignoreAttributes:!1,attributeNamePrefix:"@@",suppressEmptyNode:!0}).build(e)},Xx=t=>{const e={},n=t.get("tus-version");return n?(e.version=n.split(","),t.get("tus-extension")&&(e.extension=t.get("tus-extension").split(",")),t.get("tus-resumable")&&(e.resumable=t.get("tus-resumable")),t.get("tus-max-size")&&(e.maxSize=parseInt(t.get("tus-max-size"),10)),e):null},Yx=async t=>{const e=s=>{const r=decodeURIComponent(s);return s?.startsWith("/remote.php/dav/")?se(r.replace("/remote.php/dav/",""),{leadingSlash:!0,trailingSlash:!1}):r};return(await om(t)).multistatus.response.map(({href:s,propstat:r})=>{const o={...im(r.prop,e(s),!0),processing:r.status==="HTTP/1.1 425 TOO EARLY"};return o.props.name&&(o.props.name=o.props.name.toString()),o})},Jx=t=>{const e=new Du,n={message:"Unknown error",errorCode:void 0};try{const s=e.parse(t);if(!s["d:error"])return n;if(s["d:error"]["s:message"]){const r=s["d:error"]["s:message"];typeof r=="string"&&(n.message=r)}if(s["d:error"]["s:errorcode"]){const r=s["d:error"]["s:errorcode"];typeof r=="string"&&(n.errorCode=r)}}catch{return n}return n};class Qx{client;davPath;headers;extraProps;constructor({baseUrl:e,headers:n}){this.davPath=se(e,"remote.php/dav"),this.client=am(this.davPath,{}),this.headers=n,this.extraProps=[]}mkcol(e,n={}){return this.request(e,{method:it.mkcol,...n})}async propfind(e,{depth:n=1,properties:s=[],headers:r={},...o}={}){const i={...r,Depth:n.toString()},{body:a,result:l}=await this.request(e,{method:it.propfind,data:Xi(s,{extraProps:this.extraProps}),headers:i,...o});return a?.length&&(a[0].tusSupport=Xx(l.headers)),a}async report(e,{pattern:n="",filterRules:s=null,limit:r=30,properties:o,...i}={}){const{body:a,result:l}=await this.request(e,{method:it.report,data:Xi(o,{pattern:n,filterRules:s,limit:r,extraProps:this.extraProps}),...i});return{results:a,range:l.headers.get("content-range")}}copy(e,n,{overwrite:s=!1,headers:r={},...o}={}){const i=se(this.davPath,Pn(n));return this.request(e,{method:it.copy,headers:{...r,Destination:i,overwrite:s?"T":"F"},...o})}move(e,n,{overwrite:s=!1,headers:r={},...o}={}){const i=se(this.davPath,Pn(n));return this.request(e,{method:it.move,headers:{...r,Destination:i,overwrite:s?"T":"F"},...o})}put(e,n,{headers:s={},onUploadProgress:r,previousEntityTag:o,overwrite:i,...a}={}){const l={...s};return o?l["If-Match"]=o:i||(l["If-None-Match"]="*"),this.request(e,{method:it.put,data:n,headers:l,onUploadProgress:r,...a})}delete(e,n={}){return this.request(e,{method:it.delete,...n})}propPatch(e,n,s={}){const r=Kx(n);return this.request(e,{method:it.proppatch,data:r,...s})}getFileUrl(e){return se(this.davPath,Pn(e))}buildHeaders(e={}){return{"Content-Type":"application/xml; charset=utf-8","X-Requested-With":"XMLHttpRequest","X-Request-ID":Ne(),...this.headers&&{...this.headers()},...e}}async request(e,n){const s=se(this.davPath,Pn(e),{leadingSlash:!0}),r={...n,url:s,headers:this.buildHeaders(n.headers||{})};try{const o=await this.client.customRequest("",r);let i;if(o.status===207){const a=await o.text();i=await Yx(a)}return{body:i,status:o.status,result:o}}catch(o){const{response:i}=o,a=await i.text(),l=Jx(a);throw new fu(l.message,l.errorCode,i,i.status)}}}const Zx=(t,e)=>({async listFileVersions(n,s={}){const[r,...o]=await t.propfind(se("meta",n,"v",{leadingSlash:!0}),s);return o.map(i=>kt(i,t.extraProps))}}),eC=(t,e)=>({setFavorite(n,{path:s},r,o={}){const i={[_t.IsFavorite]:r?"true":"false"};return t.propPatch(se(n.webDavPath,s),i,o)}}),tC=(t,e)=>({listFavoriteFiles({davProperties:n=cn.Default,username:s="",...r}={}){return t.report(se("files",s),{properties:n,filterRules:{favorite:1},...r})}}),oi=(t,e)=>{const n=On.create();e&&n.interceptors.request.use(H=>(Object.assign(H.headers,e()),H));const s={axiosClient:n,baseUrl:t},r=new Qx({baseUrl:t,headers:e}),o=H=>{r.extraProps.push(H)},i=Gx(r),{getPathForFileId:a}=i,l=Dx(r,i),{listFiles:c}=l,u=Ox(l),{getFileInfo:d}=u,{createFolder:h}=Ux(r,u),f=Lx(r,s),{getFileContents:y}=f,{putFileContents:w}=Hx(r,u),{getFileUrl:m,revokeUrl:_}=Nx(r,f,u,s),{getPublicFileUrl:g}=Mx(r),{copyFiles:S}=$x(r),{moveFiles:R}=jx(r),{deleteFile:E}=Bx(r),{restoreFile:$}=qx(r),{listFileVersions:M}=Zx(r),{restoreFileVersion:j}=zx(r),{clearTrashBin:W}=Vx(r),{search:X}=Wx(r),{listFavoriteFiles:J}=tC(r),{setFavorite:Y}=eC(r);return{copyFiles:S,createFolder:h,deleteFile:E,restoreFile:$,restoreFileVersion:j,getFileContents:y,getFileInfo:d,getFileUrl:m,getPublicFileUrl:g,getPathForFileId:a,listFiles:c,listFileVersions:M,moveFiles:R,putFileContents:w,revokeUrl:_,clearTrashBin:W,search:X,listFavoriteFiles:J,setFavorite:Y,registerExtraProp:o}},nC=Object.freeze(Object.defineProperty({__proto__:null,DavMethod:it,DavPermission:lm,DavProperties:cn,DavProperty:_t,webdav:oi},Symbol.toStringTag,{value:"Module"})),Yi=Object.freeze(Object.defineProperty({__proto__:null,DavHttpError:fu,GraphSharePermission:Tv,HttpError:Zo,OCM_PROVIDER_ID:cm,SHARE_JAIL_ID:Qt,SharePermissionBit:Yl,ShareType:um,ShareTypes:ks,buildCollaboratorShare:An,buildDeletedResource:Dc,buildIncomingShareResource:$o,buildLinkShare:en,buildOutgoingShareResource:Uo,buildPublicSpaceResource:Zs,buildResource:kt,buildShareSpaceResource:kv,buildSpace:tn,buildSpaceImageResource:Rv,buildWebDavOcmPath:Iv,buildWebDavPublicPath:Fv,buildWebDavSpacesPath:$v,buildWebDavSpacesTrashPath:jo,call:$t,createHttpError:D_,encodePath:Pn,extractDomSelector:Uv,extractExtensionFromFile:Lv,extractNameWithoutExtension:Ov,extractNodeId:Nv,extractParentFolderName:jc,extractStorageId:Mv,getRelativeSpecialFolderSpacePath:Dv,getShareResourcePermissions:zg,getShareResourceRoles:Vg,getSpaceManagers:jv,graph:ni,isCollaboratorShare:Wg,isIncomingShareResource:Gg,isLinkShare:Kg,isManager:Hv,isMountPointSpaceResource:dm,isOutgoingShareResource:Xg,isPersonalSpaceResource:Jl,isProjectSpaceResource:pm,isPublicSpaceResource:Vt,isSearchResource:Bv,isShareResource:Yg,isShareRoot:qv,isShareSpaceResource:Ql,isSpaceResource:fm,isTrashResource:zv,ocs:rr,urlJoin:se,webdav:oi},Symbol.toStringTag,{value:"Module"})),sC=(t,e,n)=>new S0(t,{...bu,keys:["name","type","icon","extension","tags"]}).search(e,{limit:n}).map(r=>r.item),Xr=["anonymous","user","idp","publicLink","hybrid"],$n=(t,e)=>{const n=document.querySelector("base"),s=!!n,r=new URL(window.location.href.split("#")[0]);return r.search="",s?r.pathname=new URL(n.href).pathname:r.pathname.endsWith("/index.html")&&(r.pathname=r.pathname.split("/").slice(0,-1).filter(Boolean).join("/")),/\.(html?)$/i.test(e)?r.pathname=[...r.pathname.split("/"),...e.split("/")].filter(Boolean).join("/"):r[s?"pathname":"hash"]=t.resolve(e).href,r.href};class qu{_mimeTypes=q([]);serverUrl;clientService;constructor(e,n){this.serverUrl=e,this.clientService=n}async loadData(){const e=se(this.serverUrl,"app","list"),{data:{"mime-types":n}}=await this.clientService.httpUnAuthenticated.get(e,{schema:Zl});this._mimeTypes.value=n}set mimeTypes(e){this._mimeTypes.value=e}get mimeTypes(){return p(this._mimeTypes)}get templateMimeTypes(){return p(this._mimeTypes).filter(e=>!!e.app_providers.some(n=>!!n.target_ext))}get appNames(){return[...new Set(p(this._mimeTypes).flatMap(e=>e.app_providers.map(n=>n.name)))]}getMimeTypesByAppName(e){return p(this._mimeTypes).filter(n=>n.app_providers.some(s=>s.name===e))}}class Pe extends Error{name="RuntimeError";constructor(e,...n){super([e,...n].filter(Boolean).join(", ")),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}}class Ut extends Pe{name="ApiError"}const rC=t=>{const e=[],n=(s,r="")=>Object.keys(s).forEach(o=>{hm(s[o])?n(s[o],`${r}${o}.`):e.push(`${r}${o}`)});return n(t),e};class zu{clientService;userStore;serverUrl;capability;available;constructor(e,n,s,r=q([])){this.clientService=e,this.userStore=n,this.serverUrl=s,this.capability=I(()=>{const o=p(r).filter(i=>i.enabled).sort((i,a)=>iu(a.version,i.version));return o.length?o[0]:null}),this.available=I(()=>!!p(this.capability)?.version)}async triggerDownload(e){if(!p(this.available))throw new Pe("no archiver available");if((e.fileIds?.length||0)+(e.files?.length||0)===0)throw new Pe("requested archive with empty list of resources");const n=this.buildDownloadUrl({...e});if(!n)throw new Pe("download url could not be built");let s=e.publicToken?n:await this.clientService.ocs.signUrl(n,this.userStore.user?.onPremisesSamAccountName),r;if(e.publicLinkPassword)try{const o=await fetch(s,{headers:{...this.clientService.getRequestHeaders({useAuth:!1}),Authorization:"Basic "+Be.from(["public",e.publicLinkPassword].join(":")).toString("base64")}});if(!o.ok)throw new Zo("",o);const i=await o.blob();s=URL.createObjectURL(i),r=decodeURI(o.headers.get("content-disposition")?.split('"')[1])}catch{throw new Error("archive could not be fetched")}return wu(s,r),s}buildDownloadUrl(e){const n=[];return e.publicToken&&n.push(`public-token=${e.publicToken}`),n.push(...e.fileIds.map(s=>`id=${s}`)),this.url+"?"+n.join("&")}get url(){if(!this.available)throw new Pe("no archiver available");const e=p(this.capability);return/^https?:\/\//i.test(e.archiver_url)?e.archiver_url:se(this.serverUrl,e.archiver_url)}}class Yr{instance;cancelToken;constructor(e,n){this.cancelToken=On.CancelToken.source(),this.instance=On.create(e),n&&this.instance.interceptors.request.use(n)}cancel(e){this.cancelToken.cancel(e)}async delete(e,n,s){return await this.internalRequestWithData("delete",e,n,s)}get(e,n){return this.internalRequest("get",e,n)}head(e,n){return this.internalRequest("head",e,n)}options(e,n){return this.internalRequest("options",e,n)}patch(e,n,s){return this.internalRequestWithData("patch",e,n,s)}post(e,n,s){return this.internalRequestWithData("post",e,n,s)}put(e,n,s){return this.internalRequestWithData("put",e,n,s)}async request(e){const n=await this.instance.request(this.obtainConfig(e));return this.processResponse(n,e)}obtainConfig(e){return Xn({cancelToken:this.cancelToken.token},e)}processResponse(e,n){if(n?.schema){const s=n.schema.parse(e.data);return{...e,data:s}}return e}async internalRequest(e,n,s){const r=await this.instance[e](n,this.obtainConfig(s));return this.processResponse(r,s)}async internalRequestWithData(e,n,s,r){const o=await this.instance[e](n,s,this.obtainConfig(r));return this.processResponse(o,r)}}async function oC(t,e){const n=t.getReader();let s;for(;!(s=await n.read()).done;)e(s.value)}function iC(t){let e,n,s,r=!1;return function(i){e===void 0?(e=i,n=0,s=-1):e=lC(e,i);const a=e.length;let l=0;for(;n0){const l=r.decode(i.subarray(0,a)),c=a+(i[a+1]===32?2:1),u=r.decode(i.subarray(c));switch(l){case"data":s.data=s.data?s.data+` +`+u:u;break;case"event":s.event=u;break;case"id":t(s.id=u);break;case"retry":const d=parseInt(u,10);isNaN(d)||e(s.retry=d);break}}}}function lC(t,e){const n=new Uint8Array(t.length+e.length);return n.set(t),n.set(e,t.length),n}function Ji(){return{data:"",event:"",id:"",retry:void 0}}var cC=function(t,e){var n={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(n[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,s=Object.getOwnPropertySymbols(t);r{const f=Object.assign({},s);f.accept||(f.accept=Jr);let y;function w(){y.abort(),document.hidden||E()}l||document.addEventListener("visibilitychange",w);let m=uC,_=0;function g(){document.removeEventListener("visibilitychange",w),window.clearTimeout(_),y.abort()}n?.addEventListener("abort",()=>{g(),d()});const S=c??window.fetch,R=r??pC;async function E(){var $;y=new AbortController;try{const M=await S(t,Object.assign(Object.assign({},u),{headers:f,signal:y.signal}));await R(M),await oC(M.body,iC(aC(j=>{j?f[Qi]=j:delete f[Qi]},j=>{m=j},o))),i?.(),g(),d()}catch(M){if(!y.signal.aborted)try{const j=($=a?.(M))!==null&&$!==void 0?$:m;window.clearTimeout(_),_=window.setTimeout(E,j)}catch(j){g(),h(j)}}}E()})}function pC(t){const e=t.headers.get("content-type");if(!e?.startsWith(Jr))throw new Error(`Expected content-type to be ${Jr}, Actual: ${e}`)}var ee=(t=>(t.NOTIFICATION="userlog-notification",t.POSTPROCESSING_FINISHED="postprocessing-finished",t.FILE_LOCKED="file-locked",t.FILE_UNLOCKED="file-unlocked",t.FILE_TOUCHED="file-touched",t.ITEM_RENAMED="item-renamed",t.ITEM_TRASHED="item-trashed",t.ITEM_RESTORED="item-restored",t.ITEM_MOVED="item-moved",t.FOLDER_CREATED="folder-created",t.SPACE_MEMBER_ADDED="space-member-added",t.SPACE_MEMBER_REMOVED="space-member-removed",t.SPACE_SHARE_UPDATED="space-share-updated",t.SHARE_CREATED="share-created",t.SHARE_REMOVED="share-removed",t.SHARE_UPDATED="share-updated",t.LINK_CREATED="link-created",t.LINK_REMOVED="link-removed",t.LINK_UPDATED="link-updated",t.BACKCHANNEL_LOGOUT="backchannel-logout",t))(ee||{});class Vu extends Error{name="RetriableError"}const fC=15e3;class Wu{url;fetchOptions;abortController;eventListenerMap;readyState;withCredentials;CONNECTING;OPEN;CLOSED;onerror;onmessage;onopen;constructor(e,n){this.url=e,this.fetchOptions=n,this.abortController=new AbortController,this.eventListenerMap={},this.readyState=this.CONNECTING,this.connect()}connect(){return dC(this.url,{openWhenHidden:!0,signal:this.abortController.signal,fetch:this.fetchProvider.bind(this),onopen:async()=>{const e=new Event("open");this.onopen?.bind(this)(e),this.readyState=this.OPEN},onmessage:e=>{const n=new MessageEvent("message",{data:e.data});this.onmessage?.bind(this)(n);const s=e.event;this.eventListenerMap[s]?.forEach(o=>o(n))},onclose:()=>{throw this.readyState=this.CLOSED,new Vu},onerror:e=>{console.error(e);const n=new CustomEvent("error",{detail:e});return this.onerror?.bind(this)(n),3e4+Math.floor(Math.random()*fC)}})}fetchProvider(...e){const[n,s]=e,r={...s,...this.fetchOptions};return window.fetch(n,r)}close(){this.abortController.abort("closed")}addEventListener(e,n){this.eventListenerMap[e]=this.eventListenerMap[e]||[],this.eventListenerMap[e].push(n)}removeEventListener(e,n){this.eventListenerMap[e]=this.eventListenerMap[e]?.filter(s=>s!==n)}dispatchEvent(){throw new Error("Method not implemented.")}updateAccessToken(e){this.fetchOptions.headers.Authorization=`Bearer ${e}`}updateLanguage(e){this.fetchOptions.headers["Accept-Language"]=e,this.close(),this.connect()}}let gr=null;const Gu=(t,e)=>(gr||(gr=new Wu(new URL("ocs/v2.php/apps/notifications/api/v1/notifications/sse",t).href,e)),gr),hC=Object.freeze(Object.defineProperty({__proto__:null,MESSAGE_TYPE:ee,RetriableError:Vu,SSEAdapter:Wu,sse:Gu},Symbol.toStringTag,{value:"Module"})),mC=(t,e)=>({headers:{Authorization:`Bearer ${t.accessToken}`,"Accept-Language":e,"X-Request-ID":Ne(),"X-Requested-With":"XMLHttpRequest"}});class Ku{configStore;language;authStore;httpAuthenticatedClient;httpUnAuthenticatedClient;graphClient;ocsClient;webDavClient;initiatorId=Ne();staticHeaders={"Initiator-ID":this.initiatorId,"X-Requested-With":"XMLHttpRequest"};constructor(e){this.configStore=e.configStore,this.language=e.language,this.authStore=e.authStore,this.initGraphClient(),this.initOcsClient(),this.initWebDavClient(),this.httpAuthenticatedClient=new Yr({baseURL:this.configStore.serverUrl,headers:this.staticHeaders},n=>(Object.assign(n.headers,this.getDynamicHeaders()),n)),this.httpUnAuthenticatedClient=new Yr({baseURL:this.configStore.serverUrl,headers:this.staticHeaders},n=>(Object.assign(n.headers,this.getDynamicHeaders({useAuth:!1})),n))}get httpAuthenticated(){return this.httpAuthenticatedClient}get httpUnAuthenticated(){return this.httpUnAuthenticatedClient}get graphAuthenticated(){return this.graphClient}get sseAuthenticated(){return Gu(this.configStore.serverUrl,mC({accessToken:this.authStore.accessToken},this.currentLanguage))}get ocs(){return this.ocsClient}get webdav(){return this.webDavClient}get currentLanguage(){return this.language.current}getRequestHeaders=({useAuth:e=!0}={})=>({...this.staticHeaders,...this.getDynamicHeaders({useAuth:e})});initGraphClient(){const e=On.create({headers:this.staticHeaders});e.interceptors.request.use(n=>(Object.assign(n.headers,this.getDynamicHeaders()),n)),this.graphClient=ni(this.configStore.serverUrl,e)}initOcsClient(){const e=On.create({headers:this.staticHeaders});e.interceptors.request.use(n=>(Object.assign(n.headers,this.getDynamicHeaders()),n)),this.ocsClient=rr(this.configStore.serverUrl,e)}initWebDavClient(){this.webDavClient=oi(this.configStore.serverUrl,()=>{const e={...this.staticHeaders,...this.getDynamicHeaders()};return this.authStore.publicLinkToken&&(e["public-token"]=this.authStore.publicLinkToken),this.authStore.publicLinkPassword&&(e.Authorization="Basic "+Be.from(["public",this.authStore.publicLinkPassword].join(":")).toString("base64")),e})}getDynamicHeaders({useAuth:e=!0}={}){return{"Accept-Language":this.currentLanguage,"X-Request-ID":Ne(),...e&&{Authorization:"Bearer "+this.authStore.accessToken}}}}var bt=(t=>(t.add="loading-service.add",t.remove="loading-service.remove",t.setProgress="loading-service.set-progress",t))(bt||{});const gC=200;class Xu{tasks=[];get isLoading(){return this.tasks.some(e=>e.active)}get currentProgress(){if(this.tasks.some(s=>!s.state&&s.active))return null;const e=this.tasks.filter(s=>!!s.state&&s.active);if(!e.length)return null;const n=e.reduce((s,r)=>(s+=r.state.current/r.state.total,s),0);return Math.round(n/e.length*100)}addTask(e,{debounceTime:n=gC,indeterminate:s=!0}={}){const r={id:Ne(),active:!1,...!s&&{state:{total:0,current:0}}};return this.tasks.length||window.addEventListener("beforeunload",this.onBeforeUnload),this.tasks.push(r),e0(()=>{r.active=!0,we.publish("loading-service.add")},n)(),e({setProgress:({total:a,current:l})=>{s||this.setProgress({task:r,total:a,current:l})}}).finally(()=>{this.removeTask(r.id)})}removeTask(e){this.tasks=this.tasks.filter(n=>n.id!==e),this.tasks.length||window.removeEventListener("beforeunload",this.onBeforeUnload),we.publish("loading-service.remove")}setProgress({task:e,total:n,current:s}){e.state||(e.state={total:0,current:0}),e.state.total=n,e.state.current=s,we.publish("loading-service.set-progress")}onBeforeUnload(e){e.preventDefault()}}class Yu{clientService;configStore;userStore;authStore;constructor({clientService:e,userStore:n,authStore:s,configStore:r}){this.clientService=e,this.userStore=n,this.authStore=s,this.configStore=r}get user(){return this.userStore.user}async loadPreview(e,n=!1,s=!0,r){const{space:o,resource:i}=e;if(!i.canDownload()||!i.hasPreview?.())return;const a=Vt(o);if(!(!a&&(!this.configStore.serverUrl||!this.user.onPremisesSamAccountName||!this.authStore.accessToken))){if(a)return this.publicPreviewUrl(e,r);try{return await this.privatePreviewBlob(e,n,s,r)}catch(l){if(s)return;throw l}}}async cacheFactory(e,n,s){const{resource:r,dimensions:o}=e,i=Or.filePreview.get(r.id.toString());if(i&&i.etag===r.etag&&au(o,i.dimensions))return i.src;try{const a=await this.privatePreviewBlob(e,!1,!0,s);return Or.filePreview.set(r.id.toString(),{src:a,etag:r.etag,dimensions:o},0).src}catch(a){if(n)return;throw a}}buildQueryString(e){return qS.stringify({scalingup:e.scalingup||0,preview:Object.hasOwnProperty.call(e,"preview")?e.preview:1,a:Object.hasOwnProperty.call(e,"a")?e.a:1,...e.processor&&{processor:e.processor},...e.etag&&{c:e.etag.replaceAll('"',"")},...e.dimensions&&e.dimensions[0]&&{x:e.dimensions[0]},...e.dimensions&&e.dimensions[1]&&{y:e.dimensions[1]}})}async privatePreviewBlob(e,n=!1,s=!0,r){const{resource:o,dimensions:i,processor:a}=e;if(n)return this.cacheFactory(e,s,r);const l=[this.configStore.serverUrl,"remote.php/dav",hc(o.webDavPath),"?",this.buildQueryString({etag:o.etag,dimensions:i,processor:a})].join("");try{const{data:c}=await this.clientService.httpAuthenticated.get(l,{responseType:"blob",signal:r});return window.URL.createObjectURL(c)}catch(c){if([425,429].includes(c.status)){const u=c.response?.headers?.["retry-after"]||5;return await new Promise(d=>setTimeout(d,u*1e3)),this.privatePreviewBlob(e,n,s,r)}throw c}}async publicPreviewUrl(e,n){const{space:s,resource:r,dimensions:o,processor:i}=e;let{downloadURL:a}=r;if(!a){const{downloadURL:h}=await this.clientService.webdav.getFileInfo(s,r,{davProperties:[_t.DownloadURL]});a=h}const[l,c]=a.split("?"),u=[this.buildQueryString({etag:r.etag,dimensions:o,processor:i}),c].filter(Boolean).join("&"),d=[l,u].filter(Boolean).join("?");try{const{status:h}=await this.clientService.httpUnAuthenticated.head(d,{signal:n});if(h!==404)return d}catch(h){if([425,429].includes(h.status)){const f=h.response?.headers?.["retry-after"]||5;return await new Promise(y=>setTimeout(y,f*1e3)),this.publicPreviewUrl(e,n)}throw h}}}class yC{$gettext;constructor({$gettext:e}){this.$gettext=e}explain(e,n){return{code:"mustNotBeEmpty",message:this.$gettext("Must not be empty"),format:[],...bn(n)&&{verified:n}}}assert(e,n){return n.length>0}validate(){return!0}missing(e,n){return this.explain(e,this.assert(e,n))}}class bC{$gettext;constructor({$gettext:e}){this.$gettext=e}explain(e,n){return{code:"mustContain",helperMessage:this.$gettext("Valid special characters: %{characters}",{characters:e.characters}),message:this.$gettext("%{param1}+ special characters"),format:[e.minLength],...bn(n)&&{verified:n}}}assert(e,n){return Array.from(n).filter(r=>e.characters.includes(r)).length>=e.minLength}validate(e){if(!Nt(e))throw new Error("options should be an object");if(!No(e.minLength)||Eu(e.minLength))throw new Error("minLength should be a non-zero number");if(!B0(e.characters))throw new Error("characters should be a character sequence");return!0}missing(e,n){return this.explain(e,this.assert(e,n))}}class or{$gettext;constructor({$gettext:e}){this.$gettext=e}assert(e,n){throw new Error("Method not implemented.")}explain(e,n){throw new Error("Method not implemented.")}validate(e){if(!Nt(e))throw new Error("options should be an object");if(!No(e.minLength)||Eu(e.minLength))throw new Error("minLength should be a non-zero number");return!0}missing(e,n){return this.explain(e,this.assert(e,n))}}class vC extends or{constructor(e){super(e)}explain(e,n){return{code:"atLeastCharacters",message:this.$gettext("%{param1}+ letters"),format:[e.minLength],...bn(n)&&{verified:n}}}assert(e,n){return n.length>=e.minLength}}class wC extends or{constructor(e){super(e)}explain(e,n){return{code:"atLeastUppercaseCharacters",message:this.$gettext("%{param1}+ uppercase letters"),format:[e.minLength],...bn(n)&&{verified:n}}}assert(e,n){return(n||"").match(/[A-Z\xC0-\xD6\xD8-\xDE]/g)?.length>=e.minLength}}class _C extends or{constructor(e){super(e)}explain(e,n){return{code:"atLeastLowercaseCharacters",message:this.$gettext("%{param1}+ lowercase letters"),format:[e.minLength],...bn(n)&&{verified:n}}}assert(e,n){return(n||"").match(/[a-z\xDF-\xF6\xF8-\xFF]/g)?.length>=e.minLength}}class SC extends or{constructor(e){super(e)}explain(e,n){return{code:"atLeastDigits",message:this.$gettext("%{param1}+ numbers"),format:[e.minLength],...bn(n)&&{verified:n}}}assert(e,n){return(n||"").match(/\d/g)?.length>=e.minLength}}class Ju{language;capability;policy;generatePasswordRules;constructor({language:e}){this.language=e}initialize(e){this.capability=e.passwordPolicy,this.buildGeneratePasswordRules()}hasRules(){return!!this.capability.min_characters||!!this.capability.min_lowercase_characters||!!this.capability.min_uppercase_characters||!!this.capability.min_digits||!!this.capability.min_special_characters}buildGeneratePasswordRules(){this.generatePasswordRules={length:Math.max(this.capability.min_characters||0,(this.capability.min_lowercase_characters||0)+(this.capability.min_uppercase_characters||0)+(this.capability.min_digits||0)+(this.capability.min_special_characters||0),12),minLowercaseCharacters:Math.max(this.capability.min_lowercase_characters||0,2),minUppercaseCharacters:Math.max(this.capability.min_uppercase_characters||0,2),minSpecialCharacters:Math.max(this.capability.min_special_characters||0,2),minDigits:Math.max(this.capability.min_digits||0,2)}}buildPolicy({enforcePassword:e=!1}={}){const n={atLeastCharacters:new vC({...this.language}),mustNotBeEmpty:new yC({...this.language}),atLeastUppercaseCharacters:new wC({...this.language}),atLeastLowercaseCharacters:new _C({...this.language}),atLeastDigits:new SC({...this.language}),mustContain:new bC({...this.language})},s={};e&&!this.hasRules()&&(s.mustNotBeEmpty={}),this.capability.min_characters&&(s.atLeastCharacters={minLength:this.capability.min_characters}),this.capability.min_uppercase_characters&&(s.atLeastUppercaseCharacters={minLength:this.capability.min_uppercase_characters}),this.capability.min_lowercase_characters&&(s.atLeastLowercaseCharacters={minLength:this.capability.min_lowercase_characters}),this.capability.min_digits&&(s.atLeastDigits={minLength:this.capability.min_digits}),this.capability.min_special_characters&&(s.mustContain={minLength:this.capability.min_special_characters,characters:' "!#\\$%&\'()*+,-./:;<=>?@[\\]^_`{|}~"'}),this.policy=new mm.PasswordPolicy(s,n)}getPolicy({enforcePassword:e=!1}={}){return this.buildPolicy({enforcePassword:e}),this.policy}generatePassword(){const e="abcdefghijklmnopqrstuvwxyz",n="ABCDEFGHIJKLMNOPQRSTUVWXYZ",s="\"!#$%&'()*+,-./:;<=>?@[]^_`{|}~",r="0123456789",o=(f,y)=>{const w=256-256%f.length;let m="",_;for(let g=0;g=w);m+=f[_%f.length]}return m},{minLowercaseCharacters:i,minUppercaseCharacters:a,minDigits:l,minSpecialCharacters:c,length:u}=this.generatePasswordRules;let d="";if(d+=o(e,i),d+=o(n,a),d+=o(r,l),d+=o(s,c),d.length{const y=f.split(""),w=new Uint32Array(y.length);window.crypto.getRandomValues(w);for(let m=y.length-1;m>0;m--){const _=w[m]%(m+1);[y[m],y[_]]=[y[_],y[m]]}return y.join("")})(d)}}function yr(t,e){return Object.hasOwn(t,e)}class Ns extends Error{cause;isNetworkError;request;constructor(e,n=null){super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=e,this.isNetworkError=!0,this.request=n}}class EC{#e;#t=!1;#n;#s;constructor(e,n){this.#s=e,this.#n=()=>n(e)}progress(){this.#t||this.#s>0&&(clearTimeout(this.#e),this.#e=setTimeout(this.#n,this.#s))}done(){this.#t||(clearTimeout(this.#e),this.#e=void 0,this.#t=!0)}}const os=()=>{};function xC(t,e={}){const{body:n=null,headers:s={},method:r="GET",onBeforeRequest:o=os,onUploadProgress:i=os,shouldRetry:a=()=>!0,onAfterResponse:l=os,onTimeout:c=os,responseType:u,retries:d=3,signal:h=null,timeout:f=3e4,withCredentials:y=!1}=e,w=g=>.3*2**(g-1)*1e3,m=new EC(f,c);function _(g=0){return new Promise(async(S,R)=>{const E=new XMLHttpRequest,$=j=>{a(E)&&g{_(g+1).then(S,R)},w(g)):(m.done(),R(j))};E.open(r,t,!0),E.withCredentials=y,u&&(E.responseType=u),E.onload=async()=>{try{await l(E,g)}catch(j){j.request=E,$(j);return}E.status>=200&&E.status<300?(m.done(),S(E)):a(E)&&g{_(g+1).then(S,R)},w(g)):(m.done(),R(new Ns(E.statusText,E)))},E.onerror=()=>$(new Ns(E.statusText,E)),E.upload.onprogress=j=>{m.progress(),i(j)},s&&Object.keys(s).forEach(j=>{E.setRequestHeader(j,s[j])});function M(){E.abort(),R(new DOMException("Aborted","AbortError"))}if(h?.addEventListener("abort",M),h?.aborted){M();return}await o(E,g),E.send(n)})}return _()}const CC=t=>"error"in t&&!!t.error,AC=t=>t.progress.uploadComplete;function Qu(t){return t.filter(e=>!CC(e)&&!AC(e))}function Zu(t){return t.filter(e=>!e.progress?.uploadStarted||!e.isRestored)}function ed(t){const e=t.lastIndexOf(".");return e===-1||e===t.length-1?{name:t,extension:void 0}:{name:t.slice(0,e),extension:t.slice(e+1)}}const Zi={__proto__:null,md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",webp:"image/webp",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",dicom:"application/dicom",doc:"application/msword",msg:"application/vnd.ms-outlook",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"};function td(t){if(t.type)return t.type;const e=t.name?ed(t.name).extension?.toLowerCase():null;return e&&e in Zi?Zi[e]:"application/octet-stream"}function PC(t){return t.charCodeAt(0).toString(32)}function ea(t){let e="";return t.replace(/[^A-Z0-9]/gi,n=>(e+=`-${PC(n)}`,"/"))+e}function nd(t,e){let n=e||"uppy";return typeof t.name=="string"&&(n+=`-${ea(t.name.toLowerCase())}`),t.type!==void 0&&(n+=`-${t.type}`),t.meta&&typeof t.meta.relativePath=="string"&&(n+=`-${ea(t.meta.relativePath.toLowerCase())}`),t.data?.size!==void 0&&(n+=`-${t.data.size}`),t.data.lastModified!==void 0&&(n+=`-${t.data.lastModified}`),n}function TC(t){return!t.isRemote||!t.remote?!1:new Set(["box","dropbox","drive","facebook","unsplash"]).has(t.remote.provider)}function kC(t,e){if(TC(t))return t.id;const n=td(t);return nd({...t,type:n},e)}function Qr(t,e){return t===!0?Object.keys(e):Array.isArray(t)?t:[]}const RC=Array.from;function IC(t){if(!t.bytesUploaded)return 0;const e=Date.now()-t.uploadStarted;return t.bytesUploaded/(e/1e3)}function br(t){return t<10?`0${t}`:t.toString()}function vs(){const t=new Date,e=br(t.getHours()),n=br(t.getMinutes()),s=br(t.getSeconds());return`${e}:${n}:${s}`}function sd(t){return t?t.readyState===4&&t.status===0:!1}function FC(t){return new Error("Cancelled",{cause:t})}function ta(t){if(t!=null){const e=()=>this.abort(t.reason);t.addEventListener("abort",e,{once:!0});const n=()=>{t.removeEventListener("abort",e)};this.then?.(n,n)}return this}class rd{#e=0;#t=[];#n=!1;#s;#r=1;#o;#i;limit;constructor(e){typeof e!="number"||e===0?this.limit=1/0:this.limit=e}#a(e){this.#e+=1;let n=!1,s;try{s=e()}catch(r){throw this.#e-=1,r}return{abort:r=>{n||(n=!0,this.#e-=1,s?.(r),this.#l())},done:()=>{n||(n=!0,this.#e-=1,this.#l())}}}#l(){queueMicrotask(()=>this.#m())}#m(){if(this.#n||this.#e>=this.limit||this.#t.length===0)return;const e=this.#t.shift();if(e==null)throw new Error("Invariant violation: next is null");const n=this.#a(e.fn);e.abort=n.abort,e.done=n.done}#g(e,n){const s={fn:e,priority:n?.priority||0,abort:()=>{this.#y(s)},done:()=>{throw new Error("Cannot mark a queued request as done: this indicates a bug")}},r=this.#t.findIndex(o=>s.priority>o.priority);return r===-1?this.#t.push(s):this.#t.splice(r,0,s),s}#y(e){const n=this.#t.indexOf(e);n!==-1&&this.#t.splice(n,1)}run(e,n){return!this.#n&&this.#e{const r=this.run(()=>(e(...s),queueMicrotask(()=>r.done()),()=>{}),n);return{abortOn:ta,abort(){r.abort()}}}}wrapPromiseFunction(e,n){return(...s)=>{let r;const o=new Promise((i,a)=>{r=this.run(()=>{let l,c;try{c=Promise.resolve(e(...s))}catch(u){c=Promise.reject(u)}return c.then(u=>{l?a(l):(r.done(),i(u))},u=>{l?a(l):(r.done(),a(u))}),u=>{l=FC(u)}},n)});return o.abort=i=>{r.abort(i)},o.abortOn=ta,o}}resume(){this.#n=!1,clearTimeout(this.#s);for(let e=0;ethis.resume();pause(e=null){this.#n=!0,clearTimeout(this.#s),e!=null&&(this.#s=setTimeout(this.#d,e))}rateLimit(e){clearTimeout(this.#i),this.pause(e),this.limit>1&&Number.isFinite(this.limit)&&(this.#o=this.limit-1,this.limit=this.#r,this.#i=setTimeout(this.#c,e))}#c=()=>{if(this.#n){this.#i=setTimeout(this.#c,0);return}this.#r=this.limit,this.limit=Math.ceil((this.#o+this.#r)/2);for(let e=this.#r;e<=this.limit;e++)this.#l();this.#o-this.#r>3?this.#i=setTimeout(this.#c,2e3):this.#r=Math.floor(this.#r/2)};get isPaused(){return this.#n}}const vr=Symbol("__queue");class od{#e;#t=[];constructor(e){this.#e=e}on(e,n){return this.#t.push([e,n]),this.#e.on(e,n)}remove(){for(const[e,n]of this.#t.splice(0))this.#e.off(e,n)}onFilePause(e,n){this.on("upload-pause",(s,r)=>{e===s?.id&&n(r)})}onFileRemove(e,n){this.on("file-removed",s=>{e===s.id&&n(s.id)})}onPause(e,n){this.on("upload-pause",(s,r)=>{e===s?.id&&n(r)})}onRetry(e,n){this.on("upload-retry",s=>{e===s?.id&&n()})}onRetryAll(e,n){this.on("retry-all",()=>{this.#e.getFile(e)&&n()})}onPauseAll(e,n){this.on("pause-all",()=>{this.#e.getFile(e)&&n()})}onCancelAll(e,n){this.on("cancel-all",(...s)=>{this.#e.getFile(e)&&n(...s)})}onResumeAll(e,n){this.on("resume-all",()=>{this.#e.getFile(e)&&n()})}}const $C={debug:()=>{},warn:()=>{},error:(...t)=>console.error(`[Uppy] [${vs()}]`,...t)},UC={debug:(...t)=>console.debug(`[Uppy] [${vs()}]`,...t),warn:(...t)=>console.warn(`[Uppy] [${vs()}]`,...t),error:(...t)=>console.error(`[Uppy] [${vs()}]`,...t)};var wr,na;function LC(){return na||(na=1,wr=function(e){if(typeof e!="number"||Number.isNaN(e))throw new TypeError(`Expected a number, got ${typeof e}`);const n=e<0;let s=Math.abs(e);if(n&&(s=-s),s===0)return"0 B";const r=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],o=Math.min(Math.floor(Math.log(s)/Math.log(1024)),r.length-1),i=Number(s/1024**o),a=r[o];return`${i>=10||i%1===0?Math.round(i):i.toFixed(1)} ${a}`}),wr}var OC=LC();const is=Gs(OC);var _r,sa;function NC(){if(sa)return _r;sa=1;function t(e,n){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=n,this.parts=e.split(n)}return t.prototype.match=function(e){var n=!0,s=this.parts,r,o=s.length,i;if(typeof e=="string"||e instanceof String)if(!this.hasWild&&this.text!=e)n=!1;else{for(i=(e||"").split(this.separator),r=0;n&&r=2}return s?r(s.split(";")[0]):r},Sr}var DC=MC();const jC=Gs(DC),HC={maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]};class Ve extends Error{isUserFacing;file;constructor(e,n){super(e),this.isUserFacing=n?.isUserFacing??!0,n?.file&&(this.file=n.file)}isRestriction=!0}class BC{getI18n;getOpts;constructor(e,n){this.getI18n=n,this.getOpts=()=>{const s=e();if(s.restrictions?.allowedFileTypes!=null&&!Array.isArray(s.restrictions.allowedFileTypes))throw new TypeError("`restrictions.allowedFileTypes` must be an array");return s}}validateAggregateRestrictions(e,n){const{maxTotalFileSize:s,maxNumberOfFiles:r}=this.getOpts().restrictions;if(r&&e.filter(i=>!i.isGhost).length+n.length>r)throw new Ve(`${this.getI18n()("youCanOnlyUploadX",{smart_count:r})}`);if(s){const o=[...e,...n].reduce((i,a)=>i+(a.size??0),0);if(o>s)throw new Ve(this.getI18n()("aggregateExceedsSize",{sizeAllowed:is(s),size:is(o)}))}}validateSingleFile(e){const{maxFileSize:n,minFileSize:s,allowedFileTypes:r}=this.getOpts().restrictions;if(r&&!r.some(i=>i.includes("/")?e.type?jC(e.type.replace(/;.*?$/,""),i):!1:i[0]==="."&&e.extension?e.extension.toLowerCase()===i.slice(1).toLowerCase():!1)){const i=r.join(", ");throw new Ve(this.getI18n()("youCanOnlyUploadFileTypes",{types:i}),{file:e})}if(n&&e.size!=null&&e.size>n)throw new Ve(this.getI18n()("exceedsSize",{size:is(n),file:e.name??this.getI18n()("unnamed")}),{file:e});if(s&&e.size!=null&&e.size{this.validateSingleFile(s)}),this.validateAggregateRestrictions(e,n)}validateMinNumberOfFiles(e){const{minNumberOfFiles:n}=this.getOpts().restrictions;if(n&&Object.keys(e).length{this.#e.delete(e)}}#t(...e){this.#e.forEach(n=>{n(...e)})}}var Er,oa;function WC(){return oa||(oa=1,Er=function(){var e={},n=e._fns={};e.emit=function(i,a,l,c,u,d,h){var f=s(i);f.length&&r(i,f,[a,l,c,u,d,h])},e.on=function(i,a){n[i]||(n[i]=[]),n[i].push(a)},e.once=function(i,a){function l(){a.apply(this,arguments),e.off(i,l)}this.on(i,l)},e.off=function(i,a){var l=[];if(i&&a){var c=this._fns[i],u=0,d=c?c.length:0;for(u;u{let e="",n=t|0;for(;n--;)e+=XC[Math.random()*64|0];return e};const JC="5.2.0",QC={version:JC};function ZC(t,e){return e.name?e.name:t.split("/")[0]==="image"?`${t.split("/")[0]}.${t.split("/")[1]}`:"noname"}const e1={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},aggregateExceedsSize:"You selected %{size} of files, but maximum allowed size is %{sizeAllowed}",exceedsSize:"%{file} exceeds maximum allowed size of %{size}",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",inferiorSize:"This file is smaller than the allowed size of %{size}",youCanOnlyUploadFileTypes:"You can only upload: %{types}",noMoreFilesAllowed:"Cannot add more files",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",companionError:"Connection with Companion failed",authAborted:"Authentication aborted",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",failedToUpload:"Failed to upload %{file}",noInternetConnection:"No Internet connection",connectedToInternet:"Connected to the Internet",noFilesFound:"You have no files or folders here",noSearchResults:"Unfortunately, there are no results for this search",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},allFilesFromFolderNamed:"All files from folder %{name}",openFolderNamed:"Open folder %{name}",cancel:"Cancel",logOut:"Log out",logIn:"Log in",pickFiles:"Pick files",pickPhotos:"Pick photos",filter:"Filter",resetFilter:"Reset filter",loading:"Loading...",loadedXFiles:"Loaded %{numFiles} files",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",authenticateWith:"Connect to %{pluginName}",signInWithGoogle:"Sign in with Google",searchImages:"Search for images",enterTextToSearch:"Enter text to search for images",search:"Search",resetSearch:"Reset search",emptyFolderAdded:"No files were added from empty folder",addedNumFiles:"Added %{numFiles} file(s)",folderAlreadyAdded:'The folder "%{folder}" was already added',folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"},additionalRestrictionsFailed:"%{count} additional restrictions were not fulfilled",unnamed:"Unnamed",pleaseWait:"Please wait"}};function t1(t){if(t==null&&typeof navigator<"u"&&(t=navigator.userAgent),!t)return!0;const e=/Edge\/(\d+\.\d+)/.exec(t);if(!e)return!0;const s=e[1].split(".",2),r=parseInt(s[0],10),o=parseInt(s[1],10);return r<15||r===15&&o<15063||r>18||r===18&&o>=18218}const as={totalProgress:0,allowNewUpload:!0,error:null,recoveredState:null};class ii{static VERSION=QC.version;#e=Object.create(null);#t;#n;#s=KC();#r=new Set;#o=new Set;#i=new Set;defaultLocale;locale;opts;store;i18n;i18nArray;scheduledAutoProceed=null;wasOffline=!1;constructor(e){this.defaultLocale=e1;const n={id:"uppy",autoProceed:!1,allowMultipleUploadBatches:!0,debug:!1,restrictions:HC,meta:{},onBeforeFileAdded:(r,o)=>!Object.hasOwn(o,r.id),onBeforeUpload:r=>r,store:new VC,logger:$C,infoTimeout:5e3},s={...n,...e};this.opts={...s,restrictions:{...n.restrictions,...e?.restrictions}},e?.logger&&e.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):e?.debug&&(this.opts.logger=UC),this.log(`Using Core v${ii.VERSION}`),this.i18nInit(),this.store=this.opts.store,this.setState({...as,plugins:{},files:{},currentUploads:{},capabilities:{uploadProgress:t1(),individualCancellation:!0,resumableUploads:!1},meta:{...this.opts.meta},info:[]}),this.#t=new BC(()=>this.opts,()=>this.i18n),this.#n=this.store.subscribe((r,o,i)=>{this.emit("state-update",r,o,i),this.updateAll(o)}),this.opts.debug&&typeof window<"u"&&(window[this.opts.id]=this),this.#C()}emit(e,...n){this.#s.emit(e,...n)}on(e,n){return this.#s.on(e,n),this}once(e,n){return this.#s.once(e,n),this}off(e,n){return this.#s.off(e,n),this}updateAll(e){this.iteratePlugins(n=>{n.update(e)})}setState(e){this.store.setState(e)}getState(){return this.store.getState()}patchFilesState(e){const n=this.getState().files;this.setState({files:{...n,...Object.fromEntries(Object.entries(e).map(([s,r])=>[s,{...n[s],...r}]))}})}setFileState(e,n){if(!this.getState().files[e])throw new Error(`Can’t set state for ${e} (the file could have been removed)`);this.patchFilesState({[e]:n})}i18nInit(){const e=s=>this.log(`Missing i18n string: ${s}`,"error"),n=new Tw([this.defaultLocale,this.opts.locale],{onMissingKey:e});this.i18n=n.translate.bind(n),this.i18nArray=n.translateArray.bind(n),this.locale=n.locale}setOptions(e){this.opts={...this.opts,...e,restrictions:{...this.opts.restrictions,...e?.restrictions}},e.meta&&this.setMeta(e.meta),this.i18nInit(),e.locale&&this.iteratePlugins(n=>{n.setOptions(e)}),this.setState(void 0)}resetProgress(){const e={percentage:0,bytesUploaded:!1,uploadComplete:!1,uploadStarted:null},n={...this.getState().files},s=Object.create(null);Object.keys(n).forEach(r=>{s[r]={...n[r],progress:{...n[r].progress,...e},tus:void 0,transloadit:void 0}}),this.setState({files:s,...as})}clear(){const{capabilities:e,currentUploads:n}=this.getState();if(Object.keys(n).length>0&&!e.individualCancellation)throw new Error("The installed uploader plugin does not allow removing files during an upload.");this.setState({...as,files:{}})}addPreProcessor(e){this.#r.add(e)}removePreProcessor(e){return this.#r.delete(e)}addPostProcessor(e){this.#i.add(e)}removePostProcessor(e){return this.#i.delete(e)}addUploader(e){this.#o.add(e)}removeUploader(e){return this.#o.delete(e)}setMeta(e){const n={...this.getState().meta,...e},s={...this.getState().files};Object.keys(s).forEach(r=>{s[r]={...s[r],meta:{...s[r].meta,...e}}}),this.log("Adding metadata:"),this.log(e),this.setState({meta:n,files:s})}setFileMeta(e,n){const s={...this.getState().files};if(!s[e]){this.log(`Was trying to set metadata for a file that has been removed: ${e}`);return}const r={...s[e].meta,...n};s[e]={...s[e],meta:r},this.setState({files:s})}getFile(e){return this.getState().files[e]}getFiles(){const{files:e}=this.getState();return Object.values(e)}getFilesByIds(e){return e.map(n=>this.getFile(n))}getObjectOfFilesPerState(){const{files:e,totalProgress:n,error:s}=this.getState(),r=Object.values(e),o=[],i=[],a=[],l=[],c=[],u=[],d=[],h=[],f=[];for(const y of r){const{progress:w}=y;!w.uploadComplete&&w.uploadStarted&&(o.push(y),y.isPaused||h.push(y)),w.uploadStarted||i.push(y),(w.uploadStarted||w.preprocess||w.postprocess)&&a.push(y),w.uploadStarted&&l.push(y),y.isPaused&&c.push(y),w.uploadComplete&&u.push(y),y.error&&d.push(y),(w.preprocess||w.postprocess)&&f.push(y)}return{newFiles:i,startedFiles:a,uploadStartedFiles:l,pausedFiles:c,completeFiles:u,erroredFiles:d,inProgressFiles:o,inProgressNotPausedFiles:h,processingFiles:f,isUploadStarted:l.length>0,isAllComplete:n===100&&u.length===r.length&&f.length===0,isAllErrored:!!s&&d.length===r.length,isAllPaused:o.length!==0&&c.length===o.length,isUploadInProgress:o.length>0,isSomeGhost:r.some(y=>y.isGhost)}}#a(e){for(const i of e)i.isRestriction?this.emit("restriction-failed",i.file,i):this.emit("error",i,i.file),this.log(i,"warning");const n=e.filter(i=>i.isUserFacing),s=4,r=n.slice(0,s),o=n.slice(s);r.forEach(({message:i,details:a=""})=>{this.info({message:i,details:a},"error",this.opts.infoTimeout)}),o.length>0&&this.info({message:this.i18n("additionalRestrictionsFailed",{count:o.length})})}validateRestrictions(e,n=this.getFiles()){try{this.#t.validate(n,[e])}catch(s){return s}return null}validateSingleFile(e){try{this.#t.validateSingleFile(e)}catch(n){return n.message}return null}validateAggregateRestrictions(e){const n=this.getFiles();try{this.#t.validateAggregateRestrictions(n,e)}catch(s){return s.message}return null}#l(e){const{missingFields:n,error:s}=this.#t.getMissingRequiredMetaFields(e);return n.length>0?(this.setFileState(e.id,{missingRequiredMetaFields:n,error:s.message}),this.log(s.message),this.emit("restriction-failed",e,s),!1):(n.length===0&&e.missingRequiredMetaFields&&this.setFileState(e.id,{missingRequiredMetaFields:[]}),!0)}#m(e){let n=!0;for(const s of Object.values(e))this.#l(s)||(n=!1);return n}#g(e){const{allowNewUpload:n}=this.getState();if(n===!1){const s=new Ve(this.i18n("noMoreFilesAllowed"),{file:e});throw this.#a([s]),s}}checkIfFileAlreadyExists(e){const{files:n}=this.getState();return!!(n[e]&&!n[e].isGhost)}#y(e){const n=e instanceof File?{name:e.name,type:e.type,size:e.size,data:e,meta:{},isRemote:!1,source:void 0,preview:void 0}:e,s=td(n),r=ZC(s,n),o=ed(r).extension,i=kC(n,this.getID()),a={...n.meta,name:r,type:s},l=Number.isFinite(n.data.size)?n.data.size:null;return{source:n.source||"",id:i,name:r,extension:o||"",meta:{...this.getState().meta,...a},type:s,progress:{percentage:0,bytesUploaded:!1,bytesTotal:l,uploadComplete:!1,uploadStarted:null},size:l,isGhost:!1,...n.isRemote?{isRemote:!0,remote:n.remote,data:n.data}:{isRemote:!1,data:n.data},preview:n.preview}}#d(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(e=>{e.isRestriction||this.log(e.stack||e.message||e)})},4))}#c(e){let{files:n}=this.getState(),s={...n};const r=[],o=[];for(const i of e)try{let a=this.#y(i);this.#g(a);const l=n[a.id],c=l?.isGhost;if(c&&!a.isRemote){if(a.data==null)throw new Error("File data is missing");a={...l,isGhost:!1,data:a.data},this.log(`Replaced the blob in the restored ghost file: ${a.name}, ${a.id}`)}const u=this.opts.onBeforeFileAdded(a,s);if(n=this.getState().files,s={...n,...s},!u&&this.checkIfFileAlreadyExists(a.id))throw new Ve(this.i18n("noDuplicates",{fileName:a.name??this.i18n("unnamed")}),{file:a});if(u===!1&&!c)throw new Ve("Cannot add the file because onBeforeFileAdded returned false.",{isUserFacing:!1,file:a});typeof u=="object"&&u!==null&&(a=u),this.#t.validateSingleFile(a),s[a.id]=a,r.push(a)}catch(a){o.push(a)}try{this.#t.validateAggregateRestrictions(Object.values(n),r)}catch(i){return o.push(i),{nextFilesState:n,validFilesToAdd:[],errors:o}}return{nextFilesState:s,validFilesToAdd:r,errors:o}}addFile(e){const{nextFilesState:n,validFilesToAdd:s,errors:r}=this.#c([e]),o=r.filter(a=>a.isRestriction);if(this.#a(o),r.length>0)throw r[0];this.setState({files:n});const[i]=s;return this.emit("file-added",i),this.emit("files-added",s),this.log(`Added file: ${i.name}, ${i.id}, mime type: ${i.type}`),this.#d(),i.id}addFiles(e){const{nextFilesState:n,validFilesToAdd:s,errors:r}=this.#c(e),o=r.filter(a=>a.isRestriction);this.#a(o);const i=r.filter(a=>!a.isRestriction);if(i.length>0){let a=`Multiple errors occurred while adding files: +`;if(i.forEach(l=>{a+=` + * ${l.message}`}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:i.length}),details:a},"error",this.opts.infoTimeout),typeof AggregateError=="function")throw new AggregateError(i,a);{const l=new Error(a);throw l.errors=i,l}}this.setState({files:n}),s.forEach(a=>{this.emit("file-added",a)}),this.emit("files-added",s),s.length>5?this.log(`Added batch of ${s.length} files`):Object.values(s).forEach(a=>{this.log(`Added file: ${a.name} + id: ${a.id} + type: ${a.type}`)}),s.length>0&&this.#d()}removeFiles(e){const{files:n,currentUploads:s}=this.getState(),r={...n},o={...s},i=Object.create(null);e.forEach(u=>{n[u]&&(i[u]=n[u],delete r[u])});function a(u){return i[u]===void 0}Object.keys(o).forEach(u=>{const d=s[u].fileIDs.filter(a);if(d.length===0){delete o[u];return}const{capabilities:h}=this.getState();if(d.length!==s[u].fileIDs.length&&!h.individualCancellation)throw new Error("The installed uploader plugin does not allow removing files during an upload.");o[u]={...s[u],fileIDs:d}});const l={currentUploads:o,files:r};Object.keys(r).length===0&&(l.allowNewUpload=!0,l.error=null,l.recoveredState=null),this.setState(l),this.#p();const c=Object.keys(i);c.forEach(u=>{this.emit("file-removed",i[u])}),c.length>5?this.log(`Removed ${c.length} files`):this.log(`Removed files: ${c.join(", ")}`)}removeFile(e){this.removeFiles([e])}pauseResume(e){if(!this.getState().capabilities.resumableUploads||this.getFile(e).progress.uploadComplete)return;const n=this.getFile(e),r=!(n.isPaused||!1);return this.setFileState(e,{isPaused:r}),this.emit("upload-pause",n,r),r}pauseAll(){const e={...this.getState().files};Object.keys(e).filter(s=>!e[s].progress.uploadComplete&&e[s].progress.uploadStarted).forEach(s=>{const r={...e[s],isPaused:!0};e[s]=r}),this.setState({files:e}),this.emit("pause-all")}resumeAll(){const e={...this.getState().files};Object.keys(e).filter(s=>!e[s].progress.uploadComplete&&e[s].progress.uploadStarted).forEach(s=>{const r={...e[s],isPaused:!1,error:null};e[s]=r}),this.setState({files:e}),this.emit("resume-all")}#b(){const{files:e}=this.getState();return Object.keys(e).filter(n=>{const s=e[n];return s.error&&(!s.missingRequiredMetaFields||s.missingRequiredMetaFields.length===0)})}async#v(){const e=this.#b(),n={...this.getState().files};if(e.forEach(r=>{n[r]={...n[r],isPaused:!1,error:null}}),this.setState({files:n,error:null}),this.emit("retry-all",this.getFilesByIds(e)),e.length===0)return{successful:[],failed:[]};const s=this.#f(e,{forceAllowNewUpload:!0});return this.#h(s)}async retryAll(){const e=await this.#v();return this.emit("complete",e),e}cancelAll(){this.emit("cancel-all");const{files:e}=this.getState(),n=Object.keys(e);n.length&&this.removeFiles(n),this.setState(as)}retryUpload(e){this.setFileState(e,{error:null,isPaused:!1}),this.emit("upload-retry",this.getFile(e));const n=this.#f([e],{forceAllowNewUpload:!0});return this.#h(n)}logout(){this.iteratePlugins(e=>{e.provider?.logout?.()})}#E=(e,n)=>{const s=e?this.getFile(e.id):void 0;if(e==null||!s){this.log(`Not setting progress for a file that has been removed: ${e?.id}`);return}if(s.progress.percentage===100){this.log(`Not setting progress for a file that has been already uploaded: ${e.id}`);return}const r={bytesTotal:n.bytesTotal,percentage:n.bytesTotal!=null&&Number.isFinite(n.bytesTotal)&&n.bytesTotal>0?Math.round(n.bytesUploaded/n.bytesTotal*100):void 0};s.progress.uploadStarted!=null?this.setFileState(e.id,{progress:{...s.progress,...r,bytesUploaded:n.bytesUploaded}}):this.setFileState(e.id,{progress:{...s.progress,...r}}),this.#p()};#w(){const e=this.#x();let n=null;e!=null&&(n=Math.round(e*100),n>100?n=100:n<0&&(n=0)),this.emit("progress",n??0),this.setState({totalProgress:n??0})}#p=x0(()=>this.#w(),500,{leading:!0,trailing:!0});[Symbol.for("uppy test: updateTotalProgress")](){return this.#w()}#x(){const n=this.getFiles().filter(l=>l.progress.uploadStarted||l.progress.preprocess||l.progress.postprocess);if(n.length===0)return 0;if(n.every(l=>l.progress.uploadComplete))return 1;const s=l=>l.progress.bytesTotal!=null&&l.progress.bytesTotal!==0,r=n.filter(s),o=n.filter(l=>!s(l));if(r.every(l=>l.progress.uploadComplete)&&o.length>0&&!o.every(l=>l.progress.uploadComplete))return null;const i=r.reduce((l,c)=>l+(c.progress.bytesTotal??0),0),a=r.reduce((l,c)=>l+(c.progress.bytesUploaded||0),0);return i===0?0:a/i}#C(){const e=(r,o,i)=>{let a=r.message||"Unknown error";r.details&&(a+=` ${r.details}`),this.setState({error:a}),o!=null&&o.id in this.getState().files&&this.setFileState(o.id,{error:a,response:i})};this.on("error",e),this.on("upload-error",(r,o,i)=>{if(e(o,r,i),typeof o=="object"&&o.message){this.log(o.message,"error");const a=new Error(this.i18n("failedToUpload",{file:r?.name??""}));a.isUserFacing=!0,a.details=o.message,o.details&&(a.details+=` ${o.details}`),this.#a([a])}else this.#a([o])});let n=null;this.on("upload-stalled",(r,o)=>{const{message:i}=r,a=o.map(l=>l.meta.name).join(", ");n||(this.info({message:i,details:a},"warning",this.opts.infoTimeout),n=setTimeout(()=>{n=null},this.opts.infoTimeout)),this.log(`${i} ${a}`.trim(),"warning")}),this.on("upload",()=>{this.setState({error:null})});const s=r=>{const o=r.filter(a=>{const l=a!=null&&this.getFile(a.id);return l||this.log(`Not setting progress for a file that has been removed: ${a?.id}`),l}),i=Object.fromEntries(o.map(a=>[a.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,bytesUploaded:0,bytesTotal:a.size}}]));this.patchFilesState(i)};this.on("upload-start",s),this.on("upload-progress",this.#E),this.on("upload-success",(r,o)=>{if(r==null||!this.getFile(r.id)){this.log(`Not setting progress for a file that has been removed: ${r?.id}`);return}const i=this.getFile(r.id).progress,a=this.#i.size>0;this.setFileState(r.id,{progress:{...i,postprocess:a?{mode:"indeterminate"}:void 0,uploadComplete:!0,...!a&&{complete:!0},percentage:100,bytesUploaded:i.bytesTotal},response:o,uploadURL:o.uploadURL,isPaused:!1}),r.size==null&&this.setFileState(r.id,{size:o.bytesUploaded||i.bytesTotal}),this.#p()}),this.on("preprocess-progress",(r,o)=>{if(r==null||!this.getFile(r.id)){this.log(`Not setting progress for a file that has been removed: ${r?.id}`);return}this.setFileState(r.id,{progress:{...this.getFile(r.id).progress,preprocess:o}})}),this.on("preprocess-complete",r=>{if(r==null||!this.getFile(r.id)){this.log(`Not setting progress for a file that has been removed: ${r?.id}`);return}const o={...this.getState().files};o[r.id]={...o[r.id],progress:{...o[r.id].progress}},delete o[r.id].progress.preprocess,this.setState({files:o})}),this.on("postprocess-progress",(r,o)=>{if(r==null||!this.getFile(r.id)){this.log(`Not setting progress for a file that has been removed: ${r?.id}`);return}this.setFileState(r.id,{progress:{...this.getState().files[r.id].progress,postprocess:o}})}),this.on("postprocess-complete",r=>{const o=r&&this.getFile(r.id);if(o==null){this.log(`Not setting progress for a file that has been removed: ${r?.id}`);return}const{postprocess:i,...a}=o.progress;this.patchFilesState({[o.id]:{progress:{...a,complete:!0}}})}),this.on("restored",()=>{this.#p()}),this.on("dashboard:file-edit-complete",r=>{r&&this.#l(r)}),typeof window<"u"&&window.addEventListener&&(window.addEventListener("online",this.#u),window.addEventListener("offline",this.#u),setTimeout(this.#u,3e3))}updateOnlineStatus(){window.navigator.onLine??!0?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}#u=this.updateOnlineStatus.bind(this);getID(){return this.opts.id}use(e,...n){if(typeof e!="function"){const i=`Expected a plugin class, but got ${e===null?"null":typeof e}. Please verify that the plugin was imported and spelled correctly.`;throw new TypeError(i)}const s=new e(this,...n),r=s.id;if(!r)throw new Error("Your plugin must have an id");if(!s.type)throw new Error("Your plugin must have a type");const o=this.getPlugin(r);if(o){const i=`Already found a plugin named '${o.id}'. Tried to use: '${r}'. +Uppy plugins must have unique \`id\` options.`;throw new Error(i)}return e.VERSION&&this.log(`Using ${r} v${e.VERSION}`),s.type in this.#e?this.#e[s.type].push(s):this.#e[s.type]=[s],s.install(),this.emit("plugin-added",s),this}getPlugin(e){for(const n of Object.values(this.#e)){const s=n.find(r=>r.id===e);if(s!=null)return s}}[Symbol.for("uppy test: getPlugins")](e){return this.#e[e]}iteratePlugins(e){Object.values(this.#e).flat(1).forEach(e)}removePlugin(e){this.log(`Removing plugin ${e.id}`),this.emit("plugin-remove",e),e.uninstall&&e.uninstall();const n=this.#e[e.type],s=n.findIndex(i=>i.id===e.id);s!==-1&&n.splice(s,1);const o={plugins:{...this.getState().plugins,[e.id]:void 0}};this.setState(o)}destroy(){this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.cancelAll(),this.#n(),this.iteratePlugins(e=>{this.removePlugin(e)}),typeof window<"u"&&window.removeEventListener&&(window.removeEventListener("online",this.#u),window.removeEventListener("offline",this.#u))}hideInfo(){const{info:e}=this.getState();this.setState({info:e.slice(1)}),this.emit("info-hidden")}info(e,n="info",s=3e3){const r=typeof e=="object";this.setState({info:[...this.getState().info,{type:n,message:r?e.message:e,details:r?e.details:null}]}),setTimeout(()=>this.hideInfo(),s),this.emit("info-visible")}log(e,n){const{logger:s}=this.opts;switch(n){case"error":s.error(e);break;case"warning":s.warn(e);break;default:s.debug(e);break}}#_=new Map;registerRequestClient(e,n){this.#_.set(e,n)}getRequestClientForFile(e){if(!("remote"in e&&e.remote))throw new Error(`Tried to get RequestClient for a non-remote file ${e.id}`);const n=this.#_.get(e.remote.requestClientId);if(n==null)throw new Error(`requestClientId "${e.remote.requestClientId}" not registered for file "${e.id}"`);return n}async restore(e){this.log(`Core: Running restored upload "${e}"`);const n=await this.#h(e);return this.emit("complete",n),n}#f(e,n={}){const{forceAllowNewUpload:s=!1}=n,{allowNewUpload:r,currentUploads:o}=this.getState();if(!r&&!s)throw new Error("Cannot create a new upload: already uploading.");const i=YC();return this.emit("upload",i,this.getFilesByIds(e)),this.setState({allowNewUpload:this.opts.allowMultipleUploadBatches!==!1&&this.opts.allowMultipleUploads!==!1,currentUploads:{...o,[i]:{fileIDs:e,step:0,result:{}}}}),i}[Symbol.for("uppy test: createUpload")](...e){return this.#f(...e)}#A(e){const{currentUploads:n}=this.getState();return n[e]}addResultData(e,n){if(!this.#A(e)){this.log(`Not setting result for an upload that has been removed: ${e}`);return}const{currentUploads:s}=this.getState(),r={...s[e],result:{...s[e].result,...n}};this.setState({currentUploads:{...s,[e]:r}})}#S(e){const{[e]:n,...s}=this.getState().currentUploads;this.setState({currentUploads:s})}async#h(e){const n=()=>{const{currentUploads:i}=this.getState();return i[e]};let s=n();if(!s)throw new Error("Nonexistent upload");const r=[...this.#r,...this.#o,...this.#i];try{for(let i=s.step||0;i{const u=this.getFile(c);u?.progress.postprocess&&this.emit("postprocess-complete",u)});const i=s.fileIDs.map(c=>this.getFile(c)),a=i.filter(c=>!c.error),l=i.filter(c=>c.error);this.addResultData(e,{successful:a,failed:l,uploadID:e}),s=n()}let o;return s&&(o=s.result,this.#S(e)),o==null&&(this.log(`Not setting result for an upload that has been removed: ${e}`),o={successful:[],failed:[],uploadID:e}),o}async upload(){this.#e.uploader?.length||this.log("No uploader type plugins are used","warning");let{files:e}=this.getState();if(this.#b().length>0){const r=await this.#v();if(!(this.getFiles().filter(i=>i.progress.uploadStarted==null).length>0))return this.emit("complete",r),r;({files:e}=this.getState())}const s=this.opts.onBeforeUpload(e);if(s===!1)throw new Error("Not starting the upload because onBeforeUpload returned false");s&&typeof s=="object"&&(e=s,this.setState({files:e}));try{if(this.#t.validateMinNumberOfFiles(e),!this.#m(e))throw new Ve(this.i18n("missingRequiredMetaField"));const{currentUploads:r}=this.getState(),o=Object.values(r).flatMap(c=>c.fileIDs),i=Object.keys(e).filter(c=>{const u=this.getFile(c);return u&&!u.progress.uploadStarted&&!o.includes(c)}),a=this.#f(i),l=await this.#h(a);return this.emit("complete",l),l}catch(r){throw this.#a([r]),r}}}function Zr(t){"@babel/helpers - typeof";return Zr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zr(t)}function n1(t,e,n){return Object.defineProperty(t,"prototype",{writable:!1}),t}function s1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r1(t,e,n){return e=jn(e),o1(t,ai()?Reflect.construct(e,n||[],jn(t).constructor):e.apply(t,n))}function o1(t,e){if(e&&(Zr(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return i1(t)}function i1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Dn(t,e)}function eo(t){var e=typeof Map=="function"?new Map:void 0;return eo=function(s){if(s===null||!c1(s))return s;if(typeof s!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(s))return e.get(s);e.set(s,r)}function r(){return l1(s,arguments,jn(this).constructor)}return r.prototype=Object.create(s.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Dn(r,s)},eo(t)}function l1(t,e,n){if(ai())return Reflect.construct.apply(null,arguments);var s=[null];s.push.apply(s,e);var r=new(t.bind.apply(t,s));return n&&Dn(r,n.prototype),r}function ai(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ai=function(){return!!t})()}function c1(t){try{return Function.toString.call(t).indexOf("[native code]")!==-1}catch{return typeof t=="function"}}function Dn(t,e){return Dn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,r){return s.__proto__=r,s},Dn(t,e)}function jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(t)}var ls=(function(t){function e(n){var s,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(s1(this,e),s=r1(this,e,[n]),s.originalRequest=o,s.originalResponse=i,s.causingError=r,r!=null&&(n+=", caused by ".concat(r.toString())),o!=null){var a=o.getHeader("X-Request-ID")||"n/a",l=o.getMethod(),c=o.getURL(),u=i?i.getStatus():"n/a",d=i?i.getBody()||"":"n/a";n+=", originated from request (method: ".concat(l,", url: ").concat(c,", response code: ").concat(u,", response text: ").concat(d,", request id: ").concat(a,")")}return s.message=n,s}return a1(e,t),n1(e)})(eo(Error));function Hn(t){"@babel/helpers - typeof";return Hn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hn(t)}function u1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d1(t,e){for(var n=0;n{let e={};return t.forEach((n,s)=>e[n]=s),e})(Tn),b1=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,ve=String.fromCharCode.bind(String),la=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):t=>new Uint8Array(Array.prototype.slice.call(t,0)),ad=t=>t.replace(/=/g,"").replace(/[+\/]/g,e=>e=="+"?"-":"_"),ld=t=>t.replace(/[^A-Za-z0-9\+\/]/g,""),cd=t=>{let e,n,s,r,o="";const i=t.length%3;for(let a=0;a255||(s=t.charCodeAt(a++))>255||(r=t.charCodeAt(a++))>255)throw new TypeError("invalid character found");e=n<<16|s<<8|r,o+=Tn[e>>18&63]+Tn[e>>12&63]+Tn[e>>6&63]+Tn[e&63]}return i?o.slice(0,i-3)+"===".substring(i):o},li=typeof btoa=="function"?t=>btoa(t):vn?t=>Be.from(t,"binary").toString("base64"):cd,to=vn?t=>Be.from(t).toString("base64"):t=>{let n=[];for(let s=0,r=t.length;se?ad(to(t)):to(t),v1=t=>{if(t.length<2){var e=t.charCodeAt(0);return e<128?t:e<2048?ve(192|e>>>6)+ve(128|e&63):ve(224|e>>>12&15)+ve(128|e>>>6&63)+ve(128|e&63)}else{var e=65536+(t.charCodeAt(0)-55296)*1024+(t.charCodeAt(1)-56320);return ve(240|e>>>18&7)+ve(128|e>>>12&63)+ve(128|e>>>6&63)+ve(128|e&63)}},w1=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ud=t=>t.replace(w1,v1),ca=vn?t=>Be.from(t,"utf8").toString("base64"):aa?t=>to(aa.encode(t)):t=>li(ud(t)),ln=(t,e=!1)=>e?ad(ca(t)):ca(t),ua=t=>ln(t,!0),_1=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,S1=t=>{switch(t.length){case 4:var e=(7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3),n=e-65536;return ve((n>>>10)+55296)+ve((n&1023)+56320);case 3:return ve((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:return ve((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},dd=t=>t.replace(_1,S1),pd=t=>{if(t=t.replace(/\s+/g,""),!b1.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(t.length&3));let e,n,s,r=[];for(let o=0;o>16&255)):s===64?r.push(ve(e>>16&255,e>>8&255)):r.push(ve(e>>16&255,e>>8&255,e&255));return r.join("")},ci=typeof atob=="function"?t=>atob(ld(t)):vn?t=>Be.from(t,"base64").toString("binary"):pd,fd=vn?t=>la(Be.from(t,"base64")):t=>la(ci(t).split("").map(e=>e.charCodeAt(0))),hd=t=>fd(md(t)),E1=vn?t=>Be.from(t,"base64").toString("utf8"):ia?t=>ia.decode(fd(t)):t=>dd(ci(t)),md=t=>ld(t.replace(/[-_]/g,e=>e=="-"?"+":"/")),no=t=>E1(md(t)),x1=t=>{if(typeof t!="string")return!1;const e=t.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(e)||!/[^\s0-9a-zA-Z\-_]/.test(e)},gd=t=>({value:t,enumerable:!1,writable:!0,configurable:!0}),yd=function(){const t=(e,n)=>Object.defineProperty(String.prototype,e,gd(n));t("fromBase64",function(){return no(this)}),t("toBase64",function(e){return ln(this,e)}),t("toBase64URI",function(){return ln(this,!0)}),t("toBase64URL",function(){return ln(this,!0)}),t("toUint8Array",function(){return hd(this)})},bd=function(){const t=(e,n)=>Object.defineProperty(Uint8Array.prototype,e,gd(n));t("toBase64",function(e){return ws(this,e)}),t("toBase64URI",function(){return ws(this,!0)}),t("toBase64URL",function(){return ws(this,!0)})},C1=()=>{yd(),bd()},A1={version:id,VERSION:g1,atob:ci,atobPolyfill:pd,btoa:li,btoaPolyfill:cd,fromBase64:no,toBase64:ln,encode:ln,encodeURI:ua,encodeURL:ua,utob:ud,btou:dd,decode:no,isValid:x1,fromUint8Array:ws,toUint8Array:hd,extendString:yd,extendUint8Array:bd,extendBuiltins:C1};var xr,da;function P1(){return da||(da=1,xr=function(e,n){if(n=n.split(":")[0],e=+e,!e)return!1;switch(n){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0}),xr}var us={},pa;function T1(){if(pa)return us;pa=1;var t=Object.prototype.hasOwnProperty,e;function n(i){try{return decodeURIComponent(i.replace(/\+/g," "))}catch{return null}}function s(i){try{return encodeURIComponent(i)}catch{return null}}function r(i){for(var a=/([^=?#&]+)=?([^&]*)/g,l={},c;c=a.exec(i);){var u=n(c[1]),d=n(c[2]);u===null||d===null||u in l||(l[u]=d)}return l}function o(i,a){a=a||"";var l=[],c,u;typeof a!="string"&&(a="?");for(u in i)if(t.call(i,u)){if(c=i[u],!c&&(c===null||c===e||isNaN(c))&&(c=""),u=s(u),c=s(c),u===null||c===null)continue;l.push(u+"="+c)}return l.length?a+l.join("&"):""}return us.stringify=o,us.parse=r,us}var Cr,fa;function k1(){if(fa)return Cr;fa=1;var t=P1(),e=T1(),n=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s=/[\n\r\t]/g,r=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,o=/:\d+$/,i=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,a=/^[a-zA-Z]:/;function l(g){return(g||"").toString().replace(n,"")}var c=[["#","hash"],["?","query"],function(S,R){return h(R.protocol)?S.replace(/\\/g,"/"):S},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],u={hash:1,query:1};function d(g){var S;typeof window<"u"?S=window:typeof Ei<"u"?S=Ei:typeof self<"u"?S=self:S={};var R=S.location||{};g=g||R;var E={},$=typeof g,M;if(g.protocol==="blob:")E=new w(unescape(g.pathname),{});else if($==="string"){E=new w(g,{});for(M in u)delete E[M]}else if($==="object"){for(M in g)M in u||(E[M]=g[M]);E.slashes===void 0&&(E.slashes=r.test(g.href))}return E}function h(g){return g==="file:"||g==="ftp:"||g==="http:"||g==="https:"||g==="ws:"||g==="wss:"}function f(g,S){g=l(g),g=g.replace(s,""),S=S||{};var R=i.exec(g),E=R[1]?R[1].toLowerCase():"",$=!!R[2],M=!!R[3],j=0,W;return $?M?(W=R[2]+R[3]+R[4],j=R[2].length+R[3].length):(W=R[2]+R[4],j=R[2].length):M?(W=R[3]+R[4],j=R[3].length):W=R[4],E==="file:"?j>=2&&(W=W.slice(2)):h(E)?W=R[4]:E?$&&(W=W.slice(2)):j>=2&&h(S.protocol)&&(W=R[4]),{protocol:E,slashes:$||h(E),slashesCount:j,rest:W}}function y(g,S){if(g==="")return S;for(var R=(S||"/").split("/").slice(0,-1).concat(g.split("/")),E=R.length,$=R[E-1],M=!1,j=0;E--;)R[E]==="."?R.splice(E,1):R[E]===".."?(R.splice(E,1),j++):j&&(E===0&&(M=!0),R.splice(E,1),j--);return M&&R.unshift(""),($==="."||$==="..")&&R.push(""),R.join("/")}function w(g,S,R){if(g=l(g),g=g.replace(s,""),!(this instanceof w))return new w(g,S,R);var E,$,M,j,W,X,J=c.slice(),Y=typeof S,H=this,te=0;for(Y!=="object"&&Y!=="string"&&(R=S,S=null),R&&typeof R!="function"&&(R=e.parse),S=d(S),$=f(g||"",S),E=!$.protocol&&!$.slashes,H.slashes=$.slashes||E&&S.slashes,H.protocol=$.protocol||S.protocol||"",g=$.rest,($.protocol==="file:"&&($.slashesCount!==2||a.test(g))||!$.slashes&&($.protocol||$.slashesCount<2||!h(H.protocol)))&&(J[3]=[/(.*)/,"pathname"]);te=0;--D){var N=this.tryEntries[D],G=N.completion;if(N.tryLoc==="root")return U("end");if(N.tryLoc<=this.prev){var re=s.call(N,"catchLoc"),oe=s.call(N,"finallyLoc");if(re&&oe){if(this.prev=0;--U){var D=this.tryEntries[U];if(D.tryLoc<=this.prev&&s.call(D,"finallyLoc")&&this.prev=0;--A){var U=this.tryEntries[A];if(U.finallyLoc===v)return this.complete(U.completion,U.afterLoc),H(U),m}},catch:function(v){for(var A=this.tryEntries.length-1;A>=0;--A){var U=this.tryEntries[A];if(U.tryLoc===v){var D=U.completion;if(D.type==="throw"){var N=D.arg;H(U)}return N}}throw Error("illegal catch attempt")},delegateYield:function(v,A,U){return this.delegate={iterator:le(v),resultName:A,nextLoc:U},this.method==="next"&&(this.arg=t),m}},e}function ha(t,e,n,s,r,o,i){try{var a=t[o](i),l=a.value}catch(c){n(c);return}a.done?e(l):Promise.resolve(l).then(s,r)}function $1(t){return function(){var e=this,n=arguments;return new Promise(function(s,r){var o=t.apply(e,n);function i(l){ha(o,s,r,i,a,"next",l)}function a(l){ha(o,s,r,i,a,"throw",l)}i(void 0)})}}function vd(t,e){return O1(t)||L1(t,e)||wd(t,e)||U1()}function U1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function L1(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var s,r,o,i,a=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,e!==0)for(;!(l=(s=o.call(n)).done)&&(a.push(s.value),a.length!==e);l=!0);}catch(u){c=!0,r=u}finally{try{if(!l&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}function O1(t){if(Array.isArray(t))return t}function jt(t){"@babel/helpers - typeof";return jt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jt(t)}function N1(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=wd(t))||e){n&&(t=n);var s=0,r=function(){};return{s:r,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(c){throw c},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,a;return{s:function(){n=n.call(t)},n:function(){var c=n.next();return o=c.done,c},e:function(c){i=!0,a=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(i)throw a}}}}function wd(t,e){if(t){if(typeof t=="string")return ma(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ma(t,e)}}function ma(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,s=new Array(e);n1)for(var o=0,i=["uploadUrl","uploadSize","uploadLengthDeferred"];o1||n._parallelUploadUrls!=null?n._startParallelUpload():n._startSingleUpload()}).catch(function(l){n._emitError(l)})}},{key:"_startParallelUpload",value:function(){var n,s=this,r=this._size,o=0;this._parallelUploads=[];var i=this._parallelUploadUrls!=null?this._parallelUploadUrls.length:this.options.parallelUploads,a=(n=this.options.parallelUploadBoundaries)!==null&&n!==void 0?n:z1(this._source.size,i);this._parallelUploadUrls&&a.forEach(function(u,d){u.uploadUrl=s._parallelUploadUrls[d]||null}),this._parallelUploadUrls=new Array(a.length);var l=a.map(function(u,d){var h=0;return s._source.slice(u.start,u.end).then(function(f){var y=f.value;return new Promise(function(w,m){var _=Jt(Jt({},s.options),{},{uploadUrl:u.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,parallelUploadBoundaries:null,metadata:s.options.metadataForPartialUploads,headers:Jt(Jt({},s.options.headers),{},{"Upload-Concat":"partial"}),onSuccess:w,onError:m,onProgress:function(R){o=o-h+R,h=R,s._emitProgress(o,r)},onUploadUrlAvailable:function(){s._parallelUploadUrls[d]=g.url,s._parallelUploadUrls.filter(function(R){return!!R}).length===a.length&&s._saveUploadInUrlStorage()}}),g=new t(y,_);g.start(),s._parallelUploads.push(g)})})}),c;Promise.all(l).then(function(){c=s._openRequest("POST",s.options.endpoint),c.setHeader("Upload-Concat","final;".concat(s._parallelUploadUrls.join(" ")));var u=ba(s.options.metadata);return u!==""&&c.setHeader("Upload-Metadata",u),s._sendRequest(c,null)}).then(function(u){if(!nn(u.getStatus(),200)){s._emitHttpError(c,u,"tus: unexpected response while creating upload");return}var d=u.getHeader("Location");if(d==null){s._emitHttpError(c,u,"tus: invalid or missing Location header");return}s.url=Sa(s.options.endpoint,d),"Created upload at ".concat(s.url),s._emitSuccess(u)}).catch(function(u){s._emitError(u)})}},{key:"_startSingleUpload",value:function(){if(this._aborted=!1,this.url!=null){"Resuming upload from previous URL: ".concat(this.url),this._resumeUpload();return}if(this.options.uploadUrl!=null){"Resuming upload from provided URL: ".concat(this.options.uploadUrl),this.url=this.options.uploadUrl,this._resumeUpload();return}this._createUpload()}},{key:"abort",value:function(n){var s=this;if(this._parallelUploads!=null){var r=N1(this._parallelUploads),o;try{for(r.s();!(o=r.n()).done;){var i=o.value;i.abort(n)}}catch(a){r.e(a)}finally{r.f()}}return this._req!==null&&this._req.abort(),this._aborted=!0,this._retryTimeout!=null&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),!n||this.url==null?Promise.resolve():t.terminate(this.url,this.options).then(function(){return s._removeFromUrlStorage()})}},{key:"_emitHttpError",value:function(n,s,r,o){this._emitError(new ls(r,o,n,s))}},{key:"_emitError",value:function(n){var s=this;if(!this._aborted){if(this.options.retryDelays!=null){var r=this._offset!=null&&this._offset>this._offsetBeforeRetry;if(r&&(this._retryAttempt=0),_a(n,this._retryAttempt,this.options)){var o=this.options.retryDelays[this._retryAttempt++];this._offsetBeforeRetry=this._offset,this._retryTimeout=setTimeout(function(){s.start()},o);return}}if(typeof this.options.onError=="function")this.options.onError(n);else throw n}}},{key:"_emitSuccess",value:function(n){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),typeof this.options.onSuccess=="function"&&this.options.onSuccess({lastResponse:n})}},{key:"_emitProgress",value:function(n,s){typeof this.options.onProgress=="function"&&this.options.onProgress(n,s)}},{key:"_emitChunkComplete",value:function(n,s,r){typeof this.options.onChunkComplete=="function"&&this.options.onChunkComplete(n,s,r)}},{key:"_createUpload",value:function(){var n=this;if(!this.options.endpoint){this._emitError(new Error("tus: unable to create upload because no endpoint is provided"));return}var s=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?s.setHeader("Upload-Defer-Length","1"):s.setHeader("Upload-Length","".concat(this._size));var r=ba(this.options.metadata);r!==""&&s.setHeader("Upload-Metadata",r);var o;this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,o=this._addChunkToRequest(s)):((this.options.protocol===Ss||this.options.protocol===kn)&&s.setHeader("Upload-Complete","?0"),o=this._sendRequest(s,null)),o.then(function(i){if(!nn(i.getStatus(),200)){n._emitHttpError(s,i,"tus: unexpected response while creating upload");return}var a=i.getHeader("Location");if(a==null){n._emitHttpError(s,i,"tus: invalid or missing Location header");return}if(n.url=Sa(n.options.endpoint,a),"Created upload at ".concat(n.url),typeof n.options.onUploadUrlAvailable=="function"&&n.options.onUploadUrlAvailable(),n._size===0){n._emitSuccess(i),n._source.close();return}n._saveUploadInUrlStorage().then(function(){n.options.uploadDataDuringCreation?n._handleUploadResponse(s,i):(n._offset=0,n._performUpload())})}).catch(function(i){n._emitHttpError(s,null,"tus: failed to create upload",i)})}},{key:"_resumeUpload",value:function(){var n=this,s=this._openRequest("HEAD",this.url),r=this._sendRequest(s,null);r.then(function(o){var i=o.getStatus();if(!nn(i,200)){if(i===423){n._emitHttpError(s,o,"tus: upload is currently locked; retry later");return}if(nn(i,400)&&n._removeFromUrlStorage(),!n.options.endpoint){n._emitHttpError(s,o,"tus: unable to resume upload (new upload cannot be created without an endpoint)");return}n.url=null,n._createUpload();return}var a=Number.parseInt(o.getHeader("Upload-Offset"),10);if(Number.isNaN(a)){n._emitHttpError(s,o,"tus: invalid or missing offset value");return}var l=Number.parseInt(o.getHeader("Upload-Length"),10);if(Number.isNaN(l)&&!n.options.uploadLengthDeferred&&n.options.protocol===_s){n._emitHttpError(s,o,"tus: invalid or missing length value");return}typeof n.options.onUploadUrlAvailable=="function"&&n.options.onUploadUrlAvailable(),n._saveUploadInUrlStorage().then(function(){if(a===l){n._emitProgress(l,l),n._emitSuccess(o);return}n._offset=a,n._performUpload()})}).catch(function(o){n._emitHttpError(s,null,"tus: failed to resume upload",o)})}},{key:"_performUpload",value:function(){var n=this;if(!this._aborted){var s;this.options.overridePatchMethod?(s=this._openRequest("POST",this.url),s.setHeader("X-HTTP-Method-Override","PATCH")):s=this._openRequest("PATCH",this.url),s.setHeader("Upload-Offset","".concat(this._offset));var r=this._addChunkToRequest(s);r.then(function(o){if(!nn(o.getStatus(),200)){n._emitHttpError(s,o,"tus: unexpected response while uploading chunk");return}n._handleUploadResponse(s,o)}).catch(function(o){n._aborted||n._emitHttpError(s,null,"tus: failed to upload chunk at offset ".concat(n._offset),o)})}}},{key:"_addChunkToRequest",value:function(n){var s=this,r=this._offset,o=this._offset+this.options.chunkSize;return n.setProgressHandler(function(i){s._emitProgress(r+i,s._size)}),this.options.protocol===_s?n.setHeader("Content-Type","application/offset+octet-stream"):this.options.protocol===kn&&n.setHeader("Content-Type","application/partial-upload"),(o===Number.POSITIVE_INFINITY||o>this._size)&&!this.options.uploadLengthDeferred&&(o=this._size),this._source.slice(r,o).then(function(i){var a=i.value,l=i.done,c=a!=null&&a.size?a.size:0;s.options.uploadLengthDeferred&&l&&(s._size=s._offset+c,n.setHeader("Upload-Length","".concat(s._size)));var u=s._offset+c;return!s.options.uploadLengthDeferred&&l&&u!==s._size?Promise.reject(new Error("upload was configured with a size of ".concat(s._size," bytes, but the source is done after ").concat(u," bytes"))):a===null?s._sendRequest(n):((s.options.protocol===Ss||s.options.protocol===kn)&&n.setHeader("Upload-Complete",l?"?1":"?0"),s._emitProgress(s._offset,s._size),s._sendRequest(n,a))})}},{key:"_handleUploadResponse",value:function(n,s){var r=Number.parseInt(s.getHeader("Upload-Offset"),10);if(Number.isNaN(r)){this._emitHttpError(n,s,"tus: invalid or missing offset value");return}if(this._emitProgress(r,this._size),this._emitChunkComplete(r-this._offset,r,this._size),this._offset=r,r===this._size){this._emitSuccess(s),this._source.close();return}this._performUpload()}},{key:"_openRequest",value:function(n,s){var r=va(n,s,this.options);return this._req=r,r}},{key:"_removeFromUrlStorage",value:function(){var n=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch(function(s){n._emitError(s)}),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var n=this;if(!this.options.storeFingerprintForResuming||!this._fingerprint||this._urlStorageKey!==null)return Promise.resolve();var s={size:this._size,metadata:this.options.metadata,creationTime:new Date().toString()};return this._parallelUploads?s.parallelUploadUrls=this._parallelUploadUrls:s.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,s).then(function(r){n._urlStorageKey=r})}},{key:"_sendRequest",value:function(n){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return wa(n,s,this.options)}}],[{key:"terminate",value:function(n){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=va("DELETE",n,s);return wa(r,null,s).then(function(o){if(o.getStatus()!==204)throw new ls("tus: unexpected response while terminating upload",null,r,o)}).catch(function(o){if(o instanceof ls||(o=new ls("tus: failed to terminate upload",o,r,null)),!_a(o,0,s))throw o;var i=s.retryDelays[0],a=s.retryDelays.slice(1),l=Jt(Jt({},s),{},{retryDelays:a});return new Promise(function(c){return setTimeout(c,i)}).then(function(){return t.terminate(n,l)})})}}])})();function ba(t){return Object.entries(t).map(function(e){var n=vd(e,2),s=n[0],r=n[1];return"".concat(s," ").concat(A1.encode(String(r)))}).join(",")}function nn(t,e){return t>=e&&t=n.retryDelays.length||t.originalRequest==null?!1:n&&typeof n.onShouldRetry=="function"?n.onShouldRetry(t,e,n):Sd(t)}function Sd(t){var e=t.originalResponse?t.originalResponse.getStatus():0;return(!nn(e,400)||e===409||e===423)&&q1()}function Sa(t,e){return new I1(e,t).toString()}function z1(t,e){for(var n=Math.floor(t/e),s=[],r=0;r=this.size;return Promise.resolve({value:r,done:o})}},{key:"close",value:function(){}}])})();function qn(t){"@babel/helpers - typeof";return qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qn(t)}function Z1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eA(t,e){for(var n=0;nthis._bufferOffset&&(this._buffer=this._buffer.slice(n-this._bufferOffset),this._bufferOffset=n);var r=xa(this._buffer)===0;return this._done&&r?null:this._buffer.slice(0,s-n)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}])})();function Ht(t){"@babel/helpers - typeof";return Ht=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ht(t)}function oo(){oo=function(){return e};var t,e={},n=Object.prototype,s=n.hasOwnProperty,r=Object.defineProperty||function(k,v,A){k[v]=A.value},o=typeof Symbol=="function"?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(k,v,A){return Object.defineProperty(k,v,{value:A,enumerable:!0,configurable:!0,writable:!0}),k[v]}try{c({},"")}catch{c=function(A,U,D){return A[U]=D}}function u(k,v,A,U){var D=v&&v.prototype instanceof _?v:_,N=Object.create(D.prototype),G=new te(U||[]);return r(N,"_invoke",{value:X(k,A,G)}),N}function d(k,v,A){try{return{type:"normal",arg:k.call(v,A)}}catch(U){return{type:"throw",arg:U}}}e.wrap=u;var h="suspendedStart",f="suspendedYield",y="executing",w="completed",m={};function _(){}function g(){}function S(){}var R={};c(R,i,function(){return this});var E=Object.getPrototypeOf,$=E&&E(E(le([])));$&&$!==n&&s.call($,i)&&(R=$);var M=S.prototype=_.prototype=Object.create(R);function j(k){["next","throw","return"].forEach(function(v){c(k,v,function(A){return this._invoke(v,A)})})}function W(k,v){function A(D,N,G,re){var oe=d(k[D],k,N);if(oe.type!=="throw"){var he=oe.arg,fe=he.value;return fe&&Ht(fe)=="object"&&s.call(fe,"__await")?v.resolve(fe.__await).then(function(be){A("next",be,G,re)},function(be){A("throw",be,G,re)}):v.resolve(fe).then(function(be){he.value=be,G(he)},function(be){return A("throw",be,G,re)})}re(oe.arg)}var U;r(this,"_invoke",{value:function(N,G){function re(){return new v(function(oe,he){A(N,G,oe,he)})}return U=U?U.then(re,re):re()}})}function X(k,v,A){var U=h;return function(D,N){if(U===y)throw Error("Generator is already running");if(U===w){if(D==="throw")throw N;return{value:t,done:!0}}for(A.method=D,A.arg=N;;){var G=A.delegate;if(G){var re=J(G,A);if(re){if(re===m)continue;return re}}if(A.method==="next")A.sent=A._sent=A.arg;else if(A.method==="throw"){if(U===h)throw U=w,A.arg;A.dispatchException(A.arg)}else A.method==="return"&&A.abrupt("return",A.arg);U=y;var oe=d(k,v,A);if(oe.type==="normal"){if(U=A.done?w:f,oe.arg===m)continue;return{value:oe.arg,done:A.done}}oe.type==="throw"&&(U=w,A.method="throw",A.arg=oe.arg)}}}function J(k,v){var A=v.method,U=k.iterator[A];if(U===t)return v.delegate=null,A==="throw"&&k.iterator.return&&(v.method="return",v.arg=t,J(k,v),v.method==="throw")||A!=="return"&&(v.method="throw",v.arg=new TypeError("The iterator does not provide a '"+A+"' method")),m;var D=d(U,k.iterator,v.arg);if(D.type==="throw")return v.method="throw",v.arg=D.arg,v.delegate=null,m;var N=D.arg;return N?N.done?(v[k.resultName]=N.value,v.next=k.nextLoc,v.method!=="return"&&(v.method="next",v.arg=t),v.delegate=null,m):N:(v.method="throw",v.arg=new TypeError("iterator result is not an object"),v.delegate=null,m)}function Y(k){var v={tryLoc:k[0]};1 in k&&(v.catchLoc=k[1]),2 in k&&(v.finallyLoc=k[2],v.afterLoc=k[3]),this.tryEntries.push(v)}function H(k){var v=k.completion||{};v.type="normal",delete v.arg,k.completion=v}function te(k){this.tryEntries=[{tryLoc:"root"}],k.forEach(Y,this),this.reset(!0)}function le(k){if(k||k===""){var v=k[i];if(v)return v.call(k);if(typeof k.next=="function")return k;if(!isNaN(k.length)){var A=-1,U=function D(){for(;++A=0;--D){var N=this.tryEntries[D],G=N.completion;if(N.tryLoc==="root")return U("end");if(N.tryLoc<=this.prev){var re=s.call(N,"catchLoc"),oe=s.call(N,"finallyLoc");if(re&&oe){if(this.prev=0;--U){var D=this.tryEntries[U];if(D.tryLoc<=this.prev&&s.call(D,"finallyLoc")&&this.prev=0;--A){var U=this.tryEntries[A];if(U.finallyLoc===v)return this.complete(U.completion,U.afterLoc),H(U),m}},catch:function(v){for(var A=this.tryEntries.length-1;A>=0;--A){var U=this.tryEntries[A];if(U.tryLoc===v){var D=U.completion;if(D.type==="throw"){var N=D.arg;H(U)}return N}}throw Error("illegal catch attempt")},delegateYield:function(v,A,U){return this.delegate={iterator:le(v),resultName:A,nextLoc:U},this.method==="next"&&(this.arg=t),m}},e}function Ca(t,e,n,s,r,o,i){try{var a=t[o](i),l=a.value}catch(c){n(c);return}a.done?e(l):Promise.resolve(l).then(s,r)}function iA(t){return function(){var e=this,n=arguments;return new Promise(function(s,r){var o=t.apply(e,n);function i(l){Ca(o,s,r,i,a,"next",l)}function a(l){Ca(o,s,r,i,a,"throw",l)}i(void 0)})}}function aA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lA(t,e){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:null;return new Promise(function(r,o){n._xhr.onload=function(){r(new _A(n._xhr))},n._xhr.onerror=function(i){o(i)},n._xhr.send(s)})}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])})(),_A=(function(){function t(e){ui(this,t),this._xhr=e}return di(t,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(n){return this._xhr.getResponseHeader(n)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}])})();function Vn(t){"@babel/helpers - typeof";return Vn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vn(t)}function SA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function EA(t,e){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:null,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return kA(this,e),s=rn(rn({},lo),s),FA(this,e,[n,s])}return LA(e,t),IA(e,null,[{key:"terminate",value:function(s){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r=rn(rn({},lo),r),Ms.terminate(s,r)}}])})(Ms);const DA="5.1.1",jA={version:DA};function HA(){return typeof window<"u"&&(typeof window.PhoneGap<"u"||typeof window.Cordova<"u"||typeof window.cordova<"u")}function BA(){return typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative"}function qA(t){return(e,n)=>{if(HA()||BA())return lo.fingerprint(e,n);const s=["tus",t.id,n.endpoint].join("-");return Promise.resolve(s)}}const Ad={endpoint:"",uploadUrl:null,metadata:{},uploadSize:null,onProgress:null,onChunkComplete:null,onSuccess:null,onError:null,overridePatchMethod:!1,headers:{},addRequestId:!1,chunkSize:1/0,retryDelays:[100,1e3,3e3,5e3],parallelUploads:1,removeFingerprintOnSuccess:!1,uploadLengthDeferred:!1,uploadDataDuringCreation:!1},zA={limit:20,retryDelays:Ad.retryDelays,withCredentials:!1,allowedMetaFields:!0};class VA extends Qo{static VERSION=jA.version;#e;requests;uploaders;uploaderEvents;constructor(e,n){if(super(e,{...zA,...n}),this.type="uploader",this.id=this.opts.id||"Tus",n?.allowedMetaFields===void 0&&"metaFields"in this.opts)throw new Error("The `metaFields` option has been renamed to `allowedMetaFields`.");if("autoRetry"in n)throw new Error("The `autoRetry` option was deprecated and has been removed.");this.requests=this.opts.rateLimitedQueue??new rd(this.opts.limit),this.#e=this.opts.retryDelays?.values(),this.uploaders=Object.create(null),this.uploaderEvents=Object.create(null)}resetUploaderReferences(e,n){const s=this.uploaders[e];s&&(s.abort(),n?.abort&&s.abort(!0),this.uploaders[e]=null),this.uploaderEvents[e]&&(this.uploaderEvents[e].remove(),this.uploaderEvents[e]=null)}async#t(e){return this.resetUploaderReferences(e.id),new Promise((n,s)=>{let r,o,i;const a={...this.opts,...e.tus||{}};typeof a.headers=="function"&&(a.headers=a.headers(e));const{onShouldRetry:l,onBeforeRequest:c,...u}=a,d={...Ad,...u};d.fingerprint=qA(e),d.onBeforeRequest=async _=>{const g=_.getUnderlyingObject();g&&(g.withCredentials=!!a.withCredentials);let S;if(typeof c=="function"&&(S=c(_,e)),yr(r,"shouldBeRequeued")){if(!r.shouldBeRequeued)return Promise.reject();let R;const E=new Promise($=>{R=$});r=this.requests.run(()=>(e.isPaused&&r.abort(),R(),()=>{})),await Promise.all([E,S]);return}return S},d.onError=_=>{this.uppy.log(_);const g=_.originalRequest!=null?_.originalRequest.getUnderlyingObject():null;sd(g)&&(_=new Ns(_,g)),this.resetUploaderReferences(e.id),r?.abort(),typeof a.onError=="function"&&a.onError(_),s(_)},d.onProgress=(_,g)=>{this.onReceiveUploadUrl(e,i.url),typeof a.onProgress=="function"&&a.onProgress(_,g);const S=this.uppy.getFile(e.id);this.uppy.emit("upload-progress",S,{uploadStarted:S.progress.uploadStarted??0,bytesUploaded:_,bytesTotal:g})},d.onSuccess=_=>{const g={uploadURL:i.url??void 0,status:200,body:{xhr:_.lastResponse.getUnderlyingObject()}};this.uppy.emit("upload-success",this.uppy.getFile(e.id),g),this.resetUploaderReferences(e.id),r.done(),i.url&&this.uppy.log(`Download ${i.url}`),typeof a.onSuccess=="function"&&a.onSuccess(_),n(i)};const h=_=>{const g=_?.originalResponse?.getStatus();if(g===429){if(!this.requests.isPaused){const S=this.#e?.next();if(S==null||S.done)return!1;this.requests.rateLimit(S.value)}}else{if(g!=null&&g>=400&&g<500&&g!==409&&g!==423)return!1;typeof navigator<"u"&&navigator.onLine===!1&&(this.requests.isPaused||(this.requests.pause(),window.addEventListener("online",()=>{this.requests.resume()},{once:!0})))}return r.abort(),r={shouldBeRequeued:!0,abort(){this.shouldBeRequeued=!1},done(){throw new Error("Cannot mark a queued request as done: this indicates a bug")},fn(){throw new Error("Cannot run a queued request: this indicates a bug")}},!0};l!=null?d.onShouldRetry=(_,g)=>l(_,g,a,h):d.onShouldRetry=h;const f=(_,g,S)=>{yr(_,g)&&!yr(_,S)&&(_[S]=_[g])},y={};if(Qr(a.allowedMetaFields,e.meta).forEach(_=>{y[_]=String(e.meta[_])}),f(y,"type","filetype"),f(y,"name","filename"),d.metadata=y,e.data==null)throw new Error("File data is empty");i=new MA(e.data,d),this.uploaders[e.id]=i;const m=new od(this.uppy);this.uploaderEvents[e.id]=m,o=()=>(e.isPaused||i.start(),()=>{}),i.findPreviousUploads().then(_=>{const g=_[0];g&&(this.uppy.log(`[Tus] Resuming upload of ${e.id} started at ${g.creationTime}`),i.resumeFromPreviousUpload(g)),r=this.requests.run(o)}),m.onFileRemove(e.id,_=>{r.abort(),this.resetUploaderReferences(e.id,{abort:!!i.url}),n(`upload ${_} was removed`)}),m.onPause(e.id,_=>{r.abort(),_?i.abort():r=this.requests.run(o)}),m.onPauseAll(e.id,()=>{r.abort(),i.abort()}),m.onCancelAll(e.id,()=>{r.abort(),this.resetUploaderReferences(e.id,{abort:!!i.url}),n(`upload ${e.id} was canceled`)}),m.onResumeAll(e.id,()=>{r.abort(),e.error&&i.abort(),r=this.requests.run(o)})}).catch(n=>{throw this.uppy.emit("upload-error",e,n),n})}onReceiveUploadUrl(e,n){const s=this.uppy.getFile(e.id);s&&(!s.tus||s.tus.uploadUrl!==n)&&(this.uppy.log("[Tus] Storing upload url"),this.uppy.setFileState(s.id,{tus:{...s.tus,uploadUrl:n}}))}#n(e){const n={...this.opts};return e.tus&&Object.assign(n,e.tus),typeof n.headers=="function"&&(n.headers=n.headers(e)),{..."remote"in e&&e.remote.body,endpoint:n.endpoint,uploadUrl:n.uploadUrl,protocol:"tus",size:e.data.size,headers:n.headers,metadata:e.meta}}async#s(e){const n=Qu(e),s=Zu(n);this.uppy.emit("upload-start",s),await Promise.allSettled(n.map(r=>{if(r.isRemote){const o=()=>this.requests,i=new AbortController,a=c=>{c.id===r.id&&i.abort()};this.uppy.on("file-removed",a);const l=this.uppy.getRequestClientForFile(r).uploadRemoteFile(r,this.#n(r),{signal:i.signal,getQueue:o});return this.requests.wrapSyncFunction(()=>{this.uppy.off("file-removed",a)},{priority:-1})(),l}return this.#t(r)}))}#r=async e=>{if(e.length===0){this.uppy.log("[Tus] No files to upload");return}this.opts.limit===0&&this.uppy.log("[Tus] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/tus/#limit-0","warning"),this.uppy.log("[Tus] Uploading...");const n=this.uppy.getFilesByIds(e);await this.#s(n)};install(){this.uppy.setState({capabilities:{...this.uppy.getState().capabilities,resumableUploads:!0}}),this.uppy.addUploader(this.#r)}uninstall(){this.uppy.setState({capabilities:{...this.uppy.getState().capabilities,resumableUploads:!1}}),this.uppy.removeUploader(this.#r)}}const WA="5.1.1",GA={version:WA},KA={strings:{uploadStalled:"Upload has not made any progress for %{seconds} seconds. You may want to retry it."}};function XA(t,e){let n=e;return n||(n=new Error("Upload error")),typeof n=="string"&&(n=new Error(n)),n instanceof Error||(n=Object.assign(new Error("Upload error"),{data:n})),sd(t)?(n=new Ns(n,t),n):(n.request=t,n)}function Ta(t){return t.data.slice(0,t.data.size,t.meta.type)}const YA={formData:!0,fieldName:"file",method:"post",allowedMetaFields:!0,bundle:!1,headers:{},timeout:30*1e3,limit:5,withCredentials:!1,responseType:""};class JA extends Qo{static VERSION=GA.version;#e;requests;uploaderEvents;constructor(e,n){if(super(e,{...YA,fieldName:n.bundle?"files[]":"file",...n}),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.defaultLocale=KA,this.i18nInit(),vr in this.opts?this.requests=this.opts[vr]:this.requests=new rd(this.opts.limit),this.opts.bundle&&!this.opts.formData)throw new Error("`opts.formData` must be true when `opts.bundle` is enabled.");if(this.opts.bundle&&typeof this.opts.headers=="function")throw new Error("`opts.headers` can not be a function when the `bundle: true` option is set.");if(n?.allowedMetaFields===void 0&&"metaFields"in this.opts)throw new Error("The `metaFields` option has been renamed to `allowedMetaFields`.");this.uploaderEvents=Object.create(null),this.#e=s=>async(r,o)=>{try{const i=await xC(r,{...o,onBeforeRequest:(c,u)=>this.opts.onBeforeRequest?.(c,u,s),shouldRetry:this.opts.shouldRetry,onAfterResponse:this.opts.onAfterResponse,onTimeout:c=>{const u=Math.ceil(c/1e3),d=new Error(this.i18n("uploadStalled",{seconds:u}));this.uppy.emit("upload-stalled",d,s)},onUploadProgress:c=>{if(c.lengthComputable)for(const{id:u}of s){const d=this.uppy.getFile(u);d!=null&&this.uppy.emit("upload-progress",d,{uploadStarted:d.progress.uploadStarted??0,bytesUploaded:c.loaded/c.total*d.size,bytesTotal:d.size})}}});let a=await this.opts.getResponseData?.(i);if(i.responseType==="json")a??=i.response;else try{a??=JSON.parse(i.responseText)}catch(c){throw new Error("@uppy/xhr-upload expects a JSON response (with a `url` property). To parse non-JSON responses, use `getResponseData` to turn your response into JSON.",{cause:c})}const l=typeof a?.url=="string"?a.url:void 0;for(const{id:c}of s)this.uppy.emit("upload-success",this.uppy.getFile(c),{status:i.status,body:a,uploadURL:l});return i}catch(i){if(i.name==="AbortError")return;const a=i.request;for(const l of s)this.uppy.emit("upload-error",this.uppy.getFile(l.id),XA(a,i),a);throw i}}}getOptions(e){const n=this.uppy.getState().xhrUpload,{headers:s}=this.opts,r={...this.opts,...n||{},...e.xhrUpload||{},headers:{}};return typeof s=="function"?r.headers=s(e):Object.assign(r.headers,this.opts.headers),n&&Object.assign(r.headers,n.headers),e.xhrUpload&&Object.assign(r.headers,e.xhrUpload.headers),r}addMetadata(e,n,s){Qr(s.allowedMetaFields,n).forEach(o=>{const i=n[o];Array.isArray(i)?i.forEach(a=>e.append(o,a)):e.append(o,i)})}createFormDataUpload(e,n){const s=new FormData;this.addMetadata(s,e.meta,n);const r=Ta(e);return e.name?s.append(n.fieldName,r,e.meta.name):s.append(n.fieldName,r),s}createBundledUpload(e,n){const s=new FormData,{meta:r}=this.uppy.getState();return this.addMetadata(s,r,n),e.forEach(o=>{const i=this.getOptions(o),a=Ta(o);o.name?s.append(i.fieldName,a,o.name):s.append(i.fieldName,a)}),s}async#t(e){const n=new od(this.uppy),s=new AbortController,r=this.requests.wrapPromiseFunction(async()=>{const o=this.getOptions(e),i=this.#e([e]),a=o.formData?this.createFormDataUpload(e,o):e.data,l=typeof o.endpoint=="string"?o.endpoint:await o.endpoint(e);return i(l,{...o,body:a,signal:s.signal})});n.onFileRemove(e.id,()=>s.abort()),n.onCancelAll(e.id,()=>{s.abort()});try{await r()}catch(o){if(o.message!=="Cancelled")throw o}finally{n.remove()}}async#n(e){const n=new AbortController,s=this.requests.wrapPromiseFunction(async()=>{const o=this.uppy.getState().xhrUpload??{},i=this.#e(e),a=this.createBundledUpload(e,{...this.opts,...o}),l=typeof this.opts.endpoint=="string"?this.opts.endpoint:await this.opts.endpoint(e);return i(l,{...this.opts,body:a,signal:n.signal})});function r(){n.abort()}this.uppy.once("cancel-all",r);try{await s()}catch(o){if(o.message!=="Cancelled")throw o}finally{this.uppy.off("cancel-all",r)}}#s(e){const n=this.getOptions(e),s=Qr(n.allowedMetaFields,e.meta);return{...e.remote?.body,protocol:"multipart",endpoint:n.endpoint,size:e.data.size,fieldname:n.fieldName,metadata:Object.fromEntries(s.map(r=>[r,e.meta[r]])),httpMethod:n.method,useFormData:n.formData,headers:n.headers}}async#r(e){await Promise.allSettled(e.map(n=>{if(n.isRemote){const s=()=>this.requests,r=new AbortController,o=a=>{a.id===n.id&&r.abort()};this.uppy.on("file-removed",o);const i=this.uppy.getRequestClientForFile(n).uploadRemoteFile(n,this.#s(n),{signal:r.signal,getQueue:s});return this.requests.wrapSyncFunction(()=>{this.uppy.off("file-removed",o)},{priority:-1})(),i}return this.#t(n)}))}#o=async e=>{if(e.length===0){this.uppy.log("[XHRUpload] No files to upload!");return}this.opts.limit===0&&!this.opts[vr]&&this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),this.uppy.log("[XHRUpload] Uploading...");const n=this.uppy.getFilesByIds(e),s=Qu(n),r=Zu(s);if(this.uppy.emit("upload-start",r),this.opts.bundle){if(s.some(i=>i.isRemote))throw new Error("Can’t upload remote files when the `bundle: true` option is set");if(typeof this.opts.headers=="function")throw new TypeError("`headers` may not be a function when the `bundle: true` option is set");await this.#n(s)}else await this.#r(s)};install(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!1}})}this.uppy.addUploader(this.#o)}uninstall(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:{...e,individualCancellation:!0}})}this.uppy.removeUploader(this.#o)}}const ka=async t=>{const e=await new Promise((s,r)=>t.file(s,r));return t.fullPath===se(t.name,{leadingSlash:!0})||(e.relativePath=t.fullPath),e},QA=t=>typeof t.getAsEntry=="function"?t.getAsEntry():t.webkitGetAsEntry();async function*ZA(t){const e=t.createReader(),n=()=>new Promise((r,o)=>{e.readEntries(r,o)});let s;do{s=await n();for(const r of s)yield r}while(s.length>0)}async function*Pd(t,e){if(t.isDirectory){let n=!1;for await(const s of ZA(t))if(s.isDirectory)yield*Pd(s,e);else if(s.isFile)try{n=!0,yield ka(s)}catch(r){console.error(r),e?.(r)}n||(yield eu(t.fullPath||t.name))}else try{yield ka(t)}catch(n){console.error(n),e?.(n)}}const eP=async(t,e)=>{try{const n=[],s=await Promise.all(Array.from(t.items,r=>QA(r)));for(let r=0;r{e.preventDefault(),e.stopPropagation(),this.setPluginState({isDraggingOver:!1}),this.uppy.iteratePlugins(o=>{o.type==="acquirer"&&o.handleRootDrop?.(e)});let n=!1;const s=o=>{this.uppy.log(o,"error"),n||(this.uppy.info(o.message,"error"),n=!0)},r=await eP(e.dataTransfer,s);if(r.length>0){this.uppy.log("[DropTarget] Files were dropped");try{const o=tu("DropTarget",r);this.uppyService.addFiles(o)}catch(o){this.uppy.log(o)}}this.opts.onDrop?.(e),this.uppyService?.publish("drop",e)};handleDragOver=e=>{e.preventDefault(),e.stopPropagation(),this.setPluginState({isDraggingOver:!0}),this.opts.onDragOver?.(e),this.uppyService?.publish("drag-over",e)};handleDragLeave=e=>{e.preventDefault(),e.stopPropagation(),this.setPluginState({isDraggingOver:!1}),this.opts.onDragLeave?.(e),this.uppyService?.publish("drag-out",e)};addListeners=()=>{const{target:e,uppyService:n}=this.opts;if(this.uppyService=n,e instanceof Element?this.nodes=[e]:typeof e=="string"&&(this.nodes=RC(document.querySelectorAll(e))),!this.nodes||this.nodes.length===0)throw new Error(`"${e}" does not match any HTML elements`);this.nodes.forEach(s=>{s.addEventListener("dragover",this.handleDragOver,!1),s.addEventListener("dragleave",this.handleDragLeave,!1),s.addEventListener("drop",this.handleDrop,!1)})};removeListeners=()=>{this.nodes&&this.nodes.forEach(e=>{e.removeEventListener("dragover",this.handleDragOver,!1),e.removeEventListener("dragleave",this.handleDragLeave,!1),e.removeEventListener("drop",this.handleDrop,!1)})};install(){this.setPluginState({isDraggingOver:!1}),this.addListeners()}uninstall(){this.removeListeners()}}class Td{uppy;uploadInputs=[];uploadFolderMap={};constructor({language:e}){const{$gettext:n}=e;this.uppy=new ii({autoProceed:!1,onBeforeFileAdded:(s,r)=>s.id in r&&!r[s.id].error?!1:(s.name=s.name.normalize("NFC"),s.meta.relativePath=this.getRelativeFilePath(s)?.normalize("NFC"),s.id=this.generateUploadId(s),s)}),this.uppy.setOptions({locale:{strings:{addedNumFiles:n("Added %{numFiles} file(s)"),authenticate:n("Connect"),authenticateWith:n("Connect to %{pluginName}"),authenticateWithTitle:n("Please authenticate with %{pluginName} to select files"),cancel:n("Cancel"),companionError:n("Connection with Companion failed"),loadedXFiles:n("Loaded %{numFiles} files"),loading:n("Loading..."),logOut:n("Log out"),pluginWebdavInputLabel:n("Public link without password protection"),selectX:{0:n("Select %{smart_count}"),1:n("Select %{smart_count}")},signInWithGoogle:n("Sign in with Google")}}}),this.setUpEvents()}getRelativeFilePath=e=>{const n=e.data.relativePath||e.data.webkitRelativePath;return n?se(n):void 0};addPlugin(e,...n){this.uppy.use(e,...n)}removePlugin(e){this.uppy.removePlugin(e)}getPlugin(e){return this.uppy.getPlugin(e)}useTus({chunkSize:e,overridePatchMethod:n,uploadDataDuringCreation:s,onBeforeRequest:r,headers:o}){const i={chunkSize:e,removeFingerprintOnSuccess:!0,overridePatchMethod:n,retryDelays:[0,500,1e3],uploadDataDuringCreation:s,limit:5,headers:o,onBeforeRequest:r,onShouldRetry:(c,u,d,h)=>c?.originalResponse?.getStatus()>=500?!1:c?.originalResponse?.getStatus()===401?!0:h(c)},a=this.uppy.getPlugin("XHRUpload");a&&this.uppy.removePlugin(a);const l=this.uppy.getPlugin("Tus");if(l){l.setOptions(i);return}this.uppy.use(VA,i)}useXhr({headers:e,timeout:n,endpoint:s}){const r={endpoint:s,method:"put",headers:e,formData:!1,timeout:n,getResponseData(){return{}}},o=this.uppy.getPlugin("Tus");o&&this.uppy.removePlugin(o);const i=this.uppy.getPlugin("XHRUpload");if(i){i.setOptions(r);return}this.uppy.use(JA,r)}tusActive(){return!!this.uppy.getPlugin("Tus")}useDropTarget({targetSelector:e}){this.uppy.getPlugin("DropTarget")||this.uppy.use(nP,{target:e,uppyService:this})}removeDropTarget(){const e=this.uppy.getPlugin("DropTarget");e&&this.uppy.removePlugin(e)}subscribe(e,n){return we.subscribe(e,n)}unsubscribe(e,n){we.unsubscribe(e,n)}publish(e,n){we.publish(e,n)}setUpEvents(){this.uppy.on("progress",e=>{this.publish("progress",e)}),this.uppy.on("upload-progress",(e,n)=>{this.publish("upload-progress",{file:e,progress:n})}),this.uppy.on("cancel-all",()=>{this.publish("uploadCancelled"),this.clearInputs()}),this.uppy.on("complete",e=>{if(!(!e||!e.successful.length&&!e.failed.length)){this.publish("uploadCompleted",e);for(let n=0;n{this.publish("uploadSuccess",e)}),this.uppy.on("upload-error",(e,n)=>{this.publish("uploadError",{file:e,error:n})})}registerUploadInput(e){e.getAttribute("listener")!=="true"&&(e.setAttribute("listener","true"),e.addEventListener("change",s=>{const r=s.target,o=Array.from(r.files);this.addFiles(o)}),this.uploadInputs.push(e))}removeUploadInput(e){this.uploadInputs=this.uploadInputs.filter(n=>n!==e)}generateUploadId(e){return nd(e,this.uppy.getID())}log(e,n){this.uppy.log(e,n)}addFiles(e){this.uppy.addFiles(e)}uploadFiles(){return this.uppy.upload()}retryAllUploads(){return this.uppy.retryAll()}pauseAllUploads(){return this.uppy.pauseAll()}resumeAllUploads(){return this.uppy.resumeAll()}cancelAllUploads(){return this.uppy.cancelAll()}removeFailedFiles(){const{files:e}=this.uppy.getState(),n=Object.values(e).filter(s=>s.error);n.length&&this.uppy.removeFiles(n.map(({id:s})=>s))}getCurrentUploads(){return this.uppy.getState().currentUploads}isRemoteUploadInProgress(){return this.uppy.getFiles().some(e=>e.isRemote&&!e.error)}clearInputs(){this.uploadInputs.forEach(e=>{e.value=null})}setUploadFolder(e,n){this.uploadFolderMap[e]=n}removeUploadFolder(e){this.uploadFolderMap[e]&&delete this.uploadFolderMap[e]}}const sP=(t,e)=>{const n=(o="")=>o.split("/").filter(Boolean),s=n(t.path),r=n(e);return r.map((o,i)=>({id:Ne(),allowContextActions:!0,text:o,to:{path:"/"+[...s].splice(0,s.length-r.length+i+1).join("/"),query:yu(t.query,"fileId","page")},isStaticNav:!1}))},rP=(...t)=>{const e=t.pop();return[...t,{id:Ne(),allowContextActions:e.allowContextActions,text:e.text,onClick:()=>we.publish("app.files.list.load"),isTruncationPlaceholder:e.isTruncationPlaceholder,isStaticNav:e.isStaticNav}]},kd=gm("groupwareConfig",()=>{const t=q(""),e=q([]),n=q(),s=q([]),r=q({});return{version:t,capabilities:e,limits:n,accounts:s,primaryAccounts:r,loadGroupwareConfig:i=>{t.value=i.version,e.value=i.capabilities||[],n.value=i.limits,s.value=i.accounts||[],r.value=i.primaryAccounts||{}}}}),Es={},Ra={};function Wt(t,e){Es[t]=Es[t]||[],Es[t].push(e)}function Gt(t,e){if(!Ra[t]){Ra[t]=!0;try{e()}catch(n){Q&&K.error(`Error while instrumenting ${t}`,n)}}}function Ge(t,e){const n=t&&Es[t];if(n)for(const s of n)try{s(e)}catch(r){Q&&K.error(`Error while triggering instrumentation handler. +Type: ${t} +Name: ${Mt(s)} +Error:`,r)}}let Pr=null;function oP(t){const e="error";Wt(e,t),Gt(e,iP)}function iP(){Pr=Se.onerror,Se.onerror=function(t,e,n,s,r){return Ge("error",{column:s,error:r,line:n,msg:t,url:e}),Pr?Pr.apply(this,arguments):!1},Se.onerror.__SENTRY_INSTRUMENTED__=!0}let Tr=null;function aP(t){const e="unhandledrejection";Wt(e,t),Gt(e,lP)}function lP(){Tr=Se.onunhandledrejection,Se.onunhandledrejection=function(t){return Ge("unhandledrejection",t),Tr?Tr.apply(this,arguments):!0},Se.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function pi(t){if(typeof t=="boolean")return Number(t);const e=typeof t=="string"?parseFloat(t):t;if(!(typeof e!="number"||isNaN(e)||e<0||e>1))return e}function Ia(t){K.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function co(t,e){if(!e?.length||!t.description)return!1;for(const n of e){if(uP(n)){if(ur(t.description,n))return Q&&Ia(t),!0;continue}if(!n.name&&!n.op)continue;const s=n.name?ur(t.description,n.name):!0,r=n.op?t.op&&ur(t.op,n.op):!0;if(s&&r)return Q&&Ia(t),!0}return!1}function cP(t,e){const n=e.parent_span_id,s=e.span_id;if(n)for(const r of t)r.parent_span_id===s&&(r.parent_span_id=n)}function uP(t){return typeof t=="string"||t instanceof RegExp}class fi{constructor(e={}){this._traceId=e.traceId||Bc(),this._spanId=e.spanId||qc()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:zc}}end(e){}setAttribute(e,n){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,n,s){return this}addLink(e){return this}addLinks(e){return this}recordException(e,n){}}function Kt(t,e=[]){return[t,e]}function dP(t,e){const[n,s]=t;return[n,[...s,e]]}function uo(t,e){const n=t[1];for(const s of n){const r=s[0].type;if(e(s,r))return!0}return!1}function pP(t,e){return uo(t,(n,s)=>e.includes(s))}function po(t){const e=Xv(Se);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function fP(t){const[e,n]=t;let s=JSON.stringify(e);function r(o){typeof s=="string"?s=typeof o=="string"?s+o:[po(s),o]:s.push(typeof o=="string"?po(o):o)}for(const o of n){const[i,a]=o;if(r(` +${JSON.stringify(i)} +`),typeof a=="string"||a instanceof Uint8Array)r(a);else{let l;try{l=JSON.stringify(a)}catch{l=JSON.stringify(Kv(a))}r(l)}}return typeof s=="string"?s:hP(s)}function hP(t){const e=t.reduce((r,o)=>r+o.length,0),n=new Uint8Array(e);let s=0;for(const r of t)n.set(r,s),s+=r.length;return n}function mP(t){return[{type:"span"},t]}function gP(t){const e=typeof t.data=="string"?po(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}const yP={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function Fa(t){return yP[t]}function Rd(t){if(!t?.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function bP(t,e,n,s){const r=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!n&&s&&{dsn:gn(s)},...r&&{trace:r}}}function vP(t,e){if(!e)return t;const n=t.sdk||{};return t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...t.sdk?.integrations||[],...e.integrations||[]],packages:[...t.sdk?.packages||[],...e.packages||[]],settings:t.sdk?.settings||e.settings?{...t.sdk?.settings,...e.settings}:void 0},t}function wP(t,e,n,s){const r=Rd(n),o={sent_at:new Date().toISOString(),...r&&{sdk:r},...!!s&&e&&{dsn:gn(e)}},i="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return Kt(o,[i])}function _P(t,e,n,s){const r=Rd(n),o=t.type&&t.type!=="replay_event"?t.type:"event";vP(t,n?.sdk);const i=bP(t,r,s,e);return delete t.sdkProcessingMetadata,Kt(i,[[{type:o},t]])}function SP(t,e){function n(f){return!!f.trace_id&&!!f.public_key}const s=Is(t[0]),r=e?.getDsn(),o=e?.getOptions().tunnel,i={sent_at:new Date().toISOString(),...n(s)&&{trace:s},...!!o&&r&&{dsn:gn(r)}},{beforeSendSpan:a,ignoreSpans:l}=e?.getOptions()||{},c=l?.length?t.filter(f=>!co(wt(f),l)):t,u=t.length-c.length;u&&e?.recordDroppedEvent("before_send","span",u);const d=a?f=>{const y=wt(f),w=a(y);return w||(Dr(),y)}:wt,h=[];for(const f of c){const y=d(f);y&&h.push(mP(y))}return Kt(i,h)}function EP(t){if(!Q)return;const{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:s}=wt(t),{spanId:r}=t.spanContext(),o=Ho(t),i=on(t),a=i===t,l=`[Tracing] Starting ${o?"sampled":"unsampled"} ${a?"root ":""}span`,c=[`op: ${n}`,`name: ${e}`,`ID: ${r}`];if(s&&c.push(`parent ID: ${s}`),!a){const{op:u,description:d}=wt(i);c.push(`root ID: ${i.spanContext().spanId}`),u&&c.push(`root op: ${u}`),d&&c.push(`root description: ${d}`)}K.log(`${l} + ${c.join(` + `)}`)}function xP(t){if(!Q)return;const{description:e="< unknown name >",op:n="< unknown op >"}=wt(t),{spanId:s}=t.spanContext(),o=on(t)===t,i=`[Tracing] Finishing "${n}" ${o?"root ":""}span "${e}" with ID ${s}`;K.log(i)}function $a(t){if(!t||t.length===0)return;const e={};return t.forEach(n=>{const s=n.attributes||{},r=s[Yv],o=s[Jv];typeof r=="string"&&typeof o=="number"&&(e[n.name]={value:o,unit:r})}),e}const Ua=1e3;class hi{constructor(e={}){this._traceId=e.traceId||Bc(),this._spanId=e.spanId||qc(),this._startTime=e.startTimestamp||We(),this._links=e.links,this._attributes={},this.setAttributes({[Fs]:"manual",[Ai]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,n){}spanContext(){const{_spanId:e,_traceId:n,_sampled:s}=this;return{spanId:e,traceId:n,traceFlags:s?Qv:zc}}setAttribute(e,n){return n===void 0?delete this._attributes[e]:this._attributes[e]=n,this}setAttributes(e){return Object.keys(e).forEach(n=>this.setAttribute(n,e[n])),this}updateStartTime(e){this._startTime=gs(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(jr,"custom"),this}end(e){this._endTime||(this._endTime=gs(e),xP(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[Ai],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:ew(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Fs],profile_id:this._attributes[qo],exclusive_time:this._attributes[Bo],measurements:$a(this._events),is_segment:this._isStandaloneSpan&&on(this)===this||void 0,segment_id:this._isStandaloneSpan?on(this).spanContext().spanId:void 0,links:Zv(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,n,s){Q&&K.log("[Tracing] Adding an event to span:",e);const r=La(n)?n:s||We(),o=La(n)?{}:n||{},i={name:e,time:gs(r),attributes:o};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=ye();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===on(this)))return;if(this._isStandaloneSpan){this._sampled?AP(SP([this],e)):(Q&&K.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span"));return}const s=this._convertSpanToTransaction();s&&(Pi(this).scope||yn()).captureEvent(s)}_convertSpanToTransaction(){if(!Oa(wt(this)))return;this._name||(Q&&K.warn("Transaction has no name, falling back to ``."),this._name="");const{scope:e,isolationScope:n}=Pi(this),s=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;const o=tw(this).filter(u=>u!==this&&!CP(u)).map(u=>wt(u)).filter(Oa),i=this._attributes[jr];delete this._attributes[Ti],o.forEach(u=>{delete u.data[Ti]});const a={contexts:{trace:nw(this)},spans:o.length>Ua?o.sort((u,d)=>u.start_timestamp-d.start_timestamp).slice(0,Ua):o,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:n,dynamicSamplingContext:Is(this)},request:s,...i&&{transaction_info:{source:i}}},l=$a(this._events);return l&&Object.keys(l).length&&(Q&&K.log("[Measurements] Adding measurements to transaction event",JSON.stringify(l,void 0,2)),a.measurements=l),a}}function La(t){return t&&typeof t=="number"||t instanceof Date||Array.isArray(t)}function Oa(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}function CP(t){return t instanceof hi&&t.isStandaloneSpan()}function AP(t){const e=ye();if(!e)return;const n=t[1];if(!n||n.length===0){e.recordDroppedEvent("before_send","span");return}e.sendEnvelope(t)}function PP(t,e,n){if(!zo(t))return[!1];let s,r;typeof t.tracesSampler=="function"?(r=t.tracesSampler({...e,inheritOrSampleWith:a=>typeof e.parentSampleRate=="number"?e.parentSampleRate:typeof e.parentSampled=="boolean"?Number(e.parentSampled):a}),s=!0):e.parentSampled!==void 0?r=e.parentSampled:typeof t.tracesSampleRate<"u"&&(r=t.tracesSampleRate,s=!0);const o=pi(r);if(o===void 0)return Q&&K.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),[!1];if(!o)return Q&&K.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,o,s];const i=nVo(t.scope,i):r!==void 0?i=>TP(r,i):i=>i())(()=>{const i=yn(),a=FP(i,r);return t.onlyIfParent&&!a?new fi:kP({parentSpan:a,spanArguments:n,forceTransaction:s,scope:i})})}function TP(t,e){const n=Fd();return n.withActiveSpan?n.withActiveSpan(t,e):Vo(s=>(ow(s,t||void 0),e(s)))}function kP({parentSpan:t,spanArguments:e,forceTransaction:n,scope:s}){if(!zo()){const i=new fi;if(n||!t){const a={sampled:"false",sample_rate:"0",transaction:e.name,...Is(i)};dr(i,a)}return i}const r=Zn();let o;if(t&&!n)o=IP(t,s,e),Vc(t,o);else if(t){const i=Is(t),{traceId:a,spanId:l}=t.spanContext(),c=Ho(t);o=Ma({traceId:a,parentSpanId:l,...e},s,c),dr(o,i)}else{const{traceId:i,dsc:a,parentSpanId:l,sampled:c}={...r.getPropagationContext(),...s.getPropagationContext()};o=Ma({traceId:i,parentSpanId:l,...e},s,c),a&&dr(o,a)}return EP(o),aw(o,s,r),o}function RP(t){const n={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){const s={...n};return s.startTimestamp=gs(t.startTime),delete s.startTime,s}return n}function Fd(){const t=sw();return rw(t)}function Ma(t,e,n){const s=ye(),r=s?.getOptions()||{},{name:o=""}=t,i={spanAttributes:{...t.attributes},spanName:o,parentSampled:n};s?.emit("beforeSampling",i,{decision:!1});const a=i.parentSampled??n,l=i.spanAttributes,c=e.getPropagationContext(),[u,d,h]=e.getScopeData().sdkProcessingMetadata[Id]?[!1]:PP(r,{name:o,parentSampled:a,attributes:l,parentSampleRate:pi(c.dsc?.sample_rate)},c.sampleRand),f=new hi({...t,attributes:{[jr]:"custom",[lw]:d!==void 0&&h?d:void 0,...l},sampled:u});return!u&&s&&(Q&&K.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),s.recordDroppedEvent("sample_rate","transaction")),s&&s.emit("spanStart",f),f}function IP(t,e,n){const{spanId:s,traceId:r}=t.spanContext(),o=e.getScopeData().sdkProcessingMetadata[Id]?!1:Ho(t),i=o?new hi({...n,parentSpanId:s,traceId:r,sampled:o}):new fi({traceId:r});Vc(t,i);const a=ye();return a&&(a.emit("spanStart",i),n.endTimestamp&&a.emit("spanEnd",i)),i}function FP(t,e){if(e)return e;if(e===null)return;const n=iw(t);if(!n)return;const s=ye();return(s?s.getOptions():{}).parentSpanIsAlwaysRootSpan?on(n):n}const $P="7";function UP(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function LP(t){return`${UP(t)}${t.projectId}/envelope/`}function OP(t,e){const n={sentry_version:$P};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}function NP(t,e,n){return e||`${LP(t)}?${OP(t,n)}`}const Da=[];function MP(t){const e={};return t.forEach(n=>{const{name:s}=n,r=e[s];r&&!r.isDefaultInstance&&n.isDefaultInstance||(e[s]=n)}),Object.values(e)}function DP(t){const e=t.defaultIntegrations||[],n=t.integrations;e.forEach(r=>{r.isDefaultInstance=!0});let s;if(Array.isArray(n))s=[...e,...n];else if(typeof n=="function"){const r=n(e);s=Array.isArray(r)?r:[r]}else s=e;return MP(s)}function jP(t,e){const n={};return e.forEach(s=>{s&&$d(t,s,n)}),n}function ja(t,e){for(const n of e)n?.afterAllSetup&&n.afterAllSetup(t)}function $d(t,e,n){if(n[e.name]){Q&&K.log(`Integration skipped because it was already installed: ${e.name}`);return}if(n[e.name]=e,!Da.includes(e.name)&&typeof e.setupOnce=="function"&&(e.setupOnce(),Da.push(e.name)),e.setup&&typeof e.setup=="function"&&e.setup(t),typeof e.preprocessEvent=="function"){const s=e.preprocessEvent.bind(e);t.on("preprocessEvent",(r,o)=>s(r,o,t))}if(typeof e.processEvent=="function"){const s=e.processEvent.bind(e),r=Object.assign((o,i)=>s(o,i,t),{id:e.name});t.addEventProcessor(r)}Q&&K.log(`Integration installed: ${e.name}`)}function HP(t){return[{type:"log",item_count:t.length,content_type:"application/vnd.sentry.items.log+json"},{items:t}]}function BP(t,e,n,s){const r={};return e?.sdk&&(r.sdk={name:e.sdk.name,version:e.sdk.version}),n&&s&&(r.dsn=gn(s)),Kt(r,[HP(t)])}function fo(t,e){const n=e??qP(t)??[];if(n.length===0)return;const s=t.getOptions(),r=BP(n,s._metadata,s.tunnel,t.getDsn());Ud().set(t,[]),t.emit("flushLogs"),t.sendEnvelope(r)}function qP(t){return Ud().get(t)}function Ud(){return Wc("clientToLogBufferMap",()=>new WeakMap)}function zP(t){return[{type:"trace_metric",item_count:t.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:t}]}function VP(t,e,n,s){const r={};return e?.sdk&&(r.sdk={name:e.sdk.name,version:e.sdk.version}),n&&s&&(r.dsn=gn(s)),Kt(r,[zP(t)])}function Ld(t,e){const n=e??WP(t)??[];if(n.length===0)return;const s=t.getOptions(),r=VP(n,s._metadata,s.tunnel,t.getDsn());Od().set(t,[]),t.emit("flushMetrics"),t.sendEnvelope(r)}function WP(t){return Od().get(t)}function Od(){return Wc("clientToMetricBufferMap",()=>new WeakMap)}function Nd(t){return typeof t=="object"&&typeof t.unref=="function"&&t.unref(),t}const mi=Symbol.for("SentryBufferFullError");function gi(t=100){const e=new Set;function n(){return e.sizes(a),()=>s(a)),a}function o(i){if(!e.size)return Wo(!0);const a=Promise.allSettled(Array.from(e)).then(()=>!0);if(!i)return a;const l=[a,new Promise(c=>Nd(setTimeout(()=>c(!1),i)))];return Promise.race(l)}return{get $(){return Array.from(e)},add:r,drain:o}}const GP=60*1e3;function KP(t,e=Go()){const n=parseInt(`${t}`,10);if(!isNaN(n))return n*1e3;const s=Date.parse(`${t}`);return isNaN(s)?GP:s-e}function XP(t,e){return t[e]||t.all||0}function YP(t,e,n=Go()){return XP(t,e)>n}function JP(t,{statusCode:e,headers:n},s=Go()){const r={...t},o=n?.["x-sentry-rate-limits"],i=n?.["retry-after"];if(o)for(const a of o.trim().split(",")){const[l,c,,,u]=a.split(":",5),d=parseInt(l,10),h=(isNaN(d)?60:d)*1e3;if(!c)r.all=s+h;else for(const f of c.split(";"))f==="metric_bucket"?(!u||u.split(";").includes("custom"))&&(r[f]=s+h):r[f]=s+h}else i?r.all=s+KP(i,s):e===429&&(r.all=s+60*1e3);return r}const Md=64;function QP(t,e,n=gi(t.bufferSize||Md)){let s={};const r=i=>n.drain(i);function o(i){const a=[];if(uo(i,(d,h)=>{const f=Fa(h);YP(s,f)?t.recordDroppedEvent("ratelimit_backoff",f):a.push(d)}),a.length===0)return Promise.resolve({});const l=Kt(i[0],a),c=d=>{if(pP(l,["client_report"])){Q&&K.warn(`Dropping client report. Will not send outcomes (reason: ${d}).`);return}uo(l,(h,f)=>{t.recordDroppedEvent(d,Fa(f))})},u=()=>e({body:fP(l)}).then(d=>d.statusCode===413?(Q&&K.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),c("send_error"),d):(Q&&d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&K.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),s=JP(s,d),d),d=>{throw c("network_error"),Q&&K.error("Encountered error running transport request:",d),d});return n.add(u).then(d=>d,d=>{if(d===mi)return Q&&K.error("Skipped sending event because buffer is full."),c("queue_overflow"),Promise.resolve({});throw d})}return{send:o,flush:r}}function ZP(t,e,n){const s=[{type:"client_report"},{timestamp:Kc(),discarded_events:t}];return Kt(e?{dsn:e}:{},[s])}function Dd(t){const e=[];t.message&&e.push(t.message);try{const n=t.exception.values[t.exception.values.length-1];n?.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`))}catch{}return e}function eT(t){const{trace_id:e,parent_span_id:n,span_id:s,status:r,origin:o,data:i,op:a}=t.contexts?.trace??{};return{data:i??{},description:t.transaction,op:a,parent_span_id:n,span_id:s??"",start_timestamp:t.start_timestamp??0,status:r,timestamp:t.timestamp,trace_id:e??"",origin:o,profile_id:i?.[qo],exclusive_time:i?.[Bo],measurements:t.measurements,is_segment:!0}}function tT(t){return{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,data:{...t.data,...t.profile_id&&{[qo]:t.profile_id},...t.exclusive_time&&{[Bo]:t.exclusive_time}}}},measurements:t.measurements}}const Ha="Not capturing exception because it's already been captured.",Ba="Discarded session because of missing or non-string release",jd=Symbol.for("SentryInternalError"),Hd=Symbol.for("SentryDoNotSendEventError"),nT=5e3;function xs(t){return{message:t,[jd]:!0}}function kr(t){return{message:t,[Hd]:!0}}function qa(t){return!!t&&typeof t=="object"&&jd in t}function za(t){return!!t&&typeof t=="object"&&Hd in t}function Va(t,e,n,s,r){let o=0,i,a=!1;t.on(n,()=>{o=0,clearTimeout(i),a=!1}),t.on(e,l=>{o+=s(l),o>=8e5?r(t):a||(a=!0,i=Nd(setTimeout(()=>{r(t)},nT)))}),t.on("flush",()=>{r(t)})}class sT{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=gi(e.transportOptions?.bufferSize??Md),e.dsn?this._dsn=cw(e.dsn):Q&&K.warn("No DSN provided, client will not send events."),this._dsn){const s=NP(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:s})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&Va(this,"afterCaptureLog","flushLogs",aT,fo),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&Va(this,"afterCaptureMetric","flushMetrics",iT,Ld)}captureException(e,n,s){const r=ys();if(ki(e))return Q&&K.log(Ha),r;const o={event_id:r,...n};return this._process(()=>this.eventFromException(e,o).then(i=>this._captureEvent(i,o,s)).then(i=>i),"error"),o.event_id}captureMessage(e,n,s,r){const o={event_id:ys(),...s},i=Xc(e)?e:String(e),a=tr(e),l=a?this.eventFromMessage(i,n,o):this.eventFromException(e,o);return this._process(()=>l.then(c=>this._captureEvent(c,o,r)),a?"unknown":"error"),o.event_id}captureEvent(e,n,s){const r=ys();if(n?.originalException&&ki(n.originalException))return Q&&K.log(Ha),r;const o={event_id:r,...n},i=e.sdkProcessingMetadata||{},a=i.capturedSpanScope,l=i.capturedSpanIsolationScope,c=Wa(e.type);return this._process(()=>this._captureEvent(e,o,a||s,l),c),o.event_id}captureSession(e){this.sendSession(e),Ri(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){const n=this._transport;if(!n)return!0;this.emit("flush");const s=await this._isClientDoneProcessing(e),r=await n.flush(e);return s&&r}async close(e){fo(this);const n=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),n}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const n=this._integrations[e.name];$d(this,e,this._integrations),n||ja(this,[e])}sendEvent(e,n={}){this.emit("beforeSendEvent",e,n);let s=_P(e,this._dsn,this._options._metadata,this._options.tunnel);for(const r of n.attachments||[])s=dP(s,gP(r));this.sendEnvelope(s).then(r=>this.emit("afterSendEvent",e,r))}sendSession(e){const{release:n,environment:s=uw}=this._options;if("aggregates"in e){const o=e.attrs||{};if(!o.release&&!n){Q&&K.warn(Ba);return}o.release=o.release||n,o.environment=o.environment||s,e.attrs=o}else{if(!e.release&&!n){Q&&K.warn(Ba);return}e.release=e.release||n,e.environment=e.environment||s}this.emit("beforeSendSession",e);const r=wP(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,n,s=1){if(this._options.sendClientReports){const r=`${e}:${n}`;Q&&K.log(`Recording outcome: "${r}"${s>1?` (${s} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+s}}on(e,n){const s=this._hooks[e]=this._hooks[e]||new Set,r=(...o)=>n(...o);return s.add(r),()=>{s.delete(r)}}emit(e,...n){const s=this._hooks[e];s&&s.forEach(r=>r(...n))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(n){return Q&&K.error("Error while sending envelope:",n),{}}return Q&&K.error("Transport disabled"),{}}dispose(){}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=jP(this,e),ja(this,e)}_updateSessionFromEvent(e,n){let s=n.level==="fatal",r=!1;const o=n.exception?.values;if(o){r=!0,s=!1;for(const l of o)if(l.mechanism?.handled===!1){s=!0;break}}const i=e.status==="ok";(i&&e.errors===0||i&&s)&&(Ri(e,{...s&&{status:"crashed"},errors:e.errors||Number(r||s)}),this.captureSession(e))}async _isClientDoneProcessing(e){let n=0;for(;!e||nsetTimeout(s,1)),!this._numProcessing)return!0;n++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,n,s,r){const o=this.getOptions(),i=Object.keys(this._integrations);return!n.integrations&&i?.length&&(n.integrations=i),this.emit("preprocessEvent",e,n),e.type||r.setLastEventId(e.event_id||n.event_id),dw(o,e,n,s,this,r).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,n),a.contexts={trace:{...a.contexts?.trace,...pw(s)},...a.contexts};const l=fw(this,s);return a.sdkProcessingMetadata={dynamicSamplingContext:l,...a.sdkProcessingMetadata},a})}_captureEvent(e,n={},s=yn(),r=Zn()){return Q&&ho(e)&&K.log(`Captured error event \`${Dd(e)[0]||""}\``),this._processEvent(e,n,s,r).then(o=>o.event_id,o=>{Q&&(za(o)?K.log(o.message):qa(o)?K.warn(o.message):K.warn(o))})}_processEvent(e,n,s,r){const o=this.getOptions(),{sampleRate:i}=o,a=Bd(e),l=ho(e),u=`before send for type \`${e.type||"error"}\``,d=typeof i>"u"?void 0:pi(i);if(l&&typeof d=="number"&&hw()>d)return this.recordDroppedEvent("sample_rate","error"),Gc(kr(`Discarding event because it's not included in the random sample (sampling rate = ${i})`));const h=Wa(e.type);return this._prepareEvent(e,n,s,r).then(f=>{if(f===null)throw this.recordDroppedEvent("event_processor",h),kr("An event processor returned `null`, will not send event.");if(n.data&&n.data.__sentry__===!0)return f;const w=oT(this,o,f,n);return rT(w,u)}).then(f=>{if(f===null){if(this.recordDroppedEvent("before_send",h),a){const _=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",_)}throw kr(`${u} returned \`null\`, will not send event.`)}const y=s.getSession()||r.getSession();if(l&&y&&this._updateSessionFromEvent(y,f),a){const m=f.sdkProcessingMetadata?.spanCountBeforeProcessing||0,_=f.spans?f.spans.length:0,g=m-_;g>0&&this.recordDroppedEvent("before_send","span",g)}const w=f.transaction_info;if(a&&w&&f.transaction!==e.transaction){const m="custom";f.transaction_info={...w,source:m}}return this.sendEvent(f,n),f}).then(null,f=>{throw za(f)||qa(f)?f:(this.captureException(f,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:f}),xs(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. +Reason: ${f}`))})}_process(e,n){this._numProcessing++,this._promiseBuffer.add(e).then(s=>(this._numProcessing--,s),s=>(this._numProcessing--,s===mi&&this.recordDroppedEvent("queue_overflow",n),s))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([n,s])=>{const[r,o]=n.split(":");return{reason:r,category:o,quantity:s}})}_flushOutcomes(){Q&&K.log("Flushing outcomes...");const e=this._clearOutcomes();if(e.length===0){Q&&K.log("No outcomes to send");return}if(!this._dsn){Q&&K.log("No dsn provided, will not send outcomes");return}Q&&K.log("Sending outcomes:",e);const n=ZP(e,this._options.tunnel&&gn(this._dsn));this.sendEnvelope(n)}}function Wa(t){return t==="replay_event"?"replay":t||"error"}function rT(t,e){const n=`${e} must return \`null\` or a valid event.`;if(gw(t))return t.then(s=>{if(!Hr(s)&&s!==null)throw xs(n);return s},s=>{throw xs(`${e} rejected with ${s}`)});if(!Hr(t)&&t!==null)throw xs(n);return t}function oT(t,e,n,s){const{beforeSend:r,beforeSendTransaction:o,beforeSendSpan:i,ignoreSpans:a}=e;let l=n;if(ho(l)&&r)return r(l,s);if(Bd(l)){if(i||a){const c=eT(l);if(a?.length&&co(c,a))return null;if(i){const u=i(c);u?l=mw(n,tT(u)):Dr()}if(l.spans){const u=[],d=l.spans;for(const f of d){if(a?.length&&co(f,a)){cP(d,f);continue}if(i){const y=i(f);y?u.push(y):(Dr(),u.push(f))}else u.push(f)}const h=l.spans.length-u.length;h&&t.recordDroppedEvent("before_send","span",h),l.spans=u}}if(o){if(l.spans){const c=l.spans.length;l.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:c}}return o(l,s)}}return l}function ho(t){return t.type===void 0}function Bd(t){return t.type==="transaction"}function iT(t){let e=0;return t.name&&(e+=t.name.length*2),e+=8,e+qd(t.attributes)}function aT(t){let e=0;return t.message&&(e+=t.message.length*2),e+qd(t.attributes)}function qd(t){if(!t)return 0;let e=0;return Object.values(t).forEach(n=>{Array.isArray(n)?e+=n.length*Ga(n[0]):tr(n)?e+=Ga(n):e+=100}),e}function Ga(t){return typeof t=="string"?t.length*2:typeof t=="number"?8:typeof t=="boolean"?4:0}function lT(t){return Ko(t)&&"__sentry_fetch_url_host__"in t&&typeof t.__sentry_fetch_url_host__=="string"}function Ka(t){return lT(t)?`${t.message} (${t.__sentry_fetch_url_host__})`:t.message}function cT(t,e){e.debug===!0&&(Q?K.enable():es(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),yn().update(e.initialScope);const s=new t(e);return uT(s),s.init(),s}function uT(t){yn().setClient(t)}function Rr(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",s=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:s,relative:e[5]+n+s}}function dT(t,e=!0){if(t.startsWith("data:")){const n=t.match(/^data:([^;,]+)/),s=n?n[1]:"text/plain",r=t.includes(";base64,"),o=t.indexOf(",");let i="";if(e&&o!==-1){const a=t.slice(o+1);i=a.length>10?`${a.slice(0,10)}... [truncated]`:a}return`data:${s}${r?",base64":""}${i?`,${i}`:""}`}return t}function pT(t){"aggregates"in t?t.attrs?.ip_address===void 0&&(t.attrs={...t.attrs,ip_address:"{{auto}}"}):t.ipAddress===void 0&&(t.ipAddress="{{auto}}")}function zd(t,e,n=[e],s="npm"){const r=(t._metadata=t._metadata||{}).sdk=t._metadata.sdk||{};r.name||(r.name=`sentry.javascript.${e}`,r.packages=n.map(o=>({name:`${s}:@sentry/${o}`,version:Ii})),r.version=Ii)}const fT=100;function Bt(t,e){const n=ye(),s=Zn();if(!n)return;const{beforeBreadcrumb:r=null,maxBreadcrumbs:o=fT}=n.getOptions();if(o<=0)return;const a={timestamp:Kc(),...t},l=r?es(()=>r(a,e)):a;l!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",l,e),s.addBreadcrumb(l,o))}let Xa;const hT="FunctionToString",Ya=new WeakMap,mT=(()=>({name:hT,setupOnce(){Xa=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=Xo(this),n=Ya.has(ye())&&e!==void 0?e:this;return Xa.apply(n,t)}}catch{}},setup(t){Ya.set(t,!0)}})),gT=mT,yT=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],bT="EventFilters",vT=(t={})=>{let e;return{name:bT,setup(n){const s=n.getOptions();e=Ja(t,s)},processEvent(n,s,r){if(!e){const o=r.getOptions();e=Ja(t,o)}return _T(n,e)?null:n}}},wT=((t={})=>({...vT(t),name:"InboundFilters"}));function Ja(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:yT],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]]}}function _T(t,e){if(t.type){if(t.type==="transaction"&&ET(t,e.ignoreTransactions))return Q&&K.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. +Event: ${Tt(t)}`),!0}else{if(ST(t,e.ignoreErrors))return Q&&K.warn(`Event dropped due to being matched by \`ignoreErrors\` option. +Event: ${Tt(t)}`),!0;if(PT(t))return Q&&K.warn(`Event dropped due to not having an error message, error type or stacktrace. +Event: ${Tt(t)}`),!0;if(xT(t,e.denyUrls))return Q&&K.warn(`Event dropped due to being matched by \`denyUrls\` option. +Event: ${Tt(t)}. +Url: ${js(t)}`),!0;if(!CT(t,e.allowUrls))return Q&&K.warn(`Event dropped due to not being matched by \`allowUrls\` option. +Event: ${Tt(t)}. +Url: ${js(t)}`),!0}return!1}function ST(t,e){return e?.length?Dd(t).some(n=>nr(n,e)):!1}function ET(t,e){if(!e?.length)return!1;const n=t.transaction;return n?nr(n,e):!1}function xT(t,e){if(!e?.length)return!1;const n=js(t);return n?nr(n,e):!1}function CT(t,e){if(!e?.length)return!0;const n=js(t);return n?nr(n,e):!0}function AT(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function js(t){try{const n=[...t.exception?.values??[]].reverse().find(s=>s.mechanism?.parent_id===void 0&&s.stacktrace?.frames?.length)?.stacktrace?.frames;return n?AT(n):null}catch{return Q&&K.error(`Cannot extract url for event ${Tt(t)}`),null}}function PT(t){return t.exception?.values?.length?!t.message&&!t.exception.values.some(e=>e.stacktrace||e.type&&e.type!=="Error"||e.value):!1}function TT(t,e,n,s,r,o){if(!r.exception?.values||!o||!Br(o.originalException,Error))return;const i=r.exception.values.length>0?r.exception.values[r.exception.values.length-1]:void 0;i&&(r.exception.values=mo(t,e,s,o.originalException,n,r.exception.values,i,0))}function mo(t,e,n,s,r,o,i,a){if(o.length>=n+1)return o;let l=[...o];if(Br(s[r],Error)){Qa(i,a,s);const c=t(e,s[r]),u=l.length;Za(c,r,u,a),l=mo(t,e,n,s[r],r,[c,...l],c,u)}return Vd(s)&&s.errors.forEach((c,u)=>{if(Br(c,Error)){Qa(i,a,s);const d=t(e,c),h=l.length;Za(d,`errors[${u}]`,h,a),l=mo(t,e,n,c,r,[d,...l],d,h)}}),l}function Vd(t){return Array.isArray(t.errors)}function Qa(t,e,n){t.mechanism={handled:!0,type:"auto.core.linked_errors",...Vd(n)&&{is_exception_group:!0},...t.mechanism,exception_id:e}}function Za(t,e,n,s){t.mechanism={handled:!0,...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:s}}function kT(t){const e="console";Wt(e,t),Gt(e,RT)}function RT(){"console"in Se&&yw.forEach(function(t){t in Se.console&&Oe(Se.console,t,function(e){return Fi[t]=e,function(...n){Ge("console",{args:n,level:t}),Fi[t]?.apply(Se.console,n)}})})}function IT(t){return t==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}const FT="Dedupe",$T=(()=>{let t;return{name:FT,processEvent(e){if(e.type)return e;try{if(LT(e,t))return Q&&K.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}}),UT=$T;function LT(t,e){return e?!!(OT(t,e)||NT(t,e)):!1}function OT(t,e){const n=t.message,s=e.message;return!(!n&&!s||n&&!s||!n&&s||n!==s||!Gd(t,e)||!Wd(t,e))}function NT(t,e){const n=el(e),s=el(t);return!(!n||!s||n.type!==s.type||n.value!==s.value||!Gd(t,e)||!Wd(t,e))}function Wd(t,e){let n=$i(t),s=$i(e);if(!n&&!s)return!0;if(n&&!s||!n&&s||(n=n,s=s,s.length!==n.length))return!1;for(let r=0;r({name:MT,setup(t){t.on("spanStart",e=>{const n=yn().getScopeData(),s=Zn().getScopeData(),r=n.conversationId||s.conversationId;r&&e.setAttribute(bw,r)})}})),jT=DT;function Kd(t){if(t!==void 0)return t>=400&&t<500?"warning":t>=500?"error":void 0}const Wn=Se;function HT(){return"history"in Wn&&!!Wn.history}function BT(){if(!("fetch"in Wn))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function go(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function qT(){if(typeof EdgeRuntime=="string")return!0;if(!BT())return!1;if(go(Wn.fetch))return!0;let t=!1;const e=Wn.document;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow?.fetch&&(t=go(n.contentWindow.fetch)),e.head.removeChild(n)}catch(n){Q&&K.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return t}function zT(t,e){const n="fetch";Wt(n,t),Gt(n,()=>VT(void 0,e))}function VT(t,e=!1){e&&!qT()||Oe(Se,"fetch",function(n){return function(...s){const r=new Error,{method:o,url:i}=WT(s),a={args:s,fetchData:{method:o,url:i},startTimestamp:We()*1e3,virtualError:r,headers:GT(s)};return Ge("fetch",{...a}),n.apply(Se,s).then(async l=>(Ge("fetch",{...a,endTimestamp:We()*1e3,response:l}),l),l=>{Ge("fetch",{...a,endTimestamp:We()*1e3,error:l}),Ko(l)&&l.stack===void 0&&(l.stack=r.stack,Nn(l,"framesToPop",1));const u=ye()?.getOptions().enhanceFetchErrorMessages??"always";if(u!==!1&&l instanceof TypeError&&(l.message==="Failed to fetch"||l.message==="Load failed"||l.message==="NetworkError when attempting to fetch resource."))try{const f=new URL(a.fetchData.url).host;u==="always"?l.message=`${l.message} (${f})`:Nn(l,"__sentry_fetch_url_host__",f)}catch{}throw l})}})}function Cs(t,e){return!!t&&typeof t=="object"&&!!t[e]}function tl(t){return typeof t=="string"?t:t?Cs(t,"url")?t.url:t.toString?t.toString():"":""}function WT(t){if(t.length===0)return{method:"GET",url:""};if(t.length===2){const[n,s]=t;return{url:tl(n),method:Cs(s,"method")?String(s.method).toUpperCase():Yc(n)&&Cs(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:tl(e),method:Cs(e,"method")?String(e.method).toUpperCase():"GET"}}function GT(t){const[e,n]=t;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(Yc(e))return new Headers(e.headers)}catch{}}function KT(){return"npm"}const de=Se;let yo=0;function Xd(){return yo>0}function XT(){yo++,setTimeout(()=>{yo--})}function hn(t,e={}){function n(r){return typeof r=="function"}if(!n(t))return t;try{const r=t.__sentry_wrapped__;if(r)return typeof r=="function"?r:t;if(Xo(t))return t}catch{return t}const s=function(...r){try{const o=r.map(i=>hn(i,e));return t.apply(this,o)}catch(o){throw XT(),Vo(i=>{i.addEventProcessor(a=>(e.mechanism&&(qr(a,void 0),Mn(a,e.mechanism)),a.extra={...a.extra,arguments:r},a)),an(o)}),o}};try{for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(s[r]=t[r])}catch{}vw(s,t),Nn(t,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get(){return t.name}})}catch{}return s}function YT(){const t=Yo(),{referrer:e}=de.document||{},{userAgent:n}=de.navigator||{},s={...e&&{Referer:e},...n&&{"User-Agent":n}};return{url:t,headers:s}}function yi(t,e){const n=bi(t,e),s={type:tk(e),value:nk(e)};return n.length&&(s.stacktrace={frames:n}),s.type===void 0&&s.value===""&&(s.value="Unrecoverable error caught"),s}function JT(t,e,n,s){const o=ye()?.getOptions().normalizeDepth,i=ak(e),a={__serialized__:_w(e,o)};if(i)return{exception:{values:[yi(t,i)]},extra:a};const l={exception:{values:[{type:Jo(e)?e.constructor.name:s?"UnhandledRejection":"Error",value:ok(e,{isUnhandledRejection:s})}]},extra:a};if(n){const c=bi(t,n);c.length&&(l.exception.values[0].stacktrace={frames:c})}return l}function Ir(t,e){return{exception:{values:[yi(t,e)]}}}function bi(t,e){const n=e.stacktrace||e.stack||"",s=ZT(e),r=ek(e);try{return t(n,s,r)}catch{}return[]}const QT=/Minified React error #\d+;/i;function ZT(t){return t&&QT.test(t.message)?1:0}function ek(t){return typeof t.framesToPop=="number"?t.framesToPop:0}function Yd(t){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?t instanceof WebAssembly.Exception:!1}function tk(t){const e=t?.name;return!e&&Yd(t)?t.message&&Array.isArray(t.message)&&t.message.length==2?t.message[0]:"WebAssembly.Exception":e}function nk(t){const e=t?.message;return Yd(t)?Array.isArray(t.message)&&t.message.length==2?t.message[1]:"wasm exception":e?e.error&&typeof e.error.message=="string"?Ka(e.error):Ka(t):"No error message"}function sk(t,e,n,s){const r=n?.syntheticException||void 0,o=vi(t,e,r,s);return Mn(o),o.level="error",n?.event_id&&(o.event_id=n.event_id),Wo(o)}function rk(t,e,n="info",s,r){const o=s?.syntheticException||void 0,i=bo(t,e,o,r);return i.level=n,s?.event_id&&(i.event_id=s.event_id),Wo(i)}function vi(t,e,n,s,r){let o;if(Jc(e)&&e.error)return Ir(t,e.error);if(Ui(e)||ww(e)){const i=e;if("stack"in e)o=Ir(t,e);else{const a=i.name||(Ui(i)?"DOMError":"DOMException"),l=i.message?`${a}: ${i.message}`:a;o=bo(t,l,n,s),qr(o,l)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":`${i.code}`}),o}return Ko(e)?Ir(t,e):Hr(e)||Jo(e)?(o=JT(t,e,n,r),Mn(o,{synthetic:!0}),o):(o=bo(t,e,n,s),qr(o,`${e}`),Mn(o,{synthetic:!0}),o)}function bo(t,e,n,s){const r={};if(s&&n){const o=bi(t,n);o.length&&(r.exception={values:[{value:e,stacktrace:{frames:o}}]}),Mn(r,{synthetic:!0})}if(Xc(e)){const{__sentry_template_string__:o,__sentry_template_values__:i}=e;return r.logentry={message:o,params:i},r}return r.message=e,r}function ok(t,{isUnhandledRejection:e}){const n=Sw(t),s=e?"promise rejection":"exception";return Jc(t)?`Event \`ErrorEvent\` captured as ${s} with message \`${t.message}\``:Jo(t)?`Event \`${ik(t)}\` (type=${t.type}) captured as ${s}`:`Object captured as ${s} with keys: ${n}`}function ik(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}function ak(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];if(n instanceof Error)return n}}class lk extends sT{constructor(e){const n=ck(e),s=de.SENTRY_SDK_SOURCE||KT();zd(n,"browser",["browser"],s),n._metadata?.sdk&&(n._metadata.sdk.settings={infer_ip:n.sendDefaultPii?"auto":"never",...n._metadata.sdk.settings}),super(n);const{sendDefaultPii:r,sendClientReports:o,enableLogs:i,_experiments:a,enableMetrics:l}=this._options,c=l??a?.enableMetrics??!0;de.document&&(o||i||c)&&de.document.addEventListener("visibilitychange",()=>{de.document.visibilityState==="hidden"&&(o&&this._flushOutcomes(),i&&fo(this),c&&Ld(this))}),r&&this.on("beforeSendSession",pT)}eventFromException(e,n){return sk(this._options.stackParser,e,n,this._options.attachStacktrace)}eventFromMessage(e,n="info",s){return rk(this._options.stackParser,e,n,s,this._options.attachStacktrace)}_prepareEvent(e,n,s,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,n,s,r)}}function ck(t){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:de.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t}}const uk=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Te=Se,dk=1e3;let nl,vo,wo;function pk(t){Wt("dom",t),Gt("dom",fk)}function fk(){if(!Te.document)return;const t=Ge.bind(null,"dom"),e=sl(t,!0);Te.document.addEventListener("click",e,!1),Te.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(n=>{const r=Te[n]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(Oe(r,"addEventListener",function(o){return function(i,a,l){if(i==="click"||i=="keypress")try{const c=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},u=c[i]=c[i]||{refCount:0};if(!u.handler){const d=sl(t);u.handler=d,o.call(this,i,d,l)}u.refCount++}catch{}return o.call(this,i,a,l)}}),Oe(r,"removeEventListener",function(o){return function(i,a,l){if(i==="click"||i=="keypress")try{const c=this.__sentry_instrumentation_handlers__||{},u=c[i];u&&(u.refCount--,u.refCount<=0&&(o.call(this,i,u.handler,l),u.handler=void 0,delete c[i]),Object.keys(c).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return o.call(this,i,a,l)}}))})}function hk(t){if(t.type!==vo)return!1;try{if(!t.target||t.target._sentryId!==wo)return!1}catch{}return!0}function mk(t,e){return t!=="keypress"?!1:e?.tagName?!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable):!0}function sl(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const s=gk(n);if(mk(n.type,s))return;Nn(n,"_sentryCaptured",!0),s&&!s._sentryId&&Nn(s,"_sentryId",ys());const r=n.type==="keypress"?"input":n.type;hk(n)||(t({event:n,name:r,global:e}),vo=n.type,wo=s?s._sentryId:void 0),clearTimeout(nl),nl=Te.setTimeout(()=>{wo=void 0,vo=void 0},dk)}}function gk(t){try{return t.target}catch{return null}}let ds;function Jd(t){const e="history";Wt(e,t),Gt(e,yk)}function yk(){if(Te.addEventListener("popstate",()=>{const e=Te.location.href,n=ds;if(ds=e,n===e)return;Ge("history",{from:n,to:e})}),!HT())return;function t(e){return function(...n){const s=n.length>2?n[2]:void 0;if(s){const r=ds,o=bk(String(s));if(ds=o,r===o)return e.apply(this,n);Ge("history",{from:r,to:o})}return e.apply(this,n)}}Oe(Te.history,"pushState",t),Oe(Te.history,"replaceState",t)}function bk(t){try{return new URL(t,Te.location.origin).toString()}catch{return t}}const As={};function vk(t){const e=As[t];if(e)return e;let n=Te[t];if(go(n))return As[t]=n.bind(Te);const s=Te.document;if(s&&typeof s.createElement=="function")try{const r=s.createElement("iframe");r.hidden=!0,s.head.appendChild(r);const o=r.contentWindow;o?.[t]&&(n=o[t]),s.head.removeChild(r)}catch(r){uk&&K.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,r)}return n&&(As[t]=n.bind(Te))}function wk(t){As[t]=void 0}const Rn="__sentry_xhr_v3__";function _k(t){Wt("xhr",t),Gt("xhr",Sk)}function Sk(){if(!Te.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(e,n,s){const r=new Error,o=We()*1e3,i=In(s[0])?s[0].toUpperCase():void 0,a=Ek(s[1]);if(!i||!a)return e.apply(n,s);n[Rn]={method:i,url:a,request_headers:{}},i==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const l=()=>{const c=n[Rn];if(c&&n.readyState===4){try{c.status_code=n.status}catch{}const u={endTimestamp:We()*1e3,startTimestamp:o,xhr:n,virtualError:r};Ge("xhr",u)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(c,u,d){return l(),c.apply(u,d)}}):n.addEventListener("readystatechange",l),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(c,u,d){const[h,f]=d,y=u[Rn];return y&&In(h)&&In(f)&&(y.request_headers[h.toLowerCase()]=f),c.apply(u,d)}}),e.apply(n,s)}}),t.send=new Proxy(t.send,{apply(e,n,s){const r=n[Rn];if(!r)return e.apply(n,s);s[0]!==void 0&&(r.body=s[0]);const o={startTimestamp:We()*1e3,xhr:n};return Ge("xhr",o),e.apply(n,s)}})}function Ek(t){if(In(t))return t;try{return t.toString()}catch{}}const xk=40;function Ck(t,e=vk("fetch")){let n=0,s=0;async function r(o){const i=o.body.length;n+=i,s++;const a={body:o.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:n<=6e4&&s<15,...t.fetchOptions};try{const l=await e(t.url,a);return{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}}catch(l){throw wk("fetch"),l}finally{n-=i,s--}}return QP(t,r,gi(t.bufferSize||xk))}const ir=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ak=30,Pk=50;function _o(t,e,n,s){const r={filename:t,function:e===""?un:e,in_app:!0};return n!==void 0&&(r.lineno=n),s!==void 0&&(r.colno=s),r}const Tk=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,kk=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Rk=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ik=/at (.+?) ?\(data:(.+?),/,Fk=t=>{const e=t.match(Ik);if(e)return{filename:``,function:e[1]};const n=Tk.exec(t);if(n){const[,r,o,i]=n;return _o(r,un,+o,+i)}const s=kk.exec(t);if(s){if(s[2]&&s[2].indexOf("eval")===0){const a=Rk.exec(s[2]);a&&(s[2]=a[1],s[3]=a[2],s[4]=a[3])}const[o,i]=Qd(s[1]||un,s[2]);return _o(i,o,s[3]?+s[3]:void 0,s[4]?+s[4]:void 0)}},$k=[Ak,Fk],Uk=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Lk=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Ok=t=>{const e=Uk.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const o=Lk.exec(e[3]);o&&(e[1]=e[1]||"eval",e[3]=o[1],e[4]=o[2],e[5]="")}let s=e[3],r=e[1]||un;return[r,s]=Qd(r,s),_o(s,r,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},Nk=[Pk,Ok],Mk=[$k,Nk],Dk=Ew(...Mk),Qd=(t,e)=>{const n=t.indexOf("safari-extension")!==-1,s=t.indexOf("safari-web-extension")!==-1;return n||s?[t.indexOf("@")!==-1?t.split("@")[0]:un,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},ps=1024,jk="Breadcrumbs",Hk=((t={})=>{const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:jk,setup(n){e.console&&kT(Vk(n)),e.dom&&pk(zk(n,e.dom)),e.xhr&&_k(Wk(n)),e.fetch&&zT(Gk(n)),e.history&&Jd(Kk(n)),e.sentry&&n.on("beforeSendEvent",qk(n))}}}),Bk=Hk;function qk(t){return function(n){ye()===t&&Bt({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:Tt(n)},{event:n})}}function zk(t,e){return function(s){if(ye()!==t)return;let r,o,i=typeof e=="object"?e.serializeAttribute:void 0,a=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;a&&a>ps&&(ir&&K.warn(`\`dom.maxStringLength\` cannot exceed ${ps}, but a value of ${a} was configured. Sentry will use ${ps} instead.`),a=ps),typeof i=="string"&&(i=[i]);try{const c=s.event,u=Xk(c)?c.target:c;r=xw(u,{keyAttrs:i,maxStringLength:a}),o=Cw(u)}catch{r=""}if(r.length===0)return;const l={category:`ui.${s.name}`,message:r};o&&(l.data={"ui.component_name":o}),Bt(l,{event:s.event,name:s.name,global:s.global})}}function Vk(t){return function(n){if(ye()!==t)return;const s={category:"console",data:{arguments:n.args,logger:"console"},level:IT(n.level),message:Li(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)s.message=`Assertion failed: ${Li(n.args.slice(1)," ")||"console.assert"}`,s.data.arguments=n.args.slice(1);else return;Bt(s,{input:n.args,level:n.level})}}function Wk(t){return function(n){if(ye()!==t)return;const{startTimestamp:s,endTimestamp:r}=n,o=n.xhr[Rn];if(!s||!r||!o)return;const{method:i,url:a,status_code:l,body:c}=o,u={method:i,url:a,status_code:l},d={xhr:n.xhr,input:c,startTimestamp:s,endTimestamp:r},h={category:"xhr",data:u,type:"http",level:Kd(l)};t.emit("beforeOutgoingRequestBreadcrumb",h,d),Bt(h,d)}}function Gk(t){return function(n){if(ye()!==t)return;const{startTimestamp:s,endTimestamp:r}=n;if(r&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.fetchData.method,n.fetchData.url,n.error){const o=n.fetchData,i={data:n.error,input:n.args,startTimestamp:s,endTimestamp:r},a={category:"fetch",data:o,level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",a,i),Bt(a,i)}else{const o=n.response,i={...n.fetchData,status_code:o?.status};n.fetchData.request_body_size,n.fetchData.response_body_size,o?.status;const a={input:n.args,response:o,startTimestamp:s,endTimestamp:r},l={category:"fetch",data:i,type:"http",level:Kd(i.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",l,a),Bt(l,a)}}}function Kk(t){return function(n){if(ye()!==t)return;let s=n.from,r=n.to;const o=Rr(de.location.href);let i=s?Rr(s):void 0;const a=Rr(r);i?.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(s=i.relative),Bt({category:"navigation",data:{from:s,to:r}})}}function Xk(t){return!!t&&!!t.target}const Yk=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Jk="BrowserApiErrors",Qk=((t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...t};return{name:Jk,setupOnce(){e.setTimeout&&Oe(de,"setTimeout",rl),e.setInterval&&Oe(de,"setInterval",rl),e.requestAnimationFrame&&Oe(de,"requestAnimationFrame",eR),e.XMLHttpRequest&&"XMLHttpRequest"in de&&Oe(XMLHttpRequest.prototype,"send",tR);const n=e.eventTarget;n&&(Array.isArray(n)?n:Yk).forEach(r=>nR(r,e))}}}),Zk=Qk;function rl(t){return function(...e){const n=e[0];return e[0]=hn(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${Mt(t)}`}}),t.apply(this,e)}}function eR(t){return function(e){return t.apply(this,[hn(e,{mechanism:{data:{handler:Mt(t)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function tR(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(r=>{r in n&&typeof n[r]=="function"&&Oe(n,r,function(o){const i={mechanism:{data:{handler:Mt(o)},handled:!1,type:`auto.browser.browserapierrors.xhr.${r}`}},a=Xo(o);return a&&(i.mechanism.data.handler=Mt(a)),hn(o,i)})}),t.apply(this,e)}}function nR(t,e){const s=de[t]?.prototype;s?.hasOwnProperty?.("addEventListener")&&(Oe(s,"addEventListener",function(r){return function(o,i,a){try{sR(i)&&(i.handleEvent=hn(i.handleEvent,{mechanism:{data:{handler:Mt(i),target:t},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return e.unregisterOriginalCallbacks&&rR(this,o,i),r.apply(this,[o,hn(i,{mechanism:{data:{handler:Mt(i),target:t},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),Oe(s,"removeEventListener",function(r){return function(o,i,a){try{const l=i.__sentry_wrapped__;l&&r.call(this,o,l,a)}catch{}return r.call(this,o,i,a)}}))}function sR(t){return typeof t.handleEvent=="function"}function rR(t,e,n){t&&typeof t=="object"&&"removeEventListener"in t&&typeof t.removeEventListener=="function"&&t.removeEventListener(e,n)}const oR=(t={})=>{const e=t.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(typeof de.document>"u"){ir&&K.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Oi({ignoreDuration:!0}),pr();const n=Zn();let s=n.getUser();n.addScopeListener(r=>{const o=r.getUser();(s?.id!==o?.id||s?.ip_address!==o?.ip_address)&&(pr(),s=o)}),e==="route"&&Jd(({from:r,to:o})=>{r!==o&&(Oi({ignoreDuration:!0}),pr())})}}},iR="CultureContext",aR=(()=>({name:iR,preprocessEvent(t){const e=cR();e&&(t.contexts={...t.contexts,culture:{...e,...t.contexts?.culture}})}})),lR=aR;function cR(){try{const t=de.Intl;if(!t)return;const e=t.DateTimeFormat().resolvedOptions();return{locale:e.locale,timezone:e.timeZone,calendar:e.calendar}}catch{return}}const uR="GlobalHandlers",dR=((t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:uR,setupOnce(){Error.stackTraceLimit=50},setup(n){e.onerror&&(fR(n),ol("onerror")),e.onunhandledrejection&&(hR(n),ol("onunhandledrejection"))}}}),pR=dR;function fR(t){oP(e=>{const{stackParser:n,attachStacktrace:s}=Zd();if(ye()!==t||Xd())return;const{msg:r,url:o,line:i,column:a,error:l}=e,c=yR(vi(n,l||r,void 0,s,!1),o,i,a);c.level="error",Qc(c,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function hR(t){aP(e=>{const{stackParser:n,attachStacktrace:s}=Zd();if(ye()!==t||Xd())return;const r=mR(e),o=tr(r)?gR(r):vi(n,r,void 0,s,!0);o.level="error",Qc(o,{originalException:r,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function mR(t){if(tr(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}function gR(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function yR(t,e,n,s){const r=t.exception=t.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},l=a.frames=a.frames||[],c=s,u=n,d=bR(e)??Yo();return l.length===0&&l.push({colno:c,filename:d,function:un,in_app:!0,lineno:u}),t}function ol(t){ir&&K.log(`Global Handler attached: ${t}`)}function Zd(){return ye()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function bR(t){if(!(!In(t)||t.length===0))return t.startsWith("data:")?`<${dT(t,!1)}>`:t}const vR=()=>({name:"HttpContext",preprocessEvent(t){if(!de.navigator&&!de.location&&!de.document)return;const e=YT(),n={...e.headers,...t.request?.headers};t.request={...e,...t.request,headers:n}}}),wR="cause",_R=5,SR="LinkedErrors",ER=((t={})=>{const e=t.limit||_R,n=t.key||wR;return{name:SR,preprocessEvent(s,r,o){const i=o.getOptions();TT(yi,i.stackParser,n,e,s,r)}}}),xR=ER;function CR(){return AR()?(ir&&es(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function AR(){if(typeof de.window>"u")return!1;const t=de;if(t.nw||!(t.chrome||t.browser)?.runtime?.id)return!1;const n=Yo(),s=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(de===de.top&&s.some(o=>n.startsWith(`${o}://`)))}function ep(t){return[wT(),gT(),jT(),Zk(),Bk(),pR(),xR(),UT(),vR(),lR(),oR()]}function PR(t={}){const e=!t.skipBrowserExtensionCheck&&CR();let n=t.defaultIntegrations==null?ep():t.defaultIntegrations;const s={...t,enabled:e?!1:t.enabled,stackParser:Aw(t.stackParser||Dk),integrations:DP({integrations:t.integrations,defaultIntegrations:n}),transport:t.transport||Ck};return cT(lk,s)}const tp=["activate","mount"],np=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,TR=/(?:^|[-_])(\w)/g,kR=t=>t.replace(TR,e=>e.toUpperCase()).replace(/[-_]/g,""),RR="",Fr="",IR=(t,e)=>t.repeat(e),Un=(t,e)=>{if(!t)return Fr;if(t.$root===t)return RR;if(!t.$options)return Fr;const n=t.$options;let s=n.name||n._componentTag||n.__name;const r=n.__file;if(!s&&r){const o=r.match(/([^/\\]+)\.vue$/);o&&(s=o[1])}return(s?`<${kR(s)}>`:Fr)+(r&&e!==!1?` at ${r}`:"")},FR=t=>{if(t&&(t._isVue||t.__isVue)&&t.$parent){const e=[];let n=0;for(;t;){if(e.length>0){const r=e[e.length-1];if(r.constructor===t.constructor){n++,t=t.$parent;continue}else n>0&&(e[e.length-1]=[r,n],n=0)}e.push(t),t=t.$parent}return` + +found in + +${e.map((r,o)=>`${(o===0?"---> ":IR(" ",5+o*2))+(Array.isArray(r)?`${Un(r[0])}... (${r[1]} recursive calls)`:Un(r))}`).join(` +`)}`}return` + +(found in ${Un(t)})`},$R=(t,e)=>{const{errorHandler:n}=t.config;t.config.errorHandler=(s,r,o)=>{const i=Un(r,!1),a=r?FR(r):"",l={componentName:i,lifecycleHook:o,trace:a};if(e?.attachProps!==!1&&r&&(r.$options?.propsData?l.propsData=r.$options.propsData:r.$props&&(l.propsData=r.$props)),setTimeout(()=>{an(s,{captureContext:{contexts:{vue:l}},mechanism:{handled:!!n,type:"auto.function.vue.error_handler"}})}),typeof n=="function"&&t.config.errorHandler)n.call(t,s,r,o);else throw s}},il="ui.vue",UR={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function $r(t,e,n){t.$_sentryRootComponentSpanTimer&&clearTimeout(t.$_sentryRootComponentSpanTimer),t.$_sentryRootComponentSpanTimer=setTimeout(()=>{t.$root?.$_sentryRootComponentSpan&&(t.$root.$_sentryRootComponentSpan.end(e),t.$root.$_sentryRootComponentSpan=void 0)},n)}function LR(t,e){function n(r){return r.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return t.some(r=>n(e)===n(r))}const OR=(t={})=>{const e=(t.hooks||[]).concat(tp).filter((r,o,i)=>i.indexOf(r)===o),n={},s=t.timeout||2e3;for(const r of e){const o=UR[r];if(!o){np&&K.warn(`Unknown hook: ${r}`);continue}for(const i of o)n[i]=function(){const a=this.$root===this;a&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||Na({name:"Application Render",op:`${il}.render`,attributes:{[Fs]:"auto.ui.vue"},onlyIfParent:!0}),$r(this,We(),s));const l=Un(this,!1);if(!(a||(Array.isArray(t.trackComponents)?LR(t.trackComponents,l):t.trackComponents))){$r(this,We(),s);return}this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};const u=i===o[0],d=this.$root?.$_sentryRootComponentSpan||Pw();if(u){if(d){const h=this.$_sentryComponentSpans[r];h&&h.end(),this.$_sentryComponentSpans[r]=Na({name:`Vue ${l}`,op:`${il}.${r}`,attributes:{[Fs]:"auto.ui.vue"},onlyIfParent:!0})}}else{const h=this.$_sentryComponentSpans[r];if(!h)return;h.end(),$r(this,We(),s)}}}return n},NR=Se,MR={Vue:NR.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:tp,timeout:2e3,trackComponents:!1}},DR="Vue",jR=(t={})=>({name:DR,setup(e){const n={...MR,...e.getOptions(),...t};if(!n.Vue&&!n.app){es(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured. Update your `Sentry.init` call with an appropriate config option: `app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).")});return}n.app?(Array.isArray(n.app)?n.app:[n.app]).forEach(r=>al(r,n)):n.Vue&&al(n.Vue,n)}}),al=(t,e)=>{np&&t._instance?.isMounted===!0&&es(()=>{console.warn("[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.")}),e.attachErrorHandler&&$R(t,e),zo(e)&&t.mixin(OR(e.tracingOptions))};function HR(t={}){const e={defaultIntegrations:[...ep(),jR()],...t};return zd(e,"vue"),PR(e)}function BR(t){return new Worker(""+new URL("../assets/worker-BBQqm_-D.js",import.meta.url).href,{name:t?.name})}const sp=({authService:t})=>{const{createWorker:e}=ei(),n=q();return{startWorker:()=>{n.value=e(BR),p(p(n).worker).onmessage=()=>{t.signinSilent().catch(async i=>{if(i instanceof ym){console.warn("token renewal timed out, retrying in 5 seconds..."),p(n).post(JSON.stringify({topic:"set",expiry:5,expiryThreshold:0}));return}if(console.error("token renewal error:",i),!await t.getRefreshToken())return t.logoutUser()})}},setTokenTimer:({expiry:i,expiryThreshold:a})=>{if(!p(n)){console.error("token timer worker is not running");return}p(n).post(JSON.stringify({topic:"set",expiry:i,expiryThreshold:a}))},resetTokenTimer:()=>{if(!p(n)){console.error("token timer worker is not running");return}p(n).post(JSON.stringify({topic:"reset"}))}}},qR=()=>{const t=tt(),{$gettext:e}=ce(),n=hu(),{openSideBarPanel:s}=Jn(),r=()=>{const i=ec(t,"files-trash-generic")?null:"actions";s(i)};return{actions:I(()=>[{name:"show-actions",icon:"slideshow-3",label:()=>e("All Actions"),handler:r,isVisible:({resources:i})=>p(n)?i.length===1:!1,class:"oc-files-actions-show-actions-trigger"}])}},zR={class:_e(["[&_.cropper-crop-box]:!outline-1","[&_.cropper-crop-box]:!outline-role-outline","[&_.cropper-view-box]:!rounded-[50%]","[&_.cropper-crop-box]:!rounded-[50%]","[&_.cropper-line]:!bg-role-outline","[&_.cropper-point]:!bg-role-outline"])},VR={class:"flex flex-col items-center"},WR={class:"oc-button-group"},GR={key:0},KR=["src"],XR={class:"text-sm text-role-on-surface-variant flex items-center mt-1"},YR=["textContent"],rp=Z({__name:"AvatarUpload",setup(t){const e=Ct(),n=mc(),{avatarMap:s}=ue(n),{user:r}=ue(e),{$gettext:o}=ce(),{showErrorMessage:i,showMessage:a}=dt(),{graphAuthenticated:l}=Ye(),{setCropperInstance:c}=nu(),u=q(null),d=q(null),h=q(null),f=q(!1),y=q(!1),w=q(!1),m=q(null),_=Rs*1024*1024,g=I(()=>!!p(s)[p(r).id]),S=J=>{const H=J.target.files?.[0];if(H){if(H.size>_){i({title:o("File size exceeds the limit of %{size}MB",{size:Rs.toString()})});return}u.value=URL.createObjectURL(H),y.value=!0}};Ae(u,async J=>{J&&(await Vs(),h.value&&h.value.destroy(),d.value&&(h.value=new bm(d.value,{aspectRatio:1,viewMode:1,dragMode:"move",autoCropArea:.8,responsive:!0,background:!1,ready(){f.value=!0}}),c(h)))});const R=()=>h.value.getCroppedCanvas({width:256,height:256,imageSmoothingQuality:"high"}),E=async J=>await new Promise(Y=>{J.toBlob(H=>Y(H),"image/png")}),$=()=>{m.value?.click()},M=()=>{y.value=!1,X()},j=async()=>{const J=R(),Y=await E(J),H=URL.createObjectURL(Y),te=new File([Y],"avatar.png",{type:"image/png",lastModified:Date.now()});try{await l.photos.updateOwnUserPhotoPatch(te),n.addAvatar(p(r).id,H),a({title:o("Profile picture was set successfully")})}catch(le){i({title:o("Failed to set profile picture"),errors:[le]})}y.value=!1,X()},W=async()=>{try{await l.photos.deleteOwnUserPhoto(),n.removeAvatar(p(r).id),a({title:o("Profile picture was removed successfully")})}catch(J){i({title:o("Failed to remove profile picture"),errors:[J]})}w.value=!1},X=()=>{h.value?.destroy(),h.value=null,m.value&&(m.value.value=""),u.value=null};return(J,Y)=>{const H=L("oc-button"),te=L("oc-icon"),le=L("oc-modal");return C(),O("div",zR,[P("input",{ref_key:"fileInputRef",ref:m,class:"invisible avatar-file-input",type:"file",accept:"image/jpeg, image/png",onChange:S},null,544),Y[6]||(Y[6]=b()),P("div",VR,[x(Ln,{class:"mb-4",width:128,"user-id":p(r).id,"user-name":p(r).displayName},null,8,["user-id","user-name"]),Y[3]||(Y[3]=b()),P("div",null,[P("div",WR,[x(H,{size:"small",onClick:$},{default:T(()=>[b(F(p(o)("Upload")),1)]),_:1}),Y[2]||(Y[2]=b()),g.value?(C(),z(H,{key:0,class:"avatar-upload-remove-button",size:"small",onClick:Y[0]||(Y[0]=k=>w.value=!0)},{default:T(()=>[b(F(p(o)("Remove")),1)]),_:1})):V("",!0)])])]),Y[7]||(Y[7]=b()),y.value?(C(),z(le,{key:0,title:p(o)("Crop your new profile picture"),"button-cancel-text":p(o)("Cancel"),"button-confirm-text":p(o)("Set"),"button-confirm-disabled":!f.value,"focus-trap-initial":!1,onCancel:M,onConfirm:j},{content:T(()=>[u.value?(C(),O("div",GR,[P("img",{ref_key:"imageRef",ref:d,class:"max-h-[400px]",src:u.value},null,8,KR),Y[5]||(Y[5]=b()),P("div",XR,[x(te,{class:"mr-1",name:"information",size:"small","fill-type":"line"}),Y[4]||(Y[4]=b()),P("span",{textContent:F(p(o)("Zoom via %{ zoomKeys }, pan via %{ panKeys }",{zoomKeys:p(o)("+-"),panKeys:p(o)("↑↓←→")}))},null,8,YR)])])):V("",!0)]),_:1},8,["title","button-cancel-text","button-confirm-text","button-confirm-disabled"])):V("",!0),Y[8]||(Y[8]=b()),w.value?(C(),z(le,{key:1,message:p(o)("Are you sure you want to remove your profile picture?"),title:p(o)("Remove profile picture"),"button-cancel-text":p(o)("Cancel"),"button-confirm-text":p(o)("Remove"),onCancel:Y[1]||(Y[1]=k=>w.value=!1),onConfirm:W},null,8,["message","title","button-cancel-text","button-confirm-text"])):V("",!0)])}}}),JR=Z({name:"DateFilter",props:{filterLabel:{type:String,required:!0},filterName:{type:String,required:!0},items:{type:Array,required:!0},idAttribute:{type:String,required:!1,default:"id"},displayNameAttribute:{type:String,required:!1,default:"name"}},emits:["selectionChange"],setup:function(t,{emit:e,expose:n}){const s=tt(),{current:r}=ce(),o=Qn(),i=Ue(),{currentTheme:a}=ue(i),l=q(),c=q(t.items),u=q(),d=q(),h=q(!1),f=q(),y=`q_${t.filterName}`,w=at(y),m=te=>te[t.idAttribute],_=()=>s.push({query:{...yu(p(o).query,[y]),...p(l)&&{[y]:m(p(l))}}}),g=te=>p(l)&&m(p(l))===m(te),S=()=>{u.value=void 0,d.value=void 0},R=async te=>{S(),g(te)?l.value=void 0:(l.value=te,p(f).hideDrop()),await _(),e("selectionChange",p(l))},E=()=>{l.value=void 0,h.value=!1,S(),e("selectionChange",p(l)),_()},$=()=>{c.value=t.items},M=()=>{h.value=!1},j=()=>{const te=ke(p(w));if(!te)return;const le=t.items.find(k=>m(k)===te);if(le){l.value=le;return}if(p(W)){const k=te.replace("range:",""),v=Number(k.split(" - ")[0]),A=Number(k.split(" - ")[1]);u.value=sn.fromMillis(v),d.value=sn.fromMillis(A),l.value=p(J)}},W=I(()=>ke(p(w))?.startsWith("range:")),X=I(()=>!p(u)||!p(d)?!1:p(u)<=p(d)),J=I(()=>{if(!p(u)||!p(d))return null;const te=$s(p(u),r,sn.DATE_SHORT),le=$s(p(d),r,sn.DATE_SHORT),k=p(u).toMillis(),v=p(d).toMillis();return{[t.idAttribute]:`range:${k} - ${v}`,[t.displayNameAttribute]:`${te} - ${le}`}}),Y=async()=>{l.value=p(J),await _(),p(f).hideDrop(),e("selectionChange",p(l))},H=({date:te,error:le},k)=>{if(le){console.error("date could not be set");return}const v=k==="from"?u:d;if(!te){v.value=void 0;return}const A=k==="from"?te.startOf("day"):te.endOf("day");v.value=A};return n({setSelectedItemsBasedOnQuery:j}),Me(()=>{j()}),{clearFilter:E,displayedItems:c,isItemSelected:g,selectedItem:l,onShowDrop:$,onHideDrop:M,filterChip:f,toggleItemSelection:R,setSelectedItemsBasedOnQuery:j,fromDate:u,toDate:d,dateRangeValid:X,applyDateRangeFilter:Y,dateRangeApplied:W,setDateRangeDate:H,dateRangeClicked:h,currentTheme:a,queryParam:y}}}),QR={class:"flex items-center truncate"},ZR={class:"truncate ml-2"},eI={class:"flex"},tI={class:"my-1"},nI={class:"flex items-center truncate"},sI={class:"truncate ml-2"},rI=["textContent"],oI={class:"flex"},iI={class:"flex items-center justify-between mb-4"},aI=["textContent"],lI={class:"mt-2"},cI={class:"date-filter-apply-btn text-end"};function uI(t,e,n,s,r,o){const i=L("oc-icon"),a=L("oc-button"),l=L("oc-list"),c=L("oc-datepicker"),u=L("oc-filter-chip");return C(),O("div",{class:_e(["date-filter flex overflow-hidden [&_label]:text-sm",`date-filter-${t.filterName}`])},[x(u,{ref:"filterChip","filter-label":t.filterLabel,"selected-item-names":t.selectedItem?[t.selectedItem[t.displayNameAttribute]]:void 0,onClearFilter:t.clearFilter,onShowDrop:t.onShowDrop,onHideDrop:t.onHideDrop},{default:T(()=>[x(l,{class:_e({"invisible min-h-[225px] transition-[visibility] duration-[0.4s,0s]":t.dateRangeClicked})},{default:T(()=>[(C(!0),O(ae,null,$e(t.displayedItems,(d,h)=>(C(),O("li",{key:h,class:"my-1 first:mt-0 last:mb-0"},[x(a,{class:_e(["date-filter-list-item flex justify-between items-center w-full p-1",{"date-filter-list-item-active":t.isItemSelected(d)}]),"justify-content":"space-between",appearance:"raw","data-testid":d[t.displayNameAttribute],onClick:f=>t.toggleItemSelection(d)},{default:T(()=>[P("div",QR,[P("div",ZR,[Ws(t.$slots,"item",{item:d},void 0,!0)])]),e[5]||(e[5]=b()),P("div",eI,[t.isItemSelected(d)?(C(),z(i,{key:0,name:"check"})):V("",!0)])]),_:2},1032,["class","data-testid","onClick"])]))),128)),e[7]||(e[7]=b()),P("li",tI,[x(a,{class:_e(["date-filter-list-item flex justify-between items-center w-full p-1",{"date-filter-list-item-active":t.dateRangeApplied}]),"justify-content":"space-between",appearance:"raw","data-testid":"custom-date-range",onClick:e[0]||(e[0]=d=>t.dateRangeClicked=!0)},{default:T(()=>[P("div",nI,[P("div",sI,[P("span",{textContent:F(t.$gettext("Custom date range"))},null,8,rI)])]),e[6]||(e[6]=b()),P("div",oI,[t.dateRangeApplied?(C(),z(i,{key:0,name:"check"})):V("",!0)])]),_:1},8,["class"])])]),_:3},8,["class"]),e[13]||(e[13]=b()),P("div",{class:_e(["date-filter-range-panel absolute top-0 p-2 bg-role-surface",{"transform-[translateX(0)] visible":t.dateRangeClicked,"transform-[translateX(100%)] invisible":!t.dateRangeClicked}])},[P("div",iI,[x(a,{appearance:"raw",class:"date-filter-range-panel-back","aria-label":t.$gettext("Go back to filter options"),onClick:e[1]||(e[1]=d=>t.dateRangeClicked=!1)},{default:T(()=>[x(i,{name:"arrow-left-s","fill-type":"line"})]),_:1},8,["aria-label"]),e[8]||(e[8]=b()),P("span",{textContent:F(t.$gettext("Custom date range"))},null,8,aI),e[9]||(e[9]=b()),x(a,{appearance:"raw",class:"date-filter-range-panel-close","aria-label":t.$gettext("Close filter"),onClick:e[2]||(e[2]=d=>t.filterChip.hideDrop())},{default:T(()=>[x(i,{name:"close"})]),_:1},8,["aria-label"])]),e[11]||(e[11]=b()),P("div",lI,[x(c,{label:t.$gettext("From"),"is-clearable":!0,"current-date":t.fromDate,"is-dark":t.currentTheme.isDark,onDateChanged:e[3]||(e[3]=d=>t.setDateRangeDate(d,"from"))},null,8,["label","current-date","is-dark"]),e[10]||(e[10]=b()),x(c,{label:t.$gettext("To"),"is-clearable":!0,"current-date":t.toDate,"min-date":t.fromDate?t.fromDate:void 0,"is-dark":t.currentTheme.isDark,onDateChanged:e[4]||(e[4]=d=>t.setDateRangeDate(d,"to"))},null,8,["label","current-date","min-date","is-dark"])]),e[12]||(e[12]=b()),P("div",cI,[x(a,{size:"small",disabled:!t.dateRangeValid,onClick:t.applyDateRangeFilter},{default:T(()=>[b(F(t.$gettext("Apply")),1)]),_:1},8,["disabled","onClick"])])],2)]),_:3},8,["filter-label","selected-item-names","onClearFilter","onShowDrop","onHideDrop"])],2)}const dI=ge(JR,[["render",uI],["__scopeId","data-v-3242f5d1"]]),pI=Z({name:"LoadingIndicator",setup(){const t=Fo();let e,n,s;const r=q(t.isLoading),o=q(t.currentProgress),i=()=>{o.value=t.currentProgress,r.value=t.isLoading},a=()=>{o.value=t.currentProgress};return Me(()=>{e=we.subscribe(bt.add,i),n=we.subscribe(bt.remove,i),s=we.subscribe(bt.setProgress,a)}),zt(()=>{we.unsubscribe(bt.add,e),we.unsubscribe(bt.remove,n),we.unsubscribe(bt.setProgress,s)}),{isLoading:r,currentProgress:o}}}),fI={key:0,id:"oc-loading-indicator",class:"w-full"};function hI(t,e,n,s,r,o){const i=L("oc-progress");return t.isLoading?(C(),O("div",fI,[x(i,{max:100,indeterminate:t.currentProgress===null,value:t.currentProgress,size:"xsmall"},null,8,["indeterminate","value"])])):V("",!0)}const op=ge(pI,[["render",hI]]),ll=Object.freeze(Object.defineProperty({__proto__:null,AVATAR_UPLOAD_MAX_FILE_SIZE_MB:Rs,AccountCapabilitiesSchema:vm,AccountSchema:wm,AccountsSchema:_m,ActionMenuDropItem:pg,ActionMenuItem:ou,ApiError:Ut,AppBar:kw,AppLoadingSpinner:Js,AppProviderService:qu,AppTopBar:LS,AppWrapper:OS,AppWrapperRoute:NS,ArchiverService:zu,Auth:fg,AvatarUpload:rp,BatchActions:ey,Cache:Sm,ClientService:Ku,ClipboardActions:j_,CompareSaveDialog:U_,ConflictDialog:H_,ContextActionMenu:hg,ContextActions:Rw,ContextMenuQuickAction:ty,CreateLinkModal:Iw,CreateShortcutModal:Fw,CustomComponentTarget:Ft,DateFilter:dI,DatePickerModal:$w,EmojiPickerModal:Uw,EventBus:M_,FileInfo:B_,FilePickerModal:MS,FileSideBar:q_,FolderLoaderFavorites:mg,FolderLoaderSharedViaLink:gg,FolderLoaderSharedWithMe:yg,FolderLoaderSharedWithOthers:bg,FolderLoaderSpace:vg,FolderLoaderTrashbin:wg,FolderService:_g,FolderViewModeConstants:Em,HttpClient:Yr,IdentitySchema:xm,ImageDimension:dc,ImageType:Sg,ItemFilter:ZS,ItemFilterInline:Lw,ItemFilterToggle:Ow,Key:Eg,LimitsSchema:Cm,LinkRoleDropdown:Nw,LoadingEventTopics:bt,LoadingIndicator:op,LoadingService:Xu,MailCapabilitiesSchema:Am,MimeTypesToAppsSchema:Zl,MobileNav:gc,Modifier:xg,NoContentMessage:ts,Pagination:ny,PaginationConstants:sy,PasswordPolicyService:Ju,PreviewService:Yu,PrimaryAccountsSchema:Pm,ProcessorType:Tm,QuotaModal:ry,QuotaSelect:oy,RESOURCE_MAX_CHARACTER_LENGTH:Cg,RESOURCE_NAME_MAX_BYTES:Ag,RawConfigSchema:tc,RawGroupwareConfigSchema:nc,ResolveStrategy:z_,ResourceConflictModal:V_,ResourceGhostElement:Mw,ResourceIcon:uu,ResourceLink:N_,ResourceListItem:du,ResourceName:pu,ResourcePreview:Dw,ResourceSize:jw,ResourceTable:Hw,ResourceTile:Bw,ResourceTiles:qw,ResourceTransfer:zw,RuntimeError:Pe,SaveAsModal:DS,SearchBarFilter:t0,SearchLocationFilterConstants:n0,SideBar:Pg,SideBarPanels:Tg,SieveCapabilitiesSchema:km,SortConstants:m0,SpaceDetails:iy,SpaceDetailsMultiple:ay,SpaceImageModal:Vw,SpaceInfo:kg,SpaceMoveInfoModal:W_,SpaceNoSelection:ly,SpaceQuota:cy,TextEditor:QS,ThemeConfig:sc,TransferType:G_,UnsavedChangesModal:jS,UppyService:Td,UserAvatar:Ln,VersionCheck:lu,ViewOptions:uy,VisibilityObserver:g0,WebDavDetails:dy,WebThemeConfig:Rm,activeApp:Rg,authContextValues:Xr,blobToArrayBuffer:Ww,breadcrumbsFromPath:sP,buildRoutes:Gw,buildUrl:$n,cacheService:Or,canvasToBlob:Kw,cloneStateObject:K_,compareVersions:iu,concatBreadcrumbs:rP,contextQueryToFileContextProps:rc,contextRouteNameKey:Cn,contextRouteParamsKey:Im,contextRouteQueryKey:Fm,convertToMinimalUppyFile:tu,createDefaultFileIconMapping:E0,createFileRouteOptions:Ks,createFolderDummyFile:eu,createLocation:oc,createLocationCommon:$m,createLocationPublic:Um,createLocationShares:Nr,createLocationSpaces:Mr,createLocationTrash:Lm,defaultFuseOptions:bu,defineWebApplication:XS,determineResourceTableSortFields:y0,determineResourceTilesSortFields:Om,dirname:Io.dirname,encodePath:hc,eventBus:we,extensionPoints:py,fileSideBarSpaceDetailsTableExtensionPoint:fy,filterResources:sC,focusCheckbox:hy,folderService:Ig,formatDateFromDateTime:$s,formatDateFromHTTP:T_,formatDateFromISO:Us,formatDateFromJSDate:su,formatDateFromRFC:k_,formatFileSize:It,formatRelativeDateFromDateTime:R_,formatRelativeDateFromHTTP:I_,formatRelativeDateFromISO:ru,formatRelativeDateFromJSDate:F_,formatRelativeDateFromRFC:$_,getBackendVersion:Qs,getExtensionNavItems:yc,getLocaleFromLanguage:YS,getParentPaths:Vv,getSharedAncestorRoute:Xw,getSharedDriveItem:Fg,getSpacesByType:Wv,getTextByteSize:$g,getWebVersion:Mo,isItemInCurrentFolder:Ze,isLocationActive:Yw,isLocationActiveDirector:ic,isLocationCommonActive:Nm,isLocationPublicActive:Mm,isLocationSharesActive:St,isLocationSpacesActive:Xe,isLocationTrashActive:ec,isMacOs:X_,isPromiseFulfilled:my,isPromiseRejected:gy,isResourceBeeingMovedToSameLocation:Y_,isSameResource:J_,locationPublicLink:Dm,locationPublicUpload:jm,locationSharesViaLink:Hm,locationSharesWithMe:Bm,locationSharesWithOthers:qm,locationSpacesGeneric:zm,objectKeys:rC,parseVersion:L_,queryItemAsString:ke,renameResource:Q_,resolveFileNameDuplicate:Z_,resourceIconMappingInjectionKey:vu,routeToContextQuery:Vm,setCurrentUserShareSpacePermissions:Ug,sortFields:Wm,sortHelper:b0,sortSpaceMembers:Gv,translateSortFields:Gm,triggerDownloadWithFilename:wu,useAbility:VS,useActionsShowDetails:O_,useActiveApp:Xs,useActiveLocation:Zt,useAppConfig:i0,useAppDefaults:a0,useAppFileHandling:l0,useAppFolderHandling:c0,useAppMeta:u0,useAppNavigation:Km,useAppProviderService:zS,useAppsStore:Yn,useArchiverService:eS,useAuthService:uc,useAuthStore:ut,useAvatarsStore:mc,useBreadcrumbsFromPath:Jw,useCanBeOpenedWithSecureView:Qw,useCanListShares:tS,useCanListVersions:nS,useCanShare:sS,useCapabilityStore:ct,useClientService:Ye,useClipboardStore:rS,useConfigStore:nt,useCopyLink:Zw,useCreateSpace:Lg,useCropperKeyboardActions:nu,useDeleteWorker:oS,useDocumentTitle:Og,useDownloadFile:mu,useDriveResolver:Ng,useEmbedMode:Ys,useEventBus:Mg,useExtensionPreferencesStore:bc,useExtensionRegistry:st,useFileActionFallbackToDownload:iS,useFileActions:aS,useFileActionsCopy:lS,useFileActionsCopyPermanentLink:cS,useFileActionsCreateLink:e_,useFileActionsCreateNewFile:t_,useFileActionsCreateNewFolder:n_,useFileActionsCreateNewShortcut:s_,useFileActionsCreateSpaceFromResource:uS,useFileActionsDelete:dS,useFileActionsDeleteResources:pS,useFileActionsDisableSync:fS,useFileActionsDownloadArchive:hS,useFileActionsDownloadFile:mS,useFileActionsEmptyTrashBin:r_,useFileActionsEnableSync:gS,useFileActionsFavorite:yS,useFileActionsImmutable:bS,useFileActionsMove:vS,useFileActionsNavigate:wS,useFileActionsOpenShortcut:o_,useFileActionsOpenWithApp:HS,useFileActionsOpenWithDefault:i_,useFileActionsPaste:a_,useFileActionsRename:_S,useFileActionsRestore:SS,useFileActionsSaveAs:BS,useFileActionsSetImage:l_,useFileActionsShowActions:qR,useFileActionsShowDetails:ES,useFileActionsShowShares:xS,useFileActionsToggleHideShare:CS,useFileActionsUndoDelete:AS,useFileListHeaderPosition:yy,useFileRouteReplace:Xm,useFolderLink:PS,useGetMatchingSpace:TS,useGetResourceContext:gu,useGroupwareConfigStore:kd,useInterceptModifierClick:kS,useIsAppActive:s0,useIsFilesAppActive:hu,useIsResourceNameValid:Dg,useIsSearchActive:RS,useIsTopBarSticky:by,useKeyboardActions:jg,useLinkTypes:c_,useLoadAvatars:vy,useLoadPreview:f0,useLoadingService:Fo,useLocalStorage:Ym,useMessages:dt,useModals:mn,useNavItems:vc,useOpenEmptyEditor:r0,useOpenWithDefaultApp:u_,usePagination:wy,usePasswordPolicyService:d_,usePasteWorker:p_,usePreviewService:h0,useRequest:d0,useRequestHeaders:IS,useResourceContents:_y,useResourceIndicators:f_,useResourceRouteResolver:FS,useResourceViewContextMenu:h_,useResourceViewDrag:m_,useResourceViewHelpers:g_,useResourceViewSelection:y_,useResourcesStore:er,useRestoreWorker:$S,useRoute:Qn,useRouteMeta:Oo,useRouteName:v0,useRouteParam:ti,useRouteQuery:at,useRouteQueryPersisted:Jm,useRouter:tt,useScrollTo:_0,useSearch:Hg,useSelectedResources:US,useService:ac,useSharesStore:Hc,useSideBar:Jn,useSort:w0,useSpaceActionsCreate:Sy,useSpaceActionsDelete:Ey,useSpaceActionsDeleteImage:b_,useSpaceActionsDisable:xy,useSpaceActionsDuplicate:v_,useSpaceActionsEditDescription:Cy,useSpaceActionsEditQuota:Ay,useSpaceActionsEditReadmeContent:w_,useSpaceActionsNavigateToTrash:__,useSpaceActionsRename:Py,useSpaceActionsRestore:Ty,useSpaceActionsSetIcon:S_,useSpaceActionsShowMembers:E_,useSpaceHelpers:x_,useSpacesLoading:pc,useSpacesStore:xt,useThemeStore:Ue,useTileSize:C_,useTokenTimerWorker:sp,useUpdatesStore:cu,useUpload:A_,useUserStore:Ct,useViewMode:Qm,useViewSize:Zm,useViewSizeMax:eg,useWebWorkersStore:ei,useWindowOpen:o0},Symbol.toStringTag,{value:"Module"})),mI=Z({setup(){const t=Fo(),e=mn(),{activeModal:n}=ue(e),{updateModal:s,removeModal:r}=e,o=q();return{customComponentRef:o,modal:n,onModalConfirm:async u=>{try{s(p(n)?.id,"isLoading",!0),p(n)?.onConfirm?await t.addTask(async()=>{await p(n).onConfirm(u)}):p(o)?.onConfirm&&await t.addTask(()=>p(o).onConfirm(u))}catch{s(p(n)?.id,"isLoading",!1);return}r(p(n)?.id)},onModalCancel:()=>{p(n)?.onCancel?p(n).onCancel():p(o)?.onCancel&&p(o).onCancel(),r(p(n)?.id)},onModalInput:u=>{if(!p(n).onInput)return;const d=h=>s(p(n).id,"inputError",h);p(n).onInput(u,d)},onModalConfirmDisabled:u=>{s(p(n).id,"confirmDisabled",u)}}}});function gI(t,e,n,s,r,o){const i=L("oc-modal");return t.modal?(C(),z(i,{key:0,"element-id":t.modal.elementId,"element-class":t.modal.elementClass,title:t.modal.title,message:t.modal.message,"has-input":t.modal.hasInput,"input-description":t.modal.inputDescription,"input-error":t.modal.inputError,"input-label":t.modal.inputLabel,"input-selection-range":t.modal.inputSelectionRange,"input-type":t.modal.inputType,"input-value":t.modal.inputValue,"input-required-mark":t.modal.inputRequiredMark,"hide-actions":t.modal.hideActions,"hide-confirm-button":t.modal.hideConfirmButton,"hide-cancel-button":t.modal.hideCancelButton,"button-confirm-text":t.modal.confirmText,"button-confirm-disabled":t.modal.confirmDisabled,"contextual-helper-label":t.modal.contextualHelperLabel,"contextual-helper-data":t.modal.contextualHelperData,"focus-trap-initial":t.modal.focusTrapInitial,"is-loading":t.modal.isLoading,onCancel:t.onModalCancel,onConfirm:t.onModalConfirm,onInput:t.onModalInput},Ll({_:2},[t.modal.customComponent?{name:"content",fn:T(()=>[(C(),z(Ot(t.modal.customComponent),Et({ref:"customComponentRef",modal:t.modal},t.modal.customComponentAttrs?.()||{},{onConfirm:t.onModalConfirm,onCancel:t.onModalCancel,"onUpdate:confirmDisabled":t.onModalConfirmDisabled}),null,16,["modal","onConfirm","onCancel","onUpdate:confirmDisabled"]))]),key:"0"}:void 0]),1032,["element-id","element-class","title","message","has-input","input-description","input-error","input-label","input-selection-range","input-type","input-value","input-required-mark","hide-actions","hide-confirm-button","hide-cancel-button","button-confirm-text","button-confirm-disabled","contextual-helper-label","contextual-helper-data","focus-trap-initial","is-loading","onCancel","onConfirm","onInput"])):V("",!0)}const yI=ge(mI,[["render",gI]]),bI={key:0,class:"py-2 px-2"},vI=["textContent"],ip=Z({__name:"AppFloatingActionButton",setup(t){const{requestExtensions:e}=st(),{isMobile:n}=fc(),s=Xs(),r=q(!0),o=I(()=>e({id:`app.${p(s)}.floating-action-button`,extensionType:"floatingActionButton"}).find(({isVisible:l})=>!l||l())),i=l=>`${p(n)?"mobile-":""}app-floating-action-button-${l.replace(/\./g,"-")}`;let a=null;return ko(()=>{const l=p(o)?.isDisabled?.()??!1;a&&clearTimeout(a),a=setTimeout(()=>{r.value=l,a=null},50)}),zt(()=>{a&&clearTimeout(a)}),(l,c)=>{const u=L("oc-icon"),d=L("oc-button"),h=L("oc-floating-action-button");return o.value?(C(),O(ae,{key:0},[p(n)?r.value?V("",!0):(C(),O(ae,{key:1},[x(h,{"button-id":i(o.value.id),class:"oc-app-floating-action-button",mode:"action",handler:o.value.handler},null,8,["button-id","handler"]),c[3]||(c[3]=b()),o.value.dropComponent&&o.value.mode()==="drop"?(C(),z(Ot(o.value.dropComponent),{key:0,toggle:`#${i(o.value.id)}`},null,8,["toggle"])):V("",!0)],64)):(C(),O("div",bI,[x(d,{id:i(o.value.id),disabled:r.value,appearance:"filled",class:"oc-app-floating-action-button w-full",onClick:c[0]||(c[0]=f=>o.value.handler?.())},{default:T(()=>[x(u,{name:o.value.icon},null,8,["name"]),c[1]||(c[1]=b()),P("span",{textContent:F(o.value.label())},null,8,vI)]),_:1},8,["id","disabled"]),c[2]||(c[2]=b()),o.value.dropComponent&&o.value.mode()==="drop"?(C(),z(Ot(o.value.dropComponent),{key:0,toggle:`#${i(o.value.id)}`},null,8,["toggle"])):V("",!0)]))],64)):V("",!0)}}}),wI="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='2.83%202.84%2021.45%2027.82'%3e%3cpolygon%20points='13.55%2023.12%2014.72%2022.45%2014.72%2017.57%2018.92%2015.14%2018.92%2013.8%2017.75%2013.12%2013.53%2015.56%209.36%2013.16%208.19%2013.83%208.19%2015.18%2012.39%2017.6%2012.39%2022.45%2013.55%2023.12'%20fill='%23e2baff'/%3e%3cpolygon%20points='24.28%209.02%2013.56%202.84%2013.56%202.84%2013.56%202.84%202.83%209.02%202.83%2011.72%2013.56%205.53%2024.28%2011.72%2024.28%209.02'%20fill='%23e2baff'/%3e%3cpolygon%20points='24.28%2021.78%2013.56%2027.97%202.83%2021.78%202.83%2024.48%2013.56%2030.66%2013.56%2030.66%2013.56%2030.66%2024.28%2024.48%2024.28%2021.78'%20fill='%23e2baff'/%3e%3c/svg%3e",_I=["textContent"],SI={key:0,alt:"OpenCloud emblem",src:wI,class:"hidden sm:block fixed w-3xs xs:w-xs md:w-md lg:w-lg bottom-[-40px] right-[-40px]"},EI=Z({__name:"Plain",setup(t){const{$gettext:e}=ce(),n=Ue(),{currentTheme:s}=ue(n),r=Oo("title"),o=Lo(),i=I(()=>e(p(r)||"")),a=I(()=>p(s).background),l=I(()=>p(a)?{backgroundImage:`url(${p(a)})`}:{});return(c,u)=>{const d=L("router-view");return C(),O("div",{class:"oc-login h-screen",style:jl(l.value)},[P("h1",{class:"sr-only",textContent:F(i.value)},null,8,_I),u[0]||(u[0]=b()),x(d,{class:"relative z-1"}),u[1]||(u[1]=b()),!a.value&&p(o).fullPath!=="/"?(C(),O("img",SI)):V("",!0)],4)}}}),xI=Z({props:{menuItems:{type:Array,required:!1,default:()=>[]}},setup(t){const e=tt(),{$gettext:n}=ce(),s=q(""),r=Vl("menu"),o=I(()=>p(e.currentRoute).path),i=I(()=>[...t.menuItems].sort((h,f)=>(h.priority||Number.MAX_SAFE_INTEGER)-(f.priority||Number.MAX_SAFE_INTEGER))),a=I(()=>n("Application Switcher"));return{menu:r,sortedMenuItems:i,appIconKey:s,updateAppIcons:()=>{s.value=Ne().replaceAll("-","")},applicationSwitcherLabel:a,getAdditionalAttributes:h=>{let f;return h.handler?f="button":h.path?f="router-link":f="a",{type:f,...f==="router-link"&&{to:h.path},...f==="a"&&{href:h.url,target:"_blank"}}},getAdditionalEventBindings:h=>h.handler?{click:h.handler}:{},isMenuItemActive:h=>p(o)?.startsWith(h.path)}}}),CI=["aria-label"],AI={class:"block relative"},PI=["textContent"];function TI(t,e,n,s,r,o){const i=L("oc-icon"),a=L("oc-button"),l=L("oc-application-icon"),c=L("oc-list"),u=L("oc-drop"),d=et("oc-tooltip");return C(),O("nav",{id:"applications-menu","aria-label":t.$gettext("Main navigation"),class:"flex items-center"},[Le((C(),z(a,{id:"_appSwitcherButton",appearance:"raw-inverse","color-role":"chrome",class:"oc-topbar-menu-burger","aria-label":t.applicationSwitcherLabel,"no-hover":""},{default:T(()=>[x(i,{name:"grid",size:"large",class:"flex"})]),_:1},8,["aria-label"])),[[d,t.applicationSwitcherLabel]]),e[1]||(e[1]=b()),x(u,{title:t.$gettext("Applications"),"drop-id":"app-switcher-dropdown",toggle:"#_appSwitcherButton",mode:"click","padding-size":"small","close-on-click":"",class:"w-xs",onShowDrop:t.updateAppIcons},{default:T(()=>[P("div",AI,[x(c,{class:"applications-list"},{default:T(()=>[(C(!0),O(ae,null,$e(t.sortedMenuItems,(h,f)=>(C(),O("li",{key:`apps-menu-${f}`},[(C(),z(a,Et({key:h.url?"apps-menu-external-link":"apps-menu-internal-link",appearance:t.isMenuItemActive(h)?"filled":"raw-inverse","color-role":t.isMenuItemActive(h)?"secondaryContainer":"surface","justify-content":"left","gap-size":"large",class:{"router-link-active":t.isMenuItemActive(h),active:t.isMenuItemActive(h)},"data-test-id":h.id},{ref_for:!0},t.getAdditionalAttributes(h),zl(t.getAdditionalEventBindings(h))),{default:T(()=>[(C(),z(l,{key:`apps-menu-icon-${f}-${t.appIconKey}`,icon:h.icon||"link","color-primary":h.color},null,8,["icon","color-primary"])),e[0]||(e[0]=b()),P("span",{textContent:F(t.$gettext(h.label()))},null,8,PI)]),_:2},1040,["appearance","color-role","class","data-test-id"]))]))),128))]),_:1})])]),_:1},8,["title","onShowDrop"])],8,CI)}const kI=ge(xI,[["render",TI]]),RI=Z({name:"QuotaInformation",props:{quota:{type:Object,required:!0,default:()=>{}}},setup(t){const{$gettext:e,current:n}=ce(),s=I(()=>t.quota.total!==0),r=I(()=>parseFloat((t.quota.used/t.quota.total*100).toFixed(2))),o=I(()=>{const a=t.quota.total||0,l=t.quota.used||0;return a?e("%{used} of %{total} used (%{percentage}%)",{used:It(l,n),total:It(a,n),percentage:(p(r)||0).toString()}):e("%{used} used",{used:It(l,n)})}),i=I(()=>(p(r)||0)<90?"var(--oc-role-secondary)":"var(--oc-role-error)");return{quotaUsagePercent:r,personalStorageDetailsLabel:o,limitedPersonalStorage:s,quotaProgressColor:i}}}),II={class:"flex items-center"},FI={class:"my-0"},$I=["textContent"];function UI(t,e,n,s,r,o){const i=L("oc-icon"),a=L("oc-progress");return C(),O("div",II,[x(i,{name:"hard-drive-2",size:"small","fill-type":"line",class:"mr-1"}),e[1]||(e[1]=b()),P("div",null,[P("p",FI,[P("span",{class:"quota-information-text",textContent:F(t.personalStorageDetailsLabel)},null,8,$I)]),e[0]||(e[0]=b()),t.limitedPersonalStorage?(C(),z(a,{key:0,value:t.quotaUsagePercent,max:100,size:"small",color:t.quotaProgressColor},null,8,["value","color"])):V("",!0)])])}const ap=ge(RI,[["render",UI]]),LI=["aria-label"],OI={class:"flex items-center"},NI=["textContent"],MI={class:"flex items-center"},DI=["textContent"],jI={class:"flex items-center pl-2 min-h-10.5 gap-4"},HI=["textContent"],BI=["textContent"],qI={class:"flex items-center"},zI=["textContent"],VI={class:"flex items-center"},WI=["textContent"],GI={key:0,class:"imprint-footer py-2 mt-4 text-center bg-role-surface-container"},KI=["textContent"],XI=["textContent"],YI=["textContent"],JI=Z({__name:"UserMenu",setup(t){const e=Qn(),n=Ct(),s=Ue(),r=xt(),o=uc(),i=ut(),{user:a}=ue(n),l=I(()=>({name:i.userContextReady?"account-information":"account-preferences",query:{...!i.userContextReady&&i.publicLinkContextReady&&{contextRouteName:"files-public-link"}}})),c=I(()=>({name:"login",query:{redirectUrl:p(e).fullPath}})),u=I(()=>s.currentTheme.urls.imprint),d=I(()=>s.currentTheme.urls.privacy),h=I(()=>s.currentTheme.urls.accessibility),f=I(()=>!!(p(u)||p(d)||p(h))),y=I(()=>r.personalSpace?.spaceQuota);return(w,m)=>{const _=L("oc-avatar-item"),g=L("oc-button"),S=L("oc-icon"),R=L("oc-list"),E=L("oc-drop"),$=et("oc-tooltip");return C(),O("nav",{"aria-label":w.$gettext("Account menu")},[Le((C(),z(g,{id:"_userMenuButton",appearance:"raw","no-hover":"","aria-label":w.$gettext("My Account")},{default:T(()=>[p(a)?.onPremisesSamAccountName?(C(),z(p(Ln),{key:0,class:"oc-topbar-avatar oc-topbar-personal-avatar inline-flex justify-center items-center","user-id":p(a).id,"user-name":p(a).displayName,"background-color":"var(--oc-role-on-chrome)",color:"var(--oc-role-chrome)"},null,8,["user-id","user-name"])):(C(),z(_,{key:1,class:"oc-topbar-avatar inline-flex justify-center items-center",name:w.$gettext("User Menu login"),width:32,icon:"user","icon-fill-type":"line","icon-color":"var(--oc-role-on-surface)",background:"var(--oc-role-surface)"},null,8,["name"]))]),_:1},8,["aria-label"])),[[$,w.$gettext("My Account")]]),m[18]||(m[18]=b()),x(E,{title:w.$gettext("Account"),"drop-id":"account-info-container",toggle:"#_userMenuButton",mode:"click","close-on-click":"","padding-size":"small",class:"overflow-hidden"},{default:T(()=>[x(R,{class:"user-menu-list"},{default:T(()=>[p(a)?.onPremisesSamAccountName?(C(),O(ae,{key:1},[P("li",jI,[x(p(Ln),{"user-id":p(a).id,"user-name":p(a).displayName,color:"var(--oc-role-on-chrome)","background-color":"var(--oc-role-chrome)"},null,8,["user-id","user-name"]),m[6]||(m[6]=b()),P("span",{class:_e({"py-1":!p(a).mail})},[P("span",{class:"block",textContent:F(p(a).displayName)},null,8,HI),m[4]||(m[4]=b()),p(a).mail?(C(),O("span",{key:0,class:"text-sm",textContent:F(p(a).mail)},null,8,BI)):V("",!0),m[5]||(m[5]=b()),y.value?(C(),z(ap,{key:1,quota:y.value,class:"text-sm mt-1"},null,8,["quota"])):V("",!0)],2)]),m[9]||(m[9]=b()),P("li",qI,[x(g,{id:"oc-topbar-account-manage",type:"router-link","justify-content":"left",to:l.value,appearance:"raw"},{default:T(()=>[x(S,{name:"settings-4","fill-type":"line"}),m[7]||(m[7]=b()),P("span",{textContent:F(w.$gettext("Preferences"))},null,8,zI)]),_:1},8,["to"])]),m[10]||(m[10]=b()),P("li",VI,[x(g,{id:"oc-topbar-account-logout",appearance:"raw","justify-content":"left",onClick:m[0]||(m[0]=M=>p(o).logoutUser())},{default:T(()=>[x(S,{name:"logout-box-r","fill-type":"line"}),m[8]||(m[8]=b()),P("span",{textContent:F(w.$gettext("Log out"))},null,8,WI)]),_:1})])],64)):(C(),O(ae,{key:0},[P("li",OI,[x(g,{id:"oc-topbar-account-manage",type:"router-link",to:l.value,"justify-content":"left",appearance:"raw"},{default:T(()=>[x(S,{name:"settings-4","fill-type":"line",class:"p-1"}),m[1]||(m[1]=b()),P("span",{textContent:F(w.$gettext("Preferences"))},null,8,NI)]),_:1},8,["to"])]),m[3]||(m[3]=b()),P("li",MI,[x(g,{id:"oc-topbar-account-login",appearance:"raw","justify-content":"left",type:"router-link",to:c.value},{default:T(()=>[x(S,{name:"login-box","fill-type":"line",class:"p-1"}),m[2]||(m[2]=b()),P("span",{textContent:F(w.$gettext("Log in"))},null,8,DI)]),_:1},8,["to"])])],64))]),_:1}),m[17]||(m[17]=b()),f.value?(C(),O("div",GI,[u.value?(C(),z(g,{key:0,type:"a",appearance:"raw-inverse","color-role":"surface",href:u.value,target:"_blank","no-hover":""},{default:T(()=>[P("span",{textContent:F(w.$gettext("Imprint"))},null,8,KI)]),_:1},8,["href"])):V("",!0),m[15]||(m[15]=b()),d.value?(C(),O(ae,{key:1},[m[11]||(m[11]=P("span",null,"·",-1)),m[12]||(m[12]=b()),x(g,{type:"a",appearance:"raw-inverse","color-role":"surface",href:d.value,target:"_blank","no-hover":""},{default:T(()=>[P("span",{textContent:F(w.$gettext("Privacy"))},null,8,XI)]),_:1},8,["href"])],64)):V("",!0),m[16]||(m[16]=b()),h.value?(C(),O(ae,{key:2},[m[13]||(m[13]=P("span",null,"·",-1)),m[14]||(m[14]=b()),x(g,{type:"a",appearance:"raw-inverse","color-role":"surface",href:h.value,target:"_blank","no-hover":""},{default:T(()=>[P("span",{textContent:F(w.$gettext("Accessibility"))},null,8,YI)]),_:1},8,["href"])],64)):V("",!0)])):V("",!0)]),_:1},8,["title"])],8,LI)}}}),QI={props:{notificationCount:{type:Number,default:0}},setup(t){const{$gettext:e}=ce(),n=q(!1),s=I(()=>e("Notifications")),r=I(()=>t.notificationCount>99?"99+":`${t.notificationCount}`);return Ae(()=>t.notificationCount,()=>{n.value=!0,setTimeout(()=>{n.value=!1},600)}),{animate:n,notificationsLabel:s,notificationCountLabel:r}}},ZI=["textContent"];function eF(t,e,n,s,r,o){const i=L("oc-icon"),a=L("oc-button"),l=et("oc-tooltip");return Le((C(),z(a,{id:"oc-notifications-bell",class:"relative",appearance:"raw-inverse","color-role":"chrome","aria-label":s.notificationsLabel,"no-hover":""},{default:T(()=>[x(i,{class:"cursor-pointer flex items-center",name:"notification-3","fill-type":"line"}),e[0]||(e[0]=b()),n.notificationCount?(C(),O("span",{key:n.notificationCount,class:_e([{"animate-shake transform-[translate3d(0, 0, 0)]":s.animate},"badge absolute top-[-6px] right-[-9px] p-1 text-xs leading-2 font-light text-center bg-red-600 text-white rounded-4xl box-content min-w-2 h-2 shadow-sm"]),textContent:F(s.notificationCountLabel)},null,10,ZI)):V("",!0)]),_:1},8,["aria-label"])),[[l,s.notificationsLabel]])}const tF=ge(QI,[["render",eF]]),nF=3e4,sF={components:{UserAvatar:Ln,NotificationBell:tF},setup(){const t=xt(),e=ct(),n=Ye(),s=ce(),r=q([]),o=q(),i=I(()=>h.isRunning||f.isRunning),a=m=>Us(m,s.current),l=m=>ru(m,s.current),c=[{name:"user",labelAttribute:"displayname"},{name:"resource",labelAttribute:"name"},{name:"space",labelAttribute:"name"},{name:"virus",labelAttribute:"name"}],u=({message:m,messageRich:_,messageRichParameters:g})=>{if(_&&!Zc(g)){let S=_;for(const R of c)if(S.includes(`{${R.name}}`)){const E=g[R.name]??void 0;if(!E)return m;const $=E[R.labelAttribute]??void 0;if(!$)return m;S=S.replace(`{${R.name}}`,`${P_($)}`)}return S}return m},d=({messageRichParameters:m,object_type:_})=>{if(!m)return null;if(_==="share")return{name:"files-shares-with-me",...!!m?.share?.id&&{query:{scrollTo:m.share.id}}};if(_==="storagespace"&&m?.space?.id){const g=t.spaces.find(S=>S.fileId===m?.space?.id.split("!")[0]&&!S.disabled);if(g)return{name:"files-spaces-generic",...Ks(g,{path:"",fileId:g.fileId})}}return null},h=He(function*(m){try{const _=yield*$t(n.httpAuthenticated.get("ocs/v2.php/apps/notifications/api/v1/notifications",{signal:m}));if(_.headers.get("Content-Length")==="0")return;const{ocs:{data:g=[]}}=_.data;r.value=g?.sort((S,R)=>R.datetime.localeCompare(S.datetime))||[],p(r).forEach(S=>y(S))}catch(_){console.error(_)}}).restartable(),f=He(function*(m,_){try{yield n.httpAuthenticated.delete("ocs/v2.php/apps/notifications/api/v1/notifications",{data:{ids:_}},{signal:m})}catch(g){console.error(g)}finally{r.value=p(r).filter(g=>!_.includes(g.notification_id))}}).restartable(),y=m=>{m.computedMessage=u(m),m.computedLink=d(m)},w=m=>{try{const _=JSON.parse(m.data);if(!_||!_.notification_id)return;y(_),r.value=[_,...p(r)]}catch{console.error("Unable to parse sse notification data")}};return Me(()=>{h.perform(),p(e.supportSSE)?n.sseAuthenticated.addEventListener(ee.NOTIFICATION,w):o.value=setInterval(()=>{h.perform()},nF)}),Kn(()=>{p(e.supportSSE)?n.sseAuthenticated.removeEventListener(ee.NOTIFICATION,w):clearInterval(p(o))}),{notifications:r,fetchNotificationsTask:h,loading:i,deleteNotificationsTask:f,formatDate:a,formatDateRelative:l,getMessage:u,getLink:d}}},rF={id:"oc-notifications",class:"flex"},oF={class:"flex justify-end items-center mb-2"},iF=["textContent"],aF={class:"relative"},lF={key:0,class:"oc-notifications-loading"},cF=["textContent"],uF={key:0,class:"oc-notifications-subject"},dF=["textContent"],pF={key:1,class:"oc-notifications-message"},fF={key:2,class:"oc-notifications-link truncate w-sm"},hF=["href","textContent"],mF={key:3,class:"text-sm text-role-on-surface-variant mt-1"},gF=["textContent"],yF={key:0,class:"my-2"};function bF(t,e,n,s,r,o){const i=L("notification-bell"),a=L("oc-button"),l=L("oc-spinner"),c=L("user-avatar"),u=L("oc-list"),d=L("oc-drop"),h=et("oc-tooltip");return C(),O("div",rF,[x(i,{"notification-count":s.notifications.length},null,8,["notification-count"]),e[10]||(e[10]=b()),x(d,{title:t.$gettext("Notifications"),"drop-id":"oc-notifications-drop",toggle:"#oc-notifications-bell",mode:"click",class:"w-md max-w-full max-h-[400px] overflow-y-auto overflow-x-hidden",options:{pos:"bottom-right",delayHide:0},"padding-size":"small","is-menu":!1},{default:T(()=>[P("div",oF,[s.notifications.length?(C(),z(a,{key:0,class:"oc-notifications-mark-all",appearance:"raw","no-hover":"",onClick:e[0]||(e[0]=f=>s.deleteNotificationsTask.perform(s.notifications.map(y=>y.notification_id)))},{default:T(()=>[P("span",{class:"text-sm",textContent:F(t.$gettext("Mark all as read"))},null,8,iF)]),_:1})):V("",!0)]),e[9]||(e[9]=b()),P("div",aF,[s.loading?(C(),O("div",lF,[e[1]||(e[1]=P("div",{class:"size-full bg-role-surface absolute opacity-60"},null,-1)),e[2]||(e[2]=b()),x(l,{class:"absolute top-[50%] left-[50%] transform-[translate(-50%, -50%)] opacity-100",size:"large"})])):V("",!0),e[8]||(e[8]=b()),s.notifications.length?(C(),z(u,{key:2},{default:T(()=>[(C(!0),O(ae,null,$e(s.notifications,(f,y)=>(C(),O("li",{key:y,class:"oc-notifications-item [&>a]:text-role-on-surface z-1000 relative"},[(C(),z(Ot(f.computedLink?"router-link":"div"),{class:"flex items-center gap-2",to:f.computedLink},{default:T(()=>[x(c,{"user-id":f.messageRichParameters?.user?.id||f.user,"user-name":f.messageRichParameters?.user?.displayname||f.user},null,8,["user-id","user-name"]),e[6]||(e[6]=b()),P("div",null,[!f.message&&!f.messageRich?(C(),O("div",uF,[P("span",{textContent:F(f.subject)},null,8,dF)])):V("",!0),e[3]||(e[3]=b()),f.computedMessage?(C(),O("div",pF,[P("span",Et({ref_for:!0},{innerHTML:f.computedMessage}),null,16)])):V("",!0),e[4]||(e[4]=b()),f.link&&f.object_type!=="local_share"?(C(),O("div",fF,[P("a",{href:f.link,target:"_blank",textContent:F(f.link)},null,8,hF)])):V("",!0),e[5]||(e[5]=b()),f.datetime?(C(),O("div",mF,[Le(P("span",{tabindex:"0",textContent:F(s.formatDateRelative(f.datetime))},null,8,gF),[[h,s.formatDate(f.datetime)]])])):V("",!0)])]),_:2},1032,["to"])),e[7]||(e[7]=b()),y+1!==s.notifications.length?(C(),O("hr",yF)):V("",!0)]))),128))]),_:1})):(C(),O("span",{key:1,class:"oc-notifications-no-new",textContent:F(t.$gettext("Nothing new"))},null,8,cF))])]),_:1},8,["title"])])}const vF=ge(sF,[["render",bF]]),wF=Z({name:"FeedbackLink",props:{href:{type:String,required:!1,default:null},ariaLabel:{type:String,required:!1,default:null},description:{type:String,required:!1,default:null}},computed:{hrefOrFallback(){return this.href||"https://opencloud.eu/feedback-web"},ariaLabelOrFallback(){return this.ariaLabel||this.$gettext("Share improvement ideas")},descriptionOrFallback(){return this.description||this.$gettext("Share improvement ideas")}}}),_F={class:"flex"},SF=["textContent"];function EF(t,e,n,s,r,o){const i=L("oc-icon"),a=L("oc-button"),l=et("oc-tooltip");return C(),O("div",_F,[Le((C(),z(a,{type:"a",href:t.hrefOrFallback,target:"_blank",appearance:"raw-inverse","color-role":"chrome","aria-label":t.ariaLabelOrFallback,"aria-describedby":"oc-feedback-link-description","no-hover":""},{default:T(()=>[x(i,{name:"feedback","fill-type":"line"})]),_:1},8,["href","aria-label"])),[[l,t.descriptionOrFallback]]),e[0]||(e[0]=b()),P("p",{id:"oc-feedback-link-description",class:"sr-only",textContent:F(t.descriptionOrFallback)},null,8,SF)])}const xF=ge(wF,[["render",EF]]),CF=Z({__name:"SideBarToggle",setup(t){const{$gettext:e}=ce(),n=Jn(),{isSideBarOpen:s}=ue(n),r=I(()=>p(s)?"fill":"line"),o=I(()=>p(s)?e("Close sidebar to hide details"):e("Open sidebar to view details"));return(i,a)=>{const l=L("oc-icon"),c=L("oc-button"),u=et("oc-tooltip");return Le((C(),z(c,{id:"files-toggle-sidebar","aria-label":o.value,appearance:"raw-inverse","color-role":"chrome","no-hover":"",class:"my-2",onClick:a[0]||(a[0]=Ro(d=>p(n).toggleSideBar(),["stop"]))},{default:T(()=>[x(l,{name:"side-bar-right","fill-type":r.value},null,8,["fill-type"])]),_:1},8,["aria-label"])),[[u,o.value]])}}}),qe={login:"login",logout:"logout",oidcCallback:"oidcCallback",oidcSilentRedirect:"oidcSilentRedirect",resolvePrivateLink:"resolvePrivateLink",resolvePublicLink:"resolvePublicLink",resolvePublicOcmLink:"resolvePublicOcmLink",accessDenied:"accessDenied",account:"account",notFound:"notFound"},cl=t=>t,lp={id:"app.runtime.header.app-menu",extensionType:"appMenuItem",multiple:!0},ar={id:"app.runtime.preferences.panels",extensionType:"accountExtension",multiple:!0},wi={id:"app.runtime.global-progress-bar",extensionType:"customComponent",multiple:!1,defaultExtensionId:"com.github.opencloud-eu.web.runtime.default-progress-bar",userPreference:{label:cl("Global progress bar"),description:cl("Customize your progress bar")}},cp={id:"app.runtime.header.center",extensionType:"customComponent",multiple:!0},up={id:"app.runtime.header.left",extensionType:"customComponent",multiple:!0},dp={id:"app.runtime.header.right",extensionType:"customComponent",multiple:!0},AF=()=>I(()=>[lp,ar,wi,cp,up,dp]),PF=["aria-label"],TF={class:"flex items-center flex-start gap-2.5 sm:gap-5 col-1"},kF=["srcset"],RF={class:"topbar-center flex justify-end sm:justify-center col-2"},IF={class:"flex items-center justify-end gap-5 col-3"},FF=Z({__name:"TopBar",setup(t){const{$gettext:e}=ce(),n=ct(),s=Ue(),{currentTheme:r}=ue(s),o=nt(),{options:i}=ue(o),a=st(),l=ut(),c=tt(),{isEnabled:u}=Ys(),d=I(()=>a.requestExtensions(lp)),h=I(()=>p(i).hideLogo),f=I(()=>l.userContextReady&&n.notificationsOcsEndpoints.includes("list")),y=I(()=>l.publicLinkContextReady&&!l.userContextReady?{name:"resolvePublicLink",params:{token:l.publicLinkToken}}:"/"),w=E=>Object.values(qe).includes(E.name.toString()),m=I(()=>l.userContextReady||l.publicLinkContextReady),_=I(()=>w(p(c.currentRoute))),g=I(()=>e("Navigate to personal files page")),S=I(()=>!p(i).disableFeedbackLink),R=I(()=>{const E=p(i).feedbackLink;return!p(S)||!E?{}:{...E.href&&{href:E.href},...E.ariaLabel&&{ariaLabel:E.ariaLabel},...E.description&&{description:E.description}}});return(E,$)=>{const M=L("oc-image"),j=L("router-link");return C(),O("header",{id:"oc-topbar",class:"sticky my-1 grid z-50 items-center px-4 h-auto sm:h-13 sm:gap-10 grid-rows-[52px_auto] grid-cols-[auto_9fr_1fr]","aria-label":p(e)("Top bar")},[P("div",TF,[d.value.length&&!p(u)?(C(),z(kI,{key:0,"menu-items":d.value},null,8,["menu-items"])):V("",!0),$[1]||($[1]=b()),h.value?V("",!0):(C(),z(j,{key:1,to:y.value,class:"w-full oc-logo-href"},{default:T(()=>[P("picture",null,[P("source",{srcset:p(r).logoMobile||p(r).logo,media:"(max-width: 959px)"},null,8,kF),$[0]||($[0]=b()),x(M,{src:p(r).logo,alt:g.value,class:"oc-logo-image align-middle ml-1 max-h-[26px] select-none"},null,8,["src","alt"])])]),_:1},8,["to"]))]),$[6]||($[6]=b()),P("div",RF,[x(p(Ft),{"extension-point":p(cp)},null,8,["extension-point"])]),$[7]||($[7]=b()),P("div",IF,[p(u)?V("",!0):(C(),O(ae,{key:0},[x(p(Ft),{"extension-point":p(dp)},null,8,["extension-point"]),$[2]||($[2]=b()),S.value?(C(),z(xF,Dl(Et({key:0},R.value)),null,16)):V("",!0),$[3]||($[3]=b()),f.value?(C(),z(vF,{key:1})):V("",!0),$[4]||($[4]=b()),m.value?(C(),z(CF,{key:2,disabled:_.value,class:"hidden sm:flex"},null,8,["disabled"])):V("",!0),$[5]||($[5]=b()),x(JI)],64))]),$[8]||($[8]=b()),x(p(Ft),{"extension-point":p(up)},null,8,["extension-point"])],8,PF)}}}),$F=ge(FF,[["__scopeId","data-v-172df222"]]),UF=Z({__name:"MessageBar",setup(t){const e=dt(),n=I(()=>e.messages?e.messages.slice(0,5):[]),s=o=>{e.removeMessage(o)},r=o=>o.actions?.filter(i=>i.isVisible(o.actionOptions))||[];return(o,i)=>{const a=L("oc-list"),l=L("oc-notification-message"),c=L("oc-notifications");return C(),z(c,{class:_e({"mb-2":n.value.length})},{default:T(()=>[(C(!0),O(ae,null,$e(n.value,u=>(C(),z(l,{key:u.id,title:u.title,message:u.desc,status:u.status,timeout:u.timeout,"error-log-content":u.errorLogContent,"show-info-icon":!1,onClose:d=>s(u)},{actions:T(()=>[r(u).length?(C(),z(a,{key:0,class:"flex gap-2 mt-3 w-full"},{default:T(()=>[(C(!0),O(ae,null,$e(r(u),(d,h)=>(C(),z(p(ou),{key:h,action:d,"action-options":u.actionOptions,size:"small",appearance:"outline","shortcut-hint":!1},null,8,["action","action-options"]))),128))]),_:2},1024)):V("",!0)]),_:2},1032,["title","message","status","timeout","error-log-content","onClose"]))),128))]),_:1},8,["class"])}}}),LF=Z({props:{name:{type:String,required:!0},active:{type:Boolean,required:!1,default:!1},target:{type:[String,Object],required:!1,default:null},icon:{type:String,required:!0},fillType:{type:String,required:!1,default:"fill"},collapsed:{type:Boolean,required:!1,default:!1},handler:{type:Function,required:!1,default:null}},setup(t){const e=tt(),n=I(()=>({...t.handler&&{onClick:t.handler},...t.target&&{to:t.target}})),s=I(()=>t.target?e?.resolve(t.target,p(e.currentRoute))?.name||"route.name":t.name);return{attrs:n,navName:s}}}),OF=["aria-current"],NF={class:"flex"},MF=["textContent"];function DF(t,e,n,s,r,o){const i=L("oc-icon"),a=L("oc-button");return C(),O("li",{class:"oc-sidebar-nav-item pb-1 px-2","aria-current":t.active?"page":null},[x(a,Et({type:t.handler?"button":"router-link",appearance:t.active?"filled":"raw-inverse","color-role":"surface","justify-content":"space-between",class:["oc-sidebar-nav-item-link","relative","w-full","whitespace-nowrap","px-2","py-3","opacity-100","select-none","rounded-xl",{"active overflow-hidden outline":t.active},{"hover:bg-role-surface-container-highest focus:bg-role-surface-container-highest":!t.active}],"data-nav-name":t.navName,"aria-label":t.collapsed?t.$gettext("Navigate to %{ pageName } page",{pageName:t.name}):void 0},t.attrs),{default:T(()=>[P("span",NF,[x(i,{name:t.icon,"fill-type":t.fillType},null,8,["name","fill-type"]),e[0]||(e[0]=b()),P("span",{class:_e(["ml-4 text font-bold",{"text-invisible opacity-0":t.collapsed}]),textContent:F(t.name)},null,10,MF)])]),_:1},16,["type","appearance","class","data-nav-name","aria-label"])],8,OF)}const jF=ge(LF,[["render",DF]]),HF={id:"web-nav-sidebar",class:"bg-role-surface-container z-40 flex flex-col rounded-l-xl overflow-hidden transition-all duration-350 ease-[cubic-bezier(0.34,0.11,0,1.12)] max-w-[230px] min-w-[230px]"},BF={class:"flex flex-col gap-2 grow"},qF=["aria-label"],zF={class:"flex flex-col gap-2"},VF={class:"flex flex-col pb-4 px-4 text-xs text-role-on-surface-variant"},WF=["textContent"],GF=Z({__name:"SidebarNav",props:{navItems:{}},setup(t){const e=ct(),n=I(()=>Qs({capabilityStore:e})),s=Xs(),r=I(()=>({id:`app.${p(s)}.sidebar-nav.main`,extensionType:"customComponent"})),o=I(()=>({id:`app.${p(s)}.sidebar-nav.bottom`,extensionType:"customComponent"}));return(i,a)=>{const l=L("oc-list");return C(),O("div",HF,[P("div",BF,[P("nav",{class:"oc-sidebar-nav px-1","aria-label":i.$gettext("Sidebar navigation menu")},[x(ip),a[0]||(a[0]=b()),x(l,{class:"relative"},{default:T(()=>[(C(!0),O(ae,null,$e(t.navItems,(c,u)=>(C(),z(jF,{key:u,target:c.route,active:c.active,icon:c.icon,"fill-type":c.fillType||"line",name:c.name,handler:c.handler},null,8,["target","active","icon","fill-type","name","handler"]))),128))]),_:1})],8,qF),a[1]||(a[1]=b()),x(p(Ft),{"extension-point":r.value},null,8,["extension-point"])]),a[4]||(a[4]=b()),P("div",zF,[x(p(Ft),{"extension-point":o.value},null,8,["extension-point"]),a[3]||(a[3]=b()),P("div",VF,[P("span",{textContent:F(n.value)},null,8,WF),a[2]||(a[2]=b()),x(p(lu))])])])}}}),KF=Z({components:{ResourceListItem:du,ResourceIcon:uu,ResourceName:pu},setup(){const t=ac("$uppyService"),e=nt(),{options:n}=ue(e),s=q(!1),r=q(!1),o=q({}),i=q({}),a=q([]),l=q(0),c=q(0),u=q(!1),d=q(!1),h=q(!1),f=q(!0),y=q(0),w=q(0),m=q(0),_=q(0),g=q({}),S=q(null),R=q(void 0),E=q(!1),$=M=>{p(y)&&M.preventDefault()};return Ae(y,M=>M===0?window.removeEventListener("beforeunload",$):window.addEventListener("beforeunload",$)),{configOptions:n,showInfo:s,infoExpanded:r,uploads:o,errors:i,successful:a,itemsInProgressCount:l,totalProgress:c,uploadsPaused:u,uploadsCancelled:d,inFinalization:h,inPreparation:f,runningUploads:y,bytesTotal:w,bytesUploaded:m,uploadSpeed:_,filesInEstimation:g,timeStarted:S,remainingTime:R,disableActions:E,uppyService:t}},computed:{uploadDetails(){if(!this.uploadSpeed||!this.runningUploads)return"";const t=It(this.bytesUploaded,this.$language.current),e=It(this.bytesTotal,this.$language.current),n=It(this.uploadSpeed,this.$language.current);return this.$gettext("%{uploadedBytes} of %{totalBytes} (%{currentUploadSpeed}/s)",{uploadedBytes:t,totalBytes:e,currentUploadSpeed:n})},uploadInfoTitle(){return this.inFinalization?this.$gettext("Finalizing upload..."):this.itemsInProgressCount&&!this.inPreparation?this.$ngettext("%{ filesInProgressCount } item uploading...","%{ filesInProgressCount } items uploading...",this.itemsInProgressCount,{filesInProgressCount:this.itemsInProgressCount.toString()}):this.uploadsCancelled?this.$gettext("Upload cancelled"):Object.keys(this.errors).length?this.$gettext("Upload failed"):this.runningUploads?this.$gettext("Preparing upload..."):this.$gettext("Upload completed")},uploadingLabel(){if(Object.keys(this.errors).length){const t=this.successful.length+Object.keys(this.errors).length;return this.$ngettext("%{ errors } of %{ uploads } item failed","%{ errors } of %{ uploads } items failed",t,{uploads:t.toString(),errors:Object.keys(this.errors).length.toString()})}return this.$ngettext("%{ successfulUploads } item uploaded","%{ successfulUploads } items uploaded",this.successful.length,{successfulUploads:this.successful.length.toString()})},uploadsPausable(){return this.uppyService.tusActive()},showErrorLog(){return this.infoExpanded&&this.uploadErrorLogContent},uploadErrorLogContent(){return Object.values(this.errors).reduce((e,n)=>{const s=n.originalRequest?._headers?.["X-Request-ID"];return s&&e.push(s),e},[]).map(e=>`X-Request-Id: ${e}`).join(`\r +`)}},created(){this.uppyService.subscribe("uploadStarted",()=>{this.remainingTime||(this.remainingTime=this.$gettext("Calculating estimated time...")),!this.runningUploads&&this.showInfo&&this.cleanOverlay(),this.showInfo=!0,this.runningUploads+=1,this.inFinalization=!1}),this.uppyService.subscribe("addedForUpload",t=>{this.itemsInProgressCount+=t.filter(e=>!e.meta.relativeFolder).length;for(const e of t){!this.disableActions&&e.isRemote&&(this.disableActions=!0),e.data?.size&&(this.bytesTotal+=e.data.size);const{relativeFolder:n,uploadId:s,topLevelFolderId:r}=e.meta,o=!n;o&&(this.uploads[s]=e,e.meta.isFolder&&this.uploads[s].filesCount===void 0&&(this.uploads[s].filesCount=0,this.uploads[s].errorCount=0,this.uploads[s].successCount=0)),!e.meta.isFolder&&!o&&this.uploads[r]&&(this.uploads[r].filesCount+=1)}}),this.uppyService.subscribe("uploadCompleted",()=>{this.runningUploads-=1,this.runningUploads||this.resetProgress()}),this.uppyService.subscribe("progress",t=>{this.totalProgress=t}),this.uppyService.subscribe("upload-progress",({file:t,progress:e})=>{this.timeStarted||(this.timeStarted=new Date,this.inPreparation=!1),this.filesInEstimation[t.meta.uploadId]===void 0&&(this.filesInEstimation[t.meta.uploadId]=0);const n=e.bytesUploaded-this.filesInEstimation[t.meta.uploadId];this.bytesUploaded+=n,this.filesInEstimation[t.meta.uploadId]=e.bytesUploaded;const s=+new Date().getTime()-this.timeStarted.getTime();this.uploadSpeed=IC({bytesUploaded:this.bytesUploaded,uploadStarted:this.timeStarted.getTime(),bytesTotal:this.bytesTotal});const r=100*this.bytesUploaded/this.bytesTotal;if(r===0)return;const i=s/r*100-s;this.remainingTime=this.getRemainingTime(i),r===100&&(this.inFinalization=!0)}),this.uppyService.subscribe("uploadError",({file:t,error:e})=>{this.errors[t.meta.uploadId]||(this.uploads[t.meta.uploadId]||(this.uploads[t.meta.uploadId]=t),t.meta.relativePath?this.uploads[t.meta.uploadId].path=t.meta.relativePath:this.uploads[t.meta.uploadId].path=se(t.meta.currentFolder,t.name),this.uploads[t.meta.uploadId].targetRoute=this.buildRouteFromUppyResource(t),this.uploads[t.meta.uploadId].status="error",this.errors[t.meta.uploadId]=e,t.meta.isFolder||(!t.meta.relativeFolder&&this.itemsInProgressCount>0&&(this.itemsInProgressCount-=1),t.meta.topLevelFolderId&&this.handleTopLevelFolderUpdate(t,"error")))}),this.uppyService.subscribe("uploadSuccess",t=>{if(!this.uploads[t.meta.uploadId]||t.meta.relativeFolder){!t.meta.isFolder&&t.meta.topLevelFolderId&&this.handleTopLevelFolderUpdate(t,"success"),this.uploads[t.meta.uploadId]&&delete this.uploads[t.meta.uploadId];return}this.uploads[t.meta.uploadId]=t,this.uploads[t.meta.uploadId].path=se(t.meta.currentFolder,t.name),this.uploads[t.meta.uploadId].targetRoute=this.buildRouteFromUppyResource(t),this.uploads[t.meta.uploadId].status="success",this.successful.push(t.meta.uploadId),!t.meta.isFolder&&this.itemsInProgressCount>0&&(this.itemsInProgressCount-=1)})},methods:{getRemainingTime(t){const e=Math.round(t/1e3/60);if(e>=1&&e<60)return this.$ngettext("%{ roundedRemainingMinutes } minute left","%{ roundedRemainingMinutes } minutes left",e,{roundedRemainingMinutes:e.toString()});const n=Math.round(t/1e3/60/60);return n>0?this.$ngettext("%{ roundedRemainingHours } hour left","%{ roundedRemainingHours } hours left",n,{roundedRemainingHours:n.toString()}):this.$gettext("Few seconds left")},handleTopLevelFolderUpdate(t,e){const n=this.uploads[t.meta.topLevelFolderId];e==="success"?n.successCount+=1:n.errorCount+=1,n.successCount+n.errorCount===n.filesCount&&(n.status=n.errorCount?"error":"success",this.itemsInProgressCount-=1)},closeInfo(){this.showInfo=!1,this.infoExpanded=!1,this.cleanOverlay(),this.resetProgress(),this.runningUploads||this.uppyService.removeFailedFiles()},cleanOverlay(){this.uploadsCancelled=!1,this.uploads={},this.errors={},this.successful=[],this.itemsInProgressCount=0,this.runningUploads=0,this.disableActions=!1},resetProgress(){this.bytesTotal=0,this.bytesUploaded=0,this.filesInEstimation={},this.timeStarted=null,this.remainingTime=void 0,this.inPreparation=!0,this.inFinalization=!1,this.uploadsPaused=!1},displayFileAsResource(t){return!!t.targetRoute},isResourceClickable(t){return t.meta.isFolder===!0},resourceLink(t){return t.meta.isFolder?{...t.targetRoute,params:{...t.targetRoute.params,driveAliasAndItem:se(ke(t.targetRoute.params.driveAliasAndItem),t.name,{leadingSlash:!1})},query:{...t.targetRoute.query,...this.configOptions.routing.idBased&&!xi(t.meta.fileId)&&{fileId:t.meta.fileId}}}:{}},parentFolderLink(t){return{...t.targetRoute,query:{...t.targetRoute.query,...this.configOptions.routing.idBased&&!xi(t.meta.currentFolderId)&&{fileId:t.meta.currentFolderId}}}},buildRouteFromUppyResource(t){return t.meta.routeName?{name:t.meta.routeName,params:{driveAliasAndItem:t.meta.routeDriveAliasAndItem},query:{...t.meta.routeShareId&&{shareId:t.meta.routeShareId}}}:null},parentFolderName(t){const{meta:{spaceName:e,driveType:n}}=t,s=jc(t);return s||(n==="personal"?this.$gettext("Personal"):n==="public"?this.$gettext("Public link"):e)},toggleInfo(){this.infoExpanded=!this.infoExpanded},retryUploads(){this.itemsInProgressCount+=Object.keys(this.errors).length,this.runningUploads+=1;for(const t of Object.keys(this.errors)){this.uploads[t].status=void 0;const e=this.uploads[t].meta.topLevelFolderId;e&&(this.uploads[e].status=void 0,this.uploads[e].errorCount=0)}this.errors={},this.uppyService.retryAllUploads()},togglePauseUploads(){this.uploadsPaused?(this.uppyService.resumeAllUploads(),this.timeStarted=null):this.uppyService.pauseAllUploads(),this.uploadsPaused=!this.uploadsPaused},cancelAllUploads(){this.uploadsCancelled=!0,this.itemsInProgressCount=0,this.runningUploads=0,this.resetProgress(),this.uppyService.cancelAllUploads();const t=Object.values(this.uploads).filter(e=>e.status!=="success"&&e.status!=="error");for(const e of t)this.uploads[e.meta.uploadId].status="cancelled"},getUploadItemMessage(t){const e=this.errors[t.meta.uploadId];if(!e)return;const s=(r=>{const o=r.match(/response code: (\d+)/)?.[1],i=JSON.parse(r.match(/response text: ([\s\S]+?), request id/)?.[1]||"{}");return{responseCode:o?parseInt(o):null,errorCode:i?.error?.code,errorMessage:i?.error?.message}})(e.message);return this.errors[t.meta.uploadId]?.statusCode===423?this.$gettext("The folder you're uploading to is locked"):s.responseCode===507?this.$gettext("Quota exceeded"):s.errorMessage?this.$gettext(s.errorMessage):this.$gettext("Unknown error")},getUploadItemClass(t){return this.errors[t.meta.uploadId]?"upload-info-danger text-role-error":"upload-info-success"}}}),XF={key:0,id:"upload-info",class:"rounded-xl shadow-md/20 bg-role-surface mx-auto sm:m-0 w-full sm:w-md max-w-lg [&_.oc-resource-details]:pl-1"},YF={class:"upload-info-title flex justify-between items-center px-4 py-2 rounded-t-xl"},JF=["textContent"],QF={key:0,class:"flex items-center"},ZF=["textContent"],e$={class:"flex"},t$={key:0,class:"upload-info-progress mx-4 pb-4 mt-2 oc-text"},n$={class:"oc-list"},s$={class:"flex items-center"},r$={key:4,class:"flex"},o$={key:6,class:"flex items-center truncate"},i$=["textContent"];function a$(t,e,n,s,r,o){const i=L("oc-icon"),a=L("oc-button"),l=L("oc-spinner"),c=L("oc-progress"),u=L("resource-list-item"),d=L("resource-icon"),h=L("resource-name"),f=L("oc-error-log"),y=et("oc-tooltip");return t.showInfo?(C(),O("div",XF,[P("div",YF,[Le(P("p",{class:"my-1 font-bold",textContent:F(t.uploadInfoTitle)},null,8,JF),[[y,t.uploadDetails]]),e[0]||(e[0]=b()),t.itemsInProgressCount?V("",!0):(C(),z(a,{key:0,id:"close-upload-info-btn","aria-label":t.$gettext("Close"),appearance:"raw",class:"p-1 raw-hover-surface",onClick:t.closeInfo},{default:T(()=>[x(i,{name:"close"})]),_:1},8,["aria-label","onClick"]))]),e[9]||(e[9]=b()),P("div",{class:_e(["px-4 pt-4 flex justify-between items-center",{"pb-4":!t.runningUploads}])},[t.runningUploads?(C(),O("div",QF,[t.uploadsPaused?(C(),z(i,{key:0,name:"pause",size:"small",class:"mr-1"})):(C(),z(l,{key:1,size:"small",class:"mr-1"})),e[1]||(e[1]=b()),P("span",{class:"text-sm text-role-on-surface-variant leading-7",textContent:F(t.remainingTime)},null,8,ZF)])):(C(),O("div",{key:1,class:_e(["upload-info-label",{"upload-info-danger text-role-error":Object.keys(t.errors).length&&!t.uploadsCancelled,"upload-info-success":!Object.keys(t.errors).length&&!t.uploadsCancelled}])},F(t.uploadingLabel),3)),e[5]||(e[5]=b()),P("div",e$,[x(a,{appearance:"raw",class:"text-role-on-surface-variant text-sm upload-info-toggle-details-btn","no-hover":"",onClick:t.toggleInfo},{default:T(()=>[b(F(t.infoExpanded?t.$gettext("Hide details"):t.$gettext("Show details")),1)]),_:1},8,["onClick"]),e[2]||(e[2]=b()),!t.runningUploads&&Object.keys(t.errors).length&&!t.disableActions?Le((C(),z(a,{key:0,class:"ml-1 p-1",appearance:"raw","aria-label":t.$gettext("Retry all failed uploads"),onClick:t.retryUploads},{default:T(()=>[x(i,{name:"restart","fill-type":"line"})]),_:1},8,["aria-label","onClick"])),[[y,t.$gettext("Retry all failed uploads")]]):V("",!0),e[3]||(e[3]=b()),t.runningUploads&&t.uploadsPausable&&!t.inPreparation&&!t.inFinalization&&!t.disableActions?Le((C(),z(a,{key:1,id:"pause-upload-info-btn",class:"ml-1 p-1",appearance:"raw","aria-label":t.uploadsPaused?t.$gettext("Resume upload"):t.$gettext("Pause upload"),onClick:t.togglePauseUploads},{default:T(()=>[x(i,{name:t.uploadsPaused?"play-circle":"pause-circle","fill-type":"line"},null,8,["name"])]),_:1},8,["aria-label","onClick"])),[[y,t.uploadsPaused?t.$gettext("Resume upload"):t.$gettext("Pause upload")]]):V("",!0),e[4]||(e[4]=b()),t.runningUploads&&!t.inPreparation&&!t.inFinalization&&!t.disableActions?Le((C(),z(a,{key:2,id:"cancel-upload-info-btn",class:"ml-1 p-1",appearance:"raw","aria-label":t.$gettext("Cancel upload"),onClick:t.cancelAllUploads},{default:T(()=>[x(i,{name:"close-circle","fill-type":"line"})]),_:1},8,["aria-label","onClick"])),[[y,t.$gettext("Cancel upload")]]):V("",!0)])],2),e[10]||(e[10]=b()),t.runningUploads?(C(),O("div",t$,[x(c,{value:t.totalProgress,max:100,size:"small",indeterminate:!t.itemsInProgressCount},null,8,["value","indeterminate"])])):V("",!0),e[11]||(e[11]=b()),t.infoExpanded?(C(),O("div",{key:1,class:_e(["upload-info-items px-4 pb-4 max-h-[50vh] overflow-y-auto",{"max-h-[calc(50vh-100px)]":t.showErrorLog}])},[P("ul",n$,[(C(!0),O(ae,null,$e(t.uploads,(w,m)=>(C(),O("li",{key:m},[P("span",s$,[w.status==="error"?(C(),z(i,{key:0,name:"close",size:"small",color:"var(--oc-role-error)"})):w.status==="success"?(C(),z(i,{key:1,name:"check",size:"small"})):w.status==="cancelled"?(C(),z(i,{key:2,name:"close",size:"small"})):t.uploadsPaused?(C(),z(i,{key:3,name:"pause",size:"small"})):(C(),O("div",r$,[x(l,{size:"small"})])),e[7]||(e[7]=b()),t.displayFileAsResource(w)?(C(),z(u,{key:w.path,class:"ml-2",resource:w,"is-path-displayed":!0,"is-resource-clickable":t.isResourceClickable(w),"parent-folder-name":t.parentFolderName(w),link:t.resourceLink(w),"parent-folder-link":t.parentFolderLink(w)},null,8,["resource","is-resource-clickable","parent-folder-name","link","parent-folder-link"])):(C(),O("span",o$,[x(d,{resource:w,size:"large",class:"file_info__icon mx-2"},null,8,["resource"]),e[6]||(e[6]=b()),x(h,{name:w.name,extension:w.extension,type:w.type,"full-path":"","is-path-displayed":!1},null,8,["name","extension","type"])]))]),e[8]||(e[8]=b()),t.getUploadItemMessage(w)?(C(),O("span",{key:0,class:_e(["upload-info-message ml-1 text-sm",t.getUploadItemClass(w)]),textContent:F(t.getUploadItemMessage(w))},null,10,i$)):V("",!0)]))),128))])],2)):V("",!0),e[12]||(e[12]=b()),t.showErrorLog?(C(),z(f,{key:2,class:"upload-info-error-log pt-4 pb-4 px-4",content:t.uploadErrorLogContent},null,8,["content"])):V("",!0)])):V("",!0)}const l$=ge(KF,[["render",a$]]),c$={id:"web-content",class:"flex flex-col flex-nowrap h-dvh"},u$={id:"global-progress-bar",class:"w-full absolute top-0 z-100"},d$={id:"web-content-header",class:"shrink basis-auto grow-0"},p$={key:0,class:"bg-role-surface-container text-center py-4"},f$=["textContent"],h$={id:"web-content-main",class:"flex flex-col items-start justify-start grow shrink basis-auto px-2 pb-2 overflow-y-hidden"},m$={class:"app-container flex bg-role-surface-container rounded-xl size-full overflow-hidden"},g$={class:"snackbars absolute inset-x-[20px] sm:left-auto bottom-[20px] z-[calc(var(--z-index-modal)+1)]"},ul=640,y$=Z({__name:"Application",setup(t){const{$gettext:e}=ce(),{navItems:n}=vc(),{requestExtensions:s}=st(),r=Xs(),o=Oo("authContext"),{areSpacesLoading:i}=pc(),a=I(()=>["anonymous","idp"].includes(p(o))?!1:p(i)),l=q(window.innerWidth{l.value=window.innerWidth!!s({id:`app.${p(r)}.floating-action-button`,extensionType:"floatingActionButton"}).filter(({isVisible:w})=>!w||w()).length),d=I(()=>{const w={id:`app.${p(r)}.sidebar-nav.main`,extensionType:"customComponent"},m={id:`app.${p(r)}.sidebar-nav.bottom`,extensionType:"customComponent"};return s(w).length>0||s(m).length>0}),h=I(()=>!p(l)&&(p(n).length||p(u)||p(d))),f=!!window.MSInputMethodContext&&!!document.documentMode,y=I(()=>e("Internet Explorer (your current browser) is not officially supported. For security reasons, please switch to another browser."));return Me(async()=>{await Vs(),window.addEventListener("resize",c),c()}),zt(()=>{window.removeEventListener("resize",c)}),(w,m)=>{const _=L("router-view");return C(),O("div",c$,[P("div",u$,[x(p(Ft),{"extension-point":p(wi)},null,8,["extension-point"])]),m[9]||(m[9]=b()),P("div",d$,[p(f)?(C(),O("div",p$,[P("p",{class:"m-0",textContent:F(y.value)},null,8,f$)])):V("",!0),m[0]||(m[0]=b()),x($F)]),m[10]||(m[10]=b()),P("div",h$,[P("div",m$,[a.value?(C(),z(p(Js),{key:0})):(C(),O(ae,{key:1},[h.value?(C(),z(GF,{key:0,"nav-items":p(n)},null,8,["nav-items"])):V("",!0),m[1]||(m[1]=b()),(C(),O(ae,null,$e(["default","app","fullscreen"],g=>x(_,{key:`router-view-${g}`,class:"app-content border w-full bg-role-surface rounded-l-xl transition-all duration-350 ease-[cubic-bezier(0.34,0.11,0,1.12)]",name:g},null,8,["name"])),64))],64))]),m[2]||(m[2]=b()),m[3]||(m[3]=P("div",{id:"app-runtime-bottom-drawer"},null,-1)),m[4]||(m[4]=b()),m[5]||(m[5]=P("div",{id:"mobile-right-sidebar"},null,-1)),m[6]||(m[6]=b()),m[7]||(m[7]=P("div",{id:"app-runtime-footer",class:"w-full"},null,-1))]),m[11]||(m[11]=b()),P("div",g$,[x(UF),m[8]||(m[8]=b()),x(l$)])])}}}),b$=t=>{const e=t?.router||tt(),n=I(()=>{const r=["login","logout","oidcCallback","oidcSilentRedirect","resolvePublicLink","accessDenied"];return!p(e.currentRoute).name||r.includes(p(e.currentRoute).name)?"plain":"application"}),s=I(()=>p(n)==="application"?y$:EI);return{layoutType:n,layout:s}},v$=new Set(["title","titleTemplate","script","style","noscript"]),Ps=new Set(["base","meta","link","style","script","noscript"]),w$=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),_$=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),pp=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),S$=typeof window<"u";function Hs(t){let e=9;for(let n=0;n>>9)+65536).toString(16).substring(1,8).toLowerCase()}function So(t){if(t._h)return t._h;if(t._d)return Hs(t._d);let e=`${t.tag}:${t.textContent||t.innerHTML||""}:`;for(const n in t.props)e+=`${n}:${String(t.props[n])},`;return Hs(e)}function E$(t,e){return t instanceof Promise?t.then(e):e(t)}function Eo(t,e,n,s){const r=s||hp(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:e},t==="templateParams"||t==="titleTemplate");if(r instanceof Promise)return r.then(i=>Eo(t,e,n,i));const o={tag:t,props:r};for(const i of pp){const a=o.props[i]!==void 0?o.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||v$.has(o.tag))&&(o[i==="children"?"innerHTML":i]=a),delete o.props[i])}return o.props.body&&(o.tagPosition="bodyClose",delete o.props.body),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(i=>({...o,props:{...o.props,content:i}})):o}function x$(t,e){const n=t==="class"?" ":";";return e&&typeof e=="object"&&!Array.isArray(e)&&(e=Object.entries(e).filter(([,s])=>s).map(([s,r])=>t==="style"?`${s}:${r}`:s)),String(Array.isArray(e)?e.join(n):e)?.split(n).filter(s=>!!s.trim()).join(n)}function fp(t,e,n,s){for(let r=s;r(t[o]=i,fp(t,e,n,r)));if(!e&&!pp.has(o)){const i=String(t[o]),a=o.startsWith("data-");i==="true"||i===""?t[o]=a?"true":!0:t[o]||(a&&i==="false"?t[o]="false":delete t[o])}}}function hp(t,e=!1){const n=fp(t,e,Object.keys(t),0);return n instanceof Promise?n.then(()=>t):t}const C$=10;function mp(t,e,n){for(let s=n;s(e[s]=o,mp(t,e,s)));Array.isArray(r)?t.push(...r):t.push(r)}}function A$(t){const e=[],n=t.resolvedInput;for(const r in n){if(!Object.prototype.hasOwnProperty.call(n,r))continue;const o=n[r];if(!(o===void 0||!w$.has(r))){if(Array.isArray(o)){for(const i of o)e.push(Eo(r,i,t));continue}e.push(Eo(r,o,t))}}if(e.length===0)return[];const s=[];return E$(mp(s,e,0),()=>s.map((r,o)=>(r._e=t._i,t.mode&&(r._m=t.mode),r._p=(t._i<{if(a===vt||!o.includes(a))return a;const l=k$(e,a.slice(1),s);return l!==void 0?l:a}).trim(),i&&(t.endsWith(vt)&&(t=t.slice(0,-vt.length)),t.startsWith(vt)&&(t=t.slice(vt.length)),t=t.replace(R$,n).trim()),t}function hl(t,e){return t==null?e||null:typeof t=="function"?t(e):t}async function I$(t,e={}){const n=e.document||t.resolvedOptions.document;if(!n||!t.dirty)return;const s={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return t._domUpdatePromise||(t._domUpdatePromise=new Promise(async r=>{const o=(await t.resolveTags()).map(d=>({tag:d,id:Ps.has(d.tag)?So(d):d.tag,shouldRender:!0}));let i=t._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=new Set;for(const h of["body","head"]){const f=n[h]?.children;for(const y of f){const w=y.tagName.toLowerCase();if(!Ps.has(w))continue;const m={tag:w,props:await hp(y.getAttributeNames().reduce((R,E)=>({...R,[E]:y.getAttribute(E)}),{})),innerHTML:y.innerHTML},_=gp(m);let g=_,S=1;for(;g&&d.has(g);)g=`${_}:${S++}`;g&&(m._d=g,d.add(g)),i.elMap[y.getAttribute("data-hid")||So(m)]=y}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(d,h,f){const y=`${d}:${h}`;i.sideEffects[y]=f,delete i.pendingSideEffects[y]}function l({id:d,$el:h,tag:f}){const y=f.tag.endsWith("Attrs");if(i.elMap[d]=h,y||(f.textContent&&f.textContent!==h.textContent&&(h.textContent=f.textContent),f.innerHTML&&f.innerHTML!==h.innerHTML&&(h.innerHTML=f.innerHTML),a(d,"el",()=>{i.elMap[d]?.remove(),delete i.elMap[d]})),f._eventHandlers)for(const w in f._eventHandlers)Object.prototype.hasOwnProperty.call(f._eventHandlers,w)&&h.getAttribute(`data-${w}`)!==""&&((f.tag==="bodyAttrs"?n.defaultView:h).addEventListener(w.substring(2),f._eventHandlers[w].bind(h)),h.setAttribute(`data-${w}`,""));for(const w in f.props){if(!Object.prototype.hasOwnProperty.call(f.props,w))continue;const m=f.props[w],_=`attr:${w}`;if(w==="class"){if(!m)continue;for(const g of m.split(" "))y&&a(d,`${_}:${g}`,()=>h.classList.remove(g)),!h.classList.contains(g)&&h.classList.add(g)}else if(w==="style"){if(!m)continue;for(const g of m.split(";")){const S=g.indexOf(":"),R=g.substring(0,S).trim(),E=g.substring(S+1).trim();a(d,`${_}:${R}`,()=>{h.style.removeProperty(R)}),h.style.setProperty(R,E)}}else h.getAttribute(w)!==m&&h.setAttribute(w,m===!0?"":String(m)),y&&a(d,_,()=>h.removeAttribute(w))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of o){const{tag:h,shouldRender:f,id:y}=d;if(f){if(h.tag==="title"){n.title=h.textContent;continue}d.$el=d.$el||i.elMap[y],d.$el?l(d):Ps.has(h.tag)&&c.push(d)}}for(const d of c){const h=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),l(d),u[h]=u[h]||n.createDocumentFragment(),u[h].appendChild(d.$el)}for(const d of o)await t.hooks.callHook("dom:renderTag",d,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const d in i.pendingSideEffects)i.pendingSideEffects[d]();t._dom=i,await t.hooks.callHook("dom:rendered",{renders:o}),r()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function F$(t,e={}){const n=e.delayFn||(s=>setTimeout(s,10));return t._domDebouncedUpdatePromise=t._domDebouncedUpdatePromise||new Promise(s=>n(()=>I$(t,e).then(()=>{delete t._domDebouncedUpdatePromise,s()})))}function $$(t){return e=>{const n=e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return n&&e.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":s=>{F$(s,t)}}}}}const U$=new Set(["templateParams","htmlAttrs","bodyAttrs"]),L$={hooks:{"tag:normalise":({tag:t})=>{t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.key&&(t.key=t.props.key,delete t.props.key);const e=gp(t);e&&!e.startsWith("meta:og:")&&!e.startsWith("meta:twitter:")&&delete t.key;const n=e||(t.key?`${t.tag}:${t.key}`:!1);n&&(t._d=n)},"tags:resolve":t=>{const e=Object.create(null);for(const s of t.tags){const r=(s.key?`${s.tag}:${s.key}`:s._d)||So(s),o=e[r];if(o){let a=s?.tagDuplicateStrategy;if(!a&&U$.has(s.tag)&&(a="merge"),a==="merge"){const l=o.props;l.style&&s.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),s.props.style=`${l.style} ${s.props.style}`),l.class&&s.props.class?s.props.class=`${l.class} ${s.props.class}`:l.class&&(s.props.class=l.class),e[r].props={...l,...s.props};continue}else if(s._e===o._e){o._duped=o._duped||[],s._d=`${o._d}:${o._duped.length+1}`,o._duped.push(s);continue}else if(Bs(s)>Bs(o))continue}if(!(s.innerHTML||s.textContent||Object.keys(s.props).length!==0)&&Ps.has(s.tag)){delete e[r];continue}e[r]=s}const n=[];for(const s in e){const r=e[s],o=r._duped;n.push(r),o&&(delete r._duped,n.push(...o))}t.tags=n,t.tags=t.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},O$=new Set(["script","link","bodyAttrs"]),N$=t=>({hooks:{"tags:resolve":e=>{for(const n of e.tags){if(!O$.has(n.tag))continue;const s=n.props;for(const r in s){if(r[0]!=="o"||r[1]!=="n"||!Object.prototype.hasOwnProperty.call(s,r))continue;const o=s[r];typeof o=="function"&&(t.ssr&&dl.has(r)?s[r]=`this.dataset.${r}fired = true`:delete s[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}t.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Hs(n.props.src||n.props.href))}},"dom:renderTag":({$el:e,tag:n})=>{const s=e?.dataset;if(s)for(const r in s){if(!r.endsWith("fired"))continue;const o=r.slice(0,-5);dl.has(o)&&n._eventHandlers?.[o]?.call(e,new Event(o.substring(2)))}}}}),M$=new Set(["link","style","script","noscript"]),D$={hooks:{"tag:normalise":({tag:t})=>{t.key&&M$.has(t.tag)&&(t.props["data-hid"]=t._h=Hs(t.key))}}},j$={mode:"server",hooks:{"tags:beforeResolve":t=>{const e={};let n=!1;for(const s of t.tags)s._m!=="server"||s.tag!=="titleTemplate"&&s.tag!=="templateParams"&&s.tag!=="title"||(e[s.tag]=s.tag==="title"||s.tag==="titleTemplate"?s.textContent:s.props,n=!0);n&&t.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},H$={hooks:{"tags:resolve":t=>{for(const e of t.tags)if(typeof e.tagPriority=="string")for(const{prefix:n,offset:s}of P$){if(!e.tagPriority.startsWith(n))continue;const r=e.tagPriority.substring(n.length),o=t.tags.find(i=>i._d===r)?._p;if(o!==void 0){e._p=o+s;break}}t.tags.sort((e,n)=>{const s=Bs(e),r=Bs(n);return sr?1:e._p-n._p})}}},B$={meta:"content",link:"href",htmlAttrs:"lang"},q$=["innerHTML","textContent"],z$=t=>({hooks:{"tags:resolve":e=>{const{tags:n}=e;let s;for(let i=0;ii.tag==="title")?.textContent||"",r,o);for(const i of n){if(i.processTemplateParams===!1)continue;const a=B$[i.tag];if(a&&typeof i.props[a]=="string")i.props[a]=fs(i.props[a],r,o);else if(i.processTemplateParams||i.tag==="titleTemplate"||i.tag==="title")for(const l of q$)typeof i[l]=="string"&&(i[l]=fs(i[l],r,o,i.tag==="script"&&i.props.type.endsWith("json")))}t._templateParams=r,t._separator=o},"tags:afterResolve":({tags:e})=>{let n;for(let s=0;s{const{tags:e}=t;let n,s;for(let r=0;r{for(const e of t.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&(e.props.type==="application/ld+json"||e.props.type==="application/json")?e.innerHTML=e.innerHTML.replace(/{a.dirty=!0,e.callHook("entries:updated",a)};let r=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:t,hooks:e,headEntries(){return o},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),ml(c.mode,n)&&e.addHooks(c.hooks||{}))},push(l,c){delete c?.head;const u={_i:r++,input:l,...c};return ml(u.mode,n)&&(o.push(u),s()),{dispose(){o=o.filter(d=>d._i!==u._i),s()},patch(d){for(const h of o)h._i===u._i&&(h.input=u.input=d);s()}}},async resolveTags(){const l={tags:[],entries:[...o]};await e.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const d of await A$(c)){const h={tag:d,entry:c,resolvedOptions:a.resolvedOptions};await e.callHook("tag:normalise",h),l.tags.push(h.tag)}}return await e.callHook("tags:beforeResolve",l),await e.callHook("tags:resolve",l),await e.callHook("tags:afterResolve",l),l.tags},ssr:n};return[L$,j$,N$,D$,H$,z$,V$,W$,...t?.plugins||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function X$(){return yp}const Y$=Wl[0]==="3";function J$(t){return typeof t=="function"?t():p(t)}function qs(t){if(t instanceof Promise||t instanceof Date||t instanceof RegExp)return t;const e=J$(t);if(!t||!e)return e;if(Array.isArray(e))return e.map(n=>qs(n));if(typeof e=="object"){const n={};for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){if(s==="titleTemplate"||s[0]==="o"&&s[1]==="n"){n[s]=p(e[s]);continue}n[s]=qs(e[s])}return n}return e}const Q$={hooks:{"entries:resolve":t=>{for(const e of t.entries)e.resolvedInput=qs(e.input)}}},bp="usehead";function Z$(t){return{install(n){Y$&&(n.config.globalProperties.$unhead=t,n.config.globalProperties.$head=t,n.provide(bp,t))}}.install}function eU(t={}){t.domDelayFn=t.domDelayFn||(n=>Vs(()=>setTimeout(()=>n(),0)));const e=G$(t);return e.use(Q$),e.install=Z$(e),e}const gl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Ci<"u"?Ci:typeof self<"u"?self:{},yl="__unhead_injection_handler__";function tU(){return yl in gl?gl[yl]():Nl(bp)||X$()}function vp(t,e={}){const n=e.head||tU();if(n)return n.ssr?n.push(t,e):nU(n,t,e)}function nU(t,e,n={}){const s=q(!1),r=q({});ko(()=>{r.value=s.value?{}:qs(e)});const o=t.push(r.value,n);return Ae(r,a=>{o.patch(a)}),Ol()&&(zt(()=>{o.dispose()}),Bl(()=>{s.value=!0}),Hl(()=>{s.value=!1})),o}function sU(t){const e=t;return e.headTags=t.resolveTags,e.addEntry=t.push,e.addHeadObjs=t.push,e.addReactiveEntry=(n,s)=>{const r=vp(n,s);return r!==void 0?r.dispose:()=>{}},e.removeHeadObjs=()=>{},e.updateDOM=()=>{t.hooks.callHook("entries:updated",t)},e.unhead=t,e}function rU(t,e){const n=eU({});return sU(n)}const wp=()=>{const t=ct();vp({meta:I(()=>[{name:"generator",content:[Mo(),Qs({capabilityStore:t})].filter(Boolean).join(", ")}])})},oU={id:"web",class:"bg-role-chrome h-dvh max-h-dvh overflow-y-hidden [&_.mark-highlight]:font-semibold"},iU=["textContent"],aU=Z({__name:"App",setup(t){const e=er(),n=Ue(),{$gettext:s}=ce(),{currentTheme:r}=ue(n),o=tt(),i=Lo();wp();const{layout:a,layoutType:l}=b$({router:o}),{isMobile:c}=fc(),{onInitialLoad:u}=Jn();u();const d=q(),h=I(()=>o.resolve(p(o.currentRoute))),f=m=>{const _=m.meta.title?s(m.meta.title.toString()):void 0;if(!_)return;const g=" - ",S=[_];return{shortDocumentTitle:S.join(g),fullDocumentTitle:[...S,p(r).name].join(g)}},y=m=>{d.value=s("Navigated to %{ pageTitle }",{pageTitle:m})},w=m=>m?.path?.split("/").slice(1,4);return Me(()=>{we.subscribe("runtime.documentTitle.changed",({shortDocumentTitle:m,fullDocumentTitle:_})=>{document.title=_,y(m)})}),Ae(h,(m,_)=>{if(p(l)!=="application"){const E=document.getElementById("splash-loading");E?.classList.contains("splash-hide")||E.classList.add("splash-hide")}const g=f(p(i));if(g){const{shortDocumentTitle:E,fullDocumentTitle:$}=g;y(E),document.title=$}const S=w(_),R=w(m);!au(S,R)&&!("driveAliasAndItem"in m.params)&&e.setCurrentFolder(null)},{immediate:!0}),(m,_)=>{const g=L("oc-hidden-announcer");return C(),O(ae,null,[P("div",oU,[x(g,{announcement:d.value,level:"polite"},null,8,["announcement"]),_[0]||(_[0]=b()),x(k0,{target:"web-content-main"},{default:T(()=>[P("span",{textContent:F(p(s)("Skip to main"))},null,8,iU)]),_:1}),_[1]||(_[1]=b()),(C(),z(Ot(p(a)))),_[2]||(_[2]=b()),x(yI),_[3]||(_[3]=b()),_[4]||(_[4]=P("div",{id:"app-runtime-drop"},null,-1))]),_[5]||(_[5]=b()),p(c)?(C(),z(ip,{key:0})):V("",!0)],64)}}}),lU=Z({name:"TokenRenewal"});function cU(t,e,n,s,r,o){const i=L("router-view");return C(),z(i)}const uU=ge(lU,[["render",cU]]),dU={class:"bg-role-chrome h-dvh max-h-dvh overflow-y-hidden flex flex-col justify-center items-center p-4"},pU=["textContent"],fU=["textContent"],hU=["textContent"],mU=["textContent"],gU=Z({__name:"missingOrInvalidConfig",setup(t){const e=Ue(),{currentTheme:n}=ue(e),s=I(()=>p(n)?.logo),r=I(()=>p(n)?.slogan);return wp(),(o,i)=>(C(),O("div",dU,[P("h1",{class:"sr-only",textContent:F(o.$gettext("Error"))},null,8,pU),i[2]||(i[2]=b()),x(p(Bg),{"logo-url":s.value,title:o.$gettext("Missing or invalid config"),"body-class":"text-center","header-class":"text-center",class:"rounded-lg"},{footer:T(()=>[r.value?(C(),O("p",{key:0,textContent:F(r.value)},null,8,mU)):V("",!0)]),default:T(()=>[P("p",{textContent:F(o.$gettext("Please check if the file config.json exists and is correct."))},null,8,fU),i[0]||(i[0]=b()),P("p",{textContent:F(o.$gettext("Also, make sure to check the browser console for more information."))},null,8,hU),i[1]||(i[1]=b())]),_:1},8,["logo-url","title"])]))}}),zs={af:"Afrikaans - Afrikaans",ar:"العربية - Arabic",bs:"Bosanski - Bosnian",bg:"български - Bulgarian",ca:"català - Catalan",cs:"Čeština - Czech",da:"Dansk - Danish",de:"Deutsch - German",el:"Ελληνικά - Greek",en:"English",es:"Español - Spanish",et:"Eesti - Estonian",fi:"Suomi - Finnish",fr:"Français - French",gl:"Galego - Galician",he:"עברית - Hebrew",hr:"Hrvatski - Croatian",hu:"Magyar - Hungarian",id:"Bahasa Indonesia - Indonesian",it:"Italiano - Italian",ja:"日本語 - Japanese",ka:"ქართული - Georgian",ko:"한국어 - Korean",lv:"Latviešu - Latvian",ms:"Bahasa Melayu - Malay",nl:"Nederlands - Dutch",no:"Norsk - Norwegian",pl:"Polski - Polish",pt:"Português - Portuguese",ro:"Română - Romanian",ru:"русский - Russian",si:"සිංහල - Sinhala",sl:"Slovenščina - Slovenian",sk:"Slovenčina - Slovak",sq:"Shqipja - Albanian",sv:"Svenska - Swedish",sr:"српски - Serbian",ta:"தமிழ் - Tamil",tr:"Türkçe - Turkish",ug:"ئۇيغۇرچە - Uyghur",uk:"українська - Ukrainian",zh:"汉语 - Chinese"},xo={success:aU,failure:gU,tokenRenewal:uU},_p=async()=>{const{coreTranslations:t,clientTranslations:e,pkgTranslations:n,odsTranslations:s}=await Ul(async()=>{const{coreTranslations:r,clientTranslations:o,pkgTranslations:i,odsTranslations:a}=await import("./chunks/json-WKIyujAI.mjs");return{coreTranslations:r,clientTranslations:o,pkgTranslations:i,odsTranslations:a}},__vite__mapDeps([0,1]),import.meta.url);return Xn({},t,e,n,s)},Sp=async()=>(await Ul(async()=>{const{default:t}=await import("./chunks/index-B9CFlHVx.mjs");return{default:t}},__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,13,14,1,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43]),import.meta.url)).default,yU={class:"h-screen flex flex-col justify-center items-center p-4"},bU=["textContent"],vU=["textContent"],wU=["textContent"],_U=Z({__name:"accessDenied",setup(t){const e=Ue(),{currentTheme:n}=ue(e),s=nt(),r=at("redirectUrl"),{$gettext:o}=ce(),i=I(()=>p(n).urls?.accessDeniedHelp),a=I(()=>p(n).slogan),l=I(()=>p(n).logo),c=I(()=>o("Not logged in")),u=I(()=>o("This could be because of a routine safety log out, or because your account is either inactive or not yet authorized for use. Please try logging in after a while or seek help from your Administrator.")),d=I(()=>o("Log in again")),h=I(()=>{const f=ke(p(r));if(s.options.loginUrl){const y=new URL(encodeURI(s.options.loginUrl));return f&&y.searchParams.append("redirectUrl",f),{type:"a",href:y.toString()}}return{type:"router-link",to:{name:"login",query:{...f&&{redirectUrl:f}}}}});return(f,y)=>{const w=L("oc-button"),m=L("oc-card");return C(),O("div",yU,[x(m,{"logo-url":l.value,title:c.value,"body-class":"text-center","header-class":"text-center",class:"w-full sm:w-sm rounded-lg"},{footer:T(()=>[P("p",{textContent:F(a.value)},null,8,wU)]),default:T(()=>[P("p",{textContent:F(u.value)},null,8,bU),y[0]||(y[0]=b()),i.value?(C(),z(w,{key:0,type:"a",appearance:"raw",href:i.value,target:"_blank","no-hover":""},{default:T(()=>[P("span",{textContent:F(p(o)("Read more"))},null,8,vU)]),_:1},8,["href"])):V("",!0),y[1]||(y[1]=b())]),_:1},8,["logo-url","title"]),y[2]||(y[2]=b()),x(w,Et({id:"exitAnchor",class:"mt-4 w-full sm:w-sm",size:"large",appearance:"filled","color-role":"primary"},h.value),{default:T(()=>[b(F(d.value),1)]),_:1},16)])}}}),SU=t=>{const e={"Accounts.ReadWrite.all":[{action:"create-all",subject:"Account"},{action:"delete-all",subject:"Account"},{action:"read-all",subject:"Account"},{action:"update-all",subject:"Account"}],"Favorites.List.own":[{action:"read",subject:"Favorite"}],"Favorites.Write.own":[{action:"create",subject:"Favorite"},{action:"update",subject:"Favorite"}],"Groups.ReadWrite.all":[{action:"create-all",subject:"Group"},{action:"delete-all",subject:"Group"},{action:"read-all",subject:"Group"},{action:"update-all",subject:"Group"}],"Language.ReadWrite.all":[{action:"read-all",subject:"Language"},{action:"update-all",subject:"Language"}],"Logo.Write.all":[{action:"update-all",subject:"Logo"}],"PublicLink.Write.all":[{action:"create-all",subject:"PublicLink"}],"ReadOnlyPublicLinkPassword.Delete.all":[{action:"delete-all",subject:"ReadOnlyPublicLinkPassword"}],"Roles.ReadWrite.all":[{action:"create-all",subject:"Role"},{action:"delete-all",subject:"Role"},{action:"read-all",subject:"Role"},{action:"update-all",subject:"Role"}],"Shares.Write.all":[{action:"create-all",subject:"Share"},{action:"update-all",subject:"Share"}],"Settings.ReadWrite.all":[{action:"read-all",subject:"Setting"},{action:"update-all",subject:"Setting"}],"Drives.Create.all":[{action:"create-all",subject:"Drive"}],"Drives.ReadWriteEnabled.all":[{action:"delete-all",subject:"Drive"},{action:"update-all",subject:"Drive"}],"Drives.List.all":[{action:"read-all",subject:"Drive"}],"Drives.ReadWriteProjectQuota.all":[{action:"set-quota-all",subject:"Drive"}]};return Object.keys(e).reduce((n,s)=>(t.includes(s)&&n.push(...e[s]),n),[])},Ep=({language:t,languageSetting:e=null})=>{let n=e;n&&(n.indexOf("-")&&(n=n.split("-")[0]),t.current=n,document.documentElement.lang=n)},_i=({apps:t,gettext:e,lang:n})=>{const s={};Object.values(t).forEach(r=>{const{translations:o}=r;e.translations[n]&&o?.[n]&&Object.assign(s,o[n])}),e.translations=Xn(e.translations,{[n]:s})},hs="oc.postLoginRedirectUrl";class EU extends tg{clientService;configStore;userStore;authStore;webWorkersStore;capabilityStore;updateAccessTokenPromise;_unloadReason;ability;language;browserStorage;areEventHandlersRegistered;constructor(e){const n=e.configStore.options.tokenStorageLocal?localStorage:sessionStorage,s="oc_oAuth.",o={userStore:new ng({prefix:s,store:n}),redirect_uri:$n(e.router,"/oidc-callback.html"),silent_redirect_uri:$n(e.router,"/oidc-silent-redirect.html"),response_mode:"query",response_type:"code",post_logout_redirect_uri:$n(e.router,"/"),accessTokenExpiringNotificationTimeInSeconds:e.accessTokenExpiryThreshold,authority:"",client_id:"",automaticSilentRenew:!1};if(e.configStore.isOIDC)Object.assign(o,{scope:"openid profile",loadUserInfo:!1,...e.configStore.openIdConnect,...e.configStore.openIdConnect.metadata_url&&{metadataUrl:e.configStore.openIdConnect.metadata_url}});else if(e.configStore.isOAuth2){const i=e.configStore.oAuth2;Object.assign(o,{authority:i.url,client_id:i.clientId,...i.clientSecret&&{client_authentication:"client_secret_basic",client_secret:i.clientSecret},scope:"profile",loadUserInfo:!1,metadata:{issuer:i.url,authorization_endpoint:i.authUrl,token_endpoint:i.url,userinfo_endpoint:""}})}cr.setLogger(console),cr.setLevel(cr.WARN),super(o),this.browserStorage=n,this.clientService=e.clientService,this.configStore=e.configStore,this.ability=e.ability,this.language=e.language,this.userStore=e.userStore,this.authStore=e.authStore,this.capabilityStore=e.capabilityStore,this.webWorkersStore=e.webWorkersStore}async getAccessToken(){return(await this.getUser())?.access_token}async getSessionId(){return(await this.getUser())?.profile?.sid}async removeUser(e="logout"){this._unloadReason=e,await super.removeUser()}get unloadReason(){return this._unloadReason}getAndClearPostLoginRedirectUrl(){const e=this.browserStorage.getItem(hs)||"/";return this.browserStorage.removeItem(hs),e}setPostLoginRedirectUrl(e){e?this.browserStorage.setItem(hs,e):this.browserStorage.removeItem(hs)}updateContext(e,n,s){const r=!!this.userStore.user;return this.authStore.accessToken!==e?(this.authStore.setAccessToken(e),this.authStore.setSessionId(n),this.updateAccessTokenPromise=(async()=>{if(!s){this.authStore.setIdpContextReady(!0);return}this.capabilityStore.supportSSE&&this.clientService.sseAuthenticated.updateAccessToken(e),this.webWorkersStore.updateAccessTokens(e),r||(await this.fetchUserInfo(),await this.updateUserAbilities(this.userStore.user),this.authStore.setUserContextReady(!0))})(),this.updateAccessTokenPromise):this.updateAccessTokenPromise}async fetchUserInfo(){await this.fetchCapabilities();const e=this.clientService.graphAuthenticated,[n,s]=await Promise.all([e.users.getMe(),this.fetchRoles()]),r=await this.fetchRole({graphUser:n,roles:s});if(this.userStore.setUser({id:n.id,onPremisesSamAccountName:n.onPremisesSamAccountName,displayName:n.displayName,mail:n.mail,memberOf:n.memberOf,appRoleAssignments:r?[r]:[],preferredLanguage:n.preferredLanguage||""}),n.preferredLanguage){const o=Yn();_i({apps:o.apps,gettext:this.language,lang:n.preferredLanguage}),Ep({language:this.language,languageSetting:n.preferredLanguage})}}async fetchRoles(){const e=this.clientService.httpAuthenticated;try{const{data:{bundles:n}}=await e.post("/api/v0/settings/roles-list",{});return n}catch(n){return console.error(n),[]}}async fetchRole({graphUser:e,roles:n}){const i=((await this.clientService.httpAuthenticated.post("/api/v0/settings/assignments-list",{account_uuid:e.id})).data?.assignments).find(a=>"roleId"in a);return i?n.find(a=>a.id===i.roleId):null}async fetchCapabilities(){if(this.capabilityStore.isInitialized)return;const e=await this.clientService.ocs.getCapabilities();this.capabilityStore.setCapabilities(e)}async _signinEnd(e,n,...s){if(!this.configStore.options.isRunningOnEos)return super._signinEnd(e,n,...s);const r=this._logger.create("_signinEnd"),o=await this._client.processSigninResponse(e);r.debug("got signin response");const i=new sg(o);if(n){if(n!==i.profile.sub)throw r.debug("current user does not match user returned from signin. sub from signin:",i.profile.sub),new rg({...o,error:"login_required"});r.debug("current user matches user returned from signin")}try{console.log("CERNBox: login successful, exchange sso token with reva token");const c=(await this.clientService.httpAuthenticated.get("/ocs/v1.php/cloud/user")).headers["x-access-token"],u=JSON.parse(atob(c.split(".")[1]));i.access_token=c,i.expires_at=u.exp}catch(a){console.error("Failed to get reva token, continue with sso one",a)}return await this.storeUser(i),r.debug("user stored"),this._events.load(i),i}async fetchPermissions({user:e}){const n=this.clientService.httpAuthenticated;try{const{data:{permissions:s}}=await n.post("/api/v0/settings/permissions-list",{account_uuid:e.id});return s}catch(s){return console.error(s),[]}}async updateUserAbilities(e){const n=await this.fetchPermissions({user:e}),s=SU(n);this.ability.update(s)}}class je{clientService;authStore;capabilityStore;constructor(e){this.clientService=e.clientService,this.authStore=e.authStore,this.capabilityStore=e.capabilityStore}static buildStorageKey(e,n){return`oc.publicLink.${e}.${n}`}clear(e){["resolved","passwordRequired","password"].forEach(n=>{sessionStorage.removeItem(je.buildStorageKey(e,n))}),this.authStore.clearPublicLinkContext()}isResolved(e){return sessionStorage.getItem(je.buildStorageKey(e,"resolved"))==="true"}setResolved(e,n){sessionStorage.setItem(je.buildStorageKey(e,"resolved"),n+"")}setType(e,n){sessionStorage.setItem(je.buildStorageKey(e,"type"),n)}getType(e){return sessionStorage.getItem(je.buildStorageKey(e,"type"))}isPasswordRequired(e){return sessionStorage.getItem(je.buildStorageKey(e,"passwordRequired"))==="true"}setPasswordRequired(e,n){sessionStorage.setItem(je.buildStorageKey(e,"passwordRequired"),n+"")}getPassword(e){const n=sessionStorage.getItem(je.buildStorageKey(e,"password"));if(n)try{return Be.from(n,"base64").toString()}catch{this.clear(e)}return""}setPassword(e,n){if(n.length){const s=Be.from(n).toString("base64");sessionStorage.setItem(je.buildStorageKey(e,"password"),s)}else sessionStorage.removeItem(je.buildStorageKey(e,"password"))}async updateContext(e){if(!this.isResolved(e)||this.authStore.publicLinkContextReady&&this.authStore.publicLinkToken===e)return;let n;this.isPasswordRequired(e)&&(n=this.getPassword(e));try{await this.fetchCapabilities()}catch(s){console.error(s)}this.authStore.setPublicLinkContext({publicLinkToken:e,publicLinkPassword:n,publicLinkContextReady:!0,publicLinkType:this.getType(e)})}clearContext(){this.authStore.clearPublicLinkContext()}async fetchCapabilities(){if(this.capabilityStore.isInitialized)return;const n=await this.clientService.ocs.getCapabilities();this.capabilityStore.setCapabilities(n)}}const xp=(t,e)=>{const n=qt(e);if(n.authContext==="user")return!0;if(n.authContext!=="hybrid")return!1;const s=Si(t,e);return!s||qt({meta:s.meta}).authContext==="user"},Co=(t,e)=>{if(qt(e).authContext==="idp")return!0;const s=Si(t,e);return s&&qt({meta:s.meta}).authContext==="idp"},Ts=(t,e)=>{if(e.params.driveAliasAndItem?.startsWith("public/")||e.params.driveAliasAndItem?.startsWith("ocm/"))return!0;const n=qt(e);if(n.authContext==="publicLink")return!0;if(n.authContext!=="hybrid")return!1;const s=Si(t,e);return s&&qt({meta:s.meta}).authContext==="publicLink"},Ao=t=>{const e=rc(t.query)?.routeParams;return bl(e||t.params)},bl=t=>{if(Object.prototype.hasOwnProperty.call(t,"driveAliasAndItem")){const e=ke(t.driveAliasAndItem);return!e.startsWith("public/")&&!e.startsWith("ocm/")?"":t.driveAliasAndItem.split("/")[1]}return(t.item||t.filePath||t.token||"").split("/")[0]},xU=(t,e)=>qt(e).authContext==="anonymous",Si=(t,e)=>{const n="contextRouteName";return!e.query||!e.query[n]?null:t.getRoutes().find(s=>s.name===e.query[n])},qt=t=>{if(!t.meta)return{authContext:"user"};if(!t.meta.authContext&&Object.prototype.hasOwnProperty.call(t.meta,"auth")&&(t.meta.authContext=t.meta.auth?"user":"hybrid",console.warn(`route key meta.auth is deprecated. Please switch to meta.authContext="${t.meta.authContext}" in route "${String(t.name)}".`)),t?.meta?.authContext){if(Xr.includes(t.meta.authContext))return t.meta;console.warn(`invalid authContext "${t.meta.authContext}" in route "${String(t.name)}". must be one of [${Xr.join(", ")}].`)}return t?.meta?{...t.meta,authContext:"user"}:{authContext:"user"}},Cp=()=>window.location.pathname==="/web-oidc-silent-redirect";class CU{clientService;configStore;router;userManager;publicLinkManager;ability;language;userStore;authStore;capabilityStore;webWorkersStore;tokenTimerWorker;tokenTimerInitialized=!1;accessTokenExpiryThreshold=10;hasAuthErrorOccurred;initialize(e,n,s,r,o,i,a,l,c){this.configStore=e,this.clientService=n,this.router=s,this.hasAuthErrorOccurred=!1,this.ability=r,this.language=o,this.userStore=i,this.authStore=a,this.capabilityStore=l,this.webWorkersStore=c}async initializeContext(e){if(this.publicLinkManager||(this.publicLinkManager=new je({clientService:this.clientService,authStore:this.authStore,capabilityStore:this.capabilityStore})),Ts(this.router,e)){const n=Ao(e);n&&await this.publicLinkManager.updateContext(n)}else e.name!=="resolvePublicLink"&&this.publicLinkManager.clearContext();if(!this.userManager){this.userManager=new EU({clientService:this.clientService,configStore:this.configStore,ability:this.ability,language:this.language,userStore:this.userStore,authStore:this.authStore,capabilityStore:this.capabilityStore,webWorkersStore:this.webWorkersStore,accessTokenExpiryThreshold:this.accessTokenExpiryThreshold,router:this.router});const n=Cp();if(!this.tokenTimerWorker&&!n){const{options:s}=this.configStore;(!s.embed?.enabled||!s.embed?.delegateAuthentication)&&(this.tokenTimerWorker=sp({authService:this}),this.tokenTimerWorker.startWorker())}}if(Ts(this.router,e)&&(await this.userManager.getUser())?.expired)try{await this.userManager.signinSilent()}catch{await this.userManager.removeUser()}if(!xU(this.router,e)){const n=!Co(this.router,e);if(this.userManager.areEventHandlersRegistered||(this.userManager.events.addAccessTokenExpired(()=>{const i=()=>{console.error("AccessToken Expired"),this.handleAuthError(p(this.router.currentRoute),{forceLogout:!0})};this.userManager.signinSilent().catch(i)}),this.userManager.events.addAccessTokenExpiring(()=>{console.debug("AccessToken Expiring")}),this.userManager.events.addUserLoaded(async i=>{this.tokenTimerWorker?.setTokenTimer({expiry:i.expires_in,expiryThreshold:this.accessTokenExpiryThreshold}),console.debug("New User Loaded");try{await this.userManager.updateContext(i.access_token,i.profile.sid,n)}catch(a){console.error(a),await this.handleAuthError(p(this.router.currentRoute))}}),this.userManager.events.addUserUnloaded(()=>{if(console.log("User Unloaded"),this.tokenTimerWorker?.resetTokenTimer(),this.resetStateAfterUserLogout(),this.userManager.unloadReason==="authError")return this.hasAuthErrorOccurred=!0,this.router.push({name:"accessDenied",query:{redirectUrl:p(this.router.currentRoute)?.fullPath}});if(this.configStore.isOAuth2){const i=this.configStore.oAuth2;if(i.logoutUrl)return window.location=i.logoutUrl}}),this.userManager.events.addSilentRenewError(async i=>{console.error("Silent Renew Error:",i),await this.handleAuthError(p(this.router.currentRoute))}),this.userManager.areEventHandlersRegistered=!0),this.configStore.options.embed?.enabled&&this.configStore.options.embed.delegateAuthentication)return;const s=await this.userManager.getUser(),r=s?.access_token,o=s?.profile?.sid;if(r){console.debug("[authService:initializeContext] - updating context with saved access_token");try{if(await this.userManager.updateContext(r,o,n),!this.tokenTimerInitialized){const i=await this.userManager.getUser();this.tokenTimerWorker?.setTokenTimer({expiry:i.expires_in,expiryThreshold:this.accessTokenExpiryThreshold}),this.tokenTimerInitialized=!0}}catch(i){console.error(i),await this.handleAuthError(p(this.router.currentRoute))}}}}loginUser(e){return this.userManager.setPostLoginRedirectUrl(e),this.userManager.signinRedirect()}signinSilent(){return this.userManager.signinSilent()}async signInCallback(e,n){try{this.configStore.options.embed.enabled&&this.configStore.options.embed.delegateAuthentication&&e?(console.debug("[authService:signInCallback] - setting access_token and fetching user"),await this.userManager.updateContext(e,n,!0),console.debug("[authService:signInCallback] - adding listener to update-token event"),window.addEventListener("message",this.handleDelegatedTokenUpdate)):await this.userManager.signinRedirectCallback(this.buildSignInCallbackUrl());const s=this.router.resolve(this.userManager.getAndClearPostLoginRedirectUrl());return this.router.replace({path:s.path,...s.query&&{query:s.query}})}catch(s){return console.warn("error during authentication:",s),this.handleAuthError(p(this.router.currentRoute))}}async signInSilentCallback(){await this.userManager.signinSilentCallback(this.buildSignInCallbackUrl())}buildSignInCallbackUrl(){const e=p(this.router.currentRoute).query;return"/?"+new URLSearchParams(e).toString()}async handleAuthError(e,{forceLogout:n=!1}={}){if(Ts(this.router,e)){const s=Ao(e);return this.publicLinkManager.clear(s),this.router.push({name:"resolvePublicLink",params:{token:s},query:{redirectUrl:e.fullPath}})}if(xp(this.router,e)||Co(this.router,e)){if(n){this.tokenTimerWorker?.resetTokenTimer(),await this.logoutUser();return}const s=await this.userManager.getUser();if(s?.expires_in!==void 0&&s.expires_in<0)return;await this.userManager.removeUser("authError"),this.tokenTimerWorker?.resetTokenTimer();return}this.hasAuthErrorOccurred=!0}async resolvePublicLink(e,n,s,r){this.publicLinkManager.setPasswordRequired(e,n),this.publicLinkManager.setPassword(e,s),this.publicLinkManager.setResolved(e,!0),this.publicLinkManager.setType(e,r),await this.publicLinkManager.updateContext(e)}async logoutUser(){if(!await this.userManager.metadataService?.getEndSessionEndpoint())return await this.userManager.removeUser(),this.router.push({name:"logout"});const n=await this.userManager.getUser();return n&&n.id_token?this.userManager.signoutRedirect({id_token_hint:n.id_token}):await this.userManager.removeUser()}resetStateAfterUserLogout(){this.userStore.reset(),this.authStore.clearUserContext()}async getRefreshToken(){return(await this.userManager.getUser())?.refresh_token}handleDelegatedTokenUpdate(e){if(!(this.configStore.options.embed?.delegateAuthenticationOrigin&&e.origin!==this.configStore.options.embed.delegateAuthenticationOrigin)&&e.data?.name==="opencloud-embed:update-token")return console.debug("[authService:handleDelegatedTokenUpdate] - going to update the access_token"),this.userManager.updateContext(e.data.accesssToken,e.data.sessionId,!1)}}const Ke=new CU,AU={class:"size-full"},PU=Z({__name:"login",setup(t){const e=at("redirectUrl");return Ke.loginUser(ke(p(e))),(n,s)=>(C(),O("div",AU,[x(p(Js))]))}}),TU={class:"h-screen flex flex-col justify-center items-center p-4"},kU=["textContent"],RU=["textContent"],IU=Z({__name:"logout",setup(t){const{$gettext:e}=ce(),n=Ue(),{currentTheme:s}=ue(n),r=nt(),o=I(()=>e("Logged out")),i=I(()=>e("You have been logged out successfully.")),a=I(()=>e("Log in again")),l=I(()=>r.options.loginUrl?{type:"a",href:new URL(encodeURI(r.options.loginUrl)).toString()}:{type:"router-link",to:{name:"login"}}),c=I(()=>p(s).slogan),u=I(()=>p(s).logo);return(d,h)=>{const f=L("oc-card"),y=L("oc-button");return C(),O("div",TU,[x(f,{"logo-url":u.value,title:o.value,"body-class":"text-center","header-class":"text-center",class:"w-full sm:w-sm rounded-lg"},{footer:T(()=>[P("p",{textContent:F(c.value)},null,8,RU)]),default:T(()=>[P("p",{textContent:F(i.value)},null,8,kU),h[0]||(h[0]=b())]),_:1},8,["logo-url","title"]),h[1]||(h[1]=b()),x(y,Et({id:"exitAnchor",class:"mt-4 w-full sm:w-sm",size:"large",appearance:"filled","color-role":"primary"},l.value),{default:T(()=>[b(F(a.value),1)]),_:1},16)])}}}),FU=["textContent"],$U=["textContent"],UU=Z({__name:"notFound",setup(t){return(e,n)=>(C(),z(p(ts),{"img-src":"/images/empty-states/404.svg",class:"page-not-found h-full"},{message:T(()=>[P("span",{textContent:F(e.$gettext("404"))},null,8,FU)]),callToAction:T(()=>[P("span",{textContent:F(e.$gettext("The page you are looking for does not exist"))},null,8,$U)]),_:1}))}}),LU={class:"h-screen flex flex-col justify-center items-center"},OU=["textContent"],NU=["textContent"],vl=Z({__name:"oidcCallback",setup(t){const{$gettext:e}=ce(),n=Ue(),{currentTheme:s}=ue(n),{isDelegatingAuthentication:r,postMessage:o,verifyDelegatedAuthenticationOrigin:i}=Ys(),a=q(!1),l=I(()=>p(s)?.logo),c=I(()=>p(a)?e("Authentication failed"):e("Logging you in")),u=I(()=>p(a)?e("Please contact the administrator if this error persists."):e("Please wait, you are being redirected.")),d=I(()=>p(s)?.slogan),h=Qn(),f=y=>{i(y.origin)!==!1&&y.data?.name==="opencloud-embed:update-token"&&(console.debug("[page:oidcCallback:handleRequestedTokenEvent] - received delegated access_token"),Ke.signInCallback(y.data.data.access_token,y.data.data.session_id))};return Me(()=>{if(p(h).query.error){a.value=!0,console.warn(`OAuth error: ${p(h).query.error} - ${p(h).query.error_description}`);return}if(p(r)){console.debug("[page:oidcCallback:hook:mounted] - adding update-token event listener"),window.addEventListener("message",f),console.debug("[page:oidcCallback:hook:mounted] - requesting delegated access_token"),o("opencloud-embed:request-token");return}p(h).path==="/web-oidc-silent-redirect"?Ke.signInSilentCallback():Ke.signInCallback()}),zt(()=>{p(r)&&(console.debug("[page:oidcCallback:hook:beforeUnmount] - removing update-token event listener"),window.removeEventListener("message",f))}),(y,w)=>{const m=L("oc-card");return C(),O("div",LU,[x(m,{"logo-url":l.value,title:c.value,"body-class":"w-sm text-center",class:"rounded-lg"},{footer:T(()=>[P("p",{textContent:F(d.value)},null,8,NU)]),default:T(()=>[P("p",{textContent:F(u.value)},null,8,OU),w[0]||(w[0]=b())]),_:1},8,["logo-url","title"])])}}}),MU={class:"oc-link-resolve h-screen flex flex-col justify-center items-center p-4"},DU={key:0,"data-testid":"error-message",class:"text-xl"},jU=["textContent"],HU=["textContent"],wl=Z({__name:"resolvePublicLink",setup(t){const e=nt(),n=Ye(),s=tt(),r=Qn(),o=ut(),{$gettext:i}=ce(),a=ti("token"),l=at("redirectUrl"),c=Ue(),u=xt(),{currentTheme:d}=ue(c),h=I(()=>p(d).logo),f=q(""),y=I(()=>p(r).path.split("/")?.[1]==="o"),w=I(()=>p(y)?"ocm":"public-link"),m=I(()=>p(y)?i("OCM share"):i("Public files")),_=I(()=>Zs({id:p(a),driveType:"public",publicLinkType:p(w),name:p(m),...p(f)&&{publicLinkPassword:p(f)}})),g=I(()=>ke(p(r).params.driveAliasAndItem)),S=at("details"),R=I(()=>ke(p(S))),E=q(),$=q(!1),M=He(function*(k){try{E.value=yield n.webdav.getFileInfo(p(_),{},{signal:k})}catch(v){const A=v;if(A.statusCode===401){A.errorCode==="ERR_MISSING_BASIC_AUTH"&&($.value=!0);return}throw A.statusCode===404?new Error(i("The resource could not be located, it may not exist anymore.")):A}}),j=He(function*(k){try{if(E.value=yield n.webdav.getFileInfo(p(_),{},{signal:k}),!Vt(p(E))){const v=new Error(i("The resource is not a public link."));throw v.resource=p(E),v}}catch(v){throw v.statusCode===401?v:new Error(i("The resource could not be located, it may not exist anymore."))}}),W=I(()=>j.isError?j.last.error.statusCode===401:!1),X=He(function*(k,v){if(p(y)&&!e.options.ocm.openRemotely)throw new Error(i("Opening files from remote is disabled"));if(yield Ke.resolvePublicLink(p(a),v,v?p(f):"",p(w)),v)try{yield j.perform()}catch(oe){throw o.clearPublicLinkContext(),console.error(oe,oe.resource),oe}const A=ke(p(l));if(A){s.push({path:A});return}if(p(E).publicLinkPermission===Yl.Create){s.push({name:"files-public-upload",params:{token:p(a)},query:{fileId:p(_).fileId}});return}let U,D,N;["folder","space"].includes(p(E).type)?(D=p(E).fileId,N=p(g)):(D=p(E).parentFolderId,U=p(E).fileId,N=Io.dirname(p(g))),u.upsertSpace(p(E));const G=se(p(y)?"ocm/":"public/",p(a),N),re={name:"files-public-link",query:{openWithDefaultApp:"true",...!!D&&{fileId:D},...!!U&&{scrollTo:U},...p(R)&&{details:p(R)}},params:{driveAliasAndItem:G}};s.push(re)}),J=I(()=>X.isError&&X.last.error.statusCode!==401?X.last.error.message:M.isError?M.last.error.message:null);Me(async()=>{try{if(p(y)){await X.perform(!1);return}await M.perform(),p($)||await X.perform(!1)}catch(k){console.error(k)}});const Y=I(()=>p(J)?i("An error occurred while loading the public link"):p($)?i("This resource is password-protected"):i("Loading public link…")),H=I(()=>p(d).slogan),te=I(()=>i("Enter password for public link")),le=I(()=>p(W)?i("Incorrect password"):null);return(k,v)=>{const A=L("oc-text-input"),U=L("oc-button"),D=L("oc-spinner"),N=L("oc-card");return C(),O("div",MU,[x(N,{"logo-url":h.value,title:Y.value,"body-class":"text-center","header-class":"text-center",class:"w-auto md:w-lg rounded-lg"},{footer:T(()=>[P("p",{textContent:F(H.value)},null,8,HU)]),default:T(()=>[J.value?(C(),O("p",DU,F(J.value),1)):$.value?(C(),O("form",{key:1,onSubmit:v[1]||(v[1]=Ro(G=>p(X).perform(!0),["prevent"]))},[x(A,{ref:"passwordInput",modelValue:f.value,"onUpdate:modelValue":v[0]||(v[0]=G=>f.value=G),"error-message":le.value,label:te.value,type:"password",class:"mb-2 [&_.oc-text-input-message]:justify-center"},null,8,["modelValue","error-message","label"]),v[2]||(v[2]=b()),x(U,{appearance:"filled",class:"oc-login-authorize-button",disabled:!f.value,submit:"submit"},{default:T(()=>[P("span",{textContent:F(p(i)("Continue"))},null,8,jU)]),_:1},8,["disabled"])],32)):(C(),z(D,{key:2,"aria-hidden":!0})),v[3]||(v[3]=b())]),_:1},8,["logo-url","title"])])}}}),BU={class:"oc-link-resolve h-screen flex flex-col justify-center items-center p-4"},qU={key:1,"data-testid":"error-message",class:"text-xl"},zU=["textContent"],VU=Z({__name:"resolvePrivateLink",setup(t){const e=tt(),n=ti("fileId"),{$gettext:s}=ce(),r=Ye(),o=q(),i=q(!1),{getResourceContext:a}=gu(),l=at("openWithDefaultApp"),c=I(()=>ke(p(l))),u=at("details"),d=I(()=>ke(p(u)));Me(()=>{h.perform(ke(p(n)))});const h=He(function*(g,S){if([`${Qt}$${Qt}!${Qt}`,`${Qt}$${Qt}`].includes(S))return e.push(Nr("files-shares-with-me"));let R;try{R=yield a(S)}catch(le){throw i.value=!0,le}const{space:E,resource:$}=R;let{path:M}=R;if(!M)throw new Error("The file or folder does not exist");let j=!1,W=!1;Ql(E)&&(o.value=$,j=M!=="/",j||(W=(yield*$t(r.graphAuthenticated.driveItems.listSharedWithMe())).find(({remoteItem:v})=>v.id===$.id)?.["@UI.Hidden"]));let X,J;$.type==="folder"?(X=$.fileId,J=Mr("files-spaces-generic")):(X=$.parentFolderId,M=Io.dirname(M),J=E.driveType==="share"&&!j?Nr("files-shares-with-me"):Mr("files-spaces-generic"));const{params:Y,query:H}=Ks(E,{fileId:X,path:M}),te=p(c)!=="false"&&!p(d);J.params=Y,J.query={...H,scrollTo:$.fileId,...p(d)&&{details:p(d)},...W&&{"q_share-visibility":"hidden"},...te&&{openWithDefaultApp:"true"}},e.push(J)}),f=I(()=>!h.last||h.isRunning),y=I(()=>({name:"files-shares-with-me"})),w=I(()=>s('Open "Shared with me"')),m=I(()=>p(f)?s("Resolving private link…"):p(_)?s("An error occurred while resolving the private link"):""),_=I(()=>p(i)?s("The link you are trying to access is invalid or you do not have permission to view the content. Please check the link for any errors or contact the person who shared it for assistance."):h.isError?h.last.error.message:null);return(g,S)=>{const R=L("oc-spinner"),E=L("oc-card"),$=L("oc-button");return C(),O("div",BU,[x(E,{title:m.value,"body-class":"text-center","header-class":"text-center",class:"w-auto md:w-lg rounded-lg"},{default:T(()=>[f.value?(C(),z(R,{key:0,"data-testid":"loading-spinner","aria-hidden":!0})):_.value?(C(),O("p",qU,F(_.value),1)):V("",!0)]),_:1},8,["title"]),S[0]||(S[0]=b()),i.value?(C(),z($,{key:0,type:"router-link",appearance:"filled",target:"_blank",class:"mt-4 text-center w-sm",to:y.value},{default:T(()=>[P("span",{class:"text",textContent:F(w.value)},null,8,zU)]),_:1},8,["to"])):V("",!0)])}}}),WU=t=>{t.beforeEach(()=>{mn().removeAllModals()}),t.afterEach((e,n)=>{if(e.path===n.path)return;const s=new CustomEvent("pathchange",{detail:{to:{url:new URL(e.fullPath,window.location.origin).href,name:e.name},from:{name:n.name,url:new URL(n.fullPath,window.location.origin).href}}});window.dispatchEvent(s)})},GU=t=>{t.beforeEach(async(e,n)=>{const{isDelegatingAuthentication:s}=Ys();if(n&&e.path===n.path&&!KU(e,n))return!0;const r=ut();return await Ke.initializeContext(e),Ke.hasAuthErrorOccurred?e.name==="accessDenied"||{name:"accessDenied"}:Ts(t,e)?r.publicLinkContextReady?!0:{name:"resolvePublicLink",params:{token:Ao(e)},query:{redirectUrl:e.fullPath}}:xp(t,e)?r.userContextReady?!0:p(s)?{path:"/web-oidc-callback"}:{path:"/login",query:{redirectUrl:e.fullPath}}:Co(t,e)?r.idpContextReady?!0:p(s)?{path:"/web-oidc-callback"}:{path:"/login",query:{redirectUrl:e.fullPath}}:!0}),t.afterEach(e=>{e.name==="accessDenied"&&(Ke.hasAuthErrorOccurred=!1)})},KU=(t,e)=>!t.query[Cn]&&!e.query[Cn]?!1:ke(t.query[Cn])!==ke(e.query[Cn]),XU=t=>{const e=r=>[["%2F","/"],["//","/"]].reduce((o,i)=>o.replaceAll(i[0],i[1]),r||""),n=t.resolve.bind(t);t.resolve=(r,o)=>{const i=n(r,o);return i.meta?.patchCleanPath!==!0?i:{...i,href:e(i.href),path:e(i.path),fullPath:e(i.fullPath)}};const s=r=>o=>{const i=t.resolve(o);return i.meta?.patchCleanPath!==!0?r(o):r({path:e(i.fullPath),query:i.query})};return t.push=s(t.push.bind(t)),t.replace=s(t.replace.bind(t)),t},YU=Z({name:"AccountTable",props:{fields:{type:Array,required:!0},showHead:{type:Boolean,required:!1,default:!1}}}),JU={class:"account-table"};function QU(t,e,n,s,r,o){const i=L("oc-table-th"),a=L("oc-table-tr"),l=L("oc-table-head"),c=L("oc-table-body"),u=L("oc-table-simple");return C(),O("div",JU,[x(u,null,{default:T(()=>[e[0]||(e[0]=P("colgroup",null,[P("col",{class:"w-auto md:w-[30%]"}),b(),P("col",{class:"w-auto md:w-[40%]"}),b(),P("col",{class:"w-auto md:w-[30%]"})],-1)),e[1]||(e[1]=b()),x(l,{class:_e({"sr-only":!t.showHead})},{default:T(()=>[x(a,null,{default:T(()=>[(C(!0),O(ae,null,$e(t.fields,d=>(C(),O(ae,{key:typeof d=="string"?d:d.label},[typeof d=="string"?(C(),z(i,{key:0},{default:T(()=>[b(F(d),1)]),_:2},1024)):(C(),z(i,{key:1,"align-h":d.alignH||"left",class:_e({"sr-only":d.hidden})},{default:T(()=>[b(F(d.label),1)]),_:2},1032,["align-h","class"]))],64))),128))]),_:1})]),_:1},8,["class"]),e[2]||(e[2]=b()),x(c,null,{default:T(()=>[Ws(t.$slots,"default")]),_:3})]),_:3})])}const Lt=ge(YU,[["render",QU]]),ZU={id:"account-calendar"},eL=["textContent"],tL={key:0,class:"flex flex-row items-center"},nL=["textContent"],sL=["textContent"],rL=["textContent"],oL={class:"truncate"},iL={class:"ml-0.5"},aL={class:"ml-0.5"},_l="check",ms="file-copy",lL=Z({__name:"accountCalendar",setup(t){const{$gettext:e}=ce(),n=Ct(),{user:s}=ue(n),r=nt(),o=Ye(),i=q(!1),a=q(ms),l=q(ms),c=I(()=>p(h.isRunning)||!p(h.last)),u=()=>{navigator.clipboard.writeText(p(r.serverUrl)),a.value=_l,setTimeout(()=>a.value=ms,1500)},d=()=>{navigator.clipboard.writeText(s.value.onPremisesSamAccountName),l.value=_l,setTimeout(()=>l.value=ms,1500)},h=He(function*(f){const y=".well-known/caldav";try{const w=yield o.httpAuthenticated.get(y,{method:"OPTIONS"});i.value=w.request.responseURL.includes(se(r.serverUrl,"caldav"))}catch(w){console.error(w),i.value=!1}});return Me(async()=>{await h.perform()}),(f,y)=>{const w=L("app-loading-spinner"),m=L("oc-icon"),_=L("oc-button"),g=L("oc-table-td"),S=L("oc-table-tr");return C(),O("div",ZU,[c.value?(C(),z(w,{key:0})):(C(),O(ae,{key:1},[P("h1",{class:"text-lg mt-1",textContent:F(p(e)("Calendar"))},null,8,eL),y[12]||(y[12]=b()),i.value?(C(),O(ae,{key:1},[P("p",{class:"text-sm mt-0 mb-4",textContent:F(p(e)("Here, you can access your personal calendar for integration with third-party apps like Thunderbird, Apple Calendar, and others."))},null,8,rL),y[11]||(y[11]=b()),x(Lt,{fields:[p(e)("CalDAV information name"),p(e)("CalCAV information value"),p(e)("CalCAV information actions")]},{default:T(()=>[x(S,null,{default:T(()=>[x(g,null,{default:T(()=>[b(F(p(e)("CalDAV URL")),1)]),_:1}),y[3]||(y[3]=b()),x(g,null,{default:T(()=>[P("span",oL,F(p(r).serverUrl),1)]),_:1}),y[4]||(y[4]=b()),x(g,null,{default:T(()=>[x(_,{appearance:"raw","data-testid":"copy-caldav-url",size:"small","no-hover":"",onClick:u},{default:T(()=>[x(m,{name:a.value,size:"small"},null,8,["name"]),y[2]||(y[2]=b()),P("span",iL,F(p(e)("Copy CalDAV URL")),1)]),_:1})]),_:1})]),_:1}),y[9]||(y[9]=b()),x(S,null,{default:T(()=>[x(g,null,{default:T(()=>[b(F(p(e)("Username")),1)]),_:1}),y[6]||(y[6]=b()),x(g,null,{default:T(()=>[P("span",null,F(p(s).onPremisesSamAccountName),1)]),_:1}),y[7]||(y[7]=b()),x(g,null,{default:T(()=>[x(_,{appearance:"raw","data-testid":"copy-caldav-username",size:"small","no-hover":"",onClick:d},{default:T(()=>[x(m,{name:l.value,size:"small"},null,8,["name"]),y[5]||(y[5]=b()),P("span",aL,F(p(e)("Copy CalDAV username")),1)]),_:1})]),_:1})]),_:1}),y[10]||(y[10]=b()),x(S,null,{default:T(()=>[x(g,null,{default:T(()=>[b(F(p(e)("Password")),1)]),_:1}),y[8]||(y[8]=b()),x(g,{colspan:"2"},{default:T(()=>[b(F(p(e)("An app token needs to be generated and then can be used.")),1)]),_:1})]),_:1})]),_:1},8,["fields"])],64)):(C(),O("span",tL,[x(m,{name:"information",size:"small","fill-type":"line",class:"mr-1"}),y[0]||(y[0]=b()),P("span",{class:"calendar-not-configured-message",textContent:F(p(e)("The calendar is not yet configured on your system, in order to learn how to enable click"))},null,8,nL),y[1]||(y[1]=b()),x(_,{"no-hover":"",class:"ml-1",appearance:"raw",type:"a",target:"_blank",href:"https://docs.opencloud.eu/docs/admin/configuration/radicale-integration/"},{default:T(()=>[P("span",{textContent:F(p(e)("here"))},null,8,sL)]),_:1})]))],64))])}}}),cL=Z({name:"ExtensionRegistry",props:{extensionPoint:{type:Object,required:!0}},setup(t){const e=st(),n=bc(),s=I(()=>e.requestExtensions(t.extensionPoint)),r=I(()=>n.extractDefaultExtensionIds(t.extensionPoint,p(s))),o=I(()=>p(s).sort((c,u)=>p(r).length&&(p(r).includes(c.id)||p(r).includes(u.id))?c.id===t.extensionPoint.defaultExtensionId?-1:1:c.id.localeCompare(u.id))),i=I({get(){const c=n.getExtensionPreference(t.extensionPoint.id,p(r));return p(o).find(u=>c.selectedExtensionIds.includes(u.id))},set(c){n.setSelectedExtensionIds(t.extensionPoint.id,[c.id])}}),a=I({get(){const c=n.getExtensionPreference(t.extensionPoint.id,p(r));return p(o).filter(u=>c.selectedExtensionIds.includes(u.id))},set(c){n.setSelectedExtensionIds(t.extensionPoint.id,c.map(u=>u.id))}});return{extensions:o,filterOptions:(c,u)=>c.filter(d=>d.userPreference?.optionLabel.toLowerCase().includes(u.toLowerCase().trim())),model:t.extensionPoint.multiple?a:i}}});function uL(t,e,n,s,r,o){const i=L("oc-select");return C(),z(i,{modelValue:t.model,"onUpdate:modelValue":e[0]||(e[0]=a=>t.model=a),class:"extension-preference",label:t.extensionPoint.userPreference.label,"label-hidden":!0,multiple:t.extensionPoint.multiple,options:t.extensions,filter:t.filterOptions,"option-label":"displayName"},{"selected-option":T(({userPreference:a})=>[P("span",null,F(t.$gettext(a?.optionLabel||"")),1)]),option:T(({userPreference:a})=>[P("span",null,F(t.$gettext(a?.optionLabel||"")),1)]),_:1},8,["modelValue","label","multiple","options","filter"])}const dL=ge(cL,[["render",uL]]),pL={id:"account-extensions"},fL=["textContent"],hL=["textContent"],mL=["textContent"],gL=Z({__name:"accountExtensions",setup(t){const{$gettext:e}=ce(),n=st(),s=I(()=>n.getExtensionPoints().filter(r=>!Object.hasOwn(r,"userPreference")||Zc(r.userPreference)?!1:!!n.requestExtensions(r).length));return(r,o)=>{const i=L("oc-table-td"),a=L("oc-table-tr");return C(),O("div",pL,[P("h1",{class:"text-lg mt-1",textContent:F(p(e)("Extensions"))},null,8,fL),o[2]||(o[2]=b()),s.value.length?(C(),z(Lt,{key:1,fields:[p(e)("Extension name"),p(e)("Extension description"),p(e)("Extension value")],class:"account-page-extensions"},{default:T(()=>[(C(!0),O(ae,null,$e(s.value,l=>(C(),z(a,{key:`extension-point-preference-${l.id}`,class:"mb-4"},{default:T(()=>[x(i,null,{default:T(()=>[b(F(l.userPreference.label),1)]),_:2},1024),o[0]||(o[0]=b()),l.userPreference.description?(C(),z(i,{key:0},{default:T(()=>[P("span",{textContent:F(p(e)(l.userPreference.description||""))},null,8,mL)]),_:2},1024)):V("",!0),o[1]||(o[1]=b()),x(i,null,{default:T(()=>[x(dL,{"extension-point":l},null,8,["extension-point"])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["fields"])):(C(),z(p(ts),{key:0,id:"account-extensions-empty",icon:"puzzle-2"},{message:T(()=>[P("span",{textContent:F(p(e)("No extensions available"))},null,8,hL)]),_:1}))])}}}),yL=Z({setup(){const t=Ue(),{showMessage:e}=dt(),{$gettext:n}=ce(),s=I(()=>({label:n("Auto (same as system)")})),{availableThemes:r,currentTheme:o}=ue(t),i=q(),{setAndApplyTheme:a,setAutoSystemTheme:l,isCurrentThemeAutoSystem:c}=t,u=f=>{if(i.value=f,e({title:n("Preference saved.")}),f==p(s))return l();a(f)},d=I(()=>p(i)?p(i):p(c)?p(s):p(o));return{availableThemesAndAuto:I(()=>[p(s),...p(r)]),currentThemeOrAuto:d,updateTheme:u}}});function bL(t,e,n,s,r,o){const i=L("oc-select");return C(),O("div",null,[x(i,{"model-value":t.currentThemeOrAuto,label:t.$gettext("Theme"),"label-hidden":!0,clearable:!1,options:t.availableThemesAndAuto,"option-label":"label","onUpdate:modelValue":t.updateTheme},null,8,["model-value","label","options","onUpdate:modelValue"])])}const vL=ge(yL,[["render",bL]]),wL=Z({name:"EditPasswordModal",props:{modal:{type:Object,required:!0}},emits:["update:confirmDisabled"],setup(t,{emit:e,expose:n}){const{showMessage:s,showErrorMessage:r}=dt(),o=Ye(),{$gettext:i}=ce(),a=q(""),l=q(""),c=q(""),u=q(""),d=q(""),h=I(()=>!p(a).trim().length||!p(l).trim().length||p(l).trim()!==p(c).trim()||p(a).trim()===p(l).trim());return Ae(h,()=>{e("update:confirmDisabled",p(h))},{immediate:!0}),n({onConfirm:()=>o.graphAuthenticated.users.changeOwnPassword({currentPassword:p(a).trim(),newPassword:p(l).trim()}).then(()=>{s({title:i("Password was changed successfully")})}).catch(y=>{console.error(y),r({title:i("Failed to change password"),errors:[y]})})}),Ae([a,l],()=>{d.value="",!(!p(a).trim().length||!p(l).trim().length)&&p(a).trim()==p(l).trim()&&(d.value=i("New password must be different from current password"))}),{currentPassword:a,newPassword:l,newPasswordConfirm:c,passwordConfirmErrorMessage:u,newPasswordErrorMessage:d,confirmButtonDisabled:h}},methods:{validatePasswordConfirm(){return this.passwordConfirmErrorMessage="",this.newPassword.trim().length&&this.newPasswordConfirm.trim().length&&this.newPassword!==this.newPasswordConfirm?(this.passwordConfirmErrorMessage=this.$gettext("Password and password confirmation must be identical"),!1):!0}}});function _L(t,e,n,s,r,o){const i=L("oc-text-input");return C(),O(ae,null,[x(i,{modelValue:t.currentPassword,"onUpdate:modelValue":e[0]||(e[0]=a=>t.currentPassword=a),label:t.$gettext("Current password"),type:"password","fix-message-line":!0,"required-mark":""},null,8,["modelValue","label"]),e[3]||(e[3]=b()),x(i,{modelValue:t.newPassword,"onUpdate:modelValue":e[1]||(e[1]=a=>t.newPassword=a),label:t.$gettext("New password"),type:"password","fix-message-line":!0,"error-message":t.newPasswordErrorMessage,"required-mark":"",onChange:t.validatePasswordConfirm},null,8,["modelValue","label","error-message","onChange"]),e[4]||(e[4]=b()),x(i,{modelValue:t.newPasswordConfirm,"onUpdate:modelValue":e[2]||(e[2]=a=>t.newPasswordConfirm=a),label:t.$gettext("Repeat new password"),type:"password","fix-message-line":!0,"error-message":t.passwordConfirmErrorMessage,"required-mark":"",onChange:t.validatePasswordConfirm},null,8,["modelValue","label","error-message","onChange"])],64)}const SL=ge(wL,[["render",_L]]),Sl=["872d8ef6-6f2a-42ab-af7d-f53cc81d7046","d7484394-8321-4c84-9677-741ba71e1f80","e1aa0b7c-1b0f-4072-9325-c643c89fee4e","694d5ee1-a41c-448c-8d14-396b95d2a918","26c20e0e-98df-4483-8a77-759b3a766af0","7275921e-b737-4074-ba91-3c2983be3edd","eb5c716e-03be-42c6-9ed1-1105d24e109f","094ceca9-5a00-40ba-bb1a-bbc7bccd39ee","fe0a3011-d886-49c8-b797-33d02fa426ef","b441ffb1-f5ee-4733-a08f-48d03f6e7f22"],El=["08dec2fe-3f97-42a9-9d1b-500855e92f25"];function EL(t){if(t.singleChoiceValue){const[n]=t.singleChoiceValue.options;return{value:n.value.stringValue,displayValue:n.displayValue}}if(t.multiChoiceCollectionValue)return t.multiChoiceCollectionValue.options.reduce((n,s)=>(n[s.key]=s.value.boolValue.default,n),{});const e=new Error("Unsupported setting value");return console.error(e),an(e),null}function xl(t,e){const{value:n}=e.find(s=>s.identifier.setting===t.name)||{};if(!n)return EL(t);if(n.collectionValue)return t.multiChoiceCollectionValue.options.reduce((s,r)=>{const o=n.collectionValue.values.find(i=>i.key===r.key);return o?(s[r.key]=o.boolValue,s):(s[r.key]=r.value.boolValue.default,s)},{});if(n.stringValue){const s=t.singleChoiceValue.options.find(r=>r.value.stringValue===n.stringValue);return{value:n.stringValue,displayValue:s?.displayValue||n.stringValue}}}const xL=(t,e)=>{const n=I(()=>p(e)?p(e).settings.reduce((i,a)=>(Sl.includes(a.id)&&(i[a.id]=xl(a,p(t))),i),{}):{}),s=I(()=>p(e)?p(e).settings.filter(({id:i})=>Sl.includes(i)):[]),r=I(()=>p(e)?p(e).settings.filter(({id:i})=>El.includes(i)):[]),o=I(()=>p(e)?p(e).settings.reduce((i,a)=>(El.includes(a.id)&&(i[a.id]=xl(a,p(t))),i),{}):{});return{values:n,options:s,emailOptions:r,emailValues:o}},CL={id:"account-preferences"},AL=["textContent"],PL={class:"flex"},TL=["textContent"],kL={href:"https://explore.transifex.com/opencloud-eu/opencloud-eu/",target:"_blank"},RL={class:"flex ml-1 items-center"},IL=["textContent"],FL=["textContent"],$L=["textContent"],UL=["textContent"],LL=["textContent"],OL=["textContent"],NL=["textContent"],ML={class:"checkbox-cell-wrapper"},DL=["textContent"],Cl=800,jL=Z({__name:"accountPreferences",setup(t){const{showMessage:e,showErrorMessage:n}=dt(),s=ce(),{$gettext:r}=ce(),o=Ye(),i=er(),a=Yn(),l=ut(),{dispatchModal:c}=mn(),u=xt(),d=ct(),h=nt(),f=q(window.innerWidth({label:zs[ie],value:ie})),W=I(()=>U.isRunning||!U.last||D.isRunning||!D.last||N.isRunning||!N.last),X=I(()=>!h.options.runningOnEos),J=I(()=>l.userContextReady&&p(X)),Y=I(()=>l.userContextReady&&!d.graphUsersChangeSelfPasswordDisabled),H=I(()=>l.userContextReady),te=I(()=>d.capabilities.notifications.configurable),le=I(()=>[{label:r("Event")},{label:r("Event description"),hidden:!0},{label:r("In-App"),alignH:"right"},{label:r("Mail"),alignH:"right"}]),k=I(()=>[{label:r("Options")},{label:r("Option description"),hidden:!0},{label:r("Option value"),hidden:!0}]),v=()=>{f.value=window.innerWidth{c({title:r("Change password"),customComponent:SL})},U=He(function*(ie){if(!(!l.userContextReady||!p(X)))try{const{data:{values:B}}=yield*$t(o.httpAuthenticated.post("/api/v0/settings/values-list",{account_uuid:"me"},{signal:ie}));_.value=B||[]}catch(B){console.error(B),n({title:r("Unable to load account data…"),errors:[B]}),_.value=[]}}).restartable(),D=He(function*(ie){if(!(!l.userContextReady||!p(X)))try{const{data:{bundles:B}}=yield*$t(o.httpAuthenticated.post("/api/v0/settings/bundles-list",{},{signal:ie}));S.value=B?.find(ne=>ne.extension==="opencloud-accounts")}catch(B){console.error(B),n({title:r("Unable to load account data…"),errors:[B]}),S.value=void 0}}).restartable(),N=He(function*(ie){if(l.userContextReady)try{g.value=yield*$t(o.graphAuthenticated.users.getMe({},{signal:ie}))}catch(B){console.error(B),n({title:r("Unable to load account data…"),errors:[B]}),g.value=void 0}}).restartable(),G=async ie=>{try{_i({apps:a.apps,gettext:s,lang:ie.value}),m.value=ie,Ep({language:s,languageSetting:ie.value}),l.userContextReady&&(await o.graphAuthenticated.users.editMe({preferredLanguage:ie.value}),d.supportSSE&&o.sseAuthenticated.updateLanguage(s.current),u.personalSpace&&u.updateSpaceField({id:u.personalSpace.id,field:"name",value:r("Personal")})),D.isRunning&&D.cancelAll(),D.perform(),e({title:r("Preference saved.")})}catch(B){console.error(B),n({title:r("Unable to save preference…"),errors:[B]})}},re=async ie=>{try{await he({identifier:"disable-email-notifications",valueOptions:{boolValue:!ie}}),y.value=ie,e({title:r("Preference saved.")})}catch(B){console.error(B),n({title:r("Unable to save preference…"),errors:[B]})}},oe=ie=>{try{i.setAreWebDavDetailsShown(ie),w.value=ie,e({title:r("Preference saved.")})}catch(B){console.error(B),n({title:r("Unable to save preference…"),errors:[B]})}},he=async({identifier:ie,valueOptions:B})=>{let ne=p(_)?.find(Re=>Re.identifier.setting===ie)?.value?.id;const rt={bundleId:p(S)?.id,settingId:p(S)?.settings?.find(Re=>Re.name===ie)?.id,resource:{type:"TYPE_USER"},accountUuid:"me",...B,...ne&&{id:ne}};try{const{data:{value:Re}}=await o.httpAuthenticated.post("/api/v0/settings/values-save",{value:{accountUuid:"me",...rt}});return Re.value.id&&(ne=Re.value.id),ne||U.perform(),Re}catch(Re){throw Re}},fe=ie=>{const B=p(_).findIndex(ne=>ne.identifier.setting===ie.identifier.setting);if(B<0){_.value.push(ie);return}_.value.splice(B,1,ie)},be=async(ie,B,ne)=>{try{if(typeof ne!="boolean"){const Ie=new TypeError(`Unsupported value type ${typeof ne}`);console.error(Ie),an(Ie);return}const rt=p(_).find(Ie=>Ie.identifier.setting===ie),Re=await he({identifier:ie,valueOptions:{collectionValue:{values:[...rt?.value.collectionValue.values.filter(Ie=>Ie.key!==B)||[],{key:B,boolValue:ne}]}}});fe(Re),e({title:r("Preference saved.")})}catch(rt){an(rt),console.error(rt),n({title:r("Unable to save preference…"),errors:[rt]})}},Lp=async(ie,B)=>{try{const ne=await he({identifier:ie,valueOptions:{stringValue:B.value.stringValue}});fe(ne),e({title:r("Preference saved.")})}catch(ne){an(ne),console.error(ne),n({title:r("Unable to save preference…"),errors:[ne]})}};return Me(async()=>{window.addEventListener("resize",v),await D.perform(),await U.perform(),await N.perform(),m.value=p(j)?.find(B=>B.value===(p(g)?.preferredLanguage||s.current));const ie=p(_)?.find(B=>B.identifier.setting==="disable-email-notifications");y.value=ie?!ie.value?.boolValue:!0}),zt(()=>{window.removeEventListener("resize",v)}),(ie,B)=>{const ne=L("oc-table-td"),rt=L("oc-icon"),Re=L("oc-select"),Ie=L("oc-table-tr"),Op=L("oc-button"),lr=L("oc-checkbox");return C(),O("div",CL,[P("h1",{class:"text-lg mt-1",textContent:F(p(r)("Preferences"))},null,8,AL),B[26]||(B[26]=b()),W.value?(C(),z(p(Js),{key:0})):(C(),O(ae,{key:1},[x(Lt,{fields:[p(r)("Preference name"),p(r)("Preference description"),p(r)("Preference value")],class:"account-page-preferences"},{default:T(()=>[x(Ie,{class:"account-page-info-language"},{default:T(()=>[x(ne,null,{default:T(()=>[b(F(p(r)("Language")),1)]),_:1}),B[2]||(B[2]=b()),x(ne,null,{default:T(()=>[P("div",PL,[P("span",{textContent:F(p(r)("Select your language."))},null,8,TL),B[1]||(B[1]=b()),P("a",kL,[P("div",RL,[P("span",{textContent:F(p(r)("Help to translate"))},null,8,IL),B[0]||(B[0]=b()),x(rt,{class:"ml-1",size:"small","fill-type":"line",name:"service"})])])])]),_:1}),B[3]||(B[3]=b()),x(ne,{"data-testid":"language"},{default:T(()=>[p(j)?(C(),z(Re,{key:0,"model-value":m.value,label:p(r)("Language"),"label-hidden":!0,clearable:!1,searchable:!0,options:p(j),"onUpdate:modelValue":G},null,8,["model-value","label","options"])):V("",!0)]),_:1})]),_:1}),B[13]||(B[13]=b()),Y.value?(C(),z(Ie,{key:0},{default:T(()=>[x(ne,null,{default:T(()=>[b(F(p(r)("Password")),1)]),_:1}),B[5]||(B[5]=b()),x(ne,null,{default:T(()=>[...B[4]||(B[4]=[P("span",{textContent:"**********"},null,-1)])]),_:1}),B[6]||(B[6]=b()),x(ne,{"data-testid":"password"},{default:T(()=>[x(Op,{appearance:"raw","data-testid":"account-page-edit-password-btn","no-hover":"",onClick:A},{default:T(()=>[P("span",{textContent:F(p(r)("Change password"))},null,8,FL)]),_:1})]),_:1})]),_:1})):V("",!0),B[14]||(B[14]=b()),x(Ie,{class:"account-page-info-theme"},{default:T(()=>[x(ne,null,{default:T(()=>[b(F(p(r)("Theme")),1)]),_:1}),B[7]||(B[7]=b()),x(ne,null,{default:T(()=>[P("span",{textContent:F(p(r)("Select your favorite theme"))},null,8,$L)]),_:1}),B[8]||(B[8]=b()),x(ne,{"data-testid":"theme"},{default:T(()=>[x(vL)]),_:1})]),_:1}),B[15]||(B[15]=b()),J.value&&!te.value?(C(),z(Ie,{key:1},{default:T(()=>[x(ne,null,{default:T(()=>[b(F(p(r)("Notifications")),1)]),_:1}),B[9]||(B[9]=b()),f.value?V("",!0):(C(),z(ne,{key:0},{default:T(()=>[P("span",{textContent:F(p(r)("Receive notification mails"))},null,8,UL)]),_:1})),B[10]||(B[10]=b()),x(ne,{"data-testid":"notification-mails"},{default:T(()=>[x(lr,{"model-value":y.value,size:"large",label:p(r)("Receive notification mails"),"label-hidden":!f.value,"data-testid":"account-page-notification-mails-checkbox","onUpdate:modelValue":re},null,8,["model-value","label","label-hidden"])]),_:1})]),_:1})):V("",!0),B[16]||(B[16]=b()),H.value?(C(),z(Ie,{key:2,class:"account-page-view-options"},{default:T(()=>[x(ne,null,{default:T(()=>[b(F(p(r)("View options")),1)]),_:1}),B[11]||(B[11]=b()),f.value?V("",!0):(C(),z(ne,{key:0},{default:T(()=>[P("span",{textContent:F(p(r)("Show WebDAV information in details view"))},null,8,LL)]),_:1})),B[12]||(B[12]=b()),x(ne,{"data-testid":"view-options"},{default:T(()=>[x(lr,{"model-value":w.value,size:"large",label:p(r)("Show WebDAV information in details view"),"label-hidden":!f.value,"data-testid":"account-page-webdav-details-checkbox","onUpdate:modelValue":oe},null,8,["model-value","label","label-hidden"])]),_:1})]),_:1})):V("",!0)]),_:1},8,["fields"]),B[25]||(B[25]=b()),J.value&&te.value?(C(),O(ae,{key:0},[P("h2",{class:"mt-8",textContent:F(p(r)("Notifications"))},null,8,OL),B[21]||(B[21]=b()),P("p",{class:"text-sm mt-0 mb-4",textContent:F(p(r)("Personalise your notification preferences about any file, folder, or Space."))},null,8,NL),B[22]||(B[22]=b()),x(Lt,{fields:le.value,"show-head":!f.value},{default:T(()=>[(C(!0),O(ae,null,$e(p(R),xe=>(C(),z(Ie,{key:xe.id},{default:T(()=>[x(ne,null,{default:T(()=>[b(F(xe.displayName),1)]),_:2},1024),B[17]||(B[17]=b()),x(ne,null,{default:T(()=>[b(F(xe.description),1)]),_:2},1024),B[18]||(B[18]=b()),xe.multiChoiceCollectionValue?(C(!0),O(ae,{key:0},$e(xe.multiChoiceCollectionValue.options,At=>(C(),z(ne,{key:At.key},{default:T(()=>[P("span",ML,[x(lr,{"model-value":p($)[xe.id][At.key],size:"large",label:At.displayValue,"label-hidden":!f.value,disabled:At.attribute==="disabled","onUpdate:modelValue":Np=>be(xe.name,At.key,Np)},null,8,["model-value","label","label-hidden","disabled","onUpdate:modelValue"])])]),_:2},1024))),128)):V("",!0)]),_:2},1024))),128))]),_:1},8,["fields","show-head"]),B[23]||(B[23]=b()),P("h2",{class:"mt-8",textContent:F(p(r)("Mail notification options"))},null,8,DL),B[24]||(B[24]=b()),x(Lt,{fields:k.value,"show-head":!f.value},{default:T(()=>[(C(!0),O(ae,null,$e(p(E),xe=>(C(),z(Ie,{key:xe.id},{default:T(()=>[x(ne,null,{default:T(()=>[b(F(xe.displayName),1)]),_:2},1024),B[19]||(B[19]=b()),x(ne,null,{default:T(()=>[b(F(xe.description),1)]),_:2},1024),B[20]||(B[20]=b()),xe.singleChoiceValue?(C(),z(ne,{key:0},{default:T(()=>[x(Re,{label:p(r)("Mail notification options"),"model-value":p(M)[xe.id],options:xe.singleChoiceValue.options,clearable:!1,"option-label":"displayValue","onUpdate:modelValue":At=>Lp(xe.name,At)},null,8,["label","model-value","options","onUpdate:modelValue"])]),_:2},1024)):V("",!0)]),_:2},1024))),128))]),_:1},8,["fields","show-head"])],64)):V("",!0)],64))])}}}),HL={id:"account-information"},BL={class:"flex justify-between items-center w-full"},qL=["textContent"],zL=["textContent"],VL=["textContent"],WL=["textContent"],GL=["textContent"],KL={key:0},XL=["textContent"],YL=["textContent"],JL=Z({__name:"accountInformation",setup(t){const{$gettext:e}=ce(),n=nt(),s=ut(),r=Ct(),o=xt(),{user:i}=ue(r),a=I(()=>n.options.accountEditLink),l=I(()=>s.userContextReady&&n.options.logoutUrl),c=I(()=>n.options.logoutUrl),u=I(()=>o.personalSpace?.spaceQuota),d=I(()=>p(i).memberOf.map(h=>h.displayName).join(", "));return(h,f)=>{const y=L("oc-icon"),w=L("oc-button"),m=L("oc-table-td"),_=L("oc-table-tr");return C(),O("div",HL,[P("div",BL,[P("h1",{class:"mt-1 text-lg",textContent:F(p(e)("Account Information"))},null,8,qL),f[1]||(f[1]=b()),a.value?(C(),z(w,{key:0,type:"a",href:a.value.href,target:"_blank","data-testid":"account-page-edit-url-btn"},{default:T(()=>[x(y,{name:"edit"}),f[0]||(f[0]=b()),P("span",{textContent:F(p(e)("Edit"))},null,8,zL)]),_:1},8,["href"])):V("",!0)]),f[16]||(f[16]=b()),x(Lt,{fields:[p(e)("Information name"),p(e)("Information value")],class:"account-page-info mt-6"},{default:T(()=>[x(_,null,{default:T(()=>[x(m,null,{default:T(()=>[P("div",{textContent:F(p(e)("Profile picture"))},null,8,VL),f[2]||(f[2]=b()),P("div",{class:"text-sm text-role-on-surface-variant",textContent:F(p(e)("Max. %{size}MB, JPG, PNG",{size:p(Rs).toString()}))},null,8,WL)]),_:1}),f[3]||(f[3]=b()),x(m,null,{default:T(()=>[x(p(rp),{class:"mb-2"})]),_:1})]),_:1}),f[10]||(f[10]=b()),x(_,{class:"account-page-info-username"},{default:T(()=>[x(m,null,{default:T(()=>[b(F(p(e)("Username")),1)]),_:1}),f[4]||(f[4]=b()),x(m,null,{default:T(()=>[b(F(p(i).onPremisesSamAccountName),1)]),_:1})]),_:1}),f[11]||(f[11]=b()),x(_,{class:"account-page-info-displayname"},{default:T(()=>[x(m,null,{default:T(()=>[b(F(p(e)("First and last name")),1)]),_:1}),f[5]||(f[5]=b()),x(m,null,{default:T(()=>[b(F(p(i).displayName),1)]),_:1})]),_:1}),f[12]||(f[12]=b()),x(_,{class:"account-page-info-email"},{default:T(()=>[x(m,null,{default:T(()=>[b(F(p(e)("Email")),1)]),_:1}),f[6]||(f[6]=b()),x(m,null,{default:T(()=>[p(i).mail?(C(),O(ae,{key:0},[b(F(p(i).mail),1)],64)):(C(),O("span",{key:1,textContent:F(p(e)("No email has been set up"))},null,8,GL))]),_:1})]),_:1}),f[13]||(f[13]=b()),u.value?(C(),z(_,{key:0,class:"account-page-info-quota"},{default:T(()=>[x(m,null,{default:T(()=>[b(F(p(e)("Personal storage")),1)]),_:1}),f[7]||(f[7]=b()),x(m,{"data-testid":"quota"},{default:T(()=>[x(ap,{quota:u.value,class:"mt-1"},null,8,["quota"])]),_:1})]),_:1})):V("",!0),f[14]||(f[14]=b()),x(_,{class:"account-page-info-groups"},{default:T(()=>[x(m,null,{default:T(()=>[b(F(p(e)("Group memberships")),1)]),_:1}),f[8]||(f[8]=b()),x(m,{"data-testid":"group-names"},{default:T(()=>[d.value?(C(),O("span",KL,F(d.value),1)):(C(),O("span",{key:1,"data-testid":"group-names-empty",textContent:F(p(e)("You are not part of any group"))},null,8,XL))]),_:1})]),_:1}),f[15]||(f[15]=b()),l.value?(C(),z(_,{key:1,class:"account-page-logout-all-devices"},{default:T(()=>[x(m,null,{default:T(()=>[b(F(p(e)("Logout from active devices")),1)]),_:1}),f[9]||(f[9]=b()),x(m,{"data-testid":"logout"},{default:T(()=>[x(w,{appearance:"raw",type:"a",href:c.value,target:"_blank","data-testid":"account-page-logout-url-btn","no-hover":""},{default:T(()=>[P("span",{textContent:F(p(e)("Show devices"))},null,8,YL)]),_:1},8,["href"])]),_:1})]),_:1})):V("",!0)]),_:1},8,["fields"])])}}}),QL={id:"account",class:"flex justify-center p-4 overflow-auto app-content border w-full bg-role-surface rounded-l-xl transition-all duration-350 ease-[cubic-bezier(0.34,0.11,0,1.12)]"},ZL={class:"w-full lg:w-3/4 xl:w-1/2"},eO=Z({__name:"accountLayout",setup(t){const e=st(),n=ct(),{supportRadicale:s}=ue(n),{$gettext:r,current:o}=ce(),i=Lo(),a=Zt(xn,"account-information"),l=Zt(xn,"account-preferences"),c=Zt(xn,"account-extensions"),u=Zt(xn,"account-calendar"),d=Zt(xn,"account-gdpr"),h=I(()=>e.requestExtensions(ar)),f=()=>{const y=[{name:r("Profile"),route:{name:"account-information"},icon:"id-card",active:p(a),priority:10},{name:r("Preferences"),route:{name:"account-preferences"},icon:"settings-4",active:p(l),priority:20},{name:r("Extensions"),route:{name:"account-extensions"},icon:"puzzle-2",active:p(c),priority:30},...p(s)?[{name:r("Calendar"),route:{name:"account-calendar"},icon:"calendar",active:p(u),priority:40}]:[],{name:r("GDPR"),route:{name:"account-gdpr"},icon:"shield-user",active:p(d),priority:50}],w=p(h).map(m=>({name:m.label(),route:{name:"account-extension",query:{"extension-id":m.id}},icon:m.icon,active:i.path==="/account/extension"&&i.query?.["extension-id"]===m.id}));return[...y,...w].map(m=>({id:"com.github.opencloud-eu.web.account.navItems",type:"sidebarNav",extensionPointIds:["app.account.navItems"],navItem:m}))};return Kn(()=>{const y=f();e.unregisterExtensions(y.map(w=>w.id))}),Ae(()=>o,()=>{const y=f();e.registerExtensions(I(()=>y))},{immediate:!0}),(y,w)=>{const m=L("router-view");return C(),O("main",QL,[P("div",ZL,[x(p(gc),{class:"py-2"}),w[0]||(w[0]=b()),x(m)])])}}}),Al=".personal_data_export.json",tO=3e4,nO=Z({name:"GdprExport",setup(){const{showMessage:t,showErrorMessage:e}=dt(),n=Ct(),s=xt(),r=ce(),{$gettext:o}=r,i=Ye(),{downloadFile:a}=mu(),l=q(!0),c=q(),u=q(),d=q(!1),h=He(function*(m){try{const _=yield i.webdav.getFileInfo(s.personalSpace,{path:`/${Al}`},{signal:m});if(_.processing){d.value=!0,p(c)||(c.value=setInterval(()=>{h.perform()},tO));return}u.value=_,d.value=!1,p(c)&&(clearInterval(p(c)),c.value=void 0)}catch(_){_.statusCode!==404&&console.error(_)}finally{l.value=!1}}).restartable(),f=async()=>{try{await i.graphAuthenticated.users.exportPersonalData(n.user.id,{storageLocation:`/${Al}`}),await h.perform(),t({title:o("GDPR export has been requested")})}catch(m){e({title:o("GDPR export could not be requested. Please contact an administrator."),errors:[m]})}},y=()=>a(s.personalSpace,p(u)),w=I(()=>su(new Date(p(u).mdate),r.current));return Me(()=>{h.perform()}),Kn(()=>{p(c)&&clearInterval(p(c))}),{loading:l,loadExportTask:h,exportFile:u,exportInProgress:d,requestExport:f,downloadExport:y,exportDate:w}}}),sO={key:0},rO={key:1,class:"flex items-center","data-testid":"export-in-process"},oO={class:"flex items-center"},iO=["textContent"],aO={key:2,class:"flex"},lO={class:"flex items-center"},cO=["textContent"],uO={class:"flex items-center"},dO=["textContent"];function pO(t,e,n,s,r,o){const i=L("oc-spinner"),a=L("oc-icon"),l=L("oc-button"),c=et("oc-tooltip");return C(),O("div",null,[t.loading?(C(),O("span",sO,[x(i)])):t.exportInProgress?(C(),O("span",rO,[P("div",oO,[x(a,{name:"time","fill-type":"line",size:"small"}),e[0]||(e[0]=b()),P("span",{class:"ml-1",textContent:F(t.$gettext("Export is being processed. This can take up to 24 hours."))},null,8,iO)])])):(C(),O("div",aO,[x(l,{appearance:"raw","data-testid":"request-export-btn",class:"mr-2","no-hover":"",onClick:t.requestExport},{default:T(()=>[P("div",lO,[x(a,{name:"question-answer","fill-type":"line",size:"small"}),e[1]||(e[1]=b()),P("span",{class:"ml-1",textContent:F(t.$gettext("Request new export"))},null,8,cO)])]),_:1},8,["onClick"]),e[3]||(e[3]=b()),t.exportFile?Le((C(),z(l,{key:0,appearance:"raw","data-testid":"download-export-btn","no-hover":"",onClick:t.downloadExport},{default:T(()=>[P("div",uO,[x(a,{name:"download","fill-type":"line",size:"small"}),e[2]||(e[2]=b()),P("span",{class:"ml-1",textContent:F(t.$gettext("Download"))},null,8,dO)])]),_:1},8,["onClick"])),[[c,t.$gettext("Latest export from: %{date}",{date:t.exportDate})]]):V("",!0)]))])}const fO=ge(nO,[["render",pO]]),hO={id:"account-gdpr"},mO=["textContent"],gO=["textContent"],yO=Z({__name:"accountGDPR",setup(t){const{$gettext:e}=ce();return(n,s)=>{const r=L("oc-table-td"),o=L("oc-table-tr");return C(),O("div",hO,[P("h1",{class:"text-lg mt-1",textContent:F(p(e)("GDPR"))},null,8,mO),s[2]||(s[2]=b()),x(Lt,{fields:[p(e)("GDPR action name"),p(e)("GDPR action description"),p(e)("GDPR actions")]},{default:T(()=>[x(o,null,{default:T(()=>[x(r,null,{default:T(()=>[b(F(p(e)("GDPR export")),1)]),_:1}),s[0]||(s[0]=b()),x(r,null,{default:T(()=>[P("span",{textContent:F(p(e)("Request a personal data export according to §20 GDPR."))},null,8,gO)]),_:1}),s[1]||(s[1]=b()),x(r,{"data-testid":"gdpr-export"},{default:T(()=>[x(fO)]),_:1})]),_:1})]),_:1},8,["fields"])])}}}),bO={id:"account-extension"},vO=["textContent"],wO=Z({__name:"accountExtensionLayout",setup(t){const e=st(),n=at("extension-id"),s=I(()=>e.requestExtensions(ar).find(r=>r.id===p(n)));return(r,o)=>(C(),O("div",bO,[s.value?(C(),z(Ot(s.value.content),{key:1})):(C(),z(p(ts),{key:0,id:"account-extensions-empty",icon:"emotion-unhappy"},{message:T(()=>[P("span",{textContent:F(r.$gettext("Extension not found"))},null,8,vO)]),_:1}))]))}});const wn=(t,e={})=>oc(t,e),Po=wn("account-information"),Ap=wn("account-preferences"),Pp=wn("account-extensions"),Tp=wn("account-calendar"),kp=wn("account-gdpr"),_O=wn("account-extension"),xn=ic(Po,Ap,Pp,Tp,kp),Pl=document.querySelector("base"),SO=[{path:"/login",name:qe.login,component:PU,meta:{title:"Login",authContext:"anonymous"}},{path:"/logout",name:qe.logout,component:IU,meta:{title:"Logout",authContext:"anonymous"}},{path:"/web-oidc-callback",name:qe.oidcCallback,component:vl,meta:{title:"OIDC callback",authContext:"anonymous"}},{path:"/web-oidc-silent-redirect",name:qe.oidcSilentRedirect,component:vl,meta:{title:"OIDC redirect",authContext:"anonymous"}},{path:"/f/:fileId",name:qe.resolvePrivateLink,component:VU,meta:{title:"Private link",authContext:"user"}},{path:"/s/:token/:driveAliasAndItem(.*)?",name:qe.resolvePublicLink,component:wl,meta:{title:"Public link",authContext:"anonymous"}},{path:"/o/:token/:driveAliasAndItem(.*)?",name:qe.resolvePublicOcmLink,component:wl,meta:{title:"OCM link",authContext:"anonymous"}},{path:"/access-denied",name:qe.accessDenied,component:_U,meta:{title:"Access denied",authContext:"anonymous"}},{path:"/account",name:qe.account,component:eO,redirect:{name:Po.name},meta:{title:"Account",authContext:"hybrid"},children:[{path:"information",name:Po.name,component:JL,meta:{authContext:"user"}},{path:"preferences",name:Ap.name,component:jL,meta:{authContext:"hybrid"}},{path:"extensions",name:Pp.name,component:gL,meta:{authContext:"user"}},{path:"calendar",name:Tp.name,component:lL},{path:"gdpr",name:kp.name,component:yO,meta:{authContext:"user"}},{path:"extension",name:_O.name,component:wO,meta:{authContext:"user"}}]},{path:"/:pathMatch(.*)*",name:qe.notFound,component:UU,meta:{title:"Not found",authContext:"hybrid"}}],Qe=XU(Jg({parseQuery(t){return Ni.parse(t,{allowDots:!0})},stringifyQuery(t){return Ni.stringify(t,{allowDots:!0})},history:Pl&&Qg(new URL(Pl.href).pathname)||Zg(),routes:SO}));WU(Qe);GU(Qe);async function EO(t){return await fetch(t,{headers:{"X-Request-ID":Ne()}}).then(e=>e.json()).catch(e=>{console.error("Error: ",e)})}async function xO(t,e){return await fetch(t,{method:"POST",headers:{"Content-Type":"application/json","X-Request-ID":Ne()},body:JSON.stringify(e)}).then(n=>n.json()).catch(n=>{console.error("Error: ",n)})}async function CO(t){const e=JSON.parse(sessionStorage.getItem("dynamicClientData"));if(e!==null){const r=e.client_secret_expires_at||0;if(r===0||Date.now(){if(!Gl(n))throw new Ut("routes can't be blank");const s=r=>r.startsWith(`${t}-`)?r:`${t}-${r}`;n.map(r=>{if(!Nt(r))throw new Ut("route can't be blank",r);const o=Mi(r);return o.name&&(o.name=t===o.name?o.name:s(String(o.name))),o.path=`/${encodeURI(t)}${o.path}`,o.children&&(o.children=o.children.map(i=>{if(!Nt(r))throw new Ut("route children can't be blank",r,i);const a=Mi(i);return i.name&&(a.name=s(String(i.name))),a})),o}).forEach(r=>{e.addRoute(r)})},PO=(t,e,n)=>{if(!Nt(n))throw new Ut("navigationItems can't be blank");const s={id:`app.${t}.navItems`,extensionType:"sidebarNav",multiple:!0},r=I(()=>[s]);e.registerExtensionPoints(r);const o=n.map(i=>({id:`app.${t}.${i.name}`,type:"sidebarNav",navItem:i,extensionPointIds:[s.id]}));e.registerExtensions(I(()=>o))},TO=({applicationName:t,applicationId:e,router:n,extensionRegistry:s})=>{if(!t)throw new Ut("applicationName can't be blank");if(!e)throw new Ut("applicationId can't be blank");return{announceRoutes:r=>AO(e,n,r),announceNavigationItems:r=>PO(e,s,r)}};class kO{runtimeApi;constructor(e){this.runtimeApi=e}}class RO extends kO{applicationScript;app;constructor(e,n,s){super(e),this.applicationScript=n,this.app=s}initialize(){const{routes:e,navItems:n}=this.applicationScript,{globalProperties:s}=this.app.config,r=typeof e=="function"?e(s):e,o=typeof n=="function"?n(s):n;return e&&this.runtimeApi.announceRoutes(r),n&&this.runtimeApi.announceNavigationItems(o),Promise.resolve(void 0)}ready(){const{ready:e}=this.applicationScript;return this.attachPublicApi(e),Promise.resolve(void 0)}mounted(e){const{mounted:n}=this.applicationScript;return this.attachPublicApi(n,e),Promise.resolve(void 0)}attachPublicApi(e,n){og(e)&&e({instance:n,globalProperties:this.app.config.globalProperties})}}const IO=({app:t,appName:e,applicationScript:n,applicationConfig:s,router:r})=>{n.setup&&(n=t.runWithContext(()=>n.setup({...e&&{appName:e},...s&&{applicationConfig:s}})));const{appInfo:o}=n;if(!Nt(o))throw new Pe("appInfo can't be blank");const{id:i,name:a}=o;if(!i)throw new Pe("appInfo.id can't be blank");if(!a)throw new Pe("appInfo.name can't be blank");const l=st(),c=TO({applicationName:a,applicationId:i,router:r,extensionRegistry:l});return Yn().registerApp(n.appInfo,n.translations),n.extensions&&l.registerExtensions(n.extensions),n.extensionPoints&&l.registerExtensionPoints(n.extensionPoints),new RO(c,n,t)},Gn=new Map,{requirejs:FO,define:$O}=window,UO={luxon:JS,pinia:ag,vue:A0,"vue3-gettext":ig,"@opencloud-eu/web-pkg":ll,"@opencloud-eu/web-client":Yi,"@opencloud-eu/web-client/graph":Y0,"@opencloud-eu/web-client/graph/generated":O0,"@opencloud-eu/web-client/ocs":Fx,"@opencloud-eu/web-client/sse":hC,"@opencloud-eu/web-client/webdav":nC,"web-pkg":ll,"web-client":Yi};for(const[t,e]of Object.entries(UO))$O(t,()=>e);const Tl=async t=>(await import(t)).default,LO=t=>new Promise((e,n)=>FO([t],s=>e(s),s=>n(s))),kl=async({appName:t,applicationKey:e,applicationPath:n,applicationConfig:s,configStore:r})=>{if(Gn.has(e))throw new Pe("application already announced",e,n);let o;try{if(n.includes("/"))!n.startsWith("http://")&&!n.startsWith("https://")&&!n.startsWith("//")&&(n=se(r.serverUrl,n)),n.endsWith(".mjs")||n.endsWith(".ts")?o=await Tl(n):o=await LO(n);else{const i=window.WEB_APPS_MAP?.[n];if(i)o=await Tl(i);else throw new Pe("cannot load application as only a name (and no path) is given and that name is not known to the application import map")}}catch(i){throw console.trace(i),new Pe("cannot load application",n,i)}return{appName:t,applicationKey:e,applicationPath:n,applicationConfig:s,applicationScript:o}},OO=({app:t,appName:e,applicationKey:n,applicationPath:s,applicationConfig:r,applicationScript:o,router:i})=>{if(Gn.has(n))throw new Pe("application already announced",n,s);let a;try{if(!Nt(o.appInfo)&&!o.setup)throw new Pe("next applications not implemented yet, stay tuned");a=IO({app:t,appName:e,applicationScript:o,applicationConfig:r,router:i})}catch(l){throw new Pe("cannot create application",l.message,s)}return Gn.set(n,a),a},NO=async(t="")=>{try{const e=await fetch(t,{headers:{"X-Request-ID":Ne()}});if(!e.ok)throw new Error;const n=await e.json();return sc.parse(n)}catch(e){console.error(`Failed to load theme '${e}'`)}},gt=t=>new URLSearchParams(window.location.search).get(t),MO=async({sseData:t,resourcesStore:e,spacesStore:n,clientService:s,router:r})=>{if(t.initiatorid===s.initiatorId)return;const o=e.currentFolder,i=o?.id===t.itemid,a=i?o:e.resources.find(u=>u.id===t.itemid);if(!a)return;const l=n.spaces.find(u=>u.id===a.storageId);if(!l)return;const c=await s.webdav.getFileInfo(l,{path:"",fileId:t.itemid});if(i)return e.setCurrentFolder(c),r.push(Ks(l,{path:c.path,fileId:c.fileId}));e.upsertResource(c)},Rl=async({sseData:t,resourcesStore:e,spacesStore:n,clientService:s})=>{const r=e.resources.find(a=>a.id===t.itemid),o=n.spaces.find(a=>a.id===r?.storageId);if(!r||!o)return;const i=await s.webdav.getFileInfo(o,{path:"",fileId:t.itemid});e.upsertResource(i)},DO=async({sseData:t,resourcesStore:e,spacesStore:n,clientService:s,resourceQueue:r,previewService:o})=>{if(!Ze({resourcesStore:e,parentFolderId:t.parentitemid}))return!1;const i=e.resources.find(u=>u.id===t.itemid),a=n.spaces.find(u=>u.id===t.spaceid);if(!a)return;if(!i)return t.initiatorid===s.initiatorId?void 0:r.add(async()=>{const{resource:u}=await s.webdav.listFiles(a,{path:"",fileId:t.itemid});Ze({resourcesStore:e,parentFolderId:t.parentitemid})&&e.upsertResource(u)});if(i.etag===t.etag)return e.updateResourceField({id:t.itemid,field:"processing",value:!1});const l=await s.webdav.getFileInfo(a,{path:"",fileId:t.itemid});e.upsertResource(l);const c=await o.loadPreview({resource:i,space:a,dimensions:dc.Thumbnail});c&&e.updateResourceField({id:t.itemid,field:"thumbnail",value:c})},jO=({sseData:t,language:e,messageStore:n,resourcesStore:s,clientService:r})=>{if(t.initiatorid===r.initiatorId)return;const{$gettext:o}=e;if(s.currentFolder?.id===t.itemid)return n.showMessage({title:o("The folder you were accessing has been removed. Please navigate to another location.")});const l=s.resources.find(c=>c.id===t.itemid);l&&s.removeResources([l])},HO=async({sseData:t,resourcesStore:e,spacesStore:n,userStore:s,clientService:r})=>{if(t.initiatorid===r.initiatorId)return;const o=n.spaces.find(a=>a.id===t.spaceid);if(!o)return;const i=await r.webdav.getFileInfo(o,{path:"",fileId:t.itemid});if(i){if(!Ze({resourcesStore:e,parentFolderId:i.parentFolderId}))return!1;e.upsertResource(i)}},BO=async({sseData:t,resourcesStore:e,spacesStore:n,userStore:s,clientService:r})=>{if(t.initiatorid===r.initiatorId)return;const o=n.spaces.find(a=>a.id===t.spaceid);if(!o)return;const i=await r.webdav.getFileInfo(o,{path:"",fileId:t.itemid});if(i){if(i.parentFolderId!==e.currentFolder?.id)return e.removeResources([i]);e.upsertResource(i)}},qO=async({sseData:t,resourcesStore:e,spacesStore:n,clientService:s})=>{if(t.initiatorid===s.initiatorId)return;const r=n.spaces.find(i=>i.id===t.spaceid);if(!r)return;const o=await s.webdav.getFileInfo(r,{path:"",fileId:t.itemid});if(o){if(!Ze({resourcesStore:e,parentFolderId:o.parentFolderId}))return!1;e.upsertResource(o)}},zO=async({sseData:t,resourcesStore:e,spacesStore:n,clientService:s})=>{if(t.initiatorid===s.initiatorId)return;const r=n.spaces.find(i=>i.id===t.spaceid);if(!r)return;const o=await s.webdav.getFileInfo(r,{path:"",fileId:t.itemid});if(o){if(!Ze({resourcesStore:e,parentFolderId:o.parentFolderId}))return!1;e.upsertResource(o)}},VO=async({sseData:t,resourcesStore:e,spacesStore:n,clientService:s,router:r})=>{if(t.initiatorid===s.initiatorId)return;const o=await s.graphAuthenticated.drives.getDrive(t.itemid);n.upsertSpace(o),await n.loadGraphPermissions({ids:[o.id],graphClient:s.graphAuthenticated,useCache:!1}),Xe(r,"files-spaces-projects")&&e.upsertResource(o)},WO=async({sseData:t,resourcesStore:e,spacesStore:n,messageStore:s,clientService:r,language:o,userStore:i,router:a})=>{if(t.initiatorid===r.initiatorId)return;if(!t.affecteduserids?.includes(i.user.id)){const u=await r.graphAuthenticated.drives.getDrive(t.itemid);n.upsertSpace(u),await n.loadGraphPermissions({ids:[u.id],graphClient:r.graphAuthenticated,useCache:!1});return}const l=n.spaces.find(u=>u.id===t.spaceid);if(!l)return;const{$gettext:c}=o;if(n.removeSpace(l),Xe(a,"files-spaces-generic")&&l.id===e.currentFolder?.storageId)return s.showMessage({title:c("Your access to this space has been revoked. Please navigate to another location.")});if(Xe(a,"files-spaces-projects"))return e.removeResources([l])},GO=async({sseData:t,resourcesStore:e,spacesStore:n,clientService:s,userStore:r,router:o})=>{if(t.initiatorid===s.initiatorId)return;const i=await s.graphAuthenticated.drives.getDrive(t.itemid);if(n.upsertSpace(i),await n.loadGraphPermissions({ids:[i.id],graphClient:s.graphAuthenticated,useCache:!1}),Xe(o,"files-spaces-generic")&&t.affecteduserids?.includes(r.user.id)&&e.currentFolder?.storageId===t.spaceid)return we.publish("app.files.list.load")},KO=async({sseData:t,resourcesStore:e,spacesStore:n,sharesStore:s,userStore:r,configStore:o,clientService:i,router:a})=>{if(t.initiatorid!==i.initiatorId){if(Xe(a,"files-spaces-generic")&&Ze({resourcesStore:e,parentFolderId:t.parentitemid})){const l=n.spaces.find(u=>u.id===t.spaceid);if(!l)return;const c=await i.webdav.getFileInfo(l,{path:"",fileId:t.itemid});e.upsertResource(c)}if(St(a,"files-shares-with-me")){const c=(await i.graphAuthenticated.driveItems.listSharedWithMe({expand:new Set(["thumbnails"])})).find(({remoteItem:d})=>d.id===t.itemid);if(!c)return;const u=$o({driveItem:c,graphRoles:s.graphRoles,serverUrl:o.serverUrl});return e.upsertResource(u)}if(St(a,"files-shares-with-others")){const c=(await i.graphAuthenticated.driveItems.listSharedByMe({expand:new Set(["thumbnails"])})).find(({id:d})=>d===t.itemid);if(!c)return;const u=Uo({driveItem:c,user:r.user,serverUrl:o.serverUrl});return e.upsertResource(u)}}},XO=async({sseData:t,resourcesStore:e,sharesStore:n,clientService:s,userStore:r,configStore:o,router:i})=>{if(t.initiatorid!==s.initiatorId){if(Xe(i,"files-spaces-generic")&&t.affecteduserids?.includes(r.user.id)&&e.currentFolder?.storageId===t.spaceid)return we.publish("app.files.list.load");if(St(i,"files-shares-with-me")){const l=(await s.graphAuthenticated.driveItems.listSharedWithMe({expand:new Set(["thumbnails"])})).find(({remoteItem:u})=>u.id===t.itemid);if(!l)return;const c=$o({driveItem:l,graphRoles:n.graphRoles,serverUrl:o.serverUrl});return e.upsertResource(c)}}},YO=async({sseData:t,resourcesStore:e,spacesStore:n,userStore:s,clientService:r,messageStore:o,language:i,router:a})=>{if(t.initiatorid===r.initiatorId)return;const{$gettext:l}=i;if(Xe(a,"files-spaces-generic")&&t.affecteduserids?.includes(s.user.id)&&e.currentFolder?.storageId===t.spaceid)return o.showMessage({title:l("Your access to this share has been revoked. Please navigate to another location.")});if(Xe(a,"files-spaces-generic")&&Ze({resourcesStore:e,parentFolderId:t.parentitemid})){const c=n.spaces.find(d=>d.id===t.spaceid);if(!c)return;const u=await r.webdav.getFileInfo(c,{path:"",fileId:t.itemid});e.upsertResource(u)}if(St(a,"files-shares-with-others")){const c=n.spaces.find(d=>d.id===t.spaceid);if(!c)return;const u=await r.webdav.getFileInfo(c,{path:"",fileId:t.itemid});if(!u.shareTypes.includes(ks.user.value)&&!u.shareTypes.includes(ks.group.value))return e.removeResources([u])}if(St(a,"files-shares-with-me")){const c=e.resources.find(u=>u.fileId===t.itemid);return c?e.removeResources([c]):void 0}},JO=async({sseData:t,resourcesStore:e,spacesStore:n,userStore:s,configStore:r,clientService:o,router:i})=>{if(t.initiatorid!==o.initiatorId){if(Xe(i,"files-spaces-generic")&&Ze({resourcesStore:e,parentFolderId:t.parentitemid})){const a=n.spaces.find(c=>c.id===t.spaceid);if(!a)return;const l=await o.webdav.getFileInfo(a,{path:"",fileId:t.itemid});e.upsertResource(l)}if(St(i,"files-shares-via-link")){const l=(await o.graphAuthenticated.driveItems.listSharedByMe({expand:new Set(["thumbnails"])})).find(({id:u})=>u===t.itemid);if(!l)return;const c=Uo({driveItem:l,user:s.user,serverUrl:r.serverUrl});return e.upsertResource(c)}}},QO=({sseData:t,clientService:e})=>{t.initiatorid,e.initiatorId},ZO=async({sseData:t,resourcesStore:e,spacesStore:n,userStore:s,clientService:r,router:o})=>{if(t.initiatorid===r.initiatorId)return;const i=n.spaces.find(l=>l.id===t.spaceid);if(!i)return;const a=await r.webdav.getFileInfo(i,{path:"",fileId:t.itemid});if(Xe(o,"files-spaces-generic")&&Ze({resourcesStore:e,parentFolderId:t.parentitemid})&&e.upsertResource(a),St(o,"files-shares-via-link")&&!a.shareTypes.includes(ks.link.value))return e.removeResources([a])},eN=({router:t,authStore:e,sseData:n})=>{if(e.sessionId===n.sessionid)return t.push({name:"logout"})},tN=lc({itemid:ze().optional(),parentitemid:ze().optional(),spaceid:ze().optional(),initiatorid:ze().optional(),etag:ze().optional(),affecteduserids:cc(ze()).optional().nullable(),sessionid:ze().optional()}),me=async t=>{const{topic:e,msg:n,method:s,...r}=t;try{const o=tN.parse(JSON.parse(n.data));console.debug(`SSE event '${e}'`,o),await s({...r,sseData:o})}catch(o){console.error(`Unable to process sse event ${e}`,o)}};let Ur;const nN=t=>{if(Ur)return Ur;const e={};t||(e.enabled=gt("embed")==="true");const n=gt("embed-target");n&&(e.target=n);const s=gt("embed-choose-file-name");e.chooseFileName=s==="true";const r=gt("embed-choose-file-name-suggestion");r&&(e.chooseFileNameSuggestion=r);const o=gt("embed-file-types");o&&(e.fileTypes=o.split(","));const i=gt("embed-delegate-authentication");i&&(e.delegateAuthentication=i==="true");const a=gt("embed-delegate-authentication-origin");return i&&(e.delegateAuthenticationOrigin=a),Ur=e,e},Il=async({path:t,configStore:e,token:n})=>{const s=await fetch(t,{headers:{"X-Request-ID":Ne(),...n&&{Authorization:`Bearer ${n}`}}});if(s.status!==200)throw new Error(`config could not be loaded. HTTP status-code ${s.status}`);const r=await s.json().catch(a=>{throw new Error(`config could not be parsed. ${a}`)}),o=tc.parse(r),i=nN(o.options?.embed&&Object.prototype.hasOwnProperty.call(o.options.embed,"enabled"));o.options={...o.options,embed:{...o.options?.embed,...i},hideLogo:gt("hide-logo")==="true"},e.loadConfig(o)},sN=async t=>{const e=t.openIdConnect||{};if(!e.dynamic)return;const{client_id:n,client_secret:s}=await CO(e);e.client_id=n,e.client_secret=s},Fl=async({app:t,configStore:e,router:n,appProviderService:s,appProviderApps:r})=>{let o=[],i=[];if(r)o=s.appNames.map(c=>`web-app-external-${c}`),i=await Promise.allSettled(s.appNames.map(c=>kl({appName:c,applicationKey:`web-app-external-${c}`,applicationPath:"web-app-external",applicationConfig:{},configStore:e})));else{const c=[...e.apps.map(u=>({path:`web-app-${u}`})),...e.externalApps];o=c.map(u=>u.path),i=await Promise.allSettled(c.map(u=>kl({applicationKey:u.path,applicationPath:u.path,applicationConfig:u.config||{},configStore:e})))}const a=i.reduce((c,u)=>(u.status!=="fulfilled"?console.error(u.reason):c.push(u.value),c),[]),l=[];for(const c of o){const u=a.find(d=>d.applicationKey===c);if(u)try{l.push(OO({...u,app:t,router:n}))}catch(d){console.error(d)}}return await Promise.all(l.map(c=>c.initialize())),l},rN=async({app:t,appsStore:e,applications:n})=>{await Promise.all(n.map(r=>r.ready()));const s={mimeType:{},extension:{}};e.fileExtensions.forEach(r=>{const o=e.apps[r.app],i=()=>({name:r.icon||o.icon,...o.iconFillType&&{fillType:o.iconFillType},...o.iconColor&&{color:o.iconColor}});r.mimeType&&(s.mimeType[r.mimeType]=i()),r.extension&&(s.extension[r.extension]=i())}),t.provide(vu,s)},Rp=async({app:t,designSystem:e,configStore:n})=>{const s=Ue(),{initializeThemes:r}=s,o=await NO(n.theme);r(o),t.use(e)},Ip=()=>{const t=Yn(),e=ut(),n=ct(),s=st(),r=nt(),o=dt(),i=mn(),a=er(),l=Hc(),c=xt(),u=Ct(),d=ei(),h=cu(),f=kd(),y=Jn();return{appsStore:t,authStore:e,capabilityStore:n,extensionRegistry:s,configStore:r,resourcesStore:a,messagesStore:o,modalStore:i,sharesStore:l,spacesStore:c,userStore:u,webWorkersStore:d,updatesStore:h,groupwareConfigStore:f,sidebarStore:y}},Fp=({app:t,...e})=>{const n=lg({defaultLanguage:navigator.language.substring(0,2),silent:!0,...e});return t.use(n),n},$p=({gettext:t,coreTranslations:e,customTranslations:n,appsStore:s})=>{t.translations=Xn(e,n||{}),s&&_i({apps:s.apps,gettext:t,lang:t.current})},oN=({app:t,configStore:e,authStore:n})=>{const s=new Ku({configStore:e,language:t.config.globalProperties.$language,authStore:n});return t.config.globalProperties.$clientService=s,t.provide("$clientService",s),s},iN=({app:t,configStore:e,userStore:n,capabilityStore:s})=>{t.config.globalProperties.$archiverService=new zu(t.config.globalProperties.$clientService,n,e.serverUrl,I(()=>s.filesArchivers||[{enabled:!0,version:"1.0.0",formats:["tar","zip"],archiver_url:se(e.serverUrl,"index.php/apps/files/ajax/download.php")}])),t.provide("$archiverService",t.config.globalProperties.$archiverService)},aN=({app:t})=>{const e=new Xu;t.config.globalProperties.$loadingService=e,t.provide("$loadingService",e)},lN=({app:t})=>{t.config.globalProperties.$uppyService=new Td({language:t.config.globalProperties.$language}),t.provide("$uppyService",t.config.globalProperties.$uppyService)},cN=({app:t,configStore:e,userStore:n,authStore:s})=>{const r=t.config.globalProperties.$clientService,o=new Yu({clientService:r,userStore:n,authStore:s,configStore:e});t.config.globalProperties.$previewService=o,t.provide("$previewService",o)},uN=({app:t,configStore:e,router:n,userStore:s,authStore:r,capabilityStore:o,webWorkersStore:i})=>{const a=t.config.globalProperties.$ability,l=t.config.globalProperties.$language,c=t.config.globalProperties.$clientService;Ke.initialize(e,c,n,a,l,s,r,o,i),t.config.globalProperties.$authService=Ke,t.provide("$authService",Ke)},dN=({app:t,serverUrl:e,clientService:n})=>{const s=new qu(e,n);return t.config.globalProperties.$appProviderService=s,t.provide("$appProviderService",s),s},pN=({app:t})=>{const e=t.config.globalProperties.$language,n=new Ju({language:e});t.config.globalProperties.passwordPolicyService=n,t.provide("$passwordPolicyService",n)},fN=({appsStore:t,extensionRegistry:e,router:n,configStore:s})=>{const r=t.appIds;let o=s.options.defaultAppId;r.includes(o)||(o=r.find(a=>a==="files")||r[0]);let i=n.getRoutes().find(a=>a.path.startsWith(`/${o}`)&&a.meta?.entryPoint===!0);i||(i=yc({extensionRegistry:e,appId:o})[0]?.route),i&&n.addRoute({path:"/",redirect:()=>i})},Up=({capabilityStore:t})=>{[Mo(),Qs({capabilityStore:t})].filter(Boolean).forEach(n=>{console.log(`%c ${n} `,"background-color: #041E42; color: #FFFFFF; font-weight: bold; border: 1px solid #FFFFFF; padding: 5px;")})},hN=async({updatesStore:t,capabilityStore:e,configStore:n,clientService:s})=>{if(e.capabilities.core["check-for-updates"])try{const r=new TextEncoder,o=xE(r.encode(n.serverUrl));t.setIsLoading(!0);const{data:i}=await s.httpUnAuthenticated.get("https://update.opencloud.eu/server.json",{headers:{"Cache-Control":"no-cache"},params:{server:tE(o),edition:e.status.edition||"rolling",version:e.status.productversion}});t.setUpdates(i)}catch(r){console.error(r),t.setHasError(!0)}finally{t.setIsLoading(!1)}},mN=(t,e)=>{if(t.sentry?.dsn){const{dsn:n,environment:s="production",transportOptions:r,...o}=t.sentry;HR({app:e,dsn:n,environment:s,attachProps:!0,transportOptions:r,...o})}},gN=({configStore:t})=>{t.scripts.forEach(({src:e="",async:n=!1})=>{if(!e)return;const s=document.createElement("script");s.src=e,s.async=n,document.head.appendChild(s)})},yN=({configStore:t})=>{t.styles.forEach(({href:e=""})=>{if(!e)return;const n=document.createElement("link");n.href=e,n.type="text/css",n.rel="stylesheet",document.head.appendChild(n)})},bN=async({clientService:t,configStore:e,capabilityStore:n,groupwareConfigStore:s})=>{if(n.capabilities.groupware?.enabled)try{const{data:r}=await t.httpAuthenticated.get(e.groupwareUrl);s.loadGroupwareConfig(nc.parse(r))}catch(r){console.error(`Unable to load groupware config ${r}`)}},vN=({language:t,resourcesStore:e,spacesStore:n,messageStore:s,sharesStore:r,clientService:o,previewService:i,configStore:a,userStore:l,authStore:c,router:u})=>{const d=new qg({concurrency:a.options.concurrentRequests.sse});Ae(()=>e.currentFolder,()=>{d.clear()});const h={resourcesStore:e,spacesStore:n,messageStore:s,userStore:l,sharesStore:r,configStore:a,clientService:o,previewService:i,language:t,router:u,resourceQueue:d,authStore:c};o.sseAuthenticated.addEventListener(ee.ITEM_RENAMED,f=>me({topic:ee.ITEM_RENAMED,msg:f,...h,method:MO})),o.sseAuthenticated.addEventListener(ee.POSTPROCESSING_FINISHED,f=>me({topic:ee.POSTPROCESSING_FINISHED,msg:f,...h,method:DO})),o.sseAuthenticated.addEventListener(ee.FILE_LOCKED,f=>me({topic:ee.FILE_LOCKED,msg:f,...h,method:Rl})),o.sseAuthenticated.addEventListener(ee.FILE_UNLOCKED,f=>me({topic:ee.FILE_UNLOCKED,msg:f,...h,method:Rl})),o.sseAuthenticated.addEventListener(ee.ITEM_TRASHED,f=>me({topic:ee.ITEM_TRASHED,msg:f,...h,method:jO})),o.sseAuthenticated.addEventListener(ee.ITEM_RESTORED,f=>me({topic:ee.ITEM_RESTORED,msg:f,...h,method:HO})),o.sseAuthenticated.addEventListener(ee.ITEM_MOVED,f=>me({topic:ee.ITEM_MOVED,msg:f,...h,method:BO})),o.sseAuthenticated.addEventListener(ee.FOLDER_CREATED,f=>me({topic:ee.FOLDER_CREATED,msg:f,...h,method:zO})),o.sseAuthenticated.addEventListener(ee.FILE_TOUCHED,f=>me({topic:ee.FILE_TOUCHED,msg:f,...h,method:qO})),o.sseAuthenticated.addEventListener(ee.SPACE_MEMBER_ADDED,f=>me({topic:ee.SPACE_MEMBER_ADDED,msg:f,...h,method:VO})),o.sseAuthenticated.addEventListener(ee.SPACE_MEMBER_REMOVED,f=>me({topic:ee.SPACE_MEMBER_REMOVED,msg:f,...h,method:WO})),o.sseAuthenticated.addEventListener(ee.SPACE_SHARE_UPDATED,f=>me({topic:ee.SPACE_SHARE_UPDATED,msg:f,...h,method:GO})),o.sseAuthenticated.addEventListener(ee.SHARE_CREATED,f=>me({topic:ee.SHARE_CREATED,msg:f,...h,method:KO})),o.sseAuthenticated.addEventListener(ee.SHARE_REMOVED,f=>me({topic:ee.SHARE_REMOVED,msg:f,...h,method:YO})),o.sseAuthenticated.addEventListener(ee.SHARE_UPDATED,f=>me({topic:ee.SHARE_UPDATED,msg:f,...h,method:XO})),o.sseAuthenticated.addEventListener(ee.LINK_CREATED,f=>me({topic:ee.LINK_CREATED,msg:f,...h,method:JO})),o.sseAuthenticated.addEventListener(ee.LINK_REMOVED,f=>me({topic:ee.LINK_REMOVED,msg:f,...h,method:ZO})),o.sseAuthenticated.addEventListener(ee.LINK_UPDATED,f=>me({topic:ee.LINK_UPDATED,msg:f,...h,method:QO})),o.sseAuthenticated.addEventListener(ee.BACKCHANNEL_LOGOUT,f=>me({topic:ee.BACKCHANNEL_LOGOUT,msg:f,...h,method:eN}))},wN=({resourcesStore:t})=>{const n=(window.localStorage.getItem("oc_hiddenFilesShown")||"false")==="true";n!==t.areHiddenFilesShown&&t.setAreHiddenFilesShown(n);const r=(window.localStorage.getItem("oc_fileExtensionsShown")||"true")==="true";r!==t.areFileExtensionsShown&&t.setAreFileExtensionsShown(r);const i=(window.localStorage.getItem("oc_webDavDetailsShown")||"false")==="true";i!==t.areWebDavDetailsShown&&t.setAreWebDavDetailsShown(i);const l=(window.localStorage.getItem("oc_disabledSpacesShown")||"true")==="true";l!==t.areDisabledSpacesShown&&t.setAreDisabledSpacesShown(l);const u=(window.localStorage.getItem("oc_emptyTrashesShown")||"true")==="true";u!==t.areEmptyTrashesShown&&t.setAreEmptyTrashesShown(u)},_N=async({configStore:t})=>{const e={};for(const n of t.customTranslations){const s=await fetch(n.url,{headers:{"X-Request-ID":Ne()}});if(s.status!==200){console.error(`translation file ${n} could not be loaded. HTTP status-code ${s.status}`);continue}try{const r=await s.json();Xn(e,r)}catch(r){console.error(`translation file ${n} could not be parsed. ${r}`)}}return e},SN={key:0},EN={class:"link-modal-actions flex justify-end items-center mt-2"},xN={key:1},CN=["textContent"],AN={class:"mt-4 mb-2 flex items-center rounded-sm"},PN={class:"w-full"},TN={class:"created-token flex items-center justify-between rounded-sm p-2 font-bold bg-role-surface-container-high"},kN={class:"text-sm text-right mt-2"},RN=["textContent"],IN=["textContent"],FN={class:"link-modal-actions flex justify-end items-center mt-6"},$N=Z({__name:"AppTokenModal",props:{modal:{}},emits:["confirm","cancel"],setup(t){const{$gettext:e,current:n}=ce(),{httpAuthenticated:s}=Ye(),{copy:r,copied:o}=cg({legacy:!0,copiedDuring:1500}),i=Ue(),{currentTheme:a}=ue(i),l=q(""),c=q("");Ae(l,m=>{c.value=m.length?"":e("The note is required")});const u=q(),d=I(()=>sn.now()),h=({date:m,error:_})=>{u.value=_?void 0:m},f=I(()=>!p(l)||!p(u)),y=q(""),w=async()=>{if(!p(f))try{const m=p(l),_=`${p(u).diff(sn.now(),"hours").hours}h`,{data:g}=await s.post("/auth-app/tokens",null,{params:{label:m,expiry:_}});y.value=g.token}catch(m){console.error(m)}};return(m,_)=>{const g=L("oc-text-input"),S=L("oc-datepicker"),R=L("oc-button"),E=L("oc-icon"),$=et("oc-tooltip");return y.value?(C(),O("div",xN,[P("span",{textContent:F(p(e)("Your app token has been successfully created. This is the only time it will be displayed, so please make sure to copy it now."))},null,8,CN),_[7]||(_[7]=b()),P("div",AN,[P("div",PN,[P("div",TN,[b(F(y.value)+" ",1),Le((C(),z(R,{appearance:"raw",class:"copy-app-token-btn ml-2 p-1","aria-label":p(e)("Copy app token to clipboard"),onClick:_[1]||(_[1]=M=>p(r)(y.value))},{default:T(()=>[x(E,{name:p(o)?"check":"file-copy","fill-type":"line"},null,8,["name"])]),_:1},8,["aria-label"])),[[$,p(e)("Copy app token to clipboard")]])]),_[6]||(_[6]=b()),P("div",kN,[P("span",{textContent:F(p(e)("Expires on:"))},null,8,RN),_[5]||(_[5]=b()),P("span",{textContent:F(p($s)(u.value,p(n)))},null,8,IN)])])]),_[8]||(_[8]=b()),P("div",FN,[x(R,{class:"oc-modal-body-actions-confirm ml-2",appearance:"filled",onClick:_[2]||(_[2]=M=>m.$emit("confirm"))},{default:T(()=>[b(F(p(e)("Close")),1)]),_:1})])])):(C(),O("div",SN,[x(g,{modelValue:l.value,"onUpdate:modelValue":_[0]||(_[0]=M=>l.value=M),label:p(e)("Note"),"error-message":c.value,"required-mark":""},null,8,["modelValue","label","error-message"]),_[3]||(_[3]=b()),x(S,{label:p(e)("Expiration date"),"is-dark":p(a).isDark,class:"mt-2",type:"date","min-date":d.value,onDateChanged:h},null,8,["label","is-dark","min-date"]),_[4]||(_[4]=b()),P("div",EN,[x(R,{disabled:f.value,class:"oc-modal-body-actions-confirm ml-2",appearance:"filled",onClick:w},{default:T(()=>[b(F(p(e)("Confirm")),1)]),_:1},8,["disabled"])])]))}}}),UN=lc({token:ze(),expiration_date:ze(),created_date:ze(),label:ze().optional()}),LN=cc(UN),ON={key:0,id:"preferences-panel-app-tokens"},NN={class:"flex items-center mb-4"},MN=["textContent"],DN=["textContent"],jN=["textContent"],HN=["textContent"],BN={key:2},qN={class:"w-full truncate"},zN=["textContent"],VN={class:"w-full truncate"},WN=["textContent"],GN={class:"w-full truncate"},KN=["textContent"],XN=["textContent"],YN={key:0,class:"w-full flex justify-center mt-4"},JN=["textContent"],$l=5,QN=Z({__name:"AppTokens",setup(t){const{$gettext:e,current:n}=ce(),{dispatchModal:s}=mn(),{showMessage:r,showErrorMessage:o}=dt(),{httpAuthenticated:i}=Ye(),a=ut(),l=q([]),c=q(),u=q(!1),d=He(function*(_){try{const{data:g}=yield*$t(i.get("/auth-app/tokens",{signal:_})),S=LN.parse(g);l.value=S.sort((R,E)=>E.created_date.localeCompare(R.created_date)),c.value=!1}catch(g){console.error(g),c.value=!0}}).restartable(),h=async({token:_})=>{try{await i.delete("/auth-app/tokens",{params:{token:_}}),l.value=p(l).filter(g=>g.token!==_),r({title:e("The app token has been deleted.")})}catch(g){console.error(g),o({title:e("An error occurred while deleting the app token."),errors:[g]})}},f=()=>{s({title:e("Create a new app token"),confirmText:e("Create"),customComponent:$N,hideActions:!0,onConfirm:()=>{d.perform()}})},y=_=>{s({title:e("Delete app token"),confirmText:e("Delete"),message:e("Are you sure you want to delete this app token?"),onConfirm:()=>h(_)})},w=I(()=>p(u)?p(l):p(l).slice(0,$l)),m=I(()=>[{name:"label",type:"slot",wrap:"truncate",width:"expand",title:e("Note")},{name:"creationDate",type:"slot",wrap:"truncate",title:e("Created at")},{name:"expirationDate",type:"slot",wrap:"truncate",title:e("Expires at")},{name:"actions",type:"slot",width:"shrink",title:e("Actions")}]);return Me(()=>{d.perform()}),Kn(()=>{d.isRunning&&d.cancelAll()}),(_,g)=>{const S=L("oc-icon"),R=L("oc-button"),E=L("oc-table");return p(a).userContextReady?(C(),O("div",ON,[P("div",NN,[P("h1",{class:"m-0 text-lg",textContent:F(p(e)("App Tokens"))},null,8,MN),g[2]||(g[2]=b()),c.value?V("",!0):(C(),z(R,{key:0,size:"small",class:"create-app-token-btn ml-4",onClick:f},{default:T(()=>[x(S,{name:"add",size:"small"}),g[1]||(g[1]=b()),P("span",{textContent:F(p(e)("New"))},null,8,DN)]),_:1}))]),g[9]||(g[9]=b()),c.value?(C(),O("p",{key:0,class:"ml-2","data-testid":"auth-service-unavailable",textContent:F(p(e)("App tokens are not available because the »auth-app« service is not running. Please contact an administrator."))},null,8,jN)):l.value.length?(C(),O("div",BN,[x(E,{class:"app-token-table",data:w.value,fields:m.value},{label:T(({item:$})=>[P("div",qN,[P("span",{textContent:F($.label||"-")},null,8,zN)])]),creationDate:T(({item:$})=>[P("div",VN,[P("span",{textContent:F(p(Us)($.created_date,p(n)))},null,8,WN)])]),expirationDate:T(({item:$})=>[P("div",GN,[P("span",{textContent:F(p(Us)($.expiration_date,p(n)))},null,8,KN)])]),actions:T(({item:$})=>[x(R,{appearance:"raw","no-hover":"","gap-size":"none",size:"small","aria-label":p(e)("Delete app token"),onClick:M=>y($)},{default:T(()=>[x(S,{name:"delete-bin-5",size:"small","fill-type":"line"}),g[3]||(g[3]=b()),P("span",{class:"ml-1",textContent:F(p(e)("Delete"))},null,8,XN)]),_:1},8,["aria-label","onClick"])]),_:1},8,["data","fields"]),g[8]||(g[8]=b()),l.value.length>$l?(C(),O("div",YN,[x(R,{appearance:"raw","no-hover":"",onClick:g[0]||(g[0]=$=>u.value=!u.value)},{default:T(()=>[P("span",{textContent:F(u.value?p(e)("Show less"):p(e)("Show more"))},null,8,JN),g[7]||(g[7]=b()),x(S,{name:"arrow-"+(u.value?"up":"down")+"-s","fill-type":"line"},null,8,["name"])]),_:1})])):V("",!0)])):(C(),z(p(ts),{key:1,icon:"key-2","data-testid":"no-app-tokens-available"},{message:T(()=>[P("span",{textContent:F(p(e)("No app tokens available."))},null,8,HN)]),_:1}))])):V("",!0)}}}),ZN=ge(QN,[["__scopeId","data-v-1869de39"]]),Lr=t=>t,e2=()=>{const t=ct(),e=Ct(),{supportRadicale:n}=ue(t),{user:s}=ue(e),r=I(()=>p(s)&&p(n));return I(()=>[{id:"com.github.opencloud-eu.web.runtime.preferences-panels.app-tokens",type:"accountExtension",label:()=>Lr("App Tokens"),icon:"key-2",extensionPointIds:[ar.id],content:ZN},{id:"com.github.opencloud-eu.web.runtime.default-progress-bar",type:"customComponent",extensionPointIds:[wi.id],content:Ml(op),userPreference:{optionLabel:Lr("Default progress bar")}},...p(r)?[{id:"com.github.opencloud-eu.web.runtime.app-menu-item.Calendar",type:"appMenuItem",label:()=>Lr("Calendar"),color:"#0478d4",icon:"calendar",path:"/account/calendar"}]:[]])},t2=async(t,e)=>{const n=Cp(),s=ug(),r=To(n?xo.tokenRenewal:xo.success);r.use(s);const{appsStore:o,authStore:i,configStore:a,capabilityStore:l,extensionRegistry:c,spacesStore:u,userStore:d,resourcesStore:h,messagesStore:f,sharesStore:y,webWorkersStore:w,updatesStore:m,groupwareConfigStore:_}=Ip();c.registerExtensionPoints(AF()),r.provide("$router",Qe),await Il({path:t,configStore:a}),r.use(WS,GS([]),{useGlobalProperties:!0});const g=Fp({app:r,availableLanguages:zs}),S=oN({app:r,configStore:a,authStore:i});if(uN({app:r,configStore:a,router:Qe,userStore:d,authStore:i,capabilityStore:l,webWorkersStore:w}),!n){const E=await Sp();lN({app:r}),mN(a,r);const $=dN({app:r,serverUrl:a.serverUrl,clientService:S});iN({app:r,configStore:a,userStore:d,capabilityStore:l}),aN({app:r}),cN({app:r,configStore:a,userStore:d,authStore:i}),pN({app:r}),await sN(a);const M=Fl({app:r,configStore:a,router:Qe,appProviderService:$}),j=_p(),W=_N({configStore:a}),X=Rp({app:r,designSystem:E,configStore:a}),[J,Y]=await Promise.all([j,W,M,X]);Gn.has("web-app-external")&&(await $.loadData(),await Fl({app:r,configStore:a,router:Qe,appProviderService:$,appProviderApps:!0})),$p({appsStore:o,gettext:g,coreTranslations:J,customTranslations:Y}),yN({configStore:a}),gN({configStore:a}),fN({appsStore:o,router:Qe,extensionRegistry:c,configStore:a}),c.registerExtensions(e2())}if(r.use(Qe),r.use(rU()),r.mount("#opencloud"),n)return;wN({resourcesStore:h});const R=Array.from(Gn.values());R.forEach(E=>E.mounted(r)),Ae(()=>i.userContextReady||i.idpContextReady||i.publicLinkContextReady,async(E,$)=>{!E||E===$||(Up({capabilityStore:l}),hN({updatesStore:m,capabilityStore:l,configStore:a,clientService:S}),await rN({app:r,appsStore:o,applications:R}),e())},{immediate:!0}),Ae(()=>i.userContextReady,async E=>{if(!E)return;const $=r.config.globalProperties.$clientService,[M]=await Promise.all([$.graphAuthenticated.permissions.listRoleDefinitions(),u.loadSpaces({graphClient:$.graphAuthenticated}),Il({path:t,configStore:a,token:i.accessToken}),bN({clientService:$,configStore:a,capabilityStore:l,groupwareConfigStore:_})]),j=r.config.globalProperties.$previewService;r.config.globalProperties.passwordPolicyService.initialize(l),l.supportSSE&&vN({language:g,resourcesStore:h,spacesStore:u,messageStore:f,sharesStore:y,clientService:$,userStore:d,previewService:j,configStore:a,authStore:i,router:Qe}),y.setGraphRoles(M);const X=u.spaces.find(Jl);X&&u.updateSpaceField({id:X.id,field:"name",value:r.config.globalProperties.$gettext("Personal")}),u.setSpacesInitialized(!0)},{immediate:!0}),Ae(()=>i.publicLinkContextReady,E=>{if(!E)return;const $=i.publicLinkToken,M=i.publicLinkPassword,j=i.publicLinkType,W=j==="ocm"?r.config.globalProperties.$gettext("OCM share"):r.config.globalProperties.$gettext("Public files"),X=Zs({id:$,name:W,...M&&{publicLinkPassword:M},serverUrl:a.serverUrl,publicLinkType:j});u.addSpaces([X]),u.setSpacesInitialized(!0)},{immediate:!0}),Ae(()=>i.publicLinkPassword,E=>{const $=i.publicLinkToken,M=u.spaces.find(j=>Vt(j)&&j.id===$);M&&(M.publicLinkPassword=E)})},n2=async t=>{const{capabilityStore:e,configStore:n}=Ip();Up({capabilityStore:e});const s=To(xo.failure),r=await Sp();try{await Rp({app:s,designSystem:r,configStore:n})}catch{}console.error(t);const o=await _p(),i=Fp({app:s,availableLanguages:zs});$p({gettext:i,coreTranslations:o}),s.mount("#opencloud")};window.runtimeLoaded({bootstrapApp:t2,bootstrapErrorApp:n2});window.Buffer=dg; diff --git a/web-dist/js/index.html-Dg8fafME.mjs.gz b/web-dist/js/index.html-Dg8fafME.mjs.gz new file mode 100644 index 0000000000..77e3c1234d Binary files /dev/null and b/web-dist/js/index.html-Dg8fafME.mjs.gz differ diff --git a/web-dist/js/require.js b/web-dist/js/require.js new file mode 100644 index 0000000000..2b287326e8 --- /dev/null +++ b/web-dist/js/require.js @@ -0,0 +1,2145 @@ +/** vim: et:ts=4:sw=4:sts=4 + * @license RequireJS 2.3.8 Copyright jQuery Foundation and other contributors. + * Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE + */ +//Not using strict: uneven strict support in browsers, #392, and causes +//problems with requirejs.exec()/transpiler plugins that may not be strict. +/*jslint regexp: true, nomen: true, sloppy: true */ +/*global window, navigator, document, importScripts, setTimeout, opera */ + +var requirejs, require, define; +(function (global, setTimeout) { + var req, s, head, baseElement, dataMain, src, + interactiveScript, currentlyAddingScript, mainScript, subPath, + version = '2.3.8', + commentRegExp = /\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/mg, + cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g, + jsSuffixRegExp = /\.js$/, + currDirRegExp = /^\.\//, + op = Object.prototype, + ostring = op.toString, + hasOwn = op.hasOwnProperty, + isBrowser = !!(typeof window !== 'undefined' && typeof navigator !== 'undefined' && window.document), + isWebWorker = !isBrowser && typeof importScripts !== 'undefined', + //PS3 indicates loaded and complete, but need to wait for complete + //specifically. Sequence is 'loading', 'loaded', execution, + // then 'complete'. The UA check is unfortunate, but not sure how + //to feature test w/o causing perf issues. + readyRegExp = isBrowser && navigator.platform === 'PLAYSTATION 3' ? + /^complete$/ : /^(complete|loaded)$/, + defContextName = '_', + //Oh the tragedy, detecting opera. See the usage of isOpera for reason. + isOpera = typeof opera !== 'undefined' && opera.toString() === '[object Opera]', + contexts = {}, + cfg = {}, + globalDefQueue = [], + useInteractive = false; + + //Could match something like ')//comment', do not lose the prefix to comment. + function commentReplace(match, singlePrefix) { + return singlePrefix || ''; + } + + function isFunction(it) { + return ostring.call(it) === '[object Function]'; + } + + function isArray(it) { + return ostring.call(it) === '[object Array]'; + } + + /** + * Helper function for iterating over an array. If the func returns + * a true value, it will break out of the loop. + */ + function each(ary, func) { + if (ary) { + var i; + for (i = 0; i < ary.length; i += 1) { + if (ary[i] && func(ary[i], i, ary)) { + break; + } + } + } + } + + /** + * Helper function for iterating over an array backwards. If the func + * returns a true value, it will break out of the loop. + */ + function eachReverse(ary, func) { + if (ary) { + var i; + for (i = ary.length - 1; i > -1; i -= 1) { + if (ary[i] && func(ary[i], i, ary)) { + break; + } + } + } + } + + function hasProp(obj, prop) { + return hasOwn.call(obj, prop); + } + + function getOwn(obj, prop) { + return hasProp(obj, prop) && obj[prop]; + } + + /** + * Cycles over properties in an object and calls a function for each + * property value. If the function returns a truthy value, then the + * iteration is stopped. + */ + function eachProp(obj, func) { + var prop; + for (prop in obj) { + if (hasProp(obj, prop) && prop !== '__proto__' && prop !== 'constructor') { + if (func(obj[prop], prop)) { + break; + } + } + } + } + + /** + * Simple function to mix in properties from source into target, + * but only if target does not already have a property of the same name. + */ + function mixin(target, source, force, deepStringMixin) { + if (source) { + eachProp(source, function (value, prop) { + if (force || !hasProp(target, prop)) { + if (deepStringMixin && typeof value === 'object' && value && + !isArray(value) && !isFunction(value) && + !(value instanceof RegExp)) { + + if (!target[prop]) { + target[prop] = {}; + } + mixin(target[prop], value, force, deepStringMixin); + } else { + target[prop] = value; + } + } + }); + } + return target; + } + + //Similar to Function.prototype.bind, but the 'this' object is specified + //first, since it is easier to read/figure out what 'this' will be. + function bind(obj, fn) { + return function () { + return fn.apply(obj, arguments); + }; + } + + function scripts() { + return document.getElementsByTagName('script'); + } + + function defaultOnError(err) { + throw err; + } + + //Allow getting a global that is expressed in + //dot notation, like 'a.b.c'. + function getGlobal(value) { + if (!value) { + return value; + } + var g = global; + each(value.split('.'), function (part) { + g = g[part]; + }); + return g; + } + + /** + * Constructs an error with a pointer to an URL with more information. + * @param {String} id the error ID that maps to an ID on a web page. + * @param {String} message human readable error. + * @param {Error} [err] the original error, if there is one. + * + * @returns {Error} + */ + function makeError(id, msg, err, requireModules) { + var e = new Error(msg + '\nhttps://requirejs.org/docs/errors.html#' + id); + e.requireType = id; + e.requireModules = requireModules; + if (err) { + e.originalError = err; + } + return e; + } + + if (typeof define !== 'undefined') { + //If a define is already in play via another AMD loader, + //do not overwrite. + return; + } + + if (typeof requirejs !== 'undefined') { + if (isFunction(requirejs)) { + //Do not overwrite an existing requirejs instance. + return; + } + cfg = requirejs; + requirejs = undefined; + } + + //Allow for a require config object + if (typeof require !== 'undefined' && !isFunction(require)) { + //assume it is a config object. + cfg = require; + require = undefined; + } + + function newContext(contextName) { + var inCheckLoaded, Module, context, handlers, + checkLoadedTimeoutId, + config = { + //Defaults. Do not set a default for map + //config to speed up normalize(), which + //will run faster if there is no default. + waitSeconds: 7, + baseUrl: './', + paths: {}, + bundles: {}, + pkgs: {}, + shim: {}, + config: {} + }, + registry = {}, + //registry of just enabled modules, to speed + //cycle breaking code when lots of modules + //are registered, but not activated. + enabledRegistry = {}, + undefEvents = {}, + defQueue = [], + defined = {}, + urlFetched = {}, + bundlesMap = {}, + requireCounter = 1, + unnormalizedCounter = 1; + + /** + * Trims the . and .. from an array of path segments. + * It will keep a leading path segment if a .. will become + * the first path segment, to help with module name lookups, + * which act like paths, but can be remapped. But the end result, + * all paths that use this function should look normalized. + * NOTE: this method MODIFIES the input array. + * @param {Array} ary the array of path segments. + */ + function trimDots(ary) { + var i, part; + for (i = 0; i < ary.length; i++) { + part = ary[i]; + if (part === '.') { + ary.splice(i, 1); + i -= 1; + } else if (part === '..') { + // If at the start, or previous value is still .., + // keep them so that when converted to a path it may + // still work when converted to a path, even though + // as an ID it is less than ideal. In larger point + // releases, may be better to just kick out an error. + if (i === 0 || (i === 1 && ary[2] === '..') || ary[i - 1] === '..') { + continue; + } else if (i > 0) { + ary.splice(i - 1, 2); + i -= 2; + } + } + } + } + + /** + * Given a relative module name, like ./something, normalize it to + * a real name that can be mapped to a path. + * @param {String} name the relative name + * @param {String} baseName a real name that the name arg is relative + * to. + * @param {Boolean} applyMap apply the map config to the value. Should + * only be done if this normalization is for a dependency ID. + * @returns {String} normalized name + */ + function normalize(name, baseName, applyMap) { + var pkgMain, mapValue, nameParts, i, j, nameSegment, lastIndex, + foundMap, foundI, foundStarMap, starI, normalizedBaseParts, + baseParts = (baseName && baseName.split('/')), + map = config.map, + starMap = map && map['*']; + + //Adjust any relative paths. + if (name) { + name = name.split('/'); + lastIndex = name.length - 1; + + // If wanting node ID compatibility, strip .js from end + // of IDs. Have to do this here, and not in nameToUrl + // because node allows either .js or non .js to map + // to same file. + if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) { + name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, ''); + } + + // Starts with a '.' so need the baseName + if (name[0].charAt(0) === '.' && baseParts) { + //Convert baseName to array, and lop off the last part, + //so that . matches that 'directory' and not name of the baseName's + //module. For instance, baseName of 'one/two/three', maps to + //'one/two/three.js', but we want the directory, 'one/two' for + //this normalization. + normalizedBaseParts = baseParts.slice(0, baseParts.length - 1); + name = normalizedBaseParts.concat(name); + } + + trimDots(name); + name = name.join('/'); + } + + //Apply map config if available. + if (applyMap && map && (baseParts || starMap)) { + nameParts = name.split('/'); + + outerLoop: for (i = nameParts.length; i > 0; i -= 1) { + nameSegment = nameParts.slice(0, i).join('/'); + + if (baseParts) { + //Find the longest baseName segment match in the config. + //So, do joins on the biggest to smallest lengths of baseParts. + for (j = baseParts.length; j > 0; j -= 1) { + mapValue = getOwn(map, baseParts.slice(0, j).join('/')); + + //baseName segment has config, find if it has one for + //this name. + if (mapValue) { + mapValue = getOwn(mapValue, nameSegment); + if (mapValue) { + //Match, update name to the new value. + foundMap = mapValue; + foundI = i; + break outerLoop; + } + } + } + } + + //Check for a star map match, but just hold on to it, + //if there is a shorter segment match later in a matching + //config, then favor over this star map. + if (!foundStarMap && starMap && getOwn(starMap, nameSegment)) { + foundStarMap = getOwn(starMap, nameSegment); + starI = i; + } + } + + if (!foundMap && foundStarMap) { + foundMap = foundStarMap; + foundI = starI; + } + + if (foundMap) { + nameParts.splice(0, foundI, foundMap); + name = nameParts.join('/'); + } + } + + // If the name points to a package's name, use + // the package main instead. + pkgMain = getOwn(config.pkgs, name); + + return pkgMain ? pkgMain : name; + } + + function removeScript(name) { + if (isBrowser) { + each(scripts(), function (scriptNode) { + if (scriptNode.getAttribute('data-requiremodule') === name && + scriptNode.getAttribute('data-requirecontext') === context.contextName) { + scriptNode.parentNode.removeChild(scriptNode); + return true; + } + }); + } + } + + function hasPathFallback(id) { + var pathConfig = getOwn(config.paths, id); + if (pathConfig && isArray(pathConfig) && pathConfig.length > 1) { + //Pop off the first array value, since it failed, and + //retry + pathConfig.shift(); + context.require.undef(id); + + //Custom require that does not do map translation, since + //ID is "absolute", already mapped/resolved. + context.makeRequire(null, { + skipMap: true + })([id]); + + return true; + } + } + + //Turns a plugin!resource to [plugin, resource] + //with the plugin being undefined if the name + //did not have a plugin prefix. + function splitPrefix(name) { + var prefix, + index = name ? name.indexOf('!') : -1; + if (index > -1) { + prefix = name.substring(0, index); + name = name.substring(index + 1, name.length); + } + return [prefix, name]; + } + + /** + * Creates a module mapping that includes plugin prefix, module + * name, and path. If parentModuleMap is provided it will + * also normalize the name via require.normalize() + * + * @param {String} name the module name + * @param {String} [parentModuleMap] parent module map + * for the module name, used to resolve relative names. + * @param {Boolean} isNormalized: is the ID already normalized. + * This is true if this call is done for a define() module ID. + * @param {Boolean} applyMap: apply the map config to the ID. + * Should only be true if this map is for a dependency. + * + * @returns {Object} + */ + function makeModuleMap(name, parentModuleMap, isNormalized, applyMap) { + var url, pluginModule, suffix, nameParts, + prefix = null, + parentName = parentModuleMap ? parentModuleMap.name : null, + originalName = name, + isDefine = true, + normalizedName = ''; + + //If no name, then it means it is a require call, generate an + //internal name. + if (!name) { + isDefine = false; + name = '_@r' + (requireCounter += 1); + } + + nameParts = splitPrefix(name); + prefix = nameParts[0]; + name = nameParts[1]; + + if (prefix) { + prefix = normalize(prefix, parentName, applyMap); + pluginModule = getOwn(defined, prefix); + } + + //Account for relative paths if there is a base name. + if (name) { + if (prefix) { + if (isNormalized) { + normalizedName = name; + } else if (pluginModule && pluginModule.normalize) { + //Plugin is loaded, use its normalize method. + normalizedName = pluginModule.normalize(name, function (name) { + return normalize(name, parentName, applyMap); + }); + } else { + // If nested plugin references, then do not try to + // normalize, as it will not normalize correctly. This + // places a restriction on resourceIds, and the longer + // term solution is not to normalize until plugins are + // loaded and all normalizations to allow for async + // loading of a loader plugin. But for now, fixes the + // common uses. Details in #1131 + normalizedName = name.indexOf('!') === -1 ? + normalize(name, parentName, applyMap) : + name; + } + } else { + //A regular module. + normalizedName = normalize(name, parentName, applyMap); + + //Normalized name may be a plugin ID due to map config + //application in normalize. The map config values must + //already be normalized, so do not need to redo that part. + nameParts = splitPrefix(normalizedName); + prefix = nameParts[0]; + normalizedName = nameParts[1]; + isNormalized = true; + + url = context.nameToUrl(normalizedName); + } + } + + //If the id is a plugin id that cannot be determined if it needs + //normalization, stamp it with a unique ID so two matching relative + //ids that may conflict can be separate. + suffix = prefix && !pluginModule && !isNormalized ? + '_unnormalized' + (unnormalizedCounter += 1) : + ''; + + return { + prefix: prefix, + name: normalizedName, + parentMap: parentModuleMap, + unnormalized: !!suffix, + url: url, + originalName: originalName, + isDefine: isDefine, + id: (prefix ? + prefix + '!' + normalizedName : + normalizedName) + suffix + }; + } + + function getModule(depMap) { + var id = depMap.id, + mod = getOwn(registry, id); + + if (!mod) { + mod = registry[id] = new context.Module(depMap); + } + + return mod; + } + + function on(depMap, name, fn) { + var id = depMap.id, + mod = getOwn(registry, id); + + if (hasProp(defined, id) && + (!mod || mod.defineEmitComplete)) { + if (name === 'defined') { + fn(defined[id]); + } + } else { + mod = getModule(depMap); + if (mod.error && name === 'error') { + fn(mod.error); + } else { + mod.on(name, fn); + } + } + } + + function onError(err, errback) { + var ids = err.requireModules, + notified = false; + + if (errback) { + errback(err); + } else { + each(ids, function (id) { + var mod = getOwn(registry, id); + if (mod) { + //Set error on module, so it skips timeout checks. + mod.error = err; + if (mod.events.error) { + notified = true; + mod.emit('error', err); + } + } + }); + + if (!notified) { + req.onError(err); + } + } + } + + /** + * Internal method to transfer globalQueue items to this context's + * defQueue. + */ + function takeGlobalQueue() { + //Push all the globalDefQueue items into the context's defQueue + if (globalDefQueue.length) { + each(globalDefQueue, function(queueItem) { + var id = queueItem[0]; + if (typeof id === 'string') { + context.defQueueMap[id] = true; + } + defQueue.push(queueItem); + }); + globalDefQueue = []; + } + } + + handlers = { + 'require': function (mod) { + if (mod.require) { + return mod.require; + } else { + return (mod.require = context.makeRequire(mod.map)); + } + }, + 'exports': function (mod) { + mod.usingExports = true; + if (mod.map.isDefine) { + if (mod.exports) { + return (defined[mod.map.id] = mod.exports); + } else { + return (mod.exports = defined[mod.map.id] = {}); + } + } + }, + 'module': function (mod) { + if (mod.module) { + return mod.module; + } else { + return (mod.module = { + id: mod.map.id, + uri: mod.map.url, + config: function () { + return getOwn(config.config, mod.map.id) || {}; + }, + exports: mod.exports || (mod.exports = {}) + }); + } + } + }; + + function cleanRegistry(id) { + //Clean up machinery used for waiting modules. + delete registry[id]; + delete enabledRegistry[id]; + } + + function breakCycle(mod, traced, processed) { + var id = mod.map.id; + + if (mod.error) { + mod.emit('error', mod.error); + } else { + traced[id] = true; + each(mod.depMaps, function (depMap, i) { + var depId = depMap.id, + dep = getOwn(registry, depId); + + //Only force things that have not completed + //being defined, so still in the registry, + //and only if it has not been matched up + //in the module already. + if (dep && !mod.depMatched[i] && !processed[depId]) { + if (getOwn(traced, depId)) { + mod.defineDep(i, defined[depId]); + mod.check(); //pass false? + } else { + breakCycle(dep, traced, processed); + } + } + }); + processed[id] = true; + } + } + + function checkLoaded() { + var err, usingPathFallback, + waitInterval = config.waitSeconds * 1000, + //It is possible to disable the wait interval by using waitSeconds of 0. + expired = waitInterval && (context.startTime + waitInterval) < new Date().getTime(), + noLoads = [], + reqCalls = [], + stillLoading = false, + needCycleCheck = true; + + //Do not bother if this call was a result of a cycle break. + if (inCheckLoaded) { + return; + } + + inCheckLoaded = true; + + //Figure out the state of all the modules. + eachProp(enabledRegistry, function (mod) { + var map = mod.map, + modId = map.id; + + //Skip things that are not enabled or in error state. + if (!mod.enabled) { + return; + } + + if (!map.isDefine) { + reqCalls.push(mod); + } + + if (!mod.error) { + //If the module should be executed, and it has not + //been inited and time is up, remember it. + if (!mod.inited && expired) { + if (hasPathFallback(modId)) { + usingPathFallback = true; + stillLoading = true; + } else { + noLoads.push(modId); + removeScript(modId); + } + } else if (!mod.inited && mod.fetched && map.isDefine) { + stillLoading = true; + if (!map.prefix) { + //No reason to keep looking for unfinished + //loading. If the only stillLoading is a + //plugin resource though, keep going, + //because it may be that a plugin resource + //is waiting on a non-plugin cycle. + return (needCycleCheck = false); + } + } + } + }); + + if (expired && noLoads.length) { + //If wait time expired, throw error of unloaded modules. + err = makeError('timeout', 'Load timeout for modules: ' + noLoads, null, noLoads); + err.contextName = context.contextName; + return onError(err); + } + + //Not expired, check for a cycle. + if (needCycleCheck) { + each(reqCalls, function (mod) { + breakCycle(mod, {}, {}); + }); + } + + //If still waiting on loads, and the waiting load is something + //other than a plugin resource, or there are still outstanding + //scripts, then just try back later. + if ((!expired || usingPathFallback) && stillLoading) { + //Something is still waiting to load. Wait for it, but only + //if a timeout is not already in effect. + if ((isBrowser || isWebWorker) && !checkLoadedTimeoutId) { + checkLoadedTimeoutId = setTimeout(function () { + checkLoadedTimeoutId = 0; + checkLoaded(); + }, 50); + } + } + + inCheckLoaded = false; + } + + Module = function (map) { + this.events = getOwn(undefEvents, map.id) || {}; + this.map = map; + this.shim = getOwn(config.shim, map.id); + this.depExports = []; + this.depMaps = []; + this.depMatched = []; + this.pluginMaps = {}; + this.depCount = 0; + + /* this.exports this.factory + this.depMaps = [], + this.enabled, this.fetched + */ + }; + + Module.prototype = { + init: function (depMaps, factory, errback, options) { + options = options || {}; + + //Do not do more inits if already done. Can happen if there + //are multiple define calls for the same module. That is not + //a normal, common case, but it is also not unexpected. + if (this.inited) { + return; + } + + this.factory = factory; + + if (errback) { + //Register for errors on this module. + this.on('error', errback); + } else if (this.events.error) { + //If no errback already, but there are error listeners + //on this module, set up an errback to pass to the deps. + errback = bind(this, function (err) { + this.emit('error', err); + }); + } + + //Do a copy of the dependency array, so that + //source inputs are not modified. For example + //"shim" deps are passed in here directly, and + //doing a direct modification of the depMaps array + //would affect that config. + this.depMaps = depMaps && depMaps.slice(0); + + this.errback = errback; + + //Indicate this module has be initialized + this.inited = true; + + this.ignore = options.ignore; + + //Could have option to init this module in enabled mode, + //or could have been previously marked as enabled. However, + //the dependencies are not known until init is called. So + //if enabled previously, now trigger dependencies as enabled. + if (options.enabled || this.enabled) { + //Enable this module and dependencies. + //Will call this.check() + this.enable(); + } else { + this.check(); + } + }, + + defineDep: function (i, depExports) { + //Because of cycles, defined callback for a given + //export can be called more than once. + if (!this.depMatched[i]) { + this.depMatched[i] = true; + this.depCount -= 1; + this.depExports[i] = depExports; + } + }, + + fetch: function () { + if (this.fetched) { + return; + } + this.fetched = true; + + context.startTime = (new Date()).getTime(); + + var map = this.map; + + //If the manager is for a plugin managed resource, + //ask the plugin to load it now. + if (this.shim) { + context.makeRequire(this.map, { + enableBuildCallback: true + })(this.shim.deps || [], bind(this, function () { + return map.prefix ? this.callPlugin() : this.load(); + })); + } else { + //Regular dependency. + return map.prefix ? this.callPlugin() : this.load(); + } + }, + + load: function () { + var url = this.map.url; + + //Regular dependency. + if (!urlFetched[url]) { + urlFetched[url] = true; + context.load(this.map.id, url); + } + }, + + /** + * Checks if the module is ready to define itself, and if so, + * define it. + */ + check: function () { + if (!this.enabled || this.enabling) { + return; + } + + var err, cjsModule, + id = this.map.id, + depExports = this.depExports, + exports = this.exports, + factory = this.factory; + + if (!this.inited) { + // Only fetch if not already in the defQueue. + if (!hasProp(context.defQueueMap, id)) { + this.fetch(); + } + } else if (this.error) { + this.emit('error', this.error); + } else if (!this.defining) { + //The factory could trigger another require call + //that would result in checking this module to + //define itself again. If already in the process + //of doing that, skip this work. + this.defining = true; + + if (this.depCount < 1 && !this.defined) { + if (isFunction(factory)) { + //If there is an error listener, favor passing + //to that instead of throwing an error. However, + //only do it for define()'d modules. require + //errbacks should not be called for failures in + //their callbacks (#699). However if a global + //onError is set, use that. + if ((this.events.error && this.map.isDefine) || + req.onError !== defaultOnError) { + try { + exports = context.execCb(id, factory, depExports, exports); + } catch (e) { + err = e; + } + } else { + exports = context.execCb(id, factory, depExports, exports); + } + + // Favor return value over exports. If node/cjs in play, + // then will not have a return value anyway. Favor + // module.exports assignment over exports object. + if (this.map.isDefine && exports === undefined) { + cjsModule = this.module; + if (cjsModule) { + exports = cjsModule.exports; + } else if (this.usingExports) { + //exports already set the defined value. + exports = this.exports; + } + } + + if (err) { + err.requireMap = this.map; + err.requireModules = this.map.isDefine ? [this.map.id] : null; + err.requireType = this.map.isDefine ? 'define' : 'require'; + return onError((this.error = err)); + } + + } else { + //Just a literal value + exports = factory; + } + + this.exports = exports; + + if (this.map.isDefine && !this.ignore) { + defined[id] = exports; + + if (req.onResourceLoad) { + var resLoadMaps = []; + each(this.depMaps, function (depMap) { + resLoadMaps.push(depMap.normalizedMap || depMap); + }); + req.onResourceLoad(context, this.map, resLoadMaps); + } + } + + //Clean up + cleanRegistry(id); + + this.defined = true; + } + + //Finished the define stage. Allow calling check again + //to allow define notifications below in the case of a + //cycle. + this.defining = false; + + if (this.defined && !this.defineEmitted) { + this.defineEmitted = true; + this.emit('defined', this.exports); + this.defineEmitComplete = true; + } + + } + }, + + callPlugin: function () { + var map = this.map, + id = map.id, + //Map already normalized the prefix. + pluginMap = makeModuleMap(map.prefix); + + //Mark this as a dependency for this plugin, so it + //can be traced for cycles. + this.depMaps.push(pluginMap); + + on(pluginMap, 'defined', bind(this, function (plugin) { + var load, normalizedMap, normalizedMod, + bundleId = getOwn(bundlesMap, this.map.id), + name = this.map.name, + parentName = this.map.parentMap ? this.map.parentMap.name : null, + localRequire = context.makeRequire(map.parentMap, { + enableBuildCallback: true + }); + + //If current map is not normalized, wait for that + //normalized name to load instead of continuing. + if (this.map.unnormalized) { + //Normalize the ID if the plugin allows it. + if (plugin.normalize) { + name = plugin.normalize(name, function (name) { + return normalize(name, parentName, true); + }) || ''; + } + + //prefix and name should already be normalized, no need + //for applying map config again either. + normalizedMap = makeModuleMap(map.prefix + '!' + name, + this.map.parentMap, + true); + on(normalizedMap, + 'defined', bind(this, function (value) { + this.map.normalizedMap = normalizedMap; + this.init([], function () { return value; }, null, { + enabled: true, + ignore: true + }); + })); + + normalizedMod = getOwn(registry, normalizedMap.id); + if (normalizedMod) { + //Mark this as a dependency for this plugin, so it + //can be traced for cycles. + this.depMaps.push(normalizedMap); + + if (this.events.error) { + normalizedMod.on('error', bind(this, function (err) { + this.emit('error', err); + })); + } + normalizedMod.enable(); + } + + return; + } + + //If a paths config, then just load that file instead to + //resolve the plugin, as it is built into that paths layer. + if (bundleId) { + this.map.url = context.nameToUrl(bundleId); + this.load(); + return; + } + + load = bind(this, function (value) { + this.init([], function () { return value; }, null, { + enabled: true + }); + }); + + load.error = bind(this, function (err) { + this.inited = true; + this.error = err; + err.requireModules = [id]; + + //Remove temp unnormalized modules for this module, + //since they will never be resolved otherwise now. + eachProp(registry, function (mod) { + if (mod.map.id.indexOf(id + '_unnormalized') === 0) { + cleanRegistry(mod.map.id); + } + }); + + onError(err); + }); + + //Allow plugins to load other code without having to know the + //context or how to 'complete' the load. + load.fromText = bind(this, function (text, textAlt) { + /*jslint evil: true */ + var moduleName = map.name, + moduleMap = makeModuleMap(moduleName), + hasInteractive = useInteractive; + + //As of 2.1.0, support just passing the text, to reinforce + //fromText only being called once per resource. Still + //support old style of passing moduleName but discard + //that moduleName in favor of the internal ref. + if (textAlt) { + text = textAlt; + } + + //Turn off interactive script matching for IE for any define + //calls in the text, then turn it back on at the end. + if (hasInteractive) { + useInteractive = false; + } + + //Prime the system by creating a module instance for + //it. + getModule(moduleMap); + + //Transfer any config to this other module. + if (hasProp(config.config, id)) { + config.config[moduleName] = config.config[id]; + } + + try { + req.exec(text); + } catch (e) { + return onError(makeError('fromtexteval', + 'fromText eval for ' + id + + ' failed: ' + e, + e, + [id])); + } + + if (hasInteractive) { + useInteractive = true; + } + + //Mark this as a dependency for the plugin + //resource + this.depMaps.push(moduleMap); + + //Support anonymous modules. + context.completeLoad(moduleName); + + //Bind the value of that module to the value for this + //resource ID. + localRequire([moduleName], load); + }); + + //Use parentName here since the plugin's name is not reliable, + //could be some weird string with no path that actually wants to + //reference the parentName's path. + plugin.load(map.name, localRequire, load, config); + })); + + context.enable(pluginMap, this); + this.pluginMaps[pluginMap.id] = pluginMap; + }, + + enable: function () { + enabledRegistry[this.map.id] = this; + this.enabled = true; + + //Set flag mentioning that the module is enabling, + //so that immediate calls to the defined callbacks + //for dependencies do not trigger inadvertent load + //with the depCount still being zero. + this.enabling = true; + + //Enable each dependency + each(this.depMaps, bind(this, function (depMap, i) { + var id, mod, handler; + + if (typeof depMap === 'string') { + //Dependency needs to be converted to a depMap + //and wired up to this module. + depMap = makeModuleMap(depMap, + (this.map.isDefine ? this.map : this.map.parentMap), + false, + !this.skipMap); + this.depMaps[i] = depMap; + + handler = getOwn(handlers, depMap.id); + + if (handler) { + this.depExports[i] = handler(this); + return; + } + + this.depCount += 1; + + on(depMap, 'defined', bind(this, function (depExports) { + if (this.undefed) { + return; + } + this.defineDep(i, depExports); + this.check(); + })); + + if (this.errback) { + on(depMap, 'error', bind(this, this.errback)); + } else if (this.events.error) { + // No direct errback on this module, but something + // else is listening for errors, so be sure to + // propagate the error correctly. + on(depMap, 'error', bind(this, function(err) { + this.emit('error', err); + })); + } + } + + id = depMap.id; + mod = registry[id]; + + //Skip special modules like 'require', 'exports', 'module' + //Also, don't call enable if it is already enabled, + //important in circular dependency cases. + if (!hasProp(handlers, id) && mod && !mod.enabled) { + context.enable(depMap, this); + } + })); + + //Enable each plugin that is used in + //a dependency + eachProp(this.pluginMaps, bind(this, function (pluginMap) { + var mod = getOwn(registry, pluginMap.id); + if (mod && !mod.enabled) { + context.enable(pluginMap, this); + } + })); + + this.enabling = false; + + this.check(); + }, + + on: function (name, cb) { + var cbs = this.events[name]; + if (!cbs) { + cbs = this.events[name] = []; + } + cbs.push(cb); + }, + + emit: function (name, evt) { + each(this.events[name], function (cb) { + cb(evt); + }); + if (name === 'error') { + //Now that the error handler was triggered, remove + //the listeners, since this broken Module instance + //can stay around for a while in the registry. + delete this.events[name]; + } + } + }; + + function callGetModule(args) { + //Skip modules already defined. + if (!hasProp(defined, args[0])) { + getModule(makeModuleMap(args[0], null, true)).init(args[1], args[2]); + } + } + + function removeListener(node, func, name, ieName) { + //Favor detachEvent because of IE9 + //issue, see attachEvent/addEventListener comment elsewhere + //in this file. + if (node.detachEvent && !isOpera) { + //Probably IE. If not it will throw an error, which will be + //useful to know. + if (ieName) { + node.detachEvent(ieName, func); + } + } else { + node.removeEventListener(name, func, false); + } + } + + /** + * Given an event from a script node, get the requirejs info from it, + * and then removes the event listeners on the node. + * @param {Event} evt + * @returns {Object} + */ + function getScriptData(evt) { + //Using currentTarget instead of target for Firefox 2.0's sake. Not + //all old browsers will be supported, but this one was easy enough + //to support and still makes sense. + var node = evt.currentTarget || evt.srcElement; + + //Remove the listeners once here. + removeListener(node, context.onScriptLoad, 'load', 'onreadystatechange'); + removeListener(node, context.onScriptError, 'error'); + + return { + node: node, + id: node && node.getAttribute('data-requiremodule') + }; + } + + function intakeDefines() { + var args; + + //Any defined modules in the global queue, intake them now. + takeGlobalQueue(); + + //Make sure any remaining defQueue items get properly processed. + while (defQueue.length) { + args = defQueue.shift(); + if (args[0] === null) { + return onError(makeError('mismatch', 'Mismatched anonymous define() module: ' + + args[args.length - 1])); + } else { + //args are id, deps, factory. Should be normalized by the + //define() function. + callGetModule(args); + } + } + context.defQueueMap = {}; + } + + context = { + config: config, + contextName: contextName, + registry: registry, + defined: defined, + urlFetched: urlFetched, + defQueue: defQueue, + defQueueMap: {}, + Module: Module, + makeModuleMap: makeModuleMap, + nextTick: req.nextTick, + onError: onError, + + /** + * Set a configuration for the context. + * @param {Object} cfg config object to integrate. + */ + configure: function (cfg) { + //Make sure the baseUrl ends in a slash. + if (cfg.baseUrl) { + if (cfg.baseUrl.charAt(cfg.baseUrl.length - 1) !== '/') { + cfg.baseUrl += '/'; + } + } + + // Convert old style urlArgs string to a function. + if (typeof cfg.urlArgs === 'string') { + var urlArgs = cfg.urlArgs; + cfg.urlArgs = function(id, url) { + return (url.indexOf('?') === -1 ? '?' : '&') + urlArgs; + }; + } + + //Save off the paths since they require special processing, + //they are additive. + var shim = config.shim, + objs = { + paths: true, + bundles: true, + config: true, + map: true + }; + + eachProp(cfg, function (value, prop) { + if (objs[prop]) { + if (!config[prop]) { + config[prop] = {}; + } + mixin(config[prop], value, true, true); + } else { + config[prop] = value; + } + }); + + //Reverse map the bundles + if (cfg.bundles) { + eachProp(cfg.bundles, function (value, prop) { + each(value, function (v) { + if (v !== prop) { + bundlesMap[v] = prop; + } + }); + }); + } + + //Merge shim + if (cfg.shim) { + eachProp(cfg.shim, function (value, id) { + //Normalize the structure + if (isArray(value)) { + value = { + deps: value + }; + } + if ((value.exports || value.init) && !value.exportsFn) { + value.exportsFn = context.makeShimExports(value); + } + shim[id] = value; + }); + config.shim = shim; + } + + //Adjust packages if necessary. + if (cfg.packages) { + each(cfg.packages, function (pkgObj) { + var location, name; + + pkgObj = typeof pkgObj === 'string' ? {name: pkgObj} : pkgObj; + + name = pkgObj.name; + location = pkgObj.location; + if (location) { + config.paths[name] = pkgObj.location; + } + + //Save pointer to main module ID for pkg name. + //Remove leading dot in main, so main paths are normalized, + //and remove any trailing .js, since different package + //envs have different conventions: some use a module name, + //some use a file name. + config.pkgs[name] = pkgObj.name + '/' + (pkgObj.main || 'main') + .replace(currDirRegExp, '') + .replace(jsSuffixRegExp, ''); + }); + } + + //If there are any "waiting to execute" modules in the registry, + //update the maps for them, since their info, like URLs to load, + //may have changed. + eachProp(registry, function (mod, id) { + //If module already has init called, since it is too + //late to modify them, and ignore unnormalized ones + //since they are transient. + if (!mod.inited && !mod.map.unnormalized) { + mod.map = makeModuleMap(id, null, true); + } + }); + + //If a deps array or a config callback is specified, then call + //require with those args. This is useful when require is defined as a + //config object before require.js is loaded. + if (cfg.deps || cfg.callback) { + context.require(cfg.deps || [], cfg.callback); + } + }, + + makeShimExports: function (value) { + function fn() { + var ret; + if (value.init) { + ret = value.init.apply(global, arguments); + } + return ret || (value.exports && getGlobal(value.exports)); + } + return fn; + }, + + makeRequire: function (relMap, options) { + options = options || {}; + + function localRequire(deps, callback, errback) { + var id, map, requireMod; + + if (options.enableBuildCallback && callback && isFunction(callback)) { + callback.__requireJsBuild = true; + } + + if (typeof deps === 'string') { + if (isFunction(callback)) { + //Invalid call + return onError(makeError('requireargs', 'Invalid require call'), errback); + } + + //If require|exports|module are requested, get the + //value for them from the special handlers. Caveat: + //this only works while module is being defined. + if (relMap && hasProp(handlers, deps)) { + return handlers[deps](registry[relMap.id]); + } + + //Synchronous access to one module. If require.get is + //available (as in the Node adapter), prefer that. + if (req.get) { + return req.get(context, deps, relMap, localRequire); + } + + //Normalize module name, if it contains . or .. + map = makeModuleMap(deps, relMap, false, true); + id = map.id; + + if (!hasProp(defined, id)) { + return onError(makeError('notloaded', 'Module name "' + + id + + '" has not been loaded yet for context: ' + + contextName + + (relMap ? '' : '. Use require([])'))); + } + return defined[id]; + } + + //Grab defines waiting in the global queue. + intakeDefines(); + + //Mark all the dependencies as needing to be loaded. + context.nextTick(function () { + //Some defines could have been added since the + //require call, collect them. + intakeDefines(); + + requireMod = getModule(makeModuleMap(null, relMap)); + + //Store if map config should be applied to this require + //call for dependencies. + requireMod.skipMap = options.skipMap; + + requireMod.init(deps, callback, errback, { + enabled: true + }); + + checkLoaded(); + }); + + return localRequire; + } + + mixin(localRequire, { + isBrowser: isBrowser, + + /** + * Converts a module name + .extension into an URL path. + * *Requires* the use of a module name. It does not support using + * plain URLs like nameToUrl. + */ + toUrl: function (moduleNamePlusExt) { + var ext, + index = moduleNamePlusExt.lastIndexOf('.'), + segment = moduleNamePlusExt.split('/')[0], + isRelative = segment === '.' || segment === '..'; + + //Have a file extension alias, and it is not the + //dots from a relative path. + if (index !== -1 && (!isRelative || index > 1)) { + ext = moduleNamePlusExt.substring(index, moduleNamePlusExt.length); + moduleNamePlusExt = moduleNamePlusExt.substring(0, index); + } + + return context.nameToUrl(normalize(moduleNamePlusExt, + relMap && relMap.id, true), ext, true); + }, + + defined: function (id) { + return hasProp(defined, makeModuleMap(id, relMap, false, true).id); + }, + + specified: function (id) { + id = makeModuleMap(id, relMap, false, true).id; + return hasProp(defined, id) || hasProp(registry, id); + } + }); + + //Only allow undef on top level require calls + if (!relMap) { + localRequire.undef = function (id) { + //Bind any waiting define() calls to this context, + //fix for #408 + takeGlobalQueue(); + + var map = makeModuleMap(id, relMap, true), + mod = getOwn(registry, id); + + mod.undefed = true; + removeScript(id); + + delete defined[id]; + delete urlFetched[map.url]; + delete undefEvents[id]; + + //Clean queued defines too. Go backwards + //in array so that the splices do not + //mess up the iteration. + eachReverse(defQueue, function(args, i) { + if (args[0] === id) { + defQueue.splice(i, 1); + } + }); + delete context.defQueueMap[id]; + + if (mod) { + //Hold on to listeners in case the + //module will be attempted to be reloaded + //using a different config. + if (mod.events.defined) { + undefEvents[id] = mod.events; + } + + cleanRegistry(id); + } + }; + } + + return localRequire; + }, + + /** + * Called to enable a module if it is still in the registry + * awaiting enablement. A second arg, parent, the parent module, + * is passed in for context, when this method is overridden by + * the optimizer. Not shown here to keep code compact. + */ + enable: function (depMap) { + var mod = getOwn(registry, depMap.id); + if (mod) { + getModule(depMap).enable(); + } + }, + + /** + * Internal method used by environment adapters to complete a load event. + * A load event could be a script load or just a load pass from a synchronous + * load call. + * @param {String} moduleName the name of the module to potentially complete. + */ + completeLoad: function (moduleName) { + var found, args, mod, + shim = getOwn(config.shim, moduleName) || {}, + shExports = shim.exports; + + takeGlobalQueue(); + + while (defQueue.length) { + args = defQueue.shift(); + if (args[0] === null) { + args[0] = moduleName; + //If already found an anonymous module and bound it + //to this name, then this is some other anon module + //waiting for its completeLoad to fire. + if (found) { + break; + } + found = true; + } else if (args[0] === moduleName) { + //Found matching define call for this script! + found = true; + } + + callGetModule(args); + } + context.defQueueMap = {}; + + //Do this after the cycle of callGetModule in case the result + //of those calls/init calls changes the registry. + mod = getOwn(registry, moduleName); + + if (!found && !hasProp(defined, moduleName) && mod && !mod.inited) { + if (config.enforceDefine && (!shExports || !getGlobal(shExports))) { + if (hasPathFallback(moduleName)) { + return; + } else { + return onError(makeError('nodefine', + 'No define call for ' + moduleName, + null, + [moduleName])); + } + } else { + //A script that does not call define(), so just simulate + //the call for it. + callGetModule([moduleName, (shim.deps || []), shim.exportsFn]); + } + } + + checkLoaded(); + }, + + /** + * Converts a module name to a file path. Supports cases where + * moduleName may actually be just an URL. + * Note that it **does not** call normalize on the moduleName, + * it is assumed to have already been normalized. This is an + * internal API, not a public one. Use toUrl for the public API. + */ + nameToUrl: function (moduleName, ext, skipExt) { + var paths, syms, i, parentModule, url, + parentPath, bundleId, + pkgMain = getOwn(config.pkgs, moduleName); + + if (pkgMain) { + moduleName = pkgMain; + } + + bundleId = getOwn(bundlesMap, moduleName); + + if (bundleId) { + return context.nameToUrl(bundleId, ext, skipExt); + } + + //If a colon is in the URL, it indicates a protocol is used and it is just + //an URL to a file, or if it starts with a slash, contains a query arg (i.e. ?) + //or ends with .js, then assume the user meant to use an url and not a module id. + //The slash is important for protocol-less URLs as well as full paths. + if (req.jsExtRegExp.test(moduleName)) { + //Just a plain path, not module name lookup, so just return it. + //Add extension if it is included. This is a bit wonky, only non-.js things pass + //an extension, this method probably needs to be reworked. + url = moduleName + (ext || ''); + } else { + //A module that needs to be converted to a path. + paths = config.paths; + + syms = moduleName.split('/'); + //For each module name segment, see if there is a path + //registered for it. Start with most specific name + //and work up from it. + for (i = syms.length; i > 0; i -= 1) { + parentModule = syms.slice(0, i).join('/'); + + parentPath = getOwn(paths, parentModule); + if (parentPath) { + //If an array, it means there are a few choices, + //Choose the one that is desired + if (isArray(parentPath)) { + parentPath = parentPath[0]; + } + syms.splice(0, i, parentPath); + break; + } + } + + //Join the path parts together, then figure out if baseUrl is needed. + url = syms.join('/'); + url += (ext || (/^data\:|^blob\:|\?/.test(url) || skipExt ? '' : '.js')); + url = (url.charAt(0) === '/' || url.match(/^[\w\+\.\-]+:/) ? '' : config.baseUrl) + url; + } + + return config.urlArgs && !/^blob\:/.test(url) ? + url + config.urlArgs(moduleName, url) : url; + }, + + //Delegates to req.load. Broken out as a separate function to + //allow overriding in the optimizer. + load: function (id, url) { + req.load(context, id, url); + }, + + /** + * Executes a module callback function. Broken out as a separate function + * solely to allow the build system to sequence the files in the built + * layer in the right sequence. + * + * @private + */ + execCb: function (name, callback, args, exports) { + return callback.apply(exports, args); + }, + + /** + * callback for script loads, used to check status of loading. + * + * @param {Event} evt the event from the browser for the script + * that was loaded. + */ + onScriptLoad: function (evt) { + //Using currentTarget instead of target for Firefox 2.0's sake. Not + //all old browsers will be supported, but this one was easy enough + //to support and still makes sense. + if (evt.type === 'load' || + (readyRegExp.test((evt.currentTarget || evt.srcElement).readyState))) { + //Reset interactive script so a script node is not held onto for + //to long. + interactiveScript = null; + + //Pull out the name of the module and the context. + var data = getScriptData(evt); + context.completeLoad(data.id); + } + }, + + /** + * Callback for script errors. + */ + onScriptError: function (evt) { + var data = getScriptData(evt); + if (!hasPathFallback(data.id)) { + var parents = []; + eachProp(registry, function(value, key) { + if (key.indexOf('_@r') !== 0) { + each(value.depMaps, function(depMap) { + if (depMap.id === data.id) { + parents.push(key); + return true; + } + }); + } + }); + return onError(makeError('scripterror', 'Script error for "' + data.id + + (parents.length ? + '", needed by: ' + parents.join(', ') : + '"'), evt, [data.id])); + } + } + }; + + context.require = context.makeRequire(); + return context; + } + + /** + * Main entry point. + * + * If the only argument to require is a string, then the module that + * is represented by that string is fetched for the appropriate context. + * + * If the first argument is an array, then it will be treated as an array + * of dependency string names to fetch. An optional function callback can + * be specified to execute when all of those dependencies are available. + * + * Make a local req variable to help Caja compliance (it assumes things + * on a require that are not standardized), and to give a short + * name for minification/local scope use. + */ + req = requirejs = function (deps, callback, errback, optional) { + + //Find the right context, use default + var context, config, + contextName = defContextName; + + // Determine if have config object in the call. + if (!isArray(deps) && typeof deps !== 'string') { + // deps is a config object + config = deps; + if (isArray(callback)) { + // Adjust args if there are dependencies + deps = callback; + callback = errback; + errback = optional; + } else { + deps = []; + } + } + + if (config && config.context) { + contextName = config.context; + } + + context = getOwn(contexts, contextName); + if (!context) { + context = contexts[contextName] = req.s.newContext(contextName); + } + + if (config) { + context.configure(config); + } + + return context.require(deps, callback, errback); + }; + + /** + * Support require.config() to make it easier to cooperate with other + * AMD loaders on globally agreed names. + */ + req.config = function (config) { + return req(config); + }; + + /** + * Execute something after the current tick + * of the event loop. Override for other envs + * that have a better solution than setTimeout. + * @param {Function} fn function to execute later. + */ + req.nextTick = typeof setTimeout !== 'undefined' ? function (fn) { + setTimeout(fn, 4); + } : function (fn) { fn(); }; + + /** + * Export require as a global, but only if it does not already exist. + */ + if (!require) { + require = req; + } + + req.version = version; + + //Used to filter out dependencies that are already paths. + req.jsExtRegExp = /^\/|:|\?|\.js$/; + req.isBrowser = isBrowser; + s = req.s = { + contexts: contexts, + newContext: newContext + }; + + //Create default context. + req({}); + + //Exports some context-sensitive methods on global require. + each([ + 'toUrl', + 'undef', + 'defined', + 'specified' + ], function (prop) { + //Reference from contexts instead of early binding to default context, + //so that during builds, the latest instance of the default context + //with its config gets used. + req[prop] = function () { + var ctx = contexts[defContextName]; + return ctx.require[prop].apply(ctx, arguments); + }; + }); + + if (isBrowser) { + head = s.head = document.getElementsByTagName('head')[0]; + //If BASE tag is in play, using appendChild is a problem for IE6. + //When that browser dies, this can be removed. Details in this jQuery bug: + //http://dev.jquery.com/ticket/2709 + baseElement = document.getElementsByTagName('base')[0]; + if (baseElement) { + head = s.head = baseElement.parentNode; + } + } + + /** + * Any errors that require explicitly generates will be passed to this + * function. Intercept/override it if you want custom error handling. + * @param {Error} err the error object. + */ + req.onError = defaultOnError; + + /** + * Creates the node for the load command. Only used in browser envs. + */ + req.createNode = function (config, moduleName, url) { + var node = config.xhtml ? + document.createElementNS('http://www.w3.org/1999/xhtml', 'html:script') : + document.createElement('script'); + node.type = config.scriptType || 'text/javascript'; + node.charset = 'utf-8'; + node.async = true; + return node; + }; + + /** + * Does the request to load a module for the browser case. + * Make this a separate function to allow other environments + * to override it. + * + * @param {Object} context the require context to find state. + * @param {String} moduleName the name of the module. + * @param {Object} url the URL to the module. + */ + req.load = function (context, moduleName, url) { + var config = (context && context.config) || {}, + node; + if (isBrowser) { + //In the browser so use a script tag + node = req.createNode(config, moduleName, url); + + node.setAttribute('data-requirecontext', context.contextName); + node.setAttribute('data-requiremodule', moduleName); + + //Set up load listener. Test attachEvent first because IE9 has + //a subtle issue in its addEventListener and script onload firings + //that do not match the behavior of all other browsers with + //addEventListener support, which fire the onload event for a + //script right after the script execution. See: + //https://connect.microsoft.com/IE/feedback/details/648057/script-onload-event-is-not-fired-immediately-after-script-execution + //UNFORTUNATELY Opera implements attachEvent but does not follow the script + //script execution mode. + if (node.attachEvent && + //Check if node.attachEvent is artificially added by custom script or + //natively supported by browser + //read https://github.com/requirejs/requirejs/issues/187 + //if we can NOT find [native code] then it must NOT natively supported. + //in IE8, node.attachEvent does not have toString() + //Note the test for "[native code" with no closing brace, see: + //https://github.com/requirejs/requirejs/issues/273 + !(node.attachEvent.toString && node.attachEvent.toString().indexOf('[native code') < 0) && + !isOpera) { + //Probably IE. IE (at least 6-8) do not fire + //script onload right after executing the script, so + //we cannot tie the anonymous define call to a name. + //However, IE reports the script as being in 'interactive' + //readyState at the time of the define call. + useInteractive = true; + + node.attachEvent('onreadystatechange', context.onScriptLoad); + //It would be great to add an error handler here to catch + //404s in IE9+. However, onreadystatechange will fire before + //the error handler, so that does not help. If addEventListener + //is used, then IE will fire error before load, but we cannot + //use that pathway given the connect.microsoft.com issue + //mentioned above about not doing the 'script execute, + //then fire the script load event listener before execute + //next script' that other browsers do. + //Best hope: IE10 fixes the issues, + //and then destroys all installs of IE 6-9. + //node.attachEvent('onerror', context.onScriptError); + } else { + node.addEventListener('load', context.onScriptLoad, false); + node.addEventListener('error', context.onScriptError, false); + } + node.src = url; + + //Calling onNodeCreated after all properties on the node have been + //set, but before it is placed in the DOM. + if (config.onNodeCreated) { + config.onNodeCreated(node, config, moduleName, url); + } + + //For some cache cases in IE 6-8, the script executes before the end + //of the appendChild execution, so to tie an anonymous define + //call to the module name (which is stored on the node), hold on + //to a reference to this node, but clear after the DOM insertion. + currentlyAddingScript = node; + if (baseElement) { + head.insertBefore(node, baseElement); + } else { + head.appendChild(node); + } + currentlyAddingScript = null; + + return node; + } else if (isWebWorker) { + try { + //In a web worker, use importScripts. This is not a very + //efficient use of importScripts, importScripts will block until + //its script is downloaded and evaluated. However, if web workers + //are in play, the expectation is that a build has been done so + //that only one script needs to be loaded anyway. This may need + //to be reevaluated if other use cases become common. + + // Post a task to the event loop to work around a bug in WebKit + // where the worker gets garbage-collected after calling + // importScripts(): https://webkit.org/b/153317 + setTimeout(function() {}, 0); + importScripts(url); + + //Account for anonymous modules + context.completeLoad(moduleName); + } catch (e) { + context.onError(makeError('importscripts', + 'importScripts failed for ' + + moduleName + ' at ' + url, + e, + [moduleName])); + } + } + }; + + function getInteractiveScript() { + if (interactiveScript && interactiveScript.readyState === 'interactive') { + return interactiveScript; + } + + eachReverse(scripts(), function (script) { + if (script.readyState === 'interactive') { + return (interactiveScript = script); + } + }); + return interactiveScript; + } + + //Look for a data-main script attribute, which could also adjust the baseUrl. + if (isBrowser && !cfg.skipDataMain) { + //Figure out baseUrl. Get it from the script tag with require.js in it. + eachReverse(scripts(), function (script) { + //Set the 'head' where we can append children by + //using the script's parent. + if (!head) { + head = script.parentNode; + } + + //Look for a data-main attribute to set main script for the page + //to load. If it is there, the path to data main becomes the + //baseUrl, if it is not already set. + dataMain = script.getAttribute('data-main'); + if (dataMain) { + //Preserve dataMain in case it is a path (i.e. contains '?') + mainScript = dataMain; + + //Set final baseUrl if there is not already an explicit one, + //but only do so if the data-main value is not a loader plugin + //module ID. + if (!cfg.baseUrl && mainScript.indexOf('!') === -1) { + //Pull off the directory of data-main for use as the + //baseUrl. + src = mainScript.split('/'); + mainScript = src.pop(); + subPath = src.length ? src.join('/') + '/' : './'; + + cfg.baseUrl = subPath; + } + + //Strip off any trailing .js since mainScript is now + //like a module name. + mainScript = mainScript.replace(jsSuffixRegExp, ''); + + //If mainScript is still a path, fall back to dataMain + if (req.jsExtRegExp.test(mainScript)) { + mainScript = dataMain; + } + + //Put the data-main script in the files to load. + cfg.deps = cfg.deps ? cfg.deps.concat(mainScript) : [mainScript]; + + return true; + } + }); + } + + /** + * The function that handles definitions of modules. Differs from + * require() in that a string for the module should be the first argument, + * and the function to execute after dependencies are loaded should + * return a value to define the module corresponding to the first argument's + * name. + */ + define = function (name, deps, callback) { + var node, context; + + //Allow for anonymous modules + if (typeof name !== 'string') { + //Adjust args appropriately + callback = deps; + deps = name; + name = null; + } + + //This module may not have dependencies + if (!isArray(deps)) { + callback = deps; + deps = null; + } + + //If no name, and callback is a function, then figure out if it a + //CommonJS thing with dependencies. + if (!deps && isFunction(callback)) { + deps = []; + //Remove comments from the callback string, + //look for require calls, and pull them into the dependencies, + //but only if there are function args. + if (callback.length) { + callback + .toString() + .replace(commentRegExp, commentReplace) + .replace(cjsRequireRegExp, function (match, dep) { + deps.push(dep); + }); + + //May be a CommonJS thing even without require calls, but still + //could use exports, and module. Avoid doing exports and module + //work though if it just needs require. + //REQUIRES the function to expect the CommonJS variables in the + //order listed below. + deps = (callback.length === 1 ? ['require'] : ['require', 'exports', 'module']).concat(deps); + } + } + + //If in IE 6-8 and hit an anonymous define() call, do the interactive + //work. + if (useInteractive) { + node = currentlyAddingScript || getInteractiveScript(); + if (node) { + if (!name) { + name = node.getAttribute('data-requiremodule'); + } + context = contexts[node.getAttribute('data-requirecontext')]; + } + } + + //Always save off evaluating the def call until the script onload handler. + //This allows multiple modules to be in a file without prematurely + //tracing dependencies, and allows for anonymous module support, + //where the module name is not known until the script onload event + //occurs. If no context, use the global queue, and get it processed + //in the onscript load callback. + if (context) { + context.defQueue.push([name, deps, callback]); + context.defQueueMap[name] = true; + } else { + globalDefQueue.push([name, deps, callback]); + } + }; + + define.amd = { + jQuery: true + }; + + /** + * Executes the text. Normally just uses eval, but can be modified + * to use a better, environment-specific call. Only used for transpiling + * loader plugins, not for plain JS modules. + * @param {String} text the text to execute/evaluate. + */ + req.exec = function (text) { + /*jslint evil: true */ + return eval(text); + }; + + //Set up with config info. + req(cfg); +}(this, (typeof setTimeout === 'undefined' ? undefined : setTimeout))); diff --git a/web-dist/js/tailwind.ts-l0sNRNKZ.mjs b/web-dist/js/tailwind.ts-l0sNRNKZ.mjs new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/web-dist/js/tailwind.ts-l0sNRNKZ.mjs @@ -0,0 +1 @@ + diff --git a/web-dist/js/tailwind.ts-l0sNRNKZ.mjs.gz b/web-dist/js/tailwind.ts-l0sNRNKZ.mjs.gz new file mode 100644 index 0000000000..7bb6dce8ad Binary files /dev/null and b/web-dist/js/tailwind.ts-l0sNRNKZ.mjs.gz differ diff --git a/web-dist/js/web-app-activities-B1KJ630x.mjs b/web-dist/js/web-app-activities-B1KJ630x.mjs new file mode 100644 index 0000000000..3c1c744db8 --- /dev/null +++ b/web-dist/js/web-app-activities-B1KJ630x.mjs @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./chunks/LayoutContainer-6u4kq55b.mjs","./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs","./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs","./chunks/App-zfAz8YxY.mjs","./chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs","./chunks/index-lRhEXmMs.mjs","./chunks/resources-CL0nvFAd.mjs","./chunks/user-C7xYeMZ3.mjs","./chunks/useClientService-BP8mjZl2.mjs","./chunks/AppLoadingSpinner-D4wmhWZf.mjs","./chunks/ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs","./chunks/fuse-Dh4lEyaB.mjs","./chunks/omit-CjJULzjP.mjs","./chunks/_getTag-rbyw32wi.mjs","./chunks/_Set-DyVdKz_x.mjs","./chunks/useRoute-BGFNOdqM.mjs","./chunks/debounce-Bg6HwA-m.mjs","./chunks/toNumber-BQH-f3hb.mjs","./chunks/NoContentMessage-CtsU0h69.mjs","./chunks/locale-tv0ZmyWq.mjs","./chunks/datetime-CpSA3f1i.mjs","./chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs","./chunks/icon-BPAP2zgX.mjs"])))=>i.map(i=>d[i]); +import{_ as o}from"./chunks/preload-helper-PPVm8Dsz.mjs";import{cm as u,co as d,bQ as a,q as v,bk as m}from"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{d as h}from"./chunks/types-BoCZvwvE.mjs";import{aK as b}from"./chunks/user-C7xYeMZ3.mjs";const p={},A={},f={},y={"The resource is unavailable, it may have been deleted.":"المورد غير متوفر، ربما تم حذفه.",Activities:"أنشطة",Location:"موقع","Filter location":"تصفية الموقع","No activities found":"لم يتم العثور على أي أنشطة"},L={"The resource is unavailable, it may have been deleted.":"Ο πόρος δεν είναι διαθέσιμος, ενδέχεται να έχει διαγραφεί.",Activities:"Δραστηριότητες",Location:"Τοποθεσία","Filter location":"Φιλτράρισμα τοποθεσίας","No activities found":"Δεν βρέθηκαν δραστηριότητες"},F={Activities:"Aktivity",Location:"Umístění"},N={"The resource is unavailable, it may have been deleted.":"Die Ressource ist nicht mehr verfügbar, sie wurde möglicherweise gelöscht.",Activities:"Aktivitäten",Location:"Ort","Filter location":"Filter Ort","No activities found":"Keine Aktivitäten gefunden"},T={"The resource is unavailable, it may have been deleted.":"Este recurso es inaccesible, puede haber sido eliminado.",Activities:"Actividades",Location:"Ubicación","Filter location":"Filtro ubicación","No activities found":"No se han encontrado actividades"},k={},g={"The resource is unavailable, it may have been deleted.":"La ressource n'est pas disponible, elle a peut-être été supprimée.",Activities:"Activités",Location:"Emplacement","Filter location":"Emplacement du filtre","No activities found":"Aucune activité trouvée"},_={"The resource is unavailable, it may have been deleted.":"המשאב אינו זמין, ייתכן שהוא נמחק.",Activities:"פעילויות",Location:"מיקום","Filter location":"מסנן מיקום","No activities found":"לא נמצאה פעילות"},z={},x={},E={},I={"The resource is unavailable, it may have been deleted.":"La risorsa non è disponibile, potrebbe essere stata eliminata.",Activities:"Attività",Location:"Posizione","Filter location":"Filtra posizione","No activities found":"Nessuna attività trovata"},P={"The resource is unavailable, it may have been deleted.":"リソースを利用できません。削除された可能性があります",Activities:"アクティビティ",Location:"場所","Filter location":"場所でフィルター","No activities found":"アクティビティが見つかりませんでした"},j={"The resource is unavailable, it may have been deleted.":"De hulpbron is onbeschikbaar. Mogelijk is deze verwijderd.",Activities:"Activiteiten",Location:"Locatie","Filter location":"Locatie filteren","No activities found":"Geen activiteiten gevonden"},w={"The resource is unavailable, it may have been deleted.":"O recurso não está disponível, podendo ter sido eliminado.",Activities:"Atividades",Location:"Localização","Filter location":"Filtrar localização","No activities found":"Nenhuma atividade encontrada"},D={"The resource is unavailable, it may have been deleted.":"Zasób jest niedostępny. Być może został usunięty.",Activities:"Aktywności",Location:"Położenie","Filter location":"Filtruj położenie","No activities found":"Nie znaleziono aktywności"},O={},R={},U={"The resource is unavailable, it may have been deleted.":"Ресурс недоступен, возможно он был удален.",Activities:"События",Location:"Расположение","Filter location":"Фильтр по расположению","No activities found":"Событий не найдено"},q={},C={"The resource is unavailable, it may have been deleted.":"리소스를 사용할 수 없습니다. 삭제되었을 수 있습니다.",Activities:"활동",Location:"위치","Filter location":"필터 위치","No activities found":"활동을 찾을 수 없습니다"},G={},K={},M={"The resource is unavailable, it may have been deleted.":"Resursen är inte tillgänglig, den kan ha raderats.",Activities:"Aktiviteter",Location:"Plats","Filter location":"Filtrera plats","No activities found":"Inga aktiviteter hittades"},S={},V={},$={},B={},J={},Q={"The resource is unavailable, it may have been deleted.":"资源不可用,可能已被删除。",Activities:"活动",Location:"位置","Filter location":"筛选位置","No activities found":"未找到活动记录"},W={bg:p,bs:A,af:f,ar:y,el:L,cs:F,de:N,es:T,et:k,fr:g,he:_,gl:z,hr:x,id:E,it:I,ja:P,nl:j,pt:w,pl:D,ro:O,ka:R,ru:U,si:q,ko:C,sk:G,sq:K,sv:M,sr:S,ta:V,tr:$,uk:B,ug:J,zh:Q},Z="activities",te=h({setup(){const{$gettext:t}=u(),n=b(),{user:s}=d(n),e={name:t("Activities"),id:Z,icon:"pulse",color:"#887ef1"},c=[{path:"/",name:"root",component:()=>o(()=>import("./chunks/LayoutContainer-6u4kq55b.mjs"),__vite__mapDeps([0,1,2]),import.meta.url),redirect:a(e.id,"list"),meta:{authContext:"user"},children:[{path:"list",name:"list",component:()=>o(()=>import("./chunks/App-zfAz8YxY.mjs"),__vite__mapDeps([3,4,1,5,6,7,8,9,2,10,11,12,13,14,15,16,17,18,19,20,21,22]),import.meta.url),meta:{authContext:"user",title:t("Activities")}}]}],r={id:`app.${e.id}.menuItem`,type:"appMenuItem",label:()=>e.name,color:e.color,icon:e.icon,priority:30,path:a(e.id)},l=v(()=>{const i=[];return m(s)&&i.push(r),i});return{appInfo:e,routes:c,translations:W,extensions:l}}});export{te as default}; diff --git a/web-dist/js/web-app-activities-B1KJ630x.mjs.gz b/web-dist/js/web-app-activities-B1KJ630x.mjs.gz new file mode 100644 index 0000000000..7e73a25c5b Binary files /dev/null and b/web-dist/js/web-app-activities-B1KJ630x.mjs.gz differ diff --git a/web-dist/js/web-app-admin-settings-938Lf0wZ.mjs b/web-dist/js/web-app-admin-settings-938Lf0wZ.mjs new file mode 100644 index 0000000000..1037af158a --- /dev/null +++ b/web-dist/js/web-app-admin-settings-938Lf0wZ.mjs @@ -0,0 +1,10 @@ +import{dA as er,M as ee,co as ve,bu as Ie,bE as he,az as Le,bk as s,af as et,aU as V,aZ as x,aL as k,u as O,s as Z,F as ye,v as w,au as Vt,t as oe,H as N,I as E,aY as qe,bJ as M,d9 as Ue,cm as re,bb as P,cj as Bt,aD as ze,dB as Te,as as Lt,dC as _e,cr as Ne,q as F,cs as Ge,a_ as tt,bL as De,bO as Ve,ar as tr,c7 as sr,be as rr,ci as Os,dD as Pe,cl as _t,da as nr,bM as or,aX as st,c5 as ar,aO as ir,bQ as ur}from"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{I as lr,J as Ae,c as dr,V as cr,B as pr,v as rt,m as gt,P as Qt,a as Ht,_ as nt,t as Wt,y as Kt,q as Qe,r as He,f as gr,Q as mr,C as Zt,D as Yt,F as Jt,E as js,G as Is,H as Xt,S as fr,g as hr,h as br,A as yr}from"./chunks/Pagination-w-FgvznP.mjs";import{a as vr}from"./chunks/useAppDefaults-BUVwG3-M.mjs";import{u as xe}from"./chunks/vue-router-CmC7u3Bn.mjs";import{A as ot}from"./chunks/AppLoadingSpinner-D4wmhWZf.mjs";import{j as Cr,K as Oe,M as mt,x as es,C as ts,v as Sr,k as wr}from"./chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import{_ as ge}from"./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs";import{_ as Ar,u as ss,C as Ts,i as ft}from"./chunks/VersionCheck.vue_vue_type_script_setup_true_lang-D5qoa-gp.mjs";import{e as fe}from"./chunks/eventBus-B07Yv2pA.mjs";import{u as kr}from"./chunks/useScrollTo--zshzNky.mjs";import{b as Nr,k as Ur,o as Vs}from"./chunks/omit-CjJULzjP.mjs";import{u as Ee}from"./chunks/messages-bd5_8QAH.mjs";import{u as Me,f as Je}from"./chunks/modals-DsP9TGnr.mjs";import{u as ke}from"./chunks/useClientService-BP8mjZl2.mjs";import{u as rs}from"./chunks/useAbility-DLkgdurK.mjs";import{bC as Gr,bB as Bs,bs as Fr}from"./chunks/resources-CL0nvFAd.mjs";import{aK as ns}from"./chunks/user-C7xYeMZ3.mjs";import{i as Dr}from"./chunks/isEmpty-BPG2bWXw.mjs";import{c as Xe}from"./chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import{u as at}from"./chunks/useRoute-BGFNOdqM.mjs";import{f as je}from"./chunks/index-lRhEXmMs.mjs";import{_ as Er}from"./chunks/ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs";import{N as We}from"./chunks/NoContentMessage-CtsU0h69.mjs";import{r as $r,a as Ke,b as it,c as Pr,d as os,e as Ls,f as as,g as qr,h as zr,i as xr,j as Mr,k as Rr,l as Or}from"./chunks/index-ChwhOZNZ.mjs";import{F as ut,d as lt}from"./chunks/fuse-Dh4lEyaB.mjs";import{c as jr,i as Ir}from"./chunks/datetime-CpSA3f1i.mjs";import{A as Tr}from"./chunks/ActionMenuItem-5Eo133Qt.mjs";import{d as Vr}from"./chunks/types-BoCZvwvE.mjs";import"./chunks/useLoadingService-CLoheuuI.mjs";import"./chunks/toNumber-BQH-f3hb.mjs";import"./chunks/extensionRegistry-3T3I8mha.mjs";import"./chunks/_getTag-rbyw32wi.mjs";import"./chunks/_Set-DyVdKz_x.mjs";import"./chunks/useLoadPreview-Cv2y5hqA.mjs";import"./chunks/useRouteParam-C9SJn9Mp.mjs";import"./chunks/v4-EwEgHOG0.mjs";import"./chunks/locale-tv0ZmyWq.mjs";import"./chunks/debounce-Bg6HwA-m.mjs";var Br=1,Lr=4;function ht(e){return Nr(e,Br|Lr)}function _r(e){return function(t,r,a){var n=Object(t);if(!er(t)){var m=lr(r);t=Ur(t),r=function(i){return m(n[i],i,n)}}var l=e(t,r,a);return l>-1?n[m?t[l]:l]:void 0}}var It=_r(Ae);const Qr={Info:"معلومات",Version:"الإصدار","Group name":"اسم المجموعة","Group was created successfully":"تم إنشاء المجموعة بنجاح",Search:"بحث","Select all groups":"اختر جميع المجموعات","Show details":"إظهار التفاصيل",Edit:"تحرير",Members:"الأعضاء","Select %{ group }":"اختر %{ group }","Select spaces":"اختر المسحات","Select all spaces":"اختر جميع المساحات",Name:"الاسم",Status:"الحالة","Select %{ space }":"اختر %{ space }","User name":"اسم المستخدم",Email:"البريد الإلكتروني",Password:"كلمة السر","User was created successfully":"تم إنشاء المستخدم بنجاح",Groups:"المجموعات","Select...":"اختر…",Allowed:"مسموح","Select users":"اختر المستخدمين","Select all users":"اختر جميع المستخدمين","Select %{ user }":"اختر %{ user }","New group":"مجموعة جديدة","Create group":"إنشاء مجموعة",Delete:"حذف","New user":"مستخدم جديد","Create user":"إنشاء مستخدم","Edit login":"تحرير تسجيل الدخول",General:"عام",Users:"المستخدمون",Spaces:"المساحات",Details:"التفاصيل","Edit group":"تحرير المجموعة","Edit user":"تحرير المستخدم"},Hr={},Wr={Info:"Informace",Edition:"Vadání",Version:"Verze",Search:"Hledat",Avatar:"Avatar",Edit:"Upravit",Members:"Členové",Actions:"Akce","Filter members":"Filtrovat členy",Icon:"Ikona",Disabled:"Vypnuto",Enabled:"Zapnuto",Name:"Název",Status:"Stav",Manager:"Nadřízený",Modified:"Změněno",Unrestricted:"Neomezeno",Email:"E-mail",Password:"Heslo",Groups:"Skupiny",Login:"Přihlášení","Select...":"Vybrat…",Allowed:"Umožněno",Forbidden:"Zakázáno",Role:"Role",Quota:"Kvóta",Delete:"Smazat",General:"Obecné",Users:"Uživatelé",Spaces:"Prostory",New:"Nový",Details:"Podrobnosti",Roles:"Role"},Kr={},Zr={},Yr={Info:"Info",Edition:"Edition",Version:"Version","Select a resource from the left sidebar to manage it":"Wählen Sie einen Eintrag aus der linken Seitenleiste aus, um ihn zu verwalten","Group name":"Gruppenname","Group was created successfully":"Gruppe wurde erfolgreich erstellt","Failed to create group":"Fehler beim Erstellen der Gruppe","Group name cannot be empty":"Gruppenname darf nicht leer sein.","Group name cannot exceed 255 characters":"Der Gruppenname darf nicht länger als 255 Zeichen sein.",'Group "%{groupName}" already exists':'Gruppe "%{groupName}" existiert bereits.',Search:"Suchen","No groups found":"Keine Gruppen gefunden","Try refining the search term or filters to get results":"Versuchen Sie, den Suchbegriff oder die Filter zu verfeinern, um Ergebnisse zu erhalten.","Select all groups":"Alle Gruppen auswählen",Avatar:"Avatar","Show details":"Details anzeigen",Edit:"Bearbeiten","This group is read-only and can't be edited":"Diese Gruppe ist schreibgeschützt.",Members:"Mitglieder",Actions:"Aktionen","%{groupCount} groups in total":"%{groupCount} Gruppen gesamt","%{groupCount} matching groups":"%{groupCount} Suchergebnisse","Select %{ group }":"%{ group } auswählen","Select a group to view details":"Wählen Sie eine Gruppe aus der Liste, um hier Details anzuzeigen","Overview of the information about the selected group":"Informationen zur ausgewählten Gruppe","%{count} groups selected":"%{count} Gruppen ausgewählt","Failed to edit group":"Fehler beim Bearbeiten der Gruppe","%{groupCount} member":["%{groupCount} Mitglied","%{groupCount} Mitglieder"],"Filter members":"Mitglieder filtern","No members found":"Keine Mitglieder gefunden","Custom role":"Benutzerdefinierte Rolle","No spaces found":"Keine Spaces gefunden","Select spaces":"Spaces auswählen","Select all spaces":"Alle Spaces auswählen",Icon:"Icon",Disabled:"Deaktiviert",Enabled:"Aktiviert","%{spaceCount} spaces in total":"%{spaceCount} Spaces insgesamt","%{spaceCount} matching spaces":"%{spaceCount} Suchergebnisse",Name:"Name",Status:"Status",Manager:"Manager/-in","Total quota":"Gesamtquota","Used quota":"Benutzte Quota","Remaining quota":"Verbleibende Quota",Modified:"Bearbeitet",Unrestricted:"Uneingeschränkt","Select %{ space }":"%{ space } auswählen","Group assignment already added":["Gruppenaufgabe wurde bereits hinzugefügt.","Gruppenaufgaben wurden bereits hinzugefügt"],'Group assignment "%{group}" was added successfully':'Gruppenaufgabe für "%{group}" wurde erfolgreich hinzugefügt.',"%{groupAssignmentCount} group assignment was added successfully":["%{groupAssignmentCount} Gruppenaufgabe wurde erfolgreich hinzugefügt.","%{groupAssignmentCount} Gruppenaufgaben wurden erfolgreich hinzugefügt."],'Failed to add group assignment "%{group}"':'Hinzufügen der Gruppenaufgabe für "%{group}" fehlgeschlagen',"Failed to add %{groupAssignmentCount} group assignment":["Hinzufügen von %{groupAssignmentCount} Gruppenaufgabe fehlgeschlagen.","Hinzufügen von %{groupAssignmentCount} Gruppenaufgaben fehlgeschlagen"],"User name":"Anmeldename","First and last name":"Vor- und Nachname",Email:"E-Mail",Password:"Passwort","User was created successfully":"Person wurde erfolgreich erstellt.","Failed to create user":"Fehler beim Erstellen der Person","User name cannot be empty":"Der Anmeldename darf nicht leer sein.","User name cannot contain white spaces":"Der Anmeldename darf keine Leerzeichen enthalten.","User name cannot exceed 255 characters":"Der Anmeldename darf nicht länger als 255 Zeichen sein.","User name cannot contain special characters":"Der Anmeldename darf keine Sonderzeichen enthalten.","User name cannot start with a number":"Der Anmeldename darf nicht mit einer Nummer anfangen.",'User "%{userName}" already exists':'Person "%{userName}" existiert bereits.',"First and last name cannot be empty":"Vor- und Nachname darf nicht leer sein.","First and last name cannot exceed 255 characters":"Vor- und Nachname dürfen nicht länger als 255 Zeichen sein.","Please enter a valid email":"Bitte geben Sie eine gültige E-Mail-Adresse ein","Password cannot be empty":"Passwort darf nicht leer sein.",Groups:"Gruppen",Login:"Anmeldung erlaubt?","Select...":"Auswählen...","Your own login status will remain unchanged.":"Ihr eigener Anmeldestatus bleibt unverändert.",Allowed:"Ja",Forbidden:"Nein",'Login for user "%{user}" was edited successfully':'Konto von Person "%{user}" wurde erfolgreich bearbeitet.',"%{userCount} user login was edited successfully":["%{userCount} Benutzerkonto wurde erfolgreich bearbeitet","%{userCount} Konten wurden erfolgreich bearbeitet."],'Failed edit login for user "%{user}"':'Bearbeitung des Kontos von "%{user}" fehlgeschlagen',"Failed to edit %{userCount} user login":["Bearbeiten von %{userCount} Benutzerkonto fehlgeschlagen","Bearbeiten von %{userCount} Konten fehlgeschlagen"],"Group assignment already removed":["Gruppenaufgabe wurden bereits entfernt","Gruppenaufgaben wurden bereits entfernt"],'Group assignment "%{group}" was deleted successfully':'Gruppenaufgabe für "%{group}" wurde erfolgreich gelöscht.',"%{groupAssignmentCount} group assignment was deleted successfully":["%{groupAssignmentCount} Gruppenaufgabe wurde erfolgreich gelöscht.","%{groupAssignmentCount} Gruppenaufgaben wurden erfolgreich gelöscht."],'Failed to delete group assignment "%{group}"':'Löschen der Gruppenaufgabe für "%{group}" fehlgeschlagen',"Failed to delete %{groupAssignmentCount} group assignment":["Löschen von %{groupAssignmentCount} Gruppenaufgabe fehlgeschlagen","Löschen von %{groupAssignmentCount} Gruppenaufgaben fehlgeschlagen"],"Select a user to view details":"Wählen Sie eine Person aus der Liste, um hier Details anzuzeigen","Overview of the information about the selected user":"Informationen zur ausgewählten Person",Role:"Rolle","User roles become available once the user has logged in for the first time.":"Die Rolle der Person wird nach der ersten Anmeldung angezeigt.","User role":"Rolle",Quota:"Quota","User quota becomes available once the user has logged in for the first time.":"Die Quota wird nach der ersten Anmeldung angezeigt.","No groups assigned.":"Keine Gruppen zugewiesen","%{count} users selected":"%{count} Personen ausgewählt","No restriction":"Unbegrenzt","Personal quota":"Persönliches Quota","To set an individual quota, the user needs to have logged in once.":"Um eine individuelle Quota setzen zu können, muss die Person einmal angemeldet gewesen sein.","Failed to edit user":"Fehler beim Bearbeiten der Person","Select users":"Personen auswählen","Select all users":"Alle Personen auswählen","%{userCount} users in total":"%{userCount} Personen gesamt","Select %{ user }":"%{ user } auswählen","New group":"Neue Gruppe","Create group":"Gruppe erstellen",'Group "%{group}" was deleted successfully':'Gruppe "%{group}" wurde gelöscht',"%{groupCount} group was deleted successfully":["Gruppe %{groupCount} wurde erfolgreich gelöscht.","%{groupCount} Gruppen wurden erfolgreich gelöscht."],"Failed to delete group »%{group}«":"Fehler beim Löschen der Gruppe »%{group}«","Failed to delete %{groupCount} group":['Fehler beim Löschen von "%{groupCount}" Gruppe',"Fehler beim Löschen von %{groupCount} Gruppen"],"Delete group »%{group}«?":["%{groupCount} wirklich löschen?","%{groupCount} wirklich löschen?"],Delete:"Löschen","Are you sure you want to delete this group?":["Sind Sie sicher, dass Sie diese Gruppe löschen wollen?","Sind Sie sicher, dass Sie die ausgewählten %{groupCount} Gruppen löschen möchten?"],'Add user "%{user}" to groups':['"%{user}" zu Gruppe(n) hinzufügen',"%{userCount} Personen zu Gruppe(n) hinzufügen"],"Add to groups":"Zu Gruppe(n) hinzufügen","New user":"Person anlegen","Create user":"Person anlegen",'User "%{user}" was deleted successfully':'Person "%{user}" wurde gelöscht',"%{userCount} user was deleted successfully":["%{userCount} Benutzerkonto wurde erfolgreich gelöscht.","%{userCount} Personen wurden erfolgreich gelöscht."],'Failed to delete user "%{user}"':'Fehler beim Löschen der Person "%{user}"',"Failed to delete %{userCount} user":["Fehler beim Löschen von %{userCount} Benutzer/-in","Fehler beim Löschen von %{userCount} Personen"],'Delete user "%{user}"?':['"%{user}" löschen?',"%{userCount} Personen löschen?"],"Are you sure you want to delete this user?":["Sind Sie sicher, dass Sie dieses Benutzerkonto löschen möchten?","Sind Sie sicher, dass Sie die ausgewählten %{userCount} Personen löschen möchten?"],'Edit login for "%{user}"':['Anmeldung für "%{user}" ändern',"Anmeldung für %{userCount} Personen ändern"],"Edit login":"Anmeldung bearbeiten","Change quota for user »%{name}«":"Quota für Person »%{name}« wirklich ändern?","Change quota for %{count} users":"Quota für %{count} Personen ändern","Quota will only be applied to users who logged in at least once.":"Quota wird nur auf Personen angewendet, die sich bereits einmal angemeldet haben.","Unaffected users":"Nicht betroffene Personen","Edit quota":"Quota ändern",'Remove user "%{user}" from groups':['Entferne "%{user}" von Gruppen',"%{userCount} Personen aus Gruppen entfernen"],"Remove from groups":"Aus Gruppen entfernen",General:"Allgemein",Users:"Personen",Spaces:"Spaces","Admin Settings":"Admin-Einstellungen",New:"Neu",Details:"Details","Create a new group and it will show up here":"Erstellen Sie eine neue Gruppe und Sie wird hier angezeigt","Edit group":"Gruppe bearbeiten","Create a new space and it will show up here":"Erstellen Sie einen neuen Space und er wird hier angezeigt","Filter groups":"Gruppen filtern",Roles:"Rollen","Filter roles":"Rollen filtern","Search users":"Personen suchen","No users found":"Keine Benutzer gefunden","Please specify a filter to see results":"Bitte einen Filter angeben, um die Resultate darzustellen","Edit user":"Person bearbeiten"},Jr={Info:"Πληροφορίες",Edition:"Έκδοση",Version:"Έκδοση","Select a resource from the left sidebar to manage it":"Επιλέξτε έναν πόρο από την αριστερή πλευρική εργαλειοθήκη για διαχείριση","Group name":"Όνομα ομάδας","Group was created successfully":"Η ομάδα δημιουργήθηκε επιτυχώς","Failed to create group":"Αποτυχία δημιουργίας ομάδας","Group name cannot be empty":"Το όνομα της ομάδας δεν μπορεί να είναι κενό","Group name cannot exceed 255 characters":"Το όνομα της ομάδας δεν μπορεί να υπερβαίνει τους 255 χαρακτήρες",'Group "%{groupName}" already exists':'Η ομάδα "%{groupName}" υπάρχει ήδη',Search:"Αναζήτηση","No groups found":"Δεν βρέθηκαν ομάδες","Try refining the search term or filters to get results":"Δοκιμάστε να αλλάξετε τον όρο αναζήτησης ή τα φίλτρα για να λάβετε αποτελέσματα","Select all groups":"Επιλογή όλων των ομάδων",Avatar:"Avatar","Show details":"Εμφάνιση λεπτομερειών",Edit:"Επεξεργασία","This group is read-only and can't be edited":"Αυτή η ομάδα είναι μόνο για ανάγνωση και δεν μπορεί να τροποποιηθεί",Members:"Μέλη",Actions:"Ενέργειες","%{groupCount} groups in total":"%{groupCount} ομάδες συνολικά","%{groupCount} matching groups":"%{groupCount} ομάδες που ταιριάζουν","Select %{ group }":"Επιλογή %{ group }","Select a group to view details":"Επιλέξτε μια ομάδα για προβολή λεπτομερειών","Overview of the information about the selected group":"Επισκόπηση των πληροφοριών για την επιλεγμένη ομάδα","%{count} groups selected":"%{count} επιλεγμένες ομάδες","Failed to edit group":"Αποτυχία επεξεργασίας ομάδας","%{groupCount} member":["%{groupCount} μέλος","%{groupCount} μέλη"],"Filter members":"Φιλτράρισμα μελών","No members found":"Δεν βρέθηκαν μέλη","Custom role":"Προσαρμοσμένος ρόλος","No spaces found":"Δεν βρέθηκαν χώροι","Select spaces":"Επιλογή χώρων","Select all spaces":"Επιλογή όλων των χώρων",Icon:"Εικονίδιο",Disabled:"Απενεργοποιημένο",Enabled:"Ενεργοποιημένο","%{spaceCount} spaces in total":"%{spaceCount} χώροι συνολικά","%{spaceCount} matching spaces":"%{spaceCount} χώροι που ταιριάζουν",Name:"Όνομα",Status:"Κατάσταση",Manager:"Διαχειριστής","Total quota":"Συνολικό όριο χώρου","Used quota":"Χρησιμοποιημένο όριο χώρου","Remaining quota":"Υπολειπόμενο όριο χώρου",Modified:"Τροποποιήθηκε",Unrestricted:"Χωρίς περιορισμό","Select %{ space }":"Επιλογή %{ space }","Group assignment already added":["Η ανάθεση ομάδας έχει ήδη προστεθεί","Οι αναθέσεις ομάδων έχουν ήδη προστεθεί"],'Group assignment "%{group}" was added successfully':'Η ανάθεση στην ομάδα "%{group}" έγινε επιτυχώς',"%{groupAssignmentCount} group assignment was added successfully":["%{groupAssignmentCount} ανάθεση ομάδας προστέθηκε επιτυχώς","%{groupAssignmentCount} αναθέσεις ομάδων προστέθηκαν επιτυχώς"],'Failed to add group assignment "%{group}"':'Αποτυχία προσθήκης ανάθεσης στην ομάδα "%{group}"',"Failed to add %{groupAssignmentCount} group assignment":["Αποτυχία προσθήκης %{groupAssignmentCount} ανάθεσης ομάδας","Αποτυχία προσθήκης %{groupAssignmentCount} αναθέσεων ομάδων"],"User name":"Όνομα χρήστη","First and last name":"Όνομα και επώνυμο",Email:"Email",Password:"Κωδικός πρόσβασης","User was created successfully":"Ο χρήστης δημιουργήθηκε επιτυχώς","Failed to create user":"Αποτυχία δημιουργίας χρήστη","User name cannot be empty":"Το όνομα χρήστη δεν μπορεί να είναι κενό","User name cannot contain white spaces":"Το όνομα χρήστη δεν μπορεί να περιέχει κενά","User name cannot exceed 255 characters":"Το όνομα χρήστη δεν μπορεί να υπερβαίνει τους 255 χαρακτήρες","User name cannot contain special characters":"Το όνομα χρήστη δεν μπορεί να περιέχει ειδικούς χαρακτήρες","User name cannot start with a number":"Το όνομα χρήστη δεν μπορεί να ξεκινά με αριθμό",'User "%{userName}" already exists':'Ο χρήστης "%{userName}" υπάρχει ήδη',"First and last name cannot be empty":"Το όνομα και το επώνυμο δεν μπορούν να είναι κενά","First and last name cannot exceed 255 characters":"Το όνομα και το επώνυμο δεν μπορούν να υπερβαίνουν τους 255 χαρακτήρες","Please enter a valid email":"Παρακαλούμε εισάγετε ένα έγκυρο email","Password cannot be empty":"Ο κωδικός πρόσβασης δεν μπορεί να είναι κενός",Groups:"Ομάδες",Login:"Σύνδεση","Select...":"Επιλογή...","Your own login status will remain unchanged.":"Η δική σας κατάσταση σύνδεσης θα παραμείνει αμετάβλητη.",Allowed:"Επιτρέπεται",Forbidden:"Απαγορεύεται",'Login for user "%{user}" was edited successfully':'Η δυνατότητα σύνδεσης για τον χρήστη "%{user}" τροποποιήθηκε επιτυχώς',"%{userCount} user login was edited successfully":["Η σύνδεση %{userCount} χρήστη τροποποιήθηκε επιτυχώς","Οι συνδέσεις %{userCount} χρηστών τροποποιήθηκαν επιτυχώς"],'Failed edit login for user "%{user}"':'Αποτυχία επεξεργασίας σύνδεσης για τον χρήστη "%{user}"',"Failed to edit %{userCount} user login":["Αποτυχία επεξεργασίας σύνδεσης %{userCount} χρήστη","Αποτυχία επεξεργασίας συνδέσεων %{userCount} χρηστών"],"Group assignment already removed":["Η ανάθεση ομάδας έχει ήδη αφαιρεθεί","Οι αναθέσεις ομάδων έχουν ήδη αφαιρεθεί"],'Group assignment "%{group}" was deleted successfully':'Η αφαίρεση από την ομάδα "%{group}" έγινε επιτυχώς',"%{groupAssignmentCount} group assignment was deleted successfully":["%{groupAssignmentCount} ανάθεση ομάδας διαγράφηκε επιτυχώς","%{groupAssignmentCount} αναθέσεις ομάδων διαγράφηκαν επιτυχώς"],'Failed to delete group assignment "%{group}"':'Αποτυχία διαγραφής ανάθεσης από την ομάδα "%{group}"',"Failed to delete %{groupAssignmentCount} group assignment":["Αποτυχία διαγραφής %{groupAssignmentCount} ανάθεσης ομάδας","Αποτυχία διαγραφής %{groupAssignmentCount} αναθέσεων ομάδων"],"Select a user to view details":"Επιλέξτε έναν χρήστη για προβολή λεπτομερειών","Overview of the information about the selected user":"Επισκόπηση των πληροφοριών για τον επιλεγμένο χρήστη",Role:"Ρόλος","User roles become available once the user has logged in for the first time.":"Οι ρόλοι χρήστη γίνονται διαθέσιμοι μόλις ο χρήστης συνδεθεί για πρώτη φορά.","User role":"Ρόλος χρήστη",Quota:"Όριο χώρου","User quota becomes available once the user has logged in for the first time.":"Το όριο χώρου χρήστη γίνεται διαθέσιμο μόλις ο χρήστης συνδεθεί για πρώτη φορά.","No groups assigned.":"Δεν έχουν ανατεθεί ομάδες.","%{count} users selected":"%{count} επιλεγμένοι χρήστες","No restriction":"Χωρίς περιορισμό","Personal quota":"Προσωπικό όριο χώρου","To set an individual quota, the user needs to have logged in once.":"Για να οριστεί ατομικό όριο χώρου, ο χρήστης πρέπει να έχει συνδεθεί τουλάχιστον μία φορά.","Failed to edit user":"Αποτυχία επεξεργασίας χρήστη","Select users":"Επιλογή χρηστών","Select all users":"Επιλογή όλων των χρηστών","%{userCount} users in total":"%{userCount} χρήστες συνολικά","Select %{ user }":"Επιλογή %{ user }","New group":"Νέα ομάδα","Create group":"Δημιουργία ομάδας",'Group "%{group}" was deleted successfully':'Η ομάδα "%{group}" διαγράφηκε επιτυχώς',"%{groupCount} group was deleted successfully":["%{groupCount} ομάδα διαγράφηκε επιτυχώς","%{groupCount} ομάδες διαγράφηκαν επιτυχώς"],"Failed to delete group »%{group}«":"Αποτυχία διαγραφής της ομάδας »%{group}«","Failed to delete %{groupCount} group":["Αποτυχία διαγραφής %{groupCount} ομάδας","Αποτυχία διαγραφής %{groupCount} ομάδων"],"Delete group »%{group}«?":["Διαγραφή της ομάδας »%{group}«;","Διαγραφή %{groupCount} ομάδων;"],Delete:"Διαγραφή","Are you sure you want to delete this group?":["Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτή την ομάδα;","Είστε βέβαιοι ότι θέλετε να διαγράψετε τις %{groupCount} επιλεγμένες ομάδες;"],'Add user "%{user}" to groups':['Προσθήκη του χρήστη "%{user}" σε ομάδες',"Προσθήκη %{userCount} χρηστών σε ομάδες"],"Add to groups":"Προσθήκη σε ομάδες","New user":"Νέος χρήστης","Create user":"Δημιουργία χρήστη",'User "%{user}" was deleted successfully':'Ο χρήστης "%{user}" διαγράφηκε επιτυχώς',"%{userCount} user was deleted successfully":["%{userCount} χρήστης διαγράφηκε επιτυχώς","%{userCount} χρήστες διαγράφηκαν επιτυχώς"],'Failed to delete user "%{user}"':'Αποτυχία διαγραφής του χρήστη "%{user}"',"Failed to delete %{userCount} user":["Αποτυχία διαγραφής %{userCount} χρήστη","Αποτυχία διαγραφής %{userCount} χρηστών"],'Delete user "%{user}"?':['Διαγραφή του χρήστη "%{user}";',"Διαγραφή %{userCount} χρηστών;"],"Are you sure you want to delete this user?":["Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτόν τον χρήστη;","Είστε βέβαιοι ότι θέλετε να διαγράψετε τους %{userCount} επιλεγμένους χρήστες;"],'Edit login for "%{user}"':['Επεξεργασία σύνδεσης για τον χρήστη "%{user}"',"Επεξεργασία σύνδεσης για %{userCount} χρήστες"],"Edit login":"Επεξεργασία σύνδεσης","Change quota for user »%{name}«":"Αλλαγή ορίου χώρου για τον χρήστη »%{name}«","Change quota for %{count} users":"Αλλαγή ορίου χώρου για %{count} χρήστες","Quota will only be applied to users who logged in at least once.":"Το όριο χώρου θα εφαρμοστεί μόνο σε χρήστες που έχουν συνδεθεί τουλάχιστον μία φορά.","Unaffected users":"Χρήστες που δεν επηρεάζονται","Edit quota":"Επεξεργασία ορίου χώρου",'Remove user "%{user}" from groups':['Αφαίρεση του χρήστη "%{user}" από ομάδες',"Αφαίρεση %{userCount} χρηστών από ομάδες"],"Remove from groups":"Αφαίρεση από ομάδες",General:"Γενικά",Users:"Χρήστες",Spaces:"Χώροι","Admin Settings":"Ρυθμίσεις Διαχειριστή",New:"Νέο",Details:"Λεπτομέρειες","Create a new group and it will show up here":"Δημιουργήστε μια νέα ομάδα και θα εμφανιστεί εδώ","Edit group":"Επεξεργασία ομάδας","Create a new space and it will show up here":"Δημιουργήστε έναν νέο χώρο και θα εμφανιστεί εδώ","Filter groups":"Φιλτράρισμα ομάδων",Roles:"Ρόλοι","Filter roles":"Φιλτράρισμα ρόλων","Search users":"Αναζήτηση χρηστών","No users found":"Δεν βρέθηκαν χρήστες","Please specify a filter to see results":"Παρακαλούμε ορίστε ένα φίλτρο για να δείτε αποτελέσματα","Edit user":"Επεξεργασία χρήστη"},Xr={},en={},tn={Info:"מידע",Members:"חברים",Actions:"הפעלות",Disabled:"מופעל מחוץ לדרך",Name:"שם",Status:"סטטוס",Manager:"מנהל","Total quota":"כמות מקסימלית מלאה","Used quota":"שימוש מלא","Remaining quota":"שארית קוטה",Modified:"מודיפיקציה",Password:"סיסמה",Role:"רול",Quota:"כמות מוגבלת (Quota)","No restriction":"לא מוגבל",Delete:"מחיקה","Edit quota":"תקציב עריכה",Spaces:"מרוצים",Details:"תיאור"},sn={Info:"Información",Edition:"Edición",Version:"Versión","Group name":"Nombre del grupo","Group was created successfully":"El grupo fué creado correctamente","Failed to create group":"Error al crear el grupo","Group name cannot be empty":"El nombre del grupo no puede estar vacío","Group name cannot exceed 255 characters":"El nombre del grupo no puede exceder los 255 caracteres",'Group "%{groupName}" already exists':'Ya existe el grupo "%{groupName}"',Search:"Buscar","Select all groups":"Seleccionar todos los grupos",Edit:"Editar","This group is read-only and can't be edited":"El grupo está en modo lectura y no puede ser editado",Members:"Miembros",Actions:"Acciones","%{groupCount} groups in total":"%{groupCount} grupos en total","%{groupCount} matching groups":"%{groupCount} grupos coincidentes","Select %{ group }":"Seleccionar %{ group }","Select a group to view details":"Selecciona un grupo para ver sus detalles","Overview of the information about the selected group":"Vista general de la información sobre el grupo seleccionado","%{count} groups selected":"%{count} grupos seleccionados","Failed to edit group":"No se pudo editar el grupo","Filter members":"Filtrar miembros","Custom role":"Rol personalizado",Disabled:"Deshabilitado",Enabled:"Activado","%{spaceCount} spaces in total":"%{spaceCount} espacios en total","%{spaceCount} matching spaces":"%{spaceCount} espacios coincidentes",Name:"Nombre",Status:"Estado",Modified:"Modificado",Unrestricted:"Sin restricciones",'Group assignment "%{group}" was added successfully':'Se añadió correctamente la asignación al grupo "%{group}"','Failed to add group assignment "%{group}"':'No se pudo añadir la asignación al grupo "%{group}"',Email:"Email",Password:"Contraseña","User was created successfully":"El usuario fué creado correctamente","Failed to create user":"Error al crear al usuario",Groups:"Grupos",Login:"Iniciar sesión",Allowed:"Permitido",'Failed edit login for user "%{user}"':'No se pudo editar el inicio de sesión del usuario "%{user}"','Group assignment "%{group}" was deleted successfully':'La asignación al grupo "%{group}" fué eliminada correctamente','Failed to delete group assignment "%{group}"':'No se pudo eliminar la asignación al grupo "%{group}"',"No groups assigned.":"Ningún grupo asignado.","%{count} users selected":"%{count} usuarios seleccionados","%{userCount} users in total":"%{userCount} usuarios en total","New group":"Nuevo grupo","Create group":"Crear grupo",'Group "%{group}" was deleted successfully':'El grupo "%{group}" fué borrado correctamente',Delete:"Borrar","Add to groups":"Agregar a los grupos","Create user":"Crear usuario","Edit login":"Editar inicio de sesión","Change quota for %{count} users":"Cambiar cuota para %{count} usuarios","Edit quota":"Editar cuota","Remove from groups":"Eliminado de grupos",General:"General",Spaces:"Espacios","Admin Settings":"Ajustes de Administrador",New:"Nuevo",Details:"Detalles","Edit group":"Editar grupo","Filter groups":"Filtrar grupos","Edit user":"Editar usuario"},rn=JSON.parse(`{"Info":"Info","Edition":"Édition","Version":"Version","Select a resource from the left sidebar to manage it":"Sélectionnez une ressource dans la barre latérale de gauche pour la gérer.","Group name":"Nom du groupe","Group was created successfully":"Le groupe a été créé avec succès","Failed to create group":"Échec de la création d'un groupe","Group name cannot be empty":"Le nom du groupe ne peut être vide","Group name cannot exceed 255 characters":"Le nom du groupe ne peut pas dépasser 255 caractères","Group \\"%{groupName}\\" already exists":"Le groupe \\"%{groupName}\\" existe déjà","Search":"Recherche","Select all groups":"Sélectionner tous les groupes","Avatar":"Avatar","Show details":"Afficher les détails","Edit":"Éditer","This group is read-only and can't be edited":"Ce groupe est en lecture seule et ne peut pas être modifié.","Members":"Membres","Actions":"Actions","%{groupCount} groups in total":"%{groupCount} groupes au total","%{groupCount} matching groups":"%{groupCount} groupes correspondants","Select %{ group }":"Sélectionner %{ group }","Select a group to view details":"Sélectionnez un groupe pour afficher les détails","Overview of the information about the selected group":"Vue d'ensemble des informations sur le groupe sélectionné","%{count} groups selected":"%{count} groupes sélectionnés","Failed to edit group":"Échec de la modification du groupe","%{groupCount} member":["%{groupCount} membre","%{groupCount} membres","%{groupCount} membres"],"Filter members":"Filtrer les membres","No members found":"Aucun membre trouvé","Custom role":"Rôle personnalisé","Select spaces":"Sélectionnez les espaces","Select all spaces":"Sélectionner tous les Espaces","Icon":"Icône","Disabled":"Désactivé","Enabled":"Activé","%{spaceCount} spaces in total":"%{spaceCount} Espaces au total","%{spaceCount} matching spaces":"%{spaceCount} espaces correspondants","Name":"Nom","Status":"Statut","Manager":"Manager","Total quota":"Quota total","Used quota":"Quota utilisé","Remaining quota":"Quota restant","Modified":"Modifié","Unrestricted":"Illimité","Select %{ space }":"Sélectionner %{ space }","Group assignment already added":["Affectation de groupe déjà ajoutée","Affectations de groupe déjà ajoutées","Affectations de groupe déjà ajoutées"],"Group assignment \\"%{group}\\" was added successfully":"L'assignation de groupe « %{groupe} » a été ajoutée avec succès","%{groupAssignmentCount} group assignment was added successfully":["%{groupAssignmentCount} l'assignation de groupe a été ajoutée avec succès","%{groupAssignmentCount} les assignations de groupe ont été ajoutées avec succès","%{groupAssignmentCount} assignations de groupe ont été ajoutées avec succès"],"Failed to add group assignment \\"%{group}\\"":"Échec de l'ajout de l'affectation de groupe « %{group} »","Failed to add %{groupAssignmentCount} group assignment":["Échec de l'ajout de %{groupAssignmentCount} affectation de groupe.","Échec de l'ajout des %{groupAssignmentCount} affectations de groupe.","Échec de l'ajout des %{groupAssignmentCount} affectations de groupe."],"User name":"Nom de l'utilisateur","First and last name":"Nom et prénom","Email":"E-mail","Password":"Mot de passe","User was created successfully":"L'utilisateur a été créé avec succès","Failed to create user":"Échec de la création de l'utilisateur","User name cannot be empty":"Le nom d'utilisateur ne peut être vide","User name cannot contain white spaces":"Le nom d'utilisateur ne peut pas contenir d'espaces blancs","User name cannot exceed 255 characters":"Le nom de l'utilisateur ne peut pas dépasser 255 caractères","User name cannot contain special characters":"Le nom d'utilisateur ne peut pas contenir de caractères spéciaux","User name cannot start with a number":"Le nom d'utilisateur ne peut pas commencer par un chiffre","User \\"%{userName}\\" already exists":"L'utilisateur \\"%{userName}\\" existe déjà","First and last name cannot be empty":"Le nom et le prénom ne peuvent pas être vides","First and last name cannot exceed 255 characters":"Le nom et le prénom ne peuvent pas dépasser 255 caractères","Please enter a valid email":"Veuillez saisir un e-mail valide","Password cannot be empty":"Le mot de passe ne peut être vide","Groups":"Groupes","Login":"Connexion","Select...":"Sélectionner...","Your own login status will remain unchanged.":"Votre propre statut de connexion restera inchangé.","Allowed":"Autorisé","Forbidden":"Interdit","Login for user \\"%{user}\\" was edited successfully":"La connexion de l'utilisateur \\"%{utilisateur}\\" a été éditée avec succès","%{userCount} user login was edited successfully":["%{userCount} login d'utilisateur édité avec succès","%{userCount} logins d'utilisateurs édités avec succès","%{userCount} logins d'utilisateurs édités avec succès"],"Failed edit login for user \\"%{user}\\"":"Échec de la modification de la connexion pour l'utilisateur « %{user} »","Failed to edit %{userCount} user login":["Échec de la modification des identifiants de l'utilisateur %{userCount}.","Échec de la modification des identifiants de l'utilisateur %{userCount}.","Échec de la modification des identifiants de l'utilisateur %{userCount}."],"Group assignment already removed":["Affectationsde groupe déjà supprimée","Affectations de groupe déjà supprimées","Affectations de groupe déjà supprimées"],"Group assignment \\"%{group}\\" was deleted successfully":"L'affectation de groupe « %{groupe} » a été supprimée avec succès","%{groupAssignmentCount} group assignment was deleted successfully":["%{groupAssignmentCount} assignations de groupe a été supprimée avec succès","%{groupAssignmentCount} les assignations de groupe ont été supprimées avec succès","%{groupAssignmentCount} assignation de groupe été supprimées avec succès"],"Failed to delete group assignment \\"%{group}\\"":"Échec de la suppression de l'assignation de groupe « %{groupe} »","Failed to delete %{groupAssignmentCount} group assignment":["Échec de la suppression de %{groupAssignmentCount} attribution de groupe.","Échec de la suppression des %{groupAssignmentCount} attributions de groupe.","Échec de la suppression des %{groupAssignmentCount} attributions de groupe."],"Select a user to view details":"Sélectionnez un utilisateur pour afficher les détails","Overview of the information about the selected user":"Aperçu des informations sur l'utilisateur sélectionné","Role":"Rôle","User roles become available once the user has logged in for the first time.":"Les rôles d'utilisateur sont disponibles une fois que l'utilisateur s'est connecté pour la première fois.","User role":"Rôle de l'utilisateur","Quota":"Quota","User quota becomes available once the user has logged in for the first time.":"Le quota d'utilisateur devient disponible dès que l'utilisateur s'est connecté pour la première fois.","No groups assigned.":"Aucun groupe n'a été désigné.","%{count} users selected":"%{count} utilisateurs sélectionnés","No restriction":"Aucune restriction","Personal quota":"Quota personnel","To set an individual quota, the user needs to have logged in once.":"Pour définir un quota individuel, l'utilisateur doit s'être connecté une fois.","Failed to edit user":"Échec de la modification de l'utilisateur","Select users":"Sélectionnez les utilisateurs","Select all users":"Sélectionner tous les utilisateurs","%{userCount} users in total":"%{userCount} utilisateurs au total","Select %{ user }":"Sélectionner %{ user }","New group":"Nouveau groupe","Create group":"Créer un groupe","Group \\"%{group}\\" was deleted successfully":"Le groupe « %{groupe} » a été supprimé avec succès","%{groupCount} group was deleted successfully":["%{groupCount} groupe a été supprimé avec succès","%{groupCount} groupes ont été supprimés avec succès","%{groupCount} groupes ont été supprimés avec succès"],"Failed to delete group »%{group}«":"Échec de la suppression du groupe «%{group}»","Failed to delete %{groupCount} group":["Échec de la suppression de %{groupCount} groupe.","Échec de la suppression des %{groupCount} groupes.","Échec de la suppression des %{groupCount} groupes."],"Delete group »%{group}«?":["Supprimer le groupe «%{group}» ?","Supprimer %{groupCount} groupes ?","Supprimer %{groupCount} groupes ?"],"Delete":"Supprimer","Are you sure you want to delete this group?":["Êtes-vous sûr de vouloir supprimer ce groupe ?","Êtes-vous sûr de vouloir supprimer les %{groupCount} groupes sélectionnés ?","Êtes-vous sûr de vouloir supprimer les %{groupCount} groupes sélectionnés ?"],"Add user \\"%{user}\\" to groups":["Ajouter %{userCount} utilisateur aux groupes","Ajouter %{userCount} utilisateurs aux groupes","Ajouter %{userCount} utilisateurs aux groupes"],"Add to groups":"Ajouter aux groupes","New user":"Nouvel utilisateur","Create user":"Créer un utilisateur","User \\"%{user}\\" was deleted successfully":"L'utilisateur « %{user} » a été supprimé avec succès","%{userCount} user was deleted successfully":["%{userCount} utilisateur a été supprimé avec succès","%{userCount} utilisateurs ont été supprimés avec succès","%{userCount} utilisateurs ont été supprimés avec succès"],"Failed to delete user \\"%{user}\\"":"Échec de la suppression de l'utilisateur \\"%{utilisateur}\\"","Failed to delete %{userCount} user":["Échec de la suppression de %{userCount} utilisateur","Échec de la suppression de %{userCount} utilisateurs","Échec de la suppression de %{userCount} utilisateurs"],"Delete user \\"%{user}\\"?":["Supprimer %{userCount} utilisateur ?","Supprimer %{userCount} utilisateurs ?","Supprimer %{userCount} utilisateurs ?"],"Are you sure you want to delete this user?":["Êtes-vous sûr de vouloir supprimer cet utilisateur ?","Êtes-vous sûr de vouloir supprimer les %{userCount} utilisateurs sélectionnés ?","Êtes-vous sûr de vouloir supprimer les %{userCount} utilisateurs sélectionnés ?"],"Edit login for \\"%{user}\\"":["Modifier le login pour %{userCount} utilisateur","Modifier le login pour %{userCount} utilisateurs","Modifier le login pour %{userCount} utilisateurs"],"Edit login":"Éditer le login","Change quota for user »%{name}«":"Modifier le quota pour l’utilisateur «%{name}»","Change quota for %{count} users":"Modifier le quota pour %{count} utilisateurs","Quota will only be applied to users who logged in at least once.":"Le quota ne sera appliqué qu'aux utilisateurs qui se sont connectés au moins une fois.","Unaffected users":"Utilisateurs non affectés","Edit quota":"Modifier les quotas","Remove user \\"%{user}\\" from groups":["Supprimer %{userCount} utilisateur des groupes ","Supprimer les %{userCount} utilisateurs des groupes","Supprimer les %{userCount} utilisateurs des groupes "],"Remove from groups":"Retirer du groupe","General":"Général","Users":"Utilisateurs","Spaces":"Espaces","Admin Settings":"Paramètres d'administration","New":"Nouveau","Details":"Détails","Edit group":"Éditer le groupe","Filter groups":"Groupes de filtres","Roles":"Rôles","Filter roles":"Filtrer les rôles","Search users":"Cherchez les utilisateurs","Please specify a filter to see results":"Veuillez spécifier un filtre pour voir les résultats","Edit user":"Modifier l'utilisateur"}`),nn={},on={Version:"Versi","User was created successfully":"Akun telah berhasil dibuat"},an={Info:"情報",Edition:"エディション",Version:"バージョン","Select a resource from the left sidebar to manage it":"左サイドバーから管理するリソースを選択してください","Group name":"グループ名","Group was created successfully":"グループを作成しました","Failed to create group":"グループの作成に失敗しました","Group name cannot be empty":"グループ名を入力してください","Group name cannot exceed 255 characters":"グループ名は255文字以内で入力してください",'Group "%{groupName}" already exists':"グループ「%{groupName}」はすでに存在します",Search:"検索","Select all groups":"すべてのグループを選択",Avatar:"プロフィール画像","Show details":"詳細を表示",Edit:"編集","This group is read-only and can't be edited":"このグループは読み取り専用のため、編集できません",Members:"メンバー",Actions:"アクション","%{groupCount} groups in total":"合計 %{groupCount} 個のグループ","%{groupCount} matching groups":"一致するグループ: %{groupCount} 個","Select %{ group }":"グループ「%{ group }」を選択","Select a group to view details":"詳細を表示するグループを選択してください","Overview of the information about the selected group":"選択したグループの情報の概要","%{count} groups selected":"%{count} 個のグループを選択中","Failed to edit group":"グループの編集に失敗しました","%{groupCount} member":"%{groupCount} 人のメンバー","Filter members":"メンバーをフィルター","No members found":"メンバーが見つかりません","Custom role":"カスタムロール","Select spaces":"スペースを選択","Select all spaces":"すべてのスペースを選択",Icon:"アイコン",Disabled:"無効",Enabled:"有効化","%{spaceCount} spaces in total":"合計 %{spaceCount} 個のスペース","%{spaceCount} matching spaces":"一致するスペース: %{spaceCount} 個",Name:"名称",Status:"ステータス",Manager:"管理者","Total quota":"総容量","Used quota":"使用済み容量","Remaining quota":"残り容量",Modified:"更新日時",Unrestricted:"制限なし","Select %{ space }":"スペース「%{ space }」を選択","Group assignment already added":"グループ割り当てはすでに追加されています",'Group assignment "%{group}" was added successfully':"グループ割り当て「%{group}」を追加しました","%{groupAssignmentCount} group assignment was added successfully":"%{groupAssignmentCount} 件のグループ割り当てを追加しました",'Failed to add group assignment "%{group}"':"グループ割り当て「%{group}」の追加に失敗しました","Failed to add %{groupAssignmentCount} group assignment":"%{groupAssignmentCount} 件のグループ割り当ての追加に失敗しました","User name":"ユーザー名","First and last name":"氏名",Email:"Email",Password:"パスワード","User was created successfully":"ユーザーを作成しました","Failed to create user":"ユーザーの作成に失敗しました","User name cannot be empty":"ユーザー名を入力してください","User name cannot contain white spaces":"ユーザー名にスペース(空白)は使用できません","User name cannot exceed 255 characters":"ユーザー名は255文字以内で入力してください","User name cannot contain special characters":"ユーザー名に特殊文字は使用できません","User name cannot start with a number":"ユーザー名の先頭に数字は使用できません",'User "%{userName}" already exists':"ユーザー「%{userName}」はすでに存在します","First and last name cannot be empty":"氏名を入力してください","First and last name cannot exceed 255 characters":"氏名は255文字以内で入力してください","Please enter a valid email":"有効なメールアドレスを入力してください","Password cannot be empty":"パスワードを入力してください",Groups:"グループ",Login:"ログイン","Select...":"選択してください...","Your own login status will remain unchanged.":"あなた自身のログイン状態は変更されません",Allowed:"許可",Forbidden:"アクセス権限がありません",'Login for user "%{user}" was edited successfully':"ユーザー「%{user}」のログイン情報を編集しました","%{userCount} user login was edited successfully":"%{userCount} 人のユーザーログイン情報を編集しました",'Failed edit login for user "%{user}"':"ユーザー「%{user}」のログイン情報の編集に失敗しました","Failed to edit %{userCount} user login":"%{userCount} 人のユーザーログイン情報の編集に失敗しました","Group assignment already removed":"グループ割り当てはすでに削除されています",'Group assignment "%{group}" was deleted successfully':"グループ割り当て「%{group}」を削除しました","%{groupAssignmentCount} group assignment was deleted successfully":"%{groupAssignmentCount} 件のグループ割り当てを削除しました",'Failed to delete group assignment "%{group}"':"グループ割り当て「%{group}」の削除に失敗しました","Failed to delete %{groupAssignmentCount} group assignment":"%{groupAssignmentCount} 件のグループ割り当ての削除に失敗しました","Select a user to view details":"詳細を表示するユーザーを選択してください","Overview of the information about the selected user":"選択したユーザーの情報の概要",Role:"ロール","User roles become available once the user has logged in for the first time.":"ユーザーが初めてログインすると、ロールの設定が利用可能になります","User role":"ユーザーロール",Quota:"割り当て容量(クォータ)","User quota becomes available once the user has logged in for the first time.":"ユーザーが初めてログインすると、容量の設定が利用可能になります","No groups assigned.":"グループが割り当てられていません。","%{count} users selected":"%{count} 人のユーザーを選択中","No restriction":"制限無し","Personal quota":"個人用容量","To set an individual quota, the user needs to have logged in once.":"個別の容量を設定するには、ユーザーが一度ログインしている必要があります。","Failed to edit user":"ユーザーの編集に失敗しました","Select users":"ユーザーを選択","Select all users":"すべてのユーザーを選択","%{userCount} users in total":"合計 %{userCount} 人のユーザー","Select %{ user }":"ユーザー「%{ user }」を選択","New group":"新しいグループ","Create group":"グループを作成",'Group "%{group}" was deleted successfully':"グループ「%{group}」を削除しました","%{groupCount} group was deleted successfully":"%{groupCount} 個のグループを削除しました","Failed to delete group »%{group}«":"グループ「%{group}」の削除に失敗しました","Failed to delete %{groupCount} group":"%{groupCount} 個のグループの削除に失敗しました","Delete group »%{group}«?":"%{groupCount} 個のグループを削除しますか?",Delete:"削除","Are you sure you want to delete this group?":"選択した %{groupCount} 個のグループを削除してもよろしいですか?",'Add user "%{user}" to groups':"%{userCount} 人のユーザーをグループに追加","Add to groups":"グループに追加","New user":"新しいユーザー","Create user":"ユーザを作成",'User "%{user}" was deleted successfully':"ユーザー「%{user}」を削除しました","%{userCount} user was deleted successfully":"%{userCount} 人のユーザーを削除しました",'Failed to delete user "%{user}"':"ユーザー「%{user}」の削除に失敗しました","Failed to delete %{userCount} user":"%{userCount} 人のユーザーの削除に失敗しました",'Delete user "%{user}"?':"%{userCount} 人のユーザーを削除しますか?","Are you sure you want to delete this user?":"選択した %{userCount} 人のユーザーを削除してもよろしいですか?",'Edit login for "%{user}"':"%{userCount} 人のユーザーのログイン情報を編集","Edit login":"ログイン情報を編集","Change quota for user »%{name}«":"ユーザー「%{name}」の容量を変更","Change quota for %{count} users":"%{count} 人のユーザーの容量を変更","Quota will only be applied to users who logged in at least once.":"容量の割り当ては、少なくとも一度ログインしたことのあるユーザーにのみ適用されます。","Unaffected users":"影響を受けないユーザー","Edit quota":"クォータを編集",'Remove user "%{user}" from groups':"%{userCount} 人のユーザーをグループから削除","Remove from groups":"グループから削除",General:"全般",Users:"ユーザー",Spaces:"スペース","Admin Settings":"管理者設定",New:"新規",Details:"詳細","Edit group":"グループを編集","Filter groups":"グループをフィルター",Roles:"ロール","Filter roles":"ロールをフィルター","Search users":"ユーザを検索","Please specify a filter to see results":"結果を表示するにはフィルターを指定してください","Edit user":"ユーザを編集"},un={Info:"Info",Edition:"Editie",Version:"Versie","Select a resource from the left sidebar to manage it":"Selecteer een hulpbron uit de linker zijbalk om deze te beheren","Group name":"Groepsnaam","Group was created successfully":"Groep is met succes aangemaakt","Failed to create group":"Aanmaken van groep mislukt","Group name cannot be empty":"Groepsnaam kan niet leeg zijn","Group name cannot exceed 255 characters":"Groepsnaam mag niet meer dan 255 tekens bevatten",'Group "%{groupName}" already exists':'Groep "%{groupName}" bestaat al',Search:"Zoeken","No groups found":"Geen groepen gevonden","Try refining the search term or filters to get results":"Probeer de zoekterm of filters te verfijnen om resultaten te krijgen","Select all groups":"Selecteer alle groepen",Avatar:"Avatar","Show details":"Details weergeven",Edit:"Bewerken","This group is read-only and can't be edited":"Deze groep is alleen-lezen en kan niet worden bewerkt",Members:"Leden",Actions:"Acties","%{groupCount} groups in total":"%{groupCount} groepen in totaal","%{groupCount} matching groups":"%{groupCount} overeenkomstige groepen","Select %{ group }":"Selecteer %{ group }","Select a group to view details":"Selecteer een groep om de details te bekijken","Overview of the information about the selected group":"Overzicht van de informatie over de geselecteerde groep","%{count} groups selected":"%{count} groepen geselecteerd","Failed to edit group":"Bewerken van groep mislukt","%{groupCount} member":["%{groupCount} lid","%{groupCount} leden"],"Filter members":"Leden filteren","No members found":"Geen leden gevonden","Custom role":"Aangepaste rol","No spaces found":"Geen ruimtes gevonden","Select spaces":"Ruimtes selecteren","Select all spaces":"Alle ruimtes selecteren",Icon:"Pictogram",Disabled:"Uitgeschakeld",Enabled:"Ingeschakeld","%{spaceCount} spaces in total":"%{spaceCount} ruimtes in totaal","%{spaceCount} matching spaces":"%{spaceCount} overeenkomstige ruimtes",Name:"Naam",Status:"Status",Manager:"Beheerder","Total quota":"Totale quota","Used quota":"Gebruikte quota","Remaining quota":"Resterende quota",Modified:"Gewijzigd",Unrestricted:"Onbeperkt","Select %{ space }":"Selecteer %{ space }","Group assignment already added":["Groepsopdracht al toegevoegd","Groepsopdrachten al toegevoegd"],'Group assignment "%{group}" was added successfully':'Groepsopdracht "%{group}" is met succes toegevoegd',"%{groupAssignmentCount} group assignment was added successfully":["%{groupAssignmentCount} groepsopdracht is met succes toegevoegd","%{groupAssignmentCount} groepsopdrachten zijn met succes toegevoegd"],'Failed to add group assignment "%{group}"':'Toevoegen van groepsopdracht "%{group}" mislukt',"Failed to add %{groupAssignmentCount} group assignment":["Toevoegen van %{groupAssignmentCount} groepsopdracht mislukt","Toevoegen van %{groupAssignmentCount} groepsopdrachten mislukt"],"User name":"Gebruikersnaam","First and last name":"Voor- en achternaam",Email:"E-mail",Password:"Wachtwoord","User was created successfully":"Gebruiker is met succes aangemaakt","Failed to create user":"Aanmaken van gebruiker mislukt","User name cannot be empty":"Gebruikersnaam kan niet leeg zijn","User name cannot contain white spaces":"De gebruikersnaam mag geen spaties bevatten.","User name cannot exceed 255 characters":"Gebruikersnaam mag niet meer dan 255 tekens bevatten","User name cannot contain special characters":"De gebruikersnaam mag geen speciale tekens bevatten","User name cannot start with a number":"Gebruikersnaam mag niet met een cijfer beginnen",'User "%{userName}" already exists':'Gebruiker "%{userName}" bestaat al',"First and last name cannot be empty":"Voor - en achternaam kunnen niet leeg zijn","First and last name cannot exceed 255 characters":"Voor - en achternaam mogen niet meer dan 255 tekens bevatten","Please enter a valid email":"Voer een geldig e-mailadres in","Password cannot be empty":"Wachtwoord kan niet leeg zijn",Groups:"Groepen",Login:"Login","Select...":"Selecteren…","Your own login status will remain unchanged.":"Je eigen inlogstatus blijft ongewijzigd.",Allowed:"Toegestaan",Forbidden:"Verboden",'Login for user "%{user}" was edited successfully':'Login voor gebruiker "%{user}" is met succes bewerkt',"%{userCount} user login was edited successfully":["%{userCount} gebruikerslogin is met succes bewerkt","%{userCount} gebruikerslogins zijn met succes bewerkt"],'Failed edit login for user "%{user}"':'Inlog bewerken voor gebruiker "%{user}" mislukt',"Failed to edit %{userCount} user login":["Bewerken van %{userCount} gebruikerslogin mislukt","Bewerken van %{userCount} gebruikerslogins mislukt"],"Group assignment already removed":["Groepsopdracht al verwijderd","Groepsopdrachten al verwijderd"],'Group assignment "%{group}" was deleted successfully':'Groepsopdracht "%{group}" is met succes verwijderd',"%{groupAssignmentCount} group assignment was deleted successfully":["%{groupAssignmentCount} groepsopdracht is met succes verwijderd","%{groupAssignmentCount} groepsopdrachten zijn met succes verwijderd"],'Failed to delete group assignment "%{group}"':'Verwijderen van groepsopdracht "%{group}" mislukt',"Failed to delete %{groupAssignmentCount} group assignment":["Verwijderen van %{groupAssignmentCount} groepsopdracht mislukt","Verwijderen van %{groupAssignmentCount} groepsopdrachten mislukt"],"Select a user to view details":"Selecteer een gebruiker om de details te bekijken","Overview of the information about the selected user":"Overzicht van de informatie over de geselecteerde gebruiker",Role:"Rol","User roles become available once the user has logged in for the first time.":"Gebruikersrollen worden beschikbaar zodra de gebruiker voor de eerste keer is ingelogd.","User role":"Gebruikersrol",Quota:"Quota","User quota becomes available once the user has logged in for the first time.":"De gebruikersquotum wordt beschikbaar zodra de gebruiker voor de eerste keer is ingelogd.","No groups assigned.":"Geen groepen toegewezen.","%{count} users selected":"%{count} gebruikers geselecteerd","No restriction":"Geen beperking","Personal quota":"Persoonlijke quota","To set an individual quota, the user needs to have logged in once.":"Om een individuele quotum in te stellen, moet de gebruiker zich eens hebben aangemeld.","Failed to edit user":"Bewerken van gebruiker mislukt","Select users":"Gebruikers selecteren","Select all users":"Selecteer alle gebruikers","%{userCount} users in total":"%{userCount} gebruikers in totaal","Select %{ user }":"Selecteer %{ user }","New group":"Nieuwe groep","Create group":"Groep aanmaken",'Group "%{group}" was deleted successfully':'Groep "%{group}" is met succes verwijderd',"%{groupCount} group was deleted successfully":["%{groupCount} groep is met succes verwijderd","%{groupCount} groepen zijn met succes verwijderd"],"Failed to delete group »%{group}«":"Verwijderen van groep »%{group}« mislukt","Failed to delete %{groupCount} group":["Verwijderen van %{groupCount} groep mislukt","Verwijderen van %{groupCount} groepen mislukt"],"Delete group »%{group}«?":["Groep »%{group}« verwijderen?","%{groupCount} groepen verwijderen?"],Delete:"Verwijderen","Are you sure you want to delete this group?":["Weet u zeker dat u deze groep wilt verwijderen?","Weet je zeker dat je de %{groupCount} geselecteerde groepen wilt verwijderen?"],'Add user "%{user}" to groups':["%{userCount} gebruiker toevoegen aan groepen","%{userCount} gebruikers toevoegen aan groepen"],"Add to groups":"Toevoegen aan groepen","New user":"Nieuwe gebruiker","Create user":"Gebruiker aanmaken",'User "%{user}" was deleted successfully':'Gebruiker "%{user}" is met succes verwijderd',"%{userCount} user was deleted successfully":["%{userCount} gebruiker is met succes verwijderd","%{userCount} gebruikers zijn met succes verwijderd"],'Failed to delete user "%{user}"':'Verwijderen van gebruiker "%{user}" mislukt',"Failed to delete %{userCount} user":["Verwijderen van %{userCount} gebruiker mislukt","Verwijderen van %{userCount} gebruikers mislukt"],'Delete user "%{user}"?':['Gebruiker "%{user}" verwijderen?',"%{userCount} gebruikers verwijderen?"],"Are you sure you want to delete this user?":["Weet u zeker dat u deze gebruiker wilt verwijderen?","Weet je zeker dat je de %{userCount} geselecteerde gebruikers wilt verwijderen?"],'Edit login for "%{user}"':['Login bewerken voor "%{user}"',"Login bewerken voor %{userCount} gebruikers"],"Edit login":"Login bewerken","Change quota for user »%{name}«":"Quota aanpassen voor gebruiker »%{name}«","Change quota for %{count} users":"Quota aanpassen voor %{count} gebruikers","Quota will only be applied to users who logged in at least once.":"De quota worden alleen toegepast op gebruikers die minstens één keer zijn ingelogd.","Unaffected users":"Onaangetaste gebruikers","Edit quota":"Quota bewerken",'Remove user "%{user}" from groups':["%{userCount} gebruiker verwijderen van groepen","%{userCount} gebruikers verwijderen van groepen"],"Remove from groups":"Verwijderen van groepen",General:"Algemeen",Users:"Gebruikers",Spaces:"Ruimtes","Admin Settings":"Beheerdersinstellingen",New:"Nieuw",Details:"Details","Create a new group and it will show up here":"Maak een nieuwe groep aan en deze wordt hier weergegeven","Edit group":"Groep bewerken","Create a new space and it will show up here":"Maak een nieuwe ruimte aan en deze wordt hier weergegeven","Filter groups":"Groepen filteren",Roles:"Rollen","Filter roles":"Rollen filteren","Search users":"Gebruikers zoeken","No users found":"Geen gebruikers gevonden","Please specify a filter to see results":"Geef een filter op om resultaten te zien","Edit user":"Gebruiker bewerken"},ln=JSON.parse(`{"Info":"Informazioni","Edition":"Edizione","Version":"Versione","Select a resource from the left sidebar to manage it":"Seleziona una risorsa dalla barra laterale sinistra per gestirla","Group name":"Nome gruppo","Group was created successfully":"Il gruppo è stato creato con successo","Failed to create group":"Impossibile creare il gruppo","Group name cannot be empty":"Il nome del gruppo non può essere vuoto","Group name cannot exceed 255 characters":"Il nome del gruppo non può superare i 255 caratteri","Group \\"%{groupName}\\" already exists":"Il gruppo \\"%{groupName}\\" esiste già","Search":"Cerca","Select all groups":"Seleziona tutti i gruppi","Avatar":"Avatar","Show details":"Mostra dettagli","Edit":"Modifica","This group is read-only and can't be edited":"Questo gruppo è di sola lettura e non può essere modificato","Members":"Membri","Actions":"Azioni","%{groupCount} groups in total":"%{groupCount} gruppi in totale","%{groupCount} matching groups":"%{groupCount} gruppi corrispondenti","Select %{ group }":"Seleziona %{ gruppo }","Select a group to view details":"Seleziona un gruppo per visualizzare i dettagli","Overview of the information about the selected group":"Panoramica delle informazioni sul gruppo selezionato","%{count} groups selected":"%{count} gruppi selezionati","Failed to edit group":"Impossibile modificare il gruppo","%{groupCount} member":["%{groupCount} membro","%{groupCount} membri","%{groupCount} membri"],"Filter members":"Filtra membri","No members found":"Nessun membro trovato","Custom role":"Ruolo personalizzato","Select spaces":"Seleziona gli spazi","Select all spaces":"Seleziona tutti gli spazi","Icon":"Icona","Disabled":"DIsabilitato","Enabled":"Abilitato","%{spaceCount} spaces in total":"%{spaceCount} spazi in totale","%{spaceCount} matching spaces":"%{spaceCount} spazi corrispondenti","Name":"Nome","Status":"Stato","Manager":"Manager","Total quota":"Quota totale","Used quota":"Quota utilizzata","Remaining quota":"Quota rimanente","Modified":"Modificato","Unrestricted":"Senza restrizioni","Select %{ space }":"Seleziona %{ space }","Group assignment already added":["Assegnazione del gruppo già aggiunta","Assegnazioni di gruppo già aggiunte","Assegnazioni di gruppo già aggiunte"],"Group assignment \\"%{group}\\" was added successfully":"L'assegnazione del gruppo \\"%{group}\\" è stata aggiunta correttamente","%{groupAssignmentCount} group assignment was added successfully":["%{groupAssignmentCount} assegnazione di gruppo è stata aggiunta correttamente","%{groupAssignmentCount} assegnazioni di gruppo sono state aggiunte correttamente","%{groupAssignmentCount} assegnazioni di gruppo sono state aggiunte correttamente"],"Failed to add group assignment \\"%{group}\\"":"Impossibile aggiungere l'assegnazione di gruppo \\"%{group}\\"","Failed to add %{groupAssignmentCount} group assignment":["Impossibile aggiungere l'assegnazione di gruppo %{groupAssignmentCount}","Impossibile aggiungere %{groupAssignmentCount} assegnazioni di gruppo","Impossibile aggiungere %{groupAssignmentCount} assegnazioni di gruppo"],"User name":"Nome utente","First and last name":"Nome e cognome","Email":"Email","Password":"Password","User was created successfully":"L'utente è stato creato correttamente","Failed to create user":"Impossibile creare l'utente","User name cannot be empty":"Il nome utente non può essere vuoto","User name cannot contain white spaces":"Il nome utente non può contenere spazi vuoit","User name cannot exceed 255 characters":"Il nome utente non può superare i 255 caratteri","User name cannot contain special characters":"Il nome utente non può contenere caratteri speciali","User name cannot start with a number":"Il nome utente non può iniziare con un numero","User \\"%{userName}\\" already exists":"L'utente \\"%{userName}\\" esiste già","First and last name cannot be empty":"Il nome e il cognome non possono essere vuoti","First and last name cannot exceed 255 characters":"Il nome e il cognome non possono superare i 255 caratteri","Please enter a valid email":"Inserisci un indirizzo email valido","Password cannot be empty":"La password non può essere vuota","Groups":"Gruppi","Login":"Accedi","Select...":"Seleziona...","Your own login status will remain unchanged.":"Il tuo stato di accesso rimarrà invariato.","Allowed":"Abilitato","Forbidden":"Vietato","Login for user \\"%{user}\\" was edited successfully":"L'accesso per l'utente \\"%{user}\\" è stato modificato con successo","%{userCount} user login was edited successfully":["%{userCount} accesso utente modificato con successo","%{userCount} accessi utente modificati con successo","%{userCount} accessi utente modificati con successo"],"Failed edit login for user \\"%{user}\\"":"Accesso di modifica non riuscito per l'utente \\"%{user}\\"","Failed to edit %{userCount} user login":["Impossibile modificare l'accesso dell'utente %{userCount}","Impossibile modificare %{userCount} accessi utente","Impossibile modificare %{userCount} accessi utente"],"Group assignment already removed":["Assegnazione del gruppo già rimossa","Assegnazioni di gruppo già rimosse","Assegnazioni di gruppo già rimosse"],"Group assignment \\"%{group}\\" was deleted successfully":"L'assegnazione del gruppo \\"%{group}\\" è stata eliminata correttamente","%{groupAssignmentCount} group assignment was deleted successfully":["%{groupAssignmentCount} assegnazione di gruppo è stata eliminata correttamente","%{groupAssignmentCount} assegnazioni di gruppo sono state eliminate correttamente","%{groupAssignmentCount} assegnazioni di gruppo sono state eliminate correttamente"],"Failed to delete group assignment \\"%{group}\\"":"Impossibile eliminare l'assegnazione del gruppo \\"%{group}\\"","Failed to delete %{groupAssignmentCount} group assignment":["Impossibile eliminare l'assegnazione di gruppo %{groupAssignmentCount}","Impossibile eliminare %{groupAssignmentCount} assegnazioni di gruppo","Impossibile eliminare %{groupAssignmentCount} assegnazioni di gruppo"],"Select a user to view details":"Seleziona un utente per visualizzare i dettagli","Overview of the information about the selected user":"Panoramica delle informazioni sull'utente selezionato","Role":"Ruolo","User roles become available once the user has logged in for the first time.":"I ruoli utente diventano disponibili una volta che l'utente ha effettuato l'accesso per la prima volta.","User role":"Ruolo utente","Quota":"Quota","User quota becomes available once the user has logged in for the first time.":"La quota utente diventa disponibile una volta che l'utente ha effettuato l'accesso per la prima volta.","No groups assigned.":"Nessun gruppo assegnato.","%{count} users selected":"%{count} utenti selezionati","No restriction":"Nessuna restrizione","Personal quota":"Quota personale","To set an individual quota, the user needs to have logged in once.":"Per impostare una quota individuale, l'utente deve aver effettuato l'accesso una volta.","Failed to edit user":"Impossibile modificare l'utente","Select users":"Seleziona gli utenti","Select all users":"Seleziona tutti gli utenti","%{userCount} users in total":"%{userCount} utenti in totale","Select %{ user }":"Seleziona %{ user }","New group":"Nuovo gruppo","Create group":"Crea gruppo","Group \\"%{group}\\" was deleted successfully":"Il gruppo \\"%{group}\\" è stato eliminato correttamente","%{groupCount} group was deleted successfully":["%{groupCount} gruppo è stato eliminato correttamente","%{groupCount} gruppi sono stati eliminati correttamente","%{groupCount} gruppi sono stati eliminati correttamente"],"Failed to delete group »%{group}«":"Impossibile eliminare il gruppo »%{group}«","Failed to delete %{groupCount} group":["Impossibile eliminare il gruppo %{groupCount}","Impossibile eliminare %{groupCount} gruppi","Impossibile eliminare %{groupCount} gruppi"],"Delete group »%{group}«?":["Eliminare il gruppo »%{group}«?","Eliminare %{groupCount} gruppi?","Eliminare %{groupCount} gruppi?"],"Delete":"Elimina","Are you sure you want to delete this group?":["Sei sicuro di voler eliminare questo gruppo?","Vuoi davvero eliminare i %{groupCount} gruppi selezionati?","Vuoi davvero eliminare i %{groupCount} gruppi selezionati?"],"Add user \\"%{user}\\" to groups":["Aggiungi %{userCount} utente ai gruppi","Aggiungi %{userCount} utenti ai gruppi","Aggiungi %{userCount} utenti ai gruppi"],"Add to groups":"Aggiungi ai gruppi","New user":"Nuovo utente","Create user":"Crea utente","User \\"%{user}\\" was deleted successfully":"L'utente \\"%{user}\\" è stato eliminato con successo","%{userCount} user was deleted successfully":["%{userCount} utente è stato eliminato con successo","%{userCount} utenti sono stati eliminati con successo","%{userCount} utenti sono stati eliminati con successo"],"Failed to delete user \\"%{user}\\"":"Impossibile eliminare l'utente \\"%{user}\\"","Failed to delete %{userCount} user":["Impossibile eliminare %{userCount} utente","Impossibile eliminare %{userCount} utenti","Impossibile eliminare %{userCount} utenti"],"Delete user \\"%{user}\\"?":["Eliminare l'utente \\"%{user}\\"?","Eliminare %{userCount} utenti?","Eliminare %{userCount} utenti?"],"Are you sure you want to delete this user?":["Sei sicuro di voler eliminare questo utente?","Vuoi davvero eliminare i %{userCount} utenti selezionati?","Vuoi davvero eliminare i %{userCount} utenti selezionati?"],"Edit login for \\"%{user}\\"":["Modifica l'accesso per \\"%{user}\\"","Modifica l'accesso per %{userCount} utenti","Modifica l'accesso per %{userCount} utenti"],"Edit login":"Modifica login","Change quota for user »%{name}«":"Modifica la quota per l'utente »%{name}«","Change quota for %{count} users":"Modifica la quota per %{count} utenti","Quota will only be applied to users who logged in at least once.":"La quota verrà applicata solo agli utenti che hanno effettuato l'accesso almeno una volta.","Unaffected users":"Utenti non interessati","Edit quota":"Modifica quota","Remove user \\"%{user}\\" from groups":["Rimuovi %{userCount} utente dai gruppo","Rimuovi %{userCount} utenti dai gruppi","Rimuovi %{userCount} utenti dai gruppi"],"Remove from groups":"Rimuovi dai gruppi","General":"Generale","Users":"Utenti","Spaces":"Spazi","Admin Settings":"Impostazioni amministratore","New":"Nuovo","Details":"Dettagli","Edit group":"Modifica gruppo","Filter groups":"Filtra gruppi","Roles":"Ruoli","Filter roles":"Filtra ruoli","Search users":"Cerca utenti","Please specify a filter to see results":"Specifica un filtro per vedere i risultati","Edit user":"Modifica utente"}`),dn={Version:"Wersja","Group name":"Nazwa Grupy",Search:"Szukaj",Avatar:"Awatar","Show details":"Pokaż szczegóły",Edit:"Edytuj",Members:"Członkowie",Actions:"Akcje","Failed to edit group":"Niepowodzenie edycji grupy","%{groupCount} member":["%{groupCount} członek","%{groupCount} członków","%{groupCount} członków","%{groupCount} członków"],"Filter members":"Filtruj członków","Custom role":"Niestandardowa rola",Disabled:"Wyłączone",Enabled:"Aktywny",Name:"Nazwa",Status:"Status","Used quota":"Wykorzystana quota",Modified:"Zmodyfikowany","First and last name":"Imię i nazwisko",Email:"Email",Password:"Hasło",Login:"Logowanie",Allowed:"Zezwolone",Forbidden:"Zabronione",Role:"Rola","Failed to edit user":"Niepowodzenie edycji użytkownika","Create group":"Stwórz Grupę",Delete:"Usuń",'Add user "%{user}" to groups':["Dodaj użytkownika do grupy","Dodaj 5 użytkowników do grupy","Dodaj 5 użytkowników do grupy","Dodaj %{userCount} użytkowników do grupy"],"Add to groups":"Dodaj do grup","Create user":"Stwórz Użytkownika","Edit login":"Edytuj login","Edit quota":"Edytuj przydział",General:"Ogólne",Users:"Użytkownicy",Spaces:"Przestrzenie","Admin Settings":"Ustawienia Administracyjne",New:"Nowy",Details:"Szczegóły","Edit group":"Edytuj grupę","Filter groups":"Filtruj grupy","Filter roles":"Filtruj role"},cn=JSON.parse(`{"Info":"Informação","Edition":"Edição","Version":"Versão","Select a resource from the left sidebar to manage it":"Selecione um recurso da barra lateral esquerda para gerir","Group name":"Nome do grupo","Group was created successfully":"Grupo foi criado com sucesso","Failed to create group":"Falha ao criar grupo","Group name cannot be empty":"Nome do grupo não pode estar vazio","Group name cannot exceed 255 characters":"Nome do grupo não pode exceder 255 caracteres","Group \\"%{groupName}\\" already exists":"Grupo %{groupName} já existe","Search":"Pesquisar","Select all groups":"Selecionar todos os grupos","Avatar":"Avatar","Show details":"Mostrar detalhes","Edit":"Editar","This group is read-only and can't be edited":"Este grupo é só de leitura e não pode ser editado","Members":"Membros","Actions":"Ações","%{groupCount} groups in total":"%{groupCount} grupos no total","%{groupCount} matching groups":"%{groupCount} grupos correspondentes","Select %{ group }":"Selecionar %{ group }","Select a group to view details":"Selecione um grupo para ver detalhes","Overview of the information about the selected group":"Visão geral da informação sobre o grupo selecionado","%{count} groups selected":"%{count} grupos selecionados","Failed to edit group":"Falha ao editar grupo","%{groupCount} member":["%{groupCount} membro","%{groupCount} membro","%{groupCount} membros"],"Filter members":"Filtrar membros","No members found":"Nenhum membro encontrado","Custom role":"Função personalizada","Select spaces":"Selecionar espaços","Select all spaces":"Selecionar todos os espaços","Icon":"Ícone","Disabled":"Desativado","Enabled":"Ativado","%{spaceCount} spaces in total":"%{spaceCount} espaços no total","%{spaceCount} matching spaces":"%{spaceCount} espaços correspondentes","Name":"Nome","Status":"Estado","Manager":"Gestor","Total quota":"Quota total","Used quota":"Quota utilizada","Remaining quota":"Quota restante","Modified":"Modificado","Unrestricted":"Sem restrições","Select %{ space }":"Selecionar %{ space }","Group assignment already added":["Atribuição de grupo já adicionada","Atribuição de grupo já adicionada","Atribuições de grupo já adicionadas"],"Group assignment \\"%{group}\\" was added successfully":"Atribuição de grupo %{group} foi adicionada com sucesso","%{groupAssignmentCount} group assignment was added successfully":["%{groupAssignmentCount} atribuição de grupo foi adicionada com sucesso","%{groupAssignmentCount} atribuição de grupo foi adicionada com sucesso","%{groupAssignmentCount} atribuições de grupo foram adicionadas com sucesso"],"Failed to add group assignment \\"%{group}\\"":"Falha ao adicionar atribuição de grupo %{group}","Failed to add %{groupAssignmentCount} group assignment":["Falha ao adicionar %{groupAssignmentCount} atribuição de grupo","Falha ao adicionar %{groupAssignmentCount} atribuição de grupo","Falha ao adicionar %{groupAssignmentCount} atribuições de grupo"],"User name":"Nome de utilizador","First and last name":"Nome e apelido","Email":"E-mail","Password":"Palavra-passe","User was created successfully":"Utilizador foi criado com sucesso","Failed to create user":"Falha ao criar utilizador","User name cannot be empty":"Nome de utilizador não pode estar vazio","User name cannot contain white spaces":"Nome de utilizador não pode conter espaços em branco","User name cannot exceed 255 characters":"Nome de utilizador não pode exceder 255 caracteres","User name cannot contain special characters":"Nome de utilizador não pode conter caracteres especiais","User name cannot start with a number":"Nome de utilizador não pode começar com um número","User \\"%{userName}\\" already exists":"Utilizador %{userName} já existe","First and last name cannot be empty":"Nome e apelido não podem estar vazios","First and last name cannot exceed 255 characters":"Nome e apelido não podem exceder 255 caracteres","Please enter a valid email":"Por favor, introduza um e-mail válido","Password cannot be empty":"Palavra-passe não pode estar vazia","Groups":"Grupos","Login":"Início de sessão","Select...":"Selecionar...","Your own login status will remain unchanged.":"O seu próprio estado de início de sessão permanecerá inalterado.","Allowed":"Permitido","Forbidden":"Proibido","Login for user \\"%{user}\\" was edited successfully":"Início de sessão para utilizador %{user} foi editado com sucesso","%{userCount} user login was edited successfully":["O início de sessão de %{userCount} utilizador foi editado com sucesso","O início de sessão de %{userCount} utilizador foi editado com sucesso","Os inícios de sessão de %{userCount} utilizadores foram editados com sucesso"],"Failed edit login for user \\"%{user}\\"":"Falha ao editar início de sessão para utilizador %{user}","Failed to edit %{userCount} user login":["Falha ao editar início de sessão de %{userCount} utilizador","Falha ao editar início de sessão de %{userCount} utilizador","Falha ao editar inícios de sessão de %{userCount} utilizadores"],"Group assignment already removed":["Atribuição de grupo já removida","Atribuição de grupo já removida","Atribuições de grupo já removidas"],"Group assignment \\"%{group}\\" was deleted successfully":"Atribuição de grupo %{group} foi eliminada com sucesso","%{groupAssignmentCount} group assignment was deleted successfully":["%{groupAssignmentCount} atribuição de grupo foi eliminada com sucesso","%{groupAssignmentCount} atribuição de grupo foi eliminada com sucesso","%{groupAssignmentCount} atribuições de grupo foram eliminadas com sucesso"],"Failed to delete group assignment \\"%{group}\\"":"Falha ao eliminar atribuição de grupo %{group}","Failed to delete %{groupAssignmentCount} group assignment":["Falha ao eliminar %{groupAssignmentCount} atribuição de grupo","Falha ao eliminar %{groupAssignmentCount} atribuição de grupo","Falha ao eliminar %{groupAssignmentCount} atribuições de grupo"],"Select a user to view details":"Selecione um utilizador para ver detalhes","Overview of the information about the selected user":"Visão geral da informação sobre o utilizador selecionado","Role":"Função","User roles become available once the user has logged in for the first time.":"As funções do utilizador ficam disponíveis assim que o utilizador inicia sessão pela primeira vez.","User role":"Função do utilizador","Quota":"Quota","User quota becomes available once the user has logged in for the first time.":"A quota do utilizador fica disponível assim que o utilizador inicia sessão pela primeira vez.","No groups assigned.":"Nenhum grupo atribuído.","%{count} users selected":"%{count} utilizadores selecionados","No restriction":"Sem restrição","Personal quota":"Quota pessoal","To set an individual quota, the user needs to have logged in once.":"Para definir uma quota individual, o utilizador precisa de ter iniciado sessão uma vez.","Failed to edit user":"Falha ao editar utilizador","Select users":"Selecionar utilizadores","Select all users":"Selecionar todos os utilizadores","%{userCount} users in total":"%{userCount} utilizadores no total","Select %{ user }":"Selecionar %{ user }","New group":"Novo grupo","Create group":"Criar grupo","Group \\"%{group}\\" was deleted successfully":"Grupo %{group} foi eliminado com sucesso","%{groupCount} group was deleted successfully":["%{groupCount} grupo foi eliminado com sucesso","%{groupCount} grupo foi eliminado com sucesso","%{groupCount} grupos foram eliminados com sucesso"],"Failed to delete group »%{group}«":"Falha ao eliminar grupo %{group}","Failed to delete %{groupCount} group":["Falha ao eliminar %{groupCount} grupo","Falha ao eliminar %{groupCount} grupo","Falha ao eliminar %{groupCount} grupos"],"Delete group »%{group}«?":["Eliminar grupo »%{group}«?","Eliminar grupo »%{group}«?","Eliminar %{groupCount} grupos?"],"Delete":"Eliminar","Are you sure you want to delete this group?":["Tem a certeza de que quer eliminar este grupo?","Tem a certeza de que quer eliminar este grupo?","Tem a certeza de que quer eliminar os %{groupCount} grupos selecionados?"],"Add user \\"%{user}\\" to groups":["Adicionar utilizador %{user} a grupos","Adicionar utilizador %{user} a grupos","Adicionar %{userCount} utilizadores a grupos"],"Add to groups":"Adicionar a grupos","New user":"Novo utilizador","Create user":"Criar utilizador","User \\"%{user}\\" was deleted successfully":"Utilizador %{user} foi eliminado com sucesso","%{userCount} user was deleted successfully":["%{userCount} utilizador foi eliminado com sucesso","%{userCount} utilizador foi eliminado com sucesso","%{userCount} utilizadores foram eliminados com sucesso"],"Failed to delete user \\"%{user}\\"":"Falha ao eliminar utilizador %{user}","Failed to delete %{userCount} user":["Falha ao eliminar %{userCount} utilizador","Falha ao eliminar %{userCount} utilizador","Falha ao eliminar %{userCount} utilizadores"],"Delete user \\"%{user}\\"?":["Eliminar utilizador %{user}?","Eliminar utilizador %{user}?","Eliminar %{userCount} utilizadores?"],"Are you sure you want to delete this user?":["Tem a certeza de que quer eliminar este utilizador?","Tem a certeza de que quer eliminar este utilizador?","Tem a certeza de que quer eliminar os %{userCount} utilizadores selecionados?"],"Edit login for \\"%{user}\\"":["Editar início de sessão para %{user}","Editar início de sessão para %{user}","Editar início de sessão para %{userCount} utilizadores"],"Edit login":"Editar início de sessão","Change quota for user »%{name}«":"Alterar quota para utilizador »%{name}«","Change quota for %{count} users":"Alterar quota para %{count} utilizadores","Quota will only be applied to users who logged in at least once.":"A quota só será aplicada a utilizadores que iniciaram sessão pelo menos uma vez.","Unaffected users":"Utilizadores não afetados","Edit quota":"Editar quota","Remove user \\"%{user}\\" from groups":["Remover utilizador %{user} de grupos","Remover utilizador %{user} de grupos","Remover %{userCount} utilizadores de grupos"],"Remove from groups":"Remover de grupos","General":"Geral","Users":"Utilizadores","Spaces":"Espaços","Admin Settings":"Definições de administrador","New":"Novo","Details":"Detalhes","Edit group":"Editar grupo","Filter groups":"Filtrar grupos","Roles":"Funções","Filter roles":"Filtrar funções","Search users":"Pesquisar utilizadores","Please specify a filter to see results":"Por favor, especifique um filtro para ver resultados","Edit user":"Editar utilizador"}`),pn={},gn={"Group name":"그룹명","Failed to create group":"그룹을 생성하지 못했습니다.",Search:"검색",Avatar:"아바타","Show details":"세부 정보 표시",Edit:"편집",Actions:"액션","%{groupCount} groups in total":"총 %{groupCount}개의 그룹","%{groupCount} matching groups":"%{groupCount}개의 일치하는 그룹","%{count} groups selected":"%{count}개의 그룹이 선택됨","%{groupCount} member":"%{groupCount}명의 회원","Filter members":"구성원 필터",Icon:"아이콘",Disabled:"비활성",Enabled:"활성","%{spaceCount} spaces in total":"총 %{spaceCount}개 공간","%{spaceCount} matching spaces":"%{spaceCount} 일치하는 공간",Status:"상태","Used quota":"사용된 할당량","Remaining quota":"남은 할당량","%{groupAssignmentCount} group assignment was added successfully":"%{groupAssignmentCount}개의 그룹 할당이 성공적으로 추가되었습니다","First and last name":"이름과 성",Email:"이메일",Password:"비밀번호","Failed to create user":"사용자를 생성하지 못했습니다","Please enter a valid email":"유효한 이메일을 입력하세요","Password cannot be empty":"비밀번호는 비워둘 수 없습니다",Login:"로그인","%{groupAssignmentCount} group assignment was deleted successfully":"%{groupAssignmentCount}개의 그룹 할당이 성공적으로 삭제되었습니다",Quota:"할당량","%{count} users selected":"%{count}명의 사용자가 선택됨","Personal quota":"개인 할당량","Create group":"그룹 생성","%{groupCount} group was deleted successfully":"%{groupCount}개의 그룹이 성공적으로 삭제되었습니다",Delete:"삭제","Create user":"사용자 생성","Quota will only be applied to users who logged in at least once.":"할당량은 최소한 한 번 이상 로그인한 사용자에게만 적용됩니다.","Edit quota":"할당량 수정","Admin Settings":"관리자 설정",New:"신규",Details:"세부 사항","Edit group":"그룹 수정","Search users":"사용자 검색","Edit user":"사용사 수정"},mn=JSON.parse(`{"Info":"Инфо","Edition":"Издание","Version":"Версия","Select a resource from the left sidebar to manage it":"Выберите ресурс из панели слева для управления им","Group name":"Имя группы","Group was created successfully":"Группа была успешно создана","Failed to create group":"Не удалось создать группу","Group name cannot be empty":"Имя группы не может быть пустым","Group name cannot exceed 255 characters":"Длина имени группы не может превышать 255 символов","Group \\"%{groupName}\\" already exists":"Группа \\"%{groupName}\\" уже существует","Search":"Поиск","Select all groups":"Выбрать все группы","Avatar":"Аватар","Show details":"Показать детали","Edit":"Изменить","This group is read-only and can't be edited":"Эта группа доступна только для чтения и не может быть изменена","Members":"Участники","Actions":"Действия","%{groupCount} groups in total":"%{groupCount} групп в общей сложности","%{groupCount} matching groups":"%{groupCount} соответствующих групп","Select %{ group }":"Выбрать %{ group }","Select a group to view details":"Выберите группу для просмотра деталей","Overview of the information about the selected group":"Обзор информации о выбранной группе","%{count} groups selected":"%{count} групп выбрано","Failed to edit group":"Не удалось изменить группу","%{groupCount} member":["%{groupCount} член","%{groupCount} члена","%{groupCount} членов","%{groupCount} членов"],"Filter members":"Отфильтровать участников","No members found":"Участников не найдено","Custom role":"Пользовательская роль","Select spaces":"Выбрать пространства","Select all spaces":"Выбрать все пространства","Icon":"Иконка","Disabled":"Выключено","Enabled":"Включено","%{spaceCount} spaces in total":"%{spaceCount} пространств в общей сложности","%{spaceCount} matching spaces":"%{spaceCount} соответствующих пространств","Name":"Имя","Status":"Статус","Manager":"Управляющий","Total quota":"Общая квота","Used quota":"Использованная квота","Remaining quota":"Оставшаяся квота","Modified":"Изменено","Unrestricted":"Без ограничений","Select %{ space }":"Выбрать %{ space }","Group assignment already added":["Групповое назначение уже добавлено","Групповые назначения уже добавлены","Групповые назначения уже добавлены","Групповые назначения уже добавлены"],"Group assignment \\"%{group}\\" was added successfully":"Групповое назначение \\"%{group}\\" было успешно добавлено","%{groupAssignmentCount} group assignment was added successfully":["%{groupAssignmentCount} групповое назначение было успешно добавлено","%{groupAssignmentCount} групповых назначения было успешно добавлено","%{groupAssignmentCount} групповых назначений было успешно добавлено","%{groupAssignmentCount} групповых назначений было успешно добавлено"],"Failed to add group assignment \\"%{group}\\"":"Не удалось добавить групповое назначение \\"%{group}\\"","Failed to add %{groupAssignmentCount} group assignment":["Не удалось добавить %{groupAssignmentCount} групповое назначение","Не удалось добавить %{groupAssignmentCount} групповых назначения","Не удалось добавить %{groupAssignmentCount} групповых назначений","Не удалось добавить %{groupAssignmentCount} групповых назначений"],"User name":"Имя пользователя","First and last name":"Имя и фамилия","Email":"Email","Password":"Пароль","User was created successfully":"Пользователь был успешно создан","Failed to create user":"Не удалось создать пользователя","User name cannot be empty":"Имя пользователя не может быть пустое","User name cannot contain white spaces":"Имя пользователя не может содержать пробелы","User name cannot exceed 255 characters":"Длина имени пользователя не может превышать 255 символов","User name cannot contain special characters":"Имя пользователя не может содержать специальные символы","User name cannot start with a number":"Имя пользователя не может начинаться с цифры","User \\"%{userName}\\" already exists":"Пользователь \\"%{userName}\\" уже существует","First and last name cannot be empty":"Имя и фамилия не могут быть пустыми","First and last name cannot exceed 255 characters":"Длина имени и фамилии не может превышать 255 символов","Please enter a valid email":"Пожалуйста, введите валидный email","Password cannot be empty":"Пароль не может быть пустым","Groups":"Группы","Login":"Логин","Select...":"Выбрать...","Your own login status will remain unchanged.":"Ваш собственный статус входа в систему останется неизменным.","Allowed":"Разрешено","Forbidden":"Запрещено","Login for user \\"%{user}\\" was edited successfully":"Логин для пользователя \\"%{user}\\" был успешно изменен","%{userCount} user login was edited successfully":["Логин %{userCount} пользователя был успешно изменен","Логины %{userCount} пользователей были успешно изменены","Логины пользователей были успешно изменены - %{userCount}","Логины пользователей были успешно изменены - %{userCount}"],"Failed edit login for user \\"%{user}\\"":"Не удалось изменить логин для пользователя \\"%{user}\\"","Failed to edit %{userCount} user login":["Не удалось изменить логин %{userCount} пользователя","Не удалось изменить логины %{userCount} пользователей","Не удалось изменить логины пользователей - %{userCount} шт.","Не удалось изменить логины пользователей - %{userCount} шт."],"Group assignment already removed":["Групповое назначение уже удалено","Групповые назначения уже удалены","Групповые назначения уже удалены","Групповые назначения уже удалены"],"Group assignment \\"%{group}\\" was deleted successfully":"Групповое назначение \\"%{group}\\" было успешно удалено","%{groupAssignmentCount} group assignment was deleted successfully":["%{groupAssignmentCount} групповое назначение было успешно удалено","%{groupAssignmentCount} групповых назначения было успешно удалено","%{groupAssignmentCount} групповых назначений было успешно удалено","%{groupAssignmentCount} групповых назначений было успешно удалено"],"Failed to delete group assignment \\"%{group}\\"":"Не удалось удалить групповое назначение \\"%{group}\\"","Failed to delete %{groupAssignmentCount} group assignment":["Не удалось удалить %{groupAssignmentCount} групповое назначение","Не удалось удалить %{groupAssignmentCount} групповых назначения","Не удалось удалить %{groupAssignmentCount} групповых назначений","Не удалось удалить %{groupAssignmentCount} групповых назначений"],"Select a user to view details":"Выберите пользователя для просмотра деталей","Overview of the information about the selected user":"Обзор информации о выбранном пользователе","Role":"Роль","User roles become available once the user has logged in for the first time.":"Роль становится доступной после того, как пользователь первый раз вошел в систему.","User role":"Роль пользователя","Quota":"Квота","User quota becomes available once the user has logged in for the first time.":"Пользовательская квота становится доступной после того, как пользователь первый раз вошел в систему.","No groups assigned.":"Группы не назначены.","%{count} users selected":"%{count} пользователей выбрано","No restriction":"Нет ограничений","Personal quota":"Личная квота","To set an individual quota, the user needs to have logged in once.":"Чтобы установить пользователю индивидуальную квоту, он должен войти в систему хотя бы один раз.","Failed to edit user":"Не удалось изменить пользователя","Select users":"Выбрать пользователей","Select all users":"Выбрать всех пользователей","%{userCount} users in total":"Всего пользователей - %{userCount}","Select %{ user }":"Выбрать %{ user }","New group":"Новая группа","Create group":"Создать группу","Group \\"%{group}\\" was deleted successfully":"Группа \\"%{group}\\" была успешно удалена","%{groupCount} group was deleted successfully":["%{groupCount} группа была успешно удалена","%{groupCount} группы были успешно удалены","Группы были успешно удалены - %{groupCount}","Группы были успешно удалены - %{groupCount}"],"Failed to delete group »%{group}«":"Не удалось удалить группу »%{group}«","Failed to delete %{groupCount} group":["Не удалось удалить %{groupCount} группу","Не удалось удалить %{groupCount} группы","Не удалось удалить группы - %{groupCount} шт.","Не удалось удалить группы - %{groupCount} шт."],"Delete group »%{group}«?":["Удалить группу »%{group}«?","Удалить %{groupCount} группы?","Удалить группы - %{groupCount} шт.?","Удалить группы - %{groupCount} шт.?"],"Delete":"Удалить","Are you sure you want to delete this group?":["Вы уверены, что хотите удалить эту группу?","Вы уверены, что хотите удалить %{groupCount} группы?","Вы уверены, что хотите удалить выбранные группы в количестве %{groupCount} шт.?","Вы уверены, что хотите удалить выбранные группы в количестве %{groupCount} шт.?"],"Add user \\"%{user}\\" to groups":["Добавить пользователя \\"%{user}\\" в группы","Добавить %{userCount} пользователей в группы","Добавить %{userCount} пользователей в группы","Добавить %{userCount} пользователей в группы"],"Add to groups":"Добавить в группы","New user":"Новый пользователь","Create user":"Создать пользователя","User \\"%{user}\\" was deleted successfully":"Пользователь \\"%{user}\\" был успешно удален","%{userCount} user was deleted successfully":["%{userCount} пользователь был успешно удален","%{userCount} было успешно удалено","Пользователи были успешно удалены - %{userCount}","Пользователи были успешно удалены - %{userCount}"],"Failed to delete user \\"%{user}\\"":"Не удалось удалить пользователя \\"%{user}\\"","Failed to delete %{userCount} user":["Не удалось удалить %{userCount} пользователя","Не удалось удалить %{userCount} пользователей","Не удалось удалить пользователей - %{userCount} шт.","Не удалось удалить пользователей - %{userCount} шт."],"Delete user \\"%{user}\\"?":["Удалить пользователя \\"%{user}\\"?","Удалить %{userCount} пользователей?","Удалить пользователей - %{userCount} шт.?","Удалить пользователей - %{userCount} шт.?"],"Are you sure you want to delete this user?":["Вы уверены, что хотите удалить этого пользователя?","Вы уверены, что хотите удалить %{userCount} выбранных пользователей?","Вы уверены, что хотите удалить выбранных пользователей в количестве %{userCount} шт.?","Вы уверены, что хотите удалить выбранных пользователей в количестве %{userCount} шт.?"],"Edit login for \\"%{user}\\"":["Изменить логин для \\"%{user}\\"","Изменить логин для %{userCount} пользователей","Изменить логин для пользователей - %{userCount} шт.","Изменить логин для пользователей - %{userCount} шт."],"Edit login":"Изменить логин","Change quota for user »%{name}«":"Изменить квоту для пользователя »%{name}«","Change quota for %{count} users":"Изменить квоту для %{count} пользователей","Quota will only be applied to users who logged in at least once.":"Квота будет применена только к пользователям, которые вошли в систему хотя бы один раз","Unaffected users":"Незатронутые пользователи","Edit quota":"Изменить квоту","Remove user \\"%{user}\\" from groups":["Удалить пользователя \\"%{user}\\" из групп","Удалить %{userCount} пользователей из групп","Удалить пользователей - %{userCount} шт. - из групп","Удалить пользователей - %{userCount} шт. - из групп"],"Remove from groups":"Удалить из групп","General":"Общее","Users":"Пользователи","Spaces":"Пространства","Admin Settings":"Настройки администратора","New":"Новый","Details":"Детали","Edit group":"Изменить группу","Filter groups":"Отфильтровать группы","Roles":"Роли","Filter roles":"Отфильтровать роли","Search users":"Поиск пользователей","Please specify a filter to see results":"Пожалуйста, укажите фильтр для просмотра результатов","Edit user":"Изменить пользователя"}`),fn={},hn={},bn={Search:"Hľadať",Password:"Heslo",Login:"Prihlásiť"},yn={},vn={Info:"Info",Edition:"Utgåva",Version:"Version","Select a resource from the left sidebar to manage it":"Välj en resurs från vänster sidofält för att hantera den","Group name":"Gruppnamn","Group was created successfully":"Gruppen skapades framgångsrikt","Failed to create group":"Det gick inte att skapa gruppen","Group name cannot be empty":"Gruppnamnet får inte vara tomt","Group name cannot exceed 255 characters":"Gruppnamnet får inte innehålla fler än 255 tecken",'Group "%{groupName}" already exists':'Gruppen "%{groupName}" finns redan',Search:"Sök","Select all groups":"Välj alla grupper",Avatar:"Avatar","Show details":"Visa detaljer",Edit:"Redigera","This group is read-only and can't be edited":"Denna grupp är skrivskyddad och kan inte redigeras",Members:"Medlemmar",Actions:"Åtgärder","%{groupCount} groups in total":"%{groupCount} grupper totalt","%{groupCount} matching groups":"%{groupCount} matchande grupper","Select %{ group }":"Välj %{ grupp }","Select a group to view details":"Välj en grupp för att visa detaljer","Overview of the information about the selected group":"Översikt över informationen om den valda gruppen","%{count} groups selected":"%{count} grupper valda","Failed to edit group":"Gruppredigering misslyckades","%{groupCount} member":["%{groupCount} medlem","%{groupCount} medlemmar"],"Filter members":"Filtrera medlemmar","No members found":"Inga medlemmar hittades","Custom role":"Anpassad roll","Select spaces":"Välj arbetsytor","Select all spaces":"Markera alla arbetsytor",Icon:"Ikon",Disabled:"Inaktiverad",Enabled:"Aktiverad","%{spaceCount} spaces in total":"%{spaceCount} platser totalt","%{spaceCount} matching spaces":"%{spaceCount} matchande arbetsytor",Name:"Namn",Status:"Status",Manager:"Líder","Total quota":"Total kvot","Used quota":"Använd kvot","Remaining quota":"Återstående kvot",Modified:"Ändrad",Unrestricted:"Obegränsad","Select %{ space }":"Välj %{ space }","Group assignment already added":["Gruppuppgift redan tillagd","Gruppuppgifter redan tillagda"],'Group assignment "%{group}" was added successfully':'Gruppuppgiften "%{group}" har lagts till',"%{groupAssignmentCount} group assignment was added successfully":["%{groupAssignmentCount} Gruppuppgiften har lagts till","%{groupAssignmentCount} Gruppuppdrag har lagts till utan problem"],'Failed to add group assignment "%{group}"':'Det gick inte att lägga till gruppuppgiften "%{group}"',"Failed to add %{groupAssignmentCount} group assignment":["Det gick inte att lägga till %{groupAssignmentCount} grupptilldelning","Det gick inte att lägga till %{groupAssignmentCount} gruppuppdrag"],"User name":"Användarnamn","First and last name":"För- och efternamn",Email:"E-post",Password:"Lösenord","User was created successfully":"Användaren har skapats","Failed to create user":"Kunde inte att skapa användare","User name cannot be empty":"Användarnamnet får inte vara tomt","User name cannot contain white spaces":"Användarnamnet får inte innehålla mellanslag","User name cannot exceed 255 characters":"Användarnamnet får inte överstiga 255 tecken","User name cannot contain special characters":"Användarnamnet får inte innehålla specialtecken","User name cannot start with a number":"Användarnamnet får inte börja med en siffra",'User "%{userName}" already exists':'Användaren "%{userName}" finns redan',"First and last name cannot be empty":"För- och efternamn får inte vara tomma","First and last name cannot exceed 255 characters":"För- och efternamn får inte överstiga 255 tecken","Please enter a valid email":"Vänligen ange en giltig e-postadress","Password cannot be empty":"Lösenord får inte vara tomt",Groups:"Grupper",Login:"Logga in","Select...":"Välj…","Your own login status will remain unchanged.":"Din egen inloggningsstatus förblir oförändrad.",Allowed:"Tillåten",Forbidden:"Förbjuden",'Login for user "%{user}" was edited successfully':'Inloggningen för användaren "%{user}" har redigerats',"%{userCount} user login was edited successfully":["%{userCount} användarinloggningen redigerades framgångsrikt","%{userCount} användarinloggningar redigerade framgångsrikt"],'Failed edit login for user "%{user}"':'Misslyckad redigeringsinloggning för användaren "%{user}"',"Failed to edit %{userCount} user login":["Det gick inte att redigera %{userCount} användarinloggning","Det gick inte att redigera %{userCount} användarinloggningar"],"Group assignment already removed":["Gruppuppgift redan borttagen","Gruppuppgifter redan borttagna"],'Group assignment "%{group}" was deleted successfully':'Gruppuppgiften "%{group}" har raderats',"%{groupAssignmentCount} group assignment was deleted successfully":["%{groupAssignmentCount} Grupptilldelningen har raderats","%{groupAssignmentCount} Gruppuppdrag har raderats utan problem"],'Failed to delete group assignment "%{group}"':'Det gick inte att ta bort grupptilldelningen "%{group}"',"Failed to delete %{groupAssignmentCount} group assignment":["Det gick inte att ta bort %{groupAssignmentCount} grupptilldelning","Det gick inte att ta bort %{groupAssignmentCount} grupptilldelningar"],"Select a user to view details":"Välj en användare för att visa detaljer","Overview of the information about the selected user":"Översikt över informationen om den valda användaren",Role:"Roll","User roles become available once the user has logged in for the first time.":"Användarrollerna blir tillgängliga när användaren har loggat in för första gången.","User role":"Användarroller",Quota:"Kvot","User quota becomes available once the user has logged in for the first time.":"Användarkvoten blir tillgänglig när användaren har loggat in för första gången.","No groups assigned.":"Inga grupper tilldelade.","%{count} users selected":"%{count} användare valda","No restriction":"Ingen begränsning","Personal quota":"Personlig kvot","To set an individual quota, the user needs to have logged in once.":"För att ställa in en individuell kvot måste användaren ha loggat in en gång.","Failed to edit user":"Det gick inte att redigera användaren","Select users":"Välj användare","Select all users":"Välj alla användare","%{userCount} users in total":"%{userCount} användare totalt","Select %{ user }":"Välj %{ användare }","New group":"Ny grupp","Create group":"Skapa grupp",'Group "%{group}" was deleted successfully':'Gruppen "%{group}" har raderats',"%{groupCount} group was deleted successfully":["%{groupCount} gruppen har raderats","%{groupCount} grupper har raderats"],"Failed to delete group »%{group}«":"Det gick inte att ta bort gruppen »%{group}«","Failed to delete %{groupCount} group":["Det gick inte att ta bort %{groupCount} grupp","Det gick inte att ta bort %{groupCount} grupper"],"Delete group »%{group}«?":["Radera gruppen »%{group}«?","Radera %{groupCount} grupper?"],Delete:"Ta bort","Are you sure you want to delete this group?":["Är du säker på att du vill ta bort denna grupp?","Är du säker på att du vill ta bort de %{groupCount} valda grupperna?"],'Add user "%{user}" to groups':['Lägg till användaren "%{user}" till grupper',"Lägg till %{userCount} användare till grupper"],"Add to groups":"Lägg till i grupper","New user":"Ny användare","Create user":"Skapa användare",'User "%{user}" was deleted successfully':'Användaren "%{user}" har raderats',"%{userCount} user was deleted successfully":["%{userCount} användaren har raderats","%{userCount} användare har raderats"],'Failed to delete user "%{user}"':'Det gick inte att ta bort användaren "%{user}"',"Failed to delete %{userCount} user":["Det gick inte att ta bort %{userCount} användare","Det gick inte att ta bort %{userCount} användare"],'Delete user "%{user}"?':['Radera användaren "%{user}"?',"Radera %{userCount} användare?"],"Are you sure you want to delete this user?":["Är du säker på att du vill ta bort den här användaren?","Är du säker på att du vill ta bort de %{userCount} valda användarna?"],'Edit login for "%{user}"':['Redigera inloggning för "%{user}"',"Redigera inloggning för %{userCount} användare"],"Edit login":"Redigera inloggning","Change quota for user »%{name}«":"Ändra kvot för användare »%{name}«","Change quota for %{count} users":"Ändra kvot för %{count} användare","Quota will only be applied to users who logged in at least once.":"Kvoten gäller endast användare som har loggat in minst en gång.","Unaffected users":"Oberoende användare","Edit quota":"Redigera kvot",'Remove user "%{user}" from groups':['Ta bort användaren "%{user}" från grupper',"Ta bort %{userCount} användare från grupper"],"Remove from groups":"Ta bort från grupper",General:"Allmänt",Users:"Användare",Spaces:"Arbetsytor","Admin Settings":"Administrationsinställningar",New:"Ny",Details:"Detaljer","Edit group":"Ändra grupp","Filter groups":"Filtrera grupper",Roles:"Roller","Filter roles":"Filtrera roller","Search users":"Sök deltagare","Please specify a filter to see results":"Ange ett filter för att se resultaten","Edit user":"Redigera användare"},Cn={},Sn={},wn={},An={},kn={Search:"Пошук",Details:"Деталі"},Nn={Info:"信息",Edition:"版本",Version:"版本号","Select a resource from the left sidebar to manage it":"从左侧边栏选择资源进行管理","Group name":"群组名称","Group was created successfully":"群组已成功创建","Failed to create group":"创建群组失败","Group name cannot be empty":"群组名称不能为空","Group name cannot exceed 255 characters":"群组名称不能超过255个字符",'Group "%{groupName}" already exists':'群组"%{groupName}"已存在',Search:"搜索","Select all groups":"选择所有群组","Show details":"显示详情",Edit:"编辑","This group is read-only and can't be edited":"此群组为只读,无法编辑",Members:"成员",Actions:"操作","%{groupCount} groups in total":"总计%{groupCount}个群组","%{groupCount} matching groups":"匹配组%{groupCount}","Select %{ group }":"选择%{group}","Select a group to view details":"选择群组以查看详情","Overview of the information about the selected group":"所选群组的信息概览","%{count} groups selected":"已选择%{count}个群组","Failed to edit group":"编辑群组失败","%{groupCount} member":"%{groupCount}名成员","Filter members":"筛选成员","No members found":"未找到成员","Custom role":"自定义角色","Select spaces":"选择空间","Select all spaces":"选择所有空间",Icon:"图标",Disabled:"已禁用",Enabled:"已启用","%{spaceCount} spaces in total":"总计%{spaceCount}个空间","%{spaceCount} matching spaces":"找到%{spaceCount}个匹配的空间",Name:"名称",Status:"状态",Manager:"管理员","Total quota":"总配额","Used quota":"已用配额","Remaining quota":"剩余配额",Modified:"修改时间",Unrestricted:"无限制","Select %{ space }":"选择%{space}","Group assignment already added":"群组分配已添加",'Group assignment "%{group}" was added successfully':'群组分配"%{group}"已成功添加',"%{groupAssignmentCount} group assignment was added successfully":"已成功添加%{groupAssignmentCount}个群组分配",'Failed to add group assignment "%{group}"':'添加群组分配"%{group}"失败',"Failed to add %{groupAssignmentCount} group assignment":"添加%{groupAssignmentCount}个群组分配失败","User name":"用户名","First and last name":"姓名",Email:"邮箱",Password:"密码","User was created successfully":"用户已成功创建","Failed to create user":"创建用户失败","User name cannot be empty":"用户名不能为空","User name cannot contain white spaces":"用户名不能包含空格","User name cannot exceed 255 characters":"用户名不能超过255个字符","User name cannot contain special characters":"用户名不能包含特殊字符","User name cannot start with a number":"用户名不能以数字开头",'User "%{userName}" already exists':'用户"%{userName}"已存在',"First and last name cannot be empty":"姓名不能为空","First and last name cannot exceed 255 characters":"姓名不能超过255个字符","Please enter a valid email":"请输入有效的邮箱地址","Password cannot be empty":"密码不能为空",Groups:"群组",Login:"登录状态","Select...":"选择...","Your own login status will remain unchanged.":"您自身的登录状态将保持不变。",Allowed:"允许",Forbidden:"禁止",'Login for user "%{user}" was edited successfully':'用户"%{user}"的登录状态已成功编辑',"%{userCount} user login was edited successfully":"已成功编辑%{userCount}个用户登录",'Failed edit login for user "%{user}"':'编辑用户"%{user}"登录失败',"Failed to edit %{userCount} user login":"编辑%{userCount}个用户登录失败","Group assignment already removed":"群组分配已移除",'Group assignment "%{group}" was deleted successfully':'群组分配"%{group}"已成功删除',"%{groupAssignmentCount} group assignment was deleted successfully":"已成功删除%{groupAssignmentCount}个群组分配",'Failed to delete group assignment "%{group}"':'删除群组分配"%{group}"失败',"Failed to delete %{groupAssignmentCount} group assignment":"删除%{groupAssignmentCount}个群组分配失败","Select a user to view details":"选择用户以查看详情","Overview of the information about the selected user":"所选用户的信息概览",Role:"角色","User roles become available once the user has logged in for the first time.":"用户角色将在用户首次登录后生效","User role":"用户角色",Quota:"配额","User quota becomes available once the user has logged in for the first time.":"用户配额将在用户首次登录后生效","No groups assigned.":"未分配群组","%{count} users selected":"已选择%{count}个用户","No restriction":"无限制","Personal quota":"个人配额","To set an individual quota, the user needs to have logged in once.":"要设置个人配额,用户需要至少登录一次","Failed to edit user":"编辑用户失败","Select users":"选择用户","Select all users":"选择所有用户","%{userCount} users in total":"总计%{userCount}个用户","Select %{ user }":"选择%{user}","New group":"新建群组","Create group":"创建群组",'Group "%{group}" was deleted successfully':'群组"%{group}"已成功删除',"%{groupCount} group was deleted successfully":"已成功删除%{groupCount}个群组","Failed to delete group »%{group}«":"删除组»%{group}«失败","Failed to delete %{groupCount} group":"删除%{groupCount}个群组失败","Delete group »%{group}«?":"确定删除组%{groupCount} ?",Delete:"删除","Are you sure you want to delete this group?":"确定要删除此群组吗?",'Add user "%{user}" to groups':'添加用户"%{user}"到群组',"Add to groups":"添加到群组","New user":"新建用户","Create user":"创建用户",'User "%{user}" was deleted successfully':'用户"%{user}"已成功删除',"%{userCount} user was deleted successfully":"已成功删除%{userCount}个用户",'Failed to delete user "%{user}"':'删除用户"%{user}"失败',"Failed to delete %{userCount} user":"删除%{userCount}个用户失败",'Delete user "%{user}"?':'删除用户"%{user}"?',"Are you sure you want to delete this user?":"确定要删除此用户吗?",'Edit login for "%{user}"':'编辑用户"%{user}"的登录',"Edit login":"编辑登录","Change quota for user »%{name}«":"修改用户»%{name}«的配额","Change quota for %{count} users":"修改%{count}个用户的配额","Quota will only be applied to users who logged in at least once.":"配额仅对至少登录过一次的用户生效","Unaffected users":"未受影响的用户","Edit quota":"编辑配额",'Remove user "%{user}" from groups':'将用户"%{user}"从群组中移除',"Remove from groups":"从群组中移除",General:"概览",Users:"用户",Spaces:"空间","Admin Settings":"管理员设置",New:"新建",Details:"详细信息","Edit group":"编辑群组","Filter groups":"筛选群组",Roles:"角色","Filter roles":"筛选角色","Search users":"搜索用户","Please specify a filter to see results":"请指定筛选条件以查看结果","Edit user":"编辑用户"},Un={ar:Qr,af:Hr,cs:Wr,bg:Kr,bs:Zr,de:Yr,el:Jr,gl:Xr,et:en,he:tn,es:sn,fr:rn,hr:nn,id:on,ja:an,nl:un,it:ln,pl:dn,pt:cn,ka:pn,ko:gn,ru:mn,si:fn,ro:hn,sk:bn,sq:yn,sv:vn,sr:Cn,ta:Sn,tr:wn,ug:An,uk:kn,zh:Nn},dt="50",is="admin-settings",Gn=["20","50","100","250"],Fn=ee({components:{SideBar:Cr,AppLoadingSpinner:ot,BatchActions:pr,ViewOptions:cr,MobileNav:dr},props:{breadcrumbs:{required:!0,type:Array},sideBarAvailablePanels:{required:!1,type:Array,default:()=>[]},sideBarPanelContext:{required:!1,type:Object,default:()=>({})},loading:{required:!1,type:Boolean,default:!1},sideBarLoading:{required:!1,type:Boolean,default:!1},showViewOptions:{type:Boolean,required:!1,default:!1},showBatchActions:{type:Boolean,required:!1,default:!1},batchActionItems:{type:Array,required:!1,default:()=>[]},batchActions:{type:Array,required:!1,default:()=>[]},showAppBar:{type:Boolean,required:!1,default:!0}},setup(){const e=xe(),{isSideBarOpen:t}=ve(e),r=Ie("appBarRef"),a=V(!1),{isSticky:n}=rt(),m=()=>{a.value=s(t)?window.innerWidth<=1600:window.innerWidth<=1200},l=new ResizeObserver(m);return he(r,i=>{i&&l.observe(s(r))},{immediate:!0}),Le(()=>{s(r)&&l.unobserve(s(r))}),{isMobileWidth:et("isMobileWidth"),appBarRef:r,limitedScreenSpace:a,isSideBarOpen:t,...vr({applicationId:"admin-settings"}),perPageDefault:dt,paginationOptions:Gn,isSticky:n}}}),Dn={class:"flex app-content size-full rounded-l-xl"},En={class:"admin-settings-wrapper flex w-full flex-1 h-full flex-nowrap sm:flex-wrap"},$n={id:"admin-settings-view-wrapper",class:"relative grid grid-cols-1 flex-1 focus:outline-0 h-full overflow-y-auto gap-0"},Pn={id:"admin-settings-view",class:"outline-0 z-0 flex flex-col"},qn={class:"flex justify-between items-center h-13"},zn={class:"flex"},xn={key:0,class:"flex items-center mt-1 min-h-10"};function Mn(e,t,r,a,n,m){const l=x("app-loading-spinner"),i=x("oc-breadcrumb"),o=x("mobile-nav"),p=x("view-options"),u=x("batch-actions"),f=x("side-bar");return k(),O("main",Dn,[e.loading?(k(),Z(l,{key:0})):(k(),O(ye,{key:1},[w("div",En,[w("div",$n,[w("div",Pn,[w("div",{id:"admin-settings-app-bar",ref:"appBarRef",class:Vt(["pb-2 px-4 top-0 z-20 bg-role-surface",{sticky:e.isSticky}])},[w("div",qn,[e.isMobileWidth?oe("",!0):(k(),Z(i,{key:0,id:"admin-settings-breadcrumb",items:e.breadcrumbs,"mobile-breakpoint":e.isSideBarOpen?"md":"sm"},null,8,["items","mobile-breakpoint"])),t[0]||(t[0]=N()),E(o),t[1]||(t[1]=N()),w("div",zn,[e.showViewOptions?(k(),Z(p,{key:0,"has-hidden-files":!1,"has-file-extensions":!1,"has-pagination":!0,"pagination-options":e.paginationOptions,"per-page-default":e.perPageDefault,"per-page-storage-prefix":"admin-settings"},null,8,["pagination-options","per-page-default"])):oe("",!0)])]),t[3]||(t[3]=N()),e.showAppBar?(k(),O("div",xn,[qe(e.$slots,"topbarActions",{limitedScreenSpace:e.limitedScreenSpace,class:"flex-1 flex flex-start"}),t[2]||(t[2]=N()),e.showBatchActions?(k(),Z(u,{key:0,actions:e.batchActions,"action-options":{resources:e.batchActionItems},"limited-screen-space":e.limitedScreenSpace},null,8,["actions","action-options","limited-screen-space"])):oe("",!0)])):oe("",!0)],2),t[4]||(t[4]=N()),qe(e.$slots,"mainContent")])])]),t[5]||(t[5]=N()),e.isSideBarOpen?(k(),Z(f,{key:0,"available-panels":e.sideBarAvailablePanels,"panel-context":e.sideBarPanelContext,loading:e.sideBarLoading},{header:M(()=>[qe(e.$slots,"sideBarHeader")]),_:3},8,["available-panels","panel-context","loading"])):oe("",!0)],64))])}const ct=ge(Fn,[["render",Mn]]),Rn=ee({name:"InfoSection",components:{VersionCheck:Ar},setup(){const e=Ue(),{$gettext:t}=re();let r="",a="",n="";const m=e.status;return m&&m.versionstring&&(r=m.product||"OpenCloud",a=m.productversion||m.versionstring,n=m.edition),{backendProductName:r,backendVersion:a,backendEdition:n}}}),On=["textContent"],jn={class:"details-list grid grid-cols-[auto_minmax(0,1fr)]"},In=["textContent"],Tn=["textContent"],Vn=["textContent"],Bn={class:"flex flex-col"},Ln=["textContent"];function _n(e,t,r,a,n,m){const l=x("version-check");return k(),O("div",null,[w("h2",{class:"py-2",textContent:P(e.$gettext("Info"))},null,8,On),t[4]||(t[4]=N()),w("dl",jn,[e.backendEdition?(k(),O(ye,{key:0},[w("dt",{textContent:P(e.$gettext("Edition"))},null,8,In),t[0]||(t[0]=N()),w("dd",{textContent:P(e.backendEdition)},null,8,Tn)],64)):oe("",!0),t[2]||(t[2]=N()),w("dt",{class:"flex items-start",textContent:P(e.$gettext("Version"))},null,8,Vn),t[3]||(t[3]=N()),w("dd",null,[w("div",Bn,[w("span",{textContent:P(e.backendVersion)},null,8,Ln),t[1]||(t[1]=N()),E(l)])])])])}const Qn=ge(Rn,[["render",_n]]),Hn=ee({name:"DetailsPanel"}),Wn={id:"oc-trash-no-selection",class:"text-center mt-12"},Kn=["textContent"];function Zn(e,t,r,a,n,m){const l=x("oc-icon");return k(),O("div",Wn,[E(l,{size:"xxlarge",name:"settings-4","fill-type":"fill"}),t[0]||(t[0]=N()),w("p",{textContent:P(e.$gettext("Select a resource from the left sidebar to manage it"))},null,8,Kn)])}const Yn=ge(Hn,[["render",Zn]]),Jn={class:"px-4"},ps=ee({__name:"General",setup(e){const{$gettext:t}=re(),r=[{name:"DetailsPanel",icon:"settings-4",title:()=>t("Details"),component:Yn,isRoot:()=>!0,isVisible:()=>!0}];return(a,n)=>(k(),Z(ct,{ref:"template",breadcrumbs:[{text:s(t)("General")}],"show-app-bar":!1,"side-bar-available-panels":r},{mainContent:M(()=>[w("div",Jn,[E(Qn)])]),_:1},8,["breadcrumbs"]))}}),Re=Bt("userSettings",()=>{const e=V([]),t=V([]);return{users:e,setUsers:o=>{e.value=o},upsertUser:o=>{const p=s(e).find(({id:u})=>u===o.id);if(p){Object.assign(p,o);return}s(e).push(o)},removeUsers:o=>{e.value=s(e).filter(p=>!o.find(({id:u})=>u===p.id))},reset:()=>{e.value=[],t.value=[]},selectedUsers:t,addSelectedUser:o=>{s(t).push(o)},setSelectedUsers:o=>{t.value=o}}}),us=(e,t,r,a,n)=>{const{scrollToResource:m}=kr();e.bindKeyAction({primary:Oe.ArrowUp},()=>l(!0)),e.bindKeyAction({primary:Oe.ArrowDown},()=>l()),e.bindKeyAction({modifier:mt.Shift,primary:Oe.ArrowUp},()=>i()),e.bindKeyAction({modifier:mt.Shift,primary:Oe.ArrowDown},()=>o()),e.bindKeyAction({modifier:mt.Ctrl,primary:Oe.A},()=>p()),e.bindKeyAction({primary:Oe.Space},()=>{const{lastSelectedRow:y,lastSelectedRowIndex:c}=b();c===-1?r.value.push(y):r.value=s(r).filter(d=>d.id!==y.id)}),e.bindKeyAction({primary:Oe.Esc},()=>{e.resetSelectionCursor(),r.value=[]});const l=(y=!1)=>{const c=s(n)?u(y):f();if(c===-1)return;const d=Ae(t.value,h=>h.id===c.id);gt(c.id),e.resetSelectionCursor(),r.value=[c],a.value=d,n.value=String(c.id),m(c.id,{topbarElement:"admin-settings-app-bar"})},i=()=>{const y=u(!0);if(y===-1)return;const c=Ae(t.value,d=>d.id===y.id);if(s(e.selectionCursor)>0){const{lastSelectedRow:d,lastSelectedRowIndex:h}=b();h===-1?r.value.push(d):r.value=s(r).filter(G=>G.id!==d.id)}else r.value.push(y);gt(y.id),a.value=c,n.value=String(y.id),e.selectionCursor.value=s(e.selectionCursor)-1,m(y.id,{topbarElement:"admin-settings-app-bar"})},o=()=>{const y=u(!1);if(y===-1)return;const c=Ae(t.value,d=>d.id===y.id);if(s(e.selectionCursor)<0){const d=It(t.value,G=>G.id===n.value);Ae(s(r),G=>G.id===n.value)===-1?r.value.push(d):r.value=s(r).filter(G=>G.id!==d.id)}else r.value.push(y);gt(y.id),a.value=c,n.value=String(y.id),e.selectionCursor.value=s(e.selectionCursor)+1,m(y.id,{topbarElement:"admin-settings-app-bar"})},p=()=>{e.resetSelectionCursor(),r.value=[...s(t)]},u=(y=!1)=>{const c=t.value.findIndex(h=>h.id===n.value);if(c===-1)return-1;const d=c+(y?-1:1);return d<0||d>=t.value.length?-1:t.value[d]},f=()=>t.value.length?t.value[0]:-1,b=()=>{const y=It(t.value,d=>d.id===n.value),c=Ae(s(r),d=>d.id===n.value);return{lastSelectedRow:y,lastSelectedRowIndex:c}}},ls=(e,t,r,a,n)=>{let m,l;const i=p=>{const u=Ae(s(r),{id:p.id});u>=0?r.value=s(r).filter(f=>f.id!=p.id):s(r).push(p),e.resetSelectionCursor(),a.value=u>=0?u:s(r).length-1,n.value=String(p.id)},o=({resource:p,skipTargetSelection:u})=>{const f=document.querySelector(`[data-item-id='${p.id}']`),b=f?.closest("tr")||f?.parentElement,y=Object.values(b.parentNode.children),c=y.find(S=>S.getAttribute("data-item-id")===s(n)),d=y.find(S=>S.getAttribute("data-item-id")===p.id);let h=y.indexOf(c);h=h===-1?0:h;const G=y.indexOf(d),$=Math.min(h,G),U=Math.max(h,G);for(let S=$;S<=U;S++){const D=y[S].getAttribute("data-item-id");if(u&&D===p.id)continue;if(Ae(s(r),{id:D})===-1){const X=It(t.value,{id:D});s(r).push(X)}}a.value=Ae(t.value,{id:p.id}),n.value=String(p.id),e.resetSelectionCursor()};ze(()=>{m=fe.subscribe("app.resources.list.clicked.meta",i),l=fe.subscribe("app.resources.list.clicked.shift",o)}),Le(()=>{fe.unsubscribe("app.resources.list.clicked.meta",m),fe.unsubscribe("app.resources.list.clicked.shift",l)})},Xn=ee({name:"UsersList",components:{UserAvatar:nt,AppLoadingSpinner:ot,ContextMenuQuickAction:Ht,Pagination:Qt},props:{roles:{type:Array,required:!0},isLoading:{type:Boolean,default:!1}},setup(e){const{$gettext:t}=re(),{isSticky:r}=rt(),{openSideBar:a,openSideBarPanel:n}=xe(),m=Ie("tableRef"),l=V({}),i=V("onPremisesSamAccountName"),o=V(Te.Asc),{y:p}=Wt("#admin-settings-app-bar"),u=V(0),f=V(),b=Ue(),{graphUsersEditLoginAllowedDisabled:y}=ve(b),c=Re(),{users:d,selectedUsers:h}=ve(c),G=z=>s(h).some(K=>K.id===z.id),$=z=>{if(u.value=Ae(s(d),g=>g.id===z.id),f.value=z.id,Se.resetSelectionCursor(),!s(h).find(g=>g.id===z.id))return c.addSelectedUser(z);c.setSelectedUsers(s(h).filter(g=>g.id!==z.id))},U=()=>{c.setSelectedUsers([])},S=z=>{c.setSelectedUsers(z)},D=z=>{G(z)||$(z),a()},j=z=>{G(z)||$(z),n("EditPanel")},X=z=>{G(z)||$(z),n("UserAssignmentsPanel")},ae=z=>{const K=z[0],g=z[1],v=(g?.target).getAttribute("type")==="checkbox";if(g?.target?.closest("div")?.id!=="oc-files-context-menu"){if(g?.metaKey)return fe.publish("app.resources.list.clicked.meta",K);if(g?.shiftKey)return fe.publish("app.resources.list.clicked.shift",{resource:K,skipTargetSelection:v});v||(U(),$(K))}},se=(z,K)=>{s(l)[K.id]?.show({event:z})},T=(z,K)=>{z.preventDefault(),G(K)||c.setSelectedUsers([K]),s(l)[K.id]?.show({event:z,useMouseAnchor:!0})},ne=z=>{const K=z.appRoleAssignments[0];return t(e.roles.find(g=>g.id===K?.appRoleId)?.displayName||"")||"-"},ie=(z,K,g)=>[...z].sort((v,A)=>{let B,H;switch(K){case"role":B=ne(v),H=ne(A);break;case"accountEnabled":B=("accountEnabled"in v?v.accountEnabled:!0).toString(),H=("accountEnabled"in A?A.accountEnabled:!0).toString();break;default:B=v[K].toString()||"",H=A[K].toString()||""}return g?H.localeCompare(B):B.localeCompare(H)}),ce=F(()=>ie(s(d),s(i),s(o)===Te.Desc)),{items:pe,page:Ce,total:de}=Kt({items:ce,perPageDefault:dt,perPageStoragePrefix:is}),Se=es();us(Se,pe,h,u,f),ls(Se,pe,h,u,f);const me=F(()=>{const z=[{name:"select",title:"",type:"slot",width:"shrink",headerType:"slot"},{name:"avatar",title:"",type:"slot",width:"shrink",headerType:"slot",sortable:!1},{name:"onPremisesSamAccountName",title:t("User name"),sortable:!0},{name:"displayName",title:t("First and last name"),sortable:!0,tdClass:"mark-element"},{name:"mail",title:t("Email"),sortable:!0},{name:"role",title:t("Role"),type:"slot",sortable:!0}];return y.value||z.push({name:"accountEnabled",title:t("Login"),type:"slot",sortable:!0}),z.push({name:"actions",title:t("Actions"),sortable:!1,type:"slot",alignH:"right"}),z});let _;ze(async()=>{await Lt(),_=new _e(".mark-element")});const Q=Ne("q_displayName");return he([Q,pe,m],()=>{_?.unmark();const z=Ge(s(Q));z&&_?.mark(z,{element:"span",className:"mark-highlight"})}),{showDetails:D,showEditPanel:j,showUserAssigmentPanel:X,isUserSelected:G,rowClicked:ae,contextMenuDrops:l,showContextMenuOnBtnClick:se,showContextMenuOnRightClick:T,fileListHeaderY:p,getRoleDisplayNameByUser:ne,items:ce,sortBy:i,sortDir:o,paginatedItems:pe,currentPage:Ce,totalPages:de,orderBy:ie,selectedUsers:h,selectUser:$,selectUsers:S,unselectAllUsers:U,users:d,isSticky:r,tableRef:m,fields:me}},computed:{allUsersSelected(){return this.paginatedItems.length===this.selectedUsers.length},footerTextTotal(){return this.$gettext("%{userCount} users in total",{userCount:this.users.length.toString()})},highlighted(){return this.selectedUsers.map(e=>e.id)}},methods:{handleSort(e){this.sortBy=e.sortBy,this.sortDir=e.sortDir},getSelectUserLabel(e){return this.$gettext("Select %{ user }",{user:e.displayName})}}}),eo={class:"user-filters flex justify-between flex-wrap items-end mx-4 mb-4"},to={class:"sr-only"},so={class:"sr-only"},ro={key:0,class:"flex items-center"},no=["textContent"],oo={key:1,class:"flex items-center"},ao=["textContent"],io={class:"text-center w-full my-2"},uo={class:"text-role-on-surface-variant"};function lo(e,t,r,a,n,m){const l=x("app-loading-spinner"),i=x("oc-checkbox"),o=x("user-avatar"),p=x("oc-icon"),u=x("oc-button"),f=x("context-menu-quick-action"),b=x("pagination"),y=x("oc-table"),c=tt("oc-tooltip");return k(),O(ye,null,[w("div",eo,[qe(e.$slots,"filter")]),t[13]||(t[13]=N()),e.isLoading?(k(),Z(l,{key:0})):(k(),O(ye,{key:1},[e.users.length?(k(),Z(y,{key:1,ref:"tableRef",class:"users-table","sort-by":e.sortBy,"sort-dir":e.sortDir,fields:e.fields,data:e.paginatedItems,highlighted:e.highlighted,sticky:e.isSticky,"header-position":e.fileListHeaderY,hover:!0,"padding-x":"medium",onSort:e.handleSort,onContextmenuClicked:t[1]||(t[1]=(d,h,G)=>e.showContextMenuOnRightClick(h,G)),onHighlight:e.rowClicked},{selectHeader:M(()=>[w("span",to,P(e.$gettext("Select users")),1),t[2]||(t[2]=N()),E(i,{size:"large",label:e.$gettext("Select all users"),"model-value":e.allUsersSelected,"label-hidden":!0,"onUpdate:modelValue":t[0]||(t[0]=d=>e.allUsersSelected?e.unselectAllUsers():e.selectUsers(e.paginatedItems))},null,8,["label","model-value"])]),select:M(({item:d})=>[E(i,{size:"large","model-value":e.isUserSelected(d),option:d,label:e.getSelectUserLabel(d),"label-hidden":!0,"onUpdate:modelValue":h=>e.selectUser(d),onClick:Ve(h=>e.rowClicked([d,h]),["stop"])},null,8,["model-value","option","label","onUpdate:modelValue","onClick"])]),avatarHeader:M(()=>[w("span",so,P(e.$gettext("Avatar")),1)]),avatar:M(({item:d})=>[E(o,{"user-id":d.id,"user-name":d.displayName},null,8,["user-id","user-name"])]),role:M(({item:d})=>[d.appRoleAssignments?(k(),O(ye,{key:0},[N(P(e.getRoleDisplayNameByUser(d)),1)],64)):oe("",!0)]),accountEnabled:M(({item:d})=>[d.accountEnabled===!1?(k(),O("span",ro,[E(p,{name:"stop-circle","fill-type":"line",class:"mr-2"}),w("span",{textContent:P(e.$gettext("Forbidden"))},null,8,no)])):(k(),O("span",oo,[E(p,{name:"play-circle","fill-type":"line",class:"mr-2"}),w("span",{textContent:P(e.$gettext("Allowed"))},null,8,ao)]))]),actions:M(({item:d})=>[De((k(),Z(u,{"aria-label":e.$gettext("Show details"),appearance:"raw",class:"ml-1 quick-action-button p-1 users-table-btn-details",onClick:h=>e.showDetails(d)},{default:M(()=>[E(p,{name:"information","fill-type":"line"})]),_:1},8,["aria-label","onClick"])),[[c,e.$gettext("Show details")]]),t[3]||(t[3]=N()),De((k(),Z(u,{"aria-label":e.$gettext("Edit"),appearance:"raw",class:"ml-1 quick-action-button p-1 users-table-btn-edit",onClick:h=>e.showEditPanel(d)},{default:M(()=>[E(p,{name:"pencil","fill-type":"line"})]),_:1},8,["aria-label","onClick"])),[[c,e.$gettext("Edit")]]),t[4]||(t[4]=N()),E(f,{ref:h=>e.contextMenuDrops[d.id]=h?.drop,item:d,title:d.displayName,class:"users-table-btn-action-dropdown",onQuickActionClicked:h=>e.showContextMenuOnBtnClick(h,d)},{contextMenu:M(()=>[qe(e.$slots,"contextMenu",{user:d})]),_:2},1032,["item","title","onQuickActionClicked"])]),footer:M(()=>[E(b,{pages:e.totalPages,"current-page":e.currentPage},null,8,["pages","current-page"]),t[5]||(t[5]=N()),w("div",io,[w("p",uo,P(e.footerTextTotal),1)])]),_:3},8,["sort-by","sort-dir","fields","data","highlighted","sticky","header-position","onSort","onHighlight"])):qe(e.$slots,"noResults",{key:0})],64))],64)}const co=ge(Xn,[["render",lo]]),po={id:"user-group-select-form"},go={class:"flex justify-center"},mo={class:"flex"},fo={class:"flex justify-center"},ds=ee({__name:"GroupSelect",props:{selectedGroups:{},groupOptions:{},requiredMark:{type:Boolean,default:!1}},emits:["selectedOptionChange"],setup(e,{emit:t}){const r=t,a=V([]),n=l=>{a.value=l,r("selectedOptionChange",s(a))},m=F(()=>e.selectedGroups);return he(m,()=>{a.value=e.selectedGroups.map(l=>({...l,readonly:l.groupTypes?.includes("ReadOnly")})).sort((l,i)=>i.readonly-l.readonly)},{immediate:!0}),(l,i)=>{const o=x("oc-avatar"),p=x("oc-select");return k(),O("div",po,[E(p,tr({"model-value":a.value,class:"mb-2",multiple:!0,options:e.groupOptions,"option-label":"displayName",label:l.$gettext("Groups"),"fix-message-line":!0},l.$attrs,{"required-mark":e.requiredMark,"onUpdate:modelValue":n}),{"selected-option":M(({displayName:u,id:f})=>[w("span",go,[E(o,{userid:f,"user-name":u,width:16,class:"flex self-center mr-2"},null,8,["userid","user-name"]),i[0]||(i[0]=N()),w("span",null,P(u),1)])]),option:M(({displayName:u,id:f})=>[w("div",mo,[w("span",fo,[E(o,{userid:f,"user-name":u,width:16,class:"flex self-center mr-2"},null,8,["userid","user-name"]),i[1]||(i[1]=N()),w("span",null,P(u),1)])])]),_:1},16,["model-value","options","label","required-mark"])])}}}),ho=ee({__name:"AddToGroupsModal",props:{modal:{},groups:{},users:{}},emits:["update:confirmDisabled"],setup(e,{expose:t,emit:r}){const a=r,{showMessage:n,showErrorMessage:m}=Ee(),l=ke(),{$gettext:i,$ngettext:o}=re(),p=Re(),u=V([]),f=c=>{u.value=c},b=F(()=>e.users.length>1?e.groups:e.groups.filter(c=>!e.users.some(d=>d.memberOf.some(({id:h})=>h===c.id))));return he(u,()=>{a("update:confirmDisabled",!s(u).length)},{immediate:!0}),t({onConfirm:async()=>{const c=l.graphAuthenticated,d=[],h=s(u).reduce((S,D)=>{for(const j of e.users)j.memberOf.find(X=>X.id===D.id)||(S.push(c.groups.addMember(D.id,j.id)),d.includes(j.id)||d.push(j.id));return S},[]);if(!h.length){const S=o("Group assignment already added","Group assignments already added",e.users.length*s(u).length);n({title:S});return}const G=await Promise.allSettled(h),$=G.filter(Qe);if($.length){const S=$.length===1&&s(u).length===1&&e.users.length===1?i('Group assignment "%{group}" was added successfully',{group:s(u)[0].displayName}):o("%{groupAssignmentCount} group assignment was added successfully","%{groupAssignmentCount} group assignments were added successfully",$.length,{groupAssignmentCount:$.length.toString()});n({title:S})}const U=G.filter(He);if(U.length){U.forEach(console.error);const S=U.length===1&&s(u).length===1&&e.users.length===1?i('Failed to add group assignment "%{group}"',{group:s(u)[0].displayName}):o("Failed to add %{groupAssignmentCount} group assignment","Failed to add %{groupAssignmentCount} group assignments",U.length,{groupAssignmentCount:U.length.toString()});m({title:S,errors:U.map(D=>D.reason)})}try{(await Promise.all(d.map(D=>c.users.getUser(D)))).forEach(D=>{p.upsertUser(D)})}catch(S){console.error(S)}}}),(c,d)=>(k(),Z(ds,{"selected-groups":u.value,"group-options":b.value,"position-fixed":!0,"required-mark":"",onSelectedOptionChange:f},null,8,["selected-groups","group-options"]))}}),bo=({groups:e})=>{const{dispatchModal:t}=Me(),{$gettext:r,$ngettext:a}=re(),n=Ue(),m=({resources:i})=>{t({title:a('Add user "%{user}" to groups',"Add %{userCount} users to groups ",i.length,{user:i[0].displayName,userCount:i.length.toString()}),customComponent:ho,customComponentAttrs:()=>({users:i,groups:s(e)})})};return{actions:F(()=>[{name:"add-to-groups",icon:"add",class:"oc-users-actions-add-to-groups-trigger",label:()=>r("Add to groups"),isVisible:({resources:i})=>n.graphUsersReadOnlyAttributes.includes("user.memberOf")?!1:i.length>0,handler:m}])}};var bt={},gs;function yo(){if(gs)return bt;gs=1;var e=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;return bt.validate=function(t){if(!t||t.length>254)return!1;var r=e.test(t);if(!r)return!1;var a=t.split("@");if(a[0].length>64)return!1;var n=a[1].split(".");return!n.some(function(m){return m.length>63})},bt}var _s=yo();const vo=ee({name:"CreateUserModal",props:{modal:{type:Object,required:!0}},emits:["confirm","update:confirmDisabled"],setup(e,{emit:t,expose:r}){const{showMessage:a,showErrorMessage:n}=Ee(),m=ke(),{$gettext:l}=re(),i=Re(),o=V({userName:{errorMessage:"",valid:!1},displayName:{errorMessage:"",valid:!1},email:{errorMessage:"",valid:!1},password:{errorMessage:"",valid:!1}}),p=V({onPremisesSamAccountName:"",displayName:"",mail:"",passwordProfile:{password:""}}),u=F(()=>Object.keys(s(o)).map(b=>!!s(o)[b].valid).includes(!1));he(u,()=>{t("update:confirmDisabled",s(u))},{immediate:!0});const f=async()=>{if(s(u))return Promise.reject();try{const b=m.graphAuthenticated,{id:y}=await b.users.createUser(s(p)),c=await b.users.getUser(y);a({title:l("User was created successfully")}),i.upsertUser(c)}catch(b){console.error(b),n({title:l("Failed to create user"),errors:[b]})}};return r({onConfirm:f}),{clientService:m,formData:o,user:p,isFormInvalid:u,onConfirm:f}},methods:{async validateUserName(){if(this.user.onPremisesSamAccountName.trim()==="")return this.formData.userName.errorMessage=this.$gettext("User name cannot be empty"),this.formData.userName.valid=!1,!1;if(this.user.onPremisesSamAccountName.includes(" "))return this.formData.userName.errorMessage=this.$gettext("User name cannot contain white spaces"),this.formData.userName.valid=!1,!1;if(this.user.onPremisesSamAccountName.length>255)return this.formData.userName.errorMessage=this.$gettext("User name cannot exceed 255 characters"),this.formData.userName.valid=!1,!1;const e="^[a-zA-Z_][a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]*(@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)*$";if(!new RegExp(e).test(this.user.onPremisesSamAccountName))return this.formData.userName.errorMessage=this.$gettext("User name cannot contain special characters"),this.formData.userName.valid=!1,!1;if(this.user.onPremisesSamAccountName.length&&!isNaN(parseInt(this.user.onPremisesSamAccountName[0])))return this.formData.userName.errorMessage=this.$gettext("User name cannot start with a number"),this.formData.userName.valid=!1,!1;try{return await this.clientService.graphAuthenticated.users.getUser(this.user.onPremisesSamAccountName),this.formData.userName.errorMessage=this.$gettext('User "%{userName}" already exists',{userName:this.user.onPremisesSamAccountName}),this.formData.userName.valid=!1,!1}catch{}return this.formData.userName.errorMessage="",this.formData.userName.valid=!0,!0},validateDisplayName(){return this.formData.displayName.valid=!1,this.user.displayName.trim()===""?(this.formData.displayName.errorMessage=this.$gettext("First and last name cannot be empty"),!1):this.user.displayName.length>255?(this.formData.displayName.errorMessage=this.$gettext("First and last name cannot exceed 255 characters"),!1):(this.formData.displayName.errorMessage="",this.formData.displayName.valid=!0,!0)},validateEmail(){return this.formData.email.valid=!1,_s.validate(this.user.mail)?(this.formData.email.errorMessage="",this.formData.email.valid=!0,!0):(this.formData.email.errorMessage=this.$gettext("Please enter a valid email"),!1)},validatePassword(){return this.formData.password.valid=!1,this.user.passwordProfile.password.trim()===""?(this.formData.password.errorMessage=this.$gettext("Password cannot be empty"),!1):(this.formData.password.errorMessage="",this.formData.password.valid=!0,!0)}}});function Co(e,t,r,a,n,m){const l=x("oc-text-input");return k(),O("form",{autocomplete:"off",onSubmit:t[4]||(t[4]=Ve(i=>e.$emit("confirm"),["prevent"]))},[E(l,{id:"create-user-input-user-name",modelValue:e.user.onPremisesSamAccountName,"onUpdate:modelValue":[t[0]||(t[0]=i=>e.user.onPremisesSamAccountName=i),e.validateUserName],class:"mb-2",label:e.$gettext("User name"),"error-message":e.formData.userName.errorMessage,"fix-message-line":!0,"required-mark":""},null,8,["modelValue","label","error-message","onUpdate:modelValue"]),t[5]||(t[5]=N()),E(l,{id:"create-user-input-display-name",modelValue:e.user.displayName,"onUpdate:modelValue":[t[1]||(t[1]=i=>e.user.displayName=i),e.validateDisplayName],class:"mb-2",label:e.$gettext("First and last name"),"error-message":e.formData.displayName.errorMessage,"fix-message-line":!0,"required-mark":""},null,8,["modelValue","label","error-message","onUpdate:modelValue"]),t[6]||(t[6]=N()),E(l,{id:"create-user-input-email",modelValue:e.user.mail,"onUpdate:modelValue":[t[2]||(t[2]=i=>e.user.mail=i),e.validateEmail],class:"mb-2",label:e.$gettext("Email"),"error-message":e.formData.email.errorMessage,"error-message-debounced-time":1e3,type:"email","fix-message-line":!0,"required-mark":""},null,8,["modelValue","label","error-message","onUpdate:modelValue"]),t[7]||(t[7]=N()),E(l,{id:"create-user-input-password",modelValue:e.user.passwordProfile.password,"onUpdate:modelValue":[t[3]||(t[3]=i=>e.user.passwordProfile.password=i),e.validatePassword],autocomplete:"new-password",class:"mb-2",label:e.$gettext("Password"),"error-message":e.formData.password.errorMessage,type:"password","fix-message-line":!0,"required-mark":""},null,8,["modelValue","label","error-message","onUpdate:modelValue"]),t[8]||(t[8]=N()),t[9]||(t[9]=w("input",{type:"submit",class:"hidden"},null,-1))],32)}const So=ge(vo,[["render",Co]]),wo=()=>{const{dispatchModal:e}=Me(),t=Ue(),{$gettext:r}=re();return{actions:F(()=>[{name:"create-user",icon:"add",class:"oc-users-actions-create-user",label:()=>r("New user"),isVisible:()=>!t.graphUsersCreateDisabled,handler:()=>{e({title:r("Create user"),customComponent:So})}}])}},Qs=()=>{const{showMessage:e,showErrorMessage:t}=Ee(),r=Ue(),{$gettext:a,$ngettext:n}=re(),m=ke(),{dispatchModal:l}=Me(),i=Re(),o=Ne("page","1"),p=F(()=>parseInt(Ge(s(o)))),u=Ne("items-per-page","1"),f=F(()=>parseInt(Ge(s(u)))),b=async d=>{const h=m.graphAuthenticated,G=d.map(j=>h.users.deleteUser(j.id)),$=await Promise.allSettled(G),U=$.filter(Qe);if(U.length){const j=U.length===1&&d.length===1?a('User "%{user}" was deleted successfully',{user:d[0].displayName}):n("%{userCount} user was deleted successfully","%{userCount} users were deleted successfully",U.length,{userCount:U.length.toString()});e({title:j})}const S=$.filter(He);if(S.length){S.forEach(console.error);const j=S.length===1&&d.length===1?a('Failed to delete user "%{user}"',{user:d[0].displayName}):n("Failed to delete %{userCount} user","Failed to delete %{userCount} users",S.length,{userCount:S.length.toString()});t({title:j,errors:S.map(X=>X.reason)})}i.removeUsers(d),i.setSelectedUsers([]);const D=Math.ceil(i.users.length/s(f));s(p)>1&&s(p)>D&&(o.value=D.toString())},y=({resources:d})=>{d.length&&l({title:n('Delete user "%{user}"?',"Delete %{userCount} users?",d.length,{user:d[0].displayName,userCount:d.length.toString()}),confirmText:a("Delete"),message:n("Are you sure you want to delete this user?","Are you sure you want to delete the %{userCount} selected users?",d.length,{userCount:d.length.toString()}),hasInput:!1,onConfirm:()=>b(d)})};return{actions:F(()=>[{name:"delete",icon:"delete-bin",label:()=>a("Delete"),handler:y,isVisible:({resources:d})=>!!d.length&&!r.graphUsersDeleteDisabled,class:"oc-users-actions-delete-trigger"}]),deleteUsers:b}},Ao=()=>{const{$gettext:e}=re(),{openSideBarPanel:t}=xe();return{actions:F(()=>[{name:"edit",icon:"pencil",label:()=>e("Edit"),handler:()=>t("EditPanel"),isVisible:({resources:a})=>a.length===1,class:"oc-users-actions-edit-trigger"}])}},ko=ee({name:"LoginModal",props:{modal:{type:Object,required:!0},users:{type:Array,required:!0}},emits:["update:confirmDisabled"],setup(e,{emit:t,expose:r}){const{showMessage:a,showErrorMessage:n}=Ee(),m=ke(),{$gettext:l,$ngettext:i}=re(),o=ns(),p=Re(),u=V(),f=V([{label:l("Allowed"),value:!0},{label:l("Forbidden"),value:!1}]);he(u,()=>{t("update:confirmDisabled",!s(u))},{immediate:!0});const b=d=>{u.value=d},y=F(()=>e.users.some(d=>d.id===o.user.id));ze(()=>{e.users.every(d=>d.accountEnabled!==!1)?u.value=s(f).find(({value:d})=>!!d):e.users.every(d=>d.accountEnabled===!1)&&(u.value=s(f).find(({value:d})=>!d))});const c=async()=>{const d=e.users.filter(({id:D})=>o.user.id!==D),h=m.graphAuthenticated,G=d.map(({id:D})=>h.users.editUser(D,{accountEnabled:s(u).value})),$=await Promise.allSettled(G),U=$.filter(Qe);if(U.length){const D=U.length===1&&d.length===1?l('Login for user "%{user}" was edited successfully',{user:d[0].displayName}):i("%{userCount} user login was edited successfully","%{userCount} users logins edited successfully",U.length,{userCount:U.length.toString()});a({title:D})}const S=$.filter(He);if(S.length){S.forEach(console.error);const D=S.length===1&&d.length===1?l('Failed edit login for user "%{user}"',{user:d[0].displayName}):i("Failed to edit %{userCount} user login","Failed to edit %{userCount} user logins",S.length,{userCount:S.length.toString()});n({title:D,errors:S.map(j=>j.reason)})}try{(await Promise.all(U.map(({value:j})=>h.users.getUser(j.id)))).forEach(j=>{p.upsertUser(j)})}catch(D){console.error(D)}};return r({onConfirm:c}),{selectedOption:u,options:f,changeSelectedOption:b,currentUserSelected:y,onConfirm:c}}});function No(e,t,r,a,n,m){const l=x("oc-select");return k(),O("div",null,[E(l,{"model-value":e.selectedOption,label:e.$gettext("Login"),options:e.options,placeholder:e.$gettext("Select..."),"description-message":e.currentUserSelected?e.$gettext("Your own login status will remain unchanged."):"","position-fixed":!0,"required-mark":"","onUpdate:modelValue":e.changeSelectedOption},null,8,["model-value","label","options","placeholder","description-message","onUpdate:modelValue"])])}const Uo=ge(ko,[["render",No]]),Go=()=>{const{dispatchModal:e}=Me(),t=Ue(),{$gettext:r,$ngettext:a}=re(),n=({resources:l})=>{e({title:a('Edit login for "%{user}"',"Edit login for %{userCount} users",l.length,{user:l[0].displayName,userCount:l.length.toString()}),customComponent:Uo,customComponentAttrs:()=>({users:l})})};return{actions:F(()=>[{name:"edit-login",icon:"login-circle",class:"oc-users-actions-edit-login-trigger",label:()=>r("Edit login"),isVisible:({resources:l})=>t.graphUsersReadOnlyAttributes.includes("user.accountEnabled")?!1:l.length>0,handler:n}])}},Fo=ee({__name:"RemoveFromGroupsModal",props:{modal:{},groups:{},users:{}},emits:["update:confirmDisabled"],setup(e,{expose:t,emit:r}){const a=r,{showMessage:n,showErrorMessage:m}=Ee(),l=ke(),{$gettext:i,$ngettext:o}=re(),p=Re(),u=V([]),f=c=>{u.value=c},b=F(()=>e.groups.filter(c=>e.users.some(d=>d.memberOf.some(({id:h})=>h===c.id))));return he(u,()=>{a("update:confirmDisabled",!s(u).length)},{immediate:!0}),t({onConfirm:async()=>{const c=l.graphAuthenticated,d=[],h=s(u).reduce((S,D)=>{for(const j of e.users)j.memberOf.find(X=>X.id===D.id)&&(S.push(c.groups.deleteMember(D.id,j.id)),d.includes(j.id)||d.push(j.id));return S},[]);if(!h.length){const S=o("Group assignment already removed","Group assignments already removed",e.users.length*s(u).length);n({title:S});return}const G=await Promise.allSettled(h),$=G.filter(Qe);if($.length){const S=$.length===1&&s(u).length===1&&e.users.length===1?i('Group assignment "%{group}" was deleted successfully',{group:s(u)[0].displayName}):o("%{groupAssignmentCount} group assignment was deleted successfully","%{groupAssignmentCount} group assignments were deleted successfully",$.length,{groupAssignmentCount:$.length.toString()});n({title:S})}const U=G.filter(He);if(U.length){U.forEach(console.error);const S=U.length===1&&s(u).length===1&&e.users.length===1?i('Failed to delete group assignment "%{group}"',{group:s(u)[0].displayName}):o("Failed to delete %{groupAssignmentCount} group assignment","Failed to delete %{groupAssignmentCount} group assignments",U.length,{groupAssignmentCount:U.length.toString()});m({title:S,errors:U.map(D=>D.reason)})}try{(await Promise.all(d.map(D=>c.users.getUser(D)))).forEach(D=>{p.upsertUser(D)})}catch(S){console.error(S)}}}),(c,d)=>(k(),Z(ds,{"selected-groups":u.value,"group-options":b.value,"position-fixed":!0,"required-mark":"",onSelectedOptionChange:f},null,8,["selected-groups","group-options"]))}}),Do=({groups:e})=>{const{dispatchModal:t}=Me(),{$gettext:r,$ngettext:a}=re(),n=Ue(),m=({resources:i})=>{t({title:a('Remove user "%{user}" from groups',"Remove %{userCount} users from groups ",i.length,{user:i[0].displayName,userCount:i.length.toString()}),customComponent:Fo,customComponentAttrs:()=>({users:i,groups:s(e)})})};return{actions:F(()=>[{name:"remove-users-from-groups",icon:"subtract",class:"oc-users-actions-remove-from-groups-trigger",label:()=>r("Remove from groups"),isVisible:({resources:i})=>n.graphUsersReadOnlyAttributes.includes("user.memberOf")||i.every(({memberOf:o})=>!o?.length)?!1:i.length>0,handler:m}])}},Hs=()=>{const{dispatchModal:e}=Me(),t=Ue(),{$gettext:r}=re(),a=rs(),n=({resources:o})=>o.length===1?r("Change quota for user »%{name}«",{name:o[0].displayName}):r("Change quota for %{count} users",{count:o.length.toString()}),m=({resources:o})=>{const p=[];return o.forEach(u=>{const f=rr(u.drive);if(f===void 0||f.id===void 0)return;const b={id:f.id,name:u.displayName,spaceQuota:f.quota};p.push(b)}),p},l=({resources:o})=>{const p=o.filter(({drive:u})=>!sr(u));e({title:n({resources:o}),customComponent:gr,customComponentAttrs:()=>({spaces:m({resources:o}),resourceType:"user",warningMessage:p.length?r("Quota will only be applied to users who logged in at least once."):"",warningMessageContextualHelperData:p.length?{title:r("Unaffected users"),text:[...p].sort((u,f)=>u.displayName.localeCompare(f.displayName)).map(u=>u.displayName).join(", ")}:{}})})};return{actions:F(()=>[{name:"editQuota",icon:"cloud",label:()=>r("Edit quota"),handler:l,isVisible:({resources:o})=>!o||!o.length||t.graphUsersReadOnlyAttributes.includes("drive.quota")||!o.some(p=>p.drive?.quota)?!1:a.can("set-quota-all","Drive"),class:"oc-users-actions-edit-quota-trigger"}])}},Eo=ee({name:"ContextActions",components:{ContextActionMenu:ts},props:{items:{type:Array,required:!0}},setup(e){const t=F(()=>({resources:e.items})),{actions:r}=ss(),{actions:a}=Hs(),{actions:n}=Ao(),{actions:m}=Qs(),l=F(()=>[...s(n),...s(m)].filter(u=>u.isVisible(s(t)))),i=F(()=>[...s(a)].filter(u=>u.isVisible(s(t)))),o=F(()=>[...s(r)].filter(u=>u.isVisible(s(t))));return{menuSections:F(()=>{const u=[];return s(l).length&&u.push({name:"primaryActions",items:s(l)}),s(i).length&&u.push({name:"secondaryActions",items:s(i)}),s(o).length&&u.push({name:"sidebar",items:s(o)}),u})}}});function $o(e,t,r,a,n,m){const l=x("context-action-menu");return k(),O("div",null,[E(l,{"menu-sections":e.menuSections,"action-options":{resources:e.items}},null,8,["menu-sections","action-options"])])}const Po=ge(Eo,[["render",$o]]),qo=ee({name:"UserInfoBox",components:{UserAvatar:nt},props:{user:{type:Object,required:!0}}}),zo={class:"flex flex-col items-center mb-6"},xo=["textContent"],Mo=["textContent"];function Ro(e,t,r,a,n,m){const l=x("user-avatar");return k(),O("div",zo,[E(l,{class:"mb-4",width:80,"user-id":e.user.id,"user-name":e.user.displayName},null,8,["user-id","user-name"]),t[0]||(t[0]=N()),w("span",{textContent:P(e.user.onPremisesSamAccountName)},null,8,xo),t[1]||(t[1]=N()),w("span",{class:"text-role-on-surface-variant text-2xl",textContent:P(e.user.displayName)},null,8,Mo)])}const Ws=ge(qo,[["render",Ro]]),Oo={key:0,class:"flex flex-col items-center text-center mt-12","data-testid":"no-users-selected"},jo={key:1,id:"oc-users-details-multiple-sidebar",class:"flex flex-col items-center p-4 bg-role-surface-container rounded-sm"},Io={key:2,id:"oc-user-details-sidebar",class:"p-4 bg-role-surface-container rounded-sm"},To=["aria-label"],Vo=["textContent"],Bo={key:1},Lo=["textContent"],_o={key:1},Qo=["textContent"],Ho={key:1},Wo=ee({__name:"DetailsPanel",props:{users:{},roles:{},user:{default:null}},setup(e){const{current:t,$gettext:r}=re(),a=Ue(),{graphUsersEditLoginAllowedDisabled:n}=ve(a),m=F(()=>!e.users.length),l=F(()=>e.users.length>1),i=F(()=>r("%{count} users selected",{count:e.users.length.toString()})),o=F(()=>{const y=e.user.appRoleAssignments[0];return r(e.roles.find(c=>c.id===y?.appRoleId)?.displayName||"")||"-"}),p=F(()=>e.user.memberOf.map(y=>y.displayName).sort().join(", ")),u=F(()=>"total"in(e.user.drive?.quota||{})),f=F(()=>e.user.drive.quota.total===0?r("No restriction"):Je(e.user.drive.quota.total,t)),b=F(()=>e.user.accountEnabled===!1?r("Forbidden"):r("Allowed"));return(y,c)=>{const d=x("oc-icon"),h=x("oc-contextual-helper");return k(),O(ye,null,[m.value?(k(),O("div",Oo,[E(d,{name:"user",size:"xxlarge"}),c[0]||(c[0]=N()),w("p",null,P(s(r)("Select a user to view details")),1)])):oe("",!0),c[22]||(c[22]=N()),l.value?(k(),O("div",jo,[E(d,{name:"group",size:"xxlarge"}),c[1]||(c[1]=N()),w("p",null,P(i.value),1)])):oe("",!0),c[23]||(c[23]=N()),e.user?(k(),O("div",Io,[E(Ws,{user:e.user},null,8,["user"]),c[21]||(c[21]=N()),w("dl",{class:"details-list grid grid-cols-[auto_minmax(0,1fr)] m-0","aria-label":s(r)("Overview of the information about the selected user")},[w("dt",null,P(s(r)("User name")),1),c[9]||(c[9]=N()),w("dd",null,P(e.user.onPremisesSamAccountName),1),c[10]||(c[10]=N()),w("dt",null,P(s(r)("First and last name")),1),c[11]||(c[11]=N()),w("dd",null,P(e.user.displayName),1),c[12]||(c[12]=N()),w("dt",null,P(s(r)("Email")),1),c[13]||(c[13]=N()),w("dd",null,P(e.user.mail),1),c[14]||(c[14]=N()),w("dt",null,P(s(r)("Role")),1),c[15]||(c[15]=N()),w("dd",null,[e.user.appRoleAssignments?(k(),O("span",{key:0,textContent:P(o.value)},null,8,Vo)):(k(),O("span",Bo,[c[2]||(c[2]=w("span",{class:"mr-1"},"-",-1)),c[3]||(c[3]=N()),E(h,{text:s(r)("User roles become available once the user has logged in for the first time."),title:s(r)("User role")},null,8,["text","title"])]))]),c[16]||(c[16]=N()),s(n)?oe("",!0):(k(),O(ye,{key:0},[w("dt",null,P(s(r)("Login")),1),c[4]||(c[4]=N()),w("dd",null,P(b.value),1)],64)),c[17]||(c[17]=N()),w("dt",null,P(s(r)("Quota")),1),c[18]||(c[18]=N()),w("dd",null,[u.value?(k(),O("span",{key:0,textContent:P(f.value)},null,8,Lo)):(k(),O("span",_o,[c[5]||(c[5]=w("span",{class:"mr-1"},"-",-1)),c[6]||(c[6]=N()),E(h,{text:s(r)("User quota becomes available once the user has logged in for the first time."),title:s(r)("Quota")},null,8,["text","title"])]))]),c[19]||(c[19]=N()),w("dt",null,P(s(r)("Groups")),1),c[20]||(c[20]=N()),w("dd",null,[e.user.memberOf.length?(k(),O("span",{key:0,textContent:P(p.value)},null,8,Qo)):(k(),O("span",Ho,[c[7]||(c[7]=w("span",{class:"mr-1"},"-",-1)),c[8]||(c[8]=N()),E(h,{text:s(r)("No groups assigned."),title:s(r)("Groups")},null,8,["text","title"])]))])],8,To)])):oe("",!0)],64)}}}),yt=e=>e instanceof Date,Ko=e=>Object.keys(e).length===0,Tt=e=>e!=null&&typeof e=="object",ms=(e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),vt=e=>Tt(e)&&Ko(e),Zo=()=>Object.create(null),Ks=(e,t)=>{if(e===t)return{};if(!Tt(e)||!Tt(t))return t;const r=Object.keys(e).reduce((a,n)=>(ms(t,n)||(a[n]=void 0),a),Zo());return yt(e)||yt(t)?e.valueOf()==t.valueOf()?{}:t:Object.keys(t).reduce((a,n)=>{if(!ms(e,n))return a[n]=t[n],a;const m=Ks(e[n],t[n]);return vt(m)&&!yt(m)&&(vt(e[n])||!vt(t[n]))||(a[n]=m),a},r)},Yo=ee({name:"EditPanel",components:{UserInfoBox:Ws,CompareSaveDialog:Ts,QuotaSelect:mr,GroupSelect:ds},props:{user:{type:Object,required:!1,default:null},roles:{type:Array,required:!0},groups:{type:Array,required:!0},applicationId:{type:String,required:!0}},emits:["confirm"],setup(e){const t=Ue(),r=ve(t),a=ke(),n=ns(),m=Re(),l=Gr(),i=Sr(),{showErrorMessage:o}=Ee(),{$gettext:p}=re(),{graphUsersEditLoginAllowedDisabled:u}=ve(t),f=V(),b=V({displayName:{errorMessage:"",valid:!0},userName:{errorMessage:"",valid:!0},email:{errorMessage:"",valid:!0}}),y=F(()=>{const{memberOf:S}=s(f);return e.groups.filter(D=>!S.some(j=>j.id===D.id)&&!D.groupTypes?.includes("ReadOnly"))}),c=F(()=>n.user.id===e.user.id),d=S=>t.graphUsersReadOnlyAttributes.includes(S),h=(S,D)=>a.graphAuthenticated.users.createUserAppRoleAssignment(S.id,{appRoleId:D.appRoleAssignments[0].appRoleId,resourceId:e.applicationId,principalId:D.id}),G=(S,D)=>{const j=a.graphAuthenticated,X=D.memberOf.filter(T=>!S.memberOf.some(ne=>ne.id===T.id)),ae=S.memberOf.filter(T=>!D.memberOf.some(ne=>ne.id===T.id)),se=[];for(const T of X)se.push(j.groups.addMember(T.id,S.id));for(const T of ae)se.push(j.groups.deleteMember(T.id,S.id));return Promise.all(se)},$=async S=>{const j=await a.graphAuthenticated.drives.updateDrive(S.drive.id,{quota:{total:S.drive.quota.total}});S.id===n.user.id&&l.updateSpaceField({id:S.drive.id,field:"spaceQuota",value:j.spaceQuota})},U=async({user:S,editUser:D})=>{try{const j=a.graphAuthenticated,X=T=>Vs(T,["drive","appRoleAssignments","memberOf"]),ae=Ks(X(S),X(D));Dr(ae)||await j.users.editUser(D.id,ae),ft(S.drive?.quota?.total,D.drive?.quota?.total)||await $(D),ft(S.memberOf,D.memberOf)||await G(S,D),ft(S.appRoleAssignments[0]?.appRoleId,D.appRoleAssignments[0]?.appRoleId)||await h(S,D);const se=await j.users.getUser(S.id);return m.upsertUser(se),i.publish("sidebar.entity.saved"),n.user.id===se.id&&n.setUser(se),se}catch(j){console.error(j),o({title:p("Failed to edit user"),errors:[j]})}};return{maxQuota:r.spacesMaxQuota,isInputFieldReadOnly:d,isLoginInputDisabled:c,graphUsersEditLoginAllowedDisabled:u,editUser:f,formData:b,groupOptions:y,clientService:a,onEditUser:U}},computed:{loginOptions(){return[{label:this.$gettext("Allowed"),value:!0},{label:this.$gettext("Forbidden"),value:!1}]},selectedLoginValue(){return this.loginOptions.find(e=>"accountEnabled"in this.editUser?this.editUser.accountEnabled===e.value:e.value===!0)},translatedRoleOptions(){return this.roles.map(e=>({...e,displayName:this.$gettext(e.displayName)}))},selectedRoleValue(){const e=this.editUser?.appRoleAssignments?.[0];return this.translatedRoleOptions.find(t=>t.id===e?.appRoleId)},invalidFormData(){return Object.values(this.formData).map(e=>!!e.valid).includes(!1)},showQuota(){return this.editUser.drive?.quota},isQuotaInputDisabled(){return typeof this.showQuota>"u"},compareSaveDialogOriginalObject(){return ht(this.user)}},watch:{user:{handler:function(){this.editUser=ht(this.user)},deep:!0,immediate:!0},editUser:{handler:function(){this.editUser.accountEnabled===!0&&!("accountEnabled"in this.user)&&delete this.editUser.accountEnabled},deep:!0}},methods:{changeSelectedQuotaOption(e){this.editUser.drive.quota.total=e.value},changeSelectedGroupOption(e){this.editUser.memberOf=e},async validateUserName(){if(this.formData.userName.valid=!1,this.editUser.onPremisesSamAccountName.trim()==="")return this.formData.userName.errorMessage=this.$gettext("User name cannot be empty"),!1;if(this.editUser.onPremisesSamAccountName.includes(" "))return this.formData.userName.errorMessage=this.$gettext("User name cannot contain white spaces"),!1;if(this.editUser.onPremisesSamAccountName.length&&!isNaN(parseInt(this.editUser.onPremisesSamAccountName[0])))return this.formData.userName.errorMessage=this.$gettext("User name cannot start with a number"),!1;if(this.editUser.onPremisesSamAccountName.length>255)return this.formData.userName.errorMessage=this.$gettext("User name cannot exceed 255 characters"),!1;if(this.user.onPremisesSamAccountName!==this.editUser.onPremisesSamAccountName)try{return await this.clientService.graphAuthenticated.users.getUser(this.editUser.onPremisesSamAccountName),this.formData.userName.errorMessage=this.$gettext('User "%{userName}" already exists',{userName:this.editUser.onPremisesSamAccountName}),!1}catch{}return this.formData.userName.errorMessage="",this.formData.userName.valid=!0,!0},validateDisplayName(){return this.formData.displayName.valid=!1,this.editUser.displayName.trim()===""?(this.formData.displayName.errorMessage=this.$gettext("First and last name cannot be empty"),!1):this.editUser.displayName.length>255?(this.formData.displayName.errorMessage=this.$gettext("First and last name cannot exceed 255 characters"),!1):(this.formData.displayName.errorMessage="",this.formData.displayName.valid=!0,!0)},validateEmail(){return this.formData.email.valid=!1,_s.validate(this.editUser.mail)?(this.formData.email.errorMessage="",this.formData.email.valid=!0,!0):(this.formData.email.errorMessage=this.$gettext("Please enter a valid email"),!1)},revertChanges(){this.editUser=ht(this.user),Object.values(this.formData).forEach(e=>{e.valid=!0,e.errorMessage=""})},onUpdateRole(e){if(!this.editUser.appRoleAssignments.length){this.editUser.appRoleAssignments.push({appRoleId:e.id});return}this.editUser.appRoleAssignments[0].appRoleId=e.id},onUpdatePassword(e){this.editUser.passwordProfile={password:e}},onUpdateLogin({value:e}){this.editUser.accountEnabled=e}}}),Jo={id:"user-edit-panel",class:"mt-12"},Xo={id:"user-edit-form",class:"bg-role-surface-container p-4 rounded-sm",autocomplete:"off"},ea={class:"mb-2"},ta={key:0,class:"mb-2"};function sa(e,t,r,a,n,m){const l=x("UserInfoBox"),i=x("oc-text-input"),o=x("oc-select"),p=x("quota-select"),u=x("group-select"),f=x("compare-save-dialog");return k(),O("div",Jo,[E(l,{user:e.user},null,8,["user"]),t[16]||(t[16]=N()),w("form",Xo,[w("div",null,[E(i,{id:"userName-input",modelValue:e.editUser.onPremisesSamAccountName,"onUpdate:modelValue":[t[0]||(t[0]=b=>e.editUser.onPremisesSamAccountName=b),e.validateUserName],class:"mb-2",label:e.$gettext("User name"),"error-message":e.formData.userName.errorMessage,"fix-message-line":!0,"read-only":e.isInputFieldReadOnly("user.onPremisesSamAccountName"),"required-mark":""},null,8,["modelValue","label","error-message","read-only","onUpdate:modelValue"]),t[8]||(t[8]=N()),E(i,{id:"displayName-input",modelValue:e.editUser.displayName,"onUpdate:modelValue":[t[1]||(t[1]=b=>e.editUser.displayName=b),e.validateDisplayName],class:"mb-2",label:e.$gettext("First and last name"),"error-message":e.formData.displayName.errorMessage,"fix-message-line":!0,"read-only":e.isInputFieldReadOnly("user.displayName"),"required-mark":""},null,8,["modelValue","label","error-message","read-only","onUpdate:modelValue"]),t[9]||(t[9]=N()),E(i,{id:"email-input",modelValue:e.editUser.mail,"onUpdate:modelValue":[t[2]||(t[2]=b=>e.editUser.mail=b),e.validateEmail],class:"mb-2",label:e.$gettext("Email"),"error-message":e.formData.email.errorMessage,"error-message-debounced-time":1e3,type:"email","fix-message-line":!0,"read-only":e.isInputFieldReadOnly("user.mail"),"required-mark":""},null,8,["modelValue","label","error-message","read-only","onUpdate:modelValue"]),t[10]||(t[10]=N()),E(i,{id:"password-input","model-value":e.editUser.passwordProfile?.password,class:"mb-2",label:e.$gettext("Password"),type:"password","fix-message-line":!0,placeholder:"●●●●●●●●","read-only":e.isInputFieldReadOnly("user.passwordProfile"),"onUpdate:modelValue":e.onUpdatePassword},null,8,["model-value","label","read-only","onUpdate:modelValue"]),t[11]||(t[11]=N()),w("div",ea,[E(o,{id:"role-input","model-value":e.selectedRoleValue,label:e.$gettext("Role"),"option-label":"displayName",options:e.translatedRoleOptions,clearable:!1,"read-only":e.isInputFieldReadOnly("user.appRoleAssignments"),"required-mark":"","onUpdate:modelValue":e.onUpdateRole},null,8,["model-value","label","options","read-only","onUpdate:modelValue"]),t[4]||(t[4]=N()),t[5]||(t[5]=w("div",{class:"oc-text-input-message"},null,-1))]),t[12]||(t[12]=N()),e.graphUsersEditLoginAllowedDisabled?oe("",!0):(k(),O("div",ta,[E(o,{id:"login-input",disabled:e.isLoginInputDisabled,"model-value":e.selectedLoginValue,label:e.$gettext("Login"),options:e.loginOptions,clearable:!1,"read-only":e.isInputFieldReadOnly("user.accountEnabled"),"required-mark":"","onUpdate:modelValue":e.onUpdateLogin},null,8,["disabled","model-value","label","options","read-only","onUpdate:modelValue"]),t[6]||(t[6]=N()),t[7]||(t[7]=w("div",{class:"oc-text-input-message"},null,-1))])),t[13]||(t[13]=N()),(k(),Z(p,{id:"quota-select-form",key:"quota-select-"+e.user.id,disabled:e.isQuotaInputDisabled,class:"mb-2",label:e.$gettext("Personal quota"),"total-quota":e.editUser.drive?.quota?.total||0,"max-quota":e.maxQuota,"fix-message-line":!0,"description-message":e.isQuotaInputDisabled&&!e.isInputFieldReadOnly("drive.quota")?e.$gettext("To set an individual quota, the user needs to have logged in once."):"","read-only":e.isInputFieldReadOnly("drive.quota"),"required-mark":"",onSelectedOptionChange:e.changeSelectedQuotaOption},null,8,["disabled","label","total-quota","max-quota","description-message","read-only","onSelectedOptionChange"])),t[14]||(t[14]=N()),E(u,{class:"mb-2","read-only":e.isInputFieldReadOnly("user.memberOf"),"selected-groups":e.editUser.memberOf,"group-options":e.groupOptions,onSelectedOptionChange:e.changeSelectedGroupOption},null,8,["read-only","selected-groups","group-options","onSelectedOptionChange"])]),t[15]||(t[15]=N()),E(f,{class:"mb-6","original-object":e.compareSaveDialogOriginalObject,"compare-object":e.editUser,"confirm-button-disabled":e.invalidFormData,onRevert:e.revertChanges,onConfirm:t[3]||(t[3]=b=>e.onEditUser({user:e.user,editUser:e.editUser}))},null,8,["original-object","compare-object","confirm-button-disabled","onRevert"])])])}const ra=ge(Yo,[["render",sa]]),na=ee({name:"CreateGroupModal",props:{modal:{type:Object,required:!0}},emits:["confirm","update:confirmDisabled"],setup(e,{emit:t,expose:r}){const{$gettext:a}=re(),{showMessage:n,showErrorMessage:m}=Ee(),l=ke(),i=Ze(),o=V({displayName:""}),p=V({displayName:{errorMessage:"",valid:!1}}),u=F(()=>Object.keys(s(p)).map(b=>!!s(p)[b].valid).includes(!1));he(u,()=>{t("update:confirmDisabled",s(u))},{immediate:!0});const f=async()=>{if(s(u))return Promise.reject();try{const y=await l.graphAuthenticated.groups.createGroup(s(o));n({title:a("Group was created successfully")}),i.upsertGroup(y)}catch(b){console.error(b),m({title:a("Failed to create group"),errors:[b]})}};return r({onConfirm:f}),{clientService:l,group:o,formData:p,isFormInvalid:u,onConfirm:f}},methods:{async validateDisplayName(){if(this.group.displayName.trim()==="")return this.formData.displayName.errorMessage=this.$gettext("Group name cannot be empty"),this.formData.displayName.valid=!1,!1;if(this.group.displayName.length>255)return this.formData.displayName.errorMessage=this.$gettext("Group name cannot exceed 255 characters"),this.formData.displayName.valid=!1,!1;try{return await this.clientService.graphAuthenticated.groups.getGroup(this.group.displayName),this.formData.displayName.errorMessage=this.$gettext('Group "%{groupName}" already exists',{groupName:this.group.displayName}),this.formData.displayName.valid=!1,!1}catch{}return this.formData.displayName.errorMessage="",this.formData.displayName.valid=!0,!0}}});function oa(e,t,r,a,n,m){const l=x("oc-text-input");return k(),O("form",{autocomplete:"off",onSubmit:t[1]||(t[1]=Ve(i=>e.$emit("confirm"),["prevent"]))},[E(l,{id:"create-group-input-display-name",modelValue:e.group.displayName,"onUpdate:modelValue":[t[0]||(t[0]=i=>e.group.displayName=i),e.validateDisplayName],class:"mb-2",label:e.$gettext("Group name"),"error-message":e.formData.displayName.errorMessage,"fix-message-line":!0,"required-mark":""},null,8,["modelValue","label","error-message","onUpdate:modelValue"]),t[2]||(t[2]=N()),t[3]||(t[3]=w("input",{type:"submit",class:"hidden"},null,-1))],32)}const aa=ge(na,[["render",oa]]),ia=()=>{const{dispatchModal:e}=Me(),{$gettext:t}=re();return{actions:F(()=>[{name:"create-group",icon:"add",class:"oc-groups-actions-create-group",label:()=>t("New group"),isVisible:()=>!0,handler:()=>{e({title:t("Create group"),customComponent:aa})}}])}},Ze=Bt("groupSettings",()=>{const e=V([]),t=V([]);return{groups:e,upsertGroup:o=>{const p=s(e).find(({id:u})=>u===o.id);if(p){Object.assign(p,o);return}s(e).push({...o,members:[]})},setGroups:o=>{e.value=o},removeGroups:o=>{e.value=s(e).filter(p=>!o.find(({id:u})=>u===p.id))},reset:()=>{e.value=[],t.value=[]},selectedGroups:t,addSelectedGroup:o=>{s(t).push(o)},setSelectedGroups:o=>{t.value=o}}}),cs=Bt("spaceSettings",()=>{const e=V([]),t=V([]);return{spaces:e,setSpaces:o=>{e.value=o},upsertSpace:o=>{const p=s(e).find(({id:u})=>u===o.id);if(p){Object.assign(p,o);return}s(e).push(o)},removeSpaces:o=>{e.value=s(e).filter(p=>!o.find(({id:u})=>u===p.id))},reset:()=>{e.value=[],t.value=[]},selectedSpaces:t,addSelectedSpace:o=>{s(t).push(o)},setSelectedSpaces:o=>{t.value=o}}}),Zs=()=>{const{showMessage:e,showErrorMessage:t}=Ee(),{$gettext:r,$ngettext:a}=re(),n=ke(),{dispatchModal:m}=Me(),l=Ze(),i=Ne("page","1"),o=F(()=>parseInt(Ge(s(i)))),p=Ne("items-per-page","1"),u=F(()=>parseInt(Ge(s(p)))),f=async c=>{const d=n.graphAuthenticated,h=c.map(D=>d.groups.deleteGroup(D.id)),G=await Promise.allSettled(h),$=G.filter(Qe);if($.length){const D=$.length===1&&c.length===1?r('Group "%{group}" was deleted successfully',{group:c[0].displayName}):a("%{groupCount} group was deleted successfully","%{groupCount} groups were deleted successfully",$.length,{groupCount:$.length.toString()});e({title:D})}const U=G.filter(He);if(U.length){U.forEach(console.error);const D=U.length===1&&c.length===1?r("Failed to delete group »%{group}«",{group:c[0].displayName}):a("Failed to delete %{groupCount} group","Failed to delete %{groupCount} groups",U.length,{groupCount:U.length.toString()});t({title:D,errors:U.map(j=>j.reason)})}l.removeGroups(c),l.setSelectedGroups([]);const S=Math.ceil(l.groups.length/s(u));s(o)>1&&s(o)>S&&(i.value=S.toString())},b=({resources:c})=>{c.length&&m({title:a("Delete group »%{group}«?","Delete %{groupCount} groups?",c.length,{group:c[0].displayName,groupCount:c.length.toString()}),confirmText:r("Delete"),message:a("Are you sure you want to delete this group?","Are you sure you want to delete the %{groupCount} selected groups?",c.length,{groupCount:c.length.toString()}),hasInput:!1,onConfirm:()=>f(c)})};return{actions:F(()=>[{name:"delete",icon:"delete-bin",label:()=>r("Delete"),handler:b,isVisible:({resources:c})=>!!c.length&&!c.some(d=>d.groupTypes?.includes("ReadOnly")),class:"oc-groups-actions-delete-trigger"}]),deleteGroups:f}},ua=()=>{const{$gettext:e}=re(),{openSideBarPanel:t}=xe();return{actions:F(()=>[{name:"edit",icon:"pencil",label:()=>e("Edit"),handler:()=>t("EditPanel"),isVisible:({resources:a})=>a.length===1&&!a[0].groupTypes?.includes("ReadOnly"),class:"oc-groups-actions-edit-trigger"}])}};var Ct={},St={},wt,fs;function pt(){if(fs)return wt;fs=1;var e=$r();return wt=function(){return e()&&!!Symbol.toStringTag},wt}var At,hs;function la(){if(hs)return At;hs=1;var e=pt()(),t=Ke(),r=t("Object.prototype.toString"),a=function(i){return e&&i&&typeof i=="object"&&Symbol.toStringTag in i?!1:r(i)==="[object Arguments]"},n=function(i){return a(i)?!0:i!==null&&typeof i=="object"&&"length"in i&&typeof i.length=="number"&&i.length>=0&&r(i)!=="[object Array]"&&"callee"in i&&r(i.callee)==="[object Function]"},m=(function(){return a(arguments)})();return a.isLegacyArguments=n,At=m?a:n,At}var kt,bs;function da(){if(bs)return kt;bs=1;var e=Ke(),t=pt()(),r=Pr(),a=it(),n;if(t){var m=e("RegExp.prototype.exec"),l={},i=function(){throw l},o={toString:i,valueOf:i};typeof Symbol.toPrimitive=="symbol"&&(o[Symbol.toPrimitive]=i),n=function(b){if(!b||typeof b!="object")return!1;var y=a(b,"lastIndex"),c=y&&r(y,"value");if(!c)return!1;try{m(b,o)}catch(d){return d===l}}}else{var p=e("Object.prototype.toString"),u="[object RegExp]";n=function(b){return!b||typeof b!="object"&&typeof b!="function"?!1:p(b)===u}}return kt=n,kt}var Nt,ys;function ca(){if(ys)return Nt;ys=1;var e=Ke(),t=da(),r=e("RegExp.prototype.exec"),a=os();return Nt=function(m){if(!t(m))throw new a("`regex` must be a RegExp");return function(i){return r(m,i)!==null}},Nt}var Ut,vs;function pa(){if(vs)return Ut;vs=1;const e=function*(){}.constructor;return Ut=()=>e,Ut}var Gt,Cs;function ga(){if(Cs)return Gt;Cs=1;var e=Ke(),t=ca(),r=t(/^\s*(?:function)?\*/),a=pt()(),n=Ls(),m=e("Object.prototype.toString"),l=e("Function.prototype.toString"),i=pa();return Gt=function(p){if(typeof p!="function")return!1;if(r(l(p)))return!0;if(!a){var u=m(p);return u==="[object GeneratorFunction]"}if(!n)return!1;var f=i();return f&&n(p)===f.prototype},Gt}var Ft,Ss;function ma(){if(Ss)return Ft;Ss=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,a;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw a}}),a={},t(function(){throw 42},null,r)}catch($){$!==a&&(t=null)}else t=null;var n=/^\s*class\b/,m=function(U){try{var S=e.call(U);return n.test(S)}catch{return!1}},l=function(U){try{return m(U)?!1:(e.call(U),!0)}catch{return!1}},i=Object.prototype.toString,o="[object Object]",p="[object Function]",u="[object GeneratorFunction]",f="[object HTMLAllCollection]",b="[object HTML document.all class]",y="[object HTMLCollection]",c=typeof Symbol=="function"&&!!Symbol.toStringTag,d=!(0 in[,]),h=function(){return!1};if(typeof document=="object"){var G=document.all;i.call(G)===i.call(document.all)&&(h=function(U){if((d||!U)&&(typeof U>"u"||typeof U=="object"))try{var S=i.call(U);return(S===f||S===b||S===y||S===o)&&U("")==null}catch{}return!1})}return Ft=t?function(U){if(h(U))return!0;if(!U||typeof U!="function"&&typeof U!="object")return!1;try{t(U,null,r)}catch(S){if(S!==a)return!1}return!m(U)&&l(U)}:function(U){if(h(U))return!0;if(!U||typeof U!="function"&&typeof U!="object")return!1;if(c)return l(U);if(m(U))return!1;var S=i.call(U);return S!==p&&S!==u&&!/^\[object HTML/.test(S)?!1:l(U)},Ft}var Dt,ws;function fa(){if(ws)return Dt;ws=1;var e=ma(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,a=function(o,p,u){for(var f=0,b=o.length;f=3&&(f=u),l(o)?a(o,p,f):typeof o=="string"?n(o,p,f):m(o,p,f)},Dt}var Et,As;function ha(){return As||(As=1,Et=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Et}var $t,ks;function ba(){if(ks)return $t;ks=1;var e=ha(),t=typeof globalThis>"u"?Os:globalThis;return $t=function(){for(var a=[],n=0;n3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,p=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,b=!!a&&a(m,l);if(e)e(m,l,{configurable:u===null&&b?b.configurable:!u,enumerable:o===null&&b?b.enumerable:!o,value:i,writable:p===null&&b?b.writable:!p});else if(f||!o&&!p&&!u)m[l]=i;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},qt}var zt,Us;function va(){if(Us)return zt;Us=1;var e=as(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},zt=t,zt}var xt,Gs;function Ca(){if(Gs)return xt;Gs=1;var e=zr(),t=ya(),r=va()(),a=it(),n=os(),m=e("%Math.floor%");return xt=function(i,o){if(typeof i!="function")throw new n("`fn` is not a function");if(typeof o!="number"||o<0||o>4294967295||m(o)!==o)throw new n("`length` must be a positive 32-bit integer");var p=arguments.length>2&&!!arguments[2],u=!0,f=!0;if("length"in i&&a){var b=a(i,"length");b&&!b.configurable&&(u=!1),b&&!b.writable&&(f=!1)}return(u||f||!p)&&(r?t(i,"length",o,!0,!0):t(i,"length",o)),i},xt}var Mt,Fs;function Sa(){if(Fs)return Mt;Fs=1;var e=Mr(),t=Rr(),r=xr();return Mt=function(){return r(e,t,arguments)},Mt}var Ds;function wa(){return Ds||(Ds=1,(function(e){var t=Ca(),r=as(),a=Or(),n=Sa();e.exports=function(l){var i=a(arguments),o=l.length-(arguments.length-1);return t(i,1+(o>0?o:0),!0)},r?r(e.exports,"apply",{value:n}):e.exports.apply=n})(Pt)),Pt.exports}var Rt,Es;function Ys(){if(Es)return Rt;Es=1;var e=fa(),t=ba(),r=wa(),a=Ke(),n=it(),m=Ls(),l=a("Object.prototype.toString"),i=pt()(),o=typeof globalThis>"u"?Os:globalThis,p=t(),u=a("String.prototype.slice"),f=a("Array.prototype.indexOf",!0)||function(h,G){for(var $=0;$-1?G:G!=="Object"?!1:c(h)}return n?y(h):null},Rt}var Ot,$s;function Aa(){if($s)return Ot;$s=1;var e=Ys();return Ot=function(r){return!!e(r)},Ot}var Ps;function ka(){return Ps||(Ps=1,(function(e){var t=la(),r=ga(),a=Ys(),n=Aa();function m(C){return C.call.bind(C)}var l=typeof BigInt<"u",i=typeof Symbol<"u",o=m(Object.prototype.toString),p=m(Number.prototype.valueOf),u=m(String.prototype.valueOf),f=m(Boolean.prototype.valueOf);if(l)var b=m(BigInt.prototype.valueOf);if(i)var y=m(Symbol.prototype.valueOf);function c(C,$e){if(typeof C!="object")return!1;try{return $e(C),!0}catch{return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=r,e.isTypedArray=n;function d(C){return typeof Promise<"u"&&C instanceof Promise||C!==null&&typeof C=="object"&&typeof C.then=="function"&&typeof C.catch=="function"}e.isPromise=d;function h(C){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(C):n(C)||g(C)}e.isArrayBufferView=h;function G(C){return a(C)==="Uint8Array"}e.isUint8Array=G;function $(C){return a(C)==="Uint8ClampedArray"}e.isUint8ClampedArray=$;function U(C){return a(C)==="Uint16Array"}e.isUint16Array=U;function S(C){return a(C)==="Uint32Array"}e.isUint32Array=S;function D(C){return a(C)==="Int8Array"}e.isInt8Array=D;function j(C){return a(C)==="Int16Array"}e.isInt16Array=j;function X(C){return a(C)==="Int32Array"}e.isInt32Array=X;function ae(C){return a(C)==="Float32Array"}e.isFloat32Array=ae;function se(C){return a(C)==="Float64Array"}e.isFloat64Array=se;function T(C){return a(C)==="BigInt64Array"}e.isBigInt64Array=T;function ne(C){return a(C)==="BigUint64Array"}e.isBigUint64Array=ne;function ie(C){return o(C)==="[object Map]"}ie.working=typeof Map<"u"&&ie(new Map);function ce(C){return typeof Map>"u"?!1:ie.working?ie(C):C instanceof Map}e.isMap=ce;function pe(C){return o(C)==="[object Set]"}pe.working=typeof Set<"u"&&pe(new Set);function Ce(C){return typeof Set>"u"?!1:pe.working?pe(C):C instanceof Set}e.isSet=Ce;function de(C){return o(C)==="[object WeakMap]"}de.working=typeof WeakMap<"u"&&de(new WeakMap);function Se(C){return typeof WeakMap>"u"?!1:de.working?de(C):C instanceof WeakMap}e.isWeakMap=Se;function me(C){return o(C)==="[object WeakSet]"}me.working=typeof WeakSet<"u"&&me(new WeakSet);function _(C){return me(C)}e.isWeakSet=_;function Q(C){return o(C)==="[object ArrayBuffer]"}Q.working=typeof ArrayBuffer<"u"&&Q(new ArrayBuffer);function z(C){return typeof ArrayBuffer>"u"?!1:Q.working?Q(C):C instanceof ArrayBuffer}e.isArrayBuffer=z;function K(C){return o(C)==="[object DataView]"}K.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&K(new DataView(new ArrayBuffer(1),0,1));function g(C){return typeof DataView>"u"?!1:K.working?K(C):C instanceof DataView}e.isDataView=g;var v=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function A(C){return o(C)==="[object SharedArrayBuffer]"}function B(C){return typeof v>"u"?!1:(typeof A.working>"u"&&(A.working=A(new v)),A.working?A(C):C instanceof v)}e.isSharedArrayBuffer=B;function H(C){return o(C)==="[object AsyncFunction]"}e.isAsyncFunction=H;function J(C){return o(C)==="[object Map Iterator]"}e.isMapIterator=J;function W(C){return o(C)==="[object Set Iterator]"}e.isSetIterator=W;function q(C){return o(C)==="[object Generator]"}e.isGeneratorObject=q;function L(C){return o(C)==="[object WebAssembly.Module]"}e.isWebAssemblyCompiledModule=L;function ue(C){return c(C,p)}e.isNumberObject=ue;function R(C){return c(C,u)}e.isStringObject=R;function I(C){return c(C,f)}e.isBooleanObject=I;function te(C){return l&&c(C,b)}e.isBigIntObject=te;function le(C){return i&&c(C,y)}e.isSymbolObject=le;function be(C){return ue(C)||R(C)||I(C)||te(C)||le(C)}e.isBoxedPrimitive=be;function we(C){return typeof Uint8Array<"u"&&(z(C)||B(C))}e.isAnyArrayBuffer=we,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(C){Object.defineProperty(e,C,{enumerable:!1,value:function(){throw new Error(C+" is not supported in userland")}})})})(St)),St}var jt,qs;function Na(){return qs||(qs=1,jt=function(t){return t&&typeof t=="object"&&typeof t.copy=="function"&&typeof t.fill=="function"&&typeof t.readUInt8=="function"}),jt}var Ye={exports:{}},zs;function Ua(){return zs||(zs=1,typeof Object.create=="function"?Ye.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Ye.exports=function(t,r){if(r){t.super_=r;var a=function(){};a.prototype=r.prototype,t.prototype=new a,t.prototype.constructor=t}}),Ye.exports}var xs;function Ga(){return xs||(xs=1,(function(e){var t={},r=Object.getOwnPropertyDescriptors||function(v){for(var A=Object.keys(v),B={},H=0;H=H)return q;switch(q){case"%s":return String(B[A++]);case"%d":return Number(B[A++]);case"%j":try{return JSON.stringify(B[A++])}catch{return"[Circular]"}default:return q}}),W=B[A];A"u")return function(){return e.deprecate(g,v).apply(this,arguments)};var A=!1;function B(){if(!A){if(Pe.throwDeprecation)throw new Error(v);Pe.traceDeprecation?console.trace(v):console.error(v),A=!0}return g.apply(this,arguments)}return B};var n={},m=/^$/;if(t.NODE_DEBUG){var l=t.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),m=new RegExp("^"+l+"$","i")}e.debuglog=function(g){if(g=g.toUpperCase(),!n[g])if(m.test(g)){var v=Pe.pid;n[g]=function(){var A=e.format.apply(e,arguments);console.error("%s %d: %s",g,v,A)}}else n[g]=function(){};return n[g]};function i(g,v){var A={seen:[],stylize:p};return arguments.length>=3&&(A.depth=arguments[2]),arguments.length>=4&&(A.colors=arguments[3]),$(v)?A.showHidden=v:v&&e._extend(A,v),ae(A.showHidden)&&(A.showHidden=!1),ae(A.depth)&&(A.depth=2),ae(A.colors)&&(A.colors=!1),ae(A.customInspect)&&(A.customInspect=!0),A.colors&&(A.stylize=o),f(A,g,A.depth)}e.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function o(g,v){var A=i.styles[v];return A?"\x1B["+i.colors[A][0]+"m"+g+"\x1B["+i.colors[A][1]+"m":g}function p(g,v){return g}function u(g){var v={};return g.forEach(function(A,B){v[A]=!0}),v}function f(g,v,A){if(g.customInspect&&v&&ce(v.inspect)&&v.inspect!==e.inspect&&!(v.constructor&&v.constructor.prototype===v)){var B=v.inspect(A,g);return j(B)||(B=f(g,B,A)),B}var H=b(g,v);if(H)return H;var J=Object.keys(v),W=u(J);if(g.showHidden&&(J=Object.getOwnPropertyNames(v)),ie(v)&&(J.indexOf("message")>=0||J.indexOf("description")>=0))return y(v);if(J.length===0){if(ce(v)){var q=v.name?": "+v.name:"";return g.stylize("[Function"+q+"]","special")}if(se(v))return g.stylize(RegExp.prototype.toString.call(v),"regexp");if(ne(v))return g.stylize(Date.prototype.toString.call(v),"date");if(ie(v))return y(v)}var L="",ue=!1,R=["{","}"];if(G(v)&&(ue=!0,R=["[","]"]),ce(v)){var I=v.name?": "+v.name:"";L=" [Function"+I+"]"}if(se(v)&&(L=" "+RegExp.prototype.toString.call(v)),ne(v)&&(L=" "+Date.prototype.toUTCString.call(v)),ie(v)&&(L=" "+y(v)),J.length===0&&(!ue||v.length==0))return R[0]+L+R[1];if(A<0)return se(v)?g.stylize(RegExp.prototype.toString.call(v),"regexp"):g.stylize("[Object]","special");g.seen.push(v);var te;return ue?te=c(g,v,A,W,J):te=J.map(function(le){return d(g,v,A,W,le,ue)}),g.seen.pop(),h(te,L,R)}function b(g,v){if(ae(v))return g.stylize("undefined","undefined");if(j(v)){var A="'"+JSON.stringify(v).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return g.stylize(A,"string")}if(D(v))return g.stylize(""+v,"number");if($(v))return g.stylize(""+v,"boolean");if(U(v))return g.stylize("null","null")}function y(g){return"["+Error.prototype.toString.call(g)+"]"}function c(g,v,A,B,H){for(var J=[],W=0,q=v.length;W-1&&(J?q=q.split(` +`).map(function(ue){return" "+ue}).join(` +`).slice(2):q=` +`+q.split(` +`).map(function(ue){return" "+ue}).join(` +`))):q=g.stylize("[Circular]","special")),ae(W)){if(J&&H.match(/^\d+$/))return q;W=JSON.stringify(""+H),W.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(W=W.slice(1,-1),W=g.stylize(W,"name")):(W=W.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),W=g.stylize(W,"string"))}return W+": "+q}function h(g,v,A){var B=g.reduce(function(H,J){return J.indexOf(` +`)>=0,H+J.replace(/\u001b\[\d\d?m/g,"").length+1},0);return B>60?A[0]+(v===""?"":v+` + `)+" "+g.join(`, + `)+" "+A[1]:A[0]+v+" "+g.join(", ")+" "+A[1]}e.types=ka();function G(g){return Array.isArray(g)}e.isArray=G;function $(g){return typeof g=="boolean"}e.isBoolean=$;function U(g){return g===null}e.isNull=U;function S(g){return g==null}e.isNullOrUndefined=S;function D(g){return typeof g=="number"}e.isNumber=D;function j(g){return typeof g=="string"}e.isString=j;function X(g){return typeof g=="symbol"}e.isSymbol=X;function ae(g){return g===void 0}e.isUndefined=ae;function se(g){return T(g)&&Ce(g)==="[object RegExp]"}e.isRegExp=se,e.types.isRegExp=se;function T(g){return typeof g=="object"&&g!==null}e.isObject=T;function ne(g){return T(g)&&Ce(g)==="[object Date]"}e.isDate=ne,e.types.isDate=ne;function ie(g){return T(g)&&(Ce(g)==="[object Error]"||g instanceof Error)}e.isError=ie,e.types.isNativeError=ie;function ce(g){return typeof g=="function"}e.isFunction=ce;function pe(g){return g===null||typeof g=="boolean"||typeof g=="number"||typeof g=="string"||typeof g=="symbol"||typeof g>"u"}e.isPrimitive=pe,e.isBuffer=Na();function Ce(g){return Object.prototype.toString.call(g)}function de(g){return g<10?"0"+g.toString(10):g.toString(10)}var Se=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function me(){var g=new Date,v=[de(g.getHours()),de(g.getMinutes()),de(g.getSeconds())].join(":");return[g.getDate(),Se[g.getMonth()],v].join(" ")}e.log=function(){console.log("%s - %s",me(),e.format.apply(e,arguments))},e.inherits=Ua(),e._extend=function(g,v){if(!v||!T(v))return g;for(var A=Object.keys(v),B=A.length;B--;)g[A[B]]=v[A[B]];return g};function _(g,v){return Object.prototype.hasOwnProperty.call(g,v)}var Q=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;e.promisify=function(v){if(typeof v!="function")throw new TypeError('The "original" argument must be of type Function');if(Q&&v[Q]){var A=v[Q];if(typeof A!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(A,Q,{value:A,enumerable:!1,writable:!1,configurable:!0}),A}function A(){for(var B,H,J=new Promise(function(L,ue){B=L,H=ue}),W=[],q=0;qs(U).filter(q=>!q.groupTypes?.includes("ReadOnly"))),{actions:c}=Qs(),{actions:d}=Do({groups:y}),{actions:h}=bo({groups:y}),{actions:G}=Go(),{actions:$}=Hs(),U=V([]),S=V([]),D=V([]),j=V(),X=F(()=>s(b).map(q=>q.id)),ae=V(i.options.userListRequiresFilter),se=V(!1),T=Ie("template"),ne=Ne("q_displayName"),ie=V(Ge(s(ne)));let ce;const pe=je(function*(q){U.value=yield*Xe(l.graphAuthenticated.groups.listGroups({orderBy:["displayName"],expand:["members"]},{signal:q}))}).restartable(),Ce=je(function*(q){const L=yield*Xe(l.graphAuthenticated.applications.listApplications({signal:q}));S.value=L[0].appRoles,j.value=L[0].id}),de=je(function*(q){if(s(ae)&&!s(K))return u.setUsers([]);const L=Object.values(z).reduce((R,I)=>{if("value"in I)return s(I.value)&&R.push(Ms.format(I.query,s(I.value))),R;const te=s(I.ids).map(le=>Ms.format(I.query,le)).join(" or ");return te&&R.push(`(${te})`),R},[]).filter(Boolean).join(" and "),ue=yield l.graphAuthenticated.users.listUsers({orderBy:["displayName"],filter:L,expand:["appRoleAssignments"]},{signal:q});u.setUsers(ue||[])}),Se=F(()=>de.isRunning||!de.last||me.isRunning||!me.last),me=je(function*(){yield de.perform(),yield pe.perform(),yield Ce.perform()}),_=je(function*(q,L,ue=!1){if(!ue&&s(D).includes(L.id))return;const R=yield l.graphAuthenticated.users.getUser(L.id,{},{signal:q});s(D).push(L.id),Object.assign(L,R)}),Q=()=>t.push({...s(r),query:{...s(r).query,page:"1"}}),z={groups:{param:Ne("q_groups"),query:"memberOf/any(m:m/id eq '%s')",ids:V([])},roles:{param:Ne("q_roles"),query:"appRoleAssignments/any(m:m/appRoleId eq '%s')",ids:V([])},displayName:{param:Ne("q_displayName"),query:"contains(displayName,'%s')",value:V("")}},K=F(()=>s(z.groups.ids)?.length||s(z.roles.ids)?.length||s(z.displayName.value)?.length),g=q=>(z.groups.ids.value=q.map(L=>L.id),de.perform(),u.selectedUsers.length&&u.setSelectedUsers([]),D.value=[],Q()),v=q=>(z.roles.ids.value=q.map(L=>L.id),de.perform(),u.selectedUsers.length&&u.setSelectedUsers([]),D.value=[],Q()),A=async()=>(await t.push({...s(r),query:{...Vs(s(r).query,"q_displayName"),...s(ie)&&{q_displayName:s(ie)}}}),z.displayName.value.value=s(ie),de.perform(),u.setSelectedUsers([]),D.value=[],Q());he(X,async()=>{se.value=!0,await Promise.all(s(b).map(q=>_.perform(q))),se.value=!1});const B=F(()=>[...s(c),...s($),...s(h),...s(d),...m.value?[]:s(G)].filter(q=>q.isVisible({resources:s(b)}))),H=({spaceId:q,quota:L})=>{const ue=s(f).find(R=>R.drive?.id===q);ue.drive.quota=L,u.upsertUser(ue)};ze(async()=>{for(const q in z)s(z[q]).hasOwnProperty("ids")&&(z[q].ids.value=Ge(s(z[q].param))?.split("+")||[]),s(z[q]).hasOwnProperty("value")&&(z[q].value.value=Ge(s(z[q].param)));await me.perform(),ce=fe.subscribe("app.admin-settings.users.user.quota.updated",H)}),Le(()=>{u.reset(),fe.unsubscribe("app.admin-settings.users.user.quota.updated",ce)});const J=F(()=>({parent:null,items:s(b)})),W=[{name:"DetailsPanel",icon:"user",title:()=>e("Details"),component:Wo,componentAttrs:({items:q})=>({user:q.length===1?q[0]:null,users:q,roles:s(S)}),isRoot:()=>!0,isVisible:()=>!0},{name:"EditPanel",icon:"pencil",title:()=>e("Edit user"),component:ra,isVisible:({items:q})=>q.length===1,componentAttrs:({items:q})=>({user:q.length===1?q[0]:null,roles:s(S),groups:s(U),applicationId:s(j)})}];return{maxQuota:n.spacesMaxQuota,template:T,selectedUsers:b,sideBarLoading:se,users:f,roles:S,groups:U,isLoading:Se,loadResourcesTask:me,loadAdditionalUserDataTask:_,clientService:l,batchActions:B,filterGroups:g,filterRoles:v,filterDisplayName:A,filterTermDisplayName:ie,writableGroups:y,isFilteringActive:K,isFilteringMandatory:ae,sideBarPanelContext:J,sideBarAvailablePanels:W,userSettingsStore:u,isSideBarOpen:p}},computed:{breadcrumbs(){return[{text:this.$gettext("Users"),onClick:()=>{this.userSettingsStore.setSelectedUsers([]),this.loadResourcesTask.perform()}}]}}}),Da={class:"flex items-center"},Ea=["textContent"],$a=["textContent"],Pa={class:"flex items-center"},qa=["textContent"],za=["textContent"],xa=["textContent"],Ma=["textContent"];function Ra(e,t,r,a,n,m){const l=x("context-actions"),i=x("oc-avatar"),o=x("item-filter"),p=x("oc-text-input"),u=x("oc-icon"),f=x("oc-button"),b=x("no-content-message"),y=x("users-list"),c=x("app-template"),d=tt("oc-tooltip");return k(),Z(c,{ref:"template",breadcrumbs:e.breadcrumbs,"side-bar-available-panels":e.sideBarAvailablePanels,"side-bar-panel-context":e.sideBarPanelContext,"side-bar-loading":e.sideBarLoading,"show-batch-actions":!!e.selectedUsers.length,"batch-actions":e.batchActions,"batch-action-items":e.selectedUsers,"show-view-options":!0},{mainContent:M(()=>[E(y,{"is-loading":e.isLoading,roles:e.roles,class:Vt({"users-table-squashed":e.isSideBarOpen})},{contextMenu:M(()=>[E(l,{items:e.selectedUsers},null,8,["items"])]),filter:M(()=>[w("div",Da,[e.groups.length?(k(),Z(o,{key:0,"allow-multiple":!0,"filter-label":e.$gettext("Groups"),"filterable-attributes":["displayName"],items:e.groups,"option-filter-label":e.$gettext("Filter groups"),"show-option-filter":!0,class:"mr-2","display-name-attribute":"displayName","filter-name":"groups",onSelectionChange:e.filterGroups},{image:M(({item:h})=>[E(i,{width:32,userid:h.id,"user-name":h.displayName},null,8,["userid","user-name"])]),item:M(({item:h})=>[w("div",{class:"ml-2",textContent:P(h.displayName)},null,8,Ea)]),_:1},8,["filter-label","items","option-filter-label","onSelectionChange"])):oe("",!0),t[3]||(t[3]=N()),e.roles.length?(k(),Z(o,{key:1,"allow-multiple":!0,"filter-label":e.$gettext("Roles"),"filterable-attributes":["displayName"],items:e.roles,"option-filter-label":e.$gettext("Filter roles"),"show-option-filter":!0,"display-name-attribute":"displayName","filter-name":"roles",onSelectionChange:e.filterRoles},{image:M(({item:h})=>[E(i,{width:32,userid:h.id,"user-name":e.$gettext(h.displayName)},null,8,["userid","user-name"])]),item:M(({item:h})=>[w("div",{class:"ml-2",textContent:P(e.$gettext(h.displayName))},null,8,$a)]),_:1},8,["filter-label","items","option-filter-label","onSelectionChange"])):oe("",!0)]),t[5]||(t[5]=N()),w("div",Pa,[E(p,{id:"users-filter",modelValue:e.filterTermDisplayName,"onUpdate:modelValue":t[0]||(t[0]=h=>e.filterTermDisplayName=h),modelModifiers:{trim:!0},class:"w-3xs",label:e.$gettext("Search"),autocomplete:"off",onKeypress:or(e.filterDisplayName,["enter"])},null,8,["modelValue","label","onKeypress"]),t[4]||(t[4]=N()),De((k(),Z(f,{id:"users-filter-confirm",class:"ml-1 p-1 mt-5",appearance:"raw","aria-label":e.$gettext("Search users"),onClick:e.filterDisplayName},{default:M(()=>[E(u,{name:"search","fill-type":"line","aria-hidden":"true"})]),_:1},8,["aria-label","onClick"])),[[d,e.$gettext("Search")]])])]),noResults:M(()=>[e.isFilteringMandatory&&!e.isFilteringActive?(k(),Z(b,{key:0,"img-src":"/images/empty-states/empty-users.svg"},{message:M(()=>[w("span",{textContent:P(e.$gettext("No users found"))},null,8,qa)]),callToAction:M(()=>[w("span",{textContent:P(e.$gettext("Please specify a filter to see results"))},null,8,za)]),_:1})):(k(),Z(b,{key:1,"img-src":"/images/empty-states/empty-users.svg"},{message:M(()=>[w("span",{textContent:P(e.$gettext("No users found"))},null,8,xa)]),callToAction:M(()=>[w("span",{textContent:P(e.$gettext("Try refining the search term or filters to get results"))},null,8,Ma)]),_:1}))]),_:1},8,["is-loading","roles","class"])]),_:1},8,["breadcrumbs","side-bar-available-panels","side-bar-panel-context","side-bar-loading","show-batch-actions","batch-actions","batch-action-items"])}const Oa=ge(Fa,[["render",Ra]]),ja=ee({name:"ContextActions",components:{ContextActionMenu:ts},props:{actionOptions:{type:Object,required:!0}},setup(e){const{actions:t}=ss(),{actions:r}=Zs(),{actions:a}=ua(),n=F(()=>[...s(a),...s(r)].filter(i=>i.isVisible(e.actionOptions))),m=F(()=>[...s(t)].filter(i=>i.isVisible(e.actionOptions)));return{menuSections:F(()=>{const i=[];return s(n).length&&i.push({name:"primaryActions",items:s(n)}),s(m).length&&i.push({name:"sidebar",items:s(m)}),i})}}});function Ia(e,t,r,a,n,m){const l=x("context-action-menu");return k(),O("div",null,[E(l,{"menu-sections":e.menuSections,"action-options":e.actionOptions},null,8,["menu-sections","action-options"])])}const Ta=ge(ja,[["render",Ia]]),Va=ee({name:"GroupInfoBox",props:{group:{type:Object,required:!0}},setup(e){const t=F(()=>e.group),{$ngettext:r}=re();return{groupMembersText:F(()=>r("%{groupCount} member","%{groupCount} members",s(t).members.length,{groupCount:s(t).members.length.toString()}))}}}),Ba={class:"flex flex-col items-center mb-6"},La=["textContent"],_a=["textContent"];function Qa(e,t,r,a,n,m){const l=x("OcAvatar");return k(),O("div",Ba,[E(l,{class:"mb-4",width:80,userid:e.group.id,"user-name":e.group.displayName,"background-color":"var(--oc-role-secondary)"},null,8,["userid","user-name"]),t[0]||(t[0]=N()),w("span",{class:"text-role-on-surface-variant text-2xl",textContent:P(e.group.displayName)},null,8,La),t[1]||(t[1]=N()),w("span",{class:"text-role-on-surface-variant",textContent:P(e.groupMembersText)},null,8,_a)])}const Js=ge(Va,[["render",Qa]]),Ha=ee({name:"DetailsPanel",components:{GroupInfoBox:Js},props:{groups:{type:Array,required:!0}},computed:{group(){return this.groups.length===1?this.groups[0]:null},noGroups(){return!this.groups.length},multipleGroups(){return this.groups.length>1},multipleGroupsSelectedText(){return this.$gettext("%{count} groups selected",{count:this.groups.length.toString()})}}}),Wa={key:0,class:"flex flex-col items-center text-center mt-12"},Ka=["textContent"],Za={key:1,id:"oc-groups-details-multiple-sidebar",class:"flex flex-col items-center p-4 bg-role-surface-container rounded-sm"},Ya={key:2,id:"oc-group-details-sidebar",class:"p-4 bg-role-surface-container rounded-sm"},Ja=["aria-label"],Xa=["textContent"],ei=["textContent"];function ti(e,t,r,a,n,m){const l=x("oc-icon"),i=x("GroupInfoBox");return k(),O(ye,null,[e.noGroups?(k(),O("div",Wa,[E(l,{name:"group-2",size:"xxlarge"}),t[0]||(t[0]=N()),w("p",{textContent:P(e.$gettext("Select a group to view details"))},null,8,Ka)])):oe("",!0),t[4]||(t[4]=N()),e.multipleGroups?(k(),O("div",Za,[E(l,{name:"group-2",size:"xxlarge"}),t[1]||(t[1]=N()),w("p",null,P(e.multipleGroupsSelectedText),1)])):oe("",!0),t[5]||(t[5]=N()),e.group?(k(),O("div",Ya,[E(i,{group:e.group},null,8,["group"]),t[3]||(t[3]=N()),w("p",{class:"table p-1","aria-label":e.$gettext("Overview of the information about the selected group")},[w("span",{class:"pr-2 font-semibold",textContent:P(e.$gettext("Group name"))},null,8,Xa),t[2]||(t[2]=N()),w("span",{textContent:P(e.group.displayName)},null,8,ei)],8,Ja)])):oe("",!0)],64)}const si=ge(Ha,[["render",ti]]),ri=ee({name:"EditPanel",components:{GroupInfoBox:Js,CompareSaveDialog:Ts},props:{group:{type:Object,required:!0,default:null}},emits:["confirm"],setup(){const e=ke(),{showErrorMessage:t}=Ee(),r=Ze(),{$gettext:a}=re(),n=V({}),m=V({displayName:{errorMessage:"",valid:!0}});return{clientService:e,editGroup:n,formData:m,onEditGroup:async i=>{try{const o=e.graphAuthenticated;await o.groups.editGroup(i.id,i);const p=await o.groups.getGroup(i.id);return r.upsertGroup(p),fe.publish("sidebar.entity.saved"),p}catch(o){console.error(o),t({title:a("Failed to edit group"),errors:[o]})}}}},computed:{invalidFormData(){return Object.values(this.formData).map(e=>!!e.valid).includes(!1)}},watch:{group:{handler:function(){this.editGroup={...this.group}},deep:!0,immediate:!0}},methods:{async validateDisplayName(){if(this.formData.displayName.valid=!1,this.editGroup.displayName.trim()==="")return this.formData.displayName.errorMessage=this.$gettext("Group name cannot be empty"),!1;if(this.editGroup.displayName.length>255)return this.formData.displayName.errorMessage=this.$gettext("Group name cannot exceed 255 characters"),!1;if(this.group.displayName!==this.editGroup.displayName)try{return await this.clientService.graphAuthenticated.groups.getGroup(this.editGroup.displayName),this.formData.displayName.errorMessage=this.$gettext('Group "%{groupName}" already exists',{groupName:this.editGroup.displayName}),!1}catch{}return this.formData.displayName.errorMessage="",this.formData.displayName.valid=!0,!0},revertChanges(){this.editGroup={...this.group},Object.values(this.formData).forEach(e=>{e.valid=!0,e.errorMessage=""})}}}),ni={id:"group-edit-panel",class:"mt-12"},oi={id:"group-edit-form",class:"bg-role-surface-container p-4 rounded-t-sm",autocomplete:"off"};function ai(e,t,r,a,n,m){const l=x("group-info-box"),i=x("oc-text-input"),o=x("compare-save-dialog");return k(),O("div",ni,[E(l,{group:e.group},null,8,["group"]),t[3]||(t[3]=N()),w("form",oi,[E(i,{id:"displayName-input",modelValue:e.editGroup.displayName,"onUpdate:modelValue":[t[0]||(t[0]=p=>e.editGroup.displayName=p),e.validateDisplayName],class:"mb-2",label:e.$gettext("Group name"),"error-message":e.formData.displayName.errorMessage,"fix-message-line":!0,"required-mark":""},null,8,["modelValue","label","error-message","onUpdate:modelValue"]),t[2]||(t[2]=N()),E(o,{class:"mb-6 rounded-b-sm","original-object":e.group,"compare-object":e.editGroup,"confirm-button-disabled":e.invalidFormData,onRevert:e.revertChanges,onConfirm:t[1]||(t[1]=p=>e.onEditGroup(e.editGroup))},null,8,["original-object","compare-object","confirm-button-disabled","onRevert"])])])}const ii=ge(ri,[["render",ai]]),ui=ee({name:"GroupsList",components:{NoContentMessage:We,ContextMenuQuickAction:Ht,Pagination:Qt},setup(){const{$gettext:e}=re(),{y:t}=Wt("#admin-settings-app-bar"),r=V({}),a=V("displayName"),n=V(Te.Asc),m=V(""),l=_t(),i=at(),{isSticky:o}=rt(),{openSideBar:p,openSideBarPanel:u}=xe(),f=V(0),b=V(),y=Ze(),{groups:c,selectedGroups:d}=ve(y),h=_=>s(d).some(Q=>Q.id===_.id),G=_=>{if(f.value=Ae(s(c),z=>z.id===_.id),b.value=_.id,de.resetSelectionCursor(),!s(d).find(z=>z.id===_.id))return y.addSelectedGroup(_);y.setSelectedGroups(s(d).filter(z=>z.id!==_.id))},$=()=>{y.setSelectedGroups([])},U=_=>{y.setSelectedGroups(_)},S=_=>{h(_)||G(_),p()},D=_=>{const Q=_[0],z=_[1],K=(z?.target).getAttribute("type")==="checkbox";if(z?.target?.closest("div")?.id!=="oc-files-context-menu"){if(z?.metaKey)return fe.publish("app.resources.list.clicked.meta",Q);if(z?.shiftKey)return fe.publish("app.resources.list.clicked.shift",{resource:Q,skipTargetSelection:K});K||($(),G(Q))}},j=(_,Q)=>{s(r)[Q.id]?.show({event:_})},X=(_,Q)=>{_.preventDefault(),h(Q)||y.setSelectedGroups([Q]),s(r)[Q.id]?.show({event:_,useMouseAnchor:!0})},ae=_=>{h(_)||G(_),u("EditPanel")},se=F(()=>e("This group is read-only and can't be edited")),T=(_,Q)=>(Q||"").trim()?new ut(_,{...lt,keys:["displayName"]}).search(Q).map(K=>K.item):_,ne=(_,Q,z)=>[..._].sort((K,g)=>{const v=K[Q]?.toString()||"",A=g[Q]?.toString()||"";return z?A.localeCompare(v):v.localeCompare(A)}),ie=F(()=>ne(T(s(c),s(m)),s(a),s(n)===Te.Desc)),{items:ce,page:pe,total:Ce}=Kt({items:ie,perPageDefault:dt,perPageStoragePrefix:is}),de=es();us(de,ce,d,f,b),ls(de,ce,d,f,b);const Se=F(()=>[{name:"select",title:"",type:"slot",width:"shrink",headerType:"slot"},{name:"avatar",title:"",type:"slot",width:"shrink",headerType:"slot",sortable:!1},{name:"displayName",title:e("Group name"),type:"slot",sortable:!0,tdClass:"mark-element"},{name:"members",title:e("Members"),type:"slot",sortable:!0},{name:"actions",title:e("Actions"),sortable:!1,type:"slot",alignH:"right"}]);he(pe,()=>{$()}),he(m,async()=>{await s(l).push({...s(i),query:{...s(i).query,page:"1"}})});let me;return ze(async()=>{await Lt(),me=new _e(".mark-element")}),he([m,ce],()=>{me?.unmark(),s(m)&&me?.mark(s(m),{element:"span",className:"mark-highlight"})}),{showDetails:S,rowClicked:D,isGroupSelected:h,showContextMenuOnBtnClick:j,showContextMenuOnRightClick:X,fileListHeaderY:t,contextMenuDrops:r,showEditPanel:ae,readOnlyLabel:se,filterTerm:m,sortBy:a,sortDir:n,items:ie,paginatedItems:ce,currentPage:pe,totalPages:Ce,filter:T,orderBy:ne,selectedGroups:d,unselectAllGroups:$,selectGroups:U,selectGroup:G,groups:c,isSticky:o,fields:Se}},computed:{allGroupsSelected(){return this.paginatedItems.length===this.selectedGroups.length},footerTextTotal(){return this.$gettext("%{groupCount} groups in total",{groupCount:this.groups.length.toString()})},footerTextFilter(){return this.$gettext("%{groupCount} matching groups",{groupCount:this.items.length.toString()})},highlighted(){return this.selectedGroups.map(e=>e.id)}},methods:{handleSort(e){this.sortBy=e.sortBy,this.sortDir=e.sortDir},getSelectGroupLabel(e){return this.$gettext("Select %{ group }",{group:e.displayName})}}}),li={class:"group-filters flex justify-end flex-wrap items-end mx-4 mb-4"},di=["textContent"],ci=["textContent"],pi={class:"sr-only"},gi={class:"flex items-center"},mi={class:"text-center w-full my-2"},fi={class:"text-role-on-surface-variant"},hi={key:0,class:"text-role-on-surface-variant"};function bi(e,t,r,a,n,m){const l=x("oc-text-input"),i=x("no-content-message"),o=x("oc-checkbox"),p=x("OcAvatar"),u=x("oc-icon"),f=x("oc-button"),b=x("context-menu-quick-action"),y=x("pagination"),c=x("oc-table"),d=tt("oc-tooltip");return k(),O(ye,null,[w("div",li,[E(l,{id:"groups-filter",modelValue:e.filterTerm,"onUpdate:modelValue":t[0]||(t[0]=h=>e.filterTerm=h),class:"w-3xs",label:e.$gettext("Search"),autocomplete:"off"},null,8,["modelValue","label"])]),t[15]||(t[15]=N()),e.items.length?(k(),Z(c,{key:1,"sort-by":e.sortBy,"sort-dir":e.sortDir,fields:e.fields,data:e.paginatedItems,highlighted:e.highlighted,sticky:e.isSticky,"header-position":e.fileListHeaderY,hover:!0,"padding-x":"medium",onSort:e.handleSort,onContextmenuClicked:t[2]||(t[2]=(h,G,$)=>e.showContextMenuOnRightClick(G,$)),onHighlight:e.rowClicked},{selectHeader:M(()=>[E(o,{size:"large",label:e.$gettext("Select all groups"),"model-value":e.allGroupsSelected,"label-hidden":!0,"onUpdate:modelValue":t[1]||(t[1]=h=>e.allGroupsSelected?e.unselectAllGroups():e.selectGroups(e.paginatedItems))},null,8,["label","model-value"])]),avatarHeader:M(()=>[w("span",pi,P(e.$gettext("Avatar")),1)]),select:M(h=>[E(o,{size:"large","model-value":e.isGroupSelected(h.item),option:h.item,label:e.getSelectGroupLabel(h.item),"label-hidden":!0,"onUpdate:modelValue":G=>e.selectGroup(h.item),onClick:Ve(G=>e.rowClicked([h.item,G]),["stop"])},null,8,["model-value","option","label","onUpdate:modelValue","onClick"])]),avatar:M(h=>[E(p,{width:32,userid:h.item.id,"user-name":h.item.displayName,"background-color":"var(--oc-role-secondary)"},null,8,["userid","user-name"])]),displayName:M(h=>[w("div",gi,[N(P(h.item.displayName)+" ",1),h.item.groupTypes?.includes("ReadOnly")?De((k(),Z(u,{key:0,name:"lock",size:"small","fill-type":"line",class:"ml-2","accessible-label":e.readOnlyLabel},null,8,["accessible-label"])),[[d,e.readOnlyLabel]]):oe("",!0)])]),members:M(h=>[N(P(h.item.members.length),1)]),actions:M(({item:h})=>[De((k(),Z(f,{"aria-label":e.$gettext("Show details"),appearance:"raw",class:"ml-1 quick-action-button p-1 groups-table-btn-details",onClick:G=>e.showDetails(h)},{default:M(()=>[E(u,{name:"information","fill-type":"line"})]),_:1},8,["aria-label","onClick"])),[[d,e.$gettext("Show details")]]),t[4]||(t[4]=N()),h.groupTypes?.includes("ReadOnly")?oe("",!0):De((k(),Z(f,{key:0,"aria-label":e.$gettext("Edit"),appearance:"raw",class:"ml-1 quick-action-button p-1 groups-table-btn-edit",onClick:G=>e.showEditPanel(h)},{default:M(()=>[E(u,{name:"pencil","fill-type":"line"})]),_:1},8,["aria-label","onClick"])),[[d,e.$gettext("Edit")]]),t[5]||(t[5]=N()),E(b,{ref:G=>e.contextMenuDrops[h.id]=G?.drop,item:h,title:h.displayName,class:"groups-table-btn-action-dropdown",onQuickActionClicked:G=>e.showContextMenuOnBtnClick(G,h)},{contextMenu:M(()=>[qe(e.$slots,"contextMenu",{group:h})]),_:2},1032,["item","title","onQuickActionClicked"])]),footer:M(()=>[E(y,{pages:e.totalPages,"current-page":e.currentPage},null,8,["pages","current-page"]),t[7]||(t[7]=N()),w("div",mi,[w("p",fi,P(e.footerTextTotal),1),t[6]||(t[6]=N()),e.filterTerm?(k(),O("p",hi,P(e.footerTextFilter),1)):oe("",!0)])]),_:3},8,["sort-by","sort-dir","fields","data","highlighted","sticky","header-position","onSort","onHighlight"])):(k(),Z(i,{key:0,id:"admin-settings-groups-empty","img-src":"/images/empty-states/empty-groups.svg"},{message:M(()=>[w("span",{textContent:P(e.$gettext("No groups found"))},null,8,di)]),callToAction:M(()=>[w("span",{textContent:P(e.$gettext("Try refining the search term or filters to get results"))},null,8,ci)]),_:1}))],64)}const yi=ge(ui,[["render",bi]]),vi=ee({name:"MembersRoleSection",components:{UserAvatar:nt},props:{groupMembers:{type:Array,required:!1,default:()=>[]}}}),Ci={class:"oc-list"},Si=["title"];function wi(e,t,r,a,n,m){const l=x("user-avatar");return k(),O("ul",Ci,[(k(!0),O(ye,null,st(e.groupMembers,(i,o)=>(k(),O("li",{key:o,class:"flex items-center mb-2","data-testid":"group-members-list"},[E(l,{"user-id":i.id,"user-name":i.displayName,class:"mr-2"},null,8,["user-id","user-name"]),t[0]||(t[0]=N()),w("span",{class:"truncate",title:i.displayName},P(i.displayName),9,Si)]))),128))])}const Ai=ge(vi,[["render",wi]]),ki={class:"ml-2"},Ni={key:0},Ui=["textContent"],Gi={key:1,class:"mb-4","data-testid":"group-members"},Fi=["textContent"],Di=ee({__name:"MembersPanel",setup(e){const t=et("group"),r=V(""),a=Ie("membersListRef"),n=(o,p)=>(p||"").trim()?new ut(o,{...lt,keys:["displayName"]}).search(p).map(f=>f.item):o,m=F(()=>t?s(t).members.sort((o,p)=>o.displayName.localeCompare(p.displayName)):[]),l=F(()=>n(s(m),s(r)));let i;return he(r,()=>{if(s(a)){i=new _e(s(a)),i.unmark();const o=s(r);i.mark(o,{element:"span",className:"mark-highlight"})}}),(o,p)=>{const u=x("oc-text-input");return k(),O("div",ki,[E(u,{modelValue:r.value,"onUpdate:modelValue":p[0]||(p[0]=f=>r.value=f),class:"mr-2 mt-4",label:o.$gettext("Filter members")},null,8,["modelValue","label"]),p[3]||(p[3]=N()),w("div",{ref_key:"membersListRef",ref:a,"data-testid":"space-members"},[l.value.length?oe("",!0):(k(),O("div",Ni,[w("h3",{class:"font-semibold text-base",textContent:P(o.$gettext("No members found"))},null,8,Ui)])),p[2]||(p[2]=N()),l.value.length?(k(),O("div",Gi,[w("h3",{class:"font-semibold text-base",textContent:P(o.$gettext("Members"))},null,8,Fi),p[1]||(p[1]=N()),E(Ai,{"group-members":l.value},null,8,["group-members"])])):oe("",!0)],512)])}}}),Ei=ee({components:{AppLoadingSpinner:ot,AppTemplate:ct,GroupsList:yi,NoContentMessage:We,ContextActions:Ta},provide(){return{group:F(()=>this.selectedGroups[0])}},setup(){const e=Ie("template"),t=Ze(),{selectedGroups:r,groups:a}=ve(t),n=ke(),{$gettext:m}=re(),l=je(function*(b){const y=yield*Xe(n.graphAuthenticated.groups.listGroups({orderBy:["displayName"],expand:["members"]},{signal:b}));t.setGroups(y||[])}).restartable(),{actions:i}=Zs(),o=F(()=>[...s(i)].filter(b=>b.isVisible({resources:s(r)}))),p=F(()=>l.isRunning||!l.last),u=F(()=>({parent:null,items:s(r)})),f=[{name:"DetailsPanel",icon:"group-2",title:()=>m("Details"),component:si,componentAttrs:()=>({groups:s(r)}),isRoot:()=>!0,isVisible:()=>!0},{name:"EditPanel",icon:"pencil",title:()=>m("Edit group"),component:ii,componentAttrs:({items:b})=>({group:b.length===1?b[0]:null}),isVisible:({items:b})=>b.length===1&&!b[0].groupTypes?.includes("ReadOnly")},{name:"GroupMembers",icon:"group",title:()=>m("Members"),component:Di,isVisible:({items:b})=>b.length===1}];return ze(async()=>{await l.perform()}),Le(()=>{t.reset()}),{groups:a,selectedGroups:r,template:e,loadResourcesTask:l,clientService:n,batchActions:o,sideBarAvailablePanels:f,sideBarPanelContext:u,groupSettingsStore:t,isLoading:p}},computed:{breadcrumbs(){return[{text:this.$gettext("Groups"),onClick:()=>{this.groupSettingsStore.setSelectedGroups([]),this.loadResourcesTask.perform()}}]}}}),$i=["textContent"],Pi=["textContent"];function qi(e,t,r,a,n,m){const l=x("app-loading-spinner"),i=x("no-content-message"),o=x("context-actions"),p=x("groups-list"),u=x("app-template");return k(),Z(u,{ref:"template",loading:e.loadResourcesTask.isRunning||!e.loadResourcesTask.last,breadcrumbs:e.breadcrumbs,"side-bar-available-panels":e.sideBarAvailablePanels,"side-bar-panel-context":e.sideBarPanelContext,"show-batch-actions":!!e.selectedGroups.length,"batch-actions":e.batchActions,"batch-action-items":e.selectedGroups,"show-view-options":!0},{mainContent:M(()=>[e.isLoading?(k(),Z(l,{key:0})):(k(),O(ye,{key:1},[e.groups.length?(k(),Z(p,{key:1},{contextMenu:M(()=>[E(o,{"action-options":{resources:e.selectedGroups}},null,8,["action-options"])]),_:1})):(k(),Z(i,{key:0,id:"admin-settings-groups-empty","img-src":"/images/empty-states/empty-groups.svg"},{message:M(()=>[w("span",{textContent:P(e.$gettext("No groups found"))},null,8,$i)]),callToAction:M(()=>[w("span",{textContent:P(e.$gettext("Create a new group and it will show up here"))},null,8,Pi)]),_:1}))],64))]),_:1},8,["loading","breadcrumbs","side-bar-available-panels","side-bar-panel-context","show-batch-actions","batch-actions","batch-action-items"])}const zi=ge(Ei,[["render",qi]]),xi={class:"space-filters flex justify-end flex-wrap items-end mx-4 mb-4"},Mi=["textContent"],Ri=["textContent"],Oi={class:"sr-only"},ji={class:"sr-only"},Ii={class:"sr-only"},Ti=["data-test-space-name","textContent"],Vi=["textContent"],Bi={class:"flex items-center"},Li={class:"spaces-list-actions"},_i={class:"text-center w-full my-2"},Qi={class:"text-role-on-surface-variant"},Hi={key:0,class:"text-role-on-surface-variant"},Wi=ee({__name:"SpacesList",setup(e){const t=_t(),r=at(),a=re(),{$gettext:n}=a,{isSticky:m}=rt(),l=Bs(),{openSideBar:i}=xe(),{y:o}=Wt("#admin-settings-app-bar"),p=V({}),u=V("name"),f=V(Te.Asc),b=V(""),y=V(0),c=V(),d=cs(),{spaces:h,selectedSpaces:G}=ve(d),$=F(()=>s(G).map(R=>R.id)),U=F(()=>n("%{spaceCount} spaces in total",{spaceCount:s(h).length.toString()})),S=F(()=>n("%{spaceCount} matching spaces",{spaceCount:s(j).length.toString()})),D=(R,I,te)=>[...R].sort((le,be)=>{let we,C;const $e=["totalQuota","usedQuota","remainingQuota"].includes(I);switch(I){case"members":we=K(le).toString(),C=K(be).toString();break;case"totalQuota":we=(le.spaceQuota.total||0).toString(),C=(be.spaceQuota.total||0).toString();break;case"usedQuota":we=(le.spaceQuota.used||0).toString(),C=(be.spaceQuota.used||0).toString();break;case"remainingQuota":we=(le.spaceQuota.remaining||0).toString(),C=(be.spaceQuota.remaining||0).toString();break;case"status":we=le.disabled.toString(),C=be.disabled.toString();break;default:we=le[I].toString()||"",C=be[I].toString()||""}return te?C.localeCompare(we,void 0,{numeric:$e}):we.localeCompare(C,void 0,{numeric:$e})}),j=F(()=>D(ce(s(h),s(b)),s(u),s(f)===Te.Desc)),{items:X,page:ae,total:se}=Kt({items:j,perPageDefault:dt,perPageStoragePrefix:is}),T=es();us(T,X,G,y,c),ls(T,X,G,y,c),he(ae,()=>{L()});const ne=F(()=>s(X).length===s(G).length),ie=R=>{u.value=R.sortBy,f.value=R.sortDir},ce=(R,I)=>(I||"").trim()?new ut(R,{...lt,keys:["name"]}).search(I).map(le=>le.item):R,pe=R=>s(G).some(I=>I.id===R.id),Ce=F(()=>[{name:"select",title:"",type:"slot",width:"shrink",headerType:"slot"},{name:"icon",title:"",type:"slot",width:"shrink",headerType:"slot",sortable:!1},{name:"name",title:n("Name"),type:"slot",sortable:!0,tdClass:"mark-element",width:"expand"},{name:"status",title:n("Status"),type:"slot",sortable:!0},{name:"manager",title:n("Manager"),type:"slot"},{name:"members",title:n("Members"),type:"slot",sortable:!0},{name:"totalQuota",title:n("Total quota"),type:"slot",sortable:!0},{name:"usedQuota",title:n("Used quota"),type:"slot",sortable:!0},{name:"remainingQuota",title:n("Remaining quota"),type:"slot",sortable:!0},{name:"mdate",title:n("Modified"),type:"slot",sortable:!0},{name:"actions",title:n("Actions"),sortable:!1,type:"slot",alignH:"right"}]),de=R=>{const I=Fr(R,l.graphRoles);if(!I?.length)return"-";let le=(I.length>2?I.slice(0,2):I).map(({grantedToV2:be})=>(be.user||be.group).displayName).join(", ");return I.length>2&&(le+=`... +${I.length-2}`),le},Se=R=>jr(new Date(R),a.current),me=R=>Ir(new Date(R),a.current),_=R=>R.spaceQuota.total===0?n("Unrestricted"):Je(R.spaceQuota.total,a.current),Q=R=>R.spaceQuota.used===void 0?"-":Je(R.spaceQuota.used,a.current),z=R=>R.spaceQuota.total===0?n("Unrestricted"):R.spaceQuota.remaining===void 0?"-":Je(R.spaceQuota.remaining,a.current),K=R=>R.root.permissions?.length||1,g=R=>n("Select %{ space }",{space:R.name});let v;ze(()=>{Lt(()=>{v=new _e(".mark-element")})}),he(b,async()=>{await s(t).push({...s(r),query:{...s(r).query,page:"1"}})}),he([b,X],()=>{v?.unmark(),v?.mark(s(b),{element:"span",className:"mark-highlight"})});const A=R=>{const I=R[0],te=R[1],le=(te?.target).getAttribute("type")==="checkbox";if(te?.target?.closest("div")?.id!=="oc-files-context-menu"){if(!te.shiftKey&&!te.metaKey&&!te.ctrlKey&&fe.publish("app.files.shiftAnchor.reset"),te?.metaKey)return fe.publish("app.resources.list.clicked.meta",I);if(te?.shiftKey)return fe.publish("app.resources.list.clicked.shift",{resource:I,skipTargetSelection:le});le||(L(),q(I))}},B=(R,I)=>{s(p)[I.id]?.show({event:R})},H=(R,I)=>{R.preventDefault(),pe(I)||d.setSelectedSpaces([I]),s(p)[I.id]?.show({event:R,useMouseAnchor:!0})},J=F(()=>n("Show details")),W=R=>{q(R),i()},q=R=>{if(y.value=Ae(s(h),te=>te.id===R.id),c.value=R.id,T.resetSelectionCursor(),!s(G).find(te=>te.id===R.id))return d.addSelectedSpace(R);d.setSelectedSpaces(s(G).filter(te=>te.id!==R.id))},L=()=>{d.setSelectedSpaces([])},ue=R=>{d.setSelectedSpaces(R)};return(R,I)=>{const te=x("oc-text-input"),le=x("oc-checkbox"),be=x("oc-icon"),we=x("oc-button"),C=x("oc-table"),$e=tt("oc-tooltip");return k(),O(ye,null,[w("div",xi,[E(te,{id:"spaces-filter",modelValue:b.value,"onUpdate:modelValue":I[0]||(I[0]=Y=>b.value=Y),class:"w-3xs",label:s(n)("Search"),autocomplete:"off"},null,8,["modelValue","label"])]),I[22]||(I[22]=N()),j.value.length?(k(),Z(C,{key:1,class:"settings-spaces-table","sort-by":u.value,"sort-dir":f.value,fields:Ce.value,data:s(X),highlighted:$.value,sticky:s(m),"header-position":s(o),hover:!0,"padding-x":"medium",onSort:ie,onContextmenuClicked:I[2]||(I[2]=(Y,Fe,Xs)=>H(Fe,Xs)),onHighlight:A},{selectHeader:M(()=>[w("span",Oi,P(s(n)("Select spaces")),1),I[4]||(I[4]=N()),E(le,{size:"large",label:s(n)("Select all spaces"),"model-value":ne.value,"label-hidden":!0,"onUpdate:modelValue":I[1]||(I[1]=Y=>ne.value?L():ue(s(X)))},null,8,["label","model-value"])]),iconHeader:M(()=>[w("span",ji,P(s(n)("Icon")),1)]),avatarHeader:M(()=>[w("span",Ii,P(s(n)("Avatar")),1)]),select:M(({item:Y})=>[E(le,{size:"large","model-value":pe(Y),option:Y,label:g(Y),"label-hidden":!0,"onUpdate:modelValue":Fe=>q(Y),onClick:Ve(Fe=>A([Y,Fe]),["stop"])},null,8,["model-value","option","label","onUpdate:modelValue","onClick"])]),icon:M(()=>[E(be,{name:"layout-grid"})]),name:M(({item:Y})=>[w("span",{"data-test-space-name":Y.name,textContent:P(Y.name)},null,8,Ti)]),manager:M(({item:Y})=>[N(P(de(Y)),1)]),members:M(({item:Y})=>[N(P(K(Y)),1)]),totalQuota:M(({item:Y})=>[N(P(_(Y)),1)]),usedQuota:M(({item:Y})=>[N(P(Q(Y)),1)]),remainingQuota:M(({item:Y})=>[N(P(z(Y)),1)]),mdate:M(({item:Y})=>[De(w("span",{tabindex:"0",textContent:P(me(Y.mdate))},null,8,Vi),[[$e,Se(Y.mdate)]])]),status:M(({item:Y})=>[w("span",Bi,[De(E(be,{name:Y.disabled?"stop-circle":"play-circle",size:"small","fill-type":"line"},null,8,["name"]),[[$e,Y.disabled?s(n)("Disabled"):s(n)("Enabled")]])])]),actions:M(({item:Y})=>[w("div",Li,[De((k(),Z(we,{"aria-label":J.value,appearance:"raw",class:"ml-1 quick-action-button p-1 spaces-table-btn-details",onClick:Ve(Fe=>W(Y),["stop","prevent"])},{default:M(()=>[E(be,{name:"information","fill-type":"line"})]),_:1},8,["aria-label","onClick"])),[[$e,J.value]]),I[5]||(I[5]=N()),E(s(Ht),{ref:Fe=>p.value[Y.id]=Fe?.drop,item:Y,title:Y.name,class:"spaces-table-btn-action-dropdown",onQuickActionClicked:Fe=>B(Fe,Y)},{contextMenu:M(()=>[qe(R.$slots,"contextMenu",{space:Y})]),_:2},1032,["item","title","onQuickActionClicked"])])]),footer:M(()=>[E(s(Qt),{pages:s(se),"current-page":s(ae)},null,8,["pages","current-page"]),I[7]||(I[7]=N()),w("div",_i,[w("p",Qi,P(U.value),1),I[6]||(I[6]=N()),b.value?(k(),O("p",Hi,P(S.value),1)):oe("",!0)])]),_:3},8,["sort-by","sort-dir","fields","data","highlighted","sticky","header-position"])):(k(),Z(s(We),{key:0,id:"admin-settings-spaces-empty","img-src":"/images/empty-states/empty-spaces.svg"},{message:M(()=>[w("span",{textContent:P(s(n)("No spaces found"))},null,8,Mi)]),callToAction:M(()=>[w("span",{textContent:P(s(n)("Try refining the search term or filters to get results"))},null,8,Ri)]),_:1}))],64)}}}),Ki=ee({name:"ContextActions",components:{ContextActionMenu:ts},props:{items:{type:Array,required:!0}},setup(e){const t=F(()=>({resources:e.items})),{actions:r}=Zt(),{actions:a}=Yt(),{actions:n}=Jt(),{actions:m}=js(),{actions:l}=Is(),{actions:i}=Xt(),{actions:o}=ss(),p=F(()=>[...s(l),...s(m)].filter(y=>y.isVisible(s(t)))),u=F(()=>[...s(n),...s(a),...s(i),...s(r)].filter(y=>y.isVisible(s(t)))),f=F(()=>[...s(o)].filter(y=>y.isVisible(s(t))));return{menuSections:F(()=>{const y=[];return s(p).length&&y.push({name:"primaryActions",items:s(p)}),s(u).length&&y.push({name:"secondaryActions",items:s(u)}),s(f).length&&y.push({name:"sidebar",items:s(f)}),y})}}});function Zi(e,t,r,a,n,m){const l=x("context-action-menu");return k(),O("div",null,[E(l,{"menu-sections":e.menuSections,"action-options":{resources:e.items}},null,8,["menu-sections","action-options"])])}const Yi=ge(Ki,[["render",Zi]]),Ji={class:"oc-list"},Rs=ee({__name:"MembersRoleSection",props:{permissions:{}},setup(e){const t=r=>r.grantedToV2.user?.displayName||r.grantedToV2.group?.displayName||"";return(r,a)=>{const n=x("oc-avatar-item");return k(),O("ul",Ji,[(k(!0),O(ye,null,st(e.permissions,(m,l)=>(k(),O("li",{key:l,class:"flex items-center mb-2","data-testid":"space-members-list"},[m.grantedToV2.user?(k(),Z(s(nt),{key:0,"user-id":m.grantedToV2.user.id,"user-name":t(m),class:"mr-2"},null,8,["user-id","user-name"])):(k(),Z(n,{key:1,width:36,"icon-size":"medium",icon:s(ar).group.icon,name:"group",class:"mr-2"},null,8,["icon"])),N(" "+P(t(m)),1)]))),128))])}}}),Xi={class:"ml-2"},eu={key:0},tu=["textContent"],su=["data-testid"],ru=["textContent"],nu={key:1,class:"space-members-custom"},ou=["textContent"],au=ee({__name:"MembersPanel",setup(e){const t=Bs(),r=et("resource"),a=V(""),n=Ie("membersListRef"),m=(b,y)=>(y||"").trim()?new ut(b,{...lt,keys:["grantedToV2.user.displayName","grantedToV2.group.displayName"]}).search(y).map(d=>d.item):b,l=F(()=>Object.values(s(r).root.permissions)),i=F(()=>m(s(l),s(a))),o=F(()=>{const b=s(l).filter(c=>!!c.roles.length);return[...new Set(b.map(c=>c.roles).flat())].map(c=>t.graphRoles[c]).filter(Boolean).sort((c,d)=>{const h=c.rolePermissions.flatMap($=>$.allowedResourceActions);return d.rolePermissions.flatMap($=>$.allowedResourceActions).length-h.length})}),p=F(()=>s(i).filter(({roles:b})=>!b.length)),u=b=>s(i).filter(({roles:y})=>y.includes(b.id));let f;return he(a,()=>{s(n)&&(f=new _e(s(n)),f.unmark(),f.mark(s(a),{element:"span",className:"mark-highlight"}))}),(b,y)=>{const c=x("oc-text-input");return k(),O("div",Xi,[E(c,{modelValue:a.value,"onUpdate:modelValue":y[0]||(y[0]=d=>a.value=d),class:"mr-2 mt-4",label:b.$gettext("Filter members")},null,8,["modelValue","label"]),y[5]||(y[5]=N()),w("div",{ref_key:"membersListRef",ref:n,"data-testid":"space-members"},[i.value.length?oe("",!0):(k(),O("div",eu,[w("h3",{class:"font-semibold text-base",textContent:P(b.$gettext("No members found"))},null,8,tu)])),y[3]||(y[3]=N()),(k(!0),O(ye,null,st(o.value,(d,h)=>(k(),O("div",{key:h},[u(d).length?(k(),O("div",{key:0,class:"mb-4","data-testid":`space-members-role-${d.displayName}`},[w("h3",{class:"font-semibold text-base",textContent:P(d.displayName)},null,8,ru),y[1]||(y[1]=N()),E(Rs,{permissions:u(d)},null,8,["permissions"])],8,su)):oe("",!0)]))),128)),y[4]||(y[4]=N()),p.value.length?(k(),O("div",nu,[w("h3",{class:"font-semibold text-base",textContent:P(b.$gettext("Custom role"))},null,8,ou),y[2]||(y[2]=N()),E(Rs,{permissions:p.value},null,8,["permissions"])])):oe("",!0)],512)])}}}),iu=ee({__name:"ActionsPanel",setup(e){const t=et("resource"),r=F(()=>[s(t)]),a=F(()=>({resources:s(r)})),{actions:n}=Zt(),{actions:m}=Yt(),{actions:l}=js(),{actions:i}=Jt(),{actions:o}=Is(),{actions:p}=Xt(),u=F(()=>[...s(o),...s(l),...s(i),...s(p),...s(n),...s(m)].filter(f=>f.isVisible(s(a))));return(f,b)=>{const y=x("oc-list");return k(),O("div",null,[E(y,{id:"oc-spaces-actions-sidebar",class:"sidebar-actions-panel"},{default:M(()=>[(k(!0),O(ye,null,st(u.value,(c,d)=>(k(),Z(s(Tr),{key:`action-${d}`,action:c,"action-options":a.value},null,8,["action","action-options"]))),128))]),_:1})])}}}),uu=["textContent"],lu=["textContent"],du=ee({__name:"Spaces",setup(e){const t=ke(),{$gettext:r}=re(),a=xe(),{isSideBarOpen:n}=ve(a),{can:m}=rs();let l,i;const o=Ie("template"),p=cs(),{spaces:u,selectedSpaces:f}=ve(p),b=Ne("page","1"),y=F(()=>parseInt(Ge(s(b)))),c=Ne("items-per-page","1"),d=F(()=>parseInt(Ge(s(c)))),h=je(function*(T){const ne=yield*Xe(t.graphAuthenticated.drives.listAllDrives({orderBy:"name asc",filter:"driveType eq project",expand:"root($expand=permissions)"},{signal:T}));p.setSpaces(ne)}),G=F(()=>h.isRunning||!h.last),$=F(()=>[{text:r("Spaces"),onClick:()=>{p.setSelectedSpaces([]),h.perform()}}]),{actions:U}=Zt(),{actions:S}=Yt(),{actions:D}=Jt(),{actions:j}=Xt(),X=F(()=>[...s(D),...s(j),...s(U),...s(S)].filter(T=>T.isVisible({resources:s(f)}))),ae=F(()=>({parent:null,items:s(f)})),se=[{name:"SpaceNoSelection",icon:"layout-grid",title:()=>r("Details"),component:fr,isRoot:()=>!0,isVisible:({items:T})=>T.length===0},{name:"SpaceDetails",icon:"layout-grid",title:()=>r("Details"),component:hr,componentAttrs:()=>({showShareIndicators:!1}),isRoot:()=>!0,isVisible:({items:T})=>T.length===1},{name:"SpaceDetailsMultiple",icon:"layout-grid",title:()=>r("Details"),component:br,componentAttrs:({items:T})=>({selectedSpaces:T}),isRoot:()=>!0,isVisible:({items:T})=>T.length>1},{name:"SpaceActions",icon:"play-circle",iconFillType:"line",title:()=>r("Actions"),component:iu,isVisible:({items:T})=>T.length===1},{name:"SpaceMembers",icon:"group",title:()=>r("Members"),component:au,isVisible:({items:T})=>T.length===1}];return ze(async()=>{await h.perform(),l=fe.subscribe("app.admin-settings.list.load",async()=>{await h.perform(),f.value=[];const T=Math.ceil(s(u).length/s(d));s(y)>1&&s(y)>T&&(b.value=T.toString())}),i=fe.subscribe("app.admin-settings.spaces.space.quota.updated",({spaceId:T,quota:ne})=>{const ie=s(u).find(ce=>ce.id===T);ie&&(ie.spaceQuota=ne)})}),Le(()=>{p.reset(),fe.unsubscribe("app.admin-settings.list.load",l),fe.unsubscribe("app.admin-settings.spaces.space.quota.updated",i)}),ir("resource",F(()=>s(f)[0])),(T,ne)=>(k(),Z(ct,{ref_key:"template",ref:o,loading:s(h).isRunning||!s(h).last,breadcrumbs:$.value,"side-bar-available-panels":se,"side-bar-panel-context":ae.value,"show-batch-actions":!!s(f).length,"batch-actions":X.value,"batch-action-items":s(f),"show-view-options":!0},{sideBarHeader:M(()=>[s(f).length===1?(k(),Z(s(wr),{key:0,"space-resource":s(f)[0]},null,8,["space-resource"])):oe("",!0)]),mainContent:M(()=>[G.value?(k(),Z(s(ot),{key:0})):(k(),O(ye,{key:1},[s(u).length?(k(),Z(Wi,{key:1,class:Vt({"settings-spaces-table-squashed":s(n)})},{contextMenu:M(()=>[E(Yi,{items:s(f)},null,8,["items"])]),_:1},8,["class"])):(k(),Z(s(We),{key:0,id:"admin-settings-spaces-empty","img-src":"/images/empty-states/empty-spaces.svg"},{message:M(()=>[w("span",{textContent:P(s(r)("No spaces found"))},null,8,uu)]),callToAction:M(()=>[w("span",{textContent:P(s(r)("Create a new space and it will show up here"))},null,8,lu)]),_:1}))],64))]),_:1},8,["loading","breadcrumbs","side-bar-panel-context","show-batch-actions","batch-actions","batch-action-items"]))}}),Be="admin-settings",cu={id:"app.admin-settings.floating-action-button",extensionType:"floatingActionButton"},pu=()=>F(()=>[cu]),gu=({$ability:e,$gettext:t})=>[{path:"/",component:ps,beforeEnter:(r,a,n)=>{e.can("read-all","Setting")&&n({name:"admin-settings-general"}),e.can("read-all","Account")&&n({name:"admin-settings-users"}),e.can("read-all","Group")&&n({name:"admin-settings-groups"}),e.can("read-all","Drive")&&n({name:"admin-settings-spaces"}),n({path:"/"})}},{path:"/general",name:"admin-settings-general",component:ps,beforeEnter:(r,a,n)=>{e.can("read-all","Setting")||n({path:"/"}),n()},meta:{authContext:"user",title:t("General")}},{path:"/users",name:"admin-settings-users",component:Oa,beforeEnter:(r,a,n)=>{e.can("read-all","Account")||n({path:"/"}),n()},meta:{authContext:"user",title:t("Users")}},{path:"/groups",name:"admin-settings-groups",component:zi,beforeEnter:(r,a,n)=>{e.can("read-all","Group")||n({path:"/"}),n()},meta:{authContext:"user",title:t("Groups")}},{path:"/spaces",name:"admin-settings-spaces",component:du,beforeEnter:(r,a,n)=>{e.can("read-all","Drive")||n({path:"/"}),n()},meta:{authContext:"user",title:t("Spaces")}}],mu=({$ability:e,$gettext:t})=>[{name:t("General"),icon:"settings-4",route:{path:`/${Be}/general?`},isVisible:()=>e.can("read-all","Setting"),priority:10},{name:t("Users"),icon:"user",route:{path:`/${Be}/users?`},isVisible:()=>e.can("read-all","Account"),priority:20},{name:t("Groups"),icon:"group-2",route:{path:`/${Be}/groups?`},isVisible:()=>e.can("read-all","Group"),priority:30},{name:t("Spaces"),icon:"layout-grid",route:{path:`/${Be}/spaces?`},isVisible:()=>e.can("read-all","Drive"),priority:40}],Xu=Vr({setup(){const{can:e}=rs(),t=ns(),{$gettext:r}=re(),a=at(),{upsertSpace:n}=cs(),{actions:m}=wo(),l=F(()=>s(m)[0]),{actions:i}=ia(),o=F(()=>s(i)[0]),{actions:p}=yr({onSpaceCreated:y=>{n(y)}}),u=F(()=>s(p)[0]),f={name:r("Admin Settings"),id:Be,icon:"settings-4",color:"#2b2b2b"},b=F(()=>{const y=[];if(t.user&&(e("read-all","Setting")||e("read-all","Account")||e("read-all","Group")||e("read-all","Drive"))){const h={id:`app.${f.id}.menuItem`,type:"appMenuItem",label:()=>f.name,color:f.color,icon:f.icon,priority:40,path:ur(f.id)};y.push(h)}const d={id:`com.github.opencloud-eu.web.${f.id}.floating-action-button`,extensionPointIds:["app.admin-settings.floating-action-button"],type:"floatingActionButton",icon:"add",label:()=>r("New"),mode:()=>"handler",handler:()=>s(a).name==="admin-settings-spaces"?s(u).handler():s(a).name==="admin-settings-users"?s(l).handler():s(a).name==="admin-settings-groups"?s(o).handler():null,isDisabled:()=>!(s(a).name==="admin-settings-spaces"&&s(u).isVisible()||s(a).name==="admin-settings-users"&&s(l).isVisible()||s(a).name==="admin-settings-groups"&&s(o).isVisible())};return y.push(d),y});return{appInfo:f,routes:gu,navItems:mu,translations:Un,extensions:b,extensionPoints:pu()}}});export{Xu as default,mu as navItems,gu as routes}; diff --git a/web-dist/js/web-app-admin-settings-938Lf0wZ.mjs.gz b/web-dist/js/web-app-admin-settings-938Lf0wZ.mjs.gz new file mode 100644 index 0000000000..4e34d4abdd Binary files /dev/null and b/web-dist/js/web-app-admin-settings-938Lf0wZ.mjs.gz differ diff --git a/web-dist/js/web-app-app-store-DmVGwoh6.mjs b/web-dist/js/web-app-app-store-DmVGwoh6.mjs new file mode 100644 index 0000000000..db1c20c5c7 --- /dev/null +++ b/web-dist/js/web-app-app-store-DmVGwoh6.mjs @@ -0,0 +1 @@ +import"./chunks/preload-helper-PPVm8Dsz.mjs";import{i as e}from"./chunks/index-DiD_jyrz.mjs";import"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import"./chunks/types-BoCZvwvE.mjs";import"./chunks/useAbility-DLkgdurK.mjs";import"./chunks/user-C7xYeMZ3.mjs";export{e as default}; diff --git a/web-dist/js/web-app-app-store-DmVGwoh6.mjs.gz b/web-dist/js/web-app-app-store-DmVGwoh6.mjs.gz new file mode 100644 index 0000000000..ebc2967cd2 Binary files /dev/null and b/web-dist/js/web-app-app-store-DmVGwoh6.mjs.gz differ diff --git a/web-dist/js/web-app-epub-reader-ColAn_m_.mjs b/web-dist/js/web-app-epub-reader-ColAn_m_.mjs new file mode 100644 index 0000000000..010d0e50fa --- /dev/null +++ b/web-dist/js/web-app-epub-reader-ColAn_m_.mjs @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./chunks/App-CYbSvL2a.mjs","./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs","./chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs","./chunks/useRoute-BGFNOdqM.mjs","./chunks/index-lRhEXmMs.mjs","./chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs","./chunks/vue-router-CmC7u3Bn.mjs","./chunks/resources-CL0nvFAd.mjs","./chunks/user-C7xYeMZ3.mjs","./chunks/_Set-DyVdKz_x.mjs","./chunks/useClientService-BP8mjZl2.mjs","./chunks/useLoadingService-CLoheuuI.mjs","./chunks/eventBus-B07Yv2pA.mjs","./chunks/v4-EwEgHOG0.mjs","./chunks/messages-bd5_8QAH.mjs","./chunks/ActionMenuItem-5Eo133Qt.mjs","./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs","./chunks/throttle-5Uz_Dt2R.mjs"])))=>i.map(i=>d[i]); +import{_ as i}from"./chunks/preload-helper-PPVm8Dsz.mjs";import{cm as n}from"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{d as s}from"./chunks/types-BoCZvwvE.mjs";import{A as p}from"./chunks/AppWrapperRoute-BFHFMQoF.mjs";import"./chunks/locale-tv0ZmyWq.mjs";import"./chunks/index-lRhEXmMs.mjs";import"./chunks/vue-router-CmC7u3Bn.mjs";import"./chunks/resources-CL0nvFAd.mjs";import"./chunks/user-C7xYeMZ3.mjs";import"./chunks/_Set-DyVdKz_x.mjs";import"./chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import"./chunks/useRoute-BGFNOdqM.mjs";import"./chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import"./chunks/useClientService-BP8mjZl2.mjs";import"./chunks/useLoadingService-CLoheuuI.mjs";import"./chunks/eventBus-B07Yv2pA.mjs";import"./chunks/v4-EwEgHOG0.mjs";import"./chunks/messages-bd5_8QAH.mjs";import"./chunks/ActionMenuItem-5Eo133Qt.mjs";import"./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs";import"./chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs";import"./chunks/extensionRegistry-3T3I8mha.mjs";import"./chunks/useAbility-DLkgdurK.mjs";import"./chunks/modals-DsP9TGnr.mjs";import"./chunks/useWindowOpen-BMCzbqTR.mjs";import"./chunks/download-Bmys4VUp.mjs";import"./chunks/useRouteParam-C9SJn9Mp.mjs";import"./chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs";import"./chunks/icon-BPAP2zgX.mjs";import"./chunks/useAppDefaults-BUVwG3-M.mjs";import"./chunks/AppLoadingSpinner-D4wmhWZf.mjs";import"./chunks/toNumber-BQH-f3hb.mjs";const c={"Decrease font size":"تصغير حجم الخط","Reset font size":"إعادة تعيين حجم الخط","Increase font size":"تكبير حجم الخط",Chapter:"باب","Navigate to previous page":"انتقل إلى الصفحة السابقة","Navigate to next page":"انتقل إلى الصفحة التالية","Epub Reader":"قارئ Epub"},g={},u={"Decrease font size":"Schrift verkleinern","Reset font size":"Schriftgröße zurücksetzen","Increase font size":"Schrift vergrößern",Chapter:"Kapitel","Navigate to previous page":"Zur vorherigen Seite navigieren","Navigate to next page":"Zur nächsten Seite navigieren","Epub Reader":"Epub-Reader"},d={Chapter:"Kapitola"},l={"Decrease font size":"Μείωση μεγέθους γραμματοσειράς","Reset font size":"Επαναφορά μεγέθους γραμματοσειράς","Increase font size":"Αύξηση μεγέθους γραμματοσειράς",Chapter:"Κεφάλαιο","Navigate to previous page":"Μετάβαση στην προηγούμενη σελίδα","Navigate to next page":"Μετάβαση στην επόμενη σελίδα","Epub Reader":"Αναγνώστης Epub"},f={},v={"Decrease font size":"Reducir el tamaño de la fuente","Reset font size":"Resetear el tamaño de la fuente","Increase font size":"Incrementar el tamaño de la fuente",Chapter:"Capítulo","Navigate to previous page":"Navegar a la página anterior","Navigate to next page":"Navegar a la siguente página","Epub Reader":"Lector Epub"},m={},z={"Decrease font size":"Réduire la taille des caractères","Reset font size":"Réinitialisation de la taille des caractères","Increase font size":"Augmenter la taille des caractères",Chapter:"Chapitre","Navigate to previous page":"Aller à la page précédente","Navigate to next page":"Aller à la page suivante","Epub Reader":"Lecteur Epub"},R={},b={},N={},h={},E={},x={"Decrease font size":"Riduci dimensione font","Reset font size":"Ripristina dimensione font","Increase font size":"Aumenta dimensione font",Chapter:"Capitolo","Navigate to previous page":"Vai alla pagina precedente","Navigate to next page":"Vai alla pagina successiva","Epub Reader":"Lettore Epub"},C={"Decrease font size":"Zmniejsz rozmiar czcionki","Reset font size":"Resetuj rozmiar czcionki","Increase font size":"Zwiększ rozmiar czcionki",Chapter:"Rozdział","Navigate to previous page":"Nawiguj do poprzedniej strony","Navigate to next page":"Nawiguj do następnej strony"},I={"Decrease font size":"Lettergrootte verkleinen","Reset font size":"Lettergrootte herstellen","Increase font size":"Lettergrootte vergroten",Chapter:"Hoofdstuk","Navigate to previous page":"Naar de vorige pagina","Navigate to next page":"Naar de volgende pagina","Epub Reader":"Epub Reader"},k={"Decrease font size":"Diminuir tamanho da letra","Reset font size":"Repor tamanho da letra","Increase font size":"Aumentar tamanho da letra",Chapter:"Capítulo","Navigate to previous page":"Voltar para a página anterior","Navigate to next page":"Avançar para a página seguinte","Epub Reader":"Leitor de EPUB"},D={},_={"Decrease font size":"フォントサイズを小さくする","Reset font size":"フォントサイズをリセット","Increase font size":"フォントサイズを大きくする",Chapter:"章","Navigate to previous page":"前のページへ","Navigate to next page":"次のページへ","Epub Reader":"Epub リーダー"},A={"Decrease font size":"Уменьшить размер шрифта","Reset font size":"Сбросить размер шрифта","Increase font size":"Увеличить размер шрифта",Chapter:"Глава","Navigate to previous page":"Перелистнуть на предыдущую страницу","Navigate to next page":"Перелистнуть на следующую страницу","Epub Reader":"Epub Reader"},L={},j={},y={"Decrease font size":"글꼴 크기 감소","Reset font size":"글꼴 크기 재설정","Increase font size":"글꼴 크기 증가",Chapter:"챕터","Navigate to previous page":"이전 페이지로 이동","Navigate to next page":"다음 페이지로 이동","Epub Reader":"Epub 리더"},w={},S={},P={"Decrease font size":"Minska textstorleken","Reset font size":"Återställ textstorleken","Increase font size":"Öka textstorleken",Chapter:"Kapitel","Navigate to previous page":"Navigera till föregående sida","Navigate to next page":"Navigera till nästa sida","Epub Reader":"Epub-läsare"},V={},Z={},K={"Decrease font size":"减小字体大小","Reset font size":"重置字体大小","Increase font size":"增大字体大小",Chapter:"章节","Navigate to previous page":"上一页","Navigate to next page":"下一页","Epub Reader":"Epub阅读器"},O={"Decrease font size":"Зменшити розмір шрифту","Reset font size":"Скинути розмір шрифту","Increase font size":"Збільшити розмір шрифту",Chapter:"Глава","Navigate to previous page":"Перейти на попередню сторінку","Navigate to next page":"Перейти на наступну сторінку","Epub Reader":"Переглядач Epub"},T={},W={},q={ar:c,bs:g,de:u,cs:d,el:l,af:f,es:v,bg:m,fr:z,et:R,he:b,id:N,hr:h,gl:E,it:x,pl:C,nl:I,pt:k,ka:D,ja:_,ru:A,ro:L,sk:j,ko:y,sq:w,sr:S,sv:P,ta:V,si:Z,zh:K,uk:O,tr:T,ug:W},he=s({setup(){const{$gettext:e}=n(),t="epub-reader",a=[{path:"/:driveAliasAndItem(.*)?",component:async()=>{const o=(await i(async()=>{const{default:r}=await import("./chunks/App-CYbSvL2a.mjs");return{default:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url)).default;return p(o,{applicationId:t,fileContentOptions:{responseType:"blob"}})},name:"epub-reader",meta:{authContext:"hybrid",title:e("Epub Reader"),patchCleanPath:!0}}];return{appInfo:{name:e("Epub Reader"),id:t,icon:"book-read",extensions:[{extension:"epub",routeName:"epub-reader"}]},routes:a,translations:q}}});export{he as default}; diff --git a/web-dist/js/web-app-epub-reader-ColAn_m_.mjs.gz b/web-dist/js/web-app-epub-reader-ColAn_m_.mjs.gz new file mode 100644 index 0000000000..f02a1e9f87 Binary files /dev/null and b/web-dist/js/web-app-epub-reader-ColAn_m_.mjs.gz differ diff --git a/web-dist/js/web-app-external-BlFhgcbl.mjs b/web-dist/js/web-app-external-BlFhgcbl.mjs new file mode 100644 index 0000000000..6f76554e3d --- /dev/null +++ b/web-dist/js/web-app-external-BlFhgcbl.mjs @@ -0,0 +1 @@ +import{d as Re}from"./chunks/types-BoCZvwvE.mjs";import{M as X,aU as A,aZ as _,aL as w,u as C,I as ee,bM as Pe,bO as le,H as I,v as N,q as k,bk as t,bW as fe,cm as U,d9 as ge,da as Te,cl as ve,cq as Oe,co as ye,cr as L,bu as ce,aD as ze,az as Me,bE as he,t as D,F as me,aX as $e,cs as z,c9 as pe,bV as Ve,c8 as je,bQ as be,as as De,cj as Le,bb as de,bJ as Ue,cL as qe,cK as Ye,cJ as Be,d3 as He}from"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u as q,l as xe}from"./chunks/useAppProviderService-DZ_mOvrb.mjs";import{F as Qe,A as Ke}from"./chunks/AppWrapperRoute-BFHFMQoF.mjs";import{f as G}from"./chunks/index-lRhEXmMs.mjs";import{bn as Z,bC as we,bB as We,bf as Je}from"./chunks/resources-CL0nvFAd.mjs";import{k as Ce,V as Ge,j as Ze,v as Xe}from"./chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs";import{u as _e}from"./chunks/useRoute-BGFNOdqM.mjs";import{w as ea,s as aa,n as ta}from"./chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import{u as Se}from"./chunks/messages-bd5_8QAH.mjs";import{u as na}from"./chunks/modals-DsP9TGnr.mjs";import{u as Y}from"./chunks/useClientService-BP8mjZl2.mjs";import{e as Ee}from"./chunks/useAppDefaults-BUVwG3-M.mjs";import{c as ra}from"./chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import{o as oa}from"./chunks/omit-CjJULzjP.mjs";import{u as ia}from"./chunks/useRouteMeta-C9xjNr4h.mjs";import{r as sa}from"./chunks/vue-router-CmC7u3Bn.mjs";import{_ as la}from"./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs";import"./chunks/index-ChwhOZNZ.mjs";import"./chunks/locale-tv0ZmyWq.mjs";import"./chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs";import"./chunks/icon-BPAP2zgX.mjs";import"./chunks/extensionRegistry-3T3I8mha.mjs";import"./chunks/useRouteParam-C9SJn9Mp.mjs";import"./chunks/useLoadingService-CLoheuuI.mjs";import"./chunks/AppLoadingSpinner-D4wmhWZf.mjs";import"./chunks/toNumber-BQH-f3hb.mjs";import"./chunks/user-C7xYeMZ3.mjs";import"./chunks/useAbility-DLkgdurK.mjs";import"./chunks/useWindowOpen-BMCzbqTR.mjs";import"./chunks/eventBus-B07Yv2pA.mjs";import"./chunks/v4-EwEgHOG0.mjs";import"./chunks/download-Bmys4VUp.mjs";import"./chunks/ActionMenuItem-5Eo133Qt.mjs";import"./chunks/_getTag-rbyw32wi.mjs";import"./chunks/_Set-DyVdKz_x.mjs";const ca={},ma={"An error occurred":"حدث خطأ","File name":"اسم الملف",External:"خارجي","One moment please…":"لحظة من فضلك..."},pa={},da={},ua={'"%{appName}" app content area':'"%{appName}" Inhaltsbereich',"An error occurred":"Ein Fehler ist aufgetreten.","Cannot open file in edit mode as it is read-only":"Datei kann nicht im Bearbeitungsmodus geöffnet werden, da sie schreibgeschützt ist.","This file is currently being processed and is not yet available for use. Please try again shortly.":"Diese Datei wird derzeit bearbeitet und kann noch nicht verwendet werden. Bitte in Kürze erneut versuchen.","Export »%{name}« as %{format}":"»%{name}« als %{format} exportieren","Save »%{name}« with new name":"»%{name}« mit neuem Namen speichern","Insert graphic":"Bild einfügen","File name":"Dateiname","Create from template via %{ name }":"Aus Vorlage erstellen via %{ name } ","Failed to create document from template":"Dokumenterstellung aus Vorlage fehlgeschlagen",External:"Extern","Redirecting to external app":"Weiterleiten zu externer App","One moment please…":"Einen Moment bitte ...","You are being redirected.":"Sie werden weitergeleitet."},fa={"An error occurred":"Došlo k chybě","File name":"Název souboru","Failed to create document from template":"Nepodařilo se vytvořit dokument ze šablony",External:"Externí","Redirecting to external app":"Přesměrovává se na externí aplikaci","One moment please…":"Okamžik prosím…","You are being redirected.":"Jste přesměrováváni."},ga={},va={'"%{appName}" app content area':'Περιοχή περιεχομένου της εφαρμογής "%{appName}"',"An error occurred":"Παρουσιάστηκε σφάλμα","Cannot open file in edit mode as it is read-only":"Δεν είναι δυνατό το άνοιγμα του αρχείου για επεξεργασία καθώς είναι μόνο για ανάγνωση","This file is currently being processed and is not yet available for use. Please try again shortly.":"Αυτό το αρχείο βρίσκεται υπό επεξεργασία και δεν είναι ακόμη διαθέσιμο για χρήση. Παρακαλούμε δοκιμάστε ξανά σε λίγο.","Export »%{name}« as %{format}":"Εξαγωγή του »%{name}« ως %{format}","Save »%{name}« with new name":"Αποθήκευση του »%{name}« με νέο όνομα","Insert graphic":"Εισαγωγή γραφικού","File name":"Όνομα αρχείου","Create from template via %{ name }":"Δημιουργία από πρότυπο μέσω %{ name }","Failed to create document from template":"Αποτυχία δημιουργίας εγγράφου από πρότυπο",External:"Εξωτερικός","Redirecting to external app":"Ανακατεύθυνση σε εξωτερική εφαρμογή","One moment please…":"Μισό λεπτό παρακαλώ…","You are being redirected.":"Μεταφέρεστε σε άλλη σελίδα."},ya={'"%{appName}" app content area':`"%{appName}" zone de contenu de l'application`,"An error occurred":"Une erreur s'est produite","Cannot open file in edit mode as it is read-only":"Impossible d'ouvrir le fichier en mode édition car il est en lecture seule","This file is currently being processed and is not yet available for use. Please try again shortly.":"Ce fichier est en cours de traitement et n'est pas encore disponible. Veuillez réessayer sous peu.","Export »%{name}« as %{format}":"Exporter «%{name}» au format %{format}","Save »%{name}« with new name":"Enregistrer «%{name}» sous un nouveau nom","Insert graphic":"Insérer le graphique","File name":"Nom du fichier","Create from template via %{ name }":"Création à partir d'un modèle via %{ name }","Failed to create document from template":"Échec de la création d'un document à partir d'un modèle",External:"Externe","Redirecting to external app":"Redirection vers une application externe","One moment please…":"Un instant...","You are being redirected.":"Vous êtes redirigé."},ha={'"%{appName}" app content area':"Contenido de la aplicación %{appName}","An error occurred":"Ha ocurrido un error","Cannot open file in edit mode as it is read-only":"No se puede abrir el archivo en modo edición ya que es de sólo lectura","This file is currently being processed and is not yet available for use. Please try again shortly.":"Este archivo está siendo procesado ahora mismo y no está disponible por el momento. Por favor, vuelva a intentarlo en unos momentos.","File name":"Nombre del archivo","Create from template via %{ name }":"Crear desde plantilla vía %{ name }","Failed to create document from template":"No se ha podido crear el documento desde la plantilla",External:"Externo","Redirecting to external app":"Te estamos redirigiendo a una aplicación externa","One moment please…":"Espera un momento...","You are being redirected.":"Estás siendo redireccionado."},ba={"An error occurred":"שגיאה התרחשה","File name":"שם הקובץ"},xa={},wa={},Ca={"An error occurred":"Wystąpił błąd","Cannot open file in edit mode as it is read-only":"Nie można otworzyć pliku do edycji ponieważ jest tylko do odczytu","This file is currently being processed and is not yet available for use. Please try again shortly.":"Plik jest obecnie przetwarzany i nie jest jeszcze dostępny. Spróbuj ponownie za chwilę.","Save »%{name}« with new name":"Zapisz»%{name}« pod nową nazwą","Insert graphic":"Wstaw grafikę","File name":"Nazwa pliku",External:"Zewnętrzne","Redirecting to external app":"Przekierowanie do zewnętrznej aplikacji","One moment please…":"Moment...","You are being redirected.":"Zostałeś przekierowany."},Sa={'"%{appName}" app content area':'"%{appName}" app content area',"An error occurred":"Er is een fout opgetreden","Cannot open file in edit mode as it is read-only":"Kan het bestand niet openen in de bewerkingsmodus omdat het alleen-lezen is.","This file is currently being processed and is not yet available for use. Please try again shortly.":"Dit bestand wordt momenteel verwerkt en is nog niet beschikbaar voor gebruik. Probeer het over een tijdje opnieuw.","Export »%{name}« as %{format}":"»%{name}« exporteren als %{format}","Save »%{name}« with new name":"»%{name}« opslaan met nieuwe naam","Insert graphic":"Afbeelding invoegen","File name":"Bestandsnaam","Create from template via %{ name }":"Aanmaken vanuit sjabloon via %{ name }","Failed to create document from template":"Documentaanmaak vanuit sjabloon is mislukt",External:"Extern","Redirecting to external app":"Omleiden naar externe app","One moment please…":"Even geduld a.u.b.","You are being redirected.":"Je wordt omgeleid."},Ea={'"%{appName}" app content area':"%{appName}」アプリのコンテンツ領域","An error occurred":"エラーが発生しました","Cannot open file in edit mode as it is read-only":"このファイルは読み取り専用のため、編集モードで開くことができません","This file is currently being processed and is not yet available for use. Please try again shortly.":"このファイルは現在処理中のため、まだ利用できません。しばらくしてからもう一度お試しください。","Export »%{name}« as %{format}":"»%{name}« を %{format} としてエクスポート","Save »%{name}« with new name":"»%{name}« を新しい名前で保存","Insert graphic":"画像を挿入","File name":"ファイル名","Create from template via %{ name }":"%{ name } でテンプレートから作成","Failed to create document from template":"テンプレートからのドキュメント作成に失敗しました",External:"外部","Redirecting to external app":"外部アプリへリダイレクトしています","One moment please…":"少々お待ちください…","You are being redirected.":"少々お待ちください…"},ka={'"%{appName}" app content area':"Área de conteúdo da aplicação «%{appName}»","An error occurred":"Ocorreu um erro","Cannot open file in edit mode as it is read-only":"Não é possível abrir o ficheiro em modo de edição porque é só de leitura","This file is currently being processed and is not yet available for use. Please try again shortly.":"Este ficheiro está atualmente a ser processado e ainda não está disponível. Tente novamente dentro de momentos.","Export »%{name}« as %{format}":"Exportar «%{name}» como %{format}","Save »%{name}« with new name":"Guardar «%{name}» com novo nome","Insert graphic":"Inserir gráfico","File name":"Nome do ficheiro","Create from template via %{ name }":"Criar a partir de modelo via %{ name }","Failed to create document from template":"Falha ao criar documento a partir do modelo",External:"Externo","Redirecting to external app":"A redirecionar para aplicação externa","One moment please…":"Um momento, por favor…","You are being redirected.":"Está a ser redirecionado."},Fa={},Ia={'"%{appName}" app content area':'"%{appName}" 앱 콘텐츠 영역',"An error occurred":"오류가 발생했습니다","Cannot open file in edit mode as it is read-only":"파일이 읽기 전용이므로 편집 모드에서 열 수 없습니다","This file is currently being processed and is not yet available for use. Please try again shortly.":"이 파일은 처리 중이며 아직 사용할 수 없습니다. 잠시후 다시 시도해 주세요.","File name":"파일명","Create from template via %{ name }":"%{ name }을 통해 템플릿에서 만들기","Failed to create document from template":"템플릿에서 문서를 생성하지 못했습니다",External:"외부","Redirecting to external app":"외부 앱으로 리디렉션","One moment please…":"잠시만 기다려주세요...","You are being redirected.":"리디렉션되고 있습니다."},Na={'"%{appName}" app content area':`Area contenuti dell'app "%{appName}"`,"An error occurred":"Si è verificato un errore","Cannot open file in edit mode as it is read-only":"Impossibile aprire il file in modalità modifica perché è di sola lettura","This file is currently being processed and is not yet available for use. Please try again shortly.":"Questo file è attualmente in elaborazione e non è ancora disponibile. Riprova tra poco.","Export »%{name}« as %{format}":"Esporta »%{name}« come %{format}","Save »%{name}« with new name":"Salva »%{name}« con il nuovo nome","Insert graphic":"Inserisci grafico","File name":"Nome file","Create from template via %{ name }":"Crea da modello tramite %{ name }","Failed to create document from template":"Creazione del documento dal modello non riuscita",External:"Esterno","Redirecting to external app":"Reindirizzamento all'app esterna","One moment please…":"Un momento per favore…","You are being redirected.":"Stai per essere reindirizzato."},Aa={'"%{appName}" app content area':'Пространство для содержимого приложения "%{appName}"',"An error occurred":"Возникла ошибка","Cannot open file in edit mode as it is read-only":"Невозможно открыть файл для редактирования, поскольку он доступен только для чтения","This file is currently being processed and is not yet available for use. Please try again shortly.":"Этот файл в данный момент находится в обработке и сейчас недоступен для использования. Пожалуйста, попробуйте чуть позже.","Export »%{name}« as %{format}":"Экспортировать »%{name}« как %{format}","Save »%{name}« with new name":"Сохранить »%{name}« с новым именем","Insert graphic":"Вставить изображение","File name":"Имя файла","Create from template via %{ name }":"Создать из шаблона с помощью %{ name }","Failed to create document from template":"Не удалось создать документ из шаблона",External:"Внешний","Redirecting to external app":"Происходит переадресация во внешнее приложение","One moment please…":"Один момент, пожалуйста...","You are being redirected.":"Вас перенаправляют."},Ra={},Pa={},Ta={External:"Externé","One moment please…":"Chvíľu strpenia prosím...","You are being redirected.":"Budete presmerovaný."},Oa={},za={},Ma={},$a={'"%{appName}" app content area':'Innehållsområde för "%{appName}"-appen',"An error occurred":"Ett fel inträffade","Cannot open file in edit mode as it is read-only":"Kan inte öppna fil i redigeringsläge eftersom den är skrivskyddad","This file is currently being processed and is not yet available for use. Please try again shortly.":"Denna fil bearbetas för närvarande och är ännu inte tillgänglig för användning. Försök igen om en stund.","Export »%{name}« as %{format}":"Exportera »%{name}« som %{format}","Save »%{name}« with new name":"Spara »%{name}« med nytt namn","Insert graphic":"Infoga grafik","File name":"Filnamn","Create from template via %{ name }":"Skapa från mall via %{ name }","Failed to create document from template":"Misslyckades att skapa dokument från mall",External:"Extern","Redirecting to external app":"Omdirigerar till extern app","One moment please…":"Ett ögonblick...","You are being redirected.":"Du blir omdirigerad."},Va={},ja={},Da={"File name":"文件名",External:"外部"},La={},Ua={},qa={af:ca,ar:ma,bg:pa,bs:da,de:ua,cs:fa,et:ga,el:va,fr:ya,es:ha,he:ba,hr:xa,id:wa,pl:Ca,nl:Sa,ja:Ea,pt:ka,gl:Fa,ko:Ia,it:Na,ru:Aa,ro:Ra,ka:Pa,sk:Ta,sq:Oa,si:za,ta:Ma,sv:$a,ug:Va,tr:ja,zh:Da,uk:La,sr:Ua},ue=X({__name:"FileNameModal",props:{space:{},resource:{},fileExtension:{default:()=>{}},fileExtensionsShown:{type:Boolean},modal:{},callbackFn:{type:Function}},emits:["confirm"],setup(e,{expose:c,emit:r}){const{webdav:f}=Y(),{isFileNameValid:m}=ea(),d=r,s=A(""),u=A([]),y=A([0,e.resource?.name?.length||0]);G(function*(){const{children:o}=yield*ra(f.listFiles(e.space,{fileId:e.resource.parentFolderId},{davProperties:[fe.Name]}));u.value=o;const i=e.fileExtension?`${Z(e.resource)}.${e.fileExtension}`:e.resource.name,h=o.some(b=>b.name===i);s.value=h?Ce(i,e.fileExtension||e.resource.extension,o):i,y.value=[0,Z({name:t(s),extension:e.fileExtension||e.resource.extension}).length]}).perform();const g=k(()=>{const{isValid:o,error:i}=m(e.resource,t(s),t(u));if(!o)return i}),p=async()=>{await e.callbackFn(t(s))};return c({onConfirm:p}),(o,i)=>{const h=_("oc-text-input");return w(),C("form",{autocomplete:"off",onSubmit:le(p,["prevent"])},[ee(h,{id:"file-name-input",modelValue:s.value,"onUpdate:modelValue":i[0]||(i[0]=b=>s.value=b),class:"mb-2",label:o.$gettext("File name"),"required-mark":"","error-message":g.value,"fix-message-line":!0,"selection-range":y.value,onKeydown:i[1]||(i[1]=Pe(le(b=>d("confirm"),["prevent"]),["enter"]))},null,8,["modelValue","label","error-message","selection-range"]),i[2]||(i[2]=I()),i[3]||(i[3]=N("input",{type:"submit",class:"hidden"},null,-1))],32)}}}),Ya={key:0,class:"size-full flex justify-center items-center"},Ba=["src","title"],Ha={key:2,class:"size-full"},Qa=["action"],Ka=["value"],Wa=["name","value"],Ja=["value"],Ga=["value"],Za=["title"],Xa=X({__name:"App",props:{space:{},resource:{},isReadOnly:{type:Boolean}},emits:["save","close"],setup(e){const c=U(),{$gettext:r}=c,{showErrorMessage:f}=Se(),m=ge(),d=Te(),s=_e(),u=ve(),y=q(),{makeRequest:x}=Ee(),g=we(),p=We(),{graphAuthenticated:o,webdav:i}=Y(),{dispatchModal:h}=na(),b=Oe(),{currentTheme:v}=ye(b),{getParentFolderLink:M}=Ge(),B=L("view_mode"),H=k(()=>z(t(B))),R=L("templateId"),$=k(()=>z(t(R))),F=k(()=>{const n=t(s).name.toString().replace("external-","").replace("-apps","");return y.appNames.find(a=>a.toLowerCase()===n)}),P=A(),T=A({}),V=A(),ae=ce("subm"),Ie=k(()=>Q.isRunning||re.isRunning),te=k(()=>r('"%{appName}" app content area',{appName:t(F)})),ne=n=>{f({title:r("An error occurred"),desc:n,errors:[new Error(n)]})},Ne=()=>`UITheme=${t(v).isDark?"dark":"light"}`,Ae=()=>{const{roles:n}=t(v).designTokens,a={"--color-main-text":n.onSurface,"--co-body-bg":n.chrome,"--co-color-main-text":n.onChrome,"--co-color-background-light":n.surfaceContainer,"--co-primary-element":n.primary,"--color-background-dark":n.surfaceContainerHigh,"--color-background-darker":n.surfaceContainerHighest,"--color-primary-lighter":n.primaryContainerLow,"--color-canvas":n.surfaceContainerHighest,"--color-border":n.outlineVariant,"--co-border-radius":"5px"};return Object.entries(a).map(([l,S])=>`${l}=${S}`).join(";")},Q=G(function*(n,a){try{if(e.isReadOnly&&a==="write"){f({title:r("Cannot open file in edit mode as it is read-only")});return}const l=e.resource.fileId,S=be(d.serverUrl,m.filesAppProviders[0].open_url),W=xe.stringify({file_id:l,lang:c.current,...t(F)&&{app_name:encodeURIComponent(t(F))},...a&&{view_mode:a},...t($)&&{template_id:t($)}}),J=`${S}?${W}`,E=yield x("POST",J,{validateStatus:()=>!0,signal:n});if(E.status!==200)throw E.status===425?ne(r("This file is currently being processed and is not yet available for use. Please try again shortly.")):ne(E.data?.message),new Error("Error fetching app information");if(!E.data.app_url||!E.data.method)throw new Error("Error in app server response");P.value=E.data.app_url,V.value=E.data.method,E.data.form_parameters&&(T.value=E.data.form_parameters),V.value==="POST"&&T.value&&(yield De(),t(ae).click())}catch(l){throw console.error("web-app-external error",l),l}}).restartable(),re=G(function*(n){try{return ta({graphClient:o,spacesStore:g,space:e.space,signal:n})}catch(a){console.error(a)}}),oe=n=>{const a=d.options.editor.openAsPreview;return a===!0||Array.isArray(a)&&a.includes(n)},j=t(F)?.toLowerCase()?.startsWith("collabora"),K=n=>{try{JSON.parse(n.data)?.MessageId==="UI_Edit"&&Q.perform("write")}catch{}},ie=async n=>{try{const a=JSON.parse(n.data||"{}");if(a.MessageId==="App_LoadingStatus"){O("Hide_Button",{id:"toggledarktheme"}),a.Values?.Status==="Frame_Ready"&&O("Host_PostmessageReady");return}if(a.MessageId==="UI_SaveAs"){if(Object.hasOwn(a.Values,"format")){h({title:r("Export »%{name}« as %{format}",{name:e.resource.name,format:a.Values.format}),customComponent:ue,customComponentAttrs:()=>({space:e.space,resource:e.resource,fileExtension:a.Values.format,callbackFn:l=>{O("Action_SaveAs",{Filename:l,Notify:!0})}})});return}h({title:r("Save »%{name}« with new name",{name:e.resource.name}),customComponent:ue,customComponentAttrs:()=>({space:e.space,resource:e.resource,callbackFn:l=>{O("Action_SaveAs",{Filename:l,Notify:!0})}})});return}if(a.MessageId==="Action_Save_Resp"){if(!a.Values?.fileName)return;const l=await i.getFileInfo(e.space,{path:e.resource.path.substring(0,e.resource.path.length-e.resource.name.length)+a.Values.fileName,fileId:void 0});await u.push({name:t(s).name,params:{...t(s).params,driveAliasAndItem:z(t(s).params.driveAliasAndItem).replace(e.resource.name,l.name)},query:{...t(s).query,fileId:l.fileId}});return}a.MessageId==="UI_InsertGraphic"&&h({elementClass:"file-picker-modal",title:r("Insert graphic"),customComponent:Qe,hideActions:!0,customComponentAttrs:()=>({parentFolderLink:M(e.resource),allowedFileTypes:["image/png","image/gif","image/jpeg","image/svg"],callbackFn:async({resource:l})=>{const{downloadURL:S}=await i.getFileInfo(e.space,l,{davProperties:[fe.DownloadURL]});O("Action_InsertGraphic",{url:S})}}),focusTrapInitial:!1})}catch(a){console.debug("Error parsing Collabora PostMessage",a)}};ze(()=>{oe(t(F))?window.addEventListener("message",K):window.removeEventListener("message",K),j&&window.addEventListener("message",ie)}),Me(()=>{window.removeEventListener("message",K),j&&window.removeEventListener("message",ie)});const se=ce("appIframe"),O=(n,a)=>{if(!t(se)){console.error("Collabora iframe not found");return}return t(se).contentWindow.postMessage(JSON.stringify({MessageId:n,SendTime:Date.now(),...a&&{Values:a}}),"*")};return he(()=>e.resource,async(n,a)=>{if(Ze(n,a))return;let l="read";if(pe(e.space)){if(e.space.graphPermissions===void 0){const S=await re.perform();aa({sharesStore:p,spacesStore:g,space:e.space,sharedDriveItem:S})}e.space.graphPermissions?.includes(Je.readContent)||(l="view")}e.isReadOnly||(l=t(H)||"write"),oe(t(F))&&(pe(e.space)||Ve(e.space)||je(e.space))&&(l="view"),Q.perform(l)},{immediate:!0,deep:!0}),(n,a)=>{const l=_("oc-spinner");return w(),C(me,null,[Ie.value?(w(),C("div",Ya,[ee(l,{size:"large"})])):P.value&&V.value==="GET"?(w(),C("iframe",{key:1,src:P.value,class:"size-full",title:te.value,allowfullscreen:"",allow:"clipboard-read *; clipboard-write *"},null,8,Ba)):D("",!0),a[4]||(a[4]=I()),P.value&&V.value==="POST"&&T.value?(w(),C("div",Ha,[N("form",{action:P.value,target:"app-iframe",method:"post"},[N("input",{ref_key:"subm",ref:ae,type:"submit",value:T.value,class:"hidden"},null,8,Ka),a[0]||(a[0]=I()),(w(!0),C(me,null,$e(T.value,(S,W,J)=>(w(),C("div",{key:J},[N("input",{name:W,value:S,type:"hidden"},null,8,Wa)]))),128)),a[1]||(a[1]=I()),t(j)?(w(),C("input",{key:0,name:"ui_defaults",value:Ne(),type:"hidden"},null,8,Ja)):D("",!0),a[2]||(a[2]=I()),t(j)?(w(),C("input",{key:1,name:"css_variables",value:Ae(),type:"hidden"},null,8,Ga)):D("",!0)],8,Qa),a[3]||(a[3]=I()),N("iframe",{ref:"appIframe",name:"app-iframe",class:"size-full",title:te.value,allowfullscreen:"",allow:"clipboard-read *; clipboard-write *"},null,8,Za)])):D("",!0)],64)}}}),ke=Le("applicationReady",()=>{const e=A(!1);return{isReady:e,setReady:()=>{e.value=!0}}}),_a=X({setup(){const{$gettext:e}=U(),c=q(),r=sa(),{isReady:f}=ye(ke()),m=L("app"),d=L("appName"),s=k(()=>t(m)?z(t(m)):t(d)?z(t(d)):t(f)?c.appNames?.[0]:"");he(f,x=>{x&&r.replace({name:`external-${t(s).toLowerCase()}-apps`,query:oa(t(r.currentRoute).query,["app","appName"])})},{immediate:!0});const u=ia("title");return{pageTitle:k(()=>e(t(u)))}}}),et={class:"h-screen flex flex-col justify-center items-center"},at=["textContent"],tt=["textContent"];function nt(e,c,r,f,m,d){const s=_("oc-card");return w(),C("main",et,[N("h1",{class:"sr-only",textContent:de(e.pageTitle)},null,8,at),c[0]||(c[0]=I()),ee(s,{title:e.$gettext("One moment please…"),class:"text-center w-lg text-lg bg-role-surface-container rounded-xl"},{default:Ue(()=>[N("p",{textContent:de(e.$gettext("You are being redirected."))},null,8,tt)]),_:1},8,["title"])])}const rt=la(_a,[["render",nt]]),Fe=()=>{const e=ge(),c=Y(),{makeRequest:r}=Ee({clientService:c});return{createFileHandler:async({fileName:m,space:d,currentFolder:s})=>{if(m==="")return;const u=xe.stringify({parent_container_id:s.fileId,filename:m}),y=`${e.filesAppProviders[0].new_url}?${u}`,x=await r("POST",y);if(x.status!==200)throw new Error(`An error has occurred: ${x.status}`);const g=be(s.path,m)||"";return c.webdav.getFileInfo(d,{path:g})}}},ot=e=>{const c=q(),r=we(),f=Y(),m=ve(),{createFileHandler:d}=Fe(),{getEditorRouteOpts:s}=Xe(),{$gettext:u}=U(),{showErrorMessage:y}=Se();return{id:"com.github.opencloud-eu.web.external.action.create-from-template",extensionPointIds:["global.files.context-actions"],type:"action",action:{name:"create-from-template",category:"context",label:()=>u("Create from template via %{ name }",{name:e.name}),icon:"swap-box",hasPriority:!0,isVisible:({resources:g})=>{if(g.length!==1||!r.personalSpace)return!1;const p=g[0];return p.canDownload()?c.templateMimeTypes.some(o=>o.mime_type===p.mimeType&&o.app_providers.some(i=>i.name==e.name&&!!i.target_ext)):!1},handler:async({resources:g})=>{const p=f.webdav.listFiles(r.personalSpace,{fileId:r.personalSpace.fileId}),o=g[0],h=c.templateMimeTypes.find(v=>v.mime_type===o.mimeType).app_providers.find(v=>!!v.target_ext&&v.name===e.name);let b=Z({name:o.name,extension:o.extension})+`.${h.target_ext}`;try{const{resource:v,children:M}=await p;M.some(F=>F.name===b)&&(b=Ce(b,h.target_ext,t(M)));const B=await d({fileName:b,space:r.personalSpace,currentFolder:v}),H=`external-${h.name.toLowerCase()}-apps`,R=s(H,r.personalSpace,B,void 0,o.fileId),$={[Be]:He.name,[Ye]:{driveAliasAndItem:r.personalSpace.driveAlias},[qe]:{fileId:r.personalSpace.fileId}};R.query={...R.query,...$},await m.push(R)}catch(v){console.error(v),y({title:u("Failed to create document from template"),errors:[v]})}}}}},qt=Re({setup(e){const{$gettext:c}=U(),r=q(),{createFileHandler:f}=Fe();if(!Object.hasOwn(e,"appName")){const p={name:c("External"),id:"external"},o=[{name:"apps",path:"/:driveAliasAndItem(.*)?",component:rt,meta:{authContext:"hybrid",title:c("Redirecting to external app"),patchCleanPath:!0}}];return{appInfo:p,routes:o,ready:()=>{ke().setReady()}}}const{appName:m}=e,d=`external-${m.toLowerCase()}`,s=r.getMimeTypesByAppName(m),u={name:m,id:d,extensions:s.map(p=>{const o=p.app_providers.find(i=>i.name===m);return{extension:p.ext,label:()=>o.name,icon:o.icon,name:o.name,mimeType:p.mime_type,secureView:o.secure_view,routeName:`${d}-apps`,hasPriority:p.default_application===o.name,...p.allow_creation&&{newFileMenu:{menuTitle:()=>p.name}},createFileHandler:f}})},y=[{name:"apps",path:"/:driveAliasAndItem(.*)?",component:Ke(Xa,{applicationId:u.id}),meta:{authContext:"hybrid",title:m,patchCleanPath:!0}}],x=ot(u),g=k(()=>[x]);return{appInfo:u,routes:y,translations:qa,extensions:g}}});export{qt as default}; diff --git a/web-dist/js/web-app-external-BlFhgcbl.mjs.gz b/web-dist/js/web-app-external-BlFhgcbl.mjs.gz new file mode 100644 index 0000000000..57e244ffad Binary files /dev/null and b/web-dist/js/web-app-external-BlFhgcbl.mjs.gz differ diff --git a/web-dist/js/web-app-files-Cm2eXkHd.mjs b/web-dist/js/web-app-files-Cm2eXkHd.mjs new file mode 100644 index 0000000000..6f913244bf --- /dev/null +++ b/web-dist/js/web-app-files-Cm2eXkHd.mjs @@ -0,0 +1,3 @@ +import{dG as ca,dH as da,dI as ua,dJ as pa,dK as Hs,M as Q,bE as $e,az as Xe,aU as H,aZ as k,aL as a,u as w,t as L,H as d,I as b,q as u,bk as t,a_ as Re,F as X,aX as Te,bL as Se,s as R,bJ as A,au as ye,v as m,bb as C,cm as ne,cl as Me,co as de,d4 as ma,ar as Ge,aY as ha,T as fa,cr as _e,cx as xt,df as ga,dg as ba,as as He,cs as Ne,d6 as no,cT as va,da as We,aD as Pe,a$ as ct,bQ as Qe,de as ks,bu as Je,cU as vt,c_ as ya,d3 as wa,c9 as wt,c7 as yt,cq as ka,c3 as ro,cP as Ss,cM as Tt,cR as Ze,d9 as mt,c5 as ce,dB as vs,bO as is,d1 as ms,d2 as hs,d0 as fs,cY as Nt,d8 as lo,dC as Qt,cQ as Cs,cX as xs,dL as Sa,bV as Lt,cZ as qe,af as me,bf as As,cO as Ca,aw as xa,cC as Aa,bF as co,c8 as xe,ak as Ts,cS as uo,cn as Ct,c$ as Ta,d5 as Da,cW as $a,dx as Ds,c0 as Fa,bM as Ra,ca as Ws,J as Ia,bp as Pa}from"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u as Dt}from"./chunks/useRoute-BGFNOdqM.mjs";import{e as ge}from"./chunks/eventBus-B07Yv2pA.mjs";import{bA as ve,bC as Ye,bn as Ea,bm as La,bw as Ys,bD as po,bB as kt,bh as _a,aQ as mo,bl as Na,bf as Ks}from"./chunks/resources-CL0nvFAd.mjs";import{_ as ue}from"./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs";import{t as ho,k as za,C as $t,g as At,A as ht,c as Ma,a as Oa,B as Va,a2 as fo,K as $s,I as ja,G as Fs,O as qa,o as go,W as bo,X as vo,Z as yo,V as wo,$ as Ua,Y as Rs,w as Is,i as ko,N as Ba,q as Ga,j as Ha,y as Ps,e as Wa,d as Ya,M as Ka,D as Es,J as So,L as Qa,a3 as Za,z as Ja,x as Xa,v as ei,m as ti}from"./chunks/ItemFilterToggle-B0cxdVaA.mjs";import{a1 as Co,d as ft,W as Ke,v as Ft,b as si,e as oi,R as Xt,k as Qs,Q as ai,p as Ls,C as ii,_ as ni,O as xo,E as Ao,T as ri,s as li,o as _s,a as ci,m as di,n as ui,P as pi,x as mi,J as hi}from"./chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs";import{A as at}from"./chunks/AppLoadingSpinner-D4wmhWZf.mjs";import{u as dt}from"./chunks/useLoadPreview-Cv2y5hqA.mjs";import{N as ot}from"./chunks/NoContentMessage-CtsU0h69.mjs";import{z as To,t as Do,y as $o,P as Rt,_ as Zt,W as fi,b as Fo,C as Ro,D as Io,F as Po,E as Eo,G as Lo,H as _o,m as Et,J as ts,L as gi,S as bi,g as vi,h as yi,A as wi}from"./chunks/Pagination-w-FgvznP.mjs";import{a as ns,u as rs}from"./chunks/extensionRegistry-3T3I8mha.mjs";import{l as Jt,s as No,u as ls,k as ki,t as Si}from"./chunks/vue-router-CmC7u3Bn.mjs";import{a as Ns,d as Ci}from"./chunks/useSort-BaUnnp4q.mjs";import{m as xi,p as qt,I as zo,C as Mo,D as Ai,K as Ie,M as tt,r as Oo,x as zs,t as Ti,y as Vo,P as Di}from"./chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import{u as jo}from"./chunks/useScrollTo--zshzNky.mjs";import{u as et}from"./chunks/messages-bd5_8QAH.mjs";import{aK as Oe}from"./chunks/user-C7xYeMZ3.mjs";import{u as Ee}from"./chunks/useClientService-BP8mjZl2.mjs";import{a as $i}from"./chunks/useLoadingService-CLoheuuI.mjs";import{_ as Mt}from"./chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs";import{u as ut,f as pt}from"./chunks/modals-DsP9TGnr.mjs";import{v as ze}from"./chunks/v4-EwEgHOG0.mjs";import{F as cs,d as ds}from"./chunks/fuse-Dh4lEyaB.mjs";import{_ as zt,a as Fi}from"./chunks/ItemFilter.vue_vue_type_script_setup_true_lang-i43jAQtj.mjs";import{a as Ri,o as ss,l as Ii}from"./chunks/omit-CjJULzjP.mjs";import{A as Ms}from"./chunks/ActionMenuItem-5Eo133Qt.mjs";import{i as Pi,c as qo,b as Ei,g as Li,e as _i,f as os}from"./chunks/datetime-CpSA3f1i.mjs";import{c as Ot,u as Ni}from"./chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import{f as It}from"./chunks/index-lRhEXmMs.mjs";import{T as Uo}from"./chunks/index-Dc0lA-4d.mjs";import{u as zi}from"./chunks/useRouteParam-C9SJn9Mp.mjs";import{d as Mi}from"./chunks/types-BoCZvwvE.mjs";import{u as Os}from"./chunks/useAbility-DLkgdurK.mjs";import{D as st,a as Oi}from"./chunks/locale-tv0ZmyWq.mjs";import{d as Vi}from"./chunks/debounce-Bg6HwA-m.mjs";import{i as gs}from"./chunks/isEmpty-BPG2bWXw.mjs";import{L as ji}from"./chunks/List-D6xFt6lb.mjs";import"./chunks/useRouteMeta-C9xjNr4h.mjs";import"./chunks/useWindowOpen-BMCzbqTR.mjs";import"./chunks/download-Bmys4VUp.mjs";import"./chunks/toNumber-BQH-f3hb.mjs";import"./chunks/_getTag-rbyw32wi.mjs";import"./chunks/_Set-DyVdKz_x.mjs";import"./chunks/icon-BPAP2zgX.mjs";import"./chunks/preload-helper-PPVm8Dsz.mjs";var qi=200;function Ui(e,s,i,l){var n=-1,c=da,o=!0,r=e.length,p=[],y=s.length;if(!r)return p;s.length>=qi&&(c=ua,o=!1,s=new ca(s));e:for(;++n{s()});const i=()=>{e.value=!1},l=r=>{e.value=(r.dataTransfer.types||[]).some(p=>p==="Files")},n=ge.subscribe("drag-over",l),c=ge.subscribe("drag-out",i),o=ge.subscribe("drop",i);return Xe(()=>{ge.unsubscribe("drag-over",n),ge.unsubscribe("drag-out",c),ge.unsubscribe("drop",o)}),{dragareaEnabled:e}}}),Gi={id:"files",class:"flex h-full max-h-full relative"},Hi={key:0,class:"absolute inset-0 z-90 bg-sky-600/20 border-2 border-dashed border-role-outline rounded-xl pointer-events-none"};function Wi(e,s,i,l,n,c){const o=k("router-view");return a(),w("main",Gi,[e.dragareaEnabled?(a(),w("div",Hi)):L("",!0),s[0]||(s[0]=d()),b(o,{tabindex:"0",class:"files-wrapper flex-1 h-full flex-nowrap sm:flex-wrap"})])}const Yi=ue(Bi,[["render",Wi]]),Bo={id:"app.files.upload-menu",extensionType:"action",multiple:!0},_t={id:"app.files.quick-actions",extensionType:"action",multiple:!0},Vs={id:"app.files.trash-quick-actions",extensionType:"action",multiple:!0},Go={id:"global.files.batch-actions",extensionType:"action",multiple:!0},Ho={id:"global.files.context-actions",extensionType:"action",multiple:!0},Ve={id:"global.files.sidebar",extensionType:"sidebarPanel",multiple:!0},Ki={id:"app.files.floating-action-button",extensionType:"floatingActionButton"},Ut={id:"app.files.folder-views.folder",extensionType:"folderView"},as={id:"app.files.folder-views.favorites",extensionType:"folderView"},Bt={id:"app.files.folder-views.project-spaces",extensionType:"folderView"},Gt={id:"app.files.folder-views.trash",extensionType:"folderView"},Ht={id:"app.files.folder-views.trash-overview",extensionType:"folderView"},Wt={id:"app.files.folder-views.shared-via-link",extensionType:"folderView"},Yt={id:"app.files.folder-views.shared-with-others",extensionType:"folderView"},es={id:"app.files.folder-views.shared-with-me",extensionType:"folderView"},Kt={id:"app.files.folder-views.search",extensionType:"folderView"},Wo={id:"app.files.sidebar.file-details.table",extensionType:"customComponent"},Yo={id:"app.files.sidebar.shares-panel.shared-with.top",extensionType:"customComponent"},Ko={id:"app.files.sidebar.shares-panel.shared-with.bottom",extensionType:"customComponent"},Qi=()=>u(()=>[Bo,_t,Vs,Go,Ho,Ve,Ut,as,Bt,Gt,Ht,Wt,Yt,Kt,Ki,Wo,Yo,Ko]),Zi=Q({name:"QuickActions",props:{item:{type:Object,required:!0},space:{type:Object,default:void 0}},setup(e){const s=ns(),{isEnabled:i}=Jt(),l=u(()=>t(s).requestExtensions(_t).map(c=>c.action).filter(({isVisible:c})=>c({space:e.space,resources:[e.item]})));return{getIconFromAction:c=>typeof c.icon=="function"?c.icon({space:e.space,resources:[e.item]}):c.icon,filteredActions:l,isEmbedModeEnabled:i}}}),Ji={key:0,class:"flex"};function Xi(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button"),p=Re("oc-tooltip");return e.isEmbedModeEnabled?L("",!0):(a(),w("div",Ji,[(a(!0),w(X,null,Te(e.filteredActions,y=>Se((a(),R(r,{key:y.label(),"aria-label":y.label(),appearance:"raw",class:ye(["ml-1 quick-action-button p-1",`files-quick-action-${y.name}`]),onClick:g=>y.handler({space:e.space,resources:[e.item],event:g})},{default:A(()=>[b(o,{name:e.getIconFromAction(y),"fill-type":"line"},null,8,["name"])]),_:2},1032,["aria-label","class","onClick"])),[[p,y.label()]])),128))]))}const Qo=ue(Zi,[["render",Xi]]),en=Q({setup:()=>{const{resourceContentsText:e}=To();return{resourceContentsText:e}}}),tn={class:"text-center"},sn=["textContent"];function on(e,s,i,l,n,c){return a(),w("div",tn,[m("p",{"data-testid":"files-list-footer-info",class:"text-role-on-surface-variant",textContent:C(e.resourceContentsText)},null,8,sn)])}const Pt=ue(en,[["render",on]]),an={class:"relative w-full flex flex-wrap items-center justify-between my-2 text-role-on-chrome gap-2"},nn={class:"flex items-center ml-auto"},rn=Q({__name:"EmbedActions",setup(e){const{$gettext:s}=ne(),{isLocationPicker:i,isFilePicker:l,postMessage:n,chooseFileName:c,chooseFileNameSuggestion:o}=Jt(),r=Ye(),p=Me(),{currentSpace:y}=de(r),g=ve(),{currentFolder:h,selectedResources:v}=de(g),D=H(t(o)),T=u(()=>i.value?[t(h)]:t(v)),{actions:f}=ho({enforceModal:!0}),S=u(()=>t(f)[0]),x=u(()=>T.value.length<1),I=u(()=>T.value.length<1||!t(S).isVisible({resources:t(T),space:t(y)})),P=u(()=>T.value.length<1||!t(h)||!t(h)?.canCreate()),F=u(()=>t(c)?[0,Ea({name:t(o),extension:t(o).split(".").pop()}).length]:null),_=()=>{t(c)&&n("opencloud-embed:select",{resources:JSON.parse(JSON.stringify(T.value)),fileName:t(D),locationQuery:JSON.parse(JSON.stringify(ma(t(p.currentRoute))))}),n("opencloud-embed:select",JSON.parse(JSON.stringify(T.value)))},$=()=>{n("opencloud-embed:cancel",null)};return(E,N)=>{const j=k("oc-text-input"),Y=k("oc-button");return a(),w("section",an,[t(c)?(a(),R(j,{key:0,modelValue:D.value,"onUpdate:modelValue":N[0]||(N[0]=z=>D.value=z),class:"flex flex-row items-center ml-0 md:ml-[230px] gap-2 [&_input]:w-auto md:[&_input]:w-sm","selection-range":F.value,label:t(s)("File name")},null,8,["modelValue","selection-range","label"])):L("",!0),N[4]||(N[4]=d()),m("div",nn,[b(Y,{class:"mr-4","data-testid":"button-cancel",appearance:"raw-inverse","no-hover":"",onClick:$},{default:A(()=>[d(C(t(s)("Cancel")),1)]),_:1}),N[2]||(N[2]=d()),!t(i)&&!t(l)?(a(),R(Y,{key:"btn-share",class:"mr-4","data-testid":"button-share",appearance:"filled",disabled:I.value,onClick:N[1]||(N[1]=z=>S.value.handler({resources:T.value,space:t(y)}))},{default:A(()=>[d(C(t(s)("Share link(s)")),1)]),_:1},8,["disabled"])):L("",!0),N[3]||(N[3]=d()),t(l)?L("",!0):(a(),w(X,{key:1},[t(i)?(a(),R(Y,{key:0,"data-testid":"button-select",appearance:"filled",disabled:P.value,onClick:_},{default:A(()=>[d(C(t(c)?t(s)("Save"):t(s)("Choose")),1)]),_:1},8,["disabled"])):(a(),R(Y,{key:1,"data-testid":"button-select",appearance:"filled",disabled:x.value,onClick:_},{default:A(()=>[d(C(t(s)("Attach as copy")),1)]),_:1},8,["disabled"]))],64))])])}}}),ln={class:"files-view-wrapper relative grid grid-cols-1 flex-1 focus:outline-0 h-full overflow-y-auto gap-0"},gt=Q({inheritAttrs:!1,__name:"FilesViewWrapper",setup(e){const{isEnabled:s}=Jt();return(i,l)=>(a(),w(X,null,[m("div",ln,[m("div",Ge({id:"files-view"},i.$attrs,{class:"outline-0 z-0 flex flex-col"}),[ha(i.$slots,"default")],16)]),l[0]||(l[0]=d()),t(s)?(a(),R(fa,{key:0,to:"#app-runtime-footer"},[b(rn)])):L("",!0)],64))}}),Zo=({spaceImageInput:e})=>{const s=Oe(),{$gettext:i}=ne(),{dispatchModal:l}=ut();let n=null;const c=({resources:p})=>{p.length===1&&(n=p[0],t(e)?.click())},o=p=>{const y=p.currentTarget.files[0];p.currentTarget.value="",l({title:i("Crop image for »%{space}«",{space:n.name}),confirmText:i("Confirm"),customComponent:za,focusTrapInitial:!1,customComponentAttrs:()=>({file:y,space:t(n)})})};return{actions:u(()=>[{name:"upload-space-image",icon:"image-add",handler:c,label:()=>i("Set image"),isVisible:({resources:p})=>p.length!==1?!1:p[0].canEditImage({user:s.user}),class:"oc-files-actions-upload-space-image-trigger"}]),showModalImageSpace:o}},Zs=(e,s=3500)=>{const i=document.querySelectorAll(`[data-item-id='${e}']`)[0];i&&(i.classList.add("item-accentuated"),setTimeout(()=>{i.classList.remove("item-accentuated")},s))},bt=e=>{const s=e.loadResourcesTask||xi.getTask(),i=u(()=>s.isRunning||!s.last),l=ne(),n=ve(),c=ns(),o=u(()=>n.activeResources),{refresh:r,y:p}=Do(),y=_e(xt.queryName,xt.defaultModeName),g=u(()=>Ne(y.value)),h=ga(g),v=_e("tiles-size","1"),D=u(()=>String(v.value)),T=ba(D),f=u(()=>[...c.requestExtensions(e.folderViewExtensionPoint).map(j=>j.folderView)]),S=u(()=>t(f).find(j=>j.name===t(h))||t(f)[0]),x=u(()=>t(h)===xt.name.tiles?no(va(t(o)[0]),l):Ci(t(o)[0])),{sortBy:I,sortDir:P,items:F,handleSort:_}=Ns({items:o,fields:x}),{items:$,total:E,page:N}=$o({items:F,perPageStoragePrefix:"files"});return n.$onAction(j=>{j.after(async()=>{switch(j.name){case"upsertResource":await He(),Zs(j.args[0].id);break;case"upsertResources":await He();for(const Y of j.args[0])Zs(Y.id);break}})}),{fileListHeaderY:p,refreshFileListHeaderPosition:r,loadResourcesTask:s,areResourcesLoading:i,storeItems:o,sortFields:x,viewMode:h,viewSize:T,viewModes:f,folderView:S,paginatedResources:$,paginationPages:E,paginationPage:N,handleSort:_,sortBy:I,sortDir:P,...Co(),...jo()}},cn=Q({components:{FilesViewWrapper:gt,AppBar:ht,FileSideBar:ft,ResourceTable:At,QuickActions:Qo,AppLoadingSpinner:at,Pagination:Rt,NoContentMessage:ot,ListInfo:Pt,ContextActions:$t},setup(){const{getMatchingSpace:e}=Ke(),s=We(),{options:i}=de(s),l=ve(),n=bt({folderViewExtensionPoint:as}),{loadPreview:c}=dt(n.viewMode);let o;return Pe(()=>{o=ge.subscribe("app.files.list.removeFromFavorites",r=>{l.removeResources([{id:r}])})}),Xe(()=>{ge.unsubscribe("app.files.list.removeFromFavorites",o)}),{...Ft(),...n,configOptions:i,getMatchingSpace:e,loadPreview:c}},computed:{isEmpty(){return this.paginatedResources.length<1}},async created(){await this.loadResourcesTask.perform(),this.scrollToResourceFromRoute(this.paginatedResources,"files-app-bar")}}),dn={class:"flex"},un=["textContent"];function pn(e,s,i,l,n,c){const o=k("app-bar"),r=k("app-loading-spinner"),p=k("no-content-message"),y=k("quick-actions"),g=k("context-actions"),h=k("pagination"),v=k("list-info"),D=k("files-view-wrapper"),T=k("file-side-bar");return a(),w("div",dn,[b(D,null,{default:A(()=>[b(o,{"view-modes":e.viewModes},null,8,["view-modes"]),s[5]||(s[5]=d()),e.areResourcesLoading?(a(),R(r,{key:0})):(a(),w(X,{key:1},[e.isEmpty?(a(),R(p,{key:0,id:"files-favorites-empty",icon:"star"},{message:A(()=>[m("span",{textContent:C(e.$gettext("There are no resources marked as favorite"))},null,8,un)]),_:1})):(a(),R(ct(e.folderView.component),Ge({key:1,"selected-ids":e.selectedResourcesIds,"onUpdate:selectedIds":s[0]||(s[0]=f=>e.selectedResourcesIds=f),"are-paths-displayed":!0,resources:e.paginatedResources,"header-position":e.fileListHeaderY,"sort-by":e.sortBy,"sort-dir":e.sortDir},e.folderView.componentAttrs?.(),{onFileClick:e.triggerDefaultAction,onItemVisible:s[1]||(s[1]=f=>e.loadPreview({space:e.getMatchingSpace(f),resource:f})),onSort:e.handleSort}),{quickActions:A(f=>[b(y,{class:"hidden sm:block",item:f.resource},null,8,["item"])]),contextMenu:A(({resource:f})=>[e.isResourceInSelection(f)?(a(),R(g,{key:0,"action-options":{space:e.getMatchingSpace(f),resources:e.selectedResources}},null,8,["action-options"])):L("",!0)]),footer:A(()=>[b(h,{pages:e.paginationPages,"current-page":e.paginationPage},null,8,["pages","current-page"]),s[2]||(s[2]=d()),e.paginatedResources.length>0?(a(),R(v,{key:0,class:"w-full my-2"})):L("",!0)]),_:1},16,["selected-ids","resources","header-position","sort-by","sort-dir","onFileClick","onSort"]))],64))]),_:1}),s[6]||(s[6]=d()),b(T,{space:e.selectedResourceSpace},null,8,["space"])])}const mn=ue(cn,[["render",pn]]),hn=async e=>{const s=await window.showDirectoryPicker();async function*i(n,c){let o=!1;for await(const[r,p]of n.entries())if(p.kind==="directory")yield*i(p,Qe(c,r));else{o=!0;try{const y=await p.getFile();y.relativePath=Qe(c,r,{leadingSlash:!0}),yield y}catch(y){console.log(y),e?.(y)}}o||(yield Ma(c))}const l=[];for await(const n of i(s,s.name))l.push(n);return l},fn={class:"relative"},gn=["id"],bn=["id","aria-labelledby","name"],ys=Q({__name:"ResourceUpload",props:{btnLabel:{default:""},btnClass:{default:""},isFolder:{type:Boolean,default:!1}},setup(e){const{$gettext:s}=ne(),i=ks("$uppyService"),l=Je("input"),n=H(i.isRemoteUploadInProgress());let c,o;const r=u(()=>({extension:"",isFolder:e.isFolder})),p=()=>n.value=i.isRemoteUploadInProgress(),y=()=>n.value=!1,g=async()=>{if(!e.isFolder||typeof window.showDirectoryPicker!="function"){t(l).click();return}try{const f=await hn(x=>i.log(x)),S=Oa("FolderUpload",f);i.addFiles(S)}catch(f){f.name!=="AbortError"&&(console.error("Error using DirectoryPicker, falling back to the native one:",f),t(l).click())}};Pe(()=>{c=i.subscribe("uploadStarted",p),o=i.subscribe("uploadCompleted",y),i.registerUploadInput(t(l))}),Xe(()=>{i.unsubscribe("uploadStarted",c),i.unsubscribe("uploadCompleted",o),i.removeUploadInput(t(l))});const h=u(()=>e.isFolder?"files-folder-upload-input":"files-file-upload-input"),v=u(()=>e.isFolder?"files-folder-upload-button":"files-file-upload-button"),D=u(()=>e.btnLabel?e.btnLabel:e.isFolder?s("Folder"):s("Files")),T=u(()=>e.isFolder?{webkitdirectory:!0,mozdirectory:!0,allowdirs:!0}:{multiple:!0});return(f,S)=>{const x=k("oc-button"),I=Re("oc-tooltip");return Se((a(),w("div",fn,[b(x,{class:ye(e.btnClass),"justify-content":"left",appearance:"raw",disabled:n.value,onClick:g},{default:A(()=>[b(t(Mt),{resource:r.value,size:"medium",class:"[&_svg]:h-5.5! sm:[&_svg]:h-full"},null,8,["resource"]),S[0]||(S[0]=d()),m("span",{id:v.value},C(D.value),9,gn)]),_:1},8,["class","disabled"]),S[1]||(S[1]=d()),m("input",Ge({id:h.value,ref_key:"input",ref:l},T.value,{class:"hidden",type:"file","aria-labelledby":v.value,name:e.isFolder?"file":"folder",tabindex:"-1",hidden:""}),null,16,bn)])),[[I,n.value?t(s)("Please wait until all imports have finished"):null]])}}});class vn extends si{resourcesStore;constructor(s,i){const{$gettext:l,$ngettext:n}=i;super(l,n),this.resourcesStore=s}resolveFileExists(s,i,l=!1,n=!1){const{dispatchModal:c}=ut();return new Promise(o=>{c({title:s.isFolder?this.$gettext("Folder already exists"):this.$gettext("File already exists"),hideActions:!0,customComponent:oi,customComponentAttrs:()=>({confirmSecondaryTextOverwrite:s.isFolder?this.$gettext("Merge"):this.$gettext("Replace"),resource:s,conflictCount:i,suggestMerge:l,separateSkipHandling:n,callbackFn:r=>{o(r)}})})})}getConflicts(s){const i=[];for(const l of s){const n=l.meta.relativePath;if(n){const o=n.replace(/^\/+/,"").split("/")[0];if(this.resourcesStore.resources.find(p=>p.name===o)){if(i.some(p=>p.name===o))continue;i.push({name:o,type:"folder"});continue}}this.resourcesStore.resources.find(o=>o.name===l.name&&!l.meta.relativeFolder)&&i.push({name:l.name,type:"file"})}return i}async displayOverwriteDialog(s,i){let l=0,n=0;const c=[],o=[];let r=!1,p,y=!1,g;for(const f of i){const S=f.type==="folder",x=S?o:c;if(r&&!S){x.push({name:f.name,strategy:p});continue}if(y&&S){x.push({name:f.name,strategy:g});continue}const I=i.filter(F=>F.type===f.type).length-(S?n:l),P=await this.resolveFileExists({name:f.name,isFolder:S},I,S,!0);S?n++:l++,P.doForAllConflicts&&(S?(y=!0,g=P.strategy):(r=!0,p=P.strategy)),x.push({name:f.name,strategy:P.strategy})}const h=c.filter(f=>f.strategy===Xt.SKIP).map(f=>f.name),v=o.filter(f=>f.strategy===Xt.SKIP).map(f=>f.name);s=s.filter(f=>!h.includes(f.name)),s=s.filter(f=>!v.some(S=>f.meta.relativeFolder.split("/")[1]===S));const D=c.filter(f=>f.strategy===Xt.KEEP_BOTH).map(f=>f.name),T=o.filter(f=>f.strategy===Xt.KEEP_BOTH).map(f=>f.name);for(const f of D){const S=s.find(I=>I.name===f&&!I.meta.relativeFolder),x=La({name:f});S.name=Qs(f,x,this.resourcesStore.resources),S.meta.name=S.name,S.xhrUpload?.endpoint&&(S.xhrUpload.endpoint=S.xhrUpload.endpoint.toString().replace(new RegExp(`/${encodeURIComponent(f)}`),`/${encodeURIComponent(S.name)}`))}for(const f of T){const S=s.filter(x=>x.meta.relativeFolder.split("/")[1]===f);for(const x of S){const I=Qs(f,"",this.resourcesStore.resources);x.meta.relativeFolder=x.meta.relativeFolder.replace(new RegExp(`/${f}`),`/${I}`),x.meta.relativePath=x.meta.relativePath.replace(new RegExp(`/${f}/`),`/${I}/`),x.meta.tusEndpoint=x.meta.tusEndpoint.replace(new RegExp(`/${encodeURIComponent(f)}$`),`/${encodeURIComponent(I)}`),x.xhrUpload?.endpoint&&(x.xhrUpload.endpoint=x.xhrUpload.endpoint.toString().replace(new RegExp(`/${encodeURIComponent(f)}$`),`/${encodeURIComponent(I)}`)),x.tus?.endpoint&&(x.tus.endpoint=x.tus.endpoint.replace(new RegExp(`/${encodeURIComponent(f)}$`),`/${encodeURIComponent(I)}`))}}return s}}class Jo extends Va{clientService;language;route;space;userStore;messageStore;spacesStore;resourcesStore;uppyService;quotaCheckEnabled;directoryTreeCreateEnabled;conflictHandlingEnabled;constructor(s,i){super(s,i),this.id=i.id||"HandleUpload",this.type="modifier",this.uppy=s,this.clientService=i.clientService,this.language=i.language,this.route=i.route,this.space=i.space,this.userStore=i.userStore,this.messageStore=i.messageStore,this.spacesStore=i.spacesStore,this.resourcesStore=i.resourcesStore,this.uppyService=i.uppyService,this.quotaCheckEnabled=i.quotaCheckEnabled??!0,this.directoryTreeCreateEnabled=i.directoryTreeCreateEnabled??!0,this.conflictHandlingEnabled=i.conflictHandlingEnabled??!0,this.handleUpload=this.handleUpload.bind(this)}removeFilesFromUpload(s){for(const i of s)this.uppy.removeFile(i.id)}getUploadPluginName(){return this.uppy.getPlugin("Tus")?"tus":"xhrUpload"}getUploadFolder(s){return s&&this.uppyService.uploadFolderMap[s]?this.uppyService.uploadFolderMap[s]:this.resourcesStore.currentFolder}prepareFiles(s,i){const l={};if(!this.resourcesStore.currentFolder&&t(this.route)?.params?.token){const g=Ne(t(this.route).params.token);let h=Qe(this.clientService.webdav.getPublicFileUrl(t(this.space),g),{trailingSlash:!0});for(const v of s)this.uppy.getPlugin("Tus")||(h=Qe(h,encodeURIComponent(v.name))),v[this.getUploadPluginName()]={endpoint:h},v.meta={...v.meta,tusEndpoint:h,uploadId:ze(),isFolder:v.type==="directory"},l[v.id]=v;return this.uppy.setState({files:{...this.uppy.getState().files,...l}}),Object.values(l)}const{id:n,path:c}=i,{name:o,params:r,query:p}=t(this.route),y={};for(const g of s){const h=g.meta.relativePath,v=!h||vt.dirname(h)==="."?"":vt.dirname(h);let D;if(h){const S=h.split("/").filter(Boolean)[0];y[S]||(y[S]=ze()),D=y[S]}const T=t(this.space).getWebDavUrl({path:c.split("/").map(encodeURIComponent).join("/")});let f=Qe(T,v.split("/").map(encodeURIComponent).join("/"));this.uppy.getPlugin("Tus")||(f=Qe(f,encodeURIComponent(g.name))),g[this.getUploadPluginName()]={endpoint:f},g.meta={...g.meta,name:g.name,mtime:g.data.lastModified/1e3,isFolder:g.type==="directory",spaceId:t(this.space).id,spaceName:t(this.space).name,driveAlias:t(this.space).driveAlias,driveType:t(this.space).driveType,currentFolder:c,currentFolderId:n,uppyId:this.uppyService.generateUploadId(g),relativeFolder:v,tusEndpoint:f,uploadId:ze(),topLevelFolderId:D,routeName:o,routeDriveAliasAndItem:Ne(r?.driveAliasAndItem)||"",routeShareId:Ne(p?.shareId)||""},g.type==="directory"&&(g.meta.relativeFolder=Qe(g.meta.relativeFolder,g.name)),l[g.id]=g}return this.uppy.setState({files:{...this.uppy.getState().files,...l}}),Object.values(l)}checkQuotaExceeded(s){let i=!1;const l=s.reduce((c,o)=>{let r;if(o.meta.routeName===ya.name||(o.meta.routeName===wa.name&&(r=this.spacesStore.spaces.find(({id:h})=>h===o.meta.spaceId)),!r||wt(r)||yt(r)&&!r.isOwner(this.userStore.user)))return c;const p=this.resourcesStore.resources.find(h=>!o.meta.relativeFolder&&h.name===o.name),y=p?Number(p.size):0,g=c.find(h=>h.space.id===r.id);return g?(g.uploadSize=o.data.size-y,c):(c.push({space:r,uploadSize:o.data.size-y}),c)},[]),{$gettext:n}=this.language;return l.forEach(({space:c,uploadSize:o})=>{if(c.spaceQuota.remaining&&c.spaceQuota.remaining!!x.relativeFolder)){S.type==="directory"&&D.push(S);const x=S.meta.relativeFolder.split("/").filter(Boolean);let I=h;v[Qe(x[0])]=S.meta.topLevelFolderId;for(const P of x)I[P]=I[P]||{},I=I[P]}const T=async(S,x="")=>{if(x){const F=x.split("/").length<=1;x=Qe(x,{leadingSlash:!0});const _=F?v[x]:ze(),$=vt.dirname(x)==="/"?"":vt.dirname(x),E={id:ze(),name:vt.basename(x),type:"folder",meta:{spaceId:n.id,spaceName:n.name,driveAlias:n.driveAlias,driveType:n.driveType,currentFolder:o,currentFolderId:c,relativeFolder:$,uploadId:_,routeName:r,routeDriveAliasAndItem:p,routeShareId:y,isFolder:!0}};if(g.includes($))return;this.uppyService.publish("addedForUpload",[E]);try{const N=await l.createFolder(n,{path:Qe(o,x),fetchFolder:F});this.uppyService.publish("uploadSuccess",{...E,meta:{...E.meta,fileId:N?.fileId}})}catch(N){N.statusCode!==405&&(console.error(N),g.push(x),this.uppyService.publish("uploadError",{file:E,error:N}))}}const I=Object.keys(S),P=[];for(const F of I)P.push(T(S[F],vt.join(x,F)));return Promise.allSettled(P)};await T(h);let f=[];if(g.length||D.length){f=s.filter(S=>S.meta.isFolder||g.some(x=>S.meta.relativeFolder.startsWith(x))).map(({id:S})=>S);for(const S of f)this.uppy.removeFile(S)}return{filesToUpload:s.filter(({id:S})=>!f.includes(S)),folderFiles:D}}async handleUpload(s){if(!s.length)return;const i=s[0].meta?.uploadId,l=this.getUploadFolder(i);let n=this.prepareFiles(s,l);if(!this.directoryTreeCreateEnabled&&(n=n.filter(o=>o.type!=="directory"),!n.length)){this.uppyService.clearInputs();return}if(this.quotaCheckEnabled&&this.checkQuotaExceeded(n))return this.removeFilesFromUpload(n),this.uppyService.clearInputs();if(this.conflictHandlingEnabled){const o=new vn(this.resourcesStore,this.language),r=o.getConflicts(n);if(r.length){const p=document.getElementsByClassName("uppy-Dashboard");p.length&&(p[0].style.display="none");const y=await o.displayOverwriteDialog(n,r);if(y.length===0)return this.removeFilesFromUpload(n),this.uppyService.clearInputs();n=y;const g=y.reduce((h,v)=>(h[v.id]=v,h),{});this.uppy.setState({files:{...this.uppy.getState().files,...g}})}}this.uppyService.publish("uploadStarted");let c=[];if(this.directoryTreeCreateEnabled){const o=await this.createDirectoryTree(n,l);n=o.filesToUpload,c=o.folderFiles}if(!n.length){const o=[];return c.length&&o.push(...c),this.uppyService.publish("uploadCompleted",{successful:o}),this.uppyService.removeUploadFolder(i),this.uppyService.clearInputs()}this.uppyService.publish("addedForUpload",n),this.uppyService.uploadFiles(),this.uppyService.removeUploadFolder(i)}install(){this.uppy.on("files-added",this.handleUpload)}uninstall(){this.uppy.off("files-added",this.handleUpload)}}const yn=Q({components:{ResourceUpload:ys},setup(){const e=ks("$uppyService"),s=Oe(),i=et(),l=ka(),n=Ye(),c=Me(),o=Dt(),r=ne(),p=$i(),y=Ee(),g=rs(),{getInternalSpace:h}=Ke();fo({uppyService:e});const v=ve(),{currentTheme:D}=de(l),T=u(()=>t(D).slogan),f=_e("fileId"),S=u(()=>Ne(t(f)));e.getPlugin("HandleUpload")||e.addPlugin(Jo,{clientService:y,language:r,route:o,userStore:s,spacesStore:n,messageStore:i,resourcesStore:v,uppyService:e,quotaCheckEnabled:!1,directoryTreeCreateEnabled:!1,conflictHandlingEnabled:!1});const x=H(),I=H(!1),P=H(!0),F=H();let _,$,E;const N=()=>{I.value=!1},j=V=>{I.value=(V.dataTransfer.types||[]).some(M=>M==="Files")},Y=V=>{const M=h(t(S).split("!")[0]);if(M){const Z=Tt(M,{fileId:t(S),path:V});return c.push(Ze("files-spaces-generic",Z))}return c.push({name:"resolvePrivateLink",params:{fileId:t(S)}})},z=async()=>{if(P.value=!0,g.userContextReady&&t(S))try{const M=await y.webdav.getPathForFileId(t(S));await Y(M),P.value=!1;return}catch{}const V=n.spaces.find(M=>M.driveAlias===`public/${g.publicLinkToken}`);y.webdav.listFiles(V,{},{depth:0}).then(({resource:M})=>{if(M.publicLinkPermission!==ro.Create){c.replace(Ss("files-public-link",{params:{driveAliasAndItem:`public/${g.publicLinkToken}`}}));return}x.value=M}).catch(M=>{if(M.statusCode===401)return p.handleAuthError(t(c.currentRoute));console.error(M),F.value=M}).finally(()=>{P.value=!1})};return $e(P,async V=>{V?e.removeDropTarget():(await He(),e.useDropTarget({targetSelector:"#files-drop-container"}))}),Pe(()=>{_=ge.subscribe("drag-over",j),$=ge.subscribe("drag-out",N),E=ge.subscribe("drop",N),z()}),Xe(()=>{ge.unsubscribe("drag-over",_),ge.unsubscribe("drag-out",$),ge.unsubscribe("drop",E),e.removeDropTarget(),e.removePlugin(e.getPlugin("HandleUpload"))}),{dragareaEnabled:I,loading:P,errorMessage:F,share:x,themeSlogan:T}},computed:{pageTitle(){return this.$gettext(this.$route.meta.title)},title(){return this.share?this.$gettext("%{owner} shared this folder with you for uploading",{owner:this.share.publicLinkShareOwner}):""}}}),wn={key:1,id:"files-drop-container",class:"h-full flex flex-col justify-between m-12 bg-transparent border-dashed border-role-outline relative"},kn={key:0,class:"absolute inset-0 z-90 bg-sky-600/20 rounded-xl pointer-events-none"},Sn={class:"sr-only"},Cn={class:"p-4 h-full text-center"},xn={key:"loaded-drop",class:"flex flex-col"},An=["textContent"],Tn={key:0},Dn=["textContent"],$n=["textContent"],Fn={key:1,class:"flex justify-center w-full"},Rn=["textContent"],In={class:"mt-24"},Pn=["textContent"];function En(e,s,i,l,n,c){const o=k("app-loading-spinner"),r=k("resource-upload");return e.loading?(a(),R(o,{key:0})):(a(),w("div",wn,[e.dragareaEnabled?(a(),w("div",kn)):L("",!0),s[6]||(s[6]=d()),m("h1",Sn,C(e.pageTitle),1),s[7]||(s[7]=d()),m("div",Cn,[m("div",xn,[m("h2",{textContent:C(e.title)},null,8,An),s[0]||(s[0]=d()),b(r,{id:"files-drop-zone",ref:"fileUpload",class:"flex items-center justify-center oc-placeholder","btn-label":e.$gettext("Drop files here to upload or click to select file")},null,8,["btn-label"]),s[1]||(s[1]=d()),s[2]||(s[2]=m("div",{id:"previews",hidden:""},null,-1))]),s[4]||(s[4]=d()),e.errorMessage?(a(),w("div",Tn,[m("h2",null,[m("span",{textContent:C(e.$gettext("An error occurred while loading the public link"))},null,8,Dn)]),s[3]||(s[3]=d()),m("p",{class:"m-0",textContent:C(e.errorMessage)},null,8,$n)])):(a(),w("div",Fn,[m("p",{id:"files-drop-info-message ",class:"m-0 pt-12 text-sm w-md lg:w-full",textContent:C(e.$gettext("Note: Transfer of nested folder structures is not possible. Instead, all files from the subfolders will be uploaded individually."))},null,8,Rn)])),s[5]||(s[5]=d()),m("div",In,[m("p",{textContent:C(e.themeSlogan)},null,8,Pn)])])]))}const Ln=ue(yn,[["render",En]]),_n=Q({components:{ResourceTable:At,ContextActions:$t,ListInfo:Pt,NoContentMessage:ot},props:{title:{type:String,required:!0},items:{type:Array,required:!0},sortBy:{type:String,required:!1,default:void 0},sortDir:{type:String,required:!1,default:void 0,validator:e=>e===void 0||[vs.Asc.toString(),vs.Desc.toString()].includes(e)},sortHandler:{type:Function,required:!0},folderView:{required:!0,type:Object},showMoreToggle:{type:Boolean,default:!1},showMoreToggleCount:{type:Number,default:3},resourceClickable:{type:Boolean,default:!0},fileListHeaderY:{type:Number,default:0},viewMode:{type:String,required:!0},viewSize:{type:Number,required:!0},sortFields:{type:Object,required:!0}},setup(e){const s=mt(),i=We(),{getMatchingSpace:l}=Ke(),{loadPreview:n}=dt(u(()=>e.viewMode)),{triggerDefaultAction:c}=Ft(),{actions:o}=ai(),r=u(()=>t(o)[0]),{updateResourceField:p}=ve(),y=g=>g.shareTypes.includes(ce.remote.value);return{capabilityStore:s,configStore:i,triggerDefaultAction:c,hideShareAction:r,...Co(),getMatchingSpace:l,updateResourceField:p,isExternalShare:y,ShareTypes:ce,loadPreview:n}},data:()=>({showMore:!1}),computed:{displayedFields(){return["name","sharedBy","sdate","sharedWith"]},toggleMoreLabel(){return this.showMore?this.$gettext("Show less"):this.$gettext("Show more")},hasMore(){return this.items.length>this.showMoreToggleCount},resourceItems(){return!this.showMoreToggle||this.showMore?this.items:this.items.slice(0,this.showMoreToggleCount)}},methods:{toggleShowMore(){this.showMore=!this.showMore}}}),Nn={class:"px-4 py-2 sr-only"},zn={class:"text-base"},Mn=["textContent"],On=["textContent"],Vn={key:0,class:"w-full text-center mt-4"};function jn(e,s,i,l,n,c){const o=k("no-content-message"),r=k("context-actions"),p=k("oc-icon"),y=k("oc-button"),g=k("list-info"),h=Re("oc-tooltip");return a(),w("div",null,[m("h2",Nn,[d(C(e.title)+" ",1),m("span",zn,"("+C(e.items.length)+")",1)]),s[5]||(s[5]=d()),e.items.length?(a(),R(ct(e.folderView.component),{key:1,"selected-ids":e.selectedResourcesIds,"onUpdate:selectedIds":s[0]||(s[0]=v=>e.selectedResourcesIds=v),"fields-displayed":e.displayedFields,resources:e.resourceItems,"are-resources-clickable":e.resourceClickable,"header-position":e.fileListHeaderY,"sort-by":e.sortBy,"sort-dir":e.sortDir,"sort-fields":e.sortFields.filter(v=>v.name==="name"),"view-mode":e.viewMode,"view-size":e.viewSize,onFileClick:e.triggerDefaultAction,onItemVisible:s[1]||(s[1]=v=>e.loadPreview({space:e.getMatchingSpace(v),resource:v})),onSort:e.sortHandler},{contextMenu:A(({resource:v})=>[e.isResourceInSelection(v)?(a(),R(r,{key:0,"action-options":{space:e.getMatchingSpace(v),resources:e.selectedResources}},null,8,["action-options"])):L("",!0)]),quickActions:A(({resource:v})=>[Se((a(),R(y,{"aria-label":e.hideShareAction.label({space:null,resources:[v]}),appearance:"raw",class:ye(["p-1",e.hideShareAction.class,"raw-hover-surface"]),onClick:is(D=>e.hideShareAction.handler({space:null,resources:[v]}),["stop"])},{default:A(()=>[b(p,{name:v.hidden?"eye":"eye-off","fill-type":"line","aria-hidden":"true"},null,8,["name"])]),_:2},1032,["aria-label","class","onClick"])),[[h,e.hideShareAction.label({space:null,resources:[v]})]])]),footer:A(()=>[e.showMoreToggle&&e.hasMore?(a(),w("div",Vn,[b(y,{id:"files-shared-with-me-show-all",appearance:"raw","gap-size":"xsmall",size:"small","data-test-expand":(!e.showMore).toString(),onClick:e.toggleShowMore},{default:A(()=>[d(C(e.toggleMoreLabel)+" ",1),b(p,{name:"arrow-"+(e.showMore?"up":"down")+"-s","fill-type":"line"},null,8,["name"])]),_:1},8,["data-test-expand","onClick"])])):(a(),R(g,{key:1,class:"w-full my-2"}))]),_:1},40,["selected-ids","fields-displayed","resources","are-resources-clickable","header-position","sort-by","sort-dir","sort-fields","view-mode","view-size","onFileClick","onSort"])):(a(),R(o,{key:0,class:"files-empty","img-src":"/images/empty-states/empty-shared-with-me.svg"},{message:A(()=>[m("span",{textContent:C(e.$gettext("Nothing shared, yet"))},null,8,Mn)]),callToAction:A(()=>[m("span",{textContent:C(e.$gettext("All received shares will show up here"))},null,8,On)]),_:1}))])}const qn=ue(_n,[["render",jn]]),Un=Q({setup(){const{$gettext:e}=ne(),s=Me(),i=[ms,hs,fs].reduce((p,y)=>(p[y.name]=s.getRoutes().find(g=>g.name===y.name),p),{}),l=qt(Nt,ms.name),n=qt(Nt,hs.name),c=qt(Nt,fs.name),o=u(()=>[{icon:"share-forward",to:i[ms.name].path,text:e("Shared with me"),active:t(l)},{icon:"reply",to:i[hs.name].path,text:e("Shared with others"),active:t(n)},{icon:"link",to:i[fs.name].path,text:e("Shared via link"),active:t(c)}]);return{currentNavItem:u(()=>t(o).find(p=>p.active)),navItems:o}}}),Bn=["aria-label"],Gn=["textContent"],Hn={id:"shares-navigation-mobile",class:"block sm:hidden"},Wn=["textContent"],Yn=["textContent"];function Kn(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button"),p=k("oc-list"),y=k("oc-drop");return a(),w("nav",{id:"shares-navigation",class:"py-2","aria-label":e.$gettext("Shares pages navigation")},[b(p,{class:"hidden sm:flex"},{default:A(()=>[(a(!0),w(X,null,Te(e.navItems,g=>(a(),w("li",{key:`shares-navigation-desktop-${g.to}`},[b(r,{type:"router-link",class:ye(["mr-4 py-2 w-full",{"border-b border-role-secondary rounded-none":g.active}]),appearance:"raw",to:g.to},{default:A(()=>[b(o,{size:"small",name:g.icon},null,8,["name"]),s[0]||(s[0]=d()),m("span",{textContent:C(g.text)},null,8,Gn)]),_:2},1032,["class","to"])]))),128))]),_:1}),s[4]||(s[4]=d()),m("div",Hn,[b(r,{id:"shares_navigation_mobile",class:"p-1",appearance:"raw"},{default:A(()=>[m("span",{textContent:C(e.currentNavItem.text)},null,8,Wn),s[1]||(s[1]=d()),b(o,{name:"arrow-drop-down"})]),_:1}),s[3]||(s[3]=d()),b(y,{title:e.$gettext("Navigation"),toggle:"#shares_navigation_mobile",mode:"click","close-on-click":"","padding-size":"small"},{default:A(()=>[b(p,null,{default:A(()=>[(a(!0),w(X,null,Te(e.navItems,g=>(a(),w("li",{key:`shares-navigation-mobile-${g.to}`},[b(r,{type:"router-link","justify-content":"left",to:g.to,class:ye({"bg-role-secondary-container":g.active}),appearance:"raw"},{default:A(()=>[b(o,{name:g.icon},null,8,["name"]),s[2]||(s[2]=d()),m("span",{textContent:C(g.text)},null,8,Yn)]),_:2},1032,["to","class"])]))),128))]),_:1})]),_:1},8,["title"])])],8,Bn)}const js=ue(Un,[["render",Kn]]),Qn={class:"flex"},Zn={class:"flex justify-between flex-wrap items-end mx-4 mb-4"},Jn={class:"flex flex-wrap"},Xn=["textContent"],er=["textContent"],tr=Q({__name:"SharedWithMe",setup(e){const{openWithDefaultApp:s}=$s(),i=lo(),l=ve(),n=bt({folderViewExtensionPoint:es}),{viewMode:c,viewModes:o,viewSize:r,folderView:p,areResourcesLoading:y,sortFields:g,fileListHeaderY:h,loadResourcesTask:v,selectedResources:D,paginatedResources:T,scrollToResourceFromRoute:f}=n,{$gettext:S}=ne(),x=H(!1),I=H(""),P=u(()=>[{id:ze(),text:S("Shares"),to:Cs("files-shares-with-me"),isStaticNav:!0}]),F=u(()=>t(x)?S("Hidden Shares"):S("Shares")),_=u(()=>[{name:"visible",label:S("Shares")},{name:"hidden",label:S("Hidden Shares")}]),$=ee=>{x.value=ee.name==="hidden",l.resetSelection()},E=u(()=>t(T).filter(ee=>!ee.hidden)),N=u(()=>t(T).filter(ee=>ee.hidden)),j=u(()=>t(x)?t(N):t(E)),Y=_e("q_shareType"),z=_e("q_sharedBy"),V=u(()=>{let ee=t(j);const te=Ne(t(Y))?.split("+");te?.length&&(ee=ee.filter(({shareTypes:K})=>ce.getByKeys(te).map(({value:se})=>se).some(se=>K.includes(se))));const pe=Ne(t(z))?.split("+");return pe?.length&&(ee=ee.filter(({sharedBy:K})=>K.some(({id:se})=>pe.includes(se)))),t(I).trim()&&(ee=new cs(ee,{...ds,keys:["name"]}).search(t(I)).map(fe=>fe.item).filter(fe=>ee.includes(fe))),ee});let M;$e(V,()=>{t(y)||(M||(M=new Qt(".oc-resource-details")),M.unmark(),M.mark(t(I),{element:"span",className:"mark-highlight"}))});const{sortBy:Z,sortDir:q,items:U,handleSort:J}=Ns({items:V,fields:g}),{getMatchingSpace:W}=Ke(),B=u(()=>{if(t(D).length!==1)return null;const ee=t(D)[0];return W(ee)}),O=_e("openWithDefaultApp"),he=async()=>{await v.perform(),f(t(U),"files-app-bar"),Ne(t(O))==="true"&&s({space:t(B),resource:t(D)[0]})},oe=u(()=>{const ee=No(t(T).flatMap(pe=>pe.shareTypes));return i.appIds.includes("open-cloud-mesh")&&!ee.includes(ce.remote.value)&&ee.push(ce.remote.value),ce.getByValues(ee).map(pe=>({key:pe.key,value:pe.value,label:S(pe.label)}))}),re=u(()=>{const ee=t(T).map(te=>te.sharedBy).flat();return[...new Map(ee.map(te=>[te.displayName,te])).values()]});return Pe(()=>{he()}),(ee,te)=>{const pe=k("oc-text-input");return a(),w("div",Qn,[b(gt,{class:"flex-col"},{default:A(()=>[b(t(ht),{"has-bulk-actions":!0,"view-modes":t(o),breadcrumbs:P.value},{navigation:A(()=>[b(js)]),_:1},8,["view-modes","breadcrumbs"]),te[6]||(te[6]=d()),t(y)?(a(),R(t(at),{key:0})):(a(),w(X,{key:1},[m("div",Zn,[m("div",Jn,[b(t(ja),{class:"share-visibility-filter","filter-name":"share-visibility","filter-options":_.value,onToggleFilter:$},null,8,["filter-options"]),te[2]||(te[2]=d()),b(t(zt),{"allow-multiple":!0,"filter-label":t(S)("Share Type"),"filterable-attributes":["label"],items:oe.value,"option-filter-label":t(S)("Filter share types"),"show-option-filter":!0,"id-attribute":"key",class:"share-type-filter ml-2","display-name-attribute":"label","filter-name":"shareType"},{item:A(({item:K})=>[m("span",{class:"ml-2",textContent:C(K.label)},null,8,Xn)]),_:1},8,["filter-label","items","option-filter-label"]),te[3]||(te[3]=d()),b(t(zt),{"allow-multiple":!0,"filter-label":t(S)("Shared By"),"filterable-attributes":["displayName"],items:re.value,"option-filter-label":t(S)("Filter shared by"),"show-option-filter":!0,"id-attribute":"id",class:"shared-by-filter ml-2","display-name-attribute":"displayName","filter-name":"sharedBy"},{image:A(({item:K})=>[b(t(Zt),{"user-id":K.id,"user-name":K.displayName,width:32},null,8,["user-id","user-name"])]),item:A(({item:K})=>[m("span",{class:"ml-2",textContent:C(K.displayName)},null,8,er)]),_:1},8,["filter-label","items","option-filter-label"])]),te[4]||(te[4]=d()),m("div",null,[b(pe,{modelValue:I.value,"onUpdate:modelValue":te[0]||(te[0]=K=>I.value=K),class:"search-filter w-3xs",label:t(S)("Search"),autocomplete:"off"},null,8,["modelValue","label"])])]),te[5]||(te[5]=d()),b(qn,{id:"files-shared-with-me-view",class:"h-full","file-list-header-y":t(h),items:t(U),"sort-by":t(Z),"sort-dir":t(q),"sort-handler":t(J),"folder-view":t(p),title:F.value,"view-mode":t(c),"view-size":t(r),"sort-fields":t(g)},null,8,["file-list-header-y","items","sort-by","sort-dir","sort-handler","folder-view","title","view-mode","view-size","sort-fields"])],64))]),_:1}),te[7]||(te[7]=d()),b(t(ft),{space:B.value},null,8,["space"])])}}}),sr=Q({components:{SharesNavigation:js,FilesViewWrapper:gt,AppBar:ht,FileSideBar:ft,ResourceTable:At,AppLoadingSpinner:at,NoContentMessage:ot,ListInfo:Pt,Pagination:Rt,ContextActions:$t,ItemFilter:zt},setup(){const e=mt(),{getMatchingSpace:s}=Ke(),i=We(),l=lo(),{options:n}=de(i),{$gettext:c}=ne(),o=ve(),r=bt({folderViewExtensionPoint:Yt}),{loadResourcesTask:p,selectedResourcesIds:y,paginatedResources:g,viewMode:h}=r,{loadPreview:v}=dt(h),D=u(()=>[{id:ze(),text:c("Shares"),to:Cs("files-shares-with-others"),isStaticNav:!0}]),T=u(()=>{const x=No(t(g).flatMap(P=>P.shareTypes));return l.appIds.includes("open-cloud-mesh")&&!x.includes(ce.remote.value)&&x.push(ce.remote.value),ce.getByValues(x).map(P=>({key:P.key,value:P.value,label:c(P.label)}))}),f=_e("q_shareType"),S=u(()=>{const x=Ne(t(f))?.split("+");return!x||x.length===0?t(g):t(g).filter(I=>ce.getByKeys(x).map(({value:P})=>P).some(P=>I.shareTypes.includes(P)))});return o.$onAction(x=>{if(x.name!=="updateResourceField"||y.value.length!==1)return;const I=y.value[0],P=t(g).find(_=>_.id===I);if(!P)return;p.perform();const F=t(g).find(_=>_.fileId===P.fileId);F&&(y.value=[F.id])}),{...Ft(),...r,configStore:i,configOptions:n,capabilityStore:e,filteredItems:S,shareTypes:T,getMatchingSpace:s,loadPreview:v,breadcrumbs:D}},computed:{isEmpty(){return this.filteredItems.length<1}},async created(){await this.loadResourcesTask.perform(),this.scrollToResourceFromRoute(this.filteredItems,"files-app-bar")}}),or={class:"flex"},ar={key:0,class:"flex m-4"},ir=["textContent"],nr=["textContent"],rr=["textContent"];function lr(e,s,i,l,n,c){const o=k("SharesNavigation"),r=k("app-bar"),p=k("app-loading-spinner"),y=k("item-filter"),g=k("no-content-message"),h=k("context-actions"),v=k("pagination"),D=k("list-info"),T=k("files-view-wrapper"),f=k("file-side-bar");return a(),w("div",or,[b(T,null,{default:A(()=>[b(r,{"view-modes":e.viewModes,breadcrumbs:e.breadcrumbs},{navigation:A(()=>[b(o)]),_:1},8,["view-modes","breadcrumbs"]),s[6]||(s[6]=d()),e.areResourcesLoading?(a(),R(p,{key:0})):(a(),w(X,{key:1},[e.shareTypes.length>1?(a(),w("div",ar,[b(y,{"allow-multiple":!0,"filter-label":e.$gettext("Share Type"),"filterable-attributes":["label"],items:e.shareTypes,"option-filter-label":e.$gettext("Filter share types"),"show-option-filter":!0,"id-attribute":"key",class:"share-type-filter mx-2","display-name-attribute":"label","filter-name":"shareType"},{item:A(({item:S})=>[m("span",{class:"ml-2",textContent:C(S.label)},null,8,ir)]),_:1},8,["filter-label","items","option-filter-label"])])):L("",!0),s[5]||(s[5]=d()),e.isEmpty?(a(),R(g,{key:1,id:"files-shared-with-others-empty","img-src":"/images/empty-states/empty-shared-with-others.svg"},{message:A(()=>[m("span",{textContent:C(e.$gettext("Nothing shared, yet"))},null,8,nr)]),callToAction:A(()=>[m("span",{textContent:C(e.$gettext("Anything you shared will show up here"))},null,8,rr)]),_:1})):(a(),R(ct(e.folderView.component),{key:2,"selected-ids":e.selectedResourcesIds,"onUpdate:selectedIds":s[0]||(s[0]=S=>e.selectedResourcesIds=S),"fields-displayed":["name","sharedWith","sdate"],"are-paths-displayed":!0,resources:e.filteredItems,"header-position":e.fileListHeaderY,"sort-by":e.sortBy,"sort-dir":e.sortDir,"sort-fields":e.sortFields.filter(S=>S.name==="name"),"view-mode":e.viewMode,"view-size":e.viewSize,onFileClick:e.triggerDefaultAction,onItemVisible:s[1]||(s[1]=S=>e.loadPreview({space:e.getMatchingSpace(S),resource:S})),onSort:e.handleSort},{contextMenu:A(({resource:S})=>[e.isResourceInSelection(S)?(a(),R(h,{key:0,"action-options":{space:e.getMatchingSpace(S),resources:e.selectedResources}},null,8,["action-options"])):L("",!0)]),footer:A(()=>[b(v,{pages:e.paginationPages,"current-page":e.paginationPage},null,8,["pages","current-page"]),s[3]||(s[3]=d()),e.filteredItems.length>0?(a(),R(D,{key:0,class:"w-full my-2"})):L("",!0)]),_:1},40,["selected-ids","resources","header-position","sort-by","sort-dir","sort-fields","view-mode","view-size","onFileClick","onSort"]))],64))]),_:1}),s[7]||(s[7]=d()),b(f,{space:e.selectedResourceSpace},null,8,["space"])])}const cr=ue(sr,[["render",lr]]),dr=Q({components:{SharesNavigation:js,FilesViewWrapper:gt,AppBar:ht,ResourceTable:At,AppLoadingSpinner:at,NoContentMessage:ot,ListInfo:Pt,Pagination:Rt,ContextActions:$t,FileSideBar:ft},setup(){const{$gettext:e}=ne(),{getMatchingSpace:s}=Ke(),i=We(),{options:l}=de(i),n=ve(),{totalResourcesCount:c}=de(n),o=bt({folderViewExtensionPoint:Wt}),{loadResourcesTask:r,selectedResourcesIds:p,paginatedResources:y,viewMode:g}=o,{loadPreview:h}=dt(g);n.$onAction(D=>{if(D.name!=="updateResourceField"||p.value.length!==1)return;const T=p.value[0],f=t(y).find(x=>x.id===T);if(!f)return;r.perform();const S=t(y).find(x=>x.fileId===f.fileId);S&&(p.value=[S.id])});const v=u(()=>[{id:ze(),text:e("Shares"),to:Cs("files-shares-via-link"),isStaticNav:!0}]);return{...Ft(),...o,configOptions:l,getMatchingSpace:s,totalResourcesCount:c,loadPreview:h,breadcrumbs:v}},computed:{helpersEnabled(){return this.configOptions.contextHelpers},isEmpty(){return this.paginatedResources.length<1}},async created(){await this.loadResourcesTask.perform(),this.scrollToResourceFromRoute(this.paginatedResources,"files-app-bar")}}),ur={class:"flex"},pr=["textContent"],mr=["textContent"];function hr(e,s,i,l,n,c){const o=k("SharesNavigation"),r=k("app-bar"),p=k("app-loading-spinner"),y=k("no-content-message"),g=k("context-actions"),h=k("pagination"),v=k("list-info"),D=k("files-view-wrapper"),T=k("file-side-bar");return a(),w("div",ur,[b(D,null,{default:A(()=>[b(r,{"view-modes":e.viewModes,breadcrumbs:e.breadcrumbs},{navigation:A(()=>[b(o)]),_:1},8,["view-modes","breadcrumbs"]),s[5]||(s[5]=d()),e.areResourcesLoading?(a(),R(p,{key:0})):(a(),w(X,{key:1},[e.isEmpty?(a(),R(y,{key:0,id:"files-shared-via-link-empty","img-src":"/images/empty-states/empty-shared-via-link.svg"},{message:A(()=>[m("span",{textContent:C(e.$gettext("Nothing shared, yet"))},null,8,pr)]),callToAction:A(()=>[m("span",{textContent:C(e.$gettext("All your links will show up here"))},null,8,mr)]),_:1})):(a(),R(ct(e.folderView.component),{key:1,"selected-ids":e.selectedResourcesIds,"onUpdate:selectedIds":s[0]||(s[0]=f=>e.selectedResourcesIds=f),"fields-displayed":["name","sdate"],"are-paths-displayed":!0,resources:e.paginatedResources,"header-position":e.fileListHeaderY,"sort-by":e.sortBy,"sort-dir":e.sortDir,"sort-fields":e.sortFields.filter(f=>f.name==="name"),"view-mode":e.viewMode,"view-size":e.viewSize,onFileClick:e.triggerDefaultAction,onItemVisible:s[1]||(s[1]=f=>e.loadPreview({space:e.getMatchingSpace(f),resource:f})),onSort:e.handleSort},{contextMenu:A(({resource:f})=>[e.isResourceInSelection(f)?(a(),R(g,{key:0,"action-options":{space:e.getMatchingSpace(f),resources:e.selectedResources}},null,8,["action-options"])):L("",!0)]),footer:A(()=>[b(h,{pages:e.paginationPages,"current-page":e.paginationPage},null,8,["pages","current-page"]),s[3]||(s[3]=d()),e.paginatedResources.length>0?(a(),R(v,{key:0,class:"w-full my-2"})):L("",!0)]),_:1},40,["selected-ids","resources","header-position","sort-by","sort-dir","sort-fields","view-mode","view-size","onFileClick","onSort"]))],64))]),_:1}),s[6]||(s[6]=d()),b(T,{space:e.selectedResourceSpace},null,8,["space"])])}const fr=ue(dr,[["render",hr]]),Js="personal/home",gr=Q({name:"DriveRedirect",components:{AppLoadingSpinner:at},props:{driveAliasAndItem:{type:String,required:!1,default:""}},setup(e){const s=Me(),i=Dt(),l=Ye(),n=u(()=>l.spaces.find(o=>o.driveType==="personal")),c=u(()=>e.driveAliasAndItem.startsWith(Js)?Qe(e.driveAliasAndItem.slice(Js.length)):"/");if(!t(n))s.replace(Ze("files-spaces-projects"));else{const{params:o,query:r}=Tt(t(n),{path:t(c)});s.replace({...ss(t(i),"fullPath"),path:t(i).fullPath,params:{...t(i).params,...o},query:r}).catch(()=>{})}}}),br={class:"flex w-full"};function vr(e,s,i,l,n,c){const o=k("app-loading-spinner");return a(),w("div",br,[b(o)])}const yr=ue(gr,[["render",vr]]),wr={key:0,class:"create-and-upload-actions inline-flex gap-2"},kr={key:0,id:"clipboard-btns",class:"oc-button-group mr-2"},Sr=["textContent"],Cr=Q({__name:"CreateAndUpload",props:{space:{},item:{},itemId:{},limitedScreenSpace:{type:Boolean,default:!1}},setup(e){const s=ks("$uppyService"),i=Ee(),l=Oe(),n=Ye(),c=et(),o=Dt(),r=ne(),{$gettext:p}=r,y=Ls(),{clearClipboard:g}=y,{resources:h,action:v}=de(y),D=ve(),{currentFolder:T}=de(D),f=qt(xs,"files-public-link"),S=u(()=>e.space);fo({uppyService:s}),s.getPlugin("HandleUpload")||s.addPlugin(Jo,{clientService:i,language:r,route:o,space:S,userStore:l,spacesStore:n,messageStore:c,resourcesStore:D,uppyService:s});let x;const{actions:I}=Fs(),P=()=>t(I)[0].handler({space:t(S)}),F=u(()=>t(T)?.canUpload({user:l.user}));Sa(document,"paste",z=>{if(t(h).length||!t(F))return;const M=[...z.clipboardData.items].find(q=>q.kind==="file");if(!M)return;const Z=M.getAsFile();s.addFiles([Z]),z.preventDefault()});const _=async z=>{const V=z.successful?.[0];if(!V)return;const{spaceId:M,driveType:Z}=V.meta;if(!Lt(t(S))){const W=n.spaces.find(({id:B})=>B===M)?.isOwner(l.user);if(Z==="project"||W){const O=await i.graphAuthenticated.drives.getDrive(M);n.updateSpaceField({id:O.id,field:"spaceQuota",value:O.spaceQuota})}}if(!t(T)||M!==t(S).id)return;const{children:q}=await i.webdav.listFiles(t(S),{path:t(T).path}),U=new Set(D.resources.map(W=>W.id)),J=q.filter(W=>!U.has(W.id));D.upsertResources(J)},$=u(()=>t(v)===ii.Copy||!t(h)||t(h).length<1?!1:!t(h).some(z=>z.parentFolderId!==t(T).id)),E=u(()=>!t(F)||t($)),N=u(()=>t(F)?t($)?p("You cannot cut and paste resources into the same folder."):e.limitedScreenSpace?p("Paste here"):"":p("You have no permission to paste files here."));Pe(()=>{x=s.subscribe("uploadCompleted",_)}),Xe(()=>{s.removePlugin(s.getPlugin("HandleUpload")),s.unsubscribe("uploadCompleted",x),s.removeDropTarget()}),$e(F,()=>{const z="#files-view";document.querySelector(z)&&t(F)?s.useDropTarget({targetSelector:z}):s.removeDropTarget()},{immediate:!0});const j=u(()=>t(h)&&t(h).length!==0),Y=u(()=>t(F)||!t(f));return(z,V)=>{const M=k("oc-icon"),Z=k("oc-button"),q=Re("oc-tooltip");return Y.value?(a(),w("div",wr,[j.value?(a(),w("div",kr,[Se((a(),R(Z,{disabled:E.value,"aria-label":t(p)("Paste here"),class:"paste-files-btn whitespace-nowrap",onClick:P},{default:A(()=>[b(M,{"fill-type":"line",name:"clipboard"}),V[0]||(V[0]=d()),e.limitedScreenSpace?L("",!0):(a(),w("span",{key:0,textContent:C(t(p)("Paste here"))},null,8,Sr))]),_:1},8,["disabled","aria-label"])),[[q,N.value]]),V[1]||(V[1]=d()),Se((a(),R(Z,{"aria-label":t(p)("Clear clipboard"),class:"clear-clipboard-btn",onClick:t(g)},{default:A(()=>[b(M,{"fill-type":"line",name:"close"})]),_:1},8,["aria-label","onClick"])),[[q,t(p)("Clear clipboard")]])])):L("",!0)])):L("",!0)}}}),xr=Q({name:"NotFoundMessage",props:{space:{type:Object,required:!1,default:null}},setup(e){const s=Me(),i=e.space?.driveType==="project";return{showPublicLinkButton:xs(s,"files-public-link"),showHomeButton:qe(s,"files-spaces-generic")&&!i,showSpacesButton:qe(s,"files-spaces-generic")&&i,homeRoute:Ze("files-spaces-generic",{params:{driveAliasAndItem:"personal"}}),publicLinkRoute:Ss("files-public-link",Tt(e.space,{})),spacesRoute:Ze("files-spaces-projects")}}}),Ar={id:"files-list-not-found-message",class:"text-center items-center flex justify-center flex-col h-[75vh]"},Tr={class:"text-role-on-surface-variant text-xl"},Dr=["textContent"],$r={class:"text-role-on-surface-variant"},Fr=["textContent"],Rr={class:"mt-2"},Ir=["textContent"],Pr=["textContent"],Er=["textContent"];function Lr(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button");return a(),w("div",Ar,[b(o,{name:"cloud",type:"div",size:"xxlarge"}),s[2]||(s[2]=d()),m("div",Tr,[m("span",{textContent:C(e.$gettext("Resource not found"))},null,8,Dr)]),s[3]||(s[3]=d()),m("div",$r,[m("span",{textContent:C(e.$gettext("We went looking everywhere, but were unable to find the selected resource."))},null,8,Fr)]),s[4]||(s[4]=d()),m("div",Rr,[e.showSpacesButton?(a(),R(r,{key:0,id:"space-not-found-button-go-spaces",type:"router-link",appearance:"raw",to:e.spacesRoute},{default:A(()=>[m("span",{textContent:C(e.$gettext("Go to »Spaces Overview«"))},null,8,Ir)]),_:1},8,["to"])):L("",!0),s[0]||(s[0]=d()),e.showHomeButton?(a(),R(r,{key:1,id:"files-list-not-found-button-go-home",type:"router-link",appearance:"raw",to:e.homeRoute},{default:A(()=>[m("span",{textContent:C(e.$gettext("Go to »Personal« page"))},null,8,Pr)]),_:1},8,["to"])):L("",!0),s[1]||(s[1]=d()),e.showPublicLinkButton?(a(),R(r,{key:2,id:"files-list-not-found-button-reload-link",type:"router-link",appearance:"raw",to:e.publicLinkRoute},{default:A(()=>[m("span",{textContent:C(e.$gettext("Reload public link"))},null,8,Er)]),_:1},8,["to"])):L("",!0)])])}const _r=ue(xr,[["render",Lr]]),Xo=Q({__name:"FileActions",setup(e){const s=me("resource"),i=me("space"),l=u(()=>[t(s)]),{getAllOpenWithActions:n}=Ft(),c=u(()=>n({space:t(i),resources:t(l)}));return(o,r)=>{const p=k("oc-list");return a(),R(p,{id:"oc-files-actions-sidebar",class:"sidebar-actions-panel"},{default:A(()=>[(a(!0),w(X,null,Te(c.value,(y,g)=>(a(),R(t(Ms),{key:`action-${g}`,action:y,"action-options":{space:t(i),resources:l.value}},null,8,["action","action-options"]))),128))]),_:1})}}});const Xs=e=>Vt({title:"Share with people",text:"Use the input field to search for users and groups. Select them to share the item.",list:[{text:"Subfolders",headline:!0},{text:"If you share a folder, all of its contents and subfolders will be shared as well."},{text:"Notification",headline:!0},{text:"People you share resources with will be notified via email or in-app notification."},{text:"Incognito",headline:!0},{text:"People you share resources with can not see who else has access."},{text:"“via folder”",headline:!0},{text:"The “via folder” is shown next to a share, if access has already been given via a parent folder. Click on the “via folder” to edit the share on its parent folder."}],readMoreLink:"https://docs.opencloud.eu/docs/user/sharing"},e),Nr=e=>Vt({title:"",list:[{text:"Search for service or secondary Account",headline:!0},{text:'To search for service or secondary accounts prefix the username with "a:" (like "a:doe") and for guest accounts prefix the username with "l:" (like "l:doe").'}]},e),zr=e=>Vt({title:"Add members to this Space",text:"Enter a name to add people or groups as members to this Space.",list:[{text:"Member capabilities",headline:!0},{text:"Members are able to see who has access to this space and access all files in this space. Read or write permissions can be set by assigning a role."},{text:"Space manager capabilities",headline:!0},{text:"Members with the Manager role are able to edit all properties and content of a Space, such as adding or removing members, sharing subfolders with non-members, or creating links to share."}],readMoreLink:"https://docs.opencloud.eu/docs/user/sharing"},e),Mr=e=>Vt({title:"Choose how access is granted",list:[{text:'No login required. Everyone with the link can access. If you share this link with people from the list "Invited people", they need to login so that their individual assigned permissions can take effect. If they are not logged-in, the permissions of the link take effect.'}],readMoreLink:"https://docs.opencloud.eu/docs/user/sharing"},e),Or=e=>Vt({title:"What are indirect links?",text:"Indirect links are links giving access by a parent folder.",list:[{text:"How to edit indirect links",headline:!0},{text:"Indirect links can only be edited in their parent folder. Click on the folder icon below the link to navigate to the parent folder."}],readMoreLink:"https://docs.opencloud.eu/docs/user/sharing"},e),Vt=(e,s)=>s.configStore.options.contextHelpersReadMore===!1?ss(e,"readMoreLink"):e,Vr=e=>Vt({title:"Who can view tags?",list:[{text:"Everyone who can view the file can view its tags. Likewise, everyone who can edit the file can edit its tags."}]},e),eo=100,jr=Q({name:"TagsSelect",props:{resource:{type:Object,required:!0}},setup(e){const{showErrorMessage:s}=et(),i=Ee(),l=Me(),{updateResourceField:n}=ve(),{closeSideBar:c}=ls(),o=rs(),{publicLinkContextReady:r}=de(o),p=t(r)?"span":"router-link",y=As(e,"resource"),{$gettext:g}=ne(),h=u(()=>t(y).locked===!0||t(r)||typeof t(y).canEditTags=="function"&&t(y).canEditTags()===!1),v=H([]),D=H([]);let T=[];const f=H(null),S=u(()=>[...t(y).tags.map(z=>({label:z}))]),x=It(function*(z){const V=yield*Ot(i.graphAuthenticated.tags.listTags({signal:z}));T=V;const M=new Set(t(v).map(Z=>Z.label));D.value=V.filter(Z=>M.has(Z)===!1).map(Z=>({label:Z}))}),I=()=>{v.value=t(S)},P=z=>z.trim().length?{label:z.toLowerCase().trim()}:{label:z.toLowerCase().trim(),error:g("Tag must not consist of blanks only"),selectable:!1},F=z=>t(v).length<=eo&&z.selectable!==!1,_=z=>!t(f).$refs.select.optionExists(z),$=async z=>{try{v.value=z.map(B=>typeof B=="object"?B:{label:B});const V=new Set([...T,...t(D).map(B=>B.label)]);D.value=bs(Array.from(V),t(v).map(B=>B.label)).map(B=>({label:B}));const{id:M,tags:Z,fileId:q}=t(y),U=t(v).map(B=>B.label),J=bs(U,Z),W=bs(Z,U);J.length&&await i.graphAuthenticated.tags.assignTags({resourceId:q,tags:J}),W.length&&await i.graphAuthenticated.tags.unassignTags({resourceId:q,tags:W}),n({id:M,field:"tags",value:[...U]}),ge.publish("sidebar.entity.saved"),t(f)!==null&&t(f).$refs.search.focus(),T.push(...J)}catch(V){console.error(V),s({title:g("Failed to edit tags"),errors:[V]})}};$e(y,()=>{t(y)?.tags&&(I(),x.perform())}),Pe(()=>{t(y)?.tags&&(v.value=t(S)),t(h)||x.perform()});const E=z=>{const V={...z};return V[8]=async M=>{M.target.value||v.value.length===0||(M.preventDefault(),D.value.push(v.value.pop()),await $(t(v)))},V},N=z=>{const V=t(l.currentRoute).query?.term;return Ca("files-common-search",{query:{provider:"files.sdk",q_tags:z,...V&&{term:V}}})};return{loadAvailableTagsTask:x,availableTags:D,tagsMaxCount:eo,selectedTags:v,tagSelect:f,currentTags:S,revertChanges:I,createOption:P,isOptionSelectable:F,showSelectNewLabel:_,save:$,selectOnKeyCodes:[13,188],keydownMethods:E,readonly:h,getAdditionalAttributes:z=>t(r)?{}:{to:N(z),class:"tags-control-tag-link"},closeSideBar:c,getTagToolTip:z=>g("Search for tag %{tag}",{tag:z}),type:p}}}),qr={class:"truncate"},Ur={class:"flex items-center mr-1"},Br={class:"flex test"},Gr={class:"flex justify-center"},Hr={class:"truncate"},Wr={key:0,class:"oc-text-input-danger"},Yr=["textContent"];function Kr(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button"),p=k("oc-tag"),y=k("oc-select"),g=Re("oc-tooltip");return a(),R(y,{ref:"tagSelect",modelValue:e.selectedTags,"onUpdate:modelValue":[s[2]||(s[2]=h=>e.selectedTags=h),e.save],class:"tags-select [&_.vs\\_\\_actions]:!hidden",label:e.$gettext("Tags"),"label-hidden":!0,multiple:!0,disabled:e.readonly,options:e.availableTags,taggable:"","select-on-key-codes":e.selectOnKeyCodes,"create-option":e.createOption,selectable:e.isOptionSelectable,"map-keydown":e.keydownMethods},{"selected-option-container":A(({option:h,deselect:v})=>[Se((a(),R(p,{class:"tags-select-tag ml-1",rounded:!0,size:"small"},{default:A(()=>[(a(),R(ct(e.type),Ge(e.getAdditionalAttributes(h.label),{class:"flex items-center max-w-50",onClick:s[0]||(s[0]=D=>e.closeSideBar())}),{default:A(()=>[b(o,{name:"price-tag-3",class:"mr-1",size:"small"}),s[3]||(s[3]=d()),m("span",qr,C(h.label),1)]),_:2},1040)),s[4]||(s[4]=d()),m("span",Ur,[h.readonly?(a(),R(o,{key:0,class:"vs__deselect-lock",name:"lock",size:"small"})):(a(),R(r,{key:1,appearance:"raw",title:e.$gettext("Deselect %{label}",{label:h.label}),"aria-label":e.$gettext("Deselect %{label}",{label:h.label}),class:"vs__deselect mx-0 raw-hover-surface",onMousedown:s[1]||(s[1]=is(()=>{},["stop","prevent"])),onClick:D=>v(h)},{default:A(()=>[b(o,{name:"close",size:"small"})]),_:1},8,["title","aria-label","onClick"]))])]),_:2},1024)),[[g,e.getTagToolTip(h.label)]])]),option:A(({label:h,error:v})=>[m("div",Br,[m("span",Gr,[b(p,{class:"tags-select-tag ml-1 max-w-50",rounded:!0,size:"small"},{default:A(()=>[b(o,{name:"price-tag-3",size:"small"}),s[5]||(s[5]=d()),m("span",Hr,C(h),1)]),_:2},1024)])]),s[6]||(s[6]=d()),v?(a(),w("div",Wr,C(v),1)):L("",!0)]),"no-options":A(()=>[m("span",{class:"text-sm text-role-on-surface-variant",textContent:C(e.$gettext("Enter text to create a Tag"))},null,8,Yr)]),_:1},8,["modelValue","label","disabled","options","select-on-key-codes","create-option","selectable","map-keydown","onUpdate:modelValue"])}const Qr=ue(jr,[["render",Kr]]),Zr={id:"oc-file-details-sidebar",class:"rounded-sm p-4 bg-role-surface-container"},Jr={key:0},Xr={key:1,class:"details-icon-wrapper w-full flex items-center justify-center mb-4 p-2 bg-contain bg-no-repeat bg-center"},el={key:"file-shares","data-testid":"sharingInfo",class:"flex items-center my-4"},tl=["textContent"],sl={key:3,class:"flex justify-center"},ol=["aria-label"],al={"data-testid":"delete-timestamp"},il={"data-testid":"timestamp"},nl=["textContent"],rl={"data-testid":"locked-by"},ll={key:0},cl={"data-testid":"shared-via"},dl=["textContent"],ul={"data-testid":"shared-by"},pl={"data-testid":"ownerDisplayName"},ml={class:"m-0"},hl=["textContent"],fl={"data-testid":"sizeInfo"},gl={"data-testid":"versionsInfo"},bl={"data-testid":"tags"},vl=["textContent"],ea=Q({__name:"FileDetails",props:{previewEnabled:{type:Boolean,default:!0},tagsEnabled:{type:Boolean,default:!0}},setup(e){const s=We(),i=Oe(),l=mt(),{getMatchingSpace:n}=Ke(),{resourceContentsText:c}=To({showSizeInformation:!1}),{loadPreview:o,previewsLoading:r}=dt(),{openSideBarPanel:p}=ls(),{getIndicators:y}=qa(),g=ne(),{$gettext:h,current:v}=g,D=ve(),{ancestorMetaData:T,currentFolder:f}=de(D),{user:S}=de(i),x=me("resource"),I=me("versions"),P=me("versionsLoading"),F=me("space"),_=H(void 0),$=rs(),{publicLinkContextReady:E}=de($),N=u(()=>e.previewEnabled&&t(r)),j=u(()=>t(P)),Y=u(()=>Object.values(t(T)).find(we=>we.path!==t(x).path&&ce.containsAnyValue(ce.authenticated,we.shareTypes))),z=u(()=>go({sharedAncestor:t(Y),matchingSpace:t(F)||n(t(x))})),V=u(()=>D.areWebDavDetailsShown&&t(x).webDavPath),M=we=>Pi(new Date(we),g.current),Z={isEnabled:s.options.contextHelpers,data:Vr({configStore:s})},q=u(()=>e.tagsEnabled&&l.filesTags),U=u(()=>Ys(t(x))),J=u(()=>y({space:t(F),resource:t(x)}).filter(({category:we})=>we==="sharing")),W=u(()=>t(x).shareTypes?.length>0||t(Y)),B=u(()=>h("Navigate to '%{folder}'",{folder:t(Y).path||""})),O=u(()=>t(oe)&&!t(re)&&t(ee)),he=u(()=>t(oe)&&t(Y)&&!wt(t(F))),oe=u(()=>t(E)?!1:t(W)),re=u(()=>t(x).owner?.id===t(S)?.id),ee=u(()=>{const we=t(x);return ki(we)?we.sharedBy?.map(({displayName:G})=>G).join(", "):""}),te=u(()=>t(K)||t(se)||t(Ae)||t(oe)||t(Fe)||t(U)),pe=u(()=>t(x).type==="folder"?h("This folder has been shared."):h("This file has been shared.")),K=u(()=>t(x).mdate?.length>0),se=u(()=>t(x).owner?.displayName),fe=u(()=>t(x).id===t(f)?.id?`${pt(t(x).size,v)}, ${t(c)}`:pt(t(x).size,v)),Ae=u(()=>pt(t(x).size,v)!=="?"),Fe=u(()=>{if(!(t(x).type==="folder"||t(E)||!t(I)))return t(I).length>0}),Ce=u(()=>h("See all versions")),Ue=u(()=>{const we=t(x),G=Ys(we)?we.ddate:we.mdate,Be=qo(new Date(G),v);return po(Be)});return $e(()=>t(x).mdate,async()=>{t(x)&&(_.value=await o({space:t(F),resource:t(x),dimensions:zo.Preview,cancelRunning:!0,updateStore:!1}))},{immediate:!0}),(we,G)=>{const Be=k("oc-spinner"),Le=k("oc-status-indicators"),it=k("oc-button"),nt=k("router-link"),ae=k("oc-contextual-helper"),ie=Re("oc-tooltip");return a(),w("div",Zr,[te.value?(a(),w("div",Jr,[N.value||_.value?(a(),w("div",{key:"file-thumbnail",style:xa({"background-image":N.value?"none":`url(${_.value})`}),class:"details-preview flex items-center justify-center mb-4 p-2 h-[230px] bg-contain bg-no-repeat bg-center","data-testid":"preview"},[N.value?(a(),R(Be,{key:0})):L("",!0)],4)):(a(),w("div",Xr,[b(t(Mt),{class:"details-icon",resource:t(x),size:"xxxlarge"},null,8,["resource"])])),G[23]||(G[23]=d()),!t(E)&&J.value.length?(a(),w("div",el,[b(Le,{resource:t(x),indicators:J.value},null,8,["resource","indicators"]),G[2]||(G[2]=d()),m("p",{class:"my-0 mx-2",textContent:C(pe.value)},null,8,tl)])):L("",!0),G[24]||(G[24]=d()),j.value?(a(),w("div",sl,[b(Be,{"aria-label":t(h)("Loading details")},null,8,["aria-label"])])):(a(),w("dl",{key:4,class:"details-list grid grid-cols-[auto_minmax(0,1fr)] m-0","aria-label":t(h)("Overview of the information about the selected file")},[U.value?(a(),w(X,{key:0},[m("dt",null,C(t(h)("Deleted at")),1),G[3]||(G[3]=d()),m("dd",al,C(Ue.value),1)],64)):L("",!0),G[13]||(G[13]=d()),K.value?(a(),w(X,{key:1},[m("dt",null,C(t(h)("Last modified")),1),G[4]||(G[4]=d()),m("dd",il,[Fe.value?Se((a(),R(it,{key:0,appearance:"raw","aria-label":Ce.value,"no-hover":"",onClick:G[0]||(G[0]=St=>t(p)("versions"))},{default:A(()=>[d(C(Ue.value),1)]),_:1},8,["aria-label"])),[[ie,Ce.value]]):(a(),w("span",{key:1,textContent:C(Ue.value)},null,8,nl))])],64)):L("",!0),G[14]||(G[14]=d()),t(x).locked?(a(),w(X,{key:2},[m("dt",null,C(t(h)("Locked via")),1),G[6]||(G[6]=d()),m("dd",rl,[m("span",null,C(t(x).lockOwner),1),G[5]||(G[5]=d()),t(x).lockTime?(a(),w("span",ll,"("+C(M(t(x).lockTime))+")",1)):L("",!0)])],64)):L("",!0),G[15]||(G[15]=d()),he.value?(a(),w(X,{key:3},[m("dt",null,C(t(h)("Shared via")),1),G[7]||(G[7]=d()),m("dd",cl,[b(nt,{to:z.value},{default:A(()=>[Se(m("span",{textContent:C(Y.value.path)},null,8,dl),[[ie,B.value]])]),_:1},8,["to"])])],64)):L("",!0),G[16]||(G[16]=d()),O.value?(a(),w(X,{key:4},[m("dt",null,C(t(h)("Shared by")),1),G[8]||(G[8]=d()),m("dd",ul,C(ee.value),1)],64)):L("",!0),G[17]||(G[17]=d()),se.value&&se.value!==ee.value?(a(),w(X,{key:5},[m("dt",null,C(t(h)("Owner")),1),G[9]||(G[9]=d()),m("dd",pl,[m("p",ml,[d(C(se.value)+" ",1),re.value?(a(),w("span",{key:0,textContent:C(t(h)("(me)"))},null,8,hl)):L("",!0)])])],64)):L("",!0),G[18]||(G[18]=d()),Ae.value?(a(),w(X,{key:6},[m("dt",null,C(t(h)("Size")),1),G[10]||(G[10]=d()),m("dd",fl,C(fe.value),1)],64)):L("",!0),G[19]||(G[19]=d()),V.value?(a(),R(t(fi),{key:7,space:t(F)},null,8,["space"])):L("",!0),G[20]||(G[20]=d()),Fe.value?(a(),w(X,{key:8},[m("dt",null,C(t(h)("Version")),1),G[11]||(G[11]=d()),m("dd",gl,[Se((a(),R(it,{appearance:"raw","aria-label":Ce.value,"no-hover":"",onClick:G[1]||(G[1]=St=>t(p)("versions"))},{default:A(()=>[d(C(t(I).length),1)]),_:1},8,["aria-label"])),[[ie,Ce.value]])])],64)):L("",!0),G[21]||(G[21]=d()),b(t(Fo),{"extension-point":t(Wo)},null,8,["extension-point"]),G[22]||(G[22]=d()),q.value?(a(),w(X,{key:9},[m("dt",null,[d(C(t(h)("Tags"))+" ",1),Z?.isEnabled?(a(),R(ae,Ge({key:0},Z?.data,{class:"pl-1"}),null,16)):L("",!0)]),G[12]||(G[12]=d()),m("dd",bl,[b(Qr,{resource:t(x),class:"w-full"},null,8,["resource"])])],64)):L("",!0)],8,ol))])):(a(),w("p",{key:1,"data-testid":"noContentText",textContent:C(t(h)("No information to display"))},null,8,vl))])}}}),yl=Q({components:{FileActions:Xo,FileDetails:ea,FileInfo:ni},provide(){return{resource:u(()=>this.singleResource),space:u(()=>this.space)}},props:{singleResource:{type:Object,required:!1,default:null},space:{type:Object,required:!1,default:null}},setup(e){const{openWithDefaultApp:s}=$s(),i=_e("openWithDefaultApp");t(i)==="true"&&s({space:e.space,resource:e.singleResource})}}),wl={class:"resource-details flex flex-col items-center"},kl={class:"w-md lg:w-lg xl:w-2xl"};function Sl(e,s,i,l,n,c){const o=k("file-info"),r=k("file-details"),p=k("file-actions");return a(),w("div",wl,[m("div",kl,[b(o),s[0]||(s[0]=d()),b(r,{class:"mb-4"}),s[1]||(s[1]=d()),b(p)])])}const Cl=ue(yl,[["render",Sl]]),xl=Q({name:"SpaceContextActions",components:{ContextActionMenu:Mo},props:{actionOptions:{type:Object,required:!0},loading:{type:Boolean,default:!1}},setup(e){const s=Me(),{$gettext:i}=ne(),l=As(e,"actionOptions"),{actions:n}=Ro(),{actions:c}=Io(),{actions:o}=bo(),{actions:r}=Po(),{actions:p}=vo(),{actions:y}=Eo(),{actions:g}=yo(),{actions:h}=wo(),{actions:v}=Lo(),{actions:D}=_o(),{actions:T}=xo(),{actions:f}=Ua(),{actions:S}=Ao(),{actions:x}=Rs(),I=H(null),{actions:P,showModalImageSpace:F}=Zo({spaceImageInput:I}),_=u(()=>[...[...t(f),...t(S)]].filter(V=>V.isVisible(t(l)))),$=u(()=>{const z=[...t(v),...t(o),...t(y)];return qe(s,"files-spaces-generic")&&z.splice(2,0,...t(p)),[...z].filter(V=>V.isVisible(t(l)))}),E=u(()=>[...[...t(P),...t(g),...t(h)]].filter(V=>V.isVisible(t(l)))),N=u(()=>[...[...t(r),...t(c),...t(D),...t(x),...t(n)]].filter(V=>V.isVisible(t(l)))),j=u(()=>[...[...t(T)]].filter(V=>V.isVisible(t(l))));return{menuSections:u(()=>{const z=[];return t(_).length&&z.push({name:"members",items:t(_)}),[...t($),...t(E)].length&&z.push({name:"primaryActions",items:t($),dropItems:[{name:"space-image",label:i("Edit image"),icon:"image",items:t(E)}]}),t(N).length&&z.push({name:"secondaryActions",items:t(N)}),t(j).length&&z.push({name:"sidebar",items:t(j)}),z}),spaceImageInput:I,uploadImageActions:P,showModalImageSpace:F}}}),Al={key:0,class:"flex justify-center my-4"},Tl={key:1},Dl={class:"relative overflow-hidden"};function $l(e,s,i,l,n,c){const o=k("oc-spinner"),r=k("context-action-menu");return e.loading?(a(),w("div",Al,[b(o,{"aria-label":e.$gettext("Loading actions")},null,8,["aria-label"])])):(a(),w("div",Tl,[b(r,{"menu-sections":e.menuSections,"action-options":e.actionOptions},null,8,["menu-sections","action-options"]),s[1]||(s[1]=d()),m("div",Dl,[m("input",{id:"space-image-upload-input",ref:"spaceImageInput",class:"absolute left-[-99999px]",type:"file",name:"file",multiple:"",tabindex:"-1",accept:"image/jpeg, image/png",hidden:"",onChange:s[0]||(s[0]=(...p)=>e.showModalImageSpace&&e.showModalImageSpace(...p))},null,544)])]))}const ta=ue(xl,[["render",$l]]),Fl={key:0,class:"h-full flex items-center justify-center"},Rl=["src"],Il={class:"flex-1"},Pl={class:"flex items-center justify-between max-w-full"},El={class:"flex items-center max-w-full"},Ll={class:"break-all my-0"},_l=["textContent"],Nl={key:0,class:"mt-0 font-semibold"},zl={key:1,class:"space-header-readme-loading flex items-center justify-center"},Ml={key:3,class:"markdown-collapse text-center mt-2"},to="collapsed",Ol=Q({__name:"SpaceHeader",props:{space:{}},setup(e){const s=ne(),{$gettext:i,$ngettext:l}=s,n=Ee(),{getFileContents:c,getFileInfo:o}=n.webdav,r=ve(),{loadPreview:p}=dt(),y=Ye(),g=kt(),{imagesLoading:h,readmesLoading:v}=de(y),D=ls(),{isSideBarOpen:T}=de(D),f=me("isMobileWidth"),S=H(!1),x=Je("markdownContainerRef"),I=H(""),P=H(null),F=H(!0),_=H(!1),$=u(()=>t(F)?i("Show more"):i("Show less")),E=()=>{F.value=!t(F)},N=()=>{if(!t(x))return;if(t(x).classList.remove(to),t(x).offsetHeight<150){_.value=!1;return}_.value=!0,t(F)&&t(x).classList.add(to)},j=new ResizeObserver(N),Y=()=>{!j||!t(x)||(j.unobserve(t(x)),j.observe(t(x)))},z=()=>{!j||!t(x)||j.unobserve(t(x))},V=H();$e(()=>g.collaboratorShares.length,async()=>{try{const{count:B}=await n.graphAuthenticated.permissions.listPermissions(e.space.id,e.space.id,g.graphRoles,{count:!0,filter:"grantedToV2 ne ''"});V.value=B||1}catch(B){console.error(B)}},{immediate:!0}),Pe(Y),Xe(()=>{z(),y.purgeReadmesLoading()});const M=async()=>{y.addToReadmesLoading(e.space.id);try{const B=await c(e.space,{path:`.space/${e.space.spaceReadmeData.name}`}),O=await o(e.space,{path:`.space/${e.space.spaceReadmeData.name}`});z(),I.value=B.body,P.value=O,y.removeFromReadmesLoading(e.space.id),await He(),t(I)&&Y()}catch(B){if([425,429].includes(B.statusCode)){const O=B.response?.headers?.["retry-after"]||5;return await new Promise(he=>setTimeout(he,O*1e3)),M()}y.removeFromReadmesLoading(e.space.id),console.error(B)}};$e(u(()=>e.space.spaceReadmeData),async B=>{B&&await M()},{deep:!0,immediate:!0});const Z=H(null),q=H(!1),U=()=>{q.value=!t(q)};$e(u(()=>e.space.spaceImageData),async()=>{Z.value=await p({space:e.space,resource:e.space.spaceImageData?_a(e.space):e.space,dimensions:zo.Tile,processor:Aa.enum.fit,cancelRunning:!0,updateStore:!1})},{immediate:!0});const J=u(()=>l("%{count} member","%{count} members",t(V),{count:t(V).toString()})),W=()=>{r.setSelection([]),D.openSideBarPanel("space-share")};return(B,O)=>{const he=k("oc-spinner"),oe=k("oc-icon"),re=k("oc-button"),ee=k("oc-drop"),te=Re("oc-tooltip");return a(),w("div",{class:ye(["space-header p-4",{flex:!q.value&&!t(f),"space-header-squashed":t(T)}])},[m("div",{class:ye(["space-header-image mr-6 min-w-xs aspect-[16/9]",{"space-header-image-expanded w-full max-w-full max-h-full mb-4":q.value||t(f),"w-xs max-h-40":!q.value,"hidden lg:block":t(T)}])},[t(h).includes(e.space.id)?(a(),w("div",Fl,[b(he,{"aria-label":t(i)("Space image is loading")},null,8,["aria-label"])])):Z.value?(a(),w("img",{key:1,class:"cursor-pointer rounded-lg size-full max-h-full object-cover",alt:"",src:Z.value,onClick:U},null,8,Rl)):L("",!0)],2),O[9]||(O[9]=d()),m("div",Il,[m("div",Pl,[m("div",El,[m("h2",Ll,C(e.space.name),1),O[2]||(O[2]=d()),Se((a(),R(re,{id:"space-context-btn","aria-label":t(i)("Show context menu"),appearance:"raw",class:"ml-2 p-1"},{default:A(()=>[b(oe,{name:"more-2"})]),_:1},8,["aria-label"])),[[te,t(i)("Show context menu")]]),O[3]||(O[3]=d()),b(ee,{title:e.space.name,"drop-id":"space-context-drop",toggle:"#space-context-btn",mode:"click","close-on-click":"",options:{delayHide:0},"padding-size":"small",position:"right-start",onShowDrop:O[0]||(O[0]=pe=>S.value=!0),onHideDrop:O[1]||(O[1]=pe=>S.value=!1)},{default:A(()=>[S.value?(a(),R(ta,{key:0,"action-options":{resources:[e.space]}},null,8,["action-options"])):L("",!0)]),_:1},8,["title"])]),O[5]||(O[5]=d()),V.value?(a(),R(re,{key:0,"aria-label":t(i)("Open context menu and show members"),appearance:"raw","no-hover":"",onClick:W},{default:A(()=>[b(oe,{name:"group","fill-type":"line",size:"small"}),O[4]||(O[4]=d()),V.value?(a(),w("span",{key:0,class:"space-header-people-count text-sm whitespace-nowrap",textContent:C(J.value)},null,8,_l)):(a(),R(he,{key:1,size:"small","aria-label":t(i)("Loading members")},null,8,["aria-label"]))]),_:1},8,["aria-label"])):L("",!0)]),O[6]||(O[6]=d()),e.space.description?(a(),w("p",Nl,C(e.space.description),1)):L("",!0),O[7]||(O[7]=d()),t(v).includes(e.space.id)?(a(),w("div",zl,[b(he,{"aria-label":t(i)("Space description is loading")},null,8,["aria-label"])])):P.value&&I.value?(a(),w("div",{key:2,ref_key:"markdownContainerRef",ref:x,class:ye(["markdown-container flex min-h-0 [&.collapsed]:max-h-[150px] [&.collapsed]:overflow-hidden",{collapsed:F.value,"mask-linear-[180deg,black,80%,transparent]":_.value&&F.value}])},[b(t(Uo),{class:"markdown-container-content w-full","is-read-only":"","current-content":I.value},null,8,["current-content"])],2)):L("",!0),O[8]||(O[8]=d()),_.value&&I.value?(a(),w("div",Ml,[b(re,{appearance:"raw","no-hover":"",onClick:E},{default:A(()=>[m("span",null,C($.value),1)]),_:1})])):L("",!0)])],2)}}}),Vl=Q({__name:"WhitespaceContextMenu",props:{space:{}},setup(e){const s=Je("drop"),i=ve(),{currentFolder:l}=de(i),n=u(()=>({space:t(e.space),resources:[l.value]})),{actions:c}=Is({space:u(()=>e.space)}),{actions:o}=xo(),{actions:r}=Fs(),p=u(()=>[...t(c),...t(r),...t(o)].filter(h=>h.isVisible(t(n)))),y=h=>{const{target:v}=h;v.closest(".has-item-context-menu")||(h.preventDefault(),t(s)?.show({event:h,useMouseAnchor:!0}))};let g;return Pe(()=>{g=document.getElementsByClassName("files-view-wrapper")[0],g?.addEventListener("contextmenu",y)}),Xe(()=>{g?.removeEventListener("contextmenu",y)}),(h,v)=>{const D=k("oc-list");return a(),R(t(Ai),{ref_key:"drop",ref:s,"drop-id":"context-menu-drop-whitespace",mode:"manual","close-on-click":"","padding-size":"small"},{default:A(()=>[b(D,null,{default:A(()=>[(a(!0),w(X,null,Te(p.value,(T,f)=>(a(),R(t(Ms),{key:`section-${T.name}-action-${f}`,action:T,"action-options":n.value,"data-testid":`whitespace-context-menu-item-${T.name}`},null,8,["action","action-options","data-testid"]))),128))]),_:1})]),_:1},512)}}}),qs=(e,s,i)=>{const{scrollToResource:l}=jo(),n=ve(),{latestSelectedId:c}=de(n),o=H([]),r=H(null),p=H(null);e.bindKeyAction({modifier:tt.Ctrl,primary:Ie.A},()=>f()),e.bindKeyAction({primary:Ie.Space},()=>{n.toggleSelection(t(c))}),e.bindKeyAction({primary:Ie.Esc},()=>{e.resetSelectionCursor(),r.value=null,n.resetSelection()});const y=()=>{o.value.push(e.bindKeyAction({primary:Ie.ArrowLeft},()=>h(!0))),o.value.push(e.bindKeyAction({primary:Ie.ArrowRight},()=>h())),o.value.push(e.bindKeyAction({primary:Ie.ArrowUp},async()=>{const $=T();$!==-1&&await h(!0,$)})),o.value.push(e.bindKeyAction({primary:Ie.ArrowDown},async()=>{const $=T();$!==-1&&await h(!1,$)})),o.value.push(e.bindKeyAction({modifier:tt.Shift,primary:Ie.ArrowLeft},()=>P("left"))),o.value.push(e.bindKeyAction({modifier:tt.Shift,primary:Ie.ArrowRight},()=>P("right"))),o.value.push(e.bindKeyAction({modifier:tt.Shift,primary:Ie.ArrowUp},()=>{x()})),o.value.push(e.bindKeyAction({modifier:tt.Shift,primary:Ie.ArrowDown},()=>{I()}))},g=()=>{o.value.push(e.bindKeyAction({primary:Ie.ArrowUp},()=>h(!0))),o.value.push(e.bindKeyAction({primary:Ie.ArrowDown},()=>h())),o.value.push(e.bindKeyAction({modifier:tt.Shift,primary:Ie.ArrowUp},()=>F())),o.value.push(e.bindKeyAction({modifier:tt.Shift,primary:Ie.ArrowDown},()=>_()))},h=async($=!1,E=1)=>{const N=t(c)?v($,E):D();N!==-1&&(e.resetSelectionCursor(),r.value=null,n.setSelection([N]),await He(),Et(N),l(N,{topbarElement:"files-app-bar"}))},v=($=!1,E=1)=>{const N=s.value.findIndex(z=>z.id===c.value);if(N===-1)return-1;const j=$?-E:E;let Y=N+j;for(;Y>=0&&Y=s.value.length?-1:s.value[Y].id},D=()=>s.value.length?s.value[0].id:-1,T=()=>{const $=document.querySelectorAll("#tiles-view > ul > li > div");if($.length===0)return-1;const E=Math.floor($[0].getBoundingClientRect().x);let N=1;for(let j=1;j<$.length&&Math.floor($[j].getBoundingClientRect().x)!==E;j++)N++;return N},f=()=>{e.resetSelectionCursor(),n.setSelection(t(s).filter($=>$.processing!==!0).map(({id:$})=>$))},S=$=>{const E=T();if(E===-1)return{};t(r)||(r.value=c.value,p.value=$);const N=document.querySelectorAll("#tiles-view > ul > li > div"),j=ts(N,M=>M.getAttribute("data-item-id")===t(c).toString()),Y=ts(N,M=>M.getAttribute("data-item-id")===t(r).toString()),z=$==="left"?j-E:j+E;if(!N[z])return{};const V=N[z].getAttribute("data-item-id");return{currentResourceIndex:j,nextIndex:z,tilesListCard:N,tileViewStartIndex:Y,lastSelectedFileId:V}},x=()=>{const $=S("left");if(Object.keys($).length!==0){for(let E=$.currentResourceIndex;E>=$.nextIndex;E--){if(E===$.tileViewStartIndex)continue;const N=$.tilesListCard[E].getAttribute("data-item-id");E<$.tileViewStartIndex?n.addSelection(N):n.removeSelection(N)}Et($.lastSelectedFileId),n.setLastSelectedId($.lastSelectedFileId)}},I=()=>{const $=S("right");if(Object.keys($).length!==0){for(let E=$.currentResourceIndex;E<=$.nextIndex;E++){if(E===$.tileViewStartIndex)continue;const N=$.tilesListCard[E].getAttribute("data-item-id");E>$.tileViewStartIndex?n.addSelection(N):n.removeSelection(N)}Et($.lastSelectedFileId),n.setLastSelectedId($.lastSelectedFileId)}},P=$=>{const E=t(c)?v($==="left",1):D();E!==-1&&(t(c)===t(r)&&(r.value=t(c),p.value=$),t(r)||(r.value=c.value,p.value=$),p.value!==$&&p.value!==null&&(n.toggleSelection(t(c)),n.setLastSelectedId(E)),p.value===$&&n.addSelection(E),Et(E))},F=($=1)=>{const E=v(!0,$);E!==-1&&(t(e.selectionCursor)>0?(n.toggleSelection(t(c)),n.setLastSelectedId(E)):n.addSelection(E),Et(E),l(E,{topbarElement:"files-app-bar"}),e.selectionCursor.value=t(e.selectionCursor)-1)},_=($=1)=>{const E=v(!1,$);E!==-1&&(t(e.selectionCursor)<0?(n.toggleSelection(t(c)),n.setLastSelectedId(E)):n.addSelection(E),Et(E),l(E,{topbarElement:"files-app-bar"}),e.selectionCursor.value=t(e.selectionCursor)+1)};co(()=>{o.value.forEach($=>e.removeKeyAction($)),o.value=[],xt.name.tiles===i.value?y():g()})},Us=(e,s)=>{const i=ve(),{latestSelectedId:l}=de(i);let n,c,o,r,p=null;const y=v=>{i.toggleSelection(v.id)},g=({resource:v,skipTargetSelection:D})=>{p||(p=t(l)||v.id),i.setSelection([]);const T=document.querySelectorAll(`[data-item-id='${v.id}']`)[0],f=Object.values(T.parentNode.children),S=f.find($=>$.getAttribute("data-item-id")===p),x=f.find($=>$.getAttribute("data-item-id")===v.id);let I=f.indexOf(S);I=I===-1?0:I;const P=f.indexOf(x),F=Math.min(I,P),_=Math.max(I,P);for(let $=F;$<=_;$++){const E=f[$].getAttribute("data-item-id"),N=f[$].classList.contains("oc-table-disabled");D&&E===v.id||N||i.addSelection(E)}i.setLastSelectedId(v.id)},h=({resource:v,skipTargetSelection:D})=>{p||(p=t(l)||v.id),i.setSelection([]);const T=document.querySelectorAll("#tiles-view > ul > li > div"),f=ts(T,P=>P.getAttribute("data-item-id")===v.id),S=ts(T,P=>P.getAttribute("data-item-id")===p);if(f===-1||S===-1)return;const x=Math.min(S,f),I=Math.max(S,f);for(let P=x;P<=I;P++){const F=T[P].getAttribute("data-item-id"),_=T[P].classList.contains("oc-tile-card-disabled");D&&F===v.id||_||i.addSelection(F)}i.setLastSelectedId(v.id)};Pe(()=>{n=ge.subscribe("app.files.list.clicked",e.resetSelectionCursor),c=ge.subscribe("app.files.shiftAnchor.reset",()=>{p=null}),o=ge.subscribe("app.files.list.clicked.meta",y)}),Xe(()=>{ge.unsubscribe("app.files.shiftAnchor.reset",c),ge.unsubscribe("app.files.list.clicked",n),ge.unsubscribe("app.files.list.clicked.meta",o),ge.unsubscribe("app.files.list.clicked.shift",r)}),co(()=>{ge.unsubscribe("app.files.list.clicked.shift",r),r=ge.subscribe("app.files.list.clicked.shift",xt.name.tiles===s.value?h:g)})},sa=e=>{const s=ve(),{copyResources:i}=Ls();e.bindKeyAction({modifier:tt.Ctrl,primary:Ie.C},()=>{i(s.selectedResources)})},jl=(e,s)=>{const i=Ls(),{copyResources:l,cutResources:n}=i,c=ve(),{actions:o}=Fs(),r=t(o)[0].handler;e.bindKeyAction({modifier:tt.Ctrl,primary:Ie.C},()=>{l(c.selectedResources)}),e.bindKeyAction({modifier:tt.Ctrl,primary:Ie.V},()=>{i.resources.length&&r({space:t(s)})},{preventDefault:!1}),e.bindKeyAction({modifier:tt.Ctrl,primary:Ie.X},()=>{n(c.selectedResources)})},ql={key:0,class:"flex justify-center"},Ul={key:2,class:"markdown-collapse text-center mt-2"},Bl=Q({__name:"ListHeader",props:{space:{},readmeFile:{}},setup(e){const{$gettext:s}=ne(),i=Ee(),{getFileContents:l}=i.webdav,n=Je("markdownContainerRef"),c=H(""),o=H(!0),r=H(!1),p=u(()=>t(o)?s("Show more"):s("Show less")),y=()=>{o.value=!t(o)},g=()=>{if(!t(n))return;if(t(n).classList.remove("collapsed"),t(n).offsetHeight<300){r.value=!1;return}r.value=!0,t(o)&&t(n).classList.add("collapsed")},h=new ResizeObserver(g),v=()=>{!h||!t(n)||(h.unobserve(t(n)),h.observe(t(n)))},D=()=>{!h||!t(n)||h.unobserve(t(n))},T=It(function*(f){try{const{body:S}=yield l(e.space,{fileId:t(e.readmeFile).id},{signal:f});c.value=S||""}catch(S){console.error("failed to load README.md content",S)}});return Pe(async()=>{await T.perform(),await He(),v()}),Xe(()=>{D()}),(f,S)=>{const x=k("oc-spinner"),I=k("oc-button");return a(),w("div",null,[t(T).isRunning||!t(T).last?(a(),w("div",ql,[b(x,{size:"large",class:"my-4","aria-label":t(s)("Loading README content")},null,8,["aria-label"])])):(a(),w("div",{key:1,ref_key:"markdownContainerRef",ref:n,class:ye(["markdown-container flex min-h-0 [&.collapsed]:max-h-[300px] [&.collapsed]:overflow-hidden",{collapsed:o.value,"mask-linear-[180deg,black,80%,transparent]":o.value&&r.value}])},[b(t(Uo),{class:"w-full","is-read-only":"","current-content":c.value},null,8,["current-content"])],2)),S[0]||(S[0]=d()),r.value&&c.value?(a(),w("div",Ul,[b(I,{appearance:"raw","no-hover":"",onClick:y},{default:A(()=>[m("span",null,C(p.value),1)]),_:1})])):L("",!0)])}}}),Gl=Q({name:"GenericSpace",components:{AppBar:ht,AppLoadingSpinner:at,ContextActions:$t,CreateAndUpload:Cr,FileSideBar:ft,FilesViewWrapper:gt,ListInfo:Pt,NoContentMessage:ot,NotFoundMessage:_r,Pagination:Rt,QuickActions:Qo,ResourceDetails:Cl,ResourceTable:At,ResourceTiles:ko,SpaceHeader:Ol,WhitespaceContextMenu:Vl,ListHeader:Bl},props:{space:{type:Object,required:!1,default:null},item:{type:String,required:!1,default:null},itemId:{type:String,required:!1,default:null}},setup(e){const s=Me(),i=Oe(),{$gettext:l,$ngettext:n}=ne(),c=_e("openWithDefaultApp"),o=Ee(),{startWorker:r}=Ba(),{breadcrumbsFromPath:p,concatBreadcrumbs:y}=Ga(),{openWithDefaultApp:g}=$s(),h=u(()=>e.space),{actions:v}=Is({space:h}),D=We(),{options:T}=de(D),f=ve(),{removeResources:S,resetSelection:x}=f,{currentFolder:I,totalResourcesCount:P,areHiddenFilesShown:F,ancestorMetaData:_}=de(f);let $;const E=u(()=>t(I)?.canUpload({user:i.user})),N=u(()=>t(h).driveType==="project"&&e.item==="/"),j=u(()=>t(I)===null),Y=u(()=>t(q.paginatedResources).length<1),z=u(()=>{const oe=t(h);let re=oe.name;Lt(oe)&&(re=oe.publicLinkType==="ocm"?l("OCM share"):l("Public files"));const ee=[re];return e.item!=="/"&&ee.unshift(vt.basename(e.item)),ee});Oo({titleSegments:z});const V=Dt(),M=u(()=>{const oe=[];xe(t(h))?oe.push({id:ze(),text:l("Spaces"),to:Ze("files-spaces-projects"),isStaticNav:!0}):wt(t(h))&&oe.push({id:ze(),text:l("Shares"),to:{path:"/files/shares"},isStaticNav:!0},{id:ze(),text:l("Shared with me"),to:{path:"/files/shares/with-me"},isStaticNav:!0});let re,{params:ee,query:te}=Tt(t(h),{fileId:t(h).fileId});return te=ss({...t(V).query,...te},"page"),yt(t(h))?re={id:ze(),text:t(h).name,...t(h).isOwner(i.user)&&{to:Ze("files-spaces-generic",{params:ee,query:te})}}:wt(t(h))?re={id:ze(),allowContextActions:!0,text:t(h).name,to:Ze("files-spaces-generic",{params:ee,query:ss(te,"fileId")})}:Lt(t(h))?re={id:ze(),text:l("Public link"),to:Ss("files-public-link",{params:ee,query:te}),isStaticNav:!0}:re={id:ze(),allowContextActions:!t(N),text:t(h).name,to:Ze("files-spaces-generic",{params:ee,query:te})},y(...oe,re,...p({route:t(V),space:h,resourcePath:e.item,...D.options.routing.idBased&&{ancestorMetaData:_}}))}),Z=oe=>{const re=document.getElementById("files-breadcrumb");if(!re)return;const ee=Ii(re.children[0].children),te=ee.getElementsByTagName("button")[0];if(!te)return;const pe=t(P),K=pe.files+pe.folders,se=n("This folder contains %{ amount } item.","This folder contains %{ amount } items.",K,{amount:K.toString()}),fe=K>0?se:l("This folder has no content.");document.querySelectorAll(".oc-breadcrumb-sr").forEach(Fe=>Fe.remove());const Ae=document.createElement("p");Ae.className="sr-only oc-breadcrumb-sr",Ae.innerHTML=fe,ee.append(Ae),oe&&te.focus()},q=bt({folderViewExtensionPoint:Ut}),{loadPreview:U}=dt(q.viewMode),J=zs();qs(J,q.paginatedResources,q.viewMode),Us(J,q.viewMode),jl(J,h);const W=async(oe,re,ee)=>{if(q.loadResourcesTask.isRunning)return;const te={loadShares:!Lt(t(h))};try{await q.loadResourcesTask.perform(t(h),re||e.item,ee||e.itemId,te)}catch(pe){console.error(pe)}q.scrollToResourceFromRoute([t(I),...t(q.paginatedResources)],"files-app-bar"),q.refreshFileListHeaderPosition(),Z(oe),t(c)==="true"&&g({space:t(h),resource:t(q.selectedResources)[0]})},B=u(()=>f.resources.find(oe=>["readme.md",".readme.md"].includes(oe.name.toLowerCase())));Pe(()=>{W(!1),$=ge.subscribe("app.files.list.load",(oe,re)=>{W(!0,oe,re)})}),Xe(()=>{ge.unsubscribe("app.files.list.load",$)});const O=u(()=>t(v)[0].handler),he=async oe=>{const re=t(q.selectedResources),ee=t(q.paginatedResources),te=[...re];let pe=null;if(typeof oe=="string"){if(pe=ee.find(Ae=>Ae.id===oe),te.some(Ae=>Ae.id===oe))return}else if(oe instanceof Object){const fe=s.resolve(Ze("files-spaces-generic",{params:{driveAliasAndItem:t(h).driveAlias}})).path,Ae=oe.path.indexOf(fe)+fe.length,Fe=decodeURIComponent(oe.path.slice(Ae,oe.path.length));try{pe=await o.webdav.getFileInfo(t(h),{path:Fe})}catch(Ce){console.error(Ce);return}}if(!pe||pe.type!=="folder")return;const se=await new Ha(t(h),te,t(h),pe,I,o,l,n).getTransferData(ri.MOVE);r(se,({successful:fe})=>{S(fe),x()})};return{...Ft(),...q,configOptions:T,canUpload:E,breadcrumbs:M,folderNotFound:j,hasSpaceHeader:N,isCurrentFolderEmpty:Y,performLoaderTask:W,uploadHint:u(()=>l('Drag files and folders here or use the "New" button to add files')),createNewFolderAction:O,currentFolder:I,totalResourcesCount:P,areHiddenFilesShown:F,fileDropped:he,loadPreview:U,readmeFile:B}},computed:{displayFullAppBar(){return!this.displayResourceAsSingleResource},displayResourceAsSingleResource(){return this.paginatedResources.length!==1||this.paginatedResources[0].isFolder?!1:!!(Lt(this.space)&&!this.currentFolder?.fileId||this.configOptions.runningOnEos&&(!this.currentFolder.fileId||this.currentFolder.path===this.paginatedResources[0].path))},isSpaceFrontpage(){return xe(this.space)&&this.item==="/"}},watch:{item:{handler:function(){this.performLoaderTask(!0)}},space:{handler:function(){this.performLoaderTask(!0)}}}}),Hl={class:"flex w-full"},Wl=["textContent"],Yl=["textContent"];function Kl(e,s,i,l,n,c){const o=k("whitespace-context-menu"),r=k("create-and-upload"),p=k("app-bar"),y=k("app-loading-spinner"),g=k("not-found-message"),h=k("space-header"),v=k("no-content-message"),D=k("list-header"),T=k("resource-details"),f=k("context-actions"),S=k("pagination"),x=k("list-info"),I=k("quick-actions"),P=k("files-view-wrapper"),F=k("file-side-bar");return a(),w("div",Hl,[b(o,{space:e.space},null,8,["space"]),s[9]||(s[9]=d()),b(P,null,{default:A(()=>[b(p,{breadcrumbs:e.breadcrumbs,"breadcrumbs-context-actions-items":[e.currentFolder],"has-bulk-actions":e.displayFullAppBar,"show-actions-on-selection":e.displayFullAppBar,"has-view-options":e.displayFullAppBar,space:e.space,"view-modes":e.viewModes,onItemDropped:e.fileDropped},{actions:A(({limitedScreenSpace:_})=>[b(r,{key:"create-and-upload-actions","data-testid":"actions-create-and-upload",space:e.space,item:e.item,"item-id":e.itemId,"limited-screen-space":_},null,8,["space","item","item-id","limited-screen-space"])]),_:1},8,["breadcrumbs","breadcrumbs-context-actions-items","has-bulk-actions","show-actions-on-selection","has-view-options","space","view-modes","onItemDropped"]),s[8]||(s[8]=d()),e.areResourcesLoading?(a(),R(y,{key:0})):(a(),w(X,{key:1},[e.folderNotFound?(a(),R(g,{key:0,space:e.space,class:ye({"h-[40vh]":e.isSpaceFrontpage})},null,8,["space","class"])):(a(),w(X,{key:1},[e.hasSpaceHeader?(a(),R(h,{key:0,space:e.space,class:"px-4 mt-2"},null,8,["space"])):L("",!0),s[7]||(s[7]=d()),e.isCurrentFolderEmpty?(a(),R(v,{key:1,id:"files-space-empty",class:ye({"h-[40vh]":e.isSpaceFrontpage}),"img-src":"/images/empty-states/empty-folder.svg"},{message:A(()=>[m("span",{textContent:C(e.$gettext("No files found"))},null,8,Wl)]),callToAction:A(()=>[e.canUpload?(a(),w("span",{key:0,class:"file-empty-upload-hint",textContent:C(e.uploadHint)},null,8,Yl)):L("",!0)]),_:1},8,["class"])):(a(),w(X,{key:2},[e.readmeFile&&!e.hasSpaceHeader?(a(),R(D,{key:0,space:e.space,"readme-file":e.readmeFile,class:"mx-4 my-2"},null,8,["space","readme-file"])):L("",!0),s[6]||(s[6]=d()),e.displayResourceAsSingleResource?(a(),R(T,{key:1,"single-resource":e.paginatedResources[0],space:e.space},null,8,["single-resource","space"])):(a(),R(ct(e.folderView.component),Ge({key:2,"selected-ids":e.selectedResourcesIds,"onUpdate:selectedIds":s[0]||(s[0]=_=>e.selectedResourcesIds=_),resources:e.paginatedResources,"view-mode":e.viewMode,space:e.space,"drag-drop":!0,"sort-by":e.sortBy,"sort-dir":e.sortDir,"header-position":e.fileListHeaderY,"sort-fields":e.sortFields,"view-size":e.viewSize},e.folderView.componentAttrs?.(),{onFileDropped:e.fileDropped,onFileClick:e.triggerDefaultAction,onItemVisible:s[1]||(s[1]=_=>e.loadPreview({space:e.space,resource:_})),onSort:e.handleSort}),{contextMenu:A(({resource:_})=>[e.isResourceInSelection(_)?(a(),R(f,{key:0,"action-options":{space:e.space,resources:e.selectedResources}},null,8,["action-options"])):L("",!0)]),footer:A(()=>[b(S,{pages:e.paginationPages,"current-page":e.paginationPage},null,8,["pages","current-page"]),s[3]||(s[3]=d()),e.paginatedResources.length>0?(a(),R(x,{key:0,class:"w-full my-2"})):L("",!0)]),quickActions:A(({resource:_})=>[b(I,{class:ye([_.preview,"hidden sm:block"]),space:e.space,item:_},null,8,["class","space","item"])]),_:1},16,["selected-ids","resources","view-mode","space","sort-by","sort-dir","header-position","sort-fields","view-size","onFileDropped","onFileClick","onSort"]))],64))],64))],64))]),_:1}),s[10]||(s[10]=d()),b(F,{space:e.space},null,8,["space"])])}const Ql=ue(Gl,[["render",Kl]]),Zl={class:"flex w-full"},Jl=["textContent"],Xl=["textContent"],ec=Q({__name:"GenericTrash",props:{space:{},itemId:{}},setup(e){const s=e,{$gettext:i}=ne(),l=Oe(),{user:n}=de(l),c=bt({folderViewExtensionPoint:Gt}),{areResourcesLoading:o,paginatedResources:r,paginationPages:p,paginationPage:y,selectedResourcesIds:g,fileListHeaderY:h,sortBy:v,sortDir:D,handleSort:T,selectedResources:f,isResourceInSelection:S,viewMode:x,viewModes:I,folderView:P,viewSize:F,sortFields:_}=c,$=u(()=>t(c.paginatedResources).length<1),{actions:E}=Ps(),N=u(()=>t(E)[0]),j=u(()=>{const q=t(N);return typeof q.icon=="function"?q.icon({resources:[s.space]}):q.icon}),Y=u(()=>{let q=s.space?.name;return s.space?.driveType==="personal"&&(q=i("Personal")),[{text:i("Deleted files"),to:uo("files-trash-overview")},{text:q,onClick:()=>ge.publish("app.files.list.load")}]}),z=u(()=>!xe(s.space)||s.space.canDeleteFromTrashBin({user:n.value})||s.space.canRestoreFromTrashbin({user:n.value})),V=u(()=>{const q=[i("Deleted files")];return s.space?.name&&q.unshift(s.space.name),q});Oo({titleSegments:V});const M=async()=>{s.space&&(await c.loadResourcesTask.perform(s.space),c.refreshFileListHeaderPosition(),c.scrollToResourceFromRoute(t(c.paginatedResources),"files-app-bar"))};let Z;return Pe(()=>{M(),Z=ge.subscribe("app.files.list.load",()=>{M()})}),Xe(()=>{ge.unsubscribe("app.files.list.load",Z)}),(q,U)=>{const J=k("oc-icon"),W=k("oc-button");return a(),w("div",Zl,[b(gt,null,{default:A(()=>[b(t(ht),{breadcrumbs:Y.value,"has-bulk-actions":!0,space:e.space,"view-modes":t(I)},{actions:A(()=>[N.value.isVisible({resources:[e.space]})?(a(),R(W,{key:0,disabled:t(r).length===0,"action-options":{resources:[e.space]},class:ye([N.value.class,"mr-2"]),size:"medium",appearance:"filled",onClick:U[0]||(U[0]=B=>N.value.handler({resources:[e.space]}))},{default:A(()=>[b(J,{name:j.value,size:"medium"},null,8,["name"]),d(" "+C(N.value.label()),1)]),_:1},8,["disabled","action-options","class"])):L("",!0)]),_:1},8,["breadcrumbs","space","view-modes"]),U[5]||(U[5]=d()),t(o)?(a(),R(t(at),{key:0})):(a(),w(X,{key:1},[$.value?(a(),R(t(ot),{key:0,id:"files-trashbin-empty","img-src":"/images/empty-states/empty-trash.svg"},{message:A(()=>[m("span",{textContent:C(t(i)("This trash bin is empty"))},null,8,Jl)]),callToAction:A(()=>[m("span",{textContent:C(t(i)("All deleted files and folders of this space will show up here"))},null,8,Xl)]),_:1})):(a(),R(ct(t(P).component),{key:1,"selected-ids":t(g),"onUpdate:selectedIds":U[1]||(U[1]=B=>Ts(g)?g.value=B:null),"fields-displayed":["name","ddate"],"are-paths-displayed":!0,resources:t(r),"are-resources-clickable":!1,"are-thumbnails-displayed":!1,"header-position":t(h),"sort-by":t(v),"sort-dir":t(D),space:e.space,"view-mode":t(x),"has-actions":z.value,"sort-fields":t(_).filter(B=>B.name==="name"),"view-size":t(F),onSort:t(T)},{contextMenu:A(({resource:B})=>[t(S)(B)?(a(),R(t($t),{key:0,"action-options":{space:e.space,resources:t(f)}},null,8,["action-options"])):L("",!0)]),footer:A(()=>[b(t(Rt),{pages:t(p),"current-page":t(y)},null,8,["pages","current-page"]),U[3]||(U[3]=d()),t(r).length>0?(a(),R(Pt,{key:0,class:"w-full my-2"})):L("",!0)]),_:1},40,["selected-ids","resources","header-position","sort-by","sort-dir","space","view-mode","has-actions","sort-fields","view-size","onSort"]))],64))]),_:1}),U[6]||(U[6]=d()),b(t(ft),{space:e.space},null,8,["space"])])}}}),tc=Q({components:{DriveRedirect:yr,GenericSpace:Ql,GenericTrash:ec,AppLoadingSpinner:at},setup(){const e=rs(),s=We(),i=Ee(),l=Me(),n=zi("driveAliasAndItem"),c=qt(Ct,"files-trash-generic"),o=Ti({driveAliasAndItem:n}),{getInternalSpace:r}=Ke(),p=H(!0),y=u(()=>t(p)||t(o.loading)),g=_e("fileId"),h=u(()=>Ne(t(g))),v=async()=>{const T=t(o.space);try{return await i.webdav.getFileInfo(T)}catch(f){return console.error(f),T}},D=async T=>{const f=r(t(h).split("!")[0]);if(f){const S=await i.webdav.getFileInfo(f,{path:T},{headers:{Authorization:`Bearer ${e.accessToken}`}}),x=S.type!=="folder"?S.parentFolderId:S.fileId,I=S.type!=="folder"?vt.dirname(T):T;o.space.value=f,o.item.value=I;const{params:P,query:F}=Tt(f,{fileId:x,path:I});return l.push(Ze("files-spaces-generic",{params:P,query:{...F,scrollTo:t(S).fileId,openWithDefaultApp:"true"}}))}return l.push({name:"resolvePrivateLink",params:{fileId:t(h)},query:{openWithDefaultApp:"true"}})};return Pe(async()=>{if(!t(n)&&t(h))return l.push({name:"resolvePrivateLink",params:{fileId:t(h)},query:{openWithDefaultApp:"true"}});const T=t(o.space);if(T&&Lt(T)){const f=s.options.runningOnEos;if(e.userContextReady&&t(h)&&!f)try{const S=await i.webdav.getPathForFileId(t(h),{headers:{Authorization:`Bearer ${e.accessToken}`}});await D(S),p.value=!1;return}catch{}T.fileId===T.id&&(await v()).publicLinkPermission===ro.Create&&l.push({name:Ta.name,params:{token:T.id.toString()}})}p.value=!1}),{...o,driveAliasAndItem:n,isTrashRoute:c,isLoading:y,fileId:h}}});function sc(e,s,i,l,n,c){const o=k("app-loading-spinner"),r=k("drive-redirect"),p=k("generic-trash"),y=k("generic-space");return e.isLoading?(a(),R(o,{key:0})):e.space?e.isTrashRoute?(a(),R(p,{key:2,space:e.space,"item-id":e.itemId},null,8,["space","item-id"])):(a(),R(y,{key:3,space:e.space,item:e.item,"item-id":e.itemId},null,8,["space","item","item-id"])):(a(),R(r,{key:1,"drive-alias-and-item":e.driveAliasAndItem},null,8,["drive-alias-and-item"]))}const oc=ue(tc,[["render",sc]]),ac={class:"flex w-full"},ic={key:0,class:"flex items-center"},nc=["textContent"],rc=["textContent"],lc=["textContent"],cc={class:"flex justify-end flex-wrap items-end mx-4 mb-4"},dc=["textContent"],uc=["textContent"],pc=["src"],mc=["src"],hc={class:"text-center w-full my-2"},fc={class:"text-role-on-surface-variant"},gc={key:0,class:"text-role-on-surface-variant"},bc=Q({__name:"Projects",setup(e){const s=Ye(),i=Me(),l=Dt(),n=Ee(),c=ne(),{$gettext:o,$ngettext:r}=c,p=H(""),y=ve(),{imagesLoading:g}=de(s),{openSideBarPanel:h}=ls(),{setSelection:v,initResourceList:D,clearResourceList:T,setAncestorMetaData:f}=y,{areDisabledSpacesShown:S}=de(y),x=It(function*(ae){T(),f({}),yield s.reloadProjectSpaces({graphClient:n.graphAuthenticated,signal:ae}),D({currentFolder:null,resources:t(B)})}),{viewSize:I,viewMode:P,viewModes:F,folderView:_,fileListHeaderY:$,scrollToResourceFromRoute:E,areResourcesLoading:N,selectedResourcesIds:j,selectedResources:Y,isResourceInSelection:z}=bt({loadResourcesTask:x,folderViewExtensionPoint:Bt});let V=null;const M=u(()=>s.spaces.filter(xe)||[]),Z=u(()=>t(Y).length===1&&xe(t(Y)[0])?t(Y)[0]:null),q=["image","name","totalQuota","usedQuota","remainingQuota","indicators","mdate"],U=no(Da,c),{sortBy:J,sortDir:W,items:B,handleSort:O}=Ns({items:M,fields:U}),he=(ae,ie)=>(t(S)||(ae=ae.filter(rt=>rt.disabled!==!0)),(ie||"").trim()?new cs(ae,{...ds,keys:["name"]}).search(ie).map(rt=>rt.item):ae),oe=u(()=>gi(he(t(B),t(p)),[ae=>{const ie=ae[t(J)];return typeof ie=="string"?ie.toLowerCase():ie}],t(W))),{items:re,page:ee,total:te}=$o({items:oe,perPageDefault:"50",perPageStoragePrefix:"spaces-list"}),pe=u(()=>t(Y).some(({graphPermissions:ie})=>ie===void 0));let K;$e(p,async()=>{await i.push({...t(l),query:{...t(l).query,page:"1"}}),K?.unmark(),K?.mark(t(p),{element:"span",className:"mark-highlight"})}),$e(j,async ae=>{ae.length&&await s.loadGraphPermissions({ids:ae,graphClient:n.graphAuthenticated})});const{loadPreview:se}=dt(P),fe=zs();qs(fe,oe,P),Us(fe,P),sa(fe);const Ae=ae=>ae.spaceQuota.total===0?o("Unrestricted"):pt(ae.spaceQuota.total,c.current),Fe=ae=>ae.spaceQuota.used===void 0?"-":pt(ae.spaceQuota.used,c.current),Ce=ae=>ae.spaceQuota.total===0?o("Unrestricted"):ae.spaceQuota.remaining===void 0?"-":pt(ae.spaceQuota.remaining,c.current);Pe(async()=>{await x.perform(),V=ge.subscribe("app.files.spaces.uploaded-image",ae=>{se({space:ae,resource:ae})}),E(t(B),"files-app-bar"),He(()=>{K=new Qt(".oc-resource-details")})}),Xe(()=>{ge.unsubscribe("app.files.spaces.uploaded-image",V)});const Ue=u(()=>{const ae=t(B).filter(ie=>ie.disabled===!0);return ae.length?r("%{spaceCount} space in total (including %{disabledSpaceCount} disabled)","%{spaceCount} spaces in total (including %{disabledSpaceCount} disabled)",t(B).length,{spaceCount:t(B).length.toString(),disabledSpaceCount:ae.length.toString()}):r("%{spaceCount} space in total","%{spaceCount} spaces in total",t(B).length,{spaceCount:t(B).length.toString()})}),we=u(()=>o("%{spaceCount} matching spaces",{spaceCount:t(oe).length.toString()})),G=u(()=>[{text:o("Spaces are special folders for making files accessible to a team.")},{text:o("Spaces belong to a team and not to a single person. Even if members are removed, the files remain in the Space so that the team can continue to work on the files.")},{text:o("Members with the Manager role can add or remove other members from the Space.")},{text:o("A Space can have multiple Managers. Each Space has at least one Manager.")}]),Be=u(()=>[{text:o("Spaces"),onClick:()=>x.perform(),isStativNav:!0}]),Le=u(()=>o("Show members")),it=u(()=>o('Use the "New" button to create a space or ask an Administrator to do so')),nt=ae=>{v([ae.id]),h("space-share")};return(ae,ie)=>{const St=k("oc-contextual-helper"),rt=k("oc-text-input"),lt=k("oc-spinner"),us=k("oc-icon"),De=k("oc-button"),be=Re("oc-tooltip");return a(),w("div",ac,[b(gt,null,{default:A(()=>[b(t(ht),{breadcrumbs:Be.value,"show-actions-on-selection":!0,"has-bulk-actions":!0,"has-hidden-files":!1,"has-file-extensions":!1,"has-pagination":!1,"batch-actions-loading":pe.value,"view-modes":t(F),"view-mode-default":t(xt).defaultModeName},{actions:A(()=>[t(j)?.length?L("",!0):(a(),w("div",ic,[m("span",{textContent:C(t(o)("Learn about spaces"))},null,8,nc),ie[3]||(ie[3]=d()),b(St,{list:G.value,title:t(o)("Spaces"),class:"ml-1"},null,8,["list","title"])]))]),_:1},8,["breadcrumbs","batch-actions-loading","view-modes","view-mode-default"]),ie[15]||(ie[15]=d()),t(N)?(a(),R(t(at),{key:0})):(a(),w(X,{key:1},[t(B).length?(a(),w(X,{key:1},[m("div",cc,[b(rt,{id:"spaces-filter",modelValue:p.value,"onUpdate:modelValue":ie[0]||(ie[0]=le=>p.value=le),class:"w-3xs",label:t(o)("Search"),autocomplete:"off"},null,8,["modelValue","label"])]),ie[14]||(ie[14]=d()),oe.value.length?(a(),R(ct(t(_).component),Ge({key:1,"selected-ids":t(j),"onUpdate:selectedIds":ie[1]||(ie[1]=le=>Ts(j)?j.value=le:null),"resource-type":"space",resources:t(re),"fields-displayed":q,"sort-fields":t(U),"sort-by":t(J),"sort-dir":t(W),"header-position":t($),"view-size":t(I),"view-mode":t(P)},t(_).componentAttrs?.(),{onSort:t(O),onItemVisible:ie[2]||(ie[2]=le=>t(se)({space:le,resource:le}))}),{image:A(({resource:le})=>[t(P)===t(xt).name.tiles?(a(),w(X,{key:0},[t(g).includes(le.id)?(a(),R(lt,{key:0,"aria-label":t(o)("Space image is loading")},null,8,["aria-label"])):le.thumbnail?(a(),w("img",{key:1,class:ye(["tile-preview rounded-t-sm size-full",{"rounded-sm":t(z)(le)}]),src:le.thumbnail,alt:""},null,10,pc)):L("",!0)],64)):(a(),w(X,{key:1},[t(g).includes(le.id)?(a(),R(lt,{key:0,"aria-label":t(o)("Space image is loading"),class:"mr-2"},null,8,["aria-label"])):le.thumbnail?(a(),w("img",{key:1,class:ye(["table-preview mr-2 rounded-sm object-cover",{"opacity-80 grayscale":le.disabled}]),src:le.thumbnail,alt:"",width:"33",height:"33"},null,10,mc)):(a(),R(t(Mt),{key:2,class:"mr-2",resource:le},null,8,["resource"]))],64))]),actions:A(({resource:le})=>[le.disabled?L("",!0):Se((a(),R(De,{key:0,class:"raw-hover-surface p-1 ml-1","aria-label":Le.value,appearance:"raw",onClick:ke=>nt(le)},{default:A(()=>[b(us,{name:"group","fill-type":"line"})]),_:1},8,["aria-label","onClick"])),[[be,Le.value]])]),contextMenu:A(({resource:le})=>[t(z)(le)?(a(),R(ta,{key:0,loading:le.graphPermissions===void 0,"action-options":{resources:[le]}},null,8,["loading","action-options"])):L("",!0)]),footer:A(()=>[b(t(Rt),{pages:t(te),"current-page":t(ee)},null,8,["pages","current-page"]),ie[7]||(ie[7]=d()),m("div",hc,[m("p",fc,C(Ue.value),1),ie[6]||(ie[6]=d()),p.value?(a(),w("p",gc,C(we.value),1)):L("",!0)])]),totalQuota:A(({resource:le})=>[d(C(Ae(le)),1)]),usedQuota:A(({resource:le})=>[d(C(Fe(le)),1)]),remainingQuota:A(({resource:le})=>[d(C(Ce(le)),1)]),_:1},16,["selected-ids","resources","sort-fields","sort-by","sort-dir","header-position","view-size","view-mode","onSort"])):(a(),R(t(ot),{key:0,id:"files-spaces-empty","img-src":"/images/empty-states/empty-spaces.svg"},{message:A(()=>[m("span",{textContent:C(t(o)("No spaces found"))},null,8,dc)]),callToAction:A(()=>[m("span",{textContent:C(t(o)("Try refining the search term or filters to get results"))},null,8,uc)]),_:1}))],64)):(a(),R(t(ot),{key:0,id:"files-spaces-empty","img-src":"/images/empty-states/empty-spaces.svg"},{message:A(()=>[m("span",{textContent:C(t(o)("No spaces found"))},null,8,rc)]),callToAction:A(()=>[m("span",{textContent:C(it.value)},null,8,lc)]),_:1}))],64))]),_:1}),ie[16]||(ie[16]=d()),b(t(ft),{space:Z.value},null,8,["space"])])}}}),vc={key:0,class:"flex justify-center my-4"},yc={key:1},wc=Q({__name:"TrashContextActions",props:{actionOptions:{},loading:{type:Boolean}},setup(e){const i=As(e,"actionOptions"),{actions:l}=Rs(),{actions:n}=Ps(),c=u(()=>[...t(l),...t(n)].filter(r=>r.isVisible(t(i)))),o=u(()=>{const r=[];return t(c).length&&r.push({name:"primaryActions",items:t(c)}),r});return(r,p)=>{const y=k("oc-spinner");return e.loading?(a(),w("div",vc,[b(y,{"aria-label":r.$gettext("Loading actions")},null,8,["aria-label"])])):(a(),w("div",yc,[b(t(Mo),{"menu-sections":o.value,"action-options":i.value},null,8,["menu-sections","action-options"])]))}}}),kc={key:0,class:"flex"},so=Q({__name:"TrashQuickActions",props:{space:{}},setup(e){const s=e,i=ns(),{isEnabled:l}=Jt(),n=u(()=>t(i).requestExtensions(Vs).map(o=>o.action).filter(({isVisible:o})=>o({resources:[s.space]}))),c=o=>typeof o.icon=="function"?o.icon({resources:[s.space]}):o.icon;return(o,r)=>{const p=k("oc-icon"),y=k("oc-button"),g=Re("oc-tooltip");return t(l)?L("",!0):(a(),w("div",kc,[(a(!0),w(X,null,Te(n.value,h=>Se((a(),R(y,{key:h.label(),"aria-label":h.label(),appearance:"raw",class:ye(["ml-1 quick-action-button p-1",`files-quick-action-${h.name}`]),disabled:h.isDisabled({resources:[e.space]}),onClick:v=>h.handler({resources:[e.space]})},{default:A(()=>[b(p,{name:c(h),"fill-type":"line"},null,8,["name"])]),_:2},1032,["aria-label","class","disabled","onClick"])),[[g,h.label()]])),128))]))}}}),Sc={class:"flex w-full"},Cc=["textContent"],xc={class:"flex justify-end flex-wrap items-end mx-4 mb-4"},Ac=["textContent"],Tc=["textContent"],Dc={class:"text-center w-full my-2"},$c={"data-testid":"files-list-footer-info",class:"text-role-on-surface-variant"},Fc={key:0,class:"text-role-on-surface-variant"},Rc=Q({__name:"Overview",setup(e){const s=Oe(),i=Ye(),l=Me(),{$gettext:n,$ngettext:c}=ne(),o=Ee(),r=ve(),{getMatchingSpace:p}=Ke(),y=bt({folderViewExtensionPoint:Ht}),{fileListHeaderY:g,viewMode:h,viewModes:v,viewSize:D,sortFields:T,folderView:f}=y,{loadPreview:S}=dt(h),{areEmptyTrashesShown:x}=de(r),I=H("name"),P=H(vs.Asc),F=H(""),_=u(()=>i.spaces.filter(J=>yt(J)&&J.isOwner(s.user)||xe(J)&&!J.disabled)),$=It(function*(J){r.clearResourceList(),(yield*Ot(o.graphAuthenticated.drives.listMyDrives({select:["@libre.graph.hasTrashedItems"]},{signal:J}))).filter(O=>yt(O)||xe(O)).map(O=>(yt(O)&&(O.name=n("Personal")),O)).forEach(O=>{i.upsertSpace(O)}),yield i.loadGraphPermissions({ids:t(_).map(O=>O.id),graphClient:o.graphAuthenticated}),r.initResourceList({currentFolder:null,resources:t(_)})}),E=u(()=>$.isRunning||!$.last),N=u(()=>{const J=t(_).filter(W=>W.hasTrashedItems===!1);return J.length?c("%{spaceCount} trash bin in total (including %{emptyTrashCount} empty)","%{spaceCount} trash bins in total (including %{emptyTrashCount} empty)",t(_).length,{spaceCount:t(_).length.toString(),emptyTrashCount:J.length.toString()}):c("%{spaceCount} trash bin in total","%{spaceCount} trash bins in total",t(_).length,{spaceCount:t(_).length.toString()})}),j=u(()=>c("%{spaceCount} matching trash bin","%{spaceCount} matching trash bins",t(M).length,{spaceCount:t(M).length.toString()})),Y=u(()=>[{text:n("Deleted files"),onClick:()=>$.perform()}]),z=(J,W,B)=>[...J].sort((O,he)=>{if(yt(O))return-1;if(yt(he))return 1;const oe=O[W].toString(),re=he[W].toString();return B?re.localeCompare(oe):oe.localeCompare(re)}),V=(J,W)=>(t(x)||(J=J.filter(O=>O.hasTrashedItems!==!1)),(W||"").trim()?new cs(J,{...ds,keys:["name"]}).search(W).map(O=>O.item):J),M=u(()=>z(V(t(_),t(F)),t(I),t(P)==="desc")),Z=J=>{I.value=J.sortBy,P.value=J.sortDir},q=J=>uo("files-trash-generic",{...Tt(J)});let U;return Pe(async()=>{if(await $.perform(),t(_).length===1&&!xe(t(_)[0]))return l.push(q(t(_)[0]));await He(),U=new Qt(".oc-resource-details")}),$e(F,()=>{U?.unmark(),U?.mark(t(F),{element:"span",className:"mark-highlight"})}),(J,W)=>{const B=k("oc-text-input");return a(),w("div",Sc,[b(gt,null,{default:A(()=>[b(t(ht),{breadcrumbs:Y.value,"has-view-options":!0,"has-hidden-files":!1,"has-file-extensions":!1,"has-pagination":!1,"view-modes":t(v)},null,8,["breadcrumbs","view-modes"]),W[8]||(W[8]=d()),E.value?(a(),R(t(at),{key:0})):(a(),w(X,{key:1},[_.value.length?(a(),w(X,{key:1},[m("div",xc,[b(B,{id:"trash-filter",modelValue:F.value,"onUpdate:modelValue":W[0]||(W[0]=O=>F.value=O),class:"w-3xs",label:t(n)("Search"),autocomplete:"off"},null,8,["modelValue","label"])]),W[7]||(W[7]=d()),M.value.length?(a(),R(ct(t(f).component),{key:1,class:"trash-table",resources:M.value,"fields-displayed":["name"],"sort-by":I.value,"sort-dir":P.value,"sort-fields":t(T).filter(O=>O.name==="name"),"header-position":t(g),"are-thumbnails-displayed":!1,"are-paths-displayed":!1,"is-selectable":!1,"show-rename-quick-action":!1,"view-mode":t(h),"view-size":t(D),onSort:Z,onItemVisible:W[1]||(W[1]=O=>t(S)({space:t(p)(O),resource:O}))},{contextMenu:A(({resource:O})=>[b(wc,{loading:O.graphPermissions===void 0,"action-options":{resources:[O]}},null,8,["loading","action-options"])]),actions:A(({resource:O})=>[b(so,{space:O,item:O},null,8,["space","item"])]),quickActions:A(({resource:O})=>[b(so,{space:O,item:O},null,8,["space","item"])]),footer:A(()=>[m("div",Dc,[m("p",$c,C(N.value),1),W[3]||(W[3]=d()),F.value?(a(),w("p",Fc,C(j.value),1)):L("",!0)])]),_:1},40,["resources","sort-by","sort-dir","sort-fields","header-position","view-mode","view-size"])):(a(),R(t(ot),{key:0,"img-src":"/images/empty-states/empty-trash.svg"},{message:A(()=>[m("span",{textContent:C(t(n)("No trash bins found"))},null,8,Ac)]),callToAction:A(()=>[m("span",{textContent:C(t(n)("Try refining the search term or filters to get results"))},null,8,Tc)]),_:1}))],64)):(a(),R(t(ot),{key:0,icon:"delete-bin-5"},{message:A(()=>[m("span",{textContent:C(t(n)("You don't have access to any trashbins"))},null,8,Cc)]),_:1}))],64))]),_:1}),W[9]||(W[9]=d()),b(t(ft))])}}}),Ic={},Pc={"Paste here":"الصق هنا","Please wait until all imports have finished":"يرجى الانتظار حتى انتهاء جميع عمليات الاستيراد",Shortcut:"اختصار","File name":"اسم الملف",Cancel:"إلغاء",Choose:"اختر","Show more":"إظهار المزيد","Show less":"إظهار أقل",Password:"كلمة السر",Tags:"العلامات","Title only":"العنوان فقط",today:"اليوم","this week":"هذا الأسبوع","this month":"هذا الشهر",Image:"صورة",Video:"فيديو",Audio:"الصوت",Archive:"الأرشيف",Search:"بحث","No activities":"لا توجد أنشطة",Title:"العنوان",Authors:"المؤلفون",Album:"ألبوم","(me)":"(أنا)",Size:"الحجم",Version:"الإصدار",Spaces:"المساحات","Taken time":"الوقت المستغرق",Location:"موقع",Share:"المشاركة","Person was added":"تمت إضافة الشخص",External:"خارجي",Group:"مجموعة",User:"المستخدم",Send:"إرسال",Name:"الاسم",no:"لا","Select permission":"اختر الإذن","Add link":"إضافة رابط",Show:"إظهار",Hide:"إخفاء","Are you sure you want to delete this link? Recreating the same link again is not possible.":"هل أنت متأكد من أنك تريد حذف هذا الرابط؟ لا يمكن إعادة إنشاء نفس الرابط مرة أخرى.",Delete:"حذف","Space members":"أعضاء المساحة","Add password":"إضافة كلمة سر","Add members":"إضافة أعضاء",Add:"إضافة",Members:"الأعضاء","Are you sure you want to remove this member?":"هل أنت متأكد من رغبتك في إزالة هذا العضو؟",Download:"التنزيل",Details:"التفاصيل","Image Info":"معلومات الصورة","Audio Info":"معلومات الصوت",Versions:"الإصدارات",Activities:"الأنشطة",Personal:"شخصي","Add members to this Space":"إضافة أعضاء إلى هذه المساحة","An error occurred while loading the public link":"حدث خطأ أثناء تحميل الرابط العام","Show members":"إظهار الأعضاء"},Ec={},Lc={Navigation:"Navigace",Folder:"Složka",Files:"Soubory",New:"Nový",Shortcut:"Zástupce","File name":"Název souboru",Cancel:"Zrušit",Save:"Uložit",Choose:"Zvolit",Password:"Heslo",Type:"Typ",Tags:"Štítky","Filter tags":"Filtrovat štítky","Last Modified":"Naposledy změněno",today:"dnes",yesterday:"včera","last week":"minulý týden","last month":"minulý měsíc","last year":"minulý rok",File:"Soubor",Document:"Dokument",Spreadsheet:"Tabulka",Presentation:"Prezentace",PDF:"PDF",Image:"Obrázek",Video:"Video",Audio:"Zvuk",Archive:"Archiv",Search:"Hledat","No activities":"Žádné aktivity",Title:"Nadpis",Duration:"Délka trvání",Authors:"Autoři",Album:"Album",Genre:"Žánr",Track:"Stopa",Disc:"Disk","Deleted at":"Smazáno v","Last modified":"Naposledy změněno","Locked via":"Uzamčeno prostřednictvím",Owner:"Vlastník","(me)":"(mne)",Size:"Velikost",Version:"Verze",Folders:"Složky",Spaces:"Prostory","Deselect %{label}":"Zrušit výběr %{label}",Dimensions:"Rozměry","Device make":"Výrobce zařízení","Device model":"Model zařízení","Focal length":"Ohnisková vzdálenost","F number":"Clonové číslo","Exposure time":"Expoziční čas",ISO:"ISO",Orientation:"Orientace",Location:"Umístění","Access details":"Podrobnosti o přístupu","Account type":"Typ účtu",Share:"Sdílení",Internal:"Interní","Internal users":"Interní uživatelé",External:"Externí","External users":"Externí uživatelé","Deselect %{name}":"Zrušit výběr %{name}",Group:"Skupina","Guest user":"Uživatel-host","External user":"Externí uživatel",User:"Uživatel",Send:"Odeslat","%{collaboratorName} (me)":"%{collaboratorName} (mně)",Name:"Jméno","Access expires":"Platnost přístupu skončí",no:"ne","Edit permission":"Upravit oprávnění","Custom permissions":"Uživatelsky určená oprávnění",Role:"Role","Add link":"Přidat odkaz",Show:"Zobrazit",Hide:"Skrýt","Delete link":"Smazat odkaz",Delete:"Smazat",Remove:"Odebrat","More options":"Další možnosti","Edit name":"Upravit název","Link name":"Název odkazu",Rename:"Přejmenovat","Edit password":"Upravit hesl","Add password":"Přidat heslo","Add members":"Přidat členy",Add:"Přidat",Members:"Členové","Filter members":"Filtrovat členy","Close filter":"Zvolte filtr",Restore:"Obnovit",Download:"Stáhnout","Edit image":"Upravit obrázek",Confirm:"Potvrdit",Details:"Podrobnosti","Image Info":"Informace o obrázku","Audio Info":"Informace o zvuku",Actions:"Akce",Shares:"Sdílení",Versions:"Verze",Activities:"Aktivity",Personal:"Osobní","Insufficient quota":"Nedostačující kvóta",Subfolders:"Podsložky",Notification:"Notifikace",Incognito:"Inkognito","“via folder”":"„prostřednictvím složky“","Member capabilities":"Schopnosti člena",Merge:"Sloučit",Replace:"Nahradit",Favorites:"Oblíbené","Deleted files":"Smazané soubory","Hidden Shares":"Skrytá sdílení","Public link":"Veřejný odkaz",Unrestricted:"Neomezeno"},_c={},Nc={"Paste here":"Pegar aquí","Clear clipboard":"Limpiar portapapeles","Shared with me":"Compartido conmigo","Shared with others":"Compartido con otros","Shared via link":"Compartido vía enlace","Please wait until all imports have finished":"Porfavor espera hasta que se haya terminado de importar todo",Folder:"Carpeta",Files:"Archivos",New:"Nuevo","File name":"Nombre del archivo",Cancel:"Cancelar","Share link(s)":"Enlace(s) compartido(s)",Save:"Guardar",Choose:"Escoger","Attach as copy":"Adjuntar como copia","Show more":"Mostrar más","Show less":"Mostrar menos","Go to »Spaces Overview«":"Ir a la «Vista general de espacios»","Go to »Personal« page":"Ir a la página «Personal»","Reload public link":"Recargar enlace público",Password:"Contraseña","Link was updated successfully":"El enlace fué subido correctamente",Tags:"Etiquetas","Filter tags":"Filtrar por etiquetas","Last Modified":"Última Modificación","Title only":"Título sólamente","No results found":"No se han encontrado resultados",today:"hoy",yesterday:"ayer","this week":"esta semana","last week":"semana pasada","last 7 days":"últimos 7 días","this month":"este mes","last month":"último mes","last 30 days":"últimos 30 días","this year":"este año","last year":"último año",File:"Archivo",Document:"Documento",Spreadsheet:"Hoja de cálculo",Presentation:"Presentación",PDF:"PDF",Image:"Imagen",Video:"Vídeo",Audio:"Audio",Archive:"Archivo",Search:"Buscar","Found %{totalResults}, showing the %{itemCount} best matching results":"Se encontraron %{totalResults}, mostrando los %{itemCount} mejores resultados coincidentes","Permanent link":"Link permanente","Permanent link copied":"Link permanente copiado","No activities":"Sin actividades",Title:"Título",Duration:"Duración",Authors:"Autores",Album:"Album",Genre:"Género",Disc:"Disco","Deleted at":"Eliminado el","Last modified":"Última modificación","Locked via":"Bloquead vía","Shared via":"Compartido vía","Shared by":"Compartido por",Owner:"Propietario","(me)":"(yo)",Size:"Tamaño",Version:"Versión","No information to display":"No hay información para mostrar","Navigate to '%{folder}'":"Navegar hacia '%{folder}'","This folder has been shared.":"Esta carpeta ha sido compartida","This file has been shared.":"Este archivo ha sido compartido","See all versions":"Ver todas las versiones",Folders:"Carpetas",Spaces:"Espacios","Deselect %{label}":"Deseleccionar %{label}","Enter text to create a Tag":"Escribe texto para crear una etiqueta",Dimensions:"Dimensiones","Device model":"Modelo del dispositivo",ISO:"ISO",Orientation:"Orientación",Location:"Ubicación","Select a file or folder to view details":"Selecciona un archivo o una carpeta para ver sus detalles","Open context menu with share editing options":"Abrir menú de contexto con las opciones de edición compartidas","Access details":"Detalles de acceso","Navigate to parent":"Navegar hacia el padre","Remove member":"Eliminar miembro","Remove share":"Eliminar compartido","Edit expiration date":"Editar fecha de expiración","Set expiration date":"Establecer fecha de vencimiento","Remove expiration date":"Elliminar fecha de vencimiento","Notify via mail":"Notifícame vía email","Account type":"Tipo de cuenta","Loading users and groups":"Cargando usuarios y grupos","Show more actions":"Mostrar más acciones",Share:"Compartir","Person was added":"Persona fué añadida",Internal:"Interno","Internal users":"Usuarios internos",External:"Externo","External users":"Usuarios externos","No external users found.":"No se han encontrado usuarios externos.","No users or groups found.":"No se han encontrado usuarios o grupos.","Deselect %{name}":"Deseleccionar %{name}",Group:"Grupo","Guest user":"Usuario invitado","External user":"Usuario externo",User:"Usuario","Send a reminder":"Enviar un recordatorio",Send:"Enviar","Are you sure you want to send a reminder about this share?":"¿Seguro que quieres enviar un recordatorio sobre este compartido?","%{collaboratorName} (me)":"%{collaboratorName} (yo)",Name:"Nombre","Access expires":"Acceso expirado",no:"no","Error while editing the share.":"Ha ocurrido un error mientras se editaba el compartido","Edit permission":"Editar permisos","Custom permissions":"Permisos personalizados","Dear user, please replace this legacy role with one of the currently available roles":"Estimado usuario, por favor, reemplaza este rol obsoleto con uno de los roles disponibles actualmente","Public links":"Enlaces públicos","Add link":"Añadir enlace","This file has no public link.":"Este archivo no tiene un link público",Show:"Mostrar",Hide:"Oculto","Delete link":"Eliminar link","Are you sure you want to delete this link? Recreating the same link again is not possible.":"¿Seguro que quieres eliminar este enlace?. No es posible rehacer el mismo link otra vez.",Delete:"Eliminar","Link was deleted successfully":"El en lace fué borrado correctamente","Shared with":"Compartido con","Space members":"Miembros del espacio",Remove:"Eliminar","Are you sure you want to remove this share?":"¿Seguro que quieres eliminar este compartido?","Copy link to clipboard":"Copiar link al portapapeles","More options":"Más opciones","Edit name":"Editar nombre","Link name":"Nombre del link","Link name cannot exceed 255 characters":"El nombre del link no puede superar los 255 caracteres",Rename:"Renombrar","Edit password":"Editar contraseña","Remove password":"Eliminar contraseña","Add password":"Añadir contraseña","This link is password-protected":"Este enlace está protegido por contraseña","Loading list of shares":"Cargando lista de compartidos","Add members":"Añadir miembros",Add:"Añadir",Members:"Miembros","Filter members":"Filtrar miembros","Close filter":"Limpiar filtro","Are you sure you want to remove this member?":"¿Seguro que quieres eliminar a este miembro?",Download:"Descarga","No versions available for this file":"No hay versiones disponibles para este archivo","Edit image":"Editar imagen","Space image is loading":"Está cargando la imagen del espacio","Show context menu":"Mostrar menú contextual","Open context menu and show members":"Abrir menú de contexto y mostrar usuarios","Space description is loading":"Está cargando la descripción del espacio",Details:"Detalles","Image Info":"Detalles de la imagen","Audio Info":"Información sobre el audio",Actions:"Acciones",Shares:"Compartidos",Versions:"Versiones",Activities:"Actividades",Personal:"Personal","Insufficient quota":"Cuota insuficiente",Subfolders:"Subcarpetas",Notification:"Notificaciones",Incognito:"Incognito","Add members to this Space":"Añadir miembros a este Espacio","Enter a name to add people or groups as members to this Space.":"Escribe un nombre para agregar personas o grupos como miembros de este Espacio","Choose how access is granted":"Elige cómo se concede el acceso","Who can view tags?":"¿Quién puede ver las etiquetas?","Folder already exists":"La carpeta ya existe","File already exists":"El archivo ya existe",Merge:"Unificar",Replace:"Reemplazar","Deleted files":"Archivos eliminados","Drop files here to upload or click to select file":"Arrastra archivos aquí para subir o haz click para selecionar archivo","An error occurred while loading the public link":"Ha ocurrido un error mientras se cargaba el link público","%{owner} shared this folder with you for uploading":"%{owner} te ha compartido esta carpeta para subir archivos","Filter share types":"Filtrar por tipo compartido","Shared By":"Compartido Por","Filter shared by":"Filtrar por compartido","Public files":"Archivos públicos","Public link":"Enlace público","This folder has no content.":"La carpeta está vacía","Learn about spaces":"Aprende sobre los espacios",Unrestricted:"Sin restricciones","%{spaceCount} matching spaces":"%{spaceCount} espacios coincidentes","Show members":"Mostrar miembros"},zc=JSON.parse(`{"Paste here":"Επικόλληση εδώ","Clear clipboard":"Εκκαθάριση προχείρου","You have no permission to paste files here.":"Δεν έχετε δικαίωμα να επικολλήσετε αρχεία εδώ.","You cannot cut and paste resources into the same folder.":"Δεν μπορείτε να κάνετε αποκοπή και επικόλληση πόρων στον ίδιο φάκελο.","Shares pages navigation":"Πλοήγηση σελίδων διαμοιρασμού","Navigation":"Πλοήγηση","Shared with me":"Σε διαμοιρασμό με εμένα","Shared with others":"Σε διαμοιρασμό με άλλους","Shared via link":"Σε διαμοιρασμό μέσω συνδέσμου","Please wait until all imports have finished":"Παρακαλούμε περιμένετε μέχρι να ολοκληρωθούν όλες οι εισαγωγές","Folder":"Φάκελος","Files":"Αρχεία","New":"Νέο","Files Upload":"Μεταφόρτωση αρχείων","Folder Upload":"Μεταφόρτωση φακέλου","Shortcut":"Συντόμευση","File name":"Όνομα αρχείου","Cancel":"Ακύρωση","Share link(s)":"Σύνδεσμοι διαμοιρασμού","Save":"Αποθήκευση","Choose":"Επιλογή","Attach as copy":"Επισύναψη ως αντίγραφο","Loading README content":"Φόρτωση περιεχομένου README","Show more":"Εμφάνιση περισσότερων","Show less":"Εμφάνιση λιγότερων","Resource not found":"Ο πόρος δεν βρέθηκε","We went looking everywhere, but were unable to find the selected resource.":"Ψάξαμε παντού, αλλά δεν καταφέραμε να βρούμε τον επιλεγμένο πόρο.","Go to »Spaces Overview«":"Μετάβαση στην »Επισκόπηση Χώρων«","Go to »Personal« page":"Μετάβαση στην »Προσωπική« σελίδα","Reload public link":"Επαναφόρτωση δημόσιου συνδέσμου","Password":"Συνθηματικό","Link was updated successfully":"Ο σύνδεσμος ενημερώθηκε επιτυχώς","Failed to update link":"Αποτυχία ενημέρωσης συνδέσμου","Type":"Τύπος","Tags":"Ετικέτες","Filter tags":"Φιλτράρισμα ετικετών","Last Modified":"Τελευταία τροποποίηση","Title only":"Τίτλος μόνο","No results found":"Δεν βρέθηκαν αποτελέσματα","Search for files":"Αναζήτηση για αρχεία","Try refining the search term or filters to get results":"Δοκιμάστε να αλλάξετε τον όρο αναζήτησης ή τα φίλτρα για να λάβετε αποτελέσματα","Adjust the search term or filters to get results":"Προσαρμόστε τον όρο αναζήτησης ή τα φίλτρα για να λάβετε αποτελέσματα","today":"σήμερα","yesterday":"χθες","this week":"αυτή την εβδομάδα","last week":"την προηγούμενη εβδομάδα","last 7 days":"τις τελευταίες 7 ημέρες","this month":"αυτόν τον μήνα","last month":"τον προηγούμενο μήνα","last 30 days":"τις τελευταίες 30 ημέρες","this year":"αυτό το έτος","last year":"πέρυσι","File":"Αρχείο","Document":"Έγγραφο","Spreadsheet":"Υπολογιστικό φύλλο","Presentation":"Παρουσίαση","PDF":"PDF","Image":"Εικόνα","Video":"Βίντεο","Audio":"Ήχος","Archive":"Συμπιεσμένο αρχείο","Search results for \\"%{searchTerm}\\"":"Αποτελέσματα αναζήτησης για \\"%{searchTerm}\\"","Search":"Αναζήτηση","Showing up to %{searchLimit} results":"Εμφάνιση έως %{searchLimit} αποτελεσμάτων","Found %{totalResults}, showing the %{itemCount} best matching results":"Βρέθηκαν %{totalResults}, εμφάνιση των %{itemCount} καλύτερων αποτελεσμάτων","Permanent link":"Μόνιμος σύνδεσμος","Permanent link copied":"Ο μόνιμος σύνδεσμος αντιγράφηκε","The permanent link has been copied to your clipboard.":"Ο μόνιμος σύνδεσμος έχει αντιγραφεί στο πρόχειρό σας.","Copy the link to point your team to this item. Works only for people with existing access.":"Αντιγράψτε τον σύνδεσμο για να καθοδηγήσετε την ομάδα σας σε αυτό το στοιχείο. Λειτουργεί μόνο για άτομα με υπάρχουσα πρόσβαση.","Nothing shared, yet":"Τίποτα σε διαμοιρασμό, ακόμα","All received shares will show up here":"Όλα τα ληφθέντα κοινόχρηστα στοιχεία θα εμφανιστούν εδώ","No activities":"Καμία δραστηριότητα","Showing %{activitiesCount} activity":["Εμφάνιση %{activitiesCount} δραστηριότητας","Εμφάνιση %{activitiesCount} δραστηριοτήτων"],"Title":"Τίτλος","Duration":"Διάρκεια","Authors":"Δημιουργοί","Album":"Άλμπουμ","Genre":"Είδος","Year recorded":"Έτος ηχογράφησης","Track":"Κομμάτι","Disc":"Δίσκος","Loading details":"Φόρτωση λεπτομερειών","Overview of the information about the selected file":"Επισκόπηση των πληροφοριών για το επιλεγμένο αρχείο","Deleted at":"Διαγράφηκε στις","Last modified":"Τελευταία τροποποίηση","Locked via":"Κλειδώθηκε μέσω","Shared via":"Σε διαμοιρασμό μέσω","Shared by":"Διαμοιράστηκε από","Owner":"Ιδιοκτήτης","(me)":"(εγώ)","Size":"Μέγεθος","Version":"Έκδοση","No information to display":"Δεν υπάρχουν πληροφορίες προς εμφάνιση","Navigate to '%{folder}'":"Πλοήγηση στο '%{folder}'","This folder has been shared.":"Αυτός ο φάκελος έχει διαμοιραστεί.","This file has been shared.":"Αυτό το αρχείο έχει διαμοιραστεί.","See all versions":"Δείτε όλες τις εκδόσεις","Overview of the information about the selected files":"Επισκόπηση των πληροφοριών για τα επιλεγμένα αρχεία","Folders":"Φάκελοι","Spaces":"Χώροι","%{ itemCount } item selected":["%{ itemCount } στοιχείο επιλέχθηκε","%{ itemCount } στοιχεία επιλέχθηκαν"],"Deselect %{label}":"Αποεπιλογή %{label}","Enter text to create a Tag":"Εισάγετε κείμενο για να δημιουργήσετε μια ετικέτα","Tag must not consist of blanks only":"Η ετικέτα δεν πρέπει να αποτελείται μόνο από κενά","Failed to edit tags":"Αποτυχία επεξεργασίας ετικετών","Search for tag %{tag}":"Αναζήτηση για την ετικέτα %{tag}","Dimensions":"Διαστάσεις","Device make":"Κατασκευαστής συσκευής","Device model":"Μοντέλο συσκευής","Focal length":"Εστιακή απόσταση","F number":"Διάφραγμα (F-number)","Exposure time":"Χρόνος έκθεσης","ISO":"ISO","Orientation":"Προσανατολισμός","Taken time":"Ώρα λήψης","Location":"Τοποθεσία","The location has been copied to your clipboard.":"Η τοποθεσία έχει αντιγραφεί στο πρόχειρό σας.","Copy location to clipboard":"Αντιγραφή τοποθεσίας στο πρόχειρο","Select a file or folder to view details":"Επιλέξτε ένα αρχείο ή φάκελο για να δείτε λεπτομέρειες","Open context menu with share editing options":"Άνοιγμα μενού επιλογών με δυνατότητες επεξεργασίας διαμοιρασμού","Edit share":"Επεξεργασία διαμοιρασμού","Access details":"Λεπτομέρειες πρόσβασης","Resource is temporarily locked, unable to manage share":"Ο πόρος είναι προσωρινά κλειδωμένος, αδυναμία διαχείρισης διαμοιρασμού","Navigate to parent":"Μετάβαση στο γονικό στοιχείο","Remove member":"Αφαίρεση μέλους","Remove share":"Αφαίρεση διαμοιρασμού","Edit expiration date":"Επεξεργασία ημερομηνίας λήξης","Set expiration date":"Ορισμός ημερομηνίας λήξης","Remove expiration date":"Αφαίρεση ημερομηνίας λήξης","Notify via mail":"Ειδοποίηση μέσω email","Context menu of the share":"Μενού επιλογών του διαμοιρασμού","Account type":"Τύπος λογαριασμού","Loading users and groups":"Φόρτωση χρηστών και ομάδων","Share type":"Τύπος διαμοιρασμού","Show more actions":"Εμφάνιση περισσότερων ενεργειών","Share options":"Επιλογές διαμοιρασμού","Share":"Διαμοιρασμός","Person was added":"Το άτομο προστέθηκε","Share was added successfully":"Ο διαμοιρασμός προστέθηκε επιτυχώς","Failed to add share for \\"%{displayName}\\"":"Αποτυχία προσθήκης διαμοιρασμού για τον/την \\"%{displayName}\\"","Internal":"Εσωτερικός","Internal users":"Εσωτερικοί χρήστες","External":"Εξωτερικός","External users":"Εξωτερικοί χρήστες","No external users found.":"Δεν βρέθηκαν εξωτερικοί χρήστες.","No users or groups found.":"Δεν βρέθηκαν χρήστες ή ομάδες.","Deselect %{name}":"Αποεπιλογή %{name}","Group":"Ομάδα","Guest user":"Χρήστης επισκέπτης","External user":"Εξωτερικός χρήστης","User":"Χρήστης","External user, registered with another organization’s account but granted access to your resources. External users can only have “view” or “edit” permission.":"Εξωτερικός χρήστης, εγγεγραμμένος με λογαριασμό άλλου οργανισμού, στον οποίο όμως έχει παραχωρηθεί πρόσβαση στους πόρους σας. Οι εξωτερικοί χρήστες μπορούν να έχουν μόνο δικαίωμα «προβολής» ή «επεξεργασίας».","Send a reminder":"Αποστολή υπενθύμισης","Send":"Αποστολή","Are you sure you want to send a reminder about this share?":"Είστε βέβαιοι ότι θέλετε να στείλετε μια υπενθύμιση για αυτόν τον διαμοιρασμό;","Shared via the parent folder \\"%{sharedParentDir}\\"":"Διαμοιράστηκε μέσω του γονικού φακέλου \\"%{sharedParentDir}\\"","%{collaboratorName} (me)":"%{collaboratorName} (εγώ)","Share receiver name: %{ displayName }":"Όνομα παραλήπτη διαμοιρασμού: %{ displayName }","Name":"Όνομα","Access expires":"Η πρόσβαση λήγει","no":"όχι","Shared on":"Διαμοιράστηκε στις","Invited by":"Προσκλήθηκε από","Failed to apply new permissions":"Αποτυχία εφαρμογής νέων δικαιωμάτων","Failed to apply expiration date":"Αποτυχία εφαρμογής ημερομηνίας λήξης","Share successfully changed":"Ο διαμοιρασμός τροποποιήθηκε επιτυχώς","Error while editing the share.":"Σφάλμα κατά την επεξεργασία του διαμοιρασμού.","Select permission":"Επιλογή δικαιώματος","Edit permission":"Επεξεργασία δικαιώματος","Custom permissions":"Προσαρμοσμένα δικαιώματα","Role":"Ρόλος","Select role for the invitation":"Επιλέξτε ρόλο για την πρόσκληση","Dear user, please replace this legacy role with one of the currently available roles":"Αγαπητέ χρήστη, παρακαλούμε αντικαταστήστε αυτόν τον παλαιού τύπου (legacy) ρόλο με έναν από τους τρέχοντες διαθέσιμους ρόλους","Expires %{timeToExpiry} (%{expiryDate})":"Λήγει σε %{timeToExpiry} (%{expiryDate})","Share expires %{ expiryDateRelative } (%{ expiryDate })":"Ο διαμοιρασμός λήγει %{ expiryDateRelative } (%{ expiryDate })","Public links":"Δημόσιοι σύνδεσμοι","Add link":"Προσθήκη συνδέσμου","You do not have permission to create public links.":"Δεν έχετε δικαίωμα να δημιουργήσετε δημόσιους συνδέσμους.","This space has no public links.":"Αυτός ο χώρος δεν έχει δημόσιους συνδέσμους.","This folder has no public link.":"Αυτός ο φάκελος δεν έχει δημόσιο σύνδεσμο.","This file has no public link.":"Αυτό το αρχείο δεν έχει δημόσιο σύνδεσμο.","Show":"Εμφάνιση","Hide":"Απόκρυψη","Indirect (%{ count })":"Έμμεσοι (%{ count })","Delete link":"Διαγραφή συνδέσμου","Are you sure you want to delete this link? Recreating the same link again is not possible.":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτόν τον σύνδεσμο; Η εκ νέου δημιουργία του ίδιου συνδέσμου δεν θα είναι δυνατή.","Delete":"Διαγραφή","Link was deleted successfully":"Ο σύνδεσμος διαγράφηκε επιτυχώς","Failed to delete link":"Αποτυχία διαγραφής συνδέσμου","Share with people":"Διαμοιρασμός με άτομα","Share receivers":"Παραλήπτες διαμοιρασμού","Shared with":"Διαμοιράστηκε με","Space members":"Μέλη χώρου","You don't have permission to share this file.":"Δεν έχετε δικαίωμα να διαμοιραστείτε αυτό το αρχείο.","You don't have permission to share this folder.":"Δεν έχετε δικαίωμα να διαμοιραστείτε αυτόν τον φάκελο.","Remove":"Αφαίρεση","Are you sure you want to remove this share?":"Είστε βέβαιοι ότι θέλετε να καταργήσετε αυτόν τον διαμοιρασμό;","Share was removed successfully":"Ο διαμοιρασμός αφαιρέθηκε επιτυχώς","Failed to remove share":"Αποτυχία αφαίρεσης διαμοιρασμού","Copy link to clipboard":"Αντιγραφή συνδέσμου στο πρόχειρο","The link has been copied to your clipboard.":"Ο σύνδεσμος αντιγράφηκε στο πρόχειρό σας.","The link \\"%{linkName}\\" has been copied to your clipboard.":"Ο σύνδεσμος \\"%{linkName}\\" αντιγράφηκε στο πρόχειρό σας.","More options":"Περισσότερες επιλογές","Edit public link":"Επεξεργασία δημόσιου συνδέσμου","Edit name":"Επεξεργασία ονόματος","Link name":"Όνομα συνδέσμου","Link name cannot be empty":"Το όνομα του συνδέσμου δεν μπορεί να είναι κενό","Link name cannot exceed 255 characters":"Το όνομα του συνδέσμου δεν μπορεί να υπερβαίνει τους 255 χαρακτήρες","Rename":"Μετονομασία","Edit password":"Επεξεργασία κωδικού πρόσβασης","Remove password":"Αφαίρεση συνθηματικού","Add password":"Προσθήκη συνθηματικού","This link is password-protected":"Αυτός ο σύνδεσμος προστατεύεται με συνθηματικό","Loading list of shares":"Φόρτωση λίστας διαμοιρασμών","Add members":"Προσθήκη μελών","Add":"Προσθήκη","Members":"Μέλη","Filter members":"Φιλτράρισμα μελών","Close filter":"Κλείσιμο φίλτρου","Are you sure you want to remove this member?":"Είστε βέβαιοι ότι θέλετε να αφαιρέσετε αυτό το μέλος;","Select a trash bin to view details":"Επιλέξτε έναν κάδο ανακύκλωσης για να δείτε λεπτομέρειες","Restore":"Επαναφορά","Download":"Λήψη","No versions available for this file":"Δεν υπάρχουν διαθέσιμες εκδόσεις για αυτό το αρχείο","Loading actions":"Φόρτωση ενεργειών","Edit image":"Επεξεργασία εικόνας","Space image is loading":"Η εικόνα του χώρου φορτώνεται","Show context menu":"Εμφάνιση μενού επιλογών","Open context menu and show members":"Άνοιγμα μενού επιλογών και εμφάνιση μελών","Loading members":"Φόρτωση μελών","Space description is loading":"Η περιγραφή του χώρου φορτώνεται","%{count} member":["%{count} μέλος","%{count} μέλη"],"Crop image for »%{space}«":"Περικοπή εικόνας για »%{space}«","Confirm":"Επιβεβαίωση","Set image":"Ορισμός εικόνας","Details":"Λεπτομέρειες","Image Info":"Πληροφορίες εικόνας","Audio Info":"Πληροφορίες ήχου","Actions":"Ενέργειες","Shares":"Διαμοιρασμοί","Versions":"Εκδόσεις","Activities":"Δραστηριότητες","Condensed table view":"Συμπτυγμένη προβολή πίνακα","Default table view":"Προεπιλεγμένη προβολή πίνακα","Tiles view":"Προβολή πλακιδίων","Personal":"Προσωπικά","Insufficient quota":"Ανεπαρκές όριο χώρου","Insufficient quota on %{spaceName}. You need additional %{missingSpace} to upload these files":"Ανεπαρκές όριο χώρου στο %{spaceName}. Χρειάζεστε επιπλέον %{missingSpace} για να μεταφορτώσετε αυτά τα αρχεία","Use the input field to search for users and groups. Select them to share the item.":"Χρησιμοποιήστε το πεδίο εισαγωγής για να αναζητήσετε χρήστες και ομάδες. Επιλέξτε τους για να διαμοιραστείτε το στοιχείο.","Subfolders":"Υποφάκελοι","If you share a folder, all of its contents and subfolders will be shared as well.":"Εάν διαμοιραστείτε έναν φάκελο, θα διαμοιραστούν επίσης όλα τα περιεχόμενα και οι υποφάκελοί του.","Notification":"Ειδοποίηση","People you share resources with will be notified via email or in-app notification.":"Τα άτομα με τα οποία διαμοιράζεστε πόρους θα ειδοποιηθούν μέσω email ή μέσω ειδοποίησης εντός της εφαρμογής.","Incognito":"Ανώνυμα","People you share resources with can not see who else has access.":"Τα άτομα με τα οποία διαμοιράζεστε πόρους δεν μπορούν να δουν ποιος άλλος έχει πρόσβαση.","“via folder”":"“μέσω φακέλου”","The “via folder” is shown next to a share, if access has already been given via a parent folder. Click on the “via folder” to edit the share on its parent folder.":"Η ένδειξη “μέσω φακέλου” εμφανίζεται δίπλα σε έναν διαμοιρασμό, εάν η πρόσβαση έχει ήδη δοθεί μέσω ενός γονικού φακέλου. Κάντε κλικ στο “μέσω φακέλου” για να επεξεργαστείτε τον διαμοιρασμό στον γονικό του φάκελο.","Search for service or secondary Account":"Αναζήτηση για λογαριασμό υπηρεσίας ή δευτερεύοντα λογαριασμό","To search for service or secondary accounts prefix the username with \\"a:\\" (like \\"a:doe\\") and for guest accounts prefix the username with \\"l:\\" (like \\"l:doe\\").":"Για να αναζητήσετε λογαριασμούς υπηρεσίας ή δευτερεύοντες λογαριασμούς, προσθέστε το πρόθεμα \\"a:\\" στο όνομα χρήστη (π.χ. \\"a:doe\\") και για λογαριασμούς επισκεπτών το πρόθεμα \\"l:\\" (π.χ. \\"l:doe\\").","Add members to this Space":"Προσθήκη μελών σε αυτόν τον Χώρο","Enter a name to add people or groups as members to this Space.":"Εισάγετε ένα όνομα για να προσθέσετε άτομα ή ομάδες ως μέλη σε αυτόν τον Χώρο.","Member capabilities":"Δυνατότητες μελών","Members are able to see who has access to this space and access all files in this space. Read or write permissions can be set by assigning a role.":"Τα μέλη μπορούν να δουν ποιος έχει πρόσβαση σε αυτόν τον χώρο και να έχουν πρόσβαση σε όλα τα αρχεία σε αυτόν τον χώρο. Τα δικαιώματα ανάγνωσης ή εγγραφής μπορούν να οριστούν με την ανάθεση ενός ρόλου.","Space manager capabilities":"Δυνατότητες διαχειριστή χώρου","Members with the Manager role are able to edit all properties and content of a Space, such as adding or removing members, sharing subfolders with non-members, or creating links to share.":"Τα μέλη με τον ρόλο του Διαχειριστή μπορούν να επεξεργάζονται όλες τις ιδιότητες και το περιεχόμενο ενός Χώρου, όπως η προσθήκη ή αφαίρεση μελών, ο διαμοιρασμός υποφακέλων με μη μέλη ή η δημιουργία συνδέσμων προς διαμοιρασμό.","Choose how access is granted":"Επιλέξτε πώς παραχωρείται η πρόσβαση","No login required. Everyone with the link can access. If you share this link with people from the list \\"Invited people\\", they need to login so that their individual assigned permissions can take effect. If they are not logged-in, the permissions of the link take effect.":"Δεν απαιτείται σύνδεση. Οποιοσδήποτε με τον σύνδεσμο μπορεί να έχει πρόσβαση. Εάν διαμοιραστείτε αυτόν τον σύνδεσμο με άτομα από τη λίστα \\"Προσκεκλημένα άτομα\\", θα πρέπει να συνδεθούν ώστε να ισχύσουν τα ατομικά τους δικαιώματα. Εάν δεν είναι συνδεδεμένοι, ισχύουν τα δικαιώματα του συνδέσμου.","What are indirect links?":"Τι είναι οι έμμεσοι σύνδεσμοι;","Indirect links are links giving access by a parent folder.":"Οι έμμεσοι σύνδεσμοι είναι σύνδεσμοι που δίνουν πρόσβαση μέσω ενός γονικού φακέλου.","How to edit indirect links":"Πώς να επεξεργαστείτε έμμεσους συνδέσμους","Indirect links can only be edited in their parent folder. Click on the folder icon below the link to navigate to the parent folder.":"Οι έμμεσοι σύνδεσμοι μπορούν να τροποποιηθούν μόνο στον γονικό τους φάκελο. Κάντε κλικ στο εικονίδιο του φακέλου κάτω από τον σύνδεσμο για να μεταβείτε στον γονικό φάκελο.","Who can view tags?":"Ποιος μπορεί να δει τις ετικέτες;","Everyone who can view the file can view its tags. Likewise, everyone who can edit the file can edit its tags.":"Οποιοσδήποτε μπορεί να προβάλει το αρχείο μπορεί να δει και τις ετικέτες του. Αντίστοιχα, οποιοσδήποτε μπορεί να επεξεργαστεί το αρχείο μπορεί να επεξεργαστεί και τις ετικέτες του.","Folder already exists":"Ο φάκελος υπάρχει ήδη","File already exists":"Το αρχείο υπάρχει ήδη","Merge":"Συγχώνευση","Replace":"Αντικατάσταση","Favorites":"Αγαπημένα","Deleted files":"Διαγραμμένα αρχεία","There are no resources marked as favorite":"Δεν υπάρχουν πόροι σημειωμένοι ως αγαπημένοι","Drop files here to upload or click to select file":"Αποθέστε αρχεία εδώ για μεταφόρτωση ή κάντε κλικ για επιλογή αρχείου","An error occurred while loading the public link":"Παρουσιάστηκε σφάλμα κατά τη φόρτωση του δημόσιου συνδέσμου","Note: Transfer of nested folder structures is not possible. Instead, all files from the subfolders will be uploaded individually.":"Σημείωση: Η μεταφορά δομών με ένθετους φακέλους δεν είναι δυνατή. Αντίθετα, όλα τα αρχεία από τους υποφακέλους θα μεταφορτωθούν μεμονωμένα.","%{owner} shared this folder with you for uploading":"Ο/Η %{owner} διαμοιράστηκε αυτόν τον φάκελο μαζί σας για μεταφόρτωση","All your links will show up here":"Όλοι οι σύνδεσμοί σας θα εμφανιστούν εδώ","Share Type":"Τύπος διαμοιρασμού","Filter share types":"Φιλτράρισμα τύπων διαμοιρασμού","Shared By":"Διαμοιράστηκε από","Filter shared by":"Φιλτράρισμα κατά αποστολέα","Hidden Shares":"Κρυφοί διαμοιρασμοί","Anything you shared will show up here":"Οτιδήποτε έχετε διαμοιραστεί θα εμφανιστεί εδώ","No files found":"Δεν βρέθηκαν αρχεία","OCM share":"Διαμοιρασμός OCM","Public files":"Δημόσια αρχεία","Public link":"Δημόσιος σύνδεσμος","This folder contains %{ amount } item.":["Αυτός ο φάκελος περιέχει %{ amount } στοιχείο.","Αυτός ο φάκελος περιέχει %{ amount } στοιχεία."],"This folder has no content.":"Αυτός ο φάκελος δεν έχει περιεχόμενο.","Drag files and folders here or use the \\"New\\" button to add files":"Σύρετε αρχεία και φακέλους εδώ ή χρησιμοποιήστε το κουμπί \\"Νέο\\" για να προσθέσετε αρχεία","This trash bin is empty":"Αυτός ο κάδος ανακύκλωσης είναι άδειος","All deleted files and folders of this space will show up here":"Όλα τα διαγραμμένα αρχεία και οι φάκελοι αυτού του χώρου θα εμφανιστούν εδώ","Learn about spaces":"Μάθετε για τους χώρους","No spaces found":"Δεν βρέθηκαν χώροι","Unrestricted":"Χωρίς περιορισμό","%{spaceCount} space in total":["%{spaceCount} χώρος συνολικά","%{spaceCount} χώροι συνολικά"],"%{spaceCount} space in total (including %{disabledSpaceCount} disabled)":["%{spaceCount} χώρος συνολικά (συμπεριλαμβανομένου %{disabledSpaceCount} απενεργοποιημένου)","%{spaceCount} χώροι συνολικά (συμπεριλαμβανομένων %{disabledSpaceCount} απενεργοποιημένων)"],"%{spaceCount} matching spaces":"%{spaceCount} χώροι που ταιριάζουν","Spaces are special folders for making files accessible to a team.":"Οι Χώροι είναι ειδικοί φάκελοι για την παροχή πρόσβασης σε αρχεία σε μια ομάδα.","Spaces belong to a team and not to a single person. Even if members are removed, the files remain in the Space so that the team can continue to work on the files.":"Οι Χώροι ανήκουν σε μια ομάδα και όχι σε ένα μεμονωμένο άτομο. Ακόμη και αν αφαιρεθούν μέλη, τα αρχεία παραμένουν στον Χώρο ώστε η ομάδα να μπορεί να συνεχίσει να εργάζεται πάνω σε αυτά.","Members with the Manager role can add or remove other members from the Space.":"Τα μέλη με τον ρόλο του Διευθυντή μπορούν να προσθέτουν ή να αφαιρούν άλλα μέλη από τον Χώρο.","A Space can have multiple Managers. Each Space has at least one Manager.":"Ένας Χώρος μπορεί να έχει πολλαπλούς Διευθυντές. Κάθε Χώρος έχει τουλάχιστον έναν Διευθυντή.","Show members":"Εμφάνιση μελών","Use the \\"New\\" button to create a space or ask an Administrator to do so":"Χρησιμοποιήστε το κουμπί \\"Νέο\\" για να δημιουργήσετε έναν χώρο ή ζητήστε από έναν Διαχειριστή να το κάνει","You don't have access to any trashbins":"Δεν έχετε πρόσβαση σε κανέναν κάδο ανακύκλωσης","No trash bins found":"Δεν βρέθηκαν κάδοι ανακύκλωσης","%{spaceCount} trash bin in total":["%{spaceCount} κάδος ανακύκλωσης συνολικά","%{spaceCount} κάδοι ανακύκλωσης συνολικά"],"%{spaceCount} trash bin in total (including %{emptyTrashCount} empty)":["%{spaceCount} κάδος ανακύκλωσης συνολικά (συμπεριλαμβανομένου %{emptyTrashCount} άδειου)","%{spaceCount} κάδοι ανακύκλωσης συνολικά (συμπεριλαμβανομένων %{emptyTrashCount} άδειων)"],"%{spaceCount} matching trash bin":["%{spaceCount} κάδος ανακύκλωσης που ταιριάζει","%{spaceCount} κάδοι ανακύκλωσης που ταιριάζουν"]}`),Mc=JSON.parse(`{"Paste here":"Hier einfügen","Clear clipboard":"Zwischenablage leeren","You have no permission to paste files here.":"Sie haben keine Erlaubnis hier Dateien einzufügen.","You cannot cut and paste resources into the same folder.":"Dateien können nicht in den aktuellen Ordner verschoben werden.","Shares pages navigation":"Navigation der geteilten Dateien Seiten","Navigation":"Navigation","Shared with me":"Mit mir geteilt","Shared with others":"Mit anderen geteilt","Shared via link":"Per Link geteilt","Please wait until all imports have finished":"Bitte warten, bis alle Importe abgeschlossen sind.","Folder":"Ordner","Files":"Dateien","New":"Neu","Files Upload":"Datei-Upload","Folder Upload":"Ordner-Upload","Shortcut":"Verknüpfung","File name":"Dateiname","Cancel":"Abbrechen","Share link(s)":"Link(s) teilen","Save":"Speichern","Choose":"Auswählen","Attach as copy":"Als Kopie anhängen","Loading README content":"Inhalt der README laden","Show more":"Mehr anzeigen","Show less":"Weniger anzeigen","Resource not found":"Datei nicht gefunden","We went looking everywhere, but were unable to find the selected resource.":"Wir haben überall gesucht, konnten das ausgewählte Element aber nicht finden.","Go to »Spaces Overview«":"Zur »Spaces-Übersicht« gehen","Go to »Personal« page":"Persönliche Seite anzeigen","Reload public link":"Öffentlichen Link neu laden","Password":"Passwort","Link was updated successfully":"Der Link wurde erfolgreich bearbeitet.","Failed to update link":"Fehler beim Bearbeiten des Links","Type":"Typ","Tags":"Tags","Filter tags":"Tags filtern","Last Modified":"Zuletzt bearbeitet","Title only":"Nur Titel","No results found":"Keine Ergebnisse gefunden","Search for files":"Suche nach Dateien","Try refining the search term or filters to get results":"Versuchen Sie, den Suchbegriff oder die Filter zu verfeinern, um Ergebnisse zu erhalten","Adjust the search term or filters to get results":"Suchbegriff oder Filter anpassen, um Ergebnisse zu erhalten","today":"heute","yesterday":"gestern","this week":"diese Woche","last week":"letzte Woche","last 7 days":"letzte 7 Tage","this month":"diesen Monat","last month":"letzten Monat","last 30 days":"letzte 30 Tage","this year":"dieses Jahr","last year":"letztes Jahr","File":"Datei","Document":"Dokument","Spreadsheet":"Tabellenkalkulation","Presentation":"Präsentation","PDF":"PDF","Image":"Bild","Video":"Video","Audio":"Audio","Archive":"Archiv","Search results for \\"%{searchTerm}\\"":"Suchergebnisse für \\"%{searchTerm}\\"","Search":"Suchen","Showing up to %{searchLimit} results":"Zeige bis zu %{searchLimit} Ergebnisse","Found %{totalResults}, showing the %{itemCount} best matching results":"%{totalResults} Ergebnisse gefunden, zeige die %{itemCount} besten passenden Treffer","Permanent link":"Permanenter Link","Permanent link copied":"Permanenter Link kopiert","The permanent link has been copied to your clipboard.":"Der permanente Link wurde in die Zwischenablage kopiert","Copy the link to point your team to this item. Works only for people with existing access.":"Link kopieren, um Ihr Team auf diese Datei zu verweisen. Der Link funktioniert nur für Personen, die bereits Zugriff haben.","Nothing shared, yet":"Noch nichts geteilt","All received shares will show up here":"Alle eingegangenen Freigaben werden hier angezeigt","No activities":"Keine Aktivitäten","Showing %{activitiesCount} activity":["Es wird %{activitiesCount} Aktivität angezeigt","Es werden %{activitiesCount} Aktivitäten angezeigt"],"Title":"Titel","Duration":"Dauer","Authors":"Autoren","Album":"Album","Genre":"Genre","Year recorded":"Aufnahmejahr","Track":"Track","Disc":"Disc","Loading details":"Lade Details","Overview of the information about the selected file":"Übersicht der Informationen für die ausgewählte Datei","Deleted at":"Gelöscht am","Last modified":"Zuletzt bearbeitet","Locked via":"Gesperrt durch","Shared via":"Geteilt durch","Shared by":"Geteilt von","Owner":"Besitzer/-in","(me)":"(ich)","Size":"Größe","Version":"Version","No information to display":"Keine Informationen anzeigbar.","Navigate to '%{folder}'":"Zu '%{folder}' navigieren","This folder has been shared.":"Dieser Ordner wurde geteilt.","This file has been shared.":"Diese Datei wurde geteilt.","See all versions":"Alle Versionen anzeigen","Overview of the information about the selected files":"Überblick der Informationen zu den ausgewählten Dateien","Folders":"Ordner","Spaces":"Spaces","%{ itemCount } item selected":["%{ itemCount } Datei ausgewählt","%{ itemCount } Elemente ausgewählt"],"Deselect %{label}":"%{label} abwählen","Enter text to create a Tag":"Text eingeben, um einen Tag zu erzeugen","Tag must not consist of blanks only":"Tag darf nicht nur aus Leerzeichen bestehen.","Failed to edit tags":"Tags konnten nicht bearbeitet werden","Search for tag %{tag}":"Suche nach Tag %{tag}","Dimensions":"Abmessungen","Device make":"Marke","Device model":"Gerätemodell","Focal length":"Brennweite","F number":"Blende","Exposure time":"Belichtungsdauer","ISO":"ISO","Orientation":"Ausrichtung","Taken time":"Aufnahmedatum","Location":"Ort","The location has been copied to your clipboard.":"Der Ort wurde in die Zwischenablage kopiert.","Copy location to clipboard":"Ort in die Zwischenablage kopieren","Select a file or folder to view details":"Bitte wählen Sie eine Datei, um Details anzuzeigen","Open context menu with share editing options":"Kontextmenü öffnen, um Freigabeoptionen zu ändern","Edit share":"Freigabe bearbeiten","Access details":"Zugriffdetails","Resource is temporarily locked, unable to manage share":"Die Ressource ist vorübergehend gesperrt und kann die Freigabe nicht verwalten","Navigate to parent":"Zum übergeordneten Ordner wechseln","Remove member":"Mitglied entfernen","Remove share":"Freigabe entfernen","Edit expiration date":"Ablaufdatum bearbeiten","Set expiration date":"Ablaufdatum setzen","Remove expiration date":"Entferne Ablaufdatum","Notify via mail":"Per E-Mail benachrichtigen","Context menu of the share":"Kontextmenü der Freigabe","Account type":"Art des Kontos","Loading users and groups":"Lade Benutzer und Gruppen","Share type":"Freigabetyp","Show more actions":"Mehr Aktionen anzeigen","Share options":"Freigabeoptionen","Share":"Teilen","Person was added":"Person hinzugefügt","Share was added successfully":"Freigabe wurde erfolgreich hinzugefügt.","Failed to add share for \\"%{displayName}\\"":"Hinzufügen der Freigabe für \\"%{displayName}\\" fehlgeschlagen","Internal":"Intern","Internal users":"Interne Benutzer","External":"Extern","External users":"Externe Benutzer","No external users found.":"Keine externen Benutzer gefunden.","No users or groups found.":"Keine Personen oder Gruppen gefunden.","Deselect %{name}":"Auswahl für %{name} aufheben","Group":"Gruppe","Guest user":"Gastnutzer/-in","External user":"Externer Benutzer","User":"Person","External user, registered with another organization’s account but granted access to your resources. External users can only have “view” or “edit” permission.":"Externe Person, die mit einem Konto einer anderen Organisation registriert ist, aber Zugriff auf Ihre Ressourcen hat. Externe Personen können nur die Berechtigung „Kann anzeigen“ oder „Kann bearbeiten“ haben.","Send a reminder":"Erinnerung verschicken","Send":"Verschicken","Are you sure you want to send a reminder about this share?":"Soll wirklich eine Erinnerung wegen dieser Freigabe verschickt werden?","Shared via the parent folder \\"%{sharedParentDir}\\"":"Geteilt über den übergeordneten Ordner \\"%{sharedParentDir}\\"","%{collaboratorName} (me)":"%{collaboratorName} (Ich)","Share receiver name: %{ displayName }":"Freigabe für: %{ displayName }","Name":"Name","Access expires":"Freigabe läuft ab","no":"nein","Shared on":"Geteilt am","Invited by":"Eingeladen von","Failed to apply new permissions":"Fehler beim Setzen der Berechtigungen","Failed to apply expiration date":"Fehler beim Anwenden des Ablaufdatums","Share successfully changed":"Freigabe erfolgreich geändert","Error while editing the share.":"Fehler beim Bearbeiten der Freigabe.","Select permission":"Berechtigung auswählen","Edit permission":"Berechtigungen bearbeiten","Custom permissions":"Benutzerdefinierte Berechtigungen","Role":"Rolle","Select role for the invitation":"Rolle für Freigabe-Einladung auswählen","Dear user, please replace this legacy role with one of the currently available roles":"Sehr geehrter Benutzer, bitte ersetzen Sie diese veraltete Rolle durch eine der derzeit verfügbaren Rollen","Expires %{timeToExpiry} (%{expiryDate})":"Läuft %{timeToExpiry} ab (%{expiryDate})","Share expires %{ expiryDateRelative } (%{ expiryDate })":"Freigabe läuft ab %{ expiryDateRelative } (%{ expiryDate })","Public links":"Öffentliche Links","Add link":"Link hinzufügen","You do not have permission to create public links.":"Keine Berechtigung öffentliche Links zu erstellen.","This space has no public links.":"Dieser Space ist nicht öffentlich geteilt.","This folder has no public link.":"Dieser Ordner ist nicht öffentlich geteilt.","This file has no public link.":"Die Datei ist nicht öffentlich geteilt.","Show":"Anzeigen","Hide":"Ausblenden","Indirect (%{ count })":"Indirekt (%{ count })","Delete link":"Link löschen","Are you sure you want to delete this link? Recreating the same link again is not possible.":"Soll der ausgewählte Link wirklich gelöscht werden? Derselbe Link kann danach nicht wieder erzeugt werden.","Delete":"Löschen","Link was deleted successfully":"Der Link wurde erfolgreich gelöscht.","Failed to delete link":"Fehler beim Löschen des Links","Share with people":"Mit Personen teilen","Share receivers":"Empfänger/-in der Freigabe","Shared with":"Geteilt mit","Space members":"Space-Mitglieder","You don't have permission to share this file.":"Sie haben keine Berechtigung diese Datei zu teilen.","You don't have permission to share this folder.":"Sie haben keine Berechtigung diesen Ordner zu teilen.","Remove":"Entfernen","Are you sure you want to remove this share?":"Soll die Freigabe wirklich entfernt werden?","Share was removed successfully":"Freigabe wurde erfolgreich entfernt.","Failed to remove share":"Fehler beim Löschen der Freigabe","Copy link to clipboard":"Link in die Zwischenablage kopieren","The link has been copied to your clipboard.":"Der Link wurde in die Zwischenablage kopiert.","The link \\"%{linkName}\\" has been copied to your clipboard.":"Der Link \\"%{linkName}\\" wurde in die Zwischenablage kopiert.","More options":"Weitere Optionen","Edit public link":"Öffentlichen Link bearbeiten","Edit name":"Namen bearbeiten","Link name":"Link-Name","Link name cannot be empty":"Der Linkname darf nicht leer sein","Link name cannot exceed 255 characters":"Der Space-Name darf nicht länger als 255 Zeichen sein.","Rename":"Umbenennen","Edit password":"Passwort bearbeiten","Remove password":"Entferne Passwort","Add password":"Passwort setzen","This link is password-protected":"Dieser Link ist passwortgeschützt.","Loading list of shares":"Lade die Liste der Freigaben.","Add members":"Mitglieder hinzufügen","Add":"Hinzufügen","Members":"Mitglieder","Filter members":"Mitglieder filtern","Close filter":"Filter schließen","Are you sure you want to remove this member?":"Soll dieses Mitglied wirklich entfernt werden?","Select a trash bin to view details":"Wählen Sie einen Papierkorb aus, um Details anzuzeigen","Restore":"Wiederherstellen","Download":"Herunterladen","No versions available for this file":"Für diese File sind keine Versionen vorhanden","Loading actions":"Lade Aktionen","Edit image":"Bild bearbeiten","Space image is loading":"Space-Bild lädt","Show context menu":"Kontextmenü anzeigen","Open context menu and show members":"Kontextmenü öffnen und Mitglieder anzeigen","Loading members":"Lade Mitglieder","Space description is loading":"Space-Beschreibung lädt","%{count} member":["%{count} Mitglied","%{count} Mitglieder"],"Crop image for »%{space}«":"Bild für »%{space}« zuschneiden","Confirm":"Bestätigen","Set image":"Bild setzen","Details":"Details","Image Info":"Bild-Informationen","Audio Info":"Audio-Informationen","Actions":"Aktionen","Shares":"Freigaben","Versions":"Versionen","Activities":"Aktivitäten","Condensed table view":"Verdichtete Tabellenansicht","Default table view":"Normale Tabellenansicht","Tiles view":"Kachelansicht","Personal":"Persönlich","Insufficient quota":"Kontingent nicht ausreichend","Insufficient quota on %{spaceName}. You need additional %{missingSpace} to upload these files":"Quota bei %{spaceName} nicht ausreichend. Sie brauchen zusätzlich %{missingSpace} um diese Dateien hochzuladen","Use the input field to search for users and groups. Select them to share the item.":"Benutzen Sie das Eingabefeld, um nach Personen und Gruppen zu suchen.","Subfolders":"Unterordner","If you share a folder, all of its contents and subfolders will be shared as well.":"Wenn Sie einen Ordner teilen, werden alle seine Inhalte und Unterordner ebenfalls geteilt.","Notification":"Benachrichtigung","People you share resources with will be notified via email or in-app notification.":"Personen, mit denen Sie Ressourcen teilen, werden darüber per E-Mail oder App benachrichtigt.","Incognito":"Inkognito","People you share resources with can not see who else has access.":"Je nach gewählter Rolle ist potenziell ersichtlich, wer noch Zugriff hat.","“via folder”":"Übergeordneter Ordner","The “via folder” is shown next to a share, if access has already been given via a parent folder. Click on the “via folder” to edit the share on its parent folder.":"Ein Ordnersymbol wird neben einer Freigabe angezeigt, wenn die Freigabe bereits über einen übergeordneten Ordner erteilt wurde. Über das Kontextmenü und Klick auf \\"Zum übergeordneten Ordner wechseln\\" kann die Freigabe bearbeitet werden.","Search for service or secondary Account":"Suche nach Dienst oder Zweitkonto","To search for service or secondary accounts prefix the username with \\"a:\\" (like \\"a:doe\\") and for guest accounts prefix the username with \\"l:\\" (like \\"l:doe\\").":"Für die Suche nach Service- oder Zweitaccounts muss ein „a:“ (Beispielsweise „a:Martina“) vor den Nutzernamen hinzugefügt werden, für Gastaccounts ein „l:“ (Beispielsweise „l:Max“).","Add members to this Space":"Mitglieder zu diesem Space hinzufügen","Enter a name to add people or groups as members to this Space.":"Geben Sie einen Namen ein, um Personen oder Gruppen als Mitglieder zu diesem Space hinzuzufügen.","Member capabilities":"Berechtigungen für Mitglieder","Members are able to see who has access to this space and access all files in this space. Read or write permissions can be set by assigning a role.":"Mitglieder können sehen, wer Zugriff auf diesen Space und alle darin enthaltenen Datein hat. Lese- und Schreibberechtigungen können mittels Rollen zugewiesen werden.","Space manager capabilities":"Berechtigungen für Space-Verwalter/-innen","Members with the Manager role are able to edit all properties and content of a Space, such as adding or removing members, sharing subfolders with non-members, or creating links to share.":"Mitglieder mit der Rolle Management können alle Eigenschaften und Inhalte eines Spaces bearbeiten. Zum Beispiel können sie Personen hinzufügen oder entfernen, Unterordner mit Personen teilen, die nicht zum Space gehören, oder Freigabe-Links erstellen.","Choose how access is granted":"Bitte auswählen, wie der Zugriff erteilt wird","No login required. Everyone with the link can access. If you share this link with people from the list \\"Invited people\\", they need to login so that their individual assigned permissions can take effect. If they are not logged-in, the permissions of the link take effect.":"Keine Anmeldung erforderlich. Alle, die den Link kennen, können zugreifen. Wenn Sie diesen Link mit Personen aus der Liste „Eingeladene Personen“ teilen, müssen sich diese anmelden, damit ihre individuell zugewiesenen Berechtigungen wirksam sind. Wenn Sie sich nicht einloggen, verfügen Sie nur über die Berechtigungen des Links.","What are indirect links?":"Was sind indirekte Links?","Indirect links are links giving access by a parent folder.":"Indirekte Links sind Links, die den Zugriff durch einen übergeordneten Ordner ermöglichen.","How to edit indirect links":"Bearbeiten von indirekten Links","Indirect links can only be edited in their parent folder. Click on the folder icon below the link to navigate to the parent folder.":"Indirekte Links können nur in ihrem übergeordneten Ordner bearbeitet werden. Über das Kontextmenü und Klick auf \\"Zum übergeordneten Ordner wechseln\\" kann die Freigabe bearbeitet werden. ","Who can view tags?":"Wer kann Tags sehen?","Everyone who can view the file can view its tags. Likewise, everyone who can edit the file can edit its tags.":"Wer die Datei sehen kann, sieht auch die Tags. Ebenso können alle, die die Datei bearbeiten können, auch die Schlagworte ändern.","Folder already exists":"Der Ordner existiert bereits.","File already exists":"Die Datei existiert bereits.","Merge":"Zusammenführen","Replace":"Ersetzen","Favorites":"Favoriten","Deleted files":"Gelöschte Dateien","There are no resources marked as favorite":"Keine Elemente als Favoriten ausgewählt","Drop files here to upload or click to select file":"Dateien hierher ziehen oder klicken, um die Dateiauswahl zu öffnen.","An error occurred while loading the public link":"Beim Laden des öffentlichen Links ist ein Fehler aufgetreten.","Note: Transfer of nested folder structures is not possible. Instead, all files from the subfolders will be uploaded individually.":"Hinweis: Die Übertragung von verschachtelten Ordnerstrukturen ist nicht möglich. Stattdessen werden alle Dateien aus den Unterordnern einzeln hochgeladen.","%{owner} shared this folder with you for uploading":"%{owner} hat diesen Ordner zum Upload geteilt.","All your links will show up here":"Alle Ihre Links werden hier angezeigt","Share Type":"Freigabentyp","Filter share types":"Nach dem Typ der Freigabe filtern","Shared By":"Geteilt von","Filter shared by":"Nach Personen und Gruppen filtern","Hidden Shares":"Ausgeblendete Freigaben","Anything you shared will show up here":"Alles, was Sie geteilt haben, wird hier angezeigt","No files found":"Keine Dateien gefunden","OCM share":"Externe Freigabe","Public files":"Öffentliche Dateien","Public link":"Öffentlicher Link","This folder contains %{ amount } item.":["Der Ordner enthält %{ amount } Datei.","Der Ordner enthält %{ amount } Dateien."],"This folder has no content.":"Dieser Ordner ist leer.","Drag files and folders here or use the \\"New\\" button to add files":"Ziehen Sie Dateien und Ordner hierher oder verwenden Sie die Schaltfläche „Neu“, um Dateien hinzuzufügen","This trash bin is empty":"Dieser Papierkorb ist leer.","All deleted files and folders of this space will show up here":"Alle gelöschten Dateien und Ordner dieses Spaces werden hier angezeigt","Learn about spaces":"Mehr über Spaces herausfinden","No spaces found":"Keine Spaces gefunden","Unrestricted":"Uneingeschränkt","%{spaceCount} space in total":["%{spaceCount} Space insgesamt","%{spaceCount} Spaces insgesamt"],"%{spaceCount} space in total (including %{disabledSpaceCount} disabled)":["%{spaceCount} Space insgesamt (einschließlich %{disabledSpaceCount} deaktivierter Spaces)","%{spaceCount} Spaces insgesamt (einschließlich %{disabledSpaceCount} deaktivierter Spaces)"],"%{spaceCount} matching spaces":"%{spaceCount} Suchergebnisse","Spaces are special folders for making files accessible to a team.":"Spaces sind besondere Ordner, in denen Dateien für ein Team gespeichert werden.","Spaces belong to a team and not to a single person. Even if members are removed, the files remain in the Space so that the team can continue to work on the files.":"Spaces gehören einem Team, nicht einer einzelnen Person. Auch wenn Mitglieder entfernt werden, bleiben die Dateien im Space, damit das Team weiter daran arbeiten kann.","Members with the Manager role can add or remove other members from the Space.":"Mitglieder mit der Rolle \\"Kann verwalten\\" können andere Mitglieder hinzufügen oder entfernen.","A Space can have multiple Managers. Each Space has at least one Manager.":"Ein Space kann mehrere Mitglieder mit der Rolle \\"Kann verwalten\\" haben. Jeder Space hat mindestens ein Mitglied mit dieser Rolle.","Show members":"Mitglieder anzeigen","Use the \\"New\\" button to create a space or ask an Administrator to do so":"Verwenden Sie die Schaltfläche „Neu“, um einen Space zu erstellen, oder bitten Sie einen Administrator, dies zu tun","You don't have access to any trashbins":"Sie haben aktuell keinen Zugriff auf Papierkörbe","No trash bins found":"Keine Papierkörbe gefunden","%{spaceCount} trash bin in total":["%{spaceCount} Papierkorb insgesamt","%{spaceCount} Papierkörbe insgesamt"],"%{spaceCount} trash bin in total (including %{emptyTrashCount} empty)":["%{spaceCount} Papierkorb insgesamt (davon %{emptyTrashCount} leer)","%{spaceCount} Papierkörbe insgesamt (davon %{emptyTrashCount} leer)"],"%{spaceCount} matching trash bin":["%{spaceCount} Suchergebnisse im Papierkorb","%{spaceCount} Suchergebnisse im Papierkorb"]}`),Oc=JSON.parse(`{"Paste here":"Coller ici","Clear clipboard":"Effacer le presse-papiers","You have no permission to paste files here.":"Vous n'êtes pas autorisé à coller des fichiers ici.","You cannot cut and paste resources into the same folder.":"Vous ne pouvez pas copier et coller des ressources dans le même dossier.","Shares pages navigation":"Partage la navigation des pages","Navigation":"Navigation","Shared with me":"Partagé avec moi","Shared with others":"Partagé avec d'autres","Shared via link":"Partagé via un lien","Please wait until all imports have finished":"Veuillez patienter jusqu'à ce que toutes les importations soient terminées","Folder":"Dossier","Files":"Fichiers","New":"Nouveau","Shortcut":"Raccourci","File name":"Nom du fichier","Cancel":"Annuler","Share link(s)":"Partager le(s) lien(s)","Save":"Sauvegarder","Choose":"Choisir","Attach as copy":"Joindre une copie","Show more":"Afficher plus","Show less":"Afficher moins","Resource not found":"Ressource introuvable","We went looking everywhere, but were unable to find the selected resource.":"Nous avons cherché partout, mais nous n'avons pas pu trouver la ressource sélectionnée.","Go to »Spaces Overview«":"Aller à « Aperçu des Espaces »","Go to »Personal« page":"Accéder à la page « Personnel »","Reload public link":"Recharger le lien public","Password":"Mot de passe","Link was updated successfully":"Le lien a été mis à jour avec succès","Failed to update link":"Échec de la mise à jour du lien","Type":"Type","Tags":"Tags","Filter tags":"Filtrer les tags","Last Modified":"Dernière modification","Title only":"Titre uniquement","No results found":"Aucun résultat trouvé","Search for files":"Rechercher des fichiers","today":"aujourd'hui","yesterday":"hier","this week":"cette semaine","last week":"la semaine dernière","last 7 days":"7 derniers jours","this month":"ce mois-ci","last month":"le mois dernier","last 30 days":"30 derniers jours","this year":"cette année","last year":"l'année dernière","File":"Fichier","Document":"Document","Spreadsheet":"Tableur","Presentation":"Présentation","PDF":"PDF","Image":"Image","Video":"Vidéo","Audio":"Audio","Archive":"Archives","Search results for \\"%{searchTerm}\\"":"Résultats de recherche pour « %{searchTerm} »","Search":"Recherche","Showing up to %{searchLimit} results":"Afficher jusqu'à %{searchLimit} des résultats","Found %{totalResults}, showing the %{itemCount} best matching results":"%{totalResults} trouvé, afficher les %{itemCount} meilleurs résultats correspondants","Permanent link":"Lien permanent","Permanent link copied":"Copie du lien permanent","The permanent link has been copied to your clipboard.":"Le lien permanent a été copié dans votre presse-papiers.","Copy the link to point your team to this item. Works only for people with existing access.":"Copiez le lien pour diriger votre équipe vers cet article. Ne fonctionne que pour les personnes ayant déjà un accès.","No activities":"Aucune activité","Showing %{activitiesCount} activity":["Afficher %{activitiesCount} activité","Afficher %{activitiesCount} activités","Afficher %{activitiesCount} activités"],"Title":"Titre","Duration":"Durée","Authors":"Auteurs","Album":"Album","Genre":"Genre","Year recorded":"Année d'enregistrement","Track":"Piste","Disc":"Disque","Loading details":"Chargement des détails","Overview of the information about the selected file":"Vue d'ensemble des informations sur le fichier sélectionné","Deleted at":"Supprimé à","Last modified":"Dernière modification","Locked via":"Verrouillé via","Shared via":"Partagé via","Shared by":"Partagé par","Owner":"Propriétaire","(me)":"(moi)","Size":"Taille","Version":"Version","No information to display":"Aucune information à afficher","Navigate to '%{folder}'":"Accéder à '%{folder}'","This folder has been shared.":"Ce dossier a été partagé.","This file has been shared.":"Ce fichier a été partagé.","See all versions":"Voir toutes les versions","Overview of the information about the selected files":"Vue d'ensemble des informations sur les fichiers sélectionnés","Folders":"Dossiers","Spaces":"Espaces","%{ itemCount } item selected":["%{ itemCount } élément sélectionné","%{ itemCount } éléments sélectionnés","%{ itemCount } éléments sélectionnés"],"Deselect %{label}":"Désélectionner %{label}","Enter text to create a Tag":"Saisir du texte pour créer une étiquette","Tag must not consist of blanks only":"L'étiquette ne doit pas être constituée uniquement de blancs","Failed to edit tags":"Échec de l'édition des balises","Search for tag %{tag}":"Recherche du tag %{tag}","Dimensions":"Dimensions","Device make":"Marque de l'appareil","Device model":"Modèle d'appareil","Focal length":"Distance focale","F number":"Numéro F","Exposure time":"Temps d'exposition","ISO":"ISO","Orientation":"Orientation","Taken time":"Temps pris","Location":"Localisation","The location has been copied to your clipboard.":"L'emplacement a été copié dans le presse-papiers.","Copy location to clipboard":"Copier l'emplacement dans le presse-papiers","Select a file or folder to view details":"Sélectionnez un fichier ou un dossier pour afficher les détails","Open context menu with share editing options":"Ouvrir un menu contextuel avec des options d'édition de partage","Edit share":"Modifier le partage","Access details":"Détails d'accès","Resource is temporarily locked, unable to manage share":"La ressource est temporairement verrouillée, impossible de gérer le partage","Navigate to parent":"Accéder au dossier parent","Remove member":"Supprimer un membre","Remove share":"Supprimer le partage","Edit expiration date":"Modifier la date d'expiration","Set expiration date":"Définir la date d'expiration","Remove expiration date":"Supprimer la date d'expiration","Notify via mail":"Notifier par e-mail","Context menu of the share":"Menu contextuel du partage","Account type":"Type de compte","Loading users and groups":"Chargement des utilisateurs et des groupes","Share type":"Type de partage","Show more actions":"Afficher plus d'actions","Share options":"Partage des options","Share":"Partager","Person was added":"Une personne a été ajoutée","Share was added successfully":"Le partage a été ajouté avec succès","Failed to add share for \\"%{displayName}\\"":"Échec de l'ajout d'un partage pour « %{displayName} »","Internal":"Interne","Internal users":"Utilisateurs internes","External":"Externe","External users":"Utilisateurs externe","No external users found.":"Aucun utilisateur externe n'a été trouvé.","No users or groups found.":"Aucun utilisateur ou groupe n'a été trouvé.","Deselect %{name}":"Désélectionner %{name}","Group":"Groupe","Guest user":"Utilisateur invité","External user":"Utilisateur externe","User":"Utilisateur","External user, registered with another organization’s account but granted access to your resources. External users can only have “view” or “edit” permission.":"Utilisateur externe, inscrit sur le compte d'une autre organisation mais ayant accès à vos ressources. Les utilisateurs externes ne peuvent avoir que l'autorisation de « voir » ou de « modifier ».","Send a reminder":"Envoyer un rappel","Send":"Envoyer","Are you sure you want to send a reminder about this share?":"Êtes-vous sûr de vouloir envoyer un rappel concernant ce partage ?","Shared via the parent folder \\"%{sharedParentDir}\\"":"Partagé via le dossier parent \\"%{sharedParentDir}\\"","%{collaboratorName} (me)":"%{collaboratorName} (moi)","Share receiver name: %{ displayName }":"Nom du destinataire de l'action : %{ displayName }","Name":"Nom","Access expires":"Accès expiré","no":"non","Shared on":"Partagé sur","Invited by":"Invité par","Failed to apply new permissions":"Échec de l'application des nouvelles autorisations","Failed to apply expiration date":"La date d'expiration n'a pas été appliquée","Share successfully changed":"Le partage a été modifié avec succès","Error while editing the share.":"Erreur lors de l'édition du partage.","Select permission":"Sélectionner une permission","Edit permission":"Modifier la permission","Custom permissions":"Autorisations personnalisées","Role":"Rôle","Select role for the invitation":"Sélectionner le rôle pour l'invitation","Dear user, please replace this legacy role with one of the currently available roles":"Cher utilisateur, veuillez remplacer ce rôle hérité par l'un des rôles actuellement disponibles.","Expires %{timeToExpiry} (%{expiryDate})":"Expire %{timeToExpiry} (%{expiryDate})","Share expires %{ expiryDateRelative } (%{ expiryDate })":"L'action expire %{ expiryDateRelative } (%{ expiryDate })","Public links":"Liens publics","Add link":"Ajouter un lien","You do not have permission to create public links.":"Vous n'êtes pas autorisé à créer des liens publics.","This space has no public links.":"Cet espace n'a pas de liens publics.","This folder has no public link.":"Ce dossier n'a pas de lien public.","This file has no public link.":"Ce fichier n'a pas de lien public.","Show":"Afficher","Hide":"Masquer","Indirect (%{ count })":"Indirect (%{ count })","Delete link":"Supprimer le lien","Are you sure you want to delete this link? Recreating the same link again is not possible.":"Êtes-vous sûr de vouloir supprimer ce lien ? Il n'est pas possible de recréer le même lien.","Delete":"Supprimer","Link was deleted successfully":"Le lien a été supprimé avec succès","Failed to delete link":"Échec de la suppression du lien","Share with people":"Partager avec les autres","Share receivers":"Receveurs de partage","Shared with":"Partagé avec","Space members":"Membres de l'Espace","You don't have permission to share this file.":"Vous n'avez pas l'autorisation de partager ce fichier.","You don't have permission to share this folder.":"Vous n'avez pas l'autorisation de partager ce dossier.","Remove":"Supprimer","Are you sure you want to remove this share?":"Êtes-vous sûr de vouloir supprimer ce partage ?","Share was removed successfully":"Le partage a été supprimé avec succès","Failed to remove share":"Échec de la suppression du partage","Copy link to clipboard":"Copier le lien dans le presse-papiers","The link has been copied to your clipboard.":"Le lien a été copié dans votre presse-papiers.","The link \\"%{linkName}\\" has been copied to your clipboard.":"Le lien \\"%{linkName}\\" a été copié dans votre presse-papiers.","More options":"Plus d'options","Edit public link":"Modifier le lien public","Edit name":"Modifier le nom","Link name":"Nom du lien","Link name cannot be empty":"Le nom du lien ne peut pas être vide","Link name cannot exceed 255 characters":"Le nom du lien ne peut pas dépasser 255 caractères","Rename":"Renommer","Edit password":"Modifier le mot de passe","Remove password":"Supprimer le mot de passe","Add password":"Ajouter un mot de passe","This link is password-protected":"Ce lien est protégé par un mot de passe","Loading list of shares":"Chargement de la liste des actions","Add members":"Ajouter des membres","Add":"Ajouter","Members":"Membres","Filter members":"Filtrer les membres","Close filter":"Fermer le filtre","Are you sure you want to remove this member?":"Êtes-vous sûr de vouloir supprimer ce membre ?","Select a trash bin to view details":" Sélectionnez une corbeille pour afficher les détails","Restore":"Restaurer","Download":"Télécharger","No versions available for this file":"Aucune version disponible pour ce fichier","Loading actions":"Chargement des actions","Edit image":"Modifier l'image","Space image is loading":"L'image de l'Espace se charge","Show context menu":"Afficher le menu contextuel","Open context menu and show members":"Ouvrir le menu contextuel et afficher les membres","Loading members":"Chargement des membres","Space description is loading":"La description de l'Espace se charge","%{count} member":["%{count} membre","%{count} membres","%{count} membres"],"Crop image for »%{space}«":"Rogner l’image pour «%{space}»","Confirm":"Confirmer","Set image":"Définir l’image","Details":"Détails","Image Info":"Information sur l'image","Audio Info":"Info audio","Actions":"Actions","Shares":"Partages","Versions":"Versions","Activities":"Activités","Condensed table view":"Affichage condensé du tableau","Default table view":"Affichage du tableau par défaut","Tiles view":"Vue mosaïque","Personal":"Personnel","Insufficient quota":"Quota insuffisant","Insufficient quota on %{spaceName}. You need additional %{missingSpace} to upload these files":"Quota insuffisant sur %{spaceName}. Vous avez besoin de %{missingSpace} supplémentaire pour télécharger ces fichiers.","Use the input field to search for users and groups. Select them to share the item.":"Utilisez le champ de saisie pour rechercher des utilisateurs et des groupes. Sélectionnez-les pour partager l'élément.","Subfolders":"Sous-dossiers","If you share a folder, all of its contents and subfolders will be shared as well.":"Si vous partagez un dossier, tout son contenu et ses sous-dossiers seront également partagés.","Notification":"Notification","People you share resources with will be notified via email or in-app notification.":"Les personnes avec lesquelles vous partagez des ressources en seront informées par courriel ou par notification dans l'application.","Incognito":"Incognito","People you share resources with can not see who else has access.":"Les personnes avec lesquelles vous partagez des ressources ne peuvent pas voir qui d'autre y a accès.","“via folder”":"« via le dossier »","The “via folder” is shown next to a share, if access has already been given via a parent folder. Click on the “via folder” to edit the share on its parent folder.":"La mention « via dossier » apparaît à côté d'un partage, si l'accès a déjà été donné via un dossier parent. Cliquez sur le « via folder » pour modifier le partage dans son dossier parent.","Search for service or secondary Account":"Recherche d'un service ou d'un compte secondaire","To search for service or secondary accounts prefix the username with \\"a:\\" (like \\"a:doe\\") and for guest accounts prefix the username with \\"l:\\" (like \\"l:doe\\").":"Pour rechercher les comptes de service ou secondaires, préfixez le nom d'utilisateur par \\"a:\\" (comme \\"a:doe\\") et pour les comptes invités, préfixez le nom d'utilisateur par \\"l:\\" (comme \\"l:doe\\").","Add members to this Space":"Ajouter des membres à cet Espace","Enter a name to add people or groups as members to this Space.":"Entrez un nom pour ajouter des personnes ou des groupes en tant que membres de cet Espace.","Member capabilities":"Capacités des membres","Members are able to see who has access to this space and access all files in this space. Read or write permissions can be set by assigning a role.":"Les membres peuvent voir qui a accès à cet espace et accéder à tous les fichiers qui s'y trouvent. Les autorisations de lecture ou d'écriture peuvent être définies en attribuant un rôle.","Space manager capabilities":"Capacités du gestionnaire de l'Espace","Members with the Manager role are able to edit all properties and content of a Space, such as adding or removing members, sharing subfolders with non-members, or creating links to share.":"Les membres ayant le rôle de gestionnaire peuvent modifier toutes les propriétés et le contenu d'un espace, comme l'ajout ou la suppression de membres, le partage de sous-dossiers avec des non-membres ou la création de liens à partager.","Choose how access is granted":"Choisir les modalités d'accès","No login required. Everyone with the link can access. If you share this link with people from the list \\"Invited people\\", they need to login so that their individual assigned permissions can take effect. If they are not logged-in, the permissions of the link take effect.":"Aucune connexion n'est requise. Toutes les personnes disposant du lien peuvent y accéder. Si vous partagez ce lien avec des personnes figurant dans la liste « Personnes invitées », celles-ci doivent se connecter pour que les autorisations qui leur ont été attribuées prennent effet. Si elles ne sont pas connectées, les autorisations du lien prennent effet.","What are indirect links?":"Qu'est-ce qu'un lien indirect ?","Indirect links are links giving access by a parent folder.":"Les liens indirects sont des liens donnant accès à un dossier parent.","How to edit indirect links":"Comment modifier les liens indirects","Indirect links can only be edited in their parent folder. Click on the folder icon below the link to navigate to the parent folder.":"Les liens indirects ne peuvent être modifiés que dans leur dossier parent. Cliquez sur l'icône de dossier sous le lien pour naviguer vers le dossier parent.","Who can view tags?":"Qui peut voir les étiquettes ?","Everyone who can view the file can view its tags. Likewise, everyone who can edit the file can edit its tags.":"Toutes les personnes qui peuvent consulter le fichier peuvent voir ses balises. De même, toutes les personnes qui peuvent modifier le fichier peuvent modifier ses balises.","Folder already exists":"Le dossier existe déjà","File already exists":"Le fichier existe déjà","Merge":"Fusionner","Replace":"Remplacer","Favorites":"Favoris","Deleted files":"Fichiers supprimés","There are no resources marked as favorite":"Il n'y a pas de ressources marquées comme favorites","Drop files here to upload or click to select file":"Déposez les fichiers ici pour les téléverser ou cliquez pour sélectionner le fichier.","An error occurred while loading the public link":"Une erreur s'est produite lors du chargement du lien public","Note: Transfer of nested folder structures is not possible. Instead, all files from the subfolders will be uploaded individually.":"Remarque : le transfert de structures de dossiers imbriqués n'est pas possible. Au lieu de cela, tous les fichiers des sous-dossiers seront téléchargés individuellement.","%{owner} shared this folder with you for uploading":"%{owner} a partagé ce dossier avec vous pour le télécharger","Share Type":"Type de partage","Filter share types":"Filtrer les types d'action","Shared By":"Partagé par","Filter shared by":"Filtrer partagé par","Hidden Shares":"Partages masqués","OCM share":"Partage OCM","Public files":"Fichiers publics","Public link":"Lien public","This folder contains %{ amount } item.":["Ce dossier contient %{ amount } d'élément.","Ce dossier contient %{ amount } d'éléments.","Ce dossier contient %{ amount } d'éléments."],"This folder has no content.":"Ce dossier n'a aucun contenu.","This trash bin is empty":"Cette poubelle est vide","Learn about spaces":"Découvrir les Espaces","Unrestricted":"Libre","%{spaceCount} space in total":["%{spaceCount} espace","%{spaceCount} espaces au total","%{spaceCount} espaces au total"],"%{spaceCount} space in total (including %{disabledSpaceCount} disabled)":["%{spaceCount} Espace (y compris %{disabledSpaceCount} Espace désactivé)","%{spaceCount} Espaces au total (y compris %{disabledSpaceCount} Espaces désactivés)","%{spaceCount} Espaces au total (y compris %{disabledSpaceCount} Espaces désactivés)"],"%{spaceCount} matching spaces":"%{spaceCount} espaces correspondants","Spaces are special folders for making files accessible to a team.":"Les Espaces sont des dossiers spéciaux permettant de rendre les fichiers accessibles à une équipe.","Spaces belong to a team and not to a single person. Even if members are removed, the files remain in the Space so that the team can continue to work on the files.":"Les Espaces appartiennent à une équipe et non à une seule personne. Même si des membres sont retirés, les fichiers restent dans l'espace afin que l'équipe puisse continuer à travailler sur les fichiers.","Members with the Manager role can add or remove other members from the Space.":"Les membres ayant le rôle de gestionnaire peuvent ajouter ou supprimer d'autres membres de l'espace.","A Space can have multiple Managers. Each Space has at least one Manager.":"Un Espace peut avoir plusieurs gestionnaires. Chaque Espace a au moins un gestionnaire.","Show members":"Afficher le membres","You don't have access to any trashbins":"Vous n'avez pas accès à des poubelles","%{spaceCount} trash bin in total":["%{spaceCount} corbeille au total","%{spaceCount} corbeilles au total","%{spaceCount} corbeilles au total"],"%{spaceCount} trash bin in total (including %{emptyTrashCount} empty)":["%{spaceCount} corbeille au total (dont %{emptyTrashCount} vide)","%{spaceCount} corbeilles au total (dont %{emptyTrashCount} vides)","%{spaceCount} corbeilles au total (dont %{emptyTrashCount} vides)"],"%{spaceCount} matching trash bin":["%{spaceCount} corbeille correspondante","%{spaceCount} corbeilles correspondantes","%{spaceCount} corbeilles correspondantes"]}`),Vc={"Shared with me":"שיתף איתי","File name":"שם הקובץ",Cancel:"ביטול","Share link(s)":"לינק(ים) חילוץ",Save:"שמור",Password:"סיסמה",Tags:"טגים","Shared by":"נשלח על ידי",Size:"גודל",Spaces:"מרוצים","Search for tag %{tag}":"חפש את התג %{tag}",Location:"מיקום",Share:"חלוקת","%{collaboratorName} (me)":"%{collaboratorName} (אני)",Name:"שם","Shared on":"שיתף",Role:"רול",Show:"הצג",Hide:"סתור",Delete:"מחיקה","Shared with":"שיתף עם",Remove:"הסר","The link has been copied to your clipboard.":"ההוראה לא תורגמה באופן מלא. תרגום חלקי של הפתח: **The link has been copied to your clipboard.** → **האישור הועבר לקליפבורד שלך** (הפתח %1, %2, %{item}, %{fileName} לא תורגמו כפי שנדרש).","More options":"אפשרויות נוספות",Rename:"שנה שם",Members:"חברים","Close filter":"סגור פילטר",Restore:"חזרה ליסור",Download:"העלאה","Loading actions":"מגיעות הפעולות","Space image is loading":"תמונה חלל מוכנה להעלאה","Show context menu":"הציג מENU מקונקסט",Confirm:"אשרה",Details:"תיאור",Actions:"הפעלות",Shares:"חלקות",Activities:"פעילויות",Personal:"אישי","Insufficient quota":"כמות חסרה","Folder already exists":"תיקייה קיימת כבר","File already exists":"הפילם כבר קיים",Replace:"החלף"},jc={},qc={},Uc={},Bc=JSON.parse(`{"Paste here":"Incolla qui","Clear clipboard":"Pulisci appunti","You have no permission to paste files here.":"Non hai l'autorizzazione per incollare i file qui.","You cannot cut and paste resources into the same folder.":"Non è possibile tagliare e incollare risorse nella stessa cartella.","Shares pages navigation":"Navigazione delle pagine di condivisione","Navigation":"Navigazione","Shared with me":"Condiviso con me","Shared with others":"Condiviso con altri","Shared via link":"Condiviso tramite link","Please wait until all imports have finished":"Si prega di attendere il completamento di tutte le importazioni","Folder":"Cartella","Files":"Files","New":"Nuovo","Shortcut":"Collegamento","File name":"Nome file","Cancel":"Cancella","Share link(s)":"Condividi link(s)","Save":"Salva","Choose":"Scegli","Attach as copy":"Allega come copia","Show more":"Mostra altro","Show less":"Mostra meno","Resource not found":"Risorsa non trovata","We went looking everywhere, but were unable to find the selected resource.":"Abbiamo cercato ovunque, ma non siamo riusciti a trovare la risorsa selezionata.","Go to »Spaces Overview«":"Vai a »Panoramica degli spazi«","Go to »Personal« page":"Vai alla pagina »Personale«","Reload public link":"Ricarica link pubblici","Password":"Password","Link was updated successfully":"Il collegamento è stato aggiornato con successo","Failed to update link":"Impossibile aggiornare il link","Type":"Tipo","Tags":"Etichette","Filter tags":"Filtra i tag","Last Modified":"Ultima Modifica","Title only":"Solo titolo","No results found":"Nessun risultato trovato","Search for files":"Cerca file","today":"Oggi","yesterday":"Ieri","this week":"questa settimana","last week":"settimana scorsa","last 7 days":"ultimi 7 giorni","this month":"questo memse","last month":"mese scorso","last 30 days":"ultimi 30 giorni","this year":"quest'anno","last year":"anno scorso","File":"File","Document":"Documento","Spreadsheet":"Foglio di calcolo","Presentation":"Presentazione","PDF":"PDF","Image":"Immagine","Video":"Video","Audio":"Audio","Archive":"Archivia","Search results for \\"%{searchTerm}\\"":"Risultati della ricerca per \\"%{searchTerm}\\"","Search":"Cerca","Showing up to %{searchLimit} results":"Visualizzazione di fino a %{searchLimit} risultati","Found %{totalResults}, showing the %{itemCount} best matching results":"Trovati %{totalResults}, che mostrano i %{itemCount} risultati più corrispondenti","Permanent link":"Link permanente","Permanent link copied":"Link permanente copiato","The permanent link has been copied to your clipboard.":"Il collegamento permanente è stato copiato negli appunti.","Copy the link to point your team to this item. Works only for people with existing access.":"Copia il link per indirizzare il tuo team a questo elemento. Funziona solo per chi ha già un accesso.","No activities":"Nessuna attività","Showing %{activitiesCount} activity":["Visualizzazione di %{activitiesCount} attività","Visualizzazione di %{activitiesCount} attività","Visualizzazione di %{activitiesCount} attività"],"Title":"Titolo","Duration":"Durata","Authors":"Autori","Album":"Album","Genre":"Genere","Year recorded":"Anno registrato","Track":"Traccia","Disc":"Disco","Loading details":"Caricamento dettagli","Overview of the information about the selected file":"Panoramica delle informazioni sul file selezionato","Deleted at":"Cancellato a","Last modified":"Ultima modifica","Locked via":"Bloccato tramite","Shared via":"Condiviso tramite","Shared by":"Condiviso da","Owner":"Proprietario","(me)":"(me)","Size":"Dimensioni","Version":"Versione","No information to display":"Nessuna informazione da visualizzare","Navigate to '%{folder}'":"Vai a '%{folder}'","This folder has been shared.":"Questa cartella è stata condivisa.","This file has been shared.":"Questo file è stato condiviso.","See all versions":"Visualizza tutte le versioni","Overview of the information about the selected files":"Panoramica delle informazioni sui file selezionati","Folders":"Cartelle","Spaces":"Spazi","%{ itemCount } item selected":["%{ itemCount } elementi selezionato","%{ itemCount } elementi selezionati","%{ itemCount } elementi selezionati"],"Deselect %{label}":"Deseleziona %{label}","Enter text to create a Tag":"Inserisci il testo per creare un tag","Tag must not consist of blanks only":"Il tag non deve essere composto solo da spazi vuoti","Failed to edit tags":"Impossibile modificare i tag","Search for tag %{tag}":"Cerca il tag %{tag}","Dimensions":"DImensioni","Device make":"Marca del dispositivo","Device model":"Modello del dispositivo","Focal length":"Lunghezza focale","F number":"numero F","Exposure time":"Tempo d'esposizione","ISO":"ISO","Orientation":"Orientamento","Taken time":"Tempo impiegato","Location":"Posizione","The location has been copied to your clipboard.":"La posizione è stata copiata negli appunti.","Copy location to clipboard":"Copia il percorso negli appunti","Select a file or folder to view details":"Seleziona un file o una cartella per visualizzarne i dettagli","Open context menu with share editing options":"Apri il menu contestuale con le opzioni di modifica della condivisione","Edit share":"Modifica condivisione","Access details":"Accedi ai dettagli","Resource is temporarily locked, unable to manage share":"La risorsa è temporaneamente bloccata, impossibile gestire la condivisione","Navigate to parent":"Vai alla cartella superiore","Remove member":"Rimuovi membro","Remove share":"Rimuovi condivisione","Edit expiration date":"Modifica data di scadenza","Set expiration date":"Imposta data di scadenza","Remove expiration date":"Rimuovi data di scadenza","Notify via mail":"Notifica via email","Context menu of the share":"Menu contestuale della condivisione","Account type":"Tipo di account","Loading users and groups":"Caricamento di utenti e gruppi","Share type":"Tipo di condivisione","Show more actions":"Mostra altre azioni","Share options":"Opzioni di condivisione","Share":"Condividi","Person was added":"È stata aggiunta la persona","Share was added successfully":"La condivisione è stata aggiunta correttamente","Failed to add share for \\"%{displayName}\\"":"Impossibile aggiungere la condivisione per \\"%{displayName}\\"","Internal":"Interno","Internal users":"Utenti interni","External":"Esterno","External users":"Utenti esterni","No external users found.":"Nessun utente esterno trovato.","No users or groups found.":"Nessun utente o gruppo trovato.","Deselect %{name}":"Deseleziona %{name}","Group":"Gruppo","Guest user":"Utente ospite","External user":"Utente esterno","User":"Utente","External user, registered with another organization’s account but granted access to your resources. External users can only have “view” or “edit” permission.":"Utente esterno, registrato con l'account di un'altra organizzazione ma a cui è stato concesso l'accesso alle tue risorse. Gli utenti esterni possono disporre solo dell'autorizzazione di \\"visualizzazione\\" o \\"modifica\\".","Send a reminder":"Invia un reminder","Send":"Invia","Are you sure you want to send a reminder about this share?":"Vuoi davvero inviare un promemoria su questa condivisione?","Shared via the parent folder \\"%{sharedParentDir}\\"":"Condiviso tramite la cartella padre \\"%{sharedParentDir}\\"","%{collaboratorName} (me)":"%{collaboratorName} (me)","Share receiver name: %{ displayName }":"Condividi il nome del destinatario: %{ displayName }","Name":"Nome","Access expires":"Accesso scade","no":"no","Shared on":"Condiviso su","Invited by":"Inviato da","Failed to apply new permissions":"Impossibile applicare le nuove autorizzazioni","Failed to apply expiration date":"Impossibile applicare la data di scadenza","Share successfully changed":"Condivisione modificata con successo","Error while editing the share.":"Errore durante la modifica della condivisione.","Select permission":"Seleziona permessi","Edit permission":"Modifica permesso","Custom permissions":"Permessi personalizzati","Role":"Ruolo","Select role for the invitation":"Seleziona il ruolo per l'invito","Dear user, please replace this legacy role with one of the currently available roles":"Gentile utente, ti preghiamo di sostituire questo ruolo legacy con uno dei ruoli attualmente disponibili","Expires %{timeToExpiry} (%{expiryDate})":"Scade %{timeToExpiry} (%{expiryDate})","Share expires %{ expiryDateRelative } (%{ expiryDate })":"La quota scade il %{ expiryDateRelative } (%{ expiryDate })","Public links":"Links pubblici","Add link":"Aggiungi link","You do not have permission to create public links.":"Non hai l'autorizzazione per creare link pubblici.","This space has no public links.":"Questo spazio non ha link pubblici.","This folder has no public link.":"Questa cartella non ha alcun link pubblico.","This file has no public link.":"Questo file non ha alcun link pubblico.","Show":"Mostra","Hide":"Nascondi","Indirect (%{ count })":"Indiretto (%{ count })","Delete link":"Cancella link","Are you sure you want to delete this link? Recreating the same link again is not possible.":"Vuoi davvero eliminare questo link? Non è possibile ricreare lo stesso link più volte.","Delete":"Elimina","Link was deleted successfully":"Il collegamento è stato eliminato con successo","Failed to delete link":"Impossibile eliminare il link","Share with people":"Condividi con le persone","Share receivers":"Condividi i ricevitori","Shared with":"Condiviso con","Space members":"Membri dello spazio","You don't have permission to share this file.":"Non hai l'autorizzazione per condividere questo file.","You don't have permission to share this folder.":"Non hai l'autorizzazione per condividere questa cartella.","Remove":"Rimuovi","Are you sure you want to remove this share?":"Sei sicuro di voler rimuovere questa condivisione?","Share was removed successfully":"La condivisione è stata rimossa correttamente","Failed to remove share":"Impossibile rimuovere la condivisione","Copy link to clipboard":"Copia il link negli appunti","The link has been copied to your clipboard.":"Il collegamento è stato copiato negli appunti.","The link \\"%{linkName}\\" has been copied to your clipboard.":"Il link \\"%{linkName}\\" è stato copiato negli appunti.","More options":"Altre opzioni","Edit public link":"Modifica collegamento pubblico","Edit name":"Modifica nome","Link name":"Nome link","Link name cannot be empty":"Il nome del collegamento non può essere vuoto","Link name cannot exceed 255 characters":"Il nome del collegamento non può superare i 255 caratteri","Rename":"Rinomina","Edit password":"Modifica password","Remove password":"Rimuovi password","Add password":"Aggiungi password","This link is password-protected":"Questo link è protetto da password","Loading list of shares":"Caricamento elenco delle condivisioni","Add members":"Aggiungi membri","Add":"Aggiungi","Members":"Membri","Filter members":"Filtra membri","Close filter":"Chiudi filtro","Are you sure you want to remove this member?":"Sei sicuro di voler rimuovere questo membro?","Select a trash bin to view details":"Seleziona un cestino per visualizzare i dettagli","Restore":"Ripristina","Download":"Scarica","No versions available for this file":"Nessuna versione disponibile per questo file","Loading actions":"Azioni di caricamento","Edit image":"Modifica immagine","Space image is loading":"L'immagine dello spazio è in fase di caricamento","Show context menu":"Mostra menù contestuale","Open context menu and show members":"Apri il menu contestuale e mostra i membri","Loading members":"Caricamento membri","Space description is loading":"È in corso il caricamento della descrizione dello spazio","%{count} member":["%{count} membro","%{count} membri","%{count} membri"],"Crop image for »%{space}«":"Ritaglia l'immagine per »%{space}«","Confirm":"Conferma","Set image":"Imposta immagine","Details":"Dettagli","Image Info":"Informazioni sull'immagine","Audio Info":"Informazioni sull'audio","Actions":"Azioni","Shares":"Condivisioni","Versions":"Versioni","Activities":"Attività","Condensed table view":"Visualizzazione della tabella condensata","Default table view":"Visualizzazione tabella predefinita","Tiles view":"Visualizzazione delle tessere","Personal":"Personale","Insufficient quota":"Quota non sufficiente","Insufficient quota on %{spaceName}. You need additional %{missingSpace} to upload these files":"Quota insufficiente su %{spaceName}. Sono necessari altri %{missingSpace} per caricare questi file.","Use the input field to search for users and groups. Select them to share the item.":"Utilizza il campo di inserimento per cercare utenti e gruppi. Selezionali per condividere l'elemento.","Subfolders":"Sottocartelle","If you share a folder, all of its contents and subfolders will be shared as well.":"Se condividi una cartella, verranno condivisi anche tutti i suoi contenuti e le sottocartelle.","Notification":"Notifica","People you share resources with will be notified via email or in-app notification.":"Le persone con cui condividi le risorse verranno avvisate tramite e-mail o tramite notifica nell'app.","Incognito":"Incognito","People you share resources with can not see who else has access.":"Le persone con cui condividi le risorse non possono vedere chi altro ha accesso.","“via folder”":"\\"dalla cartella\\"","The “via folder” is shown next to a share, if access has already been given via a parent folder. Click on the “via folder” to edit the share on its parent folder.":"L'opzione \\"tramite cartella\\" viene visualizzata accanto a una condivisione se l'accesso è già stato concesso tramite una cartella principale. Clicca su \\"tramite cartella\\" per modificare la condivisione nella sua cartella principale.","Search for service or secondary Account":"Cerca un servizio o un account secondario","To search for service or secondary accounts prefix the username with \\"a:\\" (like \\"a:doe\\") and for guest accounts prefix the username with \\"l:\\" (like \\"l:doe\\").":"Per cercare account di servizio o secondari, anteponi \\"a:\\" al nome utente (ad esempio \\"a:doe\\"), mentre per gli account ospite anteponi \\"l:\\" al nome utente (ad esempio \\"l:doe\\").\\\\","Add members to this Space":"Aggiungi membri a questo Spazio","Enter a name to add people or groups as members to this Space.":"Inserisci un nome per aggiungere persone o gruppi come membri a questo spazio.","Member capabilities":"Capacità dei membri","Members are able to see who has access to this space and access all files in this space. Read or write permissions can be set by assigning a role.":"I membri possono vedere chi ha accesso a questo spazio e accedere a tutti i file in esso contenuti. È possibile impostare permessi di lettura o scrittura assegnando un ruolo.","Space manager capabilities":"Funzionalità di gestione dello spazio","Members with the Manager role are able to edit all properties and content of a Space, such as adding or removing members, sharing subfolders with non-members, or creating links to share.":"I membri con il ruolo di Gestore possono modificare tutte le proprietà e il contenuto di uno spazio, ad esempio aggiungendo o rimuovendo membri, condividendo sottocartelle con chi non è membro o creando collegamenti da condividere.","Choose how access is granted":"Scegli come concedere l'accesso","No login required. Everyone with the link can access. If you share this link with people from the list \\"Invited people\\", they need to login so that their individual assigned permissions can take effect. If they are not logged-in, the permissions of the link take effect.":"Non è necessario effettuare l'accesso. Chiunque abbia il link può accedere. Se condividi questo link con persone dall'elenco \\"Persone invitate\\", queste dovranno effettuare l'accesso affinché le autorizzazioni individuali assegnate abbiano effetto. Se non hanno effettuato l'accesso, saranno valide le autorizzazioni del link.","What are indirect links?":"Cosa sono i link indiretti?","Indirect links are links giving access by a parent folder.":"I collegamenti indiretti sono collegamenti che consentono l'accesso tramite una cartella padre.","How to edit indirect links":"Come modificare un link indiretto","Indirect links can only be edited in their parent folder. Click on the folder icon below the link to navigate to the parent folder.":"I link indiretti possono essere modificati solo nella cartella principale. Clicca sull'icona della cartella sotto il link per accedere alla cartella principale.","Who can view tags?":"Chi può visualizzare i tag?","Everyone who can view the file can view its tags. Likewise, everyone who can edit the file can edit its tags.":"Chiunque possa visualizzare il file può visualizzarne i tag. Allo stesso modo, chiunque possa modificarlo può modificarne i tag.","Folder already exists":"La cartella esiste già","File already exists":"Il file esiste già","Merge":"Unisci","Replace":"Sostituisci","Favorites":"Preferiti","Deleted files":"File eliminati","There are no resources marked as favorite":"Non ci sono risorse contrassegnate come preferite","Drop files here to upload or click to select file":"Trascina qui i file per caricarli o clicca per selezionarli","An error occurred while loading the public link":"Si è verificato un errore durante il caricamento del link pubblico","Note: Transfer of nested folder structures is not possible. Instead, all files from the subfolders will be uploaded individually.":"Nota: il trasferimento di strutture di cartelle nidificate non è possibile. Tutti i file delle sottocartelle verranno caricati singolarmente.","%{owner} shared this folder with you for uploading":"%{owner} ha condiviso questa cartella con te per il caricamento","Share Type":"Tipo di condivisione","Filter share types":"Filtra i tipi di condivisione","Shared By":"Condiviso da","Filter shared by":"Filtra condiviso da","Hidden Shares":"Condivisioni nascoste","OCM share":"Condivisione OCM","Public files":"Files pubblici","Public link":"Link pubblico","This folder contains %{ amount } item.":["Questa cartella contiene %{ amount } elemento.","Questa cartella contiene %{ amount } elementi.","Questa cartella contiene %{ amount } elementi."],"This folder has no content.":"Questa cartella non ha alcun contenuto.","This trash bin is empty":"Questo cestino è vuoto","Learn about spaces":"Scopri di più sugli spazi","Unrestricted":"Senza restrizioni","%{spaceCount} space in total":["%{spaceCount} spazio in totale","%{spaceCount} spazi in totale","%{spaceCount} spazi in totale"],"%{spaceCount} space in total (including %{disabledSpaceCount} disabled)":["%{spaceCount} spazio in totale (incluso %{disabledSpaceCount} disabilitato)","%{spaceCount} spazi in totale (inclusi %{disabledSpaceCount} disabilitati)","%{spaceCount} spazi in totale (inclusi %{disabledSpaceCount} disabilitati)"],"%{spaceCount} matching spaces":"%{spaceCount} spazi corrispondenti","Spaces are special folders for making files accessible to a team.":"Gli spazi sono cartelle speciali in cui i file vengono resi accessibili a un team.","Spaces belong to a team and not to a single person. Even if members are removed, the files remain in the Space so that the team can continue to work on the files.":"Gli spazi appartengono a un team e non a una singola persona. Anche se i membri vengono rimossi, i file rimangono nello spazio in modo che il team possa continuare a lavorarci.","Members with the Manager role can add or remove other members from the Space.":"I membri con il ruolo di Manager possono aggiungere o rimuovere altri membri dallo spazio.","A Space can have multiple Managers. Each Space has at least one Manager.":"Uno spazio può avere più gestori. Ogni spazio ha almeno un gestore.","Show members":"Mostra membri","You don't have access to any trashbins":"Non hai accesso a nessun cestino","%{spaceCount} trash bin in total":["%{spaceCount} cestino in totale","%{spaceCount} cestini della spazzatura in totale","%{spaceCount} cestini della spazzatura in totale"],"%{spaceCount} trash bin in total (including %{emptyTrashCount} empty)":["%{spaceCount} cestino in totale (inclusi %{emptyTrashCount} vuoti)","%{spaceCount} cestini in totale (inclusi %{emptyTrashCount} vuoti)","%{spaceCount} cestini in totale (inclusi %{emptyTrashCount} vuoti)"],"%{spaceCount} matching trash bin":["%{spaceCount} cestino corrispondente","%{spaceCount} cestini della spazzatura corrispondenti","%{spaceCount} cestini della spazzatura corrispondenti"]}`),Gc=JSON.parse(`{"Paste here":"Hier plakken","Clear clipboard":"Klembord wissen","You have no permission to paste files here.":"Je bent niet gemachtigd om hier bestanden te plakken.","You cannot cut and paste resources into the same folder.":"Je kunt geen hulpbronnen knippen en plakken in dezelfde map.","Shares pages navigation":"Share-pagina's navigatie","Navigation":"Navigatie","Shared with me":"Gedeeld met mij","Shared with others":"Gedeeld met anderen","Shared via link":"Gedeeld via link","Please wait until all imports have finished":"Even geduld tot alles is geïmporteerd","Folder":"Map","Files":"Bestanden","New":"Nieuw","Files Upload":"Bestanden uploaden","Folder Upload":"Map uploaden","Shortcut":"Snelkoppeling","File name":"Bestandsnaam","Cancel":"Annuleren","Share link(s)":"Share link(s)","Save":"Opslaan","Choose":"Kiezen","Attach as copy":"Als kopie bijvoegen","Loading README content":"Inhoud van README laden","Show more":"Meer weergeven","Show less":"Minder weergeven","Resource not found":"Hulpbron niet gevonden","We went looking everywhere, but were unable to find the selected resource.":"We hebben overal gezocht, maar konden de geselecteerde hulpbron niet vinden.","Go to »Spaces Overview«":"Ga naar »Overzicht ruimtes«","Go to »Personal« page":"Ga naar de pagina »Persoonlijk«","Reload public link":"Openbare link opnieuw laden","Password":"Wachtwoord","Link was updated successfully":"Link is met succes bijgewerkt","Failed to update link":"Link bijwerken is mislukt","Type":"Type","Tags":"Labels","Filter tags":"Labels filteren","Last Modified":"Gewijzigd op","Title only":"Alleen titel","No results found":"Geen resultaten gevonden","Search for files":"Zoeken naar bestanden","Try refining the search term or filters to get results":"Probeer de zoekterm of filters te verfijnen om resultaten te krijgen","Adjust the search term or filters to get results":"Pas de zoekterm of filters aan om resultaten te krijgen","today":"vandaag","yesterday":"gisteren","this week":"deze week","last week":"afgelopen week","last 7 days":"afgelopen 7 dagen","this month":"deze maand","last month":"afgelopen maand","last 30 days":"afgelopen 30 dagen","this year":"dit jaar","last year":"afgelopen jaar","File":"Bestand","Document":"Document","Spreadsheet":"Spreadsheet","Presentation":"Presentatie","PDF":"PDF","Image":"Afbeelding","Video":"Video","Audio":"Audio","Archive":"Archiveren","Search results for \\"%{searchTerm}\\"":"Zoekresultaten voor \\"%{searchTerm}\\"","Search":"Zoeken","Showing up to %{searchLimit} results":"Tot %{searchLimit} resultaten weergeven","Found %{totalResults}, showing the %{itemCount} best matching results":"Gevonden %{totalResults}, met %{itemCount} beste overeenkomende resultaten","Permanent link":"Permanente link","Permanent link copied":"Permanente link gekopieerd","The permanent link has been copied to your clipboard.":"De permanente link is naar het klembord gekopieerd.","Copy the link to point your team to this item. Works only for people with existing access.":"Kopieer de link om het team naar dit item te verwijzen. Werkt alleen voor mensen met bestaande toegang.","Nothing shared, yet":"Nog niets gedeeld","All received shares will show up here":"Alle ontvangen gedeelde mappen worden hier weergegeven","No activities":"Geen activiteiten","Showing %{activitiesCount} activity":["%{activitiesCount} activiteit weergeven","%{activitiesCount} activiteiten weergeven"],"Title":"Titel","Duration":"Duur","Authors":"Auteurs","Album":"Album","Genre":"Genre","Year recorded":"Opnamejaar","Track":"Traceren","Disc":"Schijf","Loading details":"Details laden","Overview of the information about the selected file":"Overzicht van de informatie over het geselecteerde bestand","Deleted at":"Verwijderd op","Last modified":"Gewijzigd op","Locked via":"Vergrendeld via","Shared via":"Gedeeld via","Shared by":"Gedeeld door","Owner":"Eigenaar","(me)":"(mij)","Size":"Grootte","Version":"Versie","No information to display":"Geen informatie om weer te geven","Navigate to '%{folder}'":"Navigeren naar '%{folder}'","This folder has been shared.":"Deze map is gedeeld.","This file has been shared.":"Dit bestand is gedeeld.","See all versions":"Alle versies weergeven","Overview of the information about the selected files":"Overzicht van de informatie over de geselecteerde bestanden","Folders":"Mappen","Spaces":"Ruimtes","%{ itemCount } item selected":["%{ itemCount } item geselecteerd","%{ itemCount } items geselecteerd"],"Deselect %{label}":"Selectie %{label} opheffen","Enter text to create a Tag":"Voer tekst in om een label aan te maken","Tag must not consist of blanks only":"Label mag niet alleen uit spaties bestaan","Failed to edit tags":"Bewerken van labels is mislukt","Search for tag %{tag}":"Zoeken naar label %{tag}","Dimensions":"Dimensies","Device make":"Apparaat-merk","Device model":"Apparaat-model","Focal length":"Brandpuntsafstand","F number":"F nummer","Exposure time":"Sluitertijd","ISO":"ISO","Orientation":"Oriëntatie","Taken time":"Tijdsverloop","Location":"Locatie","The location has been copied to your clipboard.":"De locatie is naar het klembord gekopieerd.","Copy location to clipboard":"Locatie naar klembord kopiëren","Select a file or folder to view details":"Selecteer een bestand of map om details te bekijken","Open context menu with share editing options":"Open het contextmenu met opties voor bewerken van share","Edit share":"Share bewerken","Access details":"Toegangsdetails","Resource is temporarily locked, unable to manage share":"Hulpbron is tijdelijk vergrendeld, kan de share niet beheren.","Navigate to parent":"Navigeren naar bovenliggende map","Remove member":"Lid verwijderen","Remove share":"Share verwijderen","Edit expiration date":"Verloopdatum aanpassen","Set expiration date":"Verloopdatum instellen","Remove expiration date":"Verloopdatum verwijderen","Notify via mail":"Melding via e-mail","Context menu of the share":"Contextmenu van de share","Account type":"Accounttype","Loading users and groups":"Gebruikers en groepen laden","Share type":"Share type","Show more actions":"Meer acties weergeven","Share options":"Share opties","Share":"Share","Person was added":"Persoon is toegevoegd","Share was added successfully":"Share is met succes toegevoegd","Failed to add share for \\"%{displayName}\\"":"Toevoegen van share voor \\"%{displayName}\\" mislukt","Internal":"Intern","Internal users":"Interne gebruikers","External":"Extern","External users":"Externe gebruikers","No external users found.":"Geen externe gebruikers gevonden.","No users or groups found.":"Geen gebruikers of groepen gevonden.","Deselect %{name}":"Selectie %{name} opheffen","Group":"Groep","Guest user":"Gastgebruiker","External user":"Externe gebruiker","User":"Gebruiker","External user, registered with another organization’s account but granted access to your resources. External users can only have “view” or “edit” permission.":"Externe gebruiker, geregistreerd met een account van een andere organisatie, maar met toegang tot jouw hulpbronnen. Externe gebruikers kunnen alleen machtiging hebben voor 'weergave' of 'bewerken'.","Send a reminder":"Herinnering verzenden","Send":"Verzenden","Are you sure you want to send a reminder about this share?":"Weet je zeker dat je een herinnering wilt versturen over deze share?","Shared via the parent folder \\"%{sharedParentDir}\\"":"Gedeeld via bovenliggende map \\"%{sharedParentDir}\\"","%{collaboratorName} (me)":"%{collaboratorName} (mij)","Share receiver name: %{ displayName }":"Share ontvangersnaam: %{ displayName }","Name":"Naam","Access expires":"Toegang verloopt","no":"nee","Shared on":"Gedeeld op","Invited by":"Uitgenodigd door","Failed to apply new permissions":"Toepassen van nieuwe machtigingen is mislukt","Failed to apply expiration date":"Toepassen van verloopdatum is mislukt","Share successfully changed":"Share is met succes aangepast","Error while editing the share.":"Fout bij het bewerken van de share.","Select permission":"Machtiging selecteren","Edit permission":"Machtigingen bewerken","Custom permissions":"Aangepaste machtigingen","Role":"Rol","Select role for the invitation":"Kies rol voor de uitnodiging","Dear user, please replace this legacy role with one of the currently available roles":"Beste gebruiker, vervang deze veroudedre rol door een van de momenteel beschikbare rollen","Expires %{timeToExpiry} (%{expiryDate})":"Verloopt %{timeToExpiry} (%{expiryDate})","Share expires %{ expiryDateRelative } (%{ expiryDate })":"Share verloopt %{ expiryDateRelative } (%{ expiryDate })","Public links":"Openbare links","Add link":"Link toevoegen","You do not have permission to create public links.":"Je bent niet gemachtigd om openbare links te maken.","This space has no public links.":"De ruimte heeft geen openbare link.","This folder has no public link.":"De map heeft geen openbare link.","This file has no public link.":"Het bestand heeft geen openbare link.","Show":"Weergeven","Hide":"Verbergen","Indirect (%{ count })":"Indirect (%{ count })","Delete link":"Link verwijderen","Are you sure you want to delete this link? Recreating the same link again is not possible.":"Weet je zeker dat je deze link wilt verwijderen? Het is niet mogelijk om dezelfde link opnieuw aan te maken.","Delete":"Verwijderen","Link was deleted successfully":"Link is met succes verwijderd","Failed to delete link":"Link verwijderen is mislukt","Share with people":"Delen met personen","Share receivers":"Share ontvangers","Shared with":"Gedeeld met","Space members":"Ruimteleden","You don't have permission to share this file.":"Je bent niet gemachtigd om dit bestand te delen.","You don't have permission to share this folder.":"Je bent niet gemachtigd om deze map te delen.","Remove":"Verwijderen","Are you sure you want to remove this share?":"Weet je zeker dat je deze share wilt verwijderen?","Share was removed successfully":"Share is met succes verwijderd","Failed to remove share":"Share verwijderen is mislukt","Copy link to clipboard":"Link naar klembord kopiëren","The link has been copied to your clipboard.":"De link is naar het klembord gekopieerd.","The link \\"%{linkName}\\" has been copied to your clipboard.":"De link \\"%{linkName}\\" is naar het klembord gekopieerd.","More options":"Meer opties","Edit public link":"Openbare link bewerken","Edit name":"Naam bewerken","Link name":"Linknaam","Link name cannot be empty":"Linknaam kan niet leeg zijn","Link name cannot exceed 255 characters":"Linknaam mag niet meer dan 255 tekens bevatten","Rename":"Hernoemen","Edit password":"Wachtwoord bewerken","Remove password":"Wachtwoord verwijderen","Add password":"Wachtwoord toevoegen","This link is password-protected":"De link is wachtwoordbeveiligd","Loading list of shares":"Lijst met shares laden","Add members":"Leden toevoegen","Add":"Toevoegen","Members":"Leden","Filter members":"Leden filteren","Close filter":"Filter sluiten","Are you sure you want to remove this member?":"Weet je zeker dat je dit lid wilt verwijderen?","Select a trash bin to view details":"Selecteer een prullenbak om details te bekijken","Restore":"Herstellen","Download":"Downloaden","No versions available for this file":"Geen versies beschikbaar voor dit bestand","Loading actions":"Acties laden","Edit image":"Afbeelding bewerken","Space image is loading":"Ruimte-afbeelding wordt geladen","Show context menu":"Contextmenu weergeven","Open context menu and show members":"Open het contextmenu en toon leden","Loading members":"Leden laden","Space description is loading":"Ruimte-beschrijving wordt geladen","%{count} member":["%{count} lid","%{count} leden"],"Crop image for »%{space}«":"Afbeelding voorr »%{space}« bijsnijden","Confirm":"Bevestigen","Set image":"Afbeelding instellen","Details":"Details","Image Info":"Afbeeldingsinfo","Audio Info":"Audio-info","Actions":"Acties","Shares":"Shares","Versions":"Versies","Activities":"Activiteiten","Condensed table view":"Compacte tabelweergave","Default table view":"Standaard tabelweergave","Tiles view":"Tegelsweergave","Personal":"Persoonlijk","Insufficient quota":"Onvoldoende quota","Insufficient quota on %{spaceName}. You need additional %{missingSpace} to upload these files":"Onvoldoende quota op %{spaceName}. Er is %{missingSpace} extra nodig om deze bestanden te uploaden.","Use the input field to search for users and groups. Select them to share the item.":"Gebruik het invoerveld om te zoeken naar gebruikers en groepen. Selecteer ze om het item te delen.","Subfolders":"Onderliggende mappen","If you share a folder, all of its contents and subfolders will be shared as well.":"Als je een map deelt, worden alle inhoud en submappen ook gedeeld.","Notification":"Melding","People you share resources with will be notified via email or in-app notification.":"Mensen met wie je hulpbronnen deelt, worden per e-mail of via een in-app melding op de hoogte gesteld.","Incognito":"Incognito","People you share resources with can not see who else has access.":"Mensen met wie je hulpbronnen deelt kunnen niet zien wie er nog meer toegang heeft.","“via folder”":"“via map”","The “via folder” is shown next to a share, if access has already been given via a parent folder. Click on the “via folder” to edit the share on its parent folder.":"Het \\"via map\\" wordt naast een share weergegeven, als toegang al is verleend via een bovenliggende map. Klik op \\"via map\\" om de share in de bovenliggende map te bewerken.","Search for service or secondary Account":"Zoeken naar service of secundair account","To search for service or secondary accounts prefix the username with \\"a:\\" (like \\"a:doe\\") and for guest accounts prefix the username with \\"l:\\" (like \\"l:doe\\").":"Om te zoeken naar service- of secundaire accounts, pas het voorvoegsel \\"a:\\" toe bij de gebruikersnaam (bijv. \\"a:jansen\\"). Gebruik het voorvoegsel \\"l:\\" voor gastaccounts (bijv. \\"l:jansen\\").","Add members to this Space":"Leden toevoegen aan deze ruimte","Enter a name to add people or groups as members to this Space.":"Voer een naam in om personen of groepen als leden aan deze ruimte toe te voegen.","Member capabilities":"Mogelijkheden van leden","Members are able to see who has access to this space and access all files in this space. Read or write permissions can be set by assigning a role.":"Leden kunnen zien wie toegang heeft tot deze ruimte en alle bestanden in deze ruimte openen. Lees- of schrijfrechten kunnen worden ingesteld door een rol toe te wijzen.","Space manager capabilities":"Mogelijkheden van ruimtebeheerders","Members with the Manager role are able to edit all properties and content of a Space, such as adding or removing members, sharing subfolders with non-members, or creating links to share.":"Leden met de rol van Beheerder kunnen alle eigenschappen en inhoud van een ruimte bewerken, zoals het toevoegen of verwijderen van leden, submappen delen met niet-leden, of links aanmaken om te delen.","Choose how access is granted":"Kies hoe toegang wordt verleend","No login required. Everyone with the link can access. If you share this link with people from the list \\"Invited people\\", they need to login so that their individual assigned permissions can take effect. If they are not logged-in, the permissions of the link take effect.":"Geen aanmelding vereist. Iedereen met de link kan toegang krijgen. Als je deze link deelt met mensen van de lijst 'Genodigde personen', moeten zij inloggen zodat hun individueel toegewezen rechten van kracht kunnen worden. Als ze niet zijn ingelogd, zijn de rechten van de link van toepassing.","What are indirect links?":"Wat zijn indirecte links?","Indirect links are links giving access by a parent folder.":"Indirecte links zijn links die toegang geven tot een bovenliggend map.","How to edit indirect links":"Hoe indirecte links te bewerken","Indirect links can only be edited in their parent folder. Click on the folder icon below the link to navigate to the parent folder.":"Indirecte links kunnen alleen in hun bovenliggende map worden bewerkt. Klik op het map-pictogram onder de link om naar de bovenliggende map te navigeren.","Who can view tags?":"Wie kan labels zien?","Everyone who can view the file can view its tags. Likewise, everyone who can edit the file can edit its tags.":"Iedereen die het bestand kan bekijken, kan de labels ervan zien. Op dezelfde manier kan iedereen die het bestand kan bewerken de labels ervan bewerken.","Folder already exists":"Map bestaat al","File already exists":"Bestand bestaat al","Merge":"Samenvoegen","Replace":"Vervangen","Favorites":"Favorieten","Deleted files":"Verwijderde bestanden","There are no resources marked as favorite":"Er zijn geen hulpbronnen gemarkeerd als favoriet","Drop files here to upload or click to select file":"Sleep bestanden hierheen om te uploaden of klik om het bestand te selecteren","An error occurred while loading the public link":"Er is een fout opgetreden bij het laden van de openbare link","Note: Transfer of nested folder structures is not possible. Instead, all files from the subfolders will be uploaded individually.":"Let op: Het overdragen van geneste mappenstructuren is niet mogelijk. In plaats daarvan worden alle bestanden uit de submappen afzonderlijk geüpload.","%{owner} shared this folder with you for uploading":"%{owner} heeft deze map met je gedeeld voor uploaden","All your links will show up here":"Al je links worden hier weergegeven","Share Type":"Share type","Filter share types":"Sharetypes filteren","Shared By":"Gedeeld door","Filter shared by":"Gedeeld door filteren","Hidden Shares":"Verborgen shares","Anything you shared will show up here":"Alles dat je hebt gedeeld wordt hier weergegeven","No files found":"Geen bestanden gevonden","OCM share":"OCM-share","Public files":"Openbare bestanden","Public link":"Openbare link","This folder contains %{ amount } item.":["Deze map bevat %{ amount } item.","Deze map bevat %{ amount } items."],"This folder has no content.":"Dee map heeft geen inhoud.","Drag files and folders here or use the \\"New\\" button to add files":"Sleep bestanden en mappen hierheen of gebruik de knop \\"Nieuw\\" om bestanden toe te voegen","This trash bin is empty":"Deze prullenbak is leeg","All deleted files and folders of this space will show up here":"Alle verwijderde bestanden en mappen van deze ruimte worden hier weergegeven","Learn about spaces":"Meer over ruimtes","No spaces found":"Geen ruimtes gevonden","Unrestricted":"Onbeperkt","%{spaceCount} space in total":["%{spaceCount} ruimte in totaal","%{spaceCount} ruimtes in totaal"],"%{spaceCount} space in total (including %{disabledSpaceCount} disabled)":["%{spaceCount} ruimte in totaal (inc. %{disabledSpaceCount} uitgeschakeld)","%{spaceCount} ruimtes in totaal (inc. %{disabledSpaceCount} uitgeschakeld)"],"%{spaceCount} matching spaces":"%{spaceCount} overeenkomstige ruimtes","Spaces are special folders for making files accessible to a team.":"Ruimtes zijn speciale mappen om bestanden toegankelijk te maken voor een team.","Spaces belong to a team and not to a single person. Even if members are removed, the files remain in the Space so that the team can continue to work on the files.":"Ruimtes behoren tot een team en niet tot een enkel persoon. Zelfs als leden worden verwijderd, blijven de bestanden in de ruimte zodat het team aan de bestanden kan blijven werken.","Members with the Manager role can add or remove other members from the Space.":"Leden met de rol Beheerder kunnen andere leden aan de ruimte toevoegen of verwijderen.","A Space can have multiple Managers. Each Space has at least one Manager.":"Een ruimte kan meerdere beheerders hebben. Elke ruimte heeft ten minste één beheerder.","Show members":"Leden weergeven","Use the \\"New\\" button to create a space or ask an Administrator to do so":"Gebruik de knop \\"Nieuw\\" om een ruimte aan te maken of vraag een beheerder om dit te doen","You don't have access to any trashbins":"Je hebt geen toegang tot prullenbakken","No trash bins found":"Geen prullenbakken gevonden","%{spaceCount} trash bin in total":["%{spaceCount} prullenlbak in totaal","%{spaceCount} prullenbakken in totaal"],"%{spaceCount} trash bin in total (including %{emptyTrashCount} empty)":["%{spaceCount} prullenbak in totaal (inclusief %{emptyTrashCount} leeg)","%{spaceCount} prullenbakken in totaal (inclusief %{emptyTrashCount} leeg)"],"%{spaceCount} matching trash bin":["%{spaceCount} overeenkomstige prullenbak","%{spaceCount} overeenkomstige prullenbakken"]}`),Hc=JSON.parse(`{"Paste here":"Colar aqui","Clear clipboard":"Limpar área de transferência","You have no permission to paste files here.":"Não tem permissão para colar ficheiros aqui.","You cannot cut and paste resources into the same folder.":"Não pode cortar e colar recursos na mesma pasta.","Shares pages navigation":"Navegação das páginas de partilhas","Navigation":"Navegação","Shared with me":"Partilhado comigo","Shared with others":"Partilhado com outros","Shared via link":"Partilhado via ligação","Please wait until all imports have finished":"Aguarde até que todas as importações terminem","Folder":"Pasta","Files":"Ficheiros","New":"Novo","Shortcut":"Atalho","File name":"Nome do ficheiro","Cancel":"Cancelar","Share link(s)":"Partilhar ligação(ões)","Save":"Guardar","Choose":"Escolher","Attach as copy":"Anexar como cópia","Show more":"Mostrar mais","Show less":"Mostrar menos","Resource not found":"Recurso não encontrado","We went looking everywhere, but were unable to find the selected resource.":"Procurámos em todo o lado, mas não conseguimos encontrar o recurso selecionado.","Go to »Spaces Overview«":"Ir para «Visão geral dos espaços»","Go to »Personal« page":"Ir para a página «Pessoal»","Reload public link":"Recarregar ligação pública","Password":"Palavra-passe","Link was updated successfully":"Ligação atualizada com sucesso","Failed to update link":"Falha ao atualizar ligação","Type":"Tipo","Tags":"Etiquetas","Filter tags":"Filtrar etiquetas","Last Modified":"Última Modificação","Title only":"Apenas título","No results found":"Nenhum resultado encontrado","Search for files":"Pesquisar ficheiros","today":"hoje","yesterday":"ontem","this week":"esta semana","last week":"última semana","last 7 days":"últimos 7 dias","this month":"este mês","last month":"último mês","last 30 days":"últimos 30 dias","this year":"este ano","last year":"último ano","File":"Ficheiro","Document":"Documento","Spreadsheet":"Folha de cálculo","Presentation":"Apresentação","PDF":"PDF","Image":"Imagem","Video":"Vídeo","Audio":"Áudio","Archive":"Arquivo","Search results for \\"%{searchTerm}\\"":"Resultados da pesquisa para \\"%{searchTerm}\\"","Search":"Pesquisar","Showing up to %{searchLimit} results":"A mostrar até %{searchLimit} resultados","Found %{totalResults}, showing the %{itemCount} best matching results":"Encontrados %{totalResults}, mostrando os %{itemCount} melhores resultados","Permanent link":"Ligação permanente","Permanent link copied":"Ligação permanente copiada","The permanent link has been copied to your clipboard.":"A ligação permanente foi copiada para a área de transferência.","Copy the link to point your team to this item. Works only for people with existing access.":"Copie a ligação para direcionar a sua equipa para este item. Funciona apenas para pessoas com acesso existente.","No activities":"Sem atividades","Showing %{activitiesCount} activity":["A mostrar %{activitiesCount} atividade","A mostrar %{activitiesCount} atividades","A mostrar %{activitiesCount} atividades"],"Title":"Título","Duration":"Duração","Authors":"Autores","Album":"Álbum","Genre":"Género","Year recorded":"Ano gravado","Track":"Faixa","Disc":"Disco","Loading details":"A carregar detalhes","Overview of the information about the selected file":"Resumo da informação sobre o ficheiro selecionado","Deleted at":"Eliminado em","Last modified":"Última modificação","Locked via":"Bloqueado via","Shared via":"Partilhado via","Shared by":"Partilhado por","Owner":"Proprietário","(me)":"(eu)","Size":"Tamanho","Version":"Versão","No information to display":"Sem informação para mostrar","Navigate to '%{folder}'":"Navegar para '%{folder}'","This folder has been shared.":"Esta pasta foi partilhada.","This file has been shared.":"Este ficheiro foi partilhado.","See all versions":"Ver todas as versões","Overview of the information about the selected files":"Resumo da informação sobre os ficheiros selecionados","Folders":"Pastas","Spaces":"Espaços","%{ itemCount } item selected":["%{ itemCount } item selecionado","%{ itemCount } itens selecionados","%{ itemCount } itens selecionados"],"Deselect %{label}":"Desselecionar %{label}","Enter text to create a Tag":"Introduza texto para criar uma etiqueta","Tag must not consist of blanks only":"A etiqueta não pode consistir apenas de espaços","Failed to edit tags":"Falha ao editar etiquetas","Search for tag %{tag}":"Pesquisar pela etiqueta %{tag}","Dimensions":"Dimensões","Device make":"Marca do dispositivo","Device model":"Modelo do dispositivo","Focal length":"Distância focal","F number":"Número F","Exposure time":"Tempo de exposição","ISO":"ISO","Orientation":"Orientação","Taken time":"Hora da captura","Location":"Localização","The location has been copied to your clipboard.":"A localização foi copiada para a área de transferência.","Copy location to clipboard":"Copiar localização para a área de transferência","Select a file or folder to view details":"Selecione um ficheiro ou pasta para ver detalhes","Open context menu with share editing options":"Abrir menu de contexto com opções de edição de partilha","Edit share":"Editar partilha","Access details":"Detalhes de acesso","Resource is temporarily locked, unable to manage share":"Recurso bloqueado temporariamente, impossível gerir partilha","Navigate to parent":"Navegar para a pasta superior","Remove member":"Remover membro","Remove share":"Remover partilha","Edit expiration date":"Editar data de expiração","Set expiration date":"Definir data de expiração","Remove expiration date":"Remover data de expiração","Notify via mail":"Notificar por e-mail","Context menu of the share":"Menu de contexto da partilha","Account type":"Tipo de conta","Loading users and groups":"A carregar utilizadores e grupos","Share type":"Tipo de partilha","Show more actions":"Mostrar mais ações","Share options":"Opções de partilha","Share":"Partilhar","Person was added":"Pessoa adicionada","Share was added successfully":"Partilha adicionada com sucesso","Failed to add share for \\"%{displayName}\\"":"Falha ao adicionar partilha para «%{displayName}»","Internal":"Interno","Internal users":"Utilizadores internos","External":"Externo","External users":"Utilizadores externos","No external users found.":"Nenhum utilizador externo encontrado.","No users or groups found.":"Nenhum utilizador ou grupo encontrado.","Deselect %{name}":"Desselecionar %{name}","Group":"Grupo","Guest user":"Utilizador convidado","External user":"Utilizador externo","User":"Utilizador","External user, registered with another organization’s account but granted access to your resources. External users can only have “view” or “edit” permission.":"tilizador externo, registado com conta de outra organização, mas com acesso concedido aos seus recursos. Utilizadores externos só podem ter permissão de \\"ver\\" ou \\"editar\\".","Send a reminder":"Enviar um lembrete","Send":"Enviar","Are you sure you want to send a reminder about this share?":"Tem a certeza de que quer enviar um lembrete sobre esta partilha?","Shared via the parent folder \\"%{sharedParentDir}\\"":"Partilhado via a pasta superior «%{sharedParentDir}»","%{collaboratorName} (me)":"%{collaboratorName} (eu)","Share receiver name: %{ displayName }":"Nome do recetor da partilha: %{ displayName }","Name":"Nome","Access expires":"Acesso expira","no":"não","Shared on":"Partilhado em","Invited by":"Convidado por","Failed to apply new permissions":"Falha ao aplicar novas permissões","Failed to apply expiration date":"Falha ao aplicar data de expiração","Share successfully changed":"Partilha alterada com sucesso","Error while editing the share.":"Erro ao editar a partilha.","Select permission":"Selecionar permissão","Edit permission":"Editar permissão","Custom permissions":"Permissões personalizadas","Role":"Função","Select role for the invitation":"Selecionar função para o convite","Dear user, please replace this legacy role with one of the currently available roles":"Caro utilizador, substitua este papel legado por um dos papéis atualmente disponíveis","Expires %{timeToExpiry} (%{expiryDate})":"Expira %{timeToExpiry} (%{expiryDate})","Share expires %{ expiryDateRelative } (%{ expiryDate })":"A partilha expira %{ expiryDateRelative } (%{ expiryDate })","Public links":"Ligações públicas","Add link":"Adicionar ligação","You do not have permission to create public links.":"Não tem permissão para criar ligações públicas.","This space has no public links.":"Este espaço não tem ligações públicas.","This folder has no public link.":"Esta pasta não tem ligação pública.","This file has no public link.":"Este ficheiro não tem ligação pública.","Show":"Mostrar","Hide":"Ocultar","Indirect (%{ count })":"Indireto (%{ count })","Delete link":"Eliminar ligação","Are you sure you want to delete this link? Recreating the same link again is not possible.":"Tem a certeza de que quer eliminar esta ligação? Não é possível recriar a mesma ligação.","Delete":"Eliminar","Link was deleted successfully":"Ligação eliminada com sucesso","Failed to delete link":"Falha ao eliminar ligação","Share with people":"Partilhar com pessoas","Share receivers":"Recetores da partilha","Shared with":"Partilhado com","Space members":"Membros do espaço","You don't have permission to share this file.":"Não tem permissão para partilhar este ficheiro.","You don't have permission to share this folder.":"Não tem permissão para partilhar esta pasta.","Remove":"Remover","Are you sure you want to remove this share?":"Tem a certeza de que quer remover esta partilha?","Share was removed successfully":"Partilha removida com sucesso","Failed to remove share":"Falha ao remover partilha","Copy link to clipboard":"Copiar ligação para a área de transferência","The link has been copied to your clipboard.":"A ligação foi copiada para a área de transferência.","The link \\"%{linkName}\\" has been copied to your clipboard.":"A ligação «%{linkName}» foi copiada para a área de transferência.","More options":"Mais opções","Edit public link":"Editar ligação pública","Edit name":"Editar nome","Link name":"Nome da ligação","Link name cannot be empty":"O nome da ligação não pode estar vazio","Link name cannot exceed 255 characters":"O nome da ligação não pode exceder 255 caracteres","Rename":"Renomear","Edit password":"Editar palavra-passe","Remove password":"Remover palavra-passe","Add password":"Adicionar palavra-passe","This link is password-protected":"Esta ligação está protegida por palavra-passe","Loading list of shares":"A carregar lista de partilhas","Add members":"Adicionar membros","Add":"Adicionar","Members":"Membros","Filter members":"Filtrar membros","Close filter":"Fechar filtro","Are you sure you want to remove this member?":"Tem a certeza de que quer remover este membro?","Select a trash bin to view details":"Selecione um lixo para ver detalhes","Restore":"Restaurar","Download":"Transferir","No versions available for this file":"Nenhuma versão disponível para este ficheiro","Loading actions":"A carregar ações","Edit image":"Editar imagem","Space image is loading":"A carregar imagem do espaço","Show context menu":"Mostrar menu de contexto","Open context menu and show members":"Abrir menu de contexto e mostrar membros","Loading members":"A carregar membros","Space description is loading":"A carregar descrição do espaço","%{count} member":["%{count} membro","%{count} membros","%{count} membros"],"Crop image for »%{space}«":"Recortar imagem para «%{space}»","Confirm":"Confirmar","Set image":"Definir imagem","Details":"Detalhes","Image Info":"Informação da imagem","Audio Info":"Informação de áudio","Actions":"Ações","Shares":"Partilhas","Versions":"Versões","Activities":"Atividades","Condensed table view":"Vista de tabela condensada","Default table view":"Vista de tabela predefinida","Tiles view":"Vista de mosaicos","Personal":"Pessoal","Insufficient quota":"Quota insuficiente","Insufficient quota on %{spaceName}. You need additional %{missingSpace} to upload these files":"Quota insuficiente em %{spaceName}. Precisa de mais %{missingSpace} para enviar estes ficheiros","Use the input field to search for users and groups. Select them to share the item.":"Use o campo de entrada para pesquisar utilizadores e grupos. Selecione-os para partilhar o item.","Subfolders":"Subpastas","If you share a folder, all of its contents and subfolders will be shared as well.":"Se partilhar uma pasta, todo o seu conteúdo e subpastas também serão partilhados.","Notification":"Notificação","People you share resources with will be notified via email or in-app notification.":"As pessoas com quem partilha recursos serão notificadas por e-mail ou notificação na aplicação.","Incognito":"Modo incógnito","People you share resources with can not see who else has access.":"As pessoas com quem partilha recursos não podem ver quem mais tem acesso.","“via folder”":"\\"via pasta\\"","The “via folder” is shown next to a share, if access has already been given via a parent folder. Click on the “via folder” to edit the share on its parent folder.":"O \\"via pasta\\" é exibido junto a uma partilha quando o acesso já foi concedido através de uma pasta superior. Clique em \\"via pasta\\" para editar a partilha na pasta superior.","Search for service or secondary Account":"Pesquisar por serviço ou conta secundária","To search for service or secondary accounts prefix the username with \\"a:\\" (like \\"a:doe\\") and for guest accounts prefix the username with \\"l:\\" (like \\"l:doe\\").":"Para pesquisar por serviços ou contas secundárias, prefixe o nome de utilizador com \\"a:\\" (como \\"a:doe\\") e para contas de convidado prefixe com \\"l:\\" (como \\"l:doe\\").","Add members to this Space":"Adicionar membros a este espaço","Enter a name to add people or groups as members to this Space.":"Introduza um nome para adicionar pessoas ou grupos como membros a este espaço.","Member capabilities":"Capacidades de membro","Members are able to see who has access to this space and access all files in this space. Read or write permissions can be set by assigning a role.":"Os membros podem ver quem tem acesso a este espaço e aceder a todos os ficheiros neste espaço. Permissões de leitura ou escrita podem ser definidas atribuindo uma função.","Space manager capabilities":"Capacidades do gestor de espaço","Members with the Manager role are able to edit all properties and content of a Space, such as adding or removing members, sharing subfolders with non-members, or creating links to share.":"Os membros com a função de gestor podem editar todas as propriedades e conteúdo de um espaço, como adicionar ou remover membros, partilhar subpastas com não-membros ou criar ligações para partilhar.","Choose how access is granted":"Escolher como o acesso é concedido","No login required. Everyone with the link can access. If you share this link with people from the list \\"Invited people\\", they need to login so that their individual assigned permissions can take effect. If they are not logged-in, the permissions of the link take effect.":"Não é necessário início de sessão. Todos os que têm a ligação podem aceder. Se partilhar esta ligação com pessoas da lista \\"Pessoas convidadas\\", elas precisam de iniciar sessão para que as suas permissões individuais atribuídas tenham efeito. Se não estiverem autenticadas, as permissões da ligação terão efeito.","What are indirect links?":"O que são ligações indiretas?","Indirect links are links giving access by a parent folder.":"Ligações indiretas são ligações que dão acesso através de uma pasta superior.","How to edit indirect links":"Como editar ligações indiretas","Indirect links can only be edited in their parent folder. Click on the folder icon below the link to navigate to the parent folder.":"As ligações indiretas só podem ser editadas na sua pasta superior. Clique no ícone da pasta abaixo da ligação para navegar para a pasta superior.","Who can view tags?":"Quem pode ver etiquetas?","Everyone who can view the file can view its tags. Likewise, everyone who can edit the file can edit its tags.":"Todos os que podem ver o ficheiro podem ver as suas etiquetas. Da mesma forma, todos os que podem editar o ficheiro podem editar as suas etiquetas.","Folder already exists":"A pasta já existe","File already exists":"O ficheiro já existe","Merge":"Fundir","Replace":"Substituir","Favorites":"Favoritos","Deleted files":"Ficheiros eliminados","There are no resources marked as favorite":"Não há recursos marcados como favoritos","Drop files here to upload or click to select file":"Solte ficheiros aqui para enviar ou clique para selecionar ficheiro","An error occurred while loading the public link":"Ocorreu um erro ao carregar a ligação pública","Note: Transfer of nested folder structures is not possible. Instead, all files from the subfolders will be uploaded individually.":"Nota: A transferência de estruturas de pastas aninhadas não é possível. Em vez disso, todos os ficheiros das subpastas serão enviados individualmente.","%{owner} shared this folder with you for uploading":"%{owner} partilhou esta pasta consigo para envio","Share Type":"Tipo de Partilha","Filter share types":"Filtrar tipos de partilha","Shared By":"Partilhado Por","Filter shared by":"Filtrar partilhado por","Hidden Shares":"Partilhas ocultas","OCM share":"Partilha OCM","Public files":"Ficheiros públicos","Public link":"Ligação pública","This folder contains %{ amount } item.":["Esta pasta contém %{ amount } item.","Esta pasta contém %{ amount } itens.","Esta pasta contém %{ amount } itens."],"This folder has no content.":"Esta pasta não tem conteúdo.","This trash bin is empty":"Este lixo está vazio","Learn about spaces":"Aprender sobre espaços","Unrestricted":"Sem restrições","%{spaceCount} space in total":["%{spaceCount} espaço no total","%{spaceCount} espaços no total","%{spaceCount} espaços no total"],"%{spaceCount} space in total (including %{disabledSpaceCount} disabled)":["%{spaceCount} espaço no total (incluindo %{disabledSpaceCount} desativado)","%{spaceCount} espaços no total (incluindo %{disabledSpaceCount} desativados)","%{spaceCount} espaços no total (incluindo %{disabledSpaceCount} desativados)"],"%{spaceCount} matching spaces":"%{spaceCount} espaços correspondentes","Spaces are special folders for making files accessible to a team.":"Os espaços são pastas especiais para tornar ficheiros acessíveis a uma equipa.","Spaces belong to a team and not to a single person. Even if members are removed, the files remain in the Space so that the team can continue to work on the files.":"Os espaços pertencem a uma equipa e não a uma pessoa individual. Mesmo se os membros forem removidos, os ficheiros permanecem no espaço para que a equipa possa continuar a trabalhar nos ficheiros.","Members with the Manager role can add or remove other members from the Space.":"Os membros com a função de gestor podem adicionar ou remover outros membros do espaço.","A Space can have multiple Managers. Each Space has at least one Manager.":"Um espaço pode ter vários gestores. Cada espaço tem pelo menos um gestor.","Show members":"Mostrar membros","You don't have access to any trashbins":"Não tem acesso a nenhum lixo","%{spaceCount} trash bin in total":["%{spaceCount} lixo no total","%{spaceCount} lixos no total","%{spaceCount} lixos no total"],"%{spaceCount} trash bin in total (including %{emptyTrashCount} empty)":["%{spaceCount} lixo no total (incluindo %{emptyTrashCount} vazio)","%{spaceCount} lixos no total (incluindo %{emptyTrashCount} vazios)","%{spaceCount} lixos no total (incluindo %{emptyTrashCount} vazios)"],"%{spaceCount} matching trash bin":["%{spaceCount} lixo correspondente","%{spaceCount} lixos correspondentes","%{spaceCount} lixos correspondentes"]}`),Wc={Version:"Versi"},Yc=JSON.parse(`{"Paste here":"ここに貼り付け","Clear clipboard":"クリップボードをクリア","You have no permission to paste files here.":"ここにファイルを貼り付ける権限がありません","You cannot cut and paste resources into the same folder.":"同じフォルダ内にリソースを切り取り・貼り付けすることはできません","Shares pages navigation":"共有ページのナビゲーション","Navigation":"ナビゲーション","Shared with me":"自分に共有された項目","Shared with others":"他のユーザと共有中","Shared via link":"リンクから共有中","Please wait until all imports have finished":"すべてのインポートが完了するまでお待ちください","Folder":"フォルダ","Files":"ファイル","New":"新規","Shortcut":"ショートカット","File name":"ファイル名","Cancel":"キャンセル","Share link(s)":"共有リンク","Save":"保存","Choose":"選択","Attach as copy":"コピーとして添付","Loading README content":"READMEの内容を読み込み中","Show more":"もっと見る","Show less":"表示を減らす","Resource not found":"リーソースが見つかりません","We went looking everywhere, but were unable to find the selected resource.":"あらゆる場所を探しましたが、選択されたリソースは見つかりませんでした","Go to »Spaces Overview«":"「スペース一覧」へ移動","Go to »Personal« page":"「個人用」ページへ移動","Reload public link":"公開リンクを再読み込み","Password":"パスワード","Link was updated successfully":"リンクを更新しました","Failed to update link":"リンクの更新に失敗しました","Type":"タイプ","Tags":"グ","Filter tags":"タグでフィルター","Last Modified":"最終更新日時","Title only":"タイトルのみ","No results found":"結果が見つかりませんでした","Search for files":"ファイルを検索","today":"今日","yesterday":"昨日","this week":"今週","last week":"先週","last 7 days":"過去7日間","this month":"今月","last month":"先月","last 30 days":"過去30日間","this year":"今年","last year":"昨年","File":"ファイル","Document":"ドキュメント","Spreadsheet":"スプレッドシート","Presentation":"プレゼンテーション","PDF":"PDF","Image":"画像","Video":"ビデオ","Audio":"オーディオ","Archive":"アーカイブ","Search results for \\"%{searchTerm}\\"":"\\"%{searchTerm}\\" の検索結果","Search":"検索","Showing up to %{searchLimit} results":"最大 %{searchLimit} 件の結果を表示中","Found %{totalResults}, showing the %{itemCount} best matching results":"%{totalResults} 件見つかりました。関連度の高い順に %{itemCount} 件を表示しています。","Permanent link":"固定リンク","Permanent link copied":"固定リンクをコピーしました","The permanent link has been copied to your clipboard.":"固定リンクをクリップボードにコピーしました","Copy the link to point your team to this item. Works only for people with existing access.":"チームにこのアイテムを知らせるためのリンクをコピーします。既にアクセス権を持っているユーザーのみが利用可能です","No activities":"アクティビティはありません","Showing %{activitiesCount} activity":"%{activitiesCount} 件のアクティビティを表示中","Title":"タイトル","Duration":"長さ","Authors":"作成者","Album":"アルバム","Genre":"ジャンル","Year recorded":"録音 年","Track":"トラック","Disc":"ディスク","Loading details":"詳細を読み込み中","Overview of the information about the selected file":"選択したファイル情報の概要","Deleted at":"削除日時","Last modified":"最終更新日時","Locked via":"ロック中","Shared via":"共有元:","Shared by":"共有者","Owner":"所有者","(me)":"(自分)","Size":"サイズ","Version":"バージョン","No information to display":" 表示する情報はありません","Navigate to '%{folder}'":"'%{folder}' へ移動","This folder has been shared.":"このフォルダは共有されています","This file has been shared.":"このファイルは共有されています","See all versions":"すべてのバージョンを表示","Overview of the information about the selected files":"選択したファイル(複数)情報の概要","Folders":"フォルダー","Spaces":"スペース","%{ itemCount } item selected":"%{ itemCount } 個のアイテムを選択中","Deselect %{label}":"%{label} の選択を解除","Enter text to create a Tag":"テキストを入力してタグを作成","Tag must not consist of blanks only":"タグを空白(スペース)のみにすることはできません","Failed to edit tags":"タグの編集に失敗しました","Search for tag %{tag}":"タグ「%{tag}」を検索","Dimensions":"サイズ (解像度)","Device make":"デバイスのメーカー","Device model":"デバイスのモデル","Focal length":"焦点距離","F number":"F値","Exposure time":"露出時間","ISO":"ISO","Orientation":"方向 (回転)","Taken time":"撮影日時","Location":"場所","The location has been copied to your clipboard.":"場所をクリップボードにコピーしました","Copy location to clipboard":"場所をクリップボードにコピー","Select a file or folder to view details":"ファイルまたはフォルダを選択して詳細を表示","Open context menu with share editing options":"共有編集オプションのコンテキストメニューを開く","Edit share":"共有設定を編集","Access details":"アクセスの詳細","Resource is temporarily locked, unable to manage share":"リソースが一時的にロックされているため、共有を管理できません","Navigate to parent":"親フォルダへ移動","Remove member":"メンバーを削除","Remove share":"共有設定を削除","Edit expiration date":"有効期限を編集","Set expiration date":"有効期限を設定","Remove expiration date":"有効期限を解除","Notify via mail":"メールで通知","Context menu of the share":"共有のコンテキストメニュー","Account type":"アカウントの種類","Loading users and groups":"ユーザーとグループを読み込み中","Share type":"共有タイプ","Show more actions":"その他の操作を表示","Share options":"共有オプション","Share":"共有","Person was added":"ユーザーを追加しました","Share was added successfully":"共有を追加しました","Failed to add share for \\"%{displayName}\\"":"「%{displayName}」の共有設定の追加に失敗しました","Internal":"内部","Internal users":"内部ユーザ","External":"外部","External users":"外部ユーザー","No external users found.":"外部ユーザーは見つかりませんでした","No users or groups found.":"ユーザーまたはグループが見つかりませんでした","Deselect %{name}":"%{name} の選択を解除","Group":"グループ","Guest user":"ゲストユーザ","External user":"外部ユーザ","User":"ユーザ","External user, registered with another organization’s account but granted access to your resources. External users can only have “view” or “edit” permission.":"外部ユーザー:他組織のアカウントで登録されていますが、あなたのリソースへのアクセスを許可されたユーザーです。外部ユーザーに付与できる権限は「閲覧」または「編集」のみです。","Send a reminder":"リマインダーを送信","Send":"送信","Are you sure you want to send a reminder about this share?":"この共有に関するリマインダーを送信してもよろしいですか?","Shared via the parent folder \\"%{sharedParentDir}\\"":"親フォルダ「%{sharedParentDir}」経由で共有中","%{collaboratorName} (me)":"%{collaboratorName} (自分)","Share receiver name: %{ displayName }":"共有相手の名前: %{ displayName }","Name":"名称","Access expires":"アクセス有効期限","no":"いいえ","Shared on":"共有日","Invited by":"紹介者","Failed to apply new permissions":"新しい権限の適用に失敗しました","Failed to apply expiration date":"有効期限の適用に失敗しました","Share successfully changed":"共有設定を変更しました","Error while editing the share.":"共有設定の編集中にエラーが発生しました","Select permission":"権限を選択","Edit permission":"権限を編集","Custom permissions":"カスタム権限","Role":"ロール","Select role for the invitation":" 招待するロールを選択","Dear user, please replace this legacy role with one of the currently available roles":"ユーザー様、このレガシーロールを現在利用可能なロールのいずれかに置き換えてください","Expires %{timeToExpiry} (%{expiryDate})":"有効期限:%{timeToExpiry} (%{expiryDate})","Share expires %{ expiryDateRelative } (%{ expiryDate })":"共有の有効期限:%{ expiryDateRelative } (%{ expiryDate })","Public links":"公開リンク","Add link":"リンクを追加","You do not have permission to create public links.":"公開リンクを作成する権限がありません","This space has no public links.":"このスペースに公開リンクはありません","This folder has no public link.":"このフォルダに公開リンクはありません","This file has no public link.":"このファイルに公開リンクはありません","Show":"表示","Hide":"非表示","Indirect (%{ count })":"間接共有 (%{ count })","Delete link":"リンクを削除","Are you sure you want to delete this link? Recreating the same link again is not possible.":"このリンクを削除してもよろしいですか?同じリンクを再度作成することはできません","Delete":"削除","Link was deleted successfully":"リンクを削除しました","Failed to delete link":"リンクの削除に失敗しました","Share with people":"ユーザと共有","Share receivers":"共有相手","Shared with":"共有先","Space members":"スペースのメンバー","You don't have permission to share this file.":"このファイルを共有する権限がありません","You don't have permission to share this folder.":"このフォルダを共有する権限がありません","Remove":"削除","Are you sure you want to remove this share?":"この共有を解除してもよろしいですか?","Share was removed successfully":"共有を解除しました","Failed to remove share":"共有設定の解除に失敗しました","Copy link to clipboard":"リンクをクリップボードにコピー","The link has been copied to your clipboard.":"リンクをクリップボードにコピーしました。","The link \\"%{linkName}\\" has been copied to your clipboard.":"リンク「%{linkName}」をクリップボードにコピーしました。","More options":"その他のオプション","Edit public link":"公開リンクを編集","Edit name":"名前を編集","Link name":"リンク名","Link name cannot be empty":"リンク名を入力してください","Link name cannot exceed 255 characters":"リンク名は255文字以内で入力してくださ","Rename":"名前を変更","Edit password":"パスワードを編集","Remove password":"パスワードを削除","Add password":"パスワードを追加","This link is password-protected":"このリンクはパスワードで保護されています","Loading list of shares":"共有リストを読み込み中","Add members":"メンバーを追加","Add":"追加","Members":"メンバー","Filter members":"メンバーでフィルター","Close filter":"フィルターを閉じる","Are you sure you want to remove this member?":"このメンバーを削除してもよろしいですか?","Select a trash bin to view details":"ゴミ箱を選択して詳細を表示","Restore":"復元","Download":"ダウンロード","No versions available for this file":" このファイルの利用可能なバージョンはありません","Loading actions":"アクションを読み込み中","Edit image":"画像を編集","Space image is loading":"スペースの画像を読み込み中","Show context menu":"コンテキストメニューを表示","Open context menu and show members":"コンテキストメニューを開いてメンバーを表示","Loading members":"メンバーを読み込み中","Space description is loading":"スペースの説明を読み込み中","%{count} member":"%{count} 人のメンバー","Crop image for »%{space}«":"»%{space}« 用に画像を切り抜き","Confirm":"確定","Set image":"画像を設定","Details":"詳細","Image Info":"画像情報","Audio Info":"オーディオ情報","Actions":"アクション","Shares":"共有","Versions":"バージョン","Activities":"アクティビティ","Condensed table view":"表形式","Default table view":"表形式(デフォルト)","Tiles view":"タイル表示","Personal":"個人用","Insufficient quota":"容量不足","Insufficient quota on %{spaceName}. You need additional %{missingSpace} to upload these files":"%{spaceName} の容量が不足しています。これらのファイルをアップロードするには、あと %{missingSpace} 必要です","Use the input field to search for users and groups. Select them to share the item.":"入力フィールドを使用してユーザーやグループを検索してください。選択すると、アイテムを共有できます。","Subfolders":"サブフォルダ","If you share a folder, all of its contents and subfolders will be shared as well.":"フォルダを共有すると、その中のすべてのファイルとサブフォルダも同様に共有されます。","Notification":"通知","People you share resources with will be notified via email or in-app notification.":"リソースを共有した相手には、メールまたはアプリ内の通知で通知が届きます","Incognito":"シークレット (インコグニート)","People you share resources with can not see who else has access.":"リソースを共有した相手には、他に誰がアクセス権を持っているかは表示されません","“via folder”":"「フォルダ経由」","The “via folder” is shown next to a share, if access has already been given via a parent folder. Click on the “via folder” to edit the share on its parent folder.":"親フォルダ経由ですでにアクセス権が付与されている場合、共有設定の横に「フォルダ経由」と表示されます。「フォルダ経由」をクリックすると、その親フォルダの共有設定を編集できます。","Search for service or secondary Account":"サービスアカウントまたはセカンダリアカウントを検索","To search for service or secondary accounts prefix the username with \\"a:\\" (like \\"a:doe\\") and for guest accounts prefix the username with \\"l:\\" (like \\"l:doe\\").":"サービスまたはセカンダリアカウントを検索するにはユーザー名の前に「a:」(例:「a:doe」)、ゲストアカウントの場合は「l:」(例:「l:doe」)を付けてください","Add members to this Space":"このスペースにメンバーを追加","Enter a name to add people or groups as members to this Space.":"このスペースのメンバーとして追加するユーザー名またはグループ名を入力してください","Member capabilities":"メンバーの権限","Members are able to see who has access to this space and access all files in this space. Read or write permissions can be set by assigning a role.":" メンバーは、このスペースへのアクセス権を持つユーザーの確認や、スペース内の全ファイルへのアクセスが可能です。読み取り・書き込み権限は、ロールを割り当てることで設定できます。","Space manager capabilities":"スペースマネージャーの権限","Members with the Manager role are able to edit all properties and content of a Space, such as adding or removing members, sharing subfolders with non-members, or creating links to share.":"マネージャー・ロールを持つメンバーは、メンバーの追加・削除、非メンバーへのサブフォルダの共有、共有リンクの作成など、スペースのすべてのプロパティとコンテンツを編集できます。","Choose how access is granted":"アクセス権の付与方法を選択","No login required. Everyone with the link can access. If you share this link with people from the list \\"Invited people\\", they need to login so that their individual assigned permissions can take effect. If they are not logged-in, the permissions of the link take effect.":"ログインは不要です。リンクを知っている全員がアクセスできます。「招待済みのユーザー」リストのユーザーにこのリンクを共有する場合、個別に割り当てられた権限を適用するにはログインが必要です。ログインしていない場合は、リンクの権限が適用されます。","What are indirect links?":"間接リンクとは何ですか?","Indirect links are links giving access by a parent folder.":"間接リンクとは、親フォルダの設定によってアクセス権が付与されているリンクのことです","How to edit indirect links":"間接リンクの編集方法","Indirect links can only be edited in their parent folder. Click on the folder icon below the link to navigate to the parent folder.":"間接リンクは、その親フォルダでしか編集できません。リンクの下にあるフォルダアイコンをクリックして、親フォルダへ移動してください。","Who can view tags?":"タグを表示できるユーザー","Everyone who can view the file can view its tags. Likewise, everyone who can edit the file can edit its tags.":"ファイルを閲覧できる全員がタグを表示できます。同様に、ファイルを編集できる全員がタグを編集できます。","Folder already exists":"既にフォルダが存在します","File already exists":"ファイルが既に存在します","Merge":"マージ","Replace":"上書き","Favorites":"お気に入り","Deleted files":"削除済みのファイル","There are no resources marked as favorite":"お気に入りに登録されたリソースはありません","Drop files here to upload or click to select file":"ここにファイルをドロップしてアップロード、またはクリックしてファイルを選択","An error occurred while loading the public link":"公開リンクの読み込み中にエラーが発生しました","Note: Transfer of nested folder structures is not possible. Instead, all files from the subfolders will be uploaded individually.":"注意:階層構造(入れ子)のフォルダ転送はできません。サブフォルダ内のすべてのファイルは個別にアップロードされます。","%{owner} shared this folder with you for uploading":"%{owner} がアップロード用にこのフォルダを共有しました","Share Type":"共有タイプ","Filter share types":"共有タイプでフィルター","Shared By":"共有者","Filter shared by":"共有者でフィルター","Hidden Shares":"非表示の共有","OCM share":"OCM共有","Public files":"公開ファイル","Public link":"公開リンク","This folder contains %{ amount } item.":"このフォルダには %{ amount } 個のアイテムが含まれています","This folder has no content.":"このフォルダにコンテンツはありません","This trash bin is empty":"ゴミ箱は空です","Learn about spaces":"スペースについて詳しく知る","Unrestricted":"制限なし","%{spaceCount} space in total":"合計 %{spaceCount} 個のスペース","%{spaceCount} space in total (including %{disabledSpaceCount} disabled)":"合計 %{spaceCount} 個のスペース(うち %{disabledSpaceCount} 個が無効","%{spaceCount} matching spaces":"一致するスペース: %{spaceCount} 個","Spaces are special folders for making files accessible to a team.":"スペースは、チームでファイルを共有するための特別なフォルダです","Spaces belong to a team and not to a single person. Even if members are removed, the files remain in the Space so that the team can continue to work on the files.":"スペースは個人ではなくチームに帰属します。メンバーが削除されてもファイルはスペース内に残り、チームは引き続きファイルを使用して作業を継続できます。","Members with the Manager role can add or remove other members from the Space.":"マネージャー・ロールを持つメンバーは、スペースへのメンバーの追加や削除を行うことができます。","A Space can have multiple Managers. Each Space has at least one Manager.":"1つのスペースに複数のマネージャーを配置できます。各スペースには少なくとも1人のマネージャーが必要です","Show members":"メンバーを表示","You don't have access to any trashbins":"アクセスできるゴミ箱がありません","%{spaceCount} trash bin in total":"合計 %{spaceCount} 個のゴミ箱","%{spaceCount} trash bin in total (including %{emptyTrashCount} empty)":"合計 %{spaceCount} 個のゴミ箱(うち %{emptyTrashCount} 個が空)","%{spaceCount} matching trash bin":"一致するゴミ箱: %{spaceCount} 個"}`),Kc={"Paste here":"Wstaw tu","Clear clipboard":"Wyczyść schowek",Folder:"Folder",Files:"Pliki",New:"Nowy",Shortcut:"Skrót","File name":"Nazwa pliku",Cancel:"Anuluj",Save:"Zapisz",Choose:"Wybierz","Attach as copy":"Załącz jako kopia","Show more":"Pokaż więcej","Show less":"Pokaż mniej","Go to »Spaces Overview«":"Idź do »Spaces Overview«","Go to »Personal« page":"Idź do strony »Personal«",Password:"Hasło",Tags:"Tagi","Search for files":"Szukaj plików",today:"dziś",yesterday:"wczoraj",File:"Plik",Document:"Dokument",Image:"Obraz",Audio:"Dźwięk",Archive:"Archiwizuj",Search:"Szukaj","No activities":"Brak aktywności",Title:"Tytuł",Duration:"Czas trwania",Authors:"Autorzy",Album:"Album",Genre:"Płeć",Owner:"Właściciel","(me)":"(ja)",Size:"Rozmiar",Version:"Wersja","See all versions":"Pokaż wszystkie wersje",Folders:"Foldery",Spaces:"Przestrzenie","%{ itemCount } item selected":["%{ itemCount } zaznaczony element","%{ itemCount } zaznaczone elementy","%{ itemCount } zaznaczonych elementów","%{ itemCount } zaznaczonych elementów"],Dimensions:"Wymiary","Device model":"Model urządzenia",Orientation:"Orientacja",Location:"Położenie","Copy location to clipboard":"Kopiuj położenie do schowka","Edit share":"Edycja udziału","Access details":"Szczegóły dostępu","Remove member":"Usuń członka","Edit expiration date":"Edytuj datę wygaśnięcia","Set expiration date":"Ustaw datę wygaśnięcia","Account type":"Typ konta","Person was added":"Dodano osobę",External:"Zewnętrzne","External users":"Użytkownicy zewnętrzni",Group:"Grupa","Guest user":"Gość","External user":"Użytkownik zewnętrzny",User:"Użytkownik","Send a reminder":"Wyślij przypomnienie",Send:"Wyślij","%{collaboratorName} (me)":"%{collaboratorName} (ja)",Name:"Nazwa",Role:"Rola","Public links":"Linki publiczne","Add link":"Dodaj link",Show:"Pokaż",Hide:"Ukryj","Delete link":"Usuń link",Delete:"Usuń","Failed to delete link":"Nieudane usuwanie linku",Remove:"Usuń","Are you sure you want to remove this share?":"Czy na pewno usunąć to udostępnienie?","Copy link to clipboard":"Skopiuj link do schowka","The link has been copied to your clipboard.":"Link został skopiowany do schowka","More options":"Więcej opcji","Edit name":"Edytuj nazwę",Rename:"Zmień nazwę","Edit password":"Edytuj hasło","Remove password":"Usuń hasło","Add password":"Dodaj hasło","This link is password-protected":"Ten link jest zabezpieczony hasłem","Add members":"Dodaj członków",Add:"Dodaj",Members:"Członkowie","Filter members":"Filtruj członków","Close filter":"Zamknij filtr",Restore:"Przywróć",Download:"Pobierz","Edit image":"Edytuj obraz","%{count} member":["%{count} członek","%{count} członków","%{count} członków","%{count} członków"],Confirm:"Potwierdź",Details:"Szczegóły",Actions:"Akcje",Versions:"Wersje",Activities:"Aktywności","Default table view":"Domyślny widok tabeli",Subfolders:"Podfoldery",Notification:"Powiadomienie",Incognito:"Incognito","Add members to this Space":"Dodaj członków do tej Przestrzeni","Folder already exists":"Folder już istnieje","File already exists":"Plik już istnieje",Replace:"Zamień",Favorites:"Ulubione","Deleted files":"Usunięte pliki","%{owner} shared this folder with you for uploading":"%{owner} udostępnił/a ci ten folder do przesyłania","Hidden Shares":"Ukryte Udziały","Public files":"Pliki publiczne","Public link":"Link publiczny","This folder has no content.":"Folder jest pusty.","Show members":"Pokaż członków"},Qc={},Zc={},Jc={"Clear clipboard":"클립보드 지우기","Please wait until all imports have finished":"모든 가져오기가 완료될 때까지 기다려 주세요",Files:"파일들",New:"신규","File name":"파일명",Cancel:"취소",Save:"저장",Choose:"선택","Attach as copy":"사본으로 첨부","Show more":"더 보기","Show less":"작게 보기",Password:"비밀번호","Failed to update link":"링크 업데이트 실패",Tags:"테그",File:"파일",Document:"문서",Audio:"오디오",Archive:"아카이브",Search:"검색","Copy the link to point your team to this item. Works only for people with existing access.":"링크를 복사하여 팀에게 안내하세요. 기존 액세스 권한이 있는 사람들에게만 작동합니다.","No activities":"활동 없음",Duration:"길이",Authors:"저자",Album:"앨범",Disc:"디스크","Deleted at":"삭제 위치","(me)":"(나에게)","%{ itemCount } item selected":"%{ itemCount }개 항목 선택","Deselect %{label}":"%{label} 선택 취소","Enter text to create a Tag":"태그를 만들려면 텍스트 입력","Failed to edit tags":"태그 편집 실패",Dimensions:"범위","Device model":"디바이스 모델","F number":"F number","Exposure time":"노출 시간",Location:"위치","Copy location to clipboard":"클립보드에 위치 복사","Access details":"접근 상세","Edit expiration date":"만료 날짜 편집","Context menu of the share":"공유의 컨텍스트 메뉴","Account type":"계정 유형",'Failed to add share for "%{displayName}"':'"%{displayName}"에 대한 공유를 추가하지 못했습니다',External:"외부","External users":"외부 사용자들","Deselect %{name}":"%{name} 선택 취소",Group:"그룹","External user":"외부 사용자",User:"사용자","External user, registered with another organization’s account but granted access to your resources. External users can only have “view” or “edit” permission.":'다른 조직의 계정에 등록되었지만 리소스에 대한 액세스 권한을 부여받은 외부 사용자입니다. 외부 사용자는 "보기" 또는 "수정" 권한만 가질 수 있습니다.',"Are you sure you want to send a reminder about this share?":"이 공유에 대해 알림을 보내시겠습니까?","%{collaboratorName} (me)":"%{collaboratorName} (나에게)","Access expires":"접근 만료","Failed to apply new permissions":"새 권한 적용 실패","Failed to apply expiration date":"만료 날짜를 적용하지 못함","Error while editing the share.":"공유를 편집하는 중 오류가 발생했습니다.","Edit permission":"권한 편집","Custom permissions":"사용자 지정 권한","Dear user, please replace this legacy role with one of the currently available roles":"사용자님께, 이 기존 역할을 현재 사용 가능한 역할 중 하나로 교체해 주시기 바랍니다","Expires %{timeToExpiry} (%{expiryDate})":"%{timeToExpiry} 만료 (%{expiryDate})","Add link":"링크 추가","Delete link":"링크 삭제","Are you sure you want to delete this link? Recreating the same link again is not possible.":"이 링크를 삭제하시겠습니까? 동일한 링크를 다시 생성하는 것은 불가능합니다.",Delete:"삭제","Failed to delete link":"링크를 삭제하지 못했습니다","Are you sure you want to remove this share?":"이 공유를 제거하시겠습니까?","Failed to remove share":"공유를 제거하지 못했습니다","Copy link to clipboard":"클립보드에 링크 복사","Edit name":"이름 편집","Edit password":"비밀번호 편집","Add password":"비밀번호 추가","Add members":"멤버 추가",Add:"추가","Filter members":"구성원 필터","Close filter":"필터 닫기","Are you sure you want to remove this member?":"이 구성원을 제거하시겠습니까?",Download:"다운로드","Edit image":"이미지 편집","%{count} member":"%{count}명의 회원",Confirm:"확인",Details:"세부 사항","Audio Info":"오디오 정보",Actions:"액션",Activities:"활동",Personal:"개인","“via folder”":'"폴더를 통해"',"Add members to this Space":"이 공간에 구성원 추가","Enter a name to add people or groups as members to this Space.":"이 공간에 사람이나 그룹을 구성원으로 추가할 이름을 입력합니다.","Choose how access is granted":"접근 권한 부여 방법 선택","Everyone who can view the file can view its tags. Likewise, everyone who can edit the file can edit its tags.":"파일을 볼 수 있는 모든 사람은 태그를 볼 수 있습니다. 또, 파일을 편집할 수 있는 모든 사람은 태그를 편집할 수 있습니다.","File already exists":"파일이 이미 존재합니다",Favorites:"즐겨찾기","Deleted files":"삭제된 파일","Drop files here to upload or click to select file":"업로드하려면 여기에 파일을 삭제하거나 클릭하여 파일을 선택합니다","An error occurred while loading the public link":"공용 링크를 로드하는 동안 오류가 발생했습니다","%{owner} shared this folder with you for uploading":"%{owner}가 업로드를 위해 이 폴더를 공유했습니다","OCM share":"OCM 할당","Public files":"공용 파일","Public link":"공개 링크","%{spaceCount} space in total":"총 %{spaceCount}개 공간","%{spaceCount} space in total (including %{disabledSpaceCount} disabled)":"총 %{spaceCount}개 공간(%{disabledSpaceCount} 비활성화 포함)","%{spaceCount} matching spaces":"%{spaceCount} 일치하는 공간","A Space can have multiple Managers. Each Space has at least one Manager.":"공간에는 여러 명의 관리자가 있을 수 있습니다. 각 공간에는 최소 하나의 관리자가 있습니다."},Xc=JSON.parse(`{"Paste here":"Вставить сюда","Clear clipboard":"Очистить буфер обмена","You have no permission to paste files here.":"У вас нет прав на вставку файлов сюда.","You cannot cut and paste resources into the same folder.":"Вы не можете скопировать и вставить ресурс в одну и ту же папку.","Shares pages navigation":"Навигация страницы ресурсов совместного доступа","Navigation":"Навигация","Shared with me":"Доступные мне","Shared with others":"Доступные другим","Shared via link":"Совместный доступ по ссылке","Please wait until all imports have finished":"Пожалуйста, дождитесь завершения всех импортов","Folder":"Папка","Files":"Файлы","New":"Новый","Shortcut":"Ярлык","File name":"Имя файла","Cancel":"Отмена","Share link(s)":"Поделиться ссылкой(-ами)","Save":"Сохранить","Choose":"Выбрать","Attach as copy":"Прикрепить как копию","Show more":"Показать больше","Show less":"Показать меньше","Resource not found":"Ресурс не найден","We went looking everywhere, but were unable to find the selected resource.":"Мы поискали везде, но не смогли найти выбранный ресурс","Go to »Spaces Overview«":"Перейти в »Обзор Пространств«","Go to »Personal« page":"Перейти в »Персональное«","Reload public link":"Перезагрузить публичную ссылку","Password":"Пароль","Link was updated successfully":"Ссылка была успешно изменена","Failed to update link":"Не удалось обновить ссылку","Type":"Тип","Tags":"Теги","Filter tags":"Отфильтровать теги","Last Modified":"Изменено","Title only":"Только заголовок","No results found":"Результатов не найдено","Search for files":"Поиск файлов","today":"сегодня","yesterday":"вчера","this week":"эта неделя","last week":"последняя неделя","last 7 days":"последние 7 дней","this month":"этот месяц","last month":"последний месяц","last 30 days":"последние 30 дней","this year":"этот год","last year":"последний год","File":"Файл","Document":"Документ","Spreadsheet":"Сводная таблица","Presentation":"Представление","PDF":"PDF","Image":"Изображение","Video":"Видео","Audio":"Аудио","Archive":"Архив","Search results for \\"%{searchTerm}\\"":"Search results for \\"%{searchTerm}\\"","Search":"Поиск","Showing up to %{searchLimit} results":"Отображается до %{searchLimit} результатов","Found %{totalResults}, showing the %{itemCount} best matching results":"Найдено результатов всего - %{totalResults}, отображается наиболее подходящих - %{itemCount}","Permanent link":"Постоянная ссылка","Permanent link copied":"Постоянная ссылка скопирована","The permanent link has been copied to your clipboard.":"Постоянная ссылка скопирована в ваш буфер обмена.","Copy the link to point your team to this item. Works only for people with existing access.":"Скопируйте ссылку, чтобы указать вашей команде на этот элемент. Работает только для пользователей, у которых уже есть доступ.","No activities":"Нет событий","Showing %{activitiesCount} activity":["Показано %{activitiesCount} действие","Показано действий - %{activitiesCount}","Показано действий - %{activitiesCount}","Показано действий - %{activitiesCount}"],"Title":"Заголовок","Duration":"Продолжительность","Authors":"Авторы","Album":"Альбом","Genre":"Жанр","Year recorded":"Год записи","Track":"Трек","Disc":"Диск","Loading details":"Загрузка деталей","Overview of the information about the selected file":"Общая информация о выбранном файле","Deleted at":"Удалено ","Last modified":"Изменено","Locked via":"Заблокирован через","Shared via":"Доступ через","Shared by":"Предоставил(-а)","Owner":"Владелец","(me)":"(я)","Size":"Размер","Version":"Версия","No information to display":"Нет информации для отображения","Navigate to '%{folder}'":"Перейти в '%{folder}'","This folder has been shared.":"Этой папкой поделились.","This file has been shared.":"Ресурс совместного доступа.","See all versions":"Посмотреть все версии","Overview of the information about the selected files":"Общая информация о выбранных файлах","Folders":"Папки","Spaces":"Пространства","%{ itemCount } item selected":["%{ itemCount } элемент выбран","%{ itemCount } элемента выбрано","%{ itemCount } элементов выбрано","%{ itemCount } элементов выбрано"],"Deselect %{label}":"Отменить выбор %{label}","Enter text to create a Tag":"Введите текст чтобы создать тэг","Tag must not consist of blanks only":"Тег не может состоять только из пробелов","Failed to edit tags":"Не удалось отредактировать теги","Search for tag %{tag}":"Поиск тега %{tag}","Dimensions":"Размеры","Device make":"Марка устройства","Device model":"Модель устройства","Focal length":"Фокусное расстояние","F number":"Относительное отверстие объектива","Exposure time":"Время переведения в совместный доступ","ISO":"ISO","Orientation":"Ориентация","Taken time":"Времени затрачено","Location":"Расположение","The location has been copied to your clipboard.":"Расположение скопировано в ваш буфер обмена.","Copy location to clipboard":"Скопировать расположение в буфер обмена","Select a file or folder to view details":"Выберите файл или папку, чтобы посмотреть детали.","Open context menu with share editing options":"Открыть контекстное меню с настройками совместного доступа","Edit share":"Изменить ресурс","Access details":"Подробности доступа","Resource is temporarily locked, unable to manage share":"Ресурс временно заблокирован, управление совместным доступом невозможно","Navigate to parent":"Перейти в родителя","Remove member":"Удалить участника","Remove share":"Убрать общий доступ к ресурсу","Edit expiration date":"Редактировать дату истечения","Set expiration date":"Установить дату истечения срока","Remove expiration date":"Удалить дату истечения","Notify via mail":"Уведомить по электронной почте","Context menu of the share":"Контекстное меню ресурса","Account type":"Тип аккаунта","Loading users and groups":"Загрузка пользователей и групп","Share type":"Тип совместного доступа","Show more actions":"Показать больше действий","Share options":"Опции совместного доступа","Share":"Предоставить совместный доступ","Person was added":"Человек был добавлен","Share was added successfully":"Совместный доступ был успешно добавлен","Failed to add share for \\"%{displayName}\\"":"Не удалось создать совместный доступ для \\"%{displayName}\\"","Internal":"Внутренние","Internal users":"Внутренние пользователи","External":"Внешний","External users":"Внешние пользователи","No external users found.":"Внешних пользователей не найдено","No users or groups found.":"Пользователей и групп не найдено","Deselect %{name}":"Отменить выбор %{name}","Group":"Группа","Guest user":"Гостевой пользователь","External user":"Внешний пользователь","User":"Пользователь","External user, registered with another organization’s account but granted access to your resources. External users can only have “view” or “edit” permission.":"Внешний пользователь, зарегистрированный под учетной записью другой организации, но получивший доступ к вашим ресурсам. Внешние пользователи могут иметь разрешение только на “просмотр” или “редактирование”.","Send a reminder":"Отправить напоминание","Send":"Отправить","Are you sure you want to send a reminder about this share?":"Вы уверены, что хотите отправить напоминание об этом ресурсе совместного доступа?","Shared via the parent folder \\"%{sharedParentDir}\\"":"Совместный доступ через родительскую папку \\"%{sharedParentDir}\\"","%{collaboratorName} (me)":"%{collaboratorName} (я)","Share receiver name: %{ displayName }":"Имя участника совместного доступа: %{ displayName }","Name":"Имя","Access expires":"Доступ истекает","no":"нет","Shared on":"Предоставлен","Invited by":"Приглашен","Failed to apply new permissions":"Не удалось применить новые разрешения","Failed to apply expiration date":"Не удалось применить дату истечения","Share successfully changed":"Совместный доступ был успешно изменен","Error while editing the share.":"Ошибка при изменении ресурса","Select permission":"Выберите разрешение","Edit permission":"Редактировать разрешение","Custom permissions":"Пользовательские разрешения","Role":"Роль","Select role for the invitation":"Выберите роль для приглашения","Dear user, please replace this legacy role with one of the currently available roles":"Уважаемый пользователь, пожалуйста замените эту устаревшую роль на одну из доступных ролей","Expires %{timeToExpiry} (%{expiryDate})":"Истекает %{timeToExpiry} (%{expiryDate})","Share expires %{ expiryDateRelative } (%{ expiryDate })":"Совместный доступ истекает %{ expiryDateRelative } (%{ expiryDate })","Public links":"Публичные ссылки","Add link":"Добавить ссылку","You do not have permission to create public links.":"У вас нет прав на создание публичных ссылок.","This space has no public links.":"У этого пространства нет публичных ссылок.","This folder has no public link.":"У этой папки нет публичной ссылки.","This file has no public link.":"У этого файла нет публичной ссылки.","Show":"Показать","Hide":"Скрыть","Indirect (%{ count })":"Непрямые (%{ count })","Delete link":"Удалить ссылку","Are you sure you want to delete this link? Recreating the same link again is not possible.":"Вы уверены, что хотите удалить ссылку? Восстановить ту же ссылку после удаления невозможно.","Delete":"Удалить","Link was deleted successfully":"Ссылка была успешно удалена","Failed to delete link":"Не удалось удалить ссылку","Share with people":"Открыть доступ людям","Share receivers":"Участники совместного доступа","Shared with":"Совместный доступ с","Space members":"Участники пространства","You don't have permission to share this file.":"У вас нет прав, чтобы делиться этим файлом.","You don't have permission to share this folder.":"У вас нет прав, чтобы делиться этой папкой.","Remove":"Удалить","Are you sure you want to remove this share?":"Вы уверены, что хотите удалить этот ресурс совместного доступа?","Share was removed successfully":"Совместный доступ был успешно удален","Failed to remove share":"Не удалось удалить ресурс совместного доступа","Copy link to clipboard":"Скопировать ссылку в буфер обмена","The link has been copied to your clipboard.":"Ссылка скопирована в ваш буфер обмена.","The link \\"%{linkName}\\" has been copied to your clipboard.":"Ссылка \\"%{linkName}\\" скопирована в ваш буфер обмена.","More options":"Больше действий","Edit public link":"Редактировать публичную ссылку","Edit name":"Редактировать название","Link name":"Имя ссылки","Link name cannot be empty":"Имя ссылки не может быть пустым","Link name cannot exceed 255 characters":"Имя ссылки не может превышать 255 символов","Rename":"Переименовать","Edit password":"Редактировать пароль","Remove password":"Удалить пароль","Add password":"Добавить пароль","This link is password-protected":"Эта ссылка защищена паролем.","Loading list of shares":"Загрузка списка совместного доступа","Add members":"Добавить участников","Add":"Добавить","Members":"Участники","Filter members":"Отфильтровать участников","Close filter":"Закрыть фильтр","Are you sure you want to remove this member?":"Вы уверены, чо хотите исключить этого участника?","Select a trash bin to view details":"Выберите корзину, чтобы посмотреть детали","Restore":"Восстановить","Download":"Скачать","No versions available for this file":"Нет доступных версий для этого файла","Loading actions":"Загрузка действий","Edit image":"Редактировать изображение","Space image is loading":"Обложка пространства загружается","Show context menu":"Показать контекстное меню","Open context menu and show members":"Открыть контекстное меню и показать участников","Loading members":"Загрузка участников","Space description is loading":"Описание пространства загружается","%{count} member":["%{count} участник","%{count} участника","%{count} участников","%{count} участников"],"Crop image for »%{space}«":"Обрезать обложку для »%{space}«","Confirm":"Подтвердить","Set image":"Установить изображение","Details":"Детали","Image Info":"Информация об изображении","Audio Info":"Информация об аудио","Actions":"Действия","Shares":"Ресурсы совместного доступа","Versions":"Версии","Activities":"События","Condensed table view":"Сжатый вид таблицы","Default table view":"Стандартный вид таблицы","Tiles view":"Плиточный вид","Personal":"Персональное","Insufficient quota":"Недостаточная квота","Insufficient quota on %{spaceName}. You need additional %{missingSpace} to upload these files":"Недостаточная квота в %{spaceName}. Вам требуется дополнительно %{missingSpace} для загрузки этих файлов","Use the input field to search for users and groups. Select them to share the item.":"Используйте поле ввода для поиска по пользователям и группам. Выберите их, чтобы предоставить совместный доступ к ресурсу.","Subfolders":"Подпапки","If you share a folder, all of its contents and subfolders will be shared as well.":"Если вы превратите папку в ресурс совместного доступа, то все ее содержимое и подпапки также будут доступны для совместного доступа.","Notification":"Уведомление","People you share resources with will be notified via email or in-app notification.":"Люди, которым вы предоставляете совместный доступ к ресурсу, будут уведомлены по электронной почте или через нотификации приложения.","Incognito":"Инкогнито","People you share resources with can not see who else has access.":"Люди, которым вы предоставляете совместный доступ к ресурсу, не видят других участников совместного доступа.","“via folder”":"“через папку”","The “via folder” is shown next to a share, if access has already been given via a parent folder. Click on the “via folder” to edit the share on its parent folder.":"Если рядом с ресурсом отображается надпись \\"через папку\\" - это значит, что совместный доступ уже был предоставлен через родительскую папку. Нажмите на \\"через папку\\" для изменения совместного доступа на уровне родительской папки.","Search for service or secondary Account":"Поиск серсисных или вторичных Аккаунтов","To search for service or secondary accounts prefix the username with \\"a:\\" (like \\"a:doe\\") and for guest accounts prefix the username with \\"l:\\" (like \\"l:doe\\").":"Для поиска сервисных или вторичных аккаунтов используйте префикс \\"a:\\" перед логином (например, \\"a:doe\\"), а для поиска гостевых аккаунтов - префикс \\"l:\\" (например, \\"l:doe\\").","Add members to this Space":"Добавить участников в это Пространство","Enter a name to add people or groups as members to this Space.":"Введите имя, чтобы добавить участников в это Пространство","Member capabilities":"Возможности участника","Members are able to see who has access to this space and access all files in this space. Read or write permissions can be set by assigning a role.":"Участники могут видеть, у кого есть доступ к этому пространству, и имеют доступ ко всем файлам в этом пространстве. Права на чтение или запись можно установить, назначив роль.","Space manager capabilities":"Возможности управляющего пространством","Members with the Manager role are able to edit all properties and content of a Space, such as adding or removing members, sharing subfolders with non-members, or creating links to share.":"Участники с ролью Управляющий могут редактировать все свойства и содержимое пространства, например добавлять или удалять участников, предоставлять доступ к вложенным папкам другим пользователям или создавать ссылки для совместного использования.","Choose how access is granted":"Выберите, как предоставить доступ","No login required. Everyone with the link can access. If you share this link with people from the list \\"Invited people\\", they need to login so that their individual assigned permissions can take effect. If they are not logged-in, the permissions of the link take effect.":"Вход в систему не требуется. Доступ может получить каждый, у кого есть ссылка. Если вы поделитесь этой ссылкой с людьми из списка \\"Приглашенные\\", им необходимо войти в систему, чтобы вступили в силу их индивидуальные разрешения. Если они не вошли в систему, вступают в силу разрешения, указанные в ссылке.","What are indirect links?":"Что такое непрямые ссылки?","Indirect links are links giving access by a parent folder.":"Непрямые ссылки - это ссылки, предоставляющие доступ к родительской папке.","How to edit indirect links":"Как редактировать непрямые ссылки","Indirect links can only be edited in their parent folder. Click on the folder icon below the link to navigate to the parent folder.":"Непрямые ссылки можно редактировать только из родительской папки. Нажмите на значок папки под ссылкой, чтобы перейти в родительскую папку.","Who can view tags?":"Кто может смотреть теги?","Everyone who can view the file can view its tags. Likewise, everyone who can edit the file can edit its tags.":"Каждый, кто может просматривать файл, может просматривать его теги. Аналогичным образом, каждый, кто может редактировать файл, может редактировать его теги.","Folder already exists":"Папка уже существует","File already exists":"Файл уже существует","Merge":"Объединить","Replace":"Заменить","Favorites":"Избранное","Deleted files":"Удаленные файлы","There are no resources marked as favorite":"Нет ресурсов, добавленных в избранное.","Drop files here to upload or click to select file":"Перетащите файлы сюда, чтобы загрузить их, или кликните, чтобы выбрать файл","An error occurred while loading the public link":"При загрузке публичной ссылки произошла ошибка","Note: Transfer of nested folder structures is not possible. Instead, all files from the subfolders will be uploaded individually.":"Примечание: Перенос структур вложенных папок невозможен. Вместо этого все файлы из вложенных папок будут загружены по отдельности.","%{owner} shared this folder with you for uploading":"%{owner} поделился этой папкой с вами для загрузки","Share Type":"Тип Совместного Доступа","Filter share types":"Отфильтровать типы доступа","Shared By":"Предоставил(-а)","Filter shared by":"Отфильтровать авторов доступа","Hidden Shares":"Скрытые ресурсы совместного доступа","OCM share":"Совместный доступ через OCM","Public files":"Публичные файлы","Public link":"Публичная ссылка","This folder contains %{ amount } item.":["Эта папка содержит %{ amount } элемент.","Эта папка содержит %{ amount } элемента.","Эта папка содержит элементов - %{ amount } шт.","Эта папка содержит элементов - %{ amount } шт."],"This folder has no content.":"В этой папке нет содержимого.","This trash bin is empty":"Эта корзина пуста","Learn about spaces":"Узнайте о пространствах","Unrestricted":"Неограниченно","%{spaceCount} space in total":["%{spaceCount} пространство всего","%{spaceCount} пространств всего","%{spaceCount} пространств всего","%{spaceCount} пространств всего"],"%{spaceCount} space in total (including %{disabledSpaceCount} disabled)":["%{spaceCount} пространство всего (включая отключенные - %{disabledSpaceCount})","%{spaceCount} пространства всего (включая отключенные - %{disabledSpaceCount})","%{spaceCount} пространств всего (включая отключенные - %{disabledSpaceCount})","%{spaceCount} пространств всего (включая отключенные - %{disabledSpaceCount})"],"%{spaceCount} matching spaces":"%{spaceCount} подходящих пространств","Spaces are special folders for making files accessible to a team.":"Пространства это специальные папки, предназначенные для предоставления команде доступа к файлам.","Spaces belong to a team and not to a single person. Even if members are removed, the files remain in the Space so that the team can continue to work on the files.":"Пространства принадлежат команде, а не одному человеку. Даже если участники будут удалены, файлы останутся в пространстве, чтобы команда могла продолжить работу с файлами.","Members with the Manager role can add or remove other members from the Space.":"Участники с ролью Управляющего могут добавлять и удалять других участников Пространства.","A Space can have multiple Managers. Each Space has at least one Manager.":"У пространства может быть несколько Менеджеров. Каждое пространство должно иметь по крайней мере одного менеджера.","Show members":"Показать участников","You don't have access to any trashbins":"У вас нет доступа ни в одну корзину","%{spaceCount} trash bin in total":["%{spaceCount} корзина всего","%{spaceCount} корзины всего","%{spaceCount} корзин всего","%{spaceCount} корзин всего"],"%{spaceCount} trash bin in total (including %{emptyTrashCount} empty)":["Корзин всего - %{spaceCount} (включая пустые - %{emptyTrashCount})","Корзин всего - %{spaceCount} (включая пустые - %{emptyTrashCount})","Корзин всего - %{spaceCount} (включая пустые - %{emptyTrashCount})","Корзин всего - %{spaceCount} (включая пустые - %{emptyTrashCount})"],"%{spaceCount} matching trash bin":["%{spaceCount} подходящая корзина","%{spaceCount} подходящие корзины","%{spaceCount} подходящих корзин","%{spaceCount} подходящих корзин"]}`),ed={},td={},sd={Password:"Heslo",Search:"Hľadať","No activities":"Žiadne aktivity",External:"Externé",Group:"Skupina",User:"Užívateľ",Personal:"Osobné","Public link":"Verejný odkaz"},od={},ad={},id=JSON.parse(`{"Paste here":"Klistra in här","Clear clipboard":"Töm urklipp","You have no permission to paste files here.":"Du har inte behörighet att klistra in filer här.","You cannot cut and paste resources into the same folder.":"Du kan inte klippa och klistra in resurser i samma mapp.","Shares pages navigation":"Navigering bland delningssidor","Navigation":"Navigering","Shared with me":"Delade med mig","Shared with others":"Delat med andra","Shared via link":"Delat via länk","Please wait until all imports have finished":"Vänta tills alla importer har slutförts","Folder":"Mapp","Files":"Filer","New":"Ny","Shortcut":"Genväg","File name":"Filnamn","Cancel":"Avbryt","Share link(s)":"Dela länk(ar)","Save":"Spara","Choose":"Välj","Attach as copy":"Bifoga som kopia","Show more":"Visa mer","Show less":"Visa mindre","Resource not found":"Resursen hittades inte","We went looking everywhere, but were unable to find the selected resource.":"Vi letade överallt, men kunde inte hitta den valda resursen.","Go to »Spaces Overview«":"Gå till »Översikt över arbetsytor«","Go to »Personal« page":"Gå till sidan »Personligt«","Reload public link":"Ladda om offentlig länk","Password":"Lösenord","Link was updated successfully":"Länken har uppdaterats","Failed to update link":"Det gick inte att uppdatera länken","Type":"Typ","Tags":"Taggar","Filter tags":"Filtrera taggar","Last Modified":"Senast ändrad","Title only":"Endast rubrik","No results found":"Inga resultat hittades","Search for files":"Sök efter filer","today":"idag","yesterday":"igår","this week":"denna vecka","last week":"förra veckan","last 7 days":"senaste 7 dagarna","this month":"denna månad","last month":"senaste månaden","last 30 days":"senaste 30 dagarna","this year":"i år","last year":"förra året","File":"Fil","Document":"Dokument","Spreadsheet":"Kalkylblad","Presentation":"Presentation","PDF":"PDF","Image":"Bild","Video":"Video","Audio":"Ljud","Archive":"Arkivera","Search results for \\"%{searchTerm}\\"":"Sökresultat för \\"%{searchTerm}\\"","Search":"Sök","Showing up to %{searchLimit} results":"Visar %{searchLimit} resultat","Found %{totalResults}, showing the %{itemCount} best matching results":"Hittade %{totalResults}, visar de %{itemCount} bästa matchande resultaten","Permanent link":"Permanent länk","Permanent link copied":"Permanent länk kopierad","The permanent link has been copied to your clipboard.":"Den permanenta länken har kopierats till ditt urklipp.","Copy the link to point your team to this item. Works only for people with existing access.":"Kopiera länken för att hänvisa ditt team till detta objekt. Fungerar endast för personer som redan har åtkomst.","No activities":"Inga aktiviteter","Showing %{activitiesCount} activity":["Visar %{activitiesCount} aktivitet","Visar %{activitiesCount} aktiviteter"],"Title":"Titel","Duration":"Varaktighet","Authors":"Upphovspersoner","Album":"Album","Genre":"Genre","Year recorded":"År då inspelningen gjordes","Track":"Spåra","Disc":"Skiva","Loading details":"Laddar detaljer","Overview of the information about the selected file":"Översikt över informationen om den valda filen","Deleted at":"Raderad","Last modified":"Senast ändrad","Locked via":"Låst via","Shared via":"Delat via","Shared by":"Delat av","Owner":"Ägare","(me)":"(jag)","Size":"Storlek","Version":"Version","No information to display":"Ingen information att visa","Navigate to '%{folder}'":"Navigera till '%{folder}'","This folder has been shared.":"Denna mapp har delats.","This file has been shared.":"Denna fil har delats.","See all versions":"Visa alla versioner","Overview of the information about the selected files":"Översikt över informationen om de valda filerna","Folders":"Mappar","Spaces":"Arbetsytor","%{ itemCount } item selected":["%{ itemCount } objekt valt","%{ itemCount } objekt valda"],"Deselect %{label}":"Avmarkera %{label}","Enter text to create a Tag":"Ange text för att skapa en tagg","Tag must not consist of blanks only":"Taggen får inte bestå av endast blanksteg","Failed to edit tags":"Det gick inte att redigera taggarna","Search for tag %{tag}":"Sök efter tagg %{tag}","Dimensions":"Dimensioner","Device make":"Enhetens tillverkare","Device model":"Enhetsmodell","Focal length":"Brännvidd","F number":"F-tal","Exposure time":"Exponeringstid","ISO":"ISO","Orientation":"Orientering","Taken time":"Tagna tid","Location":"Plats","The location has been copied to your clipboard.":"Platsen har kopierats till ditt urklipp.","Copy location to clipboard":"Kopiera plats till urklipp","Select a file or folder to view details":"Välj en fil eller mapp för att visa detaljer","Open context menu with share editing options":"Öppna snabbmenyn med alternativ för delningsredigering","Edit share":"Ändra delat objekt","Access details":"Åtkomstuppgifter","Resource is temporarily locked, unable to manage share":"Resursen är tillfälligt låst, kan inte hantera delning","Navigate to parent":"Navigera till överordnad","Remove member":"Ta bort medlem","Remove share":"Ta bort delning","Edit expiration date":"Redigera utgångsdatum","Set expiration date":"Ange utgångsdatum","Remove expiration date":"Ta bort utgångsdatum","Notify via mail":"Meddela via e-post","Context menu of the share":"Kontextmeny för delningen","Account type":"Kontotyp","Loading users and groups":"Ladda användare och grupper","Share type":"Delningstyp","Show more actions":"Visa fler åtgärder","Share options":"Delningsalternativ","Share":"Dela","Person was added":"Person har lagts till","Share was added successfully":"Delningen har lagts till","Failed to add share for \\"%{displayName}\\"":"Det gick inte att lägga till delning för \\"%{displayName}\\"","Internal":"Intern","Internal users":"Interna användare","External":"Extern","External users":"Externa användare","No external users found.":"Inga externa användare hittades.","No users or groups found.":"Inga användare eller grupper hittades.","Deselect %{name}":"Avmarkera %{name}","Group":"Grupp","Guest user":"Gästanvändare","External user":"Extern användare","User":"Användare","External user, registered with another organization’s account but granted access to your resources. External users can only have “view” or “edit” permission.":"Extern användare, registrerad med en annan organisations konto men med åtkomst till dina resurser. Externa användare kan endast ha behörighet att \\"visa\\" eller \\"redigera\\".","Send a reminder":"Skicka en påminnelse","Send":"Skicka","Are you sure you want to send a reminder about this share?":"Är du säker på att du vill skicka en påminnelse om denna delning?","Shared via the parent folder \\"%{sharedParentDir}\\"":"Delad via överordnad mapp \\"%{sharedParentDir}\\"","%{collaboratorName} (me)":"%{collaboratorName} (jag)","Share receiver name: %{ displayName }":"Dela mottagarnamn: %{ displayName }","Name":"Namn","Access expires":"Tillgång upphör","no":"nr","Shared on":"Delat på","Invited by":"Inbjuden av","Failed to apply new permissions":"Det gick inte att tillämpa nya behörigheter","Failed to apply expiration date":"Det gick inte att tillämpa utgångsdatumet","Share successfully changed":"Delningen har ändrats","Error while editing the share.":"Fel vid redigering av delningen.","Select permission":"Välj behörighet","Edit permission":"Redigera behörighet","Custom permissions":"Anpassade behörigheter","Role":"Roll","Select role for the invitation":"Välj roll för inbjudan","Dear user, please replace this legacy role with one of the currently available roles":"Kära användare, ersätt denna äldre roll med en av de roller som för närvarande är tillgängliga","Expires %{timeToExpiry} (%{expiryDate})":"Går ut %{timeToExpiry} (%{expiryDate})","Share expires %{ expiryDateRelative } (%{ expiryDate })":"Delningen löper ut %{ expiryDateRelative } (%{ expiryDate })","Public links":"Offentliga länkar","Add link":"Lägg till länk","You do not have permission to create public links.":"Du har inte behörighet att skapa offentliga länkar.","This space has no public links.":"Den här arbetsytan har inga offentliga länkar.","This folder has no public link.":"Denna mapp har ingen offentlig länk.","This file has no public link.":"Denna fil har ingen offentlig länk.","Show":"Visa","Hide":"Dölj","Indirect (%{ count })":"Indirekt (%{ count })","Delete link":"Ta bort länk","Are you sure you want to delete this link? Recreating the same link again is not possible.":"Är du säker på att du vill ta bort den här länken? Det går inte att återskapa samma länk igen.","Delete":"Ta bort","Link was deleted successfully":"Länken har raderats","Failed to delete link":"Det gick inte att ta bort länken","Share with people":"Dela med andra","Share receivers":"Dela mottagare","Shared with":"Delat med","Space members":"Arbetsytans medlemmar","You don't have permission to share this file.":"Du har inte behörighet att dela den här filen.","You don't have permission to share this folder.":"Du har inte behörighet att dela den här mappen.","Remove":"Ta bort","Are you sure you want to remove this share?":"Är du säker på att du vill ta bort den här delningen?","Share was removed successfully":"Delningen har tagits bort","Failed to remove share":"Det gick inte att ta bort delningen","Copy link to clipboard":"Kopiera länken till urklipp","The link has been copied to your clipboard.":"Länken har kopierats till ditt urklipp.","The link \\"%{linkName}\\" has been copied to your clipboard.":"Länken \\"%{linkName}\\" har kopierats till ditt urklipp.","More options":"Ytterligare inställningar","Edit public link":"Redigera offentlig länk","Edit name":"Redigera namn","Link name":"Länknamn","Link name cannot be empty":"Länknamnet får inte vara tomt","Link name cannot exceed 255 characters":"Länknamnet får inte vara längre än 255 tecken","Rename":"Byt namn","Edit password":"Redigera lösenord","Remove password":"Ta bort lösenord","Add password":"Lägg till lösenord","This link is password-protected":"Denna länk är lösenordsskyddad","Loading list of shares":"Laddar lista över aktier","Add members":"Lägg till medlemmar","Add":"Lägg till","Members":"Medlemmar","Filter members":"Filtrera medlemmar","Close filter":"Stäng filter","Are you sure you want to remove this member?":"Vill du verkligen ta bort den här medlemmen?","Select a trash bin to view details":"Välj en papperskorg för att visa detaljer","Restore":"Återställ","Download":"Ladda ner","No versions available for this file":"Inga versioner tillgängliga för denna fil","Loading actions":"Laddar åtgärder","Edit image":"Redigera bild","Space image is loading":"Arbetsytans bild läses in","Show context menu":"Visa snabbmeny","Open context menu and show members":"Öppna snabbmenyn och visa medlemmar","Loading members":"Laddar medlemmar","Space description is loading":"Beskrivning av arbetsytan läses in","%{count} member":["%{count} medlem","%{count} medlemmar"],"Crop image for »%{space}«":"Beskär bild för »%{space}«","Confirm":"Bekräfta","Set image":"Välj bild","Details":"Detaljer","Image Info":"Bildinformation","Audio Info":"Ljudinformation","Actions":"Åtgärder","Shares":"Delningar","Versions":"Versioner","Activities":"Aktiviteter","Condensed table view":"Kondenserad tabellvy","Default table view":"Standardtabellvy","Tiles view":"Kakelvy","Personal":"Personlig","Insufficient quota":"Otillräcklig kvot","Insufficient quota on %{spaceName}. You need additional %{missingSpace} to upload these files":"Otillräcklig kvot på %{spaceName}. Du behöver ytterligare %{missingSpace} för att ladda upp dessa filer","Use the input field to search for users and groups. Select them to share the item.":"Använd inmatningsfältet för att söka efter användare och grupper. Välj dem för att dela objektet.","Subfolders":"Underkataloger","If you share a folder, all of its contents and subfolders will be shared as well.":"Om du delar en mapp kommer även allt dess innehåll och alla undermappar att delas.","Notification":"Avisering","People you share resources with will be notified via email or in-app notification.":"Personer som du delar resurser med kommer att meddelas via e-post eller i appen.","Incognito":"Incognito","People you share resources with can not see who else has access.":"Personer som du delar resurser med kan inte se vilka andra som har åtkomst.","“via folder”":"“via mapp”","The “via folder” is shown next to a share, if access has already been given via a parent folder. Click on the “via folder” to edit the share on its parent folder.":"\\"Via mapp\\" visas bredvid en delning om åtkomst redan har givits via en överordnad mapp. Klicka på \\"via mapp\\" för att redigera delningen i dess överordnade mapp.","Search for service or secondary Account":"Sök efter tjänst eller sekundärt konto","To search for service or secondary accounts prefix the username with \\"a:\\" (like \\"a:doe\\") and for guest accounts prefix the username with \\"l:\\" (like \\"l:doe\\").":"För att söka efter tjänste- eller sekundära konton, lägg till prefixet \\"a:\\" framför användarnamnet (t.ex. \\"a:doe\\") och för gästkonton, lägg till prefixet \\"l:\\" framför användarnamnet (t.ex. \\"l:doe\\").","Add members to this Space":"Lägg till medlemmar till denna arbetsyta","Enter a name to add people or groups as members to this Space.":"Ange ett namn för att lägga till personer eller grupper som medlemmar i denna arbetsyta.","Member capabilities":"Medlemmarnas förmågor","Members are able to see who has access to this space and access all files in this space. Read or write permissions can be set by assigning a role.":"Medlemmar kan se vem som har tillgång till denna arbetsyta och komma åt alla filer i denna arbetsyta. Läs- eller skrivbehörigheter kan ställas in genom att tilldela en roll.","Space manager capabilities":"Funktioner för hantera arbetsyta","Members with the Manager role are able to edit all properties and content of a Space, such as adding or removing members, sharing subfolders with non-members, or creating links to share.":"Medlemmar med rollen Manager kan redigera alla egenskaper och allt innehåll i en arbetsyta, till exempel lägga till eller ta bort medlemmar, dela undermappar med icke-medlemmar eller skapa länkar att dela.","Choose how access is granted":"Välj hur åtkomst ska beviljas","No login required. Everyone with the link can access. If you share this link with people from the list \\"Invited people\\", they need to login so that their individual assigned permissions can take effect. If they are not logged-in, the permissions of the link take effect.":"Ingen inloggning krävs. Alla som har länken kan komma åt den. Om du delar den här länken med personer från listan \\"Inbjudna personer\\" måste de logga in för att deras individuella behörigheter ska träda i kraft. Om de inte är inloggade gäller länkens behörigheter.","What are indirect links?":"Vad är indirekta länkar?","Indirect links are links giving access by a parent folder.":"Indirekta länkar är länkar som ger åtkomst via en överordnad mapp.","How to edit indirect links":"Hur man redigerar indirekta länkar","Indirect links can only be edited in their parent folder. Click on the folder icon below the link to navigate to the parent folder.":"Indirekta länkar kan endast redigeras i sin överordnade mapp. Klicka på mappikonen under länken för att navigera till den överordnade mappen.","Who can view tags?":"Vem kan se taggar?","Everyone who can view the file can view its tags. Likewise, everyone who can edit the file can edit its tags.":"Alla som kan visa filen kan se dess taggar. På samma sätt kan alla som kan redigera filen redigera dess taggar.","Folder already exists":"Mappen finns redan","File already exists":"Filen finns redan","Merge":"Sammanfoga","Replace":"Ersätt","Favorites":"Favoriter","Deleted files":"Raderade filer","There are no resources marked as favorite":"Det finns inga resurser markerade som favoriter","Drop files here to upload or click to select file":"Dra och släpp filer här för att ladda upp eller klicka för att välja fil","An error occurred while loading the public link":"Ett fel uppstod vid inläsning av den offentliga länken","Note: Transfer of nested folder structures is not possible. Instead, all files from the subfolders will be uploaded individually.":"Obs! Det går inte att överföra inbäddade mappstrukturer. Istället kommer alla filer från undermapparna att laddas upp individuellt.","%{owner} shared this folder with you for uploading":"%{owner} har delat den här mappen med dig för uppladdning","Share Type":"Delningstyp","Filter share types":"Filtrera delningstyper","Shared By":"Delat av","Filter shared by":"Filter delat av","Hidden Shares":"Dolda delningar","OCM share":"OCM-delning","Public files":"Offentliga filer","Public link":"Offentlig länk","This folder contains %{ amount } item.":["Denna mapp innehåller %{ amount } objekt.","Denna mapp innehåller %{ amount } objekt."],"This folder has no content.":"Denna mapp har inget innehåll.","This trash bin is empty":"Denna papperskorg är tom","Learn about spaces":"Lär dig mer om arbetsytor","Unrestricted":"Obegränsad","%{spaceCount} space in total":["%{spaceCount} arbetsyta totalt","%{spaceCount} arbetsytor totalt"],"%{spaceCount} space in total (including %{disabledSpaceCount} disabled)":["%{spaceCount} arbetsyta totalt (inklusive %{disabledSpaceCount} inaktiverad)","%{spaceCount} arbetsytor totalt (inklusive %{disabledSpaceCount} inaktiverade)"],"%{spaceCount} matching spaces":"%{spaceCount} matchande arbetsytor","Spaces are special folders for making files accessible to a team.":"Arbetsytor är speciella mappar som gör filer tillgängliga för ett team.","Spaces belong to a team and not to a single person. Even if members are removed, the files remain in the Space so that the team can continue to work on the files.":"Arbetsytor tillhör ett team och inte en enskild person. Även om medlemmar tas bort finns filerna kvar i arbetsytan så att teamet kan fortsätta arbeta med dem.","Members with the Manager role can add or remove other members from the Space.":"Medlemmar med rollen Manager kan lägga till eller ta bort andra medlemmar från arbetsytan.","A Space can have multiple Managers. Each Space has at least one Manager.":"En arbetsyta kan ha flera administratörer. Varje arbetsyta har minst en administratör.","Show members":"Visa medlemmar","You don't have access to any trashbins":"Du har inte tillgång till några papperskorgar","%{spaceCount} trash bin in total":["%{spaceCount} papperskorg totalt","%{spaceCount} papperskorgar totalt"],"%{spaceCount} trash bin in total (including %{emptyTrashCount} empty)":["%{spaceCount} papperskorg totalt (inklusive %{emptyTrashCount} tom)","%{spaceCount} papperskorgar totalt (inklusive %{emptyTrashCount} tomma)"],"%{spaceCount} matching trash bin":["%{spaceCount} matchande papperskorg","%{spaceCount} matchande papperskorgar"]}`),nd={},rd={},ld={Tags:"Теги",Search:"Пошук",Download:"Завантажити",Details:"Деталі"},cd=JSON.parse(`{"Paste here":"粘贴到这里","Clear clipboard":"清空剪贴板","You have no permission to paste files here.":"您没有权限在此处粘贴文件。","You cannot cut and paste resources into the same folder.":"您不能剪切并粘贴资源到同一个文件夹。","Shares pages navigation":"共享页面导航","Navigation":"导航","Shared with me":"与我共享","Shared with others":"与他人共享","Shared via link":"通过链接共享","Please wait until all imports have finished":"请等待所有导入操作完成","Folder":"文件夹","Files":"文件","New":"新建","Shortcut":"快捷方式","File name":"文件名","Cancel":"取消","Share link(s)":"共享链接","Save":"保存","Choose":"选择","Attach as copy":"作为副本附加","Show more":"显示更多","Show less":"显示更少","Resource not found":"未找到资源","We went looking everywhere, but were unable to find the selected resource.":"我们已全面查找,但未能找到所选资源。","Go to »Spaces Overview«":"前往»空间概览«","Go to »Personal« page":"前往»个人«页面","Reload public link":"重新加载公共链接","Password":"密码","Link was updated successfully":"链接已成功更新","Failed to update link":"更新链接失败","Type":"类型","Tags":"标签","Filter tags":"筛选标签","Last Modified":"最后修改","Title only":"仅标题","No results found":"未找到结果","Search for files":"搜索文件","today":"今天","yesterday":"昨天","this week":"本周","last week":"上周","last 7 days":"最近7天","this month":"本月","last month":"上个月","last 30 days":"最近30天","this year":"今年","last year":"去年","File":"文件","Document":"文档","Spreadsheet":"表格","Presentation":"演示","PDF":"PDF","Image":"图片","Video":"视频","Audio":"音频","Archive":"归档文件","Search results for \\"%{searchTerm}\\"":"\\"%{searchTerm}\\"的搜索结果","Search":"搜索","Showing up to %{searchLimit} results":"最多显示%{searchLimit}个结果","Found %{totalResults}, showing the %{itemCount} best matching results":"找到 %{totalResults} 条结果,显示匹配度最高的 %{itemCount} 条","Permanent link":"永久链接","Permanent link copied":"永久链接已复制","The permanent link has been copied to your clipboard.":"永久链接已复制到剪贴板。","Copy the link to point your team to this item. Works only for people with existing access.":"复制此链接以便您的团队访问此项目。仅对有现有访问权限的人员有效。","No activities":"没有活动","Showing %{activitiesCount} activity":"正在显示 %{activitiesCount} 条活动","Title":"标题","Duration":"时长","Authors":"作者","Album":"专辑","Genre":"流派","Year recorded":"录制年份","Track":"音轨","Disc":"唱片","Overview of the information about the selected file":"所选文件的信息概览","Deleted at":"删除于","Last modified":"最后修改","Locked via":"锁定在","Shared via":"共享在","Shared by":"共享人","Owner":"所有者","(me)":"(我)","Size":"大小","Version":"版本","No information to display":"没有要显示的信息","Navigate to '%{folder}'":"导航到 '\${folder}'","This folder has been shared.":"此文件夹已被共享。","This file has been shared.":"此文件已被共享。","See all versions":"查看所有版本","Overview of the information about the selected files":"所选文件的信息概览","Folders":"文件夹","Spaces":"空间","%{ itemCount } item selected":"已选择 %{ itemCount } 个项目","Deselect %{label}":"取消选择 %{label}","Enter text to create a Tag":"输入文本来创建标签","Tag must not consist of blanks only":"标签不得仅由空格组成","Failed to edit tags":"编辑标签失败","Search for tag %{tag}":"搜索标签 %{tag}","Dimensions":"尺寸","Device make":"设备制造商","Device model":"设备型号","Focal length":"焦距","F number":"光圈值","Exposure time":"曝光时间","ISO":"ISO","Orientation":"方向","Taken time":"花时间","Location":"位置","The location has been copied to your clipboard.":"位置已复制到剪贴板。","Copy location to clipboard":"复制位置到剪贴板","Select a file or folder to view details":"选择一个文件或文件夹以查看详细信息","Open context menu with share editing options":"打开包含分享编辑选项的上下文菜单","Edit share":"编辑共享","Access details":"访问详情","Resource is temporarily locked, unable to manage share":"资源暂时锁定,无法管理共享","Navigate to parent":"导航到上一级","Remove member":"移除成员","Remove share":"移除共享","Edit expiration date":"编辑过期日期","Set expiration date":"设置过期日期","Remove expiration date":"移除过期日期","Notify via mail":"通过邮件通知","Context menu of the share":"分享的上下文菜单","Account type":"账号类型","Loading users and groups":"正在加载用户和分组","Share type":"共享类型","Show more actions":"显示更多操作","Share options":"共享选项","Share":"共享","Person was added":"已添加人员","Share was added successfully":"共享已成功添加","Failed to add share for \\"%{displayName}\\"":"为 \\"%{displayName}\\" 添加分享失败","Internal":"内部","Internal users":"内部用户","External":"外部","External users":"外部用户","No external users found.":"未找到外部用户","No users or groups found.":"未找到用户或分组","Deselect %{name}":"取消选择 %{name}","Group":"群组","Guest user":"访客用户","External user":"外部用户","User":"用户","External user, registered with another organization’s account but granted access to your resources. External users can only have “view” or “edit” permission.":"外部用户,使用另一个组织的账户注册,但被授予访问您资源的权限。外部用户只能拥有“查看”或“编辑”权限。","Send a reminder":"发送提醒","Send":"发送","Are you sure you want to send a reminder about this share?":"确定要发送此分享的提醒吗?","Shared via the parent folder \\"%{sharedParentDir}\\"":"通过上一级文件夹\\"%{sharedParentDir}\\"共享","%{collaboratorName} (me)":"%{collaboratorName}(我)","Share receiver name: %{ displayName }":"共享接收人名字:%{displayName}","Name":"名称","Access expires":"访问过期时间","no":"否","Shared on":"共享于","Invited by":"邀请者","Failed to apply new permissions":"应用新权限失败","Failed to apply expiration date":"应用过期日期失败","Share successfully changed":"共享已成功更改","Error while editing the share.":"编辑分享时出错。","Select permission":"选择权限","Edit permission":"编辑权限","Custom permissions":"自定义权限","Role":"角色","Select role for the invitation":"为邀请选择角色","Dear user, please replace this legacy role with one of the currently available roles":"亲爱的用户,请将此旧版角色替换为当前可用的角色之一","Expires %{timeToExpiry} (%{expiryDate})":"%{timeToExpiry} 后过期(%{expiryDate})","Share expires %{ expiryDateRelative } (%{ expiryDate })":"共享过期于 %{ expiryDateRelative } (%{ expiryDate })","Public links":"公共链接","Add link":"添加链接","You do not have permission to create public links.":"您没有权限创建公开链接。","This space has no public links.":"此空间没有公开链接。","This folder has no public link.":"此文件夹没有公共链接。","This file has no public link.":"此文件没有共享链接。","Show":"显示","Hide":"隐藏","Indirect (%{ count })":"间接(%{ count })","Delete link":"删除链接","Are you sure you want to delete this link? Recreating the same link again is not possible.":"确定要删除此链接吗?无法再次创建相同的链接。","Delete":"删除","Link was deleted successfully":"链接已成功删除","Failed to delete link":"删除链接失败","Share with people":"与他人共享","Share receivers":"共享接收人","Shared with":"共享与","Space members":"空间成员","You don't have permission to share this file.":"您没有权限分享此文件。","You don't have permission to share this folder.":"您没有权限分享此文件夹。","Remove":"移除","Are you sure you want to remove this share?":"确定要移除此分享吗?","Share was removed successfully":"共享已成功移除","Failed to remove share":"移除分享失败","Copy link to clipboard":"复制链接到剪贴板","The link has been copied to your clipboard.":"链接已复制到剪贴板。","The link \\"%{linkName}\\" has been copied to your clipboard.":"链接\\"%{linkName}\\"已复制到剪贴板。","More options":"更多选项","Edit public link":"编辑公共链接","Edit name":"编辑名称","Link name":"链接名称","Link name cannot be empty":"链接名称不能为空","Link name cannot exceed 255 characters":"链接名称不能超过255个字符","Rename":"重命名","Edit password":"编辑密码","Remove password":"移除密码","Add password":"添加密码","This link is password-protected":"此链接受密码保护","Loading list of shares":"正在加载共享列表","Add members":"添加成员","Add":"添加","Members":"成员","Filter members":"筛选成员","Close filter":"关闭筛选","Are you sure you want to remove this member?":"确定要移除此成员吗?","Select a trash bin to view details":"选择一个回收站以查看详细信息","Restore":"恢复","Download":"下载","No versions available for this file":"此文件没有可用版本","Loading actions":"正在加载操作","Edit image":"编辑图片","Space image is loading":"空间图片正在加载","Show context menu":"显示上下文菜单","Open context menu and show members":"打开上下文菜单并显示成员","Loading members":"正在加载成员","Space description is loading":"空间描述正在加载","%{count} member":"%{count} 名成员","Crop image for »%{space}«":"裁剪»%{space}«的图片","Confirm":"确认","Set image":"设置图片","Details":"详情","Image Info":"图片信息","Audio Info":"音频信息","Actions":"操作","Shares":"共享","Versions":"版本","Activities":"活动","Personal":"个人","Insufficient quota":"配额不足","Insufficient quota on %{spaceName}. You need additional %{missingSpace} to upload these files":"%{spaceName} 上的配额不足。您需要额外的 %{missingSpace} 才能上传这些文件","Use the input field to search for users and groups. Select them to share the item.":"使用输入字段搜索用户和群组。选择他们以共享项目。","Subfolders":"子文件夹","If you share a folder, all of its contents and subfolders will be shared as well.":"如果您共享一个文件夹,其所有内容及子文件夹也将被共享。","Notification":"通知","People you share resources with will be notified via email or in-app notification.":"与您共享资源的人将通过电子邮件或应用内通知收到通知。","Incognito":"匿名模式","People you share resources with can not see who else has access.":"与您共享资源的人无法看到还有谁有访问权限。","“via folder”":"“通过文件夹”","The “via folder” is shown next to a share, if access has already been given via a parent folder. Click on the “via folder” to edit the share on its parent folder.":"如果已通过父文件夹授予访问权限,则共享旁边会显示“通过文件夹”。单击“通过文件夹”编辑其父文件夹上的共享。","Search for service or secondary Account":"搜索服务或二级帐户","To search for service or secondary accounts prefix the username with \\"a:\\" (like \\"a:doe\\") and for guest accounts prefix the username with \\"l:\\" (like \\"l:doe\\").":"要搜索服务账户或次要账户,在用户名前加\\"a:\\"(如\\"a:doe\\");访客账户在用户名前加\\"l:\\"(如\\"l:doe\\")。","Add members to this Space":"添加成员到此空间","Enter a name to add people or groups as members to this Space.":"输入名称以添加个人或群组作为此空间的成员。","Member capabilities":"成员能力","Members are able to see who has access to this space and access all files in this space. Read or write permissions can be set by assigning a role.":"成员可以查看谁有权访问此空间并访问此空间中的所有文件。可以通过分配角色来设置读取或写入权限。","Space manager capabilities":"空间管理员能力","Members with the Manager role are able to edit all properties and content of a Space, such as adding or removing members, sharing subfolders with non-members, or creating links to share.":"具有管理员角色的成员可以编辑空间的所有属性和内容,例如添加或删除成员、与非成员共享子文件夹或创建共享链接。","Choose how access is granted":"选择如何授予访问权限","No login required. Everyone with the link can access. If you share this link with people from the list \\"Invited people\\", they need to login so that their individual assigned permissions can take effect. If they are not logged-in, the permissions of the link take effect.":"无需登录。每个有链接的人都可以访问。如果您与“受邀人员”列表中的人员共享此链接,他们需要登录,以便其个人分配的权限生效。如果他们没有登录,链接的权限将生效。","What are indirect links?":"什么是间接链接?","Indirect links are links giving access by a parent folder.":"间接链接是通过父文件夹授予访问权限的链接。","How to edit indirect links":"如何编辑间接链接","Indirect links can only be edited in their parent folder. Click on the folder icon below the link to navigate to the parent folder.":"间接链接只能在其父文件夹中编辑。点击链接下方的文件夹图标导航到父文件夹。","Who can view tags?":"谁能查看标签?","Everyone who can view the file can view its tags. Likewise, everyone who can edit the file can edit its tags.":"所有可以查看文件的人都可以查看其标签。同样,所有可以编辑文件的人都可以编辑其标签。","Folder already exists":"文件夹已存在","File already exists":"文件已存在","Merge":"合并","Replace":"替换","Favorites":"收藏夹","Deleted files":"已删除文件","There are no resources marked as favorite":"没有被标记为收藏的资源","Drop files here to upload or click to select file":"拖放文件到此处上传,或点击选择文件","An error occurred while loading the public link":"加载公开链接时发生错误","Note: Transfer of nested folder structures is not possible. Instead, all files from the subfolders will be uploaded individually.":"注意:无法传输嵌套文件夹结构。相反,子文件夹中的所有文件都将单独上传。","%{owner} shared this folder with you for uploading":"%{owner} 与您共享此文件夹以上传文件","Share Type":"共享类型","Filter share types":"筛选分享类型","Shared By":"共享人","Filter shared by":"按分享者筛选","Hidden Shares":"隐藏的分享","OCM share":"OCM分享","Public files":"公共文件","Public link":"公共链接","This folder contains %{ amount } item.":"此文件夹包含 %{amount} 内容。","This folder has no content.":"此文件夹没有内容。","This trash bin is empty":"此回收站是空的","Learn about spaces":"了解空间","Unrestricted":"无限制","%{spaceCount} space in total":"共有 %{spaceCount} 个空间","%{spaceCount} space in total (including %{disabledSpaceCount} disabled)":"共有 %{spaceCount} 个空间(包含 %{disabledSpaceCount} 个已停用)","%{spaceCount} matching spaces":"%{spaceCount} 个匹配的空间","Spaces are special folders for making files accessible to a team.":"空间是用于团队可以访问文件的特殊文件夹。","Spaces belong to a team and not to a single person. Even if members are removed, the files remain in the Space so that the team can continue to work on the files.":"空间属于一个团队,而不是一个人。即使删除了成员,文件也会保留在空间中,以便团队可以继续处理文件。","Members with the Manager role can add or remove other members from the Space.":"具有管理员角色的成员可以在空间中添加或删除其他成员。","A Space can have multiple Managers. Each Space has at least one Manager.":"一个空间可以有多个管理员。每个空间至少有一名管理员。","Show members":"显示成员","You don't have access to any trashbins":"您无法访问任何回收站","%{spaceCount} trash bin in total":"回收站总数 %{spaceCount}","%{spaceCount} trash bin in total (including %{emptyTrashCount} empty)":"共计%{spaceCount}个回收站(包括%{emptyTrashCount}个空回收站)","%{spaceCount} matching trash bin":"%{spaceCount} 正在匹配回收站"}`),dd={af:Ic,ar:Pc,bg:Ec,cs:Lc,bs:_c,es:Nc,el:zc,de:Mc,fr:Oc,he:Vc,hr:jc,et:qc,gl:Uc,it:Bc,nl:Gc,pt:Hc,id:Wc,ja:Yc,pl:Kc,ka:Qc,ro:Zc,ko:Jc,ru:Xc,si:ed,sq:td,sk:sd,sr:od,ta:ad,sv:id,tr:nd,ug:rd,uk:ld,zh:cd},ud=8;class pd{component;router;searchFunction;configStore;constructor(s,i,l){this.component=Wa,this.router=s,this.searchFunction=i,this.configStore=l}search(s){return this.searchFunction(s,ud)}get available(){return t(this.router.currentRoute).name!=="search-provider-list"&&!this.configStore.options?.embed?.enabled}}const md={class:"flex"},hd={key:0,class:"files-search-result-filter flex flex-wrap mx-4 mb-4 mt-1"},fd=["data-test-id"],gd={class:"ml-2"},bd={class:"flex items-center"},vd={class:"ml-2"},yd=["textContent"],wd={class:"text-role-on-surface-variant"},kd=["textContent"],Sd=["textContent"],Cd=["innerHTML"],xd=["textContent"],Ad=Q({__name:"List",props:{searchResult:{default:()=>({totalResults:null,values:[]})},loading:{type:Boolean,default:!1}},emits:["search"],setup(e,{emit:s}){const i=s,l=mt(),n=Me(),c=Dt(),{$gettext:o}=ne(),{y:r}=Do(),p=Ee(),{getMatchingSpace:y}=Ke(),{buildSearchTerm:g}=Vo(),h=ve(),{initResourceList:v,clearResourceList:D,setAncestorMetaData:T}=h,{totalResourcesCount:f}=de(h),S=_e("term"),x=_e("scope"),I=_e("useScope"),{triggerDefaultAction:P}=Ft(),{folderView:F,paginatedResources:_,paginationPage:$,paginationPages:E,selectedResources:N,selectedResourcesIds:j,selectedResourceSpace:Y,sortBy:z,sortDir:V,sortFields:M,viewMode:Z,viewModes:q,viewSize:U,handleSort:J,isResourceInSelection:W,scrollToResourceFromRoute:B}=bt({folderViewExtensionPoint:Kt}),{loadPreview:O}=dt(Z),he=zs();qs(he,_,Z),Us(he,Z),sa(he);const oe=u(()=>Ne(t(S))),re=H([]),ee=Je("tagFilter"),te=Je("mediaTypeFilter"),pe=_e("q_tags"),K=_e("q_lastModified"),se=_e("q_mediaType"),fe=_e("q_titleOnly"),Ae=u(()=>l.searchContent?.enabled),Fe=u(()=>t(Ae)||t(re).length||l.searchLastMofifiedDate?.enabled),Ce=It(function*(De){const be=yield*Ot(p.graphAuthenticated.tags.listTags({signal:De}));re.value=[...be.map(le=>({id:le,label:le}))]});Si(()=>{ge.publish("app.search.term.clear")});const Ue={today:o("today"),yesterday:o("yesterday"),"this week":o("this week"),"last week":o("last week"),"last 7 days":o("last 7 days"),"this month":o("this month"),"last month":o("last month"),"last 30 days":o("last 30 days"),"this year":o("this year"),"last year":o("last year")},we=Je("lastModifiedFilter"),G=H(l.searchLastMofifiedDate.keywords?.map(De=>({id:De,label:Ue[De]}))||[]),Be={file:{label:o("File"),icon:"txt"},folder:{label:o("Folder"),icon:"folder"},document:{label:o("Document"),icon:"doc"},spreadsheet:{label:o("Spreadsheet"),icon:"xls"},presentation:{label:o("Presentation"),icon:"ppt"},pdf:{label:o("PDF"),icon:"pdf"},image:{label:o("Image"),icon:"jpg"},video:{label:o("Video"),icon:"mp4"},audio:{label:o("Audio"),icon:"mp3"},archive:{label:o("Archive"),icon:"zip"}},Le=u(()=>(l.searchMediaType.keywords?.filter(De=>Be[De])||[]).map(De=>({id:De,...Be[De]}))),it=De=>({type:"file",extension:De.icon,isFolder:De.icon=="folder"}),nt=u(()=>!!t(K)||!!t(se)||!!t(fe)||!!t(S)),ae=(De=!1)=>{const be=Ne(t(fe))=="true",le=Ne(t(pe)),ke=Ne(t(K)),jt=Ne(t(se)),la=g({term:t(oe),isTitleOnlySearch:be,tags:le,lastModified:ke,mediaType:jt,scope:Ne(t(x)),useScope:t(I)==="true"}),ps=Gs=>{De&&t(Gs)&&t(Gs).setSelectedItemsBasedOnQuery()};return le&&ps(ee),ke&&ps(we),jt&&ps(te),la},ie=u(()=>[{text:t(oe)?o('Search results for "%{searchTerm}"',{searchTerm:t(oe)}):o("Search")}]),St=u(()=>t(f).files+t(f).folders),rt=u(()=>e.searchResult.totalResults),lt=u(()=>!t(rt)||e.searchResult.totalResults&&e.searchResult.totalResults>ws),us=u(()=>t(rt)?o("Found %{totalResults}, showing the %{itemCount} best matching results",{itemCount:t(St).toString(),totalResults:e.searchResult.totalResults.toString()}):o("Showing up to %{searchLimit} results",{searchLimit:ws.toString()}));return Pe(async()=>{D(),T({}),l.filesTags&&await Ce.perform(),i("search",ae())}),$e(()=>t(c).query,(De,be)=>{if($a(n,"files-common-search")){{const le=De?.term===be?.term,ke=["q_titleOnly","q_tags","q_lastModified","q_mediaType","useScope"].every(jt=>De[jt]===be[jt]);if(le&&ke)return}i("search",ae(!0))}},{deep:!0}),$e(()=>e.searchResult,async()=>{e.searchResult&&(D(),v({currentFolder:null,resources:e.searchResult.values.length?e.searchResult.values.map(De=>De.data):[]}),await He(),B(t(_),"files-app-bar"))}),(De,be)=>{const le=k("oc-icon");return a(),w("div",md,[b(gt,null,{default:A(()=>[b(t(ht),{breadcrumbs:ie.value,"has-bulk-actions":!0,"view-modes":t(q)},null,8,["breadcrumbs","view-modes"]),be[11]||(be[11]=d()),Fe.value?(a(),w("div",hd,[Le.value.length?(a(),R(t(zt),{key:0,ref_key:"mediaTypeFilter",ref:te,"allow-multiple":!0,"filter-label":t(o)("Type"),"filterable-attributes":["label"],items:Le.value,class:"mr-2","display-name-attribute":"label","filter-name":"mediaType"},{image:A(({item:ke})=>[m("div",{class:"flex items-center","data-test-id":`media-type-${ke.id.toLowerCase()}`},[b(t(Mt),{resource:it(ke)},null,8,["resource"]),be[2]||(be[2]=d()),m("span",gd,C(ke.label),1)],8,fd)]),_:1},8,["filter-label","items"])):L("",!0),be[4]||(be[4]=d()),re.value.length?(a(),R(t(zt),{key:1,ref_key:"tagFilter",ref:ee,"allow-multiple":!0,"filter-label":t(o)("Tags"),"filterable-attributes":["label"],items:re.value,"option-filter-label":t(o)("Filter tags"),"show-option-filter":!0,class:"files-search-filter-tags mr-2","display-name-attribute":"label","filter-name":"tags"},{image:A(({item:ke})=>[m("div",bd,[b(le,{name:"price-tag-3",size:"small"}),be[3]||(be[3]=d()),m("span",vd,C(ke.label),1)])]),_:1},8,["filter-label","items","option-filter-label"])):L("",!0),be[5]||(be[5]=d()),G.value.length?(a(),R(t(zt),{key:2,ref_key:"lastModifiedFilter",ref:we,"filter-label":t(o)("Last Modified"),"filterable-attributes":["label"],items:G.value,"show-option-filter":!1,"close-on-click":!0,class:"files-search-filter-last-modified mr-2","display-name-attribute":"label","filter-name":"lastModified"},{item:A(({item:ke})=>[m("span",{textContent:C(ke.label)},null,8,yd)]),_:1},8,["filter-label","items"])):L("",!0),be[6]||(be[6]=d()),Ae.value?(a(),R(t(Ya),{key:3,"filter-label":t(o)("Title only"),"filter-name":"titleOnly",class:"files-search-filter-title-only mr-2"},null,8,["filter-label"])):L("",!0)])):L("",!0),be[12]||(be[12]=d()),e.loading?(a(),R(t(at),{key:1})):(a(),w(X,{key:2},[t(_).length?(a(),R(ct(t(F).component),{key:1,"selected-ids":t(j),"onUpdate:selectedIds":be[0]||(be[0]=ke=>Ts(j)?j.value=ke:null),"header-position":t(r),resources:t(_),"are-paths-displayed":!0,"has-actions":!0,"is-selectable":!0,"sort-by":t(z),"sort-dir":t(V),"fields-displayed":["name","size","tags","mdate"],"sort-fields":t(M).filter(ke=>ke.name==="name"),"view-mode":t(Z),"view-size":t(U),onFileClick:t(P),onItemVisible:be[1]||(be[1]=ke=>t(O)({space:t(y)(ke),resource:ke})),onSort:t(J)},{additionalResourceContent:A(({resource:ke})=>[ke.highlights?(a(),w("span",{key:0,class:"truncate block text-sm [&_mark]:bg-yellow-200 [&_mark]:font-semibold",innerHTML:ke.highlights},null,8,Cd)):L("",!0)]),contextMenu:A(({resource:ke})=>[t(W)(ke)?(a(),R(t($t),{key:0,"action-options":{space:t(y)(ke),resources:t(N)}},null,8,["action-options"])):L("",!0)]),footer:A(()=>[b(t(Rt),{pages:t(E),"current-page":t($)},null,8,["pages","current-page"]),be[8]||(be[8]=d()),lt.value?(a(),w("div",{key:0,class:"text-center w-full my-2",textContent:C(us.value)},null,8,xd)):t(_).length>0?(a(),R(Pt,{key:1,class:"w-full my-2"})):L("",!0)]),_:1},40,["selected-ids","header-position","resources","sort-by","sort-dir","sort-fields","view-mode","view-size","onFileClick","onSort"])):(a(),R(t(ot),{key:0,"img-src":"/images/empty-states/empty-search-results.svg"},{message:A(()=>[m("p",wd,[m("span",{textContent:C(nt.value?t(o)("No results found"):t(o)("Search for files"))},null,8,kd)])]),callToAction:A(()=>[m("span",{textContent:C(nt.value?t(o)("Try refining the search term or filters to get results"):t(o)("Adjust the search term or filters to get results"))},null,8,Sd)]),_:1}))],64))]),_:1}),be[13]||(be[13]=d()),b(t(ft),{space:t(Y)},null,8,["space"])])}}}),ws=200;class Td{component;searchFunction;constructor(s){this.component=Ad,this.searchFunction=s}search(s){return this.searchFunction(s,ws)}}class Dd{id;displayName;previewSearch;listSearch;capabilityStore;constructor(s,i,l,n){this.id="files.sdk",this.displayName="Files",this.previewSearch=new pd(i,l,n),this.listSearch=new Td(l),this.capabilityStore=s}get available(){return this.capabilityStore.davReports.includes("search-files")}}const $d={id:"oc-file-details-multiple-sidebar",class:"p-4 bg-role-surface-container rounded-sm"},Fd={class:"mb-6 text-center rounded-sm"},Rd=["textContent"],Id=Q({__name:"FileDetailsMultiple",props:{showSpaceCount:{type:Boolean,default:!1}},setup(e){const{$gettext:s,$ngettext:i,current:l}=ne(),n=ve(),{selectedResources:c}=de(n),o=u(()=>t(c).some(T=>Object.hasOwn(T,"size"))),r=u(()=>t(c).filter(T=>T.type==="file").length),p=u(()=>t(c).filter(T=>T.type==="folder").length),y=u(()=>t(c).filter(T=>T.type==="space").length),g=u(()=>{let T=0;return t(c).forEach(f=>T+=parseInt(f.size?.toString()||"0")),pt(T,l)}),h=u(()=>[{term:s("Files"),definition:t(r).toString()},{term:s("Folders"),definition:t(p).toString()},...e.showSpaceCount&&[{term:s("Spaces"),definition:t(y).toString()}]||[],...t(o)&&[{term:s("Size"),definition:t(g).toString()}]||[]]),v=u(()=>t(c).length),D=u(()=>i("%{ itemCount } item selected","%{ itemCount } items selected",t(v),{itemCount:t(v).toString()}));return(T,f)=>{const S=k("oc-icon"),x=k("oc-definition-list");return a(),w("div",$d,[m("div",Fd,[m("div",null,[b(S,{size:"xxlarge",name:"file-copy"}),f[0]||(f[0]=d()),m("p",{"data-testid":"selectedFilesText",textContent:C(D.value)},null,8,Rd)])]),f[1]||(f[1]=d()),m("div",null,[b(x,{"aria-label":t(s)("Overview of the information about the selected files"),items:h.value,class:"m-0"},null,8,["aria-label","items"])])])}}}),Pd=Q({name:"ExifPanel",setup(){const e=me("resource"),s=ne(),{$gettext:i}=s,{showMessage:l}=et(),{copy:n,copied:c,isSupported:o}=Ds({legacy:!0,copiedDuring:550}),r=u(()=>{const F=t(e).image,_=F?.width,$=F?.height;return!_||!$?"-":[5,6,7,8].includes(t(e).photo?.orientation)?`${$}x${_}`:`${_}x${$}`}),p=u(()=>t(e).photo?.cameraMake||"-"),y=u(()=>t(e).photo?.cameraModel||"-"),g=u(()=>{const F=t(e).photo;return F?.focalLength?`${F.focalLength} mm`:"-"}),h=u(()=>{const F=t(e).photo;return F?.fNumber?`f/${F.fNumber}`:"-"}),v=u(()=>{const F=t(e).photo;return F?.exposureDenominator?`${F.exposureNumerator}/${F.exposureDenominator}`:"-"}),D=u(()=>t(e).photo?.iso||"-"),T=u(()=>t(e).photo?.orientation||"-"),f=u(()=>{const F=t(e).photo;return F?.takenDateTime?Ei(F.takenDateTime,s.current):"-"}),S=u(()=>{const F=t(e).location;return!F?.latitude||!F?.longitude?"-":`${F.latitude}, ${F.longitude}`}),x=u(()=>{if(!t(o))return!1;const F=t(e).location;return F?.latitude&&F?.longitude}),I=()=>{n(t(S)),l({title:i("The location has been copied to your clipboard.")})},P=u(()=>i("Copy location to clipboard"));return{dimensions:r,cameraMake:p,cameraModel:y,focalLength:g,fNumber:h,exposureTime:v,iso:D,orientation:T,takenDateTime:f,location:S,isCopyToClipboardAvailable:x,isCopiedToClipboard:c,copyLocationToClipboardLabel:P,copyLocationToClipboard:I}}}),Ed={id:"files-sidebar-panel-exif",class:"rounded-sm p-4 bg-role-surface-container"},Ld={class:"details-list grid grid-cols-[auto_minmax(0,1fr)] m-0"},_d=["textContent"],Nd=["textContent"],zd=["textContent"],Md=["textContent"],Od=["textContent"],Vd=["textContent"],jd=["textContent"],qd=["textContent"],Ud=["textContent"],Bd=["textContent"],Gd=["textContent"],Hd=["textContent"],Wd=["textContent"],Yd=["textContent"],Kd=["textContent"],Qd=["textContent"],Zd=["textContent"],Jd=["textContent"],Xd=["textContent"],eu={key:0,"data-testid":"exif-panel-location"},tu=["textContent"];function su(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button"),p=Re("oc-tooltip");return a(),w("div",Ed,[m("dl",Ld,[m("dt",{textContent:C(e.$gettext("Dimensions"))},null,8,_d),s[1]||(s[1]=d()),m("dd",{"data-testid":"exif-panel-dimensions",textContent:C(e.dimensions)},null,8,Nd),s[2]||(s[2]=d()),m("dt",{textContent:C(e.$gettext("Device make"))},null,8,zd),s[3]||(s[3]=d()),m("dd",{"data-testid":"exif-panel-cameraMake",textContent:C(e.cameraMake)},null,8,Md),s[4]||(s[4]=d()),m("dt",{textContent:C(e.$gettext("Device model"))},null,8,Od),s[5]||(s[5]=d()),m("dd",{"data-testid":"exif-panel-cameraModel",textContent:C(e.cameraModel)},null,8,Vd),s[6]||(s[6]=d()),m("dt",{textContent:C(e.$gettext("Focal length"))},null,8,jd),s[7]||(s[7]=d()),m("dd",{"data-testid":"exif-panel-focalLength",textContent:C(e.focalLength)},null,8,qd),s[8]||(s[8]=d()),m("dt",{textContent:C(e.$gettext("F number"))},null,8,Ud),s[9]||(s[9]=d()),m("dd",{"data-testid":"exif-panel-fNumber",textContent:C(e.fNumber)},null,8,Bd),s[10]||(s[10]=d()),m("dt",{textContent:C(e.$gettext("Exposure time"))},null,8,Gd),s[11]||(s[11]=d()),m("dd",{"data-testid":"exif-panel-exposureTime",textContent:C(e.exposureTime)},null,8,Hd),s[12]||(s[12]=d()),m("dt",{textContent:C(e.$gettext("ISO"))},null,8,Wd),s[13]||(s[13]=d()),m("dd",{"data-testid":"exif-panel-iso",textContent:C(e.iso)},null,8,Yd),s[14]||(s[14]=d()),m("dt",{textContent:C(e.$gettext("Orientation"))},null,8,Kd),s[15]||(s[15]=d()),m("dd",{"data-testid":"exif-panel-orientation",textContent:C(e.orientation)},null,8,Qd),s[16]||(s[16]=d()),m("dt",{textContent:C(e.$gettext("Taken time"))},null,8,Zd),s[17]||(s[17]=d()),m("dd",{"data-testid":"exif-panel-takenDateTime",textContent:C(e.takenDateTime)},null,8,Jd),s[18]||(s[18]=d()),m("dt",{textContent:C(e.$gettext("Location"))},null,8,Xd),s[19]||(s[19]=d()),e.isCopyToClipboardAvailable?(a(),w("dd",eu,[m("span",null,C(e.location),1),s[0]||(s[0]=d()),e.location?Se((a(),R(r,{key:0,size:"small",appearance:"raw",class:"ml-2","aria-label":e.copyLocationToClipboardLabel,"no-hover":"",onClick:e.copyLocationToClipboard},{default:A(()=>[b(o,{size:"small",name:e.isCopiedToClipboard?"checkbox-circle":"file-copy"},null,8,["name"])]),_:1},8,["aria-label","onClick"])),[[p,e.copyLocationToClipboardLabel]]):L("",!0)])):(a(),w("dd",{key:1,"data-testid":"exif-panel-location",textContent:C(e.location)},null,8,tu))])])}const ou=ue(Pd,[["render",su]]),au=Q({name:"FileVersions",props:{isReadOnly:{type:Boolean,required:!1,default:!1}},setup(e){const s=Ee(),i=ne(),{downloadFile:l}=li({clientService:s}),{updateResourceField:n}=ve(),c=me("space"),o=me("resource"),r=me("versions"),p=u(()=>e.isReadOnly?!1:(wt(t(c))||t(o).isReceivedShare())&&t(o).permissions!==void 0?t(o).permissions.includes(Fa.Updateable):!0);return{space:c,resource:o,versions:r,isRevertible:p,revertToVersion:async T=>{await s.webdav.restoreFileVersion(t(c),t(o),T.name);const f=await s.webdav.getFileInfo(t(c),t(o)),S=["size","mdate"];for(const x of S)Object.prototype.hasOwnProperty.call(t(o),x)&&n({id:t(o).id,field:x,value:f[x]})},downloadVersion:T=>l(t(c),t(o),T.name),formatVersionDateRelative:T=>Li(T.mdate,i.current),formatVersionDate:T=>qo(new Date(T.mdate),i.current),formatVersionFileSize:T=>pt(T.size,i.current)}}}),iu={id:"oc-file-versions-sidebar"},nu={key:0,class:"ml-2"},ru={class:"version-date font-semibold","data-testid":"file-versions-file-last-modified-date"},lu={"data-testid":"file-versions-file-size"},cu={key:1},du=["textContent"];function uu(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button"),p=k("oc-list"),y=Re("oc-tooltip");return a(),w("div",iu,[e.versions.length?(a(),w("div",nu,[b(p,{class:"oc-timeline"},{default:A(()=>[(a(!0),w(X,null,Te(e.versions,(g,h)=>(a(),w("li",{key:h},[m("div",null,[Se((a(),w("span",ru,[d(C(e.formatVersionDateRelative(g)),1)])),[[y,e.formatVersionDate(g)]]),s[0]||(s[0]=d(` + - + `,-1)),m("span",lu,C(e.formatVersionFileSize(g)),1)]),s[1]||(s[1]=d()),e.isRevertible?(a(),R(r,{key:0,"data-testid":"file-versions-revert-button",appearance:"raw","justify-content":"left","aria-label":e.$gettext("Restore"),class:"w-full rounded-sm oc-button-justify-content-left oc-button-gap-m py-2 px-4",onClick:v=>e.revertToVersion(g)},{default:A(()=>[b(o,{name:"history",class:"oc-icon-m mr-2 -mt-1","fill-type":"line"}),d(" "+C(e.$gettext("Restore")),1)]),_:1},8,["aria-label","onClick"])):L("",!0),s[2]||(s[2]=d()),b(r,{"data-testid":"file-versions-download-button","justify-content":"left",appearance:"raw","aria-label":e.$gettext("Download"),class:"w-full rounded-sm c-button-gap-m py-2 px-4",onClick:v=>e.downloadVersion(g)},{default:A(()=>[b(o,{name:"file-download",class:"oc-icon-m mr-2","fill-type":"line"}),d(" "+C(e.$gettext("Download")),1)]),_:1},8,["aria-label","onClick"])]))),128))]),_:1})])):(a(),w("div",cu,[m("p",{"data-testid":"file-versions-no-versions",textContent:C(e.$gettext("No versions available for this file"))},null,8,du)]))])}const pu=ue(au,[["render",uu]]),mu=Q({name:"SetLinkPasswordModal",props:{modal:{type:Object,required:!0},space:{type:Object,required:!0},resource:{type:Object,required:!0},link:{type:Object,required:!0},callbackFn:{type:Function,default:void 0}},emits:["confirm","update:confirmDisabled"],setup(e,{expose:s}){const{showMessage:i,showErrorMessage:l}=et(),n=Ee(),c=Ka(),{$gettext:o}=ne(),{updateLink:r}=kt(),p=H(""),y=H(),g=v=>{p.value=v,y.value=void 0},h=async()=>{try{if(await r({clientService:n,space:e.space,resource:e.resource,linkShare:e.link,options:{password:t(p)}}),e.callbackFn){e.callbackFn();return}i({title:o("Link was updated successfully")})}catch(v){if(v.response?.status===400){const D=v.response.data.error.message;return y.value=o(po(D)),Promise.reject()}l({title:o("Failed to update link"),errors:[v]})}};return s({onConfirm:h}),{password:p,onInput:g,errorMessage:y,passwordPolicyService:c,inputPasswordPolicy:c.getPolicy({enforcePassword:!0}),inputGeneratePasswordMethod:()=>c.generatePassword(),onConfirm:h}}});function hu(e,s,i,l,n,c){const o=k("oc-text-input");return a(),R(o,{"model-value":e.password,label:e.$gettext("Password"),type:"password","password-policy":e.inputPasswordPolicy,"generate-password-method":e.inputGeneratePasswordMethod,placeholder:e.link.hasPassword?"●●●●●●●●":null,"error-message":e.errorMessage,class:"oc-modal-body-input","required-mark":"",onPasswordChallengeCompleted:s[0]||(s[0]=r=>e.$emit("update:confirmDisabled",!1)),onPasswordChallengeFailed:s[1]||(s[1]=r=>e.$emit("update:confirmDisabled",!0)),onKeydown:s[2]||(s[2]=Ra(is(r=>e.$emit("confirm"),["prevent"]),["enter"])),"onUpdate:modelValue":e.onInput},null,8,["model-value","label","password-policy","generate-password-method","placeholder","error-message","onUpdate:modelValue"])}const fu=ue(mu,[["render",hu]]),gu=Q({name:"ExpirationDateIndicator",props:{expirationDate:{type:Object,required:!1,default:null}},setup(e){const{$gettext:s,current:i}=ne(),l=u(()=>_i(e.expirationDate,i)),n=u(()=>os(e.expirationDate,i)),c=u(()=>s("Expires %{timeToExpiry} (%{expiryDate})",{timeToExpiry:t(l),expiryDate:t(n)})),o=u(()=>s("Share expires %{ expiryDateRelative } (%{ expiryDate })",{expiryDateRelative:t(l),expiryDate:t(n)}));return{expirationDateTooltip:c,screenreaderShareExpiration:o}}}),bu={class:"flex justify-center"},vu=["textContent"];function yu(e,s,i,l,n,c){const o=k("oc-icon"),r=Re("oc-tooltip");return a(),w("div",bu,[Se(b(o,{"aria-label":e.expirationDateTooltip,name:"calendar-event","fill-type":"line"},null,8,["aria-label"]),[[r,e.expirationDateTooltip]]),s[0]||(s[0]=d()),m("span",{class:"sr-only",textContent:C(e.screenreaderShareExpiration)},null,8,vu)])}const Bs=ue(gu,[["render",yu]]),wu=Q({name:"CopyLink",props:{linkShare:{type:Object,required:!0}},setup(e){const{$gettext:s}=ne(),{showMessage:i}=et(),{copy:l,copied:n,isSupported:c}=Ds({legacy:!0,copiedDuring:550});return{copied:n,copyLinkToClipboard:()=>{l(e.linkShare.webUrl),i({title:e.linkShare.isQuickLink?s("The link has been copied to your clipboard."):s('The link "%{linkName}" has been copied to your clipboard.',{linkName:e.linkShare.displayName})})},isClipboardCopySupported:c}}});function ku(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button"),p=Re("oc-tooltip");return e.isClipboardCopySupported?Se((a(),R(r,{key:0,"aria-label":e.$gettext("Copy link to clipboard"),appearance:"raw",class:"oc-files-public-link-copy-url raw-hover-surface p-1",onClick:e.copyLinkToClipboard},{default:A(()=>[b(o,{name:e.copied?"checkbox-circle":"file-copy","fill-type":"line"},null,8,["name"])]),_:1},8,["aria-label","onClick"])),[[p,e.$gettext("Copy link to clipboard")]]):L("",!0)}const Su=ue(wu,[["render",ku]]),Cu=Q({name:"ContextMenuItem",props:{option:{type:Object,required:!0}}}),xu=["textContent"];function Au(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button");return a(),R(r,{appearance:"raw",class:"p-2","justify-content":"left",type:e.option.to?"router-link":"button",to:e.option.to,onClick:e.option.method},{default:A(()=>[b(o,{name:e.option.icon,"fill-type":"line",size:"medium"},null,8,["name"]),s[0]||(s[0]=d()),m("span",{textContent:C(e.option.title)},null,8,xu)]),_:1},8,["type","to","onClick"])}const Tu=ue(Cu,[["render",Au]]),Du=Q({name:"EditDropdown",components:{ContextMenuItem:Tu},props:{canRename:{type:Boolean,default:!1},isModifiable:{type:Boolean,default:!1},isPasswordRemovable:{type:Boolean,default:!1},linkShare:{type:Object,required:!0}},emits:["removePublicLink","updateLink","showPasswordModal"],setup(e,{emit:s}){const{dispatchModal:i}=ut(),{$gettext:l}=ne(),{getMatchingSpace:n}=Ke(),c=ve(),o=Je("editPublicLinkDropdown"),r=me("resource"),p=()=>{const f=st.fromISO(e.linkShare.expirationDateTime);i({title:l("Set expiration date"),hideActions:!0,customComponent:Es,customComponentAttrs:()=>({currentDate:f.isValid?f:null,minDate:st.now()}),onConfirm:S=>{s("updateLink",{linkShare:{...e.linkShare},options:{expirationDateTime:S}})}})},y=u(()=>e.linkShare.indirect?c.getAncestorById(e.linkShare.resourceId):null),g=u(()=>{const f=n(t(r));return!f||!t(y)?{}:Ze("files-spaces-generic",Tt(f,{path:t(y).path,fileId:t(y).id}))}),h=u(()=>({id:"delete",title:l("Delete link"),method:()=>{s("removePublicLink",{link:e.linkShare}),t(o).hide()},icon:"delete-bin-5"})),v=u(()=>({id:"open-shared-via",title:l("Navigate to parent"),icon:"folder-shared",to:t(g)})),D=()=>{i({title:l("Edit name"),confirmText:l("Save"),hasInput:!0,inputValue:e.linkShare.displayName,inputLabel:l("Link name"),inputRequiredMark:!0,onInput:(f,S)=>f.length?f.length>255?S(l("Link name cannot exceed 255 characters")):S(null):S(l("Link name cannot be empty")),onConfirm:f=>{const S=e.linkShare;s("updateLink",{linkShare:S,options:{displayName:f}})}})},T=u(()=>{const f=[];return e.isModifiable&&(e.canRename&&f.push({id:"rename",title:l("Rename"),icon:"pencil",method:D}),e.linkShare.expirationDateTime?(f.push({id:"edit-expiration",title:l("Edit expiration date"),icon:"calendar-event",method:p}),f.push({id:"remove-expiration",title:l("Remove expiration date"),icon:"calendar-close",method:()=>{s("updateLink",{linkShare:{...e.linkShare},options:{expirationDateTime:null}}),t(o).hide()}})):f.push({id:"add-expiration",title:l("Set expiration date"),method:p,icon:"calendar-event"}),e.linkShare.hasPassword&&(f.push({id:"edit-password",title:l("Edit password"),icon:"lock-password",method:()=>s("showPasswordModal")}),e.isPasswordRemovable&&f.push({id:"remove-password",title:l("Remove password"),icon:"lock-unlock",method:()=>s("updateLink",{linkShare:e.linkShare,options:{password:""}})})),e.linkShare.hasPassword||f.push({id:"add-password",title:l("Add password"),icon:"lock-password",method:()=>s("showPasswordModal")})),f});return{editPublicLinkDropdown:o,sharedAncestor:y,editOptions:T,deleteOption:h,navigateToParentOption:v}}}),$u={key:0,class:"flex"};function Fu(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button"),p=k("context-menu-item"),y=k("oc-list"),g=k("oc-drop");return e.isModifiable||e.sharedAncestor?(a(),w("div",$u,[b(r,{id:`edit-public-link-dropdown-toggl-${e.linkShare.id}`,"aria-label":e.$gettext("More options"),appearance:"raw",class:"edit-drop-trigger raw-hover-surface p-1"},{default:A(()=>[b(o,{name:"more-2"})]),_:1},8,["id","aria-label"]),s[2]||(s[2]=d()),b(g,{ref:"editPublicLinkDropdown",title:e.$gettext("Edit public link"),"drop-id":"edit-public-link-dropdown",toggle:`#edit-public-link-dropdown-toggl-${e.linkShare.id}`,"padding-size":"small","close-on-click":"",mode:"click"},{default:A(()=>[e.editOptions.length>0?(a(),R(y,{key:0},{default:A(()=>[(a(!0),w(X,null,Te(e.editOptions,(h,v)=>(a(),w("li",{key:v},[b(p,{option:h},null,8,["option"])]))),128))]),_:1})):L("",!0),s[0]||(s[0]=d()),e.sharedAncestor?(a(),R(y,{key:1,class:ye(["edit-public-link-dropdown-menu-navigate-to-parent",{"pt-2":e.editOptions.length>0}])},{default:A(()=>[m("li",null,[b(p,{option:e.navigateToParentOption},null,8,["option"])])]),_:1},8,["class"])):L("",!0),s[1]||(s[1]=d()),e.isModifiable?(a(),R(y,{key:2,class:ye(["edit-public-link-dropdown-menu-delete mt-2 border-t",{"pt-2":e.editOptions.length>0}])},{default:A(()=>[m("li",null,[b(p,{option:e.deleteOption},null,8,["option"])])]),_:1},8,["class"])):L("",!0)]),_:1},8,["title","toggle"])])):L("",!0)}const Ru=ue(Du,[["render",Fu]]),Iu={class:"w-full flex items-center justify-between"},Pu={class:"flex items-center"},Eu={class:"grid pl-2"},Lu=["textContent"],_u={class:"flex flex-nowrap items-center"},Nu=["textContent"],zu={class:"flex items-center"},Mu={class:"flex"},oo=Q({__name:"ListItem",props:{linkShare:{},canRename:{type:Boolean,default:!1},isFolderShare:{type:Boolean,default:!1},isModifiable:{type:Boolean,default:!1},isPasswordRemovable:{type:Boolean,default:!1}},emits:["removePublicLink","updateLink"],setup(e,{emit:s}){const i=s,{dispatchModal:l}=ut(),{$gettext:n}=ne(),{can:c}=Os(),{getAvailableLinkTypes:o,getLinkRoleByType:r,isPasswordEnforcedForLinkType:p}=So(),y=me("space"),g=me("resource"),h=H(e.linkShare.type),v=u(()=>c("delete-all","ReadOnlyPublicLinkPassword")),D=I=>{h.value=I;const P=t(v)&&I===mo.View;if(!e.linkShare.hasPassword&&!P&&p(I)){T(()=>i("updateLink",{linkShare:{...e.linkShare},options:{type:I}}));return}i("updateLink",{linkShare:e.linkShare,options:{type:I}})},T=(I=void 0)=>{l({title:e.linkShare.hasPassword?n("Edit password"):n("Add password"),customComponent:fu,customComponentAttrs:()=>({space:t(y),resource:t(g),link:e.linkShare,...I&&{callbackFn:I}})})},f=u(()=>o({isFolder:e.isFolderShare})),S=u(()=>r(t(h))?.description||""),x=u(()=>r(t(h))?.displayName||"");return(I,P)=>{const F=k("oc-avatar-item"),_=k("oc-icon"),$=Re("oc-tooltip");return a(),w("div",Iu,[m("div",Pu,[b(F,{width:36,"icon-size":"medium",icon:"link",name:"link"}),P[3]||(P[3]=d()),m("div",Eu,[m("span",{class:"files-links-name truncate",textContent:C(e.linkShare.displayName)},null,8,Lu),P[2]||(P[2]=d()),m("div",_u,[e.isModifiable?(a(),R(t(Qa),{key:0,"model-value":h.value,"available-link-type-options":f.value,"onUpdate:modelValue":D},null,8,["model-value","available-link-type-options"])):Se((a(),w("span",{key:1,class:"link-current-role",textContent:C(t(n)(x.value))},null,8,Nu)),[[$,t(n)(S.value)]])])])]),P[7]||(P[7]=d()),m("div",zu,[m("div",Mu,[e.linkShare.hasPassword?Se((a(),R(_,{key:0,name:"lock-password",class:"oc-files-file-link-has-password ml-1 p-1","fill-type":"line","aria-label":t(n)("This link is password-protected")},null,8,["aria-label"])),[[$,t(n)("This link is password-protected")]]):L("",!0)]),P[4]||(P[4]=d()),e.linkShare.expirationDateTime?(a(),R(Bs,{key:0,"expiration-date":t(st).fromISO(e.linkShare.expirationDateTime),class:"ml-1"},null,8,["expiration-date"])):L("",!0),P[5]||(P[5]=d()),b(Su,{"link-share":e.linkShare,class:"ml-1"},null,8,["link-share"]),P[6]||(P[6]=d()),b(Ru,{"can-rename":e.canRename,"is-modifiable":e.isModifiable,"is-password-removable":e.isPasswordRemovable,"link-share":e.linkShare,class:"ml-1",onRemovePublicLink:P[0]||(P[0]=E=>I.$emit("removePublicLink",E)),onUpdateLink:P[1]||(P[1]=E=>I.$emit("updateLink",E)),onShowPasswordModal:T},null,8,["can-rename","is-modifiable","is-password-removable","link-share"])])])}}}),Ou={id:"oc-files-file-link",class:"relative rounded-sm"},Vu={class:"flex items-center"},ju=["textContent"],qu=["textContent"],Uu=["aria-label"],Bu={key:2,class:"flex justify-center"},Gu=["textContent"],Hu={class:"mt-4"},Wu=["textContent"],Yu=["textContent"],Ku={key:3,class:"mt-4"},Qu={class:"font-semibold text-base m-0"},Zu=["aria-label"],Ju={class:"flex justify-center"},Xu=["textContent"],ep=Q({__name:"FileLinks",setup(e){const s=Me(),{showMessage:i,showErrorMessage:l}=et(),{$gettext:n}=ne(),c=Os(),o=Ee(),{can:r}=c,{dispatchModal:p}=ut(),{removeResources:y}=ve(),{isPasswordEnforcedForLinkType:g}=So(),{canShare:h}=_s(),v=u(()=>c.can("create-all","PublicLink")?h({space:t(_),resource:t($)}):!1),D=kt(),{updateLink:T,deleteLink:f}=D,{linkShares:S}=de(D),x=We(),{options:I}=de(x),{actions:P}=ho(),F=u(()=>t(P).find(({name:K})=>K==="create-links")),_=me("space"),$=me("resource"),E=H(!0),N=H(!0),j=u(()=>t(S).filter(K=>!K.indirect).sort((K,se)=>se.createdDateTime.localeCompare(K.createdDateTime)).map(K=>({...K,key:"direct-link-"+K.id}))),Y=u(()=>t(S).filter(K=>K.indirect).sort((K,se)=>se.createdDateTime.localeCompare(K.createdDateTime)).map(K=>({...K,key:"indirect-link-"+K.id}))),z=u(()=>r("delete-all","ReadOnlyPublicLinkPassword")),V=u(()=>t(v)&&r("create-all","PublicLink")),M=()=>{const K={space:t(_),resources:[t($)]};return t(F)?.handler(K)},Z=K=>g(K.type)?K.type===mo.View&&t(z):!0,q=async({linkShare:K,options:se})=>{try{await T({clientService:o,space:t(_),resource:t($),linkShare:K,options:se}),i({title:n("Link was updated successfully")})}catch(fe){console.error(fe),l({title:n("Failed to update link"),errors:[fe]})}},U=()=>{E.value=!t(E)},J=()=>{N.value=!t(N)},W=u(()=>Ws(t($))?n("This space has no public links."):t($).isFolder?n("This folder has no public link."):n("This file has no public link.")),B=u(()=>t(E)?n("Show more"):n("Show less")),O=u(()=>t(N)?n("Show"):n("Hide")),he=u(()=>t(I).contextHelpers),oe=u(()=>Mr({configStore:x})),re=u(()=>Or({configStore:x})),ee=u(()=>n("Indirect (%{ count })",{count:t(Y).length.toString()})),te=u(()=>t(j).length>3&&t(E)?t(j).slice(0,3):t(j)),pe=({link:K})=>{p({title:n("Delete link"),message:n("Are you sure you want to delete this link? Recreating the same link again is not possible."),confirmText:n("Delete"),onConfirm:async()=>{let se=t(S).length===1?t(S)[0].id:void 0;try{await f({clientService:o,space:t(_),resource:t($),linkShare:K}),i({title:n("Link was deleted successfully")}),se&&Nt(s,"files-shares-via-link")&&(Ws(t($))&&(se=t($).id),y([{id:se}]))}catch(fe){console.error(fe),l({title:n("Failed to delete link"),errors:[fe]})}}})};return(K,se)=>{const fe=k("oc-contextual-helper"),Ae=k("oc-button");return a(),w("div",Ou,[m("div",Vu,[m("h3",{class:"font-semibold text-base m-0",textContent:C(t(n)("Public links"))},null,8,ju),se[0]||(se[0]=d()),he.value?(a(),R(fe,Ge({key:0,class:"pl-1"},oe.value),null,16)):L("",!0)]),se[5]||(se[5]=d()),j.value.length?(a(),w("ul",{key:1,id:"files-links-list",class:"oc-list oc-list-divider mt-4","aria-label":t(n)("Public links")},[(a(!0),w(X,null,Te(te.value,Fe=>(a(),w("li",{key:Fe.id},[b(oo,{"can-rename":!0,"is-folder-share":t($).isFolder,"is-modifiable":V.value,"is-password-removable":Z(Fe),"link-share":Fe,onUpdateLink:q,onRemovePublicLink:pe},null,8,["is-folder-share","is-modifiable","is-password-removable","link-share"])]))),128))],8,Uu)):(a(),w("p",{key:0,class:"files-links-empty mt-4",textContent:C(W.value)},null,8,qu)),se[6]||(se[6]=d()),j.value.length>3?(a(),w("div",Bu,[b(Ae,{class:"indirect-link-list-toggle",appearance:"raw",onClick:U},{default:A(()=>[m("span",{textContent:C(B.value)},null,8,Gu)]),_:1})])):L("",!0),se[7]||(se[7]=d()),m("div",Hu,[v.value?(a(),R(Ae,{key:0,id:"files-file-link-add",appearance:"raw","data-testid":"files-link-add-btn",onClick:M},{default:A(()=>[m("span",{textContent:C(t(n)("Add link"))},null,8,Wu)]),_:1})):(a(),w("p",{key:1,"data-testid":"files-links-no-share-permissions-message",class:"mt-4",textContent:C(t(n)("You do not have permission to create public links."))},null,8,Yu))]),se[8]||(se[8]=d()),Y.value.length?(a(),w("div",Ku,[se[1]||(se[1]=m("hr",{class:"my-4"},null,-1)),se[2]||(se[2]=d()),m("h4",Qu,[d(C(ee.value)+" ",1),he.value?(a(),R(fe,Ge({key:0,class:"pl-1"},re.value),null,16)):L("",!0)]),se[3]||(se[3]=d()),m("div",{class:ye(["grid transition-all duration-250 ease-out",{"[grid-template-rows:1fr] mt-4":!N.value,"[grid-template-rows:0fr]":N.value}])},[m("ul",{class:"oc-list oc-list-divider overflow-hidden","aria-label":t(n)("Public links")},[(a(!0),w(X,null,Te(Y.value,Fe=>(a(),w("li",{key:Fe.id},[b(oo,{"is-folder-share":t($).isFolder,"is-modifiable":!1,"link-share":Fe},null,8,["is-folder-share","link-share"])]))),128))],8,Zu)],2),se[4]||(se[4]=d()),m("div",Ju,[b(Ae,{class:"indirect-link-list-toggle",appearance:"raw",onClick:J},{default:A(()=>[m("span",{textContent:C(O.value)},null,8,Xu)]),_:1})])])):L("",!0)])}}});function ao(e){const s=[];let i=0,l=-1,n=0,c;for(;i="0"&&c<="9";o!==n&&(l++,s[l]="",n=o),s[l]+=c,i++}return s}function tp(e,s){const i=ao(e),l=ao(s);let n,c,o;for(n=0;i[n]&&l[n];n++)if(i[n]!==l[n])return c=Number(i[n]),o=Number(l[n]),c==i[n]&&o==l[n]?c-o:i[n].localeCompare(l[n],"en");return i.length-l.length}const sp={naturalSortCompare:tp},op={name:"AutocompleteItem",components:{UserAvatar:Zt},props:{item:{type:Object,required:!0}},setup(e){const s=u(()=>e.item.mail||e.item.onPremisesSamAccountName),i=u(()=>e.item.shareType===ce.remote.value?e.item.identities?.[0]?.issuer:"");return{additionalInfo:s,externalIssuer:i}},computed:{shareType(){return ce.getByValue(this.item.shareType)},shareTypeIcon(){return this.shareType.icon},shareTypeKey(){return this.shareType.key},isAnyUserShareType(){return ce.user.key===this.shareType.key},isAnyPrimaryShareType(){return[ce.user.key,ce.group.key].includes(this.shareType.key)},collaboratorClass(){return`files-collaborators-search-${this.shareType.key}`}}},ap=["data-testid"],ip={class:"truncate"},np=["textContent"],rp=["textContent"],lp=["textContent"],cp=["textContent"];function dp(e,s,i,l,n,c){const o=k("user-avatar"),r=k("oc-avatar-item");return a(),w("div",{"data-testid":`recipient-autocomplete-item-${i.item.displayName}`,class:ye(["flex items-center py-1",c.collaboratorClass])},[c.isAnyUserShareType?(a(),R(o,{key:0,class:"mr-2","user-id":i.item.id,"user-name":i.item.displayName},null,8,["user-id","user-name"])):(a(),R(r,{key:1,width:36,name:c.shareTypeKey,icon:c.shareTypeIcon,"icon-size":"medium",class:"mr-2"},null,8,["name","icon"])),s[3]||(s[3]=d()),m("div",ip,[m("span",{class:"files-collaborators-autocomplete-username",textContent:C(i.item.displayName)},null,8,np),s[0]||(s[0]=d()),c.isAnyPrimaryShareType?L("",!0):(a(),w("span",{key:0,class:"files-collaborators-autocomplete-share-type",textContent:C(`(${e.$gettext(c.shareType.label)})`)},null,8,rp)),s[1]||(s[1]=d()),l.additionalInfo?(a(),w("div",{key:1,class:"files-collaborators-autocomplete-additionalInfo text-sm",textContent:C(`${l.additionalInfo}`)},null,8,lp)):L("",!0),s[2]||(s[2]=d()),l.externalIssuer?(a(),w("div",{key:2,class:"files-collaborators-autocomplete-externalIssuer text-sm",textContent:C(`${l.externalIssuer}`)},null,8,cp)):L("",!0)])],10,ap)}const up=ue(op,[["render",dp]]),pp=Q({name:"RoleItem",props:{role:{type:Object,required:!0}}}),mp=["id"],hp=["textContent"],fp=["textContent"];function gp(e,s,i,l,n,c){return a(),w("span",{id:`files-role-${e.role.id}`,class:"roles-select-role-item text-left"},[m("span",{class:"font-semibold block w-full leading-4",textContent:C(e.$gettext(e.role.displayName))},null,8,hp),s[0]||(s[0]=d()),m("span",{class:"m-0 text-sm block leading-4",textContent:C(e.$gettext(e.role.description))},null,8,fp)],8,mp)}const bp=ue(pp,[["render",gp]]),vp=Q({name:"RoleDropdown",components:{RoleItem:bp},props:{existingShareRole:{type:Object,required:!1,default:void 0},existingSharePermissions:{type:Array,required:!1,default:()=>[]},domSelector:{type:String,required:!1,default:void 0},mode:{type:String,required:!1,default:"create"},showIcon:{type:Boolean,default:!1},isLocked:{type:Boolean,default:!1},isExternal:{type:Boolean,default:!1}},emits:["optionChange"],setup(e,{emit:s}){const i=Os(),l=Oe(),{user:n}=de(l),{$gettext:c}=ne(),o=u(()=>e.isLocked?c("Resource is temporarily locked, unable to manage share"):""),r=u(()=>c("Dear user, please replace this legacy role with one of the currently available roles")),p=me("availableInternalShareRoles"),y=me("availableExternalShareRoles"),g=u(()=>{let I=p;return e.isExternal&&(I=y),t(I)});let h;const v=u(()=>!!e.existingShareRole),D=u(()=>!!e.existingSharePermissions.length),T=u(()=>!t(v)&&t(D));switch(!0){case(!t(v)&&!t(D)):h=t(g)[0];break;case t(T):h={displayName:c("Custom permissions")};break;default:h=e.existingShareRole;break}const f=H(h),S=I=>t(f).id===I.id,x=I=>{f.value=I,s("optionChange",t(f))};return $e(()=>e.isExternal,()=>{t(v)||(f.value=t(g)[0])}),{ability:i,user:n,dropButtonTooltip:o,customPermissionsText:r,resource:me("resource"),selectedRole:f,availableRoles:g,isSelectedRole:S,selectRole:x,isDisabledRole:T}},computed:{roleButtonId(){return this.domSelector?`files-collaborators-role-button-${this.domSelector}-${ze()}`:"files-collaborators-role-button-new"},inviteLabel(){return this.$gettext(this.selectedRole?.displayName||"")}}}),yp={key:0,class:"flex items-center"},wp={key:0},kp=["textContent"],Sp={key:1,class:"max-w-full"},Cp=["textContent"],xp={class:"flex items-center"},Ap={class:"flex"};function Tp(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button"),p=k("oc-contextual-helper"),y=k("role-item"),g=k("oc-list"),h=k("oc-drop"),v=Re("oc-tooltip");return e.selectedRole?(a(),w("div",yp,[e.availableRoles.length===1?(a(),w("span",wp,[e.showIcon?(a(),R(o,{key:0,name:e.selectedRole.icon,class:"mr-2"},null,8,["name"])):L("",!0),s[0]||(s[0]=d()),m("span",{textContent:C(e.inviteLabel)},null,8,kp)])):Se((a(),w("div",Sp,[b(r,{id:e.roleButtonId,class:"files-recipient-role-select-btn max-w-full",appearance:"raw","gap-size":"none",disabled:e.isLocked,"aria-label":e.mode==="create"?e.$gettext("Select permission"):e.$gettext("Edit permission")},{default:A(()=>[e.showIcon?(a(),R(o,{key:0,name:e.selectedRole.icon,class:"mr-2"},null,8,["name"])):L("",!0),s[1]||(s[1]=d()),m("span",{class:"truncate",textContent:C(e.inviteLabel)},null,8,Cp),s[2]||(s[2]=d()),b(o,{name:"arrow-down-s"})]),_:1},8,["id","disabled","aria-label"]),s[3]||(s[3]=d()),e.isDisabledRole?(a(),R(p,{key:0,class:"ml-1 files-permission-actions-list",text:e.customPermissionsText,title:e.$gettext("Custom permissions")},null,8,["text","title"])):L("",!0)])),[[v,e.dropButtonTooltip]]),s[6]||(s[6]=d()),e.availableRoles.length>1?(a(),R(h,{key:2,title:e.$gettext("Role"),toggle:"#"+e.roleButtonId,mode:"click","padding-size":"small",class:"files-recipient-role-drop w-md","close-on-click":""},{default:A(()=>[b(g,{class:"files-recipient-role-drop-list","aria-label":e.$gettext("Select role for the invitation")},{default:A(()=>[(a(!0),w(X,null,Te(e.availableRoles,D=>(a(),w("li",{key:D.id},[b(r,{id:`files-recipient-role-drop-btn-${D.id}`,class:ye(["files-recipient-role-drop-btn p-2",{selected:e.isSelectedRole(D)}]),"justify-content":"space-between",appearance:e.isSelectedRole(D)?"filled":"raw-inverse","color-role":e.isSelectedRole(D)?"secondaryContainer":"surface",onClick:T=>e.selectRole(D)},{default:A(()=>[m("span",xp,[b(o,{name:D.icon,class:"pl-2 pr-4","fill-type":"line"},null,8,["name"]),s[4]||(s[4]=d()),b(y,{role:D},null,8,["role"])]),s[5]||(s[5]=d()),m("span",Ap,[e.isSelectedRole(D)?(a(),R(o,{key:0,name:"check"})):L("",!0)])]),_:2},1032,["id","class","appearance","color-role","onClick"])]))),128))]),_:1},8,["aria-label"])]),_:1},8,["title","toggle"])):L("",!0)])):L("",!0)}const oa=ue(vp,[["render",Tp]]),Dp=Q({components:{UserAvatar:Zt},props:{recipient:{type:Object,required:!0},deselect:{type:Function,required:!1,default:null}},setup(e){return{externalIssuer:u(()=>e.recipient.shareType===ce.remote.value?e.recipient.identities?.[0]?.issuer:""),ShareTypes:ce}},data(){let e=this.recipient.displayName;return this.externalIssuer&&(e+=` (${this.externalIssuer})`),{formattedRecipient:{name:e,icon:this.getRecipientIcon()}}},computed:{btnDeselectRecipientLabel(){return this.$gettext("Deselect %{name}",{name:this.recipient.displayName})}},methods:{getRecipientIcon(){switch(this.recipient.shareType){case ce.group.value:return{name:ce.group.icon,label:this.$gettext("Group")};case ce.guest.value:return{name:ce.guest.icon,label:this.$gettext("Guest user")};case ce.remote.value:return{name:ce.remote.icon,label:this.$gettext("External user")};default:return{name:ce.user.icon,label:this.$gettext("User")}}}}});function $p(e,s,i,l,n,c){const o=k("user-avatar"),r=k("oc-icon"),p=k("oc-button"),y=k("oc-recipient");return a(),R(y,{"data-testid":`recipient-container-${e.formattedRecipient.name}`,class:"wrap-anywhere",recipient:e.formattedRecipient},{avatar:A(()=>[e.recipient.shareType===e.ShareTypes.user.value?(a(),R(o,{key:0,"user-id":e.recipient.id,"user-name":e.recipient.displayName,width:16.8},null,8,["user-id","user-name"])):L("",!0)]),append:A(()=>[b(p,{class:"files-share-invite-recipient-btn-remove raw-hover-surface",appearance:"raw","aria-label":e.btnDeselectRecipientLabel,onClick:s[0]||(s[0]=is(g=>e.deselect(e.recipient),["stop"]))},{default:A(()=>[b(r,{name:"close",size:"small"})]),_:1},8,["aria-label"])]),_:1},8,["data-testid","recipient"])}const Fp=ue(Dp,[["render",$p]]),Rp=Q({name:"DateCurrentpicker",props:{shareTypes:{type:Array,required:!1,default:()=>[]}},emits:["optionChange"],setup(e,{emit:s}){const i=ne(),{dispatchModal:l}=ut(),n=Ia((o,r)=>{let p=null;return{get(){return o(),p},set(y){p=y,r()}}}),c=()=>{l({title:i.$gettext("Set expiration date"),hideActions:!0,customComponent:Es,customComponentAttrs:()=>({currentDate:t(n),minDate:st.now()}),onConfirm:o=>{n.value=o}})};return $e(n,()=>{s("optionChange",{expirationDate:t(n)?.isValid?n.value:null})}),{language:i,dateCurrent:n,showDatePickerModal:c}}}),Ip={class:"flex items-center flex-nowrap"},Pp=["textContent"],Ep=["textContent"],Lp=["textContent"];function _p(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button");return a(),w(X,null,[m("div",Ip,[b(r,{"data-testid":"recipient-datepicker-btn",class:"p-2",appearance:"raw","justify-content":"left","aria-label":e.dateCurrent?e.$gettext("Edit expiration date"):e.$gettext("Set expiration date"),onClick:e.showDatePickerModal},{default:A(()=>[b(o,{name:"calendar-event","fill-type":"line",size:"medium"}),s[1]||(s[1]=d()),e.dateCurrent?(a(),w("span",{key:"set-expiration-date-label",textContent:C(e.$gettext("Edit expiration date"))},null,8,Ep)):(a(),w("span",{key:"no-expiration-date-label",textContent:C(e.$gettext("Set expiration date"))},null,8,Pp))]),_:1},8,["aria-label","onClick"])]),s[3]||(s[3]=d()),e.dateCurrent?(a(),R(r,{key:0,class:"p-2 align-middle",appearance:"raw","aria-label":e.$gettext("Remove expiration date"),onClick:s[0]||(s[0]=p=>e.dateCurrent=null)},{default:A(()=>[b(o,{name:"calendar-close","fill-type":"line",size:"medium"}),s[2]||(s[2]=d()),m("span",{key:"no-expiration-date-label",textContent:C(e.$gettext("Remove expiration date"))},null,8,Lp)]),_:1},8,["aria-label"])):L("",!0)],64)}const Np=ue(Rp,[["render",_p]]),zp=e=>e,Mp=Q({name:"InviteCollaboratorForm",components:{ExpirationDateIndicator:Bs,AutocompleteItem:up,RoleDropdown:oa,RecipientContainer:Fp,ExpirationDatepicker:Np},props:{saveButtonLabel:{type:String,required:!1,default:()=>zp("Share")},inviteLabel:{type:String,required:!1,default:""}},setup(){const{$gettext:e}=ne(),s=Ee(),{showMessage:i,showErrorMessage:l}=et(),n=Ye(),{upsertSpace:c}=n,o=mt(),r=de(o),p=We(),y=Oe(),g=kt(),{addShare:h}=g,{collaboratorShares:v}=de(g),D=H(""),T=H(!1),f=H([]),S=H(!1),x=H(!1),I=H(!1),P=H(),F=H([]),_=H(""),$=H(),E=me("resource"),N=me("space"),j=me("availableInternalShareRoles"),Y=me("availableExternalShareRoles"),z=H(!1),V=()=>{z.value=!0},M=()=>{z.value=!1};$e(S,Ce=>{if(!Ce){x.value=!1;return}setTimeout(()=>{if(!t(S)){x.value=!1;return}x.value=!0},700)});let Z;$e([f,z],async()=>{t(z)&&(await He(),Z?.unmark(),Z?.mark(t(D),{element:"span",className:"mark-highlight"}))});const q=()=>{$.value=t(K)?t(Y)[0]:t(j)[0]};Pe(async()=>{q(),await He(),Z=new Qt(".mark-element")});const U=H("standard"),J=[{prefix:"",description:"standard"},{prefix:"a:",description:"secondary"},{prefix:"a:",description:"service"},{prefix:"l:",description:"guest"},{prefix:"sm:",description:"federated"}],W=u(()=>p.options.concurrentRequests.shares.create),B=It(function*(Ce,Ue){let we;t(K)&&(we="(userType eq 'Federated')");const G=s.graphAuthenticated,Be=yield*Ot(G.users.listUsers({orderBy:["displayName"],search:`"${Ue}"`,filter:we},{signal:Ce}));let Le;t(K)||(Le=yield*Ot(G.groups.listGroups({orderBy:["displayName"],search:`"${Ue}"`},{signal:Ce})));const it=(Be||[]).map(ae=>({...ae,shareType:t(K)?ce.remote.value:ce.user.value})),nt=(Le||[]).map(ae=>({...ae,shareType:ce.group.value}));f.value=[...it,...nt].filter(ae=>{if(ae.id===y.user.id)return!1;const ie=t(F).some(({id:lt})=>ae.id===lt),rt=t(v).filter(lt=>!lt.indirect).some(lt=>lt.sharedWith.id===ae.id);return ie||rt?!1:(_.value=e("Person was added"),!0)}),T.value=!1}).restartable(),O=async Ce=>{await B.perform(Ce)},he=async()=>{S.value=!0;const Ce=new Di({concurrency:t(W)}),Ue=[],we=[],G=[];t(F).forEach(({id:Le,shareType:it,displayName:nt})=>{const ae=it===ce.group.value?"group":"user";Ue.push(Ce.add(async()=>{try{const ie=await h({clientService:s,space:t(N),resource:t(E),options:{roles:[t($).id],expirationDateTime:t(P),recipients:[{objectId:Le,"@libre.graph.recipient.type":ae}]}});G.push(ie)}catch(ie){throw console.error(ie),we.push({displayName:nt,error:ie}),ie}}))});const Be=await Promise.allSettled(Ue);if(xe(t(E))){const Le=await s.graphAuthenticated.drives.getDrive(t(E).id);c({...Le,graphPermissions:t(N).graphPermissions})}Be.length!==we.length&&i({title:e("Share was added successfully")}),we.forEach(Le=>{l({title:e('Failed to add share for "%{displayName}"',{displayName:Le.displayName}),errors:[Le.error]})}),P.value=null,F.value=[],S.value=!1},oe=u(()=>t(Y).length),re="1",ee="2",te=u(()=>[{id:re,label:e("Internal"),longLabel:e("Internal users")},...t(oe)&&[{id:ee,label:e("External"),longLabel:e("External users")}]||[]]),pe=H(t(te)[0]),K=u(()=>t(pe).id===ee),se=async Ce=>{t(pe).id!==Ce.id&&(pe.value=Ce,F.value=[],t(D)&&await O(t(D))),fe(),q()},fe=()=>{const Ce=document.getElementById("files-share-invite-input");Ce&&Ce.focus()},Ae=u(()=>t(K)?e("No external users found."):e("No users or groups found.")),Fe=u(()=>t(te).length>1&&!xe(t(E)));return{minSearchLength:r.sharingSearchMinLength,isRunningOnEos:u(()=>p.options.runningOnEos),saving:S,savingDelayed:x,searchInProgress:T,searchQuery:D,autocompleteResults:f,onOpen:V,onClose:M,expirationDate:P,selectedRole:$,announcement:_,selectedCollaborators:F,fetchRecipients:O,share:he,shareRoleTypes:te,currentShareRoleType:pe,isExternalShareRoleType:K,selectShareRoleType:se,focusShareInput:fe,noOptionsLabel:Ae,DateTime:st,showShareTypeFilter:Fe,showMessage:i,showErrorMessage:l,accountType:U,accountTypes:J,notifyEnabled:I,fetchRecipientsTask:B}},computed:{$_isValid(){return this.selectedCollaborators.length>0},selectedCollaboratorsLabel(){return this.inviteLabel||this.$gettext("Search")}},mounted(){this.fetchRecipients=Vi(this.fetchRecipients,500)},methods:{onSearch(e){if(this.autocompleteResults=[],this.searchQuery=e,e.lengthi.description===this.accountType)?.prefix||""}${e}`),this.fetchRecipients(e)},filterRecipients(e,s){return e.length<1?[]:(s=s.split(":")[1]||s,e.filter(i=>i.shareType===ce.remote.value||i.displayName.toLocaleLowerCase().indexOf(s.toLocaleLowerCase())>-1||i.mail?.toLocaleLowerCase().indexOf(s.toLocaleLowerCase())>-1))},collaboratorRoleChanged(e){this.selectedRole=e},collaboratorExpiryChanged({expirationDate:e}){this.expirationDate=e,this.$refs.showMoreShareOptionsDropRef.hide()},resetFocusOnInvite(e){this.selectedCollaborators=e,this.autocompleteResults=[],this.searchQuery="",this.$nextTick(()=>{this.focusShareInput()})}}}),Op={id:"new-collaborators-form","data-testid":"new-collaborators-form",class:"[&_.vs\\_\\_actions]:!flex-nowrap"},Vp=["textContent"],jp=["textContent"],qp=["textContent"],Up={key:0,class:"flex"},Bp={class:"flex justify-between flex-wrap mt-2"},Gp={class:"flex items-center"},Hp=["textContent"],Wp={key:0,class:"w-full mt-2"};function Yp(e,s,i,l,n,c){const o=k("oc-select"),r=k("autocomplete-item"),p=k("recipient-container"),y=k("oc-spinner"),g=k("oc-icon"),h=k("oc-button"),v=k("oc-list"),D=k("oc-filter-chip"),T=k("role-dropdown"),f=k("expiration-date-indicator"),S=k("expiration-datepicker"),x=k("oc-drop"),I=k("oc-checkbox"),P=k("oc-hidden-announcer");return a(),w("div",Op,[m("div",{class:ye(["flex","w-full",{"grid grid-cols-2":e.isRunningOnEos}])},[e.isRunningOnEos?(a(),R(o,{key:0,id:"files-share-account-type-input",modelValue:e.accountType,"onUpdate:modelValue":s[0]||(s[0]=F=>e.accountType=F),options:e.accountTypes,label:e.$gettext("Account type"),reduce:F=>F.description},{option:A(({description:F})=>[m("span",{class:"option text-xs",textContent:C(F)},null,8,Vp)]),"selected-option":A(({description:F})=>[m("span",{class:"option text-xs",textContent:C(F)},null,8,jp)]),_:1},8,["modelValue","options","label","reduce"])):L("",!0),s[10]||(s[10]=d()),b(o,{id:"files-share-invite-input",ref:"ocSharingAutocomplete",class:"w-full","model-value":e.selectedCollaborators,options:e.autocompleteResults,loading:e.searchInProgress,multiple:!0,filter:e.filterRecipients,label:e.selectedCollaboratorsLabel,"dropdown-should-open":({open:F,search:_})=>F&&_.length>=e.minSearchLength&&!e.searchInProgress,"onSearch:input":e.onSearch,"onUpdate:modelValue":e.resetFocusOnInvite,onOpen:e.onOpen,onClose:e.onClose},{option:A(F=>[b(r,{class:"mark-element",item:F},null,8,["item"])]),"no-options":A(()=>[m("span",{textContent:C(e.noOptionsLabel)},null,8,qp)]),"selected-option-container":A(({option:F,deselect:_})=>[(a(),R(p,{key:F.id,recipient:F,deselect:_},null,8,["recipient","deselect"]))]),"open-indicator":A(()=>[...s[3]||(s[3]=[m("span",null,null,-1)])]),spinner:A(({loading:F})=>[F?(a(),R(y,{key:0,"aria-label":e.$gettext("Loading users and groups"),size:"small"},null,8,["aria-label"])):L("",!0),s[5]||(s[5]=d()),e.showShareTypeFilter?(a(),R(D,{key:1,"filter-label":e.$gettext("Share type"),class:"invite-form-share-role-type [&_.oc-filter-chip-button]:pr-0 [&_.oc-drop]:w-3xs",raw:"","close-on-click":"","has-active-state":!1,"selected-item-names":[e.currentShareRoleType.longLabel]},{default:A(()=>[b(v,null,{default:A(()=>[(a(!0),w(X,null,Te(e.shareRoleTypes,(_,$)=>(a(),w("li",{key:$},[b(h,{appearance:"raw",size:"medium","justify-content":"space-between",class:ye(["invite-form-share-role-type-item flex justify-between items-center w-full py-1 px-2",{"bg-role-secondary-container":_.id===e.currentShareRoleType.id}]),onClick:E=>e.selectShareRoleType(_)},{default:A(()=>[m("span",null,C(_.longLabel),1),s[4]||(s[4]=d()),_.id===e.currentShareRoleType.id?(a(),w("div",Up,[b(g,{name:"check"})])):L("",!0)]),_:2},1032,["class","onClick"])]))),128))]),_:1})]),_:1},8,["filter-label","selected-item-names"])):L("",!0)]),_:1},8,["model-value","options","loading","filter","label","dropdown-should-open","onSearch:input","onUpdate:modelValue","onOpen","onClose"])],2),s[16]||(s[16]=d()),m("div",Bp,[b(T,{mode:"create","show-icon":e.isRunningOnEos,class:"max-w-40","is-external":e.isExternalShareRoleType,onOptionChange:e.collaboratorRoleChanged},null,8,["show-icon","is-external","onOptionChange"]),s[14]||(s[14]=d()),m("div",Gp,[e.expirationDate?(a(),R(f,{key:0,"expiration-date":e.DateTime.fromISO(e.expirationDate),class:"ml-1 p-1","data-testid":"recipient-info-expiration-date"},null,8,["expiration-date"])):L("",!0),s[11]||(s[11]=d()),b(h,{id:"show-more-share-options-btn",class:"ml-1 raw-hover-surface p-1","aria-label":e.$gettext("Show more actions"),appearance:"raw"},{default:A(()=>[b(g,{name:"more-2"})]),_:1},8,["aria-label"]),s[12]||(s[12]=d()),b(x,{ref:"showMoreShareOptionsDropRef",title:e.$gettext("Share options"),"drop-id":"show-more-share-options-drop",toggle:"#show-more-share-options-btn","close-on-click":"",mode:"click","padding-size":"small"},{default:A(()=>[b(v,{class:"collaborator-edit-dropdown-options-list","aria-label":"shareEditOptions"},{default:A(()=>[m("li",null,[e.saving?L("",!0):(a(),R(S,{key:0,"share-types":e.selectedCollaborators.map(({shareType:F})=>F),onOptionChange:e.collaboratorExpiryChanged},null,8,["share-types","onOptionChange"]))])]),_:1})]),_:1},8,["title"]),s[13]||(s[13]=d()),b(h,{id:"new-collaborators-form-create-button",key:"new-collaborator-save-button",class:"ml-2 px-7","data-testid":"new-collaborators-form-create-button",disabled:!e.$_isValid||e.saving,appearance:e.saving?"outline":"filled",submit:"submit","show-spinner":e.savingDelayed,onClick:e.share},{default:A(()=>[m("span",{textContent:C(e.$gettext(e.saveButtonLabel))},null,8,Hp)]),_:1},8,["disabled","appearance","show-spinner","onClick"])]),s[15]||(s[15]=d()),e.isRunningOnEos?(a(),w("div",Wp,[b(I,{modelValue:e.notifyEnabled,"onUpdate:modelValue":s[1]||(s[1]=F=>e.notifyEnabled=F),value:!1,label:e.$gettext("Notify via mail")},null,8,["modelValue","label"])])):L("",!0)]),s[17]||(s[17]=d()),b(P,{level:"assertive",announcement:e.announcement},null,8,["announcement"])])}const aa=ue(Mp,[["render",Yp]]),Kp=Q({name:"ContextMenuItem",props:{option:{type:Object,required:!0}}}),Qp=["textContent"];function Zp(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button");return a(),R(r,Ge({appearance:"raw",class:["p-2",e.option.class],"justify-content":"left",type:e.option.to?"router-link":"button",to:e.option.to},e.option.additionalAttributes||{},{onClick:e.option.method}),{default:A(()=>[b(o,{name:e.option.icon,"fill-type":"line",size:"medium"},null,8,["name"]),s[0]||(s[0]=d()),m("span",{textContent:C(e.option.title)},null,8,Qp)]),_:1},16,["class","type","to","onClick"])}const Jp=ue(Kp,[["render",Zp]]),Xp=Q({name:"EditDropdown",components:{ContextMenuItem:Jp},props:{expirationDate:{type:String,required:!1,default:void 0},shareCategory:{type:String,required:!1,default:null,validator:function(e){return["user","group"].includes(e)||!e}},canEdit:{type:Boolean,required:!0},canRemove:{type:Boolean,required:!0},accessDetails:{type:Array,required:!0},isLocked:{type:Boolean,default:!1},sharedParentRoute:{type:Object,default:void 0}},emits:["expirationDateChanged","removeShare","notifyShare"],setup(e,{emit:s}){const i=ne(),{$gettext:l}=i,n=We(),{dispatchModal:c}=ut(),o=Je("expirationDateDrop"),r=Je("accessDetailsDrop"),p=me("resource"),y=u(()=>e.isLocked?l("Resource is temporarily locked, unable to manage share"):""),g=u(()=>({title:l("Navigate to parent"),icon:"folder-shared",class:"navigate-to-parent",to:e.sharedParentRoute})),h=u(()=>({title:xe(t(p))?l("Remove member"):l("Remove share"),method:()=>{s("removeShare")},class:"remove-share",icon:"delete-bin-5",additionalAttributes:{"data-testid":"collaborator-remove-share-btn"}}));return{configStore:n,resource:p,expirationDateDrop:o,accessDetailsDrop:r,dropButtonTooltip:y,dispatchModal:c,navigateToParentOption:g,removeShareOption:h}},computed:{options(){const e=[{title:this.$gettext("Access details"),method:()=>this.accessDetailsDrop.$refs.drop.show(),icon:"information",class:"show-access-details"}];return this.canEdit&&this.isExpirationSupported&&e.push({title:this.isExpirationDateSet?this.$gettext("Edit expiration date"):this.$gettext("Set expiration date"),class:"set-expiration-date recipient-datepicker-btn",icon:"calendar-event",method:this.showDatePickerModal}),this.isRemoveExpirationPossible&&e.push({title:this.$gettext("Remove expiration date"),class:"remove-expiration-date",icon:"calendar-close",method:this.removeExpirationDate}),this.configStore.options.isRunningOnEos&&e.push({title:this.$gettext("Notify via mail"),method:()=>this.$emit("notifyShare"),icon:"mail",class:"notify-via-mail"}),e},editShareBtnId(){return Ni("files-collaborators-edit-button-")},shareEditOptions(){return this.$gettext("Context menu of the share")},editingUser(){return this.shareCategory==="user"},editingGroup(){return this.shareCategory==="group"},isExpirationSupported(){return this.editingUser||this.editingGroup},isExpirationDateSet(){return!!this.expirationDate},isRemoveExpirationPossible(){return this.canEdit&&this.isExpirationSupported&&this.isExpirationDateSet}},methods:{removeExpirationDate(){this.$emit("expirationDateChanged",{expirationDateTime:null}),this.expirationDateDrop.hide()},showDatePickerModal(){const e=st.fromISO(this.expirationDate);this.dispatchModal({title:this.$gettext("Set expiration date"),hideActions:!0,customComponent:Es,customComponentAttrs:()=>({currentDate:e.isValid?e:null,minDate:st.now()}),onConfirm:s=>{this.$emit("expirationDateChanged",{expirationDateTime:s})}})}}}),em={class:"flex items-center"},tm={key:0};function sm(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button"),p=k("context-menu-item"),y=k("oc-list"),g=k("oc-drop"),h=k("oc-info-drop"),v=Re("oc-tooltip");return a(),w("div",em,[Se((a(),R(r,{id:e.editShareBtnId,class:"collaborator-edit-dropdown-options-btn raw-hover-surface p-1","aria-label":e.isLocked?e.dropButtonTooltip:e.$gettext("Open context menu with share editing options"),appearance:"raw",disabled:e.isLocked},{default:A(()=>[b(o,{name:"more-2"})]),_:1},8,["id","aria-label","disabled"])),[[v,e.dropButtonTooltip]]),s[2]||(s[2]=d()),b(g,{ref:"expirationDateDrop",title:e.$gettext("Edit share"),toggle:"#"+e.editShareBtnId,mode:"click","padding-size":"small","close-on-click":""},{default:A(()=>[b(y,{class:"collaborator-edit-dropdown-options-list","aria-label":e.shareEditOptions},{default:A(()=>[(a(!0),w(X,null,Te(e.options,(D,T)=>(a(),w("li",{key:T},[b(p,{option:D},null,8,["option"])]))),128)),s[0]||(s[0]=d()),e.sharedParentRoute?(a(),w("li",tm,[b(p,{option:e.navigateToParentOption},null,8,["option"])])):L("",!0)]),_:1},8,["aria-label"]),s[1]||(s[1]=d()),e.canRemove?(a(),R(y,{key:0,class:"collaborator-edit-dropdown-options-list collaborator-edit-dropdown-options-list-remove pt-2 mt-2 border-t"},{default:A(()=>[m("li",null,[b(p,{option:e.removeShareOption},null,8,["option"])])]),_:1})):L("",!0)]),_:1},8,["title","toggle"]),s[3]||(s[3]=d()),b(h,Ge({ref:"accessDetailsDrop",toggle:"#"+e.editShareBtnId,class:"share-access-details-drop [&_dl]:grid [&_dl]:gap-x-4 [&_dl]:gap-y-1 [&_dl]:grid-cols-[max-content_auto] [&_dt]:col-start-1 [&_dd]:col-start-2"},{title:e.$gettext("Access details"),list:e.accessDetails},{mode:"manual"}),null,16,["toggle"])])}const om=ue(Xp,[["render",sm]]),am=Q({name:"ListItem",components:{UserAvatar:Zt,ExpirationDateIndicator:Bs,EditDropdown:om,RoleDropdown:oa},props:{share:{type:Object,required:!0},modifiable:{type:Boolean,default:!1},removable:{type:Boolean,default:!1},sharedParentRoute:{type:Object,default:null},resourceName:{type:String,default:""},isLocked:{type:Boolean,default:!1},isSpaceShare:{type:Boolean,default:!1}},emits:["onDelete"],setup(e,{emit:s}){const{showMessage:i,showErrorMessage:l}=et(),n=Oe(),c=Ee(),o=ne(),{$gettext:r}=o,{dispatchModal:p}=ut(),y=kt(),{updateShare:g}=y,{upsertSpace:h,loadGraphPermissions:v}=Ye(),{user:D}=de(n),T=u(()=>Ne(e.sharedParentRoute?.params?.driveAliasAndItem).split("/").pop()),f=u(()=>os(st.fromISO(e.share.createdDateTime),o.current)),S=u(()=>e.share.shareType===ce.remote.value),x=()=>{p({title:r("Send a reminder"),confirmText:r("Send"),message:r("Are you sure you want to send a reminder about this share?"),onConfirm:I})},I=async()=>{},P=u(()=>r('Shared via the parent folder "%{sharedParentDir}"',{sharedParentDir:t(T)}));return{resource:me("resource"),space:me("space"),updateShare:g,user:D,clientService:c,sharedParentDir:T,shareDate:f,showNotifyShareModal:x,showMessage:i,showErrorMessage:l,upsertSpace:h,isExternalShare:S,sharedViaTooltip:P,DateTime:st,loadGraphPermissions:v}},computed:{shareType(){return ce.getByValue(this.share.shareType)},shareTypeIcon(){return this.shareType.icon},shareTypeKey(){return this.shareType.key},shareDomSelector(){if(this.share.id)return Na(this.share.id)},isAnyUserShareType(){return ce.user===this.shareType},shareTypeText(){return this.$gettext(this.shareType.label)},shareCategory(){return ce.isIndividual(this.shareType)?"user":"group"},shareDisplayName(){return this.user.id===this.share.sharedWith.id?this.$gettext("%{collaboratorName} (me)",{collaboratorName:this.share.sharedWith.displayName}):this.share.sharedWith.displayName},screenreaderShareDisplayName(){const e={displayName:this.share.sharedWith.displayName};return this.$gettext("Share receiver name: %{ displayName }",e)},hasExpirationDate(){return!!this.share.expirationDateTime},expirationDate(){return os(st.fromISO(this.share.expirationDateTime).endOf("day"),this.$language.current)},shareOwnerDisplayName(){return this.share.sharedBy.displayName},accessDetails(){const e=[];return e.push({text:this.$gettext("Name"),headline:!0},{text:this.shareDisplayName}),e.push({text:this.$gettext("Type"),headline:!0},{text:this.shareTypeText}),e.push({text:this.$gettext("Access expires"),headline:!0},{text:this.hasExpirationDate?this.expirationDate:this.$gettext("no")}),e.push({text:this.$gettext("Shared on"),headline:!0},{text:this.shareDate}),this.isSpaceShare||e.push({text:this.$gettext("Invited by"),headline:!0},{text:this.shareOwnerDisplayName}),e}},methods:{removeShare(){this.$emit("onDelete",this.share)},async shareRoleChanged(e){const s=this.share.expirationDateTime;try{await this.saveShareChanges({role:e,expirationDateTime:s})}catch(i){console.error(i),this.showErrorMessage({title:this.$gettext("Failed to apply new permissions"),errors:[i]})}},async shareExpirationChanged({expirationDateTime:e}){const s=this.share.role;try{await this.saveShareChanges({role:s,expirationDateTime:e})}catch(i){console.error(i),this.showErrorMessage({title:this.$gettext("Failed to apply expiration date"),errors:[i]})}},async saveShareChanges({role:e,expirationDateTime:s}){try{if(await this.updateShare({clientService:this.$clientService,space:this.space,resource:this.resource,collaboratorShare:this.share,options:{roles:[e.id],expirationDateTime:s}}),xe(this.resource)){const l=await this.clientService.graphAuthenticated.drives.getDrive(this.resource.id);this.upsertSpace({...l,graphPermissions:this.resource.graphPermissions}),this.share.sharedWith.id===this.user.id&&await this.loadGraphPermissions({ids:[this.resource.id],graphClient:this.clientService.graphAuthenticated,useCache:!1})}this.showMessage({title:this.$gettext("Share successfully changed")})}catch(i){console.error(i),this.showErrorMessage({title:this.$gettext("Error while editing the share."),errors:[i]})}}}}),im=["data-testid"],nm={class:"w-full grid grid-cols-2 items-center files-collaborators-collaborator-details"},rm={class:"flex items-center"},lm={class:"files-collaborators-collaborator-name-wrapper pl-2 max-w-full"},cm={class:"truncate"},dm=["textContent"],um=["textContent"],pm={key:0,class:"flex flex-nowrap items-center"},mm={key:1},hm=["textContent"],fm={class:"flex items-center justify-end"};function gm(e,s,i,l,n,c){const o=k("user-avatar"),r=k("oc-avatar-item"),p=k("oc-contextual-helper"),y=k("role-dropdown"),g=k("expiration-date-indicator"),h=k("oc-icon"),v=k("edit-dropdown"),D=Re("oc-tooltip");return a(),w("div",{"data-testid":`collaborator-${e.isAnyUserShareType?"user":"group"}-item-${e.share.sharedWith.displayName}`,class:"py-1"},[m("div",nm,[m("div",rm,[m("div",null,[e.isAnyUserShareType?(a(),R(o,{key:0,"user-id":e.share.sharedWith.id,"user-name":e.share.sharedWith.displayName,class:"files-collaborators-collaborator-indicator"},null,8,["user-id","user-name"])):(a(),R(r,{key:1,width:36,"icon-size":"medium",icon:e.shareTypeIcon,name:e.shareTypeKey,class:"files-collaborators-collaborator-indicator"},null,8,["icon","name"]))]),s[3]||(s[3]=d()),m("div",lm,[m("div",cm,[m("span",{"aria-hidden":"true",class:"files-collaborators-collaborator-name",textContent:C(e.shareDisplayName)},null,8,dm),s[0]||(s[0]=d()),m("span",{class:"sr-only",textContent:C(e.screenreaderShareDisplayName)},null,8,um),s[1]||(s[1]=d()),e.isExternalShare?(a(),R(p,{key:0,text:e.$gettext("External user, registered with another organization’s account but granted access to your resources. External users can only have “view” or “edit” permission."),title:e.$gettext("External user")},null,8,["text","title"])):L("",!0)]),s[2]||(s[2]=d()),m("div",null,[e.modifiable?(a(),w("div",pm,[b(y,{"dom-selector":e.shareDomSelector,"existing-share-role":e.share.role,"existing-share-permissions":e.share.permissions,"is-locked":e.isLocked,"is-external":e.isExternalShare,class:"files-collaborators-collaborator-role max-w-full",mode:"edit",onOptionChange:e.shareRoleChanged},null,8,["dom-selector","existing-share-role","existing-share-permissions","is-locked","is-external","onOptionChange"])])):e.share.role?(a(),w("div",mm,[Se(m("span",{class:"mr-1",textContent:C(e.$gettext(e.share.role.displayName))},null,8,hm),[[D,e.$gettext(e.share.role.description)]])])):L("",!0)])])]),s[6]||(s[6]=d()),m("div",fm,[e.hasExpirationDate?(a(),R(g,{key:0,class:"ml-1 p-1","data-testid":"recipient-info-expiration-date","expiration-date":e.DateTime.fromISO(e.share.expirationDateTime)},null,8,["expiration-date"])):L("",!0),s[4]||(s[4]=d()),e.sharedParentRoute?Se((a(),R(h,{key:1,name:"folder-shared","fill-type":"line",class:"files-collaborators-collaborator-shared-via ml-1 p-1"},null,512)),[[D,e.sharedViaTooltip]]):L("",!0),s[5]||(s[5]=d()),b(v,{class:"ml-1","data-testid":"collaborator-edit","expiration-date":e.share.expirationDateTime?e.share.expirationDateTime:null,"share-category":e.shareCategory,"can-edit":e.modifiable,"can-remove":e.removable,"is-locked":e.isLocked,"shared-parent-route":e.sharedParentRoute,"access-details":e.accessDetails,onExpirationDateChanged:e.shareExpirationChanged,onRemoveShare:e.removeShare,onNotifyShare:e.showNotifyShareModal},null,8,["expiration-date","share-category","can-edit","can-remove","is-locked","shared-parent-route","access-details","onExpirationDateChanged","onRemoveShare","onNotifyShare"])])])],8,im)}const ia=ue(am,[["render",gm]]),bm=Q({props:{resource:{type:Object,required:!0}},setup(e){const{$gettext:s}=ne(),{showMessage:i}=et(),{copy:l,copied:n}=Ds({legacy:!0,copiedDuring:550}),c=()=>{l(e.resource.privateLink),i({title:s("Permanent link copied"),desc:s("The permanent link has been copied to your clipboard.")})},o=u(()=>s("Copy the link to point your team to this item. Works only for people with existing access."));return{copied:n,tooltip:o,copyLinkToClipboard:c}}}),vm={class:"flex items-center"},ym=["textContent"];function wm(e,s,i,l,n,c){const o=k("oc-icon"),r=k("oc-button"),p=Re("oc-tooltip");return a(),w("div",vm,[Se((a(),R(r,{"gap-size":"none",appearance:"raw",onClick:e.copyLinkToClipboard},{default:A(()=>[b(o,{size:"small",name:e.copied?"checkbox-circle":"file-copy","fill-type":"line"},null,8,["name"]),s[0]||(s[0]=d()),m("span",{class:"ml-1",textContent:C(e.$gettext("Permanent link"))},null,8,ym)]),_:1},8,["onClick"])),[[p,e.tooltip]])])}const na=ue(bm,[["render",wm]]),km=Q({name:"FileShares",components:{CopyPrivateLink:na,InviteCollaboratorForm:aa,CollaboratorListItem:ia,CustomComponentTarget:Fo},setup(){const e=Oe(),s=mt(),i=de(s),{getMatchingSpace:l}=Ke(),{dispatchModal:n}=ut(),{canShare:c}=_s(),{showMessage:o,showErrorMessage:r}=et(),p=ve(),{removeResources:y,getAncestorById:g}=p,{getSpaceMembers:h}=Ye(),v=We(),{options:D}=de(v),T=kt(),{addShare:f,deleteShare:S}=T,{user:x}=de(e),I=me("resource"),P=me("space"),F=u(()=>xe(t(P))?T.collaboratorShares.filter(V=>V.resourceId!==t(P).id):T.collaboratorShares),_=u(()=>h(t(P))),$=H(!0),E=()=>{$.value=!t($)},N=H(!0),j=()=>{N.value=!t(N)},Y=u(()=>l(t(I))),z=u(()=>{const V=(M,Z)=>{const q=M.sharedWith.displayName.toLowerCase().trim(),U=Z.sharedWith.displayName.toLowerCase().trim(),J=ce.containsAnyValue(ce.individuals,[M.shareType]),W=ce.containsAnyValue(ce.individuals,[Z.shareType]),B=!M.indirect,O=!Z.indirect;return J===W?B===O?sp.naturalSortCompare(q,U):B?-1:1:J?-1:1};return t(F).sort(V)});return{addShare:f,deleteShare:S,user:x,resource:I,space:P,matchingSpace:Y,sharesListCollapsed:$,toggleShareListCollapsed:E,memberListCollapsed:N,toggleMemberListCollapsed:j,filesPrivateLinks:i.filesPrivateLinks,getAncestorById:g,configStore:v,configOptions:D,dispatchModal:n,spaceMembers:_,removeResources:y,collaborators:z,canShare:c,showMessage:o,showErrorMessage:r,fileSideBarSharesPanelSharedWithTopExtensionPoint:Yo,fileSideBarSharesPanelSharedWithBottomExtensionPoint:Ko}},computed:{inviteCollaboratorHelp(){if(this.configOptions.cernFeatures){const s={configStore:this.configStore},i=Xs(s);return i.list=[...Nr(s).list,...i.list],i}return Xs({configStore:this.configStore})},helpersEnabled(){return this.configOptions.contextHelpers},sharedWithLabel(){return this.$gettext("Shared with")},spaceMemberLabel(){return this.$gettext("Space members")},collapseButtonTitle(){return this.sharesListCollapsed?this.$gettext("Show more"):this.$gettext("Show less")},collapseMemberButtonTitle(){return this.memberListCollapsed?this.$gettext("Show more"):this.$gettext("Show less")},hasSharees(){return this.displayCollaborators.length>0},displayCollaborators(){return this.collaborators.length>3&&this.sharesListCollapsed?this.collaborators.slice(0,3):this.collaborators},displaySpaceMembers(){return this.spaceMembers.length>3&&this.memberListCollapsed?this.spaceMembers.slice(0,3):this.spaceMembers},showShareToggle(){return this.collaborators.length>3},showMemberToggle(){return this.spaceMembers.length>3},noSharePermsMessage(){const e=this.$gettext("You don't have permission to share this file."),s=this.$gettext("You don't have permission to share this folder.");return this.resource.type==="file"?e:s},showSpaceMembers(){return xe(this.space)&&this.resource.type!=="space"}},methods:{deleteShareConfirmation(e){this.dispatchModal({title:this.$gettext("Remove share"),confirmText:this.$gettext("Remove"),message:this.$gettext("Are you sure you want to remove this share?"),hasInput:!1,onConfirm:async()=>{const s=this.collaborators.length===1?this.collaborators[0].id:void 0;try{await this.deleteShare({clientService:this.$clientService,space:this.space,resource:this.resource,collaboratorShare:e}),this.showMessage({title:this.$gettext("Share was removed successfully")}),s&&Nt(this.$router,"files-shares-with-others")&&this.removeResources([{id:s}])}catch(i){console.error(i),this.showErrorMessage({title:this.$gettext("Failed to remove share"),errors:[i]})}}})},getSharedParentRoute(e){if(!e.indirect)return null;const s=this.getAncestorById(e.resourceId);return s?go({sharedAncestor:s,matchingSpace:this.space||this.matchingSpace}):null},isShareModifiable(e){return e.indirect||e.shareType===ce.remote.value?!1:xe(this.space)||wt(this.space)?this.space.canShare({user:this.user}):!0},isShareRemovable(e){return e.indirect?!1:xe(this.space)||wt(this.space)?this.space.canShare({user:this.user}):!0}}}),Sm={id:"oc-files-sharing-sidebar",class:"relative rounded-sm"},Cm={class:"flex justify-between items-center"},xm={class:"flex"},Am=["textContent"],Tm=["textContent"],Dm={id:"files-collaborators-headline",class:"flex items-center justify-between h-10 mt-2"},$m=["textContent"],Fm=["aria-label"],Rm={key:0,class:"flex justify-center"},Im={class:"flex items-center justify-between mt-2"},Pm=["textContent"],Em=["aria-label"],Lm={key:0,class:"flex justify-center"};function _m(e,s,i,l,n,c){const o=k("oc-contextual-helper"),r=k("copy-private-link"),p=k("invite-collaborator-form"),y=k("custom-component-target"),g=k("collaborator-list-item"),h=k("oc-button");return a(),w("div",Sm,[m("div",Cm,[m("div",xm,[m("h3",{class:"font-semibold text-base m-0",textContent:C(e.$gettext("Share with people"))},null,8,Am),s[0]||(s[0]=d()),e.helpersEnabled?(a(),R(o,Ge({key:0,class:"pl-1"},e.inviteCollaboratorHelp),null,16)):L("",!0)]),s[1]||(s[1]=d()),b(r,{resource:e.resource},null,8,["resource"])]),s[8]||(s[8]=d()),e.canShare({resource:e.resource,space:e.space})?(a(),R(p,{key:"new-collaborator",class:"mt-2"})):(a(),w("p",{key:"no-share-permissions-message",textContent:C(e.noSharePermsMessage)},null,8,Tm)),s[9]||(s[9]=d()),e.hasSharees?(a(),w(X,{key:2},[m("div",Dm,[m("h4",{class:"font-semibold my-0",textContent:C(e.sharedWithLabel)},null,8,$m)]),s[3]||(s[3]=d()),b(y,{"extension-point":e.fileSideBarSharesPanelSharedWithTopExtensionPoint},null,8,["extension-point"]),s[4]||(s[4]=d()),m("ul",{id:"files-collaborators-list",class:ye(["oc-list oc-list-divider",{"mb-4":e.showSpaceMembers,"m-0":!e.showSpaceMembers}]),"aria-label":e.$gettext("Share receivers")},[(a(!0),w(X,null,Te(e.displayCollaborators,v=>(a(),w("li",{key:v.id},[b(g,{share:v,"resource-name":e.resource.name,modifiable:e.isShareModifiable(v),removable:e.isShareRemovable(v),"shared-parent-route":e.getSharedParentRoute(v),"is-locked":e.resource.locked,onOnDelete:e.deleteShareConfirmation},null,8,["share","resource-name","modifiable","removable","shared-parent-route","is-locked","onOnDelete"])]))),128)),s[2]||(s[2]=d()),b(y,{"extension-point":e.fileSideBarSharesPanelSharedWithBottomExtensionPoint},null,8,["extension-point"])],10,Fm),s[5]||(s[5]=d()),e.showShareToggle?(a(),w("div",Rm,[b(h,{appearance:"raw",class:"toggle-shares-list-btn",onClick:e.toggleShareListCollapsed},{default:A(()=>[d(C(e.collapseButtonTitle),1)]),_:1},8,["onClick"])])):L("",!0)],64)):L("",!0),s[10]||(s[10]=d()),e.showSpaceMembers?(a(),w(X,{key:3},[m("div",Im,[m("h4",{class:"font-semibold my-2",textContent:C(e.spaceMemberLabel)},null,8,Pm)]),s[6]||(s[6]=d()),m("ul",{id:"space-collaborators-list",class:"oc-list oc-list-divider overflow-hidden m-0","aria-label":e.spaceMemberLabel},[(a(!0),w(X,null,Te(e.displaySpaceMembers,(v,D)=>(a(),w("li",{key:D},[b(g,{share:v,"resource-name":e.resource.name,modifiable:!1,"is-space-share":!0},null,8,["share","resource-name"])]))),128))],8,Em),s[7]||(s[7]=d()),e.showMemberToggle?(a(),w("div",Lm,[b(h,{appearance:"raw",onClick:e.toggleMemberListCollapsed},{default:A(()=>[d(C(e.collapseMemberButtonTitle),1)]),_:1},8,["onClick"])])):L("",!0)],64)):L("",!0)])}const Nm=ue(km,[["render",_m]]),zm={id:"oc-files-sharing-sidebar",class:"relative rounded-sm"},Mm={class:"flex"},Om={key:0,class:"flex"},Vm=["textContent"],jm={id:"files-collaborators-headline",class:"flex items-center justify-between relative h-10 mt-2"},qm={class:"flex"},Um=["textContent"],Bm=["aria-label"],Gm=Q({__name:"SpaceMembers",setup(e){const s=Je("filterInput"),i=Je("collaboratorList"),l=Oe(),n=Ee(),{canShare:c}=_s(),{dispatchModal:o}=ut(),r=kt(),{deleteShare:p}=r,y=Ye(),{upsertSpace:g,getSpaceMembers:h}=y,{showMessage:v,showErrorMessage:D}=et(),T=Me(),{$gettext:f}=ne(),S=We(),{user:x}=de(l),I=H(""),P=H(!1),F=me("resource"),_=u(()=>h(t(F))),$=(q,U)=>(U||"").trim()?new cs(q,{...ds,keys:["sharedWith.displayName","sharedWith.name"]}).search(U).map(W=>W.item):q,E=async()=>{P.value=!t(P),t(P)&&(await He(),t(s).focus())},N=q=>c({space:t(F),resource:t(F)})?q.permissions.includes(Ks.updatePermissions)?t(_).filter(({permissions:W})=>W.includes(Ks.updatePermissions)).length>1:!0:!1,j=u(()=>$(t(_),t(I))),Y=u(()=>S.options.contextHelpers),z=u(()=>zr({configStore:S})),V=u(()=>t(_).length>0),M=q=>{o({title:f("Remove member"),confirmText:f("Remove"),message:f("Are you sure you want to remove this member?"),hasInput:!1,onConfirm:async()=>{try{const U=q.sharedWith.id===t(x).id;if(await p({clientService:n,space:t(F),resource:t(F),collaboratorShare:q}),!U){const W=await n.graphAuthenticated.drives.getDrive(q.resourceId);g({...W,graphPermissions:t(F).graphPermissions})}if(v({title:f("Share was removed successfully")}),U){if(qe(T,"files-spaces-projects")){T.go(0);return}await T.push(Ze("files-spaces-projects"))}}catch(U){console.error(U),D({title:f("Failed to remove share"),errors:[U]})}}})};$e(P,()=>{I.value=""});let Z;return $e(I,async()=>{await He(),t(i)&&(Z=new Qt(t(i)),Z.unmark(),Z.mark(t(I),{element:"span",className:"mark-highlight"}))}),(q,U)=>{const J=k("oc-contextual-helper"),W=k("oc-icon"),B=k("oc-button"),O=Re("oc-tooltip");return a(),w("div",zm,[m("div",Mm,[t(c)({space:t(F),resource:t(F)})?(a(),w("div",Om,[m("h3",{class:"font-semibold text-base m-0",textContent:C(t(f)("Add members"))},null,8,Vm),U[1]||(U[1]=d()),Y.value?(a(),R(J,Ge({key:0,class:"pl-1"},z.value),null,16)):L("",!0)])):L("",!0),U[2]||(U[2]=d()),b(na,{resource:t(F),class:"ml-auto"},null,8,["resource"])]),U[7]||(U[7]=d()),t(c)({space:t(F),resource:t(F)})?(a(),R(aa,{key:"new-collaborator","save-button-label":t(f)("Add"),"invite-label":t(f)("Search"),class:"mt-2"},null,8,["save-button-label","invite-label"])):L("",!0),U[8]||(U[8]=d()),V.value?(a(),w(X,{key:1},[m("div",jm,[m("div",qm,[m("h4",{class:"font-semibold my-0",textContent:C(t(f)("Members"))},null,8,Um),U[3]||(U[3]=d()),Se((a(),R(B,{class:"open-filter-btn ml-2","aria-label":t(f)("Filter members"),appearance:"raw","aria-expanded":P.value,onClick:E},{default:A(()=>[b(W,{name:"search","fill-type":"line",size:"small"})]),_:1},8,["aria-label","aria-expanded"])),[[O,t(f)("Filter members")]])])]),U[5]||(U[5]=d()),m("div",{class:ye(["flex justify-between space-members-filter-container max-h-0",{"space-members-filter-container-expanded visible max-h-15 mb-4":P.value,invisible:!P.value}])},[b(t(Fi),{ref_key:"filterInput",ref:s,modelValue:I.value,"onUpdate:modelValue":U[0]||(U[0]=he=>I.value=he),class:"space-members-filter mr-2 w-full overflow-hidden [&_label]:text-sm",label:t(f)("Filter members"),"clear-button-enabled":!0},null,8,["modelValue","label"]),U[4]||(U[4]=d()),Se((a(),R(B,{class:"close-filter-btn mt-4 raw-hover-surface","aria-label":t(f)("Close filter"),appearance:"raw",onClick:E},{default:A(()=>[b(W,{name:"arrow-up-s","fill-type":"line"})]),_:1},8,["aria-label"])),[[O,t(f)("Close filter")]])],2),U[6]||(U[6]=d()),m("ul",{id:"files-collaborators-list",ref_key:"collaboratorList",ref:i,class:"oc-list oc-list-divider m-0","aria-label":t(f)("Space members")},[(a(!0),w(X,null,Te(j.value,he=>(a(),w("li",{key:he.id},[b(ia,{share:he,modifiable:N(he),removable:N(he),"is-space-share":!0,onOnDelete:oe=>M(he)},null,8,["share","modifiable","removable","onOnDelete"])]))),128))],8,Bm)],64)):L("",!0)])}}}),Hm=Q({name:"SharesPanel",components:{FileLinks:ep,FileShares:Nm,SpaceMembers:Gm},props:{showSpaceMembers:{type:Boolean,default:!1},showLinks:{type:Boolean,default:!1}},setup(){const e=kt(),{loading:s}=de(e);return{sharesLoading:s}}});function Wm(e,s,i,l,n,c){const o=k("oc-loader"),r=k("space-members"),p=k("file-shares"),y=k("file-links");return a(),w("div",null,[e.sharesLoading?(a(),R(o,{key:0,"aria-label":e.$gettext("Loading list of shares")},null,8,["aria-label"])):(a(),w(X,{key:1},[e.showSpaceMembers?(a(),R(r,{key:0,class:"bg-role-surface-container p-4 mb-2"})):(a(),R(p,{key:1,class:"bg-role-surface-container p-4 mb-2"})),s[0]||(s[0]=d()),e.showLinks?(a(),R(y,{key:2,class:"bg-role-surface-container p-4"})):L("",!0)],64))])}const io=ue(Hm,[["render",Wm]]),Ym=Q({name:"NoSelection",computed:{selectedFilesString(){return this.$gettext("Select a file or folder to view details")}}}),Km={id:"oc-no-selection",class:"text-center mt-12"},Qm=["textContent"];function Zm(e,s,i,l,n,c){const o=k("oc-icon");return a(),w("div",Km,[b(o,{size:"xxlarge",name:"drag-drop","fill-type":"line"}),s[0]||(s[0]=d()),m("p",{"data-testid":"selectedFilesText",textContent:C(e.selectedFilesString)},null,8,Qm)])}const Jm=ue(Ym,[["render",Zm]]),Xm=Q({name:"TrashNoSelection"}),eh={id:"oc-trash-no-selection",class:"text-center mt-12"},th=["textContent"];function sh(e,s,i,l,n,c){const o=k("oc-icon");return a(),w("div",eh,[b(o,{size:"xxlarge",name:"delete-bin","fill-type":"line"}),s[0]||(s[0]=d()),m("p",{"data-testid":"selectTrashText",textContent:C(e.$gettext("Select a trash bin to view details"))},null,8,th)])}const oh=ue(Xm,[["render",sh]]),ah=Q({__name:"SpaceActions",setup(e){const s=me("resource"),i=u(()=>({space:void 0,resources:[t(s)]})),l=H(null),{actions:n}=Ro(),{actions:c}=Io(),{actions:o}=bo(),{actions:r}=Eo(),{actions:p}=Po(),{actions:y}=vo(),{actions:g}=Lo(),{actions:h}=_o(),{actions:v,showModalImageSpace:D}=Zo({spaceImageInput:l}),{actions:T}=yo(),{actions:f}=wo(),{actions:S}=Ao(),{actions:x}=Rs(),I=u(()=>[...t(S),...t(g),...t(o),...t(y),...t(r),...t(v),...t(T),...t(f),...t(p),...t(h),...t(n),...t(c),...t(x)].filter(P=>P.isVisible(t(i))));return(P,F)=>{const _=k("oc-list");return a(),w("div",null,[m("input",{id:"space-image-upload-input",ref_key:"spaceImageInput",ref:l,type:"file",name:"file",tabindex:"-1",accept:"image/jpeg, image/png",class:"absolute left-[-99999px]",hidden:"",onChange:F[0]||(F[0]=(...$)=>t(D)&&t(D)(...$))},null,544),F[1]||(F[1]=d()),b(_,{id:"oc-spaces-actions-sidebar",class:"sidebar-actions-panel"},{default:A(()=>[(a(!0),w(X,null,Te(I.value,($,E)=>(a(),R(t(Ms),{key:`action-${E}`,action:$,"action-options":i.value},null,8,["action","action-options"]))),128))]),_:1})])}}}),ih=["textContent"],nh={key:1,class:"ml-2"},rh={class:"flex items-center"},lh=["innerHTML"],ch=["textContent"],dh=["textContent"],uh=200,ph=Q({__name:"ActivitiesPanel",setup(e){const{$ngettext:s,current:i}=ne(),l=Ee(),n=me("resource"),c=H([]),o=u(()=>s("Showing %{activitiesCount} activity","Showing %{activitiesCount} activities",t(c).length,{activitiesCount:t(c).length.toString()})),r=It(function*(v){c.value=yield*Ot(l.graphAuthenticated.activities.listActivities(`itemid:${t(n).fileId} AND limit:${uh} AND sort:desc`,{signal:v}))}).restartable(),p=u(()=>r.isRunning||!r.last),y=v=>{let D=v.template.message;for(const[T,f]of Object.entries(v.template.variables)){const S=Za(f.displayName||f.name);D=D.replace(`{${T}}`,`${S}`)}return D},g=v=>{const D=[];for(const T of["user","sharee"]){const f=v.template.variables[T];f&&D.push({userName:f.displayName,displayName:f.displayName,userId:f.id,avatarType:f.shareType||"user"})}return D},h=v=>{const D=st.fromISO(v.times.recordedTime);return os(D,i)};return $e(n,()=>{r.perform()},{immediate:!0,deep:!0}),(v,D)=>{const T=k("oc-loader"),f=k("oc-avatars"),S=k("oc-list");return p.value?(a(),R(T,{key:0})):(a(),w(X,{key:1},[c.value.length?(a(),w("div",nh,[b(S,{class:"oc-timeline break-all"},{default:A(()=>[(a(!0),w(X,null,Te(c.value,x=>(a(),w("li",{key:x.id},[m("div",rh,[b(f,{items:g(x),class:"mr-1 inline-flex",stacked:"","gap-size":"small",width:16.8,"icon-size":"xsmall"},{userAvatars:A(({avatars:I,width:P})=>[(a(!0),w(X,null,Te(I,F=>(a(),R(t(Zt),{key:F.userId,"user-id":F.userId,"user-name":F.userName,width:P},null,8,["user-id","user-name","width"]))),128))]),_:1},8,["items"]),D[0]||(D[0]=d()),m("span",{innerHTML:y(x)},null,8,lh)]),D[1]||(D[1]=d()),m("span",{class:"text-role-on-surface-variant text-sm mt-2",textContent:C(h(x))},null,8,ch)]))),128))]),_:1}),D[2]||(D[2]=d()),m("p",{class:"text-role-on-surface-variant text-sm",textContent:C(o.value)},null,8,dh)])):(a(),w("p",{key:0,textContent:C(v.$gettext("No activities"))},null,8,ih))],64))}}}),mh=Q({name:"AudioMetaPanel",setup(){const e=me("resource"),s=u(()=>t(e).audio.album||"-"),i=u(()=>t(e).audio.artist||"-"),l=u(()=>t(e).audio.albumArtist||"-"),n=u(()=>t(e).audio.genre||"-"),c=u(()=>t(e).audio.title||"-"),o=u(()=>{const g=t(e).audio.duration;if(!g)return"-";const h=Oi.fromMillis(g);return h.hours>0?h.toFormat("hh:mm:ss"):h.toFormat("mm:ss")}),r=u(()=>{const g=t(e).audio;return g.track&&g.trackCount?`${g.track} / ${g.trackCount}`:g.track||"-"}),p=u(()=>{const g=t(e).audio;return g.disc&&g.discCount?`${g.disc} / ${g.discCount}`:g.disc||"-"}),y=u(()=>t(e).audio.year||"-");return{album:s,artist:i,albumArtist:l,genre:n,title:c,duration:o,track:r,disc:p,year:y}}}),hh={id:"files-sidebar-panel-audio",class:"rounded-sm p-4 bg-role-surface-container"},fh={class:"details-list grid grid-cols-[auto_minmax(0,1fr)] m-0"},gh=["textContent"],bh=["textContent"],vh=["textContent"],yh=["textContent"],wh=["textContent"],kh=["textContent"],Sh=["textContent"],Ch=["textContent"],xh=["textContent"],Ah=["textContent"],Th=["textContent"],Dh=["textContent"],$h=["textContent"],Fh=["textContent"],Rh=["textContent"],Ih=["textContent"];function Ph(e,s,i,l,n,c){return a(),w("div",hh,[m("dl",fh,[m("dt",{textContent:C(e.$gettext("Title"))},null,8,gh),s[0]||(s[0]=d()),m("dd",{"data-testid":"audio-panel-title",textContent:C(e.title)},null,8,bh),s[1]||(s[1]=d()),m("dt",{textContent:C(e.$gettext("Duration"))},null,8,vh),s[2]||(s[2]=d()),m("dd",{"data-testid":"audio-panel-duration",textContent:C(e.duration)},null,8,yh),s[3]||(s[3]=d()),m("dt",{textContent:C(e.$gettext("Authors"))},null,8,wh),s[4]||(s[4]=d()),m("dd",{"data-testid":"audio-panel-artist",textContent:C(e.artist)},null,8,kh),s[5]||(s[5]=d()),m("dt",{textContent:C(e.$gettext("Album"))},null,8,Sh),s[6]||(s[6]=d()),m("dd",{"data-testid":"audio-panel-album",textContent:C(e.album)},null,8,Ch),s[7]||(s[7]=d()),m("dt",{textContent:C(e.$gettext("Genre"))},null,8,xh),s[8]||(s[8]=d()),m("dd",{"data-testid":"audio-panel-genre",textContent:C(e.genre)},null,8,Ah),s[9]||(s[9]=d()),m("dt",{textContent:C(e.$gettext("Year recorded"))},null,8,Th),s[10]||(s[10]=d()),m("dd",{"data-testid":"audio-panel-year",textContent:C(e.year)},null,8,Dh),s[11]||(s[11]=d()),m("dt",{textContent:C(e.$gettext("Track"))},null,8,$h),s[12]||(s[12]=d()),m("dd",{"data-testid":"audio-panel-track",textContent:C(e.track)},null,8,Fh),s[13]||(s[13]=d()),m("dt",{textContent:C(e.$gettext("Disc"))},null,8,Rh),s[14]||(s[14]=d()),m("dd",{"data-testid":"audio-panel-disc",textContent:C(e.disc)},null,8,Ih)])])}const Eh=ue(mh,[["render",Ph]]),Lh=Q({name:"MetadataPanel",setup(){const e=me("resource"),s=me("space"),i=Ee(),l=H({}),n=H(!1),c=H(!1),o=u(()=>Object.keys(t(l)).length===0),r=y=>{let g=y;return g.startsWith("oy.")&&(g=g.substring(3)),g=g.replace(/([A-Z])/g," $1"),g.charAt(0).toUpperCase()+g.slice(1)},p=async()=>{const y=t(e),g=t(s);if(!(!y?.id||!g?.id)){n.value=!0,c.value=!1;try{const v=await i.httpAuthenticated.get(`/graph/v1beta1/drives/${g.id}/items/${y.id}/metadata`);v.status===200?l.value=v.data:l.value={}}catch{c.value=!0,l.value={}}finally{n.value=!1}}};return Pe(p),$e(()=>t(e)?.id,()=>p()),{metadata:l,loading:n,error:c,isEmpty:o,formatKey:r}}}),_h={id:"files-sidebar-panel-metadata",class:"rounded-sm p-4 bg-role-surface-container"},Nh={key:0,class:"flex justify-center"},zh={key:1,class:"text-role-on-surface-variant"},Mh={key:2,class:"text-role-on-surface-variant"},Oh=["aria-label"],Vh=["data-testid"],jh=["data-testid"];function qh(e,s,i,l,n,c){const o=k("oc-spinner");return a(),w("div",_h,[e.loading?(a(),w("div",Nh,[b(o,{"aria-label":e.$gettext("Loading metadata")},null,8,["aria-label"])])):e.error?(a(),w("div",zh,C(e.$gettext("Could not load metadata.")),1)):e.isEmpty?(a(),w("div",Mh,C(e.$gettext("No metadata available.")),1)):(a(),w("dl",{key:3,class:"details-list grid grid-cols-[auto_minmax(0,1fr)] m-0","aria-label":e.$gettext("Custom metadata for the selected item")},[(a(!0),w(X,null,Te(e.metadata,(r,p)=>(a(),w(X,{key:p},[m("dt",{class:"font-medium","data-testid":`metadata-key-${p}`},C(e.formatKey(p)),9,Vh),s[0]||(s[0]=d()),m("dd",{"data-testid":`metadata-value-${p}`},C(r||"-"),9,jh)],64))),128))],8,Oh))])}const Uh=ue(Lh,[["render",qh]]),Bh=()=>{const e=Me(),s=mt(),{$gettext:i}=ne(),l=ci(),{isPersonalSpaceRoot:n}=Ke(),{canListShares:c}=di(),{canListVersions:o}=ui();return[{id:"com.github.opencloud-eu.web.files.sidebar-panel.no-selection",type:"sidebarPanel",extensionPointIds:[Ve.id],panel:{name:"no-selection",icon:"questionnaire-line",title:()=>i("Details"),component:Jm,isRoot:()=>!0,isVisible:({parent:r,items:p})=>Ct(e,"files-trash-overview")||qe(e,"files-spaces-projects")||p?.length>0?!1:!xe(r)}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.trash-no-selection",type:"sidebarPanel",extensionPointIds:[Ve.id],panel:{name:"no-selection",icon:"questionnaire-line",title:()=>i("Details"),component:oh,isRoot:()=>!0,isVisible:()=>Ct(e,"files-trash-overview")}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.details-single-selection",type:"sidebarPanel",extensionPointIds:[Ve.id],panel:{name:"details",icon:"questionnaire-line",title:()=>i("Details"),component:ea,componentAttrs:({items:r})=>({previewEnabled:t(l),tagsEnabled:!n(r[0])&&!Ct(e,"files-trash-generic"),versionsEnabled:!Ct(e,"files-trash-generic")}),isRoot:()=>!0,isVisible:({items:r})=>r?.length!==1?!1:!xe(r[0])}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.details-multi-selection",type:"sidebarPanel",extensionPointIds:[Ve.id],panel:{name:"details-multiple",icon:"questionnaire-line",title:()=>i("Details"),component:Id,componentAttrs:()=>({get showSpaceCount(){return!qe(e,"files-spaces-generic")&&!Nt(e,"files-shares-with-me")&&!Ct(e,"files-trash-generic")}}),isRoot:()=>!0,isVisible:({items:r})=>qe(e,"files-spaces-projects")?!1:r?.length>1}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.exif",type:"sidebarPanel",extensionPointIds:["global.files.sidebar"],panel:{name:"exif",icon:"image",title:()=>i("Image Info"),component:ou,isVisible:({items:r})=>{if(r?.length!==1)return!1;const p=r[0];return p.type!=="file"?!1:!gs(p.image)||!gs(p.photo)}}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.audio-meta",type:"sidebarPanel",extensionPointIds:["global.files.sidebar"],panel:{name:"audio-meta",icon:"music",title:()=>i("Audio Info"),component:Eh,isVisible:({items:r})=>{if(r?.length!==1)return!1;const p=r[0];return p.type!=="file"?!1:!gs(p.audio)}}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.metadata",type:"sidebarPanel",extensionPointIds:["global.files.sidebar"],panel:{name:"metadata",icon:"price-tag-3",title:()=>i("Metadata"),component:Uh,isVisible:({items:r})=>r?.length!==1?!1:!xe(r[0])}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.actions",type:"sidebarPanel",extensionPointIds:[Ve.id],panel:{name:"actions",icon:"play-circle",iconFillType:"line",title:()=>i("Actions"),component:Xo,isRoot:()=>!1,isVisible:({items:r})=>r?.length!==1||n(r[0])?!1:!xe(r[0])}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.sharing",type:"sidebarPanel",extensionPointIds:[Ve.id],panel:{name:"sharing",icon:"user-add",iconFillType:"line",title:()=>i("Shares"),component:io,componentAttrs:()=>({showSpaceMembers:!1,get showLinks(){return s.sharingPublicEnabled}}),isVisible:({items:r,root:p})=>r?.length!==1||xe(r[0])?!1:c({space:p,resource:r[0]})}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.versions",type:"sidebarPanel",extensionPointIds:[Ve.id],panel:{name:"versions",icon:"git-branch",title:()=>i("Versions"),component:pu,componentAttrs:()=>({isReadOnly:!t(l)}),isVisible:({items:r,root:p})=>r?.length!==1?!1:o({space:p,resource:r[0]})}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.projects.no-selection",type:"sidebarPanel",extensionPointIds:[Ve.id],panel:{name:"no-selection",icon:"questionnaire-line",title:()=>i("Details"),component:bi,isRoot:()=>!0,isVisible:({items:r})=>qe(e,"files-spaces-projects")?r?.length===0:!1}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.projects.details-single-selection",type:"sidebarPanel",extensionPointIds:[Ve.id],panel:{name:"details-space",icon:"questionnaire-line",title:()=>i("Details"),component:vi,isRoot:()=>!0,isVisible:({items:r})=>r?.length===1&&xe(r[0])}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.projects.details-multi-selection",type:"sidebarPanel",extensionPointIds:[Ve.id],panel:{name:"details-space-multiple",icon:"questionnaire-line",title:()=>i("Details"),component:yi,componentAttrs:({items:r})=>({selectedSpaces:r}),isRoot:()=>!0,isVisible:({items:r})=>r?.length>1&&qe(e,"files-spaces-projects")}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.projects.actions",type:"sidebarPanel",extensionPointIds:[Ve.id],panel:{name:"space-actions",icon:"play-circle",iconFillType:"line",title:()=>i("Actions"),component:ah,isVisible:({items:r})=>!(r?.length!==1||!xe(r[0])||!qe(e,"files-spaces-projects")&&!qe(e,"files-spaces-generic"))}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.projects.sharing",type:"sidebarPanel",extensionPointIds:[Ve.id],panel:{name:"space-share",icon:"group",title:()=>i("Members"),component:io,componentAttrs:()=>({showSpaceMembers:!0,get showLinks(){return s.sharingPublicEnabled}}),isVisible:({items:r})=>r?.length===1&&xe(r[0])&&!r[0].disabled}},{id:"com.github.opencloud-eu.web.files.sidebar-panel.activities",type:"sidebarPanel",extensionPointIds:[Ve.id],panel:{name:"activities",icon:"pulse",title:()=>i("Activities"),component:ph,isVisible:({items:r})=>!(r?.length!==1||Ct(e,"files-trash-generic"))}}]},Gh=()=>{const{$gettext:e}=ne();return[{id:"com.github.opencloud-eu.web.files.folder-view.resource-table-condensed",type:"folderView",extensionPointIds:[Ut.id,Gt.id,Ht.id,Bt.id,es.id,Wt.id,Yt.id,Kt.id],folderView:{name:"resource-table-condensed",label:e("Condensed table view"),icon:{name:"menu-line-condensed",fillType:"none"},component:At}},{id:"com.github.opencloud-eu.web.files.folder-view.resource-table",type:"folderView",extensionPointIds:[Ut.id,Bt.id,as.id,Gt.id,Ht.id,es.id,Wt.id,Yt.id,Kt.id],folderView:{name:"resource-table",label:e("Default table view"),icon:{name:"menu-line",fillType:"none"},component:At}},{id:"com.github.opencloud-eu.web.files.folder-view.resource-tiles",type:"folderView",extensionPointIds:[Ut.id,Bt.id,as.id,Gt.id,Ht.id,es.id,Wt.id,Yt.id,Kt.id],folderView:{name:"resource-tiles",label:e("Tiles view"),icon:{name:"apps-2",fillType:"line"},component:ko}}]},Hh=()=>{const{actions:e}=Ja(),{actions:s}=pi(),{actions:i}=mi(),{actions:l}=hi(),n=t(l).filter(o=>!o.name.startsWith("protect-folder")&&!o.name.startsWith("unprotect-folder")),c=t(l).filter(o=>o.name==="protect-folder"||o.name==="unprotect-folder");return[{id:"com.github.opencloud-eu.web.files.context-action.open-shortcut",extensionPointIds:[Ho.id],type:"action",action:t(e)[0]},{id:"com.github.opencloud-eu.web.files.quick-action.collaborator",extensionPointIds:[_t.id],type:"action",action:t(s)[0]},{id:"com.github.opencloud-eu.web.files.quick-action.quicklink",extensionPointIds:[_t.id],type:"action",action:t(i)[0]},...n.map(o=>({id:`com.github.opencloud-eu.web.files.quick-action.${o.name}`,extensionPointIds:[_t.id],type:"action",action:o})),...c.map(o=>({id:`com.github.opencloud-eu.web.files.quick-action.${o.name}`,extensionPointIds:[_t.id],type:"action",action:o})),...c.map(o=>({id:`com.github.opencloud-eu.web.files.batch-action.${o.name}`,extensionPointIds:[Go.id],type:"action",action:o}))]},Wh=()=>{const{actions:e}=Ps();return[{id:"com.github.opencloud-eu.web.files.quick-action.empty-trash-bin",extensionPointIds:[Vs.id],type:"action",action:t(e)[0]}]},Yh=["textContent"],Kh=["textContent"],Qh={key:0,class:"ml-auto text-sm"},Zh=["textContent"],Jh={key:0,class:"ml-auto text-sm",textContent:"url"},Xh=Q({__name:"CreateOrUploadMenu",props:{toggle:{}},setup(e){const s=Oe(),i=ne(),{$gettext:l}=i,n=ve(),{currentFolder:c}=de(n),o=Ye(),{currentSpace:r}=de(o),p=u(()=>t(n.areFileExtensionsShown)),{actions:y}=Is({space:r}),g=()=>t(y)[0].handler(),{actions:h}=Xa({space:r}),v=()=>t(h)[0].handler(),{actions:D}=ei({space:r}),T=u(()=>{const $=[],E=t(D).filter(({isExternal:j})=>j);E.length&&$.push(E);const N=t(D).filter(({isExternal:j})=>!j);return N.length&&$.push(N),$}),f=ns(),S=u(()=>[...f.requestExtensions(Bo).map($=>$.action)].filter($=>$.isVisible())),x=u(()=>t(c)?.canUpload({user:s.user})),I=$=>$.isDisabled?$.isDisabled():!1,P=$=>typeof $.icon=="function"?$.icon({space:t(r)}):$.icon,F=$=>({type:"file",extension:$.ext}),_=u(()=>({isFolder:!0,extension:""}));return($,E)=>{const N=k("oc-button"),j=k("oc-list"),Y=k("oc-icon"),z=k("oc-drop"),V=Re("oc-tooltip");return a(),R(z,{title:t(l)("New"),toggle:e.toggle,"drop-id":"create-or-upload-drop",class:"w-auto min-w-3xs",mode:"click","close-on-click":"","padding-size":"small"},{default:A(()=>[b(j,{id:"create-list",class:ye([p.value?"sm:min-w-xs":null,"py-2 sm:first:pt-0 sm:last:pb-0"])},{default:A(()=>[m("li",null,[b(N,{id:"new-folder-btn",class:"w-full","justify-content":"left",appearance:"raw",onClick:g},{default:A(()=>[b(t(Mt),{resource:_.value,size:"medium",class:"[&_svg]:h-5.5! sm:[&_svg]:h-full"},null,8,["resource"]),E[0]||(E[0]=d()),m("span",{textContent:C(t(l)("Folder"))},null,8,Yh)]),_:1})])]),_:1},8,["class"]),E[7]||(E[7]=d()),x.value?(a(),R(j,{key:0,id:"upload-list",class:"py-2 sm:first:pt-0 sm:last:pb-0 border-t"},{default:A(()=>[m("li",null,[b(ys,{"btn-class":"w-full","btn-label":t(l)("Files Upload")},null,8,["btn-label"])]),E[1]||(E[1]=d()),m("li",null,[b(ys,{"btn-class":"w-full","btn-label":t(l)("Folder Upload"),"is-folder":!0},null,8,["btn-label"])])]),_:1})):L("",!0),E[8]||(E[8]=d()),S.value.length?(a(),R(j,{key:1,id:"extension-list",class:"py-2 sm:first:pt-0 sm:last:pb-0 border-t"},{default:A(()=>[(a(!0),w(X,null,Te(S.value,(M,Z)=>Se((a(),w("li",{key:`${Z}-${Pa()}`},[b(N,{class:ye(["w-full",M.class]),appearance:"raw","justify-content":"left",disabled:I(M),onClick:()=>M.handler()},{default:A(()=>[b(Y,{name:P(M),"fill-type":"line"},null,8,["name"]),E[2]||(E[2]=d()),m("span",{textContent:C(M.label())},null,8,Kh)]),_:2},1032,["class","disabled","onClick"])])),[[V,I(M)&&M.disabledTooltip?M.disabledTooltip():null]])),128))]),_:1})):L("",!0),E[9]||(E[9]=d()),(a(!0),w(X,null,Te(T.value,(M,Z)=>(a(),R(j,{key:`file-creation-group-${Z}`,class:"py-2 sm:first:pt-0 sm:last:pb-0 border-t"},{default:A(()=>[(a(!0),w(X,null,Te(M,(q,U)=>(a(),w("li",{key:`file-creation-item-${Z}-${U}`},[b(N,{appearance:"raw",class:ye(["w-full",["new-file-btn-"+q.ext]]),"justify-content":"left",onClick:()=>q.handler()},{default:A(()=>[b(t(Mt),{resource:F(q),size:"medium",class:"[&_svg]:h-5.5! sm:[&_svg]:h-full"},null,8,["resource"]),E[3]||(E[3]=d()),m("span",null,C(q.label()),1),E[4]||(E[4]=d()),p.value&&q.ext?(a(),w("span",Qh,C(q.ext),1)):L("",!0)]),_:2},1032,["class","onClick"])]))),128))]),_:2},1024))),128)),E[10]||(E[10]=d()),b(j,{class:"py-2 sm:first:pt-0 sm:last:pb-0 border-t"},{default:A(()=>[m("li",null,[b(N,{id:"new-shortcut-btn",class:"w-full","justify-content":"left",appearance:"raw",onClick:v},{default:A(()=>[b(Y,{name:"external-link",size:"medium"}),E[5]||(E[5]=d()),m("span",{textContent:C(t(l)("Shortcut"))},null,8,Zh),E[6]||(E[6]=d()),p.value?(a(),w("span",Jh)):L("",!0)]),_:1})])]),_:1})]),_:1},8,["title","toggle"])}}}),ra="files",ef=e=>{const s=mt(),i=We(),l=Oe(),n=ve(),{currentFolder:c}=de(n),o=Me(),{search:r}=Vo(),{$gettext:p}=ne(),{actions:y}=wi(),g=u(()=>t(y)[0]),h=Hh(),v=Wh(),D=Gh(),T=Bh();return u(()=>[...h,...v,...D,...T,{id:"com.github.opencloud-eu.web.files.search",extensionPointIds:["app.search.provider"],type:"search",searchProvider:new Dd(s,o,r,i)},{id:`com.github.opencloud-eu.web.${ra}.floating-action-button`,extensionPointIds:["app.files.floating-action-button"],type:"floatingActionButton",icon:"add",label:()=>p("New"),handler:()=>{if(qe(o,"files-spaces-projects"))return t(g).handler()},isDisabled:()=>qe(o,"files-spaces-projects")&&t(g).isVisible()?!1:!t(c)?.canUpload({user:l.user}),mode:()=>qe(o,"files-spaces-projects")?"handler":"drop",isVisible:()=>!xs(o,"files-public-upload"),dropComponent:Xh},...l.user&&[{id:`app.${e.id}.menuItem`,type:"appMenuItem",label:()=>e.name,color:e.color,icon:e.icon,priority:10,path:Qe(e.id)}]||[]])},je={id:ra,icon:"resource-type-folder",color:"var(--oc-role-secondary)",extensions:[]},tf=({$ability:e,$gettext:s})=>{const i=Ye(),l=Oe(),n=mt(),{isEnabled:c}=Jt();return[{name(){return s("Personal")},icon:je.icon,fillType:"fill",route:{path:`/${je.id}/spaces/personal`},isActive:()=>!i.currentSpace||i.currentSpace?.isOwner(l.user),isVisible(){return i.spacesInitialized?!!i.spaces.find(o=>yt(o)&&o.isOwner(l.user)):!0},priority:10},{name:s("Favorites"),icon:"star",route:{path:`/${je.id}/favorites`},isVisible(){return n.filesFavorites&&e.can("read","Favorite")},priority:20},{name:s("Shares"),icon:"share-forward",route:{path:`/${je.id}/shares`},isActive:()=>{const o=i.currentSpace;return!o||wt(o)||!o?.isOwner(l.user)},activeFor:[{path:`/${je.id}/spaces/share`},{path:`/${je.id}/spaces/ocm-share`},{path:`/${je.id}/spaces/personal`}],isVisible(){return n.sharingApiEnabled!==!1},priority:30},{name:s("Spaces"),icon:"layout-grid",route:{path:`/${je.id}/spaces/projects`},activeFor:[{path:`/${je.id}/spaces/project`}],isVisible(){return n.spacesProjects},priority:40},{name:s("Deleted files"),icon:"delete-bin-5",route:{path:`/${je.id}/trash/overview`},activeFor:[{path:`/${je.id}/trash`}],isVisible(){return n.davTrashbin==="1.0"&&n.filesUndelete&&!t(c)},priority:50}]},Kf=Mi({setup(){const{$gettext:e}=ne();return je.name=e("Files"),{appInfo:je,routes:ti({App:Yi,Favorites:mn,FilesDrop:Ln,SearchResults:ji,Shares:{SharedViaLink:fr,SharedWithMe:tr,SharedWithOthers:cr},Spaces:{DriveResolver:oc,Projects:bc},Trash:{Overview:Rc}}),navItems:tf,translations:dd,extensions:ef(je),extensionPoints:Qi()}}});export{Kf as default,tf as navItems}; diff --git a/web-dist/js/web-app-files-Cm2eXkHd.mjs.gz b/web-dist/js/web-app-files-Cm2eXkHd.mjs.gz new file mode 100644 index 0000000000..6fc8962488 Binary files /dev/null and b/web-dist/js/web-app-files-Cm2eXkHd.mjs.gz differ diff --git a/web-dist/js/web-app-mail-xhKIBgXe.mjs b/web-dist/js/web-app-mail-xhKIBgXe.mjs new file mode 100644 index 0000000000..5fb19424b5 --- /dev/null +++ b/web-dist/js/web-app-mail-xhKIBgXe.mjs @@ -0,0 +1,149 @@ +import{M as ke,aZ as Y,a_ as Cc,aL as D,u as V,bL as hn,s as q,bJ as B,I as M,H as S,v,bb as F,t as ee,cm as it,q as U,dU as Or,cj as Yo,cr as bn,aU as ye,bk as b,dt as ut,du as H,ea as hs,eb as pe,ec as kh,dv as he,ed as Kt,da as sn,bQ as tt,co as Oe,F as Je,aX as er,au as We,af as wh,bE as tr,aD as Ho,az as Ur,a5 as vh,bF as Ch,as as oo,a0 as Sh,ao as Th,b7 as Mh,J as Ah,bO as un,bu as Sc,bp as Eh,cs as Dh,d9 as Oh}from"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{A as nr}from"./chunks/AppLoadingSpinner-D4wmhWZf.mjs";import{N as ki}from"./chunks/NoContentMessage-CtsU0h69.mjs";import{h as Tc,c as Os}from"./chunks/datetime-CpSA3f1i.mjs";import{_ as Vo}from"./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs";import{f as nn}from"./chunks/index-lRhEXmMs.mjs";import{u as on}from"./chunks/useClientService-BP8mjZl2.mjs";import{r as Nh,c as Ih}from"./chunks/icon-BPAP2zgX.mjs";import{t as Mc}from"./chunks/download-Bmys4VUp.mjs";import{f as _h,u as Ac}from"./chunks/modals-DsP9TGnr.mjs";import{u as jo}from"./chunks/messages-bd5_8QAH.mjs";import{D as Ns}from"./chunks/locale-tv0ZmyWq.mjs";import{k as Lh,b as Rh}from"./chunks/index-Vcq4gwWv.mjs";import{i as sr}from"./chunks/isEmpty-BPG2bWXw.mjs";import{d as Ph}from"./chunks/types-BoCZvwvE.mjs";import{aK as Bh}from"./chunks/user-C7xYeMZ3.mjs";import"./chunks/v4-EwEgHOG0.mjs";import"./chunks/_getTag-rbyw32wi.mjs";import"./chunks/_Set-DyVdKz_x.mjs";const zh={},$h={},Fh={Download:"Stáhnout","Add link":"Přidat odkaz",Apply:"Použít",From:"Od",To:"Pro",Close:"Zavřít",Send:"Odeslat",Mail:"E-mail"},Yh={},Hh={Download:"Descarga","Add link":"Añadir enlace",Send:"Enviar"},Vh={Accounts:"Λογαριασμοί","Toggle details":"Εναλλαγή λεπτομερειών",Organizer:"Διοργανωτής",Participants:"Συμμετέχοντες",Download:"Λήψη","+%{attendeeCount} more":"+%{attendeeCount} ακόμη","Failed to download %{name}":"Αποτυχία λήψης του %{name}","Remove attachment":"Αφαίρεση συνημμένου","Download attachment":"Λήψη συνημμένου",Attachment:"Συνημμένο",Expand:"Ανάπτυξη",Collapse:"Σύμπτυξη","Add link":"Προσθήκη συνδέσμου",Apply:"Εφαρμογή",URL:"URL","Write new Email":"Σύνταξη νέου Email","No mailboxes found":"Δεν βρέθηκαν γραμματοκιβώτια","Unread emails":"Μη αναγνωσμένα μηνύματα","Add attachment":"Προσθήκη συνημμένου","Attach file":"Επισύναψη αρχείου","Please select a sender account first":"Παρακαλούμε επιλέξτε πρώτα έναν λογαριασμό αποστολέα","Failed to upload %{name}":"Αποτυχία μεταφόρτωσης του %{name}",From:"Από",To:"Προς",CC:"Κοινοποίηση (CC)",BCC:"Κρυφή κοινοποίηση (BCC)",Subject:"Θέμα","No mail selected":"Δεν έχει επιλεγεί μήνυμα","Navigate back":"Πλοήγηση πίσω","To:":"Προς:",Thread:"Νήμα","%{number} messages in this thread":"%{number} μηνύματα σε αυτό το νήμα","This mail has attachments":"Αυτό το μήνυμα έχει συνημμένα",Draft:"Προσχέδιο","This mail is a draft":"Αυτό το μήνυμα είναι προσχέδιο",Flagged:"Με σημαία","This mail is flagged":"Αυτό το μήνυμα έχει σημανθεί με σημαία",Answered:"Απαντημένο","This mail has been answered":"Αυτό το μήνυμα έχει απαντηθεί",Forwarded:"Προωθημένο","This mail has been forwarded":"Αυτό το μήνυμα έχει προωθηθεί",Spam:"Ανεπιθύμητη αλληλογραφία","No mailbox selected":"Δεν έχει επιλεγεί γραμματοκιβώτιο","No mails in this mailbox":"Δεν υπάρχουν μηνύματα σε αυτό το γραμματοκιβώτιο","New message":"Νέο μήνυμα","Collapse compose window":"Σύμπτυξη παραθύρου σύνταξης","Expand compose window":"Ανάπτυξη παραθύρου σύνταξης",Close:"Κλείσιμο",Send:"Αποστολή","Toggle text formatting toolbar":"Εναλλαγή εργαλειοθήκης μορφοποίησης κειμένου",Mail:"Αλληλογραφία","All emails":"Όλα τα μηνύματα"},jh={Accounts:"Konten","Toggle details":"Details umschalten",Organizer:"Veranstalter",Participants:"Teilnehmer",Download:"Herunterladen","+%{attendeeCount} more":"+%{attendeeCount} weitere","Failed to download %{name}":"Konnte %{name} nicht herunterladen","Remove attachment":"Anhang entfernen","Download attachment":"Anhang herunterladen",Attachment:"Anhang",Expand:"Ausklappen",Collapse:"Einklappen","Add link":"Link hinzufügen",Apply:"Anwenden",URL:"URL","Write new Email":"Neue E-Mail schreiben","No mailboxes found":"Keine Postfächer gefunden","Unread emails":"Ungelesene E-Mails","Add attachment":"Anhang hinzufügen","Attach file":"Datei hinzufügen","Please select a sender account first":"Bitte wählen Sie zuerst ein Absenderkonto aus.","Failed to upload %{name}":"Hochladen von %{name} fehlgeschlagen",From:"Von",To:"An",CC:"CC",BCC:"BCC",Subject:"Betreff","No mail selected":"Keine E-Mail ausgewählt","Navigate back":"Zurückblättern","To:":"An:",Thread:"Unterhaltung","%{number} messages in this thread":"%{number} Nachrichten in dieser Unterhaltung","This mail has attachments":"Dies E-Mail enthält Anhänge",Draft:"Entwurf","This mail is a draft":"Diese E-Mail ist ein Entwurf",Flagged:"Markiert","This mail is flagged":"Diese E-Mail ist markiert",Answered:"Beantwortet","This mail has been answered":"Diese E-Mail wurde beantwortet",Forwarded:"Weitergeleitet","This mail has been forwarded":"Diese E-Mail wurde weitergeleitet",Spam:"Spam","No mailbox selected":"Kein Postfach ausgewählt","No mails in this mailbox":"Keine E-Mails in diesem Postfach","New message":"Neue Nachricht","Collapse compose window":"Fenster zum Verfassen einklappen","Expand compose window":"Fenster zum Verfassen ausklappen",Close:"Schließen",Send:"Senden","Toggle text formatting toolbar":"Symbolleiste für die Textformatierung umschalten",Mail:"E-Mail","All emails":"Alle E-Mails"},Uh={Accounts:"الحسابات",Organizer:"المنظم",Participants:"المشاركون",Download:"التنزيل","Add link":"إضافة رابط","Write new Email":"كتابة رسالة إلكترونية جديدة","Unread emails":"الرسائل الإلكتروني غير المقروءة",From:"من",To:"إلى",Subject:"الموضوع","To:":"إلى:",Draft:"مسودة",Flagged:"مُعلّم",Answered:"تم الرد",Forwarded:"معاد التوجيه","New message":"رسالة جديدة",Close:"إغلاق",Send:"إرسال",Mail:"رسالة","All emails":"جميع رسائل الإلكتروني"},Wh={"Toggle details":"Afficher les détails",Organizer:"Organisateur",Participants:"Participants",Download:"Télécharger","+%{attendeeCount} more":"+%{attendeeCount} plus","Failed to download %{name}":"Échec du téléchargement %{name}","Download attachment":"Télécharger la pièce-jointe",Attachment:"Pièces jointes",Expand:"Étendre",Collapse:"S'écroule","Add link":"Ajouter un lien",Apply:"Appliquer","Write new Email":"Écrire un nouveau mail","No mailboxes found":"Aucune boîte mail trouvée","Unread emails":"Mails non lus",From:"De",To:"A",CC:"CC",BCC:"BCC",Subject:"Sujet","No mail selected":"Aucun mail sélectionné","Navigate back":"Retour","To:":"A:",Thread:"Fil de discussion","%{number} messages in this thread":"%{number} messages dans ce fil de discussion","This mail has attachments":"Ce mail contient des pièces jointes",Draft:"Brouillon","This mail is a draft":"Ce mail est un brouillon",Flagged:"Marqué","This mail is flagged":"Ce mail est marqué",Answered:"Répondu","This mail has been answered":"Ce mail a été répondu",Forwarded:"Transféré","This mail has been forwarded":"Ce mail a été transféré",Spam:"Indésirable","No mailbox selected":"Aucune boîte mail sélectionnée","No mails in this mailbox":"Aucun mail dans cette boîte mail","New message":"Nouveau message",Close:"Fermer",Send:"Envoyer",Mail:"Mail","All emails":"Tous les mails"},Kh={Download:"העלאה",Apply:"הצטרף",From:"מהרשומה",To:"ל",Close:"סגור"},qh={},Jh={},Gh={},Xh={Accounts:"Accounts","Toggle details":"Mostra/nascondi dettagli",Organizer:"Organizzatore",Participants:"Partecipanti",Download:"Scarica","+%{attendeeCount} more":"+%{attendeeCount} altro","Failed to download %{name}":"Download di %{name} non riuscito","Download attachment":"Scarica allegato",Attachment:"Allegato",Expand:"Espandi",Collapse:"Riduci","Add link":"Aggiungi link",Apply:"Applica","Write new Email":"Scrivi nuova email","No mailboxes found":"Nessuna casella di posta trovata","Unread emails":"email non lette",From:"Da",To:"A",CC:"CC",BCC:"BCC",Subject:"Oggetto","No mail selected":"Nessuna e-mail selezionata","Navigate back":"Torna indietro","To:":"A:",Thread:"Conversazione","%{number} messages in this thread":"%{number} messaggi in questa discussione","This mail has attachments":"Questa e-mail ha degli allegati",Draft:"Bozza","This mail is a draft":"Questa mail è una bozza",Flagged:"Contrassegnato","This mail is flagged":"Questa e-mail è contrassegnata",Answered:"Risposto","This mail has been answered":"Questa e-mail ha ricevuto risposta",Forwarded:"Inoltrato","This mail has been forwarded":"Questa e-mail è stata inoltrata",Spam:"Spam","No mailbox selected":"Nessuna casella di posta selezionata","No mails in this mailbox":"Nessuna e-mail in questa casella di posta","New message":"Nuovo messaggio",Close:"Chiudi",Send:"Invia",Mail:"Mail","All emails":"Tutte le e-mail"},Qh={},Zh={Download:"Pobierz","Add link":"Dodaj link",Apply:"Zastosuj",From:"Od",To:"Do",Close:"Zamknij",Send:"Wyślij",Mail:"Mail"},ef={Accounts:"Accounts","Toggle details":"Details aan/uit",Organizer:"Organisator",Participants:"Deelnemers",Download:"Downloaden","+%{attendeeCount} more":"+%{attendeeCount} meer","Failed to download %{name}":"Download van %{name} is mislukt","Remove attachment":"Bijlage verwijderen","Download attachment":"Bijlage downloaden",Attachment:"Bijlage",Expand:"Uirbreiden",Collapse:"Inklappen","Add link":"Link toevoegen",Apply:"Toepassen",URL:"URL","Write new Email":"Nieuwe e-mail schrijven","No mailboxes found":"Geen postbussen gevonden","Unread emails":"Ongelezen e-mails","Add attachment":"Bijlage toevoegen","Attach file":"Bestand bijvoegen","Please select a sender account first":"Selecteer eerst een afzenderaccount","Failed to upload %{name}":"Uploaden van %{name} is mislukt",From:"Van",To:"Aan",CC:"CC",BCC:"BCC",Subject:"Onderwerp","No mail selected":"Geen mail geselecteerd","Navigate back":"Navigeer terug","To:":"Aan:",Thread:"Gesprekslijn","%{number} messages in this thread":"%{number} berichten in deze gesprekslijn","This mail has attachments":"Deze mail bevat bijlagen",Draft:"Concept","This mail is a draft":"Deze mail is een concept",Flagged:"Met vlag","This mail is flagged":"Deze mail heeft een vlag",Answered:"Beantwoord","This mail has been answered":"Deze mail is beantwoord",Forwarded:"Doorgestuurd","This mail has been forwarded":"Deze mail is doorgestuurd",Spam:"Ongewenst","No mailbox selected":"Geen postbus geselecteerd","No mails in this mailbox":"Geen mail in deze postbus","New message":"Nieuw bericht","Collapse compose window":"Venster Opstellen inklappen","Expand compose window":"Venster Opstellen uitbreiden",Close:"Sluiten",Send:"Verzenden","Toggle text formatting toolbar":"Werkbalk Tekstopmaak aan/uit",Mail:"Mail","All emails":"Alle e-mails"},tf={Accounts:"アカウント","Toggle details":"詳細の切り替え",Organizer:"主催者",Participants:"参加者",Download:"ダウンロード","+%{attendeeCount} more":"他 %{attendeeCount} 名","Failed to download %{name}":"%{name} のダウンロードに失敗しました","Remove attachment":"添付ファイルを削除する","Download attachment":"添付ファイルをダウンロード",Attachment:"添付",Expand:"展開",Collapse:"折りたたむ","Add link":"リンクを追加",Apply:"適用",URL:"URL","Write new Email":"新規メール作成","No mailboxes found":"メールボックスが見つかりません","Unread emails":"未読","Add attachment":"添付ファイル追加","Attach file":"ファイルを添付してください","Please select a sender account first":"まず送信者アカウントを選択してください",From:"From",To:"To",CC:"CC",BCC:"BCC",Subject:"件名","No mail selected":"メールが選択されていません","Navigate back":"戻る","To:":"To:",Thread:"スレッド","%{number} messages in this thread":"%{number} 件のメッセージ","This mail has attachments":"添付ファイルあり",Draft:"下書き","This mail is a draft":"下書き",Flagged:"フラグ","This mail is flagged":"フラグ付き",Answered:"返信済み","This mail has been answered":"返信済み",Forwarded:"転送","This mail has been forwarded":"転送済み",Spam:"スパム","No mailbox selected":"メールボックが選択されていません","No mails in this mailbox":"このメールボックスにはメールがありません","New message":"新しいメッセージ",Close:"閉じる",Send:"送信",Mail:"メール","All emails":"すべてのメール"},nf={},rf={"Toggle details":"Mostrar/ocultar detalhes",Organizer:"Organizador",Participants:"Participantes",Download:"Transferir","+%{attendeeCount} more":"+%{attendeeCount} mais","Failed to download %{name}":"Falha ao transferir %{name}","Download attachment":"Transferir anexo",Attachment:"Anexo",Expand:"Expandir",Collapse:"Contrair","Add link":"Adicionar ligação",Apply:"Aplicar","Write new Email":"Escrever novo e-mail","No mailboxes found":"Nenhuma caixa de correio encontrada","Unread emails":"E-mails não lidos",From:"De",To:"Para",CC:"CC",BCC:"BCC",Subject:"Assunto","No mail selected":"Nenhum e-mail selecionado","Navigate back":"Voltar","To:":"Para:",Thread:"Conversa","%{number} messages in this thread":"%{number} mensagens nesta conversa","This mail has attachments":"Este e-mail tem anexos",Draft:"Rascunho","This mail is a draft":"Este e-mail é um rascunho",Flagged:"Marcado","This mail is flagged":"Este e-mail está marcado",Answered:"Respondido","This mail has been answered":"Este e-mail foi respondido",Forwarded:"Reencaminhado","This mail has been forwarded":"Este e-mail foi reencaminhado",Spam:"Spam","No mailbox selected":"Nenhuma caixa de correio selecionada","No mails in this mailbox":"Nenhum e-mail nesta caixa","New message":"Nova mensagem",Close:"Fechar",Send:"Enviar",Mail:"E-mail","All emails":"Todos os e-mails"},sf={Download:"Скачать","Add link":"Добавить ссылку",Apply:"Применить",From:"Дата от",To:"До",Close:"Закрыть",Send:"Отправить",Mail:"Почта"},of={Mail:"Pošta"},lf={},af={Download:"다운로드","Add link":"링크 추가",Close:"닫기",Mail:"메일"},cf={},uf={},df={"Toggle details":"Växla information",Organizer:"Arrangör",Participants:"Deltagare",Download:"Ladda ner","+%{attendeeCount} more":"+%{attendeeCount} mer","Failed to download %{name}":"Nedladdningen misslyckades %{name}","Download attachment":"Ladda ner bilaga",Attachment:"Bilaga",Expand:"Expandera",Collapse:"Minimera","Add link":"Lägg till länk",Apply:"Tillämpa","Write new Email":"Skriv nytt e-postmeddelande","No mailboxes found":"Inga postlådor hittades","Unread emails":"Olästa e-postmeddelanden",From:"Från",To:"Till",CC:"CC",BCC:"BCC",Subject:"Ämne","No mail selected":"Ingen e-post vald","Navigate back":"Navigera tillbaka","To:":"Till:",Thread:"Tråd","%{number} messages in this thread":"%{number} meddelanden i denna tråd","This mail has attachments":"Det här mejlet har bilagor",Draft:"Utkast","This mail is a draft":"Det här mejlet är ett utkast",Flagged:"Flaggat","This mail is flagged":"Det här mejlet är flaggat",Answered:"Besvarade","This mail has been answered":"Detta meddelande har besvarats",Forwarded:"Vidarebefordrad","This mail has been forwarded":"Det här mejlet har vidarebefordrats",Spam:"Skräppost","No mailbox selected":"Ingen postlåda vald","No mails in this mailbox":"Inga e-postmeddelanden i denna inkorg","New message":"Nytt meddelande",Close:"Stäng",Send:"Skicka",Mail:"Post","All emails":"Alla e- poster"},hf={},ff={},pf={},mf={},gf={Download:"Завантажити"},yf={Download:"下载","Add link":"添加链接",Close:"关闭",Send:"发送"},bf={af:zh,bs:$h,cs:Fh,bg:Yh,es:Hh,el:Vh,de:jh,ar:Uh,fr:Wh,he:Kh,gl:qh,et:Jh,id:Gh,it:Xh,hr:Qh,pl:Zh,nl:ef,ja:tf,ka:nf,pt:rf,ru:sf,sk:of,ro:lf,ko:af,si:cf,sq:uf,sv:df,sr:hf,ta:ff,tr:pf,ug:mf,uk:gf,zh:yf},xf={class:"mail-indicators ml-2 flex items-center"},kf=["textContent"],wf=["textContent"],vf=ke({__name:"MailIndicators",props:{mail:{}},setup(n){return(e,t)=>{const r=Y("oc-icon"),i=Y("oc-tag"),s=Cc("oc-tooltip");return D(),V("div",xf,[n.mail.threadSize>1?hn((D(),q(i,{key:0,"aria-label":e.$gettext("%{number} messages in this thread",{number:n.mail.threadSize.toString()}),class:"!py-[1px] items-center",size:"small"},{default:B(()=>[M(r,{size:"xsmall",name:"arrow-go-back","fill-type":"line"}),t[0]||(t[0]=S()),v("span",{textContent:F(n.mail.threadSize)},null,8,kf)]),_:1},8,["aria-label"])),[[s,e.$gettext("Thread")]]):ee("",!0),t[2]||(t[2]=S()),n.mail.hasAttachment?hn((D(),q(r,{key:1,"aria-label":e.$gettext("This mail has attachments"),size:"small",name:"attachment-2","fill-type":"none"},null,8,["aria-label"])),[[s,e.$gettext("Attachment")]]):ee("",!0),t[3]||(t[3]=S()),n.mail.keywords?.$draft?hn((D(),q(r,{key:2,"aria-label":e.$gettext("This mail is a draft"),size:"small",name:"pencil","fill-type":"line"},null,8,["aria-label"])),[[s,e.$gettext("Draft")]]):ee("",!0),t[4]||(t[4]=S()),n.mail.keywords?.$flagged?hn((D(),q(r,{key:3,"aria-label":e.$gettext("This mail is flagged"),size:"small",name:"flag","fill-type":"fill"},null,8,["aria-label"])),[[s,e.$gettext("Flagged")]]):ee("",!0),t[5]||(t[5]=S()),n.mail.keywords?.$answered?hn((D(),q(r,{key:4,"aria-label":e.$gettext("This mail has been answered"),size:"small",name:"reply","fill-type":"fill"},null,8,["aria-label"])),[[s,e.$gettext("Answered")]]):ee("",!0),t[6]||(t[6]=S()),n.mail.keywords?.$forwarded?hn((D(),q(r,{key:5,"aria-label":e.$gettext("This mail has been forwarded"),class:"rotate-180 scale-y-[-1]",size:"small",name:"reply","fill-type":"fill"},null,8,["aria-label"])),[[s,e.$gettext("Forwarded")]]):ee("",!0),t[7]||(t[7]=S()),n.mail?.keywords?.$phishing||n.mail?.keywords?.$junk?(D(),q(i,{key:6,class:"mail-spam-indicator",size:"small",appearance:"filled"},{default:B(()=>[M(r,{size:"small",name:"spam","fill-type":"fill",color:"#996102"}),t[1]||(t[1]=S()),v("span",{textContent:F(e.$gettext("Spam"))},null,8,wf)]),_:1})):ee("",!0)])}}}),Ec=Vo(vf,[["__scopeId","data-v-0b3c81bf"]]),Cf={class:"mail-list-item flex w-full"},Sf={class:"mail-list-item-avatar"},Tf={class:"flex items-center"},Mf={class:"mail-list-item-indicator flex w-[12px]"},Af={class:"mail-list-item-content ml-5 min-w-0 w-full"},Ef={class:"mail-list-item-header"},Df={class:"mail-list-item-sender flex items-center justify-between gap-2"},Of=["textContent"],Nf=["textContent"],If={class:"mail-list-item-subject mt-1 flex justify-between items-center"},_f=["textContent"],Lf={class:"mail-list-item-preview text-role-on-surface-variant mt-1"},Rf=["textContent"],Pf=ke({__name:"MailListItem",props:{mail:{}},setup(n){const{current:e}=it(),t=U(()=>n.mail.from[0]?.name||n.mail.sender[0]?.name||n.mail.from[0]?.email||n.mail.sender[0]?.email),r=U(()=>Tc(n.mail.receivedAt,e)),i=U(()=>n.mail.preview?Or.sanitize(n.mail.preview,{ALLOWED_TAGS:[],ALLOWED_ATTR:[]}).replace(/\s+/g," ").trim():"");return(s,o)=>{const l=Y("oc-icon"),a=Y("oc-avatar");return D(),V("div",Cf,[v("div",Sf,[v("div",Tf,[v("span",Mf,[n.mail.keywords?.$seen?ee("",!0):(D(),q(l,{key:0,size:"xsmall",name:"circle",color:"var(--oc-role-error)"}))]),o[0]||(o[0]=S()),M(a,{class:"ml-1","user-name":n.mail.from[0]?.name||n.mail.sender[0]?.name},null,8,["user-name"])])]),o[5]||(o[5]=S()),v("div",Af,[v("div",Ef,[v("div",Df,[v("span",{class:"font-bold text-xl truncate flex-1",textContent:F(t.value)},null,8,Of),o[1]||(o[1]=S()),v("span",{class:"mail-list-item-received-at",textContent:F(r.value)},null,8,Nf)])]),o[3]||(o[3]=S()),v("div",If,[v("span",{class:"block font-bold truncate",textContent:F(n.mail.subject)},null,8,_f),o[2]||(o[2]=S()),M(Ec,{mail:n.mail},null,8,["mail"])]),o[4]||(o[4]=S()),v("div",Lf,[v("span",{class:"line-clamp-2",textContent:F(i.value)},null,8,Rf)])])])}}}),_n=Yo("mails",()=>{const n=bn("mailId"),e=ye([]),t=ye(),r=U(()=>b(e).find(u=>u.id===b(t)));return{mails:e,currentMail:r,updateMailField:({id:u,field:d,value:h})=>{const f=b(e).find(p=>u===p.id);f&&(f[d]=h)},setMails:u=>{e.value=u},upsertMail:u=>{const d=b(e).find(({id:h})=>h===u.id);if(d){Object.assign(d,u);return}b(e).push(u)},removeMails:u=>{e.value=b(e).filter(d=>!u.find(({id:h})=>h===d.id)),u.some(d=>d.accountId===b(t))&&(t.value=null,n.value=null)},setCurrentMail:u=>{t.value=u?.id,n.value=u?.id},reset:()=>{e.value=[],t.value=null,n.value=null}}}),Bn=ut({name:H().optional(),email:H()}),Bf=hs(H(),pe()),zf=hs(H(),pe()),$f=ut({name:H(),value:H()}),cr=kh(()=>ut({partId:H().optional(),blobId:H().optional(),type:H().optional(),size:Kt().optional(),name:H().optional(),charset:H().optional(),disposition:H().optional(),cid:H().optional(),language:he(H()).optional(),location:H().optional(),subParts:he(cr).optional()})),Ff=ut({value:H().optional(),isEncodingProblem:pe().optional(),isTruncated:pe().optional()}),Dc=ut({id:H(),blobId:H().optional(),accountId:H().optional(),threadId:H(),threadSize:Kt().optional(),mailboxIds:Bf,keywords:zf.optional().default({}),size:Kt(),receivedAt:H(),sentAt:H().optional(),subject:H().optional(),preview:H().optional(),from:he(Bn).optional().default([]),sender:he(Bn).optional().default([]),to:he(Bn).optional().default([]),cc:he(Bn).optional().default([]),bcc:he(Bn).optional().default([]),replyTo:he(Bn).optional().default([]),headers:he($f).optional().default([]),messageId:he(H()).optional().default([]),inReplyTo:he(H()).optional().default([]),references:he(H()).optional().default([]),bodyStructure:cr.optional(),bodyValues:hs(H(),Ff).optional().default({}),textBody:he(cr).optional().default([]),htmlBody:he(cr).optional().default([]),attachments:he(cr).optional().default([]),hasAttachment:pe().optional()}),Yf=ut({id:H().optional(),name:H().optional(),role:H().optional(),totalEmails:Kt().optional(),unreadEmails:Kt().optional(),totalThreads:Kt().optional(),unreadThreads:Kt().optional(),myRights:ut({mayReadItems:pe().optional(),mayAddItems:pe().optional(),mayRemoveItems:pe().optional(),maySetSeen:pe().optional(),maySetKeywords:pe().optional(),mayCreateChild:pe().optional(),mayRename:pe().optional(),mayDelete:pe().optional(),maySubmit:pe().optional()}),isSubscribed:pe().optional()}),Hf=ut({id:H(),name:H().optional().nullable(),email:H().optional(),textSignature:H().optional().default(""),htmlSignature:H().optional().default(""),mayDelete:pe().optional()}),Vf=ut({accountId:H().optional(),name:H().optional(),isPersonal:pe().optional(),isReadOnly:pe().optional(),accountCapabilities:hs(H(),ut({})).optional(),identities:he(Hf).optional().default([])}),jf=ut({blobId:H(),size:Kt().optional(),type:H().optional()});let ur=null;const Uf=U(()=>ur?.isRunning??!1),fs=()=>{const n=sn(),e=on(),{setMails:t}=_n();return ur||(ur=nn(function*(i,s,o){try{const{data:l}=yield e.httpAuthenticated.get(tt(n.groupwareUrl,`accounts/${s}/mailboxes/${o}/emails`)),a=he(Dc).parse(l.emails||[]);return t(a),console.info("Loaded mails:",a),a}catch(l){throw console.error("Failed to load mails:",l),l}}).restartable()),{loadMails:(i,s)=>ur.perform(i,s),loadMailsTask:ur,isLoading:Uf}},rr=Yo("mailboxes",()=>{const n=bn("mailboxId"),e=ye([]),t=ye(),r=U(()=>b(e).find(u=>u.id===b(t)));return{mailboxes:e,currentMailbox:r,updateMailboxField:({id:u,field:d,value:h})=>{const f=b(e).find(p=>u===p.id);f&&(f[d]=h)},setMailboxes:u=>{e.value=u},upsertMailbox:u=>{const d=b(e).find(({id:h})=>h===u.id);if(d){Object.assign(d,u);return}b(e).push(u)},removeMailboxes:u=>{e.value=b(e).filter(d=>!u.find(({id:h})=>h===d.id)),u.some(d=>d.id===b(t))&&(t.value=null,n.value=null)},setCurrentMailbox:u=>{t.value=u?.id,n.value=u?.id},reset:()=>{e.value=[],t.value=null,n.value=null}}});let dr=null;const Wf=U(()=>dr?.isRunning??!1),Uo=()=>{const n=sn(),e=on();dr||(dr=nn(function*(r,i,s){try{const{data:o}=yield e.httpAuthenticated.get(tt(n.groupwareUrl,`accounts/${i}/emails/${s}?markAsSeen=true`)),l=Dc.parse(o),a=_n();return a.upsertMail(l),a.setCurrentMail(l),console.info("Loaded mail:",l),l}catch(o){throw console.error("Failed to load mail:",o),o}}).restartable());const t=(r,i)=>dr.perform(r,i);return{loadMail:t,loadMailDetails:t,loadMailTask:dr,isLoading:Wf}},ln=Yo("accounts",()=>{const n=bn("accountId"),e=ye([]),t=ye(),r=U(()=>b(e).find(u=>u.accountId===b(t)));return{accounts:e,currentAccount:r,updateAccountField:({id:u,field:d,value:h})=>{const f=b(e).find(p=>u===p.accountId);f&&(f[d]=h)},setAccounts:u=>{e.value=u},upsertAccount:u=>{const d=b(e).find(({accountId:h})=>h===u.accountId);if(d){Object.assign(d,u);return}b(e).push(u)},removeAccounts:u=>{e.value=b(e).filter(d=>!u.find(({accountId:h})=>h===d.accountId)),u.some(d=>d.accountId===b(t))&&(t.value=null,n.value=null)},setCurrentAccount:u=>{t.value=u.accountId,n.value=u?.accountId},reset:()=>{e.value=[],t.value=null,n.value=null}}}),Kf=["textContent"],qf={class:"flex w-full items-center justify-between md:justify-normal"},Jf=["textContent"],Gf=["textContent"],Xf=ke({__name:"MailList",emits:["compose-mail"],setup(n,{expose:e,emit:t}){const r=_n(),i=rr(),s=ln(),{loadMail:o}=Uo(),{isLoading:l}=fs(),{currentAccount:a}=Oe(s),{currentMail:c,mails:u}=Oe(r),{updateMailField:d,setCurrentMail:h}=r,{currentMailbox:f}=Oe(i),{setCurrentMailbox:p}=i,m=t,g=()=>{m("compose-mail")};e({openCompose:g});const y=()=>{p(null),h(null)},k=async x=>{await o(b(a).accountId,x.id),d({id:x.id,field:"keywords",value:{...x.keywords,$seen:!0}})};return(x,T)=>{const E=Y("oc-floating-action-button"),I=Y("oc-icon"),O=Y("oc-button"),R=Y("oc-list");return b(l)?(D(),q(b(nr),{key:0})):(D(),V(Je,{key:1},[M(E,{class:"md:hidden",mode:"action","aria-label":x.$gettext("Write new Email"),onClick:g},null,8,["aria-label"]),T[4]||(T[4]=S()),b(f)?(D(),V(Je,{key:1},[v("div",qf,[M(O,{class:"md:hidden block",appearance:"raw","no-hover":"","aria-label":x.$gettext("Navigate back"),onClick:y},{default:B(()=>[M(I,{name:"arrow-left","fill-type":"line"})]),_:1},8,["aria-label"]),T[0]||(T[0]=S()),v("h2",{class:"text-lg ml-4",textContent:F(b(f).name)},null,8,Jf),T[1]||(T[1]=S()),T[2]||(T[2]=v("div",{class:"placeholder"},null,-1))]),T[3]||(T[3]=S()),!b(u)||!b(u).length?(D(),q(b(ki),{key:0,class:"mail-list-empty",icon:"mail-forbid","icon-fill-type":"line"},{message:B(()=>[v("span",{textContent:F(x.$gettext("No mails in this mailbox"))},null,8,Gf)]),_:1})):(D(),q(R,{key:1,class:"mail-list"},{default:B(()=>[(D(!0),V(Je,null,er(b(u),K=>(D(),V("li",{key:K.id,class:We(["border-b-2",{"bg-role-secondary-container":b(c)?.id===K.id}])},[M(O,{class:"px-4 py-4 text-left w-full","justify-content":"left",appearance:"raw","gap-size":"none","no-hover":"",onClick:Se=>k(K)},{default:B(()=>[M(Pf,{mail:K},null,8,["mail"])]),_:2},1032,["onClick"])],2))),128))]),_:1}))],64)):(D(),q(b(ki),{key:0,icon:"folder","icon-fill-type":"line"},{message:B(()=>[v("span",{textContent:F(x.$gettext("No mailbox selected"))},null,8,Kf)]),_:1}))],64))}}}),lo=n=>{if(!n?.length)return[];const e=[];for(const t of n)t.partId&&e.push(t.partId),t.subParts?.length&&e.push(...lo(t.subParts));return e},Qf=n=>{const e=n.bodyValues??{},t=lo(n.htmlBody).map(r=>e[r]?.value||"").filter(Boolean).join("");if(t)return Or.sanitize(t,{USE_PROFILES:{html:!0}});{const r=lo(n.textBody).map(i=>e[i]?.value||"").filter(Boolean).join(` + +`);return`
    ${Or.sanitize(r,{USE_PROFILES:{html:!0}})}
    `}},ao=n=>{const e=n.blobId;return typeof e=="string"&&e.length>0},Oc=n=>{const e=n.id;return typeof e=="string"&&e.length>0},Zf={class:"mail-attachment-item flex justify-between items-center"},ep={class:"mail-attachment-item-info flex items-center flex-1 min-w-0"},tp={class:"mail-attachment-item-details flex ml-2 flex-col min-w-0"},np=["title","textContent"],rp=["textContent"],ip={class:"mail-attachment-item-actions ml-1 flex items-center"},sp=ke({__name:"MailAttachmentItem",props:{attachment:{},accountId:{},mode:{default:"download"}},emits:["remove"],setup(n,{emit:e}){const t=e,r=on(),i=sn(),{showErrorMessage:s}=jo(),{current:o,$gettext:l}=it(),a=wh(Nh),c=Ih(),u=U(()=>n.attachment.type??""),d=U(()=>_h(n.attachment.size??0,o)),h=U(()=>{const y=n.attachment.name.split(".").pop();return y&&c[y]||u.value&&a?.mimeType?.[u.value]||y&&a?.extension?.[y]}),f=U(()=>ao(n.attachment)?n.attachment.blobId:void 0),p=U(()=>n.mode==="download"&&!!n.accountId&&!!f.value),m=async()=>{if(!p.value||!f.value)return;const y=tt(i.groupwareUrl,`/accounts/${n.accountId}/blobs/${f.value}/${encodeURIComponent(n.attachment.name)}`);try{const{data:k}=await r.httpAuthenticated.get(y,{responseType:"blob"}),x=URL.createObjectURL(k);Mc(x,n.attachment.name)}catch(k){console.error(k),s({title:l("Failed to download %{name}",{name:n.attachment.name}),errors:[k]})}},g=()=>{if(Oc(n.attachment)){t("remove",n.attachment.id);return}if(ao(n.attachment)){t("remove",n.attachment.blobId);return}};return(y,k)=>{const x=Y("oc-icon"),T=Y("oc-button");return D(),V("div",Zf,[v("div",ep,[M(x,{name:h.value?.name??"file-2",color:h.value?.color,size:"large",class:"inline-flex items-center"},null,8,["name","color"]),k[1]||(k[1]=S()),v("div",tp,[v("span",{class:"mail-attachment-item-filename truncate",title:n.attachment.name,textContent:F(n.attachment.name)},null,8,np),k[0]||(k[0]=S()),v("span",{class:"mail-attachment-item-size mt-1",textContent:F(d.value)},null,8,rp)])]),k[2]||(k[2]=S()),v("div",ip,[n.mode==="compose"?(D(),q(T,{key:0,appearance:"raw","aria-label":b(l)("Remove attachment"),onClick:g},{default:B(()=>[M(x,{size:"medium",name:"delete-bin-6-line","fill-type":"none"})]),_:1},8,["aria-label"])):(D(),q(T,{key:1,appearance:"raw","aria-label":b(l)("Download attachment"),disabled:!p.value,onClick:m},{default:B(()=>[M(x,{size:"medium",name:"download-2","fill-type":"line"})]),_:1},8,["aria-label","disabled"]))])])}}}),op={key:0,class:"mail-attachment-list"},lp={class:"flex justify-between w-full"},ap={class:"flex items-center"},cp=["textContent"],up=["textContent"],Nc=ke({__name:"MailAttachmentList",props:{attachments:{},accountId:{},mode:{default:"download"}},emits:["remove"],setup(n){const{$gettext:e,$ngettext:t}=it(),r=ye(n.mode==="download"?n.attachments.length>3:!1);tr(()=>n.attachments.length,s=>{n.mode==="download"&&(r.value=s>3)});const i=s=>ao(s)?s.blobId:Oc(s)?s.id:s.name;return(s,o)=>{const l=Y("oc-tag"),a=Y("oc-icon"),c=Y("oc-button"),u=Y("oc-list"),d=Y("oc-card");return n.attachments.length?(D(),V("div",op,[M(d,{title:"mail-attachments","header-class":"items-start pl-0","body-class":["bg-role-surface","rounded-xl","mt-2",r.value?"hidden":""],appearance:"outlined"},{header:B(()=>[v("div",lp,[v("div",ap,[v("span",{class:"font-bold",textContent:F(b(t)("Attachment","Attachments",n.attachments.length))},null,8,cp),o[2]||(o[2]=S()),M(l,{class:"ml-2",rounded:!0,appearance:"filled"},{default:B(()=>[v("span",{textContent:F(n.attachments.length)},null,8,up)]),_:1})]),o[3]||(o[3]=S()),M(c,{appearance:"raw","no-hover":"","aria-label":r.value?b(e)("Expand"):b(e)("Collapse"),onClick:o[0]||(o[0]=h=>r.value=!r.value)},{default:B(()=>[M(a,{name:r.value?"arrow-down-s":"arrow-up-s","fill-type":"line"},null,8,["name"])]),_:1},8,["aria-label"])])]),default:B(()=>[o[4]||(o[4]=S()),M(u,{class:"mail-attachment-itemslist -mx-4 grid grid-cols-1 gap-4 sm:[grid-template-columns:repeat(auto-fit,minmax(min(335px,100%),335px))]"},{default:B(()=>[(D(!0),V(Je,null,er(n.attachments,h=>(D(),V("li",{key:i(h),class:"mail-attachment-item w-full rounded-xl bg-role-surface-container pl-2 pr-4 py-2"},[M(sp,{attachment:h,"account-id":n.accountId,mode:n.mode,onRemove:o[1]||(o[1]=f=>s.$emit("remove",f))},null,8,["attachment","account-id","mode"])]))),128))]),_:1})]),_:1},8,["body-class"])])):ee("",!0)}}});class ps{static fromString(e){return new ps(e)}constructor(e){this.value=e}icaltype="binary";decodeValue(){return this._b64_decode(this.value)}setEncodedValue(e){this.value=this._b64_encode(e)}_b64_encode(e){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r,i,s,o,l,a,c,u,d=0,h=0,f="",p=[];if(!e)return e;do r=e.charCodeAt(d++),i=e.charCodeAt(d++),s=e.charCodeAt(d++),u=r<<16|i<<8|s,o=u>>18&63,l=u>>12&63,a=u>>6&63,c=u&63,p[h++]=t.charAt(o)+t.charAt(l)+t.charAt(a)+t.charAt(c);while(d>16&255,i=u>>8&255,s=u&255,a==64?p[h++]=String.fromCharCode(r):c==64?p[h++]=String.fromCharCode(r,i):p[h++]=String.fromCharCode(r,i,s);while(dr)-(t0?-1:0}toString(){return this.start+"/"+(this.end||this.duration)}toJSON(){return[this.start.toString(),(this.end||this.duration).toString()]}toICALString(){return this.start.toICALString()+"/"+(this.end||this.duration).toICALString()}}class w{static _dowCache={};static _wnCache={};static daysInMonth(e,t){let r=[0,31,28,31,30,31,30,31,31,30,31,30,31],i=30;return e<1||e>12||(i=r[e],e==2&&(i+=w.isLeapYear(t))),i}static isLeapYear(e){return e<=1752?e%4==0:e%4==0&&e%100!=0||e%400==0}static fromDayOfYear(e,t){let r=t,i=e,s=new w;s.auto_normalize=!1;let o=w.isLeapYear(r)?1:0;if(i<1)return r--,o=w.isLeapYear(r)?1:0,i+=w.daysInYearPassedMonth[o][12],w.fromDayOfYear(i,r);if(i>w.daysInYearPassedMonth[o][12])return o=w.isLeapYear(r)?1:0,i-=w.daysInYearPassedMonth[o][12],r++,w.fromDayOfYear(i,r);s.year=r,s.isDate=!0;for(let l=11;l>=0;l--)if(i>w.daysInYearPassedMonth[o][l]){s.month=l+1,s.day=i-w.daysInYearPassedMonth[o][l];break}return s.auto_normalize=!0,s}static fromStringv2(e){return new w({year:parseInt(e.slice(0,4),10),month:parseInt(e.slice(5,7),10),day:parseInt(e.slice(8,10),10),isDate:!0})}static fromDateString(e){return new w({year:Ae(e.slice(0,4)),month:Ae(e.slice(5,7)),day:Ae(e.slice(8,10)),isDate:!0})}static fromDateTimeString(e,t){if(e.length<19)throw new Error('invalid date-time value: "'+e+'"');let r,i;e.slice(-1)==="Z"?r=L.utcTimezone:t&&(i=t.getParameter("tzid"),t.parent&&(t.parent.name==="standard"||t.parent.name==="daylight"?r=L.localTimezone:i&&(r=t.parent.getTimeZoneByID(i))));const s={year:Ae(e.slice(0,4)),month:Ae(e.slice(5,7)),day:Ae(e.slice(8,10)),hour:Ae(e.slice(11,13)),minute:Ae(e.slice(14,16)),second:Ae(e.slice(17,19))};return i&&!r&&(s.timezone=i),new w(s,r)}static fromString(e,t){return e.length>10?w.fromDateTimeString(e,t):w.fromDateString(e)}static fromJSDate(e,t){return new w().fromJSDate(e,t)}static fromData=function(t,r){return new w().fromData(t,r)};static now(){return w.fromJSDate(new Date,!1)}static weekOneStarts(e,t){let r=w.fromData({year:e,month:1,day:1,isDate:!0}),i=r.dayOfWeek(),s=t||w.DEFAULT_WEEK_START;return i>w.THURSDAY&&(r.day+=7),s>w.THURSDAY&&(r.day-=7),r.day-=i-s,r}static getDominicalLetter(e){let t="GFEDCBA",r=(e+(e/4|0)+(e/400|0)-(e/100|0)-1)%7;return w.isLeapYear(e)?t[(r+6)%7]+t[r]:t[r]}static#e=null;static get epochTime(){return this.#e||(this.#e=w.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0,isDate:!1,timezone:"Z"})),this.#e}static _cmp_attr(e,t,r){return e[r]>t[r]?1:e[r]=0){l.day=1,s!=0&&s--,o=l.day;let a=l.dayOfWeek(),c=e-a;c<0&&(c+=7),o+=c,o-=e,i=e}else{l.day=r;let a=l.dayOfWeek();s++,i=a-e,i<0&&(i+=7),i=r-i}return i+=s*7,o+i}isNthWeekDay(e,t){let r=this.dayOfWeek();return t===0&&r===e||this.nthWeekDay(e,t)===this.day}weekNumber(e){let t=(this.year<<12)+(this.month<<8)+(this.day<<3)+e;if(t in w._wnCache)return w._wnCache[t];let r,i=this.clone();i.isDate=!0;let s=this.year;i.month==12&&i.day>25?(r=w.weekOneStarts(s+1,e),i.compare(r)<0?r=w.weekOneStarts(s,e):s++):(r=w.weekOneStarts(s,e),i.compare(r)<0&&(r=w.weekOneStarts(--s,e)));let o=i.subtractDate(r).toSeconds()/86400,l=me(o/7)+1;return w._wnCache[t]=l,l}addDuration(e){let t=e.isNegative?-1:1,r=this.second,i=this.minute,s=this.hour,o=this.day;r+=t*e.seconds,i+=t*e.minutes,s+=t*e.hours,o+=t*e.days,o+=t*7*e.weeks,this.second=r,this.minute=i,this.hour=s,this.day=o,this._cachedUnixTime=null}subtractDate(e){let t=this.toUnixTime()+this.utcOffset(),r=e.toUnixTime()+e.utcOffset();return De.fromSeconds(t-r)}subtractDateTz(e){let t=this.toUnixTime(),r=e.toUnixTime();return De.fromSeconds(t-r)}compare(e){if(e instanceof Et)return-1*e.compare(this);{let t=this.toUnixTime(),r=e.toUnixTime();return t>r?1:r>t?-1:0}}compareDateOnlyTz(e,t){let r=this.convertToZone(t),i=e.convertToZone(t),s=0;return(s=w._cmp_attr(r,i,"year"))!=0||(s=w._cmp_attr(r,i,"month"))!=0||(s=w._cmp_attr(r,i,"day"))!=0,s}convertToZone(e){let t=this.clone(),r=this.zone.tzid==e.tzid;return!this.isDate&&!r&&L.convert_time(t,this.zone,e),t.zone=e,t}utcOffset(){return this.zone==L.localTimezone||this.zone==L.utcTimezone?0:this.zone.utcOffset(this)}toICALString(){let e=this.toString();return e.length>10?le.icalendar.value["date-time"].toICAL(e):le.icalendar.value.date.toICAL(e)}toString(){let e=this.year+"-"+Fe(this.month)+"-"+Fe(this.day);return this.isDate||(e+="T"+Fe(this.hour)+":"+Fe(this.minute)+":"+Fe(this.second),this.zone===L.utcTimezone&&(e+="Z")),e}toJSDate(){return this.zone==L.localTimezone?this.isDate?new Date(this.year,this.month-1,this.day):new Date(this.year,this.month-1,this.day,this.hour,this.minute,this.second,0):new Date(this.toUnixTime()*1e3)}_normalize(){return this._time.isDate&&(this._time.hour=0,this._time.minute=0,this._time.second=0),this.adjust(0,0,0,0),this}adjust(e,t,r,i,s){let o,l,a=0,c=0,u,d,h,f,p,m=s||this._time;if(m.isDate||(u=m.second+i,m.second=u%60,o=me(u/60),m.second<0&&(m.second+=60,o--),d=m.minute+r+o,m.minute=d%60,l=me(d/60),m.minute<0&&(m.minute+=60,l--),h=m.hour+t+l,m.hour=h%24,a=me(h/24),m.hour<0&&(m.hour+=24,a--)),m.month>12?c=me((m.month-1)/12):m.month<1&&(c=me(m.month/12)-1),m.year+=c,m.month-=12*c,f=m.day+e+a,f>0)for(;p=w.daysInMonth(m.month,m.year),!(f<=p);)m.month++,m.month>12&&(m.year++,m.month=1),f-=p;else for(;f<=0;)m.month==1?(m.year--,m.month=12):m.month--,f+=w.daysInMonth(m.month,m.year);return m.day=f,this._cachedUnixTime=null,this}fromUnixTime(e){this.zone=L.utcTimezone;let t=new Date(e*1e3);this.year=t.getUTCFullYear(),this.month=t.getUTCMonth()+1,this.day=t.getUTCDate(),this._time.isDate?(this.hour=0,this.minute=0,this.second=0):(this.hour=t.getUTCHours(),this.minute=t.getUTCMinutes(),this.second=t.getUTCSeconds()),this._cachedUnixTime=null}toUnixTime(){if(this._cachedUnixTime!==null)return this._cachedUnixTime;let e=this.utcOffset(),t=Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second-e);return this._cachedUnixTime=t/1e3,this._cachedUnixTime}toJSON(){let e=["year","month","day","hour","minute","second","isDate"],t=Object.create(null),r=0,i=e.length,s;for(;r1)throw new xn("invalid ical body. component began but did not end");return e=null,t.length==1?t[0]:t}G.property=function(n,e){let t={component:[[],[]],designSet:e||le.defaultSet};return G._handleContentLine(n,t),t.component[1][0]};G.component=function(n){return G(n)};class xn extends Error{name=this.constructor.name}G.ParserError=xn;G._handleContentLine=function(n,e){let t=n.indexOf(wi),r=n.indexOf(co),i,s,o,l,a={};r!==-1&&t!==-1&&r>t&&(r=-1);let c;if(r!==-1){if(o=n.slice(0,Math.max(0,r)).toLowerCase(),c=G._parseParameters(n.slice(Math.max(0,r)),0,e.designSet),c[2]==-1)throw new xn("Invalid parameters in '"+n+"'");a=c[0];let y;if(typeof c[1]=="string"?y=c[1].length:y=c[1].reduce((k,x)=>k+x.length,0),i=y+c[2]+r,(s=n.slice(Math.max(0,i)).indexOf(wi))!==-1)l=n.slice(Math.max(0,i+s+1));else throw new xn("Missing parameter value in '"+n+"'")}else if(t!==-1){if(o=n.slice(0,Math.max(0,t)).toLowerCase(),l=n.slice(Math.max(0,t+1)),o==="begin"){let y=[l.toLowerCase(),[],[]];e.stack.length===1?e.component.push(y):e.component[2].push(y),e.stack.push(e.component),e.component=y,e.designSet||(e.designSet=le.getDesignSet(e.component[0]));return}else if(o==="end"){e.component=e.stack.pop();return}}else throw new xn('invalid line (no token ";" or ":") "'+n+'"');let u,d=!1,h=!1,f,p,m;e.designSet.propertyGroups&&o.indexOf(".")!==-1?(p=o.split("."),a.group=p[0],m=p[1]):m=o,m in e.designSet.property&&(f=e.designSet.property[m],"multiValue"in f&&(d=f.multiValue),"structuredValue"in f&&(h=f.structuredValue),l&&"detectType"in f&&(u=f.detectType(l))),u||("value"in a?u=a.value.toLowerCase():f?u=f.defaultType:u=gp),delete a.value;let g;d&&h?(l=G._parseMultiValue(l,h,u,[],d,e.designSet,h),g=[m,a,u,l]):d?(g=[m,a,u],G._parseMultiValue(l,d,u,g,null,e.designSet,!1)):h?(l=G._parseMultiValue(l,h,u,[],null,e.designSet,h),g=[m,a,u,l]):(l=G._parseValue(l,u,e.designSet,!1),g=[m,a,u,l]),e.component[0]==="vcard"&&e.component[1].length===0&&!(o==="version"&&l==="4.0")&&(e.designSet=le.getDesignSet("vcard3")),e.component[1].push(g)};G._parseValue=function(n,e,t,r){return e in t.value&&"fromICAL"in t.value[e]?t.value[e].fromICAL(n,r):n};G._parseParameters=function(n,e,t){let r=e,i=0,s=mp,o={},l,a,c,u=-1,d,h,f;for(;i!==!1&&(i=n.indexOf(s,i+1))!==-1;){if(l=n.slice(r+1,i),l.length==0)throw new xn("Empty parameter name in '"+n+"'");if(a=l.toLowerCase(),f=!1,h=!1,a in t.param&&t.param[a].valueType?d=t.param[a].valueType:d=yp,a in t.param&&(h=t.param[a].multiValue,t.param[a].multiValueSeparateDQuote&&(f=G._rfc6868Escape('"'+h+'"'))),n[i+1]==='"'){if(u=i+2,i=n.indexOf('"',u),h&&i!=-1){let y=!0;for(;y;)n[i+1]==h&&n[i+2]=='"'?i=n.indexOf('"',i+3):y=!1}if(i===-1)throw new xn('invalid line (no matching double quote) "'+n+'"');c=n.slice(u,i),r=n.indexOf(co,i);let g=n.indexOf(wi,i);(r===-1||g!==-1&&r>g)&&(i=!1)}else{u=i+1;let g=n.indexOf(co,u),y=n.indexOf(wi,u);y!==-1&&g>y?(g=y,i=!1):g===-1?(y===-1?g=n.length:g=y,i=!1):(r=g,i=g),c=n.slice(u,g)}const m=c.length;if(c=G._rfc6868Escape(c),u+=m-c.length,h){let g=f||h;c=G._parseMultiValue(c,g,d,[],null,t)}else c=G._parseValue(c,d,t);h&&a in o?Array.isArray(o[a])?o[a].push(c):o[a]=[o[a],c]:o[a]=c}return[o,c,u]};G._rfc6868Escape=function(n){return n.replace(/\^['n^]/g,function(e){return bp[e]})};G._parseMultiValue=function(n,e,t,r,i,s,o){let l=0,a=0,c;if(e.length===0)return n;for(;(l=Ic(n,e,a))!==-1;)c=n.slice(a,l),i?c=G._parseMultiValue(c,i,t,[],null,s,o):c=G._parseValue(c,t,s,o),r.push(c),a=l+e.length;return c=n.slice(a),i?c=G._parseMultiValue(c,i,t,[],null,s,o):c=G._parseValue(c,t,s,o),r.push(c),r.length==1?r[0]:r};G._eachLine=function(n,e){let t=n.length,r=n.search(pp),i=r,s,o,l;do i=n.indexOf(` +`,r)+1,i>1&&n[i-2]==="\r"?l=2:l=1,i===0&&(i=t,l=0),o=n[r],o===" "||o===" "?s+=n.slice(r+1,i-l):(s&&e(null,s),s=n.slice(r,i-l)),r=i;while(i!==t);s=s.trim(),s.length&&e(null,s)};const xp=["tzid","location","tznames","latitude","longitude"];class L{static _compare_change_fn(e,t){return e.yeart.year?1:e.montht.month?1:e.dayt.day?1:e.hourt.hour?1:e.minutet.minute?1:e.secondt.second?1:0}static convert_time(e,t,r){if(e.isDate||t.tzid==r.tzid||t==L.localTimezone||r==L.localTimezone)return e.zone=r,e;let i=t.utcOffset(e);return e.adjust(0,0,0,-i),i=r.utcOffset(e),e.adjust(0,0,0,i),null}static fromData(e){return new L().fromData(e)}static#e=null;static get utcTimezone(){return this.#e||(this.#e=L.fromData({tzid:"UTC"})),this.#e}static#t=null;static get localTimezone(){return this.#t||(this.#t=L.fromData({tzid:"floating"})),this.#t}static adjust_change(e,t,r,i,s){return w.prototype.adjust.call(e,t,r,i,s,e)}static _minimumExpansionYear=-1;static EXTRA_COVERAGE=5;constructor(e){this.wrappedJSObject=this,this.fromData(e)}tzid="";location="";tznames="";latitude=0;longitude=0;component=null;expandedUntilYear=0;icalclass="icaltimezone";fromData(e){if(this.expandedUntilYear=0,this.changes=[],e instanceof qe)this.component=e;else{if(e&&"component"in e)if(typeof e.component=="string"){let t=G(e.component);this.component=new qe(t)}else e.component instanceof qe?this.component=e.component:this.component=null;for(let t of xp)e&&t in e&&(this[t]=e[t])}return this.component instanceof qe&&!this.tzid&&(this.tzid=this.component.getFirstPropertyValue("tzid")),this}utcOffset(e){if(this==L.utcTimezone||this==L.localTimezone||(this._ensureCoverage(e.year),!this.changes.length))return 0;let t={year:e.year,month:e.month,day:e.day,hour:e.hour,minute:e.minute,second:e.second},r=this._findNearbyChange(t),i=-1,s=1;for(;;){let a=An(this.changes[r],!0);if(a.utcOffset=0?i=r:s=-1,s==-1&&i!=-1)break;if(r+=s,r<0)return 0;if(r>=this.changes.length)break}let o=this.changes[i];if(o.utcOffset-o.prevUtcOffset<0&&i>0){let a=An(o,!0);if(L.adjust_change(a,0,0,0,a.prevUtcOffset),L._compare_change_fn(t,a)<0){let c=this.changes[i-1],u=!1;o.is_daylight!=u&&c.is_daylight==u&&(o=c)}}return o.utcOffset}_findNearbyChange(e){let t=kn(this.changes,e,L._compare_change_fn);return t>=this.changes.length?this.changes.length-1:t}_ensureCoverage(e){if(L._minimumExpansionYear==-1){let r=w.now();L._minimumExpansionYear=r.year}let t=e;if(tt||!d));)s.year=d.year,s.month=d.month,s.day=d.day,s.hour=d.hour,s.minute=d.minute,s.second=d.second,s.isDate=d.isDate,L.adjust_change(s,0,0,0,-s.prevUtcOffset),r.push(s)}}return r}toString(){return this.tznames?this.tznames:this.tzid}}let _e=null;const vi={get count(){return _e===null?0:Object.keys(_e).length},reset:function(){_e=Object.create(null);let n=L.utcTimezone;_e.Z=n,_e.UTC=n,_e.GMT=n},_hard_reset:function(){_e=null},has:function(n){return _e===null?!1:!!_e[n]},get:function(n){return _e===null&&this.reset(),_e[n]},register:function(n,e){if(_e===null&&this.reset(),typeof n=="string"&&e instanceof L&&([n,e]=[e,n]),e||(n instanceof L?e=n.tzid:n.name==="vtimezone"&&(n=new L(n),e=n.tzid)),!e)throw new TypeError("Neither a timezone nor a name was passed");if(n instanceof L)_e[e]=n;else throw new TypeError("timezone must be ICAL.Timezone or ICAL.Component")},remove:function(n){return _e===null?null:delete _e[n]}};function kp(n){let e,t,r,i,s;if(!n||n.name!=="vcalendar")return n;for(e=n.getAllSubcomponents(),t=[],r={},s=0;s"u"))return n instanceof e?n:new e(n)}function Ic(n,e,t){for(;(t=n.indexOf(e,t))!==-1;)if(t>0&&n[t-1]==="\\")t+=1;else return t;return-1}function kn(n,e,t){if(!n.length)return 0;let r=0,i=n.length-1,s,o;for(;r<=i;)if(s=r+Math.floor((i-r)/2),o=t(e,n[s]),o<0)i=s-1;else if(o>0)r=s+1;else break;return o<0?s:o>0?s+1:s}function An(n,e){if(!n||typeof n!="object")return n;if(n instanceof Date)return new Date(n.getTime());if("clone"in n)return n.clone();if(Array.isArray(n)){let t=[];for(let r=0;r65535?2:1:(e+=jn.newLineChar+" "+t.slice(0,Math.max(0,r)),t=t.slice(Math.max(0,r)),r=i=0)}return e.slice(jn.newLineChar.length+1)}function Fe(n){switch(typeof n!="string"&&(typeof n=="number"&&(n=parseInt(n)),n=String(n)),n.length){case 0:return"00";case 1:return"0"+n;default:return n}}function me(n){return n<0?Math.ceil(n):Math.floor(n)}function Ln(n,e){for(let t in n){let r=Object.getOwnPropertyDescriptor(n,t);r&&!Object.getOwnPropertyDescriptor(e,t)&&Object.defineProperty(e,t,r)}return e}var wp=Object.freeze({__proto__:null,binsearchInsert:kn,clone:An,extend:Ln,foldline:_c,formatClassType:Dt,isStrictlyNaN:Nr,pad2:Fe,strictParseInt:Ae,trunc:me,unescapedIndexOf:Ic,updateTimezones:kp});class lt{static fromString(e){let t={};return t.factor=e[0]==="+"?1:-1,t.hours=Ae(e.slice(1,3)),t.minutes=Ae(e.slice(4,6)),new lt(t)}static fromSeconds(e){let t=new lt;return t.fromSeconds(e),t}constructor(e){this.fromData(e)}hours=0;minutes=0;factor=1;icaltype="utc-offset";clone(){return lt.fromSeconds(this.toSeconds())}fromData(e){if(e)for(let[t,r]of Object.entries(e))this[t]=r;this._normalize()}fromSeconds(e){let t=Math.abs(e);return this.factor=e<0?-1:1,this.hours=me(t/3600),t-=this.hours*3600,this.minutes=me(t/60),this}toSeconds(){return this.factor*(60*this.minutes+3600*this.hours)}compare(e){let t=this.toSeconds(),r=e.toSeconds();return(t>r)-(r>t)}_normalize(){let e=this.toSeconds(),t=this.factor;for(;e<-43200;)e+=97200;for(;e>50400;)e-=97200;this.fromSeconds(e),e==0&&(this.factor=t)}toICALString(){return le.icalendar.value["utc-offset"].toICAL(this.toString())}toString(){return(this.factor==1?"+":"-")+Fe(this.hours)+":"+Fe(this.minutes)}}class qt extends w{static fromDateAndOrTimeString(e,t){function r(m,g,y){return m?Ae(m.slice(g,g+y)):null}let i=e.split("T"),s=i[0],o=i[1],l=o?le.vcard.value.time._splitZone(o):[],a=l[0],c=l[1],u=s?s.length:0,d=c?c.length:0,h=s&&s[0]=="-"&&s[1]=="-",f=c&&c[0]=="-",p={year:h?null:r(s,0,4),month:h&&(u==4||u==7)?r(s,2,2):u==7||u==10?r(s,5,2):null,day:u==5?r(s,3,2):u==7&&h?r(s,5,2):u==10?r(s,8,2):null,hour:f?null:r(c,0,2),minute:f&&d==3?r(c,1,2):d>4?f?r(c,1,2):r(c,3,2):null,second:d==4?r(c,2,2):d==6?r(c,4,2):d==8?r(c,6,2):null};return a=="Z"?a=L.utcTimezone:a&&a[3]==":"?a=lt.fromString(a):a=null,new qt(p,a,t)}constructor(e,t,r){super(e,t),this.icaltype=r||"date-and-or-time"}icalclass="vcardtime";icaltype="date-and-or-time";clone(){return new qt(this._time,this.zone,this.icaltype)}_normalize(){return this}utcOffset(){return this.zone instanceof lt?this.zone.toSeconds():w.prototype.utcOffset.apply(this,arguments)}toICALString(){return le.vcard.value[this.icaltype].toICAL(this.toString())}toString(){let e=this.year,t=this.month,r=this.day,i=this.hour,s=this.minute,o=this.second,l=e!==null,a=t!==null,c=r!==null,u=i!==null,d=s!==null,h=o!==null,f=(l?Fe(e)+(a||c?"-":""):a||c?"--":"")+(a?Fe(t):"")+(c?"-"+Fe(r):""),p=(u?Fe(i):"-")+(u&&d?":":"")+(d?Fe(s):"")+(!u&&!d?"-":"")+(d&&h?":":"")+(h?Fe(o):""),m;switch(this.zone===L.utcTimezone?m="Z":this.zone instanceof lt?m=this.zone.toString():this.zone===L.localTimezone?m="":this.zone instanceof L?m=lt.fromSeconds(this.zone.utcOffset(this)).toString():m="",this.icaltype){case"time":return p+m;case"date-and-or-time":case"date-time":return f+(p=="--"?"":"T"+p+m);case"date":return f}return null}}class bt{static _indexMap={BYSECOND:0,BYMINUTE:1,BYHOUR:2,BYDAY:3,BYMONTHDAY:4,BYYEARDAY:5,BYWEEKNO:6,BYMONTH:7,BYSETPOS:8};static _expandMap={SECONDLY:[1,1,1,1,1,1,1,1],MINUTELY:[2,1,1,1,1,1,1,1],HOURLY:[2,2,1,1,1,1,1,1],DAILY:[2,2,2,1,1,1,1,1],WEEKLY:[2,2,2,2,3,3,1,1],MONTHLY:[2,2,2,2,2,3,3,1],YEARLY:[2,2,2,2,2,2,2,2]};static UNKNOWN=0;static CONTRACT=1;static EXPAND=2;static ILLEGAL=3;constructor(e){this.fromData(e)}completed=!1;rule=null;dtstart=null;last=null;occurrence_number=0;by_indices=null;initialized=!1;by_data=null;days=null;days_index=0;fromData(e){if(this.rule=Dt(e.rule,Ee),!this.rule)throw new Error("iterator requires a (ICAL.Recur) rule");if(this.dtstart=Dt(e.dtstart,w),!this.dtstart)throw new Error("iterator requires a (ICAL.Time) dtstart");if(e.by_data?this.by_data=e.by_data:this.by_data=An(this.rule.parts,!0),e.occurrence_number&&(this.occurrence_number=e.occurrence_number),this.days=e.days||[],e.last&&(this.last=Dt(e.last,w)),this.by_indices=e.by_indices,this.by_indices||(this.by_indices={BYSECOND:0,BYMINUTE:0,BYHOUR:0,BYDAY:0,BYMONTH:0,BYWEEKNO:0,BYMONTHDAY:0}),this.initialized=e.initialized||!1,!this.initialized)try{this.init()}catch(t){if(t instanceof Xr)this.completed=!0;else throw t}}init(){this.initialized=!0,this.last=this.dtstart.clone();let e=this.by_data;if("BYDAY"in e&&this.sort_byday_rules(e.BYDAY),"BYYEARDAY"in e&&("BYMONTH"in e||"BYWEEKNO"in e||"BYMONTHDAY"in e))throw new Error("Invalid BYYEARDAY rule");if("BYWEEKNO"in e&&"BYMONTHDAY"in e)throw new Error("BYWEEKNO does not fit to BYMONTHDAY");if(this.rule.freq=="MONTHLY"&&("BYYEARDAY"in e||"BYWEEKNO"in e))throw new Error("For MONTHLY recurrences neither BYYEARDAY nor BYWEEKNO may appear");if(this.rule.freq=="WEEKLY"&&("BYYEARDAY"in e||"BYMONTHDAY"in e))throw new Error("For WEEKLY recurrences neither BYMONTHDAY nor BYYEARDAY may appear");if(this.rule.freq!="YEARLY"&&"BYYEARDAY"in e)throw new Error("BYYEARDAY may only appear in YEARLY rules");if(this.last.second=this.setup_defaults("BYSECOND","SECONDLY",this.dtstart.second),this.last.minute=this.setup_defaults("BYMINUTE","MINUTELY",this.dtstart.minute),this.last.hour=this.setup_defaults("BYHOUR","HOURLY",this.dtstart.hour),this.last.day=this.setup_defaults("BYMONTHDAY","DAILY",this.dtstart.day),this.last.month=this.setup_defaults("BYMONTH","MONTHLY",this.dtstart.month),this.rule.freq=="WEEKLY")if("BYDAY"in e){let[,t]=this.ruleDayOfWeek(e.BYDAY[0],this.rule.wkst),r=t-this.last.dayOfWeek(this.rule.wkst);(this.last.dayOfWeek(this.rule.wkst)=0||r<0)&&(this.last.day+=r)}else{let t=Ee.numericDayToIcalDay(this.dtstart.dayOfWeek());e.BYDAY=[t]}if(this.rule.freq=="YEARLY"){const t=this.rule.until?this.rule.until.year:2e4;for(;this.last.year<=t&&(this.expand_year_days(this.last.year),!(this.days.length>0));)this.increment_year(this.rule.interval);if(this.days.length==0)throw new Xr;if(!this._nextByYearDay()&&!this.next_year()&&!this.next_year()&&!this.next_year())throw new Xr}if(this.rule.freq=="MONTHLY"){if(this.has_by_data("BYDAY")){let t=null,r=this.last.clone(),i=w.daysInMonth(this.last.month,this.last.year);for(let s of this.by_data.BYDAY){this.last=r.clone();let[o,l]=this.ruleDayOfWeek(s),a=this.last.nthWeekDay(l,o);if(o>=6||o<=-6)throw new Error("Malformed values in BYDAY part");if(a>i||a<=0){if(t&&t.month==r.month)continue;for(;a>i||a<=0;)this.increment_month(),i=w.daysInMonth(this.last.month,this.last.year),a=this.last.nthWeekDay(l,o)}this.last.day=a,(!t||this.last.compare(t)<0)&&(t=this.last.clone())}if(this.last=t.clone(),this.has_by_data("BYMONTHDAY")&&this._byDayAndMonthDay(!0),this.last.day>i||this.last.day==0)throw new Error("Malformed values in BYDAY part")}else if(this.has_by_data("BYMONTHDAY")){this.last.day=1;let t=this.normalizeByMonthDayRules(this.last.year,this.last.month,this.rule.parts.BYMONTHDAY).filter(r=>r>=this.last.day);if(t.length)this.last.day=t[0],this.by_data.BYMONTHDAY=t;else if(!this.next_month()&&!this.next_month()&&!this.next_month())throw new Xr}}}next(e=!1){let t=this.last?this.last.clone():null;if((this.rule.count&&this.occurrence_number>=this.rule.count||this.rule.until&&this.last.compare(this.rule.until)>0)&&(this.completed=!0),this.completed)return null;if(this.occurrence_number==0&&this.last.compare(this.dtstart)>=0)return this.occurrence_number++,this.last;let r,i=0;do switch(r=1,this.rule.freq){case"SECONDLY":this.next_second();break;case"MINUTELY":this.next_minute();break;case"HOURLY":this.next_hour();break;case"DAILY":this.next_day();break;case"WEEKLY":this.next_week();break;case"MONTHLY":if(r=this.next_month(),r)i=0;else if(++i==336)return this.completed=!0,null;break;case"YEARLY":if(r=this.next_year(),r)i=0;else if(++i==28)return this.completed=!0,null;break;default:return null}while(!this.check_contracting_rules()||this.last.compare(this.dtstart)<0||!r);if(this.last.compare(t)==0){if(e)throw new Error("Same occurrence found twice, protecting you from death by recursion");this.next(!0)}return this.rule.until&&this.last.compare(this.rule.until)>0?(this.completed=!0,null):(this.occurrence_number++,this.last)}next_second(){return this.next_generic("BYSECOND","SECONDLY","second","minute")}increment_second(e){return this.increment_generic(e,"second",60,"minute")}next_minute(){return this.next_generic("BYMINUTE","MINUTELY","minute","hour","next_second")}increment_minute(e){return this.increment_generic(e,"minute",60,"hour")}next_hour(){return this.next_generic("BYHOUR","HOURLY","hour","monthday","next_minute")}increment_hour(e){this.increment_generic(e,"hour",24,"monthday")}next_day(){let e=this.rule.freq=="DAILY";return this.next_hour()==0||(e?this.increment_monthday(this.rule.interval):this.increment_monthday(1)),0}next_week(){let e=0;if(this.next_weekday_by_week()==0)return e;if(this.has_by_data("BYWEEKNO")){this.by_indices.BYWEEKNO++,this.by_indices.BYWEEKNO==this.by_data.BYWEEKNO.length&&(this.by_indices.BYWEEKNO=0,e=1),this.last.month=1,this.last.day=1;let t=this.by_data.BYWEEKNO[this.by_indices.BYWEEKNO];this.last.day+=7*t,e&&this.increment_year(1)}else this.increment_monthday(7*this.rule.interval);return e}normalizeByMonthDayRules(e,t,r){let i=w.daysInMonth(t,e),s=[],o=0,l=r.length,a;for(;oi)){if(a<0)a=i+(a+1);else if(a===0)continue;s.indexOf(a)===-1&&s.push(a)}}return s.sort(function(c,u){return c-u})}_byDayAndMonthDay(e){let t,r=this.by_data.BYDAY,i,s=0,o,l=r.length,a=0,c,u=this,d=this.last.day;function h(){for(c=w.daysInMonth(u.last.month,u.last.year),t=u.normalizeByMonthDayRules(u.last.year,u.last.month,u.by_data.BYMONTHDAY),o=t.length;t[s]<=d&&!(e&&t[s]==d)&&sc){f();continue}let m=t[s++];if(m>=i)d=m;else{f();continue}for(let g=0;gt&&(this.last.day=1,this.increment_month(),this.is_day_in_byday(this.last)?(!this.has_by_data("BYSETPOS")||this.check_set_position(1))&&(e=1):e=0)}else if(this.has_by_data("BYMONTHDAY")){if(this.by_indices.BYMONTHDAY++,this.by_indices.BYMONTHDAY>=this.by_data.BYMONTHDAY.length&&(this.by_indices.BYMONTHDAY=0,this.increment_month(),this.by_indices.BYMONTHDAY>=this.by_data.BYMONTHDAY.length))return 0;let t=w.daysInMonth(this.last.month,this.last.year),r=this.by_data.BYMONTHDAY[this.by_indices.BYMONTHDAY];r<0&&(r=t+r+1),r>t?(this.last.day=1,e=this.is_day_in_byday(this.last)):this.last.day=r}else{this.increment_month();let t=w.daysInMonth(this.last.month,this.last.year);this.by_data.BYMONTHDAY[0]>t?e=0:this.last.day=this.by_data.BYMONTHDAY[0]}return e}next_weekday_by_week(){let e=0;if(this.next_hour()==0)return e;if(!this.has_by_data("BYDAY"))return 1;for(;;){let t=new w;this.by_indices.BYDAY++,this.by_indices.BYDAY==Object.keys(this.by_data.BYDAY).length&&(this.by_indices.BYDAY=0,e=1);let r=this.by_data.BYDAY[this.by_indices.BYDAY],s=this.ruleDayOfWeek(r)[1];s-=this.rule.wkst,s<0&&(s+=7),t.year=this.last.year,t.month=this.last.month,t.day=this.last.day;let o=t.startDoyWeek(this.rule.wkst);if(s+o<1&&!e)continue;let l=w.fromDayOfYear(o+s,this.last.year);return this.last.year=l.year,this.last.month=l.month,this.last.day=l.day,e}}next_year(){return this.next_hour()==0||(this.days.length==0||++this.days_index==this.days.length)&&(this.days_index=0,this.increment_year(this.rule.interval),this.has_by_data("BYMONTHDAY")&&(this.by_data.BYMONTHDAY=this.normalizeByMonthDayRules(this.last.year,this.last.month,this.rule.parts.BYMONTHDAY)),this.expand_year_days(this.last.year),this.days.length==0)?0:this._nextByYearDay()}_nextByYearDay(){let e=this.days[this.days_index],t=this.last.year;if(Math.abs(e)==366&&!w.isLeapYear(this.last.year))return 0;e<1&&(e+=1,t+=1);let r=w.fromDayOfYear(e,t);return this.last.day=r.day,this.last.month=r.month,1}ruleDayOfWeek(e,t){let r=e.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);if(r){let i=parseInt(r[1]||0,10);return e=Ee.icalDayToNumericDay(r[2],t),[i,e]}else return[0,0]}next_generic(e,t,r,i,s){let o=e in this.by_data,l=this.rule.freq==t,a=0;if(s&&this[s]()==0)return a;if(o){this.by_indices[e]++;let c=this.by_data[e];this.by_indices[e]==c.length&&(this.by_indices[e]=0,a=1),this.last[r]=c[this.by_indices[e]]}else l&&this["increment_"+r](this.rule.interval);return o&&a&&l&&this["increment_"+i](1),a}increment_monthday(e){for(let t=0;tr&&(this.last.day-=r,this.increment_month())}}increment_month(){if(this.last.day=1,this.has_by_data("BYMONTH"))this.by_indices.BYMONTH++,this.by_indices.BYMONTH==this.by_data.BYMONTH.length&&(this.by_indices.BYMONTH=0,this.increment_year(1)),this.last.month=this.by_data.BYMONTH[this.by_indices.BYMONTH];else{this.rule.freq=="MONTHLY"?this.last.month+=this.rule.interval:this.last.month++,this.last.month--;let e=me(this.last.month/12);this.last.month%=12,this.last.month++,e!=0&&this.increment_year(e)}this.has_by_data("BYMONTHDAY")&&(this.by_data.BYMONTHDAY=this.normalizeByMonthDayRules(this.last.year,this.last.month,this.rule.parts.BYMONTHDAY))}increment_year(e){this.last.day=1,this.last.year+=e}increment_generic(e,t,r,i){this.last[t]+=e;let s=me(this.last[t]/r);this.last[t]%=r,s!=0&&this["increment_"+i](s)}has_by_data(e){return e in this.rule.parts}expand_year_days(e){let t=new w;this.days=[];let r={},i=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(let l of i)l in this.rule.parts&&(r[l]=this.rule.parts[l]);if("BYMONTH"in r&&"BYWEEKNO"in r){let l=1,a={};t.year=e,t.isDate=!0;for(let c=0;c0?(g=y+(p-1)*7,g<=a&&this.days.push(u+g)):(g=k+(p+1)*7,g>0&&this.days.push(u+g))}}this.days.sort(function(l,a){return l-a})}else if(s==2&&"BYDAY"in r&&"BYMONTHDAY"in r){let l=this.expand_by_day(e);for(let a of l){let c=w.fromDayOfYear(a,e);this.by_data.BYMONTHDAY.indexOf(c.day)>=0&&this.days.push(a)}}else if(s==3&&"BYDAY"in r&&"BYMONTHDAY"in r&&"BYMONTH"in r){let l=this.expand_by_day(e);for(let a of l){let c=w.fromDayOfYear(a,e);this.by_data.BYMONTH.indexOf(c.month)>=0&&this.by_data.BYMONTHDAY.indexOf(c.day)>=0&&this.days.push(a)}}else if(s==2&&"BYDAY"in r&&"BYWEEKNO"in r){let l=this.expand_by_day(e);for(let a of l){let u=w.fromDayOfYear(a,e).weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(u)&&this.days.push(a)}}else if(!(s==3&&"BYDAY"in r&&"BYWEEKNO"in r&&"BYMONTHDAY"in r))if(s==1&&"BYYEARDAY"in r)this.days=this.days.concat(this.by_data.BYYEARDAY);else if(s==2&&"BYYEARDAY"in r&&"BYDAY"in r){let l=w.isLeapYear(e)?366:365,a=new Set(this.expand_by_day(e));for(let c of this.by_data.BYYEARDAY)c<0&&(c+=l+1),a.has(c)&&this.days.push(c)}else this.days=[]}}let o=w.isLeapYear(e)?366:365;return this.days.sort((l,a)=>(l<0&&(l+=o+1),a<0&&(a+=o+1),l-a)),0}expand_by_day(e){let t=[],r=this.last.clone();r.year=e,r.month=1,r.day=1,r.isDate=!0;let i=r.dayOfWeek();r.month=12,r.day=31,r.isDate=!0;let s=r.dayOfWeek(),o=r.dayOfYear();for(let l of this.by_data.BYDAY){let a=this.ruleDayOfWeek(l),c=a[0],u=a[1];if(c==0){let d=(u+7-i)%7+1;for(let h=d;h<=o;h+=7)t.push(h)}else if(c>0){let d;u>=i?d=u-i+1:d=u-i+8,t.push(d+(c-1)*7)}else{let d;c=-c,u<=s?d=o-s+u:d=o-s+u-7,t.push(d-(c-1)*7)}}return t}is_day_in_byday(e){if(this.by_data.BYDAY)for(let t of this.by_data.BYDAY){let r=this.ruleDayOfWeek(t),i=r[0],s=r[1],o=e.dayOfWeek();if(i==0&&s==o||e.nthWeekDay(s,i)==e.day)return 1}return 0}check_set_position(e){return this.has_by_data("BYSETPOS")?this.by_data.BYSETPOS.indexOf(e)!==-1:!1}sort_byday_rules(e){for(let t=0;ts){let o=e[t];e[t]=e[r],e[r]=o}}}check_contract_restriction(e,t){let r=bt._indexMap[e],i=bt._expandMap[this.rule.freq][r],s=!1;if(e in this.by_data&&i==bt.CONTRACT){let o=this.by_data[e];for(let l of o)if(l==t){s=!0;break}}else s=!0;return s}check_contracting_rules(){let e=this.last.dayOfWeek(),t=this.last.weekNumber(this.rule.wkst),r=this.last.dayOfYear();return this.check_contract_restriction("BYSECOND",this.last.second)&&this.check_contract_restriction("BYMINUTE",this.last.minute)&&this.check_contract_restriction("BYHOUR",this.last.hour)&&this.check_contract_restriction("BYDAY",Ee.numericDayToIcalDay(e))&&this.check_contract_restriction("BYWEEKNO",t)&&this.check_contract_restriction("BYMONTHDAY",this.last.day)&&this.check_contract_restriction("BYMONTH",this.last.month)&&this.check_contract_restriction("BYYEARDAY",r)}setup_defaults(e,t,r){let i=bt._indexMap[e];return bt._expandMap[this.rule.freq][i]!=bt.CONTRACT&&(e in this.by_data||(this.by_data[e]=[r]),this.rule.freq!=t)?this.by_data[e][0]:r}toJSON(){let e=Object.create(null);return e.initialized=this.initialized,e.rule=this.rule.toJSON(),e.dtstart=this.dtstart.toJSON(),e.by_data=this.by_data,e.days=this.days,e.last=this.last.toJSON(),e.by_indices=this.by_indices,e.occurrence_number=this.occurrence_number,e}}class Xr extends Error{constructor(){super("Recurrence rule has no valid occurrences")}}const vp=/^(SU|MO|TU|WE|TH|FR|SA)$/,Cp=/^([+-])?(5[0-3]|[1-4][0-9]|[1-9])?(SU|MO|TU|WE|TH|FR|SA)$/,Lc={SU:w.SUNDAY,MO:w.MONDAY,TU:w.TUESDAY,WE:w.WEDNESDAY,TH:w.THURSDAY,FR:w.FRIDAY,SA:w.SATURDAY},Sp=Object.fromEntries(Object.entries(Lc).map(n=>n.reverse())),Rl=["SECONDLY","MINUTELY","HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"];class Ee{static fromString(e){let t=this._stringToData(e,!1);return new Ee(t)}static fromData(e){return new Ee(e)}static _stringToData(e,t){let r=Object.create(null),i=e.split(";"),s=i.length;for(let o=0;o7&&(i-=7),Sp[i]}constructor(e){this.wrappedJSObject=this,this.parts={},e&&typeof e=="object"&&this.fromData(e)}parts=null;interval=1;wkst=w.MONDAY;until=null;count=null;freq=null;icalclass="icalrecur";icaltype="recur";iterator(e){return new bt({rule:this,dtstart:e})}clone(){return new Ee(this.toJSON())}isFinite(){return!!(this.count||this.until)}isByCount(){return!!(this.count&&!this.until)}addComponent(e,t){let r=e.toUpperCase();r in this.parts?this.parts[r].push(t):this.parts[r]=[t]}setComponent(e,t){this.parts[e.toUpperCase()]=t.slice()}getComponent(e){let t=e.toUpperCase();return t in this.parts?this.parts[t].slice():[]}getNextOccurrence(e,t){let r=this.iterator(e),i;do i=r.next();while(i&&i.compare(t)<=0);return i&&t.zone&&(i.zone=t.zone),i}fromData(e){for(let t in e){let r=t.toUpperCase();r in _s?Array.isArray(e[t])?this.parts[r]=e[t]:this.parts[r]=[e[t]]:this[t]=e[t]}this.interval&&typeof this.interval!="number"&&Is.INTERVAL(this.interval,this),this.wkst&&typeof this.wkst!="number"&&(this.wkst=Ee.icalDayToNumericDay(this.wkst)),this.until&&!(this.until instanceof w)&&(this.until=w.fromString(this.until))}toJSON(){let e=Object.create(null);e.freq=this.freq,this.count&&(e.count=this.count),this.interval>1&&(e.interval=this.interval);for(let[t,r]of Object.entries(this.parts))Array.isArray(r)&&r.length==1?e[t.toLowerCase()]=r[0]:e[t.toLowerCase()]=An(r);return this.until&&(e.until=this.until.toString()),"wkst"in this&&this.wkst!==w.DEFAULT_WEEK_START&&(e.wkst=Ee.numericDayToIcalDay(this.wkst)),e}toString(){let e="FREQ="+this.freq;this.count&&(e+=";COUNT="+this.count),this.interval>1&&(e+=";INTERVAL="+this.interval);for(let[t,r]of Object.entries(this.parts))e+=";"+t+"="+r;return this.until&&(e+=";UNTIL="+this.until.toICALString()),"wkst"in this&&this.wkst!==w.DEFAULT_WEEK_START&&(e+=";WKST="+Ee.numericDayToIcalDay(this.wkst)),e}}function Pt(n,e,t,r){let i=r;if(r[0]==="+"&&(i=r.slice(1)),i=Ae(i),e!==void 0&&r '+e);if(t!==void 0&&r>t)throw new Error(n+': invalid value "'+r+'" must be < '+e);return i}const Is={FREQ:function(n,e,t){if(Rl.indexOf(n)!==-1)e.freq=n;else throw new Error('invalid frequency "'+n+'" expected: "'+Rl.join(", ")+'"')},COUNT:function(n,e,t){e.count=Ae(n)},INTERVAL:function(n,e,t){e.interval=Ae(n),e.interval<1&&(e.interval=1)},UNTIL:function(n,e,t){n.length>10?e.until=le.icalendar.value["date-time"].fromICAL(n):e.until=le.icalendar.value.date.fromICAL(n),t||(e.until=w.fromString(e.until))},WKST:function(n,e,t){if(vp.test(n))e.wkst=Ee.icalDayToNumericDay(n);else throw new Error('invalid WKST value "'+n+'"')}},_s={BYSECOND:Pt.bind(void 0,"BYSECOND",0,60),BYMINUTE:Pt.bind(void 0,"BYMINUTE",0,59),BYHOUR:Pt.bind(void 0,"BYHOUR",0,23),BYDAY:function(n){if(Cp.test(n))return n;throw new Error('invalid BYDAY value "'+n+'"')},BYMONTHDAY:Pt.bind(void 0,"BYMONTHDAY",-31,31),BYYEARDAY:Pt.bind(void 0,"BYYEARDAY",-366,366),BYWEEKNO:Pt.bind(void 0,"BYWEEKNO",-53,53),BYMONTH:Pt.bind(void 0,"BYMONTH",1,12),BYSETPOS:Pt.bind(void 0,"BYSETPOS",-366,366)},Tp=/\\\\|\\;|\\,|\\[Nn]/g,Mp=/\\|;|,|\n/g,Pl=/\\\\|\\,|\\[Nn]/g,Bl=/\\|,|\n/g;function uo(n,e){return{matches:/.*/,fromICAL:function(r,i){return Ep(r,n,i)},toICAL:function(r,i){let s=e;return i&&(s=new RegExp(s.source+"|"+i,s.flags)),r.replace(s,function(o){switch(o){case"\\":return"\\\\";case";":return"\\;";case",":return"\\,";case` +`:return"\\n";default:return o}})}}}const J={defaultType:"text"},Ir={defaultType:"text",multiValue:","},Ci={defaultType:"text",structuredValue:";"},Qr={defaultType:"integer"},Zr={defaultType:"date-time",allowedTypes:["date-time","date"]},ei={defaultType:"date-time"},$e={defaultType:"uri"},zl={defaultType:"utc-offset"},$l={defaultType:"recur"},Fl={defaultType:"date-and-or-time",allowedTypes:["date-time","date","text"]};function Ap(n){switch(n){case"\\\\":return"\\";case"\\;":return";";case"\\,":return",";case"\\n":case"\\N":return` +`;default:return n}}function Ep(n,e,t){return n.indexOf("\\")===-1?n:(t&&(e=new RegExp(e.source+"|\\\\"+t,e.flags)),n.replace(e,Ap))}let Wo={categories:Ir,url:$e,version:J,uid:J},Ko={boolean:{values:["TRUE","FALSE"],fromICAL:function(n){switch(n){case"TRUE":return!0;case"FALSE":return!1;default:return!1}},toICAL:function(n){return n?"TRUE":"FALSE"}},float:{matches:/^[+-]?\d+\.\d+$/,fromICAL:function(n){let e=parseFloat(n);return Nr(e)?0:e},toICAL:function(n){return String(n)}},integer:{fromICAL:function(n){let e=parseInt(n);return Nr(e)?0:e},toICAL:function(n){return String(n)}},"utc-offset":{toICAL:function(n){return n.length<7?n.slice(0,3)+n.slice(4,6):n.slice(0,3)+n.slice(4,6)+n.slice(7,9)},fromICAL:function(n){return n.length<6?n.slice(0,3)+":"+n.slice(3,5):n.slice(0,3)+":"+n.slice(3,5)+":"+n.slice(5,7)},decorate:function(n){return lt.fromString(n)},undecorate:function(n){return n.toString()}}},Dp={cutype:{values:["INDIVIDUAL","GROUP","RESOURCE","ROOM","UNKNOWN"],allowXName:!0,allowIanaToken:!0},"delegated-from":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},"delegated-to":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},encoding:{values:["8BIT","BASE64"]},fbtype:{values:["FREE","BUSY","BUSY-UNAVAILABLE","BUSY-TENTATIVE"],allowXName:!0,allowIanaToken:!0},member:{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},partstat:{values:["NEEDS-ACTION","ACCEPTED","DECLINED","TENTATIVE","DELEGATED","COMPLETED","IN-PROCESS"],allowXName:!0,allowIanaToken:!0},range:{values:["THISANDFUTURE"]},related:{values:["START","END"]},reltype:{values:["PARENT","CHILD","SIBLING"],allowXName:!0,allowIanaToken:!0},role:{values:["REQ-PARTICIPANT","CHAIR","OPT-PARTICIPANT","NON-PARTICIPANT"],allowXName:!0,allowIanaToken:!0},rsvp:{values:["TRUE","FALSE"]},"sent-by":{valueType:"cal-address"},tzid:{matches:/^\//},value:{values:["binary","boolean","cal-address","date","date-time","duration","float","integer","period","recur","text","time","uri","utc-offset"],allowXName:!0,allowIanaToken:!0}};const Le=Ln(Ko,{text:uo(Tp,Mp),uri:{},binary:{decorate:function(n){return ps.fromString(n)},undecorate:function(n){return n.toString()}},"cal-address":{},date:{decorate:function(n,e){return w.fromDateString(n,e)},undecorate:function(n){return n.toString()},fromICAL:function(n){return n.slice(0,4)+"-"+n.slice(4,6)+"-"+n.slice(6,8)},toICAL:function(n){let e=n.length;return e==10?n.slice(0,4)+n.slice(5,7)+n.slice(8,10):e>=19?Le["date-time"].toICAL(n):n}},"date-time":{fromICAL:function(n){{let e=n.slice(0,4)+"-"+n.slice(4,6)+"-"+n.slice(6,8)+"T"+n.slice(9,11)+":"+n.slice(11,13)+":"+n.slice(13,15);return n[15]&&n[15]==="Z"&&(e+="Z"),e}},toICAL:function(n){if(n.length>=19){let t=n.slice(0,4)+n.slice(5,7)+n.slice(8,13)+n.slice(14,16)+n.slice(17,19);return n[19]&&n[19]==="Z"&&(t+="Z"),t}else return n},decorate:function(n,e){return w.fromDateTimeString(n,e)},undecorate:function(n){return n.toString()}},duration:{decorate:function(n){return De.fromString(n)},undecorate:function(n){return n.toString()}},period:{fromICAL:function(n){let e=n.split("/");return e[0]=Le["date-time"].fromICAL(e[0]),De.isValueString(e[1])||(e[1]=Le["date-time"].fromICAL(e[1])),e},toICAL:function(n){return n=n.slice(),n[0]=Le["date-time"].toICAL(n[0]),De.isValueString(n[1])||(n[1]=Le["date-time"].toICAL(n[1])),n.join("/")},decorate:function(n,e){return Et.fromJSON(n,e,!1)},undecorate:function(n){return n.toJSON()}},recur:{fromICAL:function(n){return Ee._stringToData(n,!0)},toICAL:function(n){let e="";for(let[t,r]of Object.entries(n))t=="until"?r.length>10?r=Le["date-time"].toICAL(r):r=Le.date.toICAL(r):t=="wkst"?typeof r=="number"&&(r=Ee.numericDayToIcalDay(r)):Array.isArray(r)&&(r=r.join(",")),e+=t.toUpperCase()+"="+r+";";return e.slice(0,Math.max(0,e.length-1))},decorate:function(e){return Ee.fromData(e)},undecorate:function(n){return n.toJSON()}},time:{fromICAL:function(n){if(n.length<6)return n;let e=n.slice(0,2)+":"+n.slice(2,4)+":"+n.slice(4,6);return n[6]==="Z"&&(e+="Z"),e},toICAL:function(n){if(n.length<8)return n;let e=n.slice(0,2)+n.slice(3,5)+n.slice(6,8);return n[8]==="Z"&&(e+="Z"),e}}});let Op=Ln(Wo,{action:J,attach:{defaultType:"uri"},attendee:{defaultType:"cal-address"},calscale:J,class:J,comment:J,completed:ei,contact:J,created:ei,description:J,dtend:Zr,dtstamp:ei,dtstart:Zr,due:Zr,duration:{defaultType:"duration"},exdate:{defaultType:"date-time",allowedTypes:["date-time","date"],multiValue:","},exrule:$l,freebusy:{defaultType:"period",multiValue:","},geo:{defaultType:"float",structuredValue:";"},"last-modified":ei,location:J,method:J,organizer:{defaultType:"cal-address"},"percent-complete":Qr,priority:Qr,prodid:J,"related-to":J,repeat:Qr,rdate:{defaultType:"date-time",allowedTypes:["date-time","date","period"],multiValue:",",detectType:function(n){return n.indexOf("/")!==-1?"period":n.indexOf("T")===-1?"date":"date-time"}},"recurrence-id":Zr,resources:Ir,"request-status":Ci,rrule:$l,sequence:Qr,status:J,summary:J,transp:J,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:zl,tzoffsetto:zl,tzurl:$e,tzid:J,tzname:J});const Ue=Ln(Ko,{text:uo(Pl,Bl),uri:uo(Pl,Bl),date:{decorate:function(n){return qt.fromDateAndOrTimeString(n,"date")},undecorate:function(n){return n.toString()},fromICAL:function(n){return n.length==8?Le.date.fromICAL(n):n[0]=="-"&&n.length==6?n.slice(0,4)+"-"+n.slice(4):n},toICAL:function(n){return n.length==10?Le.date.toICAL(n):n[0]=="-"&&n.length==7?n.slice(0,4)+n.slice(5):n}},time:{decorate:function(n){return qt.fromDateAndOrTimeString("T"+n,"time")},undecorate:function(n){return n.toString()},fromICAL:function(n){let e=Ue.time._splitZone(n,!0),t=e[0],r=e[1];return r.length==6?r=r.slice(0,2)+":"+r.slice(2,4)+":"+r.slice(4,6):r.length==4&&r[0]!="-"?r=r.slice(0,2)+":"+r.slice(2,4):r.length==5&&(r=r.slice(0,3)+":"+r.slice(3,5)),t.length==5&&(t[0]=="-"||t[0]=="+")&&(t=t.slice(0,3)+":"+t.slice(3)),r+t},toICAL:function(n){let e=Ue.time._splitZone(n),t=e[0],r=e[1];return r.length==8?r=r.slice(0,2)+r.slice(3,5)+r.slice(6,8):r.length==5&&r[0]!="-"?r=r.slice(0,2)+r.slice(3,5):r.length==6&&(r=r.slice(0,3)+r.slice(4,6)),t.length==6&&(t[0]=="-"||t[0]=="+")&&(t=t.slice(0,3)+t.slice(4)),r+t},_splitZone:function(n,e){let t=n.length-1,r=n.length-(e?5:6),i=n[r],s,o;return n[t]=="Z"?(s=n[t],o=n.slice(0,Math.max(0,t))):n.length>6&&(i=="-"||i=="+")?(s=n.slice(r),o=n.slice(0,Math.max(0,r))):(s="",o=n),[s,o]}},"date-time":{decorate:function(n){return qt.fromDateAndOrTimeString(n,"date-time")},undecorate:function(n){return n.toString()},fromICAL:function(n){return Ue["date-and-or-time"].fromICAL(n)},toICAL:function(n){return Ue["date-and-or-time"].toICAL(n)}},"date-and-or-time":{decorate:function(n){return qt.fromDateAndOrTimeString(n,"date-and-or-time")},undecorate:function(n){return n.toString()},fromICAL:function(n){let e=n.split("T");return(e[0]?Ue.date.fromICAL(e[0]):"")+(e[1]?"T"+Ue.time.fromICAL(e[1]):"")},toICAL:function(n){let e=n.split("T");return Ue.date.toICAL(e[0])+(e[1]?"T"+Ue.time.toICAL(e[1]):"")}},timestamp:Le["date-time"],"language-tag":{matches:/^[a-zA-Z0-9-]+$/},"phone-number":{fromICAL:function(n){return Array.from(n).filter(function(e){return e==="\\"?void 0:e}).join("")},toICAL:function(n){return Array.from(n).map(function(e){return e===","||e===";"?"\\"+e:e}).join("")}}});let Np={type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","time","date-time","date-and-or-time","timestamp","boolean","integer","float","utc-offset","language-tag"],allowXName:!0,allowIanaToken:!0}},Ip=Ln(Wo,{adr:{defaultType:"text",structuredValue:";",multiValue:","},anniversary:Fl,bday:Fl,caladruri:$e,caluri:$e,clientpidmap:Ci,email:J,fburl:$e,fn:J,gender:Ci,geo:$e,impp:$e,key:$e,kind:J,lang:{defaultType:"language-tag"},logo:$e,member:$e,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:Ir,note:J,org:{defaultType:"text",structuredValue:";"},photo:$e,related:$e,rev:{defaultType:"timestamp"},role:J,sound:$e,source:$e,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:J,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:J}),_p=Ln(Ko,{binary:Le.binary,date:Ue.date,"date-time":Ue["date-time"],"phone-number":Ue["phone-number"],uri:Le.uri,text:Ue.text,time:Le.time,vcard:Le.text,"utc-offset":{toICAL:function(n){return n.slice(0,7)},fromICAL:function(n){return n.slice(0,7)},decorate:function(n){return lt.fromString(n)},undecorate:function(n){return n.toString()}}}),Lp={type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","date-time","phone-number","time","boolean","integer","float","utc-offset","vcard","binary"],allowXName:!0,allowIanaToken:!0}},Rp=Ln(Wo,{fn:J,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:Ir,photo:{defaultType:"binary",allowedTypes:["binary","uri"]},bday:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(n){return n.indexOf("T")===-1?"date":"date-time"}},adr:{defaultType:"text",structuredValue:";",multiValue:","},label:J,tel:{defaultType:"phone-number"},email:J,mailer:J,tz:{defaultType:"utc-offset",allowedTypes:["utc-offset","text"]},geo:{defaultType:"float",structuredValue:";"},title:J,role:J,logo:{defaultType:"binary",allowedTypes:["binary","uri"]},agent:{defaultType:"vcard",allowedTypes:["vcard","text","uri"]},org:Ci,note:Ir,prodid:J,rev:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(n){return n.indexOf("T")===-1?"date":"date-time"}},"sort-string":J,sound:{defaultType:"binary",allowedTypes:["binary","uri"]},class:J,key:{defaultType:"binary",allowedTypes:["binary","text"]}}),vt={name:"ical",value:Le,param:Dp,property:Op,propertyGroups:!1},Yl={name:"vcard4",value:Ue,param:Np,property:Ip,propertyGroups:!0},Hl={name:"vcard3",value:_p,param:Lp,property:Rp,propertyGroups:!0};const le={strict:!0,defaultSet:vt,defaultType:"unknown",components:{vcard:Yl,vcard3:Hl,vevent:vt,vtodo:vt,vjournal:vt,valarm:vt,vtimezone:vt,daylight:vt,standard:vt},icalendar:vt,vcard:Yl,vcard3:Hl,getDesignSet:function(n){return n&&n in le.components?le.components[n]:le.defaultSet}},pi=`\r +`,Vl="unknown",Pp={'"':"^'","\n":"^n","^":"^^"};function ne(n){typeof n[0]=="string"&&(n=[n]);let e=0,t=n.length,r="";for(;e0&&!(n[1][0][0]==="version"&&n[1][0][3]==="4.0")&&(l="vcard3"),e=e||le.getDesignSet(l);s0&&typeof e[0]=="object"&&"icaltype"in e[0]&&this.resetType(e[0].icaltype),this.isDecorated)for(;r=0;o--)(!r||s[o][zt]===r)&&this._removeObjectByIndex(e,i,o)}addSubcomponent(e){this._components||(this._components=[],this._hydratedComponentCount=0),e.parent&&e.parent.removeSubcomponent(e);let t=this.jCal[$t].push(e.jCal);return this._components[t-1]=e,this._hydratedComponentCount++,e.parent=this,e}removeSubcomponent(e){let t=this._removeObject($t,"_components",e);return t&&this._hydratedComponentCount--,t}removeAllSubcomponents(e){let t=this._removeAllObjects($t,"_components",e);return this._hydratedComponentCount=0,t}addProperty(e){if(!(e instanceof wn))throw new TypeError("must be instance of ICAL.Property");this._properties||(this._properties=[],this._hydratedPropertyCount=0),e.parent&&e.parent.removeProperty(e);let t=this.jCal[pt].push(e.jCal);return this._properties[t-1]=e,this._hydratedPropertyCount++,e.parent=this,e}addPropertyWithValue(e,t){let r=new wn(e);return r.setValue(t),this.addProperty(r),r}updatePropertyWithValue(e,t){let r=this.getFirstProperty(e);return r?r.setValue(t):r=this.addPropertyWithValue(e,t),r}removeProperty(e){let t=this._removeObject(pt,"_properties",e);return t&&this._hydratedPropertyCount--,t}removeAllProperties(e){let t=this._removeAllObjects(pt,"_properties",e);return this._hydratedPropertyCount=0,t}toJSON(){return this.jCal}toString(){return ne.component(this.jCal,this._designSet)}getTimeZoneByID(e){if(this.parent)return this.parent.getTimeZoneByID(e);if(!this._timezoneCache)return null;if(this._timezoneCache.has(e))return this._timezoneCache.get(e);const t=this.getAllSubcomponents("vtimezone");for(const r of t)if(r.getFirstProperty("tzid").getFirstValue()===e){const i=new L({component:r,tzid:e});return this._timezoneCache.set(e,i),i}return null}}class Rc{constructor(e){this.ruleDates=[],this.exDates=[],this.fromData(e)}complete=!1;ruleIterators=null;ruleDates=null;exDates=null;ruleDateInc=0;exDateInc=0;exDate=null;ruleDate=null;dtstart=null;last=null;fromData(e){let t=Dt(e.dtstart,w);if(t)this.dtstart=t;else throw new Error(".dtstart (ICAL.Time) must be given");if(e.component)this._init(e.component);else{if(this.last=Dt(e.last,w)||t.clone(),!e.ruleIterators)throw new Error(".ruleIterators or .component must be given");this.ruleIterators=e.ruleIterators.map(function(r){return Dt(r,bt)}),this.ruleDateInc=e.ruleDateInc,this.exDateInc=e.exDateInc,e.ruleDates&&(this.ruleDates=e.ruleDates.map(r=>Dt(r,w)),this.ruleDate=this.ruleDates[this.ruleDateInc]),e.exDates&&(this.exDates=e.exDates.map(r=>Dt(r,w)),this.exDate=this.exDates[this.exDateInc]),typeof e.complete<"u"&&(this.complete=e.complete)}}_compare_special(e,t){return!e.isDate&&t.isDate?new w({year:e.year,month:e.month,day:e.day}).compare(t):e.compare(t)}next(){let e,t,r,i=500,s=0;for(;;){if(s++>i)throw new Error("max tries have occurred, rule may be impossible to fulfill.");if(t=this.ruleDate,e=this._nextRecurrenceIter(this.last),!t&&!e){this.complete=!0;break}if((!t||e&&t.compare(e.last)>0)&&(t=e.last.clone(),e.next()),this.ruleDate===t&&this._nextRuleDay(),this.last=t,this.exDate&&(r=this._compare_special(this.last,this.exDate),r>0&&this._nextExDay(),r===0)){this._nextExDay();continue}return this.last}}toJSON(){function e(r){return r.toJSON()}let t=Object.create(null);return t.ruleIterators=this.ruleIterators.map(e),this.ruleDates&&(t.ruleDates=this.ruleDates.map(e)),this.exDates&&(t.exDates=this.exDates.map(e)),t.ruleDateInc=this.ruleDateInc,t.exDateInc=this.exDateInc,t.last=this.last.toJSON(),t.dtstart=this.dtstart.toJSON(),t.complete=this.complete,t}_extractDates(e,t){let r=[],i=e.getAllProperties(t);for(let s=0,o=i.length;sc.compare(u));r.splice(a,0,l)}return r}_init(e){if(this.ruleIterators=[],this.last=this.dtstart.clone(),!e.hasProperty("rdate")&&!e.hasProperty("rrule")&&!e.hasProperty("recurrence-id")){this.ruleDate=this.last.clone(),this.complete=!0;return}if(e.hasProperty("rdate")&&(this.ruleDates=this._extractDates(e,"rdate"),this.ruleDates[0]&&this.ruleDates[0].compare(this.dtstart)<0?(this.ruleDateInc=0,this.last=this.ruleDates[0].clone()):this.ruleDateInc=kn(this.ruleDates,this.last,(t,r)=>t.compare(r)),this.ruleDate=this.ruleDates[this.ruleDateInc]),e.hasProperty("rrule")){let t=e.getAllProperties("rrule"),r=0,i=t.length,s,o;for(;r0)&&(o=r)}return o}}class _r{constructor(e,t){e instanceof qe||(t=e,e=null),e?this.component=e:this.component=new qe("vevent"),this._rangeExceptionCache=Object.create(null),this.exceptions=Object.create(null),this.rangeExceptions=[],t&&t.strictExceptions&&(this.strictExceptions=t.strictExceptions),t&&t.exceptions?t.exceptions.forEach(this.relateException,this):this.component.parent&&!this.isRecurrenceException()&&this.component.parent.getAllSubcomponents("vevent").forEach(function(r){r.hasProperty("recurrence-id")&&this.relateException(r)},this)}static THISANDFUTURE="THISANDFUTURE";exceptions=null;strictExceptions=!1;relateException(e){if(this.isRecurrenceException())throw new Error("cannot relate exception to exceptions");if(e instanceof qe&&(e=new _r(e)),this.strictExceptions&&e.uid!==this.uid)throw new Error("attempted to relate unrelated exception");let t=e.recurrenceId.toString();if(this.exceptions[t]=e,e.modifiesFuture()){let r=[e.recurrenceId.toUnixTime(),t],i=kn(this.rangeExceptions,r,Ul);this.rangeExceptions.splice(i,0,r)}}modifiesFuture(){return this.component.hasProperty("recurrence-id")?this.component.getFirstProperty("recurrence-id").getParameter("range")===_r.THISANDFUTURE:!1}findRangeException(e){if(!this.rangeExceptions.length)return null;let t=e.toUnixTime(),r=kn(this.rangeExceptions,[t],Ul);if(r-=1,r<0)return null;let i=this.rangeExceptions[r];return te[0]?1:e[0]>n[0]?-1:0}class $p{constructor(e){typeof e>"u"&&(e={});for(let[t,r]of Object.entries(e))this[t]=r}parseEvent=!0;parseTimezone=!0;oncomplete=function(){};onerror=function(e){};ontimezone=function(e){};onevent=function(e){};process(e){typeof e=="string"&&(e=G(e)),e instanceof qe||(e=new qe(e));let t=e.getAllSubcomponents(),r=0,i=t.length,s;for(;ry.isRunning||!y.last),c=U(()=>Os(l.startDate.toJSDate(),s,Ns.DATE_MED)),u=U(()=>Os(l.startDate.toJSDate(),s,Ns.TIME_SIMPLE)),d=U(()=>Os(l.endDate.toJSDate(),s,Ns.TIME_SIMPLE)),h=U(()=>Math.max(m.value.length-Ls,0)),f=U(()=>b(h)?r("+%{attendeeCount} more",{attendeeCount:b(h).toString()}):""),p=U(()=>l?.component?.getFirstProperty?.("organizer")?.getFirstValue?.()?.replace(/^mailto:/i,"")||""),m=U(()=>l.component.getAllProperties("attendee").map(k=>({email:k.getFirstValue().toString().replace(/^mailto:/i,""),name:k.getParameter("cn")||null,role:k.getParameter("role")||null,status:k.getParameter("parstat")||null,cutype:k.getParameter("cutype")||null})).filter(k=>(k.email||k.name)&&k.cutype!="RESOURCE")),g=async()=>{const k=tt(t.groupwareUrl,`/accounts/${n.accountId}/blobs/${n.appointment.blobId}/${encodeURIComponent(n.appointment.name)}`);try{const{data:x}=await e.httpAuthenticated.get(k,{responseType:"blob"}),T=URL.createObjectURL(x);Mc(T,n.appointment.name)}catch(x){console.error(x),i({title:r("Failed to download %{name}",{name:n.appointment.name}),errors:[x]})}},y=nn(function*(k){const x=tt(t.groupwareUrl,`/accounts/${n.accountId}/blobs/${n.appointment.blobId}/${encodeURIComponent(n.appointment.name)}?type=${n.appointment.type}`);try{const{data:T}=yield e.httpAuthenticated.get(x,{responseType:"text"}),E=jn.parse(T),O=new jn.Component(E).getFirstSubcomponent("vevent");l=new jn.Event(O)}catch(T){console.error(T)}});return Ho(()=>{y.perform()}),(k,x)=>{const T=Y("oc-icon"),E=Y("oc-button"),I=Y("oc-list"),O=Y("oc-card");return a.value?(D(),q(b(nr),{key:0})):(D(),q(O,{key:1,class:"bg-role-surface-container rounded-xl mt-4","header-class":["px-4",o.value?"pb-4":""],"body-class":[o.value?"hidden":""]},{header:B(()=>[v("div",Fp,[v("div",null,[v("span",{class:"font-bold text-lg",textContent:F(b(l).summary)},null,8,Yp),x[7]||(x[7]=S()),v("div",Hp,[v("span",{textContent:F(c.value)},null,8,Vp),x[4]||(x[4]=S()),x[5]||(x[5]=v("span",{textContent:"·"},null,-1)),x[6]||(x[6]=S()),v("span",null,[v("span",{textContent:F(u.value)},null,8,jp),x[1]||(x[1]=S()),x[2]||(x[2]=v("span",{textContent:"-"},null,-1)),x[3]||(x[3]=S()),v("span",{textContent:F(d.value)},null,8,Up)])])]),x[8]||(x[8]=S()),M(E,{appearance:"raw","no-hover":"","aria-expanded":!o.value,"aria-label":b(r)("Toggle details"),onClick:x[0]||(x[0]=R=>o.value=!o.value)},{default:B(()=>[M(T,{name:o.value?"arrow-down-s":"arrow-up-s","fill-type":"line"},null,8,["name"])]),_:1},8,["aria-expanded","aria-label"])])]),default:B(()=>[x[21]||(x[21]=S()),v("div",Wp,[b(l).location?(D(),V("div",Kp,[M(T,{name:"map-pin",size:"small","fill-type":"line"}),x[9]||(x[9]=S()),v("span",{class:"truncate",textContent:F(b(l).location)},null,8,qp)])):ee("",!0),x[17]||(x[17]=S()),p.value?(D(),V("div",Jp,[M(T,{name:"user",size:"small","fill-type":"line"}),x[10]||(x[10]=S()),v("span",{class:"font-medium",textContent:F(b(r)("Organizer"))},null,8,Gp),x[11]||(x[11]=S()),v("div",Xp,[v("span",{textContent:F(p.value)},null,8,Qp)])])):ee("",!0),x[18]||(x[18]=S()),m.value&&m.value.length?(D(),V("div",Zp,[M(T,{name:"group",size:"small","fill-type":"line"}),x[12]||(x[12]=S()),v("span",{class:"font-medium",textContent:F(b(r)("Participants"))},null,8,em),x[13]||(x[13]=S()),M(I,{class:"col-start-2"},{default:B(()=>[(D(!0),V(Je,null,er((m.value||[]).slice(0,Ls),R=>(D(),V("li",{key:R.email||R.name,class:"text-sm mt-1"},[v("span",{textContent:F(R.email||R.name)},null,8,tm)]))),128))]),_:1}),x[14]||(x[14]=S()),m.value.length>Ls?(D(),V("div",nm,[v("span",{textContent:F(f.value)},null,8,rm)])):ee("",!0)])):ee("",!0),x[19]||(x[19]=S()),b(l).description?(D(),V("div",im,[M(T,{name:"sticky-note",size:"small","fill-type":"line"}),x[15]||(x[15]=S()),v("span",{class:"grid grid-cols-[auto_1fr]",textContent:F(b(l).description)},null,8,sm)])):ee("",!0),x[20]||(x[20]=S()),M(E,{class:"w-full mt-4",appearance:"outline",size:"large",onClick:g},{default:B(()=>[M(T,{size:"medium",name:"download-2","fill-type":"line"}),x[16]||(x[16]=S()),v("span",{textContent:F(b(r)("Download"))},null,8,om)]),_:1})])]),_:1},8,["header-class","body-class"]))}}}),am=ke({__name:"MailAppointmentList",props:{appointments:{},accountId:{}},setup(n){return(e,t)=>{const r=Y("oc-list");return D(),q(r,null,{default:B(()=>[(D(!0),V(Je,null,er(n.appointments,i=>(D(),V("li",{key:i.partId},[M(lm,{"account-id":n.accountId,appointment:i},null,8,["account-id","appointment"])]))),128))]),_:1})}}}),cm=["textContent"],um={key:1,class:"mail-details"},dm={class:"mail-details-subject font-bold flex justify-between items-center mt-1"},hm=["textContent"],fm={class:"mail-details-subheader mt-2 flex min-w-0 justify-between"},pm={class:"shrink-0"},mm={class:"mail-details-userinfo flex-1 min-w-0 ml-4"},gm=["textContent"],ym=["textContent"],bm=["textContent"],xm={class:"mail-details-to mt-4"},km=["textContent"],wm=["textContent"],vm=["innerHTML"],Cm=ke({__name:"MailDetails",setup(n){const{isLoading:e}=Uo(),{current:t}=it(),r=ln(),i=_n(),{currentAccount:s}=Oe(r),{currentMail:o}=Oe(i),{setCurrentMail:l}=i,a=U(()=>b(o)?.from[0]?.email||b(o)?.sender[0]?.email),c=U(()=>b(o)?.from[0]?.name||b(o)?.sender[0]?.name),u=U(()=>b(o).to.map(m=>m.name||m.email).join(", ")),d=U(()=>b(o)?Qf(b(o)):""),h=U(()=>b(o)?.receivedAt?Tc(b(o).receivedAt,t):""),f=U(()=>b(o).attachments?.filter(m=>m.type==="text/calendar")),p=()=>{l(null)};return(m,g)=>{const y=Y("oc-icon"),k=Y("oc-button"),x=Y("oc-avatar");return b(e)?(D(),q(b(nr),{key:0})):(D(),V(Je,{key:1},[b(o)?(D(),V("div",um,[M(k,{class:"md:hidden mb-2",appearance:"raw","no-hover":"","aria-label":m.$gettext("Navigate back"),onClick:p},{default:B(()=>[M(y,{name:"arrow-left","fill-type":"line"})]),_:1},8,["aria-label"]),g[5]||(g[5]=S()),v("div",dm,[v("h3",{class:"text-lg block truncate",textContent:F(b(o).subject)},null,8,hm),g[0]||(g[0]=S()),M(Ec,{mail:b(o)},null,8,["mail"])]),g[6]||(g[6]=S()),v("div",fm,[v("div",pm,[M(x,{"user-name":b(o).from[0]?.name||b(o).sender[0]?.name},null,8,["user-name"])]),g[2]||(g[2]=S()),v("div",mm,[v("div",{class:"font-bold text-xl truncate flex-1",textContent:F(c.value)},null,8,gm),g[1]||(g[1]=S()),v("div",{class:"truncate",textContent:F(a.value)},null,8,ym)]),g[3]||(g[3]=S()),v("span",{class:"mail-details-received-at shrink-0 ml-2",textContent:F(h.value)},null,8,bm)]),g[7]||(g[7]=S()),v("div",xm,[v("span",{class:"mr-4",textContent:F(m.$gettext("To:"))},null,8,km),g[4]||(g[4]=S()),v("span",{class:"truncate",textContent:F(u.value)},null,8,wm)]),g[8]||(g[8]=S()),f.value?.length?(D(),q(am,{key:0,"account-id":b(s).accountId,appointments:f.value},null,8,["account-id","appointments"])):ee("",!0),g[9]||(g[9]=S()),v("div",{class:"mail-details-body mt-6",innerHTML:d.value},null,8,vm),g[10]||(g[10]=S()),b(o).attachments.length?(D(),q(Nc,{key:1,class:"mail-details-attachments my-6",attachments:b(o).attachments,"account-id":b(s).accountId},null,8,["attachments","account-id"])):ee("",!0)])):(D(),q(b(ki),{key:0,icon:"mail","icon-fill-type":"line"},{message:B(()=>[v("span",{textContent:F(m.$gettext("No mail selected"))},null,8,cm)]),_:1}))],64))}}});let hr=null;const Sm=U(()=>hr?.isRunning??!1),qo=()=>{const n=sn(),e=on(),{setMailboxes:t}=rr();return hr||(hr=nn(function*(i,s){try{const{data:o}=yield e.httpAuthenticated.get(tt(n.groupwareUrl,`accounts/${s}/mailboxes`)),l=he(Yf).parse(o);return t(l),console.info("Loaded mailboxes:",l),l}catch(o){throw console.error("Failed to load mailboxes:",o),o}}).restartable()),{loadMailboxes:i=>hr.perform(i),loadMailboxesTask:hr,isLoading:Sm}};let fr=null;const Tm=U(()=>fr?.isRunning??!1),Pc=()=>{const n=sn(),e=on(),{setAccounts:t}=ln();return fr||(fr=nn(function*(i){try{const{data:s}=yield e.httpAuthenticated.get(tt(n.groupwareUrl,"accounts")),o=he(Vf).parse(s);return t(o),console.info("Loaded accounts:",o),o}catch(s){throw console.error("Failed to load accounts:",s),s}}).restartable()),{loadAccounts:()=>fr.perform(),loadAccountsTask:fr,isLoading:Tm}},Mm={key:1,class:"flex justify-between items-center w-full"},Am={class:"flex items-center truncate"},Em={class:"flex flex-col items-start ml-5 truncate"},Dm=["textContent"],Om=["textContent"],Nm={class:"flex justify-between items-center w-full"},Im={class:"flex items-center truncate"},_m={class:"flex flex-col items-start ml-5 truncate"},Lm=["textContent"],Rm=["textContent"],Pm=ke({__name:"MailAccountSwitch",setup(n){const e=ln(),{accounts:t,currentAccount:r}=Oe(e),{setCurrentAccount:i}=e,s=rr(),{mailboxes:o,currentMailbox:l}=Oe(s),{setCurrentMailbox:a}=s,{loadMailboxes:c}=qo(),{loadMails:u}=fs(),{setCurrentMail:d}=_n(),{isLoading:h}=Pc(),f=async p=>{i(p),d(null),await c(b(r).accountId),a(b(o)[0]),await u(b(r).accountId,b(l).id)};return(p,m)=>{const g=Y("oc-avatar"),y=Y("oc-icon"),k=Y("oc-button"),x=Y("oc-list"),T=Y("oc-drop");return D(),V(Je,null,[M(k,{id:"account-list-toggle",class:"w-full",appearance:"filled","color-role":"surface","justify-content":"space-between","no-hover":""},{default:B(()=>[b(h)?(D(),q(b(nr),{key:0})):(D(),V("div",Mm,[v("div",Am,[M(g,{"user-name":b(r).name},null,8,["user-name"]),m[1]||(m[1]=S()),v("div",Em,[v("span",{class:"font-bold",textContent:F(b(r).name)},null,8,Dm),m[0]||(m[0]=S()),b(r).identities?.[0]?.email?(D(),V("span",{key:0,textContent:F(b(r).identities[0].email)},null,8,Om)):ee("",!0)])]),m[2]||(m[2]=S()),M(y,{class:"ml-2",name:"more-2"})]))]),_:1}),m[6]||(m[6]=S()),M(T,{title:p.$gettext("Accounts"),class:"w-md",toggle:"#account-list-toggle","close-on-click":""},{default:B(()=>[M(x,null,{default:B(()=>[(D(!0),V(Je,null,er(b(t),E=>(D(),V("li",{key:E.accountId,class:"oc-list"},[M(k,{class:"p-2",appearance:E.accountId===b(r).accountId?"filled":"raw-inverse","color-role":E.accountId===b(r).accountId?"secondaryContainer":"surface",onClick:I=>f(E)},{default:B(()=>[v("div",Nm,[v("div",Im,[M(g,{"user-name":E.name},null,8,["user-name"]),m[4]||(m[4]=S()),v("div",_m,[v("span",{class:"font-bold",textContent:F(E.name)},null,8,Lm),m[3]||(m[3]=S()),E.identities?.[0]?.email?(D(),V("span",{key:0,textContent:F(E.identities[0].email)},null,8,Rm)):ee("",!0)])]),m[5]||(m[5]=S()),E.accountId===b(r).accountId?(D(),q(y,{key:0,class:"ml-2",name:"check"})):ee("",!0)])]),_:2},1032,["appearance","color-role","onClick"])]))),128))]),_:1})]),_:1},8,["title"])],64)}}}),Bm={class:"mailbox-tree h-full px-1 flex flex-col"},zm={class:"px-2 py-4"},$m=["textContent"],Fm=["textContent"],Ym={key:1},Hm={class:"flex items-center justify-between w-full"},Vm={class:"flex items-center truncate"},jm=["textContent"],Um=["textContent"],Wm={class:"w-full self-end mt-auto px-2 py-4"},Km=ke({__name:"MailboxTree",emits:["composeMail"],setup(n,{emit:e}){const t=rr(),r=ln(),{mailboxes:i,currentMailbox:s}=Oe(t),{setCurrentMailbox:o}=t,{currentAccount:l}=Oe(r),{setCurrentMail:a}=_n(),{loadMails:c}=fs(),{isLoading:u}=qo(),d=async h=>{o(h),a(null),await c(b(l).accountId,h.id)};return(h,f)=>{const p=Y("oc-icon"),m=Y("oc-button"),g=Y("oc-tag"),y=Y("oc-list"),k=Cc("oc-tooltip");return D(),V("div",Bm,[v("div",null,[v("div",zm,[M(m,{id:"new-email-menu-btn",class:"w-full hidden md:flex",appearance:"filled",onClick:f[0]||(f[0]=x=>h.$emit("composeMail"))},{default:B(()=>[M(p,{name:"edit-box","fill-type":"line"}),f[1]||(f[1]=S()),v("span",{textContent:F(h.$gettext("Write new Email"))},null,8,$m)]),_:1})]),f[4]||(f[4]=S()),b(u)?(D(),q(b(nr),{key:0})):(D(),V(Je,{key:1},[b(i)?.length?(D(),V("div",Ym,[M(y,{class:"mailbox-tree mt-1"},{default:B(()=>[(D(!0),V(Je,null,er(b(i),x=>(D(),V("li",{key:x.id,class:"pb-1 px-2"},[M(m,{class:We(["w-full p-2 hover:bg-role-surface-container-highest focus:bg-role-surface-container-highest",{"!bg-role-secondary-container":b(s)?.id===x.id}]),"no-hover":"","justify-content":"left",appearance:"raw",size:"small",onClick:T=>d(x)},{default:B(()=>[v("div",Hm,[v("div",Vm,[M(p,{name:"folder",class:"mr-2","fill-type":"line"}),f[2]||(f[2]=S()),v("span",{class:"truncate",textContent:F(x.name)},null,8,jm)]),f[3]||(f[3]=S()),x.unreadEmails?hn((D(),q(g,{key:0,class:"ml-2",appearance:"filled",rounded:!0},{default:B(()=>[v("span",{textContent:F(x.unreadEmails)},null,8,Um)]),_:2},1024)),[[k,h.$gettext("Unread emails")]]):ee("",!0)])]),_:2},1032,["class","onClick"])]))),128))]),_:1})])):(D(),q(b(ki),{key:0,icon:"folder-reduce","icon-fill-type":"line"},{message:B(()=>[v("span",{textContent:F(h.$gettext("No mailboxes found"))},null,8,Fm)]),_:1}))],64))]),f[5]||(f[5]=S()),v("div",Wm,[M(Pm)])])}}});function we(n){this.content=n}we.prototype={constructor:we,find:function(n){for(var e=0;e>1}};we.from=function(n){if(n instanceof we)return n;var e=[];if(n)for(var t in n)e.push(t,n[t]);return new we(e)};function Bc(n,e,t){for(let r=0;;r++){if(r==n.childCount||r==e.childCount)return n.childCount==e.childCount?null:t;let i=n.child(r),s=e.child(r);if(i==s){t+=i.nodeSize;continue}if(!i.sameMarkup(s))return t;if(i.isText&&i.text!=s.text){for(let o=0;i.text[o]==s.text[o];o++)t++;return t}if(i.content.size||s.content.size){let o=Bc(i.content,s.content,t+1);if(o!=null)return o}t+=i.nodeSize}}function zc(n,e,t,r){for(let i=n.childCount,s=e.childCount;;){if(i==0||s==0)return i==s?null:{a:t,b:r};let o=n.child(--i),l=e.child(--s),a=o.nodeSize;if(o==l){t-=a,r-=a;continue}if(!o.sameMarkup(l))return{a:t,b:r};if(o.isText&&o.text!=l.text){let c=0,u=Math.min(o.text.length,l.text.length);for(;ce&&r(a,i+l,s||null,o)!==!1&&a.content.size){let u=l+1;a.nodesBetween(Math.max(0,e-u),Math.min(a.content.size,t-u),r,i+u)}l=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,r,i){let s="",o=!0;return this.nodesBetween(e,t,(l,a)=>{let c=l.isText?l.text.slice(Math.max(e,a)-a,t-a):l.isLeaf?i?typeof i=="function"?i(l):i:l.type.spec.leafText?l.type.spec.leafText(l):"":"";l.isBlock&&(l.isLeaf&&c||l.isTextblock)&&r&&(o?o=!1:s+=r),s+=c},0),s}append(e){if(!e.size)return this;if(!this.size)return e;let t=this.lastChild,r=e.firstChild,i=this.content.slice(),s=0;for(t.isText&&t.sameMarkup(r)&&(i[i.length-1]=t.withText(t.text+r.text),s=1);se)for(let s=0,o=0;oe&&((ot)&&(l.isText?l=l.cut(Math.max(0,e-o),Math.min(l.text.length,t-o)):l=l.cut(Math.max(0,e-o-1),Math.min(l.content.size,t-o-1))),r.push(l),i+=l.nodeSize),o=a}return new C(r,i)}cutByIndex(e,t){return e==t?C.empty:e==0&&t==this.content.length?this:new C(this.content.slice(e,t))}replaceChild(e,t){let r=this.content[e];if(r==t)return this;let i=this.content.slice(),s=this.size+t.nodeSize-r.nodeSize;return i[e]=t,new C(i,s)}addToStart(e){return new C([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new C(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;tthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let t=0,r=0;;t++){let i=this.child(t),s=r+i.nodeSize;if(s>=e)return s==e?ri(t+1,s):ri(t,r);r=s}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,t){if(!t)return C.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new C(t.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return C.empty;let t,r=0;for(let i=0;ithis.type.rank&&(t||(t=e.slice(0,i)),t.push(this),r=!0),t&&t.push(s)}}return t||(t=e.slice()),r||t.push(this),t}removeFromSet(e){for(let t=0;tr.type.rank-i.type.rank),t}};Z.none=[];class Ti extends Error{}class N{constructor(e,t,r){this.content=e,this.openStart=t,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,t){let r=Fc(this.content,e+this.openStart,t);return r&&new N(r,this.openStart,this.openEnd)}removeBetween(e,t){return new N($c(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,t){if(!t)return N.empty;let r=t.openStart||0,i=t.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new N(C.fromJSON(e,t.content),r,i)}static maxOpen(e,t=!0){let r=0,i=0;for(let s=e.firstChild;s&&!s.isLeaf&&(t||!s.type.spec.isolating);s=s.firstChild)r++;for(let s=e.lastChild;s&&!s.isLeaf&&(t||!s.type.spec.isolating);s=s.lastChild)i++;return new N(e,r,i)}}N.empty=new N(C.empty,0,0);function $c(n,e,t){let{index:r,offset:i}=n.findIndex(e),s=n.maybeChild(r),{index:o,offset:l}=n.findIndex(t);if(i==e||s.isText){if(l!=t&&!n.child(o).isText)throw new RangeError("Removing non-flat range");return n.cut(0,e).append(n.cut(t))}if(r!=o)throw new RangeError("Removing non-flat range");return n.replaceChild(r,s.copy($c(s.content,e-i-1,t-i-1)))}function Fc(n,e,t,r){let{index:i,offset:s}=n.findIndex(e),o=n.maybeChild(i);if(s==e||o.isText)return r&&!r.canReplace(i,i,t)?null:n.cut(0,e).append(t).append(n.cut(e));let l=Fc(o.content,e-s-1,t,o);return l&&n.replaceChild(i,o.copy(l))}function qm(n,e,t){if(t.openStart>n.depth)throw new Ti("Inserted content deeper than insertion position");if(n.depth-t.openStart!=e.depth-t.openEnd)throw new Ti("Inconsistent open depths");return Yc(n,e,t,0)}function Yc(n,e,t,r){let i=n.index(r),s=n.node(r);if(i==e.index(r)&&r=0&&n.isText&&n.sameMarkup(e[t])?e[t]=n.withText(e[t].text+n.text):e.push(n)}function xr(n,e,t,r){let i=(e||n).node(t),s=0,o=e?e.index(t):i.childCount;n&&(s=n.index(t),n.depth>t?s++:n.textOffset&&(vn(n.nodeAfter,r),s++));for(let l=s;li&&fo(n,e,i+1),o=r.depth>i&&fo(t,r,i+1),l=[];return xr(null,n,i,l),s&&o&&e.index(i)==t.index(i)?(Hc(s,o),vn(Cn(s,Vc(n,e,t,r,i+1)),l)):(s&&vn(Cn(s,Mi(n,e,i+1)),l),xr(e,t,i,l),o&&vn(Cn(o,Mi(t,r,i+1)),l)),xr(r,null,i,l),new C(l)}function Mi(n,e,t){let r=[];if(xr(null,n,t,r),n.depth>t){let i=fo(n,e,t+1);vn(Cn(i,Mi(n,e,t+1)),r)}return xr(e,null,t,r),new C(r)}function Jm(n,e){let t=e.depth-n.openStart,i=e.node(t).copy(n.content);for(let s=t-1;s>=0;s--)i=e.node(s).copy(C.from(i));return{start:i.resolveNoCache(n.openStart+t),end:i.resolveNoCache(i.content.size-n.openEnd-t)}}class Lr{constructor(e,t,r){this.pos=e,this.path=t,this.parentOffset=r,this.depth=t.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(t);return r?e.child(t).cut(r):i}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let r=this.path[t*3],i=t==0?0:this.path[t*3-1]+1;for(let s=0;s0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!t||t(this.node(r))))return new Ai(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");let r=[],i=0,s=t;for(let o=e;;){let{index:l,offset:a}=o.content.findIndex(s),c=s-a;if(r.push(o,l,i+a),!c||(o=o.child(l),o.isText))break;s=c-1,i+=a+1}return new Lr(t,r,s)}static resolveCached(e,t){let r=Wl.get(e);if(r)for(let s=0;se&&this.nodesBetween(e,t,s=>(r.isInSet(s.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),jc(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw new Error("Called contentMatchAt on a node with invalid content");return t}canReplace(e,t,r=C.empty,i=0,s=r.childCount){let o=this.contentMatchAt(e).matchFragment(r,i,s),l=o&&o.matchFragment(this.content,t);if(!l||!l.validEnd)return!1;for(let a=i;at.type.name)}`);this.content.forEach(t=>t.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(t=>t.toJSON())),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");let r;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=t.marks.map(e.markFromJSON)}if(t.type=="text"){if(typeof t.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(t.text,r)}let i=C.fromJSON(e,t.content),s=e.nodeType(t.type).create(t.attrs,i,r);return s.type.checkAttrs(s.attrs),s}}ct.prototype.text=void 0;class Ei extends ct{constructor(e,t,r,i){if(super(e,t,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):jc(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new Ei(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Ei(this.type,this.attrs,e,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function jc(n,e){for(let t=n.length-1;t>=0;t--)e=n[t].type.name+"("+e+")";return e}class En{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,t){let r=new Zm(e,t);if(r.next==null)return En.empty;let i=Uc(r);r.next&&r.err("Unexpected trailing text");let s=og(sg(i));return lg(s,r),s}matchType(e){for(let t=0;tc.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function t(r){e.push(r);for(let i=0;i{let s=i+(r.validEnd?"*":" ")+" ";for(let o=0;o"+e.indexOf(r.next[o].next);return s}).join(` +`)}}En.empty=new En(!0);class Zm{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function Uc(n){let e=[];do e.push(eg(n));while(n.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function eg(n){let e=[];do e.push(tg(n));while(n.next&&n.next!=")"&&n.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function tg(n){let e=ig(n);for(;;)if(n.eat("+"))e={type:"plus",expr:e};else if(n.eat("*"))e={type:"star",expr:e};else if(n.eat("?"))e={type:"opt",expr:e};else if(n.eat("{"))e=ng(n,e);else break;return e}function Kl(n){/\D/.test(n.next)&&n.err("Expected number, got '"+n.next+"'");let e=Number(n.next);return n.pos++,e}function ng(n,e){let t=Kl(n),r=t;return n.eat(",")&&(n.next!="}"?r=Kl(n):r=-1),n.eat("}")||n.err("Unclosed braced range"),{type:"range",min:t,max:r,expr:e}}function rg(n,e){let t=n.nodeTypes,r=t[e];if(r)return[r];let i=[];for(let s in t){let o=t[s];o.isInGroup(e)&&i.push(o)}return i.length==0&&n.err("No node type or group '"+e+"' found"),i}function ig(n){if(n.eat("(")){let e=Uc(n);return n.eat(")")||n.err("Missing closing paren"),e}else if(/\W/.test(n.next))n.err("Unexpected token '"+n.next+"'");else{let e=rg(n,n.next).map(t=>(n.inline==null?n.inline=t.isInline:n.inline!=t.isInline&&n.err("Mixing inline and block content"),{type:"name",value:t}));return n.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function sg(n){let e=[[]];return i(s(n,0),t()),e;function t(){return e.push([])-1}function r(o,l,a){let c={term:a,to:l};return e[o].push(c),c}function i(o,l){o.forEach(a=>a.to=l)}function s(o,l){if(o.type=="choice")return o.exprs.reduce((a,c)=>a.concat(s(c,l)),[]);if(o.type=="seq")for(let a=0;;a++){let c=s(o.exprs[a],l);if(a==o.exprs.length-1)return c;i(c,l=t())}else if(o.type=="star"){let a=t();return r(l,a),i(s(o.expr,a),a),[r(a)]}else if(o.type=="plus"){let a=t();return i(s(o.expr,l),a),i(s(o.expr,a),a),[r(a)]}else{if(o.type=="opt")return[r(l)].concat(s(o.expr,l));if(o.type=="range"){let a=l;for(let c=0;c{n[o].forEach(({term:l,to:a})=>{if(!l)return;let c;for(let u=0;u{c||i.push([l,c=[]]),c.indexOf(u)==-1&&c.push(u)})})});let s=e[r.join(",")]=new En(r.indexOf(n.length-1)>-1);for(let o=0;o-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:qc(this.attrs,e)}create(e=null,t,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new ct(this,this.computeAttrs(e),C.from(t),Z.setFrom(r))}createChecked(e=null,t,r){return t=C.from(t),this.checkContent(t),new ct(this,this.computeAttrs(e),t,Z.setFrom(r))}createAndFill(e=null,t,r){if(e=this.computeAttrs(e),t=C.from(t),t.size){let o=this.contentMatch.fillBefore(t);if(!o)return null;t=o.append(t)}let i=this.contentMatch.matchFragment(t),s=i&&i.fillBefore(C.empty,!0);return s?new ct(this,e,t.append(s),Z.setFrom(r)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let r=0;r-1}allowsMarks(e){if(this.markSet==null)return!0;for(let t=0;tr[s]=new Xc(s,t,o));let i=t.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let s in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function ag(n,e,t){let r=t.split("|");return i=>{let s=i===null?"null":typeof i;if(r.indexOf(s)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${n}, got ${s}`)}}class cg{constructor(e,t,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?ag(e,t,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class ms{constructor(e,t,r,i){this.name=e,this.rank=t,this.schema=r,this.spec=i,this.attrs=Gc(e,i.attrs),this.excluded=null;let s=Kc(this.attrs);this.instance=s?new Z(this,s):null}create(e=null){return!e&&this.instance?this.instance:new Z(this,qc(this.attrs,e))}static compile(e,t){let r=Object.create(null),i=0;return e.forEach((s,o)=>r[s]=new ms(s,i++,t,o)),r}removeFromSet(e){for(var t=0;t-1}}class Qc{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let i in e)t[i]=e[i];t.nodes=we.from(e.nodes),t.marks=we.from(e.marks||{}),this.nodes=Jl.compile(this.spec.nodes,this),this.marks=ms.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let s=this.nodes[i],o=s.spec.content||"",l=s.spec.marks;if(s.contentMatch=r[o]||(r[o]=En.parse(o,this.nodes)),s.inlineContent=s.contentMatch.inlineContent,s.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!s.isInline||!s.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=s}s.markSet=l=="_"?null:l?Gl(this,l.split(" ")):l==""||!s.inlineContent?[]:null}for(let i in this.marks){let s=this.marks[i],o=s.spec.excludes;s.excluded=o==null?[s]:o==""?[]:Gl(this,o.split(" "))}this.nodeFromJSON=i=>ct.fromJSON(this,i),this.markFromJSON=i=>Z.fromJSON(this,i),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,t=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Jl){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(t,r,i)}text(e,t){let r=this.nodes.text;return new Ei(r,r.defaultAttrs,e,Z.setFrom(t))}mark(e,t){return typeof e=="string"&&(e=this.marks[e]),e.create(t)}nodeType(e){let t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t}}function Gl(n,e){let t=[];for(let r=0;r-1)&&t.push(o=a)}if(!o)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return t}function ug(n){return n.tag!=null}function dg(n){return n.style!=null}class Qt{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let r=this.matchedStyles=[];t.forEach(i=>{if(ug(i))this.tags.push(i);else if(dg(i)){let s=/[^=]*/.exec(i.style)[0];r.indexOf(s)<0&&r.push(s),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let s=e.nodes[i.node];return s.contentMatch.matchType(s)})}parse(e,t={}){let r=new Ql(this,t,!1);return r.addAll(e,Z.none,t.from,t.to),r.finish()}parseSlice(e,t={}){let r=new Ql(this,t,!0);return r.addAll(e,Z.none,t.from,t.to),N.maxOpen(r.finish())}matchTag(e,t,r){for(let i=r?this.tags.indexOf(r)+1:0;ie.length&&(l.charCodeAt(e.length)!=61||l.slice(e.length+1)!=t))){if(o.getAttrs){let a=o.getAttrs(t);if(a===!1)continue;o.attrs=a||void 0}return o}}}static schemaRules(e){let t=[];function r(i){let s=i.priority==null?50:i.priority,o=0;for(;o{r(o=Zl(o)),o.mark||o.ignore||o.clearMark||(o.mark=i)})}for(let i in e.nodes){let s=e.nodes[i].spec.parseDOM;s&&s.forEach(o=>{r(o=Zl(o)),o.node||o.ignore||o.mark||(o.node=i)})}return t}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new Qt(e,Qt.schemaRules(e)))}}const Zc={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},hg={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},eu={ol:!0,ul:!0},Rr=1,po=2,kr=4;function Xl(n,e,t){return e!=null?(e?Rr:0)|(e==="full"?po:0):n&&n.whitespace=="pre"?Rr|po:t&~kr}class ii{constructor(e,t,r,i,s,o){this.type=e,this.attrs=t,this.marks=r,this.solid=i,this.options=o,this.content=[],this.activeMarks=Z.none,this.match=s||(o&kr?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(C.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Rr)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let s=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=s.withText(s.text.slice(0,s.text.length-i[0].length))}}let t=C.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(C.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Zc.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class Ql{constructor(e,t,r){this.parser=e,this.options=t,this.isOpen=r,this.open=0,this.localPreserveWS=!1;let i=t.topNode,s,o=Xl(null,t.preserveWhitespace,0)|(r?kr:0);i?s=new ii(i.type,i.attrs,Z.none,!0,t.topMatch||i.type.contentMatch,o):r?s=new ii(null,null,Z.none,!0,null,o):s=new ii(e.schema.topNodeType,null,Z.none,!0,null,o),this.nodes=[s],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){e.nodeType==3?this.addTextNode(e,t):e.nodeType==1&&this.addElement(e,t)}addTextNode(e,t){let r=e.nodeValue,i=this.top,s=i.options&po?"full":this.localPreserveWS||(i.options&Rr)>0,{schema:o}=this.parser;if(s==="full"||i.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(s)if(s==="full")r=r.replace(/\r\n?/g,` +`);else if(o.linebreakReplacement&&/[\r\n]/.test(r)&&this.top.findWrapping(o.linebreakReplacement.create())){let l=r.split(/\r?\n|\r/);for(let a=0;a!a.clearMark(c)):t=t.concat(this.parser.schema.marks[a.mark].create(a.attrs)),a.consuming===!1)l=a;else break}}return t}addElementByRule(e,t,r,i){let s,o;if(t.node)if(o=this.parser.schema.nodes[t.node],o.isLeaf)this.insertNode(o.create(t.attrs),r,e.nodeName=="BR")||this.leafFallback(e,r);else{let a=this.enter(o,t.attrs||null,r,t.preserveWhitespace);a&&(s=!0,r=a)}else{let a=this.parser.schema.marks[t.mark];r=r.concat(a.create(t.attrs))}let l=this.top;if(o&&o.isLeaf)this.findInside(e);else if(i)this.addElement(e,r,i);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(a=>this.insertNode(a,r,!1));else{let a=e;typeof t.contentElement=="string"?a=e.querySelector(t.contentElement):typeof t.contentElement=="function"?a=t.contentElement(e):t.contentElement&&(a=t.contentElement),this.findAround(e,a,!0),this.addAll(a,r),this.findAround(e,a,!1)}s&&this.sync(l)&&this.open--}addAll(e,t,r,i){let s=r||0;for(let o=r?e.childNodes[r]:e.firstChild,l=i==null?null:e.childNodes[i];o!=l;o=o.nextSibling,++s)this.findAtPoint(e,s),this.addDOM(o,t);this.findAtPoint(e,s)}findPlace(e,t,r){let i,s;for(let o=this.open,l=0;o>=0;o--){let a=this.nodes[o],c=a.findWrapping(e);if(c&&(!i||i.length>c.length+l)&&(i=c,s=a,!c.length))break;if(a.solid){if(r)break;l+=2}}if(!i)return null;this.sync(s);for(let o=0;o(o.type?o.type.allowsMarkType(c.type):ea(c.type,e))?(a=c.addToSet(a),!1):!0),this.nodes.push(new ii(e,t,a,i,null,l)),this.open++,r}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let t=this.open;t>=0;t--){if(this.nodes[t]==e)return this.open=t,!0;this.localPreserveWS&&(this.nodes[t].options|=Rr)}return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let r=this.nodes[t].content;for(let i=r.length-1;i>=0;i--)e+=r[i].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),s=-(r?r.depth+1:0)+(i?0:1),o=(l,a)=>{for(;l>=0;l--){let c=t[l];if(c==""){if(l==t.length-1||l==0)continue;for(;a>=s;a--)if(o(l-1,a))return!0;return!1}else{let u=a>0||a==0&&i?this.nodes[a].type:r&&a>=s?r.node(a-s).type:null;if(!u||u.name!=c&&!u.isInGroup(c))return!1;a--}}return!0};return o(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let r=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let t in this.parser.schema.nodes){let r=this.parser.schema.nodes[t];if(r.isTextblock&&r.defaultAttrs)return r}}}function fg(n){for(let e=n.firstChild,t=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&eu.hasOwnProperty(r)&&t?(t.appendChild(e),e=t):r=="li"?t=e:r&&(t=null)}}function pg(n,e){return(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,e)}function Zl(n){let e={};for(let t in n)e[t]=n[t];return e}function ea(n,e){let t=e.schema.nodes;for(let r in t){let i=t[r];if(!i.allowsMarkType(n))continue;let s=[],o=l=>{s.push(l);for(let a=0;a{if(s.length||o.marks.length){let l=0,a=0;for(;l=0;i--){let s=this.serializeMark(e.marks[i],e.isInline,t);s&&((s.contentDOM||s.dom).appendChild(r),r=s.dom)}return r}serializeMark(e,t,r={}){let i=this.marks[e.type.name];return i&&mi(Ps(r),i(e,t),null,e.attrs)}static renderSpec(e,t,r=null,i){return mi(e,t,r,i)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Rn(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let t=ta(e.nodes);return t.text||(t.text=r=>r.text),t}static marksFromSchema(e){return ta(e.marks)}}function ta(n){let e={};for(let t in n){let r=n[t].spec.toDOM;r&&(e[t]=r)}return e}function Ps(n){return n.document||window.document}const na=new WeakMap;function mg(n){let e=na.get(n);return e===void 0&&na.set(n,e=gg(n)),e}function gg(n){let e=null;function t(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let i=0;i-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let o=i.indexOf(" ");o>0&&(t=i.slice(0,o),i=i.slice(o+1));let l,a=t?n.createElementNS(t,i):n.createElement(i),c=e[1],u=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){u=2;for(let d in c)if(c[d]!=null){let h=d.indexOf(" ");h>0?a.setAttributeNS(d.slice(0,h),d.slice(h+1),c[d]):d=="style"&&a.style?a.style.cssText=c[d]:a.setAttribute(d,c[d])}}for(let d=u;du)throw new RangeError("Content hole must be the only child of its parent node");return{dom:a,contentDOM:a}}else{let{dom:f,contentDOM:p}=mi(n,h,t,r);if(a.appendChild(f),p){if(l)throw new RangeError("Multiple content holes");l=p}}}return{dom:a,contentDOM:l}}const tu=65535,nu=Math.pow(2,16);function yg(n,e){return n+e*nu}function ra(n){return n&tu}function bg(n){return(n-(n&tu))/nu}const ru=1,iu=2,gi=4,su=8;class mo{constructor(e,t,r){this.pos=e,this.delInfo=t,this.recover=r}get deleted(){return(this.delInfo&su)>0}get deletedBefore(){return(this.delInfo&(ru|gi))>0}get deletedAfter(){return(this.delInfo&(iu|gi))>0}get deletedAcross(){return(this.delInfo&gi)>0}}class Ke{constructor(e,t=!1){if(this.ranges=e,this.inverted=t,!e.length&&Ke.empty)return Ke.empty}recover(e){let t=0,r=ra(e);if(!this.inverted)for(let i=0;ie)break;let c=this.ranges[l+s],u=this.ranges[l+o],d=a+c;if(e<=d){let h=c?e==a?-1:e==d?1:t:t,f=a+i+(h<0?0:u);if(r)return f;let p=e==(t<0?a:d)?null:yg(l/3,e-a),m=e==a?iu:e==d?ru:gi;return(t<0?e!=a:e!=d)&&(m|=su),new mo(f,m,p)}i+=u-c}return r?e+i:new mo(e+i,0,null)}touches(e,t){let r=0,i=ra(t),s=this.inverted?2:1,o=this.inverted?1:2;for(let l=0;le)break;let c=this.ranges[l+s],u=a+c;if(e<=u&&l==i*3)return!0;r+=this.ranges[l+o]-c}return!1}forEach(e){let t=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,s=0;i=0;t--){let i=e.getMirror(t);this.appendMap(e._maps[t].invert(),i!=null&&i>t?r-i-1:void 0)}}invert(){let e=new Pr;return e.appendMappingInverted(this),e}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let r=this.from;rs&&a!o.isAtom||!l.type.allowsMarkType(this.mark.type)?o:o.mark(this.mark.addToSet(o.marks)),i),t.openStart,t.openEnd);return ue.fromReplace(e,this.from,this.to,s)}invert(){return new at(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new Jt(t.pos,r.pos,this.mark)}merge(e){return e instanceof Jt&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Jt(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Jt(t.from,t.to,e.markFromJSON(t.mark))}}Ie.jsonID("addMark",Jt);class at extends Ie{constructor(e,t,r){super(),this.from=e,this.to=t,this.mark=r}apply(e){let t=e.slice(this.from,this.to),r=new N(Jo(t.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),t.openStart,t.openEnd);return ue.fromReplace(e,this.from,this.to,r)}invert(){return new Jt(this.from,this.to,this.mark)}map(e){let t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return t.deleted&&r.deleted||t.pos>=r.pos?null:new at(t.pos,r.pos,this.mark)}merge(e){return e instanceof at&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new at(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new at(t.from,t.to,e.markFromJSON(t.mark))}}Ie.jsonID("removeMark",at);class Gt extends Ie{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return ue.fail("No node at mark step's position");let r=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return ue.fromReplace(e,this.pos,this.pos+1,new N(C.from(r),0,t.isLeaf?0:1))}invert(e){let t=e.nodeAt(this.pos);if(t){let r=this.mark.addToSet(t.marks);if(r.length==t.marks.length){for(let i=0;ir.pos?null:new be(t.pos,r.pos,i,s,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,t){if(typeof t.from!="number"||typeof t.to!="number"||typeof t.gapFrom!="number"||typeof t.gapTo!="number"||typeof t.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new be(t.from,t.to,t.gapFrom,t.gapTo,N.fromJSON(e,t.slice),t.insert,!!t.structure)}}Ie.jsonID("replaceAround",be);function go(n,e,t){let r=n.resolve(e),i=t-e,s=r.depth;for(;i>0&&s>0&&r.indexAfter(s)==r.node(s).childCount;)s--,i--;if(i>0){let o=r.node(s).maybeChild(r.indexAfter(s));for(;i>0;){if(!o||o.isLeaf)return!0;o=o.firstChild,i--}}return!1}function xg(n,e,t,r){let i=[],s=[],o,l;n.doc.nodesBetween(e,t,(a,c,u)=>{if(!a.isInline)return;let d=a.marks;if(!r.isInSet(d)&&u.type.allowsMarkType(r.type)){let h=Math.max(c,e),f=Math.min(c+a.nodeSize,t),p=r.addToSet(d);for(let m=0;mn.step(a)),s.forEach(a=>n.step(a))}function kg(n,e,t,r){let i=[],s=0;n.doc.nodesBetween(e,t,(o,l)=>{if(!o.isInline)return;s++;let a=null;if(r instanceof ms){let c=o.marks,u;for(;u=r.isInSet(c);)(a||(a=[])).push(u),c=u.removeFromSet(c)}else r?r.isInSet(o.marks)&&(a=[r]):a=o.marks;if(a&&a.length){let c=Math.min(l+o.nodeSize,t);for(let u=0;un.step(new at(o.from,o.to,o.style)))}function Go(n,e,t,r=t.contentMatch,i=!0){let s=n.doc.nodeAt(e),o=[],l=e+1;for(let a=0;a=0;a--)n.step(o[a])}function wg(n,e,t){return(e==0||n.canReplace(e,n.childCount))&&(t==n.childCount||n.canReplace(0,t))}function ir(n){let t=n.parent.content.cutByIndex(n.startIndex,n.endIndex);for(let r=n.depth,i=0,s=0;;--r){let o=n.$from.node(r),l=n.$from.index(r)+i,a=n.$to.indexAfter(r)-s;if(rt;p--)m||r.index(p)>0?(m=!0,u=C.from(r.node(p).copy(u)),d++):a--;let h=C.empty,f=0;for(let p=s,m=!1;p>t;p--)m||i.after(p+1)=0;o--){if(r.size){let l=t[o].type.contentMatch.matchFragment(r);if(!l||!l.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=C.from(t[o].type.create(t[o].attrs,r))}let i=e.start,s=e.end;n.step(new be(i,s,i,s,new N(r,0,0),t.length,!0))}function Mg(n,e,t,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let s=n.steps.length;n.doc.nodesBetween(e,t,(o,l)=>{let a=typeof i=="function"?i(o):i;if(o.isTextblock&&!o.hasMarkup(r,a)&&Ag(n.doc,n.mapping.slice(s).map(l),r)){let c=null;if(r.schema.linebreakReplacement){let f=r.whitespace=="pre",p=!!r.contentMatch.matchType(r.schema.linebreakReplacement);f&&!p?c=!1:!f&&p&&(c=!0)}c===!1&&lu(n,o,l,s),Go(n,n.mapping.slice(s).map(l,1),r,void 0,c===null);let u=n.mapping.slice(s),d=u.map(l,1),h=u.map(l+o.nodeSize,1);return n.step(new be(d,h,d+1,h-1,new N(C.from(r.create(a,null,o.marks)),0,0),1,!0)),c===!0&&ou(n,o,l,s),!1}})}function ou(n,e,t,r){e.forEach((i,s)=>{if(i.isText){let o,l=/\r?\n|\r/g;for(;o=l.exec(i.text);){let a=n.mapping.slice(r).map(t+1+s+o.index);n.replaceWith(a,a+1,e.type.schema.linebreakReplacement.create())}}})}function lu(n,e,t,r){e.forEach((i,s)=>{if(i.type==i.type.schema.linebreakReplacement){let o=n.mapping.slice(r).map(t+1+s);n.replaceWith(o,o+1,e.type.schema.text(` +`))}})}function Ag(n,e,t){let r=n.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,t)}function Eg(n,e,t,r,i){let s=n.doc.nodeAt(e);if(!s)throw new RangeError("No node at given position");t||(t=s.type);let o=t.create(r,null,i||s.marks);if(s.isLeaf)return n.replaceWith(e,e+s.nodeSize,o);if(!t.validContent(s.content))throw new RangeError("Invalid content for node type "+t.name);n.step(new be(e,e+s.nodeSize,e+1,e+s.nodeSize-1,new N(C.from(o),0,0),1,!0))}function Nt(n,e,t=1,r){let i=n.resolve(e),s=i.depth-t,o=r&&r[r.length-1]||i.parent;if(s<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!o.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let c=i.depth-1,u=t-2;c>s;c--,u--){let d=i.node(c),h=i.index(c);if(d.type.spec.isolating)return!1;let f=d.content.cutByIndex(h,d.childCount),p=r&&r[u+1];p&&(f=f.replaceChild(0,p.type.create(p.attrs)));let m=r&&r[u]||d;if(!d.canReplace(h+1,d.childCount)||!m.type.validContent(f))return!1}let l=i.indexAfter(s),a=r&&r[0];return i.node(s).canReplaceWith(l,l,a?a.type:i.node(s+1).type)}function Dg(n,e,t=1,r){let i=n.doc.resolve(e),s=C.empty,o=C.empty;for(let l=i.depth,a=i.depth-t,c=t-1;l>a;l--,c--){s=C.from(i.node(l).copy(s));let u=r&&r[c];o=C.from(u?u.type.create(u.attrs,o):i.node(l).copy(o))}n.step(new ge(e,e,new N(s.append(o),t,t),!0))}function an(n,e){let t=n.resolve(e),r=t.index();return au(t.nodeBefore,t.nodeAfter)&&t.parent.canReplace(r,r+1)}function Og(n,e){e.content.size||n.type.compatibleContent(e.type);let t=n.contentMatchAt(n.childCount),{linebreakReplacement:r}=n.type.schema;for(let i=0;i0?(s=r.node(i+1),l++,o=r.node(i).maybeChild(l)):(s=r.node(i).maybeChild(l-1),o=r.node(i+1)),s&&!s.isTextblock&&au(s,o)&&r.node(i).canReplace(l,l+1))return e;if(i==0)break;e=t<0?r.before(i):r.after(i)}}function Ng(n,e,t){let r=null,{linebreakReplacement:i}=n.doc.type.schema,s=n.doc.resolve(e-t),o=s.node().type;if(i&&o.inlineContent){let u=o.whitespace=="pre",d=!!o.contentMatch.matchType(i);u&&!d?r=!1:!u&&d&&(r=!0)}let l=n.steps.length;if(r===!1){let u=n.doc.resolve(e+t);lu(n,u.node(),u.before(),l)}o.inlineContent&&Go(n,e+t-1,o,s.node().contentMatchAt(s.index()),r==null);let a=n.mapping.slice(l),c=a.map(e-t);if(n.step(new ge(c,a.map(e+t,-1),N.empty,!0)),r===!0){let u=n.doc.resolve(c);ou(n,u.node(),u.before(),n.steps.length)}return n}function Ig(n,e,t){let r=n.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),t))return e;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let s=r.index(i);if(r.node(i).canReplaceWith(s,s,t))return r.before(i+1);if(s>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let s=r.indexAfter(i);if(r.node(i).canReplaceWith(s,s,t))return r.after(i+1);if(s=0;o--){let l=o==r.depth?0:r.pos<=(r.start(o+1)+r.end(o+1))/2?-1:1,a=r.index(o)+(l>0?1:0),c=r.node(o),u=!1;if(s==1)u=c.canReplace(a,a,i);else{let d=c.contentMatchAt(a).findWrapping(i.firstChild.type);u=d&&c.canReplaceWith(a,a,d[0])}if(u)return l==0?r.pos:l<0?r.before(o+1):r.after(o+1)}return null}function ys(n,e,t=e,r=N.empty){if(e==t&&!r.size)return null;let i=n.resolve(e),s=n.resolve(t);return uu(i,s,r)?new ge(e,t,r):new _g(i,s,r).fit()}function uu(n,e,t){return!t.openStart&&!t.openEnd&&n.start()==e.start()&&n.parent.canReplace(n.index(),e.index(),t.content)}class _g{constructor(e,t,r){this.$from=e,this.$to=t,this.unplaced=r,this.frontier=[],this.placed=C.empty;for(let i=0;i<=e.depth;i++){let s=e.node(i);this.frontier.push({type:s.type,match:s.contentMatchAt(e.indexAfter(i))})}for(let i=e.depth;i>0;i--)this.placed=C.from(e.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(e<0?this.$to:r.doc.resolve(e));if(!i)return null;let s=this.placed,o=r.depth,l=i.depth;for(;o&&l&&s.childCount==1;)s=s.firstChild.content,o--,l--;let a=new N(s,o,l);return e>-1?new be(r.pos,e,this.$to.pos,this.$to.end(),a,t):a.size||r.pos!=this.$to.pos?new ge(r.pos,i.pos,a):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,r=0,i=this.unplaced.openEnd;r1&&(i=0),s.type.spec.isolating&&i<=r){e=r;break}t=s.content}for(let t=1;t<=2;t++)for(let r=t==1?e:this.unplaced.openStart;r>=0;r--){let i,s=null;r?(s=zs(this.unplaced.content,r-1).firstChild,i=s.content):i=this.unplaced.content;let o=i.firstChild;for(let l=this.depth;l>=0;l--){let{type:a,match:c}=this.frontier[l],u,d=null;if(t==1&&(o?c.matchType(o.type)||(d=c.fillBefore(C.from(o),!1)):s&&a.compatibleContent(s.type)))return{sliceDepth:r,frontierDepth:l,parent:s,inject:d};if(t==2&&o&&(u=c.findWrapping(o.type)))return{sliceDepth:r,frontierDepth:l,parent:s,wrap:u};if(s&&c.matchType(s.type))break}}}openMore(){let{content:e,openStart:t,openEnd:r}=this.unplaced,i=zs(e,t);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new N(e,t+1,Math.max(r,i.size+t>=e.size-r?t+1:0)),!0)}dropNode(){let{content:e,openStart:t,openEnd:r}=this.unplaced,i=zs(e,t);if(i.childCount<=1&&t>0){let s=e.size-t<=t+i.size;this.unplaced=new N(pr(e,t-1,1),t-1,s?t-1:r)}else this.unplaced=new N(pr(e,t,1),t,r)}placeNodes({sliceDepth:e,frontierDepth:t,parent:r,inject:i,wrap:s}){for(;this.depth>t;)this.closeFrontierNode();if(s)for(let m=0;m1||a==0||m.content.size)&&(d=g,u.push(du(m.mark(h.allowedMarks(m.marks)),c==1?a:0,c==l.childCount?f:-1)))}let p=c==l.childCount;p||(f=-1),this.placed=mr(this.placed,t,C.from(u)),this.frontier[t].match=d,p&&f<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let m=0,g=l;m1&&i==this.$to.end(--r);)++i;return i}findCloseLevel(e){e:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:r,type:i}=this.frontier[t],s=t=0;l--){let{match:a,type:c}=this.frontier[l],u=$s(e,l,c,a,!0);if(!u||u.childCount)continue e}return{depth:t,fit:o,move:s?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=mr(this.placed,t.depth,t.fit)),e=t.move;for(let r=t.depth+1;r<=e.depth;r++){let i=e.node(r),s=i.type.contentMatch.fillBefore(i.content,!0,e.index(r));this.openFrontierNode(i.type,i.attrs,s)}return e}openFrontierNode(e,t=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=mr(this.placed,this.depth,C.from(e.create(t,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let t=this.frontier.pop().match.fillBefore(C.empty,!0);t.childCount&&(this.placed=mr(this.placed,this.frontier.length,t))}}function pr(n,e,t){return e==0?n.cutByIndex(t,n.childCount):n.replaceChild(0,n.firstChild.copy(pr(n.firstChild.content,e-1,t)))}function mr(n,e,t){return e==0?n.append(t):n.replaceChild(n.childCount-1,n.lastChild.copy(mr(n.lastChild.content,e-1,t)))}function zs(n,e){for(let t=0;t1&&(r=r.replaceChild(0,du(r.firstChild,e-1,r.childCount==1?t-1:0))),e>0&&(r=n.type.contentMatch.fillBefore(r).append(r),t<=0&&(r=r.append(n.type.contentMatch.matchFragment(r).fillBefore(C.empty,!0)))),n.copy(r)}function $s(n,e,t,r,i){let s=n.node(e),o=i?n.indexAfter(e):n.index(e);if(o==s.childCount&&!t.compatibleContent(s.type))return null;let l=r.fillBefore(s.content,!0,o);return l&&!Lg(t,s.content,o)?l:null}function Lg(n,e,t){for(let r=t;r0;h--,f--){let p=i.node(h).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;o.indexOf(h)>-1?l=h:i.before(h)==f&&o.splice(1,0,-h)}let a=o.indexOf(l),c=[],u=r.openStart;for(let h=r.content,f=0;;f++){let p=h.firstChild;if(c.push(p),f==r.openStart)break;h=p.content}for(let h=u-1;h>=0;h--){let f=c[h],p=Rg(f.type);if(p&&!f.sameMarkup(i.node(Math.abs(l)-1)))u=h;else if(p||!f.type.isTextblock)break}for(let h=r.openStart;h>=0;h--){let f=(h+u+1)%(r.openStart+1),p=c[f];if(p)for(let m=0;m=0&&(n.replace(e,t,r),!(n.steps.length>d));h--){let f=o[h];f<0||(e=i.before(f),t=s.after(f))}}function hu(n,e,t,r,i){if(er){let s=i.contentMatchAt(0),o=s.fillBefore(n).append(n);n=o.append(s.matchFragment(o).fillBefore(C.empty,!0))}return n}function Bg(n,e,t,r){if(!r.isInline&&e==t&&n.doc.resolve(e).parent.content.size){let i=Ig(n.doc,e,r.type);i!=null&&(e=t=i)}n.replaceRange(e,t,new N(C.from(r),0,0))}function zg(n,e,t){let r=n.doc.resolve(e),i=n.doc.resolve(t),s=fu(r,i);for(let o=0;o0&&(a||r.node(l-1).canReplace(r.index(l-1),i.indexAfter(l-1))))return n.delete(r.before(l),i.after(l))}for(let o=1;o<=r.depth&&o<=i.depth;o++)if(e-r.start(o)==r.depth-o&&t>r.end(o)&&i.end(o)-t!=i.depth-o&&r.start(o-1)==i.start(o-1)&&r.node(o-1).canReplace(r.index(o-1),i.index(o-1)))return n.delete(r.before(o),t);n.delete(e,t)}function fu(n,e){let t=[],r=Math.min(n.depth,e.depth);for(let i=r;i>=0;i--){let s=n.start(i);if(se.pos+(e.depth-i)||n.node(i).type.spec.isolating||e.node(i).type.spec.isolating)break;(s==e.start(i)||i==n.depth&&i==e.depth&&n.parent.inlineContent&&e.parent.inlineContent&&i&&e.start(i-1)==s-1)&&t.push(i)}return t}class Un extends Ie{constructor(e,t,r){super(),this.pos=e,this.attr=t,this.value=r}apply(e){let t=e.nodeAt(this.pos);if(!t)return ue.fail("No node at attribute step's position");let r=Object.create(null);for(let s in t.attrs)r[s]=t.attrs[s];r[this.attr]=this.value;let i=t.type.create(r,null,t.marks);return ue.fromReplace(e,this.pos,this.pos+1,new N(C.from(i),0,t.isLeaf?0:1))}getMap(){return Ke.empty}invert(e){return new Un(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let t=e.mapResult(this.pos,1);return t.deletedAfter?null:new Un(t.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.pos!="number"||typeof t.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Un(t.pos,t.attr,t.value)}}Ie.jsonID("attr",Un);class Br extends Ie{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let i in e.attrs)t[i]=e.attrs[i];t[this.attr]=this.value;let r=e.type.create(t,e.content,e.marks);return ue.ok(r)}getMap(){return Ke.empty}invert(e){return new Br(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,t){if(typeof t.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Br(t.attr,t.value)}}Ie.jsonID("docAttr",Br);let Kn=class extends Error{};Kn=function n(e){let t=Error.call(this,e);return t.__proto__=n.prototype,t};Kn.prototype=Object.create(Error.prototype);Kn.prototype.constructor=Kn;Kn.prototype.name="TransformError";class pu{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Pr}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new Kn(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,t=-1e9;for(let r=0;r{e=Math.min(e,l),t=Math.max(t,a)})}return e==1e9?null:{from:e,to:t}}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,r=N.empty){let i=ys(this.doc,e,t,r);return i&&this.step(i),this}replaceWith(e,t,r){return this.replace(e,t,new N(C.from(r),0,0))}delete(e,t){return this.replace(e,t,N.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,r){return Pg(this,e,t,r),this}replaceRangeWith(e,t,r){return Bg(this,e,t,r),this}deleteRange(e,t){return zg(this,e,t),this}lift(e,t){return vg(this,e,t),this}join(e,t=1){return Ng(this,e,t),this}wrap(e,t){return Tg(this,e,t),this}setBlockType(e,t=e,r,i=null){return Mg(this,e,t,r,i),this}setNodeMarkup(e,t,r=null,i){return Eg(this,e,t,r,i),this}setNodeAttribute(e,t,r){return this.step(new Un(e,t,r)),this}setDocAttribute(e,t){return this.step(new Br(e,t)),this}addNodeMark(e,t){return this.step(new Gt(e,t)),this}removeNodeMark(e,t){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(t instanceof Z)t.isInSet(r.marks)&&this.step(new Dn(e,t));else{let i=r.marks,s,o=[];for(;s=t.isInSet(i);)o.push(new Dn(e,s)),i=s.removeFromSet(i);for(let l=o.length-1;l>=0;l--)this.step(o[l])}return this}split(e,t=1,r){return Dg(this,e,t,r),this}addMark(e,t,r){return xg(this,e,t,r),this}removeMark(e,t,r){return kg(this,e,t,r),this}clearIncompatible(e,t,r){return Go(this,e,t,r),this}}const Fs=Object.create(null);class W{constructor(e,t,r){this.$anchor=e,this.$head=t,this.ranges=r||[new $g(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t=0;s--){let o=t<0?Fn(e.node(0),e.node(s),e.before(s+1),e.index(s),t,r):Fn(e.node(0),e.node(s),e.after(s+1),e.index(s)+1,t,r);if(o)return o}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new Ge(e.node(0))}static atStart(e){return Fn(e,e,0,0,1)||new Ge(e)}static atEnd(e){return Fn(e,e,e.content.size,e.childCount,-1)||new Ge(e)}static fromJSON(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Fs[t.type];if(!r)throw new RangeError(`No selection type ${t.type} defined`);return r.fromJSON(e,t)}static jsonID(e,t){if(e in Fs)throw new RangeError("Duplicate use of selection JSON ID "+e);return Fs[e]=t,t.prototype.jsonID=e,t}getBookmark(){return $.between(this.$anchor,this.$head).getBookmark()}}W.prototype.visible=!0;class $g{constructor(e,t){this.$from=e,this.$to=t}}let sa=!1;function oa(n){!sa&&!n.parent.inlineContent&&(sa=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+n.parent.type.name+")"))}class $ extends W{constructor(e,t=e){oa(e),oa(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,t){let r=e.resolve(t.map(this.head));if(!r.parent.inlineContent)return W.near(r);let i=e.resolve(t.map(this.anchor));return new $(i.parent.inlineContent?i:r,r)}replace(e,t=N.empty){if(super.replace(e,t),t==N.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof $&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new bs(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,t){if(typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new $(e.resolve(t.anchor),e.resolve(t.head))}static create(e,t,r=t){let i=e.resolve(t);return new this(i,r==t?i:e.resolve(r))}static between(e,t,r){let i=e.pos-t.pos;if((!r||i)&&(r=i>=0?1:-1),!t.parent.inlineContent){let s=W.findFrom(t,r,!0)||W.findFrom(t,-r,!0);if(s)t=s.$head;else return W.near(t,r)}return e.parent.inlineContent||(i==0?e=t:(e=(W.findFrom(e,-r,!0)||W.findFrom(e,r,!0)).$anchor,e.pos0?0:1);i>0?o=0;o+=i){let l=e.child(o);if(l.isAtom){if(!s&&P.isSelectable(l))return P.create(n,t-(i<0?l.nodeSize:0))}else{let a=Fn(n,l,t+i,i<0?l.childCount:0,i,s);if(a)return a}t+=l.nodeSize*i}return null}function la(n,e,t){let r=n.steps.length-1;if(r{o==null&&(o=u)}),n.setSelection(W.near(n.doc.resolve(o),t))}const aa=1,si=2,ca=4;class Yg extends pu{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=si,this}ensureMarks(e){return Z.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&si)>0}addStep(e,t){super.addStep(e,t),this.updated=this.updated&~si,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let r=this.selection;return t&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||Z.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,r){let i=this.doc.type.schema;if(t==null)return e?this.replaceSelectionWith(i.text(e),!0):this.deleteSelection();{if(r==null&&(r=t),!e)return this.deleteRange(t,r);let s=this.storedMarks;if(!s){let o=this.doc.resolve(t);s=r==t?o.marks():o.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(t,r,i.text(e,s)),!this.selection.empty&&this.selection.to==t+e.length&&this.setSelection(W.near(this.selection.$to)),this}}setMeta(e,t){return this.meta[typeof e=="string"?e:e.key]=t,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=ca,this}get scrolledIntoView(){return(this.updated&ca)>0}}function ua(n,e){return!e||!n?n:n.bind(e)}class gr{constructor(e,t,r){this.name=e,this.init=ua(t.init,r),this.apply=ua(t.apply,r)}}const Hg=[new gr("doc",{init(n){return n.doc||n.schema.topNodeType.createAndFill()},apply(n){return n.doc}}),new gr("selection",{init(n,e){return n.selection||W.atStart(e.doc)},apply(n){return n.selection}}),new gr("storedMarks",{init(n){return n.storedMarks||null},apply(n,e,t,r){return r.selection.$cursor?n.storedMarks:null}}),new gr("scrollToSelection",{init(){return 0},apply(n,e){return n.scrolledIntoView?e+1:e}})];class Ys{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Hg.slice(),t&&t.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new gr(r.key,r.spec.state,r))})}}class Vn{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let r=0;rr.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let i=e[r],s=i.spec.state;s&&s.toJSON&&(t[r]=s.toJSON.call(i,this[i.key]))}return t}static fromJSON(e,t,r){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new Ys(e.schema,e.plugins),s=new Vn(i);return i.fields.forEach(o=>{if(o.name=="doc")s.doc=ct.fromJSON(e.schema,t.doc);else if(o.name=="selection")s.selection=W.fromJSON(s.doc,t.selection);else if(o.name=="storedMarks")t.storedMarks&&(s.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let l in r){let a=r[l],c=a.spec.state;if(a.key==o.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(t,l)){s[o.name]=c.fromJSON.call(a,e,t[l],s);return}}s[o.name]=o.init(e,s)}}),s}}function mu(n,e,t){for(let r in n){let i=n[r];i instanceof Function?i=i.bind(e):r=="handleDOMEvents"&&(i=mu(i,e,{})),t[r]=i}return t}class ie{constructor(e){this.spec=e,this.props={},e.props&&mu(e.props,this,this.props),this.key=e.key?e.key.key:gu("plugin")}getState(e){return e[this.key]}}const Hs=Object.create(null);function gu(n){return n in Hs?n+"$"+ ++Hs[n]:(Hs[n]=0,n+"$")}class fe{constructor(e="key"){this.key=gu(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const Zo=(n,e)=>n.selection.empty?!1:(e&&e(n.tr.deleteSelection().scrollIntoView()),!0);function yu(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("backward",n):t.parentOffset>0)?null:t}const bu=(n,e,t)=>{let r=yu(n,t);if(!r)return!1;let i=el(r);if(!i){let o=r.blockRange(),l=o&&ir(o);return l==null?!1:(e&&e(n.tr.lift(o,l).scrollIntoView()),!0)}let s=i.nodeBefore;if(Au(n,i,e,-1))return!0;if(r.parent.content.size==0&&(qn(s,"end")||P.isSelectable(s)))for(let o=r.depth;;o--){let l=ys(n.doc,r.before(o),r.after(o),N.empty);if(l&&l.slice.size1)break}return s.isAtom&&i.depth==r.depth-1?(e&&e(n.tr.delete(i.pos-s.nodeSize,i.pos).scrollIntoView()),!0):!1},Vg=(n,e,t)=>{let r=yu(n,t);if(!r)return!1;let i=el(r);return i?xu(n,i,e):!1},jg=(n,e,t)=>{let r=wu(n,t);if(!r)return!1;let i=tl(r);return i?xu(n,i,e):!1};function xu(n,e,t){let r=e.nodeBefore,i=r,s=e.pos-1;for(;!i.isTextblock;s--){if(i.type.spec.isolating)return!1;let u=i.lastChild;if(!u)return!1;i=u}let o=e.nodeAfter,l=o,a=e.pos+1;for(;!l.isTextblock;a++){if(l.type.spec.isolating)return!1;let u=l.firstChild;if(!u)return!1;l=u}let c=ys(n.doc,s,a,N.empty);if(!c||c.from!=s||c instanceof ge&&c.slice.size>=a-s)return!1;if(t){let u=n.tr.step(c);u.setSelection($.create(u.doc,s)),t(u.scrollIntoView())}return!0}function qn(n,e,t=!1){for(let r=n;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(t&&r.childCount!=1)return!1}return!1}const ku=(n,e,t)=>{let{$head:r,empty:i}=n.selection,s=r;if(!i)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("backward",n):r.parentOffset>0)return!1;s=el(r)}let o=s&&s.nodeBefore;return!o||!P.isSelectable(o)?!1:(e&&e(n.tr.setSelection(P.create(n.doc,s.pos-o.nodeSize)).scrollIntoView()),!0)};function el(n){if(!n.parent.type.spec.isolating)for(let e=n.depth-1;e>=0;e--){if(n.index(e)>0)return n.doc.resolve(n.before(e+1));if(n.node(e).type.spec.isolating)break}return null}function wu(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("forward",n):t.parentOffset{let r=wu(n,t);if(!r)return!1;let i=tl(r);if(!i)return!1;let s=i.nodeAfter;if(Au(n,i,e,1))return!0;if(r.parent.content.size==0&&(qn(s,"start")||P.isSelectable(s))){let o=ys(n.doc,r.before(),r.after(),N.empty);if(o&&o.slice.size{let{$head:r,empty:i}=n.selection,s=r;if(!i)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("forward",n):r.parentOffset=0;e--){let t=n.node(e);if(n.index(e)+1{let t=n.selection,r=t instanceof P,i;if(r){if(t.node.isTextblock||!an(n.doc,t.from))return!1;i=t.from}else if(i=gs(n.doc,t.from,-1),i==null)return!1;if(e){let s=n.tr.join(i);r&&s.setSelection(P.create(s.doc,i-n.doc.resolve(i).nodeBefore.nodeSize)),e(s.scrollIntoView())}return!0},Wg=(n,e)=>{let t=n.selection,r;if(t instanceof P){if(t.node.isTextblock||!an(n.doc,t.to))return!1;r=t.to}else if(r=gs(n.doc,t.to,1),r==null)return!1;return e&&e(n.tr.join(r).scrollIntoView()),!0},Kg=(n,e)=>{let{$from:t,$to:r}=n.selection,i=t.blockRange(r),s=i&&ir(i);return s==null?!1:(e&&e(n.tr.lift(i,s).scrollIntoView()),!0)},Su=(n,e)=>{let{$head:t,$anchor:r}=n.selection;return!t.parent.type.spec.code||!t.sameParent(r)?!1:(e&&e(n.tr.insertText(` +`).scrollIntoView()),!0)};function nl(n){for(let e=0;e{let{$head:t,$anchor:r}=n.selection;if(!t.parent.type.spec.code||!t.sameParent(r))return!1;let i=t.node(-1),s=t.indexAfter(-1),o=nl(i.contentMatchAt(s));if(!o||!i.canReplaceWith(s,s,o))return!1;if(e){let l=t.after(),a=n.tr.replaceWith(l,l,o.createAndFill());a.setSelection(W.near(a.doc.resolve(l),1)),e(a.scrollIntoView())}return!0},Tu=(n,e)=>{let t=n.selection,{$from:r,$to:i}=t;if(t instanceof Ge||r.parent.inlineContent||i.parent.inlineContent)return!1;let s=nl(i.parent.contentMatchAt(i.indexAfter()));if(!s||!s.isTextblock)return!1;if(e){let o=(!r.parentOffset&&i.index(){let{$cursor:t}=n.selection;if(!t||t.parent.content.size)return!1;if(t.depth>1&&t.after()!=t.end(-1)){let s=t.before();if(Nt(n.doc,s))return e&&e(n.tr.split(s).scrollIntoView()),!0}let r=t.blockRange(),i=r&&ir(r);return i==null?!1:(e&&e(n.tr.lift(r,i).scrollIntoView()),!0)};function Jg(n){return(e,t)=>{let{$from:r,$to:i}=e.selection;if(e.selection instanceof P&&e.selection.node.isBlock)return!r.parentOffset||!Nt(e.doc,r.pos)?!1:(t&&t(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.depth)return!1;let s=[],o,l,a=!1,c=!1;for(let f=r.depth;;f--)if(r.node(f).isBlock){a=r.end(f)==r.pos+(r.depth-f),c=r.start(f)==r.pos-(r.depth-f),l=nl(r.node(f-1).contentMatchAt(r.indexAfter(f-1))),s.unshift(a&&l?{type:l}:null),o=f;break}else{if(f==1)return!1;s.unshift(null)}let u=e.tr;(e.selection instanceof $||e.selection instanceof Ge)&&u.deleteSelection();let d=u.mapping.map(r.pos),h=Nt(u.doc,d,s.length,s);if(h||(s[0]=l?{type:l}:null,h=Nt(u.doc,d,s.length,s)),!h)return!1;if(u.split(d,s.length,s),!a&&c&&r.node(o).type!=l){let f=u.mapping.map(r.before(o)),p=u.doc.resolve(f);l&&r.node(o-1).canReplaceWith(p.index(),p.index()+1,l)&&u.setNodeMarkup(u.mapping.map(r.before(o)),l)}return t&&t(u.scrollIntoView()),!0}}const Gg=Jg(),Xg=(n,e)=>{let{$from:t,to:r}=n.selection,i,s=t.sharedDepth(r);return s==0?!1:(i=t.before(s),e&&e(n.tr.setSelection(P.create(n.doc,i))),!0)};function Qg(n,e,t){let r=e.nodeBefore,i=e.nodeAfter,s=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(s-1,s)?(t&&t(n.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(s,s+1)||!(i.isTextblock||an(n.doc,e.pos))?!1:(t&&t(n.tr.join(e.pos).scrollIntoView()),!0)}function Au(n,e,t,r){let i=e.nodeBefore,s=e.nodeAfter,o,l,a=i.type.spec.isolating||s.type.spec.isolating;if(!a&&Qg(n,e,t))return!0;let c=!a&&e.parent.canReplace(e.index(),e.index()+1);if(c&&(o=(l=i.contentMatchAt(i.childCount)).findWrapping(s.type))&&l.matchType(o[0]||s.type).validEnd){if(t){let f=e.pos+s.nodeSize,p=C.empty;for(let y=o.length-1;y>=0;y--)p=C.from(o[y].create(null,p));p=C.from(i.copy(p));let m=n.tr.step(new be(e.pos-1,f,e.pos,f,new N(p,1,0),o.length,!0)),g=m.doc.resolve(f+2*o.length);g.nodeAfter&&g.nodeAfter.type==i.type&&an(m.doc,g.pos)&&m.join(g.pos),t(m.scrollIntoView())}return!0}let u=s.type.spec.isolating||r>0&&a?null:W.findFrom(e,1),d=u&&u.$from.blockRange(u.$to),h=d&&ir(d);if(h!=null&&h>=e.depth)return t&&t(n.tr.lift(d,h).scrollIntoView()),!0;if(c&&qn(s,"start",!0)&&qn(i,"end")){let f=i,p=[];for(;p.push(f),!f.isTextblock;)f=f.lastChild;let m=s,g=1;for(;!m.isTextblock;m=m.firstChild)g++;if(f.canReplace(f.childCount,f.childCount,m.content)){if(t){let y=C.empty;for(let x=p.length-1;x>=0;x--)y=C.from(p[x].copy(y));let k=n.tr.step(new be(e.pos-p.length,e.pos+s.nodeSize,e.pos+g,e.pos+s.nodeSize-g,new N(y,p.length,0),0,!0));t(k.scrollIntoView())}return!0}}return!1}function Eu(n){return function(e,t){let r=e.selection,i=n<0?r.$from:r.$to,s=i.depth;for(;i.node(s).isInline;){if(!s)return!1;s--}return i.node(s).isTextblock?(t&&t(e.tr.setSelection($.create(e.doc,n<0?i.start(s):i.end(s)))),!0):!1}}const Zg=Eu(-1),ey=Eu(1);function ty(n,e=null){return function(t,r){let{$from:i,$to:s}=t.selection,o=i.blockRange(s),l=o&&Xo(o,n,e);return l?(r&&r(t.tr.wrap(o,l).scrollIntoView()),!0):!1}}function da(n,e=null){return function(t,r){let i=!1;for(let s=0;s{if(i)return!1;if(!(!a.isTextblock||a.hasMarkup(n,e)))if(a.type==n)i=!0;else{let u=t.doc.resolve(c),d=u.index();i=u.parent.canReplaceWith(d,d+1,n)}})}if(!i)return!1;if(r){let s=t.tr;for(let o=0;o=2&&e.$from.node(e.depth-1).type.compatibleContent(t)&&e.startIndex==0){if(e.$from.index(e.depth-1)==0)return!1;let a=o.resolve(e.start-2);s=new Ai(a,a,e.depth),e.endIndex=0;u--)s=C.from(t[u].type.create(t[u].attrs,s));n.step(new be(e.start-(r?2:0),e.end,e.start,e.end,new N(s,0,0),t.length,!0));let o=0;for(let u=0;uo.childCount>0&&o.firstChild.type==n);return s?t?r.node(s.depth-1).type==n?oy(e,t,n,s):ly(e,t,s):!0:!1}}function oy(n,e,t,r){let i=n.tr,s=r.end,o=r.$to.end(r.depth);sm;p--)f-=i.child(p).nodeSize,r.delete(f-1,f+1);let s=r.doc.resolve(t.start),o=s.nodeAfter;if(r.mapping.map(t.end)!=t.start+s.nodeAfter.nodeSize)return!1;let l=t.startIndex==0,a=t.endIndex==i.childCount,c=s.node(-1),u=s.index(-1);if(!c.canReplace(u+(l?0:1),u+1,o.content.append(a?C.empty:C.from(i))))return!1;let d=s.pos,h=d+o.nodeSize;return r.step(new be(d-(l?1:0),h+(a?1:0),d+1,h-1,new N((l?C.empty:C.from(i.copy(C.empty))).append(a?C.empty:C.from(i.copy(C.empty))),l?0:1,a?0:1),l?0:1)),e(r.scrollIntoView()),!0}function ay(n){return function(e,t){let{$from:r,$to:i}=e.selection,s=r.blockRange(i,c=>c.childCount>0&&c.firstChild.type==n);if(!s)return!1;let o=s.startIndex;if(o==0)return!1;let l=s.parent,a=l.child(o-1);if(a.type!=n)return!1;if(t){let c=a.lastChild&&a.lastChild.type==l.type,u=C.from(c?n.create():null),d=new N(C.from(n.create(null,C.from(l.type.create(null,u)))),c?3:1,0),h=s.start,f=s.end;t(e.tr.step(new be(h-(c?3:1),f,h,f,d,1,!0)).scrollIntoView())}return!0}}const ve=function(n){for(var e=0;;e++)if(n=n.previousSibling,!n)return e},Jn=function(n){let e=n.assignedSlot||n.parentNode;return e&&e.nodeType==11?e.host:e};let yo=null;const At=function(n,e,t){let r=yo||(yo=document.createRange());return r.setEnd(n,t??n.nodeValue.length),r.setStart(n,e||0),r},cy=function(){yo=null},On=function(n,e,t,r){return t&&(ha(n,e,t,r,-1)||ha(n,e,t,r,1))},uy=/^(img|br|input|textarea|hr)$/i;function ha(n,e,t,r,i){for(var s;;){if(n==t&&e==r)return!0;if(e==(i<0?0:et(n))){let o=n.parentNode;if(!o||o.nodeType!=1||Wr(n)||uy.test(n.nodeName)||n.contentEditable=="false")return!1;e=ve(n)+(i<0?0:1),n=o}else if(n.nodeType==1){let o=n.childNodes[e+(i<0?-1:0)];if(o.nodeType==1&&o.contentEditable=="false")if(!((s=o.pmViewDesc)===null||s===void 0)&&s.ignoreForSelection)e+=i;else return!1;else n=o,e=i<0?et(n):0}else return!1}}function et(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function dy(n,e){for(;;){if(n.nodeType==3&&e)return n;if(n.nodeType==1&&e>0){if(n.contentEditable=="false")return null;n=n.childNodes[e-1],e=et(n)}else if(n.parentNode&&!Wr(n))e=ve(n),n=n.parentNode;else return null}}function hy(n,e){for(;;){if(n.nodeType==3&&e2),Ze=Gn||(xt?/Mac/.test(xt.platform):!1),Nu=xt?/Win/.test(xt.platform):!1,Ot=/Android \d/.test(cn),Kr=!!fa&&"webkitFontSmoothing"in fa.documentElement.style,gy=Kr?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function yy(n){let e=n.defaultView&&n.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:n.documentElement.clientWidth,top:0,bottom:n.documentElement.clientHeight}}function Ct(n,e){return typeof n=="number"?n:n[e]}function by(n){let e=n.getBoundingClientRect(),t=e.width/n.offsetWidth||1,r=e.height/n.offsetHeight||1;return{left:e.left,right:e.left+n.clientWidth*t,top:e.top,bottom:e.top+n.clientHeight*r}}function pa(n,e,t){let r=n.someProp("scrollThreshold")||0,i=n.someProp("scrollMargin")||5,s=n.dom.ownerDocument;for(let o=t||n.dom;o;){if(o.nodeType!=1){o=Jn(o);continue}let l=o,a=l==s.body,c=a?yy(s):by(l),u=0,d=0;if(e.topc.bottom-Ct(r,"bottom")&&(d=e.bottom-e.top>c.bottom-c.top?e.top+Ct(i,"top")-c.top:e.bottom-c.bottom+Ct(i,"bottom")),e.leftc.right-Ct(r,"right")&&(u=e.right-c.right+Ct(i,"right")),u||d)if(a)s.defaultView.scrollBy(u,d);else{let f=l.scrollLeft,p=l.scrollTop;d&&(l.scrollTop+=d),u&&(l.scrollLeft+=u);let m=l.scrollLeft-f,g=l.scrollTop-p;e={left:e.left-m,top:e.top-g,right:e.right-m,bottom:e.bottom-g}}let h=a?"fixed":getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(h))break;o=h=="absolute"?o.offsetParent:Jn(o)}}function xy(n){let e=n.dom.getBoundingClientRect(),t=Math.max(0,e.top),r,i;for(let s=(e.left+e.right)/2,o=t+1;o=t-20){r=l,i=a.top;break}}return{refDOM:r,refTop:i,stack:Iu(n.dom)}}function Iu(n){let e=[],t=n.ownerDocument;for(let r=n;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),n!=t);r=Jn(r));return e}function ky({refDOM:n,refTop:e,stack:t}){let r=n?n.getBoundingClientRect().top:0;_u(t,r==0?0:r-e)}function _u(n,e){for(let t=0;t=l){o=Math.max(p.bottom,o),l=Math.min(p.top,l);let m=p.left>e.left?p.left-e.left:p.right=(p.left+p.right)/2?1:0));continue}}else p.top>e.top&&!a&&p.left<=e.left&&p.right>=e.left&&(a=u,c={left:Math.max(p.left,Math.min(p.right,e.left)),top:p.top});!t&&(e.left>=p.right&&e.top>=p.top||e.left>=p.left&&e.top>=p.bottom)&&(s=d+1)}}return!t&&a&&(t=a,i=c,r=0),t&&t.nodeType==3?vy(t,i):!t||r&&t.nodeType==1?{node:n,offset:s}:Lu(t,i)}function vy(n,e){let t=n.nodeValue.length,r=document.createRange(),i;for(let s=0;s=(o.left+o.right)/2?1:0)};break}}return r.detach(),i||{node:n,offset:0}}function il(n,e){return n.left>=e.left-1&&n.left<=e.right+1&&n.top>=e.top-1&&n.top<=e.bottom+1}function Cy(n,e){let t=n.parentNode;return t&&/^li$/i.test(t.nodeName)&&e.left(o.left+o.right)/2?1:-1}return n.docView.posFromDOM(r,i,s)}function Ty(n,e,t,r){let i=-1;for(let s=e,o=!1;s!=n.dom;){let l=n.docView.nearestDesc(s,!0),a;if(!l)return null;if(l.dom.nodeType==1&&(l.node.isBlock&&l.parent||!l.contentDOM)&&((a=l.dom.getBoundingClientRect()).width||a.height)&&(l.node.isBlock&&l.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(l.dom.nodeName)&&(!o&&a.left>r.left||a.top>r.top?i=l.posBefore:(!o&&a.right-1?i:n.docView.posFromDOM(e,t,-1)}function Ru(n,e,t){let r=n.childNodes.length;if(r&&t.tope.top&&i++}let c;Kr&&i&&r.nodeType==1&&(c=r.childNodes[i-1]).nodeType==1&&c.contentEditable=="false"&&c.getBoundingClientRect().top>=e.top&&i--,r==n.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?l=n.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(l=Ty(n,r,i,e))}l==null&&(l=Sy(n,o,e));let a=n.docView.nearestDesc(o,!0);return{pos:l,inside:a?a.posAtStart-a.border:-1}}function ma(n){return n.top=0&&i==r.nodeValue.length?(a--,u=1):t<0?a--:c++,or(Yt(At(r,a,c),u),u<0)}if(!n.state.doc.resolve(e-(s||0)).parent.inlineContent){if(s==null&&i&&(t<0||i==et(r))){let a=r.childNodes[i-1];if(a.nodeType==1)return Vs(a.getBoundingClientRect(),!1)}if(s==null&&i=0)}if(s==null&&i&&(t<0||i==et(r))){let a=r.childNodes[i-1],c=a.nodeType==3?At(a,et(a)-(o?0:1)):a.nodeType==1&&(a.nodeName!="BR"||!a.nextSibling)?a:null;if(c)return or(Yt(c,1),!1)}if(s==null&&i=0)}function or(n,e){if(n.width==0)return n;let t=e?n.left:n.right;return{top:n.top,bottom:n.bottom,left:t,right:t}}function Vs(n,e){if(n.height==0)return n;let t=e?n.top:n.bottom;return{top:t,bottom:t,left:n.left,right:n.right}}function Bu(n,e,t){let r=n.state,i=n.root.activeElement;r!=e&&n.updateState(e),i!=n.dom&&n.focus();try{return t()}finally{r!=e&&n.updateState(r),i!=n.dom&&i&&i.focus()}}function Ey(n,e,t){let r=e.selection,i=t=="up"?r.$from:r.$to;return Bu(n,e,()=>{let{node:s}=n.docView.domFromPos(i.pos,t=="up"?-1:1);for(;;){let l=n.docView.nearestDesc(s,!0);if(!l)break;if(l.node.isBlock){s=l.contentDOM||l.dom;break}s=l.dom.parentNode}let o=Pu(n,i.pos,1);for(let l=s.firstChild;l;l=l.nextSibling){let a;if(l.nodeType==1)a=l.getClientRects();else if(l.nodeType==3)a=At(l,0,l.nodeValue.length).getClientRects();else continue;for(let c=0;cu.top+1&&(t=="up"?o.top-u.top>(u.bottom-o.top)*2:u.bottom-o.bottom>(o.bottom-u.top)*2))return!1}}return!0})}const Dy=/[\u0590-\u08ac]/;function Oy(n,e,t){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,s=!i,o=i==r.parent.content.size,l=n.domSelection();return l?!Dy.test(r.parent.textContent)||!l.modify?t=="left"||t=="backward"?s:o:Bu(n,e,()=>{let{focusNode:a,focusOffset:c,anchorNode:u,anchorOffset:d}=n.domSelectionRange(),h=l.caretBidiLevel;l.modify("move",t,"character");let f=r.depth?n.docView.domAfterPos(r.before()):n.dom,{focusNode:p,focusOffset:m}=n.domSelectionRange(),g=p&&!f.contains(p.nodeType==1?p:p.parentNode)||a==p&&c==m;try{l.collapse(u,d),a&&(a!=u||c!=d)&&l.extend&&l.extend(a,c)}catch{}return h!=null&&(l.caretBidiLevel=h),g}):r.pos==r.start()||r.pos==r.end()}let ga=null,ya=null,ba=!1;function Ny(n,e,t){return ga==e&&ya==t?ba:(ga=e,ya=t,ba=t=="up"||t=="down"?Ey(n,e,t):Oy(n,e,t))}const rt=0,xa=1,pn=2,kt=3;class qr{constructor(e,t,r,i){this.parent=e,this.children=t,this.dom=r,this.contentDOM=i,this.dirty=rt,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;tve(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(t==0)for(let s=e;;s=s.parentNode){if(s==this.dom){i=!1;break}if(s.previousSibling)break}if(i==null&&t==e.childNodes.length)for(let s=e;;s=s.parentNode){if(s==this.dom){i=!0;break}if(s.nextSibling)break}}return i??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let r=!0,i=e;i;i=i.parentNode){let s=this.getDesc(i),o;if(s&&(!t||s.node))if(r&&(o=s.nodeDOM)&&!(o.nodeType==1?o.contains(e.nodeType==1?e:e.parentNode):o==e))r=!1;else return s}}getDesc(e){let t=e.pmViewDesc;for(let r=t;r;r=r.parent)if(r==this)return t}posFromDOM(e,t,r){for(let i=e;i;i=i.parentNode){let s=this.getDesc(i);if(s)return s.localPosFromDOM(e,t,r)}return-1}descAt(e){for(let t=0,r=0;te||o instanceof $u){i=e-s;break}s=l}if(i)return this.children[r].domFromPos(i-this.children[r].border,t);for(let s;r&&!(s=this.children[r-1]).size&&s instanceof zu&&s.side>=0;r--);if(t<=0){let s,o=!0;for(;s=r?this.children[r-1]:null,!(!s||s.dom.parentNode==this.contentDOM);r--,o=!1);return s&&t&&o&&!s.border&&!s.domAtom?s.domFromPos(s.size,t):{node:this.contentDOM,offset:s?ve(s.dom)+1:0}}else{let s,o=!0;for(;s=r=u&&t<=c-a.border&&a.node&&a.contentDOM&&this.contentDOM.contains(a.contentDOM))return a.parseRange(e,t,u);e=o;for(let d=l;d>0;d--){let h=this.children[d-1];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(1)){i=ve(h.dom)+1;break}e-=h.size}i==-1&&(i=0)}if(i>-1&&(c>t||l==this.children.length-1)){t=c;for(let u=l+1;up&&ot){let p=l;l=a,a=p}let f=document.createRange();f.setEnd(a.node,a.offset),f.setStart(l.node,l.offset),c.removeAllRanges(),c.addRange(f)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let r=0,i=0;i=r:er){let l=r+s.border,a=o-s.border;if(e>=l&&t<=a){this.dirty=e==r||t==o?pn:xa,e==l&&t==a&&(s.contentLost||s.dom.parentNode!=this.contentDOM)?s.dirty=kt:s.markDirty(e-l,t-l);return}else s.dirty=s.dom==s.contentDOM&&s.dom.parentNode==this.contentDOM&&!s.children.length?pn:kt}r=o}this.dirty=pn}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let r=e==1?pn:xa;t.dirty{if(!s)return i;if(s.parent)return s.parent.posBeforeChild(s)})),!t.type.spec.raw){if(o.nodeType!=1){let l=document.createElement("span");l.appendChild(o),o=l}o.contentEditable="false",o.classList.add("ProseMirror-widget")}super(e,[],o,null),this.widget=t,this.widget=t,s=this}matchesWidget(e){return this.dirty==rt&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return t?t(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class Iy extends qr{constructor(e,t,r,i){super(e,[],t,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class Nn extends qr{constructor(e,t,r,i,s){super(e,[],r,i),this.mark=t,this.spec=s}static create(e,t,r,i){let s=i.nodeViews[t.type.name],o=s&&s(t,i,r);return(!o||!o.dom)&&(o=Rn.renderSpec(document,t.type.spec.toDOM(t,r),null,t.attrs)),new Nn(e,t,o.dom,o.contentDOM||o.dom,o)}parseRule(){return this.dirty&kt||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=kt&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=rt){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(s=vo(s,0,e,r));for(let l=0;l{if(!a)return o;if(a.parent)return a.parent.posBeforeChild(a)},r,i),u=c&&c.dom,d=c&&c.contentDOM;if(t.isText){if(!u)u=document.createTextNode(t.text);else if(u.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else u||({dom:u,contentDOM:d}=Rn.renderSpec(document,t.type.spec.toDOM(t),null,t.attrs));!d&&!t.isText&&u.nodeName!="BR"&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),t.type.spec.draggable&&(u.draggable=!0));let h=u;return u=Hu(u,r,t),c?a=new _y(e,t,r,i,u,d||null,h,c,s,o+1):t.isText?new ks(e,t,r,i,u,h,s):new en(e,t,r,i,u,d||null,h,s,o+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let t=this.children.length-1;t>=0;t--){let r=this.children[t];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>C.empty)}return e}matchesNode(e,t,r){return this.dirty==rt&&e.eq(this.node)&&Di(t,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,t){let r=this.node.inlineContent,i=t,s=e.composing?this.localCompositionInfo(e,t):null,o=s&&s.pos>-1?s:null,l=s&&s.pos<0,a=new Ry(this,o&&o.node,e);zy(this.node,this.innerDeco,(c,u,d)=>{c.spec.marks?a.syncToMarks(c.spec.marks,r,e,u):c.type.side>=0&&!d&&a.syncToMarks(u==this.node.childCount?Z.none:this.node.child(u).marks,r,e,u),a.placeWidget(c,e,i)},(c,u,d,h)=>{a.syncToMarks(c.marks,r,e,h);let f;a.findNodeMatch(c,u,d,h)||l&&e.state.selection.from>i&&e.state.selection.to-1&&a.updateNodeAt(c,u,d,f,e)||a.updateNextNode(c,u,d,e,h,i)||a.addNode(c,u,d,e,i),i+=c.nodeSize}),a.syncToMarks([],r,e,0),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||this.dirty==pn)&&(o&&this.protectLocalComposition(e,o),Fu(this.contentDOM,this.children,e),Gn&&$y(this.dom))}localCompositionInfo(e,t){let{from:r,to:i}=e.state.selection;if(!(e.state.selection instanceof $)||rt+this.node.content.size)return null;let s=e.input.compositionNode;if(!s||!this.dom.contains(s.parentNode))return null;if(this.node.inlineContent){let o=s.nodeValue,l=Fy(this.node.content,o,r-t,i-t);return l<0?null:{node:s,pos:l,text:o}}else return{node:s,pos:-1,text:""}}protectLocalComposition(e,{node:t,pos:r,text:i}){if(this.getDesc(t))return;let s=t;for(;s.parentNode!=this.contentDOM;s=s.parentNode){for(;s.previousSibling;)s.parentNode.removeChild(s.previousSibling);for(;s.nextSibling;)s.parentNode.removeChild(s.nextSibling);s.pmViewDesc&&(s.pmViewDesc=void 0)}let o=new Iy(this,s,t,i);e.input.compositionNodes.push(o),this.children=vo(this.children,r,r+i.length,e,o)}update(e,t,r,i){return this.dirty==kt||!e.sameMarkup(this.node)?!1:(this.updateInner(e,t,r,i),!0)}updateInner(e,t,r,i){this.updateOuterDeco(t),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=rt}updateOuterDeco(e){if(Di(e,this.outerDeco))return;let t=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=Yu(this.dom,this.nodeDOM,wo(this.outerDeco,this.node,t),wo(e,this.node,t)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.nodeDOM.draggable=!0))}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.nodeDOM.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function ka(n,e,t,r,i){Hu(r,e,n);let s=new en(void 0,n,e,t,r,r,r,i,0);return s.contentDOM&&s.updateChildren(i,0),s}class ks extends en{constructor(e,t,r,i,s,o,l){super(e,t,r,i,s,null,o,l,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,r,i){return this.dirty==kt||this.dirty!=rt&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(t),(this.dirty!=rt||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=e,this.dirty=rt,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,r){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,t,r){let i=this.node.cut(e,t),s=document.createTextNode(i.text);return new ks(this.parent,i,this.outerDeco,this.innerDeco,s,s,r)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(e==0||t==this.nodeDOM.nodeValue.length)&&(this.dirty=kt)}get domAtom(){return!1}isText(e){return this.node.text==e}}class $u extends qr{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==rt&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class _y extends en{constructor(e,t,r,i,s,o,l,a,c,u){super(e,t,r,i,s,o,l,c,u),this.spec=a}update(e,t,r,i){if(this.dirty==kt)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let s=this.spec.update(e,t,r);return s&&this.updateInner(e,t,r,i),s}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,t,r,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,r,i){this.spec.setSelection?this.spec.setSelection(e,t,r.root):super.setSelection(e,t,r,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function Fu(n,e,t){let r=n.firstChild,i=!1;for(let s=0;s>1,l=Math.min(o,e.length);for(;s-1)a>this.index&&(this.changed=!0,this.destroyBetween(this.index,a)),this.top=this.top.children[this.index];else{let u=Nn.create(this.top,e[o],t,r);this.top.children.splice(this.index,0,u),this.top=u,this.changed=!0}this.index=0,o++}}findNodeMatch(e,t,r,i){let s=-1,o;if(i>=this.preMatch.index&&(o=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&o.matchesNode(e,t,r))s=this.top.children.indexOf(o,this.index);else for(let l=this.index,a=Math.min(this.top.children.length,l+5);l0;){let l;for(;;)if(r){let c=t.children[r-1];if(c instanceof Nn)t=c,r=c.children.length;else{l=c,r--;break}}else{if(t==e)break e;r=t.parent.children.indexOf(t),t=t.parent}let a=l.node;if(a){if(a!=n.child(i-1))break;--i,s.set(l,i),o.push(l)}}return{index:i,matched:s,matches:o.reverse()}}function By(n,e){return n.type.side-e.type.side}function zy(n,e,t,r){let i=e.locals(n),s=0;if(i.length==0){for(let c=0;cs;)l.push(i[o++]);let p=s+h.nodeSize;if(h.isText){let g=p;o!g.inline):l.slice();r(h,m,e.forChild(s,h),f),s=p}}function $y(n){if(n.nodeName=="UL"||n.nodeName=="OL"){let e=n.style.cssText;n.style.cssText=e+"; list-style: square !important",window.getComputedStyle(n).listStyle,n.style.cssText=e}}function Fy(n,e,t,r){for(let i=0,s=0;i=t){if(s>=r&&a.slice(r-e.length-l,r-l)==e)return r-e.length;let c=l=0&&c+e.length+l>=t)return l+c;if(t==r&&a.length>=r+e.length-l&&a.slice(r-l,r-l+e.length)==e)return r}}return-1}function vo(n,e,t,r,i){let s=[];for(let o=0,l=0;o=t||u<=e?s.push(a):(ct&&s.push(a.slice(t-c,a.size,r)))}return s}function sl(n,e=null){let t=n.domSelectionRange(),r=n.state.doc;if(!t.focusNode)return null;let i=n.docView.nearestDesc(t.focusNode),s=i&&i.size==0,o=n.docView.posFromDOM(t.focusNode,t.focusOffset,1);if(o<0)return null;let l=r.resolve(o),a,c;if(xs(t)){for(a=o;i&&!i.node;)i=i.parent;let d=i.node;if(i&&d.isAtom&&P.isSelectable(d)&&i.parent&&!(d.isInline&&fy(t.focusNode,t.focusOffset,i.dom))){let h=i.posBefore;c=new P(o==h?l:r.resolve(h))}}else{if(t instanceof n.dom.ownerDocument.defaultView.Selection&&t.rangeCount>1){let d=o,h=o;for(let f=0;f{(t.anchorNode!=r||t.anchorOffset!=i)&&(e.removeEventListener("selectionchange",n.input.hideSelectionGuard),setTimeout(()=>{(!Vu(n)||n.state.selection.visible)&&n.dom.classList.remove("ProseMirror-hideselection")},20))})}function Hy(n){let e=n.domSelection();if(!e)return;let t=n.cursorWrapper.dom,r=t.nodeName=="IMG";r?e.collapse(t.parentNode,ve(t)+1):e.collapse(t,0),!r&&!n.state.selection.visible&&He&&Zt<=11&&(t.disabled=!0,t.disabled=!1)}function ju(n,e){if(e instanceof P){let t=n.docView.descAt(e.from);t!=n.lastSelectedViewDesc&&(Ta(n),t&&t.selectNode(),n.lastSelectedViewDesc=t)}else Ta(n)}function Ta(n){n.lastSelectedViewDesc&&(n.lastSelectedViewDesc.parent&&n.lastSelectedViewDesc.deselectNode(),n.lastSelectedViewDesc=void 0)}function ol(n,e,t,r){return n.someProp("createSelectionBetween",i=>i(n,e,t))||$.between(e,t,r)}function Ma(n){return n.editable&&!n.hasFocus()?!1:Uu(n)}function Uu(n){let e=n.domSelectionRange();if(!e.anchorNode)return!1;try{return n.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(n.editable||n.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function Vy(n){let e=n.docView.domFromPos(n.state.selection.anchor,0),t=n.domSelectionRange();return On(e.node,e.offset,t.anchorNode,t.anchorOffset)}function Co(n,e){let{$anchor:t,$head:r}=n.selection,i=e>0?t.max(r):t.min(r),s=i.parent.inlineContent?i.depth?n.doc.resolve(e>0?i.after():i.before()):null:i;return s&&W.findFrom(s,e)}function Ht(n,e){return n.dispatch(n.state.tr.setSelection(e).scrollIntoView()),!0}function Aa(n,e,t){let r=n.state.selection;if(r instanceof $)if(t.indexOf("s")>-1){let{$head:i}=r,s=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter;if(!s||s.isText||!s.isLeaf)return!1;let o=n.state.doc.resolve(i.pos+s.nodeSize*(e<0?-1:1));return Ht(n,new $(r.$anchor,o))}else if(r.empty){if(n.endOfTextblock(e>0?"forward":"backward")){let i=Co(n.state,e);return i&&i instanceof P?Ht(n,i):!1}else if(!(Ze&&t.indexOf("m")>-1)){let i=r.$head,s=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter,o;if(!s||s.isText)return!1;let l=e<0?i.pos-s.nodeSize:i.pos;return s.isAtom||(o=n.docView.descAt(l))&&!o.contentDOM?P.isSelectable(s)?Ht(n,new P(e<0?n.state.doc.resolve(i.pos-s.nodeSize):i)):Kr?Ht(n,new $(n.state.doc.resolve(e<0?l:l+s.nodeSize))):!1:!1}}else return!1;else{if(r instanceof P&&r.node.isInline)return Ht(n,new $(e>0?r.$to:r.$from));{let i=Co(n.state,e);return i?Ht(n,i):!1}}}function Oi(n){return n.nodeType==3?n.nodeValue.length:n.childNodes.length}function vr(n,e){let t=n.pmViewDesc;return t&&t.size==0&&(e<0||n.nextSibling||n.nodeName!="BR")}function $n(n,e){return e<0?jy(n):Uy(n)}function jy(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let i,s,o=!1;for(nt&&t.nodeType==1&&r0){if(t.nodeType!=1)break;{let l=t.childNodes[r-1];if(vr(l,-1))i=t,s=--r;else if(l.nodeType==3)t=l,r=t.nodeValue.length;else break}}else{if(Wu(t))break;{let l=t.previousSibling;for(;l&&vr(l,-1);)i=t.parentNode,s=ve(l),l=l.previousSibling;if(l)t=l,r=Oi(t);else{if(t=t.parentNode,t==n.dom)break;r=0}}}o?So(n,t,r):i&&So(n,i,s)}function Uy(n){let e=n.domSelectionRange(),t=e.focusNode,r=e.focusOffset;if(!t)return;let i=Oi(t),s,o;for(;;)if(r{n.state==i&&It(n)},50)}function Ea(n,e){let t=n.state.doc.resolve(e);if(!(Ce||Nu)&&t.parent.inlineContent){let i=n.coordsAtPos(e);if(e>t.start()){let s=n.coordsAtPos(e-1),o=(s.top+s.bottom)/2;if(o>i.top&&o1)return s.lefti.top&&o1)return s.left>i.left?"ltr":"rtl"}}return getComputedStyle(n.dom).direction=="rtl"?"rtl":"ltr"}function Da(n,e,t){let r=n.state.selection;if(r instanceof $&&!r.empty||t.indexOf("s")>-1||Ze&&t.indexOf("m")>-1)return!1;let{$from:i,$to:s}=r;if(!i.parent.inlineContent||n.endOfTextblock(e<0?"up":"down")){let o=Co(n.state,e);if(o&&o instanceof P)return Ht(n,o)}if(!i.parent.inlineContent){let o=e<0?i:s,l=r instanceof Ge?W.near(o,e):W.findFrom(o,e);return l?Ht(n,l):!1}return!1}function Oa(n,e){if(!(n.state.selection instanceof $))return!0;let{$head:t,$anchor:r,empty:i}=n.state.selection;if(!t.sameParent(r))return!0;if(!i)return!1;if(n.endOfTextblock(e>0?"forward":"backward"))return!0;let s=!t.textOffset&&(e<0?t.nodeBefore:t.nodeAfter);if(s&&!s.isText){let o=n.state.tr;return e<0?o.delete(t.pos-s.nodeSize,t.pos):o.delete(t.pos,t.pos+s.nodeSize),n.dispatch(o),!0}return!1}function Na(n,e,t){n.domObserver.stop(),e.contentEditable=t,n.domObserver.start()}function qy(n){if(!Ne||n.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:t}=n.domSelectionRange();if(e&&e.nodeType==1&&t==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;Na(n,r,"true"),setTimeout(()=>Na(n,r,"false"),20)}return!1}function Jy(n){let e="";return n.ctrlKey&&(e+="c"),n.metaKey&&(e+="m"),n.altKey&&(e+="a"),n.shiftKey&&(e+="s"),e}function Gy(n,e){let t=e.keyCode,r=Jy(e);if(t==8||Ze&&t==72&&r=="c")return Oa(n,-1)||$n(n,-1);if(t==46&&!e.shiftKey||Ze&&t==68&&r=="c")return Oa(n,1)||$n(n,1);if(t==13||t==27)return!0;if(t==37||Ze&&t==66&&r=="c"){let i=t==37?Ea(n,n.state.selection.from)=="ltr"?-1:1:-1;return Aa(n,i,r)||$n(n,i)}else if(t==39||Ze&&t==70&&r=="c"){let i=t==39?Ea(n,n.state.selection.from)=="ltr"?1:-1:1;return Aa(n,i,r)||$n(n,i)}else{if(t==38||Ze&&t==80&&r=="c")return Da(n,-1,r)||$n(n,-1);if(t==40||Ze&&t==78&&r=="c")return qy(n)||Da(n,1,r)||$n(n,1);if(r==(Ze?"m":"c")&&(t==66||t==73||t==89||t==90))return!0}return!1}function ll(n,e){n.someProp("transformCopied",f=>{e=f(e,n)});let t=[],{content:r,openStart:i,openEnd:s}=e;for(;i>1&&s>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,s--;let f=r.firstChild;t.push(f.type.name,f.attrs!=f.type.defaultAttrs?f.attrs:null),r=f.content}let o=n.someProp("clipboardSerializer")||Rn.fromSchema(n.state.schema),l=Qu(),a=l.createElement("div");a.appendChild(o.serializeFragment(r,{document:l}));let c=a.firstChild,u,d=0;for(;c&&c.nodeType==1&&(u=Xu[c.nodeName.toLowerCase()]);){for(let f=u.length-1;f>=0;f--){let p=l.createElement(u[f]);for(;a.firstChild;)p.appendChild(a.firstChild);a.appendChild(p),d++}c=a.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${i} ${s}${d?` -${d}`:""} ${JSON.stringify(t)}`);let h=n.someProp("clipboardTextSerializer",f=>f(e,n))||e.content.textBetween(0,e.content.size,` + +`);return{dom:a,text:h,slice:e}}function Ku(n,e,t,r,i){let s=i.parent.type.spec.code,o,l;if(!t&&!e)return null;let a=!!e&&(r||s||!t);if(a){if(n.someProp("transformPastedText",h=>{e=h(e,s||r,n)}),s)return l=new N(C.from(n.state.schema.text(e.replace(/\r\n?/g,` +`))),0,0),n.someProp("transformPasted",h=>{l=h(l,n,!0)}),l;let d=n.someProp("clipboardTextParser",h=>h(e,i,r,n));if(d)l=d;else{let h=i.marks(),{schema:f}=n.state,p=Rn.fromSchema(f);o=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(m=>{let g=o.appendChild(document.createElement("p"));m&&g.appendChild(p.serializeNode(f.text(m,h)))})}}else n.someProp("transformPastedHTML",d=>{t=d(t,n)}),o=e0(t),Kr&&t0(o);let c=o&&o.querySelector("[data-pm-slice]"),u=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let d=+u[3];d>0;d--){let h=o.firstChild;for(;h&&h.nodeType!=1;)h=h.nextSibling;if(!h)break;o=h}if(l||(l=(n.someProp("clipboardParser")||n.someProp("domParser")||Qt.fromSchema(n.state.schema)).parseSlice(o,{preserveWhitespace:!!(a||u),context:i,ruleFromNode(h){return h.nodeName=="BR"&&!h.nextSibling&&h.parentNode&&!Xy.test(h.parentNode.nodeName)?{ignore:!0}:null}})),u)l=n0(Ia(l,+u[1],+u[2]),u[4]);else if(l=N.maxOpen(Qy(l.content,i),!0),l.openStart||l.openEnd){let d=0,h=0;for(let f=l.content.firstChild;d{l=d(l,n,a)}),l}const Xy=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function Qy(n,e){if(n.childCount<2)return n;for(let t=e.depth;t>=0;t--){let i=e.node(t).contentMatchAt(e.index(t)),s,o=[];if(n.forEach(l=>{if(!o)return;let a=i.findWrapping(l.type),c;if(!a)return o=null;if(c=o.length&&s.length&&Ju(a,s,l,o[o.length-1],0))o[o.length-1]=c;else{o.length&&(o[o.length-1]=Gu(o[o.length-1],s.length));let u=qu(l,a);o.push(u),i=i.matchType(u.type),s=a}}),o)return C.from(o)}return n}function qu(n,e,t=0){for(let r=e.length-1;r>=t;r--)n=e[r].create(null,C.from(n));return n}function Ju(n,e,t,r,i){if(i1&&(s=0),i=t&&(l=e<0?o.contentMatchAt(0).fillBefore(l,s<=i).append(l):l.append(o.contentMatchAt(o.childCount).fillBefore(C.empty,!0))),n.replaceChild(e<0?0:n.childCount-1,o.copy(l))}function Ia(n,e,t){return et})),Us.createHTML(n)):n}function e0(n){let e=/^(\s*]*>)*/.exec(n);e&&(n=n.slice(e[0].length));let t=Qu().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(n),i;if((i=r&&Xu[r[1].toLowerCase()])&&(n=i.map(s=>"<"+s+">").join("")+n+i.map(s=>"").reverse().join("")),t.innerHTML=Zy(n),i)for(let s=0;s=0;l-=2){let a=t.nodes[r[l]];if(!a||a.hasRequiredAttrs())break;i=C.from(a.create(r[l+1],i)),s++,o++}return new N(i,s,o)}const Pe={},Be={},r0={touchstart:!0,touchmove:!0};class i0{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function s0(n){for(let e in Pe){let t=Pe[e];n.dom.addEventListener(e,n.input.eventHandlers[e]=r=>{l0(n,r)&&!al(n,r)&&(n.editable||!(r.type in Be))&&t(n,r)},r0[e]?{passive:!0}:void 0)}Ne&&n.dom.addEventListener("input",()=>null),Mo(n)}function Xt(n,e){n.input.lastSelectionOrigin=e,n.input.lastSelectionTime=Date.now()}function o0(n){n.domObserver.stop();for(let e in n.input.eventHandlers)n.dom.removeEventListener(e,n.input.eventHandlers[e]);clearTimeout(n.input.composingTimeout),clearTimeout(n.input.lastIOSEnterFallbackTimeout)}function Mo(n){n.someProp("handleDOMEvents",e=>{for(let t in e)n.input.eventHandlers[t]||n.dom.addEventListener(t,n.input.eventHandlers[t]=r=>al(n,r))})}function al(n,e){return n.someProp("handleDOMEvents",t=>{let r=t[e.type];return r?r(n,e)||e.defaultPrevented:!1})}function l0(n,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target;t!=n.dom;t=t.parentNode)if(!t||t.nodeType==11||t.pmViewDesc&&t.pmViewDesc.stopEvent(e))return!1;return!0}function a0(n,e){!al(n,e)&&Pe[e.type]&&(n.editable||!(e.type in Be))&&Pe[e.type](n,e)}Be.keydown=(n,e)=>{let t=e;if(n.input.shiftKey=t.keyCode==16||t.shiftKey,!ed(n,t)&&(n.input.lastKeyCode=t.keyCode,n.input.lastKeyCodeTime=Date.now(),!(Ot&&Ce&&t.keyCode==13)))if(t.keyCode!=229&&n.domObserver.forceFlush(),Gn&&t.keyCode==13&&!t.ctrlKey&&!t.altKey&&!t.metaKey){let r=Date.now();n.input.lastIOSEnter=r,n.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{n.input.lastIOSEnter==r&&(n.someProp("handleKeyDown",i=>i(n,fn(13,"Enter"))),n.input.lastIOSEnter=0)},200)}else n.someProp("handleKeyDown",r=>r(n,t))||Gy(n,t)?t.preventDefault():Xt(n,"key")};Be.keyup=(n,e)=>{e.keyCode==16&&(n.input.shiftKey=!1)};Be.keypress=(n,e)=>{let t=e;if(ed(n,t)||!t.charCode||t.ctrlKey&&!t.altKey||Ze&&t.metaKey)return;if(n.someProp("handleKeyPress",i=>i(n,t))){t.preventDefault();return}let r=n.state.selection;if(!(r instanceof $)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(t.charCode),s=()=>n.state.tr.insertText(i).scrollIntoView();!/[\r\n]/.test(i)&&!n.someProp("handleTextInput",o=>o(n,r.$from.pos,r.$to.pos,i,s))&&n.dispatch(s()),t.preventDefault()}};function ws(n){return{left:n.clientX,top:n.clientY}}function c0(n,e){let t=e.x-n.clientX,r=e.y-n.clientY;return t*t+r*r<100}function cl(n,e,t,r,i){if(r==-1)return!1;let s=n.state.doc.resolve(r);for(let o=s.depth+1;o>0;o--)if(n.someProp(e,l=>o>s.depth?l(n,t,s.nodeAfter,s.before(o),i,!0):l(n,t,s.node(o),s.before(o),i,!1)))return!0;return!1}function Wn(n,e,t){if(n.focused||n.focus(),n.state.selection.eq(e))return;let r=n.state.tr.setSelection(e);r.setMeta("pointer",!0),n.dispatch(r)}function u0(n,e){if(e==-1)return!1;let t=n.state.doc.resolve(e),r=t.nodeAfter;return r&&r.isAtom&&P.isSelectable(r)?(Wn(n,new P(t)),!0):!1}function d0(n,e){if(e==-1)return!1;let t=n.state.selection,r,i;t instanceof P&&(r=t.node);let s=n.state.doc.resolve(e);for(let o=s.depth+1;o>0;o--){let l=o>s.depth?s.nodeAfter:s.node(o);if(P.isSelectable(l)){r&&t.$from.depth>0&&o>=t.$from.depth&&s.before(t.$from.depth+1)==t.$from.pos?i=s.before(t.$from.depth):i=s.before(o);break}}return i!=null?(Wn(n,P.create(n.state.doc,i)),!0):!1}function h0(n,e,t,r,i){return cl(n,"handleClickOn",e,t,r)||n.someProp("handleClick",s=>s(n,e,r))||(i?d0(n,t):u0(n,t))}function f0(n,e,t,r){return cl(n,"handleDoubleClickOn",e,t,r)||n.someProp("handleDoubleClick",i=>i(n,e,r))}function p0(n,e,t,r){return cl(n,"handleTripleClickOn",e,t,r)||n.someProp("handleTripleClick",i=>i(n,e,r))||m0(n,t,r)}function m0(n,e,t){if(t.button!=0)return!1;let r=n.state.doc;if(e==-1)return r.inlineContent?(Wn(n,$.create(r,0,r.content.size)),!0):!1;let i=r.resolve(e);for(let s=i.depth+1;s>0;s--){let o=s>i.depth?i.nodeAfter:i.node(s),l=i.before(s);if(o.inlineContent)Wn(n,$.create(r,l+1,l+1+o.content.size));else if(P.isSelectable(o))Wn(n,P.create(r,l));else continue;return!0}}function ul(n){return Ni(n)}const Zu=Ze?"metaKey":"ctrlKey";Pe.mousedown=(n,e)=>{let t=e;n.input.shiftKey=t.shiftKey;let r=ul(n),i=Date.now(),s="singleClick";i-n.input.lastClick.time<500&&c0(t,n.input.lastClick)&&!t[Zu]&&n.input.lastClick.button==t.button&&(n.input.lastClick.type=="singleClick"?s="doubleClick":n.input.lastClick.type=="doubleClick"&&(s="tripleClick")),n.input.lastClick={time:i,x:t.clientX,y:t.clientY,type:s,button:t.button};let o=n.posAtCoords(ws(t));o&&(s=="singleClick"?(n.input.mouseDown&&n.input.mouseDown.done(),n.input.mouseDown=new g0(n,o,t,!!r)):(s=="doubleClick"?f0:p0)(n,o.pos,o.inside,t)?t.preventDefault():Xt(n,"pointer"))};class g0{constructor(e,t,r,i){this.view=e,this.pos=t,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[Zu],this.allowDefault=r.shiftKey;let s,o;if(t.inside>-1)s=e.state.doc.nodeAt(t.inside),o=t.inside;else{let u=e.state.doc.resolve(t.pos);s=u.parent,o=u.depth?u.before():0}const l=i?null:r.target,a=l?e.docView.nearestDesc(l,!0):null;this.target=a&&a.nodeDOM.nodeType==1?a.nodeDOM:null;let{selection:c}=e.state;(r.button==0&&s.type.spec.draggable&&s.type.spec.selectable!==!1||c instanceof P&&c.from<=o&&c.to>o)&&(this.mightDrag={node:s,pos:o,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&nt&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Xt(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>It(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(ws(e))),this.updateAllowDefault(e),this.allowDefault||!t?Xt(this.view,"pointer"):h0(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||Ne&&this.mightDrag&&!this.mightDrag.node.isAtom||Ce&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(Wn(this.view,W.near(this.view.state.doc.resolve(t.pos))),e.preventDefault()):Xt(this.view,"pointer")}move(e){this.updateAllowDefault(e),Xt(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}Pe.touchstart=n=>{n.input.lastTouch=Date.now(),ul(n),Xt(n,"pointer")};Pe.touchmove=n=>{n.input.lastTouch=Date.now(),Xt(n,"pointer")};Pe.contextmenu=n=>ul(n);function ed(n,e){return n.composing?!0:Ne&&Math.abs(e.timeStamp-n.input.compositionEndedAt)<500?(n.input.compositionEndedAt=-2e8,!0):!1}const y0=Ot?5e3:-1;Be.compositionstart=Be.compositionupdate=n=>{if(!n.composing){n.domObserver.flush();let{state:e}=n,t=e.selection.$to;if(e.selection instanceof $&&(e.storedMarks||!t.textOffset&&t.parentOffset&&t.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)||Ce&&Nu&&b0(n)))n.markCursor=n.state.storedMarks||t.marks(),Ni(n,!0),n.markCursor=null;else if(Ni(n,!e.selection.empty),nt&&e.selection.empty&&t.parentOffset&&!t.textOffset&&t.nodeBefore.marks.length){let r=n.domSelectionRange();for(let i=r.focusNode,s=r.focusOffset;i&&i.nodeType==1&&s!=0;){let o=s<0?i.lastChild:i.childNodes[s-1];if(!o)break;if(o.nodeType==3){let l=n.domSelection();l&&l.collapse(o,o.nodeValue.length);break}else i=o,s=-1}}n.input.composing=!0}td(n,y0)};function b0(n){let{focusNode:e,focusOffset:t}=n.domSelectionRange();if(!e||e.nodeType!=1||t>=e.childNodes.length)return!1;let r=e.childNodes[t];return r.nodeType==1&&r.contentEditable=="false"}Be.compositionend=(n,e)=>{n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=e.timeStamp,n.input.compositionPendingChanges=n.domObserver.pendingRecords().length?n.input.compositionID:0,n.input.compositionNode=null,n.input.badSafariComposition?n.domObserver.forceFlush():n.input.compositionPendingChanges&&Promise.resolve().then(()=>n.domObserver.flush()),n.input.compositionID++,td(n,20))};function td(n,e){clearTimeout(n.input.composingTimeout),e>-1&&(n.input.composingTimeout=setTimeout(()=>Ni(n),e))}function nd(n){for(n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=k0());n.input.compositionNodes.length>0;)n.input.compositionNodes.pop().markParentsDirty()}function x0(n){let e=n.domSelectionRange();if(!e.focusNode)return null;let t=dy(e.focusNode,e.focusOffset),r=hy(e.focusNode,e.focusOffset);if(t&&r&&t!=r){let i=r.pmViewDesc,s=n.domObserver.lastChangedTextNode;if(t==s||r==s)return s;if(!i||!i.isText(r.nodeValue))return r;if(n.input.compositionNode==r){let o=t.pmViewDesc;if(!(!o||!o.isText(t.nodeValue)))return r}}return t||r}function k0(){let n=document.createEvent("Event");return n.initEvent("event",!0,!0),n.timeStamp}function Ni(n,e=!1){if(!(Ot&&n.domObserver.flushingSoon>=0)){if(n.domObserver.forceFlush(),nd(n),e||n.docView&&n.docView.dirty){let t=sl(n),r=n.state.selection;return t&&!t.eq(r)?n.dispatch(n.state.tr.setSelection(t)):(n.markCursor||e)&&!r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?n.dispatch(n.state.tr.deleteSelection()):n.updateState(n.state),!0}return!1}}function w0(n,e){if(!n.dom.parentNode)return;let t=n.dom.parentNode.appendChild(document.createElement("div"));t.appendChild(e),t.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),n.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t),n.focus()},50)}const zr=He&&Zt<15||Gn&&gy<604;Pe.copy=Be.cut=(n,e)=>{let t=e,r=n.state.selection,i=t.type=="cut";if(r.empty)return;let s=zr?null:t.clipboardData,o=r.content(),{dom:l,text:a}=ll(n,o);s?(t.preventDefault(),s.clearData(),s.setData("text/html",l.innerHTML),s.setData("text/plain",a)):w0(n,l),i&&n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function v0(n){return n.openStart==0&&n.openEnd==0&&n.content.childCount==1?n.content.firstChild:null}function C0(n,e){if(!n.dom.parentNode)return;let t=n.input.shiftKey||n.state.selection.$from.parent.type.spec.code,r=n.dom.parentNode.appendChild(document.createElement(t?"textarea":"div"));t||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=n.input.shiftKey&&n.input.lastKeyCode!=45;setTimeout(()=>{n.focus(),r.parentNode&&r.parentNode.removeChild(r),t?$r(n,r.value,null,i,e):$r(n,r.textContent,r.innerHTML,i,e)},50)}function $r(n,e,t,r,i){let s=Ku(n,e,t,r,n.state.selection.$from);if(n.someProp("handlePaste",a=>a(n,i,s||N.empty)))return!0;if(!s)return!1;let o=v0(s),l=o?n.state.tr.replaceSelectionWith(o,r):n.state.tr.replaceSelection(s);return n.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function rd(n){let e=n.getData("text/plain")||n.getData("Text");if(e)return e;let t=n.getData("text/uri-list");return t?t.replace(/\r?\n/g," "):""}Be.paste=(n,e)=>{let t=e;if(n.composing&&!Ot)return;let r=zr?null:t.clipboardData,i=n.input.shiftKey&&n.input.lastKeyCode!=45;r&&$r(n,rd(r),r.getData("text/html"),i,t)?t.preventDefault():C0(n,t)};class id{constructor(e,t,r){this.slice=e,this.move=t,this.node=r}}const S0=Ze?"altKey":"ctrlKey";function sd(n,e){let t=n.someProp("dragCopies",r=>!r(e));return t??!e[S0]}Pe.dragstart=(n,e)=>{let t=e,r=n.input.mouseDown;if(r&&r.done(),!t.dataTransfer)return;let i=n.state.selection,s=i.empty?null:n.posAtCoords(ws(t)),o;if(!(s&&s.pos>=i.from&&s.pos<=(i instanceof P?i.to-1:i.to))){if(r&&r.mightDrag)o=P.create(n.state.doc,r.mightDrag.pos);else if(t.target&&t.target.nodeType==1){let d=n.docView.nearestDesc(t.target,!0);d&&d.node.type.spec.draggable&&d!=n.docView&&(o=P.create(n.state.doc,d.posBefore))}}let l=(o||n.state.selection).content(),{dom:a,text:c,slice:u}=ll(n,l);(!t.dataTransfer.files.length||!Ce||Ou>120)&&t.dataTransfer.clearData(),t.dataTransfer.setData(zr?"Text":"text/html",a.innerHTML),t.dataTransfer.effectAllowed="copyMove",zr||t.dataTransfer.setData("text/plain",c),n.dragging=new id(u,sd(n,t),o)};Pe.dragend=n=>{let e=n.dragging;window.setTimeout(()=>{n.dragging==e&&(n.dragging=null)},50)};Be.dragover=Be.dragenter=(n,e)=>e.preventDefault();Be.drop=(n,e)=>{try{T0(n,e,n.dragging)}finally{n.dragging=null}};function T0(n,e,t){if(!e.dataTransfer)return;let r=n.posAtCoords(ws(e));if(!r)return;let i=n.state.doc.resolve(r.pos),s=t&&t.slice;s?n.someProp("transformPasted",f=>{s=f(s,n,!1)}):s=Ku(n,rd(e.dataTransfer),zr?null:e.dataTransfer.getData("text/html"),!1,i);let o=!!(t&&sd(n,e));if(n.someProp("handleDrop",f=>f(n,e,s||N.empty,o))){e.preventDefault();return}if(!s)return;e.preventDefault();let l=s?cu(n.state.doc,i.pos,s):i.pos;l==null&&(l=i.pos);let a=n.state.tr;if(o){let{node:f}=t;f?f.replace(a):a.deleteSelection()}let c=a.mapping.map(l),u=s.openStart==0&&s.openEnd==0&&s.content.childCount==1,d=a.doc;if(u?a.replaceRangeWith(c,c,s.content.firstChild):a.replaceRange(c,c,s),a.doc.eq(d))return;let h=a.doc.resolve(c);if(u&&P.isSelectable(s.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(s.content.firstChild))a.setSelection(new P(h));else{let f=a.mapping.map(l);a.mapping.maps[a.mapping.maps.length-1].forEach((p,m,g,y)=>f=y),a.setSelection(ol(n,h,a.doc.resolve(f)))}n.focus(),n.dispatch(a.setMeta("uiEvent","drop"))}Pe.focus=n=>{n.input.lastFocus=Date.now(),n.focused||(n.domObserver.stop(),n.dom.classList.add("ProseMirror-focused"),n.domObserver.start(),n.focused=!0,setTimeout(()=>{n.docView&&n.hasFocus()&&!n.domObserver.currentSelection.eq(n.domSelectionRange())&&It(n)},20))};Pe.blur=(n,e)=>{let t=e;n.focused&&(n.domObserver.stop(),n.dom.classList.remove("ProseMirror-focused"),n.domObserver.start(),t.relatedTarget&&n.dom.contains(t.relatedTarget)&&n.domObserver.currentSelection.clear(),n.focused=!1)};Pe.beforeinput=(n,e)=>{if(Ce&&Ot&&e.inputType=="deleteContentBackward"){n.domObserver.flushSoon();let{domChangeCount:r}=n.input;setTimeout(()=>{if(n.input.domChangeCount!=r||(n.dom.blur(),n.focus(),n.someProp("handleKeyDown",s=>s(n,fn(8,"Backspace")))))return;let{$cursor:i}=n.state.selection;i&&i.pos>0&&n.dispatch(n.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let n in Be)Pe[n]=Be[n];function Fr(n,e){if(n==e)return!0;for(let t in n)if(n[t]!==e[t])return!1;for(let t in e)if(!(t in n))return!1;return!0}class Ii{constructor(e,t){this.toDOM=e,this.spec=t||Sn,this.side=this.spec.side||0}map(e,t,r,i){let{pos:s,deleted:o}=e.mapResult(t.from+i,this.side<0?-1:1);return o?null:new Re(s-r,s-r,this)}valid(){return!0}eq(e){return this==e||e instanceof Ii&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Fr(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class tn{constructor(e,t){this.attrs=e,this.spec=t||Sn}map(e,t,r,i){let s=e.map(t.from+i,this.spec.inclusiveStart?-1:1)-r,o=e.map(t.to+i,this.spec.inclusiveEnd?1:-1)-r;return s>=o?null:new Re(s,o,this)}valid(e,t){return t.from=e&&(!s||s(l.spec))&&r.push(l.copy(l.from+i,l.to+i))}for(let o=0;oe){let l=this.children[o]+1;this.children[o+2].findInner(e-l,t-l,r,i+l,s)}}map(e,t,r){return this==Me||e.maps.length==0?this:this.mapInner(e,t,0,0,r||Sn)}mapInner(e,t,r,i,s){let o;for(let l=0;l{let c=a+r,u;if(u=ld(t,l,c)){for(i||(i=this.children.slice());sl&&d.to=e){this.children[l]==e&&(r=this.children[l+2]);break}let s=e+1,o=s+t.content.size;for(let l=0;ls&&a.type instanceof tn){let c=Math.max(s,a.from)-s,u=Math.min(o,a.to)-s;ci.map(e,t,Sn));return Ut.from(r)}forChild(e,t){if(t.isLeaf)return re.empty;let r=[];for(let i=0;it instanceof re)?e:e.reduce((t,r)=>t.concat(r instanceof re?r:r.members),[]))}}forEachSet(e){for(let t=0;t{let g=m-p-(f-h);for(let y=0;yk+u-d)continue;let x=l[y]+u-d;f>=x?l[y+1]=h<=x?-2:-1:h>=u&&g&&(l[y]+=g,l[y+1]+=g)}d+=g}),u=t.maps[c].map(u,-1)}let a=!1;for(let c=0;c=r.content.size){a=!0;continue}let h=t.map(n[c+1]+s,-1),f=h-i,{index:p,offset:m}=r.content.findIndex(d),g=r.maybeChild(p);if(g&&m==d&&m+g.nodeSize==f){let y=l[c+2].mapInner(t,g,u+1,n[c]+s+1,o);y!=Me?(l[c]=d,l[c+1]=f,l[c+2]=y):(l[c+1]=-2,a=!0)}else a=!0}if(a){let c=A0(l,n,e,t,i,s,o),u=_i(c,r,0,o);e=u.local;for(let d=0;dt&&o.to{let c=ld(n,l,a+t);if(c){s=!0;let u=_i(c,l,t+a+1,r);u!=Me&&i.push(a,a+l.nodeSize,u)}});let o=od(s?ad(n):n,-t).sort(Tn);for(let l=0;l0;)e++;n.splice(e,0,t)}function Ws(n){let e=[];return n.someProp("decorations",t=>{let r=t(n.state);r&&r!=Me&&e.push(r)}),n.cursorWrapper&&e.push(re.create(n.state.doc,[n.cursorWrapper.deco])),Ut.from(e)}const E0={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},D0=He&&Zt<=11;class O0{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class N0{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new O0,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;ii.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():Ne&&e.composing&&r.some(i=>i.type=="childList"&&i.target.nodeName=="TR")?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),D0&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,E0)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;tthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Ma(this.view)){if(this.suppressingSelectionUpdates)return It(this.view);if(He&&Zt<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&On(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t=new Set,r;for(let s=e.focusNode;s;s=Jn(s))t.add(s);for(let s=e.anchorNode;s;s=Jn(s))if(t.has(s)){r=s;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let r=e.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&Ma(e)&&!this.ignoreSelectionChange(r),s=-1,o=-1,l=!1,a=[];if(e.editable)for(let u=0;uu.nodeName=="BR")&&(e.input.lastKeyCode==8||e.input.lastKeyCode==46)){for(let u of a)if(u.nodeName=="BR"&&u.parentNode){let d=u.nextSibling;d&&d.nodeType==1&&d.contentEditable=="false"&&u.parentNode.removeChild(u)}}else if(nt&&a.length){let u=a.filter(d=>d.nodeName=="BR");if(u.length==2){let[d,h]=u;d.parentNode&&d.parentNode.parentNode==h.parentNode?h.remove():d.remove()}else{let{focusNode:d}=this.currentSelection;for(let h of u){let f=h.parentNode;f&&f.nodeName=="LI"&&(!d||L0(e,d)!=f)&&h.remove()}}}let c=null;s<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||i)&&(s>-1&&(e.docView.markDirty(s,o),I0(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,R0(e,a)),this.handleDOMChange(s,o,l,a),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||It(e),this.currentSelection.set(r))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let u=0;ui;g--){let y=r.childNodes[g-1],k=y.pmViewDesc;if(y.nodeName=="BR"&&!k){s=g;break}if(!k||k.size)break}let d=n.state.doc,h=n.someProp("domParser")||Qt.fromSchema(n.state.schema),f=d.resolve(o),p=null,m=h.parse(r,{topNode:f.parent,topMatch:f.parent.contentMatchAt(f.index()),topOpen:!0,from:i,to:s,preserveWhitespace:f.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:B0,context:f});if(c&&c[0].pos!=null){let g=c[0].pos,y=c[1]&&c[1].pos;y==null&&(y=g),p={anchor:g+o,head:y+o}}return{doc:m,sel:p,from:o,to:l}}function B0(n){let e=n.pmViewDesc;if(e)return e.parseRule();if(n.nodeName=="BR"&&n.parentNode){if(Ne&&/^(ul|ol)$/i.test(n.parentNode.nodeName)){let t=document.createElement("div");return t.appendChild(document.createElement("li")),{skip:t}}else if(n.parentNode.lastChild==n||Ne&&/^(tr|table)$/i.test(n.parentNode.nodeName))return{ignore:!0}}else if(n.nodeName=="IMG"&&n.getAttribute("mark-placeholder"))return{ignore:!0};return null}const z0=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function $0(n,e,t,r,i){let s=n.input.compositionPendingChanges||(n.composing?n.input.compositionID:0);if(n.input.compositionPendingChanges=0,e<0){let O=n.input.lastSelectionTime>Date.now()-50?n.input.lastSelectionOrigin:null,R=sl(n,O);if(R&&!n.state.selection.eq(R)){if(Ce&&Ot&&n.input.lastKeyCode===13&&Date.now()-100Se(n,fn(13,"Enter"))))return;let K=n.state.tr.setSelection(R);O=="pointer"?K.setMeta("pointer",!0):O=="key"&&K.scrollIntoView(),s&&K.setMeta("composition",s),n.dispatch(K)}return}let o=n.state.doc.resolve(e),l=o.sharedDepth(t);e=o.before(l+1),t=n.state.doc.resolve(t).after(l+1);let a=n.state.selection,c=P0(n,e,t),u=n.state.doc,d=u.slice(c.from,c.to),h,f;n.input.lastKeyCode===8&&Date.now()-100Date.now()-225||Ot)&&i.some(O=>O.nodeType==1&&!z0.test(O.nodeName))&&(!p||p.endA>=p.endB)&&n.someProp("handleKeyDown",O=>O(n,fn(13,"Enter")))){n.input.lastIOSEnter=0;return}if(!p)if(r&&a instanceof $&&!a.empty&&a.$head.sameParent(a.$anchor)&&!n.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))p={start:a.from,endA:a.to,endB:a.to};else{if(c.sel){let O=za(n,n.state.doc,c.sel);if(O&&!O.eq(n.state.selection)){let R=n.state.tr.setSelection(O);s&&R.setMeta("composition",s),n.dispatch(R)}}return}n.state.selection.fromn.state.selection.from&&p.start<=n.state.selection.from+2&&n.state.selection.from>=c.from?p.start=n.state.selection.from:p.endA=n.state.selection.to-2&&n.state.selection.to<=c.to&&(p.endB+=n.state.selection.to-p.endA,p.endA=n.state.selection.to)),He&&Zt<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>c.from&&c.doc.textBetween(p.start-c.from-1,p.start-c.from+1)=="  "&&(p.start--,p.endA--,p.endB--);let m=c.doc.resolveNoCache(p.start-c.from),g=c.doc.resolveNoCache(p.endB-c.from),y=u.resolve(p.start),k=m.sameParent(g)&&m.parent.inlineContent&&y.end()>=p.endA;if((Gn&&n.input.lastIOSEnter>Date.now()-225&&(!k||i.some(O=>O.nodeName=="DIV"||O.nodeName=="P"))||!k&&m.posO(n,fn(13,"Enter")))){n.input.lastIOSEnter=0;return}if(n.state.selection.anchor>p.start&&Y0(u,p.start,p.endA,m,g)&&n.someProp("handleKeyDown",O=>O(n,fn(8,"Backspace")))){Ot&&Ce&&n.domObserver.suppressSelectionUpdates();return}Ce&&p.endB==p.start&&(n.input.lastChromeDelete=Date.now()),Ot&&!k&&m.start()!=g.start()&&g.parentOffset==0&&m.depth==g.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==p.endA&&(p.endB-=2,g=c.doc.resolveNoCache(p.endB-c.from),setTimeout(()=>{n.someProp("handleKeyDown",function(O){return O(n,fn(13,"Enter"))})},20));let x=p.start,T=p.endA,E=O=>{let R=O||n.state.tr.replace(x,T,c.doc.slice(p.start-c.from,p.endB-c.from));if(c.sel){let K=za(n,R.doc,c.sel);K&&!(Ce&&n.composing&&K.empty&&(p.start!=p.endB||n.input.lastChromeDeleteIt(n),20));let O=E(n.state.tr.delete(x,T)),R=u.resolve(p.start).marksAcross(u.resolve(p.endA));R&&O.ensureMarks(R),n.dispatch(O)}else if(p.endA==p.endB&&(I=F0(m.parent.content.cut(m.parentOffset,g.parentOffset),y.parent.content.cut(y.parentOffset,p.endA-y.start())))){let O=E(n.state.tr);I.type=="add"?O.addMark(x,T,I.mark):O.removeMark(x,T,I.mark),n.dispatch(O)}else if(m.parent.child(m.index()).isText&&m.index()==g.index()-(g.textOffset?0:1)){let O=m.parent.textBetween(m.parentOffset,g.parentOffset),R=()=>E(n.state.tr.insertText(O,x,T));n.someProp("handleTextInput",K=>K(n,x,T,O,R))||n.dispatch(R())}else n.dispatch(E());else n.dispatch(E())}function za(n,e,t){return Math.max(t.anchor,t.head)>e.content.size?null:ol(n,e.resolve(t.anchor),e.resolve(t.head))}function F0(n,e){let t=n.firstChild.marks,r=e.firstChild.marks,i=t,s=r,o,l,a;for(let u=0;uu.mark(l.addToSet(u.marks));else if(i.length==0&&s.length==1)l=s[0],o="remove",a=u=>u.mark(l.removeFromSet(u.marks));else return null;let c=[];for(let u=0;ut||Ks(o,!0,!1)0&&(e||n.indexAfter(r)==n.node(r).childCount);)r--,i++,e=!1;if(t){let s=n.node(r).maybeChild(n.indexAfter(r));for(;s&&!s.isLeaf;)s=s.firstChild,i++}return i}function H0(n,e,t,r,i){let s=n.findDiffStart(e,t);if(s==null)return null;let{a:o,b:l}=n.findDiffEnd(e,t+n.size,t+e.size);if(i=="end"){let a=Math.max(0,s-Math.min(o,l));r-=o+a-s}if(o=o?s-r:0;s-=a,s&&s=l?s-r:0;s-=a,s&&s=56320&&e<=57343&&t>=55296&&t<=56319}class cd{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new i0,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(ja),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Ha(this),Ya(this),this.nodeViews=Va(this),this.docView=ka(this.state.doc,Fa(this),Ws(this),this.dom,this),this.domObserver=new N0(this,(r,i,s,o)=>$0(this,r,i,s,o)),this.domObserver.start(),s0(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Mo(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(ja),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let r in this._props)t[r]=this._props[r];t.state=this.state;for(let r in e)t[r]=e[r];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var r;let i=this.state,s=!1,o=!1;e.storedMarks&&this.composing&&(nd(this),o=!0),this.state=e;let l=i.plugins!=e.plugins||this._props.plugins!=t.plugins;if(l||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let f=Va(this);j0(f,this.nodeViews)&&(this.nodeViews=f,s=!0)}(l||t.handleDOMEvents!=this._props.handleDOMEvents)&&Mo(this),this.editable=Ha(this),Ya(this);let a=Ws(this),c=Fa(this),u=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",d=s||!this.docView.matchesNode(e.doc,c,a);(d||!e.selection.eq(i.selection))&&(o=!0);let h=u=="preserve"&&o&&this.dom.style.overflowAnchor==null&&xy(this);if(o){this.domObserver.stop();let f=d&&(He||Ce)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&V0(i.selection,e.selection);if(d){let p=Ce?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=x0(this)),(s||!this.docView.update(e.doc,c,a,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=ka(e.doc,c,a,this.dom,this)),p&&(!this.trackWrites||!this.dom.contains(this.trackWrites))&&(f=!0)}f||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&Vy(this))?It(this,f):(ju(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,i),u=="reset"?this.dom.scrollTop=0:u=="to selection"?this.scrollToSelection():h&&ky(h)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))){if(!this.someProp("handleScrollToSelection",t=>t(this)))if(this.state.selection instanceof P){let t=this.docView.domAfterPos(this.state.selection.from);t.nodeType==1&&pa(this,t.getBoundingClientRect(),e)}else pa(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let t=0;t0&&this.state.doc.nodeAt(s))==r.node&&(i=s)}this.dragging=new id(e.slice,e.move,i<0?void 0:P.create(this.state.doc,i))}someProp(e,t){let r=this._props&&this._props[e],i;if(r!=null&&(i=t?t(r):r))return i;for(let o=0;ot.ownerDocument.getSelection()),this._root=t}return e||document}updateRoot(){this._root=null}posAtCoords(e){return My(this,e)}coordsAtPos(e,t=1){return Pu(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,r=-1){let i=this.docView.posFromDOM(e,t,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,t){return Ny(this,t||this.state,e)}pasteHTML(e,t){return $r(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return $r(this,e,null,!0,t||new ClipboardEvent("paste"))}serializeForClipboard(e){return ll(this,e)}destroy(){this.docView&&(o0(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Ws(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,cy())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return a0(this,e)}domSelectionRange(){let e=this.domSelection();return e?Ne&&this.root.nodeType===11&&py(this.dom.ownerDocument)==this.dom&&_0(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}cd.prototype.dispatch=function(n){let e=this._props.dispatchTransaction;e?e.call(this,n):this.updateState(this.state.apply(n))};function Fa(n){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(n.editable),n.someProp("attributes",t=>{if(typeof t=="function"&&(t=t(n.state)),t)for(let r in t)r=="class"?e.class+=" "+t[r]:r=="style"?e.style=(e.style?e.style+";":"")+t[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(t[r]))}),e.translate||(e.translate="no"),[Re.node(0,n.state.doc.content.size,e)]}function Ya(n){if(n.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),n.cursorWrapper={dom:e,deco:Re.widget(n.state.selection.from,e,{raw:!0,marks:n.markCursor})}}else n.cursorWrapper=null}function Ha(n){return!n.someProp("editable",e=>e(n.state)===!1)}function V0(n,e){let t=Math.min(n.$anchor.sharedDepth(n.head),e.$anchor.sharedDepth(e.head));return n.$anchor.start(t)!=e.$anchor.start(t)}function Va(n){let e=Object.create(null);function t(r){for(let i in r)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=r[i])}return n.someProp("nodeViews",t),n.someProp("markViews",t),e}function j0(n,e){let t=0,r=0;for(let i in n){if(n[i]!=e[i])return!0;t++}for(let i in e)r++;return t!=r}function ja(n){if(n.spec.state||n.spec.filterTransaction||n.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}const U0=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),W0=typeof navigator<"u"&&/Win/.test(navigator.platform);function K0(n){let e=n.split(/-(?!$)/),t=e[e.length-1];t=="Space"&&(t=" ");let r,i,s,o;for(let l=0;l{for(var t in e)G0(n,t,{get:e[t],enumerable:!0})};function vs(n){const{state:e,transaction:t}=n;let{selection:r}=t,{doc:i}=t,{storedMarks:s}=t;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return s},get selection(){return r},get doc(){return i},get tr(){return r=t.selection,i=t.doc,s=t.storedMarks,t}}}var Cs=class{constructor(n){this.editor=n.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=n.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:n,editor:e,state:t}=this,{view:r}=e,{tr:i}=t,s=this.buildProps(i);return Object.fromEntries(Object.entries(n).map(([o,l])=>[o,(...c)=>{const u=l(...c)(s);return!i.getMeta("preventDispatch")&&!this.hasCustomState&&r.dispatch(i),u}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(n,e=!0){const{rawCommands:t,editor:r,state:i}=this,{view:s}=r,o=[],l=!!n,a=n||i.tr,c=()=>(!l&&e&&!a.getMeta("preventDispatch")&&!this.hasCustomState&&s.dispatch(a),o.every(d=>d===!0)),u={...Object.fromEntries(Object.entries(t).map(([d,h])=>[d,(...p)=>{const m=this.buildProps(a,e),g=h(...p)(m);return o.push(g),u}])),run:c};return u}createCan(n){const{rawCommands:e,state:t}=this,r=!1,i=n||t.tr,s=this.buildProps(i,r);return{...Object.fromEntries(Object.entries(e).map(([l,a])=>[l,(...c)=>a(...c)({...s,dispatch:void 0})])),chain:()=>this.createChain(i,r)}}buildProps(n,e=!0){const{rawCommands:t,editor:r,state:i}=this,{view:s}=r,o={tr:n,editor:r,view:s,state:vs({state:i,transaction:n}),dispatch:e?()=>{}:void 0,chain:()=>this.createChain(n,e),can:()=>this.createCan(n),get commands(){return Object.fromEntries(Object.entries(t).map(([l,a])=>[l,(...c)=>a(...c)(o)]))}};return o}},dd={};fl(dd,{blur:()=>X0,clearContent:()=>Q0,clearNodes:()=>Z0,command:()=>eb,createParagraphNear:()=>tb,cut:()=>nb,deleteCurrentNode:()=>rb,deleteNode:()=>ib,deleteRange:()=>sb,deleteSelection:()=>ob,enter:()=>lb,exitCode:()=>ab,extendMarkRange:()=>cb,first:()=>ub,focus:()=>hb,forEach:()=>fb,insertContent:()=>pb,insertContentAt:()=>yb,joinBackward:()=>kb,joinDown:()=>xb,joinForward:()=>wb,joinItemBackward:()=>vb,joinItemForward:()=>Cb,joinTextblockBackward:()=>Sb,joinTextblockForward:()=>Tb,joinUp:()=>bb,keyboardShortcut:()=>Ab,lift:()=>Eb,liftEmptyBlock:()=>Db,liftListItem:()=>Ob,newlineInCode:()=>Nb,resetAttributes:()=>Ib,scrollIntoView:()=>_b,selectAll:()=>Lb,selectNodeBackward:()=>Rb,selectNodeForward:()=>Pb,selectParentNode:()=>Bb,selectTextblockEnd:()=>zb,selectTextblockStart:()=>$b,setContent:()=>Fb,setMark:()=>lx,setMeta:()=>ax,setNode:()=>cx,setNodeSelection:()=>ux,setTextDirection:()=>dx,setTextSelection:()=>hx,sinkListItem:()=>fx,splitBlock:()=>px,splitListItem:()=>mx,toggleList:()=>gx,toggleMark:()=>yx,toggleNode:()=>bx,toggleWrap:()=>xx,undoInputRule:()=>kx,unsetAllMarks:()=>wx,unsetMark:()=>vx,unsetTextDirection:()=>Cx,updateAttributes:()=>Sx,wrapIn:()=>Tx,wrapInList:()=>Mx});var X0=()=>({editor:n,view:e})=>(requestAnimationFrame(()=>{var t;n.isDestroyed||(e.dom.blur(),(t=window?.getSelection())==null||t.removeAllRanges())}),!0),Q0=(n=!0)=>({commands:e})=>e.setContent("",{emitUpdate:n}),Z0=()=>({state:n,tr:e,dispatch:t})=>{const{selection:r}=e,{ranges:i}=r;return t&&i.forEach(({$from:s,$to:o})=>{n.doc.nodesBetween(s.pos,o.pos,(l,a)=>{if(l.type.isText)return;const{doc:c,mapping:u}=e,d=c.resolve(u.map(a)),h=c.resolve(u.map(a+l.nodeSize)),f=d.blockRange(h);if(!f)return;const p=ir(f);if(l.type.isTextblock){const{defaultType:m}=d.parent.contentMatchAt(d.index());e.setNodeMarkup(f.start,m)}(p||p===0)&&e.lift(f,p)})}),!0},eb=n=>e=>n(e),tb=()=>({state:n,dispatch:e})=>Tu(n,e),nb=(n,e)=>({editor:t,tr:r})=>{const{state:i}=t,s=i.doc.slice(n.from,n.to);r.deleteRange(n.from,n.to);const o=r.mapping.map(e);return r.insert(o,s.content),r.setSelection(new $(r.doc.resolve(Math.max(o-1,0)))),!0},rb=()=>({tr:n,dispatch:e})=>{const{selection:t}=n,r=t.$anchor.node();if(r.content.size>0)return!1;const i=n.selection.$anchor;for(let s=i.depth;s>0;s-=1)if(i.node(s).type===r.type){if(e){const l=i.before(s),a=i.after(s);n.delete(l,a).scrollIntoView()}return!0}return!1};function de(n,e){if(typeof n=="string"){if(!e.nodes[n])throw Error(`There is no node type named '${n}'. Maybe you forgot to add the extension?`);return e.nodes[n]}return n}var ib=n=>({tr:e,state:t,dispatch:r})=>{const i=de(n,t.schema),s=e.selection.$anchor;for(let o=s.depth;o>0;o-=1)if(s.node(o).type===i){if(r){const a=s.before(o),c=s.after(o);e.delete(a,c).scrollIntoView()}return!0}return!1},sb=n=>({tr:e,dispatch:t})=>{const{from:r,to:i}=n;return t&&e.delete(r,i),!0},ob=()=>({state:n,dispatch:e})=>Zo(n,e),lb=()=>({commands:n})=>n.keyboardShortcut("Enter"),ab=()=>({state:n,dispatch:e})=>qg(n,e);function pl(n){return Object.prototype.toString.call(n)==="[object RegExp]"}function Li(n,e,t={strict:!0}){const r=Object.keys(e);return r.length?r.every(i=>t.strict?e[i]===n[i]:pl(e[i])?e[i].test(n[i]):e[i]===n[i]):!0}function hd(n,e,t={}){return n.find(r=>r.type===e&&Li(Object.fromEntries(Object.keys(t).map(i=>[i,r.attrs[i]])),t))}function Ua(n,e,t={}){return!!hd(n,e,t)}function ml(n,e,t){var r;if(!n||!e)return;let i=n.parent.childAfter(n.parentOffset);if((!i.node||!i.node.marks.some(u=>u.type===e))&&(i=n.parent.childBefore(n.parentOffset)),!i.node||!i.node.marks.some(u=>u.type===e)||(t=t||((r=i.node.marks[0])==null?void 0:r.attrs),!hd([...i.node.marks],e,t)))return;let o=i.index,l=n.start()+i.offset,a=o+1,c=l+i.node.nodeSize;for(;o>0&&Ua([...n.parent.child(o-1).marks],e,t);)o-=1,l-=n.parent.child(o).nodeSize;for(;a({tr:t,state:r,dispatch:i})=>{const s=_t(n,r.schema),{doc:o,selection:l}=t,{$from:a,from:c,to:u}=l;if(i){const d=ml(a,s,e);if(d&&d.from<=c&&d.to>=u){const h=$.create(o,d.from,d.to);t.setSelection(h)}}return!0},ub=n=>e=>{const t=typeof n=="function"?n(e):n;for(let r=0;r({editor:t,view:r,tr:i,dispatch:s})=>{e={scrollIntoView:!0,...e};const o=()=>{(Ri()||Wa())&&r.dom.focus(),db()&&!Ri()&&!Wa()&&r.dom.focus({preventScroll:!0}),requestAnimationFrame(()=>{t.isDestroyed||(r.focus(),e?.scrollIntoView&&t.commands.scrollIntoView())})};try{if(r.hasFocus()&&n===null||n===!1)return!0}catch{return!1}if(s&&n===null&&!fd(t.state.selection))return o(),!0;const l=pd(i.doc,n)||t.state.selection,a=t.state.selection.eq(l);return s&&(a||i.setSelection(l),a&&i.storedMarks&&i.setStoredMarks(i.storedMarks),o()),!0},fb=(n,e)=>t=>n.every((r,i)=>e(r,{...t,index:i})),pb=(n,e)=>({tr:t,commands:r})=>r.insertContentAt({from:t.selection.from,to:t.selection.to},n,e),md=n=>{const e=n.childNodes;for(let t=e.length-1;t>=0;t-=1){const r=e[t];r.nodeType===3&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?n.removeChild(r):r.nodeType===1&&md(r)}return n};function oi(n){if(typeof window>"u")throw new Error("[tiptap error]: there is no window object available, so this function cannot be used");const e=`${n}`,t=new window.DOMParser().parseFromString(e,"text/html").body;return md(t)}function Yr(n,e,t){if(n instanceof ct||n instanceof C)return n;t={slice:!0,parseOptions:{},...t};const r=typeof n=="object"&&n!==null,i=typeof n=="string";if(r)try{if(Array.isArray(n)&&n.length>0)return C.fromArray(n.map(l=>e.nodeFromJSON(l)));const o=e.nodeFromJSON(n);return t.errorOnInvalidContent&&o.check(),o}catch(s){if(t.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:s});return console.warn("[tiptap warn]: Invalid content.","Passed value:",n,"Error:",s),Yr("",e,t)}if(i){if(t.errorOnInvalidContent){let o=!1,l="";const a=new Qc({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:c=>(o=!0,l=typeof c=="string"?c:c.outerHTML,null)}]}})});if(t.slice?Qt.fromSchema(a).parseSlice(oi(n),t.parseOptions):Qt.fromSchema(a).parse(oi(n),t.parseOptions),t.errorOnInvalidContent&&o)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${l}`)})}const s=Qt.fromSchema(e);return t.slice?s.parseSlice(oi(n),t.parseOptions).content:s.parse(oi(n),t.parseOptions)}return Yr("",e,t)}function mb(n,e,t){const r=n.steps.length-1;if(r{o===0&&(o=u)}),n.setSelection(W.near(n.doc.resolve(o),t))}var gb=n=>!("type"in n),yb=(n,e,t)=>({tr:r,dispatch:i,editor:s})=>{var o;if(i){t={parseOptions:s.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...t};let l;const a=g=>{s.emit("contentError",{editor:s,error:g,disableCollaboration:()=>{"collaboration"in s.storage&&typeof s.storage.collaboration=="object"&&s.storage.collaboration&&(s.storage.collaboration.isDisabled=!0)}})},c={preserveWhitespace:"full",...t.parseOptions};if(!t.errorOnInvalidContent&&!s.options.enableContentCheck&&s.options.emitContentError)try{Yr(e,s.schema,{parseOptions:c,errorOnInvalidContent:!0})}catch(g){a(g)}try{l=Yr(e,s.schema,{parseOptions:c,errorOnInvalidContent:(o=t.errorOnInvalidContent)!=null?o:s.options.enableContentCheck})}catch(g){return a(g),!1}let{from:u,to:d}=typeof n=="number"?{from:n,to:n}:{from:n.from,to:n.to},h=!0,f=!0;if((gb(l)?l:[l]).forEach(g=>{g.check(),h=h?g.isText&&g.marks.length===0:!1,f=f?g.isBlock:!1}),u===d&&f){const{parent:g}=r.doc.resolve(u);g.isTextblock&&!g.type.spec.code&&!g.childCount&&(u-=1,d+=1)}let m;if(h){if(Array.isArray(e))m=e.map(g=>g.text||"").join("");else if(e instanceof C){let g="";e.forEach(y=>{y.text&&(g+=y.text)}),m=g}else typeof e=="object"&&e&&e.text?m=e.text:m=e;r.insertText(m,u,d)}else{m=l;const g=r.doc.resolve(u),y=g.node(),k=g.parentOffset===0,x=y.isText||y.isTextblock,T=y.content.size>0;k&&x&&T&&(u=Math.max(0,u-1)),r.replaceWith(u,d,m)}t.updateSelection&&mb(r,r.steps.length-1,-1),t.applyInputRules&&r.setMeta("applyInputRules",{from:u,text:m}),t.applyPasteRules&&r.setMeta("applyPasteRules",{from:u,text:m})}return!0},bb=()=>({state:n,dispatch:e})=>Ug(n,e),xb=()=>({state:n,dispatch:e})=>Wg(n,e),kb=()=>({state:n,dispatch:e})=>bu(n,e),wb=()=>({state:n,dispatch:e})=>vu(n,e),vb=()=>({state:n,dispatch:e,tr:t})=>{try{const r=gs(n.doc,n.selection.$from.pos,-1);return r==null?!1:(t.join(r,2),e&&e(t),!0)}catch{return!1}},Cb=()=>({state:n,dispatch:e,tr:t})=>{try{const r=gs(n.doc,n.selection.$from.pos,1);return r==null?!1:(t.join(r,2),e&&e(t),!0)}catch{return!1}},Sb=()=>({state:n,dispatch:e})=>Vg(n,e),Tb=()=>({state:n,dispatch:e})=>jg(n,e);function gd(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function Mb(n){const e=n.split(/-(?!$)/);let t=e[e.length-1];t==="Space"&&(t=" ");let r,i,s,o;for(let l=0;l({editor:e,view:t,tr:r,dispatch:i})=>{const s=Mb(n).split(/-(?!$)/),o=s.find(c=>!["Alt","Ctrl","Meta","Shift"].includes(c)),l=new KeyboardEvent("keydown",{key:o==="Space"?" ":o,altKey:s.includes("Alt"),ctrlKey:s.includes("Ctrl"),metaKey:s.includes("Meta"),shiftKey:s.includes("Shift"),bubbles:!0,cancelable:!0}),a=e.captureTransaction(()=>{t.someProp("handleKeyDown",c=>c(t,l))});return a?.steps.forEach(c=>{const u=c.map(r.mapping);u&&i&&r.maybeStep(u)}),!0};function rn(n,e,t={}){const{from:r,to:i,empty:s}=n.selection,o=e?de(e,n.schema):null,l=[];n.doc.nodesBetween(r,i,(d,h)=>{if(d.isText)return;const f=Math.max(r,h),p=Math.min(i,h+d.nodeSize);l.push({node:d,from:f,to:p})});const a=i-r,c=l.filter(d=>o?o.name===d.node.type.name:!0).filter(d=>Li(d.node.attrs,t,{strict:!1}));return s?!!c.length:c.reduce((d,h)=>d+h.to-h.from,0)>=a}var Eb=(n,e={})=>({state:t,dispatch:r})=>{const i=de(n,t.schema);return rn(t,i,e)?Kg(t,r):!1},Db=()=>({state:n,dispatch:e})=>Mu(n,e),Ob=n=>({state:e,dispatch:t})=>{const r=de(n,e.schema);return sy(r)(e,t)},Nb=()=>({state:n,dispatch:e})=>Su(n,e);function Ss(n,e){return e.nodes[n]?"node":e.marks[n]?"mark":null}function Ka(n,e){const t=typeof e=="string"?[e]:e;return Object.keys(n).reduce((r,i)=>(t.includes(i)||(r[i]=n[i]),r),{})}var Ib=(n,e)=>({tr:t,state:r,dispatch:i})=>{let s=null,o=null;const l=Ss(typeof n=="string"?n:n.name,r.schema);if(!l)return!1;l==="node"&&(s=de(n,r.schema)),l==="mark"&&(o=_t(n,r.schema));let a=!1;return t.selection.ranges.forEach(c=>{r.doc.nodesBetween(c.$from.pos,c.$to.pos,(u,d)=>{s&&s===u.type&&(a=!0,i&&t.setNodeMarkup(d,void 0,Ka(u.attrs,e))),o&&u.marks.length&&u.marks.forEach(h=>{o===h.type&&(a=!0,i&&t.addMark(d,d+u.nodeSize,o.create(Ka(h.attrs,e))))})})}),a},_b=()=>({tr:n,dispatch:e})=>(e&&n.scrollIntoView(),!0),Lb=()=>({tr:n,dispatch:e})=>{if(e){const t=new Ge(n.doc);n.setSelection(t)}return!0},Rb=()=>({state:n,dispatch:e})=>ku(n,e),Pb=()=>({state:n,dispatch:e})=>Cu(n,e),Bb=()=>({state:n,dispatch:e})=>Xg(n,e),zb=()=>({state:n,dispatch:e})=>ey(n,e),$b=()=>({state:n,dispatch:e})=>Zg(n,e);function Ao(n,e,t={},r={}){return Yr(n,e,{slice:!1,parseOptions:t,errorOnInvalidContent:r.errorOnInvalidContent})}var Fb=(n,{errorOnInvalidContent:e,emitUpdate:t=!0,parseOptions:r={}}={})=>({editor:i,tr:s,dispatch:o,commands:l})=>{const{doc:a}=s;if(r.preserveWhitespace!=="full"){const c=Ao(n,i.schema,r,{errorOnInvalidContent:e??i.options.enableContentCheck});return o&&s.replaceWith(0,a.content.size,c).setMeta("preventUpdate",!t),!0}return o&&s.setMeta("preventUpdate",!t),l.insertContentAt({from:0,to:a.content.size},n,{parseOptions:r,errorOnInvalidContent:e??i.options.enableContentCheck})};function yd(n,e){const t=_t(e,n.schema),{from:r,to:i,empty:s}=n.selection,o=[];s?(n.storedMarks&&o.push(...n.storedMarks),o.push(...n.selection.$head.marks())):n.doc.nodesBetween(r,i,a=>{o.push(...a.marks)});const l=o.find(a=>a.type.name===t.name);return l?{...l.attrs}:{}}function bd(n,e){const t=new pu(n);return e.forEach(r=>{r.steps.forEach(i=>{t.step(i)})}),t}function Yb(n){for(let e=0;e{t(i)&&r.push({node:i,pos:s})}),r}function Vb(n,e){for(let t=n.depth;t>0;t-=1){const r=n.node(t);if(e(r))return{pos:t>0?n.before(t):0,start:n.start(t),depth:t,node:r}}}function Ts(n){return e=>Vb(e.$from,n)}function _(n,e,t){return n.config[e]===void 0&&n.parent?_(n.parent,e,t):typeof n.config[e]=="function"?n.config[e].bind({...t,parent:n.parent?_(n.parent,e,t):null}):n.config[e]}function gl(n){return n.map(e=>{const t={name:e.name,options:e.options,storage:e.storage},r=_(e,"addExtensions",t);return r?[e,...gl(r())]:e}).flat(10)}function yl(n,e){const t=Rn.fromSchema(e).serializeFragment(n),i=document.implementation.createHTMLDocument().createElement("div");return i.appendChild(t),i.innerHTML}function xd(n){return typeof n=="function"}function X(n,e=void 0,...t){return xd(n)?e?n.bind(e)(...t):n(...t):n}function jb(n={}){return Object.keys(n).length===0&&n.constructor===Object}function Xn(n){const e=n.filter(i=>i.type==="extension"),t=n.filter(i=>i.type==="node"),r=n.filter(i=>i.type==="mark");return{baseExtensions:e,nodeExtensions:t,markExtensions:r}}function kd(n){const e=[],{nodeExtensions:t,markExtensions:r}=Xn(n),i=[...t,...r],s={default:null,validate:void 0,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1},o=t.filter(c=>c.name!=="text").map(c=>c.name),l=r.map(c=>c.name),a=[...o,...l];return n.forEach(c=>{const u={name:c.name,options:c.options,storage:c.storage,extensions:i},d=_(c,"addGlobalAttributes",u);if(!d)return;d().forEach(f=>{let p;Array.isArray(f.types)?p=f.types:f.types==="*"?p=a:f.types==="nodes"?p=o:f.types==="marks"?p=l:p=[],p.forEach(m=>{Object.entries(f.attributes).forEach(([g,y])=>{e.push({type:m,name:g,attribute:{...s,...y}})})})})}),i.forEach(c=>{const u={name:c.name,options:c.options,storage:c.storage},d=_(c,"addAttributes",u);if(!d)return;const h=d();Object.entries(h).forEach(([f,p])=>{const m={...s,...p};typeof m?.default=="function"&&(m.default=m.default()),m?.isRequired&&m?.default===void 0&&delete m.default,e.push({type:c.name,name:f,attribute:m})})}),e}function Ub(n){const e=[];let t="",r=!1,i=!1,s=0;const o=n.length;for(let l=0;l0){s-=1,t+=a;continue}if(a===";"&&s===0){e.push(t),t="";continue}}t+=a}return t&&e.push(t),e}function qa(n){const e=[],t=Ub(n||""),r=t.length;for(let i=0;i!!e).reduce((e,t)=>{const r={...e};return Object.entries(t).forEach(([i,s])=>{if(!r[i]){r[i]=s;return}if(i==="class"){const l=s?String(s).split(" "):[],a=r[i]?r[i].split(" "):[],c=l.filter(u=>!a.includes(u));r[i]=[...a,...c].join(" ")}else if(i==="style"){const l=new Map([...qa(r[i]),...qa(s)]);r[i]=Array.from(l.entries()).map(([a,c])=>`${a}: ${c}`).join("; ")}else r[i]=s}),r},{})}function Hr(n,e){return e.filter(t=>t.type===n.type.name).filter(t=>t.attribute.rendered).map(t=>t.attribute.renderHTML?t.attribute.renderHTML(n.attrs)||{}:{[t.name]:n.attrs[t.name]}).reduce((t,r)=>ae(t,r),{})}function Wb(n){return typeof n!="string"?n:n.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(n):n==="true"?!0:n==="false"?!1:n}function Ja(n,e){return"style"in n?n:{...n,getAttrs:t=>{const r=n.getAttrs?n.getAttrs(t):n.attrs;if(r===!1)return!1;const i=e.reduce((s,o)=>{const l=o.attribute.parseHTML?o.attribute.parseHTML(t):Wb(t.getAttribute(o.name));return l==null?s:{...s,[o.name]:l}},{});return{...r,...i}}}}function Ga(n){return Object.fromEntries(Object.entries(n).filter(([e,t])=>e==="attrs"&&jb(t)?!1:t!=null))}function Xa(n){var e,t;const r={};return!((e=n?.attribute)!=null&&e.isRequired)&&"default"in(n?.attribute||{})&&(r.default=n.attribute.default),((t=n?.attribute)==null?void 0:t.validate)!==void 0&&(r.validate=n.attribute.validate),[n.name,r]}function Kb(n,e){var t;const r=kd(n),{nodeExtensions:i,markExtensions:s}=Xn(n),o=(t=i.find(c=>_(c,"topNode")))==null?void 0:t.name,l=Object.fromEntries(i.map(c=>{const u=r.filter(y=>y.type===c.name),d={name:c.name,options:c.options,storage:c.storage,editor:e},h=n.reduce((y,k)=>{const x=_(k,"extendNodeSchema",d);return{...y,...x?x(c):{}}},{}),f=Ga({...h,content:X(_(c,"content",d)),marks:X(_(c,"marks",d)),group:X(_(c,"group",d)),inline:X(_(c,"inline",d)),atom:X(_(c,"atom",d)),selectable:X(_(c,"selectable",d)),draggable:X(_(c,"draggable",d)),code:X(_(c,"code",d)),whitespace:X(_(c,"whitespace",d)),linebreakReplacement:X(_(c,"linebreakReplacement",d)),defining:X(_(c,"defining",d)),isolating:X(_(c,"isolating",d)),attrs:Object.fromEntries(u.map(Xa))}),p=X(_(c,"parseHTML",d));p&&(f.parseDOM=p.map(y=>Ja(y,u)));const m=_(c,"renderHTML",d);m&&(f.toDOM=y=>m({node:y,HTMLAttributes:Hr(y,u)}));const g=_(c,"renderText",d);return g&&(f.toText=g),[c.name,f]})),a=Object.fromEntries(s.map(c=>{const u=r.filter(g=>g.type===c.name),d={name:c.name,options:c.options,storage:c.storage,editor:e},h=n.reduce((g,y)=>{const k=_(y,"extendMarkSchema",d);return{...g,...k?k(c):{}}},{}),f=Ga({...h,inclusive:X(_(c,"inclusive",d)),excludes:X(_(c,"excludes",d)),group:X(_(c,"group",d)),spanning:X(_(c,"spanning",d)),code:X(_(c,"code",d)),attrs:Object.fromEntries(u.map(Xa))}),p=X(_(c,"parseHTML",d));p&&(f.parseDOM=p.map(g=>Ja(g,u)));const m=_(c,"renderHTML",d);return m&&(f.toDOM=g=>m({mark:g,HTMLAttributes:Hr(g,u)})),[c.name,f]}));return new Qc({topNode:o,nodes:l,marks:a})}function qb(n){const e=n.filter((t,r)=>n.indexOf(t)!==r);return Array.from(new Set(e))}function Cr(n){return n.sort((t,r)=>{const i=_(t,"priority")||100,s=_(r,"priority")||100;return i>s?-1:ir.name));return t.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${t.map(r=>`'${r}'`).join(", ")}]. This can lead to issues.`),e}function vd(n,e,t){const{from:r,to:i}=e,{blockSeparator:s=` + +`,textSerializers:o={}}=t||{};let l="";return n.nodesBetween(r,i,(a,c,u,d)=>{var h;a.isBlock&&c>r&&(l+=s);const f=o?.[a.type.name];if(f)return u&&(l+=f({node:a,pos:c,parent:u,index:d,range:e})),!1;a.isText&&(l+=(h=a?.text)==null?void 0:h.slice(Math.max(r,c)-c,i-c))}),l}function Jb(n,e){const t={from:0,to:n.content.size};return vd(n,t,e)}function Cd(n){return Object.fromEntries(Object.entries(n.nodes).filter(([,e])=>e.spec.toText).map(([e,t])=>[e,t.spec.toText]))}function Gb(n,e){const t=de(e,n.schema),{from:r,to:i}=n.selection,s=[];n.doc.nodesBetween(r,i,l=>{s.push(l)});const o=s.reverse().find(l=>l.type.name===t.name);return o?{...o.attrs}:{}}function Sd(n,e){const t=Ss(typeof e=="string"?e:e.name,n.schema);return t==="node"?Gb(n,e):t==="mark"?yd(n,e):{}}function Xb(n,e=JSON.stringify){const t={};return n.filter(r=>{const i=e(r);return Object.prototype.hasOwnProperty.call(t,i)?!1:t[i]=!0})}function Qb(n){const e=Xb(n);return e.length===1?e:e.filter((t,r)=>!e.filter((s,o)=>o!==r).some(s=>t.oldRange.from>=s.oldRange.from&&t.oldRange.to<=s.oldRange.to&&t.newRange.from>=s.newRange.from&&t.newRange.to<=s.newRange.to))}function Td(n){const{mapping:e,steps:t}=n,r=[];return e.maps.forEach((i,s)=>{const o=[];if(i.ranges.length)i.forEach((l,a)=>{o.push({from:l,to:a})});else{const{from:l,to:a}=t[s];if(l===void 0||a===void 0)return;o.push({from:l,to:a})}o.forEach(({from:l,to:a})=>{const c=e.slice(s).map(l,-1),u=e.slice(s).map(a),d=e.invert().map(c,-1),h=e.invert().map(u);r.push({oldRange:{from:d,to:h},newRange:{from:c,to:u}})})}),Qb(r)}function bl(n,e,t){const r=[];return n===e?t.resolve(n).marks().forEach(i=>{const s=t.resolve(n),o=ml(s,i.type);o&&r.push({mark:i,...o})}):t.nodesBetween(n,e,(i,s)=>{!i||i?.nodeSize===void 0||r.push(...i.marks.map(o=>({from:s,to:s+i.nodeSize,mark:o})))}),r}var Zb=(n,e,t,r=20)=>{const i=n.doc.resolve(t);let s=r,o=null;for(;s>0&&o===null;){const l=i.node(s);l?.type.name===e?o=l:s-=1}return[o,s]};function lr(n,e){return e.nodes[n]||e.marks[n]||null}function yi(n,e,t){return Object.fromEntries(Object.entries(t).filter(([r])=>{const i=n.find(s=>s.type===e&&s.name===r);return i?i.attribute.keepOnSplit:!1}))}var ex=(n,e=500)=>{let t="";const r=n.parentOffset;return n.parent.nodesBetween(Math.max(0,r-e),r,(i,s,o,l)=>{var a,c;const u=((c=(a=i.type.spec).toText)==null?void 0:c.call(a,{node:i,pos:s,parent:o,index:l}))||i.textContent||"%leaf%";t+=i.isAtom&&!i.isText?u:u.slice(0,Math.max(0,r-s))}),t};function Eo(n,e,t={}){const{empty:r,ranges:i}=n.selection,s=e?_t(e,n.schema):null;if(r)return!!(n.storedMarks||n.selection.$from.marks()).filter(d=>s?s.name===d.type.name:!0).find(d=>Li(d.attrs,t,{strict:!1}));let o=0;const l=[];if(i.forEach(({$from:d,$to:h})=>{const f=d.pos,p=h.pos;n.doc.nodesBetween(f,p,(m,g)=>{if(s&&m.inlineContent&&!m.type.allowsMarkType(s))return!1;if(!m.isText&&!m.marks.length)return;const y=Math.max(f,g),k=Math.min(p,g+m.nodeSize),x=k-y;o+=x,l.push(...m.marks.map(T=>({mark:T,from:y,to:k})))})}),o===0)return!1;const a=l.filter(d=>s?s.name===d.mark.type.name:!0).filter(d=>Li(d.mark.attrs,t,{strict:!1})).reduce((d,h)=>d+h.to-h.from,0),c=l.filter(d=>s?d.mark.type!==s&&d.mark.type.excludes(s):!0).reduce((d,h)=>d+h.to-h.from,0);return(a>0?a+c:a)>=o}function tx(n,e,t={}){if(!e)return rn(n,null,t)||Eo(n,null,t);const r=Ss(e,n.schema);return r==="node"?rn(n,e,t):r==="mark"?Eo(n,e,t):!1}var nx=(n,e)=>{const{$from:t,$to:r,$anchor:i}=n.selection;if(e){const s=Ts(l=>l.type.name===e)(n.selection);if(!s)return!1;const o=n.doc.resolve(s.pos+1);return i.pos+1===o.end()}return!(r.parentOffset{const{$from:e,$to:t}=n.selection;return!(e.parentOffset>0||e.pos!==t.pos)};function Qa(n,e){return Array.isArray(e)?e.some(t=>(typeof t=="string"?t:t.name)===n.name):e}function Za(n,e){const{nodeExtensions:t}=Xn(e),r=t.find(o=>o.name===n);if(!r)return!1;const i={name:r.name,options:r.options,storage:r.storage},s=X(_(r,"group",i));return typeof s!="string"?!1:s.split(" ").includes("list")}function Ms(n,{checkChildren:e=!0,ignoreWhitespace:t=!1}={}){var r;if(t){if(n.type.name==="hardBreak")return!0;if(n.isText)return/^\s*$/m.test((r=n.text)!=null?r:"")}if(n.isText)return!n.text;if(n.isAtom||n.isLeaf)return!1;if(n.content.childCount===0)return!0;if(e){let i=!0;return n.content.forEach(s=>{i!==!1&&(Ms(s,{ignoreWhitespace:t,checkChildren:e})||(i=!1))}),i}return!1}function Md(n){return n instanceof P}var Ad=class Ed{constructor(e){this.position=e}static fromJSON(e){return new Ed(e.position)}toJSON(){return{position:this.position}}};function ix(n,e){const t=e.mapping.mapResult(n.position);return{position:new Ad(t.pos),mapResult:t}}function sx(n){return new Ad(n)}function ox(n,e,t){var r;const{selection:i}=e;let s=null;if(fd(i)&&(s=i.$cursor),s){const l=(r=n.storedMarks)!=null?r:s.marks();return s.parent.type.allowsMarkType(t)&&(!!t.isInSet(l)||!l.some(c=>c.type.excludes(t)))}const{ranges:o}=i;return o.some(({$from:l,$to:a})=>{let c=l.depth===0?n.doc.inlineContent&&n.doc.type.allowsMarkType(t):!1;return n.doc.nodesBetween(l.pos,a.pos,(u,d,h)=>{if(c)return!1;if(u.isInline){const f=!h||h.type.allowsMarkType(t),p=!!t.isInSet(u.marks)||!u.marks.some(m=>m.type.excludes(t));c=f&&p}return!c}),c})}var lx=(n,e={})=>({tr:t,state:r,dispatch:i})=>{const{selection:s}=t,{empty:o,ranges:l}=s,a=_t(n,r.schema);if(i)if(o){const c=yd(r,a);t.addStoredMark(a.create({...c,...e}))}else l.forEach(c=>{const u=c.$from.pos,d=c.$to.pos;r.doc.nodesBetween(u,d,(h,f)=>{const p=Math.max(f,u),m=Math.min(f+h.nodeSize,d);h.marks.find(y=>y.type===a)?h.marks.forEach(y=>{a===y.type&&t.addMark(p,m,a.create({...y.attrs,...e}))}):t.addMark(p,m,a.create(e))})});return ox(r,t,a)},ax=(n,e)=>({tr:t})=>(t.setMeta(n,e),!0),cx=(n,e={})=>({state:t,dispatch:r,chain:i})=>{const s=de(n,t.schema);let o;return t.selection.$anchor.sameParent(t.selection.$head)&&(o=t.selection.$anchor.parent.attrs),s.isTextblock?i().command(({commands:l})=>da(s,{...o,...e})(t)?!0:l.clearNodes()).command(({state:l})=>da(s,{...o,...e})(l,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},ux=n=>({tr:e,dispatch:t})=>{if(t){const{doc:r}=e,i=gn(n,0,r.content.size),s=P.create(r,i);e.setSelection(s)}return!0},dx=(n,e)=>({tr:t,state:r,dispatch:i})=>{const{selection:s}=r;let o,l;return typeof e=="number"?(o=e,l=e):e&&"from"in e&&"to"in e?(o=e.from,l=e.to):(o=s.from,l=s.to),i&&t.doc.nodesBetween(o,l,(a,c)=>{a.isText||t.setNodeMarkup(c,void 0,{...a.attrs,dir:n})}),!0},hx=n=>({tr:e,dispatch:t})=>{if(t){const{doc:r}=e,{from:i,to:s}=typeof n=="number"?{from:n,to:n}:n,o=$.atStart(r).from,l=$.atEnd(r).to,a=gn(i,o,l),c=gn(s,o,l),u=$.create(r,a,c);e.setSelection(u)}return!0},fx=n=>({state:e,dispatch:t})=>{const r=de(n,e.schema);return ay(r)(e,t)};function ec(n,e){const t=n.storedMarks||n.selection.$to.parentOffset&&n.selection.$from.marks();if(t){const r=t.filter(i=>e?.includes(i.type.name));n.tr.ensureMarks(r)}}var px=({keepMarks:n=!0}={})=>({tr:e,state:t,dispatch:r,editor:i})=>{const{selection:s,doc:o}=e,{$from:l,$to:a}=s,c=i.extensionManager.attributes,u=yi(c,l.node().type.name,l.node().attrs);if(s instanceof P&&s.node.isBlock)return!l.parentOffset||!Nt(o,l.pos)?!1:(r&&(n&&ec(t,i.extensionManager.splittableMarks),e.split(l.pos).scrollIntoView()),!0);if(!l.parent.isBlock)return!1;const d=a.parentOffset===a.parent.content.size,h=l.depth===0?void 0:Yb(l.node(-1).contentMatchAt(l.indexAfter(-1)));let f=d&&h?[{type:h,attrs:u}]:void 0,p=Nt(e.doc,e.mapping.map(l.pos),1,f);if(!f&&!p&&Nt(e.doc,e.mapping.map(l.pos),1,h?[{type:h}]:void 0)&&(p=!0,f=h?[{type:h,attrs:u}]:void 0),r){if(p&&(s instanceof $&&e.deleteSelection(),e.split(e.mapping.map(l.pos),1,f),h&&!d&&!l.parentOffset&&l.parent.type!==h)){const m=e.mapping.map(l.before()),g=e.doc.resolve(m);l.node(-1).canReplaceWith(g.index(),g.index()+1,h)&&e.setNodeMarkup(e.mapping.map(l.before()),h)}n&&ec(t,i.extensionManager.splittableMarks),e.scrollIntoView()}return p},mx=(n,e={})=>({tr:t,state:r,dispatch:i,editor:s})=>{var o;const l=de(n,r.schema),{$from:a,$to:c}=r.selection,u=r.selection.node;if(u&&u.isBlock||a.depth<2||!a.sameParent(c))return!1;const d=a.node(-1);if(d.type!==l)return!1;const h=s.extensionManager.attributes;if(a.parent.content.size===0&&a.node(-1).childCount===a.indexAfter(-1)){if(a.depth===2||a.node(-3).type!==l||a.index(-2)!==a.node(-2).childCount-1)return!1;if(i){let y=C.empty;const k=a.index(-1)?1:a.index(-2)?2:3;for(let R=a.depth-k;R>=a.depth-3;R-=1)y=C.from(a.node(R).copy(y));const x=a.indexAfter(-1){if(O>-1)return!1;R.isTextblock&&R.content.size===0&&(O=K+1)}),O>-1&&t.setSelection($.near(t.doc.resolve(O))),t.scrollIntoView()}return!0}const f=c.pos===a.end()?d.contentMatchAt(0).defaultType:null,p={...yi(h,d.type.name,d.attrs),...e},m={...yi(h,a.node().type.name,a.node().attrs),...e};t.delete(a.pos,c.pos);const g=f?[{type:l,attrs:p},{type:f,attrs:m}]:[{type:l,attrs:p}];if(!Nt(t.doc,a.pos,2))return!1;if(i){const{selection:y,storedMarks:k}=r,{splittableMarks:x}=s.extensionManager,T=k||y.$to.parentOffset&&y.$from.marks();if(t.split(a.pos,2,g).scrollIntoView(),!T||!i)return!0;const E=T.filter(I=>x.includes(I.type.name));t.ensureMarks(E)}return!0},Js=(n,e)=>{const t=Ts(o=>o.type===e)(n.selection);if(!t)return!0;const r=n.doc.resolve(Math.max(0,t.pos-1)).before(t.depth);if(r===void 0)return!0;const i=n.doc.nodeAt(r);return t.node.type===i?.type&&an(n.doc,t.pos)&&n.join(t.pos),!0},Gs=(n,e)=>{const t=Ts(o=>o.type===e)(n.selection);if(!t)return!0;const r=n.doc.resolve(t.start).after(t.depth);if(r===void 0)return!0;const i=n.doc.nodeAt(r);return t.node.type===i?.type&&an(n.doc,r)&&n.join(r),!0},gx=(n,e,t,r={})=>({editor:i,tr:s,state:o,dispatch:l,chain:a,commands:c,can:u})=>{const{extensions:d,splittableMarks:h}=i.extensionManager,f=de(n,o.schema),p=de(e,o.schema),{selection:m,storedMarks:g}=o,{$from:y,$to:k}=m,x=y.blockRange(k),T=g||m.$to.parentOffset&&m.$from.marks();if(!x)return!1;const E=Ts(I=>Za(I.type.name,d))(m);if(x.depth>=1&&E&&x.depth-E.depth<=1){if(E.node.type===f)return c.liftListItem(p);if(Za(E.node.type.name,d)&&f.validContent(E.node.content)&&l)return a().command(()=>(s.setNodeMarkup(E.pos,f),!0)).command(()=>Js(s,f)).command(()=>Gs(s,f)).run()}return!t||!T||!l?a().command(()=>u().wrapInList(f,r)?!0:c.clearNodes()).wrapInList(f,r).command(()=>Js(s,f)).command(()=>Gs(s,f)).run():a().command(()=>{const I=u().wrapInList(f,r),O=T.filter(R=>h.includes(R.type.name));return s.ensureMarks(O),I?!0:c.clearNodes()}).wrapInList(f,r).command(()=>Js(s,f)).command(()=>Gs(s,f)).run()},yx=(n,e={},t={})=>({state:r,commands:i})=>{const{extendEmptyMarkRange:s=!1}=t,o=_t(n,r.schema);return Eo(r,o,e)?i.unsetMark(o,{extendEmptyMarkRange:s}):i.setMark(o,e)},bx=(n,e,t={})=>({state:r,commands:i})=>{const s=de(n,r.schema),o=de(e,r.schema),l=rn(r,s,t);let a;return r.selection.$anchor.sameParent(r.selection.$head)&&(a=r.selection.$anchor.parent.attrs),l?i.setNode(o,a):i.setNode(s,{...a,...t})},xx=(n,e={})=>({state:t,commands:r})=>{const i=de(n,t.schema);return rn(t,i,e)?r.lift(i):r.wrapIn(i,e)},kx=()=>({state:n,dispatch:e})=>{const t=n.plugins;for(let r=0;r=0;a-=1)o.step(l.steps[a].invert(l.docs[a]));if(s.text){const a=o.doc.resolve(s.from).marks();o.replaceWith(s.from,s.to,n.schema.text(s.text,a))}else o.delete(s.from,s.to)}return!0}}return!1},wx=()=>({tr:n,dispatch:e})=>{const{selection:t}=n,{empty:r,ranges:i}=t;return r||e&&i.forEach(s=>{n.removeMark(s.$from.pos,s.$to.pos)}),!0},vx=(n,e={})=>({tr:t,state:r,dispatch:i})=>{var s;const{extendEmptyMarkRange:o=!1}=e,{selection:l}=t,a=_t(n,r.schema),{$from:c,empty:u,ranges:d}=l;if(!i)return!0;if(u&&o){let{from:h,to:f}=l;const p=(s=c.marks().find(g=>g.type===a))==null?void 0:s.attrs,m=ml(c,a,p);m&&(h=m.from,f=m.to),t.removeMark(h,f,a)}else d.forEach(h=>{t.removeMark(h.$from.pos,h.$to.pos,a)});return t.removeStoredMark(a),!0},Cx=n=>({tr:e,state:t,dispatch:r})=>{const{selection:i}=t;let s,o;return typeof n=="number"?(s=n,o=n):n&&"from"in n&&"to"in n?(s=n.from,o=n.to):(s=i.from,o=i.to),r&&e.doc.nodesBetween(s,o,(l,a)=>{if(l.isText)return;const c={...l.attrs};delete c.dir,e.setNodeMarkup(a,void 0,c)}),!0},Sx=(n,e={})=>({tr:t,state:r,dispatch:i})=>{let s=null,o=null;const l=Ss(typeof n=="string"?n:n.name,r.schema);if(!l)return!1;l==="node"&&(s=de(n,r.schema)),l==="mark"&&(o=_t(n,r.schema));let a=!1;return t.selection.ranges.forEach(c=>{const u=c.$from.pos,d=c.$to.pos;let h,f,p,m;t.selection.empty?r.doc.nodesBetween(u,d,(g,y)=>{s&&s===g.type&&(a=!0,p=Math.max(y,u),m=Math.min(y+g.nodeSize,d),h=y,f=g)}):r.doc.nodesBetween(u,d,(g,y)=>{y=u&&y<=d&&(s&&s===g.type&&(a=!0,i&&t.setNodeMarkup(y,void 0,{...g.attrs,...e})),o&&g.marks.length&&g.marks.forEach(k=>{if(o===k.type&&(a=!0,i)){const x=Math.max(y,u),T=Math.min(y+g.nodeSize,d);t.addMark(x,T,o.create({...k.attrs,...e}))}}))}),f&&(h!==void 0&&i&&t.setNodeMarkup(h,void 0,{...f.attrs,...e}),o&&f.marks.length&&f.marks.forEach(g=>{o===g.type&&i&&t.addMark(p,m,o.create({...g.attrs,...e}))}))}),a},Tx=(n,e={})=>({state:t,dispatch:r})=>{const i=de(n,t.schema);return ty(i,e)(t,r)},Mx=(n,e={})=>({state:t,dispatch:r})=>{const i=de(n,t.schema);return ny(i,e)(t,r)},Ax=class{constructor(){this.callbacks={}}on(n,e){return this.callbacks[n]||(this.callbacks[n]=[]),this.callbacks[n].push(e),this}emit(n,...e){const t=this.callbacks[n];return t&&t.forEach(r=>r.apply(this,e)),this}off(n,e){const t=this.callbacks[n];return t&&(e?this.callbacks[n]=t.filter(r=>r!==e):delete this.callbacks[n]),this}once(n,e){const t=(...r)=>{this.off(n,t),e.apply(this,r)};return this.on(n,t)}removeAllListeners(){this.callbacks={}}},As=class{constructor(n){var e;this.find=n.find,this.handler=n.handler,this.undoable=(e=n.undoable)!=null?e:!0}},Ex=(n,e)=>{if(pl(e))return e.exec(n);const t=e(n);if(!t)return null;const r=[t.text];return r.index=t.index,r.input=n,r.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(t.replaceWith)),r};function li(n){var e;const{editor:t,from:r,to:i,text:s,rules:o,plugin:l}=n,{view:a}=t;if(a.composing)return!1;const c=a.state.doc.resolve(r);if(c.parent.type.spec.code||(e=c.nodeBefore||c.nodeAfter)!=null&&e.marks.find(h=>h.type.spec.code))return!1;let u=!1;const d=ex(c)+s;return o.forEach(h=>{if(u)return;const f=Ex(d,h.find);if(!f)return;const p=a.state.tr,m=vs({state:a.state,transaction:p}),g={from:r-(f[0].length-s.length),to:i},{commands:y,chain:k,can:x}=new Cs({editor:t,state:m});h.handler({state:m,range:g,match:f,commands:y,chain:k,can:x})===null||!p.steps.length||(h.undoable&&p.setMeta(l,{transform:p,from:r,to:i,text:s}),a.dispatch(p),u=!0)}),u}function Dx(n){const{editor:e,rules:t}=n,r=new ie({state:{init(){return null},apply(i,s,o){const l=i.getMeta(r);if(l)return l;const a=i.getMeta("applyInputRules");return a&&setTimeout(()=>{let{text:u}=a;typeof u=="string"?u=u:u=yl(C.from(u),o.schema);const{from:d}=a,h=d+u.length;li({editor:e,from:d,to:h,text:u,rules:t,plugin:r})}),i.selectionSet||i.docChanged?null:s}},props:{handleTextInput(i,s,o,l){return li({editor:e,from:s,to:o,text:l,rules:t,plugin:r})},handleDOMEvents:{compositionend:i=>(setTimeout(()=>{const{$cursor:s}=i.state.selection;s&&li({editor:e,from:s.pos,to:s.pos,text:"",rules:t,plugin:r})}),!1)},handleKeyDown(i,s){if(s.key!=="Enter")return!1;const{$cursor:o}=i.state.selection;return o?li({editor:e,from:o.pos,to:o.pos,text:` +`,rules:t,plugin:r}):!1}},isInputRules:!0});return r}function Ox(n){return Object.prototype.toString.call(n).slice(8,-1)}function ai(n){return Ox(n)!=="Object"?!1:n.constructor===Object&&Object.getPrototypeOf(n)===Object.prototype}function Dd(n,e){const t={...n};return ai(n)&&ai(e)&&Object.keys(e).forEach(r=>{ai(e[r])&&ai(n[r])?t[r]=Dd(n[r],e[r]):t[r]=e[r]}),t}var xl=class{constructor(n={}){this.type="extendable",this.parent=null,this.child=null,this.name="",this.config={name:this.name},this.config={...this.config,...n},this.name=this.config.name}get options(){return{...X(_(this,"addOptions",{name:this.name}))||{}}}get storage(){return{...X(_(this,"addStorage",{name:this.name,options:this.options}))||{}}}configure(n={}){const e=this.extend({...this.config,addOptions:()=>Dd(this.options,n)});return e.name=this.name,e.parent=this.parent,e}extend(n={}){const e=new this.constructor({...this.config,...n});return e.parent=this,this.child=e,e.name="name"in n?n.name:e.parent.name,e}},Pn=class Od extends xl{constructor(){super(...arguments),this.type="mark"}static create(e={}){const t=typeof e=="function"?e():e;return new Od(t)}static handleExit({editor:e,mark:t}){const{tr:r}=e.state,i=e.state.selection.$from;if(i.pos===i.end()){const o=i.marks();if(!!!o.find(c=>c?.type.name===t.name))return!1;const a=o.find(c=>c?.type.name===t.name);return a&&r.removeStoredMark(a),r.insertText(" ",i.pos),e.view.dispatch(r),!0}return!1}configure(e){return super.configure(e)}extend(e){const t=typeof e=="function"?e():e;return super.extend(t)}};function Nx(n){return typeof n=="number"}var Ix=class{constructor(n){this.find=n.find,this.handler=n.handler}},_x=(n,e,t)=>{if(pl(e))return[...n.matchAll(e)];const r=e(n,t);return r?r.map(i=>{const s=[i.text];return s.index=i.index,s.input=n,s.data=i.data,i.replaceWith&&(i.text.includes(i.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),s.push(i.replaceWith)),s}):[]};function Lx(n){const{editor:e,state:t,from:r,to:i,rule:s,pasteEvent:o,dropEvent:l}=n,{commands:a,chain:c,can:u}=new Cs({editor:e,state:t}),d=[];return t.doc.nodesBetween(r,i,(f,p)=>{var m,g,y,k,x;if((g=(m=f.type)==null?void 0:m.spec)!=null&&g.code||!(f.isText||f.isTextblock||f.isInline))return;const T=(x=(k=(y=f.content)==null?void 0:y.size)!=null?k:f.nodeSize)!=null?x:0,E=Math.max(r,p),I=Math.min(i,p+T);if(E>=I)return;const O=f.isText?f.text||"":f.textBetween(E-p,I-p,void 0,"");_x(O,s.find,o).forEach(K=>{if(K.index===void 0)return;const Se=E+K.index+1,Lt=Se+K[0].length,dt={from:t.tr.mapping.map(Se),to:t.tr.mapping.map(Lt)},wt=s.handler({state:t,range:dt,match:K,commands:a,chain:c,can:u,pasteEvent:o,dropEvent:l});d.push(wt)})}),d.every(f=>f!==null)}var ci=null,Rx=n=>{var e;const t=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(e=t.clipboardData)==null||e.setData("text/html",n),t};function Px(n){const{editor:e,rules:t}=n;let r=null,i=!1,s=!1,o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,l;try{l=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{l=null}const a=({state:u,from:d,to:h,rule:f,pasteEvt:p})=>{const m=u.tr,g=vs({state:u,transaction:m});if(!(!Lx({editor:e,state:g,from:Math.max(d-1,0),to:h.b-1,rule:f,pasteEvent:p,dropEvent:l})||!m.steps.length)){try{l=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{l=null}return o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,m}};return t.map(u=>new ie({view(d){const h=p=>{var m;r=(m=d.dom.parentElement)!=null&&m.contains(p.target)?d.dom.parentElement:null,r&&(ci=e)},f=()=>{ci&&(ci=null)};return window.addEventListener("dragstart",h),window.addEventListener("dragend",f),{destroy(){window.removeEventListener("dragstart",h),window.removeEventListener("dragend",f)}}},props:{handleDOMEvents:{drop:(d,h)=>{if(s=r===d.dom.parentElement,l=h,!s){const f=ci;f?.isEditable&&setTimeout(()=>{const p=f.state.selection;p&&f.commands.deleteRange({from:p.from,to:p.to})},10)}return!1},paste:(d,h)=>{var f;const p=(f=h.clipboardData)==null?void 0:f.getData("text/html");return o=h,i=!!p?.includes("data-pm-slice"),!1}}},appendTransaction:(d,h,f)=>{const p=d[0],m=p.getMeta("uiEvent")==="paste"&&!i,g=p.getMeta("uiEvent")==="drop"&&!s,y=p.getMeta("applyPasteRules"),k=!!y;if(!m&&!g&&!k)return;if(k){let{text:E}=y;typeof E=="string"?E=E:E=yl(C.from(E),f.schema);const{from:I}=y,O=I+E.length,R=Rx(E);return a({rule:u,state:f,from:I,to:{b:O},pasteEvt:R})}const x=h.doc.content.findDiffStart(f.doc.content),T=h.doc.content.findDiffEnd(f.doc.content);if(!(!Nx(x)||!T||x===T.b))return a({rule:u,state:f,from:x,to:T,pasteEvt:o})}}))}var Es=class{constructor(n,e){this.splittableMarks=[],this.editor=e,this.baseExtensions=n,this.extensions=wd(n),this.schema=Kb(this.extensions,e),this.setupExtensions()}get commands(){return this.extensions.reduce((n,e)=>{const t={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:lr(e.name,this.schema)},r=_(e,"addCommands",t);return r?{...n,...r()}:n},{})}get plugins(){const{editor:n}=this;return Cr([...this.extensions].reverse()).flatMap(r=>{const i={name:r.name,options:r.options,storage:this.editor.extensionStorage[r.name],editor:n,type:lr(r.name,this.schema)},s=[],o=_(r,"addKeyboardShortcuts",i);let l={};if(r.type==="mark"&&_(r,"exitable",i)&&(l.ArrowRight=()=>Pn.handleExit({editor:n,mark:r})),o){const h=Object.fromEntries(Object.entries(o()).map(([f,p])=>[f,()=>p({editor:n})]));l={...l,...h}}const a=J0(l);s.push(a);const c=_(r,"addInputRules",i);if(Qa(r,n.options.enableInputRules)&&c){const h=c();if(h&&h.length){const f=Dx({editor:n,rules:h}),p=Array.isArray(f)?f:[f];s.push(...p)}}const u=_(r,"addPasteRules",i);if(Qa(r,n.options.enablePasteRules)&&u){const h=u();if(h&&h.length){const f=Px({editor:n,rules:h});s.push(...f)}}const d=_(r,"addProseMirrorPlugins",i);if(d){const h=d();s.push(...h)}return s})}get attributes(){return kd(this.extensions)}get nodeViews(){const{editor:n}=this,{nodeExtensions:e}=Xn(this.extensions);return Object.fromEntries(e.filter(t=>!!_(t,"addNodeView")).map(t=>{const r=this.attributes.filter(a=>a.type===t.name),i={name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:n,type:de(t.name,this.schema)},s=_(t,"addNodeView",i);if(!s)return[];const o=s();if(!o)return[];const l=(a,c,u,d,h)=>{const f=Hr(a,r);return o({node:a,view:c,getPos:u,decorations:d,innerDecorations:h,editor:n,extension:t,HTMLAttributes:f})};return[t.name,l]}))}dispatchTransaction(n){const{editor:e}=this;return Cr([...this.extensions].reverse()).reduceRight((r,i)=>{const s={name:i.name,options:i.options,storage:this.editor.extensionStorage[i.name],editor:e,type:lr(i.name,this.schema)},o=_(i,"dispatchTransaction",s);return o?l=>{o.call(s,{transaction:l,next:r})}:r},n)}transformPastedHTML(n){const{editor:e}=this;return Cr([...this.extensions]).reduce((r,i)=>{const s={name:i.name,options:i.options,storage:this.editor.extensionStorage[i.name],editor:e,type:lr(i.name,this.schema)},o=_(i,"transformPastedHTML",s);return o?(l,a)=>{const c=r(l,a);return o.call(s,c)}:r},n||(r=>r))}get markViews(){const{editor:n}=this,{markExtensions:e}=Xn(this.extensions);return Object.fromEntries(e.filter(t=>!!_(t,"addMarkView")).map(t=>{const r=this.attributes.filter(l=>l.type===t.name),i={name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:n,type:_t(t.name,this.schema)},s=_(t,"addMarkView",i);if(!s)return[];const o=(l,a,c)=>{const u=Hr(l,r);return s()({mark:l,view:a,inline:c,editor:n,extension:t,HTMLAttributes:u,updateAttributes:d=>{Xx(l,n,d)}})};return[t.name,o]}))}setupExtensions(){const n=this.extensions;this.editor.extensionStorage=Object.fromEntries(n.map(e=>[e.name,e.storage])),n.forEach(e=>{var t;const r={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:lr(e.name,this.schema)};e.type==="mark"&&((t=X(_(e,"keepOnSplit",r)))==null||t)&&this.splittableMarks.push(e.name);const i=_(e,"onBeforeCreate",r),s=_(e,"onCreate",r),o=_(e,"onUpdate",r),l=_(e,"onSelectionUpdate",r),a=_(e,"onTransaction",r),c=_(e,"onFocus",r),u=_(e,"onBlur",r),d=_(e,"onDestroy",r);i&&this.editor.on("beforeCreate",i),s&&this.editor.on("create",s),o&&this.editor.on("update",o),l&&this.editor.on("selectionUpdate",l),a&&this.editor.on("transaction",a),c&&this.editor.on("focus",c),u&&this.editor.on("blur",u),d&&this.editor.on("destroy",d)})}};Es.resolve=wd;Es.sort=Cr;Es.flatten=gl;var Bx={};fl(Bx,{ClipboardTextSerializer:()=>Id,Commands:()=>_d,Delete:()=>Ld,Drop:()=>Rd,Editable:()=>Pd,FocusEvents:()=>zd,Keymap:()=>$d,Paste:()=>Fd,Tabindex:()=>Yd,TextDirection:()=>Hd,focusEventsPluginKey:()=>Bd});var ce=class Nd extends xl{constructor(){super(...arguments),this.type="extension"}static create(e={}){const t=typeof e=="function"?e():e;return new Nd(t)}configure(e){return super.configure(e)}extend(e){const t=typeof e=="function"?e():e;return super.extend(t)}},Id=ce.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new ie({key:new fe("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:n}=this,{state:e,schema:t}=n,{doc:r,selection:i}=e,{ranges:s}=i,o=Math.min(...s.map(u=>u.$from.pos)),l=Math.max(...s.map(u=>u.$to.pos)),a=Cd(t);return vd(r,{from:o,to:l},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:a})}}})]}}),_d=ce.create({name:"commands",addCommands(){return{...dd}}}),Ld=ce.create({name:"delete",onUpdate({transaction:n,appendedTransactions:e}){var t,r,i;const s=()=>{var o,l,a,c;if((c=(a=(l=(o=this.editor.options.coreExtensionOptions)==null?void 0:o.delete)==null?void 0:l.filterTransaction)==null?void 0:a.call(l,n))!=null?c:n.getMeta("y-sync$"))return;const u=bd(n.before,[n,...e]);Td(u).forEach(f=>{u.mapping.mapResult(f.oldRange.from).deletedAfter&&u.mapping.mapResult(f.oldRange.to).deletedBefore&&u.before.nodesBetween(f.oldRange.from,f.oldRange.to,(p,m)=>{const g=m+p.nodeSize-2,y=f.oldRange.from<=m&&g<=f.oldRange.to;this.editor.emit("delete",{type:"node",node:p,from:m,to:g,newFrom:u.mapping.map(m),newTo:u.mapping.map(g),deletedRange:f.oldRange,newRange:f.newRange,partial:!y,editor:this.editor,transaction:n,combinedTransform:u})})});const h=u.mapping;u.steps.forEach((f,p)=>{var m,g;if(f instanceof at){const y=h.slice(p).map(f.from,-1),k=h.slice(p).map(f.to),x=h.invert().map(y,-1),T=h.invert().map(k),E=(m=u.doc.nodeAt(y-1))==null?void 0:m.marks.some(O=>O.eq(f.mark)),I=(g=u.doc.nodeAt(k))==null?void 0:g.marks.some(O=>O.eq(f.mark));this.editor.emit("delete",{type:"mark",mark:f.mark,from:f.from,to:f.to,deletedRange:{from:x,to:T},newRange:{from:y,to:k},partial:!!(I||E),editor:this.editor,transaction:n,combinedTransform:u})}})};(i=(r=(t=this.editor.options.coreExtensionOptions)==null?void 0:t.delete)==null?void 0:r.async)==null||i?setTimeout(s,0):s()}}),Rd=ce.create({name:"drop",addProseMirrorPlugins(){return[new ie({key:new fe("tiptapDrop"),props:{handleDrop:(n,e,t,r)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:t,moved:r})}}})]}}),Pd=ce.create({name:"editable",addProseMirrorPlugins(){return[new ie({key:new fe("editable"),props:{editable:()=>this.editor.options.editable}})]}}),Bd=new fe("focusEvents"),zd=ce.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:n}=this;return[new ie({key:Bd,props:{handleDOMEvents:{focus:(e,t)=>{n.isFocused=!0;const r=n.state.tr.setMeta("focus",{event:t}).setMeta("addToHistory",!1);return e.dispatch(r),!1},blur:(e,t)=>{n.isFocused=!1;const r=n.state.tr.setMeta("blur",{event:t}).setMeta("addToHistory",!1);return e.dispatch(r),!1}}}})]}}),$d=ce.create({name:"keymap",addKeyboardShortcuts(){const n=()=>this.editor.commands.first(({commands:o})=>[()=>o.undoInputRule(),()=>o.command(({tr:l})=>{const{selection:a,doc:c}=l,{empty:u,$anchor:d}=a,{pos:h,parent:f}=d,p=d.parent.isTextblock&&h>0?l.doc.resolve(h-1):d,m=p.parent.type.spec.isolating,g=d.pos-d.parentOffset,y=m&&p.parent.childCount===1?g===d.pos:W.atStart(c).from===h;return!u||!f.type.isTextblock||f.textContent.length||!y||y&&d.parent.type.name==="paragraph"?!1:o.clearNodes()}),()=>o.deleteSelection(),()=>o.joinBackward(),()=>o.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:o})=>[()=>o.deleteSelection(),()=>o.deleteCurrentNode(),()=>o.joinForward(),()=>o.selectNodeForward()]),r={Enter:()=>this.editor.commands.first(({commands:o})=>[()=>o.newlineInCode(),()=>o.createParagraphNear(),()=>o.liftEmptyBlock(),()=>o.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:n,"Mod-Backspace":n,"Shift-Backspace":n,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},i={...r},s={...r,"Ctrl-h":n,"Alt-Backspace":n,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Ri()||gd()?s:i},addProseMirrorPlugins(){return[new ie({key:new fe("clearDocument"),appendTransaction:(n,e,t)=>{if(n.some(m=>m.getMeta("composition")))return;const r=n.some(m=>m.docChanged)&&!e.doc.eq(t.doc),i=n.some(m=>m.getMeta("preventClearDocument"));if(!r||i)return;const{empty:s,from:o,to:l}=e.selection,a=W.atStart(e.doc).from,c=W.atEnd(e.doc).to;if(s||!(o===a&&l===c)||!Ms(t.doc))return;const h=t.tr,f=vs({state:t,transaction:h}),{commands:p}=new Cs({editor:this.editor,state:f});if(p.clearNodes(),!!h.steps.length)return h}})]}}),Fd=ce.create({name:"paste",addProseMirrorPlugins(){return[new ie({key:new fe("tiptapPaste"),props:{handlePaste:(n,e,t)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:t})}}})]}}),Yd=ce.create({name:"tabindex",addProseMirrorPlugins(){return[new ie({key:new fe("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}}),Hd=ce.create({name:"textDirection",addOptions(){return{direction:void 0}},addGlobalAttributes(){if(!this.options.direction)return[];const{nodeExtensions:n}=Xn(this.extensions);return[{types:n.filter(e=>e.name!=="text").map(e=>e.name),attributes:{dir:{default:this.options.direction,parseHTML:e=>{const t=e.getAttribute("dir");return t&&(t==="ltr"||t==="rtl"||t==="auto")?t:this.options.direction},renderHTML:e=>e.dir?{dir:e.dir}:{}}}}]},addProseMirrorPlugins(){return[new ie({key:new fe("textDirection"),props:{attributes:()=>{const n=this.options.direction;return n?{dir:n}:{}}}})]}}),zx=class yr{constructor(e,t,r=!1,i=null){this.currentNode=null,this.actualDepth=null,this.isBlock=r,this.resolvedPos=e,this.editor=t,this.currentNode=i}get name(){return this.node.type.name}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return(e=this.actualDepth)!=null?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,r=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}t=this.from+1,r=this.to-1}this.editor.commands.insertContentAt({from:t,to:r},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),t=this.resolvedPos.doc.resolve(e);return new yr(t,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new yr(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new yr(e,this.editor)}get children(){const e=[];return this.node.content.forEach((t,r)=>{const i=t.isBlock&&!t.isTextblock,s=t.isAtom&&!t.isText,o=t.isInline,l=this.pos+r+(s?0:1);if(l<0||l>this.resolvedPos.doc.nodeSize-2)return;const a=this.resolvedPos.doc.resolve(l);if(!i&&!o&&a.depth<=this.depth)return;const c=new yr(a,this.editor,i,i||o?t:null);i&&(c.actualDepth=this.depth+1),e.push(c)}),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,t={}){let r=null,i=this.parent;for(;i&&!r;){if(i.node.type.name===e)if(Object.keys(t).length>0){const s=i.node.attrs,o=Object.keys(t);for(let l=0;l{r&&i.length>0||(o.node.type.name===e&&s.every(a=>t[a]===o.node.attrs[a])&&i.push(o),!(r&&i.length>0)&&(i=i.concat(o.querySelectorAll(e,t,r))))}),i}setAttribute(e){const{tr:t}=this.editor.state;t.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(t)}},$x=`.ProseMirror { + position: relative; +} + +.ProseMirror { + word-wrap: break-word; + white-space: pre-wrap; + white-space: break-spaces; + -webkit-font-variant-ligatures: none; + font-variant-ligatures: none; + font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */ +} + +.ProseMirror [contenteditable="false"] { + white-space: normal; +} + +.ProseMirror [contenteditable="false"] [contenteditable="true"] { + white-space: pre-wrap; +} + +.ProseMirror pre { + white-space: pre-wrap; +} + +img.ProseMirror-separator { + display: inline !important; + border: none !important; + margin: 0 !important; + width: 0 !important; + height: 0 !important; +} + +.ProseMirror-gapcursor { + display: none; + pointer-events: none; + position: absolute; + margin: 0; +} + +.ProseMirror-gapcursor:after { + content: ""; + display: block; + position: absolute; + top: -2px; + width: 20px; + border-top: 1px solid black; + animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite; +} + +@keyframes ProseMirror-cursor-blink { + to { + visibility: hidden; + } +} + +.ProseMirror-hideselection *::selection { + background: transparent; +} + +.ProseMirror-hideselection *::-moz-selection { + background: transparent; +} + +.ProseMirror-hideselection * { + caret-color: transparent; +} + +.ProseMirror-focused .ProseMirror-gapcursor { + display: block; +}`;function Fx(n,e,t){const r=document.querySelector("style[data-tiptap-style]");if(r!==null)return r;const i=document.createElement("style");return e&&i.setAttribute("nonce",e),i.setAttribute("data-tiptap-style",""),i.innerHTML=n,document.getElementsByTagName("head")[0].appendChild(i),i}var Yx=class extends Ax{constructor(e={}){super(),this.css=null,this.className="tiptap",this.editorView=null,this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.instanceId=Math.random().toString(36).slice(2,9),this.options={element:typeof document<"u"?document.createElement("div"):null,content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,textDirection:void 0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onMount:()=>null,onUnmount:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:i})=>{throw i},onPaste:()=>null,onDrop:()=>null,onDelete:()=>null,enableExtensionDispatchTransaction:!0},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.utils={getUpdatedPosition:ix,createMappablePosition:sx},this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("mount",this.options.onMount),this.on("unmount",this.options.onUnmount),this.on("contentError",this.options.onContentError),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:i,slice:s,moved:o})=>this.options.onDrop(i,s,o)),this.on("paste",({event:i,slice:s})=>this.options.onPaste(i,s)),this.on("delete",this.options.onDelete);const t=this.createDoc(),r=pd(t,this.options.autofocus);this.editorState=Vn.create({doc:t,schema:this.schema,selection:r||void 0}),this.options.element&&this.mount(this.options.element)}mount(e){if(typeof document>"u")throw new Error("[tiptap error]: The editor cannot be mounted because there is no 'document' defined in this environment.");this.createView(e),this.emit("mount",{editor:this}),this.css&&!document.head.contains(this.css)&&document.head.appendChild(this.css),window.setTimeout(()=>{this.isDestroyed||(this.options.autofocus!==!1&&this.options.autofocus!==null&&this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}unmount(){if(this.editorView){const e=this.editorView.dom;e?.editor&&delete e.editor,this.editorView.destroy()}if(this.editorView=null,this.isInitialized=!1,this.css&&!document.querySelectorAll(`.${this.className}`).length)try{typeof this.css.remove=="function"?this.css.remove():this.css.parentNode&&this.css.parentNode.removeChild(this.css)}catch(e){console.warn("Failed to remove CSS element:",e)}this.css=null,this.emit("unmount",{editor:this})}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&typeof document<"u"&&(this.css=Fx($x,this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},!(!this.editorView||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit("update",{editor:this,transaction:this.state.tr,appendedTransactions:[]})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get view(){return this.editorView?this.editorView:new Proxy({state:this.editorState,updateState:e=>{this.editorState=e},dispatch:e=>{this.dispatchTransaction(e)},composing:!1,dragging:null,editable:!0,isDestroyed:!1},{get:(e,t)=>{if(this.editorView)return this.editorView[t];if(t==="state")return this.editorState;if(t in e)return Reflect.get(e,t);throw new Error(`[tiptap error]: The editor view is not available. Cannot access view['${t}']. The editor may not be mounted yet.`)}})}get state(){return this.editorView&&(this.editorState=this.view.state),this.editorState}registerPlugin(e,t){const r=xd(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],i=this.state.reconfigure({plugins:r});return this.view.updateState(i),i}unregisterPlugin(e){if(this.isDestroyed)return;const t=this.state.plugins;let r=t;if([].concat(e).forEach(s=>{const o=typeof s=="string"?`${s}$`:s.key;r=r.filter(l=>!l.key.startsWith(o))}),t.length===r.length)return;const i=this.state.reconfigure({plugins:r});return this.view.updateState(i),i}createExtensionManager(){var e,t;const i=[...this.options.enableCoreExtensions?[Pd,Id.configure({blockSeparator:(t=(e=this.options.coreExtensionOptions)==null?void 0:e.clipboardTextSerializer)==null?void 0:t.blockSeparator}),_d,zd,$d,Yd,Rd,Fd,Ld,Hd.configure({direction:this.options.textDirection})].filter(s=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[s.name]!==!1:!0):[],...this.options.extensions].filter(s=>["extension","node","mark"].includes(s?.type));this.extensionManager=new Es(i,this)}createCommandManager(){this.commandManager=new Cs({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createDoc(){let e;try{e=Ao(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(t){if(!(t instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(t.message))throw t;this.emit("contentError",{editor:this,error:t,disableCollaboration:()=>{"collaboration"in this.storage&&typeof this.storage.collaboration=="object"&&this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(r=>r.name!=="collaboration"),this.createExtensionManager()}}),e=Ao(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}return e}createView(e){const{editorProps:t,enableExtensionDispatchTransaction:r}=this.options,i=t.dispatchTransaction||this.dispatchTransaction.bind(this),s=r?this.extensionManager.dispatchTransaction(i):i,o=t.transformPastedHTML,l=this.extensionManager.transformPastedHTML(o);this.editorView=new cd(e,{...t,attributes:{role:"textbox",...t?.attributes},dispatchTransaction:s,transformPastedHTML:l,state:this.editorState,markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews});const a=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(a),this.prependClass(),this.injectCSS();const c=this.view.dom;c.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`${this.className} ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;const t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=e;return}e.steps.forEach(u=>{var d;return(d=this.capturedTransaction)==null?void 0:d.step(u)});return}const{state:t,transactions:r}=this.state.applyTransaction(e),i=!this.state.selection.eq(t.selection),s=r.includes(e),o=this.state;if(this.emit("beforeTransaction",{editor:this,transaction:e,nextState:t}),!s)return;this.view.updateState(t),this.emit("transaction",{editor:this,transaction:e,appendedTransactions:r.slice(1)}),i&&this.emit("selectionUpdate",{editor:this,transaction:e});const l=r.findLast(u=>u.getMeta("focus")||u.getMeta("blur")),a=l?.getMeta("focus"),c=l?.getMeta("blur");a&&this.emit("focus",{editor:this,event:a.event,transaction:l}),c&&this.emit("blur",{editor:this,event:c.event,transaction:l}),!(e.getMeta("preventUpdate")||!r.some(u=>u.docChanged)||o.doc.eq(t.doc))&&this.emit("update",{editor:this,transaction:e,appendedTransactions:r.slice(1)})}getAttributes(e){return Sd(this.state,e)}isActive(e,t){const r=typeof e=="string"?e:null,i=typeof e=="string"?t:e;return tx(this.state,r,i)}getJSON(){return this.state.doc.toJSON()}getHTML(){return yl(this.state.doc.content,this.schema)}getText(e){const{blockSeparator:t=` + +`,textSerializers:r={}}=e||{};return Jb(this.state.doc,{blockSeparator:t,textSerializers:{...Cd(this.schema),...r}})}get isEmpty(){return Ms(this.state.doc)}destroy(){this.emit("destroy"),this.unmount(),this.removeAllListeners()}get isDestroyed(){var e,t;return(t=(e=this.editorView)==null?void 0:e.isDestroyed)!=null?t:!0}$node(e,t){var r;return((r=this.$doc)==null?void 0:r.querySelector(e,t))||null}$nodes(e,t){var r;return((r=this.$doc)==null?void 0:r.querySelectorAll(e,t))||null}$pos(e){const t=this.state.doc.resolve(e);return new zx(t,this)}get $doc(){return this.$pos(0)}};function Qn(n){return new As({find:n.find,handler:({state:e,range:t,match:r})=>{const i=X(n.getAttributes,void 0,r);if(i===!1||i===null)return null;const{tr:s}=e,o=r[r.length-1],l=r[0];if(o){const a=l.search(/\S/),c=t.from+l.indexOf(o),u=c+o.length;if(bl(t.from,t.to,e.doc).filter(f=>f.mark.type.excluded.find(m=>m===n.type&&m!==f.mark.type)).filter(f=>f.to>c).length)return null;ut.from&&s.delete(t.from+a,c);const h=t.from+a+o.length;s.addMark(t.from+a,h,n.type.create(i||{})),s.removeStoredMark(n.type)}},undoable:n.undoable})}function Vd(n){return new As({find:n.find,handler:({state:e,range:t,match:r})=>{const i=X(n.getAttributes,void 0,r)||{},{tr:s}=e,o=t.from;let l=t.to;const a=n.type.create(i);if(r[1]){const c=r[0].lastIndexOf(r[1]);let u=o+c;u>l?u=l:l=u+r[1].length;const d=r[0][r[0].length-1];s.insertText(d,o+r[0].length-1),s.replaceWith(u,l,a)}else if(r[0]){const c=n.type.isInline?o:o-1;s.insert(c,n.type.create(i)).delete(s.mapping.map(o),s.mapping.map(l))}s.scrollIntoView()},undoable:n.undoable})}function Do(n){return new As({find:n.find,handler:({state:e,range:t,match:r})=>{const i=e.doc.resolve(t.from),s=X(n.getAttributes,void 0,r)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),n.type))return null;e.tr.delete(t.from,t.to).setBlockType(t.from,t.from,n.type,s)},undoable:n.undoable})}function Zn(n){return new As({find:n.find,handler:({state:e,range:t,match:r,chain:i})=>{const s=X(n.getAttributes,void 0,r)||{},o=e.tr.delete(t.from,t.to),a=o.doc.resolve(t.from).blockRange(),c=a&&Xo(a,n.type,s);if(!c)return null;if(o.wrap(a,c),n.keepMarks&&n.editor){const{selection:d,storedMarks:h}=e,{splittableMarks:f}=n.editor.extensionManager,p=h||d.$to.parentOffset&&d.$from.marks();if(p){const m=p.filter(g=>f.includes(g.type.name));o.ensureMarks(m)}}if(n.keepAttributes){const d=n.type.name==="bulletList"||n.type.name==="orderedList"?"listItem":"taskList";i().updateAttributes(d,s).run()}const u=o.doc.resolve(t.from-1).nodeBefore;u&&u.type===n.type&&an(o.doc,t.from-1)&&(!n.joinPredicate||n.joinPredicate(r,u))&&o.join(t.from-1)},undoable:n.undoable})}var Hx=n=>"touches"in n,Vx=class{constructor(n){this.directions=["bottom-left","bottom-right","top-left","top-right"],this.minSize={height:8,width:8},this.preserveAspectRatio=!1,this.classNames={container:"",wrapper:"",handle:"",resizing:""},this.initialWidth=0,this.initialHeight=0,this.aspectRatio=1,this.isResizing=!1,this.activeHandle=null,this.startX=0,this.startY=0,this.startWidth=0,this.startHeight=0,this.isShiftKeyPressed=!1,this.lastEditableState=void 0,this.handleMap=new Map,this.handleMouseMove=l=>{if(!this.isResizing||!this.activeHandle)return;const a=l.clientX-this.startX,c=l.clientY-this.startY;this.handleResize(a,c)},this.handleTouchMove=l=>{if(!this.isResizing||!this.activeHandle)return;const a=l.touches[0];if(!a)return;const c=a.clientX-this.startX,u=a.clientY-this.startY;this.handleResize(c,u)},this.handleMouseUp=()=>{if(!this.isResizing)return;const l=this.element.offsetWidth,a=this.element.offsetHeight;this.onCommit(l,a),this.isResizing=!1,this.activeHandle=null,this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)},this.handleKeyDown=l=>{l.key==="Shift"&&(this.isShiftKeyPressed=!0)},this.handleKeyUp=l=>{l.key==="Shift"&&(this.isShiftKeyPressed=!1)};var e,t,r,i,s,o;this.node=n.node,this.editor=n.editor,this.element=n.element,this.contentElement=n.contentElement,this.getPos=n.getPos,this.onResize=n.onResize,this.onCommit=n.onCommit,this.onUpdate=n.onUpdate,(e=n.options)!=null&&e.min&&(this.minSize={...this.minSize,...n.options.min}),(t=n.options)!=null&&t.max&&(this.maxSize=n.options.max),(r=n?.options)!=null&&r.directions&&(this.directions=n.options.directions),(i=n.options)!=null&&i.preserveAspectRatio&&(this.preserveAspectRatio=n.options.preserveAspectRatio),(s=n.options)!=null&&s.className&&(this.classNames={container:n.options.className.container||"",wrapper:n.options.className.wrapper||"",handle:n.options.className.handle||"",resizing:n.options.className.resizing||""}),(o=n.options)!=null&&o.createCustomHandle&&(this.createCustomHandle=n.options.createCustomHandle),this.wrapper=this.createWrapper(),this.container=this.createContainer(),this.applyInitialSize(),this.attachHandles(),this.editor.on("update",this.handleEditorUpdate.bind(this))}get dom(){return this.container}get contentDOM(){var n;return(n=this.contentElement)!=null?n:null}handleEditorUpdate(){const n=this.editor.isEditable;n!==this.lastEditableState&&(this.lastEditableState=n,n?n&&this.handleMap.size===0&&this.attachHandles():this.removeHandles())}update(n,e,t){return n.type!==this.node.type?!1:(this.node=n,this.onUpdate?this.onUpdate(n,e,t):!0)}destroy(){this.isResizing&&(this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp),this.isResizing=!1,this.activeHandle=null),this.editor.off("update",this.handleEditorUpdate.bind(this)),this.container.remove()}createContainer(){const n=document.createElement("div");return n.dataset.resizeContainer="",n.dataset.node=this.node.type.name,n.style.display="flex",this.classNames.container&&(n.className=this.classNames.container),n.appendChild(this.wrapper),n}createWrapper(){const n=document.createElement("div");return n.style.position="relative",n.style.display="block",n.dataset.resizeWrapper="",this.classNames.wrapper&&(n.className=this.classNames.wrapper),n.appendChild(this.element),n}createHandle(n){const e=document.createElement("div");return e.dataset.resizeHandle=n,e.style.position="absolute",this.classNames.handle&&(e.className=this.classNames.handle),e}positionHandle(n,e){const t=e.includes("top"),r=e.includes("bottom"),i=e.includes("left"),s=e.includes("right");t&&(n.style.top="0"),r&&(n.style.bottom="0"),i&&(n.style.left="0"),s&&(n.style.right="0"),(e==="top"||e==="bottom")&&(n.style.left="0",n.style.right="0"),(e==="left"||e==="right")&&(n.style.top="0",n.style.bottom="0")}attachHandles(){this.directions.forEach(n=>{let e;this.createCustomHandle?e=this.createCustomHandle(n):e=this.createHandle(n),e instanceof HTMLElement||(console.warn(`[ResizableNodeView] createCustomHandle("${n}") did not return an HTMLElement. Falling back to default handle.`),e=this.createHandle(n)),this.createCustomHandle||this.positionHandle(e,n),e.addEventListener("mousedown",t=>this.handleResizeStart(t,n)),e.addEventListener("touchstart",t=>this.handleResizeStart(t,n)),this.handleMap.set(n,e),this.wrapper.appendChild(e)})}removeHandles(){this.handleMap.forEach(n=>n.remove()),this.handleMap.clear()}applyInitialSize(){const n=this.node.attrs.width,e=this.node.attrs.height;n?(this.element.style.width=`${n}px`,this.initialWidth=n):this.initialWidth=this.element.offsetWidth,e?(this.element.style.height=`${e}px`,this.initialHeight=e):this.initialHeight=this.element.offsetHeight,this.initialWidth>0&&this.initialHeight>0&&(this.aspectRatio=this.initialWidth/this.initialHeight)}handleResizeStart(n,e){n.preventDefault(),n.stopPropagation(),this.isResizing=!0,this.activeHandle=e,Hx(n)?(this.startX=n.touches[0].clientX,this.startY=n.touches[0].clientY):(this.startX=n.clientX,this.startY=n.clientY),this.startWidth=this.element.offsetWidth,this.startHeight=this.element.offsetHeight,this.startWidth>0&&this.startHeight>0&&(this.aspectRatio=this.startWidth/this.startHeight),this.getPos(),this.container.dataset.resizeState="true",this.classNames.resizing&&this.container.classList.add(this.classNames.resizing),document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("touchmove",this.handleTouchMove),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}handleResize(n,e){if(!this.activeHandle)return;const t=this.preserveAspectRatio||this.isShiftKeyPressed,{width:r,height:i}=this.calculateNewDimensions(this.activeHandle,n,e),s=this.applyConstraints(r,i,t);this.element.style.width=`${s.width}px`,this.element.style.height=`${s.height}px`,this.onResize&&this.onResize(s.width,s.height)}calculateNewDimensions(n,e,t){let r=this.startWidth,i=this.startHeight;const s=n.includes("right"),o=n.includes("left"),l=n.includes("bottom"),a=n.includes("top");return s?r=this.startWidth+e:o&&(r=this.startWidth-e),l?i=this.startHeight+t:a&&(i=this.startHeight-t),(n==="right"||n==="left")&&(r=this.startWidth+(s?e:-e)),(n==="top"||n==="bottom")&&(i=this.startHeight+(l?t:-t)),this.preserveAspectRatio||this.isShiftKeyPressed?this.applyAspectRatio(r,i,n):{width:r,height:i}}applyConstraints(n,e,t){var r,i,s,o;if(!t){let c=Math.max(this.minSize.width,n),u=Math.max(this.minSize.height,e);return(r=this.maxSize)!=null&&r.width&&(c=Math.min(this.maxSize.width,c)),(i=this.maxSize)!=null&&i.height&&(u=Math.min(this.maxSize.height,u)),{width:c,height:u}}let l=n,a=e;return lthis.maxSize.width&&(l=this.maxSize.width,a=l/this.aspectRatio),(o=this.maxSize)!=null&&o.height&&a>this.maxSize.height&&(a=this.maxSize.height,l=a*this.aspectRatio),{width:l,height:a}}applyAspectRatio(n,e,t){const r=t==="left"||t==="right",i=t==="top"||t==="bottom";return r?{width:n,height:n/this.aspectRatio}:i?{width:e*this.aspectRatio,height:e}:{width:n,height:n/this.aspectRatio}}};function jx(n,e){const{selection:t}=n,{$from:r}=t;if(t instanceof P){const s=r.index();return r.parent.canReplaceWith(s,s+1,e)}let i=r.depth;for(;i>=0;){const s=r.index(i);if(r.node(i).contentMatchAt(s).matchType(e))return!0;i-=1}return!1}var Ux={};fl(Ux,{createAtomBlockMarkdownSpec:()=>Wx,createBlockMarkdownSpec:()=>Kx,createInlineMarkdownSpec:()=>Gx,parseAttributes:()=>kl,parseIndentedBlocks:()=>Oo,renderNestedMarkdownContent:()=>vl,serializeAttributes:()=>wl});function kl(n){if(!n?.trim())return{};const e={},t=[],r=n.replace(/["']([^"']*)["']/g,c=>(t.push(c),`__QUOTED_${t.length-1}__`)),i=r.match(/(?:^|\s)\.([a-zA-Z][\w-]*)/g);if(i){const c=i.map(u=>u.trim().slice(1));e.class=c.join(" ")}const s=r.match(/(?:^|\s)#([a-zA-Z][\w-]*)/);s&&(e.id=s[1]);const o=/([a-zA-Z][\w-]*)\s*=\s*(__QUOTED_\d+__)/g;Array.from(r.matchAll(o)).forEach(([,c,u])=>{var d;const h=parseInt(((d=u.match(/__QUOTED_(\d+)__/))==null?void 0:d[1])||"0",10),f=t[h];f&&(e[c]=f.slice(1,-1))});const a=r.replace(/(?:^|\s)\.([a-zA-Z][\w-]*)/g,"").replace(/(?:^|\s)#([a-zA-Z][\w-]*)/g,"").replace(/([a-zA-Z][\w-]*)\s*=\s*__QUOTED_\d+__/g,"").trim();return a&&a.split(/\s+/).filter(Boolean).forEach(u=>{u.match(/^[a-zA-Z][\w-]*$/)&&(e[u]=!0)}),e}function wl(n){if(!n||Object.keys(n).length===0)return"";const e=[];return n.class&&String(n.class).split(/\s+/).filter(Boolean).forEach(r=>e.push(`.${r}`)),n.id&&e.push(`#${n.id}`),Object.entries(n).forEach(([t,r])=>{t==="class"||t==="id"||(r===!0?e.push(t):r!==!1&&r!=null&&e.push(`${t}="${String(r)}"`))}),e.join(" ")}function Wx(n){const{nodeName:e,name:t,parseAttributes:r=kl,serializeAttributes:i=wl,defaultAttributes:s={},requiredAttributes:o=[],allowedAttributes:l}=n,a=t||e,c=u=>{if(!l)return u;const d={};return l.forEach(h=>{h in u&&(d[h]=u[h])}),d};return{parseMarkdown:(u,d)=>{const h={...s,...u.attributes};return d.createNode(e,h,[])},markdownTokenizer:{name:e,level:"block",start(u){var d;const h=new RegExp(`^:::${a}(?:\\s|$)`,"m"),f=(d=u.match(h))==null?void 0:d.index;return f!==void 0?f:-1},tokenize(u,d,h){const f=new RegExp(`^:::${a}(?:\\s+\\{([^}]*)\\})?\\s*:::(?:\\n|$)`),p=u.match(f);if(!p)return;const m=p[1]||"",g=r(m);if(!o.find(k=>!(k in g)))return{type:e,raw:p[0],attributes:g}}},renderMarkdown:u=>{const d=c(u.attrs||{}),h=i(d),f=h?` {${h}}`:"";return`:::${a}${f} :::`}}}function Kx(n){const{nodeName:e,name:t,getContent:r,parseAttributes:i=kl,serializeAttributes:s=wl,defaultAttributes:o={},content:l="block",allowedAttributes:a}=n,c=t||e,u=d=>{if(!a)return d;const h={};return a.forEach(f=>{f in d&&(h[f]=d[f])}),h};return{parseMarkdown:(d,h)=>{let f;if(r){const m=r(d);f=typeof m=="string"?[{type:"text",text:m}]:m}else l==="block"?f=h.parseChildren(d.tokens||[]):f=h.parseInline(d.tokens||[]);const p={...o,...d.attributes};return h.createNode(e,p,f)},markdownTokenizer:{name:e,level:"block",start(d){var h;const f=new RegExp(`^:::${c}`,"m"),p=(h=d.match(f))==null?void 0:h.index;return p!==void 0?p:-1},tokenize(d,h,f){var p;const m=new RegExp(`^:::${c}(?:\\s+\\{([^}]*)\\})?\\s*\\n`),g=d.match(m);if(!g)return;const[y,k=""]=g,x=i(k);let T=1;const E=y.length;let I="";const O=/^:::([\w-]*)(\s.*)?/gm,R=d.slice(E);for(O.lastIndex=0;;){const K=O.exec(R);if(K===null)break;const Se=K.index,Lt=K[1];if(!((p=K[2])!=null&&p.endsWith(":::"))){if(Lt)T+=1;else if(T-=1,T===0){const dt=R.slice(0,Se);I=dt.trim();const wt=d.slice(0,E+Se+K[0].length);let ze=[];if(I)if(l==="block")for(ze=f.blockTokens(dt),ze.forEach(Te=>{Te.text&&(!Te.tokens||Te.tokens.length===0)&&(Te.tokens=f.inlineTokens(Te.text))});ze.length>0;){const Te=ze[ze.length-1];if(Te.type==="paragraph"&&(!Te.text||Te.text.trim()===""))ze.pop();else break}else ze=f.inlineTokens(I);return{type:e,raw:wt,attributes:x,content:I,tokens:ze}}}}}},renderMarkdown:(d,h)=>{const f=u(d.attrs||{}),p=s(f),m=p?` {${p}}`:"",g=h.renderChildren(d.content||[],` + +`);return`:::${c}${m} + +${g} + +:::`}}}function qx(n){if(!n.trim())return{};const e={},t=/(\w+)=(?:"([^"]*)"|'([^']*)')/g;let r=t.exec(n);for(;r!==null;){const[,i,s,o]=r;e[i]=s||o,r=t.exec(n)}return e}function Jx(n){return Object.entries(n).filter(([,e])=>e!=null).map(([e,t])=>`${e}="${t}"`).join(" ")}function Gx(n){const{nodeName:e,name:t,getContent:r,parseAttributes:i=qx,serializeAttributes:s=Jx,defaultAttributes:o={},selfClosing:l=!1,allowedAttributes:a}=n,c=t||e,u=h=>{if(!a)return h;const f={};return a.forEach(p=>{const m=typeof p=="string"?p:p.name,g=typeof p=="string"?void 0:p.skipIfDefault;if(m in h){const y=h[m];if(g!==void 0&&y===g)return;f[m]=y}}),f},d=c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return{parseMarkdown:(h,f)=>{const p={...o,...h.attributes};if(l)return f.createNode(e,p);const m=r?r(h):h.content||"";return m?f.createNode(e,p,[f.createTextNode(m)]):f.createNode(e,p,[])},markdownTokenizer:{name:e,level:"inline",start(h){const f=l?new RegExp(`\\[${d}\\s*[^\\]]*\\]`):new RegExp(`\\[${d}\\s*[^\\]]*\\][\\s\\S]*?\\[\\/${d}\\]`),p=h.match(f),m=p?.index;return m!==void 0?m:-1},tokenize(h,f,p){const m=l?new RegExp(`^\\[${d}\\s*([^\\]]*)\\]`):new RegExp(`^\\[${d}\\s*([^\\]]*)\\]([\\s\\S]*?)\\[\\/${d}\\]`),g=h.match(m);if(!g)return;let y="",k="";if(l){const[,T]=g;k=T}else{const[,T,E]=g;k=T,y=E||""}const x=i(k.trim());return{type:e,raw:g[0],content:y.trim(),attributes:x}}},renderMarkdown:h=>{let f="";r?f=r(h):h.content&&h.content.length>0&&(f=h.content.filter(y=>y.type==="text").map(y=>y.text).join(""));const p=u(h.attrs||{}),m=s(p),g=m?` ${m}`:"";return l?`[${c}${g}]`:`[${c}${g}]${f}[/${c}]`}}}function Oo(n,e,t){var r,i,s,o;const l=n.split(` +`),a=[];let c="",u=0;const d=e.baseIndentSize||2;for(;u0)break;if(h.trim()===""){u+=1,c=`${c}${h} +`;continue}else return}const p=e.extractItemData(f),{indentLevel:m,mainContent:g}=p;c=`${c}${h} +`;const y=[g];for(u+=1;uSe.trim()!=="");if(O===-1)break;if((((i=(r=l[u+1+O].match(/^(\s*)/))==null?void 0:r[1])==null?void 0:i.length)||0)>m){y.push(E),c=`${c}${E} +`,u+=1;continue}else break}if((((o=(s=E.match(/^(\s*)/))==null?void 0:s[1])==null?void 0:o.length)||0)>m)y.push(E),c=`${c}${E} +`,u+=1;else break}let k;const x=y.slice(1);if(x.length>0){const E=x.map(I=>I.slice(m+d)).join(` +`);E.trim()&&(e.customNestedParser?k=e.customNestedParser(E):k=t.blockTokens(E))}const T=e.createToken(p,k);a.push(T)}if(a.length!==0)return{items:a,raw:c}}function vl(n,e,t,r){if(!n||!Array.isArray(n.content))return"";const i=typeof t=="function"?t(r):t,[s,...o]=n.content,l=e.renderChildren([s]),a=[`${i}${l}`];return o&&o.length>0&&o.forEach(c=>{const u=e.renderChildren([c]);if(u){const d=u.split(` +`).map(h=>h?e.indent(h):"").join(` +`);a.push(d)}}),a.join(` +`)}function Xx(n,e,t={}){const{state:r}=e,{doc:i,tr:s}=r,o=n;i.descendants((l,a)=>{const c=s.mapping.map(a),u=s.mapping.map(a)+l.nodeSize;let d=null;if(l.marks.forEach(f=>{if(f!==o)return!1;d=f}),!d)return;let h=!1;if(Object.keys(t).forEach(f=>{t[f]!==d.attrs[f]&&(h=!0)}),h){const f=n.type.create({...n.attrs,...t});s.removeMark(c,u,n.type),s.addMark(c,u,f)}}),s.docChanged&&e.view.dispatch(s)}var Ve=class jd extends xl{constructor(){super(...arguments),this.type="node"}static create(e={}){const t=typeof e=="function"?e():e;return new jd(t)}configure(e){return super.configure(e)}extend(e){const t=typeof e=="function"?e():e;return super.extend(t)}};function In(n){return new Ix({find:n.find,handler:({state:e,range:t,match:r,pasteEvent:i})=>{const s=X(n.getAttributes,void 0,r,i);if(s===!1||s===null)return null;const{tr:o}=e,l=r[r.length-1],a=r[0];let c=t.to;if(l){const u=a.search(/\S/),d=t.from+a.indexOf(l),h=d+l.length;if(bl(t.from,t.to,e.doc).filter(p=>p.mark.type.excluded.find(g=>g===n.type&&g!==p.mark.type)).filter(p=>p.to>d).length)return null;ht.from&&o.delete(t.from+u,d),c=t.from+u+l.length,o.addMark(t.from+u,c,n.type.create(s||{})),o.removeStoredMark(n.type)}}})}function tc(n){return Ah((e,t)=>({get(){return e(),n},set(r){n=r,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t()})})}}))}var Qx=class extends Yx{constructor(n={}){return super(n),this.contentComponent=null,this.appContext=null,this.reactiveState=tc(this.view.state),this.reactiveExtensionStorage=tc(this.extensionStorage),this.on("beforeTransaction",({nextState:e})=>{this.reactiveState.value=e,this.reactiveExtensionStorage.value=this.extensionStorage}),Th(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(n,e){const t=super.registerPlugin(n,e);return this.reactiveState&&(this.reactiveState.value=t),t}unregisterPlugin(n){const e=super.unregisterPlugin(n);return this.reactiveState&&e&&(this.reactiveState.value=e),e}},Zx=ke({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(n){const e=ye(),t=Sh();return Ch(()=>{const r=n.editor;r&&r.options.element&&e.value&&oo(()=>{var i;if(!e.value||!((i=r.view.dom)!=null&&i.parentNode))return;const s=b(e.value);e.value.append(...r.view.dom.parentNode.childNodes),r.contentComponent=t.ctx._,t&&(r.appContext={...t.appContext,provides:t.provides}),r.setOptions({element:s}),r.createNodeViews()})}),Ur(()=>{const r=n.editor;r&&(r.contentComponent=null,r.appContext=null)}),{rootEl:e}},render(){return vh("div",{ref:n=>{this.rootEl=n}})}}),e1=(n={})=>{const e=Mh();return Ho(()=>{e.value=new Qx(n)}),Ur(()=>{var t,r,i,s;const o=(r=(t=e.value)==null?void 0:t.view.dom)==null?void 0:r.parentNode,l=o?.cloneNode(!0);(i=o?.parentNode)==null||i.replaceChild(l,o),(s=e.value)==null||s.destroy()}),e},Pi=(n,e)=>{if(n==="slot")return 0;if(n instanceof Function)return n(e);const{children:t,...r}=e??{};if(n==="svg")throw new Error("SVG elements are not supported in the JSX syntax, use the array syntax instead");return[n,r,t]},t1=/^\s*>\s$/,n1=Ve.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:n}){return Pi("blockquote",{...ae(this.options.HTMLAttributes,n),children:Pi("slot",{})})},parseMarkdown:(n,e)=>e.createNode("blockquote",void 0,e.parseChildren(n.tokens||[])),renderMarkdown:(n,e)=>{if(!n.content)return"";const t=">",r=[];return n.content.forEach(i=>{const l=e.renderChildren([i]).split(` +`).map(a=>a.trim()===""?t:`${t} ${a}`);r.push(l.join(` +`))}),r.join(` +${t} +`)},addCommands(){return{setBlockquote:()=>({commands:n})=>n.wrapIn(this.name),toggleBlockquote:()=>({commands:n})=>n.toggleWrap(this.name),unsetBlockquote:()=>({commands:n})=>n.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[Zn({find:t1,type:this.type})]}}),r1=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,i1=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,s1=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,o1=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,l1=Pn.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:n=>n.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:n=>n.type.name===this.name},{style:"font-weight",getAttrs:n=>/^(bold(er)?|[5-9]\d{2,})$/.test(n)&&null}]},renderHTML({HTMLAttributes:n}){return Pi("strong",{...ae(this.options.HTMLAttributes,n),children:Pi("slot",{})})},markdownTokenName:"strong",parseMarkdown:(n,e)=>e.applyMark("bold",e.parseInline(n.tokens||[])),renderMarkdown:(n,e)=>`**${e.renderChildren(n)}**`,addCommands(){return{setBold:()=>({commands:n})=>n.setMark(this.name),toggleBold:()=>({commands:n})=>n.toggleMark(this.name),unsetBold:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Qn({find:r1,type:this.type}),Qn({find:s1,type:this.type})]},addPasteRules(){return[In({find:i1,type:this.type}),In({find:o1,type:this.type})]}}),a1=/(^|[^`])`([^`]+)`(?!`)$/,c1=/(^|[^`])`([^`]+)`(?!`)/g,u1=Pn.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:n}){return["code",ae(this.options.HTMLAttributes,n),0]},markdownTokenName:"codespan",parseMarkdown:(n,e)=>e.applyMark("code",[{type:"text",text:n.text||""}]),renderMarkdown:(n,e)=>n.content?`\`${e.renderChildren(n.content)}\``:"",addCommands(){return{setCode:()=>({commands:n})=>n.setMark(this.name),toggleCode:()=>({commands:n})=>n.toggleMark(this.name),unsetCode:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[Qn({find:a1,type:this.type})]},addPasteRules(){return[In({find:c1,type:this.type})]}}),Xs=4,d1=/^```([a-z]+)?[\s\n]$/,h1=/^~~~([a-z]+)?[\s\n]$/,f1=Ve.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,enableTabIndentation:!1,tabSize:Xs,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:n=>{var e;const{languageClassPrefix:t}=this.options;if(!t)return null;const s=[...((e=n.firstElementChild)==null?void 0:e.classList)||[]].filter(o=>o.startsWith(t)).map(o=>o.replace(t,""))[0];return s||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:n,HTMLAttributes:e}){return["pre",ae(this.options.HTMLAttributes,e),["code",{class:n.attrs.language?this.options.languageClassPrefix+n.attrs.language:null},0]]},markdownTokenName:"code",parseMarkdown:(n,e)=>{var t,r;return((t=n.raw)==null?void 0:t.startsWith("```"))===!1&&((r=n.raw)==null?void 0:r.startsWith("~~~"))===!1&&n.codeBlockStyle!=="indented"?[]:e.createNode("codeBlock",{language:n.lang||null},n.text?[e.createTextNode(n.text)]:[])},renderMarkdown:(n,e)=>{var t;let r="";const i=((t=n.attrs)==null?void 0:t.language)||"";return n.content?r=[`\`\`\`${i}`,e.renderChildren(n.content),"```"].join(` +`):r=`\`\`\`${i} + +\`\`\``,r},addCommands(){return{setCodeBlock:n=>({commands:e})=>e.setNode(this.name,n),toggleCodeBlock:n=>({commands:e})=>e.toggleNode(this.name,"paragraph",n)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:n,$anchor:e}=this.editor.state.selection,t=e.pos===1;return!n||e.parent.type.name!==this.name?!1:t||!e.parent.textContent.length?this.editor.commands.clearNodes():!1},Tab:({editor:n})=>{var e;if(!this.options.enableTabIndentation)return!1;const t=(e=this.options.tabSize)!=null?e:Xs,{state:r}=n,{selection:i}=r,{$from:s,empty:o}=i;if(s.parent.type!==this.type)return!1;const l=" ".repeat(t);return o?n.commands.insertContent(l):n.commands.command(({tr:a})=>{const{from:c,to:u}=i,f=r.doc.textBetween(c,u,` +`,` +`).split(` +`).map(p=>l+p).join(` +`);return a.replaceWith(c,u,r.schema.text(f)),!0})},"Shift-Tab":({editor:n})=>{var e;if(!this.options.enableTabIndentation)return!1;const t=(e=this.options.tabSize)!=null?e:Xs,{state:r}=n,{selection:i}=r,{$from:s,empty:o}=i;return s.parent.type!==this.type?!1:o?n.commands.command(({tr:l})=>{var a;const{pos:c}=s,u=s.start(),d=s.end(),f=r.doc.textBetween(u,d,` +`,` +`).split(` +`);let p=0,m=0;const g=c-u;for(let I=0;I=g){p=I;break}m+=f[I].length+1}const k=((a=f[p].match(/^ */))==null?void 0:a[0])||"",x=Math.min(k.length,t);if(x===0)return!0;let T=u;for(let I=0;I{const{from:a,to:c}=i,h=r.doc.textBetween(a,c,` +`,` +`).split(` +`).map(f=>{var p;const m=((p=f.match(/^ */))==null?void 0:p[0])||"",g=Math.min(m.length,t);return f.slice(g)}).join(` +`);return l.replaceWith(a,c,r.schema.text(h)),!0})},Enter:({editor:n})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:e}=n,{selection:t}=e,{$from:r,empty:i}=t;if(!i||r.parent.type!==this.type)return!1;const s=r.parentOffset===r.parent.nodeSize-2,o=r.parent.textContent.endsWith(` + +`);return!s||!o?!1:n.chain().command(({tr:l})=>(l.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowDown:({editor:n})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=n,{selection:t,doc:r}=e,{$from:i,empty:s}=t;if(!s||i.parent.type!==this.type||!(i.parentOffset===i.parent.nodeSize-2))return!1;const l=i.after();return l===void 0?!1:r.nodeAt(l)?n.commands.command(({tr:c})=>(c.setSelection(W.near(r.resolve(l))),!0)):n.commands.exitCode()}}},addInputRules(){return[Do({find:d1,type:this.type,getAttributes:n=>({language:n[1]})}),Do({find:h1,type:this.type,getAttributes:n=>({language:n[1]})})]},addProseMirrorPlugins(){return[new ie({key:new fe("codeBlockVSCodeHandler"),props:{handlePaste:(n,e)=>{if(!e.clipboardData||this.editor.isActive(this.type.name))return!1;const t=e.clipboardData.getData("text/plain"),r=e.clipboardData.getData("vscode-editor-data"),i=r?JSON.parse(r):void 0,s=i?.mode;if(!t||!s)return!1;const{tr:o,schema:l}=n.state,a=l.text(t.replace(/\r\n?/g,` +`));return o.replaceSelectionWith(this.type.create({language:s},a)),o.selection.$from.parent.type!==this.type&&o.setSelection($.near(o.doc.resolve(Math.max(0,o.selection.from-2)))),o.setMeta("paste",!0),n.dispatch(o),!0}}})]}}),p1=Ve.create({name:"doc",topNode:!0,content:"block+",renderMarkdown:(n,e)=>n.content?e.renderChildren(n.content,` + +`):""}),m1=Ve.create({name:"hardBreak",markdownTokenName:"br",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",ae(this.options.HTMLAttributes,n)]},renderText(){return` +`},renderMarkdown:()=>` +`,parseMarkdown:()=>({type:"hardBreak"}),addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:i,storedMarks:s}=t;if(i.$from.parent.type.spec.isolating)return!1;const{keepMarks:o}=this.options,{splittableMarks:l}=r.extensionManager,a=s||i.$to.parentOffset&&i.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&a&&o){const d=a.filter(h=>l.includes(h.type.name));c.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),g1=Ve.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(n=>({tag:`h${n}`,attrs:{level:n}}))},renderHTML({node:n,HTMLAttributes:e}){return[`h${this.options.levels.includes(n.attrs.level)?n.attrs.level:this.options.levels[0]}`,ae(this.options.HTMLAttributes,e),0]},parseMarkdown:(n,e)=>e.createNode("heading",{level:n.depth||1},e.parseInline(n.tokens||[])),renderMarkdown:(n,e)=>{var t;const r=(t=n.attrs)!=null&&t.level?parseInt(n.attrs.level,10):1,i="#".repeat(r);return n.content?`${i} ${e.renderChildren(n.content)}`:""},addCommands(){return{setHeading:n=>({commands:e})=>this.options.levels.includes(n.level)?e.setNode(this.name,n):!1,toggleHeading:n=>({commands:e})=>this.options.levels.includes(n.level)?e.toggleNode(this.name,"paragraph",n):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((n,e)=>({...n,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})}),{})},addInputRules(){return this.options.levels.map(n=>Do({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${n}})\\s$`),type:this.type,getAttributes:{level:n}}))}}),y1=Ve.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{},nextNodeType:"paragraph"}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:n}){return["hr",ae(this.options.HTMLAttributes,n)]},markdownTokenName:"hr",parseMarkdown:(n,e)=>e.createNode("horizontalRule"),renderMarkdown:()=>"---",addCommands(){return{setHorizontalRule:()=>({chain:n,state:e})=>{if(!jx(e,e.schema.nodes[this.name]))return!1;const{selection:t}=e,{$to:r}=t,i=n();return Md(t)?i.insertContentAt(r.pos,{type:this.name}):i.insertContent({type:this.name}),i.command(({state:s,tr:o,dispatch:l})=>{if(l){const{$to:a}=o.selection,c=a.end();if(a.nodeAfter)a.nodeAfter.isTextblock?o.setSelection($.create(o.doc,a.pos+1)):a.nodeAfter.isBlock?o.setSelection(P.create(o.doc,a.pos)):o.setSelection($.create(o.doc,a.pos));else{const u=s.schema.nodes[this.options.nextNodeType]||a.parent.type.contentMatch.defaultType,d=u?.create();d&&(o.insert(c,d),o.setSelection($.create(o.doc,c+1)))}o.scrollIntoView()}return!0}).run()}}},addInputRules(){return[Vd({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),b1=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,x1=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,k1=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,w1=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,v1=Pn.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:n=>n.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:n=>n.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:n}){return["em",ae(this.options.HTMLAttributes,n),0]},addCommands(){return{setItalic:()=>({commands:n})=>n.setMark(this.name),toggleItalic:()=>({commands:n})=>n.toggleMark(this.name),unsetItalic:()=>({commands:n})=>n.unsetMark(this.name)}},markdownTokenName:"em",parseMarkdown:(n,e)=>e.applyMark("italic",e.parseInline(n.tokens||[])),renderMarkdown:(n,e)=>`*${e.renderChildren(n)}*`,addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Qn({find:b1,type:this.type}),Qn({find:k1,type:this.type})]},addPasteRules(){return[In({find:x1,type:this.type}),In({find:w1,type:this.type})]}});const C1="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",S1="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",No="numeric",Io="ascii",_o="alpha",Sr="asciinumeric",br="alphanumeric",Lo="domain",Ud="emoji",T1="scheme",M1="slashscheme",Qs="whitespace";function A1(n,e){return n in e||(e[n]=[]),e[n]}function yn(n,e,t){e[No]&&(e[Sr]=!0,e[br]=!0),e[Io]&&(e[Sr]=!0,e[_o]=!0),e[Sr]&&(e[br]=!0),e[_o]&&(e[br]=!0),e[br]&&(e[Lo]=!0),e[Ud]&&(e[Lo]=!0);for(const r in e){const i=A1(r,t);i.indexOf(n)<0&&i.push(n)}}function E1(n,e){const t={};for(const r in e)e[r].indexOf(n)>=0&&(t[r]=!0);return t}function Ye(n=null){this.j={},this.jr=[],this.jd=null,this.t=n}Ye.groups={};Ye.prototype={accepts(){return!!this.t},go(n){const e=this,t=e.j[n];if(t)return t;for(let r=0;rn.ta(e,t,r,i),se=(n,e,t,r,i)=>n.tr(e,t,r,i),nc=(n,e,t,r,i)=>n.ts(e,t,r,i),A=(n,e,t,r,i)=>n.tt(e,t,r,i),Mt="WORD",Ro="UWORD",Wd="ASCIINUMERICAL",Kd="ALPHANUMERICAL",Vr="LOCALHOST",Po="TLD",Bo="UTLD",bi="SCHEME",Hn="SLASH_SCHEME",Cl="NUM",zo="WS",Sl="NL",Tr="OPENBRACE",Mr="CLOSEBRACE",Bi="OPENBRACKET",zi="CLOSEBRACKET",$i="OPENPAREN",Fi="CLOSEPAREN",Yi="OPENANGLEBRACKET",Hi="CLOSEANGLEBRACKET",Vi="FULLWIDTHLEFTPAREN",ji="FULLWIDTHRIGHTPAREN",Ui="LEFTCORNERBRACKET",Wi="RIGHTCORNERBRACKET",Ki="LEFTWHITECORNERBRACKET",qi="RIGHTWHITECORNERBRACKET",Ji="FULLWIDTHLESSTHAN",Gi="FULLWIDTHGREATERTHAN",Xi="AMPERSAND",Qi="APOSTROPHE",Zi="ASTERISK",Vt="AT",es="BACKSLASH",ts="BACKTICK",ns="CARET",Wt="COLON",Tl="COMMA",rs="DOLLAR",mt="DOT",is="EQUALS",Ml="EXCLAMATION",Qe="HYPHEN",Ar="PERCENT",ss="PIPE",ls="PLUS",as="POUND",Er="QUERY",Al="QUOTE",qd="FULLWIDTHMIDDLEDOT",El="SEMI",gt="SLASH",Dr="TILDE",cs="UNDERSCORE",Jd="EMOJI",us="SYM";var Gd=Object.freeze({__proto__:null,ALPHANUMERICAL:Kd,AMPERSAND:Xi,APOSTROPHE:Qi,ASCIINUMERICAL:Wd,ASTERISK:Zi,AT:Vt,BACKSLASH:es,BACKTICK:ts,CARET:ns,CLOSEANGLEBRACKET:Hi,CLOSEBRACE:Mr,CLOSEBRACKET:zi,CLOSEPAREN:Fi,COLON:Wt,COMMA:Tl,DOLLAR:rs,DOT:mt,EMOJI:Jd,EQUALS:is,EXCLAMATION:Ml,FULLWIDTHGREATERTHAN:Gi,FULLWIDTHLEFTPAREN:Vi,FULLWIDTHLESSTHAN:Ji,FULLWIDTHMIDDLEDOT:qd,FULLWIDTHRIGHTPAREN:ji,HYPHEN:Qe,LEFTCORNERBRACKET:Ui,LEFTWHITECORNERBRACKET:Ki,LOCALHOST:Vr,NL:Sl,NUM:Cl,OPENANGLEBRACKET:Yi,OPENBRACE:Tr,OPENBRACKET:Bi,OPENPAREN:$i,PERCENT:Ar,PIPE:ss,PLUS:ls,POUND:as,QUERY:Er,QUOTE:Al,RIGHTCORNERBRACKET:Wi,RIGHTWHITECORNERBRACKET:qi,SCHEME:bi,SEMI:El,SLASH:gt,SLASH_SCHEME:Hn,SYM:us,TILDE:Dr,TLD:Po,UNDERSCORE:cs,UTLD:Bo,UWORD:Ro,WORD:Mt,WS:zo});const St=/[a-z]/,ar=new RegExp("\\p{L}","u"),Zs=new RegExp("\\p{Emoji}","u"),Tt=/\d/,eo=/\s/,rc="\r",to=` +`,D1="️",O1="‍",no="";let ui=null,di=null;function N1(n=[]){const e={};Ye.groups=e;const t=new Ye;ui==null&&(ui=ic(C1)),di==null&&(di=ic(S1)),A(t,"'",Qi),A(t,"{",Tr),A(t,"}",Mr),A(t,"[",Bi),A(t,"]",zi),A(t,"(",$i),A(t,")",Fi),A(t,"<",Yi),A(t,">",Hi),A(t,"(",Vi),A(t,")",ji),A(t,"「",Ui),A(t,"」",Wi),A(t,"『",Ki),A(t,"』",qi),A(t,"<",Ji),A(t,">",Gi),A(t,"&",Xi),A(t,"*",Zi),A(t,"@",Vt),A(t,"`",ts),A(t,"^",ns),A(t,":",Wt),A(t,",",Tl),A(t,"$",rs),A(t,".",mt),A(t,"=",is),A(t,"!",Ml),A(t,"-",Qe),A(t,"%",Ar),A(t,"|",ss),A(t,"+",ls),A(t,"#",as),A(t,"?",Er),A(t,'"',Al),A(t,"/",gt),A(t,";",El),A(t,"~",Dr),A(t,"_",cs),A(t,"\\",es),A(t,"・",qd);const r=se(t,Tt,Cl,{[No]:!0});se(r,Tt,r);const i=se(r,St,Wd,{[Sr]:!0}),s=se(r,ar,Kd,{[br]:!0}),o=se(t,St,Mt,{[Io]:!0});se(o,Tt,i),se(o,St,o),se(i,Tt,i),se(i,St,i);const l=se(t,ar,Ro,{[_o]:!0});se(l,St),se(l,Tt,s),se(l,ar,l),se(s,Tt,s),se(s,St),se(s,ar,s);const a=A(t,to,Sl,{[Qs]:!0}),c=A(t,rc,zo,{[Qs]:!0}),u=se(t,eo,zo,{[Qs]:!0});A(t,no,u),A(c,to,a),A(c,no,u),se(c,eo,u),A(u,rc),A(u,to),se(u,eo,u),A(u,no,u);const d=se(t,Zs,Jd,{[Ud]:!0});A(d,"#"),se(d,Zs,d),A(d,D1,d);const h=A(d,O1);A(h,"#"),se(h,Zs,d);const f=[[St,o],[Tt,i]],p=[[St,null],[ar,l],[Tt,s]];for(let m=0;mm[0]>g[0]?1:-1);for(let m=0;m=0?k[Lo]=!0:St.test(g)?Tt.test(g)?k[Sr]=!0:k[Io]=!0:k[No]=!0,nc(t,g,g,k)}return nc(t,"localhost",Vr,{ascii:!0}),t.jd=new Ye(us),{start:t,tokens:Object.assign({groups:e},Gd)}}function Xd(n,e){const t=I1(e.replace(/[A-Z]/g,l=>l.toLowerCase())),r=t.length,i=[];let s=0,o=0;for(;o=0&&(d+=t[o].length,h++),c+=t[o].length,s+=t[o].length,o++;s-=d,o-=h,c-=d,i.push({t:u.t,v:e.slice(s-c,s),s:s-c,e:s})}return i}function I1(n){const e=[],t=n.length;let r=0;for(;r56319||r+1===t||(s=n.charCodeAt(r+1))<56320||s>57343?n[r]:n.slice(r,r+2);e.push(o),r+=o.length}return e}function Ft(n,e,t,r,i){let s;const o=e.length;for(let l=0;l=0;)s++;if(s>0){e.push(t.join(""));for(let o=parseInt(n.substring(r,r+s),10);o>0;o--)t.pop();r+=s}else t.push(n[r]),r++}return e}const jr={defaultProtocol:"http",events:null,format:sc,formatHref:sc,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Dl(n,e=null){let t=Object.assign({},jr);n&&(t=Object.assign(t,n instanceof Dl?n.o:n));const r=t.ignoreTags,i=[];for(let s=0;st?r.substring(0,t)+"…":r},toFormattedHref(n){return n.get("formatHref",this.toHref(n.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(n=jr.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(n),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(n){return{type:this.t,value:this.toFormattedString(n),isLink:this.isLink,href:this.toFormattedHref(n),start:this.startIndex(),end:this.endIndex()}},validate(n){return n.get("validate",this.toString(),this)},render(n){const e=this,t=this.toHref(n.get("defaultProtocol")),r=n.get("formatHref",t,this),i=n.get("tagName",t,e),s=this.toFormattedString(n),o={},l=n.get("className",t,e),a=n.get("target",t,e),c=n.get("rel",t,e),u=n.getObj("attributes",t,e),d=n.getObj("events",t,e);return o.href=r,l&&(o.class=l),a&&(o.target=a),c&&(o.rel=c),u&&Object.assign(o,u),{tagName:i,attributes:o,content:s,eventListeners:d}}};function Ds(n,e){class t extends Qd{constructor(i,s){super(i,s),this.t=n}}for(const r in e)t.prototype[r]=e[r];return t.t=n,t}const oc=Ds("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),lc=Ds("text"),_1=Ds("nl"),hi=Ds("url",{isLink:!0,toHref(n=jr.defaultProtocol){return this.hasProtocol()?this.v:`${n}://${this.v}`},hasProtocol(){const n=this.tk;return n.length>=2&&n[0].t!==Vr&&n[1].t===Wt}}),Xe=n=>new Ye(n);function L1({groups:n}){const e=n.domain.concat([Xi,Zi,Vt,es,ts,ns,rs,is,Qe,Cl,Ar,ss,ls,as,gt,us,Dr,cs]),t=[Qi,Wt,Tl,mt,Ml,Ar,Er,Al,El,Yi,Hi,Tr,Mr,zi,Bi,$i,Fi,Vi,ji,Ui,Wi,Ki,qi,Ji,Gi],r=[Xi,Qi,Zi,es,ts,ns,rs,is,Qe,Tr,Mr,Ar,ss,ls,as,Er,gt,us,Dr,cs],i=Xe(),s=A(i,Dr);j(s,r,s),j(s,n.domain,s);const o=Xe(),l=Xe(),a=Xe();j(i,n.domain,o),j(i,n.scheme,l),j(i,n.slashscheme,a),j(o,r,s),j(o,n.domain,o);const c=A(o,Vt);A(s,Vt,c),A(l,Vt,c),A(a,Vt,c);const u=A(s,mt);j(u,r,s),j(u,n.domain,s);const d=Xe();j(c,n.domain,d),j(d,n.domain,d);const h=A(d,mt);j(h,n.domain,d);const f=Xe(oc);j(h,n.tld,f),j(h,n.utld,f),A(c,Vr,f);const p=A(d,Qe);A(p,Qe,p),j(p,n.domain,d),j(f,n.domain,d),A(f,mt,h),A(f,Qe,p);const m=A(f,Wt);j(m,n.numeric,oc);const g=A(o,Qe),y=A(o,mt);A(g,Qe,g),j(g,n.domain,o),j(y,r,s),j(y,n.domain,o);const k=Xe(hi);j(y,n.tld,k),j(y,n.utld,k),j(k,n.domain,o),j(k,r,s),A(k,mt,y),A(k,Qe,g),A(k,Vt,c);const x=A(k,Wt),T=Xe(hi);j(x,n.numeric,T);const E=Xe(hi),I=Xe();j(E,e,E),j(E,t,I),j(I,e,E),j(I,t,I),A(k,gt,E),A(T,gt,E);const O=A(l,Wt),R=A(a,Wt),K=A(R,gt),Se=A(K,gt);j(l,n.domain,o),A(l,mt,y),A(l,Qe,g),j(a,n.domain,o),A(a,mt,y),A(a,Qe,g),j(O,n.domain,E),A(O,gt,E),A(O,Er,E),j(Se,n.domain,E),j(Se,e,E),A(Se,gt,E);const Lt=[[Tr,Mr],[Bi,zi],[$i,Fi],[Yi,Hi],[Vi,ji],[Ui,Wi],[Ki,qi],[Ji,Gi]];for(let dt=0;dt=0&&h++,i++,u++;if(h<0)i-=u,i0&&(s.push(ro(lc,e,o)),o=[]),i-=h,u-=h;const f=d.t,p=t.slice(i-u,i);s.push(ro(f,e,p))}}return o.length>0&&s.push(ro(lc,e,o)),s}function ro(n,e,t){const r=t[0].s,i=t[t.length-1].e,s=e.slice(r,i);return new n(s,t)}const P1=typeof console<"u"&&console&&console.warn||(()=>{}),B1="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",te={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function z1(){return Ye.groups={},te.scanner=null,te.parser=null,te.tokenQueue=[],te.pluginQueue=[],te.customSchemes=[],te.initialized=!1,te}function ac(n,e=!1){if(te.initialized&&P1(`linkifyjs: already initialized - will not register custom scheme "${n}" ${B1}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(n))throw new Error(`linkifyjs: incorrect scheme format. +1. Must only contain digits, lowercase ASCII letters or "-" +2. Cannot start or end with "-" +3. "-" cannot repeat`);te.customSchemes.push([n,e])}function $1(){te.scanner=N1(te.customSchemes);for(let n=0;n{const i=e.some(c=>c.docChanged)&&!t.doc.eq(r.doc),s=e.some(c=>c.getMeta("preventAutolink"));if(!i||s)return;const{tr:o}=r,l=bd(t.doc,[...e]);if(Td(l).forEach(({newRange:c})=>{const u=Hb(r.doc,c,f=>f.isTextblock);let d,h;if(u.length>1)d=u[0],h=r.doc.textBetween(d.pos,d.pos+d.node.nodeSize,void 0," ");else if(u.length){const f=r.doc.textBetween(c.from,c.to," "," ");if(!Y1.test(f))return;d=u[0],h=r.doc.textBetween(d.pos,c.to,void 0," ")}if(d&&h){const f=h.split(F1).filter(Boolean);if(f.length<=0)return!1;const p=f[f.length-1],m=d.pos+h.lastIndexOf(p);if(!p)return!1;const g=Ol(p).map(y=>y.toObject(n.defaultProtocol));if(!V1(g))return!1;g.filter(y=>y.isLink).map(y=>({...y,from:m+y.start+1,to:m+y.end+1})).filter(y=>r.schema.marks.code?!r.doc.rangeHasMark(y.from,y.to,r.schema.marks.code):!0).filter(y=>n.validate(y.value)).filter(y=>n.shouldAutoLink(y.value)).forEach(y=>{bl(y.from,y.to,r.doc).some(k=>k.mark.type===n.type)||o.addMark(y.from,y.to,n.type.create({href:y.href}))})}}),!!o.steps.length)return o}})}function U1(n){return new ie({key:new fe("handleClickLink"),props:{handleClick:(e,t,r)=>{var i,s;if(r.button!==0||!e.editable)return!1;let o=null;if(r.target instanceof HTMLAnchorElement)o=r.target;else{const a=r.target;if(!a)return!1;const c=n.editor.view.dom;o=a.closest("a"),o&&!c.contains(o)&&(o=null)}if(!o)return!1;let l=!1;if(n.enableClickSelection&&(l=n.editor.commands.extendMarkRange(n.type.name)),n.openOnClick){const a=Sd(e.state,n.type.name),c=(i=o.href)!=null?i:a.href,u=(s=o.target)!=null?s:a.target;c&&(window.open(c,u),l=!0)}return l}}})}function W1(n){return new ie({key:new fe("handlePasteLink"),props:{handlePaste:(e,t,r)=>{const{shouldAutoLink:i}=n,{state:s}=e,{selection:o}=s,{empty:l}=o;if(l)return!1;let a="";r.content.forEach(u=>{a+=u.textContent});const c=Zd(a,{defaultProtocol:n.defaultProtocol}).find(u=>u.isLink&&u.value===a);return!a||!c||i!==void 0&&!i(c.value)?!1:n.editor.commands.setMark(n.type,{href:c.href})}}})}function dn(n,e){const t=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(r=>{const i=typeof r=="string"?r:r.scheme;i&&t.push(i)}),!n||n.replace(H1,"").match(new RegExp(`^(?:(?:${t.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}var eh=Pn.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(n=>{if(typeof n=="string"){ac(n);return}ac(n.scheme,n.optionalSlashes)})},onDestroy(){z1()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,enableClickSelection:!1,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(n,e)=>!!dn(n,e.protocols),validate:n=>!!n,shouldAutoLink:n=>{const e=/^[a-z][a-z0-9+.-]*:\/\//i.test(n),t=/^[a-z][a-z0-9+.-]*:/i.test(n);if(e||t&&!n.includes("@"))return!0;const i=(n.includes("@")?n.split("@").pop():n).split(/[/?#:]/)[0];return!(/^\d{1,3}(\.\d{1,3}){3}$/.test(i)||!/\./.test(i))}}},addAttributes(){return{href:{default:null,parseHTML(n){return n.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class},title:{default:null}}},parseHTML(){return[{tag:"a[href]",getAttrs:n=>{const e=n.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:t=>!!dn(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:n}){return this.options.isAllowedUri(n.href,{defaultValidate:e=>!!dn(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",ae(this.options.HTMLAttributes,n),0]:["a",ae(this.options.HTMLAttributes,{...n,href:""}),0]},markdownTokenName:"link",parseMarkdown:(n,e)=>e.applyMark("link",e.parseInline(n.tokens||[]),{href:n.href,title:n.title||null}),renderMarkdown:(n,e)=>{var t,r,i,s;const o=(r=(t=n.attrs)==null?void 0:t.href)!=null?r:"",l=(s=(i=n.attrs)==null?void 0:i.title)!=null?s:"",a=e.renderChildren(n);return l?`[${a}](${o} "${l}")`:`[${a}](${o})`},addCommands(){return{setLink:n=>({chain:e})=>{const{href:t}=n;return this.options.isAllowedUri(t,{defaultValidate:r=>!!dn(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().setMark(this.name,n).setMeta("preventAutolink",!0).run():!1},toggleLink:n=>({chain:e})=>{const{href:t}=n||{};return t&&!this.options.isAllowedUri(t,{defaultValidate:r=>!!dn(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:e().toggleMark(this.name,n,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:n})=>n().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[In({find:n=>{const e=[];if(n){const{protocols:t,defaultProtocol:r}=this.options,i=Zd(n).filter(s=>s.isLink&&this.options.isAllowedUri(s.value,{defaultValidate:o=>!!dn(o,t),protocols:t,defaultProtocol:r}));i.length&&i.forEach(s=>{this.options.shouldAutoLink(s.value)&&e.push({text:s.value,data:{href:s.href},index:s.start})})}return e},type:this.type,getAttributes:n=>{var e;return{href:(e=n.data)==null?void 0:e.href}}})]},addProseMirrorPlugins(){const n=[],{protocols:e,defaultProtocol:t}=this.options;return this.options.autolink&&n.push(j1({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:r=>this.options.isAllowedUri(r,{defaultValidate:i=>!!dn(i,e),protocols:e,defaultProtocol:t}),shouldAutoLink:this.options.shouldAutoLink})),n.push(U1({type:this.type,editor:this.editor,openOnClick:this.options.openOnClick==="whenNotEditable"?!0:this.options.openOnClick,enableClickSelection:this.options.enableClickSelection})),this.options.linkOnPaste&&n.push(W1({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type,shouldAutoLink:this.options.shouldAutoLink})),n}}),K1=eh,q1=Object.defineProperty,J1=(n,e)=>{for(var t in e)q1(n,t,{get:e[t],enumerable:!0})},G1="listItem",cc="textStyle",uc=/^\s*([-+*])\s$/,th=Ve.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:n}){return["ul",ae(this.options.HTMLAttributes,n),0]},markdownTokenName:"list",parseMarkdown:(n,e)=>n.type!=="list"||n.ordered?[]:{type:"bulletList",content:n.items?e.parseChildren(n.items):[]},renderMarkdown:(n,e)=>n.content?e.renderChildren(n.content,` +`):"",markdownOptions:{indentsContent:!0},addCommands(){return{toggleBulletList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(G1,this.editor.getAttributes(cc)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Zn({find:uc,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Zn({find:uc,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(cc),editor:this.editor})),[n]}}),nh=Ve.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ae(this.options.HTMLAttributes,n),0]},markdownTokenName:"list_item",parseMarkdown:(n,e)=>{if(n.type!=="list_item")return[];let t=[];if(n.tokens&&n.tokens.length>0)if(n.tokens.some(i=>i.type==="paragraph"))t=e.parseChildren(n.tokens);else{const i=n.tokens[0];if(i&&i.type==="text"&&i.tokens&&i.tokens.length>0){if(t=[{type:"paragraph",content:e.parseInline(i.tokens)}],n.tokens.length>1){const o=n.tokens.slice(1),l=e.parseChildren(o);t.push(...l)}}else t=e.parseChildren(n.tokens)}return t.length===0&&(t=[{type:"paragraph",content:[]}]),{type:"listItem",content:t}},renderMarkdown:(n,e,t)=>vl(n,e,r=>{var i,s;return r.parentType==="bulletList"?"- ":r.parentType==="orderedList"?`${(((s=(i=r.meta)==null?void 0:i.parentAttrs)==null?void 0:s.start)||1)+r.index}. `:"- "},t),addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),X1={};J1(X1,{findListItemPos:()=>Jr,getNextListDepth:()=>Il,handleBackspace:()=>$o,handleDelete:()=>Fo,hasListBefore:()=>rh,hasListItemAfter:()=>Q1,hasListItemBefore:()=>ih,listItemHasSubList:()=>sh,nextListIsDeeper:()=>oh,nextListIsHigher:()=>lh});var Jr=(n,e)=>{const{$from:t}=e.selection,r=de(n,e.schema);let i=null,s=t.depth,o=t.pos,l=null;for(;s>0&&l===null;)i=t.node(s),i.type===r?l=s:(s-=1,o-=1);return l===null?null:{$pos:e.doc.resolve(o),depth:l}},Il=(n,e)=>{const t=Jr(n,e);if(!t)return!1;const[,r]=Zb(e,n,t.$pos.pos+4);return r},rh=(n,e,t)=>{const{$anchor:r}=n.selection,i=Math.max(0,r.pos-2),s=n.doc.resolve(i).node();return!(!s||!t.includes(s.type.name))},ih=(n,e)=>{var t;const{$anchor:r}=e.selection,i=e.doc.resolve(r.pos-2);return!(i.index()===0||((t=i.nodeBefore)==null?void 0:t.type.name)!==n)},sh=(n,e,t)=>{if(!t)return!1;const r=de(n,e.schema);let i=!1;return t.descendants(s=>{s.type===r&&(i=!0)}),i},$o=(n,e,t)=>{if(n.commands.undoInputRule())return!0;if(n.state.selection.from!==n.state.selection.to)return!1;if(!rn(n.state,e)&&rh(n.state,e,t)){const{$anchor:l}=n.state.selection,a=n.state.doc.resolve(l.before()-1),c=[];a.node().descendants((h,f)=>{h.type.name===e&&c.push({node:h,pos:f})});const u=c.at(-1);if(!u)return!1;const d=n.state.doc.resolve(a.start()+u.pos+1);return n.chain().cut({from:l.start()-1,to:l.end()+1},d.end()).joinForward().run()}if(!rn(n.state,e)||!rx(n.state))return!1;const r=Jr(e,n.state);if(!r)return!1;const s=n.state.doc.resolve(r.$pos.pos-2).node(r.depth),o=sh(e,n.state,s);return ih(e,n.state)&&!o?n.commands.joinItemBackward():n.chain().liftListItem(e).run()},oh=(n,e)=>{const t=Il(n,e),r=Jr(n,e);return!r||!t?!1:t>r.depth},lh=(n,e)=>{const t=Il(n,e),r=Jr(n,e);return!r||!t?!1:t{if(!rn(n.state,e)||!nx(n.state,e))return!1;const{selection:t}=n.state,{$from:r,$to:i}=t;return!t.empty&&r.sameParent(i)?!1:oh(e,n.state)?n.chain().focus(n.state.selection.from+4).lift(e).joinBackward().run():lh(e,n.state)?n.chain().joinForward().joinBackward().run():n.commands.joinItemForward()},Q1=(n,e)=>{var t;const{$anchor:r}=e.selection,i=e.doc.resolve(r.pos-r.parentOffset-2);return!(i.index()===i.parent.childCount-1||((t=i.nodeAfter)==null?void 0:t.type.name)!==n)},ah=ce.create({name:"listKeymap",addOptions(){return{listTypes:[{itemName:"listItem",wrapperNames:["bulletList","orderedList"]},{itemName:"taskItem",wrapperNames:["taskList"]}]}},addKeyboardShortcuts(){return{Delete:({editor:n})=>{let e=!1;return this.options.listTypes.forEach(({itemName:t})=>{n.state.schema.nodes[t]!==void 0&&Fo(n,t)&&(e=!0)}),e},"Mod-Delete":({editor:n})=>{let e=!1;return this.options.listTypes.forEach(({itemName:t})=>{n.state.schema.nodes[t]!==void 0&&Fo(n,t)&&(e=!0)}),e},Backspace:({editor:n})=>{let e=!1;return this.options.listTypes.forEach(({itemName:t,wrapperNames:r})=>{n.state.schema.nodes[t]!==void 0&&$o(n,t,r)&&(e=!0)}),e},"Mod-Backspace":({editor:n})=>{let e=!1;return this.options.listTypes.forEach(({itemName:t,wrapperNames:r})=>{n.state.schema.nodes[t]!==void 0&&$o(n,t,r)&&(e=!0)}),e}}}}),dc=/^(\s*)(\d+)\.\s+(.*)$/,Z1=/^\s/;function ek(n){const e=[];let t=0,r=0;for(;te;)h.push(n[d]),d+=1;if(h.length>0){const f=Math.min(...h.map(m=>m.indent)),p=ch(h,f,t);c.push({type:"list",ordered:!0,start:h[0].number,items:p,raw:h.map(m=>m.raw).join(` +`)})}i.push({type:"list_item",raw:o.raw,tokens:c}),s=d}else s+=1}return i}function tk(n,e){return n.map(t=>{if(t.type!=="list_item")return e.parseChildren([t])[0];const r=[];return t.tokens&&t.tokens.length>0&&t.tokens.forEach(i=>{if(i.type==="paragraph"||i.type==="list"||i.type==="blockquote"||i.type==="code")r.push(...e.parseChildren([i]));else if(i.type==="text"&&i.tokens){const s=e.parseChildren([i]);r.push({type:"paragraph",content:s})}else{const s=e.parseChildren([i]);s.length>0&&r.push(...s)}}),{type:"listItem",content:r}})}var nk="listItem",hc="textStyle",fc=/^(\d+)\.\s$/,uh=Ve.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:n=>n.hasAttribute("start")?parseInt(n.getAttribute("start")||"",10):1},type:{default:null,parseHTML:n=>n.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:n}){const{start:e,...t}=n;return e===1?["ol",ae(this.options.HTMLAttributes,t),0]:["ol",ae(this.options.HTMLAttributes,n),0]},markdownTokenName:"list",parseMarkdown:(n,e)=>{if(n.type!=="list"||!n.ordered)return[];const t=n.start||1,r=n.items?tk(n.items,e):[];return t!==1?{type:"orderedList",attrs:{start:t},content:r}:{type:"orderedList",content:r}},renderMarkdown:(n,e)=>n.content?e.renderChildren(n.content,` +`):"",markdownTokenizer:{name:"orderedList",level:"block",start:n=>{const e=n.match(/^(\s*)(\d+)\.\s+/),t=e?.index;return t!==void 0?t:-1},tokenize:(n,e,t)=>{var r;const i=n.split(` +`),[s,o]=ek(i);if(s.length===0)return;const l=ch(s,0,t);return l.length===0?void 0:{type:"list",ordered:!0,start:((r=s[0])==null?void 0:r.number)||1,items:l,raw:i.slice(0,o).join(` +`)}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleOrderedList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(nk,this.editor.getAttributes(hc)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Zn({find:fc,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Zn({find:fc,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(hc)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),rk=/^\s*(\[([( |x])?\])\s$/,ik=Ve.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList",a11y:void 0}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:n=>{const e=n.getAttribute("data-checked");return e===""||e==="true"},renderHTML:n=>({"data-checked":n.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:n,HTMLAttributes:e}){return["li",ae(this.options.HTMLAttributes,e,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:n.attrs.checked?"checked":null}],["span"]],["div",0]]},parseMarkdown:(n,e)=>{const t=[];if(n.tokens&&n.tokens.length>0?t.push(e.createNode("paragraph",{},e.parseInline(n.tokens))):n.text?t.push(e.createNode("paragraph",{},[e.createNode("text",{text:n.text})])):t.push(e.createNode("paragraph",{},[])),n.nestedTokens&&n.nestedTokens.length>0){const r=e.parseChildren(n.nestedTokens);t.push(...r)}return e.createNode("taskItem",{checked:n.checked||!1},t)},renderMarkdown:(n,e)=>{var t;const i=`- [${(t=n.attrs)!=null&&t.checked?"x":" "}] `;return vl(n,e,i)},addKeyboardShortcuts(){const n={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...n,Tab:()=>this.editor.commands.sinkListItem(this.name)}:n},addNodeView(){return({node:n,HTMLAttributes:e,getPos:t,editor:r})=>{const i=document.createElement("li"),s=document.createElement("label"),o=document.createElement("span"),l=document.createElement("input"),a=document.createElement("div"),c=d=>{var h,f;l.ariaLabel=((f=(h=this.options.a11y)==null?void 0:h.checkboxLabel)==null?void 0:f.call(h,d,l.checked))||`Task item checkbox for ${d.textContent||"empty task item"}`};c(n),s.contentEditable="false",l.type="checkbox",l.addEventListener("mousedown",d=>d.preventDefault()),l.addEventListener("change",d=>{if(!r.isEditable&&!this.options.onReadOnlyChecked){l.checked=!l.checked;return}const{checked:h}=d.target;r.isEditable&&typeof t=="function"&&r.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:f})=>{const p=t();if(typeof p!="number")return!1;const m=f.doc.nodeAt(p);return f.setNodeMarkup(p,void 0,{...m?.attrs,checked:h}),!0}).run(),!r.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(n,h)||(l.checked=!l.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([d,h])=>{i.setAttribute(d,h)}),i.dataset.checked=n.attrs.checked,l.checked=n.attrs.checked,s.append(l,o),i.append(s,a),Object.entries(e).forEach(([d,h])=>{i.setAttribute(d,h)});let u=new Set(Object.keys(e));return{dom:i,contentDOM:a,update:d=>{if(d.type!==this.type)return!1;i.dataset.checked=d.attrs.checked,l.checked=d.attrs.checked,c(d);const h=r.extensionManager.attributes,f=Hr(d,h),p=new Set(Object.keys(f)),m=this.options.HTMLAttributes;return u.forEach(g=>{p.has(g)||(g in m?i.setAttribute(g,m[g]):i.removeAttribute(g))}),Object.entries(f).forEach(([g,y])=>{y==null?g in m?i.setAttribute(g,m[g]):i.removeAttribute(g):i.setAttribute(g,y)}),u=p,!0}}}},addInputRules(){return[Zn({find:rk,type:this.type,getAttributes:n=>({checked:n[n.length-1]==="x"})})]}}),sk=Ve.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:n}){return["ul",ae(this.options.HTMLAttributes,n,{"data-type":this.name}),0]},parseMarkdown:(n,e)=>e.createNode("taskList",{},e.parseChildren(n.items||[])),renderMarkdown:(n,e)=>n.content?e.renderChildren(n.content,` +`):"",markdownTokenizer:{name:"taskList",level:"block",start(n){var e;const t=(e=n.match(/^\s*[-+*]\s+\[([ xX])\]\s+/))==null?void 0:e.index;return t!==void 0?t:-1},tokenize(n,e,t){const r=s=>{const o=Oo(s,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:l=>({indentLevel:l[1].length,mainContent:l[4],checked:l[3].toLowerCase()==="x"}),createToken:(l,a)=>({type:"taskItem",raw:"",mainContent:l.mainContent,indentLevel:l.indentLevel,checked:l.checked,text:l.mainContent,tokens:t.inlineTokens(l.mainContent),nestedTokens:a}),customNestedParser:r},t);return o?[{type:"taskList",raw:o.raw,items:o.items}]:t.blockTokens(s)},i=Oo(n,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:s=>({indentLevel:s[1].length,mainContent:s[4],checked:s[3].toLowerCase()==="x"}),createToken:(s,o)=>({type:"taskItem",raw:"",mainContent:s.mainContent,indentLevel:s.indentLevel,checked:s.checked,text:s.mainContent,tokens:t.inlineTokens(s.mainContent),nestedTokens:o}),customNestedParser:r},t);if(i)return{type:"taskList",raw:i.raw,items:i.items}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleTaskList:()=>({commands:n})=>n.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});ce.create({name:"listKit",addExtensions(){const n=[];return this.options.bulletList!==!1&&n.push(th.configure(this.options.bulletList)),this.options.listItem!==!1&&n.push(nh.configure(this.options.listItem)),this.options.listKeymap!==!1&&n.push(ah.configure(this.options.listKeymap)),this.options.orderedList!==!1&&n.push(uh.configure(this.options.orderedList)),this.options.taskItem!==!1&&n.push(ik.configure(this.options.taskItem)),this.options.taskList!==!1&&n.push(sk.configure(this.options.taskList)),n}});var pc=" ",ok=" ",lk=Ve.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:n}){return["p",ae(this.options.HTMLAttributes,n),0]},parseMarkdown:(n,e)=>{const t=n.tokens||[];if(t.length===1&&t[0].type==="image")return e.parseChildren([t[0]]);const r=e.parseInline(t);return r.length===1&&r[0].type==="text"&&(r[0].text===pc||r[0].text===ok)?e.createNode("paragraph",void 0,[]):e.createNode("paragraph",void 0,r)},renderMarkdown:(n,e)=>{if(!n)return"";const t=Array.isArray(n.content)?n.content:[];return t.length===0?pc:e.renderChildren(t)},addCommands(){return{setParagraph:()=>({commands:n})=>n.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),ak=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,ck=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,uk=Pn.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:n=>n.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["s",ae(this.options.HTMLAttributes,n),0]},markdownTokenName:"del",parseMarkdown:(n,e)=>e.applyMark("strike",e.parseInline(n.tokens||[])),renderMarkdown:(n,e)=>`~~${e.renderChildren(n)}~~`,addCommands(){return{setStrike:()=>({commands:n})=>n.setMark(this.name),toggleStrike:()=>({commands:n})=>n.toggleMark(this.name),unsetStrike:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[Qn({find:ak,type:this.type})]},addPasteRules(){return[In({find:ck,type:this.type})]}}),dk=Ve.create({name:"text",group:"inline",parseMarkdown:n=>({type:"text",text:n.text||""}),renderMarkdown:n=>n.text||""}),dh=Pn.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:n=>n.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["u",ae(this.options.HTMLAttributes,n),0]},parseMarkdown(n,e){return e.applyMark(this.name||"underline",e.parseInline(n.tokens||[]))},renderMarkdown(n,e){return`++${e.renderChildren(n)}++`},markdownTokenizer:{name:"underline",level:"inline",start(n){return n.indexOf("++")},tokenize(n,e,t){const i=/^(\+\+)([\s\S]+?)(\+\+)/.exec(n);if(!i)return;const s=i[2].trim();return{type:"underline",raw:i[0],text:s,tokens:t.inlineTokens(s)}}},addCommands(){return{setUnderline:()=>({commands:n})=>n.setMark(this.name),toggleUnderline:()=>({commands:n})=>n.toggleMark(this.name),unsetUnderline:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),hk=dh;function fk(n={}){return new ie({view(e){return new pk(e,n)}})}class pk{constructor(e,t){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=t.width)!==null&&r!==void 0?r:1,this.color=t.color===!1?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let s=o=>{this[i](o)};return e.dom.addEventListener(i,s),{name:i,handler:s}})}destroy(){this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){this.cursorPos!=null&&t.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),t=!e.parent.inlineContent,r,i=this.editorView.dom,s=i.getBoundingClientRect(),o=s.width/i.offsetWidth,l=s.height/i.offsetHeight;if(t){let d=e.nodeBefore,h=e.nodeAfter;if(d||h){let f=this.editorView.nodeDOM(this.cursorPos-(d?d.nodeSize:0));if(f){let p=f.getBoundingClientRect(),m=d?p.bottom:p.top;d&&h&&(m=(m+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let g=this.width/2*l;r={left:p.left,right:p.right,top:m-g,bottom:m+g}}}}if(!r){let d=this.editorView.coordsAtPos(this.cursorPos),h=this.width/2*o;r={left:d.left-h,right:d.left+h,top:d.top,bottom:d.bottom}}let a=this.editorView.dom.offsetParent;this.element||(this.element=a.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",t),this.element.classList.toggle("prosemirror-dropcursor-inline",!t);let c,u;if(!a||a==document.body&&getComputedStyle(a).position=="static")c=-pageXOffset,u=-pageYOffset;else{let d=a.getBoundingClientRect(),h=d.width/a.offsetWidth,f=d.height/a.offsetHeight;c=d.left-a.scrollLeft*h,u=d.top-a.scrollTop*f}this.element.style.left=(r.left-c)/o+"px",this.element.style.top=(r.top-u)/l+"px",this.element.style.width=(r.right-r.left)/o+"px",this.element.style.height=(r.bottom-r.top)/l+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),i=r&&r.type.spec.disableDropCursor,s=typeof i=="function"?i(this.editorView,t,e):i;if(t&&!s){let o=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let l=cu(this.editorView.state.doc,o,this.editorView.dragging.slice);l!=null&&(o=l)}this.setCursor(o),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}class oe extends W{constructor(e){super(e,e)}map(e,t){let r=e.resolve(t.map(this.head));return oe.valid(r)?new oe(r):W.near(r)}content(){return N.empty}eq(e){return e instanceof oe&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,t){if(typeof t.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new oe(e.resolve(t.pos))}getBookmark(){return new _l(this.anchor)}static valid(e){let t=e.parent;if(t.isTextblock||!mk(e)||!gk(e))return!1;let r=t.type.spec.allowGapCursor;if(r!=null)return r;let i=t.contentMatchAt(e.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(e,t,r=!1){e:for(;;){if(!r&&oe.valid(e))return e;let i=e.pos,s=null;for(let o=e.depth;;o--){let l=e.node(o);if(t>0?e.indexAfter(o)0){s=l.child(t>0?e.indexAfter(o):e.index(o)-1);break}else if(o==0)return null;i+=t;let a=e.doc.resolve(i);if(oe.valid(a))return a}for(;;){let o=t>0?s.firstChild:s.lastChild;if(!o){if(s.isAtom&&!s.isText&&!P.isSelectable(s)){e=e.doc.resolve(i+s.nodeSize*t),r=!1;continue e}break}s=o,i+=t;let l=e.doc.resolve(i);if(oe.valid(l))return l}return null}}}oe.prototype.visible=!1;oe.findFrom=oe.findGapCursorFrom;W.jsonID("gapcursor",oe);class _l{constructor(e){this.pos=e}map(e){return new _l(e.map(this.pos))}resolve(e){let t=e.resolve(this.pos);return oe.valid(t)?new oe(t):W.near(t)}}function hh(n){return n.isAtom||n.spec.isolating||n.spec.createGapCursor}function mk(n){for(let e=n.depth;e>=0;e--){let t=n.index(e),r=n.node(e);if(t==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(t-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||hh(i.type))return!0;if(i.inlineContent)return!1}}return!0}function gk(n){for(let e=n.depth;e>=0;e--){let t=n.indexAfter(e),r=n.node(e);if(t==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(t);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||hh(i.type))return!0;if(i.inlineContent)return!1}}return!0}function yk(){return new ie({props:{decorations:wk,createSelectionBetween(n,e,t){return e.pos==t.pos&&oe.valid(t)?new oe(t):null},handleClick:xk,handleKeyDown:bk,handleDOMEvents:{beforeinput:kk}}})}const bk=ud({ArrowLeft:fi("horiz",-1),ArrowRight:fi("horiz",1),ArrowUp:fi("vert",-1),ArrowDown:fi("vert",1)});function fi(n,e){const t=n=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,i,s){let o=r.selection,l=e>0?o.$to:o.$from,a=o.empty;if(o instanceof $){if(!s.endOfTextblock(t)||l.depth==0)return!1;a=!1,l=r.doc.resolve(e>0?l.after():l.before())}let c=oe.findGapCursorFrom(l,e,a);return c?(i&&i(r.tr.setSelection(new oe(c))),!0):!1}}function xk(n,e,t){if(!n||!n.editable)return!1;let r=n.state.doc.resolve(e);if(!oe.valid(r))return!1;let i=n.posAtCoords({left:t.clientX,top:t.clientY});return i&&i.inside>-1&&P.isSelectable(n.state.doc.nodeAt(i.inside))?!1:(n.dispatch(n.state.tr.setSelection(new oe(r))),!0)}function kk(n,e){if(e.inputType!="insertCompositionText"||!(n.state.selection instanceof oe))return!1;let{$from:t}=n.state.selection,r=t.parent.contentMatchAt(t.index()).findWrapping(n.state.schema.nodes.text);if(!r)return!1;let i=C.empty;for(let o=r.length-1;o>=0;o--)i=C.from(r[o].createAndFill(null,i));let s=n.state.tr.replace(t.pos,t.pos,new N(i,0,0));return s.setSelection($.near(s.doc.resolve(t.pos+1))),n.dispatch(s),!1}function wk(n){if(!(n.selection instanceof oe))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",re.create(n.doc,[Re.widget(n.selection.head,e,{key:"gapcursor"})])}var ds=200,xe=function(){};xe.prototype.append=function(e){return e.length?(e=xe.from(e),!this.length&&e||e.length=t?xe.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))};xe.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};xe.prototype.forEach=function(e,t,r){t===void 0&&(t=0),r===void 0&&(r=this.length),t<=r?this.forEachInner(e,t,r,0):this.forEachInvertedInner(e,t,r,0)};xe.prototype.map=function(e,t,r){t===void 0&&(t=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(s,o){return i.push(e(s,o))},t,r),i};xe.from=function(e){return e instanceof xe?e:e&&e.length?new fh(e):xe.empty};var fh=(function(n){function e(r){n.call(this),this.values=r}n&&(e.__proto__=n),e.prototype=Object.create(n&&n.prototype),e.prototype.constructor=e;var t={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(i,s){return i==0&&s==this.length?this:new e(this.values.slice(i,s))},e.prototype.getInner=function(i){return this.values[i]},e.prototype.forEachInner=function(i,s,o,l){for(var a=s;a=o;a--)if(i(this.values[a],l+a)===!1)return!1},e.prototype.leafAppend=function(i){if(this.length+i.length<=ds)return new e(this.values.concat(i.flatten()))},e.prototype.leafPrepend=function(i){if(this.length+i.length<=ds)return new e(i.flatten().concat(this.values))},t.length.get=function(){return this.values.length},t.depth.get=function(){return 0},Object.defineProperties(e.prototype,t),e})(xe);xe.empty=new fh([]);var vk=(function(n){function e(t,r){n.call(this),this.left=t,this.right=r,this.length=t.length+r.length,this.depth=Math.max(t.depth,r.depth)+1}return n&&(e.__proto__=n),e.prototype=Object.create(n&&n.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(r){return rl&&this.right.forEachInner(r,Math.max(i-l,0),Math.min(this.length,s)-l,o+l)===!1)return!1},e.prototype.forEachInvertedInner=function(r,i,s,o){var l=this.left.length;if(i>l&&this.right.forEachInvertedInner(r,i-l,Math.max(s,l)-l,o+l)===!1||s=s?this.right.slice(r-s,i-s):this.left.slice(r,s).append(this.right.slice(0,i-s))},e.prototype.leafAppend=function(r){var i=this.right.leafAppend(r);if(i)return new e(this.left,i)},e.prototype.leafPrepend=function(r){var i=this.left.leafPrepend(r);if(i)return new e(i,this.right)},e.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},e})(xe);const Ck=500;class ot{constructor(e,t){this.items=e,this.eventCount=t}popEvent(e,t){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,s;t&&(i=this.remapping(r,this.items.length),s=i.maps.length);let o=e.tr,l,a,c=[],u=[];return this.items.forEach((d,h)=>{if(!d.step){i||(i=this.remapping(r,h+1),s=i.maps.length),s--,u.push(d);return}if(i){u.push(new yt(d.map));let f=d.step.map(i.slice(s)),p;f&&o.maybeStep(f).doc&&(p=o.mapping.maps[o.mapping.maps.length-1],c.push(new yt(p,void 0,void 0,c.length+u.length))),s--,p&&i.appendMap(p,s)}else o.maybeStep(d.step);if(d.selection)return l=i?d.selection.map(i.slice(s)):d.selection,a=new ot(this.items.slice(0,r).append(u.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:a,transform:o,selection:l}}addTransform(e,t,r,i){let s=[],o=this.eventCount,l=this.items,a=!i&&l.length?l.get(l.length-1):null;for(let u=0;uTk&&(l=Sk(l,c),o-=c),new ot(l.append(s),o)}remapping(e,t){let r=new Pr;return this.items.forEach((i,s)=>{let o=i.mirrorOffset!=null&&s-i.mirrorOffset>=e?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,o)},e,t),r}addMaps(e){return this.eventCount==0?this:new ot(this.items.append(e.map(t=>new yt(t))),this.eventCount)}rebased(e,t){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-t),s=e.mapping,o=e.steps.length,l=this.eventCount;this.items.forEach(h=>{h.selection&&l--},i);let a=t;this.items.forEach(h=>{let f=s.getMirror(--a);if(f==null)return;o=Math.min(o,f);let p=s.maps[f];if(h.step){let m=e.steps[f].invert(e.docs[f]),g=h.selection&&h.selection.map(s.slice(a+1,f));g&&l++,r.push(new yt(p,m,g))}else r.push(new yt(p))},i);let c=[];for(let h=t;hCk&&(d=d.compress(this.items.length-r.length)),d}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(e=this.items.length){let t=this.remapping(0,e),r=t.maps.length,i=[],s=0;return this.items.forEach((o,l)=>{if(l>=e)i.push(o),o.selection&&s++;else if(o.step){let a=o.step.map(t.slice(r)),c=a&&a.getMap();if(r--,c&&t.appendMap(c,r),a){let u=o.selection&&o.selection.map(t.slice(r));u&&s++;let d=new yt(c.invert(),a,u),h,f=i.length-1;(h=i.length&&i[f].merge(d))?i[f]=h:i.push(d)}}else o.map&&r--},this.items.length,0),new ot(xe.from(i.reverse()),s)}}ot.empty=new ot(xe.empty,0);function Sk(n,e){let t;return n.forEach((r,i)=>{if(r.selection&&e--==0)return t=i,!1}),n.slice(t)}class yt{constructor(e,t,r,i){this.map=e,this.step=t,this.selection=r,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step);if(t)return new yt(t.getMap().invert(),t,this.selection)}}}class jt{constructor(e,t,r,i,s){this.done=e,this.undone=t,this.prevRanges=r,this.prevTime=i,this.prevComposition=s}}const Tk=20;function Mk(n,e,t,r){let i=t.getMeta(Mn),s;if(i)return i.historyState;t.getMeta(Dk)&&(n=new jt(n.done,n.undone,null,0,-1));let o=t.getMeta("appendedTransaction");if(t.steps.length==0)return n;if(o&&o.getMeta(Mn))return o.getMeta(Mn).redo?new jt(n.done.addTransform(t,void 0,r,xi(e)),n.undone,mc(t.mapping.maps),n.prevTime,n.prevComposition):new jt(n.done,n.undone.addTransform(t,void 0,r,xi(e)),null,n.prevTime,n.prevComposition);if(t.getMeta("addToHistory")!==!1&&!(o&&o.getMeta("addToHistory")===!1)){let l=t.getMeta("composition"),a=n.prevTime==0||!o&&n.prevComposition!=l&&(n.prevTime<(t.time||0)-r.newGroupDelay||!Ak(t,n.prevRanges)),c=o?io(n.prevRanges,t.mapping):mc(t.mapping.maps);return new jt(n.done.addTransform(t,a?e.selection.getBookmark():void 0,r,xi(e)),ot.empty,c,t.time,l??n.prevComposition)}else return(s=t.getMeta("rebased"))?new jt(n.done.rebased(t,s),n.undone.rebased(t,s),io(n.prevRanges,t.mapping),n.prevTime,n.prevComposition):new jt(n.done.addMaps(t.mapping.maps),n.undone.addMaps(t.mapping.maps),io(n.prevRanges,t.mapping),n.prevTime,n.prevComposition)}function Ak(n,e){if(!e)return!1;if(!n.docChanged)return!0;let t=!1;return n.mapping.maps[0].forEach((r,i)=>{for(let s=0;s=e[s]&&(t=!0)}),t}function mc(n){let e=[];for(let t=n.length-1;t>=0&&e.length==0;t--)n[t].forEach((r,i,s,o)=>e.push(s,o));return e}function io(n,e){if(!n)return null;let t=[];for(let r=0;r{let i=Mn.getState(t);if(!i||(n?i.undone:i.done).eventCount==0)return!1;if(r){let s=Ek(i,t,n);s&&r(e?s.scrollIntoView():s)}return!0}}const mh=ph(!1,!0),gh=ph(!0,!0);ce.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:n=>n.length,wordCounter:n=>n.split(" ").filter(e=>e!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=n=>{const e=n?.node||this.editor.state.doc;if((n?.mode||this.options.mode)==="textSize"){const r=e.textBetween(0,e.content.size,void 0," ");return this.options.textCounter(r)}return e.nodeSize},this.storage.words=n=>{const e=n?.node||this.editor.state.doc,t=e.textBetween(0,e.content.size," "," ");return this.options.wordCounter(t)}},addProseMirrorPlugins(){let n=!1;return[new ie({key:new fe("characterCount"),appendTransaction:(e,t,r)=>{if(n)return;const i=this.options.limit;if(i==null||i===0){n=!0;return}const s=this.storage.characters({node:r.doc});if(s>i){const o=s-i,l=0,a=o;console.warn(`[CharacterCount] Initial content exceeded limit of ${i} characters. Content was automatically trimmed.`);const c=r.tr.deleteRange(l,a);return n=!0,c}n=!0},filterTransaction:(e,t)=>{const r=this.options.limit;if(!e.docChanged||r===0||r===null||r===void 0)return!0;const i=this.storage.characters({node:t.doc}),s=this.storage.characters({node:e.doc});if(s<=r||i>r&&s>r&&s<=i)return!0;if(i>r&&s>r&&s>i||!e.getMeta("paste"))return!1;const l=e.selection.$head.pos,a=s-r,c=l-a,u=l;return e.deleteRange(c,u),!(this.storage.characters({node:e.doc})>r)}})]}});var Nk=ce.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[fk(this.options)]}});ce.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new ie({key:new fe("focus"),props:{decorations:({doc:n,selection:e})=>{const{isEditable:t,isFocused:r}=this.editor,{anchor:i}=e,s=[];if(!t||!r)return re.create(n,[]);let o=0;this.options.mode==="deepest"&&n.descendants((a,c)=>{if(a.isText)return;if(!(i>=c&&i<=c+a.nodeSize-1))return!1;o+=1});let l=0;return n.descendants((a,c)=>{if(a.isText||!(i>=c&&i<=c+a.nodeSize-1))return!1;if(l+=1,this.options.mode==="deepest"&&o-l>0||this.options.mode==="shallowest"&&l>1)return this.options.mode==="deepest";s.push(Re.node(c,c+a.nodeSize,{class:this.options.className}))}),re.create(n,s)}}})]}});var Ik=ce.create({name:"gapCursor",addProseMirrorPlugins(){return[yk()]},extendNodeSchema(n){var e;const t={name:n.name,options:n.options,storage:n.storage};return{allowGapCursor:(e=X(_(n,"allowGapCursor",t)))!=null?e:null}}}),yc="placeholder";function _k(n){return n.replace(/\s+/g,"-").replace(/[^a-zA-Z0-9-]/g,"").replace(/^[0-9-]+/,"").replace(/^-+/,"").toLowerCase()}ce.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",dataAttribute:yc,placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){const n=this.options.dataAttribute?`data-${_k(this.options.dataAttribute)}`:`data-${yc}`;return[new ie({key:new fe("placeholder"),props:{decorations:({doc:e,selection:t})=>{const r=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:i}=t,s=[];if(!r)return null;const o=this.editor.isEmpty;return e.descendants((l,a)=>{const c=i>=a&&i<=a+l.nodeSize,u=!l.isLeaf&&Ms(l);if((c||!this.options.showOnlyCurrent)&&u){const d=[this.options.emptyNodeClass];o&&d.push(this.options.emptyEditorClass);const h=Re.node(a,a+l.nodeSize,{class:d.join(" "),[n]:typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:l,pos:a,hasAnchor:c}):this.options.placeholder});s.push(h)}return this.options.includeChildren}),re.create(e,s)}}})]}});ce.create({name:"selection",addOptions(){return{className:"selection"}},addProseMirrorPlugins(){const{editor:n,options:e}=this;return[new ie({key:new fe("selection"),props:{decorations(t){return t.selection.empty||n.isFocused||!n.isEditable||Md(t.selection)||n.view.dragging?null:re.create(t.doc,[Re.inline(t.selection.from,t.selection.to,{class:e.className})])}}})]}});function bc({types:n,node:e}){return e&&Array.isArray(n)&&n.includes(e.type)||e?.type===n}var Lk=ce.create({name:"trailingNode",addOptions(){return{node:void 0,notAfter:[]}},addProseMirrorPlugins(){var n;const e=new fe(this.name),t=this.options.node||((n=this.editor.schema.topNodeType.contentMatch.defaultType)==null?void 0:n.name)||"paragraph",r=Object.entries(this.editor.schema.nodes).map(([,i])=>i).filter(i=>(this.options.notAfter||[]).concat(t).includes(i.name));return[new ie({key:e,appendTransaction:(i,s,o)=>{const{doc:l,tr:a,schema:c}=o,u=e.getState(o),d=l.content.size,h=c.nodes[t];if(u)return a.insert(d,h.create())},state:{init:(i,s)=>{const o=s.tr.doc.lastChild;return!bc({node:o,types:r})},apply:(i,s)=>{if(!i.docChanged||i.getMeta("__uniqueIDTransaction"))return s;const o=i.doc.lastChild;return!bc({node:o,types:r})}}})]}}),Rk=ce.create({name:"undoRedo",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:n,dispatch:e})=>mh(n,e),redo:()=>({state:n,dispatch:e})=>gh(n,e)}},addProseMirrorPlugins(){return[Ok(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),Pk=ce.create({name:"starterKit",addExtensions(){var n,e,t,r;const i=[];return this.options.bold!==!1&&i.push(l1.configure(this.options.bold)),this.options.blockquote!==!1&&i.push(n1.configure(this.options.blockquote)),this.options.bulletList!==!1&&i.push(th.configure(this.options.bulletList)),this.options.code!==!1&&i.push(u1.configure(this.options.code)),this.options.codeBlock!==!1&&i.push(f1.configure(this.options.codeBlock)),this.options.document!==!1&&i.push(p1.configure(this.options.document)),this.options.dropcursor!==!1&&i.push(Nk.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&i.push(Ik.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&i.push(m1.configure(this.options.hardBreak)),this.options.heading!==!1&&i.push(g1.configure(this.options.heading)),this.options.undoRedo!==!1&&i.push(Rk.configure(this.options.undoRedo)),this.options.horizontalRule!==!1&&i.push(y1.configure(this.options.horizontalRule)),this.options.italic!==!1&&i.push(v1.configure(this.options.italic)),this.options.listItem!==!1&&i.push(nh.configure(this.options.listItem)),this.options.listKeymap!==!1&&i.push(ah.configure((n=this.options)==null?void 0:n.listKeymap)),this.options.link!==!1&&i.push(eh.configure((e=this.options)==null?void 0:e.link)),this.options.orderedList!==!1&&i.push(uh.configure(this.options.orderedList)),this.options.paragraph!==!1&&i.push(lk.configure(this.options.paragraph)),this.options.strike!==!1&&i.push(uk.configure(this.options.strike)),this.options.text!==!1&&i.push(dk.configure(this.options.text)),this.options.underline!==!1&&i.push(dh.configure((t=this.options)==null?void 0:t.underline)),this.options.trailingNode!==!1&&i.push(Lk.configure((r=this.options)==null?void 0:r.trailingNode)),i}}),Bk=Pk,zk=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,$k=Ve.create({name:"image",addOptions(){return{inline:!1,allowBase64:!1,HTMLAttributes:{},resize:!1}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},title:{default:null},width:{default:null},height:{default:null}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:n}){return["img",ae(this.options.HTMLAttributes,n)]},parseMarkdown:(n,e)=>e.createNode("image",{src:n.href,title:n.title,alt:n.text}),renderMarkdown:n=>{var e,t,r,i,s,o;const l=(t=(e=n.attrs)==null?void 0:e.src)!=null?t:"",a=(i=(r=n.attrs)==null?void 0:r.alt)!=null?i:"",c=(o=(s=n.attrs)==null?void 0:s.title)!=null?o:"";return c?`![${a}](${l} "${c}")`:`![${a}](${l})`},addNodeView(){if(!this.options.resize||!this.options.resize.enabled||typeof document>"u")return null;const{directions:n,minWidth:e,minHeight:t,alwaysPreserveAspectRatio:r}=this.options.resize;return({node:i,getPos:s,HTMLAttributes:o,editor:l})=>{const a=document.createElement("img");Object.entries(o).forEach(([d,h])=>{if(h!=null)switch(d){case"width":case"height":break;default:a.setAttribute(d,h);break}}),a.src=o.src;const c=new Vx({element:a,editor:l,node:i,getPos:s,onResize:(d,h)=>{a.style.width=`${d}px`,a.style.height=`${h}px`},onCommit:(d,h)=>{const f=s();f!==void 0&&this.editor.chain().setNodeSelection(f).updateAttributes(this.name,{width:d,height:h}).run()},onUpdate:(d,h,f)=>d.type===i.type,options:{directions:n,min:{width:e,height:t},preserveAspectRatio:r===!0}}),u=c.dom;return u.style.visibility="hidden",u.style.pointerEvents="none",a.onload=()=>{u.style.visibility="",u.style.pointerEvents=""},c}},addCommands(){return{setImage:n=>({commands:e})=>e.insertContent({type:this.name,attrs:n})}},addInputRules(){return[Vd({find:zk,type:this.type,getAttributes:n=>{const[,,e,t,r]=n;return{src:t,alt:e,title:r}}})]}}),Fk=$k;const Yk={class:"mail-body-editor-toolbar-shell"},Hk={class:"mail-body-editor-toolbar"},Vk={class:"mail-body-editor-toolbar-group"},jk={class:"mail-body-editor-toolbar-group"},Uk={class:"mail-body-editor-toolbar-group"},Wk=ke({__name:"MailComposeFormattingToolbar",props:{editor:{}},emits:["open-link-modal"],setup(n,{emit:e}){const t=n,r=e,i=()=>{t.editor&&t.editor.chain().focus().toggleBold().run()},s=()=>{t.editor&&t.editor.chain().focus().toggleItalic().run()},o=()=>{t.editor&&t.editor.chain().focus().toggleUnderline().run()},l=()=>{t.editor&&t.editor.chain().focus().toggleBulletList().run()},a=()=>{t.editor&&t.editor.chain().focus().toggleOrderedList().run()},c=()=>{t.editor&&t.editor.chain().focus().toggleBlockquote().run()},u=()=>{r("open-link-modal")};return(d,h)=>{const f=Y("oc-icon"),p=Y("oc-button");return D(),V("div",Yk,[v("div",Hk,[v("div",Vk,[M(p,{type:"button",appearance:"raw",class:We(["mail-body-editor-toolbar-btn",{"mail-body-editor-toolbar-btn--active":t.editor?.isActive("bold")}]),onClick:un(i,["stop"])},{default:B(()=>[M(f,{name:"bold","fill-type":"none",class:"mail-body-editor-toolbar-icon text-role-on-surface"})]),_:1},8,["class"]),h[0]||(h[0]=S()),M(p,{type:"button",appearance:"raw",class:We(["mail-body-editor-toolbar-btn",{"mail-body-editor-toolbar-btn--active":t.editor?.isActive("italic")}]),onClick:un(s,["stop"])},{default:B(()=>[M(f,{name:"italic","fill-type":"none",class:"mail-body-editor-toolbar-icon text-role-on-surface"})]),_:1},8,["class"]),h[1]||(h[1]=S()),M(p,{type:"button",appearance:"raw",class:We(["mail-body-editor-toolbar-btn",{"mail-body-editor-toolbar-btn--active":t.editor?.isActive("underline")}]),onClick:un(o,["stop"])},{default:B(()=>[M(f,{name:"underline","fill-type":"none",class:"mail-body-editor-toolbar-icon text-role-on-surface"})]),_:1},8,["class"])]),h[4]||(h[4]=S()),v("div",jk,[M(p,{type:"button",appearance:"raw",class:We(["mail-body-editor-toolbar-btn",{"mail-body-editor-toolbar-btn--active":t.editor?.isActive("bulletList")}]),onClick:un(l,["stop"])},{default:B(()=>[M(f,{name:"list-unordered","fill-type":"none",class:"mail-body-editor-toolbar-icon text-role-on-surface"})]),_:1},8,["class"]),h[2]||(h[2]=S()),M(p,{type:"button",appearance:"raw",class:We(["mail-body-editor-toolbar-btn",{"mail-body-editor-toolbar-btn--active":t.editor?.isActive("orderedList")}]),onClick:un(a,["stop"])},{default:B(()=>[M(f,{name:"list-ordered-2","fill-type":"none",class:"mail-body-editor-toolbar-icon text-role-on-surface"})]),_:1},8,["class"])]),h[5]||(h[5]=S()),v("div",Uk,[M(p,{type:"button",appearance:"raw",class:We(["mail-body-editor-toolbar-btn",{"mail-body-editor-toolbar-btn--active":t.editor?.isActive("link")}]),onClick:un(u,["stop"])},{default:B(()=>[M(f,{name:"link","fill-type":"none",class:"mail-body-editor-toolbar-icon text-role-on-surface"})]),_:1},8,["class"]),h[3]||(h[3]=S()),M(p,{type:"button",appearance:"raw",class:We(["mail-body-editor-toolbar-btn",{"mail-body-editor-toolbar-btn--active":t.editor?.isActive("blockquote")}]),onClick:un(c,["stop"])},{default:B(()=>[M(f,{name:"chat-quote-line","fill-type":"none",class:"mail-body-editor-toolbar-icon text-role-on-surface"})]),_:1},8,["class"])])])])}}}),Kk={class:"mail-body-editor flex flex-col gap-2 h-full min-h-0"},qk=ke({__name:"MailBodyEditor",props:{modelValue:{},showToolbar:{type:Boolean}},emits:["update:modelValue"],setup(n,{emit:e}){const{$gettext:t}=it(),{dispatchModal:r}=Ac(),i=n,s=e,o=e1({extensions:[Bk.configure({link:!1}),hk,K1.configure({openOnClick:!0,autolink:!0,linkOnPaste:!0,HTMLAttributes:{target:"_blank",rel:"noopener noreferrer"}}),Fk.configure({inline:!1})],content:i.modelValue||"",onUpdate({editor:d}){s("update:modelValue",d.getHTML())}});tr(()=>i.modelValue,d=>{if(!o.value)return;const h=o.value.getHTML();d!==h&&o.value.commands.setContent(d||"",{emitUpdate:!1})});const l=d=>{!o.value||o.value.view.dom.contains(d.target)||o.value.commands.focus("end")},a=d=>{const h=Or.sanitize(d,{ALLOWED_TAGS:[],ALLOWED_ATTR:[]}).trim();if(!h)return null;let f=h;/^[a-zA-Z][\w+.-]*:/.test(f)||(f=`https://${f}`);try{const p=new URL(f);return["http:","https:","mailto:"].includes(p.protocol)?p.href:null}catch{return null}},c=(d,h)=>{if(!o.value)return;const f=a(d),p=o.value.chain().focus().setTextSelection(h);if(!f){p.extendMarkRange("link").unsetLink().run();return}h.from!==h.to?p.extendMarkRange("link").setLink({href:f}).run():p.insertContent(`${f}`).run()},u=()=>{if(!o.value)return;o.value.commands.focus();const d=o.value.getAttributes("link").href,{from:h,to:f}=o.value.state.selection,p={from:h,to:f};r({title:t("Add link"),elementClass:"mail-body-editor-link-modal",confirmText:t("Apply"),hasInput:!0,inputType:"text",inputLabel:t("URL"),inputValue:d??"",onConfirm:m=>{const g=typeof m=="string"?m:(m??"").toString();c(g,p)}})};return Ur(()=>{o.value?.destroy()}),(d,h)=>(D(),V("div",Kk,[v("div",{class:"mail-body-editor-editor-wrapper flex-1 min-h-0",onClick:l},[b(o)?(D(),q(b(Zx),{key:0,editor:b(o),class:"mail-body-editor-editor"},null,8,["editor"])):ee("",!0)]),h[0]||(h[0]=S()),n.showToolbar?(D(),q(Wk,{key:0,editor:b(o),onOpenLinkModal:u},null,8,["editor"])):ee("",!0)]))}}),Jk={class:"px-4 flex flex-col min-h-full"},Gk={class:"py-2 mb-2 border-b border-role-outline-variant"},Xk={class:"flex-1 flex flex-col min-h-0"},xc=ke({__name:"MailComposeForm",props:{modelValue:{},showFormattingToolbar:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(n,{emit:e}){const t=e,{$gettext:r}=it(),i=ln(),{accounts:s}=Oe(i),o=bn("accountId"),l=U(()=>b(s)?.flatMap(u=>u.identities?.map(d=>({label:d.name?`${d.name} <${d.email}>`:d.email,value:d.id,name:d.name||d.email,email:d.email,accountId:u.accountId,identityId:d.id})))??[]),a=(u,d)=>{t("update:modelValue",{...n.modelValue,[u]:d})},c=u=>{const d=(n.modelValue.attachments??[]).filter(h=>h.id!==u);a("attachments",d)};return tr(l,u=>{if(!u.length)return;const d=b(o),h=d?u.find(f=>f.accountId===d)??u[0]:u[0];!n.modelValue.from&&h&&a("from",h)},{immediate:!0}),(u,d)=>{const h=Y("oc-select"),f=Y("oc-text-input");return D(),V("div",Jk,[v("div",Gk,[M(h,{"model-value":n.modelValue.from,label:`${b(r)("From")}:`,"inline-label":!0,"has-border":!1,options:l.value,"option-label":"label","option-value":"value",class:"w-full","onUpdate:modelValue":d[0]||(d[0]=p=>a("from",p))},null,8,["model-value","label","options"])]),d[7]||(d[7]=S()),M(f,{"model-value":n.modelValue.to,type:"email",class:"mail-new-message-to-input mb-2 pb-2 border-b border-role-outline-variant",label:`${b(r)("To")}:`,"inline-label":!0,"has-border":!1,"onUpdate:modelValue":d[1]||(d[1]=p=>a("to",p))},null,8,["model-value","label"]),d[8]||(d[8]=S()),M(f,{"model-value":n.modelValue.cc,type:"email",class:"mail-new-message-cc-input mb-2 pb-2 border-b border-role-outline-variant",label:`${b(r)("CC")}:`,"inline-label":!0,"has-border":!1,"onUpdate:modelValue":d[2]||(d[2]=p=>a("cc",p))},null,8,["model-value","label"]),d[9]||(d[9]=S()),M(f,{"model-value":n.modelValue.bcc,type:"email",class:"mail-new-message-bcc-input mb-2 pb-2 border-b border-role-outline-variant",label:`${b(r)("BCC")}:`,"inline-label":!0,"has-border":!1,"onUpdate:modelValue":d[3]||(d[3]=p=>a("bcc",p))},null,8,["model-value","label"]),d[10]||(d[10]=S()),M(f,{"model-value":n.modelValue.subject,class:"mail-new-message-to-input pb-2 border-b border-role-outline-variant",label:`${b(r)("Subject")}:`,"inline-label":!0,"has-border":!1,"onUpdate:modelValue":d[4]||(d[4]=p=>a("subject",p))},null,8,["model-value","label"]),d[11]||(d[11]=S()),v("div",Xk,[M(qk,{class:"flex-1","model-value":n.modelValue.body,"show-toolbar":n.showFormattingToolbar,"onUpdate:modelValue":d[5]||(d[5]=p=>a("body",p))},null,8,["model-value","show-toolbar"]),d[6]||(d[6]=S()),M(Nc,{attachments:n.modelValue.attachments??[],mode:"compose",onRemove:c},null,8,["attachments"])])])}}}),Qk=()=>{const n=sn(),e=on(),t=nn(function*(s,o,l){const a=tt(n.groupwareUrl,`accounts/${o}/blobs`),c={};l.type&&(c["Content-Type"]=l.type);const{data:u}=yield e.httpAuthenticated.post(a,l,{headers:c,signal:s});return jf.parse(u)}).restartable(),r=U(()=>t.isRunning);return{saveAttachment:async(s,o)=>await t.perform(s,o),saveAttachmentTask:t,isLoading:r}},Zk={class:"relative inline-flex"},ew={class:"flex flex-col"},tw=["textContent"],kc=ke({__name:"MailComposeAttachmentButton",props:{modelValue:{},accountId:{}},emits:["update:modelValue"],setup(n,{emit:e}){const{$gettext:t}=it(),{showErrorMessage:r}=jo(),{saveAttachment:i}=Qk(),s=n,o=e,l=Sc("fileInput"),a=`mail-compose-attach-toggle-${Eh()}`,c=()=>{l.value?.click()},u=async d=>{const h=d.target,f=h.files?Array.from(h.files):[];if(h.value="",!f.length)return;if(!s.accountId){r({title:t("Please select a sender account first")});return}const p=[...s.modelValue??[]];for(const m of f)try{const g=await i(s.accountId,m);p.push({id:g.blobId,blobId:g.blobId,name:m.name,type:g.type||m.type||"application/octet-stream",disposition:"attachment",size:g.size??m.size})}catch(g){r({title:t("Failed to upload %{name}",{name:m.name}),errors:[g]})}o("update:modelValue",p)};return(d,h)=>{const f=Y("oc-icon"),p=Y("oc-button"),m=Y("oc-drop");return D(),V("div",Zk,[v("input",{ref_key:"fileInput",ref:l,class:"hidden",type:"file",multiple:"",onChange:u},null,544),h[0]||(h[0]=S()),M(p,{id:a,type:"button",class:"md:hidden h-9 w-9 rounded-full p-0","aria-label":b(t)("Add attachment"),title:b(t)("Add attachment")},{default:B(()=>[M(f,{name:"attachment-2","fill-type":"none",class:"text-base text-role-on-surface"})]),_:1},8,["aria-label","title"]),h[1]||(h[1]=S()),M(p,{type:"button",class:"hidden md:inline-flex h-9 w-9 rounded-full p-0","aria-label":b(t)("Add attachment"),title:b(t)("Add attachment"),onClick:c},{default:B(()=>[M(f,{name:"attachment-2","fill-type":"none",class:"text-base text-role-on-surface"})]),_:1},8,["aria-label","title"]),h[2]||(h[2]=S()),M(m,{toggle:`#${a}`,title:b(t)("Add attachment"),"close-on-click":!0},{default:B(()=>[v("ul",ew,[v("li",null,[M(p,{appearance:"raw",class:"w-full",onClick:c},{default:B(()=>[v("span",{textContent:F(b(t)("Attach file"))},null,8,tw)]),_:1})])])]),_:1},8,["toggle","title"])])}}}),nw={class:"flex items-center gap-1 text-role-on-surface-variant"},rw=["textContent"],wc=ke({__name:"MailSavedHint",setup(n){const{$gettext:e}=it();return(t,r)=>{const i=Y("oc-icon");return D(),V("div",nw,[M(i,{name:"check","fill-type":"line"}),r[0]||(r[0]=S()),v("span",{class:"text-sm",textContent:F(b(e)("Saved"))},null,8,rw)])}}}),iw=n=>{const e=ye(n.initialDraftId??null),t=ye(!1),r=U(()=>!!b(n.accountId)&&!!b(n.draftMailboxId)),i=nn(function*(){const d=b(n.accountId),h=b(n.draftMailboxId);if(!d||!h)return null;const f=n.getDraftPayload()||{},p={...f,mailboxIds:{[h]:!0},keywords:{...f.keywords||{},$draft:!0}};let m;return b(e)?m=yield n.api.replaceDraft(d,b(e),p):m=yield n.api.createDraft(d,p),e.value=m.id,t.value=!1,m}).restartable(),s=nn(function*(){const d=b(n.accountId);!d||!b(e)||(yield n.api.deleteDraft(d,b(e)),e.value=null,t.value=!1)}).restartable(),o=U(()=>i.isRunning);return{draftId:e,isDirty:t,isSaving:o,canSave:r,markDirty:()=>{t.value=!0},resetDraft:d=>{e.value=d,t.value=!1},saveAsDraft:async()=>b(r)?await i.perform():null,discardDraft:async()=>await s.perform()}},sw=()=>{const n=sn(),t=on().httpAuthenticated,r=n.groupwareUrl;return{async createDraft(i,s){const{data:o}=await t.post(tt(r,"accounts",encodeURIComponent(i),"emails"),s);return o},async replaceDraft(i,s,o){const{data:l}=await t.put(tt(r,"accounts",encodeURIComponent(i),"emails",encodeURIComponent(s)),o);return l},async deleteDraft(i,s){await t.delete(tt(r,"accounts",encodeURIComponent(i),"emails",encodeURIComponent(s)))}}},ow=n=>{const e=ye(!1);let t;const r=()=>{t&&(clearTimeout(t),t=void 0),e.value=!1},i=()=>{e.value=!0,t&&clearTimeout(t),t=setTimeout(()=>{e.value=!1},n)};return Ur(()=>{r()}),{showSavedHint:e,flashSavedHint:i,clearSavedHint:r}},lw=({isOpen:n,canAutoSaveNow:e,intervalMs:t,save:r,onSaved:i,onError:s})=>{let o,l=!1;const a=()=>{o&&(clearTimeout(o),o=void 0),l=!1},c=()=>{l&&(o=setTimeout(async()=>{if(l){if(!b(e)){c();return}try{const d=await r();d&&i?.(d)}catch(d){s?.(d)}finally{c()}}},t))},u=()=>{l||(l=!0,c())};return tr(()=>b(n),d=>{d?u():a()},{immediate:!0}),Ur(()=>{a()}),{start:u,stop:a}},aw=(n,e)=>{const t=ye(!1);return tr(n,()=>{t.value||e()},{deep:!0}),{isResetting:t,runWithResetGuard:async i=>{t.value=!0,i(),await oo(),await oo(),t.value=!1}}},cw=n=>(n??"").replace(/ | /gi," ").replace(/\u00A0/g," "),vc=n=>n?cw(Or.sanitize(n,{ALLOWED_TAGS:[],ALLOWED_ATTR:[]})):"",uw={key:0,class:"z-50 transition absolute inset-0 md:fixed md:inset-0 pointer-events-auto md:pointer-events-none bg-transparent"},dw={class:"oc-mail-compose-widget pointer-events-auto absolute bg-role-surface border-0 md:border md:border-role-outline-variant flex flex-col md:rounded-xl top-0 left-0 right-0 bottom-0 md:top-auto md:bottom-2 md:left-auto md:right-8 md:w-[720px] md:h-[800px]"},hw={class:"flex items-center justify-between px-4 py-2"},fw=["textContent"],pw={class:"flex items-center gap-1"},mw={class:"flex flex-col flex-1 min-h-0"},gw={class:"flex-1 min-h-0 overflow-auto"},yw={class:"px-4 pt-3 pb-2"},bw={class:"flex items-center justify-start gap-3"},xw=["textContent"],kw={class:"ml-auto flex items-center min-w-0"},ww={class:"flex flex-col flex-1 min-h-0"},vw={class:"flex-1 min-h-0 overflow-auto"},Cw={class:"px-4 pt-3"},Sw={class:"flex items-center justify-start gap-3"},Tw=["textContent"],Mw={class:"ml-auto flex items-center min-w-0"},Aw=2e3,Ew=12e4,Dw=ke({__name:"MailWidget",props:{modelValue:{type:Boolean}},emits:["update:modelValue","close"],setup(n,{emit:e}){const{$gettext:t}=it(),{dispatchModal:r}=Ac(),i=n,s=e,o=ln(),l=rr(),a=sw(),{currentAccount:c}=Oe(o),{mailboxes:u}=Oe(l),d=U(()=>b(c).accountId||""),h=U(()=>(b(u)||[]).find(Q=>Q.role==="drafts")?.id),f=ye(!1),p=ye(!1),{showSavedHint:m,flashSavedHint:g,clearSavedHint:y}=ow(Aw),k=U(()=>!!b(d)&&!!b(h)),x=()=>({from:void 0,to:"",cc:"",bcc:"",subject:"",body:"",attachments:[]}),T=ye(x()),E=U({get:()=>i.modelValue,set:Q=>{s("update:modelValue",Q),Q||s("close")}}),I=()=>{f.value=!f.value},O=Q=>(Q||"").split(",").map(z=>z.trim()).filter(Boolean).map(z=>({email:z})),R=U(()=>{const Q=b(T);return!sr(Q.to?.trim())||!sr(Q.cc?.trim())||!sr(Q.bcc?.trim())||!sr(Q.subject?.trim())||!sr(vc(Q.body??"").trim())||(Q.attachments?.length??0)>0}),{isDirty:K,isSaving:Se,markDirty:Lt,resetDraft:dt,saveAsDraft:wt,discardDraft:ze}=iw({accountId:d,draftMailboxId:h,api:a,getDraftPayload:()=>{const Q=b(T),z=Q.body??"",ft=vc(z),st=ft.length>0,Gr=z.trim().length>0&&ft.length>0;return{from:Q.from?[{email:Q.from.email,name:Q.from.name}]:[],to:O(Q.to),cc:O(Q.cc),bcc:O(Q.bcc),subject:Q.subject??"",textBody:st?[{partId:"t",type:"text/plain"}]:[],htmlBody:Gr?[{partId:"h",type:"text/html"}]:[],bodyValues:{...st?{t:{value:ft}}:{},...Gr?{h:{value:z}}:{}},attachments:(Q.attachments||[]).map(je=>({blobId:je.blobId,name:je.name,type:je.type,disposition:"attachment"}))}}}),{runWithResetGuard:Te}=aw(T,()=>{Lt()}),Rt=async()=>{await Te(()=>{T.value=x(),p.value=!1,y(),dt(null)})},ht=()=>{f.value=!1,E.value=!1},Ll=()=>{if(!b(R)){ht();return}if(!b(K)){ht();return}r({title:t("Leave this screen?"),message:t("Your email isn’t finished yet. You can save it as a draft or exit without saving."),confirmText:t("Save as draft"),hasInput:!1,onConfirm:()=>yh(),onCancel:()=>bh()})},yh=async()=>{b(k)&&(await wt(),ht())},bh=async()=>{await ze(),ht()},xh=U(()=>b(E)&&b(k)&&b(R)&&b(K)&&!b(Se));return lw({isOpen:E,canAutoSaveNow:xh,intervalMs:Ew,save:wt,onSaved:()=>{g()},onError:Q=>{console.error("Failed to auto-save draft:",Q)}}),tr(E,async Q=>{Q||await Rt()}),(Q,z)=>{const ft=Y("oc-icon"),st=Y("oc-button"),Gr=Y("oc-modal");return D(),V(Je,null,[E.value&&!f.value?(D(),V("div",uw,[v("div",dw,[v("div",hw,[v("h2",{class:"oc-mail-compose-widget-headline text-lg font-bold",textContent:F(b(t)("New message"))},null,8,fw),z[7]||(z[7]=S()),v("div",pw,[M(st,{class:"hidden md:inline-flex",appearance:"raw","aria-label":f.value?b(t)("Collapse compose window"):b(t)("Expand compose window"),onClick:I},{default:B(()=>[M(ft,{name:f.value?"collapse-diagonal":"expand-diagonal","fill-type":"line"},null,8,["name"])]),_:1},8,["aria-label"]),z[6]||(z[6]=S()),M(st,{appearance:"raw","aria-label":b(t)("Close"),onClick:Ll},{default:B(()=>[M(ft,{name:"close","fill-type":"line"})]),_:1},8,["aria-label"])])]),z[12]||(z[12]=S()),v("div",mw,[v("div",gw,[M(xc,{modelValue:T.value,"onUpdate:modelValue":z[0]||(z[0]=je=>T.value=je),"show-formatting-toolbar":p.value},null,8,["modelValue","show-formatting-toolbar"])]),z[11]||(z[11]=S()),v("div",yw,[v("div",bw,[M(st,{appearance:"filled",class:"min-w-[120px]"},{default:B(()=>[v("span",{textContent:F(b(t)("Send"))},null,8,xw)]),_:1}),z[8]||(z[8]=S()),M(kc,{modelValue:T.value.attachments,"onUpdate:modelValue":z[1]||(z[1]=je=>T.value.attachments=je),"account-id":d.value},null,8,["modelValue","account-id"]),z[9]||(z[9]=S()),M(st,{type:"button",class:"flex h-9 w-9 items-center justify-center rounded-full border border-role-outline-variant bg-role-surface hover:bg-role-surface-variant transition","aria-pressed":p.value?"true":"false",title:b(t)("Toggle text formatting toolbar"),onClick:z[2]||(z[2]=je=>p.value=!p.value)},{default:B(()=>[M(ft,{name:"text","fill-type":"none",class:"text-base text-role-on-surface"})]),_:1},8,["aria-pressed","title"]),z[10]||(z[10]=S()),v("div",kw,[b(m)?(D(),q(wc,{key:0})):ee("",!0)])])])])])])):ee("",!0),z[19]||(z[19]=S()),E.value&&f.value?(D(),q(Gr,{key:1,title:b(t)("New message"),"hide-actions":!0,"element-class":"mail-compose-modal"},{headerActions:B(()=>[M(st,{class:"hidden md:inline-flex",appearance:"raw","aria-label":b(t)("Collapse compose window"),onClick:I},{default:B(()=>[M(ft,{name:"collapse-diagonal","fill-type":"line"})]),_:1},8,["aria-label"]),z[13]||(z[13]=S()),M(st,{appearance:"raw","aria-label":b(t)("Close"),onClick:Ll},{default:B(()=>[M(ft,{name:"close","fill-type":"line"})]),_:1},8,["aria-label"])]),content:B(()=>[v("div",ww,[v("div",vw,[M(xc,{modelValue:T.value,"onUpdate:modelValue":z[3]||(z[3]=je=>T.value=je),"show-formatting-toolbar":p.value},null,8,["modelValue","show-formatting-toolbar"])]),z[17]||(z[17]=S()),v("div",Cw,[v("div",Sw,[M(st,{appearance:"filled",class:"min-w-[120px]"},{default:B(()=>[v("span",{textContent:F(b(t)("Send"))},null,8,Tw)]),_:1}),z[14]||(z[14]=S()),M(kc,{modelValue:T.value.attachments,"onUpdate:modelValue":z[4]||(z[4]=je=>T.value.attachments=je),"account-id":d.value},null,8,["modelValue","account-id"]),z[15]||(z[15]=S()),M(st,{type:"button",appearance:"raw",class:We(["flex !h-9 !w-9 items-center justify-center rounded-full border border-role-outline-variant bg-role-surface hover:bg-role-surface-variant transition",{"bg-role-surface-variant":p.value}]),"aria-pressed":p.value?"true":"false",title:b(t)("Toggle text formatting toolbar"),onClick:z[5]||(z[5]=je=>p.value=!p.value)},{default:B(()=>[M(ft,{name:"text","fill-type":"none"})]),_:1},8,["class","aria-pressed","title"]),z[16]||(z[16]=S()),v("div",Mw,[M(wc,{show:b(m)},null,8,["show"])])])])])]),_:1},8,["title"])):ee("",!0)],64)}}}),Ow={class:"flex h-full"},Nw={class:"overflow-y-auto md:border-r-2 bg-role-surface-container w-full"},Iw=ke({__name:"Inbox",setup(n){const e=ln(),t=rr(),r=_n(),{accounts:i,currentAccount:s}=Oe(e),{setCurrentAccount:o}=e,{mailboxes:l,currentMailbox:a}=Oe(t),{setCurrentMailbox:c}=t,{currentMail:u}=Oe(r),{loadAccounts:d}=Pc(),{loadMailboxes:h}=qo(),{loadMails:f}=fs(),{loadMail:p}=Uo(),m=ye(!0),g=Sc("mailListRef"),y=bn("accountId"),k=bn("mailboxId"),x=bn("mailId"),T=ye(!1),E=()=>{T.value=!0},I=()=>{T.value=!1};return Ho(async()=>{await d(),b(y)?o(b(i).find(O=>O.accountId===b(y))):o(b(i)?.[0]),console.log(b(s)),await h(b(s).accountId),b(k)?c(b(l).find(O=>O.id===b(k))):c(b(l)?.[0]),await f(b(s).accountId,b(a).id),b(x)&&await p(b(s).accountId,Dh(b(x))),m.value=!1}),(O,R)=>m.value?(D(),q(b(nr),{key:0})):(D(),V(Je,{key:1},[v("div",Ow,[v("div",{class:We(["w-full md:w-1/4 flex flex-row",{"hidden md:flex":b(a)}])},[v("div",Nw,[M(Km,{onComposeMail:E})])],2),R[0]||(R[0]=S()),v("div",{class:We(["md:border-r-2 overflow-y-auto min-w-0 w-full md:w-1/4 px-4 md:px-0",{"hidden md:block":b(u)||!b(a)}])},[M(Xf,{ref_key:"mailListRef",ref:g},null,512)],2),R[1]||(R[1]=S()),v("div",{class:We(["overflow-y-auto min-w-0 w-full md:w-2/4 px-4 pt-4 md:pt-0",{"hidden md:block":!b(u)}])},[(D(),q(Cm,{key:b(u)?.id}))],2)]),R[2]||(R[2]=S()),T.value?(D(),q(Dw,{key:0,"model-value":!0,onClose:I})):ee("",!0)],64))}}),_w={},Lw={id:"mail",class:"h-full overflow-hidden"};function Rw(n,e){const t=Y("router-view");return D(),V("main",Lw,[M(t,{"data-testid":"mail-router-view"})])}const Pw=Vo(_w,[["render",Rw]]),Bw={};function zw(n,e){const t=Y("router-view");return D(),q(t)}const $w=Vo(Bw,[["render",zw]]),Fw="mail",lv=Ph({setup(){const{$gettext:n}=it(),e=Oh(),t=Bh(),{user:r}=Oe(t),i={name:n("Mail"),id:Fw,icon:"mail",color:"#0478d4"},s=[{path:"",name:"mail-root",component:Pw,meta:{authContext:"user"},children:[{path:"",redirect:{name:"mail-all-inbox"}},{path:"all",name:"mail-all",component:$w,redirect:{name:"mail-all-inbox"},meta:{authContext:"user"},children:[{path:"inbox",name:"mail-all-inbox",component:Iw,meta:{authContext:"user",title:n("All emails")}}]}]}],o={id:`app.${i.id}.menuItem`,type:"appMenuItem",label:()=>i.name,color:i.color,icon:i.icon,priority:30,path:tt(i.id)},l=U(()=>{const a=[];return b(r)&&e.capabilities.groupware?.enabled&&a.push(o),a});return{appInfo:i,routes:s,translations:bf,extensions:l}}});export{lv as default}; diff --git a/web-dist/js/web-app-mail-xhKIBgXe.mjs.gz b/web-dist/js/web-app-mail-xhKIBgXe.mjs.gz new file mode 100644 index 0000000000..8a6aef7cd0 Binary files /dev/null and b/web-dist/js/web-app-mail-xhKIBgXe.mjs.gz differ diff --git a/web-dist/js/web-app-ocm-Bs52acNV.mjs b/web-dist/js/web-app-ocm-Bs52acNV.mjs new file mode 100644 index 0000000000..50add570d2 --- /dev/null +++ b/web-dist/js/web-app-ocm-Bs52acNV.mjs @@ -0,0 +1 @@ +import{M as G,cl as B,cm as N,q as S,c5 as ne,aZ as y,aL as k,u as F,v as t,I as h,H as a,bb as v,ar as V,bJ as A,s as P,F as q,aU as E,bk as z,au as oe,dt as pe,du as K,ed as ve,dv as he,da as ae,aD as Z,a_ as me,bO as ge,t as J,bL as L,bE as ke,aI as fe,aX as te,bM as we,c1 as be,bQ as ye}from"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u as j}from"./chunks/messages-bd5_8QAH.mjs";import{u as M}from"./chunks/useClientService-BP8mjZl2.mjs";import{A as W}from"./chunks/AppLoadingSpinner-D4wmhWZf.mjs";import{N as Q}from"./chunks/NoContentMessage-CtsU0h69.mjs";import{_ as Y}from"./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs";import{u as re}from"./chunks/useRoute-BGFNOdqM.mjs";import{c as Ce,i as Ie}from"./chunks/datetime-CpSA3f1i.mjs";import{u as Ae}from"./chunks/useScrollTo--zshzNky.mjs";import{n as xe}from"./chunks/vue-router-CmC7u3Bn.mjs";import{d as $e}from"./chunks/types-BoCZvwvE.mjs";import{aK as Ee}from"./chunks/user-C7xYeMZ3.mjs";import{u as Se}from"./chunks/useWindowOpen-BMCzbqTR.mjs";import"./chunks/v4-EwEgHOG0.mjs";import"./chunks/locale-tv0ZmyWq.mjs";import"./chunks/eventBus-B07Yv2pA.mjs";import"./chunks/resources-CL0nvFAd.mjs";import"./chunks/_Set-DyVdKz_x.mjs";const Fe=e=>`${e.user_id}@${e.idp}`,se=e=>({id:Fe(e),...e}),ze=G({components:{NoContentMessage:Q,AppLoadingSpinner:W},props:{connections:{type:Array,required:!0},highlightedConnections:{type:Array,required:!1,default:()=>[]},loading:{type:Boolean,required:!1,default:()=>!0}},emits:["update:connections"],setup(e,{emit:n}){const l=B(),{$gettext:c}=N(),s=M(),{showErrorMessage:b}=j(),o=S(()=>[{name:"display_name",title:c("User"),alignH:"left"},{name:"mail",title:c("Email"),alignH:"right"},{name:"idp",title:c("Institution"),alignH:"right"},{name:"actions",title:c("Actions"),type:"slot",alignH:"right",wrap:"nowrap",width:"shrink"}]);return{helperContent:S(()=>({text:c('Federated connections for mutual sharing. To share, go to "Files" app, select the resource, click "Share" in the context menu and select account type "federated".'),title:c("Federated connections")})),toSharedWithOthers:()=>{l.push({name:"files-shares-with-others",query:{q_shareType:ne.remote.key}})},toSharedWithMe:()=>{l.push({name:"files-shares-with-me",query:{q_shareType:ne.remote.key}})},fields:o,deleteConnection:async x=>{try{await s.httpAuthenticated.delete("/sciencemesh/delete-accepted-user",{data:{user_id:x.user_id,idp:x.idp}});const I=e.connections.filter(({id:g})=>g!==se(x).id);n("update:connections",I)}catch(I){console.error("Failed to delete connection:",I),b({title:c("Error"),desc:c("Failed to delete connection"),errors:[I]})}}}}}),Pe={class:"sciencemesh-app"},_e={class:"flex justify-between"},De={class:"flex items-center px-4 py-2"},Te=["textContent"],Ne={id:"shares-links",class:"flex items-center flex-wrap mr-4 invisible md:visible"},Ue=["textContent"],Ge=["textContent"],je=["textContent"],Me=["textContent"],Ye=["textContent"];function Le(e,n,l,c,s,b){const o=y("oc-icon"),p=y("oc-contextual-helper"),i=y("oc-button"),f=y("app-loading-spinner"),m=y("no-content-message"),x=y("oc-table");return k(),F("div",Pe,[t("div",null,[t("div",_e,[t("div",De,[h(o,{name:"contacts-book"}),n[0]||(n[0]=a()),t("h2",{class:"px-2",textContent:v(e.$gettext("Federated connections"))},null,8,Te),n[1]||(n[1]=a()),h(p,V({class:"pl-1"},e.helperContent),null,16)]),n[6]||(n[6]=a()),t("div",Ne,[t("label",{class:"mr-2",textContent:v(e.$gettext("Federated shares:"))},null,8,Ue),n[4]||(n[4]=a()),h(i,{"aria-current":e.$gettext("Federated shares with me"),appearance:"raw",class:"p-2 mr-2",onClick:e.toSharedWithMe},{default:A(()=>[h(o,{name:"share-forward"}),n[2]||(n[2]=a()),t("span",{textContent:v(e.$gettext("with me"))},null,8,Ge)]),_:1},8,["aria-current","onClick"]),n[5]||(n[5]=a()),h(i,{"aria-current":e.$gettext("Federated shares with me"),appearance:"raw",class:"p-2",onClick:e.toSharedWithOthers},{default:A(()=>[h(o,{name:"reply"}),n[3]||(n[3]=a()),t("span",{textContent:v(e.$gettext("with others"))},null,8,je)]),_:1},8,["aria-current","onClick"])])]),n[8]||(n[8]=a()),e.loading?(k(),P(f,{key:0})):(k(),F(q,{key:1},[e.connections?.length?(k(),P(x,{key:1,fields:e.fields,data:e.connections,highlighted:e.highlightedConnections},{actions:A(({item:I})=>[h(i,{appearance:"raw",class:"p-2",onClick:g=>e.deleteConnection(I)},{default:A(()=>[h(o,{name:"delete-bin-5","fill-type":"line",size:"medium"}),n[7]||(n[7]=a()),t("span",{textContent:v(e.$gettext("Delete"))},null,8,Ye)]),_:1},8,["onClick"])]),_:1},8,["fields","data","highlighted"])):(k(),P(m,{key:0,id:"accepted-invitations-empty",class:"h-full",icon:"contacts-book"},{message:A(()=>[t("span",{textContent:v(e.$gettext("You have no sharing connections"))},null,8,Me)]),_:1}))],64))])])}const Oe=Y(ze,[["render",Le]]);function ce(){const e=M(),{showErrorMessage:n}=j(),{$gettext:l}=N(),c=E(!1),s=E(!1),b=i=>{console.error(i),n({title:l("Error"),desc:l("An error occurred"),errors:[i]})},o=async(i,f)=>{c.value=!0,s.value=!1;try{const m=await e.httpAuthenticated.post("/sciencemesh/accept-invite",{token:i,providerDomain:f});return!0}catch(m){throw console.error("Error accepting invitation:",m),s.value=!0,b(m),m}finally{c.value=!1}},p=(i,f)=>{if(!i||!f)throw new Error(l("Missing required parameters: token and providerDomain"))};return{loading:S(()=>c.value),error:S(()=>s.value),acceptInvitation:o,validateParameters:p,errorPopup:b}}const qe=G({emits:["highlightNewConnections"],setup(e,{emit:n}){const l=B(),c=re(),{$gettext:s}=N(),{acceptInvitation:b}=ce(),o=E(void 0),p=E(void 0),i=E(void 0),f=E(!1),m=S(()=>({text:s("Once you accept the invitation, the inviter will be added to your connections."),title:s("Accepting invitations")})),x=S(()=>!z(p)||!z(i));return{helperContent:m,token:o,provider:i,providerError:f,acceptInvitationButtonDisabled:x,acceptInvite:async()=>{try{await b(z(p),z(i)),o.value=void 0,i.value=void 0;const{token:d,providerDomain:r,...u}=z(c).query;l.replace({name:"open-cloud-mesh-invitations",query:u}),n("highlightNewConnections")}catch{}},decodeInviteToken:d=>{try{let r=d.trim();if(r.includes("@")||(r=atob(r)),!r.includes("@"))throw new Error("Invalid token format");const[u,$]=r.split("@");if(!u||!$)throw new Error("Invalid token format");i.value=$,p.value=u,f.value=!1}catch(r){console.error("Failed to decode invite token:",r),i.value="",p.value="",f.value=!0}}}}}),Be={id:"incoming",class:"sciencemesh-app"},Ve={class:"flex items-center px-4 pt-2"},We=["textContent"],Re={class:"flex flex-col items-center justify-center p-4"},He={class:"w-[50%]"},Ke=["textContent"],Ze={key:0,textContent:"-"},Je=["textContent"],Qe=["textContent"],Xe=["textContent"];function en(e,n,l,c,s,b){const o=y("oc-icon"),p=y("oc-contextual-helper"),i=y("oc-text-input"),f=y("oc-button");return k(),F("div",Be,[t("div",null,[t("div",Ve,[h(o,{name:"user-received"}),n[1]||(n[1]=a()),t("h2",{class:"px-2",textContent:v(e.$gettext("Accept invitations"))},null,8,We),n[2]||(n[2]=a()),h(p,V({class:"pl-1"},e.helperContent),null,16)]),n[7]||(n[7]=a()),t("div",Re,[t("div",He,[h(i,{modelValue:e.token,"onUpdate:modelValue":[n[0]||(n[0]=m=>e.token=m),e.decodeInviteToken],label:e.$gettext("Enter invite token"),"clear-button-enabled":!0,class:"mb-2"},null,8,["modelValue","label","onUpdate:modelValue"]),n[4]||(n[4]=a()),t("div",{class:oe({"oc-text-input-danger":e.providerError&&e.token,"oc-text-input-success":e.provider})},[t("span",{textContent:v(e.$gettext("Institution:"))},null,8,Ke),n[3]||(n[3]=a()),e.token?e.provider?(k(),F("span",{key:1,textContent:v(e.provider)},null,8,Je)):(k(),F("span",{key:2,textContent:v(e.$gettext("invalid invite token"))},null,8,Qe)):(k(),F("span",Ze))],2)]),n[6]||(n[6]=a()),h(f,{size:"small",disabled:e.acceptInvitationButtonDisabled,class:"mt-2",onClick:e.acceptInvite},{default:A(()=>[h(o,{name:"add"}),n[5]||(n[5]=a()),t("span",{textContent:v(e.$gettext("Accept invitation"))},null,8,Xe)]),_:1},8,["disabled","onClick"])])])])}const nn=Y(qe,[["render",en]]),de=pe({token:K(),expiration:ve().optional(),description:K().optional(),invite_link:K().optional()}),tn=he(de),on=G({components:{NoContentMessage:Q,AppLoadingSpinner:W},setup(){const{showMessage:e,showErrorMessage:n}=j(),l=M(),c=ae(),{$gettext:s,current:b}=N(),o=E(""),p=E(!1),i=E({description:""}),f=E([]),m=E(!0),x=E(),I=S(()=>{const w=z(g)[0]?.link;return[w&&{name:"link",title:s("Invitation link"),alignH:"left",type:"slot"},{name:"token",title:s("Invite token"),alignH:w?"right":"left",type:"slot"},{name:"description",title:s("Description"),alignH:"right"},{name:"expiration",title:s("Expires"),alignH:"right",type:"slot"}].filter(Boolean)}),g=S(()=>[...z(f)].sort((w,C)=>w.expirationSeconds({text:s("Create an invitation link and send it to the person you want to share with."),title:s("Invitation link")})),r=w=>{const C=new URL(c.serverUrl);return`${w}@${C.host}`},u=w=>btoa(r(w)),$=w=>`${new URL(c.serverUrl).origin}/open-cloud-mesh/wayf?token=${w}`,D=async()=>{const{description:w}=z(i);if(!z(x))try{const{data:C}=await l.httpAuthenticated.post("/sciencemesh/generate-invite",{...w&&{description:w}},{schema:de});if(C.token){f.value.push({id:C.token,link:C.invite_link,token:C.token,...C.expiration&&{expiration:ee(C.expiration)},...C.expiration&&{expirationSeconds:C.expiration},...C.description&&{description:C.description}}),e({title:s("Success"),status:"success",desc:s("New token has been created and copied to your clipboard. Send it to the invitee(s).")});const T=u(C.token);o.value=T,await navigator.clipboard.writeText(T)}}catch(C){o.value="",le(C)}finally{X()}},_=async()=>{const w="/sciencemesh/list-invite";try{const{data:C}=await l.httpAuthenticated.get(w,{schema:tn});C.forEach(T=>{f.value.push({id:T.token,token:T.token,...T.expiration&&{expiration:ee(T.expiration)},...T.expiration&&{expirationSeconds:T.expiration},...T.description&&{description:T.description}})})}catch(C){console.log(C)}finally{m.value=!1}},U=w=>{navigator.clipboard.writeText(w.item.link),e({title:s("Invitation link copied"),desc:s("Invitation link has been copied to your clipboard.")})},R=w=>{const C=r(w.item.token);navigator.clipboard.writeText(C),e({title:s("Plain token copied"),desc:s("Plain token has been copied to your clipboard.")})},H=w=>{navigator.clipboard.writeText(u(w.item.token)),e({title:s("Base64 token copied"),desc:s("Base64 token has been copied to your clipboard.")})},O=w=>{const C=$(w.item.token);navigator.clipboard.writeText(C),e({title:s("Invite link copied"),desc:s("Invite link has been copied to your clipboard.")})},le=w=>{console.error(w),n({title:s("Error"),desc:s("An error occurred when generating the token"),errors:[w]})},ue=()=>{p.value=!0},X=()=>{p.value=!1,i.value={description:""}},ee=w=>{const C=new Date(Date.UTC(1970,0,1));return C.setUTCSeconds(w),C};return Z(()=>{_()}),{helperContent:d,openInviteModal:ue,showInviteModal:p,descriptionErrorMessage:x,resetGenerateInviteToken:X,generateToken:D,formInput:i,loading:m,sortedTokens:g,copyToken:H,copyLink:U,copyPlainToken:R,copyWayfLink:O,lastCreatedToken:o,fields:I,formatDate:w=>Ce(w,b),formatDateRelative:w=>Ie(w,b),encodeInviteToken:u}}}),an={class:"sciencemesh-app"},rn={class:"flex items-center px-4 pt-2"},sn=["textContent"],cn={class:"flex items-center justify-center p-4"},dn=["textContent"],ln=["textContent"],un={class:"w-3xs flex"},pn={class:"truncate max-w-full"},vn={class:"truncate"},hn=["href","textContent"],mn=["textContent"];function gn(e,n,l,c,s,b){const o=y("oc-icon"),p=y("oc-contextual-helper"),i=y("oc-button"),f=y("oc-text-input"),m=y("oc-modal"),x=y("app-loading-spinner"),I=y("no-content-message"),g=y("oc-table"),d=me("oc-tooltip");return k(),F("div",an,[t("div",null,[t("div",rn,[h(o,{name:"user-shared"}),n[2]||(n[2]=a()),t("h2",{class:"px-2",textContent:v(e.$gettext("Invite users"))},null,8,sn),n[3]||(n[3]=a()),h(p,V({class:"pl-1"},e.helperContent),null,16)]),n[13]||(n[13]=a()),t("div",cn,[h(i,{"aria-label":e.$gettext("Generate invitation link that can be shared with one or more invitees"),onClick:e.openInviteModal},{default:A(()=>[h(o,{name:"add"}),n[4]||(n[4]=a()),t("span",{textContent:v(e.$gettext("Generate invitation"))},null,8,dn)]),_:1},8,["aria-label","onClick"])]),n[14]||(n[14]=a()),e.showInviteModal?(k(),P(m,{key:0,title:e.$gettext("Generate new invitation"),"button-cancel-text":e.$gettext("Cancel"),"button-confirm-text":e.$gettext("Generate"),"button-confirm-disabled":!!e.descriptionErrorMessage,"focus-trap-initial":"#invite_token_description",onCancel:e.resetGenerateInviteToken,onConfirm:e.generateToken},{content:A(()=>[t("form",{autocomplete:"off",onSubmit:n[1]||(n[1]=ge((...r)=>e.generateToken&&e.generateToken(...r),["prevent"]))},[h(f,{id:"invite_token_description",modelValue:e.formInput.description,"onUpdate:modelValue":n[0]||(n[0]=r=>e.formInput.description=r),class:"mb-2","error-message":e.descriptionErrorMessage,label:e.$gettext("Add a description (optional)"),"clear-button-enabled":!0,"description-message":!e.descriptionErrorMessage&&`${e.formInput.description?.length||0}/50`},null,8,["modelValue","error-message","label","description-message"]),n[5]||(n[5]=a()),n[6]||(n[6]=t("input",{type:"submit",class:"hidden"},null,-1))],32)]),_:1},8,["title","button-cancel-text","button-confirm-text","button-confirm-disabled","onCancel","onConfirm"])):J("",!0),n[15]||(n[15]=a()),e.loading?(k(),P(x,{key:1})):(k(),F(q,{key:2},[e.sortedTokens.length?(k(),P(g,{key:1,fields:e.fields,data:e.sortedTokens,highlighted:e.lastCreatedToken},{token:A(r=>[t("div",un,[t("div",pn,[t("span",vn,v(r.item.token),1)]),n[7]||(n[7]=a()),L((k(),P(i,{id:"oc-sciencemesh-copy-plain","aria-label":e.$gettext("Copy plain token"),appearance:"raw",class:"ml-1",onClick:u=>e.copyPlainToken(r)},{default:A(()=>[h(o,{name:"file-copy",size:"small"})]),_:1},8,["aria-label","onClick"])),[[d,e.$gettext("Copy plain token")]]),n[8]||(n[8]=a()),L((k(),P(i,{id:"oc-sciencemesh-copy-base64","aria-label":e.$gettext("Copy base64 token"),appearance:"raw",class:"ml-1",onClick:u=>e.copyToken(r)},{default:A(()=>[h(o,{name:"code",size:"small"})]),_:1},8,["aria-label","onClick"])),[[d,e.$gettext("Copy base64 token")]]),n[9]||(n[9]=a()),L((k(),P(i,{id:"oc-sciencemesh-copy-wayf","aria-label":e.$gettext("Copy Invite link"),appearance:"raw",class:"ml-1",onClick:u=>e.copyWayfLink(r)},{default:A(()=>[h(o,{name:"link",size:"small"})]),_:1},8,["aria-label","onClick"])),[[d,e.$gettext("Copy Invite link")]])])]),link:A(r=>[t("a",{href:r.item.link,textContent:v(e.$gettext("Link"))},null,8,hn),n[10]||(n[10]=a()),L((k(),P(i,{id:"oc-sciencemesh-copy-link","aria-label":e.$gettext("Copy invitation link"),appearance:"raw",onClick:u=>e.copyLink(r)},{default:A(()=>[h(o,{name:"file-copy"})]),_:1},8,["aria-label","onClick"])),[[d,e.$gettext("Copy invitation link")]])]),expiration:A(r=>[L(t("span",{tabindex:"0",textContent:v(e.formatDateRelative(r.item.expiration))},null,8,mn),[[d,e.formatDate(r.item.expiration)]])]),_:1},8,["fields","data","highlighted"])):(k(),P(I,{key:0,id:"invite-tokens-empty",class:"h-full",icon:"user-shared"},{message:A(()=>[t("span",{textContent:v(e.$gettext("You have no invitation links"))},null,8,ln)]),_:1}))],64))])])}const kn=Y(on,[["render",gn]]),fn=G({components:{AppLoadingSpinner:W},props:{showModal:{type:Boolean,required:!0},token:{type:String,required:!0},provider:{type:String,required:!0}},emits:["highlightNewConnections","close"],setup(e,{emit:n}){const{loading:l,acceptInvitation:c,validateParameters:s}=ce(),b=S(()=>l.value||!e.token||!e.provider);return{loading:l,acceptButtonDisabled:b,acceptInvitation:async()=>{try{s(e.token,e.provider),await c(e.token,e.provider),n("highlightNewConnections"),n("close")}catch(i){console.error("Error accepting invitation:",i),n("close")}},declineInvitation:()=>{n("close")}}}}),wn={class:"invitation-acceptance-content"},bn={key:0,class:"text-center p-4"},yn=["textContent"],Cn={key:1,class:"p-4"},In={class:"flex items-center mb-4"},An=["textContent"],xn=["textContent"],$n={class:"invitation-details p-4 rounded-lg border bg-role-surface-container-highest"},En={class:"mb-2"},Sn=["textContent"],Fn=["textContent"],zn={class:"text-sm text-muted"},Pn=["textContent"],_n=["textContent"];function Dn(e,n,l,c,s,b){const o=y("app-loading-spinner"),p=y("oc-icon"),i=y("oc-modal");return e.showModal?(k(),P(i,{key:0,title:e.$gettext("Accept Invitation"),"button-cancel-text":e.$gettext("Decline"),"button-confirm-text":e.$gettext("Accept"),"button-confirm-disabled":e.acceptButtonDisabled,onCancel:e.declineInvitation,onConfirm:e.acceptInvitation},{content:A(()=>[t("div",wn,[e.loading?(k(),F("div",bn,[h(o),n[0]||(n[0]=a()),t("p",{class:"mt-2",textContent:v(e.$gettext("Processing invitation..."))},null,8,yn)])):(k(),F("div",Cn,[t("div",In,[h(p,{name:"user-received",size:"large",class:"mr-4"}),n[2]||(n[2]=a()),t("div",null,[t("h3",{textContent:v(e.$gettext("You have received an invitation"))},null,8,An),n[1]||(n[1]=a()),t("p",{class:"text-muted",textContent:v(e.$gettext("Accept this invitation to establish a federated connection."))},null,8,xn)])]),n[6]||(n[6]=a()),t("div",$n,[t("div",En,[t("strong",{textContent:v(e.$gettext("From Institution:"))},null,8,Sn),n[3]||(n[3]=a()),t("span",{class:"ml-2",textContent:v(e.provider)},null,8,Fn)]),n[5]||(n[5]=a()),t("div",zn,[t("span",{textContent:v(e.$gettext("Token:"))},null,8,Pn),n[4]||(n[4]=a()),t("span",{class:"ml-2 font-mono",textContent:v(e.token)},null,8,_n)])])]))])]),_:1},8,["title","button-cancel-text","button-confirm-text","button-confirm-disabled","onCancel","onConfirm"])):J("",!0)}const Tn=Y(fn,[["render",Dn],["__scopeId","data-v-bf342533"]]),Nn=G({components:{IncomingInvitations:nn,OutgoingInvitations:kn,ConnectionsPanel:Oe,InvitationAcceptanceModal:Tn},setup(){const{showMessage:e}=j(),{scrollToResource:n}=Ae(),l=M(),{$gettext:c}=N(),s=re(),b=B(),o=E([]),p=E([]),i=E(),f=E(!0),m=E(!1),x=E(""),I=E(""),g=S(()=>s.value.name==="open-cloud-mesh-accept-invite");ke(g,$=>{if($){const D=s.value.query.token,_=s.value.query.providerDomain;D&&_&&(x.value=D,I.value=_,m.value=!0)}},{immediate:!0});const d=()=>{m.value=!1,x.value="",I.value="",b.replace({name:"open-cloud-mesh-invitations"})},r=async()=>{try{const{data:$}=await l.httpAuthenticated.get("/sciencemesh/find-accepted-users");f.value=!1,o.value=$.map(se)}catch{o.value=[],f.value=!1}},u=async()=>{const $=[...z(o)];if(await r(),$.length!$.map(_=>_.id).includes(D.id)),z(p).length===1)n(z(p)[0].id),e({title:c("New federated connection"),status:"success",desc:c("You can share with and receive shares from %{user} now",{user:z(p)[0].display_name})});else if(z(p).length>1){const D=z(p).map(_=>_.display_name).join(", ");e({title:c("New federated connections"),status:"success",desc:c("You can share with and receive shares from %{ connections } now",{connections:D})})}}};return Z(async()=>{await r(),f.value=!1,i.value=setInterval(()=>{u()},10*1e3)}),fe(()=>{clearInterval(z(i))}),{highlightNewConnections:u,connections:o,highlightedConnections:p,loadingConnections:f,showInvitationModal:m,invitationToken:x,invitationProvider:I,closeInvitationModal:d}}}),Un={class:"sciencemesh overflow-auto"},Gn={class:"flex flex-col h-full"},jn={class:"grid grid-cols-1 md:grid-cols-2 h-auto max-h-auto md:max-h-[360px]"},Mn={id:"sciencemesh-invite",class:"m-2 p-2 mb-0 lg:mb-2 bg-role-surface-container rounded-xl overflow-auto"},Yn={id:"sciencemesh-accept-invites",class:"m-2 p-2 bg-role-surface-container rounded-xl overflow-auto"},Ln={id:"sciencemesh-connections",class:"p-2 bg-role-surface-container rounded-xl m-2 flex-1"};function On(e,n,l,c,s,b){const o=y("outgoing-invitations"),p=y("incoming-invitations"),i=y("connections-panel"),f=y("invitation-acceptance-modal");return k(),F("div",Un,[t("div",Gn,[t("div",jn,[t("div",Mn,[h(o)]),n[1]||(n[1]=a()),t("div",Yn,[h(p,{onHighlightNewConnections:e.highlightNewConnections},null,8,["onHighlightNewConnections"])])]),n[2]||(n[2]=a()),t("div",Ln,[h(i,{connections:e.connections,"onUpdate:connections":n[0]||(n[0]=m=>e.connections=m),"highlighted-connections":e.highlightedConnections.map(m=>m.id),loading:e.loadingConnections},null,8,["connections","highlighted-connections","loading"])])]),n[3]||(n[3]=a()),e.showInvitationModal?(k(),P(f,{key:0,"show-modal":e.showInvitationModal,token:e.invitationToken,provider:e.invitationProvider,onHighlightNewConnections:e.highlightNewConnections,onClose:e.closeInvitationModal},null,8,["show-modal","token","provider","onHighlightNewConnections","onClose"])):J("",!0)])}const ie=Y(Nn,[["render",On]]);function qn(){const e=M(),{showErrorMessage:n}=j(),{$gettext:l}=N(),c=E(!1),s=E(!1),b=E({}),o=g=>{const d=window.location.hostname.toLowerCase(),r=g.toLowerCase().replace(/^https?:\/\//,"").replace(/:\d+$/,"");return d===r},p=async g=>{try{c.value=!0;const d=await e.httpUnAuthenticated.post("/sciencemesh/discover",{domain:g});if(!d.data||!d.data.inviteAcceptDialog)throw new Error("No invite accept dialog found in discovery response");return d.data.inviteAcceptDialog}catch(d){throw console.error("Provider discovery failed:",d),n({title:l("Discovery Failed"),desc:l("Could not discover provider at %{domain}",{domain:g}),errors:[d]}),d}finally{c.value=!1}},i=(g,d,r)=>{const u=new URL(g);return r&&u.searchParams.set("providerDomain",r),d&&u.searchParams.set("token",d),u.toString()},f=async(g,d,r)=>{if(o(g.fqdn)){n({title:l("Invalid Provider Selection"),desc:l("You cannot select your own instance as a provider. Please select a different provider to establish a federated connection.")});return}try{c.value=!0;let u=g.inviteAcceptDialog;!u||u.trim()===""?u=await p(g.fqdn):u.startsWith("/")&&(u=`${`https://${g.fqdn}`}${u}`);const $=i(u,d,r);window.location.href=$}catch(u){console.error("Failed to navigate to provider:",u)}finally{c.value=!1}},m=async(g,d,r)=>{const u=g.trim();if(u){if(o(u)){n({title:l("Invalid Provider Selection"),desc:l("You cannot use your own instance as a provider. Please select a different provider to establish a federated connection.")});return}try{c.value=!0;const $=await p(u),D=i($,d,r);window.location.href=D}catch($){console.error("Failed to navigate to manual provider:",$)}finally{c.value=!1}}},x=async()=>{try{c.value=!0,s.value=!1;const g=await e.httpUnAuthenticated.get("/sciencemesh/federations"),d={};g.data.forEach(r=>{const u=r.servers.map($=>({name:$.displayName,fqdn:new URL($.url).hostname,inviteAcceptDialog:$.inviteAcceptDialog||""})).filter($=>!o($.fqdn));u.length>0&&(d[r.federation]=u)}),b.value=d}catch(g){console.error("Failed to load federations:",g),s.value=!0,n({title:l("Failed to Load Providers"),desc:l("Could not load the list of available providers"),errors:[g]})}finally{c.value=!1}},I=(g,d)=>{const r=(d||"").toLowerCase();return g.filter(u=>u.name.toLowerCase().includes(r)||u.fqdn.toLowerCase().includes(r))};return{loading:S(()=>c.value),error:S(()=>s.value),federations:S(()=>b.value),discoverProvider:p,buildProviderUrl:i,navigateToProvider:f,navigateToManualProvider:m,loadFederations:x,filterProviders:I}}const Bn=G({components:{NoContentMessage:Q,AppLoadingSpinner:W},setup(){const e=xe(),{$gettext:n}=N(),l=S(()=>e.query.token||""),c=S(()=>l.value.trim().length>0),s=S(()=>window.location.hostname),b=E(""),o=E(""),{loading:p,error:i,federations:f,navigateToProvider:m,navigateToManualProvider:x,loadFederations:I,filterProviders:g}=qn(),d=S(()=>({text:n("Select your cloud provider to continue with the invitation process. You can search for providers or enter a domain manually."),title:n("Where Are You From?")})),r=S(()=>{const _={},U=f.value||{};return Object.entries(U).forEach(([R,H])=>{const O=g(H,b.value);O.length>0&&(_[R]=O)}),_}),u=S(()=>Object.values(r.value).reduce((_,U)=>_+U.length,0)),$=S(()=>Object.entries(r.value).sort(([_],[U])=>_.localeCompare(U))),D=async()=>{await x(o.value,l.value,s.value)};return Z(()=>{I()}),{token:l,hasToken:c,providerDomain:s,query:b,manualProvider:o,loading:p,error:i,federations:f,helperContent:d,filteredFederations:r,totalFilteredCount:u,sortedFederationEntries:$,navigateToProvider:m,loadFederations:I,goToManualProvider:D}}}),Vn={id:"wayf",class:"flex flex-col h-screen overflow-auto bg-role-surface-container"},Wn={class:"w-full h-full flex flex-col"},Rn={class:"flex flex-col flex-1 min-h-0"},Hn={class:"flex items-center px-4 py-2 border-b shrink-0 min-h-[60px]"},Kn=["textContent"],Zn=["textContent"],Jn=["textContent"],Qn={key:1,class:"text-center p-8"},Xn=["textContent"],et=["textContent"],nt=["textContent"],tt={key:3,class:"flex-1 grid grid-rows-[auto_1fr_auto] min-h-0"},it={class:"px-4 pb-2 border-b shrink-0 overflow-hidden min-h-[80px]"},ot={key:0,class:"flex items-center justify-center min-h-[300px] flex-1"},at=["textContent"],rt=["textContent"],st={class:"flex items-center px-4 py-2 bg-role-surface-container-highest border-b min-h-[42px]"},ct=["title"],dt={class:"ml-2 text-xs font-medium bg-role-surface-container px-2 py-0.5 rounded-xl whitespace-nowrap shrink-0"},lt={class:"overflow-y-auto flex-1 min-h-0"},ut={class:"flex items-center justify-center"},pt={class:"flex flex-col flex-1 text-center"},vt={class:"font-semibold mb-0.5 text-base"},ht={class:"text-sm text-muted font-mono"},mt={class:"px-4 pt-4 border-t overflow-y-auto overflow-x-hidden min-h-[235px] max-h-[350px] flex flex-col",style:{"box-shadow":"0 -2px 6px rgba(0, 0, 0, 0.04)","background-color":"var(--oc-role-surface-container-highest)"}},gt={class:"flex items-center mb-2"},kt=["textContent"],ft=["textContent"];function wt(e,n,l,c,s,b){const o=y("oc-icon"),p=y("oc-contextual-helper"),i=y("no-content-message"),f=y("app-loading-spinner"),m=y("oc-button"),x=y("oc-text-input");return k(),F("main",Vn,[t("div",Wn,[t("div",Rn,[t("div",Hn,[h(o,{name:"cloud",size:"large",class:"mr-2"}),n[2]||(n[2]=a()),t("h1",{class:"px-2 text-2xl font-semibold m-0",textContent:v(e.$gettext("Where Are You From?"))},null,8,Kn),n[3]||(n[3]=a()),h(p,V({class:"pl-1"},e.helperContent),null,16)]),n[17]||(n[17]=a()),e.hasToken?e.loading?(k(),F("div",Qn,[h(f),n[5]||(n[5]=a()),t("p",{class:"mt-2",textContent:v(e.$gettext("Loading providers..."))},null,8,Xn)])):e.error?(k(),P(i,{key:2,id:"wayf-error",icon:"alert-circle"},{message:A(()=>[t("span",{textContent:v(e.$gettext("Failed to load providers"))},null,8,et)]),callToAction:A(()=>[h(m,{appearance:"filled",variation:"primary",class:"px-4 py-4",onClick:e.loadFederations},{default:A(()=>[t("span",{textContent:v(e.$gettext("Retry"))},null,8,nt)]),_:1},8,["onClick"])]),_:1})):(k(),F("div",tt,[t("div",it,[h(x,{id:"wayf-search",modelValue:e.query,"onUpdate:modelValue":n[0]||(n[0]=I=>e.query=I),label:e.$gettext("Search providers"),type:"text",name:"search",class:"mb-2"},{icon:A(()=>[h(o,{name:"magnify",size:"medium"})]),_:1},8,["modelValue","label"])]),n[15]||(n[15]=a()),e.totalFilteredCount===0?(k(),F("div",ot,[h(i,{id:"wayf-empty",class:"mx-4 my-4",icon:"magnify"},{message:A(()=>[t("span",{textContent:v(e.$gettext("No providers match your search"))},null,8,at)]),callToAction:A(()=>[t("span",{class:"text-muted",textContent:v(e.$gettext("Try a different search or enter a domain manually below."))},null,8,rt)]),_:1})])):(k(),F("div",{key:1,class:oe(["overflow-y-auto overflow-x-hidden min-h-[200px] p-2 grid gap-2 content-start",{"grid-cols-1":e.totalFilteredCount>0,"md:grid-cols-1":e.totalFilteredCount>0,"lg:grid-cols-[repeat(auto-fill,minmax(280px,1fr))]":e.totalFilteredCount>0}])},[(k(!0),F(q,null,te(e.sortedFederationEntries,([I,g])=>(k(),F("div",{key:I,class:"border rounded-xl overflow-hidden flex flex-col max-h-[280px] h-[280px]"},[t("div",st,[h(o,{name:"shield-check",size:"small",class:"mr-2"}),n[8]||(n[8]=a()),t("h2",{class:"text-lg font-semibold m-0 truncate flex-1",title:I},v(I),9,ct),n[9]||(n[9]=a()),t("span",dt,v(g.length)+" "+v(g.length===1?e.$gettext("provider"):e.$gettext("providers")),1)]),n[11]||(n[11]=a()),t("div",lt,[(k(!0),F(q,null,te(g,d=>(k(),P(m,{key:d.fqdn,appearance:"raw",class:"w-full px-2 py-2 border-b last:border-b-0 text-left transition-colors hover:bg-role-surface-container-highest",disabled:e.loading,"aria-label":e.$gettext("Select provider %{name}",{name:d.name}),onClick:r=>e.navigateToProvider(d,e.token,e.providerDomain)},{default:A(()=>[t("div",ut,[t("div",pt,[t("div",vt,v(d.name),1),n[10]||(n[10]=a()),t("div",ht,v(d.fqdn),1)])])]),_:2},1032,["disabled","aria-label","onClick"]))),128))])]))),128))],2)),n[16]||(n[16]=a()),t("div",mt,[t("div",gt,[h(o,{name:"cloud",size:"medium",class:"mr-2"}),n[12]||(n[12]=a()),t("h3",{class:"text-base font-semibold m-0",textContent:v(e.$gettext("Manual Provider Entry"))},null,8,kt)]),n[13]||(n[13]=a()),h(x,{id:"wayf-manual",modelValue:e.manualProvider,"onUpdate:modelValue":n[1]||(n[1]=I=>e.manualProvider=I),label:e.$gettext("Enter provider domain manually"),type:"text",name:"manual",class:"mb-2",onKeyup:we(e.goToManualProvider,["enter"])},{icon:A(()=>[h(o,{name:"cloud",size:"medium"})]),_:1},8,["modelValue","label","onKeyup"]),n[14]||(n[14]=a()),h(m,{appearance:"filled",variation:"primary",class:"mt-2 px-4 py-4 min-w-[120px]",disabled:!e.manualProvider.trim()||e.loading,onClick:e.goToManualProvider},{default:A(()=>[t("span",{textContent:v(e.$gettext("Continue"))},null,8,ft)]),_:1},8,["disabled","onClick"])])])):(k(),P(i,{key:0,id:"wayf-no-token",icon:"cloud",class:"text-center p-8"},{message:A(()=>[t("span",{textContent:v(e.$gettext("Token Required"))},null,8,Zn)]),callToAction:A(()=>[t("span",{class:"text-muted",textContent:v(e.$gettext("You need a token for this feature to work."))},null,8,Jn)]),_:1}))])])])}const bt=Y(Bn,[["render",wt],["__scopeId","data-v-7b32f88b"]]),yt={},Ct={},It={Error:"خطأ","An error occurred":"حدث خطأ","Couldn't open remotely":"لم أتمكن من الفتح عن بعد",Invitations:"الدعوات","with me":"معي","with others":"مع الآخرين",Delete:"حذف",User:"مستخدم",Email:"البريد الإلكتروني",Institution:"مؤسسة","Accept invitations":"قبول الدعوات","Institution:":"مؤسسة:","Accept invitation":"قبول دعوة","Accepting invitations":"قبول الدعوات","Invite users":"دعوة المستخدمين",Cancel:"إلغاء","Add a description (optional)":"أضف وصفًا (اختياري)","You have no invitation links":"ليس لديك روابط دعوة",Link:"رابط","Copy invitation link":"نسخ رابط الدعوة","Invitation link":"رابط الدعوة",Description:"وصف",Success:"نجاح"},At={Error:"Fehler","An error occurred":"Ein Fehler ist aufgetreten.","Missing required parameters: token and providerDomain":"Erforderliche Parameter fehlen: Token und Provider-Domain","Discovery Failed":"Erkennung fehlgeschlagen","Could not discover provider at %{domain}":"Der Provider von %{domain} konnte nicht erkannt werden","Invalid Provider Selection":"Ungültige Provider-Auswahl","You cannot select your own instance as a provider. Please select a different provider to establish a federated connection.":"Sie können Ihre eigene Instanz nicht als Provider auswählen. Bitte wählen Sie einen anderen Provider, um eine föderierte Verbindung herzustellen.","You cannot use your own instance as a provider. Please select a different provider to establish a federated connection.":"Sie können Ihre eigene Instanz nicht als Provider verwenden. Bitte wählen Sie einen anderen Provider, um eine föderierte Verbindung herzustellen.","Failed to Load Providers":"Provider konnten nicht geladen werden","Could not load the list of available providers":"Die Liste der verfügbaren Provider konnte nicht geladen werden","Couldn't open remotely":"Fernzugriff fehlgeschlagen","Open remotely":"Fernzugriff",ScienceMesh:"ScienceMesh",Invitations:"Einladungen","New federated connection":"Neue föderierte Verbindung","You can share with and receive shares from %{user} now":"Sie können jetzt mit %{user} Freigaben teilen","New federated connections":"Neue föderierte Verbindungen","You can share with and receive shares from %{ connections } now":"Sie können jetzt mit %{ connections } Freigaben teilen","Federated connections":"Föderierte Verbindungen","Federated shares:":"Föderierte Freigaben","Federated shares with me":"Mit mir geteilte föderierten Freigaben","with me":"mit mir","with others":"mit anderen","You have no sharing connections":"Sie haben keine Freigabeverbindungen",Delete:"Löschen",User:"Person",Email:"E-Mail",Institution:"Institution",Actions:"Aktionen",'Federated connections for mutual sharing. To share, go to "Files" app, select the resource, click "Share" in the context menu and select account type "federated".':"Föderierte Verbindungen für gegenseitige Freigaben. Über die App »Dateien« kann eine Ressource ausgewählt und über die Teilen-Option im Kontextmenü der Kontotyp »föderiert« zugewiesen werden.","Failed to delete connection":"Fehler beim Löschen der Verbindung","Accept invitations":"Einladungen annehmen","Enter invite token":"Einladungstoken eingeben","Institution:":"Institution:","invalid invite token":"Ungültiger Einladungstoken","Accept invitation":"Einladung annehmen","Once you accept the invitation, the inviter will be added to your connections.":"Sobald Sie die Einladung akzeptieren, wird der Sender zu Ihren Verbindungen hinzugefügt.","Accepting invitations":"Einladungen akzeptieren","Accept Invitation":"Einladung akzeptieren",Decline:"Ablehnen",Accept:"Akzeptieren","Processing invitation...":"Einladung wird verarbeitet...","You have received an invitation":"Sie haben eine Einladung erhalten","Accept this invitation to establish a federated connection.":"Akzeptieren Sie diese Einladung, um eine föderierte Verbindung herzustellen.","From Institution:":"Von Institution:","Token:":"Token:","Invite users":"Benutzer einladen","Generate invitation link that can be shared with one or more invitees":"Einladungslink erstellen, der mit einer oder mehr Personen geteilt werden kann","Generate invitation":"Einladung erstellen","Generate new invitation":"Neue Einladung erstellen",Cancel:"Abbrechen",Generate:"Erstellen","Add a description (optional)":"Beschreibung hinzufügen (optional)","You have no invitation links":"Sie haben keine Einladungslinks","Copy plain token":"Einfachen Token kopieren","Copy base64 token":"Base64-Token kopieren","Copy Invite link":"Einladungslink kopieren",Link:"Link","Copy invitation link":"Einladungslink kopieren","Invitation link":"Einladungslink","Invite token":"Einladungstoken",Description:"Beschreibung",Expires:"Läuft ab","Create an invitation link and send it to the person you want to share with.":"Einladungslink erstellen und an die Person verschicken, mit der geteilt werden soll.",Success:"Erfolg","New token has been created and copied to your clipboard. Send it to the invitee(s).":"Ein neuer Token wurde erstellt und in Ihre Zwischenablage kopiert. Senden Sie es an den/die Eingeladenen.","Invitation link copied":"Einladungslink wurde kopiert","Invitation link has been copied to your clipboard.":"Einladungslink wurde in die Zwischenablage kopiert.","Plain token copied":"Einfacher Token kopiert","Plain token has been copied to your clipboard.":"Der einfache Token wurde in die Zwischenablage kopiert.","Base64 token copied":"Base64-Token kopiert","Base64 token has been copied to your clipboard.":"Das Base64-Token wurde in die Zwischenablage kopiert.","Invite link copied":"Einladungslink wurde kopiert","Invite link has been copied to your clipboard.":"Der Einladungslink wurde in die Zwischenablage kopiert.","An error occurred when generating the token":"Beim Erstellen des Tokens ist ein Fehler aufgetreten.","Where Are You From?":"Woher kommen Sie?","Token Required":"Token erforderlich","You need a token for this feature to work.":"Sie benötigen für diese Funktion ein Token.","Loading providers...":"Provider werden geladen...","Failed to load providers":"Laden der Provider fehlgeschlagen",Retry:"Wiederholen","Search providers":"Provider suchen","No providers match your search":"Keine Provider entsprechen Ihrer Suche","Try a different search or enter a domain manually below.":"Passen Sie Ihre Suche an oder geben Sie unten manuell eine Domain ein.",provider:"Provider",providers:"Provider","Select provider %{name}":"Provider auswählen %{name}","Manual Provider Entry":"Manuelle Provider-Eingabe","Enter provider domain manually":"Provider manuell eingeben",Continue:"Weiter","Select your cloud provider to continue with the invitation process. You can search for providers or enter a domain manually.":"Wählen Sie Ihren Cloud-Provider aus, um mit dem Einladungsprozess fortzufahren. Sie können nach Anbietern suchen oder eine Domain manuell eingeben."},xt={Error:"Chyba","An error occurred":"Došlo k chybě","Open remotely":"Otevřít vzdáleně",ScienceMesh:"ScienceMesh",Invitations:"Pozvání","Federated connections":"Federovaná spojení","Federated shares:":"Federovaná sdílení:","with me":"se mnou","with others":"s ostatními",Delete:"Smazat",User:"Uživatel",Email:"E-mail",Institution:"Instituce",Actions:"Akce","Accept invitations":"Přijmout pozvánky","Institution:":"Instituce:","Accept invitation":"Přijmout pozvánku","Accepting invitations":"Přijímání pozvánek","Invite users":"Pozvat uživatele","Generate invitation":"Vytvořit pozvánku",Cancel:"Zrušit",Generate:"Vytvořit",Link:"Odkaz","Invitation link":"Odkaz pozvánky","Invite token":"Pozvat token",Description:"Popis",Expires:"Platnost skončí",Success:"Úspěch","An error occurred when generating the token":"Došlo k chybě při vytváření tokenu",Continue:"Pokračovat"},$t={},Et={Error:"Σφάλμα","An error occurred":"Παρουσιάστηκε σφάλμα","Missing required parameters: token and providerDomain":"Λείπουν οι απαιτούμενες παράμετροι: token και providerDomain","Discovery Failed":"Η ανακάλυψη απέτυχε","Could not discover provider at %{domain}":"Δεν ήταν δυνατή η ανακάλυψη παρόχου στο %{domain}","Invalid Provider Selection":"Μη έγκυρη επιλογή παρόχου","You cannot select your own instance as a provider. Please select a different provider to establish a federated connection.":"Δεν μπορείτε να επιλέξετε τη δική σας εγκατάσταση ως πάροχο. Παρακαλούμε επιλέξτε έναν διαφορετικό πάροχο για να δημιουργήσετε μια ομόσπονδη σύνδεση.","You cannot use your own instance as a provider. Please select a different provider to establish a federated connection.":"Δεν μπορείτε να χρησιμοποιήσετε τη δική σας εγκατάσταση ως πάροχο. Παρακαλούμε επιλέξτε έναν διαφορετικό πάροχο για να δημιουργήσετε μια ομόσπονδη σύνδεση.","Failed to Load Providers":"Αποτυχία φόρτωσης παρόχων","Could not load the list of available providers":"Δεν ήταν δυνατή η φόρτωση της λίστας διαθέσιμων παρόχων","Couldn't open remotely":"Δεν ήταν δυνατό το άνοιγμα εξ αποστάσεως","Open remotely":"Άνοιγμα εξ αποστάσεως",ScienceMesh:"ScienceMesh",Invitations:"Προσκλήσεις","New federated connection":"Νέα ομόσπονδη σύνδεση","You can share with and receive shares from %{user} now":"Μπορείτε πλέον να διαμοιράζεστε στοιχεία με τον/την %{user} και να λαμβάνετε από αυτόν/αυτήν","New federated connections":"Νέες ομόσπονδες συνδέσεις","You can share with and receive shares from %{ connections } now":"Μπορείτε πλέον να διαμοιράζεστε στοιχεία με τους %{ connections } και να λαμβάνετε από αυτούς","Federated connections":"Ομόσπονδες συνδέσεις","Federated shares:":"Ομόσπονδοι διαμοιρασμοί:","Federated shares with me":"Ομόσπονδοι διαμοιρασμοί με εμένα","with me":"με εμένα","with others":"με άλλους","You have no sharing connections":"Δεν έχετε συνδέσεις διαμοιρασμού",Delete:"Διαγραφή",User:"Χρήστης",Email:"Email",Institution:"Ίδρυμα / Οργανισμός",Actions:"Ενέργειες",'Federated connections for mutual sharing. To share, go to "Files" app, select the resource, click "Share" in the context menu and select account type "federated".':'Ομόσπονδες συνδέσεις για αμοιβαίο διαμοιρασμό. Για να διαμοιραστείτε, μεταβείτε στην εφαρμογή "Αρχεία", επιλέξτε τον πόρο, κάντε κλικ στο "Διαμοιρασμός" στο μενού επιλογών και επιλέξτε τύπο λογαριασμού "federated".',"Failed to delete connection":"Αποτυχία διαγραφής σύνδεσης","Accept invitations":"Αποδοχή προσκλήσεων","Enter invite token":"Εισάγετε το διακριτικό (token) πρόσκλησης","Institution:":"Ίδρυμα:","invalid invite token":"μη έγκυρο διακριτικό πρόσκλησης","Accept invitation":"Αποδοχή πρόσκλησης","Once you accept the invitation, the inviter will be added to your connections.":"Μόλις αποδεχτείτε την πρόσκληση, το άτομο που σας προσκάλεσε θα προστεθεί στις συνδέσεις σας.","Accepting invitations":"Αποδοχή προσκλήσεων","Accept Invitation":"Αποδοχή πρόσκλησης",Decline:"Απόρριψη",Accept:"Αποδοχή","Processing invitation...":"Επεξεργασία πρόσκλησης...","You have received an invitation":"Έχετε λάβει μια πρόσκληση","Accept this invitation to establish a federated connection.":"Αποδεχτείτε αυτή την πρόσκληση για να δημιουργήσετε μια ομόσπονδη σύνδεση.","From Institution:":"Από Ίδρυμα:","Token:":"Διακριτικό:","Invite users":"Πρόσκληση χρηστών","Generate invitation link that can be shared with one or more invitees":"Δημιουργία συνδέσμου πρόσκλησης που μπορεί να κοινοποιηθεί σε έναν ή περισσότερους προσκεκλημένους","Generate invitation":"Δημιουργία πρόσκλησης","Generate new invitation":"Δημιουργία νέας πρόσκλησης",Cancel:"Ακύρωση",Generate:"Δημιουργία","Add a description (optional)":"Προσθήκη περιγραφής (προαιρετικά)","You have no invitation links":"Δεν έχετε συνδέσμους πρόσκλησης","Copy plain token":"Αντιγραφή απλού διακριτικού","Copy base64 token":"Αντιγραφή διακριτικού base64","Copy Invite link":"Αντιγραφή συνδέσμου πρόσκλησης",Link:"Σύνδεσμος","Copy invitation link":"Αντιγραφή συνδέσμου πρόσκλησης","Invitation link":"Σύνδεσμος πρόσκλησης","Invite token":"Διακριτικό πρόσκλησης",Description:"Περιγραφή",Expires:"Λήγει","Create an invitation link and send it to the person you want to share with.":"Δημιουργήστε έναν σύνδεσμο πρόσκλησης και στείλτε τον στο άτομο με το οποίο θέλετε να διαμοιραστείτε στοιχεία.",Success:"Επιτυχία","New token has been created and copied to your clipboard. Send it to the invitee(s).":"Το νέο διακριτικό δημιουργήθηκε και αντιγράφηκε στο πρόχειρο. Στείλτε το στους προσκεκλημένους.","Invitation link copied":"Ο σύνδεσμος πρόσκλησης αντιγράφηκε","Invitation link has been copied to your clipboard.":"Ο σύνδεσμος πρόσκλησης έχει αντιγραφεί στο πρόχειρό σας.","Plain token copied":"Το απλό διακριτικό αντιγράφηκε","Plain token has been copied to your clipboard.":"Το απλό διακριτικό έχει αντιγραφεί στο πρόχειρό σας.","Base64 token copied":"Το διακριτικό base64 αντιγράφηκε","Base64 token has been copied to your clipboard.":"Το διακριτικό base64 έχει αντιγραφεί στο πρόχειρό σας.","Invite link copied":"Ο σύνδεσμος πρόσκλησης αντιγράφηκε","Invite link has been copied to your clipboard.":"Ο σύνδεσμος πρόσκλησης έχει αντιγραφεί στο πρόχειρό σας.","An error occurred when generating the token":"Παρουσιάστηκε σφάλμα κατά τη δημιουργία του διακριτικού","Where Are You From?":"Από πού είστε; (WAYF)","Token Required":"Απαιτείται διακριτικό (Token)","You need a token for this feature to work.":"Χρειάζεστε ένα διακριτικό για να λειτουργήσει αυτή η δυνατότητα.","Loading providers...":"Φόρτωση παρόχων...","Failed to load providers":"Αποτυχία φόρτωσης παρόχων",Retry:"Επανάληψη","Search providers":"Αναζήτηση παρόχων","No providers match your search":"Δεν βρέθηκαν πάροχοι που να ταιριάζουν στην αναζήτησή σας","Try a different search or enter a domain manually below.":"Δοκιμάστε μια διαφορετική αναζήτηση ή εισάγετε ένα domain χειροκίνητα παρακάτω.",provider:"πάροχος",providers:"πάροχοι","Select provider %{name}":"Επιλογή παρόχου %{name}","Manual Provider Entry":"Χειροκίνητη εισαγωγή παρόχου","Enter provider domain manually":"Εισάγετε το domain του παρόχου χειροκίνητα",Continue:"Συνέχεια","Select your cloud provider to continue with the invitation process. You can search for providers or enter a domain manually.":"Επιλέξτε τον πάροχο cloud σας για να συνεχίσετε τη διαδικασία πρόσκλησης. Μπορείτε να αναζητήσετε παρόχους ή να εισάγετε ένα domain χειροκίνητα."},St={Error:"Erreur","An error occurred":"Une erreur s'est produite","Couldn't open remotely":"Impossible d'ouvrir à distance","Open remotely":"Ouvrir à distance",ScienceMesh:"ScienceMesh",Invitations:"Invitations","New federated connection":"Nouvelle connexion fédérée","You can share with and receive shares from %{user} now":"Vous pouvez maintenant partager et recevoir des partages de la part de %{user}","New federated connections":"Nouvelles connexions fédérées","You can share with and receive shares from %{ connections } now":"Vous pouvez désormais partager et recevoir des partages de la part de %{ connexions }.","Federated connections":"Connexions fédérées","Federated shares:":"Partages fédérés :","Federated shares with me":"Partages fédérés avec moi","with me":"avec moi","with others":"avec d'autres","You have no sharing connections":"Vous n'avez pas de liens de partage",Delete:"Supprimer",User:"Utilisateur",Email:"E-mail",Institution:"Institution",Actions:"Actions",'Federated connections for mutual sharing. To share, go to "Files" app, select the resource, click "Share" in the context menu and select account type "federated".':"Connexions fédérées pour un partage mutuel. Pour partager, allez dans l'application « Fichiers », sélectionnez la ressource, cliquez sur « Partager » dans le menu contextuel et sélectionnez le type de compte « fédéré ».","Accept invitations":"Accepter les invitations","Enter invite token":"Saisir le jeton d'invitation","Institution:":"Institution :","invalid invite token":"jeton d'invitation invalide","Accept invitation":"Accepter l'invitation","Once you accept the invitation, the inviter will be added to your connections.":"Une fois que vous avez accepté l'invitation, l'invité sera ajouté à vos connexions.","Accepting invitations":"Accepter des invitations","Invite users":"Inviter des utilisateurs","Generate invitation link that can be shared with one or more invitees":"Générer un lien d'invitation qui peut être partagé avec un ou plusieurs invités","Generate invitation":"Générer une invitation","Generate new invitation":"Générer une nouvelle invitation",Cancel:"Annuler",Generate:"Générer","Add a description (optional)":"Ajouter une description (facultatif)","You have no invitation links":"Vous n'avez pas de liens d'invitation",Link:"Lien","Copy invitation link":"Copier le lien de l'invitation","Invitation link":"Lien d'invitation","Invite token":"Jeton d'invitation",Description:"Description",Expires:"Expiration","Create an invitation link and send it to the person you want to share with.":"Créez un lien d'invitation et envoyez-le à la personne avec laquelle vous souhaitez partager.",Success:"Succès","New token has been created and copied to your clipboard. Send it to the invitee(s).":"Un nouveau jeton a été créé et copié dans votre presse-papiers. Envoyez-le au(x) invité(s).","Invitation link has been copied to your clipboard.":"Le lien de l'invitation a été copié dans votre presse-papiers.","An error occurred when generating the token":"Une erreur s'est produite lors de la génération du jeton",Continue:"Continuer"},Ft={},zt={Error:"Error","An error occurred":"Ha ocurrido un error","Couldn't open remotely":"No se puedo abrir remotamente","Open remotely":"Abrir remotamente",ScienceMesh:"ScienceMesh",Invitations:"Invitaciones","New federated connection":"Nueva conexión federada","New federated connections":"Nuevas conexiones federadas","You can share with and receive shares from %{ connections } now":"Puedes compartir y recibir recursos compartidos de %{ connections } ahora","Federated connections":"Conecciones federadas","Federated shares:":"Recursos compartidos federados","Federated shares with me":"Recursos federados compartidos conmigo","with me":"conmigo","with others":"con otros","You have no sharing connections":"No tienes coneciones compartidas",Delete:"Eliminar",User:"Usuario",Email:"Email",Institution:"Institución",Actions:"Acciones","Accept invitations":"Aceptar las invitaciones","Enter invite token":"Ingresar token de invitado","Institution:":"Institución:","invalid invite token":"Token de invitado inválido","Accept invitation":"Aceptar invitación","Once you accept the invitation, the inviter will be added to your connections.":"Una vez que aceptes la invitación, el invitado serña añadido a tu conexión.","Accepting invitations":"Aceptando las invitaciones","Invite users":"Invitar usuarios","Generate invitation link that can be shared with one or more invitees":"Generar enlace de invitación que se pueda compartir con uno o más invitados.","Generate invitation":"Generar invitación","Generate new invitation":"Generar nueva invitación",Cancel:"Cancelar",Generate:"Generar","Add a description (optional)":"Añadir una descripción (opcional)","You have no invitation links":"No tienes enlaces de invitación",Link:"Enlace","Copy invitation link":"Copiar link de invitación","Invitation link":"Enlace de invitación","Invite token":"Token de invitado",Description:"Descripción",Expires:"Expira","Create an invitation link and send it to the person you want to share with.":"Crea un enlace de invitación y compártelo con la persona que quieras",Success:"Éxito","New token has been created and copied to your clipboard. Send it to the invitee(s).":"U nuevo token ha sido creado y se ha copiado a tu portapapeles. Envíaselo a los invitados.","Invitation link has been copied to your clipboard.":"El enlace de invitación ha sido copiado a tu portapapeles.","An error occurred when generating the token":"Ha ocurrido un error mientras se generaba el token"},Pt={},_t={},Dt={},Tt={"An error occurred":"שגיאה התרחשה",Delete:"מחיקה",Actions:"הפעלות",Cancel:"ביטול",Continue:"המשך"},Nt={Error:"エラー","An error occurred":"エラーが発生しました","Couldn't open remotely":"リモートで開けませんでした","Open remotely":"リモートで開く",ScienceMesh:"ScienceMesh",Invitations:"招待","New federated connection":"新しいフェデレーション接続","You can share with and receive shares from %{user} now":"%{user} との相互共有が可能になりました","New federated connections":"新しいフェデレーション接続","You can share with and receive shares from %{ connections } now":"%{ connections } との相互共有が可能になりました","Federated connections":"フェデレーション接続","Federated shares:":"フェデレーション共有:","Federated shares with me":"自分に共有されたフェデレーション共有","with me":"自分と共有","with others":"他のユーザーと共有","You have no sharing connections":"共有設定済みの接続先はありません",Delete:"削除",User:"ユーザ",Email:"Email",Institution:"機関",Actions:"アクション",'Federated connections for mutual sharing. To share, go to "Files" app, select the resource, click "Share" in the context menu and select account type "federated".':"相互共有のためのフェデレーション接続。共有するには「ファイル」アプリでリソースを選択し、メニューから「共有」をクリックして、アカウントの種類で「フェデレーション」を選択してください","Accept invitations":"招待を承認","Enter invite token":"招待トークンを入力してください","Institution:":"機関:","invalid invite token":"無効な招待トークンです","Accept invitation":"招待を承認","Once you accept the invitation, the inviter will be added to your connections.":"招待を承認すると、招待者があなたの連絡先(接続先)に追加されます","Accepting invitations":"招待を承認しています","Invite users":"ユーザーを招待","Generate invitation link that can be shared with one or more invitees":"1人以上の招待相手と共有できる招待リンクを生成します","Generate invitation":"招待を生成","Generate new invitation":"新しい招待を生成",Cancel:"キャンセル",Generate:"生成","Add a description (optional)":"説明を追加 (任意)","You have no invitation links":"招待リンクはありません",Link:"リンク","Copy invitation link":"招待リンクをコピー","Invitation link":"招待リンク","Invite token":"招待トークン",Description:"説明",Expires:"有効期限","Create an invitation link and send it to the person you want to share with.":"招待リンクを作成し、共有したい相手に送信してください",Success:"成功","New token has been created and copied to your clipboard. Send it to the invitee(s).":"新しいトークンが作成され、クリップボードにコピーされました。招待相手に送信してください","Invitation link has been copied to your clipboard.":"招待リンクをクリップボードにコピーしました","An error occurred when generating the token":"トークンの生成中にエラーが発生しました",Continue:"続ける"},Ut={Error:"Errore","An error occurred":"Si è verificato un errore","Couldn't open remotely":"Impossibile aprire in remoto","Open remotely":"Apri da remoto",ScienceMesh:"ScienceMesh",Invitations:"Inviti","New federated connection":"Nuova connessione federata","You can share with and receive shares from %{user} now":"Ora puoi condividere e ricevere condivisioni da %{user}","New federated connections":"Nuove connessione federate","You can share with and receive shares from %{ connections } now":"Ora puoi condividere con e ricevere condivisioni da %{ connections }.","Federated connections":"Connessioni federate","Federated shares:":"Condivisioni federate","Federated shares with me":"Condivisioni federate condivise con me","with me":"con me","with others":"con altri","You have no sharing connections":"Non hai connessioni di condivisione",Delete:"Elimina",User:"Utente",Email:"Email",Institution:"Istituzione",Actions:"Azioni",'Federated connections for mutual sharing. To share, go to "Files" app, select the resource, click "Share" in the context menu and select account type "federated".':`Connessioni federate per la condivisione reciproca. Per condividere, vai all'app "File", seleziona la risorsa, clicca su "Condividi" nel menu contestuale e seleziona il tipo di account "federato".`,"Accept invitations":"Accetta inviti","Enter invite token":"Inserisci il token di invito","Institution:":"Istituzione:","invalid invite token":"Token di invito non valido","Accept invitation":"Accetta invito","Once you accept the invitation, the inviter will be added to your connections.":"Una volta accettato l'invito, chi ti ha invitato verrà aggiunto alle tue connessioni.","Accepting invitations":"Accettando gli inviti","Invite users":"Invita utenti","Generate invitation link that can be shared with one or more invitees":"Genera un link di invito che può essere condiviso con uno o più invitati.","Generate invitation":"Genera invito","Generate new invitation":"Genera un nuovo invito",Cancel:"Cancella",Generate:"Genera","Add a description (optional)":"Aggiungi una descrizione (facoltativa)","You have no invitation links":"Non hai link di invito",Link:"Link","Copy invitation link":"Copia il link di invito","Invitation link":"Link di invito","Invite token":"Token di invito",Description:"Descrizione",Expires:"Scade","Create an invitation link and send it to the person you want to share with.":"Crea un link di invito e condividilo con la persona da invitare",Success:"Successo","New token has been created and copied to your clipboard. Send it to the invitee(s).":"Un nuovo token è stato creato e copiato negli appunti. Inviarlo all'invitato (o agli invitati).","Invitation link has been copied to your clipboard.":"Il link di invito è stato copiato negli appunti.","An error occurred when generating the token":"Si è verificato un errore durante la generazione del token",Continue:"Continua"},Gt={Error:"Błąd","An error occurred":"Wystąpił błąd","Couldn't open remotely":"Nie udało się połączyć zdalnie","Open remotely":"Otwórz zdalnie",Invitations:"Zaproszenia","You can share with and receive shares from %{ connections } now":"Możesz teraz udostępniać i odbierać udostępnienia od %{ connections }","with me":"ze mną","with others":"z innymi",Delete:"Usuń",User:"Użytkownik",Email:"Email",Institution:"Instytucja",Actions:"Akcje","Accept invitations":"Akceptuj zaproszenia","Enter invite token":"Wprowadź token zaproszenia","Institution:":"Instytucja:","invalid invite token":"Nieważny token zaproszenia","Accept invitation":"Akceptuj zaproszenie","Once you accept the invitation, the inviter will be added to your connections.":"Po zaakceptowaniu zaproszenia, zapraszający zostanie dodany do twoich połączeń.","Accepting invitations":"Akceptacja zaproszeń","Invite users":"Zaproś użytkowników","Generate invitation link that can be shared with one or more invitees":"Wygeneruj link zaproszenia, które może być udostępnione jednej lub wielu osobom","Generate invitation":"Generuj zaproszenie","Generate new invitation":"Wygeneruj nowe zaproszenie",Cancel:"Anuluj",Generate:"Generuj","Add a description (optional)":"Dodaj opis (opcjonalnie)","You have no invitation links":"Nie masz linków zaproszeń",Link:"Link","Copy invitation link":"Kopiuj link zaproszenia","Invitation link":"Link zaproszenia","Invite token":"Token zaproszenia",Description:"Opis",Expires:"Wygasa","Create an invitation link and send it to the person you want to share with.":"Stwórz link zaproszeniai wyślij osobie, której chcesz to udostępnić.",Success:"Sukces","New token has been created and copied to your clipboard. Send it to the invitee(s).":"Nowy token zaproszenia został utworzony i skopiowany do schowka. Wyślij go do osób, które chcesz zaprosić.","Invitation link has been copied to your clipboard.":"Link zaproszenia","An error occurred when generating the token":"Wystąpił błąd przy tworzeniu tokenu",Continue:"Kontynuuj"},jt={Error:"Fout","An error occurred":"Er is een fout opgetreden","Missing required parameters: token and providerDomain":"Ontbrekende vereiste parameters: token en providerDomain","Discovery Failed":"Ontdekking mislukt","Could not discover provider at %{domain}":"Kon provider a niet ontdekken bij %{domain}","Invalid Provider Selection":"Ongeldige providerselectie","You cannot select your own instance as a provider. Please select a different provider to establish a federated connection.":"U kunt uw eigen exemplaar niet als provider selecteren. Selecteer een andere provider om een federatieve verbinding tot stand te brengen.","You cannot use your own instance as a provider. Please select a different provider to establish a federated connection.":"U kunt uw eigen exemplaar niet als provider gebruiken. Selecteer een andere provider om een federatieve verbinding tot stand te brengen.","Failed to Load Providers":"Laden van providers is mislukt","Could not load the list of available providers":"Kon de lijst met beschikbare providers niet laden","Couldn't open remotely":"Kan niet op afstand openen","Open remotely":"Op afstand openen",ScienceMesh:"ScienceMesh",Invitations:"Uitnodigingen","New federated connection":"Nieuwe gefedereerde verbinding","You can share with and receive shares from %{user} now":" U nu kunt delen met en shares ontvangen van %{user}","New federated connections":"Nieuwe gefedereerde verbindingen","You can share with and receive shares from %{ connections } now":"Je kunt nu delen met en ontvangen van %{ connections }","Federated connections":"Gefedereerde verbindingen","Federated shares:":"Gefedereerde shares:","Federated shares with me":"Gefedereerde shares gedeeld met mij","with me":"met mij","with others":"met anderen","You have no sharing connections":"Je hebt geen gedeelde verbindingen",Delete:"Verwijderen",User:"Gebruiker",Email:"E-mail",Institution:"Instelling",Actions:"Acties",'Federated connections for mutual sharing. To share, go to "Files" app, select the resource, click "Share" in the context menu and select account type "federated".':'Gefedereerde verbindingen voor wederzijds delen. Om te delen gaat u naar de app "Bestanden", selecteert u de bron, klikt u op "Delen" in het contextmenu en selecteert u accounttype "gefedereerd".',"Failed to delete connection":"Verbinding verwijderen is mislukt","Accept invitations":"Uitnodigingen aanvaarden","Enter invite token":"Uitnodigingstoken invoeren","Institution:":"Instelling:","invalid invite token":"Ongeldige uitnodigingstoken","Accept invitation":"Uitnodiging aanvaarden","Once you accept the invitation, the inviter will be added to your connections.":"Bij acceptatie van de uitnodiging, wordt de uitnodiger aan je contactpersonen toegevoegd.","Accepting invitations":"Uitnodigingen aanvaarden","Accept Invitation":"Uitnodiging accepteren",Decline:"Afwijzen",Accept:"Accepteren","Processing invitation...":"Uitnodiging verwerken…","You have received an invitation":"U heeft een uitnodiging ontvangen","Accept this invitation to establish a federated connection.":"Accepteer deze uitnodiging om een federatieve verbinding tot stand te brengen.","From Institution:":"Van Instelling:","Token:":"Token:","Invite users":"Gebruikers uitnodigen","Generate invitation link that can be shared with one or more invitees":"Een uitnodigingslink genereren die kan worden gedeeld met een of meer genodigden","Generate invitation":"Uitnodiging genereren","Generate new invitation":"Nieuwe uitnodiging genereren",Cancel:"Annuleren",Generate:"Genereren","Add a description (optional)":"Beschrijving toevoegen (optioneel)","You have no invitation links":"Je hebt geen uitnodigingslinks","Copy plain token":"Token als platte tekst kopiëren","Copy base64 token":"Base64 token kopiëren","Copy Invite link":"Uitnodigingslink kopiëren",Link:"Link","Copy invitation link":"Uitnodigingslink kopiëren","Invitation link":"Uitnodigingslink","Invite token":"Uitnodigingstoken",Description:"Beschrijving",Expires:"Verloopt","Create an invitation link and send it to the person you want to share with.":"Maak een uitnodigingslink en stuur deze naar de persoon met wie je wilt delen.",Success:"Succes","New token has been created and copied to your clipboard. Send it to the invitee(s).":"Een nieuw token is aangemaakt en gekopieerd naar het klembord. Stuur dit naar de genodigde(n).","Invitation link copied":"Uitnodigingslink gekopieerd","Invitation link has been copied to your clipboard.":"De uitnodigingslink is naar het klembord gekopieerd.","Plain token copied":"Token in platte tekst gekopieerd","Plain token has been copied to your clipboard.":"Token in platte tekst is gekopieerd naar het klembord.","Base64 token copied":"Base64 token gekopieerd","Base64 token has been copied to your clipboard.":"Base64 token is gekopieerd naar je klembord.","Invite link copied":"Uitnodigingslink gekopieerd","Invite link has been copied to your clipboard.":"Uitnodigingslink is gekopieerd naar het klembord.","An error occurred when generating the token":"Er is een fout opgetreden bij het aanmaken van het token","Where Are You From?":"Waar kom je vandaan?","Token Required":"Token vereist","You need a token for this feature to work.":"U hebt een token nodig om deze functie te laten werken.","Loading providers...":"Providers laden…","Failed to load providers":"Laden van providers is mislukt",Retry:"Opnieuw","Search providers":"Providers zoeken","No providers match your search":"Geen providers komen overeen met de zoekopdracht","Try a different search or enter a domain manually below.":"Probeer een andere zoekopdracht of voer hieronder handmatig een domein in.",provider:"provider",providers:"providers","Select provider %{name}":"Provider %{name} selecteren","Manual Provider Entry":"Provider handmatig invoeren","Enter provider domain manually":"Providerdomein handmatig invoeren",Continue:"Doorgaan","Select your cloud provider to continue with the invitation process. You can search for providers or enter a domain manually.":"Selecteer uw cloudprovider om door te gaan met het uitnodigingsproces. U kunt zoeken naar providers of handmatig een domein invoeren."},Mt={},Yt={Error:"오류","An error occurred":"오류가 발생했습니다","Couldn't open remotely":"원격으로 열 수 없습니다","Open remotely":"원격으로 열기",ScienceMesh:"ScienceMesh",Invitations:"초대장","New federated connection":"새로운 연합 연결","New federated connections":"새로운 연합들 연결","You can share with and receive shares from %{ connections } now":"이제 %{ connections }로 공유할 수 있습니다","Federated connections":"연합 연결","Federated shares:":"공유 연합:","Federated shares with me":"공유된 연합","with me":"나와","with others":"다음사람과","You have no sharing connections":"공유된 연결이 없습니다",Delete:"삭제",User:"사용자",Email:"이메일",Institution:"기관",Actions:"액션","Accept invitations":"초대 수락","Enter invite token":"초대 토큰 입력","Institution:":"기관:","invalid invite token":"잘못된 초대 토큰","Accept invitation":"초대 수락","Once you accept the invitation, the inviter will be added to your connections.":"초대를 수락하면 초대자가 연결에 추가됩니다.","Accepting invitations":"초대 수락중","Invite users":"사용자 초대","Generate invitation link that can be shared with one or more invitees":"하나 이상의 초대받은 사람과 공유할 수 있는 초대 링크 생성","Generate invitation":"초대 생성","Generate new invitation":"새 초대 생성",Cancel:"닫기",Generate:"생성","Add a description (optional)":"설명 추가 (선택)","You have no invitation links":"초대 링크가 없습니다",Link:"링크","Copy invitation link":"초대 링크 복사","Invitation link":"초대 링크","Invite token":"초대 토큰",Description:"설명",Expires:"만료","Create an invitation link and send it to the person you want to share with.":"초대 링크를 만들어서 공유하고자 하는 분에게 보내세요.",Success:"성공","New token has been created and copied to your clipboard. Send it to the invitee(s).":"새 토큰이 생성되어 클립보드에 복사되었습니다. 초대받은 사람(들)에게 보내주세요.","Invitation link has been copied to your clipboard.":"초대 링크가 클립보드에 복사되었습니다.","An error occurred when generating the token":"토큰을 생성하는 중 오류가 발생했습니다.",Continue:"계속하기"},Lt={Error:"Erro","An error occurred":"Ocorreu um erro","Couldn't open remotely":"Não foi possível abrir remotamente","Open remotely":"Abrir remotamente",ScienceMesh:"ScienceMesh",Invitations:"Convites","New federated connection":"Nova ligação federada","You can share with and receive shares from %{user} now":"Agora pode partilhar e receber partilhas de %{user}","New federated connections":"Novas ligações federadas","You can share with and receive shares from %{ connections } now":"Agora pode partilhar e receber partilhas de %{ connections }","Federated connections":"Ligações federadas","Federated shares:":"Partilhas federadas:","Federated shares with me":"Partilhas federadas comigo","with me":"comigo","with others":"com outros","You have no sharing connections":"Não tem ligações de partilha",Delete:"Eliminar",User:"Utilizador",Email:"E-mail",Institution:"Instituição",Actions:"Ações",'Federated connections for mutual sharing. To share, go to "Files" app, select the resource, click "Share" in the context menu and select account type "federated".':'Ligações federadas para partilha mútua. Para partilhar, vá à aplicação "Ficheiros", selecione o recurso, clique em "Partilhar" no menu de contexto e escolha o tipo de conta "federada".',"Accept invitations":"Aceitar convites","Enter invite token":"Introduzir token de convite","Institution:":"Instituição:","invalid invite token":"token de convite inválido","Accept invitation":"Aceitar convite","Once you accept the invitation, the inviter will be added to your connections.":"Ao aceitar o convite, o remetente será adicionado às suas ligações.","Accepting invitations":"A aceitar convites","Invite users":"Convidar utilizadores","Generate invitation link that can be shared with one or more invitees":"Gerar ligação de convite que pode ser partilhada com um ou mais convidados","Generate invitation":"Gerar convite","Generate new invitation":"Gerar novo convite",Cancel:"Cancelar",Generate:"Gerar","Add a description (optional)":"Adicionar uma descrição (opcional)","You have no invitation links":"Não tem ligações de convite",Link:"Ligação","Copy invitation link":"Copiar ligação de convite","Invitation link":"Ligação de convite","Invite token":"Token de convite",Description:"Descrição",Expires:"Expira","Create an invitation link and send it to the person you want to share with.":"Crie uma ligação de convite e envie-a à pessoa com quem pretende partilhar.",Success:"Sucesso","New token has been created and copied to your clipboard. Send it to the invitee(s).":"Novo token criado e copiado para a área de transferência. Envie-o ao(s) convidado(s).","Invitation link has been copied to your clipboard.":"A ligação de convite foi copiada para a área de transferência.","An error occurred when generating the token":"Ocorreu um erro ao gerar o token",Continue:"Continuar"},Ot={},qt={Error:"Ошибка","An error occurred":"Возникла ошибка","Couldn't open remotely":"Не получилось открыть удаленно","Open remotely":"Открыть удаленно",ScienceMesh:"ScienceMesh",Invitations:"Приглашения","New federated connection":"Новое федеративное подключение","You can share with and receive shares from %{user} now":"Вы теперь можете делиться содержанием с %{user} и он с вами.","New federated connections":"Новые федеративные подключения","You can share with and receive shares from %{ connections } now":"Вы можете делиться и получать общие ресурсы от %{ connections } уже сейчас","Federated connections":"Федеративные подключения","Federated shares:":"Федеративные общие ресурсы:","Federated shares with me":"Федеративные общие ресурсы со мной","with me":"со мной","with others":"с другими","You have no sharing connections":"У вас нет общих связей",Delete:"Удалить",User:"Пользователь",Email:"Электронная почта",Institution:"Учреждение",Actions:"Действия","Accept invitations":"Принять приглашения","Enter invite token":"Введите токен приглашения","Institution:":"Учреждение:","invalid invite token":"неверный токен приглашения","Accept invitation":"Принять приглашение","Once you accept the invitation, the inviter will be added to your connections.":"Как только вы примете приглашение, приглашающий будет добавлен в ваши связи.","Accepting invitations":"Приглашения принимаются","Invite users":"Пригласить пользователей","Generate invitation link that can be shared with one or more invitees":"Сгенерировать ссылку на приглашение, которой можно поделиться с одним или несколькими приглашенными","Generate invitation":"Сгенерировать приглашение","Generate new invitation":"Сгенерировать новое приглашение",Cancel:"Отмена",Generate:"Сгенерировать","Add a description (optional)":"Добавить описание (опционально)","You have no invitation links":"У вас нет ссылок на приглашение",Link:"Ссылка","Copy invitation link":"Копировать ссылку на приглашение","Invitation link":"Ссылка на приглашение","Invite token":"Токен приглашения",Description:"Описание",Expires:"Истекает","Create an invitation link and send it to the person you want to share with.":"Создайте ссылку на приглашение и отправьте его человеку, которому вы хотите предоставить совместный доступ к ресурсу.",Success:"Успешно","New token has been created and copied to your clipboard. Send it to the invitee(s).":"Новый токен создан и скопирован в ваш буфер обмена. Отправьте его приглашенному (приглашенным).","Invitation link has been copied to your clipboard.":"Ссылка на приглашение скопирована в буфер обмена","An error occurred when generating the token":"Возникла ошибка при генерации токена",Continue:"Продолжить"},Bt={},Vt={User:"Užívateľ",Link:"Odkaz"},Wt={},Rt={},Ht={},Kt={Error:"Fel","An error occurred":"Ett fel uppstod","Couldn't open remotely":"Kunde inte öppnas på distans","Open remotely":"Öppna på distans",ScienceMesh:"ScienceMesh",Invitations:"Inbjudningar","New federated connection":"Ny federerad anslutning","You can share with and receive shares from %{user} now":"Du kan dela med och ta emot delningar från %{user} nu","New federated connections":"Nya federerade anslutningar","You can share with and receive shares from %{ connections } now":"Du kan nu dela med och ta emot delningar från %{ connections }","Federated connections":"Federerade anslutningar","Federated shares:":"Federerade aktier:","Federated shares with me":"Federated delar med mig","with me":"med mig","with others":"med andra","You have no sharing connections":"Du har inga delningsanslutningar",Delete:"Ta bort",User:"Användare",Email:"E-post",Institution:"Institution",Actions:"Åtgärder",'Federated connections for mutual sharing. To share, go to "Files" app, select the resource, click "Share" in the context menu and select account type "federated".':"Federerade anslutningar för ömsesidigt delande. För att dela, gå till appen ”Filer”, välj resursen, klicka på ’Dela’ i snabbmenyn och välj kontotyp ”federerad”.","Accept invitations":"Acceptera inbjudningar","Enter invite token":"Ange inbjudningstoken","Institution:":"Institution:","invalid invite token":"ogiltig inbjudningstoken","Accept invitation":"Acceptera inbjudan","Once you accept the invitation, the inviter will be added to your connections.":"När du accepterar inbjudan kommer den som bjudit in dig att läggas till bland dina kontakter.","Accepting invitations":"Acceptera inbjudningar","Invite users":"Bjud in användare","Generate invitation link that can be shared with one or more invitees":"Skapa en inbjudningslänk som kan delas med en eller flera inbjudna personer","Generate invitation":"Skapa inbjudan","Generate new invitation":"Skapa ny inbjudan",Cancel:"Avbryt",Generate:"Generera","Add a description (optional)":"Lägg till en beskrivning (valfritt)","You have no invitation links":"Du har inga inbjudningslänkar",Link:"Länk","Copy invitation link":"Kopiera inbjudningslänk","Invitation link":"Inbjudningslänk","Invite token":"Bjud in token",Description:"Beskrivning",Expires:"Förfaller","Create an invitation link and send it to the person you want to share with.":"Skapa en inbjudningslänk och skicka den till den person du vill dela med.",Success:"Sparades","New token has been created and copied to your clipboard. Send it to the invitee(s).":"En ny token har skapats och kopierats till ditt urklipp. Skicka den till den eller de inbjudna personerna.","Invitation link has been copied to your clipboard.":"Inbjudningslänken har kopierats till ditt urklipp.","An error occurred when generating the token":"Ett fel uppstod vid genereringen av token",Continue:"Fortsätt"},Zt={},Jt={},Qt={Delete:"删除",User:"用户",Email:"邮箱",Actions:"操作",Cancel:"取消",Link:"链接"},Xt={},ei={bs:yt,af:Ct,ar:It,de:At,cs:xt,bg:$t,el:Et,fr:St,gl:Ft,es:zt,hr:Pt,et:_t,id:Dt,he:Tt,ja:Nt,it:Ut,pl:Gt,nl:jt,ka:Mt,ko:Yt,pt:Lt,ro:Ot,ru:qt,si:Bt,sk:Vt,sq:Wt,sr:Rt,ta:Ht,sv:Kt,tr:Zt,ug:Jt,zh:Qt,uk:Xt},ni=e=>{const{showErrorMessage:n}=j(),l=M(),c=ae(),s=Ee(),{$gettext:b}=N(),{openUrl:o}=Se(),p=async({resources:i})=>{const f=i[0];try{const m=new URLSearchParams;m.append("file",f.id.toString());const{data:x}=await l.httpAuthenticated.post("/sciencemesh/open-in-app",m);x.app_url?o(x.app_url):n({title:b("An error occurred"),desc:b("Couldn't open remotely")})}catch(m){console.log(m),n({title:b("An error occurred"),desc:b("Couldn't open remotely"),errors:[m]})}};return S(()=>[{id:"com.github.opencloud-eu.web.open-file-remote",type:"action",extensionPointIds:["global.files.context-actions"],action:{name:"open-file-remote",category:"actions",icon:"remote-control",handler:p,label:()=>b("Open remotely"),isVisible:({resources:i})=>i?.length?c.options.ocm.openRemotely&&i[0]?.storageId?.startsWith(be):!1,class:"oc-files-actions-open-file-remote"}},...s.user&&[{id:`app.${e.id}.menuItem`,type:"appMenuItem",label:()=>e.name,color:e.color,icon:e.icon,path:ye(e.id)}]||[]])},ti=[{path:"/",redirect:()=>({name:"open-cloud-mesh-invitations"})},{path:"/invitations",name:"open-cloud-mesh-invitations",component:ie,meta:{patchCleanPath:!0,title:"Invitations"}},{path:"/accept-invite",name:"open-cloud-mesh-accept-invite",component:ie,meta:{patchCleanPath:!0,title:"Accept Invitation"}},{path:"/wayf",name:"open-cloud-mesh-wayf",component:bt,meta:{patchCleanPath:!0,title:"Where Are You From",authContext:"anonymous"}}],Ii=$e({setup(){const{$gettext:e}=N(),n=B(),l={name:e("ScienceMesh"),id:"open-cloud-mesh",color:"#AE291D",icon:"contacts-book"};n.addRoute({path:"/accept",redirect:()=>({path:`/${l.id}`})});const c=[{name:e("Invitations"),icon:"user-shared",route:{path:`/${l.id}/invitations?`},enabled:()=>!0}];return{appInfo:l,routes:ti,navItems:c,extensions:ni(l),translations:ei}}});export{Ii as default}; diff --git a/web-dist/js/web-app-ocm-Bs52acNV.mjs.gz b/web-dist/js/web-app-ocm-Bs52acNV.mjs.gz new file mode 100644 index 0000000000..ca4f57ffb2 Binary files /dev/null and b/web-dist/js/web-app-ocm-Bs52acNV.mjs.gz differ diff --git a/web-dist/js/web-app-pdf-viewer-BgPerpjL.mjs b/web-dist/js/web-app-pdf-viewer-BgPerpjL.mjs new file mode 100644 index 0000000000..fb0682846d --- /dev/null +++ b/web-dist/js/web-app-pdf-viewer-BgPerpjL.mjs @@ -0,0 +1 @@ +import{M as o,aL as r,u as i}from"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{A as n}from"./chunks/AppWrapperRoute-BFHFMQoF.mjs";import{_ as s}from"./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs";import"./chunks/locale-tv0ZmyWq.mjs";import"./chunks/index-lRhEXmMs.mjs";import"./chunks/vue-router-CmC7u3Bn.mjs";import"./chunks/resources-CL0nvFAd.mjs";import"./chunks/user-C7xYeMZ3.mjs";import"./chunks/_Set-DyVdKz_x.mjs";import"./chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import"./chunks/useRoute-BGFNOdqM.mjs";import"./chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import"./chunks/useClientService-BP8mjZl2.mjs";import"./chunks/useLoadingService-CLoheuuI.mjs";import"./chunks/eventBus-B07Yv2pA.mjs";import"./chunks/v4-EwEgHOG0.mjs";import"./chunks/messages-bd5_8QAH.mjs";import"./chunks/ActionMenuItem-5Eo133Qt.mjs";import"./chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs";import"./chunks/extensionRegistry-3T3I8mha.mjs";import"./chunks/useAbility-DLkgdurK.mjs";import"./chunks/modals-DsP9TGnr.mjs";import"./chunks/useWindowOpen-BMCzbqTR.mjs";import"./chunks/download-Bmys4VUp.mjs";import"./chunks/useRouteParam-C9SJn9Mp.mjs";import"./chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs";import"./chunks/icon-BPAP2zgX.mjs";import"./chunks/useAppDefaults-BUVwG3-M.mjs";import"./chunks/AppLoadingSpinner-D4wmhWZf.mjs";import"./chunks/toNumber-BQH-f3hb.mjs";const p={"PDF Viewer":"عارض بي دي إف (PDF)"},c={},a={},m={"PDF Viewer":"PDF-Vorschau"},d={},l={},u={"PDF Viewer":"Πρόγραμμα προβολής PDF"},P={"PDF Viewer":"Visualizador de PDF"},F={},D={"PDF Viewer":"Visionneuse PDF"},f={},w={},V={},h={"PDF Viewer":"PDFビューアー"},v={"PDF Viewer":"Visualizzatore PDF"},g={"PDF Viewer":"Przeglądarka PDF"},y={"PDF Viewer":"PDF Viewer"},_={"PDF Viewer":"Visualizador de PDF"},b={},k={},z={"PDF Viewer":"PDF Viewer"},x={},A={},j={},C={"PDF Viewer":"PDF-visare"},$={},S={},T={},I={},q={},B={"PDF Viewer":"Переглядач PDF"},R={},E={"PDF Viewer":"PDF 뷰어"},L={ar:p,bs:c,cs:a,de:m,af:d,bg:l,el:u,es:P,et:F,fr:D,id:f,gl:w,he:V,ja:h,it:v,pl:g,nl:y,pt:_,ro:b,si:k,ru:z,sq:x,hr:A,sk:j,sv:C,sr:$,ka:S,tr:T,ta:I,ug:q,uk:B,zh:R,ko:E},M=o({props:{url:{type:String,required:!0}},setup(){return{objectType:navigator.userAgent?.includes("Safari")&&!navigator.userAgent?.includes("Chrome")?void 0:"application/pdf"}}}),N=["data","type"];function O(t,e,J,K,Q,U){return r(),i("object",{class:"pdf-viewer size-full overflow-hidden",data:t.url,type:t.objectType},null,8,N)}const W=s(M,[["render",O]]);const G=[{path:"/:driveAliasAndItem(.*)?",component:n(W,{applicationId:"pdf-viewer",urlForResourceOptions:{disposition:"inline"}}),name:"pdf-viewer",meta:{authContext:"hybrid",title:"PDF Viewer",patchCleanPath:!0}}],H={name:"PDF Viewer",id:"pdf-viewer",icon:"resource-type-pdf",iconFillType:"fill",iconColor:"var(--oc-color-icon-pdf)",extensions:[{extension:"pdf",routeName:"pdf-viewer"}]},zt={appInfo:H,routes:G,translations:L};export{zt as default}; diff --git a/web-dist/js/web-app-pdf-viewer-BgPerpjL.mjs.gz b/web-dist/js/web-app-pdf-viewer-BgPerpjL.mjs.gz new file mode 100644 index 0000000000..c0202a4a36 Binary files /dev/null and b/web-dist/js/web-app-pdf-viewer-BgPerpjL.mjs.gz differ diff --git a/web-dist/js/web-app-preview-Dr-xWeqd.mjs b/web-dist/js/web-app-preview-Dr-xWeqd.mjs new file mode 100644 index 0000000000..21a6761a8e --- /dev/null +++ b/web-dist/js/web-app-preview-Dr-xWeqd.mjs @@ -0,0 +1 @@ +import{d as Ke}from"./chunks/types-BoCZvwvE.mjs";import{M as _,cm as Ne,q as z,aZ as se,a_ as Qe,aL as y,u as I,v as P,bL as X,s as $,bJ as q,I as D,H as E,bb as de,t as re,au as Ce,bu as we,bE as J,aD as me,bk as o,az as fe,aU as G,as as ue,F as He,aX as Je,cC as Oe,cl as _e,cr as $e,d7 as et,bM as ve,cM as tt,cY as at,cs as it,dB as ze}from"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{A as ot}from"./chunks/AppWrapperRoute-BFHFMQoF.mjs";import{o as rt}from"./chunks/omit-CjJULzjP.mjs";import{u as nt}from"./chunks/useRoute-BGFNOdqM.mjs";import{V as lt,d as st,s as dt}from"./chunks/useSort-BaUnnp4q.mjs";import{g as ut,W as Ye,z as ct}from"./chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs";import{v as qe,I as mt,x as ft,K as Le,M as pt}from"./chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import{u as vt,a as gt}from"./chunks/useLoadPreview-Cv2y5hqA.mjs";import{_ as Xe}from"./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs";import{_ as ht}from"./chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs";import"./chunks/locale-tv0ZmyWq.mjs";import"./chunks/index-lRhEXmMs.mjs";import"./chunks/vue-router-CmC7u3Bn.mjs";import"./chunks/resources-CL0nvFAd.mjs";import"./chunks/user-C7xYeMZ3.mjs";import"./chunks/_Set-DyVdKz_x.mjs";import"./chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import"./chunks/useAppDefaults-BUVwG3-M.mjs";import"./chunks/useClientService-BP8mjZl2.mjs";import"./chunks/useLoadingService-CLoheuuI.mjs";import"./chunks/extensionRegistry-3T3I8mha.mjs";import"./chunks/useRouteParam-C9SJn9Mp.mjs";import"./chunks/modals-DsP9TGnr.mjs";import"./chunks/v4-EwEgHOG0.mjs";import"./chunks/messages-bd5_8QAH.mjs";import"./chunks/AppLoadingSpinner-D4wmhWZf.mjs";import"./chunks/toNumber-BQH-f3hb.mjs";import"./chunks/_getTag-rbyw32wi.mjs";import"./chunks/useAbility-DLkgdurK.mjs";import"./chunks/useWindowOpen-BMCzbqTR.mjs";import"./chunks/eventBus-B07Yv2pA.mjs";import"./chunks/download-Bmys4VUp.mjs";import"./chunks/ActionMenuItem-5Eo133Qt.mjs";import"./chunks/icon-BPAP2zgX.mjs";const yt={},wt={},bt={},xt={"Loading media file":"Načítání multimediálního souboru",'Failed to load "%{filename}"':"Nepodařilo se načíst „%{filename}“","⌘ + Backspace":"⌘ + Backspace",Del:"Del","Enter full screen mode":"Přepnout do celoobrazovkového režimu","Exit full screen mode":"Ukončit celoobrazovkový režim","Shrink the image (⇧ + Mouse wheel)":"Zmenšit obrázek (⇧ + kolečko myši)","Rotate the image 90 degrees to the left":"Otočit obrázek o 90° doleva","Rotate the image 90 degrees to the right":"Otočit obrázek o 90° doprava","Show previous media file in folder":"Zobrazit předchozí multimediální soubor ve složce","Show next media file in folder":"Zobrazit další multimediální soubor ve složce",Preview:"Náhled"},kt={},Mt={"Loading media file":"Lade Mediendatei",'Failed to load "%{filename}"':'"%{filename}" konnte nicht geladen werden',"%{ displayIndex } of %{ availableMediaFiles }":"%{ displayIndex } von %{ availableMediaFiles }","Media file %{ displayIndex } of %{ availableMediaFiles }":"Mediendatei %{ displayIndex } von %{ availableMediaFiles }","Delete (%{key})":"Löschen (%{key})","⌘ + Backspace":"⌘ + Backspace",Del:"Entf","Hide photo roll":"Fotogalerie ausblenden","Show photo roll":"Fotogalerie anzeigen","Enter full screen mode":"Vollbildmodus aufrufen","Exit full screen mode":"Vollbildmodus verlassen","Shrink the image (⇧ + Mouse wheel)":"Bild verkleinern (⇧ + Mausrad)","Enlarge the image (⇧ + Mouse wheel)":"Bild vergrößern (⇧ + Mausradl)",Reset:"Zurücksetzen","Rotate the image 90 degrees to the left":"Das Bild um um 90 Grad nach links drehen","Rotate the image 90 degrees to the right":"Das Bild um um 90 Grad nach rechts drehen","Show previous media file in folder":"Vorherige Mediendatei im Order anzeigen","Show next media file in folder":"Nächste Mediendatei im Order anzeigen",Preview:"Vorschau"},Ft={"Loading media file":"Cargando archivo multimedia",'Failed to load "%{filename}"':'Fallo al cargar "%{filename}"',"%{ displayIndex } of %{ availableMediaFiles }":"%{ displayIndex } de %{ availableMediaFiles }","Media file %{ displayIndex } of %{ availableMediaFiles }":"Archivo multimedia %{ displayIndex } de %{ availableMediaFiles }","Delete (%{key})":"Eliminar (%{key})","⌘ + Backspace":"⌘ + Tecla de retroceso",Del:"Eliminar","Enter full screen mode":"Activar modo pantalla completa","Exit full screen mode":"Salir del modo pantalla completa",Reset:"Resetear","Rotate the image 90 degrees to the left":"Rotar imagen 90º a la izquierda","Rotate the image 90 degrees to the right":"Rotar imagen 90º a la derecha","Show previous media file in folder":"Mostrar el archivo multimedia anterior de la carpeta","Show next media file in folder":"Mostrar el siguente archivo multimedia de la carpeta",Preview:"Previsualizar"},Rt={"Loading media file":"Φόρτωση αρχείου πολυμέσων",'Failed to load "%{filename}"':'Αποτυχία φόρτωσης του "%{filename}"',"%{ displayIndex } of %{ availableMediaFiles }":"%{ displayIndex } από %{ availableMediaFiles }","Media file %{ displayIndex } of %{ availableMediaFiles }":"Αρχείο πολυμέσων %{ displayIndex } από %{ availableMediaFiles }","Delete (%{key})":"Διαγραφή (%{key})","⌘ + Backspace":"⌘ + Backspace",Del:"Del","Hide photo roll":"Απόκρυψη λίστας φωτογραφιών","Show photo roll":"Εμφάνιση λίστας φωτογραφιών","Enter full screen mode":"Είσοδος σε προβολή πλήρους οθόνης","Exit full screen mode":"Έξοδος από προβολή πλήρους οθόνης","Shrink the image (⇧ + Mouse wheel)":"Σμίκρυνση εικόνας (⇧ + Ροδέλα ποντικιού)","Enlarge the image (⇧ + Mouse wheel)":"Μεγέθυνση εικόνας (⇧ + Ροδέλα ποντικιού)",Reset:"Επαναφορά","Rotate the image 90 degrees to the left":"Περιστροφή εικόνας 90 μοίρες αριστερά","Rotate the image 90 degrees to the right":"Περιστροφή εικόνας 90 μοίρες δεξιά","Show previous media file in folder":"Εμφάνιση προηγούμενου αρχείου πολυμέσων στον φάκελο","Show next media file in folder":"Εμφάνιση επόμενου αρχείου πολυμέσων στον φάκελο",Preview:"Προεπισκόπηση"},St={},It={"Loading media file":"Chargement du média",'Failed to load "%{filename}"':'Échec du chargement de "%{nom de fichier}"',"%{ displayIndex } of %{ availableMediaFiles }":"%{ displayIndex } de %{ availableMediaFiles }","Media file %{ displayIndex } of %{ availableMediaFiles }":"Fichier multimédia %{ displayIndex } de %{ availableMediaFiles }","Delete (%{key})":"Supprimer (%{key})","⌘ + Backspace":"⌘ + Retour arrière",Del:"Suppr","Enter full screen mode":"Passer en mode plein écran","Exit full screen mode":"Quitter le mode plein écran","Shrink the image (⇧ + Mouse wheel)":"Rétrécir l'image (⇧ + Molette souris)","Enlarge the image (⇧ + Mouse wheel)":"Agrandir l'image (⇧ + Molette souris)",Reset:"Réinitialiser","Rotate the image 90 degrees to the left":"Faire pivoter l'image de 90 degrés vers la gauche","Rotate the image 90 degrees to the right":"Faire pivoter l'image de 90 degrés vers la droite","Show previous media file in folder":"Afficher le fichier précédent dans le dossier","Show next media file in folder":"Afficher le fichier suivant dans le dossier",Preview:"Aperçu"},Et={},Dt={},Pt={},Ct={},At={"Loading media file":"Caricamento file multimediale",'Failed to load "%{filename}"':'Impossibile caricare "%{filename}"',"%{ displayIndex } of %{ availableMediaFiles }":"%{ displayIndex } di %{ availableMediaFiles }","Media file %{ displayIndex } of %{ availableMediaFiles }":"File multimediale %{ displayIndex } di %{ availableMediaFiles }","Delete (%{key})":"Elimina (%{key})","⌘ + Backspace":"⌘ + Backspace",Del:"Canc","Enter full screen mode":"Entra in modalità schermo intero","Exit full screen mode":"Esci dalla modalità schermo intero","Shrink the image (⇧ + Mouse wheel)":"Riduci l'immagine (⇧ + rotellina del mouse)","Enlarge the image (⇧ + Mouse wheel)":"Ingrandisci l'immagine (⇧ + rotellina del mouse)",Reset:"Reimposta","Rotate the image 90 degrees to the left":"Ruota l'immagine di 90 gradi a sinistra","Rotate the image 90 degrees to the right":"Ruota l'immagine di 90 gradi a destra","Show previous media file in folder":"Mostra il file multimediale precedente nella cartella","Show next media file in folder":"Mostra il file multimediale successivo nella cartella",Preview:"Anteprima"},$t={"Loading media file":"Mediabestand laden",'Failed to load "%{filename}"':'Laden van "%{filename}" mislukt',"%{ displayIndex } of %{ availableMediaFiles }":"%{ displayIndex } van %{ availableMediaFiles }","Media file %{ displayIndex } of %{ availableMediaFiles }":"Mediabestand %{ displayIndex } van %{ availableMediaFiles }","Delete (%{key})":"Verwijderen (%{key})","⌘ + Backspace":"⌘ + Backspace",Del:"Del","Hide photo roll":"Fotorol verbergen","Show photo roll":"Fotorol weergeven","Enter full screen mode":"Volledig scherm","Exit full screen mode":"Volledig scherm verlaten","Shrink the image (⇧ + Mouse wheel)":"Afbeelding verkleinen (⇧ + muiswiel)","Enlarge the image (⇧ + Mouse wheel)":"Afbeelding vergroten (⇧ + muiswiel)",Reset:"Herstellen","Rotate the image 90 degrees to the left":"Afbeelding 90° linksom draaien","Rotate the image 90 degrees to the right":"Afbeelding 90° rechtsom draaien","Show previous media file in folder":"Vorige mediabestand weergeven","Show next media file in folder":"Volgende mediabestand weergeven",Preview:"Voorweergave"},zt={"Loading media file":"Ładowanie pliku multimedialnego",'Failed to load "%{filename}"':'Nie udało się załadować "%{filename}"',"Media file %{ displayIndex } of %{ availableMediaFiles }":"Plik multimedialny %{ displayIndex } of %{ availableMediaFiles }","Delete (%{key})":"Usuń (%{key})","⌘ + Backspace":"⌘ + Backspace",Del:"Del","Enter full screen mode":"Tryb pełnoekranowy","Exit full screen mode":"Wyjdź z trybu pełnoekranowego",Reset:"Reset","Rotate the image 90 degrees to the left":"Obróć obrazek o 90 stopni w lewo","Rotate the image 90 degrees to the right":"Obróć obrazek o 90 stopni w prawo","Show previous media file in folder":"Pokaż poprzedni plik multimedialny w folderze","Show next media file in folder":"Pokaż następny plik multimedialny w folderze",Preview:"Podgląd"},Lt={"Loading media file":"A carregar ficheiro multimédia",'Failed to load "%{filename}"':'Falha ao carregar "%{filename}"',"%{ displayIndex } of %{ availableMediaFiles }":"%{ displayIndex } de %{ availableMediaFiles }","Media file %{ displayIndex } of %{ availableMediaFiles }":"Ficheiro multimédia %{ displayIndex } de %{ availableMediaFiles }","Delete (%{key})":"Eliminar (%{key})","⌘ + Backspace":"⌘ + Backspace",Del:"Del","Enter full screen mode":"Entrar em modo de ecrã completo","Exit full screen mode":"Sair do modo de ecrã completo","Shrink the image (⇧ + Mouse wheel)":"Reduzir a imagem (⇧ + Roda do rato)","Enlarge the image (⇧ + Mouse wheel)":"Ampliar a imagem (⇧ + Roda do rato)",Reset:"Repor","Rotate the image 90 degrees to the left":"Rodar a imagem 90 graus para a esquerda","Rotate the image 90 degrees to the right":"Rodar a imagem 90 graus para a direita","Show previous media file in folder":"Mostrar ficheiro multimédia anterior na pasta","Show next media file in folder":"Mostrar próximo ficheiro multimédia na pasta",Preview:"Pré-visualização"},Bt={},Tt={"Loading media file":"ファイルを読込中",'Failed to load "%{filename}"':"「%{filename}」を開けませんでした","%{ displayIndex } of %{ availableMediaFiles }":"%{ displayIndex } / %{ availableMediaFiles } 枚","Media file %{ displayIndex } of %{ availableMediaFiles }":"%{ displayIndex } / %{ availableMediaFiles } ファイル","Delete (%{key})":"削除 (%{key})","⌘ + Backspace":"Command + Backspace",Del:"削除","Hide photo roll":"写真一覧を非表示","Show photo roll":"写真一覧を表示","Enter full screen mode":"フルスクリーンモード","Exit full screen mode":"フルスクリーンモードを解除","Shrink the image (⇧ + Mouse wheel)":"縮小 (⇧ + マウスホイール)","Enlarge the image (⇧ + Mouse wheel)":"拡大 (⇧ + マウスホイール)",Reset:"リセット","Rotate the image 90 degrees to the left":"左に90度回転","Rotate the image 90 degrees to the right":"右に90度回転","Show previous media file in folder":"前のファイルを表示","Show next media file in folder":"次のファイルを表示",Preview:"プレビュー"},Vt={},Nt={"Loading media file":"미디어 파일 불러오는 중",'Failed to load "%{filename}"':'"%{filename}"을 가져오지 못했습니다',"%{ displayIndex } of %{ availableMediaFiles }":"%{ availableMediaFiles } 의 %{ displayIndex } ","Media file %{ displayIndex } of %{ availableMediaFiles }":"미디어 파일 %{ availableMediaFiles }의 %{ displayIndex }","Delete (%{key})":"삭제 (%{key})","⌘ + Backspace":"⌘ + Backspace",Del:"Del","Enter full screen mode":"전체 화면 모드로 전환","Exit full screen mode":"전체 화면 모드 종료","Shrink the image (⇧ + Mouse wheel)":"이미지 축소 (⇧ + 마우스 휠)",Reset:"재설정","Rotate the image 90 degrees to the left":"이미지를 왼쪽으로 90도 회전","Rotate the image 90 degrees to the right":"이미지를 오른쪽으로 90도 회전","Show previous media file in folder":"폴더에서 이전 미디어 파일 표시","Show next media file in folder":"폴더에서 다음 미디어 파일 표시",Preview:"미리 보기"},Ot={},Yt={},qt={"Loading media file":"Загрузка медиафайла",'Failed to load "%{filename}"':'Ошибка при загрузке "%{filename}"',"%{ displayIndex } of %{ availableMediaFiles }":"%{ displayIndex } из %{ availableMediaFiles }","Media file %{ displayIndex } of %{ availableMediaFiles }":"Медиафайл %{ displayIndex } из %{ availableMediaFiles }","Delete (%{key})":"Удалить (%{key})","⌘ + Backspace":"⌘ + Backspace",Del:"Del","Enter full screen mode":"Войти в полноэкранный режим","Exit full screen mode":"Выйти из полноэкранного режима","Shrink the image (⇧ + Mouse wheel)":"Уменьшить изображение (Колесо мыши вниз) ","Enlarge the image (⇧ + Mouse wheel)":"Увеличить изображение (Колесо мыши вверх ⇧)",Reset:"Сброс","Rotate the image 90 degrees to the left":"Повернуть изображение на 90 градусов влево","Rotate the image 90 degrees to the right":"Повернуть изображение на 90 градусов вправо","Show previous media file in folder":"Показать предыдущий медиа файл в папке","Show next media file in folder":"Показать следующий медиафайл в папке",Preview:"Предпросмотр"},Xt={},Zt={},jt={"Loading media file":"Laddar mediefil",'Failed to load "%{filename}"':'Det gick inte att ladda "%{filename}"',"%{ displayIndex } of %{ availableMediaFiles }":"%{ displayIndex } av %{ availableMediaFiles }","Media file %{ displayIndex } of %{ availableMediaFiles }":"Mediefil %{ displayIndex } av %{ availableMediaFiles }","Delete (%{key})":"Radera (%{key})","⌘ + Backspace":"⌘ + Backspace",Del:"Del","Enter full screen mode":"Gå till helskärmsläge","Exit full screen mode":"Avsluta helskärmsläge","Shrink the image (⇧ + Mouse wheel)":"Förminska bilden (⇧ + mushjulet)","Enlarge the image (⇧ + Mouse wheel)":"Förstora bilden (⇧ + mushjul)",Reset:"Återställ","Rotate the image 90 degrees to the left":"Rotera bilden 90 grader åt vänster","Rotate the image 90 degrees to the right":"Rotera bilden 90 grader åt höger","Show previous media file in folder":"Visa föregående mediefil i mappen","Show next media file in folder":"Visa nästa mediefil i mappen",Preview:"Förhandsvisa"},Gt={},Wt={},Ut={"Loading media file":"Завантаження медіа файлу",'Failed to load "%{filename}"':'Не вдалося завантажити "%{filename}"',"%{ displayIndex } of %{ availableMediaFiles }":"%{ displayIndex } з %{ availableMediaFiles }","Media file %{ displayIndex } of %{ availableMediaFiles }":"Медіа файл %{ displayIndex } з %{ availableMediaFiles }","Delete (%{key})":"Видалити (%{key})","⌘ + Backspace":"⌘ + Backspace",Del:"Del","Enter full screen mode":"Увійти в повноекранний режим","Exit full screen mode":"Вийти з повноекранного режиму","Shrink the image (⇧ + Mouse wheel)":"Віддалити зображення (⇧ + Коліщатко миші)","Enlarge the image (⇧ + Mouse wheel)":"Наблизити зображення (⇧ + Коліщатко миші)",Reset:"Скинути","Rotate the image 90 degrees to the left":"Обернути зображення на 90 градусів проти годинникової стрілки","Rotate the image 90 degrees to the right":"Обернути зображення на 90 градусів за годинниковою стрілкою","Show previous media file in folder":"Показати попередній медіа файл в папці","Show next media file in folder":"Показати наступний медіа файл в папці",Preview:"Подивитися"},Kt={},Qt={},Ht={ar:yt,bg:wt,bs:bt,cs:xt,af:kt,de:Mt,es:Ft,el:Rt,et:St,fr:It,gl:Et,he:Dt,id:Pt,hr:Ct,it:At,nl:$t,pl:zt,pt:Lt,ro:Bt,ja:Tt,ka:Vt,ko:Nt,sk:Ot,si:Yt,ru:qt,sq:Xt,sr:Zt,sv:jt,ta:Gt,ug:Wt,uk:Ut,zh:Kt,tr:Qt},Jt=_({name:"MediaControls",props:{files:{type:Array,required:!0},activeIndex:{type:Number,default:0},isFullScreenModeActivated:{type:Boolean,default:!1},isFolderLoading:{type:Boolean,default:!1},showImageControls:{type:Boolean,default:!1},showDeleteButton:{type:Boolean,default:!0},currentImageRotation:{type:Number,default:0},photoRollEnabled:{type:Boolean,default:!0}},emits:["setRotationLeft","setRotationRight","setShrink","setZoom","toggleFullScreen","toggleNext","togglePrevious","resetImage","deleteResource","togglePhotoRoll"],setup(e){const{$gettext:t}=Ne(),a=z(()=>t("%{ displayIndex } of %{ availableMediaFiles }",{displayIndex:(e.activeIndex+1).toString(),availableMediaFiles:e.files.length.toString()})),i=z(()=>t("Media file %{ displayIndex } of %{ availableMediaFiles }",{displayIndex:(e.activeIndex+1).toString(),availableMediaFiles:e.files.length.toString()})),d=z(()=>t("Delete (%{key})",{key:ut()?t("⌘ + Backspace"):t("Del")})),c=z(()=>e.photoRollEnabled?t("Hide photo roll"):t("Show photo roll"));return{screenreaderFileCount:i,ariaHiddenFileCount:a,resourceDeleteDescription:d,togglePhotoRollDescription:c,enterFullScreenDescription:t("Enter full screen mode"),exitFullScreenDescription:t("Exit full screen mode"),imageShrinkDescription:t("Shrink the image (⇧ + Mouse wheel)"),imageZoomDescription:t("Enlarge the image (⇧ + Mouse wheel)"),imageResetDescription:t("Reset"),imageRotateLeftDescription:t("Rotate the image 90 degrees to the left"),imageRotateRightDescription:t("Rotate the image 90 degrees to the right"),previousDescription:t("Show previous media file in folder"),nextDescription:t("Show next media file in folder")}}}),_t={class:"bg-role-surface-container p-2 w-lg max-w-[80vw] flex flex-wrap items-center justify-around rounded-sm"},ea={key:0,class:"m-0 preview-controls-action-count"},ta=["textContent"],aa=["textContent"],ia={class:"flex"},oa={key:1,class:"flex items-center"},ra={class:"flex"},na={class:"ml-4"},la={class:"ml-4"};function sa(e,t,a,i,d,c){const v=se("oc-icon"),p=se("oc-button"),s=Qe("oc-tooltip");return y(),I("div",{class:Ce(["preview-details",[{"lightbox opacity-90 z-1000":e.isFullScreenModeActivated}]])},[P("div",_t,[X((y(),$(p,{class:"preview-controls-previous raw-hover-surface",appearance:"raw","aria-label":e.previousDescription,onClick:t[0]||(t[0]=w=>e.$emit("togglePrevious"))},{default:q(()=>[D(v,{size:"large",name:"arrow-drop-left"})]),_:1},8,["aria-label"])),[[s,e.previousDescription]]),t[15]||(t[15]=E()),e.isFolderLoading?re("",!0):(y(),I("p",ea,[P("span",{"aria-hidden":"true",textContent:de(e.ariaHiddenFileCount)},null,8,ta),t[10]||(t[10]=E()),P("span",{class:"sr-only",textContent:de(e.screenreaderFileCount)},null,8,aa)])),t[16]||(t[16]=E()),X((y(),$(p,{class:"preview-controls-next raw-hover-surface",appearance:"raw","aria-label":e.nextDescription,onClick:t[1]||(t[1]=w=>e.$emit("toggleNext"))},{default:q(()=>[D(v,{size:"large",name:"arrow-drop-right"})]),_:1},8,["aria-label"])),[[s,e.nextDescription]]),t[17]||(t[17]=E()),X((y(),$(p,{class:"raw-hover-surface p-1 hidden md:flex","data-testid":"toggle-photo-roll",appearance:"raw","aria-label":e.togglePhotoRollDescription,onClick:t[2]||(t[2]=w=>e.$emit("togglePhotoRoll"))},{default:q(()=>[D(v,{name:"side-bar","fill-type":e.photoRollEnabled?"fill":"line"},null,8,["fill-type"])]),_:1},8,["aria-label"])),[[s,e.togglePhotoRollDescription]]),t[18]||(t[18]=E()),P("div",ia,[X((y(),$(p,{class:"preview-controls-fullscreen raw-hover-surface p-1",appearance:"raw","aria-label":e.isFullScreenModeActivated?e.exitFullScreenDescription:e.enterFullScreenDescription,onClick:t[3]||(t[3]=w=>e.$emit("toggleFullScreen"))},{default:q(()=>[D(v,{"fill-type":"line",name:e.isFullScreenModeActivated?"fullscreen-exit":"fullscreen"},null,8,["name"])]),_:1},8,["aria-label"])),[[s,e.isFullScreenModeActivated?e.exitFullScreenDescription:e.enterFullScreenDescription]])]),t[19]||(t[19]=E()),e.showImageControls?(y(),I("div",oa,[P("div",ra,[X((y(),$(p,{class:"preview-controls-image-shrink raw-hover-surface p-1",appearance:"raw","aria-label":e.imageShrinkDescription,onClick:t[4]||(t[4]=w=>e.$emit("setShrink"))},{default:q(()=>[D(v,{"fill-type":"line",name:"zoom-out"})]),_:1},8,["aria-label"])),[[s,e.imageShrinkDescription]]),t[11]||(t[11]=E()),X((y(),$(p,{class:"preview-controls-image-zoom raw-hover-surface p-1",appearance:"raw","aria-label":e.imageZoomDescription,onClick:t[5]||(t[5]=w=>e.$emit("setZoom"))},{default:q(()=>[D(v,{"fill-type":"line",name:"zoom-in"})]),_:1},8,["aria-label"])),[[s,e.imageZoomDescription]])]),t[13]||(t[13]=E()),P("div",na,[X((y(),$(p,{class:"preview-controls-rotate-left raw-hover-surface p-1",appearance:"raw","aria-label":e.imageRotateLeftDescription,onClick:t[6]||(t[6]=w=>e.$emit("setRotationLeft"))},{default:q(()=>[D(v,{"fill-type":"line",name:"anticlockwise"})]),_:1},8,["aria-label"])),[[s,e.imageRotateLeftDescription]]),t[12]||(t[12]=E()),X((y(),$(p,{class:"preview-controls-rotate-right raw-hover-surface p-1",appearance:"raw","aria-label":e.imageRotateRightDescription,onClick:t[7]||(t[7]=w=>e.$emit("setRotationRight"))},{default:q(()=>[D(v,{"fill-type":"line",name:"clockwise"})]),_:1},8,["aria-label"])),[[s,e.imageRotateRightDescription]])]),t[14]||(t[14]=E()),P("div",la,[X((y(),$(p,{class:"preview-controls-image-reset raw-hover-surface p-1",appearance:"raw","aria-label":e.imageResetDescription,onClick:t[8]||(t[8]=w=>e.$emit("resetImage"))},{default:q(()=>[D(v,{"fill-type":"line",name:"reset-left"})]),_:1},8,["aria-label"])),[[s,e.imageResetDescription]])])])):re("",!0),t[20]||(t[20]=E()),e.showDeleteButton?X((y(),$(p,{key:2,class:"preview-controls-delete raw-hover-surface p-1",appearance:"raw","aria-label":e.resourceDeleteDescription,onClick:t[9]||(t[9]=w=>e.$emit("deleteResource"))},{default:q(()=>[D(v,{"fill-type":"line",name:"delete-bin"})]),_:1},8,["aria-label"])),[[s,e.resourceDeleteDescription]]):re("",!0)])],2)}const da=Xe(Jt,[["render",sa]]),ua=_({name:"MediaAudio",props:{file:{type:Object,required:!0},isAutoPlayEnabled:{type:Boolean,default:!0}},setup(e){return{audioText:z(()=>e.file.resource.audio?.artist&&e.file.resource.audio?.title?`${e.file.resource.audio.artist} - ${e.file.resource.audio.title}`:"")}}}),ca={class:"flex flex-col w-xs"},ma=["autoplay"],fa=["src","type"],pa=["textContent"];function va(e,t,a,i,d,c){return y(),I("div",ca,[(y(),I("audio",{key:`media-audio-${e.file.id}`,controls:"",preload:"preload",autoplay:e.isAutoPlayEnabled},[P("source",{src:e.file.url,type:e.file.mimeType},null,8,fa)],8,ma)),t[0]||(t[0]=E()),e.audioText?(y(),I("p",{key:0,class:"text-role-on-surface-variant text-sm",textContent:de(e.audioText)},null,8,pa)):re("",!0)])}const ga=Xe(ua,[["render",va]]);var M=function(){return M=Object.assign||function(t){for(var a,i=1,d=arguments.length;i-1&&e.splice(a,1),e.push(t)}function xa(e,t){if(t.touches){for(;e.length;)e.pop();return}var a=Ze(e,t);a>-1&&e.splice(a,1)}function Te(e){e=e.slice(0);for(var t=e.pop(),a;a=e.pop();)t={clientX:(a.clientX-t.clientX)/2+t.clientX,clientY:(a.clientY-t.clientY)/2+t.clientY};return t}function De(e){if(e.length<2)return 0;var t=e[0],a=e[1];return Math.sqrt(Math.pow(Math.abs(a.clientX-t.clientX),2)+Math.pow(Math.abs(a.clientY-t.clientY),2))}function ka(e){for(var t=e;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1}function Ma(e){return(e.getAttribute("class")||"").trim()}function Fa(e,t){return e.nodeType===1&&" ".concat(Ma(e)," ").indexOf(" ".concat(t," "))>-1}function Ra(e,t){for(var a=e;a!=null;a=a.parentNode)if(Fa(a,t.excludeClass)||t.exclude.indexOf(a)>-1)return!0;return!1}var Sa=/^http:[\w\.\/]+svg$/;function Ia(e){return Sa.test(e.namespaceURI)&&e.nodeName.toLowerCase()!=="svg"}function Ea(e){var t={};for(var a in e)e.hasOwnProperty(a)&&(t[a]=e[a]);return t}var je={animate:!1,canvas:!1,cursor:"move",disablePan:!1,disableZoom:!1,disableXAxis:!1,disableYAxis:!1,duration:200,easing:"ease-in-out",exclude:[],excludeClass:"panzoom-exclude",handleStartEvent:function(e){e.preventDefault(),e.stopPropagation()},maxScale:4,minScale:.125,overflow:"hidden",panOnlyWhenZoomed:!1,pinchAndPan:!1,relative:!1,setTransform:ba,startX:0,startY:0,startScale:1,step:.3,touchAction:"none"};function Ge(e,t){if(!e)throw new Error("Panzoom requires an element as an argument");if(e.nodeType!==1)throw new Error("Panzoom requires an element with a nodeType of 1");if(!ka(e))throw new Error("Panzoom should be called on elements that have been attached to the DOM");t=M(M({},je),t);var a=Ia(e),i=e.parentNode;i.style.overflow=t.overflow,i.style.userSelect="none",i.style.touchAction=t.touchAction,(t.canvas?i:e).style.cursor=t.cursor,e.style.userSelect="none",e.style.touchAction=t.touchAction,oe(e,"transformOrigin",typeof t.origin=="string"?t.origin:a?"0 0":"50% 50%");function d(){i.style.overflow="",i.style.userSelect="",i.style.touchAction="",i.style.cursor="",e.style.cursor="",e.style.userSelect="",e.style.touchAction="",oe(e,"transformOrigin","")}function c(n){n===void 0&&(n={});for(var l in n)n.hasOwnProperty(l)&&(t[l]=n[l]);(n.hasOwnProperty("cursor")||n.hasOwnProperty("canvas"))&&(i.style.cursor=e.style.cursor="",(t.canvas?i:e).style.cursor=t.cursor),n.hasOwnProperty("overflow")&&(i.style.overflow=n.overflow),n.hasOwnProperty("touchAction")&&(i.style.touchAction=n.touchAction,e.style.touchAction=n.touchAction)}var v=0,p=0,s=1,w=!1;ee(t.startScale,{animate:!1,force:!0}),setTimeout(function(){N(t.startX,t.startY,{animate:!1,force:!0})});function F(n,l,f){if(!f.silent){var g=new CustomEvent(n,{detail:l});e.dispatchEvent(g)}}function L(n,l,f){var g={x:v,y:p,scale:s,isSVG:a,originalEvent:f};return requestAnimationFrame(function(){typeof l.animate=="boolean"&&(l.animate?wa(e,l):oe(e,"transition","none")),l.setTransform(e,g,l),F(n,g,l),F("panzoomchange",g,l)}),g}function T(n,l,f,g){var r=M(M({},t),g),h={x:v,y:p,opts:r};if(!g?.force&&(r.disablePan||r.panOnlyWhenZoomed&&s===r.startScale))return h;if(n=parseFloat(n),l=parseFloat(l),r.disableXAxis||(h.x=(r.relative?v:0)+n),r.disableYAxis||(h.y=(r.relative?p:0)+l),r.contain){var u=Se(e),S=u.elem.width/s,B=u.elem.height/s,H=S*f,V=B*f,Y=(H-S)/2,j=(V-B)/2;if(r.contain==="inside"){var m=(-u.elem.margin.left-u.parent.padding.left+Y)/f,b=(u.parent.width-H-u.parent.padding.left-u.elem.margin.left-u.parent.border.left-u.parent.border.right+Y)/f;h.x=Math.max(Math.min(h.x,b),m);var U=(-u.elem.margin.top-u.parent.padding.top+j)/f,k=(u.parent.height-V-u.parent.padding.top-u.elem.margin.top-u.parent.border.top-u.parent.border.bottom+j)/f;h.y=Math.max(Math.min(h.y,k),U)}else if(r.contain==="outside"){var m=(-(H-u.parent.width)-u.parent.padding.left-u.parent.border.left-u.parent.border.right+Y)/f,b=(Y-u.parent.padding.left)/f;h.x=Math.max(Math.min(h.x,b),m);var U=(-(V-u.parent.height)-u.parent.padding.top-u.parent.border.top-u.parent.border.bottom+j)/f,k=(j-u.parent.padding.top)/f;h.y=Math.max(Math.min(h.y,k),U)}}return r.roundPixels&&(h.x=Math.round(h.x),h.y=Math.round(h.y)),h}function C(n,l){var f=M(M({},t),l),g={scale:s,opts:f};if(!l?.force&&f.disableZoom)return g;var r=t.minScale,h=t.maxScale;if(f.contain){var u=Se(e),S=u.elem.width/s,B=u.elem.height/s;if(S>1&&B>1){var H=u.parent.width-u.parent.border.left-u.parent.border.right,V=u.parent.height-u.parent.border.top-u.parent.border.bottom,Y=H/S,j=V/B;t.contain==="inside"?h=Math.min(h,Y,j):t.contain==="outside"&&(r=Math.max(r,Y,j))}}return g.scale=Math.min(Math.max(n,r),h),g}function N(n,l,f,g){var r=T(n,l,s,f);return v!==r.x||p!==r.y?(v=r.x,p=r.y,L("panzoompan",r.opts,g)):{x:v,y:p,scale:s,isSVG:a,originalEvent:g}}function ee(n,l,f){var g=C(n,l),r=g.opts;if(!(!l?.force&&r.disableZoom)){n=g.scale;var h=v,u=p;if(r.focal){var S=r.focal;h=(S.x/n-S.x/s+v*n)/n,u=(S.y/n-S.y/s+p*n)/n}var B=T(h,u,n,{relative:!1,force:!0});return v=B.x,p=B.y,s=n,L("panzoomzoom",r,f)}}function te(n,l){var f=M(M(M({},t),{animate:!0}),l);return ee(s*Math.exp((n?1:-1)*f.step),f)}function be(n){return te(!0,n)}function xe(n){return te(!1,n)}function ne(n,l,f,g){var r=Se(e),h={width:r.parent.width-r.parent.padding.left-r.parent.padding.right-r.parent.border.left-r.parent.border.right,height:r.parent.height-r.parent.padding.top-r.parent.padding.bottom-r.parent.border.top-r.parent.border.bottom},u=l.clientX-r.parent.left-r.parent.padding.left-r.parent.border.left-r.elem.margin.left,S=l.clientY-r.parent.top-r.parent.padding.top-r.parent.border.top-r.elem.margin.top;a||(u-=r.elem.width/s/2,S-=r.elem.height/s/2);var B={x:u/h.width*(h.width*n),y:S/h.height*(h.height*n)};return ee(n,M(M({},f),{animate:!1,focal:B}),g)}function ke(n,l){n.preventDefault();var f=M(M(M({},t),l),{animate:!1}),g=n.deltaY===0&&n.deltaX?n.deltaX:n.deltaY,r=g<0?1:-1,h=C(s*Math.exp(r*f.step/3),f).scale;return ne(h,n,f,n)}function Me(n){var l=M(M(M({},t),{animate:!0,force:!0}),n);s=C(l.startScale,l).scale;var f=T(l.startX,l.startY,s,l);return v=f.x,p=f.y,L("panzoomreset",l)}var K,ae,x,R,le,W,A=[];function ie(n){if(!Ra(n.target,t)){Pe(A,n),w=!0,t.handleStartEvent(n),K=v,ae=p,F("panzoomstart",{x:v,y:p,scale:s,isSVG:a,originalEvent:n},t);var l=Te(A);x=l.clientX,R=l.clientY,le=s,W=De(A)}}function Q(n){if(!(!w||K===void 0||ae===void 0||x===void 0||R===void 0)){Pe(A,n);var l=Te(A),f=A.length>1,g=s;if(f){W===0&&(W=De(A));var r=De(A)-W;g=C(r*t.step/80+le).scale,ne(g,l,{animate:!1},n)}(!f||t.pinchAndPan)&&N(K+(l.clientX-x)/g,ae+(l.clientY-R)/g,{animate:!1},n)}}function O(n){A.length===1&&F("panzoomend",{x:v,y:p,scale:s,isSVG:a,originalEvent:n},t),xa(A,n),w&&(w=!1,K=ae=x=R=void 0)}var Z=!1;function pe(){Z||(Z=!0,Ie("down",t.canvas?i:e,ie),Ie("move",document,Q,{passive:!0}),Ie("up",document,O,{passive:!0}))}function Fe(){Z=!1,Ee("down",t.canvas?i:e,ie),Ee("move",document,Q),Ee("up",document,O)}return t.noBind||pe(),{bind:pe,destroy:Fe,eventNames:ce,getPan:function(){return{x:v,y:p}},getScale:function(){return s},getOptions:function(){return Ea(t)},handleDown:ie,handleMove:Q,handleUp:O,pan:N,reset:Me,resetStyle:d,setOptions:c,setStyle:function(n,l){return oe(e,n,l)},zoom:ee,zoomIn:be,zoomOut:xe,zoomToPoint:ne,zoomWithWheel:ke}}Ge.defaultOptions=je;const Da=["src","alt","data-id"],Pa=_({__name:"MediaImage",props:{file:{},currentImageRotation:{}},setup(e){const t=qe(),a=we("img"),i=G(),d=F=>{if(F.preventDefault(),!F.shiftKey)return!1;F.deltaY<0?o(i).zoomIn({step:.1}):F.deltaY>0&&o(i).zoomOut({step:.1})},c=({scale:F,x:L,y:T})=>{let C,N;switch(e.currentImageRotation){case-270:case 90:C=T,N=0-L;break;case-180:case 180:C=0-L,N=0-T;break;case-90:case 270:C=0-T,N=L;break;default:C=L,N=T}o(i).setStyle("transform",`rotate(${e.currentImageRotation}deg) scale(${F}) translate(${C}px, ${N}px)`)},v=async()=>{o(i)&&(await ue(),o(a).removeEventListener("wheel",d),o(i)?.destroy()),await ue(),i.value=Ge(o(a),{animate:!1,duration:300,overflow:"auto",minScale:.5,maxScale:10,setTransform:(F,{scale:L,x:T,y:C})=>c({scale:L,x:T,y:C})}),o(a).addEventListener("wheel",d)};J(()=>e.file,v,{immediate:!0,deep:!0}),J(()=>e.currentImageRotation,()=>{o(i)&&c({scale:o(i).getScale(),x:o(i).getPan().x,y:o(i).getPan().y})});let p,s,w;return me(()=>{p=t.subscribe("app.preview.media.image.reset",()=>v()),s=t.subscribe("app.preview.media.image.zoom",()=>o(i)?.zoomIn({step:.1})),w=t.subscribe("app.preview.media.image.shrink",()=>o(i)?.zoomOut({step:.1}))}),fe(()=>{t.unsubscribe("app.preview.media.image.reset",p),t.unsubscribe("app.preview.media.image.zoom",s),t.unsubscribe("app.preview.media.image.shrink",w)}),(F,L)=>(y(),I("img",{ref_key:"img",ref:a,key:`media-image-${e.file.id}`,src:e.file.url,alt:e.file.name,"data-id":e.file.id,class:"max-w-full max-h-full pt-4"},null,8,Da))}}),Ca=["autoplay"],Aa=["src","type"],$a=_({__name:"MediaVideo",props:{file:{},isAutoPlayEnabled:{type:Boolean,default:!0}},setup(e){const t=we("video"),a=()=>{const d=document.querySelector(".stage_media");t.value.style.maxHeight=`${d.offsetHeight-10}px`,t.value.style.maxWidth=`${d.offsetWidth-10}px`},i=z(()=>e.file.mimeType==="video/quicktime"?"video/mp4":e.file.mimeType);return me(()=>{a(),window.addEventListener("resize",a)}),fe(()=>{window.removeEventListener("resize",a)}),(d,c)=>(y(),I("video",{ref_key:"video",ref:t,key:`media-video-${e.file.id}`,controls:"",preload:"preload",autoplay:e.isAutoPlayEnabled},[P("source",{src:e.file.url,type:i.value},null,8,Aa)],8,Ca))}}),za=["src","alt"],La={key:1,class:"aspect-video h-25 flex items-center justify-center"},Ba={class:"w-full"},Ta=["textContent"],Va=_({__name:"PhotoRollItem",props:{item:{},isActive:{type:Boolean}},emits:["select","item-visible"],setup(e,{emit:t}){const a=new lt,i=e,d=t,c=we("photoRollItem"),v=G(!1),p=z(()=>({id:i.item.id,path:"",extension:i.item.ext,mimeType:i.item.mimeType,isFolder:!1,isFile:!0,type:"file"}));return me(()=>{c.value&&a.observe(c.value,{onEnter:({unobserve:s})=>{o(v)||(v.value=!0,d("item-visible"),s())}})}),fe(()=>{a.disconnect()}),(s,w)=>{const F=se("oc-button");return y(),I("div",{ref:"photoRollItem",class:Ce(["flex flex-col items-center p-4 mb-1 photo-roll-item",{"bg-role-secondary-container rounded-md":e.isActive}])},[D(F,{appearance:"raw",class:"flex flex-col w-full","aria-label":e.item.name,"no-hover":"","aria-current":e.isActive?"true":"false",onClick:w[0]||(w[0]=L=>s.$emit("select"))},{default:q(()=>[e.item&&e.item.isImage&&e.item.resource.thumbnail?(y(),I("img",{key:0,src:e.item.resource.thumbnail,class:"object-cover h-25 rounded-md aspect-video",alt:e.item.name,referrerpolicy:"no-referrer"},null,8,za)):(y(),I("div",La,[D(o(ht),{class:"aspect-video",resource:p.value,size:"xlarge"},null,8,["resource"])])),w[1]||(w[1]=E()),P("span",Ba,[P("span",{class:"line-clamp-1 wrap-break-word text-sm",textContent:de(e.item.name)},null,8,Ta)])]),_:1},8,["aria-label","aria-current"])],2)}}}),Na={class:"photo-roll flex flex-col p-4 overflow-y-auto max-w-xs"},Oa=_({__name:"PhotoRoll",props:{activeIndex:{},items:{}},emits:["select"],setup(e){const{loadPreview:t}=vt(),{getMatchingSpace:a}=Ye(),i=c=>{t({resource:c.resource,space:a(c.resource),processor:Oe.enum.fit,dimensions:mt.Tile})},d=async()=>{await ue();const c=document.querySelectorAll(".photo-roll-item")?.[e.activeIndex];c&&c.scrollIntoView({block:"center",inline:"nearest"})};return J(()=>e.activeIndex,()=>{d()},{immediate:!0}),(c,v)=>(y(),I("nav",Na,[(y(!0),I(He,null,Je(e.items,(p,s)=>(y(),$(Va,{key:p.id,item:p,"is-active":s===e.activeIndex,onSelect:w=>c.$emit("select",s),onItemVisible:w=>i(p)},null,8,["item","is-active","onSelect","onItemVisible"]))),128))]))}}),Ya=()=>{const e=i=>!t(i)&&!a(i),t=i=>i.mimeType.toLowerCase().startsWith("audio"),a=i=>i.mimeType.toLowerCase().startsWith("video");return{isFileTypeImage:e,isFileTypeAudio:t,isFileTypeVideo:a}},qa=()=>{const e=G(!1),t=()=>{const i=!o(e);e.value=i,i?document.documentElement.requestFullscreen&&document.documentElement.requestFullscreen():document.exitFullscreen&&document.exitFullscreen()},a=()=>{document.fullscreenElement===null&&(e.value=!1)};return me(()=>{document.addEventListener("fullscreenchange",a)}),fe(()=>{document.removeEventListener("fullscreenchange",a)}),{isFullScreenModeActivated:e,toggleFullScreenMode:t}},Xa=()=>{const e=qe(),t=G(0);return{currentImageRotation:t,imageShrink:()=>{e.publish("app.preview.media.image.shrink")},imageZoom:()=>{e.publish("app.preview.media.image.zoom")},imageRotateLeft:()=>{t.value=o(t)===-270?0:o(t)-90},imageRotateRight:()=>{t.value=o(t)===270?0:o(t)+90},resetImage:()=>{t.value=0,e.publish("app.preview.media.image.reset")}}},Za=()=>{const e=[1024,1280,1920,2160],t=3840;return{dimensions:z(()=>{const i=e.find(d=>window.innerWidth<=d)||t;return[i,i]})}},We=["audio/flac","audio/mpeg","audio/ogg","audio/wav","audio/x-flac","audio/x-wav","image/gif","image/jpeg","image/png","image/tiff","image/bmp","image/webp","image/x-ms-bmp","video/mp4","video/quicktime","video/webm"],ja={key:0,class:"w-full"},Ga={class:"absolute top-[50%] left-[50%]"},Wa={class:"stage_media size-full flex justify-center items-center grow overflow-hidden"},Ua={key:0,class:"w-full"},Ka={class:"absolute top-[50%] left-[50%]"},Qa={key:1,class:"w-full flex flex-col items-center justify-center"},Ha=_({__name:"App",props:{activeFiles:{},currentFileContext:{},loadFolderForFileContext:{},getUrlForResource:{},revokeUrl:{},isFolderLoading:{type:Boolean}},emits:["update:resource","delete:resource","register:onDeleteResourceCallback"],setup(e,{emit:t}){const a=t,i=_e(),d=nt(),c=$e("contextRouteQuery"),{isFileTypeAudio:v,isFileTypeImage:p,isFileTypeVideo:s}=Ya(),w=gt(),{dimensions:F}=Za(),{getMatchingSpace:L}=Ye(),{closeApp:T}=et({router:i,currentFileContext:e.currentFileContext}),{bindKeyAction:C,removeKeyAction:N}=ft(),{actions:ee}=ct(),{currentImageRotation:te,imageShrink:be,imageZoom:xe,imageRotateLeft:ne,imageRotateRight:ke,resetImage:Me}=Xa(),{isFullScreenModeActivated:K,toggleFullScreenMode:ae}=qa(),x=G(),R=G([]),le=G(!1),W=G(!0),A=G(!0),ie=we("preview"),Q=[];let O=null;const Z=z(()=>o(r)?L(o(r).resource):null),pe=z(()=>o(Z)?o(ee)[0]?.isVisible({space:o(Z),resources:[o(r).resource]}):!1),Fe=z(()=>o(c)?o(c)["sort-by"]??"name":"name"),n=z(()=>o(c)?o(c)["sort-dir"]??ze.Asc:ze.Asc),l=$e("fileId"),f=z(()=>it(o(l))),g=()=>{if(!e.activeFiles)return;const m=e.activeFiles.filter(k=>o(e.currentFileContext.routeQuery)?.["q_share-visibility"]==="hidden"&&!k.hidden||o(e.currentFileContext.routeQuery)?.["q_share-visibility"]!=="hidden"&&k.hidden?!1:We.includes(k.mimeType?.toLowerCase())&&k.canDownload()),b=st(m[0]),U=dt(m,b,o(Fe),o(n));R.value=U.map(k=>({id:k.id,name:k.name,ext:k.extension,mimeType:k.mimeType,isVideo:s(k),isImage:p(k),isAudio:v(k),isLoading:!0,isError:!1,resource:k}))},r=z(()=>o(R)[o(x)]),h=z(()=>{if(e.isFolderLoading)return!0;const m=o(r);return m?o(m.isLoading):!0}),u=async m=>{if(!m.url){O&&O.abort(),O=new AbortController;try{m.isImage?m.url=await w.loadPreview({space:o(Z),resource:m.resource,dimensions:o(F),processor:Oe.enum.fit},!1,!1,O.signal):m.url=await e.getUrlForResource(o(Z),m.resource,{signal:O.signal}),m.isLoading=!1}catch(b){if(b.name==="CanceledError")return;console.error(b),m.isError=!0,m.isLoading=!1}finally{O=null}}},S=()=>{if(o(x)+1>=o(R).length){x.value=0,V();return}x.value=o(x)+1,V()},B=()=>{if(o(x)===0){x.value=o(R).length-1,V();return}x.value=o(x)-1,V()},H=async()=>{if(await ue(),!o(R).length)return T()},V=()=>{if(!e.currentFileContext)return;const{params:m,query:b}=tt(o(Z),o(r).resource);i.replace({...rt(o(d),"fullPath"),path:o(d).fullPath,params:{...o(d).params,...m},query:{...o(d).query,...b}})},Y=()=>{for(let m=0;m{x.value=m,V()};return J(()=>e.currentFileContext,async()=>{e.currentFileContext&&(o(le)||(await e.loadFolderForFileContext(e.currentFileContext),le.value=!0),Y())},{immediate:!0}),J(()=>e.activeFiles,()=>{g(),o(R).length&&o(x)>=o(R).length&&(x.value=0,V())},{immediate:!0}),J(r,(m,b)=>{o(r)&&(u(o(r)),te.value=0,b!==null&&(W.value=!1),a("update:resource",o(r).resource))}),J(h,async m=>{m||(await ue(),o(ie).focus())},{immediate:!0}),me(()=>{window.addEventListener("popstate",Y),a("register:onDeleteResourceCallback",H),Q.push(C({modifier:pt.Ctrl,primary:Le.Backspace},()=>a("delete:resource"))),Q.push(C({primary:Le.Delete},()=>a("delete:resource")))}),fe(()=>{window.removeEventListener("popstate",Y),Q.forEach(m=>{N(m)}),Object.values(o(R)).forEach(m=>{e.revokeUrl(o(m.url))}),O?.abort()}),(m,b)=>{const U=se("oc-spinner"),k=se("oc-icon");return e.isFolderLoading?(y(),I("div",ja,[P("div",Ga,[D(U,{"aria-label":m.$gettext("Loading media file"),size:"xlarge"},null,8,["aria-label"])])])):(y(),I("div",{key:1,ref_key:"preview",ref:ie,class:"!flex size-full",tabindex:"-1",onKeydown:[ve(B,["left"]),ve(S,["right"]),ve(S,["down"]),ve(B,["up"])]},[A.value?(y(),$(Oa,{key:0,class:"bg-role-surface-container w-1/5 hidden md:block",items:R.value,"active-index":x.value,onSelect:j},null,8,["items","active-index"])):re("",!0),b[4]||(b[4]=E()),P("div",{class:Ce(["stage size-full flex flex-col text-center",{lightbox:o(K)}])},[P("div",Wa,[!r.value||r.value.isLoading?(y(),I("div",Ua,[P("div",Ka,[D(U,{"aria-label":m.$gettext("Loading media file"),size:"xlarge"},null,8,["aria-label"])])])):r.value.isError?(y(),I("div",Qa,[D(k,{name:"file-damage",size:"xlarge",color:"var(--oc-role-error)"}),b[2]||(b[2]=E()),P("p",null,de(m.$gettext('Failed to load "%{filename}"',{filename:r.value.name})),1)])):r.value.isImage?(y(),$(Pa,{key:2,file:r.value,"current-image-rotation":o(te)},null,8,["file","current-image-rotation"])):r.value.isVideo?(y(),$($a,{key:3,file:r.value,"is-auto-play-enabled":W.value},null,8,["file","is-auto-play-enabled"])):r.value.isAudio?(y(),$(ga,{key:4,file:r.value,"is-auto-play-enabled":W.value},null,8,["file","is-auto-play-enabled"])):re("",!0)]),b[3]||(b[3]=E()),D(da,{class:"stage_controls mx-auto my-4 h-auto",files:R.value,"active-index":x.value,"is-full-screen-mode-activated":o(K),"is-folder-loading":e.isFolderLoading,"show-image-controls":r.value?.isImage&&!r.value?.isError,"show-delete-button":pe.value,"current-image-rotation":o(te),"photo-roll-enabled":A.value,onSetRotationRight:o(ke),onSetRotationLeft:o(ne),onSetZoom:o(xe),onSetShrink:o(be),onResetImage:o(Me),onToggleFullScreen:o(ae),onTogglePrevious:B,onToggleNext:S,onDeleteResource:b[0]||(b[0]=Ue=>m.$emit("delete:resource")),onTogglePhotoRoll:b[1]||(b[1]=Ue=>A.value=!A.value)},null,8,["files","active-index","is-full-screen-mode-activated","is-folder-loading","show-image-controls","show-delete-button","current-image-rotation","photo-roll-enabled","onSetRotationRight","onSetRotationLeft","onSetZoom","onSetShrink","onResetImage","onToggleFullScreen"])],2)],544))}}}),Ja=Object.freeze(Object.defineProperty({__proto__:null,default:Ha},Symbol.toStringTag,{value:"Module"})),Ve="preview",{default:_a}=Ja,Li=Ke({setup(){const{$gettext:e}=Ne(),t=[{path:"/:driveAliasAndItem(.*)?",component:ot(_a,{applicationId:Ve,urlForResourceOptions:{disposition:"inline"}}),name:"media",meta:{authContext:"hybrid",title:e("Preview"),patchCleanPath:!0}}],a="preview-media";return{appInfo:{name:e("Preview"),id:Ve,icon:"eye",extensions:We.map(d=>({mimeType:d,routeName:a,label:()=>e("Preview")}))},routes:t,translations:Ht}}});export{Li as default}; diff --git a/web-dist/js/web-app-preview-Dr-xWeqd.mjs.gz b/web-dist/js/web-app-preview-Dr-xWeqd.mjs.gz new file mode 100644 index 0000000000..b16d5c444b Binary files /dev/null and b/web-dist/js/web-app-preview-Dr-xWeqd.mjs.gz differ diff --git a/web-dist/js/web-app-search-09u8CExr.mjs b/web-dist/js/web-app-search-09u8CExr.mjs new file mode 100644 index 0000000000..b897e0af8e --- /dev/null +++ b/web-dist/js/web-app-search-09u8CExr.mjs @@ -0,0 +1 @@ +import{_ as ee}from"./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs";import{aZ as h,aL as l,u as i,I as m,M as he,cZ as Q,cs as q,dC as de,cl as pe,d9 as me,af as be,cr as fe,co as H,aU as p,bu as ve,bE as O,bk as t,az as ye,q as d,cO as Se,cW as we,a_ as ge,bJ as w,s as D,t as Z,bM as k,H as E,bL as Re,v as A,bb as P,F as W,aX as G,au as J,a$ as ke,cm as Ee}from"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u as Ce,L as xe,e as De}from"./chunks/List-D6xFt6lb.mjs";import{d as Ae}from"./chunks/types-BoCZvwvE.mjs";import{u as Pe}from"./chunks/extensionRegistry-3T3I8mha.mjs";import{e as X}from"./chunks/eventBus-B07Yv2pA.mjs";import{bA as ze}from"./chunks/resources-CL0nvFAd.mjs";import{S as Ne,u as Ie,a as Y}from"./chunks/SearchBarFilter-C7qMtMoh.mjs";import{d as Fe}from"./chunks/debounce-Bg6HwA-m.mjs";import"./chunks/v4-EwEgHOG0.mjs";import"./chunks/user-C7xYeMZ3.mjs";import"./chunks/useRoute-BGFNOdqM.mjs";import"./chunks/toNumber-BQH-f3hb.mjs";const Be={},_e={id:"search",class:"flex h-full"};function $e(e,s){const o=h("router-view");return l(),i("main",_e,[m(o,{id:"search-view"})])}const Le=ee(Be,[["render",$e]]),Me={},qe={},Ze={Search:"Hledat","Display search bar":"Zobrazit lištu hledání","Searching ...":"Hledání …","No results":"Nic nenalezeno","Enter search term":"Zadejte hledaný pojem","Show all results":"Zobrazit všechny výsledky"},Ke={Search:"بحث","Display search bar":"عرض شريط البحث","Click to display and focus the search bar":"انقر هنا لعرض شريط البحث والتركيز عليه","Searching ...":"جارٍ البحث...","No results":"لا توجد نتائج","Enter search term":"أدخل كلمة البحث","Show all results":"إظهار جميع النتائج","Show %{totalResults} result":["إظهار %{total Results} النتائج","إظهار %{total Results} النتائج","إظهار %{total Results} النتائج","إظهار %{total Results} النتائج","إظهار %{total Results} النتائج","إظهار %{total Results} النتائج"]},Te={Search:"Buscar","Display search bar":"Mostrar barra de búsqueda","Click to display and focus the search bar":"Haz click para mostrar y activar la barra de búsqueda","Searching ...":"Buscando...","No results":"No se han encontrado resultados","Enter search term":"Introduce término de búsqueda","Show all results":"Mostrar todos los resultados","Show %{totalResults} result":["Show %{totalResults} result","Show %{totalResults} results","Mostrar %{totalResults} resultados"]},Ue={Search:"Suchen","Display search bar":"Suchleiste anzeigen","Click to display and focus the search bar":"Klicken, um die Suchleiste anzuzeigen und zu fokussieren","Searching ...":"Suche...","No results":"Keine Ergebnisse","Enter search term":"Suchbegriff eingeben","Show all results":"Zeige alle Ergebnisse","Show %{totalResults} result":["Zeige %{totalResults} Ergebnisse","Zeige %{totalResults} Ergebnisse"]},Ve={Search:"Αναζήτηση","Display search bar":"Εμφάνιση γραμμής αναζήτησης","Click to display and focus the search bar":"Κάντε κλικ για εμφάνιση και εστίαση στη γραμμή αναζήτησης","Searching ...":"Αναζήτηση ...","No results":"Δεν βρέθηκαν αποτελέσματα","Enter search term":"Εισάγετε όρο αναζήτησης","Show all results":"Εμφάνιση όλων των αποτελεσμάτων","Show %{totalResults} result":["Εμφάνιση %{totalResults} αποτελέσματος","Εμφάνιση %{totalResults} αποτελεσμάτων"]},je={},Qe={},He={Search:"Recherche","Display search bar":"Afficher la barre de recherche","Click to display and focus the search bar":"Cliquez pour afficher et focaliser la barre de recherche","Searching ...":"Recherche...","No results":"Aucun résultat","Enter search term":"Saisir une recherche","Show all results":"Afficher tous les résultats","Show %{totalResults} result":["Afficher le résultat","Afficher les %{totalResults} résultats ","Afficher %{totalResults} résultats"]},Oe={},We={},Ge={},Je={Search:"検索","Display search bar":"検索バーを表示","Click to display and focus the search bar":"クリックして検索バーを表示し、フォーカスします","Searching ...":"検索中…","No results":"結果が見つかりません","Enter search term":"検索キーワードを入力","Show all results":"すべての結果を表示","Show %{totalResults} result":"%{totalResults} 件の結果を表示"},Xe={Search:"Cerca","Display search bar":"Visualizza barra di ricerca","Click to display and focus the search bar":"Clicca per aprire e selezionare la barra di ricerca","Searching ...":"Ricerca in corso...","No results":"Nessun risultato","Enter search term":"Inserisci termine di ricerca","Show all results":"Mostra tutti i risultati","Show %{totalResults} result":["Mostra %{totalResults} risultati","Mostra %{totalResults} risultati","Mostra %{totalResults} risultati"]},Ye={},et={Search:"Zoeken","Display search bar":"Zoekbalk weergeven","Click to display and focus the search bar":"Klik om de zoekbalk weer te geven en te focussen","Searching ...":"Zoeken…","No results":"Geen resultaten","Enter search term":"Zoekterm invoeren","Show all results":"Alle resultaten weergeven","Show %{totalResults} result":["%{totalResults} resultaat weergeven","%{totalResults} resultaten weergeven"]},tt={},st={Search:"검색","Display search bar":"검색 표시줄","Click to display and focus the search bar":"검색 표시줄을 선택하고 클릭하세요","Searching ...":"검색 중...","No results":"결과 없음","Enter search term":"검색어 입력","Show all results":"모든 결과 표시","Show %{totalResults} result":"%{totalResults} 결과 표시"},rt={Search:"Поиск","Display search bar":"Отобразить строку поиска","Click to display and focus the search bar":"Нажмите, чтобы отобразить и сфокусировать строку поиска","Searching ...":"Поиск ...","No results":"Нет результатов","Enter search term":"Введите поисковый запрос","Show all results":"Показать все результаты","Show %{totalResults} result":["Показать %{totalResults} результат","Показать %{totalResults} результата","Показать %{totalResults} результатов","Показать %{totalResults} результатов"]},at={},ot={Search:"Pesquisar","Display search bar":"Mostrar barra de pesquisa","Click to display and focus the search bar":"Clicar para mostrar e focar a barra de pesquisa","Searching ...":"A pesquisar…","No results":"Sem resultados","Enter search term":"Introduzir termo de pesquisa","Show all results":"Mostrar todos os resultados","Show %{totalResults} result":["Mostrar %{totalResults} resultado","Mostrar %{totalResults} resultados","Mostrar %{totalResults} resultados"]},lt={Search:"Szukaj","Display search bar":"Wyświetl pasek wyszukiwania","Searching ...":"Szukanie...","No results":"Brak wyników","Show all results":"Pokaż wszystkie wyniki"},nt={Search:"Hľadať","Display search bar":"Zobraziť vyhľadávácí panel","Click to display and focus the search bar":"Kliknutím zobrazíte a zaostríte vyhľadávací panel","Searching ...":"Hľadá sa...","No results":"Žiadne výsledky","Enter search term":"Zadajte hľadaný výraz","Show all results":"Zobraziť všetky výsledky","Show %{totalResults} result":["Zobraziť %{totalResults} výsledok","Zobraziť %{totalResults} výsledkov","Zobraziť %{totalResults} výsledkov","Zobraziť %{totalResults} výsledkov"]},it={},ct={},ut={},ht={},dt={},pt={Search:"Пошук","Display search bar":"Показати рядок пошуку","Click to display and focus the search bar":"Натисніть, щоб активувати рядок пошуку","Searching ...":"Виконується пошук ...","No results":"Нічого не знайдено","Enter search term":"Введіть пошуковий запит","Show all results":"Показати усі результати","Show %{totalResults} result":["Показати %{totalResults} результат","Показати %{totalResults} результати","Показати %{totalResults} результатів","Показати %{totalResults} результатів"]},mt={Search:"Sök","Display search bar":"Visa sökfältet","Click to display and focus the search bar":"Klicka för att visa och fokusera på sökfältet","Searching ...":"Söker ...","No results":"Inga resultat","Enter search term":"Mata in sökord","Show all results":"Visa alla resultat","Show %{totalResults} result":["Visa %{totalResults} resultat","Visa %{totalResults} resultat"]},bt={Search:"搜索","Display search bar":"显示搜索栏","Click to display and focus the search bar":"单击以显示并聚焦搜索栏","Searching ...":"正在搜索...","No results":"没有结果","Enter search term":"输入搜索词","Show all results":"显示所有结果","Show %{totalResults} result":"显示 %{totalResults} 条结果"},ft={},vt={af:Me,bs:qe,cs:Ze,ar:Ke,es:Te,de:Ue,el:Ve,bg:je,et:Qe,fr:He,gl:Oe,hr:We,id:Ge,ja:Je,it:Xe,he:Ye,nl:et,ka:tt,ko:st,ru:rt,ro:at,pt:ot,pl:lt,sk:nt,sr:it,ta:ct,si:ut,ug:ht,sq:dt,uk:pt,sv:mt,zh:bt,tr:ft},yt=he({name:"SearchBar",components:{SearchBarFilter:Ne},setup(){const e=pe(),s=me(),o=p(!1),c=be("isMobileWidth"),b=fe("scope"),f=Ce(),z=Ie(),N=Pe(),{userContextReady:I,publicLinkContextReady:F}=H(N),B=ze(),{currentFolder:C}=H(B),g=p(Y.allFiles),R=ve("optionsDropRef"),v=p(null),a=p(""),u=p(!1),_=p([]),$=p(!1),L=p(!1);let te;const se=d(()=>s.searchContent?.enabled),K=d(()=>t(f).some(r=>!!r.listSearch)),re=d(()=>t(f).some(r=>!!r.listSearch)),ae=d(()=>t(R)?.$refs.drop);O(c,()=>{const r=document.getElementById("files-global-search-bar");if(!r)return;const n=!!document.querySelector("#files-global-search-options");t(c)?n?(r.style.visibility="visible",o.value=!0):(r.style.visibility="hidden",o.value=!1):(r.style.visibility="visible",o.value=!1)});const y=d(()=>t(R)),M=d(()=>t(L)&&t(C)?.fileId?t(C).fileId:q(t(b))),T=d(()=>t(L)&&t(g)===Y.currentFolder),x=async()=>{if(_.value=[],!t(a))return;const r=[];let n=`name:"*${t(a)}*"`;t(se)&&(n=`(name:"*${t(a)}*" OR content:"${t(a)}")`),r.push(n),t(T)&&r.push(`scope:${t(M)}`),$.value=!0;for(const S of t(f))S.previewSearch?.available&&_.value.push({providerId:S.id,result:await S.previewSearch.search(r.join(" "))});$.value=!1},U=()=>{if(t(K)&&(t(y)&&t(y)?.hide(),t(v)===null&&e.push(V("files.sdk")),t(v)!==null)){const n=j()?.[t(v)];if(n instanceof HTMLAnchorElement||n instanceof HTMLButtonElement){n.click();return}const S=n?.querySelector("button, a");S&&S.click()}},V=r=>{const n=t(e.currentRoute).query;return Se("files-common-search",{query:{...n&&{...n},term:t(a),...t(M)&&{scope:t(M)},useScope:t(T).toString(),provider:r}})},oe=r=>{if(g.value=r.value.id,we(e,"files-common-search")){U();return}t(a)&&x()},le=async()=>{t(a)&&(t(y)?.show({noFocus:!0}),await x())},ne=r=>(u.value=!1,a.value=r,t(a)?t(y)?.show({noFocus:!0}):t(y)?.hide()),ie=Fe(x,500);O(a,()=>{if(t(u)){u.value=!1;return}ie()});const ce=d(()=>t(f).some(r=>r?.previewSearch?.available===!0)),ue=X.subscribe("app.search.term.clear",()=>{a.value=""});ye(()=>{X.unsubscribe("app.search.term.clear",ue)});const j=()=>{const r=[document.querySelector(".more-results")];return r.push(...Array.from(document.querySelectorAll("li.preview"))),r};return{userContextReady:I,publicLinkContextReady:F,showCancelButton:o,dropElement:ae,onLocationFilterChange:oe,currentFolderAvailable:L,listProviderAvailable:K,locationFilterAvailable:re,scopeQueryValue:b,optionsDrop:y,optionsDropRef:R,activePreviewIndex:v,term:a,restoreSearchFromRoute:u,onKeyUpEnter:U,searchResults:_,loading:$,availableProviders:f,markInstance:te,search:x,showPreview:le,updateTerm:ne,getSearchResultLocation:V,showDrop:ce,isAppActive:z,getFocusableElements:j}},computed:{showNoResults(){return this.searchResults.every(({result:e})=>!e.values.length)},isSearchBarEnabled(){return this.availableProviders.length&&this.userContextReady&&!this.publicLinkContextReady&&!this.isAppActive},displayProviders(){return this.availableProviders.filter(e=>this.getSearchResultForProvider(e).values.length)},searchLabel(){return this.$gettext("Enter search term")}},watch:{searchResults:{handler(){this.activePreviewIndex=null,this.$nextTick(()=>{this.showNoResults||this.optionsDrop&&(this.markInstance=new de(this.dropElement),this.markInstance.unmark(),this.markInstance.mark(this.term,{element:"span",className:"mark-highlight",exclude:[".provider-details *"]}))})},deep:!0},$route:{handler(e){this.parseRouteQuery(e)},immediate:!1}},created(){this.parseRouteQuery(this.$route,!0)},methods:{onClear(){this.term="",this.optionsDrop.hide()},findNextPreviewIndex(e=!1){const s=this.getFocusableElements();let o=this.activePreviewIndex!==null?this.activePreviewIndex:e?s.length:-1;const c=e?-1:1;do if(o+=c,o<0||o>s.length-1)return 0;while(s[o].classList.contains("disabled"));return o},onKeyUpUp(){this.activePreviewIndex=this.findNextPreviewIndex(!0)},onKeyUpDown(){this.activePreviewIndex=this.findNextPreviewIndex(!1)},getSearchResultForProvider(e){return this.searchResults.find(({providerId:s})=>s===e.id)?.result},parseRouteQuery(e,s=!1){const o=(Q(this.$router,"files-spaces-generic")||!!this.scopeQueryValue)&&!Q(this.$router,"files-spaces-projects");this.currentFolderAvailable!==o&&(this.currentFolderAvailable=o),this.$nextTick(()=>{if(!this.availableProviders.length)return;const c=e?.query?.term,b=this.$el.getElementsByTagName("input")[0];!b||!c||(this.restoreSearchFromRoute=s,this.term=q(c),b.value=q(c))})},getMoreResultsDetailsTextForProvider(e){const s=this.getSearchResultForProvider(e);return!s||!s.totalResults?this.$gettext("Show all results"):this.$ngettext("Show %{totalResults} result","Show %{totalResults} results",s.totalResults,{totalResults:s.totalResults})},isPreviewElementActive(e){return this.getFocusableElements()?.[this.activePreviewIndex]?.dataset?.searchId===e},showSearchBar(){document.getElementById("files-global-search-bar").style.visibility="visible",document.getElementsByClassName("oc-search-input")[0].focus(),this.showCancelButton=!0},cancelSearch(){document.getElementById("files-global-search-bar").style.visibility="hidden",this.showCancelButton=!1},hideOptionsDrop(){this.optionsDrop?.hide()}}}),St={key:0,id:"files-global-search",ref:"searchBar",class:"flex","data-custom-key-bindings-disabled":"true"},wt={key:0,class:"flex justify-center items-center text-role-on-surface-variant py-1 px-2 text-sm"},gt={class:"ml-2"},Rt={key:1,id:"no-results",class:"flex justify-center py-1 px-2 text-sm"},kt={class:"truncate flex justify-between text-role-on-surface-variant provider-details py-1 px-2 text-xs"},Et=["textContent"],Ct={key:0},xt=["data-search-id"],Dt={key:1};function At(e,s,o,c,b,f){const z=h("search-bar-filter"),N=h("oc-search-bar"),I=h("oc-icon"),F=h("oc-button"),B=h("oc-spinner"),C=h("router-link"),g=h("oc-list"),R=h("oc-drop"),v=ge("oc-tooltip");return e.isSearchBarEnabled?(l(),i("div",St,[m(N,{id:"files-global-search-bar","model-value":e.term,label:e.searchLabel,"type-ahead":!0,placeholder:e.searchLabel,"button-hidden":!0,"show-cancel-button":e.showCancelButton,"show-advanced-search-button":e.listProviderAvailable,"cancel-button-appearance":"raw-inverse","cancel-handler":e.cancelSearch,small:"",class:"mx-auto sm:mx-0 bg-role-chrome sm:bg-transparent w-[95vw] sm:w-2xs md:w-lg h-12 absolute inset-0 sm:relative invisible sm:visible z-90 sm:z-auto",onAdvancedSearch:e.onKeyUpEnter,"onUpdate:modelValue":e.updateTerm,onClear:e.onClear,onClick:e.showPreview,onKeyup:[k(e.hideOptionsDrop,["esc"]),k(e.onKeyUpUp,["up"]),k(e.onKeyUpDown,["down"]),k(e.onKeyUpEnter,["enter"])],onKeydown:k(e.hideOptionsDrop,["tab"])},{locationFilter:w(()=>[e.locationFilterAvailable?(l(),D(z,{key:0,id:"files-global-search-filter","current-folder-available":e.currentFolderAvailable,"onUpdate:modelValue":e.onLocationFilterChange},null,8,["current-folder-available","onUpdate:modelValue"])):Z("",!0)]),_:1},8,["model-value","label","placeholder","show-cancel-button","show-advanced-search-button","cancel-handler","onAdvancedSearch","onUpdate:modelValue","onClear","onClick","onKeyup","onKeydown"]),s[3]||(s[3]=E()),Re((l(),D(F,{"aria-label":e.$gettext("Click to display and focus the search bar"),class:"inline-flex sm:hidden mr-6",appearance:"raw-inverse","color-role":"chrome","no-hover":"",onClick:e.showSearchBar},{default:w(()=>[m(I,{name:"search","fill-type":"line"})]),_:1},8,["aria-label","onClick"])),[[v,e.$gettext("Display search bar")]]),s[4]||(s[4]=E()),e.showDrop?(l(),D(R,{key:0,ref:"optionsDropRef","drop-id":"files-global-search-options",toggle:"#files-global-search-bar",mode:"manual",target:"#files-global-search-bar",class:"w-[93vw] sm:w-2xs md:w-lg overflow-y-auto","padding-size":"remove","close-on-click":"","enforce-drop-on-mobile":"","is-menu":!1},{default:w(()=>[m(g,{class:"oc-list-divider"},{default:w(()=>[e.loading?(l(),i("li",wt,[m(B,{size:"small","aria-hidden":!0,"aria-label":""}),s[0]||(s[0]=E()),A("span",gt,P(e.$gettext("Searching ...")),1)])):e.showNoResults?(l(),i("li",Rt,P(e.$gettext("No results")),1)):(l(!0),i(W,{key:2},G(e.displayProviders,a=>(l(),i("li",{key:a.id,class:"provider"},[m(g,{role:"menu"},{default:w(()=>[A("li",kt,[A("span",{class:"display-name",textContent:P(e.$gettext(a.displayName))},null,8,Et),s[1]||(s[1]=E()),a.listSearch?(l(),i("span",Ct,[m(C,{class:J(["more-results p-0",{"outline-2 outline-role-outline rounded":e.activePreviewIndex===0}]),to:e.getSearchResultLocation(a.id)},{default:w(()=>[A("span",null,P(e.getMoreResultsDetailsTextForProvider(a)),1)]),_:2},1032,["to","class"])])):Z("",!0)]),s[2]||(s[2]=E()),(l(!0),i(W,null,G(e.getSearchResultForProvider(a).values,u=>(l(),i("li",{key:u.id,"data-search-id":u.id,class:J([{"active bg-role-secondary-container":e.isPreviewElementActive(u.id)},"preview flex items-center py-1 px-2 text-sm min-h-10 [&.disabled]:opacity-70 [&.disabled]:grayscale-60 [&.disabled]:pointer-events-none hover:bg-role-surface-container"])},[(l(),D(ke(a.previewSearch.component),{class:"preview-component",provider:a,"search-result":u,term:e.term},null,8,["provider","search-result","term"]))],10,xt))),128))]),_:2},1024)]))),128))]),_:1})]),_:1},512)):Z("",!0)],512)):(l(),i("div",Dt))}const Pt=ee(yt,[["render",At]]),zt={id:"com.github.opencloud-eu.web.search.search-bar",type:"customComponent",extensionPointIds:["app.runtime.header.center"],content:Pt},Nt=()=>d(()=>[zt]),jt=Ae({setup(){const{$gettext:e}=Ee();return{appInfo:{name:e("Search"),id:"search",icon:"folder"},routes:[{name:"search",path:"/",component:Le,children:[{name:"provider-list",path:"list/:page?",component:xe,meta:{authContext:"user",contextQueryItems:["term","provider"]}}]}],translations:vt,extensions:Nt(),extensionPoints:De()}}});export{jt as default}; diff --git a/web-dist/js/web-app-search-09u8CExr.mjs.gz b/web-dist/js/web-app-search-09u8CExr.mjs.gz new file mode 100644 index 0000000000..86d5eba873 Binary files /dev/null and b/web-dist/js/web-app-search-09u8CExr.mjs.gz differ diff --git a/web-dist/js/web-app-text-editor-BrFZegY3.mjs b/web-dist/js/web-app-text-editor-BrFZegY3.mjs new file mode 100644 index 0000000000..175239d593 --- /dev/null +++ b/web-dist/js/web-app-text-editor-BrFZegY3.mjs @@ -0,0 +1 @@ +import{M as T,aZ as C,aL as b,u as h,I as M,au as m,cm as L,q as k,bQ as P}from"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{T as J}from"./chunks/index-Dc0lA-4d.mjs";import{_ as v}from"./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs";import{d as x}from"./chunks/types-BoCZvwvE.mjs";import{bC as y}from"./chunks/resources-CL0nvFAd.mjs";import{aK as F}from"./chunks/user-C7xYeMZ3.mjs";import{u as X}from"./chunks/useOpenEmptyEditor-37ZbJbPk.mjs";import{A as g}from"./chunks/AppWrapperRoute-BFHFMQoF.mjs";import"./chunks/preload-helper-PPVm8Dsz.mjs";import"./chunks/useClientService-BP8mjZl2.mjs";import"./chunks/FileSideBar.vue_vue_type_script_setup_true_lang-BvQC7MgD.mjs";import"./chunks/extensionRegistry-3T3I8mha.mjs";import"./chunks/vue-router-CmC7u3Bn.mjs";import"./chunks/_Set-DyVdKz_x.mjs";import"./chunks/useAbility-DLkgdurK.mjs";import"./chunks/SpaceInfo.vue_vue_type_script_setup_true_lang-Due4-ozY.mjs";import"./chunks/useRoute-BGFNOdqM.mjs";import"./chunks/index-lRhEXmMs.mjs";import"./chunks/OcButton.vue_vue_type_script_setup_true_lang-DGUoM0xP.mjs";import"./chunks/useLoadingService-CLoheuuI.mjs";import"./chunks/eventBus-B07Yv2pA.mjs";import"./chunks/v4-EwEgHOG0.mjs";import"./chunks/messages-bd5_8QAH.mjs";import"./chunks/ActionMenuItem-5Eo133Qt.mjs";import"./chunks/modals-DsP9TGnr.mjs";import"./chunks/locale-tv0ZmyWq.mjs";import"./chunks/useWindowOpen-BMCzbqTR.mjs";import"./chunks/download-Bmys4VUp.mjs";import"./chunks/useRouteParam-C9SJn9Mp.mjs";import"./chunks/ResourceListItem.vue_vue_type_script_setup_true_lang-xPaH43i9.mjs";import"./chunks/icon-BPAP2zgX.mjs";import"./chunks/useAppDefaults-BUVwG3-M.mjs";import"./chunks/AppLoadingSpinner-D4wmhWZf.mjs";import"./chunks/toNumber-BQH-f3hb.mjs";const E={"Plain text file":"ملف نص عادي","JSX file":"ملف JSX","TypeScript file":"ملف TypeScript","JSON file":"ملف JSON","XML file":"ملف XML","YAML file":"ملف YAML","Python file":"ملف Python","PHP file":"ملف PHP","HTML file":"ملف HTML","CSS file":"ملف CSS","SCSS file":"ملف SCSS","CSV file":"ملف CSV","Log file":"ملف السجل","Calendar file":"ملف التقويم","Text Editor":"محرر النصوص"},A={},O={},H={},N={"Markdown file":"Markdown soubor","JavaScript file":"JavaScript soubor","JSON file":"JSON soubor","XML file":"XML soubor","YAML file":"YAML soubor","Python file":"Python soubor","PHP file":"PHP soubor",Dockerfile:"Dockerfile",Makefile:"Makefile","Text Editor":"Textový editor"},V={"Plain text file":"Text-Datei","Markdown file":"Markdown-Datei","JavaScript file":"JavaScript-Datei","JSX file":"JSX-Datei","TypeScript file":"TypeScript-Datei","TSX (TypeScript + JSX) file":"TSX-Datei (TypeScript + JSX)","Vue component file":"Vue-Komponentendatei","JSON file":"JSON-Datei","XML file":"XML-Datei","YAML file":"YAML-Datei","TOML config file":"TOML-Konfigurationsdatei","INI config file":"INI-Konfigurationsdatei","Configuration file":"Konfigurationsdatei","Environment variables file":"Umgebungsvariablen-Datei","Python file":"Python-Datei","PHP file":"PHP-Datei","HTML file":"HTML-Datei","CSS file":"CSS-Datei","SCSS file":"SCSS-Datei","Sass file":"Sass-Datei","LESS CSS file":"LESS-CSS-Datei","CSV file":"CSV-Datei","Tab-separated values file":"Tabulatorgetrennte Wertedatei","C source file":"C-Quelldatei","C++ source file":"C++-Quelldatei","Java source file":"Java-Quelldatei","Shell script":"Shell-Skript","Batch script":"Batch-Skript","Assembler source file":"Assembler-Quelldatei","Log file":"Protokolldatei","Calendar file":"Kalender-Datei","Rich Text Format file":"Rich-Text-Format-Datei",Dockerfile:"Dockerfile",Makefile:"Makefile","Text Editor":"Texteditor"},I={},D={"Plain text file":"Archivo de texto plano","Markdown file":"Archivo MarkDown","JavaScript file":"Archivo JavaScript","JSON file":"Archivo JSON","XML file":"Archivo XML","YAML file":"Archivo YAML","Python file":"Archivo Phython","PHP file":"Archivo PHP","Text Editor":"Editor de Texto"},w={"Plain text file":"Αρχείο απλού κειμένου","Markdown file":"Αρχείο Markdown","JavaScript file":"Αρχείο JavaScript","JSX file":"Αρχείο JSX","TypeScript file":"Αρχείο TypeScript","TSX (TypeScript + JSX) file":"Αρχείο TSX (TypeScript + JSX)","Vue component file":"Αρχείο στοιχείου Vue","JSON file":"Αρχείο JSON","XML file":"Αρχείο XML","YAML file":"Αρχείο YAML","TOML config file":"Αρχείο ρυθμίσεων TOML","INI config file":"Αρχείο ρυθμίσεων INI","Configuration file":"Αρχείο ρυθμίσεων","Environment variables file":"Αρχείο μεταβλητών περιβάλλοντος","Python file":"Αρχείο Python","PHP file":"Αρχείο PHP","HTML file":"Αρχείο HTML","CSS file":"Αρχείο CSS","SCSS file":"Αρχείο SCSS","Sass file":"Αρχείο Sass","LESS CSS file":"Αρχείο LESS CSS","CSV file":"Αρχείο CSV","Tab-separated values file":"Αρχείο τιμών διαχωρισμένων με στηλοθέτη (Tab)","C source file":"Αρχείο πηγαίου κώδικα C","C++ source file":"Αρχείο πηγαίου κώδικα C++","Java source file":"Αρχείο πηγαίου κώδικα Java","Shell script":"Shell script","Batch script":"Batch script","Assembler source file":"Αρχείο πηγαίου κώδικα Assembler","Log file":"Αρχείο καταγραφής (Log)","Calendar file":"Αρχείο ημερολογίου","Rich Text Format file":"Αρχείο μορφής εμπλουτισμένου κειμένου (RTF)",Dockerfile:"Dockerfile",Makefile:"Makefile","Text Editor":"Επεξεργαστής κειμένου"},Y={"Plain text file":"Fichier texte","Markdown file":"Fichier Markdown","JavaScript file":"Fichier JavaScript","JSX file":"Fichier JSX","TypeScript file":"Fichier TypeScript","TSX (TypeScript + JSX) file":"Fichier TSX (TypeScript + JSX)","Vue component file":"Fichier Vue component","JSON file":"Fichier JSON","XML file":"Fichier XML","YAML file":"Fichier YAML","TOML config file":"Fichier de configuration TOML","INI config file":"Fichier de configuration INI","Configuration file":"Fichier de configuration","Environment variables file":"Fichier de variables d'environnement","Python file":"Fichier Python","PHP file":"Fichier PHP","HTML file":"Fichier HTML","CSS file":"Fichier CSS","SCSS file":"Fichier SCSS","Sass file":"Fichier Sass","LESS CSS file":"Fichier LESS CSS","CSV file":"Fichier CSV","Tab-separated values file":"Fichier TSV","C source file":"Fichier source C","C++ source file":"Fichier source C++","Java source file":"Fichier source Java","Shell script":"Shell script","Batch script":"Script batch","Assembler source file":"Fichier source assembleur","Log file":"Fichier journal","Calendar file":"Fichier calendrier","Rich Text Format file":"Fichier Rich Text Format",Dockerfile:"Dockerfile",Makefile:"Makefile","Text Editor":"Éditeur de texte"},R={},B={},j={},z={"Plain text file":"プレーンテキストファイル","Markdown file":"Markdown ファイル","JavaScript file":"JavaScript ファイル","JSX file":"JSX ファイル","TypeScript file":"TypeScript ファイル","TSX (TypeScript + JSX) file":"TSX (TypeScript + JSX) ファイル","Vue component file":"Vue コンポーネントファイル","JSON file":"JSON ファイル","XML file":"XML ファイル","YAML file":"YAML ファイル","TOML config file":"TOML 設定ファイル","INI config file":"INI 設定ファイル","Configuration file":"設定ファイル","Environment variables file":"環境変数ファイル","Python file":"プレーンテキストファイル","PHP file":"PHP ファイル","HTML file":"HTML ファイル","CSS file":"CSS ファイル","SCSS file":"SCSS ファイル","Sass file":"Sass ファイル","LESS CSS file":"LESS CSS ファイル","CSV file":"CSV ファイル","Tab-separated values file":"タブ区切り (TSV) ファイル","C source file":"C ソースファイル","C++ source file":"C++ ソースファイル","Java source file":"Java ソースファイル","Shell script":"シェルスクリプト","Batch script":"バッチスクリプト","Assembler source file":"アセンブラ ソースファイル","Log file":"ログファイル","Calendar file":"カレンダーファイル","Rich Text Format file":"リッチテキスト (RTF) ファイル",Dockerfile:"Dockerfile",Makefile:"Makefile","Text Editor":"テキストエディタ"},K={},$={"Plain text file":"File di testo","Markdown file":"File Markdown","JavaScript file":"File JavaScript","JSX file":"File JSX","TypeScript file":"File TypeScript","TSX (TypeScript + JSX) file":"File TSX (TypeScript + JSX)","Vue component file":"File del componente Vue","JSON file":"File JSON","XML file":"FIle XML","YAML file":"File YAML","TOML config file":"File di configurazione TOML","INI config file":"File di configurazione INI","Configuration file":"File di configurazione","Environment variables file":"File delle variabili d'ambiente","Python file":"File Python","PHP file":"File PHP","HTML file":"File HTML","CSS file":"File CSS","SCSS file":"File SCSS","Sass file":"File Sass","LESS CSS file":"File LESS CSS","CSV file":"File CSV","Tab-separated values file":"File di valori separati da tabulazione","C source file":"File sorgente C","C++ source file":"File sorgente C++","Java source file":"File sorgente Java","Shell script":"Script Shell","Batch script":"Script Batch","Assembler source file":"File sorgente Assembler","Log file":"File Log","Calendar file":"File Calendar","Rich Text Format file":"File in formato Rich Text",Dockerfile:"Dockerfile",Makefile:"Makefile","Text Editor":"Editor di test"},q={"Plain text file":"Platte tekstbestand","Markdown file":"Markdown-bestand","JavaScript file":"JavaScriptbestand","JSX file":"JSX-bestand","TypeScript file":"TypeScript-bestand","TSX (TypeScript + JSX) file":"TSX-bestand (TypeScript + JSX)","Vue component file":"Vue componentbestand","JSON file":"JSON-bestand","XML file":"XML-bestand","YAML file":"YAML-bestand","TOML config file":"TOML-configuratiebestand","INI config file":"INI-configuratiebestand","Configuration file":"Configuratiebestand","Environment variables file":"Omgevingsvariabelenbestand","Python file":"Python-bestand","PHP file":"PHP-bestand","HTML file":"HTML-bestand","CSS file":"CSS-bestand","SCSS file":"SCSS-bestand","Sass file":"Sass-bestand","LESS CSS file":"LESS CSS-bestand","CSV file":"CSV-bestand","Tab-separated values file":"Tab-gescheiden waardenbestand","C source file":"C broncodebestand","C++ source file":"C++ broncodebestand","Java source file":"Java broncodebestand","Shell script":"Shell-script","Batch script":"Batch script","Assembler source file":"Assembler broncodebestand","Log file":"Logboekbestand","Calendar file":"Agendabestand","Rich Text Format file":"Rich Text Format-bestand",Dockerfile:"Dockerfile",Makefile:"Makefile","Text Editor":"Teksteditor"},Q={"Plain text file":"Plik tekstowy","Markdown file":"Plik Markdown","JavaScript file":"Plik JavaScript","JSX file":"Plik JSX","TypeScript file":"Plik TypeScript","TSX (TypeScript + JSX) file":"Plik TSX (TypeScript + JSX)","Vue component file":"Plik komponentu Vue","JSON file":"Plik JSON","XML file":"Plik XML","YAML file":"Plik YAML","TOML config file":"Plik konfiguracyjny TOML","INI config file":"Plik konfiguracyjny INI","Configuration file":"Plik konfiguracyjny","Environment variables file":"Plik zmiennych środowiskowych","Python file":"Plik Python","PHP file":"Plik PHP","HTML file":"Plik HTML","CSS file":"Plik CSS","SCSS file":"Plik SCSS","Sass file":"Plik Sass","LESS CSS file":"Plik LESS CSS","CSV file":"Plik CSV","Tab-separated values file":"Plik Wartości rozdzielonych tabulatorem","C source file":"Plik żródłowy C","C++ source file":"Plik żródłowy C++","Java source file":"Plik źródłowy Java","Shell script":"Plik powłoki systemowej","Batch script":"Plik BAT","Assembler source file":"Plik źródłowy assembler","Log file":"Plik Log","Calendar file":"Plik kalendarza","Rich Text Format file":"Plik Rich Text Format",Dockerfile:"Dockerfile",Makefile:"Makefile","Text Editor":"Edytor tekstu"},_={},W={"Plain text file":"Ficheiro de texto simples","Markdown file":"Ficheiro Markdown","JavaScript file":"Ficheiro JavaScript","JSX file":"Ficheiro JSX","TypeScript file":"Ficheiro TypeScript","TSX (TypeScript + JSX) file":"Ficheiro TSX (TypeScript + JSX)","Vue component file":"Ficheiro de componente Vue","JSON file":"Ficheiro JSON","XML file":"Ficheiro XML","YAML file":"Ficheiro YAML","TOML config file":"Ficheiro de configuração TOML","INI config file":"Ficheiro de configuração INI","Configuration file":"Ficheiro de configuração","Environment variables file":"Ficheiro de variáveis de ambiente","Python file":"Ficheiro Python","PHP file":"Ficheiro PHP","HTML file":"Ficheiro HTML","CSS file":"Ficheiro CSS","SCSS file":"Ficheiro SCSS","Sass file":"Ficheiro Sass","LESS CSS file":"Ficheiro LESS CSS","CSV file":"Ficheiro CSV","Tab-separated values file":"Ficheiro de valores separados por tabulação","C source file":"Ficheiro fonte C","C++ source file":"Ficheiro fonte C++","Java source file":"Ficheiro fonte Java","Shell script":"Script Shell","Batch script":"Script Batch","Assembler source file":"Ficheiro fonte Assembler","Log file":"Ficheiro de log","Calendar file":"Ficheiro de calendário","Rich Text Format file":"Ficheiro Rich Text Format (RTF)",Dockerfile:"Dockerfile",Makefile:"Makefile","Text Editor":"Editor de Texto"},U={"Plain text file":"Простой текстовый файл","Markdown file":"Markdown файл","JavaScript file":"JavaScript файл","JSX file":"JSX файл","TypeScript file":"TypeScript файл","TSX (TypeScript + JSX) file":"TSX (TypeScript + JSX) файл","Vue component file":"Vue component файл","JSON file":"JSON файл","XML file":"XML файл","YAML file":"YAML файл","TOML config file":"Файл конфигураций TOML","INI config file":"Файл конфигураций INI","Configuration file":"Файл конфигураций","Environment variables file":"Файл переменных окружения","Python file":"Python файл","PHP file":"PHP файл","HTML file":"HTML файл","CSS file":"CSS файл","SCSS file":"SCSS файл","Sass file":"Sass файл","LESS CSS file":"LESS CSS файл","CSV file":"CSV файл","Tab-separated values file":"Tab-separated value (TSV) файл","C source file":"Исходный файл C","C++ source file":"Исходный файл C++","Java source file":"Исходный файл Java","Shell script":"Shell скрипт","Batch script":"Пакетный скрипт","Assembler source file":"Исходный файл ассемблера","Log file":"Log файл","Calendar file":"Файл календаря","Rich Text Format file":"Rich Text Format файл",Dockerfile:"Dockerfile",Makefile:"Makefile","Text Editor":"Text Editor"},G={},Z={"Plain text file":"텍스트 파일","Markdown file":"마크다운 파일","JavaScript file":"JavaScript 파일","JSON file":"JSON 파일","XML file":"XML 파일","YAML file":"YAML 파일","Python file":"Python 파일","PHP file":"PHP 파일","Text Editor":"텍스트 편집기"},ee={},ie={"Plain text file":"Textový súbor","Markdown file":"Markdown súbor","JavaScript file":"JavaScript súbor","JSX file":"JSX súbor","TypeScript file":"TypeScript súbor","TSX (TypeScript + JSX) file":"TSX (TypeScript + JSX) súbor","Vue component file":"Súbor Vue komponenty","JSON file":"JSON súbor","XML file":"XML súbor","YAML file":"YAML súbor","TOML config file":"TOML súbor","INI config file":"INI konfiguračný súbor","Configuration file":"Konfiguračný súbor","Environment variables file":"Súbor premenných prostredia","Python file":"Python súbor","PHP file":"PHP súbor","HTML file":"HTML súbor","CSS file":"CSS súbor","SCSS file":"SCSS súbor","Sass file":"Sass súbor","LESS CSS file":"LESS CSS súbor","CSV file":"CSV súbor","Tab-separated values file":"Tab-oddelené hodnoty súbor","C source file":"C súbor","C++ source file":"C++ súbor","Java source file":"Java súbor","Shell script":"Shell skript","Batch script":"Dávkový skript","Assembler source file":"Assembler súbor","Log file":"Log súbor","Calendar file":"Súbor kalendára","Rich Text Format file":"RTF súbor",Dockerfile:"Dockerfile",Makefile:"Makefile","Text Editor":"Textový editor"},le={},te={},oe={},re={},ae={},fe={"Plain text file":"Простий текстовий документ","Markdown file":"Документ Markdown","JavaScript file":"Скрипт JavaScript","JSX file":"Документ JSX","TypeScript file":"Скрипт TypeScript","TSX (TypeScript + JSX) file":"Документ TSX","Vue component file":"Файл компонентів Vue","JSON file":"Документ JSON","XML file":"Документ XML","YAML file":"Документ YAML","TOML config file":"Документ TOML","INI config file":"Файл налаштувань INI","Configuration file":"Файл налаштувань","Environment variables file":"Файл із змінними середовища","Python file":"Скрипт Python","PHP file":"Скрипт PHP","HTML file":"Документ HTML","CSS file":"Таблиця стилів CSS","SCSS file":"Файл засобу попередньої обробки SCSS","Sass file":"Файл препроцесора CSS Sass","LESS CSS file":"Файл препроцесора CSS LESS","CSV file":"Таблиця CSV","Tab-separated values file":"Таблиця TSV","C source file":"Початковий код мовою C","C++ source file":"Початковий код мовою C++","Java source file":"Початковий код мовою Java","Shell script":"Скрипт оболонки","Batch script":"Пакетний файл","Assembler source file":"Початковий код мовою асемблера","Log file":"Журнал програми","Calendar file":"Файл календаря","Rich Text Format file":"Документ RTF",Dockerfile:"Dockerfile",Makefile:"Файл збирання Makefile","Text Editor":"Текстовий редактор"},ne={"Plain text file":"Textfil","Markdown file":"Markdown-fil","JavaScript file":"Javascript-fil","JSX file":"JSX-fil","TypeScript file":"TypeScript-fil","TSX (TypeScript + JSX) file":"TSX-fil (TypeScript + JSX)","Vue component file":"Vue-komponentfil","JSON file":"JSON-fil","XML file":"XML-fil","YAML file":"YAML-fil","TOML config file":"TOML-konfigurationsfil","INI config file":"INI-konfigurationsfil","Configuration file":"Konfigurationsfil","Environment variables file":"Miljövariabelarfil","Python file":"Pythonfil","PHP file":"PHP-fil","HTML file":"HTML-fil","CSS file":"CSS-fil","SCSS file":"SCSS-fil","Sass file":"Sass-fil","LESS CSS file":"LESS CSS-fil","CSV file":"CSV-fil","Tab-separated values file":"Tabbavgränsad värdefil","C source file":"C-källfil","C++ source file":"C++-källfil","Java source file":"Java-källfil","Shell script":"Shell-skript","Batch script":"Batchskript","Assembler source file":"Assembler-källkodsfil","Log file":"Protokollfil","Calendar file":"Kalenderfil","Rich Text Format file":"Rich Text Format-fil",Dockerfile:"Dockerfil",Makefile:"Makefile","Text Editor":"Textredigerare"},Se={},se={ar:E,bg:A,af:O,bs:H,cs:N,de:V,et:I,es:D,el:w,fr:Y,he:R,gl:B,hr:j,ja:z,id:K,it:$,nl:q,pl:Q,ka:_,pt:W,ru:U,ro:G,ko:Z,si:ee,sk:ie,sq:le,ta:te,sr:oe,zh:re,ug:ae,uk:fe,sv:ne,tr:Se},ce=T({name:"TextEditor",components:{TextEditorComponent:J},props:{applicationConfig:{type:Object,required:!0},currentContent:{type:String,required:!0},isReadOnly:{type:Boolean,required:!1},resource:{type:Object,required:!0}},emits:["update:currentContent"]});function pe(l,e,s,c,p,f){const n=C("text-editor-component");return b(),h("div",{class:m(["oc-text-editor size-full",{"p-4 overflow-auto":l.isReadOnly}])},[M(n,{resource:l.resource,"application-config":l.applicationConfig,"current-content":l.currentContent,"is-read-only":l.isReadOnly,"onUpdate:currentContent":e[0]||(e[0]=S=>l.$emit("update:currentContent",S))},null,8,["resource","application-config","current-content","is-read-only"])],2)}const de=v(ce,[["render",pe]]),_e=x({setup({applicationConfig:l}){const{$gettext:e}=L(),s=F(),{openEmptyEditor:c}=X(),p=y(),f="text-editor",n=()=>{const i=[{extension:"txt",label:()=>e("Plain text file")},{extension:"md",label:()=>e("Markdown file")},{extension:"markdown",label:()=>e("Markdown file")},{extension:"js",label:()=>e("JavaScript file")},{extension:"jsx",label:()=>e("JSX file")},{extension:"ts",label:()=>e("TypeScript file")},{extension:"tsx",label:()=>e("TSX (TypeScript + JSX) file")},{extension:"vue",label:()=>e("Vue component file")},{extension:"json",label:()=>e("JSON file")},{extension:"xml",label:()=>e("XML file")},{extension:"yml",label:()=>e("YAML file")},{extension:"yaml",label:()=>e("YAML file")},{extension:"toml",label:()=>e("TOML config file")},{extension:"ini",label:()=>e("INI config file")},{extension:"conf",label:()=>e("Configuration file")},{extension:"env",label:()=>e("Environment variables file")},{extension:"py",label:()=>e("Python file")},{extension:"php",label:()=>e("PHP file")},{extension:"html",label:()=>e("HTML file")},{extension:"css",label:()=>e("CSS file")},{extension:"scss",label:()=>e("SCSS file")},{extension:"sass",label:()=>e("Sass file")},{extension:"less",label:()=>e("LESS CSS file")},{extension:"csv",label:()=>e("CSV file")},{extension:"tsv",label:()=>e("Tab-separated values file")},{extension:"c",label:()=>e("C source file")},{extension:"cpp",label:()=>e("C++ source file")},{extension:"java",label:()=>e("Java source file")},{extension:"sh",label:()=>e("Shell script")},{extension:"bat",label:()=>e("Batch script")},{extension:"asm",label:()=>e("Assembler source file")},{extension:"log",label:()=>e("Log file")},{extension:"ics",label:()=>e("Calendar file")},{extension:"rtf",label:()=>e("Rich Text Format file")},{extension:"dockerfile",label:()=>e("Dockerfile")},{extension:"makefile",label:()=>e("Makefile")}],d=l||{};i.push(...(d.extraExtensions||[]).map(a=>({extension:a})));let r=d.primaryExtensions||["txt","md"];return typeof r=="string"&&(r=[r]),i.reduce((a,o)=>(r.includes(o.extension)&&(o.newFileMenu={menuTitle(){return typeof o.label=="function"?o.label():o.label}}),a.push(o),a),[])},S=[{path:"/:driveAliasAndItem(.*)?",component:g(de,{applicationId:f}),name:"text-editor",meta:{authContext:"hybrid",title:e("Text Editor"),patchCleanPath:!0}}],t={name:e("Text Editor"),id:f,icon:"file-text",color:"#0D856F",defaultExtension:"txt",meta:{fileSizeLimit:2e6},extensions:n().map(i=>({extension:i.extension,...Object.prototype.hasOwnProperty.call(i,"newFileMenu")&&{newFileMenu:i.newFileMenu}}))},u=k(()=>{const i=[];return s.user&&p.personalSpace&&i.push({id:`app.${t.id}.menuItem`,type:"appMenuItem",label:()=>t.name,color:t.color,icon:t.icon,priority:20,path:P(t.id),handler:()=>c(t.id,t.defaultExtension)}),i});return{appInfo:t,routes:S,translations:se,extensions:u}}});export{_e as default}; diff --git a/web-dist/js/web-app-text-editor-BrFZegY3.mjs.gz b/web-dist/js/web-app-text-editor-BrFZegY3.mjs.gz new file mode 100644 index 0000000000..473055f9eb Binary files /dev/null and b/web-dist/js/web-app-text-editor-BrFZegY3.mjs.gz differ diff --git a/web-dist/js/web-app-webfinger-B1Tyz4A7.mjs b/web-dist/js/web-app-webfinger-B1Tyz4A7.mjs new file mode 100644 index 0000000000..da3164afeb --- /dev/null +++ b/web-dist/js/web-app-webfinger-B1Tyz4A7.mjs @@ -0,0 +1 @@ +import{bQ as W,M as y,da as k,cm as R,bk as u,bE as C,q as v,aU as f,aZ as O,aL as g,u as m,v as p,bb as l,H as h,I as x,bJ as E,F as Y}from"./chunks/NoContentMessage.vue_vue_type_style_index_0_scoped_a1dde729_lang-aQYs1JbS.mjs";import{u as _}from"./chunks/useRoute-BGFNOdqM.mjs";import{u as N}from"./chunks/useRouteMeta-C9xjNr4h.mjs";import{u as U}from"./chunks/useClientService-BP8mjZl2.mjs";import{u as z,a as $}from"./chunks/useLoadingService-CLoheuuI.mjs";import{_ as D}from"./chunks/_plugin-vue_export-helper-DlAUqK2U.mjs";const B={},P={Webfinger:"Webfinger","Resolve destination":"Ziel auflösen","Something went wrong.":"Etwas ist schiefgelaufen.","We could not resolve the destination.":"Das Ziel konnte nicht aufgelöst werden.","You are being redirected.":"Sie werden weitergeleitet.","Sorry!":"Entschuldigung!","One moment please…":"Einen Moment bitte ..."},T={"Sorry!":"آسف!","One moment please…":"لحظة من فضلك..."},V={Webfinger:"Webfinger","Resolve destination":"Ανάλυση προορισμού","Something went wrong.":"Κάτι πήγε στραβά.","We could not resolve the destination.":"Δεν ήταν δυνατή η ανάλυση του προορισμού.","You are being redirected.":"Μεταφέρεστε σε άλλη σελίδα.","Sorry!":"Συγγνώμη!","One moment please…":"Μισό λεπτό παρακαλώ…"},A={"Resolve destination":"Přeložit cíl","Something went wrong.":"Něco se pokazilo.","You are being redirected.":"Jste přesměrováváni.","Sorry!":"Omlouváme se!","One moment please…":"Okamžik prosím…"},L={Webfinger:"Webfinger","Resolve destination":"Resolver destino","Something went wrong.":"Algo salió mal.","We could not resolve the destination.":"No pudimos resolver el destino.","You are being redirected.":"Estás siendo redireccionado.","Sorry!":"¡Perdón!","One moment please…":"Un momento porfavor..."},I={},J={},M={Webfinger:"Webfinger","Resolve destination":"Résoudre la destination","Something went wrong.":"Quelque chose s'est mal passé.","We could not resolve the destination.":"Nous n'avons pas pu résoudre la destination.","You are being redirected.":"Vous êtes redirigé.","Sorry!":"Désolé !","One moment please…":"Un instant s'il vous plaît…"},q={},F={},Q={},Z={},j={},H={Webfinger:"Webfinger","Resolve destination":"送信先の特定","Something went wrong.":"問題が発生しました","We could not resolve the destination.":"宛先を特定できませんでした","You are being redirected.":"リダイレクトしています","Sorry!":"申し訳ありません","One moment please…":"少々お待ちください…"},G={Webfinger:"Webfinger","Resolve destination":"Bestemming oplossen","Something went wrong.":"Er ging iets mis.","We could not resolve the destination.":"De bestemming kan niet worden opgelost.","You are being redirected.":"Je wordt omgeleid.","Sorry!":"Helaas!","One moment please…":"Even geduld a.u.b."},K={Webfinger:"Webfinger","Resolve destination":"Risoluzione della destinazione","Something went wrong.":"Qualcosa è andato storto.","We could not resolve the destination.":"Non siamo riusciti a risolvere la destinazione.","You are being redirected.":"Stai per essere reindirizzato.","Sorry!":"Spiacenti!","One moment please…":"Un momento per favore…"},X={Webfinger:"웹핑거","Resolve destination":"목적지 확인","Something went wrong.":"뭔가 잘못됐어요.","We could not resolve the destination.":"목적지를 확인할 수 없습니다.","You are being redirected.":"리디렉션되고 있습니다.","Sorry!":"죄송해요!","One moment please…":"잠시만 기다려 주세요..."},ee={},te={"Something went wrong.":"Coś poszło nie tak.","You are being redirected.":"Nastąpiło przekierowanie.","Sorry!":"Przykro mi!","One moment please…":"Moment..."},ne={},oe={Webfinger:"WebFinger","Resolve destination":"Определить пункт назначения","Something went wrong.":"Что-то пошло не так.","We could not resolve the destination.":"Мы не смогли определить пункт назначения.","You are being redirected.":"Вас перенаправляют.","Sorry!":"Извините!","One moment please…":"Один момент, пожалуйста..."},re={},se={},ie={Webfinger:"Webfinger","Resolve destination":"Vyhodnotiť cieľ","Something went wrong.":"Niečo sa pokazilo.","We could not resolve the destination.":"Nemôžeme vyhodnotiť cieľ.","You are being redirected.":"Budete presmerovaný.","Sorry!":"Prepáčte!","One moment please…":"Chvíľu strpenia prosím..."},ae={Webfinger:"Webfinger","Resolve destination":"Resolver destino","Something went wrong.":"Algo correu mal.","We could not resolve the destination.":"Não foi possível resolver o destino.","You are being redirected.":"Está a ser redirecionado.","Sorry!":"Desculpe!","One moment please…":"Um momento, por favor…"},le={},ce={},de={},ue={},ge={},me={Webfinger:"Webfinger","Resolve destination":"Slå upp destination","Something went wrong.":"Något gick fel.","We could not resolve the destination.":"Vi kunde inte slå upp destinationen.","You are being redirected.":"Du omdirigeras.","Sorry!":"Beklagar!","One moment please…":"Ett ögonblick, tack…"},pe={},ve={af:B,de:P,ar:T,el:V,cs:A,es:L,bs:I,et:J,fr:M,bg:q,gl:F,hr:Q,he:Z,id:j,ja:H,nl:G,it:K,ko:X,ro:ee,pl:te,ka:ne,ru:oe,si:re,sq:se,sk:ie,pt:ae,sr:le,zh:ce,uk:de,tr:ue,ta:ge,sv:me,ug:pe},fe="http://webfinger.opencloud/rel/server-instance";class he{serverUrl;clientService;constructor(e,o){this.serverUrl=e,this.clientService=o}async discoverOpenCloudServers(){const e=this.clientService.httpAuthenticated,o=W(this.serverUrl,".well-known","webfinger")+`?resource=${encodeURI(this.serverUrl)}`;return(await e.get(o)).data.links.filter(r=>r.rel===fe)}}const be=y({name:"WebfingerResolve",setup(){const t=k(),e=U(),o=z(),c=$(),r=_(),{$gettext:s}=R(),d=N("title",""),b=v(()=>s(u(d))),i=f([]),a=f(!1),w=new he(t.serverUrl,e);o.addTask(async()=>{try{const n=await w.discoverOpenCloudServers();i.value=n,n.length===0&&(a.value=!0)}catch(n){if(console.error(n),n.response?.status===401)return c.handleAuthError(u(r),{forceLogout:!0});a.value=!0}}),C(i,n=>{n.length!==0&&(window.location.href=i.value[0].href)});const S=v(()=>u(a)?s("Sorry!"):s("One moment please…"));return{pageTitle:b,openCloudInstances:i,hasError:a,cardTitle:S}}}),we={class:"h-screen flex flex-col justify-center items-center"},Se=["textContent"],We=["textContent"],ye=["textContent"],ke=["textContent"];function Re(t,e,o,c,r,s){const d=O("oc-card");return g(),m("main",we,[p("h1",{class:"sr-only",textContent:l(t.pageTitle)},null,8,Se),e[1]||(e[1]=h()),x(d,{title:t.cardTitle,"body-class":"w-sm text-center",class:"bg-role-surface-container rounded-lg"},{default:E(()=>[t.hasError?(g(),m(Y,{key:0},[p("p",{textContent:l(t.$gettext("Something went wrong."))},null,8,We),e[0]||(e[0]=h()),p("p",{textContent:l(t.$gettext("We could not resolve the destination."))},null,8,ye)],64)):(g(),m("p",{key:1,textContent:l(t.$gettext("You are being redirected."))},null,8,ke))]),_:1},8,["title"])])}const Ce=D(be,[["render",Re]]);const Oe={name:"Webfinger",id:"webfinger",icon:"fingerprint"},xe=()=>[{name:"webfinger-root",path:"/",redirect:()=>({name:"webfinger-resolve"}),meta:{authContext:"anonymous"}},{path:"/resolve",name:"webfinger-resolve",component:Ce,meta:{authContext:"idp",title:"Resolve destination",entryPoint:!0}}],$e={appInfo:Oe,routes:xe,translations:ve};export{$e as default}; diff --git a/web-dist/js/web-app-webfinger-B1Tyz4A7.mjs.gz b/web-dist/js/web-app-webfinger-B1Tyz4A7.mjs.gz new file mode 100644 index 0000000000..a27254cfc1 Binary files /dev/null and b/web-dist/js/web-app-webfinger-B1Tyz4A7.mjs.gz differ diff --git a/web-dist/manifest.json b/web-dist/manifest.json new file mode 100644 index 0000000000..b6c12d2fd9 --- /dev/null +++ b/web-dist/manifest.json @@ -0,0 +1,19 @@ +{ + "name": "OpenCloud", + "short_name": "OpenCloud", + "icons": [ + { + "src": "img/opencloud-icon.png", + "sizes": "512x512", + "type": "image/png" + } + ], + + "start_url": "/", + + "display": "fullscreen", + "orientation": "portrait", + + "background_color": "#FFFFFF", + "theme_color": "#375f7E" +} diff --git a/web-dist/oidc-callback.html b/web-dist/oidc-callback.html new file mode 100644 index 0000000000..fd582d4817 --- /dev/null +++ b/web-dist/oidc-callback.html @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/web-dist/oidc-callback.html.gz b/web-dist/oidc-callback.html.gz new file mode 100644 index 0000000000..cb65f32009 Binary files /dev/null and b/web-dist/oidc-callback.html.gz differ diff --git a/web-dist/oidc-silent-redirect.html b/web-dist/oidc-silent-redirect.html new file mode 100644 index 0000000000..fb54d562c8 --- /dev/null +++ b/web-dist/oidc-silent-redirect.html @@ -0,0 +1,20 @@ + + + + + + + + diff --git a/web-dist/oidc-silent-redirect.html.gz b/web-dist/oidc-silent-redirect.html.gz new file mode 100644 index 0000000000..b7943ae0c8 Binary files /dev/null and b/web-dist/oidc-silent-redirect.html.gz differ diff --git a/web-dist/robots.txt b/web-dist/robots.txt new file mode 100644 index 0000000000..1f53798bb4 --- /dev/null +++ b/web-dist/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /