@openrails/contentkit-ui 0.100.0 → 0.100.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/client/discovery.d.ts +6 -1
- package/dist/client/discovery.js +10 -7
- package/dist/client/discovery.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/components/content/popular.d.ts +3 -3
- package/dist/components/content/popular.js +15 -9
- package/dist/components/content/popular.js.map +1 -1
- package/dist/locales/discovery/de.js +1 -0
- package/dist/locales/discovery/de.js.map +1 -1
- package/dist/locales/discovery/en.d.ts +1 -0
- package/dist/locales/discovery/en.js +1 -0
- package/dist/locales/discovery/en.js.map +1 -1
- package/dist/locales/discovery/es.js +1 -0
- package/dist/locales/discovery/es.js.map +1 -1
- package/dist/locales/discovery/ja.js +1 -0
- package/dist/locales/discovery/ja.js.map +1 -1
- package/dist/locales/discovery/ko.js +1 -0
- package/dist/locales/discovery/ko.js.map +1 -1
- package/dist/locales/discovery/zh.js +1 -0
- package/dist/locales/discovery/zh.js.map +1 -1
- package/dist/locales/en.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -399,6 +399,13 @@ again. Supply `query.published_within` only when a release-age cutoff is wanted.
|
|
|
399
399
|
optionally keep its state in the host's URL. For a homepage preview, pass
|
|
400
400
|
`popularQuery("7d", { kind: "gallery", limit: 6 })` to a `ContentRail`'s `list`.
|
|
401
401
|
|
|
402
|
+
For a historical activity window, pass `period={{ from: "2026-04-01", until:
|
|
403
|
+
"2026-05-01" }}` and `query={{ kind: "gallery" }}`. Dates are UTC, with an
|
|
404
|
+
inclusive start and exclusive end. No preset tab is selected for a custom
|
|
405
|
+
range; selecting a tab calls `onPeriodChange` so the host can replace the range
|
|
406
|
+
in its URL with that rolling preset. `popularQuery` accepts the same range
|
|
407
|
+
object and sends `sort=popular&activity_from=...&activity_until=...`.
|
|
408
|
+
|
|
402
409
|
### MediaFolderEditor
|
|
403
410
|
|
|
404
411
|
```tsx
|
|
@@ -59,9 +59,14 @@ export type ContentQuery = ContentFilterQuery & ReaderQuery & CardQuery & PageQu
|
|
|
59
59
|
activity_until?: string;
|
|
60
60
|
};
|
|
61
61
|
export type PopularPeriod = "7d" | "90d" | "365d" | "all";
|
|
62
|
+
/** Whole UTC dates: from inclusive, until exclusive. */
|
|
63
|
+
export interface PopularDateRange {
|
|
64
|
+
from: string;
|
|
65
|
+
until: string;
|
|
66
|
+
}
|
|
62
67
|
export type PopularQuery = Omit<ContentQuery, "sort" | "activity_from" | "activity_until">;
|
|
63
68
|
/** Rank activity in the selected window; publication age is an optional separate filter. */
|
|
64
|
-
export declare function popularQuery(period?: PopularPeriod, filters?: PopularQuery): ContentQuery;
|
|
69
|
+
export declare function popularQuery(period?: PopularPeriod | PopularDateRange, filters?: PopularQuery): ContentQuery;
|
|
65
70
|
/** Rank activity between two UTC dates: from inclusive, until exclusive. */
|
|
66
71
|
export declare function popularBetween(from: string, until: string, filters: PopularQuery & {
|
|
67
72
|
kind: string;
|
package/dist/client/discovery.js
CHANGED
|
@@ -2,18 +2,21 @@ import { call as e, routeURL as t } from "./route.js";
|
|
|
2
2
|
import { browserSearchHistory as n } from "./browser-search-history.js";
|
|
3
3
|
//#region src/client/discovery.ts
|
|
4
4
|
function r(e = "7d", t = {}) {
|
|
5
|
-
return {
|
|
5
|
+
return typeof e == "string" ? {
|
|
6
6
|
...t,
|
|
7
7
|
sort: `popular:${e}`
|
|
8
|
+
} : {
|
|
9
|
+
...t,
|
|
10
|
+
sort: "popular",
|
|
11
|
+
activity_from: e.from,
|
|
12
|
+
activity_until: e.until
|
|
8
13
|
};
|
|
9
14
|
}
|
|
10
15
|
function i(e, t, n) {
|
|
11
|
-
return {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
activity_until: t
|
|
16
|
-
};
|
|
16
|
+
return r({
|
|
17
|
+
from: e,
|
|
18
|
+
until: t
|
|
19
|
+
}, n);
|
|
17
20
|
}
|
|
18
21
|
var a = /* @__PURE__ */ new Set([
|
|
19
22
|
"groups",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discovery.js","names":[],"sources":["../../src/client/discovery.ts"],"sourcesContent":["import type {\n ActivityContexts,\n ActivityContextsInput,\n ActivityTarget,\n ContentFilters,\n ContentFiltersUpdate,\n ContentPage,\n DailyReleases,\n ExposureInput,\n Exposures,\n RecentSearches,\n ReleaseDates,\n SignalInput,\n Signals,\n Typeahead,\n} from \"./generated/wire.js\";\nimport type { Http } from \"./http.js\";\nimport { call, routeURL } from \"./route.js\";\nimport { browserSearchHistory, type BrowserSearchHistory } from \"./browser-search-history.js\";\n\n/** A popularity period. */\nexport type Period = \"7d\" | \"30d\" | \"90d\" | \"365d\" | \"all\";\n/** A list's order; position orders by the first of `groups` (an ordered group). */\nexport type ListSort = \"newest\" | \"oldest\" | \"title\" | \"popular\" | `popular:${Period}` | \"top_rated\" | `top_rated:${Period}` | \"most_favorited\" | \"most_viewed\" | \"position\" | \"random\";\n/** How locked contents list: marked (lock, the default) or left out (hide). */\nexport type AccessMode = \"lock\" | \"hide\";\n\n/** Which contents a list holds. */\nexport interface ContentFilterQuery {\n kind?: string;\n /** Group ids every listed version is in. */\n groups?: readonly string[];\n /** Group ids no listed version is in. */\n exclude_groups?: readonly string[];\n /** Only contents this group owns: a channel's feed. */\n owner_group?: string;\n /** User ids: only contents one of them is credited on. */\n creators?: readonly string[];\n /** public (anyone opens it now) or the level it stays locked at. */\n access?: readonly (\"public\" | \"tier\" | \"group\" | \"ppv\" | \"group_ppv\")[];\n /** Only contents locked behind one of these tiers. */\n tiers?: readonly string[];\n /** Version traits every listed version has. */\n traits?: readonly string[];\n /** \"name:value\" of the kind's filterable attributes. */\n attribute?: readonly string[];\n /** Published on this day (YYYY-MM-DD) or month (YYYY-MM). */\n released_on?: string;\n /** Only contents published within this age window; independent of the popularity score window. */\n published_within?: Period;\n /** IANA time zone of released_on and release dates; UTC by default. */\n tz?: string;\n /** The signed-in reader's unseen, in-progress or completed contents. */\n view_status?: \"unseen\" | \"in_progress\" | \"completed\";\n}\n\n/** How a list reads to its reader. */\nexport interface ReaderQuery {\n /** Only content with a live version in this language. */\n language?: string;\n /** Titles, names and paths in this language, and each card's preferred version's; language by default. */\n display_language?: string;\n mode?: AccessMode;\n}\n\n/** The group kinds cards name; every kind with a page by default. */\nexport interface CardQuery {\n card_entities?: readonly string[];\n}\n\nexport interface PageQuery {\n cursor?: string;\n limit?: number;\n}\n\nexport type ContentQuery = ContentFilterQuery & ReaderQuery & CardQuery & PageQuery & {\n sort?: ListSort;\n /** Inclusive UTC date (YYYY-MM-DD); requires activity_until, kind and sort=popular. */\n activity_from?: string;\n /** Exclusive UTC date (YYYY-MM-DD); requires activity_from, kind and sort=popular. */\n activity_until?: string;\n};\nexport type PopularPeriod = \"7d\" | \"90d\" | \"365d\" | \"all\";\nexport type PopularQuery = Omit<ContentQuery, \"sort\" | \"activity_from\" | \"activity_until\">;\n\n/** Rank activity in the selected window; publication age is an optional separate filter. */\nexport function popularQuery(period: PopularPeriod = \"7d\", filters: PopularQuery = {}): ContentQuery {\n return { ...filters, sort: `popular:${period}` };\n}\n\n/** Rank activity between two UTC dates: from inclusive, until exclusive. */\nexport function popularBetween(from: string, until: string, filters: PopularQuery & { kind: string }): ContentQuery {\n return { ...filters, sort: \"popular\", activity_from: from, activity_until: until };\n}\n\nexport type SearchQuery = ContentFilterQuery &\n ReaderQuery &\n CardQuery &\n PageQuery & {\n q: string;\n sort?: \"relevance\" | ListSort;\n personalize?: boolean;\n /** Explicit legacy server-side anonymous history. Omit for public search without server history. */\n session?: string;\n };\nexport interface RecentSearchesQuery {\n /** Explicit legacy server-side anonymous history; no anonymous session is created by default. */\n session?: string;\n /** 10 by default, at most 100. */\n limit?: number;\n}\nexport type RailQuery = ContentFilterQuery & ReaderQuery & CardQuery & { limit?: number };\nexport type ReleaseDatesQuery = ContentFilterQuery & ReaderQuery & PageQuery & { by?: \"month\" | \"day\" };\n/** Complete daily metadata for one calendar window, without pagination. */\nexport type DailyReleasesQuery = Omit<ContentFilterQuery, \"released_on\" | \"tz\"> & ReaderQuery & CardQuery & { days?: number; time_zone?: string };\nexport type HistoryQuery = ReaderQuery & CardQuery & PageQuery & { kind?: string; status?: \"seen\" | \"in_progress\" | \"completed\" };\nexport interface TypeaheadQuery extends ReaderQuery {\n q: string;\n /** Only contents of this kind. */\n kind?: string;\n /** The group kinds suggested; every kind with a page by default. */\n entity_kinds?: readonly string[];\n /** Per section: 8 by default, at most 20. */\n limit?: number;\n}\n\n// Comma-joined list parameters; `attribute` repeats instead.\nconst LISTS = new Set([\"groups\", \"exclude_groups\", \"creators\", \"access\", \"tiers\", \"traits\", \"card_entities\", \"entity_kinds\"]);\n\n/** A query with its list parameters comma-joined, as discovery routes read them. */\nexport function query(q: object): Record<string, string | number | boolean | readonly string[] | undefined> {\n const out: Record<string, string | number | boolean | readonly string[] | undefined> = {};\n for (const [k, v] of Object.entries(q)) out[k] = LISTS.has(k) && Array.isArray(v) ? (v.length ? v.join(\",\") : undefined) : v;\n return out;\n}\n\n/**\n * Discovery: lists, search, typeahead, similar and recommended contents,\n * release dates, the reader's content filters and history, signals and exposures.\n */\nexport class DiscoveryClient {\n /** Local anonymous history, isolated from authenticated server history. */\n readonly browserSearches: BrowserSearchHistory;\n\n constructor(private readonly http: Http) {\n this.browserSearches = browserSearchHistory(http.mount(\"discovery\"));\n }\n\n /** Contents as cards, one per content item with the version that fits the reader. */\n list(q: ContentQuery = {}, signal?: AbortSignal): Promise<ContentPage> {\n return call(this.http, \"GET\", \"/contents\", { query: query(q) as never, signal });\n }\n /** A first page is kept among the reader's recent searches. */\n async search(q: SearchQuery, signal?: AbortSignal): Promise<ContentPage> {\n const emit = q.cursor ? null : this.http.captureChanges();\n const out: ContentPage = await call(this.http, \"GET\", \"/search\", { query: query(q) as never, signal });\n emit?.({ type: \"searches.changed\" });\n return out;\n }\n /** The reader's recent searches, newest first, since they last cleared them. */\n recentSearches(q: RecentSearchesQuery = {}, signal?: AbortSignal): Promise<RecentSearches> {\n return call(this.http, \"GET\", \"/me/searches\", { query: q, signal });\n }\n /** Clears one recent search, or all of them. */\n async clearSearches(o: { query?: string; session?: string } = {}): Promise<void> {\n const emit = this.http.captureChanges();\n await call(this.http, \"DELETE\", \"/me/searches\", { query: o });\n emit({ type: \"searches.changed\" });\n }\n /** Contents and groups while the reader types. */\n typeahead(q: TypeaheadQuery, signal?: AbortSignal): Promise<Typeahead> {\n return call(this.http, \"GET\", \"/typeahead\", { query: query(q) as never, signal });\n }\n /** Contents like one, of its kind unless q.kind names another. */\n similar(id: string, q: RailQuery = {}, signal?: AbortSignal): Promise<ContentPage> {\n return call(this.http, \"GET\", \"/contents/{id}/similar\", { params: { id }, query: query(q) as never, signal });\n }\n /** For the signed-in reader. */\n recommendations(q: RailQuery = {}, signal?: AbortSignal): Promise<ContentPage> {\n return call(this.http, \"GET\", \"/recommendations\", { query: query(q) as never, signal });\n }\n /** Per month or day, newest first: how many contents the reader's listing shows released then, and how many are free. */\n releaseDates(q: ReleaseDatesQuery = {}, signal?: AbortSignal): Promise<ReleaseDates> {\n return call(this.http, \"GET\", \"/release-dates\", { query: query(q) as never, signal });\n }\n /** Every visible card in each day; opening or expanding a day needs no further request. */\n releases(q: DailyReleasesQuery = {}, signal?: AbortSignal): Promise<DailyReleases> {\n return call(this.http, \"GET\", \"/releases\", { query: query(q) as never, signal });\n }\n /** Only the current domain's reader-toggleable entities, named in the requested language. */\n async contentFilters(language?: string, signal?: AbortSignal): Promise<ContentFilters> {\n const result = await this.http.request<ContentFilters>(routeURL(this.http, \"GET\", \"/content-filters\", { query: { language } }), { signal, guestPreferences: false });\n this.http.acceptGuestFilters(result.kinds);\n return result;\n }\n /** Replaces this domain's reader settings; other domains' choices remain intact. */\n async setContentFilters(update: ContentFiltersUpdate, language?: string): Promise<ContentFilters> {\n const emit = this.http.captureChanges();\n const out: ContentFilters = await call(this.http, \"PUT\", \"/me/content-filters\", { query: { language }, body: update });\n emit({ type: \"contentFilters.changed\" });\n return out;\n }\n /** What the reader engaged with, most recent first. */\n history(q: HistoryQuery = {}, signal?: AbortSignal): Promise<ContentPage> {\n return call(this.http, \"GET\", \"/me/history\", { query: query(q) as never, signal });\n }\n /** Erases the reader's history: of one content item, one kind or everything. */\n async forgetHistory(o: { kind?: string; content_id?: string } = {}): Promise<void> {\n const emit = this.http.captureChanges();\n await call(this.http, \"DELETE\", \"/me/history\", { query: o });\n emit({ type: \"history.changed\" });\n }\n /** Capture server-owned access and eligibility at an observation's start. */\n activityContexts(targets: readonly ActivityTarget[], session?: string, language = this.http.language()): Promise<ActivityContexts> {\n const body: ActivityContextsInput = { targets: [...targets], session, language };\n return call(this.http, \"POST\", \"/activity-contexts\", { body });\n }\n /** Views and clicks; signed out, of the session named. */\n signals(signals: SignalInput[], session?: string, o: { keepalive?: boolean } = {}): Promise<void> {\n const body: Signals = { session, signals };\n return call(this.http, \"POST\", \"/signals\", { body, keepalive: o.keepalive });\n }\n /** Result lists served, rendered or shown, for click attribution. */\n exposures(exposures: ExposureInput[], session?: string, o: { keepalive?: boolean } = {}): Promise<void> {\n const body: Exposures = { session, exposures };\n return call(this.http, \"POST\", \"/exposures\", { body, keepalive: o.keepalive });\n }\n}\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"discovery.js","names":[],"sources":["../../src/client/discovery.ts"],"sourcesContent":["import type {\n ActivityContexts,\n ActivityContextsInput,\n ActivityTarget,\n ContentFilters,\n ContentFiltersUpdate,\n ContentPage,\n DailyReleases,\n ExposureInput,\n Exposures,\n RecentSearches,\n ReleaseDates,\n SignalInput,\n Signals,\n Typeahead,\n} from \"./generated/wire.js\";\nimport type { Http } from \"./http.js\";\nimport { call, routeURL } from \"./route.js\";\nimport { browserSearchHistory, type BrowserSearchHistory } from \"./browser-search-history.js\";\n\n/** A popularity period. */\nexport type Period = \"7d\" | \"30d\" | \"90d\" | \"365d\" | \"all\";\n/** A list's order; position orders by the first of `groups` (an ordered group). */\nexport type ListSort = \"newest\" | \"oldest\" | \"title\" | \"popular\" | `popular:${Period}` | \"top_rated\" | `top_rated:${Period}` | \"most_favorited\" | \"most_viewed\" | \"position\" | \"random\";\n/** How locked contents list: marked (lock, the default) or left out (hide). */\nexport type AccessMode = \"lock\" | \"hide\";\n\n/** Which contents a list holds. */\nexport interface ContentFilterQuery {\n kind?: string;\n /** Group ids every listed version is in. */\n groups?: readonly string[];\n /** Group ids no listed version is in. */\n exclude_groups?: readonly string[];\n /** Only contents this group owns: a channel's feed. */\n owner_group?: string;\n /** User ids: only contents one of them is credited on. */\n creators?: readonly string[];\n /** public (anyone opens it now) or the level it stays locked at. */\n access?: readonly (\"public\" | \"tier\" | \"group\" | \"ppv\" | \"group_ppv\")[];\n /** Only contents locked behind one of these tiers. */\n tiers?: readonly string[];\n /** Version traits every listed version has. */\n traits?: readonly string[];\n /** \"name:value\" of the kind's filterable attributes. */\n attribute?: readonly string[];\n /** Published on this day (YYYY-MM-DD) or month (YYYY-MM). */\n released_on?: string;\n /** Only contents published within this age window; independent of the popularity score window. */\n published_within?: Period;\n /** IANA time zone of released_on and release dates; UTC by default. */\n tz?: string;\n /** The signed-in reader's unseen, in-progress or completed contents. */\n view_status?: \"unseen\" | \"in_progress\" | \"completed\";\n}\n\n/** How a list reads to its reader. */\nexport interface ReaderQuery {\n /** Only content with a live version in this language. */\n language?: string;\n /** Titles, names and paths in this language, and each card's preferred version's; language by default. */\n display_language?: string;\n mode?: AccessMode;\n}\n\n/** The group kinds cards name; every kind with a page by default. */\nexport interface CardQuery {\n card_entities?: readonly string[];\n}\n\nexport interface PageQuery {\n cursor?: string;\n limit?: number;\n}\n\nexport type ContentQuery = ContentFilterQuery & ReaderQuery & CardQuery & PageQuery & {\n sort?: ListSort;\n /** Inclusive UTC date (YYYY-MM-DD); requires activity_until, kind and sort=popular. */\n activity_from?: string;\n /** Exclusive UTC date (YYYY-MM-DD); requires activity_from, kind and sort=popular. */\n activity_until?: string;\n};\nexport type PopularPeriod = \"7d\" | \"90d\" | \"365d\" | \"all\";\n/** Whole UTC dates: from inclusive, until exclusive. */\nexport interface PopularDateRange {\n from: string;\n until: string;\n}\nexport type PopularQuery = Omit<ContentQuery, \"sort\" | \"activity_from\" | \"activity_until\">;\n\n/** Rank activity in the selected window; publication age is an optional separate filter. */\nexport function popularQuery(period: PopularPeriod | PopularDateRange = \"7d\", filters: PopularQuery = {}): ContentQuery {\n return typeof period === \"string\"\n ? { ...filters, sort: `popular:${period}` }\n : { ...filters, sort: \"popular\", activity_from: period.from, activity_until: period.until };\n}\n\n/** Rank activity between two UTC dates: from inclusive, until exclusive. */\nexport function popularBetween(from: string, until: string, filters: PopularQuery & { kind: string }): ContentQuery {\n return popularQuery({ from, until }, filters);\n}\n\nexport type SearchQuery = ContentFilterQuery &\n ReaderQuery &\n CardQuery &\n PageQuery & {\n q: string;\n sort?: \"relevance\" | ListSort;\n personalize?: boolean;\n /** Explicit legacy server-side anonymous history. Omit for public search without server history. */\n session?: string;\n };\nexport interface RecentSearchesQuery {\n /** Explicit legacy server-side anonymous history; no anonymous session is created by default. */\n session?: string;\n /** 10 by default, at most 100. */\n limit?: number;\n}\nexport type RailQuery = ContentFilterQuery & ReaderQuery & CardQuery & { limit?: number };\nexport type ReleaseDatesQuery = ContentFilterQuery & ReaderQuery & PageQuery & { by?: \"month\" | \"day\" };\n/** Complete daily metadata for one calendar window, without pagination. */\nexport type DailyReleasesQuery = Omit<ContentFilterQuery, \"released_on\" | \"tz\"> & ReaderQuery & CardQuery & { days?: number; time_zone?: string };\nexport type HistoryQuery = ReaderQuery & CardQuery & PageQuery & { kind?: string; status?: \"seen\" | \"in_progress\" | \"completed\" };\nexport interface TypeaheadQuery extends ReaderQuery {\n q: string;\n /** Only contents of this kind. */\n kind?: string;\n /** The group kinds suggested; every kind with a page by default. */\n entity_kinds?: readonly string[];\n /** Per section: 8 by default, at most 20. */\n limit?: number;\n}\n\n// Comma-joined list parameters; `attribute` repeats instead.\nconst LISTS = new Set([\"groups\", \"exclude_groups\", \"creators\", \"access\", \"tiers\", \"traits\", \"card_entities\", \"entity_kinds\"]);\n\n/** A query with its list parameters comma-joined, as discovery routes read them. */\nexport function query(q: object): Record<string, string | number | boolean | readonly string[] | undefined> {\n const out: Record<string, string | number | boolean | readonly string[] | undefined> = {};\n for (const [k, v] of Object.entries(q)) out[k] = LISTS.has(k) && Array.isArray(v) ? (v.length ? v.join(\",\") : undefined) : v;\n return out;\n}\n\n/**\n * Discovery: lists, search, typeahead, similar and recommended contents,\n * release dates, the reader's content filters and history, signals and exposures.\n */\nexport class DiscoveryClient {\n /** Local anonymous history, isolated from authenticated server history. */\n readonly browserSearches: BrowserSearchHistory;\n\n constructor(private readonly http: Http) {\n this.browserSearches = browserSearchHistory(http.mount(\"discovery\"));\n }\n\n /** Contents as cards, one per content item with the version that fits the reader. */\n list(q: ContentQuery = {}, signal?: AbortSignal): Promise<ContentPage> {\n return call(this.http, \"GET\", \"/contents\", { query: query(q) as never, signal });\n }\n /** A first page is kept among the reader's recent searches. */\n async search(q: SearchQuery, signal?: AbortSignal): Promise<ContentPage> {\n const emit = q.cursor ? null : this.http.captureChanges();\n const out: ContentPage = await call(this.http, \"GET\", \"/search\", { query: query(q) as never, signal });\n emit?.({ type: \"searches.changed\" });\n return out;\n }\n /** The reader's recent searches, newest first, since they last cleared them. */\n recentSearches(q: RecentSearchesQuery = {}, signal?: AbortSignal): Promise<RecentSearches> {\n return call(this.http, \"GET\", \"/me/searches\", { query: q, signal });\n }\n /** Clears one recent search, or all of them. */\n async clearSearches(o: { query?: string; session?: string } = {}): Promise<void> {\n const emit = this.http.captureChanges();\n await call(this.http, \"DELETE\", \"/me/searches\", { query: o });\n emit({ type: \"searches.changed\" });\n }\n /** Contents and groups while the reader types. */\n typeahead(q: TypeaheadQuery, signal?: AbortSignal): Promise<Typeahead> {\n return call(this.http, \"GET\", \"/typeahead\", { query: query(q) as never, signal });\n }\n /** Contents like one, of its kind unless q.kind names another. */\n similar(id: string, q: RailQuery = {}, signal?: AbortSignal): Promise<ContentPage> {\n return call(this.http, \"GET\", \"/contents/{id}/similar\", { params: { id }, query: query(q) as never, signal });\n }\n /** For the signed-in reader. */\n recommendations(q: RailQuery = {}, signal?: AbortSignal): Promise<ContentPage> {\n return call(this.http, \"GET\", \"/recommendations\", { query: query(q) as never, signal });\n }\n /** Per month or day, newest first: how many contents the reader's listing shows released then, and how many are free. */\n releaseDates(q: ReleaseDatesQuery = {}, signal?: AbortSignal): Promise<ReleaseDates> {\n return call(this.http, \"GET\", \"/release-dates\", { query: query(q) as never, signal });\n }\n /** Every visible card in each day; opening or expanding a day needs no further request. */\n releases(q: DailyReleasesQuery = {}, signal?: AbortSignal): Promise<DailyReleases> {\n return call(this.http, \"GET\", \"/releases\", { query: query(q) as never, signal });\n }\n /** Only the current domain's reader-toggleable entities, named in the requested language. */\n async contentFilters(language?: string, signal?: AbortSignal): Promise<ContentFilters> {\n const result = await this.http.request<ContentFilters>(routeURL(this.http, \"GET\", \"/content-filters\", { query: { language } }), { signal, guestPreferences: false });\n this.http.acceptGuestFilters(result.kinds);\n return result;\n }\n /** Replaces this domain's reader settings; other domains' choices remain intact. */\n async setContentFilters(update: ContentFiltersUpdate, language?: string): Promise<ContentFilters> {\n const emit = this.http.captureChanges();\n const out: ContentFilters = await call(this.http, \"PUT\", \"/me/content-filters\", { query: { language }, body: update });\n emit({ type: \"contentFilters.changed\" });\n return out;\n }\n /** What the reader engaged with, most recent first. */\n history(q: HistoryQuery = {}, signal?: AbortSignal): Promise<ContentPage> {\n return call(this.http, \"GET\", \"/me/history\", { query: query(q) as never, signal });\n }\n /** Erases the reader's history: of one content item, one kind or everything. */\n async forgetHistory(o: { kind?: string; content_id?: string } = {}): Promise<void> {\n const emit = this.http.captureChanges();\n await call(this.http, \"DELETE\", \"/me/history\", { query: o });\n emit({ type: \"history.changed\" });\n }\n /** Capture server-owned access and eligibility at an observation's start. */\n activityContexts(targets: readonly ActivityTarget[], session?: string, language = this.http.language()): Promise<ActivityContexts> {\n const body: ActivityContextsInput = { targets: [...targets], session, language };\n return call(this.http, \"POST\", \"/activity-contexts\", { body });\n }\n /** Views and clicks; signed out, of the session named. */\n signals(signals: SignalInput[], session?: string, o: { keepalive?: boolean } = {}): Promise<void> {\n const body: Signals = { session, signals };\n return call(this.http, \"POST\", \"/signals\", { body, keepalive: o.keepalive });\n }\n /** Result lists served, rendered or shown, for click attribution. */\n exposures(exposures: ExposureInput[], session?: string, o: { keepalive?: boolean } = {}): Promise<void> {\n const body: Exposures = { session, exposures };\n return call(this.http, \"POST\", \"/exposures\", { body, keepalive: o.keepalive });\n }\n}\n"],"mappings":"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"}
|
package/dist/client/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { BansClient } from './content/bans.js';
|
|
|
11
11
|
export { ModerationClient, type HeldQuery } from './content/moderation.js';
|
|
12
12
|
export { reactionVerb, sameTarget, type BanScope, type ContentChange, type Decision, type HeldKind, type Reaction, type RuleSet, type Sort, type Target } from './content/types.js';
|
|
13
13
|
export { EntitiesClient, type EntityImageSlot, type EntityQuery, type ManageEntityQuery, type MemberQuery, type MyEntityQuery } from './entities.js';
|
|
14
|
-
export { DiscoveryClient, popularQuery, popularBetween, type AccessMode, type CardQuery, type ContentFilterQuery, type ContentQuery, type HistoryQuery, type ListSort, type Period, type PopularPeriod, type PopularQuery, type RailQuery, type ReaderQuery, type RecentSearchesQuery, type ReleaseDatesQuery, type DailyReleasesQuery, type SearchQuery, type TypeaheadQuery, } from './discovery.js';
|
|
14
|
+
export { DiscoveryClient, popularQuery, popularBetween, type AccessMode, type CardQuery, type ContentFilterQuery, type ContentQuery, type HistoryQuery, type ListSort, type Period, type PopularPeriod, type PopularDateRange, type PopularQuery, type RailQuery, type ReaderQuery, type RecentSearchesQuery, type ReleaseDatesQuery, type DailyReleasesQuery, type SearchQuery, type TypeaheadQuery, } from './discovery.js';
|
|
15
15
|
export { VersionsClient, isPending } from './versions.js';
|
|
16
16
|
export { emptyReaderMeta, matchAudio, readerMetaProblems, readerNames, type AudioMatch, type ReaderMetaProblem, type ReaderNames } from './reader-meta.js';
|
|
17
17
|
export { OffersClient } from './offers.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PopularPeriod, PopularQuery } from '../../client/discovery.js';
|
|
1
|
+
import { PopularDateRange, PopularPeriod, PopularQuery } from '../../client/discovery.js';
|
|
2
2
|
import { CardListProps, LockedCards } from './grid.js';
|
|
3
3
|
export interface PopularContentGridProps extends Omit<CardListProps, "infinite"> {
|
|
4
4
|
query?: PopularQuery;
|
|
5
|
-
/** Controlled
|
|
6
|
-
period?: PopularPeriod;
|
|
5
|
+
/** Controlled activity window; otherwise the selector starts at 7d. Date ranges require query.kind. */
|
|
6
|
+
period?: PopularPeriod | PopularDateRange;
|
|
7
7
|
onPeriodChange?: (period: PopularPeriod) => void;
|
|
8
8
|
locked?: LockedCards;
|
|
9
9
|
}
|
|
@@ -14,13 +14,13 @@ var p = [
|
|
|
14
14
|
"all"
|
|
15
15
|
];
|
|
16
16
|
function m({ query: m, period: h, onPeriodChange: g, locked: _, ...v }) {
|
|
17
|
-
let y = e(), [b, x] = l("7d"), S = h ?? b, C = c(() => n(S, m), [S, m]),
|
|
17
|
+
let y = e(), [b, x] = l("7d"), S = h ?? b, C = typeof S == "string" ? S : "custom", w = c(() => n(S, m), [S, m]), T = (e) => e === "all" ? y.t("listing.period_all") : y.plural("listing.pastDays", Number(e.slice(0, -1)));
|
|
18
18
|
return /* @__PURE__ */ u(t, {
|
|
19
19
|
appearance: v.appearance,
|
|
20
20
|
className: f("grid gap-4 text-sm", v.className),
|
|
21
21
|
"data-ckui": "popular-grid",
|
|
22
22
|
children: /* @__PURE__ */ d(r, {
|
|
23
|
-
value:
|
|
23
|
+
value: C,
|
|
24
24
|
onValueChange: (e) => {
|
|
25
25
|
if (!e || !p.includes(e)) return;
|
|
26
26
|
let t = e;
|
|
@@ -29,21 +29,27 @@ function m({ query: m, period: h, onPeriodChange: g, locked: _, ...v }) {
|
|
|
29
29
|
className: "gap-4",
|
|
30
30
|
children: [/* @__PURE__ */ u(a, {
|
|
31
31
|
"aria-label": y.t("listing.popularPeriod"),
|
|
32
|
-
className: "grid w-full grid-cols-4 group-data-horizontal/tabs:h-auto sm:w-fit",
|
|
32
|
+
className: "mx-auto grid w-full grid-cols-4 group-data-horizontal/tabs:h-auto sm:w-fit",
|
|
33
33
|
children: p.map((e) => /* @__PURE__ */ u(o, {
|
|
34
34
|
value: e,
|
|
35
35
|
className: "min-h-10 whitespace-normal px-3 py-2 text-center",
|
|
36
|
-
children:
|
|
36
|
+
children: T(e)
|
|
37
37
|
}, e))
|
|
38
|
-
}), /* @__PURE__ */
|
|
39
|
-
value:
|
|
40
|
-
children: /* @__PURE__ */ u(
|
|
38
|
+
}), /* @__PURE__ */ d(i, {
|
|
39
|
+
value: C,
|
|
40
|
+
children: [typeof S != "string" && /* @__PURE__ */ u("p", {
|
|
41
|
+
className: "mb-4 text-center text-muted-foreground",
|
|
42
|
+
children: y.t("listing.activityRange", {
|
|
43
|
+
from: S.from,
|
|
44
|
+
until: S.until
|
|
45
|
+
})
|
|
46
|
+
}), /* @__PURE__ */ u(s, {
|
|
41
47
|
...v,
|
|
42
48
|
surface: v.surface ?? "popular",
|
|
43
|
-
query:
|
|
49
|
+
query: w,
|
|
44
50
|
locked: _,
|
|
45
51
|
infinite: !0
|
|
46
|
-
})
|
|
52
|
+
})]
|
|
47
53
|
})]
|
|
48
54
|
})
|
|
49
55
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popular.js","names":[],"sources":["../../../src/components/content/popular.tsx"],"sourcesContent":["import { cn } from \"cn\";\nimport { useMemo, useState } from \"react\";\nimport { popularQuery, type PopularPeriod, type PopularQuery } from \"../../client/discovery.js\";\nimport { useMessages } from \"../../i18n/context.js\";\nimport { ContentKitUiRoot } from \"../../scope.js\";\nimport { Tabs, TabsContent, TabsList, TabsTrigger } from \"#ckui/ui/tabs\";\nimport { ContentGrid, type CardListProps, type LockedCards } from \"./grid.js\";\n\nexport interface PopularContentGridProps extends Omit<CardListProps, \"infinite\"> {\n query?: PopularQuery;\n /** Controlled
|
|
1
|
+
{"version":3,"file":"popular.js","names":[],"sources":["../../../src/components/content/popular.tsx"],"sourcesContent":["import { cn } from \"cn\";\nimport { useMemo, useState } from \"react\";\nimport { popularQuery, type PopularDateRange, type PopularPeriod, type PopularQuery } from \"../../client/discovery.js\";\nimport { useMessages } from \"../../i18n/context.js\";\nimport { ContentKitUiRoot } from \"../../scope.js\";\nimport { Tabs, TabsContent, TabsList, TabsTrigger } from \"#ckui/ui/tabs\";\nimport { ContentGrid, type CardListProps, type LockedCards } from \"./grid.js\";\n\nexport interface PopularContentGridProps extends Omit<CardListProps, \"infinite\"> {\n query?: PopularQuery;\n /** Controlled activity window; otherwise the selector starts at 7d. Date ranges require query.kind. */\n period?: PopularPeriod | PopularDateRange;\n onPeriodChange?: (period: PopularPeriod) => void;\n locked?: LockedCards;\n}\n\nconst PERIODS: readonly PopularPeriod[] = [\"7d\", \"90d\", \"365d\", \"all\"];\n\n/** Rank activity in the selected window, across publication ages, with infinite paging. */\nexport function PopularContentGrid({ query, period, onPeriodChange, locked, ...p }: PopularContentGridProps) {\n const m = useMessages();\n const [ownPeriod, setOwnPeriod] = useState<PopularPeriod>(\"7d\");\n const current = period ?? ownPeriod;\n const selected = typeof current === \"string\" ? current : \"custom\";\n const list = useMemo(() => popularQuery(current, query), [current, query]);\n const label = (value: PopularPeriod) => value === \"all\" ? m.t(\"listing.period_all\") : m.plural(\"listing.pastDays\", Number(value.slice(0, -1)));\n return (\n <ContentKitUiRoot appearance={p.appearance} className={cn(\"grid gap-4 text-sm\", p.className)} data-ckui=\"popular-grid\">\n <Tabs value={selected} onValueChange={(value) => {\n if (!value || !PERIODS.includes(value as PopularPeriod)) return;\n const next = value as PopularPeriod;\n if (period === undefined) setOwnPeriod(next);\n onPeriodChange?.(next);\n }} className=\"gap-4\">\n <TabsList aria-label={m.t(\"listing.popularPeriod\")} className=\"mx-auto grid w-full grid-cols-4 group-data-horizontal/tabs:h-auto sm:w-fit\">\n {PERIODS.map((value) => (\n <TabsTrigger key={value} value={value} className=\"min-h-10 whitespace-normal px-3 py-2 text-center\">\n {label(value)}\n </TabsTrigger>\n ))}\n </TabsList>\n <TabsContent value={selected}>\n {typeof current !== \"string\" && (\n <p className=\"mb-4 text-center text-muted-foreground\">\n {m.t(\"listing.activityRange\", { from: current.from, until: current.until })}\n </p>\n )}\n <ContentGrid {...p} surface={p.surface ?? \"popular\"} query={list} locked={locked} infinite />\n </TabsContent>\n </Tabs>\n </ContentKitUiRoot>\n );\n}\n"],"mappings":";;;;;;;;;AAgBA,IAAM,IAAoC;CAAC;CAAM;CAAO;CAAQ;AAAK;AAGrE,SAAgB,EAAmB,EAAE,UAAO,WAAQ,mBAAgB,WAAQ,GAAG,KAA8B;CAC3G,IAAM,IAAI,EAAY,GAChB,CAAC,GAAW,KAAgB,EAAwB,IAAI,GACxD,IAAU,KAAU,GACpB,IAAW,OAAO,KAAY,WAAW,IAAU,UACnD,IAAO,QAAc,EAAa,GAAS,CAAK,GAAG,CAAC,GAAS,CAAK,CAAC,GACnE,KAAS,MAAyB,MAAU,QAAQ,EAAE,EAAE,oBAAoB,IAAI,EAAE,OAAO,oBAAoB,OAAO,EAAM,MAAM,GAAG,EAAE,CAAC,CAAC;CAC7I,OACE,kBAAC,GAAD;EAAkB,YAAY,EAAE;EAAY,WAAW,EAAG,sBAAsB,EAAE,SAAS;EAAG,aAAU;EACtG,UAAA,kBAAC,GAAD;GAAM,OAAO;GAAU,gBAAgB,MAAU;IAC/C,IAAI,CAAC,KAAS,CAAC,EAAQ,SAAS,CAAsB,GAAG;IACzD,IAAM,IAAO;IAEb,AADI,MAAW,KAAA,KAAW,EAAa,CAAI,GAC3C,IAAiB,CAAI;GACvB;GAAG,WAAU;GALb,UAAA,CAME,kBAAC,GAAD;IAAU,cAAY,EAAE,EAAE,uBAAuB;IAAG,WAAU;IAC3D,UAAA,EAAQ,KAAK,MACZ,kBAAC,GAAD;KAAgC;KAAO,WAAU;KAC9C,UAAA,EAAM,CAAK;IACD,GAFK,CAEL,CACd;GACO,CAAA,GACV,kBAAC,GAAD;IAAa,OAAO;IAApB,UAAA,CACG,OAAO,KAAY,YAClB,kBAAC,KAAD;KAAG,WAAU;KACV,UAAA,EAAE,EAAE,yBAAyB;MAAE,MAAM,EAAQ;MAAM,OAAO,EAAQ;KAAM,CAAC;IACzE,CAAA,GAEL,kBAAC,GAAD;KAAa,GAAI;KAAG,SAAS,EAAE,WAAW;KAAW,OAAO;KAAc;KAAQ,UAAA;IAAU,CAAA,CACjF;GACT,CAAA,CAAA;;CACU,CAAA;AAEtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"de.js","names":[],"sources":["../../../src/locales/discovery/de.ts"],"sourcesContent":["import type { discovery as en } from \"./en.js\";\n\nexport const discovery: typeof en = {\n readerSettings: {\n filterTitle: \"Inhaltsfilter\",\n filterDescription: \"Wähle die Inhalte, die du sehen möchtest.\",\n savingPreferences: \"Deine Einstellungen werden gespeichert…\",\n preferencesNotSaved: \"Deine Einstellungen wurden noch nicht gespeichert.\",\n title: \"Leseeinstellungen\",\n description: \"Wähle deine Sprache und die angezeigten Inhalte.\",\n filters: \"Inhalte anzeigen:\",\n },\n releases: {\n premiumMore_one: \"{count} weiterer Eintrag\",\n premiumMore_other: \"{count} weitere Einträge\",\n premiumHint: \"Vorschauen für Mitglieder · Zum Ansehen klicken\",\n filteredMore_one: \"{count} Eintrag ausgefiltert\",\n filteredMore_other: \"{count} Einträge ausgefiltert\",\n manageFilters: \"Inhaltsfilter ändern\",\n filterContext: \"Filter für {date}. Ein Eintrag kann mehreren Filtern entsprechen.\",\n },\n contents: {\n showMore: \"Mehr anzeigen\",\n unknownAccess: \"Gerade nicht verfügbar\",\n members: \"Mitglieder\",\n joinFree: \"Kostenlos beitreten\",\n forSale: \"Zu kaufen\",\n locked: \"Gesperrt\",\n pages_one: \"{count} Seite\",\n pages_other: \"{count} Seiten\",\n minutes_one: \"{count} Min.\",\n minutes_other: \"{count} Min.\",\n completed: \"Beendet\",\n freeFrom: \"Kostenlos ab {date}\",\n favorites: \"Favoriten\",\n likes: \"Likes\",\n empty: \"Hier ist noch nichts.\",\n loading: \"Wird geladen…\",\n loadMore: \"Mehr laden\",\n lockedShow_one: \"{count} gesperrten Eintrag zeigen\",\n lockedShow_other: \"{count} gesperrte Einträge zeigen\",\n lockedHide: \"Gesperrte Einträge ausblenden\",\n noResults: \"Nichts passt zu „{q}“.\",\n historySignedOut: \"Melde dich an, um deinen Verlauf zu sehen.\",\n clearHistory: \"Verlauf löschen\",\n historyEmpty: \"Dein Verlauf ist leer.\",\n removeFromHistory: \"Aus dem Verlauf entfernen\",\n search: \"Suche\",\n searchPlaceholder: \"Suchen…\",\n clearSearch: \"Suche löschen\",\n suggestions: \"Vorschläge\",\n filtersSignedOut: \"Melde dich an, um zu wählen, was du siehst.\",\n shown: \"Angezeigt\",\n hidden: \"Ausgeblendet\",\n useDefault: \"Standard verwenden\",\n noFilters: \"Diese Website hat keine Inhaltsfilter.\",\n includeDeleted: \"Entfernte Inhalte zeigen, die ich gekauft habe\",\n noDates: \"Keine Erscheinungsdaten.\",\n items_one: \"{count} Eintrag\",\n items_other: \"{count} Einträge\",\n free_one: \"{count} kostenlos\",\n free_other: \"{count} kostenlos\",\n recentSearches: \"Letzte Suchen\",\n noRecentSearches: \"Noch keine letzten Suchanfragen.\",\n searchHint: \"Tippe, um zu suchen.\",\n clearRecent: \"Löschen\",\n clearAllRecent: \"Alle löschen\",\n removeRecent: \"„{q}“ entfernen\",\n },\n listing: {\n popularPeriod: \"Beliebtheitszeitraum\",\n pastDays_one: \"Letzter {count} Tag\",\n pastDays_other: \"Letzte {count} Tage\",\n sort: \"Sortieren\",\n sort_newest: \"Neueste\",\n sort_oldest: \"Älteste\",\n sort_title: \"Titel\",\n sort_popular: \"Beliebt\",\n sort_top_rated: \"Bestbewertet\",\n sort_most_favorited: \"Meiste Favoriten\",\n sort_most_viewed: \"Meistgesehen\",\n sort_random: \"Zufällig\",\n sort_position: \"Reihenfolge\",\n period_7d: \"diese Woche\",\n period_30d: \"diesen Monat\",\n period_90d: \"letzte 3 Monate\",\n period_365d: \"dieses Jahr\",\n period_all: \"insgesamt\",\n sortPeriod: \"{sort}, {period}\",\n language: \"Sprache\",\n anyLanguage: \"Alle Sprachen\",\n any: \"Alle\",\n filters: \"Filter\",\n clear: \"Filter zurücksetzen\",\n },\n};\n"],"mappings":";AAEA,IAAa,IAAuB;CAClC,gBAAgB;EACd,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,qBAAqB;EACrB,OAAO;EACP,aAAa;EACb,SAAS;CACX;CACA,UAAU;EACR,iBAAiB;EACjB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,eAAe;EACf,eAAe;CACjB;CACA,UAAU;EACR,UAAU;EACV,eAAe;EACf,SAAS;EACT,UAAU;EACV,SAAS;EACT,QAAQ;EACR,WAAW;EACX,aAAa;EACb,aAAa;EACb,eAAe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,OAAO;EACP,OAAO;EACP,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,cAAc;EACd,cAAc;EACd,mBAAmB;EACnB,QAAQ;EACR,mBAAmB;EACnB,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,OAAO;EACP,QAAQ;EACR,YAAY;EACZ,WAAW;EACX,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,aAAa;EACb,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,cAAc;CAChB;CACA,SAAS;EACP,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,MAAM;EACN,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,qBAAqB;EACrB,kBAAkB;EAClB,aAAa;EACb,eAAe;EACf,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,YAAY;EACZ,UAAU;EACV,aAAa;EACb,KAAK;EACL,SAAS;EACT,OAAO;CACT;AACF"}
|
|
1
|
+
{"version":3,"file":"de.js","names":[],"sources":["../../../src/locales/discovery/de.ts"],"sourcesContent":["import type { discovery as en } from \"./en.js\";\n\nexport const discovery: typeof en = {\n readerSettings: {\n filterTitle: \"Inhaltsfilter\",\n filterDescription: \"Wähle die Inhalte, die du sehen möchtest.\",\n savingPreferences: \"Deine Einstellungen werden gespeichert…\",\n preferencesNotSaved: \"Deine Einstellungen wurden noch nicht gespeichert.\",\n title: \"Leseeinstellungen\",\n description: \"Wähle deine Sprache und die angezeigten Inhalte.\",\n filters: \"Inhalte anzeigen:\",\n },\n releases: {\n premiumMore_one: \"{count} weiterer Eintrag\",\n premiumMore_other: \"{count} weitere Einträge\",\n premiumHint: \"Vorschauen für Mitglieder · Zum Ansehen klicken\",\n filteredMore_one: \"{count} Eintrag ausgefiltert\",\n filteredMore_other: \"{count} Einträge ausgefiltert\",\n manageFilters: \"Inhaltsfilter ändern\",\n filterContext: \"Filter für {date}. Ein Eintrag kann mehreren Filtern entsprechen.\",\n },\n contents: {\n showMore: \"Mehr anzeigen\",\n unknownAccess: \"Gerade nicht verfügbar\",\n members: \"Mitglieder\",\n joinFree: \"Kostenlos beitreten\",\n forSale: \"Zu kaufen\",\n locked: \"Gesperrt\",\n pages_one: \"{count} Seite\",\n pages_other: \"{count} Seiten\",\n minutes_one: \"{count} Min.\",\n minutes_other: \"{count} Min.\",\n completed: \"Beendet\",\n freeFrom: \"Kostenlos ab {date}\",\n favorites: \"Favoriten\",\n likes: \"Likes\",\n empty: \"Hier ist noch nichts.\",\n loading: \"Wird geladen…\",\n loadMore: \"Mehr laden\",\n lockedShow_one: \"{count} gesperrten Eintrag zeigen\",\n lockedShow_other: \"{count} gesperrte Einträge zeigen\",\n lockedHide: \"Gesperrte Einträge ausblenden\",\n noResults: \"Nichts passt zu „{q}“.\",\n historySignedOut: \"Melde dich an, um deinen Verlauf zu sehen.\",\n clearHistory: \"Verlauf löschen\",\n historyEmpty: \"Dein Verlauf ist leer.\",\n removeFromHistory: \"Aus dem Verlauf entfernen\",\n search: \"Suche\",\n searchPlaceholder: \"Suchen…\",\n clearSearch: \"Suche löschen\",\n suggestions: \"Vorschläge\",\n filtersSignedOut: \"Melde dich an, um zu wählen, was du siehst.\",\n shown: \"Angezeigt\",\n hidden: \"Ausgeblendet\",\n useDefault: \"Standard verwenden\",\n noFilters: \"Diese Website hat keine Inhaltsfilter.\",\n includeDeleted: \"Entfernte Inhalte zeigen, die ich gekauft habe\",\n noDates: \"Keine Erscheinungsdaten.\",\n items_one: \"{count} Eintrag\",\n items_other: \"{count} Einträge\",\n free_one: \"{count} kostenlos\",\n free_other: \"{count} kostenlos\",\n recentSearches: \"Letzte Suchen\",\n noRecentSearches: \"Noch keine letzten Suchanfragen.\",\n searchHint: \"Tippe, um zu suchen.\",\n clearRecent: \"Löschen\",\n clearAllRecent: \"Alle löschen\",\n removeRecent: \"„{q}“ entfernen\",\n },\n listing: {\n activityRange: \"Aktivität von {from} bis vor {until} (UTC)\",\n popularPeriod: \"Beliebtheitszeitraum\",\n pastDays_one: \"Letzter {count} Tag\",\n pastDays_other: \"Letzte {count} Tage\",\n sort: \"Sortieren\",\n sort_newest: \"Neueste\",\n sort_oldest: \"Älteste\",\n sort_title: \"Titel\",\n sort_popular: \"Beliebt\",\n sort_top_rated: \"Bestbewertet\",\n sort_most_favorited: \"Meiste Favoriten\",\n sort_most_viewed: \"Meistgesehen\",\n sort_random: \"Zufällig\",\n sort_position: \"Reihenfolge\",\n period_7d: \"diese Woche\",\n period_30d: \"diesen Monat\",\n period_90d: \"letzte 3 Monate\",\n period_365d: \"dieses Jahr\",\n period_all: \"insgesamt\",\n sortPeriod: \"{sort}, {period}\",\n language: \"Sprache\",\n anyLanguage: \"Alle Sprachen\",\n any: \"Alle\",\n filters: \"Filter\",\n clear: \"Filter zurücksetzen\",\n },\n};\n"],"mappings":";AAEA,IAAa,IAAuB;CAClC,gBAAgB;EACd,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,qBAAqB;EACrB,OAAO;EACP,aAAa;EACb,SAAS;CACX;CACA,UAAU;EACR,iBAAiB;EACjB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,eAAe;EACf,eAAe;CACjB;CACA,UAAU;EACR,UAAU;EACV,eAAe;EACf,SAAS;EACT,UAAU;EACV,SAAS;EACT,QAAQ;EACR,WAAW;EACX,aAAa;EACb,aAAa;EACb,eAAe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,OAAO;EACP,OAAO;EACP,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,cAAc;EACd,cAAc;EACd,mBAAmB;EACnB,QAAQ;EACR,mBAAmB;EACnB,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,OAAO;EACP,QAAQ;EACR,YAAY;EACZ,WAAW;EACX,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,aAAa;EACb,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,cAAc;CAChB;CACA,SAAS;EACP,eAAe;EACf,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,MAAM;EACN,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,qBAAqB;EACrB,kBAAkB;EAClB,aAAa;EACb,eAAe;EACf,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,YAAY;EACZ,UAAU;EACV,aAAa;EACb,KAAK;EACL,SAAS;EACT,OAAO;CACT;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.js","names":[],"sources":["../../../src/locales/discovery/en.ts"],"sourcesContent":["// Discovery: cards, grids, rails, search, content filters, history, release dates.\nexport const discovery = {\n readerSettings: {\n filterTitle: \"Content filters\",\n filterDescription: \"Choose the content you want to see.\",\n savingPreferences: \"Saving your preferences…\",\n preferencesNotSaved: \"Your preferences haven't been saved yet.\",\n title: \"Reader settings\",\n description: \"Choose your language and the content you see.\",\n filters: \"Show Content:\",\n },\n releases: {\n premiumMore_one: \"{count} more item\",\n premiumMore_other: \"{count} more items\",\n premiumHint: \"Members-only previews · Click to view\",\n filteredMore_one: \"{count} item filtered out\",\n filteredMore_other: \"{count} items filtered out\",\n manageFilters: \"Change content filters\",\n filterContext: \"Filters for {date}. An item can match more than one filter.\",\n },\n contents: {\n showMore: \"Show more\",\n unknownAccess: \"Unavailable right now\",\n members: \"Members\",\n joinFree: \"Free to join\",\n forSale: \"For sale\",\n locked: \"Locked\",\n pages_one: \"{count} page\",\n pages_other: \"{count} pages\",\n minutes_one: \"{count} min\",\n minutes_other: \"{count} min\",\n completed: \"Finished\",\n freeFrom: \"Free from {date}\",\n favorites: \"Favorites\",\n likes: \"Likes\",\n empty: \"Nothing here yet.\",\n loading: \"Loading…\",\n loadMore: \"Load more\",\n lockedShow_one: \"Show {count} locked item\",\n lockedShow_other: \"Show {count} locked items\",\n lockedHide: \"Hide locked items\",\n noResults: \"Nothing matches “{q}”.\",\n historySignedOut: \"Sign in to see your history.\",\n clearHistory: \"Clear history\",\n historyEmpty: \"Your history is empty.\",\n removeFromHistory: \"Remove from history\",\n search: \"Search\",\n searchPlaceholder: \"Search…\",\n clearSearch: \"Clear search\",\n suggestions: \"Suggestions\",\n filtersSignedOut: \"Sign in to choose what you see.\",\n shown: \"Shown\",\n hidden: \"Hidden\",\n useDefault: \"Use the default\",\n noFilters: \"This site has no content filters.\",\n includeDeleted: \"Show removed content I bought\",\n noDates: \"No release dates.\",\n items_one: \"{count} item\",\n items_other: \"{count} items\",\n free_one: \"{count} free\",\n free_other: \"{count} free\",\n recentSearches: \"Recent searches\",\n noRecentSearches: \"No recent searches yet.\",\n searchHint: \"Start typing to search.\",\n clearRecent: \"Clear\",\n clearAllRecent: \"Clear all\",\n removeRecent: \"Remove “{q}”\",\n },\n listing: {\n popularPeriod: \"Popularity period\",\n pastDays_one: \"Past {count} day\",\n pastDays_other: \"Past {count} days\",\n sort: \"Sort\",\n sort_newest: \"Newest\",\n sort_oldest: \"Oldest\",\n sort_title: \"Title\",\n sort_popular: \"Popular\",\n sort_top_rated: \"Top rated\",\n sort_most_favorited: \"Most favorited\",\n sort_most_viewed: \"Most viewed\",\n sort_random: \"Random\",\n sort_position: \"In order\",\n period_7d: \"this week\",\n period_30d: \"this month\",\n period_90d: \"last 3 months\",\n period_365d: \"this year\",\n period_all: \"all time\",\n sortPeriod: \"{sort}, {period}\",\n language: \"Language\",\n anyLanguage: \"Any language\",\n any: \"Any\",\n filters: \"Filters\",\n clear: \"Clear filters\",\n },\n};\n"],"mappings":";AACA,IAAa,IAAY;CACvB,gBAAgB;EACd,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,qBAAqB;EACrB,OAAO;EACP,aAAa;EACb,SAAS;CACX;CACA,UAAU;EACR,iBAAiB;EACjB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,eAAe;EACf,eAAe;CACjB;CACA,UAAU;EACR,UAAU;EACV,eAAe;EACf,SAAS;EACT,UAAU;EACV,SAAS;EACT,QAAQ;EACR,WAAW;EACX,aAAa;EACb,aAAa;EACb,eAAe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,OAAO;EACP,OAAO;EACP,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,cAAc;EACd,cAAc;EACd,mBAAmB;EACnB,QAAQ;EACR,mBAAmB;EACnB,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,OAAO;EACP,QAAQ;EACR,YAAY;EACZ,WAAW;EACX,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,aAAa;EACb,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,cAAc;CAChB;CACA,SAAS;EACP,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,MAAM;EACN,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,qBAAqB;EACrB,kBAAkB;EAClB,aAAa;EACb,eAAe;EACf,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,YAAY;EACZ,UAAU;EACV,aAAa;EACb,KAAK;EACL,SAAS;EACT,OAAO;CACT;AACF"}
|
|
1
|
+
{"version":3,"file":"en.js","names":[],"sources":["../../../src/locales/discovery/en.ts"],"sourcesContent":["// Discovery: cards, grids, rails, search, content filters, history, release dates.\nexport const discovery = {\n readerSettings: {\n filterTitle: \"Content filters\",\n filterDescription: \"Choose the content you want to see.\",\n savingPreferences: \"Saving your preferences…\",\n preferencesNotSaved: \"Your preferences haven't been saved yet.\",\n title: \"Reader settings\",\n description: \"Choose your language and the content you see.\",\n filters: \"Show Content:\",\n },\n releases: {\n premiumMore_one: \"{count} more item\",\n premiumMore_other: \"{count} more items\",\n premiumHint: \"Members-only previews · Click to view\",\n filteredMore_one: \"{count} item filtered out\",\n filteredMore_other: \"{count} items filtered out\",\n manageFilters: \"Change content filters\",\n filterContext: \"Filters for {date}. An item can match more than one filter.\",\n },\n contents: {\n showMore: \"Show more\",\n unknownAccess: \"Unavailable right now\",\n members: \"Members\",\n joinFree: \"Free to join\",\n forSale: \"For sale\",\n locked: \"Locked\",\n pages_one: \"{count} page\",\n pages_other: \"{count} pages\",\n minutes_one: \"{count} min\",\n minutes_other: \"{count} min\",\n completed: \"Finished\",\n freeFrom: \"Free from {date}\",\n favorites: \"Favorites\",\n likes: \"Likes\",\n empty: \"Nothing here yet.\",\n loading: \"Loading…\",\n loadMore: \"Load more\",\n lockedShow_one: \"Show {count} locked item\",\n lockedShow_other: \"Show {count} locked items\",\n lockedHide: \"Hide locked items\",\n noResults: \"Nothing matches “{q}”.\",\n historySignedOut: \"Sign in to see your history.\",\n clearHistory: \"Clear history\",\n historyEmpty: \"Your history is empty.\",\n removeFromHistory: \"Remove from history\",\n search: \"Search\",\n searchPlaceholder: \"Search…\",\n clearSearch: \"Clear search\",\n suggestions: \"Suggestions\",\n filtersSignedOut: \"Sign in to choose what you see.\",\n shown: \"Shown\",\n hidden: \"Hidden\",\n useDefault: \"Use the default\",\n noFilters: \"This site has no content filters.\",\n includeDeleted: \"Show removed content I bought\",\n noDates: \"No release dates.\",\n items_one: \"{count} item\",\n items_other: \"{count} items\",\n free_one: \"{count} free\",\n free_other: \"{count} free\",\n recentSearches: \"Recent searches\",\n noRecentSearches: \"No recent searches yet.\",\n searchHint: \"Start typing to search.\",\n clearRecent: \"Clear\",\n clearAllRecent: \"Clear all\",\n removeRecent: \"Remove “{q}”\",\n },\n listing: {\n popularPeriod: \"Popularity period\",\n activityRange: \"Activity from {from} to before {until} (UTC)\",\n pastDays_one: \"Past {count} day\",\n pastDays_other: \"Past {count} days\",\n sort: \"Sort\",\n sort_newest: \"Newest\",\n sort_oldest: \"Oldest\",\n sort_title: \"Title\",\n sort_popular: \"Popular\",\n sort_top_rated: \"Top rated\",\n sort_most_favorited: \"Most favorited\",\n sort_most_viewed: \"Most viewed\",\n sort_random: \"Random\",\n sort_position: \"In order\",\n period_7d: \"this week\",\n period_30d: \"this month\",\n period_90d: \"last 3 months\",\n period_365d: \"this year\",\n period_all: \"all time\",\n sortPeriod: \"{sort}, {period}\",\n language: \"Language\",\n anyLanguage: \"Any language\",\n any: \"Any\",\n filters: \"Filters\",\n clear: \"Clear filters\",\n },\n};\n"],"mappings":";AACA,IAAa,IAAY;CACvB,gBAAgB;EACd,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,qBAAqB;EACrB,OAAO;EACP,aAAa;EACb,SAAS;CACX;CACA,UAAU;EACR,iBAAiB;EACjB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,eAAe;EACf,eAAe;CACjB;CACA,UAAU;EACR,UAAU;EACV,eAAe;EACf,SAAS;EACT,UAAU;EACV,SAAS;EACT,QAAQ;EACR,WAAW;EACX,aAAa;EACb,aAAa;EACb,eAAe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,OAAO;EACP,OAAO;EACP,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,cAAc;EACd,cAAc;EACd,mBAAmB;EACnB,QAAQ;EACR,mBAAmB;EACnB,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,OAAO;EACP,QAAQ;EACR,YAAY;EACZ,WAAW;EACX,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,aAAa;EACb,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,cAAc;CAChB;CACA,SAAS;EACP,eAAe;EACf,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,MAAM;EACN,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,qBAAqB;EACrB,kBAAkB;EAClB,aAAa;EACb,eAAe;EACf,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,YAAY;EACZ,UAAU;EACV,aAAa;EACb,KAAK;EACL,SAAS;EACT,OAAO;CACT;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.js","names":[],"sources":["../../../src/locales/discovery/es.ts"],"sourcesContent":["import type { discovery as en } from \"./en.js\";\n\nexport const discovery: typeof en = {\n readerSettings: {\n filterTitle: \"Filtros de contenido\",\n filterDescription: \"Elige el contenido que quieres ver.\",\n savingPreferences: \"Guardando tus preferencias…\",\n preferencesNotSaved: \"Tus preferencias aún no se han guardado.\",\n title: \"Ajustes de lectura\",\n description: \"Elige tu idioma y el contenido que ves.\",\n filters: \"Mostrar contenido:\",\n },\n releases: {\n premiumMore_one: \"{count} elemento más\",\n premiumMore_other: \"{count} elementos más\",\n premiumHint: \"Vistas previas para miembros · Haz clic para ver\",\n filteredMore_one: \"{count} elemento filtrado\",\n filteredMore_other: \"{count} elementos filtrados\",\n manageFilters: \"Cambiar filtros de contenido\",\n filterContext: \"Filtros para {date}. Un elemento puede coincidir con varios filtros.\",\n },\n contents: {\n showMore: \"Mostrar más\",\n unknownAccess: \"No disponible ahora\",\n members: \"Miembros\",\n joinFree: \"Unirse gratis\",\n forSale: \"A la venta\",\n locked: \"Bloqueado\",\n pages_one: \"{count} página\",\n pages_other: \"{count} páginas\",\n minutes_one: \"{count} min\",\n minutes_other: \"{count} min\",\n completed: \"Terminado\",\n freeFrom: \"Gratis desde el {date}\",\n favorites: \"Favoritos\",\n likes: \"Me gusta\",\n empty: \"Aún no hay nada aquí.\",\n loading: \"Cargando…\",\n loadMore: \"Cargar más\",\n lockedShow_one: \"Mostrar {count} elemento bloqueado\",\n lockedShow_other: \"Mostrar {count} elementos bloqueados\",\n lockedHide: \"Ocultar elementos bloqueados\",\n noResults: \"Nada coincide con «{q}».\",\n historySignedOut: \"Inicia sesión para ver tu historial.\",\n clearHistory: \"Borrar historial\",\n historyEmpty: \"Tu historial está vacío.\",\n removeFromHistory: \"Quitar del historial\",\n search: \"Buscar\",\n searchPlaceholder: \"Buscar…\",\n clearSearch: \"Borrar búsqueda\",\n suggestions: \"Sugerencias\",\n filtersSignedOut: \"Inicia sesión para elegir lo que ves.\",\n shown: \"Visible\",\n hidden: \"Oculto\",\n useDefault: \"Usar el predeterminado\",\n noFilters: \"Este sitio no tiene filtros de contenido.\",\n includeDeleted: \"Mostrar contenido retirado que compré\",\n noDates: \"No hay fechas de publicación.\",\n items_one: \"{count} elemento\",\n items_other: \"{count} elementos\",\n free_one: \"{count} gratis\",\n free_other: \"{count} gratis\",\n recentSearches: \"Búsquedas recientes\",\n noRecentSearches: \"Aún no hay búsquedas recientes.\",\n searchHint: \"Empieza a escribir para buscar.\",\n clearRecent: \"Borrar\",\n clearAllRecent: \"Borrar todo\",\n removeRecent: \"Quitar «{q}»\",\n },\n listing: {\n popularPeriod: \"Período de popularidad\",\n pastDays_one: \"Último {count} día\",\n pastDays_other: \"Últimos {count} días\",\n sort: \"Ordenar\",\n sort_newest: \"Más recientes\",\n sort_oldest: \"Más antiguos\",\n sort_title: \"Título\",\n sort_popular: \"Populares\",\n sort_top_rated: \"Mejor valorados\",\n sort_most_favorited: \"Más favoritos\",\n sort_most_viewed: \"Más vistos\",\n sort_random: \"Aleatorio\",\n sort_position: \"En orden\",\n period_7d: \"esta semana\",\n period_30d: \"este mes\",\n period_90d: \"últimos 3 meses\",\n period_365d: \"este año\",\n period_all: \"siempre\",\n sortPeriod: \"{sort}, {period}\",\n language: \"Idioma\",\n anyLanguage: \"Cualquier idioma\",\n any: \"Cualquiera\",\n filters: \"Filtros\",\n clear: \"Quitar filtros\",\n },\n};\n"],"mappings":";AAEA,IAAa,IAAuB;CAClC,gBAAgB;EACd,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,qBAAqB;EACrB,OAAO;EACP,aAAa;EACb,SAAS;CACX;CACA,UAAU;EACR,iBAAiB;EACjB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,eAAe;EACf,eAAe;CACjB;CACA,UAAU;EACR,UAAU;EACV,eAAe;EACf,SAAS;EACT,UAAU;EACV,SAAS;EACT,QAAQ;EACR,WAAW;EACX,aAAa;EACb,aAAa;EACb,eAAe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,OAAO;EACP,OAAO;EACP,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,cAAc;EACd,cAAc;EACd,mBAAmB;EACnB,QAAQ;EACR,mBAAmB;EACnB,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,OAAO;EACP,QAAQ;EACR,YAAY;EACZ,WAAW;EACX,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,aAAa;EACb,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,cAAc;CAChB;CACA,SAAS;EACP,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,MAAM;EACN,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,qBAAqB;EACrB,kBAAkB;EAClB,aAAa;EACb,eAAe;EACf,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,YAAY;EACZ,UAAU;EACV,aAAa;EACb,KAAK;EACL,SAAS;EACT,OAAO;CACT;AACF"}
|
|
1
|
+
{"version":3,"file":"es.js","names":[],"sources":["../../../src/locales/discovery/es.ts"],"sourcesContent":["import type { discovery as en } from \"./en.js\";\n\nexport const discovery: typeof en = {\n readerSettings: {\n filterTitle: \"Filtros de contenido\",\n filterDescription: \"Elige el contenido que quieres ver.\",\n savingPreferences: \"Guardando tus preferencias…\",\n preferencesNotSaved: \"Tus preferencias aún no se han guardado.\",\n title: \"Ajustes de lectura\",\n description: \"Elige tu idioma y el contenido que ves.\",\n filters: \"Mostrar contenido:\",\n },\n releases: {\n premiumMore_one: \"{count} elemento más\",\n premiumMore_other: \"{count} elementos más\",\n premiumHint: \"Vistas previas para miembros · Haz clic para ver\",\n filteredMore_one: \"{count} elemento filtrado\",\n filteredMore_other: \"{count} elementos filtrados\",\n manageFilters: \"Cambiar filtros de contenido\",\n filterContext: \"Filtros para {date}. Un elemento puede coincidir con varios filtros.\",\n },\n contents: {\n showMore: \"Mostrar más\",\n unknownAccess: \"No disponible ahora\",\n members: \"Miembros\",\n joinFree: \"Unirse gratis\",\n forSale: \"A la venta\",\n locked: \"Bloqueado\",\n pages_one: \"{count} página\",\n pages_other: \"{count} páginas\",\n minutes_one: \"{count} min\",\n minutes_other: \"{count} min\",\n completed: \"Terminado\",\n freeFrom: \"Gratis desde el {date}\",\n favorites: \"Favoritos\",\n likes: \"Me gusta\",\n empty: \"Aún no hay nada aquí.\",\n loading: \"Cargando…\",\n loadMore: \"Cargar más\",\n lockedShow_one: \"Mostrar {count} elemento bloqueado\",\n lockedShow_other: \"Mostrar {count} elementos bloqueados\",\n lockedHide: \"Ocultar elementos bloqueados\",\n noResults: \"Nada coincide con «{q}».\",\n historySignedOut: \"Inicia sesión para ver tu historial.\",\n clearHistory: \"Borrar historial\",\n historyEmpty: \"Tu historial está vacío.\",\n removeFromHistory: \"Quitar del historial\",\n search: \"Buscar\",\n searchPlaceholder: \"Buscar…\",\n clearSearch: \"Borrar búsqueda\",\n suggestions: \"Sugerencias\",\n filtersSignedOut: \"Inicia sesión para elegir lo que ves.\",\n shown: \"Visible\",\n hidden: \"Oculto\",\n useDefault: \"Usar el predeterminado\",\n noFilters: \"Este sitio no tiene filtros de contenido.\",\n includeDeleted: \"Mostrar contenido retirado que compré\",\n noDates: \"No hay fechas de publicación.\",\n items_one: \"{count} elemento\",\n items_other: \"{count} elementos\",\n free_one: \"{count} gratis\",\n free_other: \"{count} gratis\",\n recentSearches: \"Búsquedas recientes\",\n noRecentSearches: \"Aún no hay búsquedas recientes.\",\n searchHint: \"Empieza a escribir para buscar.\",\n clearRecent: \"Borrar\",\n clearAllRecent: \"Borrar todo\",\n removeRecent: \"Quitar «{q}»\",\n },\n listing: {\n activityRange: \"Actividad desde {from} hasta antes de {until} (UTC)\",\n popularPeriod: \"Período de popularidad\",\n pastDays_one: \"Último {count} día\",\n pastDays_other: \"Últimos {count} días\",\n sort: \"Ordenar\",\n sort_newest: \"Más recientes\",\n sort_oldest: \"Más antiguos\",\n sort_title: \"Título\",\n sort_popular: \"Populares\",\n sort_top_rated: \"Mejor valorados\",\n sort_most_favorited: \"Más favoritos\",\n sort_most_viewed: \"Más vistos\",\n sort_random: \"Aleatorio\",\n sort_position: \"En orden\",\n period_7d: \"esta semana\",\n period_30d: \"este mes\",\n period_90d: \"últimos 3 meses\",\n period_365d: \"este año\",\n period_all: \"siempre\",\n sortPeriod: \"{sort}, {period}\",\n language: \"Idioma\",\n anyLanguage: \"Cualquier idioma\",\n any: \"Cualquiera\",\n filters: \"Filtros\",\n clear: \"Quitar filtros\",\n },\n};\n"],"mappings":";AAEA,IAAa,IAAuB;CAClC,gBAAgB;EACd,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,qBAAqB;EACrB,OAAO;EACP,aAAa;EACb,SAAS;CACX;CACA,UAAU;EACR,iBAAiB;EACjB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,eAAe;EACf,eAAe;CACjB;CACA,UAAU;EACR,UAAU;EACV,eAAe;EACf,SAAS;EACT,UAAU;EACV,SAAS;EACT,QAAQ;EACR,WAAW;EACX,aAAa;EACb,aAAa;EACb,eAAe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,OAAO;EACP,OAAO;EACP,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,cAAc;EACd,cAAc;EACd,mBAAmB;EACnB,QAAQ;EACR,mBAAmB;EACnB,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,OAAO;EACP,QAAQ;EACR,YAAY;EACZ,WAAW;EACX,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,aAAa;EACb,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,cAAc;CAChB;CACA,SAAS;EACP,eAAe;EACf,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,MAAM;EACN,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,qBAAqB;EACrB,kBAAkB;EAClB,aAAa;EACb,eAAe;EACf,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,YAAY;EACZ,UAAU;EACV,aAAa;EACb,KAAK;EACL,SAAS;EACT,OAAO;CACT;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ja.js","names":[],"sources":["../../../src/locales/discovery/ja.ts"],"sourcesContent":["import type { discovery as en } from \"./en.js\";\n\nexport const discovery: typeof en = {\n readerSettings: {\n filterTitle: \"コンテンツフィルター\",\n filterDescription: \"表示するコンテンツを選択してください。\",\n savingPreferences: \"設定を保存しています…\",\n preferencesNotSaved: \"設定はまだ保存されていません。\",\n title: \"閲覧設定\",\n description: \"言語と表示するコンテンツを選択します。\",\n filters: \"表示するコンテンツ:\",\n },\n releases: {\n premiumMore_one: \"ほか {count} 件\",\n premiumMore_other: \"ほか {count} 件\",\n premiumHint: \"会員向けプレビュー · クリックして表示\",\n filteredMore_one: \"{count} 件を非表示\",\n filteredMore_other: \"{count} 件を非表示\",\n manageFilters: \"コンテンツフィルターを変更\",\n filterContext: \"{date} のフィルター。1つのコンテンツが複数のフィルターに該当する場合があります。\",\n },\n contents: {\n showMore: \"もっと表示\",\n unknownAccess: \"現在利用できません\",\n members: \"メンバー限定\",\n joinFree: \"無料で参加\",\n forSale: \"販売中\",\n locked: \"ロック中\",\n pages_one: \"{count} ページ\",\n pages_other: \"{count} ページ\",\n minutes_one: \"{count} 分\",\n minutes_other: \"{count} 分\",\n completed: \"読了\",\n freeFrom: \"{date} から無料\",\n favorites: \"お気に入り\",\n likes: \"いいね\",\n empty: \"まだ何もありません。\",\n loading: \"読み込み中…\",\n loadMore: \"さらに読み込む\",\n lockedShow_one: \"ロック中の{count}件を表示\",\n lockedShow_other: \"ロック中の{count}件を表示\",\n lockedHide: \"ロック中の項目を隠す\",\n noResults: \"「{q}」に一致するものはありません。\",\n historySignedOut: \"履歴を見るにはサインインしてください。\",\n clearHistory: \"履歴を消去\",\n historyEmpty: \"履歴はありません。\",\n removeFromHistory: \"履歴から削除\",\n search: \"検索\",\n searchPlaceholder: \"検索…\",\n clearSearch: \"検索をクリア\",\n suggestions: \"候補\",\n filtersSignedOut: \"表示する内容を選ぶにはサインインしてください。\",\n shown: \"表示\",\n hidden: \"非表示\",\n useDefault: \"既定に戻す\",\n noFilters: \"このサイトにはコンテンツフィルターがありません。\",\n includeDeleted: \"購入済みの削除されたコンテンツを表示\",\n noDates: \"公開日はありません。\",\n items_one: \"{count} 件\",\n items_other: \"{count} 件\",\n free_one: \"無料 {count} 件\",\n free_other: \"無料 {count} 件\",\n recentSearches: \"最近の検索\",\n noRecentSearches: \"最近の検索はまだありません。\",\n searchHint: \"キーワードを入力して検索します。\",\n clearRecent: \"消去\",\n clearAllRecent: \"すべて消去\",\n removeRecent: \"「{q}」を削除\",\n },\n listing: {\n popularPeriod: \"人気の集計期間\",\n pastDays_one: \"過去{count}日間\",\n pastDays_other: \"過去{count}日間\",\n sort: \"並べ替え\",\n sort_newest: \"新着\",\n sort_oldest: \"古い順\",\n sort_title: \"タイトル\",\n sort_popular: \"人気\",\n sort_top_rated: \"高評価\",\n sort_most_favorited: \"お気に入り数\",\n sort_most_viewed: \"閲覧数\",\n sort_random: \"ランダム\",\n sort_position: \"順番\",\n period_7d: \"今週\",\n period_30d: \"今月\",\n period_90d: \"過去3か月\",\n period_365d: \"今年\",\n period_all: \"全期間\",\n sortPeriod: \"{sort}({period})\",\n language: \"言語\",\n anyLanguage: \"すべての言語\",\n any: \"すべて\",\n filters: \"絞り込み\",\n clear: \"絞り込みを解除\",\n },\n};\n"],"mappings":";AAEA,IAAa,IAAuB;CAClC,gBAAgB;EACd,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,qBAAqB;EACrB,OAAO;EACP,aAAa;EACb,SAAS;CACX;CACA,UAAU;EACR,iBAAiB;EACjB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,eAAe;EACf,eAAe;CACjB;CACA,UAAU;EACR,UAAU;EACV,eAAe;EACf,SAAS;EACT,UAAU;EACV,SAAS;EACT,QAAQ;EACR,WAAW;EACX,aAAa;EACb,aAAa;EACb,eAAe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,OAAO;EACP,OAAO;EACP,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,cAAc;EACd,cAAc;EACd,mBAAmB;EACnB,QAAQ;EACR,mBAAmB;EACnB,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,OAAO;EACP,QAAQ;EACR,YAAY;EACZ,WAAW;EACX,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,aAAa;EACb,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,cAAc;CAChB;CACA,SAAS;EACP,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,MAAM;EACN,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,qBAAqB;EACrB,kBAAkB;EAClB,aAAa;EACb,eAAe;EACf,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,YAAY;EACZ,UAAU;EACV,aAAa;EACb,KAAK;EACL,SAAS;EACT,OAAO;CACT;AACF"}
|
|
1
|
+
{"version":3,"file":"ja.js","names":[],"sources":["../../../src/locales/discovery/ja.ts"],"sourcesContent":["import type { discovery as en } from \"./en.js\";\n\nexport const discovery: typeof en = {\n readerSettings: {\n filterTitle: \"コンテンツフィルター\",\n filterDescription: \"表示するコンテンツを選択してください。\",\n savingPreferences: \"設定を保存しています…\",\n preferencesNotSaved: \"設定はまだ保存されていません。\",\n title: \"閲覧設定\",\n description: \"言語と表示するコンテンツを選択します。\",\n filters: \"表示するコンテンツ:\",\n },\n releases: {\n premiumMore_one: \"ほか {count} 件\",\n premiumMore_other: \"ほか {count} 件\",\n premiumHint: \"会員向けプレビュー · クリックして表示\",\n filteredMore_one: \"{count} 件を非表示\",\n filteredMore_other: \"{count} 件を非表示\",\n manageFilters: \"コンテンツフィルターを変更\",\n filterContext: \"{date} のフィルター。1つのコンテンツが複数のフィルターに該当する場合があります。\",\n },\n contents: {\n showMore: \"もっと表示\",\n unknownAccess: \"現在利用できません\",\n members: \"メンバー限定\",\n joinFree: \"無料で参加\",\n forSale: \"販売中\",\n locked: \"ロック中\",\n pages_one: \"{count} ページ\",\n pages_other: \"{count} ページ\",\n minutes_one: \"{count} 分\",\n minutes_other: \"{count} 分\",\n completed: \"読了\",\n freeFrom: \"{date} から無料\",\n favorites: \"お気に入り\",\n likes: \"いいね\",\n empty: \"まだ何もありません。\",\n loading: \"読み込み中…\",\n loadMore: \"さらに読み込む\",\n lockedShow_one: \"ロック中の{count}件を表示\",\n lockedShow_other: \"ロック中の{count}件を表示\",\n lockedHide: \"ロック中の項目を隠す\",\n noResults: \"「{q}」に一致するものはありません。\",\n historySignedOut: \"履歴を見るにはサインインしてください。\",\n clearHistory: \"履歴を消去\",\n historyEmpty: \"履歴はありません。\",\n removeFromHistory: \"履歴から削除\",\n search: \"検索\",\n searchPlaceholder: \"検索…\",\n clearSearch: \"検索をクリア\",\n suggestions: \"候補\",\n filtersSignedOut: \"表示する内容を選ぶにはサインインしてください。\",\n shown: \"表示\",\n hidden: \"非表示\",\n useDefault: \"既定に戻す\",\n noFilters: \"このサイトにはコンテンツフィルターがありません。\",\n includeDeleted: \"購入済みの削除されたコンテンツを表示\",\n noDates: \"公開日はありません。\",\n items_one: \"{count} 件\",\n items_other: \"{count} 件\",\n free_one: \"無料 {count} 件\",\n free_other: \"無料 {count} 件\",\n recentSearches: \"最近の検索\",\n noRecentSearches: \"最近の検索はまだありません。\",\n searchHint: \"キーワードを入力して検索します。\",\n clearRecent: \"消去\",\n clearAllRecent: \"すべて消去\",\n removeRecent: \"「{q}」を削除\",\n },\n listing: {\n activityRange: \"{from}から{until}より前までのアクティビティ (UTC)\",\n popularPeriod: \"人気の集計期間\",\n pastDays_one: \"過去{count}日間\",\n pastDays_other: \"過去{count}日間\",\n sort: \"並べ替え\",\n sort_newest: \"新着\",\n sort_oldest: \"古い順\",\n sort_title: \"タイトル\",\n sort_popular: \"人気\",\n sort_top_rated: \"高評価\",\n sort_most_favorited: \"お気に入り数\",\n sort_most_viewed: \"閲覧数\",\n sort_random: \"ランダム\",\n sort_position: \"順番\",\n period_7d: \"今週\",\n period_30d: \"今月\",\n period_90d: \"過去3か月\",\n period_365d: \"今年\",\n period_all: \"全期間\",\n sortPeriod: \"{sort}({period})\",\n language: \"言語\",\n anyLanguage: \"すべての言語\",\n any: \"すべて\",\n filters: \"絞り込み\",\n clear: \"絞り込みを解除\",\n },\n};\n"],"mappings":";AAEA,IAAa,IAAuB;CAClC,gBAAgB;EACd,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,qBAAqB;EACrB,OAAO;EACP,aAAa;EACb,SAAS;CACX;CACA,UAAU;EACR,iBAAiB;EACjB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,eAAe;EACf,eAAe;CACjB;CACA,UAAU;EACR,UAAU;EACV,eAAe;EACf,SAAS;EACT,UAAU;EACV,SAAS;EACT,QAAQ;EACR,WAAW;EACX,aAAa;EACb,aAAa;EACb,eAAe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,OAAO;EACP,OAAO;EACP,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,cAAc;EACd,cAAc;EACd,mBAAmB;EACnB,QAAQ;EACR,mBAAmB;EACnB,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,OAAO;EACP,QAAQ;EACR,YAAY;EACZ,WAAW;EACX,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,aAAa;EACb,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,cAAc;CAChB;CACA,SAAS;EACP,eAAe;EACf,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,MAAM;EACN,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,qBAAqB;EACrB,kBAAkB;EAClB,aAAa;EACb,eAAe;EACf,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,YAAY;EACZ,UAAU;EACV,aAAa;EACb,KAAK;EACL,SAAS;EACT,OAAO;CACT;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ko.js","names":[],"sources":["../../../src/locales/discovery/ko.ts"],"sourcesContent":["import type { discovery as en } from \"./en.js\";\n\nexport const discovery: typeof en = {\n readerSettings: {\n filterTitle: \"콘텐츠 필터\",\n filterDescription: \"표시할 콘텐츠를 선택하세요.\",\n savingPreferences: \"환경설정을 저장하는 중…\",\n preferencesNotSaved: \"환경설정이 아직 저장되지 않았습니다.\",\n title: \"열람 설정\",\n description: \"언어와 표시할 콘텐츠를 선택하세요.\",\n filters: \"표시할 콘텐츠:\",\n },\n releases: {\n premiumMore_one: \"{count}개 더 보기\",\n premiumMore_other: \"{count}개 더 보기\",\n premiumHint: \"회원 전용 미리보기 · 클릭하여 보기\",\n filteredMore_one: \"{count}개 필터링됨\",\n filteredMore_other: \"{count}개 필터링됨\",\n manageFilters: \"콘텐츠 필터 변경\",\n filterContext: \"{date}의 필터입니다. 하나의 콘텐츠가 여러 필터에 해당할 수 있습니다.\",\n },\n contents: {\n showMore: \"더 보기\",\n unknownAccess: \"지금은 이용할 수 없음\",\n members: \"멤버 전용\",\n joinFree: \"무료 가입\",\n forSale: \"판매 중\",\n locked: \"잠김\",\n pages_one: \"{count}쪽\",\n pages_other: \"{count}쪽\",\n minutes_one: \"{count}분\",\n minutes_other: \"{count}분\",\n completed: \"완료\",\n freeFrom: \"{date}부터 무료\",\n favorites: \"즐겨찾기\",\n likes: \"좋아요\",\n empty: \"아직 아무것도 없습니다.\",\n loading: \"불러오는 중…\",\n loadMore: \"더 불러오기\",\n lockedShow_one: \"잠긴 항목 {count}개 보기\",\n lockedShow_other: \"잠긴 항목 {count}개 보기\",\n lockedHide: \"잠긴 항목 숨기기\",\n noResults: \"“{q}”와(과) 일치하는 항목이 없습니다.\",\n historySignedOut: \"기록을 보려면 로그인하세요.\",\n clearHistory: \"기록 지우기\",\n historyEmpty: \"기록이 없습니다.\",\n removeFromHistory: \"기록에서 삭제\",\n search: \"검색\",\n searchPlaceholder: \"검색…\",\n clearSearch: \"검색 지우기\",\n suggestions: \"추천 검색어\",\n filtersSignedOut: \"볼 콘텐츠를 선택하려면 로그인하세요.\",\n shown: \"표시\",\n hidden: \"숨김\",\n useDefault: \"기본값 사용\",\n noFilters: \"이 사이트에는 콘텐츠 필터가 없습니다.\",\n includeDeleted: \"구매한 삭제된 콘텐츠 표시\",\n noDates: \"공개일이 없습니다.\",\n items_one: \"{count}개\",\n items_other: \"{count}개\",\n free_one: \"무료 {count}개\",\n free_other: \"무료 {count}개\",\n recentSearches: \"최근 검색\",\n noRecentSearches: \"최근 검색이 아직 없습니다.\",\n searchHint: \"검색어를 입력하세요.\",\n clearRecent: \"지우기\",\n clearAllRecent: \"모두 지우기\",\n removeRecent: \"“{q}” 삭제\",\n },\n listing: {\n popularPeriod: \"인기 집계 기간\",\n pastDays_one: \"최근 {count}일\",\n pastDays_other: \"최근 {count}일\",\n sort: \"정렬\",\n sort_newest: \"최신순\",\n sort_oldest: \"오래된순\",\n sort_title: \"제목\",\n sort_popular: \"인기\",\n sort_top_rated: \"높은 평점\",\n sort_most_favorited: \"즐겨찾기순\",\n sort_most_viewed: \"조회수순\",\n sort_random: \"무작위\",\n sort_position: \"순서\",\n period_7d: \"이번 주\",\n period_30d: \"이번 달\",\n period_90d: \"최근 3개월\",\n period_365d: \"올해\",\n period_all: \"전체 기간\",\n sortPeriod: \"{sort} ({period})\",\n language: \"언어\",\n anyLanguage: \"모든 언어\",\n any: \"전체\",\n filters: \"필터\",\n clear: \"필터 지우기\",\n },\n};\n"],"mappings":";AAEA,IAAa,IAAuB;CAClC,gBAAgB;EACd,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,qBAAqB;EACrB,OAAO;EACP,aAAa;EACb,SAAS;CACX;CACA,UAAU;EACR,iBAAiB;EACjB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,eAAe;EACf,eAAe;CACjB;CACA,UAAU;EACR,UAAU;EACV,eAAe;EACf,SAAS;EACT,UAAU;EACV,SAAS;EACT,QAAQ;EACR,WAAW;EACX,aAAa;EACb,aAAa;EACb,eAAe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,OAAO;EACP,OAAO;EACP,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,cAAc;EACd,cAAc;EACd,mBAAmB;EACnB,QAAQ;EACR,mBAAmB;EACnB,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,OAAO;EACP,QAAQ;EACR,YAAY;EACZ,WAAW;EACX,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,aAAa;EACb,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,cAAc;CAChB;CACA,SAAS;EACP,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,MAAM;EACN,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,qBAAqB;EACrB,kBAAkB;EAClB,aAAa;EACb,eAAe;EACf,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,YAAY;EACZ,UAAU;EACV,aAAa;EACb,KAAK;EACL,SAAS;EACT,OAAO;CACT;AACF"}
|
|
1
|
+
{"version":3,"file":"ko.js","names":[],"sources":["../../../src/locales/discovery/ko.ts"],"sourcesContent":["import type { discovery as en } from \"./en.js\";\n\nexport const discovery: typeof en = {\n readerSettings: {\n filterTitle: \"콘텐츠 필터\",\n filterDescription: \"표시할 콘텐츠를 선택하세요.\",\n savingPreferences: \"환경설정을 저장하는 중…\",\n preferencesNotSaved: \"환경설정이 아직 저장되지 않았습니다.\",\n title: \"열람 설정\",\n description: \"언어와 표시할 콘텐츠를 선택하세요.\",\n filters: \"표시할 콘텐츠:\",\n },\n releases: {\n premiumMore_one: \"{count}개 더 보기\",\n premiumMore_other: \"{count}개 더 보기\",\n premiumHint: \"회원 전용 미리보기 · 클릭하여 보기\",\n filteredMore_one: \"{count}개 필터링됨\",\n filteredMore_other: \"{count}개 필터링됨\",\n manageFilters: \"콘텐츠 필터 변경\",\n filterContext: \"{date}의 필터입니다. 하나의 콘텐츠가 여러 필터에 해당할 수 있습니다.\",\n },\n contents: {\n showMore: \"더 보기\",\n unknownAccess: \"지금은 이용할 수 없음\",\n members: \"멤버 전용\",\n joinFree: \"무료 가입\",\n forSale: \"판매 중\",\n locked: \"잠김\",\n pages_one: \"{count}쪽\",\n pages_other: \"{count}쪽\",\n minutes_one: \"{count}분\",\n minutes_other: \"{count}분\",\n completed: \"완료\",\n freeFrom: \"{date}부터 무료\",\n favorites: \"즐겨찾기\",\n likes: \"좋아요\",\n empty: \"아직 아무것도 없습니다.\",\n loading: \"불러오는 중…\",\n loadMore: \"더 불러오기\",\n lockedShow_one: \"잠긴 항목 {count}개 보기\",\n lockedShow_other: \"잠긴 항목 {count}개 보기\",\n lockedHide: \"잠긴 항목 숨기기\",\n noResults: \"“{q}”와(과) 일치하는 항목이 없습니다.\",\n historySignedOut: \"기록을 보려면 로그인하세요.\",\n clearHistory: \"기록 지우기\",\n historyEmpty: \"기록이 없습니다.\",\n removeFromHistory: \"기록에서 삭제\",\n search: \"검색\",\n searchPlaceholder: \"검색…\",\n clearSearch: \"검색 지우기\",\n suggestions: \"추천 검색어\",\n filtersSignedOut: \"볼 콘텐츠를 선택하려면 로그인하세요.\",\n shown: \"표시\",\n hidden: \"숨김\",\n useDefault: \"기본값 사용\",\n noFilters: \"이 사이트에는 콘텐츠 필터가 없습니다.\",\n includeDeleted: \"구매한 삭제된 콘텐츠 표시\",\n noDates: \"공개일이 없습니다.\",\n items_one: \"{count}개\",\n items_other: \"{count}개\",\n free_one: \"무료 {count}개\",\n free_other: \"무료 {count}개\",\n recentSearches: \"최근 검색\",\n noRecentSearches: \"최근 검색이 아직 없습니다.\",\n searchHint: \"검색어를 입력하세요.\",\n clearRecent: \"지우기\",\n clearAllRecent: \"모두 지우기\",\n removeRecent: \"“{q}” 삭제\",\n },\n listing: {\n activityRange: \"{from}부터 {until} 전까지의 활동 (UTC)\",\n popularPeriod: \"인기 집계 기간\",\n pastDays_one: \"최근 {count}일\",\n pastDays_other: \"최근 {count}일\",\n sort: \"정렬\",\n sort_newest: \"최신순\",\n sort_oldest: \"오래된순\",\n sort_title: \"제목\",\n sort_popular: \"인기\",\n sort_top_rated: \"높은 평점\",\n sort_most_favorited: \"즐겨찾기순\",\n sort_most_viewed: \"조회수순\",\n sort_random: \"무작위\",\n sort_position: \"순서\",\n period_7d: \"이번 주\",\n period_30d: \"이번 달\",\n period_90d: \"최근 3개월\",\n period_365d: \"올해\",\n period_all: \"전체 기간\",\n sortPeriod: \"{sort} ({period})\",\n language: \"언어\",\n anyLanguage: \"모든 언어\",\n any: \"전체\",\n filters: \"필터\",\n clear: \"필터 지우기\",\n },\n};\n"],"mappings":";AAEA,IAAa,IAAuB;CAClC,gBAAgB;EACd,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,qBAAqB;EACrB,OAAO;EACP,aAAa;EACb,SAAS;CACX;CACA,UAAU;EACR,iBAAiB;EACjB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,eAAe;EACf,eAAe;CACjB;CACA,UAAU;EACR,UAAU;EACV,eAAe;EACf,SAAS;EACT,UAAU;EACV,SAAS;EACT,QAAQ;EACR,WAAW;EACX,aAAa;EACb,aAAa;EACb,eAAe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,OAAO;EACP,OAAO;EACP,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,cAAc;EACd,cAAc;EACd,mBAAmB;EACnB,QAAQ;EACR,mBAAmB;EACnB,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,OAAO;EACP,QAAQ;EACR,YAAY;EACZ,WAAW;EACX,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,aAAa;EACb,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,cAAc;CAChB;CACA,SAAS;EACP,eAAe;EACf,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,MAAM;EACN,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,qBAAqB;EACrB,kBAAkB;EAClB,aAAa;EACb,eAAe;EACf,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,YAAY;EACZ,UAAU;EACV,aAAa;EACb,KAAK;EACL,SAAS;EACT,OAAO;CACT;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh.js","names":[],"sources":["../../../src/locales/discovery/zh.ts"],"sourcesContent":["import type { discovery as en } from \"./en.js\";\n\nexport const discovery: typeof en = {\n readerSettings: {\n filterTitle: \"内容筛选\",\n filterDescription: \"选择你想看到的内容。\",\n savingPreferences: \"正在保存偏好设置…\",\n preferencesNotSaved: \"偏好设置尚未保存。\",\n title: \"阅读设置\",\n description: \"选择语言和要显示的内容。\",\n filters: \"显示内容:\",\n },\n releases: {\n premiumMore_one: \"还有 {count} 项\",\n premiumMore_other: \"还有 {count} 项\",\n premiumHint: \"会员专属预览 · 点击查看\",\n filteredMore_one: \"已筛除 {count} 项\",\n filteredMore_other: \"已筛除 {count} 项\",\n manageFilters: \"更改内容筛选\",\n filterContext: \"{date}的筛选结果。一项内容可能符合多个筛选条件。\",\n },\n contents: {\n showMore: \"显示更多\",\n unknownAccess: \"暂时无法访问\",\n members: \"会员专享\",\n joinFree: \"免费加入\",\n forSale: \"可购买\",\n locked: \"已锁定\",\n pages_one: \"{count} 页\",\n pages_other: \"{count} 页\",\n minutes_one: \"{count} 分钟\",\n minutes_other: \"{count} 分钟\",\n completed: \"已完成\",\n freeFrom: \"{date} 起免费\",\n favorites: \"收藏\",\n likes: \"点赞\",\n empty: \"这里还没有内容。\",\n loading: \"加载中…\",\n loadMore: \"加载更多\",\n lockedShow_one: \"显示 {count} 个锁定项目\",\n lockedShow_other: \"显示 {count} 个锁定项目\",\n lockedHide: \"隐藏锁定项目\",\n noResults: \"没有与“{q}”匹配的内容。\",\n historySignedOut: \"登录后查看你的历史记录。\",\n clearHistory: \"清除历史记录\",\n historyEmpty: \"你的历史记录为空。\",\n removeFromHistory: \"从历史记录中移除\",\n search: \"搜索\",\n searchPlaceholder: \"搜索…\",\n clearSearch: \"清除搜索\",\n suggestions: \"建议\",\n filtersSignedOut: \"登录后选择你想看的内容。\",\n shown: \"显示\",\n hidden: \"隐藏\",\n useDefault: \"使用默认设置\",\n noFilters: \"此站点没有内容过滤器。\",\n includeDeleted: \"显示我已购买但已移除的内容\",\n noDates: \"没有发布日期。\",\n items_one: \"{count} 项\",\n items_other: \"{count} 项\",\n free_one: \"{count} 项免费\",\n free_other: \"{count} 项免费\",\n recentSearches: \"最近搜索\",\n noRecentSearches: \"还没有最近搜索。\",\n searchHint: \"输入关键词开始搜索。\",\n clearRecent: \"清除\",\n clearAllRecent: \"全部清除\",\n removeRecent: \"移除“{q}”\",\n },\n listing: {\n popularPeriod: \"热门时间范围\",\n pastDays_one: \"过去{count}天\",\n pastDays_other: \"过去{count}天\",\n sort: \"排序\",\n sort_newest: \"最新\",\n sort_oldest: \"最早\",\n sort_title: \"标题\",\n sort_popular: \"热门\",\n sort_top_rated: \"高分\",\n sort_most_favorited: \"最多收藏\",\n sort_most_viewed: \"最多观看\",\n sort_random: \"随机\",\n sort_position: \"顺序\",\n period_7d: \"本周\",\n period_30d: \"本月\",\n period_90d: \"近3个月\",\n period_365d: \"今年\",\n period_all: \"全部时间\",\n sortPeriod: \"{sort}({period})\",\n language: \"语言\",\n anyLanguage: \"所有语言\",\n any: \"全部\",\n filters: \"筛选\",\n clear: \"清除筛选\",\n },\n};\n"],"mappings":";AAEA,IAAa,IAAuB;CAClC,gBAAgB;EACd,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,qBAAqB;EACrB,OAAO;EACP,aAAa;EACb,SAAS;CACX;CACA,UAAU;EACR,iBAAiB;EACjB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,eAAe;EACf,eAAe;CACjB;CACA,UAAU;EACR,UAAU;EACV,eAAe;EACf,SAAS;EACT,UAAU;EACV,SAAS;EACT,QAAQ;EACR,WAAW;EACX,aAAa;EACb,aAAa;EACb,eAAe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,OAAO;EACP,OAAO;EACP,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,cAAc;EACd,cAAc;EACd,mBAAmB;EACnB,QAAQ;EACR,mBAAmB;EACnB,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,OAAO;EACP,QAAQ;EACR,YAAY;EACZ,WAAW;EACX,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,aAAa;EACb,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,cAAc;CAChB;CACA,SAAS;EACP,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,MAAM;EACN,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,qBAAqB;EACrB,kBAAkB;EAClB,aAAa;EACb,eAAe;EACf,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,YAAY;EACZ,UAAU;EACV,aAAa;EACb,KAAK;EACL,SAAS;EACT,OAAO;CACT;AACF"}
|
|
1
|
+
{"version":3,"file":"zh.js","names":[],"sources":["../../../src/locales/discovery/zh.ts"],"sourcesContent":["import type { discovery as en } from \"./en.js\";\n\nexport const discovery: typeof en = {\n readerSettings: {\n filterTitle: \"内容筛选\",\n filterDescription: \"选择你想看到的内容。\",\n savingPreferences: \"正在保存偏好设置…\",\n preferencesNotSaved: \"偏好设置尚未保存。\",\n title: \"阅读设置\",\n description: \"选择语言和要显示的内容。\",\n filters: \"显示内容:\",\n },\n releases: {\n premiumMore_one: \"还有 {count} 项\",\n premiumMore_other: \"还有 {count} 项\",\n premiumHint: \"会员专属预览 · 点击查看\",\n filteredMore_one: \"已筛除 {count} 项\",\n filteredMore_other: \"已筛除 {count} 项\",\n manageFilters: \"更改内容筛选\",\n filterContext: \"{date}的筛选结果。一项内容可能符合多个筛选条件。\",\n },\n contents: {\n showMore: \"显示更多\",\n unknownAccess: \"暂时无法访问\",\n members: \"会员专享\",\n joinFree: \"免费加入\",\n forSale: \"可购买\",\n locked: \"已锁定\",\n pages_one: \"{count} 页\",\n pages_other: \"{count} 页\",\n minutes_one: \"{count} 分钟\",\n minutes_other: \"{count} 分钟\",\n completed: \"已完成\",\n freeFrom: \"{date} 起免费\",\n favorites: \"收藏\",\n likes: \"点赞\",\n empty: \"这里还没有内容。\",\n loading: \"加载中…\",\n loadMore: \"加载更多\",\n lockedShow_one: \"显示 {count} 个锁定项目\",\n lockedShow_other: \"显示 {count} 个锁定项目\",\n lockedHide: \"隐藏锁定项目\",\n noResults: \"没有与“{q}”匹配的内容。\",\n historySignedOut: \"登录后查看你的历史记录。\",\n clearHistory: \"清除历史记录\",\n historyEmpty: \"你的历史记录为空。\",\n removeFromHistory: \"从历史记录中移除\",\n search: \"搜索\",\n searchPlaceholder: \"搜索…\",\n clearSearch: \"清除搜索\",\n suggestions: \"建议\",\n filtersSignedOut: \"登录后选择你想看的内容。\",\n shown: \"显示\",\n hidden: \"隐藏\",\n useDefault: \"使用默认设置\",\n noFilters: \"此站点没有内容过滤器。\",\n includeDeleted: \"显示我已购买但已移除的内容\",\n noDates: \"没有发布日期。\",\n items_one: \"{count} 项\",\n items_other: \"{count} 项\",\n free_one: \"{count} 项免费\",\n free_other: \"{count} 项免费\",\n recentSearches: \"最近搜索\",\n noRecentSearches: \"还没有最近搜索。\",\n searchHint: \"输入关键词开始搜索。\",\n clearRecent: \"清除\",\n clearAllRecent: \"全部清除\",\n removeRecent: \"移除“{q}”\",\n },\n listing: {\n activityRange: \"UTC 时间 {from} 起至 {until} 前的活动\",\n popularPeriod: \"热门时间范围\",\n pastDays_one: \"过去{count}天\",\n pastDays_other: \"过去{count}天\",\n sort: \"排序\",\n sort_newest: \"最新\",\n sort_oldest: \"最早\",\n sort_title: \"标题\",\n sort_popular: \"热门\",\n sort_top_rated: \"高分\",\n sort_most_favorited: \"最多收藏\",\n sort_most_viewed: \"最多观看\",\n sort_random: \"随机\",\n sort_position: \"顺序\",\n period_7d: \"本周\",\n period_30d: \"本月\",\n period_90d: \"近3个月\",\n period_365d: \"今年\",\n period_all: \"全部时间\",\n sortPeriod: \"{sort}({period})\",\n language: \"语言\",\n anyLanguage: \"所有语言\",\n any: \"全部\",\n filters: \"筛选\",\n clear: \"清除筛选\",\n },\n};\n"],"mappings":";AAEA,IAAa,IAAuB;CAClC,gBAAgB;EACd,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,qBAAqB;EACrB,OAAO;EACP,aAAa;EACb,SAAS;CACX;CACA,UAAU;EACR,iBAAiB;EACjB,mBAAmB;EACnB,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,eAAe;EACf,eAAe;CACjB;CACA,UAAU;EACR,UAAU;EACV,eAAe;EACf,SAAS;EACT,UAAU;EACV,SAAS;EACT,QAAQ;EACR,WAAW;EACX,aAAa;EACb,aAAa;EACb,eAAe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,OAAO;EACP,OAAO;EACP,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,WAAW;EACX,kBAAkB;EAClB,cAAc;EACd,cAAc;EACd,mBAAmB;EACnB,QAAQ;EACR,mBAAmB;EACnB,aAAa;EACb,aAAa;EACb,kBAAkB;EAClB,OAAO;EACP,QAAQ;EACR,YAAY;EACZ,WAAW;EACX,gBAAgB;EAChB,SAAS;EACT,WAAW;EACX,aAAa;EACb,UAAU;EACV,YAAY;EACZ,gBAAgB;EAChB,kBAAkB;EAClB,YAAY;EACZ,aAAa;EACb,gBAAgB;EAChB,cAAc;CAChB;CACA,SAAS;EACP,eAAe;EACf,eAAe;EACf,cAAc;EACd,gBAAgB;EAChB,MAAM;EACN,aAAa;EACb,aAAa;EACb,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,qBAAqB;EACrB,kBAAkB;EAClB,aAAa;EACb,eAAe;EACf,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,YAAY;EACZ,UAAU;EACV,aAAa;EACb,KAAK;EACL,SAAS;EACT,OAAO;CACT;AACF"}
|
package/dist/locales/en.d.ts
CHANGED
package/package.json
CHANGED