@testerpaykit/expo 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1003,7 +1003,7 @@ function findAssignmentForTask(tasks, key) {
1003
1003
  }
1004
1004
 
1005
1005
  // package.json
1006
- var version = "0.9.0";
1006
+ var version = "0.9.2";
1007
1007
 
1008
1008
  // src/version.ts
1009
1009
  var SDK_VERSION = `@testerpaykit/expo/${version}`;
@@ -1865,7 +1865,7 @@ function toError(cause) {
1865
1865
  }
1866
1866
 
1867
1867
  // src/FloatingFeedbackButton.tsx
1868
- import React5, { useCallback as useCallback2, useEffect as useEffect3, useMemo as useMemo2, useRef as useRef3, useState as useState3 } from "react";
1868
+ import React6, { useCallback as useCallback2, useEffect as useEffect3, useMemo as useMemo2, useRef as useRef3, useState as useState3 } from "react";
1869
1869
  import {
1870
1870
  Animated,
1871
1871
  Dimensions as Dimensions2,
@@ -2018,6 +2018,238 @@ function useTpkTheme() {
2018
2018
  return useContext3(TpkThemeContext);
2019
2019
  }
2020
2020
 
2021
+ // src/i18n.tsx
2022
+ import React4, { createContext as createContext4, useContext as useContext4 } from "react";
2023
+ var localization = null;
2024
+ void (async () => {
2025
+ try {
2026
+ localization = await import("expo-localization");
2027
+ } catch {
2028
+ }
2029
+ })();
2030
+ function toTpkLanguage(code) {
2031
+ return code?.toLowerCase().startsWith("de") ? "de" : "en";
2032
+ }
2033
+ function detectDeviceLanguage() {
2034
+ try {
2035
+ const code = localization?.getLocales?.()[0]?.languageCode;
2036
+ if (code) return toTpkLanguage(code);
2037
+ } catch {
2038
+ }
2039
+ try {
2040
+ return toTpkLanguage(Intl.DateTimeFormat().resolvedOptions().locale);
2041
+ } catch {
2042
+ return "en";
2043
+ }
2044
+ }
2045
+ var TpkLanguageContext = createContext4(null);
2046
+ function TpkLanguageProvider({
2047
+ language,
2048
+ children
2049
+ }) {
2050
+ return /* @__PURE__ */ React4.createElement(TpkLanguageContext.Provider, { value: language ?? null }, children);
2051
+ }
2052
+ function useTpkLanguage() {
2053
+ return useContext4(TpkLanguageContext) ?? detectDeviceLanguage();
2054
+ }
2055
+ function useTpkStrings() {
2056
+ return TPK_STRINGS[useTpkLanguage()];
2057
+ }
2058
+ var TPK_STRINGS = {
2059
+ de: {
2060
+ menuReportBug: "Bug melden",
2061
+ menuFeedback: "Feedback",
2062
+ menuAutoTest: "Auto-Test (KI)",
2063
+ menuCachedCrashes: (n) => n === 1 ? "1 gespeicherten Absturz senden" : `${n} gespeicherte Abst\xFCrze senden`,
2064
+ menuWorkboard: "Meine \xDCbersicht",
2065
+ menuMyBugs: "Meine Bugs",
2066
+ menuSessionDetails: "Sitzungsdetails",
2067
+ menuMessages: "Nachrichten",
2068
+ menuRetests: "Meine Nachtests",
2069
+ menuDebugLogs: "Debug-Logs",
2070
+ menuEndSession: "Sitzung beenden",
2071
+ menuSessionEarnings: "Dein Verdienst",
2072
+ menuOpen: "Feedback-Men\xFC \xF6ffnen",
2073
+ menuClose: "Feedback-Men\xFC schlie\xDFen",
2074
+ reportTitle: "Bug melden",
2075
+ reportClose: "Bug-Meldung schlie\xDFen",
2076
+ reportSpeak: "Bug einsprechen",
2077
+ stepTitles: ["Art", "Schwere", "Details", "Schritte", "Pr\xFCfen"],
2078
+ cancel: "Abbrechen",
2079
+ back: "Zur\xFCck",
2080
+ continue: "Weiter \u2192",
2081
+ submit: "Senden \u2191",
2082
+ typeBug: "Bug",
2083
+ typeBugDescription: "Etwas geht nicht",
2084
+ typeCrash: "Absturz",
2085
+ typeCrashDescription: "Die App hat sich pl\xF6tzlich geschlossen",
2086
+ typeUiIssue: "Sieht kaputt aus",
2087
+ typeUiIssueDescription: "Layout oder Darstellung stimmt nicht",
2088
+ typePerformance: "Langsam",
2089
+ typePerformanceDescription: "L\xE4dt oder reagiert zu langsam",
2090
+ typeFeature: "Wunsch",
2091
+ typeFeatureDescription: "Das sollte anders funktionieren",
2092
+ typeFeedback: "Feedback",
2093
+ typeFeedbackDescription: "Allgemeine Anmerkung",
2094
+ severityCritical: "Kritisch",
2095
+ severityCriticalDescription: "Blockiert \u2014 die App ist unbenutzbar",
2096
+ severityHigh: "Hoch",
2097
+ severityHighDescription: "St\xF6rt einen wichtigen Ablauf deutlich",
2098
+ severityMedium: "Mittel",
2099
+ severityMediumDescription: "Sp\xFCrbar, aber es gibt einen Umweg",
2100
+ severityLow: "Niedrig",
2101
+ severityLowDescription: "Kleinigkeit / rein optisch",
2102
+ frequencyAlways: "Immer (100 %)",
2103
+ frequencyOften: "Oft (>50 %)",
2104
+ frequencySometimes: "Manchmal (<50 %)",
2105
+ frequencyOnce: "Bisher nur einmal",
2106
+ fieldTitle: "Titel",
2107
+ fieldTitlePlaceholder: "Kurz in einer Zeile",
2108
+ fieldDescription: "Beschreibung",
2109
+ fieldDescriptionPlaceholder: "Was wolltest du tun, und was ging schief?",
2110
+ fieldExpected: "Erwartet",
2111
+ fieldExpectedPlaceholder: "Was h\xE4tte passieren sollen?",
2112
+ fieldActual: "Tats\xE4chlich",
2113
+ fieldActualPlaceholder: "Was ist stattdessen passiert?",
2114
+ fieldFrequency: "Wie oft passiert das?",
2115
+ fieldComponent: "Betroffener Bereich (optional)",
2116
+ fieldComponentPlaceholder: "z. B. Kasse / Einstellungen / Warenkorb",
2117
+ attachments: "Anh\xE4nge",
2118
+ attachScreenshot: "Screenshot",
2119
+ attachImage: "Bild",
2120
+ attachFile: "Datei",
2121
+ attachA11y: (label) => `${label} anh\xE4ngen`,
2122
+ removeA11y: (name) => `${name} entfernen`,
2123
+ stepsAdd: "Schritt zum Nachstellen hinzuf\xFCgen",
2124
+ stepsPlaceholder: "z. B. Warenkorb \xF6ffnen",
2125
+ stepsAddA11y: "Schritt hinzuf\xFCgen",
2126
+ stepsEmpty: "Noch keine Schritte \u2014 freiwillig, aber eine gute Anleitung beschleunigt die Behebung.",
2127
+ stepsReorderHint: "Lange auf \u2261 dr\xFCcken, um die Reihenfolge zu \xE4ndern.",
2128
+ stepsDragA11y: (n) => `Schritt ${n} verschieben`,
2129
+ stepsRemoveA11y: (n) => `Schritt ${n} entfernen`,
2130
+ reviewType: "Art",
2131
+ reviewSeverity: "Schwere",
2132
+ reviewTitle: "Titel",
2133
+ reviewDescription: "Beschreibung",
2134
+ reviewExpected: "Erwartet",
2135
+ reviewActual: "Tats\xE4chlich",
2136
+ reviewFrequency: "H\xE4ufigkeit",
2137
+ reviewComponent: "Betroffener Bereich",
2138
+ reviewSteps: "Schritte",
2139
+ reviewAttachments: "Anh\xE4nge",
2140
+ reviewEmpty: "(leer)",
2141
+ errorRejected: "Senden nicht m\xF6glich \u2014 der Server hat die Meldung abgelehnt (vielleicht ist deine Tester-Sitzung abgelaufen). Dein Entwurf bleibt erhalten; bitte versuch es noch einmal.",
2142
+ errorFailed: "Senden fehlgeschlagen \u2014 bitte versuch es noch einmal.",
2143
+ errorAttachmentLimit: (max) => `H\xF6chstens ${max} Anh\xE4nge.`,
2144
+ errorAttachmentSize: (mb) => `Zusammen mehr als ${mb} MB.`,
2145
+ errorNoCaptureRef: "Kein Bildschirm-Bezug \xFCbergeben \u2014 Screenshot ist aus.",
2146
+ errorNeedsViewShot: "F\xFCr Screenshots fehlt react-native-view-shot.",
2147
+ errorScreenshotFailed: "Screenshot fehlgeschlagen.",
2148
+ errorNeedsImagePicker: "F\xFCr Bilder fehlt expo-image-picker.",
2149
+ errorImageNoData: "Das Bild enthielt keine Daten.",
2150
+ errorImagePickFailed: "Bild konnte nicht gew\xE4hlt werden.",
2151
+ errorNeedsDocumentPicker: "F\xFCr Dateien fehlt expo-document-picker.",
2152
+ errorFileUnreadable: "Datei nicht lesbar (expo-file-system fehlt).",
2153
+ errorFilePickFailed: "Datei konnte nicht gew\xE4hlt werden."
2154
+ },
2155
+ en: {
2156
+ menuReportBug: "Report Bug",
2157
+ menuFeedback: "Feedback",
2158
+ menuAutoTest: "Auto Test (AI)",
2159
+ menuCachedCrashes: (n) => `Send ${n} cached ${n === 1 ? "crash" : "crashes"}`,
2160
+ menuWorkboard: "My Workboard",
2161
+ menuMyBugs: "My Bugs",
2162
+ menuSessionDetails: "Session Details",
2163
+ menuMessages: "Messages",
2164
+ menuRetests: "My Retests",
2165
+ menuDebugLogs: "Debug Logs",
2166
+ menuEndSession: "End Session",
2167
+ menuSessionEarnings: "Session earnings",
2168
+ menuOpen: "Open feedback menu",
2169
+ menuClose: "Close feedback menu",
2170
+ reportTitle: "Report a Bug",
2171
+ reportClose: "Close bug report",
2172
+ reportSpeak: "Speak the bug",
2173
+ stepTitles: ["Bug Type", "Severity", "Details", "Steps", "Review"],
2174
+ cancel: "Cancel",
2175
+ back: "Back",
2176
+ continue: "Continue \u2192",
2177
+ submit: "Submit \u2191",
2178
+ typeBug: "Bug",
2179
+ typeBugDescription: "Something's broken",
2180
+ typeCrash: "Crash",
2181
+ typeCrashDescription: "App closed unexpectedly",
2182
+ typeUiIssue: "UI issue",
2183
+ typeUiIssueDescription: "Layout or visual problem",
2184
+ typePerformance: "Slow",
2185
+ typePerformanceDescription: "Performance issue",
2186
+ typeFeature: "Feature",
2187
+ typeFeatureDescription: "I'd like this to work differently",
2188
+ typeFeedback: "Feedback",
2189
+ typeFeedbackDescription: "General comment",
2190
+ severityCritical: "Critical",
2191
+ severityCriticalDescription: "Blocks the user \u2014 app unusable",
2192
+ severityHigh: "High",
2193
+ severityHighDescription: "Significant impact on core flow",
2194
+ severityMedium: "Medium",
2195
+ severityMediumDescription: "Noticeable problem, workaround exists",
2196
+ severityLow: "Low",
2197
+ severityLowDescription: "Minor / cosmetic",
2198
+ frequencyAlways: "Always (100%)",
2199
+ frequencyOften: "Often (>50%)",
2200
+ frequencySometimes: "Sometimes (<50%)",
2201
+ frequencyOnce: "Only once so far",
2202
+ fieldTitle: "Title",
2203
+ fieldTitlePlaceholder: "One-line summary",
2204
+ fieldDescription: "Description",
2205
+ fieldDescriptionPlaceholder: "What were you trying to do, and what went wrong?",
2206
+ fieldExpected: "Expected behavior",
2207
+ fieldExpectedPlaceholder: "What should have happened?",
2208
+ fieldActual: "Actual behavior",
2209
+ fieldActualPlaceholder: "What actually happened?",
2210
+ fieldFrequency: "How often does this happen?",
2211
+ fieldComponent: "Affected component (optional)",
2212
+ fieldComponentPlaceholder: "e.g. checkout / settings / cart",
2213
+ attachments: "Attachments",
2214
+ attachScreenshot: "Screenshot",
2215
+ attachImage: "Image",
2216
+ attachFile: "File",
2217
+ attachA11y: (label) => `Attach ${label.toLowerCase()}`,
2218
+ removeA11y: (name) => `Remove ${name}`,
2219
+ stepsAdd: "Add a reproduction step",
2220
+ stepsPlaceholder: "e.g. Open cart",
2221
+ stepsAddA11y: "Add step",
2222
+ stepsEmpty: "No steps added yet \u2014 this is optional, but a good repro accelerates the fix.",
2223
+ stepsReorderHint: "Long-press the \u2261 handle to reorder.",
2224
+ stepsDragA11y: (n) => `Drag step ${n}`,
2225
+ stepsRemoveA11y: (n) => `Remove step ${n}`,
2226
+ reviewType: "Type",
2227
+ reviewSeverity: "Severity",
2228
+ reviewTitle: "Title",
2229
+ reviewDescription: "Description",
2230
+ reviewExpected: "Expected",
2231
+ reviewActual: "Actual",
2232
+ reviewFrequency: "Frequency",
2233
+ reviewComponent: "Affected component",
2234
+ reviewSteps: "Steps",
2235
+ reviewAttachments: "Attachments",
2236
+ reviewEmpty: "(empty)",
2237
+ errorRejected: "Could not submit \u2014 the server rejected the report (your tester session may have expired). Your draft is kept; please try again.",
2238
+ errorFailed: "Bug report failed \u2014 please try again.",
2239
+ errorAttachmentLimit: (max) => `Limit reached (${max}).`,
2240
+ errorAttachmentSize: (mb) => `Total above ${mb} MB.`,
2241
+ errorNoCaptureRef: "No view ref provided \u2014 capture is disabled.",
2242
+ errorNeedsViewShot: "Screenshot needs react-native-view-shot.",
2243
+ errorScreenshotFailed: "Screenshot capture failed.",
2244
+ errorNeedsImagePicker: "Install expo-image-picker to attach images.",
2245
+ errorImageNoData: "Image had no base64 payload.",
2246
+ errorImagePickFailed: "Image pick failed.",
2247
+ errorNeedsDocumentPicker: "Install expo-document-picker to attach files.",
2248
+ errorFileUnreadable: "Could not read file (install expo-file-system).",
2249
+ errorFilePickFailed: "File pick failed."
2250
+ }
2251
+ };
2252
+
2021
2253
  // src/tour-storage.ts
2022
2254
  var WIDGET_TOUR_SEEN_STORAGE_KEY = "tpk-widget-tour-seen";
2023
2255
  async function hasSeenWidgetTour(storage) {
@@ -2036,7 +2268,7 @@ async function resetWidgetTourSeen(storage) {
2036
2268
  }
2037
2269
 
2038
2270
  // src/WidgetTour.tsx
2039
- import React4, { useCallback, useRef as useRef2, useState as useState2 } from "react";
2271
+ import React5, { useCallback, useRef as useRef2, useState as useState2 } from "react";
2040
2272
  import {
2041
2273
  Dimensions,
2042
2274
  Modal,
@@ -2102,7 +2334,7 @@ function WidgetTour({
2102
2334
  if (isLast) onDone();
2103
2335
  else goTo(index + 1);
2104
2336
  }, [isLast, onDone, goTo, index]);
2105
- return /* @__PURE__ */ React4.createElement(
2337
+ return /* @__PURE__ */ React5.createElement(
2106
2338
  Modal,
2107
2339
  {
2108
2340
  animationType: "slide",
@@ -2110,7 +2342,7 @@ function WidgetTour({
2110
2342
  transparent: true,
2111
2343
  visible
2112
2344
  },
2113
- /* @__PURE__ */ React4.createElement(View, { style: [styles.backdrop, style] }, /* @__PURE__ */ React4.createElement(
2345
+ /* @__PURE__ */ React5.createElement(View, { style: [styles.backdrop, style] }, /* @__PURE__ */ React5.createElement(
2114
2346
  View,
2115
2347
  {
2116
2348
  style: styles.sheet,
@@ -2119,7 +2351,7 @@ function WidgetTour({
2119
2351
  if (w > 0 && Math.abs(w - cardWidth) > 1) setCardWidth(w);
2120
2352
  }
2121
2353
  },
2122
- /* @__PURE__ */ React4.createElement(View, { style: styles.topBar }, /* @__PURE__ */ React4.createElement(View, { style: styles.grabber }), /* @__PURE__ */ React4.createElement(
2354
+ /* @__PURE__ */ React5.createElement(View, { style: styles.topBar }, /* @__PURE__ */ React5.createElement(View, { style: styles.grabber }), /* @__PURE__ */ React5.createElement(
2123
2355
  Pressable,
2124
2356
  {
2125
2357
  accessibilityRole: "button",
@@ -2128,9 +2360,9 @@ function WidgetTour({
2128
2360
  style: styles.skipButton,
2129
2361
  hitSlop: 8
2130
2362
  },
2131
- /* @__PURE__ */ React4.createElement(Text2, { style: styles.skipLabel }, "\xDCberspringen")
2363
+ /* @__PURE__ */ React5.createElement(Text2, { style: styles.skipLabel }, "\xDCberspringen")
2132
2364
  )),
2133
- /* @__PURE__ */ React4.createElement(
2365
+ /* @__PURE__ */ React5.createElement(
2134
2366
  ScrollView,
2135
2367
  {
2136
2368
  ref: scrollRef,
@@ -2141,16 +2373,16 @@ function WidgetTour({
2141
2373
  scrollEventThrottle: 16,
2142
2374
  testID
2143
2375
  },
2144
- CARDS.map((card) => /* @__PURE__ */ React4.createElement(Card, { key: card.key, card, width: cardWidth }))
2376
+ CARDS.map((card) => /* @__PURE__ */ React5.createElement(Card, { key: card.key, card, width: cardWidth }))
2145
2377
  ),
2146
- /* @__PURE__ */ React4.createElement(
2378
+ /* @__PURE__ */ React5.createElement(
2147
2379
  View,
2148
2380
  {
2149
2381
  style: styles.dots,
2150
2382
  accessibilityRole: "adjustable",
2151
2383
  accessibilityLabel: `Karte ${index + 1} von ${CARDS.length}`
2152
2384
  },
2153
- CARDS.map((card, i) => /* @__PURE__ */ React4.createElement(
2385
+ CARDS.map((card, i) => /* @__PURE__ */ React5.createElement(
2154
2386
  View,
2155
2387
  {
2156
2388
  key: card.key,
@@ -2158,7 +2390,7 @@ function WidgetTour({
2158
2390
  }
2159
2391
  ))
2160
2392
  ),
2161
- /* @__PURE__ */ React4.createElement(View, { style: styles.footer }, /* @__PURE__ */ React4.createElement(
2393
+ /* @__PURE__ */ React5.createElement(View, { style: styles.footer }, /* @__PURE__ */ React5.createElement(
2162
2394
  Pressable,
2163
2395
  {
2164
2396
  accessibilityRole: "button",
@@ -2168,8 +2400,8 @@ function WidgetTour({
2168
2400
  onPress: () => goTo(index - 1),
2169
2401
  style: [styles.backButton, isFirst && styles.backButtonHidden]
2170
2402
  },
2171
- /* @__PURE__ */ React4.createElement(Text2, { style: styles.backLabel }, "Zur\xFCck")
2172
- ), /* @__PURE__ */ React4.createElement(
2403
+ /* @__PURE__ */ React5.createElement(Text2, { style: styles.backLabel }, "Zur\xFCck")
2404
+ ), /* @__PURE__ */ React5.createElement(
2173
2405
  Pressable,
2174
2406
  {
2175
2407
  accessibilityRole: "button",
@@ -2180,7 +2412,7 @@ function WidgetTour({
2180
2412
  pressed && styles.primaryButtonPressed
2181
2413
  ]
2182
2414
  },
2183
- /* @__PURE__ */ React4.createElement(Text2, { style: styles.primaryLabel }, isLast ? "Los geht's" : "Weiter")
2415
+ /* @__PURE__ */ React5.createElement(Text2, { style: styles.primaryLabel }, isLast ? "Los geht's" : "Weiter")
2184
2416
  ))
2185
2417
  ))
2186
2418
  );
@@ -2189,17 +2421,17 @@ function Card({
2189
2421
  card,
2190
2422
  width
2191
2423
  }) {
2192
- return /* @__PURE__ */ React4.createElement(View, { style: [styles.cardPage, { width }] }, /* @__PURE__ */ React4.createElement(
2424
+ return /* @__PURE__ */ React5.createElement(View, { style: [styles.cardPage, { width }] }, /* @__PURE__ */ React5.createElement(
2193
2425
  View,
2194
2426
  {
2195
2427
  accessible: true,
2196
2428
  accessibilityLabel: `${card.title}. ${card.body}`,
2197
2429
  style: [styles.card, card.hero && styles.cardHero]
2198
2430
  },
2199
- /* @__PURE__ */ React4.createElement(View, { style: [styles.emojiWrap, card.hero && styles.emojiWrapHero] }, /* @__PURE__ */ React4.createElement(Text2, { style: styles.emoji }, card.emoji)),
2200
- card.hero && /* @__PURE__ */ React4.createElement(View, { style: styles.heroBadge }, /* @__PURE__ */ React4.createElement(Text2, { style: styles.heroBadgeLabel }, "NEU")),
2201
- /* @__PURE__ */ React4.createElement(Text2, { style: [styles.cardTitle, card.hero && styles.cardTitleHero] }, card.title),
2202
- /* @__PURE__ */ React4.createElement(Text2, { style: styles.cardBody }, card.body)
2431
+ /* @__PURE__ */ React5.createElement(View, { style: [styles.emojiWrap, card.hero && styles.emojiWrapHero] }, /* @__PURE__ */ React5.createElement(Text2, { style: styles.emoji }, card.emoji)),
2432
+ card.hero && /* @__PURE__ */ React5.createElement(View, { style: styles.heroBadge }, /* @__PURE__ */ React5.createElement(Text2, { style: styles.heroBadgeLabel }, "NEU")),
2433
+ /* @__PURE__ */ React5.createElement(Text2, { style: [styles.cardTitle, card.hero && styles.cardTitleHero] }, card.title),
2434
+ /* @__PURE__ */ React5.createElement(Text2, { style: styles.cardBody }, card.body)
2203
2435
  ));
2204
2436
  }
2205
2437
  var SHEET_PADDING = 20;
@@ -2460,6 +2692,7 @@ function FloatingFeedbackButton({
2460
2692
  enableFirstTapTour = true,
2461
2693
  tourStorage
2462
2694
  }) {
2695
+ const S = useTpkStrings();
2463
2696
  const theme = useTpkTheme();
2464
2697
  const [pos, setPos] = useState3(() => position ?? { x: 16, y: 100 });
2465
2698
  const [expanded, setExpanded] = useState3(false);
@@ -2569,14 +2802,14 @@ function FloatingFeedbackButton({
2569
2802
  {
2570
2803
  key: "report-bug",
2571
2804
  icon: "bug_report",
2572
- label: "Report Bug",
2805
+ label: S.menuReportBug,
2573
2806
  color: "#DC2626",
2574
2807
  onTap: () => handleAction(onReportBug)
2575
2808
  },
2576
2809
  {
2577
2810
  key: "feedback",
2578
2811
  icon: "feedback",
2579
- label: "Feedback",
2812
+ label: S.menuFeedback,
2580
2813
  color: "#2563EB",
2581
2814
  onTap: () => handleAction(onGeneralFeedback)
2582
2815
  }
@@ -2585,7 +2818,7 @@ function FloatingFeedbackButton({
2585
2818
  opts.push({
2586
2819
  key: "auto-test",
2587
2820
  icon: "sparkle",
2588
- label: "Auto Test (AI)",
2821
+ label: S.menuAutoTest,
2589
2822
  color: "#7C3AED",
2590
2823
  onTap: () => handleAction(onAutoTest)
2591
2824
  });
@@ -2594,7 +2827,7 @@ function FloatingFeedbackButton({
2594
2827
  opts.push({
2595
2828
  key: "cached-crashes",
2596
2829
  icon: "cloud_upload",
2597
- label: `Send ${notificationCount} cached ${notificationCount === 1 ? "crash" : "crashes"}`,
2830
+ label: S.menuCachedCrashes(notificationCount),
2598
2831
  color: "#7C3AED",
2599
2832
  onTap: () => handleAction(() => {
2600
2833
  void Promise.resolve(onFlushCachedCrashes());
@@ -2604,7 +2837,7 @@ function FloatingFeedbackButton({
2604
2837
  opts.push({
2605
2838
  key: "workboard",
2606
2839
  icon: "dashboard",
2607
- label: "My Workboard",
2840
+ label: S.menuWorkboard,
2608
2841
  color: "#16A34A",
2609
2842
  onTap: () => handleAction(onViewDashboard)
2610
2843
  });
@@ -2612,7 +2845,7 @@ function FloatingFeedbackButton({
2612
2845
  opts.push({
2613
2846
  key: "my-bugs",
2614
2847
  icon: "bug_report",
2615
- label: "My Bugs",
2848
+ label: S.menuMyBugs,
2616
2849
  color: "#0EA5E9",
2617
2850
  onTap: () => handleAction(onShowMyBugs)
2618
2851
  });
@@ -2621,7 +2854,7 @@ function FloatingFeedbackButton({
2621
2854
  opts.push({
2622
2855
  key: "session-details",
2623
2856
  icon: "trend_up",
2624
- label: "Session Details",
2857
+ label: S.menuSessionDetails,
2625
2858
  color: "#16A34A",
2626
2859
  onTap: () => handleAction(onShowSessionDetails)
2627
2860
  });
@@ -2630,7 +2863,7 @@ function FloatingFeedbackButton({
2630
2863
  opts.push({
2631
2864
  key: "messages",
2632
2865
  icon: "feedback",
2633
- label: unreadMessageCount > 0 ? `Nachrichten (${unreadMessageCount})` : "Nachrichten",
2866
+ label: unreadMessageCount > 0 ? `${S.menuMessages} (${unreadMessageCount})` : S.menuMessages,
2634
2867
  color: unreadMessageCount > 0 ? "#0EA5E9" : "#64748B",
2635
2868
  onTap: () => handleAction(onShowMessages)
2636
2869
  });
@@ -2639,7 +2872,7 @@ function FloatingFeedbackButton({
2639
2872
  opts.push({
2640
2873
  key: "retests",
2641
2874
  icon: "refresh",
2642
- label: retestCount > 0 ? `My Retests (${retestCount})` : "My Retests",
2875
+ label: retestCount > 0 ? `${S.menuRetests} (${retestCount})` : S.menuRetests,
2643
2876
  color: retestCount > 0 ? "#EA580C" : "#9333EA",
2644
2877
  onTap: () => handleAction(onShowRetests)
2645
2878
  });
@@ -2648,7 +2881,7 @@ function FloatingFeedbackButton({
2648
2881
  opts.push({
2649
2882
  key: "debug-logs",
2650
2883
  icon: "bug_report",
2651
- label: "Debug Logs",
2884
+ label: S.menuDebugLogs,
2652
2885
  color: "#4F46E5",
2653
2886
  onTap: () => handleAction(onShowDebugLogs)
2654
2887
  });
@@ -2656,7 +2889,7 @@ function FloatingFeedbackButton({
2656
2889
  opts.push({
2657
2890
  key: "end-session",
2658
2891
  icon: "session_end",
2659
- label: "End Session",
2892
+ label: S.menuEndSession,
2660
2893
  color: "#EA580C",
2661
2894
  onTap: () => handleAction(onEndSession)
2662
2895
  });
@@ -2676,7 +2909,8 @@ function FloatingFeedbackButton({
2676
2909
  onAutoTest,
2677
2910
  onFlushCachedCrashes,
2678
2911
  notificationCount,
2679
- handleAction
2912
+ handleAction,
2913
+ S
2680
2914
  ]);
2681
2915
  const iconRotation = expandAnim.interpolate({
2682
2916
  inputRange: [0, 1],
@@ -2687,14 +2921,14 @@ function FloatingFeedbackButton({
2687
2921
  const openLeft = pos.x + FAB_SIZE / 2 > win.width / 2;
2688
2922
  const anchorHorizontal = openLeft ? { right: win.width - pos.x - FAB_SIZE, alignItems: "flex-end" } : { left: pos.x, alignItems: "flex-start" };
2689
2923
  const anchorPos = openUp ? { ...anchorHorizontal, bottom: win.height - pos.y - FAB_SIZE } : { ...anchorHorizontal, top: pos.y };
2690
- return /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(WidgetTour, { visible: tourVisible, onDone: handleTourDone }), expanded && /* @__PURE__ */ React5.createElement(
2924
+ return /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(WidgetTour, { visible: tourVisible, onDone: handleTourDone }), expanded && /* @__PURE__ */ React6.createElement(
2691
2925
  Pressable2,
2692
2926
  {
2693
- accessibilityLabel: "Close feedback menu",
2927
+ accessibilityLabel: S.menuClose,
2694
2928
  onPress: toggleExpanded,
2695
2929
  style: styles2.backdrop
2696
2930
  }
2697
- ), /* @__PURE__ */ React5.createElement(
2931
+ ), /* @__PURE__ */ React6.createElement(
2698
2932
  View2,
2699
2933
  {
2700
2934
  pointerEvents: "box-none",
@@ -2706,7 +2940,7 @@ function FloatingFeedbackButton({
2706
2940
  ],
2707
2941
  testID
2708
2942
  },
2709
- /* @__PURE__ */ React5.createElement(
2943
+ /* @__PURE__ */ React6.createElement(
2710
2944
  Animated.View,
2711
2945
  {
2712
2946
  pointerEvents: expanded ? "auto" : "none",
@@ -2729,20 +2963,20 @@ function FloatingFeedbackButton({
2729
2963
  }
2730
2964
  ]
2731
2965
  },
2732
- sessionStartedAt && /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(
2966
+ sessionStartedAt && /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement(
2733
2967
  EarningsHeader,
2734
2968
  {
2735
2969
  amount: currentEarnings,
2736
2970
  currencySymbol: currencySymbol(earningsCurrency)
2737
2971
  }
2738
- ), /* @__PURE__ */ React5.createElement(View2, { style: styles2.divider })),
2739
- menuOptions.map((opt, idx) => /* @__PURE__ */ React5.createElement(React5.Fragment, { key: opt.key }, idx > 0 && /* @__PURE__ */ React5.createElement(View2, { style: styles2.divider }), /* @__PURE__ */ React5.createElement(MenuRow, { option: opt })))
2972
+ ), /* @__PURE__ */ React6.createElement(View2, { style: styles2.divider })),
2973
+ menuOptions.map((opt, idx) => /* @__PURE__ */ React6.createElement(React6.Fragment, { key: opt.key }, idx > 0 && /* @__PURE__ */ React6.createElement(View2, { style: styles2.divider }), /* @__PURE__ */ React6.createElement(MenuRow, { option: opt })))
2740
2974
  ),
2741
- /* @__PURE__ */ React5.createElement(View2, { ...panResponder.panHandlers }, /* @__PURE__ */ React5.createElement(
2975
+ /* @__PURE__ */ React6.createElement(View2, { ...panResponder.panHandlers }, /* @__PURE__ */ React6.createElement(
2742
2976
  Pressable2,
2743
2977
  {
2744
2978
  accessibilityRole: "button",
2745
- accessibilityLabel: "Open feedback menu",
2979
+ accessibilityLabel: S.menuOpen,
2746
2980
  onPress: handleFabTap,
2747
2981
  onLongPress: onLongPressVoiceBug ? async () => {
2748
2982
  if (expanded) toggleExpanded();
@@ -2754,7 +2988,7 @@ function FloatingFeedbackButton({
2754
2988
  pressed && styles2.fabPressed
2755
2989
  ]
2756
2990
  },
2757
- /* @__PURE__ */ React5.createElement(Animated.View, { style: { transform: [{ rotate: iconRotation }] } }, /* @__PURE__ */ React5.createElement(
2991
+ /* @__PURE__ */ React6.createElement(Animated.View, { style: { transform: [{ rotate: iconRotation }] } }, /* @__PURE__ */ React6.createElement(
2758
2992
  TpkIcon,
2759
2993
  {
2760
2994
  name: expanded ? "close" : "bug_report",
@@ -2762,12 +2996,12 @@ function FloatingFeedbackButton({
2762
2996
  color: "#FFFFFF"
2763
2997
  }
2764
2998
  ))
2765
- ), notificationCount > 0 && /* @__PURE__ */ React5.createElement(
2999
+ ), notificationCount > 0 && /* @__PURE__ */ React6.createElement(
2766
3000
  View2,
2767
3001
  {
2768
3002
  style: [styles2.badge, { borderColor: theme.errorColour }]
2769
3003
  },
2770
- /* @__PURE__ */ React5.createElement(
3004
+ /* @__PURE__ */ React6.createElement(
2771
3005
  Text3,
2772
3006
  {
2773
3007
  style: [styles2.badgeLabel, { color: theme.errorColour }]
@@ -2781,10 +3015,11 @@ function EarningsHeader({
2781
3015
  amount,
2782
3016
  currencySymbol: currencySymbol3
2783
3017
  }) {
2784
- return /* @__PURE__ */ React5.createElement(View2, { style: styles2.earningsRow }, /* @__PURE__ */ React5.createElement(Text3, { style: styles2.earningsLabel }, "Session earnings"), /* @__PURE__ */ React5.createElement(Text3, { style: styles2.earningsAmount }, currencySymbol3, amount.toFixed(2)));
3018
+ const S = useTpkStrings();
3019
+ return /* @__PURE__ */ React6.createElement(View2, { style: styles2.earningsRow }, /* @__PURE__ */ React6.createElement(Text3, { style: styles2.earningsLabel }, S.menuSessionEarnings), /* @__PURE__ */ React6.createElement(Text3, { style: styles2.earningsAmount }, currencySymbol3, amount.toFixed(2)));
2785
3020
  }
2786
3021
  function MenuRow({ option }) {
2787
- return /* @__PURE__ */ React5.createElement(
3022
+ return /* @__PURE__ */ React6.createElement(
2788
3023
  Pressable2,
2789
3024
  {
2790
3025
  accessibilityRole: "button",
@@ -2795,7 +3030,7 @@ function MenuRow({ option }) {
2795
3030
  pressed && styles2.menuRowPressed
2796
3031
  ]
2797
3032
  },
2798
- /* @__PURE__ */ React5.createElement(
3033
+ /* @__PURE__ */ React6.createElement(
2799
3034
  View2,
2800
3035
  {
2801
3036
  style: [
@@ -2803,9 +3038,9 @@ function MenuRow({ option }) {
2803
3038
  { backgroundColor: option.color + "22" }
2804
3039
  ]
2805
3040
  },
2806
- /* @__PURE__ */ React5.createElement(TpkIcon, { name: option.icon, size: 18, color: option.color })
3041
+ /* @__PURE__ */ React6.createElement(TpkIcon, { name: option.icon, size: 18, color: option.color })
2807
3042
  ),
2808
- /* @__PURE__ */ React5.createElement(Text3, { style: styles2.menuLabel }, option.label)
3043
+ /* @__PURE__ */ React6.createElement(Text3, { style: styles2.menuLabel }, option.label)
2809
3044
  );
2810
3045
  }
2811
3046
  function clamp(n, min, max) {
@@ -2944,7 +3179,7 @@ var styles2 = StyleSheet2.create({
2944
3179
  });
2945
3180
 
2946
3181
  // src/BugReportSheet.tsx
2947
- import React6, {
3182
+ import React7, {
2948
3183
  useCallback as useCallback3,
2949
3184
  useEffect as useEffect4,
2950
3185
  useMemo as useMemo3,
@@ -3104,6 +3339,27 @@ function isMissingModuleError(e) {
3104
3339
  return /Cannot find module|react-native-view-shot/.test(msg);
3105
3340
  }
3106
3341
 
3342
+ // src/safe-area.ts
3343
+ import { Platform as Platform3, StatusBar } from "react-native";
3344
+ var safeArea = null;
3345
+ void (async () => {
3346
+ try {
3347
+ safeArea = await import("react-native-safe-area-context");
3348
+ } catch {
3349
+ }
3350
+ })();
3351
+ function getModalInsets() {
3352
+ const insets = safeArea?.initialWindowMetrics?.insets;
3353
+ if (insets && typeof insets.top === "number") {
3354
+ return { top: insets.top, bottom: insets.bottom ?? 0 };
3355
+ }
3356
+ if (Platform3.OS === "android") {
3357
+ return { top: StatusBar.currentHeight ?? 0, bottom: 0 };
3358
+ }
3359
+ if (Platform3.OS === "ios") return { top: 54, bottom: 34 };
3360
+ return { top: 0, bottom: 0 };
3361
+ }
3362
+
3107
3363
  // src/BugReportSheet.tsx
3108
3364
  function createBugReportDraft(input = {}) {
3109
3365
  const reproductionSteps = input.reproductionSteps ? [...input.reproductionSteps] : input.reproductionStepsText ? input.reproductionStepsText.split(/\r?\n/).map((s) => s.trim()).filter(Boolean) : [];
@@ -3160,77 +3416,60 @@ async function submitBugReportDraft(tpk, draft) {
3160
3416
  }
3161
3417
  return result;
3162
3418
  }
3163
- var STEP_TITLES = [
3164
- "Bug Type",
3165
- "Severity",
3166
- "Details",
3167
- "Steps",
3168
- "Review"
3169
- ];
3170
3419
  var BUG_TYPES = [
3171
- { value: "bug", label: "Bug", icon: "bug_report", description: "Something's broken" },
3172
- {
3173
- value: "crash",
3174
- label: "Crash",
3175
- icon: "crash",
3176
- description: "App closed unexpectedly"
3177
- },
3178
- {
3179
- value: "uiIssue",
3180
- label: "UI issue",
3181
- icon: "palette",
3182
- description: "Layout or visual problem"
3183
- },
3420
+ { value: "bug", label: "typeBug", icon: "bug_report", description: "typeBugDescription" },
3421
+ { value: "crash", label: "typeCrash", icon: "crash", description: "typeCrashDescription" },
3422
+ { value: "uiIssue", label: "typeUiIssue", icon: "palette", description: "typeUiIssueDescription" },
3184
3423
  {
3185
3424
  value: "performance",
3186
- label: "Slow",
3425
+ label: "typePerformance",
3187
3426
  icon: "speed_slow",
3188
- description: "Performance issue"
3427
+ description: "typePerformanceDescription"
3189
3428
  },
3190
3429
  {
3191
3430
  value: "featureRequest",
3192
- label: "Feature",
3431
+ label: "typeFeature",
3193
3432
  icon: "sparkle",
3194
- description: "I'd like this to work differently"
3433
+ description: "typeFeatureDescription"
3195
3434
  },
3196
3435
  {
3197
3436
  value: "generalFeedback",
3198
- label: "Feedback",
3437
+ label: "typeFeedback",
3199
3438
  icon: "feedback",
3200
- description: "General comment"
3439
+ description: "typeFeedbackDescription"
3201
3440
  }
3202
3441
  ];
3203
3442
  var SEVERITIES = [
3204
3443
  {
3205
3444
  value: "critical",
3206
- label: "Critical",
3445
+ label: "severityCritical",
3207
3446
  color: "#B91C1C",
3208
- description: "Blocks the user \u2014 app unusable"
3447
+ description: "severityCriticalDescription"
3209
3448
  },
3210
3449
  {
3211
3450
  value: "high",
3212
- label: "High",
3451
+ label: "severityHigh",
3213
3452
  color: "#EA580C",
3214
- description: "Significant impact on core flow"
3453
+ description: "severityHighDescription"
3215
3454
  },
3216
3455
  {
3217
3456
  value: "medium",
3218
- label: "Medium",
3457
+ label: "severityMedium",
3219
3458
  color: "#CA8A04",
3220
- description: "Noticeable problem, workaround exists"
3459
+ description: "severityMediumDescription"
3221
3460
  },
3222
3461
  {
3223
3462
  value: "low",
3224
- label: "Low",
3463
+ label: "severityLow",
3225
3464
  color: "#16A34A",
3226
- description: "Minor / cosmetic"
3465
+ description: "severityLowDescription"
3227
3466
  }
3228
3467
  ];
3229
3468
  var FREQUENCIES = [
3230
- { value: "always", label: "Always (100%)" },
3231
- { value: "often", label: "Often (>50%)" },
3232
- { value: "sometimes", label: "Sometimes (<50%)" },
3233
- { value: "once", label: "Only once so far" }
3469
+ { value: "always", label: "frequencyAlways" },
3470
+ { value: "often", label: "frequencyOften" },
3471
+ { value: "sometimes", label: "frequencySometimes" },
3472
+ { value: "once", label: "frequencyOnce" }
3234
3473
  ];
3235
3474
  var DEFAULT_MAX_ATTACHMENTS = 10;
3236
3475
  var DEFAULT_MAX_TOTAL_MB = 25;
@@ -3251,6 +3490,7 @@ function BugReportSheet({
3251
3490
  maxTotalSizeMB = DEFAULT_MAX_TOTAL_MB,
3252
3491
  style
3253
3492
  }) {
3493
+ const S = useTpkStrings();
3254
3494
  const initialDraft = useMemo3(() => {
3255
3495
  const base = createBugReportDraft({
3256
3496
  currentScreen,
@@ -3317,9 +3557,7 @@ function BugReportSheet({
3317
3557
  const response = await submitBugReportDraft(tpk, draft);
3318
3558
  onSubmitted?.(response);
3319
3559
  if (response.outcome === "failedPermanent") {
3320
- setSubmitBanner(
3321
- "Could not submit \u2014 the server rejected the report (your tester session may have expired). Your draft is kept; please try again."
3322
- );
3560
+ setSubmitBanner(S.errorRejected);
3323
3561
  return;
3324
3562
  }
3325
3563
  onClose();
@@ -3327,7 +3565,7 @@ function BugReportSheet({
3327
3565
  onError?.(
3328
3566
  cause instanceof Error ? cause : new Error("Bug report failed.")
3329
3567
  );
3330
- setSubmitBanner("Bug report failed \u2014 please try again.");
3568
+ setSubmitBanner(S.errorFailed);
3331
3569
  } finally {
3332
3570
  setSubmitting(false);
3333
3571
  }
@@ -3336,7 +3574,7 @@ function BugReportSheet({
3336
3574
  (att) => {
3337
3575
  setDraft((cur) => {
3338
3576
  if (cur.attachments.length >= maxAttachments) {
3339
- setAttachmentError(`Limit reached (${maxAttachments}).`);
3577
+ setAttachmentError(S.errorAttachmentLimit(maxAttachments));
3340
3578
  return cur;
3341
3579
  }
3342
3580
  const nextBytes = cur.attachments.reduce(
@@ -3345,14 +3583,14 @@ function BugReportSheet({
3345
3583
  );
3346
3584
  const addBytes = att.byteLength ?? att.base64.length;
3347
3585
  if ((nextBytes + addBytes) / 1024 / 1024 > maxTotalSizeMB) {
3348
- setAttachmentError(`Total above ${maxTotalSizeMB} MB.`);
3586
+ setAttachmentError(S.errorAttachmentSize(maxTotalSizeMB));
3349
3587
  return cur;
3350
3588
  }
3351
3589
  setAttachmentError(null);
3352
3590
  return { ...cur, attachments: [...cur.attachments, att] };
3353
3591
  });
3354
3592
  },
3355
- [maxAttachments, maxTotalSizeMB]
3593
+ [maxAttachments, maxTotalSizeMB, S]
3356
3594
  );
3357
3595
  const removeAttachment = useCallback3((id) => {
3358
3596
  setDraft((cur) => ({
@@ -3362,9 +3600,7 @@ function BugReportSheet({
3362
3600
  }, []);
3363
3601
  const captureScreenshot = useCallback3(async () => {
3364
3602
  if (!captureRootRef) {
3365
- setAttachmentError(
3366
- "No view ref provided \u2014 capture is disabled."
3367
- );
3603
+ setAttachmentError(S.errorNoCaptureRef);
3368
3604
  return;
3369
3605
  }
3370
3606
  try {
@@ -3373,7 +3609,7 @@ function BugReportSheet({
3373
3609
  redactSensitive: true
3374
3610
  });
3375
3611
  if (!result) {
3376
- setAttachmentError("Screenshot needs react-native-view-shot.");
3612
+ setAttachmentError(S.errorNeedsViewShot);
3377
3613
  return;
3378
3614
  }
3379
3615
  addAttachment({
@@ -3386,10 +3622,10 @@ function BugReportSheet({
3386
3622
  });
3387
3623
  } catch (e) {
3388
3624
  setAttachmentError(
3389
- e instanceof Error ? e.message : "Screenshot capture failed."
3625
+ e instanceof Error ? e.message : S.errorScreenshotFailed
3390
3626
  );
3391
3627
  }
3392
- }, [captureRootRef, addAttachment]);
3628
+ }, [captureRootRef, addAttachment, S]);
3393
3629
  const autoCapturedRef = useRef4(false);
3394
3630
  useEffect4(() => {
3395
3631
  if (!visible) {
@@ -3407,7 +3643,7 @@ function BugReportSheet({
3407
3643
  try {
3408
3644
  const mod = await import("expo-image-picker");
3409
3645
  if (!mod.launchImageLibraryAsync) {
3410
- setAttachmentError("Install expo-image-picker to attach images.");
3646
+ setAttachmentError(S.errorNeedsImagePicker);
3411
3647
  return;
3412
3648
  }
3413
3649
  const res = await mod.launchImageLibraryAsync({
@@ -3418,7 +3654,7 @@ function BugReportSheet({
3418
3654
  if (res.canceled || !res.assets || res.assets.length === 0) return;
3419
3655
  const asset = res.assets[0];
3420
3656
  if (!asset.base64) {
3421
- setAttachmentError("Image had no base64 payload.");
3657
+ setAttachmentError(S.errorImageNoData);
3422
3658
  return;
3423
3659
  }
3424
3660
  addAttachment({
@@ -3431,15 +3667,15 @@ function BugReportSheet({
3431
3667
  });
3432
3668
  } catch (e) {
3433
3669
  setAttachmentError(
3434
- e instanceof Error ? e.message : "Image pick failed."
3670
+ e instanceof Error ? e.message : S.errorImagePickFailed
3435
3671
  );
3436
3672
  }
3437
- }, [addAttachment]);
3673
+ }, [addAttachment, S]);
3438
3674
  const pickFile = useCallback3(async () => {
3439
3675
  try {
3440
3676
  const mod = await import("expo-document-picker");
3441
3677
  if (!mod.getDocumentAsync) {
3442
- setAttachmentError("Install expo-document-picker to attach files.");
3678
+ setAttachmentError(S.errorNeedsDocumentPicker);
3443
3679
  return;
3444
3680
  }
3445
3681
  const res = await mod.getDocumentAsync({});
@@ -3456,7 +3692,7 @@ function BugReportSheet({
3456
3692
  } catch {
3457
3693
  }
3458
3694
  if (!base64) {
3459
- setAttachmentError("Could not read file (install expo-file-system).");
3695
+ setAttachmentError(S.errorFileUnreadable);
3460
3696
  return;
3461
3697
  }
3462
3698
  addAttachment({
@@ -3469,13 +3705,14 @@ function BugReportSheet({
3469
3705
  });
3470
3706
  } catch (e) {
3471
3707
  setAttachmentError(
3472
- e instanceof Error ? e.message : "File pick failed."
3708
+ e instanceof Error ? e.message : S.errorFilePickFailed
3473
3709
  );
3474
3710
  }
3475
- }, [addAttachment]);
3711
+ }, [addAttachment, S]);
3712
+ const insets = getModalInsets();
3476
3713
  const isFinalStep = step === 4;
3477
3714
  const canContinue = step === 2 ? canSubmitBugReportDraft(draft) : true;
3478
- return /* @__PURE__ */ React6.createElement(
3715
+ return /* @__PURE__ */ React7.createElement(
3479
3716
  Modal2,
3480
3717
  {
3481
3718
  animationType: "slide",
@@ -3483,25 +3720,26 @@ function BugReportSheet({
3483
3720
  transparent: false,
3484
3721
  visible
3485
3722
  },
3486
- /* @__PURE__ */ React6.createElement(View3, { style: [styles3.root, style] }, /* @__PURE__ */ React6.createElement(
3723
+ /* @__PURE__ */ React7.createElement(View3, { style: [styles3.root, style] }, /* @__PURE__ */ React7.createElement(
3487
3724
  Header,
3488
3725
  {
3726
+ topInset: insets.top,
3489
3727
  onClose,
3490
3728
  onOpenVoiceBug
3491
3729
  }
3492
- ), /* @__PURE__ */ React6.createElement(StepIndicator, { current: step }), /* @__PURE__ */ React6.createElement(ScrollView2, { contentContainerStyle: styles3.body }, step === 0 && /* @__PURE__ */ React6.createElement(
3730
+ ), /* @__PURE__ */ React7.createElement(StepIndicator, { current: step }), /* @__PURE__ */ React7.createElement(ScrollView2, { contentContainerStyle: styles3.body }, step === 0 && /* @__PURE__ */ React7.createElement(
3493
3731
  TypeSelectionStep,
3494
3732
  {
3495
3733
  selected: draft.type,
3496
3734
  onSelect: (type) => patchDraft({ type })
3497
3735
  }
3498
- ), step === 1 && /* @__PURE__ */ React6.createElement(
3736
+ ), step === 1 && /* @__PURE__ */ React7.createElement(
3499
3737
  SeveritySelectionStep,
3500
3738
  {
3501
3739
  selected: draft.severity,
3502
3740
  onSelect: (severity) => patchDraft({ severity })
3503
3741
  }
3504
- ), step === 2 && /* @__PURE__ */ React6.createElement(
3742
+ ), step === 2 && /* @__PURE__ */ React7.createElement(
3505
3743
  DetailsStep,
3506
3744
  {
3507
3745
  draft,
@@ -3517,7 +3755,7 @@ function BugReportSheet({
3517
3755
  onRemoveAttachment: removeAttachment,
3518
3756
  captureAvailable: !!captureRootRef
3519
3757
  }
3520
- ), step === 3 && /* @__PURE__ */ React6.createElement(
3758
+ ), step === 3 && /* @__PURE__ */ React7.createElement(
3521
3759
  ReproStepsStep,
3522
3760
  {
3523
3761
  steps: draft.reproductionSteps,
@@ -3540,17 +3778,18 @@ function BugReportSheet({
3540
3778
  }),
3541
3779
  onReorder: (next) => patchDraft({ reproductionSteps: next })
3542
3780
  }
3543
- ), step === 4 && /* @__PURE__ */ React6.createElement(ReviewStep, { draft })), submitBanner && /* @__PURE__ */ React6.createElement(
3781
+ ), step === 4 && /* @__PURE__ */ React7.createElement(ReviewStep, { draft })), submitBanner && /* @__PURE__ */ React7.createElement(
3544
3782
  View3,
3545
3783
  {
3546
3784
  accessibilityRole: "alert",
3547
3785
  accessibilityLabel: submitBanner,
3548
3786
  style: styles3.submitBanner
3549
3787
  },
3550
- /* @__PURE__ */ React6.createElement(Text4, { style: styles3.submitBannerText }, submitBanner)
3551
- ), /* @__PURE__ */ React6.createElement(
3788
+ /* @__PURE__ */ React7.createElement(Text4, { style: styles3.submitBannerText }, submitBanner)
3789
+ ), /* @__PURE__ */ React7.createElement(
3552
3790
  Footer,
3553
3791
  {
3792
+ bottomInset: insets.bottom,
3554
3793
  step,
3555
3794
  isFinalStep,
3556
3795
  submitting,
@@ -3563,39 +3802,42 @@ function BugReportSheet({
3563
3802
  );
3564
3803
  }
3565
3804
  function Header({
3805
+ topInset,
3566
3806
  onClose,
3567
3807
  onOpenVoiceBug
3568
3808
  }) {
3569
3809
  const theme = useTpkTheme();
3570
- return /* @__PURE__ */ React6.createElement(View3, { style: styles3.header }, /* @__PURE__ */ React6.createElement(
3810
+ const S = useTpkStrings();
3811
+ return /* @__PURE__ */ React7.createElement(View3, { style: [styles3.header, { paddingTop: 12 + topInset }] }, /* @__PURE__ */ React7.createElement(
3571
3812
  Pressable3,
3572
3813
  {
3573
3814
  accessibilityRole: "button",
3574
- accessibilityLabel: "Close bug report",
3815
+ accessibilityLabel: S.reportClose,
3575
3816
  onPress: onClose,
3576
3817
  style: styles3.headerIconButton
3577
3818
  },
3578
- /* @__PURE__ */ React6.createElement(TpkIcon, { name: "close", size: 22, color: theme.onSurface })
3579
- ), /* @__PURE__ */ React6.createElement(View3, { style: styles3.headerTitleRow }, /* @__PURE__ */ React6.createElement(TpkIcon, { name: "bug_report", size: 22, color: theme.errorColour }), /* @__PURE__ */ React6.createElement(Text4, { style: styles3.headerTitle }, "Report a Bug")), onOpenVoiceBug && /* @__PURE__ */ React6.createElement(
3819
+ /* @__PURE__ */ React7.createElement(TpkIcon, { name: "close", size: 22, color: theme.onSurface })
3820
+ ), /* @__PURE__ */ React7.createElement(View3, { style: styles3.headerTitleRow }, /* @__PURE__ */ React7.createElement(TpkIcon, { name: "bug_report", size: 22, color: theme.errorColour }), /* @__PURE__ */ React7.createElement(Text4, { style: styles3.headerTitle }, S.reportTitle)), onOpenVoiceBug && /* @__PURE__ */ React7.createElement(
3580
3821
  Pressable3,
3581
3822
  {
3582
3823
  accessibilityRole: "button",
3583
- accessibilityLabel: "Speak the bug",
3824
+ accessibilityLabel: S.reportSpeak,
3584
3825
  onPress: () => {
3585
3826
  void onOpenVoiceBug();
3586
3827
  },
3587
3828
  style: styles3.headerIconButton
3588
3829
  },
3589
- /* @__PURE__ */ React6.createElement(TpkIcon, { name: "voice", size: 22, color: theme.onSurface })
3830
+ /* @__PURE__ */ React7.createElement(TpkIcon, { name: "voice", size: 22, color: theme.onSurface })
3590
3831
  ));
3591
3832
  }
3592
3833
  function StepIndicator({
3593
3834
  current
3594
3835
  }) {
3595
- return /* @__PURE__ */ React6.createElement(View3, { style: styles3.indicator }, STEP_TITLES.map((title, idx) => {
3836
+ const S = useTpkStrings();
3837
+ return /* @__PURE__ */ React7.createElement(View3, { style: styles3.indicator }, S.stepTitles.map((title, idx) => {
3596
3838
  const active = idx === current;
3597
3839
  const done = idx < current;
3598
- return /* @__PURE__ */ React6.createElement(View3, { key: title, style: styles3.indicatorStepWrap }, /* @__PURE__ */ React6.createElement(
3840
+ return /* @__PURE__ */ React7.createElement(View3, { key: title, style: styles3.indicatorStepWrap }, /* @__PURE__ */ React7.createElement(
3599
3841
  View3,
3600
3842
  {
3601
3843
  style: [
@@ -3603,7 +3845,7 @@ function StepIndicator({
3603
3845
  active ? styles3.indicatorDotActive : done ? styles3.indicatorDotDone : styles3.indicatorDotIdle
3604
3846
  ]
3605
3847
  },
3606
- done ? /* @__PURE__ */ React6.createElement(TpkIcon, { name: "check", size: 14, color: "#FFFFFF" }) : /* @__PURE__ */ React6.createElement(
3848
+ done ? /* @__PURE__ */ React7.createElement(TpkIcon, { name: "check", size: 14, color: "#FFFFFF" }) : /* @__PURE__ */ React7.createElement(
3607
3849
  Text4,
3608
3850
  {
3609
3851
  style: [
@@ -3613,7 +3855,7 @@ function StepIndicator({
3613
3855
  },
3614
3856
  String(idx + 1)
3615
3857
  )
3616
- ), /* @__PURE__ */ React6.createElement(
3858
+ ), /* @__PURE__ */ React7.createElement(
3617
3859
  Text4,
3618
3860
  {
3619
3861
  style: [
@@ -3627,6 +3869,7 @@ function StepIndicator({
3627
3869
  }));
3628
3870
  }
3629
3871
  function Footer({
3872
+ bottomInset,
3630
3873
  step,
3631
3874
  isFinalStep,
3632
3875
  submitting,
@@ -3636,7 +3879,8 @@ function Footer({
3636
3879
  onNext
3637
3880
  }) {
3638
3881
  const theme = useTpkTheme();
3639
- return /* @__PURE__ */ React6.createElement(View3, { style: styles3.footer }, /* @__PURE__ */ React6.createElement(
3882
+ const S = useTpkStrings();
3883
+ return /* @__PURE__ */ React7.createElement(View3, { style: [styles3.footer, { paddingBottom: Math.max(16, bottomInset) }] }, /* @__PURE__ */ React7.createElement(
3640
3884
  Pressable3,
3641
3885
  {
3642
3886
  accessibilityRole: "button",
@@ -3647,8 +3891,8 @@ function Footer({
3647
3891
  pressed && { opacity: 0.7 }
3648
3892
  ]
3649
3893
  },
3650
- /* @__PURE__ */ React6.createElement(Text4, { style: styles3.footerSecondaryLabel }, step === 0 ? "Cancel" : "Back")
3651
- ), /* @__PURE__ */ React6.createElement(
3894
+ /* @__PURE__ */ React7.createElement(Text4, { style: styles3.footerSecondaryLabel }, step === 0 ? S.cancel : S.back)
3895
+ ), /* @__PURE__ */ React7.createElement(
3652
3896
  Pressable3,
3653
3897
  {
3654
3898
  accessibilityRole: "button",
@@ -3661,22 +3905,23 @@ function Footer({
3661
3905
  pressed && { opacity: 0.85 }
3662
3906
  ]
3663
3907
  },
3664
- submitting ? /* @__PURE__ */ React6.createElement(ActivityIndicator, { color: "#FAFAF7" }) : /* @__PURE__ */ React6.createElement(Text4, { style: styles3.footerPrimaryLabel }, isFinalStep ? "Submit \u2191" : "Continue \u2192")
3908
+ submitting ? /* @__PURE__ */ React7.createElement(ActivityIndicator, { color: "#FAFAF7" }) : /* @__PURE__ */ React7.createElement(Text4, { style: styles3.footerPrimaryLabel }, isFinalStep ? S.submit : S.continue)
3665
3909
  ));
3666
3910
  }
3667
3911
  function TypeSelectionStep({
3668
3912
  selected,
3669
3913
  onSelect
3670
3914
  }) {
3671
- return /* @__PURE__ */ React6.createElement(View3, { style: styles3.cardList }, BUG_TYPES.map((opt) => /* @__PURE__ */ React6.createElement(
3915
+ const S = useTpkStrings();
3916
+ return /* @__PURE__ */ React7.createElement(View3, { style: styles3.cardList }, BUG_TYPES.map((opt) => /* @__PURE__ */ React7.createElement(
3672
3917
  SelectableCard,
3673
3918
  {
3674
3919
  key: opt.value,
3675
3920
  active: selected === opt.value,
3676
3921
  onPress: () => onSelect(opt.value),
3677
3922
  icon: opt.icon,
3678
- label: opt.label,
3679
- description: opt.description
3923
+ label: S[opt.label],
3924
+ description: S[opt.description]
3680
3925
  }
3681
3926
  )));
3682
3927
  }
@@ -3684,15 +3929,16 @@ function SeveritySelectionStep({
3684
3929
  selected,
3685
3930
  onSelect
3686
3931
  }) {
3687
- return /* @__PURE__ */ React6.createElement(View3, { style: styles3.cardList }, SEVERITIES.map((opt) => /* @__PURE__ */ React6.createElement(
3932
+ const S = useTpkStrings();
3933
+ return /* @__PURE__ */ React7.createElement(View3, { style: styles3.cardList }, SEVERITIES.map((opt) => /* @__PURE__ */ React7.createElement(
3688
3934
  SelectableCard,
3689
3935
  {
3690
3936
  key: opt.value,
3691
3937
  active: selected === opt.value,
3692
3938
  onPress: () => onSelect(opt.value),
3693
3939
  dotColor: opt.color,
3694
- label: opt.label,
3695
- description: opt.description
3940
+ label: S[opt.label],
3941
+ description: S[opt.description]
3696
3942
  }
3697
3943
  )));
3698
3944
  }
@@ -3710,46 +3956,47 @@ function DetailsStep({
3710
3956
  onRemoveAttachment,
3711
3957
  captureAvailable
3712
3958
  }) {
3713
- return /* @__PURE__ */ React6.createElement(View3, { style: styles3.detailsCol }, /* @__PURE__ */ React6.createElement(FieldLabel, { text: "Title", required: true }), /* @__PURE__ */ React6.createElement(
3959
+ const S = useTpkStrings();
3960
+ return /* @__PURE__ */ React7.createElement(View3, { style: styles3.detailsCol }, /* @__PURE__ */ React7.createElement(FieldLabel, { text: S.fieldTitle, required: true }), /* @__PURE__ */ React7.createElement(
3714
3961
  TextInput,
3715
3962
  {
3716
3963
  autoFocus: true,
3717
3964
  onChangeText: (title) => onPatch({ title }),
3718
- placeholder: "One-line summary",
3965
+ placeholder: S.fieldTitlePlaceholder,
3719
3966
  style: styles3.input,
3720
3967
  value: draft.title
3721
3968
  }
3722
- ), /* @__PURE__ */ React6.createElement(FieldLabel, { text: "Description", required: true }), /* @__PURE__ */ React6.createElement(
3969
+ ), /* @__PURE__ */ React7.createElement(FieldLabel, { text: S.fieldDescription, required: true }), /* @__PURE__ */ React7.createElement(
3723
3970
  TextInput,
3724
3971
  {
3725
3972
  multiline: true,
3726
3973
  onChangeText: (description) => onPatch({ description }),
3727
- placeholder: "What were you trying to do, and what went wrong?",
3974
+ placeholder: S.fieldDescriptionPlaceholder,
3728
3975
  style: [styles3.input, styles3.textarea],
3729
3976
  textAlignVertical: "top",
3730
3977
  value: draft.description
3731
3978
  }
3732
- ), /* @__PURE__ */ React6.createElement(FieldLabel, { text: "Expected behavior" }), /* @__PURE__ */ React6.createElement(
3979
+ ), /* @__PURE__ */ React7.createElement(FieldLabel, { text: S.fieldExpected }), /* @__PURE__ */ React7.createElement(
3733
3980
  TextInput,
3734
3981
  {
3735
3982
  multiline: true,
3736
3983
  onChangeText: (expectedBehavior) => onPatch({ expectedBehavior }),
3737
- placeholder: "What should have happened?",
3984
+ placeholder: S.fieldExpectedPlaceholder,
3738
3985
  style: [styles3.input, styles3.textareaSmall],
3739
3986
  textAlignVertical: "top",
3740
3987
  value: draft.expectedBehavior
3741
3988
  }
3742
- ), /* @__PURE__ */ React6.createElement(FieldLabel, { text: "Actual behavior" }), /* @__PURE__ */ React6.createElement(
3989
+ ), /* @__PURE__ */ React7.createElement(FieldLabel, { text: S.fieldActual }), /* @__PURE__ */ React7.createElement(
3743
3990
  TextInput,
3744
3991
  {
3745
3992
  multiline: true,
3746
3993
  onChangeText: (actualBehavior) => onPatch({ actualBehavior }),
3747
- placeholder: "What actually happened?",
3994
+ placeholder: S.fieldActualPlaceholder,
3748
3995
  style: [styles3.input, styles3.textareaSmall],
3749
3996
  textAlignVertical: "top",
3750
3997
  value: draft.actualBehavior
3751
3998
  }
3752
- ), /* @__PURE__ */ React6.createElement(FieldLabel, { text: "How often does this happen?" }), /* @__PURE__ */ React6.createElement(View3, { style: styles3.frequencyRow }, FREQUENCIES.map((f) => /* @__PURE__ */ React6.createElement(
3999
+ ), /* @__PURE__ */ React7.createElement(FieldLabel, { text: S.fieldFrequency }), /* @__PURE__ */ React7.createElement(View3, { style: styles3.frequencyRow }, FREQUENCIES.map((f) => /* @__PURE__ */ React7.createElement(
3753
4000
  Pressable3,
3754
4001
  {
3755
4002
  key: f.value,
@@ -3761,7 +4008,7 @@ function DetailsStep({
3761
4008
  draft.frequency === f.value && styles3.chipActive
3762
4009
  ]
3763
4010
  },
3764
- /* @__PURE__ */ React6.createElement(
4011
+ /* @__PURE__ */ React7.createElement(
3765
4012
  Text4,
3766
4013
  {
3767
4014
  style: [
@@ -3769,31 +4016,31 @@ function DetailsStep({
3769
4016
  draft.frequency === f.value && styles3.chipLabelActive
3770
4017
  ]
3771
4018
  },
3772
- f.label
4019
+ S[f.label]
3773
4020
  )
3774
- ))), /* @__PURE__ */ React6.createElement(FieldLabel, { text: "Affected component (optional)" }), /* @__PURE__ */ React6.createElement(
4021
+ ))), /* @__PURE__ */ React7.createElement(FieldLabel, { text: S.fieldComponent }), /* @__PURE__ */ React7.createElement(
3775
4022
  TextInput,
3776
4023
  {
3777
4024
  onChangeText: (affectedComponent) => onPatch({ affectedComponent }),
3778
- placeholder: "e.g. checkout / settings / cart",
4025
+ placeholder: S.fieldComponentPlaceholder,
3779
4026
  style: styles3.input,
3780
4027
  value: draft.affectedComponent ?? ""
3781
4028
  }
3782
- ), /* @__PURE__ */ React6.createElement(View3, { style: styles3.attachmentsHeader }, /* @__PURE__ */ React6.createElement(
4029
+ ), /* @__PURE__ */ React7.createElement(View3, { style: styles3.attachmentsHeader }, /* @__PURE__ */ React7.createElement(
3783
4030
  FieldLabel,
3784
4031
  {
3785
- text: `Attachments \xB7 ${attachments.length}/${maxAttachments} \xB7 ${totalSizeMB.toFixed(
4032
+ text: `${S.attachments} \xB7 ${attachments.length}/${maxAttachments} \xB7 ${totalSizeMB.toFixed(
3786
4033
  1
3787
4034
  )}/${maxTotalSizeMB} MB`
3788
4035
  }
3789
- )), /* @__PURE__ */ React6.createElement(View3, { style: styles3.captureRow }, captureAvailable && /* @__PURE__ */ React6.createElement(
4036
+ )), /* @__PURE__ */ React7.createElement(View3, { style: styles3.captureRow }, captureAvailable && /* @__PURE__ */ React7.createElement(
3790
4037
  CaptureButton,
3791
4038
  {
3792
4039
  icon: "camera",
3793
- label: "Screenshot",
4040
+ label: S.attachScreenshot,
3794
4041
  onPress: onCaptureScreenshot
3795
4042
  }
3796
- ), /* @__PURE__ */ React6.createElement(CaptureButton, { icon: "image", label: "Image", onPress: onPickImage }), /* @__PURE__ */ React6.createElement(CaptureButton, { icon: "attachment", label: "File", onPress: onPickFile })), attachmentError && /* @__PURE__ */ React6.createElement(Text4, { style: styles3.attachmentError }, attachmentError), attachments.length > 0 && /* @__PURE__ */ React6.createElement(View3, { style: styles3.attachmentList }, attachments.map((att) => /* @__PURE__ */ React6.createElement(
4043
+ ), /* @__PURE__ */ React7.createElement(CaptureButton, { icon: "image", label: S.attachImage, onPress: onPickImage }), /* @__PURE__ */ React7.createElement(CaptureButton, { icon: "attachment", label: S.attachFile, onPress: onPickFile })), attachmentError && /* @__PURE__ */ React7.createElement(Text4, { style: styles3.attachmentError }, attachmentError), attachments.length > 0 && /* @__PURE__ */ React7.createElement(View3, { style: styles3.attachmentList }, attachments.map((att) => /* @__PURE__ */ React7.createElement(
3797
4044
  AttachmentRow,
3798
4045
  {
3799
4046
  key: att.id,
@@ -3818,6 +4065,7 @@ function ReproStepsStep({
3818
4065
  onRemove,
3819
4066
  onReorder
3820
4067
  }) {
4068
+ const S = useTpkStrings();
3821
4069
  const items = steps.map((text, index) => ({
3822
4070
  // Index + text prefix → keys remain unique across reorders even
3823
4071
  // when two steps share the same text.
@@ -3825,40 +4073,40 @@ function ReproStepsStep({
3825
4073
  text,
3826
4074
  index
3827
4075
  }));
3828
- const renderStep = (item, drag) => /* @__PURE__ */ React6.createElement(View3, { style: styles3.stepRow }, drag && /* @__PURE__ */ React6.createElement(
4076
+ const renderStep = (item, drag) => /* @__PURE__ */ React7.createElement(View3, { style: styles3.stepRow }, drag && /* @__PURE__ */ React7.createElement(
3829
4077
  Pressable3,
3830
4078
  {
3831
4079
  accessibilityRole: "button",
3832
- accessibilityLabel: `Drag step ${item.index + 1}`,
4080
+ accessibilityLabel: S.stepsDragA11y(item.index + 1),
3833
4081
  onLongPress: drag,
3834
4082
  delayLongPress: 150,
3835
4083
  style: styles3.stepDragHandle
3836
4084
  },
3837
- /* @__PURE__ */ React6.createElement(Text4, { style: styles3.stepDragHandleGlyph }, "\u2261")
3838
- ), /* @__PURE__ */ React6.createElement(View3, { style: styles3.stepNumber }, /* @__PURE__ */ React6.createElement(Text4, { style: styles3.stepNumberLabel }, item.index + 1)), /* @__PURE__ */ React6.createElement(Text4, { style: [styles3.stepText, styles3.flex1] }, item.text), /* @__PURE__ */ React6.createElement(
4085
+ /* @__PURE__ */ React7.createElement(Text4, { style: styles3.stepDragHandleGlyph }, "\u2261")
4086
+ ), /* @__PURE__ */ React7.createElement(View3, { style: styles3.stepNumber }, /* @__PURE__ */ React7.createElement(Text4, { style: styles3.stepNumberLabel }, item.index + 1)), /* @__PURE__ */ React7.createElement(Text4, { style: [styles3.stepText, styles3.flex1] }, item.text), /* @__PURE__ */ React7.createElement(
3839
4087
  Pressable3,
3840
4088
  {
3841
4089
  accessibilityRole: "button",
3842
- accessibilityLabel: `Remove step ${item.index + 1}`,
4090
+ accessibilityLabel: S.stepsRemoveA11y(item.index + 1),
3843
4091
  onPress: () => onRemove(item.index),
3844
4092
  style: styles3.stepRemove
3845
4093
  },
3846
- /* @__PURE__ */ React6.createElement(TpkIcon, { name: "close", size: 16, color: "#64748B" })
4094
+ /* @__PURE__ */ React7.createElement(TpkIcon, { name: "close", size: 16, color: "#64748B" })
3847
4095
  ));
3848
- return /* @__PURE__ */ React6.createElement(View3, { style: styles3.detailsCol }, /* @__PURE__ */ React6.createElement(FieldLabel, { text: "Add a reproduction step" }), /* @__PURE__ */ React6.createElement(View3, { style: styles3.stepInputRow }, /* @__PURE__ */ React6.createElement(
4096
+ return /* @__PURE__ */ React7.createElement(View3, { style: styles3.detailsCol }, /* @__PURE__ */ React7.createElement(FieldLabel, { text: S.stepsAdd }), /* @__PURE__ */ React7.createElement(View3, { style: styles3.stepInputRow }, /* @__PURE__ */ React7.createElement(
3849
4097
  TextInput,
3850
4098
  {
3851
4099
  onChangeText: onStepInputChange,
3852
- placeholder: "e.g. Open cart",
4100
+ placeholder: S.stepsPlaceholder,
3853
4101
  style: [styles3.input, styles3.flex1],
3854
4102
  value: stepInput,
3855
4103
  onSubmitEditing: onAdd
3856
4104
  }
3857
- ), /* @__PURE__ */ React6.createElement(
4105
+ ), /* @__PURE__ */ React7.createElement(
3858
4106
  Pressable3,
3859
4107
  {
3860
4108
  accessibilityRole: "button",
3861
- accessibilityLabel: "Add step",
4109
+ accessibilityLabel: S.stepsAddA11y,
3862
4110
  onPress: onAdd,
3863
4111
  disabled: !stepInput.trim(),
3864
4112
  style: ({ pressed }) => [
@@ -3867,8 +4115,8 @@ function ReproStepsStep({
3867
4115
  pressed && { opacity: 0.8 }
3868
4116
  ]
3869
4117
  },
3870
- /* @__PURE__ */ React6.createElement(Text4, { style: styles3.stepAddLabel }, "\uFF0B")
3871
- )), steps.length === 0 ? /* @__PURE__ */ React6.createElement(Text4, { style: styles3.muted }, "No steps added yet \u2014 this is optional, but a good repro accelerates the fix.") : DraggableFlatList ? /* @__PURE__ */ React6.createElement(
4118
+ /* @__PURE__ */ React7.createElement(Text4, { style: styles3.stepAddLabel }, "\uFF0B")
4119
+ )), steps.length === 0 ? /* @__PURE__ */ React7.createElement(Text4, { style: styles3.muted }, S.stepsEmpty) : DraggableFlatList ? /* @__PURE__ */ React7.createElement(
3872
4120
  DraggableFlatList,
3873
4121
  {
3874
4122
  data: items,
@@ -3882,67 +4130,71 @@ function ReproStepsStep({
3882
4130
  },
3883
4131
  activationDistance: 8
3884
4132
  }
3885
- ) : items.map((item) => /* @__PURE__ */ React6.createElement(View3, { key: item.key }, renderStep(item))), DraggableFlatList && steps.length > 1 && /* @__PURE__ */ React6.createElement(Text4, { style: styles3.stepHint }, "Long-press the \u2261 handle to reorder."));
4133
+ ) : items.map((item) => /* @__PURE__ */ React7.createElement(View3, { key: item.key }, renderStep(item))), DraggableFlatList && steps.length > 1 && /* @__PURE__ */ React7.createElement(Text4, { style: styles3.stepHint }, S.stepsReorderHint));
3886
4134
  }
3887
4135
  function ReviewStep({
3888
4136
  draft
3889
4137
  }) {
4138
+ const S = useTpkStrings();
3890
4139
  const sev = SEVERITIES.find((s) => s.value === draft.severity);
3891
4140
  const type = BUG_TYPES.find((t) => t.value === draft.type);
3892
- return /* @__PURE__ */ React6.createElement(View3, { style: styles3.detailsCol }, /* @__PURE__ */ React6.createElement(
4141
+ return /* @__PURE__ */ React7.createElement(View3, { style: styles3.detailsCol }, /* @__PURE__ */ React7.createElement(
3893
4142
  ReviewLine,
3894
4143
  {
3895
- label: "Type",
3896
- value: type?.label ?? draft.type,
4144
+ label: S.reviewType,
4145
+ value: type ? S[type.label] : draft.type,
3897
4146
  leadingIcon: type?.icon
3898
4147
  }
3899
- ), /* @__PURE__ */ React6.createElement(
4148
+ ), /* @__PURE__ */ React7.createElement(
3900
4149
  ReviewLine,
3901
4150
  {
3902
- label: "Severity",
3903
- value: sev?.label ?? draft.severity,
4151
+ label: S.reviewSeverity,
4152
+ value: sev ? S[sev.label] : draft.severity,
3904
4153
  valueColor: sev?.color
3905
4154
  }
3906
- ), /* @__PURE__ */ React6.createElement(ReviewLine, { label: "Title", value: draft.title || "(empty)" }), /* @__PURE__ */ React6.createElement(
4155
+ ), /* @__PURE__ */ React7.createElement(ReviewLine, { label: S.reviewTitle, value: draft.title || S.reviewEmpty }), /* @__PURE__ */ React7.createElement(
3907
4156
  ReviewLine,
3908
4157
  {
3909
- label: "Description",
3910
- value: draft.description || "(empty)",
4158
+ label: S.reviewDescription,
4159
+ value: draft.description || S.reviewEmpty,
3911
4160
  multiline: true
3912
4161
  }
3913
- ), draft.expectedBehavior.trim().length > 0 && /* @__PURE__ */ React6.createElement(
4162
+ ), draft.expectedBehavior.trim().length > 0 && /* @__PURE__ */ React7.createElement(
3914
4163
  ReviewLine,
3915
4164
  {
3916
- label: "Expected",
4165
+ label: S.reviewExpected,
3917
4166
  value: draft.expectedBehavior,
3918
4167
  multiline: true
3919
4168
  }
3920
- ), draft.actualBehavior.trim().length > 0 && /* @__PURE__ */ React6.createElement(
4169
+ ), draft.actualBehavior.trim().length > 0 && /* @__PURE__ */ React7.createElement(
3921
4170
  ReviewLine,
3922
4171
  {
3923
- label: "Actual",
4172
+ label: S.reviewActual,
3924
4173
  value: draft.actualBehavior,
3925
4174
  multiline: true
3926
4175
  }
3927
- ), draft.frequency && /* @__PURE__ */ React6.createElement(
4176
+ ), draft.frequency && /* @__PURE__ */ React7.createElement(
3928
4177
  ReviewLine,
3929
4178
  {
3930
- label: "Frequency",
3931
- value: FREQUENCIES.find((f) => f.value === draft.frequency)?.label ?? draft.frequency
4179
+ label: S.reviewFrequency,
4180
+ value: (() => {
4181
+ const f = FREQUENCIES.find((x) => x.value === draft.frequency);
4182
+ return f ? S[f.label] : draft.frequency;
4183
+ })()
3932
4184
  }
3933
- ), !!draft.affectedComponent && /* @__PURE__ */ React6.createElement(
4185
+ ), !!draft.affectedComponent && /* @__PURE__ */ React7.createElement(
3934
4186
  ReviewLine,
3935
4187
  {
3936
- label: "Affected component",
4188
+ label: S.reviewComponent,
3937
4189
  value: draft.affectedComponent
3938
4190
  }
3939
- ), draft.reproductionSteps.length > 0 && /* @__PURE__ */ React6.createElement(View3, { style: { marginTop: 8 } }, /* @__PURE__ */ React6.createElement(Text4, { style: styles3.reviewLabel }, "Steps"), draft.reproductionSteps.map((s, i) => /* @__PURE__ */ React6.createElement(Text4, { key: i, style: styles3.reviewValue }, i + 1, ". ", s))), draft.attachments.length > 0 && /* @__PURE__ */ React6.createElement(View3, { style: { marginTop: 8 } }, /* @__PURE__ */ React6.createElement(Text4, { style: styles3.reviewLabel }, "Attachments"), draft.attachments.map((a) => /* @__PURE__ */ React6.createElement(Text4, { key: a.id, style: styles3.reviewValue }, "\xB7 ", a.name, " (", a.kind, ")"))));
4191
+ ), draft.reproductionSteps.length > 0 && /* @__PURE__ */ React7.createElement(View3, { style: { marginTop: 8 } }, /* @__PURE__ */ React7.createElement(Text4, { style: styles3.reviewLabel }, S.reviewSteps), draft.reproductionSteps.map((s, i) => /* @__PURE__ */ React7.createElement(Text4, { key: i, style: styles3.reviewValue }, i + 1, ". ", s))), draft.attachments.length > 0 && /* @__PURE__ */ React7.createElement(View3, { style: { marginTop: 8 } }, /* @__PURE__ */ React7.createElement(Text4, { style: styles3.reviewLabel }, S.reviewAttachments), draft.attachments.map((a) => /* @__PURE__ */ React7.createElement(Text4, { key: a.id, style: styles3.reviewValue }, "\xB7 ", a.name, " (", a.kind, ")"))));
3940
4192
  }
3941
4193
  function FieldLabel({
3942
4194
  text,
3943
4195
  required
3944
4196
  }) {
3945
- return /* @__PURE__ */ React6.createElement(Text4, { style: styles3.fieldLabel }, text, required && /* @__PURE__ */ React6.createElement(Text4, { style: styles3.required }, " *"));
4197
+ return /* @__PURE__ */ React7.createElement(Text4, { style: styles3.fieldLabel }, text, required && /* @__PURE__ */ React7.createElement(Text4, { style: styles3.required }, " *"));
3946
4198
  }
3947
4199
  function SelectableCard({
3948
4200
  active,
@@ -3952,7 +4204,7 @@ function SelectableCard({
3952
4204
  label,
3953
4205
  description
3954
4206
  }) {
3955
- return /* @__PURE__ */ React6.createElement(
4207
+ return /* @__PURE__ */ React7.createElement(
3956
4208
  Pressable3,
3957
4209
  {
3958
4210
  accessibilityRole: "radio",
@@ -3964,8 +4216,8 @@ function SelectableCard({
3964
4216
  pressed && { opacity: 0.85 }
3965
4217
  ]
3966
4218
  },
3967
- icon && /* @__PURE__ */ React6.createElement(View3, { style: styles3.selectableCardIconWrap }, /* @__PURE__ */ React6.createElement(TpkIcon, { name: icon, size: 22, color: "#0F172A" })),
3968
- dotColor && /* @__PURE__ */ React6.createElement(
4219
+ icon && /* @__PURE__ */ React7.createElement(View3, { style: styles3.selectableCardIconWrap }, /* @__PURE__ */ React7.createElement(TpkIcon, { name: icon, size: 22, color: "#0F172A" })),
4220
+ dotColor && /* @__PURE__ */ React7.createElement(
3969
4221
  View3,
3970
4222
  {
3971
4223
  style: [
@@ -3974,8 +4226,8 @@ function SelectableCard({
3974
4226
  ]
3975
4227
  }
3976
4228
  ),
3977
- /* @__PURE__ */ React6.createElement(View3, { style: styles3.flex1 }, /* @__PURE__ */ React6.createElement(Text4, { style: styles3.selectableCardLabel }, label), /* @__PURE__ */ React6.createElement(Text4, { style: styles3.muted }, description)),
3978
- active && /* @__PURE__ */ React6.createElement(TpkIcon, { name: "check", size: 18, color: "#16A34A" })
4229
+ /* @__PURE__ */ React7.createElement(View3, { style: styles3.flex1 }, /* @__PURE__ */ React7.createElement(Text4, { style: styles3.selectableCardLabel }, label), /* @__PURE__ */ React7.createElement(Text4, { style: styles3.muted }, description)),
4230
+ active && /* @__PURE__ */ React7.createElement(TpkIcon, { name: "check", size: 18, color: "#16A34A" })
3979
4231
  );
3980
4232
  }
3981
4233
  function CaptureButton({
@@ -3983,48 +4235,50 @@ function CaptureButton({
3983
4235
  label,
3984
4236
  onPress
3985
4237
  }) {
3986
- return /* @__PURE__ */ React6.createElement(
4238
+ const S = useTpkStrings();
4239
+ return /* @__PURE__ */ React7.createElement(
3987
4240
  Pressable3,
3988
4241
  {
3989
4242
  accessibilityRole: "button",
3990
- accessibilityLabel: `Attach ${label.toLowerCase()}`,
4243
+ accessibilityLabel: S.attachA11y(label),
3991
4244
  onPress,
3992
4245
  style: ({ pressed }) => [
3993
4246
  styles3.captureButton,
3994
4247
  pressed && { opacity: 0.85 }
3995
4248
  ]
3996
4249
  },
3997
- /* @__PURE__ */ React6.createElement(TpkIcon, { name: icon, size: 22, color: "#0F172A" }),
3998
- /* @__PURE__ */ React6.createElement(Text4, { style: styles3.captureLabel }, label)
4250
+ /* @__PURE__ */ React7.createElement(TpkIcon, { name: icon, size: 22, color: "#0F172A" }),
4251
+ /* @__PURE__ */ React7.createElement(Text4, { style: styles3.captureLabel }, label)
3999
4252
  );
4000
4253
  }
4001
4254
  function AttachmentRow({
4002
4255
  attachment,
4003
4256
  onRemove
4004
4257
  }) {
4258
+ const S = useTpkStrings();
4005
4259
  const isImage = attachment.kind === "image" || attachment.kind === "screenshot";
4006
- return /* @__PURE__ */ React6.createElement(View3, { style: styles3.attachmentRow }, isImage ? /* @__PURE__ */ React6.createElement(
4260
+ return /* @__PURE__ */ React7.createElement(View3, { style: styles3.attachmentRow }, isImage ? /* @__PURE__ */ React7.createElement(
4007
4261
  Image,
4008
4262
  {
4009
4263
  source: { uri: `data:${attachment.mimeType};base64,${attachment.base64}` },
4010
4264
  style: styles3.attachmentThumb
4011
4265
  }
4012
- ) : /* @__PURE__ */ React6.createElement(View3, { style: [styles3.attachmentThumb, styles3.attachmentThumbFallback] }, /* @__PURE__ */ React6.createElement(
4266
+ ) : /* @__PURE__ */ React7.createElement(View3, { style: [styles3.attachmentThumb, styles3.attachmentThumbFallback] }, /* @__PURE__ */ React7.createElement(
4013
4267
  TpkIcon,
4014
4268
  {
4015
4269
  name: attachment.kind === "audio" || attachment.kind === "screen-recording" ? "music_note" : "attachment",
4016
4270
  size: 22,
4017
4271
  color: "#475569"
4018
4272
  }
4019
- )), /* @__PURE__ */ React6.createElement(View3, { style: styles3.flex1 }, /* @__PURE__ */ React6.createElement(Text4, { style: styles3.attachmentName, numberOfLines: 1 }, attachment.name), /* @__PURE__ */ React6.createElement(Text4, { style: styles3.muted }, attachment.kind, attachment.byteLength != null ? ` \xB7 ${formatBytes(attachment.byteLength)}` : "")), /* @__PURE__ */ React6.createElement(
4273
+ )), /* @__PURE__ */ React7.createElement(View3, { style: styles3.flex1 }, /* @__PURE__ */ React7.createElement(Text4, { style: styles3.attachmentName, numberOfLines: 1 }, attachment.name), /* @__PURE__ */ React7.createElement(Text4, { style: styles3.muted }, attachment.kind, attachment.byteLength != null ? ` \xB7 ${formatBytes(attachment.byteLength)}` : "")), /* @__PURE__ */ React7.createElement(
4020
4274
  Pressable3,
4021
4275
  {
4022
4276
  accessibilityRole: "button",
4023
- accessibilityLabel: `Remove ${attachment.name}`,
4277
+ accessibilityLabel: S.removeA11y(attachment.name),
4024
4278
  onPress: onRemove,
4025
4279
  style: styles3.attachmentRemove
4026
4280
  },
4027
- /* @__PURE__ */ React6.createElement(TpkIcon, { name: "close", size: 18, color: "#64748B" })
4281
+ /* @__PURE__ */ React7.createElement(TpkIcon, { name: "close", size: 18, color: "#64748B" })
4028
4282
  ));
4029
4283
  }
4030
4284
  function ReviewLine({
@@ -4034,7 +4288,7 @@ function ReviewLine({
4034
4288
  valueColor,
4035
4289
  leadingIcon
4036
4290
  }) {
4037
- return /* @__PURE__ */ React6.createElement(View3, { style: multiline ? styles3.reviewBlock : styles3.reviewRow }, /* @__PURE__ */ React6.createElement(Text4, { style: styles3.reviewLabel }, label), /* @__PURE__ */ React6.createElement(View3, { style: styles3.reviewValueRow }, leadingIcon && /* @__PURE__ */ React6.createElement(
4291
+ return /* @__PURE__ */ React7.createElement(View3, { style: multiline ? styles3.reviewBlock : styles3.reviewRow }, /* @__PURE__ */ React7.createElement(Text4, { style: styles3.reviewLabel }, label), /* @__PURE__ */ React7.createElement(View3, { style: styles3.reviewValueRow }, leadingIcon && /* @__PURE__ */ React7.createElement(
4038
4292
  TpkIcon,
4039
4293
  {
4040
4294
  name: leadingIcon,
@@ -4042,7 +4296,7 @@ function ReviewLine({
4042
4296
  color: valueColor ?? "#0F172A",
4043
4297
  style: { marginRight: 6 }
4044
4298
  }
4045
- ), /* @__PURE__ */ React6.createElement(
4299
+ ), /* @__PURE__ */ React7.createElement(
4046
4300
  Text4,
4047
4301
  {
4048
4302
  style: [
@@ -4486,9 +4740,9 @@ var styles3 = StyleSheet3.create({
4486
4740
  });
4487
4741
 
4488
4742
  // src/sensitive.tsx
4489
- import React7, { useEffect as useEffect5, useRef as useRef5, useSyncExternalStore } from "react";
4743
+ import React8, { useEffect as useEffect5, useRef as useRef5, useSyncExternalStore } from "react";
4490
4744
  import {
4491
- Platform as Platform3,
4745
+ Platform as Platform4,
4492
4746
  StyleSheet as StyleSheet4,
4493
4747
  View as View4
4494
4748
  } from "react-native";
@@ -4497,7 +4751,7 @@ var SkiaBackdropFilter = null;
4497
4751
  var SkiaBlur = null;
4498
4752
  var SkiaFill = null;
4499
4753
  void (async () => {
4500
- if (Platform3.OS === "web") return;
4754
+ if (Platform4.OS === "web") return;
4501
4755
  try {
4502
4756
  const skia = await import("@shopify/react-native-skia");
4503
4757
  SkiaCanvas = skia.Canvas;
@@ -4521,7 +4775,7 @@ function TpkSensitive({
4521
4775
  getNativeCaptureMode
4522
4776
  );
4523
4777
  useEffect5(() => {
4524
- if (Platform3.OS !== "web") return;
4778
+ if (Platform4.OS !== "web") return;
4525
4779
  const node = ref.current;
4526
4780
  if (!node) return;
4527
4781
  if (enabled) {
@@ -4533,9 +4787,9 @@ function TpkSensitive({
4533
4787
  node.removeAttribute("data-tpk-sensitive");
4534
4788
  };
4535
4789
  }, [mode, enabled]);
4536
- const shouldRedactNative = Platform3.OS !== "web" && enabled && captureActive2;
4790
+ const shouldRedactNative = Platform4.OS !== "web" && enabled && captureActive2;
4537
4791
  const useSkiaBlur = shouldRedactNative && mode === "blur" && SkiaCanvas !== null && SkiaBackdropFilter !== null && SkiaBlur !== null && SkiaFill !== null;
4538
- return /* @__PURE__ */ React7.createElement(View4, { ref, style, testID }, children, shouldRedactNative && useSkiaBlur && /* @__PURE__ */ React7.createElement(SkiaCanvas, { style: StyleSheet4.absoluteFill, pointerEvents: "none" }, /* @__PURE__ */ React7.createElement(SkiaBackdropFilter, { filter: /* @__PURE__ */ React7.createElement(SkiaBlur, { blur: 12 }) }, /* @__PURE__ */ React7.createElement(SkiaFill, { color: "rgba(15, 23, 42, 0.10)" }))), shouldRedactNative && !useSkiaBlur && /* @__PURE__ */ React7.createElement(
4792
+ return /* @__PURE__ */ React8.createElement(View4, { ref, style, testID }, children, shouldRedactNative && useSkiaBlur && /* @__PURE__ */ React8.createElement(SkiaCanvas, { style: StyleSheet4.absoluteFill, pointerEvents: "none" }, /* @__PURE__ */ React8.createElement(SkiaBackdropFilter, { filter: /* @__PURE__ */ React8.createElement(SkiaBlur, { blur: 12 }) }, /* @__PURE__ */ React8.createElement(SkiaFill, { color: "rgba(15, 23, 42, 0.10)" }))), shouldRedactNative && !useSkiaBlur && /* @__PURE__ */ React8.createElement(
4539
4793
  View4,
4540
4794
  {
4541
4795
  pointerEvents: "none",
@@ -4620,7 +4874,7 @@ function useTpkDashboard(tpk) {
4620
4874
  }
4621
4875
 
4622
4876
  // src/TesterDashboard.tsx
4623
- import React8 from "react";
4877
+ import React9 from "react";
4624
4878
  import {
4625
4879
  ActivityIndicator as ActivityIndicator2,
4626
4880
  Pressable as Pressable4,
@@ -4646,10 +4900,10 @@ function TesterDashboard({
4646
4900
  const resolvedFixes = recentFixes ?? buildInfo?.recentFixes ?? [];
4647
4901
  const sortedFocusAreas = (focusAreas ?? []).filter((a) => a.isActive !== false).slice().sort((a, b) => b.priority - a.priority);
4648
4902
  if (loading && !data) {
4649
- return /* @__PURE__ */ React8.createElement(View5, { style: [styles5.center, style], testID: `${testID}-loading` }, /* @__PURE__ */ React8.createElement(ActivityIndicator2, null), /* @__PURE__ */ React8.createElement(Text5, { style: styles5.muted }, "Loading dashboard\u2026"));
4903
+ return /* @__PURE__ */ React9.createElement(View5, { style: [styles5.center, style], testID: `${testID}-loading` }, /* @__PURE__ */ React9.createElement(ActivityIndicator2, null), /* @__PURE__ */ React9.createElement(Text5, { style: styles5.muted }, "Loading dashboard\u2026"));
4650
4904
  }
4651
4905
  if (error && !data) {
4652
- return /* @__PURE__ */ React8.createElement(View5, { style: [styles5.center, style], testID: `${testID}-error` }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.errorTitle }, "Couldn't load your dashboard"), /* @__PURE__ */ React8.createElement(Text5, { style: styles5.muted }, error.message), /* @__PURE__ */ React8.createElement(
4906
+ return /* @__PURE__ */ React9.createElement(View5, { style: [styles5.center, style], testID: `${testID}-error` }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.errorTitle }, "Couldn't load your dashboard"), /* @__PURE__ */ React9.createElement(Text5, { style: styles5.muted }, error.message), /* @__PURE__ */ React9.createElement(
4653
4907
  Pressable4,
4654
4908
  {
4655
4909
  accessibilityRole: "button",
@@ -4658,11 +4912,11 @@ function TesterDashboard({
4658
4912
  },
4659
4913
  style: styles5.retryButton
4660
4914
  },
4661
- /* @__PURE__ */ React8.createElement(Text5, { style: styles5.retryLabel }, "Try again")
4915
+ /* @__PURE__ */ React9.createElement(Text5, { style: styles5.retryLabel }, "Try again")
4662
4916
  ));
4663
4917
  }
4664
4918
  const today = formatToday(/* @__PURE__ */ new Date());
4665
- return /* @__PURE__ */ React8.createElement(
4919
+ return /* @__PURE__ */ React9.createElement(
4666
4920
  ScrollView3,
4667
4921
  {
4668
4922
  style,
@@ -4670,7 +4924,7 @@ function TesterDashboard({
4670
4924
  testID,
4671
4925
  refreshControl: void 0
4672
4926
  },
4673
- /* @__PURE__ */ React8.createElement(
4927
+ /* @__PURE__ */ React9.createElement(
4674
4928
  HeaderCard,
4675
4929
  {
4676
4930
  greeting: resolveGreeting(greeting, data?.profile),
@@ -4681,19 +4935,19 @@ function TesterDashboard({
4681
4935
  }
4682
4936
  }
4683
4937
  ),
4684
- data && data.partialFailures.length > 0 && /* @__PURE__ */ React8.createElement(PartialFailureBanner, { failures: data.partialFailures }),
4685
- data?.profile && /* @__PURE__ */ React8.createElement(ProfileCard, { profile: data.profile }),
4686
- data?.points && /* @__PURE__ */ React8.createElement(PointsCard, { points: data.points }),
4687
- buildInfo && /* @__PURE__ */ React8.createElement(BuildInfoCard, { buildInfo }),
4688
- sortedFocusAreas.length > 0 && /* @__PURE__ */ React8.createElement(
4938
+ data && data.partialFailures.length > 0 && /* @__PURE__ */ React9.createElement(PartialFailureBanner, { failures: data.partialFailures }),
4939
+ data?.profile && /* @__PURE__ */ React9.createElement(ProfileCard, { profile: data.profile }),
4940
+ data?.points && /* @__PURE__ */ React9.createElement(PointsCard, { points: data.points }),
4941
+ buildInfo && /* @__PURE__ */ React9.createElement(BuildInfoCard, { buildInfo }),
4942
+ sortedFocusAreas.length > 0 && /* @__PURE__ */ React9.createElement(
4689
4943
  FocusAreasCard,
4690
4944
  {
4691
4945
  areas: sortedFocusAreas,
4692
4946
  onPress: onFocusAreaPress
4693
4947
  }
4694
4948
  ),
4695
- resolvedFixes.length > 0 && /* @__PURE__ */ React8.createElement(RecentFixesCard, { fixes: resolvedFixes, onVerify: onVerifyFix }),
4696
- /* @__PURE__ */ React8.createElement(
4949
+ resolvedFixes.length > 0 && /* @__PURE__ */ React9.createElement(RecentFixesCard, { fixes: resolvedFixes, onVerify: onVerifyFix }),
4950
+ /* @__PURE__ */ React9.createElement(
4697
4951
  TasksCard,
4698
4952
  {
4699
4953
  tasks: data?.tasks ?? [],
@@ -4701,7 +4955,7 @@ function TesterDashboard({
4701
4955
  onTaskPress
4702
4956
  }
4703
4957
  ),
4704
- onStartTesting && /* @__PURE__ */ React8.createElement(
4958
+ onStartTesting && /* @__PURE__ */ React9.createElement(
4705
4959
  Pressable4,
4706
4960
  {
4707
4961
  accessibilityRole: "button",
@@ -4709,7 +4963,7 @@ function TesterDashboard({
4709
4963
  onPress: onStartTesting,
4710
4964
  style: styles5.cta
4711
4965
  },
4712
- /* @__PURE__ */ React8.createElement(Text5, { style: styles5.ctaLabel }, "Start testing")
4966
+ /* @__PURE__ */ React9.createElement(Text5, { style: styles5.ctaLabel }, "Start testing")
4713
4967
  )
4714
4968
  );
4715
4969
  }
@@ -4719,7 +4973,7 @@ function HeaderCard({
4719
4973
  loading,
4720
4974
  onRefresh
4721
4975
  }) {
4722
- return /* @__PURE__ */ React8.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React8.createElement(View5, { style: styles5.headerRow }, /* @__PURE__ */ React8.createElement(View5, { style: styles5.flex1 }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.greeting }, greeting), /* @__PURE__ */ React8.createElement(Text5, { style: styles5.muted }, today)), /* @__PURE__ */ React8.createElement(
4976
+ return /* @__PURE__ */ React9.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React9.createElement(View5, { style: styles5.headerRow }, /* @__PURE__ */ React9.createElement(View5, { style: styles5.flex1 }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.greeting }, greeting), /* @__PURE__ */ React9.createElement(Text5, { style: styles5.muted }, today)), /* @__PURE__ */ React9.createElement(
4723
4977
  Pressable4,
4724
4978
  {
4725
4979
  accessibilityRole: "button",
@@ -4727,7 +4981,7 @@ function HeaderCard({
4727
4981
  onPress: onRefresh,
4728
4982
  style: styles5.refreshButton
4729
4983
  },
4730
- loading ? /* @__PURE__ */ React8.createElement(ActivityIndicator2, null) : /* @__PURE__ */ React8.createElement(Text5, { style: styles5.refreshLabel }, "Refresh")
4984
+ loading ? /* @__PURE__ */ React9.createElement(ActivityIndicator2, null) : /* @__PURE__ */ React9.createElement(Text5, { style: styles5.refreshLabel }, "Refresh")
4731
4985
  )));
4732
4986
  }
4733
4987
  function PartialFailureBanner({
@@ -4739,27 +4993,27 @@ function PartialFailureBanner({
4739
4993
  points: "points"
4740
4994
  };
4741
4995
  const list = failures.map((f) => labels[f]).join(", ");
4742
- return /* @__PURE__ */ React8.createElement(View5, { style: styles5.bannerWarn }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.bannerWarnLabel }, "Some sections couldn't load (", list, "). Tap refresh to try again."));
4996
+ return /* @__PURE__ */ React9.createElement(View5, { style: styles5.bannerWarn }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.bannerWarnLabel }, "Some sections couldn't load (", list, "). Tap refresh to try again."));
4743
4997
  }
4744
4998
  function ProfileCard({
4745
4999
  profile
4746
5000
  }) {
4747
5001
  const ratingPercent = typeof profile.rating === "number" && profile.rating > 0 ? `${Math.round(profile.rating * 20)}%` : null;
4748
- return /* @__PURE__ */ React8.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.cardTitle }, "Profile"), /* @__PURE__ */ React8.createElement(Text5, { style: styles5.cardValue }, profile.handle ?? profile.fullName ?? profile.email ?? "You"), ratingPercent && /* @__PURE__ */ React8.createElement(Text5, { style: styles5.muted }, "Rating \xB7 ", ratingPercent), typeof profile.pointsTotal === "number" && /* @__PURE__ */ React8.createElement(Text5, { style: styles5.muted }, "Points \xB7 ", profile.pointsTotal));
5002
+ return /* @__PURE__ */ React9.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.cardTitle }, "Profile"), /* @__PURE__ */ React9.createElement(Text5, { style: styles5.cardValue }, profile.handle ?? profile.fullName ?? profile.email ?? "You"), ratingPercent && /* @__PURE__ */ React9.createElement(Text5, { style: styles5.muted }, "Rating \xB7 ", ratingPercent), typeof profile.pointsTotal === "number" && /* @__PURE__ */ React9.createElement(Text5, { style: styles5.muted }, "Points \xB7 ", profile.pointsTotal));
4749
5003
  }
4750
5004
  function PointsCard({
4751
5005
  points
4752
5006
  }) {
4753
5007
  const breakdown = points.breakdown ?? {};
4754
5008
  const breakdownEntries = Object.entries(breakdown);
4755
- return /* @__PURE__ */ React8.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.cardTitle }, "Points balance"), /* @__PURE__ */ React8.createElement(Text5, { style: styles5.cardValue }, points.total), breakdownEntries.length > 0 && /* @__PURE__ */ React8.createElement(View5, { style: styles5.breakdownRow }, breakdownEntries.map(([key, value]) => /* @__PURE__ */ React8.createElement(View5, { key, style: styles5.breakdownPill }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.breakdownLabel }, key, ": ", value)))));
5009
+ return /* @__PURE__ */ React9.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.cardTitle }, "Points balance"), /* @__PURE__ */ React9.createElement(Text5, { style: styles5.cardValue }, points.total), breakdownEntries.length > 0 && /* @__PURE__ */ React9.createElement(View5, { style: styles5.breakdownRow }, breakdownEntries.map(([key, value]) => /* @__PURE__ */ React9.createElement(View5, { key, style: styles5.breakdownPill }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.breakdownLabel }, key, ": ", value)))));
4756
5010
  }
4757
5011
  function TasksCard({
4758
5012
  tasks,
4759
5013
  summary,
4760
5014
  onTaskPress
4761
5015
  }) {
4762
- return /* @__PURE__ */ React8.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React8.createElement(View5, { style: styles5.headerRow }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.cardTitle }, "Today's tasks"), summary && /* @__PURE__ */ React8.createElement(Text5, { style: styles5.muted }, summary.pending, " pending \xB7 ", summary.inProgress, " in progress")), tasks.length === 0 ? /* @__PURE__ */ React8.createElement(Text5, { style: styles5.muted }, "No tasks assigned. New work shows up here as it's allocated.") : tasks.map((task) => /* @__PURE__ */ React8.createElement(
5016
+ return /* @__PURE__ */ React9.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React9.createElement(View5, { style: styles5.headerRow }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.cardTitle }, "Today's tasks"), summary && /* @__PURE__ */ React9.createElement(Text5, { style: styles5.muted }, summary.pending, " pending \xB7 ", summary.inProgress, " in progress")), tasks.length === 0 ? /* @__PURE__ */ React9.createElement(Text5, { style: styles5.muted }, "No tasks assigned. New work shows up here as it's allocated.") : tasks.map((task) => /* @__PURE__ */ React9.createElement(
4763
5017
  TaskRow,
4764
5018
  {
4765
5019
  key: task.assignmentId,
@@ -4772,9 +5026,9 @@ function TaskRow({
4772
5026
  task,
4773
5027
  onPress
4774
5028
  }) {
4775
- const inner = /* @__PURE__ */ React8.createElement(View5, { style: styles5.taskRow }, /* @__PURE__ */ React8.createElement(View5, { style: styles5.flex1 }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.taskTitle }, task.task.name), /* @__PURE__ */ React8.createElement(Text5, { style: styles5.muted, numberOfLines: 2 }, task.task.description ?? "No description."), task.task.rewardAmount != null && /* @__PURE__ */ React8.createElement(Text5, { style: styles5.taskMeta }, "Reward \xB7 \u20AC", task.task.rewardAmount.toFixed(2))), /* @__PURE__ */ React8.createElement(StatusBadge, { status: task.status }));
5029
+ const inner = /* @__PURE__ */ React9.createElement(View5, { style: styles5.taskRow }, /* @__PURE__ */ React9.createElement(View5, { style: styles5.flex1 }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.taskTitle }, task.task.name), /* @__PURE__ */ React9.createElement(Text5, { style: styles5.muted, numberOfLines: 2 }, task.task.description ?? "No description."), task.task.rewardAmount != null && /* @__PURE__ */ React9.createElement(Text5, { style: styles5.taskMeta }, "Reward \xB7 \u20AC", task.task.rewardAmount.toFixed(2))), /* @__PURE__ */ React9.createElement(StatusBadge, { status: task.status }));
4776
5030
  if (onPress) {
4777
- return /* @__PURE__ */ React8.createElement(
5031
+ return /* @__PURE__ */ React9.createElement(
4778
5032
  Pressable4,
4779
5033
  {
4780
5034
  onPress,
@@ -4800,16 +5054,16 @@ function BuildInfoCard({
4800
5054
  return buildInfo.releaseDate;
4801
5055
  }
4802
5056
  })();
4803
- return /* @__PURE__ */ React8.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.cardTitle }, "Build"), /* @__PURE__ */ React8.createElement(Text5, { style: styles5.cardValue }, buildInfo.version, " ", /* @__PURE__ */ React8.createElement(Text5, { style: styles5.muted }, "\xB7 #", buildInfo.buildNumber)), /* @__PURE__ */ React8.createElement(Text5, { style: styles5.muted }, "Released ", releaseDateLabel), buildInfo.changelog.length > 0 && /* @__PURE__ */ React8.createElement(View5, { style: styles5.subSection }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.subSectionTitle }, "What's new"), buildInfo.changelog.map((entry, i) => /* @__PURE__ */ React8.createElement(BulletRow, { key: `cl-${i}`, text: entry }))), buildInfo.knownIssues.length > 0 && /* @__PURE__ */ React8.createElement(View5, { style: styles5.subSection }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.subSectionTitle }, "Known issues"), buildInfo.knownIssues.map((entry, i) => /* @__PURE__ */ React8.createElement(BulletRow, { key: `ki-${i}`, text: entry, tone: "warn" }))));
5057
+ return /* @__PURE__ */ React9.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.cardTitle }, "Build"), /* @__PURE__ */ React9.createElement(Text5, { style: styles5.cardValue }, buildInfo.version, " ", /* @__PURE__ */ React9.createElement(Text5, { style: styles5.muted }, "\xB7 #", buildInfo.buildNumber)), /* @__PURE__ */ React9.createElement(Text5, { style: styles5.muted }, "Released ", releaseDateLabel), buildInfo.changelog.length > 0 && /* @__PURE__ */ React9.createElement(View5, { style: styles5.subSection }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.subSectionTitle }, "What's new"), buildInfo.changelog.map((entry, i) => /* @__PURE__ */ React9.createElement(BulletRow, { key: `cl-${i}`, text: entry }))), buildInfo.knownIssues.length > 0 && /* @__PURE__ */ React9.createElement(View5, { style: styles5.subSection }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.subSectionTitle }, "Known issues"), buildInfo.knownIssues.map((entry, i) => /* @__PURE__ */ React9.createElement(BulletRow, { key: `ki-${i}`, text: entry, tone: "warn" }))));
4804
5058
  }
4805
5059
  function FocusAreasCard({
4806
5060
  areas,
4807
5061
  onPress
4808
5062
  }) {
4809
- return /* @__PURE__ */ React8.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.cardTitle }, "Focus areas"), areas.map((area) => {
4810
- const inner = /* @__PURE__ */ React8.createElement(View5, { style: styles5.focusRow }, /* @__PURE__ */ React8.createElement(View5, { style: styles5.focusPriority }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.focusPriorityLabel }, area.priority)), /* @__PURE__ */ React8.createElement(View5, { style: styles5.flex1 }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.rowTitle }, area.featureName), /* @__PURE__ */ React8.createElement(Text5, { style: styles5.muted, numberOfLines: 2 }, area.reason), area.testingGuidance && /* @__PURE__ */ React8.createElement(Text5, { style: styles5.taskMeta }, area.testingGuidance), area.criticalPaths.length > 0 && /* @__PURE__ */ React8.createElement(Text5, { style: styles5.muted }, area.criticalPaths.length, " critical path", area.criticalPaths.length === 1 ? "" : "s")));
5063
+ return /* @__PURE__ */ React9.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.cardTitle }, "Focus areas"), areas.map((area) => {
5064
+ const inner = /* @__PURE__ */ React9.createElement(View5, { style: styles5.focusRow }, /* @__PURE__ */ React9.createElement(View5, { style: styles5.focusPriority }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.focusPriorityLabel }, area.priority)), /* @__PURE__ */ React9.createElement(View5, { style: styles5.flex1 }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.rowTitle }, area.featureName), /* @__PURE__ */ React9.createElement(Text5, { style: styles5.muted, numberOfLines: 2 }, area.reason), area.testingGuidance && /* @__PURE__ */ React9.createElement(Text5, { style: styles5.taskMeta }, area.testingGuidance), area.criticalPaths.length > 0 && /* @__PURE__ */ React9.createElement(Text5, { style: styles5.muted }, area.criticalPaths.length, " critical path", area.criticalPaths.length === 1 ? "" : "s")));
4811
5065
  if (onPress) {
4812
- return /* @__PURE__ */ React8.createElement(
5066
+ return /* @__PURE__ */ React9.createElement(
4813
5067
  Pressable4,
4814
5068
  {
4815
5069
  key: area.id,
@@ -4820,14 +5074,14 @@ function FocusAreasCard({
4820
5074
  inner
4821
5075
  );
4822
5076
  }
4823
- return /* @__PURE__ */ React8.createElement(View5, { key: area.id }, inner);
5077
+ return /* @__PURE__ */ React9.createElement(View5, { key: area.id }, inner);
4824
5078
  }));
4825
5079
  }
4826
5080
  function RecentFixesCard({
4827
5081
  fixes,
4828
5082
  onVerify
4829
5083
  }) {
4830
- return /* @__PURE__ */ React8.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.cardTitle }, "Recent fixes"), fixes.map((fix) => {
5084
+ return /* @__PURE__ */ React9.createElement(View5, { style: styles5.card }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.cardTitle }, "Recent fixes"), fixes.map((fix) => {
4831
5085
  const fixedLabel = (() => {
4832
5086
  try {
4833
5087
  return new Date(fix.fixedDate).toLocaleDateString(void 0, {
@@ -4838,7 +5092,7 @@ function RecentFixesCard({
4838
5092
  return fix.fixedDate;
4839
5093
  }
4840
5094
  })();
4841
- return /* @__PURE__ */ React8.createElement(View5, { key: fix.bugId, style: styles5.fixRow }, /* @__PURE__ */ React8.createElement(View5, { style: styles5.flex1 }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.rowTitle }, fix.title), /* @__PURE__ */ React8.createElement(Text5, { style: styles5.muted, numberOfLines: 2 }, fix.description), /* @__PURE__ */ React8.createElement(Text5, { style: styles5.taskMeta }, "Fixed ", fixedLabel, fix.buildVersion ? ` \xB7 v${fix.buildVersion}` : "")), fix.requiresVerification && !fix.isVerified && onVerify && /* @__PURE__ */ React8.createElement(
5095
+ return /* @__PURE__ */ React9.createElement(View5, { key: fix.bugId, style: styles5.fixRow }, /* @__PURE__ */ React9.createElement(View5, { style: styles5.flex1 }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.rowTitle }, fix.title), /* @__PURE__ */ React9.createElement(Text5, { style: styles5.muted, numberOfLines: 2 }, fix.description), /* @__PURE__ */ React9.createElement(Text5, { style: styles5.taskMeta }, "Fixed ", fixedLabel, fix.buildVersion ? ` \xB7 v${fix.buildVersion}` : "")), fix.requiresVerification && !fix.isVerified && onVerify && /* @__PURE__ */ React9.createElement(
4842
5096
  Pressable4,
4843
5097
  {
4844
5098
  accessibilityRole: "button",
@@ -4846,21 +5100,21 @@ function RecentFixesCard({
4846
5100
  onPress: () => onVerify(fix),
4847
5101
  style: styles5.verifyButton
4848
5102
  },
4849
- /* @__PURE__ */ React8.createElement(Text5, { style: styles5.verifyLabel }, "Verify")
4850
- ), fix.isVerified && /* @__PURE__ */ React8.createElement(View5, { style: styles5.verifiedBadge }, /* @__PURE__ */ React8.createElement(Text5, { style: styles5.verifiedLabel }, "\u2713 verified")));
5103
+ /* @__PURE__ */ React9.createElement(Text5, { style: styles5.verifyLabel }, "Verify")
5104
+ ), fix.isVerified && /* @__PURE__ */ React9.createElement(View5, { style: styles5.verifiedBadge }, /* @__PURE__ */ React9.createElement(Text5, { style: styles5.verifiedLabel }, "\u2713 verified")));
4851
5105
  }));
4852
5106
  }
4853
5107
  function BulletRow({
4854
5108
  text,
4855
5109
  tone
4856
5110
  }) {
4857
- return /* @__PURE__ */ React8.createElement(View5, { style: styles5.bulletRow }, /* @__PURE__ */ React8.createElement(Text5, { style: tone === "warn" ? styles5.bulletWarn : styles5.bullet }, "\u2022"), /* @__PURE__ */ React8.createElement(Text5, { style: styles5.bulletText }, text));
5111
+ return /* @__PURE__ */ React9.createElement(View5, { style: styles5.bulletRow }, /* @__PURE__ */ React9.createElement(Text5, { style: tone === "warn" ? styles5.bulletWarn : styles5.bullet }, "\u2022"), /* @__PURE__ */ React9.createElement(Text5, { style: styles5.bulletText }, text));
4858
5112
  }
4859
5113
  function StatusBadge({
4860
5114
  status
4861
5115
  }) {
4862
5116
  const palette = STATUS_PALETTE[status];
4863
- return /* @__PURE__ */ React8.createElement(
5117
+ return /* @__PURE__ */ React9.createElement(
4864
5118
  View5,
4865
5119
  {
4866
5120
  style: [
@@ -4868,7 +5122,7 @@ function StatusBadge({
4868
5122
  { backgroundColor: palette.bg, borderColor: palette.fg }
4869
5123
  ]
4870
5124
  },
4871
- /* @__PURE__ */ React8.createElement(Text5, { style: [styles5.statusLabel, { color: palette.fg }] }, palette.label)
5125
+ /* @__PURE__ */ React9.createElement(Text5, { style: [styles5.statusLabel, { color: palette.fg }] }, palette.label)
4872
5126
  );
4873
5127
  }
4874
5128
  function resolveGreeting(override, profile) {
@@ -5131,7 +5385,7 @@ var styles5 = StyleSheet5.create({
5131
5385
  });
5132
5386
 
5133
5387
  // src/WelcomeSheet.tsx
5134
- import React9, { useMemo as useMemo4, useState as useState6 } from "react";
5388
+ import React10, { useMemo as useMemo4, useState as useState6 } from "react";
5135
5389
  import {
5136
5390
  Modal as Modal3,
5137
5391
  Pressable as Pressable5,
@@ -5185,7 +5439,7 @@ function TpkWelcomeSheet({
5185
5439
  return next;
5186
5440
  });
5187
5441
  };
5188
- return /* @__PURE__ */ React9.createElement(
5442
+ return /* @__PURE__ */ React10.createElement(
5189
5443
  Modal3,
5190
5444
  {
5191
5445
  animationType: "slide",
@@ -5193,14 +5447,14 @@ function TpkWelcomeSheet({
5193
5447
  transparent: true,
5194
5448
  visible
5195
5449
  },
5196
- /* @__PURE__ */ React9.createElement(View6, { style: [styles6.backdrop, style] }, /* @__PURE__ */ React9.createElement(View6, { style: styles6.sheet }, /* @__PURE__ */ React9.createElement(View6, { style: styles6.header }, /* @__PURE__ */ React9.createElement(View6, { style: styles6.flex1 }, /* @__PURE__ */ React9.createElement(Text6, { style: styles6.version }, "Version ", brief.appVersion), /* @__PURE__ */ React9.createElement(Text6, { style: styles6.headerTitle }, productName, " \xB7 Tester briefing"))), /* @__PURE__ */ React9.createElement(
5450
+ /* @__PURE__ */ React10.createElement(View6, { style: [styles6.backdrop, style] }, /* @__PURE__ */ React10.createElement(View6, { style: styles6.sheet }, /* @__PURE__ */ React10.createElement(View6, { style: styles6.header }, /* @__PURE__ */ React10.createElement(View6, { style: styles6.flex1 }, /* @__PURE__ */ React10.createElement(Text6, { style: styles6.version }, "Version ", brief.appVersion), /* @__PURE__ */ React10.createElement(Text6, { style: styles6.headerTitle }, productName, " \xB7 Tester briefing"))), /* @__PURE__ */ React10.createElement(
5197
5451
  ScrollView4,
5198
5452
  {
5199
5453
  contentContainerStyle: styles6.scrollBody,
5200
5454
  testID
5201
5455
  },
5202
- brief.releaseNotes.length > 0 && /* @__PURE__ */ React9.createElement(View6, { style: styles6.section }, /* @__PURE__ */ React9.createElement(Text6, { style: styles6.sectionTitle }, "What's new"), brief.releaseNotes.map((note, i) => /* @__PURE__ */ React9.createElement(ReleaseNoteRow, { key: `${i}-${note.title}`, note }))),
5203
- brief.tasks.length > 0 && /* @__PURE__ */ React9.createElement(View6, { style: styles6.section }, /* @__PURE__ */ React9.createElement(View6, { style: styles6.tasksHeader }, /* @__PURE__ */ React9.createElement(Text6, { style: styles6.sectionTitle }, "Tasks to exercise"), totalMinutes > 0 && /* @__PURE__ */ React9.createElement(Text6, { style: styles6.muted }, "~", totalMinutes, " min total")), brief.tasks.map((task) => /* @__PURE__ */ React9.createElement(
5456
+ brief.releaseNotes.length > 0 && /* @__PURE__ */ React10.createElement(View6, { style: styles6.section }, /* @__PURE__ */ React10.createElement(Text6, { style: styles6.sectionTitle }, "What's new"), brief.releaseNotes.map((note, i) => /* @__PURE__ */ React10.createElement(ReleaseNoteRow, { key: `${i}-${note.title}`, note }))),
5457
+ brief.tasks.length > 0 && /* @__PURE__ */ React10.createElement(View6, { style: styles6.section }, /* @__PURE__ */ React10.createElement(View6, { style: styles6.tasksHeader }, /* @__PURE__ */ React10.createElement(Text6, { style: styles6.sectionTitle }, "Tasks to exercise"), totalMinutes > 0 && /* @__PURE__ */ React10.createElement(Text6, { style: styles6.muted }, "~", totalMinutes, " min total")), brief.tasks.map((task) => /* @__PURE__ */ React10.createElement(
5204
5458
  TaskRow2,
5205
5459
  {
5206
5460
  key: task.id,
@@ -5209,15 +5463,15 @@ function TpkWelcomeSheet({
5209
5463
  onToggle: () => toggle(task.id)
5210
5464
  }
5211
5465
  )))
5212
- ), /* @__PURE__ */ React9.createElement(View6, { style: styles6.footer }, onLater && /* @__PURE__ */ React9.createElement(
5466
+ ), /* @__PURE__ */ React10.createElement(View6, { style: styles6.footer }, onLater && /* @__PURE__ */ React10.createElement(
5213
5467
  Pressable5,
5214
5468
  {
5215
5469
  accessibilityRole: "button",
5216
5470
  onPress: onLater,
5217
5471
  style: styles6.secondaryButton
5218
5472
  },
5219
- /* @__PURE__ */ React9.createElement(Text6, { style: styles6.secondaryLabel }, "Later")
5220
- ), /* @__PURE__ */ React9.createElement(
5473
+ /* @__PURE__ */ React10.createElement(Text6, { style: styles6.secondaryLabel }, "Later")
5474
+ ), /* @__PURE__ */ React10.createElement(
5221
5475
  Pressable5,
5222
5476
  {
5223
5477
  accessibilityRole: "button",
@@ -5225,19 +5479,19 @@ function TpkWelcomeSheet({
5225
5479
  onPress: onStart,
5226
5480
  style: styles6.primaryButton
5227
5481
  },
5228
- /* @__PURE__ */ React9.createElement(Text6, { style: styles6.primaryLabel }, "Start testing")
5482
+ /* @__PURE__ */ React10.createElement(Text6, { style: styles6.primaryLabel }, "Start testing")
5229
5483
  ))))
5230
5484
  );
5231
5485
  }
5232
5486
  function ReleaseNoteRow({ note }) {
5233
- return /* @__PURE__ */ React9.createElement(View6, { style: styles6.row }, /* @__PURE__ */ React9.createElement(Text6, { style: styles6.bullet }, "\u2022"), /* @__PURE__ */ React9.createElement(View6, { style: styles6.flex1 }, /* @__PURE__ */ React9.createElement(Text6, { style: styles6.rowTitle }, note.title), note.description && /* @__PURE__ */ React9.createElement(Text6, { style: styles6.muted }, note.description)));
5487
+ return /* @__PURE__ */ React10.createElement(View6, { style: styles6.row }, /* @__PURE__ */ React10.createElement(Text6, { style: styles6.bullet }, "\u2022"), /* @__PURE__ */ React10.createElement(View6, { style: styles6.flex1 }, /* @__PURE__ */ React10.createElement(Text6, { style: styles6.rowTitle }, note.title), note.description && /* @__PURE__ */ React10.createElement(Text6, { style: styles6.muted }, note.description)));
5234
5488
  }
5235
5489
  function TaskRow2({
5236
5490
  task,
5237
5491
  checked,
5238
5492
  onToggle
5239
5493
  }) {
5240
- return /* @__PURE__ */ React9.createElement(
5494
+ return /* @__PURE__ */ React10.createElement(
5241
5495
  Pressable5,
5242
5496
  {
5243
5497
  accessibilityRole: "checkbox",
@@ -5246,7 +5500,7 @@ function TaskRow2({
5246
5500
  onPress: onToggle,
5247
5501
  style: styles6.row
5248
5502
  },
5249
- /* @__PURE__ */ React9.createElement(
5503
+ /* @__PURE__ */ React10.createElement(
5250
5504
  View6,
5251
5505
  {
5252
5506
  style: [
@@ -5254,9 +5508,9 @@ function TaskRow2({
5254
5508
  checked ? styles6.checkboxChecked : null
5255
5509
  ]
5256
5510
  },
5257
- checked && /* @__PURE__ */ React9.createElement(Text6, { style: styles6.checkLabel }, "\u2713")
5511
+ checked && /* @__PURE__ */ React10.createElement(Text6, { style: styles6.checkLabel }, "\u2713")
5258
5512
  ),
5259
- /* @__PURE__ */ React9.createElement(View6, { style: styles6.flex1 }, /* @__PURE__ */ React9.createElement(
5513
+ /* @__PURE__ */ React10.createElement(View6, { style: styles6.flex1 }, /* @__PURE__ */ React10.createElement(
5260
5514
  Text6,
5261
5515
  {
5262
5516
  style: [
@@ -5265,7 +5519,7 @@ function TaskRow2({
5265
5519
  ]
5266
5520
  },
5267
5521
  task.title
5268
- ), task.description && /* @__PURE__ */ React9.createElement(Text6, { style: styles6.muted }, task.description), task.estimatedMinutes != null && /* @__PURE__ */ React9.createElement(Text6, { style: styles6.taskMeta }, "~", task.estimatedMinutes, " min"))
5522
+ ), task.description && /* @__PURE__ */ React10.createElement(Text6, { style: styles6.muted }, task.description), task.estimatedMinutes != null && /* @__PURE__ */ React10.createElement(Text6, { style: styles6.taskMeta }, "~", task.estimatedMinutes, " min"))
5269
5523
  );
5270
5524
  }
5271
5525
  var styles6 = StyleSheet6.create({
@@ -5403,9 +5657,9 @@ var styles6 = StyleSheet6.create({
5403
5657
  });
5404
5658
 
5405
5659
  // src/Onboarding.tsx
5406
- import React10, { useState as useState7 } from "react";
5660
+ import React11, { useState as useState7 } from "react";
5407
5661
  import {
5408
- Platform as Platform4,
5662
+ Platform as Platform5,
5409
5663
  Pressable as Pressable6,
5410
5664
  ScrollView as ScrollView5,
5411
5665
  StyleSheet as StyleSheet7,
@@ -5477,7 +5731,7 @@ function TpkOnboarding({
5477
5731
  if (micGranted || micRequesting) return;
5478
5732
  setMicRequesting(true);
5479
5733
  try {
5480
- if (Platform4.OS === "web") {
5734
+ if (Platform5.OS === "web") {
5481
5735
  if (typeof navigator !== "undefined" && navigator.mediaDevices?.getUserMedia) {
5482
5736
  const stream = await navigator.mediaDevices.getUserMedia({
5483
5737
  audio: true
@@ -5503,43 +5757,43 @@ function TpkOnboarding({
5503
5757
  }
5504
5758
  };
5505
5759
  const page = PAGES[pageIndex];
5506
- return /* @__PURE__ */ React10.createElement(View7, { style: [styles7.root, style], testID }, /* @__PURE__ */ React10.createElement(View7, { style: styles7.skipBar }, /* @__PURE__ */ React10.createElement(
5760
+ return /* @__PURE__ */ React11.createElement(View7, { style: [styles7.root, style], testID }, /* @__PURE__ */ React11.createElement(View7, { style: styles7.skipBar }, /* @__PURE__ */ React11.createElement(
5507
5761
  Pressable6,
5508
5762
  {
5509
5763
  accessibilityRole: "button",
5510
5764
  onPress: () => void finish(true),
5511
5765
  style: styles7.skipButton
5512
5766
  },
5513
- /* @__PURE__ */ React10.createElement(Text7, { style: styles7.skipLabel }, "Skip")
5514
- )), /* @__PURE__ */ React10.createElement(ScrollView5, { contentContainerStyle: styles7.pageBody }, page === "welcome" && /* @__PURE__ */ React10.createElement(
5767
+ /* @__PURE__ */ React11.createElement(Text7, { style: styles7.skipLabel }, "Skip")
5768
+ )), /* @__PURE__ */ React11.createElement(ScrollView5, { contentContainerStyle: styles7.pageBody }, page === "welcome" && /* @__PURE__ */ React11.createElement(
5515
5769
  PageBody,
5516
5770
  {
5517
5771
  icon: "bug_report",
5518
5772
  title: `You're testing ${product}`,
5519
5773
  body: "TesterPayKit is the bug-report channel between you and the developer. When something feels off, shake the phone or tap the floating bug-button \u2014 a quick form ships your report (and a screenshot, if you want) straight to the developer."
5520
5774
  }
5521
- ), page === "screenshot" && /* @__PURE__ */ React10.createElement(
5775
+ ), page === "screenshot" && /* @__PURE__ */ React11.createElement(
5522
5776
  PageBody,
5523
5777
  {
5524
5778
  icon: "camera",
5525
5779
  title: "Screenshots in bug reports",
5526
5780
  body: "Bug reports can include a screenshot of whatever was on your screen when you triggered the report. You see the screenshot before submitting \u2014 a blur tool covers private parts. Allow here so the form doesn't ask every time."
5527
5781
  },
5528
- /* @__PURE__ */ React10.createElement(View7, { style: styles7.consentRow }, /* @__PURE__ */ React10.createElement(View7, { style: styles7.flex1 }, /* @__PURE__ */ React10.createElement(Text7, { style: styles7.consentTitle }, "Include screenshots"), /* @__PURE__ */ React10.createElement(Text7, { style: styles7.muted }, "You can still send a text-only report any time.")), /* @__PURE__ */ React10.createElement(
5782
+ /* @__PURE__ */ React11.createElement(View7, { style: styles7.consentRow }, /* @__PURE__ */ React11.createElement(View7, { style: styles7.flex1 }, /* @__PURE__ */ React11.createElement(Text7, { style: styles7.consentTitle }, "Include screenshots"), /* @__PURE__ */ React11.createElement(Text7, { style: styles7.muted }, "You can still send a text-only report any time.")), /* @__PURE__ */ React11.createElement(
5529
5783
  Switch,
5530
5784
  {
5531
5785
  value: screenshotConsent,
5532
5786
  onValueChange: setScreenshotConsent
5533
5787
  }
5534
5788
  ))
5535
- ), page === "microphone" && /* @__PURE__ */ React10.createElement(
5789
+ ), page === "microphone" && /* @__PURE__ */ React11.createElement(
5536
5790
  PageBody,
5537
5791
  {
5538
5792
  icon: "voice",
5539
5793
  title: "Voice notes (optional)",
5540
5794
  body: "Sometimes typing what went wrong is slower than saying it. Bug reports support a short voice note. The phone has to ask for microphone access first \u2014 granting now means the recording starts instantly when you need it."
5541
5795
  },
5542
- /* @__PURE__ */ React10.createElement(
5796
+ /* @__PURE__ */ React11.createElement(
5543
5797
  Pressable6,
5544
5798
  {
5545
5799
  accessibilityRole: "button",
@@ -5551,9 +5805,9 @@ function TpkOnboarding({
5551
5805
  micGranted ? styles7.permissionButtonOk : null
5552
5806
  ]
5553
5807
  },
5554
- /* @__PURE__ */ React10.createElement(Text7, { style: styles7.permissionLabel }, micRequesting ? "Asking\u2026" : micGranted ? "\u2713 Microphone allowed" : "Allow microphone")
5808
+ /* @__PURE__ */ React11.createElement(Text7, { style: styles7.permissionLabel }, micRequesting ? "Asking\u2026" : micGranted ? "\u2713 Microphone allowed" : "Allow microphone")
5555
5809
  )
5556
- ), page === "done" && /* @__PURE__ */ React10.createElement(
5810
+ ), page === "done" && /* @__PURE__ */ React11.createElement(
5557
5811
  PageBody,
5558
5812
  {
5559
5813
  icon: "rocket",
@@ -5566,7 +5820,7 @@ function TpkOnboarding({
5566
5820
 
5567
5821
  Crashes are reported automatically; you'll never see a dialog for those.`
5568
5822
  }
5569
- )), /* @__PURE__ */ React10.createElement(View7, { style: styles7.footer }, /* @__PURE__ */ React10.createElement(Dots, { active: pageIndex, count: PAGES.length }), /* @__PURE__ */ React10.createElement(View7, { style: styles7.flex1 }), /* @__PURE__ */ React10.createElement(
5823
+ )), /* @__PURE__ */ React11.createElement(View7, { style: styles7.footer }, /* @__PURE__ */ React11.createElement(Dots, { active: pageIndex, count: PAGES.length }), /* @__PURE__ */ React11.createElement(View7, { style: styles7.flex1 }), /* @__PURE__ */ React11.createElement(
5570
5824
  Pressable6,
5571
5825
  {
5572
5826
  accessibilityRole: "button",
@@ -5574,7 +5828,7 @@ Crashes are reported automatically; you'll never see a dialog for those.`
5574
5828
  onPress: next,
5575
5829
  style: styles7.primaryButton
5576
5830
  },
5577
- /* @__PURE__ */ React10.createElement(Text7, { style: styles7.primaryLabel }, pageIndex < PAGES.length - 1 ? "Continue" : "Get started")
5831
+ /* @__PURE__ */ React11.createElement(Text7, { style: styles7.primaryLabel }, pageIndex < PAGES.length - 1 ? "Continue" : "Get started")
5578
5832
  )));
5579
5833
  }
5580
5834
  function PageBody({
@@ -5583,13 +5837,13 @@ function PageBody({
5583
5837
  body,
5584
5838
  children
5585
5839
  }) {
5586
- return /* @__PURE__ */ React10.createElement(View7, { style: styles7.page }, /* @__PURE__ */ React10.createElement(View7, { style: styles7.pageIconWrap }, /* @__PURE__ */ React10.createElement(TpkIcon, { name: icon, size: 56, color: "#D83232" })), /* @__PURE__ */ React10.createElement(Text7, { style: styles7.pageTitle }, title), /* @__PURE__ */ React10.createElement(Text7, { style: styles7.pageText }, body), children);
5840
+ return /* @__PURE__ */ React11.createElement(View7, { style: styles7.page }, /* @__PURE__ */ React11.createElement(View7, { style: styles7.pageIconWrap }, /* @__PURE__ */ React11.createElement(TpkIcon, { name: icon, size: 56, color: "#D83232" })), /* @__PURE__ */ React11.createElement(Text7, { style: styles7.pageTitle }, title), /* @__PURE__ */ React11.createElement(Text7, { style: styles7.pageText }, body), children);
5587
5841
  }
5588
5842
  function Dots({
5589
5843
  active,
5590
5844
  count
5591
5845
  }) {
5592
- return /* @__PURE__ */ React10.createElement(View7, { style: styles7.dots }, Array.from({ length: count }).map((_, i) => /* @__PURE__ */ React10.createElement(
5846
+ return /* @__PURE__ */ React11.createElement(View7, { style: styles7.dots }, Array.from({ length: count }).map((_, i) => /* @__PURE__ */ React11.createElement(
5593
5847
  View7,
5594
5848
  {
5595
5849
  key: i,
@@ -5962,7 +6216,7 @@ _TpkTalker._instance = null;
5962
6216
  var TpkTalker = _TpkTalker;
5963
6217
 
5964
6218
  // src/widget-discovery.ts
5965
- import { Platform as Platform5 } from "react-native";
6219
+ import { Platform as Platform6 } from "react-native";
5966
6220
  var _WidgetDiscovery = class _WidgetDiscovery {
5967
6221
  static get instance() {
5968
6222
  if (!_WidgetDiscovery._instance)
@@ -5998,7 +6252,7 @@ var _WidgetDiscovery = class _WidgetDiscovery {
5998
6252
  depth: 0
5999
6253
  });
6000
6254
  }
6001
- if (Platform5.OS === "web" && typeof document !== "undefined") {
6255
+ if (Platform6.OS === "web" && typeof document !== "undefined") {
6002
6256
  if (options.includeSensitive !== false) {
6003
6257
  for (const el of document.querySelectorAll(
6004
6258
  "[data-tpk-sensitive]"
@@ -6045,7 +6299,7 @@ _WidgetDiscovery._instance = null;
6045
6299
  var WidgetDiscovery = _WidgetDiscovery;
6046
6300
  function measureRef(ref) {
6047
6301
  if (!ref.current) return null;
6048
- if (Platform5.OS === "web" && typeof window !== "undefined") {
6302
+ if (Platform6.OS === "web" && typeof window !== "undefined") {
6049
6303
  const node = ref.current;
6050
6304
  if (typeof node.getBoundingClientRect === "function") {
6051
6305
  const r = node.getBoundingClientRect();
@@ -6266,7 +6520,7 @@ function mockWidgets() {
6266
6520
  }
6267
6521
 
6268
6522
  // src/GeneralFeedbackDialog.tsx
6269
- import React11, { useEffect as useEffect7, useMemo as useMemo5, useState as useState8 } from "react";
6523
+ import React12, { useEffect as useEffect7, useMemo as useMemo5, useState as useState8 } from "react";
6270
6524
  import {
6271
6525
  ActivityIndicator as ActivityIndicator3,
6272
6526
  Modal as Modal4,
@@ -6347,7 +6601,7 @@ function GeneralFeedbackDialog({
6347
6601
  setSubmitting(false);
6348
6602
  }
6349
6603
  };
6350
- return /* @__PURE__ */ React11.createElement(
6604
+ return /* @__PURE__ */ React12.createElement(
6351
6605
  Modal4,
6352
6606
  {
6353
6607
  animationType: "fade",
@@ -6355,7 +6609,7 @@ function GeneralFeedbackDialog({
6355
6609
  transparent: true,
6356
6610
  visible
6357
6611
  },
6358
- /* @__PURE__ */ React11.createElement(View8, { style: styles8.backdrop }, /* @__PURE__ */ React11.createElement(View8, { style: [styles8.card, style] }, /* @__PURE__ */ React11.createElement(View8, { style: styles8.header }, /* @__PURE__ */ React11.createElement(TpkIcon, { name: "feedback", size: 22, color: "#2563EB" }), /* @__PURE__ */ React11.createElement(Text8, { style: styles8.headerTitle }, "Share Your Feedback"), /* @__PURE__ */ React11.createElement(
6612
+ /* @__PURE__ */ React12.createElement(View8, { style: styles8.backdrop }, /* @__PURE__ */ React12.createElement(View8, { style: [styles8.card, style] }, /* @__PURE__ */ React12.createElement(View8, { style: styles8.header }, /* @__PURE__ */ React12.createElement(TpkIcon, { name: "feedback", size: 22, color: "#2563EB" }), /* @__PURE__ */ React12.createElement(Text8, { style: styles8.headerTitle }, "Share Your Feedback"), /* @__PURE__ */ React12.createElement(
6359
6613
  Pressable7,
6360
6614
  {
6361
6615
  accessibilityRole: "button",
@@ -6363,15 +6617,15 @@ function GeneralFeedbackDialog({
6363
6617
  onPress: onClose,
6364
6618
  style: styles8.headerClose
6365
6619
  },
6366
- /* @__PURE__ */ React11.createElement(TpkIcon, { name: "close", size: 20, color: "#0F172A" })
6367
- )), /* @__PURE__ */ React11.createElement(
6620
+ /* @__PURE__ */ React12.createElement(TpkIcon, { name: "close", size: 20, color: "#0F172A" })
6621
+ )), /* @__PURE__ */ React12.createElement(
6368
6622
  ScrollView6,
6369
6623
  {
6370
6624
  contentContainerStyle: styles8.body,
6371
6625
  keyboardShouldPersistTaps: "handled"
6372
6626
  },
6373
- /* @__PURE__ */ React11.createElement(Text8, { style: styles8.sectionLabel }, "How satisfied are you with the app?"),
6374
- /* @__PURE__ */ React11.createElement(View8, { style: styles8.starRow }, [1, 2, 3, 4, 5].map((i) => /* @__PURE__ */ React11.createElement(
6627
+ /* @__PURE__ */ React12.createElement(Text8, { style: styles8.sectionLabel }, "How satisfied are you with the app?"),
6628
+ /* @__PURE__ */ React12.createElement(View8, { style: styles8.starRow }, [1, 2, 3, 4, 5].map((i) => /* @__PURE__ */ React12.createElement(
6375
6629
  Pressable7,
6376
6630
  {
6377
6631
  key: i,
@@ -6384,7 +6638,7 @@ function GeneralFeedbackDialog({
6384
6638
  pressed && { opacity: 0.7 }
6385
6639
  ]
6386
6640
  },
6387
- /* @__PURE__ */ React11.createElement(
6641
+ /* @__PURE__ */ React12.createElement(
6388
6642
  TpkIcon,
6389
6643
  {
6390
6644
  name: i <= rating ? "star_filled" : "star_outline",
@@ -6393,8 +6647,8 @@ function GeneralFeedbackDialog({
6393
6647
  }
6394
6648
  )
6395
6649
  ))),
6396
- /* @__PURE__ */ React11.createElement(Text8, { style: styles8.sectionLabel }, "Feedback type"),
6397
- /* @__PURE__ */ React11.createElement(View8, { style: styles8.categoryRow }, CATEGORIES.map((c) => /* @__PURE__ */ React11.createElement(
6650
+ /* @__PURE__ */ React12.createElement(Text8, { style: styles8.sectionLabel }, "Feedback type"),
6651
+ /* @__PURE__ */ React12.createElement(View8, { style: styles8.categoryRow }, CATEGORIES.map((c) => /* @__PURE__ */ React12.createElement(
6398
6652
  Pressable7,
6399
6653
  {
6400
6654
  key: c.value,
@@ -6406,7 +6660,7 @@ function GeneralFeedbackDialog({
6406
6660
  category === c.value && styles8.categoryChipActive
6407
6661
  ]
6408
6662
  },
6409
- /* @__PURE__ */ React11.createElement(
6663
+ /* @__PURE__ */ React12.createElement(
6410
6664
  TpkIcon,
6411
6665
  {
6412
6666
  name: c.icon,
@@ -6414,7 +6668,7 @@ function GeneralFeedbackDialog({
6414
6668
  color: category === c.value ? "#FFFFFF" : "#0F172A"
6415
6669
  }
6416
6670
  ),
6417
- /* @__PURE__ */ React11.createElement(
6671
+ /* @__PURE__ */ React12.createElement(
6418
6672
  Text8,
6419
6673
  {
6420
6674
  style: [
@@ -6425,8 +6679,8 @@ function GeneralFeedbackDialog({
6425
6679
  c.label
6426
6680
  )
6427
6681
  ))),
6428
- /* @__PURE__ */ React11.createElement(Text8, { style: styles8.sectionLabel }, "Summary", " ", /* @__PURE__ */ React11.createElement(Text8, { style: styles8.muted }, "(", title.trim().length, "/", TITLE_MAX, ")")),
6429
- /* @__PURE__ */ React11.createElement(
6682
+ /* @__PURE__ */ React12.createElement(Text8, { style: styles8.sectionLabel }, "Summary", " ", /* @__PURE__ */ React12.createElement(Text8, { style: styles8.muted }, "(", title.trim().length, "/", TITLE_MAX, ")")),
6683
+ /* @__PURE__ */ React12.createElement(
6430
6684
  TextInput2,
6431
6685
  {
6432
6686
  autoFocus: true,
@@ -6437,8 +6691,8 @@ function GeneralFeedbackDialog({
6437
6691
  value: title
6438
6692
  }
6439
6693
  ),
6440
- /* @__PURE__ */ React11.createElement(Text8, { style: styles8.sectionLabel }, "Details", " ", /* @__PURE__ */ React11.createElement(Text8, { style: styles8.muted }, "(", details.trim().length, "/", DETAILS_MAX, ")")),
6441
- /* @__PURE__ */ React11.createElement(
6694
+ /* @__PURE__ */ React12.createElement(Text8, { style: styles8.sectionLabel }, "Details", " ", /* @__PURE__ */ React12.createElement(Text8, { style: styles8.muted }, "(", details.trim().length, "/", DETAILS_MAX, ")")),
6695
+ /* @__PURE__ */ React12.createElement(
6442
6696
  TextInput2,
6443
6697
  {
6444
6698
  maxLength: DETAILS_MAX,
@@ -6450,8 +6704,8 @@ function GeneralFeedbackDialog({
6450
6704
  value: details
6451
6705
  }
6452
6706
  ),
6453
- (validationError || submitError) && /* @__PURE__ */ React11.createElement(Text8, { style: styles8.errorLine }, submitError ?? validationError)
6454
- ), /* @__PURE__ */ React11.createElement(View8, { style: styles8.footer }, /* @__PURE__ */ React11.createElement(
6707
+ (validationError || submitError) && /* @__PURE__ */ React12.createElement(Text8, { style: styles8.errorLine }, submitError ?? validationError)
6708
+ ), /* @__PURE__ */ React12.createElement(View8, { style: styles8.footer }, /* @__PURE__ */ React12.createElement(
6455
6709
  Pressable7,
6456
6710
  {
6457
6711
  accessibilityRole: "button",
@@ -6462,8 +6716,8 @@ function GeneralFeedbackDialog({
6462
6716
  pressed && { opacity: 0.85 }
6463
6717
  ]
6464
6718
  },
6465
- /* @__PURE__ */ React11.createElement(Text8, { style: styles8.cancelLabel }, "Cancel")
6466
- ), /* @__PURE__ */ React11.createElement(
6719
+ /* @__PURE__ */ React12.createElement(Text8, { style: styles8.cancelLabel }, "Cancel")
6720
+ ), /* @__PURE__ */ React12.createElement(
6467
6721
  Pressable7,
6468
6722
  {
6469
6723
  accessibilityRole: "button",
@@ -6475,7 +6729,7 @@ function GeneralFeedbackDialog({
6475
6729
  pressed && { opacity: 0.85 }
6476
6730
  ]
6477
6731
  },
6478
- submitting ? /* @__PURE__ */ React11.createElement(ActivityIndicator3, { color: "#FAFAF7" }) : /* @__PURE__ */ React11.createElement(Text8, { style: styles8.submitLabel }, "Submit feedback")
6732
+ submitting ? /* @__PURE__ */ React12.createElement(ActivityIndicator3, { color: "#FAFAF7" }) : /* @__PURE__ */ React12.createElement(Text8, { style: styles8.submitLabel }, "Submit feedback")
6479
6733
  ))))
6480
6734
  );
6481
6735
  }
@@ -6633,7 +6887,7 @@ var styles8 = StyleSheet8.create({
6633
6887
  });
6634
6888
 
6635
6889
  // src/ScreenshotAnnotationEditor.tsx
6636
- import React13, { useCallback as useCallback6, useRef as useRef7, useState as useState10 } from "react";
6890
+ import React14, { useCallback as useCallback6, useRef as useRef7, useState as useState10 } from "react";
6637
6891
  import {
6638
6892
  ActivityIndicator as ActivityIndicator4,
6639
6893
  Modal as Modal5,
@@ -6646,7 +6900,7 @@ import {
6646
6900
  } from "react-native";
6647
6901
 
6648
6902
  // src/TpkAnnotationOverlay.tsx
6649
- import React12, {
6903
+ import React13, {
6650
6904
  forwardRef,
6651
6905
  useCallback as useCallback5,
6652
6906
  useImperativeHandle,
@@ -6786,7 +7040,7 @@ var TpkAnnotationOverlay = forwardRef(function TpkAnnotationOverlay2(props, ref)
6786
7040
  const surfaceRef = useRef6(null);
6787
7041
  const SvgModRef = useRef6(null);
6788
7042
  const [svgReady, setSvgReady] = useState9(false);
6789
- React12.useEffect(() => {
7043
+ React13.useEffect(() => {
6790
7044
  import("react-native-svg").then((mod) => {
6791
7045
  SvgModRef.current = mod;
6792
7046
  setSvgReady(true);
@@ -6872,7 +7126,7 @@ var TpkAnnotationOverlay = forwardRef(function TpkAnnotationOverlay2(props, ref)
6872
7126
  }),
6873
7127
  [shapes, commitShapes]
6874
7128
  );
6875
- return /* @__PURE__ */ React12.createElement(
7129
+ return /* @__PURE__ */ React13.createElement(
6876
7130
  View9,
6877
7131
  {
6878
7132
  ref: surfaceRef,
@@ -6880,7 +7134,7 @@ var TpkAnnotationOverlay = forwardRef(function TpkAnnotationOverlay2(props, ref)
6880
7134
  onLayout,
6881
7135
  ...panResponder.panHandlers
6882
7136
  },
6883
- /* @__PURE__ */ React12.createElement(
7137
+ /* @__PURE__ */ React13.createElement(
6884
7138
  Image2,
6885
7139
  {
6886
7140
  source: { uri: imageUri },
@@ -6888,13 +7142,13 @@ var TpkAnnotationOverlay = forwardRef(function TpkAnnotationOverlay2(props, ref)
6888
7142
  resizeMode: "contain"
6889
7143
  }
6890
7144
  ),
6891
- svgReady && SvgModRef.current ? /* @__PURE__ */ React12.createElement(ShapeLayer, { shapes, svgMod: SvgModRef.current, viewBox: `0 0 ${imageWidth} ${imageHeight}` }) : null
7145
+ svgReady && SvgModRef.current ? /* @__PURE__ */ React13.createElement(ShapeLayer, { shapes, svgMod: SvgModRef.current, viewBox: `0 0 ${imageWidth} ${imageHeight}` }) : null
6892
7146
  );
6893
7147
  });
6894
7148
  function ShapeLayer({ shapes, svgMod, viewBox }) {
6895
7149
  const Svg = svgMod.default ?? svgMod.Svg;
6896
7150
  const { Rect, Circle, Polygon, Path, Text: SvgText, Line: SvgLine, G } = svgMod;
6897
- return /* @__PURE__ */ React12.createElement(
7151
+ return /* @__PURE__ */ React13.createElement(
6898
7152
  Svg,
6899
7153
  {
6900
7154
  style: StyleSheet9.absoluteFill,
@@ -6907,7 +7161,7 @@ function ShapeLayer({ shapes, svgMod, viewBox }) {
6907
7161
  const opacity = s.kind === "blur" ? 1 : s.style.opacity ?? 1;
6908
7162
  switch (s.kind) {
6909
7163
  case "rect":
6910
- return /* @__PURE__ */ React12.createElement(
7164
+ return /* @__PURE__ */ React13.createElement(
6911
7165
  Rect,
6912
7166
  {
6913
7167
  key: s.id,
@@ -6922,7 +7176,7 @@ function ShapeLayer({ shapes, svgMod, viewBox }) {
6922
7176
  }
6923
7177
  );
6924
7178
  case "circle":
6925
- return /* @__PURE__ */ React12.createElement(
7179
+ return /* @__PURE__ */ React13.createElement(
6926
7180
  Circle,
6927
7181
  {
6928
7182
  key: s.id,
@@ -6937,7 +7191,7 @@ function ShapeLayer({ shapes, svgMod, viewBox }) {
6937
7191
  );
6938
7192
  case "arrow": {
6939
7193
  const head = arrowHeadPoints(s);
6940
- return /* @__PURE__ */ React12.createElement(G, { key: s.id, opacity }, /* @__PURE__ */ React12.createElement(
7194
+ return /* @__PURE__ */ React13.createElement(G, { key: s.id, opacity }, /* @__PURE__ */ React13.createElement(
6941
7195
  SvgLine,
6942
7196
  {
6943
7197
  x1: s.from.x,
@@ -6947,7 +7201,7 @@ function ShapeLayer({ shapes, svgMod, viewBox }) {
6947
7201
  stroke,
6948
7202
  strokeWidth
6949
7203
  }
6950
- ), /* @__PURE__ */ React12.createElement(
7204
+ ), /* @__PURE__ */ React13.createElement(
6951
7205
  Polygon,
6952
7206
  {
6953
7207
  points: head.map((p) => `${p.x},${p.y}`).join(" "),
@@ -6956,7 +7210,7 @@ function ShapeLayer({ shapes, svgMod, viewBox }) {
6956
7210
  ));
6957
7211
  }
6958
7212
  case "path":
6959
- return /* @__PURE__ */ React12.createElement(
7213
+ return /* @__PURE__ */ React13.createElement(
6960
7214
  Path,
6961
7215
  {
6962
7216
  key: s.id,
@@ -6968,7 +7222,7 @@ function ShapeLayer({ shapes, svgMod, viewBox }) {
6968
7222
  }
6969
7223
  );
6970
7224
  case "text":
6971
- return /* @__PURE__ */ React12.createElement(
7225
+ return /* @__PURE__ */ React13.createElement(
6972
7226
  SvgText,
6973
7227
  {
6974
7228
  key: s.id,
@@ -6981,7 +7235,7 @@ function ShapeLayer({ shapes, svgMod, viewBox }) {
6981
7235
  s.text
6982
7236
  );
6983
7237
  case "blur":
6984
- return /* @__PURE__ */ React12.createElement(
7238
+ return /* @__PURE__ */ React13.createElement(
6985
7239
  Rect,
6986
7240
  {
6987
7241
  key: s.id,
@@ -7147,7 +7401,7 @@ function ScreenshotAnnotationEditor({
7147
7401
  const setStrokeWidth = useCallback6((strokeWidth) => {
7148
7402
  setAnnotationStyle((cur) => ({ ...cur, strokeWidth }));
7149
7403
  }, []);
7150
- return /* @__PURE__ */ React13.createElement(
7404
+ return /* @__PURE__ */ React14.createElement(
7151
7405
  Modal5,
7152
7406
  {
7153
7407
  animationType: "slide",
@@ -7155,7 +7409,7 @@ function ScreenshotAnnotationEditor({
7155
7409
  transparent: false,
7156
7410
  visible
7157
7411
  },
7158
- /* @__PURE__ */ React13.createElement(View10, { style: [styles10.root, style], testID }, /* @__PURE__ */ React13.createElement(
7412
+ /* @__PURE__ */ React14.createElement(View10, { style: [styles10.root, style], testID }, /* @__PURE__ */ React14.createElement(
7159
7413
  Header2,
7160
7414
  {
7161
7415
  onCancel,
@@ -7163,7 +7417,7 @@ function ScreenshotAnnotationEditor({
7163
7417
  onUndo: () => editorRef.current?.undo(),
7164
7418
  onClear: () => editorRef.current?.clear()
7165
7419
  }
7166
- ), /* @__PURE__ */ React13.createElement(
7420
+ ), /* @__PURE__ */ React14.createElement(
7167
7421
  Toolbar,
7168
7422
  {
7169
7423
  tool,
@@ -7172,7 +7426,7 @@ function ScreenshotAnnotationEditor({
7172
7426
  onColorChange: setColor,
7173
7427
  onStrokeWidthChange: setStrokeWidth
7174
7428
  }
7175
- ), tool === "text" && /* @__PURE__ */ React13.createElement(View10, { style: styles10.textInputRow }, /* @__PURE__ */ React13.createElement(
7429
+ ), tool === "text" && /* @__PURE__ */ React14.createElement(View10, { style: styles10.textInputRow }, /* @__PURE__ */ React14.createElement(
7176
7430
  TextInput3,
7177
7431
  {
7178
7432
  autoFocus: true,
@@ -7182,7 +7436,7 @@ function ScreenshotAnnotationEditor({
7182
7436
  value: textValue,
7183
7437
  onChangeText: setTextValue
7184
7438
  }
7185
- )), /* @__PURE__ */ React13.createElement(View10, { style: styles10.canvasWrap }, /* @__PURE__ */ React13.createElement(
7439
+ )), /* @__PURE__ */ React14.createElement(View10, { style: styles10.canvasWrap }, /* @__PURE__ */ React14.createElement(
7186
7440
  TpkAnnotationOverlay,
7187
7441
  {
7188
7442
  ref: editorRef,
@@ -7193,7 +7447,7 @@ function ScreenshotAnnotationEditor({
7193
7447
  style: annotationStyle,
7194
7448
  textValue
7195
7449
  }
7196
- )), error && /* @__PURE__ */ React13.createElement(View10, { style: styles10.errorBanner }, /* @__PURE__ */ React13.createElement(Text9, { style: styles10.errorLabel }, error)), /* @__PURE__ */ React13.createElement(
7450
+ )), error && /* @__PURE__ */ React14.createElement(View10, { style: styles10.errorBanner }, /* @__PURE__ */ React14.createElement(Text9, { style: styles10.errorLabel }, error)), /* @__PURE__ */ React14.createElement(
7197
7451
  Footer2,
7198
7452
  {
7199
7453
  processing,
@@ -7209,7 +7463,7 @@ function Header2({
7209
7463
  onUndo,
7210
7464
  onClear
7211
7465
  }) {
7212
- return /* @__PURE__ */ React13.createElement(View10, { style: styles10.header }, /* @__PURE__ */ React13.createElement(
7466
+ return /* @__PURE__ */ React14.createElement(View10, { style: [styles10.header, { paddingTop: 12 + getModalInsets().top }] }, /* @__PURE__ */ React14.createElement(
7213
7467
  Pressable8,
7214
7468
  {
7215
7469
  accessibilityRole: "button",
@@ -7218,8 +7472,8 @@ function Header2({
7218
7472
  onPress: onCancel,
7219
7473
  style: styles10.headerIconButton
7220
7474
  },
7221
- /* @__PURE__ */ React13.createElement(TpkIcon, { name: "close", size: 20, color: "#FAFAF7" })
7222
- ), /* @__PURE__ */ React13.createElement(View10, { style: styles10.headerTitleRow }, /* @__PURE__ */ React13.createElement(TpkIcon, { name: "edit_pen", size: 20, color: "#FAFAF7" }), /* @__PURE__ */ React13.createElement(Text9, { style: styles10.headerTitle }, "Annotate Screenshot")), /* @__PURE__ */ React13.createElement(
7475
+ /* @__PURE__ */ React14.createElement(TpkIcon, { name: "close", size: 20, color: "#FAFAF7" })
7476
+ ), /* @__PURE__ */ React14.createElement(View10, { style: styles10.headerTitleRow }, /* @__PURE__ */ React14.createElement(TpkIcon, { name: "edit_pen", size: 20, color: "#FAFAF7" }), /* @__PURE__ */ React14.createElement(Text9, { style: styles10.headerTitle }, "Annotate Screenshot")), /* @__PURE__ */ React14.createElement(
7223
7477
  Pressable8,
7224
7478
  {
7225
7479
  accessibilityRole: "button",
@@ -7228,8 +7482,8 @@ function Header2({
7228
7482
  onPress: onUndo,
7229
7483
  style: styles10.headerIconButton
7230
7484
  },
7231
- /* @__PURE__ */ React13.createElement(Text9, { style: styles10.headerIconLabel }, "\u21B6")
7232
- ), /* @__PURE__ */ React13.createElement(
7485
+ /* @__PURE__ */ React14.createElement(Text9, { style: styles10.headerIconLabel }, "\u21B6")
7486
+ ), /* @__PURE__ */ React14.createElement(
7233
7487
  Pressable8,
7234
7488
  {
7235
7489
  accessibilityRole: "button",
@@ -7238,7 +7492,7 @@ function Header2({
7238
7492
  onPress: onClear,
7239
7493
  style: styles10.headerIconButton
7240
7494
  },
7241
- /* @__PURE__ */ React13.createElement(Text9, { style: styles10.headerIconLabel }, "\u232B")
7495
+ /* @__PURE__ */ React14.createElement(Text9, { style: styles10.headerIconLabel }, "\u232B")
7242
7496
  ));
7243
7497
  }
7244
7498
  function Toolbar({
@@ -7248,7 +7502,7 @@ function Toolbar({
7248
7502
  onColorChange,
7249
7503
  onStrokeWidthChange
7250
7504
  }) {
7251
- return /* @__PURE__ */ React13.createElement(View10, { style: styles10.toolbar }, /* @__PURE__ */ React13.createElement(
7505
+ return /* @__PURE__ */ React14.createElement(View10, { style: styles10.toolbar }, /* @__PURE__ */ React14.createElement(
7252
7506
  ScrollView7,
7253
7507
  {
7254
7508
  horizontal: true,
@@ -7257,7 +7511,7 @@ function Toolbar({
7257
7511
  },
7258
7512
  TOOLS.map((t) => {
7259
7513
  const active = tool === t.value;
7260
- return /* @__PURE__ */ React13.createElement(
7514
+ return /* @__PURE__ */ React14.createElement(
7261
7515
  Pressable8,
7262
7516
  {
7263
7517
  key: t.value,
@@ -7270,7 +7524,7 @@ function Toolbar({
7270
7524
  active && styles10.toolButtonActive
7271
7525
  ]
7272
7526
  },
7273
- /* @__PURE__ */ React13.createElement(
7527
+ /* @__PURE__ */ React14.createElement(
7274
7528
  TpkIcon,
7275
7529
  {
7276
7530
  name: t.icon,
@@ -7278,7 +7532,7 @@ function Toolbar({
7278
7532
  color: active ? "#FAFAF7" : "#94A3B8"
7279
7533
  }
7280
7534
  ),
7281
- /* @__PURE__ */ React13.createElement(
7535
+ /* @__PURE__ */ React14.createElement(
7282
7536
  Text9,
7283
7537
  {
7284
7538
  style: [
@@ -7290,7 +7544,7 @@ function Toolbar({
7290
7544
  )
7291
7545
  );
7292
7546
  })
7293
- ), /* @__PURE__ */ React13.createElement(View10, { style: styles10.toolbarBottomRow }, /* @__PURE__ */ React13.createElement(View10, { style: styles10.swatchRow }, ANNOTATION_PALETTE.map((c) => /* @__PURE__ */ React13.createElement(
7547
+ ), /* @__PURE__ */ React14.createElement(View10, { style: styles10.toolbarBottomRow }, /* @__PURE__ */ React14.createElement(View10, { style: styles10.swatchRow }, ANNOTATION_PALETTE.map((c) => /* @__PURE__ */ React14.createElement(
7294
7548
  Pressable8,
7295
7549
  {
7296
7550
  key: c,
@@ -7303,7 +7557,7 @@ function Toolbar({
7303
7557
  annotationStyle.color === c && styles10.swatchActive
7304
7558
  ]
7305
7559
  }
7306
- ))), /* @__PURE__ */ React13.createElement(View10, { style: styles10.strokeRow }, STROKE_WIDTHS.map((w) => /* @__PURE__ */ React13.createElement(
7560
+ ))), /* @__PURE__ */ React14.createElement(View10, { style: styles10.strokeRow }, STROKE_WIDTHS.map((w) => /* @__PURE__ */ React14.createElement(
7307
7561
  Pressable8,
7308
7562
  {
7309
7563
  key: w,
@@ -7315,7 +7569,7 @@ function Toolbar({
7315
7569
  annotationStyle.strokeWidth === w && styles10.strokeButtonActive
7316
7570
  ]
7317
7571
  },
7318
- /* @__PURE__ */ React13.createElement(
7572
+ /* @__PURE__ */ React14.createElement(
7319
7573
  View10,
7320
7574
  {
7321
7575
  style: [
@@ -7334,33 +7588,43 @@ function Footer2({
7334
7588
  onCancel,
7335
7589
  onSave
7336
7590
  }) {
7337
- return /* @__PURE__ */ React13.createElement(View10, { style: styles10.footer }, /* @__PURE__ */ React13.createElement(
7338
- Pressable8,
7339
- {
7340
- accessibilityRole: "button",
7341
- disabled: processing,
7342
- onPress: onCancel,
7343
- style: ({ pressed }) => [
7344
- styles10.footerSecondary,
7345
- pressed && { opacity: 0.7 }
7346
- ]
7347
- },
7348
- /* @__PURE__ */ React13.createElement(Text9, { style: styles10.footerSecondaryLabel }, "Cancel")
7349
- ), /* @__PURE__ */ React13.createElement(
7350
- Pressable8,
7591
+ return /* @__PURE__ */ React14.createElement(
7592
+ View10,
7351
7593
  {
7352
- accessibilityRole: "button",
7353
- accessibilityLabel: "Save annotation",
7354
- disabled: processing,
7355
- onPress: onSave,
7356
- style: ({ pressed }) => [
7357
- styles10.footerPrimary,
7358
- processing && styles10.footerPrimaryDisabled,
7359
- pressed && { opacity: 0.85 }
7594
+ style: [
7595
+ styles10.footer,
7596
+ { paddingBottom: Math.max(14, getModalInsets().bottom) }
7360
7597
  ]
7361
7598
  },
7362
- processing ? /* @__PURE__ */ React13.createElement(ActivityIndicator4, { color: "#FAFAF7" }) : /* @__PURE__ */ React13.createElement(Text9, { style: styles10.footerPrimaryLabel }, "Save annotation")
7363
- ));
7599
+ /* @__PURE__ */ React14.createElement(
7600
+ Pressable8,
7601
+ {
7602
+ accessibilityRole: "button",
7603
+ disabled: processing,
7604
+ onPress: onCancel,
7605
+ style: ({ pressed }) => [
7606
+ styles10.footerSecondary,
7607
+ pressed && { opacity: 0.7 }
7608
+ ]
7609
+ },
7610
+ /* @__PURE__ */ React14.createElement(Text9, { style: styles10.footerSecondaryLabel }, "Cancel")
7611
+ ),
7612
+ /* @__PURE__ */ React14.createElement(
7613
+ Pressable8,
7614
+ {
7615
+ accessibilityRole: "button",
7616
+ accessibilityLabel: "Save annotation",
7617
+ disabled: processing,
7618
+ onPress: onSave,
7619
+ style: ({ pressed }) => [
7620
+ styles10.footerPrimary,
7621
+ processing && styles10.footerPrimaryDisabled,
7622
+ pressed && { opacity: 0.85 }
7623
+ ]
7624
+ },
7625
+ processing ? /* @__PURE__ */ React14.createElement(ActivityIndicator4, { color: "#FAFAF7" }) : /* @__PURE__ */ React14.createElement(Text9, { style: styles10.footerPrimaryLabel }, "Save annotation")
7626
+ )
7627
+ );
7364
7628
  }
7365
7629
  var styles10 = StyleSheet10.create({
7366
7630
  root: {
@@ -7590,7 +7854,7 @@ async function readFileSize(uri) {
7590
7854
  }
7591
7855
 
7592
7856
  // src/VoiceBugInputSheet.tsx
7593
- import React14, {
7857
+ import React15, {
7594
7858
  useCallback as useCallback7,
7595
7859
  useEffect as useEffect8,
7596
7860
  useMemo as useMemo7,
@@ -7602,7 +7866,7 @@ import {
7602
7866
  Animated as Animated2,
7603
7867
  Easing as Easing2,
7604
7868
  Modal as Modal6,
7605
- Platform as Platform6,
7869
+ Platform as Platform7,
7606
7870
  Pressable as Pressable9,
7607
7871
  ScrollView as ScrollView8,
7608
7872
  StyleSheet as StyleSheet11,
@@ -7660,7 +7924,7 @@ async function quickDraftBug(tpk, input) {
7660
7924
  }
7661
7925
 
7662
7926
  // src/VoiceBugInputSheet.tsx
7663
- var DEFAULT_STRINGS = {
7927
+ var DEFAULT_STRINGS_DE = {
7664
7928
  languagePickerLabel: "Auto-detect",
7665
7929
  classificationBug: "Bug",
7666
7930
  classificationFeature: "Feature",
@@ -7690,6 +7954,36 @@ var DEFAULT_STRINGS = {
7690
7954
  quickNoScreenshot: "Vom Screen lie\xDF sich kein Bild aufnehmen.",
7691
7955
  back: "Zur\xFCck"
7692
7956
  };
7957
+ var DEFAULT_STRINGS_EN = {
7958
+ languagePickerLabel: "Auto-detect",
7959
+ classificationBug: "Bug",
7960
+ classificationFeature: "Feature",
7961
+ classificationIdea: "Idea",
7962
+ classificationIssue: "Problem",
7963
+ idleHeadline: "Speak the bug",
7964
+ idleDescription: "Describe in your own words what's wrong. We fill in title, description, expected/actual and frequency from it.",
7965
+ recordingHeadline: "Listening\u2026",
7966
+ recordingDescription: "Just talk \u2014 we transcribe when you tap stop.",
7967
+ processingHeadline: "Analysing\u2026",
7968
+ processingDescription: "Whisper transcribes + GPT extracts the fields. ~3-5 seconds.",
7969
+ errorHeadline: "Something went wrong",
7970
+ errorDescriptionFallback: "Unknown error.",
7971
+ extractedHeadline: "Here's what I understood",
7972
+ extractedDescription: 'Check the extracted fields. "Use" takes you to the bug report with them filled in.',
7973
+ cancel: "Cancel",
7974
+ retry: "Try again",
7975
+ useExtracted: "Use \u2192",
7976
+ rerecord: "Record again",
7977
+ quickHint: "Or with one tap \u2014 we read the screen:",
7978
+ quickBroken: "Doesn't work",
7979
+ quickConfusing: "Don't get it",
7980
+ quickLooksBroken: "Looks broken",
7981
+ quickMissing: "Something's missing",
7982
+ quickProcessingDescription: "The AI looks at the screen and writes a draft. ~3-5 seconds.",
7983
+ quickExtractedDescription: "Draft from the screenshot \u2014 check every line before you use it. Nothing is sent without you.",
7984
+ quickNoScreenshot: "Could not capture the screen.",
7985
+ back: "Back"
7986
+ };
7693
7987
  var QUICK_ACTIONS = [
7694
7988
  { kind: "broken", emoji: "\u{1F6AB}", label: "quickBroken", classification: "bug" },
7695
7989
  {
@@ -7732,9 +8026,13 @@ function VoiceBugInputSheet({
7732
8026
  style,
7733
8027
  testID = "tpk-voice-bug-sheet"
7734
8028
  }) {
8029
+ const uiLanguage = useTpkLanguage();
7735
8030
  const S = useMemo7(
7736
- () => ({ ...DEFAULT_STRINGS, ...strings ?? {} }),
7737
- [strings]
8031
+ () => ({
8032
+ ...uiLanguage === "de" ? DEFAULT_STRINGS_DE : DEFAULT_STRINGS_EN,
8033
+ ...strings ?? {}
8034
+ }),
8035
+ [strings, uiLanguage]
7738
8036
  );
7739
8037
  const [phase, setPhase] = useState11("idle");
7740
8038
  const [classification, setClassification] = useState11("bug");
@@ -7985,7 +8283,7 @@ function VoiceBugInputSheet({
7985
8283
  const opacity = Math.max(0, Math.min(1, sheetOpacity));
7986
8284
  const backdropOverride = { backgroundColor: `rgba(0,0,0,${0.55 * opacity})` };
7987
8285
  const sheetOverride = { backgroundColor: `rgba(17,24,39,${opacity})` };
7988
- return /* @__PURE__ */ React14.createElement(
8286
+ return /* @__PURE__ */ React15.createElement(
7989
8287
  Modal6,
7990
8288
  {
7991
8289
  animationType: "slide",
@@ -7993,7 +8291,7 @@ function VoiceBugInputSheet({
7993
8291
  transparent: true,
7994
8292
  visible
7995
8293
  },
7996
- /* @__PURE__ */ React14.createElement(View11, { style: [styles11.backdrop, backdropOverride, style], testID }, /* @__PURE__ */ React14.createElement(
8294
+ /* @__PURE__ */ React15.createElement(View11, { style: [styles11.backdrop, backdropOverride, style], testID }, /* @__PURE__ */ React15.createElement(
7997
8295
  Pressable9,
7998
8296
  {
7999
8297
  accessibilityRole: "button",
@@ -8002,13 +8300,13 @@ function VoiceBugInputSheet({
8002
8300
  onPress: () => void cancel(),
8003
8301
  style: styles11.backdropSpacer
8004
8302
  }
8005
- ), /* @__PURE__ */ React14.createElement(View11, { style: [styles11.sheet, sheetOverride] }, /* @__PURE__ */ React14.createElement(View11, { style: styles11.grabber }), /* @__PURE__ */ React14.createElement(
8303
+ ), /* @__PURE__ */ React15.createElement(View11, { style: [styles11.sheet, sheetOverride] }, /* @__PURE__ */ React15.createElement(View11, { style: styles11.grabber }), /* @__PURE__ */ React15.createElement(
8006
8304
  Animated2.View,
8007
8305
  {
8008
8306
  style: [styles11.dimmable, { opacity: dimAnim }],
8009
8307
  pointerEvents: isRecording ? "none" : "auto"
8010
8308
  },
8011
- /* @__PURE__ */ React14.createElement(View11, { style: styles11.languagePickerRow }, /* @__PURE__ */ React14.createElement(
8309
+ /* @__PURE__ */ React15.createElement(View11, { style: styles11.languagePickerRow }, /* @__PURE__ */ React15.createElement(
8012
8310
  Pressable9,
8013
8311
  {
8014
8312
  accessibilityRole: "button",
@@ -8021,10 +8319,10 @@ function VoiceBugInputSheet({
8021
8319
  },
8022
8320
  style: [styles11.languageChip, !isIdle && { opacity: 0.5 }]
8023
8321
  },
8024
- /* @__PURE__ */ React14.createElement(TpkIcon, { name: "language", size: 14, color: "#475569" }),
8025
- /* @__PURE__ */ React14.createElement(Text10, { style: styles11.languageChipLabel }, languageLabel(language, S))
8322
+ /* @__PURE__ */ React15.createElement(TpkIcon, { name: "language", size: 14, color: "#475569" }),
8323
+ /* @__PURE__ */ React15.createElement(Text10, { style: styles11.languageChipLabel }, languageLabel(language, S))
8026
8324
  )),
8027
- /* @__PURE__ */ React14.createElement(
8325
+ /* @__PURE__ */ React15.createElement(
8028
8326
  ScrollView8,
8029
8327
  {
8030
8328
  horizontal: true,
@@ -8033,7 +8331,7 @@ function VoiceBugInputSheet({
8033
8331
  },
8034
8332
  CLASSIFICATIONS.map((c) => {
8035
8333
  const active = classification === c;
8036
- return /* @__PURE__ */ React14.createElement(
8334
+ return /* @__PURE__ */ React15.createElement(
8037
8335
  Pressable9,
8038
8336
  {
8039
8337
  key: c,
@@ -8051,7 +8349,7 @@ function VoiceBugInputSheet({
8051
8349
  !isIdle && { opacity: 0.5 }
8052
8350
  ]
8053
8351
  },
8054
- active && /* @__PURE__ */ React14.createElement(
8352
+ active && /* @__PURE__ */ React15.createElement(
8055
8353
  TpkIcon,
8056
8354
  {
8057
8355
  name: "check",
@@ -8060,7 +8358,7 @@ function VoiceBugInputSheet({
8060
8358
  style: { marginRight: 4 }
8061
8359
  }
8062
8360
  ),
8063
- /* @__PURE__ */ React14.createElement(
8361
+ /* @__PURE__ */ React15.createElement(
8064
8362
  Text10,
8065
8363
  {
8066
8364
  style: [
@@ -8073,9 +8371,9 @@ function VoiceBugInputSheet({
8073
8371
  );
8074
8372
  })
8075
8373
  ),
8076
- /* @__PURE__ */ React14.createElement(Text10, { style: styles11.headline }, headline),
8077
- /* @__PURE__ */ React14.createElement(Text10, { style: styles11.description }, description)
8078
- ), isRecording && /* @__PURE__ */ React14.createElement(React14.Fragment, null, /* @__PURE__ */ React14.createElement(Text10, { style: [styles11.timer, { color: accentColor }] }, formatTime(seconds)), /* @__PURE__ */ React14.createElement(View11, { style: styles11.meterTrack }, /* @__PURE__ */ React14.createElement(
8374
+ /* @__PURE__ */ React15.createElement(Text10, { style: styles11.headline }, headline),
8375
+ /* @__PURE__ */ React15.createElement(Text10, { style: styles11.description }, description)
8376
+ ), isRecording && /* @__PURE__ */ React15.createElement(React15.Fragment, null, /* @__PURE__ */ React15.createElement(Text10, { style: [styles11.timer, { color: accentColor }] }, formatTime(seconds)), /* @__PURE__ */ React15.createElement(View11, { style: styles11.meterTrack }, /* @__PURE__ */ React15.createElement(
8079
8377
  Animated2.View,
8080
8378
  {
8081
8379
  style: [
@@ -8093,37 +8391,37 @@ function VoiceBugInputSheet({
8093
8391
  }
8094
8392
  ]
8095
8393
  }
8096
- ))), isExtracted && result && /* @__PURE__ */ React14.createElement(
8394
+ ))), isExtracted && result && /* @__PURE__ */ React15.createElement(
8097
8395
  ScrollView8,
8098
8396
  {
8099
8397
  style: styles11.extractedScroll,
8100
8398
  contentContainerStyle: styles11.extractedScrollContent
8101
8399
  },
8102
- quickMode ? null : /* @__PURE__ */ React14.createElement(View11, { style: styles11.transcriptCard }, /* @__PURE__ */ React14.createElement(Text10, { style: styles11.transcriptLabel }, "Transcript"), /* @__PURE__ */ React14.createElement(Text10, { style: styles11.transcriptText }, result.transcript || "(empty)")),
8103
- /* @__PURE__ */ React14.createElement(ExtractField, { label: "Title", value: result.title }),
8104
- /* @__PURE__ */ React14.createElement(
8400
+ quickMode ? null : /* @__PURE__ */ React15.createElement(View11, { style: styles11.transcriptCard }, /* @__PURE__ */ React15.createElement(Text10, { style: styles11.transcriptLabel }, "Transcript"), /* @__PURE__ */ React15.createElement(Text10, { style: styles11.transcriptText }, result.transcript || "(empty)")),
8401
+ /* @__PURE__ */ React15.createElement(ExtractField, { label: "Title", value: result.title }),
8402
+ /* @__PURE__ */ React15.createElement(
8105
8403
  ExtractField,
8106
8404
  {
8107
8405
  label: "Description",
8108
8406
  value: result.description
8109
8407
  }
8110
8408
  ),
8111
- /* @__PURE__ */ React14.createElement(
8409
+ /* @__PURE__ */ React15.createElement(
8112
8410
  ExtractField,
8113
8411
  {
8114
8412
  label: "Expected",
8115
8413
  value: result.expectedBehavior
8116
8414
  }
8117
8415
  ),
8118
- /* @__PURE__ */ React14.createElement(
8416
+ /* @__PURE__ */ React15.createElement(
8119
8417
  ExtractField,
8120
8418
  {
8121
8419
  label: "Actual",
8122
8420
  value: result.actualBehavior
8123
8421
  }
8124
8422
  ),
8125
- /* @__PURE__ */ React14.createElement(ExtractField, { label: "Frequency", value: result.frequency })
8126
- ), isIdle && captureScreen ? /* @__PURE__ */ React14.createElement(View11, { style: styles11.quickBlock }, /* @__PURE__ */ React14.createElement(Text10, { style: styles11.quickHint }, S.quickHint), /* @__PURE__ */ React14.createElement(View11, { style: styles11.quickGrid }, QUICK_ACTIONS.map((a) => /* @__PURE__ */ React14.createElement(
8423
+ /* @__PURE__ */ React15.createElement(ExtractField, { label: "Frequency", value: result.frequency })
8424
+ ), isIdle && captureScreen ? /* @__PURE__ */ React15.createElement(View11, { style: styles11.quickBlock }, /* @__PURE__ */ React15.createElement(Text10, { style: styles11.quickHint }, S.quickHint), /* @__PURE__ */ React15.createElement(View11, { style: styles11.quickGrid }, QUICK_ACTIONS.map((a) => /* @__PURE__ */ React15.createElement(
8127
8425
  Pressable9,
8128
8426
  {
8129
8427
  key: a.kind,
@@ -8136,9 +8434,9 @@ function VoiceBugInputSheet({
8136
8434
  pressed && { opacity: 0.8 }
8137
8435
  ]
8138
8436
  },
8139
- /* @__PURE__ */ React14.createElement(Text10, { style: styles11.quickEmoji }, a.emoji),
8140
- /* @__PURE__ */ React14.createElement(Text10, { style: styles11.quickLabel }, S[a.label])
8141
- )))) : null, /* @__PURE__ */ React14.createElement(View11, { style: styles11.primaryRow }, isIdle && /* @__PURE__ */ React14.createElement(
8437
+ /* @__PURE__ */ React15.createElement(Text10, { style: styles11.quickEmoji }, a.emoji),
8438
+ /* @__PURE__ */ React15.createElement(Text10, { style: styles11.quickLabel }, S[a.label])
8439
+ )))) : null, /* @__PURE__ */ React15.createElement(View11, { style: styles11.primaryRow }, isIdle && /* @__PURE__ */ React15.createElement(
8142
8440
  Pressable9,
8143
8441
  {
8144
8442
  accessibilityRole: "button",
@@ -8149,8 +8447,8 @@ function VoiceBugInputSheet({
8149
8447
  { backgroundColor: accentColor, shadowColor: accentColor }
8150
8448
  ]
8151
8449
  },
8152
- /* @__PURE__ */ React14.createElement(TpkIcon, { name: "voice", size: 42, color: "#FFFFFF" })
8153
- ), isRecording && /* @__PURE__ */ React14.createElement(
8450
+ /* @__PURE__ */ React15.createElement(TpkIcon, { name: "voice", size: 42, color: "#FFFFFF" })
8451
+ ), isRecording && /* @__PURE__ */ React15.createElement(
8154
8452
  Animated2.View,
8155
8453
  {
8156
8454
  style: [
@@ -8162,7 +8460,7 @@ function VoiceBugInputSheet({
8162
8460
  }
8163
8461
  ]
8164
8462
  },
8165
- /* @__PURE__ */ React14.createElement(
8463
+ /* @__PURE__ */ React15.createElement(
8166
8464
  Pressable9,
8167
8465
  {
8168
8466
  accessibilityRole: "button",
@@ -8170,9 +8468,9 @@ function VoiceBugInputSheet({
8170
8468
  onPress: () => void stop(),
8171
8469
  style: styles11.micPressable
8172
8470
  },
8173
- /* @__PURE__ */ React14.createElement(Text10, { style: styles11.micButtonStop }, "\u25A0")
8471
+ /* @__PURE__ */ React15.createElement(Text10, { style: styles11.micButtonStop }, "\u25A0")
8174
8472
  )
8175
- ), isUploading && /* @__PURE__ */ React14.createElement(View11, { style: styles11.spinnerSlot }, /* @__PURE__ */ React14.createElement(ActivityIndicator5, { size: "large", color: accentColor })), (isExtracted || isError) && /* @__PURE__ */ React14.createElement(View11, { style: styles11.actionsRow }, /* @__PURE__ */ React14.createElement(
8473
+ ), isUploading && /* @__PURE__ */ React15.createElement(View11, { style: styles11.spinnerSlot }, /* @__PURE__ */ React15.createElement(ActivityIndicator5, { size: "large", color: accentColor })), (isExtracted || isError) && /* @__PURE__ */ React15.createElement(View11, { style: styles11.actionsRow }, /* @__PURE__ */ React15.createElement(
8176
8474
  Pressable9,
8177
8475
  {
8178
8476
  accessibilityRole: "button",
@@ -8182,8 +8480,8 @@ function VoiceBugInputSheet({
8182
8480
  pressed && { opacity: 0.85 }
8183
8481
  ]
8184
8482
  },
8185
- /* @__PURE__ */ React14.createElement(Text10, { style: styles11.secondaryButtonLabel }, quickMode ? S.back : isError ? S.retry : S.rerecord)
8186
- ), isExtracted && /* @__PURE__ */ React14.createElement(
8483
+ /* @__PURE__ */ React15.createElement(Text10, { style: styles11.secondaryButtonLabel }, quickMode ? S.back : isError ? S.retry : S.rerecord)
8484
+ ), isExtracted && /* @__PURE__ */ React15.createElement(
8187
8485
  Pressable9,
8188
8486
  {
8189
8487
  accessibilityRole: "button",
@@ -8195,8 +8493,8 @@ function VoiceBugInputSheet({
8195
8493
  pressed && { opacity: 0.85 }
8196
8494
  ]
8197
8495
  },
8198
- /* @__PURE__ */ React14.createElement(Text10, { style: styles11.primaryButtonLabel }, S.useExtracted)
8199
- ))), /* @__PURE__ */ React14.createElement(
8496
+ /* @__PURE__ */ React15.createElement(Text10, { style: styles11.primaryButtonLabel }, S.useExtracted)
8497
+ ))), /* @__PURE__ */ React15.createElement(
8200
8498
  Pressable9,
8201
8499
  {
8202
8500
  accessibilityRole: "button",
@@ -8204,7 +8502,7 @@ function VoiceBugInputSheet({
8204
8502
  onPress: () => void cancel(),
8205
8503
  style: styles11.cancelButton
8206
8504
  },
8207
- /* @__PURE__ */ React14.createElement(Text10, { style: [styles11.cancelLabel, { color: accentColor }] }, S.cancel)
8505
+ /* @__PURE__ */ React15.createElement(Text10, { style: [styles11.cancelLabel, { color: accentColor }] }, S.cancel)
8208
8506
  )))
8209
8507
  );
8210
8508
  }
@@ -8212,20 +8510,20 @@ function ExtractField({
8212
8510
  label,
8213
8511
  value
8214
8512
  }) {
8215
- return /* @__PURE__ */ React14.createElement(View11, { style: styles11.extractRow }, /* @__PURE__ */ React14.createElement(Text10, { style: styles11.extractLabel }, label), /* @__PURE__ */ React14.createElement(Text10, { style: styles11.extractValue }, value || "\u2014"));
8513
+ return /* @__PURE__ */ React15.createElement(View11, { style: styles11.extractRow }, /* @__PURE__ */ React15.createElement(Text10, { style: styles11.extractLabel }, label), /* @__PURE__ */ React15.createElement(Text10, { style: styles11.extractValue }, value || "\u2014"));
8216
8514
  }
8217
8515
  async function startRecording(opts = {}) {
8218
- if (Platform6.OS === "web") return startWebRecording(opts);
8516
+ if (Platform7.OS === "web") return startWebRecording(opts);
8219
8517
  return startNativeRecording();
8220
8518
  }
8221
8519
  async function stopRecording(handle) {
8222
- if (Platform6.OS === "web") return stopWebRecording(handle);
8520
+ if (Platform7.OS === "web") return stopWebRecording(handle);
8223
8521
  return stopNativeRecording(handle);
8224
8522
  }
8225
8523
  async function cleanupRecorder(handle) {
8226
8524
  if (!handle) return;
8227
8525
  try {
8228
- if (Platform6.OS === "web") {
8526
+ if (Platform7.OS === "web") {
8229
8527
  const w = handle;
8230
8528
  w.stopMeter?.();
8231
8529
  w.mediaRecorder.stream.getTracks().forEach((t) => t.stop());
@@ -8331,7 +8629,7 @@ async function startNativeRecording() {
8331
8629
  });
8332
8630
  } catch {
8333
8631
  }
8334
- const rec = new Recorder(nativeRecordingOptions(mod, Platform6.OS));
8632
+ const rec = new Recorder(nativeRecordingOptions(mod, Platform7.OS));
8335
8633
  await rec.prepareToRecordAsync();
8336
8634
  rec.record();
8337
8635
  return rec;
@@ -8657,7 +8955,7 @@ var styles11 = StyleSheet11.create({
8657
8955
  });
8658
8956
 
8659
8957
  // src/SessionEndDialog.tsx
8660
- import React15, { useCallback as useCallback8, useEffect as useEffect9, useMemo as useMemo8, useState as useState12 } from "react";
8958
+ import React16, { useCallback as useCallback8, useEffect as useEffect9, useMemo as useMemo8, useState as useState12 } from "react";
8661
8959
  import {
8662
8960
  ActivityIndicator as ActivityIndicator6,
8663
8961
  Modal as Modal7,
@@ -8781,7 +9079,7 @@ function SessionEndDialog({
8781
9079
  onClose,
8782
9080
  onError
8783
9081
  ]);
8784
- return /* @__PURE__ */ React15.createElement(
9082
+ return /* @__PURE__ */ React16.createElement(
8785
9083
  Modal7,
8786
9084
  {
8787
9085
  animationType: "slide",
@@ -8789,25 +9087,33 @@ function SessionEndDialog({
8789
9087
  transparent: false,
8790
9088
  visible
8791
9089
  },
8792
- /* @__PURE__ */ React15.createElement(View12, { style: [styles12.root, style] }, /* @__PURE__ */ React15.createElement(View12, { style: styles12.header }, /* @__PURE__ */ React15.createElement(
8793
- Pressable10,
9090
+ /* @__PURE__ */ React16.createElement(View12, { style: [styles12.root, style] }, /* @__PURE__ */ React16.createElement(
9091
+ View12,
8794
9092
  {
8795
- accessibilityRole: "button",
8796
- accessibilityLabel: "Cancel",
8797
- disabled: submitting,
8798
- onPress: onClose,
8799
- style: styles12.headerClose
9093
+ style: [styles12.header, { paddingTop: 12 + getModalInsets().top }]
8800
9094
  },
8801
- /* @__PURE__ */ React15.createElement(Text11, { style: styles12.headerCloseLabel }, "\xD7")
8802
- ), /* @__PURE__ */ React15.createElement(Text11, { style: styles12.headerTitle }, "\u23CF\uFE0F End session"), /* @__PURE__ */ React15.createElement(View12, { style: { width: 36 } })), /* @__PURE__ */ React15.createElement(
9095
+ /* @__PURE__ */ React16.createElement(
9096
+ Pressable10,
9097
+ {
9098
+ accessibilityRole: "button",
9099
+ accessibilityLabel: "Cancel",
9100
+ disabled: submitting,
9101
+ onPress: onClose,
9102
+ style: styles12.headerClose
9103
+ },
9104
+ /* @__PURE__ */ React16.createElement(Text11, { style: styles12.headerCloseLabel }, "\xD7")
9105
+ ),
9106
+ /* @__PURE__ */ React16.createElement(Text11, { style: styles12.headerTitle }, "\u23CF\uFE0F End session"),
9107
+ /* @__PURE__ */ React16.createElement(View12, { style: { width: 36 } })
9108
+ ), /* @__PURE__ */ React16.createElement(
8803
9109
  ScrollView9,
8804
9110
  {
8805
9111
  contentContainerStyle: styles12.body,
8806
9112
  keyboardShouldPersistTaps: "handled"
8807
9113
  },
8808
- /* @__PURE__ */ React15.createElement(StatsSection, { stats }),
8809
- /* @__PURE__ */ React15.createElement(SectionLabel, { text: "How was the session?" }),
8810
- RATING_KEYS.map((k) => /* @__PURE__ */ React15.createElement(
9114
+ /* @__PURE__ */ React16.createElement(StatsSection, { stats }),
9115
+ /* @__PURE__ */ React16.createElement(SectionLabel, { text: "How was the session?" }),
9116
+ RATING_KEYS.map((k) => /* @__PURE__ */ React16.createElement(
8811
9117
  RatingRow,
8812
9118
  {
8813
9119
  key: k,
@@ -8816,8 +9122,8 @@ function SessionEndDialog({
8816
9122
  onChange: (v) => setRatings((cur) => ({ ...cur, [k]: v }))
8817
9123
  }
8818
9124
  )),
8819
- /* @__PURE__ */ React15.createElement(SectionLabel, { text: "Did you encounter\u2026?" }),
8820
- ISSUE_KEYS.map((k) => /* @__PURE__ */ React15.createElement(
9125
+ /* @__PURE__ */ React16.createElement(SectionLabel, { text: "Did you encounter\u2026?" }),
9126
+ ISSUE_KEYS.map((k) => /* @__PURE__ */ React16.createElement(
8821
9127
  IssueRow,
8822
9128
  {
8823
9129
  key: k,
@@ -8826,9 +9132,9 @@ function SessionEndDialog({
8826
9132
  onChange: (v) => setIssues((cur) => ({ ...cur, [k]: v }))
8827
9133
  }
8828
9134
  )),
8829
- /* @__PURE__ */ React15.createElement(SectionLabel, { text: "Comments (optional)" }),
8830
- /* @__PURE__ */ React15.createElement(FieldLabel2, { text: "What worked well?" }),
8831
- /* @__PURE__ */ React15.createElement(
9135
+ /* @__PURE__ */ React16.createElement(SectionLabel, { text: "Comments (optional)" }),
9136
+ /* @__PURE__ */ React16.createElement(FieldLabel2, { text: "What worked well?" }),
9137
+ /* @__PURE__ */ React16.createElement(
8832
9138
  TextInput4,
8833
9139
  {
8834
9140
  multiline: true,
@@ -8839,8 +9145,8 @@ function SessionEndDialog({
8839
9145
  value: positive
8840
9146
  }
8841
9147
  ),
8842
- /* @__PURE__ */ React15.createElement(FieldLabel2, { text: "What didn't?" }),
8843
- /* @__PURE__ */ React15.createElement(
9148
+ /* @__PURE__ */ React16.createElement(FieldLabel2, { text: "What didn't?" }),
9149
+ /* @__PURE__ */ React16.createElement(
8844
9150
  TextInput4,
8845
9151
  {
8846
9152
  multiline: true,
@@ -8851,8 +9157,8 @@ function SessionEndDialog({
8851
9157
  value: negative
8852
9158
  }
8853
9159
  ),
8854
- /* @__PURE__ */ React15.createElement(FieldLabel2, { text: "Suggestions" }),
8855
- /* @__PURE__ */ React15.createElement(
9160
+ /* @__PURE__ */ React16.createElement(FieldLabel2, { text: "Suggestions" }),
9161
+ /* @__PURE__ */ React16.createElement(
8856
9162
  TextInput4,
8857
9163
  {
8858
9164
  multiline: true,
@@ -8863,52 +9169,62 @@ function SessionEndDialog({
8863
9169
  value: suggestions
8864
9170
  }
8865
9171
  ),
8866
- error && /* @__PURE__ */ React15.createElement(View12, { style: styles12.errorBox }, /* @__PURE__ */ React15.createElement(Text11, { style: styles12.errorLabel }, error))
8867
- ), /* @__PURE__ */ React15.createElement(View12, { style: styles12.footer }, /* @__PURE__ */ React15.createElement(
8868
- Pressable10,
9172
+ error && /* @__PURE__ */ React16.createElement(View12, { style: styles12.errorBox }, /* @__PURE__ */ React16.createElement(Text11, { style: styles12.errorLabel }, error))
9173
+ ), /* @__PURE__ */ React16.createElement(
9174
+ View12,
8869
9175
  {
8870
- accessibilityRole: "button",
8871
- disabled: submitting,
8872
- onPress: onClose,
8873
- style: ({ pressed }) => [
8874
- styles12.cancelButton,
8875
- pressed && { opacity: 0.7 }
8876
- ]
8877
- },
8878
- /* @__PURE__ */ React15.createElement(Text11, { style: styles12.cancelLabel }, "Cancel")
8879
- ), /* @__PURE__ */ React15.createElement(
8880
- Pressable10,
8881
- {
8882
- accessibilityRole: "button",
8883
- disabled: !tpk || submitting,
8884
- onPress: () => void submit(),
8885
- style: ({ pressed }) => [
8886
- styles12.endButton,
8887
- (!tpk || submitting) && styles12.endButtonDisabled,
8888
- pressed && { opacity: 0.85 }
9176
+ style: [
9177
+ styles12.footer,
9178
+ { paddingBottom: Math.max(14, getModalInsets().bottom) }
8889
9179
  ]
8890
9180
  },
8891
- submitting ? /* @__PURE__ */ React15.createElement(ActivityIndicator6, { color: "#FAFAF7" }) : /* @__PURE__ */ React15.createElement(Text11, { style: styles12.endLabel }, "End session")
8892
- )))
9181
+ /* @__PURE__ */ React16.createElement(
9182
+ Pressable10,
9183
+ {
9184
+ accessibilityRole: "button",
9185
+ disabled: submitting,
9186
+ onPress: onClose,
9187
+ style: ({ pressed }) => [
9188
+ styles12.cancelButton,
9189
+ pressed && { opacity: 0.7 }
9190
+ ]
9191
+ },
9192
+ /* @__PURE__ */ React16.createElement(Text11, { style: styles12.cancelLabel }, "Cancel")
9193
+ ),
9194
+ /* @__PURE__ */ React16.createElement(
9195
+ Pressable10,
9196
+ {
9197
+ accessibilityRole: "button",
9198
+ disabled: !tpk || submitting,
9199
+ onPress: () => void submit(),
9200
+ style: ({ pressed }) => [
9201
+ styles12.endButton,
9202
+ (!tpk || submitting) && styles12.endButtonDisabled,
9203
+ pressed && { opacity: 0.85 }
9204
+ ]
9205
+ },
9206
+ submitting ? /* @__PURE__ */ React16.createElement(ActivityIndicator6, { color: "#FAFAF7" }) : /* @__PURE__ */ React16.createElement(Text11, { style: styles12.endLabel }, "End session")
9207
+ )
9208
+ ))
8893
9209
  );
8894
9210
  }
8895
9211
  function StatsSection({
8896
9212
  stats
8897
9213
  }) {
8898
9214
  const duration = stats?.durationSeconds ?? 0;
8899
- return /* @__PURE__ */ React15.createElement(View12, { style: styles12.statsGrid }, /* @__PURE__ */ React15.createElement(StatTile, { label: "Duration", value: formatDuration(duration) }), /* @__PURE__ */ React15.createElement(
9215
+ return /* @__PURE__ */ React16.createElement(View12, { style: styles12.statsGrid }, /* @__PURE__ */ React16.createElement(StatTile, { label: "Duration", value: formatDuration(duration) }), /* @__PURE__ */ React16.createElement(
8900
9216
  StatTile,
8901
9217
  {
8902
9218
  label: "Screens visited",
8903
9219
  value: String(stats?.screensVisited ?? 0)
8904
9220
  }
8905
- ), /* @__PURE__ */ React15.createElement(
9221
+ ), /* @__PURE__ */ React16.createElement(
8906
9222
  StatTile,
8907
9223
  {
8908
9224
  label: "Bugs reported",
8909
9225
  value: String(stats?.bugsReported ?? 0)
8910
9226
  }
8911
- ), /* @__PURE__ */ React15.createElement(
9227
+ ), /* @__PURE__ */ React16.createElement(
8912
9228
  StatTile,
8913
9229
  {
8914
9230
  label: "Tasks completed",
@@ -8920,20 +9236,20 @@ function StatTile({
8920
9236
  label,
8921
9237
  value
8922
9238
  }) {
8923
- return /* @__PURE__ */ React15.createElement(View12, { style: styles12.statTile }, /* @__PURE__ */ React15.createElement(Text11, { style: styles12.statValue }, value), /* @__PURE__ */ React15.createElement(Text11, { style: styles12.statLabel }, label));
9239
+ return /* @__PURE__ */ React16.createElement(View12, { style: styles12.statTile }, /* @__PURE__ */ React16.createElement(Text11, { style: styles12.statValue }, value), /* @__PURE__ */ React16.createElement(Text11, { style: styles12.statLabel }, label));
8924
9240
  }
8925
9241
  function SectionLabel({ text }) {
8926
- return /* @__PURE__ */ React15.createElement(Text11, { style: styles12.sectionLabel }, text);
9242
+ return /* @__PURE__ */ React16.createElement(Text11, { style: styles12.sectionLabel }, text);
8927
9243
  }
8928
9244
  function FieldLabel2({ text }) {
8929
- return /* @__PURE__ */ React15.createElement(Text11, { style: styles12.fieldLabel }, text);
9245
+ return /* @__PURE__ */ React16.createElement(Text11, { style: styles12.fieldLabel }, text);
8930
9246
  }
8931
9247
  function RatingRow({
8932
9248
  label,
8933
9249
  value,
8934
9250
  onChange
8935
9251
  }) {
8936
- return /* @__PURE__ */ React15.createElement(View12, { style: styles12.ratingRow }, /* @__PURE__ */ React15.createElement(Text11, { style: styles12.ratingLabel }, label), /* @__PURE__ */ React15.createElement(View12, { style: styles12.starRow }, [1, 2, 3, 4, 5].map((i) => /* @__PURE__ */ React15.createElement(
9252
+ return /* @__PURE__ */ React16.createElement(View12, { style: styles12.ratingRow }, /* @__PURE__ */ React16.createElement(Text11, { style: styles12.ratingLabel }, label), /* @__PURE__ */ React16.createElement(View12, { style: styles12.starRow }, [1, 2, 3, 4, 5].map((i) => /* @__PURE__ */ React16.createElement(
8937
9253
  Pressable10,
8938
9254
  {
8939
9255
  key: i,
@@ -8946,7 +9262,7 @@ function RatingRow({
8946
9262
  pressed && { opacity: 0.7 }
8947
9263
  ]
8948
9264
  },
8949
- /* @__PURE__ */ React15.createElement(
9265
+ /* @__PURE__ */ React16.createElement(
8950
9266
  TpkIcon,
8951
9267
  {
8952
9268
  name: i <= value ? "star_filled" : "star_outline",
@@ -8961,7 +9277,7 @@ function IssueRow({
8961
9277
  value,
8962
9278
  onChange
8963
9279
  }) {
8964
- return /* @__PURE__ */ React15.createElement(View12, { style: styles12.issueRow }, /* @__PURE__ */ React15.createElement(Text11, { style: styles12.issueLabel }, label), /* @__PURE__ */ React15.createElement(Switch2, { value, onValueChange: onChange }));
9280
+ return /* @__PURE__ */ React16.createElement(View12, { style: styles12.issueRow }, /* @__PURE__ */ React16.createElement(Text11, { style: styles12.issueLabel }, label), /* @__PURE__ */ React16.createElement(Switch2, { value, onValueChange: onChange }));
8965
9281
  }
8966
9282
  function formatDuration(seconds) {
8967
9283
  if (seconds < 60) return `${seconds}s`;
@@ -9189,7 +9505,7 @@ var styles12 = StyleSheet12.create({
9189
9505
  });
9190
9506
 
9191
9507
  // src/MyBugsSheet.tsx
9192
- import React16, { useEffect as useEffect10, useState as useState13 } from "react";
9508
+ import React17, { useEffect as useEffect10, useState as useState13 } from "react";
9193
9509
  import {
9194
9510
  ActivityIndicator as ActivityIndicator7,
9195
9511
  FlatList,
@@ -9269,7 +9585,7 @@ function MyBugsSheet({
9269
9585
  cancelled = true;
9270
9586
  };
9271
9587
  }, [visible, tpk]);
9272
- return /* @__PURE__ */ React16.createElement(
9588
+ return /* @__PURE__ */ React17.createElement(
9273
9589
  Modal8,
9274
9590
  {
9275
9591
  visible,
@@ -9277,7 +9593,7 @@ function MyBugsSheet({
9277
9593
  animationType: "slide",
9278
9594
  onRequestClose: onClose
9279
9595
  },
9280
- /* @__PURE__ */ React16.createElement(View13, { style: styles13.backdrop }, /* @__PURE__ */ React16.createElement(View13, { style: [styles13.sheet, { backgroundColor: theme.surface }] }, /* @__PURE__ */ React16.createElement(View13, { style: styles13.header }, /* @__PURE__ */ React16.createElement(Text12, { style: [styles13.title, { color: theme.onSurface }] }, "Meine Bugs"), /* @__PURE__ */ React16.createElement(
9596
+ /* @__PURE__ */ React17.createElement(View13, { style: styles13.backdrop }, /* @__PURE__ */ React17.createElement(View13, { style: [styles13.sheet, { backgroundColor: theme.surface }] }, /* @__PURE__ */ React17.createElement(View13, { style: styles13.header }, /* @__PURE__ */ React17.createElement(Text12, { style: [styles13.title, { color: theme.onSurface }] }, "Meine Bugs"), /* @__PURE__ */ React17.createElement(
9281
9597
  Pressable11,
9282
9598
  {
9283
9599
  onPress: onClose,
@@ -9285,14 +9601,14 @@ function MyBugsSheet({
9285
9601
  accessibilityLabel: "Schlie\xDFen",
9286
9602
  testID: "tpk-my-bugs-close"
9287
9603
  },
9288
- /* @__PURE__ */ React16.createElement(TpkIcon, { name: "close", size: 24, color: theme.onSurface })
9289
- )), loading ? /* @__PURE__ */ React16.createElement(View13, { style: styles13.center }, /* @__PURE__ */ React16.createElement(ActivityIndicator7, { color: theme.primary })) : error ? /* @__PURE__ */ React16.createElement(View13, { style: styles13.center }, /* @__PURE__ */ React16.createElement(Text12, { style: styles13.muted }, error)) : bugs.length === 0 ? /* @__PURE__ */ React16.createElement(View13, { style: styles13.center }, /* @__PURE__ */ React16.createElement(TpkIcon, { name: "check", size: 48, color: "#CBD5E1" }), /* @__PURE__ */ React16.createElement(Text12, { style: [styles13.empty, { marginTop: 12 }] }, "Noch keine Bugs gemeldet.", "\n", "Tippe auf das Widget und melde deinen ersten Bug \u2014 hier siehst du dann jederzeit seinen Status.")) : /* @__PURE__ */ React16.createElement(
9604
+ /* @__PURE__ */ React17.createElement(TpkIcon, { name: "close", size: 24, color: theme.onSurface })
9605
+ )), loading ? /* @__PURE__ */ React17.createElement(View13, { style: styles13.center }, /* @__PURE__ */ React17.createElement(ActivityIndicator7, { color: theme.primary })) : error ? /* @__PURE__ */ React17.createElement(View13, { style: styles13.center }, /* @__PURE__ */ React17.createElement(Text12, { style: styles13.muted }, error)) : bugs.length === 0 ? /* @__PURE__ */ React17.createElement(View13, { style: styles13.center }, /* @__PURE__ */ React17.createElement(TpkIcon, { name: "check", size: 48, color: "#CBD5E1" }), /* @__PURE__ */ React17.createElement(Text12, { style: [styles13.empty, { marginTop: 12 }] }, "Noch keine Bugs gemeldet.", "\n", "Tippe auf das Widget und melde deinen ersten Bug \u2014 hier siehst du dann jederzeit seinen Status.")) : /* @__PURE__ */ React17.createElement(
9290
9606
  FlatList,
9291
9607
  {
9292
9608
  data: bugs,
9293
9609
  keyExtractor: (b) => b.id,
9294
9610
  contentContainerStyle: styles13.listBody,
9295
- renderItem: ({ item }) => /* @__PURE__ */ React16.createElement(
9611
+ renderItem: ({ item }) => /* @__PURE__ */ React17.createElement(
9296
9612
  BugRow,
9297
9613
  {
9298
9614
  bug: item,
@@ -9302,7 +9618,7 @@ function MyBugsSheet({
9302
9618
  )
9303
9619
  }
9304
9620
  ))),
9305
- /* @__PURE__ */ React16.createElement(
9621
+ /* @__PURE__ */ React17.createElement(
9306
9622
  BugDetailModal,
9307
9623
  {
9308
9624
  bug: selected,
@@ -9315,7 +9631,7 @@ function MyBugsSheet({
9315
9631
  }
9316
9632
  function StatusBadge2({ status }) {
9317
9633
  const { label, color } = bugStatusStyle(status);
9318
- return /* @__PURE__ */ React16.createElement(
9634
+ return /* @__PURE__ */ React17.createElement(
9319
9635
  View13,
9320
9636
  {
9321
9637
  style: [
@@ -9323,7 +9639,7 @@ function StatusBadge2({ status }) {
9323
9639
  { backgroundColor: `${color}1F`, borderColor: `${color}66` }
9324
9640
  ]
9325
9641
  },
9326
- /* @__PURE__ */ React16.createElement(Text12, { style: [styles13.badgeText, { color }] }, label)
9642
+ /* @__PURE__ */ React17.createElement(Text12, { style: [styles13.badgeText, { color }] }, label)
9327
9643
  );
9328
9644
  }
9329
9645
  function metaLine(bug) {
@@ -9339,15 +9655,15 @@ function BugRow({
9339
9655
  textColor,
9340
9656
  onPress
9341
9657
  }) {
9342
- return /* @__PURE__ */ React16.createElement(
9658
+ return /* @__PURE__ */ React17.createElement(
9343
9659
  Pressable11,
9344
9660
  {
9345
9661
  style: styles13.row,
9346
9662
  onPress,
9347
9663
  testID: `tpk-my-bug-${bug.id}`
9348
9664
  },
9349
- /* @__PURE__ */ React16.createElement(View13, { style: styles13.rowMain }, /* @__PURE__ */ React16.createElement(Text12, { style: [styles13.rowTitle, { color: textColor }], numberOfLines: 2 }, bug.title), /* @__PURE__ */ React16.createElement(Text12, { style: styles13.muted }, metaLine(bug))),
9350
- /* @__PURE__ */ React16.createElement(StatusBadge2, { status: bug.status })
9665
+ /* @__PURE__ */ React17.createElement(View13, { style: styles13.rowMain }, /* @__PURE__ */ React17.createElement(Text12, { style: [styles13.rowTitle, { color: textColor }], numberOfLines: 2 }, bug.title), /* @__PURE__ */ React17.createElement(Text12, { style: styles13.muted }, metaLine(bug))),
9666
+ /* @__PURE__ */ React17.createElement(StatusBadge2, { status: bug.status })
9351
9667
  );
9352
9668
  }
9353
9669
  function BugDetailModal({
@@ -9356,7 +9672,7 @@ function BugDetailModal({
9356
9672
  surface,
9357
9673
  textColor
9358
9674
  }) {
9359
- return /* @__PURE__ */ React16.createElement(
9675
+ return /* @__PURE__ */ React17.createElement(
9360
9676
  Modal8,
9361
9677
  {
9362
9678
  visible: bug != null,
@@ -9364,13 +9680,13 @@ function BugDetailModal({
9364
9680
  animationType: "fade",
9365
9681
  onRequestClose: onClose
9366
9682
  },
9367
- /* @__PURE__ */ React16.createElement(Pressable11, { style: styles13.detailBackdrop, onPress: onClose }, /* @__PURE__ */ React16.createElement(
9683
+ /* @__PURE__ */ React17.createElement(Pressable11, { style: styles13.detailBackdrop, onPress: onClose }, /* @__PURE__ */ React17.createElement(
9368
9684
  Pressable11,
9369
9685
  {
9370
9686
  style: [styles13.detailCard, { backgroundColor: surface }],
9371
9687
  onPress: () => void 0
9372
9688
  },
9373
- bug ? /* @__PURE__ */ React16.createElement(ScrollView10, { contentContainerStyle: styles13.detailBody }, /* @__PURE__ */ React16.createElement(Text12, { style: [styles13.detailTitle, { color: textColor }] }, bug.title), /* @__PURE__ */ React16.createElement(View13, { style: styles13.detailBadgeRow }, /* @__PURE__ */ React16.createElement(StatusBadge2, { status: bug.status })), /* @__PURE__ */ React16.createElement(Text12, { style: styles13.muted }, metaLine(bug)), bug.description ? /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement(Text12, { style: [styles13.detailLabel, { color: textColor }] }, "Beschreibung"), /* @__PURE__ */ React16.createElement(Text12, { style: [styles13.detailDesc, { color: textColor }] }, bug.description)) : null) : null
9689
+ bug ? /* @__PURE__ */ React17.createElement(ScrollView10, { contentContainerStyle: styles13.detailBody }, /* @__PURE__ */ React17.createElement(Text12, { style: [styles13.detailTitle, { color: textColor }] }, bug.title), /* @__PURE__ */ React17.createElement(View13, { style: styles13.detailBadgeRow }, /* @__PURE__ */ React17.createElement(StatusBadge2, { status: bug.status })), /* @__PURE__ */ React17.createElement(Text12, { style: styles13.muted }, metaLine(bug)), bug.description ? /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement(Text12, { style: [styles13.detailLabel, { color: textColor }] }, "Beschreibung"), /* @__PURE__ */ React17.createElement(Text12, { style: [styles13.detailDesc, { color: textColor }] }, bug.description)) : null) : null
9374
9690
  ))
9375
9691
  );
9376
9692
  }
@@ -9431,7 +9747,7 @@ var styles13 = StyleSheet13.create({
9431
9747
  });
9432
9748
 
9433
9749
  // src/SessionDetailsSheet.tsx
9434
- import React17, { useEffect as useEffect11, useMemo as useMemo9, useState as useState14 } from "react";
9750
+ import React18, { useEffect as useEffect11, useMemo as useMemo9, useState as useState14 } from "react";
9435
9751
  import {
9436
9752
  Modal as Modal9,
9437
9753
  Pressable as Pressable12,
@@ -9486,7 +9802,7 @@ function SessionDetailsSheet({
9486
9802
  }, [visible, tpk]);
9487
9803
  const expected = earningsBaseAmount + data.paidMinutes * earningsPerMinuteRate;
9488
9804
  const sym = currencySymbol2(earningsCurrency);
9489
- return /* @__PURE__ */ React17.createElement(
9805
+ return /* @__PURE__ */ React18.createElement(
9490
9806
  Modal9,
9491
9807
  {
9492
9808
  visible,
@@ -9494,7 +9810,7 @@ function SessionDetailsSheet({
9494
9810
  animationType: "slide",
9495
9811
  onRequestClose: onClose
9496
9812
  },
9497
- /* @__PURE__ */ React17.createElement(View14, { style: styles14.backdrop }, /* @__PURE__ */ React17.createElement(View14, { style: [styles14.sheet, { backgroundColor: theme.surface }] }, /* @__PURE__ */ React17.createElement(View14, { style: styles14.header }, /* @__PURE__ */ React17.createElement(Text13, { style: [styles14.title, { color: theme.onSurface }] }, "Session-Details"), /* @__PURE__ */ React17.createElement(
9813
+ /* @__PURE__ */ React18.createElement(View14, { style: styles14.backdrop }, /* @__PURE__ */ React18.createElement(View14, { style: [styles14.sheet, { backgroundColor: theme.surface }] }, /* @__PURE__ */ React18.createElement(View14, { style: styles14.header }, /* @__PURE__ */ React18.createElement(Text13, { style: [styles14.title, { color: theme.onSurface }] }, "Session-Details"), /* @__PURE__ */ React18.createElement(
9498
9814
  Pressable12,
9499
9815
  {
9500
9816
  onPress: onClose,
@@ -9502,17 +9818,17 @@ function SessionDetailsSheet({
9502
9818
  accessibilityLabel: "Schlie\xDFen",
9503
9819
  testID: "tpk-session-details-close"
9504
9820
  },
9505
- /* @__PURE__ */ React17.createElement(TpkIcon, { name: "close", size: 24, color: theme.onSurface })
9506
- )), /* @__PURE__ */ React17.createElement(ScrollView11, { contentContainerStyle: styles14.body }, /* @__PURE__ */ React17.createElement(
9821
+ /* @__PURE__ */ React18.createElement(TpkIcon, { name: "close", size: 24, color: theme.onSurface })
9822
+ )), /* @__PURE__ */ React18.createElement(ScrollView11, { contentContainerStyle: styles14.body }, /* @__PURE__ */ React18.createElement(
9507
9823
  View14,
9508
9824
  {
9509
9825
  style: [styles14.earnings, { borderColor: theme.primary }],
9510
9826
  testID: "tpk-session-details-earnings"
9511
9827
  },
9512
- /* @__PURE__ */ React17.createElement(Text13, { style: [styles14.earningsLabel, { color: theme.onSurface }] }, "Voraussichtlicher Verdienst"),
9513
- /* @__PURE__ */ React17.createElement(Text13, { style: [styles14.earningsValue, { color: theme.primary }] }, sym, expected.toFixed(2)),
9514
- /* @__PURE__ */ React17.createElement(Text13, { style: styles14.earningsHint }, "Basis ", sym, earningsBaseAmount.toFixed(2), " + ", data.paidMinutes, " bezahlte Min \xD7 ", sym, earningsPerMinuteRate.toFixed(2))
9515
- ), /* @__PURE__ */ React17.createElement(
9828
+ /* @__PURE__ */ React18.createElement(Text13, { style: [styles14.earningsLabel, { color: theme.onSurface }] }, "Voraussichtlicher Verdienst"),
9829
+ /* @__PURE__ */ React18.createElement(Text13, { style: [styles14.earningsValue, { color: theme.primary }] }, sym, expected.toFixed(2)),
9830
+ /* @__PURE__ */ React18.createElement(Text13, { style: styles14.earningsHint }, "Basis ", sym, earningsBaseAmount.toFixed(2), " + ", data.paidMinutes, " bezahlte Min \xD7 ", sym, earningsPerMinuteRate.toFixed(2))
9831
+ ), /* @__PURE__ */ React18.createElement(
9516
9832
  Metric,
9517
9833
  {
9518
9834
  label: "Aktive Zeit",
@@ -9520,7 +9836,7 @@ function SessionDetailsSheet({
9520
9836
  hint: "Vordergrund-Zeit",
9521
9837
  color: theme.onSurface
9522
9838
  }
9523
- ), /* @__PURE__ */ React17.createElement(
9839
+ ), /* @__PURE__ */ React18.createElement(
9524
9840
  Metric,
9525
9841
  {
9526
9842
  label: "Bezahlte Zeit",
@@ -9528,21 +9844,21 @@ function SessionDetailsSheet({
9528
9844
  hint: "aktivit\xE4tsgewichtet (z\xE4hlt f\xFCr den Verdienst)",
9529
9845
  color: theme.onSurface
9530
9846
  }
9531
- ), /* @__PURE__ */ React17.createElement(
9847
+ ), /* @__PURE__ */ React18.createElement(
9532
9848
  Metric,
9533
9849
  {
9534
9850
  label: "Taps",
9535
9851
  value: String(data.taps),
9536
9852
  color: theme.onSurface
9537
9853
  }
9538
- ), /* @__PURE__ */ React17.createElement(
9854
+ ), /* @__PURE__ */ React18.createElement(
9539
9855
  Metric,
9540
9856
  {
9541
9857
  label: "Bildschirme",
9542
9858
  value: String(data.screenViews),
9543
9859
  color: theme.onSurface
9544
9860
  }
9545
- ), tasks?.hasTasks ? /* @__PURE__ */ React17.createElement(
9861
+ ), tasks?.hasTasks ? /* @__PURE__ */ React18.createElement(
9546
9862
  Metric,
9547
9863
  {
9548
9864
  label: "Aufgaben",
@@ -9558,7 +9874,7 @@ function Metric({
9558
9874
  hint,
9559
9875
  color
9560
9876
  }) {
9561
- return /* @__PURE__ */ React17.createElement(View14, { style: styles14.metricRow }, /* @__PURE__ */ React17.createElement(View14, { style: styles14.metricLabelCol }, /* @__PURE__ */ React17.createElement(Text13, { style: [styles14.metricLabel, { color }] }, label), hint ? /* @__PURE__ */ React17.createElement(Text13, { style: styles14.metricHint }, hint) : null), /* @__PURE__ */ React17.createElement(Text13, { style: [styles14.metricValue, { color }] }, value));
9877
+ return /* @__PURE__ */ React18.createElement(View14, { style: styles14.metricRow }, /* @__PURE__ */ React18.createElement(View14, { style: styles14.metricLabelCol }, /* @__PURE__ */ React18.createElement(Text13, { style: [styles14.metricLabel, { color }] }, label), hint ? /* @__PURE__ */ React18.createElement(Text13, { style: styles14.metricHint }, hint) : null), /* @__PURE__ */ React18.createElement(Text13, { style: [styles14.metricValue, { color }] }, value));
9562
9878
  }
9563
9879
  var styles14 = StyleSheet14.create({
9564
9880
  backdrop: {
@@ -9607,7 +9923,7 @@ var styles14 = StyleSheet14.create({
9607
9923
  });
9608
9924
 
9609
9925
  // src/NotificationsSheet.tsx
9610
- import React18, { useEffect as useEffect12, useState as useState15 } from "react";
9926
+ import React19, { useEffect as useEffect12, useState as useState15 } from "react";
9611
9927
  import {
9612
9928
  ActivityIndicator as ActivityIndicator8,
9613
9929
  FlatList as FlatList2,
@@ -9668,7 +9984,7 @@ function NotificationsSheet({
9668
9984
  tpk.markNotificationsRead().then((unread) => onUnreadChange?.(unread)).catch(() => void 0);
9669
9985
  };
9670
9986
  const hasUnread = items.some((x) => !x.isRead);
9671
- return /* @__PURE__ */ React18.createElement(
9987
+ return /* @__PURE__ */ React19.createElement(
9672
9988
  Modal10,
9673
9989
  {
9674
9990
  visible,
@@ -9676,15 +9992,15 @@ function NotificationsSheet({
9676
9992
  animationType: "slide",
9677
9993
  onRequestClose: onClose
9678
9994
  },
9679
- /* @__PURE__ */ React18.createElement(View15, { style: styles15.backdrop }, /* @__PURE__ */ React18.createElement(View15, { style: [styles15.sheet, { backgroundColor: theme.surface }] }, /* @__PURE__ */ React18.createElement(View15, { style: styles15.header }, /* @__PURE__ */ React18.createElement(Text14, { style: [styles15.title, { color: theme.onSurface }] }, "Nachrichten"), /* @__PURE__ */ React18.createElement(View15, { style: styles15.headerActions }, hasUnread ? /* @__PURE__ */ React18.createElement(
9995
+ /* @__PURE__ */ React19.createElement(View15, { style: styles15.backdrop }, /* @__PURE__ */ React19.createElement(View15, { style: [styles15.sheet, { backgroundColor: theme.surface }] }, /* @__PURE__ */ React19.createElement(View15, { style: styles15.header }, /* @__PURE__ */ React19.createElement(Text14, { style: [styles15.title, { color: theme.onSurface }] }, "Nachrichten"), /* @__PURE__ */ React19.createElement(View15, { style: styles15.headerActions }, hasUnread ? /* @__PURE__ */ React19.createElement(
9680
9996
  Pressable13,
9681
9997
  {
9682
9998
  onPress: markAll,
9683
9999
  hitSlop: 8,
9684
10000
  testID: "tpk-notifications-mark-all"
9685
10001
  },
9686
- /* @__PURE__ */ React18.createElement(Text14, { style: [styles15.markAll, { color: theme.primary }] }, "Alle gelesen")
9687
- ) : null, /* @__PURE__ */ React18.createElement(
10002
+ /* @__PURE__ */ React19.createElement(Text14, { style: [styles15.markAll, { color: theme.primary }] }, "Alle gelesen")
10003
+ ) : null, /* @__PURE__ */ React19.createElement(
9688
10004
  Pressable13,
9689
10005
  {
9690
10006
  onPress: onClose,
@@ -9692,21 +10008,21 @@ function NotificationsSheet({
9692
10008
  accessibilityLabel: "Schlie\xDFen",
9693
10009
  testID: "tpk-notifications-close"
9694
10010
  },
9695
- /* @__PURE__ */ React18.createElement(TpkIcon, { name: "close", size: 24, color: theme.onSurface })
9696
- ))), loading ? /* @__PURE__ */ React18.createElement(View15, { style: styles15.center }, /* @__PURE__ */ React18.createElement(ActivityIndicator8, { color: theme.primary })) : error ? /* @__PURE__ */ React18.createElement(View15, { style: styles15.center }, /* @__PURE__ */ React18.createElement(Text14, { style: styles15.muted }, error)) : items.length === 0 ? /* @__PURE__ */ React18.createElement(View15, { style: styles15.center }, /* @__PURE__ */ React18.createElement(TpkIcon, { name: "feedback", size: 48, color: "#CBD5E1" }), /* @__PURE__ */ React18.createElement(Text14, { style: [styles15.empty, { marginTop: 12 }] }, "Keine Nachrichten.", "\n", "Updates zu deinen Bugs (angenommen, behoben, Belohnung) erscheinen hier.")) : /* @__PURE__ */ React18.createElement(
10011
+ /* @__PURE__ */ React19.createElement(TpkIcon, { name: "close", size: 24, color: theme.onSurface })
10012
+ ))), loading ? /* @__PURE__ */ React19.createElement(View15, { style: styles15.center }, /* @__PURE__ */ React19.createElement(ActivityIndicator8, { color: theme.primary })) : error ? /* @__PURE__ */ React19.createElement(View15, { style: styles15.center }, /* @__PURE__ */ React19.createElement(Text14, { style: styles15.muted }, error)) : items.length === 0 ? /* @__PURE__ */ React19.createElement(View15, { style: styles15.center }, /* @__PURE__ */ React19.createElement(TpkIcon, { name: "feedback", size: 48, color: "#CBD5E1" }), /* @__PURE__ */ React19.createElement(Text14, { style: [styles15.empty, { marginTop: 12 }] }, "Keine Nachrichten.", "\n", "Updates zu deinen Bugs (angenommen, behoben, Belohnung) erscheinen hier.")) : /* @__PURE__ */ React19.createElement(
9697
10013
  FlatList2,
9698
10014
  {
9699
10015
  data: items,
9700
10016
  keyExtractor: (n) => n.id,
9701
10017
  contentContainerStyle: styles15.listBody,
9702
- renderItem: ({ item }) => /* @__PURE__ */ React18.createElement(
10018
+ renderItem: ({ item }) => /* @__PURE__ */ React19.createElement(
9703
10019
  Pressable13,
9704
10020
  {
9705
10021
  style: styles15.row,
9706
10022
  onPress: () => markOne(item),
9707
10023
  testID: `tpk-notification-${item.id}`
9708
10024
  },
9709
- /* @__PURE__ */ React18.createElement(
10025
+ /* @__PURE__ */ React19.createElement(
9710
10026
  View15,
9711
10027
  {
9712
10028
  style: [
@@ -9717,7 +10033,7 @@ function NotificationsSheet({
9717
10033
  ]
9718
10034
  }
9719
10035
  ),
9720
- /* @__PURE__ */ React18.createElement(View15, { style: styles15.rowMain }, /* @__PURE__ */ React18.createElement(
10036
+ /* @__PURE__ */ React19.createElement(View15, { style: styles15.rowMain }, /* @__PURE__ */ React19.createElement(
9721
10037
  Text14,
9722
10038
  {
9723
10039
  style: [
@@ -9730,14 +10046,14 @@ function NotificationsSheet({
9730
10046
  numberOfLines: 2
9731
10047
  },
9732
10048
  item.title
9733
- ), item.body ? /* @__PURE__ */ React18.createElement(
10049
+ ), item.body ? /* @__PURE__ */ React19.createElement(
9734
10050
  Text14,
9735
10051
  {
9736
10052
  style: [styles15.rowBody, { color: theme.onSurface }],
9737
10053
  numberOfLines: 3
9738
10054
  },
9739
10055
  item.body
9740
- ) : null, /* @__PURE__ */ React18.createElement(Text14, { style: styles15.muted }, formatDate2(item.createdAt)))
10056
+ ) : null, /* @__PURE__ */ React19.createElement(Text14, { style: styles15.muted }, formatDate2(item.createdAt)))
9741
10057
  )
9742
10058
  }
9743
10059
  )))
@@ -9784,12 +10100,12 @@ var styles15 = StyleSheet15.create({
9784
10100
  });
9785
10101
 
9786
10102
  // src/InviteCodeScreen.tsx
9787
- import React19, { useState as useState16 } from "react";
10103
+ import React20, { useState as useState16 } from "react";
9788
10104
  import {
9789
10105
  ActivityIndicator as ActivityIndicator9,
9790
10106
  KeyboardAvoidingView,
9791
10107
  Modal as Modal11,
9792
- Platform as Platform7,
10108
+ Platform as Platform8,
9793
10109
  Pressable as Pressable14,
9794
10110
  StyleSheet as StyleSheet16,
9795
10111
  Text as Text15,
@@ -9822,7 +10138,7 @@ function InviteCodeScreen({
9822
10138
  setError("Code ung\xFCltig oder nicht erkannt. Bitte pr\xFCfe deine Eingabe.");
9823
10139
  });
9824
10140
  };
9825
- return /* @__PURE__ */ React19.createElement(
10141
+ return /* @__PURE__ */ React20.createElement(
9826
10142
  Modal11,
9827
10143
  {
9828
10144
  visible,
@@ -9830,13 +10146,13 @@ function InviteCodeScreen({
9830
10146
  animationType: "fade",
9831
10147
  onRequestClose: onClose
9832
10148
  },
9833
- /* @__PURE__ */ React19.createElement(
10149
+ /* @__PURE__ */ React20.createElement(
9834
10150
  KeyboardAvoidingView,
9835
10151
  {
9836
- behavior: Platform7.OS === "ios" ? "padding" : void 0,
10152
+ behavior: Platform8.OS === "ios" ? "padding" : void 0,
9837
10153
  style: styles16.backdrop
9838
10154
  },
9839
- /* @__PURE__ */ React19.createElement(View16, { style: [styles16.card, { backgroundColor: theme.surface }] }, onClose ? /* @__PURE__ */ React19.createElement(
10155
+ /* @__PURE__ */ React20.createElement(View16, { style: [styles16.card, { backgroundColor: theme.surface }] }, onClose ? /* @__PURE__ */ React20.createElement(
9840
10156
  Pressable14,
9841
10157
  {
9842
10158
  onPress: onClose,
@@ -9845,8 +10161,8 @@ function InviteCodeScreen({
9845
10161
  accessibilityLabel: "Schlie\xDFen",
9846
10162
  testID: "tpk-invite-close"
9847
10163
  },
9848
- /* @__PURE__ */ React19.createElement(TpkIcon, { name: "close", size: 22, color: theme.onSurface })
9849
- ) : null, /* @__PURE__ */ React19.createElement(TpkIcon, { name: "rocket", size: 40, color: theme.primary }), /* @__PURE__ */ React19.createElement(Text15, { style: [styles16.title, { color: theme.onSurface }] }, projectName ? `${projectName} testen` : "Tester werden"), /* @__PURE__ */ React19.createElement(Text15, { style: styles16.subtitle }, "Gib den Einladungscode ein, den du erhalten hast, um loszulegen."), /* @__PURE__ */ React19.createElement(
10164
+ /* @__PURE__ */ React20.createElement(TpkIcon, { name: "close", size: 22, color: theme.onSurface })
10165
+ ) : null, /* @__PURE__ */ React20.createElement(TpkIcon, { name: "rocket", size: 40, color: theme.primary }), /* @__PURE__ */ React20.createElement(Text15, { style: [styles16.title, { color: theme.onSurface }] }, projectName ? `${projectName} testen` : "Tester werden"), /* @__PURE__ */ React20.createElement(Text15, { style: styles16.subtitle }, "Gib den Einladungscode ein, den du erhalten hast, um loszulegen."), /* @__PURE__ */ React20.createElement(
9850
10166
  TextInput5,
9851
10167
  {
9852
10168
  value: code,
@@ -9870,7 +10186,7 @@ function InviteCodeScreen({
9870
10186
  ],
9871
10187
  testID: "tpk-invite-input"
9872
10188
  }
9873
- ), error ? /* @__PURE__ */ React19.createElement(Text15, { style: [styles16.error, { color: theme.errorColour }] }, error) : null, /* @__PURE__ */ React19.createElement(
10189
+ ), error ? /* @__PURE__ */ React20.createElement(Text15, { style: [styles16.error, { color: theme.errorColour }] }, error) : null, /* @__PURE__ */ React20.createElement(
9874
10190
  Pressable14,
9875
10191
  {
9876
10192
  onPress: submit,
@@ -9881,7 +10197,7 @@ function InviteCodeScreen({
9881
10197
  ],
9882
10198
  testID: "tpk-invite-submit"
9883
10199
  },
9884
- loading ? /* @__PURE__ */ React19.createElement(ActivityIndicator9, { color: "#FFFFFF" }) : /* @__PURE__ */ React19.createElement(Text15, { style: styles16.buttonText }, "Loslegen")
10200
+ loading ? /* @__PURE__ */ React20.createElement(ActivityIndicator9, { color: "#FFFFFF" }) : /* @__PURE__ */ React20.createElement(Text15, { style: styles16.buttonText }, "Loslegen")
9885
10201
  ))
9886
10202
  )
9887
10203
  );
@@ -9932,7 +10248,7 @@ var styles16 = StyleSheet16.create({
9932
10248
  });
9933
10249
 
9934
10250
  // src/TesterPayKitWrapper.tsx
9935
- import React21, {
10251
+ import React22, {
9936
10252
  useCallback as useCallback10,
9937
10253
  useEffect as useEffect14,
9938
10254
  useRef as useRef10,
@@ -9940,13 +10256,13 @@ import React21, {
9940
10256
  } from "react";
9941
10257
  import {
9942
10258
  AppState as AppState3,
9943
- Platform as Platform8,
10259
+ Platform as Platform9,
9944
10260
  StyleSheet as StyleSheet18,
9945
10261
  View as View18
9946
10262
  } from "react-native";
9947
10263
 
9948
10264
  // src/ai-tester/AiRemoteControl.tsx
9949
- import React20, { useCallback as useCallback9, useEffect as useEffect13, useRef as useRef9, useState as useState17 } from "react";
10265
+ import React21, { useCallback as useCallback9, useEffect as useEffect13, useRef as useRef9, useState as useState17 } from "react";
9950
10266
  import {
9951
10267
  Modal as Modal12,
9952
10268
  Pressable as Pressable15,
@@ -10171,7 +10487,7 @@ function AiRemoteControl({
10171
10487
  onClose();
10172
10488
  }, [_finishSession, onClose]);
10173
10489
  if (!visible) return null;
10174
- return /* @__PURE__ */ React20.createElement(
10490
+ return /* @__PURE__ */ React21.createElement(
10175
10491
  Modal12,
10176
10492
  {
10177
10493
  animationType: "fade",
@@ -10179,13 +10495,13 @@ function AiRemoteControl({
10179
10495
  transparent: true,
10180
10496
  visible
10181
10497
  },
10182
- /* @__PURE__ */ React20.createElement(
10498
+ /* @__PURE__ */ React21.createElement(
10183
10499
  View17,
10184
10500
  {
10185
10501
  style: [styles17.backdrop, style],
10186
10502
  dataSet: { "tpk-ai-overlay": "true" }
10187
10503
  },
10188
- /* @__PURE__ */ React20.createElement(View17, { style: styles17.card }, /* @__PURE__ */ React20.createElement(View17, { style: styles17.header }, /* @__PURE__ */ React20.createElement(TpkIcon, { name: "sparkle", size: 28, color: "#7C3AED" }), /* @__PURE__ */ React20.createElement(Text16, { style: styles17.title }, status === "choosing" ? "Choose a tester" : "AI is testing")), status === "choosing" ? /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement(Text16, { style: styles17.subtitle }, "Pick which AI persona should drive your app."), /* @__PURE__ */ React20.createElement(View17, { style: styles17.personaList }, (personas.length ? personas : [
10504
+ /* @__PURE__ */ React21.createElement(View17, { style: styles17.card }, /* @__PURE__ */ React21.createElement(View17, { style: styles17.header }, /* @__PURE__ */ React21.createElement(TpkIcon, { name: "sparkle", size: 28, color: "#7C3AED" }), /* @__PURE__ */ React21.createElement(Text16, { style: styles17.title }, status === "choosing" ? "Choose a tester" : "AI is testing")), status === "choosing" ? /* @__PURE__ */ React21.createElement(React21.Fragment, null, /* @__PURE__ */ React21.createElement(Text16, { style: styles17.subtitle }, "Pick which AI persona should drive your app."), /* @__PURE__ */ React21.createElement(View17, { style: styles17.personaList }, (personas.length ? personas : [
10189
10505
  {
10190
10506
  slug: "junior_tester",
10191
10507
  displayName: "Junior Tester",
@@ -10193,7 +10509,7 @@ function AiRemoteControl({
10193
10509
  }
10194
10510
  ]).map((p) => {
10195
10511
  const sel = p.slug === selectedPersona;
10196
- return /* @__PURE__ */ React20.createElement(
10512
+ return /* @__PURE__ */ React21.createElement(
10197
10513
  Pressable15,
10198
10514
  {
10199
10515
  key: p.slug,
@@ -10205,7 +10521,7 @@ function AiRemoteControl({
10205
10521
  sel && styles17.personaChipSelected
10206
10522
  ]
10207
10523
  },
10208
- /* @__PURE__ */ React20.createElement(
10524
+ /* @__PURE__ */ React21.createElement(
10209
10525
  Text16,
10210
10526
  {
10211
10527
  style: [
@@ -10216,30 +10532,30 @@ function AiRemoteControl({
10216
10532
  p.displayName
10217
10533
  )
10218
10534
  );
10219
- })), personas.find((p) => p.slug === selectedPersona)?.description ? /* @__PURE__ */ React20.createElement(Text16, { style: styles17.personaDesc }, personas.find((p) => p.slug === selectedPersona)?.description) : null, /* @__PURE__ */ React20.createElement(View17, { style: styles17.choosingActions }, /* @__PURE__ */ React20.createElement(
10535
+ })), personas.find((p) => p.slug === selectedPersona)?.description ? /* @__PURE__ */ React21.createElement(Text16, { style: styles17.personaDesc }, personas.find((p) => p.slug === selectedPersona)?.description) : null, /* @__PURE__ */ React21.createElement(View17, { style: styles17.choosingActions }, /* @__PURE__ */ React21.createElement(
10220
10536
  Pressable15,
10221
10537
  {
10222
10538
  accessibilityRole: "button",
10223
10539
  onPress: onClose,
10224
10540
  style: styles17.cancelButton
10225
10541
  },
10226
- /* @__PURE__ */ React20.createElement(Text16, { style: styles17.cancelText }, "Cancel")
10227
- ), /* @__PURE__ */ React20.createElement(
10542
+ /* @__PURE__ */ React21.createElement(Text16, { style: styles17.cancelText }, "Cancel")
10543
+ ), /* @__PURE__ */ React21.createElement(
10228
10544
  Pressable15,
10229
10545
  {
10230
10546
  accessibilityRole: "button",
10231
10547
  onPress: _start,
10232
10548
  style: styles17.startButton
10233
10549
  },
10234
- /* @__PURE__ */ React20.createElement(Text16, { style: styles17.stopText }, "Start AI test")
10235
- ))) : /* @__PURE__ */ React20.createElement(React20.Fragment, null, /* @__PURE__ */ React20.createElement(Text16, { style: styles17.subtitle }, status === "starting" && "Starting up\u2026", status === "running" && `Action ${actionCount} \u2014 exploring`, status === "paused" && "Paused (you took over)", status === "ended" && "Session ended", status === "error" && (errorMessage2 ?? "Error")), status === "running" || status === "paused" ? /* @__PURE__ */ React20.createElement(Text16, { style: styles17.hint }, "Tap anywhere outside to pause. Use Stop to end the session.") : null, /* @__PURE__ */ React20.createElement(
10550
+ /* @__PURE__ */ React21.createElement(Text16, { style: styles17.stopText }, "Start AI test")
10551
+ ))) : /* @__PURE__ */ React21.createElement(React21.Fragment, null, /* @__PURE__ */ React21.createElement(Text16, { style: styles17.subtitle }, status === "starting" && "Starting up\u2026", status === "running" && `Action ${actionCount} \u2014 exploring`, status === "paused" && "Paused (you took over)", status === "ended" && "Session ended", status === "error" && (errorMessage2 ?? "Error")), status === "running" || status === "paused" ? /* @__PURE__ */ React21.createElement(Text16, { style: styles17.hint }, "Tap anywhere outside to pause. Use Stop to end the session.") : null, /* @__PURE__ */ React21.createElement(
10236
10552
  Pressable15,
10237
10553
  {
10238
10554
  accessibilityRole: "button",
10239
10555
  onPress: onStopPress,
10240
10556
  style: styles17.stopButton
10241
10557
  },
10242
- /* @__PURE__ */ React20.createElement(Text16, { style: styles17.stopText }, status === "ended" ? "Close" : "Stop")
10558
+ /* @__PURE__ */ React21.createElement(Text16, { style: styles17.stopText }, status === "ended" ? "Close" : "Stop")
10243
10559
  )))
10244
10560
  )
10245
10561
  );
@@ -10375,6 +10691,7 @@ function TesterPayKitWrapper({
10375
10691
  aiProjectId,
10376
10692
  aiApiBaseUrl,
10377
10693
  theme,
10694
+ language,
10378
10695
  testID = "tpk-wrapper"
10379
10696
  }) {
10380
10697
  const rootRef = useRef10(null);
@@ -10450,7 +10767,7 @@ function TesterPayKitWrapper({
10450
10767
  }, [tpk]);
10451
10768
  useEffect14(() => {
10452
10769
  if (!enableWrapper || !enableShake) return;
10453
- if (Platform8.OS === "web") return;
10770
+ if (Platform9.OS === "web") return;
10454
10771
  let teardown = null;
10455
10772
  let cancelled = false;
10456
10773
  let lastShakeAt = 0;
@@ -10516,9 +10833,9 @@ function TesterPayKitWrapper({
10516
10833
  []
10517
10834
  );
10518
10835
  if (!enableWrapper) {
10519
- return /* @__PURE__ */ React21.createElement(React21.Fragment, null, children);
10836
+ return /* @__PURE__ */ React22.createElement(React22.Fragment, null, children);
10520
10837
  }
10521
- return /* @__PURE__ */ React21.createElement(TpkThemeProvider, { theme }, /* @__PURE__ */ React21.createElement(
10838
+ return /* @__PURE__ */ React22.createElement(TpkThemeProvider, { theme }, /* @__PURE__ */ React22.createElement(TpkLanguageProvider, { language }, /* @__PURE__ */ React22.createElement(
10522
10839
  View18,
10523
10840
  {
10524
10841
  ref: rootRef,
@@ -10526,8 +10843,8 @@ function TesterPayKitWrapper({
10526
10843
  testID,
10527
10844
  collapsable: false
10528
10845
  },
10529
- /* @__PURE__ */ React21.createElement(View18, { style: styles18.content, onTouchStart: handleAutoTap }, children),
10530
- /* @__PURE__ */ React21.createElement(
10846
+ /* @__PURE__ */ React22.createElement(View18, { style: styles18.content, onTouchStart: handleAutoTap }, children),
10847
+ /* @__PURE__ */ React22.createElement(
10531
10848
  FloatingFeedbackButton,
10532
10849
  {
10533
10850
  position: buttonPosition,
@@ -10549,7 +10866,7 @@ function TesterPayKitWrapper({
10549
10866
  sessionStartedAt: sessionAnchor.current ?? void 0
10550
10867
  }
10551
10868
  ),
10552
- (aiReady || remoteSession) && /* @__PURE__ */ React21.createElement(
10869
+ (aiReady || remoteSession) && /* @__PURE__ */ React22.createElement(
10553
10870
  AiRemoteControl,
10554
10871
  {
10555
10872
  visible: aiOpen,
@@ -10570,7 +10887,7 @@ function TesterPayKitWrapper({
10570
10887
  }
10571
10888
  }
10572
10889
  ),
10573
- /* @__PURE__ */ React21.createElement(
10890
+ /* @__PURE__ */ React22.createElement(
10574
10891
  BugReportSheet,
10575
10892
  {
10576
10893
  visible: bugOpen,
@@ -10592,7 +10909,7 @@ function TesterPayKitWrapper({
10592
10909
  }
10593
10910
  }
10594
10911
  ),
10595
- /* @__PURE__ */ React21.createElement(
10912
+ /* @__PURE__ */ React22.createElement(
10596
10913
  GeneralFeedbackDialog,
10597
10914
  {
10598
10915
  visible: feedbackOpen,
@@ -10601,7 +10918,7 @@ function TesterPayKitWrapper({
10601
10918
  onClose: () => setFeedbackOpen(false)
10602
10919
  }
10603
10920
  ),
10604
- /* @__PURE__ */ React21.createElement(
10921
+ /* @__PURE__ */ React22.createElement(
10605
10922
  VoiceBugInputSheet,
10606
10923
  {
10607
10924
  visible: voiceOpen,
@@ -10612,7 +10929,7 @@ function TesterPayKitWrapper({
10612
10929
  captureScreen: async () => (await captureView(rootRef))?.base64 ?? null
10613
10930
  }
10614
10931
  ),
10615
- /* @__PURE__ */ React21.createElement(
10932
+ /* @__PURE__ */ React22.createElement(
10616
10933
  SessionEndDialog,
10617
10934
  {
10618
10935
  visible: sessionEndOpen,
@@ -10632,7 +10949,7 @@ function TesterPayKitWrapper({
10632
10949
  }
10633
10950
  }
10634
10951
  ),
10635
- /* @__PURE__ */ React21.createElement(
10952
+ /* @__PURE__ */ React22.createElement(
10636
10953
  MyBugsSheet,
10637
10954
  {
10638
10955
  visible: myBugsOpen,
@@ -10640,7 +10957,7 @@ function TesterPayKitWrapper({
10640
10957
  onClose: () => setMyBugsOpen(false)
10641
10958
  }
10642
10959
  ),
10643
- /* @__PURE__ */ React21.createElement(
10960
+ /* @__PURE__ */ React22.createElement(
10644
10961
  SessionDetailsSheet,
10645
10962
  {
10646
10963
  visible: sessionDetailsOpen,
@@ -10648,7 +10965,7 @@ function TesterPayKitWrapper({
10648
10965
  onClose: () => setSessionDetailsOpen(false)
10649
10966
  }
10650
10967
  ),
10651
- /* @__PURE__ */ React21.createElement(
10968
+ /* @__PURE__ */ React22.createElement(
10652
10969
  NotificationsSheet,
10653
10970
  {
10654
10971
  visible: messagesOpen,
@@ -10657,7 +10974,7 @@ function TesterPayKitWrapper({
10657
10974
  onUnreadChange: setUnreadMessages
10658
10975
  }
10659
10976
  )
10660
- ));
10977
+ )));
10661
10978
  }
10662
10979
  var styles18 = StyleSheet18.create({
10663
10980
  root: {
@@ -11068,6 +11385,7 @@ export {
11068
11385
  SessionDetailsSheet,
11069
11386
  SessionEndDialog,
11070
11387
  SubmitQueue,
11388
+ TPK_STRINGS,
11071
11389
  TaskAnnotationRegistry,
11072
11390
  TesterDashboard,
11073
11391
  TesterPayKitProvider,
@@ -11077,6 +11395,7 @@ export {
11077
11395
  TpkExpo,
11078
11396
  TpkIcon,
11079
11397
  TpkIconsProvider,
11398
+ TpkLanguageProvider,
11080
11399
  TpkOnboarding,
11081
11400
  TpkSensitive,
11082
11401
  TpkTalker,
@@ -11099,6 +11418,7 @@ export {
11099
11418
  classificationToBugType,
11100
11419
  createBugReportDraft,
11101
11420
  deriveTaskProgress,
11421
+ detectDeviceLanguage,
11102
11422
  emptyAnnotationDoc,
11103
11423
  endNativeCapture,
11104
11424
  engagedMinutes,
@@ -11140,6 +11460,8 @@ export {
11140
11460
  useTesterPayKit,
11141
11461
  useTpkDashboard,
11142
11462
  useTpkEarnings,
11463
+ useTpkLanguage,
11464
+ useTpkStrings,
11143
11465
  useTpkTheme,
11144
11466
  versionSatisfies,
11145
11467
  widgetDiscovery,