@funkit/connect-rn 9.0.1 → 9.1.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.
- package/CHANGELOG.md +70 -0
- package/README.md +100 -0
- package/app.plugin.js +92 -0
- package/dist/{chunk-ZBWCG4O6.js → chunk-4EEB4ZBQ.js} +59 -6
- package/dist/chunk-4EEB4ZBQ.js.map +7 -0
- package/dist/{chunk-MMXSERQM.js → chunk-EWSXVFEF.js} +289 -65
- package/dist/chunk-EWSXVFEF.js.map +7 -0
- package/dist/{chunk-GCPIOARQ.js → chunk-FRXLZQRI.js} +6 -2
- package/dist/chunk-FRXLZQRI.js.map +7 -0
- package/dist/clients/lighter.js +1 -1
- package/dist/clients/nado.js +2 -2
- package/dist/index.js +5621 -3274
- package/dist/index.js.map +4 -4
- package/dist/preview.js +260 -11
- package/dist/preview.js.map +3 -3
- package/dist/src/components/v2/PaymentMethodPicker.d.ts +10 -1
- package/dist/src/components/v2/PaymentMethodPicker.d.ts.map +1 -1
- package/dist/src/components/v2/methodMerge.d.ts +40 -0
- package/dist/src/components/v2/methodMerge.d.ts.map +1 -0
- package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatDocumentCaptureStep.d.ts +2 -1
- package/dist/src/fiat/FiatDocumentCaptureStep.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormFieldRow.d.ts +6 -3
- package/dist/src/fiat/FiatFormFieldRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormScreen.d.ts +1 -4
- package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatIdentityStep.d.ts +7 -2
- package/dist/src/fiat/FiatIdentityStep.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycIntroLayout.d.ts +34 -0
- package/dist/src/fiat/FiatKycIntroLayout.d.ts.map +1 -0
- package/dist/src/fiat/FiatKycIntroScreen.d.ts +2 -0
- package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOptionRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOptionsScreen.d.ts +3 -8
- package/dist/src/fiat/FiatKycOptionsScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOutcomeScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatOptionsScreen.d.ts +21 -0
- package/dist/src/fiat/FiatOptionsScreen.d.ts.map +1 -0
- package/dist/src/fiat/FiatOtpScreen.d.ts +1 -1
- package/dist/src/fiat/FiatOtpScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatPaymentFailedSheet.d.ts +26 -0
- package/dist/src/fiat/FiatPaymentFailedSheet.d.ts.map +1 -0
- package/dist/src/fiat/FiatReceipt.d.ts +6 -3
- package/dist/src/fiat/FiatReceipt.d.ts.map +1 -1
- package/dist/src/fiat/FiatSharingConsentNotice.d.ts +3 -0
- package/dist/src/fiat/FiatSharingConsentNotice.d.ts.map +1 -0
- package/dist/src/fiat/FiatTermsNotice.d.ts +6 -0
- package/dist/src/fiat/FiatTermsNotice.d.ts.map +1 -1
- package/dist/src/fiat/PaymentDisclosureNotice.d.ts +6 -0
- package/dist/src/fiat/PaymentDisclosureNotice.d.ts.map +1 -0
- package/dist/src/fiat/ctaLabel.d.ts +2 -0
- package/dist/src/fiat/ctaLabel.d.ts.map +1 -1
- package/dist/src/fiat/depositMatch.d.ts +20 -0
- package/dist/src/fiat/depositMatch.d.ts.map +1 -0
- package/dist/src/fiat/disclosureFooter.d.ts +21 -0
- package/dist/src/fiat/disclosureFooter.d.ts.map +1 -0
- package/dist/src/fiat/disclosureFooterContent.d.ts +28 -0
- package/dist/src/fiat/disclosureFooterContent.d.ts.map +1 -0
- package/dist/src/fiat/formLayout.d.ts +18 -5
- package/dist/src/fiat/formLayout.d.ts.map +1 -1
- package/dist/src/fiat/kycOptionRows.d.ts +23 -0
- package/dist/src/fiat/kycOptionRows.d.ts.map +1 -0
- package/dist/src/fiat/kycWait.d.ts +20 -0
- package/dist/src/fiat/kycWait.d.ts.map +1 -0
- package/dist/src/fiat/legalLinks.d.ts +2 -0
- package/dist/src/fiat/legalLinks.d.ts.map +1 -1
- package/dist/src/fiat/paymentReroute.d.ts +20 -2
- package/dist/src/fiat/paymentReroute.d.ts.map +1 -1
- package/dist/src/fiat/paymentSurfaceFailure.d.ts +4 -19
- package/dist/src/fiat/paymentSurfaceFailure.d.ts.map +1 -1
- package/dist/src/fiat/pricedLimit.d.ts +20 -0
- package/dist/src/fiat/pricedLimit.d.ts.map +1 -0
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts +2 -3
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/StripeSessionAuthScreen.d.ts.map +1 -1
- package/dist/src/fiat/providers/SumsubKycSurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/SumsubNativeKycSurface.d.ts +23 -0
- package/dist/src/fiat/providers/SumsubNativeKycSurface.d.ts.map +1 -0
- package/dist/src/fiat/providers/adapter.d.ts +20 -4
- package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
- package/dist/src/fiat/providers/kycIntro.d.ts +15 -0
- package/dist/src/fiat/providers/kycIntro.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay.d.ts +3 -1
- package/dist/src/fiat/providers/moonpay.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpayAuthStyle.d.ts +39 -0
- package/dist/src/fiat/providers/moonpayAuthStyle.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpayFailureCopy.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpayHandoffCard.d.ts +11 -0
- package/dist/src/fiat/providers/moonpayHandoffCard.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpayPaymentDisclosures.d.ts +15 -0
- package/dist/src/fiat/providers/moonpayPaymentDisclosures.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpayPreparedPayment.d.ts +7 -0
- package/dist/src/fiat/providers/moonpayPreparedPayment.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpaySharingConsent.d.ts +14 -0
- package/dist/src/fiat/providers/moonpaySharingConsent.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeAccountCreation.d.ts +10 -1
- package/dist/src/fiat/providers/stripeAccountCreation.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeApplePayButton.d.ts +15 -0
- package/dist/src/fiat/providers/stripeApplePayButton.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeKycIntro.d.ts +23 -1
- package/dist/src/fiat/providers/stripeKycIntro.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeOnramp.d.ts +7 -0
- package/dist/src/fiat/providers/stripeOnramp.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeSdk.d.ts +1 -1
- package/dist/src/fiat/providers/stripeSdk.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeSignInStep.d.ts +23 -0
- package/dist/src/fiat/providers/stripeSignInStep.d.ts.map +1 -0
- package/dist/src/fiat/providers/sumsubKyc.d.ts +6 -0
- package/dist/src/fiat/providers/sumsubKyc.d.ts.map +1 -1
- package/dist/src/fiat/providers/sumsubNativeLaunch.d.ts +34 -0
- package/dist/src/fiat/providers/sumsubNativeLaunch.d.ts.map +1 -0
- package/dist/src/fiat/providers/sumsubSdk.d.ts +58 -0
- package/dist/src/fiat/providers/sumsubSdk.d.ts.map +1 -0
- package/dist/src/fiat/providers/sumsubTheme.d.ts +51 -0
- package/dist/src/fiat/providers/sumsubTheme.d.ts.map +1 -0
- package/dist/src/fiat/providers/useCreateStripeAccountWithExistingUserData.d.ts +41 -0
- package/dist/src/fiat/providers/useCreateStripeAccountWithExistingUserData.d.ts.map +1 -0
- package/dist/src/fiat/providers/useStripeOnrampClient.d.ts +1 -1
- package/dist/src/fiat/providers/useStripeOnrampClient.d.ts.map +1 -1
- package/dist/src/fiat/providers/useStripeSessionAuth.d.ts +2 -8
- package/dist/src/fiat/providers/useStripeSessionAuth.d.ts.map +1 -1
- package/dist/src/fiat/quoteNoRoute.d.ts +25 -0
- package/dist/src/fiat/quoteNoRoute.d.ts.map +1 -1
- package/dist/src/fiat/renderCaptureSurface.d.ts +1 -1
- package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -1
- package/dist/src/fiat/sectionDetail.d.ts +3 -1
- package/dist/src/fiat/sectionDetail.d.ts.map +1 -1
- package/dist/src/fiat/stepDetails.d.ts +6 -0
- package/dist/src/fiat/stepDetails.d.ts.map +1 -1
- package/dist/src/fiat/useKycCaptureRound.d.ts.map +1 -1
- package/dist/src/fiat/useKycRoundReporting.d.ts +12 -0
- package/dist/src/fiat/useKycRoundReporting.d.ts.map +1 -0
- package/dist/src/fiat/usePaymentFailureAnswer.d.ts +68 -0
- package/dist/src/fiat/usePaymentFailureAnswer.d.ts.map +1 -0
- package/dist/src/fiat/useResendCooldown.d.ts +25 -0
- package/dist/src/fiat/useResendCooldown.d.ts.map +1 -0
- package/dist/src/fiat/useSharingConsent.d.ts +15 -0
- package/dist/src/fiat/useSharingConsent.d.ts.map +1 -0
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
- package/dist/src/flow/DepositMatchSheet.d.ts +12 -0
- package/dist/src/flow/DepositMatchSheet.d.ts.map +1 -0
- package/dist/src/flow/DepositPreload.d.ts +13 -0
- package/dist/src/flow/DepositPreload.d.ts.map +1 -0
- package/dist/src/flow/Drawer.d.ts +7 -1
- package/dist/src/flow/Drawer.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts +1 -4
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts +5 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
- package/dist/src/flow/depositFlowConfig.d.ts +11 -3
- package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
- package/dist/src/flow/depositMethods.d.ts +8 -0
- package/dist/src/flow/depositMethods.d.ts.map +1 -1
- package/dist/src/flow/overlayStep.d.ts +25 -0
- package/dist/src/flow/overlayStep.d.ts.map +1 -0
- package/dist/src/flow/pageTurn.d.ts +19 -2
- package/dist/src/flow/pageTurn.d.ts.map +1 -1
- package/dist/src/flow/quickAmounts.d.ts +8 -0
- package/dist/src/flow/quickAmounts.d.ts.map +1 -0
- package/dist/src/flow/storedChain.d.ts +14 -0
- package/dist/src/flow/storedChain.d.ts.map +1 -0
- package/dist/src/flow/useKeyboardHeight.d.ts.map +1 -1
- package/dist/src/flow/withdrawalFlowConfig.d.ts +3 -1
- package/dist/src/flow/withdrawalFlowConfig.d.ts.map +1 -1
- package/dist/src/flow/withdrawalMethods.d.ts +8 -0
- package/dist/src/flow/withdrawalMethods.d.ts.map +1 -0
- package/dist/src/geo/useUserIpInfo.d.ts +7 -0
- package/dist/src/geo/useUserIpInfo.d.ts.map +1 -1
- package/dist/src/hooks/useGuardedAmountInput.d.ts +11 -0
- package/dist/src/hooks/useGuardedAmountInput.d.ts.map +1 -1
- package/dist/src/hooks/useNestedSheetHeight.d.ts +14 -0
- package/dist/src/hooks/useNestedSheetHeight.d.ts.map +1 -1
- package/dist/src/icons/ApplePayMark.d.ts +3 -1
- package/dist/src/icons/ApplePayMark.d.ts.map +1 -1
- package/dist/src/preview/fixtures/kycForms.d.ts +2 -0
- package/dist/src/preview/fixtures/kycForms.d.ts.map +1 -1
- package/dist/src/preview/flowPreview.d.ts +6 -3
- package/dist/src/preview/flowPreview.d.ts.map +1 -1
- package/dist/src/preview/previewFetch.d.ts.map +1 -1
- package/dist/src/preview/scenarioCatalog.d.ts +56 -2
- package/dist/src/preview/scenarioCatalog.d.ts.map +1 -1
- package/dist/src/preview/scenarios.d.ts +11 -0
- package/dist/src/preview/scenarios.d.ts.map +1 -1
- package/dist/src/screens/DepositAmountScreen.d.ts +24 -4
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/DepositMatchScreen.d.ts +18 -0
- package/dist/src/screens/DepositMatchScreen.d.ts.map +1 -0
- package/dist/src/screens/FeeDetailsScreen.d.ts +2 -0
- package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
- package/dist/src/swapped/SwappedWebView.d.ts +2 -2
- package/dist/src/swapped/webViewSwappedTransport.d.ts +4 -35
- package/dist/src/swapped/webViewSwappedTransport.d.ts.map +1 -1
- package/dist/src/theme/FunkitThemeProvider.d.ts +6 -0
- package/dist/src/theme/FunkitThemeProvider.d.ts.map +1 -1
- package/dist/src/theme/buildFunkitTheme.d.ts +3 -0
- package/dist/src/theme/buildFunkitTheme.d.ts.map +1 -1
- package/dist/src/theme/legibleBrandColor.d.ts +12 -0
- package/dist/src/theme/legibleBrandColor.d.ts.map +1 -0
- package/dist/src/theme/restyle.d.ts +99 -0
- package/dist/src/theme/restyle.d.ts.map +1 -1
- package/dist/src/theme/toRestyleTheme.d.ts +9 -0
- package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
- package/dist/src/theme/typeScale.d.ts +18 -0
- package/dist/src/theme/typeScale.d.ts.map +1 -1
- package/dist/src/utils/formatAmount.d.ts +2 -0
- package/dist/src/utils/formatAmount.d.ts.map +1 -1
- package/ios/FunkitGlassEffect.podspec +2 -0
- package/ios/assets/funkit-connect-rn/sumsub-back.png +0 -0
- package/package.json +17 -9
- package/dist/chunk-GCPIOARQ.js.map +0 -7
- package/dist/chunk-MMXSERQM.js.map +0 -7
- package/dist/chunk-ZBWCG4O6.js.map +0 -7
- package/dist/src/fiat/FiatKycPosition.d.ts +0 -7
- package/dist/src/fiat/FiatKycPosition.d.ts.map +0 -1
- package/dist/src/fiat/kycWalk.d.ts +0 -22
- package/dist/src/fiat/kycWalk.d.ts.map +0 -1
|
@@ -1,41 +1,10 @@
|
|
|
1
1
|
import { type SwappedInboundMessage, type SwappedOutboundMessage, type SwappedTransport } from '@funkit/connect-core';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* to the page; everything unmarked is embed traffic and goes to native.
|
|
6
|
-
*/
|
|
7
|
-
export declare const FUNKIT_ENVELOPE_KEY = "__funkitSwapped";
|
|
8
|
-
/**
|
|
9
|
-
* Injected into the Swapped WebView before its content loads. Installs one
|
|
10
|
-
* bridged `postMessage` that routes BOTH directions:
|
|
11
|
-
*
|
|
12
|
-
* - **embed → native**: the embed talks to its host by calling
|
|
13
|
-
* `window.parent.postMessage(obj, origin)` (the web iframe contract); at the
|
|
14
|
-
* top level `window.parent === window`, so overriding `window.postMessage`
|
|
15
|
-
* intercepts those calls and forwards them — JSON-stringified — to React
|
|
16
|
-
* Native via `window.ReactNativeWebView.postMessage`. The RN side parses +
|
|
17
|
-
* origin-validates via {@link handleWebViewMessage}.
|
|
18
|
-
* - **native → embed**: messages injected by {@link buildSwappedSendScript}
|
|
19
|
-
* arrive at the same bridged function wrapped in a funkit-marked envelope
|
|
20
|
-
* ({@link FUNKIT_ENVELOPE_KEY}); the bridge unwraps them and re-dispatches
|
|
21
|
-
* the payload through the REAL `postMessage` (captured before the override),
|
|
22
|
-
* so the embed's `message` listeners receive a genuine, trusted MessageEvent
|
|
23
|
-
* with an object `event.data` — exactly what they get from an iframe parent.
|
|
24
|
-
*
|
|
25
|
-
* It also installs a fake `window.opener` wired to the native channel: with no
|
|
26
|
-
* parent frame the widget posts its lifecycle messages (`SWAPPED_READY`, …) to
|
|
27
|
-
* `opener` instead of `parent`, and a top-level WebView has neither — without
|
|
28
|
-
* the shim those messages are silently dropped.
|
|
29
|
-
*/
|
|
30
|
-
export declare const SWAPPED_WEBVIEW_INJECTED_JS = "(function () {\n if (window.__funkitSwappedBridge) { return; }\n window.__funkitSwappedBridge = true;\n // The REAL postMessage, captured before the override below.\n var postToPage = window.postMessage.bind(window);\n function forwardToNative(message) {\n try {\n var data = typeof message === 'string' ? message : JSON.stringify(message);\n window.ReactNativeWebView && window.ReactNativeWebView.postMessage(data);\n } catch (e) {}\n }\n function bridged(message) {\n // funkit envelope (host \u2192 embed): unwrap + deliver to the page's listeners.\n if (message && message.__funkitSwapped) {\n try { postToPage(message.payload, '*'); } catch (e) {}\n return;\n }\n // Anything else is the embed talking to its host \u2192 forward to native.\n forwardToNative(message);\n }\n try { window.postMessage = bridged; } catch (e) {}\n // The widget only emits some messages (notably SWAPPED_ORDER_DATA, the sell\n // deposit address) when it believes it is embedded in a parent frame \u2014 on web\n // that's a real <iframe> so window.parent !== window. A top-level WebView has\n // window.parent === window, so present a DISTINCT parent/top (a proxy over\n // window) whose postMessage forwards to native; the get-trap delegates every\n // other property to the real window so the widget's other parent.* access works.\n var frameProxy = window;\n try {\n frameProxy = new Proxy(window, {\n get: function (target, prop) {\n if (prop === 'postMessage') { return bridged; }\n var value = target[prop];\n return typeof value === 'function' ? value.bind(target) : value;\n },\n });\n } catch (e) {\n // Proxy unavailable \u2192 fall back to bridging the real parent.\n try { if (window.parent) { window.parent.postMessage = bridged; } } catch (e2) {}\n }\n // Guard parent/top independently: parent is [Replaceable] so it sticks, but\n // top is [LegacyUnforgeable] (HTML spec) and throws on conforming engines\n // while succeeding on the WebView builds that gate embed detection on it \u2014\n // isolating them means a throw on one never skips the other.\n try { Object.defineProperty(window, 'parent', { configurable: true, get: function () { return frameProxy; } }); } catch (e) {}\n try { Object.defineProperty(window, 'top', { configurable: true, get: function () { return frameProxy; } }); } catch (e) {}\n // No parent frame \u2192 the widget posts lifecycle messages to window.opener.\n try { if (!window.opener) { window.opener = { postMessage: forwardToNative }; } } catch (e) {}\n true;\n})();\ntrue;";
|
|
31
|
-
/**
|
|
32
|
-
* Build the JS snippet that delivers an outbound message INTO the embed, run
|
|
33
|
-
* via `webView.injectJavaScript`. One shape for every message type: the payload
|
|
34
|
-
* is wrapped in a funkit-marked envelope and handed to the (bridged)
|
|
35
|
-
* `window.postMessage` — the bridge unwraps it and re-dispatches via the real
|
|
36
|
-
* `postMessage` (see {@link SWAPPED_WEBVIEW_INJECTED_JS}). If the bridge isn't
|
|
37
|
-
* installed, the envelope dispatches as-is and the embed ignores it (no `type`).
|
|
3
|
+
* - Keep window.postMessage native so child-frame fingerprints reach the page.
|
|
4
|
+
* - Bridge parent/opener separately so host messages cannot echo into the page.
|
|
38
5
|
*/
|
|
6
|
+
export declare const SWAPPED_WEBVIEW_INJECTED_JS = "(function () {\n if (window.__funkitSwappedBridge) { return; }\n window.__funkitSwappedBridge = true;\n function forwardToNative(message) {\n try {\n var data = typeof message === 'string' ? message : JSON.stringify(message);\n window.ReactNativeWebView && window.ReactNativeWebView.postMessage(data);\n } catch (e) {}\n }\n // Host-only channel: targetOrigin is meaningless and transfer lists cannot cross.\n function bridged(message, _targetOrigin, transfer) {\n if (transfer && transfer.length && window.console && window.console.warn) {\n window.console.warn('[funkit] Swapped bridge: parent/top/opener post to the native host, which cannot carry a transfer list. Use window.postMessage for in-page ports.');\n }\n forwardToNative(message);\n }\n // A parent/top distinct from window, so the widget believes it is embedded.\n var frameProxy;\n try {\n frameProxy = new Proxy(window, {\n get: function (target, prop) {\n if (prop === 'postMessage') { return bridged; }\n var value = target[prop];\n return typeof value === 'function' ? value.bind(target) : value;\n },\n });\n } catch (e) {\n // No Proxy: inherit from window rather than trapping it.\n try {\n frameProxy = Object.create(window, { postMessage: { value: bridged } });\n } catch (e2) {\n frameProxy = { postMessage: bridged };\n }\n }\n // parent is [Replaceable] so this sticks; top is [LegacyUnforgeable] so it throws.\n try { Object.defineProperty(window, 'parent', { configurable: true, get: function () { return frameProxy; } }); } catch (e) {}\n try { Object.defineProperty(window, 'top', { configurable: true, get: function () { return frameProxy; } }); } catch (e) {}\n // No parent frame: the widget posts lifecycle messages to opener.\n try { if (!window.opener) { window.opener = { postMessage: bridged }; } } catch (e) {}\n true;\n})();\ntrue;";
|
|
7
|
+
/** Deliver host messages through the page's untouched native postMessage. */
|
|
39
8
|
export declare function buildSwappedSendScript(msg: SwappedOutboundMessage): string;
|
|
40
9
|
/**
|
|
41
10
|
* Parse + validate a raw WebView `onMessage` payload into a typed inbound
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webViewSwappedTransport.d.ts","sourceRoot":"","sources":["../../../src/swapped/webViewSwappedTransport.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EAEtB,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"webViewSwappedTransport.d.ts","sourceRoot":"","sources":["../../../src/swapped/webViewSwappedTransport.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EAEtB,MAAM,sBAAsB,CAAA;AAI7B;;;GAGG;AACH,eAAO,MAAM,2BAA2B,+4DAyClC,CAAA;AAEN,6EAA6E;AAC7E,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,sBAAsB,GAAG,MAAM,CAK1E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,OAAO,EAChB,GAAG,CAAC,EAAE,MAAM,GACX,qBAAqB,GAAG,IAAI,CAoB9B;AAED,2EAA2E;AAC3E,MAAM,WAAW,WAAW;IAC1B,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CACvC;AAED,MAAM,WAAW,uBAAuB;IACtC,+DAA+D;IAC/D,SAAS,EAAE,gBAAgB,CAAA;IAC3B;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC/C;AAED;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,EAC5C,UAAU,GACX,EAAE;IACD,UAAU,EAAE,MAAM,WAAW,GAAG,IAAI,CAAA;CACrC,GAAG,uBAAuB,CA8B1B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
+
import { type FunkitTheme } from './toRestyleTheme';
|
|
2
3
|
import { type ColorScheme } from './useColorScheme';
|
|
3
4
|
import { type FunkitThemeSet } from './useFunkitTheme';
|
|
4
5
|
interface FunkitColorSchemeValue {
|
|
@@ -13,6 +14,11 @@ interface FunkitColorSchemeValue {
|
|
|
13
14
|
/** True when the scheme is forced by the `colorScheme` prop (uncontrolled toggle disabled). */
|
|
14
15
|
isControlled: boolean;
|
|
15
16
|
}
|
|
17
|
+
/** The theme drawn in each system appearance; both are the active one when pinned. */
|
|
18
|
+
export interface FunkitThemePair {
|
|
19
|
+
light: FunkitTheme;
|
|
20
|
+
dark: FunkitTheme;
|
|
21
|
+
}
|
|
16
22
|
export interface FunkitThemeProviderProps {
|
|
17
23
|
children: ReactNode;
|
|
18
24
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunkitThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/theme/FunkitThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"FunkitThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/theme/FunkitThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;AAEd,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAAE,KAAK,cAAc,EAAe,MAAM,kBAAkB,CAAA;AAOnE,UAAU,sBAAsB;IAC9B,yCAAyC;IACzC,WAAW,EAAE,WAAW,CAAA;IACxB;;;;OAIG;IACH,iBAAiB,EAAE,CAAC,IAAI,CAAC,EAAE,WAAW,KAAK,IAAI,CAAA;IAC/C,+FAA+F;IAC/F,YAAY,EAAE,OAAO,CAAA;CACtB;AAMD,sFAAsF;AACtF,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,WAAW,CAAA;IAClB,IAAI,EAAE,WAAW,CAAA;CAClB;AAID,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,SAAS,CAAA;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,MAAuB,EACvB,WAAW,GACZ,EAAE,wBAAwB,+BAgD1B;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,IAAI,sBAAsB,CAM7D"}
|
|
@@ -159,6 +159,9 @@ export declare function buildFunkitTheme(tokens: FunkitTokens): {
|
|
|
159
159
|
notice: TextStyle;
|
|
160
160
|
drawerDetail: TextStyle;
|
|
161
161
|
drawerRow: TextStyle;
|
|
162
|
+
drawerHeadline: TextStyle;
|
|
163
|
+
drawerLead: TextStyle;
|
|
164
|
+
drawerFootnote: TextStyle;
|
|
162
165
|
caption: TextStyle;
|
|
163
166
|
codeDigit: TextStyle;
|
|
164
167
|
amountHero: TextStyle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildFunkitTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/buildFunkitTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,UAAU,CAAA;AAiCjB;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"buildFunkitTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/buildFunkitTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,UAAU,CAAA;AAiCjB;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0HpD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { FunkitTheme } from './toRestyleTheme';
|
|
2
|
+
/**
|
|
3
|
+
* The brand colour, or the primary text colour where the brand would vanish
|
|
4
|
+
* into `ground` — the SDK's own dark theme pairs a `#0F0F0F` brand with a
|
|
5
|
+
* `#0F0F0F` sheet.
|
|
6
|
+
*
|
|
7
|
+
* - A colour this can't read (a name, `hsl()`) keeps the host's brand rather
|
|
8
|
+
* than being judged as black.
|
|
9
|
+
* - A translucent brand is judged as it composites over the sheet.
|
|
10
|
+
*/
|
|
11
|
+
export declare function legibleBrandColor(theme: Pick<FunkitTheme, 'brand' | 'content'>, ground: string): string;
|
|
12
|
+
//# sourceMappingURL=legibleBrandColor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legibleBrandColor.d.ts","sourceRoot":"","sources":["../../../src/theme/legibleBrandColor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAiEnD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,SAAS,CAAC,EAC7C,MAAM,EAAE,MAAM,GACb,MAAM,CAcR"}
|
|
@@ -152,6 +152,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
152
152
|
notice: import("react-native").TextStyle;
|
|
153
153
|
drawerDetail: import("react-native").TextStyle;
|
|
154
154
|
drawerRow: import("react-native").TextStyle;
|
|
155
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
156
|
+
drawerLead: import("react-native").TextStyle;
|
|
157
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
155
158
|
caption: import("react-native").TextStyle;
|
|
156
159
|
codeDigit: import("react-native").TextStyle;
|
|
157
160
|
amountHero: import("react-native").TextStyle;
|
|
@@ -371,6 +374,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
371
374
|
notice: import("react-native").TextStyle;
|
|
372
375
|
drawerDetail: import("react-native").TextStyle;
|
|
373
376
|
drawerRow: import("react-native").TextStyle;
|
|
377
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
378
|
+
drawerLead: import("react-native").TextStyle;
|
|
379
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
374
380
|
caption: import("react-native").TextStyle;
|
|
375
381
|
codeDigit: import("react-native").TextStyle;
|
|
376
382
|
amountHero: import("react-native").TextStyle;
|
|
@@ -590,6 +596,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
590
596
|
notice: import("react-native").TextStyle;
|
|
591
597
|
drawerDetail: import("react-native").TextStyle;
|
|
592
598
|
drawerRow: import("react-native").TextStyle;
|
|
599
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
600
|
+
drawerLead: import("react-native").TextStyle;
|
|
601
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
593
602
|
caption: import("react-native").TextStyle;
|
|
594
603
|
codeDigit: import("react-native").TextStyle;
|
|
595
604
|
amountHero: import("react-native").TextStyle;
|
|
@@ -809,6 +818,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
809
818
|
notice: import("react-native").TextStyle;
|
|
810
819
|
drawerDetail: import("react-native").TextStyle;
|
|
811
820
|
drawerRow: import("react-native").TextStyle;
|
|
821
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
822
|
+
drawerLead: import("react-native").TextStyle;
|
|
823
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
812
824
|
caption: import("react-native").TextStyle;
|
|
813
825
|
codeDigit: import("react-native").TextStyle;
|
|
814
826
|
amountHero: import("react-native").TextStyle;
|
|
@@ -1028,6 +1040,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
1028
1040
|
notice: import("react-native").TextStyle;
|
|
1029
1041
|
drawerDetail: import("react-native").TextStyle;
|
|
1030
1042
|
drawerRow: import("react-native").TextStyle;
|
|
1043
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
1044
|
+
drawerLead: import("react-native").TextStyle;
|
|
1045
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
1031
1046
|
caption: import("react-native").TextStyle;
|
|
1032
1047
|
codeDigit: import("react-native").TextStyle;
|
|
1033
1048
|
amountHero: import("react-native").TextStyle;
|
|
@@ -1405,6 +1420,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
1405
1420
|
notice: import("react-native").TextStyle;
|
|
1406
1421
|
drawerDetail: import("react-native").TextStyle;
|
|
1407
1422
|
drawerRow: import("react-native").TextStyle;
|
|
1423
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
1424
|
+
drawerLead: import("react-native").TextStyle;
|
|
1425
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
1408
1426
|
caption: import("react-native").TextStyle;
|
|
1409
1427
|
codeDigit: import("react-native").TextStyle;
|
|
1410
1428
|
amountHero: import("react-native").TextStyle;
|
|
@@ -1624,6 +1642,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
1624
1642
|
notice: import("react-native").TextStyle;
|
|
1625
1643
|
drawerDetail: import("react-native").TextStyle;
|
|
1626
1644
|
drawerRow: import("react-native").TextStyle;
|
|
1645
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
1646
|
+
drawerLead: import("react-native").TextStyle;
|
|
1647
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
1627
1648
|
caption: import("react-native").TextStyle;
|
|
1628
1649
|
codeDigit: import("react-native").TextStyle;
|
|
1629
1650
|
amountHero: import("react-native").TextStyle;
|
|
@@ -1846,6 +1867,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
1846
1867
|
notice: import("react-native").TextStyle;
|
|
1847
1868
|
drawerDetail: import("react-native").TextStyle;
|
|
1848
1869
|
drawerRow: import("react-native").TextStyle;
|
|
1870
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
1871
|
+
drawerLead: import("react-native").TextStyle;
|
|
1872
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
1849
1873
|
caption: import("react-native").TextStyle;
|
|
1850
1874
|
codeDigit: import("react-native").TextStyle;
|
|
1851
1875
|
amountHero: import("react-native").TextStyle;
|
|
@@ -2065,6 +2089,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
2065
2089
|
notice: import("react-native").TextStyle;
|
|
2066
2090
|
drawerDetail: import("react-native").TextStyle;
|
|
2067
2091
|
drawerRow: import("react-native").TextStyle;
|
|
2092
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
2093
|
+
drawerLead: import("react-native").TextStyle;
|
|
2094
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
2068
2095
|
caption: import("react-native").TextStyle;
|
|
2069
2096
|
codeDigit: import("react-native").TextStyle;
|
|
2070
2097
|
amountHero: import("react-native").TextStyle;
|
|
@@ -2284,6 +2311,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
2284
2311
|
notice: import("react-native").TextStyle;
|
|
2285
2312
|
drawerDetail: import("react-native").TextStyle;
|
|
2286
2313
|
drawerRow: import("react-native").TextStyle;
|
|
2314
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
2315
|
+
drawerLead: import("react-native").TextStyle;
|
|
2316
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
2287
2317
|
caption: import("react-native").TextStyle;
|
|
2288
2318
|
codeDigit: import("react-native").TextStyle;
|
|
2289
2319
|
amountHero: import("react-native").TextStyle;
|
|
@@ -2503,6 +2533,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
2503
2533
|
notice: import("react-native").TextStyle;
|
|
2504
2534
|
drawerDetail: import("react-native").TextStyle;
|
|
2505
2535
|
drawerRow: import("react-native").TextStyle;
|
|
2536
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
2537
|
+
drawerLead: import("react-native").TextStyle;
|
|
2538
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
2506
2539
|
caption: import("react-native").TextStyle;
|
|
2507
2540
|
codeDigit: import("react-native").TextStyle;
|
|
2508
2541
|
amountHero: import("react-native").TextStyle;
|
|
@@ -2722,6 +2755,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
2722
2755
|
notice: import("react-native").TextStyle;
|
|
2723
2756
|
drawerDetail: import("react-native").TextStyle;
|
|
2724
2757
|
drawerRow: import("react-native").TextStyle;
|
|
2758
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
2759
|
+
drawerLead: import("react-native").TextStyle;
|
|
2760
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
2725
2761
|
caption: import("react-native").TextStyle;
|
|
2726
2762
|
codeDigit: import("react-native").TextStyle;
|
|
2727
2763
|
amountHero: import("react-native").TextStyle;
|
|
@@ -3099,6 +3135,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
3099
3135
|
notice: import("react-native").TextStyle;
|
|
3100
3136
|
drawerDetail: import("react-native").TextStyle;
|
|
3101
3137
|
drawerRow: import("react-native").TextStyle;
|
|
3138
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
3139
|
+
drawerLead: import("react-native").TextStyle;
|
|
3140
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
3102
3141
|
caption: import("react-native").TextStyle;
|
|
3103
3142
|
codeDigit: import("react-native").TextStyle;
|
|
3104
3143
|
amountHero: import("react-native").TextStyle;
|
|
@@ -3318,6 +3357,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<import("@sho
|
|
|
3318
3357
|
notice: import("react-native").TextStyle;
|
|
3319
3358
|
drawerDetail: import("react-native").TextStyle;
|
|
3320
3359
|
drawerRow: import("react-native").TextStyle;
|
|
3360
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
3361
|
+
drawerLead: import("react-native").TextStyle;
|
|
3362
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
3321
3363
|
caption: import("react-native").TextStyle;
|
|
3322
3364
|
codeDigit: import("react-native").TextStyle;
|
|
3323
3365
|
amountHero: import("react-native").TextStyle;
|
|
@@ -3541,6 +3583,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
3541
3583
|
notice: import("react-native").TextStyle;
|
|
3542
3584
|
drawerDetail: import("react-native").TextStyle;
|
|
3543
3585
|
drawerRow: import("react-native").TextStyle;
|
|
3586
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
3587
|
+
drawerLead: import("react-native").TextStyle;
|
|
3588
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
3544
3589
|
caption: import("react-native").TextStyle;
|
|
3545
3590
|
codeDigit: import("react-native").TextStyle;
|
|
3546
3591
|
amountHero: import("react-native").TextStyle;
|
|
@@ -3760,6 +3805,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
3760
3805
|
notice: import("react-native").TextStyle;
|
|
3761
3806
|
drawerDetail: import("react-native").TextStyle;
|
|
3762
3807
|
drawerRow: import("react-native").TextStyle;
|
|
3808
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
3809
|
+
drawerLead: import("react-native").TextStyle;
|
|
3810
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
3763
3811
|
caption: import("react-native").TextStyle;
|
|
3764
3812
|
codeDigit: import("react-native").TextStyle;
|
|
3765
3813
|
amountHero: import("react-native").TextStyle;
|
|
@@ -3979,6 +4027,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
3979
4027
|
notice: import("react-native").TextStyle;
|
|
3980
4028
|
drawerDetail: import("react-native").TextStyle;
|
|
3981
4029
|
drawerRow: import("react-native").TextStyle;
|
|
4030
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
4031
|
+
drawerLead: import("react-native").TextStyle;
|
|
4032
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
3982
4033
|
caption: import("react-native").TextStyle;
|
|
3983
4034
|
codeDigit: import("react-native").TextStyle;
|
|
3984
4035
|
amountHero: import("react-native").TextStyle;
|
|
@@ -4198,6 +4249,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
4198
4249
|
notice: import("react-native").TextStyle;
|
|
4199
4250
|
drawerDetail: import("react-native").TextStyle;
|
|
4200
4251
|
drawerRow: import("react-native").TextStyle;
|
|
4252
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
4253
|
+
drawerLead: import("react-native").TextStyle;
|
|
4254
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
4201
4255
|
caption: import("react-native").TextStyle;
|
|
4202
4256
|
codeDigit: import("react-native").TextStyle;
|
|
4203
4257
|
amountHero: import("react-native").TextStyle;
|
|
@@ -4417,6 +4471,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
4417
4471
|
notice: import("react-native").TextStyle;
|
|
4418
4472
|
drawerDetail: import("react-native").TextStyle;
|
|
4419
4473
|
drawerRow: import("react-native").TextStyle;
|
|
4474
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
4475
|
+
drawerLead: import("react-native").TextStyle;
|
|
4476
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
4420
4477
|
caption: import("react-native").TextStyle;
|
|
4421
4478
|
codeDigit: import("react-native").TextStyle;
|
|
4422
4479
|
amountHero: import("react-native").TextStyle;
|
|
@@ -4636,6 +4693,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
4636
4693
|
notice: import("react-native").TextStyle;
|
|
4637
4694
|
drawerDetail: import("react-native").TextStyle;
|
|
4638
4695
|
drawerRow: import("react-native").TextStyle;
|
|
4696
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
4697
|
+
drawerLead: import("react-native").TextStyle;
|
|
4698
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
4639
4699
|
caption: import("react-native").TextStyle;
|
|
4640
4700
|
codeDigit: import("react-native").TextStyle;
|
|
4641
4701
|
amountHero: import("react-native").TextStyle;
|
|
@@ -4872,6 +4932,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
4872
4932
|
notice: import("react-native").TextStyle;
|
|
4873
4933
|
drawerDetail: import("react-native").TextStyle;
|
|
4874
4934
|
drawerRow: import("react-native").TextStyle;
|
|
4935
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
4936
|
+
drawerLead: import("react-native").TextStyle;
|
|
4937
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
4875
4938
|
caption: import("react-native").TextStyle;
|
|
4876
4939
|
codeDigit: import("react-native").TextStyle;
|
|
4877
4940
|
amountHero: import("react-native").TextStyle;
|
|
@@ -5091,6 +5154,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
5091
5154
|
notice: import("react-native").TextStyle;
|
|
5092
5155
|
drawerDetail: import("react-native").TextStyle;
|
|
5093
5156
|
drawerRow: import("react-native").TextStyle;
|
|
5157
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
5158
|
+
drawerLead: import("react-native").TextStyle;
|
|
5159
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
5094
5160
|
caption: import("react-native").TextStyle;
|
|
5095
5161
|
codeDigit: import("react-native").TextStyle;
|
|
5096
5162
|
amountHero: import("react-native").TextStyle;
|
|
@@ -5312,6 +5378,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
5312
5378
|
notice: import("react-native").TextStyle;
|
|
5313
5379
|
drawerDetail: import("react-native").TextStyle;
|
|
5314
5380
|
drawerRow: import("react-native").TextStyle;
|
|
5381
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
5382
|
+
drawerLead: import("react-native").TextStyle;
|
|
5383
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
5315
5384
|
caption: import("react-native").TextStyle;
|
|
5316
5385
|
codeDigit: import("react-native").TextStyle;
|
|
5317
5386
|
amountHero: import("react-native").TextStyle;
|
|
@@ -5532,6 +5601,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
5532
5601
|
notice: import("react-native").TextStyle;
|
|
5533
5602
|
drawerDetail: import("react-native").TextStyle;
|
|
5534
5603
|
drawerRow: import("react-native").TextStyle;
|
|
5604
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
5605
|
+
drawerLead: import("react-native").TextStyle;
|
|
5606
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
5535
5607
|
caption: import("react-native").TextStyle;
|
|
5536
5608
|
codeDigit: import("react-native").TextStyle;
|
|
5537
5609
|
amountHero: import("react-native").TextStyle;
|
|
@@ -5751,6 +5823,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
5751
5823
|
notice: import("react-native").TextStyle;
|
|
5752
5824
|
drawerDetail: import("react-native").TextStyle;
|
|
5753
5825
|
drawerRow: import("react-native").TextStyle;
|
|
5826
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
5827
|
+
drawerLead: import("react-native").TextStyle;
|
|
5828
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
5754
5829
|
caption: import("react-native").TextStyle;
|
|
5755
5830
|
codeDigit: import("react-native").TextStyle;
|
|
5756
5831
|
amountHero: import("react-native").TextStyle;
|
|
@@ -5970,6 +6045,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
5970
6045
|
notice: import("react-native").TextStyle;
|
|
5971
6046
|
drawerDetail: import("react-native").TextStyle;
|
|
5972
6047
|
drawerRow: import("react-native").TextStyle;
|
|
6048
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
6049
|
+
drawerLead: import("react-native").TextStyle;
|
|
6050
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
5973
6051
|
caption: import("react-native").TextStyle;
|
|
5974
6052
|
codeDigit: import("react-native").TextStyle;
|
|
5975
6053
|
amountHero: import("react-native").TextStyle;
|
|
@@ -6189,6 +6267,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
6189
6267
|
notice: import("react-native").TextStyle;
|
|
6190
6268
|
drawerDetail: import("react-native").TextStyle;
|
|
6191
6269
|
drawerRow: import("react-native").TextStyle;
|
|
6270
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
6271
|
+
drawerLead: import("react-native").TextStyle;
|
|
6272
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
6192
6273
|
caption: import("react-native").TextStyle;
|
|
6193
6274
|
codeDigit: import("react-native").TextStyle;
|
|
6194
6275
|
amountHero: import("react-native").TextStyle;
|
|
@@ -6408,6 +6489,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
6408
6489
|
notice: import("react-native").TextStyle;
|
|
6409
6490
|
drawerDetail: import("react-native").TextStyle;
|
|
6410
6491
|
drawerRow: import("react-native").TextStyle;
|
|
6492
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
6493
|
+
drawerLead: import("react-native").TextStyle;
|
|
6494
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
6411
6495
|
caption: import("react-native").TextStyle;
|
|
6412
6496
|
codeDigit: import("react-native").TextStyle;
|
|
6413
6497
|
amountHero: import("react-native").TextStyle;
|
|
@@ -6627,6 +6711,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
6627
6711
|
notice: import("react-native").TextStyle;
|
|
6628
6712
|
drawerDetail: import("react-native").TextStyle;
|
|
6629
6713
|
drawerRow: import("react-native").TextStyle;
|
|
6714
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
6715
|
+
drawerLead: import("react-native").TextStyle;
|
|
6716
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
6630
6717
|
caption: import("react-native").TextStyle;
|
|
6631
6718
|
codeDigit: import("react-native").TextStyle;
|
|
6632
6719
|
amountHero: import("react-native").TextStyle;
|
|
@@ -6863,6 +6950,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
6863
6950
|
notice: import("react-native").TextStyle;
|
|
6864
6951
|
drawerDetail: import("react-native").TextStyle;
|
|
6865
6952
|
drawerRow: import("react-native").TextStyle;
|
|
6953
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
6954
|
+
drawerLead: import("react-native").TextStyle;
|
|
6955
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
6866
6956
|
caption: import("react-native").TextStyle;
|
|
6867
6957
|
codeDigit: import("react-native").TextStyle;
|
|
6868
6958
|
amountHero: import("react-native").TextStyle;
|
|
@@ -7082,6 +7172,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
7082
7172
|
notice: import("react-native").TextStyle;
|
|
7083
7173
|
drawerDetail: import("react-native").TextStyle;
|
|
7084
7174
|
drawerRow: import("react-native").TextStyle;
|
|
7175
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
7176
|
+
drawerLead: import("react-native").TextStyle;
|
|
7177
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
7085
7178
|
caption: import("react-native").TextStyle;
|
|
7086
7179
|
codeDigit: import("react-native").TextStyle;
|
|
7087
7180
|
amountHero: import("react-native").TextStyle;
|
|
@@ -7303,6 +7396,9 @@ declare const RestyleText: import("react").ForwardRefExoticComponent<import("@sh
|
|
|
7303
7396
|
notice: import("react-native").TextStyle;
|
|
7304
7397
|
drawerDetail: import("react-native").TextStyle;
|
|
7305
7398
|
drawerRow: import("react-native").TextStyle;
|
|
7399
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
7400
|
+
drawerLead: import("react-native").TextStyle;
|
|
7401
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
7306
7402
|
caption: import("react-native").TextStyle;
|
|
7307
7403
|
codeDigit: import("react-native").TextStyle;
|
|
7308
7404
|
amountHero: import("react-native").TextStyle;
|
|
@@ -7541,6 +7637,9 @@ export declare const useTheme: () => {
|
|
|
7541
7637
|
notice: import("react-native").TextStyle;
|
|
7542
7638
|
drawerDetail: import("react-native").TextStyle;
|
|
7543
7639
|
drawerRow: import("react-native").TextStyle;
|
|
7640
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
7641
|
+
drawerLead: import("react-native").TextStyle;
|
|
7642
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
7544
7643
|
caption: import("react-native").TextStyle;
|
|
7545
7644
|
codeDigit: import("react-native").TextStyle;
|
|
7546
7645
|
amountHero: import("react-native").TextStyle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restyle.d.ts","sourceRoot":"","sources":["../../../src/theme/restyle.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,cAAc,EAIpB,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD;;;;;GAKG;AACH,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"restyle.d.ts","sourceRoot":"","sources":["../../../src/theme/restyle.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,cAAc,EAIpB,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD;;;;;GAKG;AACH,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAA;AAE7C,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,OAAO,WAAW,CAAC;IACnE;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAA;CAC1B;AAED;;;;GAIG;AACH,eAAO,MAAM,IAAI,4GAsBhB,CAAA;AAED,0EAA0E;AAC1E,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA"}
|
|
@@ -151,6 +151,9 @@ export declare function toRestyleTheme(tokens: FunkitTokens): {
|
|
|
151
151
|
notice: import("react-native").TextStyle;
|
|
152
152
|
drawerDetail: import("react-native").TextStyle;
|
|
153
153
|
drawerRow: import("react-native").TextStyle;
|
|
154
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
155
|
+
drawerLead: import("react-native").TextStyle;
|
|
156
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
154
157
|
caption: import("react-native").TextStyle;
|
|
155
158
|
codeDigit: import("react-native").TextStyle;
|
|
156
159
|
amountHero: import("react-native").TextStyle;
|
|
@@ -374,6 +377,9 @@ export declare const defaultLightTheme: {
|
|
|
374
377
|
notice: import("react-native").TextStyle;
|
|
375
378
|
drawerDetail: import("react-native").TextStyle;
|
|
376
379
|
drawerRow: import("react-native").TextStyle;
|
|
380
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
381
|
+
drawerLead: import("react-native").TextStyle;
|
|
382
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
377
383
|
caption: import("react-native").TextStyle;
|
|
378
384
|
codeDigit: import("react-native").TextStyle;
|
|
379
385
|
amountHero: import("react-native").TextStyle;
|
|
@@ -594,6 +600,9 @@ export declare const defaultDarkTheme: {
|
|
|
594
600
|
notice: import("react-native").TextStyle;
|
|
595
601
|
drawerDetail: import("react-native").TextStyle;
|
|
596
602
|
drawerRow: import("react-native").TextStyle;
|
|
603
|
+
drawerHeadline: import("react-native").TextStyle;
|
|
604
|
+
drawerLead: import("react-native").TextStyle;
|
|
605
|
+
drawerFootnote: import("react-native").TextStyle;
|
|
597
606
|
caption: import("react-native").TextStyle;
|
|
598
607
|
codeDigit: import("react-native").TextStyle;
|
|
599
608
|
amountHero: import("react-native").TextStyle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toRestyleTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/toRestyleTheme.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAA2B,MAAM,UAAU,CAAA;AAErE;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"toRestyleTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/toRestyleTheme.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAA2B,MAAM,UAAU,CAAA;AAErE;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAElD;AAED,4EAA4E;AAC5E,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D,wFAAwF;AACxF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA8B,CAAA;AAC5D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6B,CAAA"}
|
|
@@ -63,6 +63,24 @@ export declare const TYPE_SCALE: {
|
|
|
63
63
|
readonly tracking: 0;
|
|
64
64
|
readonly weight: "base";
|
|
65
65
|
};
|
|
66
|
+
readonly drawerHeadline: {
|
|
67
|
+
readonly size: 27;
|
|
68
|
+
readonly leading: 1.17;
|
|
69
|
+
readonly tracking: -0.03;
|
|
70
|
+
readonly weight: "base";
|
|
71
|
+
};
|
|
72
|
+
readonly drawerLead: {
|
|
73
|
+
readonly size: 15;
|
|
74
|
+
readonly leading: 1.4;
|
|
75
|
+
readonly tracking: -0.01;
|
|
76
|
+
readonly weight: "base";
|
|
77
|
+
};
|
|
78
|
+
readonly drawerFootnote: {
|
|
79
|
+
readonly size: 13;
|
|
80
|
+
readonly leading: 1.4;
|
|
81
|
+
readonly tracking: number;
|
|
82
|
+
readonly weight: "medium";
|
|
83
|
+
};
|
|
66
84
|
readonly caption: {
|
|
67
85
|
readonly size: 12;
|
|
68
86
|
readonly leading: 1.24;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeScale.d.ts","sourceRoot":"","sources":["../../../src/theme/typeScale.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,kFAAkF;IAClF,OAAO,EAAE,MAAM,CAAA;IACf,qDAAqD;IACrD,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,gBAAgB,CAAA;CACzB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"typeScale.d.ts","sourceRoot":"","sources":["../../../src/theme/typeScale.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,kFAAkF;IAClF,OAAO,EAAE,MAAM,CAAA;IACf,qDAAqD;IACrD,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,gBAAgB,CAAA;CACzB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBsB,CAAA;AAE7C,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,UAAU,CAAA"}
|
|
@@ -26,6 +26,8 @@ export declare const ASSET_DECIMALS = 5;
|
|
|
26
26
|
export declare function formatTokenAmount(amount: string, maxDecimals?: number): string;
|
|
27
27
|
/** `99.94` → `$99.94`. Two decimals, as every USD figure in the design is. */
|
|
28
28
|
export declare function formatUsd(value: number): string;
|
|
29
|
+
/** `EUR` → `€`; a currency with no symbol here writes its code: `SEK `. */
|
|
30
|
+
export declare function currencyPrefix(currency: string): string;
|
|
29
31
|
/** `99.94, 'AUD'` → `A$99.94`. Fiat amounts are not always dollars. */
|
|
30
32
|
export declare function formatFiat(value: number, currency: string): string;
|
|
31
33
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatAmount.d.ts","sourceRoot":"","sources":["../../../src/utils/formatAmount.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAIrD;AAKD,eAAO,MAAM,gBAAgB,IAAI,CAAA;AAIjC;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAOlD;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,IAAI,CAAA;AAE/B;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,WAAW,GAAE,MAAuB,GACnC,MAAM,CAKR;AAED,8EAA8E;AAC9E,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE/C;
|
|
1
|
+
{"version":3,"file":"formatAmount.d.ts","sourceRoot":"","sources":["../../../src/utils/formatAmount.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAIrD;AAKD,eAAO,MAAM,gBAAgB,IAAI,CAAA;AAIjC;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAOlD;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,IAAI,CAAA;AAE/B;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,WAAW,GAAE,MAAuB,GACnC,MAAM,CAKR;AAED,8EAA8E;AAC9E,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAA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