@dsh-agentic-roleplay/core 0.12.2 → 0.12.4
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/lib/{authoring-tools-BZr4bgBy.js → authoring-tools-B_qYKK8c.js} +2135 -1863
- package/lib/authoring.js +208 -35
- package/lib/client.js +850 -491
- package/lib/client.js.map +1 -1
- package/lib/doctor.js +1 -1
- package/lib/{gallery-BNg0rPTp.js → gallery-Bu6eZMKk.js} +2 -2
- package/lib/{generator-9-5at9cZ.js → generator-CTWQWbSW.js} +2 -2
- package/lib/{hooks-Dtq5KZQX.js → hooks-YXQZ9G2d.js} +200 -41
- package/lib/images.js +4 -4
- package/lib/index.js +62 -42
- package/lib/{library-DTxakw0z.js → library-BmlHNCah.js} +2 -2
- package/lib/{lorebook-author-tools-BjcEUo22.js → lorebook-author-tools-C3rRpMt7.js} +6 -6
- package/lib/lorebook-authoring.js +5 -5
- package/lib/orchestration.js +8 -8
- package/lib/{pack-jail-Dt0VTsu0.js → pack-jail-VbcXiukr.js} +42 -14
- package/lib/{packs-DWfR2Ted.js → packs-CzVh2ZNe.js} +2 -2
- package/lib/{presenter-agent-vFOxIuWv.js → presenter-agent-CF3fneuJ.js} +4 -4
- package/lib/{preset-Dv5YF2qj.js → preset-C595KRUM.js} +3 -3
- package/lib/{preset-author-tools-BUzO9mTW.js → preset-author-tools-CF_JKKTE.js} +6 -6
- package/lib/preset-authoring.js +5 -5
- package/lib/{reflection-Dd3pEiZB.js → reflection-ByIQSOKC.js} +6 -6
- package/lib/{serial-BUaJGwVy.js → serial-ULGUKWsu.js} +1136 -1056
- package/lib/{text-Dfv8S8eq.js → text-hiKTooVb.js} +3 -1
- package/lib/{turn-guard-87NE-Cnp.js → turn-guard-DXMeAJdv.js} +2 -2
- package/package.json +3 -2
- package/prompts/en/import/opening.md +17 -0
- package/prompts/en/roleplay/decide-opening.md +1 -0
- package/prompts/en/world/procedure.md +1 -1
- package/prompts/zh/import/opening.md +17 -0
- package/prompts/zh/roleplay/decide-opening.md +1 -0
- package/prompts/zh/world/procedure.md +1 -1
package/lib/client.js
CHANGED
|
@@ -416,8 +416,8 @@ window.__ModuleLoader__.load({
|
|
|
416
416
|
}
|
|
417
417
|
tag$52.textContent = css$52;
|
|
418
418
|
var PageTabs_module_css_default = {
|
|
419
|
-
"
|
|
420
|
-
"
|
|
419
|
+
"tab": "rp_LrKukW_tab",
|
|
420
|
+
"tabs": "rp_LrKukW_tabs"
|
|
421
421
|
};
|
|
422
422
|
// src/client/widgets/page-tabs/PageTabs.tsx
|
|
423
423
|
/** Underlined text tabs; arrow keys, Home and End move between them. */
|
|
@@ -470,10 +470,10 @@ window.__ModuleLoader__.load({
|
|
|
470
470
|
}
|
|
471
471
|
tag$51.textContent = css$51;
|
|
472
472
|
var RoleplayPanel_module_css_default = {
|
|
473
|
-
"header": "rp_ua5gBa_header",
|
|
474
473
|
"panel": "rp_ua5gBa_panel",
|
|
475
474
|
"title": "rp_ua5gBa_title",
|
|
476
|
-
"body": "rp_ua5gBa_body"
|
|
475
|
+
"body": "rp_ua5gBa_body",
|
|
476
|
+
"header": "rp_ua5gBa_header"
|
|
477
477
|
};
|
|
478
478
|
// src/client/panel/RoleplayPanel.tsx
|
|
479
479
|
/** Header, page navigation and the selected page. */
|
|
@@ -518,7 +518,7 @@ window.__ModuleLoader__.load({
|
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
520
|
// src/client/panel/locales.ts
|
|
521
|
-
const dictionaries$
|
|
521
|
+
const dictionaries$28 = {
|
|
522
522
|
en: {
|
|
523
523
|
label: "Role Play",
|
|
524
524
|
heading: "DSH Agentic Role Play",
|
|
@@ -674,7 +674,7 @@ window.__ModuleLoader__.load({
|
|
|
674
674
|
/** Adds the Role Play entry to the sidebar and the main panel it opens. */
|
|
675
675
|
function registerPanel(ctx) {
|
|
676
676
|
const t = ctx.locale.bind(NAMESPACE$17);
|
|
677
|
-
ctx.effect(() => ctx.locale.register(NAMESPACE$17, dictionaries$
|
|
677
|
+
ctx.effect(() => ctx.locale.register(NAMESPACE$17, dictionaries$28), "roleplay: panel dictionaries");
|
|
678
678
|
const pages = createPagesSource(ctx);
|
|
679
679
|
ctx.effect(() => pages.start(), "roleplay: page list");
|
|
680
680
|
const handle = createPanelStore();
|
|
@@ -902,14 +902,14 @@ window.__ModuleLoader__.load({
|
|
|
902
902
|
}
|
|
903
903
|
tag$50.textContent = css$50;
|
|
904
904
|
var Button_module_css_default = {
|
|
905
|
-
"rpSm": "rp_wwotfa_rpSm",
|
|
906
|
-
"rpIcon": "rp_wwotfa_rpIcon",
|
|
907
|
-
"rpButton": "rp_wwotfa_rpButton",
|
|
908
905
|
"rpPrimary": "rp_wwotfa_rpPrimary",
|
|
909
|
-
"
|
|
910
|
-
"
|
|
906
|
+
"rpButton": "rp_wwotfa_rpButton",
|
|
907
|
+
"rpIcon": "rp_wwotfa_rpIcon",
|
|
908
|
+
"rpSm": "rp_wwotfa_rpSm",
|
|
911
909
|
"rpToolbar": "rp_wwotfa_rpToolbar",
|
|
912
|
-
"rpOutline": "rp_wwotfa_rpOutline"
|
|
910
|
+
"rpOutline": "rp_wwotfa_rpOutline",
|
|
911
|
+
"rpGhost": "rp_wwotfa_rpGhost",
|
|
912
|
+
"rpMd": "rp_wwotfa_rpMd"
|
|
913
913
|
};
|
|
914
914
|
// src/client/ui/Button.tsx
|
|
915
915
|
/** Render a button; native button attributes pass through, and `icon` is a leading 16px node. */
|
|
@@ -1141,8 +1141,8 @@ window.__ModuleLoader__.load({
|
|
|
1141
1141
|
}
|
|
1142
1142
|
tag$47.textContent = css$47;
|
|
1143
1143
|
var Switch_module_css_default = {
|
|
1144
|
-
"
|
|
1145
|
-
"
|
|
1144
|
+
"rpThumb": "rp_7MP8na_rpThumb",
|
|
1145
|
+
"rpSwitch": "rp_7MP8na_rpSwitch"
|
|
1146
1146
|
};
|
|
1147
1147
|
// src/client/ui/Switch.tsx
|
|
1148
1148
|
/**
|
|
@@ -1176,8 +1176,8 @@ window.__ModuleLoader__.load({
|
|
|
1176
1176
|
}
|
|
1177
1177
|
tag$46.textContent = css$46;
|
|
1178
1178
|
var Input_module_css_default = {
|
|
1179
|
-
"rpInputIcon": "rp_QU88dW_rpInputIcon",
|
|
1180
1179
|
"rpInput": "rp_QU88dW_rpInput",
|
|
1180
|
+
"rpInputIcon": "rp_QU88dW_rpInputIcon",
|
|
1181
1181
|
"rpInputWrap": "rp_QU88dW_rpInputWrap"
|
|
1182
1182
|
};
|
|
1183
1183
|
// src/client/ui/Input.tsx
|
|
@@ -1207,8 +1207,8 @@ window.__ModuleLoader__.load({
|
|
|
1207
1207
|
}
|
|
1208
1208
|
tag$45.textContent = css$45;
|
|
1209
1209
|
var LanguageSelect_module_css_default = {
|
|
1210
|
-
"
|
|
1211
|
-
"
|
|
1210
|
+
"select": "rp_uOuCXG_select",
|
|
1211
|
+
"compact": "rp_uOuCXG_compact"
|
|
1212
1212
|
};
|
|
1213
1213
|
// src/client/widgets/language-select/LanguageSelect.tsx
|
|
1214
1214
|
/** The languages offered for the prompts of an import or an assistant; the interface's own language is added when it is none of them. */
|
|
@@ -1269,34 +1269,34 @@ window.__ModuleLoader__.load({
|
|
|
1269
1269
|
}
|
|
1270
1270
|
tag$44.textContent = css$44;
|
|
1271
1271
|
var ImportCard_module_css_default = {
|
|
1272
|
-
"fieldTitle": "rp_5cvtma_fieldTitle",
|
|
1273
|
-
"choiceText": "rp_5cvtma_choiceText",
|
|
1274
|
-
"picture": "rp_5cvtma_picture",
|
|
1275
|
-
"body": "rp_5cvtma_body",
|
|
1276
|
-
"entryTitle": "rp_5cvtma_entryTitle",
|
|
1277
|
-
"entryOff": "rp_5cvtma_entryOff",
|
|
1278
1272
|
"space": "rp_5cvtma_space",
|
|
1279
1273
|
"field": "rp_5cvtma_field",
|
|
1280
|
-
"
|
|
1274
|
+
"preview": "rp_5cvtma_preview",
|
|
1281
1275
|
"title": "rp_5cvtma_title",
|
|
1282
|
-
"
|
|
1283
|
-
"
|
|
1276
|
+
"entryTitle": "rp_5cvtma_entryTitle",
|
|
1277
|
+
"section": "rp_5cvtma_section",
|
|
1278
|
+
"body": "rp_5cvtma_body",
|
|
1279
|
+
"picture": "rp_5cvtma_picture",
|
|
1280
|
+
"label": "rp_5cvtma_label",
|
|
1281
|
+
"tags": "rp_5cvtma_tags",
|
|
1284
1282
|
"fieldHead": "rp_5cvtma_fieldHead",
|
|
1285
|
-
"fieldMeta": "rp_5cvtma_fieldMeta",
|
|
1286
|
-
"entryHead": "rp_5cvtma_entryHead",
|
|
1287
|
-
"header": "rp_5cvtma_header",
|
|
1288
1283
|
"error": "rp_5cvtma_error",
|
|
1289
|
-
"
|
|
1290
|
-
"
|
|
1284
|
+
"entryOff": "rp_5cvtma_entryOff",
|
|
1285
|
+
"fieldTitle": "rp_5cvtma_fieldTitle",
|
|
1286
|
+
"choiceText": "rp_5cvtma_choiceText",
|
|
1291
1287
|
"noPicture": "rp_5cvtma_noPicture",
|
|
1292
|
-
"
|
|
1288
|
+
"top": "rp_5cvtma_top",
|
|
1289
|
+
"note": "rp_5cvtma_note",
|
|
1290
|
+
"heading": "rp_5cvtma_heading",
|
|
1291
|
+
"entry": "rp_5cvtma_entry",
|
|
1293
1292
|
"row": "rp_5cvtma_row",
|
|
1294
|
-
"
|
|
1293
|
+
"entryHead": "rp_5cvtma_entryHead",
|
|
1295
1294
|
"page": "rp_5cvtma_page",
|
|
1296
|
-
"
|
|
1297
|
-
"
|
|
1298
|
-
"
|
|
1299
|
-
"
|
|
1295
|
+
"fieldMeta": "rp_5cvtma_fieldMeta",
|
|
1296
|
+
"text": "rp_5cvtma_text",
|
|
1297
|
+
"header": "rp_5cvtma_header",
|
|
1298
|
+
"about": "rp_5cvtma_about",
|
|
1299
|
+
"choice": "rp_5cvtma_choice"
|
|
1300
1300
|
};
|
|
1301
1301
|
// src/client/widgets/import-card/ImportCard.tsx
|
|
1302
1302
|
const pictureUrl = (id) => `${API_PREFIX}/worlds/import/picture?id=${encodeURIComponent(id)}`;
|
|
@@ -1804,17 +1804,17 @@ window.__ModuleLoader__.load({
|
|
|
1804
1804
|
}
|
|
1805
1805
|
tag$43.textContent = css$43;
|
|
1806
1806
|
var Modal_module_css_default = {
|
|
1807
|
-
"header": "rp_46MuuW_header",
|
|
1808
|
-
"description": "rp_46MuuW_description",
|
|
1809
|
-
"title": "rp_46MuuW_title",
|
|
1810
|
-
"mask": "rp_46MuuW_mask",
|
|
1811
|
-
"root": "rp_46MuuW_root",
|
|
1812
1807
|
"body": "rp_46MuuW_body",
|
|
1813
|
-
"rpModalEnter": "rp_46MuuW_rpModalEnter",
|
|
1814
1808
|
"content": "rp_46MuuW_content",
|
|
1809
|
+
"dialog": "rp_46MuuW_dialog",
|
|
1810
|
+
"header": "rp_46MuuW_header",
|
|
1811
|
+
"title": "rp_46MuuW_title",
|
|
1815
1812
|
"close": "rp_46MuuW_close",
|
|
1816
1813
|
"footer": "rp_46MuuW_footer",
|
|
1817
|
-
"
|
|
1814
|
+
"rpModalEnter": "rp_46MuuW_rpModalEnter",
|
|
1815
|
+
"root": "rp_46MuuW_root",
|
|
1816
|
+
"mask": "rp_46MuuW_mask",
|
|
1817
|
+
"description": "rp_46MuuW_description"
|
|
1818
1818
|
};
|
|
1819
1819
|
// src/client/ui/Modal.tsx
|
|
1820
1820
|
const FOCUSABLE = "button:not(:disabled), input:not(:disabled), textarea:not(:disabled), select:not(:disabled), a[href], [tabindex=\"0\"]";
|
|
@@ -1951,38 +1951,38 @@ window.__ModuleLoader__.load({
|
|
|
1951
1951
|
}
|
|
1952
1952
|
tag$42.textContent = css$42;
|
|
1953
1953
|
var CataloguePage_module_css_default = {
|
|
1954
|
-
"
|
|
1955
|
-
"
|
|
1954
|
+
"updates": "rp_qK1u-G_updates",
|
|
1955
|
+
"page": "rp_qK1u-G_page",
|
|
1956
|
+
"more": "rp_qK1u-G_more",
|
|
1956
1957
|
"meta": "rp_qK1u-G_meta",
|
|
1958
|
+
"tags": "rp_qK1u-G_tags",
|
|
1959
|
+
"kind": "rp_qK1u-G_kind",
|
|
1960
|
+
"body": "rp_qK1u-G_body",
|
|
1961
|
+
"viewport": "rp_qK1u-G_viewport",
|
|
1957
1962
|
"field": "rp_qK1u-G_field",
|
|
1963
|
+
"card": "rp_qK1u-G_card",
|
|
1958
1964
|
"grid": "rp_qK1u-G_grid",
|
|
1959
1965
|
"image": "rp_qK1u-G_image",
|
|
1960
|
-
"warning": "rp_qK1u-G_warning",
|
|
1961
|
-
"status": "rp_qK1u-G_status",
|
|
1962
|
-
"cover": "rp_qK1u-G_cover",
|
|
1963
|
-
"kinds": "rp_qK1u-G_kinds",
|
|
1964
1966
|
"toolbar": "rp_qK1u-G_toolbar",
|
|
1967
|
+
"form": "rp_qK1u-G_form",
|
|
1968
|
+
"cover": "rp_qK1u-G_cover",
|
|
1965
1969
|
"placeholder": "rp_qK1u-G_placeholder",
|
|
1966
|
-
"spacer": "rp_qK1u-G_spacer",
|
|
1967
|
-
"label": "rp_qK1u-G_label",
|
|
1968
1970
|
"changes": "rp_qK1u-G_changes",
|
|
1969
|
-
"viewport": "rp_qK1u-G_viewport",
|
|
1970
|
-
"select": "rp_qK1u-G_select",
|
|
1971
|
-
"success": "rp_qK1u-G_success",
|
|
1972
|
-
"actions": "rp_qK1u-G_actions",
|
|
1973
|
-
"kind": "rp_qK1u-G_kind",
|
|
1974
1971
|
"detail": "rp_qK1u-G_detail",
|
|
1975
|
-
"
|
|
1972
|
+
"select": "rp_qK1u-G_select",
|
|
1973
|
+
"message": "rp_qK1u-G_message",
|
|
1974
|
+
"notice": "rp_qK1u-G_notice",
|
|
1976
1975
|
"description": "rp_qK1u-G_description",
|
|
1977
|
-
"form": "rp_qK1u-G_form",
|
|
1978
|
-
"card": "rp_qK1u-G_card",
|
|
1979
|
-
"updates": "rp_qK1u-G_updates",
|
|
1980
1976
|
"name": "rp_qK1u-G_name",
|
|
1981
|
-
"
|
|
1982
|
-
"
|
|
1983
|
-
"
|
|
1984
|
-
"
|
|
1985
|
-
"update": "rp_qK1u-G_update"
|
|
1977
|
+
"spacer": "rp_qK1u-G_spacer",
|
|
1978
|
+
"warning": "rp_qK1u-G_warning",
|
|
1979
|
+
"search": "rp_qK1u-G_search",
|
|
1980
|
+
"status": "rp_qK1u-G_status",
|
|
1981
|
+
"update": "rp_qK1u-G_update",
|
|
1982
|
+
"kinds": "rp_qK1u-G_kinds",
|
|
1983
|
+
"label": "rp_qK1u-G_label",
|
|
1984
|
+
"actions": "rp_qK1u-G_actions",
|
|
1985
|
+
"success": "rp_qK1u-G_success"
|
|
1986
1986
|
};
|
|
1987
1987
|
// src/client/pages/catalogue/ImportUrlDialog.tsx
|
|
1988
1988
|
/** Installs a world from the address of its archive, or opens the resource a page address of a configured catalogue names; an address on a configured catalogue's site is asked for with that catalogue's key. */
|
|
@@ -2186,19 +2186,19 @@ window.__ModuleLoader__.load({
|
|
|
2186
2186
|
}
|
|
2187
2187
|
tag$41.textContent = css$41;
|
|
2188
2188
|
var ImportSelection_module_css_default = {
|
|
2189
|
-
"
|
|
2189
|
+
"extra": "rp_Jx0l4q_extra",
|
|
2190
2190
|
"row": "rp_Jx0l4q_row",
|
|
2191
|
-
"
|
|
2192
|
-
"meta": "rp_Jx0l4q_meta",
|
|
2193
|
-
"note": "rp_Jx0l4q_note",
|
|
2191
|
+
"count": "rp_Jx0l4q_count",
|
|
2194
2192
|
"list": "rp_Jx0l4q_list",
|
|
2193
|
+
"full": "rp_Jx0l4q_full",
|
|
2194
|
+
"text": "rp_Jx0l4q_text",
|
|
2195
2195
|
"bar": "rp_Jx0l4q_bar",
|
|
2196
|
-
"
|
|
2196
|
+
"note": "rp_Jx0l4q_note",
|
|
2197
2197
|
"sampling": "rp_Jx0l4q_sampling",
|
|
2198
2198
|
"error": "rp_Jx0l4q_error",
|
|
2199
|
-
"
|
|
2199
|
+
"body": "rp_Jx0l4q_body",
|
|
2200
2200
|
"help": "rp_Jx0l4q_help",
|
|
2201
|
-
"
|
|
2201
|
+
"meta": "rp_Jx0l4q_meta"
|
|
2202
2202
|
};
|
|
2203
2203
|
// src/client/widgets/import-selection/ImportSelection.tsx
|
|
2204
2204
|
const messageOf$14 = (failure) => failure instanceof Error ? failure.message : String(failure);
|
|
@@ -3224,7 +3224,7 @@ window.__ModuleLoader__.load({
|
|
|
3224
3224
|
return Object.fromEntries(Object.keys(dictionaries).map((locale) => [locale, Object.fromEntries(Object.entries(dictionaries[locale]).map(([key, value]) => [`${prefix}${key}`, value]))]));
|
|
3225
3225
|
}
|
|
3226
3226
|
// src/client/widgets/import-card/locales.ts
|
|
3227
|
-
const dictionaries$
|
|
3227
|
+
const dictionaries$27 = {
|
|
3228
3228
|
en: {
|
|
3229
3229
|
ic_promptLanguage: "Language of the prompts",
|
|
3230
3230
|
ic_promptLanguageHelp: "The language the import assistant works in and writes the world's prompts in. It starts as your interface language. English and Chinese have prompts of their own; any other language uses the English ones and asks the models to write in it.",
|
|
@@ -3254,7 +3254,7 @@ window.__ModuleLoader__.load({
|
|
|
3254
3254
|
ic_fieldInstructions: "Instructions to the AI",
|
|
3255
3255
|
ic_notCarried: "Only guidance on style and behaviour is imported (as the world's prose prompts); rules for running the chat are not.",
|
|
3256
3256
|
ic_opening: "Opening",
|
|
3257
|
-
ic_openingHelp: "
|
|
3257
|
+
ic_openingHelp: "Every greeting of the card is imported. The one you choose becomes the world's opening; the others become alternate openings the player can pick when starting a story. Choose “No opening” to import none of them.",
|
|
3258
3258
|
ic_openingFirst: "First message",
|
|
3259
3259
|
ic_openingAlternate: "Alternate greeting {number}",
|
|
3260
3260
|
ic_openingNone: "No opening",
|
|
@@ -3307,7 +3307,7 @@ window.__ModuleLoader__.load({
|
|
|
3307
3307
|
ic_fieldInstructions: "给 AI 的指令",
|
|
3308
3308
|
ic_notCarried: "只导入关于文风和角色表现的指导(作为世界的文笔提示);运行聊天的规则不会导入。",
|
|
3309
3309
|
ic_opening: "开场白",
|
|
3310
|
-
ic_openingHelp: "
|
|
3310
|
+
ic_openingHelp: "角色卡的所有问候语都会导入。你选择的这一条成为世界的开场白,其余的成为备选开场,玩家开始故事时可以选用。选择“不要开场白”则一条都不导入。",
|
|
3311
3311
|
ic_openingFirst: "第一条消息",
|
|
3312
3312
|
ic_openingAlternate: "备选问候语 {number}",
|
|
3313
3313
|
ic_openingNone: "不要开场白",
|
|
@@ -3360,7 +3360,7 @@ window.__ModuleLoader__.load({
|
|
|
3360
3360
|
ic_fieldInstructions: "AI への指示",
|
|
3361
3361
|
ic_notCarried: "文体と振る舞いの指針だけを、ワールドの文章プロンプトとして読み込みます。チャット運用のルールは読み込みません。",
|
|
3362
3362
|
ic_opening: "オープニング",
|
|
3363
|
-
ic_openingHelp: "
|
|
3363
|
+
ic_openingHelp: "カードのすべての挨拶を読み込みます。選んだものがワールドのオープニングになり、ほかは代わりのオープニングとして、ストーリー開始時にプレイヤーが選べます。「オープニングなし」を選ぶと、どれも読み込みません。",
|
|
3364
3364
|
ic_openingFirst: "最初のメッセージ",
|
|
3365
3365
|
ic_openingAlternate: "別の挨拶 {number}",
|
|
3366
3366
|
ic_openingNone: "オープニングなし",
|
|
@@ -3413,7 +3413,7 @@ window.__ModuleLoader__.load({
|
|
|
3413
3413
|
ic_fieldInstructions: "Instrucciones para la IA",
|
|
3414
3414
|
ic_notCarried: "Solo se importan las indicaciones de estilo y comportamiento, como prompts de prosa del mundo. No se importan reglas para gestionar el chat.",
|
|
3415
3415
|
ic_opening: "Inicio",
|
|
3416
|
-
ic_openingHelp: "El mundo
|
|
3416
|
+
ic_openingHelp: "Se importan todos los saludos de la tarjeta. El que elijas será la apertura del mundo; los demás serán aperturas alternativas que el jugador puede elegir al empezar una historia. Elige «Sin apertura» para no importar ninguno.",
|
|
3417
3417
|
ic_openingFirst: "Primer mensaje",
|
|
3418
3418
|
ic_openingAlternate: "Saludo alternativo {number}",
|
|
3419
3419
|
ic_openingNone: "Sin apertura",
|
|
@@ -3466,7 +3466,7 @@ window.__ModuleLoader__.load({
|
|
|
3466
3466
|
ic_fieldInstructions: "Instructions à l’IA",
|
|
3467
3467
|
ic_notCarried: "Seules les indications de style et de comportement sont importées, comme prompts de prose du monde. Les règles de gestion de la discussion ne le sont pas.",
|
|
3468
3468
|
ic_opening: "Ouverture",
|
|
3469
|
-
ic_openingHelp: "
|
|
3469
|
+
ic_openingHelp: "Tous les messages d’accueil de la carte sont importés. Celui que vous choisissez devient l’ouverture du monde ; les autres deviennent des ouvertures alternatives que le joueur peut choisir au début d’une histoire. Choisissez « Aucune ouverture » pour n’en importer aucun.",
|
|
3470
3470
|
ic_openingFirst: "Premier message",
|
|
3471
3471
|
ic_openingAlternate: "Autre message d’accueil {number}",
|
|
3472
3472
|
ic_openingNone: "Aucune ouverture",
|
|
@@ -3519,7 +3519,7 @@ window.__ModuleLoader__.load({
|
|
|
3519
3519
|
ic_fieldInstructions: "Anweisungen an die KI",
|
|
3520
3520
|
ic_notCarried: "Nur Hinweise zu Stil und Verhalten werden als Prosaprompts der Welt importiert. Regeln für den Betrieb des Chats werden nicht übernommen.",
|
|
3521
3521
|
ic_opening: "Auftakt",
|
|
3522
|
-
ic_openingHelp: "Die
|
|
3522
|
+
ic_openingHelp: "Alle Begrüßungen der Karte werden importiert. Die gewählte wird zum Auftakt der Welt; die übrigen werden zu alternativen Einstiegen, die der Spieler beim Start einer Geschichte wählen kann. Wähle „Kein Auftakt“, um keine zu importieren.",
|
|
3523
3523
|
ic_openingFirst: "Erste Nachricht",
|
|
3524
3524
|
ic_openingAlternate: "Alternative Begrüßung {number}",
|
|
3525
3525
|
ic_openingNone: "Kein Auftakt",
|
|
@@ -3572,7 +3572,7 @@ window.__ModuleLoader__.load({
|
|
|
3572
3572
|
ic_fieldInstructions: "Инструкции для ИИ",
|
|
3573
3573
|
ic_notCarried: "Импортируются только указания по стилю и поведению — как прозаические промпты мира. Правила ведения чата не переносятся.",
|
|
3574
3574
|
ic_opening: "Вступление",
|
|
3575
|
-
ic_openingHelp: "
|
|
3575
|
+
ic_openingHelp: "Импортируются все приветствия карточки. Выбранное становится вступлением мира, остальные — альтернативными вступлениями, которые игрок может выбрать при начале истории. Выберите «Без вступления», чтобы не импортировать ни одно.",
|
|
3576
3576
|
ic_openingFirst: "Первое сообщение",
|
|
3577
3577
|
ic_openingAlternate: "Другое приветствие {number}",
|
|
3578
3578
|
ic_openingNone: "Без вступления",
|
|
@@ -3625,7 +3625,7 @@ window.__ModuleLoader__.load({
|
|
|
3625
3625
|
ic_fieldInstructions: "Instruções para a IA",
|
|
3626
3626
|
ic_notCarried: "Só são importadas as orientações de estilo e comportamento, como prompts de prosa do mundo. As regras de funcionamento da conversa não são importadas.",
|
|
3627
3627
|
ic_opening: "Abertura",
|
|
3628
|
-
ic_openingHelp: "
|
|
3628
|
+
ic_openingHelp: "Todas as saudações do cartão são importadas. A que você escolher será a abertura do mundo; as outras viram aberturas alternativas que o jogador pode escolher ao iniciar uma história. Escolha «Sem abertura» para não importar nenhuma.",
|
|
3629
3629
|
ic_openingFirst: "Primeira mensagem",
|
|
3630
3630
|
ic_openingAlternate: "Saudação alternativa {number}",
|
|
3631
3631
|
ic_openingNone: "Sem abertura",
|
|
@@ -3651,7 +3651,7 @@ window.__ModuleLoader__.load({
|
|
|
3651
3651
|
}
|
|
3652
3652
|
};
|
|
3653
3653
|
// src/client/widgets/import-selection/locales.ts
|
|
3654
|
-
const dictionaries$
|
|
3654
|
+
const dictionaries$26 = {
|
|
3655
3655
|
en: {
|
|
3656
3656
|
is_title_preset: "Choose what to import from {name}",
|
|
3657
3657
|
is_title_lorebook: "Choose what to import from {name}",
|
|
@@ -3997,7 +3997,7 @@ window.__ModuleLoader__.load({
|
|
|
3997
3997
|
is_failed: "Não foi possível importar: {message}"
|
|
3998
3998
|
}
|
|
3999
3999
|
};
|
|
4000
|
-
const dictionaries$
|
|
4000
|
+
const dictionaries$25 = withDictionaries(withDictionaries({
|
|
4001
4001
|
en: {
|
|
4002
4002
|
nav: "Catalogue",
|
|
4003
4003
|
loading: "Loading worlds…",
|
|
@@ -4766,13 +4766,13 @@ window.__ModuleLoader__.load({
|
|
|
4766
4766
|
convertNotStarted: "O mundo «{name}» foi criado, mas a conversão não começou: {failure}. Abra a conversa de criação e envie manualmente a mensagem de importação.",
|
|
4767
4767
|
openChat: "Abrir a conversa"
|
|
4768
4768
|
}
|
|
4769
|
-
}, dictionaries$
|
|
4769
|
+
}, dictionaries$26), dictionaries$27);
|
|
4770
4770
|
// src/client/pages/catalogue/index.ts
|
|
4771
4771
|
const NAMESPACE$16 = "roleplay.catalogue";
|
|
4772
4772
|
/** Adds the Catalogue page to the Role Play panel: worlds of the catalogues set up in the settings. */
|
|
4773
4773
|
function registerCataloguePage(ctx) {
|
|
4774
4774
|
const t = ctx.locale.bind(NAMESPACE$16);
|
|
4775
|
-
ctx.effect(() => ctx.locale.register(NAMESPACE$16, dictionaries$
|
|
4775
|
+
ctx.effect(() => ctx.locale.register(NAMESPACE$16, dictionaries$25), "roleplay: catalogue dictionaries");
|
|
4776
4776
|
const catalogue = new CatalogueController(createChatOpener(ctx));
|
|
4777
4777
|
ctx.effect(() => () => {
|
|
4778
4778
|
catalogue.dispose();
|
|
@@ -5315,46 +5315,46 @@ window.__ModuleLoader__.load({
|
|
|
5315
5315
|
}
|
|
5316
5316
|
tag$40.textContent = css$40;
|
|
5317
5317
|
var CharactersPanel_module_css_default = {
|
|
5318
|
-
"
|
|
5319
|
-
"question": "rp_5ZMIxq_question",
|
|
5320
|
-
"tabsSpace": "rp_5ZMIxq_tabsSpace",
|
|
5321
|
-
"empty": "rp_5ZMIxq_empty",
|
|
5322
|
-
"body": "rp_5ZMIxq_body",
|
|
5318
|
+
"meta": "rp_5ZMIxq_meta",
|
|
5323
5319
|
"grid": "rp_5ZMIxq_grid",
|
|
5324
|
-
"
|
|
5325
|
-
"field": "rp_5ZMIxq_field",
|
|
5326
|
-
"section": "rp_5ZMIxq_section",
|
|
5327
|
-
"sheet": "rp_5ZMIxq_sheet",
|
|
5328
|
-
"voiceInline": "rp_5ZMIxq_voiceInline",
|
|
5329
|
-
"bar": "rp_5ZMIxq_bar",
|
|
5330
|
-
"optionFields": "rp_5ZMIxq_optionFields",
|
|
5331
|
-
"optionTitle": "rp_5ZMIxq_optionTitle",
|
|
5332
|
-
"portrait": "rp_5ZMIxq_portrait",
|
|
5320
|
+
"empty": "rp_5ZMIxq_empty",
|
|
5333
5321
|
"itemActions": "rp_5ZMIxq_itemActions",
|
|
5334
|
-
"
|
|
5322
|
+
"nameInput": "rp_5ZMIxq_nameInput",
|
|
5335
5323
|
"portraitBox": "rp_5ZMIxq_portraitBox",
|
|
5336
|
-
"
|
|
5324
|
+
"placeholder": "rp_5ZMIxq_placeholder",
|
|
5325
|
+
"wide": "rp_5ZMIxq_wide",
|
|
5326
|
+
"portraitAction": "rp_5ZMIxq_portraitAction",
|
|
5327
|
+
"barText": "rp_5ZMIxq_barText",
|
|
5328
|
+
"row": "rp_5ZMIxq_row",
|
|
5329
|
+
"label": "rp_5ZMIxq_label",
|
|
5337
5330
|
"error": "rp_5ZMIxq_error",
|
|
5338
|
-
"
|
|
5331
|
+
"body": "rp_5ZMIxq_body",
|
|
5339
5332
|
"area": "rp_5ZMIxq_area",
|
|
5340
|
-
"
|
|
5333
|
+
"goal": "rp_5ZMIxq_goal",
|
|
5334
|
+
"portrait": "rp_5ZMIxq_portrait",
|
|
5335
|
+
"portraitHint": "rp_5ZMIxq_portraitHint",
|
|
5336
|
+
"sheet": "rp_5ZMIxq_sheet",
|
|
5341
5337
|
"help": "rp_5ZMIxq_help",
|
|
5342
|
-
"
|
|
5343
|
-
"
|
|
5344
|
-
"row": "rp_5ZMIxq_row",
|
|
5345
|
-
"initial": "rp_5ZMIxq_initial",
|
|
5346
|
-
"wide": "rp_5ZMIxq_wide",
|
|
5347
|
-
"sectionTitle": "rp_5ZMIxq_sectionTitle",
|
|
5338
|
+
"head": "rp_5ZMIxq_head",
|
|
5339
|
+
"field": "rp_5ZMIxq_field",
|
|
5348
5340
|
"tab": "rp_5ZMIxq_tab",
|
|
5349
|
-
"
|
|
5341
|
+
"tabsSpace": "rp_5ZMIxq_tabsSpace",
|
|
5342
|
+
"question": "rp_5ZMIxq_question",
|
|
5343
|
+
"select": "rp_5ZMIxq_select",
|
|
5344
|
+
"section": "rp_5ZMIxq_section",
|
|
5345
|
+
"tabOn": "rp_5ZMIxq_tabOn",
|
|
5346
|
+
"sectionTitle": "rp_5ZMIxq_sectionTitle",
|
|
5347
|
+
"bar": "rp_5ZMIxq_bar",
|
|
5350
5348
|
"missing": "rp_5ZMIxq_missing",
|
|
5351
|
-
"
|
|
5349
|
+
"optionFields": "rp_5ZMIxq_optionFields",
|
|
5352
5350
|
"panel": "rp_5ZMIxq_panel",
|
|
5353
|
-
"
|
|
5354
|
-
"portraitAction": "rp_5ZMIxq_portraitAction",
|
|
5351
|
+
"portraitError": "rp_5ZMIxq_portraitError",
|
|
5355
5352
|
"questionTitle": "rp_5ZMIxq_questionTitle",
|
|
5356
|
-
"
|
|
5357
|
-
"
|
|
5353
|
+
"initial": "rp_5ZMIxq_initial",
|
|
5354
|
+
"tabs": "rp_5ZMIxq_tabs",
|
|
5355
|
+
"optionTitle": "rp_5ZMIxq_optionTitle",
|
|
5356
|
+
"questionActions": "rp_5ZMIxq_questionActions",
|
|
5357
|
+
"voiceInline": "rp_5ZMIxq_voiceInline"
|
|
5358
5358
|
};
|
|
5359
5359
|
// src/client/world-editor/EditorTabs.tsx
|
|
5360
5360
|
/** Adds expected arrow, Home and End navigation to an existing editor tab strip. */
|
|
@@ -7073,39 +7073,39 @@ window.__ModuleLoader__.load({
|
|
|
7073
7073
|
}
|
|
7074
7074
|
tag$39.textContent = css$39;
|
|
7075
7075
|
var RelationsPanel_module_css_default = {
|
|
7076
|
-
"
|
|
7077
|
-
"
|
|
7078
|
-
"check": "rp_7pEHTW_check",
|
|
7079
|
-
"perspective": "rp_7pEHTW_perspective",
|
|
7076
|
+
"node_item": "rp_7pEHTW_node_item",
|
|
7077
|
+
"edgeTitle": "rp_7pEHTW_edgeTitle",
|
|
7080
7078
|
"head": "rp_7pEHTW_head",
|
|
7081
|
-
"
|
|
7082
|
-
"filter": "rp_7pEHTW_filter",
|
|
7083
|
-
"graphEdgeOn": "rp_7pEHTW_graphEdgeOn",
|
|
7079
|
+
"wide": "rp_7pEHTW_wide",
|
|
7084
7080
|
"workspace": "rp_7pEHTW_workspace",
|
|
7085
|
-
"
|
|
7086
|
-
"
|
|
7087
|
-
"
|
|
7081
|
+
"graphInspector": "rp_7pEHTW_graphInspector",
|
|
7082
|
+
"graphEdge": "rp_7pEHTW_graphEdge",
|
|
7083
|
+
"graphEdgeOn": "rp_7pEHTW_graphEdgeOn",
|
|
7088
7084
|
"notice": "rp_7pEHTW_notice",
|
|
7089
|
-
"node_location": "rp_7pEHTW_node_location",
|
|
7090
|
-
"toolbar": "rp_7pEHTW_toolbar",
|
|
7091
|
-
"node_faction": "rp_7pEHTW_node_faction",
|
|
7092
|
-
"graph": "rp_7pEHTW_graph",
|
|
7093
|
-
"panel": "rp_7pEHTW_panel",
|
|
7094
|
-
"edge": "rp_7pEHTW_edge",
|
|
7095
7085
|
"edgeOn": "rp_7pEHTW_edgeOn",
|
|
7086
|
+
"entities": "rp_7pEHTW_entities",
|
|
7096
7087
|
"form": "rp_7pEHTW_form",
|
|
7097
|
-
"
|
|
7088
|
+
"edge": "rp_7pEHTW_edge",
|
|
7089
|
+
"perspective": "rp_7pEHTW_perspective",
|
|
7090
|
+
"list": "rp_7pEHTW_list",
|
|
7091
|
+
"metrics": "rp_7pEHTW_metrics",
|
|
7092
|
+
"filter": "rp_7pEHTW_filter",
|
|
7093
|
+
"space": "rp_7pEHTW_space",
|
|
7094
|
+
"graph": "rp_7pEHTW_graph",
|
|
7095
|
+
"empty": "rp_7pEHTW_empty",
|
|
7096
|
+
"inspector": "rp_7pEHTW_inspector",
|
|
7098
7097
|
"error": "rp_7pEHTW_error",
|
|
7099
|
-
"edgeTitle": "rp_7pEHTW_edgeTitle",
|
|
7100
|
-
"wide": "rp_7pEHTW_wide",
|
|
7101
7098
|
"actions": "rp_7pEHTW_actions",
|
|
7099
|
+
"status": "rp_7pEHTW_status",
|
|
7102
7100
|
"node_character": "rp_7pEHTW_node_character",
|
|
7103
|
-
"graphInspector": "rp_7pEHTW_graphInspector",
|
|
7104
|
-
"node_item": "rp_7pEHTW_node_item",
|
|
7105
7101
|
"edgeKind": "rp_7pEHTW_edgeKind",
|
|
7106
|
-
"
|
|
7102
|
+
"node_location": "rp_7pEHTW_node_location",
|
|
7107
7103
|
"node": "rp_7pEHTW_node",
|
|
7108
|
-
"
|
|
7104
|
+
"node_faction": "rp_7pEHTW_node_faction",
|
|
7105
|
+
"check": "rp_7pEHTW_check",
|
|
7106
|
+
"panel": "rp_7pEHTW_panel",
|
|
7107
|
+
"toolbar": "rp_7pEHTW_toolbar",
|
|
7108
|
+
"filterOn": "rp_7pEHTW_filterOn"
|
|
7109
7109
|
};
|
|
7110
7110
|
// src/client/world-editor/RelationsPanel.tsx
|
|
7111
7111
|
const title = (relation) => `${relation.from.name} → ${relation.to.name}`;
|
|
@@ -8474,12 +8474,12 @@ window.__ModuleLoader__.load({
|
|
|
8474
8474
|
}
|
|
8475
8475
|
tag$38.textContent = css$38;
|
|
8476
8476
|
var PackFrame_module_css_default = {
|
|
8477
|
-
"hud": "rp_h_sbFq_hud",
|
|
8478
8477
|
"fill": "rp_h_sbFq_fill",
|
|
8478
|
+
"message": "rp_h_sbFq_message",
|
|
8479
8479
|
"tab": "rp_h_sbFq_tab",
|
|
8480
8480
|
"problems": "rp_h_sbFq_problems",
|
|
8481
|
-
"
|
|
8482
|
-
"
|
|
8481
|
+
"frame": "rp_h_sbFq_frame",
|
|
8482
|
+
"hud": "rp_h_sbFq_hud"
|
|
8483
8483
|
};
|
|
8484
8484
|
// src/client/widgets/pack-frame/theme.ts
|
|
8485
8485
|
/** The colours of DSH a surface is given, so that it looks right in light and dark. */
|
|
@@ -8710,17 +8710,18 @@ window.__ModuleLoader__.load({
|
|
|
8710
8710
|
const saveVariables = async (world, variables, signal) => await read$2(await fetch(`${API_PREFIX}/worlds/variables?${query(world)}`, init("PUT", signal, { variables })));
|
|
8711
8711
|
const loadWorldPacks = async (world, signal) => await read$2(await fetch(`${API_PREFIX}/worlds/interface?${query(world)}`, init("GET", signal)));
|
|
8712
8712
|
const loadPackPreview = async (world, pack, signal) => await read$2(await fetch(`${API_PREFIX}/worlds/interface/preview?${query(world)}&pack=${encodeURIComponent(pack)}`, init("GET", signal)));
|
|
8713
|
-
/** The
|
|
8714
|
-
async function
|
|
8713
|
+
/** The characters of an authored world, for choosing who speaks a line of an opening and whom an alternate opening is for. */
|
|
8714
|
+
async function loadCast(worldId, signal) {
|
|
8715
8715
|
const response = await fetch(`${API_PREFIX}/worlds/characters?id=${encodeURIComponent(worldId)}`, {
|
|
8716
8716
|
credentials: "same-origin",
|
|
8717
8717
|
signal
|
|
8718
8718
|
});
|
|
8719
8719
|
if (!response.ok) throw new Error(`${response.status} ${response.statusText}`.trim());
|
|
8720
8720
|
const { characters } = await response.json();
|
|
8721
|
-
return characters.
|
|
8721
|
+
return characters.map(({ id, name, role }) => ({
|
|
8722
8722
|
id,
|
|
8723
|
-
name
|
|
8723
|
+
name,
|
|
8724
|
+
playable: role === "playable"
|
|
8724
8725
|
}));
|
|
8725
8726
|
}
|
|
8726
8727
|
const packQuery = (world, pack, path) => `${query(world)}&pack=${encodeURIComponent(pack)}${path === void 0 ? "" : `&path=${encodeURIComponent(path)}`}`;
|
|
@@ -8740,13 +8741,13 @@ window.__ModuleLoader__.load({
|
|
|
8740
8741
|
}
|
|
8741
8742
|
tag$37.textContent = css$37;
|
|
8742
8743
|
var PacksPanel_module_css_default = {
|
|
8743
|
-
"
|
|
8744
|
+
"group": "rp_FLaP7q_group",
|
|
8745
|
+
"stage": "rp_FLaP7q_stage",
|
|
8746
|
+
"stageTall": "rp_FLaP7q_stageTall",
|
|
8744
8747
|
"log": "rp_FLaP7q_log",
|
|
8745
|
-
"files": "rp_FLaP7q_files",
|
|
8746
8748
|
"note": "rp_FLaP7q_note",
|
|
8747
|
-
"
|
|
8748
|
-
"
|
|
8749
|
-
"stage": "rp_FLaP7q_stage"
|
|
8749
|
+
"files": "rp_FLaP7q_files",
|
|
8750
|
+
"controls": "rp_FLaP7q_controls"
|
|
8750
8751
|
};
|
|
8751
8752
|
// src/client/world-editor/PacksPanel.tsx
|
|
8752
8753
|
const WIDTHS = {
|
|
@@ -9638,6 +9639,187 @@ window.__ModuleLoader__.load({
|
|
|
9638
9639
|
]
|
|
9639
9640
|
});
|
|
9640
9641
|
}
|
|
9642
|
+
// src/shared/opening.ts
|
|
9643
|
+
/** Whether any part is spoken by a character: an opening with none is only narration, which a plain text says as well. */
|
|
9644
|
+
const hasSpeech = (parts) => parts.some((part) => part.type === "utterance");
|
|
9645
|
+
// src/client/world-editor/OpeningEditor.tsx
|
|
9646
|
+
const words$1 = (parts) => parts.map((part) => part.text).join("\n\n");
|
|
9647
|
+
/** An opening, as plain narration or as ordered parts of narration and spoken lines; the person chooses the form and nothing is converted behind their back. */
|
|
9648
|
+
function OpeningEditor({ t, value, characters, rows = 6, onChange }) {
|
|
9649
|
+
const parts = value.parts;
|
|
9650
|
+
if (parts === void 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
9651
|
+
className: CharactersPanel_module_css_default.wide,
|
|
9652
|
+
children: [
|
|
9653
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("textarea", {
|
|
9654
|
+
className: CharactersPanel_module_css_default.area,
|
|
9655
|
+
rows,
|
|
9656
|
+
value: value.text,
|
|
9657
|
+
onChange: (event) => {
|
|
9658
|
+
onChange({ text: event.target.value });
|
|
9659
|
+
}
|
|
9660
|
+
}),
|
|
9661
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
9662
|
+
className: CharactersPanel_module_css_default.help,
|
|
9663
|
+
children: t("op_plainHelp")
|
|
9664
|
+
}),
|
|
9665
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Button, {
|
|
9666
|
+
variant: "ghost",
|
|
9667
|
+
size: "sm",
|
|
9668
|
+
onClick: () => {
|
|
9669
|
+
onChange({
|
|
9670
|
+
text: value.text,
|
|
9671
|
+
parts: value.text.trim() === "" ? [] : [{
|
|
9672
|
+
type: "narration",
|
|
9673
|
+
text: value.text.trim()
|
|
9674
|
+
}]
|
|
9675
|
+
});
|
|
9676
|
+
},
|
|
9677
|
+
children: t("op_toParts")
|
|
9678
|
+
})
|
|
9679
|
+
]
|
|
9680
|
+
});
|
|
9681
|
+
const set = (next) => {
|
|
9682
|
+
onChange({
|
|
9683
|
+
text: words$1(next),
|
|
9684
|
+
parts: next
|
|
9685
|
+
});
|
|
9686
|
+
};
|
|
9687
|
+
const change = (at, part) => {
|
|
9688
|
+
set(parts.map((entry, index) => index === at ? part : entry));
|
|
9689
|
+
};
|
|
9690
|
+
const move = (at, by) => {
|
|
9691
|
+
const next = [...parts];
|
|
9692
|
+
const [taken] = next.splice(at, 1);
|
|
9693
|
+
next.splice(at + by, 0, taken);
|
|
9694
|
+
set(next);
|
|
9695
|
+
};
|
|
9696
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
9697
|
+
className: CharactersPanel_module_css_default.wide,
|
|
9698
|
+
"data-testid": "roleplay-opening-parts",
|
|
9699
|
+
children: [
|
|
9700
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
9701
|
+
className: CharactersPanel_module_css_default.help,
|
|
9702
|
+
children: t("op_partsHelp")
|
|
9703
|
+
}),
|
|
9704
|
+
parts.map((part, at) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
9705
|
+
className: CharactersPanel_module_css_default.grid,
|
|
9706
|
+
children: [
|
|
9707
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
9708
|
+
className: CharactersPanel_module_css_default.field,
|
|
9709
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
9710
|
+
className: CharactersPanel_module_css_default.label,
|
|
9711
|
+
children: t("op_speaker")
|
|
9712
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
|
|
9713
|
+
className: CharactersPanel_module_css_default.select,
|
|
9714
|
+
value: part.type === "narration" ? "" : part.character,
|
|
9715
|
+
onChange: (event) => {
|
|
9716
|
+
change(at, event.target.value === "" ? {
|
|
9717
|
+
type: "narration",
|
|
9718
|
+
text: part.text
|
|
9719
|
+
} : {
|
|
9720
|
+
type: "utterance",
|
|
9721
|
+
character: event.target.value,
|
|
9722
|
+
text: part.text
|
|
9723
|
+
});
|
|
9724
|
+
},
|
|
9725
|
+
children: [
|
|
9726
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
9727
|
+
value: "",
|
|
9728
|
+
children: t("op_narration")
|
|
9729
|
+
}),
|
|
9730
|
+
characters.map((character) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
9731
|
+
value: character.id,
|
|
9732
|
+
children: character.name
|
|
9733
|
+
}, character.id)),
|
|
9734
|
+
part.type === "utterance" && !characters.some((character) => character.id === part.character) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
|
|
9735
|
+
value: part.character,
|
|
9736
|
+
children: part.character
|
|
9737
|
+
})
|
|
9738
|
+
]
|
|
9739
|
+
})]
|
|
9740
|
+
}),
|
|
9741
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
9742
|
+
className: `${CharactersPanel_module_css_default.field} ${CharactersPanel_module_css_default.wide}`,
|
|
9743
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
9744
|
+
className: CharactersPanel_module_css_default.label,
|
|
9745
|
+
children: t("op_text")
|
|
9746
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("textarea", {
|
|
9747
|
+
className: CharactersPanel_module_css_default.area,
|
|
9748
|
+
rows: 3,
|
|
9749
|
+
value: part.text,
|
|
9750
|
+
onChange: (event) => {
|
|
9751
|
+
change(at, {
|
|
9752
|
+
...part,
|
|
9753
|
+
text: event.target.value
|
|
9754
|
+
});
|
|
9755
|
+
}
|
|
9756
|
+
})]
|
|
9757
|
+
}),
|
|
9758
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Button, {
|
|
9759
|
+
variant: "ghost",
|
|
9760
|
+
size: "sm",
|
|
9761
|
+
disabled: at === 0,
|
|
9762
|
+
onClick: () => {
|
|
9763
|
+
move(at, -1);
|
|
9764
|
+
},
|
|
9765
|
+
children: t("op_up")
|
|
9766
|
+
}),
|
|
9767
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Button, {
|
|
9768
|
+
variant: "ghost",
|
|
9769
|
+
size: "sm",
|
|
9770
|
+
disabled: at === parts.length - 1,
|
|
9771
|
+
onClick: () => {
|
|
9772
|
+
move(at, 1);
|
|
9773
|
+
},
|
|
9774
|
+
children: t("op_down")
|
|
9775
|
+
}),
|
|
9776
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Button, {
|
|
9777
|
+
variant: "ghost",
|
|
9778
|
+
size: "sm",
|
|
9779
|
+
onClick: () => {
|
|
9780
|
+
set(parts.filter((_, index) => index !== at));
|
|
9781
|
+
},
|
|
9782
|
+
children: t("op_remove")
|
|
9783
|
+
})
|
|
9784
|
+
]
|
|
9785
|
+
}, at)),
|
|
9786
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Button, {
|
|
9787
|
+
variant: "ghost",
|
|
9788
|
+
size: "sm",
|
|
9789
|
+
onClick: () => {
|
|
9790
|
+
set([...parts, {
|
|
9791
|
+
type: "narration",
|
|
9792
|
+
text: ""
|
|
9793
|
+
}]);
|
|
9794
|
+
},
|
|
9795
|
+
children: t("op_addNarration")
|
|
9796
|
+
}),
|
|
9797
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Button, {
|
|
9798
|
+
variant: "ghost",
|
|
9799
|
+
size: "sm",
|
|
9800
|
+
disabled: characters.length === 0,
|
|
9801
|
+
onClick: () => {
|
|
9802
|
+
set([...parts, {
|
|
9803
|
+
type: "utterance",
|
|
9804
|
+
character: characters[0].id,
|
|
9805
|
+
text: ""
|
|
9806
|
+
}]);
|
|
9807
|
+
},
|
|
9808
|
+
children: t("op_addSpeech")
|
|
9809
|
+
}),
|
|
9810
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Button, {
|
|
9811
|
+
variant: "ghost",
|
|
9812
|
+
size: "sm",
|
|
9813
|
+
disabled: hasSpeech(parts),
|
|
9814
|
+
title: hasSpeech(parts) ? t("op_toPlainBlocked") : void 0,
|
|
9815
|
+
onClick: () => {
|
|
9816
|
+
onChange({ text: words$1(parts) });
|
|
9817
|
+
},
|
|
9818
|
+
children: t("op_toPlain")
|
|
9819
|
+
})
|
|
9820
|
+
]
|
|
9821
|
+
});
|
|
9822
|
+
}
|
|
9641
9823
|
// src/client/lorebooks-api.ts
|
|
9642
9824
|
async function reply$5(response) {
|
|
9643
9825
|
if (!response.ok) {
|
|
@@ -9841,12 +10023,12 @@ window.__ModuleLoader__.load({
|
|
|
9841
10023
|
}
|
|
9842
10024
|
tag$36.textContent = css$36;
|
|
9843
10025
|
var SamplingFields_module_css_default = {
|
|
9844
|
-
"
|
|
10026
|
+
"root": "rp_9vxYSG_root",
|
|
10027
|
+
"label": "rp_9vxYSG_label",
|
|
9845
10028
|
"field": "rp_9vxYSG_field",
|
|
9846
10029
|
"grid": "rp_9vxYSG_grid",
|
|
9847
|
-
"label": "rp_9vxYSG_label",
|
|
9848
10030
|
"input": "rp_9vxYSG_input",
|
|
9849
|
-
"
|
|
10031
|
+
"help": "rp_9vxYSG_help"
|
|
9850
10032
|
};
|
|
9851
10033
|
// src/client/widgets/sampling-fields/SamplingFields.tsx
|
|
9852
10034
|
const samplingTexts = (sampling) => Object.fromEntries(SAMPLING_KEYS.map((key) => [key, sampling[key]?.toString() ?? ""]));
|
|
@@ -10235,6 +10417,7 @@ window.__ModuleLoader__.load({
|
|
|
10235
10417
|
tags: info.tags.join(", "),
|
|
10236
10418
|
rules: info.rules.join("\n"),
|
|
10237
10419
|
opening: info.opening,
|
|
10420
|
+
...info.openingParts === void 0 ? {} : { openingParts: info.openingParts },
|
|
10238
10421
|
authorName: info.authorName,
|
|
10239
10422
|
authorUrl: info.authorUrl,
|
|
10240
10423
|
timeZone: info.timeZone,
|
|
@@ -10256,7 +10439,6 @@ window.__ModuleLoader__.load({
|
|
|
10256
10439
|
for (const key of [
|
|
10257
10440
|
"name",
|
|
10258
10441
|
"description",
|
|
10259
|
-
"opening",
|
|
10260
10442
|
"authorName",
|
|
10261
10443
|
"authorUrl",
|
|
10262
10444
|
"timeZone",
|
|
@@ -10265,6 +10447,9 @@ window.__ModuleLoader__.load({
|
|
|
10265
10447
|
"language",
|
|
10266
10448
|
"preset"
|
|
10267
10449
|
]) if (draft[key].trim() !== saved[key].trim()) edit[key] = draft[key];
|
|
10450
|
+
if (draft.openingParts !== void 0) {
|
|
10451
|
+
if (JSON.stringify(draft.openingParts) !== JSON.stringify(saved.openingParts)) edit["openingParts"] = draft.openingParts;
|
|
10452
|
+
} else if (saved.openingParts !== void 0 || draft.opening.trim() !== saved.opening.trim()) edit["opening"] = draft.opening;
|
|
10268
10453
|
if (draft.autonomy !== saved.autonomy) edit["autonomy"] = draft.autonomy;
|
|
10269
10454
|
if (JSON.stringify(draft.lorebooks) !== JSON.stringify(saved.lorebooks)) edit["lorebooks"] = draft.lorebooks;
|
|
10270
10455
|
if (JSON.stringify(samplingOfTexts(draft.sampling)) !== JSON.stringify(samplingOfTexts(saved.sampling))) edit["sampling"] = samplingOfTexts(draft.sampling);
|
|
@@ -10272,9 +10457,9 @@ window.__ModuleLoader__.load({
|
|
|
10272
10457
|
if (JSON.stringify(lines(draft.rules)) !== JSON.stringify(lines(saved.rules))) edit["rules"] = lines(draft.rules);
|
|
10273
10458
|
const cleaned = (list) => list.map((entry) => ({
|
|
10274
10459
|
title: entry.title.trim(),
|
|
10275
|
-
text: entry.text.trim(),
|
|
10460
|
+
...entry.parts === void 0 ? { text: entry.text.trim() } : { parts: entry.parts },
|
|
10276
10461
|
...(entry.character ?? "") === "" ? {} : { character: entry.character }
|
|
10277
|
-
})).filter((entry) => entry.text !== "");
|
|
10462
|
+
})).filter((entry) => "text" in entry ? entry.text !== "" : entry.parts.some((part) => part.text.trim() !== ""));
|
|
10278
10463
|
if (JSON.stringify(cleaned(draft.alternates)) !== JSON.stringify(cleaned(saved.alternates))) edit["alternateOpenings"] = cleaned(draft.alternates);
|
|
10279
10464
|
if (JSON.stringify(questionsOfDraft(draft.questions)) !== JSON.stringify(questionsOfDraft(saved.questions))) edit["startQuestions"] = questionsOfDraft(draft.questions);
|
|
10280
10465
|
return edit;
|
|
@@ -10286,6 +10471,7 @@ window.__ModuleLoader__.load({
|
|
|
10286
10471
|
const [draft, setDraft] = (0, react.useState)();
|
|
10287
10472
|
const [status, setStatus] = (0, react.useState)({ state: "idle" });
|
|
10288
10473
|
const [playable, setPlayable] = (0, react.useState)([]);
|
|
10474
|
+
const [cast, setCast] = (0, react.useState)([]);
|
|
10289
10475
|
const [presets, setPresets] = (0, react.useState)([]);
|
|
10290
10476
|
const [books, setBooks] = (0, react.useState)([]);
|
|
10291
10477
|
(0, react.useEffect)(() => {
|
|
@@ -10298,7 +10484,16 @@ window.__ModuleLoader__.load({
|
|
|
10298
10484
|
}, []);
|
|
10299
10485
|
(0, react.useEffect)(() => {
|
|
10300
10486
|
const abort = new AbortController();
|
|
10301
|
-
|
|
10487
|
+
loadCast(worldId, abort.signal).then((people) => {
|
|
10488
|
+
setCast(people.map(({ id, name }) => ({
|
|
10489
|
+
id,
|
|
10490
|
+
name
|
|
10491
|
+
})));
|
|
10492
|
+
setPlayable(people.filter((person) => person.playable).map(({ id, name }) => ({
|
|
10493
|
+
id,
|
|
10494
|
+
name
|
|
10495
|
+
})));
|
|
10496
|
+
}, () => void 0);
|
|
10302
10497
|
return () => {
|
|
10303
10498
|
abort.abort();
|
|
10304
10499
|
};
|
|
@@ -10440,9 +10635,36 @@ window.__ModuleLoader__.load({
|
|
|
10440
10635
|
field("tags", "infoTags", "infoTagsHelp"),
|
|
10441
10636
|
field("description", "description", void 0, { rows: 5 }),
|
|
10442
10637
|
field("rules", "infoRules", "infoRulesHelp", { rows: 5 }),
|
|
10443
|
-
|
|
10444
|
-
|
|
10445
|
-
|
|
10638
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10639
|
+
className: `${CharactersPanel_module_css_default.field} ${CharactersPanel_module_css_default.wide}`,
|
|
10640
|
+
children: [
|
|
10641
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10642
|
+
className: CharactersPanel_module_css_default.label,
|
|
10643
|
+
children: t("infoOpening")
|
|
10644
|
+
}),
|
|
10645
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(OpeningEditor, {
|
|
10646
|
+
t,
|
|
10647
|
+
characters: cast,
|
|
10648
|
+
rows: 8,
|
|
10649
|
+
value: {
|
|
10650
|
+
text: draft.opening,
|
|
10651
|
+
...draft.openingParts === void 0 ? {} : { parts: draft.openingParts }
|
|
10652
|
+
},
|
|
10653
|
+
onChange: (value) => {
|
|
10654
|
+
const { openingParts: _dropped, ...rest } = draft;
|
|
10655
|
+
setDraft({
|
|
10656
|
+
...rest,
|
|
10657
|
+
opening: value.text,
|
|
10658
|
+
...value.parts === void 0 ? {} : { openingParts: value.parts }
|
|
10659
|
+
});
|
|
10660
|
+
setStatus({ state: "idle" });
|
|
10661
|
+
}
|
|
10662
|
+
}),
|
|
10663
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10664
|
+
className: CharactersPanel_module_css_default.help,
|
|
10665
|
+
children: t("infoOpeningHelp")
|
|
10666
|
+
})
|
|
10667
|
+
]
|
|
10446
10668
|
})
|
|
10447
10669
|
]
|
|
10448
10670
|
})
|
|
@@ -10478,19 +10700,25 @@ window.__ModuleLoader__.load({
|
|
|
10478
10700
|
}
|
|
10479
10701
|
})]
|
|
10480
10702
|
}),
|
|
10481
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("
|
|
10703
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10482
10704
|
className: `${CharactersPanel_module_css_default.field} ${CharactersPanel_module_css_default.wide}`,
|
|
10483
10705
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10484
10706
|
className: CharactersPanel_module_css_default.label,
|
|
10485
10707
|
children: t("infoAlternateText")
|
|
10486
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
10487
|
-
|
|
10708
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OpeningEditor, {
|
|
10709
|
+
t,
|
|
10710
|
+
characters: cast,
|
|
10488
10711
|
rows: 5,
|
|
10489
|
-
value:
|
|
10490
|
-
|
|
10712
|
+
value: {
|
|
10713
|
+
text: entry.text,
|
|
10714
|
+
...entry.parts === void 0 ? {} : { parts: entry.parts }
|
|
10715
|
+
},
|
|
10716
|
+
onChange: (value) => {
|
|
10491
10717
|
setAlternates(draft.alternates.map((item, at) => at === index ? {
|
|
10492
|
-
|
|
10493
|
-
text:
|
|
10718
|
+
title: item.title,
|
|
10719
|
+
text: value.text,
|
|
10720
|
+
...value.parts === void 0 ? {} : { parts: value.parts },
|
|
10721
|
+
...item.character === void 0 ? {} : { character: item.character }
|
|
10494
10722
|
} : item));
|
|
10495
10723
|
}
|
|
10496
10724
|
})]
|
|
@@ -11652,17 +11880,17 @@ window.__ModuleLoader__.load({
|
|
|
11652
11880
|
}
|
|
11653
11881
|
tag$35.textContent = css$35;
|
|
11654
11882
|
var ToolSwitches_module_css_default = {
|
|
11655
|
-
"toolText": "rp_CjoFLq_toolText",
|
|
11656
|
-
"title": "rp_CjoFLq_title",
|
|
11657
|
-
"tool": "rp_CjoFLq_tool",
|
|
11658
11883
|
"help": "rp_CjoFLq_help",
|
|
11659
|
-
"
|
|
11660
|
-
"
|
|
11884
|
+
"agent": "rp_CjoFLq_agent",
|
|
11885
|
+
"toolText": "rp_CjoFLq_toolText",
|
|
11661
11886
|
"error": "rp_CjoFLq_error",
|
|
11662
11887
|
"root": "rp_CjoFLq_root",
|
|
11888
|
+
"title": "rp_CjoFLq_title",
|
|
11889
|
+
"agentName": "rp_CjoFLq_agentName",
|
|
11663
11890
|
"default": "rp_CjoFLq_default",
|
|
11664
|
-
"
|
|
11665
|
-
"hint": "rp_CjoFLq_hint"
|
|
11891
|
+
"tool": "rp_CjoFLq_tool",
|
|
11892
|
+
"hint": "rp_CjoFLq_hint",
|
|
11893
|
+
"external": "rp_CjoFLq_external"
|
|
11666
11894
|
};
|
|
11667
11895
|
// src/client/widgets/tool-switches/ToolSwitches.tsx
|
|
11668
11896
|
/**
|
|
@@ -12751,9 +12979,9 @@ window.__ModuleLoader__.load({
|
|
|
12751
12979
|
}
|
|
12752
12980
|
tag$34.textContent = css$34;
|
|
12753
12981
|
var ImageLightbox_module_css_default = {
|
|
12982
|
+
"root": "rp_O6oWuW_root",
|
|
12754
12983
|
"image": "rp_O6oWuW_image",
|
|
12755
|
-
"close": "rp_O6oWuW_close"
|
|
12756
|
-
"root": "rp_O6oWuW_root"
|
|
12984
|
+
"close": "rp_O6oWuW_close"
|
|
12757
12985
|
};
|
|
12758
12986
|
// src/client/ui/ImageLightbox.tsx
|
|
12759
12987
|
/**
|
|
@@ -12934,35 +13162,35 @@ window.__ModuleLoader__.load({
|
|
|
12934
13162
|
}
|
|
12935
13163
|
tag$33.textContent = css$33;
|
|
12936
13164
|
var GalleryView_module_css_default = {
|
|
12937
|
-
"image": "rp_9pSHmG_image",
|
|
12938
13165
|
"page": "rp_9pSHmG_page",
|
|
12939
|
-
"
|
|
12940
|
-
"
|
|
13166
|
+
"cell": "rp_9pSHmG_cell",
|
|
13167
|
+
"grid": "rp_9pSHmG_grid",
|
|
13168
|
+
"detail": "rp_9pSHmG_detail",
|
|
13169
|
+
"note": "rp_9pSHmG_note",
|
|
12941
13170
|
"editField": "rp_9pSHmG_editField",
|
|
13171
|
+
"reusable": "rp_9pSHmG_reusable",
|
|
13172
|
+
"image": "rp_9pSHmG_image",
|
|
13173
|
+
"open": "rp_9pSHmG_open",
|
|
12942
13174
|
"editHelp": "rp_9pSHmG_editHelp",
|
|
12943
|
-
"
|
|
12944
|
-
"error": "rp_9pSHmG_error",
|
|
12945
|
-
"actions": "rp_9pSHmG_actions",
|
|
12946
|
-
"select": "rp_9pSHmG_select",
|
|
12947
|
-
"detail": "rp_9pSHmG_detail",
|
|
12948
|
-
"message": "rp_9pSHmG_message",
|
|
12949
|
-
"status": "rp_9pSHmG_status",
|
|
12950
|
-
"toolbar": "rp_9pSHmG_toolbar",
|
|
13175
|
+
"pre": "rp_9pSHmG_pre",
|
|
12951
13176
|
"thumb": "rp_9pSHmG_thumb",
|
|
12952
13177
|
"count": "rp_9pSHmG_count",
|
|
13178
|
+
"toolbar": "rp_9pSHmG_toolbar",
|
|
12953
13179
|
"statusError": "rp_9pSHmG_statusError",
|
|
13180
|
+
"editButton": "rp_9pSHmG_editButton",
|
|
12954
13181
|
"editInput": "rp_9pSHmG_editInput",
|
|
12955
|
-
"
|
|
13182
|
+
"actions": "rp_9pSHmG_actions",
|
|
13183
|
+
"select": "rp_9pSHmG_select",
|
|
13184
|
+
"status": "rp_9pSHmG_status",
|
|
13185
|
+
"editArea": "rp_9pSHmG_editArea",
|
|
13186
|
+
"error": "rp_9pSHmG_error",
|
|
12956
13187
|
"caption": "rp_9pSHmG_caption",
|
|
12957
|
-
"
|
|
13188
|
+
"message": "rp_9pSHmG_message",
|
|
12958
13189
|
"tags": "rp_9pSHmG_tags",
|
|
12959
|
-
"
|
|
12960
|
-
"
|
|
12961
|
-
"cell": "rp_9pSHmG_cell",
|
|
12962
|
-
"pre": "rp_9pSHmG_pre",
|
|
13190
|
+
"editLabel": "rp_9pSHmG_editLabel",
|
|
13191
|
+
"large": "rp_9pSHmG_large",
|
|
12963
13192
|
"facts": "rp_9pSHmG_facts",
|
|
12964
|
-
"edit": "rp_9pSHmG_edit"
|
|
12965
|
-
"open": "rp_9pSHmG_open"
|
|
13193
|
+
"edit": "rp_9pSHmG_edit"
|
|
12966
13194
|
};
|
|
12967
13195
|
// src/client/widgets/gallery-view/GalleryView.tsx
|
|
12968
13196
|
/** How often the list is read again while pictures are waiting to be described. */
|
|
@@ -13305,13 +13533,13 @@ window.__ModuleLoader__.load({
|
|
|
13305
13533
|
}
|
|
13306
13534
|
tag$32.textContent = css$32;
|
|
13307
13535
|
var WorldEditor_module_css_default = {
|
|
13308
|
-
"message": "rp__swA3a_message",
|
|
13309
|
-
"warning": "rp__swA3a_warning",
|
|
13310
|
-
"drawerItemOn": "rp__swA3a_drawerItemOn",
|
|
13311
|
-
"view": "rp__swA3a_view",
|
|
13312
13536
|
"drawer": "rp__swA3a_drawer",
|
|
13537
|
+
"drawerItemOn": "rp__swA3a_drawerItemOn",
|
|
13538
|
+
"warning": "rp__swA3a_warning",
|
|
13313
13539
|
"drawerItem": "rp__swA3a_drawerItem",
|
|
13314
|
-
"
|
|
13540
|
+
"view": "rp__swA3a_view",
|
|
13541
|
+
"content": "rp__swA3a_content",
|
|
13542
|
+
"message": "rp__swA3a_message"
|
|
13315
13543
|
};
|
|
13316
13544
|
// src/client/world-editor/WorldEditor.tsx
|
|
13317
13545
|
const SECTIONS = [
|
|
@@ -13722,27 +13950,27 @@ window.__ModuleLoader__.load({
|
|
|
13722
13950
|
}
|
|
13723
13951
|
tag$31.textContent = css$31;
|
|
13724
13952
|
var AvatarsPage_module_css_default = {
|
|
13725
|
-
"
|
|
13726
|
-
"
|
|
13727
|
-
"
|
|
13728
|
-
"
|
|
13953
|
+
"card": "rp_pQOzEG_card",
|
|
13954
|
+
"toolbar": "rp_pQOzEG_toolbar",
|
|
13955
|
+
"portrait": "rp_pQOzEG_portrait",
|
|
13956
|
+
"page": "rp_pQOzEG_page",
|
|
13729
13957
|
"viewport": "rp_pQOzEG_viewport",
|
|
13730
13958
|
"placeholder": "rp_pQOzEG_placeholder",
|
|
13731
|
-
"
|
|
13732
|
-
"
|
|
13959
|
+
"actions": "rp_pQOzEG_actions",
|
|
13960
|
+
"summary": "rp_pQOzEG_summary",
|
|
13961
|
+
"editHeader": "rp_pQOzEG_editHeader",
|
|
13962
|
+
"grid": "rp_pQOzEG_grid",
|
|
13963
|
+
"editTitle": "rp_pQOzEG_editTitle",
|
|
13733
13964
|
"editBody": "rp_pQOzEG_editBody",
|
|
13734
|
-
"
|
|
13965
|
+
"error": "rp_pQOzEG_error",
|
|
13735
13966
|
"form": "rp_pQOzEG_form",
|
|
13967
|
+
"label": "rp_pQOzEG_label",
|
|
13968
|
+
"open": "rp_pQOzEG_open",
|
|
13736
13969
|
"field": "rp_pQOzEG_field",
|
|
13737
|
-
"
|
|
13738
|
-
"
|
|
13739
|
-
"actions": "rp_pQOzEG_actions",
|
|
13740
|
-
"editTitle": "rp_pQOzEG_editTitle",
|
|
13741
|
-
"card": "rp_pQOzEG_card",
|
|
13742
|
-
"summary": "rp_pQOzEG_summary",
|
|
13970
|
+
"name": "rp_pQOzEG_name",
|
|
13971
|
+
"text": "rp_pQOzEG_text",
|
|
13743
13972
|
"count": "rp_pQOzEG_count",
|
|
13744
|
-
"
|
|
13745
|
-
"page": "rp_pQOzEG_page"
|
|
13973
|
+
"message": "rp_pQOzEG_message"
|
|
13746
13974
|
};
|
|
13747
13975
|
// src/client/pages/avatars/AvatarsPage.tsx
|
|
13748
13976
|
const hueOf$2 = (name) => Array.from(name).reduce((hash, char) => (hash * 31 + char.charCodeAt(0)) % 360, 0);
|
|
@@ -14010,7 +14238,7 @@ window.__ModuleLoader__.load({
|
|
|
14010
14238
|
});
|
|
14011
14239
|
}
|
|
14012
14240
|
// src/client/widgets/sampling-fields/locales.ts
|
|
14013
|
-
const dictionaries$
|
|
14241
|
+
const dictionaries$24 = {
|
|
14014
14242
|
en: {
|
|
14015
14243
|
sf_master: "Narrator temperature (0 to 2)",
|
|
14016
14244
|
sf_characters: "Characters temperature (0 to 2)",
|
|
@@ -14101,7 +14329,7 @@ window.__ModuleLoader__.load({
|
|
|
14101
14329
|
}
|
|
14102
14330
|
};
|
|
14103
14331
|
// src/client/widgets/tool-switches/locales.ts
|
|
14104
|
-
const dictionaries$
|
|
14332
|
+
const dictionaries$23 = {
|
|
14105
14333
|
en: {
|
|
14106
14334
|
sw_title: "Tools",
|
|
14107
14335
|
sw_help: "Which optional tools each kind of agent may use. A choice applies to every agent of that kind, not to one character. Tools this version does not know are left as they are and not shown.",
|
|
@@ -14408,7 +14636,7 @@ window.__ModuleLoader__.load({
|
|
|
14408
14636
|
}
|
|
14409
14637
|
};
|
|
14410
14638
|
// src/client/widgets/gallery-view/locales.ts
|
|
14411
|
-
const dictionaries$
|
|
14639
|
+
const dictionaries$22 = {
|
|
14412
14640
|
en: {
|
|
14413
14641
|
tab: "Gallery",
|
|
14414
14642
|
notRoleplay: "This chat is not a roleplay session, so it has no gallery.",
|
|
@@ -14731,7 +14959,7 @@ window.__ModuleLoader__.load({
|
|
|
14731
14959
|
}
|
|
14732
14960
|
};
|
|
14733
14961
|
// src/client/world-editor/dice-locales.ts
|
|
14734
|
-
const dictionaries$
|
|
14962
|
+
const dictionaries$21 = {
|
|
14735
14963
|
en: {
|
|
14736
14964
|
help: "How uncertain attempts are settled. The game master rolls one of these checks and is told which band the roll fell in, so no number is ever made up. Each check says when it is used, the dice it rolls and what each result means; the bands together should cover every value the dice can give.",
|
|
14737
14965
|
none: "This world has no checks. Its game master can still roll plain dice for things that have none.",
|
|
@@ -15022,7 +15250,7 @@ window.__ModuleLoader__.load({
|
|
|
15022
15250
|
}
|
|
15023
15251
|
};
|
|
15024
15252
|
// src/client/world-editor/packs-locales.ts
|
|
15025
|
-
const dictionaries$
|
|
15253
|
+
const dictionaries$20 = {
|
|
15026
15254
|
en: {
|
|
15027
15255
|
newPack: "New pack",
|
|
15028
15256
|
newPackId: "Pack name (letters, digits, - and _)",
|
|
@@ -15456,6 +15684,145 @@ window.__ModuleLoader__.load({
|
|
|
15456
15684
|
noSurfaces: "O pacote não tem superfícies para pré-visualizar."
|
|
15457
15685
|
}
|
|
15458
15686
|
};
|
|
15687
|
+
// src/client/world-editor/opening-locales.ts
|
|
15688
|
+
const dictionaries$19 = {
|
|
15689
|
+
en: {
|
|
15690
|
+
plainHelp: "Plain text is narration only. Split it into parts to give lines to characters.",
|
|
15691
|
+
partsHelp: "Parts are read in order: narration, and lines a character speaks.",
|
|
15692
|
+
toParts: "Split into parts",
|
|
15693
|
+
toPlain: "Make plain text",
|
|
15694
|
+
toPlainBlocked: "Remove the lines spoken by characters first",
|
|
15695
|
+
addNarration: "Add narration",
|
|
15696
|
+
addSpeech: "Add a spoken line",
|
|
15697
|
+
remove: "Remove",
|
|
15698
|
+
up: "Move up",
|
|
15699
|
+
down: "Move down",
|
|
15700
|
+
narration: "Narration",
|
|
15701
|
+
speech: "Spoken line",
|
|
15702
|
+
speaker: "Who speaks",
|
|
15703
|
+
noSpeaker: "Choose a character",
|
|
15704
|
+
text: "Text"
|
|
15705
|
+
},
|
|
15706
|
+
zh: {
|
|
15707
|
+
plainHelp: "纯文本只是叙述。拆分成多个部分后,才能给角色安排台词。",
|
|
15708
|
+
partsHelp: "各部分按顺序阅读:叙述,以及角色说的话。",
|
|
15709
|
+
toParts: "拆分成多个部分",
|
|
15710
|
+
toPlain: "改为纯文本",
|
|
15711
|
+
toPlainBlocked: "请先移除角色的台词",
|
|
15712
|
+
addNarration: "添加叙述",
|
|
15713
|
+
addSpeech: "添加台词",
|
|
15714
|
+
remove: "移除",
|
|
15715
|
+
up: "上移",
|
|
15716
|
+
down: "下移",
|
|
15717
|
+
narration: "叙述",
|
|
15718
|
+
speech: "台词",
|
|
15719
|
+
speaker: "说话者",
|
|
15720
|
+
noSpeaker: "选择角色",
|
|
15721
|
+
text: "内容"
|
|
15722
|
+
},
|
|
15723
|
+
ja: {
|
|
15724
|
+
plainHelp: "プレーンテキストはナレーションのみです。キャラクターのセリフを入れるにはパートに分けます。",
|
|
15725
|
+
partsHelp: "パートは順に読まれます:ナレーションと、キャラクターのセリフ。",
|
|
15726
|
+
toParts: "パートに分ける",
|
|
15727
|
+
toPlain: "プレーンテキストにする",
|
|
15728
|
+
toPlainBlocked: "先にキャラクターのセリフを削除してください",
|
|
15729
|
+
addNarration: "ナレーションを追加",
|
|
15730
|
+
addSpeech: "セリフを追加",
|
|
15731
|
+
remove: "削除",
|
|
15732
|
+
up: "上へ",
|
|
15733
|
+
down: "下へ",
|
|
15734
|
+
narration: "ナレーション",
|
|
15735
|
+
speech: "セリフ",
|
|
15736
|
+
speaker: "話し手",
|
|
15737
|
+
noSpeaker: "キャラクターを選択",
|
|
15738
|
+
text: "本文"
|
|
15739
|
+
},
|
|
15740
|
+
es: {
|
|
15741
|
+
plainHelp: "El texto sin formato es solo narración. Divídelo en partes para dar líneas a los personajes.",
|
|
15742
|
+
partsHelp: "Las partes se leen en orden: narración y líneas que dice un personaje.",
|
|
15743
|
+
toParts: "Dividir en partes",
|
|
15744
|
+
toPlain: "Convertir en texto sin formato",
|
|
15745
|
+
toPlainBlocked: "Quita primero las líneas dichas por personajes",
|
|
15746
|
+
addNarration: "Añadir narración",
|
|
15747
|
+
addSpeech: "Añadir una línea hablada",
|
|
15748
|
+
remove: "Quitar",
|
|
15749
|
+
up: "Subir",
|
|
15750
|
+
down: "Bajar",
|
|
15751
|
+
narration: "Narración",
|
|
15752
|
+
speech: "Línea hablada",
|
|
15753
|
+
speaker: "Quién habla",
|
|
15754
|
+
noSpeaker: "Elige un personaje",
|
|
15755
|
+
text: "Texto"
|
|
15756
|
+
},
|
|
15757
|
+
fr: {
|
|
15758
|
+
plainHelp: "Le texte simple n’est que de la narration. Découpez-le en parties pour donner des répliques aux personnages.",
|
|
15759
|
+
partsHelp: "Les parties se lisent dans l’ordre : narration et répliques d’un personnage.",
|
|
15760
|
+
toParts: "Découper en parties",
|
|
15761
|
+
toPlain: "Convertir en texte simple",
|
|
15762
|
+
toPlainBlocked: "Retirez d’abord les répliques des personnages",
|
|
15763
|
+
addNarration: "Ajouter de la narration",
|
|
15764
|
+
addSpeech: "Ajouter une réplique",
|
|
15765
|
+
remove: "Retirer",
|
|
15766
|
+
up: "Monter",
|
|
15767
|
+
down: "Descendre",
|
|
15768
|
+
narration: "Narration",
|
|
15769
|
+
speech: "Réplique",
|
|
15770
|
+
speaker: "Qui parle",
|
|
15771
|
+
noSpeaker: "Choisir un personnage",
|
|
15772
|
+
text: "Texte"
|
|
15773
|
+
},
|
|
15774
|
+
de: {
|
|
15775
|
+
plainHelp: "Reiner Text ist nur Erzählung. Teile ihn in Abschnitte, um Figuren Zeilen zu geben.",
|
|
15776
|
+
partsHelp: "Abschnitte werden der Reihe nach gelesen: Erzählung und Zeilen, die eine Figur spricht.",
|
|
15777
|
+
toParts: "In Abschnitte teilen",
|
|
15778
|
+
toPlain: "In reinen Text umwandeln",
|
|
15779
|
+
toPlainBlocked: "Entferne zuerst die gesprochenen Zeilen der Figuren",
|
|
15780
|
+
addNarration: "Erzählung hinzufügen",
|
|
15781
|
+
addSpeech: "Gesprochene Zeile hinzufügen",
|
|
15782
|
+
remove: "Entfernen",
|
|
15783
|
+
up: "Nach oben",
|
|
15784
|
+
down: "Nach unten",
|
|
15785
|
+
narration: "Erzählung",
|
|
15786
|
+
speech: "Gesprochene Zeile",
|
|
15787
|
+
speaker: "Wer spricht",
|
|
15788
|
+
noSpeaker: "Figur wählen",
|
|
15789
|
+
text: "Text"
|
|
15790
|
+
},
|
|
15791
|
+
ru: {
|
|
15792
|
+
plainHelp: "Простой текст — это только повествование. Разбейте его на части, чтобы дать персонажам реплики.",
|
|
15793
|
+
partsHelp: "Части читаются по порядку: повествование и реплики персонажей.",
|
|
15794
|
+
toParts: "Разбить на части",
|
|
15795
|
+
toPlain: "Сделать простым текстом",
|
|
15796
|
+
toPlainBlocked: "Сначала удалите реплики персонажей",
|
|
15797
|
+
addNarration: "Добавить повествование",
|
|
15798
|
+
addSpeech: "Добавить реплику",
|
|
15799
|
+
remove: "Удалить",
|
|
15800
|
+
up: "Вверх",
|
|
15801
|
+
down: "Вниз",
|
|
15802
|
+
narration: "Повествование",
|
|
15803
|
+
speech: "Реплика",
|
|
15804
|
+
speaker: "Кто говорит",
|
|
15805
|
+
noSpeaker: "Выберите персонажа",
|
|
15806
|
+
text: "Текст"
|
|
15807
|
+
},
|
|
15808
|
+
pt: {
|
|
15809
|
+
plainHelp: "Texto simples é só narração. Divida em partes para dar falas aos personagens.",
|
|
15810
|
+
partsHelp: "As partes são lidas em ordem: narração e falas de um personagem.",
|
|
15811
|
+
toParts: "Dividir em partes",
|
|
15812
|
+
toPlain: "Converter em texto simples",
|
|
15813
|
+
toPlainBlocked: "Remova primeiro as falas dos personagens",
|
|
15814
|
+
addNarration: "Adicionar narração",
|
|
15815
|
+
addSpeech: "Adicionar uma fala",
|
|
15816
|
+
remove: "Remover",
|
|
15817
|
+
up: "Subir",
|
|
15818
|
+
down: "Descer",
|
|
15819
|
+
narration: "Narração",
|
|
15820
|
+
speech: "Fala",
|
|
15821
|
+
speaker: "Quem fala",
|
|
15822
|
+
noSpeaker: "Escolha um personagem",
|
|
15823
|
+
text: "Texto"
|
|
15824
|
+
}
|
|
15825
|
+
};
|
|
15459
15826
|
// src/client/world-editor/questions-locales.ts
|
|
15460
15827
|
const dictionaries$18 = {
|
|
15461
15828
|
en: {
|
|
@@ -16147,7 +16514,6 @@ window.__ModuleLoader__.load({
|
|
|
16147
16514
|
infoRulesHelp: "One short rule per line, for example \"There is no magic\". The game master checks what the player does against them.",
|
|
16148
16515
|
infoOpening: "Opening message",
|
|
16149
16516
|
infoOpeningHelp: "What the story begins with, before the player says anything. Leave empty for none.",
|
|
16150
|
-
infoOpeningParts: "This opening has lines spoken by characters, so it cannot be edited here as plain text. Change it in the file, or ask the authoring assistant.",
|
|
16151
16517
|
sectionDice: "Dice",
|
|
16152
16518
|
sectionCommands: "Commands",
|
|
16153
16519
|
commandsHelp: "Words the player may type after a slash to do something this world has set up for it. A command raises a flag that the world's triggers can wait on (the condition is the variable command_<word>), and the game master is told what the player meant by it. The words /ooc, /ask, /roll, /wait and /dream belong to the game itself.",
|
|
@@ -16226,7 +16592,7 @@ window.__ModuleLoader__.load({
|
|
|
16226
16592
|
infoAlternateFor: "For",
|
|
16227
16593
|
infoAlternateAny: "Any character",
|
|
16228
16594
|
infoAlternates: "Other openings",
|
|
16229
|
-
infoAlternatesHelp: "Other ways the story can begin. The player picks one when starting a session; each is
|
|
16595
|
+
infoAlternatesHelp: "Other ways the story can begin. The player picks one when starting a session; each is shown instead of the opening message, as plain narration or as parts.",
|
|
16230
16596
|
infoAlternateTitle: "Title",
|
|
16231
16597
|
infoAlternateText: "Narration",
|
|
16232
16598
|
infoAlternateAdd: "Add an opening",
|
|
@@ -16459,7 +16825,6 @@ window.__ModuleLoader__.load({
|
|
|
16459
16825
|
infoRulesHelp: "每行一条简短规则,例如“这里没有魔法”。主持人会据此检查玩家的行动。",
|
|
16460
16826
|
infoOpening: "开场白",
|
|
16461
16827
|
infoOpeningHelp: "玩家开口之前故事的开头。留空表示没有。",
|
|
16462
|
-
infoOpeningParts: "这段开场白含有角色说的话,因此不能在这里按纯文本编辑。请在文件中修改,或请创作助手处理。",
|
|
16463
16828
|
sectionDice: "骰子",
|
|
16464
16829
|
sectionCommands: "指令",
|
|
16465
16830
|
commandsHelp: "玩家可以在斜杠后输入的词,用来做这个世界为它准备好的事。指令会举起一个标志,世界的触发器可以等待它(条件是变量 command_<词>),主持人也会被告知玩家的意图。/ooc、/ask、/roll、/wait 和 /dream 属于游戏本身。",
|
|
@@ -16538,7 +16903,7 @@ window.__ModuleLoader__.load({
|
|
|
16538
16903
|
infoAlternateFor: "适用于",
|
|
16539
16904
|
infoAlternateAny: "任何角色",
|
|
16540
16905
|
infoAlternates: "其他开场",
|
|
16541
|
-
infoAlternatesHelp: "
|
|
16906
|
+
infoAlternatesHelp: "故事的其他开始方式。玩家开始会话时选择其一;每个都会代替开场白显示,可以是纯叙述,也可以由多个部分组成。",
|
|
16542
16907
|
infoAlternateTitle: "标题",
|
|
16543
16908
|
infoAlternateText: "叙述",
|
|
16544
16909
|
infoAlternateAdd: "添加开场",
|
|
@@ -16761,7 +17126,7 @@ window.__ModuleLoader__.load({
|
|
|
16761
17126
|
relationCreate: "创建"
|
|
16762
17127
|
}
|
|
16763
17128
|
};
|
|
16764
|
-
const dictionaries$16 = withDictionaries(withDictionaries(withDictionaries(withDictionaries(withDictionaries(withDictionaries(withDictionaries({
|
|
17129
|
+
const dictionaries$16 = withDictionaries(withDictionaries(withDictionaries(withDictionaries(withDictionaries(withDictionaries(withDictionaries(withDictionaries({
|
|
16765
17130
|
...base$2,
|
|
16766
17131
|
ja: {
|
|
16767
17132
|
...base$2.en,
|
|
@@ -17039,7 +17404,6 @@ window.__ModuleLoader__.load({
|
|
|
17039
17404
|
infoTagsHelp: "カンマで区切ります。プレイするワールドを選ぶ手がかりになります。",
|
|
17040
17405
|
infoRulesHelp: "1行に短いルールを1つ入力します(例:「魔法は存在しない」)。ゲームマスターはプレイヤーの行動をこのルールと照らし合わせます。",
|
|
17041
17406
|
infoOpeningHelp: "プレイヤーが何かを言う前に表示される、物語の冒頭です。不要なら空欄にします。",
|
|
17042
|
-
infoOpeningParts: "この冒頭にはキャラクターの台詞が含まれるため、ここではプレーンテキストとして編集できません。ファイルを編集するか、作成アシスタントに依頼してください。",
|
|
17043
17407
|
commandsHelp: "プレイヤーがスラッシュに続けて入力できる、このワールド独自のコマンドです。コマンドはトリガーが待機できるフラグ(変数 command_<word>)を立て、その意図をゲームマスターに伝えます。/ooc、/ask、/roll、/wait、/dream はゲーム標準のコマンドです。",
|
|
17044
17408
|
commandDescriptionHelp: "ゲームマスターに伝わる説明で、プレイヤー向けのヘルプにも表示されます。",
|
|
17045
17409
|
calendarHelp: "季節は半球に従います。祝日は日付(09-21)、期間(12-20..01-05)、月内の曜日(nth:fri:last)、月、季節で指定します。日課、トリガー、モデルに示す時刻では holiday:<id> で参照できます。",
|
|
@@ -17352,7 +17716,6 @@ window.__ModuleLoader__.load({
|
|
|
17352
17716
|
infoTagsHelp: "Sepáralas con comas. Ayudan a decidir si se quiere jugar este mundo.",
|
|
17353
17717
|
infoRulesHelp: "Escribe una regla breve por línea, por ejemplo: «No existe la magia». El director de juego las usa para comprobar las acciones del jugador.",
|
|
17354
17718
|
infoOpeningHelp: "El comienzo de la historia, antes de que el jugador diga nada. Déjalo vacío si no hace falta.",
|
|
17355
|
-
infoOpeningParts: "Este comienzo contiene intervenciones de personajes y no se puede editar aquí como texto sin formato. Modifícalo en el archivo o pídeselo al asistente de creación.",
|
|
17356
17719
|
commandsHelp: "Palabras que el jugador puede escribir tras una barra para usar funciones propias del mundo. El comando activa un indicador que pueden esperar los disparadores (la variable command_<word>) y comunica la intención al director de juego. /ooc, /ask, /roll, /wait y /dream pertenecen al juego.",
|
|
17357
17720
|
commandDescriptionHelp: "Se comunica al director de juego y aparece como ayuda del comando para el jugador.",
|
|
17358
17721
|
calendarHelp: "Las estaciones dependen del hemisferio. Las festividades se definen con una fecha (09-21), un intervalo (12-20..01-05), un día de la semana del mes (nth:fri:last), un mes o una estación. Las rutinas, los disparadores y la hora mostrada a los modelos pueden referirse a ellas como holiday:<id>.",
|
|
@@ -17665,7 +18028,6 @@ window.__ModuleLoader__.load({
|
|
|
17665
18028
|
infoTagsHelp: "Séparez-les par des virgules. Elles aident à décider si ce monde donne envie d’être joué.",
|
|
17666
18029
|
infoRulesHelp: "Saisissez une règle courte par ligne, par exemple « La magie n’existe pas ». Le maître de jeu y confronte les actions du joueur.",
|
|
17667
18030
|
infoOpeningHelp: "Le début de l’histoire, avant que le joueur ne dise quoi que ce soit. Laissez vide si vous n’en voulez pas.",
|
|
17668
|
-
infoOpeningParts: "Cette ouverture comporte des répliques de personnages et ne peut donc pas être modifiée ici comme du texte simple. Modifiez le fichier ou demandez à l’assistant de création.",
|
|
17669
18031
|
commandsHelp: "Mots que le joueur peut saisir après une barre oblique pour utiliser une fonction propre à ce monde. Une commande active un indicateur attendu par les déclencheurs (la variable command_<word>) et transmet l’intention au maître de jeu. /ooc, /ask, /roll, /wait et /dream appartiennent au jeu.",
|
|
17670
18032
|
commandDescriptionHelp: "Transmis au maître de jeu et affiché au joueur comme aide de la commande.",
|
|
17671
18033
|
calendarHelp: "Les saisons dépendent de l’hémisphère. Une fête se définit par une date (09-21), une période (12-20..01-05), un jour de semaine du mois (nth:fri:last), un mois ou une saison. Les routines, les déclencheurs et l’heure donnée aux modèles peuvent la désigner par holiday:<id>.",
|
|
@@ -17978,7 +18340,6 @@ window.__ModuleLoader__.load({
|
|
|
17978
18340
|
infoTagsHelp: "Durch Kommas trennen. Sie helfen bei der Entscheidung, ob man diese Welt spielen möchte.",
|
|
17979
18341
|
infoRulesHelp: "Eine kurze Regel pro Zeile, zum Beispiel „Es gibt keine Magie“. Die Spielleitung prüft die Handlungen des Spielers anhand dieser Regeln.",
|
|
17980
18342
|
infoOpeningHelp: "Der Anfang der Geschichte, bevor der Spieler etwas sagt. Leer lassen, wenn keiner gewünscht ist.",
|
|
17981
|
-
infoOpeningParts: "Dieser Einstieg enthält gesprochene Zeilen von Charakteren und kann hier nicht als einfacher Text bearbeitet werden. Ändere die Datei oder bitte den Erstellungsassistenten darum.",
|
|
17982
18343
|
commandsHelp: "Wörter, die der Spieler nach einem Schrägstrich eingeben kann, um eine Funktion dieser Welt auszulösen. Ein Befehl setzt einen Schalter, auf den Auslöser warten können (die Variable command_<word>), und teilt der Spielleitung die Absicht mit. /ooc, /ask, /roll, /wait und /dream gehören zum Spiel.",
|
|
17983
18344
|
commandDescriptionHelp: "Wird der Spielleitung übermittelt und dem Spieler als Hilfe zum Befehl angezeigt.",
|
|
17984
18345
|
calendarHelp: "Die Jahreszeiten richten sich nach der Halbkugel. Feiertage werden als Datum (09-21), Zeitraum (12-20..01-05), Wochentag im Monat (nth:fri:last), Monat oder Jahreszeit angegeben. Routinen, Auslöser und die Modellzeit können sie mit holiday:<id> benennen.",
|
|
@@ -18291,7 +18652,6 @@ window.__ModuleLoader__.load({
|
|
|
18291
18652
|
infoTagsHelp: "Разделяйте метки запятыми. Они помогают понять, хочется ли играть в этом мире.",
|
|
18292
18653
|
infoRulesHelp: "По одному короткому правилу в строке, например «Магии не существует». Ведущий сверяет с ними действия игрока.",
|
|
18293
18654
|
infoOpeningHelp: "Начало истории до того, как игрок что-либо скажет. Оставьте поле пустым, если вступление не нужно.",
|
|
18294
|
-
infoOpeningParts: "В этом вступлении есть реплики персонажей, поэтому его нельзя редактировать здесь как обычный текст. Измените файл или попросите помощника по созданию.",
|
|
18295
18655
|
commandsHelp: "Слова, которые игрок вводит после косой черты, чтобы использовать возможности этого мира. Команда поднимает флаг, которого могут ждать триггеры (переменная command_<word>), и сообщает ведущему намерение игрока. /ooc, /ask, /roll, /wait и /dream относятся к самой игре.",
|
|
18296
18656
|
commandDescriptionHelp: "Передаётся ведущему и показывается игроку в справке по команде.",
|
|
18297
18657
|
calendarHelp: "Сезоны зависят от полушария. Праздник задаётся датой (09-21), периодом (12-20..01-05), днём недели в месяце (nth:fri:last), месяцем или сезоном. Распорядки, триггеры и время для моделей могут ссылаться на него как holiday:<id>.",
|
|
@@ -18604,7 +18964,6 @@ window.__ModuleLoader__.load({
|
|
|
18604
18964
|
infoTagsHelp: "Separe-as por vírgulas. Ajudam a decidir se este mundo é interessante para jogar.",
|
|
18605
18965
|
infoRulesHelp: "Introduza uma regra curta por linha, por exemplo «Não existe magia». O mestre de jogo compara as ações do jogador com estas regras.",
|
|
18606
18966
|
infoOpeningHelp: "O início da história, antes de o jogador dizer alguma coisa. Deixe em branco se não for necessário.",
|
|
18607
|
-
infoOpeningParts: "Esta abertura contém falas de personagens e não pode ser editada aqui como texto simples. Altere o ficheiro ou peça ao assistente de criação.",
|
|
18608
18967
|
commandsHelp: "Palavras que o jogador pode escrever depois de uma barra para usar funções próprias deste mundo. O comando ativa um sinalizador que os acionadores podem aguardar (a variável command_<word>) e comunica a intenção ao mestre de jogo. /ooc, /ask, /roll, /wait e /dream pertencem ao próprio jogo.",
|
|
18609
18968
|
commandDescriptionHelp: "É comunicado ao mestre de jogo e mostrado ao jogador como ajuda do comando.",
|
|
18610
18969
|
calendarHelp: "As estações dependem do hemisfério. Um feriado é definido por uma data (09-21), um período (12-20..01-05), um dia da semana no mês (nth:fri:last), um mês ou uma estação. Rotinas, acionadores e o tempo mostrado aos modelos podem referi-lo como holiday:<id>.",
|
|
@@ -18641,7 +19000,7 @@ window.__ModuleLoader__.load({
|
|
|
18641
19000
|
wearableAt: "Usável em: {slot}",
|
|
18642
19001
|
ownedBy: "Pertence a {owner}"
|
|
18643
19002
|
}
|
|
18644
|
-
}, prefixed(dictionaries$
|
|
19003
|
+
}, prefixed(dictionaries$22, "gallery_")), prefixed(dictionaries$17, "trig_")), prefixed(dictionaries$20, "pk_")), prefixed(dictionaries$18, "sq_")), dictionaries$23), prefixed(dictionaries$21, "dice_")), dictionaries$24), prefixed(dictionaries$19, "op_"));
|
|
18645
19004
|
const dictionaries$15 = withDictionaries({
|
|
18646
19005
|
en: {
|
|
18647
19006
|
nav: "Avatars",
|
|
@@ -18883,37 +19242,37 @@ window.__ModuleLoader__.load({
|
|
|
18883
19242
|
}
|
|
18884
19243
|
tag$30.textContent = css$30;
|
|
18885
19244
|
var LorebooksPage_module_css_default = {
|
|
18886
|
-
"
|
|
19245
|
+
"editBody": "rp_VV-Eha_editBody",
|
|
19246
|
+
"field": "rp_VV-Eha_field",
|
|
19247
|
+
"head": "rp_VV-Eha_head",
|
|
19248
|
+
"page": "rp_VV-Eha_page",
|
|
19249
|
+
"sectionTitle": "rp_VV-Eha_sectionTitle",
|
|
18887
19250
|
"message": "rp_VV-Eha_message",
|
|
18888
|
-
"
|
|
19251
|
+
"actions": "rp_VV-Eha_actions",
|
|
19252
|
+
"input": "rp_VV-Eha_input",
|
|
19253
|
+
"title": "rp_VV-Eha_title",
|
|
18889
19254
|
"cardActions": "rp_VV-Eha_cardActions",
|
|
18890
|
-
"field": "rp_VV-Eha_field",
|
|
18891
19255
|
"count": "rp_VV-Eha_count",
|
|
18892
|
-
"title": "rp_VV-Eha_title",
|
|
18893
|
-
"ok": "rp_VV-Eha_ok",
|
|
18894
|
-
"toolbar": "rp_VV-Eha_toolbar",
|
|
18895
19256
|
"select": "rp_VV-Eha_select",
|
|
19257
|
+
"description": "rp_VV-Eha_description",
|
|
18896
19258
|
"card": "rp_VV-Eha_card",
|
|
18897
|
-
"section": "rp_VV-Eha_section",
|
|
18898
|
-
"editBody": "rp_VV-Eha_editBody",
|
|
18899
|
-
"input": "rp_VV-Eha_input",
|
|
18900
|
-
"page": "rp_VV-Eha_page",
|
|
18901
|
-
"label": "rp_VV-Eha_label",
|
|
18902
|
-
"actions": "rp_VV-Eha_actions",
|
|
18903
19259
|
"grid": "rp_VV-Eha_grid",
|
|
18904
|
-
"
|
|
18905
|
-
"sectionTitle": "rp_VV-Eha_sectionTitle",
|
|
19260
|
+
"toolbar": "rp_VV-Eha_toolbar",
|
|
18906
19261
|
"warning": "rp_VV-Eha_warning",
|
|
18907
|
-
"
|
|
19262
|
+
"label": "rp_VV-Eha_label",
|
|
19263
|
+
"area": "rp_VV-Eha_area",
|
|
19264
|
+
"error": "rp_VV-Eha_error",
|
|
18908
19265
|
"editTitle": "rp_VV-Eha_editTitle",
|
|
18909
|
-
"
|
|
18910
|
-
"
|
|
19266
|
+
"section": "rp_VV-Eha_section",
|
|
19267
|
+
"row": "rp_VV-Eha_row",
|
|
19268
|
+
"form": "rp_VV-Eha_form",
|
|
19269
|
+
"help": "rp_VV-Eha_help",
|
|
18911
19270
|
"name": "rp_VV-Eha_name",
|
|
19271
|
+
"editHeader": "rp_VV-Eha_editHeader",
|
|
19272
|
+
"meta": "rp_VV-Eha_meta",
|
|
18912
19273
|
"entryArea": "rp_VV-Eha_entryArea",
|
|
18913
|
-
"
|
|
18914
|
-
"
|
|
18915
|
-
"row": "rp_VV-Eha_row",
|
|
18916
|
-
"head": "rp_VV-Eha_head"
|
|
19274
|
+
"ok": "rp_VV-Eha_ok",
|
|
19275
|
+
"viewport": "rp_VV-Eha_viewport"
|
|
18917
19276
|
};
|
|
18918
19277
|
// src/client/pages/lorebooks/LorebookEditor.tsx
|
|
18919
19278
|
const messageOf$9 = (failure) => failure instanceof Error ? failure.message : String(failure);
|
|
@@ -20294,7 +20653,7 @@ window.__ModuleLoader__.load({
|
|
|
20294
20653
|
kind_legend: "Lenda",
|
|
20295
20654
|
kind_other: "Outro"
|
|
20296
20655
|
}
|
|
20297
|
-
}, dictionaries$
|
|
20656
|
+
}, dictionaries$26);
|
|
20298
20657
|
// src/client/pages/lorebooks/lorebooks-controller.ts
|
|
20299
20658
|
const messageOf$7 = (error) => error instanceof Error ? error.message : String(error);
|
|
20300
20659
|
/** Reads the lorebook library from the host and makes, removes and opens its lorebooks. */
|
|
@@ -20415,35 +20774,35 @@ window.__ModuleLoader__.load({
|
|
|
20415
20774
|
}
|
|
20416
20775
|
tag$29.textContent = css$29;
|
|
20417
20776
|
var PresetsPage_module_css_default = {
|
|
20418
|
-
"
|
|
20419
|
-
"
|
|
20420
|
-
"
|
|
20777
|
+
"viewport": "rp_ZK89ba_viewport",
|
|
20778
|
+
"actions": "rp_ZK89ba_actions",
|
|
20779
|
+
"editBody": "rp_ZK89ba_editBody",
|
|
20421
20780
|
"card": "rp_ZK89ba_card",
|
|
20781
|
+
"description": "rp_ZK89ba_description",
|
|
20782
|
+
"cardActions": "rp_ZK89ba_cardActions",
|
|
20422
20783
|
"error": "rp_ZK89ba_error",
|
|
20423
|
-
"
|
|
20424
|
-
"
|
|
20784
|
+
"ok": "rp_ZK89ba_ok",
|
|
20785
|
+
"head": "rp_ZK89ba_head",
|
|
20425
20786
|
"field": "rp_ZK89ba_field",
|
|
20787
|
+
"editTitle": "rp_ZK89ba_editTitle",
|
|
20788
|
+
"toolbar": "rp_ZK89ba_toolbar",
|
|
20426
20789
|
"section": "rp_ZK89ba_section",
|
|
20427
|
-
"
|
|
20428
|
-
"head": "rp_ZK89ba_head",
|
|
20429
|
-
"input": "rp_ZK89ba_input",
|
|
20430
|
-
"editBody": "rp_ZK89ba_editBody",
|
|
20431
|
-
"page": "rp_ZK89ba_page",
|
|
20790
|
+
"area": "rp_ZK89ba_area",
|
|
20432
20791
|
"grid": "rp_ZK89ba_grid",
|
|
20433
|
-
"toolbar": "rp_ZK89ba_toolbar",
|
|
20434
|
-
"actions": "rp_ZK89ba_actions",
|
|
20435
|
-
"title": "rp_ZK89ba_title",
|
|
20436
|
-
"description": "rp_ZK89ba_description",
|
|
20437
|
-
"editTitle": "rp_ZK89ba_editTitle",
|
|
20438
|
-
"sectionTitle": "rp_ZK89ba_sectionTitle",
|
|
20439
20792
|
"meta": "rp_ZK89ba_meta",
|
|
20793
|
+
"editHeader": "rp_ZK89ba_editHeader",
|
|
20440
20794
|
"warning": "rp_ZK89ba_warning",
|
|
20441
|
-
"
|
|
20795
|
+
"title": "rp_ZK89ba_title",
|
|
20796
|
+
"page": "rp_ZK89ba_page",
|
|
20797
|
+
"help": "rp_ZK89ba_help",
|
|
20798
|
+
"label": "rp_ZK89ba_label",
|
|
20442
20799
|
"message": "rp_ZK89ba_message",
|
|
20443
|
-
"
|
|
20444
|
-
"
|
|
20800
|
+
"count": "rp_ZK89ba_count",
|
|
20801
|
+
"name": "rp_ZK89ba_name",
|
|
20802
|
+
"sectionTitle": "rp_ZK89ba_sectionTitle",
|
|
20445
20803
|
"row": "rp_ZK89ba_row",
|
|
20446
|
-
"
|
|
20804
|
+
"form": "rp_ZK89ba_form",
|
|
20805
|
+
"input": "rp_ZK89ba_input"
|
|
20447
20806
|
};
|
|
20448
20807
|
// src/client/pages/presets/PresetEditor.tsx
|
|
20449
20808
|
const messageOf$6 = (failure) => failure instanceof Error ? failure.message : String(failure);
|
|
@@ -21763,7 +22122,7 @@ window.__ModuleLoader__.load({
|
|
|
21763
22122
|
"prompt_roleplay/style": "Estilo narrativo",
|
|
21764
22123
|
"prompt_roleplay/character-style": "Estilo das personagens"
|
|
21765
22124
|
}
|
|
21766
|
-
}, dictionaries$
|
|
22125
|
+
}, dictionaries$24), dictionaries$26);
|
|
21767
22126
|
// src/client/pages/presets/presets-controller.ts
|
|
21768
22127
|
const messageOf$4 = (error) => error instanceof Error ? error.message : String(error);
|
|
21769
22128
|
/** Reads the preset library from the host and makes, removes and opens its presets. */
|
|
@@ -21932,34 +22291,34 @@ window.__ModuleLoader__.load({
|
|
|
21932
22291
|
}
|
|
21933
22292
|
tag$28.textContent = css$28;
|
|
21934
22293
|
var PromptsPage_module_css_default = {
|
|
21935
|
-
"page": "rp_DLg_5G_page",
|
|
21936
|
-
"count": "rp_DLg_5G_count",
|
|
21937
|
-
"error": "rp_DLg_5G_error",
|
|
21938
|
-
"spacer": "rp_DLg_5G_spacer",
|
|
21939
|
-
"warning": "rp_DLg_5G_warning",
|
|
21940
|
-
"toolbar": "rp_DLg_5G_toolbar",
|
|
21941
22294
|
"editBody": "rp_DLg_5G_editBody",
|
|
22295
|
+
"rowName": "rp_DLg_5G_rowName",
|
|
22296
|
+
"list": "rp_DLg_5G_list",
|
|
22297
|
+
"page": "rp_DLg_5G_page",
|
|
22298
|
+
"sign": "rp_DLg_5G_sign",
|
|
21942
22299
|
"editHeader": "rp_DLg_5G_editHeader",
|
|
21943
|
-
"
|
|
21944
|
-
"
|
|
21945
|
-
"actions": "rp_DLg_5G_actions",
|
|
22300
|
+
"area": "rp_DLg_5G_area",
|
|
22301
|
+
"toolbar": "rp_DLg_5G_toolbar",
|
|
21946
22302
|
"panes": "rp_DLg_5G_panes",
|
|
21947
|
-
"
|
|
21948
|
-
"
|
|
22303
|
+
"shipped": "rp_DLg_5G_shipped",
|
|
22304
|
+
"label": "rp_DLg_5G_label",
|
|
21949
22305
|
"row": "rp_DLg_5G_row",
|
|
21950
|
-
"pane": "rp_DLg_5G_pane",
|
|
21951
|
-
"ok": "rp_DLg_5G_ok",
|
|
21952
|
-
"help": "rp_DLg_5G_help",
|
|
21953
|
-
"rowName": "rp_DLg_5G_rowName",
|
|
21954
|
-
"rowLanguage": "rp_DLg_5G_rowLanguage",
|
|
21955
|
-
"editTitle": "rp_DLg_5G_editTitle",
|
|
21956
22306
|
"viewport": "rp_DLg_5G_viewport",
|
|
21957
22307
|
"line": "rp_DLg_5G_line",
|
|
21958
|
-
"
|
|
21959
|
-
"sign": "rp_DLg_5G_sign",
|
|
21960
|
-
"label": "rp_DLg_5G_label",
|
|
22308
|
+
"help": "rp_DLg_5G_help",
|
|
21961
22309
|
"message": "rp_DLg_5G_message",
|
|
21962
|
-
"
|
|
22310
|
+
"warning": "rp_DLg_5G_warning",
|
|
22311
|
+
"ok": "rp_DLg_5G_ok",
|
|
22312
|
+
"missing": "rp_DLg_5G_missing",
|
|
22313
|
+
"rowLanguage": "rp_DLg_5G_rowLanguage",
|
|
22314
|
+
"error": "rp_DLg_5G_error",
|
|
22315
|
+
"spacer": "rp_DLg_5G_spacer",
|
|
22316
|
+
"actions": "rp_DLg_5G_actions",
|
|
22317
|
+
"check": "rp_DLg_5G_check",
|
|
22318
|
+
"editTitle": "rp_DLg_5G_editTitle",
|
|
22319
|
+
"pane": "rp_DLg_5G_pane",
|
|
22320
|
+
"count": "rp_DLg_5G_count",
|
|
22321
|
+
"group": "rp_DLg_5G_group"
|
|
21963
22322
|
};
|
|
21964
22323
|
// src/client/pages/prompts/PromptEditor.tsx
|
|
21965
22324
|
const messageOf$3 = (failure) => failure instanceof Error ? failure.message : String(failure);
|
|
@@ -22749,8 +23108,8 @@ window.__ModuleLoader__.load({
|
|
|
22749
23108
|
}
|
|
22750
23109
|
tag$27.textContent = css$27;
|
|
22751
23110
|
var Pager_module_css_default = {
|
|
22752
|
-
"
|
|
22753
|
-
"
|
|
23111
|
+
"pager": "rp_KBAD0W_pager",
|
|
23112
|
+
"position": "rp_KBAD0W_position"
|
|
22754
23113
|
};
|
|
22755
23114
|
// src/client/widgets/pager/Pager.tsx
|
|
22756
23115
|
/** Previous and next buttons around the current position; the owner supplies every label. */
|
|
@@ -22819,11 +23178,11 @@ window.__ModuleLoader__.load({
|
|
|
22819
23178
|
}
|
|
22820
23179
|
tag$25.textContent = css$25;
|
|
22821
23180
|
var DeleteSessionDialog_module_css_default = {
|
|
22822
|
-
"choice": "rp_FifHrW_choice",
|
|
22823
23181
|
"warning": "rp_FifHrW_warning",
|
|
22824
23182
|
"body": "rp_FifHrW_body",
|
|
22825
|
-
"
|
|
22826
|
-
"question": "rp_FifHrW_question"
|
|
23183
|
+
"choice": "rp_FifHrW_choice",
|
|
23184
|
+
"question": "rp_FifHrW_question",
|
|
23185
|
+
"error": "rp_FifHrW_error"
|
|
22827
23186
|
};
|
|
22828
23187
|
// src/client/pages/sessions/DeleteSessionDialog.tsx
|
|
22829
23188
|
/** Asks for confirmation before a session and everything saved with it is removed. */
|
|
@@ -23347,28 +23706,28 @@ window.__ModuleLoader__.load({
|
|
|
23347
23706
|
}
|
|
23348
23707
|
tag$24.textContent = css$24;
|
|
23349
23708
|
var SessionsPage_module_css_default = {
|
|
23350
|
-
"
|
|
23351
|
-
"
|
|
23352
|
-
"
|
|
23709
|
+
"page": "rp_24z4eW_page",
|
|
23710
|
+
"viewport": "rp_24z4eW_viewport",
|
|
23711
|
+
"number": "rp_24z4eW_number",
|
|
23353
23712
|
"count": "rp_24z4eW_count",
|
|
23354
|
-
"spinning": "rp_24z4eW_spinning",
|
|
23355
23713
|
"toolbar": "rp_24z4eW_toolbar",
|
|
23356
|
-
"turnsColumn": "rp_24z4eW_turnsColumn",
|
|
23357
|
-
"page": "rp_24z4eW_page",
|
|
23358
23714
|
"worldColumn": "rp_24z4eW_worldColumn",
|
|
23359
23715
|
"name": "rp_24z4eW_name",
|
|
23360
|
-
"number": "rp_24z4eW_number",
|
|
23361
|
-
"actions": "rp_24z4eW_actions",
|
|
23362
23716
|
"message": "rp_24z4eW_message",
|
|
23363
|
-
"
|
|
23717
|
+
"archived": "rp_24z4eW_archived",
|
|
23718
|
+
"badge": "rp_24z4eW_badge",
|
|
23719
|
+
"secondary": "rp_24z4eW_secondary",
|
|
23720
|
+
"timeColumn": "rp_24z4eW_timeColumn",
|
|
23721
|
+
"spinning": "rp_24z4eW_spinning",
|
|
23722
|
+
"spin": "rp_24z4eW_spin",
|
|
23723
|
+
"notice": "rp_24z4eW_notice",
|
|
23724
|
+
"table": "rp_24z4eW_table",
|
|
23364
23725
|
"fits": "rp_24z4eW_fits",
|
|
23365
23726
|
"actionsColumn": "rp_24z4eW_actionsColumn",
|
|
23366
|
-
"nameColumn": "rp_24z4eW_nameColumn",
|
|
23367
|
-
"archived": "rp_24z4eW_archived",
|
|
23368
23727
|
"scrolls": "rp_24z4eW_scrolls",
|
|
23369
|
-
"
|
|
23370
|
-
"
|
|
23371
|
-
"
|
|
23728
|
+
"actions": "rp_24z4eW_actions",
|
|
23729
|
+
"turnsColumn": "rp_24z4eW_turnsColumn",
|
|
23730
|
+
"nameColumn": "rp_24z4eW_nameColumn"
|
|
23372
23731
|
};
|
|
23373
23732
|
// src/client/pages/sessions/SessionsPage.tsx
|
|
23374
23733
|
/** The sessions as a table, one page at a time, the most recently played first. */
|
|
@@ -24107,29 +24466,29 @@ window.__ModuleLoader__.load({
|
|
|
24107
24466
|
}
|
|
24108
24467
|
tag$23.textContent = css$23;
|
|
24109
24468
|
var SyncPage_module_css_default = {
|
|
24110
|
-
"toolbar": "rp_Gk-byG_toolbar",
|
|
24111
|
-
"unitColumn": "rp_Gk-byG_unitColumn",
|
|
24112
|
-
"viewport": "rp_Gk-byG_viewport",
|
|
24113
|
-
"conflict": "rp_Gk-byG_conflict",
|
|
24114
|
-
"table": "rp_Gk-byG_table",
|
|
24115
|
-
"stateColumn": "rp_Gk-byG_stateColumn",
|
|
24116
|
-
"actionHeading": "rp_Gk-byG_actionHeading",
|
|
24117
|
-
"page": "rp_Gk-byG_page",
|
|
24118
24469
|
"kindColumn": "rp_Gk-byG_kindColumn",
|
|
24119
|
-
"
|
|
24470
|
+
"message": "rp_Gk-byG_message",
|
|
24471
|
+
"actions": "rp_Gk-byG_actions",
|
|
24472
|
+
"actionsColumn": "rp_Gk-byG_actionsColumn",
|
|
24473
|
+
"syncedColumn": "rp_Gk-byG_syncedColumn",
|
|
24474
|
+
"page": "rp_Gk-byG_page",
|
|
24475
|
+
"detailsColumn": "rp_Gk-byG_detailsColumn",
|
|
24476
|
+
"unitColumn": "rp_Gk-byG_unitColumn",
|
|
24120
24477
|
"failed": "rp_Gk-byG_failed",
|
|
24478
|
+
"unit": "rp_Gk-byG_unit",
|
|
24479
|
+
"detail": "rp_Gk-byG_detail",
|
|
24480
|
+
"toolbar": "rp_Gk-byG_toolbar",
|
|
24121
24481
|
"error": "rp_Gk-byG_error",
|
|
24122
|
-
"
|
|
24123
|
-
"
|
|
24482
|
+
"viewport": "rp_Gk-byG_viewport",
|
|
24483
|
+
"actionHeading": "rp_Gk-byG_actionHeading",
|
|
24124
24484
|
"choices": "rp_Gk-byG_choices",
|
|
24125
|
-
"
|
|
24126
|
-
"
|
|
24127
|
-
"detailsColumn": "rp_Gk-byG_detailsColumn",
|
|
24128
|
-
"actions": "rp_Gk-byG_actions",
|
|
24129
|
-
"message": "rp_Gk-byG_message",
|
|
24485
|
+
"table": "rp_Gk-byG_table",
|
|
24486
|
+
"confirmation": "rp_Gk-byG_confirmation",
|
|
24130
24487
|
"caption": "rp_Gk-byG_caption",
|
|
24131
|
-
"
|
|
24132
|
-
"
|
|
24488
|
+
"problem": "rp_Gk-byG_problem",
|
|
24489
|
+
"stateColumn": "rp_Gk-byG_stateColumn",
|
|
24490
|
+
"conflict": "rp_Gk-byG_conflict",
|
|
24491
|
+
"meta": "rp_Gk-byG_meta"
|
|
24133
24492
|
};
|
|
24134
24493
|
// src/client/pages/sync/SyncPage.tsx
|
|
24135
24494
|
const when = (iso, never, locale) => iso === void 0 ? never : new Date(iso).toLocaleString(locale);
|
|
@@ -24954,13 +25313,13 @@ window.__ModuleLoader__.load({
|
|
|
24954
25313
|
}
|
|
24955
25314
|
tag$22.textContent = css$22;
|
|
24956
25315
|
var Toast_module_css_default = {
|
|
24957
|
-
"rpToastEnter": "rp_jnVj9q_rpToastEnter",
|
|
24958
25316
|
"action": "rp_jnVj9q_action",
|
|
24959
25317
|
"prefix": "rp_jnVj9q_prefix",
|
|
24960
|
-
"fading": "rp_jnVj9q_fading",
|
|
24961
|
-
"success": "rp_jnVj9q_success",
|
|
24962
25318
|
"banner": "rp_jnVj9q_banner",
|
|
25319
|
+
"success": "rp_jnVj9q_success",
|
|
24963
25320
|
"text": "rp_jnVj9q_text",
|
|
25321
|
+
"fading": "rp_jnVj9q_fading",
|
|
25322
|
+
"rpToastEnter": "rp_jnVj9q_rpToastEnter",
|
|
24964
25323
|
"actionButton": "rp_jnVj9q_actionButton"
|
|
24965
25324
|
};
|
|
24966
25325
|
// src/client/ui/Toast.tsx
|
|
@@ -25030,16 +25389,16 @@ window.__ModuleLoader__.load({
|
|
|
25030
25389
|
}
|
|
25031
25390
|
tag$21.textContent = css$21;
|
|
25032
25391
|
var WorldCard_module_css_default = {
|
|
25033
|
-
"info": "rp_Bvxx5q_info",
|
|
25034
|
-
"openButton": "rp_Bvxx5q_openButton",
|
|
25035
|
-
"tag": "rp_Bvxx5q_tag",
|
|
25036
|
-
"card": "rp_Bvxx5q_card",
|
|
25037
|
-
"image": "rp_Bvxx5q_image",
|
|
25038
25392
|
"play": "rp_Bvxx5q_play",
|
|
25039
|
-
"
|
|
25040
|
-
"
|
|
25393
|
+
"card": "rp_Bvxx5q_card",
|
|
25394
|
+
"tag": "rp_Bvxx5q_tag",
|
|
25041
25395
|
"name": "rp_Bvxx5q_name",
|
|
25042
|
-
"tags": "rp_Bvxx5q_tags"
|
|
25396
|
+
"tags": "rp_Bvxx5q_tags",
|
|
25397
|
+
"openButton": "rp_Bvxx5q_openButton",
|
|
25398
|
+
"cover": "rp_Bvxx5q_cover",
|
|
25399
|
+
"info": "rp_Bvxx5q_info",
|
|
25400
|
+
"image": "rp_Bvxx5q_image",
|
|
25401
|
+
"placeholder": "rp_Bvxx5q_placeholder"
|
|
25043
25402
|
};
|
|
25044
25403
|
// src/client/widgets/world-card/WorldCard.tsx
|
|
25045
25404
|
/** Stable hue per name, so a world without a cover keeps the same colour. */
|
|
@@ -25136,10 +25495,10 @@ window.__ModuleLoader__.load({
|
|
|
25136
25495
|
}
|
|
25137
25496
|
tag$20.textContent = css$20;
|
|
25138
25497
|
var AvatarChoices_module_css_default = {
|
|
25498
|
+
"option": "rp_YCstOG_option",
|
|
25139
25499
|
"text": "rp_YCstOG_text",
|
|
25140
|
-
"summary": "rp_YCstOG_summary",
|
|
25141
25500
|
"name": "rp_YCstOG_name",
|
|
25142
|
-
"
|
|
25501
|
+
"summary": "rp_YCstOG_summary"
|
|
25143
25502
|
};
|
|
25144
25503
|
// src/client/widgets/avatar-choices/AvatarChoices.tsx
|
|
25145
25504
|
/** A list of avatars to tick: the ones brought into a world or a session. */
|
|
@@ -25177,18 +25536,18 @@ window.__ModuleLoader__.load({
|
|
|
25177
25536
|
}
|
|
25178
25537
|
tag$19.textContent = css$19;
|
|
25179
25538
|
var StartSessionDialog_module_css_default = {
|
|
25180
|
-
"
|
|
25181
|
-
"optionText": "rp_AnbLKG_optionText",
|
|
25539
|
+
"label": "rp_AnbLKG_label",
|
|
25182
25540
|
"form": "rp_AnbLKG_form",
|
|
25183
|
-
"advancedToggle": "rp_AnbLKG_advancedToggle",
|
|
25184
25541
|
"option": "rp_AnbLKG_option",
|
|
25542
|
+
"optionName": "rp_AnbLKG_optionName",
|
|
25543
|
+
"field": "rp_AnbLKG_field",
|
|
25185
25544
|
"error": "rp_AnbLKG_error",
|
|
25186
25545
|
"message": "rp_AnbLKG_message",
|
|
25187
|
-
"optionName": "rp_AnbLKG_optionName",
|
|
25188
|
-
"optionSummary": "rp_AnbLKG_optionSummary",
|
|
25189
25546
|
"advanced": "rp_AnbLKG_advanced",
|
|
25190
|
-
"
|
|
25191
|
-
"
|
|
25547
|
+
"advancedToggle": "rp_AnbLKG_advancedToggle",
|
|
25548
|
+
"advancedBody": "rp_AnbLKG_advancedBody",
|
|
25549
|
+
"optionSummary": "rp_AnbLKG_optionSummary",
|
|
25550
|
+
"optionText": "rp_AnbLKG_optionText"
|
|
25192
25551
|
};
|
|
25193
25552
|
// src/client/pages/worlds/AddAvatarsDialog.tsx
|
|
25194
25553
|
/** Asks which avatars become characters of a world's own files. */
|
|
@@ -26568,9 +26927,9 @@ window.__ModuleLoader__.load({
|
|
|
26568
26927
|
}
|
|
26569
26928
|
tag$18.textContent = css$18;
|
|
26570
26929
|
var SegmentedControl_module_css_default = {
|
|
26571
|
-
"rpControl": "rp_wN4Tqa_rpControl",
|
|
26572
26930
|
"rpIndicator": "rp_wN4Tqa_rpIndicator",
|
|
26573
|
-
"rpTab": "rp_wN4Tqa_rpTab"
|
|
26931
|
+
"rpTab": "rp_wN4Tqa_rpTab",
|
|
26932
|
+
"rpControl": "rp_wN4Tqa_rpControl"
|
|
26574
26933
|
};
|
|
26575
26934
|
// src/client/ui/walk.ts
|
|
26576
26935
|
/** Whether a key moves the selection inside a tablist. */
|
|
@@ -26663,14 +27022,14 @@ window.__ModuleLoader__.load({
|
|
|
26663
27022
|
}
|
|
26664
27023
|
tag$17.textContent = css$17;
|
|
26665
27024
|
var SettingsFields_module_css_default = {
|
|
26666
|
-
"help": "rp_Rhi3yq_help",
|
|
26667
|
-
"label": "rp_Rhi3yq_label",
|
|
26668
|
-
"area": "rp_Rhi3yq_area",
|
|
26669
|
-
"error": "rp_Rhi3yq_error",
|
|
26670
27025
|
"group": "rp_Rhi3yq_group",
|
|
26671
|
-
"row": "rp_Rhi3yq_row",
|
|
26672
27026
|
"field": "rp_Rhi3yq_field",
|
|
26673
|
-
"
|
|
27027
|
+
"row": "rp_Rhi3yq_row",
|
|
27028
|
+
"area": "rp_Rhi3yq_area",
|
|
27029
|
+
"label": "rp_Rhi3yq_label",
|
|
27030
|
+
"help": "rp_Rhi3yq_help",
|
|
27031
|
+
"groupTitle": "rp_Rhi3yq_groupTitle",
|
|
27032
|
+
"error": "rp_Rhi3yq_error"
|
|
26674
27033
|
};
|
|
26675
27034
|
// src/client/settings-form/SettingsFields.tsx
|
|
26676
27035
|
/** The settings of a chat as editable fields: one control with its explanation under each. */
|
|
@@ -26977,9 +27336,9 @@ window.__ModuleLoader__.load({
|
|
|
26977
27336
|
tag$16.textContent = css$16;
|
|
26978
27337
|
var TranslateBanner_module_css_default = {
|
|
26979
27338
|
"banner": "rp_Lx8vJa_banner",
|
|
26980
|
-
"text": "rp_Lx8vJa_text",
|
|
26981
27339
|
"bannerActions": "rp_Lx8vJa_bannerActions",
|
|
26982
|
-
"error": "rp_Lx8vJa_error"
|
|
27340
|
+
"error": "rp_Lx8vJa_error",
|
|
27341
|
+
"text": "rp_Lx8vJa_text"
|
|
26983
27342
|
};
|
|
26984
27343
|
// src/client/pages/worlds/TranslateBanner.tsx
|
|
26985
27344
|
/** A language by name in the person's own language; the two the plugin has texts for use them, any other is named by the browser. */
|
|
@@ -27614,26 +27973,26 @@ window.__ModuleLoader__.load({
|
|
|
27614
27973
|
}
|
|
27615
27974
|
tag$15.textContent = css$15;
|
|
27616
27975
|
var WorldsPage_module_css_default = {
|
|
27976
|
+
"editTitle": "rp_FHUyRq_editTitle",
|
|
27977
|
+
"editActions": "rp_FHUyRq_editActions",
|
|
27617
27978
|
"starter": "rp_FHUyRq_starter",
|
|
27979
|
+
"toolbar": "rp_FHUyRq_toolbar",
|
|
27618
27980
|
"editBody": "rp_FHUyRq_editBody",
|
|
27619
|
-
"page": "rp_FHUyRq_page",
|
|
27620
|
-
"cell": "rp_FHUyRq_cell",
|
|
27621
|
-
"fits": "rp_FHUyRq_fits",
|
|
27622
|
-
"viewport": "rp_FHUyRq_viewport",
|
|
27623
|
-
"info": "rp_FHUyRq_info",
|
|
27624
|
-
"scrolls": "rp_FHUyRq_scrolls",
|
|
27625
27981
|
"grid": "rp_FHUyRq_grid",
|
|
27626
|
-
"toolbar": "rp_FHUyRq_toolbar",
|
|
27627
|
-
"message": "rp_FHUyRq_message",
|
|
27628
|
-
"notice": "rp_FHUyRq_notice",
|
|
27629
|
-
"spin": "rp_FHUyRq_spin",
|
|
27630
|
-
"toolbarActions": "rp_FHUyRq_toolbarActions",
|
|
27631
27982
|
"spinning": "rp_FHUyRq_spinning",
|
|
27983
|
+
"fits": "rp_FHUyRq_fits",
|
|
27984
|
+
"message": "rp_FHUyRq_message",
|
|
27632
27985
|
"editHeader": "rp_FHUyRq_editHeader",
|
|
27633
|
-
"
|
|
27634
|
-
"editTitle": "rp_FHUyRq_editTitle",
|
|
27986
|
+
"toolbarActions": "rp_FHUyRq_toolbarActions",
|
|
27635
27987
|
"count": "rp_FHUyRq_count",
|
|
27636
|
-
"
|
|
27988
|
+
"info": "rp_FHUyRq_info",
|
|
27989
|
+
"cell": "rp_FHUyRq_cell",
|
|
27990
|
+
"page": "rp_FHUyRq_page",
|
|
27991
|
+
"viewport": "rp_FHUyRq_viewport",
|
|
27992
|
+
"scrolls": "rp_FHUyRq_scrolls",
|
|
27993
|
+
"starters": "rp_FHUyRq_starters",
|
|
27994
|
+
"spin": "rp_FHUyRq_spin",
|
|
27995
|
+
"notice": "rp_FHUyRq_notice"
|
|
27637
27996
|
};
|
|
27638
27997
|
// src/client/pages/worlds/StarterWorlds.tsx
|
|
27639
27998
|
/** The worlds that ship with the plugin and are not yet the person's, offered where the list of worlds is empty. */
|
|
@@ -31928,7 +32287,7 @@ window.__ModuleLoader__.load({
|
|
|
31928
32287
|
startAvatars: "Levar avatares",
|
|
31929
32288
|
startAvatarsHelp: "Selecione os avatares que pretende levar para esta sessão como personagens; também pode interpretá-los. O mundo não é alterado."
|
|
31930
32289
|
}
|
|
31931
|
-
}, dictionaries$9), dictionaries$16), dictionaries$
|
|
32290
|
+
}, dictionaries$9), dictionaries$16), dictionaries$26), dictionaries$27);
|
|
31932
32291
|
// src/client/pages/worlds/worlds-controller.ts
|
|
31933
32292
|
async function request$1(path, init, signal) {
|
|
31934
32293
|
const response = await fetch(`${API_PREFIX}${path}`, {
|
|
@@ -32298,10 +32657,10 @@ window.__ModuleLoader__.load({
|
|
|
32298
32657
|
}
|
|
32299
32658
|
tag$14.textContent = css$14;
|
|
32300
32659
|
var BranchDialog_module_css_default = {
|
|
32301
|
-
"
|
|
32302
|
-
"label": "rp_Dy1TaW_label",
|
|
32660
|
+
"error": "rp_Dy1TaW_error",
|
|
32303
32661
|
"form": "rp_Dy1TaW_form",
|
|
32304
|
-
"
|
|
32662
|
+
"label": "rp_Dy1TaW_label",
|
|
32663
|
+
"field": "rp_Dy1TaW_field"
|
|
32305
32664
|
};
|
|
32306
32665
|
// src/client/branch/BranchDialog.tsx
|
|
32307
32666
|
/** Asks for the name of a session that was just branched off another. */
|
|
@@ -32479,12 +32838,12 @@ window.__ModuleLoader__.load({
|
|
|
32479
32838
|
}
|
|
32480
32839
|
tag$13.textContent = css$13;
|
|
32481
32840
|
var SidebarGuideEntry_module_css_default = {
|
|
32482
|
-
"entry": "rp_Okaj1q_entry",
|
|
32483
|
-
"icon": "rp_Okaj1q_icon",
|
|
32484
|
-
"text": "rp_Okaj1q_text",
|
|
32485
32841
|
"description": "rp_Okaj1q_description",
|
|
32486
32842
|
"title": "rp_Okaj1q_title",
|
|
32487
|
-
"
|
|
32843
|
+
"entry": "rp_Okaj1q_entry",
|
|
32844
|
+
"main": "rp_Okaj1q_main",
|
|
32845
|
+
"icon": "rp_Okaj1q_icon",
|
|
32846
|
+
"text": "rp_Okaj1q_text"
|
|
32488
32847
|
};
|
|
32489
32848
|
// src/client/widgets/sidebar-guide/SidebarGuideEntry.tsx
|
|
32490
32849
|
/** A card of the right sidebar's new-tab guide, drawn like DSH's own entries. */
|
|
@@ -32587,7 +32946,7 @@ window.__ModuleLoader__.load({
|
|
|
32587
32946
|
/** The gallery: a page of the right sidebar, so the pictures can be browsed while the story is read. */
|
|
32588
32947
|
function registerGallery(ctx) {
|
|
32589
32948
|
const t = ctx.locale.bind(NAMESPACE$7);
|
|
32590
|
-
ctx.effect(() => ctx.locale.register(NAMESPACE$7, dictionaries$
|
|
32949
|
+
ctx.effect(() => ctx.locale.register(NAMESPACE$7, dictionaries$22), "roleplay: gallery dictionaries");
|
|
32591
32950
|
ctx.inject(["sidebarRight", "sidebarRightTabs"], (right) => {
|
|
32592
32951
|
right.effect(() => right.sidebarRightTabs.register({
|
|
32593
32952
|
id: GALLERY_ID,
|
|
@@ -32950,17 +33309,17 @@ window.__ModuleLoader__.load({
|
|
|
32950
33309
|
}
|
|
32951
33310
|
tag$11.textContent = css$11;
|
|
32952
33311
|
var SidebarPage_module_css_default = {
|
|
32953
|
-
"
|
|
32954
|
-
"
|
|
32955
|
-
"
|
|
32956
|
-
"icon": "rp_Ptco8a_icon",
|
|
33312
|
+
"message": "rp_Ptco8a_message",
|
|
33313
|
+
"name": "rp_Ptco8a_name",
|
|
33314
|
+
"entry": "rp_Ptco8a_entry",
|
|
32957
33315
|
"text": "rp_Ptco8a_text",
|
|
32958
33316
|
"title": "rp_Ptco8a_title",
|
|
32959
|
-
"
|
|
32960
|
-
"
|
|
32961
|
-
"name": "rp_Ptco8a_name",
|
|
33317
|
+
"bar": "rp_Ptco8a_bar",
|
|
33318
|
+
"page": "rp_Ptco8a_page",
|
|
32962
33319
|
"description": "rp_Ptco8a_description",
|
|
32963
|
-
"
|
|
33320
|
+
"content": "rp_Ptco8a_content",
|
|
33321
|
+
"main": "rp_Ptco8a_main",
|
|
33322
|
+
"icon": "rp_Ptco8a_icon"
|
|
32964
33323
|
};
|
|
32965
33324
|
// src/client/interface/SidebarPage.tsx
|
|
32966
33325
|
/** The kind of the tab type, and the identity it registers its card and body under. */
|
|
@@ -33589,24 +33948,24 @@ window.__ModuleLoader__.load({
|
|
|
33589
33948
|
}
|
|
33590
33949
|
tag$10.textContent = css$10;
|
|
33591
33950
|
var RecallTab_module_css_default = {
|
|
33592
|
-
"
|
|
33593
|
-
"list": "rp_jl9CIq_list",
|
|
33594
|
-
"bar": "rp_jl9CIq_bar",
|
|
33595
|
-
"form": "rp_jl9CIq_form",
|
|
33596
|
-
"actions": "rp_jl9CIq_actions",
|
|
33951
|
+
"body": "rp_jl9CIq_body",
|
|
33597
33952
|
"place": "rp_jl9CIq_place",
|
|
33953
|
+
"label": "rp_jl9CIq_label",
|
|
33598
33954
|
"meta": "rp_jl9CIq_meta",
|
|
33599
|
-
"body": "rp_jl9CIq_body",
|
|
33600
|
-
"field": "rp_jl9CIq_field",
|
|
33601
|
-
"area": "rp_jl9CIq_area",
|
|
33602
33955
|
"heading": "rp_jl9CIq_heading",
|
|
33603
|
-
"page": "rp_jl9CIq_page",
|
|
33604
33956
|
"error": "rp_jl9CIq_error",
|
|
33957
|
+
"form": "rp_jl9CIq_form",
|
|
33958
|
+
"list": "rp_jl9CIq_list",
|
|
33605
33959
|
"person": "rp_jl9CIq_person",
|
|
33960
|
+
"page": "rp_jl9CIq_page",
|
|
33961
|
+
"item": "rp_jl9CIq_item",
|
|
33962
|
+
"actions": "rp_jl9CIq_actions",
|
|
33963
|
+
"hint": "rp_jl9CIq_hint",
|
|
33606
33964
|
"name": "rp_jl9CIq_name",
|
|
33965
|
+
"bar": "rp_jl9CIq_bar",
|
|
33607
33966
|
"note": "rp_jl9CIq_note",
|
|
33608
|
-
"
|
|
33609
|
-
"
|
|
33967
|
+
"field": "rp_jl9CIq_field",
|
|
33968
|
+
"area": "rp_jl9CIq_area"
|
|
33610
33969
|
};
|
|
33611
33970
|
// src/client/recall/RecallTab.tsx
|
|
33612
33971
|
/** The kind of the tab type, and the identity it registers its card and body under. */
|
|
@@ -34462,11 +34821,11 @@ window.__ModuleLoader__.load({
|
|
|
34462
34821
|
}
|
|
34463
34822
|
tag$9.textContent = css$9;
|
|
34464
34823
|
var ReferenceTab_module_css_default = {
|
|
34465
|
-
"body": "rp_7BGO2a_body",
|
|
34466
|
-
"message": "rp_7BGO2a_message",
|
|
34467
|
-
"page": "rp_7BGO2a_page",
|
|
34468
34824
|
"bar": "rp_7BGO2a_bar",
|
|
34469
|
-
"nav": "rp_7BGO2a_nav"
|
|
34825
|
+
"nav": "rp_7BGO2a_nav",
|
|
34826
|
+
"message": "rp_7BGO2a_message",
|
|
34827
|
+
"body": "rp_7BGO2a_body",
|
|
34828
|
+
"page": "rp_7BGO2a_page"
|
|
34470
34829
|
};
|
|
34471
34830
|
// src/client/reference/ReferenceTab.tsx
|
|
34472
34831
|
/** The kind of the tab type, and the identity it registers its card and body under. */
|
|
@@ -34586,28 +34945,28 @@ window.__ModuleLoader__.load({
|
|
|
34586
34945
|
}
|
|
34587
34946
|
tag$8.textContent = css$8;
|
|
34588
34947
|
var Page_module_css_default = {
|
|
34589
|
-
"
|
|
34590
|
-
"
|
|
34591
|
-
"
|
|
34592
|
-
"text": "rp_bG1sCa_text",
|
|
34593
|
-
"tag": "rp_bG1sCa_tag",
|
|
34594
|
-
"link": "rp_bG1sCa_link",
|
|
34948
|
+
"notes": "rp_bG1sCa_notes",
|
|
34949
|
+
"map": "rp_bG1sCa_map",
|
|
34950
|
+
"sub": "rp_bG1sCa_sub",
|
|
34595
34951
|
"message": "rp_bG1sCa_message",
|
|
34596
|
-
"way": "rp_bG1sCa_way",
|
|
34597
|
-
"head": "rp_bG1sCa_head",
|
|
34598
34952
|
"name": "rp_bG1sCa_name",
|
|
34599
|
-
"place": "rp_bG1sCa_place",
|
|
34600
34953
|
"closedWay": "rp_bG1sCa_closedWay",
|
|
34601
|
-
"
|
|
34602
|
-
"title": "rp_bG1sCa_title",
|
|
34603
|
-
"here": "rp_bG1sCa_here",
|
|
34604
|
-
"notes": "rp_bG1sCa_notes",
|
|
34954
|
+
"place": "rp_bG1sCa_place",
|
|
34605
34955
|
"placeName": "rp_bG1sCa_placeName",
|
|
34606
|
-
"
|
|
34607
|
-
"
|
|
34956
|
+
"way": "rp_bG1sCa_way",
|
|
34957
|
+
"journal": "rp_bG1sCa_journal",
|
|
34608
34958
|
"block": "rp_bG1sCa_block",
|
|
34959
|
+
"tag": "rp_bG1sCa_tag",
|
|
34960
|
+
"link": "rp_bG1sCa_link",
|
|
34961
|
+
"list": "rp_bG1sCa_list",
|
|
34962
|
+
"here": "rp_bG1sCa_here",
|
|
34963
|
+
"entry": "rp_bG1sCa_entry",
|
|
34964
|
+
"meta": "rp_bG1sCa_meta",
|
|
34965
|
+
"opened": "rp_bG1sCa_opened",
|
|
34966
|
+
"head": "rp_bG1sCa_head",
|
|
34967
|
+
"text": "rp_bG1sCa_text",
|
|
34609
34968
|
"heading": "rp_bG1sCa_heading",
|
|
34610
|
-
"
|
|
34969
|
+
"title": "rp_bG1sCa_title"
|
|
34611
34970
|
};
|
|
34612
34971
|
// src/client/reference/sections/Journal.tsx
|
|
34613
34972
|
/** How long typing pauses before the notes are saved. */
|
|
@@ -35704,27 +36063,27 @@ window.__ModuleLoader__.load({
|
|
|
35704
36063
|
tag$7.textContent = css$7;
|
|
35705
36064
|
var ChatSettingsView_module_css_default = {
|
|
35706
36065
|
"message": "rp_wLpbxW_message",
|
|
35707
|
-
"label": "rp_wLpbxW_label",
|
|
35708
|
-
"select": "rp_wLpbxW_select",
|
|
35709
36066
|
"description": "rp_wLpbxW_description",
|
|
35710
|
-
"saved": "rp_wLpbxW_saved",
|
|
35711
|
-
"table": "rp_wLpbxW_table",
|
|
35712
|
-
"activity": "rp_wLpbxW_activity",
|
|
35713
|
-
"tableViewport": "rp_wLpbxW_tableViewport",
|
|
35714
|
-
"row": "rp_wLpbxW_row",
|
|
35715
|
-
"field": "rp_wLpbxW_field",
|
|
35716
36067
|
"list": "rp_wLpbxW_list",
|
|
35717
36068
|
"help": "rp_wLpbxW_help",
|
|
36069
|
+
"tableViewport": "rp_wLpbxW_tableViewport",
|
|
36070
|
+
"label": "rp_wLpbxW_label",
|
|
36071
|
+
"view": "rp_wLpbxW_view",
|
|
36072
|
+
"run": "rp_wLpbxW_run",
|
|
36073
|
+
"pre": "rp_wLpbxW_pre",
|
|
35718
36074
|
"error": "rp_wLpbxW_error",
|
|
35719
|
-
"
|
|
35720
|
-
"notice": "rp_wLpbxW_notice",
|
|
36075
|
+
"saved": "rp_wLpbxW_saved",
|
|
35721
36076
|
"activityBody": "rp_wLpbxW_activityBody",
|
|
35722
|
-
"
|
|
36077
|
+
"field": "rp_wLpbxW_field",
|
|
35723
36078
|
"actions": "rp_wLpbxW_actions",
|
|
35724
|
-
"
|
|
35725
|
-
"
|
|
36079
|
+
"activity": "rp_wLpbxW_activity",
|
|
36080
|
+
"title": "rp_wLpbxW_title",
|
|
36081
|
+
"notice": "rp_wLpbxW_notice",
|
|
36082
|
+
"table": "rp_wLpbxW_table",
|
|
35726
36083
|
"reasons": "rp_wLpbxW_reasons",
|
|
35727
|
-
"
|
|
36084
|
+
"row": "rp_wLpbxW_row",
|
|
36085
|
+
"select": "rp_wLpbxW_select",
|
|
36086
|
+
"link": "rp_wLpbxW_link"
|
|
35728
36087
|
};
|
|
35729
36088
|
// src/client/chat-settings/settings-api.ts
|
|
35730
36089
|
/** The chat is not a roleplay session, so it has no settings. */
|
|
@@ -40100,7 +40459,7 @@ window.__ModuleLoader__.load({
|
|
|
40100
40459
|
saved: "Guardado.",
|
|
40101
40460
|
saveFailed: "Não foi possível guardar os ajustes: {message}"
|
|
40102
40461
|
}
|
|
40103
|
-
}, dictionaries$9), dictionaries$
|
|
40462
|
+
}, dictionaries$9), dictionaries$23), dictionaries$3);
|
|
40104
40463
|
// src/client/chat-settings/index.ts
|
|
40105
40464
|
const NAMESPACE$2 = "roleplay.chatSettings";
|
|
40106
40465
|
const VIEW_ID = "roleplay-settings";
|
|
@@ -40141,12 +40500,12 @@ window.__ModuleLoader__.load({
|
|
|
40141
40500
|
}
|
|
40142
40501
|
tag$6.textContent = css$6;
|
|
40143
40502
|
var SettingsForm_module_css_default = {
|
|
40144
|
-
"footer": "rp_eL0Ehq_footer",
|
|
40145
|
-
"failed": "rp_eL0Ehq_failed",
|
|
40146
40503
|
"form": "rp_eL0Ehq_form",
|
|
40147
|
-
"
|
|
40504
|
+
"failed": "rp_eL0Ehq_failed",
|
|
40148
40505
|
"save": "rp_eL0Ehq_save",
|
|
40149
|
-
"unavailable": "rp_eL0Ehq_unavailable"
|
|
40506
|
+
"unavailable": "rp_eL0Ehq_unavailable",
|
|
40507
|
+
"footer": "rp_eL0Ehq_footer",
|
|
40508
|
+
"readOnly": "rp_eL0Ehq_readOnly"
|
|
40150
40509
|
};
|
|
40151
40510
|
// src/client/ui/SettingsForm.tsx
|
|
40152
40511
|
/**
|
|
@@ -40203,17 +40562,17 @@ window.__ModuleLoader__.load({
|
|
|
40203
40562
|
}
|
|
40204
40563
|
tag$5.textContent = css$5;
|
|
40205
40564
|
var SettingsValueField_module_css_default = {
|
|
40206
|
-
"
|
|
40207
|
-
"reset": "rp_AFBKEG_reset",
|
|
40208
|
-
"field": "rp_AFBKEG_field",
|
|
40565
|
+
"head": "rp_AFBKEG_head",
|
|
40209
40566
|
"label": "rp_AFBKEG_label",
|
|
40567
|
+
"reset": "rp_AFBKEG_reset",
|
|
40210
40568
|
"helpButton": "rp_AFBKEG_helpButton",
|
|
40211
40569
|
"input": "rp_AFBKEG_input",
|
|
40570
|
+
"help": "rp_AFBKEG_help",
|
|
40212
40571
|
"hint": "rp_AFBKEG_hint",
|
|
40572
|
+
"badges": "rp_AFBKEG_badges",
|
|
40573
|
+
"field": "rp_AFBKEG_field",
|
|
40213
40574
|
"labelGroup": "rp_AFBKEG_labelGroup",
|
|
40214
|
-
"invalid": "rp_AFBKEG_invalid"
|
|
40215
|
-
"head": "rp_AFBKEG_head",
|
|
40216
|
-
"help": "rp_AFBKEG_help"
|
|
40575
|
+
"invalid": "rp_AFBKEG_invalid"
|
|
40217
40576
|
};
|
|
40218
40577
|
// src/client/ui/SettingsValueField.tsx
|
|
40219
40578
|
/**
|
|
@@ -40299,16 +40658,16 @@ window.__ModuleLoader__.load({
|
|
|
40299
40658
|
}
|
|
40300
40659
|
tag$4.textContent = css$4;
|
|
40301
40660
|
var CatalogueSettings_module_css_default = {
|
|
40302
|
-
"label": "rp_KPhXDa_label",
|
|
40303
40661
|
"row": "rp_KPhXDa_row",
|
|
40304
|
-
"keyArea": "rp_KPhXDa_keyArea",
|
|
40305
|
-
"section": "rp_KPhXDa_section",
|
|
40306
|
-
"field": "rp_KPhXDa_field",
|
|
40307
|
-
"actions": "rp_KPhXDa_actions",
|
|
40308
|
-
"hint": "rp_KPhXDa_hint",
|
|
40309
40662
|
"keyHint": "rp_KPhXDa_keyHint",
|
|
40663
|
+
"problem": "rp_KPhXDa_problem",
|
|
40310
40664
|
"title": "rp_KPhXDa_title",
|
|
40311
|
-
"
|
|
40665
|
+
"field": "rp_KPhXDa_field",
|
|
40666
|
+
"label": "rp_KPhXDa_label",
|
|
40667
|
+
"keyArea": "rp_KPhXDa_keyArea",
|
|
40668
|
+
"actions": "rp_KPhXDa_actions",
|
|
40669
|
+
"section": "rp_KPhXDa_section",
|
|
40670
|
+
"hint": "rp_KPhXDa_hint"
|
|
40312
40671
|
};
|
|
40313
40672
|
// src/client/settings/AuthoringToolSettings.tsx
|
|
40314
40673
|
const boardOf = (text) => {
|
|
@@ -40548,18 +40907,18 @@ window.__ModuleLoader__.load({
|
|
|
40548
40907
|
}
|
|
40549
40908
|
tag$3.textContent = css$3;
|
|
40550
40909
|
var AssistantSettings_module_css_default = {
|
|
40551
|
-
"
|
|
40910
|
+
"head": "rp_ZwzM4q_head",
|
|
40552
40911
|
"fieldHint": "rp_ZwzM4q_fieldHint",
|
|
40553
|
-
"select": "rp_ZwzM4q_select",
|
|
40554
40912
|
"invalid": "rp_ZwzM4q_invalid",
|
|
40555
|
-
"head": "rp_ZwzM4q_head",
|
|
40556
|
-
"label": "rp_ZwzM4q_label",
|
|
40557
|
-
"section": "rp_ZwzM4q_section",
|
|
40558
40913
|
"fields": "rp_ZwzM4q_fields",
|
|
40559
|
-
"badges": "rp_ZwzM4q_badges",
|
|
40560
40914
|
"reset": "rp_ZwzM4q_reset",
|
|
40915
|
+
"select": "rp_ZwzM4q_select",
|
|
40916
|
+
"section": "rp_ZwzM4q_section",
|
|
40917
|
+
"hint": "rp_ZwzM4q_hint",
|
|
40561
40918
|
"field": "rp_ZwzM4q_field",
|
|
40562
|
-
"
|
|
40919
|
+
"badges": "rp_ZwzM4q_badges",
|
|
40920
|
+
"label": "rp_ZwzM4q_label",
|
|
40921
|
+
"title": "rp_ZwzM4q_title"
|
|
40563
40922
|
};
|
|
40564
40923
|
// src/client/settings/AssistantSettings.tsx
|
|
40565
40924
|
function ChoiceField({ t, spec, state, disabled, onEdit, onReset }) {
|
|
@@ -42995,28 +43354,28 @@ window.__ModuleLoader__.load({
|
|
|
42995
43354
|
}
|
|
42996
43355
|
tag$2.textContent = css$2;
|
|
42997
43356
|
var NarrationView_module_css_default = {
|
|
42998
|
-
"
|
|
42999
|
-
"line": "rp_NFPimG_line",
|
|
43000
|
-
"imageButton": "rp_NFPimG_imageButton",
|
|
43001
|
-
"dice": "rp_NFPimG_dice",
|
|
43002
|
-
"oocRefused": "rp_NFPimG_oocRefused",
|
|
43003
|
-
"avatar": "rp_NFPimG_avatar",
|
|
43004
|
-
"diceList": "rp_NFPimG_diceList",
|
|
43005
|
-
"oocLabel": "rp_NFPimG_oocLabel",
|
|
43006
|
-
"images": "rp_NFPimG_images",
|
|
43007
|
-
"narration": "rp_NFPimG_narration",
|
|
43008
|
-
"imageError": "rp_NFPimG_imageError",
|
|
43009
|
-
"speech": "rp_NFPimG_speech",
|
|
43357
|
+
"oocNote": "rp_NFPimG_oocNote",
|
|
43010
43358
|
"words": "rp_NFPimG_words",
|
|
43011
|
-
"
|
|
43012
|
-
"playAll": "rp_NFPimG_playAll",
|
|
43359
|
+
"images": "rp_NFPimG_images",
|
|
43013
43360
|
"name": "rp_NFPimG_name",
|
|
43014
|
-
"
|
|
43361
|
+
"line": "rp_NFPimG_line",
|
|
43015
43362
|
"sceneImage": "rp_NFPimG_sceneImage",
|
|
43016
|
-
"note": "rp_NFPimG_note",
|
|
43017
43363
|
"preview": "rp_NFPimG_preview",
|
|
43364
|
+
"output": "rp_NFPimG_output",
|
|
43365
|
+
"playAll": "rp_NFPimG_playAll",
|
|
43366
|
+
"speech": "rp_NFPimG_speech",
|
|
43018
43367
|
"diceSummary": "rp_NFPimG_diceSummary",
|
|
43019
|
-
"
|
|
43368
|
+
"dice": "rp_NFPimG_dice",
|
|
43369
|
+
"oocLabel": "rp_NFPimG_oocLabel",
|
|
43370
|
+
"diceList": "rp_NFPimG_diceList",
|
|
43371
|
+
"note": "rp_NFPimG_note",
|
|
43372
|
+
"playLine": "rp_NFPimG_playLine",
|
|
43373
|
+
"narration": "rp_NFPimG_narration",
|
|
43374
|
+
"oocRefused": "rp_NFPimG_oocRefused",
|
|
43375
|
+
"imageError": "rp_NFPimG_imageError",
|
|
43376
|
+
"imageStatus": "rp_NFPimG_imageStatus",
|
|
43377
|
+
"avatar": "rp_NFPimG_avatar",
|
|
43378
|
+
"imageButton": "rp_NFPimG_imageButton"
|
|
43020
43379
|
};
|
|
43021
43380
|
// src/client/transcript/PreviewNode.tsx
|
|
43022
43381
|
/**
|
|
@@ -43280,11 +43639,11 @@ window.__ModuleLoader__.load({
|
|
|
43280
43639
|
}
|
|
43281
43640
|
tag$1.textContent = css$1;
|
|
43282
43641
|
var SuggestionsDock_module_css_default = {
|
|
43283
|
-
"card": "rp_rWH4DG_card",
|
|
43284
|
-
"lines": "rp_rWH4DG_lines",
|
|
43285
43642
|
"chip": "rp_rWH4DG_chip",
|
|
43286
43643
|
"dock": "rp_rWH4DG_dock",
|
|
43287
|
-
"label": "rp_rWH4DG_label"
|
|
43644
|
+
"label": "rp_rWH4DG_label",
|
|
43645
|
+
"card": "rp_rWH4DG_card",
|
|
43646
|
+
"lines": "rp_rWH4DG_lines"
|
|
43288
43647
|
};
|
|
43289
43648
|
// src/client/transcript/SuggestionsDock.tsx
|
|
43290
43649
|
/** The suggestions are made after the output is shown, so they are asked for until they are there. */
|
|
@@ -43444,16 +43803,16 @@ window.__ModuleLoader__.load({
|
|
|
43444
43803
|
}
|
|
43445
43804
|
tag.textContent = css;
|
|
43446
43805
|
var TurnsDock_module_css_default = {
|
|
43447
|
-
"button": "rp_f4YLlq_button",
|
|
43448
43806
|
"comparisonHead": "rp_f4YLlq_comparisonHead",
|
|
43449
|
-
"
|
|
43450
|
-
"comparisonSubject": "rp_f4YLlq_comparisonSubject",
|
|
43451
|
-
"count": "rp_f4YLlq_count",
|
|
43452
|
-
"error": "rp_f4YLlq_error",
|
|
43807
|
+
"select": "rp_f4YLlq_select",
|
|
43453
43808
|
"comparisonLine": "rp_f4YLlq_comparisonLine",
|
|
43454
43809
|
"group": "rp_f4YLlq_group",
|
|
43810
|
+
"comparisonSubject": "rp_f4YLlq_comparisonSubject",
|
|
43811
|
+
"button": "rp_f4YLlq_button",
|
|
43812
|
+
"comparison": "rp_f4YLlq_comparison",
|
|
43455
43813
|
"dock": "rp_f4YLlq_dock",
|
|
43456
|
-
"
|
|
43814
|
+
"error": "rp_f4YLlq_error",
|
|
43815
|
+
"count": "rp_f4YLlq_count"
|
|
43457
43816
|
};
|
|
43458
43817
|
// src/client/transcript/withdrawn.ts
|
|
43459
43818
|
/** The rows of the transcript that belong to turns the story is not at, by the key DSH gives each row. */
|