Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot] f6d511810d chore(deps): bump dompurify from 3.4.17 to 3.5.1
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.4.17 to 3.5.1.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.4.17...3.5.1)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.5.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-12-06 04:32:23 +00:00
2984 changed files with 36474 additions and 148402 deletions
+18 -18
View File
@@ -35,7 +35,7 @@ permissions:
# Server tests i/10 one slice of the server suite, with coverage
# Server coverage merges the slices, checks the per-domain
# thresholds, uploads lcov
# Server Postgres 14 i/3, Server Postgres 19 i/3
# Server Postgres 14 i/3, Server Postgres 18 i/3
# per supported major, in three slices: the probe
# (the repository SQL against Postgres, first slice
# only), then a slice of the lane (every suite that
@@ -55,7 +55,7 @@ permissions:
# Client e2e i/2 one slice of the browser flows in Chromium and
# WebKit, in the Playwright container
# Docker and Helm builds the image and boots it until ready, on
# SQLite and on Postgres 19; lints and renders the
# SQLite and on Postgres 18; lints and renders the
# Helm chart and checks the compose files
# Sonar SonarCloud analysis, not required
# ci-ok the one required check (below)
@@ -438,10 +438,10 @@ jobs:
- name: Lint
# Errors fail, and the warnings per rule may not pass
# scripts/eslint-baseline.json (src, tests and eslint-disable'd
# messages counted apart). The typed src and test programs can exhaust
# an 8 GiB heap. Leave headroom within the runner's 16 GB of RAM.
# messages counted apart). Type-aware rules build the src + tests
# program, which outgrows Node's default ~4 GB heap on the runner.
env:
NODE_OPTIONS: --max-old-space-size=10240
NODE_OPTIONS: --max-old-space-size=8192
TREK_LINT_BASE: refs/remotes/lint-base
run: cd server && npm run lint:warnings
@@ -600,7 +600,7 @@ jobs:
uses: actions/upload-artifact@v6
with:
name: server-blob-${{ matrix.shard }}
path: server/.vitest/blob/
path: server/.vitest-reports/
include-hidden-files: true
if-no-files-found: error
retention-days: 1
@@ -621,7 +621,7 @@ jobs:
uses: actions/download-artifact@v7
with:
pattern: server-blob-*
path: server/.vitest/blob/
path: server/.vitest-reports/
merge-multiple: true
- name: Merge the slices and check the thresholds
@@ -639,7 +639,7 @@ jobs:
retention-days: 1
# TREK on Postgres, once per supported major: the oldest (14) and the newest
# (19). Both steps run against the same service, the probe on an empty
# (18). Both steps run against the same service, the probe on an empty
# database of its own, the lane on databases it creates and drops.
#
# The probe (server/scripts/pg-probe.ts): against an empty Postgres it
@@ -696,7 +696,7 @@ jobs:
strategy:
fail-fast: false
matrix:
postgres: [14, 19]
postgres: [14, 18]
shard: [1, 2, 3]
services:
postgres:
@@ -757,14 +757,14 @@ jobs:
if-no-files-found: ignore
retention-days: 14
# The image ships the 19 client tools, which write settings a 14 server
# The image ships the 18 client tools, which write settings a 14 server
# does not know; the backup round trip runs with the same tools here.
- name: Install the PostgreSQL 19 client tools
- name: Install the PostgreSQL 18 client tools
run: |
set -euo pipefail
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y >/dev/null
sudo apt-get install -y --no-install-recommends postgresql-client-19 >/dev/null
/usr/lib/postgresql/19/bin/pg_restore --version
sudo apt-get install -y --no-install-recommends postgresql-client-18 >/dev/null
/usr/lib/postgresql/18/bin/pg_restore --version
- name: Run the Postgres lane
if: ${{ !cancelled() }}
@@ -990,7 +990,7 @@ jobs:
# Fails on any ESLint error, like lint:check did, and on any rule
# whose warning count rises above scripts/eslint-baseline.json.
# Typed linting (no-floating-promises, no-misused-promises) loads the
# whole TypeScript program, which exceeds Node's default heap.
# whole TypeScript program, so it gets the heap the server lint gets.
env:
NODE_OPTIONS: --max-old-space-size=8192
TREK_LINT_BASE: refs/remotes/lint-base
@@ -1028,7 +1028,7 @@ jobs:
uses: actions/upload-artifact@v6
with:
name: client-blob-${{ matrix.shard }}
path: client/.vitest/blob/
path: client/.vitest-reports/
include-hidden-files: true
if-no-files-found: error
retention-days: 1
@@ -1049,7 +1049,7 @@ jobs:
uses: actions/download-artifact@v7
with:
pattern: client-blob-*
path: client/.vitest/blob/
path: client/.vitest-reports/
merge-multiple: true
- name: Merge the slices and check the thresholds
@@ -1347,7 +1347,7 @@ jobs:
set -euo pipefail
docker network create trek-ci-pg
docker run -d --name trek-ci-db --network trek-ci-pg \
-e POSTGRES_PASSWORD=ci -e POSTGRES_DB=trek postgres:19
-e POSTGRES_PASSWORD=ci -e POSTGRES_DB=trek postgres:18
for _ in $(seq 1 30); do
docker exec trek-ci-db pg_isready -U postgres -d trek >/dev/null 2>&1 && break
sleep 2
@@ -1468,7 +1468,7 @@ jobs:
path: plugin-sdk/coverage/
- name: Scan
uses: SonarSource/sonarqube-scan-action@70bad232163b09d998ea0707ee80c0ec80798c16 # v8.5.1
uses: SonarSource/sonarqube-scan-action@59202af334b4ba7b5db01b701b8e79f8b3bef0f4 # v8.5.0
env:
# SonarQube Cloud is the scan action's default host, so no
# SONAR_HOST_URL — the token is a sonarcloud.io token for the
+1 -5
View File
@@ -55,8 +55,7 @@ coverage
coverage-*/
*.lcov
.nyc_output
# Blob reports of a sharded vitest run (test.yml) and the other files vitest writes
.vitest
# Blob reports of a sharded vitest run (test.yml)
.vitest-reports
# Cache
@@ -74,6 +73,3 @@ minio-licence.key
.run
.full-review
# Built by server/scripts/build-atlas-mesh.mjs (npm run dev/build, Docker build)
server/assets/atlas-mesh/
+1 -1
View File
@@ -137,7 +137,7 @@ These principles come out of a full-repo audit and shape all new code:
## Quality gates in CI
`.github/workflows/test.yml` runs, per package: typecheck (server also `typecheck:tests`, client also the strict-mode ratchet `lint:strict`), lint (client and server through `lint:warnings`, which also holds the warning count per rule), `lint:pages`, `lint:rtl`, `lint:size` (client and server), the server's `lint:strict`, `lint:boundaries`, `lint:tx`, `lint:dialect`, `lint:engine-dispatch`, `lint:test-sql`, `lint:test-mocks`, `lint:test-new-service`, `lint:query-api`, `lint:mcp-zod`, `lint:service-http` and `lint:response-contracts`, the client's and server's `lint:format`, `lint:layers`, `lint:offline`, `lint:dup`, `lint:pairs`, `lint:skips`, `lint:i18n-keys` and `theme:lint`, shared's `contracts:open`, the repo-wide `lint:knip` (in `server-lint`), `check:plugin-facts`, `i18n:parity:strict` (with the untranslated-strings ratchet), the S3 contract suite, TREK on Postgres (`server-postgres`, once per supported major, 14 and 19, each in three slices: first the Postgres probe (in the first slice), every dialect helper on SQLite and Postgres and the statements every repository method reaches with sample arguments, its SQL errors per method and the methods it cannot measure held to a baseline that only shrinks and fails while it is still unmeasured; then the Postgres lane, every suite that boots the app on the real database module, found by `server/tests/postgres/lane.ts` rather than listed, plus PARITY-PG and the write lock; see `server/CLAUDE.md`), the browser end-to-end flows (Chromium and WebKit, in the Playwright container, in two slices), a client build with `check:gl-split`, coverage for all four packages, then a SonarCloud scan. It also builds the Docker image and boots it until `/api/health/ready` answers, on SQLite and on Postgres 19, and lints and renders the Helm chart against the Kubernetes schemas and runs `docker compose config` on every compose file (both in `docker`, each part when its area changed). `lint-prettier.yml` additionally runs `lint` + `lint:format` on `shared/`, both check-only. `plugin-sdk` has no lint script and is outside the eslint gates. **Not in CI**: the screenshot and help-media Playwright projects; run them locally. There are no git hooks; nothing runs before a commit except you. Other workflows build Docker images, scan them, and publish `trek-plugin-sdk` on `plugin-sdk-v*` tags.
`.github/workflows/test.yml` runs, per package: typecheck (server also `typecheck:tests`, client also the strict-mode ratchet `lint:strict`), lint (client and server through `lint:warnings`, which also holds the warning count per rule), `lint:pages`, `lint:rtl`, `lint:size` (client and server), the server's `lint:strict`, `lint:boundaries`, `lint:tx`, `lint:dialect`, `lint:engine-dispatch`, `lint:test-sql`, `lint:test-mocks`, `lint:test-new-service`, `lint:query-api`, `lint:mcp-zod`, `lint:service-http` and `lint:response-contracts`, the client's and server's `lint:format`, `lint:layers`, `lint:offline`, `lint:dup`, `lint:pairs`, `lint:skips`, `lint:i18n-keys` and `theme:lint`, shared's `contracts:open`, the repo-wide `lint:knip` (in `server-lint`), `check:plugin-facts`, `i18n:parity:strict` (with the untranslated-strings ratchet), the S3 contract suite, TREK on Postgres (`server-postgres`, once per supported major, 14 and 18, each in three slices: first the Postgres probe (in the first slice), every dialect helper on SQLite and Postgres and the statements every repository method reaches with sample arguments, its SQL errors per method and the methods it cannot measure held to a baseline that only shrinks and fails while it is still unmeasured; then the Postgres lane, every suite that boots the app on the real database module, found by `server/tests/postgres/lane.ts` rather than listed, plus PARITY-PG and the write lock; see `server/CLAUDE.md`), the browser end-to-end flows (Chromium and WebKit, in the Playwright container, in two slices), a client build with `check:gl-split`, coverage for all four packages, then a SonarCloud scan. It also builds the Docker image and boots it until `/api/health/ready` answers, on SQLite and on Postgres 18, and lints and renders the Helm chart against the Kubernetes schemas and runs `docker compose config` on every compose file (both in `docker`, each part when its area changed). `lint-prettier.yml` additionally runs `lint` + `lint:format` on `shared/`, both check-only. `plugin-sdk` has no lint script and is outside the eslint gates. **Not in CI**: the screenshot and help-media Playwright projects; run them locally. There are no git hooks; nothing runs before a commit except you. Other workflows build Docker images, scan them, and publish `trek-plugin-sdk` on `plugin-sdk-v*` tags.
- **Job names read "<Area> <what>[ <variant>][ i/n]"** (`Server tests 3/10`, `Server Postgres 14 2/3`, `Docker and Helm`): the area first, one of Changes, Shared, Server, Client, Docker or Sonar, then lower case, with no colon, no parentheses and no middle dot, and a slice only at the end, so the checks list sorts by area. The workflow is named `CI`, so a check reads `CI / Server tests 3/10`. Job ids are the names in kebab-case (`server-tests`), the jobs stand in `test.yml` in area order, and the list at the top of `test.yml` says what each job holds. A new job follows the scheme and joins that list; `scripts/ci/workflow-jobs.test.mjs` fails on a name outside it. `ci-ok`, `lint` and `check-target` keep their names: the ruleset requires them by name.
- **What the folded jobs hold.** `Shared tests` is the plugin SDK's typecheck and coverage, run before the root install so the SDK resolves only its own dependencies, then i18n parity and shared's coverage. `Client types` is the typecheck and the strict ratchet; `Client checks` the source ratchets, then the production build with `check:gl-split`. `Docker and Helm` builds and boots the image when the image area changed and checks the chart and compose files when the deploy area changed. Inside a folded job each group of steps runs after a failure in another, so one red check shows every gate that failed; the step names say which.
+12 -21
View File
@@ -41,10 +41,9 @@ COPY server/package.json ./server/
RUN npm ci --workspace=server --ignore-scripts
COPY --from=shared-builder /app/shared/dist ./shared/dist
COPY server/ ./server/
# The globe Atlas geometry is built from the committed boundary files (no network,
# deterministic) here rather than committed; it lands in server/assets with the rest.
RUN node server/scripts/build-atlas-mesh.mjs
RUN npm run build --workspace=server
# tsc needs more than the 2 GB heap Node picks on a host with about 12 GB of RAM;
# on a bigger build machine the default is larger, so only small hosts failed.
RUN NODE_OPTIONS=--max-old-space-size=4096 npm run build --workspace=server
# ── Stage 4: production runtime ──────────────────────────────────────────────
FROM node:24-trixie-slim
@@ -74,30 +73,22 @@ COPY server/package.json ./server/
# The upgrade takes the Debian security fixes the base image was built before
# (zlib, 11/2026, failed the image scan until node:24-trixie-slim caught up).
#
# postgresql-client-19 brings pg_dump, pg_restore and psql to
# /usr/lib/postgresql/19/bin, which back up and restore an install on Postgres
# postgresql-client-18 brings pg_dump, pg_restore and psql to
# /usr/lib/postgresql/18/bin, which back up and restore an install on Postgres
# (TREK_DB_URL). A client handles every server up to its own major and refuses
# a newer one, so the image carries the newest major TREK supports (14 to 19).
# a newer one, so the image carries the newest major TREK supports (14 to 18).
# Debian 13 ships 17 only, so it comes from the PostgreSQL project's apt
# repository (PGDG): its `main` component carries every major the project
# supports, and the package name pins the one installed. The per-major
# components can trail a new release, so the image does not rely on them. The
# repository's signing key (fingerprint B97B 0AFC AA1A 47F0 44F2 44A0 7FCC 7D46
# ACCC 4CF8) is kept beside the entrypoint instead of fetched at build time.
# Raise the package together with SUPPORTED_SERVER_MAJORS in
# server/src/db/engine/postgres/server-checks.ts.
# Earlier images carried the version 18 tools, and installs that set
# TREK_DB_PG_BIN_DIR=/usr/lib/postgresql/18/bin (the old .env.example value)
# would lose backups and the pre-migrate snapshot after updating, so that path
# stays as a link to the 19 tools, which handle every supported server.
# repository (PGDG): the `18` component lists that major's packages and no
# other, and the repository's signing key (fingerprint B97B 0AFC AA1A 47F0 44F2
# 44A0 7FCC 7D46 ACCC 4CF8) is kept beside the entrypoint instead of fetched at
# build time. Raise both together when TREK supports a newer major.
COPY server/scripts/pgdg-apt-key.asc /etc/apt/keyrings/pgdg.asc
RUN echo 'deb [signed-by=/etc/apt/keyrings/pgdg.asc] http://apt.postgresql.org/pub/repos/apt trixie-pgdg main' \
RUN echo 'deb [signed-by=/etc/apt/keyrings/pgdg.asc] http://apt.postgresql.org/pub/repos/apt trixie-pgdg main 18' \
> /etc/apt/sources.list.d/pgdg.list && \
apt-get update && \
apt-get upgrade -y --no-install-recommends && \
apt-get install -y --no-install-recommends tzdata dumb-init wget ca-certificates \
libkitinerary-bin libsqlite3-0 postgresql-client-19 && \
mkdir -p /usr/lib/postgresql/18 && ln -s /usr/lib/postgresql/19/bin /usr/lib/postgresql/18/bin && \
libkitinerary-bin libsqlite3-0 postgresql-client-18 && \
npm ci --workspace=server --omit=dev --ignore-scripts && \
{ ln -sf "$(find /usr/lib -name kitinerary-extractor -type f | head -1)" /usr/local/bin/kitinerary-extractor || true; } && \
rm -rf /var/lib/apt/lists/* /usr/local/lib/node_modules/npm /usr/local/bin/npm /usr/local/bin/npx && \
+2 -2
View File
@@ -156,7 +156,7 @@ Most of what follows is an addon an admin switches on or off. Lists, Costs, Docu
- **Your own model**: an API key for Anthropic, OpenAI, Gemini or OpenRouter, a ChatGPT plan, or any OpenAI-compatible endpoint, set for the instance or per user
- **You stay in charge**: reads run at once, every change waits as a card to apply or discard and can be undone for 15 minutes. Nothing leaves before you agree to the provider, and a file's text only with your consent
- **Attachments**: drop a booking confirmation, a GPX file or a photo into the chat, and the assistant offers what to do with it
- **MCP server** (off by default): OAuth 2.1 with mandatory PKCE and dynamic client registration, 453 tools, 30 resources and 4 prompts, 35 scopes in 17 groups ticked on the consent screen, and every call in the audit log
- **MCP server** (off by default): OAuth 2.1 with mandatory PKCE and dynamic client registration, 410 tools, 30 resources and 4 prompts, 35 scopes in 17 groups ticked on the consent screen, and every call in the audit log
- **Addon-aware**: twelve addon gates decide which tools a session sees, and flipping one re-registers live sessions
</td>
@@ -288,7 +288,7 @@ docker compose up -d
See [Install with Docker Compose](https://github.com/liketrek/TREK/wiki/Install-Docker-Compose)
for the full walkthrough.
TREK stores its data in SQLite by default. Set `TREK_DB_URL` to run it on a PostgreSQL 14 to 19 database instead. The
TREK stores its data in SQLite by default. Set `TREK_DB_URL` to run it on a PostgreSQL 14 to 18 database instead. The
[`docker-compose.postgres.yml`](docker-compose.postgres.yml) example starts one beside TREK, and the
[Postgres guide](https://github.com/liketrek/TREK/wiki/Database-Postgres) covers the requirements, the backups and
how to move an existing SQLite install to Postgres with the command TREK ships for it.
-3
View File
@@ -2,7 +2,4 @@ apiVersion: v2
name: trek
version: 5.2.2
description: Minimal Helm chart for TREK app
home: https://github.com/liketrek/TREK
sources:
- https://github.com/liketrek/TREK
appVersion: "5.2.2"
-3
View File
@@ -136,9 +136,6 @@ data:
{{- if .Values.env.AMAP_API_BASE }}
AMAP_API_BASE: {{ .Values.env.AMAP_API_BASE | quote }}
{{- end }}
{{- if .Values.env.MAP_EXTRA_CONNECT_HOSTS }}
MAP_EXTRA_CONNECT_HOSTS: {{ .Values.env.MAP_EXTRA_CONNECT_HOSTS | quote }}
{{- end }}
{{- if .Values.env.VAPID_PUBLIC_KEY }}
VAPID_PUBLIC_KEY: {{ .Values.env.VAPID_PUBLIC_KEY | quote }}
{{- end }}
+1 -6
View File
@@ -170,11 +170,6 @@ env:
# Send the Amap (高德地图) calls through an egress proxy, a cache or a gateway that speaks the same API instead of
# restapi.amap.com directly. The key itself is a credential and goes under secretEnv.AMAP_API_KEY, or into
# Admin > Settings > API Keys. Defaults to https://restapi.amap.com.
# MAP_EXTRA_CONNECT_HOSTS: ""
# Hosts of your own map tiles or vector styles that the GL maps may load, comma-separated, e.g.
# "tiles.example.com,*.maps.example.org:8443": a host name, optionally with a port or as a wildcard over
# its subdomains; https is implied. They are added to the Content-Security-Policy and told to the app.
# An entry that is not a plain host name aborts startup.
# VAPID_PUBLIC_KEY: ""
# Web Push key pair, public half (base64url, 65 bytes). Leave both halves empty and TREK generates a pair on
# first start and keeps it in the database, so it travels with backups. To use your own pair, set this and
@@ -195,7 +190,7 @@ env:
# starting it on SQLite. The role in the URL owns TREK's database and must not be a superuser
# (nor a member of one, nor hold a right that reaches the server's files or programs): a
# restore runs the backup's SQL as that role and refuses one that could reach the database host. The wiki page shows the
# SQL that creates such a role. PostgreSQL 14 to 19 is supported.
# SQL that creates such a role. PostgreSQL 14 to 18 is supported.
# url: "postgres://trek:<password>@postgres.example.internal:5432/trek?sslmode=require"
database:
url: ""
-1
View File
@@ -11,4 +11,3 @@ e2e/help/media.env
# The native apps' address screen (npm run build:native), copied into
# android/ and ios/ by `cap sync`
native-dist/
native-sandbox-dist/
+1 -1
View File
@@ -68,7 +68,7 @@ The offline core is flagship work surrounded by a periphery that ignores it. New
## Big-picture pieces
- **Maps** (`src/components/Map/`): two interchangeable renderers — Leaflet and Mapbox/MapLibre GL — chosen at runtime by `MapViewAuto.tsx`. Keep both in sync when changing map features, and keep `mapbox-gl` and `maplibre-gl` in separate chunks (`check:gl-split`). The raster prefetcher fetches tiles `no-cors` so custom tile providers without CORS headers keep working, except a template MapLibre draws (`trek:template`), whose tiles a GL map reads with CORS and the service worker keeps apart in `map-tiles-gl` (`src/sync/glTileCache.ts`); the vector prefetcher deliberately uses `cors` because it has to read the responses — don't "align" one with the other.
- **Maps** (`src/components/Map/`): two interchangeable renderers — Leaflet and Mapbox/MapLibre GL — chosen at runtime by `MapViewAuto.tsx`. Keep both in sync when changing map features, and keep `mapbox-gl` and `maplibre-gl` in separate chunks (`check:gl-split`). The raster prefetcher fetches tiles `no-cors` so custom tile providers without CORS headers keep working; the vector prefetcher deliberately uses `cors` because it has to read the responses — don't "align" one with the other.
- **i18n** (`src/i18n/TranslationContext.tsx`): `en` is bundled; every other locale is a dynamic `import('@trek/shared/i18n/<locale>')` so Vite emits one chunk per locale. Strings live in `shared/`, never here. `t()` returns an unknown key unchanged, so `lint:i18n-keys` (`scripts/i18n-keys.mjs`) resolves every literal key in `t()`, `tHtml()`, `tr()`, `<TransHtml html>`, `translateApiError` and `*Key` props against `shared/src/i18n/en`; a template whose interpolations only choose between string literals is expanded and each branch checked as a key; any other template key is read with each interpolation as one key segment and passes by itself only when it reaches between 1 and `MAX_IMPLICIT_MATCHES` (30) en keys; a wider one, or one with no fixed dotted prefix, needs a `DYNAMIC_ALLOWED` entry keyed by file and template that says what bounds the value, and an entry the check no longer needs fails. Pass counts as numbers, and let a plural group pick the wording instead of switching keys on the count.
- **Mobile shell** (`src/mobile/`): below the phone breakpoint (`useIsPhone`) `App.tsx` wraps routes in `MobileShell` and the `M*` screens under `mobile/screens/` take over. A UI change to a domain with an `M*` twin usually needs both, and the logic change goes into the shared hook (see "Desktop and phone views" below).
- **Plugins UI** (`src/components/Plugins/`): third-party surfaces render only inside the sandboxed `PluginFrame` iframe (postMessage bridge, live theme-token sync). Host-rendered contribution points (widgets, schedule rows, map layers, planner columns/actions) render server-normalized primitives only — plugin markup never runs inline. Authoring is covered by the `trek-plugin-dev` skill.
@@ -102,61 +102,21 @@ object TrekBilling {
return offers.firstOrNull { it.offerId == null } ?: offers.firstOrNull()
}
/** Play returns eligible offers. The named offer must be configured with Play's new-customer eligibility. */
private fun trialOffer(product: ProductDetails): ProductDetails.SubscriptionOfferDetails? {
val base = baseOffer(product)?.takeIf { it.offerId == null } ?: return null
val recurring = base.pricingPhases.pricingPhaseList.singleOrNull() ?: return null
return product.subscriptionOfferDetails?.firstOrNull { offer ->
offer.offerId == TRIAL_OFFER_ID && offer.basePlanId == base.basePlanId &&
isSevenDayTrial(offer.pricingPhases.pricingPhaseList, recurring)
}
}
private fun isSevenDayTrial(
phases: List<ProductDetails.PricingPhase>,
recurring: ProductDetails.PricingPhase,
): Boolean {
if (phases.size != 2) return false
val (trial, renewal) = phases
val once = trial.recurrenceMode == ProductDetails.RecurrenceMode.NON_RECURRING ||
(trial.recurrenceMode == ProductDetails.RecurrenceMode.FINITE_RECURRING && trial.billingCycleCount == 1)
return once && trial.priceAmountMicros == 0L && trial.billingPeriod in listOf("P1W", "P7D") &&
renewal.recurrenceMode == ProductDetails.RecurrenceMode.INFINITE_RECURRING &&
renewal.billingPeriod == recurring.billingPeriod && renewal.priceAmountMicros == recurring.priceAmountMicros &&
renewal.priceCurrencyCode == recurring.priceCurrencyCode
}
fun products(context: Context, call: PluginCall) {
val ids = call.getArray("ids")?.toList<String>().orEmpty()
ready(context) { ok ->
val result = JSObject().put("sandbox", BuildConfig.DEBUG)
if (!ok || ids.isEmpty()) return@ready call.resolve(result.put("products", JSArray()))
if (!ok) return@ready call.resolve(result.put("products", JSArray()))
details(context, ids) { found ->
val candidates = found.filter { trialOffer(it) != null }.map { it.productId }.toSet()
if (candidates.isEmpty()) {
call.resolve(result.put("products", productList(found, emptySet())))
return@details
}
val params = QueryPurchasesParams.newBuilder().setProductType(BillingClient.ProductType.SUBS).build()
client(context).queryPurchasesAsync(params) { status, purchases ->
val eligible = status.responseCode == BillingClient.BillingResponseCode.OK && purchases.none { purchase ->
purchase.products.any { it.startsWith(PREFIX) }
}
call.resolve(result.put("products", productList(found, if (eligible) candidates else emptySet())))
}
val list = JSArray()
for (product in found) displayPrice(product)?.let { list.put(JSObject().put("id", product.productId).put("displayPrice", it)) }
call.resolve(result.put("products", list))
}
}
}
private fun productList(products: List<ProductDetails>, freeTrials: Set<String>): JSArray = JSArray().apply {
for (product in products) displayPrice(product)?.let { price ->
put(JSObject().put("id", product.productId).put("displayPrice", price).put("freeTrial", product.productId in freeTrials))
}
}
fun purchase(activity: Activity, call: PluginCall) {
val id = call.getString("productId") ?: return call.reject("productId is required")
val trialRenewalPrice = call.getString("trialRenewalPrice")
ready(activity) { ok ->
if (!ok) return@ready call.resolve(JSObject().put("kind", "failed"))
// One subscription per Google account: a second plan would run beside the first.
@@ -166,28 +126,19 @@ object TrekBilling {
client(activity).queryPurchasesAsync(params) { result, purchases ->
val held = if (result.responseCode == BillingClient.BillingResponseCode.OK) newest(purchases, PREFIX) else null
when {
held?.isAcknowledged == true -> call.resolve(JSObject().put("kind", "subscribed"))
held != null -> call.resolve(receipt(held).put("kind", "bought"))
trialRenewalPrice != null && result.responseCode != BillingClient.BillingResponseCode.OK ->
call.resolve(JSObject().put("kind", "offer-changed"))
purchases.any { p -> p.purchaseState == Purchase.PurchaseState.PENDING && p.products.any { it.startsWith(PREFIX) } } ->
call.resolve(JSObject().put("kind", "pending"))
else -> launchPurchase(activity, call, id, trialRenewalPrice)
held == null -> launchPurchase(activity, call, id)
held.isAcknowledged -> call.resolve(JSObject().put("kind", "subscribed"))
else -> call.resolve(receipt(held).put("kind", "bought"))
}
}
}
}
private fun launchPurchase(activity: Activity, call: PluginCall, id: String, trialRenewalPrice: String?) {
private fun launchPurchase(activity: Activity, call: PluginCall, id: String) {
details(activity, listOf(id)) { found ->
val product = found.firstOrNull()
val offer = product?.let { listed ->
if (trialRenewalPrice == null) baseOffer(listed)
else trialOffer(listed)?.takeIf { displayPrice(listed) == trialRenewalPrice }
}
if (product == null || offer == null) {
return@details call.resolve(JSObject().put("kind", if (trialRenewalPrice != null) "offer-changed" else "failed"))
}
val offer = product?.let(::baseOffer)
if (product == null || offer == null) return@details call.resolve(JSObject().put("kind", "failed"))
pendingPurchase?.resolve(JSObject().put("kind", "cancelled"))
pendingPurchase = call
pendingProduct = id
@@ -324,7 +275,6 @@ object TrekBilling {
newest(purchases.filter { !it.isAcknowledged }, prefix)
private const val PREFIX = "cloud."
private const val TRIAL_OFFER_ID = "trek-trial-7-days"
internal fun newest(purchases: List<Purchase>, prefix: String): Purchase? = purchases
.filter { p -> p.purchaseState == Purchase.PurchaseState.PURCHASED && p.products.any { it.startsWith(prefix) } }
+6 -10
View File
@@ -2,8 +2,7 @@ import { expect, test, type Locator } from '@playwright/test';
// #2981: labels, category and status took the whole row, so a place with two or
// three long labels showed one letter of its name or none, and the status pill
// ran out of the card. The labels are tags now, shown as dots behind the name.
// Measured in a real browser because the layout is the bug.
// ran out of the card. Measured in a real browser because the layout is the bug.
const PLACES = [
{ name: 'Oceanario de Lisboa', labels: ['Core shortlist', 'Heritage specialist', 'Pair with another stop'] },
{ name: 'Cove of Ursa', labels: ['Heritage specialist', 'Pair with another stop'] },
@@ -84,14 +83,11 @@ for (const viewport of [
// The whole name fits: it is not cut to an ellipsis.
expect(await name.evaluate((el) => el.scrollWidth <= el.clientWidth + 1)).toBe(true);
await expectInside(row);
// The labels are the place's tags: dots behind the name, every name in their label.
const dots = row.locator('.li .t [role="img"]:not(.col-lrow-caticon)');
if (place.labels.length === 0) {
await expect(dots).toHaveCount(0);
} else {
const named = ((await dots.getAttribute('aria-label')) ?? '').split(', ');
expect([...named].sort()).toEqual([...place.labels].sort());
}
// Every label is either on the row or counted by its "+N" chip.
const shown = await row.locator('.col-lrow-label:not(.is-over)').count();
// Read without waiting: a row whose labels all fit has no "+N".
const [more] = await row.locator('.col-lrow-more').allTextContents();
expect(shown + (more ? Number(more.replace('+', '')) : 0)).toBe(place.labels.length);
}
// The map's label strip stays inside the map: whole, or folded into its button.
const topbar = page.locator('.col-map-topbar');
+3 -3
View File
@@ -31,7 +31,7 @@ test('#1432 iPad: the places list scrolls under a swipe', async ({ page }) => {
await page.getByText(title).first().click()
await expect(page).toHaveURL(/\/trips\/\d+/)
await expect(page.locator('.leaflet-container, .maplibregl-canvas, .mapboxgl-canvas').first()).toBeVisible({ timeout: 20_000 })
await expect(page.locator('.leaflet-container')).toBeVisible({ timeout: 20_000 })
const tripId = page.url().match(/\/trips\/(\d+)/)![1]
@@ -43,7 +43,7 @@ test('#1432 iPad: the places list scrolls under a swipe', async ({ page }) => {
expect(res.ok(), `seed place ${i}`).toBeTruthy()
}
await page.reload()
await expect(page.locator('.leaflet-container, .maplibregl-canvas, .mapboxgl-canvas').first()).toBeVisible({ timeout: 20_000 })
await expect(page.locator('.leaflet-container')).toBeVisible({ timeout: 20_000 })
// An iPad is inside the 768-1023px band, where only one side panel is open at a
// time so the map keeps a usable width (#2247). The places list is one tap away.
@@ -88,7 +88,7 @@ test('#1432 iPad: the places list scrolls under a swipe', async ({ page }) => {
// 3. The iPad must still get the desktop shell — isMobile stayed width-based. One
// panel at a time (#2247), so opening Places closed the day plan and left its
// tab as the way back.
await expect(page.locator('.leaflet-container, .maplibregl-canvas, .mapboxgl-canvas').first()).toBeVisible()
await expect(page.locator('.leaflet-container')).toBeVisible()
// The top tab bar has a button named Plan as well; the way back is the panel's
// own tab, which is accented while its panel is closed.
await expect(page.locator('button[aria-label="Plan"].bg-accent')).toBeVisible()
+2 -2
View File
@@ -22,7 +22,7 @@ test('desktop: reorder arrows are hidden-and-inert until the row is hovered', as
await page.getByText(title).first().click()
await expect(page).toHaveURL(/\/trips\/\d+/)
await expect(page.locator('.leaflet-container, .maplibregl-canvas, .mapboxgl-canvas').first()).toBeVisible({ timeout: 20_000 })
await expect(page.locator('.leaflet-container')).toBeVisible({ timeout: 20_000 })
// Two places on day 1, so the day plan renders rows carrying reorder arrows.
const tripId = page.url().match(/\/trips\/(\d+)/)![1]
@@ -38,7 +38,7 @@ test('desktop: reorder arrows are hidden-and-inert until the row is hovered', as
})
}
await page.reload()
await expect(page.locator('.leaflet-container, .maplibregl-canvas, .mapboxgl-canvas').first()).toBeVisible({ timeout: 20_000 })
await expect(page.locator('.leaflet-container')).toBeVisible({ timeout: 20_000 })
const row = page.locator('.dp-row').filter({ hasText: 'Alpha' }).first()
await expect(row).toBeVisible({ timeout: 20_000 })
+1 -3
View File
@@ -58,9 +58,7 @@ test('desktop: a stay booked in another session shows in the day plan without a
const hotel = `Mercure Hotel ${Date.now()}`;
const { tripId, dayIds } = await seedTrip(page.request, `Stay live ${Date.now()}`);
await openPlanner(page, tripId);
await expect(page.locator('.leaflet-container, .maplibregl-canvas, .mapboxgl-canvas').first()).toBeVisible({
timeout: 20_000,
});
await expect(page.locator('.leaflet-container')).toBeVisible({ timeout: 20_000 });
await bookElsewhere(browser, tripId, dayIds, hotel);
-4
View File
@@ -162,10 +162,6 @@ test('the saved hike difficulty dropdown fits above the field and keeps alpine c
const difficulty = page.getByRole('button', { name: 'Maximum trail difficulty', exact: true });
const difficultyMenu = page.getByRole('group', { name: 'Maximum trail difficulty', exact: true });
await difficulty.scrollIntoViewIfNeeded();
await difficulty.evaluate((button) => {
const rail = button.closest('[data-testid="tour-planner-editor-scroll"]');
if (rail) rail.scrollTop += button.getBoundingClientRect().bottom - rail.getBoundingClientRect().bottom + 12;
});
await difficulty.click();
await expectInside(difficultyMenu, scrollArea);
await expect(difficultyMenu).toHaveCSS('transform-origin', /px [1-9][0-9.]*px$/);
+2 -2
View File
@@ -24,6 +24,6 @@ test('open a trip and land in the planner with a map', async ({ page }) => {
await page.getByText(title).first().click()
await expect(page).toHaveURL(/\/trips\/\d+/)
// The planner shows its configured map once mounted.
await expect(page.locator('.leaflet-container, .maplibregl-canvas, .mapboxgl-canvas').first()).toBeVisible({ timeout: 20_000 })
// The planner shows a Leaflet map once mounted (past the splash screen).
await expect(page.locator('.leaflet-container')).toBeVisible({ timeout: 20_000 })
})
+2 -2
View File
@@ -102,9 +102,9 @@ test('#1809 iPhone: flow screens scroll the document, full-screen ones do not',
// deliberately do NOT scroll the document (and so keep the address bar), and
// the map must not collapse to zero height now that the shell has none.
await page.goto('/atlas')
await expect(page.locator('canvas[aria-label="Atlas"]')).toBeVisible({ timeout: 20_000 })
await expect(page.locator('.leaflet-container')).toBeVisible({ timeout: 20_000 })
const atlas = await page.evaluate(() => {
const map = document.querySelector('canvas[aria-label="Atlas"]') as HTMLElement
const map = document.querySelector('.leaflet-container') as HTMLElement
window.scrollBy(0, 400)
return {
top: document.scrollingElement!.scrollTop,
@@ -1,6 +1,6 @@
TREK is a travel planner for the trips you take with other people. Plan the days together, see every place on the map, keep bookings, costs and packing lists in one place, and still have all of it with you when the connection drops.
TREK is open source and connects to a TREK server. Use a server you run, connect to one your organisation provides, or try the public demo. Where available, you can subscribe to a managed instance through TREK Cloud. Google Play shows the price and billing period for your storefront before purchase.
TREK is open source and works with a TREK server: one you run yourself, at home or on a rented server, one your organisation provides, or the public demo to try it out. Your trips stay on that server. The makers of TREK receive none of your data.
PLAN TOGETHER
• Days with places, notes, transports and stays, in order and on the map
@@ -17,8 +17,8 @@ ON THE ROAD
• A travel journal with photos, and an atlas of the countries you have visited
YOUR DATA
• Your trips are stored on the TREK server you choose
• No account with us, no tracking, no ads
• Sign in with a password, a passkey or your organisation's single sign-on
• Available in 27 languages
On the first screen you can enter your server address, choose TREK Cloud, or tap "Try the demo". To run your own server, see github.com/liketrek/TREK.
To use the app you need the address of a TREK server. Without one yet, tap "Try the demo" on the first screen, or read how to run your own at github.com/liketrek/TREK.
@@ -1,6 +1,6 @@
TREK is a travel planner for the trips you take with other people. Plan the days together, see every place on the map, keep bookings, costs and packing lists in one place, and still have all of it with you when the connection drops.
TREK is open source and connects to a TREK server. Use a server you run, connect to one your organisation provides, or try the public demo. Where available, you can subscribe to a managed instance through TREK Cloud. The App Store shows the price and billing period for your storefront before purchase.
TREK is open source and works with a TREK server: one you run yourself, at home or on a rented server, one your organisation provides, or the public demo to try it out. Your trips stay on that server. The makers of TREK receive none of your data.
PLAN TOGETHER
• Days with places, notes, transports and stays, in order and on the map
@@ -17,8 +17,8 @@ ON THE ROAD
• A travel journal with photos, and an atlas of the countries you have visited
YOUR DATA
• Your trips are stored on the TREK server you choose
• No account with us, no tracking, no ads
• Sign in with a password, a passkey or your organisation's single sign-on
• Available in 27 languages
On the first screen you can enter your server address, choose TREK Cloud, or tap "Try the demo". To run your own server, see github.com/liketrek/TREK.
To use the app you need the address of a TREK server. Without one yet, tap "Try the demo" on the first screen, or read how to run your own at github.com/liketrek/TREK.
+3 -39
View File
@@ -688,40 +688,14 @@ extension TrekShellPlugin {
let ids = call.getArray("ids", String.self) ?? []
Task {
let sandbox = await Self.buysInSandbox()
guard !ids.isEmpty, AppStore.canMakePayments, let products = try? await Product.products(for: ids) else {
guard AppStore.canMakePayments, let products = try? await Product.products(for: ids) else {
call.resolve(["products": [], "sandbox": sandbox])
return
}
var canStartTrial = false
if products.contains(where: Self.hasSevenDayFreeTrial) {
canStartTrial = await TrekStore.currentEntitlement(prefix: "cloud.") == nil
}
var groupEligibility: [String: Bool] = [:]
var rows: [[String: Any]] = []
for product in products {
var freeTrial = false
if canStartTrial, Self.hasSevenDayFreeTrial(product), let subscription = product.subscription {
let group = subscription.subscriptionGroupID
if let cached = groupEligibility[group] {
freeTrial = cached
} else {
freeTrial = await subscription.isEligibleForIntroOffer
groupEligibility[group] = freeTrial
}
}
rows.append(["id": product.id, "displayPrice": product.displayPrice, "freeTrial": freeTrial])
}
call.resolve(["products": rows, "sandbox": sandbox])
call.resolve(["products": products.map { ["id": $0.id, "displayPrice": $0.displayPrice] }, "sandbox": sandbox])
}
}
private static func hasSevenDayFreeTrial(_ product: Product) -> Bool {
guard let offer = product.subscription?.introductoryOffer,
offer.paymentMode == .freeTrial, offer.price == 0, offer.periodCount == 1 else { return false }
return (offer.period.unit == .week && offer.period.value == 1)
|| (offer.period.unit == .day && offer.period.value == 7)
}
/// Whether this build buys in the App Store sandbox: TestFlight, App Review and
/// Xcode builds do, and while TREK Cloud's orders are closed only they may buy.
/// The signed app transaction names its environment; the receipt's file name,
@@ -752,7 +726,6 @@ extension TrekShellPlugin {
call.reject("productId is required")
return
}
let trialRenewalPrice = call.getString("trialRenewalPrice")
Task {
// One subscription per Apple ID: another plan would change it, not add one.
// A held one that was delivered stops the purchase here. One that was paid
@@ -767,18 +740,9 @@ extension TrekShellPlugin {
}
do {
guard let product = try await Product.products(for: [id]).first else {
call.resolve(["kind": trialRenewalPrice == nil ? "failed" : "offer-changed"])
call.resolve(["kind": "failed"])
return
}
if let trialRenewalPrice {
guard product.displayPrice == trialRenewalPrice, Self.hasSevenDayFreeTrial(product),
let subscription = product.subscription,
await subscription.isEligibleForIntroOffer else {
call.resolve(["kind": "offer-changed"])
return
}
}
// StoreKit applies an eligible introductory offer in its purchase sheet.
switch try await product.purchase() {
case .success(let verification):
guard case .verified(let transaction) = verification else {
+130 -258
View File
@@ -7,21 +7,14 @@ import { PASSWORD_MIN_LENGTH, passwordProblem, passwordRuleStates } from '../../
import logoWhite from '../public/logo-light.svg'; // #fff wordmark, for the landscape
import { pageUnderStatusBar } from '../src/native/appBoot';
import { AUTH_GATE_NAMES, canSignInInApp, type AuthGate } from '../src/native/authGate';
import {
isNewCloudPlan,
matchesPurchaseAgreement,
opensSoon,
planForUnclaimedPurchase,
refundedBeforeOpening,
type CloudPurchaseAgreement,
} from '../src/native/cloudOrders';
import { fakeIapClient, getIapClient, productIdFor, type IapProduct, type Purchase } from '../src/native/iap';
import { opensSoon, refundedBeforeOpening } from '../src/native/cloudOrders';
import { fakeIapClient, getIapClient, productIdFor, type Purchase } from '../src/native/iap';
import {
APP_STORE_SUBSCRIPTIONS_URL,
AUTH_PROXY_DOCS_URL,
CLIENT_CERT_DOCS_URL,
CLOUD_TERMS_URL,
CLOUD_URL as PRODUCTION_CLOUD_URL,
CLOUD_URL,
PLAY_SUBSCRIPTIONS_URL,
PRIVACY_URL,
STORE_TERMS_URL,
@@ -57,13 +50,6 @@ document.documentElement.dir = directionOf(locale);
const root = document.getElementById('shell')!;
const PROBE_TIMEOUT_MS = 8000;
const cloudSandbox = typeof __TREK_STORE_SANDBOX_ORIGIN__ === 'string' ? __TREK_STORE_SANDBOX_ORIGIN__ : undefined;
const CLOUD_URL = cloudSandbox ?? PRODUCTION_CLOUD_URL;
const cloudHttpOptions = {
connectTimeout: PROBE_TIMEOUT_MS,
readTimeout: PROBE_TIMEOUT_MS,
...(cloudSandbox ? { disableRedirects: true } : {}),
};
const iap = getIapClient();
/**
@@ -112,30 +98,6 @@ const get: ProbeGet = async (url) => {
}
};
// Keep Cloud sandbox requests on their requested host, including during tenant provisioning.
const cloudGet: ProbeGet = cloudSandbox ? (url) => CapacitorHttp.get({ url, ...cloudHttpOptions }) : get;
function isCloudSandboxTenant(address: string, sandboxOrigin: string): boolean {
let tenant: URL;
try {
tenant = new URL(address);
} catch {
return false;
}
const suffix = `.${new URL(sandboxOrigin).hostname}`;
const slug = tenant.hostname.slice(0, -suffix.length);
return (
tenant.origin === `https://${tenant.hostname}` &&
!tenant.username &&
!tenant.password &&
tenant.hostname.endsWith(suffix) &&
/^[a-z0-9-]+$/.test(slug) &&
tenant.pathname === '/' &&
!tenant.search &&
!tenant.hash
);
}
function failureMessage(reason: ProbeFailure): string {
switch (reason) {
case 'invalid':
@@ -189,11 +151,11 @@ const I = {
globe: 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20M2 12h20M12 2a15 15 0 0 1 0 20 15 15 0 0 1 0-20',
image:
'M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM8.5 10a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM21 15l-5-5L5 21',
spark: 'M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z',
people:
'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75',
shield: 'M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10',
check: 'M20 6 9 17l-5-5',
cross: 'M6 6l12 12M18 6 6 18',
lock: 'M6 11h12a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2zM8 11V8a4 4 0 0 1 8 0v3',
key: 'M7.5 20a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9zM10.7 12.3 21 2M16 7l3 3M14 9l2 2',
alert: 'M12 21.5a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19zM12 7.5v5.5M12 16.5h.01',
@@ -352,8 +314,7 @@ function showWelcome(opts: { back?: boolean } = {}): void {
const perk = (glyph: string, title: string, sub: string) =>
el('div', {}, el('i', {}, icon(glyph, 17)), el('span', {}, el('b', {}, title), el('small', {}, sub)));
const trial = el('span', { className: 'trial-badge', hidden: true }, t('native.trial.badge'));
const discover = el('button', { type: 'button', className: 'cta discover' }, t('native.welcome.discover'), trial);
const discover = el('button', { type: 'button', className: 'cta' }, t('native.welcome.discover'));
discover.addEventListener('click', () => {
void tap();
showPlans();
@@ -364,7 +325,7 @@ function showWelcome(opts: { back?: boolean } = {}): void {
showConnect();
});
const screen = show(
show(
'welcome',
WELCOME_CAMERA,
{
@@ -389,9 +350,6 @@ function showWelcome(opts: { back?: boolean } = {}): void {
},
opts
);
void availableWelcomeTrial().then((available) => {
if (screen.node.isConnected) trial.hidden = !available;
});
}
// ── Connect (address) ───────────────────────────────────────────────────────
@@ -703,14 +661,13 @@ interface CloudPlan {
/** Absent while orders are closed: the cloud names its plans but no price leaves it then. */
monthlyCents?: number;
yearlyCents?: number;
currency?: 'EUR' | 'USD';
aiDocuments: number;
aiDocumentLimit?: number | null;
aiAssistant?: 'planned' | 'included' | 'unavailable';
bookingMailImport?: boolean;
storageGb: number;
}
function money(cents: number): string {
return new Intl.NumberFormat(locale, { style: 'currency', currency: 'EUR' }).format(cents / 100);
}
function count(n: number): string {
return new Intl.NumberFormat(locale).format(n);
}
@@ -719,46 +676,25 @@ function count(n: number): string {
// during development, so its /api/plans is unreachable from a local build. Never
// used in a real build (see the import.meta.env.DEV guard below).
const SAMPLE_PLANS: CloudPlan[] = [
{
id: 'start',
name: 'Start',
monthlyCents: 599,
yearlyCents: 4899,
currency: 'USD',
aiDocuments: 0,
aiDocumentLimit: 0,
storageGb: 50,
},
{
id: 'plus',
name: 'Plus',
monthlyCents: 1199,
yearlyCents: 9900,
currency: 'USD',
aiDocuments: 100,
aiDocumentLimit: null,
aiAssistant: 'included',
bookingMailImport: true,
storageGb: 50,
},
{ id: 'start', name: 'Start', monthlyCents: 490, yearlyCents: 4900, aiDocuments: 0, storageGb: 10 },
{ id: 'basis', name: 'Basis', monthlyCents: 790, yearlyCents: 7900, aiDocuments: 25, storageGb: 10 },
{ id: 'plus', name: 'Plus', monthlyCents: 1290, yearlyCents: 12900, aiDocuments: 100, storageGb: 25 },
{ id: 'pro', name: 'Pro', monthlyCents: 1990, yearlyCents: 19900, aiDocuments: 150, storageGb: 50 },
];
interface CloudPlans {
plans: CloudPlan[];
/** Orders are closed: only a test build may buy, and the store charges it nothing. */
closed: boolean;
/** Only the live catalogue's explicit opening permits customer trial advertising. */
open?: boolean;
}
async function fetchPlans(): Promise<CloudPlans | null> {
try {
const res = await cloudGet(`${CLOUD_URL}/api/plans`);
const res = await get(`${CLOUD_URL}/api/plans`);
const data = typeof res.data === 'string' ? JSON.parse(res.data) : res.data;
const body = (data ?? {}) as { plans?: CloudPlan[]; ordering?: string };
const plans = Array.isArray(body.plans) ? body.plans.filter((plan) => isNewCloudPlan(plan.id)) : [];
if (plans.length)
return { plans, closed: body.ordering === 'closed', open: res.status === 200 && body.ordering === 'open' };
if (Array.isArray(body.plans) && body.plans.length)
return { plans: body.plans, closed: body.ordering === 'closed' };
} catch {
// Fall through to the preview fallback.
}
@@ -774,44 +710,17 @@ async function fetchPlans(): Promise<CloudPlans | null> {
*/
interface Offer {
canBuy: boolean;
storeProducts: Map<string, IapProduct> | null;
canShowTrial: boolean;
storePrices: Map<string, string> | null;
/** Orders are closed and this is no test build: the plans show, nothing is for sale yet. */
opensSoon: boolean;
}
function offerFor(
offer: Offer,
plan: CloudPlan,
interval: 'month' | 'year'
): { label: string; buyable: boolean; freeTrial: boolean } {
if (!offer.canBuy) return { label: '', buyable: false, freeTrial: false };
if (iap !== fakeIapClient) {
const product = offer.storeProducts?.get(productIdFor(plan.id, interval));
const label = product?.displayPrice ?? '';
return {
label,
buyable: label !== '',
freeTrial: label !== '' && offer.canShowTrial && product?.freeTrial === true,
};
}
function offerFor(offer: Offer, plan: CloudPlan, interval: 'month' | 'year'): { label: string; buyable: boolean } {
const cents = interval === 'year' ? plan.yearlyCents : plan.monthlyCents;
const currency = plan.currency ?? 'EUR';
const label =
typeof cents === 'number' ? new Intl.NumberFormat(locale, { style: 'currency', currency }).format(cents / 100) : '';
return { label, buyable: label !== '', freeTrial: false };
}
function storeIds(plans: CloudPlan[]): string[] {
return plans.flatMap((p) => [productIdFor(p.id, 'month'), productIdFor(p.id, 'year')]);
}
async function availableWelcomeTrial(): Promise<boolean> {
if (iap === fakeIapClient || !(await iapReady)) return false;
const list = await fetchPlans();
if (!list?.open) return false;
const products = await iap.products(storeIds(list.plans));
return Array.from(products.values()).some((product) => product.freeTrial && product.displayPrice !== '');
const ours = typeof cents === 'number' ? money(cents) : '';
const storePrice = offer.storePrices?.get(productIdFor(plan.id, interval));
if (offer.storePrices) return { label: storePrice ?? ours, buyable: offer.canBuy && !!storePrice };
return { label: ours, buyable: offer.canBuy && ours !== '' };
}
async function loadOffer(list: CloudPlans): Promise<Offer> {
@@ -821,61 +730,39 @@ async function loadOffer(list: CloudPlans): Promise<Offer> {
const sandbox = list.closed && !onPlay ? await iap.isSandbox().catch(() => false) : false;
const soon = opensSoon({ available, closed: list.closed, sandbox, onPlay });
const canBuy = available && !soon;
if (!canBuy || iap === fakeIapClient) return { canBuy, storeProducts: null, canShowTrial: false, opensSoon: soon };
return {
canBuy,
storeProducts: await iap.products(storeIds(list.plans)),
canShowTrial: list.open === true,
opensSoon: soon,
};
if (!canBuy || iap === fakeIapClient) return { canBuy, storePrices: null, opensSoon: soon };
const ids = list.plans.flatMap((p) => [productIdFor(p.id, 'month'), productIdFor(p.id, 'year')]);
return { canBuy, storePrices: await iap.prices(ids), opensSoon: soon };
}
function planFeatures(plan: CloudPlan): HTMLLIElement[] {
const row = (label: string, value: string, glyph: string, unavailable = false) =>
el(
'li',
{ className: unavailable ? 'spec off' : 'spec' },
el('i', {}, icon(glyph, 16)),
el('b', {}, label),
el('bdi', {}, value)
);
const feature = (label: string, included: boolean) =>
row(
label,
t(included ? 'native.plans.included' : 'native.plans.notIncluded'),
included ? I.check : I.cross,
!included
);
/** The plan the picker starts on and marks: the smallest one with AI documents, the one most trips want. */
function recommendedPlan(plans: CloudPlan[]): CloudPlan | undefined {
return plans.find((p) => p.aiDocuments > 0) ?? plans[0];
}
const storage = plan.storageGb >= 1000 ? `${count(plan.storageGb / 1000)} TB` : `${count(plan.storageGb)} GB`;
const aiDocuments = plan.aiDocumentLimit === null || (plan.aiDocumentLimit ?? plan.aiDocuments) > 0;
return [
row(t('native.plans.storage'), storage, I.image),
feature(t('native.plans.aiLabel'), aiDocuments),
feature(t('native.plans.assistant'), plan.aiAssistant === 'included'),
feature(t('native.plans.mailImport'), plan.bookingMailImport === true),
row(t('native.plans.unlimitedSub'), t('native.plans.unlimited'), I.people),
];
/** The kind of trip each plan is for: a weekend away, a round trip, a long journey, the whole world. */
const TRIPS: Record<string, { titleKey: string; textKey: string }> = {
start: { titleKey: 'native.trip.start.title', textKey: 'native.trip.start.text' },
basis: { titleKey: 'native.trip.basis.title', textKey: 'native.trip.basis.text' },
plus: { titleKey: 'native.trip.plus.title', textKey: 'native.trip.plus.text' },
pro: { titleKey: 'native.trip.pro.title', textKey: 'native.trip.pro.text' },
};
/** A plan's trip, its title and one line; a plan the app does not know keeps its own name. */
function tripOf(plan: CloudPlan): { title: string; text: string } {
const trip = TRIPS[plan.id];
return trip ? { title: t(trip.titleKey), text: t(trip.textKey) } : { title: plan.name, text: '' };
}
function per(interval: 'month' | 'year'): string {
return interval === 'year' ? t('native.plans.perYear') : t('native.plans.perMonth');
}
function trialPrice(price: string, interval: 'month' | 'year'): string {
return t('native.trial.price', { price, period: per(interval) });
}
function trialCancellation(): string {
return t(onPlay ? 'native.trial.cancelPlay' : 'native.trial.cancelApple');
}
/** The restore button of the plans on screen, which redeems a payment that cleared later. */
let resumeRestore: (() => void) | null = null;
let watchingTransactions = false;
/** Where the camera stood on the plan chosen last, for the screens that follow it. */
let chosenCamera: Camera = cameraForPlan(1);
/** Restore a choice when returning from setup. A fresh entry opens Plus. */
/** The plan chosen last, so coming back to the plans finds it still chosen. */
let chosenPlanId: string | null = null;
let chosenInterval: 'month' | 'year' = 'month';
@@ -884,7 +771,7 @@ let chosenInterval: 'month' | 'year' = 'month';
* phone). Found and redeemed: the instance it belongs to opens. Paid but never
* set up: the claim screen takes the purchase as it is, so nothing is bought twice.
*/
function restoreButton(plans: CloudPlan[]): HTMLButtonElement {
function restoreButton(offer: Offer, plans: CloudPlan[]): HTMLButtonElement {
const restore = el('button', { type: 'button', className: 'link' }, t('native.plans.restore'));
const say = (text: string) => {
restore.classList.add('msg');
@@ -908,10 +795,13 @@ function restoreButton(plans: CloudPlan[]): HTMLButtonElement {
return;
}
// Paid but never set up (Ask to Buy approved later, the app closed mid-purchase).
const unclaimed = planForUnclaimedPurchase(purchase.productId, redeemed.code);
if (unclaimed) {
const plan = plans.find((candidate) => candidate.id === unclaimed.plan.id) ?? unclaimed.plan;
showClaim(plan, unclaimed.interval, '', { bought: purchase });
const unclaimed = redeemed.code === 'email-invalid' || (redeemed.code ?? '').startsWith('slug-');
const match = /^cloud\.([a-z0-9-]+)\.(monthly|yearly)$/.exec(purchase.productId);
const plan = match ? plans.find((p) => p.id === match[1]) : undefined;
if (unclaimed && match && plan) {
const interval = match[2] === 'yearly' ? 'year' : 'month';
const { label } = offerFor(offer, plan, interval);
showClaim(plan, interval, label, { bought: purchase });
return;
}
void notify(NotificationType.Error);
@@ -940,11 +830,14 @@ function restoreButton(plans: CloudPlan[]): HTMLButtonElement {
function showPlans(opts: { back?: boolean } = {}): void {
let interval: 'month' | 'year' = chosenInterval;
let plans: CloudPlan[] = [];
let offer: Offer = { canBuy: false, storeProducts: null, canShowTrial: false, opensSoon: false };
let offer: Offer = { canBuy: false, storePrices: null, opensSoon: false };
let selectedId: string | null = null;
const tiers = el('div', { className: 'tiers', role: 'radiogroup', hidden: true });
tiers.setAttribute('aria-label', t('native.plans.title'));
const title = el('h1', {});
const text = el('p', {});
const trip = el('div', { className: 'trip' }, title, text);
const monthBtn = el('button', { type: 'button', role: 'radio' }, t('native.plans.monthly'));
const yearBtn = el('button', { type: 'button', role: 'radio' }, t('native.plans.yearly'));
@@ -961,20 +854,18 @@ function showPlans(opts: { back?: boolean } = {}): void {
const pricePer = el('span', {});
const price = el('div', { className: 'price' }, priceValue, pricePer);
const equals = el('div', { className: 'equals' });
const trial = el('p', { className: 'trial-price', hidden: true });
const pricebox = el('div', { className: 'pricebox' }, cycle, price, equals, trial);
const specs = el('ul', { className: 'specs', role: 'list' });
const pricebox = el('div', { className: 'pricebox' }, cycle, price, equals);
const specs = el('div', { className: 'specs' });
const foot = el('div', { className: 'pad', hidden: true });
const legal = el('p', { className: 'legal' });
const loading = el('div', { className: 'loading' }, el('span', { className: 'spin' }));
const details = el('div', { className: 'stack', hidden: true }, pricebox, specs);
const details = el('div', { className: 'stack', hidden: true }, trip, pricebox, specs);
const choose = el('button', { type: 'button', className: 'cta', hidden: true });
const dock = el('div', { className: 'dock' }, choose);
const screen = show(
'plain',
opts.back ? chosenCamera : cameraForPlan(1),
chosenCamera,
{
back: () => showWelcome({ back: true }),
content: [el('div', { className: 'pad lift' }, tiers, loading, details), foot, dock],
@@ -1010,10 +901,6 @@ function showPlans(opts: { back?: boolean } = {}): void {
const plan = selected();
if (!plan) return;
const index = plans.indexOf(plan);
const month = offerFor(offer, plan, 'month');
const year = offerFor(offer, plan, 'year');
if (interval === 'month' && !month.buyable && year.buyable) interval = 'year';
if (interval === 'year' && !year.buyable && month.buyable) interval = 'month';
tiers
.querySelectorAll<HTMLButtonElement>('button')
.forEach((b) => b.setAttribute('aria-checked', String(b.dataset.plan === plan.id)));
@@ -1021,35 +908,58 @@ function showPlans(opts: { back?: boolean } = {}): void {
yearBtn.setAttribute('aria-checked', String(interval === 'year'));
cycle.dataset.year = String(interval === 'year');
const { label, buyable, freeTrial } = interval === 'month' ? month : year;
// An introductory offer states the free period and renewal price together.
price.hidden = !label || freeTrial;
pricePer.textContent = per(interval);
if (label && !freeTrial) paintPrice(label, animate);
const { title: tripTitle, text: tripText } = tripOf(plan);
const recommended = recommendedPlan(plans)?.id === plan.id;
title.replaceChildren(
tripTitle,
...(recommended ? [el('span', { className: 'badge' }, t('native.plans.recommended'))] : [])
);
text.textContent = tripText;
text.hidden = !tripText;
const { label, buyable } = offerFor(offer, plan, interval);
// No price yet (orders not open): the plan shows without one rather than with an empty one.
price.hidden = !label;
pricePer.textContent = per(interval);
if (label) paintPrice(label, animate);
const year = offerFor(offer, plan, 'year').label;
// Without a price in either period (orders not open yet) the switch would choose between nothing.
pricebox.hidden = !month.label && !year.label;
monthBtn.disabled = !month.label;
yearBtn.disabled = !year.label;
const yearAmount = amountIn(year.label);
pricebox.hidden = !label && !year;
const yearAmount = amountIn(year);
equals.textContent =
!label || !year.label || freeTrial
!label || !year
? ''
: interval === 'month'
? t('native.plans.yearlyIs', { price: year.label })
? t('native.plans.yearlyIs', { price: year })
: yearAmount
? t('native.plans.monthlyIs', { price: yearAmount.render(yearAmount.value / 12) })
: '';
trial.hidden = !freeTrial;
trial.textContent = freeTrial ? trialPrice(label, interval) : '';
legal.textContent = freeTrial
? trialCancellation()
: t(onPlay ? 'native.plans.legalAndroid' : 'native.plans.legal');
specs.replaceChildren(...planFeatures(plan));
const gb = plan.storageGb >= 1000 ? `${count(plan.storageGb / 1000)} TB` : `${count(plan.storageGb)} GB`;
const tile = (glyph: string, big: string, small: string, off = false) =>
el(
'span',
{ className: off ? 'spec off' : 'spec' },
el('i', {}, icon(glyph, 17)),
el('span', {}, el('b', {}, big), el('small', {}, small))
);
specs.replaceChildren(
// About 3 MB a photo, as a phone takes them: a size people can picture.
tile(I.image, gb, t('native.plans.photos', { n: count(plan.storageGb * 300) })),
plan.aiDocuments > 0
? tile(I.spark, t('native.plans.aiPerMonth', { n: count(plan.aiDocuments) }), t('native.plans.aiLabel'))
: tile(I.spark, t('native.plans.aiNone'), t('native.plans.aiLabel'), true),
el(
'span',
{ className: 'spec wide' },
el('i', {}, icon(I.people, 17)),
el('span', {}, el('b', {}, t('native.plans.unlimited')), el('small', {}, t('native.plans.unlimitedSub'))),
el('em', {}, t('native.plans.inEveryPlan'))
)
);
choose.hidden = !buyable;
choose.textContent = t('native.plans.choose', { plan: plan.name });
choose.textContent = t('native.plans.choose', { trip: tripTitle });
chosenCamera = cameraForPlan(index);
chosenPlanId = plan.id;
chosenInterval = interval;
@@ -1072,9 +982,6 @@ function showPlans(opts: { back?: boolean } = {}): void {
choose.addEventListener('click', async () => {
const plan = selected();
if (!plan) return;
const selectedInterval = interval;
const price = offerFor(offer, plan, selectedInterval);
if (!price.buyable) return;
void tap(ImpactStyle.Medium);
// A store account with a running subscription buys nothing more: say so before the form.
choose.disabled = true;
@@ -1084,7 +991,7 @@ function showPlans(opts: { back?: boolean } = {}): void {
showSubscribed();
return;
}
showClaim(plan, selectedInterval, price.label, { freeTrial: price.freeTrial });
showClaim(plan, interval, offerFor(offer, plan, interval).label);
});
const load = async () => {
@@ -1102,9 +1009,7 @@ function showPlans(opts: { back?: boolean } = {}): void {
}
offer = await loadOffer(list);
plans = list.plans;
const previousId = opts.back ? chosenPlanId : null;
selectedId =
plans.find((p) => p.id === previousId)?.id ?? plans.find((p) => p.id === 'plus')?.id ?? plans[0]?.id ?? null;
selectedId = plans.find((p) => p.id === chosenPlanId)?.id ?? recommendedPlan(plans)?.id ?? null;
tiers.replaceChildren(
...plans.map((p) => {
const b = el('button', { type: 'button', role: 'radio', dataset: { plan: p.id } }, p.name);
@@ -1127,7 +1032,7 @@ function showPlans(opts: { back?: boolean } = {}): void {
);
} else {
foot.replaceChildren(
legal,
el('p', { className: 'legal' }, t(onPlay ? 'native.plans.legalAndroid' : 'native.plans.legal')),
el(
'div',
{ className: 'legal-links' },
@@ -1136,8 +1041,8 @@ function showPlans(opts: { back?: boolean } = {}): void {
externalLink(t('native.plans.privacyShort'), PRIVACY_URL)
)
);
dock.append(restoreButton(offer, plans));
}
if (offer.canBuy || offer.opensSoon) dock.append(restoreButton(plans));
foot.hidden = false;
paint(true);
};
@@ -1149,7 +1054,7 @@ type SlugStatus = 'available' | 'taken' | 'invalid' | 'reserved' | 'error';
async function slugStatus(slug: string): Promise<SlugStatus> {
try {
const res = await cloudGet(`${CLOUD_URL}/api/slug/check?slug=${encodeURIComponent(slug)}`);
const res = await get(`${CLOUD_URL}/api/slug/check?slug=${encodeURIComponent(slug)}`);
const data = typeof res.data === 'string' ? JSON.parse(res.data) : res.data;
const status = (data as { status?: string })?.status;
if (status === 'available' || status === 'taken' || status === 'invalid' || status === 'reserved') return status;
@@ -1164,17 +1069,20 @@ async function slugStatus(slug: string): Promise<SlugStatus> {
* (terms § 2 (1a), § 327h BGB), as the control plane words and versions it. The
* app shows the server's text, never its own, and sends back the version it showed.
*/
async function fetchConsent(): Promise<CloudPurchaseAgreement | null> {
interface DeviationsConsent {
version: string;
text: string;
}
async function fetchConsent(): Promise<DeviationsConsent | null> {
try {
const res = await CapacitorHttp.get({
url: `${CLOUD_URL}/api/iap/consent`,
params: { lang: locale === 'de' ? 'de' : 'en' },
...cloudHttpOptions,
connectTimeout: PROBE_TIMEOUT_MS,
readTimeout: PROBE_TIMEOUT_MS,
});
const data = typeof res.data === 'string' ? JSON.parse(res.data) : res.data;
const body = (data ?? {}) as { version?: unknown; deviations?: unknown; iapEnvironment?: unknown };
const body = (data ?? {}) as { version?: unknown; deviations?: unknown };
if (res.status !== 200 || typeof body.version !== 'string' || typeof body.deviations !== 'string') return null;
if (cloudSandbox && body.iapEnvironment !== 'sandbox') return null;
if (!body.version || !body.deviations) return null;
return { version: body.version, text: body.deviations };
} catch {
@@ -1202,7 +1110,8 @@ async function redeemPurchase(
const res = await CapacitorHttp.post({
url: `${CLOUD_URL}/api/iap/redeem`,
headers: { 'content-type': 'application/json' },
...cloudHttpOptions,
connectTimeout: PROBE_TIMEOUT_MS,
readTimeout: PROBE_TIMEOUT_MS,
// The language of the contract confirmation mail.
data: {
platform: purchase.platform,
@@ -1220,9 +1129,6 @@ async function redeemPurchase(
const data = typeof res.data === 'string' ? JSON.parse(res.data) : res.data;
const body = (data ?? {}) as { instanceUrl?: string; code?: string; welcome?: string };
if ((res.status === 200 || res.status === 201) && typeof body.instanceUrl === 'string') {
if (cloudSandbox && !isCloudSandboxTenant(body.instanceUrl, cloudSandbox)) {
return { ok: false, code: 'redeem-failed' };
}
const welcome =
typeof body.welcome === 'string' && /^[A-Za-z0-9_-]{43}$/.test(body.welcome) ? body.welcome : undefined;
return { ok: true, instanceUrl: body.instanceUrl, ...(welcome ? { welcome } : {}) };
@@ -1234,10 +1140,10 @@ async function redeemPurchase(
}
function showClaim(
plan: Pick<CloudPlan, 'id' | 'name'>,
plan: CloudPlan,
interval: 'month' | 'year',
priceLabel: string,
opts: { back?: boolean; bought?: Purchase; freeTrial?: boolean } = {}
opts: { back?: boolean; bought?: Purchase } = {}
): void {
/** A purchase that went through but whose redeem did not: a retry redeems it again instead of buying twice. */
let bought: Purchase | null = opts.bought ?? null;
@@ -1321,7 +1227,7 @@ function showClaim(
};
// The § 327h agreement, asked on its own before anything is bought.
let consent: CloudPurchaseAgreement | null = null;
let consent: DeviationsConsent | null = null;
const consentBox = el('input', { type: 'checkbox' });
const consentText = el('span', { className: 'consent-text' }, t('native.claim.consentLoading'));
const consentField = el(
@@ -1330,26 +1236,18 @@ function showClaim(
consentBox,
el('span', {}, el('strong', {}, t('native.claim.consentTitle')), consentText)
);
const showConsent = (current: CloudPurchaseAgreement | null): void => {
consent = current;
const loadConsent = async (): Promise<DeviationsConsent | null> => {
consentBox.checked = false;
consentBox.disabled = consent === null;
consentText.textContent = consent ? consent.text : t('native.claim.consentUnavailable');
};
const loadConsent = async (): Promise<CloudPurchaseAgreement | null> => {
consentBox.disabled = true;
consentText.textContent = t('native.claim.consentLoading');
showConsent(await fetchConsent());
consent = await fetchConsent();
consentBox.disabled = consent === null;
consentText.textContent = consent ? consent.text : t('native.claim.consentUnavailable');
return consent;
};
void loadConsent();
const subscribeLabel = () =>
bought
? t('native.claim.completeSetup')
: opts.freeTrial
? t('native.trial.badge')
: t('native.claim.subscribe', { price: priceLabel });
const subscribeLabel = () => t('native.claim.subscribe', { price: priceLabel });
const submit = el('button', { type: 'button', className: 'cta' }, subscribeLabel());
// What is about to be bought, so nobody pays for a plan they did not mean.
const change = el('button', { type: 'button' }, t('native.claim.change'));
@@ -1357,25 +1255,14 @@ function showClaim(
void tap();
showPlans({ back: true });
});
const planPrice = !priceLabel
? null
: opts.freeTrial
? el('small', {}, trialPrice(priceLabel, interval))
: el('small', { dir: 'ltr' }, `${priceLabel} ${per(interval)}`);
const planRow = el(
'div',
{ className: 'plan-row' },
el('span', {}, el('b', {}, plan.name), ...(planPrice ? [planPrice] : [])),
el('span', {}, el('b', {}, plan.name), el('small', { dir: 'ltr' }, `${priceLabel} ${per(interval)}`)),
// A purchase already made is not a choice any more.
...(bought ? [] : [change])
);
const error = notice('');
const checkoutDock = el(
'div',
{ className: 'dock' },
submit,
el('p', { className: 'fine' }, opts.freeTrial ? trialCancellation() : t('native.claim.renews'))
);
const form = el(
'form',
{ className: 'pad form', noValidate: true },
@@ -1402,7 +1289,10 @@ function showClaim(
{
back: () => showPlans({ back: true }),
overlay: [card.node],
content: [form, checkoutDock],
content: [
form,
el('div', { className: 'dock' }, submit, el('p', { className: 'fine' }, t('native.claim.renews'))),
],
},
opts
);
@@ -1492,8 +1382,7 @@ function showClaim(
consentBox.focus();
return;
}
const acceptedConsent = consent;
const consentVersion = acceptedConsent?.version ?? null;
const consentVersion = consent ? consent.version : null;
void tap(ImpactStyle.Medium);
// The purchase sheet and the progress want the whole screen, not the keyboard.
@@ -1513,24 +1402,7 @@ function showClaim(
};
if (!bought) {
const currentConsent = await fetchConsent();
if (!form.isConnected) return;
if (!matchesPurchaseAgreement(acceptedConsent, currentConsent)) {
restore();
showConsent(currentConsent);
setNotice(error, t(currentConsent ? 'native.claim.consentRequired' : 'native.claim.consentUnavailable'));
if (currentConsent) consentBox.focus();
return;
}
const trialRenewalPrice = opts.freeTrial ? priceLabel : undefined;
const outcome = await iap.purchase(productIdFor(plan.id, interval), trialRenewalPrice);
if (outcome.kind === 'offer-changed') {
restore();
planPrice?.remove();
checkoutDock.hidden = true;
setNotice(error, t('native.trial.changed'));
return;
}
const outcome = await iap.purchase(productIdFor(plan.id, interval));
if (outcome.kind === 'cancelled') {
restore();
setNotice(error, t('native.claim.cancelled'));
@@ -1720,8 +1592,8 @@ function showProvisioning(instanceUrl: string, welcome?: string): void {
const deadline = Date.now() + 180_000;
const poll = async (): Promise<void> => {
if (!view.screen.node.isConnected) return;
const result = await probeServer(instanceUrl, cloudGet);
if (result.ok && (!cloudSandbox || new URL(result.url).origin === new URL(instanceUrl).origin)) {
const result = await probeServer(instanceUrl, get);
if (result.ok) {
await ready(result.url);
return;
}
+75 -69
View File
@@ -320,14 +320,14 @@ input {
overflow: hidden;
background: var(--sea);
margin-bottom: -1px;
height: max(calc(var(--safe-top) + 68px), min(252px, 30svh));
height: min(300px, 36svh);
}
.hero.tall {
height: min(320px, 38svh);
}
.hero.welcome {
height: min(352px, 42svh);
min-height: 236px;
height: min(376px, 44.5svh);
min-height: 250px;
}
.hero .scenery {
position: absolute;
@@ -529,7 +529,7 @@ input {
}
.push {
flex: 1;
min-height: clamp(10px, 2svh, 16px);
min-height: 0;
}
h1 {
margin: 0;
@@ -628,39 +628,6 @@ h1 {
font: 700 17px var(--text-face);
box-shadow: 0 14px 28px -14px rgba(17, 24, 39, 0.55);
}
.discover {
position: relative;
padding-inline: 16px;
}
.trial-badge,
.trial-price {
border: 1px solid #bee3d7;
background: #e7f6ef;
color: #195247;
}
.trial-badge {
position: absolute;
inset-block-start: 0;
inset-inline: 0;
inline-size: max-content;
max-inline-size: calc(100% - 20px);
margin-inline: auto;
padding: 3px 8px;
border-radius: 999px;
box-shadow: 0 2px 6px #11182720;
font: 700 11px/1.4 var(--text-face);
transform: translateY(calc(-100% + 6px));
}
.trial-price {
margin: 8px 6px 0;
padding: 10px 6px;
border-radius: 12px;
text-align: center;
font-size: 13px;
font-weight: 700;
line-height: 1.4;
overflow-wrap: anywhere;
}
.cta2 {
min-height: 52px;
background: #fff;
@@ -748,6 +715,33 @@ h1 {
color: var(--ink);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.trip {
min-width: 0;
margin-top: 10px;
}
.trip h1 {
font-size: 28px;
display: flex;
align-items: center;
gap: 10px;
white-space: nowrap;
}
.trip p {
margin: 6px 0 0;
color: var(--text);
font-size: 14px;
line-height: 1.4;
}
.badge {
font-family: var(--text-face);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.04em;
padding: 4px 10px;
border-radius: 999px;
background: var(--dark);
color: #fff;
}
.pricebox {
display: flex;
flex-direction: column;
@@ -829,52 +823,64 @@ h1 {
display: none;
}
.specs {
margin: 0;
padding: 0 12px;
list-style: none;
border-radius: 16px;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.spec {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
padding: 10px 12px;
border-radius: 14px;
background: #fff;
box-shadow: 0 0 0 1px var(--line);
}
.spec {
display: grid;
grid-template-columns: 28px minmax(0, 1.6fr) minmax(0, 1fr);
align-items: center;
gap: 8px;
min-height: 44px;
padding-block: 8px;
overflow-wrap: anywhere;
}
.spec + .spec {
border-block-start: 1px solid var(--line-soft);
}
.spec i {
width: 28px;
height: 28px;
border-radius: 8px;
width: 32px;
height: 32px;
flex: none;
border-radius: 10px;
display: grid;
place-items: center;
background: var(--sand);
color: var(--dark);
}
.spec b {
display: block;
font-size: 14px;
font-weight: 700;
line-height: 1.35;
font-weight: 800;
line-height: 1.2;
white-space: nowrap;
}
.spec bdi {
justify-self: end;
text-align: end;
font-size: 13px;
font-weight: 700;
line-height: 1.35;
}
.spec.off {
color: #626672;
.spec small {
display: block;
font-size: 11.5px;
color: var(--muted);
font-weight: 600;
line-height: 1.25;
white-space: nowrap;
}
.spec.off i {
background: #f0f1f3;
color: inherit;
color: var(--faint);
}
.spec.off b {
color: var(--muted);
}
.spec.wide {
grid-column: 1 / -1;
}
.spec.wide em {
margin-inline-start: auto;
font-style: normal;
font-size: 11.5px;
font-weight: 700;
color: var(--text);
background: var(--sand);
padding: 4px 9px;
border-radius: 999px;
white-space: nowrap;
}
.legal {
margin: 2px 0 0;
+22 -29
View File
@@ -53,15 +53,15 @@
"format:check": "prettier --check \"src/**/*.tsx\" \"src/**/*.css\""
},
"dependencies": {
"@assistant-ui/react": "0.15.38",
"@assistant-ui/react": "0.15.37",
"@capacitor/action-sheet": "^8.1.1",
"@capacitor/android": "^8.6.3",
"@capacitor/android": "^8.6.2",
"@capacitor/app": "^8.1.1",
"@capacitor/core": "^8.6.3",
"@capacitor/core": "^8.6.2",
"@capacitor/dialog": "^8.0.1",
"@capacitor/filesystem": "^8.1.6",
"@capacitor/filesystem": "^8.1.3",
"@capacitor/haptics": "^8.0.2",
"@capacitor/ios": "^8.6.3",
"@capacitor/ios": "^8.6.2",
"@capacitor/keyboard": "^8.0.5",
"@capacitor/share": "^8.0.1",
"@capacitor/splash-screen": "^8.0.2",
@@ -101,21 +101,19 @@
"@fontsource/satisfy": "^5.3.0",
"@fontsource/shrikhand": "^5.3.0",
"@fontsource/yellowtail": "^5.3.0",
"@lucide/icons": "1.82.0",
"@maplibre/maplibre-gl-leaflet": "0.1.4",
"@noble/hashes": "^2.4.0",
"@noble/hashes": "^1.8.0",
"@simplewebauthn/browser": "^14.0.0",
"@trek/shared": "*",
"axios": "^1.21.0",
"dexie": "^4.4.7",
"drag-drop-touch": "^1.3.1",
"earcut": "^3.0.2",
"heic-to": "^1.6.7",
"iso-3166-2": "^1.0.0",
"leaflet": "^1.9.4",
"lucide-react": "^1.82.0",
"lucide-react": "^0.577.0",
"mapbox-gl": "3.32.0",
"maplibre-gl": "6.20.0",
"maplibre-gl": "6.19.0",
"modern-screenshot": "4.7.0",
"plyr": "^3.8.5",
"react": "^19.3.1",
@@ -124,55 +122,50 @@
"react-leaflet": "^5.0.0",
"react-leaflet-cluster": "^4.1.3",
"react-markdown": "^10.1.0",
"react-router": "^8.5.3",
"react-router": "^7.18.4",
"rehype-sanitize": "^6.0.0",
"remark-breaks": "^4.0.0",
"remark-gfm": "^4.0.1",
"topojson-client": "^3.1.0",
"tz-lookup": "^6.1.25",
"zod": "^4.6.7",
"zustand": "^5.0.15"
},
"devDependencies": {
"@capacitor/cli": "^8.6.3",
"@capacitor/cli": "^8.6.2",
"@eslint/js": "^10.0.1",
"@jscpd/core": "^4.2.5",
"@jscpd/tokenizer": "^4.2.6",
"@playwright/test": "^1.65.1",
"@testing-library/dom": "^10.4.2",
"@testing-library/jest-dom": "^8.0.0",
"@testing-library/jest-dom": "^6.10.0",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.13",
"@trivago/prettier-plugin-sort-imports": "^6.0.3",
"@types/geojson": "^7946.0.16",
"@types/leaflet": "^1.9.23",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/leaflet": "^1.9.22",
"@types/node": "^26.6.11",
"@types/react": "^19.3.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@types/topojson-client": "^3.1.5",
"@types/topojson-specification": "^1.0.5",
"@vitejs/plugin-react": "^6.2.1",
"@vitest/coverage-v8": "^5.1.2",
"autoprefixer": "^10.7.1",
"@vitest/coverage-v8": "^4.1.12",
"autoprefixer": "^10.7.0",
"eslint": "^10.11.0",
"eslint-config-flat-gitignore": "^2.4.0",
"eslint-config-prettier": "^10.1.9",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.8",
"fake-indexeddb": "^6.2.7",
"jsdom": "^29.1.1",
"msw": "^3.0.8",
"postcss": "^8.5.34",
"postcss": "^8.5.33",
"prettier": "^3.10.1",
"prettier-plugin-organize-imports": "^4.3.0",
"prettier-plugin-tailwindcss": "^0.8.1",
"rollup-plugin-visualizer": "^7.3.0",
"rollup-plugin-visualizer": "^7.1.2",
"sharp": "^0.35.5",
"tailwindcss": "^3.4.19",
"typescript": "^6.0.3",
"typescript-eslint": "^8.74.0",
"vite": "8.4.0",
"typescript-eslint": "^8.73.0",
"vite": "8.3.8",
"vite-plugin-pwa": "^2.0.0",
"vitest": "^5.1.2"
"vitest": "^4.1.12"
}
}
-1
View File
@@ -1 +0,0 @@
{"d":"M84.21 57.18L84.21 50.04L81.58 50.04L84.21 46.47L84.21 42.9L86.84 42.9L86.84 35.76L92.11 35.76L92.11 32.18L92.11 35.76L94.74 32.18L94.74 35.76L94.74 32.18L100 32.18L97.37 28.61L89.47 28.61L86.84 25.04L84.21 25.04L84.21 17.89L86.84 17.89L86.84 14.31L84.21 14.31L84.21 17.89L84.21 14.31L81.58 14.31L78.95 17.89L78.95 14.31L65.79 14.31L63.16 10.73L44.74 10.73L44.74 3.58L36.84 3.58L36.84 0L34.21 3.58L18.42 3.58L18.42 7.16L15.79 7.16L15.79 14.31L18.42 14.31L18.42 17.89L13.16 17.89L13.16 21.46L7.89 21.46L7.89 25.04L5.26 25.04L5.26 28.61L7.89 32.18L7.89 35.76L2.63 35.76L2.63 42.9L0 42.9L10.53 42.9L10.53 46.47L13.16 46.47L13.16 50.04L15.79 53.61L13.16 53.61L13.16 57.18L7.89 57.18L5.26 60.75L2.63 60.75L2.63 64.32L7.89 64.32L7.89 71.46L10.53 71.46L7.89 71.46L7.89 75.02L10.53 75.02L10.53 78.59L7.89 78.59L18.42 78.59L18.42 82.15L36.84 82.15L36.84 78.59L39.47 75.02L39.47 71.46L42.11 71.46L42.11 75.02L44.74 75.02L44.74 71.46L47.37 71.46L50 67.89L52.63 71.46L52.63 67.89L55.26 67.89L57.89 71.46L57.89 67.89L65.79 67.89L65.79 60.75L68.42 57.18L71.05 57.18L71.05 60.75L73.68 57.18L73.68 60.75L78.95 60.75L84.21 57.18Z","w":100,"h":82.2,"b":[1.41,-47.25,1.79,-46.94]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
{"d":"M10.46 76.75L7.84 76.75L7.84 78.12L6.54 79.48L6.54 82.22L7.84 82.22L6.54 82.22L7.84 82.22L6.54 82.22L7.84 82.22L7.84 83.59L9.15 83.59L5.23 83.59L5.23 82.22L2.61 82.22L2.61 83.59L1.31 83.59L1.31 86.32L3.92 86.32L3.92 84.96L5.23 84.96L5.23 86.32L3.92 87.69L1.31 87.69L0 89.06L2.61 89.06L2.61 91.8L1.31 93.16L1.31 94.53L2.61 94.53L2.61 95.9L3.92 97.27L9.15 97.27L9.15 98.63L10.46 97.27L10.46 100L10.46 98.63L17 98.63L15.69 98.63L17 97.27L18.3 97.27L18.3 98.63L17 98.63L17 100L22.23 100L22.23 98.63L22.23 100L23.53 100L23.53 98.63L22.23 98.63L22.23 97.27L23.53 97.27L23.53 98.63L23.53 97.27L22.23 95.9L22.23 94.53L24.84 94.53L24.84 95.9L28.76 95.9L30.07 94.53L28.76 94.53L30.07 94.53L30.07 93.16L30.07 94.53L31.38 94.53L31.38 93.16L30.07 93.16L31.38 93.16L30.07 91.8L31.38 91.8L30.07 91.8L30.07 90.43L27.46 90.43L27.46 89.06L27.46 90.43L26.15 90.43L28.76 87.69L28.76 89.06L30.07 89.06L30.07 86.32L26.15 86.32L24.84 87.69L24.84 86.32L26.15 86.32L23.53 86.32L23.53 87.69L23.53 84.96L20.92 84.96L20.92 82.22L22.23 82.22L20.92 80.85L20.92 82.22L19.61 82.22L19.61 84.96L18.3 84.96L18.3 83.59L18.3 84.96L17 84.96L17 83.59L18.3 83.59L17 83.59L17 82.22L17 83.59L15.69 83.59L15.69 82.22L17 82.22L17 80.85L18.3 80.85L17 80.85L15.69 79.48L15.69 78.12L14.38 76.75L10.46 76.75ZM7.84 0L6.54 0L6.54 2.75L5.23 2.75L5.23 4.12L6.54 4.12L6.54 5.49L7.84 5.49L7.84 6.86L9.15 6.86L9.15 10.98L10.46 10.98L10.46 12.35L9.15 12.35L9.15 15.09L10.46 15.09L9.15 15.09L9.15 16.47L6.54 16.47L7.84 15.09L7.84 9.61L6.54 9.61L6.54 6.86L5.23 6.86L6.54 6.86L5.23 5.49L6.54 4.12L5.23 4.12L5.23 1.37L3.92 2.75L3.92 4.12L2.61 4.12L2.61 5.49L3.92 5.49L3.92 6.86L5.23 6.86L5.23 8.23L6.54 10.98L6.54 19.21L5.23 19.21L5.23 20.58L6.54 20.58L7.84 19.21L11.77 19.21L11.77 20.58L13.07 20.58L14.38 21.95L17 21.95L17 23.32L18.3 23.32L18.3 26.07L19.61 24.69L22.23 24.69L22.23 26.07L23.53 26.07L22.23 24.69L22.23 19.21L23.53 19.21L23.53 16.47L22.23 16.47L22.23 12.35L20.92 12.35L20.92 10.98L17 6.86L17 5.49L15.69 5.49L14.38 4.12L11.77 4.12L11.77 5.49L9.15 5.49L9.15 2.75L10.46 2.75L10.46 4.12L11.77 4.12L10.46 2.75L10.46 1.37L7.84 0Z","w":31.4,"h":100,"b":[-61.91,-18.02,-61.67,-17.26]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
{"d":"M12.98 0L9.74 0L9.74 3.34L3.25 3.34L3.25 6.67L0 6.67L0 33.35L3.25 36.68L3.25 70.01L6.49 73.35L6.49 80.01L9.74 80.01L9.74 83.34L12.98 83.34L12.98 86.67L16.23 90.01L25.96 90.01L25.96 93.34L35.7 93.34L35.7 96.67L38.94 96.67L38.94 100L38.94 96.67L48.68 96.67L48.68 90.01L55.17 90.01L58.42 86.67L61.66 86.67L61.66 83.34L64.91 83.34L64.91 80.01L68.15 80.01L68.15 73.35L71.4 73.35L71.4 66.68L74.64 66.68L74.64 60.01L71.4 60.01L71.4 56.68L68.15 56.68L68.15 60.01L68.15 56.68L64.91 56.68L64.91 53.35L58.42 53.35L58.42 50.02L51.93 50.02L51.93 46.68L48.68 46.68L45.44 43.35L42.19 43.35L38.94 40.01L38.94 36.68L35.7 36.68L35.7 33.35L32.45 30.01L29.21 30.01L29.21 23.34L25.96 23.34L25.96 13.34L22.72 13.34L25.96 13.34L22.72 13.34L22.72 10.01L19.47 10.01L19.47 6.67L16.23 6.67L16.23 3.34L12.98 3.34L12.98 0Z","w":74.6,"h":100,"b":[-59.65,-13.46,-59.42,-13.15]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
{"d":"M37.86 1.32L36.68 1.32L36.68 0L34.31 2.64L36.68 3.96L37.86 5.28L35.49 5.28L35.49 3.96L35.49 5.28L36.68 5.28L35.49 5.28L35.49 6.6L31.94 6.6L31.94 5.28L30.76 5.28L30.76 6.6L31.94 6.6L31.94 10.56L30.76 9.24L29.58 9.24L30.76 10.56L29.58 10.56L29.58 13.19L28.39 13.19L28.39 11.88L29.58 11.88L29.58 10.56L28.39 10.56L28.39 11.88L29.58 11.88L28.39 11.88L27.21 10.56L27.21 11.88L27.21 10.56L27.21 11.88L27.21 10.56L26.03 10.56L26.03 11.88L26.03 10.56L24.85 10.56L26.03 10.56L24.85 11.88L23.66 11.88L23.66 13.19L23.66 11.88L18.93 11.88L18.93 13.19L16.56 13.19L16.56 14.51L14.2 14.51L14.2 15.83L15.38 15.83L15.38 17.15L16.56 17.15L15.38 17.15L15.38 21.11L9.46 21.11L9.46 19.79L9.46 21.11L8.28 21.11L8.28 19.79L1.18 19.79L1.18 18.47L1.18 19.79L1.18 18.47L1.18 19.79L0 18.47L0 19.79L7.1 19.79L8.28 21.11L9.46 21.11L8.28 21.11L8.28 22.42L7.1 22.42L7.1 26.38L8.28 26.38L7.1 26.38L8.28 27.7L11.83 27.7L11.83 21.11L15.38 21.11L14.2 21.11L15.38 21.11L15.38 26.38L15.38 25.06L16.56 25.06L16.56 26.38L15.38 26.38L16.56 26.38L15.38 26.38L16.56 26.38L16.56 29.01L17.75 29.01L17.75 30.33L17.75 29.01L18.93 30.33L17.75 30.33L18.93 30.33L17.75 30.33L18.93 30.33L17.75 30.33L18.93 30.33L18.93 36.92L20.11 36.92L18.93 36.92L20.11 36.92L20.11 38.23L18.93 38.23L18.93 40.87L17.75 40.87L17.75 44.82L16.56 44.82L16.56 46.13L15.38 46.13L16.56 46.13L15.38 46.13L15.38 47.45L16.56 47.45L16.56 51.4L16.56 50.08L17.75 51.4L17.75 52.71L20.11 52.71L20.11 54.03L20.11 52.71L20.11 54.03L21.3 54.03L21.3 55.34L23.66 56.66L22.48 56.66L23.66 56.66L23.66 57.97L24.85 57.97L24.85 59.29L26.03 60.6L26.03 61.92L27.21 61.92L27.21 67.18L28.39 67.18L28.39 69.8L29.58 69.8L29.58 71.12L29.58 68.49L30.76 67.18L31.94 67.18L31.94 64.55L31.94 65.86L33.13 65.86L31.94 65.86L31.94 64.55L33.13 64.55L33.13 63.23L34.31 63.23L33.13 63.23L34.31 63.23L33.13 61.92L34.31 61.92L34.31 60.6L33.13 60.6L33.13 59.29L34.31 59.29L34.31 55.34L35.49 55.34L34.31 55.34L34.31 50.08L35.49 50.08L34.31 50.08L35.49 50.08L34.31 48.76L34.31 47.45L35.49 47.45L34.31 47.45L34.31 46.13L35.49 46.13L35.49 42.18L35.49 43.5L35.49 42.18L36.68 42.18L36.68 40.87L35.49 40.87L36.68 40.87L36.68 38.23L35.49 38.23L35.49 36.92L36.68 36.92L35.49 36.92L35.49 34.28L36.68 34.28L35.49 34.28L35.49 32.97L36.68 32.97L36.68 31.65L35.49 31.65L35.49 30.33L36.68 30.33L35.49 30.33L35.49 29.01L36.68 29.01L36.68 30.33L36.68 29.01L37.86 29.01L36.68 29.01L37.86 29.01L36.68 29.01L37.86 29.01L37.86 27.7L36.68 27.7L37.86 27.7L36.68 27.7L36.68 25.06L39.04 25.06L41.41 22.42L42.59 22.42L41.41 21.11L40.23 22.42L36.68 23.74L36.68 21.11L35.49 21.11L36.68 21.11L36.68 19.79L35.49 19.79L36.68 19.79L35.49 19.79L35.49 18.47L34.31 18.47L34.31 19.79L33.13 19.79L33.13 22.42L34.31 23.74L35.49 23.74L35.49 26.38L36.68 27.7L35.49 27.7L35.49 25.06L34.31 25.06L35.49 25.06L34.31 23.74L33.13 23.74L31.94 22.42L30.76 22.42L30.76 21.11L29.58 21.11L29.58 18.47L28.39 18.47L29.58 18.47L29.58 17.15L28.39 17.15L31.94 17.15L31.94 18.47L31.94 17.15L33.13 18.47L33.13 17.15L35.49 17.15L35.49 15.83L36.68 14.51L34.31 14.51L35.49 14.51L35.49 13.19L34.31 13.19L33.13 14.51L33.13 13.19L34.31 13.19L33.13 13.19L33.13 10.56L34.31 10.56L34.31 11.88L35.49 11.88L35.49 9.24L35.49 10.56L36.68 10.56L36.68 11.88L37.86 11.88L37.86 10.56L37.86 13.19L36.68 13.19L36.68 14.51L40.23 14.51L39.04 14.51L39.04 15.83L40.23 15.83L40.23 18.47L41.41 19.79L41.41 17.15L42.59 18.47L43.78 18.47L42.59 17.15L42.59 15.83L42.59 17.15L43.78 17.15L42.59 15.83L42.59 14.51L44.96 14.51L47.32 19.79L47.32 18.47L44.96 14.51L44.96 13.19L46.14 13.19L44.96 13.19L44.96 14.51L43.78 13.19L40.23 13.19L40.23 10.56L41.41 10.56L41.41 9.24L40.23 10.56L40.23 7.92L42.59 7.92L42.59 6.6L41.41 6.6L41.41 7.92L40.23 7.92L40.23 6.6L41.41 6.6L40.23 6.6L41.41 6.6L41.41 5.28L40.23 3.96L40.23 6.6L39.04 5.28L39.04 6.6L37.86 5.28L39.04 2.64L39.04 1.32L37.86 1.32L37.86 2.64L37.86 1.32ZM56.79 80.31L56.79 79L55.61 79L55.61 80.31L53.24 80.31L53.24 81.63L52.06 81.63L52.06 82.94L50.87 82.94L50.87 84.25L49.69 84.25L50.87 84.25L49.69 85.57L49.69 88.19L48.51 89.5L49.69 88.19L49.69 89.5L50.87 89.5L50.87 94.75L49.69 96.06L49.69 97.38L50.87 98.69L53.24 98.69L53.24 100L54.42 100L53.24 98.69L52.06 98.69L50.87 97.38L52.06 97.38L52.06 94.75L53.24 94.75L53.24 93.44L53.24 94.75L53.24 93.44L52.06 93.44L52.06 94.75L52.06 93.44L53.24 93.44L52.06 92.13L53.24 92.13L53.24 90.82L54.42 90.82L53.24 90.82L53.24 89.5L52.06 89.5L52.06 86.88L53.24 86.88L53.24 85.57L53.24 86.88L53.24 85.57L56.79 85.57L56.79 84.25L55.61 84.25L55.61 82.94L55.61 84.25L54.42 84.25L54.42 82.94L55.61 82.94L55.61 81.63L56.79 81.63L56.79 80.31ZM55.61 88.19L54.42 88.19L54.42 89.5L55.61 90.82L55.61 92.13L59.16 92.13L59.16 90.82L57.97 90.82L59.16 90.82L59.16 89.5L55.61 89.5L55.61 88.19L56.79 88.19L55.61 88.19ZM17.75 10.56L15.38 10.56L16.56 10.56L15.38 10.56L15.38 11.88L16.56 11.88L16.56 13.19L16.56 11.88L15.38 11.88L15.38 10.56L15.38 11.88L14.2 11.88L14.2 14.51L15.38 14.51L15.38 13.19L15.38 14.51L17.75 11.88L18.93 11.88L16.56 11.88L17.75 11.88L17.75 10.56Z","w":59.2,"h":100,"b":[50.32,-27.31,50.82,-26.46]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
{"d":"M13.15 0L4.38 0L4.38 2.28L2.19 4.55L2.19 6.82L4.38 6.82L2.19 6.82L4.38 9.1L4.38 11.37L0 11.37L0 13.65L4.38 13.65L4.38 20.47L2.19 20.47L2.19 22.75L0 22.75L0 25.02L2.19 25.02L2.19 36.39L4.38 36.39L4.38 38.66L6.57 40.93L6.57 45.48L8.76 45.48L8.76 47.75L10.95 50.03L10.95 56.84L13.15 56.84L17.53 61.39L17.53 65.93L19.72 65.93L19.72 70.48L17.53 70.48L17.53 72.75L19.72 72.75L19.72 79.56L21.91 79.56L21.91 81.83L24.1 81.83L24.1 84.11L21.91 84.11L21.91 88.65L24.1 88.65L24.1 93.19L26.29 93.19L26.29 95.46L24.1 97.73L26.29 97.73L26.29 100L28.48 100L28.48 97.73L32.86 97.73L32.86 95.46L37.25 95.46L37.25 90.92L46.01 90.92L48.2 88.65L48.2 84.11L50.39 84.11L50.39 81.83L52.58 81.83L52.58 79.56L50.39 79.56L52.58 79.56L50.39 77.29L52.58 77.29L52.58 68.2L50.39 68.2L50.39 61.39L52.58 61.39L52.58 59.12L50.39 59.12L50.39 56.84L52.58 56.84L52.58 54.57L50.39 54.57L50.39 47.75L48.2 47.75L50.39 45.48L50.39 43.21L52.58 43.21L52.58 40.93L50.39 40.93L52.58 40.93L52.58 38.66L50.39 38.66L50.39 31.84L48.2 31.84L48.2 29.57L50.39 29.57L50.39 27.29L46.01 27.29L46.01 22.75L41.63 22.75L41.63 20.47L39.44 20.47L39.44 13.65L37.25 13.65L35.05 11.37L35.05 13.65L32.86 11.37L30.67 11.37L30.67 9.1L30.67 11.37L26.29 11.37L26.29 9.1L24.1 9.1L24.1 11.37L19.72 11.37L19.72 9.1L17.53 9.1L17.53 6.82L15.34 4.55L15.34 2.28L13.15 2.28L13.15 0Z","w":52.6,"h":100,"b":[-61.49,-15.84,-61.25,-15.38]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
{"d":"M99.5 1.39L99.43 1.42L99.4 1.43L99.39 1.41L99.37 1.43L99.34 1.43L99.28 1.48L99.29 1.52L99.24 1.56L99.26 1.62L99.42 1.67L99.49 1.67L99.56 1.62L99.57 1.64L99.58 1.62L99.59 1.64L99.63 1.62L99.64 1.59L99.63 1.6L99.61 1.58L99.62 1.55L99.6 1.52L99.61 1.48L99.55 1.46L99.53 1.43L99.51 1.44L99.52 1.41L99.5 1.39ZM100 1.05L99.96 1.08L99.87 1.08L99.83 1.13L99.71 1.14L99.64 1.21L99.6 1.19L99.58 1.24L99.62 1.25L99.61 1.26L99.66 1.3L99.69 1.26L99.72 1.28L99.74 1.27L99.74 1.24L99.78 1.21L99.83 1.22L99.8 1.25L99.89 1.24L99.92 1.22L99.98 1.23L99.95 1.21L99.98 1.14L99.88 1.23L99.86 1.23L99.86 1.21L100 1.05ZM99.54 1.86L99.43 1.92L99.5 1.93L99.49 1.9L99.52 1.88L99.53 1.9L99.58 1.89L99.58 1.87L99.54 1.86ZM0.04 1.21L0 1.24L0 1.29L0.04 1.26L0.06 1.24L0.04 1.21ZM99.81 1.57L99.79 1.6L99.82 1.62L99.81 1.57ZM100 1.27L100 1.24L99.97 1.28L99.98 1.3L100 1.29L100 1.27ZM99.67 1.48L99.65 1.49L99.66 1.52L99.68 1.5L99.67 1.48ZM99.84 1.37L99.82 1.37L99.83 1.41L99.84 1.4L99.84 1.37ZM0.03 1.14L0 1.16L0.03 1.16L0.03 1.14ZM99.98 1.75L99.96 1.76L99.97 1.78L99.98 1.75ZM0.34 1.64L0.32 1.65L0.33 1.67L0.35 1.66L0.34 1.64ZM0.27 1.35L0.29 1.36L0.28 1.39L0.3 1.36L0.27 1.35ZM99.19 0L99.17 0.01L99.21 0.01L99.19 0ZM99.48 1.7L99.47 1.71L99.49 1.71L99.48 1.7ZM0.29 1.86L0.29 1.88L0.29 1.86ZM0.19 1.51L0.18 1.52L0.19 1.52L0.19 1.51ZM99.25 1.32L99.22 1.35L99.25 1.32ZM99.94 1.92L99.93 1.94L99.94 1.92ZM99.58 1.84L99.58 1.87L99.58 1.84ZM99.33 1.21L99.29 1.26L99.33 1.21ZM0.04 1.86L0.03 1.88L0.04 1.87L0.06 1.87L0.04 1.86ZM99.35 1.77L99.34 1.73L99.35 1.77ZM99.84 1.53L99.84 1.55L99.84 1.53ZM0.24 1.42L0.23 1.44L0.24 1.42ZM99.21 1.38L99.19 1.39L99.21 1.38ZM0.4 1.91L0.39 1.93L0.41 1.93L0.39 1.92L0.4 1.91ZM99.98 1.19L99.96 1.2L99.98 1.19ZM0.02 1.05L0 1.06L0.02 1.05ZM0.26 1.58L0.27 1.59L0.26 1.58ZM0.45 1.93L0.44 1.92L0.44 1.93L0.45 1.93ZM99.52 1.24L99.54 1.25L99.52 1.24ZM0.42 1.77L0.41 1.79L0.42 1.77ZM0.31 1.84L0.3 1.85L0.31 1.84Z","w":100,"h":2.4,"b":[-180,12.58,180,21.13]}
-1
View File
@@ -1 +0,0 @@
{"d":"M80.54 10.64L80.54 10.6L80.5 10.6L80.5 10.68L80.54 10.72L80.5 10.72L80.5 10.8L80.46 10.8L80.46 10.76L80.42 10.76L80.42 10.72L80.42 10.76L80.38 10.76L80.38 10.72L80.34 10.76L80.38 10.76L80.38 10.8L80.38 10.76L80.34 10.76L80.34 10.8L80.26 10.8L80.26 10.92L80.3 10.92L80.3 10.96L80.26 10.96L80.26 11L80.3 11L80.3 10.96L80.34 10.96L80.3 11L80.34 11L80.3 11L80.34 11.04L80.3 11.04L80.34 11.04L80.34 11L80.42 11L80.42 11.12L80.38 11.08L80.38 11.12L80.42 11.12L80.42 11.16L80.38 11.16L80.42 11.16L80.42 11.21L80.38 11.21L80.38 11.25L80.42 11.25L80.42 11.29L80.46 11.29L80.46 11.37L80.46 11.33L80.46 11.37L80.58 11.37L80.62 11.33L80.62 11.41L80.74 11.41L80.7 11.41L80.74 11.37L80.74 11.41L80.82 11.41L80.82 11.33L80.86 11.37L80.86 11.41L80.9 11.37L80.9 11.41L80.94 11.41L80.94 11.45L80.98 11.45L80.98 11.41L81.02 11.41L81.02 11.37L80.98 11.33L81.02 11.33L81.06 11.29L81.06 11.21L81.14 11.21L81.14 11.12L81.1 11.12L81.1 11.16L81.1 11.12L81.06 11.16L81.06 11.21L81.02 11.16L80.98 11.16L80.98 11.08L80.98 11.12L81.02 11.08L81.1 11.08L81.1 11.12L81.14 11.08L81.14 10.96L81.1 10.96L81.1 10.8L81.06 10.8L81.06 10.84L81.02 10.84L81.02 10.88L80.98 10.88L80.98 10.84L80.94 10.84L80.94 10.8L80.9 10.76L80.9 10.72L80.94 10.72L80.86 10.72L80.86 10.68L80.78 10.68L80.78 10.72L80.74 10.72L80.78 10.72L80.74 10.72L80.74 10.68L80.7 10.68L80.7 10.64L80.7 10.68L80.66 10.68L80.7 10.72L80.66 10.72L80.66 10.68L80.62 10.68L80.62 10.72L80.58 10.72L80.58 10.64L80.54 10.64ZM99.92 17.12L99.92 17.08L99.88 17.12L99.84 17.12L99.84 17.08L99.84 17.12L99.72 17.12L99.72 17.16L99.68 17.16L99.72 17.16L99.68 17.16L99.68 17.2L99.64 17.24L99.64 17.28L99.6 17.28L99.56 17.32L99.52 17.32L99.52 17.36L99.44 17.36L99.44 17.45L99.56 17.53L99.68 17.53L99.68 17.45L99.72 17.45L99.72 17.49L99.76 17.49L99.72 17.49L99.76 17.53L99.8 17.53L99.8 17.57L99.88 17.57L99.84 17.53L99.92 17.53L99.92 17.49L99.96 17.45L99.96 17.36L100 17.36L100 17.32L99.96 17.32L100 17.32L99.96 17.32L99.96 17.28L99.92 17.32L99.92 17.28L99.88 17.24L99.92 17.24L99.92 17.12ZM0.48 0L0.44 0L0.44 0.08L0.4 0.08L0.4 0.2L0.32 0.2L0.36 0.2L0.32 0.16L0.36 0.16L0.32 0.16L0.32 0.12L0.36 0.16L0.36 0.12L0.32 0.08L0.32 0.12L0.24 0.12L0.24 0.16L0.2 0.2L0.2 0.24L0.16 0.24L0.16 0.28L0.12 0.32L0.12 0.37L0.08 0.37L0.12 0.41L0.08 0.45L0.04 0.45L0.04 0.57L0 0.61L0 0.69L0.08 0.69L0.08 0.57L0.12 0.53L0.12 0.57L0.16 0.53L0.2 0.53L0.2 0.49L0.24 0.45L0.2 0.45L0.24 0.45L0.24 0.49L0.28 0.49L0.28 0.41L0.24 0.41L0.28 0.41L0.28 0.37L0.32 0.37L0.28 0.37L0.28 0.28L0.32 0.32L0.32 0.28L0.36 0.28L0.36 0.24L0.36 0.28L0.36 0.24L0.36 0.28L0.32 0.32L0.36 0.32L0.32 0.32L0.36 0.32L0.36 0.41L0.48 0.41L0.48 0.32L0.48 0.37L0.56 0.37L0.56 0.28L0.6 0.24L0.6 0.2L0.56 0.2L0.56 0.24L0.48 0.24L0.52 0.24L0.48 0.24L0.48 0.16L0.44 0.16L0.48 0.16L0.44 0.12L0.48 0.12L0.44 0.12L0.48 0.12L0.48 0.16L0.48 0.12L0.52 0.08L0.52 0L0.48 0ZM54.2 8.99L54.16 8.99L54.16 9.03L54.2 9.03L54.2 9.07L54.16 9.07L54.16 9.03L54.12 9.03L54.08 9.07L54.08 9.11L54.12 9.07L54.12 9.11L54.08 9.11L54.16 9.11L54.16 9.07L54.24 9.07L54.24 9.15L54.16 9.15L54.16 9.19L54.04 9.19L54 9.23L54.08 9.23L54.08 9.27L54.16 9.27L54.16 9.23L54.2 9.23L54.2 9.19L54.24 9.19L54.24 9.15L54.2 9.15L54.24 9.15L54.24 9.23L54.2 9.23L54.2 9.27L54.36 9.27L54.36 9.23L54.32 9.19L54.32 9.15L54.28 9.15L54.28 9.11L54.28 9.15L54.32 9.15L54.32 9.19L54.36 9.19L54.36 9.15L54.32 9.15L54.32 9.11L54.36 9.11L54.32 9.07L54.28 9.07L54.28 9.03L54.24 9.07L54.24 8.99L54.2 8.99ZM55.2 8.7L55.12 8.7L55.16 8.74L55.16 8.78L55.16 8.74L55.16 8.78L55.12 8.78L55.12 8.82L55.16 8.82L55.16 8.91L55.2 8.91L55.2 8.87L55.24 8.87L55.24 8.82L55.28 8.82L55.28 8.78L55.4 8.78L55.4 8.74L55.28 8.74L55.32 8.74L55.32 8.7L55.2 8.7ZM55.12 9.11L55.12 9.07L55.08 9.07L55.04 9.11L55.08 9.11L55.08 9.19L55.12 9.19L55.16 9.23L55.12 9.23L55.16 9.23L55.12 9.23L55.16 9.23L55.12 9.27L55.16 9.27L55.12 9.27L55.12 9.31L55.2 9.31L55.2 9.11L55.12 9.11Z","w":100,"h":17.6,"b":[138.06,-9.66,163.04,-5.27]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
{"d":"M24.87 54.57L23.1 54.57L23.1 56.39L21.32 56.39L21.32 58.21L19.54 58.21L19.54 60.02L17.77 60.02L17.77 61.84L15.99 61.84L14.21 63.66L14.21 65.48L12.44 67.3L12.44 70.93L10.66 70.93L10.66 74.57L8.88 74.57L10.66 74.57L10.66 76.38L8.88 78.2L8.88 80.02L7.11 80.02L8.88 81.83L7.11 81.83L8.88 81.83L8.88 87.28L10.66 87.28L10.66 89.1L8.88 89.1L8.88 92.73L5.33 92.73L5.33 94.55L1.78 94.55L0 96.37L3.55 96.37L3.55 94.55L5.33 96.37L5.33 98.18L5.33 96.37L7.11 96.37L7.11 98.18L7.11 96.37L8.88 96.37L7.11 98.18L7.11 100L8.88 98.18L8.88 96.37L10.66 96.37L12.44 94.55L14.21 94.55L14.21 96.37L15.99 96.37L15.99 94.55L15.99 98.18L17.77 98.18L17.77 94.55L15.99 94.55L17.77 94.55L19.54 96.37L19.54 94.55L17.77 94.55L17.77 92.73L17.77 94.55L19.54 94.55L19.54 92.73L21.32 94.55L21.32 92.73L23.1 92.73L23.1 94.55L23.1 92.73L24.87 92.73L24.87 90.92L26.65 92.73L26.65 90.92L26.65 92.73L26.65 90.92L28.43 90.92L28.43 89.1L30.2 89.1L30.2 87.28L31.98 87.28L30.2 85.47L31.98 85.47L31.98 83.65L33.76 83.65L33.76 80.02L31.98 80.02L31.98 78.2L33.76 78.2L31.98 78.2L31.98 74.57L35.53 74.57L35.53 67.3L37.31 65.48L35.53 65.48L35.53 54.57L30.2 54.57L30.2 56.39L30.2 54.57L28.43 54.57L28.43 56.39L28.43 54.57L24.87 54.57ZM65.74 1.82L65.74 0L65.74 1.82L63.96 1.82L63.96 5.46L62.19 5.46L62.19 9.1L58.63 9.1L58.63 10.92L55.08 10.92L55.08 9.1L55.08 12.74L56.86 12.74L56.86 14.56L55.08 14.56L55.08 18.2L55.08 16.38L56.86 16.38L56.86 14.56L58.63 16.38L60.41 14.56L65.74 14.56L67.52 12.74L65.74 12.74L65.74 9.1L67.52 9.1L67.52 5.46L69.29 5.46L67.52 5.46L67.52 1.82L65.74 1.82Z","w":69.3,"h":100,"b":[-61.81,-12.63,-61.42,-12.07]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
{"d":"M73.91 25.96L73.73 25.96L73.73 25.43L73.56 25.43L73.56 25.26L73.56 25.43L73.2 25.43L73.2 25.61L72.85 25.61L72.85 26.31L73.03 26.66L73.03 28.24L73.2 28.41L73.03 28.76L73.03 29.11L72.85 29.29L72.85 29.46L72.68 29.46L72.68 29.64L72.5 29.81L72.68 30.16L72.85 30.69L73.2 31.39L73.2 31.92L73.38 32.27L73.38 32.97L73.2 33.14L73.03 32.97L73.03 33.49L72.85 33.49L72.85 33.67L72.68 33.67L72.5 33.84L72.5 34.02L72.33 34.02L72.15 34.19L72.15 34.89L71.98 35.07L71.8 35.42L71.45 35.77L71.1 35.77L71.1 35.95L70.75 36.3L70.75 36.47L70.58 36.65L70.4 36.65L70.4 36.82L70.23 36.82L70.05 37L70.05 37.17L69.88 37.17L69.88 37.7L69.7 37.87L69.88 38.05L69.88 38.22L70.05 38.22L70.05 38.4L70.4 38.75L70.93 38.92L71.1 38.92L71.28 38.75L71.45 38.92L71.1 39.27L70.75 39.27L70.75 39.1L70.58 39.1L70.4 38.92L70.23 38.92L70.23 38.75L70.05 38.75L70.05 38.57L69.88 38.57L69.88 38.75L69.7 38.75L69.7 39.1L69.53 39.1L69.35 39.62L69.35 39.8L69.18 39.98L69.18 40.15L69 40.33L68.83 40.33L68.83 40.5L68.65 40.5L68.65 40.85L68.3 41.2L68.13 41.2L67.95 41.38L67.78 41.38L67.78 41.55L67.6 41.55L67.43 41.9L67.25 41.9L67.25 43.3L66.9 43.3L66.9 43.48L66.73 43.65L66.73 43.83L66.55 44L66.2 44L66.2 44.35L66.02 44.53L66.02 44.88L65.85 44.88L66.02 45.06L65.85 45.06L65.85 45.23L65.67 45.23L65.67 45.76L65.5 45.76L65.5 45.58L65.5 45.76L65.15 45.76L65.15 45.93L65.32 45.93L65.32 46.11L65.5 46.11L65.5 46.46L65.67 46.46L65.67 46.63L65.85 46.63L65.85 46.98L66.2 46.98L66.2 47.16L66.37 47.16L66.37 46.98L66.9 46.98L66.9 46.81L67.25 46.81L67.43 46.63L67.6 46.63L67.6 46.46L67.78 46.63L67.95 46.63L68.13 46.46L68.13 46.63L68.65 46.63L68.65 46.81L69.18 47.33L69.18 47.68L69.35 47.86L69.35 48.21L69.53 48.38L69.7 48.38L69.7 48.21L70.05 48.21L70.05 48.03L70.23 48.03L70.4 47.86L70.58 47.86L70.58 47.68L70.75 47.68L70.93 47.51L71.8 47.51L71.8 47.33L72.85 47.33L73.03 47.51L73.38 47.51L73.56 47.68L73.56 47.86L73.03 47.86L72.85 48.03L73.03 48.03L73.03 48.38L73.2 48.38L73.2 48.91L73.73 48.91L73.73 48.73L73.91 48.73L74.08 48.91L74.26 48.91L74.26 49.08L74.61 49.08L74.61 49.26L74.78 49.26L74.78 49.61L74.96 49.78L75.13 49.78L75.13 49.96L75.48 49.96L75.48 50.14L75.83 50.14L75.83 50.31L76.01 50.14L76.53 50.14L76.53 49.08L76.71 48.91L76.53 48.91L100 48.91L100 28.41L76.53 28.41L76.53 28.24L76.18 28.24L76.18 28.06L75.66 28.06L75.66 27.88L75.48 28.06L75.48 27.71L75.31 27.71L75.31 27.88L74.96 27.88L75.13 27.88L75.13 27.71L74.96 27.71L74.96 27.53L74.61 27.53L74.61 27.36L74.43 27.36L74.43 27.18L74.08 27.18L74.08 26.83L73.91 26.83L73.91 26.48L73.73 26.31L73.73 26.13L73.91 26.13L73.91 25.96ZM54.12 0L54.12 0.18L53.77 0.18L53.77 0.53L53.59 0.53L53.59 0.88L53.42 0.88L53.42 1.05L53.24 1.05L53.24 1.23L53.06 1.4L53.06 1.58L52.89 1.58L52.89 1.76L52.71 1.76L52.54 1.93L52.54 2.11L52.36 2.11L52.36 3.86L52.19 4.04L52.19 4.21L52.01 4.21L52.01 4.39L51.84 4.39L51.66 4.74L51.66 4.91L51.84 4.91L51.84 5.62L51.66 5.62L51.49 5.79L51.31 5.79L51.14 5.62L49.74 5.62L49.74 5.79L49.56 5.79L49.56 5.97L49.39 5.97L49.39 6.32L49.21 6.32L49.21 6.84L49.04 6.84L49.04 7.37L48.86 7.55L49.04 7.55L49.04 8.25L49.21 8.25L49.21 8.6L49.39 8.6L49.39 8.95L49.56 9.12L49.91 9.12L49.91 9.3L50.79 9.3L50.79 9.48L51.14 9.48L51.31 9.65L51.49 9.65L51.66 9.48L51.84 9.48L51.84 9.65L52.01 9.48L52.19 9.65L52.36 9.65L52.54 9.83L52.54 9.65L52.71 9.83L53.06 9.83L53.06 10L53.42 10L53.42 10.18L53.59 10.18L53.59 10L53.77 10L53.77 9.83L53.94 9.83L53.94 9.65L54.12 9.48L54.12 9.12L54.29 9.12L54.29 8.95L54.47 8.95L54.47 8.77L54.64 8.77L54.64 8.6L54.82 8.6L54.99 8.42L54.99 8.07L55.17 8.07L55.17 7.19L54.99 7.19L54.99 6.84L55.52 6.84L55.52 6.49L55.69 6.49L55.87 6.32L55.69 6.32L55.87 6.32L55.87 5.79L56.04 5.79L56.04 5.62L56.22 5.62L56.04 5.62L56.22 5.62L56.22 5.44L56.39 5.44L56.39 5.26L56.22 5.26L56.39 5.26L56.39 4.91L56.57 4.91L56.57 4.56L56.74 4.56L56.57 4.56L56.74 4.56L56.74 4.21L56.92 4.21L56.74 4.21L56.92 4.21L56.92 4.04L57.09 4.04L57.09 3.86L57.27 3.69L57.27 3.51L57.44 3.51L57.44 3.16L57.62 3.16L57.62 2.98L57.79 2.98L57.79 2.81L57.97 2.81L57.97 2.46L58.14 2.46L57.97 2.46L57.97 2.28L58.14 2.28L58.14 1.76L57.97 1.76L58.14 1.76L57.97 1.76L58.14 1.76L58.14 1.58L57.97 1.58L57.97 1.23L57.79 1.23L57.79 0.7L57.62 0.7L57.62 0.53L57.62 0.7L57.62 0.53L57.44 0.53L57.44 0.35L57.44 0.53L57.44 0.35L57.09 0.35L57.09 0.53L57.09 0.35L56.92 0.53L56.39 0.53L56.57 0.53L56.39 0.53L56.39 0.7L56.39 0.53L56.39 0.7L56.39 0.53L56.22 0.53L56.22 0.7L56.22 0.53L55.87 0.53L55.87 0.7L55.69 0.7L55.69 0.53L55.34 0.53L55.34 0.35L55.52 0.53L55.52 0.35L55.34 0.35L55.34 0.53L54.47 0.53L54.47 0.35L54.29 0.35L54.47 0.35L54.29 0.35L54.47 0.35L54.29 0.35L54.47 0.35L54.47 0.18L54.29 0.18L54.29 0L54.29 0.18L54.29 0L54.12 0ZM0.35 91.29L0.35 91.12L0 91.12L0 91.47L0.18 91.47L0.18 91.82L0 91.82L0.18 92L0.53 92L0.53 91.29L0.35 91.29Z","w":100,"h":92,"b":[5.62,-3.79,11.33,1.46]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More