@kuncat/avoidant 0.2.4 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. package/README.md +25 -16
  2. package/dist/components/AvoidantGame.svelte +744 -457
  3. package/dist/components/AvoidantGame.svelte.d.ts +2 -1
  4. package/dist/components/GameHistory.svelte +103 -0
  5. package/dist/components/GameHistory.svelte.d.ts +8 -0
  6. package/dist/components/MapIcon.svelte +40 -0
  7. package/dist/components/MapIcon.svelte.d.ts +7 -0
  8. package/dist/components/MatchResults.svelte +28 -0
  9. package/dist/components/MatchResults.svelte.d.ts +7 -0
  10. package/dist/components/MultiplayerGame.svelte +504 -0
  11. package/dist/components/MultiplayerGame.svelte.d.ts +11 -0
  12. package/dist/components/OptionHelp.svelte +96 -0
  13. package/dist/components/OptionHelp.svelte.d.ts +7 -0
  14. package/dist/components/ScoreSummary.svelte +43 -0
  15. package/dist/components/ScoreSummary.svelte.d.ts +8 -0
  16. package/dist/components/board.svelte +54 -5
  17. package/dist/components/board.svelte.d.ts +4 -2
  18. package/dist/components/fragment.glsl +34 -0
  19. package/dist/index.d.ts +1 -0
  20. package/dist/multiplayer/client.d.ts +23 -0
  21. package/dist/multiplayer/client.js +119 -0
  22. package/dist/multiplayer/duration.d.ts +1 -0
  23. package/dist/multiplayer/duration.js +6 -0
  24. package/dist/multiplayer/invitations.d.ts +2 -0
  25. package/dist/multiplayer/invitations.js +23 -0
  26. package/dist/multiplayer/local-identity.d.ts +1 -0
  27. package/dist/multiplayer/local-identity.js +13 -0
  28. package/dist/multiplayer/maps.json +275 -0
  29. package/dist/multiplayer/reveal.d.ts +11 -0
  30. package/dist/multiplayer/reveal.js +16 -0
  31. package/dist/multiplayer/types.d.ts +80 -0
  32. package/dist/multiplayer/types.js +10 -0
  33. package/dist/paraglide/messages/_index.d.ts +103 -1
  34. package/dist/paraglide/messages/_index.js +104 -2
  35. package/dist/paraglide/messages/action_copied.d.ts +16 -0
  36. package/dist/paraglide/messages/action_copied.js +29 -0
  37. package/dist/paraglide/messages/action_copy_invitation.d.ts +16 -0
  38. package/dist/paraglide/messages/action_copy_invitation.js +29 -0
  39. package/dist/paraglide/messages/action_download_replay.d.ts +16 -0
  40. package/dist/paraglide/messages/action_download_replay.js +29 -0
  41. package/dist/paraglide/messages/{field_relay_servers.d.ts → action_game_history.d.ts} +5 -5
  42. package/dist/paraglide/messages/action_game_history.js +29 -0
  43. package/dist/paraglide/messages/action_load_more.d.ts +16 -0
  44. package/dist/paraglide/messages/action_load_more.js +29 -0
  45. package/dist/paraglide/messages/action_login.d.ts +16 -0
  46. package/dist/paraglide/messages/action_login.js +29 -0
  47. package/dist/paraglide/messages/action_login_again.d.ts +16 -0
  48. package/dist/paraglide/messages/action_login_again.js +29 -0
  49. package/dist/paraglide/messages/action_logout.d.ts +16 -0
  50. package/dist/paraglide/messages/action_logout.js +29 -0
  51. package/dist/paraglide/messages/action_pass.d.ts +16 -0
  52. package/dist/paraglide/messages/action_pass.js +29 -0
  53. package/dist/paraglide/messages/action_reconnect.d.ts +16 -0
  54. package/dist/paraglide/messages/action_reconnect.js +29 -0
  55. package/dist/paraglide/messages/action_register.d.ts +16 -0
  56. package/dist/paraglide/messages/action_register.js +29 -0
  57. package/dist/paraglide/messages/action_save_name.d.ts +16 -0
  58. package/dist/paraglide/messages/action_save_name.js +29 -0
  59. package/dist/paraglide/messages/action_start_match.d.ts +16 -0
  60. package/dist/paraglide/messages/action_start_match.js +29 -0
  61. package/dist/paraglide/messages/error_connection_failed.d.ts +16 -0
  62. package/dist/paraglide/messages/error_connection_failed.js +29 -0
  63. package/dist/paraglide/messages/error_connection_interrupted.d.ts +16 -0
  64. package/dist/paraglide/messages/error_connection_interrupted.js +29 -0
  65. package/dist/paraglide/messages/error_history.d.ts +16 -0
  66. package/dist/paraglide/messages/error_history.js +29 -0
  67. package/dist/paraglide/messages/error_invitation_invalid.d.ts +16 -0
  68. package/dist/paraglide/messages/error_invitation_invalid.js +29 -0
  69. package/dist/paraglide/messages/error_login_to_join.d.ts +16 -0
  70. package/dist/paraglide/messages/error_login_to_join.js +29 -0
  71. package/dist/paraglide/messages/error_map_version.d.ts +16 -0
  72. package/dist/paraglide/messages/error_map_version.js +29 -0
  73. package/dist/paraglide/messages/error_match_join.d.ts +16 -0
  74. package/dist/paraglide/messages/error_match_join.js +29 -0
  75. package/dist/paraglide/messages/error_match_version.d.ts +16 -0
  76. package/dist/paraglide/messages/error_match_version.js +29 -0
  77. package/dist/paraglide/messages/error_name_not_saved.d.ts +16 -0
  78. package/dist/paraglide/messages/error_name_not_saved.js +29 -0
  79. package/dist/paraglide/messages/error_name_server_update.d.ts +16 -0
  80. package/dist/paraglide/messages/error_name_server_update.js +29 -0
  81. package/dist/paraglide/messages/error_player_name.d.ts +16 -0
  82. package/dist/paraglide/messages/error_player_name.js +29 -0
  83. package/dist/paraglide/messages/error_reconnect_to_play.d.ts +16 -0
  84. package/dist/paraglide/messages/error_reconnect_to_play.js +29 -0
  85. package/dist/paraglide/messages/error_replay.d.ts +16 -0
  86. package/dist/paraglide/messages/error_replay.js +29 -0
  87. package/dist/paraglide/messages/error_unsupported_map.d.ts +16 -0
  88. package/dist/paraglide/messages/error_unsupported_map.js +29 -0
  89. package/dist/paraglide/messages/field_bordering.d.ts +16 -0
  90. package/dist/paraglide/messages/field_bordering.js +29 -0
  91. package/dist/paraglide/messages/field_duration_unit.d.ts +16 -0
  92. package/dist/paraglide/messages/field_duration_unit.js +29 -0
  93. package/dist/paraglide/messages/field_finite_flood.d.ts +16 -0
  94. package/dist/paraglide/messages/field_finite_flood.js +29 -0
  95. package/dist/paraglide/messages/field_flood_cells.d.ts +16 -0
  96. package/dist/paraglide/messages/field_flood_cells.js +29 -0
  97. package/dist/paraglide/messages/field_flood_limit.d.ts +16 -0
  98. package/dist/paraglide/messages/field_flood_limit.js +29 -0
  99. package/dist/paraglide/messages/field_infinite_flood.d.ts +16 -0
  100. package/dist/paraglide/messages/field_infinite_flood.js +29 -0
  101. package/dist/paraglide/messages/field_invitation_link.d.ts +16 -0
  102. package/dist/paraglide/messages/field_invitation_link.js +29 -0
  103. package/dist/paraglide/messages/field_language.d.ts +16 -0
  104. package/dist/paraglide/messages/field_language.js +29 -0
  105. package/dist/paraglide/messages/field_map.d.ts +16 -0
  106. package/dist/paraglide/messages/field_map.js +29 -0
  107. package/dist/paraglide/messages/field_map_size.d.ts +1 -1
  108. package/dist/paraglide/messages/field_map_size.js +3 -3
  109. package/dist/paraglide/messages/field_match_duration.d.ts +16 -0
  110. package/dist/paraglide/messages/field_match_duration.js +29 -0
  111. package/dist/paraglide/messages/field_match_minutes.d.ts +16 -0
  112. package/dist/paraglide/messages/field_match_minutes.js +29 -0
  113. package/dist/paraglide/messages/field_play_mode.d.ts +16 -0
  114. package/dist/paraglide/messages/field_play_mode.js +29 -0
  115. package/dist/paraglide/messages/field_size.d.ts +1 -1
  116. package/dist/paraglide/messages/field_size.js +3 -3
  117. package/dist/paraglide/messages/field_turn_based.d.ts +16 -0
  118. package/dist/paraglide/messages/field_turn_based.js +29 -0
  119. package/dist/paraglide/messages/field_turn_duration.d.ts +16 -0
  120. package/dist/paraglide/messages/field_turn_duration.js +29 -0
  121. package/dist/paraglide/messages/field_turn_duration_unit.d.ts +16 -0
  122. package/dist/paraglide/messages/field_turn_duration_unit.js +29 -0
  123. package/dist/paraglide/messages/field_turn_timer.d.ts +16 -0
  124. package/dist/paraglide/messages/field_turn_timer.js +29 -0
  125. package/dist/paraglide/messages/help_bordering.d.ts +16 -0
  126. package/dist/paraglide/messages/help_bordering.js +29 -0
  127. package/dist/paraglide/messages/help_flood_limit.d.ts +16 -0
  128. package/dist/paraglide/messages/help_flood_limit.js +29 -0
  129. package/dist/paraglide/messages/help_map.d.ts +16 -0
  130. package/dist/paraglide/messages/help_map.js +29 -0
  131. package/dist/paraglide/messages/help_map_size.d.ts +16 -0
  132. package/dist/paraglide/messages/help_map_size.js +29 -0
  133. package/dist/paraglide/messages/help_match_duration.d.ts +16 -0
  134. package/dist/paraglide/messages/help_match_duration.js +29 -0
  135. package/dist/paraglide/messages/help_participation_time.d.ts +16 -0
  136. package/dist/paraglide/messages/help_participation_time.js +29 -0
  137. package/dist/paraglide/messages/help_play_mode.d.ts +16 -0
  138. package/dist/paraglide/messages/help_play_mode.js +29 -0
  139. package/dist/paraglide/messages/help_player_name.d.ts +16 -0
  140. package/dist/paraglide/messages/help_player_name.js +29 -0
  141. package/dist/paraglide/messages/help_seed.d.ts +16 -0
  142. package/dist/paraglide/messages/help_seed.js +29 -0
  143. package/dist/paraglide/messages/help_size.d.ts +16 -0
  144. package/dist/paraglide/messages/help_size.js +29 -0
  145. package/dist/paraglide/messages/help_spikiness.d.ts +16 -0
  146. package/dist/paraglide/messages/help_spikiness.js +29 -0
  147. package/dist/paraglide/messages/help_turn_based.d.ts +16 -0
  148. package/dist/paraglide/messages/help_turn_based.js +29 -0
  149. package/dist/paraglide/messages/help_turn_duration.d.ts +16 -0
  150. package/dist/paraglide/messages/help_turn_duration.js +29 -0
  151. package/dist/paraglide/messages/help_turn_time.d.ts +16 -0
  152. package/dist/paraglide/messages/help_turn_time.js +29 -0
  153. package/dist/paraglide/messages/help_turn_timer.d.ts +16 -0
  154. package/dist/paraglide/messages/help_turn_timer.js +29 -0
  155. package/dist/paraglide/messages/help_tutorial_mode.d.ts +16 -0
  156. package/dist/paraglide/messages/help_tutorial_mode.js +29 -0
  157. package/dist/paraglide/messages/help_void_fraction.d.ts +16 -0
  158. package/dist/paraglide/messages/help_void_fraction.js +29 -0
  159. package/dist/paraglide/messages/history_empty.d.ts +16 -0
  160. package/dist/paraglide/messages/history_empty.js +29 -0
  161. package/dist/paraglide/messages/label_claims.d.ts +18 -0
  162. package/dist/paraglide/messages/label_claims.js +29 -0
  163. package/dist/paraglide/messages/label_cumulative_time.d.ts +16 -0
  164. package/dist/paraglide/messages/label_cumulative_time.js +29 -0
  165. package/dist/paraglide/messages/label_custom_map_options.d.ts +16 -0
  166. package/dist/paraglide/messages/label_custom_map_options.js +29 -0
  167. package/dist/paraglide/messages/label_gameplay_options.d.ts +16 -0
  168. package/dist/paraglide/messages/label_gameplay_options.js +29 -0
  169. package/dist/paraglide/messages/label_map_options.d.ts +16 -0
  170. package/dist/paraglide/messages/label_map_options.js +29 -0
  171. package/dist/paraglide/messages/label_match_ends.d.ts +18 -0
  172. package/dist/paraglide/messages/label_match_ends.js +29 -0
  173. package/dist/paraglide/messages/label_match_id.d.ts +18 -0
  174. package/dist/paraglide/messages/label_match_id.js +29 -0
  175. package/dist/paraglide/messages/label_player_number.d.ts +18 -0
  176. package/dist/paraglide/messages/label_player_number.js +29 -0
  177. package/dist/paraglide/messages/label_points.d.ts +18 -0
  178. package/dist/paraglide/messages/label_points.js +29 -0
  179. package/dist/paraglide/messages/label_revealed_count.d.ts +18 -0
  180. package/dist/paraglide/messages/label_revealed_count.js +29 -0
  181. package/dist/paraglide/messages/label_team_score.d.ts +18 -0
  182. package/dist/paraglide/messages/label_team_score.js +29 -0
  183. package/dist/paraglide/messages/label_turn_remaining.d.ts +18 -0
  184. package/dist/paraglide/messages/label_turn_remaining.js +29 -0
  185. package/dist/paraglide/messages/label_you.d.ts +16 -0
  186. package/dist/paraglide/messages/label_you.js +29 -0
  187. package/dist/paraglide/messages/mode_collaborative.d.ts +16 -0
  188. package/dist/paraglide/messages/mode_collaborative.js +29 -0
  189. package/dist/paraglide/messages/mode_collaborative_hint.d.ts +16 -0
  190. package/dist/paraglide/messages/mode_collaborative_hint.js +29 -0
  191. package/dist/paraglide/messages/mode_solo.d.ts +16 -0
  192. package/dist/paraglide/messages/mode_solo.js +29 -0
  193. package/dist/paraglide/messages/mode_solo_hint.d.ts +16 -0
  194. package/dist/paraglide/messages/mode_solo_hint.js +29 -0
  195. package/dist/paraglide/messages/mode_territory.d.ts +16 -0
  196. package/dist/paraglide/messages/mode_territory.js +29 -0
  197. package/dist/paraglide/messages/mode_territory_hint.d.ts +16 -0
  198. package/dist/paraglide/messages/mode_territory_hint.js +29 -0
  199. package/dist/paraglide/messages/multiplayer_title.d.ts +16 -0
  200. package/dist/paraglide/messages/multiplayer_title.js +29 -0
  201. package/dist/paraglide/messages/option_help.d.ts +18 -0
  202. package/dist/paraglide/messages/option_help.js +29 -0
  203. package/dist/paraglide/messages/shape_label.d.ts +5 -5
  204. package/dist/paraglide/messages/shape_label.js +15 -15
  205. package/dist/paraglide/messages/status_connecting.d.ts +16 -0
  206. package/dist/paraglide/messages/status_connecting.js +29 -0
  207. package/dist/paraglide/messages/status_draw.d.ts +16 -0
  208. package/dist/paraglide/messages/status_draw.js +29 -0
  209. package/dist/paraglide/messages/status_match_complete.d.ts +16 -0
  210. package/dist/paraglide/messages/status_match_complete.js +29 -0
  211. package/dist/paraglide/messages/status_match_expired.d.ts +16 -0
  212. package/dist/paraglide/messages/status_match_expired.js +29 -0
  213. package/dist/paraglide/messages/status_name_saved.d.ts +16 -0
  214. package/dist/paraglide/messages/status_name_saved.js +29 -0
  215. package/dist/paraglide/messages/status_named_turn.d.ts +18 -0
  216. package/dist/paraglide/messages/status_named_turn.js +29 -0
  217. package/dist/paraglide/messages/status_named_winner.d.ts +18 -0
  218. package/dist/paraglide/messages/status_named_winner.js +29 -0
  219. package/dist/paraglide/messages/status_player_turn.d.ts +18 -0
  220. package/dist/paraglide/messages/status_player_turn.js +29 -0
  221. package/dist/paraglide/messages/status_realtime_claims.d.ts +16 -0
  222. package/dist/paraglide/messages/status_realtime_claims.js +29 -0
  223. package/dist/paraglide/messages/status_reconnecting.d.ts +16 -0
  224. package/dist/paraglide/messages/status_reconnecting.js +29 -0
  225. package/dist/paraglide/messages/status_session_complete.d.ts +16 -0
  226. package/dist/paraglide/messages/status_session_complete.js +29 -0
  227. package/dist/paraglide/messages/status_winner.d.ts +18 -0
  228. package/dist/paraglide/messages/status_winner.js +29 -0
  229. package/dist/paraglide/messages/text_account_multiplayer.d.ts +16 -0
  230. package/dist/paraglide/messages/text_account_multiplayer.js +29 -0
  231. package/dist/paraglide/messages/text_multiplayer_login.d.ts +16 -0
  232. package/dist/paraglide/messages/text_multiplayer_login.js +29 -0
  233. package/dist/paraglide/messages/text_waiting_lobby.d.ts +16 -0
  234. package/dist/paraglide/messages/text_waiting_lobby.js +29 -0
  235. package/dist/paraglide/messages/unit_hours.d.ts +16 -0
  236. package/dist/paraglide/messages/unit_hours.js +29 -0
  237. package/dist/paraglide/messages/unit_hours_selected.d.ts +19 -0
  238. package/dist/paraglide/messages/unit_hours_selected.js +35 -0
  239. package/dist/paraglide/messages/unit_minutes.d.ts +16 -0
  240. package/dist/paraglide/messages/unit_minutes.js +29 -0
  241. package/dist/paraglide/messages/unit_minutes_selected.d.ts +19 -0
  242. package/dist/paraglide/messages/unit_minutes_selected.js +35 -0
  243. package/dist/paraglide/messages/unit_seconds.d.ts +16 -0
  244. package/dist/paraglide/messages/unit_seconds.js +29 -0
  245. package/dist/paraglide/messages/unit_seconds_selected.d.ts +19 -0
  246. package/dist/paraglide/messages/unit_seconds_selected.js +35 -0
  247. package/dist/styles/global.css +14 -51
  248. package/dist/wasm/avoidant_wasm.d.ts +3 -208
  249. package/dist/wasm/avoidant_wasm.js +20 -1101
  250. package/dist/wasm/avoidant_wasm_bg.wasm +0 -0
  251. package/dist/wasm/avoidant_wasm_bg.wasm.d.ts +3 -65
  252. package/package.json +6 -4
  253. package/dist/paraglide/messages/field_relay_servers.js +0 -29
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Map version mismatch" |
5
+ *
6
+ * @param {Error_Map_VersionInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const error_map_version: ((inputs?: Error_Map_VersionInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Error_Map_VersionInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Error_Map_VersionInputs = {};
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
+
4
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
+
6
+ /** @typedef {{}} Error_Map_VersionInputs */
7
+
8
+ const en_error_map_version = /** @type {(inputs: Error_Map_VersionInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Map version mismatch`)
10
+ };
11
+
12
+ const bn_error_map_version = /** @type {(inputs: Error_Map_VersionInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`ম্যাপের সংস্করণ মিলছে না`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Map version mismatch" |
20
+ *
21
+ * @param {Error_Map_VersionInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const error_map_version = /** @type {((inputs?: Error_Map_VersionInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Error_Map_VersionInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_error_map_version(inputs)
28
+ return en_error_map_version(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Cannot join match" |
5
+ *
6
+ * @param {Error_Match_JoinInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const error_match_join: ((inputs?: Error_Match_JoinInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Error_Match_JoinInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Error_Match_JoinInputs = {};
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
+
4
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
+
6
+ /** @typedef {{}} Error_Match_JoinInputs */
7
+
8
+ const en_error_match_join = /** @type {(inputs: Error_Match_JoinInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Cannot join match`)
10
+ };
11
+
12
+ const bn_error_match_join = /** @type {(inputs: Error_Match_JoinInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`খেলায় যোগ দেওয়া যাচ্ছে না`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Cannot join match" |
20
+ *
21
+ * @param {Error_Match_JoinInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const error_match_join = /** @type {((inputs?: Error_Match_JoinInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Error_Match_JoinInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_error_match_join(inputs)
28
+ return en_error_match_join(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Incompatible match version; update the game" |
5
+ *
6
+ * @param {Error_Match_VersionInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const error_match_version: ((inputs?: Error_Match_VersionInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Error_Match_VersionInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Error_Match_VersionInputs = {};
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
+
4
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
+
6
+ /** @typedef {{}} Error_Match_VersionInputs */
7
+
8
+ const en_error_match_version = /** @type {(inputs: Error_Match_VersionInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Incompatible match version; update the game`)
10
+ };
11
+
12
+ const bn_error_match_version = /** @type {(inputs: Error_Match_VersionInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`খেলার সংস্করণ মিলছে না; গেমটি হালনাগাদ করুন`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Incompatible match version; update the game" |
20
+ *
21
+ * @param {Error_Match_VersionInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const error_match_version = /** @type {((inputs?: Error_Match_VersionInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Error_Match_VersionInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_error_match_version(inputs)
28
+ return en_error_match_version(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "The server did not save your name. Update the game server and try again." |
5
+ *
6
+ * @param {Error_Name_Not_SavedInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const error_name_not_saved: ((inputs?: Error_Name_Not_SavedInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Error_Name_Not_SavedInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Error_Name_Not_SavedInputs = {};
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
+
4
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
+
6
+ /** @typedef {{}} Error_Name_Not_SavedInputs */
7
+
8
+ const en_error_name_not_saved = /** @type {(inputs: Error_Name_Not_SavedInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`The server did not save your name. Update the game server and try again.`)
10
+ };
11
+
12
+ const bn_error_name_not_saved = /** @type {(inputs: Error_Name_Not_SavedInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`সার্ভার আপনার নাম সংরক্ষণ করেনি। সার্ভার হালনাগাদ করে আবার চেষ্টা করুন।`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "The server did not save your name. Update the game server and try again." |
20
+ *
21
+ * @param {Error_Name_Not_SavedInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const error_name_not_saved = /** @type {((inputs?: Error_Name_Not_SavedInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Error_Name_Not_SavedInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_error_name_not_saved(inputs)
28
+ return en_error_name_not_saved(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "This game server needs an update to support player names. Restart the local multiplayer server." |
5
+ *
6
+ * @param {Error_Name_Server_UpdateInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const error_name_server_update: ((inputs?: Error_Name_Server_UpdateInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Error_Name_Server_UpdateInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Error_Name_Server_UpdateInputs = {};
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
+
4
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
+
6
+ /** @typedef {{}} Error_Name_Server_UpdateInputs */
7
+
8
+ const en_error_name_server_update = /** @type {(inputs: Error_Name_Server_UpdateInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`This game server needs an update to support player names. Restart the local multiplayer server.`)
10
+ };
11
+
12
+ const bn_error_name_server_update = /** @type {(inputs: Error_Name_Server_UpdateInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`খেলোয়াড়ের নাম সমর্থন করতে গেম সার্ভার হালনাগাদ করুন। স্থানীয় বহুজন খেলার সার্ভার আবার চালু করুন।`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "This game server needs an update to support player names. Restart the local multiplayer server." |
20
+ *
21
+ * @param {Error_Name_Server_UpdateInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const error_name_server_update = /** @type {((inputs?: Error_Name_Server_UpdateInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Error_Name_Server_UpdateInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_error_name_server_update(inputs)
28
+ return en_error_name_server_update(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Enter a player name of 1–32 characters." |
5
+ *
6
+ * @param {Error_Player_NameInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const error_player_name: ((inputs?: Error_Player_NameInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Error_Player_NameInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Error_Player_NameInputs = {};
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
+
4
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
+
6
+ /** @typedef {{}} Error_Player_NameInputs */
7
+
8
+ const en_error_player_name = /** @type {(inputs: Error_Player_NameInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Enter a player name of 1–32 characters.`)
10
+ };
11
+
12
+ const bn_error_player_name = /** @type {(inputs: Error_Player_NameInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`১–৩২ অক্ষরের একটি খেলোয়াড়ের নাম লিখুন।`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Enter a player name of 1–32 characters." |
20
+ *
21
+ * @param {Error_Player_NameInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const error_player_name = /** @type {((inputs?: Error_Player_NameInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Error_Player_NameInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_error_player_name(inputs)
28
+ return en_error_player_name(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Reconnect before playing" |
5
+ *
6
+ * @param {Error_Reconnect_To_PlayInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const error_reconnect_to_play: ((inputs?: Error_Reconnect_To_PlayInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Error_Reconnect_To_PlayInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Error_Reconnect_To_PlayInputs = {};
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
+
4
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
+
6
+ /** @typedef {{}} Error_Reconnect_To_PlayInputs */
7
+
8
+ const en_error_reconnect_to_play = /** @type {(inputs: Error_Reconnect_To_PlayInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Reconnect before playing`)
10
+ };
11
+
12
+ const bn_error_reconnect_to_play = /** @type {(inputs: Error_Reconnect_To_PlayInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`খেলার আগে আবার সংযোগ করুন`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Reconnect before playing" |
20
+ *
21
+ * @param {Error_Reconnect_To_PlayInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const error_reconnect_to_play = /** @type {((inputs?: Error_Reconnect_To_PlayInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Error_Reconnect_To_PlayInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_error_reconnect_to_play(inputs)
28
+ return en_error_reconnect_to_play(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Could not download the replay. Try again." |
5
+ *
6
+ * @param {Error_ReplayInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const error_replay: ((inputs?: Error_ReplayInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Error_ReplayInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Error_ReplayInputs = {};
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
+
4
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
+
6
+ /** @typedef {{}} Error_ReplayInputs */
7
+
8
+ const en_error_replay = /** @type {(inputs: Error_ReplayInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Could not download the replay. Try again.`)
10
+ };
11
+
12
+ const bn_error_replay = /** @type {(inputs: Error_ReplayInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`রিপ্লে ডাউনলোড করা যায়নি। আবার চেষ্টা করুন।`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Could not download the replay. Try again." |
20
+ *
21
+ * @param {Error_ReplayInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const error_replay = /** @type {((inputs?: Error_ReplayInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Error_ReplayInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_error_replay(inputs)
28
+ return en_error_replay(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Unsupported map; update the game." |
5
+ *
6
+ * @param {Error_Unsupported_MapInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const error_unsupported_map: ((inputs?: Error_Unsupported_MapInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Error_Unsupported_MapInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Error_Unsupported_MapInputs = {};
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
+
4
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
+
6
+ /** @typedef {{}} Error_Unsupported_MapInputs */
7
+
8
+ const en_error_unsupported_map = /** @type {(inputs: Error_Unsupported_MapInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Unsupported map; update the game.`)
10
+ };
11
+
12
+ const bn_error_unsupported_map = /** @type {(inputs: Error_Unsupported_MapInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`এই ম্যাপটি সমর্থিত নয়; গেমটি হালনাগাদ করুন।`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Unsupported map; update the game." |
20
+ *
21
+ * @param {Error_Unsupported_MapInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const error_unsupported_map = /** @type {((inputs?: Error_Unsupported_MapInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Error_Unsupported_MapInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_error_unsupported_map(inputs)
28
+ return en_error_unsupported_map(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Claims must border existing territory" |
5
+ *
6
+ * @param {Field_BorderingInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const field_bordering: ((inputs?: Field_BorderingInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Field_BorderingInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Field_BorderingInputs = {};
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
+
4
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
+
6
+ /** @typedef {{}} Field_BorderingInputs */
7
+
8
+ const en_field_bordering = /** @type {(inputs: Field_BorderingInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Claims must border existing territory`)
10
+ };
11
+
12
+ const bn_field_bordering = /** @type {(inputs: Field_BorderingInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`দখল করা ঘর নিজের এলাকার সংলগ্ন হতে হবে`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Claims must border existing territory" |
20
+ *
21
+ * @param {Field_BorderingInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const field_bordering = /** @type {((inputs?: Field_BorderingInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Field_BorderingInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_field_bordering(inputs)
28
+ return en_field_bordering(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Duration unit" |
5
+ *
6
+ * @param {Field_Duration_UnitInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const field_duration_unit: ((inputs?: Field_Duration_UnitInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Field_Duration_UnitInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Field_Duration_UnitInputs = {};
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
+
4
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
+
6
+ /** @typedef {{}} Field_Duration_UnitInputs */
7
+
8
+ const en_field_duration_unit = /** @type {(inputs: Field_Duration_UnitInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Duration unit`)
10
+ };
11
+
12
+ const bn_field_duration_unit = /** @type {(inputs: Field_Duration_UnitInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`সময়ের একক`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Duration unit" |
20
+ *
21
+ * @param {Field_Duration_UnitInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const field_duration_unit = /** @type {((inputs?: Field_Duration_UnitInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Field_Duration_UnitInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_field_duration_unit(inputs)
28
+ return en_field_duration_unit(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Limited flood" |
5
+ *
6
+ * @param {Field_Finite_FloodInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const field_finite_flood: ((inputs?: Field_Finite_FloodInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Field_Finite_FloodInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Field_Finite_FloodInputs = {};
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
+
4
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
+
6
+ /** @typedef {{}} Field_Finite_FloodInputs */
7
+
8
+ const en_field_finite_flood = /** @type {(inputs: Field_Finite_FloodInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Limited flood`)
10
+ };
11
+
12
+ const bn_field_finite_flood = /** @type {(inputs: Field_Finite_FloodInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`সীমিত উন্মোচন`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Limited flood" |
20
+ *
21
+ * @param {Field_Finite_FloodInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const field_finite_flood = /** @type {((inputs?: Field_Finite_FloodInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Field_Finite_FloodInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_field_finite_flood(inputs)
28
+ return en_field_finite_flood(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Additional flood cells" |
5
+ *
6
+ * @param {Field_Flood_CellsInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const field_flood_cells: ((inputs?: Field_Flood_CellsInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Field_Flood_CellsInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Field_Flood_CellsInputs = {};
@@ -0,0 +1,29 @@
1
+ /* eslint-disable */
2
+ import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
+
4
+ /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
+
6
+ /** @typedef {{}} Field_Flood_CellsInputs */
7
+
8
+ const en_field_flood_cells = /** @type {(inputs: Field_Flood_CellsInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Additional flood cells`)
10
+ };
11
+
12
+ const bn_field_flood_cells = /** @type {(inputs: Field_Flood_CellsInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`অতিরিক্ত উন্মোচিত ঘরের সংখ্যা`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Additional flood cells" |
20
+ *
21
+ * @param {Field_Flood_CellsInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const field_flood_cells = /** @type {((inputs?: Field_Flood_CellsInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Field_Flood_CellsInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_field_flood_cells(inputs)
28
+ return en_field_flood_cells(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Flood limit" |
5
+ *
6
+ * @param {Field_Flood_LimitInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const field_flood_limit: ((inputs?: Field_Flood_LimitInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Field_Flood_LimitInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Field_Flood_LimitInputs = {};