@funkit/connect-rn 5.0.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/dist/{chunk-X4RK3XTG.js → chunk-4ELC2W4D.js} +49 -17
  3. package/dist/chunk-4ELC2W4D.js.map +7 -0
  4. package/dist/{chunk-KPP7KXYB.js → chunk-XTK6HGJL.js} +2 -2
  5. package/dist/clients/lighter.js +1 -1
  6. package/dist/clients/nado.js +4 -4
  7. package/dist/clients/nado.js.map +2 -2
  8. package/dist/index.js +3641 -2372
  9. package/dist/index.js.map +4 -4
  10. package/dist/src/components/ActionLoading.d.ts +19 -0
  11. package/dist/src/components/ActionLoading.d.ts.map +1 -0
  12. package/dist/src/components/DepositActionMotion.d.ts +33 -2
  13. package/dist/src/components/DepositActionMotion.d.ts.map +1 -1
  14. package/dist/src/components/LoadingSpinner.d.ts +23 -0
  15. package/dist/src/components/LoadingSpinner.d.ts.map +1 -0
  16. package/dist/src/components/PillButton.d.ts.map +1 -1
  17. package/dist/src/components/v2/AmountDisplay.d.ts +2 -8
  18. package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -1
  19. package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
  20. package/dist/src/fiat/FiatActionButton.d.ts.map +1 -1
  21. package/dist/src/fiat/FiatChoiceList.d.ts +19 -0
  22. package/dist/src/fiat/FiatChoiceList.d.ts.map +1 -0
  23. package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
  24. package/dist/src/fiat/FiatCountrySheet.d.ts +18 -0
  25. package/dist/src/fiat/FiatCountrySheet.d.ts.map +1 -0
  26. package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
  27. package/dist/src/fiat/FiatKycFieldControl.d.ts +3 -1
  28. package/dist/src/fiat/FiatKycFieldControl.d.ts.map +1 -1
  29. package/dist/src/fiat/FiatKycNotice.d.ts +12 -2
  30. package/dist/src/fiat/FiatKycNotice.d.ts.map +1 -1
  31. package/dist/src/fiat/FiatKycOptionRow.d.ts +15 -0
  32. package/dist/src/fiat/FiatKycOptionRow.d.ts.map +1 -0
  33. package/dist/src/fiat/FiatKycOptionsScreen.d.ts +21 -0
  34. package/dist/src/fiat/FiatKycOptionsScreen.d.ts.map +1 -0
  35. package/dist/src/fiat/FiatOtpScreen.d.ts.map +1 -1
  36. package/dist/src/fiat/FiatSubmissionIndicator.d.ts.map +1 -1
  37. package/dist/src/fiat/SurfaceSlot.d.ts +17 -4
  38. package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -1
  39. package/dist/src/fiat/countrySections.d.ts +25 -0
  40. package/dist/src/fiat/countrySections.d.ts.map +1 -0
  41. package/dist/src/fiat/formLayout.d.ts +1 -0
  42. package/dist/src/fiat/formLayout.d.ts.map +1 -1
  43. package/dist/src/fiat/kycFormTheme.d.ts +19 -8
  44. package/dist/src/fiat/kycFormTheme.d.ts.map +1 -1
  45. package/dist/src/fiat/phoneCountries.d.ts +9 -2
  46. package/dist/src/fiat/phoneCountries.d.ts.map +1 -1
  47. package/dist/src/fiat/phoneDraft.d.ts +10 -3
  48. package/dist/src/fiat/phoneDraft.d.ts.map +1 -1
  49. package/dist/src/fiat/providers/HostedControlFrame.d.ts +23 -0
  50. package/dist/src/fiat/providers/HostedControlFrame.d.ts.map +1 -0
  51. package/dist/src/fiat/providers/coinbaseApplePay.d.ts.map +1 -1
  52. package/dist/src/fiat/providers/transakApplePay.d.ts.map +1 -1
  53. package/dist/src/fiat/stepDetails.d.ts +8 -5
  54. package/dist/src/fiat/stepDetails.d.ts.map +1 -1
  55. package/dist/src/fiat/useCountrySheet.d.ts +21 -0
  56. package/dist/src/fiat/useCountrySheet.d.ts.map +1 -0
  57. package/dist/src/fiat/useFiatDirectDelivery.d.ts +32 -0
  58. package/dist/src/fiat/useFiatDirectDelivery.d.ts.map +1 -0
  59. package/dist/src/flow/DepositAmountStep.d.ts +2 -1
  60. package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
  61. package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
  62. package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
  63. package/dist/src/flow/FlowSheet.d.ts +4 -4
  64. package/dist/src/flow/FlowSheet.d.ts.map +1 -1
  65. package/dist/src/flow/depositFlowConfig.d.ts +14 -1
  66. package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
  67. package/dist/src/hooks/useDelayedSpinner.d.ts +10 -0
  68. package/dist/src/hooks/useDelayedSpinner.d.ts.map +1 -0
  69. package/dist/src/hooks/useGuardedAmountInput.d.ts +19 -2
  70. package/dist/src/hooks/useGuardedAmountInput.d.ts.map +1 -1
  71. package/dist/src/hooks/useMinimumAmountValidation.d.ts +17 -0
  72. package/dist/src/hooks/useMinimumAmountValidation.d.ts.map +1 -0
  73. package/dist/src/icons/KycStatusIcon.d.ts +10 -0
  74. package/dist/src/icons/KycStatusIcon.d.ts.map +1 -0
  75. package/dist/src/screens/DepositAmountScreen.d.ts +11 -1
  76. package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
  77. package/dist/src/theme/buttonRadius.d.ts +10 -0
  78. package/dist/src/theme/buttonRadius.d.ts.map +1 -0
  79. package/dist/src/theme/cornerCurve.d.ts +11 -0
  80. package/dist/src/theme/cornerCurve.d.ts.map +1 -0
  81. package/dist/src/transfer/hooks/useDepositRecipient.d.ts +29 -0
  82. package/dist/src/transfer/hooks/useDepositRecipient.d.ts.map +1 -0
  83. package/dist/src/transfer/hooks/useTokenTransfer.d.ts +4 -0
  84. package/dist/src/transfer/hooks/useTokenTransfer.d.ts.map +1 -1
  85. package/dist/src/transfer/hooks/useTransferInit.d.ts +8 -1
  86. package/dist/src/transfer/hooks/useTransferInit.d.ts.map +1 -1
  87. package/dist/src/utils/colorMotion.d.ts +14 -0
  88. package/dist/src/utils/colorMotion.d.ts.map +1 -0
  89. package/dist/src/utils/formatAmount.d.ts +10 -1
  90. package/dist/src/utils/formatAmount.d.ts.map +1 -1
  91. package/dist/src/utils/motion.d.ts +23 -0
  92. package/dist/src/utils/motion.d.ts.map +1 -1
  93. package/dist/src/utils/v2/amountRowGeometry.d.ts +6 -0
  94. package/dist/src/utils/v2/amountRowGeometry.d.ts.map +1 -0
  95. package/dist/src/withdrawal/validation.d.ts.map +1 -1
  96. package/package.json +4 -4
  97. package/dist/chunk-X4RK3XTG.js.map +0 -7
  98. package/dist/src/fiat/FiatCountryDock.d.ts +0 -17
  99. package/dist/src/fiat/FiatCountryDock.d.ts.map +0 -1
  100. package/dist/src/fiat/useCountryDock.d.ts +0 -21
  101. package/dist/src/fiat/useCountryDock.d.ts.map +0 -1
  102. /package/dist/{chunk-KPP7KXYB.js.map → chunk-XTK6HGJL.js.map} +0 -0
@@ -0,0 +1,19 @@
1
+ import type { PillButtonSize } from './PillButton';
2
+ /**
3
+ * The action's own slot while the thing that fills it is still coming — a
4
+ * quote, a provider's hosted button. Drawn as the button's shape in the quiet
5
+ * secondary fill, with no label: the design gives the waiting control no copy,
6
+ * so `label` is what a screen reader announces rather than anything drawn.
7
+ *
8
+ * Shares {@link PillButton}'s geometry and motion so the slot doesn't change
9
+ * shape when the real action lands in it. The ring itself is held back for a
10
+ * beat (`delay`) — the fill is up from the first frame,
11
+ * so a wait that ends inside the delay leaves the button looking untouched.
12
+ */
13
+ export declare function ActionLoading({ label, size, spinnerDelay, }: {
14
+ label: string;
15
+ size?: PillButtonSize;
16
+ /** Milliseconds before the ring is drawn; the fill is up from the first frame. */
17
+ spinnerDelay?: number;
18
+ }): import("react").JSX.Element;
19
+ //# sourceMappingURL=ActionLoading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionLoading.d.ts","sourceRoot":"","sources":["../../../src/components/ActionLoading.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAKlD;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,IAAiB,EACjB,YAAsC,GACvC,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,kFAAkF;IAClF,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,+BAiDA"}
@@ -1,12 +1,43 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type StyleProp, type ViewStyle } from 'react-native';
3
3
  export declare const DepositActionMotion: import("react").Context<boolean>;
4
- export declare function DepositActionLayers({ stateKey, style, contentStyle, contentOpacity, fill, children, }: {
4
+ interface ActionPhase {
5
+ /** What the slot wears now; the next phase crosses from it. */
6
+ fillColor: string | null;
7
+ /** What a provider's own control in the slot is painted, for when the slot's
8
+ * cover comes off and that control is what the user is looking at. */
9
+ controlFill: string | null;
10
+ }
11
+ /**
12
+ * The colour the deposit action is painted, carried across the components that
13
+ * take turns filling its slot — a waiting state, a pill, a provider's own
14
+ * button. Each new one picks the tween up where the last left off, so a phase
15
+ * change reads as one control changing colour rather than a swap.
16
+ */
17
+ export declare function DepositActionPhaseProvider({ children, }: {
18
+ children: ReactNode;
19
+ }): import("react").JSX.Element;
20
+ export declare function useDepositActionPhase(): ActionPhase | null;
21
+ /**
22
+ * For a control that paints its own fill in the action's slot — a provider's
23
+ * hosted button, which no layer of ours draws. Pass `null` where it isn't
24
+ * standing in the slot.
25
+ */
26
+ export declare function useDepositActionControlFill(fill: string | null): void;
27
+ export declare function DepositActionLayers({ stateKey, fillColor, radius, borderCurve, backdropColor, fillOpacity, style, contentStyle, contentOpacity, children, }: {
28
+ /** Changes when the content does, replaying its fade. */
5
29
  stateKey: string;
30
+ /** What the fill wears in this phase; the tween runs to it. */
31
+ fillColor: string;
32
+ radius: number;
33
+ borderCurve?: ViewStyle['borderCurve'];
34
+ /** Opaque backing, for a fill a dimmed state makes see-through. */
35
+ backdropColor?: string;
36
+ fillOpacity?: number;
6
37
  style?: StyleProp<ViewStyle>;
7
38
  contentStyle?: StyleProp<ViewStyle>;
8
39
  contentOpacity?: number;
9
- fill: ReactNode;
10
40
  children: ReactNode;
11
41
  }): import("react").JSX.Element;
42
+ export {};
12
43
  //# sourceMappingURL=DepositActionMotion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DepositActionMotion.d.ts","sourceRoot":"","sources":["../../../src/components/DepositActionMotion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA4B,MAAM,OAAO,CAAA;AAChE,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAU/E,eAAO,MAAM,mBAAmB,kCAAuB,CAAA;AAEvD,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,cAAkB,EAClB,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IACnC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,IAAI,EAAE,SAAS,CAAA;IACf,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAwCA"}
1
+ {"version":3,"file":"DepositActionMotion.d.ts","sourceRoot":"","sources":["../../../src/components/DepositActionMotion.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;AACd,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAiB/E,eAAO,MAAM,mBAAmB,kCAAuB,CAAA;AAEvD,UAAU,WAAW;IACnB,+DAA+D;IAC/D,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB;2EACuE;IACvE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAID;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAOA;AAED,wBAAgB,qBAAqB,IAAI,WAAW,GAAG,IAAI,CAE1D;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,QAW9D;AAED,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,SAAS,EACT,MAAM,EACN,WAAW,EACX,aAAa,EACb,WAAe,EACf,KAAK,EACL,YAAY,EACZ,cAAkB,EAClB,QAAQ,GACT,EAAE;IACD,yDAAyD;IACzD,QAAQ,EAAE,MAAM,CAAA;IAChB,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,CAAA;IACtC,mEAAmE;IACnE,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IACnC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAyFA"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Turn progress whose rate swings once per revolution, so the ring reads as
3
+ * alive rather than mechanical. Even across the loop seam and monotonic while
4
+ * the amplitude stays under 1, so the ring neither jumps nor runs backwards.
5
+ */
6
+ export declare function modulatedTurn(t: number): number;
7
+ /**
8
+ * The ring the whole SDK waits behind. Presentational only — the caller owns
9
+ * the accessibility role, since a spinner means different things in a button
10
+ * slot and on a submission screen.
11
+ *
12
+ * `trackColor` replaces the export's own 30% of `color`, for a theme that
13
+ * colors the track itself (`content/button/*\/loadingAlpha`).
14
+ */
15
+ export declare function LoadingSpinner({ size, color, trackColor, delay, }: {
16
+ size: number;
17
+ color: string;
18
+ /** Defaults to the export's 30% of `color`. */
19
+ trackColor?: string;
20
+ /** Milliseconds to hold the ring back; a wait that ends sooner draws nothing. */
21
+ delay?: number;
22
+ }): import("react").JSX.Element | null;
23
+ //# sourceMappingURL=LoadingSpinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../src/components/LoadingSpinner.tsx"],"names":[],"mappings":"AAqBA;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,UAAU,EACV,KAAS,GACV,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,sCAiDA"}
@@ -1 +1 @@
1
- {"version":3,"file":"PillButton.d.ts","sourceRoot":"","sources":["../../../src/components/PillButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAA;AAOlD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE1D,MAAM,MAAM,cAAc,GAAG,OAAO,CAClC,MAAM,WAAW,CAAC,OAAO,CAAC,EAC1B,SAAS,MAAM,EAAE,CAClB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,CAAA;AAEvD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,yDAAyD;IACzD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,qEAAqE;IACrE,OAAO,CAAC,EAAE,iBAA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CAAC,EAAE,MAAM,CAAA;CAC5B;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,IAAiB,EACjB,OAAmB,EACnB,MAAiB,EACjB,QAAgB,EAChB,kBAAkB,GACnB,EAAE,eAAe,+BAqGjB"}
@@ -1,10 +1,4 @@
1
- /**
2
- * The largest row scale that keeps the glyphs within the gutters. Glyphs are
3
- * laid out at 96pt and the whole row is scaled as one transform: the shrink
4
- * itself animates on the same clock as the glyph slides, which per-glyph font
5
- * sizes can't do (font size is a layout property and snaps).
6
- */
7
- export declare function fitScale(measured: number, available: number): number;
1
+ export { fitScale } from '../../utils/v2/amountRowGeometry';
8
2
  export interface AmountDisplayProps {
9
3
  /** The typed amount, or `''` for the placeholder. */
10
4
  value: string;
@@ -12,7 +6,7 @@ export interface AmountDisplayProps {
12
6
  prefix?: string;
13
7
  /** Tints the amount, matching the message that replaces the balance line. */
14
8
  hasError?: boolean;
15
- /** Over-limit flash: yellow with a warm glow (stronger than {@link hasError}). */
9
+ /** Over-limit flash: yellow (stronger than {@link hasError}). */
16
10
  hasWarning?: boolean;
17
11
  accessibilityLabel: string;
18
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AmountDisplay.tsx"],"names":[],"mappings":"AAgHA;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAKpE;AAED,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kFAAkF;IAClF,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,MAAY,EACZ,QAAgB,EAChB,UAAkB,EAClB,kBAAkB,GACnB,EAAE,kBAAkB,+BAwDpB"}
1
+ {"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AmountDisplay.tsx"],"names":[],"mappings":"AAmCA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAA;AAsE3D,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,iEAAiE;IACjE,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,MAAY,EACZ,QAAgB,EAChB,UAAkB,EAClB,kBAAkB,GACnB,EAAE,kBAAkB,+BAuDpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"QuickAmountsRow.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/QuickAmountsRow.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,iBAAiB;IAChC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,yEAIzB,oBAAoB,iCA6ErB,CAAA"}
1
+ {"version":3,"file":"QuickAmountsRow.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/QuickAmountsRow.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,iBAAiB;IAChC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,yEAIzB,oBAAoB,iCAmErB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"FiatActionButton.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatActionButton.tsx"],"names":[],"mappings":"AASA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAQ3E,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,+BAqBtD"}
1
+ {"version":3,"file":"FiatActionButton.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatActionButton.tsx"],"names":[],"mappings":"AASA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAG3E,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,+BA0BtD"}
@@ -0,0 +1,19 @@
1
+ export interface FiatChoiceListProps {
2
+ value: string;
3
+ options: readonly {
4
+ id: string;
5
+ labelFallback: string;
6
+ }[];
7
+ editable: boolean;
8
+ invalid: boolean;
9
+ onChange: (value: string) => void;
10
+ }
11
+ /**
12
+ * The questionnaire's answers, drawn on the page itself (2475:9039).
13
+ *
14
+ * The country chooser keeps its sheet, since a list of every country is too
15
+ * long to stand on a page. A questionnaire is nine answers, so the design
16
+ * spends the page on them rather than a row that opens a sheet over it.
17
+ */
18
+ export declare function FiatChoiceList({ value, options, editable, invalid, onChange, }: FiatChoiceListProps): import("react").JSX.Element;
19
+ //# sourceMappingURL=FiatChoiceList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatChoiceList.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatChoiceList.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,SAAS;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzD,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,QAAQ,GACT,EAAE,mBAAmB,+BA2CrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FiatContactScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatContactScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAkCpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAQ3D,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,MAAM,EAAE,SAAS,mBAAmB,EAAE,CAAA;IACtC;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,eAAe,CAAC,EAAE,aAAa,CAAA;IAC/B,YAAY,EAAE,OAAO,CAAA;IACrB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACpE,QAAQ,EAAE,MAAM,IAAI,C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;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,+BAwB9D;AAED,UAAU,uBAAwB,SAAQ,sBAAsB;IAC9D,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9B,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACrD;AAED,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,aAAa,EACb,YAAY,EACZ,qBAA6B,EAC7B,eAAe,EACf,YAAY,EACZ,cAAc,EACd,eAAe,EACf,QAAQ,EACR,OAAO,EACP,MAAM,EACN,aAAa,GACd,EAAE,uBAAuB,+BA2OzB"}
@@ -0,0 +1,18 @@
1
+ import type { NestedSheet } from '../hooks/useNestedSheet';
2
+ import { type PhoneCountry } from './phoneCountries';
3
+ export interface FiatCountrySheetProps {
4
+ sheet: NestedSheet<'countries'>;
5
+ /** The code the field carries; absent until a field has raised the list. */
6
+ selected?: PhoneCountry;
7
+ onSelect: (country: PhoneCountry) => void;
8
+ }
9
+ /**
10
+ * The country list as a stacked modal layer over the step that raised it
11
+ * (2531:8471).
12
+ *
13
+ * A sheet rather than a panel in the keyboard's slot: every country on earth
14
+ * is further than a panel's worth of room can be read through, so the design
15
+ * gives the list the whole screen, its own search and its own close disc.
16
+ */
17
+ export declare function FiatCountrySheet({ sheet, selected, onSelect, }: FiatCountrySheetProps): import("react").JSX.Element;
18
+ //# sourceMappingURL=FiatCountrySheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatCountrySheet.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatCountrySheet.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAU1D,OAAO,EAEL,KAAK,YAAY,EAElB,MAAM,kBAAkB,CAAA;AAEzB,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,WAAW,CA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AK,EAAE,cAAc,EAAE,CAAA;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAC/B;AAED,mFAAmF;AACnF,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,MAAM,EACN,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,SAAS,EACT,QAAQ,EACR,OAAO,EACP,KAAK,EACL,IAAI,EACJ,MAAM,GACP,EAAE,oBAAoB,sCAuhBtB"}
@@ -1,8 +1,10 @@
1
1
  import { type FiatFormFieldRowProps } from './FiatFormFieldRow';
2
2
  import type { NativeDatePicker } from './nativeDatePicker';
3
- export declare function FiatKycFieldControl({ ssnDigits, Picker, isDatePickerLoading, ...props }: FiatFormFieldRowProps & {
3
+ export declare function FiatKycFieldControl({ ssnDigits, Picker, isDatePickerLoading, inlineChoice, ...props }: FiatFormFieldRowProps & {
4
4
  ssnDigits?: 4 | 9;
5
5
  Picker?: NativeDatePicker;
6
6
  isDatePickerLoading?: boolean;
7
+ /** The page draws its answers itself, rather than behind a chooser. */
8
+ inlineChoice?: boolean;
7
9
  }): import("react").JSX.Element | null;
8
10
  //# sourceMappingURL=FiatKycFieldControl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FiatKycFieldControl.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycFieldControl.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,MAAM,EACN,mBAA2B,EAC3B,GAAG,KAAK,EACT,EAAE,qBAAqB,GAAG;IACzB,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IACjB,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B,sCAyEA"}
1
+ {"version":3,"file":"FiatKycFieldControl.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycFieldControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,MAAM,EACN,mBAA2B,EAC3B,YAAoB,EACpB,GAAG,KAAK,EACT,EAAE,qBAAqB,GAAG;IACzB,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IACjB,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,uEAAuE;IACvE,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,sCAoFA"}
@@ -1,7 +1,17 @@
1
+ import { type KycStatusGlyph } from '../icons/KycStatusIcon';
1
2
  export interface FiatKycNoticeProps {
2
3
  title: string;
3
4
  detail: string;
5
+ /**
6
+ * Set once identity has resolved. The banner then reports an outcome —
7
+ * glyph, title and detail on their own lines, and no tail, since it no
8
+ * longer points at a held deposit.
9
+ */
10
+ status?: KycStatusGlyph;
4
11
  }
5
- /** Identity notice from KYC R2, 2087:8432. */
6
- export declare function FiatKycNotice({ title, detail }: FiatKycNoticeProps): import("react").JSX.Element;
12
+ /**
13
+ * Identity notice from KYC R2, 2087:8432; the resolved states are KYC
14
+ * Processing Completion, 2387:11504 and siblings.
15
+ */
16
+ export declare function FiatKycNotice({ title, detail, status }: FiatKycNoticeProps): import("react").JSX.Element;
7
17
  //# sourceMappingURL=FiatKycNotice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FiatKycNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycNotice.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,8CAA8C;AAC9C,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,kBAAkB,+BAyBlE"}
1
+ {"version":3,"file":"FiatKycNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycNotice.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,cAAc,EAAiB,MAAM,wBAAwB,CAAA;AAG3E,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAA;CACxB;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,kBAAkB,+BAoE1E"}
@@ -0,0 +1,15 @@
1
+ export interface FiatKycOptionRowProps {
2
+ title: string;
3
+ detail: string;
4
+ /** Words on the chip; the design says "Go" for every route so far. */
5
+ action: string;
6
+ /** Where the detail breaks; the frames set it per route. */
7
+ detailWidth?: number;
8
+ onPress: () => void;
9
+ }
10
+ /**
11
+ * One route out of a held deposit, inside the identity options card (Figma
12
+ * KYC R2, 2387:13638).
13
+ */
14
+ export declare function FiatKycOptionRow({ title, detail, action, detailWidth, onPress, }: FiatKycOptionRowProps): import("react").JSX.Element;
15
+ //# sourceMappingURL=FiatKycOptionRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatKycOptionRow.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOptionRow.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,sEAAsE;IACtE,MAAM,EAAE,MAAM,CAAA;IACd,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,MAAM,EACN,MAAM,EACN,WAAkC,EAClC,OAAO,GACR,EAAE,qBAAqB,+BA8CvB"}
@@ -0,0 +1,21 @@
1
+ import { type KycStatusGlyph } from '../icons/KycStatusIcon';
2
+ import { type FiatKycOptionRowProps } from './FiatKycOptionRow';
3
+ export interface FiatKycOptionsScreenProps {
4
+ /** The card's own glyph, which need not be the banner's. */
5
+ glyph: KycStatusGlyph;
6
+ title: string;
7
+ /** Heading over the routes, e.g. "Right now you can:". */
8
+ optionsLabel: string;
9
+ options: FiatKycOptionRowProps[];
10
+ onBack: () => void;
11
+ }
12
+ /**
13
+ * What the buyer can still do with a deposit identity is holding (Figma KYC
14
+ * R2, 2387:13322, 2387:13488 and 2387:13602).
15
+ *
16
+ * Distinct from {@link FiatKycOutcomeScreen}, which reports the verdict as
17
+ * soon as the form is submitted. This one is reached later, from the deposit
18
+ * the buyer came back to.
19
+ */
20
+ export declare function FiatKycOptionsScreen({ glyph, title, optionsLabel, options, onBack, }: FiatKycOptionsScreenProps): import("react").JSX.Element;
21
+ //# sourceMappingURL=FiatKycOptionsScreen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatKycOptionsScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOptionsScreen.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,cAAc,EAAiB,MAAM,wBAAwB,CAAA;AAG3E,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,oBAAoB,CAAA;AAE3B,MAAM,WAAW,yBAAyB;IACxC,4DAA4D;IAC5D,KAAK,EAAE,cAAc,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,0DAA0D;IAC1D,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,qBAAqB,EAAE,CAAA;IAChC,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,KAAK,EACL,YAAY,EACZ,OAAO,EACP,MAAM,GACP,EAAE,yBAAyB,+BAwD3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"FiatOtpScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatOtpScreen.tsx"],"names":[],"mappings":"AA2BA,8EAA8E;AAC9E,eAAO,MAAM,eAAe,IAAI,CAAA;AAEhC,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wDAAwD;IACxD,KAAK,EAAE,OAAO,CAAA;IACd,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAyBtD;AAED,UAAU,mBAAoB,SAAQ,kBAAkB;IACtD,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAgB,EAChB,MAAwB,EACxB,WAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,IAAI,GACL,EAAE,mBAAmB,+BAwKrB"}
1
+ {"version":3,"file":"FiatOtpScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatOtpScreen.tsx"],"names":[],"mappings":"AA2BA,8EAA8E;AAC9E,eAAO,MAAM,eAAe,IAAI,CAAA;AAEhC,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wDAAwD;IACxD,KAAK,EAAE,OAAO,CAAA;IACd,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAyBtD;AAED,UAAU,mBAAoB,SAAQ,kBAAkB;IACtD,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAgB,EAChB,MAAwB,EACxB,WAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,IAAI,GACL,EAAE,mBAAmB,+BAmKrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FiatSubmissionIndicator.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatSubmissionIndicator.tsx"],"names":[],"mappings":"AAYA,wBAAgB,uBAAuB,gCA8CtC"}
1
+ {"version":3,"file":"FiatSubmissionIndicator.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatSubmissionIndicator.tsx"],"names":[],"mappings":"AAQA,wBAAgB,uBAAuB,gCAYtC"}
@@ -1,8 +1,21 @@
1
1
  import { type ReactNode } from 'react';
2
- import { type PillButtonSize } from '../components/PillButton';
3
- export declare function SurfaceSlot({ renderSurface, label, size, }: {
4
- renderSurface: (onReady: () => void) => ReactNode;
2
+ import type { PillButtonSize } from '../components/PillButton';
3
+ export declare function SurfaceSlot({ renderSurface, surfaceKey, label, size, onReadyChange, }: {
4
+ /** Announced while the cover is up; the design draws no copy on it. */
5
5
  label: string;
6
6
  size: PillButtonSize;
7
- }): import("react").JSX.Element;
7
+ /**
8
+ * Whether the provider's button is the one on screen, for chrome outside
9
+ * the slot that has to land with it. A slot on its way out reports ready:
10
+ * what is gone holds nothing back.
11
+ */
12
+ onReadyChange?: (ready: boolean) => void;
13
+ } & ({
14
+ renderSurface: (onReady: () => void) => ReactNode;
15
+ /** Unique per quote or retry so readiness cannot carry into another attempt. */
16
+ surfaceKey: string;
17
+ } | {
18
+ renderSurface?: undefined;
19
+ surfaceKey?: undefined;
20
+ })): import("react").JSX.Element;
8
21
  //# sourceMappingURL=SurfaceSlot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SurfaceSlot.d.ts","sourceRoot":"","sources":["../../../src/fiat/SurfaceSlot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAA;AAGnE,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAQ1E,wBAAgB,WAAW,CAAC,EAC1B,aAAa,EACb,KAAK,EACL,IAAI,GACL,EAAE;IACD,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAA;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,cAAc,CAAA;CACrB,+BAqDA"}
1
+ {"version":3,"file":"SurfaceSlot.d.ts","sourceRoot":"","sources":["../../../src/fiat/SurfaceSlot.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAA;AAWd,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAU9D,wBAAgB,WAAW,CAAC,EAC1B,aAAa,EACb,UAAU,EACV,KAAK,EACL,IAAI,EACJ,aAAa,GACd,EAAE;IACD,uEAAuE;IACvE,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,cAAc,CAAA;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CACzC,GAAG,CACA;IACE,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAA;IACjD,gFAAgF;IAChF,UAAU,EAAE,MAAM,CAAA;CACnB,GACD;IAAE,aAAa,CAAC,EAAE,SAAS,CAAC;IAAC,UAAU,CAAC,EAAE,SAAS,CAAA;CAAE,CACxD,+BA8FA"}
@@ -0,0 +1,25 @@
1
+ import { type PhoneCountry } from './phoneCountries';
2
+ /** A country and the name this locale gives it — what a row draws. */
3
+ export interface NamedCountry {
4
+ country: PhoneCountry;
5
+ name: string;
6
+ }
7
+ /** One initial's worth of the list, under the heading that names it. */
8
+ export interface CountrySection {
9
+ /** The heading, and the label the index rail scrubs to. */
10
+ key: string;
11
+ data: NamedCountry[];
12
+ }
13
+ /** Heads everything no letter does — digits, punctuation — and reads last. */
14
+ export declare const OTHER_SECTION_KEY = "#";
15
+ /**
16
+ * The countries as the design groups them (2184:14277): named in the reading
17
+ * locale, ordered by that locale's collation, and cut into sections at the
18
+ * initial.
19
+ *
20
+ * Grouped on the *localised* name rather than the table's English, so a
21
+ * Japanese reader's 日本 is not filed under J, and sorted by a collator rather
22
+ * than by code unit, so Åland lands beside Albania instead of past Zimbabwe.
23
+ */
24
+ export declare function countrySections(countries: readonly PhoneCountry[], locale: string): CountrySection[];
25
+ //# sourceMappingURL=countrySections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"countrySections.d.ts","sourceRoot":"","sources":["../../../src/fiat/countrySections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,kBAAkB,CAAA;AAEjE,sEAAsE;AACtE,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,YAAY,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wEAAwE;AACxE,MAAM,WAAW,cAAc;IAC7B,2DAA2D;IAC3D,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,YAAY,EAAE,CAAA;CACrB;AAED,8EAA8E;AAC9E,eAAO,MAAM,iBAAiB,MAAM,CAAA;AAEpC;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,SAAS,EAAE,SAAS,YAAY,EAAE,EAClC,MAAM,EAAE,MAAM,GACb,cAAc,EAAE,CA4BlB"}
@@ -20,6 +20,7 @@ export interface KycSectionPage {
20
20
  * identity: only the frames that collect who someone is qualify.
21
21
  */
22
22
  export declare function isIdentityField(field: FormField): boolean;
23
+ export declare function isInlineChoiceSection(section: KycSection): boolean;
23
24
  export declare function pickedDateField(page: KycSectionPage): FormField | undefined;
24
25
  /**
25
26
  * Whether the field is typed into, and so takes a turn in the return-key
@@ -1 +1 @@
1
- {"version":3,"file":"formLayout.d.ts","sourceRoot":"","sources":["../../../src/fiat/formLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,sBAAsB,CAAA;AAGjE;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAClB,MAAM,GACN,KAAK,GACL,SAAS,GACT,SAAS,GACT,KAAK,GACL,YAAY,GACZ,SAAS,GACT,SAAS,CAAA;AAEb,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,UAAU,CAAA;IACnB,2EAA2E;IAC3E,OAAO,EAAE,OAAO,CAAA;IAChB,uEAAuE;IACvE,IAAI,EAAE,SAAS,EAAE,EAAE,CAAA;CACpB;AA+ED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAGzD;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,GAAG,SAAS,CAI3E;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,S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AC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE3D;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,SAAS,EAAE,CAE3E;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,cAAc,EAAE,CAuC3E"}
@@ -18,6 +18,22 @@ export declare const KYC_FORM_METRICS: {
18
18
  /** Card bottom (364) to the notice (411). */
19
19
  readonly noticeTop: 47;
20
20
  readonly noticeTracking: -0.14;
21
+ readonly choiceListRadius: 26;
22
+ readonly choiceRowHeight: 52;
23
+ readonly choiceRowPaddingHorizontal: 20;
24
+ /** Makes 52 on one line and the design's 64 on two — see `FiatChoiceList`. */
25
+ readonly choiceRowPaddingVertical: 15;
26
+ readonly choiceLabelFontSize: 15;
27
+ readonly choiceLabelLineHeight: 16.8;
28
+ readonly choiceCheckSize: 21;
29
+ /** The title's own line, which these pages carry instead of two. */
30
+ readonly questionnaireTitleFontSize: 24;
31
+ readonly questionnaireTitleLineHeight: 26.88;
32
+ readonly questionnaireTitleTracking: -0.48;
33
+ /** Below the back disc (108) to the title (162), as every `headingTop` is. */
34
+ readonly questionnaireHeadingTop: 54;
35
+ /** Title to card (18), less the column's own gap. */
36
+ readonly questionnaireHeadingBottom: 10;
21
37
  /** Between two fields sharing a row (first name + M.I., day/month/year). */
22
38
  readonly fieldGap: 9;
23
39
  /** The middle-initial field is fixed while its neighbour grows. */
@@ -48,14 +64,6 @@ export declare const KYC_FORM_METRICS: {
48
64
  readonly datePickerInsetY: 12;
49
65
  /** Tighter than over a keyboard: 1844:17471 puts the advance 24 above it. */
50
66
  readonly datePickerGap: 24;
51
- /**
52
- * The country list takes the same slot the date picker does — the room the
53
- * keyboard gives up. It draws no keyboard of its own until the filter is
54
- * touched, and then it rides above one.
55
- */
56
- readonly countryDockHeight: 371;
57
- /** Between the filter and the list under it. */
58
- readonly countryDockGap: 12;
59
67
  /** Disc bottom (108) to the headline's line box (181). */
60
68
  readonly introHeadingTop: 73;
61
69
  /** 38/38 with the box 286 wide, which is what wraps it onto two lines. */
@@ -83,6 +91,9 @@ export declare const KYC_FORM_METRICS: {
83
91
  readonly consentGap: 16;
84
92
  /** They are inset past the action, as the heading is past the fields. */
85
93
  readonly consentInset: 16;
94
+ readonly otpHeadingFontSize: 24;
95
+ readonly otpHeadingLineHeight: 27;
96
+ readonly otpHeadingTracking: -0.24;
86
97
  /** A code box is taller than a form field, and its digit larger. */
87
98
  readonly codeBoxHeight: 64;
88
99
  readonly codeBoxGap: 8;
@@ -1 +1 @@
1
- {"version":3,"file":"kycFormTheme.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormTheme.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,oDAAoD;;;;IAIpD,0EAA0E;;IAE1E,kEAAkE;;IAElE,uCAAuC;;;;IAQvC,6CAA6C;;;IAG7C,4EAA4E;;IAE5E,mEAAmE;;;;IAInE,mDAAmD;;IAEnD,iEAAiE;;IAEjE,2BAA2B;;IAE3B,sDAAsD;;IAEtD,mDAAmD;;IAEnD,6EAA6E;;;IAG7E,kEAAkE;;IAElE;;;OAGG;;;;IAIH,6EAA6E;;IAE7E;;;;OAIG;;IAEH,gDAAgD;;IAOhD,0DAA0D;;IAE1D,0EAA0E;;;;IAI1E,oDAAoD;;IAEpD,2DAA2D;;;IAG3D;;;OAGG;;IAEH,+DAA+D;;;IAG/D,sEAAsE;;IAEtE,oEAAoE;;IAEpE,yDAAyD;;IAEzD,yEAAyE;;IAEzE,oEAAoE;;;;CAI5D,CAAA"}
1
+ {"version":3,"file":"kycFormTheme.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormTheme.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,oDAAoD;;;;IAIpD,0EAA0E;;IAE1E,kEAAkE;;IAElE,uCAAuC;;;;IAQvC,6CAA6C;;;;;;IAW7C,8EAA8E;;;;;IAK9E,oEAAoE;;;;IAIpE,8EAA8E;;IAE9E,qDAAqD;;IAErD,4EAA4E;;IAE5E,mEAAmE;;;;IAInE,mDAAmD;;IAEnD,iEAAiE;;IAEjE,2BAA2B;;IAE3B,sDAAsD;;IAEtD,mDAAmD;;IAEnD,6EAA6E;;;IAG7E,kEAAkE;;IAElE;;;OAGG;;;;IAIH,6EAA6E;;IAO7E,0DAA0D;;IAE1D,0EAA0E;;;;IAI1E,oDAAoD;;IAEpD,2DAA2D;;;IAG3D;;;OAGG;;IAEH,+DAA+D;;;IAG/D,sEAAsE;;IAEtE,oEAAoE;;IAEpE,yDAAyD;;IAEzD,yEAAyE;;;;;IASzE,oEAAoE;;;;CAI5D,CAAA"}
@@ -49,6 +49,13 @@ export declare function countryName(country: PhoneCountry, locale: string): stri
49
49
  * `+61` alone is not an incomplete number, it is no number.
50
50
  */
51
51
  export declare function toE164(country: PhoneCountry, national: string): string;
52
- /** What the box shows: the wire value less the code the chip already draws. */
53
- export declare function nationalPart(value: string, country: PhoneCountry): string;
52
+ /** The code a number opens with, read off digits carrying no `+`. */
53
+ export declare function leadingDialCode(digits: string): string | undefined;
54
+ /** The chip keeps a code it already carries; else the code's own country. */
55
+ export declare function countryOnDialCode(code: string, preferred: PhoneCountry): PhoneCountry;
56
+ /**
57
+ * What the box shows: the number less any code the table knows, not only the
58
+ * chip's — autofill hands the contact over with its own.
59
+ */
60
+ export declare function nationalPart(value: string): string;
54
61
  //# sourceMappingURL=phoneCountries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"phoneCountries.d.ts","sourceRoot":"","sources":["../../../src/fiat/phoneCountries.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,YAAY;IAC3B,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;IACd,wCAAwC;IACxC,QAAQ,EAAE,MAAM,CAAA;IAChB,8DAA8D;IAC9D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wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,YAAY,CAE5E;AAMD;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAMlD;AAID;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAEzE;AAqBD;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGtE;AAuBD,qEAAqE;AACrE,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAElE;AAuBD,6EAA6E;AAC7E,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,YAAY,GACtB,YAAY,CASd;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAOlD"}
@@ -2,9 +2,16 @@ import { type PhoneCountry } from './phoneCountries';
2
2
  export declare function formatPhoneDraft(country: PhoneCountry, value: string): string;
3
3
  /** Removing a formatting character must still let Backspace remove a digit. */
4
4
  export declare function editPhoneDraft(previous: string, next: string): string;
5
- /** A pasted international number moves its prefix into the country selector. */
6
- export declare function pastedPhone(value: string): {
5
+ /** A number split where its calling code ends. */
6
+ export interface DialledPhone {
7
7
  country: PhoneCountry;
8
8
  national: string;
9
- } | undefined;
9
+ }
10
+ /** A pasted international number moves its prefix into the country selector. */
11
+ export declare function pastedPhone(value: string): DialledPhone | undefined;
12
+ /**
13
+ * A number arriving whole, with the code it carries moved to the chip:
14
+ * `pastedPhone` moves one only out of a number libphonenumber calls valid.
15
+ */
16
+ export declare function insertedPhone(previous: string, next: string, selected: PhoneCountry): DialledPhone | undefined;
10
17
  //# sourceMappingURL=phoneDraft.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"phoneDraft.d.ts","sourceRoot":"","sources":["../../../src/fiat/phoneDraft.ts"],"names":[],"mappings":"AAMA,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAA;AAEzB,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAY7E;AAED,+EAA+E;AAC/E,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAiBrE;AAWD,gFAAgF;AAChF,wBAAgB,WAAW,CACzB,KAAK,EAAE,MAAM,GACZ;IAAE,OAAO,EAAE,YAAY,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAOzD"}
1
+ {"version":3,"file":"phoneDraft.d.ts","sourceRoot":"","sources":["../../../src/fiat/phoneDraft.ts"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,YAAY,EAKlB,MAAM,kBAAkB,CAAA;AAEzB,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAY7E;AAED,+EAA+E;AAC/E,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAiBrE;AAWD,kDAAkD;AAClD,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,YAAY,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,gFAAgF;AAChF,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAOnE;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,YAAY,GACrB,YAAY,GAAG,SAAS,CAW1B"}
@@ -0,0 +1,23 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { SurfaceContext } from './adapter';
3
+ /**
4
+ * The slot a provider-drawn control (an Apple Pay button in a WebView) is
5
+ * clipped into, shaped like the button it stands in for: the theme's button
6
+ * height and radius, so a brand that squares its buttons off squares this one
7
+ * off with them.
8
+ *
9
+ * `fill` paints the corners the hosted control rounds off — it must match that
10
+ * control's own background, since the provider owns everything inside.
11
+ *
12
+ * Drawn at the large button's size, which an adapter cannot ask its host for:
13
+ * inline, `SurfaceSlot` must be given the same one (`SURFACE_MATCHED_SIZE`) or
14
+ * its clip and this frame's disagree.
15
+ */
16
+ export declare function HostedControlFrame({ fill, edgeColor, placement, children, }: {
17
+ fill: string;
18
+ /** Hairline ring for a control whose fill matches the surface behind it. */
19
+ edgeColor?: string;
20
+ placement: SurfaceContext['placement'];
21
+ children: ReactNode;
22
+ }): import("react").JSX.Element;
23
+ //# sourceMappingURL=HostedControlFrame.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HostedControlFrame.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/HostedControlFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAM/C;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,SAAS,EACT,SAAS,EACT,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,4EAA4E;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC,CAAA;IACtC,QAAQ,EAAE,SAAS,CAAA;CACpB,+BA+BA"}
@@ -1 +1 @@
1
- {"version":3,"file":"coinbaseApplePay.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/coinbaseApplePay.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,WAAW,CAAA;AA4D/D;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,cAO9B,CAAA"}
1
+ {"version":3,"file":"coinbaseApplePay.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/coinbaseApplePay.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,WAAW,CAAA;AA0D/D;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,cAO9B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"transakApplePay.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/transakApplePay.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,WAAW,CAAA;AA6C/D,mEAAmE;AACnE,eAAO,MAAM,eAAe,EAAE,cAO7B,CAAA"}
1
+ {"version":3,"file":"transakApplePay.d.ts","sourceRoot":"","sources":["../../../../src/fiat/providers/transakApplePay.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,WAAW,CAAA;AA4C/D,mEAAmE;AACnE,eAAO,MAAM,eAAe,EAAE,cAO7B,CAAA"}
@@ -17,11 +17,14 @@ export declare function recoveryCta(flow: FiatFlow, t: TFunction): {
17
17
  /** The refreshed price a post-KYC review carries. */
18
18
  export declare function reviewDetail(flow: FiatFlow): string | undefined;
19
19
  /**
20
- * The quote's fee breakdown, as the disclosure drawer's rows. The fee is inside
21
- * the charge, not added to it: `fiat.amount` is what the card is billed and the
22
- * crypto is priced on what's left, so the amount row is the remainder and the
23
- * total is the charge itself. The provider's own labels render — the ids it
24
- * keys them by have no entry in this package's catalogue.
20
+ * The quote's fee breakdown, as the disclosure drawer's rows.
21
+ *
22
+ * - The fee is inside the charge, not added to it: `fiat.amount` is what the
23
+ * card is billed and the crypto is priced on what's left, so the amount row
24
+ * is the remainder and the total is the charge itself.
25
+ * - One fee row, off `totalFee` rather than the provider's own `feeBreakdown`
26
+ * labels: those name the rail ("Coinbase fee"), which the drawer must not,
27
+ * and only the total keeps the three rows adding up.
25
28
  */
26
29
  export declare function quoteFeeRows(quote: Quote | undefined, t: TFunction): FeeDetailsRow[];
27
30
  /** The rail disclosure, priced from the quote rather than host configuration. */
@@ -1 +1 @@
1
- {"version":3,"file":"stepDetails.d.ts","sourceRoot":"","sources":["../../../src/fiat/stepDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAIhE;;;;;;GAMG;AACH,wBAAgB,QAAQ,CACtB,KAAK,EAAE,KAAK,GAAG,SAAS,EACxB,MAAM,EAAE,MAAM,EACd,CAAC,EAAE,SAAS,GACX,MAAM,GAAG,SAAS,CAQpB;AAED,oEAAoE;AACpE,wBAAgB,WAAW,CACzB,IAAI,EAAE,QAAQ,EACd,CAAC,EAAE,SAAS,GACX;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,GAAG,SAAS,CA0BpD;AAED,qDAAqD;AACrD,wBAAgB,YAAY,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,CAM/D;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,KAAK,GAAG,SAAS,EACxB,CAAC,EAAE,SAAS,GACX,aAAa,EAAE,CAoCjB;AAED,iFAAiF;AACjF,wBAAgB,eAAe,CAC7B,KAAK,EAAE,KAAK,GAAG,SAAS,EACxB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,CAAC,EAAE,SAAS,GACX,MAAM,GAAG,SAAS,CAkBpB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,aAAa,GAAG,SAAS,EAChC,CAAC,EAAE,SAAS,GACX,MAAM,GAAG,SAAS,CAsBpB;AAED;;;;;GAKG;AAC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