@krizaka/ui 3.55.0 → 3.60.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 (610) hide show
  1. package/README.md +1 -0
  2. package/dist/{RotatingWord-D9s7FXFD.d.ts → RotatingWord-COSabR2c.d.ts} +2 -1
  3. package/dist/account-menu.d.ts +2 -1
  4. package/dist/account-settings.d.ts +153 -61
  5. package/dist/account-settings.js +240 -97
  6. package/dist/account-settings.js.map +1 -1
  7. package/dist/achievement.d.ts +2 -1
  8. package/dist/action-bar.d.ts +3 -2
  9. package/dist/activity-feed.d.ts +2 -1
  10. package/dist/agenda.d.ts +2 -1
  11. package/dist/alert.d.ts +2 -1
  12. package/dist/anatomy-plate.d.ts +2 -1
  13. package/dist/app-header/search.d.ts +8 -7
  14. package/dist/app-header.d.ts +2 -1
  15. package/dist/app-shell.d.ts +26 -25
  16. package/dist/argument-card.d.ts +3 -2
  17. package/dist/audio-player.d.ts +2 -1
  18. package/dist/auth-layout.d.ts +11 -10
  19. package/dist/avatar/defaults.d.ts +2 -1
  20. package/dist/avatar.d.ts +2 -1
  21. package/dist/badge.d.ts +2 -1
  22. package/dist/bird-plate.d.ts +4 -2
  23. package/dist/blocks.css +183 -4
  24. package/dist/button.d.ts +2 -1
  25. package/dist/captcha.d.ts +2 -1
  26. package/dist/captcha.js +1 -0
  27. package/dist/captcha.js.map +1 -1
  28. package/dist/card-grid.d.ts +2 -1
  29. package/dist/card.d.ts +2 -1
  30. package/dist/catalogue-page.d.ts +82 -2
  31. package/dist/catalogue-page.js +156 -13
  32. package/dist/catalogue-page.js.map +1 -1
  33. package/dist/changelog-page.d.ts +2 -1
  34. package/dist/chapter.d.ts +2 -1
  35. package/dist/chat.d.ts +14 -13
  36. package/dist/checkbox.d.ts +2 -1
  37. package/dist/chip-link.d.ts +2 -1
  38. package/dist/chip-row.d.ts +8 -7
  39. package/dist/chip.d.ts +55 -1
  40. package/dist/chip.js +10 -1
  41. package/dist/choice-grid.d.ts +3 -2
  42. package/dist/chunk-27AWSJTK.js +46 -0
  43. package/dist/chunk-27AWSJTK.js.map +1 -0
  44. package/dist/chunk-44FU32KP.js +2 -0
  45. package/dist/chunk-44FU32KP.js.map +1 -0
  46. package/dist/{chunk-AEP3K4YD.js → chunk-4GQH27IT.js} +2 -2
  47. package/dist/{chunk-QWKCNSPF.js → chunk-5LANVCK7.js} +125 -73
  48. package/dist/chunk-5LANVCK7.js.map +1 -0
  49. package/dist/{chunk-KDXRYUD3.js → chunk-5QEXOGO2.js} +3 -1
  50. package/dist/{chunk-KDXRYUD3.js.map → chunk-5QEXOGO2.js.map} +1 -1
  51. package/dist/chunk-7J2L4HOD.js +340 -0
  52. package/dist/chunk-7J2L4HOD.js.map +1 -0
  53. package/dist/{chunk-7U5TXA5Q.js → chunk-BQ4EOR2O.js} +74 -2
  54. package/dist/chunk-BQ4EOR2O.js.map +1 -0
  55. package/dist/chunk-F6JTHPHE.js +399 -0
  56. package/dist/chunk-F6JTHPHE.js.map +1 -0
  57. package/dist/chunk-OGWB76BR.js +90 -0
  58. package/dist/chunk-OGWB76BR.js.map +1 -0
  59. package/dist/{chunk-VIPSZXO4.js → chunk-UYGUSYIC.js} +72 -2
  60. package/dist/chunk-UYGUSYIC.js.map +1 -0
  61. package/dist/chunk-WOZP3JLW.js +51 -0
  62. package/dist/chunk-WOZP3JLW.js.map +1 -0
  63. package/dist/chunk-XVXFMVG3.js +27 -0
  64. package/dist/chunk-XVXFMVG3.js.map +1 -0
  65. package/dist/code-block.d.ts +2 -1
  66. package/dist/combobox.d.ts +20 -19
  67. package/dist/combobox.js +3 -2
  68. package/dist/command.d.ts +21 -20
  69. package/dist/comparison-table.d.ts +2 -1
  70. package/dist/component-page.d.ts +2 -1
  71. package/dist/confirm-button.d.ts +2 -1
  72. package/dist/contact-page.d.ts +2 -1
  73. package/dist/continue-prompt.d.ts +2 -1
  74. package/dist/countdown.d.ts +2 -1
  75. package/dist/cover-hero.d.ts +20 -19
  76. package/dist/cover-hero.js +25 -42
  77. package/dist/cover-hero.js.map +1 -1
  78. package/dist/cta-panel.d.ts +2 -1
  79. package/dist/dashboard-layout.d.ts +50 -2
  80. package/dist/dashboard-layout.js +66 -11
  81. package/dist/dashboard-layout.js.map +1 -1
  82. package/dist/data-table.d.ts +45 -2
  83. package/dist/data-table.js +7 -3
  84. package/dist/date-picker.d.ts +29 -28
  85. package/dist/decision-list.d.ts +2 -1
  86. package/dist/description-list.d.ts +2 -1
  87. package/dist/detail-layout.d.ts +153 -20
  88. package/dist/detail-layout.js +73 -4
  89. package/dist/detail-layout.js.map +1 -1
  90. package/dist/{dialog-D42QwYb_.d.ts → dialog-DpUwec2g.d.ts} +2 -1
  91. package/dist/dialog.d.ts +3 -2
  92. package/dist/docs-article-page.d.ts +2 -1
  93. package/dist/docs-hub-page.d.ts +2 -1
  94. package/dist/docs-layout.d.ts +2 -1
  95. package/dist/docs-nav.d.ts +3 -10
  96. package/dist/document-viewer.d.ts +5 -4
  97. package/dist/doodle.d.ts +17 -6
  98. package/dist/doodle.js +40 -9
  99. package/dist/doodle.js.map +1 -1
  100. package/dist/drop-overlay.d.ts +2 -1
  101. package/dist/dropdown-menu.d.ts +2 -1
  102. package/dist/dropdown-menu.js +13 -74
  103. package/dist/dropdown-menu.js.map +1 -1
  104. package/dist/elephant.d.ts +2 -1
  105. package/dist/empty-state.d.ts +2 -1
  106. package/dist/engine-flow.d.ts +2 -1
  107. package/dist/error-page.d.ts +2 -1
  108. package/dist/file-upload.d.ts +16 -15
  109. package/dist/filter-bar.d.ts +84 -11
  110. package/dist/filter-bar.js +6 -2
  111. package/dist/flock.d.ts +3 -2
  112. package/dist/footnote.d.ts +2 -1
  113. package/dist/force-update-screen.d.ts +8 -7
  114. package/dist/form/server.d.ts +2 -1
  115. package/dist/form.d.ts +2 -1
  116. package/dist/gallery-page.d.ts +2 -1
  117. package/dist/genui.d.ts +2 -1
  118. package/dist/genui.js +3 -3
  119. package/dist/{geometry-DX-W-Yyf.d.ts → geometry-DZ4Q3hDQ.d.ts} +2 -1
  120. package/dist/glossary-term.d.ts +2 -1
  121. package/dist/glossary.d.ts +2 -1
  122. package/dist/glow-card.d.ts +2 -1
  123. package/dist/goal-gauge.d.ts +2 -1
  124. package/dist/grade-stamp.d.ts +23 -0
  125. package/dist/grade-stamp.js +42 -0
  126. package/dist/grade-stamp.js.map +1 -0
  127. package/dist/how-it-works-page.d.ts +2 -1
  128. package/dist/image-cropper.d.ts +5 -4
  129. package/dist/index.d.ts +3 -2
  130. package/dist/index.js +4 -4
  131. package/dist/iso.d.ts +2 -1
  132. package/dist/kanban.d.ts +2 -1
  133. package/dist/kbd.d.ts +2 -1
  134. package/dist/kind-config-editor.d.ts +152 -0
  135. package/dist/kind-config-editor.js +574 -0
  136. package/dist/kind-config-editor.js.map +1 -0
  137. package/dist/kpi-explained.d.ts +2 -1
  138. package/dist/landing-page.d.ts +2 -1
  139. package/dist/landscape.d.ts +2 -1
  140. package/dist/language-switch/server.d.ts +2 -1
  141. package/dist/language-switch.d.ts +11 -10
  142. package/dist/legal-page.d.ts +2 -1
  143. package/dist/link-card.d.ts +2 -1
  144. package/dist/list.d.ts +2 -1
  145. package/dist/loader.d.ts +2 -1
  146. package/dist/longform-page.d.ts +2 -1
  147. package/dist/maintenance-screen.d.ts +5 -4
  148. package/dist/map.d.ts +14 -13
  149. package/dist/map.js +24 -0
  150. package/dist/map.js.map +1 -1
  151. package/dist/markdown.d.ts +2 -1
  152. package/dist/marketing-layout.d.ts +5 -4
  153. package/dist/marquee.d.ts +2 -1
  154. package/dist/mascot-quote.d.ts +2 -1
  155. package/dist/mascot-state.d.ts +3 -2
  156. package/dist/mascots.d.ts +4 -3
  157. package/dist/match-dialog.d.ts +2 -1
  158. package/dist/media-capture.d.ts +5 -4
  159. package/dist/media-gallery.d.ts +2 -1
  160. package/dist/media-grid.d.ts +3 -10
  161. package/dist/meta-row.d.ts +2 -1
  162. package/dist/meter.d.ts +2 -1
  163. package/dist/motion.d.ts +3 -2
  164. package/dist/native/form.d.ts +2 -1
  165. package/dist/native/list.d.ts +2 -1
  166. package/dist/native/map.d.ts +2 -1
  167. package/dist/native/map.js +24 -0
  168. package/dist/native/map.js.map +1 -1
  169. package/dist/native/markdown.d.ts +2 -1
  170. package/dist/native/media-capture.d.ts +2 -1
  171. package/dist/native/media-picker.d.ts +2 -1
  172. package/dist/native/vertical-video.d.ts +2 -1
  173. package/dist/native/video-player.d.ts +2 -1
  174. package/dist/native.d.ts +230 -1
  175. package/dist/native.js +1465 -965
  176. package/dist/native.js.map +1 -1
  177. package/dist/nav-bar/me.d.ts +2 -1
  178. package/dist/nav-bar.d.ts +2 -1
  179. package/dist/next-actions.d.ts +2 -1
  180. package/dist/notification-preferences.d.ts +23 -22
  181. package/dist/notification-preferences.js +4 -3
  182. package/dist/notification-preferences.js.map +1 -1
  183. package/dist/number-ticker.d.ts +2 -1
  184. package/dist/opening-hours.d.ts +2 -1
  185. package/dist/page-header.d.ts +2 -1
  186. package/dist/page-hero.d.ts +2 -1
  187. package/dist/page-index.d.ts +2 -1
  188. package/dist/page.d.ts +2 -1
  189. package/dist/pagination.d.ts +2 -1
  190. package/dist/photo-grid.d.ts +2 -1
  191. package/dist/pointer-light.d.ts +2 -1
  192. package/dist/popover.d.ts +2 -1
  193. package/dist/pricing-page.d.ts +2 -1
  194. package/dist/product-page.d.ts +2 -1
  195. package/dist/profile-card.d.ts +2 -1
  196. package/dist/progress.d.ts +2 -1
  197. package/dist/promise-card.d.ts +2 -1
  198. package/dist/quota-meter.d.ts +2 -1
  199. package/dist/radio-group.d.ts +2 -1
  200. package/dist/radio-group.js +3 -3
  201. package/dist/rail-nav.d.ts +17 -16
  202. package/dist/rail-nav.js +22 -56
  203. package/dist/rail-nav.js.map +1 -1
  204. package/dist/recipes.d.ts +2 -1
  205. package/dist/retro-tv.d.ts +2 -1
  206. package/dist/router.d.ts +2 -1
  207. package/dist/scroll-stage.d.ts +2 -1
  208. package/dist/search-field.d.ts +2 -1
  209. package/dist/section-backdrop.d.ts +2 -1
  210. package/dist/separator.d.ts +2 -1
  211. package/dist/service-card.d.ts +9 -8
  212. package/dist/settings-layout.d.ts +2 -1
  213. package/dist/settings-layout.js +10 -324
  214. package/dist/settings-layout.js.map +1 -1
  215. package/dist/showcase.d.ts +2 -1
  216. package/dist/signature.d.ts +2 -1
  217. package/dist/site-cahier.d.ts +187 -0
  218. package/dist/site-cahier.js +844 -0
  219. package/dist/site-cahier.js.map +1 -0
  220. package/dist/site-footer.d.ts +2 -1
  221. package/dist/sites.d.ts +2 -1
  222. package/dist/skeleton.d.ts +2 -1
  223. package/dist/skip-link.d.ts +2 -1
  224. package/dist/slider.d.ts +2 -1
  225. package/dist/slot-picker.d.ts +86 -13
  226. package/dist/slot-picker.js +98 -16
  227. package/dist/slot-picker.js.map +1 -1
  228. package/dist/specimen-tag.d.ts +2 -1
  229. package/dist/speed-lines.d.ts +19 -0
  230. package/dist/speed-lines.js +45 -0
  231. package/dist/speed-lines.js.map +1 -0
  232. package/dist/spinner.d.ts +2 -1
  233. package/dist/split-view.d.ts +2 -1
  234. package/dist/stage-banner.d.ts +2 -1
  235. package/dist/stat.d.ts +2 -1
  236. package/dist/status-chip.d.ts +44 -0
  237. package/dist/status-chip.js +137 -0
  238. package/dist/status-chip.js.map +1 -0
  239. package/dist/status-page.d.ts +2 -1
  240. package/dist/step-progress.d.ts +2 -1
  241. package/dist/step-showcase.d.ts +2 -1
  242. package/dist/stepper.d.ts +2 -1
  243. package/dist/sticky-action.d.ts +28 -5
  244. package/dist/sticky-action.js +10 -4
  245. package/dist/sticky-action.js.map +1 -1
  246. package/dist/stuck.d.ts +2 -1
  247. package/dist/swipe-deck.d.ts +2 -1
  248. package/dist/switch.d.ts +2 -1
  249. package/dist/tabs.d.ts +2 -1
  250. package/dist/tag-input.d.ts +2 -1
  251. package/dist/tag-input.js +3 -2
  252. package/dist/tag-input.js.map +1 -1
  253. package/dist/tag-selector.d.ts +30 -4
  254. package/dist/tag-selector.js +90 -8
  255. package/dist/tag-selector.js.map +1 -1
  256. package/dist/taped-photo.d.ts +2 -1
  257. package/dist/taped-photo.js +4 -20
  258. package/dist/taped-photo.js.map +1 -1
  259. package/dist/terminal-replay.d.ts +2 -1
  260. package/dist/terminal-replay.js +1 -1
  261. package/dist/text-style/server.d.ts +2 -1
  262. package/dist/text-style.d.ts +2 -1
  263. package/dist/theme.d.ts +21 -1
  264. package/dist/theme.js +37 -1
  265. package/dist/theme.js.map +1 -1
  266. package/dist/toast.d.ts +2 -1
  267. package/dist/toc.d.ts +2 -1
  268. package/dist/tooltip.d.ts +2 -1
  269. package/dist/tree-view.d.ts +2 -1
  270. package/dist/update-prompt.d.ts +11 -10
  271. package/dist/upload-queue.d.ts +2 -1
  272. package/dist/verified-badge.d.ts +2 -1
  273. package/dist/versus-card.d.ts +40 -0
  274. package/dist/versus-card.js +40 -0
  275. package/dist/versus-card.js.map +1 -0
  276. package/dist/vertical-video.d.ts +2 -1
  277. package/dist/video-player.d.ts +20 -19
  278. package/dist/video-trimmer.d.ts +2 -1
  279. package/dist/virtual.d.ts +8 -7
  280. package/dist/wall.d.ts +79 -0
  281. package/dist/wall.js +127 -0
  282. package/dist/wall.js.map +1 -0
  283. package/dist/waveform.d.ts +2 -1
  284. package/package.json +140 -41
  285. package/registry/account-menu.json +1 -1
  286. package/registry/account-settings.json +257 -5
  287. package/registry/achievement.json +1 -1
  288. package/registry/action-bar.json +1 -1
  289. package/registry/activity-feed.json +1 -1
  290. package/registry/agenda.json +1 -1
  291. package/registry/alert.json +1 -1
  292. package/registry/anatomy-plate.json +1 -1
  293. package/registry/app-header.json +1 -1
  294. package/registry/app-shell.json +1 -1
  295. package/registry/argument-card.json +1 -1
  296. package/registry/audio-player.json +1 -1
  297. package/registry/auth-layout.json +1 -1
  298. package/registry/avatar.json +1 -1
  299. package/registry/badge.json +1 -1
  300. package/registry/bird-plate.json +1 -1
  301. package/registry/button.json +1 -1
  302. package/registry/captcha.json +1 -1
  303. package/registry/card-grid.json +1 -1
  304. package/registry/card.json +1 -1
  305. package/registry/catalogue-page.json +116 -6
  306. package/registry/changelog-page.json +1 -1
  307. package/registry/chapter.json +1 -1
  308. package/registry/chat.json +1 -1
  309. package/registry/checkbox.json +1 -1
  310. package/registry/chip-link.json +1 -1
  311. package/registry/chip-row.json +1 -1
  312. package/registry/chip.json +386 -11
  313. package/registry/choice-grid.json +1 -1
  314. package/registry/code-block.json +1 -1
  315. package/registry/combobox.json +1 -1
  316. package/registry/command.json +1 -1
  317. package/registry/comparison-table.json +1 -1
  318. package/registry/component-page.json +1 -1
  319. package/registry/confirm-button.json +1 -1
  320. package/registry/contact-page.json +1 -1
  321. package/registry/continue-prompt.json +1 -1
  322. package/registry/countdown.json +1 -1
  323. package/registry/cover-hero.json +1 -1
  324. package/registry/cta-panel.json +1 -1
  325. package/registry/dashboard-layout.json +91 -5
  326. package/registry/data-table.json +156 -5
  327. package/registry/date-picker.json +1 -1
  328. package/registry/decision-list.json +1 -1
  329. package/registry/description-list.json +1 -1
  330. package/registry/detail-layout.json +199 -5
  331. package/registry/dialog.json +1 -1
  332. package/registry/docs-article-page.json +1 -1
  333. package/registry/docs-hub-page.json +1 -1
  334. package/registry/docs-layout.json +1 -1
  335. package/registry/docs-nav.json +1 -1
  336. package/registry/document-viewer.json +1 -1
  337. package/registry/doodle.json +115 -22
  338. package/registry/drop-overlay.json +1 -1
  339. package/registry/dropdown-menu.json +1 -1
  340. package/registry/elephant.json +2 -2
  341. package/registry/empty-state.json +1 -1
  342. package/registry/engine-flow.json +1 -1
  343. package/registry/error-page.json +1 -1
  344. package/registry/examples/account-settings/appearance.d.ts +4 -0
  345. package/registry/examples/account-settings/appearance.js +40 -0
  346. package/registry/examples/account-settings/appearance.tsx +30 -0
  347. package/registry/examples/catalogue-page/clients.d.ts +4 -0
  348. package/registry/examples/catalogue-page/clients.js +49 -0
  349. package/registry/examples/catalogue-page/clients.tsx +61 -0
  350. package/registry/examples/chip/marker-picker.d.ts +4 -0
  351. package/registry/examples/chip/marker-picker.js +17 -0
  352. package/registry/examples/chip/marker-picker.tsx +17 -0
  353. package/registry/examples/chip/native/marker-picker.d.ts +4 -0
  354. package/registry/examples/chip/native/marker-picker.dark.png +0 -0
  355. package/registry/examples/chip/native/marker-picker.js +18 -0
  356. package/registry/examples/chip/native/marker-picker.light.png +0 -0
  357. package/registry/examples/chip/native/marker-picker.tsx +16 -0
  358. package/registry/examples/chip/native/tags.d.ts +4 -0
  359. package/registry/examples/chip/native/tags.dark.png +0 -0
  360. package/registry/examples/chip/native/tags.js +22 -0
  361. package/registry/examples/chip/native/tags.light.png +0 -0
  362. package/registry/examples/chip/native/tags.tsx +20 -0
  363. package/registry/examples/chip/tags.d.ts +4 -0
  364. package/registry/examples/chip/tags.js +26 -0
  365. package/registry/examples/chip/tags.tsx +23 -0
  366. package/registry/examples/dashboard-layout/today.d.ts +4 -0
  367. package/registry/examples/dashboard-layout/today.js +54 -0
  368. package/registry/examples/dashboard-layout/today.tsx +63 -0
  369. package/registry/examples/data-table/bulk.d.ts +4 -0
  370. package/registry/examples/data-table/bulk.js +45 -0
  371. package/registry/examples/data-table/bulk.tsx +34 -0
  372. package/registry/examples/detail-layout/client.d.ts +4 -0
  373. package/registry/examples/detail-layout/client.js +40 -0
  374. package/registry/examples/detail-layout/client.tsx +39 -0
  375. package/registry/examples/detail-layout/new-invoice.d.ts +4 -0
  376. package/registry/examples/detail-layout/new-invoice.js +44 -0
  377. package/registry/examples/detail-layout/new-invoice.tsx +34 -0
  378. package/registry/examples/doodle/bird-sketch.d.ts +4 -0
  379. package/registry/examples/doodle/bird-sketch.js +11 -0
  380. package/registry/examples/doodle/bird-sketch.tsx +12 -0
  381. package/registry/examples/doodle/margin-marks.d.ts +4 -0
  382. package/registry/examples/doodle/margin-marks.js +27 -0
  383. package/registry/examples/doodle/margin-marks.tsx +19 -0
  384. package/registry/examples/filter-bar/views.d.ts +4 -0
  385. package/registry/examples/filter-bar/views.js +39 -0
  386. package/registry/examples/filter-bar/views.tsx +30 -0
  387. package/registry/examples/grade-stamp/coverage.d.ts +4 -0
  388. package/registry/examples/grade-stamp/coverage.js +12 -0
  389. package/registry/examples/grade-stamp/coverage.tsx +8 -0
  390. package/registry/examples/grade-stamp/lighthouse.d.ts +4 -0
  391. package/registry/examples/grade-stamp/lighthouse.js +12 -0
  392. package/registry/examples/grade-stamp/lighthouse.tsx +14 -0
  393. package/registry/examples/kind-config-editor/derived.d.ts +4 -0
  394. package/registry/examples/kind-config-editor/derived.js +26 -0
  395. package/registry/examples/kind-config-editor/derived.tsx +16 -0
  396. package/registry/examples/kind-config-editor/native/status-set.d.ts +4 -0
  397. package/registry/examples/kind-config-editor/native/status-set.dark.png +0 -0
  398. package/registry/examples/kind-config-editor/native/status-set.js +22 -0
  399. package/registry/examples/kind-config-editor/native/status-set.light.png +0 -0
  400. package/registry/examples/kind-config-editor/native/status-set.tsx +19 -0
  401. package/registry/examples/kind-config-editor/native/tag-set.d.ts +4 -0
  402. package/registry/examples/kind-config-editor/native/tag-set.dark.png +0 -0
  403. package/registry/examples/kind-config-editor/native/tag-set.js +20 -0
  404. package/registry/examples/kind-config-editor/native/tag-set.light.png +0 -0
  405. package/registry/examples/kind-config-editor/native/tag-set.tsx +18 -0
  406. package/registry/examples/kind-config-editor/status-set.d.ts +4 -0
  407. package/registry/examples/kind-config-editor/status-set.js +29 -0
  408. package/registry/examples/kind-config-editor/status-set.tsx +25 -0
  409. package/registry/examples/kind-config-editor/tag-set.d.ts +4 -0
  410. package/registry/examples/kind-config-editor/tag-set.js +20 -0
  411. package/registry/examples/kind-config-editor/tag-set.tsx +18 -0
  412. package/registry/examples/site-cahier/java-releases.d.ts +4 -0
  413. package/registry/examples/site-cahier/java-releases.js +33 -0
  414. package/registry/examples/site-cahier/java-releases.tsx +32 -0
  415. package/registry/examples/site-cahier/motion-lab.d.ts +4 -0
  416. package/registry/examples/site-cahier/motion-lab.js +32 -0
  417. package/registry/examples/site-cahier/motion-lab.tsx +29 -0
  418. package/registry/examples/site-cahier/ts-changelog.d.ts +4 -0
  419. package/registry/examples/site-cahier/ts-changelog.js +24 -0
  420. package/registry/examples/site-cahier/ts-changelog.tsx +20 -0
  421. package/registry/examples/site-cahier/ts-doc.d.ts +4 -0
  422. package/registry/examples/site-cahier/ts-doc.js +38 -0
  423. package/registry/examples/site-cahier/ts-doc.tsx +27 -0
  424. package/registry/examples/site-cahier/ui-home.d.ts +4 -0
  425. package/registry/examples/site-cahier/ui-home.js +46 -0
  426. package/registry/examples/site-cahier/ui-home.tsx +40 -0
  427. package/registry/examples/slot-picker/weeks.d.ts +4 -0
  428. package/registry/examples/slot-picker/weeks.js +45 -0
  429. package/registry/examples/slot-picker/weeks.tsx +28 -0
  430. package/registry/examples/speed-lines/hero.d.ts +4 -0
  431. package/registry/examples/speed-lines/hero.js +11 -0
  432. package/registry/examples/speed-lines/hero.tsx +12 -0
  433. package/registry/examples/speed-lines/streaks.d.ts +4 -0
  434. package/registry/examples/speed-lines/streaks.js +11 -0
  435. package/registry/examples/speed-lines/streaks.tsx +12 -0
  436. package/registry/examples/status-chip/default.d.ts +4 -0
  437. package/registry/examples/status-chip/default.js +35 -0
  438. package/registry/examples/status-chip/default.tsx +32 -0
  439. package/registry/examples/status-chip/native/default.d.ts +4 -0
  440. package/registry/examples/status-chip/native/default.dark.png +0 -0
  441. package/registry/examples/status-chip/native/default.js +26 -0
  442. package/registry/examples/status-chip/native/default.light.png +0 -0
  443. package/registry/examples/status-chip/native/default.tsx +20 -0
  444. package/registry/examples/tag-selector/creatable.d.ts +4 -0
  445. package/registry/examples/tag-selector/creatable.js +41 -0
  446. package/registry/examples/tag-selector/creatable.tsx +29 -0
  447. package/registry/examples/tag-selector/native/tags.d.ts +4 -0
  448. package/registry/examples/tag-selector/native/tags.dark.png +0 -0
  449. package/registry/examples/tag-selector/native/tags.js +19 -0
  450. package/registry/examples/tag-selector/native/tags.light.png +0 -0
  451. package/registry/examples/tag-selector/native/tags.tsx +19 -0
  452. package/registry/examples/versus-card/alternatives.d.ts +4 -0
  453. package/registry/examples/versus-card/alternatives.js +20 -0
  454. package/registry/examples/versus-card/alternatives.tsx +14 -0
  455. package/registry/examples/versus-card/releases.d.ts +4 -0
  456. package/registry/examples/versus-card/releases.js +35 -0
  457. package/registry/examples/versus-card/releases.tsx +29 -0
  458. package/registry/examples/wall/brick.d.ts +4 -0
  459. package/registry/examples/wall/brick.js +14 -0
  460. package/registry/examples/wall/brick.tsx +8 -0
  461. package/registry/examples/wall/composition-fr.d.ts +4 -0
  462. package/registry/examples/wall/composition-fr.js +37 -0
  463. package/registry/examples/wall/composition-fr.tsx +18 -0
  464. package/registry/examples/wall/composition.d.ts +4 -0
  465. package/registry/examples/wall/composition.js +38 -0
  466. package/registry/examples/wall/composition.tsx +18 -0
  467. package/registry/examples/wall/pinned-note.d.ts +4 -0
  468. package/registry/examples/wall/pinned-note.js +15 -0
  469. package/registry/examples/wall/pinned-note.tsx +9 -0
  470. package/registry/examples/wall/plaster.d.ts +4 -0
  471. package/registry/examples/wall/plaster.js +14 -0
  472. package/registry/examples/wall/plaster.tsx +8 -0
  473. package/registry/examples/wall/polaroid.d.ts +4 -0
  474. package/registry/examples/wall/polaroid.js +19 -0
  475. package/registry/examples/wall/polaroid.tsx +10 -0
  476. package/registry/examples/wall/ridge.d.ts +4 -0
  477. package/registry/examples/wall/ridge.js +14 -0
  478. package/registry/examples/wall/ridge.tsx +8 -0
  479. package/registry/examples/wall/shop-sign.d.ts +4 -0
  480. package/registry/examples/wall/shop-sign.js +16 -0
  481. package/registry/examples/wall/shop-sign.tsx +10 -0
  482. package/registry/examples/wall/zellige.d.ts +4 -0
  483. package/registry/examples/wall/zellige.js +14 -0
  484. package/registry/examples/wall/zellige.tsx +8 -0
  485. package/registry/field.json +1 -1
  486. package/registry/file-upload.json +1 -1
  487. package/registry/filter-bar.json +208 -8
  488. package/registry/flock.json +1 -1
  489. package/registry/footnote.json +1 -1
  490. package/registry/force-update-screen.json +1 -1
  491. package/registry/form.json +1 -1
  492. package/registry/gallery-page.json +1 -1
  493. package/registry/genui.json +1 -1
  494. package/registry/glossary-term.json +1 -1
  495. package/registry/glossary.json +1 -1
  496. package/registry/glow-card.json +1 -1
  497. package/registry/goal-gauge.json +1 -1
  498. package/registry/grade-stamp.json +227 -0
  499. package/registry/how-it-works-page.json +1 -1
  500. package/registry/image-cropper.json +1 -1
  501. package/registry/index.json +355 -30
  502. package/registry/iso.json +1 -1
  503. package/registry/kanban.json +1 -1
  504. package/registry/kbd.json +1 -1
  505. package/registry/kind-config-editor.json +565 -0
  506. package/registry/kpi-explained.json +1 -1
  507. package/registry/landing-page.json +1 -1
  508. package/registry/landscape.json +1 -1
  509. package/registry/language-switch.json +1 -1
  510. package/registry/legal-page.json +1 -1
  511. package/registry/link-card.json +1 -1
  512. package/registry/list.json +1 -1
  513. package/registry/loader.json +1 -1
  514. package/registry/longform-page.json +1 -1
  515. package/registry/maintenance-screen.json +1 -1
  516. package/registry/map.json +2 -2
  517. package/registry/markdown.json +1 -1
  518. package/registry/marketing-layout.json +1 -1
  519. package/registry/marquee.json +1 -1
  520. package/registry/mascot-quote.json +1 -1
  521. package/registry/mascot-state.json +1 -1
  522. package/registry/mascots.json +1 -1
  523. package/registry/match-dialog.json +1 -1
  524. package/registry/media-capture.json +1 -1
  525. package/registry/media-gallery.json +1 -1
  526. package/registry/media-grid.json +1 -1
  527. package/registry/meta-row.json +1 -1
  528. package/registry/meter.json +1 -1
  529. package/registry/nav-bar.json +2 -2
  530. package/registry/next-actions.json +1 -1
  531. package/registry/notification-preferences.json +1 -1
  532. package/registry/number-ticker.json +1 -1
  533. package/registry/opening-hours.json +1 -1
  534. package/registry/page-header.json +1 -1
  535. package/registry/page-hero.json +1 -1
  536. package/registry/page-index.json +1 -1
  537. package/registry/page.json +1 -1
  538. package/registry/pagination.json +1 -1
  539. package/registry/photo-grid.json +1 -1
  540. package/registry/pointer-light.json +1 -1
  541. package/registry/popover.json +1 -1
  542. package/registry/pricing-page.json +1 -1
  543. package/registry/product-page.json +1 -1
  544. package/registry/profile-card.json +1 -1
  545. package/registry/progress.json +1 -1
  546. package/registry/promise-card.json +1 -1
  547. package/registry/quota-meter.json +1 -1
  548. package/registry/radio-group.json +1 -1
  549. package/registry/rail-nav.json +2 -2
  550. package/registry/recipes.json +1 -1
  551. package/registry/retro-tv.json +1 -1
  552. package/registry/router.json +1 -1
  553. package/registry/scroll-stage.json +1 -1
  554. package/registry/search-field.json +1 -1
  555. package/registry/section-backdrop.json +1 -1
  556. package/registry/separator.json +1 -1
  557. package/registry/service-card.json +1 -1
  558. package/registry/settings-layout.json +1 -1
  559. package/registry/showcase.json +1 -1
  560. package/registry/signature.json +1 -1
  561. package/registry/site-cahier.json +548 -0
  562. package/registry/site-footer.json +2 -2
  563. package/registry/sites.json +1 -1
  564. package/registry/skeleton.json +1 -1
  565. package/registry/skip-link.json +1 -1
  566. package/registry/slider.json +1 -1
  567. package/registry/slot-picker.json +156 -10
  568. package/registry/slot.json +1 -1
  569. package/registry/specimen-tag.json +1 -1
  570. package/registry/speed-lines.json +174 -0
  571. package/registry/spinner.json +1 -1
  572. package/registry/split-view.json +1 -1
  573. package/registry/stage-banner.json +1 -1
  574. package/registry/stat.json +1 -1
  575. package/registry/status-chip.json +350 -0
  576. package/registry/status-page.json +1 -1
  577. package/registry/step-progress.json +1 -1
  578. package/registry/step-showcase.json +1 -1
  579. package/registry/stepper.json +1 -1
  580. package/registry/sticky-action.json +38 -8
  581. package/registry/stuck.json +1 -1
  582. package/registry/swipe-deck.json +1 -1
  583. package/registry/switch.json +1 -1
  584. package/registry/tabs.json +1 -1
  585. package/registry/tag-input.json +1 -1
  586. package/registry/tag-selector.json +189 -12
  587. package/registry/taped-photo.json +1 -1
  588. package/registry/terminal-replay.json +1 -1
  589. package/registry/text-style.json +1 -1
  590. package/registry/theme.json +3 -3
  591. package/registry/toast.json +1 -1
  592. package/registry/toc.json +1 -1
  593. package/registry/tooltip.json +1 -1
  594. package/registry/tree-view.json +1 -1
  595. package/registry/update-prompt.json +1 -1
  596. package/registry/upload-queue.json +1 -1
  597. package/registry/verified-badge.json +1 -1
  598. package/registry/versus-card.json +194 -0
  599. package/registry/vertical-video.json +1 -1
  600. package/registry/video-player.json +1 -1
  601. package/registry/video-trimmer.json +1 -1
  602. package/registry/virtual.json +2 -2
  603. package/registry/wall.json +511 -0
  604. package/registry/waveform.json +1 -1
  605. package/dist/chunk-7U5TXA5Q.js.map +0 -1
  606. package/dist/chunk-OIMXKRXF.js +0 -179
  607. package/dist/chunk-OIMXKRXF.js.map +0 -1
  608. package/dist/chunk-QWKCNSPF.js.map +0 -1
  609. package/dist/chunk-VIPSZXO4.js.map +0 -1
  610. /package/dist/{chunk-AEP3K4YD.js.map → chunk-4GQH27IT.js.map} +0 -0
package/dist/native.js CHANGED
@@ -234,6 +234,18 @@ var themes = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Object.freeze
234
234
  "dangerSoft": "rgba(239,67,67,0.14)",
235
235
  "info": "#3e76a8",
236
236
  "infoText": "#8ebde1",
237
+ "tagBlue": "#4c72d9",
238
+ "tagBlueText": "#7895e2",
239
+ "tagGreen": "#2d884e",
240
+ "tagGreenText": "#39aa62",
241
+ "tagAmber": "#ac680e",
242
+ "tagAmberText": "#d98312",
243
+ "tagRed": "#d63d64",
244
+ "tagRedText": "#e27490",
245
+ "tagViolet": "#a94fcc",
246
+ "tagVioletText": "#bf7dd9",
247
+ "tagGray": "#717784",
248
+ "tagGrayText": "#9298a2",
237
249
  "scrim": "rgba(0,0,0,0.6)",
238
250
  "scrimStrong": "rgba(0,0,0,0.8)",
239
251
  "overlay": "rgba(0,0,0,0.7)",
@@ -287,6 +299,18 @@ var themes = /* @__PURE__ */ Object.freeze({ dark: /* @__PURE__ */ Object.freeze
287
299
  "dangerSoft": "rgba(239,67,67,0.1)",
288
300
  "info": "#2a5f8d",
289
301
  "infoText": "#275782",
302
+ "tagBlue": "#577adb",
303
+ "tagBlueText": "#2c58d0",
304
+ "tagGreen": "#308f53",
305
+ "tagGreenText": "#256f40",
306
+ "tagAmber": "#b66d0f",
307
+ "tagAmberText": "#8b540b",
308
+ "tagRed": "#d94c6f",
309
+ "tagRedText": "#b7274b",
310
+ "tagViolet": "#ae5bcf",
311
+ "tagVioletText": "#9335b8",
312
+ "tagGray": "#787f8c",
313
+ "tagGrayText": "#5d626d",
290
314
  "scrim": "rgba(0,0,0,0.6)",
291
315
  "scrimStrong": "rgba(0,0,0,0.8)",
292
316
  "overlay": "rgba(0,0,0,0.7)",
@@ -1647,8 +1671,10 @@ import { Fragment as Fragment4, jsx as jsx13, jsxs as jsxs10 } from "react/jsx-r
1647
1671
  var ChipGroupContext = React9.createContext(null);
1648
1672
  var RECIPE3 = nativeRecipe(chipRecipe);
1649
1673
  function Label({ children, color, fontSize }) {
1650
- if (typeof children !== "string" && typeof children !== "number") return /* @__PURE__ */ jsx13(Fragment4, { children });
1651
- return /* @__PURE__ */ jsx13(Text6, { style: [styles11.label, { color, fontSize }], children });
1674
+ return /* @__PURE__ */ jsx13(Fragment4, { children: React9.Children.map(
1675
+ children,
1676
+ (child) => typeof child === "string" || typeof child === "number" ? /* @__PURE__ */ jsx13(Text6, { style: [styles11.label, { color, fontSize }], children: child }) : child
1677
+ ) });
1652
1678
  }
1653
1679
  function ChipBase(props) {
1654
1680
  const group = React9.useContext(ChipGroupContext);
@@ -3052,9 +3078,477 @@ function KachizakaMark({ size = 48, animated = true, title, neutral }) {
3052
3078
  ] });
3053
3079
  }
3054
3080
 
3081
+ // src/native/kind-config-editor.tsx
3082
+ import * as React22 from "react";
3083
+ import { StyleSheet as StyleSheet28, View as View27 } from "react-native";
3084
+
3085
+ // src/kind-config-editor/labels.ts
3086
+ var STATUS_TONES = ["neutral", "accent", "success", "warning", "danger"];
3087
+ var tagSetEditorLabels = {
3088
+ presets: "Tags offered",
3089
+ name: (position) => `Name of tag ${position}`,
3090
+ marker: (name) => `Colour of the tag ${name}`,
3091
+ markerNames: { blue: "Blue", green: "Green", amber: "Amber", red: "Red", violet: "Violet", gray: "Gray" },
3092
+ moveUp: (name) => `Move ${name} up`,
3093
+ moveDown: (name) => `Move ${name} down`,
3094
+ remove: (name) => `Remove ${name}`,
3095
+ drag: (name) => `Drag ${name}`,
3096
+ add: "New tag",
3097
+ addButton: "Add",
3098
+ duplicate: "Another tag has this name",
3099
+ empty: "No tag offered yet",
3100
+ writers: "Who manages the tags",
3101
+ writersHint: "These roles create, rename, remove and assign tags.",
3102
+ userTags: "People can add their own tags",
3103
+ userTagsHint: "Beyond the tags offered here.",
3104
+ max: "Most tags",
3105
+ maxHint: "Per kind, from 1 to 200.",
3106
+ problems: "To fix before saving"
3107
+ };
3108
+ var statusSetEditorLabels = {
3109
+ languages: { fr: "French", en: "English" },
3110
+ stateLabel: (language, position) => `Label in ${language} of state ${position}`,
3111
+ tone: (position) => `Tone of state ${position}`,
3112
+ tones: { neutral: "Neutral", accent: "Accent", success: "Success", warning: "Warning", danger: "Danger" },
3113
+ final: (position) => `State ${position} is final`,
3114
+ finalHint: "A final state has no way out.",
3115
+ initial: (position) => `State ${position} is the initial state`,
3116
+ initialNotFinal: "The initial state is never final.",
3117
+ states: "States, in the order of the column",
3118
+ moveUp: (name) => `Move ${name} up`,
3119
+ moveDown: (name) => `Move ${name} down`,
3120
+ remove: (name) => `Remove ${name}`,
3121
+ drag: (name) => `Drag ${name}`,
3122
+ addState: "Add a state",
3123
+ newState: { fr: "New state", en: "New state" },
3124
+ moves: "Moves",
3125
+ movesHint: "Choose a move to set who can make it, whether it asks for a confirmation, and the reasons to pick from.",
3126
+ from: (name) => `Moves from ${name}`,
3127
+ noWayOut: "Final: no way out",
3128
+ move: (from, to, roles) => `From ${from} to ${to}: ${roles}`,
3129
+ none: "nobody",
3130
+ moveDetail: (from, to) => `Move from ${from} to ${to}`,
3131
+ roles: "Roles that can make this move",
3132
+ confirm: "Ask for a second press",
3133
+ reasons: "Reasons to pick from",
3134
+ addReason: "Add a reason",
3135
+ reasonLabel: (language, position) => `Reason ${position} in ${language}`,
3136
+ removeReason: (position) => `Remove reason ${position}`,
3137
+ derived: "Derived: the product computes this status, and nobody moves it.",
3138
+ problems: "To fix before saving"
3139
+ };
3140
+
3141
+ // src/kind-config-editor/model.ts
3142
+ function move(list, from, to) {
3143
+ if (from === to || from < 0 || to < 0 || from >= list.length || to >= list.length) return [...list];
3144
+ const next = [...list];
3145
+ const [item] = next.splice(from, 1);
3146
+ next.splice(to, 0, item);
3147
+ return next;
3148
+ }
3149
+ var presetsOf = (tags, variant) => tags.presets[variant] ?? [];
3150
+ var withPresets = (tags, variant, list) => ({ ...tags, presets: { ...tags.presets, [variant]: list } });
3151
+ var cleanName = (raw) => raw.replace(/\s+/g, " ").trim();
3152
+ function addPreset(tags, variant, name, marker) {
3153
+ const clean = cleanName(name);
3154
+ if (!clean || presetsOf(tags, variant).some((p) => p.name.toLocaleLowerCase() === clean.toLocaleLowerCase())) return tags;
3155
+ return withPresets(tags, variant, [...presetsOf(tags, variant), { name: clean, marker }]);
3156
+ }
3157
+ var renamePreset = (tags, variant, index, name) => withPresets(tags, variant, presetsOf(tags, variant).map((p, i) => i === index ? { ...p, name } : p));
3158
+ var recolorPreset = (tags, variant, index, marker) => withPresets(tags, variant, presetsOf(tags, variant).map((p, i) => i === index ? { ...p, marker } : p));
3159
+ var removePreset = (tags, variant, index) => withPresets(tags, variant, presetsOf(tags, variant).filter((_, i) => i !== index));
3160
+ var movePreset = (tags, variant, from, to) => withPresets(tags, variant, move(presetsOf(tags, variant), from, to));
3161
+ function duplicatePresetNames(list) {
3162
+ const seen = /* @__PURE__ */ new Map();
3163
+ const twins = /* @__PURE__ */ new Set();
3164
+ list.forEach((p, i) => {
3165
+ const key = cleanName(p.name).toLocaleLowerCase();
3166
+ if (!key) return;
3167
+ const first = seen.get(key);
3168
+ if (first === void 0) seen.set(key, i);
3169
+ else twins.add(first).add(i);
3170
+ });
3171
+ return twins;
3172
+ }
3173
+ var clampMax = (value, ceiling = 200) => Number.isFinite(value) ? Math.min(ceiling, Math.max(1, Math.round(value))) : 1;
3174
+ function freshKey(taken, prefix = "state") {
3175
+ let n = taken.length + 1;
3176
+ while (taken.includes(`${prefix}_${n}`)) n += 1;
3177
+ return `${prefix}_${n}`;
3178
+ }
3179
+ var transitionOf = (set, from, to) => set.transitions.find((t) => t.from === from && t.to === to);
3180
+ var isFinal = (set, key) => Boolean(set.states.find((s) => s.key === key)?.final);
3181
+ var withStates = (set, states, rest = {}) => ({ ...set, states, ...rest });
3182
+ function addState(set, label, limit = 12) {
3183
+ if (set.states.length >= limit) return set;
3184
+ return withStates(set, [...set.states, { key: freshKey(set.states.map((s) => s.key)), label: { ...label }, tone: "neutral" }]);
3185
+ }
3186
+ function removeState(set, key) {
3187
+ const states = set.states.filter((s) => s.key !== key);
3188
+ const transitions = set.transitions.filter((t) => t.from !== key && t.to !== key);
3189
+ const initial = set.initial === key ? states.find((s) => !s.final)?.key : set.initial;
3190
+ return withStates(set, states, { transitions, initial });
3191
+ }
3192
+ var setStateLabel = (set, key, lang, text) => withStates(set, set.states.map((s) => s.key === key ? { ...s, label: { ...s.label, [lang]: text } } : s));
3193
+ var setStateTone = (set, key, tone3) => withStates(set, set.states.map((s) => s.key === key ? { ...s, tone: tone3 } : s));
3194
+ var moveState = (set, from, to) => withStates(set, move(set.states, from, to));
3195
+ function setFinal(set, key, final) {
3196
+ if (final && set.initial === key) return set;
3197
+ const states = set.states.map((s) => s.key === key ? { ...s, final } : s);
3198
+ return withStates(set, states, final ? { transitions: set.transitions.filter((t) => t.from !== key) } : {});
3199
+ }
3200
+ var setInitial = (set, key) => isFinal(set, key) || !set.states.some((s) => s.key === key) ? set : { ...set, initial: key };
3201
+ var replaceTransition = (set, from, to, next) => {
3202
+ const kept = set.transitions.filter((t) => !(t.from === from && t.to === to));
3203
+ return { ...set, transitions: next ? [...kept, next] : kept };
3204
+ };
3205
+ function setTransitionRoles(set, from, to, roles) {
3206
+ if (from === to || isFinal(set, from)) return set;
3207
+ if (roles.length === 0) return replaceTransition(set, from, to, null);
3208
+ const current = transitionOf(set, from, to);
3209
+ return replaceTransition(set, from, to, { ...current, from, to, roles: [...roles] });
3210
+ }
3211
+ function setTransitionConfirm(set, from, to, confirm) {
3212
+ const current = transitionOf(set, from, to);
3213
+ if (!current) return set;
3214
+ const { confirm: _old, ...rest } = current;
3215
+ return replaceTransition(set, from, to, confirm ? { ...rest, confirm: true } : rest);
3216
+ }
3217
+ function setTransitionReasons(set, from, to, reasons) {
3218
+ const current = transitionOf(set, from, to);
3219
+ if (!current) return set;
3220
+ const { reasons: _old, ...rest } = current;
3221
+ return replaceTransition(set, from, to, reasons && reasons.length > 0 ? { ...rest, reasons: [...reasons] } : rest);
3222
+ }
3223
+ function addReason(set, from, to, label) {
3224
+ const current = transitionOf(set, from, to);
3225
+ if (!current) return set;
3226
+ const reasons = current.reasons ?? [];
3227
+ return setTransitionReasons(set, from, to, [...reasons, { key: freshKey(reasons.map((r) => r.key), "reason"), label: { ...label } }]);
3228
+ }
3229
+
3230
+ // src/native/switch.tsx
3231
+ import * as React20 from "react";
3232
+ import { Animated as Animated10, Pressable as Pressable15, StyleSheet as StyleSheet26, Text as Text14, View as View25 } from "react-native";
3233
+ import { jsx as jsx29, jsxs as jsxs26 } from "react/jsx-runtime";
3234
+ var SIZES = { sm: { w: 40, h: 24, knob: 18 }, md: { w: 52, h: 32, knob: 26 } };
3235
+ function Switch({ label, checked, defaultChecked = false, onCheckedChange, description, showLabel, size = "md", error, disabled, style }) {
3236
+ const { theme, motion: motion3, haptic } = useTheme();
3237
+ const [own, setOwn] = React20.useState(defaultChecked);
3238
+ const on = checked ?? own;
3239
+ const d = SIZES[size];
3240
+ const travel = d.w - d.knob - (d.h - d.knob);
3241
+ const [x] = React20.useState(() => new Animated10.Value(on ? 1 : 0));
3242
+ React20.useEffect(() => {
3243
+ Animated10.timing(x, { toValue: on ? 1 : 0, duration: motion3.duration.base, useNativeDriver: true }).start();
3244
+ }, [on, x, motion3.duration.base]);
3245
+ const toggle = () => {
3246
+ haptic("selection");
3247
+ if (checked === void 0) setOwn(!on);
3248
+ onCheckedChange?.(!on);
3249
+ };
3250
+ const track = /* @__PURE__ */ jsx29(View25, { style: [styles26.track, { width: d.w, height: d.h, borderRadius: d.h / 2, backgroundColor: on ? theme.accent : theme.surface3, borderColor: error ? theme.danger : on ? theme.accent : theme.borderDefault }], children: /* @__PURE__ */ jsx29(
3251
+ Animated10.View,
3252
+ {
3253
+ style: [
3254
+ styles26.knob,
3255
+ {
3256
+ width: d.knob,
3257
+ height: d.knob,
3258
+ borderRadius: d.knob / 2,
3259
+ backgroundColor: theme.textOnMedia,
3260
+ shadowColor: theme.scrimStrong,
3261
+ transform: [{ translateX: x.interpolate({ inputRange: [0, 1], outputRange: [0, travel] }) }]
3262
+ }
3263
+ ]
3264
+ }
3265
+ ) });
3266
+ const a11y = {
3267
+ role: "switch",
3268
+ "aria-checked": on,
3269
+ "aria-label": label,
3270
+ "aria-disabled": disabled || void 0,
3271
+ accessibilityHint: error ?? description,
3272
+ disabled,
3273
+ onPress: toggle
3274
+ };
3275
+ if (!showLabel)
3276
+ return /* @__PURE__ */ jsx29(Pressable15, { ...a11y, hitSlop: { top: (44 - d.h) / 2, bottom: (44 - d.h) / 2, left: Math.max(0, (44 - d.w) / 2), right: Math.max(0, (44 - d.w) / 2) }, style: [disabled ? styles26.disabled : null, style], children: track });
3277
+ return /* @__PURE__ */ jsxs26(View25, { style: [styles26.root, style], children: [
3278
+ /* @__PURE__ */ jsxs26(Pressable15, { ...a11y, style: [styles26.row, disabled ? styles26.disabled : null], children: [
3279
+ /* @__PURE__ */ jsxs26(View25, { style: styles26.text, children: [
3280
+ /* @__PURE__ */ jsx29(Text14, { style: [styles26.label, { color: theme.textPrimary }], children: label }),
3281
+ description ? /* @__PURE__ */ jsx29(Text14, { style: [styles26.description, { color: theme.textSecondary }], children: description }) : null
3282
+ ] }),
3283
+ track
3284
+ ] }),
3285
+ error ? /* @__PURE__ */ jsx29(Text14, { role: "alert", "aria-live": "polite", style: [styles26.description, { color: theme.dangerText }], children: error }) : null
3286
+ ] });
3287
+ }
3288
+ var styles26 = StyleSheet26.create({
3289
+ root: { gap: 2, alignSelf: "stretch" },
3290
+ row: { flexDirection: "row", alignItems: "center", gap: 16, minHeight: 48 },
3291
+ text: { flex: 1, gap: 2 },
3292
+ label: { fontSize: 15, lineHeight: 20, fontWeight: "500" },
3293
+ description: { fontSize: 12, lineHeight: 16 },
3294
+ track: { justifyContent: "center", paddingHorizontal: 2, borderWidth: 1 },
3295
+ knob: { shadowOpacity: 0.25, shadowRadius: 3, shadowOffset: { width: 0, height: 1 }, elevation: 2 },
3296
+ disabled: { opacity: 0.4 }
3297
+ });
3298
+
3299
+ // src/native/tag-chip.tsx
3300
+ import * as React21 from "react";
3301
+ import { Pressable as Pressable16, StyleSheet as StyleSheet27, View as View26 } from "react-native";
3302
+ import Svg11, { Path as Path9 } from "react-native-svg";
3303
+
3304
+ // src/chip/markers.ts
3305
+ var TAG_MARKERS = ["blue", "green", "amber", "red", "violet", "gray"];
3306
+
3307
+ // src/native/tag-chip.tsx
3308
+ import { jsx as jsx30, jsxs as jsxs27 } from "react/jsx-runtime";
3309
+ var ROLE = { blue: "tagBlue", green: "tagGreen", amber: "tagAmber", red: "tagRed", violet: "tagViolet", gray: "tagGray" };
3310
+ function TagMarker({ marker, shape = "dot", style }) {
3311
+ const { theme } = useTheme();
3312
+ const color = theme[ROLE[marker]];
3313
+ if (shape === "ribbon") {
3314
+ return /* @__PURE__ */ jsx30(View26, { "aria-hidden": true, accessible: false, importantForAccessibility: "no-hide-descendants", style, children: /* @__PURE__ */ jsx30(Svg11, { width: 10, height: 14, viewBox: "0 0 10 14", children: /* @__PURE__ */ jsx30(Path9, { d: "M0 0H10V14L5 10L0 14Z", fill: color }) }) });
3315
+ }
3316
+ return /* @__PURE__ */ jsx30(View26, { "aria-hidden": true, accessible: false, importantForAccessibility: "no-hide-descendants", style: [styles27.dot, { backgroundColor: color }, style] });
3317
+ }
3318
+ function TagChip({ marker, shape, children, ...props }) {
3319
+ return /* @__PURE__ */ jsxs27(Chip, { ...props, children: [
3320
+ /* @__PURE__ */ jsx30(TagMarker, { marker, shape }),
3321
+ children
3322
+ ] });
3323
+ }
3324
+ function MarkerPicker({ label, names, value, defaultValue, onValueChange, markers = TAG_MARKERS, disabled, style }) {
3325
+ const { theme, haptic } = useTheme();
3326
+ const [own, setOwn] = React21.useState(defaultValue);
3327
+ const current = value ?? own;
3328
+ return /* @__PURE__ */ jsx30(View26, { role: "radiogroup", "aria-label": label, style: [styles27.row, style], children: markers.map((marker) => {
3329
+ const on = current === marker;
3330
+ const color = theme[ROLE[marker]];
3331
+ return /* @__PURE__ */ jsx30(
3332
+ Pressable16,
3333
+ {
3334
+ role: "radio",
3335
+ "aria-checked": on,
3336
+ "aria-label": names[marker],
3337
+ "aria-disabled": disabled,
3338
+ disabled,
3339
+ hitSlop: 4,
3340
+ onPress: () => {
3341
+ haptic("selection");
3342
+ if (value === void 0) setOwn(marker);
3343
+ onValueChange?.(marker);
3344
+ },
3345
+ style: [styles27.swatch, { borderColor: on ? color : theme.borderDefault, backgroundColor: theme.surface1 }, disabled ? styles27.disabled : null],
3346
+ children: /* @__PURE__ */ jsx30(View26, { style: [styles27.dot, styles27.big, { backgroundColor: color }], children: on ? /* @__PURE__ */ jsx30(Svg11, { width: 12, height: 12, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx30(Path9, { d: "M20 6 9 17l-5-5", stroke: theme.surface0, strokeWidth: 4, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }) }) : null })
3347
+ },
3348
+ marker
3349
+ );
3350
+ }) });
3351
+ }
3352
+ var styles27 = StyleSheet27.create({
3353
+ dot: { width: 10, height: 10, borderRadius: 5 },
3354
+ big: { width: 18, height: 18, borderRadius: 9, alignItems: "center", justifyContent: "center" },
3355
+ row: { flexDirection: "row", flexWrap: "wrap", gap: 8, alignItems: "center" },
3356
+ swatch: { width: 40, height: 40, borderRadius: 20, borderWidth: 2, alignItems: "center", justifyContent: "center" },
3357
+ disabled: { opacity: 0.4 }
3358
+ });
3359
+
3360
+ // src/native/kind-config-editor.tsx
3361
+ import { Fragment as Fragment6, jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
3362
+ function Problems({ title, problems }) {
3363
+ const { theme, radius: radius3 } = useTheme();
3364
+ if (!problems || problems.length === 0) return null;
3365
+ return /* @__PURE__ */ jsxs28(View27, { role: "alert", style: [styles28.problems, { borderColor: theme.danger, backgroundColor: theme.dangerSoft, borderRadius: radius3.md }], children: [
3366
+ /* @__PURE__ */ jsx31(Txt, { variant: "label", tone: "danger", children: title }),
3367
+ problems.map((problem) => /* @__PURE__ */ jsx31(Txt, { variant: "caption", children: `\u2022 ${problem}` }, problem))
3368
+ ] });
3369
+ }
3370
+ var Glyph = ({ children }) => /* @__PURE__ */ jsx31(Txt, { variant: "label", "aria-hidden": true, children });
3371
+ function TagSetEditor({ value, onChange, variant, roles, problems, labels: given, disabled }) {
3372
+ const labels = { ...tagSetEditorLabels, ...given, markerNames: { ...tagSetEditorLabels.markerNames, ...given?.markerNames } };
3373
+ const presets = value.presets[variant] ?? [];
3374
+ const twins = duplicatePresetNames(presets);
3375
+ const [draft, setDraft] = React22.useState("");
3376
+ const [draftMarker, setDraftMarker] = React22.useState("blue");
3377
+ const add = () => {
3378
+ const next = addPreset(value, variant, draft, draftMarker);
3379
+ if (next === value) return;
3380
+ onChange(next);
3381
+ setDraft("");
3382
+ };
3383
+ return /* @__PURE__ */ jsxs28(View27, { style: styles28.root, children: [
3384
+ /* @__PURE__ */ jsx31(Problems, { title: labels.problems, problems }),
3385
+ /* @__PURE__ */ jsx31(Txt, { variant: "title", children: labels.presets }),
3386
+ presets.length === 0 ? /* @__PURE__ */ jsx31(Txt, { tone: "secondary", children: labels.empty }) : null,
3387
+ presets.map((preset, index) => {
3388
+ const shown = preset.name || String(index + 1);
3389
+ return /* @__PURE__ */ jsxs28(View27, { style: styles28.card, children: [
3390
+ /* @__PURE__ */ jsxs28(View27, { style: styles28.line, children: [
3391
+ /* @__PURE__ */ jsx31(TagMarker, { marker: preset.marker }),
3392
+ /* @__PURE__ */ jsx31(
3393
+ TextField,
3394
+ {
3395
+ label: labels.name(index + 1),
3396
+ value: preset.name,
3397
+ disabled,
3398
+ error: twins.has(index) ? labels.duplicate : void 0,
3399
+ onValueChange: (name) => onChange(renamePreset(value, variant, index, name)),
3400
+ style: styles28.grow
3401
+ }
3402
+ )
3403
+ ] }),
3404
+ /* @__PURE__ */ jsx31(MarkerPicker, { label: labels.marker(shown), names: labels.markerNames, value: preset.marker, disabled, onValueChange: (marker) => onChange(recolorPreset(value, variant, index, marker)) }),
3405
+ /* @__PURE__ */ jsxs28(View27, { style: styles28.line, children: [
3406
+ /* @__PURE__ */ jsx31(IconButton, { variant: "ghost", size: "sm", label: labels.moveUp(shown), icon: /* @__PURE__ */ jsx31(Glyph, { children: "\u2191" }), disabled: disabled || index === 0, onPress: () => onChange(movePreset(value, variant, index, index - 1)) }),
3407
+ /* @__PURE__ */ jsx31(IconButton, { variant: "ghost", size: "sm", label: labels.moveDown(shown), icon: /* @__PURE__ */ jsx31(Glyph, { children: "\u2193" }), disabled: disabled || index === presets.length - 1, onPress: () => onChange(movePreset(value, variant, index, index + 1)) }),
3408
+ /* @__PURE__ */ jsx31(IconButton, { variant: "ghost", size: "sm", label: labels.remove(shown), icon: /* @__PURE__ */ jsx31(Glyph, { children: "\xD7" }), disabled, onPress: () => onChange(removePreset(value, variant, index)) })
3409
+ ] })
3410
+ ] }, index);
3411
+ }),
3412
+ /* @__PURE__ */ jsxs28(View27, { style: styles28.card, children: [
3413
+ /* @__PURE__ */ jsx31(TextField, { label: labels.add, value: draft, maxLength: 80, disabled, onValueChange: setDraft, onSubmitEditing: add, returnKeyType: "done" }),
3414
+ /* @__PURE__ */ jsx31(MarkerPicker, { label: labels.marker(draft.trim() || labels.add), names: labels.markerNames, value: draftMarker, disabled, onValueChange: setDraftMarker }),
3415
+ /* @__PURE__ */ jsx31(Button, { label: labels.addButton, size: "sm", disabled: disabled || !draft.trim(), onPress: add })
3416
+ ] }),
3417
+ /* @__PURE__ */ jsx31(Txt, { variant: "label", children: labels.writers }),
3418
+ /* @__PURE__ */ jsx31(Txt, { variant: "caption", tone: "secondary", children: labels.writersHint }),
3419
+ /* @__PURE__ */ jsx31(Chip.Group, { type: "multiple", size: "sm", "aria-label": labels.writers, value: value.writers, disabled, onValueChange: (writers) => onChange({ ...value, writers }), children: roles.map((role) => /* @__PURE__ */ jsx31(Chip, { value: role.key, children: role.label }, role.key)) }),
3420
+ /* @__PURE__ */ jsx31(Switch, { showLabel: true, label: labels.userTags, description: labels.userTagsHint, checked: value.userTags, disabled, onCheckedChange: (userTags) => onChange({ ...value, userTags }) }),
3421
+ /* @__PURE__ */ jsx31(
3422
+ TextField,
3423
+ {
3424
+ label: labels.max,
3425
+ hint: labels.maxHint,
3426
+ keyboardType: "number-pad",
3427
+ value: String(value.max),
3428
+ disabled,
3429
+ error: !Number.isInteger(value.max) || value.max < 1 || value.max > 200 ? labels.maxHint : void 0,
3430
+ onValueChange: (text) => onChange({ ...value, max: text === "" ? 0 : Number(text.replace(/\D/g, "")) }),
3431
+ onBlur: () => onChange({ ...value, max: clampMax(value.max) })
3432
+ }
3433
+ )
3434
+ ] });
3435
+ }
3436
+ function StatusSetEditor({ value, onChange, roles, locale = "en", problems, labels: given, disabled }) {
3437
+ const labels = { ...statusSetEditorLabels, ...given };
3438
+ const [chosen, setChosen] = React22.useState(null);
3439
+ const nameOf = (key) => value.states.find((s) => s.key === key)?.label[locale] || key;
3440
+ const roleLabel = (key) => roles.find((r) => r.key === key)?.label ?? key;
3441
+ const open = chosen && value.states.some((x) => x.key === chosen.from) && value.states.some((x) => x.key === chosen.to) ? chosen : null;
3442
+ const detail = open ? transitionOf(value, open.from, open.to) : void 0;
3443
+ if (value.mode === "derived") {
3444
+ return /* @__PURE__ */ jsxs28(View27, { style: styles28.root, children: [
3445
+ /* @__PURE__ */ jsx31(Problems, { title: labels.problems, problems }),
3446
+ /* @__PURE__ */ jsx31(Txt, { tone: "secondary", children: labels.derived }),
3447
+ value.states.map((state) => /* @__PURE__ */ jsx31(Txt, { children: state.label[locale] }, state.key))
3448
+ ] });
3449
+ }
3450
+ return /* @__PURE__ */ jsxs28(View27, { style: styles28.root, children: [
3451
+ /* @__PURE__ */ jsx31(Problems, { title: labels.problems, problems }),
3452
+ /* @__PURE__ */ jsx31(Txt, { variant: "title", children: labels.states }),
3453
+ value.states.map((state, index) => {
3454
+ const n = index + 1;
3455
+ const isInitial = value.initial === state.key;
3456
+ const name = state.label[locale] || String(n);
3457
+ return /* @__PURE__ */ jsxs28(View27, { style: styles28.card, children: [
3458
+ ["fr", "en"].map((lang) => /* @__PURE__ */ jsx31(
3459
+ TextField,
3460
+ {
3461
+ label: labels.stateLabel(labels.languages[lang], n),
3462
+ value: state.label[lang],
3463
+ maxLength: 40,
3464
+ disabled,
3465
+ error: !state.label[lang].trim() ? labels.stateLabel(labels.languages[lang], n) : void 0,
3466
+ onValueChange: (text) => onChange(setStateLabel(value, state.key, lang, text))
3467
+ },
3468
+ lang
3469
+ )),
3470
+ /* @__PURE__ */ jsx31(
3471
+ Select,
3472
+ {
3473
+ label: labels.tone(n),
3474
+ options: STATUS_TONES.map((tone3) => ({ value: tone3, label: labels.tones[tone3] })),
3475
+ value: state.tone,
3476
+ disabled,
3477
+ onValueChange: (tone3) => onChange(setStateTone(value, state.key, tone3))
3478
+ }
3479
+ ),
3480
+ /* @__PURE__ */ jsx31(Switch, { showLabel: true, size: "sm", label: labels.final(n), description: isInitial ? labels.initialNotFinal : labels.finalHint, checked: Boolean(state.final), disabled: disabled || isInitial, onCheckedChange: (final) => onChange(setFinal(value, state.key, final)) }),
3481
+ /* @__PURE__ */ jsx31(Chip, { selected: isInitial, disabled: disabled || Boolean(state.final), "aria-label": labels.initial(n), onSelectedChange: () => onChange(setInitial(value, state.key)), children: labels.initial(n) }),
3482
+ /* @__PURE__ */ jsxs28(View27, { style: styles28.line, children: [
3483
+ /* @__PURE__ */ jsx31(IconButton, { variant: "ghost", size: "sm", label: labels.moveUp(name), icon: /* @__PURE__ */ jsx31(Glyph, { children: "\u2191" }), disabled: disabled || index === 0, onPress: () => onChange(moveState(value, index, index - 1)) }),
3484
+ /* @__PURE__ */ jsx31(IconButton, { variant: "ghost", size: "sm", label: labels.moveDown(name), icon: /* @__PURE__ */ jsx31(Glyph, { children: "\u2193" }), disabled: disabled || index === value.states.length - 1, onPress: () => onChange(moveState(value, index, index + 1)) }),
3485
+ /* @__PURE__ */ jsx31(IconButton, { variant: "ghost", size: "sm", label: labels.remove(name), icon: /* @__PURE__ */ jsx31(Glyph, { children: "\xD7" }), disabled: disabled || value.states.length <= 2, onPress: () => onChange(removeState(value, state.key)) })
3486
+ ] })
3487
+ ] }, state.key);
3488
+ }),
3489
+ /* @__PURE__ */ jsx31(Button, { label: labels.addState, size: "sm", disabled: disabled || value.states.length >= 12, onPress: () => onChange(addState(value, labels.newState)) }),
3490
+ /* @__PURE__ */ jsx31(Txt, { variant: "title", children: labels.moves }),
3491
+ /* @__PURE__ */ jsx31(Txt, { variant: "caption", tone: "secondary", children: labels.movesHint }),
3492
+ value.states.map((from) => /* @__PURE__ */ jsxs28(View27, { role: "group", "aria-label": labels.from(nameOf(from.key)), style: styles28.card, children: [
3493
+ /* @__PURE__ */ jsx31(Txt, { variant: "label", children: nameOf(from.key) }),
3494
+ from.final ? /* @__PURE__ */ jsx31(Txt, { variant: "caption", tone: "secondary", children: labels.noWayOut }) : /* @__PURE__ */ jsx31(View27, { style: styles28.wrap, children: value.states.filter((to) => to.key !== from.key).map((to) => {
3495
+ const move2 = transitionOf(value, from.key, to.key);
3496
+ const summary = move2 ? move2.roles.map(roleLabel).join(", ") : labels.none;
3497
+ const on = open?.from === from.key && open.to === to.key;
3498
+ return /* @__PURE__ */ jsx31(Chip, { selected: on, disabled, "aria-label": labels.move(nameOf(from.key), nameOf(to.key), summary), onSelectedChange: () => setChosen(on ? null : { from: from.key, to: to.key }), children: `\u2192 ${nameOf(to.key)} \xB7 ${summary}` }, to.key);
3499
+ }) })
3500
+ ] }, from.key)),
3501
+ open ? /* @__PURE__ */ jsxs28(View27, { role: "group", "aria-label": labels.moveDetail(nameOf(open.from), nameOf(open.to)), style: styles28.card, children: [
3502
+ /* @__PURE__ */ jsx31(Txt, { variant: "label", children: labels.moveDetail(nameOf(open.from), nameOf(open.to)) }),
3503
+ /* @__PURE__ */ jsx31(Txt, { variant: "caption", tone: "secondary", children: labels.roles }),
3504
+ /* @__PURE__ */ jsx31(
3505
+ Chip.Group,
3506
+ {
3507
+ type: "multiple",
3508
+ size: "sm",
3509
+ "aria-label": labels.roles,
3510
+ value: detail?.roles ? [...detail.roles] : [],
3511
+ disabled,
3512
+ onValueChange: (next) => {
3513
+ onChange(setTransitionRoles(value, open.from, open.to, next));
3514
+ },
3515
+ children: roles.map((role) => /* @__PURE__ */ jsx31(Chip, { value: role.key, children: role.label }, role.key))
3516
+ }
3517
+ ),
3518
+ detail ? /* @__PURE__ */ jsxs28(Fragment6, { children: [
3519
+ /* @__PURE__ */ jsx31(Switch, { showLabel: true, size: "sm", label: labels.confirm, checked: Boolean(detail?.confirm), disabled, onCheckedChange: (on) => onChange(setTransitionConfirm(value, open.from, open.to, on)) }),
3520
+ /* @__PURE__ */ jsx31(Txt, { variant: "caption", tone: "secondary", children: labels.reasons }),
3521
+ (detail?.reasons ?? []).map((reason, at) => /* @__PURE__ */ jsxs28(View27, { style: styles28.card, children: [
3522
+ ["fr", "en"].map((lang) => /* @__PURE__ */ jsx31(
3523
+ TextField,
3524
+ {
3525
+ label: labels.reasonLabel(labels.languages[lang], at + 1),
3526
+ value: reason.label[lang],
3527
+ maxLength: 40,
3528
+ disabled,
3529
+ onValueChange: (text) => onChange(setTransitionReasons(value, open.from, open.to, (detail?.reasons ?? []).map((r) => r.key === reason.key ? { ...r, label: { ...r.label, [lang]: text } } : r)))
3530
+ },
3531
+ lang
3532
+ )),
3533
+ /* @__PURE__ */ jsx31(IconButton, { variant: "ghost", size: "sm", label: labels.removeReason(at + 1), icon: /* @__PURE__ */ jsx31(Glyph, { children: "\xD7" }), disabled, onPress: () => onChange(setTransitionReasons(value, open.from, open.to, (detail?.reasons ?? []).filter((r) => r.key !== reason.key))) })
3534
+ ] }, reason.key)),
3535
+ /* @__PURE__ */ jsx31(Button, { label: labels.addReason, size: "sm", disabled: disabled || (detail?.reasons?.length ?? 0) >= 12, onPress: () => onChange(addReason(value, open.from, open.to, { fr: "", en: "" })) })
3536
+ ] }) : null
3537
+ ] }) : null
3538
+ ] });
3539
+ }
3540
+ var styles28 = StyleSheet28.create({
3541
+ root: { gap: 12 },
3542
+ card: { gap: 8 },
3543
+ line: { flexDirection: "row", alignItems: "center", gap: 8 },
3544
+ grow: { flex: 1 },
3545
+ wrap: { flexDirection: "row", flexWrap: "wrap", gap: 8 },
3546
+ problems: { borderWidth: 1, padding: 10, gap: 4 }
3547
+ });
3548
+
3055
3549
  // src/native/KrizakaMark.tsx
3056
- import { View as View25 } from "react-native";
3057
- import Svg11, { Circle as Circle5, Defs as Defs5, G as Group, LinearGradient as LinearGradient3, Path as Path9, RadialGradient as RadialGradient3, Stop as Stop5 } from "react-native-svg";
3550
+ import { View as View28 } from "react-native";
3551
+ import Svg12, { Circle as Circle5, Defs as Defs5, G as Group, LinearGradient as LinearGradient3, Path as Path10, RadialGradient as RadialGradient3, Stop as Stop5 } from "react-native-svg";
3058
3552
 
3059
3553
  // src/marks/krizaka-geometry.ts
3060
3554
  var KRIZAKA = {
@@ -3076,39 +3570,39 @@ var KRIZAKA = {
3076
3570
  };
3077
3571
 
3078
3572
  // src/native/KrizakaMark.tsx
3079
- import { Fragment as Fragment6, jsx as jsx29, jsxs as jsxs26 } from "react/jsx-runtime";
3573
+ import { Fragment as Fragment7, jsx as jsx32, jsxs as jsxs29 } from "react/jsx-runtime";
3080
3574
  function KrizakaMark({ size = 48, animated = true, title, neutral }) {
3081
3575
  const { theme } = useTheme();
3082
3576
  const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated);
3083
3577
  const id = useSvgId("kzm");
3084
3578
  const viewBox = size < 48 ? KRIZAKA.croppedViewBox : KRIZAKA.viewBox;
3085
3579
  const stroke = neutral ?? theme.textMuted;
3086
- const blue = /* @__PURE__ */ jsx29(LinearGradient3, { id: `${id}b`, gradientUnits: "userSpaceOnUse", x1: KRIZAKA.blue.x1 + KRIZAKA.offset, y1: KRIZAKA.blue.y1 + KRIZAKA.offset, x2: KRIZAKA.blue.x2 + KRIZAKA.offset, y2: KRIZAKA.blue.y2 + KRIZAKA.offset, children: KRIZAKA.blue.stops.map(([offset, color]) => /* @__PURE__ */ jsx29(Stop5, { offset, stopColor: color }, offset)) });
3087
- const dot = (c) => /* @__PURE__ */ jsxs26(Fragment6, { children: [
3088
- /* @__PURE__ */ jsx29(Circle5, { cx: c.cx, cy: c.cy, r: c.r, fill: `url(#${id}b)` }),
3089
- /* @__PURE__ */ jsx29(Circle5, { cx: c.cx, cy: c.cy, r: c.inner, fill: KRIZAKA.highlight })
3580
+ const blue = /* @__PURE__ */ jsx32(LinearGradient3, { id: `${id}b`, gradientUnits: "userSpaceOnUse", x1: KRIZAKA.blue.x1 + KRIZAKA.offset, y1: KRIZAKA.blue.y1 + KRIZAKA.offset, x2: KRIZAKA.blue.x2 + KRIZAKA.offset, y2: KRIZAKA.blue.y2 + KRIZAKA.offset, children: KRIZAKA.blue.stops.map(([offset, color]) => /* @__PURE__ */ jsx32(Stop5, { offset, stopColor: color }, offset)) });
3581
+ const dot = (c) => /* @__PURE__ */ jsxs29(Fragment7, { children: [
3582
+ /* @__PURE__ */ jsx32(Circle5, { cx: c.cx, cy: c.cy, r: c.r, fill: `url(#${id}b)` }),
3583
+ /* @__PURE__ */ jsx32(Circle5, { cx: c.cx, cy: c.cy, r: c.inner, fill: KRIZAKA.highlight })
3090
3584
  ] });
3091
- return /* @__PURE__ */ jsxs26(View25, { style: { width: size, height: size }, ...markA11y(title), children: [
3092
- /* @__PURE__ */ jsxs26(Svg11, { viewBox, style: layer, children: [
3093
- /* @__PURE__ */ jsxs26(Defs5, { children: [
3094
- /* @__PURE__ */ jsxs26(RadialGradient3, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3095
- /* @__PURE__ */ jsx29(Stop5, { offset: "0%", stopColor: KRIZAKA.glow.color, stopOpacity: KRIZAKA.glow.opacity }),
3096
- /* @__PURE__ */ jsx29(Stop5, { offset: "100%", stopColor: KRIZAKA.glow.color, stopOpacity: 0 })
3585
+ return /* @__PURE__ */ jsxs29(View28, { style: { width: size, height: size }, ...markA11y(title), children: [
3586
+ /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3587
+ /* @__PURE__ */ jsxs29(Defs5, { children: [
3588
+ /* @__PURE__ */ jsxs29(RadialGradient3, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3589
+ /* @__PURE__ */ jsx32(Stop5, { offset: "0%", stopColor: KRIZAKA.glow.color, stopOpacity: KRIZAKA.glow.opacity }),
3590
+ /* @__PURE__ */ jsx32(Stop5, { offset: "100%", stopColor: KRIZAKA.glow.color, stopOpacity: 0 })
3097
3591
  ] }),
3098
- /* @__PURE__ */ jsxs26(LinearGradient3, { id: `${id}i`, gradientUnits: "userSpaceOnUse", x1: KRIZAKA.ink.x1 + KRIZAKA.offset, y1: KRIZAKA.ink.y1 + KRIZAKA.offset, x2: KRIZAKA.ink.x2 + KRIZAKA.offset, y2: KRIZAKA.ink.y2 + KRIZAKA.offset, children: [
3099
- /* @__PURE__ */ jsx29(Stop5, { offset: "0%", stopColor: theme.textSecondary }),
3100
- /* @__PURE__ */ jsx29(Stop5, { offset: "100%", stopColor: theme.textPrimary })
3592
+ /* @__PURE__ */ jsxs29(LinearGradient3, { id: `${id}i`, gradientUnits: "userSpaceOnUse", x1: KRIZAKA.ink.x1 + KRIZAKA.offset, y1: KRIZAKA.ink.y1 + KRIZAKA.offset, x2: KRIZAKA.ink.x2 + KRIZAKA.offset, y2: KRIZAKA.ink.y2 + KRIZAKA.offset, children: [
3593
+ /* @__PURE__ */ jsx32(Stop5, { offset: "0%", stopColor: theme.textSecondary }),
3594
+ /* @__PURE__ */ jsx32(Stop5, { offset: "100%", stopColor: theme.textPrimary })
3101
3595
  ] }),
3102
3596
  blue
3103
3597
  ] }),
3104
- size >= 48 ? /* @__PURE__ */ jsx29(Circle5, { cx: 200, cy: 200, r: 190, fill: `url(#${id}g)` }) : null,
3105
- /* @__PURE__ */ jsx29(Circle5, { cx: 200, cy: 200, r: KRIZAKA.ring.r, stroke, strokeWidth: KRIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3106
- /* @__PURE__ */ jsx29(Group, { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: /* @__PURE__ */ jsx29(Path9, { d: KRIZAKA.shield, stroke: `url(#${id}i)`, strokeWidth: KRIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }) })
3598
+ size >= 48 ? /* @__PURE__ */ jsx32(Circle5, { cx: 200, cy: 200, r: 190, fill: `url(#${id}g)` }) : null,
3599
+ /* @__PURE__ */ jsx32(Circle5, { cx: 200, cy: 200, r: KRIZAKA.ring.r, stroke, strokeWidth: KRIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3600
+ /* @__PURE__ */ jsx32(Group, { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: /* @__PURE__ */ jsx32(Path10, { d: KRIZAKA.shield, stroke: `url(#${id}i)`, strokeWidth: KRIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }) })
3107
3601
  ] }),
3108
- /* @__PURE__ */ jsx29(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsx29(Svg11, { viewBox, style: layer, children: /* @__PURE__ */ jsx29(Circle5, { cx: 200, cy: 200, r: KRIZAKA.orbit.r, stroke, strokeWidth: KRIZAKA.orbit.width, strokeDasharray: KRIZAKA.orbit.dash, opacity: 0.6, fill: "none" }) }) }),
3109
- /* @__PURE__ */ jsx29(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs26(Svg11, { viewBox, style: layer, children: [
3110
- /* @__PURE__ */ jsx29(Defs5, { children: blue }),
3111
- /* @__PURE__ */ jsxs26(Group, { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: [
3602
+ /* @__PURE__ */ jsx32(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsx32(Svg12, { viewBox, style: layer, children: /* @__PURE__ */ jsx32(Circle5, { cx: 200, cy: 200, r: KRIZAKA.orbit.r, stroke, strokeWidth: KRIZAKA.orbit.width, strokeDasharray: KRIZAKA.orbit.dash, opacity: 0.6, fill: "none" }) }) }),
3603
+ /* @__PURE__ */ jsx32(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3604
+ /* @__PURE__ */ jsx32(Defs5, { children: blue }),
3605
+ /* @__PURE__ */ jsxs29(Group, { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: [
3112
3606
  dot(KRIZAKA.node),
3113
3607
  dot(KRIZAKA.core)
3114
3608
  ] })
@@ -3117,13 +3611,13 @@ function KrizakaMark({ size = 48, animated = true, title, neutral }) {
3117
3611
  }
3118
3612
 
3119
3613
  // src/native/loader.tsx
3120
- import * as React22 from "react";
3121
- import { AccessibilityInfo as AccessibilityInfo7, Animated as Animated11, Easing as Easing5, StyleSheet as StyleSheet26, View as View31 } from "react-native";
3122
- import Svg17, { Circle as Circle11, Path as Path15 } from "react-native-svg";
3614
+ import * as React25 from "react";
3615
+ import { AccessibilityInfo as AccessibilityInfo7, Animated as Animated12, Easing as Easing5, StyleSheet as StyleSheet29, View as View34 } from "react-native";
3616
+ import Svg18, { Circle as Circle11, Path as Path16 } from "react-native-svg";
3123
3617
 
3124
3618
  // src/native/OrazakaMark.tsx
3125
- import { View as View26 } from "react-native";
3126
- import Svg12, { Circle as Circle6, Defs as Defs6, LinearGradient as LinearGradient4, Path as Path10, RadialGradient as RadialGradient4, Stop as Stop6 } from "react-native-svg";
3619
+ import { View as View29 } from "react-native";
3620
+ import Svg13, { Circle as Circle6, Defs as Defs6, LinearGradient as LinearGradient4, Path as Path11, RadialGradient as RadialGradient4, Stop as Stop6 } from "react-native-svg";
3127
3621
 
3128
3622
  // src/marks/orazaka-geometry.ts
3129
3623
  var orange = marks.orazaka[marks.orazaka.length - 1][1];
@@ -3152,41 +3646,41 @@ var ORAZAKA = {
3152
3646
  };
3153
3647
 
3154
3648
  // src/native/OrazakaMark.tsx
3155
- import { jsx as jsx30, jsxs as jsxs27 } from "react/jsx-runtime";
3649
+ import { jsx as jsx33, jsxs as jsxs30 } from "react/jsx-runtime";
3156
3650
  function OrazakaMark({ size = 48, animated = true, title, neutral }) {
3157
3651
  const { theme } = useTheme();
3158
3652
  const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated);
3159
3653
  const id = useSvgId("ozm");
3160
3654
  const viewBox = size < 48 ? ORAZAKA.croppedViewBox : ORAZAKA.viewBox;
3161
3655
  const stroke = neutral ?? theme.textMuted;
3162
- const gradient = /* @__PURE__ */ jsx30(LinearGradient4, { id: `${id}a`, gradientUnits: "userSpaceOnUse", x1: ORAZAKA.gradient.x1, y1: ORAZAKA.gradient.y1, x2: ORAZAKA.gradient.x2, y2: ORAZAKA.gradient.y2, children: ORAZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx30(Stop6, { offset, stopColor: color }, offset)) });
3656
+ const gradient = /* @__PURE__ */ jsx33(LinearGradient4, { id: `${id}a`, gradientUnits: "userSpaceOnUse", x1: ORAZAKA.gradient.x1, y1: ORAZAKA.gradient.y1, x2: ORAZAKA.gradient.x2, y2: ORAZAKA.gradient.y2, children: ORAZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx33(Stop6, { offset, stopColor: color }, offset)) });
3163
3657
  const fill = `url(#${id}a)`;
3164
- return /* @__PURE__ */ jsxs27(View26, { style: { width: size, height: size }, ...markA11y(title), children: [
3165
- /* @__PURE__ */ jsxs27(Svg12, { viewBox, style: layer, children: [
3166
- /* @__PURE__ */ jsx30(Defs6, { children: /* @__PURE__ */ jsxs27(RadialGradient4, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3167
- /* @__PURE__ */ jsx30(Stop6, { offset: "0%", stopColor: ORAZAKA.glow.color, stopOpacity: ORAZAKA.glow.opacity }),
3168
- /* @__PURE__ */ jsx30(Stop6, { offset: "100%", stopColor: ORAZAKA.glow.color, stopOpacity: 0 })
3658
+ return /* @__PURE__ */ jsxs30(View29, { style: { width: size, height: size }, ...markA11y(title), children: [
3659
+ /* @__PURE__ */ jsxs30(Svg13, { viewBox, style: layer, children: [
3660
+ /* @__PURE__ */ jsx33(Defs6, { children: /* @__PURE__ */ jsxs30(RadialGradient4, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3661
+ /* @__PURE__ */ jsx33(Stop6, { offset: "0%", stopColor: ORAZAKA.glow.color, stopOpacity: ORAZAKA.glow.opacity }),
3662
+ /* @__PURE__ */ jsx33(Stop6, { offset: "100%", stopColor: ORAZAKA.glow.color, stopOpacity: 0 })
3169
3663
  ] }) }),
3170
- size >= 48 ? /* @__PURE__ */ jsx30(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3171
- /* @__PURE__ */ jsx30(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.orbit.r, stroke, strokeWidth: ORAZAKA.orbit.width, strokeDasharray: ORAZAKA.orbit.dash, opacity: 0.6, fill: "none" }),
3172
- /* @__PURE__ */ jsx30(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.ring.r, stroke, strokeWidth: ORAZAKA.ring.width, opacity: 0.35, fill: "none" })
3664
+ size >= 48 ? /* @__PURE__ */ jsx33(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3665
+ /* @__PURE__ */ jsx33(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.orbit.r, stroke, strokeWidth: ORAZAKA.orbit.width, strokeDasharray: ORAZAKA.orbit.dash, opacity: 0.6, fill: "none" }),
3666
+ /* @__PURE__ */ jsx33(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.ring.r, stroke, strokeWidth: ORAZAKA.ring.width, opacity: 0.35, fill: "none" })
3173
3667
  ] }),
3174
- /* @__PURE__ */ jsx30(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs27(Svg12, { viewBox, style: layer, children: [
3175
- /* @__PURE__ */ jsx30(Defs6, { children: gradient }),
3176
- ORAZAKA.shards.map((d) => /* @__PURE__ */ jsx30(Path10, { d, fill, stroke: fill, strokeWidth: ORAZAKA.shardStroke, strokeLinejoin: "round" }, d))
3668
+ /* @__PURE__ */ jsx33(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs30(Svg13, { viewBox, style: layer, children: [
3669
+ /* @__PURE__ */ jsx33(Defs6, { children: gradient }),
3670
+ ORAZAKA.shards.map((d) => /* @__PURE__ */ jsx33(Path11, { d, fill, stroke: fill, strokeWidth: ORAZAKA.shardStroke, strokeLinejoin: "round" }, d))
3177
3671
  ] }) }),
3178
- /* @__PURE__ */ jsx30(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs27(Svg12, { viewBox, style: layer, children: [
3179
- /* @__PURE__ */ jsx30(Defs6, { children: gradient }),
3180
- /* @__PURE__ */ jsx30(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.r, fill }),
3181
- /* @__PURE__ */ jsx30(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.inner, fill: ORAZAKA.highlight })
3672
+ /* @__PURE__ */ jsx33(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs30(Svg13, { viewBox, style: layer, children: [
3673
+ /* @__PURE__ */ jsx33(Defs6, { children: gradient }),
3674
+ /* @__PURE__ */ jsx33(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.r, fill }),
3675
+ /* @__PURE__ */ jsx33(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.inner, fill: ORAZAKA.highlight })
3182
3676
  ] }) })
3183
3677
  ] });
3184
3678
  }
3185
3679
 
3186
3680
  // src/native/OrochiaMark.tsx
3187
- import { useEffect as useEffect12, useState as useState20 } from "react";
3188
- import { AccessibilityInfo as AccessibilityInfo6, Animated as Animated10, Easing as Easing4, View as View27 } from "react-native";
3189
- import Svg13, { Circle as Circle7, Defs as Defs7, Ellipse, G as Group2, LinearGradient as LinearGradient5, Path as Path11, RadialGradient as RadialGradient5, Stop as Stop7 } from "react-native-svg";
3681
+ import { useEffect as useEffect13, useState as useState23 } from "react";
3682
+ import { AccessibilityInfo as AccessibilityInfo6, Animated as Animated11, Easing as Easing4, View as View30 } from "react-native";
3683
+ import Svg14, { Circle as Circle7, Defs as Defs7, Ellipse, G as Group2, LinearGradient as LinearGradient5, Path as Path12, RadialGradient as RadialGradient5, Stop as Stop7 } from "react-native-svg";
3190
3684
 
3191
3685
  // src/marks/orochia-geometry.ts
3192
3686
  var OROCHIA = {
@@ -3213,25 +3707,25 @@ var OROCHIA = {
3213
3707
  };
3214
3708
 
3215
3709
  // src/native/OrochiaMark.tsx
3216
- import { jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
3710
+ import { jsx as jsx34, jsxs as jsxs31 } from "react/jsx-runtime";
3217
3711
  var CENTER = OROCHIA.offset + 180;
3218
3712
  function OrochiaMark({ size = 48, animated = true, title, neutral: neutralProp }) {
3219
3713
  const { theme } = useTheme();
3220
3714
  const neutral = neutralProp ?? theme.textMuted;
3221
- const [spin] = useState20(() => new Animated10.Value(0));
3222
- const [pulse] = useState20(() => new Animated10.Value(0));
3223
- useEffect12(() => {
3715
+ const [spin] = useState23(() => new Animated11.Value(0));
3716
+ const [pulse] = useState23(() => new Animated11.Value(0));
3717
+ useEffect13(() => {
3224
3718
  if (!animated) return;
3225
3719
  let loops = [];
3226
3720
  let cancelled = false;
3227
3721
  void AccessibilityInfo6.isReduceMotionEnabled().then((reduce) => {
3228
3722
  if (reduce || cancelled) return;
3229
3723
  loops = [
3230
- Animated10.loop(Animated10.timing(spin, { toValue: 1, duration: 3e4, easing: Easing4.linear, useNativeDriver: true })),
3231
- Animated10.loop(
3232
- Animated10.sequence([
3233
- Animated10.timing(pulse, { toValue: 1, duration: 1600, easing: Easing4.inOut(Easing4.ease), useNativeDriver: true }),
3234
- Animated10.timing(pulse, { toValue: 0, duration: 1600, easing: Easing4.inOut(Easing4.ease), useNativeDriver: true })
3724
+ Animated11.loop(Animated11.timing(spin, { toValue: 1, duration: 3e4, easing: Easing4.linear, useNativeDriver: true })),
3725
+ Animated11.loop(
3726
+ Animated11.sequence([
3727
+ Animated11.timing(pulse, { toValue: 1, duration: 1600, easing: Easing4.inOut(Easing4.ease), useNativeDriver: true }),
3728
+ Animated11.timing(pulse, { toValue: 0, duration: 1600, easing: Easing4.inOut(Easing4.ease), useNativeDriver: true })
3235
3729
  ])
3236
3730
  )
3237
3731
  ];
@@ -3245,41 +3739,41 @@ function OrochiaMark({ size = 48, animated = true, title, neutral: neutralProp }
3245
3739
  const viewBox = size < 48 ? OROCHIA.croppedViewBox : OROCHIA.viewBox;
3246
3740
  const layer = { position: "absolute", width: size, height: size };
3247
3741
  const a11y = title ? { accessible: true, accessibilityRole: "image", accessibilityLabel: title } : { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants" };
3248
- const bodyGradient = /* @__PURE__ */ jsx31(LinearGradient5, { id: "body", gradientUnits: "userSpaceOnUse", x1: OROCHIA.body.x1 + OROCHIA.offset, y1: OROCHIA.body.y1 + OROCHIA.offset, x2: OROCHIA.body.x2 + OROCHIA.offset, y2: OROCHIA.body.y2 + OROCHIA.offset, children: OROCHIA.body.stops.map(([offset, color]) => /* @__PURE__ */ jsx31(Stop7, { offset, stopColor: color }, offset)) });
3249
- return /* @__PURE__ */ jsxs28(View27, { style: { width: size, height: size }, ...a11y, children: [
3250
- /* @__PURE__ */ jsxs28(Svg13, { viewBox, style: layer, children: [
3251
- /* @__PURE__ */ jsx31(Defs7, { children: /* @__PURE__ */ jsxs28(RadialGradient5, { id: "glow", cx: "50%", cy: "50%", r: "50%", children: [
3252
- /* @__PURE__ */ jsx31(Stop7, { offset: "0%", stopColor: OROCHIA.glow.color, stopOpacity: OROCHIA.glow.opacity }),
3253
- /* @__PURE__ */ jsx31(Stop7, { offset: "100%", stopColor: OROCHIA.glow.color, stopOpacity: 0 })
3742
+ const bodyGradient = /* @__PURE__ */ jsx34(LinearGradient5, { id: "body", gradientUnits: "userSpaceOnUse", x1: OROCHIA.body.x1 + OROCHIA.offset, y1: OROCHIA.body.y1 + OROCHIA.offset, x2: OROCHIA.body.x2 + OROCHIA.offset, y2: OROCHIA.body.y2 + OROCHIA.offset, children: OROCHIA.body.stops.map(([offset, color]) => /* @__PURE__ */ jsx34(Stop7, { offset, stopColor: color }, offset)) });
3743
+ return /* @__PURE__ */ jsxs31(View30, { style: { width: size, height: size }, ...a11y, children: [
3744
+ /* @__PURE__ */ jsxs31(Svg14, { viewBox, style: layer, children: [
3745
+ /* @__PURE__ */ jsx34(Defs7, { children: /* @__PURE__ */ jsxs31(RadialGradient5, { id: "glow", cx: "50%", cy: "50%", r: "50%", children: [
3746
+ /* @__PURE__ */ jsx34(Stop7, { offset: "0%", stopColor: OROCHIA.glow.color, stopOpacity: OROCHIA.glow.opacity }),
3747
+ /* @__PURE__ */ jsx34(Stop7, { offset: "100%", stopColor: OROCHIA.glow.color, stopOpacity: 0 })
3254
3748
  ] }) }),
3255
- /* @__PURE__ */ jsx31(Circle7, { cx: CENTER, cy: CENTER, r: 170, fill: "url(#glow)" }),
3256
- /* @__PURE__ */ jsx31(Circle7, { cx: CENTER, cy: CENTER, r: OROCHIA.ring.r, stroke: neutral, strokeWidth: OROCHIA.ring.width, opacity: 0.35, fill: "none" })
3749
+ /* @__PURE__ */ jsx34(Circle7, { cx: CENTER, cy: CENTER, r: 170, fill: "url(#glow)" }),
3750
+ /* @__PURE__ */ jsx34(Circle7, { cx: CENTER, cy: CENTER, r: OROCHIA.ring.r, stroke: neutral, strokeWidth: OROCHIA.ring.width, opacity: 0.35, fill: "none" })
3257
3751
  ] }),
3258
- /* @__PURE__ */ jsx31(Animated10.View, { style: [layer, { transform: [{ rotate: spin.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "360deg"] }) }] }], children: /* @__PURE__ */ jsx31(Svg13, { viewBox, style: layer, children: /* @__PURE__ */ jsx31(Circle7, { cx: CENTER, cy: CENTER, r: OROCHIA.orbit.r, stroke: neutral, strokeWidth: OROCHIA.orbit.width, strokeDasharray: OROCHIA.orbit.dash, opacity: 0.6, fill: "none" }) }) }),
3259
- /* @__PURE__ */ jsxs28(Svg13, { viewBox, style: layer, children: [
3260
- /* @__PURE__ */ jsx31(Defs7, { children: bodyGradient }),
3261
- /* @__PURE__ */ jsxs28(Group2, { transform: `translate(${OROCHIA.offset} ${OROCHIA.offset})`, children: [
3262
- /* @__PURE__ */ jsx31(Path11, { d: OROCHIA.arc, stroke: "url(#body)", strokeWidth: 22, strokeLinecap: "round", fill: "none" }),
3263
- /* @__PURE__ */ jsx31(Path11, { d: OROCHIA.arc, stroke: OROCHIA.scales.color, strokeOpacity: OROCHIA.scales.opacity, strokeWidth: OROCHIA.scales.width, strokeLinecap: "round", strokeDasharray: OROCHIA.scales.dash, fill: "none" }),
3264
- /* @__PURE__ */ jsx31(Path11, { d: OROCHIA.neck, stroke: "url(#body)", strokeWidth: 14, strokeLinecap: "round", fill: "none" }),
3265
- /* @__PURE__ */ jsx31(Path11, { d: OROCHIA.tail, stroke: "url(#body)", strokeWidth: 6, strokeLinecap: "round", fill: "none" }),
3266
- /* @__PURE__ */ jsx31(Ellipse, { cx: OROCHIA.head.cx, cy: OROCHIA.head.cy, rx: OROCHIA.head.rx, ry: OROCHIA.head.ry, rotation: OROCHIA.head.rotate, origin: `${OROCHIA.head.cx}, ${OROCHIA.head.cy}`, fill: "url(#body)" }),
3267
- /* @__PURE__ */ jsx31(Path11, { d: OROCHIA.tongue.d, stroke: OROCHIA.tongue.color, strokeWidth: 3, strokeLinecap: "round", fill: "none" })
3752
+ /* @__PURE__ */ jsx34(Animated11.View, { style: [layer, { transform: [{ rotate: spin.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "360deg"] }) }] }], children: /* @__PURE__ */ jsx34(Svg14, { viewBox, style: layer, children: /* @__PURE__ */ jsx34(Circle7, { cx: CENTER, cy: CENTER, r: OROCHIA.orbit.r, stroke: neutral, strokeWidth: OROCHIA.orbit.width, strokeDasharray: OROCHIA.orbit.dash, opacity: 0.6, fill: "none" }) }) }),
3753
+ /* @__PURE__ */ jsxs31(Svg14, { viewBox, style: layer, children: [
3754
+ /* @__PURE__ */ jsx34(Defs7, { children: bodyGradient }),
3755
+ /* @__PURE__ */ jsxs31(Group2, { transform: `translate(${OROCHIA.offset} ${OROCHIA.offset})`, children: [
3756
+ /* @__PURE__ */ jsx34(Path12, { d: OROCHIA.arc, stroke: "url(#body)", strokeWidth: 22, strokeLinecap: "round", fill: "none" }),
3757
+ /* @__PURE__ */ jsx34(Path12, { d: OROCHIA.arc, stroke: OROCHIA.scales.color, strokeOpacity: OROCHIA.scales.opacity, strokeWidth: OROCHIA.scales.width, strokeLinecap: "round", strokeDasharray: OROCHIA.scales.dash, fill: "none" }),
3758
+ /* @__PURE__ */ jsx34(Path12, { d: OROCHIA.neck, stroke: "url(#body)", strokeWidth: 14, strokeLinecap: "round", fill: "none" }),
3759
+ /* @__PURE__ */ jsx34(Path12, { d: OROCHIA.tail, stroke: "url(#body)", strokeWidth: 6, strokeLinecap: "round", fill: "none" }),
3760
+ /* @__PURE__ */ jsx34(Ellipse, { cx: OROCHIA.head.cx, cy: OROCHIA.head.cy, rx: OROCHIA.head.rx, ry: OROCHIA.head.ry, rotation: OROCHIA.head.rotate, origin: `${OROCHIA.head.cx}, ${OROCHIA.head.cy}`, fill: "url(#body)" }),
3761
+ /* @__PURE__ */ jsx34(Path12, { d: OROCHIA.tongue.d, stroke: OROCHIA.tongue.color, strokeWidth: 3, strokeLinecap: "round", fill: "none" })
3268
3762
  ] })
3269
3763
  ] }),
3270
- /* @__PURE__ */ jsx31(Animated10.View, { style: [layer, { opacity: pulse.interpolate({ inputRange: [0, 1], outputRange: [0.85, 1] }) }], children: /* @__PURE__ */ jsxs28(Svg13, { viewBox, style: layer, children: [
3271
- /* @__PURE__ */ jsx31(Defs7, { children: /* @__PURE__ */ jsx31(LinearGradient5, { id: "flame", x1: "50%", y1: "100%", x2: "50%", y2: "0%", children: OROCHIA.flameGradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx31(Stop7, { offset, stopColor: color }, offset)) }) }),
3272
- /* @__PURE__ */ jsxs28(Group2, { transform: `translate(${OROCHIA.offset} ${OROCHIA.offset})`, children: [
3273
- /* @__PURE__ */ jsx31(Circle7, { cx: OROCHIA.eye.cx, cy: OROCHIA.eye.cy, r: OROCHIA.eye.r, fill: OROCHIA.eye.color }),
3274
- /* @__PURE__ */ jsx31(Path11, { d: OROCHIA.flame.d, transform: `translate(${OROCHIA.flame.translate[0]} ${OROCHIA.flame.translate[1]}) scale(${OROCHIA.flame.scale})`, fill: "url(#flame)" })
3764
+ /* @__PURE__ */ jsx34(Animated11.View, { style: [layer, { opacity: pulse.interpolate({ inputRange: [0, 1], outputRange: [0.85, 1] }) }], children: /* @__PURE__ */ jsxs31(Svg14, { viewBox, style: layer, children: [
3765
+ /* @__PURE__ */ jsx34(Defs7, { children: /* @__PURE__ */ jsx34(LinearGradient5, { id: "flame", x1: "50%", y1: "100%", x2: "50%", y2: "0%", children: OROCHIA.flameGradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx34(Stop7, { offset, stopColor: color }, offset)) }) }),
3766
+ /* @__PURE__ */ jsxs31(Group2, { transform: `translate(${OROCHIA.offset} ${OROCHIA.offset})`, children: [
3767
+ /* @__PURE__ */ jsx34(Circle7, { cx: OROCHIA.eye.cx, cy: OROCHIA.eye.cy, r: OROCHIA.eye.r, fill: OROCHIA.eye.color }),
3768
+ /* @__PURE__ */ jsx34(Path12, { d: OROCHIA.flame.d, transform: `translate(${OROCHIA.flame.translate[0]} ${OROCHIA.flame.translate[1]}) scale(${OROCHIA.flame.scale})`, fill: "url(#flame)" })
3275
3769
  ] })
3276
3770
  ] }) })
3277
3771
  ] });
3278
3772
  }
3279
3773
 
3280
3774
  // src/native/YasakiaMark.tsx
3281
- import { View as View28 } from "react-native";
3282
- import Svg14, { Circle as Circle8, Defs as Defs8, LinearGradient as LinearGradient6, Path as Path12, RadialGradient as RadialGradient6, Stop as Stop8 } from "react-native-svg";
3775
+ import { View as View31 } from "react-native";
3776
+ import Svg15, { Circle as Circle8, Defs as Defs8, LinearGradient as LinearGradient6, Path as Path13, RadialGradient as RadialGradient6, Stop as Stop8 } from "react-native-svg";
3283
3777
 
3284
3778
  // src/marks/yasakia-geometry.ts
3285
3779
  var turquoise = marks.yasakia[marks.yasakia.length - 1][1];
@@ -3307,43 +3801,43 @@ var YASAKIA = {
3307
3801
  };
3308
3802
 
3309
3803
  // src/native/YasakiaMark.tsx
3310
- import { jsx as jsx32, jsxs as jsxs29 } from "react/jsx-runtime";
3804
+ import { jsx as jsx35, jsxs as jsxs32 } from "react/jsx-runtime";
3311
3805
  function YasakiaMark({ size = 48, animated = true, title, neutral }) {
3312
3806
  const { theme } = useTheme();
3313
3807
  const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, YASAKIA.motion.spin * 1e3);
3314
3808
  const id = useSvgId("yzm");
3315
3809
  const viewBox = size < 48 ? YASAKIA.croppedViewBox : YASAKIA.viewBox;
3316
3810
  const stroke = neutral ?? theme.textMuted;
3317
- const gradient = /* @__PURE__ */ jsx32(LinearGradient6, { id: `${id}a`, gradientUnits: "userSpaceOnUse", x1: YASAKIA.gradient.x1, y1: YASAKIA.gradient.y1, x2: YASAKIA.gradient.x2, y2: YASAKIA.gradient.y2, children: YASAKIA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx32(Stop8, { offset, stopColor: color }, offset)) });
3811
+ const gradient = /* @__PURE__ */ jsx35(LinearGradient6, { id: `${id}a`, gradientUnits: "userSpaceOnUse", x1: YASAKIA.gradient.x1, y1: YASAKIA.gradient.y1, x2: YASAKIA.gradient.x2, y2: YASAKIA.gradient.y2, children: YASAKIA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx35(Stop8, { offset, stopColor: color }, offset)) });
3318
3812
  const fill = `url(#${id}a)`;
3319
- return /* @__PURE__ */ jsxs29(View28, { style: { width: size, height: size }, ...markA11y(title), children: [
3320
- /* @__PURE__ */ jsxs29(Svg14, { viewBox, style: layer, children: [
3321
- /* @__PURE__ */ jsxs29(Defs8, { children: [
3322
- /* @__PURE__ */ jsxs29(RadialGradient6, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3323
- /* @__PURE__ */ jsx32(Stop8, { offset: "0%", stopColor: YASAKIA.glow.color, stopOpacity: YASAKIA.glow.opacity }),
3324
- /* @__PURE__ */ jsx32(Stop8, { offset: "100%", stopColor: YASAKIA.glow.color, stopOpacity: 0 })
3813
+ return /* @__PURE__ */ jsxs32(View31, { style: { width: size, height: size }, ...markA11y(title), children: [
3814
+ /* @__PURE__ */ jsxs32(Svg15, { viewBox, style: layer, children: [
3815
+ /* @__PURE__ */ jsxs32(Defs8, { children: [
3816
+ /* @__PURE__ */ jsxs32(RadialGradient6, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3817
+ /* @__PURE__ */ jsx35(Stop8, { offset: "0%", stopColor: YASAKIA.glow.color, stopOpacity: YASAKIA.glow.opacity }),
3818
+ /* @__PURE__ */ jsx35(Stop8, { offset: "100%", stopColor: YASAKIA.glow.color, stopOpacity: 0 })
3325
3819
  ] }),
3326
3820
  gradient
3327
3821
  ] }),
3328
- size >= 48 ? /* @__PURE__ */ jsx32(Circle8, { cx: YASAKIA.center, cy: YASAKIA.center, r: 190, fill: `url(#${id}g)` }) : null,
3329
- /* @__PURE__ */ jsx32(Circle8, { cx: YASAKIA.center, cy: YASAKIA.center, r: YASAKIA.ring.r, stroke, strokeWidth: YASAKIA.ring.width, opacity: 0.35, fill: "none" }),
3330
- /* @__PURE__ */ jsx32(Circle8, { cx: YASAKIA.bubble.cx, cy: YASAKIA.bubble.cy, r: YASAKIA.bubble.r, fill }),
3331
- /* @__PURE__ */ jsx32(Path12, { d: YASAKIA.tails.join(" "), fill })
3822
+ size >= 48 ? /* @__PURE__ */ jsx35(Circle8, { cx: YASAKIA.center, cy: YASAKIA.center, r: 190, fill: `url(#${id}g)` }) : null,
3823
+ /* @__PURE__ */ jsx35(Circle8, { cx: YASAKIA.center, cy: YASAKIA.center, r: YASAKIA.ring.r, stroke, strokeWidth: YASAKIA.ring.width, opacity: 0.35, fill: "none" }),
3824
+ /* @__PURE__ */ jsx35(Circle8, { cx: YASAKIA.bubble.cx, cy: YASAKIA.bubble.cy, r: YASAKIA.bubble.r, fill }),
3825
+ /* @__PURE__ */ jsx35(Path13, { d: YASAKIA.tails.join(" "), fill })
3332
3826
  ] }),
3333
- /* @__PURE__ */ jsx32(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs29(Svg14, { viewBox, style: layer, children: [
3334
- /* @__PURE__ */ jsx32(Defs8, { children: gradient }),
3335
- /* @__PURE__ */ jsx32(Circle8, { cx: YASAKIA.center, cy: YASAKIA.center, r: YASAKIA.orbit.r, stroke, strokeWidth: YASAKIA.orbit.width, strokeDasharray: YASAKIA.orbit.dash, opacity: 0.6, fill: "none" }),
3336
- /* @__PURE__ */ jsx32(Circle8, { cx: YASAKIA.node.at[0], cy: YASAKIA.node.at[1], r: YASAKIA.node.r, fill })
3827
+ /* @__PURE__ */ jsx35(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs32(Svg15, { viewBox, style: layer, children: [
3828
+ /* @__PURE__ */ jsx35(Defs8, { children: gradient }),
3829
+ /* @__PURE__ */ jsx35(Circle8, { cx: YASAKIA.center, cy: YASAKIA.center, r: YASAKIA.orbit.r, stroke, strokeWidth: YASAKIA.orbit.width, strokeDasharray: YASAKIA.orbit.dash, opacity: 0.6, fill: "none" }),
3830
+ /* @__PURE__ */ jsx35(Circle8, { cx: YASAKIA.node.at[0], cy: YASAKIA.node.at[1], r: YASAKIA.node.r, fill })
3337
3831
  ] }) }),
3338
- /* @__PURE__ */ jsx32(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsx32(Svg14, { viewBox, style: layer, children: /* @__PURE__ */ jsx32(Path12, { d: YASAKIA.spark.d, fill: YASAKIA.highlight, stroke: YASAKIA.highlight, strokeWidth: YASAKIA.spark.soften, strokeLinejoin: "round" }) }) })
3832
+ /* @__PURE__ */ jsx35(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsx35(Svg15, { viewBox, style: layer, children: /* @__PURE__ */ jsx35(Path13, { d: YASAKIA.spark.d, fill: YASAKIA.highlight, stroke: YASAKIA.highlight, strokeWidth: YASAKIA.spark.soften, strokeLinejoin: "round" }) }) })
3339
3833
  ] });
3340
3834
  }
3341
3835
  var YazakiaMark = YasakiaMark;
3342
3836
 
3343
3837
  // src/native/YomizakaMark.tsx
3344
- import React21 from "react";
3345
- import { View as View29 } from "react-native";
3346
- import Svg15, { Circle as Circle9, Defs as Defs9, LinearGradient as LinearGradient7, Path as Path13, RadialGradient as RadialGradient7, Stop as Stop9 } from "react-native-svg";
3838
+ import React24 from "react";
3839
+ import { View as View32 } from "react-native";
3840
+ import Svg16, { Circle as Circle9, Defs as Defs9, LinearGradient as LinearGradient7, Path as Path14, RadialGradient as RadialGradient7, Stop as Stop9 } from "react-native-svg";
3347
3841
 
3348
3842
  // src/marks/yomizaka-geometry.ts
3349
3843
  var indigo = marks.yomizaka[marks.yomizaka.length - 1][1];
@@ -3376,47 +3870,47 @@ var YOMIZAKA = {
3376
3870
  };
3377
3871
 
3378
3872
  // src/native/YomizakaMark.tsx
3379
- import { jsx as jsx33, jsxs as jsxs30 } from "react/jsx-runtime";
3873
+ import { jsx as jsx36, jsxs as jsxs33 } from "react/jsx-runtime";
3380
3874
  function YomizakaMark({ size = 48, animated = true, title, neutral }) {
3381
3875
  const { theme } = useTheme();
3382
3876
  const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, YOMIZAKA.motion.spin * 1e3);
3383
3877
  const id = useSvgId("ymm");
3384
3878
  const viewBox = size < 48 ? YOMIZAKA.croppedViewBox : YOMIZAKA.viewBox;
3385
3879
  const stroke = neutral ?? theme.textMuted;
3386
- const gradient = /* @__PURE__ */ jsx33(LinearGradient7, { id: `${id}a`, gradientUnits: "userSpaceOnUse", x1: YOMIZAKA.gradient.x1, y1: YOMIZAKA.gradient.y1, x2: YOMIZAKA.gradient.x2, y2: YOMIZAKA.gradient.y2, children: YOMIZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx33(Stop9, { offset, stopColor: color }, offset)) });
3880
+ const gradient = /* @__PURE__ */ jsx36(LinearGradient7, { id: `${id}a`, gradientUnits: "userSpaceOnUse", x1: YOMIZAKA.gradient.x1, y1: YOMIZAKA.gradient.y1, x2: YOMIZAKA.gradient.x2, y2: YOMIZAKA.gradient.y2, children: YOMIZAKA.gradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx36(Stop9, { offset, stopColor: color }, offset)) });
3387
3881
  const fill = `url(#${id}a)`;
3388
- return /* @__PURE__ */ jsxs30(View29, { style: { width: size, height: size }, ...markA11y(title), children: [
3389
- /* @__PURE__ */ jsxs30(Svg15, { viewBox, style: layer, children: [
3390
- /* @__PURE__ */ jsxs30(Defs9, { children: [
3391
- /* @__PURE__ */ jsxs30(RadialGradient7, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3392
- /* @__PURE__ */ jsx33(Stop9, { offset: "0%", stopColor: YOMIZAKA.glow.color, stopOpacity: YOMIZAKA.glow.opacity }),
3393
- /* @__PURE__ */ jsx33(Stop9, { offset: "100%", stopColor: YOMIZAKA.glow.color, stopOpacity: 0 })
3882
+ return /* @__PURE__ */ jsxs33(View32, { style: { width: size, height: size }, ...markA11y(title), children: [
3883
+ /* @__PURE__ */ jsxs33(Svg16, { viewBox, style: layer, children: [
3884
+ /* @__PURE__ */ jsxs33(Defs9, { children: [
3885
+ /* @__PURE__ */ jsxs33(RadialGradient7, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3886
+ /* @__PURE__ */ jsx36(Stop9, { offset: "0%", stopColor: YOMIZAKA.glow.color, stopOpacity: YOMIZAKA.glow.opacity }),
3887
+ /* @__PURE__ */ jsx36(Stop9, { offset: "100%", stopColor: YOMIZAKA.glow.color, stopOpacity: 0 })
3394
3888
  ] }),
3395
3889
  gradient
3396
3890
  ] }),
3397
- size >= 48 ? /* @__PURE__ */ jsx33(Circle9, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3398
- /* @__PURE__ */ jsx33(Circle9, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.ring.r, stroke, strokeWidth: YOMIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3399
- /* @__PURE__ */ jsx33(Path13, { d: YOMIZAKA.brow, stroke: fill, strokeWidth: YOMIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
3400
- YOMIZAKA.lenses.map((l) => /* @__PURE__ */ jsx33(Circle9, { cx: l.cx, cy: l.cy, r: l.r, stroke: fill, strokeWidth: YOMIZAKA.stroke, fill: "none" }, l.cx))
3891
+ size >= 48 ? /* @__PURE__ */ jsx36(Circle9, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3892
+ /* @__PURE__ */ jsx36(Circle9, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.ring.r, stroke, strokeWidth: YOMIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3893
+ /* @__PURE__ */ jsx36(Path14, { d: YOMIZAKA.brow, stroke: fill, strokeWidth: YOMIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
3894
+ YOMIZAKA.lenses.map((l) => /* @__PURE__ */ jsx36(Circle9, { cx: l.cx, cy: l.cy, r: l.r, stroke: fill, strokeWidth: YOMIZAKA.stroke, fill: "none" }, l.cx))
3401
3895
  ] }),
3402
- /* @__PURE__ */ jsx33(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs30(Svg15, { viewBox, style: layer, children: [
3403
- /* @__PURE__ */ jsx33(Defs9, { children: gradient }),
3404
- /* @__PURE__ */ jsx33(Circle9, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.orbit.r, stroke, strokeWidth: YOMIZAKA.orbit.width, strokeDasharray: YOMIZAKA.orbit.dash, opacity: 0.6, fill: "none" }),
3405
- /* @__PURE__ */ jsx33(Circle9, { cx: YOMIZAKA.node.at[0], cy: YOMIZAKA.node.at[1], r: YOMIZAKA.node.r, fill })
3896
+ /* @__PURE__ */ jsx36(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs33(Svg16, { viewBox, style: layer, children: [
3897
+ /* @__PURE__ */ jsx36(Defs9, { children: gradient }),
3898
+ /* @__PURE__ */ jsx36(Circle9, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.orbit.r, stroke, strokeWidth: YOMIZAKA.orbit.width, strokeDasharray: YOMIZAKA.orbit.dash, opacity: 0.6, fill: "none" }),
3899
+ /* @__PURE__ */ jsx36(Circle9, { cx: YOMIZAKA.node.at[0], cy: YOMIZAKA.node.at[1], r: YOMIZAKA.node.r, fill })
3406
3900
  ] }) }),
3407
- /* @__PURE__ */ jsx33(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs30(Svg15, { viewBox, style: layer, children: [
3408
- /* @__PURE__ */ jsx33(Defs9, { children: gradient }),
3409
- YOMIZAKA.pupils.map((p) => /* @__PURE__ */ jsxs30(React21.Fragment, { children: [
3410
- /* @__PURE__ */ jsx33(Circle9, { cx: p.cx, cy: p.cy, r: p.r, fill }),
3411
- /* @__PURE__ */ jsx33(Circle9, { cx: p.cx, cy: p.cy, r: p.inner, fill: YOMIZAKA.highlight })
3901
+ /* @__PURE__ */ jsx36(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs33(Svg16, { viewBox, style: layer, children: [
3902
+ /* @__PURE__ */ jsx36(Defs9, { children: gradient }),
3903
+ YOMIZAKA.pupils.map((p) => /* @__PURE__ */ jsxs33(React24.Fragment, { children: [
3904
+ /* @__PURE__ */ jsx36(Circle9, { cx: p.cx, cy: p.cy, r: p.r, fill }),
3905
+ /* @__PURE__ */ jsx36(Circle9, { cx: p.cx, cy: p.cy, r: p.inner, fill: YOMIZAKA.highlight })
3412
3906
  ] }, p.cx))
3413
3907
  ] }) })
3414
3908
  ] });
3415
3909
  }
3416
3910
 
3417
3911
  // src/native/YororisMark.tsx
3418
- import { View as View30 } from "react-native";
3419
- import Svg16, { Circle as Circle10, Defs as Defs10, Path as Path14, RadialGradient as RadialGradient8, Stop as Stop10 } from "react-native-svg";
3912
+ import { View as View33 } from "react-native";
3913
+ import Svg17, { Circle as Circle10, Defs as Defs10, Path as Path15, RadialGradient as RadialGradient8, Stop as Stop10 } from "react-native-svg";
3420
3914
 
3421
3915
  // src/marks/yororis-geometry.ts
3422
3916
  var sand = marks.yororis[0][1];
@@ -3444,77 +3938,77 @@ var YORORIS = {
3444
3938
  };
3445
3939
 
3446
3940
  // src/native/YororisMark.tsx
3447
- import { jsx as jsx34, jsxs as jsxs31 } from "react/jsx-runtime";
3941
+ import { jsx as jsx37, jsxs as jsxs34 } from "react/jsx-runtime";
3448
3942
  function YororisMark({ size = 48, animated = true, title, neutral }) {
3449
3943
  const { theme } = useTheme();
3450
3944
  const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, YORORIS.motion.spin * 1e3);
3451
3945
  const id = useSvgId("yrm");
3452
3946
  const viewBox = size < 48 ? YORORIS.croppedViewBox : YORORIS.viewBox;
3453
3947
  const stroke = neutral ?? theme.textMuted;
3454
- return /* @__PURE__ */ jsxs31(View30, { style: { width: size, height: size }, ...markA11y(title), children: [
3455
- /* @__PURE__ */ jsxs31(Svg16, { viewBox, style: layer, children: [
3456
- /* @__PURE__ */ jsx34(Defs10, { children: /* @__PURE__ */ jsxs31(RadialGradient8, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3457
- /* @__PURE__ */ jsx34(Stop10, { offset: "0%", stopColor: YORORIS.glow.color, stopOpacity: YORORIS.glow.opacity }),
3458
- /* @__PURE__ */ jsx34(Stop10, { offset: "100%", stopColor: YORORIS.glow.color, stopOpacity: 0 })
3948
+ return /* @__PURE__ */ jsxs34(View33, { style: { width: size, height: size }, ...markA11y(title), children: [
3949
+ /* @__PURE__ */ jsxs34(Svg17, { viewBox, style: layer, children: [
3950
+ /* @__PURE__ */ jsx37(Defs10, { children: /* @__PURE__ */ jsxs34(RadialGradient8, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3951
+ /* @__PURE__ */ jsx37(Stop10, { offset: "0%", stopColor: YORORIS.glow.color, stopOpacity: YORORIS.glow.opacity }),
3952
+ /* @__PURE__ */ jsx37(Stop10, { offset: "100%", stopColor: YORORIS.glow.color, stopOpacity: 0 })
3459
3953
  ] }) }),
3460
- size >= 48 ? /* @__PURE__ */ jsx34(Circle10, { cx: YORORIS.center, cy: YORORIS.center, r: 190, fill: `url(#${id}g)` }) : null,
3461
- /* @__PURE__ */ jsx34(Circle10, { cx: YORORIS.center, cy: YORORIS.center, r: YORORIS.ring.r, stroke, strokeWidth: YORORIS.ring.width, opacity: 0.35, fill: "none" }),
3462
- /* @__PURE__ */ jsx34(Path14, { d: YORORIS.hands, stroke: YORORIS.sage, strokeWidth: YORORIS.stroke, strokeLinecap: "round", fill: "none" })
3954
+ size >= 48 ? /* @__PURE__ */ jsx37(Circle10, { cx: YORORIS.center, cy: YORORIS.center, r: 190, fill: `url(#${id}g)` }) : null,
3955
+ /* @__PURE__ */ jsx37(Circle10, { cx: YORORIS.center, cy: YORORIS.center, r: YORORIS.ring.r, stroke, strokeWidth: YORORIS.ring.width, opacity: 0.35, fill: "none" }),
3956
+ /* @__PURE__ */ jsx37(Path15, { d: YORORIS.hands, stroke: YORORIS.sage, strokeWidth: YORORIS.stroke, strokeLinecap: "round", fill: "none" })
3463
3957
  ] }),
3464
- /* @__PURE__ */ jsx34(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs31(Svg16, { viewBox, style: layer, children: [
3465
- /* @__PURE__ */ jsx34(Circle10, { cx: YORORIS.center, cy: YORORIS.center, r: YORORIS.orbit.r, stroke, strokeWidth: YORORIS.orbit.width, strokeDasharray: YORORIS.orbit.dash, opacity: 0.6, fill: "none" }),
3466
- /* @__PURE__ */ jsx34(Circle10, { cx: YORORIS.node.at[0], cy: YORORIS.node.at[1], r: YORORIS.node.r, fill: YORORIS.sage })
3958
+ /* @__PURE__ */ jsx37(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs34(Svg17, { viewBox, style: layer, children: [
3959
+ /* @__PURE__ */ jsx37(Circle10, { cx: YORORIS.center, cy: YORORIS.center, r: YORORIS.orbit.r, stroke, strokeWidth: YORORIS.orbit.width, strokeDasharray: YORORIS.orbit.dash, opacity: 0.6, fill: "none" }),
3960
+ /* @__PURE__ */ jsx37(Circle10, { cx: YORORIS.node.at[0], cy: YORORIS.node.at[1], r: YORORIS.node.r, fill: YORORIS.sage })
3467
3961
  ] }) }),
3468
- /* @__PURE__ */ jsx34(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs31(Svg16, { viewBox, style: layer, children: [
3469
- /* @__PURE__ */ jsx34(Circle10, { cx: YORORIS.core.cx, cy: YORORIS.core.cy, r: YORORIS.core.r, fill: YORORIS.sand }),
3470
- /* @__PURE__ */ jsx34(Circle10, { cx: YORORIS.core.cx, cy: YORORIS.core.cy, r: YORORIS.core.inner, fill: YORORIS.highlight })
3962
+ /* @__PURE__ */ jsx37(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs34(Svg17, { viewBox, style: layer, children: [
3963
+ /* @__PURE__ */ jsx37(Circle10, { cx: YORORIS.core.cx, cy: YORORIS.core.cy, r: YORORIS.core.r, fill: YORORIS.sand }),
3964
+ /* @__PURE__ */ jsx37(Circle10, { cx: YORORIS.core.cx, cy: YORORIS.core.cy, r: YORORIS.core.inner, fill: YORORIS.highlight })
3471
3965
  ] }) })
3472
3966
  ] });
3473
3967
  }
3474
3968
 
3475
3969
  // src/native/ProductMark.tsx
3476
- import { jsx as jsx35 } from "react/jsx-runtime";
3970
+ import { jsx as jsx38 } from "react/jsx-runtime";
3477
3971
  function ProductMark({ id, ...props }) {
3478
- if (id === "krizaka") return /* @__PURE__ */ jsx35(KrizakaMark, { ...props });
3479
- if (id === "orazaka") return /* @__PURE__ */ jsx35(OrazakaMark, { ...props });
3480
- if (id === "yasakia" || id === "yazakia") return /* @__PURE__ */ jsx35(YasakiaMark, { ...props });
3481
- if (id === "yororis") return /* @__PURE__ */ jsx35(YororisMark, { ...props });
3482
- if (id === "yomizaka") return /* @__PURE__ */ jsx35(YomizakaMark, { ...props });
3483
- if (id === "kachizaka") return /* @__PURE__ */ jsx35(KachizakaMark, { ...props });
3484
- if (id === "akinaza") return /* @__PURE__ */ jsx35(AkinazaMark, { ...props });
3485
- return /* @__PURE__ */ jsx35(OrochiaMark, { ...props });
3972
+ if (id === "krizaka") return /* @__PURE__ */ jsx38(KrizakaMark, { ...props });
3973
+ if (id === "orazaka") return /* @__PURE__ */ jsx38(OrazakaMark, { ...props });
3974
+ if (id === "yasakia" || id === "yazakia") return /* @__PURE__ */ jsx38(YasakiaMark, { ...props });
3975
+ if (id === "yororis") return /* @__PURE__ */ jsx38(YororisMark, { ...props });
3976
+ if (id === "yomizaka") return /* @__PURE__ */ jsx38(YomizakaMark, { ...props });
3977
+ if (id === "kachizaka") return /* @__PURE__ */ jsx38(KachizakaMark, { ...props });
3978
+ if (id === "akinaza") return /* @__PURE__ */ jsx38(AkinazaMark, { ...props });
3979
+ return /* @__PURE__ */ jsx38(OrochiaMark, { ...props });
3486
3980
  }
3487
3981
 
3488
3982
  // src/native/loader.tsx
3489
- import { jsx as jsx36, jsxs as jsxs32 } from "react/jsx-runtime";
3983
+ import { jsx as jsx39, jsxs as jsxs35 } from "react/jsx-runtime";
3490
3984
  var HEX = "M12 3 19.79 7.5 19.79 16.5 12 21 4.21 16.5 4.21 7.5Z";
3491
3985
  var PERIMETER = 54;
3492
3986
  function LoaderGlyph({ state = "loading", value, size = 20, color }) {
3493
3987
  const { theme } = useTheme();
3494
3988
  const reduce = useReducedMotion();
3495
- const [spin] = React22.useState(() => new Animated11.Value(0));
3989
+ const [spin] = React25.useState(() => new Animated12.Value(0));
3496
3990
  const known = typeof value === "number" && Number.isFinite(value);
3497
- React22.useEffect(() => {
3991
+ React25.useEffect(() => {
3498
3992
  if (state !== "loading" || known || reduce) return;
3499
- const loop = Animated11.loop(Animated11.timing(spin, { toValue: 1, duration: 1400, easing: Easing5.linear, useNativeDriver: true }));
3993
+ const loop = Animated12.loop(Animated12.timing(spin, { toValue: 1, duration: 1400, easing: Easing5.linear, useNativeDriver: true }));
3500
3994
  loop.start();
3501
3995
  return () => loop.stop();
3502
3996
  }, [state, known, reduce, spin]);
3503
3997
  const stroke = color ?? (state === "success" ? theme.success : state === "error" ? theme.danger : theme.accent);
3504
3998
  const fill = state !== "loading" ? 1 : known ? Math.min(1, Math.max(0, value)) : 0.3;
3505
3999
  const rotate = spin.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "360deg"] });
3506
- return /* @__PURE__ */ jsx36(Animated11.View, { "aria-hidden": true, style: { width: size, height: size, transform: state === "loading" && !known ? [{ rotate }] : [] }, children: /* @__PURE__ */ jsxs32(Svg17, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
3507
- /* @__PURE__ */ jsx36(Path15, { d: HEX, stroke, strokeOpacity: 0.22, strokeWidth: 2.2, strokeLinejoin: "round" }),
3508
- /* @__PURE__ */ jsx36(Path15, { d: HEX, stroke, strokeWidth: 2.2, strokeLinejoin: "round", strokeLinecap: "round", strokeDasharray: `${fill * PERIMETER} ${PERIMETER}` }),
3509
- state === "loading" ? /* @__PURE__ */ jsx36(Circle11, { cx: 12, cy: 12, r: 2.6, fill: stroke }) : null,
3510
- state === "success" ? /* @__PURE__ */ jsx36(Path15, { d: "M8.3 12.3l2.6 2.6 4.9-5.3", stroke, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" }) : null,
3511
- state === "error" ? /* @__PURE__ */ jsx36(Path15, { d: "M9.4 9.4l5.2 5.2M14.6 9.4l-5.2 5.2", stroke, strokeWidth: 2.2, strokeLinecap: "round" }) : null
4000
+ return /* @__PURE__ */ jsx39(Animated12.View, { "aria-hidden": true, style: { width: size, height: size, transform: state === "loading" && !known ? [{ rotate }] : [] }, children: /* @__PURE__ */ jsxs35(Svg18, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
4001
+ /* @__PURE__ */ jsx39(Path16, { d: HEX, stroke, strokeOpacity: 0.22, strokeWidth: 2.2, strokeLinejoin: "round" }),
4002
+ /* @__PURE__ */ jsx39(Path16, { d: HEX, stroke, strokeWidth: 2.2, strokeLinejoin: "round", strokeLinecap: "round", strokeDasharray: `${fill * PERIMETER} ${PERIMETER}` }),
4003
+ state === "loading" ? /* @__PURE__ */ jsx39(Circle11, { cx: 12, cy: 12, r: 2.6, fill: stroke }) : null,
4004
+ state === "success" ? /* @__PURE__ */ jsx39(Path16, { d: "M8.3 12.3l2.6 2.6 4.9-5.3", stroke, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" }) : null,
4005
+ state === "error" ? /* @__PURE__ */ jsx39(Path16, { d: "M9.4 9.4l5.2 5.2M14.6 9.4l-5.2 5.2", stroke, strokeWidth: 2.2, strokeLinecap: "round" }) : null
3512
4006
  ] }) });
3513
4007
  }
3514
4008
  function useDelayedWait(active, delay = 250, minDuration = 600) {
3515
- const [shown, setShown] = React22.useState(false);
3516
- const since = React22.useRef(0);
3517
- React22.useEffect(() => {
4009
+ const [shown, setShown] = React25.useState(false);
4010
+ const since = React25.useRef(0);
4011
+ React25.useEffect(() => {
3518
4012
  if (active && !shown) {
3519
4013
  const timer2 = setTimeout(() => {
3520
4014
  since.current = Date.now();
@@ -3534,9 +4028,9 @@ var GLYPH = { inline: 20, block: 36, overlay: 36, page: 56 };
3534
4028
  function Loader({ label, status = "loading", successLabel, errorLabel, value, eta, delay = 250, minDuration = 600, endDuration = 1600, variant = "inline", product, style }) {
3535
4029
  const { theme, radius: radius3 } = useTheme();
3536
4030
  const waiting = useDelayedWait(status === "loading", delay, minDuration);
3537
- const [ending, setEnding] = React22.useState(null);
3538
- const seen = React22.useRef(false);
3539
- React22.useEffect(() => {
4031
+ const [ending, setEnding] = React25.useState(null);
4032
+ const seen = React25.useRef(false);
4033
+ React25.useEffect(() => {
3540
4034
  if (waiting) {
3541
4035
  seen.current = true;
3542
4036
  return;
@@ -3553,29 +4047,29 @@ function Loader({ label, status = "loading", successLabel, errorLabel, value, et
3553
4047
  }, [waiting, status, endDuration]);
3554
4048
  const phase = waiting ? "loading" : ending;
3555
4049
  const words2 = phase === "success" ? successLabel ?? label : phase === "error" ? errorLabel ?? label : label;
3556
- React22.useEffect(() => {
4050
+ React25.useEffect(() => {
3557
4051
  if (phase) AccessibilityInfo7.announceForAccessibility(words2);
3558
4052
  }, [phase, words2]);
3559
4053
  if (!phase) return null;
3560
4054
  const known = phase === "loading" && typeof value === "number" && Number.isFinite(value);
3561
4055
  const detail = phase === "loading" ? [known ? `${Math.round(Math.min(1, Math.max(0, value)) * 100)} %` : null, eta].filter(Boolean).join(" \xB7 ") : "";
3562
4056
  const stacked = variant !== "inline";
3563
- const box = /* @__PURE__ */ jsxs32(View31, { style: [stacked ? styles26.stacked : styles26.inline, variant === "overlay" ? { backgroundColor: alpha(theme.surface1, 0.92), borderColor: theme.borderDefault, borderRadius: radius3.lg, ...styles26.card } : null], children: [
3564
- product && phase === "loading" ? /* @__PURE__ */ jsx36(ProductMark, { id: product, size: GLYPH[variant], animated: true }) : /* @__PURE__ */ jsx36(LoaderGlyph, { state: phase, value: known ? value : null, size: GLYPH[variant] }),
3565
- /* @__PURE__ */ jsxs32(View31, { style: stacked ? styles26.center : styles26.text, children: [
3566
- /* @__PURE__ */ jsx36(Txt, { variant: variant === "page" ? "title" : "label", style: stacked ? styles26.centered : null, children: words2 }),
3567
- detail ? /* @__PURE__ */ jsx36(Txt, { variant: "caption", tone: "secondary", style: stacked ? styles26.centered : null, children: detail }) : null
4057
+ const box = /* @__PURE__ */ jsxs35(View34, { style: [stacked ? styles29.stacked : styles29.inline, variant === "overlay" ? { backgroundColor: alpha(theme.surface1, 0.92), borderColor: theme.borderDefault, borderRadius: radius3.lg, ...styles29.card } : null], children: [
4058
+ product && phase === "loading" ? /* @__PURE__ */ jsx39(ProductMark, { id: product, size: GLYPH[variant], animated: true }) : /* @__PURE__ */ jsx39(LoaderGlyph, { state: phase, value: known ? value : null, size: GLYPH[variant] }),
4059
+ /* @__PURE__ */ jsxs35(View34, { style: stacked ? styles29.center : styles29.text, children: [
4060
+ /* @__PURE__ */ jsx39(Txt, { variant: variant === "page" ? "title" : "label", style: stacked ? styles29.centered : null, children: words2 }),
4061
+ detail ? /* @__PURE__ */ jsx39(Txt, { variant: "caption", tone: "secondary", style: stacked ? styles29.centered : null, children: detail }) : null
3568
4062
  ] })
3569
4063
  ] });
3570
4064
  const a11y = { accessible: true, role: "progressbar", "aria-label": words2, "aria-busy": phase === "loading", accessibilityLiveRegion: "polite" };
3571
4065
  if (variant === "overlay" || variant === "page")
3572
- return /* @__PURE__ */ jsx36(View31, { ...a11y, style: [StyleSheet26.absoluteFill, styles26.cover, variant === "page" ? { backgroundColor: alpha(theme.surface0, 0.86) } : null, style], children: box });
3573
- return /* @__PURE__ */ jsx36(View31, { ...a11y, style: [variant === "block" ? styles26.block : null, style], children: box });
4066
+ return /* @__PURE__ */ jsx39(View34, { ...a11y, style: [StyleSheet29.absoluteFill, styles29.cover, variant === "page" ? { backgroundColor: alpha(theme.surface0, 0.86) } : null, style], children: box });
4067
+ return /* @__PURE__ */ jsx39(View34, { ...a11y, style: [variant === "block" ? styles29.block : null, style], children: box });
3574
4068
  }
3575
- var styles26 = StyleSheet26.create({
4069
+ var styles29 = StyleSheet29.create({
3576
4070
  inline: { flexDirection: "row", alignItems: "center", gap: 10 },
3577
4071
  stacked: { alignItems: "center", gap: 10 },
3578
- card: { paddingHorizontal: 24, paddingVertical: 20, borderWidth: StyleSheet26.hairlineWidth },
4072
+ card: { paddingHorizontal: 24, paddingVertical: 20, borderWidth: StyleSheet29.hairlineWidth },
3579
4073
  text: { flexShrink: 1, gap: 2 },
3580
4074
  center: { alignItems: "center", gap: 2 },
3581
4075
  centered: { textAlign: "center" },
@@ -3584,20 +4078,20 @@ var styles26 = StyleSheet26.create({
3584
4078
  });
3585
4079
 
3586
4080
  // src/native/maintenance-screen.tsx
3587
- import { StyleSheet as StyleSheet27, View as View32 } from "react-native";
3588
- import { jsx as jsx37, jsxs as jsxs33 } from "react/jsx-runtime";
4081
+ import { StyleSheet as StyleSheet30, View as View35 } from "react-native";
4082
+ import { jsx as jsx40, jsxs as jsxs36 } from "react/jsx-runtime";
3589
4083
  function MaintenanceScreen({ title, message, mark, retryLabel, onRetry, fill = true, style }) {
3590
4084
  const { theme } = useTheme();
3591
- return /* @__PURE__ */ jsxs33(View32, { style: [styles27.root, fill ? styles27.fill : null, { backgroundColor: theme.surface0 }, style], children: [
3592
- mark ? /* @__PURE__ */ jsx37(View32, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: styles27.mark, children: mark }) : null,
3593
- /* @__PURE__ */ jsxs33(View32, { role: "status", style: styles27.text, children: [
3594
- /* @__PURE__ */ jsx37(Txt, { variant: "title", style: styles27.centred, children: title }),
3595
- message ? /* @__PURE__ */ jsx37(Txt, { tone: "secondary", style: styles27.centred, children: message }) : null
4085
+ return /* @__PURE__ */ jsxs36(View35, { style: [styles30.root, fill ? styles30.fill : null, { backgroundColor: theme.surface0 }, style], children: [
4086
+ mark ? /* @__PURE__ */ jsx40(View35, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: styles30.mark, children: mark }) : null,
4087
+ /* @__PURE__ */ jsxs36(View35, { role: "status", style: styles30.text, children: [
4088
+ /* @__PURE__ */ jsx40(Txt, { variant: "title", style: styles30.centred, children: title }),
4089
+ message ? /* @__PURE__ */ jsx40(Txt, { tone: "secondary", style: styles30.centred, children: message }) : null
3596
4090
  ] }),
3597
- retryLabel && onRetry ? /* @__PURE__ */ jsx37(View32, { style: styles27.actions, children: /* @__PURE__ */ jsx37(Button, { label: retryLabel, variant: "secondary", onPress: onRetry }) }) : null
4091
+ retryLabel && onRetry ? /* @__PURE__ */ jsx40(View35, { style: styles30.actions, children: /* @__PURE__ */ jsx40(Button, { label: retryLabel, variant: "secondary", onPress: onRetry }) }) : null
3598
4092
  ] });
3599
4093
  }
3600
- var styles27 = StyleSheet27.create({
4094
+ var styles30 = StyleSheet30.create({
3601
4095
  root: { alignItems: "center", justifyContent: "center", gap: 12, padding: 24 },
3602
4096
  fill: { flex: 1 },
3603
4097
  mark: { width: 96, height: 96, alignItems: "center", justifyContent: "center" },
@@ -3607,13 +4101,13 @@ var styles27 = StyleSheet27.create({
3607
4101
  });
3608
4102
 
3609
4103
  // src/native/mascot-state.tsx
3610
- import * as React24 from "react";
3611
- import { AccessibilityInfo as AccessibilityInfo9, Animated as Animated13, Easing as Easing7, StyleSheet as StyleSheet28, View as View34 } from "react-native";
4104
+ import * as React27 from "react";
4105
+ import { AccessibilityInfo as AccessibilityInfo9, Animated as Animated14, Easing as Easing7, StyleSheet as StyleSheet31, View as View37 } from "react-native";
3612
4106
 
3613
4107
  // src/native/mascots.tsx
3614
- import { useEffect as useEffect14, useState as useState22 } from "react";
3615
- import { AccessibilityInfo as AccessibilityInfo8, Animated as Animated12, Easing as Easing6, View as View33 } from "react-native";
3616
- import Svg18, { Circle as Circle12, Defs as Defs11, Ellipse as Ellipse2, G, LinearGradient as LinearGradient8, Path as Path16, Rect as Rect2, Stop as Stop11 } from "react-native-svg";
4108
+ import { useEffect as useEffect15, useState as useState25 } from "react";
4109
+ import { AccessibilityInfo as AccessibilityInfo8, Animated as Animated13, Easing as Easing6, View as View36 } from "react-native";
4110
+ import Svg19, { Circle as Circle12, Defs as Defs11, Ellipse as Ellipse2, G, LinearGradient as LinearGradient8, Path as Path17, Rect as Rect2, Stop as Stop11 } from "react-native-svg";
3617
4111
 
3618
4112
  // src/mascots/geometry.ts
3619
4113
  var mirror = (d) => d.replace(/(-?\d+(?:\.\d+)?) (-?\d+(?:\.\d+)?)/g, (_, x, y) => `${120 - Number(x)} ${y}`);
@@ -3815,17 +4309,17 @@ var SHADE = "#000000";
3815
4309
  var PARCEL = ["#f59e0b", "#d97706", "#b45309"];
3816
4310
 
3817
4311
  // src/native/mascots.tsx
3818
- import { jsx as jsx38, jsxs as jsxs34 } from "react/jsx-runtime";
4312
+ import { jsx as jsx41, jsxs as jsxs37 } from "react/jsx-runtime";
3819
4313
  function useBob(animated) {
3820
- const [y] = useState22(() => new Animated12.Value(0));
3821
- useEffect14(() => {
4314
+ const [y] = useState25(() => new Animated13.Value(0));
4315
+ useEffect15(() => {
3822
4316
  if (!animated) return;
3823
4317
  let loop;
3824
4318
  let cancelled = false;
3825
4319
  void AccessibilityInfo8.isReduceMotionEnabled().then((reduce) => {
3826
4320
  if (reduce || cancelled) return;
3827
- const step = (toValue) => Animated12.timing(y, { toValue, duration: 1800, easing: Easing6.inOut(Easing6.ease), useNativeDriver: true });
3828
- loop = Animated12.loop(Animated12.sequence([step(-2.5), step(0)]));
4321
+ const step = (toValue) => Animated13.timing(y, { toValue, duration: 1800, easing: Easing6.inOut(Easing6.ease), useNativeDriver: true });
4322
+ loop = Animated13.loop(Animated13.sequence([step(-2.5), step(0)]));
3829
4323
  loop.start();
3830
4324
  });
3831
4325
  return () => {
@@ -3849,62 +4343,62 @@ function Mascot({ bird = "owl", mood = "welcome", tone: tone3 = "brand", size =
3849
4343
  const look3 = mood === "thinking" ? 1.4 : 0;
3850
4344
  const rot = (deg, [x, y]) => `rotate(${deg} ${x} ${y})`;
3851
4345
  const [wl, wr] = g.wings;
3852
- return /* @__PURE__ */ jsx38(View33, { style: [{ width: size, height: size }, style], ...markA11y(title), children: /* @__PURE__ */ jsx38(Animated12.View, { style: { transform: [{ translateY: bob }] }, children: /* @__PURE__ */ jsxs34(Svg18, { width: size, height: size, viewBox: "0 0 120 120", children: [
3853
- /* @__PURE__ */ jsx38(Defs11, { children: /* @__PURE__ */ jsxs34(LinearGradient8, { id, x1: "0", y1: "0", x2: "0", y2: "1", children: [
3854
- /* @__PURE__ */ jsx38(Stop11, { offset: "0%", stopColor: p.from }),
3855
- /* @__PURE__ */ jsx38(Stop11, { offset: "100%", stopColor: p.to })
4346
+ return /* @__PURE__ */ jsx41(View36, { style: [{ width: size, height: size }, style], ...markA11y(title), children: /* @__PURE__ */ jsx41(Animated13.View, { style: { transform: [{ translateY: bob }] }, children: /* @__PURE__ */ jsxs37(Svg19, { width: size, height: size, viewBox: "0 0 120 120", children: [
4347
+ /* @__PURE__ */ jsx41(Defs11, { children: /* @__PURE__ */ jsxs37(LinearGradient8, { id, x1: "0", y1: "0", x2: "0", y2: "1", children: [
4348
+ /* @__PURE__ */ jsx41(Stop11, { offset: "0%", stopColor: p.from }),
4349
+ /* @__PURE__ */ jsx41(Stop11, { offset: "100%", stopColor: p.to })
3856
4350
  ] }) }),
3857
- /* @__PURE__ */ jsx38(Ellipse2, { cx: g.shadow[0], cy: g.shadow[1], rx: g.shadow[2], ry: g.shadow[3], fill: SHADE, opacity: 0.14 }),
3858
- mood === "empty" && /* @__PURE__ */ jsx38(Path16, { d: MOOD_PARTS.tray, stroke: outline, strokeWidth: 1.6, strokeDasharray: "3 3", fill: "none" }),
3859
- g.legs.map((d) => /* @__PURE__ */ jsx38(Path16, { d, stroke: p.beak, strokeWidth: 2.6, strokeLinecap: "round", fill: "none" }, d)),
3860
- g.back?.map((d) => d.endsWith("Z") ? /* @__PURE__ */ jsx38(Path16, { d, fill: p.detail, ...line }, d) : /* @__PURE__ */ jsx38(Path16, { d, stroke: outline, strokeWidth: 1.4, fill: "none" }, d)),
3861
- g.parcel?.map((d, i) => /* @__PURE__ */ jsx38(Path16, { d, fill: PARCEL[i], ...line }, d)),
3862
- /* @__PURE__ */ jsx38(Path16, { d: g.body, fill: body, ...line }),
3863
- /* @__PURE__ */ jsx38(Path16, { d: g.belly, fill: LIGHT, opacity: 0.28 }),
4351
+ /* @__PURE__ */ jsx41(Ellipse2, { cx: g.shadow[0], cy: g.shadow[1], rx: g.shadow[2], ry: g.shadow[3], fill: SHADE, opacity: 0.14 }),
4352
+ mood === "empty" && /* @__PURE__ */ jsx41(Path17, { d: MOOD_PARTS.tray, stroke: outline, strokeWidth: 1.6, strokeDasharray: "3 3", fill: "none" }),
4353
+ g.legs.map((d) => /* @__PURE__ */ jsx41(Path17, { d, stroke: p.beak, strokeWidth: 2.6, strokeLinecap: "round", fill: "none" }, d)),
4354
+ g.back?.map((d) => d.endsWith("Z") ? /* @__PURE__ */ jsx41(Path17, { d, fill: p.detail, ...line }, d) : /* @__PURE__ */ jsx41(Path17, { d, stroke: outline, strokeWidth: 1.4, fill: "none" }, d)),
4355
+ g.parcel?.map((d, i) => /* @__PURE__ */ jsx41(Path17, { d, fill: PARCEL[i], ...line }, d)),
4356
+ /* @__PURE__ */ jsx41(Path17, { d: g.body, fill: body, ...line }),
4357
+ /* @__PURE__ */ jsx41(Path17, { d: g.belly, fill: LIGHT, opacity: 0.28 }),
3864
4358
  [wl, wr].map((w, i) => {
3865
4359
  const turn = mood === "success" ? i === 0 ? 28 : -28 : mood === "welcome" && i === 1 ? -20 : 0;
3866
- return /* @__PURE__ */ jsxs34(G, { transform: turn ? rot(turn, w.pivot) : void 0, children: [
3867
- /* @__PURE__ */ jsx38(Path16, { d: w.d, fill: p.wing, ...line }),
3868
- /* @__PURE__ */ jsx38(Path16, { d: w.d, fill: SHADE, opacity: 0.16 })
4360
+ return /* @__PURE__ */ jsxs37(G, { transform: turn ? rot(turn, w.pivot) : void 0, children: [
4361
+ /* @__PURE__ */ jsx41(Path17, { d: w.d, fill: p.wing, ...line }),
4362
+ /* @__PURE__ */ jsx41(Path17, { d: w.d, fill: SHADE, opacity: 0.16 })
3869
4363
  ] }, i);
3870
4364
  }),
3871
- g.neck && /* @__PURE__ */ jsx38(Path16, { d: g.neck.d, stroke: body, strokeWidth: g.neck.width, strokeLinecap: "round", fill: "none" }),
3872
- g.head.r > 0 && /* @__PURE__ */ jsx38(Circle12, { cx: g.head.cx, cy: g.head.cy, r: g.head.r, fill: body, ...line }),
3873
- g.details.map((d) => /* @__PURE__ */ jsx38(Path16, { d, fill: p.detail, ...line }, d)),
3874
- g.visor && /* @__PURE__ */ jsx38(Rect2, { x: g.visor.x, y: g.visor.y, width: g.visor.w, height: g.visor.h, rx: 4, fill: theme.surface0, ...line }),
4365
+ g.neck && /* @__PURE__ */ jsx41(Path17, { d: g.neck.d, stroke: body, strokeWidth: g.neck.width, strokeLinecap: "round", fill: "none" }),
4366
+ g.head.r > 0 && /* @__PURE__ */ jsx41(Circle12, { cx: g.head.cx, cy: g.head.cy, r: g.head.r, fill: body, ...line }),
4367
+ g.details.map((d) => /* @__PURE__ */ jsx41(Path17, { d, fill: p.detail, ...line }, d)),
4368
+ g.visor && /* @__PURE__ */ jsx41(Rect2, { x: g.visor.x, y: g.visor.y, width: g.visor.w, height: g.visor.h, rx: 4, fill: theme.surface0, ...line }),
3875
4369
  g.eyes.at.map(
3876
- (at, i) => mood === "empty" && g.eyes.white > 0 ? /* @__PURE__ */ jsxs34(G, { children: [
3877
- /* @__PURE__ */ jsx38(Circle12, { cx: at[0], cy: at[1], r: g.eyes.white, fill: LIGHT, ...line }),
3878
- /* @__PURE__ */ jsx38(Circle12, { cx: at[0], cy: at[1] + g.eyes.pupil * 0.7, r: g.eyes.pupil, fill: SHADE }),
3879
- /* @__PURE__ */ jsx38(Path16, { d: upperLid(at, g.eyes.white), fill: p.detail, ...line })
3880
- ] }, i) : mood === "success" || mood === "empty" ? /* @__PURE__ */ jsx38(Path16, { d: mood === "success" ? archEye(at, eyeR * 0.85) : lidEye(at, eyeR * 0.8), stroke: g.visor ? p.eye : outline, strokeWidth: 2.2, strokeLinecap: "round", fill: "none" }, i) : /* @__PURE__ */ jsxs34(G, { children: [
3881
- g.eyes.white > 0 && /* @__PURE__ */ jsx38(Circle12, { cx: at[0], cy: at[1], r: g.eyes.white, fill: LIGHT, ...line }),
3882
- /* @__PURE__ */ jsx38(Circle12, { cx: at[0] + look3, cy: at[1] - look3, r: g.eyes.pupil, fill: g.visor ? p.eye : SHADE })
4370
+ (at, i) => mood === "empty" && g.eyes.white > 0 ? /* @__PURE__ */ jsxs37(G, { children: [
4371
+ /* @__PURE__ */ jsx41(Circle12, { cx: at[0], cy: at[1], r: g.eyes.white, fill: LIGHT, ...line }),
4372
+ /* @__PURE__ */ jsx41(Circle12, { cx: at[0], cy: at[1] + g.eyes.pupil * 0.7, r: g.eyes.pupil, fill: SHADE }),
4373
+ /* @__PURE__ */ jsx41(Path17, { d: upperLid(at, g.eyes.white), fill: p.detail, ...line })
4374
+ ] }, i) : mood === "success" || mood === "empty" ? /* @__PURE__ */ jsx41(Path17, { d: mood === "success" ? archEye(at, eyeR * 0.85) : lidEye(at, eyeR * 0.8), stroke: g.visor ? p.eye : outline, strokeWidth: 2.2, strokeLinecap: "round", fill: "none" }, i) : /* @__PURE__ */ jsxs37(G, { children: [
4375
+ g.eyes.white > 0 && /* @__PURE__ */ jsx41(Circle12, { cx: at[0], cy: at[1], r: g.eyes.white, fill: LIGHT, ...line }),
4376
+ /* @__PURE__ */ jsx41(Circle12, { cx: at[0] + look3, cy: at[1] - look3, r: g.eyes.pupil, fill: g.visor ? p.eye : SHADE })
3883
4377
  ] }, i)
3884
4378
  ),
3885
- g.glasses && g.eyes.at.map(([x, y]) => /* @__PURE__ */ jsx38(Circle12, { cx: x, cy: y, r: 6.5, fill: "none", stroke: outline, strokeWidth: 1.3 }, x)),
3886
- mood === "error" && g.eyes.at.map((at, i) => /* @__PURE__ */ jsx38(Path16, { d: brow(at, eyeR, g.eyes.at.length === 1 ? 1 : i === 0 ? -1 : 1), stroke: outline, strokeWidth: 2, strokeLinecap: "round" }, i)),
3887
- /* @__PURE__ */ jsx38(Path16, { d: g.beak, fill: p.beak, ...line }),
3888
- mood === "thinking" && MOOD_PARTS.dots.map(([cx, cy, r], i) => /* @__PURE__ */ jsx38(Circle12, { cx, cy, r, fill: theme.textSecondary, opacity: 0.5 + i * 0.25 }, cx)),
3889
- (mood === "success" || mood === "error") && /* @__PURE__ */ jsx38(Circle12, { cx: MOOD_PARTS.badge.cx, cy: MOOD_PARTS.badge.cy, r: MOOD_PARTS.badge.r, fill: mood === "success" ? theme.success : theme.danger }),
3890
- mood === "success" && /* @__PURE__ */ jsx38(Path16, { d: MOOD_PARTS.check, stroke: theme.surface0, strokeWidth: 2.6, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
3891
- mood === "error" && /* @__PURE__ */ jsx38(Path16, { d: MOOD_PARTS.bang.line, stroke: theme.surface0, strokeWidth: 2.8, strokeLinecap: "round" }),
3892
- mood === "error" && /* @__PURE__ */ jsx38(Circle12, { cx: MOOD_PARTS.bang.dot[0], cy: MOOD_PARTS.bang.dot[1], r: 1.6, fill: theme.surface0 })
4379
+ g.glasses && g.eyes.at.map(([x, y]) => /* @__PURE__ */ jsx41(Circle12, { cx: x, cy: y, r: 6.5, fill: "none", stroke: outline, strokeWidth: 1.3 }, x)),
4380
+ mood === "error" && g.eyes.at.map((at, i) => /* @__PURE__ */ jsx41(Path17, { d: brow(at, eyeR, g.eyes.at.length === 1 ? 1 : i === 0 ? -1 : 1), stroke: outline, strokeWidth: 2, strokeLinecap: "round" }, i)),
4381
+ /* @__PURE__ */ jsx41(Path17, { d: g.beak, fill: p.beak, ...line }),
4382
+ mood === "thinking" && MOOD_PARTS.dots.map(([cx, cy, r], i) => /* @__PURE__ */ jsx41(Circle12, { cx, cy, r, fill: theme.textSecondary, opacity: 0.5 + i * 0.25 }, cx)),
4383
+ (mood === "success" || mood === "error") && /* @__PURE__ */ jsx41(Circle12, { cx: MOOD_PARTS.badge.cx, cy: MOOD_PARTS.badge.cy, r: MOOD_PARTS.badge.r, fill: mood === "success" ? theme.success : theme.danger }),
4384
+ mood === "success" && /* @__PURE__ */ jsx41(Path17, { d: MOOD_PARTS.check, stroke: theme.surface0, strokeWidth: 2.6, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
4385
+ mood === "error" && /* @__PURE__ */ jsx41(Path17, { d: MOOD_PARTS.bang.line, stroke: theme.surface0, strokeWidth: 2.8, strokeLinecap: "round" }),
4386
+ mood === "error" && /* @__PURE__ */ jsx41(Circle12, { cx: MOOD_PARTS.bang.dot[0], cy: MOOD_PARTS.bang.dot[1], r: 1.6, fill: theme.surface0 })
3893
4387
  ] }) }) });
3894
4388
  }
3895
4389
 
3896
4390
  // src/native/mascot-state.tsx
3897
- import { jsx as jsx39, jsxs as jsxs35 } from "react/jsx-runtime";
4391
+ import { jsx as jsx42, jsxs as jsxs38 } from "react/jsx-runtime";
3898
4392
  var SIZE = { sm: 64, md: 96, lg: 128 };
3899
4393
  function useArrival(animated) {
3900
- const [value] = React24.useState(() => new Animated13.Value(animated ? 0 : 1));
3901
- React24.useEffect(() => {
4394
+ const [value] = React27.useState(() => new Animated14.Value(animated ? 0 : 1));
4395
+ React27.useEffect(() => {
3902
4396
  if (!animated) return;
3903
4397
  let cancelled = false;
3904
4398
  void AccessibilityInfo9.isReduceMotionEnabled().then((reduce) => {
3905
4399
  if (cancelled) return;
3906
4400
  if (reduce) value.setValue(1);
3907
- else Animated13.timing(value, { toValue: 1, duration: 420, easing: Easing7.out(Easing7.cubic), useNativeDriver: true }).start();
4401
+ else Animated14.timing(value, { toValue: 1, duration: 420, easing: Easing7.out(Easing7.cubic), useNativeDriver: true }).start();
3908
4402
  });
3909
4403
  return () => {
3910
4404
  cancelled = true;
@@ -3915,30 +4409,30 @@ function useArrival(animated) {
3915
4409
  function MascotState({ bird = "owl", mood = "empty", title, description, action, size = "md", layout = "stacked", tone: tone3, animated = true, style, ...props }) {
3916
4410
  const opacity = useArrival(animated);
3917
4411
  const inline = layout === "inline";
3918
- return /* @__PURE__ */ jsxs35(
3919
- Animated13.View,
4412
+ return /* @__PURE__ */ jsxs38(
4413
+ Animated14.View,
3920
4414
  {
3921
4415
  role: mood === "error" ? "alert" : "status",
3922
4416
  accessibilityLiveRegion: mood === "error" ? "assertive" : "polite",
3923
4417
  "aria-busy": mood === "thinking" ? true : void 0,
3924
4418
  ...props,
3925
- style: [inline ? styles28.inline : styles28.stacked, { opacity, transform: [{ translateY: opacity.interpolate({ inputRange: [0, 1], outputRange: [6, 0] }) }] }, style],
4419
+ style: [inline ? styles31.inline : styles31.stacked, { opacity, transform: [{ translateY: opacity.interpolate({ inputRange: [0, 1], outputRange: [6, 0] }) }] }, style],
3926
4420
  children: [
3927
- /* @__PURE__ */ jsx39(Mascot, { bird, mood, tone: tone3, size: SIZE[size], animated }),
3928
- /* @__PURE__ */ jsxs35(View34, { style: inline ? styles28.wordsInline : styles28.words, children: [
3929
- /* @__PURE__ */ jsx39(Txt, { variant: "label", role: "heading", style: inline ? null : styles28.center, children: title }),
3930
- description ? /* @__PURE__ */ jsx39(Txt, { tone: "secondary", style: inline ? null : styles28.center, children: description }) : null,
3931
- action ? /* @__PURE__ */ jsx39(View34, { style: [styles28.action, inline ? null : styles28.actionCentred], children: action }) : null
4421
+ /* @__PURE__ */ jsx42(Mascot, { bird, mood, tone: tone3, size: SIZE[size], animated }),
4422
+ /* @__PURE__ */ jsxs38(View37, { style: inline ? styles31.wordsInline : styles31.words, children: [
4423
+ /* @__PURE__ */ jsx42(Txt, { variant: "label", role: "heading", style: inline ? null : styles31.center, children: title }),
4424
+ description ? /* @__PURE__ */ jsx42(Txt, { tone: "secondary", style: inline ? null : styles31.center, children: description }) : null,
4425
+ action ? /* @__PURE__ */ jsx42(View37, { style: [styles31.action, inline ? null : styles31.actionCentred], children: action }) : null
3932
4426
  ] })
3933
4427
  ]
3934
4428
  }
3935
4429
  );
3936
4430
  }
3937
- var ErrorState = (props) => /* @__PURE__ */ jsx39(MascotState, { mood: "error", ...props });
3938
- var SuccessState = (props) => /* @__PURE__ */ jsx39(MascotState, { mood: "success", ...props });
3939
- var LoadingState = (props) => /* @__PURE__ */ jsx39(MascotState, { mood: "thinking", ...props });
3940
- var WelcomeState = (props) => /* @__PURE__ */ jsx39(MascotState, { mood: "welcome", ...props });
3941
- var styles28 = StyleSheet28.create({
4431
+ var ErrorState = (props) => /* @__PURE__ */ jsx42(MascotState, { mood: "error", ...props });
4432
+ var SuccessState = (props) => /* @__PURE__ */ jsx42(MascotState, { mood: "success", ...props });
4433
+ var LoadingState = (props) => /* @__PURE__ */ jsx42(MascotState, { mood: "thinking", ...props });
4434
+ var WelcomeState = (props) => /* @__PURE__ */ jsx42(MascotState, { mood: "welcome", ...props });
4435
+ var styles31 = StyleSheet31.create({
3942
4436
  stacked: { alignItems: "center", justifyContent: "center", gap: 12, paddingVertical: 40, paddingHorizontal: 24 },
3943
4437
  inline: { flexDirection: "row", alignItems: "center", gap: 16 },
3944
4438
  words: { alignItems: "center", gap: 6 },
@@ -3949,40 +4443,40 @@ var styles28 = StyleSheet28.create({
3949
4443
  });
3950
4444
 
3951
4445
  // src/native/match-dialog.tsx
3952
- import * as React25 from "react";
3953
- import { AccessibilityInfo as AccessibilityInfo10, Animated as Animated14, Easing as Easing8, Modal as Modal4, Pressable as Pressable15, StyleSheet as StyleSheet29, View as View35 } from "react-native";
3954
- import Svg19, { Path as Path17 } from "react-native-svg";
3955
- import { jsx as jsx40, jsxs as jsxs36 } from "react/jsx-runtime";
4446
+ import * as React28 from "react";
4447
+ import { AccessibilityInfo as AccessibilityInfo10, Animated as Animated15, Easing as Easing8, Modal as Modal4, Pressable as Pressable17, StyleSheet as StyleSheet32, View as View38 } from "react-native";
4448
+ import Svg20, { Path as Path18 } from "react-native-svg";
4449
+ import { jsx as jsx43, jsxs as jsxs39 } from "react/jsx-runtime";
3956
4450
  function MatchDialog({ open, onOpenChange, title, description, people, primaryLabel, onPrimary, secondaryLabel }) {
3957
4451
  const { theme, haptic } = useTheme();
3958
4452
  const reduce = useReducedMotion();
3959
- const [t] = React25.useState(() => new Animated14.Value(0));
3960
- React25.useEffect(() => {
4453
+ const [t] = React28.useState(() => new Animated15.Value(0));
4454
+ React28.useEffect(() => {
3961
4455
  if (!open) return;
3962
4456
  haptic("success");
3963
4457
  AccessibilityInfo10.announceForAccessibility([title, description].filter(Boolean).join(". "));
3964
4458
  if (reduce) return;
3965
4459
  t.setValue(0);
3966
- Animated14.timing(t, { toValue: 1, duration: 520, easing: Easing8.out(Easing8.back(1.6)), useNativeDriver: true }).start();
4460
+ Animated15.timing(t, { toValue: 1, duration: 520, easing: Easing8.out(Easing8.back(1.6)), useNativeDriver: true }).start();
3967
4461
  }, [open]);
3968
- React25.useEffect(() => {
4462
+ React28.useEffect(() => {
3969
4463
  if (open && reduce) {
3970
4464
  t.stopAnimation();
3971
4465
  t.setValue(1);
3972
4466
  }
3973
4467
  }, [open, reduce, t]);
3974
4468
  const side = (dir) => ({ transform: [{ translateX: t.interpolate({ inputRange: [0, 1], outputRange: [dir * 110, dir * 50] }) }, { rotate: dir === -1 ? "-8deg" : "8deg" }] });
3975
- return /* @__PURE__ */ jsx40(Modal4, { ...modalName(title), visible: open, transparent: true, animationType: reduce ? "none" : "fade", onRequestClose: () => onOpenChange(false), statusBarTranslucent: true, children: /* @__PURE__ */ jsxs36(View35, { accessibilityViewIsModal: true, style: [styles29.screen, { backgroundColor: theme.accent }], children: [
3976
- /* @__PURE__ */ jsx40(View35, { style: [StyleSheet29.absoluteFill, { backgroundColor: theme.accent2, opacity: 0.55 }] }),
3977
- /* @__PURE__ */ jsx40(Txt, { variant: "display", tone: "onAccent", style: styles29.title, children: title }),
3978
- description ? /* @__PURE__ */ jsx40(Txt, { tone: "onAccent", style: styles29.center, children: description }) : null,
3979
- /* @__PURE__ */ jsxs36(View35, { style: styles29.pair, "aria-hidden": true, children: [
3980
- /* @__PURE__ */ jsx40(Animated14.View, { style: [styles29.photo, side(-1), { borderColor: theme.onAccent }], children: /* @__PURE__ */ jsx40(Avatar, { src: people[0].src, alt: "", fallback: people[0].name.charAt(0), size: 112 }) }),
3981
- /* @__PURE__ */ jsx40(Animated14.View, { style: [styles29.photo, side(1), { borderColor: theme.onAccent }], children: /* @__PURE__ */ jsx40(Avatar, { src: people[1].src, alt: "", fallback: people[1].name.charAt(0), size: 112 }) }),
3982
- /* @__PURE__ */ jsx40(Animated14.View, { style: [styles29.heart, { backgroundColor: theme.onAccent, transform: [{ scale: t }] }], children: /* @__PURE__ */ jsx40(Svg19, { width: 26, height: 26, viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx40(Path17, { d: "M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z", fill: theme.accent }) }) })
4469
+ return /* @__PURE__ */ jsx43(Modal4, { ...modalName(title), visible: open, transparent: true, animationType: reduce ? "none" : "fade", onRequestClose: () => onOpenChange(false), statusBarTranslucent: true, children: /* @__PURE__ */ jsxs39(View38, { accessibilityViewIsModal: true, style: [styles32.screen, { backgroundColor: theme.accent }], children: [
4470
+ /* @__PURE__ */ jsx43(View38, { style: [StyleSheet32.absoluteFill, { backgroundColor: theme.accent2, opacity: 0.55 }] }),
4471
+ /* @__PURE__ */ jsx43(Txt, { variant: "display", tone: "onAccent", style: styles32.title, children: title }),
4472
+ description ? /* @__PURE__ */ jsx43(Txt, { tone: "onAccent", style: styles32.center, children: description }) : null,
4473
+ /* @__PURE__ */ jsxs39(View38, { style: styles32.pair, "aria-hidden": true, children: [
4474
+ /* @__PURE__ */ jsx43(Animated15.View, { style: [styles32.photo, side(-1), { borderColor: theme.onAccent }], children: /* @__PURE__ */ jsx43(Avatar, { src: people[0].src, alt: "", fallback: people[0].name.charAt(0), size: 112 }) }),
4475
+ /* @__PURE__ */ jsx43(Animated15.View, { style: [styles32.photo, side(1), { borderColor: theme.onAccent }], children: /* @__PURE__ */ jsx43(Avatar, { src: people[1].src, alt: "", fallback: people[1].name.charAt(0), size: 112 }) }),
4476
+ /* @__PURE__ */ jsx43(Animated15.View, { style: [styles32.heart, { backgroundColor: theme.onAccent, transform: [{ scale: t }] }], children: /* @__PURE__ */ jsx43(Svg20, { width: 26, height: 26, viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx43(Path18, { d: "M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z", fill: theme.accent }) }) })
3983
4477
  ] }),
3984
- /* @__PURE__ */ jsxs36(View35, { style: styles29.actions, children: [
3985
- /* @__PURE__ */ jsx40(
4478
+ /* @__PURE__ */ jsxs39(View38, { style: styles32.actions, children: [
4479
+ /* @__PURE__ */ jsx43(
3986
4480
  Button,
3987
4481
  {
3988
4482
  label: primaryLabel,
@@ -3993,11 +4487,11 @@ function MatchDialog({ open, onOpenChange, title, description, people, primaryLa
3993
4487
  }
3994
4488
  }
3995
4489
  ),
3996
- /* @__PURE__ */ jsx40(Pressable15, { role: "button", onPress: () => onOpenChange(false), style: ({ pressed }) => [styles29.secondary, { borderColor: theme.onAccent, opacity: pressed ? 0.8 : 1 }], children: /* @__PURE__ */ jsx40(Txt, { variant: "label", tone: "onAccent", children: secondaryLabel }) })
4490
+ /* @__PURE__ */ jsx43(Pressable17, { role: "button", onPress: () => onOpenChange(false), style: ({ pressed }) => [styles32.secondary, { borderColor: theme.onAccent, opacity: pressed ? 0.8 : 1 }], children: /* @__PURE__ */ jsx43(Txt, { variant: "label", tone: "onAccent", children: secondaryLabel }) })
3997
4491
  ] })
3998
4492
  ] }) });
3999
4493
  }
4000
- var styles29 = StyleSheet29.create({
4494
+ var styles32 = StyleSheet32.create({
4001
4495
  screen: { flex: 1, alignItems: "center", justifyContent: "center", gap: 12, padding: 32 },
4002
4496
  title: { textAlign: "center", fontSize: 40, lineHeight: 46 },
4003
4497
  center: { textAlign: "center", maxWidth: 300 },
@@ -4009,24 +4503,24 @@ var styles29 = StyleSheet29.create({
4009
4503
  });
4010
4504
 
4011
4505
  // src/native/meta-row.tsx
4012
- import { View as View36 } from "react-native";
4013
- import { jsx as jsx41, jsxs as jsxs37 } from "react/jsx-runtime";
4506
+ import { View as View39 } from "react-native";
4507
+ import { jsx as jsx44, jsxs as jsxs40 } from "react/jsx-runtime";
4014
4508
  var present = (n) => n !== null && n !== void 0 && n !== false && n !== "";
4015
4509
  function MetaRow({ items: items2, chips = [], label, style, ...props }) {
4016
4510
  const facts = items2.filter(present);
4017
4511
  const tail = chips.filter(present);
4018
- return /* @__PURE__ */ jsxs37(View36, { role: "list", "aria-label": label, ...props, style: [{ flexDirection: "row", flexWrap: "wrap", alignItems: "center", columnGap: 8, rowGap: 6 }, style], children: [
4019
- facts.map((fact, i) => /* @__PURE__ */ jsxs37(View36, { role: "listitem", accessible: true, style: { flexDirection: "row", alignItems: "center", columnGap: 8 }, children: [
4020
- i > 0 ? /* @__PURE__ */ jsx41(Txt, { variant: "caption", tone: "muted", "aria-hidden": true, importantForAccessibility: "no", children: "\xB7" }) : null,
4021
- typeof fact === "string" || typeof fact === "number" ? /* @__PURE__ */ jsx41(Txt, { variant: "caption", tone: "secondary", children: fact }) : fact
4512
+ return /* @__PURE__ */ jsxs40(View39, { role: "list", "aria-label": label, ...props, style: [{ flexDirection: "row", flexWrap: "wrap", alignItems: "center", columnGap: 8, rowGap: 6 }, style], children: [
4513
+ facts.map((fact, i) => /* @__PURE__ */ jsxs40(View39, { role: "listitem", accessible: true, style: { flexDirection: "row", alignItems: "center", columnGap: 8 }, children: [
4514
+ i > 0 ? /* @__PURE__ */ jsx44(Txt, { variant: "caption", tone: "muted", "aria-hidden": true, importantForAccessibility: "no", children: "\xB7" }) : null,
4515
+ typeof fact === "string" || typeof fact === "number" ? /* @__PURE__ */ jsx44(Txt, { variant: "caption", tone: "secondary", children: fact }) : fact
4022
4516
  ] }, i)),
4023
- tail.map((chip, i) => /* @__PURE__ */ jsx41(View36, { role: "listitem", accessible: true, children: chip }, `chip-${i}`))
4517
+ tail.map((chip, i) => /* @__PURE__ */ jsx44(View39, { role: "listitem", accessible: true, children: chip }, `chip-${i}`))
4024
4518
  ] });
4025
4519
  }
4026
4520
 
4027
4521
  // src/native/meter.tsx
4028
- import { StyleSheet as StyleSheet30, View as View37 } from "react-native";
4029
- import Svg20, { Circle as Circle13 } from "react-native-svg";
4522
+ import { StyleSheet as StyleSheet33, View as View40 } from "react-native";
4523
+ import Svg21, { Circle as Circle13 } from "react-native-svg";
4030
4524
 
4031
4525
  // src/meter/model.ts
4032
4526
  var MeterOptimum = { Low: "low", High: "high" };
@@ -4054,7 +4548,7 @@ function meterModel({ value = 0, min = 0, max = 100, valueText, thresholds, opti
4054
4548
  }
4055
4549
 
4056
4550
  // src/native/meter.tsx
4057
- import { jsx as jsx42, jsxs as jsxs38 } from "react/jsx-runtime";
4551
+ import { jsx as jsx45, jsxs as jsxs41 } from "react/jsx-runtime";
4058
4552
  var THICK = { sm: 6, md: 8, lg: 12 };
4059
4553
  var RING = { sm: 56, md: 96, lg: 144 };
4060
4554
  var partColor = (t, i) => [t.accent, t.warning, t.success, t.textSecondary, t.danger][i % 5];
@@ -4065,36 +4559,36 @@ function Meter({ label, value = 0, min = 0, max = 100, valueText, thresholds, op
4065
4559
  const tone3 = levelColor(theme, level);
4066
4560
  const shares = modelShares.map((p) => ({ ...p, color: partColor(theme, p.i) }));
4067
4561
  const a11y = parts ? { role: "group", "aria-label": `${label}: ${shares.map((p) => `${p.label} ${p.words}`).join(", ")}` } : { role: "meter", "aria-label": label, "aria-valuemin": min, "aria-valuemax": max, "aria-valuenow": Math.min(max, Math.max(min, value)), "aria-valuetext": words2 };
4068
- const legend = parts ? /* @__PURE__ */ jsx42(View37, { style: styles30.legend, "aria-hidden": true, children: shares.map((p, i) => /* @__PURE__ */ jsxs38(View37, { style: styles30.legendItem, children: [
4069
- /* @__PURE__ */ jsx42(View37, { style: [styles30.swatch, { backgroundColor: p.color }] }),
4070
- /* @__PURE__ */ jsx42(Txt, { variant: "caption", children: p.label }),
4071
- /* @__PURE__ */ jsx42(Txt, { variant: "caption", tone: "secondary", children: p.words })
4562
+ const legend = parts ? /* @__PURE__ */ jsx45(View40, { style: styles33.legend, "aria-hidden": true, children: shares.map((p, i) => /* @__PURE__ */ jsxs41(View40, { style: styles33.legendItem, children: [
4563
+ /* @__PURE__ */ jsx45(View40, { style: [styles33.swatch, { backgroundColor: p.color }] }),
4564
+ /* @__PURE__ */ jsx45(Txt, { variant: "caption", children: p.label }),
4565
+ /* @__PURE__ */ jsx45(Txt, { variant: "caption", tone: "secondary", children: p.words })
4072
4566
  ] }, i)) }) : null;
4073
4567
  if (variant === "ring") {
4074
4568
  const side = RING[size];
4075
4569
  const r = 44;
4076
4570
  const c = 2 * Math.PI * r;
4077
- return /* @__PURE__ */ jsxs38(View37, { accessible: true, ...a11y, style: [styles30.ringRoot, style], children: [
4078
- /* @__PURE__ */ jsxs38(View37, { style: { width: side, height: side }, children: [
4079
- /* @__PURE__ */ jsxs38(Svg20, { width: side, height: side, viewBox: "0 0 100 100", style: { transform: [{ rotate: "-90deg" }] }, children: [
4080
- /* @__PURE__ */ jsx42(Circle13, { cx: 50, cy: 50, r, fill: "none", stroke: theme.borderDefault, strokeWidth: 9 }),
4081
- arcs.map((arc, i) => /* @__PURE__ */ jsx42(Circle13, { cx: 50, cy: 50, r, fill: "none", stroke: arc.part === void 0 ? tone3 : partColor(theme, arc.part), strokeWidth: 9, strokeDasharray: `${Math.max(0, arc.len * c - (parts ? 2 : 0))} ${c}`, strokeDashoffset: -arc.start * c, strokeLinecap: parts ? "butt" : "round" }, i))
4571
+ return /* @__PURE__ */ jsxs41(View40, { accessible: true, ...a11y, style: [styles33.ringRoot, style], children: [
4572
+ /* @__PURE__ */ jsxs41(View40, { style: { width: side, height: side }, children: [
4573
+ /* @__PURE__ */ jsxs41(Svg21, { width: side, height: side, viewBox: "0 0 100 100", style: { transform: [{ rotate: "-90deg" }] }, children: [
4574
+ /* @__PURE__ */ jsx45(Circle13, { cx: 50, cy: 50, r, fill: "none", stroke: theme.borderDefault, strokeWidth: 9 }),
4575
+ arcs.map((arc, i) => /* @__PURE__ */ jsx45(Circle13, { cx: 50, cy: 50, r, fill: "none", stroke: arc.part === void 0 ? tone3 : partColor(theme, arc.part), strokeWidth: 9, strokeDasharray: `${Math.max(0, arc.len * c - (parts ? 2 : 0))} ${c}`, strokeDashoffset: -arc.start * c, strokeLinecap: parts ? "butt" : "round" }, i))
4082
4576
  ] }),
4083
- children !== void 0 ? /* @__PURE__ */ jsx42(View37, { style: [StyleSheet30.absoluteFill, styles30.center], children }) : null
4577
+ children !== void 0 ? /* @__PURE__ */ jsx45(View40, { style: [StyleSheet33.absoluteFill, styles33.center], children }) : null
4084
4578
  ] }),
4085
4579
  legend
4086
4580
  ] });
4087
4581
  }
4088
- return /* @__PURE__ */ jsxs38(View37, { accessible: true, ...a11y, style: [styles30.root, style], children: [
4089
- showLabel ? /* @__PURE__ */ jsxs38(View37, { style: styles30.header, "aria-hidden": true, children: [
4090
- /* @__PURE__ */ jsx42(Txt, { variant: "caption", numberOfLines: 1, style: styles30.caption, children: label }),
4091
- !parts ? /* @__PURE__ */ jsx42(Txt, { variant: "caption", tone: "secondary", children: words2 }) : null
4582
+ return /* @__PURE__ */ jsxs41(View40, { accessible: true, ...a11y, style: [styles33.root, style], children: [
4583
+ showLabel ? /* @__PURE__ */ jsxs41(View40, { style: styles33.header, "aria-hidden": true, children: [
4584
+ /* @__PURE__ */ jsx45(Txt, { variant: "caption", numberOfLines: 1, style: styles33.caption, children: label }),
4585
+ !parts ? /* @__PURE__ */ jsx45(Txt, { variant: "caption", tone: "secondary", children: words2 }) : null
4092
4586
  ] }) : null,
4093
- /* @__PURE__ */ jsx42(View37, { style: [styles30.track, { height: THICK[size], backgroundColor: theme.surface3 }], children: parts ? shares.map((p, i) => /* @__PURE__ */ jsx42(View37, { style: { width: `${p.ratio * 100}%`, backgroundColor: p.color } }, i)) : /* @__PURE__ */ jsx42(View37, { style: [styles30.fill, { width: `${ratio * 100}%`, backgroundColor: tone3 }] }) }),
4587
+ /* @__PURE__ */ jsx45(View40, { style: [styles33.track, { height: THICK[size], backgroundColor: theme.surface3 }], children: parts ? shares.map((p, i) => /* @__PURE__ */ jsx45(View40, { style: { width: `${p.ratio * 100}%`, backgroundColor: p.color } }, i)) : /* @__PURE__ */ jsx45(View40, { style: [styles33.fill, { width: `${ratio * 100}%`, backgroundColor: tone3 }] }) }),
4094
4588
  legend
4095
4589
  ] });
4096
4590
  }
4097
- var styles30 = StyleSheet30.create({
4591
+ var styles33 = StyleSheet33.create({
4098
4592
  root: { width: "100%", gap: 6 },
4099
4593
  header: { flexDirection: "row", alignItems: "baseline", gap: 8 },
4100
4594
  caption: { flex: 1, fontWeight: "600" },
@@ -4108,16 +4602,16 @@ var styles30 = StyleSheet30.create({
4108
4602
  });
4109
4603
 
4110
4604
  // src/native/number-ticker.tsx
4111
- import * as React26 from "react";
4112
- import { AccessibilityInfo as AccessibilityInfo11, Animated as Animated15, Easing as Easing9, Text as Text14 } from "react-native";
4113
- import { jsx as jsx43 } from "react/jsx-runtime";
4605
+ import * as React29 from "react";
4606
+ import { AccessibilityInfo as AccessibilityInfo11, Animated as Animated16, Easing as Easing9, Text as Text15 } from "react-native";
4607
+ import { jsx as jsx46 } from "react/jsx-runtime";
4114
4608
  function NumberTicker({ value, locale, format, trigger = "mount", duration = 1100, announce, variant = "display", tone: tone3 = "text", style }) {
4115
4609
  const reduce = useReducedMotion();
4116
- const writer = React26.useMemo(() => new Intl.NumberFormat(locale, format), [locale, format]);
4117
- const [shown, setShown] = React26.useState(() => reduce ? value : trigger === "mount" ? 0 : value);
4118
- const [anim] = React26.useState(() => new Animated15.Value(trigger === "mount" ? 0 : value));
4119
- const first = React26.useRef(true);
4120
- React26.useEffect(() => {
4610
+ const writer = React29.useMemo(() => new Intl.NumberFormat(locale, format), [locale, format]);
4611
+ const [shown, setShown] = React29.useState(() => reduce ? value : trigger === "mount" ? 0 : value);
4612
+ const [anim] = React29.useState(() => new Animated16.Value(trigger === "mount" ? 0 : value));
4613
+ const first = React29.useRef(true);
4614
+ React29.useEffect(() => {
4121
4615
  const isFirst = first.current;
4122
4616
  first.current = false;
4123
4617
  if (reduce || !isFirst && trigger === "mount" || isFirst && trigger === "change") {
@@ -4127,7 +4621,7 @@ function NumberTicker({ value, locale, format, trigger = "mount", duration = 110
4127
4621
  return;
4128
4622
  }
4129
4623
  const id = anim.addListener(({ value: v }) => setShown(v));
4130
- const run = Animated15.timing(anim, { toValue: value, duration, easing: Easing9.out(Easing9.cubic), useNativeDriver: false });
4624
+ const run = Animated16.timing(anim, { toValue: value, duration, easing: Easing9.out(Easing9.cubic), useNativeDriver: false });
4131
4625
  run.start(({ finished }) => {
4132
4626
  if (finished) setShown(value);
4133
4627
  });
@@ -4138,18 +4632,18 @@ function NumberTicker({ value, locale, format, trigger = "mount", duration = 110
4138
4632
  };
4139
4633
  }, [value, reduce, trigger, duration, announce, anim, writer]);
4140
4634
  const digits = Number.isInteger(value) ? Math.round(shown) : shown;
4141
- return /* @__PURE__ */ jsx43(Txt, { variant, tone: tone3, "aria-label": writer.format(value), style: [{ fontVariant: ["lining-nums", "tabular-nums"] }, style], children: /* @__PURE__ */ jsx43(Text14, { "aria-hidden": true, children: writer.format(digits) }) });
4635
+ return /* @__PURE__ */ jsx46(Txt, { variant, tone: tone3, "aria-label": writer.format(value), style: [{ fontVariant: ["lining-nums", "tabular-nums"] }, style], children: /* @__PURE__ */ jsx46(Text15, { "aria-hidden": true, children: writer.format(digits) }) });
4142
4636
  }
4143
4637
 
4144
4638
  // src/native/onboarding.tsx
4145
- import * as React27 from "react";
4146
- import { ScrollView as ScrollView5, StyleSheet as StyleSheet31, View as View38 } from "react-native";
4147
- import { jsx as jsx44, jsxs as jsxs39 } from "react/jsx-runtime";
4639
+ import * as React30 from "react";
4640
+ import { ScrollView as ScrollView5, StyleSheet as StyleSheet34, View as View41 } from "react-native";
4641
+ import { jsx as jsx47, jsxs as jsxs42 } from "react/jsx-runtime";
4148
4642
  function Onboarding({ slides, labels, onDone, style }) {
4149
4643
  const { theme, insets, haptic } = useTheme();
4150
- const [width, setWidth] = React27.useState(0);
4151
- const [page, setPage] = React27.useState(0);
4152
- const scroller = React27.useRef(null);
4644
+ const [width, setWidth] = React30.useState(0);
4645
+ const [page, setPage] = React30.useState(0);
4646
+ const scroller = React30.useRef(null);
4153
4647
  const last = page === slides.length - 1;
4154
4648
  const go = (to) => {
4155
4649
  scroller.current?.scrollTo({ x: to * width, animated: true });
@@ -4159,18 +4653,18 @@ function Onboarding({ slides, labels, onDone, style }) {
4159
4653
  const onScroll = (e) => {
4160
4654
  if (width > 0) setPage(Math.round(e.nativeEvent.contentOffset.x / width));
4161
4655
  };
4162
- return /* @__PURE__ */ jsxs39(View38, { style: [styles31.root, { backgroundColor: theme.surface0, paddingTop: insets.top + 8, paddingBottom: insets.bottom + 16 }, style], onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: [
4163
- /* @__PURE__ */ jsx44(View38, { style: styles31.top, children: !last ? /* @__PURE__ */ jsx44(Button, { label: labels.skip, variant: "ghost", size: "sm", onPress: onDone }) : /* @__PURE__ */ jsx44(View38, { style: styles31.spacer }) }),
4164
- /* @__PURE__ */ jsx44(ScrollView5, { ref: scroller, tabIndex: 0, horizontal: true, pagingEnabled: true, showsHorizontalScrollIndicator: false, onMomentumScrollEnd: onScroll, style: styles31.flex, children: slides.map((slide, i) => /* @__PURE__ */ jsxs39(View38, { style: [styles31.slide, { width: width || void 0 }], accessible: true, "aria-label": `${labels.position(i + 1, slides.length)}. ${slide.title}. ${slide.description}`, "aria-hidden": i !== page, children: [
4165
- slide.visual ? /* @__PURE__ */ jsx44(View38, { style: styles31.visual, children: slide.visual }) : null,
4166
- /* @__PURE__ */ jsx44(Txt, { variant: "display", style: styles31.centred, children: slide.title }),
4167
- /* @__PURE__ */ jsx44(Txt, { tone: "secondary", style: [styles31.centred, styles31.description], children: slide.description })
4656
+ return /* @__PURE__ */ jsxs42(View41, { style: [styles34.root, { backgroundColor: theme.surface0, paddingTop: insets.top + 8, paddingBottom: insets.bottom + 16 }, style], onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: [
4657
+ /* @__PURE__ */ jsx47(View41, { style: styles34.top, children: !last ? /* @__PURE__ */ jsx47(Button, { label: labels.skip, variant: "ghost", size: "sm", onPress: onDone }) : /* @__PURE__ */ jsx47(View41, { style: styles34.spacer }) }),
4658
+ /* @__PURE__ */ jsx47(ScrollView5, { ref: scroller, tabIndex: 0, horizontal: true, pagingEnabled: true, showsHorizontalScrollIndicator: false, onMomentumScrollEnd: onScroll, style: styles34.flex, children: slides.map((slide, i) => /* @__PURE__ */ jsxs42(View41, { style: [styles34.slide, { width: width || void 0 }], accessible: true, "aria-label": `${labels.position(i + 1, slides.length)}. ${slide.title}. ${slide.description}`, "aria-hidden": i !== page, children: [
4659
+ slide.visual ? /* @__PURE__ */ jsx47(View41, { style: styles34.visual, children: slide.visual }) : null,
4660
+ /* @__PURE__ */ jsx47(Txt, { variant: "display", style: styles34.centred, children: slide.title }),
4661
+ /* @__PURE__ */ jsx47(Txt, { tone: "secondary", style: [styles34.centred, styles34.description], children: slide.description })
4168
4662
  ] }, i)) }),
4169
- /* @__PURE__ */ jsx44(View38, { style: styles31.dots, "aria-hidden": true, children: slides.map((_, i) => /* @__PURE__ */ jsx44(View38, { style: [styles31.dot, { width: i === page ? 22 : 8, backgroundColor: i === page ? theme.accent : theme.borderStrong }] }, i)) }),
4170
- /* @__PURE__ */ jsx44(View38, { style: styles31.bottom, children: /* @__PURE__ */ jsx44(Button, { label: last ? labels.done : labels.next, variant: last ? "gradient" : "primary", size: "lg", onPress: () => last ? onDone() : go(page + 1) }) })
4663
+ /* @__PURE__ */ jsx47(View41, { style: styles34.dots, "aria-hidden": true, children: slides.map((_, i) => /* @__PURE__ */ jsx47(View41, { style: [styles34.dot, { width: i === page ? 22 : 8, backgroundColor: i === page ? theme.accent : theme.borderStrong }] }, i)) }),
4664
+ /* @__PURE__ */ jsx47(View41, { style: styles34.bottom, children: /* @__PURE__ */ jsx47(Button, { label: last ? labels.done : labels.next, variant: last ? "gradient" : "primary", size: "lg", onPress: () => last ? onDone() : go(page + 1) }) })
4171
4665
  ] });
4172
4666
  }
4173
- var styles31 = StyleSheet31.create({
4667
+ var styles34 = StyleSheet34.create({
4174
4668
  root: { flex: 1 },
4175
4669
  top: { flexDirection: "row", justifyContent: "flex-end", paddingHorizontal: 16, minHeight: 32 },
4176
4670
  spacer: { height: 32 },
@@ -4185,16 +4679,16 @@ var styles31 = StyleSheet31.create({
4185
4679
  });
4186
4680
 
4187
4681
  // src/native/otp-input.tsx
4188
- import * as React28 from "react";
4189
- import { Platform as Platform2, Pressable as Pressable16, StyleSheet as StyleSheet32, TextInput as TextInput5, View as View39 } from "react-native";
4190
- import { jsx as jsx45, jsxs as jsxs40 } from "react/jsx-runtime";
4682
+ import * as React31 from "react";
4683
+ import { Platform as Platform2, Pressable as Pressable18, StyleSheet as StyleSheet35, TextInput as TextInput5, View as View42 } from "react-native";
4684
+ import { jsx as jsx48, jsxs as jsxs43 } from "react/jsx-runtime";
4191
4685
  function OtpInput({ label, length = 6, value, onValueChange, onComplete, mode = "numeric", invalid, disabled, autoFocus, style }) {
4192
4686
  const { theme, radius: radius3, haptic } = useTheme();
4193
- const [own, setOwn] = React28.useState("");
4687
+ const [own, setOwn] = React31.useState("");
4194
4688
  const code = value ?? own;
4195
- const [focused, setFocused] = React28.useState(false);
4196
- const input = React28.useRef(null);
4197
- React28.useEffect(() => {
4689
+ const [focused, setFocused] = React31.useState(false);
4690
+ const input = React31.useRef(null);
4691
+ React31.useEffect(() => {
4198
4692
  if (invalid) haptic("warning");
4199
4693
  }, [invalid, haptic]);
4200
4694
  const change = (raw) => {
@@ -4206,14 +4700,14 @@ function OtpInput({ label, length = 6, value, onValueChange, onComplete, mode =
4206
4700
  onComplete?.(next);
4207
4701
  }
4208
4702
  };
4209
- return /* @__PURE__ */ jsxs40(Pressable16, { onPress: () => input.current?.focus(), disabled, accessible: false, style: [styles32.root, style], children: [
4210
- /* @__PURE__ */ jsx45(View39, { style: styles32.boxes, "aria-hidden": true, children: Array.from({ length }, (_, i) => {
4703
+ return /* @__PURE__ */ jsxs43(Pressable18, { onPress: () => input.current?.focus(), disabled, accessible: false, style: [styles35.root, style], children: [
4704
+ /* @__PURE__ */ jsx48(View42, { style: styles35.boxes, "aria-hidden": true, children: Array.from({ length }, (_, i) => {
4211
4705
  const active = focused && i === Math.min(code.length, length - 1);
4212
- return /* @__PURE__ */ jsx45(
4213
- View39,
4706
+ return /* @__PURE__ */ jsx48(
4707
+ View42,
4214
4708
  {
4215
4709
  style: [
4216
- styles32.box,
4710
+ styles35.box,
4217
4711
  {
4218
4712
  borderRadius: radius3.md,
4219
4713
  backgroundColor: theme.surface2,
@@ -4221,12 +4715,12 @@ function OtpInput({ label, length = 6, value, onValueChange, onComplete, mode =
4221
4715
  borderWidth: invalid || active ? 2 : 1
4222
4716
  }
4223
4717
  ],
4224
- children: /* @__PURE__ */ jsx45(Txt, { variant: "title", children: code[i] ?? "" })
4718
+ children: /* @__PURE__ */ jsx48(Txt, { variant: "title", children: code[i] ?? "" })
4225
4719
  },
4226
4720
  i
4227
4721
  );
4228
4722
  }) }),
4229
- /* @__PURE__ */ jsx45(
4723
+ /* @__PURE__ */ jsx48(
4230
4724
  TextInput5,
4231
4725
  {
4232
4726
  ref: input,
@@ -4245,12 +4739,12 @@ function OtpInput({ label, length = 6, value, onValueChange, onComplete, mode =
4245
4739
  caretHidden: true,
4246
4740
  onFocus: () => setFocused(true),
4247
4741
  onBlur: () => setFocused(false),
4248
- style: styles32.hidden
4742
+ style: styles35.hidden
4249
4743
  }
4250
4744
  )
4251
4745
  ] });
4252
4746
  }
4253
- var styles32 = StyleSheet32.create({
4747
+ var styles35 = StyleSheet35.create({
4254
4748
  root: { alignSelf: "flex-start" },
4255
4749
  boxes: { flexDirection: "row", gap: 8 },
4256
4750
  box: { width: 46, height: 56, alignItems: "center", justifyContent: "center" },
@@ -4258,11 +4752,11 @@ var styles32 = StyleSheet32.create({
4258
4752
  });
4259
4753
 
4260
4754
  // src/native/pagination.tsx
4261
- import { Pressable as Pressable17, StyleSheet as StyleSheet33, Text as Text15, View as View40 } from "react-native";
4262
- import Svg21, { Path as Path18 } from "react-native-svg";
4263
- import { jsx as jsx46, jsxs as jsxs41 } from "react/jsx-runtime";
4755
+ import { Pressable as Pressable19, StyleSheet as StyleSheet36, Text as Text16, View as View43 } from "react-native";
4756
+ import Svg22, { Path as Path19 } from "react-native-svg";
4757
+ import { jsx as jsx49, jsxs as jsxs44 } from "react/jsx-runtime";
4264
4758
  function Chevron3({ direction, color }) {
4265
- return /* @__PURE__ */ jsx46(Svg21, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx46(Path18, { d: direction === "left" ? "m15 6-6 6 6 6" : "m9 6 6 6-6 6" }) });
4759
+ return /* @__PURE__ */ jsx49(Svg22, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx49(Path19, { d: direction === "left" ? "m15 6-6 6 6 6" : "m9 6 6 6-6 6" }) });
4266
4760
  }
4267
4761
  function Pagination({ page = 1, pageCount, onPageChange, hasPrevious, hasNext, onPrevious, onNext, status, disabled, labels, style }) {
4268
4762
  const { theme, radius: radius3 } = useTheme();
@@ -4271,8 +4765,8 @@ function Pagination({ page = 1, pageCount, onPageChange, hasPrevious, hasNext, o
4271
4765
  const current = Math.min(Math.max(1, page), count);
4272
4766
  const canPrevious = !disabled && (paged ? current > 1 : Boolean(hasPrevious));
4273
4767
  const canNext = !disabled && (paged ? current < count : Boolean(hasNext));
4274
- const button = (direction, enabled, onPress, label) => /* @__PURE__ */ jsx46(
4275
- Pressable17,
4768
+ const button = (direction, enabled, onPress, label) => /* @__PURE__ */ jsx49(
4769
+ Pressable19,
4276
4770
  {
4277
4771
  role: "button",
4278
4772
  "aria-label": label,
@@ -4281,28 +4775,28 @@ function Pagination({ page = 1, pageCount, onPageChange, hasPrevious, hasNext, o
4281
4775
  hitSlop: 6,
4282
4776
  onPress,
4283
4777
  style: ({ pressed }) => [
4284
- styles33.button,
4778
+ styles36.button,
4285
4779
  { borderRadius: radius3.sm, borderColor: theme.borderDefault, backgroundColor: theme.surface1, opacity: enabled ? pressed ? 0.8 : 1 : 0.4 }
4286
4780
  ],
4287
- children: /* @__PURE__ */ jsx46(Chevron3, { direction, color: theme.textPrimary })
4781
+ children: /* @__PURE__ */ jsx49(Chevron3, { direction, color: theme.textPrimary })
4288
4782
  }
4289
4783
  );
4290
4784
  const text = status ?? (paged ? labels.compact(current, count) : null);
4291
- return /* @__PURE__ */ jsxs41(View40, { role: "navigation", style: [styles33.row, style], children: [
4785
+ return /* @__PURE__ */ jsxs44(View43, { role: "navigation", style: [styles36.row, style], children: [
4292
4786
  button("left", canPrevious, paged ? () => onPageChange?.(current - 1) : onPrevious, labels.previous),
4293
- text ? /* @__PURE__ */ jsx46(Text15, { "aria-live": "polite", style: [styles33.status, { color: theme.textSecondary }], children: text }) : null,
4787
+ text ? /* @__PURE__ */ jsx49(Text16, { "aria-live": "polite", style: [styles36.status, { color: theme.textSecondary }], children: text }) : null,
4294
4788
  button("right", canNext, paged ? () => onPageChange?.(current + 1) : onNext, labels.next)
4295
4789
  ] });
4296
4790
  }
4297
- var styles33 = StyleSheet33.create({
4791
+ var styles36 = StyleSheet36.create({
4298
4792
  row: { flexDirection: "row", alignItems: "center", justifyContent: "space-between", gap: 12 },
4299
- button: { width: 44, height: 44, alignItems: "center", justifyContent: "center", borderWidth: StyleSheet33.hairlineWidth },
4793
+ button: { width: 44, height: 44, alignItems: "center", justifyContent: "center", borderWidth: StyleSheet36.hairlineWidth },
4300
4794
  status: { fontSize: 13, fontWeight: "600", fontVariant: ["lining-nums", "tabular-nums"] }
4301
4795
  });
4302
4796
 
4303
4797
  // src/native/permission-prompt.tsx
4304
- import { StyleSheet as StyleSheet34, View as View41 } from "react-native";
4305
- import { Fragment as Fragment7, jsx as jsx47, jsxs as jsxs42 } from "react/jsx-runtime";
4798
+ import { StyleSheet as StyleSheet37, View as View44 } from "react-native";
4799
+ import { Fragment as Fragment8, jsx as jsx50, jsxs as jsxs45 } from "react/jsx-runtime";
4306
4800
  function PermissionPrompt({
4307
4801
  status,
4308
4802
  title,
@@ -4319,28 +4813,28 @@ function PermissionPrompt({
4319
4813
  style
4320
4814
  }) {
4321
4815
  const { theme, radius: radius3 } = useTheme();
4322
- if (status === "granted") return /* @__PURE__ */ jsx47(Fragment7, { children: children ?? null });
4816
+ if (status === "granted") return /* @__PURE__ */ jsx50(Fragment8, { children: children ?? null });
4323
4817
  const blocked = status === "blocked" || status === "denied" && Boolean(onOpenSettings);
4324
- return /* @__PURE__ */ jsxs42(View41, { style: [styles34.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style], children: [
4325
- /* @__PURE__ */ jsx47(Mascot, { bird: mascot, mood: blocked ? "error" : "welcome", size: 104 }),
4326
- /* @__PURE__ */ jsx47(Txt, { variant: "title", style: styles34.centred, children: title }),
4327
- /* @__PURE__ */ jsx47(Txt, { tone: "secondary", style: styles34.centred, children: blocked && blockedDescription ? blockedDescription : description }),
4328
- /* @__PURE__ */ jsxs42(View41, { style: styles34.actions, children: [
4329
- blocked && settingsLabel && onOpenSettings ? /* @__PURE__ */ jsx47(Button, { label: settingsLabel, variant: "primary", onPress: onOpenSettings }) : /* @__PURE__ */ jsx47(Button, { label: allowLabel, variant: "primary", onPress: onAllow }),
4330
- dismissLabel && onDismiss ? /* @__PURE__ */ jsx47(Button, { label: dismissLabel, variant: "ghost", onPress: onDismiss }) : null
4818
+ return /* @__PURE__ */ jsxs45(View44, { style: [styles37.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style], children: [
4819
+ /* @__PURE__ */ jsx50(Mascot, { bird: mascot, mood: blocked ? "error" : "welcome", size: 104 }),
4820
+ /* @__PURE__ */ jsx50(Txt, { variant: "title", style: styles37.centred, children: title }),
4821
+ /* @__PURE__ */ jsx50(Txt, { tone: "secondary", style: styles37.centred, children: blocked && blockedDescription ? blockedDescription : description }),
4822
+ /* @__PURE__ */ jsxs45(View44, { style: styles37.actions, children: [
4823
+ blocked && settingsLabel && onOpenSettings ? /* @__PURE__ */ jsx50(Button, { label: settingsLabel, variant: "primary", onPress: onOpenSettings }) : /* @__PURE__ */ jsx50(Button, { label: allowLabel, variant: "primary", onPress: onAllow }),
4824
+ dismissLabel && onDismiss ? /* @__PURE__ */ jsx50(Button, { label: dismissLabel, variant: "ghost", onPress: onDismiss }) : null
4331
4825
  ] })
4332
4826
  ] });
4333
4827
  }
4334
- var styles34 = StyleSheet34.create({
4335
- root: { alignItems: "center", gap: 10, padding: 24, borderWidth: StyleSheet34.hairlineWidth },
4828
+ var styles37 = StyleSheet37.create({
4829
+ root: { alignItems: "center", gap: 10, padding: 24, borderWidth: StyleSheet37.hairlineWidth },
4336
4830
  centred: { textAlign: "center", maxWidth: 340 },
4337
4831
  actions: { marginTop: 8, gap: 8, alignSelf: "stretch" }
4338
4832
  });
4339
4833
 
4340
4834
  // src/native/phoenix.tsx
4341
- import { useEffect as useEffect19, useState as useState28 } from "react";
4342
- import { AccessibilityInfo as AccessibilityInfo12, Animated as Animated16, Easing as Easing10, View as View42 } from "react-native";
4343
- import Svg22, { Circle as Circle14, Defs as Defs12, LinearGradient as LinearGradient9, Path as Path19, RadialGradient as RadialGradient9, Stop as Stop12 } from "react-native-svg";
4835
+ import { useEffect as useEffect20, useState as useState31 } from "react";
4836
+ import { AccessibilityInfo as AccessibilityInfo12, Animated as Animated17, Easing as Easing10, View as View45 } from "react-native";
4837
+ import Svg23, { Circle as Circle14, Defs as Defs12, LinearGradient as LinearGradient9, Path as Path20, RadialGradient as RadialGradient9, Stop as Stop12 } from "react-native-svg";
4344
4838
 
4345
4839
  // src/mascots/phoenix-geometry.ts
4346
4840
  var PHOENIX = {
@@ -4363,17 +4857,17 @@ var PHOENIX_PALETTES = {
4363
4857
  };
4364
4858
 
4365
4859
  // src/native/phoenix.tsx
4366
- import { jsx as jsx48, jsxs as jsxs43 } from "react/jsx-runtime";
4860
+ import { jsx as jsx51, jsxs as jsxs46 } from "react/jsx-runtime";
4367
4861
  function useFloat(animated) {
4368
- const [y] = useState28(() => new Animated16.Value(0));
4369
- useEffect19(() => {
4862
+ const [y] = useState31(() => new Animated17.Value(0));
4863
+ useEffect20(() => {
4370
4864
  if (!animated) return;
4371
4865
  let loop;
4372
4866
  let cancelled = false;
4373
4867
  void AccessibilityInfo12.isReduceMotionEnabled().then((reduce) => {
4374
4868
  if (reduce || cancelled) return;
4375
- const step = (toValue) => Animated16.timing(y, { toValue, duration: 2500, easing: Easing10.inOut(Easing10.ease), useNativeDriver: true });
4376
- loop = Animated16.loop(Animated16.sequence([step(-6), step(0)]));
4869
+ const step = (toValue) => Animated17.timing(y, { toValue, duration: 2500, easing: Easing10.inOut(Easing10.ease), useNativeDriver: true });
4870
+ loop = Animated17.loop(Animated17.sequence([step(-6), step(0)]));
4377
4871
  loop.start();
4378
4872
  });
4379
4873
  return () => {
@@ -4388,41 +4882,41 @@ function Phoenix({ tone: tone3 = "own", size = 120, animated = true, title, styl
4388
4882
  const id = useSvgId("kzp");
4389
4883
  const y = useFloat(animated);
4390
4884
  const p = tone3 === "brand" ? { left: [theme.accent2, theme.accent], right: [theme.accent, theme.accent2], core: ["#ffffff", theme.accent], body: theme.surface3, edge: theme.borderStrong, crest: theme.accent } : PHOENIX_PALETTES.own;
4391
- return /* @__PURE__ */ jsx48(View42, { style: [{ width: size, height: size }, style], ...markA11y(title), children: /* @__PURE__ */ jsx48(Animated16.View, { style: { transform: [{ translateY: y }] }, children: /* @__PURE__ */ jsxs43(Svg22, { width: size, height: size, viewBox: "0 0 120 120", children: [
4392
- /* @__PURE__ */ jsxs43(Defs12, { children: [
4393
- /* @__PURE__ */ jsxs43(LinearGradient9, { id: `${id}l`, x1: "1", y1: "0", x2: "0", y2: "1", children: [
4394
- /* @__PURE__ */ jsx48(Stop12, { offset: "0%", stopColor: p.left[0] }),
4395
- /* @__PURE__ */ jsx48(Stop12, { offset: "100%", stopColor: p.left[1] })
4885
+ return /* @__PURE__ */ jsx51(View45, { style: [{ width: size, height: size }, style], ...markA11y(title), children: /* @__PURE__ */ jsx51(Animated17.View, { style: { transform: [{ translateY: y }] }, children: /* @__PURE__ */ jsxs46(Svg23, { width: size, height: size, viewBox: "0 0 120 120", children: [
4886
+ /* @__PURE__ */ jsxs46(Defs12, { children: [
4887
+ /* @__PURE__ */ jsxs46(LinearGradient9, { id: `${id}l`, x1: "1", y1: "0", x2: "0", y2: "1", children: [
4888
+ /* @__PURE__ */ jsx51(Stop12, { offset: "0%", stopColor: p.left[0] }),
4889
+ /* @__PURE__ */ jsx51(Stop12, { offset: "100%", stopColor: p.left[1] })
4396
4890
  ] }),
4397
- /* @__PURE__ */ jsxs43(LinearGradient9, { id: `${id}r`, x1: "0", y1: "0", x2: "1", y2: "1", children: [
4398
- /* @__PURE__ */ jsx48(Stop12, { offset: "0%", stopColor: p.right[0] }),
4399
- /* @__PURE__ */ jsx48(Stop12, { offset: "100%", stopColor: p.right[1] })
4891
+ /* @__PURE__ */ jsxs46(LinearGradient9, { id: `${id}r`, x1: "0", y1: "0", x2: "1", y2: "1", children: [
4892
+ /* @__PURE__ */ jsx51(Stop12, { offset: "0%", stopColor: p.right[0] }),
4893
+ /* @__PURE__ */ jsx51(Stop12, { offset: "100%", stopColor: p.right[1] })
4400
4894
  ] }),
4401
- /* @__PURE__ */ jsxs43(RadialGradient9, { id: `${id}c`, children: [
4402
- /* @__PURE__ */ jsx48(Stop12, { offset: "0%", stopColor: p.core[0] }),
4403
- /* @__PURE__ */ jsx48(Stop12, { offset: "100%", stopColor: p.core[1], stopOpacity: 0 })
4895
+ /* @__PURE__ */ jsxs46(RadialGradient9, { id: `${id}c`, children: [
4896
+ /* @__PURE__ */ jsx51(Stop12, { offset: "0%", stopColor: p.core[0] }),
4897
+ /* @__PURE__ */ jsx51(Stop12, { offset: "100%", stopColor: p.core[1], stopOpacity: 0 })
4404
4898
  ] })
4405
4899
  ] }),
4406
- /* @__PURE__ */ jsx48(Path19, { d: PHOENIX.wingL, fill: `url(#${id}l)` }),
4407
- /* @__PURE__ */ jsx48(Path19, { d: PHOENIX.wingR, fill: `url(#${id}r)` }),
4408
- /* @__PURE__ */ jsx48(Path19, { d: PHOENIX.tailL, fill: `url(#${id}l)`, opacity: 0.7 }),
4409
- /* @__PURE__ */ jsx48(Path19, { d: PHOENIX.tailR, fill: `url(#${id}r)`, opacity: 0.7 }),
4410
- /* @__PURE__ */ jsx48(Path19, { d: PHOENIX.body, fill: p.body, stroke: p.edge, strokeOpacity: 0.5 }),
4411
- /* @__PURE__ */ jsx48(Circle14, { cx: 60, cy: 58, r: 12, fill: `url(#${id}c)` }),
4412
- /* @__PURE__ */ jsx48(Circle14, { cx: 60, cy: 58, r: 3.5, fill: "#ffffff" }),
4413
- /* @__PURE__ */ jsx48(Path19, { d: PHOENIX.crest, stroke: p.crest, strokeWidth: 2, strokeLinecap: "round" })
4900
+ /* @__PURE__ */ jsx51(Path20, { d: PHOENIX.wingL, fill: `url(#${id}l)` }),
4901
+ /* @__PURE__ */ jsx51(Path20, { d: PHOENIX.wingR, fill: `url(#${id}r)` }),
4902
+ /* @__PURE__ */ jsx51(Path20, { d: PHOENIX.tailL, fill: `url(#${id}l)`, opacity: 0.7 }),
4903
+ /* @__PURE__ */ jsx51(Path20, { d: PHOENIX.tailR, fill: `url(#${id}r)`, opacity: 0.7 }),
4904
+ /* @__PURE__ */ jsx51(Path20, { d: PHOENIX.body, fill: p.body, stroke: p.edge, strokeOpacity: 0.5 }),
4905
+ /* @__PURE__ */ jsx51(Circle14, { cx: 60, cy: 58, r: 12, fill: `url(#${id}c)` }),
4906
+ /* @__PURE__ */ jsx51(Circle14, { cx: 60, cy: 58, r: 3.5, fill: "#ffffff" }),
4907
+ /* @__PURE__ */ jsx51(Path20, { d: PHOENIX.crest, stroke: p.crest, strokeWidth: 2, strokeLinecap: "round" })
4414
4908
  ] }) }) });
4415
4909
  }
4416
4910
 
4417
4911
  // src/native/photo-grid.tsx
4418
- import * as React30 from "react";
4419
- import { Image as Image4, Pressable as Pressable18, StyleSheet as StyleSheet35, View as View43 } from "react-native";
4420
- import Svg23, { Path as Path20 } from "react-native-svg";
4421
- import { jsx as jsx49, jsxs as jsxs44 } from "react/jsx-runtime";
4912
+ import * as React33 from "react";
4913
+ import { Image as Image4, Pressable as Pressable20, StyleSheet as StyleSheet38, View as View46 } from "react-native";
4914
+ import Svg24, { Path as Path21 } from "react-native-svg";
4915
+ import { jsx as jsx52, jsxs as jsxs47 } from "react/jsx-runtime";
4422
4916
  function PhotoGrid({ value, onValueChange, onAdd, slots = 6, required = 1, columns = 3, labels, style }) {
4423
4917
  const { theme, radius: radius3, haptic } = useTheme();
4424
- const [menu, setMenu] = React30.useState(null);
4425
- const move = (from, to) => {
4918
+ const [menu, setMenu] = React33.useState(null);
4919
+ const move2 = (from, to) => {
4426
4920
  if (to < 0 || to >= value.length || from === to) return;
4427
4921
  const next = [...value];
4428
4922
  const [photo] = next.splice(from, 1);
@@ -4435,12 +4929,12 @@ function PhotoGrid({ value, onValueChange, onAdd, slots = 6, required = 1, colum
4435
4929
  onValueChange(value.filter((_, j) => j !== i));
4436
4930
  };
4437
4931
  const width = `${100 / columns}%`;
4438
- return /* @__PURE__ */ jsxs44(View43, { style: [styles35.grid, style], children: [
4932
+ return /* @__PURE__ */ jsxs47(View46, { style: [styles38.grid, style], children: [
4439
4933
  Array.from({ length: slots }, (_, i) => {
4440
4934
  const photo = value[i];
4441
- const cell = [styles35.slot, { borderRadius: radius3.lg, aspectRatio: 3 / 4 }];
4442
- return /* @__PURE__ */ jsx49(View43, { style: [styles35.cell, { width }], children: photo ? /* @__PURE__ */ jsxs44(
4443
- Pressable18,
4935
+ const cell = [styles38.slot, { borderRadius: radius3.lg, aspectRatio: 3 / 4 }];
4936
+ return /* @__PURE__ */ jsx52(View46, { style: [styles38.cell, { width }], children: photo ? /* @__PURE__ */ jsxs47(
4937
+ Pressable20,
4444
4938
  {
4445
4939
  role: "button",
4446
4940
  "aria-label": [labels.photo(i + 1), photo.alt, i === 0 ? labels.main : null].filter(Boolean).join(", "),
@@ -4456,19 +4950,19 @@ function PhotoGrid({ value, onValueChange, onAdd, slots = 6, required = 1, colum
4456
4950
  ],
4457
4951
  onAccessibilityAction: (e) => {
4458
4952
  const name = e.nativeEvent.actionName;
4459
- if (name === "makeMain") move(i, 0);
4460
- if (name === "earlier") move(i, i - 1);
4461
- if (name === "later") move(i, i + 1);
4953
+ if (name === "makeMain") move2(i, 0);
4954
+ if (name === "earlier") move2(i, i - 1);
4955
+ if (name === "later") move2(i, i + 1);
4462
4956
  if (name === "remove") remove(i);
4463
4957
  },
4464
4958
  style: [...cell, { backgroundColor: theme.surface3, overflow: "hidden" }],
4465
4959
  children: [
4466
- /* @__PURE__ */ jsx49(Image4, { source: { uri: photo.uri }, style: StyleSheet35.absoluteFill, resizeMode: "cover" }),
4467
- i === 0 ? /* @__PURE__ */ jsx49(View43, { style: [styles35.main, { backgroundColor: theme.accent, borderRadius: radius3.full }], children: /* @__PURE__ */ jsx49(Txt, { variant: "caption", tone: "onAccent", style: styles35.mainText, children: labels.main }) }) : null
4960
+ /* @__PURE__ */ jsx52(Image4, { source: { uri: photo.uri }, style: StyleSheet38.absoluteFill, resizeMode: "cover" }),
4961
+ i === 0 ? /* @__PURE__ */ jsx52(View46, { style: [styles38.main, { backgroundColor: theme.accent, borderRadius: radius3.full }], children: /* @__PURE__ */ jsx52(Txt, { variant: "caption", tone: "onAccent", style: styles38.mainText, children: labels.main }) }) : null
4468
4962
  ]
4469
4963
  }
4470
- ) : /* @__PURE__ */ jsx49(
4471
- Pressable18,
4964
+ ) : /* @__PURE__ */ jsx52(
4965
+ Pressable20,
4472
4966
  {
4473
4967
  role: "button",
4474
4968
  "aria-label": labels.add,
@@ -4476,14 +4970,14 @@ function PhotoGrid({ value, onValueChange, onAdd, slots = 6, required = 1, colum
4476
4970
  onPress: onAdd,
4477
4971
  style: ({ pressed }) => [
4478
4972
  ...cell,
4479
- styles35.empty,
4973
+ styles38.empty,
4480
4974
  { borderColor: i < required ? theme.accent : theme.borderStrong, backgroundColor: pressed ? theme.surface2 : theme.surface1, opacity: i > value.length ? 0.5 : 1 }
4481
4975
  ],
4482
- children: /* @__PURE__ */ jsx49(View43, { style: [styles35.plus, { backgroundColor: i === value.length ? theme.accent : theme.surface3, borderRadius: radius3.full }], children: /* @__PURE__ */ jsx49(Svg23, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx49(Path20, { d: "M12 5v14M5 12h14", stroke: i === value.length ? theme.onAccent : theme.textSecondary, strokeWidth: 2.6, strokeLinecap: "round" }) }) })
4976
+ children: /* @__PURE__ */ jsx52(View46, { style: [styles38.plus, { backgroundColor: i === value.length ? theme.accent : theme.surface3, borderRadius: radius3.full }], children: /* @__PURE__ */ jsx52(Svg24, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx52(Path21, { d: "M12 5v14M5 12h14", stroke: i === value.length ? theme.onAccent : theme.textSecondary, strokeWidth: 2.6, strokeLinecap: "round" }) }) })
4483
4977
  }
4484
4978
  ) }, photo?.id ?? `empty-${i}`);
4485
4979
  }),
4486
- /* @__PURE__ */ jsx49(
4980
+ /* @__PURE__ */ jsx52(
4487
4981
  ActionSheet,
4488
4982
  {
4489
4983
  open: menu !== null,
@@ -4491,15 +4985,15 @@ function PhotoGrid({ value, onValueChange, onAdd, slots = 6, required = 1, colum
4491
4985
  title: menu !== null ? labels.photo(menu + 1) : "",
4492
4986
  cancelLabel: labels.cancel,
4493
4987
  actions: menu === null ? [] : [
4494
- ...menu > 0 ? [{ label: labels.makeMain, onPress: () => move(menu, 0) }, { label: labels.moveEarlier, onPress: () => move(menu, menu - 1) }] : [],
4495
- ...menu < value.length - 1 ? [{ label: labels.moveLater, onPress: () => move(menu, menu + 1) }] : [],
4988
+ ...menu > 0 ? [{ label: labels.makeMain, onPress: () => move2(menu, 0) }, { label: labels.moveEarlier, onPress: () => move2(menu, menu - 1) }] : [],
4989
+ ...menu < value.length - 1 ? [{ label: labels.moveLater, onPress: () => move2(menu, menu + 1) }] : [],
4496
4990
  { label: labels.remove, destructive: true, onPress: () => remove(menu) }
4497
4991
  ]
4498
4992
  }
4499
4993
  )
4500
4994
  ] });
4501
4995
  }
4502
- var styles35 = StyleSheet35.create({
4996
+ var styles38 = StyleSheet38.create({
4503
4997
  grid: { flexDirection: "row", flexWrap: "wrap", marginHorizontal: -4 },
4504
4998
  cell: { padding: 4 },
4505
4999
  slot: { width: "100%" },
@@ -4510,18 +5004,18 @@ var styles35 = StyleSheet35.create({
4510
5004
  });
4511
5005
 
4512
5006
  // src/native/profile-card.tsx
4513
- import * as React31 from "react";
4514
- import { Animated as Animated17, StyleSheet as StyleSheet36, View as View44 } from "react-native";
4515
- import Svg24, { Defs as Defs13, LinearGradient as LinearGradient10, Rect as Rect3, Stop as Stop13 } from "react-native-svg";
4516
- import { jsx as jsx50, jsxs as jsxs45 } from "react/jsx-runtime";
5007
+ import * as React34 from "react";
5008
+ import { Animated as Animated18, StyleSheet as StyleSheet39, View as View47 } from "react-native";
5009
+ import Svg25, { Defs as Defs13, LinearGradient as LinearGradient10, Rect as Rect3, Stop as Stop13 } from "react-native-svg";
5010
+ import { jsx as jsx53, jsxs as jsxs48 } from "react/jsx-runtime";
4517
5011
  var ratioOf = (value, max = 100) => Math.min(1, Math.max(0, value / (max || 1)));
4518
5012
  function Bar({ label, ratio, words: words2, animated, delay }) {
4519
5013
  const { theme } = useTheme();
4520
5014
  const t = useEntrance(animated, delay, 900);
4521
- const [width, setWidth] = React31.useState(0);
5015
+ const [width, setWidth] = React34.useState(0);
4522
5016
  const translateX = t.interpolate({ inputRange: [0, 1], outputRange: [-width * ratio, 0] });
4523
- return /* @__PURE__ */ jsx50(
4524
- View44,
5017
+ return /* @__PURE__ */ jsx53(
5018
+ View47,
4525
5019
  {
4526
5020
  accessible: true,
4527
5021
  role: "meter",
@@ -4531,42 +5025,42 @@ function Bar({ label, ratio, words: words2, animated, delay }) {
4531
5025
  "aria-valuenow": Math.round(ratio * 100),
4532
5026
  "aria-valuetext": words2,
4533
5027
  onLayout: (e) => setWidth(e.nativeEvent.layout.width),
4534
- style: [styles36.track, { backgroundColor: theme.surface3 }],
4535
- children: /* @__PURE__ */ jsx50(Animated17.View, { style: [styles36.fill, { width: `${ratio * 100}%`, backgroundColor: theme.accent, transform: [{ translateX }] }] })
5028
+ style: [styles39.track, { backgroundColor: theme.surface3 }],
5029
+ children: /* @__PURE__ */ jsx53(Animated18.View, { style: [styles39.fill, { width: `${ratio * 100}%`, backgroundColor: theme.accent, transform: [{ translateX }] }] })
4536
5030
  }
4537
5031
  );
4538
5032
  }
4539
5033
  function ProfileCard({ visual, name, statLabel, value = 100, valueText, stats, caption, children, animated = true, style, ...props }) {
4540
5034
  const { theme, radius: radius3 } = useTheme();
4541
5035
  const ratio = ratioOf(value);
4542
- return /* @__PURE__ */ jsxs45(View44, { ...props, style: [styles36.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style], children: [
4543
- /* @__PURE__ */ jsx50(View44, { "aria-hidden": true, style: [styles36.disc, { backgroundColor: theme.surface2, borderColor: theme.accentSoft }], children: visual }),
4544
- /* @__PURE__ */ jsxs45(View44, { style: styles36.head, children: [
4545
- /* @__PURE__ */ jsx50(Txt, { variant: "title", style: styles36.name, children: name }),
4546
- statLabel ? /* @__PURE__ */ jsxs45(Txt, { variant: "caption", tone: "secondary", children: [
5036
+ return /* @__PURE__ */ jsxs48(View47, { ...props, style: [styles39.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style], children: [
5037
+ /* @__PURE__ */ jsx53(View47, { "aria-hidden": true, style: [styles39.disc, { backgroundColor: theme.surface2, borderColor: theme.accentSoft }], children: visual }),
5038
+ /* @__PURE__ */ jsxs48(View47, { style: styles39.head, children: [
5039
+ /* @__PURE__ */ jsx53(Txt, { variant: "title", style: styles39.name, children: name }),
5040
+ statLabel ? /* @__PURE__ */ jsxs48(Txt, { variant: "caption", tone: "secondary", children: [
4547
5041
  statLabel,
4548
5042
  " ",
4549
- /* @__PURE__ */ jsx50(Txt, { variant: "caption", children: valueText ?? `${Math.round(ratio * 100)} %` })
5043
+ /* @__PURE__ */ jsx53(Txt, { variant: "caption", children: valueText ?? `${Math.round(ratio * 100)} %` })
4550
5044
  ] }) : null
4551
5045
  ] }),
4552
- statLabel ? /* @__PURE__ */ jsx50(Bar, { label: statLabel, ratio, words: valueText ?? `${Math.round(ratio * 100)} %`, animated, delay: 200 }) : null,
5046
+ statLabel ? /* @__PURE__ */ jsx53(Bar, { label: statLabel, ratio, words: valueText ?? `${Math.round(ratio * 100)} %`, animated, delay: 200 }) : null,
4553
5047
  stats?.map((s, i) => {
4554
5048
  const r = ratioOf(s.value, s.max);
4555
5049
  const words2 = s.valueText ?? `${Math.round(r * 100)} %`;
4556
- return /* @__PURE__ */ jsxs45(View44, { style: styles36.stat, children: [
4557
- /* @__PURE__ */ jsxs45(View44, { "aria-hidden": true, style: styles36.statHead, children: [
4558
- /* @__PURE__ */ jsx50(Txt, { variant: "caption", tone: "secondary", children: s.label }),
4559
- /* @__PURE__ */ jsx50(Txt, { variant: "caption", children: words2 })
5050
+ return /* @__PURE__ */ jsxs48(View47, { style: styles39.stat, children: [
5051
+ /* @__PURE__ */ jsxs48(View47, { "aria-hidden": true, style: styles39.statHead, children: [
5052
+ /* @__PURE__ */ jsx53(Txt, { variant: "caption", tone: "secondary", children: s.label }),
5053
+ /* @__PURE__ */ jsx53(Txt, { variant: "caption", children: words2 })
4560
5054
  ] }),
4561
- /* @__PURE__ */ jsx50(Bar, { label: s.label, ratio: r, words: words2, animated, delay: 320 + i * 120 })
5055
+ /* @__PURE__ */ jsx53(Bar, { label: s.label, ratio: r, words: words2, animated, delay: 320 + i * 120 })
4562
5056
  ] }, s.label);
4563
5057
  }),
4564
- caption ? /* @__PURE__ */ jsx50(Txt, { variant: "caption", tone: "secondary", style: styles36.caption, children: caption }) : null,
4565
- children ? /* @__PURE__ */ jsx50(View44, { style: styles36.extra, children }) : null
5058
+ caption ? /* @__PURE__ */ jsx53(Txt, { variant: "caption", tone: "secondary", style: styles39.caption, children: caption }) : null,
5059
+ children ? /* @__PURE__ */ jsx53(View47, { style: styles39.extra, children }) : null
4566
5060
  ] });
4567
5061
  }
4568
- var styles36 = StyleSheet36.create({
4569
- root: { alignItems: "center", gap: 12, padding: 20, borderWidth: StyleSheet36.hairlineWidth },
5062
+ var styles39 = StyleSheet39.create({
5063
+ root: { alignItems: "center", gap: 12, padding: 20, borderWidth: StyleSheet39.hairlineWidth },
4570
5064
  disc: { width: 104, height: 104, borderRadius: 52, borderWidth: 1, alignItems: "center", justifyContent: "center", overflow: "hidden" },
4571
5065
  head: { flexDirection: "row", alignSelf: "stretch", alignItems: "center", justifyContent: "space-between", gap: 8 },
4572
5066
  name: { flexShrink: 1, fontSize: 17 },
@@ -4579,29 +5073,29 @@ var styles36 = StyleSheet36.create({
4579
5073
  });
4580
5074
  function ProfileBanner({ banner, avatar, eyebrow, title, status, meta, actions, style, ...props }) {
4581
5075
  const { theme, radius: radius3 } = useTheme();
4582
- const id = `kz-banner-${React31.useId().replace(/:/g, "")}`;
4583
- return /* @__PURE__ */ jsxs45(View44, { style: [bannerStyles.root, style], ...props, children: [
4584
- /* @__PURE__ */ jsx50(View44, { "aria-hidden": true, style: [bannerStyles.cover, { borderRadius: radius3.lg, backgroundColor: theme.accentSoft }], children: banner ?? /* @__PURE__ */ jsxs45(Svg24, { width: "100%", height: "100%", preserveAspectRatio: "none", viewBox: "0 0 100 100", children: [
4585
- /* @__PURE__ */ jsx50(Defs13, { children: /* @__PURE__ */ jsxs45(LinearGradient10, { id, x1: "0", y1: "0", x2: "1", y2: "1", children: [
4586
- /* @__PURE__ */ jsx50(Stop13, { offset: "0", stopColor: theme.accent, stopOpacity: 0.3 }),
4587
- /* @__PURE__ */ jsx50(Stop13, { offset: "0.5", stopColor: theme.accentSoft }),
4588
- /* @__PURE__ */ jsx50(Stop13, { offset: "1", stopColor: theme.surface2 })
5076
+ const id = `kz-banner-${React34.useId().replace(/:/g, "")}`;
5077
+ return /* @__PURE__ */ jsxs48(View47, { style: [bannerStyles.root, style], ...props, children: [
5078
+ /* @__PURE__ */ jsx53(View47, { "aria-hidden": true, style: [bannerStyles.cover, { borderRadius: radius3.lg, backgroundColor: theme.accentSoft }], children: banner ?? /* @__PURE__ */ jsxs48(Svg25, { width: "100%", height: "100%", preserveAspectRatio: "none", viewBox: "0 0 100 100", children: [
5079
+ /* @__PURE__ */ jsx53(Defs13, { children: /* @__PURE__ */ jsxs48(LinearGradient10, { id, x1: "0", y1: "0", x2: "1", y2: "1", children: [
5080
+ /* @__PURE__ */ jsx53(Stop13, { offset: "0", stopColor: theme.accent, stopOpacity: 0.3 }),
5081
+ /* @__PURE__ */ jsx53(Stop13, { offset: "0.5", stopColor: theme.accentSoft }),
5082
+ /* @__PURE__ */ jsx53(Stop13, { offset: "1", stopColor: theme.surface2 })
4589
5083
  ] }) }),
4590
- /* @__PURE__ */ jsx50(Rect3, { x: "0", y: "0", width: "100", height: "100", fill: `url(#${id})` })
5084
+ /* @__PURE__ */ jsx53(Rect3, { x: "0", y: "0", width: "100", height: "100", fill: `url(#${id})` })
4591
5085
  ] }) }),
4592
- /* @__PURE__ */ jsx50(View44, { style: [bannerStyles.avatar, { borderColor: theme.surface0, backgroundColor: theme.surface3, borderRadius: radius3.lg }], children: avatar }),
4593
- /* @__PURE__ */ jsxs45(View44, { style: bannerStyles.text, children: [
4594
- eyebrow ? /* @__PURE__ */ jsx50(Txt, { variant: "mono", tone: "accent", children: eyebrow }) : null,
4595
- /* @__PURE__ */ jsxs45(View44, { style: bannerStyles.titleRow, children: [
4596
- /* @__PURE__ */ jsx50(Txt, { variant: "title", role: "heading", style: bannerStyles.title, children: title }),
5086
+ /* @__PURE__ */ jsx53(View47, { style: [bannerStyles.avatar, { borderColor: theme.surface0, backgroundColor: theme.surface3, borderRadius: radius3.lg }], children: avatar }),
5087
+ /* @__PURE__ */ jsxs48(View47, { style: bannerStyles.text, children: [
5088
+ eyebrow ? /* @__PURE__ */ jsx53(Txt, { variant: "mono", tone: "accent", children: eyebrow }) : null,
5089
+ /* @__PURE__ */ jsxs48(View47, { style: bannerStyles.titleRow, children: [
5090
+ /* @__PURE__ */ jsx53(Txt, { variant: "title", role: "heading", style: bannerStyles.title, children: title }),
4597
5091
  status
4598
5092
  ] }),
4599
- meta ? /* @__PURE__ */ jsx50(Txt, { tone: "secondary", children: meta }) : null
5093
+ meta ? /* @__PURE__ */ jsx53(Txt, { tone: "secondary", children: meta }) : null
4600
5094
  ] }),
4601
- actions ? /* @__PURE__ */ jsx50(View44, { style: bannerStyles.actions, children: actions }) : null
5095
+ actions ? /* @__PURE__ */ jsx53(View47, { style: bannerStyles.actions, children: actions }) : null
4602
5096
  ] });
4603
5097
  }
4604
- var bannerStyles = StyleSheet36.create({
5098
+ var bannerStyles = StyleSheet39.create({
4605
5099
  root: { gap: 10 },
4606
5100
  cover: { height: 112, width: "100%", overflow: "hidden" },
4607
5101
  avatar: { width: 80, height: 80, marginTop: -50, marginLeft: 4, borderWidth: 4, overflow: "hidden", alignItems: "center", justifyContent: "center" },
@@ -4612,11 +5106,11 @@ var bannerStyles = StyleSheet36.create({
4612
5106
  });
4613
5107
 
4614
5108
  // src/native/progress.tsx
4615
- import * as React32 from "react";
4616
- import { Animated as Animated18, Easing as Easing11, StyleSheet as StyleSheet37, View as View45 } from "react-native";
4617
- import Svg25, { Circle as Circle15, Defs as Defs14, LinearGradient as LinearGradient11, Rect as Rect4, Stop as Stop14 } from "react-native-svg";
4618
- import { jsx as jsx51, jsxs as jsxs46 } from "react/jsx-runtime";
4619
- var AnimatedCircle = Animated18.createAnimatedComponent(Circle15);
5109
+ import * as React35 from "react";
5110
+ import { Animated as Animated19, Easing as Easing11, StyleSheet as StyleSheet40, View as View48 } from "react-native";
5111
+ import Svg26, { Circle as Circle15, Defs as Defs14, LinearGradient as LinearGradient11, Rect as Rect4, Stop as Stop14 } from "react-native-svg";
5112
+ import { jsx as jsx54, jsxs as jsxs49 } from "react/jsx-runtime";
5113
+ var AnimatedCircle = Animated19.createAnimatedComponent(Circle15);
4620
5114
  var BAR2 = { sm: 4, md: 8, lg: 12 };
4621
5115
  var RING2 = { sm: 40, md: 80, lg: 144 };
4622
5116
  var STROKE = { sm: 12, md: 9, lg: 7 };
@@ -4627,21 +5121,21 @@ function Progress({ variant = "bar", size = "md", value, max = 100, label, value
4627
5121
  const known = typeof value === "number" && Number.isFinite(value);
4628
5122
  const ratio = known ? Math.min(1, Math.max(0, value / (max || 1))) : 0;
4629
5123
  const percent2 = Math.round(ratio * 100);
4630
- const [progress] = React32.useState(() => new Animated18.Value(ratio));
4631
- const [spin] = React32.useState(() => new Animated18.Value(0));
4632
- const [track, setTrack] = React32.useState(0);
4633
- React32.useEffect(() => {
5124
+ const [progress] = React35.useState(() => new Animated19.Value(ratio));
5125
+ const [spin] = React35.useState(() => new Animated19.Value(0));
5126
+ const [track, setTrack] = React35.useState(0);
5127
+ React35.useEffect(() => {
4634
5128
  if (reduce) {
4635
5129
  progress.setValue(ratio);
4636
5130
  return;
4637
5131
  }
4638
- const animation = Animated18.timing(progress, { toValue: ratio, duration: 700, easing: Easing11.out(Easing11.cubic), useNativeDriver: false });
5132
+ const animation = Animated19.timing(progress, { toValue: ratio, duration: 700, easing: Easing11.out(Easing11.cubic), useNativeDriver: false });
4639
5133
  animation.start();
4640
5134
  return () => animation.stop();
4641
5135
  }, [ratio, reduce, progress]);
4642
- React32.useEffect(() => {
5136
+ React35.useEffect(() => {
4643
5137
  if (known || reduce) return;
4644
- const loop = Animated18.loop(Animated18.timing(spin, { toValue: 1, duration: 1200, easing: Easing11.linear, useNativeDriver: true }));
5138
+ const loop = Animated19.loop(Animated19.timing(spin, { toValue: 1, duration: 1200, easing: Easing11.linear, useNativeDriver: true }));
4645
5139
  loop.start();
4646
5140
  return () => {
4647
5141
  loop.stop();
@@ -4657,9 +5151,9 @@ function Progress({ variant = "bar", size = "md", value, max = 100, label, value
4657
5151
  "aria-valuenow": known ? Math.min(max, Math.max(0, value)) : void 0,
4658
5152
  "aria-valuetext": known ? valueText ?? `${percent2}%` : valueText
4659
5153
  };
4660
- const gradient = /* @__PURE__ */ jsx51(Defs14, { children: /* @__PURE__ */ jsxs46(LinearGradient11, { id, x1: "0", y1: "0", x2: "1", y2: variant === "ring" ? "1" : "0", children: [
4661
- /* @__PURE__ */ jsx51(Stop14, { offset: "0", stopColor: theme.accent }),
4662
- /* @__PURE__ */ jsx51(Stop14, { offset: "1", stopColor: theme.accent2 })
5154
+ const gradient = /* @__PURE__ */ jsx54(Defs14, { children: /* @__PURE__ */ jsxs49(LinearGradient11, { id, x1: "0", y1: "0", x2: "1", y2: variant === "ring" ? "1" : "0", children: [
5155
+ /* @__PURE__ */ jsx54(Stop14, { offset: "0", stopColor: theme.accent }),
5156
+ /* @__PURE__ */ jsx54(Stop14, { offset: "1", stopColor: theme.accent2 })
4663
5157
  ] }) });
4664
5158
  if (variant === "ring") {
4665
5159
  const side = RING2[size];
@@ -4668,11 +5162,11 @@ function Progress({ variant = "bar", size = "md", value, max = 100, label, value
4668
5162
  const circumference = 2 * Math.PI * r;
4669
5163
  const offset = known ? progress.interpolate({ inputRange: [0, 1], outputRange: [circumference, 0] }) : circumference * 0.75;
4670
5164
  const rotate = spin.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "360deg"] });
4671
- return /* @__PURE__ */ jsxs46(View45, { ...a11y, style: [styles37.ring, { width: side, height: side }, style], children: [
4672
- /* @__PURE__ */ jsx51(Animated18.View, { style: [StyleSheet37.absoluteFill, { transform: [{ rotate: known ? "-90deg" : rotate }] }], children: /* @__PURE__ */ jsxs46(Svg25, { width: side, height: side, viewBox: "0 0 100 100", children: [
5165
+ return /* @__PURE__ */ jsxs49(View48, { ...a11y, style: [styles40.ring, { width: side, height: side }, style], children: [
5166
+ /* @__PURE__ */ jsx54(Animated19.View, { style: [StyleSheet40.absoluteFill, { transform: [{ rotate: known ? "-90deg" : rotate }] }], children: /* @__PURE__ */ jsxs49(Svg26, { width: side, height: side, viewBox: "0 0 100 100", children: [
4673
5167
  gradient,
4674
- /* @__PURE__ */ jsx51(Circle15, { cx: 50, cy: 50, r, fill: "none", stroke: theme.borderDefault, strokeWidth: stroke }),
4675
- /* @__PURE__ */ jsx51(
5168
+ /* @__PURE__ */ jsx54(Circle15, { cx: 50, cy: 50, r, fill: "none", stroke: theme.borderDefault, strokeWidth: stroke }),
5169
+ /* @__PURE__ */ jsx54(
4676
5170
  AnimatedCircle,
4677
5171
  {
4678
5172
  cx: 50,
@@ -4692,81 +5186,81 @@ function Progress({ variant = "bar", size = "md", value, max = 100, label, value
4692
5186
  }
4693
5187
  const width = known ? progress.interpolate({ inputRange: [0, 1], outputRange: ["0%", "100%"] }) : "40%";
4694
5188
  const translate = spin.interpolate({ inputRange: [0, 1], outputRange: [-0.4 * track, track] });
4695
- return /* @__PURE__ */ jsx51(
4696
- View45,
5189
+ return /* @__PURE__ */ jsx54(
5190
+ View48,
4697
5191
  {
4698
5192
  ...a11y,
4699
5193
  onLayout: known ? void 0 : (event) => setTrack(event.nativeEvent.layout.width),
4700
- style: [styles37.bar, { height: BAR2[size], backgroundColor: theme.surface3 }, style],
4701
- children: /* @__PURE__ */ jsx51(Animated18.View, { style: [styles37.fill, { width }, known || reduce ? null : { transform: [{ translateX: translate }] }], children: /* @__PURE__ */ jsxs46(Svg25, { width: "100%", height: "100%", preserveAspectRatio: "none", children: [
5194
+ style: [styles40.bar, { height: BAR2[size], backgroundColor: theme.surface3 }, style],
5195
+ children: /* @__PURE__ */ jsx54(Animated19.View, { style: [styles40.fill, { width }, known || reduce ? null : { transform: [{ translateX: translate }] }], children: /* @__PURE__ */ jsxs49(Svg26, { width: "100%", height: "100%", preserveAspectRatio: "none", children: [
4702
5196
  gradient,
4703
- /* @__PURE__ */ jsx51(Rect4, { x: 0, y: 0, width: "100%", height: "100%", fill: `url(#${id})` })
5197
+ /* @__PURE__ */ jsx54(Rect4, { x: 0, y: 0, width: "100%", height: "100%", fill: `url(#${id})` })
4704
5198
  ] }) })
4705
5199
  }
4706
5200
  );
4707
5201
  }
4708
- var styles37 = StyleSheet37.create({
5202
+ var styles40 = StyleSheet40.create({
4709
5203
  ring: { alignItems: "center", justifyContent: "center" },
4710
5204
  bar: { width: "100%", overflow: "hidden", borderRadius: 9999 },
4711
5205
  fill: { height: "100%", overflow: "hidden", borderRadius: 9999 }
4712
5206
  });
4713
5207
 
4714
5208
  // src/native/pull-to-refresh.tsx
4715
- import * as React33 from "react";
4716
- import { AccessibilityInfo as AccessibilityInfo13, Animated as Animated19, RefreshControl, StyleSheet as StyleSheet38, View as View46 } from "react-native";
4717
- import { jsx as jsx52, jsxs as jsxs47 } from "react/jsx-runtime";
5209
+ import * as React36 from "react";
5210
+ import { AccessibilityInfo as AccessibilityInfo13, Animated as Animated20, RefreshControl, StyleSheet as StyleSheet41, View as View49 } from "react-native";
5211
+ import { jsx as jsx55, jsxs as jsxs50 } from "react/jsx-runtime";
4718
5212
  function PullToRefresh({ label, ...props }) {
4719
5213
  const { theme } = useTheme();
4720
- return /* @__PURE__ */ jsx52(RefreshControl, { ...props, tintColor: theme.accent, colors: [theme.accent], progressBackgroundColor: theme.surface2, title: label, titleColor: theme.textSecondary });
5214
+ return /* @__PURE__ */ jsx55(RefreshControl, { ...props, tintColor: theme.accent, colors: [theme.accent], progressBackgroundColor: theme.surface2, title: label, titleColor: theme.textSecondary });
4721
5215
  }
4722
5216
  var pullProgress = (offset, threshold) => Math.min(1, Math.max(0, -offset / threshold));
4723
5217
  function BrandedRefresh({ product, refreshing, onRefresh, label, children, threshold = 72 }) {
4724
5218
  const { theme } = useTheme();
4725
5219
  const reduce = useReducedMotion();
4726
- const [pull] = React33.useState(() => new Animated19.Value(0));
4727
- React33.useEffect(() => {
5220
+ const [pull] = React36.useState(() => new Animated20.Value(0));
5221
+ React36.useEffect(() => {
4728
5222
  if (refreshing) AccessibilityInfo13.announceForAccessibility(label);
4729
5223
  }, [refreshing, label]);
4730
- const onScroll = React33.useCallback(
5224
+ const onScroll = React36.useCallback(
4731
5225
  (event) => pull.setValue(pullProgress(event.nativeEvent.contentOffset.y, threshold)),
4732
5226
  [pull, threshold]
4733
5227
  );
4734
5228
  const shown = refreshing ? 1 : pull;
4735
5229
  const scale = refreshing || reduce ? 1 : pull.interpolate({ inputRange: [0, 1], outputRange: [0.4, 1] });
4736
5230
  const rotate = refreshing || reduce ? "0deg" : pull.interpolate({ inputRange: [0, 1], outputRange: ["-90deg", "0deg"] });
4737
- return /* @__PURE__ */ jsxs47(View46, { style: styles38.root, children: [
5231
+ return /* @__PURE__ */ jsxs50(View49, { style: styles41.root, children: [
4738
5232
  children({
4739
5233
  // The platform's control does the gesture and the haptics, drawn transparent: the mark is ours.
4740
- refreshControl: /* @__PURE__ */ jsx52(RefreshControl, { refreshing, onRefresh, tintColor: "transparent", colors: ["transparent"], progressBackgroundColor: "transparent" }),
5234
+ refreshControl: /* @__PURE__ */ jsx55(RefreshControl, { refreshing, onRefresh, tintColor: "transparent", colors: ["transparent"], progressBackgroundColor: "transparent" }),
4741
5235
  onScroll,
4742
5236
  scrollEventThrottle: 16
4743
5237
  }),
4744
- /* @__PURE__ */ jsx52(Animated19.View, { pointerEvents: "none", "aria-hidden": true, style: [styles38.mark, { opacity: shown, transform: [{ scale }, { rotate }] }], children: /* @__PURE__ */ jsx52(ProductMark, { id: product, size: 32, animated: refreshing, neutral: theme.textMuted }) })
5238
+ /* @__PURE__ */ jsx55(Animated20.View, { pointerEvents: "none", "aria-hidden": true, style: [styles41.mark, { opacity: shown, transform: [{ scale }, { rotate }] }], children: /* @__PURE__ */ jsx55(ProductMark, { id: product, size: 32, animated: refreshing, neutral: theme.textMuted }) })
4745
5239
  ] });
4746
5240
  }
4747
- var styles38 = StyleSheet38.create({
5241
+ var styles41 = StyleSheet41.create({
4748
5242
  root: { flex: 1 },
4749
5243
  mark: { position: "absolute", top: 12, left: 0, right: 0, alignItems: "center" }
4750
5244
  });
4751
5245
 
4752
5246
  // src/native/radio-group.tsx
4753
- import * as React34 from "react";
4754
- import { Animated as Animated20, Pressable as Pressable19, StyleSheet as StyleSheet39, Text as Text16, View as View47 } from "react-native";
4755
- import Svg26, { Path as Path21 } from "react-native-svg";
4756
- import { jsx as jsx53, jsxs as jsxs48 } from "react/jsx-runtime";
5247
+ import * as React37 from "react";
5248
+ import { Animated as Animated21, Pressable as Pressable21, StyleSheet as StyleSheet42, Text as Text17, View as View50 } from "react-native";
5249
+ import Svg27, { Path as Path22 } from "react-native-svg";
5250
+ import { jsx as jsx56, jsxs as jsxs51 } from "react/jsx-runtime";
4757
5251
  function Check({ color }) {
4758
- return /* @__PURE__ */ jsx53(Svg26, { width: 12, height: 12, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 3.2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx53(Path21, { d: "M20 6 9 17l-5-5" }) });
5252
+ return /* @__PURE__ */ jsx56(Svg27, { width: 12, height: 12, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 3.2, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx56(Path22, { d: "M20 6 9 17l-5-5" }) });
4759
5253
  }
4760
5254
  function Key({ option, checked, disabled, onPress }) {
4761
5255
  const { theme, radius: radius3, motion: motion3 } = useTheme();
4762
- const [held, setHeld] = React34.useState(false);
4763
- const [sink] = React34.useState(() => new Animated20.Value(checked ? 1 : 0));
5256
+ const [held, setHeld] = React37.useState(false);
5257
+ const [sink] = React37.useState(() => new Animated21.Value(checked ? 1 : 0));
4764
5258
  const down = checked || held;
4765
- React34.useEffect(() => {
4766
- Animated20.timing(sink, { toValue: down ? 1 : 0, duration: motion3.duration.fast, useNativeDriver: true }).start();
5259
+ React37.useEffect(() => {
5260
+ Animated21.timing(sink, { toValue: down ? 1 : 0, duration: motion3.duration.fast, useNativeDriver: true }).start();
4767
5261
  }, [down, sink, motion3.duration.fast]);
4768
- return /* @__PURE__ */ jsxs48(
4769
- Pressable19,
5262
+ return /* @__PURE__ */ jsxs51(
5263
+ Pressable21,
4770
5264
  {
4771
5265
  role: "radio",
4772
5266
  "aria-checked": checked,
@@ -4776,14 +5270,14 @@ function Key({ option, checked, disabled, onPress }) {
4776
5270
  onPress,
4777
5271
  onPressIn: () => setHeld(true),
4778
5272
  onPressOut: () => setHeld(false),
4779
- style: [styles39.keySlot, disabled ? styles39.disabled : null],
5273
+ style: [styles42.keySlot, disabled ? styles42.disabled : null],
4780
5274
  children: [
4781
- /* @__PURE__ */ jsx53(View47, { style: [styles39.ledge, { borderRadius: radius3.lg, backgroundColor: checked ? theme.accentHover : theme.borderStrong }] }),
4782
- /* @__PURE__ */ jsxs48(
4783
- Animated20.View,
5275
+ /* @__PURE__ */ jsx56(View50, { style: [styles42.ledge, { borderRadius: radius3.lg, backgroundColor: checked ? theme.accentHover : theme.borderStrong }] }),
5276
+ /* @__PURE__ */ jsxs51(
5277
+ Animated21.View,
4784
5278
  {
4785
5279
  style: [
4786
- styles39.key,
5280
+ styles42.key,
4787
5281
  {
4788
5282
  borderRadius: radius3.lg,
4789
5283
  backgroundColor: checked ? theme.accent : theme.surface2,
@@ -4792,8 +5286,8 @@ function Key({ option, checked, disabled, onPress }) {
4792
5286
  }
4793
5287
  ],
4794
5288
  children: [
4795
- /* @__PURE__ */ jsx53(Text16, { style: [styles39.keyLabel, { color: checked ? theme.onAccent : theme.textPrimary }], children: option.label }),
4796
- option.hint ? /* @__PURE__ */ jsx53(Text16, { style: [styles39.keyHint, { color: checked ? theme.onAccent : theme.textSecondary }], children: option.hint }) : null
5289
+ /* @__PURE__ */ jsx56(Text17, { style: [styles42.keyLabel, { color: checked ? theme.onAccent : theme.textPrimary }], children: option.label }),
5290
+ option.hint ? /* @__PURE__ */ jsx56(Text17, { style: [styles42.keyHint, { color: checked ? theme.onAccent : theme.textSecondary }], children: option.hint }) : null
4797
5291
  ]
4798
5292
  }
4799
5293
  )
@@ -4803,7 +5297,7 @@ function Key({ option, checked, disabled, onPress }) {
4803
5297
  }
4804
5298
  function RadioGroup({ label, options, value: valueProp, defaultValue = null, onValueChange, variant = "list", error, disabled, style }) {
4805
5299
  const { theme, radius: radius3, haptic } = useTheme();
4806
- const [own, setOwn] = React34.useState(defaultValue);
5300
+ const [own, setOwn] = React37.useState(defaultValue);
4807
5301
  const value = valueProp !== void 0 ? valueProp : own;
4808
5302
  const pick = (v) => {
4809
5303
  haptic(variant === "buttons" ? "impact" : "selection");
@@ -4814,10 +5308,10 @@ function RadioGroup({ label, options, value: valueProp, defaultValue = null, onV
4814
5308
  const checked = o.value === value;
4815
5309
  const off = Boolean(disabled || o.disabled);
4816
5310
  const name = o.description ? `${o.label}, ${o.description}` : o.label;
4817
- if (variant === "buttons") return /* @__PURE__ */ jsx53(Key, { option: o, checked, disabled: off, onPress: () => pick(o.value) }, o.value);
5311
+ if (variant === "buttons") return /* @__PURE__ */ jsx56(Key, { option: o, checked, disabled: off, onPress: () => pick(o.value) }, o.value);
4818
5312
  if (variant === "segmented")
4819
- return /* @__PURE__ */ jsx53(
4820
- Pressable19,
5313
+ return /* @__PURE__ */ jsx56(
5314
+ Pressable21,
4821
5315
  {
4822
5316
  role: "radio",
4823
5317
  "aria-checked": checked,
@@ -4825,14 +5319,14 @@ function RadioGroup({ label, options, value: valueProp, defaultValue = null, onV
4825
5319
  "aria-disabled": off || void 0,
4826
5320
  disabled: off,
4827
5321
  onPress: () => pick(o.value),
4828
- style: [styles39.segment, { borderRadius: radius3.md }, checked ? { backgroundColor: theme.surface0, borderColor: theme.borderDefault } : null, off ? styles39.disabled : null],
4829
- children: /* @__PURE__ */ jsx53(Text16, { numberOfLines: 1, style: [styles39.segmentLabel, { color: checked ? theme.textPrimary : theme.textSecondary }], children: o.label })
5322
+ style: [styles42.segment, { borderRadius: radius3.md }, checked ? { backgroundColor: theme.surface0, borderColor: theme.borderDefault } : null, off ? styles42.disabled : null],
5323
+ children: /* @__PURE__ */ jsx56(Text17, { numberOfLines: 1, style: [styles42.segmentLabel, { color: checked ? theme.textPrimary : theme.textSecondary }], children: o.label })
4830
5324
  },
4831
5325
  o.value
4832
5326
  );
4833
5327
  if (variant === "cards")
4834
- return /* @__PURE__ */ jsxs48(
4835
- Pressable19,
5328
+ return /* @__PURE__ */ jsxs51(
5329
+ Pressable21,
4836
5330
  {
4837
5331
  role: "radio",
4838
5332
  "aria-checked": checked,
@@ -4841,40 +5335,40 @@ function RadioGroup({ label, options, value: valueProp, defaultValue = null, onV
4841
5335
  disabled: off,
4842
5336
  onPress: () => pick(o.value),
4843
5337
  style: ({ pressed }) => [
4844
- styles39.card,
5338
+ styles42.card,
4845
5339
  { borderRadius: radius3.xl, backgroundColor: checked ? theme.accentSoft : theme.surface1, borderColor: checked ? theme.accent : theme.borderDefault, transform: [{ scale: pressed ? 0.98 : 1 }] },
4846
- off ? styles39.disabled : null
5340
+ off ? styles42.disabled : null
4847
5341
  ],
4848
5342
  children: [
4849
- /* @__PURE__ */ jsx53(View47, { style: [styles39.cardCheck, { borderColor: checked ? theme.accent : theme.borderStrong, backgroundColor: checked ? theme.accent : theme.surface1 }], children: checked ? /* @__PURE__ */ jsx53(Check, { color: theme.onAccent }) : null }),
4850
- /* @__PURE__ */ jsx53(Text16, { style: [styles39.cardLabel, { color: theme.textPrimary }], children: o.label }),
4851
- o.description ? /* @__PURE__ */ jsx53(Text16, { style: [styles39.cardDescription, { color: theme.textSecondary }], children: o.description }) : null
5343
+ /* @__PURE__ */ jsx56(View50, { style: [styles42.cardCheck, { borderColor: checked ? theme.accent : theme.borderStrong, backgroundColor: checked ? theme.accent : theme.surface1 }], children: checked ? /* @__PURE__ */ jsx56(Check, { color: theme.onAccent }) : null }),
5344
+ /* @__PURE__ */ jsx56(Text17, { style: [styles42.cardLabel, { color: theme.textPrimary }], children: o.label }),
5345
+ o.description ? /* @__PURE__ */ jsx56(Text17, { style: [styles42.cardDescription, { color: theme.textSecondary }], children: o.description }) : null
4852
5346
  ]
4853
5347
  },
4854
5348
  o.value
4855
5349
  );
4856
- return /* @__PURE__ */ jsxs48(Pressable19, { role: "radio", "aria-checked": checked, "aria-label": name, "aria-disabled": off || void 0, disabled: off, onPress: () => pick(o.value), style: [styles39.row, off ? styles39.disabled : null], children: [
4857
- /* @__PURE__ */ jsx53(View47, { style: [styles39.dot, { borderColor: checked ? theme.accent : theme.borderStrong, backgroundColor: checked ? theme.accent : theme.surface1 }], children: checked ? /* @__PURE__ */ jsx53(View47, { style: [styles39.dotIn, { backgroundColor: theme.onAccent }] }) : null }),
4858
- /* @__PURE__ */ jsxs48(View47, { style: styles39.rowText, children: [
4859
- /* @__PURE__ */ jsx53(Text16, { style: [styles39.rowLabel, { color: theme.textPrimary }], children: o.label }),
4860
- o.description ? /* @__PURE__ */ jsx53(Text16, { style: [styles39.cardDescription, { color: theme.textSecondary }], children: o.description }) : null
5350
+ return /* @__PURE__ */ jsxs51(Pressable21, { role: "radio", "aria-checked": checked, "aria-label": name, "aria-disabled": off || void 0, disabled: off, onPress: () => pick(o.value), style: [styles42.row, off ? styles42.disabled : null], children: [
5351
+ /* @__PURE__ */ jsx56(View50, { style: [styles42.dot, { borderColor: checked ? theme.accent : theme.borderStrong, backgroundColor: checked ? theme.accent : theme.surface1 }], children: checked ? /* @__PURE__ */ jsx56(View50, { style: [styles42.dotIn, { backgroundColor: theme.onAccent }] }) : null }),
5352
+ /* @__PURE__ */ jsxs51(View50, { style: styles42.rowText, children: [
5353
+ /* @__PURE__ */ jsx56(Text17, { style: [styles42.rowLabel, { color: theme.textPrimary }], children: o.label }),
5354
+ o.description ? /* @__PURE__ */ jsx56(Text17, { style: [styles42.cardDescription, { color: theme.textSecondary }], children: o.description }) : null
4861
5355
  ] })
4862
5356
  ] }, o.value);
4863
5357
  });
4864
- return /* @__PURE__ */ jsxs48(View47, { style: [styles39.root, style], children: [
4865
- /* @__PURE__ */ jsx53(
4866
- View47,
5358
+ return /* @__PURE__ */ jsxs51(View50, { style: [styles42.root, style], children: [
5359
+ /* @__PURE__ */ jsx56(
5360
+ View50,
4867
5361
  {
4868
5362
  role: "radiogroup",
4869
5363
  "aria-label": label,
4870
- style: variant === "segmented" ? [styles39.track, { borderRadius: radius3.lg, backgroundColor: theme.surface2, borderColor: error ? theme.danger : theme.borderDefault }] : variant === "buttons" ? styles39.keys : variant === "cards" ? styles39.cards : styles39.list,
5364
+ style: variant === "segmented" ? [styles42.track, { borderRadius: radius3.lg, backgroundColor: theme.surface2, borderColor: error ? theme.danger : theme.borderDefault }] : variant === "buttons" ? styles42.keys : variant === "cards" ? styles42.cards : styles42.list,
4871
5365
  children: body
4872
5366
  }
4873
5367
  ),
4874
- error ? /* @__PURE__ */ jsx53(Text16, { role: "alert", "aria-live": "polite", style: [styles39.error, { color: theme.dangerText }], children: error }) : null
5368
+ error ? /* @__PURE__ */ jsx56(Text17, { role: "alert", "aria-live": "polite", style: [styles42.error, { color: theme.dangerText }], children: error }) : null
4875
5369
  ] });
4876
5370
  }
4877
- var styles39 = StyleSheet39.create({
5371
+ var styles42 = StyleSheet42.create({
4878
5372
  root: { gap: 6, alignSelf: "stretch" },
4879
5373
  list: { gap: 2 },
4880
5374
  row: { flexDirection: "row", alignItems: "center", gap: 12, minHeight: 44 },
@@ -4893,39 +5387,39 @@ var styles39 = StyleSheet39.create({
4893
5387
  key: { minHeight: 48, paddingHorizontal: 16, paddingVertical: 8, alignItems: "center", justifyContent: "center", gap: 1, borderWidth: 1 },
4894
5388
  keyLabel: { fontSize: 15, fontWeight: "700" },
4895
5389
  keyHint: { fontSize: 11, fontWeight: "500" },
4896
- track: { flexDirection: "row", padding: 3, gap: 3, borderWidth: StyleSheet39.hairlineWidth, height: 42 },
4897
- segment: { flex: 1, alignItems: "center", justifyContent: "center", paddingHorizontal: 8, borderWidth: StyleSheet39.hairlineWidth, borderColor: "transparent" },
5390
+ track: { flexDirection: "row", padding: 3, gap: 3, borderWidth: StyleSheet42.hairlineWidth, height: 42 },
5391
+ segment: { flex: 1, alignItems: "center", justifyContent: "center", paddingHorizontal: 8, borderWidth: StyleSheet42.hairlineWidth, borderColor: "transparent" },
4898
5392
  segmentLabel: { fontSize: 13, fontWeight: "600" },
4899
5393
  error: { fontSize: 12, lineHeight: 16 },
4900
5394
  disabled: { opacity: 0.4 }
4901
5395
  });
4902
5396
 
4903
5397
  // src/native/screen.tsx
4904
- import { KeyboardAvoidingView, Platform as Platform3, ScrollView as ScrollView6, StyleSheet as StyleSheet40, View as View48 } from "react-native";
4905
- import { Fragment as Fragment8, jsx as jsx54, jsxs as jsxs49 } from "react/jsx-runtime";
5398
+ import { KeyboardAvoidingView, Platform as Platform3, ScrollView as ScrollView6, StyleSheet as StyleSheet43, View as View51 } from "react-native";
5399
+ import { Fragment as Fragment9, jsx as jsx57, jsxs as jsxs52 } from "react/jsx-runtime";
4906
5400
  function Screen({ header, footer, children, scroll = true, keyboard = true, padding = 16, surface = "surface0", contentStyle }) {
4907
5401
  const { theme, insets } = useTheme();
4908
- const body = scroll ? /* @__PURE__ */ jsx54(ScrollView6, { style: styles40.flex, contentContainerStyle: [{ padding, paddingTop: header ? padding : padding + insets.top, gap: 16 }, contentStyle], keyboardShouldPersistTaps: "handled", tabIndex: 0, children }) : /* @__PURE__ */ jsx54(View48, { style: [styles40.flex, { paddingTop: header ? 0 : insets.top }, contentStyle], children });
4909
- const inner = /* @__PURE__ */ jsxs49(Fragment8, { children: [
5402
+ const body = scroll ? /* @__PURE__ */ jsx57(ScrollView6, { style: styles43.flex, contentContainerStyle: [{ padding, paddingTop: header ? padding : padding + insets.top, gap: 16 }, contentStyle], keyboardShouldPersistTaps: "handled", tabIndex: 0, children }) : /* @__PURE__ */ jsx57(View51, { style: [styles43.flex, { paddingTop: header ? 0 : insets.top }, contentStyle], children });
5403
+ const inner = /* @__PURE__ */ jsxs52(Fragment9, { children: [
4910
5404
  header,
4911
5405
  body,
4912
5406
  footer
4913
5407
  ] });
4914
- return /* @__PURE__ */ jsx54(View48, { style: [styles40.flex, { backgroundColor: theme[surface] }], children: keyboard ? /* @__PURE__ */ jsx54(KeyboardAvoidingView, { style: styles40.flex, behavior: Platform3.OS === "ios" ? "padding" : void 0, children: inner }) : inner });
5408
+ return /* @__PURE__ */ jsx57(View51, { style: [styles43.flex, { backgroundColor: theme[surface] }], children: keyboard ? /* @__PURE__ */ jsx57(KeyboardAvoidingView, { style: styles43.flex, behavior: Platform3.OS === "ios" ? "padding" : void 0, children: inner }) : inner });
4915
5409
  }
4916
- var styles40 = StyleSheet40.create({ flex: { flex: 1 } });
5410
+ var styles43 = StyleSheet43.create({ flex: { flex: 1 } });
4917
5411
 
4918
5412
  // src/native/search-field.tsx
4919
5413
  import { useDebouncedCallback } from "@krizaka/pacer/react";
4920
- import * as React35 from "react";
4921
- import { Pressable as Pressable20, StyleSheet as StyleSheet41, TextInput as TextInput6, View as View49 } from "react-native";
4922
- import Svg27, { Circle as Circle16, Path as Path22 } from "react-native-svg";
4923
- import { jsx as jsx55, jsxs as jsxs50 } from "react/jsx-runtime";
5414
+ import * as React38 from "react";
5415
+ import { Pressable as Pressable22, StyleSheet as StyleSheet44, TextInput as TextInput6, View as View52 } from "react-native";
5416
+ import Svg28, { Circle as Circle16, Path as Path23 } from "react-native-svg";
5417
+ import { jsx as jsx58, jsxs as jsxs53 } from "react/jsx-runtime";
4924
5418
  function SearchField({ label, value, defaultValue = "", onValueChange, onSearch, debounce = 300, onSubmit, clearLabel, cancelLabel, onCancel, style, placeholder, onFocus, onBlur, ...props }) {
4925
- const [focused, setFocused] = React35.useState(false);
4926
- const input = React35.useRef(null);
5419
+ const [focused, setFocused] = React38.useState(false);
5420
+ const input = React38.useRef(null);
4927
5421
  const { theme, radius: radius3 } = useTheme();
4928
- const [own, setOwn] = React35.useState(defaultValue);
5422
+ const [own, setOwn] = React38.useState(defaultValue);
4929
5423
  const query = value ?? own;
4930
5424
  const search = useDebouncedCallback((next) => onSearch?.(next), debounce);
4931
5425
  const change = (next) => {
@@ -4934,12 +5428,12 @@ function SearchField({ label, value, defaultValue = "", onValueChange, onSearch,
4934
5428
  search.cancel();
4935
5429
  if (onSearch) search(next);
4936
5430
  };
4937
- const field = /* @__PURE__ */ jsxs50(View49, { style: [styles41.frame, { borderRadius: radius3.md, borderColor: theme.borderDefault, backgroundColor: theme.surface2 }, style], children: [
4938
- /* @__PURE__ */ jsxs50(Svg27, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: theme.textSecondary, strokeWidth: 2, strokeLinecap: "round", "aria-hidden": true, children: [
4939
- /* @__PURE__ */ jsx55(Circle16, { cx: 11, cy: 11, r: 7 }),
4940
- /* @__PURE__ */ jsx55(Path22, { d: "m20 20-3.5-3.5" })
5431
+ const field = /* @__PURE__ */ jsxs53(View52, { style: [styles44.frame, { borderRadius: radius3.md, borderColor: theme.borderDefault, backgroundColor: theme.surface2 }, style], children: [
5432
+ /* @__PURE__ */ jsxs53(Svg28, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: theme.textSecondary, strokeWidth: 2, strokeLinecap: "round", "aria-hidden": true, children: [
5433
+ /* @__PURE__ */ jsx58(Circle16, { cx: 11, cy: 11, r: 7 }),
5434
+ /* @__PURE__ */ jsx58(Path23, { d: "m20 20-3.5-3.5" })
4941
5435
  ] }),
4942
- /* @__PURE__ */ jsx55(
5436
+ /* @__PURE__ */ jsx58(
4943
5437
  TextInput6,
4944
5438
  {
4945
5439
  ref: input,
@@ -4958,7 +5452,7 @@ function SearchField({ label, value, defaultValue = "", onValueChange, onSearch,
4958
5452
  onSearch?.(query);
4959
5453
  onSubmit?.(query);
4960
5454
  },
4961
- style: [styles41.input, { color: theme.textPrimary }],
5455
+ style: [styles44.input, { color: theme.textPrimary }],
4962
5456
  onFocus: (e) => {
4963
5457
  setFocused(true);
4964
5458
  onFocus?.(e);
@@ -4970,13 +5464,13 @@ function SearchField({ label, value, defaultValue = "", onValueChange, onSearch,
4970
5464
  ...props
4971
5465
  }
4972
5466
  ),
4973
- query ? /* @__PURE__ */ jsx55(Pressable20, { role: "button", "aria-label": clearLabel, hitSlop: 10, onPress: () => change(""), style: styles41.clear, children: /* @__PURE__ */ jsx55(Svg27, { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: theme.textSecondary, strokeWidth: 2.4, strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx55(Path22, { d: "M18 6 6 18M6 6l12 12" }) }) }) : null
5467
+ query ? /* @__PURE__ */ jsx58(Pressable22, { role: "button", "aria-label": clearLabel, hitSlop: 10, onPress: () => change(""), style: styles44.clear, children: /* @__PURE__ */ jsx58(Svg28, { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: theme.textSecondary, strokeWidth: 2.4, strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx58(Path23, { d: "M18 6 6 18M6 6l12 12" }) }) }) : null
4974
5468
  ] });
4975
5469
  if (!cancelLabel || !onCancel) return field;
4976
- return /* @__PURE__ */ jsxs50(View49, { style: styles41.bar, children: [
4977
- /* @__PURE__ */ jsx55(View49, { style: styles41.grow, children: field }),
4978
- focused || query ? /* @__PURE__ */ jsx55(
4979
- Pressable20,
5470
+ return /* @__PURE__ */ jsxs53(View52, { style: styles44.bar, children: [
5471
+ /* @__PURE__ */ jsx58(View52, { style: styles44.grow, children: field }),
5472
+ focused || query ? /* @__PURE__ */ jsx58(
5473
+ Pressable22,
4980
5474
  {
4981
5475
  role: "button",
4982
5476
  onPress: () => {
@@ -4985,14 +5479,14 @@ function SearchField({ label, value, defaultValue = "", onValueChange, onSearch,
4985
5479
  onCancel();
4986
5480
  },
4987
5481
  hitSlop: 8,
4988
- style: styles41.cancel,
4989
- children: /* @__PURE__ */ jsx55(Txt, { variant: "label", tone: "accent", children: cancelLabel })
5482
+ style: styles44.cancel,
5483
+ children: /* @__PURE__ */ jsx58(Txt, { variant: "label", tone: "accent", children: cancelLabel })
4990
5484
  }
4991
5485
  ) : null
4992
5486
  ] });
4993
5487
  }
4994
- var styles41 = StyleSheet41.create({
4995
- frame: { flexDirection: "row", alignItems: "center", gap: 8, height: 44, paddingLeft: 12, paddingRight: 6, borderWidth: StyleSheet41.hairlineWidth },
5488
+ var styles44 = StyleSheet44.create({
5489
+ frame: { flexDirection: "row", alignItems: "center", gap: 8, height: 44, paddingLeft: 12, paddingRight: 6, borderWidth: StyleSheet44.hairlineWidth },
4996
5490
  input: { flex: 1, height: "100%", fontSize: 15, paddingVertical: 0 },
4997
5491
  bar: { flexDirection: "row", alignItems: "center", gap: 10 },
4998
5492
  grow: { flex: 1 },
@@ -5001,20 +5495,20 @@ var styles41 = StyleSheet41.create({
5001
5495
  });
5002
5496
 
5003
5497
  // src/native/segmented.tsx
5004
- import { Pressable as Pressable21, StyleSheet as StyleSheet42, Text as Text17, View as View50 } from "react-native";
5005
- import { jsx as jsx56 } from "react/jsx-runtime";
5498
+ import { Pressable as Pressable23, StyleSheet as StyleSheet45, Text as Text18, View as View53 } from "react-native";
5499
+ import { jsx as jsx59 } from "react/jsx-runtime";
5006
5500
  function Segmented({ options, value, onValueChange, size = "md", "aria-label": label, style }) {
5007
5501
  const { theme, radius: radius3 } = useTheme();
5008
- return /* @__PURE__ */ jsx56(
5009
- View50,
5502
+ return /* @__PURE__ */ jsx59(
5503
+ View53,
5010
5504
  {
5011
5505
  role: "tablist",
5012
5506
  "aria-label": label,
5013
- style: [styles42.track, { backgroundColor: theme.surface2, borderColor: theme.borderSubtle, borderRadius: radius3.md, height: size === "sm" ? 32 : 40 }, style],
5507
+ style: [styles45.track, { backgroundColor: theme.surface2, borderColor: theme.borderSubtle, borderRadius: radius3.md, height: size === "sm" ? 32 : 40 }, style],
5014
5508
  children: options.map((option) => {
5015
5509
  const selected = option.value === value;
5016
- return /* @__PURE__ */ jsx56(
5017
- Pressable21,
5510
+ return /* @__PURE__ */ jsx59(
5511
+ Pressable23,
5018
5512
  {
5019
5513
  role: "tab",
5020
5514
  "aria-selected": selected,
@@ -5024,12 +5518,12 @@ function Segmented({ options, value, onValueChange, size = "md", "aria-label": l
5024
5518
  if (!selected) onValueChange(option.value);
5025
5519
  },
5026
5520
  style: [
5027
- styles42.segment,
5521
+ styles45.segment,
5028
5522
  { borderRadius: radius3.sm },
5029
5523
  selected ? { backgroundColor: theme.surface0, borderColor: theme.borderDefault } : null,
5030
- option.disabled ? styles42.disabled : null
5524
+ option.disabled ? styles45.disabled : null
5031
5525
  ],
5032
- children: /* @__PURE__ */ jsx56(Text17, { numberOfLines: 1, style: [styles42.label, { color: selected ? theme.textPrimary : theme.textSecondary, fontSize: size === "sm" ? 12 : 13 }], children: option.label })
5526
+ children: /* @__PURE__ */ jsx59(Text18, { numberOfLines: 1, style: [styles45.label, { color: selected ? theme.textPrimary : theme.textSecondary, fontSize: size === "sm" ? 12 : 13 }], children: option.label })
5033
5527
  },
5034
5528
  option.value
5035
5529
  );
@@ -5037,62 +5531,62 @@ function Segmented({ options, value, onValueChange, size = "md", "aria-label": l
5037
5531
  }
5038
5532
  );
5039
5533
  }
5040
- var styles42 = StyleSheet42.create({
5041
- track: { flexDirection: "row", padding: 3, gap: 3, borderWidth: StyleSheet42.hairlineWidth },
5042
- segment: { flex: 1, alignItems: "center", justifyContent: "center", paddingHorizontal: 8, borderWidth: StyleSheet42.hairlineWidth, borderColor: "transparent" },
5534
+ var styles45 = StyleSheet45.create({
5535
+ track: { flexDirection: "row", padding: 3, gap: 3, borderWidth: StyleSheet45.hairlineWidth },
5536
+ segment: { flex: 1, alignItems: "center", justifyContent: "center", paddingHorizontal: 8, borderWidth: StyleSheet45.hairlineWidth, borderColor: "transparent" },
5043
5537
  label: { fontWeight: "600" },
5044
5538
  disabled: { opacity: 0.4 }
5045
5539
  });
5046
5540
 
5047
5541
  // src/native/settings-layout.tsx
5048
- import * as React36 from "react";
5049
- import { Pressable as Pressable22, StyleSheet as StyleSheet43, View as View51 } from "react-native";
5050
- import Svg28, { Path as Path23 } from "react-native-svg";
5051
- import { Fragment as Fragment10, jsx as jsx57, jsxs as jsxs51 } from "react/jsx-runtime";
5542
+ import * as React39 from "react";
5543
+ import { Pressable as Pressable24, StyleSheet as StyleSheet46, View as View54 } from "react-native";
5544
+ import Svg29, { Path as Path24 } from "react-native-svg";
5545
+ import { Fragment as Fragment11, jsx as jsx60, jsxs as jsxs54 } from "react/jsx-runtime";
5052
5546
  function SettingsRow({ label, description, icon, value, trailing, onPress, destructive, accessibilityLabel, disabled }) {
5053
5547
  const { theme } = useTheme();
5054
- const body = /* @__PURE__ */ jsxs51(Fragment10, { children: [
5055
- icon ? /* @__PURE__ */ jsx57(View51, { style: [styles43.tile, { backgroundColor: theme.surface3 }], children: icon }) : null,
5056
- /* @__PURE__ */ jsxs51(View51, { style: styles43.text, children: [
5057
- /* @__PURE__ */ jsx57(Txt, { variant: "body", tone: destructive ? "danger" : "text", children: label }),
5058
- description ? /* @__PURE__ */ jsx57(Txt, { variant: "caption", tone: "secondary", children: description }) : null
5548
+ const body = /* @__PURE__ */ jsxs54(Fragment11, { children: [
5549
+ icon ? /* @__PURE__ */ jsx60(View54, { style: [styles46.tile, { backgroundColor: theme.surface3 }], children: icon }) : null,
5550
+ /* @__PURE__ */ jsxs54(View54, { style: styles46.text, children: [
5551
+ /* @__PURE__ */ jsx60(Txt, { variant: "body", tone: destructive ? "danger" : "text", children: label }),
5552
+ description ? /* @__PURE__ */ jsx60(Txt, { variant: "caption", tone: "secondary", children: description }) : null
5059
5553
  ] }),
5060
- value ? /* @__PURE__ */ jsx57(Txt, { variant: "caption", tone: "secondary", numberOfLines: 1, style: styles43.value, children: value }) : null,
5554
+ value ? /* @__PURE__ */ jsx60(Txt, { variant: "caption", tone: "secondary", numberOfLines: 1, style: styles46.value, children: value }) : null,
5061
5555
  trailing,
5062
- onPress && !trailing ? /* @__PURE__ */ jsx57(Svg28, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx57(Path23, { d: "m9 6 6 6-6 6", fill: "none", stroke: theme.textMuted, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" }) }) : null
5556
+ onPress && !trailing ? /* @__PURE__ */ jsx60(Svg29, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx60(Path24, { d: "m9 6 6 6-6 6", fill: "none", stroke: theme.textMuted, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" }) }) : null
5063
5557
  ] });
5064
5558
  if (onPress && !trailing) {
5065
- return /* @__PURE__ */ jsx57(
5066
- Pressable22,
5559
+ return /* @__PURE__ */ jsx60(
5560
+ Pressable24,
5067
5561
  {
5068
5562
  role: "button",
5069
5563
  accessibilityLabel,
5070
5564
  accessibilityState: { disabled: !!disabled },
5071
5565
  disabled,
5072
5566
  onPress,
5073
- style: ({ pressed }) => [styles43.row, pressed ? { backgroundColor: theme.surface2 } : null, disabled ? styles43.disabled : null],
5567
+ style: ({ pressed }) => [styles46.row, pressed ? { backgroundColor: theme.surface2 } : null, disabled ? styles46.disabled : null],
5074
5568
  children: body
5075
5569
  }
5076
5570
  );
5077
5571
  }
5078
- return /* @__PURE__ */ jsx57(View51, { accessible: !trailing, accessibilityLabel: trailing ? void 0 : accessibilityLabel, style: [styles43.row, disabled ? styles43.disabled : null], children: body });
5572
+ return /* @__PURE__ */ jsx60(View54, { accessible: !trailing, accessibilityLabel: trailing ? void 0 : accessibilityLabel, style: [styles46.row, disabled ? styles46.disabled : null], children: body });
5079
5573
  }
5080
5574
  function SettingsGroup({ title, children, style, ...props }) {
5081
5575
  const { theme } = useTheme();
5082
- const rows = React36.Children.toArray(children).filter(Boolean);
5083
- return /* @__PURE__ */ jsxs51(View51, { ...props, style: [styles43.group, style], children: [
5084
- title ? /* @__PURE__ */ jsx57(Txt, { variant: "caption", tone: "muted", role: "heading", style: styles43.title, children: title }) : null,
5085
- /* @__PURE__ */ jsx57(View51, { style: [styles43.card, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle }], children: rows.map((row, i) => /* @__PURE__ */ jsxs51(React36.Fragment, { children: [
5086
- i > 0 ? /* @__PURE__ */ jsx57(View51, { style: [styles43.hairline, { backgroundColor: theme.borderSubtle }] }) : null,
5576
+ const rows = React39.Children.toArray(children).filter(Boolean);
5577
+ return /* @__PURE__ */ jsxs54(View54, { ...props, style: [styles46.group, style], children: [
5578
+ title ? /* @__PURE__ */ jsx60(Txt, { variant: "caption", tone: "muted", role: "heading", style: styles46.title, children: title }) : null,
5579
+ /* @__PURE__ */ jsx60(View54, { style: [styles46.card, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle }], children: rows.map((row, i) => /* @__PURE__ */ jsxs54(React39.Fragment, { children: [
5580
+ i > 0 ? /* @__PURE__ */ jsx60(View54, { style: [styles46.hairline, { backgroundColor: theme.borderSubtle }] }) : null,
5087
5581
  row
5088
5582
  ] }, i)) })
5089
5583
  ] });
5090
5584
  }
5091
- var styles43 = StyleSheet43.create({
5585
+ var styles46 = StyleSheet46.create({
5092
5586
  group: { rowGap: 8 },
5093
5587
  title: { textTransform: "uppercase", letterSpacing: 0.6, fontWeight: "700", paddingHorizontal: 4 },
5094
- card: { borderWidth: StyleSheet43.hairlineWidth, borderRadius: 16, overflow: "hidden" },
5095
- hairline: { height: StyleSheet43.hairlineWidth, marginLeft: 16 },
5588
+ card: { borderWidth: StyleSheet46.hairlineWidth, borderRadius: 16, overflow: "hidden" },
5589
+ hairline: { height: StyleSheet46.hairlineWidth, marginLeft: 16 },
5096
5590
  row: { minHeight: 52, flexDirection: "row", alignItems: "center", columnGap: 12, paddingHorizontal: 16, paddingVertical: 10 },
5097
5591
  tile: { width: 32, height: 32, borderRadius: 8, alignItems: "center", justifyContent: "center" },
5098
5592
  text: { flex: 1, rowGap: 2 },
@@ -5101,10 +5595,10 @@ var styles43 = StyleSheet43.create({
5101
5595
  });
5102
5596
 
5103
5597
  // src/native/showcase.tsx
5104
- import * as React37 from "react";
5105
- import { Animated as Animated21, AppState, Easing as Easing12, FlatList, Pressable as Pressable23, StyleSheet as StyleSheet44, View as View52 } from "react-native";
5106
- import Svg29, { Path as Path24 } from "react-native-svg";
5107
- import { jsx as jsx58, jsxs as jsxs52 } from "react/jsx-runtime";
5598
+ import * as React40 from "react";
5599
+ import { Animated as Animated22, AppState, Easing as Easing12, FlatList, Pressable as Pressable25, StyleSheet as StyleSheet47, View as View55 } from "react-native";
5600
+ import Svg30, { Path as Path25 } from "react-native-svg";
5601
+ import { jsx as jsx61, jsxs as jsxs55 } from "react/jsx-runtime";
5108
5602
  var showcaseLabels = {
5109
5603
  previous: "Previous slide",
5110
5604
  next: "Next slide",
@@ -5118,16 +5612,16 @@ function Showcase({ label, items: items2, getId, renderItem, getTitle, interval
5118
5612
  const { theme } = useTheme();
5119
5613
  const reduced = useReducedMotion();
5120
5614
  const total = items2.length;
5121
- const [current, setCurrent] = React37.useState(0);
5122
- const [width, setWidth] = React37.useState(0);
5123
- const [paused, setPaused] = React37.useState(false);
5124
- const [dragging, setDragging] = React37.useState(false);
5125
- const [background, setBackground] = React37.useState(false);
5126
- const [announce, setAnnounce] = React37.useState(false);
5127
- const list = React37.useRef(null);
5128
- const [fill] = React37.useState(() => new Animated21.Value(0));
5129
- const progress = React37.useRef(0);
5130
- React37.useEffect(() => {
5615
+ const [current, setCurrent] = React40.useState(0);
5616
+ const [width, setWidth] = React40.useState(0);
5617
+ const [paused, setPaused] = React40.useState(false);
5618
+ const [dragging, setDragging] = React40.useState(false);
5619
+ const [background, setBackground] = React40.useState(false);
5620
+ const [announce, setAnnounce] = React40.useState(false);
5621
+ const list = React40.useRef(null);
5622
+ const [fill] = React40.useState(() => new Animated22.Value(0));
5623
+ const progress = React40.useRef(0);
5624
+ React40.useEffect(() => {
5131
5625
  const id = fill.addListener(({ value }) => {
5132
5626
  progress.current = value;
5133
5627
  });
@@ -5148,13 +5642,13 @@ function Showcase({ label, items: items2, getId, renderItem, getTitle, interval
5148
5642
  };
5149
5643
  const playing = autoplay && !reduced && total > 1;
5150
5644
  const running = playing && !paused && !dragging && !background && !(!loop && current === total - 1);
5151
- React37.useEffect(() => {
5645
+ React40.useEffect(() => {
5152
5646
  fill.setValue(0);
5153
5647
  progress.current = 0;
5154
5648
  }, [current, fill]);
5155
- React37.useEffect(() => {
5649
+ React40.useEffect(() => {
5156
5650
  if (!running) return;
5157
- const animation = Animated21.timing(fill, { toValue: 1, duration: Math.max(1, interval * (1 - progress.current)), easing: Easing12.linear, useNativeDriver: false });
5651
+ const animation = Animated22.timing(fill, { toValue: 1, duration: Math.max(1, interval * (1 - progress.current)), easing: Easing12.linear, useNativeDriver: false });
5158
5652
  animation.start(({ finished }) => {
5159
5653
  if (finished) go(current + 1, false);
5160
5654
  });
@@ -5162,10 +5656,10 @@ function Showcase({ label, items: items2, getId, renderItem, getTitle, interval
5162
5656
  }, [running, current, interval]);
5163
5657
  const item = items2[current];
5164
5658
  const title = item !== void 0 ? getTitle?.(item) : void 0;
5165
- const control = [styles44.control, { borderColor: theme.borderDefault, backgroundColor: theme.surface1 }];
5166
- const icon = (d) => /* @__PURE__ */ jsx58(Svg29, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx58(Path24, { d, stroke: theme.textSecondary, strokeWidth: 2.2, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) });
5167
- return /* @__PURE__ */ jsxs52(View52, { role: "group", "aria-label": label, style: [styles44.root, style], children: [
5168
- /* @__PURE__ */ jsx58(View52, { "aria-live": announce ? "polite" : "off", onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: /* @__PURE__ */ jsx58(
5659
+ const control = [styles47.control, { borderColor: theme.borderDefault, backgroundColor: theme.surface1 }];
5660
+ const icon = (d) => /* @__PURE__ */ jsx61(Svg30, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx61(Path25, { d, stroke: theme.textSecondary, strokeWidth: 2.2, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) });
5661
+ return /* @__PURE__ */ jsxs55(View55, { role: "group", "aria-label": label, style: [styles47.root, style], children: [
5662
+ /* @__PURE__ */ jsx61(View55, { "aria-live": announce ? "polite" : "off", onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: /* @__PURE__ */ jsx61(
5169
5663
  FlatList,
5170
5664
  {
5171
5665
  ref: list,
@@ -5186,25 +5680,25 @@ function Showcase({ label, items: items2, getId, renderItem, getTitle, interval
5186
5680
  onIndexChange?.(next, true);
5187
5681
  }
5188
5682
  },
5189
- renderItem: ({ item: slide, index }) => /* @__PURE__ */ jsx58(View52, { role: "group", "aria-label": labels.slide(index + 1, total), style: { width }, children: Math.abs(index - current) <= 1 ? renderItem(slide, { index, active: index === current }) : null })
5683
+ renderItem: ({ item: slide, index }) => /* @__PURE__ */ jsx61(View55, { role: "group", "aria-label": labels.slide(index + 1, total), style: { width }, children: Math.abs(index - current) <= 1 ? renderItem(slide, { index, active: index === current }) : null })
5190
5684
  }
5191
5685
  ) }),
5192
- /* @__PURE__ */ jsx58(View52, { style: styles44.segments, children: items2.map((slide, i) => /* @__PURE__ */ jsx58(Pressable23, { role: "button", "aria-label": labels.goTo(i + 1, total), "aria-current": i === current ? true : void 0, onPress: () => go(i, true), style: styles44.segment, children: /* @__PURE__ */ jsxs52(View52, { style: [styles44.track, { backgroundColor: theme.surface3 }], children: [
5193
- i < current || i === current && !playing ? /* @__PURE__ */ jsx58(View52, { style: [StyleSheet44.absoluteFill, { backgroundColor: theme.accent }] }) : null,
5194
- i === current && playing ? /* @__PURE__ */ jsx58(Animated21.View, { style: [styles44.fill, { backgroundColor: theme.accent, width: fill.interpolate({ inputRange: [0, 1], outputRange: ["0%", "100%"] }) }] }) : null
5686
+ /* @__PURE__ */ jsx61(View55, { style: styles47.segments, children: items2.map((slide, i) => /* @__PURE__ */ jsx61(Pressable25, { role: "button", "aria-label": labels.goTo(i + 1, total), "aria-current": i === current ? true : void 0, onPress: () => go(i, true), style: styles47.segment, children: /* @__PURE__ */ jsxs55(View55, { style: [styles47.track, { backgroundColor: theme.surface3 }], children: [
5687
+ i < current || i === current && !playing ? /* @__PURE__ */ jsx61(View55, { style: [StyleSheet47.absoluteFill, { backgroundColor: theme.accent }] }) : null,
5688
+ i === current && playing ? /* @__PURE__ */ jsx61(Animated22.View, { style: [styles47.fill, { backgroundColor: theme.accent, width: fill.interpolate({ inputRange: [0, 1], outputRange: ["0%", "100%"] }) }] }) : null
5195
5689
  ] }) }, getId(slide))) }),
5196
- /* @__PURE__ */ jsxs52(View52, { style: styles44.bar, children: [
5197
- /* @__PURE__ */ jsxs52(Txt, { variant: "caption", tone: "secondary", numberOfLines: 1, style: styles44.counter, children: [
5690
+ /* @__PURE__ */ jsxs55(View55, { style: styles47.bar, children: [
5691
+ /* @__PURE__ */ jsxs55(Txt, { variant: "caption", tone: "secondary", numberOfLines: 1, style: styles47.counter, children: [
5198
5692
  title ? `${title} \xB7 ` : "",
5199
5693
  labels.counter(current + 1, total)
5200
5694
  ] }),
5201
- /* @__PURE__ */ jsx58(Pressable23, { role: "button", "aria-label": labels.previous, disabled: !loop && current === 0, hitSlop: 6, onPress: () => go(current - 1, true), style: control, children: icon("M15 5l-7 7 7 7") }),
5202
- playing ? /* @__PURE__ */ jsx58(Pressable23, { role: "button", "aria-label": paused ? labels.play : labels.pause, hitSlop: 6, onPress: () => setPaused(!paused), style: control, children: icon(paused ? "M8 5.5v13l10-6.5Z" : "M8 5v14M16 5v14") }) : null,
5203
- /* @__PURE__ */ jsx58(Pressable23, { role: "button", "aria-label": labels.next, disabled: !loop && current === total - 1, hitSlop: 6, onPress: () => go(current + 1, true), style: control, children: icon("M9 5l7 7-7 7") })
5695
+ /* @__PURE__ */ jsx61(Pressable25, { role: "button", "aria-label": labels.previous, disabled: !loop && current === 0, hitSlop: 6, onPress: () => go(current - 1, true), style: control, children: icon("M15 5l-7 7 7 7") }),
5696
+ playing ? /* @__PURE__ */ jsx61(Pressable25, { role: "button", "aria-label": paused ? labels.play : labels.pause, hitSlop: 6, onPress: () => setPaused(!paused), style: control, children: icon(paused ? "M8 5.5v13l10-6.5Z" : "M8 5v14M16 5v14") }) : null,
5697
+ /* @__PURE__ */ jsx61(Pressable25, { role: "button", "aria-label": labels.next, disabled: !loop && current === total - 1, hitSlop: 6, onPress: () => go(current + 1, true), style: control, children: icon("M9 5l7 7-7 7") })
5204
5698
  ] })
5205
5699
  ] });
5206
5700
  }
5207
- var styles44 = StyleSheet44.create({
5701
+ var styles47 = StyleSheet47.create({
5208
5702
  root: { gap: 8 },
5209
5703
  segments: { flexDirection: "row", gap: 4 },
5210
5704
  segment: { flex: 1, height: 24, justifyContent: "center" },
@@ -5216,9 +5710,9 @@ var styles44 = StyleSheet44.create({
5216
5710
  });
5217
5711
 
5218
5712
  // src/native/skeleton.tsx
5219
- import * as React38 from "react";
5220
- import { Animated as Animated22 } from "react-native";
5221
- import { jsx as jsx59 } from "react/jsx-runtime";
5713
+ import * as React41 from "react";
5714
+ import { Animated as Animated23 } from "react-native";
5715
+ import { jsx as jsx62 } from "react/jsx-runtime";
5222
5716
  var SHAPE = {
5223
5717
  text: { width: "100%", height: 12, radius: 4 },
5224
5718
  circle: { width: 40, height: 40, radius: 9999 },
@@ -5227,13 +5721,13 @@ var SHAPE = {
5227
5721
  function Skeleton({ shape = "text", width, height, style, testID }) {
5228
5722
  const { theme } = useTheme();
5229
5723
  const reduce = useReducedMotion();
5230
- const [opacity] = React38.useState(() => new Animated22.Value(1));
5231
- React38.useEffect(() => {
5724
+ const [opacity] = React41.useState(() => new Animated23.Value(1));
5725
+ React41.useEffect(() => {
5232
5726
  if (reduce) return;
5233
- const loop = Animated22.loop(
5234
- Animated22.sequence([
5235
- Animated22.timing(opacity, { toValue: 0.5, duration: 900, useNativeDriver: true }),
5236
- Animated22.timing(opacity, { toValue: 1, duration: 900, useNativeDriver: true })
5727
+ const loop = Animated23.loop(
5728
+ Animated23.sequence([
5729
+ Animated23.timing(opacity, { toValue: 0.5, duration: 900, useNativeDriver: true }),
5730
+ Animated23.timing(opacity, { toValue: 1, duration: 900, useNativeDriver: true })
5237
5731
  ])
5238
5732
  );
5239
5733
  loop.start();
@@ -5244,8 +5738,8 @@ function Skeleton({ shape = "text", width, height, style, testID }) {
5244
5738
  }, [reduce, opacity]);
5245
5739
  const s = SHAPE[shape];
5246
5740
  const side = shape === "circle" ? width ?? height ?? s.width : void 0;
5247
- return /* @__PURE__ */ jsx59(
5248
- Animated22.View,
5741
+ return /* @__PURE__ */ jsx62(
5742
+ Animated23.View,
5249
5743
  {
5250
5744
  testID,
5251
5745
  "aria-hidden": true,
@@ -5258,10 +5752,10 @@ function Skeleton({ shape = "text", width, height, style, testID }) {
5258
5752
  }
5259
5753
 
5260
5754
  // src/native/slider.tsx
5261
- import * as React39 from "react";
5262
- import { PanResponder as PanResponder2, StyleSheet as StyleSheet45, Text as Text18, View as View53 } from "react-native";
5263
- import Svg30, { Defs as Defs15, LinearGradient as LinearGradient12, Rect as Rect5, Stop as Stop15 } from "react-native-svg";
5264
- import { jsx as jsx60, jsxs as jsxs53 } from "react/jsx-runtime";
5755
+ import * as React42 from "react";
5756
+ import { PanResponder as PanResponder2, StyleSheet as StyleSheet48, Text as Text19, View as View56 } from "react-native";
5757
+ import Svg31, { Defs as Defs15, LinearGradient as LinearGradient12, Rect as Rect5, Stop as Stop15 } from "react-native-svg";
5758
+ import { jsx as jsx63, jsxs as jsxs56 } from "react/jsx-runtime";
5265
5759
  var THUMB = 26;
5266
5760
  var toArray = (v) => v === void 0 ? void 0 : typeof v === "number" ? [v] : [...v];
5267
5761
  function Slider({
@@ -5287,25 +5781,25 @@ function Slider({
5287
5781
  const { theme, radius: radius3, haptic } = useTheme();
5288
5782
  const range = Array.isArray(value ?? defaultValue);
5289
5783
  const vertical = orientation === "vertical";
5290
- const [inner, setInner] = React39.useState(() => toArray(defaultValue) ?? [min]);
5784
+ const [inner, setInner] = React42.useState(() => toArray(defaultValue) ?? [min]);
5291
5785
  const current = toArray(value) ?? inner;
5292
- const [length, setLength] = React39.useState(0);
5293
- const [dragging, setDragging] = React39.useState(null);
5786
+ const [length, setLength] = React42.useState(0);
5787
+ const [dragging, setDragging] = React42.useState(null);
5294
5788
  const gradientId = useSvgId("kzs");
5295
5789
  const out = (next) => range ? [next[0], next[1]] : next[0];
5296
5790
  const snap = (v) => Math.min(max, Math.max(min, Math.round((v - min) / step) * step + min));
5297
5791
  const pct = (v) => (v - min) / (max - min || 1);
5298
- const live = React39.useRef({ current, length, vertical, disabled });
5299
- React39.useLayoutEffect(() => {
5792
+ const live = React42.useRef({ current, length, vertical, disabled });
5793
+ React42.useLayoutEffect(() => {
5300
5794
  live.current = { current, length, vertical, disabled };
5301
5795
  });
5302
- const active = React39.useRef(0);
5303
- const start = React39.useRef(0);
5796
+ const active = React42.useRef(0);
5797
+ const start = React42.useRef(0);
5304
5798
  const set = (next) => {
5305
5799
  if (value === void 0) setInner(next);
5306
5800
  onValueChange?.(out(next));
5307
5801
  };
5308
- const move = (thumb, to) => {
5802
+ const move2 = (thumb, to) => {
5309
5803
  const now = live.current.current;
5310
5804
  let v = snap(to);
5311
5805
  if (now.length === 2) v = thumb === 0 ? Math.min(v, now[1]) : Math.max(v, now[0]);
@@ -5321,11 +5815,11 @@ function Slider({
5321
5815
  return min + p * (max - min);
5322
5816
  };
5323
5817
  const commit = () => onValueCommit?.(out(live.current.current));
5324
- const handlers = React39.useRef({ move, at, commit });
5325
- React39.useLayoutEffect(() => {
5326
- handlers.current = { move, at, commit };
5818
+ const handlers = React42.useRef({ move: move2, at, commit });
5819
+ React42.useLayoutEffect(() => {
5820
+ handlers.current = { move: move2, at, commit };
5327
5821
  });
5328
- const [responder] = React39.useState(
5822
+ const [responder] = React42.useState(
5329
5823
  () => PanResponder2.create({
5330
5824
  onStartShouldSetPanResponder: () => !live.current.disabled,
5331
5825
  onMoveShouldSetPanResponder: () => !live.current.disabled,
@@ -5353,24 +5847,24 @@ function Slider({
5353
5847
  const along = (p) => vertical ? { bottom: p * length } : { left: p * length };
5354
5848
  const onLayout = (e) => setLength(vertical ? e.nativeEvent.layout.height : e.nativeEvent.layout.width);
5355
5849
  const fill = vertical ? { bottom: pct(lo) * length, height: (pct(hi) - pct(lo)) * length, left: 0, right: 0 } : { left: pct(lo) * length, width: (pct(hi) - pct(lo)) * length, top: 0, bottom: 0 };
5356
- return /* @__PURE__ */ jsxs53(View53, { style: [styles45.root, vertical ? styles45.rootVertical : null, disabled ? styles45.disabled : null, style], children: [
5357
- showLabel ? /* @__PURE__ */ jsxs53(View53, { style: styles45.header, children: [
5358
- /* @__PURE__ */ jsx60(Text18, { style: [styles45.label, { color: theme.textSecondary }], children: label }),
5359
- /* @__PURE__ */ jsx60(Text18, { "aria-hidden": true, style: [styles45.value, { color: theme.textSecondary }], children: current.map(formatValue).join(" \u2013 ") })
5850
+ return /* @__PURE__ */ jsxs56(View56, { style: [styles48.root, vertical ? styles48.rootVertical : null, disabled ? styles48.disabled : null, style], children: [
5851
+ showLabel ? /* @__PURE__ */ jsxs56(View56, { style: styles48.header, children: [
5852
+ /* @__PURE__ */ jsx63(Text19, { style: [styles48.label, { color: theme.textSecondary }], children: label }),
5853
+ /* @__PURE__ */ jsx63(Text19, { "aria-hidden": true, style: [styles48.value, { color: theme.textSecondary }], children: current.map(formatValue).join(" \u2013 ") })
5360
5854
  ] }) : null,
5361
- /* @__PURE__ */ jsxs53(View53, { ...responder.panHandlers, style: vertical ? styles45.controlVertical : styles45.control, children: [
5362
- /* @__PURE__ */ jsxs53(View53, { onLayout, pointerEvents: "none", style: [vertical ? styles45.trackVertical : styles45.track, { borderRadius: radius3.full, backgroundColor: theme.surface3 }], children: [
5363
- /* @__PURE__ */ jsx60(View53, { style: [styles45.fill, fill, { borderRadius: radius3.full, overflow: "hidden", backgroundColor: theme.accent }], children: tone3 === "gradient" ? /* @__PURE__ */ jsxs53(Svg30, { width: "100%", height: "100%", "aria-hidden": true, children: [
5364
- /* @__PURE__ */ jsx60(Defs15, { children: /* @__PURE__ */ jsxs53(LinearGradient12, { id: gradientId, x1: "0", y1: vertical ? "1" : "0", x2: vertical ? "0" : "1", y2: "0", children: [
5365
- /* @__PURE__ */ jsx60(Stop15, { offset: "0", stopColor: theme.accent }),
5366
- /* @__PURE__ */ jsx60(Stop15, { offset: "1", stopColor: theme.accent2 })
5855
+ /* @__PURE__ */ jsxs56(View56, { ...responder.panHandlers, style: vertical ? styles48.controlVertical : styles48.control, children: [
5856
+ /* @__PURE__ */ jsxs56(View56, { onLayout, pointerEvents: "none", style: [vertical ? styles48.trackVertical : styles48.track, { borderRadius: radius3.full, backgroundColor: theme.surface3 }], children: [
5857
+ /* @__PURE__ */ jsx63(View56, { style: [styles48.fill, fill, { borderRadius: radius3.full, overflow: "hidden", backgroundColor: theme.accent }], children: tone3 === "gradient" ? /* @__PURE__ */ jsxs56(Svg31, { width: "100%", height: "100%", "aria-hidden": true, children: [
5858
+ /* @__PURE__ */ jsx63(Defs15, { children: /* @__PURE__ */ jsxs56(LinearGradient12, { id: gradientId, x1: "0", y1: vertical ? "1" : "0", x2: vertical ? "0" : "1", y2: "0", children: [
5859
+ /* @__PURE__ */ jsx63(Stop15, { offset: "0", stopColor: theme.accent }),
5860
+ /* @__PURE__ */ jsx63(Stop15, { offset: "1", stopColor: theme.accent2 })
5367
5861
  ] }) }),
5368
- /* @__PURE__ */ jsx60(Rect5, { width: "100%", height: "100%", fill: `url(#${gradientId})` })
5862
+ /* @__PURE__ */ jsx63(Rect5, { width: "100%", height: "100%", fill: `url(#${gradientId})` })
5369
5863
  ] }) : null }),
5370
- tickValues.map((t) => /* @__PURE__ */ jsx60(View53, { style: [vertical ? styles45.tickVertical : styles45.tick, along(pct(t)), { backgroundColor: t > lo && t < hi ? theme.onAccent : theme.borderStrong }] }, t))
5864
+ tickValues.map((t) => /* @__PURE__ */ jsx63(View56, { style: [vertical ? styles48.tickVertical : styles48.tick, along(pct(t)), { backgroundColor: t > lo && t < hi ? theme.onAccent : theme.borderStrong }] }, t))
5371
5865
  ] }),
5372
- current.map((v, i) => /* @__PURE__ */ jsx60(
5373
- View53,
5866
+ current.map((v, i) => /* @__PURE__ */ jsx63(
5867
+ View56,
5374
5868
  {
5375
5869
  accessible: true,
5376
5870
  role: "slider",
@@ -5383,22 +5877,22 @@ function Slider({
5383
5877
  accessibilityActions: [{ name: "increment" }, { name: "decrement" }],
5384
5878
  onAccessibilityAction: (e) => {
5385
5879
  const next = snap(v + (e.nativeEvent.actionName === "increment" ? step : -step));
5386
- move(i, next);
5880
+ move2(i, next);
5387
5881
  const values = [...current];
5388
5882
  values[i] = next;
5389
5883
  onValueCommit?.(out(values));
5390
5884
  },
5391
5885
  pointerEvents: "none",
5392
- style: [styles45.thumb, vertical ? { bottom: pct(v) * length, left: (44 - THUMB) / 2, marginLeft: 0, marginTop: 0 } : { left: pct(v) * length - THUMB / 2, top: 0 }, { borderColor: theme.accent, backgroundColor: theme.textOnMedia, shadowColor: theme.scrimStrong }],
5393
- children: floatingValue === "always" || floatingValue && dragging === i ? /* @__PURE__ */ jsx60(View53, { "aria-hidden": true, style: [vertical ? styles45.bubbleVertical : styles45.bubble, { backgroundColor: theme.textPrimary, borderRadius: radius3.md }], children: /* @__PURE__ */ jsx60(Text18, { style: [styles45.bubbleText, { color: theme.surface0 }], children: formatValue(v) }) }) : null
5886
+ style: [styles48.thumb, vertical ? { bottom: pct(v) * length, left: (44 - THUMB) / 2, marginLeft: 0, marginTop: 0 } : { left: pct(v) * length - THUMB / 2, top: 0 }, { borderColor: theme.accent, backgroundColor: theme.textOnMedia, shadowColor: theme.scrimStrong }],
5887
+ children: floatingValue === "always" || floatingValue && dragging === i ? /* @__PURE__ */ jsx63(View56, { "aria-hidden": true, style: [vertical ? styles48.bubbleVertical : styles48.bubble, { backgroundColor: theme.textPrimary, borderRadius: radius3.md }], children: /* @__PURE__ */ jsx63(Text19, { style: [styles48.bubbleText, { color: theme.surface0 }], children: formatValue(v) }) }) : null
5394
5888
  },
5395
5889
  i
5396
5890
  ))
5397
5891
  ] }),
5398
- marks2?.length && !vertical ? /* @__PURE__ */ jsx60(View53, { "aria-hidden": true, style: styles45.marks, children: marks2.map((m) => /* @__PURE__ */ jsx60(Text18, { style: [styles45.mark, { left: pct(m.value) * length, color: theme.textSecondary, transform: [{ translateX: m.value === min ? 0 : m.value === max ? -40 : -20 }], textAlign: m.value === min ? "left" : m.value === max ? "right" : "center" }], children: m.label }, m.value)) }) : null
5892
+ marks2?.length && !vertical ? /* @__PURE__ */ jsx63(View56, { "aria-hidden": true, style: styles48.marks, children: marks2.map((m) => /* @__PURE__ */ jsx63(Text19, { style: [styles48.mark, { left: pct(m.value) * length, color: theme.textSecondary, transform: [{ translateX: m.value === min ? 0 : m.value === max ? -40 : -20 }], textAlign: m.value === min ? "left" : m.value === max ? "right" : "center" }], children: m.label }, m.value)) }) : null
5399
5893
  ] });
5400
5894
  }
5401
- var styles45 = StyleSheet45.create({
5895
+ var styles48 = StyleSheet48.create({
5402
5896
  root: { gap: 8, alignSelf: "stretch" },
5403
5897
  rootVertical: { alignSelf: "flex-start", alignItems: "center" },
5404
5898
  header: { flexDirection: "row", justifyContent: "space-between", alignItems: "baseline", gap: 12 },
@@ -5434,10 +5928,10 @@ var styles45 = StyleSheet45.create({
5434
5928
 
5435
5929
  // src/native/spinner.tsx
5436
5930
  import { ActivityIndicator as ActivityIndicator2 } from "react-native";
5437
- import { jsx as jsx61 } from "react/jsx-runtime";
5931
+ import { jsx as jsx64 } from "react/jsx-runtime";
5438
5932
  function Spinner({ label, size = "md", ...props }) {
5439
5933
  const { theme } = useTheme();
5440
- return /* @__PURE__ */ jsx61(
5934
+ return /* @__PURE__ */ jsx64(
5441
5935
  ActivityIndicator2,
5442
5936
  {
5443
5937
  accessible: true,
@@ -5452,17 +5946,17 @@ function Spinner({ label, size = "md", ...props }) {
5452
5946
  }
5453
5947
 
5454
5948
  // src/native/splash-handoff.tsx
5455
- import * as React40 from "react";
5456
- import { Animated as Animated23, Easing as Easing13, StyleSheet as StyleSheet46, View as View54 } from "react-native";
5457
- import { jsx as jsx62 } from "react/jsx-runtime";
5949
+ import * as React43 from "react";
5950
+ import { Animated as Animated24, Easing as Easing13, StyleSheet as StyleSheet49, View as View57 } from "react-native";
5951
+ import { jsx as jsx65 } from "react/jsx-runtime";
5458
5952
  function SplashHandoff({ product, ready, onShown, onDone, size = 96, background, label, duration = 320, style }) {
5459
5953
  const { theme } = useTheme();
5460
5954
  const reduce = useReducedMotion();
5461
- const [opacity] = React40.useState(() => new Animated23.Value(1));
5462
- const [gone, setGone] = React40.useState(false);
5463
- React40.useEffect(() => {
5955
+ const [opacity] = React43.useState(() => new Animated24.Value(1));
5956
+ const [gone, setGone] = React43.useState(false);
5957
+ React43.useEffect(() => {
5464
5958
  if (!ready) return;
5465
- const animation = Animated23.timing(opacity, { toValue: 0, duration: reduce ? 0 : duration, easing: Easing13.out(Easing13.ease), useNativeDriver: true });
5959
+ const animation = Animated24.timing(opacity, { toValue: 0, duration: reduce ? 0 : duration, easing: Easing13.out(Easing13.ease), useNativeDriver: true });
5466
5960
  animation.start(({ finished }) => {
5467
5961
  if (finished) {
5468
5962
  setGone(true);
@@ -5472,8 +5966,8 @@ function SplashHandoff({ product, ready, onShown, onDone, size = 96, background,
5472
5966
  return () => animation.stop();
5473
5967
  }, [ready, reduce, duration, opacity, onDone]);
5474
5968
  if (gone) return null;
5475
- return /* @__PURE__ */ jsx62(
5476
- Animated23.View,
5969
+ return /* @__PURE__ */ jsx65(
5970
+ Animated24.View,
5477
5971
  {
5478
5972
  accessible: true,
5479
5973
  role: "progressbar",
@@ -5481,30 +5975,100 @@ function SplashHandoff({ product, ready, onShown, onDone, size = 96, background,
5481
5975
  "aria-busy": true,
5482
5976
  pointerEvents: ready ? "none" : "auto",
5483
5977
  onLayout: onShown,
5484
- style: [StyleSheet46.absoluteFill, styles46.root, { backgroundColor: background ?? theme.surface0, opacity }, style],
5485
- children: /* @__PURE__ */ jsx62(View54, { children: /* @__PURE__ */ jsx62(ProductMark, { id: product, size, animated: true }) })
5978
+ style: [StyleSheet49.absoluteFill, styles49.root, { backgroundColor: background ?? theme.surface0, opacity }, style],
5979
+ children: /* @__PURE__ */ jsx65(View57, { children: /* @__PURE__ */ jsx65(ProductMark, { id: product, size, animated: true }) })
5486
5980
  }
5487
5981
  );
5488
5982
  }
5489
- var styles46 = StyleSheet46.create({ root: { alignItems: "center", justifyContent: "center", zIndex: 100 } });
5983
+ var styles49 = StyleSheet49.create({ root: { alignItems: "center", justifyContent: "center", zIndex: 100 } });
5984
+
5985
+ // src/native/status-chip.tsx
5986
+ import * as React44 from "react";
5987
+ import { Pressable as Pressable26 } from "react-native";
5988
+ import { Fragment as Fragment12, jsx as jsx66, jsxs as jsxs57 } from "react/jsx-runtime";
5989
+ function StatusChip({
5990
+ label,
5991
+ tone: tone3 = "neutral",
5992
+ moves = [],
5993
+ onMove,
5994
+ menuLabel = (state) => `Change the status, now ${state}`,
5995
+ confirmLabel = (target) => `Confirm: ${target}`,
5996
+ reasonLabel = (target) => `${target} \u2014 pick a reason`,
5997
+ cancelLabel = "Cancel",
5998
+ size = "sm"
5999
+ }) {
6000
+ const [open, setOpen] = React44.useState(false);
6001
+ const [armed, setArmed] = React44.useState(null);
6002
+ const [asking, setAsking] = React44.useState(null);
6003
+ const badge = /* @__PURE__ */ jsx66(Badge, { tone: tone3, size, dot: true, children: label });
6004
+ if (!onMove || moves.length === 0) return badge;
6005
+ return /* @__PURE__ */ jsxs57(Fragment12, { children: [
6006
+ /* @__PURE__ */ jsx66(Pressable26, { role: "button", "aria-label": menuLabel(label), "aria-haspopup": "menu", hitSlop: 8, onPress: () => setOpen(true), style: { alignSelf: "flex-start" }, children: badge }),
6007
+ /* @__PURE__ */ jsx66(
6008
+ ActionSheet,
6009
+ {
6010
+ open,
6011
+ onOpenChange: (next) => {
6012
+ setOpen(next);
6013
+ if (!next) setArmed(null);
6014
+ },
6015
+ title: menuLabel(label),
6016
+ cancelLabel,
6017
+ actions: moves.map((move2) => ({
6018
+ label: move2.confirm && armed === move2.key ? confirmLabel(move2.label) : move2.label,
6019
+ onPress: () => {
6020
+ if (move2.reasons && move2.reasons.length > 0) {
6021
+ setAsking(move2);
6022
+ return;
6023
+ }
6024
+ if (move2.confirm && armed !== move2.key) {
6025
+ setArmed(move2.key);
6026
+ setTimeout(() => setOpen(true), 0);
6027
+ return;
6028
+ }
6029
+ setArmed(null);
6030
+ onMove(move2.key, null);
6031
+ }
6032
+ }))
6033
+ }
6034
+ ),
6035
+ /* @__PURE__ */ jsx66(
6036
+ ActionSheet,
6037
+ {
6038
+ open: asking !== null,
6039
+ onOpenChange: (next) => !next && setAsking(null),
6040
+ title: asking ? reasonLabel(asking.label) : "",
6041
+ cancelLabel,
6042
+ actions: (asking?.reasons ?? []).map((reason) => ({
6043
+ label: reason.label,
6044
+ onPress: () => {
6045
+ const to = asking?.key;
6046
+ setAsking(null);
6047
+ if (to) onMove(to, reason.key);
6048
+ }
6049
+ }))
6050
+ }
6051
+ )
6052
+ ] });
6053
+ }
5490
6054
 
5491
6055
  // src/native/step-progress.tsx
5492
- import { Pressable as Pressable24, StyleSheet as StyleSheet47, View as View55 } from "react-native";
5493
- import Svg31, { Path as Path25 } from "react-native-svg";
5494
- import { jsx as jsx63, jsxs as jsxs54 } from "react/jsx-runtime";
6056
+ import { Pressable as Pressable27, StyleSheet as StyleSheet50, View as View58 } from "react-native";
6057
+ import Svg32, { Path as Path26 } from "react-native-svg";
6058
+ import { jsx as jsx67, jsxs as jsxs58 } from "react/jsx-runtime";
5495
6059
  function StepProgress({ step, total, label, backLabel, onBack, trailing, style }) {
5496
6060
  const { theme, insets } = useTheme();
5497
6061
  const words2 = label(step, total);
5498
- return /* @__PURE__ */ jsxs54(View55, { style: [styles47.root, { paddingTop: insets.top + 8 }, style], children: [
5499
- /* @__PURE__ */ jsxs54(View55, { style: styles47.row, children: [
5500
- onBack && backLabel ? /* @__PURE__ */ jsx63(Pressable24, { role: "button", "aria-label": backLabel, hitSlop: 10, onPress: onBack, style: styles47.back, children: /* @__PURE__ */ jsx63(Svg31, { width: 22, height: 22, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx63(Path25, { d: "M15 5l-7 7 7 7", stroke: theme.textPrimary, strokeWidth: 2.4, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) }) }) : /* @__PURE__ */ jsx63(View55, { style: styles47.back }),
5501
- /* @__PURE__ */ jsx63(View55, { accessible: true, role: "progressbar", "aria-label": words2, "aria-valuemin": 1, "aria-valuemax": total, "aria-valuenow": step, "aria-valuetext": words2, style: styles47.bars, children: Array.from({ length: total }, (_, i) => /* @__PURE__ */ jsx63(View55, { style: [styles47.bar, { backgroundColor: i < step ? theme.accent : theme.surface3 }] }, i)) }),
5502
- /* @__PURE__ */ jsx63(View55, { style: styles47.trailing, children: trailing })
6062
+ return /* @__PURE__ */ jsxs58(View58, { style: [styles50.root, { paddingTop: insets.top + 8 }, style], children: [
6063
+ /* @__PURE__ */ jsxs58(View58, { style: styles50.row, children: [
6064
+ onBack && backLabel ? /* @__PURE__ */ jsx67(Pressable27, { role: "button", "aria-label": backLabel, hitSlop: 10, onPress: onBack, style: styles50.back, children: /* @__PURE__ */ jsx67(Svg32, { width: 22, height: 22, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx67(Path26, { d: "M15 5l-7 7 7 7", stroke: theme.textPrimary, strokeWidth: 2.4, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) }) }) : /* @__PURE__ */ jsx67(View58, { style: styles50.back }),
6065
+ /* @__PURE__ */ jsx67(View58, { accessible: true, role: "progressbar", "aria-label": words2, "aria-valuemin": 1, "aria-valuemax": total, "aria-valuenow": step, "aria-valuetext": words2, style: styles50.bars, children: Array.from({ length: total }, (_, i) => /* @__PURE__ */ jsx67(View58, { style: [styles50.bar, { backgroundColor: i < step ? theme.accent : theme.surface3 }] }, i)) }),
6066
+ /* @__PURE__ */ jsx67(View58, { style: styles50.trailing, children: trailing })
5503
6067
  ] }),
5504
- /* @__PURE__ */ jsx63(Txt, { variant: "caption", tone: "secondary", style: styles47.words, "aria-hidden": true, children: words2 })
6068
+ /* @__PURE__ */ jsx67(Txt, { variant: "caption", tone: "secondary", style: styles50.words, "aria-hidden": true, children: words2 })
5505
6069
  ] });
5506
6070
  }
5507
- var styles47 = StyleSheet47.create({
6071
+ var styles50 = StyleSheet50.create({
5508
6072
  root: { paddingHorizontal: 12, gap: 6 },
5509
6073
  row: { flexDirection: "row", alignItems: "center", gap: 8 },
5510
6074
  back: { width: 40, height: 40, alignItems: "center", justifyContent: "center" },
@@ -5515,36 +6079,36 @@ var styles47 = StyleSheet47.create({
5515
6079
  });
5516
6080
 
5517
6081
  // src/native/stepper.tsx
5518
- import { StyleSheet as StyleSheet48, View as View56 } from "react-native";
5519
- import Svg32, { Circle as Circle17, Path as Path26 } from "react-native-svg";
5520
- import { jsx as jsx64, jsxs as jsxs55 } from "react/jsx-runtime";
6082
+ import { StyleSheet as StyleSheet51, View as View59 } from "react-native";
6083
+ import Svg33, { Circle as Circle17, Path as Path27 } from "react-native-svg";
6084
+ import { jsx as jsx68, jsxs as jsxs59 } from "react/jsx-runtime";
5521
6085
  var WORDS = { done: "done", current: "in progress", upcoming: "to come", error: "failed" };
5522
6086
  function Stepper({ steps, current = 0, orientation = "vertical", statusLabels, "aria-label": label, style }) {
5523
6087
  const { theme } = useTheme();
5524
6088
  const words2 = { ...WORDS, ...statusLabels };
5525
6089
  const vertical = orientation === "vertical";
5526
- return /* @__PURE__ */ jsx64(View56, { role: "list", "aria-label": label, style: [vertical ? styles48.column : styles48.row, style], children: steps.map((step, i) => {
6090
+ return /* @__PURE__ */ jsx68(View59, { role: "list", "aria-label": label, style: [vertical ? styles51.column : styles51.row, style], children: steps.map((step, i) => {
5527
6091
  const status = step.status ?? (i < current ? "done" : i === current ? "current" : "upcoming");
5528
6092
  const last = i === steps.length - 1;
5529
- const node = status === "current" ? /* @__PURE__ */ jsx64(LoaderGlyph, { value: step.value ?? null, size: 24 }) : status === "error" ? /* @__PURE__ */ jsx64(LoaderGlyph, { state: "error", size: 24 }) : /* @__PURE__ */ jsxs55(Svg32, { width: 24, height: 24, viewBox: "0 0 24 24", "aria-hidden": true, children: [
5530
- /* @__PURE__ */ jsx64(Circle17, { cx: 12, cy: 12, r: 10, fill: status === "done" ? theme.accent : "none", stroke: status === "done" ? theme.accent : theme.borderStrong, strokeWidth: 2 }),
5531
- status === "done" ? /* @__PURE__ */ jsx64(Path26, { d: "M7.5 12.3l3 3 6-6.3", stroke: theme.onAccent, strokeWidth: 2.2, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) : null
6093
+ const node = status === "current" ? /* @__PURE__ */ jsx68(LoaderGlyph, { value: step.value ?? null, size: 24 }) : status === "error" ? /* @__PURE__ */ jsx68(LoaderGlyph, { state: "error", size: 24 }) : /* @__PURE__ */ jsxs59(Svg33, { width: 24, height: 24, viewBox: "0 0 24 24", "aria-hidden": true, children: [
6094
+ /* @__PURE__ */ jsx68(Circle17, { cx: 12, cy: 12, r: 10, fill: status === "done" ? theme.accent : "none", stroke: status === "done" ? theme.accent : theme.borderStrong, strokeWidth: 2 }),
6095
+ status === "done" ? /* @__PURE__ */ jsx68(Path27, { d: "M7.5 12.3l3 3 6-6.3", stroke: theme.onAccent, strokeWidth: 2.2, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) : null
5532
6096
  ] });
5533
- const connector = !last ? /* @__PURE__ */ jsx64(View56, { "aria-hidden": true, style: [vertical ? styles48.vLine : styles48.hLine, { backgroundColor: status === "done" ? theme.accent : theme.borderDefault }] }) : null;
5534
- return /* @__PURE__ */ jsxs55(View56, { role: "listitem", accessible: true, "aria-label": `${step.title}, ${words2[status]}`, style: vertical ? styles48.vStep : styles48.hStep, children: [
5535
- /* @__PURE__ */ jsxs55(View56, { style: vertical ? styles48.vRail : styles48.hRail, children: [
6097
+ const connector = !last ? /* @__PURE__ */ jsx68(View59, { "aria-hidden": true, style: [vertical ? styles51.vLine : styles51.hLine, { backgroundColor: status === "done" ? theme.accent : theme.borderDefault }] }) : null;
6098
+ return /* @__PURE__ */ jsxs59(View59, { role: "listitem", accessible: true, "aria-label": `${step.title}, ${words2[status]}`, style: vertical ? styles51.vStep : styles51.hStep, children: [
6099
+ /* @__PURE__ */ jsxs59(View59, { style: vertical ? styles51.vRail : styles51.hRail, children: [
5536
6100
  node,
5537
6101
  connector
5538
6102
  ] }),
5539
- /* @__PURE__ */ jsxs55(View56, { style: [styles48.body, vertical && !last ? { paddingBottom: 20 } : null], children: [
5540
- /* @__PURE__ */ jsx64(Txt, { variant: "label", tone: status === "upcoming" ? "secondary" : "text", numberOfLines: vertical ? void 0 : 2, children: step.title }),
5541
- step.description ? /* @__PURE__ */ jsx64(Txt, { variant: "caption", tone: "secondary", children: step.description }) : null,
5542
- step.content && (status === "current" || status === "error") ? /* @__PURE__ */ jsx64(View56, { style: styles48.content, children: step.content }) : null
6103
+ /* @__PURE__ */ jsxs59(View59, { style: [styles51.body, vertical && !last ? { paddingBottom: 20 } : null], children: [
6104
+ /* @__PURE__ */ jsx68(Txt, { variant: "label", tone: status === "upcoming" ? "secondary" : "text", numberOfLines: vertical ? void 0 : 2, children: step.title }),
6105
+ step.description ? /* @__PURE__ */ jsx68(Txt, { variant: "caption", tone: "secondary", children: step.description }) : null,
6106
+ step.content && (status === "current" || status === "error") ? /* @__PURE__ */ jsx68(View59, { style: styles51.content, children: step.content }) : null
5543
6107
  ] })
5544
6108
  ] }, i);
5545
6109
  }) });
5546
6110
  }
5547
- var styles48 = StyleSheet48.create({
6111
+ var styles51 = StyleSheet51.create({
5548
6112
  column: { gap: 0 },
5549
6113
  row: { flexDirection: "row" },
5550
6114
  vStep: { flexDirection: "row", gap: 12 },
@@ -5558,59 +6122,59 @@ var styles48 = StyleSheet48.create({
5558
6122
  });
5559
6123
 
5560
6124
  // src/native/swipe-deck.tsx
5561
- import * as React41 from "react";
5562
- import { AccessibilityInfo as AccessibilityInfo14, Animated as Animated24, Image as Image5, PanResponder as PanResponder3, Platform as Platform4, Pressable as Pressable25, StyleSheet as StyleSheet49, useWindowDimensions as useWindowDimensions2, View as View57 } from "react-native";
5563
- import Svg33, { Defs as Defs16, LinearGradient as LinearGradient13, Path as Path27, Rect as Rect6, Stop as Stop16 } from "react-native-svg";
5564
- import { Fragment as Fragment11, jsx as jsx65, jsxs as jsxs56 } from "react/jsx-runtime";
6125
+ import * as React45 from "react";
6126
+ import { AccessibilityInfo as AccessibilityInfo14, Animated as Animated25, Image as Image5, PanResponder as PanResponder3, Platform as Platform4, Pressable as Pressable28, StyleSheet as StyleSheet52, useWindowDimensions as useWindowDimensions2, View as View60 } from "react-native";
6127
+ import Svg34, { Defs as Defs16, LinearGradient as LinearGradient13, Path as Path28, Rect as Rect6, Stop as Stop16 } from "react-native-svg";
6128
+ import { Fragment as Fragment13, jsx as jsx69, jsxs as jsxs60 } from "react/jsx-runtime";
5565
6129
  function PersonCard({ photos, name, age, badge, meta, bio, footer, photoLabel = (n, t) => `Photo ${n} of ${t}`, style }) {
5566
6130
  const { theme, radius: radius3 } = useTheme();
5567
- const [index, setIndex] = React41.useState(0);
6131
+ const [index, setIndex] = React45.useState(0);
5568
6132
  const gradient = useSvgId("kz-profile-");
5569
- const [box, setBox] = React41.useState(null);
6133
+ const [box, setBox] = React45.useState(null);
5570
6134
  const photo = photos[index];
5571
- return /* @__PURE__ */ jsxs56(
5572
- View57,
6135
+ return /* @__PURE__ */ jsxs60(
6136
+ View60,
5573
6137
  {
5574
6138
  accessible: Platform4.OS !== "web",
5575
6139
  accessibilityActions: photos.length > 1 ? [{ name: "increment" }, { name: "decrement" }] : [],
5576
6140
  onAccessibilityAction: (e) => setIndex((i) => Math.max(0, Math.min(photos.length - 1, i + (e.nativeEvent.actionName === "increment" ? 1 : -1)))),
5577
6141
  role: Platform4.OS === "web" ? "group" : "img",
5578
6142
  "aria-label": [`${name}${age !== void 0 ? `, ${age}` : ""}`, bio, photos.length > 1 ? photoLabel(index + 1, photos.length) : null].filter(Boolean).join(". "),
5579
- style: [styles49.card, { borderRadius: radius3.xl, backgroundColor: theme.media }, style],
6143
+ style: [styles52.card, { borderRadius: radius3.xl, backgroundColor: theme.media }, style],
5580
6144
  children: [
5581
- photo ? /* @__PURE__ */ jsx65(Image5, { testID: "person-card-photo", source: { uri: photo.uri }, style: StyleSheet49.absoluteFill, resizeMode: "cover" }) : null,
5582
- photos.length > 1 ? /* @__PURE__ */ jsxs56(Fragment11, { children: [
5583
- /* @__PURE__ */ jsx65(View57, { style: styles49.bars, "aria-hidden": true, children: photos.map((_, i) => /* @__PURE__ */ jsx65(View57, { style: [styles49.bar, { backgroundColor: theme.textOnMedia, opacity: i === index ? 1 : 0.4 }] }, i)) }),
5584
- /* @__PURE__ */ jsx65(Pressable25, { "aria-hidden": true, accessible: false, focusable: false, tabIndex: -1, style: [styles49.half, { left: 0 }], onPress: () => setIndex((i) => Math.max(0, i - 1)) }),
5585
- /* @__PURE__ */ jsx65(Pressable25, { "aria-hidden": true, accessible: false, focusable: false, tabIndex: -1, style: [styles49.half, { right: 0 }], onPress: () => setIndex((i) => Math.min(photos.length - 1, i + 1)) })
6145
+ photo ? /* @__PURE__ */ jsx69(Image5, { testID: "person-card-photo", source: { uri: photo.uri }, style: StyleSheet52.absoluteFill, resizeMode: "cover" }) : null,
6146
+ photos.length > 1 ? /* @__PURE__ */ jsxs60(Fragment13, { children: [
6147
+ /* @__PURE__ */ jsx69(View60, { style: styles52.bars, "aria-hidden": true, children: photos.map((_, i) => /* @__PURE__ */ jsx69(View60, { style: [styles52.bar, { backgroundColor: theme.textOnMedia, opacity: i === index ? 1 : 0.4 }] }, i)) }),
6148
+ /* @__PURE__ */ jsx69(Pressable28, { "aria-hidden": true, accessible: false, focusable: false, tabIndex: -1, style: [styles52.half, { left: 0 }], onPress: () => setIndex((i) => Math.max(0, i - 1)) }),
6149
+ /* @__PURE__ */ jsx69(Pressable28, { "aria-hidden": true, accessible: false, focusable: false, tabIndex: -1, style: [styles52.half, { right: 0 }], onPress: () => setIndex((i) => Math.min(photos.length - 1, i + 1)) })
5586
6150
  ] }) : null,
5587
- /* @__PURE__ */ jsxs56(
5588
- View57,
6151
+ /* @__PURE__ */ jsxs60(
6152
+ View60,
5589
6153
  {
5590
6154
  testID: "person-card-overlay",
5591
6155
  pointerEvents: "box-none",
5592
- style: styles49.bottom,
6156
+ style: styles52.bottom,
5593
6157
  onLayout: (e) => setBox({ width: e.nativeEvent.layout.width, height: e.nativeEvent.layout.height }),
5594
6158
  children: [
5595
- box ? /* @__PURE__ */ jsxs56(Svg33, { testID: "person-card-scrim", style: styles49.scrim, width: box.width, height: box.height, "aria-hidden": true, children: [
5596
- /* @__PURE__ */ jsx65(Defs16, { children: /* @__PURE__ */ jsxs56(LinearGradient13, { id: gradient, x1: "0", y1: "0", x2: "0", y2: "1", children: [
5597
- /* @__PURE__ */ jsx65(Stop16, { offset: "0", stopColor: theme.scrimStrong, stopOpacity: 0 }),
5598
- /* @__PURE__ */ jsx65(Stop16, { offset: "0.5", stopColor: theme.scrimStrong, stopOpacity: 0.8 }),
5599
- /* @__PURE__ */ jsx65(Stop16, { offset: "1", stopColor: theme.scrimStrong, stopOpacity: 1 })
6159
+ box ? /* @__PURE__ */ jsxs60(Svg34, { testID: "person-card-scrim", style: styles52.scrim, width: box.width, height: box.height, "aria-hidden": true, children: [
6160
+ /* @__PURE__ */ jsx69(Defs16, { children: /* @__PURE__ */ jsxs60(LinearGradient13, { id: gradient, x1: "0", y1: "0", x2: "0", y2: "1", children: [
6161
+ /* @__PURE__ */ jsx69(Stop16, { offset: "0", stopColor: theme.scrimStrong, stopOpacity: 0 }),
6162
+ /* @__PURE__ */ jsx69(Stop16, { offset: "0.5", stopColor: theme.scrimStrong, stopOpacity: 0.8 }),
6163
+ /* @__PURE__ */ jsx69(Stop16, { offset: "1", stopColor: theme.scrimStrong, stopOpacity: 1 })
5600
6164
  ] }) }),
5601
- /* @__PURE__ */ jsx65(Rect6, { x: 0, y: 0, width: box.width, height: box.height, fill: `url(#${gradient})` })
6165
+ /* @__PURE__ */ jsx69(Rect6, { x: 0, y: 0, width: box.width, height: box.height, fill: `url(#${gradient})` })
5602
6166
  ] }) : null,
5603
- /* @__PURE__ */ jsxs56(View57, { style: styles49.text, children: [
5604
- /* @__PURE__ */ jsxs56(View57, { style: styles49.nameRow, children: [
5605
- /* @__PURE__ */ jsxs56(Txt, { variant: "display", tone: "onMedia", style: styles49.name, numberOfLines: 1, children: [
6167
+ /* @__PURE__ */ jsxs60(View60, { style: styles52.text, children: [
6168
+ /* @__PURE__ */ jsxs60(View60, { style: styles52.nameRow, children: [
6169
+ /* @__PURE__ */ jsxs60(Txt, { variant: "display", tone: "onMedia", style: styles52.name, numberOfLines: 1, children: [
5606
6170
  name,
5607
- age !== void 0 ? /* @__PURE__ */ jsx65(Txt, { variant: "display", tone: "onMedia", style: styles49.age, children: ` ${age}` }) : null
6171
+ age !== void 0 ? /* @__PURE__ */ jsx69(Txt, { variant: "display", tone: "onMedia", style: styles52.age, children: ` ${age}` }) : null
5608
6172
  ] }),
5609
6173
  badge
5610
6174
  ] }),
5611
6175
  meta,
5612
- bio ? /* @__PURE__ */ jsx65(Txt, { tone: "onMedia", numberOfLines: 2, children: bio }) : null,
5613
- footer ? /* @__PURE__ */ jsx65(View57, { style: styles49.footer, children: footer }) : null
6176
+ bio ? /* @__PURE__ */ jsx69(Txt, { tone: "onMedia", numberOfLines: 2, children: bio }) : null,
6177
+ footer ? /* @__PURE__ */ jsx69(View60, { style: styles52.footer, children: footer }) : null
5614
6178
  ] })
5615
6179
  ]
5616
6180
  }
@@ -5623,9 +6187,9 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
5623
6187
  const { theme, haptic } = useTheme();
5624
6188
  const reduce = useReducedMotion();
5625
6189
  const { width } = useWindowDimensions2();
5626
- const [x] = React41.useState(() => new Animated24.Value(0));
6190
+ const [x] = React45.useState(() => new Animated25.Value(0));
5627
6191
  const top = items2[0];
5628
- const decide = React41.useCallback(
6192
+ const decide = React45.useCallback(
5629
6193
  (direction) => {
5630
6194
  if (!top) return;
5631
6195
  haptic("impact");
@@ -5635,18 +6199,18 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
5635
6199
  if (items2.length === 1 && labels.empty) AccessibilityInfo14.announceForAccessibility(labels.empty);
5636
6200
  };
5637
6201
  if (reduce) return done();
5638
- Animated24.timing(x, { toValue: (direction === "like" ? 1.4 : -1.4) * width, duration: 220, useNativeDriver: true }).start(done);
6202
+ Animated25.timing(x, { toValue: (direction === "like" ? 1.4 : -1.4) * width, duration: 220, useNativeDriver: true }).start(done);
5639
6203
  },
5640
6204
  [top, haptic, reduce, x, width, onSwipe, items2.length, labels.empty]
5641
6205
  );
5642
- const pan = React41.useMemo(
6206
+ const pan = React45.useMemo(
5643
6207
  () => PanResponder3.create({
5644
6208
  onMoveShouldSetPanResponder: (_, g) => Math.abs(g.dx) > 8 && Math.abs(g.dx) > Math.abs(g.dy),
5645
6209
  onPanResponderMove: (_, g) => x.setValue(g.dx),
5646
6210
  onPanResponderRelease: (_, g) => {
5647
6211
  if (g.dx > width / 3 || g.vx > 1) decide("like");
5648
6212
  else if (g.dx < -width / 3 || g.vx < -1) decide("pass");
5649
- else Animated24.spring(x, { toValue: 0, useNativeDriver: true, friction: 6 }).start();
6213
+ else Animated25.spring(x, { toValue: 0, useNativeDriver: true, friction: 6 }).start();
5650
6214
  }
5651
6215
  }),
5652
6216
  [x, width, decide]
@@ -5654,27 +6218,27 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
5654
6218
  const rotate = x.interpolate({ inputRange: [-width, 0, width], outputRange: ["-14deg", "0deg", "14deg"] });
5655
6219
  const likeOpacity = x.interpolate({ inputRange: [0, width / 4], outputRange: [0, 1], extrapolate: "clamp" });
5656
6220
  const passOpacity = x.interpolate({ inputRange: [-width / 4, 0], outputRange: [1, 0], extrapolate: "clamp" });
5657
- const button = (direction) => /* @__PURE__ */ jsx65(
5658
- Pressable25,
6221
+ const button = (direction) => /* @__PURE__ */ jsx69(
6222
+ Pressable28,
5659
6223
  {
5660
6224
  role: "button",
5661
6225
  "aria-label": direction === "like" ? labels.like : labels.pass,
5662
6226
  disabled: !top,
5663
6227
  onPress: () => decide(direction),
5664
6228
  style: ({ pressed }) => [
5665
- styles49.button,
6229
+ styles52.button,
5666
6230
  { borderColor: direction === "like" ? theme.success : theme.danger, backgroundColor: theme.surface1, transform: [{ scale: pressed ? 0.92 : 1 }], opacity: top ? 1 : 0.4 }
5667
6231
  ],
5668
- children: /* @__PURE__ */ jsx65(Svg33, { width: 28, height: 28, viewBox: "0 0 24 24", "aria-hidden": true, children: direction === "like" ? /* @__PURE__ */ jsx65(Path27, { d: "M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z", fill: theme.success }) : /* @__PURE__ */ jsx65(Path27, { d: "M6 6l12 12M18 6 6 18", stroke: theme.danger, strokeWidth: 3, strokeLinecap: "round" }) })
6232
+ children: /* @__PURE__ */ jsx69(Svg34, { width: 28, height: 28, viewBox: "0 0 24 24", "aria-hidden": true, children: direction === "like" ? /* @__PURE__ */ jsx69(Path28, { d: "M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z", fill: theme.success }) : /* @__PURE__ */ jsx69(Path28, { d: "M6 6l12 12M18 6 6 18", stroke: theme.danger, strokeWidth: 3, strokeLinecap: "round" }) })
5669
6233
  }
5670
6234
  );
5671
- return /* @__PURE__ */ jsxs56(View57, { style: [styles49.deck, style], children: [
5672
- /* @__PURE__ */ jsxs56(View57, { style: styles49.stack, children: [
6235
+ return /* @__PURE__ */ jsxs60(View60, { style: [styles52.deck, style], children: [
6236
+ /* @__PURE__ */ jsxs60(View60, { style: styles52.stack, children: [
5673
6237
  !top ? empty2 ?? null : null,
5674
6238
  items2.slice(0, 2).reverse().map((item) => {
5675
6239
  const isTop = item === top;
5676
- return /* @__PURE__ */ jsxs56(
5677
- Animated24.View,
6240
+ return /* @__PURE__ */ jsxs60(
6241
+ Animated25.View,
5678
6242
  {
5679
6243
  ...isTop ? pan.panHandlers : {},
5680
6244
  accessibilityActions: isTop ? [{ name: "like", label: labels.like }, { name: "pass", label: labels.pass }] : [],
@@ -5682,12 +6246,12 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
5682
6246
  "aria-hidden": !isTop,
5683
6247
  importantForAccessibility: isTop ? "auto" : "no-hide-descendants",
5684
6248
  pointerEvents: isTop ? "auto" : "none",
5685
- style: [StyleSheet49.absoluteFill, isTop ? { transform: [{ translateX: x }, { rotate }] } : { transform: [{ scale: 0.96 }], opacity: 0.9 }],
6249
+ style: [StyleSheet52.absoluteFill, isTop ? { transform: [{ translateX: x }, { rotate }] } : { transform: [{ scale: 0.96 }], opacity: 0.9 }],
5686
6250
  children: [
5687
6251
  renderCard(item),
5688
- isTop ? /* @__PURE__ */ jsxs56(Fragment11, { children: [
5689
- /* @__PURE__ */ jsx65(Animated24.View, { pointerEvents: "none", style: [styles49.stamp, styles49.stampLike, { borderColor: theme.success, opacity: likeOpacity }], "aria-hidden": true, children: /* @__PURE__ */ jsx65(Txt, { variant: "title", style: { color: theme.success }, children: labels.likeStamp ?? labels.like.toUpperCase() }) }),
5690
- /* @__PURE__ */ jsx65(Animated24.View, { pointerEvents: "none", style: [styles49.stamp, styles49.stampPass, { borderColor: theme.danger, opacity: passOpacity }], "aria-hidden": true, children: /* @__PURE__ */ jsx65(Txt, { variant: "title", style: { color: theme.danger }, children: labels.passStamp ?? labels.pass.toUpperCase() }) })
6252
+ isTop ? /* @__PURE__ */ jsxs60(Fragment13, { children: [
6253
+ /* @__PURE__ */ jsx69(Animated25.View, { pointerEvents: "none", style: [styles52.stamp, styles52.stampLike, { borderColor: theme.success, opacity: likeOpacity }], "aria-hidden": true, children: /* @__PURE__ */ jsx69(Txt, { variant: "title", style: { color: theme.success }, children: labels.likeStamp ?? labels.like.toUpperCase() }) }),
6254
+ /* @__PURE__ */ jsx69(Animated25.View, { pointerEvents: "none", style: [styles52.stamp, styles52.stampPass, { borderColor: theme.danger, opacity: passOpacity }], "aria-hidden": true, children: /* @__PURE__ */ jsx69(Txt, { variant: "title", style: { color: theme.danger }, children: labels.passStamp ?? labels.pass.toUpperCase() }) })
5691
6255
  ] }) : null
5692
6256
  ]
5693
6257
  },
@@ -5695,13 +6259,13 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
5695
6259
  );
5696
6260
  })
5697
6261
  ] }),
5698
- hideButtons ? null : /* @__PURE__ */ jsxs56(View57, { style: styles49.buttons, children: [
6262
+ hideButtons ? null : /* @__PURE__ */ jsxs60(View60, { style: styles52.buttons, children: [
5699
6263
  button("pass"),
5700
6264
  button("like")
5701
6265
  ] })
5702
6266
  ] });
5703
6267
  }
5704
- var styles49 = StyleSheet49.create({
6268
+ var styles52 = StyleSheet52.create({
5705
6269
  card: { flex: 1, overflow: "hidden" },
5706
6270
  bars: { position: "absolute", top: 8, left: 8, right: 8, flexDirection: "row", gap: 4 },
5707
6271
  bar: { flex: 1, height: 3, borderRadius: 2 },
@@ -5723,28 +6287,28 @@ var styles49 = StyleSheet49.create({
5723
6287
  });
5724
6288
 
5725
6289
  // src/native/swipeable-row.tsx
5726
- import * as React42 from "react";
5727
- import { Animated as Animated25, PanResponder as PanResponder4, Pressable as Pressable26, StyleSheet as StyleSheet50, View as View58 } from "react-native";
5728
- import { jsx as jsx66, jsxs as jsxs57 } from "react/jsx-runtime";
6290
+ import * as React46 from "react";
6291
+ import { Animated as Animated26, PanResponder as PanResponder4, Pressable as Pressable29, StyleSheet as StyleSheet53, View as View61 } from "react-native";
6292
+ import { jsx as jsx70, jsxs as jsxs61 } from "react/jsx-runtime";
5729
6293
  var toneColor = (t, tone3) => ({ neutral: t.surface3, accent: t.accent, success: t.success, warning: t.warning, danger: t.danger })[tone3 ?? "neutral"];
5730
6294
  var toneText = (tone3) => tone3 === "neutral" || tone3 === void 0 ? "text" : "onAccent";
5731
6295
  function SwipeableRow({ children, trailing = [], leading = [], fullSwipe = 0.6, actionWidth = 80, onActivate, testID, style }) {
5732
6296
  const { theme, haptic } = useTheme();
5733
6297
  const reduce = useReducedMotion();
5734
- const [x] = React42.useState(() => new Animated25.Value(0));
5735
- const [width, setWidth] = React42.useState(0);
5736
- const rest = React42.useRef(0);
5737
- const armed = React42.useRef(false);
6298
+ const [x] = React46.useState(() => new Animated26.Value(0));
6299
+ const [width, setWidth] = React46.useState(0);
6300
+ const rest = React46.useRef(0);
6301
+ const armed = React46.useRef(false);
5738
6302
  const settle = (to) => {
5739
6303
  rest.current = to;
5740
6304
  if (reduce) x.setValue(to);
5741
- else Animated25.spring(x, { toValue: to, useNativeDriver: true, damping: 22, stiffness: 240 }).start();
6305
+ else Animated26.spring(x, { toValue: to, useNativeDriver: true, damping: 22, stiffness: 240 }).start();
5742
6306
  };
5743
6307
  const run = (action) => {
5744
6308
  settle(0);
5745
6309
  action.onPress();
5746
6310
  };
5747
- const pan = React42.useMemo(
6311
+ const pan = React46.useMemo(
5748
6312
  () => PanResponder4.create({
5749
6313
  onMoveShouldSetPanResponder: (_, g) => Math.abs(g.dx) > 8 && Math.abs(g.dx) > Math.abs(g.dy) * 1.5,
5750
6314
  onPanResponderMove: (_, g) => {
@@ -5773,19 +6337,19 @@ function SwipeableRow({ children, trailing = [], leading = [], fullSwipe = 0.6,
5773
6337
  [trailing, leading, fullSwipe, width, actionWidth]
5774
6338
  // eslint-disable-line react-hooks/exhaustive-deps -- run/settle are stable in effect
5775
6339
  );
5776
- const side = (actions, edge) => /* @__PURE__ */ jsx66(View58, { "aria-hidden": true, style: [styles50.side, edge === "left" ? { left: 0 } : { right: 0, flexDirection: "row-reverse" }], children: actions.map((action, i) => (
6340
+ const side = (actions, edge) => /* @__PURE__ */ jsx70(View61, { "aria-hidden": true, style: [styles53.side, edge === "left" ? { left: 0 } : { right: 0, flexDirection: "row-reverse" }], children: actions.map((action, i) => (
5777
6341
  // eslint-disable-next-line react-hooks/refs -- runs on a press, never during render
5778
- /* @__PURE__ */ jsxs57(Pressable26, { focusable: false, tabIndex: -1, onPress: () => run(action), style: [styles50.action, { width: actionWidth, backgroundColor: toneColor(theme, action.tone) }], children: [
6342
+ /* @__PURE__ */ jsxs61(Pressable29, { focusable: false, tabIndex: -1, onPress: () => run(action), style: [styles53.action, { width: actionWidth, backgroundColor: toneColor(theme, action.tone) }], children: [
5779
6343
  action.icon,
5780
- /* @__PURE__ */ jsx66(Txt, { variant: "caption", tone: toneText(action.tone), style: styles50.actionText, numberOfLines: 1, children: action.label })
6344
+ /* @__PURE__ */ jsx70(Txt, { variant: "caption", tone: toneText(action.tone), style: styles53.actionText, numberOfLines: 1, children: action.label })
5781
6345
  ] }, i)
5782
6346
  )) });
5783
6347
  const all = [...leading, ...trailing];
5784
- return /* @__PURE__ */ jsxs57(View58, { style: [styles50.root, style], onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: [
6348
+ return /* @__PURE__ */ jsxs61(View61, { style: [styles53.root, style], onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: [
5785
6349
  leading.length > 0 ? side(leading, "left") : null,
5786
6350
  trailing.length > 0 ? side(trailing, "right") : null,
5787
- /* @__PURE__ */ jsx66(
5788
- Animated25.View,
6351
+ /* @__PURE__ */ jsx70(
6352
+ Animated26.View,
5789
6353
  {
5790
6354
  ...pan.panHandlers,
5791
6355
  accessible: true,
@@ -5796,13 +6360,13 @@ function SwipeableRow({ children, trailing = [], leading = [], fullSwipe = 0.6,
5796
6360
  const action = all.find((a) => a.label === e.nativeEvent.actionName);
5797
6361
  if (action) action.onPress();
5798
6362
  },
5799
- style: [styles50.front, { backgroundColor: theme.surface0, transform: [{ translateX: x }] }],
6363
+ style: [styles53.front, { backgroundColor: theme.surface0, transform: [{ translateX: x }] }],
5800
6364
  children
5801
6365
  }
5802
6366
  )
5803
6367
  ] });
5804
6368
  }
5805
- var styles50 = StyleSheet50.create({
6369
+ var styles53 = StyleSheet53.create({
5806
6370
  root: { overflow: "hidden" },
5807
6371
  side: { position: "absolute", top: 0, bottom: 0, flexDirection: "row" },
5808
6372
  action: { alignItems: "center", justifyContent: "center", gap: 4, paddingHorizontal: 6 },
@@ -5810,86 +6374,17 @@ var styles50 = StyleSheet50.create({
5810
6374
  front: {}
5811
6375
  });
5812
6376
 
5813
- // src/native/switch.tsx
5814
- import * as React43 from "react";
5815
- import { Animated as Animated26, Pressable as Pressable27, StyleSheet as StyleSheet51, Text as Text19, View as View59 } from "react-native";
5816
- import { jsx as jsx67, jsxs as jsxs58 } from "react/jsx-runtime";
5817
- var SIZES = { sm: { w: 40, h: 24, knob: 18 }, md: { w: 52, h: 32, knob: 26 } };
5818
- function Switch({ label, checked, defaultChecked = false, onCheckedChange, description, showLabel, size = "md", error, disabled, style }) {
5819
- const { theme, motion: motion3, haptic } = useTheme();
5820
- const [own, setOwn] = React43.useState(defaultChecked);
5821
- const on = checked ?? own;
5822
- const d = SIZES[size];
5823
- const travel = d.w - d.knob - (d.h - d.knob);
5824
- const [x] = React43.useState(() => new Animated26.Value(on ? 1 : 0));
5825
- React43.useEffect(() => {
5826
- Animated26.timing(x, { toValue: on ? 1 : 0, duration: motion3.duration.base, useNativeDriver: true }).start();
5827
- }, [on, x, motion3.duration.base]);
5828
- const toggle = () => {
5829
- haptic("selection");
5830
- if (checked === void 0) setOwn(!on);
5831
- onCheckedChange?.(!on);
5832
- };
5833
- const track = /* @__PURE__ */ jsx67(View59, { style: [styles51.track, { width: d.w, height: d.h, borderRadius: d.h / 2, backgroundColor: on ? theme.accent : theme.surface3, borderColor: error ? theme.danger : on ? theme.accent : theme.borderDefault }], children: /* @__PURE__ */ jsx67(
5834
- Animated26.View,
5835
- {
5836
- style: [
5837
- styles51.knob,
5838
- {
5839
- width: d.knob,
5840
- height: d.knob,
5841
- borderRadius: d.knob / 2,
5842
- backgroundColor: theme.textOnMedia,
5843
- shadowColor: theme.scrimStrong,
5844
- transform: [{ translateX: x.interpolate({ inputRange: [0, 1], outputRange: [0, travel] }) }]
5845
- }
5846
- ]
5847
- }
5848
- ) });
5849
- const a11y = {
5850
- role: "switch",
5851
- "aria-checked": on,
5852
- "aria-label": label,
5853
- "aria-disabled": disabled || void 0,
5854
- accessibilityHint: error ?? description,
5855
- disabled,
5856
- onPress: toggle
5857
- };
5858
- if (!showLabel)
5859
- return /* @__PURE__ */ jsx67(Pressable27, { ...a11y, hitSlop: { top: (44 - d.h) / 2, bottom: (44 - d.h) / 2, left: Math.max(0, (44 - d.w) / 2), right: Math.max(0, (44 - d.w) / 2) }, style: [disabled ? styles51.disabled : null, style], children: track });
5860
- return /* @__PURE__ */ jsxs58(View59, { style: [styles51.root, style], children: [
5861
- /* @__PURE__ */ jsxs58(Pressable27, { ...a11y, style: [styles51.row, disabled ? styles51.disabled : null], children: [
5862
- /* @__PURE__ */ jsxs58(View59, { style: styles51.text, children: [
5863
- /* @__PURE__ */ jsx67(Text19, { style: [styles51.label, { color: theme.textPrimary }], children: label }),
5864
- description ? /* @__PURE__ */ jsx67(Text19, { style: [styles51.description, { color: theme.textSecondary }], children: description }) : null
5865
- ] }),
5866
- track
5867
- ] }),
5868
- error ? /* @__PURE__ */ jsx67(Text19, { role: "alert", "aria-live": "polite", style: [styles51.description, { color: theme.dangerText }], children: error }) : null
5869
- ] });
5870
- }
5871
- var styles51 = StyleSheet51.create({
5872
- root: { gap: 2, alignSelf: "stretch" },
5873
- row: { flexDirection: "row", alignItems: "center", gap: 16, minHeight: 48 },
5874
- text: { flex: 1, gap: 2 },
5875
- label: { fontSize: 15, lineHeight: 20, fontWeight: "500" },
5876
- description: { fontSize: 12, lineHeight: 16 },
5877
- track: { justifyContent: "center", paddingHorizontal: 2, borderWidth: 1 },
5878
- knob: { shadowOpacity: 0.25, shadowRadius: 3, shadowOffset: { width: 0, height: 1 }, elevation: 2 },
5879
- disabled: { opacity: 0.4 }
5880
- });
5881
-
5882
6377
  // src/native/tab-bar.tsx
5883
- import { Pressable as Pressable28, StyleSheet as StyleSheet52, Text as Text20, View as View60 } from "react-native";
5884
- import { jsx as jsx68, jsxs as jsxs59 } from "react/jsx-runtime";
6378
+ import { Pressable as Pressable30, StyleSheet as StyleSheet54, Text as Text20, View as View62 } from "react-native";
6379
+ import { jsx as jsx71, jsxs as jsxs62 } from "react/jsx-runtime";
5885
6380
  function TabBar({ items: items2, value, onValueChange, onReselect, "aria-label": label, style }) {
5886
6381
  const { theme, insets, haptic } = useTheme();
5887
- return /* @__PURE__ */ jsx68(View60, { role: "tablist", "aria-label": label, style: [styles52.bar, { backgroundColor: theme.glassBg, borderTopColor: theme.glassBorder, paddingBottom: Math.max(6, insets.bottom) }, style], children: items2.map((item) => {
6382
+ return /* @__PURE__ */ jsx71(View62, { role: "tablist", "aria-label": label, style: [styles54.bar, { backgroundColor: theme.glassBg, borderTopColor: theme.glassBorder, paddingBottom: Math.max(6, insets.bottom) }, style], children: items2.map((item) => {
5888
6383
  const selected = item.value === value;
5889
6384
  const color = selected ? theme.accentText : theme.textSecondary;
5890
6385
  const badge = item.badge === true ? "" : typeof item.badge === "number" && item.badge > 0 ? item.badge > 99 ? "99+" : String(item.badge) : null;
5891
- return /* @__PURE__ */ jsxs59(
5892
- Pressable28,
6386
+ return /* @__PURE__ */ jsxs62(
6387
+ Pressable30,
5893
6388
  {
5894
6389
  role: "tab",
5895
6390
  "aria-selected": selected,
@@ -5898,22 +6393,22 @@ function TabBar({ items: items2, value, onValueChange, onReselect, "aria-label":
5898
6393
  if (selected) onReselect?.(item.value);
5899
6394
  else onValueChange(item.value);
5900
6395
  },
5901
- style: ({ pressed }) => [styles52.item, { opacity: pressed ? 0.7 : 1 }],
6396
+ style: ({ pressed }) => [styles54.item, { opacity: pressed ? 0.7 : 1 }],
5902
6397
  children: [
5903
- /* @__PURE__ */ jsxs59(View60, { "aria-hidden": true, style: styles52.icon, children: [
6398
+ /* @__PURE__ */ jsxs62(View62, { "aria-hidden": true, style: styles54.icon, children: [
5904
6399
  item.icon(selected, color),
5905
- badge !== null ? /* @__PURE__ */ jsx68(View60, { style: [badge ? styles52.count : styles52.dot, { backgroundColor: theme.danger, borderColor: theme.surface1 }], children: badge ? /* @__PURE__ */ jsx68(Text20, { style: [styles52.countText, { color: theme.onAccent }], children: badge }) : null }) : null
6400
+ badge !== null ? /* @__PURE__ */ jsx71(View62, { style: [badge ? styles54.count : styles54.dot, { backgroundColor: theme.danger, borderColor: theme.surface1 }], children: badge ? /* @__PURE__ */ jsx71(Text20, { style: [styles54.countText, { color: theme.onAccent }], children: badge }) : null }) : null
5906
6401
  ] }),
5907
- /* @__PURE__ */ jsx68(Text20, { numberOfLines: 1, style: [styles52.label, { color, fontWeight: selected ? "700" : "500" }], children: item.label }),
5908
- badge !== null && item.badgeLabel ? /* @__PURE__ */ jsx68(Text20, { style: styles52.unseen, children: `, ${item.badgeLabel}` }) : null
6402
+ /* @__PURE__ */ jsx71(Text20, { numberOfLines: 1, style: [styles54.label, { color, fontWeight: selected ? "700" : "500" }], children: item.label }),
6403
+ badge !== null && item.badgeLabel ? /* @__PURE__ */ jsx71(Text20, { style: styles54.unseen, children: `, ${item.badgeLabel}` }) : null
5909
6404
  ]
5910
6405
  },
5911
6406
  item.value
5912
6407
  );
5913
6408
  }) });
5914
6409
  }
5915
- var styles52 = StyleSheet52.create({
5916
- bar: { flexDirection: "row", borderTopWidth: StyleSheet52.hairlineWidth, paddingTop: 6 },
6410
+ var styles54 = StyleSheet54.create({
6411
+ bar: { flexDirection: "row", borderTopWidth: StyleSheet54.hairlineWidth, paddingTop: 6 },
5917
6412
  item: { flex: 1, alignItems: "center", gap: 2, minHeight: 48, justifyContent: "center" },
5918
6413
  icon: { width: 28, height: 26, alignItems: "center", justifyContent: "center" },
5919
6414
  label: { fontSize: 11, lineHeight: 14 },
@@ -5924,12 +6419,12 @@ var styles52 = StyleSheet52.create({
5924
6419
  });
5925
6420
 
5926
6421
  // src/native/tabs.tsx
5927
- import * as React44 from "react";
5928
- import { Pressable as Pressable29, ScrollView as ScrollView7, StyleSheet as StyleSheet53, View as View61 } from "react-native";
5929
- import { jsx as jsx69, jsxs as jsxs60 } from "react/jsx-runtime";
6422
+ import * as React47 from "react";
6423
+ import { Pressable as Pressable31, ScrollView as ScrollView7, StyleSheet as StyleSheet55, View as View63 } from "react-native";
6424
+ import { jsx as jsx72, jsxs as jsxs63 } from "react/jsx-runtime";
5930
6425
  function Tabs({ items: items2, value, defaultValue, onValueChange, "aria-label": label, variant = "underline", add, style }) {
5931
6426
  const { theme, radius: radius3, haptic } = useTheme();
5932
- const [own, setOwn] = React44.useState(defaultValue ?? items2[0]?.value);
6427
+ const [own, setOwn] = React47.useState(defaultValue ?? items2[0]?.value);
5933
6428
  const current = value ?? own;
5934
6429
  const select = (next) => {
5935
6430
  if (next === current) return;
@@ -5942,8 +6437,8 @@ function Tabs({ items: items2, value, defaultValue, onValueChange, "aria-label":
5942
6437
  const hueOf = (hue) => ({ accent: theme.accent, success: theme.successText, warning: theme.warningText, danger: theme.dangerText, neutral: theme.textMuted })[hue ?? "accent"];
5943
6438
  const tabs = items2.map((item) => {
5944
6439
  const selected = item.value === current;
5945
- return /* @__PURE__ */ jsx69(
5946
- Pressable29,
6440
+ return /* @__PURE__ */ jsx72(
6441
+ Pressable31,
5947
6442
  {
5948
6443
  role: "tab",
5949
6444
  "aria-selected": selected,
@@ -5951,76 +6446,72 @@ function Tabs({ items: items2, value, defaultValue, onValueChange, "aria-label":
5951
6446
  disabled: item.disabled,
5952
6447
  onPress: () => select(item.value),
5953
6448
  style: [
5954
- binder ? [styles53.divider, { borderTopColor: hueOf(item.hue), borderColor: theme.borderDefault, borderTopLeftRadius: radius3.md, borderTopRightRadius: radius3.md, backgroundColor: selected ? theme.surface1 : theme.surface2 }] : null,
5955
- binder ? null : segmented ? styles53.segment : styles53.tab,
6449
+ binder ? [styles55.divider, { borderTopColor: hueOf(item.hue), borderColor: theme.borderDefault, borderTopLeftRadius: radius3.md, borderTopRightRadius: radius3.md, backgroundColor: selected ? theme.surface1 : theme.surface2 }] : null,
6450
+ binder ? null : segmented ? styles55.segment : styles55.tab,
5956
6451
  segmented && selected ? { backgroundColor: theme.surface0, borderColor: theme.borderDefault, borderRadius: radius3.sm } : null,
5957
6452
  !segmented && !binder ? { borderBottomColor: selected ? theme.accent : "transparent" } : null,
5958
- item.disabled ? styles53.disabled : null
6453
+ item.disabled ? styles55.disabled : null
5959
6454
  ],
5960
- children: /* @__PURE__ */ jsxs60(Txt, { variant: "label", tone: selected ? "text" : "secondary", numberOfLines: 1, children: [
6455
+ children: /* @__PURE__ */ jsxs63(Txt, { variant: "label", tone: selected ? "text" : "secondary", numberOfLines: 1, children: [
5961
6456
  item.label,
5962
- item.count !== void 0 ? /* @__PURE__ */ jsx69(Txt, { variant: "caption", tone: "secondary", children: ` ${item.count}` }) : null
6457
+ item.count !== void 0 ? /* @__PURE__ */ jsx72(Txt, { variant: "caption", tone: "secondary", children: ` ${item.count}` }) : null
5963
6458
  ] })
5964
6459
  },
5965
6460
  item.value
5966
6461
  );
5967
6462
  });
5968
6463
  const panel = items2.find((i) => i.value === current)?.content;
5969
- return /* @__PURE__ */ jsxs60(View61, { style: [styles53.root, style], children: [
5970
- segmented ? /* @__PURE__ */ jsx69(View61, { role: "tablist", "aria-label": label, style: [styles53.track, { backgroundColor: theme.surface2, borderColor: theme.borderSubtle, borderRadius: radius3.md }], children: tabs }) : /* @__PURE__ */ jsxs60(View61, { style: [styles53.underline, binder ? styles53.binderRow : null, { borderBottomColor: binder ? theme.borderDefault : theme.borderSubtle }], children: [
5971
- /* @__PURE__ */ jsx69(ScrollView7, { horizontal: true, showsHorizontalScrollIndicator: false, role: "tablist", "aria-label": label, contentContainerStyle: [styles53.scroll, binder ? styles53.binderScroll : null], children: tabs }),
5972
- binder && add ? /* @__PURE__ */ jsx69(Pressable29, { role: "button", "aria-label": add.label, onPress: add.onAdd, hitSlop: 4, style: styles53.add, children: /* @__PURE__ */ jsx69(Txt, { variant: "label", tone: "secondary", children: `+ ${add.label}` }) }) : null
6464
+ return /* @__PURE__ */ jsxs63(View63, { style: [styles55.root, style], children: [
6465
+ segmented ? /* @__PURE__ */ jsx72(View63, { role: "tablist", "aria-label": label, style: [styles55.track, { backgroundColor: theme.surface2, borderColor: theme.borderSubtle, borderRadius: radius3.md }], children: tabs }) : /* @__PURE__ */ jsxs63(View63, { style: [styles55.underline, binder ? styles55.binderRow : null, { borderBottomColor: binder ? theme.borderDefault : theme.borderSubtle }], children: [
6466
+ /* @__PURE__ */ jsx72(ScrollView7, { horizontal: true, showsHorizontalScrollIndicator: false, role: "tablist", "aria-label": label, contentContainerStyle: [styles55.scroll, binder ? styles55.binderScroll : null], children: tabs }),
6467
+ binder && add ? /* @__PURE__ */ jsx72(Pressable31, { role: "button", "aria-label": add.label, onPress: add.onAdd, hitSlop: 4, style: styles55.add, children: /* @__PURE__ */ jsx72(Txt, { variant: "label", tone: "secondary", children: `+ ${add.label}` }) }) : null
5973
6468
  ] }),
5974
- panel !== void 0 ? /* @__PURE__ */ jsx69(View61, { role: "tabpanel", children: panel }) : null
6469
+ panel !== void 0 ? /* @__PURE__ */ jsx72(View63, { role: "tabpanel", children: panel }) : null
5975
6470
  ] });
5976
6471
  }
5977
- var styles53 = StyleSheet53.create({
6472
+ var styles55 = StyleSheet55.create({
5978
6473
  root: { gap: 12 },
5979
- underline: { borderBottomWidth: StyleSheet53.hairlineWidth },
6474
+ underline: { borderBottomWidth: StyleSheet55.hairlineWidth },
5980
6475
  scroll: { gap: 4, paddingHorizontal: 4 },
5981
6476
  tab: { minHeight: 44, justifyContent: "center", paddingHorizontal: 12, borderBottomWidth: 2 },
5982
- track: { flexDirection: "row", padding: 3, gap: 3, borderWidth: StyleSheet53.hairlineWidth, height: 40 },
5983
- segment: { flex: 1, alignItems: "center", justifyContent: "center", paddingHorizontal: 8, borderWidth: StyleSheet53.hairlineWidth, borderColor: "transparent" },
6477
+ track: { flexDirection: "row", padding: 3, gap: 3, borderWidth: StyleSheet55.hairlineWidth, height: 40 },
6478
+ segment: { flex: 1, alignItems: "center", justifyContent: "center", paddingHorizontal: 8, borderWidth: StyleSheet55.hairlineWidth, borderColor: "transparent" },
5984
6479
  disabled: { opacity: 0.4 },
5985
6480
  // A divider: a coloured top edge, its words; the selected one is the page's colour and sits on the line.
5986
- divider: { minHeight: 44, justifyContent: "center", paddingHorizontal: 14, borderWidth: StyleSheet53.hairlineWidth, borderTopWidth: 3, borderBottomWidth: 0, marginBottom: -StyleSheet53.hairlineWidth },
6481
+ divider: { minHeight: 44, justifyContent: "center", paddingHorizontal: 14, borderWidth: StyleSheet55.hairlineWidth, borderTopWidth: 3, borderBottomWidth: 0, marginBottom: -StyleSheet55.hairlineWidth },
5987
6482
  binderScroll: { alignItems: "flex-end", paddingHorizontal: 8 },
5988
6483
  binderRow: { flexDirection: "row", alignItems: "flex-end" },
5989
6484
  add: { minHeight: 44, justifyContent: "center", paddingHorizontal: 10 }
5990
6485
  });
5991
6486
 
5992
6487
  // src/native/tag-selector.tsx
5993
- import { StyleSheet as StyleSheet54, View as View62 } from "react-native";
5994
- import { jsx as jsx70, jsxs as jsxs61 } from "react/jsx-runtime";
6488
+ import { StyleSheet as StyleSheet56, View as View64 } from "react-native";
6489
+ import { jsx as jsx73, jsxs as jsxs64 } from "react/jsx-runtime";
5995
6490
  function TagSelector({ label, options, value, onValueChange, max, countLabel, style }) {
5996
6491
  const { haptic } = useTheme();
5997
6492
  const full = max !== void 0 && value.length >= max;
5998
- return /* @__PURE__ */ jsxs61(View62, { style: [styles54.root, style], children: [
5999
- /* @__PURE__ */ jsx70(View62, { role: "group", "aria-label": label, style: styles54.wrap, children: options.map((option) => {
6493
+ return /* @__PURE__ */ jsxs64(View64, { style: [styles56.root, style], children: [
6494
+ /* @__PURE__ */ jsx73(View64, { role: "group", "aria-label": label, style: styles56.wrap, children: options.map((option) => {
6000
6495
  const on = value.includes(option.value);
6001
- return /* @__PURE__ */ jsx70(
6002
- Chip,
6003
- {
6004
- selected: on,
6005
- disabled: !on && full,
6006
- onSelectedChange: (next) => {
6007
- haptic("selection");
6008
- onValueChange(next ? [...value, option.value] : value.filter((v) => v !== option.value));
6009
- },
6010
- children: option.label
6011
- },
6012
- option.value
6013
- );
6496
+ const props = {
6497
+ selected: on,
6498
+ disabled: !on && full,
6499
+ onSelectedChange: (next) => {
6500
+ haptic("selection");
6501
+ onValueChange(next ? [...value, option.value] : value.filter((v) => v !== option.value));
6502
+ }
6503
+ };
6504
+ return option.marker ? /* @__PURE__ */ jsx73(TagChip, { marker: option.marker, ...props, children: option.label }, option.value) : /* @__PURE__ */ jsx73(Chip, { ...props, children: option.label }, option.value);
6014
6505
  }) }),
6015
- max !== void 0 && countLabel ? /* @__PURE__ */ jsx70(Txt, { variant: "caption", tone: full ? "accent" : "secondary", "aria-live": "polite", children: countLabel(value.length, max) }) : null
6506
+ max !== void 0 && countLabel ? /* @__PURE__ */ jsx73(Txt, { variant: "caption", tone: full ? "accent" : "secondary", "aria-live": "polite", children: countLabel(value.length, max) }) : null
6016
6507
  ] });
6017
6508
  }
6018
- var styles54 = StyleSheet54.create({ root: { gap: 8 }, wrap: { flexDirection: "row", flexWrap: "wrap", gap: 8 } });
6509
+ var styles56 = StyleSheet56.create({ root: { gap: 8 }, wrap: { flexDirection: "row", flexWrap: "wrap", gap: 8 } });
6019
6510
 
6020
6511
  // src/native/toast.tsx
6021
- import * as React45 from "react";
6022
- import { AccessibilityInfo as AccessibilityInfo15, Animated as Animated27, PanResponder as PanResponder5, Pressable as Pressable30, StyleSheet as StyleSheet55, Text as Text21, View as View63 } from "react-native";
6023
- import { Fragment as Fragment12, jsx as jsx71, jsxs as jsxs62 } from "react/jsx-runtime";
6512
+ import * as React48 from "react";
6513
+ import { AccessibilityInfo as AccessibilityInfo15, Animated as Animated27, PanResponder as PanResponder5, Pressable as Pressable32, StyleSheet as StyleSheet57, Text as Text21, View as View65 } from "react-native";
6514
+ import { Fragment as Fragment14, jsx as jsx74, jsxs as jsxs65 } from "react/jsx-runtime";
6024
6515
  var items = [];
6025
6516
  var listeners2 = /* @__PURE__ */ new Set();
6026
6517
  var counter = 0;
@@ -6055,8 +6546,8 @@ var toast = Object.assign(show, {
6055
6546
  function ToastView({ item, closeLabel, duration }) {
6056
6547
  const { theme, radius: radius3, haptic } = useTheme();
6057
6548
  const reduce = useReducedMotion();
6058
- const [swipe] = React45.useState(() => new Animated27.Value(0));
6059
- const drag = React45.useMemo(
6549
+ const [swipe] = React48.useState(() => new Animated27.Value(0));
6550
+ const drag = React48.useMemo(
6060
6551
  () => PanResponder5.create({
6061
6552
  onMoveShouldSetPanResponder: (_, g) => Math.abs(g.dx) > 8 && Math.abs(g.dx) > Math.abs(g.dy),
6062
6553
  onPanResponderMove: (_, g) => swipe.setValue(g.dx),
@@ -6068,80 +6559,80 @@ function ToastView({ item, closeLabel, duration }) {
6068
6559
  }),
6069
6560
  [swipe, item.id]
6070
6561
  );
6071
- React45.useEffect(() => {
6562
+ React48.useEffect(() => {
6072
6563
  if (item.tone === "success" || item.tone === "warning") haptic(item.tone);
6073
6564
  if (item.tone === "error") haptic("warning");
6074
6565
  }, [item.id]);
6075
- const [enter] = React45.useState(() => new Animated27.Value(reduce ? 1 : 0));
6076
- React45.useEffect(() => {
6566
+ const [enter] = React48.useState(() => new Animated27.Value(reduce ? 1 : 0));
6567
+ React48.useEffect(() => {
6077
6568
  if (reduce) enter.setValue(1);
6078
6569
  else Animated27.timing(enter, { toValue: 1, duration: 220, useNativeDriver: true }).start();
6079
6570
  }, [enter, reduce]);
6080
- React45.useEffect(() => {
6571
+ React48.useEffect(() => {
6081
6572
  AccessibilityInfo15.announceForAccessibility(item.description ? `${item.title}. ${item.description}` : item.title);
6082
6573
  }, [item.title, item.description]);
6083
6574
  const ms = item.duration ?? duration;
6084
- React45.useEffect(() => {
6575
+ React48.useEffect(() => {
6085
6576
  if (!Number.isFinite(ms)) return;
6086
6577
  const timer2 = setTimeout(() => dismiss(item.id), ms);
6087
6578
  return () => clearTimeout(timer2);
6088
6579
  }, [item.id, ms]);
6089
6580
  const edge = { success: theme.success, warning: theme.warning, error: theme.danger, info: theme.info, default: theme.borderDefault }[item.tone ?? "default"];
6090
- const text = /* @__PURE__ */ jsxs62(Fragment12, { children: [
6091
- item.icon ? /* @__PURE__ */ jsx71(View63, { "aria-hidden": true, children: item.icon }) : null,
6092
- /* @__PURE__ */ jsxs62(View63, { style: styles55.content, children: [
6093
- /* @__PURE__ */ jsx71(Txt, { variant: "label", numberOfLines: 2, children: item.title }),
6094
- item.description ? /* @__PURE__ */ jsx71(Txt, { variant: "caption", tone: "secondary", numberOfLines: 3, children: item.description }) : null
6581
+ const text = /* @__PURE__ */ jsxs65(Fragment14, { children: [
6582
+ item.icon ? /* @__PURE__ */ jsx74(View65, { "aria-hidden": true, children: item.icon }) : null,
6583
+ /* @__PURE__ */ jsxs65(View65, { style: styles57.content, children: [
6584
+ /* @__PURE__ */ jsx74(Txt, { variant: "label", numberOfLines: 2, children: item.title }),
6585
+ item.description ? /* @__PURE__ */ jsx74(Txt, { variant: "caption", tone: "secondary", numberOfLines: 3, children: item.description }) : null
6095
6586
  ] })
6096
6587
  ] });
6097
- const body = /* @__PURE__ */ jsxs62(Fragment12, { children: [
6098
- item.onPress ? /* @__PURE__ */ jsx71(
6099
- Pressable30,
6588
+ const body = /* @__PURE__ */ jsxs65(Fragment14, { children: [
6589
+ item.onPress ? /* @__PURE__ */ jsx74(
6590
+ Pressable32,
6100
6591
  {
6101
6592
  role: "button",
6102
6593
  onPress: () => {
6103
6594
  item.onPress?.();
6104
6595
  dismiss(item.id);
6105
6596
  },
6106
- style: ({ pressed }) => [styles55.main, { opacity: pressed ? 0.8 : 1 }],
6597
+ style: ({ pressed }) => [styles57.main, { opacity: pressed ? 0.8 : 1 }],
6107
6598
  children: text
6108
6599
  }
6109
- ) : /* @__PURE__ */ jsx71(View63, { style: styles55.main, children: text }),
6110
- item.action ? /* @__PURE__ */ jsx71(
6111
- Pressable30,
6600
+ ) : /* @__PURE__ */ jsx74(View65, { style: styles57.main, children: text }),
6601
+ item.action ? /* @__PURE__ */ jsx74(
6602
+ Pressable32,
6112
6603
  {
6113
6604
  role: "button",
6114
6605
  onPress: () => {
6115
6606
  item.action?.onPress();
6116
6607
  dismiss(item.id);
6117
6608
  },
6118
- style: [styles55.action, { backgroundColor: theme.accent, borderRadius: radius3.sm }],
6119
- children: /* @__PURE__ */ jsx71(Text21, { style: [styles55.actionLabel, { color: theme.onAccent }], children: item.action.label })
6609
+ style: [styles57.action, { backgroundColor: theme.accent, borderRadius: radius3.sm }],
6610
+ children: /* @__PURE__ */ jsx74(Text21, { style: [styles57.actionLabel, { color: theme.onAccent }], children: item.action.label })
6120
6611
  }
6121
6612
  ) : null,
6122
- /* @__PURE__ */ jsx71(Pressable30, { role: "button", "aria-label": closeLabel, hitSlop: 10, onPress: () => dismiss(item.id), style: styles55.close, children: /* @__PURE__ */ jsx71(Text21, { style: [styles55.cross, { color: theme.textSecondary }], children: "\xD7" }) })
6613
+ /* @__PURE__ */ jsx74(Pressable32, { role: "button", "aria-label": closeLabel, hitSlop: 10, onPress: () => dismiss(item.id), style: styles57.close, children: /* @__PURE__ */ jsx74(Text21, { style: [styles57.cross, { color: theme.textSecondary }], children: "\xD7" }) })
6123
6614
  ] });
6124
6615
  const frame = [
6125
- styles55.toast,
6616
+ styles57.toast,
6126
6617
  { backgroundColor: theme.surface2, borderColor: theme.borderDefault, borderLeftColor: edge, borderRadius: radius3.lg, shadowColor: theme.scrimStrong }
6127
6618
  ];
6128
6619
  const motion3 = { transform: [{ translateY: enter.interpolate({ inputRange: [0, 1], outputRange: [-8, 0] }) }, { translateX: swipe }] };
6129
- return /* @__PURE__ */ jsx71(Animated27.View, { "aria-live": "polite", style: motion3, ...drag.panHandlers, children: /* @__PURE__ */ jsx71(View63, { style: frame, children: body }) });
6620
+ return /* @__PURE__ */ jsx74(Animated27.View, { "aria-live": "polite", style: motion3, ...drag.panHandlers, children: /* @__PURE__ */ jsx74(View65, { style: frame, children: body }) });
6130
6621
  }
6131
6622
  function Toaster({ closeLabel, position = "top", offset = 12, duration = 6e3, max = 3 }) {
6132
- const all = React45.useSyncExternalStore(subscribe2, snapshot, snapshot);
6623
+ const all = React48.useSyncExternalStore(subscribe2, snapshot, snapshot);
6133
6624
  const shown = all.slice(-max);
6134
6625
  if (shown.length === 0) return null;
6135
- return /* @__PURE__ */ jsx71(View63, { pointerEvents: "box-none", style: [styles55.stack, position === "top" ? { top: offset } : { bottom: offset }], children: (position === "top" ? shown : [...shown].reverse()).map((item) => /* @__PURE__ */ jsx71(ToastView, { item, closeLabel, duration }, item.id)) });
6626
+ return /* @__PURE__ */ jsx74(View65, { pointerEvents: "box-none", style: [styles57.stack, position === "top" ? { top: offset } : { bottom: offset }], children: (position === "top" ? shown : [...shown].reverse()).map((item) => /* @__PURE__ */ jsx74(ToastView, { item, closeLabel, duration }, item.id)) });
6136
6627
  }
6137
- var styles55 = StyleSheet55.create({
6628
+ var styles57 = StyleSheet57.create({
6138
6629
  stack: { position: "absolute", left: 12, right: 12, gap: 8, zIndex: 100 },
6139
6630
  toast: {
6140
6631
  flexDirection: "row",
6141
6632
  alignItems: "center",
6142
6633
  gap: 10,
6143
6634
  padding: 12,
6144
- borderWidth: StyleSheet55.hairlineWidth,
6635
+ borderWidth: StyleSheet57.hairlineWidth,
6145
6636
  borderLeftWidth: 4,
6146
6637
  shadowOpacity: 0.3,
6147
6638
  shadowRadius: 16,
@@ -6157,35 +6648,35 @@ var styles55 = StyleSheet55.create({
6157
6648
  });
6158
6649
 
6159
6650
  // src/native/update-prompt.tsx
6160
- import { StyleSheet as StyleSheet56, View as View64 } from "react-native";
6161
- import { jsx as jsx72, jsxs as jsxs63 } from "react/jsx-runtime";
6651
+ import { StyleSheet as StyleSheet58, View as View66 } from "react-native";
6652
+ import { jsx as jsx75, jsxs as jsxs66 } from "react/jsx-runtime";
6162
6653
  function UpdatePrompt({ title, message, versionLabel, mark, updateLabel, onUpdate, laterLabel, onLater, style }) {
6163
6654
  const { theme, radius: radius3 } = useTheme();
6164
- return /* @__PURE__ */ jsxs63(
6165
- View64,
6655
+ return /* @__PURE__ */ jsxs66(
6656
+ View66,
6166
6657
  {
6167
6658
  role: "region",
6168
6659
  "aria-label": title,
6169
- style: [styles56.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style],
6660
+ style: [styles58.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style],
6170
6661
  children: [
6171
- /* @__PURE__ */ jsxs63(View64, { style: styles56.head, children: [
6172
- mark ? /* @__PURE__ */ jsx72(View64, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: styles56.mark, children: mark }) : null,
6173
- /* @__PURE__ */ jsxs63(View64, { style: styles56.text, children: [
6174
- /* @__PURE__ */ jsx72(Txt, { variant: "label", children: title }),
6175
- message ? /* @__PURE__ */ jsx72(Txt, { tone: "secondary", children: message }) : null,
6176
- versionLabel ? /* @__PURE__ */ jsx72(Txt, { variant: "mono", tone: "secondary", children: versionLabel }) : null
6662
+ /* @__PURE__ */ jsxs66(View66, { style: styles58.head, children: [
6663
+ mark ? /* @__PURE__ */ jsx75(View66, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: styles58.mark, children: mark }) : null,
6664
+ /* @__PURE__ */ jsxs66(View66, { style: styles58.text, children: [
6665
+ /* @__PURE__ */ jsx75(Txt, { variant: "label", children: title }),
6666
+ message ? /* @__PURE__ */ jsx75(Txt, { tone: "secondary", children: message }) : null,
6667
+ versionLabel ? /* @__PURE__ */ jsx75(Txt, { variant: "mono", tone: "secondary", children: versionLabel }) : null
6177
6668
  ] })
6178
6669
  ] }),
6179
- /* @__PURE__ */ jsxs63(View64, { style: styles56.actions, children: [
6180
- /* @__PURE__ */ jsx72(Button, { label: laterLabel, variant: "ghost", size: "sm", onPress: onLater }),
6181
- /* @__PURE__ */ jsx72(Button, { label: updateLabel, variant: "primary", size: "sm", onPress: onUpdate })
6670
+ /* @__PURE__ */ jsxs66(View66, { style: styles58.actions, children: [
6671
+ /* @__PURE__ */ jsx75(Button, { label: laterLabel, variant: "ghost", size: "sm", onPress: onLater }),
6672
+ /* @__PURE__ */ jsx75(Button, { label: updateLabel, variant: "primary", size: "sm", onPress: onUpdate })
6182
6673
  ] })
6183
6674
  ]
6184
6675
  }
6185
6676
  );
6186
6677
  }
6187
- var styles56 = StyleSheet56.create({
6188
- root: { gap: 12, padding: 16, borderWidth: StyleSheet56.hairlineWidth },
6678
+ var styles58 = StyleSheet58.create({
6679
+ root: { gap: 12, padding: 16, borderWidth: StyleSheet58.hairlineWidth },
6189
6680
  head: { flexDirection: "row", gap: 12, alignItems: "center" },
6190
6681
  mark: { width: 40, height: 40, alignItems: "center", justifyContent: "center" },
6191
6682
  text: { flex: 1, gap: 2 },
@@ -6193,15 +6684,15 @@ var styles56 = StyleSheet56.create({
6193
6684
  });
6194
6685
 
6195
6686
  // src/native/verified-badge.tsx
6196
- import { StyleSheet as StyleSheet57, View as View65 } from "react-native";
6197
- import Svg34, { Path as Path28 } from "react-native-svg";
6198
- import { jsx as jsx73, jsxs as jsxs64 } from "react/jsx-runtime";
6687
+ import { StyleSheet as StyleSheet59, View as View67 } from "react-native";
6688
+ import Svg35, { Path as Path29 } from "react-native-svg";
6689
+ import { jsx as jsx76, jsxs as jsxs67 } from "react/jsx-runtime";
6199
6690
  function VerifiedBadge({ label, showLabel, size = 16, on = "surface" }) {
6200
6691
  const { theme } = useTheme();
6201
- return /* @__PURE__ */ jsxs64(View65, { accessible: true, role: "img", "aria-label": label, style: styles57.row, children: [
6202
- /* @__PURE__ */ jsxs64(Svg34, { width: size, height: size, viewBox: "0 0 24 24", "aria-hidden": true, children: [
6203
- /* @__PURE__ */ jsx73(
6204
- Path28,
6692
+ return /* @__PURE__ */ jsxs67(View67, { accessible: true, role: "img", "aria-label": label, style: styles59.row, children: [
6693
+ /* @__PURE__ */ jsxs67(Svg35, { width: size, height: size, viewBox: "0 0 24 24", "aria-hidden": true, children: [
6694
+ /* @__PURE__ */ jsx76(
6695
+ Path29,
6205
6696
  {
6206
6697
  d: "M12 2.5l2.4 1.7 2.9-.1.9 2.8 2.3 1.8-.9 2.8.9 2.8-2.3 1.8-.9 2.8-2.9-.1L12 21.5l-2.4-1.7-2.9.1-.9-2.8-2.3-1.8.9-2.8-.9-2.8 2.3-1.8.9-2.8 2.9.1z",
6207
6698
  fill: theme.accent,
@@ -6209,16 +6700,16 @@ function VerifiedBadge({ label, showLabel, size = 16, on = "surface" }) {
6209
6700
  strokeWidth: 1.2
6210
6701
  }
6211
6702
  ),
6212
- /* @__PURE__ */ jsx73(Path28, { d: "M8.3 12.3l2.5 2.5 4.9-5.2", fill: "none", stroke: theme.onAccent, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" })
6703
+ /* @__PURE__ */ jsx76(Path29, { d: "M8.3 12.3l2.5 2.5 4.9-5.2", fill: "none", stroke: theme.onAccent, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" })
6213
6704
  ] }),
6214
- showLabel ? /* @__PURE__ */ jsx73(Txt, { variant: "caption", tone: on === "media" ? "onMedia" : "accent", style: styles57.text, children: label }) : null
6705
+ showLabel ? /* @__PURE__ */ jsx76(Txt, { variant: "caption", tone: on === "media" ? "onMedia" : "accent", style: styles59.text, children: label }) : null
6215
6706
  ] });
6216
6707
  }
6217
- var styles57 = StyleSheet57.create({ row: { flexDirection: "row", alignItems: "center", gap: 4 }, text: { fontWeight: "700" } });
6708
+ var styles59 = StyleSheet59.create({ row: { flexDirection: "row", alignItems: "center", gap: 4 }, text: { fontWeight: "700" } });
6218
6709
 
6219
6710
  // src/native/waveform.tsx
6220
- import * as React46 from "react";
6221
- import { Animated as Animated28, AppState as AppState2, Easing as Easing14, StyleSheet as StyleSheet58, View as View66 } from "react-native";
6711
+ import * as React49 from "react";
6712
+ import { Animated as Animated28, AppState as AppState2, Easing as Easing14, StyleSheet as StyleSheet60, View as View68 } from "react-native";
6222
6713
 
6223
6714
  // src/waveform/bars.ts
6224
6715
  function resamplePeaks(peaks, count) {
@@ -6233,20 +6724,20 @@ function resamplePeaks(peaks, count) {
6233
6724
  }
6234
6725
 
6235
6726
  // src/native/waveform.tsx
6236
- import { jsx as jsx74 } from "react/jsx-runtime";
6727
+ import { jsx as jsx77 } from "react/jsx-runtime";
6237
6728
  var HEIGHT = { sm: 24, md: 40, lg: 64 };
6238
6729
  function Waveform({ peaks, bars = 32, size = "md", tone: tone3 = "accent", playing = false, label, style, ...props }) {
6239
6730
  const { theme } = useTheme();
6240
6731
  const reduce = useReducedMotion();
6241
- const [active, setActive] = React46.useState(() => AppState2.currentState === "active");
6242
- React46.useEffect(() => {
6732
+ const [active, setActive] = React49.useState(() => AppState2.currentState === "active");
6733
+ React49.useEffect(() => {
6243
6734
  const subscription = AppState2.addEventListener("change", (state) => setActive(state === "active"));
6244
6735
  return () => subscription.remove();
6245
6736
  }, []);
6246
- const shape = React46.useMemo(() => resamplePeaks(peaks ?? [], bars), [peaks, bars]);
6247
- const values = React46.useMemo(() => shape.map(() => new Animated28.Value(1)), [shape]);
6737
+ const shape = React49.useMemo(() => resamplePeaks(peaks ?? [], bars), [peaks, bars]);
6738
+ const values = React49.useMemo(() => shape.map(() => new Animated28.Value(1)), [shape]);
6248
6739
  const moving = playing && !reduce && active;
6249
- React46.useEffect(() => {
6740
+ React49.useEffect(() => {
6250
6741
  if (!moving) {
6251
6742
  values.forEach((value) => value.setValue(1));
6252
6743
  return;
@@ -6266,8 +6757,8 @@ function Waveform({ peaks, bars = 32, size = "md", tone: tone3 = "accent", playi
6266
6757
  }, [moving, values]);
6267
6758
  const named = label !== void 0;
6268
6759
  const barColour = tone3 === "neutral" ? theme.borderStrong : theme.accent;
6269
- return /* @__PURE__ */ jsx74(
6270
- View66,
6760
+ return /* @__PURE__ */ jsx77(
6761
+ View68,
6271
6762
  {
6272
6763
  ...props,
6273
6764
  accessible: named,
@@ -6275,13 +6766,13 @@ function Waveform({ peaks, bars = 32, size = "md", tone: tone3 = "accent", playi
6275
6766
  accessibilityLabel: label,
6276
6767
  "aria-hidden": named ? void 0 : true,
6277
6768
  importantForAccessibility: named ? "yes" : "no-hide-descendants",
6278
- style: [styles58.root, { height: HEIGHT[size] }, style],
6279
- children: shape.map((peak, i) => /* @__PURE__ */ jsx74(
6769
+ style: [styles60.root, { height: HEIGHT[size] }, style],
6770
+ children: shape.map((peak, i) => /* @__PURE__ */ jsx77(
6280
6771
  Animated28.View,
6281
6772
  {
6282
6773
  testID: "waveform-bar",
6283
6774
  style: [
6284
- styles58.bar,
6775
+ styles60.bar,
6285
6776
  { height: `${Math.round(peak * 100)}%`, backgroundColor: barColour },
6286
6777
  { transform: [{ scaleY: values[i].interpolate({ inputRange: [0, 1], outputRange: [0.45, 1] }) }] }
6287
6778
  ]
@@ -6291,7 +6782,7 @@ function Waveform({ peaks, bars = 32, size = "md", tone: tone3 = "accent", playi
6291
6782
  }
6292
6783
  );
6293
6784
  }
6294
- var styles58 = StyleSheet58.create({
6785
+ var styles60 = StyleSheet60.create({
6295
6786
  root: { width: "100%", flexDirection: "row", alignItems: "center", justifyContent: "center", columnGap: 2 },
6296
6787
  bar: { flex: 1, minWidth: 2, borderRadius: 9999 }
6297
6788
  });
@@ -6342,6 +6833,7 @@ export {
6342
6833
  LoaderGlyph,
6343
6834
  LoadingState,
6344
6835
  MaintenanceScreen,
6836
+ MarkerPicker,
6345
6837
  Mascot,
6346
6838
  MascotState,
6347
6839
  MatchDialog,
@@ -6378,15 +6870,21 @@ export {
6378
6870
  Slider,
6379
6871
  Spinner,
6380
6872
  SplashHandoff,
6873
+ StatusChip,
6874
+ StatusSetEditor,
6381
6875
  StepProgress,
6382
6876
  Stepper,
6383
6877
  SuccessState,
6384
6878
  SwipeDeck,
6385
6879
  SwipeableRow,
6386
6880
  Switch,
6881
+ TAG_MARKERS,
6387
6882
  TabBar,
6388
6883
  Tabs,
6884
+ TagChip,
6885
+ TagMarker,
6389
6886
  TagSelector,
6887
+ TagSetEditor,
6390
6888
  TextField,
6391
6889
  ThemeProvider,
6392
6890
  TimePicker,
@@ -6422,6 +6920,8 @@ export {
6422
6920
  prefetchNeighbours,
6423
6921
  showcaseLabels,
6424
6922
  splitDuration,
6923
+ statusSetEditorLabels,
6924
+ tagSetEditorLabels,
6425
6925
  textStyles,
6426
6926
  timeSlots,
6427
6927
  timeToMinutes,