@kuncat/avoidant 0.2.3 → 0.3.0

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 (325) hide show
  1. package/README.md +29 -18
  2. package/dist/components/AvoidantGame.svelte +743 -458
  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/MapControls.svelte +1 -1
  7. package/dist/components/MapIcon.svelte +40 -0
  8. package/dist/components/MapIcon.svelte.d.ts +7 -0
  9. package/dist/components/MatchResults.svelte +29 -0
  10. package/dist/components/MatchResults.svelte.d.ts +8 -0
  11. package/dist/components/MultiplayerGame.svelte +504 -0
  12. package/dist/components/MultiplayerGame.svelte.d.ts +11 -0
  13. package/dist/components/OptionHelp.svelte +96 -0
  14. package/dist/components/OptionHelp.svelte.d.ts +7 -0
  15. package/dist/components/ScoreSummary.svelte +43 -0
  16. package/dist/components/ScoreSummary.svelte.d.ts +8 -0
  17. package/dist/components/board.svelte +61 -39
  18. package/dist/components/board.svelte.d.ts +4 -2
  19. package/dist/components/fragment.glsl +34 -0
  20. package/dist/components/label-connectors.d.ts +5 -2
  21. package/dist/components/label-connectors.js +47 -37
  22. package/dist/components/map-camera.js +1 -1
  23. package/dist/index.d.ts +1 -0
  24. package/dist/multiplayer/client.d.ts +21 -0
  25. package/dist/multiplayer/client.js +111 -0
  26. package/dist/multiplayer/duration.d.ts +1 -0
  27. package/dist/multiplayer/duration.js +6 -0
  28. package/dist/multiplayer/local-identity.d.ts +1 -0
  29. package/dist/multiplayer/local-identity.js +13 -0
  30. package/dist/multiplayer/maps.json +275 -0
  31. package/dist/multiplayer/reveal.d.ts +11 -0
  32. package/dist/multiplayer/reveal.js +16 -0
  33. package/dist/multiplayer/types.d.ts +80 -0
  34. package/dist/multiplayer/types.js +10 -0
  35. package/dist/paraglide/messages/_index.d.ts +111 -8
  36. package/dist/paraglide/messages/_index.js +111 -8
  37. package/dist/paraglide/messages/action_back.js +2 -2
  38. package/dist/paraglide/messages/action_copied.d.ts +16 -0
  39. package/dist/paraglide/messages/action_copied.js +29 -0
  40. package/dist/paraglide/messages/action_copy.js +2 -2
  41. package/dist/paraglide/messages/action_copy_invitation.d.ts +16 -0
  42. package/dist/paraglide/messages/action_copy_invitation.js +29 -0
  43. package/dist/paraglide/messages/action_download_replay.d.ts +16 -0
  44. package/dist/paraglide/messages/action_download_replay.js +29 -0
  45. package/dist/paraglide/messages/action_exit.js +2 -2
  46. package/dist/paraglide/messages/action_game_history.d.ts +16 -0
  47. package/dist/paraglide/messages/action_game_history.js +29 -0
  48. package/dist/paraglide/messages/action_invite.js +2 -2
  49. package/dist/paraglide/messages/action_join.js +2 -2
  50. package/dist/paraglide/messages/action_join_game.js +2 -2
  51. package/dist/paraglide/messages/action_load_more.d.ts +16 -0
  52. package/dist/paraglide/messages/action_load_more.js +29 -0
  53. package/dist/paraglide/messages/action_login.d.ts +16 -0
  54. package/dist/paraglide/messages/action_login.js +29 -0
  55. package/dist/paraglide/messages/action_login_again.d.ts +16 -0
  56. package/dist/paraglide/messages/action_login_again.js +29 -0
  57. package/dist/paraglide/messages/action_logout.d.ts +16 -0
  58. package/dist/paraglide/messages/action_logout.js +29 -0
  59. package/dist/paraglide/messages/action_new_game.js +2 -2
  60. package/dist/paraglide/messages/action_pass.d.ts +16 -0
  61. package/dist/paraglide/messages/action_pass.js +29 -0
  62. package/dist/paraglide/messages/action_random.js +2 -2
  63. package/dist/paraglide/messages/action_reconnect.d.ts +16 -0
  64. package/dist/paraglide/messages/action_reconnect.js +29 -0
  65. package/dist/paraglide/messages/action_register.d.ts +16 -0
  66. package/dist/paraglide/messages/action_register.js +29 -0
  67. package/dist/paraglide/messages/action_save_name.d.ts +16 -0
  68. package/dist/paraglide/messages/action_save_name.js +29 -0
  69. package/dist/paraglide/messages/action_start.js +2 -2
  70. package/dist/paraglide/messages/action_start_match.d.ts +16 -0
  71. package/dist/paraglide/messages/action_start_match.js +29 -0
  72. package/dist/paraglide/messages/aria_close_invitation.js +2 -2
  73. package/dist/paraglide/messages/aria_score_summary.js +2 -2
  74. package/dist/paraglide/messages/cells_count.js +2 -2
  75. package/dist/paraglide/messages/cells_per_face.js +2 -2
  76. package/dist/paraglide/messages/default_player_name.js +2 -2
  77. package/dist/paraglide/messages/error_connection_failed.d.ts +16 -0
  78. package/dist/paraglide/messages/error_connection_failed.js +29 -0
  79. package/dist/paraglide/messages/error_connection_interrupted.d.ts +16 -0
  80. package/dist/paraglide/messages/error_connection_interrupted.js +29 -0
  81. package/dist/paraglide/messages/error_history.d.ts +16 -0
  82. package/dist/paraglide/messages/error_history.js +29 -0
  83. package/dist/paraglide/messages/error_invitation_invalid.d.ts +16 -0
  84. package/dist/paraglide/messages/error_invitation_invalid.js +29 -0
  85. package/dist/paraglide/messages/error_join_connect_failed.js +2 -2
  86. package/dist/paraglide/messages/error_join_failed.js +2 -2
  87. package/dist/paraglide/messages/error_join_ticket_invalid.js +2 -2
  88. package/dist/paraglide/messages/error_join_ticket_required.js +2 -2
  89. package/dist/paraglide/messages/error_login_to_join.d.ts +16 -0
  90. package/dist/paraglide/messages/error_login_to_join.js +29 -0
  91. package/dist/paraglide/messages/error_map_version.d.ts +16 -0
  92. package/dist/paraglide/messages/error_map_version.js +29 -0
  93. package/dist/paraglide/messages/error_match_join.d.ts +16 -0
  94. package/dist/paraglide/messages/error_match_join.js +29 -0
  95. package/dist/paraglide/messages/error_match_version.d.ts +16 -0
  96. package/dist/paraglide/messages/error_match_version.js +29 -0
  97. package/dist/paraglide/messages/error_name_not_saved.d.ts +16 -0
  98. package/dist/paraglide/messages/error_name_not_saved.js +29 -0
  99. package/dist/paraglide/messages/error_name_server_update.d.ts +16 -0
  100. package/dist/paraglide/messages/error_name_server_update.js +29 -0
  101. package/dist/paraglide/messages/error_player_name.d.ts +16 -0
  102. package/dist/paraglide/messages/error_player_name.js +29 -0
  103. package/dist/paraglide/messages/error_reconnect_to_play.d.ts +16 -0
  104. package/dist/paraglide/messages/error_reconnect_to_play.js +29 -0
  105. package/dist/paraglide/messages/error_replay.d.ts +16 -0
  106. package/dist/paraglide/messages/error_replay.js +29 -0
  107. package/dist/paraglide/messages/error_unsupported_map.d.ts +16 -0
  108. package/dist/paraglide/messages/error_unsupported_map.js +29 -0
  109. package/dist/paraglide/messages/faces_count.js +2 -2
  110. package/dist/paraglide/messages/field_bordering.d.ts +16 -0
  111. package/dist/paraglide/messages/field_bordering.js +29 -0
  112. package/dist/paraglide/messages/field_cell_density.js +2 -2
  113. package/dist/paraglide/messages/field_duration_unit.d.ts +16 -0
  114. package/dist/paraglide/messages/field_duration_unit.js +29 -0
  115. package/dist/paraglide/messages/field_finite_flood.d.ts +16 -0
  116. package/dist/paraglide/messages/field_finite_flood.js +29 -0
  117. package/dist/paraglide/messages/field_flood_cells.d.ts +16 -0
  118. package/dist/paraglide/messages/field_flood_cells.js +29 -0
  119. package/dist/paraglide/messages/field_flood_limit.d.ts +16 -0
  120. package/dist/paraglide/messages/field_flood_limit.js +29 -0
  121. package/dist/paraglide/messages/field_infinite_flood.d.ts +16 -0
  122. package/dist/paraglide/messages/field_infinite_flood.js +29 -0
  123. package/dist/paraglide/messages/field_invitation_link.d.ts +16 -0
  124. package/dist/paraglide/messages/field_invitation_link.js +29 -0
  125. package/dist/paraglide/messages/field_invitation_url.js +2 -2
  126. package/dist/paraglide/messages/field_language.d.ts +16 -0
  127. package/dist/paraglide/messages/field_language.js +29 -0
  128. package/dist/paraglide/messages/field_map.d.ts +16 -0
  129. package/dist/paraglide/messages/field_map.js +29 -0
  130. package/dist/paraglide/messages/field_map_shape.js +2 -2
  131. package/dist/paraglide/messages/field_map_size.d.ts +1 -1
  132. package/dist/paraglide/messages/field_map_size.js +5 -5
  133. package/dist/paraglide/messages/field_match_duration.d.ts +16 -0
  134. package/dist/paraglide/messages/field_match_duration.js +29 -0
  135. package/dist/paraglide/messages/field_match_minutes.d.ts +16 -0
  136. package/dist/paraglide/messages/field_match_minutes.js +29 -0
  137. package/dist/paraglide/messages/field_play_mode.d.ts +16 -0
  138. package/dist/paraglide/messages/field_play_mode.js +29 -0
  139. package/dist/paraglide/messages/field_player_name.js +2 -2
  140. package/dist/paraglide/messages/field_radius.js +2 -2
  141. package/dist/paraglide/messages/field_radius_x.js +2 -2
  142. package/dist/paraglide/messages/field_radius_y.js +2 -2
  143. package/dist/paraglide/messages/field_radius_z.js +2 -2
  144. package/dist/paraglide/messages/field_relay_servers.js +2 -2
  145. package/dist/paraglide/messages/field_seed.js +2 -2
  146. package/dist/paraglide/messages/field_size.d.ts +1 -1
  147. package/dist/paraglide/messages/field_size.js +5 -5
  148. package/dist/paraglide/messages/field_spikiness.js +2 -2
  149. package/dist/paraglide/messages/field_subdivisions.js +2 -2
  150. package/dist/paraglide/messages/field_surface_detail.js +2 -2
  151. package/dist/paraglide/messages/field_ticket_or_invitation_url.js +2 -2
  152. package/dist/paraglide/messages/field_turn_based.d.ts +16 -0
  153. package/dist/paraglide/messages/field_turn_based.js +29 -0
  154. package/dist/paraglide/messages/field_turn_duration.d.ts +16 -0
  155. package/dist/paraglide/messages/field_turn_duration.js +29 -0
  156. package/dist/paraglide/messages/field_turn_duration_unit.d.ts +16 -0
  157. package/dist/paraglide/messages/field_turn_duration_unit.js +29 -0
  158. package/dist/paraglide/messages/field_turn_timer.d.ts +16 -0
  159. package/dist/paraglide/messages/field_turn_timer.js +29 -0
  160. package/dist/paraglide/messages/field_tutorial_mode.js +2 -2
  161. package/dist/paraglide/messages/field_void_fraction.js +2 -2
  162. package/dist/paraglide/messages/help_bordering.d.ts +16 -0
  163. package/dist/paraglide/messages/help_bordering.js +29 -0
  164. package/dist/paraglide/messages/help_flood_limit.d.ts +16 -0
  165. package/dist/paraglide/messages/help_flood_limit.js +29 -0
  166. package/dist/paraglide/messages/help_map.d.ts +16 -0
  167. package/dist/paraglide/messages/help_map.js +29 -0
  168. package/dist/paraglide/messages/help_map_size.d.ts +16 -0
  169. package/dist/paraglide/messages/help_map_size.js +29 -0
  170. package/dist/paraglide/messages/help_match_duration.d.ts +16 -0
  171. package/dist/paraglide/messages/help_match_duration.js +29 -0
  172. package/dist/paraglide/messages/help_participation_time.d.ts +16 -0
  173. package/dist/paraglide/messages/help_participation_time.js +29 -0
  174. package/dist/paraglide/messages/help_play_mode.d.ts +16 -0
  175. package/dist/paraglide/messages/help_play_mode.js +29 -0
  176. package/dist/paraglide/messages/help_player_name.d.ts +16 -0
  177. package/dist/paraglide/messages/help_player_name.js +29 -0
  178. package/dist/paraglide/messages/help_seed.d.ts +16 -0
  179. package/dist/paraglide/messages/help_seed.js +29 -0
  180. package/dist/paraglide/messages/help_size.d.ts +16 -0
  181. package/dist/paraglide/messages/help_size.js +29 -0
  182. package/dist/paraglide/messages/help_spikiness.d.ts +16 -0
  183. package/dist/paraglide/messages/help_spikiness.js +29 -0
  184. package/dist/paraglide/messages/help_turn_based.d.ts +16 -0
  185. package/dist/paraglide/messages/help_turn_based.js +29 -0
  186. package/dist/paraglide/messages/help_turn_duration.d.ts +16 -0
  187. package/dist/paraglide/messages/help_turn_duration.js +29 -0
  188. package/dist/paraglide/messages/help_turn_time.d.ts +16 -0
  189. package/dist/paraglide/messages/help_turn_time.js +29 -0
  190. package/dist/paraglide/messages/help_turn_timer.d.ts +16 -0
  191. package/dist/paraglide/messages/help_turn_timer.js +29 -0
  192. package/dist/paraglide/messages/help_tutorial_mode.d.ts +16 -0
  193. package/dist/paraglide/messages/help_tutorial_mode.js +29 -0
  194. package/dist/paraglide/messages/help_void_fraction.d.ts +16 -0
  195. package/dist/paraglide/messages/help_void_fraction.js +29 -0
  196. package/dist/paraglide/messages/history_empty.d.ts +16 -0
  197. package/dist/paraglide/messages/history_empty.js +29 -0
  198. package/dist/paraglide/messages/label_advanced_settings.js +2 -2
  199. package/dist/paraglide/messages/label_claims.d.ts +18 -0
  200. package/dist/paraglide/messages/label_claims.js +29 -0
  201. package/dist/paraglide/messages/label_cumulative_time.d.ts +16 -0
  202. package/dist/paraglide/messages/label_cumulative_time.js +29 -0
  203. package/dist/paraglide/messages/label_custom_map_options.d.ts +16 -0
  204. package/dist/paraglide/messages/label_custom_map_options.js +29 -0
  205. package/dist/paraglide/messages/label_gameplay_options.d.ts +16 -0
  206. package/dist/paraglide/messages/label_gameplay_options.js +29 -0
  207. package/dist/paraglide/messages/label_map_options.d.ts +16 -0
  208. package/dist/paraglide/messages/label_map_options.js +29 -0
  209. package/dist/paraglide/messages/label_match_ends.d.ts +18 -0
  210. package/dist/paraglide/messages/label_match_ends.js +29 -0
  211. package/dist/paraglide/messages/label_match_id.d.ts +18 -0
  212. package/dist/paraglide/messages/label_match_id.js +29 -0
  213. package/dist/paraglide/messages/label_player_number.d.ts +18 -0
  214. package/dist/paraglide/messages/label_player_number.js +29 -0
  215. package/dist/paraglide/messages/label_players.js +2 -2
  216. package/dist/paraglide/messages/label_points.d.ts +18 -0
  217. package/dist/paraglide/messages/label_points.js +29 -0
  218. package/dist/paraglide/messages/label_revealed_count.d.ts +18 -0
  219. package/dist/paraglide/messages/label_revealed_count.js +29 -0
  220. package/dist/paraglide/messages/label_safe_cells_explored.js +2 -2
  221. package/dist/paraglide/messages/label_safe_cells_remaining.js +2 -2
  222. package/dist/paraglide/messages/label_score.js +2 -2
  223. package/dist/paraglide/messages/label_streak.js +2 -2
  224. package/dist/paraglide/messages/label_team_score.d.ts +18 -0
  225. package/dist/paraglide/messages/label_team_score.js +29 -0
  226. package/dist/paraglide/messages/label_turn_remaining.d.ts +18 -0
  227. package/dist/paraglide/messages/label_turn_remaining.js +29 -0
  228. package/dist/paraglide/messages/label_voids_discovered.js +2 -2
  229. package/dist/paraglide/messages/label_you.d.ts +16 -0
  230. package/dist/paraglide/messages/label_you.js +29 -0
  231. package/dist/paraglide/messages/mode_collaborative.d.ts +16 -0
  232. package/dist/paraglide/messages/mode_collaborative.js +29 -0
  233. package/dist/paraglide/messages/mode_collaborative_hint.d.ts +16 -0
  234. package/dist/paraglide/messages/mode_collaborative_hint.js +29 -0
  235. package/dist/paraglide/messages/mode_solo.d.ts +16 -0
  236. package/dist/paraglide/messages/mode_solo.js +29 -0
  237. package/dist/paraglide/messages/mode_solo_hint.d.ts +16 -0
  238. package/dist/paraglide/messages/mode_solo_hint.js +29 -0
  239. package/dist/paraglide/messages/mode_territory.d.ts +16 -0
  240. package/dist/paraglide/messages/mode_territory.js +29 -0
  241. package/dist/paraglide/messages/mode_territory_hint.d.ts +16 -0
  242. package/dist/paraglide/messages/mode_territory_hint.js +29 -0
  243. package/dist/paraglide/messages/multiplayer_title.d.ts +16 -0
  244. package/dist/paraglide/messages/multiplayer_title.js +29 -0
  245. package/dist/paraglide/messages/option_help.d.ts +18 -0
  246. package/dist/paraglide/messages/option_help.js +29 -0
  247. package/dist/paraglide/messages/package.json +4 -0
  248. package/dist/paraglide/messages/preset_custom.js +2 -2
  249. package/dist/paraglide/messages/preset_large.js +2 -2
  250. package/dist/paraglide/messages/preset_medium.js +2 -2
  251. package/dist/paraglide/messages/preset_small.js +2 -2
  252. package/dist/paraglide/messages/shape_label.d.ts +5 -5
  253. package/dist/paraglide/messages/shape_label.js +17 -17
  254. package/dist/paraglide/messages/status_connecting.d.ts +16 -0
  255. package/dist/paraglide/messages/status_connecting.js +29 -0
  256. package/dist/paraglide/messages/status_draw.d.ts +16 -0
  257. package/dist/paraglide/messages/status_draw.js +29 -0
  258. package/dist/paraglide/messages/status_generating_map.js +2 -2
  259. package/dist/paraglide/messages/status_initialization_failed.js +2 -2
  260. package/dist/paraglide/messages/status_joining_game.js +2 -2
  261. package/dist/paraglide/messages/status_loading.js +2 -2
  262. package/dist/paraglide/messages/status_match_complete.d.ts +16 -0
  263. package/dist/paraglide/messages/status_match_complete.js +29 -0
  264. package/dist/paraglide/messages/status_match_expired.d.ts +16 -0
  265. package/dist/paraglide/messages/status_match_expired.js +29 -0
  266. package/dist/paraglide/messages/status_name_saved.d.ts +16 -0
  267. package/dist/paraglide/messages/status_name_saved.js +29 -0
  268. package/dist/paraglide/messages/status_named_turn.d.ts +18 -0
  269. package/dist/paraglide/messages/status_named_turn.js +29 -0
  270. package/dist/paraglide/messages/status_named_winner.d.ts +18 -0
  271. package/dist/paraglide/messages/status_named_winner.js +29 -0
  272. package/dist/paraglide/messages/status_player_turn.d.ts +18 -0
  273. package/dist/paraglide/messages/status_player_turn.js +29 -0
  274. package/dist/paraglide/messages/status_preparing.js +2 -2
  275. package/dist/paraglide/messages/status_realtime_claims.d.ts +16 -0
  276. package/dist/paraglide/messages/status_realtime_claims.js +29 -0
  277. package/dist/paraglide/messages/status_reconnecting.d.ts +16 -0
  278. package/dist/paraglide/messages/status_reconnecting.js +29 -0
  279. package/dist/paraglide/messages/status_session_complete.d.ts +16 -0
  280. package/dist/paraglide/messages/status_session_complete.js +29 -0
  281. package/dist/paraglide/messages/status_winner.d.ts +18 -0
  282. package/dist/paraglide/messages/status_winner.js +29 -0
  283. package/dist/paraglide/messages/text_account_multiplayer.d.ts +16 -0
  284. package/dist/paraglide/messages/text_account_multiplayer.js +29 -0
  285. package/dist/paraglide/messages/text_avoided.js +2 -2
  286. package/dist/paraglide/messages/text_density_summary.js +2 -2
  287. package/dist/paraglide/messages/text_invite_after_opening.js +2 -2
  288. package/dist/paraglide/messages/text_multiplayer_login.d.ts +16 -0
  289. package/dist/paraglide/messages/text_multiplayer_login.js +29 -0
  290. package/dist/paraglide/messages/text_relay_servers_hint.js +2 -2
  291. package/dist/paraglide/messages/text_waiting_lobby.d.ts +16 -0
  292. package/dist/paraglide/messages/text_waiting_lobby.js +29 -0
  293. package/dist/paraglide/messages/tutorial_action_dismiss.js +2 -2
  294. package/dist/paraglide/messages/tutorial_action_next.js +2 -2
  295. package/dist/paraglide/messages/tutorial_after_safe_deducible.js +2 -2
  296. package/dist/paraglide/messages/tutorial_after_safe_guess.js +2 -2
  297. package/dist/paraglide/messages/tutorial_after_void.js +2 -2
  298. package/dist/paraglide/messages/tutorial_awaiting_first_click.js +2 -2
  299. package/dist/paraglide/messages/tutorial_intro.d.ts +1 -1
  300. package/dist/paraglide/messages/tutorial_intro.js +5 -5
  301. package/dist/paraglide/messages/tutorial_won.js +2 -2
  302. package/dist/paraglide/messages/unit_hours.d.ts +16 -0
  303. package/dist/paraglide/messages/unit_hours.js +29 -0
  304. package/dist/paraglide/messages/unit_hours_selected.d.ts +19 -0
  305. package/dist/paraglide/messages/unit_hours_selected.js +35 -0
  306. package/dist/paraglide/messages/unit_minutes.d.ts +16 -0
  307. package/dist/paraglide/messages/unit_minutes.js +29 -0
  308. package/dist/paraglide/messages/unit_minutes_selected.d.ts +19 -0
  309. package/dist/paraglide/messages/unit_minutes_selected.js +35 -0
  310. package/dist/paraglide/messages/unit_seconds.d.ts +16 -0
  311. package/dist/paraglide/messages/unit_seconds.js +29 -0
  312. package/dist/paraglide/messages/unit_seconds_selected.d.ts +19 -0
  313. package/dist/paraglide/messages/unit_seconds_selected.js +35 -0
  314. package/dist/paraglide/registry.d.ts +13 -0
  315. package/dist/paraglide/registry.js +15 -0
  316. package/dist/paraglide/runtime.d.ts +90 -26
  317. package/dist/paraglide/runtime.js +597 -109
  318. package/dist/paraglide/server.d.ts +1 -1
  319. package/dist/paraglide/server.js +27 -10
  320. package/dist/styles/global.css +12 -51
  321. package/dist/wasm/avoidant_wasm.d.ts +56 -11
  322. package/dist/wasm/avoidant_wasm.js +188 -52
  323. package/dist/wasm/avoidant_wasm_bg.wasm +0 -0
  324. package/dist/wasm/avoidant_wasm_bg.wasm.d.ts +25 -11
  325. package/package.json +34 -32
@@ -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 {{}} Mode_TerritoryInputs */
7
+
8
+ const en_mode_territory = /** @type {(inputs: Mode_TerritoryInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Territory`)
10
+ };
11
+
12
+ const bn_mode_territory = /** @type {(inputs: Mode_TerritoryInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`এলাকা দখল`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Territory" |
20
+ *
21
+ * @param {Mode_TerritoryInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const mode_territory = /** @type {((inputs?: Mode_TerritoryInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Mode_TerritoryInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_mode_territory(inputs)
28
+ return en_mode_territory(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Claim the board" |
5
+ *
6
+ * @param {Mode_Territory_HintInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const mode_territory_hint: ((inputs?: Mode_Territory_HintInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Mode_Territory_HintInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Mode_Territory_HintInputs = {};
@@ -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 {{}} Mode_Territory_HintInputs */
7
+
8
+ const en_mode_territory_hint = /** @type {(inputs: Mode_Territory_HintInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Claim the board`)
10
+ };
11
+
12
+ const bn_mode_territory_hint = /** @type {(inputs: Mode_Territory_HintInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`বোর্ডের এলাকা দখল করুন`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Claim the board" |
20
+ *
21
+ * @param {Mode_Territory_HintInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const mode_territory_hint = /** @type {((inputs?: Mode_Territory_HintInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Mode_Territory_HintInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_mode_territory_hint(inputs)
28
+ return en_mode_territory_hint(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Avoidant multiplayer" |
5
+ *
6
+ * @param {Multiplayer_TitleInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const multiplayer_title: ((inputs?: Multiplayer_TitleInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Multiplayer_TitleInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Multiplayer_TitleInputs = {};
@@ -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 {{}} Multiplayer_TitleInputs */
7
+
8
+ const en_multiplayer_title = /** @type {(inputs: Multiplayer_TitleInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Avoidant multiplayer`)
10
+ };
11
+
12
+ const bn_multiplayer_title = /** @type {(inputs: Multiplayer_TitleInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`Avoidant বহুজন খেলা`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Avoidant multiplayer" |
20
+ *
21
+ * @param {Multiplayer_TitleInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const multiplayer_title = /** @type {((inputs?: Multiplayer_TitleInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Multiplayer_TitleInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_multiplayer_title(inputs)
28
+ return en_multiplayer_title(inputs)
29
+ });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Help: {label}" |
5
+ *
6
+ * @param {Option_HelpInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const option_help: ((inputs: Option_HelpInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Option_HelpInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Option_HelpInputs = {
17
+ label: NonNullable<unknown>;
18
+ };
@@ -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 {{ label: NonNullable<unknown> }} Option_HelpInputs */
7
+
8
+ const en_option_help = /** @type {(inputs: Option_HelpInputs) => LocalizedString} */ (i) => {
9
+ return /** @type {LocalizedString} */ (`Help: ${i?.label}`)
10
+ };
11
+
12
+ const bn_option_help = /** @type {(inputs: Option_HelpInputs) => LocalizedString} */ (i) => {
13
+ return /** @type {LocalizedString} */ (`সহায়তা: ${i?.label}`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Help: {label}" |
20
+ *
21
+ * @param {Option_HelpInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const option_help = /** @type {((inputs: Option_HelpInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Option_HelpInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_option_help(inputs)
28
+ return en_option_help(inputs)
29
+ });
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "module",
3
+ "sideEffects": false
4
+ }
@@ -24,6 +24,6 @@ const bn_preset_custom = /** @type {(inputs: Preset_CustomInputs) => LocalizedSt
24
24
  */
25
25
  export const preset_custom = /** @type {((inputs?: Preset_CustomInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Preset_CustomInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
26
  const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
- if (locale === "en") return en_preset_custom(inputs)
28
- return bn_preset_custom(inputs)
27
+ if (locale === "bn") return bn_preset_custom(inputs)
28
+ return en_preset_custom(inputs)
29
29
  });
@@ -24,6 +24,6 @@ const bn_preset_large = /** @type {(inputs: Preset_LargeInputs) => LocalizedStri
24
24
  */
25
25
  export const preset_large = /** @type {((inputs?: Preset_LargeInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Preset_LargeInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
26
  const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
- if (locale === "en") return en_preset_large(inputs)
28
- return bn_preset_large(inputs)
27
+ if (locale === "bn") return bn_preset_large(inputs)
28
+ return en_preset_large(inputs)
29
29
  });
@@ -24,6 +24,6 @@ const bn_preset_medium = /** @type {(inputs: Preset_MediumInputs) => LocalizedSt
24
24
  */
25
25
  export const preset_medium = /** @type {((inputs?: Preset_MediumInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Preset_MediumInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
26
  const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
- if (locale === "en") return en_preset_medium(inputs)
28
- return bn_preset_medium(inputs)
27
+ if (locale === "bn") return bn_preset_medium(inputs)
28
+ return en_preset_medium(inputs)
29
29
  });
@@ -24,6 +24,6 @@ const bn_preset_small = /** @type {(inputs: Preset_SmallInputs) => LocalizedStri
24
24
  */
25
25
  export const preset_small = /** @type {((inputs?: Preset_SmallInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Preset_SmallInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
26
  const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
- if (locale === "en") return en_preset_small(inputs)
28
- return bn_preset_small(inputs)
27
+ if (locale === "bn") return bn_preset_small(inputs)
28
+ return en_preset_small(inputs)
29
29
  });
@@ -2,11 +2,11 @@
2
2
  * | kind | output |
3
3
  * | --- | --- |
4
4
  * | "flat" | "Flat" |
5
- * | "tetrahedron" | "Tetrahedron (4 faces)" |
6
- * | "cube" | "Cube (6 faces)" |
7
- * | "octahedron" | "Octahedron (8 faces)" |
8
- * | "dodecahedron" | "Dodecahedron (12 faces)" |
9
- * | "icosahedron" | "Icosahedron (20 faces)" |
5
+ * | "tetrahedron" | "Tetrahedron" |
6
+ * | "cube" | "Cube" |
7
+ * | "octahedron" | "Octahedron" |
8
+ * | "dodecahedron" | "Dodecahedron" |
9
+ * | "icosahedron" | "Icosahedron" |
10
10
  * | "geodesicIcosphere" | "Geodesic icosphere" |
11
11
  * | "spheroid" | "Spheroid" |
12
12
  * | * | "{kind}" |
@@ -7,11 +7,11 @@ import { getLocale, experimentalStaticLocale } from '../runtime.js';
7
7
 
8
8
  const en_shape_label = /** @type {(inputs: Shape_LabelInputs) => LocalizedString} */ (i) => {
9
9
  if (i?.kind === "flat") return /** @type {LocalizedString} */ (`Flat`);
10
- if (i?.kind === "tetrahedron") return /** @type {LocalizedString} */ (`Tetrahedron (4 faces)`);
11
- if (i?.kind === "cube") return /** @type {LocalizedString} */ (`Cube (6 faces)`);
12
- if (i?.kind === "octahedron") return /** @type {LocalizedString} */ (`Octahedron (8 faces)`);
13
- if (i?.kind === "dodecahedron") return /** @type {LocalizedString} */ (`Dodecahedron (12 faces)`);
14
- if (i?.kind === "icosahedron") return /** @type {LocalizedString} */ (`Icosahedron (20 faces)`);
10
+ if (i?.kind === "tetrahedron") return /** @type {LocalizedString} */ (`Tetrahedron`);
11
+ if (i?.kind === "cube") return /** @type {LocalizedString} */ (`Cube`);
12
+ if (i?.kind === "octahedron") return /** @type {LocalizedString} */ (`Octahedron`);
13
+ if (i?.kind === "dodecahedron") return /** @type {LocalizedString} */ (`Dodecahedron`);
14
+ if (i?.kind === "icosahedron") return /** @type {LocalizedString} */ (`Icosahedron`);
15
15
  if (i?.kind === "geodesicIcosphere") return /** @type {LocalizedString} */ (`Geodesic icosphere`);
16
16
  if (i?.kind === "spheroid") return /** @type {LocalizedString} */ (`Spheroid`);
17
17
  return /** @type {LocalizedString} */ (`${i?.kind}`)
@@ -20,11 +20,11 @@ const en_shape_label = /** @type {(inputs: Shape_LabelInputs) => LocalizedString
20
20
 
21
21
  const bn_shape_label = /** @type {(inputs: Shape_LabelInputs) => LocalizedString} */ (i) => {
22
22
  if (i?.kind === "flat") return /** @type {LocalizedString} */ (`সমতল`);
23
- if (i?.kind === "tetrahedron") return /** @type {LocalizedString} */ (`টেট্রাহেড্রন (৪ মুখ)`);
24
- if (i?.kind === "cube") return /** @type {LocalizedString} */ (`ঘনক (৬ মুখ)`);
25
- if (i?.kind === "octahedron") return /** @type {LocalizedString} */ (`অষ্টভুজ (৮ মুখ)`);
26
- if (i?.kind === "dodecahedron") return /** @type {LocalizedString} */ (`দ্বাদশভুজ (১২ মুখ)`);
27
- if (i?.kind === "icosahedron") return /** @type {LocalizedString} */ (`বিংশভুজ (২০ মুখ)`);
23
+ if (i?.kind === "tetrahedron") return /** @type {LocalizedString} */ (`টেট্রাহেড্রন`);
24
+ if (i?.kind === "cube") return /** @type {LocalizedString} */ (`ঘনক`);
25
+ if (i?.kind === "octahedron") return /** @type {LocalizedString} */ (`অষ্টভুজ`);
26
+ if (i?.kind === "dodecahedron") return /** @type {LocalizedString} */ (`দ্বাদশভুজ`);
27
+ if (i?.kind === "icosahedron") return /** @type {LocalizedString} */ (`বিংশভুজ`);
28
28
  if (i?.kind === "geodesicIcosphere") return /** @type {LocalizedString} */ (`জিওডেসিক গোলক`);
29
29
  if (i?.kind === "spheroid") return /** @type {LocalizedString} */ (`গোলকাকার`);
30
30
  return /** @type {LocalizedString} */ (`${i?.kind}`)
@@ -35,11 +35,11 @@ const bn_shape_label = /** @type {(inputs: Shape_LabelInputs) => LocalizedString
35
35
  * | kind | output |
36
36
  * | --- | --- |
37
37
  * | "flat" | "Flat" |
38
- * | "tetrahedron" | "Tetrahedron (4 faces)" |
39
- * | "cube" | "Cube (6 faces)" |
40
- * | "octahedron" | "Octahedron (8 faces)" |
41
- * | "dodecahedron" | "Dodecahedron (12 faces)" |
42
- * | "icosahedron" | "Icosahedron (20 faces)" |
38
+ * | "tetrahedron" | "Tetrahedron" |
39
+ * | "cube" | "Cube" |
40
+ * | "octahedron" | "Octahedron" |
41
+ * | "dodecahedron" | "Dodecahedron" |
42
+ * | "icosahedron" | "Icosahedron" |
43
43
  * | "geodesicIcosphere" | "Geodesic icosphere" |
44
44
  * | "spheroid" | "Spheroid" |
45
45
  * | * | "{kind}" |
@@ -50,6 +50,6 @@ const bn_shape_label = /** @type {(inputs: Shape_LabelInputs) => LocalizedString
50
50
  */
51
51
  export const shape_label = /** @type {((inputs: Shape_LabelInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Shape_LabelInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
52
52
  const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
53
- if (locale === "en") return en_shape_label(inputs)
54
- return bn_shape_label(inputs)
53
+ if (locale === "bn") return bn_shape_label(inputs)
54
+ return en_shape_label(inputs)
55
55
  });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Connecting to the game…" |
5
+ *
6
+ * @param {Status_ConnectingInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const status_connecting: ((inputs?: Status_ConnectingInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_ConnectingInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Status_ConnectingInputs = {};
@@ -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 {{}} Status_ConnectingInputs */
7
+
8
+ const en_status_connecting = /** @type {(inputs: Status_ConnectingInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Connecting to the game…`)
10
+ };
11
+
12
+ const bn_status_connecting = /** @type {(inputs: Status_ConnectingInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`খেলার সঙ্গে সংযোগ হচ্ছে…`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Connecting to the game…" |
20
+ *
21
+ * @param {Status_ConnectingInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const status_connecting = /** @type {((inputs?: Status_ConnectingInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_ConnectingInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_status_connecting(inputs)
28
+ return en_status_connecting(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Draw" |
5
+ *
6
+ * @param {Status_DrawInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const status_draw: ((inputs?: Status_DrawInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_DrawInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Status_DrawInputs = {};
@@ -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 {{}} Status_DrawInputs */
7
+
8
+ const en_status_draw = /** @type {(inputs: Status_DrawInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Draw`)
10
+ };
11
+
12
+ const bn_status_draw = /** @type {(inputs: Status_DrawInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`ড্র`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Draw" |
20
+ *
21
+ * @param {Status_DrawInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const status_draw = /** @type {((inputs?: Status_DrawInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_DrawInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_status_draw(inputs)
28
+ return en_status_draw(inputs)
29
+ });
@@ -24,6 +24,6 @@ const bn_status_generating_map = /** @type {(inputs: Status_Generating_MapInputs
24
24
  */
25
25
  export const status_generating_map = /** @type {((inputs?: Status_Generating_MapInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Generating_MapInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
26
  const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
- if (locale === "en") return en_status_generating_map(inputs)
28
- return bn_status_generating_map(inputs)
27
+ if (locale === "bn") return bn_status_generating_map(inputs)
28
+ return en_status_generating_map(inputs)
29
29
  });
@@ -24,6 +24,6 @@ const bn_status_initialization_failed = /** @type {(inputs: Status_Initializatio
24
24
  */
25
25
  export const status_initialization_failed = /** @type {((inputs?: Status_Initialization_FailedInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Initialization_FailedInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
26
  const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
- if (locale === "en") return en_status_initialization_failed(inputs)
28
- return bn_status_initialization_failed(inputs)
27
+ if (locale === "bn") return bn_status_initialization_failed(inputs)
28
+ return en_status_initialization_failed(inputs)
29
29
  });
@@ -24,6 +24,6 @@ const bn_status_joining_game = /** @type {(inputs: Status_Joining_GameInputs) =>
24
24
  */
25
25
  export const status_joining_game = /** @type {((inputs?: Status_Joining_GameInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Joining_GameInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
26
  const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
- if (locale === "en") return en_status_joining_game(inputs)
28
- return bn_status_joining_game(inputs)
27
+ if (locale === "bn") return bn_status_joining_game(inputs)
28
+ return en_status_joining_game(inputs)
29
29
  });
@@ -24,6 +24,6 @@ const bn_status_loading = /** @type {(inputs: Status_LoadingInputs) => Localized
24
24
  */
25
25
  export const status_loading = /** @type {((inputs?: Status_LoadingInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_LoadingInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
26
  const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
- if (locale === "en") return en_status_loading(inputs)
28
- return bn_status_loading(inputs)
27
+ if (locale === "bn") return bn_status_loading(inputs)
28
+ return en_status_loading(inputs)
29
29
  });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Match complete" |
5
+ *
6
+ * @param {Status_Match_CompleteInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const status_match_complete: ((inputs?: Status_Match_CompleteInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_Match_CompleteInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Status_Match_CompleteInputs = {};
@@ -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 {{}} Status_Match_CompleteInputs */
7
+
8
+ const en_status_match_complete = /** @type {(inputs: Status_Match_CompleteInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Match complete`)
10
+ };
11
+
12
+ const bn_status_match_complete = /** @type {(inputs: Status_Match_CompleteInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`খেলা শেষ`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Match complete" |
20
+ *
21
+ * @param {Status_Match_CompleteInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const status_match_complete = /** @type {((inputs?: Status_Match_CompleteInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Match_CompleteInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_status_match_complete(inputs)
28
+ return en_status_match_complete(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Match expired" |
5
+ *
6
+ * @param {Status_Match_ExpiredInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const status_match_expired: ((inputs?: Status_Match_ExpiredInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_Match_ExpiredInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Status_Match_ExpiredInputs = {};
@@ -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 {{}} Status_Match_ExpiredInputs */
7
+
8
+ const en_status_match_expired = /** @type {(inputs: Status_Match_ExpiredInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Match expired`)
10
+ };
11
+
12
+ const bn_status_match_expired = /** @type {(inputs: Status_Match_ExpiredInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`খেলার মেয়াদ শেষ হয়েছে`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Match expired" |
20
+ *
21
+ * @param {Status_Match_ExpiredInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const status_match_expired = /** @type {((inputs?: Status_Match_ExpiredInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Match_ExpiredInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_status_match_expired(inputs)
28
+ return en_status_match_expired(inputs)
29
+ });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "Name saved" |
5
+ *
6
+ * @param {Status_Name_SavedInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const status_name_saved: ((inputs?: Status_Name_SavedInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_Name_SavedInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Status_Name_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 {{}} Status_Name_SavedInputs */
7
+
8
+ const en_status_name_saved = /** @type {(inputs: Status_Name_SavedInputs) => LocalizedString} */ () => {
9
+ return /** @type {LocalizedString} */ (`Name saved`)
10
+ };
11
+
12
+ const bn_status_name_saved = /** @type {(inputs: Status_Name_SavedInputs) => LocalizedString} */ () => {
13
+ return /** @type {LocalizedString} */ (`নাম সংরক্ষিত হয়েছে`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "Name saved" |
20
+ *
21
+ * @param {Status_Name_SavedInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const status_name_saved = /** @type {((inputs?: Status_Name_SavedInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Name_SavedInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_status_name_saved(inputs)
28
+ return en_status_name_saved(inputs)
29
+ });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * | output |
3
+ * | --- |
4
+ * | "{name}'s turn" |
5
+ *
6
+ * @param {Status_Named_TurnInputs} inputs
7
+ * @param {{ locale?: "en" | "bn" }} options
8
+ * @returns {LocalizedString}
9
+ */
10
+ export const status_named_turn: ((inputs: Status_Named_TurnInputs, options?: {
11
+ locale?: "en" | "bn";
12
+ }) => LocalizedString) & import("../runtime.js").MessageMetadata<Status_Named_TurnInputs, {
13
+ locale?: "en" | "bn";
14
+ }, {}>;
15
+ export type LocalizedString = import("../runtime.js").LocalizedString;
16
+ export type Status_Named_TurnInputs = {
17
+ name: NonNullable<unknown>;
18
+ };
@@ -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 {{ name: NonNullable<unknown> }} Status_Named_TurnInputs */
7
+
8
+ const en_status_named_turn = /** @type {(inputs: Status_Named_TurnInputs) => LocalizedString} */ (i) => {
9
+ return /** @type {LocalizedString} */ (`${i?.name}'s turn`)
10
+ };
11
+
12
+ const bn_status_named_turn = /** @type {(inputs: Status_Named_TurnInputs) => LocalizedString} */ (i) => {
13
+ return /** @type {LocalizedString} */ (`${i?.name}-এর পালা`)
14
+ };
15
+
16
+ /**
17
+ * | output |
18
+ * | --- |
19
+ * | "{name}'s turn" |
20
+ *
21
+ * @param {Status_Named_TurnInputs} inputs
22
+ * @param {{ locale?: "en" | "bn" }} options
23
+ * @returns {LocalizedString}
24
+ */
25
+ export const status_named_turn = /** @type {((inputs: Status_Named_TurnInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Status_Named_TurnInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
26
+ const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
27
+ if (locale === "bn") return bn_status_named_turn(inputs)
28
+ return en_status_named_turn(inputs)
29
+ });