@krizaka/ui 3.72.0 → 3.74.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 (338) hide show
  1. package/README.md +2 -4
  2. package/dist/{RotatingWord-COSabR2c.d.ts → RotatingWord-D3tpDLE4.d.ts} +1 -1
  3. package/dist/account-menu.d.ts +1 -1
  4. package/dist/account-menu.js +1 -1
  5. package/dist/account-settings.d.ts +1 -1
  6. package/dist/account-settings.js +1 -1
  7. package/dist/app-frame.d.ts +2 -5
  8. package/dist/avatar/defaults.d.ts +2 -2
  9. package/dist/avatar/defaults.js +1 -5
  10. package/dist/avatar/defaults.js.map +1 -1
  11. package/dist/{avatar-B_na7r1U.d.ts → avatar-CNV6ld8l.d.ts} +2 -2
  12. package/dist/avatar.d.ts +2 -2
  13. package/dist/avatar.js +1 -5
  14. package/dist/avatar.js.map +1 -1
  15. package/dist/blocks.css +4 -4
  16. package/dist/chat.js +1 -1
  17. package/dist/{chunk-5MPPIGCB.js → chunk-E46AEUPH.js} +1 -5
  18. package/dist/chunk-E46AEUPH.js.map +1 -0
  19. package/dist/{chunk-GRVIZTT2.js → chunk-GSQRSWOE.js} +2 -2
  20. package/dist/{chunk-TISDOZH3.js → chunk-IOTY5HYG.js} +1 -5
  21. package/dist/chunk-IOTY5HYG.js.map +1 -0
  22. package/dist/{chunk-T5NZSKWT.js → chunk-KF7UB3LM.js} +29 -34
  23. package/dist/chunk-KF7UB3LM.js.map +1 -0
  24. package/dist/chunk-PGPNYYE2.js +286 -0
  25. package/dist/chunk-PGPNYYE2.js.map +1 -0
  26. package/dist/{chunk-Y5YBTHVD.js → chunk-SG3QJJXE.js} +6 -12
  27. package/dist/chunk-SG3QJJXE.js.map +1 -0
  28. package/dist/{chunk-4JO5GSSD.js → chunk-VA4NPCUQ.js} +2 -2
  29. package/dist/chunk-VA4NPCUQ.js.map +1 -0
  30. package/dist/collection-switcher.d.ts +1 -1
  31. package/dist/data-table.js +2 -2
  32. package/dist/{default-avatar-BL0nJFti.d.ts → default-avatar-Bh4atFDo.d.ts} +2 -2
  33. package/dist/elephant.d.ts +2 -2
  34. package/dist/elephant.js +2 -3
  35. package/dist/elephant.js.map +1 -1
  36. package/dist/engine-flow.js +29 -21
  37. package/dist/engine-flow.js.map +1 -1
  38. package/dist/entity-header.d.ts +1 -1
  39. package/dist/filter-bar.js +1 -1
  40. package/dist/genui.js +2 -2
  41. package/dist/index.d.ts +7 -51
  42. package/dist/index.js +2 -12
  43. package/dist/index.js.map +1 -1
  44. package/dist/language-switch.d.ts +9 -9
  45. package/dist/map.js +0 -120
  46. package/dist/map.js.map +1 -1
  47. package/dist/match-dialog.js +1 -1
  48. package/dist/media-grid.d.ts +2 -2
  49. package/dist/media-grid.js +1 -1
  50. package/dist/motion.css +2 -95
  51. package/dist/motion.d.ts +1 -1
  52. package/dist/motion.js +1 -1
  53. package/dist/native/map.js +0 -120
  54. package/dist/native/map.js.map +1 -1
  55. package/dist/native.d.ts +7 -59
  56. package/dist/native.js +920 -1272
  57. package/dist/native.js.map +1 -1
  58. package/dist/nav-bar.d.ts +1 -1
  59. package/dist/nav-bar.js +2 -2
  60. package/dist/rail-nav.d.ts +2 -5
  61. package/dist/retro-tv-playlist.d.ts +148 -0
  62. package/dist/retro-tv-playlist.js +234 -0
  63. package/dist/retro-tv-playlist.js.map +1 -0
  64. package/dist/retro-tv.js +4 -160
  65. package/dist/retro-tv.js.map +1 -1
  66. package/dist/site-cahier.d.ts +3 -11
  67. package/dist/site-cahier.js +126 -367
  68. package/dist/site-cahier.js.map +1 -1
  69. package/dist/site-footer.d.ts +1 -1
  70. package/dist/site-footer.js +2 -2
  71. package/dist/{sites-CEnywB89.d.ts → sites-CVNSirrg.d.ts} +3 -11
  72. package/dist/sites.d.ts +7 -15
  73. package/dist/sites.js +4 -10
  74. package/dist/sites.js.map +1 -1
  75. package/dist/tag-selector.js +12 -11
  76. package/dist/tag-selector.js.map +1 -1
  77. package/dist/vertical-video.js +1 -1
  78. package/package.json +17 -34
  79. package/registry/account-menu.json +4 -2
  80. package/registry/account-settings.json +4 -2
  81. package/registry/achievement.json +4 -2
  82. package/registry/action-bar.json +4 -2
  83. package/registry/action-sheet.json +2 -0
  84. package/registry/activity-feed.json +4 -2
  85. package/registry/agenda.json +4 -2
  86. package/registry/alert.json +4 -2
  87. package/registry/analysis-report.json +4 -2
  88. package/registry/anatomy-plate.json +4 -2
  89. package/registry/app-frame.json +9 -39
  90. package/registry/app-header.json +4 -2
  91. package/registry/app-shell.json +4 -2
  92. package/registry/argument-card.json +4 -2
  93. package/registry/audio-player.json +4 -2
  94. package/registry/auth-layout.json +4 -2
  95. package/registry/avatar.json +5 -3
  96. package/registry/badge.json +4 -2
  97. package/registry/bird-plate.json +4 -2
  98. package/registry/button.json +4 -2
  99. package/registry/captcha.json +4 -2
  100. package/registry/card-grid.json +4 -2
  101. package/registry/card.json +4 -2
  102. package/registry/catalogue-page.json +4 -2
  103. package/registry/changelog-page.json +4 -2
  104. package/registry/chapter.json +4 -2
  105. package/registry/chat.json +4 -2
  106. package/registry/checkbox.json +4 -2
  107. package/registry/chip-link.json +4 -2
  108. package/registry/chip-row.json +4 -2
  109. package/registry/chip.json +4 -2
  110. package/registry/choice-grid.json +4 -2
  111. package/registry/cn.json +2 -0
  112. package/registry/code-block.json +4 -2
  113. package/registry/collection-switcher.json +4 -2
  114. package/registry/combobox.json +4 -2
  115. package/registry/command.json +4 -2
  116. package/registry/comparison-table.json +4 -2
  117. package/registry/component-page.json +4 -2
  118. package/registry/confirm-button.json +4 -2
  119. package/registry/contact-page.json +4 -2
  120. package/registry/continue-prompt.json +4 -2
  121. package/registry/copy-button.json +4 -2
  122. package/registry/countdown.json +4 -2
  123. package/registry/cover-hero.json +4 -2
  124. package/registry/cta-panel.json +4 -2
  125. package/registry/dashboard-layout.json +4 -2
  126. package/registry/data-table.json +4 -2
  127. package/registry/date-picker.json +4 -2
  128. package/registry/decision-list.json +4 -2
  129. package/registry/description-list.json +4 -2
  130. package/registry/desktop-window.json +5 -3
  131. package/registry/detail-layout.json +4 -2
  132. package/registry/dialog.json +4 -2
  133. package/registry/docs-article-page.json +4 -2
  134. package/registry/docs-hub-page.json +4 -2
  135. package/registry/docs-layout.json +4 -2
  136. package/registry/docs-nav.json +4 -2
  137. package/registry/document-viewer.json +4 -2
  138. package/registry/doodle.json +4 -2
  139. package/registry/drop-overlay.json +4 -2
  140. package/registry/dropdown-menu.json +4 -2
  141. package/registry/elephant.json +6 -6
  142. package/registry/embed-facade.json +4 -2
  143. package/registry/empty-state.json +4 -2
  144. package/registry/engine-flow.json +5 -4
  145. package/registry/entity-header.json +4 -2
  146. package/registry/environment-notice.json +4 -2
  147. package/registry/error-page.json +4 -2
  148. package/registry/examples/media-grid/feed.js +3 -4
  149. package/registry/examples/media-grid/feed.tsx +3 -4
  150. package/registry/examples/media-grid/uniform.js +2 -2
  151. package/registry/examples/media-grid/uniform.tsx +2 -2
  152. package/registry/fab.json +2 -0
  153. package/registry/field.json +4 -2
  154. package/registry/file-upload.json +4 -2
  155. package/registry/filter-bar.json +5 -3
  156. package/registry/flock.json +4 -2
  157. package/registry/footnote.json +4 -2
  158. package/registry/force-update-screen.json +4 -2
  159. package/registry/form-flow.json +3 -1
  160. package/registry/form.json +4 -2
  161. package/registry/gallery-page.json +4 -2
  162. package/registry/genui.json +4 -2
  163. package/registry/glossary-term.json +4 -2
  164. package/registry/glossary.json +4 -2
  165. package/registry/glow-card.json +4 -2
  166. package/registry/goal-gauge.json +4 -2
  167. package/registry/grade-stamp.json +4 -2
  168. package/registry/grid.json +2 -0
  169. package/registry/header.json +2 -0
  170. package/registry/how-it-works-page.json +4 -2
  171. package/registry/image-cropper.json +4 -2
  172. package/registry/image-viewer.json +2 -0
  173. package/registry/index.json +18 -78
  174. package/registry/kanban.json +4 -2
  175. package/registry/kbd.json +4 -2
  176. package/registry/kind-config-editor.json +4 -2
  177. package/registry/kpi-explained.json +4 -2
  178. package/registry/landing-page.json +4 -2
  179. package/registry/landscape.json +4 -2
  180. package/registry/language-switch.json +4 -2
  181. package/registry/legal-page.json +4 -2
  182. package/registry/link-card.json +4 -2
  183. package/registry/list-detail.json +2 -0
  184. package/registry/list.json +4 -2
  185. package/registry/loader.json +4 -2
  186. package/registry/longform-page.json +4 -2
  187. package/registry/maintenance-screen.json +4 -2
  188. package/registry/map.json +5 -3
  189. package/registry/margin-layout.json +4 -2
  190. package/registry/markdown.json +4 -2
  191. package/registry/marketing-layout.json +4 -2
  192. package/registry/marquee.json +4 -2
  193. package/registry/mascot-quote.json +4 -2
  194. package/registry/mascot-state.json +4 -2
  195. package/registry/mascots.json +4 -2
  196. package/registry/match-dialog.json +5 -3
  197. package/registry/media-capture.json +4 -2
  198. package/registry/media-gallery.json +4 -2
  199. package/registry/media-grid.json +7 -5
  200. package/registry/media-picker.json +2 -0
  201. package/registry/meter.json +4 -2
  202. package/registry/money-input.json +5 -3
  203. package/registry/nav-bar.json +9 -39
  204. package/registry/next-actions.json +4 -2
  205. package/registry/notification-preferences.json +4 -2
  206. package/registry/number-ticker.json +4 -2
  207. package/registry/onboarding.json +2 -0
  208. package/registry/opening-hours.json +5 -4
  209. package/registry/otp-input.json +2 -0
  210. package/registry/page-header.json +4 -2
  211. package/registry/page-hero.json +4 -2
  212. package/registry/page-index.json +4 -2
  213. package/registry/page.json +4 -2
  214. package/registry/pagination.json +4 -2
  215. package/registry/permission-prompt.json +2 -0
  216. package/registry/photo-grid.json +4 -2
  217. package/registry/pointer-light.json +4 -2
  218. package/registry/popover.json +4 -2
  219. package/registry/price-catalogue-editor.json +5 -3
  220. package/registry/pricing-page.json +4 -2
  221. package/registry/product-page.json +4 -2
  222. package/registry/profile-card.json +4 -2
  223. package/registry/progress.json +4 -2
  224. package/registry/promise-card.json +4 -2
  225. package/registry/promo-code-field.json +5 -3
  226. package/registry/proposal.json +5 -3
  227. package/registry/pull-to-refresh.json +2 -0
  228. package/registry/qr-code.json +4 -2
  229. package/registry/quota-meter.json +4 -2
  230. package/registry/radio-group.json +4 -2
  231. package/registry/rail-nav.json +9 -39
  232. package/registry/recipes.json +4 -2
  233. package/registry/retro-tv.json +9 -3
  234. package/registry/reviews.json +4 -2
  235. package/registry/router.json +4 -2
  236. package/registry/schema-form.json +5 -3
  237. package/registry/screen.json +2 -0
  238. package/registry/scroll-stage.json +4 -2
  239. package/registry/search-field.json +4 -2
  240. package/registry/section-backdrop.json +4 -2
  241. package/registry/segmented.json +2 -0
  242. package/registry/separator.json +4 -2
  243. package/registry/service-card.json +4 -2
  244. package/registry/settings-layout.json +4 -2
  245. package/registry/shop-composer.json +4 -2
  246. package/registry/shop-gallery.json +5 -3
  247. package/registry/shop.json +5 -3
  248. package/registry/showcase.json +4 -2
  249. package/registry/signature.json +4 -2
  250. package/registry/site-cahier.json +4 -2
  251. package/registry/site-footer.json +9 -39
  252. package/registry/sites.json +6 -4
  253. package/registry/skeleton.json +4 -2
  254. package/registry/skip-link.json +4 -2
  255. package/registry/slider.json +4 -2
  256. package/registry/slot-picker.json +4 -2
  257. package/registry/slot.json +4 -2
  258. package/registry/specimen-tag.json +4 -2
  259. package/registry/speed-lines.json +4 -2
  260. package/registry/spinner.json +4 -2
  261. package/registry/splash-handoff.json +2 -0
  262. package/registry/split-view.json +4 -2
  263. package/registry/stage-banner.json +4 -2
  264. package/registry/stat.json +4 -2
  265. package/registry/state-screen.json +3 -1
  266. package/registry/status-chip.json +4 -2
  267. package/registry/status-page.json +4 -2
  268. package/registry/step-progress.json +4 -2
  269. package/registry/step-showcase.json +4 -2
  270. package/registry/stepper.json +4 -2
  271. package/registry/sticky-action.json +4 -2
  272. package/registry/stuck.json +4 -2
  273. package/registry/swipe-deck.json +5 -3
  274. package/registry/swipeable-row.json +2 -0
  275. package/registry/switch.json +4 -2
  276. package/registry/tab-bar.json +2 -0
  277. package/registry/tabs.json +4 -2
  278. package/registry/tag-input.json +4 -2
  279. package/registry/tag-selector.json +5 -3
  280. package/registry/taped-photo.json +4 -2
  281. package/registry/terminal-replay.json +4 -2
  282. package/registry/text-style.json +4 -2
  283. package/registry/theme.json +4 -2
  284. package/registry/toast.json +4 -2
  285. package/registry/toc.json +4 -2
  286. package/registry/tooltip.json +4 -2
  287. package/registry/tree-view.json +4 -2
  288. package/registry/txt.json +2 -0
  289. package/registry/update-prompt.json +4 -2
  290. package/registry/upload-queue.json +4 -2
  291. package/registry/usage.json +5 -3
  292. package/registry/verified-badge.json +4 -2
  293. package/registry/versus-card.json +4 -2
  294. package/registry/vertical-video.json +4 -2
  295. package/registry/video-player.json +4 -2
  296. package/registry/video-trimmer.json +4 -2
  297. package/registry/virtual.json +4 -2
  298. package/registry/wall.json +4 -2
  299. package/registry/waveform.json +4 -2
  300. package/dist/chunk-4JO5GSSD.js.map +0 -1
  301. package/dist/chunk-5MPPIGCB.js.map +0 -1
  302. package/dist/chunk-B2HS5EAH.js +0 -527
  303. package/dist/chunk-B2HS5EAH.js.map +0 -1
  304. package/dist/chunk-T5NZSKWT.js.map +0 -1
  305. package/dist/chunk-TISDOZH3.js.map +0 -1
  306. package/dist/chunk-Y5YBTHVD.js.map +0 -1
  307. package/dist/iso.d.ts +0 -401
  308. package/dist/iso.js +0 -363
  309. package/dist/iso.js.map +0 -1
  310. package/dist/meta-row.d.ts +0 -55
  311. package/dist/meta-row.js +0 -35
  312. package/dist/meta-row.js.map +0 -1
  313. package/registry/examples/iso/compose.d.ts +0 -4
  314. package/registry/examples/iso/compose.js +0 -22
  315. package/registry/examples/iso/compose.tsx +0 -19
  316. package/registry/examples/iso/creator-hero.d.ts +0 -4
  317. package/registry/examples/iso/creator-hero.js +0 -29
  318. package/registry/examples/iso/creator-hero.tsx +0 -23
  319. package/registry/examples/iso/orazaka-hero.d.ts +0 -4
  320. package/registry/examples/iso/orazaka-hero.js +0 -26
  321. package/registry/examples/iso/orazaka-hero.tsx +0 -21
  322. package/registry/examples/iso/still.d.ts +0 -4
  323. package/registry/examples/iso/still.js +0 -21
  324. package/registry/examples/iso/still.tsx +0 -15
  325. package/registry/examples/meta-row/native/video.d.ts +0 -4
  326. package/registry/examples/meta-row/native/video.dark.png +0 -0
  327. package/registry/examples/meta-row/native/video.js +0 -11
  328. package/registry/examples/meta-row/native/video.light.png +0 -0
  329. package/registry/examples/meta-row/native/video.tsx +0 -5
  330. package/registry/examples/meta-row/status.d.ts +0 -4
  331. package/registry/examples/meta-row/status.js +0 -12
  332. package/registry/examples/meta-row/status.tsx +0 -7
  333. package/registry/examples/meta-row/video.d.ts +0 -4
  334. package/registry/examples/meta-row/video.js +0 -12
  335. package/registry/examples/meta-row/video.tsx +0 -7
  336. package/registry/iso.json +0 -1369
  337. package/registry/meta-row.json +0 -216
  338. /package/dist/{chunk-GRVIZTT2.js.map → chunk-GSQRSWOE.js.map} +0 -0
package/dist/native.js CHANGED
@@ -4,11 +4,7 @@ var DEFAULT_AVATAR_BASE = "https://krizaka-assets.b-cdn.net/people/defaults/v1";
4
4
  var BRANDS = {
5
5
  krizaka: { from: [217, 92, 53], to: [217, 92, 68], spread: 14 },
6
6
  orazaka: { from: [26, 90.5, 37.1], to: [26, 92, 45], spread: 7 },
7
- orochia: { from: [262.1, 83.3, 57.8], to: [328.6, 85.5, 70.2], spread: 12 },
8
- yasakia: { from: [156, 92, 32], to: [178, 90, 32], spread: 12 },
9
- yororis: { from: [34, 46, 44], to: [104, 28, 42], spread: 10 },
10
7
  yomizaka: { from: [232, 50, 55], to: [248, 50, 58], spread: 10 },
11
- kachizaka: { from: [226, 80, 56], to: [44, 92, 33], spread: 10 },
12
8
  akinaza: { from: [140, 48, 34], to: [22, 60, 46], spread: 10 }
13
9
  };
14
10
  var MIN_CONTRAST = 3.2;
@@ -427,40 +423,6 @@ var marks = /* @__PURE__ */ Object.freeze({
427
423
  "#dc6509"
428
424
  ]
429
425
  ],
430
- "orochia": [
431
- [
432
- "0%",
433
- "#7c3aed"
434
- ],
435
- [
436
- "55%",
437
- "#d946ef"
438
- ],
439
- [
440
- "100%",
441
- "#f472b6"
442
- ]
443
- ],
444
- "yasakia": [
445
- [
446
- "0%",
447
- "#079d61"
448
- ],
449
- [
450
- "100%",
451
- "#089b96"
452
- ]
453
- ],
454
- "yororis": [
455
- [
456
- "0%",
457
- "#a4773d"
458
- ],
459
- [
460
- "100%",
461
- "#5d894d"
462
- ]
463
- ],
464
426
  "yomizaka": [
465
427
  [
466
428
  "0%",
@@ -471,16 +433,6 @@ var marks = /* @__PURE__ */ Object.freeze({
471
433
  "#6d5ec9"
472
434
  ]
473
435
  ],
474
- "kachizaka": [
475
- [
476
- "0%",
477
- "#355fe9"
478
- ],
479
- [
480
- "100%",
481
- "#a27807"
482
- ]
483
- ],
484
436
  "akinaza": [
485
437
  [
486
438
  "0%",
@@ -818,7 +770,7 @@ function useMarkMotion(size, animated, spinMs = 3e4) {
818
770
  import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
819
771
  function AkinazaMark({ size = 48, animated = true, title, neutral }) {
820
772
  const { theme } = useTheme();
821
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, AKINAZA.motion.spin * 1e3);
773
+ const { Animated: Animated28, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, AKINAZA.motion.spin * 1e3);
822
774
  const id = useSvgId("akm");
823
775
  const viewBox = size < 48 ? AKINAZA.croppedViewBox : AKINAZA.viewBox;
824
776
  const stroke = neutral ?? theme.textMuted;
@@ -834,11 +786,11 @@ function AkinazaMark({ size = 48, animated = true, title, neutral }) {
834
786
  /* @__PURE__ */ jsx5(Path, { d: AKINAZA.cut, fill: AKINAZA.copper }),
835
787
  AKINAZA.rings.r.map((r) => /* @__PURE__ */ jsx5(Circle, { cx: AKINAZA.rings.cx, cy: AKINAZA.rings.cy, r, stroke: AKINAZA.highlight, strokeOpacity: AKINAZA.rings.opacity, strokeWidth: AKINAZA.rings.width, fill: "none" }, r))
836
788
  ] }),
837
- /* @__PURE__ */ jsx5(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs3(Svg, { viewBox, style: layer, children: [
789
+ /* @__PURE__ */ jsx5(Animated28.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs3(Svg, { viewBox, style: layer, children: [
838
790
  /* @__PURE__ */ jsx5(Circle, { cx: AKINAZA.center, cy: AKINAZA.center, r: AKINAZA.orbit.r, stroke, strokeWidth: AKINAZA.orbit.width, strokeDasharray: AKINAZA.orbit.dash, opacity: 0.6, fill: "none" }),
839
791
  /* @__PURE__ */ jsx5(Circle, { cx: AKINAZA.node.at[0], cy: AKINAZA.node.at[1], r: AKINAZA.node.r, fill: AKINAZA.copper })
840
792
  ] }) }),
841
- /* @__PURE__ */ jsx5(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs3(Svg, { viewBox, style: layer, children: [
793
+ /* @__PURE__ */ jsx5(Animated28.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs3(Svg, { viewBox, style: layer, children: [
842
794
  /* @__PURE__ */ jsx5(Circle, { cx: AKINAZA.heart.cx, cy: AKINAZA.heart.cy, r: AKINAZA.heart.r, fill: AKINAZA.copper }),
843
795
  /* @__PURE__ */ jsx5(Circle, { cx: AKINAZA.heart.cx, cy: AKINAZA.heart.cy, r: AKINAZA.heart.inner, fill: AKINAZA.highlight })
844
796
  ] }) })
@@ -3270,82 +3222,19 @@ var styles25 = StyleSheet25.create({
3270
3222
  });
3271
3223
 
3272
3224
  // src/native/form-flow.tsx
3273
- import * as React24 from "react";
3274
- import { StyleSheet as StyleSheet29, View as View36 } from "react-native";
3225
+ import * as React23 from "react";
3226
+ import { StyleSheet as StyleSheet29, View as View32 } from "react-native";
3275
3227
 
3276
3228
  // src/native/screen.tsx
3277
- import { KeyboardAvoidingView, Platform as Platform2, ScrollView as ScrollView5, StyleSheet as StyleSheet27, View as View34 } from "react-native";
3229
+ import { KeyboardAvoidingView, Platform as Platform2, ScrollView as ScrollView5, StyleSheet as StyleSheet27, View as View30 } from "react-native";
3278
3230
 
3279
3231
  // src/native/pull-to-refresh.tsx
3280
- import * as React23 from "react";
3281
- import { AccessibilityInfo as AccessibilityInfo5, Animated as Animated7, RefreshControl, StyleSheet as StyleSheet26, View as View33 } from "react-native";
3282
-
3283
- // src/native/KachizakaMark.tsx
3284
- import { View as View26 } from "react-native";
3285
- import Svg10, { Circle as Circle4, Defs as Defs4, Path as Path8, RadialGradient as RadialGradient2, Stop as Stop4 } from "react-native-svg";
3286
-
3287
- // src/marks/kachizaka-geometry.ts
3288
- var cobalt = marks.kachizaka[0][1];
3289
- var gold = marks.kachizaka[marks.kachizaka.length - 1][1];
3290
- var KACHIZAKA = {
3291
- viewBox: "0 0 400 400",
3292
- croppedViewBox: "80 80 240 240",
3293
- center: 200,
3294
- cobalt,
3295
- gold,
3296
- /** The steps: second (left, cut top-left), first (centre, both top corners cut, in gold), third (right, cut top-right). */
3297
- steps: {
3298
- second: "M102 240 L122 220 H162 V296 H102 Z",
3299
- first: "M170 192 L188 174 H212 L230 192 V296 H170 Z",
3300
- third: "M238 248 H278 L298 268 V296 H238 Z"
3301
- },
3302
- /** The lit node over the winner: a gold diamond (half-diagonal 22, softened by a 6-unit round stroke), its light inside. */
3303
- node: { d: "M200 102 L222 124 L200 146 L178 124 Z", light: "M200 116.1 L207.9 124 L200 131.9 L192.1 124 Z", soften: 6 },
3304
- highlight: "#fffbea",
3305
- gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks.kachizaka },
3306
- /** The ball: one node on the orbit, that turns with it. */
3307
- ball: { r: 9, at: [200, 40] },
3308
- glow: { color: gold, opacity: 0.18 },
3309
- pulse: { color: gold, low: 0.35, high: 0.75 },
3310
- motion: { spin: 28, breath: 3.2 },
3311
- orbit: { r: 160, dash: "8 8", width: 1.5 },
3312
- ring: { r: 134, width: 1 }
3313
- };
3314
-
3315
- // src/native/KachizakaMark.tsx
3316
- import { jsx as jsx30, jsxs as jsxs27 } from "react/jsx-runtime";
3317
- function KachizakaMark({ size = 48, animated = true, title, neutral }) {
3318
- const { theme } = useTheme();
3319
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, KACHIZAKA.motion.spin * 1e3);
3320
- const id = useSvgId("kcm");
3321
- const viewBox = size < 48 ? KACHIZAKA.croppedViewBox : KACHIZAKA.viewBox;
3322
- const stroke = neutral ?? theme.textMuted;
3323
- return /* @__PURE__ */ jsxs27(View26, { style: { width: size, height: size }, ...markA11y(title), children: [
3324
- /* @__PURE__ */ jsxs27(Svg10, { viewBox, style: layer, children: [
3325
- /* @__PURE__ */ jsx30(Defs4, { children: /* @__PURE__ */ jsxs27(RadialGradient2, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3326
- /* @__PURE__ */ jsx30(Stop4, { offset: "0%", stopColor: KACHIZAKA.glow.color, stopOpacity: KACHIZAKA.glow.opacity }),
3327
- /* @__PURE__ */ jsx30(Stop4, { offset: "100%", stopColor: KACHIZAKA.glow.color, stopOpacity: 0 })
3328
- ] }) }),
3329
- size >= 48 ? /* @__PURE__ */ jsx30(Circle4, { cx: KACHIZAKA.center, cy: KACHIZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3330
- /* @__PURE__ */ jsx30(Circle4, { cx: KACHIZAKA.center, cy: KACHIZAKA.center, r: KACHIZAKA.ring.r, stroke, strokeWidth: KACHIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3331
- /* @__PURE__ */ jsx30(Path8, { d: KACHIZAKA.steps.second, fill: KACHIZAKA.cobalt }),
3332
- /* @__PURE__ */ jsx30(Path8, { d: KACHIZAKA.steps.first, fill: KACHIZAKA.gold }),
3333
- /* @__PURE__ */ jsx30(Path8, { d: KACHIZAKA.steps.third, fill: KACHIZAKA.cobalt })
3334
- ] }),
3335
- /* @__PURE__ */ jsx30(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs27(Svg10, { viewBox, style: layer, children: [
3336
- /* @__PURE__ */ jsx30(Circle4, { cx: KACHIZAKA.center, cy: KACHIZAKA.center, r: KACHIZAKA.orbit.r, stroke, strokeWidth: KACHIZAKA.orbit.width, strokeDasharray: KACHIZAKA.orbit.dash, opacity: 0.6, fill: "none" }),
3337
- /* @__PURE__ */ jsx30(Circle4, { cx: KACHIZAKA.ball.at[0], cy: KACHIZAKA.ball.at[1], r: KACHIZAKA.ball.r, fill: KACHIZAKA.gold })
3338
- ] }) }),
3339
- /* @__PURE__ */ jsx30(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs27(Svg10, { viewBox, style: layer, children: [
3340
- /* @__PURE__ */ jsx30(Path8, { d: KACHIZAKA.node.d, fill: KACHIZAKA.gold, stroke: KACHIZAKA.gold, strokeWidth: KACHIZAKA.node.soften, strokeLinejoin: "round" }),
3341
- /* @__PURE__ */ jsx30(Path8, { d: KACHIZAKA.node.light, fill: KACHIZAKA.highlight })
3342
- ] }) })
3343
- ] });
3344
- }
3232
+ import * as React22 from "react";
3233
+ import { AccessibilityInfo as AccessibilityInfo4, Animated as Animated6, RefreshControl, StyleSheet as StyleSheet26, View as View29 } from "react-native";
3345
3234
 
3346
3235
  // src/native/KrizakaMark.tsx
3347
- import { View as View27 } from "react-native";
3348
- 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";
3236
+ import { View as View26 } from "react-native";
3237
+ import Svg10, { Circle as Circle4, Defs as Defs4, G as Group, LinearGradient as LinearGradient3, Path as Path8, RadialGradient as RadialGradient2, Stop as Stop4 } from "react-native-svg";
3349
3238
 
3350
3239
  // src/marks/krizaka-geometry.ts
3351
3240
  var KRIZAKA = {
@@ -3357,7 +3246,7 @@ var KRIZAKA = {
3357
3246
  stroke: 22,
3358
3247
  ink: { x1: 70, y1: 290, x2: 290, y2: 70 },
3359
3248
  blue: { x1: 180, y1: 180, x2: 300, y2: 60, stops: marks.krizaka },
3360
- /** The vertex where the shield opens: a node (the serpent's head in Orochia's grammar). */
3249
+ /** The vertex where the shield opens: a node (the head of the line). */
3361
3250
  node: { cx: 259.7, cy: 134, r: 19, inner: 6 },
3362
3251
  core: { cx: 180, cy: 180, r: 24, inner: 8 },
3363
3252
  highlight: "#ddeaf4",
@@ -3367,39 +3256,39 @@ var KRIZAKA = {
3367
3256
  };
3368
3257
 
3369
3258
  // src/native/KrizakaMark.tsx
3370
- import { Fragment as Fragment6, jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
3259
+ import { Fragment as Fragment6, jsx as jsx30, jsxs as jsxs27 } from "react/jsx-runtime";
3371
3260
  function KrizakaMark({ size = 48, animated = true, title, neutral }) {
3372
3261
  const { theme } = useTheme();
3373
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated);
3262
+ const { Animated: Animated28, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated);
3374
3263
  const id = useSvgId("kzm");
3375
3264
  const viewBox = size < 48 ? KRIZAKA.croppedViewBox : KRIZAKA.viewBox;
3376
3265
  const stroke = neutral ?? theme.textMuted;
3377
- const blue = /* @__PURE__ */ jsx31(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__ */ jsx31(Stop5, { offset, stopColor: color }, offset)) });
3378
- const dot = (c) => /* @__PURE__ */ jsxs28(Fragment6, { children: [
3379
- /* @__PURE__ */ jsx31(Circle5, { cx: c.cx, cy: c.cy, r: c.r, fill: `url(#${id}b)` }),
3380
- /* @__PURE__ */ jsx31(Circle5, { cx: c.cx, cy: c.cy, r: c.inner, fill: KRIZAKA.highlight })
3266
+ const blue = /* @__PURE__ */ jsx30(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__ */ jsx30(Stop4, { offset, stopColor: color }, offset)) });
3267
+ const dot = (c) => /* @__PURE__ */ jsxs27(Fragment6, { children: [
3268
+ /* @__PURE__ */ jsx30(Circle4, { cx: c.cx, cy: c.cy, r: c.r, fill: `url(#${id}b)` }),
3269
+ /* @__PURE__ */ jsx30(Circle4, { cx: c.cx, cy: c.cy, r: c.inner, fill: KRIZAKA.highlight })
3381
3270
  ] });
3382
- return /* @__PURE__ */ jsxs28(View27, { style: { width: size, height: size }, ...markA11y(title), children: [
3383
- /* @__PURE__ */ jsxs28(Svg11, { viewBox, style: layer, children: [
3384
- /* @__PURE__ */ jsxs28(Defs5, { children: [
3385
- /* @__PURE__ */ jsxs28(RadialGradient3, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3386
- /* @__PURE__ */ jsx31(Stop5, { offset: "0%", stopColor: KRIZAKA.glow.color, stopOpacity: KRIZAKA.glow.opacity }),
3387
- /* @__PURE__ */ jsx31(Stop5, { offset: "100%", stopColor: KRIZAKA.glow.color, stopOpacity: 0 })
3271
+ return /* @__PURE__ */ jsxs27(View26, { style: { width: size, height: size }, ...markA11y(title), children: [
3272
+ /* @__PURE__ */ jsxs27(Svg10, { viewBox, style: layer, children: [
3273
+ /* @__PURE__ */ jsxs27(Defs4, { children: [
3274
+ /* @__PURE__ */ jsxs27(RadialGradient2, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3275
+ /* @__PURE__ */ jsx30(Stop4, { offset: "0%", stopColor: KRIZAKA.glow.color, stopOpacity: KRIZAKA.glow.opacity }),
3276
+ /* @__PURE__ */ jsx30(Stop4, { offset: "100%", stopColor: KRIZAKA.glow.color, stopOpacity: 0 })
3388
3277
  ] }),
3389
- /* @__PURE__ */ jsxs28(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: [
3390
- /* @__PURE__ */ jsx31(Stop5, { offset: "0%", stopColor: theme.textSecondary }),
3391
- /* @__PURE__ */ jsx31(Stop5, { offset: "100%", stopColor: theme.textPrimary })
3278
+ /* @__PURE__ */ jsxs27(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: [
3279
+ /* @__PURE__ */ jsx30(Stop4, { offset: "0%", stopColor: theme.textSecondary }),
3280
+ /* @__PURE__ */ jsx30(Stop4, { offset: "100%", stopColor: theme.textPrimary })
3392
3281
  ] }),
3393
3282
  blue
3394
3283
  ] }),
3395
- size >= 48 ? /* @__PURE__ */ jsx31(Circle5, { cx: 200, cy: 200, r: 190, fill: `url(#${id}g)` }) : null,
3396
- /* @__PURE__ */ jsx31(Circle5, { cx: 200, cy: 200, r: KRIZAKA.ring.r, stroke, strokeWidth: KRIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3397
- /* @__PURE__ */ jsx31(Group, { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: /* @__PURE__ */ jsx31(Path9, { d: KRIZAKA.shield, stroke: `url(#${id}i)`, strokeWidth: KRIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }) })
3284
+ size >= 48 ? /* @__PURE__ */ jsx30(Circle4, { cx: 200, cy: 200, r: 190, fill: `url(#${id}g)` }) : null,
3285
+ /* @__PURE__ */ jsx30(Circle4, { cx: 200, cy: 200, r: KRIZAKA.ring.r, stroke, strokeWidth: KRIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3286
+ /* @__PURE__ */ jsx30(Group, { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: /* @__PURE__ */ jsx30(Path8, { d: KRIZAKA.shield, stroke: `url(#${id}i)`, strokeWidth: KRIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }) })
3398
3287
  ] }),
3399
- /* @__PURE__ */ jsx31(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsx31(Svg11, { viewBox, style: layer, children: /* @__PURE__ */ jsx31(Circle5, { cx: 200, cy: 200, r: KRIZAKA.orbit.r, stroke, strokeWidth: KRIZAKA.orbit.width, strokeDasharray: KRIZAKA.orbit.dash, opacity: 0.6, fill: "none" }) }) }),
3400
- /* @__PURE__ */ jsx31(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs28(Svg11, { viewBox, style: layer, children: [
3401
- /* @__PURE__ */ jsx31(Defs5, { children: blue }),
3402
- /* @__PURE__ */ jsxs28(Group, { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: [
3288
+ /* @__PURE__ */ jsx30(Animated28.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsx30(Svg10, { viewBox, style: layer, children: /* @__PURE__ */ jsx30(Circle4, { cx: 200, cy: 200, r: KRIZAKA.orbit.r, stroke, strokeWidth: KRIZAKA.orbit.width, strokeDasharray: KRIZAKA.orbit.dash, opacity: 0.6, fill: "none" }) }) }),
3289
+ /* @__PURE__ */ jsx30(Animated28.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs27(Svg10, { viewBox, style: layer, children: [
3290
+ /* @__PURE__ */ jsx30(Defs4, { children: blue }),
3291
+ /* @__PURE__ */ jsxs27(Group, { transform: `translate(${KRIZAKA.offset} ${KRIZAKA.offset})`, children: [
3403
3292
  dot(KRIZAKA.node),
3404
3293
  dot(KRIZAKA.core)
3405
3294
  ] })
@@ -3408,8 +3297,8 @@ function KrizakaMark({ size = 48, animated = true, title, neutral }) {
3408
3297
  }
3409
3298
 
3410
3299
  // src/native/OrazakaMark.tsx
3411
- import { View as View28 } from "react-native";
3412
- import Svg12, { Circle as Circle6, Defs as Defs6, LinearGradient as LinearGradient4, Path as Path10, RadialGradient as RadialGradient4, Stop as Stop6 } from "react-native-svg";
3300
+ import { View as View27 } from "react-native";
3301
+ import Svg11, { Circle as Circle5, Defs as Defs5, LinearGradient as LinearGradient4, Path as Path9, RadialGradient as RadialGradient3, Stop as Stop5 } from "react-native-svg";
3413
3302
 
3414
3303
  // src/marks/orazaka-geometry.ts
3415
3304
  var orange = marks.orazaka[marks.orazaka.length - 1][1];
@@ -3438,198 +3327,41 @@ var ORAZAKA = {
3438
3327
  };
3439
3328
 
3440
3329
  // src/native/OrazakaMark.tsx
3441
- import { jsx as jsx32, jsxs as jsxs29 } from "react/jsx-runtime";
3330
+ import { jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
3442
3331
  function OrazakaMark({ size = 48, animated = true, title, neutral }) {
3443
3332
  const { theme } = useTheme();
3444
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated);
3333
+ const { Animated: Animated28, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated);
3445
3334
  const id = useSvgId("ozm");
3446
3335
  const viewBox = size < 48 ? ORAZAKA.croppedViewBox : ORAZAKA.viewBox;
3447
3336
  const stroke = neutral ?? theme.textMuted;
3448
- const gradient = /* @__PURE__ */ jsx32(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__ */ jsx32(Stop6, { offset, stopColor: color }, offset)) });
3337
+ const gradient = /* @__PURE__ */ jsx31(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__ */ jsx31(Stop5, { offset, stopColor: color }, offset)) });
3449
3338
  const fill = `url(#${id}a)`;
3450
- return /* @__PURE__ */ jsxs29(View28, { style: { width: size, height: size }, ...markA11y(title), children: [
3451
- /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3452
- /* @__PURE__ */ jsx32(Defs6, { children: /* @__PURE__ */ jsxs29(RadialGradient4, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3453
- /* @__PURE__ */ jsx32(Stop6, { offset: "0%", stopColor: ORAZAKA.glow.color, stopOpacity: ORAZAKA.glow.opacity }),
3454
- /* @__PURE__ */ jsx32(Stop6, { offset: "100%", stopColor: ORAZAKA.glow.color, stopOpacity: 0 })
3339
+ return /* @__PURE__ */ jsxs28(View27, { style: { width: size, height: size }, ...markA11y(title), children: [
3340
+ /* @__PURE__ */ jsxs28(Svg11, { viewBox, style: layer, children: [
3341
+ /* @__PURE__ */ jsx31(Defs5, { children: /* @__PURE__ */ jsxs28(RadialGradient3, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3342
+ /* @__PURE__ */ jsx31(Stop5, { offset: "0%", stopColor: ORAZAKA.glow.color, stopOpacity: ORAZAKA.glow.opacity }),
3343
+ /* @__PURE__ */ jsx31(Stop5, { offset: "100%", stopColor: ORAZAKA.glow.color, stopOpacity: 0 })
3455
3344
  ] }) }),
3456
- size >= 48 ? /* @__PURE__ */ jsx32(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3457
- /* @__PURE__ */ jsx32(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" }),
3458
- /* @__PURE__ */ jsx32(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.ring.r, stroke, strokeWidth: ORAZAKA.ring.width, opacity: 0.35, fill: "none" })
3345
+ size >= 48 ? /* @__PURE__ */ jsx31(Circle5, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3346
+ /* @__PURE__ */ jsx31(Circle5, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.orbit.r, stroke, strokeWidth: ORAZAKA.orbit.width, strokeDasharray: ORAZAKA.orbit.dash, opacity: 0.6, fill: "none" }),
3347
+ /* @__PURE__ */ jsx31(Circle5, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.ring.r, stroke, strokeWidth: ORAZAKA.ring.width, opacity: 0.35, fill: "none" })
3459
3348
  ] }),
3460
- /* @__PURE__ */ jsx32(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3461
- /* @__PURE__ */ jsx32(Defs6, { children: gradient }),
3462
- ORAZAKA.shards.map((d) => /* @__PURE__ */ jsx32(Path10, { d, fill, stroke: fill, strokeWidth: ORAZAKA.shardStroke, strokeLinejoin: "round" }, d))
3349
+ /* @__PURE__ */ jsx31(Animated28.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs28(Svg11, { viewBox, style: layer, children: [
3350
+ /* @__PURE__ */ jsx31(Defs5, { children: gradient }),
3351
+ ORAZAKA.shards.map((d) => /* @__PURE__ */ jsx31(Path9, { d, fill, stroke: fill, strokeWidth: ORAZAKA.shardStroke, strokeLinejoin: "round" }, d))
3463
3352
  ] }) }),
3464
- /* @__PURE__ */ jsx32(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3465
- /* @__PURE__ */ jsx32(Defs6, { children: gradient }),
3466
- /* @__PURE__ */ jsx32(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.r, fill }),
3467
- /* @__PURE__ */ jsx32(Circle6, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.inner, fill: ORAZAKA.highlight })
3353
+ /* @__PURE__ */ jsx31(Animated28.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs28(Svg11, { viewBox, style: layer, children: [
3354
+ /* @__PURE__ */ jsx31(Defs5, { children: gradient }),
3355
+ /* @__PURE__ */ jsx31(Circle5, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.r, fill }),
3356
+ /* @__PURE__ */ jsx31(Circle5, { cx: ORAZAKA.center, cy: ORAZAKA.center, r: ORAZAKA.core.inner, fill: ORAZAKA.highlight })
3468
3357
  ] }) })
3469
3358
  ] });
3470
3359
  }
3471
3360
 
3472
- // src/native/OrochiaMark.tsx
3473
- import { useEffect as useEffect10, useState as useState21 } from "react";
3474
- import { AccessibilityInfo as AccessibilityInfo4, Animated as Animated6, Easing as Easing3, View as View29 } from "react-native";
3475
- 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";
3476
-
3477
- // src/marks/orochia-geometry.ts
3478
- var OROCHIA = {
3479
- viewBox: "0 0 400 400",
3480
- croppedViewBox: "86 82 228 228",
3481
- offset: 20,
3482
- body: { x1: 70, y1: 290, x2: 290, y2: 70, stops: marks.orochia },
3483
- flameGradient: { stops: [["0%", "#a855f7"], ["100%", "#f9a8d4"]] },
3484
- glow: { color: "#d946ef", opacity: 0.18 },
3485
- orbit: { r: 160, dash: "8 8", width: 1.5 },
3486
- ring: { r: 134, width: 1 },
3487
- arc: "M259.8,142.8 A88,88 0 1 1 142.8,100.2",
3488
- neck: "M142.8,100.2 A88,88 0 0 1 187.7,92.3",
3489
- tail: "M187.7,92.3 A88,88 0 0 1 221.3,102.3",
3490
- scales: { color: "#fdf4ff", opacity: 0.45, width: 3, dash: "2 14" },
3491
- head: { cx: 253.9, cy: 130.1, rx: 13, ry: 20, rotate: -25 },
3492
- tongue: { d: "M245.4,112.0 L242.0,104.8 L235.0,101.5 M242.0,104.8 L244.0,97.3", color: "#f472b6" },
3493
- eye: { cx: 256.3, cy: 123.5, r: 4.5, color: "#fdf4ff" },
3494
- flame: {
3495
- translate: [127, 120],
3496
- scale: 4.4,
3497
- d: "M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z"
3498
- }
3499
- };
3500
-
3501
- // src/native/OrochiaMark.tsx
3502
- import { jsx as jsx33, jsxs as jsxs30 } from "react/jsx-runtime";
3503
- var CENTER = OROCHIA.offset + 180;
3504
- function OrochiaMark({ size = 48, animated = true, title, neutral: neutralProp }) {
3505
- const { theme } = useTheme();
3506
- const neutral = neutralProp ?? theme.textMuted;
3507
- const [spin] = useState21(() => new Animated6.Value(0));
3508
- const [pulse] = useState21(() => new Animated6.Value(0));
3509
- useEffect10(() => {
3510
- if (!animated) return;
3511
- let loops = [];
3512
- let cancelled = false;
3513
- void AccessibilityInfo4.isReduceMotionEnabled().then((reduce) => {
3514
- if (reduce || cancelled) return;
3515
- loops = [
3516
- Animated6.loop(Animated6.timing(spin, { toValue: 1, duration: 3e4, easing: Easing3.linear, useNativeDriver: true })),
3517
- Animated6.loop(
3518
- Animated6.sequence([
3519
- Animated6.timing(pulse, { toValue: 1, duration: 1600, easing: Easing3.inOut(Easing3.ease), useNativeDriver: true }),
3520
- Animated6.timing(pulse, { toValue: 0, duration: 1600, easing: Easing3.inOut(Easing3.ease), useNativeDriver: true })
3521
- ])
3522
- )
3523
- ];
3524
- loops.forEach((l) => l.start());
3525
- });
3526
- return () => {
3527
- cancelled = true;
3528
- loops.forEach((l) => l.stop());
3529
- };
3530
- }, [animated, spin, pulse]);
3531
- const viewBox = size < 48 ? OROCHIA.croppedViewBox : OROCHIA.viewBox;
3532
- const layer = { position: "absolute", width: size, height: size };
3533
- const a11y = title ? { accessible: true, accessibilityRole: "image", accessibilityLabel: title } : { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants" };
3534
- const bodyGradient = /* @__PURE__ */ jsx33(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__ */ jsx33(Stop7, { offset, stopColor: color }, offset)) });
3535
- return /* @__PURE__ */ jsxs30(View29, { style: { width: size, height: size }, ...a11y, children: [
3536
- /* @__PURE__ */ jsxs30(Svg13, { viewBox, style: layer, children: [
3537
- /* @__PURE__ */ jsx33(Defs7, { children: /* @__PURE__ */ jsxs30(RadialGradient5, { id: "glow", cx: "50%", cy: "50%", r: "50%", children: [
3538
- /* @__PURE__ */ jsx33(Stop7, { offset: "0%", stopColor: OROCHIA.glow.color, stopOpacity: OROCHIA.glow.opacity }),
3539
- /* @__PURE__ */ jsx33(Stop7, { offset: "100%", stopColor: OROCHIA.glow.color, stopOpacity: 0 })
3540
- ] }) }),
3541
- /* @__PURE__ */ jsx33(Circle7, { cx: CENTER, cy: CENTER, r: 170, fill: "url(#glow)" }),
3542
- /* @__PURE__ */ jsx33(Circle7, { cx: CENTER, cy: CENTER, r: OROCHIA.ring.r, stroke: neutral, strokeWidth: OROCHIA.ring.width, opacity: 0.35, fill: "none" })
3543
- ] }),
3544
- /* @__PURE__ */ jsx33(Animated6.View, { style: [layer, { transform: [{ rotate: spin.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "360deg"] }) }] }], children: /* @__PURE__ */ jsx33(Svg13, { viewBox, style: layer, children: /* @__PURE__ */ jsx33(Circle7, { cx: CENTER, cy: CENTER, r: OROCHIA.orbit.r, stroke: neutral, strokeWidth: OROCHIA.orbit.width, strokeDasharray: OROCHIA.orbit.dash, opacity: 0.6, fill: "none" }) }) }),
3545
- /* @__PURE__ */ jsxs30(Svg13, { viewBox, style: layer, children: [
3546
- /* @__PURE__ */ jsx33(Defs7, { children: bodyGradient }),
3547
- /* @__PURE__ */ jsxs30(Group2, { transform: `translate(${OROCHIA.offset} ${OROCHIA.offset})`, children: [
3548
- /* @__PURE__ */ jsx33(Path11, { d: OROCHIA.arc, stroke: "url(#body)", strokeWidth: 22, strokeLinecap: "round", fill: "none" }),
3549
- /* @__PURE__ */ jsx33(Path11, { d: OROCHIA.arc, stroke: OROCHIA.scales.color, strokeOpacity: OROCHIA.scales.opacity, strokeWidth: OROCHIA.scales.width, strokeLinecap: "round", strokeDasharray: OROCHIA.scales.dash, fill: "none" }),
3550
- /* @__PURE__ */ jsx33(Path11, { d: OROCHIA.neck, stroke: "url(#body)", strokeWidth: 14, strokeLinecap: "round", fill: "none" }),
3551
- /* @__PURE__ */ jsx33(Path11, { d: OROCHIA.tail, stroke: "url(#body)", strokeWidth: 6, strokeLinecap: "round", fill: "none" }),
3552
- /* @__PURE__ */ jsx33(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)" }),
3553
- /* @__PURE__ */ jsx33(Path11, { d: OROCHIA.tongue.d, stroke: OROCHIA.tongue.color, strokeWidth: 3, strokeLinecap: "round", fill: "none" })
3554
- ] })
3555
- ] }),
3556
- /* @__PURE__ */ jsx33(Animated6.View, { style: [layer, { opacity: pulse.interpolate({ inputRange: [0, 1], outputRange: [0.85, 1] }) }], children: /* @__PURE__ */ jsxs30(Svg13, { viewBox, style: layer, children: [
3557
- /* @__PURE__ */ jsx33(Defs7, { children: /* @__PURE__ */ jsx33(LinearGradient5, { id: "flame", x1: "50%", y1: "100%", x2: "50%", y2: "0%", children: OROCHIA.flameGradient.stops.map(([offset, color]) => /* @__PURE__ */ jsx33(Stop7, { offset, stopColor: color }, offset)) }) }),
3558
- /* @__PURE__ */ jsxs30(Group2, { transform: `translate(${OROCHIA.offset} ${OROCHIA.offset})`, children: [
3559
- /* @__PURE__ */ jsx33(Circle7, { cx: OROCHIA.eye.cx, cy: OROCHIA.eye.cy, r: OROCHIA.eye.r, fill: OROCHIA.eye.color }),
3560
- /* @__PURE__ */ jsx33(Path11, { d: OROCHIA.flame.d, transform: `translate(${OROCHIA.flame.translate[0]} ${OROCHIA.flame.translate[1]}) scale(${OROCHIA.flame.scale})`, fill: "url(#flame)" })
3561
- ] })
3562
- ] }) })
3563
- ] });
3564
- }
3565
-
3566
- // src/native/YasakiaMark.tsx
3567
- import { View as View30 } from "react-native";
3568
- import Svg14, { Circle as Circle8, Defs as Defs8, LinearGradient as LinearGradient6, Path as Path12, RadialGradient as RadialGradient6, Stop as Stop8 } from "react-native-svg";
3569
-
3570
- // src/marks/yasakia-geometry.ts
3571
- var turquoise = marks.yasakia[marks.yasakia.length - 1][1];
3572
- var YASAKIA = {
3573
- viewBox: "0 0 400 400",
3574
- croppedViewBox: "80 80 240 240",
3575
- center: 200,
3576
- bubble: { cx: 200, cy: 200, r: 86 },
3577
- /** The two tails, out of the bubble at 115°–160° and, turned 180° about the centre, at 295°–340°. */
3578
- tails: [
3579
- "M163.7 277.9 Q138 294 106 304 Q124 270 119.2 229.4 Z",
3580
- "M236.3 122.1 Q262 106 294 96 Q276 130 280.8 170.6 Z"
3581
- ],
3582
- /** The spark: a diamond of light (half-diagonal 24, softened by a 6-unit round stroke). */
3583
- spark: { d: "M200 176 L224 200 L200 224 L176 200 Z", soften: 6 },
3584
- highlight: "#f0fdfa",
3585
- gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks.yasakia },
3586
- /** The two people: one node on the orbit, that turns with it. */
3587
- node: { r: 9, at: [200, 40] },
3588
- glow: { color: turquoise, opacity: 0.16 },
3589
- pulse: { color: turquoise, low: 0.3, high: 0.6 },
3590
- motion: { spin: 30, breath: 3.2 },
3591
- orbit: { r: 160, dash: "8 8", width: 1.5 },
3592
- ring: { r: 134, width: 1 }
3593
- };
3594
-
3595
- // src/native/YasakiaMark.tsx
3596
- import { jsx as jsx34, jsxs as jsxs31 } from "react/jsx-runtime";
3597
- function YasakiaMark({ size = 48, animated = true, title, neutral }) {
3598
- const { theme } = useTheme();
3599
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, YASAKIA.motion.spin * 1e3);
3600
- const id = useSvgId("yzm");
3601
- const viewBox = size < 48 ? YASAKIA.croppedViewBox : YASAKIA.viewBox;
3602
- const stroke = neutral ?? theme.textMuted;
3603
- const gradient = /* @__PURE__ */ jsx34(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__ */ jsx34(Stop8, { offset, stopColor: color }, offset)) });
3604
- const fill = `url(#${id}a)`;
3605
- return /* @__PURE__ */ jsxs31(View30, { style: { width: size, height: size }, ...markA11y(title), children: [
3606
- /* @__PURE__ */ jsxs31(Svg14, { viewBox, style: layer, children: [
3607
- /* @__PURE__ */ jsxs31(Defs8, { children: [
3608
- /* @__PURE__ */ jsxs31(RadialGradient6, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3609
- /* @__PURE__ */ jsx34(Stop8, { offset: "0%", stopColor: YASAKIA.glow.color, stopOpacity: YASAKIA.glow.opacity }),
3610
- /* @__PURE__ */ jsx34(Stop8, { offset: "100%", stopColor: YASAKIA.glow.color, stopOpacity: 0 })
3611
- ] }),
3612
- gradient
3613
- ] }),
3614
- size >= 48 ? /* @__PURE__ */ jsx34(Circle8, { cx: YASAKIA.center, cy: YASAKIA.center, r: 190, fill: `url(#${id}g)` }) : null,
3615
- /* @__PURE__ */ jsx34(Circle8, { cx: YASAKIA.center, cy: YASAKIA.center, r: YASAKIA.ring.r, stroke, strokeWidth: YASAKIA.ring.width, opacity: 0.35, fill: "none" }),
3616
- /* @__PURE__ */ jsx34(Circle8, { cx: YASAKIA.bubble.cx, cy: YASAKIA.bubble.cy, r: YASAKIA.bubble.r, fill }),
3617
- /* @__PURE__ */ jsx34(Path12, { d: YASAKIA.tails.join(" "), fill })
3618
- ] }),
3619
- /* @__PURE__ */ jsx34(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs31(Svg14, { viewBox, style: layer, children: [
3620
- /* @__PURE__ */ jsx34(Defs8, { children: gradient }),
3621
- /* @__PURE__ */ jsx34(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" }),
3622
- /* @__PURE__ */ jsx34(Circle8, { cx: YASAKIA.node.at[0], cy: YASAKIA.node.at[1], r: YASAKIA.node.r, fill })
3623
- ] }) }),
3624
- /* @__PURE__ */ jsx34(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsx34(Svg14, { viewBox, style: layer, children: /* @__PURE__ */ jsx34(Path12, { d: YASAKIA.spark.d, fill: YASAKIA.highlight, stroke: YASAKIA.highlight, strokeWidth: YASAKIA.spark.soften, strokeLinejoin: "round" }) }) })
3625
- ] });
3626
- }
3627
- var YazakiaMark = YasakiaMark;
3628
-
3629
3361
  // src/native/YomizakaMark.tsx
3630
- import React22 from "react";
3631
- import { View as View31 } from "react-native";
3632
- import Svg15, { Circle as Circle9, Defs as Defs9, LinearGradient as LinearGradient7, Path as Path13, RadialGradient as RadialGradient7, Stop as Stop9 } from "react-native-svg";
3362
+ import React21 from "react";
3363
+ import { View as View28 } from "react-native";
3364
+ import Svg12, { Circle as Circle6, Defs as Defs6, LinearGradient as LinearGradient5, Path as Path10, RadialGradient as RadialGradient4, Stop as Stop6 } from "react-native-svg";
3633
3365
 
3634
3366
  // src/marks/yomizaka-geometry.ts
3635
3367
  var indigo = marks.yomizaka[marks.yomizaka.length - 1][1];
@@ -3662,144 +3394,82 @@ var YOMIZAKA = {
3662
3394
  };
3663
3395
 
3664
3396
  // src/native/YomizakaMark.tsx
3665
- import { jsx as jsx35, jsxs as jsxs32 } from "react/jsx-runtime";
3397
+ import { jsx as jsx32, jsxs as jsxs29 } from "react/jsx-runtime";
3666
3398
  function YomizakaMark({ size = 48, animated = true, title, neutral }) {
3667
3399
  const { theme } = useTheme();
3668
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, YOMIZAKA.motion.spin * 1e3);
3400
+ const { Animated: Animated28, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, YOMIZAKA.motion.spin * 1e3);
3669
3401
  const id = useSvgId("ymm");
3670
3402
  const viewBox = size < 48 ? YOMIZAKA.croppedViewBox : YOMIZAKA.viewBox;
3671
3403
  const stroke = neutral ?? theme.textMuted;
3672
- const gradient = /* @__PURE__ */ jsx35(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__ */ jsx35(Stop9, { offset, stopColor: color }, offset)) });
3404
+ const gradient = /* @__PURE__ */ jsx32(LinearGradient5, { 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__ */ jsx32(Stop6, { offset, stopColor: color }, offset)) });
3673
3405
  const fill = `url(#${id}a)`;
3674
- return /* @__PURE__ */ jsxs32(View31, { style: { width: size, height: size }, ...markA11y(title), children: [
3675
- /* @__PURE__ */ jsxs32(Svg15, { viewBox, style: layer, children: [
3676
- /* @__PURE__ */ jsxs32(Defs9, { children: [
3677
- /* @__PURE__ */ jsxs32(RadialGradient7, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3678
- /* @__PURE__ */ jsx35(Stop9, { offset: "0%", stopColor: YOMIZAKA.glow.color, stopOpacity: YOMIZAKA.glow.opacity }),
3679
- /* @__PURE__ */ jsx35(Stop9, { offset: "100%", stopColor: YOMIZAKA.glow.color, stopOpacity: 0 })
3406
+ return /* @__PURE__ */ jsxs29(View28, { style: { width: size, height: size }, ...markA11y(title), children: [
3407
+ /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3408
+ /* @__PURE__ */ jsxs29(Defs6, { children: [
3409
+ /* @__PURE__ */ jsxs29(RadialGradient4, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3410
+ /* @__PURE__ */ jsx32(Stop6, { offset: "0%", stopColor: YOMIZAKA.glow.color, stopOpacity: YOMIZAKA.glow.opacity }),
3411
+ /* @__PURE__ */ jsx32(Stop6, { offset: "100%", stopColor: YOMIZAKA.glow.color, stopOpacity: 0 })
3680
3412
  ] }),
3681
3413
  gradient
3682
3414
  ] }),
3683
- size >= 48 ? /* @__PURE__ */ jsx35(Circle9, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3684
- /* @__PURE__ */ jsx35(Circle9, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.ring.r, stroke, strokeWidth: YOMIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3685
- /* @__PURE__ */ jsx35(Path13, { d: YOMIZAKA.brow, stroke: fill, strokeWidth: YOMIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
3686
- YOMIZAKA.lenses.map((l) => /* @__PURE__ */ jsx35(Circle9, { cx: l.cx, cy: l.cy, r: l.r, stroke: fill, strokeWidth: YOMIZAKA.stroke, fill: "none" }, l.cx))
3415
+ size >= 48 ? /* @__PURE__ */ jsx32(Circle6, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: 190, fill: `url(#${id}g)` }) : null,
3416
+ /* @__PURE__ */ jsx32(Circle6, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.ring.r, stroke, strokeWidth: YOMIZAKA.ring.width, opacity: 0.35, fill: "none" }),
3417
+ /* @__PURE__ */ jsx32(Path10, { d: YOMIZAKA.brow, stroke: fill, strokeWidth: YOMIZAKA.stroke, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
3418
+ YOMIZAKA.lenses.map((l) => /* @__PURE__ */ jsx32(Circle6, { cx: l.cx, cy: l.cy, r: l.r, stroke: fill, strokeWidth: YOMIZAKA.stroke, fill: "none" }, l.cx))
3687
3419
  ] }),
3688
- /* @__PURE__ */ jsx35(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs32(Svg15, { viewBox, style: layer, children: [
3689
- /* @__PURE__ */ jsx35(Defs9, { children: gradient }),
3690
- /* @__PURE__ */ jsx35(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" }),
3691
- /* @__PURE__ */ jsx35(Circle9, { cx: YOMIZAKA.node.at[0], cy: YOMIZAKA.node.at[1], r: YOMIZAKA.node.r, fill })
3420
+ /* @__PURE__ */ jsx32(Animated28.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3421
+ /* @__PURE__ */ jsx32(Defs6, { children: gradient }),
3422
+ /* @__PURE__ */ jsx32(Circle6, { cx: YOMIZAKA.center, cy: YOMIZAKA.center, r: YOMIZAKA.orbit.r, stroke, strokeWidth: YOMIZAKA.orbit.width, strokeDasharray: YOMIZAKA.orbit.dash, opacity: 0.6, fill: "none" }),
3423
+ /* @__PURE__ */ jsx32(Circle6, { cx: YOMIZAKA.node.at[0], cy: YOMIZAKA.node.at[1], r: YOMIZAKA.node.r, fill })
3692
3424
  ] }) }),
3693
- /* @__PURE__ */ jsx35(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs32(Svg15, { viewBox, style: layer, children: [
3694
- /* @__PURE__ */ jsx35(Defs9, { children: gradient }),
3695
- YOMIZAKA.pupils.map((p) => /* @__PURE__ */ jsxs32(React22.Fragment, { children: [
3696
- /* @__PURE__ */ jsx35(Circle9, { cx: p.cx, cy: p.cy, r: p.r, fill }),
3697
- /* @__PURE__ */ jsx35(Circle9, { cx: p.cx, cy: p.cy, r: p.inner, fill: YOMIZAKA.highlight })
3425
+ /* @__PURE__ */ jsx32(Animated28.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs29(Svg12, { viewBox, style: layer, children: [
3426
+ /* @__PURE__ */ jsx32(Defs6, { children: gradient }),
3427
+ YOMIZAKA.pupils.map((p) => /* @__PURE__ */ jsxs29(React21.Fragment, { children: [
3428
+ /* @__PURE__ */ jsx32(Circle6, { cx: p.cx, cy: p.cy, r: p.r, fill }),
3429
+ /* @__PURE__ */ jsx32(Circle6, { cx: p.cx, cy: p.cy, r: p.inner, fill: YOMIZAKA.highlight })
3698
3430
  ] }, p.cx))
3699
3431
  ] }) })
3700
3432
  ] });
3701
3433
  }
3702
3434
 
3703
- // src/native/YororisMark.tsx
3704
- import { View as View32 } from "react-native";
3705
- import Svg16, { Circle as Circle10, Defs as Defs10, Path as Path14, RadialGradient as RadialGradient8, Stop as Stop10 } from "react-native-svg";
3706
-
3707
- // src/marks/yororis-geometry.ts
3708
- var sand = marks.yororis[0][1];
3709
- var sage = marks.yororis[marks.yororis.length - 1][1];
3710
- var YORORIS = {
3711
- viewBox: "0 0 400 400",
3712
- croppedViewBox: "80 80 240 240",
3713
- center: 200,
3714
- stroke: 22,
3715
- sand,
3716
- sage,
3717
- /** The two hands: arcs of a circle r 92 centred (200, 162), from 196° to 104° and from 76° to −16°; open at the bottom and the top. */
3718
- hands: "M111.6 136.6 A92 92 0 0 0 177.7 251.3 M222.3 251.3 A92 92 0 0 0 288.4 136.6",
3719
- /** The warm core, held inside the hands. */
3720
- core: { cx: 200, cy: 176, r: 30, inner: 10.2 },
3721
- highlight: "#fbf6ea",
3722
- gradient: { x1: 110, y1: 300, x2: 290, y2: 100, stops: marks.yororis },
3723
- /** The moment: one node on the orbit — it comes round, then it goes. */
3724
- node: { r: 9, at: [200, 40] },
3725
- glow: { color: sage, opacity: 0.18 },
3726
- pulse: { color: sand, low: 0.3, high: 0.6 },
3727
- motion: { spin: 36, breath: 4.2 },
3728
- orbit: { r: 160, dash: "8 8", width: 1.5 },
3729
- ring: { r: 134, width: 1 }
3730
- };
3731
-
3732
- // src/native/YororisMark.tsx
3733
- import { jsx as jsx36, jsxs as jsxs33 } from "react/jsx-runtime";
3734
- function YororisMark({ size = 48, animated = true, title, neutral }) {
3735
- const { theme } = useTheme();
3736
- const { Animated: Animated29, layer, spinStyle, pulseStyle } = useMarkMotion(size, animated, YORORIS.motion.spin * 1e3);
3737
- const id = useSvgId("yrm");
3738
- const viewBox = size < 48 ? YORORIS.croppedViewBox : YORORIS.viewBox;
3739
- const stroke = neutral ?? theme.textMuted;
3740
- return /* @__PURE__ */ jsxs33(View32, { style: { width: size, height: size }, ...markA11y(title), children: [
3741
- /* @__PURE__ */ jsxs33(Svg16, { viewBox, style: layer, children: [
3742
- /* @__PURE__ */ jsx36(Defs10, { children: /* @__PURE__ */ jsxs33(RadialGradient8, { id: `${id}g`, cx: "50%", cy: "50%", r: "50%", children: [
3743
- /* @__PURE__ */ jsx36(Stop10, { offset: "0%", stopColor: YORORIS.glow.color, stopOpacity: YORORIS.glow.opacity }),
3744
- /* @__PURE__ */ jsx36(Stop10, { offset: "100%", stopColor: YORORIS.glow.color, stopOpacity: 0 })
3745
- ] }) }),
3746
- size >= 48 ? /* @__PURE__ */ jsx36(Circle10, { cx: YORORIS.center, cy: YORORIS.center, r: 190, fill: `url(#${id}g)` }) : null,
3747
- /* @__PURE__ */ jsx36(Circle10, { cx: YORORIS.center, cy: YORORIS.center, r: YORORIS.ring.r, stroke, strokeWidth: YORORIS.ring.width, opacity: 0.35, fill: "none" }),
3748
- /* @__PURE__ */ jsx36(Path14, { d: YORORIS.hands, stroke: YORORIS.sage, strokeWidth: YORORIS.stroke, strokeLinecap: "round", fill: "none" })
3749
- ] }),
3750
- /* @__PURE__ */ jsx36(Animated29.View, { style: [layer, spinStyle], children: /* @__PURE__ */ jsxs33(Svg16, { viewBox, style: layer, children: [
3751
- /* @__PURE__ */ jsx36(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" }),
3752
- /* @__PURE__ */ jsx36(Circle10, { cx: YORORIS.node.at[0], cy: YORORIS.node.at[1], r: YORORIS.node.r, fill: YORORIS.sage })
3753
- ] }) }),
3754
- /* @__PURE__ */ jsx36(Animated29.View, { style: [layer, pulseStyle], children: /* @__PURE__ */ jsxs33(Svg16, { viewBox, style: layer, children: [
3755
- /* @__PURE__ */ jsx36(Circle10, { cx: YORORIS.core.cx, cy: YORORIS.core.cy, r: YORORIS.core.r, fill: YORORIS.sand }),
3756
- /* @__PURE__ */ jsx36(Circle10, { cx: YORORIS.core.cx, cy: YORORIS.core.cy, r: YORORIS.core.inner, fill: YORORIS.highlight })
3757
- ] }) })
3758
- ] });
3759
- }
3760
-
3761
3435
  // src/native/ProductMark.tsx
3762
- import { jsx as jsx37 } from "react/jsx-runtime";
3436
+ import { jsx as jsx33 } from "react/jsx-runtime";
3763
3437
  function ProductMark({ id, ...props }) {
3764
- if (id === "krizaka") return /* @__PURE__ */ jsx37(KrizakaMark, { ...props });
3765
- if (id === "orazaka") return /* @__PURE__ */ jsx37(OrazakaMark, { ...props });
3766
- if (id === "yasakia" || id === "yazakia") return /* @__PURE__ */ jsx37(YasakiaMark, { ...props });
3767
- if (id === "yororis") return /* @__PURE__ */ jsx37(YororisMark, { ...props });
3768
- if (id === "yomizaka") return /* @__PURE__ */ jsx37(YomizakaMark, { ...props });
3769
- if (id === "kachizaka") return /* @__PURE__ */ jsx37(KachizakaMark, { ...props });
3770
- if (id === "akinaza") return /* @__PURE__ */ jsx37(AkinazaMark, { ...props });
3771
- return /* @__PURE__ */ jsx37(OrochiaMark, { ...props });
3438
+ if (id === "krizaka") return /* @__PURE__ */ jsx33(KrizakaMark, { ...props });
3439
+ if (id === "orazaka") return /* @__PURE__ */ jsx33(OrazakaMark, { ...props });
3440
+ if (id === "yomizaka") return /* @__PURE__ */ jsx33(YomizakaMark, { ...props });
3441
+ return /* @__PURE__ */ jsx33(AkinazaMark, { ...props });
3772
3442
  }
3773
3443
 
3774
3444
  // src/native/pull-to-refresh.tsx
3775
- import { jsx as jsx38, jsxs as jsxs34 } from "react/jsx-runtime";
3445
+ import { jsx as jsx34, jsxs as jsxs30 } from "react/jsx-runtime";
3776
3446
  function PullToRefresh({ label, ...props }) {
3777
3447
  const { theme } = useTheme();
3778
- return /* @__PURE__ */ jsx38(RefreshControl, { ...props, tintColor: theme.accent, colors: [theme.accent], progressBackgroundColor: theme.surface2, title: label, titleColor: theme.textSecondary });
3448
+ return /* @__PURE__ */ jsx34(RefreshControl, { ...props, tintColor: theme.accent, colors: [theme.accent], progressBackgroundColor: theme.surface2, title: label, titleColor: theme.textSecondary });
3779
3449
  }
3780
3450
  var pullProgress = (offset, threshold) => Math.min(1, Math.max(0, -offset / threshold));
3781
3451
  function BrandedRefresh({ product, refreshing, onRefresh, label, children, threshold = 72 }) {
3782
3452
  const { theme } = useTheme();
3783
3453
  const reduce = useReducedMotion();
3784
- const [pull] = React23.useState(() => new Animated7.Value(0));
3785
- React23.useEffect(() => {
3786
- if (refreshing) AccessibilityInfo5.announceForAccessibility(label);
3454
+ const [pull] = React22.useState(() => new Animated6.Value(0));
3455
+ React22.useEffect(() => {
3456
+ if (refreshing) AccessibilityInfo4.announceForAccessibility(label);
3787
3457
  }, [refreshing, label]);
3788
- const onScroll = React23.useCallback(
3458
+ const onScroll = React22.useCallback(
3789
3459
  (event) => pull.setValue(pullProgress(event.nativeEvent.contentOffset.y, threshold)),
3790
3460
  [pull, threshold]
3791
3461
  );
3792
3462
  const shown = refreshing ? 1 : pull;
3793
3463
  const scale = refreshing || reduce ? 1 : pull.interpolate({ inputRange: [0, 1], outputRange: [0.4, 1] });
3794
3464
  const rotate = refreshing || reduce ? "0deg" : pull.interpolate({ inputRange: [0, 1], outputRange: ["-90deg", "0deg"] });
3795
- return /* @__PURE__ */ jsxs34(View33, { style: styles26.root, children: [
3465
+ return /* @__PURE__ */ jsxs30(View29, { style: styles26.root, children: [
3796
3466
  children({
3797
3467
  // The platform's control does the gesture and the haptics, drawn transparent: the mark is ours.
3798
- refreshControl: /* @__PURE__ */ jsx38(RefreshControl, { refreshing, onRefresh, tintColor: "transparent", colors: ["transparent"], progressBackgroundColor: "transparent" }),
3468
+ refreshControl: /* @__PURE__ */ jsx34(RefreshControl, { refreshing, onRefresh, tintColor: "transparent", colors: ["transparent"], progressBackgroundColor: "transparent" }),
3799
3469
  onScroll,
3800
3470
  scrollEventThrottle: 16
3801
3471
  }),
3802
- /* @__PURE__ */ jsx38(Animated7.View, { pointerEvents: "none", "aria-hidden": true, style: [styles26.mark, { opacity: shown, transform: [{ scale }, { rotate }] }], children: /* @__PURE__ */ jsx38(ProductMark, { id: product, size: 32, animated: refreshing, neutral: theme.textMuted }) })
3472
+ /* @__PURE__ */ jsx34(Animated6.View, { pointerEvents: "none", "aria-hidden": true, style: [styles26.mark, { opacity: shown, transform: [{ scale }, { rotate }] }], children: /* @__PURE__ */ jsx34(ProductMark, { id: product, size: 32, animated: refreshing, neutral: theme.textMuted }) })
3803
3473
  ] });
3804
3474
  }
3805
3475
  var styles26 = StyleSheet26.create({
@@ -3808,33 +3478,33 @@ var styles26 = StyleSheet26.create({
3808
3478
  });
3809
3479
 
3810
3480
  // src/native/screen.tsx
3811
- import { Fragment as Fragment7, jsx as jsx39, jsxs as jsxs35 } from "react/jsx-runtime";
3481
+ import { Fragment as Fragment7, jsx as jsx35, jsxs as jsxs31 } from "react/jsx-runtime";
3812
3482
  function Screen({ header, footer, children, scroll = true, keyboard = true, padding = 16, surface = "surface0", contentStyle, onRefresh, refreshing = false, refreshLabel, testID }) {
3813
3483
  const { theme, insets } = useTheme();
3814
- const body = scroll ? /* @__PURE__ */ jsx39(ScrollView5, { testID, style: styles27.flex, contentContainerStyle: [{ padding, paddingTop: header ? padding : padding + insets.top, gap: 16 }, contentStyle], keyboardShouldPersistTaps: "handled", tabIndex: 0, refreshControl: onRefresh ? /* @__PURE__ */ jsx39(PullToRefresh, { refreshing, onRefresh, label: refreshLabel }) : void 0, children }) : /* @__PURE__ */ jsx39(View34, { style: [styles27.flex, { paddingTop: header ? 0 : insets.top }, contentStyle], children });
3815
- const inner = /* @__PURE__ */ jsxs35(Fragment7, { children: [
3484
+ const body = scroll ? /* @__PURE__ */ jsx35(ScrollView5, { testID, style: styles27.flex, contentContainerStyle: [{ padding, paddingTop: header ? padding : padding + insets.top, gap: 16 }, contentStyle], keyboardShouldPersistTaps: "handled", tabIndex: 0, refreshControl: onRefresh ? /* @__PURE__ */ jsx35(PullToRefresh, { refreshing, onRefresh, label: refreshLabel }) : void 0, children }) : /* @__PURE__ */ jsx35(View30, { style: [styles27.flex, { paddingTop: header ? 0 : insets.top }, contentStyle], children });
3485
+ const inner = /* @__PURE__ */ jsxs31(Fragment7, { children: [
3816
3486
  header,
3817
3487
  body,
3818
3488
  footer
3819
3489
  ] });
3820
- return /* @__PURE__ */ jsx39(View34, { style: [styles27.flex, { backgroundColor: theme[surface] }], children: keyboard ? /* @__PURE__ */ jsx39(KeyboardAvoidingView, { style: styles27.flex, behavior: Platform2.OS === "ios" ? "padding" : void 0, children: inner }) : inner });
3490
+ return /* @__PURE__ */ jsx35(View30, { style: [styles27.flex, { backgroundColor: theme[surface] }], children: keyboard ? /* @__PURE__ */ jsx35(KeyboardAvoidingView, { style: styles27.flex, behavior: Platform2.OS === "ios" ? "padding" : void 0, children: inner }) : inner });
3821
3491
  }
3822
3492
  var styles27 = StyleSheet27.create({ flex: { flex: 1 } });
3823
3493
 
3824
3494
  // src/native/step-progress.tsx
3825
- import { Pressable as Pressable18, StyleSheet as StyleSheet28, View as View35 } from "react-native";
3826
- import Svg17, { Path as Path15 } from "react-native-svg";
3827
- import { jsx as jsx40, jsxs as jsxs36 } from "react/jsx-runtime";
3495
+ import { Pressable as Pressable18, StyleSheet as StyleSheet28, View as View31 } from "react-native";
3496
+ import Svg13, { Path as Path11 } from "react-native-svg";
3497
+ import { jsx as jsx36, jsxs as jsxs32 } from "react/jsx-runtime";
3828
3498
  function StepProgress({ step, total, label, backLabel, onBack, trailing, style }) {
3829
3499
  const { theme, insets } = useTheme();
3830
3500
  const words2 = label(step, total);
3831
- return /* @__PURE__ */ jsxs36(View35, { style: [styles28.root, { paddingTop: insets.top + 8 }, style], children: [
3832
- /* @__PURE__ */ jsxs36(View35, { style: styles28.row, children: [
3833
- onBack && backLabel ? /* @__PURE__ */ jsx40(Pressable18, { role: "button", "aria-label": backLabel, hitSlop: 10, onPress: onBack, style: styles28.back, children: /* @__PURE__ */ jsx40(Svg17, { width: 22, height: 22, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx40(Path15, { d: "M15 5l-7 7 7 7", stroke: theme.textPrimary, strokeWidth: 2.4, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) }) }) : /* @__PURE__ */ jsx40(View35, { style: styles28.back }),
3834
- /* @__PURE__ */ jsx40(View35, { accessible: true, role: "progressbar", "aria-label": words2, "aria-valuemin": 1, "aria-valuemax": total, "aria-valuenow": step, "aria-valuetext": words2, style: styles28.bars, children: Array.from({ length: total }, (_, i) => /* @__PURE__ */ jsx40(View35, { style: [styles28.bar, { backgroundColor: i < step ? theme.accent : theme.surface3 }] }, i)) }),
3835
- /* @__PURE__ */ jsx40(View35, { style: styles28.trailing, children: trailing })
3501
+ return /* @__PURE__ */ jsxs32(View31, { style: [styles28.root, { paddingTop: insets.top + 8 }, style], children: [
3502
+ /* @__PURE__ */ jsxs32(View31, { style: styles28.row, children: [
3503
+ onBack && backLabel ? /* @__PURE__ */ jsx36(Pressable18, { role: "button", "aria-label": backLabel, hitSlop: 10, onPress: onBack, style: styles28.back, children: /* @__PURE__ */ jsx36(Svg13, { width: 22, height: 22, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx36(Path11, { d: "M15 5l-7 7 7 7", stroke: theme.textPrimary, strokeWidth: 2.4, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) }) }) : /* @__PURE__ */ jsx36(View31, { style: styles28.back }),
3504
+ /* @__PURE__ */ jsx36(View31, { accessible: true, role: "progressbar", "aria-label": words2, "aria-valuemin": 1, "aria-valuemax": total, "aria-valuenow": step, "aria-valuetext": words2, style: styles28.bars, children: Array.from({ length: total }, (_, i) => /* @__PURE__ */ jsx36(View31, { style: [styles28.bar, { backgroundColor: i < step ? theme.accent : theme.surface3 }] }, i)) }),
3505
+ /* @__PURE__ */ jsx36(View31, { style: styles28.trailing, children: trailing })
3836
3506
  ] }),
3837
- /* @__PURE__ */ jsx40(Txt, { variant: "caption", tone: "secondary", style: styles28.words, "aria-hidden": true, children: words2 })
3507
+ /* @__PURE__ */ jsx36(Txt, { variant: "caption", tone: "secondary", style: styles28.words, "aria-hidden": true, children: words2 })
3838
3508
  ] });
3839
3509
  }
3840
3510
  var styles28 = StyleSheet28.create({
@@ -3848,10 +3518,10 @@ var styles28 = StyleSheet28.create({
3848
3518
  });
3849
3519
 
3850
3520
  // src/native/form-flow.tsx
3851
- import { jsx as jsx41, jsxs as jsxs37 } from "react/jsx-runtime";
3521
+ import { jsx as jsx37, jsxs as jsxs33 } from "react/jsx-runtime";
3852
3522
  function FormFlow({ steps, labels, step: controlled, defaultStep = 0, onStepChange, onDone, onExit, loading }) {
3853
3523
  const { insets, theme } = useTheme();
3854
- const [own, setOwn] = React24.useState(defaultStep);
3524
+ const [own, setOwn] = React23.useState(defaultStep);
3855
3525
  const index = Math.min(Math.max(controlled ?? own, 0), steps.length - 1);
3856
3526
  const current = steps[index];
3857
3527
  const last = index === steps.length - 1;
@@ -3860,15 +3530,15 @@ function FormFlow({ steps, labels, step: controlled, defaultStep = 0, onStepChan
3860
3530
  onStepChange?.(next);
3861
3531
  };
3862
3532
  if (!current) return null;
3863
- return /* @__PURE__ */ jsxs37(
3533
+ return /* @__PURE__ */ jsxs33(
3864
3534
  Screen,
3865
3535
  {
3866
- header: /* @__PURE__ */ jsx41(StepProgress, { step: index + 1, total: steps.length, label: labels.position, backLabel: index > 0 || onExit ? labels.back : void 0, onBack: index > 0 ? () => go(index - 1) : onExit }),
3867
- footer: /* @__PURE__ */ jsx41(View36, { style: [styles29.footer, { paddingBottom: Math.max(12, insets.bottom), borderTopColor: theme.borderSubtle }], children: /* @__PURE__ */ jsx41(Button, { label: last ? labels.done : labels.next, variant: "primary", size: "lg", disabled: current.valid === false, loading, onPress: () => last ? onDone() : go(index + 1) }) }),
3536
+ header: /* @__PURE__ */ jsx37(StepProgress, { step: index + 1, total: steps.length, label: labels.position, backLabel: index > 0 || onExit ? labels.back : void 0, onBack: index > 0 ? () => go(index - 1) : onExit }),
3537
+ footer: /* @__PURE__ */ jsx37(View32, { style: [styles29.footer, { paddingBottom: Math.max(12, insets.bottom), borderTopColor: theme.borderSubtle }], children: /* @__PURE__ */ jsx37(Button, { label: last ? labels.done : labels.next, variant: "primary", size: "lg", disabled: current.valid === false, loading, onPress: () => last ? onDone() : go(index + 1) }) }),
3868
3538
  children: [
3869
- /* @__PURE__ */ jsxs37(View36, { style: styles29.head, accessibilityLiveRegion: "polite", children: [
3870
- /* @__PURE__ */ jsx41(Txt, { variant: "title", children: current.title }),
3871
- current.description ? /* @__PURE__ */ jsx41(Txt, { tone: "secondary", children: current.description }) : null
3539
+ /* @__PURE__ */ jsxs33(View32, { style: styles29.head, accessibilityLiveRegion: "polite", children: [
3540
+ /* @__PURE__ */ jsx37(Txt, { variant: "title", children: current.title }),
3541
+ current.description ? /* @__PURE__ */ jsx37(Txt, { tone: "secondary", children: current.description }) : null
3872
3542
  ] }),
3873
3543
  current.content
3874
3544
  ]
@@ -3881,20 +3551,20 @@ var styles29 = StyleSheet29.create({
3881
3551
  });
3882
3552
 
3883
3553
  // src/native/goal-gauge.tsx
3884
- import { Animated as Animated9, StyleSheet as StyleSheet30, View as View37 } from "react-native";
3554
+ import { Animated as Animated8, StyleSheet as StyleSheet30, View as View33 } from "react-native";
3885
3555
 
3886
3556
  // src/native/story-motion.ts
3887
- import * as React25 from "react";
3888
- import { AccessibilityInfo as AccessibilityInfo6, Animated as Animated8, Easing as Easing4 } from "react-native";
3557
+ import * as React24 from "react";
3558
+ import { AccessibilityInfo as AccessibilityInfo5, Animated as Animated7, Easing as Easing3 } from "react-native";
3889
3559
  function useEntrance(animated, delay = 0, duration = 700) {
3890
- const [value] = React25.useState(() => new Animated8.Value(animated ? 0 : 1));
3891
- React25.useEffect(() => {
3560
+ const [value] = React24.useState(() => new Animated7.Value(animated ? 0 : 1));
3561
+ React24.useEffect(() => {
3892
3562
  if (!animated) return;
3893
3563
  let cancelled = false;
3894
- void AccessibilityInfo6.isReduceMotionEnabled().then((reduce) => {
3564
+ void AccessibilityInfo5.isReduceMotionEnabled().then((reduce) => {
3895
3565
  if (cancelled) return;
3896
3566
  if (reduce) value.setValue(1);
3897
- else Animated8.timing(value, { toValue: 1, duration, delay, easing: Easing4.out(Easing4.cubic), useNativeDriver: true }).start();
3567
+ else Animated7.timing(value, { toValue: 1, duration, delay, easing: Easing3.out(Easing3.cubic), useNativeDriver: true }).start();
3898
3568
  });
3899
3569
  return () => {
3900
3570
  cancelled = true;
@@ -3904,15 +3574,15 @@ function useEntrance(animated, delay = 0, duration = 700) {
3904
3574
  }
3905
3575
 
3906
3576
  // src/native/goal-gauge.tsx
3907
- import { jsx as jsx42, jsxs as jsxs38 } from "react/jsx-runtime";
3577
+ import { jsx as jsx38, jsxs as jsxs34 } from "react/jsx-runtime";
3908
3578
  function Cell({ lit, animate, order, animated, arcade }) {
3909
3579
  const { theme } = useTheme();
3910
3580
  const t = useEntrance(animated && animate, 300 + order * 100, 350);
3911
3581
  const spentOpacity = arcade ? 0.14 : 1;
3912
3582
  const opacity = !animate ? 1 : lit ? t.interpolate({ inputRange: [0, 1], outputRange: [0.25, 1] }) : t.interpolate({ inputRange: [0, 1], outputRange: [1, arcade ? 0.14 : 1] });
3913
3583
  const color = lit || arcade ? theme.accent : theme.surface3;
3914
- return /* @__PURE__ */ jsx42(
3915
- Animated9.View,
3584
+ return /* @__PURE__ */ jsx38(
3585
+ Animated8.View,
3916
3586
  {
3917
3587
  style: [styles30.cell, arcade ? styles30.cellArcade : null, { backgroundColor: color, opacity: lit || animate ? opacity : spentOpacity }]
3918
3588
  }
@@ -3924,8 +3594,8 @@ function GoalGauge({ label, segments, value, valueText, mode = "fill", showLabel
3924
3594
  const lit = Math.min(total, Math.max(0, Math.round(value ?? total)));
3925
3595
  const words2 = valueText ?? `${lit} / ${total}`;
3926
3596
  const arcade = variant === "arcade";
3927
- return /* @__PURE__ */ jsxs38(
3928
- View37,
3597
+ return /* @__PURE__ */ jsxs34(
3598
+ View33,
3929
3599
  {
3930
3600
  accessible: true,
3931
3601
  role: "meter",
@@ -3937,14 +3607,14 @@ function GoalGauge({ label, segments, value, valueText, mode = "fill", showLabel
3937
3607
  ...props,
3938
3608
  style: [styles30.root, style],
3939
3609
  children: [
3940
- showLabel ? /* @__PURE__ */ jsxs38(View37, { "aria-hidden": true, style: [styles30.head, arcade ? styles30.headArcade : null], children: [
3941
- /* @__PURE__ */ jsx42(Txt, { variant: arcade ? "mono" : "caption", tone: "secondary", children: arcade ? label.toUpperCase() : label }),
3942
- arcade ? null : /* @__PURE__ */ jsx42(Txt, { variant: "caption", children: words2 })
3610
+ showLabel ? /* @__PURE__ */ jsxs34(View33, { "aria-hidden": true, style: [styles30.head, arcade ? styles30.headArcade : null], children: [
3611
+ /* @__PURE__ */ jsx38(Txt, { variant: arcade ? "mono" : "caption", tone: "secondary", children: arcade ? label.toUpperCase() : label }),
3612
+ arcade ? null : /* @__PURE__ */ jsx38(Txt, { variant: "caption", children: words2 })
3943
3613
  ] }) : null,
3944
- /* @__PURE__ */ jsx42(View37, { "aria-hidden": true, style: [styles30.cells, arcade ? [styles30.cellsArcade, { borderColor: theme.borderSubtle, backgroundColor: theme.surface1 }] : null], children: Array.from({ length: total }, (_, i) => {
3614
+ /* @__PURE__ */ jsx38(View33, { "aria-hidden": true, style: [styles30.cells, arcade ? [styles30.cellsArcade, { borderColor: theme.borderSubtle, backgroundColor: theme.surface1 }] : null], children: Array.from({ length: total }, (_, i) => {
3945
3615
  const on = i < lit;
3946
3616
  const animate = mode === "fill" ? on : !on;
3947
- return /* @__PURE__ */ jsx42(Cell, { lit: on, animate, order: mode === "fill" ? i : i - lit, animated, arcade }, i);
3617
+ return /* @__PURE__ */ jsx38(Cell, { lit: on, animate, order: mode === "fill" ? i : i - lit, animated, arcade }, i);
3948
3618
  }) })
3949
3619
  ]
3950
3620
  }
@@ -3961,9 +3631,9 @@ var styles30 = StyleSheet30.create({
3961
3631
  });
3962
3632
 
3963
3633
  // src/native/grid.tsx
3964
- import * as React26 from "react";
3965
- import { StyleSheet as StyleSheet31, useWindowDimensions, View as View38 } from "react-native";
3966
- import { jsx as jsx43 } from "react/jsx-runtime";
3634
+ import * as React25 from "react";
3635
+ import { StyleSheet as StyleSheet31, useWindowDimensions, View as View34 } from "react-native";
3636
+ import { jsx as jsx39 } from "react/jsx-runtime";
3967
3637
  var SIZE_CLASS_FROM = { regular: 600, expanded: 840 };
3968
3638
  function sizeClassOf(width) {
3969
3639
  return width >= SIZE_CLASS_FROM.expanded ? "expanded" : width >= SIZE_CLASS_FROM.regular ? "regular" : "compact";
@@ -3996,25 +3666,25 @@ function itemWidth(width, columns, gap) {
3996
3666
  }
3997
3667
  function Grid({ children, columns, minItemWidth = 160, gap = "md", maxColumns = 6, equalHeight = true, fontScale, testID, "aria-label": label, style }) {
3998
3668
  const system = useFontScale();
3999
- const [width, setWidth] = React26.useState(0);
3669
+ const [width, setWidth] = React25.useState(0);
4000
3670
  const space = GRID_GAPS[gap];
4001
3671
  const n = width > 0 ? gridColumns({ width, gap: space, minItemWidth, columns, maxColumns, fontScale: fontScale ?? system }) : 1;
4002
3672
  const cell = width > 0 ? itemWidth(width, n, space) : void 0;
4003
- const onLayout = React26.useCallback((event) => setWidth(Math.floor(event.nativeEvent.layout.width)), []);
4004
- const items2 = React26.Children.toArray(children);
4005
- return /* @__PURE__ */ jsx43(View38, { testID, onLayout, role: label ? "list" : void 0, "aria-label": label, "data-columns": n, style: [styles31.grid, { gap: space }, equalHeight ? null : styles31.start, style], children: items2.map((child, index) => /* @__PURE__ */ jsx43(View38, { testID: testID ? `${testID}-cell` : void 0, role: label ? "listitem" : void 0, style: [styles31.cell, cell ? { width: cell } : styles31.full], children: equalHeight && React26.isValidElement(child) ? React26.cloneElement(child, { style: [child.props.style, styles31.grow] }) : child }, React26.isValidElement(child) && child.key != null ? child.key : index)) });
3673
+ const onLayout = React25.useCallback((event) => setWidth(Math.floor(event.nativeEvent.layout.width)), []);
3674
+ const items2 = React25.Children.toArray(children);
3675
+ return /* @__PURE__ */ jsx39(View34, { testID, onLayout, role: label ? "list" : void 0, "aria-label": label, "data-columns": n, style: [styles31.grid, { gap: space }, equalHeight ? null : styles31.start, style], children: items2.map((child, index) => /* @__PURE__ */ jsx39(View34, { testID: testID ? `${testID}-cell` : void 0, role: label ? "listitem" : void 0, style: [styles31.cell, cell ? { width: cell } : styles31.full], children: equalHeight && React25.isValidElement(child) ? React25.cloneElement(child, { style: [child.props.style, styles31.grow] }) : child }, React25.isValidElement(child) && child.key != null ? child.key : index)) });
4006
3676
  }
4007
3677
  function columnsFit(width, count, minColumnWidth, gap, fontScale = 1) {
4008
3678
  return width >= count * minColumnWidth * Math.max(1, fontScale) + gap * (count - 1);
4009
3679
  }
4010
3680
  function Columns({ children, weights, minColumnWidth = 280, gap = "lg", fontScale, testID, style }) {
4011
3681
  const system = useFontScale();
4012
- const [width, setWidth] = React26.useState(0);
3682
+ const [width, setWidth] = React25.useState(0);
4013
3683
  const space = GRID_GAPS[gap];
4014
- const items2 = React26.Children.toArray(children);
3684
+ const items2 = React25.Children.toArray(children);
4015
3685
  const side = width > 0 && items2.length > 1 && columnsFit(width, items2.length, minColumnWidth, space, fontScale ?? system);
4016
- const onLayout = React26.useCallback((event) => setWidth(Math.floor(event.nativeEvent.layout.width)), []);
4017
- return /* @__PURE__ */ jsx43(View38, { testID, onLayout, "data-layout": side ? "side" : "stacked", style: [side ? styles31.row : styles31.stack, { gap: space }, style], children: items2.map((child, index) => /* @__PURE__ */ jsx43(View38, { style: side ? { flex: weights?.[index] ?? 1, minWidth: 0 } : styles31.full, children: child }, React26.isValidElement(child) && child.key != null ? child.key : index)) });
3686
+ const onLayout = React25.useCallback((event) => setWidth(Math.floor(event.nativeEvent.layout.width)), []);
3687
+ return /* @__PURE__ */ jsx39(View34, { testID, onLayout, "data-layout": side ? "side" : "stacked", style: [side ? styles31.row : styles31.stack, { gap: space }, style], children: items2.map((child, index) => /* @__PURE__ */ jsx39(View34, { style: side ? { flex: weights?.[index] ?? 1, minWidth: 0 } : styles31.full, children: child }, React25.isValidElement(child) && child.key != null ? child.key : index)) });
4018
3688
  }
4019
3689
  var styles31 = StyleSheet31.create({
4020
3690
  grid: { flexDirection: "row", flexWrap: "wrap", alignItems: "stretch", alignSelf: "stretch" },
@@ -4027,42 +3697,42 @@ var styles31 = StyleSheet31.create({
4027
3697
  });
4028
3698
 
4029
3699
  // src/native/header.tsx
4030
- import * as React27 from "react";
4031
- import { Animated as Animated10, Pressable as Pressable19, StyleSheet as StyleSheet32, View as View39 } from "react-native";
4032
- import Svg18, { Path as Path16 } from "react-native-svg";
4033
- import { jsx as jsx44, jsxs as jsxs39 } from "react/jsx-runtime";
3700
+ import * as React26 from "react";
3701
+ import { Animated as Animated9, Pressable as Pressable19, StyleSheet as StyleSheet32, View as View35 } from "react-native";
3702
+ import Svg14, { Path as Path12 } from "react-native-svg";
3703
+ import { jsx as jsx40, jsxs as jsxs35 } from "react/jsx-runtime";
4034
3704
  var BAR = 44;
4035
3705
  var LARGE = 52;
4036
3706
  function Header({ title, subtitle, scrollY, size = "large", backLabel, onBack, actions, children, style }) {
4037
3707
  const { theme, insets } = useTheme();
4038
3708
  const reduce = useReducedMotion();
4039
3709
  const large = size === "large";
4040
- const fixed = React27.useMemo(() => new Animated10.Value(large ? 0 : 1), [large]);
3710
+ const fixed = React26.useMemo(() => new Animated9.Value(large ? 0 : 1), [large]);
4041
3711
  const progress = scrollY && large ? scrollY.interpolate({ inputRange: [0, LARGE], outputRange: [0, 1], extrapolate: "clamp" }) : fixed;
4042
3712
  const smallOpacity = progress.interpolate({ inputRange: [0.6, 1], outputRange: [0, 1], extrapolate: "clamp" });
4043
3713
  const largeOpacity = progress.interpolate({ inputRange: [0, 0.7], outputRange: [1, 0], extrapolate: "clamp" });
4044
3714
  const largeShift = reduce ? 0 : progress.interpolate({ inputRange: [0, 1], outputRange: [0, -10] });
4045
3715
  const largeHeight = progress.interpolate({ inputRange: [0, 1], outputRange: [LARGE + (subtitle ? 18 : 0), 0] });
4046
- return /* @__PURE__ */ jsxs39(View39, { style: [{ paddingTop: insets.top, backgroundColor: theme.surface0 }, style], children: [
4047
- /* @__PURE__ */ jsxs39(View39, { style: styles32.bar, children: [
4048
- /* @__PURE__ */ jsx44(View39, { style: styles32.side, children: onBack && backLabel ? /* @__PURE__ */ jsxs39(Pressable19, { role: "button", "aria-label": backLabel, onPress: onBack, hitSlop: 8, style: styles32.back, children: [
4049
- /* @__PURE__ */ jsx44(Svg18, { width: 22, height: 22, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx44(Path16, { d: "M15 5l-7 7 7 7", stroke: theme.accentText, strokeWidth: 2.4, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) }),
4050
- /* @__PURE__ */ jsx44(Txt, { variant: "label", tone: "accent", numberOfLines: 1, children: backLabel })
3716
+ return /* @__PURE__ */ jsxs35(View35, { style: [{ paddingTop: insets.top, backgroundColor: theme.surface0 }, style], children: [
3717
+ /* @__PURE__ */ jsxs35(View35, { style: styles32.bar, children: [
3718
+ /* @__PURE__ */ jsx40(View35, { style: styles32.side, children: onBack && backLabel ? /* @__PURE__ */ jsxs35(Pressable19, { role: "button", "aria-label": backLabel, onPress: onBack, hitSlop: 8, style: styles32.back, children: [
3719
+ /* @__PURE__ */ jsx40(Svg14, { width: 22, height: 22, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx40(Path12, { d: "M15 5l-7 7 7 7", stroke: theme.accentText, strokeWidth: 2.4, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) }),
3720
+ /* @__PURE__ */ jsx40(Txt, { variant: "label", tone: "accent", numberOfLines: 1, children: backLabel })
4051
3721
  ] }) : null }),
4052
- /* @__PURE__ */ jsx44(Animated10.View, { style: [styles32.middle, { opacity: smallOpacity }], "aria-hidden": large, children: /* @__PURE__ */ jsx44(Txt, { variant: "label", numberOfLines: 1, role: large ? void 0 : "heading", children: title }) }),
4053
- /* @__PURE__ */ jsx44(View39, { style: [styles32.side, styles32.right], children: actions })
3722
+ /* @__PURE__ */ jsx40(Animated9.View, { style: [styles32.middle, { opacity: smallOpacity }], "aria-hidden": large, children: /* @__PURE__ */ jsx40(Txt, { variant: "label", numberOfLines: 1, role: large ? void 0 : "heading", children: title }) }),
3723
+ /* @__PURE__ */ jsx40(View35, { style: [styles32.side, styles32.right], children: actions })
4054
3724
  ] }),
4055
- large ? /* @__PURE__ */ jsx44(Animated10.View, { style: { height: largeHeight, overflow: "hidden" }, children: /* @__PURE__ */ jsxs39(Animated10.View, { style: [styles32.large, { opacity: largeOpacity, transform: [{ translateY: largeShift }] }], children: [
4056
- /* @__PURE__ */ jsx44(Txt, { variant: "display", numberOfLines: 1, role: "heading", style: styles32.largeTitle, children: title }),
4057
- subtitle ? /* @__PURE__ */ jsx44(Txt, { variant: "caption", tone: "secondary", children: subtitle }) : null
3725
+ large ? /* @__PURE__ */ jsx40(Animated9.View, { style: { height: largeHeight, overflow: "hidden" }, children: /* @__PURE__ */ jsxs35(Animated9.View, { style: [styles32.large, { opacity: largeOpacity, transform: [{ translateY: largeShift }] }], children: [
3726
+ /* @__PURE__ */ jsx40(Txt, { variant: "display", numberOfLines: 1, role: "heading", style: styles32.largeTitle, children: title }),
3727
+ subtitle ? /* @__PURE__ */ jsx40(Txt, { variant: "caption", tone: "secondary", children: subtitle }) : null
4058
3728
  ] }) }) : null,
4059
- children ? /* @__PURE__ */ jsx44(View39, { style: styles32.children, children }) : null,
4060
- /* @__PURE__ */ jsx44(Animated10.View, { "aria-hidden": true, style: [styles32.rule, { backgroundColor: theme.borderSubtle, opacity: smallOpacity }] })
3729
+ children ? /* @__PURE__ */ jsx40(View35, { style: styles32.children, children }) : null,
3730
+ /* @__PURE__ */ jsx40(Animated9.View, { "aria-hidden": true, style: [styles32.rule, { backgroundColor: theme.borderSubtle, opacity: smallOpacity }] })
4061
3731
  ] });
4062
3732
  }
4063
3733
  function useCollapsingHeader() {
4064
- const [scrollY] = React27.useState(() => new Animated10.Value(0));
4065
- const onScroll = React27.useMemo(() => Animated10.event([{ nativeEvent: { contentOffset: { y: scrollY } } }], { useNativeDriver: false }), [scrollY]);
3734
+ const [scrollY] = React26.useState(() => new Animated9.Value(0));
3735
+ const onScroll = React26.useMemo(() => Animated9.event([{ nativeEvent: { contentOffset: { y: scrollY } } }], { useNativeDriver: false }), [scrollY]);
4066
3736
  return { scrollY, onScroll };
4067
3737
  }
4068
3738
  var styles32 = StyleSheet32.create({
@@ -4078,37 +3748,37 @@ var styles32 = StyleSheet32.create({
4078
3748
  });
4079
3749
 
4080
3750
  // src/native/image-viewer.tsx
4081
- import * as React28 from "react";
4082
- import { AccessibilityInfo as AccessibilityInfo7, Animated as Animated11, Image as Image3, Modal as Modal3, PanResponder, Pressable as Pressable20, StyleSheet as StyleSheet33, useWindowDimensions as useWindowDimensions2, View as View40 } from "react-native";
4083
- import { jsx as jsx45, jsxs as jsxs40 } from "react/jsx-runtime";
3751
+ import * as React27 from "react";
3752
+ import { AccessibilityInfo as AccessibilityInfo6, Animated as Animated10, Image as Image3, Modal as Modal3, PanResponder, Pressable as Pressable20, StyleSheet as StyleSheet33, useWindowDimensions as useWindowDimensions2, View as View36 } from "react-native";
3753
+ import { jsx as jsx41, jsxs as jsxs36 } from "react/jsx-runtime";
4084
3754
  var MAX_SCALE = 4;
4085
3755
  function ImageViewer({ images, index, onIndexChange, closeLabel, positionLabel = (n, total) => `${n} / ${total}` }) {
4086
3756
  const { theme, insets, haptic } = useTheme();
4087
3757
  const reduce = useReducedMotion();
4088
3758
  const { width, height } = useWindowDimensions2();
4089
3759
  const open = index !== null && images[index] !== void 0;
4090
- const [scale] = React28.useState(() => new Animated11.Value(1));
4091
- const [pan] = React28.useState(() => new Animated11.ValueXY({ x: 0, y: 0 }));
4092
- const [dismiss2] = React28.useState(() => new Animated11.Value(0));
4093
- const state = React28.useRef({ scale: 1, x: 0, y: 0, pinch: 0, base: 1, lastTap: 0 });
4094
- const reset = React28.useCallback(() => {
3760
+ const [scale] = React27.useState(() => new Animated10.Value(1));
3761
+ const [pan] = React27.useState(() => new Animated10.ValueXY({ x: 0, y: 0 }));
3762
+ const [dismiss2] = React27.useState(() => new Animated10.Value(0));
3763
+ const state = React27.useRef({ scale: 1, x: 0, y: 0, pinch: 0, base: 1, lastTap: 0 });
3764
+ const reset = React27.useCallback(() => {
4095
3765
  state.current = { ...state.current, scale: 1, x: 0, y: 0 };
4096
3766
  scale.setValue(1);
4097
3767
  pan.setValue({ x: 0, y: 0 });
4098
3768
  dismiss2.setValue(0);
4099
3769
  }, [scale, pan, dismiss2]);
4100
- React28.useEffect(() => {
3770
+ React27.useEffect(() => {
4101
3771
  reset();
4102
- if (open) AccessibilityInfo7.announceForAccessibility(`${images[index].alt}, ${positionLabel(index + 1, images.length)}`);
3772
+ if (open) AccessibilityInfo6.announceForAccessibility(`${images[index].alt}, ${positionLabel(index + 1, images.length)}`);
4103
3773
  }, [index]);
4104
3774
  const go = (to) => {
4105
3775
  if (to < 0 || to >= images.length) return;
4106
3776
  haptic("selection");
4107
3777
  onIndexChange(to);
4108
3778
  };
4109
- const animateTo = (value, to) => reduce ? value.setValue(to) : Animated11.spring(value, { toValue: to, useNativeDriver: true, damping: 20 }).start();
3779
+ const animateTo = (value, to) => reduce ? value.setValue(to) : Animated10.spring(value, { toValue: to, useNativeDriver: true, damping: 20 }).start();
4110
3780
  const distance = (touches) => Math.hypot(touches[0].pageX - touches[1].pageX, touches[0].pageY - touches[1].pageY);
4111
- const responder = React28.useMemo(
3781
+ const responder = React27.useMemo(
4112
3782
  () => PanResponder.create({
4113
3783
  onStartShouldSetPanResponder: () => true,
4114
3784
  onMoveShouldSetPanResponder: (_, g) => Math.abs(g.dx) > 4 || Math.abs(g.dy) > 4,
@@ -4159,7 +3829,7 @@ function ImageViewer({ images, index, onIndexChange, closeLabel, positionLabel =
4159
3829
  if (g.dx < -width / 4 || g.vx < -0.8) go((index ?? 0) + 1);
4160
3830
  else if (g.dx > width / 4 || g.vx > 0.8) go((index ?? 0) - 1);
4161
3831
  animateTo(dismiss2, 0);
4162
- Animated11.spring(pan, { toValue: { x: 0, y: 0 }, useNativeDriver: true }).start();
3832
+ Animated10.spring(pan, { toValue: { x: 0, y: 0 }, useNativeDriver: true }).start();
4163
3833
  }
4164
3834
  }),
4165
3835
  [index, width, images.length]
@@ -4168,10 +3838,10 @@ function ImageViewer({ images, index, onIndexChange, closeLabel, positionLabel =
4168
3838
  if (!open) return null;
4169
3839
  const image = images[index];
4170
3840
  const backdrop = dismiss2.interpolate({ inputRange: [0, height / 2], outputRange: [1, 0.3], extrapolate: "clamp" });
4171
- return /* @__PURE__ */ jsxs40(Modal3, { ...modalName(image.alt), visible: true, transparent: true, animationType: reduce ? "none" : "fade", onRequestClose: () => onIndexChange(null), statusBarTranslucent: true, children: [
4172
- /* @__PURE__ */ jsx45(Animated11.View, { style: [StyleSheet33.absoluteFill, { backgroundColor: theme.media, opacity: backdrop }] }),
4173
- /* @__PURE__ */ jsx45(
4174
- View40,
3841
+ return /* @__PURE__ */ jsxs36(Modal3, { ...modalName(image.alt), visible: true, transparent: true, animationType: reduce ? "none" : "fade", onRequestClose: () => onIndexChange(null), statusBarTranslucent: true, children: [
3842
+ /* @__PURE__ */ jsx41(Animated10.View, { style: [StyleSheet33.absoluteFill, { backgroundColor: theme.media, opacity: backdrop }] }),
3843
+ /* @__PURE__ */ jsx41(
3844
+ View36,
4175
3845
  {
4176
3846
  style: StyleSheet33.absoluteFill,
4177
3847
  accessible: true,
@@ -4185,14 +3855,14 @@ function ImageViewer({ images, index, onIndexChange, closeLabel, positionLabel =
4185
3855
  if (name === "escape") onIndexChange(null);
4186
3856
  },
4187
3857
  ...responder.panHandlers,
4188
- children: /* @__PURE__ */ jsx45(Animated11.View, { style: { width, height, transform: [{ translateX: pan.x }, { translateY: Animated11.add(pan.y, dismiss2) }, { scale }] }, children: /* @__PURE__ */ jsx45(Image3, { source: { uri: image.uri }, resizeMode: "contain", style: { width, height }, accessibilityIgnoresInvertColors: true }) })
3858
+ children: /* @__PURE__ */ jsx41(Animated10.View, { style: { width, height, transform: [{ translateX: pan.x }, { translateY: Animated10.add(pan.y, dismiss2) }, { scale }] }, children: /* @__PURE__ */ jsx41(Image3, { source: { uri: image.uri }, resizeMode: "contain", style: { width, height }, accessibilityIgnoresInvertColors: true }) })
4189
3859
  }
4190
3860
  ),
4191
- /* @__PURE__ */ jsxs40(View40, { pointerEvents: "box-none", style: [styles33.top, { paddingTop: insets.top + 8 }], children: [
4192
- /* @__PURE__ */ jsx45(View40, { "aria-hidden": true, style: [styles33.counter, { backgroundColor: theme.scrimStrong }], children: /* @__PURE__ */ jsx45(Txt, { variant: "label", tone: "onMedia", children: positionLabel(index + 1, images.length) }) }),
4193
- /* @__PURE__ */ jsx45(Pressable20, { role: "button", "aria-label": closeLabel, hitSlop: 12, onPress: () => onIndexChange(null), style: [styles33.close, { backgroundColor: theme.scrimStrong }], children: /* @__PURE__ */ jsx45(Txt, { tone: "onMedia", style: styles33.cross, "aria-hidden": true, children: "\xD7" }) })
3861
+ /* @__PURE__ */ jsxs36(View36, { pointerEvents: "box-none", style: [styles33.top, { paddingTop: insets.top + 8 }], children: [
3862
+ /* @__PURE__ */ jsx41(View36, { "aria-hidden": true, style: [styles33.counter, { backgroundColor: theme.scrimStrong }], children: /* @__PURE__ */ jsx41(Txt, { variant: "label", tone: "onMedia", children: positionLabel(index + 1, images.length) }) }),
3863
+ /* @__PURE__ */ jsx41(Pressable20, { role: "button", "aria-label": closeLabel, hitSlop: 12, onPress: () => onIndexChange(null), style: [styles33.close, { backgroundColor: theme.scrimStrong }], children: /* @__PURE__ */ jsx41(Txt, { tone: "onMedia", style: styles33.cross, "aria-hidden": true, children: "\xD7" }) })
4194
3864
  ] }),
4195
- image.caption ? /* @__PURE__ */ jsx45(View40, { pointerEvents: "none", style: [styles33.caption, { paddingBottom: insets.bottom + 16, backgroundColor: theme.scrimStrong }], children: /* @__PURE__ */ jsx45(Txt, { tone: "onMedia", children: image.caption }) }) : null
3865
+ image.caption ? /* @__PURE__ */ jsx41(View36, { pointerEvents: "none", style: [styles33.caption, { paddingBottom: insets.bottom + 16, backgroundColor: theme.scrimStrong }], children: /* @__PURE__ */ jsx41(Txt, { tone: "onMedia", children: image.caption }) }) : null
4196
3866
  ] });
4197
3867
  }
4198
3868
  function prefetchNeighbours(images, index) {
@@ -4208,8 +3878,8 @@ var styles33 = StyleSheet33.create({
4208
3878
  });
4209
3879
 
4210
3880
  // src/native/kind-config-editor.tsx
4211
- import * as React30 from "react";
4212
- import { StyleSheet as StyleSheet35, View as View42 } from "react-native";
3881
+ import * as React29 from "react";
3882
+ import { StyleSheet as StyleSheet35, View as View38 } from "react-native";
4213
3883
 
4214
3884
  // src/kind-config-editor/labels.ts
4215
3885
  var STATUS_TONES = ["neutral", "accent", "success", "warning", "danger"];
@@ -4357,27 +4027,27 @@ function addReason(set, from, to, label) {
4357
4027
  }
4358
4028
 
4359
4029
  // src/native/switch.tsx
4360
- import * as React29 from "react";
4361
- import { Animated as Animated12, Pressable as Pressable21, StyleSheet as StyleSheet34, Text as Text14, View as View41 } from "react-native";
4362
- import { jsx as jsx46, jsxs as jsxs41 } from "react/jsx-runtime";
4030
+ import * as React28 from "react";
4031
+ import { Animated as Animated11, Pressable as Pressable21, StyleSheet as StyleSheet34, Text as Text14, View as View37 } from "react-native";
4032
+ import { jsx as jsx42, jsxs as jsxs37 } from "react/jsx-runtime";
4363
4033
  var SIZES = { sm: { w: 40, h: 24, knob: 18 }, md: { w: 52, h: 32, knob: 26 } };
4364
4034
  function Switch({ label, checked, defaultChecked = false, onCheckedChange, description, showLabel, size = "md", error, disabled, style }) {
4365
4035
  const { theme, motion: motion3, haptic } = useTheme();
4366
- const [own, setOwn] = React29.useState(defaultChecked);
4036
+ const [own, setOwn] = React28.useState(defaultChecked);
4367
4037
  const on = checked ?? own;
4368
4038
  const d = SIZES[size];
4369
4039
  const travel = d.w - d.knob - (d.h - d.knob);
4370
- const [x] = React29.useState(() => new Animated12.Value(on ? 1 : 0));
4371
- React29.useEffect(() => {
4372
- Animated12.timing(x, { toValue: on ? 1 : 0, duration: motion3.duration.base, useNativeDriver: true }).start();
4040
+ const [x] = React28.useState(() => new Animated11.Value(on ? 1 : 0));
4041
+ React28.useEffect(() => {
4042
+ Animated11.timing(x, { toValue: on ? 1 : 0, duration: motion3.duration.base, useNativeDriver: true }).start();
4373
4043
  }, [on, x, motion3.duration.base]);
4374
4044
  const toggle = () => {
4375
4045
  haptic("selection");
4376
4046
  if (checked === void 0) setOwn(!on);
4377
4047
  onCheckedChange?.(!on);
4378
4048
  };
4379
- const track = /* @__PURE__ */ jsx46(View41, { style: [styles34.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__ */ jsx46(
4380
- Animated12.View,
4049
+ const track = /* @__PURE__ */ jsx42(View37, { style: [styles34.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__ */ jsx42(
4050
+ Animated11.View,
4381
4051
  {
4382
4052
  style: [
4383
4053
  styles34.knob,
@@ -4402,16 +4072,16 @@ function Switch({ label, checked, defaultChecked = false, onCheckedChange, descr
4402
4072
  onPress: toggle
4403
4073
  };
4404
4074
  if (!showLabel)
4405
- return /* @__PURE__ */ jsx46(Pressable21, { ...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 ? styles34.disabled : null, style], children: track });
4406
- return /* @__PURE__ */ jsxs41(View41, { style: [styles34.root, style], children: [
4407
- /* @__PURE__ */ jsxs41(Pressable21, { ...a11y, style: [styles34.row, disabled ? styles34.disabled : null], children: [
4408
- /* @__PURE__ */ jsxs41(View41, { style: styles34.text, children: [
4409
- /* @__PURE__ */ jsx46(Text14, { style: [styles34.label, { color: theme.textPrimary }], children: label }),
4410
- description ? /* @__PURE__ */ jsx46(Text14, { style: [styles34.description, { color: theme.textSecondary }], children: description }) : null
4075
+ return /* @__PURE__ */ jsx42(Pressable21, { ...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 ? styles34.disabled : null, style], children: track });
4076
+ return /* @__PURE__ */ jsxs37(View37, { style: [styles34.root, style], children: [
4077
+ /* @__PURE__ */ jsxs37(Pressable21, { ...a11y, style: [styles34.row, disabled ? styles34.disabled : null], children: [
4078
+ /* @__PURE__ */ jsxs37(View37, { style: styles34.text, children: [
4079
+ /* @__PURE__ */ jsx42(Text14, { style: [styles34.label, { color: theme.textPrimary }], children: label }),
4080
+ description ? /* @__PURE__ */ jsx42(Text14, { style: [styles34.description, { color: theme.textSecondary }], children: description }) : null
4411
4081
  ] }),
4412
4082
  track
4413
4083
  ] }),
4414
- error ? /* @__PURE__ */ jsx46(Text14, { role: "alert", "aria-live": "polite", style: [styles34.description, { color: theme.dangerText }], children: error }) : null
4084
+ error ? /* @__PURE__ */ jsx42(Text14, { role: "alert", "aria-live": "polite", style: [styles34.description, { color: theme.dangerText }], children: error }) : null
4415
4085
  ] });
4416
4086
  }
4417
4087
  var styles34 = StyleSheet34.create({
@@ -4426,38 +4096,38 @@ var styles34 = StyleSheet34.create({
4426
4096
  });
4427
4097
 
4428
4098
  // src/native/kind-config-editor.tsx
4429
- import { Fragment as Fragment8, jsx as jsx47, jsxs as jsxs42 } from "react/jsx-runtime";
4099
+ import { Fragment as Fragment8, jsx as jsx43, jsxs as jsxs38 } from "react/jsx-runtime";
4430
4100
  function Problems({ title, problems }) {
4431
4101
  const { theme, radius: radius3 } = useTheme();
4432
4102
  if (!problems || problems.length === 0) return null;
4433
- return /* @__PURE__ */ jsxs42(View42, { role: "alert", style: [styles35.problems, { borderColor: theme.danger, backgroundColor: theme.dangerSoft, borderRadius: radius3.md }], children: [
4434
- /* @__PURE__ */ jsx47(Txt, { variant: "label", tone: "danger", children: title }),
4435
- problems.map((problem) => /* @__PURE__ */ jsx47(Txt, { variant: "caption", children: `\u2022 ${problem}` }, problem))
4103
+ return /* @__PURE__ */ jsxs38(View38, { role: "alert", style: [styles35.problems, { borderColor: theme.danger, backgroundColor: theme.dangerSoft, borderRadius: radius3.md }], children: [
4104
+ /* @__PURE__ */ jsx43(Txt, { variant: "label", tone: "danger", children: title }),
4105
+ problems.map((problem) => /* @__PURE__ */ jsx43(Txt, { variant: "caption", children: `\u2022 ${problem}` }, problem))
4436
4106
  ] });
4437
4107
  }
4438
- var Glyph = ({ children }) => /* @__PURE__ */ jsx47(Txt, { variant: "label", "aria-hidden": true, children });
4108
+ var Glyph = ({ children }) => /* @__PURE__ */ jsx43(Txt, { variant: "label", "aria-hidden": true, children });
4439
4109
  function TagSetEditor({ value, onChange, variant, roles, problems, labels: given, disabled }) {
4440
4110
  const labels = { ...tagSetEditorLabels, ...given, markerNames: { ...tagSetEditorLabels.markerNames, ...given?.markerNames } };
4441
4111
  const presets = value.presets[variant] ?? [];
4442
4112
  const twins = duplicatePresetNames(presets);
4443
- const [draft, setDraft] = React30.useState("");
4444
- const [draftMarker, setDraftMarker] = React30.useState("blue");
4113
+ const [draft, setDraft] = React29.useState("");
4114
+ const [draftMarker, setDraftMarker] = React29.useState("blue");
4445
4115
  const add = () => {
4446
4116
  const next = addPreset(value, variant, draft, draftMarker);
4447
4117
  if (next === value) return;
4448
4118
  onChange(next);
4449
4119
  setDraft("");
4450
4120
  };
4451
- return /* @__PURE__ */ jsxs42(View42, { style: styles35.root, children: [
4452
- /* @__PURE__ */ jsx47(Problems, { title: labels.problems, problems }),
4453
- /* @__PURE__ */ jsx47(Txt, { variant: "title", children: labels.presets }),
4454
- presets.length === 0 ? /* @__PURE__ */ jsx47(Txt, { tone: "secondary", children: labels.empty }) : null,
4121
+ return /* @__PURE__ */ jsxs38(View38, { style: styles35.root, children: [
4122
+ /* @__PURE__ */ jsx43(Problems, { title: labels.problems, problems }),
4123
+ /* @__PURE__ */ jsx43(Txt, { variant: "title", children: labels.presets }),
4124
+ presets.length === 0 ? /* @__PURE__ */ jsx43(Txt, { tone: "secondary", children: labels.empty }) : null,
4455
4125
  presets.map((preset, index) => {
4456
4126
  const shown = preset.name || String(index + 1);
4457
- return /* @__PURE__ */ jsxs42(View42, { style: styles35.card, children: [
4458
- /* @__PURE__ */ jsxs42(View42, { style: styles35.line, children: [
4459
- /* @__PURE__ */ jsx47(TagMarker, { marker: preset.marker }),
4460
- /* @__PURE__ */ jsx47(
4127
+ return /* @__PURE__ */ jsxs38(View38, { style: styles35.card, children: [
4128
+ /* @__PURE__ */ jsxs38(View38, { style: styles35.line, children: [
4129
+ /* @__PURE__ */ jsx43(TagMarker, { marker: preset.marker }),
4130
+ /* @__PURE__ */ jsx43(
4461
4131
  TextField,
4462
4132
  {
4463
4133
  label: labels.name(index + 1),
@@ -4469,24 +4139,24 @@ function TagSetEditor({ value, onChange, variant, roles, problems, labels: given
4469
4139
  }
4470
4140
  )
4471
4141
  ] }),
4472
- /* @__PURE__ */ jsx47(MarkerPicker, { label: labels.marker(shown), names: labels.markerNames, value: preset.marker, disabled, onValueChange: (marker) => onChange(recolorPreset(value, variant, index, marker)) }),
4473
- /* @__PURE__ */ jsxs42(View42, { style: styles35.line, children: [
4474
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.moveUp(shown), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\u2191" }), disabled: disabled || index === 0, onPress: () => onChange(movePreset(value, variant, index, index - 1)) }),
4475
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.moveDown(shown), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\u2193" }), disabled: disabled || index === presets.length - 1, onPress: () => onChange(movePreset(value, variant, index, index + 1)) }),
4476
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.remove(shown), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\xD7" }), disabled, onPress: () => onChange(removePreset(value, variant, index)) })
4142
+ /* @__PURE__ */ jsx43(MarkerPicker, { label: labels.marker(shown), names: labels.markerNames, value: preset.marker, disabled, onValueChange: (marker) => onChange(recolorPreset(value, variant, index, marker)) }),
4143
+ /* @__PURE__ */ jsxs38(View38, { style: styles35.line, children: [
4144
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.moveUp(shown), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\u2191" }), disabled: disabled || index === 0, onPress: () => onChange(movePreset(value, variant, index, index - 1)) }),
4145
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.moveDown(shown), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\u2193" }), disabled: disabled || index === presets.length - 1, onPress: () => onChange(movePreset(value, variant, index, index + 1)) }),
4146
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.remove(shown), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\xD7" }), disabled, onPress: () => onChange(removePreset(value, variant, index)) })
4477
4147
  ] })
4478
4148
  ] }, index);
4479
4149
  }),
4480
- /* @__PURE__ */ jsxs42(View42, { style: styles35.card, children: [
4481
- /* @__PURE__ */ jsx47(TextField, { label: labels.add, value: draft, maxLength: 80, disabled, onValueChange: setDraft, onSubmitEditing: add, returnKeyType: "done" }),
4482
- /* @__PURE__ */ jsx47(MarkerPicker, { label: labels.marker(draft.trim() || labels.add), names: labels.markerNames, value: draftMarker, disabled, onValueChange: setDraftMarker }),
4483
- /* @__PURE__ */ jsx47(Button, { label: labels.addButton, size: "sm", disabled: disabled || !draft.trim(), onPress: add })
4150
+ /* @__PURE__ */ jsxs38(View38, { style: styles35.card, children: [
4151
+ /* @__PURE__ */ jsx43(TextField, { label: labels.add, value: draft, maxLength: 80, disabled, onValueChange: setDraft, onSubmitEditing: add, returnKeyType: "done" }),
4152
+ /* @__PURE__ */ jsx43(MarkerPicker, { label: labels.marker(draft.trim() || labels.add), names: labels.markerNames, value: draftMarker, disabled, onValueChange: setDraftMarker }),
4153
+ /* @__PURE__ */ jsx43(Button, { label: labels.addButton, size: "sm", disabled: disabled || !draft.trim(), onPress: add })
4484
4154
  ] }),
4485
- /* @__PURE__ */ jsx47(Txt, { variant: "label", children: labels.writers }),
4486
- /* @__PURE__ */ jsx47(Txt, { variant: "caption", tone: "secondary", children: labels.writersHint }),
4487
- /* @__PURE__ */ jsx47(Chip.Group, { type: "multiple", size: "sm", "aria-label": labels.writers, value: value.writers, disabled, onValueChange: (writers) => onChange({ ...value, writers }), children: roles.map((role) => /* @__PURE__ */ jsx47(Chip, { value: role.key, children: role.label }, role.key)) }),
4488
- /* @__PURE__ */ jsx47(Switch, { showLabel: true, label: labels.userTags, description: labels.userTagsHint, checked: value.userTags, disabled, onCheckedChange: (userTags) => onChange({ ...value, userTags }) }),
4489
- /* @__PURE__ */ jsx47(
4155
+ /* @__PURE__ */ jsx43(Txt, { variant: "label", children: labels.writers }),
4156
+ /* @__PURE__ */ jsx43(Txt, { variant: "caption", tone: "secondary", children: labels.writersHint }),
4157
+ /* @__PURE__ */ jsx43(Chip.Group, { type: "multiple", size: "sm", "aria-label": labels.writers, value: value.writers, disabled, onValueChange: (writers) => onChange({ ...value, writers }), children: roles.map((role) => /* @__PURE__ */ jsx43(Chip, { value: role.key, children: role.label }, role.key)) }),
4158
+ /* @__PURE__ */ jsx43(Switch, { showLabel: true, label: labels.userTags, description: labels.userTagsHint, checked: value.userTags, disabled, onCheckedChange: (userTags) => onChange({ ...value, userTags }) }),
4159
+ /* @__PURE__ */ jsx43(
4490
4160
  TextField,
4491
4161
  {
4492
4162
  label: labels.max,
@@ -4503,27 +4173,27 @@ function TagSetEditor({ value, onChange, variant, roles, problems, labels: given
4503
4173
  }
4504
4174
  function StatusSetEditor({ value, onChange, roles, locale = "en", problems, labels: given, disabled }) {
4505
4175
  const labels = { ...statusSetEditorLabels, ...given };
4506
- const [chosen, setChosen] = React30.useState(null);
4176
+ const [chosen, setChosen] = React29.useState(null);
4507
4177
  const nameOf = (key) => value.states.find((s) => s.key === key)?.label[locale] || key;
4508
4178
  const roleLabel = (key) => roles.find((r) => r.key === key)?.label ?? key;
4509
4179
  const open = chosen && value.states.some((x) => x.key === chosen.from) && value.states.some((x) => x.key === chosen.to) ? chosen : null;
4510
4180
  const detail = open ? transitionOf(value, open.from, open.to) : void 0;
4511
4181
  if (value.mode === "derived") {
4512
- return /* @__PURE__ */ jsxs42(View42, { style: styles35.root, children: [
4513
- /* @__PURE__ */ jsx47(Problems, { title: labels.problems, problems }),
4514
- /* @__PURE__ */ jsx47(Txt, { tone: "secondary", children: labels.derived }),
4515
- value.states.map((state) => /* @__PURE__ */ jsx47(Txt, { children: state.label[locale] }, state.key))
4182
+ return /* @__PURE__ */ jsxs38(View38, { style: styles35.root, children: [
4183
+ /* @__PURE__ */ jsx43(Problems, { title: labels.problems, problems }),
4184
+ /* @__PURE__ */ jsx43(Txt, { tone: "secondary", children: labels.derived }),
4185
+ value.states.map((state) => /* @__PURE__ */ jsx43(Txt, { children: state.label[locale] }, state.key))
4516
4186
  ] });
4517
4187
  }
4518
- return /* @__PURE__ */ jsxs42(View42, { style: styles35.root, children: [
4519
- /* @__PURE__ */ jsx47(Problems, { title: labels.problems, problems }),
4520
- /* @__PURE__ */ jsx47(Txt, { variant: "title", children: labels.states }),
4188
+ return /* @__PURE__ */ jsxs38(View38, { style: styles35.root, children: [
4189
+ /* @__PURE__ */ jsx43(Problems, { title: labels.problems, problems }),
4190
+ /* @__PURE__ */ jsx43(Txt, { variant: "title", children: labels.states }),
4521
4191
  value.states.map((state, index) => {
4522
4192
  const n = index + 1;
4523
4193
  const isInitial = value.initial === state.key;
4524
4194
  const name = state.label[locale] || String(n);
4525
- return /* @__PURE__ */ jsxs42(View42, { style: styles35.card, children: [
4526
- ["fr", "en"].map((lang) => /* @__PURE__ */ jsx47(
4195
+ return /* @__PURE__ */ jsxs38(View38, { style: styles35.card, children: [
4196
+ ["fr", "en"].map((lang) => /* @__PURE__ */ jsx43(
4527
4197
  TextField,
4528
4198
  {
4529
4199
  label: labels.stateLabel(labels.languages[lang], n),
@@ -4535,7 +4205,7 @@ function StatusSetEditor({ value, onChange, roles, locale = "en", problems, labe
4535
4205
  },
4536
4206
  lang
4537
4207
  )),
4538
- /* @__PURE__ */ jsx47(
4208
+ /* @__PURE__ */ jsx43(
4539
4209
  Select,
4540
4210
  {
4541
4211
  label: labels.tone(n),
@@ -4545,31 +4215,31 @@ function StatusSetEditor({ value, onChange, roles, locale = "en", problems, labe
4545
4215
  onValueChange: (tone3) => onChange(setStateTone(value, state.key, tone3))
4546
4216
  }
4547
4217
  ),
4548
- /* @__PURE__ */ jsx47(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)) }),
4549
- /* @__PURE__ */ jsx47(Chip, { selected: isInitial, disabled: disabled || Boolean(state.final), "aria-label": labels.initial(n), onSelectedChange: () => onChange(setInitial(value, state.key)), children: labels.initial(n) }),
4550
- /* @__PURE__ */ jsxs42(View42, { style: styles35.line, children: [
4551
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.moveUp(name), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\u2191" }), disabled: disabled || index === 0, onPress: () => onChange(moveState(value, index, index - 1)) }),
4552
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.moveDown(name), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\u2193" }), disabled: disabled || index === value.states.length - 1, onPress: () => onChange(moveState(value, index, index + 1)) }),
4553
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.remove(name), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\xD7" }), disabled: disabled || value.states.length <= 2, onPress: () => onChange(removeState(value, state.key)) })
4218
+ /* @__PURE__ */ jsx43(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)) }),
4219
+ /* @__PURE__ */ jsx43(Chip, { selected: isInitial, disabled: disabled || Boolean(state.final), "aria-label": labels.initial(n), onSelectedChange: () => onChange(setInitial(value, state.key)), children: labels.initial(n) }),
4220
+ /* @__PURE__ */ jsxs38(View38, { style: styles35.line, children: [
4221
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.moveUp(name), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\u2191" }), disabled: disabled || index === 0, onPress: () => onChange(moveState(value, index, index - 1)) }),
4222
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.moveDown(name), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\u2193" }), disabled: disabled || index === value.states.length - 1, onPress: () => onChange(moveState(value, index, index + 1)) }),
4223
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.remove(name), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\xD7" }), disabled: disabled || value.states.length <= 2, onPress: () => onChange(removeState(value, state.key)) })
4554
4224
  ] })
4555
4225
  ] }, state.key);
4556
4226
  }),
4557
- /* @__PURE__ */ jsx47(Button, { label: labels.addState, size: "sm", disabled: disabled || value.states.length >= 12, onPress: () => onChange(addState(value, labels.newState)) }),
4558
- /* @__PURE__ */ jsx47(Txt, { variant: "title", children: labels.moves }),
4559
- /* @__PURE__ */ jsx47(Txt, { variant: "caption", tone: "secondary", children: labels.movesHint }),
4560
- value.states.map((from) => /* @__PURE__ */ jsxs42(View42, { role: "group", "aria-label": labels.from(nameOf(from.key)), style: styles35.card, children: [
4561
- /* @__PURE__ */ jsx47(Txt, { variant: "label", children: nameOf(from.key) }),
4562
- from.final ? /* @__PURE__ */ jsx47(Txt, { variant: "caption", tone: "secondary", children: labels.noWayOut }) : /* @__PURE__ */ jsx47(View42, { style: styles35.wrap, children: value.states.filter((to) => to.key !== from.key).map((to) => {
4227
+ /* @__PURE__ */ jsx43(Button, { label: labels.addState, size: "sm", disabled: disabled || value.states.length >= 12, onPress: () => onChange(addState(value, labels.newState)) }),
4228
+ /* @__PURE__ */ jsx43(Txt, { variant: "title", children: labels.moves }),
4229
+ /* @__PURE__ */ jsx43(Txt, { variant: "caption", tone: "secondary", children: labels.movesHint }),
4230
+ value.states.map((from) => /* @__PURE__ */ jsxs38(View38, { role: "group", "aria-label": labels.from(nameOf(from.key)), style: styles35.card, children: [
4231
+ /* @__PURE__ */ jsx43(Txt, { variant: "label", children: nameOf(from.key) }),
4232
+ from.final ? /* @__PURE__ */ jsx43(Txt, { variant: "caption", tone: "secondary", children: labels.noWayOut }) : /* @__PURE__ */ jsx43(View38, { style: styles35.wrap, children: value.states.filter((to) => to.key !== from.key).map((to) => {
4563
4233
  const move2 = transitionOf(value, from.key, to.key);
4564
4234
  const summary = move2 ? move2.roles.map(roleLabel).join(", ") : labels.none;
4565
4235
  const on = open?.from === from.key && open.to === to.key;
4566
- return /* @__PURE__ */ jsx47(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);
4236
+ return /* @__PURE__ */ jsx43(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);
4567
4237
  }) })
4568
4238
  ] }, from.key)),
4569
- open ? /* @__PURE__ */ jsxs42(View42, { role: "group", "aria-label": labels.moveDetail(nameOf(open.from), nameOf(open.to)), style: styles35.card, children: [
4570
- /* @__PURE__ */ jsx47(Txt, { variant: "label", children: labels.moveDetail(nameOf(open.from), nameOf(open.to)) }),
4571
- /* @__PURE__ */ jsx47(Txt, { variant: "caption", tone: "secondary", children: labels.roles }),
4572
- /* @__PURE__ */ jsx47(
4239
+ open ? /* @__PURE__ */ jsxs38(View38, { role: "group", "aria-label": labels.moveDetail(nameOf(open.from), nameOf(open.to)), style: styles35.card, children: [
4240
+ /* @__PURE__ */ jsx43(Txt, { variant: "label", children: labels.moveDetail(nameOf(open.from), nameOf(open.to)) }),
4241
+ /* @__PURE__ */ jsx43(Txt, { variant: "caption", tone: "secondary", children: labels.roles }),
4242
+ /* @__PURE__ */ jsx43(
4573
4243
  Chip.Group,
4574
4244
  {
4575
4245
  type: "multiple",
@@ -4580,14 +4250,14 @@ function StatusSetEditor({ value, onChange, roles, locale = "en", problems, labe
4580
4250
  onValueChange: (next) => {
4581
4251
  onChange(setTransitionRoles(value, open.from, open.to, next));
4582
4252
  },
4583
- children: roles.map((role) => /* @__PURE__ */ jsx47(Chip, { value: role.key, children: role.label }, role.key))
4253
+ children: roles.map((role) => /* @__PURE__ */ jsx43(Chip, { value: role.key, children: role.label }, role.key))
4584
4254
  }
4585
4255
  ),
4586
- detail ? /* @__PURE__ */ jsxs42(Fragment8, { children: [
4587
- /* @__PURE__ */ jsx47(Switch, { showLabel: true, size: "sm", label: labels.confirm, checked: Boolean(detail?.confirm), disabled, onCheckedChange: (on) => onChange(setTransitionConfirm(value, open.from, open.to, on)) }),
4588
- /* @__PURE__ */ jsx47(Txt, { variant: "caption", tone: "secondary", children: labels.reasons }),
4589
- (detail?.reasons ?? []).map((reason, at) => /* @__PURE__ */ jsxs42(View42, { style: styles35.card, children: [
4590
- ["fr", "en"].map((lang) => /* @__PURE__ */ jsx47(
4256
+ detail ? /* @__PURE__ */ jsxs38(Fragment8, { children: [
4257
+ /* @__PURE__ */ jsx43(Switch, { showLabel: true, size: "sm", label: labels.confirm, checked: Boolean(detail?.confirm), disabled, onCheckedChange: (on) => onChange(setTransitionConfirm(value, open.from, open.to, on)) }),
4258
+ /* @__PURE__ */ jsx43(Txt, { variant: "caption", tone: "secondary", children: labels.reasons }),
4259
+ (detail?.reasons ?? []).map((reason, at) => /* @__PURE__ */ jsxs38(View38, { style: styles35.card, children: [
4260
+ ["fr", "en"].map((lang) => /* @__PURE__ */ jsx43(
4591
4261
  TextField,
4592
4262
  {
4593
4263
  label: labels.reasonLabel(labels.languages[lang], at + 1),
@@ -4598,9 +4268,9 @@ function StatusSetEditor({ value, onChange, roles, locale = "en", problems, labe
4598
4268
  },
4599
4269
  lang
4600
4270
  )),
4601
- /* @__PURE__ */ jsx47(IconButton, { variant: "ghost", size: "sm", label: labels.removeReason(at + 1), icon: /* @__PURE__ */ jsx47(Glyph, { children: "\xD7" }), disabled, onPress: () => onChange(setTransitionReasons(value, open.from, open.to, (detail?.reasons ?? []).filter((r) => r.key !== reason.key))) })
4271
+ /* @__PURE__ */ jsx43(IconButton, { variant: "ghost", size: "sm", label: labels.removeReason(at + 1), icon: /* @__PURE__ */ jsx43(Glyph, { children: "\xD7" }), disabled, onPress: () => onChange(setTransitionReasons(value, open.from, open.to, (detail?.reasons ?? []).filter((r) => r.key !== reason.key))) })
4602
4272
  ] }, reason.key)),
4603
- /* @__PURE__ */ jsx47(Button, { label: labels.addReason, size: "sm", disabled: disabled || (detail?.reasons?.length ?? 0) >= 12, onPress: () => onChange(addReason(value, open.from, open.to, { fr: "", en: "" })) })
4273
+ /* @__PURE__ */ jsx43(Button, { label: labels.addReason, size: "sm", disabled: disabled || (detail?.reasons?.length ?? 0) >= 12, onPress: () => onChange(addReason(value, open.from, open.to, { fr: "", en: "" })) })
4604
4274
  ] }) : null
4605
4275
  ] }) : null
4606
4276
  ] });
@@ -4615,21 +4285,21 @@ var styles35 = StyleSheet35.create({
4615
4285
  });
4616
4286
 
4617
4287
  // src/native/list-detail.tsx
4618
- import * as React31 from "react";
4619
- import { StyleSheet as StyleSheet36, View as View43 } from "react-native";
4620
- import { jsx as jsx48, jsxs as jsxs43 } from "react/jsx-runtime";
4288
+ import * as React30 from "react";
4289
+ import { StyleSheet as StyleSheet36, View as View39 } from "react-native";
4290
+ import { jsx as jsx44, jsxs as jsxs39 } from "react/jsx-runtime";
4621
4291
  function ListDetail({ listTitle, listActions, list, detailTitle, detailActions, detail, empty: empty2, backLabel, onBack, listWidth = 340, minDetailWidth = 400, fontScale, testID }) {
4622
4292
  const { theme } = useTheme();
4623
4293
  const system = useFontScale();
4624
- const [width, setWidth] = React31.useState(0);
4625
- const onLayout = React31.useCallback((event) => setWidth(Math.floor(event.nativeEvent.layout.width)), []);
4294
+ const [width, setWidth] = React30.useState(0);
4295
+ const onLayout = React30.useCallback((event) => setWidth(Math.floor(event.nativeEvent.layout.width)), []);
4626
4296
  const both = width > 0 && width >= listWidth + minDetailWidth * Math.max(1, fontScale ?? system);
4627
4297
  const open = detail != null;
4628
- const listPane = /* @__PURE__ */ jsx48(Screen, { header: /* @__PURE__ */ jsx48(Header, { title: listTitle, actions: listActions }), scroll: false, keyboard: false, padding: 0, children: list });
4629
- const detailPane = /* @__PURE__ */ jsx48(Screen, { header: /* @__PURE__ */ jsx48(Header, { size: "inline", title: detailTitle ?? "", backLabel: both ? void 0 : backLabel, onBack: both ? void 0 : onBack, actions: detailActions }), keyboard: false, children: open ? detail : /* @__PURE__ */ jsx48(View43, { style: styles36.empty, children: /* @__PURE__ */ jsx48(Txt, { tone: "secondary", children: empty2 }) }) });
4630
- return /* @__PURE__ */ jsx48(View43, { testID, onLayout, "data-panes": both ? "both" : "one", style: styles36.root, children: both ? /* @__PURE__ */ jsxs43(View43, { style: styles36.row, children: [
4631
- /* @__PURE__ */ jsx48(View43, { style: [styles36.list, { width: listWidth, borderEndColor: theme.borderSubtle, borderEndWidth: StyleSheet36.hairlineWidth }], children: listPane }),
4632
- /* @__PURE__ */ jsx48(View43, { style: styles36.detail, children: detailPane })
4298
+ const listPane = /* @__PURE__ */ jsx44(Screen, { header: /* @__PURE__ */ jsx44(Header, { title: listTitle, actions: listActions }), scroll: false, keyboard: false, padding: 0, children: list });
4299
+ const detailPane = /* @__PURE__ */ jsx44(Screen, { header: /* @__PURE__ */ jsx44(Header, { size: "inline", title: detailTitle ?? "", backLabel: both ? void 0 : backLabel, onBack: both ? void 0 : onBack, actions: detailActions }), keyboard: false, children: open ? detail : /* @__PURE__ */ jsx44(View39, { style: styles36.empty, children: /* @__PURE__ */ jsx44(Txt, { tone: "secondary", children: empty2 }) }) });
4300
+ return /* @__PURE__ */ jsx44(View39, { testID, onLayout, "data-panes": both ? "both" : "one", style: styles36.root, children: both ? /* @__PURE__ */ jsxs39(View39, { style: styles36.row, children: [
4301
+ /* @__PURE__ */ jsx44(View39, { style: [styles36.list, { width: listWidth, borderEndColor: theme.borderSubtle, borderEndWidth: StyleSheet36.hairlineWidth }], children: listPane }),
4302
+ /* @__PURE__ */ jsx44(View39, { style: styles36.detail, children: detailPane })
4633
4303
  ] }) : open ? detailPane : listPane });
4634
4304
  }
4635
4305
  var styles36 = StyleSheet36.create({
@@ -4641,38 +4311,38 @@ var styles36 = StyleSheet36.create({
4641
4311
  });
4642
4312
 
4643
4313
  // src/native/loader.tsx
4644
- import * as React32 from "react";
4645
- import { AccessibilityInfo as AccessibilityInfo8, Animated as Animated13, Easing as Easing5, StyleSheet as StyleSheet37, View as View44 } from "react-native";
4646
- import Svg19, { Circle as Circle11, Path as Path17 } from "react-native-svg";
4647
- import { jsx as jsx49, jsxs as jsxs44 } from "react/jsx-runtime";
4314
+ import * as React31 from "react";
4315
+ import { AccessibilityInfo as AccessibilityInfo7, Animated as Animated12, Easing as Easing4, StyleSheet as StyleSheet37, View as View40 } from "react-native";
4316
+ import Svg15, { Circle as Circle7, Path as Path13 } from "react-native-svg";
4317
+ import { jsx as jsx45, jsxs as jsxs40 } from "react/jsx-runtime";
4648
4318
  var HEX = "M12 3 19.79 7.5 19.79 16.5 12 21 4.21 16.5 4.21 7.5Z";
4649
4319
  var PERIMETER = 54;
4650
4320
  function LoaderGlyph({ state = "loading", value, size = 20, color }) {
4651
4321
  const { theme } = useTheme();
4652
4322
  const reduce = useReducedMotion();
4653
- const [spin] = React32.useState(() => new Animated13.Value(0));
4323
+ const [spin] = React31.useState(() => new Animated12.Value(0));
4654
4324
  const known = typeof value === "number" && Number.isFinite(value);
4655
- React32.useEffect(() => {
4325
+ React31.useEffect(() => {
4656
4326
  if (state !== "loading" || known || reduce) return;
4657
- const loop = Animated13.loop(Animated13.timing(spin, { toValue: 1, duration: 1400, easing: Easing5.linear, useNativeDriver: true }));
4327
+ const loop = Animated12.loop(Animated12.timing(spin, { toValue: 1, duration: 1400, easing: Easing4.linear, useNativeDriver: true }));
4658
4328
  loop.start();
4659
4329
  return () => loop.stop();
4660
4330
  }, [state, known, reduce, spin]);
4661
4331
  const stroke = color ?? (state === "success" ? theme.success : state === "error" ? theme.danger : theme.accent);
4662
4332
  const fill = state !== "loading" ? 1 : known ? Math.min(1, Math.max(0, value)) : 0.3;
4663
4333
  const rotate = spin.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "360deg"] });
4664
- return /* @__PURE__ */ jsx49(Animated13.View, { "aria-hidden": true, style: { width: size, height: size, transform: state === "loading" && !known ? [{ rotate }] : [] }, children: /* @__PURE__ */ jsxs44(Svg19, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
4665
- /* @__PURE__ */ jsx49(Path17, { d: HEX, stroke, strokeOpacity: 0.22, strokeWidth: 2.2, strokeLinejoin: "round" }),
4666
- /* @__PURE__ */ jsx49(Path17, { d: HEX, stroke, strokeWidth: 2.2, strokeLinejoin: "round", strokeLinecap: "round", strokeDasharray: `${fill * PERIMETER} ${PERIMETER}` }),
4667
- state === "loading" ? /* @__PURE__ */ jsx49(Circle11, { cx: 12, cy: 12, r: 2.6, fill: stroke }) : null,
4668
- state === "success" ? /* @__PURE__ */ jsx49(Path17, { d: "M8.3 12.3l2.6 2.6 4.9-5.3", stroke, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" }) : null,
4669
- state === "error" ? /* @__PURE__ */ jsx49(Path17, { d: "M9.4 9.4l5.2 5.2M14.6 9.4l-5.2 5.2", stroke, strokeWidth: 2.2, strokeLinecap: "round" }) : null
4334
+ return /* @__PURE__ */ jsx45(Animated12.View, { "aria-hidden": true, style: { width: size, height: size, transform: state === "loading" && !known ? [{ rotate }] : [] }, children: /* @__PURE__ */ jsxs40(Svg15, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
4335
+ /* @__PURE__ */ jsx45(Path13, { d: HEX, stroke, strokeOpacity: 0.22, strokeWidth: 2.2, strokeLinejoin: "round" }),
4336
+ /* @__PURE__ */ jsx45(Path13, { d: HEX, stroke, strokeWidth: 2.2, strokeLinejoin: "round", strokeLinecap: "round", strokeDasharray: `${fill * PERIMETER} ${PERIMETER}` }),
4337
+ state === "loading" ? /* @__PURE__ */ jsx45(Circle7, { cx: 12, cy: 12, r: 2.6, fill: stroke }) : null,
4338
+ state === "success" ? /* @__PURE__ */ jsx45(Path13, { d: "M8.3 12.3l2.6 2.6 4.9-5.3", stroke, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" }) : null,
4339
+ state === "error" ? /* @__PURE__ */ jsx45(Path13, { d: "M9.4 9.4l5.2 5.2M14.6 9.4l-5.2 5.2", stroke, strokeWidth: 2.2, strokeLinecap: "round" }) : null
4670
4340
  ] }) });
4671
4341
  }
4672
4342
  function useDelayedWait(active, delay = 250, minDuration = 600) {
4673
- const [shown, setShown] = React32.useState(false);
4674
- const since = React32.useRef(0);
4675
- React32.useEffect(() => {
4343
+ const [shown, setShown] = React31.useState(false);
4344
+ const since = React31.useRef(0);
4345
+ React31.useEffect(() => {
4676
4346
  if (active && !shown) {
4677
4347
  const timer2 = setTimeout(() => {
4678
4348
  since.current = Date.now();
@@ -4692,9 +4362,9 @@ var GLYPH = { inline: 20, block: 36, overlay: 36, page: 56 };
4692
4362
  function Loader({ label, status = "loading", successLabel, errorLabel, value, eta, delay = 250, minDuration = 600, endDuration = 1600, variant = "inline", product, style }) {
4693
4363
  const { theme, radius: radius3 } = useTheme();
4694
4364
  const waiting = useDelayedWait(status === "loading", delay, minDuration);
4695
- const [ending, setEnding] = React32.useState(null);
4696
- const seen = React32.useRef(false);
4697
- React32.useEffect(() => {
4365
+ const [ending, setEnding] = React31.useState(null);
4366
+ const seen = React31.useRef(false);
4367
+ React31.useEffect(() => {
4698
4368
  if (waiting) {
4699
4369
  seen.current = true;
4700
4370
  return;
@@ -4711,24 +4381,24 @@ function Loader({ label, status = "loading", successLabel, errorLabel, value, et
4711
4381
  }, [waiting, status, endDuration]);
4712
4382
  const phase = waiting ? "loading" : ending;
4713
4383
  const words2 = phase === "success" ? successLabel ?? label : phase === "error" ? errorLabel ?? label : label;
4714
- React32.useEffect(() => {
4715
- if (phase) AccessibilityInfo8.announceForAccessibility(words2);
4384
+ React31.useEffect(() => {
4385
+ if (phase) AccessibilityInfo7.announceForAccessibility(words2);
4716
4386
  }, [phase, words2]);
4717
4387
  if (!phase) return null;
4718
4388
  const known = phase === "loading" && typeof value === "number" && Number.isFinite(value);
4719
4389
  const detail = phase === "loading" ? [known ? `${Math.round(Math.min(1, Math.max(0, value)) * 100)} %` : null, eta].filter(Boolean).join(" \xB7 ") : "";
4720
4390
  const stacked = variant !== "inline";
4721
- const box = /* @__PURE__ */ jsxs44(View44, { style: [stacked ? styles37.stacked : styles37.inline, variant === "overlay" ? { backgroundColor: alpha(theme.surface1, 0.92), borderColor: theme.borderDefault, borderRadius: radius3.lg, ...styles37.card } : null], children: [
4722
- product && phase === "loading" ? /* @__PURE__ */ jsx49(ProductMark, { id: product, size: GLYPH[variant], animated: true }) : /* @__PURE__ */ jsx49(LoaderGlyph, { state: phase, value: known ? value : null, size: GLYPH[variant] }),
4723
- /* @__PURE__ */ jsxs44(View44, { style: stacked ? styles37.center : styles37.text, children: [
4724
- /* @__PURE__ */ jsx49(Txt, { variant: variant === "page" ? "title" : "label", style: stacked ? styles37.centered : null, children: words2 }),
4725
- detail ? /* @__PURE__ */ jsx49(Txt, { variant: "caption", tone: "secondary", style: stacked ? styles37.centered : null, children: detail }) : null
4391
+ const box = /* @__PURE__ */ jsxs40(View40, { style: [stacked ? styles37.stacked : styles37.inline, variant === "overlay" ? { backgroundColor: alpha(theme.surface1, 0.92), borderColor: theme.borderDefault, borderRadius: radius3.lg, ...styles37.card } : null], children: [
4392
+ product && phase === "loading" ? /* @__PURE__ */ jsx45(ProductMark, { id: product, size: GLYPH[variant], animated: true }) : /* @__PURE__ */ jsx45(LoaderGlyph, { state: phase, value: known ? value : null, size: GLYPH[variant] }),
4393
+ /* @__PURE__ */ jsxs40(View40, { style: stacked ? styles37.center : styles37.text, children: [
4394
+ /* @__PURE__ */ jsx45(Txt, { variant: variant === "page" ? "title" : "label", style: stacked ? styles37.centered : null, children: words2 }),
4395
+ detail ? /* @__PURE__ */ jsx45(Txt, { variant: "caption", tone: "secondary", style: stacked ? styles37.centered : null, children: detail }) : null
4726
4396
  ] })
4727
4397
  ] });
4728
4398
  const a11y = { accessible: true, role: "progressbar", "aria-label": words2, "aria-busy": phase === "loading", accessibilityLiveRegion: "polite" };
4729
4399
  if (variant === "overlay" || variant === "page")
4730
- return /* @__PURE__ */ jsx49(View44, { ...a11y, style: [StyleSheet37.absoluteFill, styles37.cover, variant === "page" ? { backgroundColor: alpha(theme.surface0, 0.86) } : null, style], children: box });
4731
- return /* @__PURE__ */ jsx49(View44, { ...a11y, style: [variant === "block" ? styles37.block : null, style], children: box });
4400
+ return /* @__PURE__ */ jsx45(View40, { ...a11y, style: [StyleSheet37.absoluteFill, styles37.cover, variant === "page" ? { backgroundColor: alpha(theme.surface0, 0.86) } : null, style], children: box });
4401
+ return /* @__PURE__ */ jsx45(View40, { ...a11y, style: [variant === "block" ? styles37.block : null, style], children: box });
4732
4402
  }
4733
4403
  var styles37 = StyleSheet37.create({
4734
4404
  inline: { flexDirection: "row", alignItems: "center", gap: 10 },
@@ -4742,17 +4412,17 @@ var styles37 = StyleSheet37.create({
4742
4412
  });
4743
4413
 
4744
4414
  // src/native/maintenance-screen.tsx
4745
- import { StyleSheet as StyleSheet38, View as View45 } from "react-native";
4746
- import { jsx as jsx50, jsxs as jsxs45 } from "react/jsx-runtime";
4415
+ import { StyleSheet as StyleSheet38, View as View41 } from "react-native";
4416
+ import { jsx as jsx46, jsxs as jsxs41 } from "react/jsx-runtime";
4747
4417
  function MaintenanceScreen({ title, message, mark, retryLabel, onRetry, fill = true, style }) {
4748
4418
  const { theme } = useTheme();
4749
- return /* @__PURE__ */ jsxs45(View45, { style: [styles38.root, fill ? styles38.fill : null, { backgroundColor: theme.surface0 }, style], children: [
4750
- mark ? /* @__PURE__ */ jsx50(View45, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: styles38.mark, children: mark }) : null,
4751
- /* @__PURE__ */ jsxs45(View45, { role: "status", style: styles38.text, children: [
4752
- /* @__PURE__ */ jsx50(Txt, { variant: "title", style: styles38.centred, children: title }),
4753
- message ? /* @__PURE__ */ jsx50(Txt, { tone: "secondary", style: styles38.centred, children: message }) : null
4419
+ return /* @__PURE__ */ jsxs41(View41, { style: [styles38.root, fill ? styles38.fill : null, { backgroundColor: theme.surface0 }, style], children: [
4420
+ mark ? /* @__PURE__ */ jsx46(View41, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: styles38.mark, children: mark }) : null,
4421
+ /* @__PURE__ */ jsxs41(View41, { role: "status", style: styles38.text, children: [
4422
+ /* @__PURE__ */ jsx46(Txt, { variant: "title", style: styles38.centred, children: title }),
4423
+ message ? /* @__PURE__ */ jsx46(Txt, { tone: "secondary", style: styles38.centred, children: message }) : null
4754
4424
  ] }),
4755
- retryLabel && onRetry ? /* @__PURE__ */ jsx50(View45, { style: styles38.actions, children: /* @__PURE__ */ jsx50(Button, { label: retryLabel, variant: "secondary", onPress: onRetry }) }) : null
4425
+ retryLabel && onRetry ? /* @__PURE__ */ jsx46(View41, { style: styles38.actions, children: /* @__PURE__ */ jsx46(Button, { label: retryLabel, variant: "secondary", onPress: onRetry }) }) : null
4756
4426
  ] });
4757
4427
  }
4758
4428
  var styles38 = StyleSheet38.create({
@@ -4765,13 +4435,13 @@ var styles38 = StyleSheet38.create({
4765
4435
  });
4766
4436
 
4767
4437
  // src/native/mascot-state.tsx
4768
- import * as React34 from "react";
4769
- import { AccessibilityInfo as AccessibilityInfo10, Animated as Animated15, Easing as Easing7, StyleSheet as StyleSheet39, View as View47 } from "react-native";
4438
+ import * as React33 from "react";
4439
+ import { AccessibilityInfo as AccessibilityInfo9, Animated as Animated14, Easing as Easing6, StyleSheet as StyleSheet39, View as View43 } from "react-native";
4770
4440
 
4771
4441
  // src/native/mascots.tsx
4772
- import { useEffect as useEffect16, useState as useState32 } from "react";
4773
- import { AccessibilityInfo as AccessibilityInfo9, Animated as Animated14, Easing as Easing6, View as View46 } from "react-native";
4774
- import Svg20, { Circle as Circle12, Defs as Defs11, Ellipse as Ellipse2, G, LinearGradient as LinearGradient8, Path as Path18, Rect as Rect2, Stop as Stop11 } from "react-native-svg";
4442
+ import { useEffect as useEffect15, useState as useState31 } from "react";
4443
+ import { AccessibilityInfo as AccessibilityInfo8, Animated as Animated13, Easing as Easing5, View as View42 } from "react-native";
4444
+ import Svg16, { Circle as Circle8, Defs as Defs7, Ellipse, G, LinearGradient as LinearGradient6, Path as Path14, Rect as Rect2, Stop as Stop7 } from "react-native-svg";
4775
4445
 
4776
4446
  // src/mascots/geometry.ts
4777
4447
  var mirror = (d) => d.replace(/(-?\d+(?:\.\d+)?) (-?\d+(?:\.\d+)?)/g, (_, x, y) => `${120 - Number(x)} ${y}`);
@@ -4973,17 +4643,17 @@ var SHADE = "#000000";
4973
4643
  var PARCEL = ["#f59e0b", "#d97706", "#b45309"];
4974
4644
 
4975
4645
  // src/native/mascots.tsx
4976
- import { jsx as jsx51, jsxs as jsxs46 } from "react/jsx-runtime";
4646
+ import { jsx as jsx47, jsxs as jsxs42 } from "react/jsx-runtime";
4977
4647
  function useBob(animated) {
4978
- const [y] = useState32(() => new Animated14.Value(0));
4979
- useEffect16(() => {
4648
+ const [y] = useState31(() => new Animated13.Value(0));
4649
+ useEffect15(() => {
4980
4650
  if (!animated) return;
4981
4651
  let loop;
4982
4652
  let cancelled = false;
4983
- void AccessibilityInfo9.isReduceMotionEnabled().then((reduce) => {
4653
+ void AccessibilityInfo8.isReduceMotionEnabled().then((reduce) => {
4984
4654
  if (reduce || cancelled) return;
4985
- const step = (toValue) => Animated14.timing(y, { toValue, duration: 1800, easing: Easing6.inOut(Easing6.ease), useNativeDriver: true });
4986
- loop = Animated14.loop(Animated14.sequence([step(-2.5), step(0)]));
4655
+ const step = (toValue) => Animated13.timing(y, { toValue, duration: 1800, easing: Easing5.inOut(Easing5.ease), useNativeDriver: true });
4656
+ loop = Animated13.loop(Animated13.sequence([step(-2.5), step(0)]));
4987
4657
  loop.start();
4988
4658
  });
4989
4659
  return () => {
@@ -5007,62 +4677,62 @@ function Mascot({ bird = "owl", mood = "welcome", tone: tone3 = "brand", size =
5007
4677
  const look3 = mood === "thinking" ? 1.4 : 0;
5008
4678
  const rot = (deg, [x, y]) => `rotate(${deg} ${x} ${y})`;
5009
4679
  const [wl, wr] = g.wings;
5010
- return /* @__PURE__ */ jsx51(View46, { style: [{ width: size, height: size }, style], ...markA11y(title), children: /* @__PURE__ */ jsx51(Animated14.View, { style: { transform: [{ translateY: bob }] }, children: /* @__PURE__ */ jsxs46(Svg20, { width: size, height: size, viewBox: "0 0 120 120", children: [
5011
- /* @__PURE__ */ jsx51(Defs11, { children: /* @__PURE__ */ jsxs46(LinearGradient8, { id, x1: "0", y1: "0", x2: "0", y2: "1", children: [
5012
- /* @__PURE__ */ jsx51(Stop11, { offset: "0%", stopColor: p.from }),
5013
- /* @__PURE__ */ jsx51(Stop11, { offset: "100%", stopColor: p.to })
4680
+ return /* @__PURE__ */ jsx47(View42, { style: [{ width: size, height: size }, style], ...markA11y(title), children: /* @__PURE__ */ jsx47(Animated13.View, { style: { transform: [{ translateY: bob }] }, children: /* @__PURE__ */ jsxs42(Svg16, { width: size, height: size, viewBox: "0 0 120 120", children: [
4681
+ /* @__PURE__ */ jsx47(Defs7, { children: /* @__PURE__ */ jsxs42(LinearGradient6, { id, x1: "0", y1: "0", x2: "0", y2: "1", children: [
4682
+ /* @__PURE__ */ jsx47(Stop7, { offset: "0%", stopColor: p.from }),
4683
+ /* @__PURE__ */ jsx47(Stop7, { offset: "100%", stopColor: p.to })
5014
4684
  ] }) }),
5015
- /* @__PURE__ */ jsx51(Ellipse2, { cx: g.shadow[0], cy: g.shadow[1], rx: g.shadow[2], ry: g.shadow[3], fill: SHADE, opacity: 0.14 }),
5016
- mood === "empty" && /* @__PURE__ */ jsx51(Path18, { d: MOOD_PARTS.tray, stroke: outline, strokeWidth: 1.6, strokeDasharray: "3 3", fill: "none" }),
5017
- g.legs.map((d) => /* @__PURE__ */ jsx51(Path18, { d, stroke: p.beak, strokeWidth: 2.6, strokeLinecap: "round", fill: "none" }, d)),
5018
- g.back?.map((d) => d.endsWith("Z") ? /* @__PURE__ */ jsx51(Path18, { d, fill: p.detail, ...line }, d) : /* @__PURE__ */ jsx51(Path18, { d, stroke: outline, strokeWidth: 1.4, fill: "none" }, d)),
5019
- g.parcel?.map((d, i) => /* @__PURE__ */ jsx51(Path18, { d, fill: PARCEL[i], ...line }, d)),
5020
- /* @__PURE__ */ jsx51(Path18, { d: g.body, fill: body, ...line }),
5021
- /* @__PURE__ */ jsx51(Path18, { d: g.belly, fill: LIGHT, opacity: 0.28 }),
4685
+ /* @__PURE__ */ jsx47(Ellipse, { cx: g.shadow[0], cy: g.shadow[1], rx: g.shadow[2], ry: g.shadow[3], fill: SHADE, opacity: 0.14 }),
4686
+ mood === "empty" && /* @__PURE__ */ jsx47(Path14, { d: MOOD_PARTS.tray, stroke: outline, strokeWidth: 1.6, strokeDasharray: "3 3", fill: "none" }),
4687
+ g.legs.map((d) => /* @__PURE__ */ jsx47(Path14, { d, stroke: p.beak, strokeWidth: 2.6, strokeLinecap: "round", fill: "none" }, d)),
4688
+ g.back?.map((d) => d.endsWith("Z") ? /* @__PURE__ */ jsx47(Path14, { d, fill: p.detail, ...line }, d) : /* @__PURE__ */ jsx47(Path14, { d, stroke: outline, strokeWidth: 1.4, fill: "none" }, d)),
4689
+ g.parcel?.map((d, i) => /* @__PURE__ */ jsx47(Path14, { d, fill: PARCEL[i], ...line }, d)),
4690
+ /* @__PURE__ */ jsx47(Path14, { d: g.body, fill: body, ...line }),
4691
+ /* @__PURE__ */ jsx47(Path14, { d: g.belly, fill: LIGHT, opacity: 0.28 }),
5022
4692
  [wl, wr].map((w, i) => {
5023
4693
  const turn = mood === "success" ? i === 0 ? 28 : -28 : mood === "welcome" && i === 1 ? -20 : 0;
5024
- return /* @__PURE__ */ jsxs46(G, { transform: turn ? rot(turn, w.pivot) : void 0, children: [
5025
- /* @__PURE__ */ jsx51(Path18, { d: w.d, fill: p.wing, ...line }),
5026
- /* @__PURE__ */ jsx51(Path18, { d: w.d, fill: SHADE, opacity: 0.16 })
4694
+ return /* @__PURE__ */ jsxs42(G, { transform: turn ? rot(turn, w.pivot) : void 0, children: [
4695
+ /* @__PURE__ */ jsx47(Path14, { d: w.d, fill: p.wing, ...line }),
4696
+ /* @__PURE__ */ jsx47(Path14, { d: w.d, fill: SHADE, opacity: 0.16 })
5027
4697
  ] }, i);
5028
4698
  }),
5029
- g.neck && /* @__PURE__ */ jsx51(Path18, { d: g.neck.d, stroke: body, strokeWidth: g.neck.width, strokeLinecap: "round", fill: "none" }),
5030
- g.head.r > 0 && /* @__PURE__ */ jsx51(Circle12, { cx: g.head.cx, cy: g.head.cy, r: g.head.r, fill: body, ...line }),
5031
- g.details.map((d) => /* @__PURE__ */ jsx51(Path18, { d, fill: p.detail, ...line }, d)),
5032
- g.visor && /* @__PURE__ */ jsx51(Rect2, { x: g.visor.x, y: g.visor.y, width: g.visor.w, height: g.visor.h, rx: 4, fill: theme.surface0, ...line }),
4699
+ g.neck && /* @__PURE__ */ jsx47(Path14, { d: g.neck.d, stroke: body, strokeWidth: g.neck.width, strokeLinecap: "round", fill: "none" }),
4700
+ g.head.r > 0 && /* @__PURE__ */ jsx47(Circle8, { cx: g.head.cx, cy: g.head.cy, r: g.head.r, fill: body, ...line }),
4701
+ g.details.map((d) => /* @__PURE__ */ jsx47(Path14, { d, fill: p.detail, ...line }, d)),
4702
+ g.visor && /* @__PURE__ */ jsx47(Rect2, { x: g.visor.x, y: g.visor.y, width: g.visor.w, height: g.visor.h, rx: 4, fill: theme.surface0, ...line }),
5033
4703
  g.eyes.at.map(
5034
- (at, i) => mood === "empty" && g.eyes.white > 0 ? /* @__PURE__ */ jsxs46(G, { children: [
5035
- /* @__PURE__ */ jsx51(Circle12, { cx: at[0], cy: at[1], r: g.eyes.white, fill: LIGHT, ...line }),
5036
- /* @__PURE__ */ jsx51(Circle12, { cx: at[0], cy: at[1] + g.eyes.pupil * 0.7, r: g.eyes.pupil, fill: SHADE }),
5037
- /* @__PURE__ */ jsx51(Path18, { d: upperLid(at, g.eyes.white), fill: p.detail, ...line })
5038
- ] }, i) : mood === "success" || mood === "empty" ? /* @__PURE__ */ jsx51(Path18, { 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__ */ jsxs46(G, { children: [
5039
- g.eyes.white > 0 && /* @__PURE__ */ jsx51(Circle12, { cx: at[0], cy: at[1], r: g.eyes.white, fill: LIGHT, ...line }),
5040
- /* @__PURE__ */ jsx51(Circle12, { cx: at[0] + look3, cy: at[1] - look3, r: g.eyes.pupil, fill: g.visor ? p.eye : SHADE })
4704
+ (at, i) => mood === "empty" && g.eyes.white > 0 ? /* @__PURE__ */ jsxs42(G, { children: [
4705
+ /* @__PURE__ */ jsx47(Circle8, { cx: at[0], cy: at[1], r: g.eyes.white, fill: LIGHT, ...line }),
4706
+ /* @__PURE__ */ jsx47(Circle8, { cx: at[0], cy: at[1] + g.eyes.pupil * 0.7, r: g.eyes.pupil, fill: SHADE }),
4707
+ /* @__PURE__ */ jsx47(Path14, { d: upperLid(at, g.eyes.white), fill: p.detail, ...line })
4708
+ ] }, i) : mood === "success" || mood === "empty" ? /* @__PURE__ */ jsx47(Path14, { 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__ */ jsxs42(G, { children: [
4709
+ g.eyes.white > 0 && /* @__PURE__ */ jsx47(Circle8, { cx: at[0], cy: at[1], r: g.eyes.white, fill: LIGHT, ...line }),
4710
+ /* @__PURE__ */ jsx47(Circle8, { cx: at[0] + look3, cy: at[1] - look3, r: g.eyes.pupil, fill: g.visor ? p.eye : SHADE })
5041
4711
  ] }, i)
5042
4712
  ),
5043
- g.glasses && g.eyes.at.map(([x, y]) => /* @__PURE__ */ jsx51(Circle12, { cx: x, cy: y, r: 6.5, fill: "none", stroke: outline, strokeWidth: 1.3 }, x)),
5044
- mood === "error" && g.eyes.at.map((at, i) => /* @__PURE__ */ jsx51(Path18, { d: brow(at, eyeR, g.eyes.at.length === 1 ? 1 : i === 0 ? -1 : 1), stroke: outline, strokeWidth: 2, strokeLinecap: "round" }, i)),
5045
- /* @__PURE__ */ jsx51(Path18, { d: g.beak, fill: p.beak, ...line }),
5046
- mood === "thinking" && MOOD_PARTS.dots.map(([cx, cy, r], i) => /* @__PURE__ */ jsx51(Circle12, { cx, cy, r, fill: theme.textSecondary, opacity: 0.5 + i * 0.25 }, cx)),
5047
- (mood === "success" || mood === "error") && /* @__PURE__ */ jsx51(Circle12, { cx: MOOD_PARTS.badge.cx, cy: MOOD_PARTS.badge.cy, r: MOOD_PARTS.badge.r, fill: mood === "success" ? theme.success : theme.danger }),
5048
- mood === "success" && /* @__PURE__ */ jsx51(Path18, { d: MOOD_PARTS.check, stroke: theme.surface0, strokeWidth: 2.6, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
5049
- mood === "error" && /* @__PURE__ */ jsx51(Path18, { d: MOOD_PARTS.bang.line, stroke: theme.surface0, strokeWidth: 2.8, strokeLinecap: "round" }),
5050
- mood === "error" && /* @__PURE__ */ jsx51(Circle12, { cx: MOOD_PARTS.bang.dot[0], cy: MOOD_PARTS.bang.dot[1], r: 1.6, fill: theme.surface0 })
4713
+ g.glasses && g.eyes.at.map(([x, y]) => /* @__PURE__ */ jsx47(Circle8, { cx: x, cy: y, r: 6.5, fill: "none", stroke: outline, strokeWidth: 1.3 }, x)),
4714
+ mood === "error" && g.eyes.at.map((at, i) => /* @__PURE__ */ jsx47(Path14, { d: brow(at, eyeR, g.eyes.at.length === 1 ? 1 : i === 0 ? -1 : 1), stroke: outline, strokeWidth: 2, strokeLinecap: "round" }, i)),
4715
+ /* @__PURE__ */ jsx47(Path14, { d: g.beak, fill: p.beak, ...line }),
4716
+ mood === "thinking" && MOOD_PARTS.dots.map(([cx, cy, r], i) => /* @__PURE__ */ jsx47(Circle8, { cx, cy, r, fill: theme.textSecondary, opacity: 0.5 + i * 0.25 }, cx)),
4717
+ (mood === "success" || mood === "error") && /* @__PURE__ */ jsx47(Circle8, { cx: MOOD_PARTS.badge.cx, cy: MOOD_PARTS.badge.cy, r: MOOD_PARTS.badge.r, fill: mood === "success" ? theme.success : theme.danger }),
4718
+ mood === "success" && /* @__PURE__ */ jsx47(Path14, { d: MOOD_PARTS.check, stroke: theme.surface0, strokeWidth: 2.6, strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
4719
+ mood === "error" && /* @__PURE__ */ jsx47(Path14, { d: MOOD_PARTS.bang.line, stroke: theme.surface0, strokeWidth: 2.8, strokeLinecap: "round" }),
4720
+ mood === "error" && /* @__PURE__ */ jsx47(Circle8, { cx: MOOD_PARTS.bang.dot[0], cy: MOOD_PARTS.bang.dot[1], r: 1.6, fill: theme.surface0 })
5051
4721
  ] }) }) });
5052
4722
  }
5053
4723
 
5054
4724
  // src/native/mascot-state.tsx
5055
- import { jsx as jsx52, jsxs as jsxs47 } from "react/jsx-runtime";
4725
+ import { jsx as jsx48, jsxs as jsxs43 } from "react/jsx-runtime";
5056
4726
  var SIZE = { sm: 64, md: 96, lg: 128 };
5057
4727
  function useArrival(animated) {
5058
- const [value] = React34.useState(() => new Animated15.Value(animated ? 0 : 1));
5059
- React34.useEffect(() => {
4728
+ const [value] = React33.useState(() => new Animated14.Value(animated ? 0 : 1));
4729
+ React33.useEffect(() => {
5060
4730
  if (!animated) return;
5061
4731
  let cancelled = false;
5062
- void AccessibilityInfo10.isReduceMotionEnabled().then((reduce) => {
4732
+ void AccessibilityInfo9.isReduceMotionEnabled().then((reduce) => {
5063
4733
  if (cancelled) return;
5064
4734
  if (reduce) value.setValue(1);
5065
- else Animated15.timing(value, { toValue: 1, duration: 420, easing: Easing7.out(Easing7.cubic), useNativeDriver: true }).start();
4735
+ else Animated14.timing(value, { toValue: 1, duration: 420, easing: Easing6.out(Easing6.cubic), useNativeDriver: true }).start();
5066
4736
  });
5067
4737
  return () => {
5068
4738
  cancelled = true;
@@ -5073,8 +4743,8 @@ function useArrival(animated) {
5073
4743
  function MascotState({ bird = "owl", mood = "empty", title, description, action, size = "md", layout = "stacked", tone: tone3, animated = true, style, ...props }) {
5074
4744
  const opacity = useArrival(animated);
5075
4745
  const inline = layout === "inline";
5076
- return /* @__PURE__ */ jsxs47(
5077
- Animated15.View,
4746
+ return /* @__PURE__ */ jsxs43(
4747
+ Animated14.View,
5078
4748
  {
5079
4749
  role: mood === "error" ? "alert" : "status",
5080
4750
  accessibilityLiveRegion: mood === "error" ? "assertive" : "polite",
@@ -5082,20 +4752,20 @@ function MascotState({ bird = "owl", mood = "empty", title, description, action,
5082
4752
  ...props,
5083
4753
  style: [inline ? styles39.inline : styles39.stacked, { opacity, transform: [{ translateY: opacity.interpolate({ inputRange: [0, 1], outputRange: [6, 0] }) }] }, style],
5084
4754
  children: [
5085
- /* @__PURE__ */ jsx52(Mascot, { bird, mood, tone: tone3, size: SIZE[size], animated }),
5086
- /* @__PURE__ */ jsxs47(View47, { style: inline ? styles39.wordsInline : styles39.words, children: [
5087
- /* @__PURE__ */ jsx52(Txt, { variant: "label", role: "heading", style: inline ? null : styles39.center, children: title }),
5088
- description ? /* @__PURE__ */ jsx52(Txt, { tone: "secondary", style: inline ? null : styles39.center, children: description }) : null,
5089
- action ? /* @__PURE__ */ jsx52(View47, { style: [styles39.action, inline ? null : styles39.actionCentred], children: action }) : null
4755
+ /* @__PURE__ */ jsx48(Mascot, { bird, mood, tone: tone3, size: SIZE[size], animated }),
4756
+ /* @__PURE__ */ jsxs43(View43, { style: inline ? styles39.wordsInline : styles39.words, children: [
4757
+ /* @__PURE__ */ jsx48(Txt, { variant: "label", role: "heading", style: inline ? null : styles39.center, children: title }),
4758
+ description ? /* @__PURE__ */ jsx48(Txt, { tone: "secondary", style: inline ? null : styles39.center, children: description }) : null,
4759
+ action ? /* @__PURE__ */ jsx48(View43, { style: [styles39.action, inline ? null : styles39.actionCentred], children: action }) : null
5090
4760
  ] })
5091
4761
  ]
5092
4762
  }
5093
4763
  );
5094
4764
  }
5095
- var ErrorState = (props) => /* @__PURE__ */ jsx52(MascotState, { mood: "error", ...props });
5096
- var SuccessState = (props) => /* @__PURE__ */ jsx52(MascotState, { mood: "success", ...props });
5097
- var LoadingState = (props) => /* @__PURE__ */ jsx52(MascotState, { mood: "thinking", ...props });
5098
- var WelcomeState = (props) => /* @__PURE__ */ jsx52(MascotState, { mood: "welcome", ...props });
4765
+ var ErrorState = (props) => /* @__PURE__ */ jsx48(MascotState, { mood: "error", ...props });
4766
+ var SuccessState = (props) => /* @__PURE__ */ jsx48(MascotState, { mood: "success", ...props });
4767
+ var LoadingState = (props) => /* @__PURE__ */ jsx48(MascotState, { mood: "thinking", ...props });
4768
+ var WelcomeState = (props) => /* @__PURE__ */ jsx48(MascotState, { mood: "welcome", ...props });
5099
4769
  var styles39 = StyleSheet39.create({
5100
4770
  stacked: { alignItems: "center", justifyContent: "center", gap: 12, paddingVertical: 40, paddingHorizontal: 24 },
5101
4771
  inline: { flexDirection: "row", alignItems: "center", gap: 16 },
@@ -5107,40 +4777,40 @@ var styles39 = StyleSheet39.create({
5107
4777
  });
5108
4778
 
5109
4779
  // src/native/match-dialog.tsx
5110
- import * as React35 from "react";
5111
- import { AccessibilityInfo as AccessibilityInfo11, Animated as Animated16, Easing as Easing8, Modal as Modal4, Pressable as Pressable22, StyleSheet as StyleSheet40, View as View48 } from "react-native";
5112
- import Svg21, { Path as Path19 } from "react-native-svg";
5113
- import { jsx as jsx53, jsxs as jsxs48 } from "react/jsx-runtime";
4780
+ import * as React34 from "react";
4781
+ import { AccessibilityInfo as AccessibilityInfo10, Animated as Animated15, Easing as Easing7, Modal as Modal4, Pressable as Pressable22, StyleSheet as StyleSheet40, View as View44 } from "react-native";
4782
+ import Svg17, { Path as Path15 } from "react-native-svg";
4783
+ import { jsx as jsx49, jsxs as jsxs44 } from "react/jsx-runtime";
5114
4784
  function MatchDialog({ open, onOpenChange, title, description, people, primaryLabel, onPrimary, secondaryLabel }) {
5115
4785
  const { theme, haptic } = useTheme();
5116
4786
  const reduce = useReducedMotion();
5117
- const [t] = React35.useState(() => new Animated16.Value(0));
5118
- React35.useEffect(() => {
4787
+ const [t] = React34.useState(() => new Animated15.Value(0));
4788
+ React34.useEffect(() => {
5119
4789
  if (!open) return;
5120
4790
  haptic("success");
5121
- AccessibilityInfo11.announceForAccessibility([title, description].filter(Boolean).join(". "));
4791
+ AccessibilityInfo10.announceForAccessibility([title, description].filter(Boolean).join(". "));
5122
4792
  if (reduce) return;
5123
4793
  t.setValue(0);
5124
- Animated16.timing(t, { toValue: 1, duration: 520, easing: Easing8.out(Easing8.back(1.6)), useNativeDriver: true }).start();
4794
+ Animated15.timing(t, { toValue: 1, duration: 520, easing: Easing7.out(Easing7.back(1.6)), useNativeDriver: true }).start();
5125
4795
  }, [open]);
5126
- React35.useEffect(() => {
4796
+ React34.useEffect(() => {
5127
4797
  if (open && reduce) {
5128
4798
  t.stopAnimation();
5129
4799
  t.setValue(1);
5130
4800
  }
5131
4801
  }, [open, reduce, t]);
5132
4802
  const side = (dir) => ({ transform: [{ translateX: t.interpolate({ inputRange: [0, 1], outputRange: [dir * 110, dir * 50] }) }, { rotate: dir === -1 ? "-8deg" : "8deg" }] });
5133
- return /* @__PURE__ */ jsx53(Modal4, { ...modalName(title), visible: open, transparent: true, animationType: reduce ? "none" : "fade", onRequestClose: () => onOpenChange(false), statusBarTranslucent: true, children: /* @__PURE__ */ jsxs48(View48, { accessibilityViewIsModal: true, style: [styles40.screen, { backgroundColor: theme.accent }], children: [
5134
- /* @__PURE__ */ jsx53(View48, { style: [StyleSheet40.absoluteFill, { backgroundColor: theme.accent2, opacity: 0.55 }] }),
5135
- /* @__PURE__ */ jsx53(Txt, { variant: "display", tone: "onAccent", style: styles40.title, children: title }),
5136
- description ? /* @__PURE__ */ jsx53(Txt, { tone: "onAccent", style: styles40.center, children: description }) : null,
5137
- /* @__PURE__ */ jsxs48(View48, { style: styles40.pair, "aria-hidden": true, children: [
5138
- /* @__PURE__ */ jsx53(Animated16.View, { style: [styles40.photo, side(-1), { borderColor: theme.onAccent }], children: /* @__PURE__ */ jsx53(Avatar, { src: people[0].src, alt: "", fallback: people[0].name.charAt(0), size: 112 }) }),
5139
- /* @__PURE__ */ jsx53(Animated16.View, { style: [styles40.photo, side(1), { borderColor: theme.onAccent }], children: /* @__PURE__ */ jsx53(Avatar, { src: people[1].src, alt: "", fallback: people[1].name.charAt(0), size: 112 }) }),
5140
- /* @__PURE__ */ jsx53(Animated16.View, { style: [styles40.heart, { backgroundColor: theme.onAccent, transform: [{ scale: t }] }], children: /* @__PURE__ */ jsx53(Svg21, { width: 26, height: 26, viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx53(Path19, { 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 }) }) })
4803
+ return /* @__PURE__ */ jsx49(Modal4, { ...modalName(title), visible: open, transparent: true, animationType: reduce ? "none" : "fade", onRequestClose: () => onOpenChange(false), statusBarTranslucent: true, children: /* @__PURE__ */ jsxs44(View44, { accessibilityViewIsModal: true, style: [styles40.screen, { backgroundColor: theme.accent }], children: [
4804
+ /* @__PURE__ */ jsx49(View44, { style: [StyleSheet40.absoluteFill, { backgroundColor: theme.accent2, opacity: 0.55 }] }),
4805
+ /* @__PURE__ */ jsx49(Txt, { variant: "display", tone: "onAccent", style: styles40.title, children: title }),
4806
+ description ? /* @__PURE__ */ jsx49(Txt, { tone: "onAccent", style: styles40.center, children: description }) : null,
4807
+ /* @__PURE__ */ jsxs44(View44, { style: styles40.pair, "aria-hidden": true, children: [
4808
+ /* @__PURE__ */ jsx49(Animated15.View, { style: [styles40.photo, side(-1), { borderColor: theme.onAccent }], children: /* @__PURE__ */ jsx49(Avatar, { src: people[0].src, alt: "", fallback: people[0].name.charAt(0), size: 112 }) }),
4809
+ /* @__PURE__ */ jsx49(Animated15.View, { style: [styles40.photo, side(1), { borderColor: theme.onAccent }], children: /* @__PURE__ */ jsx49(Avatar, { src: people[1].src, alt: "", fallback: people[1].name.charAt(0), size: 112 }) }),
4810
+ /* @__PURE__ */ jsx49(Animated15.View, { style: [styles40.heart, { backgroundColor: theme.onAccent, transform: [{ scale: t }] }], children: /* @__PURE__ */ jsx49(Svg17, { width: 26, height: 26, viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx49(Path15, { 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 }) }) })
5141
4811
  ] }),
5142
- /* @__PURE__ */ jsxs48(View48, { style: styles40.actions, children: [
5143
- /* @__PURE__ */ jsx53(
4812
+ /* @__PURE__ */ jsxs44(View44, { style: styles40.actions, children: [
4813
+ /* @__PURE__ */ jsx49(
5144
4814
  Button,
5145
4815
  {
5146
4816
  label: primaryLabel,
@@ -5151,7 +4821,7 @@ function MatchDialog({ open, onOpenChange, title, description, people, primaryLa
5151
4821
  }
5152
4822
  }
5153
4823
  ),
5154
- /* @__PURE__ */ jsx53(Pressable22, { role: "button", onPress: () => onOpenChange(false), style: ({ pressed }) => [styles40.secondary, { borderColor: theme.onAccent, opacity: pressed ? 0.8 : 1 }], children: /* @__PURE__ */ jsx53(Txt, { variant: "label", tone: "onAccent", children: secondaryLabel }) })
4824
+ /* @__PURE__ */ jsx49(Pressable22, { role: "button", onPress: () => onOpenChange(false), style: ({ pressed }) => [styles40.secondary, { borderColor: theme.onAccent, opacity: pressed ? 0.8 : 1 }], children: /* @__PURE__ */ jsx49(Txt, { variant: "label", tone: "onAccent", children: secondaryLabel }) })
5155
4825
  ] })
5156
4826
  ] }) });
5157
4827
  }
@@ -5166,25 +4836,9 @@ var styles40 = StyleSheet40.create({
5166
4836
  secondary: { minHeight: 48, borderRadius: 999, borderWidth: 1.5, alignItems: "center", justifyContent: "center" }
5167
4837
  });
5168
4838
 
5169
- // src/native/meta-row.tsx
5170
- import { View as View49 } from "react-native";
5171
- import { jsx as jsx54, jsxs as jsxs49 } from "react/jsx-runtime";
5172
- var present = (n) => n !== null && n !== void 0 && n !== false && n !== "";
5173
- function MetaRow({ items: items2, chips = [], label, style, ...props }) {
5174
- const facts = items2.filter(present);
5175
- const tail = chips.filter(present);
5176
- return /* @__PURE__ */ jsxs49(View49, { role: "list", "aria-label": label, ...props, style: [{ flexDirection: "row", flexWrap: "wrap", alignItems: "center", columnGap: 8, rowGap: 6 }, style], children: [
5177
- facts.map((fact, i) => /* @__PURE__ */ jsxs49(View49, { role: "listitem", accessible: true, style: { flexDirection: "row", alignItems: "center", columnGap: 8 }, children: [
5178
- i > 0 ? /* @__PURE__ */ jsx54(Txt, { variant: "caption", tone: "muted", "aria-hidden": true, importantForAccessibility: "no", children: "\xB7" }) : null,
5179
- typeof fact === "string" || typeof fact === "number" ? /* @__PURE__ */ jsx54(Txt, { variant: "caption", tone: "secondary", children: fact }) : fact
5180
- ] }, i)),
5181
- tail.map((chip, i) => /* @__PURE__ */ jsx54(View49, { role: "listitem", accessible: true, children: chip }, `chip-${i}`))
5182
- ] });
5183
- }
5184
-
5185
4839
  // src/native/meter.tsx
5186
- import { StyleSheet as StyleSheet41, View as View50 } from "react-native";
5187
- import Svg22, { Circle as Circle13 } from "react-native-svg";
4840
+ import { StyleSheet as StyleSheet41, View as View45 } from "react-native";
4841
+ import Svg18, { Circle as Circle9 } from "react-native-svg";
5188
4842
 
5189
4843
  // src/meter/model.ts
5190
4844
  var MeterOptimum = { Low: "low", High: "high" };
@@ -5212,7 +4866,7 @@ function meterModel({ value = 0, min = 0, max = 100, valueText, thresholds, opti
5212
4866
  }
5213
4867
 
5214
4868
  // src/native/meter.tsx
5215
- import { jsx as jsx55, jsxs as jsxs50 } from "react/jsx-runtime";
4869
+ import { jsx as jsx50, jsxs as jsxs45 } from "react/jsx-runtime";
5216
4870
  var THICK = { sm: 6, md: 8, lg: 12 };
5217
4871
  var RING = { sm: 56, md: 96, lg: 144 };
5218
4872
  var partColor = (t, i) => [t.accent, t.warning, t.success, t.textSecondary, t.danger][i % 5];
@@ -5223,32 +4877,32 @@ function Meter({ label, value = 0, min = 0, max = 100, valueText, thresholds, op
5223
4877
  const tone3 = levelColor(theme, level);
5224
4878
  const shares = modelShares.map((p) => ({ ...p, color: partColor(theme, p.i) }));
5225
4879
  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 };
5226
- const legend = parts ? /* @__PURE__ */ jsx55(View50, { style: styles41.legend, "aria-hidden": true, children: shares.map((p, i) => /* @__PURE__ */ jsxs50(View50, { style: styles41.legendItem, children: [
5227
- /* @__PURE__ */ jsx55(View50, { style: [styles41.swatch, { backgroundColor: p.color }] }),
5228
- /* @__PURE__ */ jsx55(Txt, { variant: "caption", children: p.label }),
5229
- /* @__PURE__ */ jsx55(Txt, { variant: "caption", tone: "secondary", children: p.words })
4880
+ const legend = parts ? /* @__PURE__ */ jsx50(View45, { style: styles41.legend, "aria-hidden": true, children: shares.map((p, i) => /* @__PURE__ */ jsxs45(View45, { style: styles41.legendItem, children: [
4881
+ /* @__PURE__ */ jsx50(View45, { style: [styles41.swatch, { backgroundColor: p.color }] }),
4882
+ /* @__PURE__ */ jsx50(Txt, { variant: "caption", children: p.label }),
4883
+ /* @__PURE__ */ jsx50(Txt, { variant: "caption", tone: "secondary", children: p.words })
5230
4884
  ] }, i)) }) : null;
5231
4885
  if (variant === "ring") {
5232
4886
  const side = RING[size];
5233
4887
  const r = 44;
5234
4888
  const c = 2 * Math.PI * r;
5235
- return /* @__PURE__ */ jsxs50(View50, { accessible: true, ...a11y, style: [styles41.ringRoot, style], children: [
5236
- /* @__PURE__ */ jsxs50(View50, { style: { width: side, height: side }, children: [
5237
- /* @__PURE__ */ jsxs50(Svg22, { width: side, height: side, viewBox: "0 0 100 100", style: { transform: [{ rotate: "-90deg" }] }, children: [
5238
- /* @__PURE__ */ jsx55(Circle13, { cx: 50, cy: 50, r, fill: "none", stroke: theme.borderDefault, strokeWidth: 9 }),
5239
- arcs.map((arc, i) => /* @__PURE__ */ jsx55(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))
4889
+ return /* @__PURE__ */ jsxs45(View45, { accessible: true, ...a11y, style: [styles41.ringRoot, style], children: [
4890
+ /* @__PURE__ */ jsxs45(View45, { style: { width: side, height: side }, children: [
4891
+ /* @__PURE__ */ jsxs45(Svg18, { width: side, height: side, viewBox: "0 0 100 100", style: { transform: [{ rotate: "-90deg" }] }, children: [
4892
+ /* @__PURE__ */ jsx50(Circle9, { cx: 50, cy: 50, r, fill: "none", stroke: theme.borderDefault, strokeWidth: 9 }),
4893
+ arcs.map((arc, i) => /* @__PURE__ */ jsx50(Circle9, { 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))
5240
4894
  ] }),
5241
- children !== void 0 ? /* @__PURE__ */ jsx55(View50, { style: [StyleSheet41.absoluteFill, styles41.center], children }) : null
4895
+ children !== void 0 ? /* @__PURE__ */ jsx50(View45, { style: [StyleSheet41.absoluteFill, styles41.center], children }) : null
5242
4896
  ] }),
5243
4897
  legend
5244
4898
  ] });
5245
4899
  }
5246
- return /* @__PURE__ */ jsxs50(View50, { accessible: true, ...a11y, style: [styles41.root, style], children: [
5247
- showLabel ? /* @__PURE__ */ jsxs50(View50, { style: styles41.header, "aria-hidden": true, children: [
5248
- /* @__PURE__ */ jsx55(Txt, { variant: "caption", numberOfLines: 1, style: styles41.caption, children: label }),
5249
- !parts ? /* @__PURE__ */ jsx55(Txt, { variant: "caption", tone: "secondary", children: words2 }) : null
4900
+ return /* @__PURE__ */ jsxs45(View45, { accessible: true, ...a11y, style: [styles41.root, style], children: [
4901
+ showLabel ? /* @__PURE__ */ jsxs45(View45, { style: styles41.header, "aria-hidden": true, children: [
4902
+ /* @__PURE__ */ jsx50(Txt, { variant: "caption", numberOfLines: 1, style: styles41.caption, children: label }),
4903
+ !parts ? /* @__PURE__ */ jsx50(Txt, { variant: "caption", tone: "secondary", children: words2 }) : null
5250
4904
  ] }) : null,
5251
- /* @__PURE__ */ jsx55(View50, { style: [styles41.track, { height: THICK[size], backgroundColor: theme.surface3 }], children: parts ? shares.map((p, i) => /* @__PURE__ */ jsx55(View50, { style: { width: `${p.ratio * 100}%`, backgroundColor: p.color } }, i)) : /* @__PURE__ */ jsx55(View50, { style: [styles41.fill, { width: `${ratio * 100}%`, backgroundColor: tone3 }] }) }),
4905
+ /* @__PURE__ */ jsx50(View45, { style: [styles41.track, { height: THICK[size], backgroundColor: theme.surface3 }], children: parts ? shares.map((p, i) => /* @__PURE__ */ jsx50(View45, { style: { width: `${p.ratio * 100}%`, backgroundColor: p.color } }, i)) : /* @__PURE__ */ jsx50(View45, { style: [styles41.fill, { width: `${ratio * 100}%`, backgroundColor: tone3 }] }) }),
5252
4906
  legend
5253
4907
  ] });
5254
4908
  }
@@ -5266,48 +4920,48 @@ var styles41 = StyleSheet41.create({
5266
4920
  });
5267
4921
 
5268
4922
  // src/native/number-ticker.tsx
5269
- import * as React36 from "react";
5270
- import { AccessibilityInfo as AccessibilityInfo12, Animated as Animated17, Easing as Easing9, Text as Text15 } from "react-native";
5271
- import { jsx as jsx56 } from "react/jsx-runtime";
4923
+ import * as React35 from "react";
4924
+ import { AccessibilityInfo as AccessibilityInfo11, Animated as Animated16, Easing as Easing8, Text as Text15 } from "react-native";
4925
+ import { jsx as jsx51 } from "react/jsx-runtime";
5272
4926
  function NumberTicker({ value, locale, format, trigger = "mount", duration = 1100, announce, variant = "display", tone: tone3 = "text", style }) {
5273
4927
  const reduce = useReducedMotion();
5274
- const writer = React36.useMemo(() => new Intl.NumberFormat(locale, format), [locale, format]);
5275
- const [shown, setShown] = React36.useState(() => reduce ? value : trigger === "mount" ? 0 : value);
5276
- const [anim] = React36.useState(() => new Animated17.Value(trigger === "mount" ? 0 : value));
5277
- const first = React36.useRef(true);
5278
- React36.useEffect(() => {
4928
+ const writer = React35.useMemo(() => new Intl.NumberFormat(locale, format), [locale, format]);
4929
+ const [shown, setShown] = React35.useState(() => reduce ? value : trigger === "mount" ? 0 : value);
4930
+ const [anim] = React35.useState(() => new Animated16.Value(trigger === "mount" ? 0 : value));
4931
+ const first = React35.useRef(true);
4932
+ React35.useEffect(() => {
5279
4933
  const isFirst = first.current;
5280
4934
  first.current = false;
5281
4935
  if (reduce || !isFirst && trigger === "mount" || isFirst && trigger === "change") {
5282
4936
  anim.setValue(value);
5283
4937
  setShown(value);
5284
- if (!isFirst && announce) AccessibilityInfo12.announceForAccessibility(writer.format(value));
4938
+ if (!isFirst && announce) AccessibilityInfo11.announceForAccessibility(writer.format(value));
5285
4939
  return;
5286
4940
  }
5287
4941
  const id = anim.addListener(({ value: v }) => setShown(v));
5288
- const run = Animated17.timing(anim, { toValue: value, duration, easing: Easing9.out(Easing9.cubic), useNativeDriver: false });
4942
+ const run = Animated16.timing(anim, { toValue: value, duration, easing: Easing8.out(Easing8.cubic), useNativeDriver: false });
5289
4943
  run.start(({ finished }) => {
5290
4944
  if (finished) setShown(value);
5291
4945
  });
5292
- if (!isFirst && announce) AccessibilityInfo12.announceForAccessibility(writer.format(value));
4946
+ if (!isFirst && announce) AccessibilityInfo11.announceForAccessibility(writer.format(value));
5293
4947
  return () => {
5294
4948
  run.stop();
5295
4949
  anim.removeListener(id);
5296
4950
  };
5297
4951
  }, [value, reduce, trigger, duration, announce, anim, writer]);
5298
4952
  const digits = Number.isInteger(value) ? Math.round(shown) : shown;
5299
- return /* @__PURE__ */ jsx56(Txt, { variant, tone: tone3, "aria-label": writer.format(value), style: [{ fontVariant: ["lining-nums", "tabular-nums"] }, style], children: /* @__PURE__ */ jsx56(Text15, { "aria-hidden": true, children: writer.format(digits) }) });
4953
+ return /* @__PURE__ */ jsx51(Txt, { variant, tone: tone3, "aria-label": writer.format(value), style: [{ fontVariant: ["lining-nums", "tabular-nums"] }, style], children: /* @__PURE__ */ jsx51(Text15, { "aria-hidden": true, children: writer.format(digits) }) });
5300
4954
  }
5301
4955
 
5302
4956
  // src/native/onboarding.tsx
5303
- import * as React37 from "react";
5304
- import { ScrollView as ScrollView6, StyleSheet as StyleSheet42, View as View51 } from "react-native";
5305
- import { jsx as jsx57, jsxs as jsxs51 } from "react/jsx-runtime";
4957
+ import * as React36 from "react";
4958
+ import { ScrollView as ScrollView6, StyleSheet as StyleSheet42, View as View46 } from "react-native";
4959
+ import { jsx as jsx52, jsxs as jsxs46 } from "react/jsx-runtime";
5306
4960
  function Onboarding({ slides, labels, onDone, style }) {
5307
4961
  const { theme, insets, haptic } = useTheme();
5308
- const [width, setWidth] = React37.useState(0);
5309
- const [page, setPage] = React37.useState(0);
5310
- const scroller = React37.useRef(null);
4962
+ const [width, setWidth] = React36.useState(0);
4963
+ const [page, setPage] = React36.useState(0);
4964
+ const scroller = React36.useRef(null);
5311
4965
  const last = page === slides.length - 1;
5312
4966
  const go = (to) => {
5313
4967
  scroller.current?.scrollTo({ x: to * width, animated: true });
@@ -5317,15 +4971,15 @@ function Onboarding({ slides, labels, onDone, style }) {
5317
4971
  const onScroll = (e) => {
5318
4972
  if (width > 0) setPage(Math.round(e.nativeEvent.contentOffset.x / width));
5319
4973
  };
5320
- return /* @__PURE__ */ jsxs51(View51, { style: [styles42.root, { backgroundColor: theme.surface0, paddingTop: insets.top + 8, paddingBottom: insets.bottom + 16 }, style], onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: [
5321
- /* @__PURE__ */ jsx57(View51, { style: styles42.top, children: !last ? /* @__PURE__ */ jsx57(Button, { label: labels.skip, variant: "ghost", size: "sm", onPress: onDone }) : /* @__PURE__ */ jsx57(View51, { style: styles42.spacer }) }),
5322
- /* @__PURE__ */ jsx57(ScrollView6, { ref: scroller, tabIndex: 0, horizontal: true, pagingEnabled: true, showsHorizontalScrollIndicator: false, onMomentumScrollEnd: onScroll, style: styles42.flex, children: slides.map((slide, i) => /* @__PURE__ */ jsxs51(View51, { style: [styles42.slide, { width: width || void 0 }], accessible: true, "aria-label": `${labels.position(i + 1, slides.length)}. ${slide.title}. ${slide.description}`, "aria-hidden": i !== page, children: [
5323
- slide.visual ? /* @__PURE__ */ jsx57(View51, { style: styles42.visual, children: slide.visual }) : null,
5324
- /* @__PURE__ */ jsx57(Txt, { variant: "display", style: styles42.centred, children: slide.title }),
5325
- /* @__PURE__ */ jsx57(Txt, { tone: "secondary", style: [styles42.centred, styles42.description], children: slide.description })
4974
+ return /* @__PURE__ */ jsxs46(View46, { style: [styles42.root, { backgroundColor: theme.surface0, paddingTop: insets.top + 8, paddingBottom: insets.bottom + 16 }, style], onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: [
4975
+ /* @__PURE__ */ jsx52(View46, { style: styles42.top, children: !last ? /* @__PURE__ */ jsx52(Button, { label: labels.skip, variant: "ghost", size: "sm", onPress: onDone }) : /* @__PURE__ */ jsx52(View46, { style: styles42.spacer }) }),
4976
+ /* @__PURE__ */ jsx52(ScrollView6, { ref: scroller, tabIndex: 0, horizontal: true, pagingEnabled: true, showsHorizontalScrollIndicator: false, onMomentumScrollEnd: onScroll, style: styles42.flex, children: slides.map((slide, i) => /* @__PURE__ */ jsxs46(View46, { style: [styles42.slide, { width: width || void 0 }], accessible: true, "aria-label": `${labels.position(i + 1, slides.length)}. ${slide.title}. ${slide.description}`, "aria-hidden": i !== page, children: [
4977
+ slide.visual ? /* @__PURE__ */ jsx52(View46, { style: styles42.visual, children: slide.visual }) : null,
4978
+ /* @__PURE__ */ jsx52(Txt, { variant: "display", style: styles42.centred, children: slide.title }),
4979
+ /* @__PURE__ */ jsx52(Txt, { tone: "secondary", style: [styles42.centred, styles42.description], children: slide.description })
5326
4980
  ] }, i)) }),
5327
- /* @__PURE__ */ jsx57(View51, { style: styles42.dots, "aria-hidden": true, children: slides.map((_, i) => /* @__PURE__ */ jsx57(View51, { style: [styles42.dot, { width: i === page ? 22 : 8, backgroundColor: i === page ? theme.accent : theme.borderStrong }] }, i)) }),
5328
- /* @__PURE__ */ jsx57(View51, { style: styles42.bottom, children: /* @__PURE__ */ jsx57(Button, { label: last ? labels.done : labels.next, variant: last ? "gradient" : "primary", size: "lg", onPress: () => last ? onDone() : go(page + 1) }) })
4981
+ /* @__PURE__ */ jsx52(View46, { style: styles42.dots, "aria-hidden": true, children: slides.map((_, i) => /* @__PURE__ */ jsx52(View46, { style: [styles42.dot, { width: i === page ? 22 : 8, backgroundColor: i === page ? theme.accent : theme.borderStrong }] }, i)) }),
4982
+ /* @__PURE__ */ jsx52(View46, { style: styles42.bottom, children: /* @__PURE__ */ jsx52(Button, { label: last ? labels.done : labels.next, variant: last ? "gradient" : "primary", size: "lg", onPress: () => last ? onDone() : go(page + 1) }) })
5329
4983
  ] });
5330
4984
  }
5331
4985
  var styles42 = StyleSheet42.create({
@@ -5343,16 +4997,16 @@ var styles42 = StyleSheet42.create({
5343
4997
  });
5344
4998
 
5345
4999
  // src/native/otp-input.tsx
5346
- import * as React38 from "react";
5347
- import { Platform as Platform3, Pressable as Pressable23, StyleSheet as StyleSheet43, TextInput as TextInput6, View as View52 } from "react-native";
5348
- import { jsx as jsx58, jsxs as jsxs52 } from "react/jsx-runtime";
5000
+ import * as React37 from "react";
5001
+ import { Platform as Platform3, Pressable as Pressable23, StyleSheet as StyleSheet43, TextInput as TextInput6, View as View47 } from "react-native";
5002
+ import { jsx as jsx53, jsxs as jsxs47 } from "react/jsx-runtime";
5349
5003
  function OtpInput({ label, length = 6, value, onValueChange, onComplete, mode = "numeric", invalid, disabled, autoFocus, style }) {
5350
5004
  const { theme, radius: radius3, haptic } = useTheme();
5351
- const [own, setOwn] = React38.useState("");
5005
+ const [own, setOwn] = React37.useState("");
5352
5006
  const code = value ?? own;
5353
- const [focused, setFocused] = React38.useState(false);
5354
- const input = React38.useRef(null);
5355
- React38.useEffect(() => {
5007
+ const [focused, setFocused] = React37.useState(false);
5008
+ const input = React37.useRef(null);
5009
+ React37.useEffect(() => {
5356
5010
  if (invalid) haptic("warning");
5357
5011
  }, [invalid, haptic]);
5358
5012
  const change = (raw) => {
@@ -5364,11 +5018,11 @@ function OtpInput({ label, length = 6, value, onValueChange, onComplete, mode =
5364
5018
  onComplete?.(next);
5365
5019
  }
5366
5020
  };
5367
- return /* @__PURE__ */ jsxs52(Pressable23, { onPress: () => input.current?.focus(), disabled, accessible: false, style: [styles43.root, style], children: [
5368
- /* @__PURE__ */ jsx58(View52, { style: styles43.boxes, "aria-hidden": true, children: Array.from({ length }, (_, i) => {
5021
+ return /* @__PURE__ */ jsxs47(Pressable23, { onPress: () => input.current?.focus(), disabled, accessible: false, style: [styles43.root, style], children: [
5022
+ /* @__PURE__ */ jsx53(View47, { style: styles43.boxes, "aria-hidden": true, children: Array.from({ length }, (_, i) => {
5369
5023
  const active = focused && i === Math.min(code.length, length - 1);
5370
- return /* @__PURE__ */ jsx58(
5371
- View52,
5024
+ return /* @__PURE__ */ jsx53(
5025
+ View47,
5372
5026
  {
5373
5027
  style: [
5374
5028
  styles43.box,
@@ -5379,12 +5033,12 @@ function OtpInput({ label, length = 6, value, onValueChange, onComplete, mode =
5379
5033
  borderWidth: invalid || active ? 2 : 1
5380
5034
  }
5381
5035
  ],
5382
- children: /* @__PURE__ */ jsx58(Txt, { variant: "title", children: code[i] ?? "" })
5036
+ children: /* @__PURE__ */ jsx53(Txt, { variant: "title", children: code[i] ?? "" })
5383
5037
  },
5384
5038
  i
5385
5039
  );
5386
5040
  }) }),
5387
- /* @__PURE__ */ jsx58(
5041
+ /* @__PURE__ */ jsx53(
5388
5042
  TextInput6,
5389
5043
  {
5390
5044
  ref: input,
@@ -5416,11 +5070,11 @@ var styles43 = StyleSheet43.create({
5416
5070
  });
5417
5071
 
5418
5072
  // src/native/pagination.tsx
5419
- import { Pressable as Pressable24, StyleSheet as StyleSheet44, Text as Text16, View as View53 } from "react-native";
5420
- import Svg23, { Path as Path20 } from "react-native-svg";
5421
- import { jsx as jsx59, jsxs as jsxs53 } from "react/jsx-runtime";
5073
+ import { Pressable as Pressable24, StyleSheet as StyleSheet44, Text as Text16, View as View48 } from "react-native";
5074
+ import Svg19, { Path as Path16 } from "react-native-svg";
5075
+ import { jsx as jsx54, jsxs as jsxs48 } from "react/jsx-runtime";
5422
5076
  function Chevron3({ direction, color }) {
5423
- return /* @__PURE__ */ jsx59(Svg23, { 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__ */ jsx59(Path20, { d: direction === "left" ? "m15 6-6 6 6 6" : "m9 6 6 6-6 6" }) });
5077
+ return /* @__PURE__ */ jsx54(Svg19, { 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__ */ jsx54(Path16, { d: direction === "left" ? "m15 6-6 6 6 6" : "m9 6 6 6-6 6" }) });
5424
5078
  }
5425
5079
  function Pagination({ page = 1, pageCount, onPageChange, hasPrevious, hasNext, onPrevious, onNext, status, disabled, labels, style }) {
5426
5080
  const { theme, radius: radius3 } = useTheme();
@@ -5429,7 +5083,7 @@ function Pagination({ page = 1, pageCount, onPageChange, hasPrevious, hasNext, o
5429
5083
  const current = Math.min(Math.max(1, page), count);
5430
5084
  const canPrevious = !disabled && (paged ? current > 1 : Boolean(hasPrevious));
5431
5085
  const canNext = !disabled && (paged ? current < count : Boolean(hasNext));
5432
- const button = (direction, enabled, onPress, label) => /* @__PURE__ */ jsx59(
5086
+ const button = (direction, enabled, onPress, label) => /* @__PURE__ */ jsx54(
5433
5087
  Pressable24,
5434
5088
  {
5435
5089
  role: "button",
@@ -5442,13 +5096,13 @@ function Pagination({ page = 1, pageCount, onPageChange, hasPrevious, hasNext, o
5442
5096
  styles44.button,
5443
5097
  { borderRadius: radius3.sm, borderColor: theme.borderDefault, backgroundColor: theme.surface1, opacity: enabled ? pressed ? 0.8 : 1 : 0.4 }
5444
5098
  ],
5445
- children: /* @__PURE__ */ jsx59(Chevron3, { direction, color: theme.textPrimary })
5099
+ children: /* @__PURE__ */ jsx54(Chevron3, { direction, color: theme.textPrimary })
5446
5100
  }
5447
5101
  );
5448
5102
  const text = status ?? (paged ? labels.compact(current, count) : null);
5449
- return /* @__PURE__ */ jsxs53(View53, { role: "navigation", style: [styles44.row, style], children: [
5103
+ return /* @__PURE__ */ jsxs48(View48, { role: "navigation", style: [styles44.row, style], children: [
5450
5104
  button("left", canPrevious, paged ? () => onPageChange?.(current - 1) : onPrevious, labels.previous),
5451
- text ? /* @__PURE__ */ jsx59(Text16, { "aria-live": "polite", style: [styles44.status, { color: theme.textSecondary }], children: text }) : null,
5105
+ text ? /* @__PURE__ */ jsx54(Text16, { "aria-live": "polite", style: [styles44.status, { color: theme.textSecondary }], children: text }) : null,
5452
5106
  button("right", canNext, paged ? () => onPageChange?.(current + 1) : onNext, labels.next)
5453
5107
  ] });
5454
5108
  }
@@ -5459,8 +5113,8 @@ var styles44 = StyleSheet44.create({
5459
5113
  });
5460
5114
 
5461
5115
  // src/native/permission-prompt.tsx
5462
- import { StyleSheet as StyleSheet45, View as View54 } from "react-native";
5463
- import { Fragment as Fragment9, jsx as jsx60, jsxs as jsxs54 } from "react/jsx-runtime";
5116
+ import { StyleSheet as StyleSheet45, View as View49 } from "react-native";
5117
+ import { Fragment as Fragment9, jsx as jsx55, jsxs as jsxs49 } from "react/jsx-runtime";
5464
5118
  function PermissionPrompt({
5465
5119
  status,
5466
5120
  title,
@@ -5477,15 +5131,15 @@ function PermissionPrompt({
5477
5131
  style
5478
5132
  }) {
5479
5133
  const { theme, radius: radius3 } = useTheme();
5480
- if (status === "granted") return /* @__PURE__ */ jsx60(Fragment9, { children: children ?? null });
5134
+ if (status === "granted") return /* @__PURE__ */ jsx55(Fragment9, { children: children ?? null });
5481
5135
  const blocked = status === "blocked" || status === "denied" && Boolean(onOpenSettings);
5482
- return /* @__PURE__ */ jsxs54(View54, { style: [styles45.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style], children: [
5483
- /* @__PURE__ */ jsx60(Mascot, { bird: mascot, mood: blocked ? "error" : "welcome", size: 104 }),
5484
- /* @__PURE__ */ jsx60(Txt, { variant: "title", style: styles45.centred, children: title }),
5485
- /* @__PURE__ */ jsx60(Txt, { tone: "secondary", style: styles45.centred, children: blocked && blockedDescription ? blockedDescription : description }),
5486
- /* @__PURE__ */ jsxs54(View54, { style: styles45.actions, children: [
5487
- blocked && settingsLabel && onOpenSettings ? /* @__PURE__ */ jsx60(Button, { label: settingsLabel, variant: "primary", onPress: onOpenSettings }) : /* @__PURE__ */ jsx60(Button, { label: allowLabel, variant: "primary", onPress: onAllow }),
5488
- dismissLabel && onDismiss ? /* @__PURE__ */ jsx60(Button, { label: dismissLabel, variant: "ghost", onPress: onDismiss }) : null
5136
+ return /* @__PURE__ */ jsxs49(View49, { style: [styles45.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style], children: [
5137
+ /* @__PURE__ */ jsx55(Mascot, { bird: mascot, mood: blocked ? "error" : "welcome", size: 104 }),
5138
+ /* @__PURE__ */ jsx55(Txt, { variant: "title", style: styles45.centred, children: title }),
5139
+ /* @__PURE__ */ jsx55(Txt, { tone: "secondary", style: styles45.centred, children: blocked && blockedDescription ? blockedDescription : description }),
5140
+ /* @__PURE__ */ jsxs49(View49, { style: styles45.actions, children: [
5141
+ blocked && settingsLabel && onOpenSettings ? /* @__PURE__ */ jsx55(Button, { label: settingsLabel, variant: "primary", onPress: onOpenSettings }) : /* @__PURE__ */ jsx55(Button, { label: allowLabel, variant: "primary", onPress: onAllow }),
5142
+ dismissLabel && onDismiss ? /* @__PURE__ */ jsx55(Button, { label: dismissLabel, variant: "ghost", onPress: onDismiss }) : null
5489
5143
  ] })
5490
5144
  ] });
5491
5145
  }
@@ -5496,9 +5150,9 @@ var styles45 = StyleSheet45.create({
5496
5150
  });
5497
5151
 
5498
5152
  // src/native/phoenix.tsx
5499
- import { useEffect as useEffect21, useState as useState38 } from "react";
5500
- import { AccessibilityInfo as AccessibilityInfo13, Animated as Animated18, Easing as Easing10, View as View55 } from "react-native";
5501
- import Svg24, { Circle as Circle14, Defs as Defs12, LinearGradient as LinearGradient9, Path as Path21, RadialGradient as RadialGradient9, Stop as Stop12 } from "react-native-svg";
5153
+ import { useEffect as useEffect20, useState as useState37 } from "react";
5154
+ import { AccessibilityInfo as AccessibilityInfo12, Animated as Animated17, Easing as Easing9, View as View50 } from "react-native";
5155
+ import Svg20, { Circle as Circle10, Defs as Defs8, LinearGradient as LinearGradient7, Path as Path17, RadialGradient as RadialGradient5, Stop as Stop8 } from "react-native-svg";
5502
5156
 
5503
5157
  // src/mascots/phoenix-geometry.ts
5504
5158
  var PHOENIX = {
@@ -5521,17 +5175,17 @@ var PHOENIX_PALETTES = {
5521
5175
  };
5522
5176
 
5523
5177
  // src/native/phoenix.tsx
5524
- import { jsx as jsx61, jsxs as jsxs55 } from "react/jsx-runtime";
5178
+ import { jsx as jsx56, jsxs as jsxs50 } from "react/jsx-runtime";
5525
5179
  function useFloat(animated) {
5526
- const [y] = useState38(() => new Animated18.Value(0));
5527
- useEffect21(() => {
5180
+ const [y] = useState37(() => new Animated17.Value(0));
5181
+ useEffect20(() => {
5528
5182
  if (!animated) return;
5529
5183
  let loop;
5530
5184
  let cancelled = false;
5531
- void AccessibilityInfo13.isReduceMotionEnabled().then((reduce) => {
5185
+ void AccessibilityInfo12.isReduceMotionEnabled().then((reduce) => {
5532
5186
  if (reduce || cancelled) return;
5533
- const step = (toValue) => Animated18.timing(y, { toValue, duration: 2500, easing: Easing10.inOut(Easing10.ease), useNativeDriver: true });
5534
- loop = Animated18.loop(Animated18.sequence([step(-6), step(0)]));
5187
+ const step = (toValue) => Animated17.timing(y, { toValue, duration: 2500, easing: Easing9.inOut(Easing9.ease), useNativeDriver: true });
5188
+ loop = Animated17.loop(Animated17.sequence([step(-6), step(0)]));
5535
5189
  loop.start();
5536
5190
  });
5537
5191
  return () => {
@@ -5546,40 +5200,40 @@ function Phoenix({ tone: tone3 = "own", size = 120, animated = true, title, styl
5546
5200
  const id = useSvgId("kzp");
5547
5201
  const y = useFloat(animated);
5548
5202
  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;
5549
- return /* @__PURE__ */ jsx61(View55, { style: [{ width: size, height: size }, style], ...markA11y(title), children: /* @__PURE__ */ jsx61(Animated18.View, { style: { transform: [{ translateY: y }] }, children: /* @__PURE__ */ jsxs55(Svg24, { width: size, height: size, viewBox: "0 0 120 120", children: [
5550
- /* @__PURE__ */ jsxs55(Defs12, { children: [
5551
- /* @__PURE__ */ jsxs55(LinearGradient9, { id: `${id}l`, x1: "1", y1: "0", x2: "0", y2: "1", children: [
5552
- /* @__PURE__ */ jsx61(Stop12, { offset: "0%", stopColor: p.left[0] }),
5553
- /* @__PURE__ */ jsx61(Stop12, { offset: "100%", stopColor: p.left[1] })
5203
+ return /* @__PURE__ */ jsx56(View50, { style: [{ width: size, height: size }, style], ...markA11y(title), children: /* @__PURE__ */ jsx56(Animated17.View, { style: { transform: [{ translateY: y }] }, children: /* @__PURE__ */ jsxs50(Svg20, { width: size, height: size, viewBox: "0 0 120 120", children: [
5204
+ /* @__PURE__ */ jsxs50(Defs8, { children: [
5205
+ /* @__PURE__ */ jsxs50(LinearGradient7, { id: `${id}l`, x1: "1", y1: "0", x2: "0", y2: "1", children: [
5206
+ /* @__PURE__ */ jsx56(Stop8, { offset: "0%", stopColor: p.left[0] }),
5207
+ /* @__PURE__ */ jsx56(Stop8, { offset: "100%", stopColor: p.left[1] })
5554
5208
  ] }),
5555
- /* @__PURE__ */ jsxs55(LinearGradient9, { id: `${id}r`, x1: "0", y1: "0", x2: "1", y2: "1", children: [
5556
- /* @__PURE__ */ jsx61(Stop12, { offset: "0%", stopColor: p.right[0] }),
5557
- /* @__PURE__ */ jsx61(Stop12, { offset: "100%", stopColor: p.right[1] })
5209
+ /* @__PURE__ */ jsxs50(LinearGradient7, { id: `${id}r`, x1: "0", y1: "0", x2: "1", y2: "1", children: [
5210
+ /* @__PURE__ */ jsx56(Stop8, { offset: "0%", stopColor: p.right[0] }),
5211
+ /* @__PURE__ */ jsx56(Stop8, { offset: "100%", stopColor: p.right[1] })
5558
5212
  ] }),
5559
- /* @__PURE__ */ jsxs55(RadialGradient9, { id: `${id}c`, children: [
5560
- /* @__PURE__ */ jsx61(Stop12, { offset: "0%", stopColor: p.core[0] }),
5561
- /* @__PURE__ */ jsx61(Stop12, { offset: "100%", stopColor: p.core[1], stopOpacity: 0 })
5213
+ /* @__PURE__ */ jsxs50(RadialGradient5, { id: `${id}c`, children: [
5214
+ /* @__PURE__ */ jsx56(Stop8, { offset: "0%", stopColor: p.core[0] }),
5215
+ /* @__PURE__ */ jsx56(Stop8, { offset: "100%", stopColor: p.core[1], stopOpacity: 0 })
5562
5216
  ] })
5563
5217
  ] }),
5564
- /* @__PURE__ */ jsx61(Path21, { d: PHOENIX.wingL, fill: `url(#${id}l)` }),
5565
- /* @__PURE__ */ jsx61(Path21, { d: PHOENIX.wingR, fill: `url(#${id}r)` }),
5566
- /* @__PURE__ */ jsx61(Path21, { d: PHOENIX.tailL, fill: `url(#${id}l)`, opacity: 0.7 }),
5567
- /* @__PURE__ */ jsx61(Path21, { d: PHOENIX.tailR, fill: `url(#${id}r)`, opacity: 0.7 }),
5568
- /* @__PURE__ */ jsx61(Path21, { d: PHOENIX.body, fill: p.body, stroke: p.edge, strokeOpacity: 0.5 }),
5569
- /* @__PURE__ */ jsx61(Circle14, { cx: 60, cy: 58, r: 12, fill: `url(#${id}c)` }),
5570
- /* @__PURE__ */ jsx61(Circle14, { cx: 60, cy: 58, r: 3.5, fill: "#ffffff" }),
5571
- /* @__PURE__ */ jsx61(Path21, { d: PHOENIX.crest, stroke: p.crest, strokeWidth: 2, strokeLinecap: "round" })
5218
+ /* @__PURE__ */ jsx56(Path17, { d: PHOENIX.wingL, fill: `url(#${id}l)` }),
5219
+ /* @__PURE__ */ jsx56(Path17, { d: PHOENIX.wingR, fill: `url(#${id}r)` }),
5220
+ /* @__PURE__ */ jsx56(Path17, { d: PHOENIX.tailL, fill: `url(#${id}l)`, opacity: 0.7 }),
5221
+ /* @__PURE__ */ jsx56(Path17, { d: PHOENIX.tailR, fill: `url(#${id}r)`, opacity: 0.7 }),
5222
+ /* @__PURE__ */ jsx56(Path17, { d: PHOENIX.body, fill: p.body, stroke: p.edge, strokeOpacity: 0.5 }),
5223
+ /* @__PURE__ */ jsx56(Circle10, { cx: 60, cy: 58, r: 12, fill: `url(#${id}c)` }),
5224
+ /* @__PURE__ */ jsx56(Circle10, { cx: 60, cy: 58, r: 3.5, fill: "#ffffff" }),
5225
+ /* @__PURE__ */ jsx56(Path17, { d: PHOENIX.crest, stroke: p.crest, strokeWidth: 2, strokeLinecap: "round" })
5572
5226
  ] }) }) });
5573
5227
  }
5574
5228
 
5575
5229
  // src/native/photo-grid.tsx
5576
- import * as React40 from "react";
5577
- import { Image as Image4, Pressable as Pressable25, StyleSheet as StyleSheet46, View as View56 } from "react-native";
5578
- import Svg25, { Path as Path22 } from "react-native-svg";
5579
- import { jsx as jsx62, jsxs as jsxs56 } from "react/jsx-runtime";
5230
+ import * as React39 from "react";
5231
+ import { Image as Image4, Pressable as Pressable25, StyleSheet as StyleSheet46, View as View51 } from "react-native";
5232
+ import Svg21, { Path as Path18 } from "react-native-svg";
5233
+ import { jsx as jsx57, jsxs as jsxs51 } from "react/jsx-runtime";
5580
5234
  function PhotoGrid({ value, onValueChange, onAdd, slots = 6, required = 1, columns = 3, labels, style }) {
5581
5235
  const { theme, radius: radius3, haptic } = useTheme();
5582
- const [menu, setMenu] = React40.useState(null);
5236
+ const [menu, setMenu] = React39.useState(null);
5583
5237
  const move2 = (from, to) => {
5584
5238
  if (to < 0 || to >= value.length || from === to) return;
5585
5239
  const next = [...value];
@@ -5593,11 +5247,11 @@ function PhotoGrid({ value, onValueChange, onAdd, slots = 6, required = 1, colum
5593
5247
  onValueChange(value.filter((_, j) => j !== i));
5594
5248
  };
5595
5249
  const width = `${100 / columns}%`;
5596
- return /* @__PURE__ */ jsxs56(View56, { style: [styles46.grid, style], children: [
5250
+ return /* @__PURE__ */ jsxs51(View51, { style: [styles46.grid, style], children: [
5597
5251
  Array.from({ length: slots }, (_, i) => {
5598
5252
  const photo = value[i];
5599
5253
  const cell = [styles46.slot, { borderRadius: radius3.lg, aspectRatio: 3 / 4 }];
5600
- return /* @__PURE__ */ jsx62(View56, { style: [styles46.cell, { width }], children: photo ? /* @__PURE__ */ jsxs56(
5254
+ return /* @__PURE__ */ jsx57(View51, { style: [styles46.cell, { width }], children: photo ? /* @__PURE__ */ jsxs51(
5601
5255
  Pressable25,
5602
5256
  {
5603
5257
  role: "button",
@@ -5621,11 +5275,11 @@ function PhotoGrid({ value, onValueChange, onAdd, slots = 6, required = 1, colum
5621
5275
  },
5622
5276
  style: [...cell, { backgroundColor: theme.surface3, overflow: "hidden" }],
5623
5277
  children: [
5624
- /* @__PURE__ */ jsx62(Image4, { source: { uri: photo.uri }, style: StyleSheet46.absoluteFill, resizeMode: "cover" }),
5625
- i === 0 ? /* @__PURE__ */ jsx62(View56, { style: [styles46.main, { backgroundColor: theme.accent, borderRadius: radius3.full }], children: /* @__PURE__ */ jsx62(Txt, { variant: "caption", tone: "onAccent", style: styles46.mainText, children: labels.main }) }) : null
5278
+ /* @__PURE__ */ jsx57(Image4, { source: { uri: photo.uri }, style: StyleSheet46.absoluteFill, resizeMode: "cover" }),
5279
+ i === 0 ? /* @__PURE__ */ jsx57(View51, { style: [styles46.main, { backgroundColor: theme.accent, borderRadius: radius3.full }], children: /* @__PURE__ */ jsx57(Txt, { variant: "caption", tone: "onAccent", style: styles46.mainText, children: labels.main }) }) : null
5626
5280
  ]
5627
5281
  }
5628
- ) : /* @__PURE__ */ jsx62(
5282
+ ) : /* @__PURE__ */ jsx57(
5629
5283
  Pressable25,
5630
5284
  {
5631
5285
  role: "button",
@@ -5637,11 +5291,11 @@ function PhotoGrid({ value, onValueChange, onAdd, slots = 6, required = 1, colum
5637
5291
  styles46.empty,
5638
5292
  { borderColor: i < required ? theme.accent : theme.borderStrong, backgroundColor: pressed ? theme.surface2 : theme.surface1, opacity: i > value.length ? 0.5 : 1 }
5639
5293
  ],
5640
- children: /* @__PURE__ */ jsx62(View56, { style: [styles46.plus, { backgroundColor: i === value.length ? theme.accent : theme.surface3, borderRadius: radius3.full }], children: /* @__PURE__ */ jsx62(Svg25, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx62(Path22, { d: "M12 5v14M5 12h14", stroke: i === value.length ? theme.onAccent : theme.textSecondary, strokeWidth: 2.6, strokeLinecap: "round" }) }) })
5294
+ children: /* @__PURE__ */ jsx57(View51, { style: [styles46.plus, { backgroundColor: i === value.length ? theme.accent : theme.surface3, borderRadius: radius3.full }], children: /* @__PURE__ */ jsx57(Svg21, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx57(Path18, { d: "M12 5v14M5 12h14", stroke: i === value.length ? theme.onAccent : theme.textSecondary, strokeWidth: 2.6, strokeLinecap: "round" }) }) })
5641
5295
  }
5642
5296
  ) }, photo?.id ?? `empty-${i}`);
5643
5297
  }),
5644
- /* @__PURE__ */ jsx62(
5298
+ /* @__PURE__ */ jsx57(
5645
5299
  ActionSheet,
5646
5300
  {
5647
5301
  open: menu !== null,
@@ -5668,18 +5322,18 @@ var styles46 = StyleSheet46.create({
5668
5322
  });
5669
5323
 
5670
5324
  // src/native/profile-card.tsx
5671
- import * as React41 from "react";
5672
- import { Animated as Animated19, StyleSheet as StyleSheet47, View as View57 } from "react-native";
5673
- import Svg26, { Defs as Defs13, LinearGradient as LinearGradient10, Rect as Rect3, Stop as Stop13 } from "react-native-svg";
5674
- import { jsx as jsx63, jsxs as jsxs57 } from "react/jsx-runtime";
5325
+ import * as React40 from "react";
5326
+ import { Animated as Animated18, StyleSheet as StyleSheet47, View as View52 } from "react-native";
5327
+ import Svg22, { Defs as Defs9, LinearGradient as LinearGradient8, Rect as Rect3, Stop as Stop9 } from "react-native-svg";
5328
+ import { jsx as jsx58, jsxs as jsxs52 } from "react/jsx-runtime";
5675
5329
  var ratioOf = (value, max = 100) => Math.min(1, Math.max(0, value / (max || 1)));
5676
5330
  function Bar({ label, ratio, words: words2, animated, delay }) {
5677
5331
  const { theme } = useTheme();
5678
5332
  const t = useEntrance(animated, delay, 900);
5679
- const [width, setWidth] = React41.useState(0);
5333
+ const [width, setWidth] = React40.useState(0);
5680
5334
  const translateX = t.interpolate({ inputRange: [0, 1], outputRange: [-width * ratio, 0] });
5681
- return /* @__PURE__ */ jsx63(
5682
- View57,
5335
+ return /* @__PURE__ */ jsx58(
5336
+ View52,
5683
5337
  {
5684
5338
  accessible: true,
5685
5339
  role: "meter",
@@ -5690,37 +5344,37 @@ function Bar({ label, ratio, words: words2, animated, delay }) {
5690
5344
  "aria-valuetext": words2,
5691
5345
  onLayout: (e) => setWidth(e.nativeEvent.layout.width),
5692
5346
  style: [styles47.track, { backgroundColor: theme.surface3 }],
5693
- children: /* @__PURE__ */ jsx63(Animated19.View, { style: [styles47.fill, { width: `${ratio * 100}%`, backgroundColor: theme.accent, transform: [{ translateX }] }] })
5347
+ children: /* @__PURE__ */ jsx58(Animated18.View, { style: [styles47.fill, { width: `${ratio * 100}%`, backgroundColor: theme.accent, transform: [{ translateX }] }] })
5694
5348
  }
5695
5349
  );
5696
5350
  }
5697
5351
  function ProfileCard({ visual, name, statLabel, value = 100, valueText, stats, caption, children, animated = true, style, ...props }) {
5698
5352
  const { theme, radius: radius3 } = useTheme();
5699
5353
  const ratio = ratioOf(value);
5700
- return /* @__PURE__ */ jsxs57(View57, { ...props, style: [styles47.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style], children: [
5701
- /* @__PURE__ */ jsx63(View57, { "aria-hidden": true, style: [styles47.disc, { backgroundColor: theme.surface2, borderColor: theme.accentSoft }], children: visual }),
5702
- /* @__PURE__ */ jsxs57(View57, { style: styles47.head, children: [
5703
- /* @__PURE__ */ jsx63(Txt, { variant: "title", style: styles47.name, children: name }),
5704
- statLabel ? /* @__PURE__ */ jsxs57(Txt, { variant: "caption", tone: "secondary", children: [
5354
+ return /* @__PURE__ */ jsxs52(View52, { ...props, style: [styles47.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style], children: [
5355
+ /* @__PURE__ */ jsx58(View52, { "aria-hidden": true, style: [styles47.disc, { backgroundColor: theme.surface2, borderColor: theme.accentSoft }], children: visual }),
5356
+ /* @__PURE__ */ jsxs52(View52, { style: styles47.head, children: [
5357
+ /* @__PURE__ */ jsx58(Txt, { variant: "title", style: styles47.name, children: name }),
5358
+ statLabel ? /* @__PURE__ */ jsxs52(Txt, { variant: "caption", tone: "secondary", children: [
5705
5359
  statLabel,
5706
5360
  " ",
5707
- /* @__PURE__ */ jsx63(Txt, { variant: "caption", children: valueText ?? `${Math.round(ratio * 100)} %` })
5361
+ /* @__PURE__ */ jsx58(Txt, { variant: "caption", children: valueText ?? `${Math.round(ratio * 100)} %` })
5708
5362
  ] }) : null
5709
5363
  ] }),
5710
- statLabel ? /* @__PURE__ */ jsx63(Bar, { label: statLabel, ratio, words: valueText ?? `${Math.round(ratio * 100)} %`, animated, delay: 200 }) : null,
5364
+ statLabel ? /* @__PURE__ */ jsx58(Bar, { label: statLabel, ratio, words: valueText ?? `${Math.round(ratio * 100)} %`, animated, delay: 200 }) : null,
5711
5365
  stats?.map((s, i) => {
5712
5366
  const r = ratioOf(s.value, s.max);
5713
5367
  const words2 = s.valueText ?? `${Math.round(r * 100)} %`;
5714
- return /* @__PURE__ */ jsxs57(View57, { style: styles47.stat, children: [
5715
- /* @__PURE__ */ jsxs57(View57, { "aria-hidden": true, style: styles47.statHead, children: [
5716
- /* @__PURE__ */ jsx63(Txt, { variant: "caption", tone: "secondary", children: s.label }),
5717
- /* @__PURE__ */ jsx63(Txt, { variant: "caption", children: words2 })
5368
+ return /* @__PURE__ */ jsxs52(View52, { style: styles47.stat, children: [
5369
+ /* @__PURE__ */ jsxs52(View52, { "aria-hidden": true, style: styles47.statHead, children: [
5370
+ /* @__PURE__ */ jsx58(Txt, { variant: "caption", tone: "secondary", children: s.label }),
5371
+ /* @__PURE__ */ jsx58(Txt, { variant: "caption", children: words2 })
5718
5372
  ] }),
5719
- /* @__PURE__ */ jsx63(Bar, { label: s.label, ratio: r, words: words2, animated, delay: 320 + i * 120 })
5373
+ /* @__PURE__ */ jsx58(Bar, { label: s.label, ratio: r, words: words2, animated, delay: 320 + i * 120 })
5720
5374
  ] }, s.label);
5721
5375
  }),
5722
- caption ? /* @__PURE__ */ jsx63(Txt, { variant: "caption", tone: "secondary", style: styles47.caption, children: caption }) : null,
5723
- children ? /* @__PURE__ */ jsx63(View57, { style: styles47.extra, children }) : null
5376
+ caption ? /* @__PURE__ */ jsx58(Txt, { variant: "caption", tone: "secondary", style: styles47.caption, children: caption }) : null,
5377
+ children ? /* @__PURE__ */ jsx58(View52, { style: styles47.extra, children }) : null
5724
5378
  ] });
5725
5379
  }
5726
5380
  var styles47 = StyleSheet47.create({
@@ -5737,26 +5391,26 @@ var styles47 = StyleSheet47.create({
5737
5391
  });
5738
5392
  function ProfileBanner({ banner, avatar, eyebrow, title, status, meta, actions, style, ...props }) {
5739
5393
  const { theme, radius: radius3 } = useTheme();
5740
- const id = `kz-banner-${React41.useId().replace(/:/g, "")}`;
5741
- return /* @__PURE__ */ jsxs57(View57, { style: [bannerStyles.root, style], ...props, children: [
5742
- /* @__PURE__ */ jsx63(View57, { "aria-hidden": true, style: [bannerStyles.cover, { borderRadius: radius3.lg, backgroundColor: theme.accentSoft }], children: banner ?? /* @__PURE__ */ jsxs57(Svg26, { width: "100%", height: "100%", preserveAspectRatio: "none", viewBox: "0 0 100 100", children: [
5743
- /* @__PURE__ */ jsx63(Defs13, { children: /* @__PURE__ */ jsxs57(LinearGradient10, { id, x1: "0", y1: "0", x2: "1", y2: "1", children: [
5744
- /* @__PURE__ */ jsx63(Stop13, { offset: "0", stopColor: theme.accent, stopOpacity: 0.3 }),
5745
- /* @__PURE__ */ jsx63(Stop13, { offset: "0.5", stopColor: theme.accentSoft }),
5746
- /* @__PURE__ */ jsx63(Stop13, { offset: "1", stopColor: theme.surface2 })
5394
+ const id = `kz-banner-${React40.useId().replace(/:/g, "")}`;
5395
+ return /* @__PURE__ */ jsxs52(View52, { style: [bannerStyles.root, style], ...props, children: [
5396
+ /* @__PURE__ */ jsx58(View52, { "aria-hidden": true, style: [bannerStyles.cover, { borderRadius: radius3.lg, backgroundColor: theme.accentSoft }], children: banner ?? /* @__PURE__ */ jsxs52(Svg22, { width: "100%", height: "100%", preserveAspectRatio: "none", viewBox: "0 0 100 100", children: [
5397
+ /* @__PURE__ */ jsx58(Defs9, { children: /* @__PURE__ */ jsxs52(LinearGradient8, { id, x1: "0", y1: "0", x2: "1", y2: "1", children: [
5398
+ /* @__PURE__ */ jsx58(Stop9, { offset: "0", stopColor: theme.accent, stopOpacity: 0.3 }),
5399
+ /* @__PURE__ */ jsx58(Stop9, { offset: "0.5", stopColor: theme.accentSoft }),
5400
+ /* @__PURE__ */ jsx58(Stop9, { offset: "1", stopColor: theme.surface2 })
5747
5401
  ] }) }),
5748
- /* @__PURE__ */ jsx63(Rect3, { x: "0", y: "0", width: "100", height: "100", fill: `url(#${id})` })
5402
+ /* @__PURE__ */ jsx58(Rect3, { x: "0", y: "0", width: "100", height: "100", fill: `url(#${id})` })
5749
5403
  ] }) }),
5750
- /* @__PURE__ */ jsx63(View57, { style: [bannerStyles.avatar, { borderColor: theme.surface0, backgroundColor: theme.surface3, borderRadius: radius3.lg }], children: avatar }),
5751
- /* @__PURE__ */ jsxs57(View57, { style: bannerStyles.text, children: [
5752
- eyebrow ? /* @__PURE__ */ jsx63(Txt, { variant: "mono", tone: "accent", children: eyebrow }) : null,
5753
- /* @__PURE__ */ jsxs57(View57, { style: bannerStyles.titleRow, children: [
5754
- /* @__PURE__ */ jsx63(Txt, { variant: "title", role: "heading", style: bannerStyles.title, children: title }),
5404
+ /* @__PURE__ */ jsx58(View52, { style: [bannerStyles.avatar, { borderColor: theme.surface0, backgroundColor: theme.surface3, borderRadius: radius3.lg }], children: avatar }),
5405
+ /* @__PURE__ */ jsxs52(View52, { style: bannerStyles.text, children: [
5406
+ eyebrow ? /* @__PURE__ */ jsx58(Txt, { variant: "mono", tone: "accent", children: eyebrow }) : null,
5407
+ /* @__PURE__ */ jsxs52(View52, { style: bannerStyles.titleRow, children: [
5408
+ /* @__PURE__ */ jsx58(Txt, { variant: "title", role: "heading", style: bannerStyles.title, children: title }),
5755
5409
  status
5756
5410
  ] }),
5757
- meta ? /* @__PURE__ */ jsx63(Txt, { tone: "secondary", children: meta }) : null
5411
+ meta ? /* @__PURE__ */ jsx58(Txt, { tone: "secondary", children: meta }) : null
5758
5412
  ] }),
5759
- actions ? /* @__PURE__ */ jsx63(View57, { style: bannerStyles.actions, children: actions }) : null
5413
+ actions ? /* @__PURE__ */ jsx58(View52, { style: bannerStyles.actions, children: actions }) : null
5760
5414
  ] });
5761
5415
  }
5762
5416
  var bannerStyles = StyleSheet47.create({
@@ -5770,11 +5424,11 @@ var bannerStyles = StyleSheet47.create({
5770
5424
  });
5771
5425
 
5772
5426
  // src/native/progress.tsx
5773
- import * as React42 from "react";
5774
- import { Animated as Animated20, Easing as Easing11, StyleSheet as StyleSheet48, View as View58 } from "react-native";
5775
- import Svg27, { Circle as Circle15, Defs as Defs14, LinearGradient as LinearGradient11, Rect as Rect4, Stop as Stop14 } from "react-native-svg";
5776
- import { jsx as jsx64, jsxs as jsxs58 } from "react/jsx-runtime";
5777
- var AnimatedCircle = Animated20.createAnimatedComponent(Circle15);
5427
+ import * as React41 from "react";
5428
+ import { Animated as Animated19, Easing as Easing10, StyleSheet as StyleSheet48, View as View53 } from "react-native";
5429
+ import Svg23, { Circle as Circle11, Defs as Defs10, LinearGradient as LinearGradient9, Rect as Rect4, Stop as Stop10 } from "react-native-svg";
5430
+ import { jsx as jsx59, jsxs as jsxs53 } from "react/jsx-runtime";
5431
+ var AnimatedCircle = Animated19.createAnimatedComponent(Circle11);
5778
5432
  var BAR2 = { sm: 4, md: 8, lg: 12 };
5779
5433
  var RING2 = { sm: 40, md: 80, lg: 144 };
5780
5434
  var STROKE = { sm: 12, md: 9, lg: 7 };
@@ -5785,21 +5439,21 @@ function Progress({ variant = "bar", size = "md", value, max = 100, label, value
5785
5439
  const known = typeof value === "number" && Number.isFinite(value);
5786
5440
  const ratio = known ? Math.min(1, Math.max(0, value / (max || 1))) : 0;
5787
5441
  const percent2 = Math.round(ratio * 100);
5788
- const [progress] = React42.useState(() => new Animated20.Value(ratio));
5789
- const [spin] = React42.useState(() => new Animated20.Value(0));
5790
- const [track, setTrack] = React42.useState(0);
5791
- React42.useEffect(() => {
5442
+ const [progress] = React41.useState(() => new Animated19.Value(ratio));
5443
+ const [spin] = React41.useState(() => new Animated19.Value(0));
5444
+ const [track, setTrack] = React41.useState(0);
5445
+ React41.useEffect(() => {
5792
5446
  if (reduce) {
5793
5447
  progress.setValue(ratio);
5794
5448
  return;
5795
5449
  }
5796
- const animation = Animated20.timing(progress, { toValue: ratio, duration: 700, easing: Easing11.out(Easing11.cubic), useNativeDriver: false });
5450
+ const animation = Animated19.timing(progress, { toValue: ratio, duration: 700, easing: Easing10.out(Easing10.cubic), useNativeDriver: false });
5797
5451
  animation.start();
5798
5452
  return () => animation.stop();
5799
5453
  }, [ratio, reduce, progress]);
5800
- React42.useEffect(() => {
5454
+ React41.useEffect(() => {
5801
5455
  if (known || reduce) return;
5802
- const loop = Animated20.loop(Animated20.timing(spin, { toValue: 1, duration: 1200, easing: Easing11.linear, useNativeDriver: true }));
5456
+ const loop = Animated19.loop(Animated19.timing(spin, { toValue: 1, duration: 1200, easing: Easing10.linear, useNativeDriver: true }));
5803
5457
  loop.start();
5804
5458
  return () => {
5805
5459
  loop.stop();
@@ -5815,9 +5469,9 @@ function Progress({ variant = "bar", size = "md", value, max = 100, label, value
5815
5469
  "aria-valuenow": known ? Math.min(max, Math.max(0, value)) : void 0,
5816
5470
  "aria-valuetext": known ? valueText ?? `${percent2}%` : valueText
5817
5471
  };
5818
- const gradient = /* @__PURE__ */ jsx64(Defs14, { children: /* @__PURE__ */ jsxs58(LinearGradient11, { id, x1: "0", y1: "0", x2: "1", y2: variant === "ring" ? "1" : "0", children: [
5819
- /* @__PURE__ */ jsx64(Stop14, { offset: "0", stopColor: theme.accent }),
5820
- /* @__PURE__ */ jsx64(Stop14, { offset: "1", stopColor: theme.accent2 })
5472
+ const gradient = /* @__PURE__ */ jsx59(Defs10, { children: /* @__PURE__ */ jsxs53(LinearGradient9, { id, x1: "0", y1: "0", x2: "1", y2: variant === "ring" ? "1" : "0", children: [
5473
+ /* @__PURE__ */ jsx59(Stop10, { offset: "0", stopColor: theme.accent }),
5474
+ /* @__PURE__ */ jsx59(Stop10, { offset: "1", stopColor: theme.accent2 })
5821
5475
  ] }) });
5822
5476
  if (variant === "ring") {
5823
5477
  const side = RING2[size];
@@ -5826,11 +5480,11 @@ function Progress({ variant = "bar", size = "md", value, max = 100, label, value
5826
5480
  const circumference = 2 * Math.PI * r;
5827
5481
  const offset = known ? progress.interpolate({ inputRange: [0, 1], outputRange: [circumference, 0] }) : circumference * 0.75;
5828
5482
  const rotate = spin.interpolate({ inputRange: [0, 1], outputRange: ["0deg", "360deg"] });
5829
- return /* @__PURE__ */ jsxs58(View58, { ...a11y, style: [styles48.ring, { width: side, height: side }, style], children: [
5830
- /* @__PURE__ */ jsx64(Animated20.View, { style: [StyleSheet48.absoluteFill, { transform: [{ rotate: known ? "-90deg" : rotate }] }], children: /* @__PURE__ */ jsxs58(Svg27, { width: side, height: side, viewBox: "0 0 100 100", children: [
5483
+ return /* @__PURE__ */ jsxs53(View53, { ...a11y, style: [styles48.ring, { width: side, height: side }, style], children: [
5484
+ /* @__PURE__ */ jsx59(Animated19.View, { style: [StyleSheet48.absoluteFill, { transform: [{ rotate: known ? "-90deg" : rotate }] }], children: /* @__PURE__ */ jsxs53(Svg23, { width: side, height: side, viewBox: "0 0 100 100", children: [
5831
5485
  gradient,
5832
- /* @__PURE__ */ jsx64(Circle15, { cx: 50, cy: 50, r, fill: "none", stroke: theme.borderDefault, strokeWidth: stroke }),
5833
- /* @__PURE__ */ jsx64(
5486
+ /* @__PURE__ */ jsx59(Circle11, { cx: 50, cy: 50, r, fill: "none", stroke: theme.borderDefault, strokeWidth: stroke }),
5487
+ /* @__PURE__ */ jsx59(
5834
5488
  AnimatedCircle,
5835
5489
  {
5836
5490
  cx: 50,
@@ -5850,15 +5504,15 @@ function Progress({ variant = "bar", size = "md", value, max = 100, label, value
5850
5504
  }
5851
5505
  const width = known ? progress.interpolate({ inputRange: [0, 1], outputRange: ["0%", "100%"] }) : "40%";
5852
5506
  const translate = spin.interpolate({ inputRange: [0, 1], outputRange: [-0.4 * track, track] });
5853
- return /* @__PURE__ */ jsx64(
5854
- View58,
5507
+ return /* @__PURE__ */ jsx59(
5508
+ View53,
5855
5509
  {
5856
5510
  ...a11y,
5857
5511
  onLayout: known ? void 0 : (event) => setTrack(event.nativeEvent.layout.width),
5858
5512
  style: [styles48.bar, { height: BAR2[size], backgroundColor: theme.surface3 }, style],
5859
- children: /* @__PURE__ */ jsx64(Animated20.View, { style: [styles48.fill, { width }, known || reduce ? null : { transform: [{ translateX: translate }] }], children: /* @__PURE__ */ jsxs58(Svg27, { width: "100%", height: "100%", preserveAspectRatio: "none", children: [
5513
+ children: /* @__PURE__ */ jsx59(Animated19.View, { style: [styles48.fill, { width }, known || reduce ? null : { transform: [{ translateX: translate }] }], children: /* @__PURE__ */ jsxs53(Svg23, { width: "100%", height: "100%", preserveAspectRatio: "none", children: [
5860
5514
  gradient,
5861
- /* @__PURE__ */ jsx64(Rect4, { x: 0, y: 0, width: "100%", height: "100%", fill: `url(#${id})` })
5515
+ /* @__PURE__ */ jsx59(Rect4, { x: 0, y: 0, width: "100%", height: "100%", fill: `url(#${id})` })
5862
5516
  ] }) })
5863
5517
  }
5864
5518
  );
@@ -5870,9 +5524,9 @@ var styles48 = StyleSheet48.create({
5870
5524
  });
5871
5525
 
5872
5526
  // src/native/qr-code.tsx
5873
- import * as React43 from "react";
5874
- import { View as View59 } from "react-native";
5875
- import Svg28, { Path as Path23, Rect as Rect5 } from "react-native-svg";
5527
+ import * as React42 from "react";
5528
+ import { View as View54 } from "react-native";
5529
+ import Svg24, { Path as Path19, Rect as Rect5 } from "react-native-svg";
5876
5530
 
5877
5531
  // src/qr-code/encode.ts
5878
5532
  var LEVEL_INDEX = { L: 0, M: 1, Q: 2, H: 3 };
@@ -6159,51 +5813,51 @@ function qrPath(matrix, quiet) {
6159
5813
  }
6160
5814
 
6161
5815
  // src/native/qr-code.tsx
6162
- import { jsx as jsx65, jsxs as jsxs59 } from "react/jsx-runtime";
5816
+ import { jsx as jsx60, jsxs as jsxs54 } from "react/jsx-runtime";
6163
5817
  var TILE = "#ffffff";
6164
5818
  var MODULE = "#0b0f19";
6165
5819
  function QrCode({ value, label, size = 176, quietZone = 4, level = "M", copyLabel, onCopy, style, ...props }) {
6166
5820
  const { theme } = useTheme();
6167
5821
  const quiet = Math.max(2, Math.round(quietZone));
6168
- const { modules, path } = React43.useMemo(() => {
5822
+ const { modules, path } = React42.useMemo(() => {
6169
5823
  const matrix = encodeQr(value, level);
6170
5824
  return { modules: matrix.length + quiet * 2, path: qrPath(matrix, quiet) };
6171
5825
  }, [value, level, quiet]);
6172
- return /* @__PURE__ */ jsxs59(View59, { ...props, style: [{ alignItems: "flex-start", rowGap: 12 }, style], children: [
6173
- /* @__PURE__ */ jsx65(
6174
- View59,
5826
+ return /* @__PURE__ */ jsxs54(View54, { ...props, style: [{ alignItems: "flex-start", rowGap: 12 }, style], children: [
5827
+ /* @__PURE__ */ jsx60(
5828
+ View54,
6175
5829
  {
6176
5830
  accessible: true,
6177
5831
  accessibilityRole: "image",
6178
5832
  accessibilityLabel: label,
6179
5833
  style: { width: size, height: size, borderRadius: 8, overflow: "hidden", borderWidth: 1, borderColor: theme.borderDefault },
6180
- children: /* @__PURE__ */ jsxs59(Svg28, { width: size, height: size, viewBox: `0 0 ${modules} ${modules}`, children: [
6181
- /* @__PURE__ */ jsx65(Rect5, { width: modules, height: modules, fill: TILE }),
6182
- /* @__PURE__ */ jsx65(Path23, { d: path, fill: MODULE })
5834
+ children: /* @__PURE__ */ jsxs54(Svg24, { width: size, height: size, viewBox: `0 0 ${modules} ${modules}`, children: [
5835
+ /* @__PURE__ */ jsx60(Rect5, { width: modules, height: modules, fill: TILE }),
5836
+ /* @__PURE__ */ jsx60(Path19, { d: path, fill: MODULE })
6183
5837
  ] })
6184
5838
  }
6185
5839
  ),
6186
- copyLabel ? /* @__PURE__ */ jsx65(Button, { label: copyLabel, size: "sm", onPress: () => onCopy?.(value) }) : null
5840
+ copyLabel ? /* @__PURE__ */ jsx60(Button, { label: copyLabel, size: "sm", onPress: () => onCopy?.(value) }) : null
6187
5841
  ] });
6188
5842
  }
6189
5843
 
6190
5844
  // src/native/radio-group.tsx
6191
- import * as React44 from "react";
6192
- import { Animated as Animated21, Pressable as Pressable26, StyleSheet as StyleSheet49, Text as Text17, View as View60 } from "react-native";
6193
- import Svg29, { Path as Path24 } from "react-native-svg";
6194
- import { jsx as jsx66, jsxs as jsxs60 } from "react/jsx-runtime";
5845
+ import * as React43 from "react";
5846
+ import { Animated as Animated20, Pressable as Pressable26, StyleSheet as StyleSheet49, Text as Text17, View as View55 } from "react-native";
5847
+ import Svg25, { Path as Path20 } from "react-native-svg";
5848
+ import { jsx as jsx61, jsxs as jsxs55 } from "react/jsx-runtime";
6195
5849
  function Check({ color }) {
6196
- return /* @__PURE__ */ jsx66(Svg29, { 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__ */ jsx66(Path24, { d: "M20 6 9 17l-5-5" }) });
5850
+ return /* @__PURE__ */ jsx61(Svg25, { 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__ */ jsx61(Path20, { d: "M20 6 9 17l-5-5" }) });
6197
5851
  }
6198
5852
  function Key({ option, checked, disabled, onPress }) {
6199
5853
  const { theme, radius: radius3, motion: motion3 } = useTheme();
6200
- const [held, setHeld] = React44.useState(false);
6201
- const [sink] = React44.useState(() => new Animated21.Value(checked ? 1 : 0));
5854
+ const [held, setHeld] = React43.useState(false);
5855
+ const [sink] = React43.useState(() => new Animated20.Value(checked ? 1 : 0));
6202
5856
  const down = checked || held;
6203
- React44.useEffect(() => {
6204
- Animated21.timing(sink, { toValue: down ? 1 : 0, duration: motion3.duration.fast, useNativeDriver: true }).start();
5857
+ React43.useEffect(() => {
5858
+ Animated20.timing(sink, { toValue: down ? 1 : 0, duration: motion3.duration.fast, useNativeDriver: true }).start();
6205
5859
  }, [down, sink, motion3.duration.fast]);
6206
- return /* @__PURE__ */ jsxs60(
5860
+ return /* @__PURE__ */ jsxs55(
6207
5861
  Pressable26,
6208
5862
  {
6209
5863
  role: "radio",
@@ -6216,9 +5870,9 @@ function Key({ option, checked, disabled, onPress }) {
6216
5870
  onPressOut: () => setHeld(false),
6217
5871
  style: [styles49.keySlot, disabled ? styles49.disabled : null],
6218
5872
  children: [
6219
- /* @__PURE__ */ jsx66(View60, { style: [styles49.ledge, { borderRadius: radius3.lg, backgroundColor: checked ? theme.accentHover : theme.borderStrong }] }),
6220
- /* @__PURE__ */ jsxs60(
6221
- Animated21.View,
5873
+ /* @__PURE__ */ jsx61(View55, { style: [styles49.ledge, { borderRadius: radius3.lg, backgroundColor: checked ? theme.accentHover : theme.borderStrong }] }),
5874
+ /* @__PURE__ */ jsxs55(
5875
+ Animated20.View,
6222
5876
  {
6223
5877
  style: [
6224
5878
  styles49.key,
@@ -6230,8 +5884,8 @@ function Key({ option, checked, disabled, onPress }) {
6230
5884
  }
6231
5885
  ],
6232
5886
  children: [
6233
- /* @__PURE__ */ jsx66(Text17, { style: [styles49.keyLabel, { color: checked ? theme.onAccent : theme.textPrimary }], children: option.label }),
6234
- option.hint ? /* @__PURE__ */ jsx66(Text17, { style: [styles49.keyHint, { color: checked ? theme.onAccent : theme.textSecondary }], children: option.hint }) : null
5887
+ /* @__PURE__ */ jsx61(Text17, { style: [styles49.keyLabel, { color: checked ? theme.onAccent : theme.textPrimary }], children: option.label }),
5888
+ option.hint ? /* @__PURE__ */ jsx61(Text17, { style: [styles49.keyHint, { color: checked ? theme.onAccent : theme.textSecondary }], children: option.hint }) : null
6235
5889
  ]
6236
5890
  }
6237
5891
  )
@@ -6241,7 +5895,7 @@ function Key({ option, checked, disabled, onPress }) {
6241
5895
  }
6242
5896
  function RadioGroup({ label, options, value: valueProp, defaultValue = null, onValueChange, variant = "list", error, disabled, style }) {
6243
5897
  const { theme, radius: radius3, haptic } = useTheme();
6244
- const [own, setOwn] = React44.useState(defaultValue);
5898
+ const [own, setOwn] = React43.useState(defaultValue);
6245
5899
  const value = valueProp !== void 0 ? valueProp : own;
6246
5900
  const pick = (v) => {
6247
5901
  haptic(variant === "buttons" ? "impact" : "selection");
@@ -6252,9 +5906,9 @@ function RadioGroup({ label, options, value: valueProp, defaultValue = null, onV
6252
5906
  const checked = o.value === value;
6253
5907
  const off = Boolean(disabled || o.disabled);
6254
5908
  const name = o.description ? `${o.label}, ${o.description}` : o.label;
6255
- if (variant === "buttons") return /* @__PURE__ */ jsx66(Key, { option: o, checked, disabled: off, onPress: () => pick(o.value) }, o.value);
5909
+ if (variant === "buttons") return /* @__PURE__ */ jsx61(Key, { option: o, checked, disabled: off, onPress: () => pick(o.value) }, o.value);
6256
5910
  if (variant === "segmented")
6257
- return /* @__PURE__ */ jsx66(
5911
+ return /* @__PURE__ */ jsx61(
6258
5912
  Pressable26,
6259
5913
  {
6260
5914
  role: "radio",
@@ -6264,12 +5918,12 @@ function RadioGroup({ label, options, value: valueProp, defaultValue = null, onV
6264
5918
  disabled: off,
6265
5919
  onPress: () => pick(o.value),
6266
5920
  style: [styles49.segment, { borderRadius: radius3.md }, checked ? { backgroundColor: theme.surface0, borderColor: theme.borderDefault } : null, off ? styles49.disabled : null],
6267
- children: /* @__PURE__ */ jsx66(Text17, { numberOfLines: 1, style: [styles49.segmentLabel, { color: checked ? theme.textPrimary : theme.textSecondary }], children: o.label })
5921
+ children: /* @__PURE__ */ jsx61(Text17, { numberOfLines: 1, style: [styles49.segmentLabel, { color: checked ? theme.textPrimary : theme.textSecondary }], children: o.label })
6268
5922
  },
6269
5923
  o.value
6270
5924
  );
6271
5925
  if (variant === "cards")
6272
- return /* @__PURE__ */ jsxs60(
5926
+ return /* @__PURE__ */ jsxs55(
6273
5927
  Pressable26,
6274
5928
  {
6275
5929
  role: "radio",
@@ -6284,24 +5938,24 @@ function RadioGroup({ label, options, value: valueProp, defaultValue = null, onV
6284
5938
  off ? styles49.disabled : null
6285
5939
  ],
6286
5940
  children: [
6287
- /* @__PURE__ */ jsx66(View60, { style: [styles49.cardCheck, { borderColor: checked ? theme.accent : theme.borderStrong, backgroundColor: checked ? theme.accent : theme.surface1 }], children: checked ? /* @__PURE__ */ jsx66(Check, { color: theme.onAccent }) : null }),
6288
- /* @__PURE__ */ jsx66(Text17, { style: [styles49.cardLabel, { color: theme.textPrimary }], children: o.label }),
6289
- o.description ? /* @__PURE__ */ jsx66(Text17, { style: [styles49.cardDescription, { color: theme.textSecondary }], children: o.description }) : null
5941
+ /* @__PURE__ */ jsx61(View55, { style: [styles49.cardCheck, { borderColor: checked ? theme.accent : theme.borderStrong, backgroundColor: checked ? theme.accent : theme.surface1 }], children: checked ? /* @__PURE__ */ jsx61(Check, { color: theme.onAccent }) : null }),
5942
+ /* @__PURE__ */ jsx61(Text17, { style: [styles49.cardLabel, { color: theme.textPrimary }], children: o.label }),
5943
+ o.description ? /* @__PURE__ */ jsx61(Text17, { style: [styles49.cardDescription, { color: theme.textSecondary }], children: o.description }) : null
6290
5944
  ]
6291
5945
  },
6292
5946
  o.value
6293
5947
  );
6294
- return /* @__PURE__ */ jsxs60(Pressable26, { role: "radio", "aria-checked": checked, "aria-label": name, "aria-disabled": off || void 0, disabled: off, onPress: () => pick(o.value), style: [styles49.row, off ? styles49.disabled : null], children: [
6295
- /* @__PURE__ */ jsx66(View60, { style: [styles49.dot, { borderColor: checked ? theme.accent : theme.borderStrong, backgroundColor: checked ? theme.accent : theme.surface1 }], children: checked ? /* @__PURE__ */ jsx66(View60, { style: [styles49.dotIn, { backgroundColor: theme.onAccent }] }) : null }),
6296
- /* @__PURE__ */ jsxs60(View60, { style: styles49.rowText, children: [
6297
- /* @__PURE__ */ jsx66(Text17, { style: [styles49.rowLabel, { color: theme.textPrimary }], children: o.label }),
6298
- o.description ? /* @__PURE__ */ jsx66(Text17, { style: [styles49.cardDescription, { color: theme.textSecondary }], children: o.description }) : null
5948
+ return /* @__PURE__ */ jsxs55(Pressable26, { role: "radio", "aria-checked": checked, "aria-label": name, "aria-disabled": off || void 0, disabled: off, onPress: () => pick(o.value), style: [styles49.row, off ? styles49.disabled : null], children: [
5949
+ /* @__PURE__ */ jsx61(View55, { style: [styles49.dot, { borderColor: checked ? theme.accent : theme.borderStrong, backgroundColor: checked ? theme.accent : theme.surface1 }], children: checked ? /* @__PURE__ */ jsx61(View55, { style: [styles49.dotIn, { backgroundColor: theme.onAccent }] }) : null }),
5950
+ /* @__PURE__ */ jsxs55(View55, { style: styles49.rowText, children: [
5951
+ /* @__PURE__ */ jsx61(Text17, { style: [styles49.rowLabel, { color: theme.textPrimary }], children: o.label }),
5952
+ o.description ? /* @__PURE__ */ jsx61(Text17, { style: [styles49.cardDescription, { color: theme.textSecondary }], children: o.description }) : null
6299
5953
  ] })
6300
5954
  ] }, o.value);
6301
5955
  });
6302
- return /* @__PURE__ */ jsxs60(View60, { style: [styles49.root, style], children: [
6303
- /* @__PURE__ */ jsx66(
6304
- View60,
5956
+ return /* @__PURE__ */ jsxs55(View55, { style: [styles49.root, style], children: [
5957
+ /* @__PURE__ */ jsx61(
5958
+ View55,
6305
5959
  {
6306
5960
  role: "radiogroup",
6307
5961
  "aria-label": label,
@@ -6309,7 +5963,7 @@ function RadioGroup({ label, options, value: valueProp, defaultValue = null, onV
6309
5963
  children: body
6310
5964
  }
6311
5965
  ),
6312
- error ? /* @__PURE__ */ jsx66(Text17, { role: "alert", "aria-live": "polite", style: [styles49.error, { color: theme.dangerText }], children: error }) : null
5966
+ error ? /* @__PURE__ */ jsx61(Text17, { role: "alert", "aria-live": "polite", style: [styles49.error, { color: theme.dangerText }], children: error }) : null
6313
5967
  ] });
6314
5968
  }
6315
5969
  var styles49 = StyleSheet49.create({
@@ -6340,15 +5994,15 @@ var styles49 = StyleSheet49.create({
6340
5994
 
6341
5995
  // src/native/search-field.tsx
6342
5996
  import { useDebouncedCallback } from "@krizaka/pacer/react";
6343
- import * as React45 from "react";
6344
- import { Pressable as Pressable27, StyleSheet as StyleSheet50, TextInput as TextInput7, View as View61 } from "react-native";
6345
- import Svg30, { Circle as Circle16, Path as Path25 } from "react-native-svg";
6346
- import { jsx as jsx67, jsxs as jsxs61 } from "react/jsx-runtime";
5997
+ import * as React44 from "react";
5998
+ import { Pressable as Pressable27, StyleSheet as StyleSheet50, TextInput as TextInput7, View as View56 } from "react-native";
5999
+ import Svg26, { Circle as Circle12, Path as Path21 } from "react-native-svg";
6000
+ import { jsx as jsx62, jsxs as jsxs56 } from "react/jsx-runtime";
6347
6001
  function SearchField({ label, value, defaultValue = "", onValueChange, onSearch, debounce = 300, onSubmit, clearLabel, cancelLabel, onCancel, style, placeholder, onFocus, onBlur, ...props }) {
6348
- const [focused, setFocused] = React45.useState(false);
6349
- const input = React45.useRef(null);
6002
+ const [focused, setFocused] = React44.useState(false);
6003
+ const input = React44.useRef(null);
6350
6004
  const { theme, radius: radius3 } = useTheme();
6351
- const [own, setOwn] = React45.useState(defaultValue);
6005
+ const [own, setOwn] = React44.useState(defaultValue);
6352
6006
  const query = value ?? own;
6353
6007
  const search = useDebouncedCallback((next) => onSearch?.(next), debounce);
6354
6008
  const change = (next) => {
@@ -6357,12 +6011,12 @@ function SearchField({ label, value, defaultValue = "", onValueChange, onSearch,
6357
6011
  search.cancel();
6358
6012
  if (onSearch) search(next);
6359
6013
  };
6360
- const field = /* @__PURE__ */ jsxs61(View61, { style: [styles50.frame, { borderRadius: radius3.md, borderColor: theme.borderDefault, backgroundColor: theme.surface2 }, style], children: [
6361
- /* @__PURE__ */ jsxs61(Svg30, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: theme.textSecondary, strokeWidth: 2, strokeLinecap: "round", "aria-hidden": true, children: [
6362
- /* @__PURE__ */ jsx67(Circle16, { cx: 11, cy: 11, r: 7 }),
6363
- /* @__PURE__ */ jsx67(Path25, { d: "m20 20-3.5-3.5" })
6014
+ const field = /* @__PURE__ */ jsxs56(View56, { style: [styles50.frame, { borderRadius: radius3.md, borderColor: theme.borderDefault, backgroundColor: theme.surface2 }, style], children: [
6015
+ /* @__PURE__ */ jsxs56(Svg26, { width: 18, height: 18, viewBox: "0 0 24 24", fill: "none", stroke: theme.textSecondary, strokeWidth: 2, strokeLinecap: "round", "aria-hidden": true, children: [
6016
+ /* @__PURE__ */ jsx62(Circle12, { cx: 11, cy: 11, r: 7 }),
6017
+ /* @__PURE__ */ jsx62(Path21, { d: "m20 20-3.5-3.5" })
6364
6018
  ] }),
6365
- /* @__PURE__ */ jsx67(
6019
+ /* @__PURE__ */ jsx62(
6366
6020
  TextInput7,
6367
6021
  {
6368
6022
  ref: input,
@@ -6393,12 +6047,12 @@ function SearchField({ label, value, defaultValue = "", onValueChange, onSearch,
6393
6047
  ...props
6394
6048
  }
6395
6049
  ),
6396
- query ? /* @__PURE__ */ jsx67(Pressable27, { role: "button", "aria-label": clearLabel, hitSlop: 10, onPress: () => change(""), style: styles50.clear, children: /* @__PURE__ */ jsx67(Svg30, { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: theme.textSecondary, strokeWidth: 2.4, strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx67(Path25, { d: "M18 6 6 18M6 6l12 12" }) }) }) : null
6050
+ query ? /* @__PURE__ */ jsx62(Pressable27, { role: "button", "aria-label": clearLabel, hitSlop: 10, onPress: () => change(""), style: styles50.clear, children: /* @__PURE__ */ jsx62(Svg26, { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: theme.textSecondary, strokeWidth: 2.4, strokeLinecap: "round", "aria-hidden": true, children: /* @__PURE__ */ jsx62(Path21, { d: "M18 6 6 18M6 6l12 12" }) }) }) : null
6397
6051
  ] });
6398
6052
  if (!cancelLabel || !onCancel) return field;
6399
- return /* @__PURE__ */ jsxs61(View61, { style: styles50.bar, children: [
6400
- /* @__PURE__ */ jsx67(View61, { style: styles50.grow, children: field }),
6401
- focused || query ? /* @__PURE__ */ jsx67(
6053
+ return /* @__PURE__ */ jsxs56(View56, { style: styles50.bar, children: [
6054
+ /* @__PURE__ */ jsx62(View56, { style: styles50.grow, children: field }),
6055
+ focused || query ? /* @__PURE__ */ jsx62(
6402
6056
  Pressable27,
6403
6057
  {
6404
6058
  role: "button",
@@ -6409,7 +6063,7 @@ function SearchField({ label, value, defaultValue = "", onValueChange, onSearch,
6409
6063
  },
6410
6064
  hitSlop: 8,
6411
6065
  style: styles50.cancel,
6412
- children: /* @__PURE__ */ jsx67(Txt, { variant: "label", tone: "accent", children: cancelLabel })
6066
+ children: /* @__PURE__ */ jsx62(Txt, { variant: "label", tone: "accent", children: cancelLabel })
6413
6067
  }
6414
6068
  ) : null
6415
6069
  ] });
@@ -6424,19 +6078,19 @@ var styles50 = StyleSheet50.create({
6424
6078
  });
6425
6079
 
6426
6080
  // src/native/segmented.tsx
6427
- import { Pressable as Pressable28, StyleSheet as StyleSheet51, Text as Text18, View as View62 } from "react-native";
6428
- import { jsx as jsx68 } from "react/jsx-runtime";
6081
+ import { Pressable as Pressable28, StyleSheet as StyleSheet51, Text as Text18, View as View57 } from "react-native";
6082
+ import { jsx as jsx63 } from "react/jsx-runtime";
6429
6083
  function Segmented({ options, value, onValueChange, size = "md", "aria-label": label, style }) {
6430
6084
  const { theme, radius: radius3 } = useTheme();
6431
- return /* @__PURE__ */ jsx68(
6432
- View62,
6085
+ return /* @__PURE__ */ jsx63(
6086
+ View57,
6433
6087
  {
6434
6088
  role: "tablist",
6435
6089
  "aria-label": label,
6436
6090
  style: [styles51.track, { backgroundColor: theme.surface2, borderColor: theme.borderSubtle, borderRadius: radius3.md, height: size === "sm" ? 32 : 40 }, style],
6437
6091
  children: options.map((option) => {
6438
6092
  const selected = option.value === value;
6439
- return /* @__PURE__ */ jsx68(
6093
+ return /* @__PURE__ */ jsx63(
6440
6094
  Pressable28,
6441
6095
  {
6442
6096
  role: "tab",
@@ -6452,7 +6106,7 @@ function Segmented({ options, value, onValueChange, size = "md", "aria-label": l
6452
6106
  selected ? { backgroundColor: theme.surface0, borderColor: theme.borderDefault } : null,
6453
6107
  option.disabled ? styles51.disabled : null
6454
6108
  ],
6455
- children: /* @__PURE__ */ jsx68(Text18, { numberOfLines: 1, style: [styles51.label, { color: selected ? theme.textPrimary : theme.textSecondary, fontSize: size === "sm" ? 12 : 13 }], children: option.label })
6109
+ children: /* @__PURE__ */ jsx63(Text18, { numberOfLines: 1, style: [styles51.label, { color: selected ? theme.textPrimary : theme.textSecondary, fontSize: size === "sm" ? 12 : 13 }], children: option.label })
6456
6110
  },
6457
6111
  option.value
6458
6112
  );
@@ -6468,24 +6122,24 @@ var styles51 = StyleSheet51.create({
6468
6122
  });
6469
6123
 
6470
6124
  // src/native/settings-layout.tsx
6471
- import * as React46 from "react";
6472
- import { Pressable as Pressable29, StyleSheet as StyleSheet52, View as View63 } from "react-native";
6473
- import Svg31, { Path as Path26 } from "react-native-svg";
6474
- import { Fragment as Fragment11, jsx as jsx69, jsxs as jsxs62 } from "react/jsx-runtime";
6125
+ import * as React45 from "react";
6126
+ import { Pressable as Pressable29, StyleSheet as StyleSheet52, View as View58 } from "react-native";
6127
+ import Svg27, { Path as Path22 } from "react-native-svg";
6128
+ import { Fragment as Fragment11, jsx as jsx64, jsxs as jsxs57 } from "react/jsx-runtime";
6475
6129
  function SettingsRow({ label, description, icon, value, trailing, onPress, destructive, accessibilityLabel, disabled }) {
6476
6130
  const { theme } = useTheme();
6477
- const body = /* @__PURE__ */ jsxs62(Fragment11, { children: [
6478
- icon ? /* @__PURE__ */ jsx69(View63, { style: [styles52.tile, { backgroundColor: theme.surface3 }], children: icon }) : null,
6479
- /* @__PURE__ */ jsxs62(View63, { style: styles52.text, children: [
6480
- /* @__PURE__ */ jsx69(Txt, { variant: "body", tone: destructive ? "danger" : "text", children: label }),
6481
- description ? /* @__PURE__ */ jsx69(Txt, { variant: "caption", tone: "secondary", children: description }) : null
6131
+ const body = /* @__PURE__ */ jsxs57(Fragment11, { children: [
6132
+ icon ? /* @__PURE__ */ jsx64(View58, { style: [styles52.tile, { backgroundColor: theme.surface3 }], children: icon }) : null,
6133
+ /* @__PURE__ */ jsxs57(View58, { style: styles52.text, children: [
6134
+ /* @__PURE__ */ jsx64(Txt, { variant: "body", tone: destructive ? "danger" : "text", children: label }),
6135
+ description ? /* @__PURE__ */ jsx64(Txt, { variant: "caption", tone: "secondary", children: description }) : null
6482
6136
  ] }),
6483
- value ? /* @__PURE__ */ jsx69(Txt, { variant: "caption", tone: "secondary", numberOfLines: 1, style: styles52.value, children: value }) : null,
6137
+ value ? /* @__PURE__ */ jsx64(Txt, { variant: "caption", tone: "secondary", numberOfLines: 1, style: styles52.value, children: value }) : null,
6484
6138
  trailing,
6485
- onPress && !trailing ? /* @__PURE__ */ jsx69(Svg31, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx69(Path26, { d: "m9 6 6 6-6 6", fill: "none", stroke: theme.textMuted, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" }) }) : null
6139
+ onPress && !trailing ? /* @__PURE__ */ jsx64(Svg27, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx64(Path22, { d: "m9 6 6 6-6 6", fill: "none", stroke: theme.textMuted, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" }) }) : null
6486
6140
  ] });
6487
6141
  if (onPress && !trailing) {
6488
- return /* @__PURE__ */ jsx69(
6142
+ return /* @__PURE__ */ jsx64(
6489
6143
  Pressable29,
6490
6144
  {
6491
6145
  role: "button",
@@ -6498,15 +6152,15 @@ function SettingsRow({ label, description, icon, value, trailing, onPress, destr
6498
6152
  }
6499
6153
  );
6500
6154
  }
6501
- return /* @__PURE__ */ jsx69(View63, { accessible: !trailing, accessibilityLabel: trailing ? void 0 : accessibilityLabel, style: [styles52.row, disabled ? styles52.disabled : null], children: body });
6155
+ return /* @__PURE__ */ jsx64(View58, { accessible: !trailing, accessibilityLabel: trailing ? void 0 : accessibilityLabel, style: [styles52.row, disabled ? styles52.disabled : null], children: body });
6502
6156
  }
6503
6157
  function SettingsGroup({ title, children, style, ...props }) {
6504
6158
  const { theme } = useTheme();
6505
- const rows = React46.Children.toArray(children).filter(Boolean);
6506
- return /* @__PURE__ */ jsxs62(View63, { ...props, style: [styles52.group, style], children: [
6507
- title ? /* @__PURE__ */ jsx69(Txt, { variant: "caption", tone: "muted", role: "heading", style: styles52.title, children: title }) : null,
6508
- /* @__PURE__ */ jsx69(View63, { style: [styles52.card, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle }], children: rows.map((row, i) => /* @__PURE__ */ jsxs62(React46.Fragment, { children: [
6509
- i > 0 ? /* @__PURE__ */ jsx69(View63, { style: [styles52.hairline, { backgroundColor: theme.borderSubtle }] }) : null,
6159
+ const rows = React45.Children.toArray(children).filter(Boolean);
6160
+ return /* @__PURE__ */ jsxs57(View58, { ...props, style: [styles52.group, style], children: [
6161
+ title ? /* @__PURE__ */ jsx64(Txt, { variant: "caption", tone: "muted", role: "heading", style: styles52.title, children: title }) : null,
6162
+ /* @__PURE__ */ jsx64(View58, { style: [styles52.card, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle }], children: rows.map((row, i) => /* @__PURE__ */ jsxs57(React45.Fragment, { children: [
6163
+ i > 0 ? /* @__PURE__ */ jsx64(View58, { style: [styles52.hairline, { backgroundColor: theme.borderSubtle }] }) : null,
6510
6164
  row
6511
6165
  ] }, i)) })
6512
6166
  ] });
@@ -6524,10 +6178,10 @@ var styles52 = StyleSheet52.create({
6524
6178
  });
6525
6179
 
6526
6180
  // src/native/showcase.tsx
6527
- import * as React47 from "react";
6528
- import { Animated as Animated22, AppState, Easing as Easing12, FlatList, Pressable as Pressable30, StyleSheet as StyleSheet53, View as View64 } from "react-native";
6529
- import Svg32, { Path as Path27 } from "react-native-svg";
6530
- import { jsx as jsx70, jsxs as jsxs63 } from "react/jsx-runtime";
6181
+ import * as React46 from "react";
6182
+ import { Animated as Animated21, AppState, Easing as Easing11, FlatList, Pressable as Pressable30, StyleSheet as StyleSheet53, View as View59 } from "react-native";
6183
+ import Svg28, { Path as Path23 } from "react-native-svg";
6184
+ import { jsx as jsx65, jsxs as jsxs58 } from "react/jsx-runtime";
6531
6185
  var showcaseLabels = {
6532
6186
  previous: "Previous slide",
6533
6187
  next: "Next slide",
@@ -6541,16 +6195,16 @@ function Showcase({ label, items: items2, getId, renderItem, getTitle, interval
6541
6195
  const { theme } = useTheme();
6542
6196
  const reduced = useReducedMotion();
6543
6197
  const total = items2.length;
6544
- const [current, setCurrent] = React47.useState(0);
6545
- const [width, setWidth] = React47.useState(0);
6546
- const [paused, setPaused] = React47.useState(false);
6547
- const [dragging, setDragging] = React47.useState(false);
6548
- const [background, setBackground] = React47.useState(false);
6549
- const [announce, setAnnounce] = React47.useState(false);
6550
- const list = React47.useRef(null);
6551
- const [fill] = React47.useState(() => new Animated22.Value(0));
6552
- const progress = React47.useRef(0);
6553
- React47.useEffect(() => {
6198
+ const [current, setCurrent] = React46.useState(0);
6199
+ const [width, setWidth] = React46.useState(0);
6200
+ const [paused, setPaused] = React46.useState(false);
6201
+ const [dragging, setDragging] = React46.useState(false);
6202
+ const [background, setBackground] = React46.useState(false);
6203
+ const [announce, setAnnounce] = React46.useState(false);
6204
+ const list = React46.useRef(null);
6205
+ const [fill] = React46.useState(() => new Animated21.Value(0));
6206
+ const progress = React46.useRef(0);
6207
+ React46.useEffect(() => {
6554
6208
  const id = fill.addListener(({ value }) => {
6555
6209
  progress.current = value;
6556
6210
  });
@@ -6571,13 +6225,13 @@ function Showcase({ label, items: items2, getId, renderItem, getTitle, interval
6571
6225
  };
6572
6226
  const playing = autoplay && !reduced && total > 1;
6573
6227
  const running = playing && !paused && !dragging && !background && !(!loop && current === total - 1);
6574
- React47.useEffect(() => {
6228
+ React46.useEffect(() => {
6575
6229
  fill.setValue(0);
6576
6230
  progress.current = 0;
6577
6231
  }, [current, fill]);
6578
- React47.useEffect(() => {
6232
+ React46.useEffect(() => {
6579
6233
  if (!running) return;
6580
- const animation = Animated22.timing(fill, { toValue: 1, duration: Math.max(1, interval * (1 - progress.current)), easing: Easing12.linear, useNativeDriver: false });
6234
+ const animation = Animated21.timing(fill, { toValue: 1, duration: Math.max(1, interval * (1 - progress.current)), easing: Easing11.linear, useNativeDriver: false });
6581
6235
  animation.start(({ finished }) => {
6582
6236
  if (finished) go(current + 1, false);
6583
6237
  });
@@ -6586,9 +6240,9 @@ function Showcase({ label, items: items2, getId, renderItem, getTitle, interval
6586
6240
  const item = items2[current];
6587
6241
  const title = item !== void 0 ? getTitle?.(item) : void 0;
6588
6242
  const control = [styles53.control, { borderColor: theme.borderDefault, backgroundColor: theme.surface1 }];
6589
- const icon = (d) => /* @__PURE__ */ jsx70(Svg32, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx70(Path27, { d, stroke: theme.textSecondary, strokeWidth: 2.2, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) });
6590
- return /* @__PURE__ */ jsxs63(View64, { role: "group", "aria-label": label, style: [styles53.root, style], children: [
6591
- /* @__PURE__ */ jsx70(View64, { "aria-live": announce ? "polite" : "off", onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: /* @__PURE__ */ jsx70(
6243
+ const icon = (d) => /* @__PURE__ */ jsx65(Svg28, { width: 16, height: 16, viewBox: "0 0 24 24", "aria-hidden": true, children: /* @__PURE__ */ jsx65(Path23, { d, stroke: theme.textSecondary, strokeWidth: 2.2, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) });
6244
+ return /* @__PURE__ */ jsxs58(View59, { role: "group", "aria-label": label, style: [styles53.root, style], children: [
6245
+ /* @__PURE__ */ jsx65(View59, { "aria-live": announce ? "polite" : "off", onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: /* @__PURE__ */ jsx65(
6592
6246
  FlatList,
6593
6247
  {
6594
6248
  ref: list,
@@ -6609,21 +6263,21 @@ function Showcase({ label, items: items2, getId, renderItem, getTitle, interval
6609
6263
  onIndexChange?.(next, true);
6610
6264
  }
6611
6265
  },
6612
- renderItem: ({ item: slide, index }) => /* @__PURE__ */ jsx70(View64, { role: "group", "aria-label": labels.slide(index + 1, total), style: { width }, children: Math.abs(index - current) <= 1 ? renderItem(slide, { index, active: index === current }) : null })
6266
+ renderItem: ({ item: slide, index }) => /* @__PURE__ */ jsx65(View59, { role: "group", "aria-label": labels.slide(index + 1, total), style: { width }, children: Math.abs(index - current) <= 1 ? renderItem(slide, { index, active: index === current }) : null })
6613
6267
  }
6614
6268
  ) }),
6615
- /* @__PURE__ */ jsx70(View64, { style: styles53.segments, children: items2.map((slide, i) => /* @__PURE__ */ jsx70(Pressable30, { role: "button", "aria-label": labels.goTo(i + 1, total), "aria-current": i === current ? true : void 0, onPress: () => go(i, true), style: styles53.segment, children: /* @__PURE__ */ jsxs63(View64, { style: [styles53.track, { backgroundColor: theme.surface3 }], children: [
6616
- i < current || i === current && !playing ? /* @__PURE__ */ jsx70(View64, { style: [StyleSheet53.absoluteFill, { backgroundColor: theme.accent }] }) : null,
6617
- i === current && playing ? /* @__PURE__ */ jsx70(Animated22.View, { style: [styles53.fill, { backgroundColor: theme.accent, width: fill.interpolate({ inputRange: [0, 1], outputRange: ["0%", "100%"] }) }] }) : null
6269
+ /* @__PURE__ */ jsx65(View59, { style: styles53.segments, children: items2.map((slide, i) => /* @__PURE__ */ jsx65(Pressable30, { role: "button", "aria-label": labels.goTo(i + 1, total), "aria-current": i === current ? true : void 0, onPress: () => go(i, true), style: styles53.segment, children: /* @__PURE__ */ jsxs58(View59, { style: [styles53.track, { backgroundColor: theme.surface3 }], children: [
6270
+ i < current || i === current && !playing ? /* @__PURE__ */ jsx65(View59, { style: [StyleSheet53.absoluteFill, { backgroundColor: theme.accent }] }) : null,
6271
+ i === current && playing ? /* @__PURE__ */ jsx65(Animated21.View, { style: [styles53.fill, { backgroundColor: theme.accent, width: fill.interpolate({ inputRange: [0, 1], outputRange: ["0%", "100%"] }) }] }) : null
6618
6272
  ] }) }, getId(slide))) }),
6619
- /* @__PURE__ */ jsxs63(View64, { style: styles53.bar, children: [
6620
- /* @__PURE__ */ jsxs63(Txt, { variant: "caption", tone: "secondary", numberOfLines: 1, style: styles53.counter, children: [
6273
+ /* @__PURE__ */ jsxs58(View59, { style: styles53.bar, children: [
6274
+ /* @__PURE__ */ jsxs58(Txt, { variant: "caption", tone: "secondary", numberOfLines: 1, style: styles53.counter, children: [
6621
6275
  title ? `${title} \xB7 ` : "",
6622
6276
  labels.counter(current + 1, total)
6623
6277
  ] }),
6624
- /* @__PURE__ */ jsx70(Pressable30, { 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") }),
6625
- playing ? /* @__PURE__ */ jsx70(Pressable30, { 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,
6626
- /* @__PURE__ */ jsx70(Pressable30, { 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") })
6278
+ /* @__PURE__ */ jsx65(Pressable30, { 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") }),
6279
+ playing ? /* @__PURE__ */ jsx65(Pressable30, { 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,
6280
+ /* @__PURE__ */ jsx65(Pressable30, { 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") })
6627
6281
  ] })
6628
6282
  ] });
6629
6283
  }
@@ -6639,9 +6293,9 @@ var styles53 = StyleSheet53.create({
6639
6293
  });
6640
6294
 
6641
6295
  // src/native/skeleton.tsx
6642
- import * as React48 from "react";
6643
- import { Animated as Animated23 } from "react-native";
6644
- import { jsx as jsx71 } from "react/jsx-runtime";
6296
+ import * as React47 from "react";
6297
+ import { Animated as Animated22 } from "react-native";
6298
+ import { jsx as jsx66 } from "react/jsx-runtime";
6645
6299
  var SHAPE = {
6646
6300
  text: { width: "100%", height: 12, radius: 4 },
6647
6301
  circle: { width: 40, height: 40, radius: 9999 },
@@ -6650,13 +6304,13 @@ var SHAPE = {
6650
6304
  function Skeleton({ shape = "text", width, height, style, testID }) {
6651
6305
  const { theme } = useTheme();
6652
6306
  const reduce = useReducedMotion();
6653
- const [opacity] = React48.useState(() => new Animated23.Value(1));
6654
- React48.useEffect(() => {
6307
+ const [opacity] = React47.useState(() => new Animated22.Value(1));
6308
+ React47.useEffect(() => {
6655
6309
  if (reduce) return;
6656
- const loop = Animated23.loop(
6657
- Animated23.sequence([
6658
- Animated23.timing(opacity, { toValue: 0.5, duration: 900, useNativeDriver: true }),
6659
- Animated23.timing(opacity, { toValue: 1, duration: 900, useNativeDriver: true })
6310
+ const loop = Animated22.loop(
6311
+ Animated22.sequence([
6312
+ Animated22.timing(opacity, { toValue: 0.5, duration: 900, useNativeDriver: true }),
6313
+ Animated22.timing(opacity, { toValue: 1, duration: 900, useNativeDriver: true })
6660
6314
  ])
6661
6315
  );
6662
6316
  loop.start();
@@ -6667,8 +6321,8 @@ function Skeleton({ shape = "text", width, height, style, testID }) {
6667
6321
  }, [reduce, opacity]);
6668
6322
  const s = SHAPE[shape];
6669
6323
  const side = shape === "circle" ? width ?? height ?? s.width : void 0;
6670
- return /* @__PURE__ */ jsx71(
6671
- Animated23.View,
6324
+ return /* @__PURE__ */ jsx66(
6325
+ Animated22.View,
6672
6326
  {
6673
6327
  testID,
6674
6328
  "aria-hidden": true,
@@ -6681,10 +6335,10 @@ function Skeleton({ shape = "text", width, height, style, testID }) {
6681
6335
  }
6682
6336
 
6683
6337
  // src/native/slider.tsx
6684
- import * as React49 from "react";
6685
- import { PanResponder as PanResponder2, StyleSheet as StyleSheet54, Text as Text19, View as View65 } from "react-native";
6686
- import Svg33, { Defs as Defs15, LinearGradient as LinearGradient12, Rect as Rect6, Stop as Stop15 } from "react-native-svg";
6687
- import { jsx as jsx72, jsxs as jsxs64 } from "react/jsx-runtime";
6338
+ import * as React48 from "react";
6339
+ import { PanResponder as PanResponder2, StyleSheet as StyleSheet54, Text as Text19, View as View60 } from "react-native";
6340
+ import Svg29, { Defs as Defs11, LinearGradient as LinearGradient10, Rect as Rect6, Stop as Stop11 } from "react-native-svg";
6341
+ import { jsx as jsx67, jsxs as jsxs59 } from "react/jsx-runtime";
6688
6342
  var THUMB = 26;
6689
6343
  var toArray = (v) => v === void 0 ? void 0 : typeof v === "number" ? [v] : [...v];
6690
6344
  function Slider({
@@ -6710,20 +6364,20 @@ function Slider({
6710
6364
  const { theme, radius: radius3, haptic } = useTheme();
6711
6365
  const range = Array.isArray(value ?? defaultValue);
6712
6366
  const vertical = orientation === "vertical";
6713
- const [inner, setInner] = React49.useState(() => toArray(defaultValue) ?? [min]);
6367
+ const [inner, setInner] = React48.useState(() => toArray(defaultValue) ?? [min]);
6714
6368
  const current = toArray(value) ?? inner;
6715
- const [length, setLength] = React49.useState(0);
6716
- const [dragging, setDragging] = React49.useState(null);
6369
+ const [length, setLength] = React48.useState(0);
6370
+ const [dragging, setDragging] = React48.useState(null);
6717
6371
  const gradientId = useSvgId("kzs");
6718
6372
  const out = (next) => range ? [next[0], next[1]] : next[0];
6719
6373
  const snap = (v) => Math.min(max, Math.max(min, Math.round((v - min) / step) * step + min));
6720
6374
  const pct = (v) => (v - min) / (max - min || 1);
6721
- const live = React49.useRef({ current, length, vertical, disabled });
6722
- React49.useLayoutEffect(() => {
6375
+ const live = React48.useRef({ current, length, vertical, disabled });
6376
+ React48.useLayoutEffect(() => {
6723
6377
  live.current = { current, length, vertical, disabled };
6724
6378
  });
6725
- const active = React49.useRef(0);
6726
- const start = React49.useRef(0);
6379
+ const active = React48.useRef(0);
6380
+ const start = React48.useRef(0);
6727
6381
  const set = (next) => {
6728
6382
  if (value === void 0) setInner(next);
6729
6383
  onValueChange?.(out(next));
@@ -6744,11 +6398,11 @@ function Slider({
6744
6398
  return min + p * (max - min);
6745
6399
  };
6746
6400
  const commit = () => onValueCommit?.(out(live.current.current));
6747
- const handlers = React49.useRef({ move: move2, at, commit });
6748
- React49.useLayoutEffect(() => {
6401
+ const handlers = React48.useRef({ move: move2, at, commit });
6402
+ React48.useLayoutEffect(() => {
6749
6403
  handlers.current = { move: move2, at, commit };
6750
6404
  });
6751
- const [responder] = React49.useState(
6405
+ const [responder] = React48.useState(
6752
6406
  () => PanResponder2.create({
6753
6407
  onStartShouldSetPanResponder: () => !live.current.disabled,
6754
6408
  onMoveShouldSetPanResponder: () => !live.current.disabled,
@@ -6776,24 +6430,24 @@ function Slider({
6776
6430
  const along = (p) => vertical ? { bottom: p * length } : { left: p * length };
6777
6431
  const onLayout = (e) => setLength(vertical ? e.nativeEvent.layout.height : e.nativeEvent.layout.width);
6778
6432
  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 };
6779
- return /* @__PURE__ */ jsxs64(View65, { style: [styles54.root, vertical ? styles54.rootVertical : null, disabled ? styles54.disabled : null, style], children: [
6780
- showLabel ? /* @__PURE__ */ jsxs64(View65, { style: styles54.header, children: [
6781
- /* @__PURE__ */ jsx72(Text19, { style: [styles54.label, { color: theme.textSecondary }], children: label }),
6782
- /* @__PURE__ */ jsx72(Text19, { "aria-hidden": true, style: [styles54.value, { color: theme.textSecondary }], children: current.map(formatValue).join(" \u2013 ") })
6433
+ return /* @__PURE__ */ jsxs59(View60, { style: [styles54.root, vertical ? styles54.rootVertical : null, disabled ? styles54.disabled : null, style], children: [
6434
+ showLabel ? /* @__PURE__ */ jsxs59(View60, { style: styles54.header, children: [
6435
+ /* @__PURE__ */ jsx67(Text19, { style: [styles54.label, { color: theme.textSecondary }], children: label }),
6436
+ /* @__PURE__ */ jsx67(Text19, { "aria-hidden": true, style: [styles54.value, { color: theme.textSecondary }], children: current.map(formatValue).join(" \u2013 ") })
6783
6437
  ] }) : null,
6784
- /* @__PURE__ */ jsxs64(View65, { ...responder.panHandlers, style: vertical ? styles54.controlVertical : styles54.control, children: [
6785
- /* @__PURE__ */ jsxs64(View65, { onLayout, pointerEvents: "none", style: [vertical ? styles54.trackVertical : styles54.track, { borderRadius: radius3.full, backgroundColor: theme.surface3 }], children: [
6786
- /* @__PURE__ */ jsx72(View65, { style: [styles54.fill, fill, { borderRadius: radius3.full, overflow: "hidden", backgroundColor: theme.accent }], children: tone3 === "gradient" ? /* @__PURE__ */ jsxs64(Svg33, { width: "100%", height: "100%", "aria-hidden": true, children: [
6787
- /* @__PURE__ */ jsx72(Defs15, { children: /* @__PURE__ */ jsxs64(LinearGradient12, { id: gradientId, x1: "0", y1: vertical ? "1" : "0", x2: vertical ? "0" : "1", y2: "0", children: [
6788
- /* @__PURE__ */ jsx72(Stop15, { offset: "0", stopColor: theme.accent }),
6789
- /* @__PURE__ */ jsx72(Stop15, { offset: "1", stopColor: theme.accent2 })
6438
+ /* @__PURE__ */ jsxs59(View60, { ...responder.panHandlers, style: vertical ? styles54.controlVertical : styles54.control, children: [
6439
+ /* @__PURE__ */ jsxs59(View60, { onLayout, pointerEvents: "none", style: [vertical ? styles54.trackVertical : styles54.track, { borderRadius: radius3.full, backgroundColor: theme.surface3 }], children: [
6440
+ /* @__PURE__ */ jsx67(View60, { style: [styles54.fill, fill, { borderRadius: radius3.full, overflow: "hidden", backgroundColor: theme.accent }], children: tone3 === "gradient" ? /* @__PURE__ */ jsxs59(Svg29, { width: "100%", height: "100%", "aria-hidden": true, children: [
6441
+ /* @__PURE__ */ jsx67(Defs11, { children: /* @__PURE__ */ jsxs59(LinearGradient10, { id: gradientId, x1: "0", y1: vertical ? "1" : "0", x2: vertical ? "0" : "1", y2: "0", children: [
6442
+ /* @__PURE__ */ jsx67(Stop11, { offset: "0", stopColor: theme.accent }),
6443
+ /* @__PURE__ */ jsx67(Stop11, { offset: "1", stopColor: theme.accent2 })
6790
6444
  ] }) }),
6791
- /* @__PURE__ */ jsx72(Rect6, { width: "100%", height: "100%", fill: `url(#${gradientId})` })
6445
+ /* @__PURE__ */ jsx67(Rect6, { width: "100%", height: "100%", fill: `url(#${gradientId})` })
6792
6446
  ] }) : null }),
6793
- tickValues.map((t) => /* @__PURE__ */ jsx72(View65, { style: [vertical ? styles54.tickVertical : styles54.tick, along(pct(t)), { backgroundColor: t > lo && t < hi ? theme.onAccent : theme.borderStrong }] }, t))
6447
+ tickValues.map((t) => /* @__PURE__ */ jsx67(View60, { style: [vertical ? styles54.tickVertical : styles54.tick, along(pct(t)), { backgroundColor: t > lo && t < hi ? theme.onAccent : theme.borderStrong }] }, t))
6794
6448
  ] }),
6795
- current.map((v, i) => /* @__PURE__ */ jsx72(
6796
- View65,
6449
+ current.map((v, i) => /* @__PURE__ */ jsx67(
6450
+ View60,
6797
6451
  {
6798
6452
  accessible: true,
6799
6453
  role: "slider",
@@ -6813,12 +6467,12 @@ function Slider({
6813
6467
  },
6814
6468
  pointerEvents: "none",
6815
6469
  style: [styles54.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 }],
6816
- children: floatingValue === "always" || floatingValue && dragging === i ? /* @__PURE__ */ jsx72(View65, { "aria-hidden": true, style: [vertical ? styles54.bubbleVertical : styles54.bubble, { backgroundColor: theme.textPrimary, borderRadius: radius3.md }], children: /* @__PURE__ */ jsx72(Text19, { style: [styles54.bubbleText, { color: theme.surface0 }], children: formatValue(v) }) }) : null
6470
+ children: floatingValue === "always" || floatingValue && dragging === i ? /* @__PURE__ */ jsx67(View60, { "aria-hidden": true, style: [vertical ? styles54.bubbleVertical : styles54.bubble, { backgroundColor: theme.textPrimary, borderRadius: radius3.md }], children: /* @__PURE__ */ jsx67(Text19, { style: [styles54.bubbleText, { color: theme.surface0 }], children: formatValue(v) }) }) : null
6817
6471
  },
6818
6472
  i
6819
6473
  ))
6820
6474
  ] }),
6821
- marks2?.length && !vertical ? /* @__PURE__ */ jsx72(View65, { "aria-hidden": true, style: styles54.marks, children: marks2.map((m) => /* @__PURE__ */ jsx72(Text19, { style: [styles54.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
6475
+ marks2?.length && !vertical ? /* @__PURE__ */ jsx67(View60, { "aria-hidden": true, style: styles54.marks, children: marks2.map((m) => /* @__PURE__ */ jsx67(Text19, { style: [styles54.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
6822
6476
  ] });
6823
6477
  }
6824
6478
  var styles54 = StyleSheet54.create({
@@ -6857,10 +6511,10 @@ var styles54 = StyleSheet54.create({
6857
6511
 
6858
6512
  // src/native/spinner.tsx
6859
6513
  import { ActivityIndicator as ActivityIndicator2 } from "react-native";
6860
- import { jsx as jsx73 } from "react/jsx-runtime";
6514
+ import { jsx as jsx68 } from "react/jsx-runtime";
6861
6515
  function Spinner({ label, size = "md", ...props }) {
6862
6516
  const { theme } = useTheme();
6863
- return /* @__PURE__ */ jsx73(
6517
+ return /* @__PURE__ */ jsx68(
6864
6518
  ActivityIndicator2,
6865
6519
  {
6866
6520
  accessible: true,
@@ -6875,17 +6529,17 @@ function Spinner({ label, size = "md", ...props }) {
6875
6529
  }
6876
6530
 
6877
6531
  // src/native/splash-handoff.tsx
6878
- import * as React50 from "react";
6879
- import { Animated as Animated24, Easing as Easing13, StyleSheet as StyleSheet55, View as View66 } from "react-native";
6880
- import { jsx as jsx74 } from "react/jsx-runtime";
6532
+ import * as React49 from "react";
6533
+ import { Animated as Animated23, Easing as Easing12, StyleSheet as StyleSheet55, View as View61 } from "react-native";
6534
+ import { jsx as jsx69 } from "react/jsx-runtime";
6881
6535
  function SplashHandoff({ product, ready, onShown, onDone, size = 96, background, label, duration = 320, style }) {
6882
6536
  const { theme } = useTheme();
6883
6537
  const reduce = useReducedMotion();
6884
- const [opacity] = React50.useState(() => new Animated24.Value(1));
6885
- const [gone, setGone] = React50.useState(false);
6886
- React50.useEffect(() => {
6538
+ const [opacity] = React49.useState(() => new Animated23.Value(1));
6539
+ const [gone, setGone] = React49.useState(false);
6540
+ React49.useEffect(() => {
6887
6541
  if (!ready) return;
6888
- const animation = Animated24.timing(opacity, { toValue: 0, duration: reduce ? 0 : duration, easing: Easing13.out(Easing13.ease), useNativeDriver: true });
6542
+ const animation = Animated23.timing(opacity, { toValue: 0, duration: reduce ? 0 : duration, easing: Easing12.out(Easing12.ease), useNativeDriver: true });
6889
6543
  animation.start(({ finished }) => {
6890
6544
  if (finished) {
6891
6545
  setGone(true);
@@ -6895,8 +6549,8 @@ function SplashHandoff({ product, ready, onShown, onDone, size = 96, background,
6895
6549
  return () => animation.stop();
6896
6550
  }, [ready, reduce, duration, opacity, onDone]);
6897
6551
  if (gone) return null;
6898
- return /* @__PURE__ */ jsx74(
6899
- Animated24.View,
6552
+ return /* @__PURE__ */ jsx69(
6553
+ Animated23.View,
6900
6554
  {
6901
6555
  accessible: true,
6902
6556
  role: "progressbar",
@@ -6905,16 +6559,16 @@ function SplashHandoff({ product, ready, onShown, onDone, size = 96, background,
6905
6559
  pointerEvents: ready ? "none" : "auto",
6906
6560
  onLayout: onShown,
6907
6561
  style: [StyleSheet55.absoluteFill, styles55.root, { backgroundColor: background ?? theme.surface0, opacity }, style],
6908
- children: /* @__PURE__ */ jsx74(View66, { children: /* @__PURE__ */ jsx74(ProductMark, { id: product, size, animated: true }) })
6562
+ children: /* @__PURE__ */ jsx69(View61, { children: /* @__PURE__ */ jsx69(ProductMark, { id: product, size, animated: true }) })
6909
6563
  }
6910
6564
  );
6911
6565
  }
6912
6566
  var styles55 = StyleSheet55.create({ root: { alignItems: "center", justifyContent: "center", zIndex: 100 } });
6913
6567
 
6914
6568
  // src/native/state-screen.tsx
6915
- import { StyleSheet as StyleSheet56, View as View67 } from "react-native";
6916
- import Svg34, { Path as Path28 } from "react-native-svg";
6917
- import { Fragment as Fragment12, jsx as jsx75, jsxs as jsxs65 } from "react/jsx-runtime";
6569
+ import { StyleSheet as StyleSheet56, View as View62 } from "react-native";
6570
+ import Svg30, { Path as Path24 } from "react-native-svg";
6571
+ import { Fragment as Fragment12, jsx as jsx70, jsxs as jsxs60 } from "react/jsx-runtime";
6918
6572
  var PATHS = {
6919
6573
  empty: ["M4 13l2-7h12l2 7", "M4 13v5h16v-5", "M4 13h5l1 2h4l1-2h5"],
6920
6574
  error: ["M12 4 3 20h18L12 4z", "M12 10v4", "M12 17h.01"],
@@ -6922,28 +6576,28 @@ var PATHS = {
6922
6576
  };
6923
6577
  function KindIcon({ kind }) {
6924
6578
  const { theme } = useTheme();
6925
- return /* @__PURE__ */ jsx75(Svg34, { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", stroke: kind === "error" ? theme.dangerText : theme.textSecondary, strokeWidth: 1.8, strokeLinecap: "round", strokeLinejoin: "round", children: PATHS[kind].map((d) => /* @__PURE__ */ jsx75(Path28, { d }, d)) });
6579
+ return /* @__PURE__ */ jsx70(Svg30, { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", stroke: kind === "error" ? theme.dangerText : theme.textSecondary, strokeWidth: 1.8, strokeLinecap: "round", strokeLinejoin: "round", children: PATHS[kind].map((d) => /* @__PURE__ */ jsx70(Path24, { d }, d)) });
6926
6580
  }
6927
6581
  function StateScreen({ kind, title, description, action, secondary, icon, inline, testID, style }) {
6928
- const body = /* @__PURE__ */ jsx75(
6582
+ const body = /* @__PURE__ */ jsx70(
6929
6583
  EmptyState,
6930
6584
  {
6931
- icon: icon ?? /* @__PURE__ */ jsx75(KindIcon, { kind }),
6585
+ icon: icon ?? /* @__PURE__ */ jsx70(KindIcon, { kind }),
6932
6586
  title,
6933
6587
  description,
6934
- action: action || secondary ? /* @__PURE__ */ jsxs65(Fragment12, { children: [
6935
- action ? /* @__PURE__ */ jsx75(Button, { label: action.label, variant: "primary", onPress: action.onPress }) : null,
6936
- secondary ? /* @__PURE__ */ jsx75(Button, { label: secondary.label, variant: "ghost", onPress: secondary.onPress }) : null
6588
+ action: action || secondary ? /* @__PURE__ */ jsxs60(Fragment12, { children: [
6589
+ action ? /* @__PURE__ */ jsx70(Button, { label: action.label, variant: "primary", onPress: action.onPress }) : null,
6590
+ secondary ? /* @__PURE__ */ jsx70(Button, { label: secondary.label, variant: "ghost", onPress: secondary.onPress }) : null
6937
6591
  ] }) : void 0
6938
6592
  }
6939
6593
  );
6940
- return /* @__PURE__ */ jsx75(View67, { testID, role: kind === "error" ? "alert" : kind === "offline" ? "status" : void 0, "data-state": kind, style: [inline ? styles56.inline : styles56.fill, style], children: body });
6594
+ return /* @__PURE__ */ jsx70(View62, { testID, role: kind === "error" ? "alert" : kind === "offline" ? "status" : void 0, "data-state": kind, style: [inline ? styles56.inline : styles56.fill, style], children: body });
6941
6595
  }
6942
6596
  function OfflineBanner({ label, actionLabel, onAction, testID }) {
6943
6597
  const { theme, insets } = useTheme();
6944
- return /* @__PURE__ */ jsxs65(View67, { testID, role: "status", style: [styles56.banner, { backgroundColor: theme.warningSoft, paddingTop: 8 + insets.top }], children: [
6945
- /* @__PURE__ */ jsx75(Txt, { variant: "caption", style: styles56.bannerText, children: label }),
6946
- actionLabel && onAction ? /* @__PURE__ */ jsx75(Button, { label: actionLabel, size: "sm", variant: "ghost", onPress: onAction }) : null
6598
+ return /* @__PURE__ */ jsxs60(View62, { testID, role: "status", style: [styles56.banner, { backgroundColor: theme.warningSoft, paddingTop: 8 + insets.top }], children: [
6599
+ /* @__PURE__ */ jsx70(Txt, { variant: "caption", style: styles56.bannerText, children: label }),
6600
+ actionLabel && onAction ? /* @__PURE__ */ jsx70(Button, { label: actionLabel, size: "sm", variant: "ghost", onPress: onAction }) : null
6947
6601
  ] });
6948
6602
  }
6949
6603
  var styles56 = StyleSheet56.create({
@@ -6954,9 +6608,9 @@ var styles56 = StyleSheet56.create({
6954
6608
  });
6955
6609
 
6956
6610
  // src/native/status-chip.tsx
6957
- import * as React51 from "react";
6611
+ import * as React50 from "react";
6958
6612
  import { Pressable as Pressable31 } from "react-native";
6959
- import { Fragment as Fragment13, jsx as jsx76, jsxs as jsxs66 } from "react/jsx-runtime";
6613
+ import { Fragment as Fragment13, jsx as jsx71, jsxs as jsxs61 } from "react/jsx-runtime";
6960
6614
  function StatusChip({
6961
6615
  label,
6962
6616
  tone: tone3 = "neutral",
@@ -6968,14 +6622,14 @@ function StatusChip({
6968
6622
  cancelLabel = "Cancel",
6969
6623
  size = "sm"
6970
6624
  }) {
6971
- const [open, setOpen] = React51.useState(false);
6972
- const [armed, setArmed] = React51.useState(null);
6973
- const [asking, setAsking] = React51.useState(null);
6974
- const badge = /* @__PURE__ */ jsx76(Badge, { tone: tone3, size, dot: true, children: label });
6625
+ const [open, setOpen] = React50.useState(false);
6626
+ const [armed, setArmed] = React50.useState(null);
6627
+ const [asking, setAsking] = React50.useState(null);
6628
+ const badge = /* @__PURE__ */ jsx71(Badge, { tone: tone3, size, dot: true, children: label });
6975
6629
  if (!onMove || moves.length === 0) return badge;
6976
- return /* @__PURE__ */ jsxs66(Fragment13, { children: [
6977
- /* @__PURE__ */ jsx76(Pressable31, { role: "button", "aria-label": menuLabel(label), "aria-haspopup": "menu", hitSlop: 8, onPress: () => setOpen(true), style: { alignSelf: "flex-start" }, children: badge }),
6978
- /* @__PURE__ */ jsx76(
6630
+ return /* @__PURE__ */ jsxs61(Fragment13, { children: [
6631
+ /* @__PURE__ */ jsx71(Pressable31, { role: "button", "aria-label": menuLabel(label), "aria-haspopup": "menu", hitSlop: 8, onPress: () => setOpen(true), style: { alignSelf: "flex-start" }, children: badge }),
6632
+ /* @__PURE__ */ jsx71(
6979
6633
  ActionSheet,
6980
6634
  {
6981
6635
  open,
@@ -7003,7 +6657,7 @@ function StatusChip({
7003
6657
  }))
7004
6658
  }
7005
6659
  ),
7006
- /* @__PURE__ */ jsx76(
6660
+ /* @__PURE__ */ jsx71(
7007
6661
  ActionSheet,
7008
6662
  {
7009
6663
  open: asking !== null,
@@ -7024,31 +6678,31 @@ function StatusChip({
7024
6678
  }
7025
6679
 
7026
6680
  // src/native/stepper.tsx
7027
- import { StyleSheet as StyleSheet57, View as View68 } from "react-native";
7028
- import Svg35, { Circle as Circle17, Path as Path29 } from "react-native-svg";
7029
- import { jsx as jsx77, jsxs as jsxs67 } from "react/jsx-runtime";
6681
+ import { StyleSheet as StyleSheet57, View as View63 } from "react-native";
6682
+ import Svg31, { Circle as Circle13, Path as Path25 } from "react-native-svg";
6683
+ import { jsx as jsx72, jsxs as jsxs62 } from "react/jsx-runtime";
7030
6684
  var WORDS = { done: "done", current: "in progress", upcoming: "to come", error: "failed" };
7031
6685
  function Stepper({ steps, current = 0, orientation = "vertical", statusLabels, "aria-label": label, style }) {
7032
6686
  const { theme } = useTheme();
7033
6687
  const words2 = { ...WORDS, ...statusLabels };
7034
6688
  const vertical = orientation === "vertical";
7035
- return /* @__PURE__ */ jsx77(View68, { role: "list", "aria-label": label, style: [vertical ? styles57.column : styles57.row, style], children: steps.map((step, i) => {
6689
+ return /* @__PURE__ */ jsx72(View63, { role: "list", "aria-label": label, style: [vertical ? styles57.column : styles57.row, style], children: steps.map((step, i) => {
7036
6690
  const status = step.status ?? (i < current ? "done" : i === current ? "current" : "upcoming");
7037
6691
  const last = i === steps.length - 1;
7038
- const node = status === "current" ? /* @__PURE__ */ jsx77(LoaderGlyph, { value: step.value ?? null, size: 24 }) : status === "error" ? /* @__PURE__ */ jsx77(LoaderGlyph, { state: "error", size: 24 }) : /* @__PURE__ */ jsxs67(Svg35, { width: 24, height: 24, viewBox: "0 0 24 24", "aria-hidden": true, children: [
7039
- /* @__PURE__ */ jsx77(Circle17, { cx: 12, cy: 12, r: 10, fill: status === "done" ? theme.accent : "none", stroke: status === "done" ? theme.accent : theme.borderStrong, strokeWidth: 2 }),
7040
- status === "done" ? /* @__PURE__ */ jsx77(Path29, { d: "M7.5 12.3l3 3 6-6.3", stroke: theme.onAccent, strokeWidth: 2.2, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) : null
6692
+ const node = status === "current" ? /* @__PURE__ */ jsx72(LoaderGlyph, { value: step.value ?? null, size: 24 }) : status === "error" ? /* @__PURE__ */ jsx72(LoaderGlyph, { state: "error", size: 24 }) : /* @__PURE__ */ jsxs62(Svg31, { width: 24, height: 24, viewBox: "0 0 24 24", "aria-hidden": true, children: [
6693
+ /* @__PURE__ */ jsx72(Circle13, { cx: 12, cy: 12, r: 10, fill: status === "done" ? theme.accent : "none", stroke: status === "done" ? theme.accent : theme.borderStrong, strokeWidth: 2 }),
6694
+ status === "done" ? /* @__PURE__ */ jsx72(Path25, { d: "M7.5 12.3l3 3 6-6.3", stroke: theme.onAccent, strokeWidth: 2.2, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) : null
7041
6695
  ] });
7042
- const connector = !last ? /* @__PURE__ */ jsx77(View68, { "aria-hidden": true, style: [vertical ? styles57.vLine : styles57.hLine, { backgroundColor: status === "done" ? theme.accent : theme.borderDefault }] }) : null;
7043
- return /* @__PURE__ */ jsxs67(View68, { role: "listitem", accessible: true, "aria-label": `${step.title}, ${words2[status]}`, style: vertical ? styles57.vStep : styles57.hStep, children: [
7044
- /* @__PURE__ */ jsxs67(View68, { style: vertical ? styles57.vRail : styles57.hRail, children: [
6696
+ const connector = !last ? /* @__PURE__ */ jsx72(View63, { "aria-hidden": true, style: [vertical ? styles57.vLine : styles57.hLine, { backgroundColor: status === "done" ? theme.accent : theme.borderDefault }] }) : null;
6697
+ return /* @__PURE__ */ jsxs62(View63, { role: "listitem", accessible: true, "aria-label": `${step.title}, ${words2[status]}`, style: vertical ? styles57.vStep : styles57.hStep, children: [
6698
+ /* @__PURE__ */ jsxs62(View63, { style: vertical ? styles57.vRail : styles57.hRail, children: [
7045
6699
  node,
7046
6700
  connector
7047
6701
  ] }),
7048
- /* @__PURE__ */ jsxs67(View68, { style: [styles57.body, vertical && !last ? { paddingBottom: 20 } : null], children: [
7049
- /* @__PURE__ */ jsx77(Txt, { variant: "label", tone: status === "upcoming" ? "secondary" : "text", numberOfLines: vertical ? void 0 : 2, children: step.title }),
7050
- step.description ? /* @__PURE__ */ jsx77(Txt, { variant: "caption", tone: "secondary", children: step.description }) : null,
7051
- step.content && (status === "current" || status === "error") ? /* @__PURE__ */ jsx77(View68, { style: styles57.content, children: step.content }) : null
6702
+ /* @__PURE__ */ jsxs62(View63, { style: [styles57.body, vertical && !last ? { paddingBottom: 20 } : null], children: [
6703
+ /* @__PURE__ */ jsx72(Txt, { variant: "label", tone: status === "upcoming" ? "secondary" : "text", numberOfLines: vertical ? void 0 : 2, children: step.title }),
6704
+ step.description ? /* @__PURE__ */ jsx72(Txt, { variant: "caption", tone: "secondary", children: step.description }) : null,
6705
+ step.content && (status === "current" || status === "error") ? /* @__PURE__ */ jsx72(View63, { style: styles57.content, children: step.content }) : null
7052
6706
  ] })
7053
6707
  ] }, i);
7054
6708
  }) });
@@ -7067,18 +6721,18 @@ var styles57 = StyleSheet57.create({
7067
6721
  });
7068
6722
 
7069
6723
  // src/native/swipe-deck.tsx
7070
- import * as React52 from "react";
7071
- import { AccessibilityInfo as AccessibilityInfo14, Animated as Animated25, Image as Image5, PanResponder as PanResponder3, Platform as Platform4, Pressable as Pressable32, StyleSheet as StyleSheet58, useWindowDimensions as useWindowDimensions3, View as View69 } from "react-native";
7072
- import Svg36, { Defs as Defs16, LinearGradient as LinearGradient13, Path as Path30, Rect as Rect7, Stop as Stop16 } from "react-native-svg";
7073
- import { Fragment as Fragment14, jsx as jsx78, jsxs as jsxs68 } from "react/jsx-runtime";
6724
+ import * as React51 from "react";
6725
+ import { AccessibilityInfo as AccessibilityInfo13, Animated as Animated24, Image as Image5, PanResponder as PanResponder3, Platform as Platform4, Pressable as Pressable32, StyleSheet as StyleSheet58, useWindowDimensions as useWindowDimensions3, View as View64 } from "react-native";
6726
+ import Svg32, { Defs as Defs12, LinearGradient as LinearGradient11, Path as Path26, Rect as Rect7, Stop as Stop12 } from "react-native-svg";
6727
+ import { Fragment as Fragment14, jsx as jsx73, jsxs as jsxs63 } from "react/jsx-runtime";
7074
6728
  function PersonCard({ photos, name, age, badge, meta, bio, footer, photoLabel = (n, t) => `Photo ${n} of ${t}`, style }) {
7075
6729
  const { theme, radius: radius3 } = useTheme();
7076
- const [index, setIndex] = React52.useState(0);
6730
+ const [index, setIndex] = React51.useState(0);
7077
6731
  const gradient = useSvgId("kz-profile-");
7078
- const [box, setBox] = React52.useState(null);
6732
+ const [box, setBox] = React51.useState(null);
7079
6733
  const photo = photos[index];
7080
- return /* @__PURE__ */ jsxs68(
7081
- View69,
6734
+ return /* @__PURE__ */ jsxs63(
6735
+ View64,
7082
6736
  {
7083
6737
  accessible: Platform4.OS !== "web",
7084
6738
  accessibilityActions: photos.length > 1 ? [{ name: "increment" }, { name: "decrement" }] : [],
@@ -7087,39 +6741,39 @@ function PersonCard({ photos, name, age, badge, meta, bio, footer, photoLabel =
7087
6741
  "aria-label": [`${name}${age !== void 0 ? `, ${age}` : ""}`, bio, photos.length > 1 ? photoLabel(index + 1, photos.length) : null].filter(Boolean).join(". "),
7088
6742
  style: [styles58.card, { borderRadius: radius3.xl, backgroundColor: theme.media }, style],
7089
6743
  children: [
7090
- photo ? /* @__PURE__ */ jsx78(Image5, { testID: "person-card-photo", source: { uri: photo.uri }, style: StyleSheet58.absoluteFill, resizeMode: "cover" }) : null,
7091
- photos.length > 1 ? /* @__PURE__ */ jsxs68(Fragment14, { children: [
7092
- /* @__PURE__ */ jsx78(View69, { style: styles58.bars, "aria-hidden": true, children: photos.map((_, i) => /* @__PURE__ */ jsx78(View69, { style: [styles58.bar, { backgroundColor: theme.textOnMedia, opacity: i === index ? 1 : 0.4 }] }, i)) }),
7093
- /* @__PURE__ */ jsx78(Pressable32, { "aria-hidden": true, accessible: false, focusable: false, tabIndex: -1, style: [styles58.half, { left: 0 }], onPress: () => setIndex((i) => Math.max(0, i - 1)) }),
7094
- /* @__PURE__ */ jsx78(Pressable32, { "aria-hidden": true, accessible: false, focusable: false, tabIndex: -1, style: [styles58.half, { right: 0 }], onPress: () => setIndex((i) => Math.min(photos.length - 1, i + 1)) })
6744
+ photo ? /* @__PURE__ */ jsx73(Image5, { testID: "person-card-photo", source: { uri: photo.uri }, style: StyleSheet58.absoluteFill, resizeMode: "cover" }) : null,
6745
+ photos.length > 1 ? /* @__PURE__ */ jsxs63(Fragment14, { children: [
6746
+ /* @__PURE__ */ jsx73(View64, { style: styles58.bars, "aria-hidden": true, children: photos.map((_, i) => /* @__PURE__ */ jsx73(View64, { style: [styles58.bar, { backgroundColor: theme.textOnMedia, opacity: i === index ? 1 : 0.4 }] }, i)) }),
6747
+ /* @__PURE__ */ jsx73(Pressable32, { "aria-hidden": true, accessible: false, focusable: false, tabIndex: -1, style: [styles58.half, { left: 0 }], onPress: () => setIndex((i) => Math.max(0, i - 1)) }),
6748
+ /* @__PURE__ */ jsx73(Pressable32, { "aria-hidden": true, accessible: false, focusable: false, tabIndex: -1, style: [styles58.half, { right: 0 }], onPress: () => setIndex((i) => Math.min(photos.length - 1, i + 1)) })
7095
6749
  ] }) : null,
7096
- /* @__PURE__ */ jsxs68(
7097
- View69,
6750
+ /* @__PURE__ */ jsxs63(
6751
+ View64,
7098
6752
  {
7099
6753
  testID: "person-card-overlay",
7100
6754
  pointerEvents: "box-none",
7101
6755
  style: styles58.bottom,
7102
6756
  onLayout: (e) => setBox({ width: e.nativeEvent.layout.width, height: e.nativeEvent.layout.height }),
7103
6757
  children: [
7104
- box ? /* @__PURE__ */ jsxs68(Svg36, { testID: "person-card-scrim", style: styles58.scrim, width: box.width, height: box.height, "aria-hidden": true, children: [
7105
- /* @__PURE__ */ jsx78(Defs16, { children: /* @__PURE__ */ jsxs68(LinearGradient13, { id: gradient, x1: "0", y1: "0", x2: "0", y2: "1", children: [
7106
- /* @__PURE__ */ jsx78(Stop16, { offset: "0", stopColor: theme.scrimStrong, stopOpacity: 0 }),
7107
- /* @__PURE__ */ jsx78(Stop16, { offset: "0.5", stopColor: theme.scrimStrong, stopOpacity: 0.8 }),
7108
- /* @__PURE__ */ jsx78(Stop16, { offset: "1", stopColor: theme.scrimStrong, stopOpacity: 1 })
6758
+ box ? /* @__PURE__ */ jsxs63(Svg32, { testID: "person-card-scrim", style: styles58.scrim, width: box.width, height: box.height, "aria-hidden": true, children: [
6759
+ /* @__PURE__ */ jsx73(Defs12, { children: /* @__PURE__ */ jsxs63(LinearGradient11, { id: gradient, x1: "0", y1: "0", x2: "0", y2: "1", children: [
6760
+ /* @__PURE__ */ jsx73(Stop12, { offset: "0", stopColor: theme.scrimStrong, stopOpacity: 0 }),
6761
+ /* @__PURE__ */ jsx73(Stop12, { offset: "0.5", stopColor: theme.scrimStrong, stopOpacity: 0.8 }),
6762
+ /* @__PURE__ */ jsx73(Stop12, { offset: "1", stopColor: theme.scrimStrong, stopOpacity: 1 })
7109
6763
  ] }) }),
7110
- /* @__PURE__ */ jsx78(Rect7, { x: 0, y: 0, width: box.width, height: box.height, fill: `url(#${gradient})` })
6764
+ /* @__PURE__ */ jsx73(Rect7, { x: 0, y: 0, width: box.width, height: box.height, fill: `url(#${gradient})` })
7111
6765
  ] }) : null,
7112
- /* @__PURE__ */ jsxs68(View69, { style: styles58.text, children: [
7113
- /* @__PURE__ */ jsxs68(View69, { style: styles58.nameRow, children: [
7114
- /* @__PURE__ */ jsxs68(Txt, { variant: "display", tone: "onMedia", style: styles58.name, numberOfLines: 1, children: [
6766
+ /* @__PURE__ */ jsxs63(View64, { style: styles58.text, children: [
6767
+ /* @__PURE__ */ jsxs63(View64, { style: styles58.nameRow, children: [
6768
+ /* @__PURE__ */ jsxs63(Txt, { variant: "display", tone: "onMedia", style: styles58.name, numberOfLines: 1, children: [
7115
6769
  name,
7116
- age !== void 0 ? /* @__PURE__ */ jsx78(Txt, { variant: "display", tone: "onMedia", style: styles58.age, children: ` ${age}` }) : null
6770
+ age !== void 0 ? /* @__PURE__ */ jsx73(Txt, { variant: "display", tone: "onMedia", style: styles58.age, children: ` ${age}` }) : null
7117
6771
  ] }),
7118
6772
  badge
7119
6773
  ] }),
7120
6774
  meta,
7121
- bio ? /* @__PURE__ */ jsx78(Txt, { tone: "onMedia", numberOfLines: 2, children: bio }) : null,
7122
- footer ? /* @__PURE__ */ jsx78(View69, { style: styles58.footer, children: footer }) : null
6775
+ bio ? /* @__PURE__ */ jsx73(Txt, { tone: "onMedia", numberOfLines: 2, children: bio }) : null,
6776
+ footer ? /* @__PURE__ */ jsx73(View64, { style: styles58.footer, children: footer }) : null
7123
6777
  ] })
7124
6778
  ]
7125
6779
  }
@@ -7132,30 +6786,30 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
7132
6786
  const { theme, haptic } = useTheme();
7133
6787
  const reduce = useReducedMotion();
7134
6788
  const { width } = useWindowDimensions3();
7135
- const [x] = React52.useState(() => new Animated25.Value(0));
6789
+ const [x] = React51.useState(() => new Animated24.Value(0));
7136
6790
  const top = items2[0];
7137
- const decide = React52.useCallback(
6791
+ const decide = React51.useCallback(
7138
6792
  (direction) => {
7139
6793
  if (!top) return;
7140
6794
  haptic("impact");
7141
6795
  const done = () => {
7142
6796
  x.setValue(0);
7143
6797
  onSwipe(top, direction);
7144
- if (items2.length === 1 && labels.empty) AccessibilityInfo14.announceForAccessibility(labels.empty);
6798
+ if (items2.length === 1 && labels.empty) AccessibilityInfo13.announceForAccessibility(labels.empty);
7145
6799
  };
7146
6800
  if (reduce) return done();
7147
- Animated25.timing(x, { toValue: (direction === "like" ? 1.4 : -1.4) * width, duration: 220, useNativeDriver: true }).start(done);
6801
+ Animated24.timing(x, { toValue: (direction === "like" ? 1.4 : -1.4) * width, duration: 220, useNativeDriver: true }).start(done);
7148
6802
  },
7149
6803
  [top, haptic, reduce, x, width, onSwipe, items2.length, labels.empty]
7150
6804
  );
7151
- const pan = React52.useMemo(
6805
+ const pan = React51.useMemo(
7152
6806
  () => PanResponder3.create({
7153
6807
  onMoveShouldSetPanResponder: (_, g) => Math.abs(g.dx) > 8 && Math.abs(g.dx) > Math.abs(g.dy),
7154
6808
  onPanResponderMove: (_, g) => x.setValue(g.dx),
7155
6809
  onPanResponderRelease: (_, g) => {
7156
6810
  if (g.dx > width / 3 || g.vx > 1) decide("like");
7157
6811
  else if (g.dx < -width / 3 || g.vx < -1) decide("pass");
7158
- else Animated25.spring(x, { toValue: 0, useNativeDriver: true, friction: 6 }).start();
6812
+ else Animated24.spring(x, { toValue: 0, useNativeDriver: true, friction: 6 }).start();
7159
6813
  }
7160
6814
  }),
7161
6815
  [x, width, decide]
@@ -7163,7 +6817,7 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
7163
6817
  const rotate = x.interpolate({ inputRange: [-width, 0, width], outputRange: ["-14deg", "0deg", "14deg"] });
7164
6818
  const likeOpacity = x.interpolate({ inputRange: [0, width / 4], outputRange: [0, 1], extrapolate: "clamp" });
7165
6819
  const passOpacity = x.interpolate({ inputRange: [-width / 4, 0], outputRange: [1, 0], extrapolate: "clamp" });
7166
- const button = (direction) => /* @__PURE__ */ jsx78(
6820
+ const button = (direction) => /* @__PURE__ */ jsx73(
7167
6821
  Pressable32,
7168
6822
  {
7169
6823
  role: "button",
@@ -7174,16 +6828,16 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
7174
6828
  styles58.button,
7175
6829
  { borderColor: direction === "like" ? theme.success : theme.danger, backgroundColor: theme.surface1, transform: [{ scale: pressed ? 0.92 : 1 }], opacity: top ? 1 : 0.4 }
7176
6830
  ],
7177
- children: /* @__PURE__ */ jsx78(Svg36, { width: 28, height: 28, viewBox: "0 0 24 24", "aria-hidden": true, children: direction === "like" ? /* @__PURE__ */ jsx78(Path30, { 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__ */ jsx78(Path30, { d: "M6 6l12 12M18 6 6 18", stroke: theme.danger, strokeWidth: 3, strokeLinecap: "round" }) })
6831
+ children: /* @__PURE__ */ jsx73(Svg32, { width: 28, height: 28, viewBox: "0 0 24 24", "aria-hidden": true, children: direction === "like" ? /* @__PURE__ */ jsx73(Path26, { 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__ */ jsx73(Path26, { d: "M6 6l12 12M18 6 6 18", stroke: theme.danger, strokeWidth: 3, strokeLinecap: "round" }) })
7178
6832
  }
7179
6833
  );
7180
- return /* @__PURE__ */ jsxs68(View69, { style: [styles58.deck, style], children: [
7181
- /* @__PURE__ */ jsxs68(View69, { style: styles58.stack, children: [
6834
+ return /* @__PURE__ */ jsxs63(View64, { style: [styles58.deck, style], children: [
6835
+ /* @__PURE__ */ jsxs63(View64, { style: styles58.stack, children: [
7182
6836
  !top ? empty2 ?? null : null,
7183
6837
  items2.slice(0, 2).reverse().map((item) => {
7184
6838
  const isTop = item === top;
7185
- return /* @__PURE__ */ jsxs68(
7186
- Animated25.View,
6839
+ return /* @__PURE__ */ jsxs63(
6840
+ Animated24.View,
7187
6841
  {
7188
6842
  ...isTop ? pan.panHandlers : {},
7189
6843
  accessibilityActions: isTop ? [{ name: "like", label: labels.like }, { name: "pass", label: labels.pass }] : [],
@@ -7194,9 +6848,9 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
7194
6848
  style: [StyleSheet58.absoluteFill, isTop ? { transform: [{ translateX: x }, { rotate }] } : { transform: [{ scale: 0.96 }], opacity: 0.9 }],
7195
6849
  children: [
7196
6850
  renderCard(item),
7197
- isTop ? /* @__PURE__ */ jsxs68(Fragment14, { children: [
7198
- /* @__PURE__ */ jsx78(Animated25.View, { pointerEvents: "none", style: [styles58.stamp, styles58.stampLike, { borderColor: theme.success, opacity: likeOpacity }], "aria-hidden": true, children: /* @__PURE__ */ jsx78(Txt, { variant: "title", style: { color: theme.success }, children: labels.likeStamp ?? labels.like.toUpperCase() }) }),
7199
- /* @__PURE__ */ jsx78(Animated25.View, { pointerEvents: "none", style: [styles58.stamp, styles58.stampPass, { borderColor: theme.danger, opacity: passOpacity }], "aria-hidden": true, children: /* @__PURE__ */ jsx78(Txt, { variant: "title", style: { color: theme.danger }, children: labels.passStamp ?? labels.pass.toUpperCase() }) })
6851
+ isTop ? /* @__PURE__ */ jsxs63(Fragment14, { children: [
6852
+ /* @__PURE__ */ jsx73(Animated24.View, { pointerEvents: "none", style: [styles58.stamp, styles58.stampLike, { borderColor: theme.success, opacity: likeOpacity }], "aria-hidden": true, children: /* @__PURE__ */ jsx73(Txt, { variant: "title", style: { color: theme.success }, children: labels.likeStamp ?? labels.like.toUpperCase() }) }),
6853
+ /* @__PURE__ */ jsx73(Animated24.View, { pointerEvents: "none", style: [styles58.stamp, styles58.stampPass, { borderColor: theme.danger, opacity: passOpacity }], "aria-hidden": true, children: /* @__PURE__ */ jsx73(Txt, { variant: "title", style: { color: theme.danger }, children: labels.passStamp ?? labels.pass.toUpperCase() }) })
7200
6854
  ] }) : null
7201
6855
  ]
7202
6856
  },
@@ -7204,7 +6858,7 @@ function SwipeDeck({ items: items2, getId, renderCard, onSwipe, empty: empty2, l
7204
6858
  );
7205
6859
  })
7206
6860
  ] }),
7207
- hideButtons ? null : /* @__PURE__ */ jsxs68(View69, { style: styles58.buttons, children: [
6861
+ hideButtons ? null : /* @__PURE__ */ jsxs63(View64, { style: styles58.buttons, children: [
7208
6862
  button("pass"),
7209
6863
  button("like")
7210
6864
  ] })
@@ -7232,28 +6886,28 @@ var styles58 = StyleSheet58.create({
7232
6886
  });
7233
6887
 
7234
6888
  // src/native/swipeable-row.tsx
7235
- import * as React53 from "react";
7236
- import { Animated as Animated26, PanResponder as PanResponder4, Pressable as Pressable33, StyleSheet as StyleSheet59, View as View70 } from "react-native";
7237
- import { jsx as jsx79, jsxs as jsxs69 } from "react/jsx-runtime";
6889
+ import * as React52 from "react";
6890
+ import { Animated as Animated25, PanResponder as PanResponder4, Pressable as Pressable33, StyleSheet as StyleSheet59, View as View65 } from "react-native";
6891
+ import { jsx as jsx74, jsxs as jsxs64 } from "react/jsx-runtime";
7238
6892
  var toneColor = (t, tone3) => ({ neutral: t.surface3, accent: t.accent, success: t.success, warning: t.warning, danger: t.danger })[tone3 ?? "neutral"];
7239
6893
  var toneText = (tone3) => tone3 === "neutral" || tone3 === void 0 ? "text" : "onAccent";
7240
6894
  function SwipeableRow({ children, trailing = [], leading = [], fullSwipe = 0.6, actionWidth = 80, onActivate, testID, style }) {
7241
6895
  const { theme, haptic } = useTheme();
7242
6896
  const reduce = useReducedMotion();
7243
- const [x] = React53.useState(() => new Animated26.Value(0));
7244
- const [width, setWidth] = React53.useState(0);
7245
- const rest = React53.useRef(0);
7246
- const armed = React53.useRef(false);
6897
+ const [x] = React52.useState(() => new Animated25.Value(0));
6898
+ const [width, setWidth] = React52.useState(0);
6899
+ const rest = React52.useRef(0);
6900
+ const armed = React52.useRef(false);
7247
6901
  const settle = (to) => {
7248
6902
  rest.current = to;
7249
6903
  if (reduce) x.setValue(to);
7250
- else Animated26.spring(x, { toValue: to, useNativeDriver: true, damping: 22, stiffness: 240 }).start();
6904
+ else Animated25.spring(x, { toValue: to, useNativeDriver: true, damping: 22, stiffness: 240 }).start();
7251
6905
  };
7252
6906
  const run = (action) => {
7253
6907
  settle(0);
7254
6908
  action.onPress();
7255
6909
  };
7256
- const pan = React53.useMemo(
6910
+ const pan = React52.useMemo(
7257
6911
  () => PanResponder4.create({
7258
6912
  onMoveShouldSetPanResponder: (_, g) => Math.abs(g.dx) > 8 && Math.abs(g.dx) > Math.abs(g.dy) * 1.5,
7259
6913
  onPanResponderMove: (_, g) => {
@@ -7282,19 +6936,19 @@ function SwipeableRow({ children, trailing = [], leading = [], fullSwipe = 0.6,
7282
6936
  [trailing, leading, fullSwipe, width, actionWidth]
7283
6937
  // eslint-disable-line react-hooks/exhaustive-deps -- run/settle are stable in effect
7284
6938
  );
7285
- const side = (actions, edge) => /* @__PURE__ */ jsx79(View70, { "aria-hidden": true, style: [styles59.side, edge === "left" ? { left: 0 } : { right: 0, flexDirection: "row-reverse" }], children: actions.map((action, i) => (
6939
+ const side = (actions, edge) => /* @__PURE__ */ jsx74(View65, { "aria-hidden": true, style: [styles59.side, edge === "left" ? { left: 0 } : { right: 0, flexDirection: "row-reverse" }], children: actions.map((action, i) => (
7286
6940
  // eslint-disable-next-line react-hooks/refs -- runs on a press, never during render
7287
- /* @__PURE__ */ jsxs69(Pressable33, { focusable: false, tabIndex: -1, onPress: () => run(action), style: [styles59.action, { width: actionWidth, backgroundColor: toneColor(theme, action.tone) }], children: [
6941
+ /* @__PURE__ */ jsxs64(Pressable33, { focusable: false, tabIndex: -1, onPress: () => run(action), style: [styles59.action, { width: actionWidth, backgroundColor: toneColor(theme, action.tone) }], children: [
7288
6942
  action.icon,
7289
- /* @__PURE__ */ jsx79(Txt, { variant: "caption", tone: toneText(action.tone), style: styles59.actionText, numberOfLines: 1, children: action.label })
6943
+ /* @__PURE__ */ jsx74(Txt, { variant: "caption", tone: toneText(action.tone), style: styles59.actionText, numberOfLines: 1, children: action.label })
7290
6944
  ] }, i)
7291
6945
  )) });
7292
6946
  const all = [...leading, ...trailing];
7293
- return /* @__PURE__ */ jsxs69(View70, { style: [styles59.root, style], onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: [
6947
+ return /* @__PURE__ */ jsxs64(View65, { style: [styles59.root, style], onLayout: (e) => setWidth(e.nativeEvent.layout.width), children: [
7294
6948
  leading.length > 0 ? side(leading, "left") : null,
7295
6949
  trailing.length > 0 ? side(trailing, "right") : null,
7296
- /* @__PURE__ */ jsx79(
7297
- Animated26.View,
6950
+ /* @__PURE__ */ jsx74(
6951
+ Animated25.View,
7298
6952
  {
7299
6953
  ...pan.panHandlers,
7300
6954
  accessible: true,
@@ -7320,15 +6974,15 @@ var styles59 = StyleSheet59.create({
7320
6974
  });
7321
6975
 
7322
6976
  // src/native/tab-bar.tsx
7323
- import { Pressable as Pressable34, StyleSheet as StyleSheet60, Text as Text20, View as View71 } from "react-native";
7324
- import { jsx as jsx80, jsxs as jsxs70 } from "react/jsx-runtime";
6977
+ import { Pressable as Pressable34, StyleSheet as StyleSheet60, Text as Text20, View as View66 } from "react-native";
6978
+ import { jsx as jsx75, jsxs as jsxs65 } from "react/jsx-runtime";
7325
6979
  function TabBar({ items: items2, value, onValueChange, onReselect, "aria-label": label, style }) {
7326
6980
  const { theme, insets, haptic } = useTheme();
7327
- return /* @__PURE__ */ jsx80(View71, { role: "tablist", "aria-label": label, style: [styles60.bar, { backgroundColor: theme.glassBg, borderTopColor: theme.glassBorder, paddingBottom: Math.max(6, insets.bottom) }, style], children: items2.map((item) => {
6981
+ return /* @__PURE__ */ jsx75(View66, { role: "tablist", "aria-label": label, style: [styles60.bar, { backgroundColor: theme.glassBg, borderTopColor: theme.glassBorder, paddingBottom: Math.max(6, insets.bottom) }, style], children: items2.map((item) => {
7328
6982
  const selected = item.value === value;
7329
6983
  const color = selected ? theme.accentText : theme.textSecondary;
7330
6984
  const badge = item.badge === true ? "" : typeof item.badge === "number" && item.badge > 0 ? item.badge > 99 ? "99+" : String(item.badge) : null;
7331
- return /* @__PURE__ */ jsxs70(
6985
+ return /* @__PURE__ */ jsxs65(
7332
6986
  Pressable34,
7333
6987
  {
7334
6988
  role: "tab",
@@ -7340,12 +6994,12 @@ function TabBar({ items: items2, value, onValueChange, onReselect, "aria-label":
7340
6994
  },
7341
6995
  style: ({ pressed }) => [styles60.item, { opacity: pressed ? 0.7 : 1 }],
7342
6996
  children: [
7343
- /* @__PURE__ */ jsxs70(View71, { "aria-hidden": true, style: styles60.icon, children: [
6997
+ /* @__PURE__ */ jsxs65(View66, { "aria-hidden": true, style: styles60.icon, children: [
7344
6998
  item.icon(selected, color),
7345
- badge !== null ? /* @__PURE__ */ jsx80(View71, { style: [badge ? styles60.count : styles60.dot, { backgroundColor: theme.danger, borderColor: theme.surface1 }], children: badge ? /* @__PURE__ */ jsx80(Text20, { style: [styles60.countText, { color: theme.onAccent }], children: badge }) : null }) : null
6999
+ badge !== null ? /* @__PURE__ */ jsx75(View66, { style: [badge ? styles60.count : styles60.dot, { backgroundColor: theme.danger, borderColor: theme.surface1 }], children: badge ? /* @__PURE__ */ jsx75(Text20, { style: [styles60.countText, { color: theme.onAccent }], children: badge }) : null }) : null
7346
7000
  ] }),
7347
- /* @__PURE__ */ jsx80(Text20, { numberOfLines: 1, style: [styles60.label, { color, fontWeight: selected ? "700" : "500" }], children: item.label }),
7348
- badge !== null && item.badgeLabel ? /* @__PURE__ */ jsx80(Text20, { style: styles60.unseen, children: `, ${item.badgeLabel}` }) : null
7001
+ /* @__PURE__ */ jsx75(Text20, { numberOfLines: 1, style: [styles60.label, { color, fontWeight: selected ? "700" : "500" }], children: item.label }),
7002
+ badge !== null && item.badgeLabel ? /* @__PURE__ */ jsx75(Text20, { style: styles60.unseen, children: `, ${item.badgeLabel}` }) : null
7349
7003
  ]
7350
7004
  },
7351
7005
  item.value
@@ -7364,12 +7018,12 @@ var styles60 = StyleSheet60.create({
7364
7018
  });
7365
7019
 
7366
7020
  // src/native/tabs.tsx
7367
- import * as React54 from "react";
7368
- import { Pressable as Pressable35, ScrollView as ScrollView7, StyleSheet as StyleSheet61, View as View72 } from "react-native";
7369
- import { jsx as jsx81, jsxs as jsxs71 } from "react/jsx-runtime";
7021
+ import * as React53 from "react";
7022
+ import { Pressable as Pressable35, ScrollView as ScrollView7, StyleSheet as StyleSheet61, View as View67 } from "react-native";
7023
+ import { jsx as jsx76, jsxs as jsxs66 } from "react/jsx-runtime";
7370
7024
  function Tabs({ items: items2, value, defaultValue, onValueChange, "aria-label": label, variant = "underline", add, style }) {
7371
7025
  const { theme, radius: radius3, haptic } = useTheme();
7372
- const [own, setOwn] = React54.useState(defaultValue ?? items2[0]?.value);
7026
+ const [own, setOwn] = React53.useState(defaultValue ?? items2[0]?.value);
7373
7027
  const current = value ?? own;
7374
7028
  const select = (next) => {
7375
7029
  if (next === current) return;
@@ -7382,7 +7036,7 @@ function Tabs({ items: items2, value, defaultValue, onValueChange, "aria-label":
7382
7036
  const hueOf = (hue) => ({ accent: theme.accent, success: theme.successText, warning: theme.warningText, danger: theme.dangerText, neutral: theme.textMuted })[hue ?? "accent"];
7383
7037
  const tabs = items2.map((item) => {
7384
7038
  const selected = item.value === current;
7385
- return /* @__PURE__ */ jsx81(
7039
+ return /* @__PURE__ */ jsx76(
7386
7040
  Pressable35,
7387
7041
  {
7388
7042
  role: "tab",
@@ -7397,21 +7051,21 @@ function Tabs({ items: items2, value, defaultValue, onValueChange, "aria-label":
7397
7051
  !segmented && !binder ? { borderBottomColor: selected ? theme.accent : "transparent" } : null,
7398
7052
  item.disabled ? styles61.disabled : null
7399
7053
  ],
7400
- children: /* @__PURE__ */ jsxs71(Txt, { variant: "label", tone: selected ? "text" : "secondary", numberOfLines: 1, children: [
7054
+ children: /* @__PURE__ */ jsxs66(Txt, { variant: "label", tone: selected ? "text" : "secondary", numberOfLines: 1, children: [
7401
7055
  item.label,
7402
- item.count !== void 0 ? /* @__PURE__ */ jsx81(Txt, { variant: "caption", tone: "secondary", children: ` ${item.count}` }) : null
7056
+ item.count !== void 0 ? /* @__PURE__ */ jsx76(Txt, { variant: "caption", tone: "secondary", children: ` ${item.count}` }) : null
7403
7057
  ] })
7404
7058
  },
7405
7059
  item.value
7406
7060
  );
7407
7061
  });
7408
7062
  const panel = items2.find((i) => i.value === current)?.content;
7409
- return /* @__PURE__ */ jsxs71(View72, { style: [styles61.root, style], children: [
7410
- segmented ? /* @__PURE__ */ jsx81(View72, { role: "tablist", "aria-label": label, style: [styles61.track, { backgroundColor: theme.surface2, borderColor: theme.borderSubtle, borderRadius: radius3.md }], children: tabs }) : /* @__PURE__ */ jsxs71(View72, { style: [styles61.underline, binder ? styles61.binderRow : null, { borderBottomColor: binder ? theme.borderDefault : theme.borderSubtle }], children: [
7411
- /* @__PURE__ */ jsx81(ScrollView7, { horizontal: true, showsHorizontalScrollIndicator: false, role: "tablist", "aria-label": label, contentContainerStyle: [styles61.scroll, binder ? styles61.binderScroll : null], children: tabs }),
7412
- binder && add ? /* @__PURE__ */ jsx81(Pressable35, { role: "button", "aria-label": add.label, onPress: add.onAdd, hitSlop: 4, style: styles61.add, children: /* @__PURE__ */ jsx81(Txt, { variant: "label", tone: "secondary", children: `+ ${add.label}` }) }) : null
7063
+ return /* @__PURE__ */ jsxs66(View67, { style: [styles61.root, style], children: [
7064
+ segmented ? /* @__PURE__ */ jsx76(View67, { role: "tablist", "aria-label": label, style: [styles61.track, { backgroundColor: theme.surface2, borderColor: theme.borderSubtle, borderRadius: radius3.md }], children: tabs }) : /* @__PURE__ */ jsxs66(View67, { style: [styles61.underline, binder ? styles61.binderRow : null, { borderBottomColor: binder ? theme.borderDefault : theme.borderSubtle }], children: [
7065
+ /* @__PURE__ */ jsx76(ScrollView7, { horizontal: true, showsHorizontalScrollIndicator: false, role: "tablist", "aria-label": label, contentContainerStyle: [styles61.scroll, binder ? styles61.binderScroll : null], children: tabs }),
7066
+ binder && add ? /* @__PURE__ */ jsx76(Pressable35, { role: "button", "aria-label": add.label, onPress: add.onAdd, hitSlop: 4, style: styles61.add, children: /* @__PURE__ */ jsx76(Txt, { variant: "label", tone: "secondary", children: `+ ${add.label}` }) }) : null
7413
7067
  ] }),
7414
- panel !== void 0 ? /* @__PURE__ */ jsx81(View72, { role: "tabpanel", children: panel }) : null
7068
+ panel !== void 0 ? /* @__PURE__ */ jsx76(View67, { role: "tabpanel", children: panel }) : null
7415
7069
  ] });
7416
7070
  }
7417
7071
  var styles61 = StyleSheet61.create({
@@ -7430,13 +7084,13 @@ var styles61 = StyleSheet61.create({
7430
7084
  });
7431
7085
 
7432
7086
  // src/native/tag-selector.tsx
7433
- import { StyleSheet as StyleSheet62, View as View73 } from "react-native";
7434
- import { jsx as jsx82, jsxs as jsxs72 } from "react/jsx-runtime";
7087
+ import { StyleSheet as StyleSheet62, View as View68 } from "react-native";
7088
+ import { jsx as jsx77, jsxs as jsxs67 } from "react/jsx-runtime";
7435
7089
  function TagSelector({ label, options, value, onValueChange, max, countLabel, style }) {
7436
7090
  const { haptic } = useTheme();
7437
7091
  const full = max !== void 0 && value.length >= max;
7438
- return /* @__PURE__ */ jsxs72(View73, { style: [styles62.root, style], children: [
7439
- /* @__PURE__ */ jsx82(View73, { role: "group", "aria-label": label, style: styles62.wrap, children: options.map((option) => {
7092
+ return /* @__PURE__ */ jsxs67(View68, { style: [styles62.root, style], children: [
7093
+ /* @__PURE__ */ jsx77(View68, { role: "group", "aria-label": label, style: styles62.wrap, children: options.map((option) => {
7440
7094
  const on = value.includes(option.value);
7441
7095
  const props = {
7442
7096
  selected: on,
@@ -7446,17 +7100,17 @@ function TagSelector({ label, options, value, onValueChange, max, countLabel, st
7446
7100
  onValueChange(next ? [...value, option.value] : value.filter((v) => v !== option.value));
7447
7101
  }
7448
7102
  };
7449
- return option.marker ? /* @__PURE__ */ jsx82(TagChip, { marker: option.marker, ...props, children: option.label }, option.value) : /* @__PURE__ */ jsx82(Chip, { ...props, children: option.label }, option.value);
7103
+ return option.marker ? /* @__PURE__ */ jsx77(TagChip, { marker: option.marker, ...props, children: option.label }, option.value) : /* @__PURE__ */ jsx77(Chip, { ...props, children: option.label }, option.value);
7450
7104
  }) }),
7451
- max !== void 0 && countLabel ? /* @__PURE__ */ jsx82(Txt, { variant: "caption", tone: full ? "accent" : "secondary", "aria-live": "polite", children: countLabel(value.length, max) }) : null
7105
+ max !== void 0 && countLabel ? /* @__PURE__ */ jsx77(Txt, { variant: "caption", tone: full ? "accent" : "secondary", "aria-live": "polite", children: countLabel(value.length, max) }) : null
7452
7106
  ] });
7453
7107
  }
7454
7108
  var styles62 = StyleSheet62.create({ root: { gap: 8 }, wrap: { flexDirection: "row", flexWrap: "wrap", gap: 8 } });
7455
7109
 
7456
7110
  // src/native/toast.tsx
7457
- import * as React55 from "react";
7458
- import { AccessibilityInfo as AccessibilityInfo15, Animated as Animated27, PanResponder as PanResponder5, Pressable as Pressable36, StyleSheet as StyleSheet63, Text as Text21, View as View74 } from "react-native";
7459
- import { Fragment as Fragment15, jsx as jsx83, jsxs as jsxs73 } from "react/jsx-runtime";
7111
+ import * as React54 from "react";
7112
+ import { AccessibilityInfo as AccessibilityInfo14, Animated as Animated26, PanResponder as PanResponder5, Pressable as Pressable36, StyleSheet as StyleSheet63, Text as Text21, View as View69 } from "react-native";
7113
+ import { Fragment as Fragment15, jsx as jsx78, jsxs as jsxs68 } from "react/jsx-runtime";
7460
7114
  var items = [];
7461
7115
  var listeners2 = /* @__PURE__ */ new Set();
7462
7116
  var counter = 0;
@@ -7491,47 +7145,47 @@ var toast = Object.assign(show, {
7491
7145
  function ToastView({ item, closeLabel, duration }) {
7492
7146
  const { theme, radius: radius3, haptic } = useTheme();
7493
7147
  const reduce = useReducedMotion();
7494
- const [swipe] = React55.useState(() => new Animated27.Value(0));
7495
- const drag = React55.useMemo(
7148
+ const [swipe] = React54.useState(() => new Animated26.Value(0));
7149
+ const drag = React54.useMemo(
7496
7150
  () => PanResponder5.create({
7497
7151
  onMoveShouldSetPanResponder: (_, g) => Math.abs(g.dx) > 8 && Math.abs(g.dx) > Math.abs(g.dy),
7498
7152
  onPanResponderMove: (_, g) => swipe.setValue(g.dx),
7499
7153
  onPanResponderRelease: (_, g) => {
7500
7154
  if (Math.abs(g.dx) > 96 || Math.abs(g.vx) > 0.9) {
7501
- Animated27.timing(swipe, { toValue: Math.sign(g.dx) * 480, duration: 160, useNativeDriver: true }).start(() => dismiss(item.id));
7502
- } else Animated27.spring(swipe, { toValue: 0, useNativeDriver: true }).start();
7155
+ Animated26.timing(swipe, { toValue: Math.sign(g.dx) * 480, duration: 160, useNativeDriver: true }).start(() => dismiss(item.id));
7156
+ } else Animated26.spring(swipe, { toValue: 0, useNativeDriver: true }).start();
7503
7157
  }
7504
7158
  }),
7505
7159
  [swipe, item.id]
7506
7160
  );
7507
- React55.useEffect(() => {
7161
+ React54.useEffect(() => {
7508
7162
  if (item.tone === "success" || item.tone === "warning") haptic(item.tone);
7509
7163
  if (item.tone === "error") haptic("warning");
7510
7164
  }, [item.id]);
7511
- const [enter] = React55.useState(() => new Animated27.Value(reduce ? 1 : 0));
7512
- React55.useEffect(() => {
7165
+ const [enter] = React54.useState(() => new Animated26.Value(reduce ? 1 : 0));
7166
+ React54.useEffect(() => {
7513
7167
  if (reduce) enter.setValue(1);
7514
- else Animated27.timing(enter, { toValue: 1, duration: 220, useNativeDriver: true }).start();
7168
+ else Animated26.timing(enter, { toValue: 1, duration: 220, useNativeDriver: true }).start();
7515
7169
  }, [enter, reduce]);
7516
- React55.useEffect(() => {
7517
- AccessibilityInfo15.announceForAccessibility(item.description ? `${item.title}. ${item.description}` : item.title);
7170
+ React54.useEffect(() => {
7171
+ AccessibilityInfo14.announceForAccessibility(item.description ? `${item.title}. ${item.description}` : item.title);
7518
7172
  }, [item.title, item.description]);
7519
7173
  const ms = item.duration ?? duration;
7520
- React55.useEffect(() => {
7174
+ React54.useEffect(() => {
7521
7175
  if (!Number.isFinite(ms)) return;
7522
7176
  const timer2 = setTimeout(() => dismiss(item.id), ms);
7523
7177
  return () => clearTimeout(timer2);
7524
7178
  }, [item.id, ms]);
7525
7179
  const edge = { success: theme.success, warning: theme.warning, error: theme.danger, info: theme.info, default: theme.borderDefault }[item.tone ?? "default"];
7526
- const text = /* @__PURE__ */ jsxs73(Fragment15, { children: [
7527
- item.icon ? /* @__PURE__ */ jsx83(View74, { "aria-hidden": true, children: item.icon }) : null,
7528
- /* @__PURE__ */ jsxs73(View74, { style: styles63.content, children: [
7529
- /* @__PURE__ */ jsx83(Txt, { variant: "label", numberOfLines: 2, children: item.title }),
7530
- item.description ? /* @__PURE__ */ jsx83(Txt, { variant: "caption", tone: "secondary", numberOfLines: 3, children: item.description }) : null
7180
+ const text = /* @__PURE__ */ jsxs68(Fragment15, { children: [
7181
+ item.icon ? /* @__PURE__ */ jsx78(View69, { "aria-hidden": true, children: item.icon }) : null,
7182
+ /* @__PURE__ */ jsxs68(View69, { style: styles63.content, children: [
7183
+ /* @__PURE__ */ jsx78(Txt, { variant: "label", numberOfLines: 2, children: item.title }),
7184
+ item.description ? /* @__PURE__ */ jsx78(Txt, { variant: "caption", tone: "secondary", numberOfLines: 3, children: item.description }) : null
7531
7185
  ] })
7532
7186
  ] });
7533
- const body = /* @__PURE__ */ jsxs73(Fragment15, { children: [
7534
- item.onPress ? /* @__PURE__ */ jsx83(
7187
+ const body = /* @__PURE__ */ jsxs68(Fragment15, { children: [
7188
+ item.onPress ? /* @__PURE__ */ jsx78(
7535
7189
  Pressable36,
7536
7190
  {
7537
7191
  role: "button",
@@ -7542,8 +7196,8 @@ function ToastView({ item, closeLabel, duration }) {
7542
7196
  style: ({ pressed }) => [styles63.main, { opacity: pressed ? 0.8 : 1 }],
7543
7197
  children: text
7544
7198
  }
7545
- ) : /* @__PURE__ */ jsx83(View74, { style: styles63.main, children: text }),
7546
- item.action ? /* @__PURE__ */ jsx83(
7199
+ ) : /* @__PURE__ */ jsx78(View69, { style: styles63.main, children: text }),
7200
+ item.action ? /* @__PURE__ */ jsx78(
7547
7201
  Pressable36,
7548
7202
  {
7549
7203
  role: "button",
@@ -7552,23 +7206,23 @@ function ToastView({ item, closeLabel, duration }) {
7552
7206
  dismiss(item.id);
7553
7207
  },
7554
7208
  style: [styles63.action, { backgroundColor: theme.accent, borderRadius: radius3.sm }],
7555
- children: /* @__PURE__ */ jsx83(Text21, { style: [styles63.actionLabel, { color: theme.onAccent }], children: item.action.label })
7209
+ children: /* @__PURE__ */ jsx78(Text21, { style: [styles63.actionLabel, { color: theme.onAccent }], children: item.action.label })
7556
7210
  }
7557
7211
  ) : null,
7558
- /* @__PURE__ */ jsx83(Pressable36, { role: "button", "aria-label": closeLabel, hitSlop: 10, onPress: () => dismiss(item.id), style: styles63.close, children: /* @__PURE__ */ jsx83(Text21, { style: [styles63.cross, { color: theme.textSecondary }], children: "\xD7" }) })
7212
+ /* @__PURE__ */ jsx78(Pressable36, { role: "button", "aria-label": closeLabel, hitSlop: 10, onPress: () => dismiss(item.id), style: styles63.close, children: /* @__PURE__ */ jsx78(Text21, { style: [styles63.cross, { color: theme.textSecondary }], children: "\xD7" }) })
7559
7213
  ] });
7560
7214
  const frame = [
7561
7215
  styles63.toast,
7562
7216
  { backgroundColor: theme.surface2, borderColor: theme.borderDefault, borderLeftColor: edge, borderRadius: radius3.lg, shadowColor: theme.scrimStrong }
7563
7217
  ];
7564
7218
  const motion3 = { transform: [{ translateY: enter.interpolate({ inputRange: [0, 1], outputRange: [-8, 0] }) }, { translateX: swipe }] };
7565
- return /* @__PURE__ */ jsx83(Animated27.View, { "aria-live": "polite", style: motion3, ...drag.panHandlers, children: /* @__PURE__ */ jsx83(View74, { style: frame, children: body }) });
7219
+ return /* @__PURE__ */ jsx78(Animated26.View, { "aria-live": "polite", style: motion3, ...drag.panHandlers, children: /* @__PURE__ */ jsx78(View69, { style: frame, children: body }) });
7566
7220
  }
7567
7221
  function Toaster({ closeLabel, position = "top", offset = 12, duration = 6e3, max = 3 }) {
7568
- const all = React55.useSyncExternalStore(subscribe2, snapshot, snapshot);
7222
+ const all = React54.useSyncExternalStore(subscribe2, snapshot, snapshot);
7569
7223
  const shown = all.slice(-max);
7570
7224
  if (shown.length === 0) return null;
7571
- return /* @__PURE__ */ jsx83(View74, { pointerEvents: "box-none", style: [styles63.stack, position === "top" ? { top: offset } : { bottom: offset }], children: (position === "top" ? shown : [...shown].reverse()).map((item) => /* @__PURE__ */ jsx83(ToastView, { item, closeLabel, duration }, item.id)) });
7225
+ return /* @__PURE__ */ jsx78(View69, { pointerEvents: "box-none", style: [styles63.stack, position === "top" ? { top: offset } : { bottom: offset }], children: (position === "top" ? shown : [...shown].reverse()).map((item) => /* @__PURE__ */ jsx78(ToastView, { item, closeLabel, duration }, item.id)) });
7572
7226
  }
7573
7227
  var styles63 = StyleSheet63.create({
7574
7228
  stack: { position: "absolute", left: 12, right: 12, gap: 8, zIndex: 100 },
@@ -7593,28 +7247,28 @@ var styles63 = StyleSheet63.create({
7593
7247
  });
7594
7248
 
7595
7249
  // src/native/update-prompt.tsx
7596
- import { StyleSheet as StyleSheet64, View as View75 } from "react-native";
7597
- import { jsx as jsx84, jsxs as jsxs74 } from "react/jsx-runtime";
7250
+ import { StyleSheet as StyleSheet64, View as View70 } from "react-native";
7251
+ import { jsx as jsx79, jsxs as jsxs69 } from "react/jsx-runtime";
7598
7252
  function UpdatePrompt({ title, message, versionLabel, mark, updateLabel, onUpdate, laterLabel, onLater, style }) {
7599
7253
  const { theme, radius: radius3 } = useTheme();
7600
- return /* @__PURE__ */ jsxs74(
7601
- View75,
7254
+ return /* @__PURE__ */ jsxs69(
7255
+ View70,
7602
7256
  {
7603
7257
  role: "region",
7604
7258
  "aria-label": title,
7605
7259
  style: [styles64.root, { backgroundColor: theme.surface1, borderColor: theme.borderSubtle, borderRadius: radius3.xl }, style],
7606
7260
  children: [
7607
- /* @__PURE__ */ jsxs74(View75, { style: styles64.head, children: [
7608
- mark ? /* @__PURE__ */ jsx84(View75, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: styles64.mark, children: mark }) : null,
7609
- /* @__PURE__ */ jsxs74(View75, { style: styles64.text, children: [
7610
- /* @__PURE__ */ jsx84(Txt, { variant: "label", children: title }),
7611
- message ? /* @__PURE__ */ jsx84(Txt, { tone: "secondary", children: message }) : null,
7612
- versionLabel ? /* @__PURE__ */ jsx84(Txt, { variant: "mono", tone: "secondary", children: versionLabel }) : null
7261
+ /* @__PURE__ */ jsxs69(View70, { style: styles64.head, children: [
7262
+ mark ? /* @__PURE__ */ jsx79(View70, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: styles64.mark, children: mark }) : null,
7263
+ /* @__PURE__ */ jsxs69(View70, { style: styles64.text, children: [
7264
+ /* @__PURE__ */ jsx79(Txt, { variant: "label", children: title }),
7265
+ message ? /* @__PURE__ */ jsx79(Txt, { tone: "secondary", children: message }) : null,
7266
+ versionLabel ? /* @__PURE__ */ jsx79(Txt, { variant: "mono", tone: "secondary", children: versionLabel }) : null
7613
7267
  ] })
7614
7268
  ] }),
7615
- /* @__PURE__ */ jsxs74(View75, { style: styles64.actions, children: [
7616
- /* @__PURE__ */ jsx84(Button, { label: laterLabel, variant: "ghost", size: "sm", onPress: onLater }),
7617
- /* @__PURE__ */ jsx84(Button, { label: updateLabel, variant: "primary", size: "sm", onPress: onUpdate })
7269
+ /* @__PURE__ */ jsxs69(View70, { style: styles64.actions, children: [
7270
+ /* @__PURE__ */ jsx79(Button, { label: laterLabel, variant: "ghost", size: "sm", onPress: onLater }),
7271
+ /* @__PURE__ */ jsx79(Button, { label: updateLabel, variant: "primary", size: "sm", onPress: onUpdate })
7618
7272
  ] })
7619
7273
  ]
7620
7274
  }
@@ -7629,15 +7283,15 @@ var styles64 = StyleSheet64.create({
7629
7283
  });
7630
7284
 
7631
7285
  // src/native/verified-badge.tsx
7632
- import { StyleSheet as StyleSheet65, View as View76 } from "react-native";
7633
- import Svg37, { Path as Path31 } from "react-native-svg";
7634
- import { jsx as jsx85, jsxs as jsxs75 } from "react/jsx-runtime";
7286
+ import { StyleSheet as StyleSheet65, View as View71 } from "react-native";
7287
+ import Svg33, { Path as Path27 } from "react-native-svg";
7288
+ import { jsx as jsx80, jsxs as jsxs70 } from "react/jsx-runtime";
7635
7289
  function VerifiedBadge({ label, showLabel, size = 16, on = "surface" }) {
7636
7290
  const { theme } = useTheme();
7637
- return /* @__PURE__ */ jsxs75(View76, { accessible: true, role: "img", "aria-label": label, style: styles65.row, children: [
7638
- /* @__PURE__ */ jsxs75(Svg37, { width: size, height: size, viewBox: "0 0 24 24", "aria-hidden": true, children: [
7639
- /* @__PURE__ */ jsx85(
7640
- Path31,
7291
+ return /* @__PURE__ */ jsxs70(View71, { accessible: true, role: "img", "aria-label": label, style: styles65.row, children: [
7292
+ /* @__PURE__ */ jsxs70(Svg33, { width: size, height: size, viewBox: "0 0 24 24", "aria-hidden": true, children: [
7293
+ /* @__PURE__ */ jsx80(
7294
+ Path27,
7641
7295
  {
7642
7296
  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",
7643
7297
  fill: theme.accent,
@@ -7645,16 +7299,16 @@ function VerifiedBadge({ label, showLabel, size = 16, on = "surface" }) {
7645
7299
  strokeWidth: 1.2
7646
7300
  }
7647
7301
  ),
7648
- /* @__PURE__ */ jsx85(Path31, { d: "M8.3 12.3l2.5 2.5 4.9-5.2", fill: "none", stroke: theme.onAccent, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" })
7302
+ /* @__PURE__ */ jsx80(Path27, { d: "M8.3 12.3l2.5 2.5 4.9-5.2", fill: "none", stroke: theme.onAccent, strokeWidth: 2.2, strokeLinecap: "round", strokeLinejoin: "round" })
7649
7303
  ] }),
7650
- showLabel ? /* @__PURE__ */ jsx85(Txt, { variant: "caption", tone: on === "media" ? "onMedia" : "accent", style: styles65.text, children: label }) : null
7304
+ showLabel ? /* @__PURE__ */ jsx80(Txt, { variant: "caption", tone: on === "media" ? "onMedia" : "accent", style: styles65.text, children: label }) : null
7651
7305
  ] });
7652
7306
  }
7653
7307
  var styles65 = StyleSheet65.create({ row: { flexDirection: "row", alignItems: "center", gap: 4 }, text: { fontWeight: "700" } });
7654
7308
 
7655
7309
  // src/native/waveform.tsx
7656
- import * as React56 from "react";
7657
- import { Animated as Animated28, AppState as AppState2, Easing as Easing14, StyleSheet as StyleSheet66, View as View77 } from "react-native";
7310
+ import * as React55 from "react";
7311
+ import { Animated as Animated27, AppState as AppState2, Easing as Easing13, StyleSheet as StyleSheet66, View as View72 } from "react-native";
7658
7312
 
7659
7313
  // src/waveform/bars.ts
7660
7314
  function resamplePeaks(peaks, count) {
@@ -7669,30 +7323,30 @@ function resamplePeaks(peaks, count) {
7669
7323
  }
7670
7324
 
7671
7325
  // src/native/waveform.tsx
7672
- import { jsx as jsx86 } from "react/jsx-runtime";
7326
+ import { jsx as jsx81 } from "react/jsx-runtime";
7673
7327
  var HEIGHT = { sm: 24, md: 40, lg: 64 };
7674
7328
  function Waveform({ peaks, bars = 32, size = "md", tone: tone3 = "accent", playing = false, label, style, ...props }) {
7675
7329
  const { theme } = useTheme();
7676
7330
  const reduce = useReducedMotion();
7677
- const [active, setActive] = React56.useState(() => AppState2.currentState === "active");
7678
- React56.useEffect(() => {
7331
+ const [active, setActive] = React55.useState(() => AppState2.currentState === "active");
7332
+ React55.useEffect(() => {
7679
7333
  const subscription = AppState2.addEventListener("change", (state) => setActive(state === "active"));
7680
7334
  return () => subscription.remove();
7681
7335
  }, []);
7682
- const shape = React56.useMemo(() => resamplePeaks(peaks ?? [], bars), [peaks, bars]);
7683
- const values = React56.useMemo(() => shape.map(() => new Animated28.Value(1)), [shape]);
7336
+ const shape = React55.useMemo(() => resamplePeaks(peaks ?? [], bars), [peaks, bars]);
7337
+ const values = React55.useMemo(() => shape.map(() => new Animated27.Value(1)), [shape]);
7684
7338
  const moving = playing && !reduce && active;
7685
- React56.useEffect(() => {
7339
+ React55.useEffect(() => {
7686
7340
  if (!moving) {
7687
7341
  values.forEach((value) => value.setValue(1));
7688
7342
  return;
7689
7343
  }
7690
7344
  const loops = values.map((value, i) => {
7691
7345
  value.setValue(i * 7 % 11 / 11);
7692
- const loop = Animated28.loop(
7693
- Animated28.sequence([
7694
- Animated28.timing(value, { toValue: 1, duration: 800, easing: Easing14.inOut(Easing14.ease), useNativeDriver: true }),
7695
- Animated28.timing(value, { toValue: 0, duration: 800, easing: Easing14.inOut(Easing14.ease), useNativeDriver: true })
7346
+ const loop = Animated27.loop(
7347
+ Animated27.sequence([
7348
+ Animated27.timing(value, { toValue: 1, duration: 800, easing: Easing13.inOut(Easing13.ease), useNativeDriver: true }),
7349
+ Animated27.timing(value, { toValue: 0, duration: 800, easing: Easing13.inOut(Easing13.ease), useNativeDriver: true })
7696
7350
  ])
7697
7351
  );
7698
7352
  loop.start();
@@ -7702,8 +7356,8 @@ function Waveform({ peaks, bars = 32, size = "md", tone: tone3 = "accent", playi
7702
7356
  }, [moving, values]);
7703
7357
  const named = label !== void 0;
7704
7358
  const barColour = tone3 === "neutral" ? theme.borderStrong : theme.accent;
7705
- return /* @__PURE__ */ jsx86(
7706
- View77,
7359
+ return /* @__PURE__ */ jsx81(
7360
+ View72,
7707
7361
  {
7708
7362
  ...props,
7709
7363
  accessible: named,
@@ -7712,8 +7366,8 @@ function Waveform({ peaks, bars = 32, size = "md", tone: tone3 = "accent", playi
7712
7366
  "aria-hidden": named ? void 0 : true,
7713
7367
  importantForAccessibility: named ? "yes" : "no-hide-descendants",
7714
7368
  style: [styles66.root, { height: HEIGHT[size] }, style],
7715
- children: shape.map((peak, i) => /* @__PURE__ */ jsx86(
7716
- Animated28.View,
7369
+ children: shape.map((peak, i) => /* @__PURE__ */ jsx81(
7370
+ Animated27.View,
7717
7371
  {
7718
7372
  testID: "waveform-bar",
7719
7373
  style: [
@@ -7781,7 +7435,6 @@ export {
7781
7435
  Header,
7782
7436
  IconButton,
7783
7437
  ImageViewer,
7784
- KachizakaMark,
7785
7438
  KrizakaMark,
7786
7439
  ListDetail,
7787
7440
  Loader,
@@ -7794,14 +7447,12 @@ export {
7794
7447
  MatchDialog,
7795
7448
  MessageBubble,
7796
7449
  MessageComposer,
7797
- MetaRow,
7798
7450
  Meter,
7799
7451
  MonthPicker,
7800
7452
  NumberTicker,
7801
7453
  OfflineBanner,
7802
7454
  Onboarding,
7803
7455
  OrazakaMark,
7804
- OrochiaMark,
7805
7456
  OtpInput,
7806
7457
  Pagination,
7807
7458
  PermissionPrompt,
@@ -7857,10 +7508,7 @@ export {
7857
7508
  Wheel,
7858
7509
  WheelDivider,
7859
7510
  WheelPicker,
7860
- YasakiaMark,
7861
- YazakiaMark,
7862
7511
  YomizakaMark,
7863
- YororisMark,
7864
7512
  addDays,
7865
7513
  addMonths,
7866
7514
  ageOn,